nmrium 1.2.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/component/1d/BrushTracker1D.d.ts +2 -3
- package/lib/component/1d/BrushTracker1D.d.ts.map +1 -1
- package/lib/component/1d/BrushTracker1D.js +2 -3
- package/lib/component/1d/BrushTracker1D.js.map +1 -1
- package/lib/component/1d/ExclusionZoneAnnotation.js +3 -3
- package/lib/component/1d/ExclusionZoneAnnotation.js.map +1 -1
- package/lib/component/1d/FloatPublicationString.d.ts.map +1 -1
- package/lib/component/1d/FloatPublicationString.js +6 -8
- package/lib/component/1d/FloatPublicationString.js.map +1 -1
- package/lib/component/1d/FloatingRanges.d.ts.map +1 -1
- package/lib/component/1d/FloatingRanges.js +4 -7
- package/lib/component/1d/FloatingRanges.js.map +1 -1
- package/lib/component/1d/FooterBanner.js.map +1 -1
- package/lib/component/1d/Line.js +2 -2
- package/lib/component/1d/Line.js.map +1 -1
- package/lib/component/1d/PredictionErrorsNotations.js +2 -2
- package/lib/component/1d/PredictionErrorsNotations.js.map +1 -1
- package/lib/component/1d/SimilarityTree.js +1 -1
- package/lib/component/1d/SimilarityTree.js.map +1 -1
- package/lib/component/1d/XAxis1D.js +3 -3
- package/lib/component/1d/XAxis1D.js.map +1 -1
- package/lib/component/1d/database/DatabaseElements.d.ts.map +1 -1
- package/lib/component/1d/database/DatabaseElements.js +2 -2
- package/lib/component/1d/database/DatabaseElements.js.map +1 -1
- package/lib/component/1d/database/DatabaseSpectrum.d.ts.map +1 -1
- package/lib/component/1d/database/DatabaseSpectrum.js +3 -3
- package/lib/component/1d/database/DatabaseSpectrum.js.map +1 -1
- package/lib/component/1d/database/ResurrectedDatabaseRanges.d.ts.map +1 -1
- package/lib/component/1d/database/ResurrectedDatabaseRanges.js +3 -3
- package/lib/component/1d/database/ResurrectedDatabaseRanges.js.map +1 -1
- package/lib/component/1d/inset/DraggableInset.d.ts.map +1 -1
- package/lib/component/1d/inset/DraggableInset.js +117 -68
- package/lib/component/1d/inset/DraggableInset.js.map +1 -1
- package/lib/component/1d/inset/InsetViewerRoot.d.ts +2 -3
- package/lib/component/1d/inset/InsetViewerRoot.d.ts.map +1 -1
- package/lib/component/1d/inset/InsetViewerRoot.js.map +1 -1
- package/lib/component/1d/integral/IntegralResizable.js +2 -2
- package/lib/component/1d/integral/IntegralResizable.js.map +1 -1
- package/lib/component/1d/jCouplingGraph/JGraph.js +1 -1
- package/lib/component/1d/jCouplingGraph/JGraph.js.map +1 -1
- package/lib/component/1d/jCouplingGraph/JGraphContext.d.ts +1 -1
- package/lib/component/1d/jCouplingGraph/JGraphContext.d.ts.map +1 -1
- package/lib/component/1d/matrix/Boxplot.d.ts.map +1 -1
- package/lib/component/1d/matrix/Boxplot.js +3 -2
- package/lib/component/1d/matrix/Boxplot.js.map +1 -1
- package/lib/component/1d/matrix/Stocsy.d.ts.map +1 -1
- package/lib/component/1d/matrix/Stocsy.js +5 -3
- package/lib/component/1d/matrix/Stocsy.js.map +1 -1
- package/lib/component/1d/multiAnalysis/AnalysisRange.js.map +1 -1
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js +2 -2
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js +1 -5
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js.map +1 -1
- package/lib/component/1d/peaks/PeakEditionManager.d.ts +2 -4
- package/lib/component/1d/peaks/PeakEditionManager.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeakEditionManager.js +3 -0
- package/lib/component/1d/peaks/PeakEditionManager.js.map +1 -1
- package/lib/component/1d/peaks/Peaks.d.ts.map +1 -1
- package/lib/component/1d/peaks/Peaks.js +4 -4
- package/lib/component/1d/peaks/Peaks.js.map +1 -1
- package/lib/component/1d/ranges/Atoms.d.ts.map +1 -1
- package/lib/component/1d/ranges/Atoms.js +5 -1
- package/lib/component/1d/ranges/Atoms.js.map +1 -1
- package/lib/component/1d/ranges/Range.d.ts.map +1 -1
- package/lib/component/1d/ranges/Range.js +3 -3
- package/lib/component/1d/ranges/Range.js.map +1 -1
- package/lib/component/1d/ranges/Ranges.d.ts.map +1 -1
- package/lib/component/1d/ranges/Ranges.js +3 -4
- package/lib/component/1d/ranges/Ranges.js.map +1 -1
- package/lib/component/1d/tool/BaseLineZones.js.map +1 -1
- package/lib/component/1d/tool/PeakPointer.d.ts.map +1 -1
- package/lib/component/1d/tool/PeakPointer.js +8 -7
- package/lib/component/1d/tool/PeakPointer.js.map +1 -1
- package/lib/component/1d/utilities/intersectionResolver.d.ts +4 -4
- package/lib/component/1d/utilities/intersectionResolver.d.ts.map +1 -1
- package/lib/component/1d/utilities/intersectionResolver.js.map +1 -1
- package/lib/component/1d/utilities/scale.js +1 -1
- package/lib/component/1d/utilities/scale.js.map +1 -1
- package/lib/component/1d-2d/FieldEdition.d.ts.map +1 -1
- package/lib/component/1d-2d/FieldEdition.js +2 -10
- package/lib/component/1d-2d/FieldEdition.js.map +1 -1
- package/lib/component/1d-2d/components/ClipPathContainer.d.ts +2 -3
- package/lib/component/1d-2d/components/ClipPathContainer.d.ts.map +1 -1
- package/lib/component/1d-2d/components/ClipPathContainer.js.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.d.ts.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js +24 -11
- package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js.map +1 -1
- package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts.map +1 -1
- package/lib/component/1d-2d/components/SpectrumInfoBlock.js +4 -6
- package/lib/component/1d-2d/components/SpectrumInfoBlock.js.map +1 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.d.ts.map +1 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.js +0 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.js.map +1 -1
- package/lib/component/2d/1d-tracer/Left1DChart.js +2 -2
- package/lib/component/2d/1d-tracer/Left1DChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/Top1DChart.js +2 -2
- package/lib/component/2d/1d-tracer/Top1DChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/VerticalSliceChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.js +2 -2
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.js.map +1 -1
- package/lib/component/2d/BrushTracker2D.d.ts +2 -3
- package/lib/component/2d/BrushTracker2D.d.ts.map +1 -1
- package/lib/component/2d/BrushTracker2D.js.map +1 -1
- package/lib/component/2d/FooterBanner.d.ts +8 -5
- package/lib/component/2d/FooterBanner.d.ts.map +1 -1
- package/lib/component/2d/FooterBanner.js +3 -3
- package/lib/component/2d/FooterBanner.js.map +1 -1
- package/lib/component/2d/SignalDeltaLine.d.ts +1 -1
- package/lib/component/2d/SignalDeltaLine.d.ts.map +1 -1
- package/lib/component/2d/SignalDeltaLine.js +5 -2
- package/lib/component/2d/SignalDeltaLine.js.map +1 -1
- package/lib/component/2d/tools/XYLabelPointer.d.ts +8 -5
- package/lib/component/2d/tools/XYLabelPointer.d.ts.map +1 -1
- package/lib/component/2d/tools/XYLabelPointer.js +4 -4
- package/lib/component/2d/tools/XYLabelPointer.js.map +1 -1
- package/lib/component/2d/utilities/DimensionLayout.d.ts +8 -7
- package/lib/component/2d/utilities/DimensionLayout.d.ts.map +1 -1
- package/lib/component/2d/utilities/DimensionLayout.js +4 -4
- package/lib/component/2d/utilities/DimensionLayout.js.map +1 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.d.ts +2 -0
- package/lib/component/2d/utilities/extractSpectrumSignals.d.ts.map +1 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.js.map +1 -1
- package/lib/component/2d/utilities/scale.d.ts.map +1 -1
- package/lib/component/2d/utilities/scale.js +5 -3
- package/lib/component/2d/utilities/scale.js.map +1 -1
- package/lib/component/2d/zones/Signal.d.ts.map +1 -1
- package/lib/component/2d/zones/Signal.js +7 -8
- package/lib/component/2d/zones/Signal.js.map +1 -1
- package/lib/component/2d/zones/SignalCrosshair.d.ts +2 -2
- package/lib/component/2d/zones/SignalCrosshair.d.ts.map +1 -1
- package/lib/component/2d/zones/SignalCrosshair.js +1 -2
- package/lib/component/2d/zones/SignalCrosshair.js.map +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.d.ts.map +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.js +24 -14
- package/lib/component/2d/zones/SignalsGuideLines.js.map +1 -1
- package/lib/component/2d/zones/Zone.d.ts.map +1 -1
- package/lib/component/2d/zones/Zone.js +12 -11
- package/lib/component/2d/zones/Zone.js.map +1 -1
- package/lib/component/2d/zones/ZonesAssignmentsLabels.d.ts.map +1 -1
- package/lib/component/2d/zones/ZonesAssignmentsLabels.js +3 -2
- package/lib/component/2d/zones/ZonesAssignmentsLabels.js.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.js +5 -3
- package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.js +11 -11
- package/lib/component/EventsTrackers/KeysListenerTracker.js.map +1 -1
- package/lib/component/EventsTrackers/MouseTracker.js.map +1 -1
- package/lib/component/SVGTable.js.map +1 -1
- package/lib/component/assignment/AssignmentsContext.d.ts +1 -0
- package/lib/component/assignment/AssignmentsContext.d.ts.map +1 -1
- package/lib/component/assignment/AssignmentsContext.js +1 -0
- package/lib/component/assignment/AssignmentsContext.js.map +1 -1
- package/lib/component/assignment/utilities/getAssignments.js.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.d.ts.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.js.map +1 -1
- package/lib/component/context/LoggerContext.d.ts.map +1 -1
- package/lib/component/context/LoggerContext.js.map +1 -1
- package/lib/component/context/PreferencesContext.d.ts +5 -1
- package/lib/component/context/PreferencesContext.d.ts.map +1 -1
- package/lib/component/context/PreferencesContext.js +3 -3
- package/lib/component/context/PreferencesContext.js.map +1 -1
- package/lib/component/context/ScaleContext.d.ts +3 -4
- package/lib/component/context/ScaleContext.d.ts.map +1 -1
- package/lib/component/context/ScaleContext.js.map +1 -1
- package/lib/component/context/SortSpectraContext.js +1 -1
- package/lib/component/context/SortSpectraContext.js.map +1 -1
- package/lib/component/elements/ActionsButtonsPopover.d.ts +8 -1
- package/lib/component/elements/ActionsButtonsPopover.d.ts.map +1 -1
- package/lib/component/elements/ActionsButtonsPopover.js +29 -2
- package/lib/component/elements/ActionsButtonsPopover.js.map +1 -1
- package/lib/component/elements/Alert.js.map +1 -1
- package/lib/component/elements/Button.js.map +1 -1
- package/lib/component/elements/ContextMenuBluePrint.js.map +1 -1
- package/lib/component/elements/D3Axis.js.map +1 -1
- package/lib/component/elements/DialogManager.d.ts +3 -4
- package/lib/component/elements/DialogManager.d.ts.map +1 -1
- package/lib/component/elements/DialogManager.js.map +1 -1
- package/lib/component/elements/EditableColumn.js.map +1 -1
- package/lib/component/elements/Input.js.map +1 -1
- package/lib/component/elements/Input2.d.ts +2 -1
- package/lib/component/elements/Input2.d.ts.map +1 -1
- package/lib/component/elements/Input2.js.map +1 -1
- package/lib/component/elements/InputRange.js.map +1 -1
- package/lib/component/elements/MoleculeSelection.js.map +1 -1
- package/lib/component/elements/NextPrev.d.ts +0 -1
- package/lib/component/elements/NextPrev.d.ts.map +1 -1
- package/lib/component/elements/NextPrev.js +5 -21
- package/lib/component/elements/NextPrev.js.map +1 -1
- package/lib/component/elements/NumberInput2.js.map +1 -1
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.js.map +1 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableHeader.js.map +1 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts +1 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.js +2 -2
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.js.map +1 -1
- package/lib/component/elements/ReactTable/ReactTable.d.ts +4 -4
- package/lib/component/elements/ReactTable/ReactTable.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/ReactTable.js +2 -1
- package/lib/component/elements/ReactTable/ReactTable.js.map +1 -1
- package/lib/component/elements/ReactTable/utility/addCustomColumn.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/utility/addCustomColumn.js +2 -2
- package/lib/component/elements/ReactTable/utility/addCustomColumn.js.map +1 -1
- package/lib/component/elements/ReactTable/utility/useRowSpan.d.ts +2 -1
- package/lib/component/elements/ReactTable/utility/useRowSpan.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/utility/useRowSpan.js +5 -1
- package/lib/component/elements/ReactTable/utility/useRowSpan.js.map +1 -1
- package/lib/component/elements/ReadOnly.js.map +1 -1
- package/lib/component/elements/SVGButton.d.ts +2 -2
- package/lib/component/elements/SVGButton.d.ts.map +1 -1
- package/lib/component/elements/SVGButton.js +2 -1
- package/lib/component/elements/SVGButton.js.map +1 -1
- package/lib/component/elements/Sections.d.ts.map +1 -1
- package/lib/component/elements/Sections.js +1 -2
- package/lib/component/elements/Sections.js.map +1 -1
- package/lib/component/elements/Select.d.ts +6 -6
- package/lib/component/elements/Select.d.ts.map +1 -1
- package/lib/component/elements/Select.js +5 -4
- package/lib/component/elements/Select.js.map +1 -1
- package/lib/component/elements/Select2.d.ts.map +1 -1
- package/lib/component/elements/Select2.js.map +1 -1
- package/lib/component/elements/Tab/Tab.js.map +1 -1
- package/lib/component/elements/Tab/Tabs.d.ts +2 -5
- package/lib/component/elements/Tab/Tabs.d.ts.map +1 -1
- package/lib/component/elements/Tab/Tabs.js +2 -7
- package/lib/component/elements/Tab/Tabs.js.map +1 -1
- package/lib/component/elements/TabTitle.js.map +1 -1
- package/lib/component/elements/TabsProvider.js.map +1 -1
- package/lib/component/elements/ToolbarPopoverItem.d.ts +4 -3
- package/lib/component/elements/ToolbarPopoverItem.d.ts.map +1 -1
- package/lib/component/elements/ToolbarPopoverItem.js +13 -5
- package/lib/component/elements/ToolbarPopoverItem.js.map +1 -1
- package/lib/component/elements/draggable/useDraggable.d.ts +2 -1
- package/lib/component/elements/draggable/useDraggable.d.ts.map +1 -1
- package/lib/component/elements/draggable/useDraggable.js +2 -2
- package/lib/component/elements/draggable/useDraggable.js.map +1 -1
- package/lib/component/elements/dropDownButton/DropDownButton.d.ts +2 -6
- package/lib/component/elements/dropDownButton/DropDownButton.d.ts.map +1 -1
- package/lib/component/elements/dropDownButton/DropDownButton.js +4 -4
- package/lib/component/elements/dropDownButton/DropDownButton.js.map +1 -1
- package/lib/component/elements/dropDownButton/DropDownList.d.ts +3 -3
- package/lib/component/elements/dropDownButton/DropDownList.d.ts.map +1 -1
- package/lib/component/elements/dropDownButton/DropDownList.js +3 -3
- package/lib/component/elements/dropDownButton/DropDownList.js.map +1 -1
- package/lib/component/elements/export/ExportManager.d.ts.map +1 -1
- package/lib/component/elements/export/ExportManager.js +2 -2
- package/lib/component/elements/export/ExportManager.js.map +1 -1
- package/lib/component/elements/export/ExportOptionsModal.js.map +1 -1
- package/lib/component/elements/export/units.d.ts.map +1 -1
- package/lib/component/elements/export/units.js.map +1 -1
- package/lib/component/elements/export/useExportConfigurer.d.ts +2 -2
- package/lib/component/elements/export/useExportConfigurer.d.ts.map +1 -1
- package/lib/component/elements/export/useExportConfigurer.js.map +1 -1
- package/lib/component/elements/pdnd.cjs +3 -1
- package/lib/component/elements/pdnd.cjs.map +1 -1
- package/lib/component/elements/pdnd.d.cts.map +1 -1
- package/lib/component/elements/print/PrintContent.js.map +1 -1
- package/lib/component/header/AutoPeakPickingOptionPanel.d.ts.map +1 -1
- package/lib/component/header/AutoPeakPickingOptionPanel.js +2 -2
- package/lib/component/header/AutoPeakPickingOptionPanel.js.map +1 -1
- package/lib/component/header/Header.js.map +1 -1
- package/lib/component/header/RangesPickingOptionPanel.js.map +1 -1
- package/lib/component/header/Zones2DOptionPanel.js.map +1 -1
- package/lib/component/highlight/index.d.ts +2 -18
- package/lib/component/highlight/index.d.ts.map +1 -1
- package/lib/component/highlight/index.js +1 -18
- package/lib/component/highlight/index.js.map +1 -1
- package/lib/component/hooks/useActiveNucleusTab.d.ts +2 -0
- package/lib/component/hooks/useActiveNucleusTab.d.ts.map +1 -0
- package/lib/component/hooks/useActiveNucleusTab.js +6 -0
- package/lib/component/hooks/useActiveNucleusTab.js.map +1 -0
- package/lib/component/hooks/useActiveSpectrumZonesViewState.d.ts.map +1 -1
- package/lib/component/hooks/useCheckToolsVisibility.d.ts +2 -2
- package/lib/component/hooks/useCheckToolsVisibility.d.ts.map +1 -1
- package/lib/component/hooks/useCheckToolsVisibility.js +2 -1
- package/lib/component/hooks/useCheckToolsVisibility.js.map +1 -1
- package/lib/component/hooks/useDialogToggle.d.ts +1 -1
- package/lib/component/hooks/useDialogToggle.d.ts.map +1 -1
- package/lib/component/hooks/useDialogToggle.js +2 -7
- package/lib/component/hooks/useDialogToggle.js.map +1 -1
- package/lib/component/hooks/useFormatNumberByNucleus.d.ts.map +1 -1
- package/lib/component/hooks/useFormatNumberByNucleus.js +1 -1
- package/lib/component/hooks/useFormatNumberByNucleus.js.map +1 -1
- package/lib/component/hooks/useResizerStatus.d.ts +2 -2
- package/lib/component/hooks/useResizerStatus.d.ts.map +1 -1
- package/lib/component/hooks/useResizerStatus.js.map +1 -1
- package/lib/component/hooks/useSVGUnitConverter.js.map +1 -1
- package/lib/component/hooks/useSaveSettings.d.ts.map +1 -1
- package/lib/component/hooks/useSaveSettings.js +1 -9
- package/lib/component/hooks/useSaveSettings.js.map +1 -1
- package/lib/component/hooks/useTableSortBy.d.ts.map +1 -1
- package/lib/component/hooks/useTableSortBy.js +10 -16
- package/lib/component/hooks/useTableSortBy.js.map +1 -1
- package/lib/component/hooks/useToggleSpectraVisibility.d.ts.map +1 -1
- package/lib/component/hooks/useToggleSpectraVisibility.js +2 -2
- package/lib/component/hooks/useToggleSpectraVisibility.js.map +1 -1
- package/lib/component/hooks/useToolsFunctions.d.ts +2 -1
- package/lib/component/hooks/useToolsFunctions.d.ts.map +1 -1
- package/lib/component/hooks/useToolsFunctions.js.map +1 -1
- package/lib/component/hooks/useTriggerNewAssignmentLabel.d.ts.map +1 -1
- package/lib/component/hooks/useTriggerNewAssignmentLabel.js.map +1 -1
- package/lib/component/hooks/useXScale.d.ts +1 -1
- package/lib/component/hooks/useXScale.d.ts.map +1 -1
- package/lib/component/hooks/useXYReduce.d.ts +2 -6
- package/lib/component/hooks/useXYReduce.d.ts.map +1 -1
- package/lib/component/hooks/useXYReduce.js +1 -6
- package/lib/component/hooks/useXYReduce.js.map +1 -1
- package/lib/component/main/NMRiumViewer.js.map +1 -1
- package/lib/component/modal/EditPeakShapeModal.js +2 -2
- package/lib/component/modal/EditPeakShapeModal.js.map +1 -1
- package/lib/component/modal/ExportAsJcampModal.js.map +1 -1
- package/lib/component/modal/ImportPublicationStringModal.js +1 -1
- package/lib/component/modal/ImportPublicationStringModal.js.map +1 -1
- package/lib/component/modal/LoadJCAMPModal.js.map +1 -1
- package/lib/component/modal/LogsHistoryModal.d.ts.map +1 -1
- package/lib/component/modal/LogsHistoryModal.js +1 -1
- package/lib/component/modal/LogsHistoryModal.js.map +1 -1
- package/lib/component/modal/MultipletAnalysisModal.js.map +1 -1
- package/lib/component/modal/PredictSpectraModal.js.map +1 -1
- package/lib/component/modal/PublicationStringModal.d.ts.map +1 -1
- package/lib/component/modal/PublicationStringModal.js +58 -23
- package/lib/component/modal/PublicationStringModal.js.map +1 -1
- package/lib/component/modal/SaveAsModal.js +3 -4
- package/lib/component/modal/SaveAsModal.js.map +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.d.ts.map +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.js +8 -10
- package/lib/component/modal/aboutUs/AboutUsModal.js.map +1 -1
- package/lib/component/modal/changeSum/ChangeSumModalContents.js.map +1 -1
- package/lib/component/modal/changeSum/SelectMolecule.js.map +1 -1
- package/lib/component/modal/editRange/EditRangeModal.d.ts.map +1 -1
- package/lib/component/modal/editRange/EditRangeModal.js +2 -2
- package/lib/component/modal/editRange/EditRangeModal.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts +2 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/NewSignalTab.js +2 -2
- package/lib/component/modal/editRange/forms/components/NewSignalTab.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/SignalsContent.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/SignalsContent.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js.map +1 -1
- package/lib/component/modal/editZone/EditZoneModal.d.ts +5 -0
- package/lib/component/modal/editZone/EditZoneModal.d.ts.map +1 -1
- package/lib/component/modal/editZone/EditZoneModal.js.map +1 -1
- package/lib/component/modal/editZone/SignalsForm.d.ts.map +1 -1
- package/lib/component/modal/editZone/SignalsForm.js +6 -2
- package/lib/component/modal/editZone/SignalsForm.js.map +1 -1
- package/lib/component/modal/metaImportation/MetaImportationModal.js +1 -0
- package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
- package/lib/component/modal/setting/GeneralSettings.d.ts.map +1 -1
- package/lib/component/modal/setting/GeneralSettings.js +15 -6
- package/lib/component/modal/setting/GeneralSettings.js.map +1 -1
- package/lib/component/modal/setting/WorkspaceItem.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js +2 -1
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js +19 -10
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ExportTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js +2 -1
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js +2 -1
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.d.ts +1 -2
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js +3 -3
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js +2 -1
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js +5 -5
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.d.ts +1 -2
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.d.ts.map +1 -1
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.js +1 -2
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.js.map +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts.map +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.js.map +1 -1
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js +1 -1
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralPanel.js.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralTable.js +4 -3
- package/lib/component/panels/IntegralsPanel/IntegralTable.js.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.d.ts.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/FiltersOptions.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.d.ts.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.js +4 -2
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeHeader.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanel.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanel.js +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanel.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js +34 -7
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/Utilities.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/Utilities.js +8 -2
- package/lib/component/panels/MoleculesPanel/Utilities.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/useAtomAssignment.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/useAtomAssignment.js +4 -6
- package/lib/component/panels/MoleculesPanel/useAtomAssignment.js.map +1 -1
- package/lib/component/panels/Panels.d.ts +2 -3
- package/lib/component/panels/Panels.d.ts.map +1 -1
- package/lib/component/panels/Panels.js +1 -1
- package/lib/component/panels/Panels.js.map +1 -1
- package/lib/component/panels/PanelsBar.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPanel.js +4 -4
- package/lib/component/panels/PeaksPanel/PeaksPanel.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.js +2 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesHeader.js +2 -2
- package/lib/component/panels/RangesPanel/RangesHeader.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPanel.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPreferences.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.js +4 -4
- package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/CouplingColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.js +1 -2
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/hooks/useEditRangeModal.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/hooks/useEditRangeModal.js.map +1 -1
- package/lib/component/panels/RangesPanel/hooks/useMapRanges.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/hooks/useMapRanges.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPreferences.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPreferences.js +3 -3
- package/lib/component/panels/SpectraPanel/SpectraPreferences.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.js +16 -17
- package/lib/component/panels/SpectraPanel/SpectraTable.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTabs.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTabs.js +1 -3
- package/lib/component/panels/SpectraPanel/SpectraTabs.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/RenderAsHTML.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/ShowHideSpectrumButton.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/SpectraColumnsManager.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/processSnapPlot.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts +3 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js +2 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts +9 -6
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js +10 -11
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts +18 -10
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.js +2 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts +3 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js +10 -11
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js +2 -2
- package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ActionsColumn.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.js.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPanel.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPanel.js +4 -5
- package/lib/component/panels/ZonesPanel/ZonesPanel.js.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPreferences.js.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesTable.js.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesTableRow.js.map +1 -1
- package/lib/component/panels/ZonesPanel/hooks/useMapZones.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/hooks/useMapZones.js.map +1 -1
- package/lib/component/panels/accordionItems.d.ts.map +1 -1
- package/lib/component/panels/accordionItems.js +1 -2
- package/lib/component/panels/accordionItems.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.js +4 -1
- package/lib/component/panels/databasePanel/DatabasePanel.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseTable.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseTable.js +6 -4
- package/lib/component/panels/databasePanel/DatabaseTable.js.map +1 -1
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.d.ts +1 -1
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.d.ts.map +1 -1
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +3 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ShiftOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useApodization.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts +6 -6
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js +4 -3
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/index.d.ts +2 -26
- package/lib/component/panels/filtersPanel/Filters/index.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/index.js +1 -0
- package/lib/component/panels/filtersPanel/Filters/index.js.map +1 -1
- package/lib/component/panels/informationPanel/InformationEditionModal.d.ts.map +1 -1
- package/lib/component/panels/informationPanel/InformationEditionModal.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js +3 -2
- package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js +9 -6
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.js +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.js +3 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionPreferences.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionSimpleOptions.js.map +1 -1
- package/lib/component/panels/spectrumSimulation/SpectrumSimulation.js.map +1 -1
- package/lib/component/panels/spectrumSimulation/SpectrumSimulationPreferences.js.map +1 -1
- package/lib/component/panels/spectrumSimulation/SpinSystemTable.d.ts.map +1 -1
- package/lib/component/panels/spectrumSimulation/SpinSystemTable.js.map +1 -1
- package/lib/component/reducer/Reducer.d.ts.map +1 -1
- package/lib/component/reducer/Reducer.js +11 -10
- package/lib/component/reducer/Reducer.js.map +1 -1
- package/lib/component/reducer/actions/DomainActions.d.ts +7 -6
- package/lib/component/reducer/actions/DomainActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DomainActions.js +19 -19
- package/lib/component/reducer/actions/DomainActions.js.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.js +12 -11
- package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
- package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/InsetActions.js +6 -5
- package/lib/component/reducer/actions/InsetActions.js.map +1 -1
- package/lib/component/reducer/actions/IntegralsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/IntegralsActions.js +3 -3
- package/lib/component/reducer/actions/IntegralsActions.js.map +1 -1
- package/lib/component/reducer/actions/LoadActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/LoadActions.js +3 -0
- package/lib/component/reducer/actions/LoadActions.js.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.js +2 -1
- package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.js +2 -2
- package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.js +1 -1
- package/lib/component/reducer/actions/PreferencesActions.js.map +1 -1
- package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/RangesActions.js +2 -2
- package/lib/component/reducer/actions/RangesActions.js.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.js +20 -12
- package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.js +13 -24
- package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
- package/lib/component/reducer/actions/utilities/deepReplaceDiaIDs.d.ts +1 -1
- package/lib/component/reducer/actions/utilities/deepReplaceDiaIDs.d.ts.map +1 -1
- package/lib/component/reducer/actions/utilities/deepReplaceDiaIDs.js.map +1 -1
- package/lib/component/reducer/helper/Zoom1DManager.d.ts +2 -8
- package/lib/component/reducer/helper/Zoom1DManager.d.ts.map +1 -1
- package/lib/component/reducer/helper/Zoom1DManager.js +0 -6
- package/lib/component/reducer/helper/Zoom1DManager.js.map +1 -1
- package/lib/component/reducer/helper/ZoomHistoryManager.d.ts.map +1 -1
- package/lib/component/reducer/helper/ZoomHistoryManager.js.map +1 -1
- package/lib/component/reducer/helper/get2DRange.d.ts.map +1 -1
- package/lib/component/reducer/helper/get2DRange.js.map +1 -1
- package/lib/component/reducer/helper/getActiveSpectraAsObject.js.map +1 -1
- package/lib/component/reducer/helper/getRange.d.ts.map +1 -1
- package/lib/component/reducer/helper/getRange.js.map +1 -1
- package/lib/component/reducer/helper/getSpectrum.d.ts +6 -3
- package/lib/component/reducer/helper/getSpectrum.d.ts.map +1 -1
- package/lib/component/reducer/helper/getSpectrum.js +1 -0
- package/lib/component/reducer/helper/getSpectrum.js.map +1 -1
- package/lib/component/reducer/preferences/actions/changeExportAcsSettings.d.ts +4 -0
- package/lib/component/reducer/preferences/actions/changeExportAcsSettings.d.ts.map +1 -0
- package/lib/component/reducer/preferences/actions/changeExportAcsSettings.js +10 -0
- package/lib/component/reducer/preferences/actions/changeExportAcsSettings.js.map +1 -0
- package/lib/component/reducer/preferences/actions/initPreferences.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/initPreferences.js.map +1 -1
- package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts +1 -1
- package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/matrixGeneration.js +1 -1
- package/lib/component/reducer/preferences/actions/matrixGeneration.js.map +1 -1
- package/lib/component/reducer/preferences/actions/setPanelsPreferences.d.ts +2 -2
- package/lib/component/reducer/preferences/actions/setPanelsPreferences.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/setPanelsPreferences.js.map +1 -1
- package/lib/component/reducer/preferences/actions/setPreferences.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/setPreferences.js.map +1 -1
- package/lib/component/reducer/preferences/actions/setWorkspace.js.map +1 -1
- package/lib/component/reducer/preferences/actions/togglePanel.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/togglePanel.js +6 -6
- package/lib/component/reducer/preferences/actions/togglePanel.js.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.d.ts +11 -8
- package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.js +3 -0
- package/lib/component/reducer/preferences/preferencesReducer.js.map +1 -1
- package/lib/component/reducer/preferences/utilities/initWorkspace.d.ts +2 -1
- package/lib/component/reducer/preferences/utilities/initWorkspace.d.ts.map +1 -1
- package/lib/component/reducer/preferences/utilities/initWorkspace.js.map +1 -1
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts +2 -2
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts.map +1 -1
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.js.map +1 -1
- package/lib/component/toolbar/ToolBar.js +9 -9
- package/lib/component/toolbar/ToolBar.js.map +1 -1
- package/lib/component/toolbar/ToolTypes.d.ts +7 -2
- package/lib/component/toolbar/ToolTypes.d.ts.map +1 -1
- package/lib/component/toolbar/ToolTypes.js +2 -43
- package/lib/component/toolbar/ToolTypes.js.map +1 -1
- package/lib/component/toolbar/toolbarMenu.d.ts.map +1 -1
- package/lib/component/toolbar/toolbarMenu.js +25 -17
- package/lib/component/toolbar/toolbarMenu.js.map +1 -1
- package/lib/component/utility/Events.d.ts.map +1 -1
- package/lib/component/utility/Events.js.map +1 -1
- package/lib/component/utility/LocalStorage.d.ts.map +1 -1
- package/lib/component/utility/LocalStorage.js.map +1 -1
- package/lib/component/utility/export.d.ts +1 -1
- package/lib/component/utility/export.d.ts.map +1 -1
- package/lib/component/utility/export.js +8 -8
- package/lib/component/utility/export.js.map +1 -1
- package/lib/component/utility/extractChemicalElement.js +1 -1
- package/lib/component/utility/extractChemicalElement.js.map +1 -1
- package/lib/component/utility/formatNumber.d.ts +1 -1
- package/lib/component/utility/formatNumber.d.ts.map +1 -1
- package/lib/component/utility/forwardRef.d.ts +3 -0
- package/lib/component/utility/forwardRef.d.ts.map +1 -0
- package/lib/component/utility/forwardRef.js +6 -0
- package/lib/component/utility/forwardRef.js.map +1 -0
- package/lib/component/utility/getSpectraObjectPaths.d.ts +1 -1
- package/lib/component/utility/getSpectraObjectPaths.js.map +1 -1
- package/lib/component/utility/getUniqueNuclei.js.map +1 -1
- package/lib/component/utility/groupByInfoKey.d.ts +4 -0
- package/lib/component/utility/groupByInfoKey.d.ts.map +1 -0
- package/lib/component/utility/{GroupByInfoKey.js → groupByInfoKey.js} +8 -6
- package/lib/component/utility/groupByInfoKey.js.map +1 -0
- package/lib/component/utility/nucleusToString.d.ts.map +1 -1
- package/lib/component/utility/nucleusToString.js.map +1 -1
- package/lib/component/utility/renderCoreSlot.d.ts +8 -1
- package/lib/component/utility/renderCoreSlot.d.ts.map +1 -1
- package/lib/component/utility/renderCoreSlot.js +10 -2
- package/lib/component/utility/renderCoreSlot.js.map +1 -1
- package/lib/component/utility/stackOverlappingLabels.js.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.js +16 -0
- package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
- package/lib/data/PredictionManager.d.ts +1 -1
- package/lib/data/PredictionManager.d.ts.map +1 -1
- package/lib/data/PredictionManager.js +3 -2
- package/lib/data/PredictionManager.js.map +1 -1
- package/lib/data/SpectraManager.d.ts +2 -7
- package/lib/data/SpectraManager.d.ts.map +1 -1
- package/lib/data/SpectraManager.js +11 -11
- package/lib/data/SpectraManager.js.map +1 -1
- package/lib/data/constants/References.d.ts +4 -1
- package/lib/data/constants/References.d.ts.map +1 -1
- package/lib/data/constants/References.js +24 -22
- package/lib/data/constants/References.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/generateJGraphData.js +2 -1
- package/lib/data/data1d/Spectrum1D/generateJGraphData.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/get1DColor.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/get1DColor.js +2 -2
- package/lib/data/data1d/Spectrum1D/get1DColor.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/getReferenceShift.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/getReferenceShift.js +3 -3
- package/lib/data/data1d/Spectrum1D/getReferenceShift.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/isRangeAssigned.d.ts +4 -0
- package/lib/data/data1d/Spectrum1D/isRangeAssigned.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/isRangeAssigned.js +1 -1
- package/lib/data/data1d/Spectrum1D/isRangeAssigned.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts +3 -3
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.js +1 -1
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/createRange.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/createRange.js +1 -0
- package/lib/data/data1d/Spectrum1D/ranges/createRange.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js +2 -0
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js.map +1 -1
- package/lib/data/data1d/database.js.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts +9 -15
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.js +30 -19
- package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.js +2 -0
- package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/get2DColor.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/get2DColor.js +2 -2
- package/lib/data/data2d/Spectrum2D/get2DColor.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/getMissingProjection.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts +1 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.js +1 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/detectZones.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/detectZones.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/getDetectionZones.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/initiateZones.d.ts.map +1 -1
- package/lib/data/getFilterLabel.js +8 -2
- package/lib/data/getFilterLabel.js.map +1 -1
- package/lib/data/initiateFilters.d.ts +1 -2
- package/lib/data/initiateFilters.d.ts.map +1 -1
- package/lib/data/initiateFilters.js.map +1 -1
- package/lib/data/matrixGeneration.js.map +1 -1
- package/lib/data/molecules/MoleculeManager.d.ts +6 -0
- package/lib/data/molecules/MoleculeManager.d.ts.map +1 -1
- package/lib/data/molecules/MoleculeManager.js +11 -0
- package/lib/data/molecules/MoleculeManager.js.map +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.d.ts.map +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.js.map +1 -1
- package/lib/data/parseMeta/mapErrors.d.ts +1 -1
- package/lib/data/parseMeta/mapErrors.d.ts.map +1 -1
- package/lib/data/parseMeta/mapErrors.js.map +1 -1
- package/lib/data/types/data1d/index.js +1 -1
- package/lib/data/types/data1d/index.js.map +1 -1
- package/lib/data/utilities/FindUtilities.d.ts.map +1 -1
- package/lib/data/utilities/FindUtilities.js +5 -0
- package/lib/data/utilities/FindUtilities.js.map +1 -1
- package/lib/data/utilities/RangeUtilities.d.ts.map +1 -1
- package/lib/data/utilities/RangeUtilities.js.map +1 -1
- package/lib/data/utilities/ZoneUtilities.d.ts +1 -1
- package/lib/data/utilities/ZoneUtilities.d.ts.map +1 -1
- package/lib/data/utilities/ZoneUtilities.js.map +1 -1
- package/lib/data/utilities/convertSpectraListToObject.d.ts.map +1 -1
- package/lib/data/utilities/convertSpectraListToObject.js.map +1 -1
- package/lib/data/utilities/getAtom.js +1 -1
- package/lib/data/utilities/getAtom.js.map +1 -1
- package/lib/data/utilities/getAtomsFromMF.js.map +1 -1
- package/lib/data/utilities/removeByPaths.js.map +1 -1
- package/lib/utils/clipboard/clipboardHooks.d.ts.map +1 -1
- package/lib/utils/clipboard/clipboardHooks.js +2 -0
- package/lib/utils/clipboard/clipboardHooks.js.map +1 -1
- package/lib/versionInfo.js +1 -1
- package/package.json +62 -53
- package/src/component/1d/BrushTracker1D.tsx +8 -8
- package/src/component/1d/ExclusionZoneAnnotation.tsx +3 -3
- package/src/component/1d/FloatPublicationString.tsx +14 -13
- package/src/component/1d/FloatingRanges.tsx +5 -11
- package/src/component/1d/FooterBanner.tsx +2 -2
- package/src/component/1d/Line.tsx +2 -2
- package/src/component/1d/PredictionErrorsNotations.tsx +2 -2
- package/src/component/1d/SimilarityTree.tsx +2 -2
- package/src/component/1d/XAxis1D.tsx +3 -3
- package/src/component/1d/database/DatabaseElements.tsx +2 -5
- package/src/component/1d/database/DatabaseSpectrum.tsx +3 -6
- package/src/component/1d/database/ResurrectedDatabaseRanges.tsx +3 -6
- package/src/component/1d/inset/DraggableInset.tsx +156 -73
- package/src/component/1d/inset/InsetViewerRoot.tsx +2 -1
- package/src/component/1d/integral/IntegralResizable.tsx +3 -3
- package/src/component/1d/jCouplingGraph/JGraph.tsx +1 -1
- package/src/component/1d/jCouplingGraph/JGraphContext.tsx +1 -1
- package/src/component/1d/jCouplingGraph/JGraphVerticalAxis.tsx +1 -1
- package/src/component/1d/matrix/Boxplot.tsx +10 -9
- package/src/component/1d/matrix/Stocsy.tsx +11 -8
- package/src/component/1d/multiAnalysis/AnalysisRange.tsx +1 -1
- package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +2 -2
- package/src/component/1d/peaks/PeakAnnotationsSpreadMode.tsx +4 -7
- package/src/component/1d/peaks/PeakEditionManager.tsx +12 -6
- package/src/component/1d/peaks/Peaks.tsx +7 -7
- package/src/component/1d/ranges/Atoms.tsx +5 -1
- package/src/component/1d/ranges/Range.tsx +4 -3
- package/src/component/1d/ranges/Ranges.tsx +11 -12
- package/src/component/1d/tool/BaseLineZones.tsx +1 -1
- package/src/component/1d/tool/PeakPointer.tsx +8 -7
- package/src/component/1d/utilities/intersectionResolver.ts +11 -11
- package/src/component/1d/utilities/scale.ts +1 -1
- package/src/component/1d-2d/FieldEdition.tsx +7 -11
- package/src/component/1d-2d/components/ClipPathContainer.tsx +3 -1
- package/src/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.tsx +38 -20
- package/src/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.tsx +1 -1
- package/src/component/1d-2d/components/SpectrumInfoBlock.tsx +5 -6
- package/src/component/1d-2d/tools/CrossLinePointer.tsx +0 -1
- package/src/component/2d/1d-tracer/Left1DChart.tsx +2 -2
- package/src/component/2d/1d-tracer/Top1DChart.tsx +2 -2
- package/src/component/2d/1d-tracer/VerticalSliceChart.tsx +1 -1
- package/src/component/2d/1d-tracer/phase-correction-traces/SpectraPhaseTraces.tsx +2 -5
- package/src/component/2d/BrushTracker2D.tsx +3 -2
- package/src/component/2d/FooterBanner.tsx +12 -6
- package/src/component/2d/SignalDeltaLine.tsx +5 -4
- package/src/component/2d/tools/XYLabelPointer.tsx +11 -5
- package/src/component/2d/utilities/DimensionLayout.ts +14 -14
- package/src/component/2d/utilities/extractSpectrumSignals.ts +2 -0
- package/src/component/2d/utilities/scale.ts +8 -4
- package/src/component/2d/zones/Signal.tsx +16 -21
- package/src/component/2d/zones/SignalCrosshair.tsx +1 -3
- package/src/component/2d/zones/SignalsGuideLines.tsx +64 -23
- package/src/component/2d/zones/Zone.tsx +23 -18
- package/src/component/2d/zones/ZonesAssignmentsLabels.tsx +5 -6
- package/src/component/EventsTrackers/BrushTracker.tsx +6 -6
- package/src/component/EventsTrackers/KeysListenerTracker.tsx +15 -15
- package/src/component/EventsTrackers/MouseTracker.tsx +2 -2
- package/src/component/SVGTable.tsx +3 -3
- package/src/component/assignment/AssignmentsContext.ts +2 -0
- package/src/component/assignment/utilities/getAssignments.ts +1 -1
- package/src/component/context/FilterSyncOptionsContext.tsx +2 -2
- package/src/component/context/LoggerContext.tsx +2 -2
- package/src/component/context/PreferencesContext.tsx +9 -4
- package/src/component/context/ScaleContext.tsx +3 -2
- package/src/component/context/SortSpectraContext.tsx +2 -2
- package/src/component/elements/ActionsButtonsPopover.tsx +64 -4
- package/src/component/elements/Alert.tsx +1 -1
- package/src/component/elements/Button.tsx +1 -1
- package/src/component/elements/ContextMenuBluePrint.tsx +2 -2
- package/src/component/elements/D3Axis.tsx +1 -1
- package/src/component/elements/DialogManager.tsx +3 -2
- package/src/component/elements/EditableColumn.tsx +1 -1
- package/src/component/elements/Input.tsx +2 -2
- package/src/component/elements/Input2.tsx +8 -14
- package/src/component/elements/InputRange.tsx +3 -3
- package/src/component/elements/MoleculeSelection.tsx +1 -1
- package/src/component/elements/NextPrev.tsx +5 -29
- package/src/component/elements/NumberInput2.tsx +2 -2
- package/src/component/elements/ReactTable/Elements/EmptyDataRow.tsx +1 -1
- package/src/component/elements/ReactTable/Elements/ReactTableHeader.tsx +2 -2
- package/src/component/elements/ReactTable/Elements/ReactTableRow.tsx +4 -6
- package/src/component/elements/ReactTable/ReactTable.tsx +11 -11
- package/src/component/elements/ReactTable/utility/addCustomColumn.tsx +4 -3
- package/src/component/elements/ReactTable/utility/useRowSpan.ts +15 -9
- package/src/component/elements/ReadOnly.tsx +1 -1
- package/src/component/elements/SVGButton.tsx +11 -9
- package/src/component/elements/Sections.tsx +2 -4
- package/src/component/elements/Select.tsx +17 -18
- package/src/component/elements/Select2.tsx +1 -1
- package/src/component/elements/Tab/Tab.tsx +3 -3
- package/src/component/elements/Tab/Tabs.tsx +5 -8
- package/src/component/elements/TabTitle.tsx +1 -1
- package/src/component/elements/TabsProvider.tsx +1 -1
- package/src/component/elements/ToolbarPopoverItem.tsx +44 -9
- package/src/component/elements/draggable/useDraggable.ts +9 -9
- package/src/component/elements/dropDownButton/DropDownButton.tsx +6 -16
- package/src/component/elements/dropDownButton/DropDownList.tsx +5 -15
- package/src/component/elements/export/ExportManager.tsx +6 -3
- package/src/component/elements/export/ExportOptionsModal.tsx +2 -2
- package/src/component/elements/export/units.ts +1 -1
- package/src/component/elements/export/useExportConfigurer.tsx +3 -3
- package/src/component/elements/pdnd.cts +3 -1
- package/src/component/elements/print/PrintContent.tsx +1 -1
- package/src/component/header/AutoPeakPickingOptionPanel.tsx +3 -2
- package/src/component/header/Header.tsx +1 -1
- package/src/component/header/RangesPickingOptionPanel.tsx +1 -1
- package/src/component/header/Zones2DOptionPanel.tsx +2 -2
- package/src/component/highlight/index.tsx +18 -22
- package/src/component/hooks/useActiveNucleusTab.ts +10 -0
- package/src/component/hooks/useActiveSpectrumZonesViewState.ts +1 -1
- package/src/component/hooks/useCheckToolsVisibility.ts +7 -4
- package/src/component/hooks/useDialogToggle.ts +10 -8
- package/src/component/hooks/useFormatNumberByNucleus.ts +4 -3
- package/src/component/hooks/useIntegralPath.ts +1 -1
- package/src/component/hooks/useResizerStatus.ts +2 -3
- package/src/component/hooks/useSVGUnitConverter.ts +1 -1
- package/src/component/hooks/useSaveSettings.tsx +3 -11
- package/src/component/hooks/useTableSortBy.tsx +15 -22
- package/src/component/hooks/useToggleSpectraVisibility.tsx +3 -7
- package/src/component/hooks/useToolsFunctions.ts +2 -2
- package/src/component/hooks/useTriggerNewAssignmentLabel.ts +1 -1
- package/src/component/hooks/useXScale.ts +1 -1
- package/src/component/hooks/useXYReduce.ts +3 -9
- package/src/component/main/NMRiumViewer.tsx +1 -1
- package/src/component/modal/EditPeakShapeModal.tsx +4 -8
- package/src/component/modal/ExportAsJcampModal.tsx +1 -1
- package/src/component/modal/ImportPublicationStringModal.tsx +10 -6
- package/src/component/modal/LoadJCAMPModal.tsx +1 -1
- package/src/component/modal/LogsHistoryModal.tsx +6 -5
- package/src/component/modal/MultipletAnalysisModal.tsx +1 -1
- package/src/component/modal/PredictSpectraModal.tsx +1 -1
- package/src/component/modal/PublicationStringModal.tsx +82 -42
- package/src/component/modal/SaveAsModal.tsx +8 -8
- package/src/component/modal/aboutUs/AboutUsModal.tsx +59 -54
- package/src/component/modal/changeSum/ChangeSumModalContents.tsx +2 -2
- package/src/component/modal/changeSum/SelectMolecule.tsx +1 -1
- package/src/component/modal/editRange/EditRangeModal.tsx +5 -8
- package/src/component/modal/editRange/forms/components/DeltaInput.tsx +3 -2
- package/src/component/modal/editRange/forms/components/NewSignalTab.tsx +4 -9
- package/src/component/modal/editRange/forms/components/SignalsContent.tsx +5 -4
- package/src/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.tsx +17 -14
- package/src/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.tsx +17 -14
- package/src/component/modal/editZone/EditZoneModal.tsx +3 -3
- package/src/component/modal/editZone/SignalsForm.tsx +26 -9
- package/src/component/modal/metaImportation/MetaImportationModal.tsx +8 -7
- package/src/component/modal/setting/GeneralSettings.tsx +51 -33
- package/src/component/modal/setting/WorkspaceItem.tsx +3 -3
- package/src/component/modal/setting/settings-tabs/DatabasesTabContent.tsx +19 -9
- package/src/component/modal/setting/settings-tabs/DisplayTabContent.tsx +25 -17
- package/src/component/modal/setting/settings-tabs/ExportTabContent.tsx +1 -1
- package/src/component/modal/setting/settings-tabs/ExternalAPIsTabContent.tsx +18 -9
- package/src/component/modal/setting/settings-tabs/ImportationFiltersTabContent.tsx +3 -2
- package/src/component/modal/setting/settings-tabs/InfoBlockTabContent.tsx +21 -10
- package/src/component/modal/setting/settings-tabs/NucleiTabContent.tsx +20 -13
- package/src/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.tsx +13 -3
- package/src/component/modal/setting/settings-tabs/SpectraColorsTabContent.tsx +21 -12
- package/src/component/modal/setting/settings-tabs/ToolsTabContent.tsx +7 -8
- package/src/component/panels/AutomaticAssignment/AutomaticAssignmentTable.tsx +4 -3
- package/src/component/panels/AutomaticAssignment/useAutoAssignments.ts +1 -1
- package/src/component/panels/IntegralsPanel/IntegralPanel.tsx +2 -2
- package/src/component/panels/IntegralsPanel/IntegralTable.tsx +17 -13
- package/src/component/panels/IntegralsPanel/IntegralsPreferences.tsx +2 -2
- package/src/component/panels/MatrixGenerationPanel/ExclusionsZonesTable.tsx +8 -7
- package/src/component/panels/MatrixGenerationPanel/FiltersOptions.tsx +7 -7
- package/src/component/panels/MatrixGenerationPanel/MatrixGenerationPanel.tsx +17 -4
- package/src/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.tsx +11 -2
- package/src/component/panels/MoleculesPanel/MoleculeHeader.tsx +2 -2
- package/src/component/panels/MoleculesPanel/MoleculePanel.tsx +3 -2
- package/src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx +46 -21
- package/src/component/panels/MoleculesPanel/Utilities.ts +10 -5
- package/src/component/panels/MoleculesPanel/useAtomAssignment.tsx +6 -12
- package/src/component/panels/Panels.tsx +5 -2
- package/src/component/panels/PanelsBar.tsx +3 -3
- package/src/component/panels/PeaksPanel/PeaksPanel.tsx +14 -14
- package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +2 -2
- package/src/component/panels/PeaksPanel/PeaksTable.tsx +15 -13
- package/src/component/panels/RangesPanel/RangesHeader.tsx +3 -3
- package/src/component/panels/RangesPanel/RangesPanel.tsx +2 -2
- package/src/component/panels/RangesPanel/RangesPreferences.tsx +2 -2
- package/src/component/panels/RangesPanel/RangesTableRow.tsx +6 -10
- package/src/component/panels/RangesPanel/TableColumns/CouplingColumn.tsx +1 -1
- package/src/component/panels/RangesPanel/TableColumns/RangeAssignmentColumn.tsx +1 -1
- package/src/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.tsx +1 -2
- package/src/component/panels/RangesPanel/TableColumns/RelativeColumn.tsx +1 -1
- package/src/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.tsx +1 -1
- package/src/component/panels/RangesPanel/hooks/useEditRangeModal.tsx +3 -3
- package/src/component/panels/RangesPanel/hooks/useMapRanges.ts +1 -1
- package/src/component/panels/SpectraPanel/SpectraPanelHeader.tsx +2 -2
- package/src/component/panels/SpectraPanel/SpectraPreferences.tsx +12 -11
- package/src/component/panels/SpectraPanel/SpectraTable.tsx +27 -26
- package/src/component/panels/SpectraPanel/SpectraTabs.tsx +4 -5
- package/src/component/panels/SpectraPanel/base/RenderAsHTML.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/ShowHideSpectrumButton.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/SpectraColumnsManager.tsx +6 -5
- package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/setting/processSnapPlot.ts +2 -2
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.tsx +26 -16
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx +35 -23
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.tsx +32 -13
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx +41 -31
- package/src/component/panels/SummaryPanel/CorrelationTable/editLink/Confirmation.tsx +1 -1
- package/src/component/panels/SummaryPanel/SetMolecularFormulaModal.tsx +5 -5
- package/src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx +4 -3
- package/src/component/panels/SummaryPanel/SummaryPanel.tsx +7 -5
- package/src/component/panels/SummaryPanel/utilities/Utilities.ts +17 -9
- package/src/component/panels/ZonesPanel/TableColumns/ActionsColumn.tsx +1 -1
- package/src/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.tsx +1 -2
- package/src/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.tsx +2 -2
- package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.tsx +1 -1
- package/src/component/panels/ZonesPanel/ZonesPanel.tsx +30 -22
- package/src/component/panels/ZonesPanel/ZonesPreferences.tsx +2 -2
- package/src/component/panels/ZonesPanel/ZonesTable.tsx +1 -1
- package/src/component/panels/ZonesPanel/ZonesTableRow.tsx +1 -1
- package/src/component/panels/ZonesPanel/hooks/useMapZones.ts +2 -1
- package/src/component/panels/accordionItems.tsx +1 -2
- package/src/component/panels/databasePanel/DatabasePanel.tsx +17 -9
- package/src/component/panels/databasePanel/DatabasePreferences.tsx +2 -2
- package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +2 -2
- package/src/component/panels/databasePanel/DatabaseTable.tsx +16 -10
- package/src/component/panels/extra/utilities/MultiplicityUtilities.ts +2 -2
- package/src/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.tsx +2 -2
- package/src/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.tsx +9 -8
- package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +15 -10
- package/src/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.tsx +2 -2
- package/src/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.tsx +2 -2
- package/src/component/panels/filtersPanel/Filters/ShiftOptionsPanel.tsx +3 -3
- package/src/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.tsx +4 -4
- package/src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx +2 -2
- package/src/component/panels/filtersPanel/Filters/hooks/useApodization.tsx +1 -1
- package/src/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.tsx +4 -4
- package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrection.tsx +5 -5
- package/src/component/panels/filtersPanel/Filters/hooks/usePhaseCorrectionTwoDimensions.tsx +8 -8
- package/src/component/panels/filtersPanel/Filters/hooks/useZeroFilling.tsx +7 -9
- package/src/component/panels/filtersPanel/Filters/index.tsx +3 -1
- package/src/component/panels/informationPanel/InformationEditionModal.tsx +12 -9
- package/src/component/panels/multipleAnalysisPanel/AlignSpectra.tsx +6 -6
- package/src/component/panels/multipleAnalysisPanel/AnalysisChart.tsx +7 -6
- package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.tsx +2 -2
- package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.tsx +19 -12
- package/src/component/panels/multipleAnalysisPanel/preferences/AnalysisTablePreferences.tsx +9 -8
- package/src/component/panels/multipleAnalysisPanel/preferences/LegendsPreferences.tsx +10 -7
- package/src/component/panels/multipleAnalysisPanel/preferences/index.tsx +6 -4
- package/src/component/panels/predictionPanel/PredictionOptionsPanel.tsx +1 -1
- package/src/component/panels/predictionPanel/PredictionPreferences.tsx +2 -2
- package/src/component/panels/predictionPanel/PredictionSimpleOptions.tsx +1 -1
- package/src/component/panels/spectrumSimulation/SpectrumSimulation.tsx +2 -2
- package/src/component/panels/spectrumSimulation/SpectrumSimulationPreferences.tsx +1 -1
- package/src/component/panels/spectrumSimulation/SpinSystemTable.tsx +6 -3
- package/src/component/reducer/Reducer.ts +13 -12
- package/src/component/reducer/actions/DomainActions.ts +45 -37
- package/src/component/reducer/actions/FiltersActions.ts +30 -23
- package/src/component/reducer/actions/InsetActions.ts +7 -10
- package/src/component/reducer/actions/IntegralsActions.ts +6 -5
- package/src/component/reducer/actions/LoadActions.ts +5 -2
- package/src/component/reducer/actions/MoleculeActions.ts +3 -1
- package/src/component/reducer/actions/PeaksActions.ts +5 -2
- package/src/component/reducer/actions/PreferencesActions.ts +2 -2
- package/src/component/reducer/actions/RangesActions.ts +15 -9
- package/src/component/reducer/actions/SpectraActions.ts +23 -18
- package/src/component/reducer/actions/ToolsActions.ts +30 -39
- package/src/component/reducer/actions/utilities/deepReplaceDiaIDs.ts +1 -1
- package/src/component/reducer/helper/Zoom1DManager.ts +3 -10
- package/src/component/reducer/helper/ZoomHistoryManager.ts +5 -5
- package/src/component/reducer/helper/get2DRange.ts +1 -1
- package/src/component/reducer/helper/getActiveSpectraAsObject.ts +1 -1
- package/src/component/reducer/helper/getRange.ts +1 -1
- package/src/component/reducer/helper/getSpectrum.ts +17 -4
- package/src/component/reducer/preferences/actions/changeExportAcsSettings.ts +19 -0
- package/src/component/reducer/preferences/actions/initPreferences.ts +3 -3
- package/src/component/reducer/preferences/actions/matrixGeneration.ts +7 -4
- package/src/component/reducer/preferences/actions/setPanelsPreferences.ts +9 -3
- package/src/component/reducer/preferences/actions/setPreferences.ts +1 -1
- package/src/component/reducer/preferences/actions/setWorkspace.ts +1 -1
- package/src/component/reducer/preferences/actions/togglePanel.ts +10 -7
- package/src/component/reducer/preferences/preferencesReducer.ts +24 -14
- package/src/component/reducer/preferences/utilities/initWorkspace.ts +2 -1
- package/src/component/reducer/preferences/utilities/mapWorkspaces.ts +6 -2
- package/src/component/toolbar/ToolBar.tsx +14 -14
- package/src/component/toolbar/ToolTypes.ts +11 -52
- package/src/component/toolbar/toolbarMenu.tsx +25 -17
- package/src/component/utility/Events.tsx +6 -6
- package/src/component/utility/LocalStorage.ts +5 -5
- package/src/component/utility/export.ts +14 -13
- package/src/component/utility/extractChemicalElement.ts +1 -1
- package/src/component/utility/forwardRef.ts +10 -0
- package/src/component/utility/getSpectraObjectPaths.ts +1 -1
- package/src/component/utility/getUniqueNuclei.ts +1 -1
- package/src/component/utility/groupByInfoKey.ts +34 -0
- package/src/component/utility/nucleusToString.ts +1 -1
- package/src/component/utility/renderCoreSlot.tsx +12 -2
- package/src/component/utility/stackOverlappingLabels.ts +1 -1
- package/src/component/workspaces/workspaceDefaultProperties.ts +16 -0
- package/src/data/PredictionManager.ts +16 -14
- package/src/data/SpectraManager.ts +20 -15
- package/src/data/constants/References.ts +26 -25
- package/src/data/data1d/Spectrum1D/generateJGraphData.ts +2 -3
- package/src/data/data1d/Spectrum1D/get1DColor.ts +7 -3
- package/src/data/data1d/Spectrum1D/getReferenceShift.ts +8 -4
- package/src/data/data1d/Spectrum1D/isRangeAssigned.ts +2 -2
- package/src/data/data1d/Spectrum1D/isSpectrum1D.ts +10 -4
- package/src/data/data1d/Spectrum1D/peaks/autoPeakPicking.ts +1 -1
- package/src/data/data1d/Spectrum1D/peaks/optimizePeaks.ts +1 -1
- package/src/data/data1d/Spectrum1D/ranges/createRange.ts +1 -0
- package/src/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.ts +1 -1
- package/src/data/data1d/Spectrum1D/ranges/resurrectSpectrum.ts +2 -0
- package/src/data/data1d/database.ts +2 -2
- package/src/data/data1d/multipleSpectraAnalysis.ts +57 -29
- package/src/data/data2d/Spectrum2D/contours.ts +3 -1
- package/src/data/data2d/Spectrum2D/get2DColor.ts +8 -4
- package/src/data/data2d/Spectrum2D/getMissingProjection.ts +1 -1
- package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +1 -1
- package/src/data/data2d/Spectrum2D/isSpectrum2D.ts +4 -2
- package/src/data/data2d/Spectrum2D/zones/detectZones.ts +4 -1
- package/src/data/data2d/Spectrum2D/zones/detectZonesManual.ts +4 -2
- package/src/data/data2d/Spectrum2D/zones/getDetectionZones.ts +2 -2
- package/src/data/getFilterLabel.ts +10 -2
- package/src/data/initiateFilters.ts +1 -5
- package/src/data/matrixGeneration.ts +1 -1
- package/src/data/molecules/MoleculeManager.ts +14 -0
- package/src/data/parseMeta/linkMetaWithSpectra.ts +3 -3
- package/src/data/parseMeta/mapErrors.ts +1 -1
- package/src/data/utilities/FindUtilities.ts +5 -0
- package/src/data/utilities/RangeUtilities.ts +1 -1
- package/src/data/utilities/ZoneUtilities.ts +5 -5
- package/src/data/utilities/convertSpectraListToObject.ts +2 -2
- package/src/data/utilities/getAtom.ts +1 -1
- package/src/data/utilities/getAtomsFromMF.ts +1 -1
- package/src/data/utilities/removeByPaths.ts +2 -2
- package/src/utils/clipboard/clipboardHooks.ts +5 -3
- package/src/versionInfo.ts +1 -1
- package/lib/component/utility/GroupByInfoKey.d.ts +0 -2
- package/lib/component/utility/GroupByInfoKey.d.ts.map +0 -1
- package/lib/component/utility/GroupByInfoKey.js.map +0 -1
- package/lib/component/utility/assert.d.ts +0 -2
- package/lib/component/utility/assert.d.ts.map +0 -1
- package/lib/component/utility/assert.js +0 -6
- package/lib/component/utility/assert.js.map +0 -1
- package/src/component/utility/GroupByInfoKey.ts +0 -29
- package/src/component/utility/assert.ts +0 -5
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Switch } from '@blueprintjs/core';
|
|
2
2
|
import type { NMRiumPanelPreferences } from '@zakodium/nmrium-core';
|
|
3
3
|
import { useCallback, useMemo } from 'react';
|
|
4
4
|
import { Controller, useFormContext } from 'react-hook-form';
|
|
5
|
+
import type { CellProps } from 'react-table';
|
|
5
6
|
|
|
6
7
|
import { GroupPane } from '../../../elements/GroupPane.js';
|
|
7
8
|
import Label from '../../../elements/Label.js';
|
|
@@ -18,7 +19,7 @@ interface ListItem {
|
|
|
18
19
|
hideOpenOption?: boolean;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
|
-
type PanelStatus = 'hidden' | 'available' | 'active';
|
|
22
|
+
type PanelStatus = 'hidden' | 'available' | 'active' | 'open';
|
|
22
23
|
interface PanelStatusItem {
|
|
23
24
|
label: string;
|
|
24
25
|
value: PanelStatus;
|
|
@@ -33,6 +34,10 @@ const PANEL_STATUS: PanelStatusItem[] = [
|
|
|
33
34
|
label: 'Available',
|
|
34
35
|
value: 'available',
|
|
35
36
|
},
|
|
37
|
+
{
|
|
38
|
+
label: 'Open',
|
|
39
|
+
value: 'open',
|
|
40
|
+
},
|
|
36
41
|
{
|
|
37
42
|
label: 'Active',
|
|
38
43
|
value: 'active',
|
|
@@ -108,6 +113,7 @@ function DisplayTabContent() {
|
|
|
108
113
|
(panelName: keyof NMRiumPanelPreferences, status: PanelStatus) => {
|
|
109
114
|
let visible = false;
|
|
110
115
|
let display = false;
|
|
116
|
+
let open = false;
|
|
111
117
|
|
|
112
118
|
if (status === 'available') {
|
|
113
119
|
visible = true;
|
|
@@ -117,7 +123,13 @@ function DisplayTabContent() {
|
|
|
117
123
|
visible = true;
|
|
118
124
|
display = true;
|
|
119
125
|
}
|
|
126
|
+
if (status === 'open') {
|
|
127
|
+
visible = true;
|
|
128
|
+
display = true;
|
|
129
|
+
open = true;
|
|
130
|
+
}
|
|
120
131
|
|
|
132
|
+
setValue(`${basePath}.${panelName}.open`, open);
|
|
121
133
|
setValue(`${basePath}.${panelName}.display`, display);
|
|
122
134
|
setValue(`${basePath}.${panelName}.visible`, visible);
|
|
123
135
|
},
|
|
@@ -141,16 +153,23 @@ function DisplayTabContent() {
|
|
|
141
153
|
index: 3,
|
|
142
154
|
Header: 'Status',
|
|
143
155
|
style: { textAlign: 'center' },
|
|
144
|
-
Cell: ({ row }) => (
|
|
156
|
+
Cell: ({ row }: CellProps<ListItem>) => (
|
|
145
157
|
<Controller
|
|
146
158
|
control={control}
|
|
147
159
|
name={`${basePath}.${row.original.name}`}
|
|
148
160
|
render={({ field }) => {
|
|
149
161
|
const { value: state } = field;
|
|
150
|
-
const {
|
|
162
|
+
const {
|
|
163
|
+
visible = false,
|
|
164
|
+
display = false,
|
|
165
|
+
open = false,
|
|
166
|
+
} = state || {};
|
|
151
167
|
let value: PanelStatus = 'hidden';
|
|
168
|
+
const isActive = visible && display;
|
|
152
169
|
|
|
153
|
-
if (
|
|
170
|
+
if (isActive && open) {
|
|
171
|
+
value = 'open';
|
|
172
|
+
} else if (isActive) {
|
|
154
173
|
value = 'active';
|
|
155
174
|
} else if (visible) {
|
|
156
175
|
value = 'available';
|
|
@@ -172,19 +191,8 @@ function DisplayTabContent() {
|
|
|
172
191
|
/>
|
|
173
192
|
),
|
|
174
193
|
},
|
|
175
|
-
{
|
|
176
|
-
index: 4,
|
|
177
|
-
Header: 'Open on load',
|
|
178
|
-
style: { textAlign: 'center' },
|
|
179
|
-
Cell: ({ row }) => (
|
|
180
|
-
<Checkbox
|
|
181
|
-
style={{ margin: 0 }}
|
|
182
|
-
{...register(`${basePath}.${row.original.name}.open`)}
|
|
183
|
-
/>
|
|
184
|
-
),
|
|
185
|
-
},
|
|
186
194
|
],
|
|
187
|
-
[control, onChange
|
|
195
|
+
[control, onChange],
|
|
188
196
|
);
|
|
189
197
|
|
|
190
198
|
return (
|
|
@@ -101,7 +101,7 @@ function ExportOptions(props: ExportOptionsProps) {
|
|
|
101
101
|
sizesList = getSizesList(layout);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
function handleChangeMode(mode) {
|
|
104
|
+
function handleChangeMode(mode: any) {
|
|
105
105
|
const options = defaultValue;
|
|
106
106
|
setMode(mode);
|
|
107
107
|
if (options.mode === mode) {
|
|
@@ -5,6 +5,7 @@ import { useCallback, useMemo } from 'react';
|
|
|
5
5
|
import { useFormContext } from 'react-hook-form';
|
|
6
6
|
import { FaPlus, FaRegTrashAlt } from 'react-icons/fa';
|
|
7
7
|
import { Button } from 'react-science/ui';
|
|
8
|
+
import type { CellProps } from 'react-table';
|
|
8
9
|
|
|
9
10
|
import { GroupPane } from '../../../elements/GroupPane.js';
|
|
10
11
|
import { Input2Controller } from '../../../elements/Input2Controller.js';
|
|
@@ -45,23 +46,25 @@ export function ExternalAPIsTabContent() {
|
|
|
45
46
|
);
|
|
46
47
|
|
|
47
48
|
const deleteHandler = useCallback(
|
|
48
|
-
(data, index: number) => {
|
|
49
|
-
const _fields = data.filter(
|
|
49
|
+
(data: any, index: number) => {
|
|
50
|
+
const _fields = data.filter(
|
|
51
|
+
(_: any, columnIndex: any) => columnIndex !== index,
|
|
52
|
+
);
|
|
50
53
|
setValue('externalAPIs', _fields);
|
|
51
54
|
},
|
|
52
55
|
[setValue],
|
|
53
56
|
);
|
|
54
57
|
|
|
55
|
-
const COLUMNS
|
|
58
|
+
const COLUMNS = useMemo<Array<Column<ExternalAPI>>>(
|
|
56
59
|
() => [
|
|
57
60
|
{
|
|
58
61
|
Header: '#',
|
|
59
62
|
style: { width: '25px', textAlign: 'center' },
|
|
60
|
-
accessor: (_, index) => index + 1,
|
|
63
|
+
accessor: (_: any, index) => index + 1,
|
|
61
64
|
},
|
|
62
65
|
{
|
|
63
66
|
Header: 'Service',
|
|
64
|
-
Cell: ({ row }) => {
|
|
67
|
+
Cell: ({ row }: CellProps<ExternalAPI>) => {
|
|
65
68
|
const name = getKeyPath(row.index, 'key');
|
|
66
69
|
return (
|
|
67
70
|
<Select2Controller<
|
|
@@ -81,7 +84,7 @@ export function ExternalAPIsTabContent() {
|
|
|
81
84
|
},
|
|
82
85
|
{
|
|
83
86
|
Header: 'Server link',
|
|
84
|
-
Cell: ({ row }) => {
|
|
87
|
+
Cell: ({ row }: CellProps<ExternalAPI>) => {
|
|
85
88
|
const name = getKeyPath(row.index, 'serverLink');
|
|
86
89
|
return (
|
|
87
90
|
<Input2Controller
|
|
@@ -95,7 +98,7 @@ export function ExternalAPIsTabContent() {
|
|
|
95
98
|
},
|
|
96
99
|
{
|
|
97
100
|
Header: 'API key',
|
|
98
|
-
Cell: ({ row }) => {
|
|
101
|
+
Cell: ({ row }: CellProps<ExternalAPI>) => {
|
|
99
102
|
const name = getKeyPath(row.index, 'APIKey');
|
|
100
103
|
return (
|
|
101
104
|
<Input2Controller
|
|
@@ -111,7 +114,7 @@ export function ExternalAPIsTabContent() {
|
|
|
111
114
|
Header: '',
|
|
112
115
|
style: { width: '60px' },
|
|
113
116
|
id: 'op-buttons',
|
|
114
|
-
Cell: ({ data, row }) => {
|
|
117
|
+
Cell: ({ data, row }: CellProps<ExternalAPI>) => {
|
|
115
118
|
const record: any = row.original;
|
|
116
119
|
return (
|
|
117
120
|
<div style={{ display: 'flex', justifyContent: 'space-evenly' }}>
|
|
@@ -165,7 +168,13 @@ export function ExternalAPIsTabContent() {
|
|
|
165
168
|
);
|
|
166
169
|
}
|
|
167
170
|
|
|
168
|
-
|
|
171
|
+
interface HeaderProps {
|
|
172
|
+
onAdd: () => void;
|
|
173
|
+
text: string;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
function Header(props: HeaderProps) {
|
|
177
|
+
const { onAdd, text } = props;
|
|
169
178
|
return (
|
|
170
179
|
<Section>
|
|
171
180
|
<p style={{ flex: 1 }}>{text}</p>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Checkbox } from '@blueprintjs/core';
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import { Controller, useFormContext } from 'react-hook-form';
|
|
4
|
+
import type { CellProps } from 'react-table';
|
|
4
5
|
|
|
5
6
|
import type { Keys } from '../../../../data/types/common/Keys.js';
|
|
6
7
|
import { GroupPane } from '../../../elements/GroupPane.js';
|
|
@@ -78,7 +79,7 @@ const BRUKER_LIST: ListItem[] = [
|
|
|
78
79
|
function ImportationFiltersTabContent() {
|
|
79
80
|
const { register, control } = useFormContext<WorkspaceWithSource>();
|
|
80
81
|
|
|
81
|
-
const COLUMNS
|
|
82
|
+
const COLUMNS = useMemo<Array<Column<ListItem>>>(
|
|
82
83
|
() => [
|
|
83
84
|
{
|
|
84
85
|
Header: '#',
|
|
@@ -93,7 +94,7 @@ function ImportationFiltersTabContent() {
|
|
|
93
94
|
{
|
|
94
95
|
Header: ' ',
|
|
95
96
|
style: { textAlign: 'center' },
|
|
96
|
-
Cell: ({ row }) => {
|
|
97
|
+
Cell: ({ row }: CellProps<ListItem>) => {
|
|
97
98
|
const fieldType = row.original.fieldType;
|
|
98
99
|
const name = row.original.name;
|
|
99
100
|
switch (fieldType) {
|
|
@@ -4,6 +4,7 @@ import { useCallback, useMemo } from 'react';
|
|
|
4
4
|
import { useFormContext } from 'react-hook-form';
|
|
5
5
|
import { FaPlus, FaRegTrashAlt } from 'react-icons/fa';
|
|
6
6
|
import { Button } from 'react-science/ui';
|
|
7
|
+
import type { CellProps } from 'react-table';
|
|
7
8
|
|
|
8
9
|
import { useChartData } from '../../../context/ChartContext.js';
|
|
9
10
|
import { GroupPane } from '../../../elements/GroupPane.js';
|
|
@@ -52,14 +53,16 @@ function InfoBlockTabContent() {
|
|
|
52
53
|
);
|
|
53
54
|
|
|
54
55
|
const deleteHandler = useCallback(
|
|
55
|
-
(data, index: number) => {
|
|
56
|
-
const _fields = data.filter(
|
|
56
|
+
(data: any, index: number) => {
|
|
57
|
+
const _fields = data.filter(
|
|
58
|
+
(_: any, columnIndex: any) => columnIndex !== index,
|
|
59
|
+
);
|
|
57
60
|
setValue('infoBlock.fields', _fields);
|
|
58
61
|
},
|
|
59
62
|
[setValue],
|
|
60
63
|
);
|
|
61
64
|
|
|
62
|
-
const COLUMNS
|
|
65
|
+
const COLUMNS = useMemo<Array<Column<InfoBlockField>>>(
|
|
63
66
|
() => [
|
|
64
67
|
{
|
|
65
68
|
Header: '#',
|
|
@@ -68,7 +71,7 @@ function InfoBlockTabContent() {
|
|
|
68
71
|
},
|
|
69
72
|
{
|
|
70
73
|
Header: 'Label',
|
|
71
|
-
Cell: ({ row }) => {
|
|
74
|
+
Cell: ({ row }: CellProps<InfoBlockField>) => {
|
|
72
75
|
const name = getKeyPath(row.index, 'label');
|
|
73
76
|
return (
|
|
74
77
|
<Input2Controller
|
|
@@ -82,7 +85,7 @@ function InfoBlockTabContent() {
|
|
|
82
85
|
},
|
|
83
86
|
{
|
|
84
87
|
Header: 'Field',
|
|
85
|
-
Cell: ({ row }) => {
|
|
88
|
+
Cell: ({ row }: CellProps<InfoBlockField>) => {
|
|
86
89
|
const name = getKeyPath(row.index, 'jpath');
|
|
87
90
|
return (
|
|
88
91
|
<Input2Controller
|
|
@@ -91,7 +94,9 @@ function InfoBlockTabContent() {
|
|
|
91
94
|
noShadowBox
|
|
92
95
|
style={{ backgroundColor: 'transparent' }}
|
|
93
96
|
filterItems={datalist}
|
|
94
|
-
mapOnChangeValue={(value) =>
|
|
97
|
+
mapOnChangeValue={(value) =>
|
|
98
|
+
(paths as any)?.[value.trim()] || value
|
|
99
|
+
}
|
|
95
100
|
mapValue={convertPathArrayToString}
|
|
96
101
|
/>
|
|
97
102
|
);
|
|
@@ -99,7 +104,7 @@ function InfoBlockTabContent() {
|
|
|
99
104
|
},
|
|
100
105
|
{
|
|
101
106
|
Header: 'Format',
|
|
102
|
-
Cell: ({ row }) => {
|
|
107
|
+
Cell: ({ row }: CellProps<InfoBlockField>) => {
|
|
103
108
|
const name = getKeyPath(row.index, 'format');
|
|
104
109
|
return (
|
|
105
110
|
<Input2Controller
|
|
@@ -114,7 +119,7 @@ function InfoBlockTabContent() {
|
|
|
114
119
|
{
|
|
115
120
|
Header: 'Visible',
|
|
116
121
|
style: { width: '30px', textAlign: 'center' },
|
|
117
|
-
Cell: ({ row }) => (
|
|
122
|
+
Cell: ({ row }: CellProps<InfoBlockField>) => (
|
|
118
123
|
<Checkbox
|
|
119
124
|
style={{ margin: 0 }}
|
|
120
125
|
{...register(getKeyPath(row.index, 'visible'))}
|
|
@@ -125,7 +130,7 @@ function InfoBlockTabContent() {
|
|
|
125
130
|
Header: '',
|
|
126
131
|
style: { width: '60px' },
|
|
127
132
|
id: 'add-button',
|
|
128
|
-
Cell: ({ data, row }) => {
|
|
133
|
+
Cell: ({ data, row }: CellProps<InfoBlockField>) => {
|
|
129
134
|
const record: any = row.original;
|
|
130
135
|
return (
|
|
131
136
|
<div style={{ display: 'flex', justifyContent: 'space-evenly' }}>
|
|
@@ -192,7 +197,13 @@ function InfoBlockTabContent() {
|
|
|
192
197
|
);
|
|
193
198
|
}
|
|
194
199
|
|
|
195
|
-
|
|
200
|
+
interface FieldsBlockHeaderProps {
|
|
201
|
+
onAdd: () => void;
|
|
202
|
+
text: string;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
function FieldsBlockHeader(props: FieldsBlockHeaderProps) {
|
|
206
|
+
const { onAdd, text } = props;
|
|
196
207
|
return (
|
|
197
208
|
<Section>
|
|
198
209
|
<p style={{ flex: 1 }}>{text}</p>
|
|
@@ -4,6 +4,7 @@ import { useCallback, useMemo } from 'react';
|
|
|
4
4
|
import { useFormContext } from 'react-hook-form';
|
|
5
5
|
import { FaPlus, FaRegTrashAlt } from 'react-icons/fa';
|
|
6
6
|
import { Button } from 'react-science/ui';
|
|
7
|
+
import type { CellProps } from 'react-table';
|
|
7
8
|
|
|
8
9
|
import { GroupPane } from '../../../elements/GroupPane.js';
|
|
9
10
|
import { Input2Controller } from '../../../elements/Input2Controller.js';
|
|
@@ -20,7 +21,7 @@ function getKeyPath<T extends keyof NucleiPreferences>(
|
|
|
20
21
|
return `nuclei.${index}.${key}`;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
function NucleiTabContent() {
|
|
24
|
+
export default function NucleiTabContent() {
|
|
24
25
|
const { control, setValue, watch } = useFormContext<WorkspaceWithSource>();
|
|
25
26
|
|
|
26
27
|
const fields: NucleiPreferences[] = watch('nuclei') || [];
|
|
@@ -44,14 +45,16 @@ function NucleiTabContent() {
|
|
|
44
45
|
);
|
|
45
46
|
|
|
46
47
|
const deleteHandler = useCallback(
|
|
47
|
-
(data, index: number) => {
|
|
48
|
-
const _fields = data.filter(
|
|
48
|
+
(data: any, index: number) => {
|
|
49
|
+
const _fields = data.filter(
|
|
50
|
+
(_: any, columnIndex: any) => columnIndex !== index,
|
|
51
|
+
);
|
|
49
52
|
setValue('nuclei', _fields);
|
|
50
53
|
},
|
|
51
54
|
[setValue],
|
|
52
55
|
);
|
|
53
56
|
|
|
54
|
-
const COLUMNS
|
|
57
|
+
const COLUMNS = useMemo<Array<Column<NucleiPreferences>>>(
|
|
55
58
|
() => [
|
|
56
59
|
{
|
|
57
60
|
Header: '#',
|
|
@@ -61,7 +64,7 @@ function NucleiTabContent() {
|
|
|
61
64
|
{
|
|
62
65
|
Header: 'Nucleus',
|
|
63
66
|
style: { padding: 0 },
|
|
64
|
-
Cell: ({ row }) => {
|
|
67
|
+
Cell: ({ row }: CellProps<NucleiPreferences>) => {
|
|
65
68
|
const name = getKeyPath(row.index, 'nucleus');
|
|
66
69
|
return (
|
|
67
70
|
<Input2Controller
|
|
@@ -76,7 +79,7 @@ function NucleiTabContent() {
|
|
|
76
79
|
{
|
|
77
80
|
Header: 'δ (ppm)',
|
|
78
81
|
style: { padding: 0 },
|
|
79
|
-
Cell: ({ row }) => {
|
|
82
|
+
Cell: ({ row }: CellProps<NucleiPreferences>) => {
|
|
80
83
|
const name = getKeyPath(row.index, 'ppmFormat');
|
|
81
84
|
return (
|
|
82
85
|
<Input2Controller
|
|
@@ -91,7 +94,7 @@ function NucleiTabContent() {
|
|
|
91
94
|
{
|
|
92
95
|
Header: 'Coupling (Hz)',
|
|
93
96
|
style: { padding: 0 },
|
|
94
|
-
Cell: ({ row }) => {
|
|
97
|
+
Cell: ({ row }: CellProps<NucleiPreferences>) => {
|
|
95
98
|
const name = getKeyPath(row.index, 'hzFormat');
|
|
96
99
|
|
|
97
100
|
return (
|
|
@@ -107,7 +110,7 @@ function NucleiTabContent() {
|
|
|
107
110
|
{
|
|
108
111
|
Header: 'Axis from',
|
|
109
112
|
style: { padding: 0 },
|
|
110
|
-
Cell: ({ row }) => {
|
|
113
|
+
Cell: ({ row }: CellProps<NucleiPreferences>) => {
|
|
111
114
|
const name = getKeyPath(row.index, 'axisFrom');
|
|
112
115
|
return (
|
|
113
116
|
<NumberInput2Controller
|
|
@@ -123,7 +126,7 @@ function NucleiTabContent() {
|
|
|
123
126
|
{
|
|
124
127
|
Header: 'Axis to',
|
|
125
128
|
style: { padding: 0 },
|
|
126
|
-
Cell: ({ row }) => {
|
|
129
|
+
Cell: ({ row }: CellProps<NucleiPreferences>) => {
|
|
127
130
|
const name = getKeyPath(row.index, 'axisTo');
|
|
128
131
|
|
|
129
132
|
return (
|
|
@@ -142,7 +145,7 @@ function NucleiTabContent() {
|
|
|
142
145
|
Header: '',
|
|
143
146
|
style: { width: '60px' },
|
|
144
147
|
id: 'op-buttons',
|
|
145
|
-
Cell: ({ data, row }) => {
|
|
148
|
+
Cell: ({ data, row }: CellProps<NucleiPreferences>) => {
|
|
146
149
|
return (
|
|
147
150
|
<div style={{ display: 'flex', justifyContent: 'space-evenly' }}>
|
|
148
151
|
<Button
|
|
@@ -202,7 +205,13 @@ function NucleiTabContent() {
|
|
|
202
205
|
);
|
|
203
206
|
}
|
|
204
207
|
|
|
205
|
-
|
|
208
|
+
interface FieldsBlockHeaderProps {
|
|
209
|
+
onAdd: () => void;
|
|
210
|
+
text: string;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
function FieldsBlockHeader(props: FieldsBlockHeaderProps) {
|
|
214
|
+
const { onAdd, text } = props;
|
|
206
215
|
return (
|
|
207
216
|
<Section>
|
|
208
217
|
<p style={{ flex: 1 }}>{text}</p>
|
|
@@ -219,5 +228,3 @@ function FieldsBlockHeader({ onAdd, text }) {
|
|
|
219
228
|
</Section>
|
|
220
229
|
);
|
|
221
230
|
}
|
|
222
|
-
|
|
223
|
-
export default NucleiTabContent;
|
|
@@ -4,6 +4,7 @@ import type {
|
|
|
4
4
|
WorkspacePreferences,
|
|
5
5
|
} from '@zakodium/nmrium-core';
|
|
6
6
|
import { useFormContext } from 'react-hook-form';
|
|
7
|
+
import type { CellProps } from 'react-table';
|
|
7
8
|
|
|
8
9
|
import { getFilterLabel } from '../../../../data/getFilterLabel.js';
|
|
9
10
|
import IsotopesViewer from '../../../elements/IsotopesViewer.js';
|
|
@@ -39,7 +40,10 @@ function AutoProcessingFilters() {
|
|
|
39
40
|
id: nucleus,
|
|
40
41
|
title: <IsotopesViewer value={nucleus} />,
|
|
41
42
|
content: (
|
|
42
|
-
<FiltersTable
|
|
43
|
+
<FiltersTable
|
|
44
|
+
data={autoProcessingFilters[nucleus] as AutoProcessingFilterEntry[]}
|
|
45
|
+
nucleus={nucleus}
|
|
46
|
+
/>
|
|
43
47
|
),
|
|
44
48
|
}));
|
|
45
49
|
return (
|
|
@@ -58,7 +62,13 @@ function AutoProcessingFilters() {
|
|
|
58
62
|
);
|
|
59
63
|
}
|
|
60
64
|
|
|
61
|
-
|
|
65
|
+
interface FiltersTableProps {
|
|
66
|
+
data: AutoProcessingFilterEntry[];
|
|
67
|
+
nucleus: string;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
function FiltersTable(props: FiltersTableProps) {
|
|
71
|
+
const { data, nucleus } = props;
|
|
62
72
|
const { register } = useFormContext();
|
|
63
73
|
|
|
64
74
|
const COLUMNS: Array<CustomColumn<AutoProcessingFilterEntry>> = [
|
|
@@ -77,7 +87,7 @@ function FiltersTable({ data, nucleus }) {
|
|
|
77
87
|
index: 2,
|
|
78
88
|
Header: 'Enable',
|
|
79
89
|
style: { textAlign: 'center' },
|
|
80
|
-
Cell: ({ row }) => (
|
|
90
|
+
Cell: ({ row }: CellProps<AutoProcessingFilterEntry>) => (
|
|
81
91
|
<Checkbox
|
|
82
92
|
style={{ margin: 0 }}
|
|
83
93
|
{...register(
|
|
@@ -5,6 +5,7 @@ import { useCallback, useMemo } from 'react';
|
|
|
5
5
|
import { useFormContext } from 'react-hook-form';
|
|
6
6
|
import { FaPlus, FaRegTrashAlt } from 'react-icons/fa';
|
|
7
7
|
import { Button } from 'react-science/ui';
|
|
8
|
+
import type { CellProps } from 'react-table';
|
|
8
9
|
|
|
9
10
|
import { useChartData } from '../../../context/ChartContext.js';
|
|
10
11
|
import { ColorPickerDropdownController } from '../../../elements/ColorPickerDropdownController.js';
|
|
@@ -72,8 +73,10 @@ function SpectraColorsTabContent() {
|
|
|
72
73
|
);
|
|
73
74
|
|
|
74
75
|
const deleteHandler = useCallback(
|
|
75
|
-
(data, index: number, key: SpectraColorsKeys) => {
|
|
76
|
-
const _fields = data.filter(
|
|
76
|
+
(data: any, index: number, key: SpectraColorsKeys) => {
|
|
77
|
+
const _fields = data.filter(
|
|
78
|
+
(_: any, columnIndex: any) => columnIndex !== index,
|
|
79
|
+
);
|
|
77
80
|
setValue(getObjectKey(key), _fields);
|
|
78
81
|
},
|
|
79
82
|
[setValue],
|
|
@@ -139,12 +142,12 @@ function SpectraColorsFields(props: SpectraColorsProps) {
|
|
|
139
142
|
{
|
|
140
143
|
Header: '#',
|
|
141
144
|
style: { width: '25px', textAlign: 'center' },
|
|
142
|
-
accessor: (_, index) => index + 1,
|
|
145
|
+
accessor: (_: any, index) => index + 1,
|
|
143
146
|
},
|
|
144
147
|
{
|
|
145
148
|
Header: 'Field',
|
|
146
|
-
Cell: (
|
|
147
|
-
const name = getKeyPath(baseObjectPath, row.index, 'jpath');
|
|
149
|
+
Cell: (cell: CellProps<object>) => {
|
|
150
|
+
const name = getKeyPath(baseObjectPath, cell.row.index, 'jpath');
|
|
148
151
|
return (
|
|
149
152
|
<Input2Controller
|
|
150
153
|
control={control}
|
|
@@ -160,7 +163,7 @@ function SpectraColorsFields(props: SpectraColorsProps) {
|
|
|
160
163
|
},
|
|
161
164
|
{
|
|
162
165
|
Header: 'Value',
|
|
163
|
-
Cell: ({ row }) => {
|
|
166
|
+
Cell: ({ row }: CellProps<object>) => {
|
|
164
167
|
const name = getKeyPath(baseObjectPath, row.index, 'value');
|
|
165
168
|
|
|
166
169
|
return (
|
|
@@ -179,7 +182,7 @@ function SpectraColorsFields(props: SpectraColorsProps) {
|
|
|
179
182
|
Header: '',
|
|
180
183
|
style: { width: '60px' },
|
|
181
184
|
id: 'operation-button',
|
|
182
|
-
Cell: ({ data, row }) => {
|
|
185
|
+
Cell: ({ data, row }: CellProps<object>) => {
|
|
183
186
|
const record: any = row.original;
|
|
184
187
|
return (
|
|
185
188
|
<div style={{ display: 'flex', justifyContent: 'space-evenly' }}>
|
|
@@ -212,8 +215,8 @@ function SpectraColorsFields(props: SpectraColorsProps) {
|
|
|
212
215
|
const colorField = {
|
|
213
216
|
Header: 'Color',
|
|
214
217
|
style: colorInputStyle,
|
|
215
|
-
Cell: (
|
|
216
|
-
const name = getKeyPath(baseObjectPath, row.index, 'color');
|
|
218
|
+
Cell: (cell: CellProps<object>) => {
|
|
219
|
+
const name = getKeyPath(baseObjectPath, cell.row.index, 'color');
|
|
217
220
|
return (
|
|
218
221
|
<ColorPickerDropdownController control={control} name={name} />
|
|
219
222
|
);
|
|
@@ -227,7 +230,7 @@ function SpectraColorsFields(props: SpectraColorsProps) {
|
|
|
227
230
|
{
|
|
228
231
|
Header: 'Positive color',
|
|
229
232
|
style: colorInputStyle,
|
|
230
|
-
Cell: ({ row }) => {
|
|
233
|
+
Cell: ({ row }: CellProps<object>) => {
|
|
231
234
|
const name = getKeyPath(baseObjectPath, row.index, 'positiveColor');
|
|
232
235
|
return (
|
|
233
236
|
<ColorPickerDropdownController control={control} name={name} />
|
|
@@ -237,7 +240,7 @@ function SpectraColorsFields(props: SpectraColorsProps) {
|
|
|
237
240
|
{
|
|
238
241
|
Header: 'Negative color',
|
|
239
242
|
style: colorInputStyle,
|
|
240
|
-
Cell: ({ row }) => {
|
|
243
|
+
Cell: ({ row }: CellProps<object>) => {
|
|
241
244
|
const name = getKeyPath(baseObjectPath, row.index, 'negativeColor');
|
|
242
245
|
return (
|
|
243
246
|
<ColorPickerDropdownController control={control} name={name} />
|
|
@@ -278,7 +281,13 @@ function SpectraColorsFields(props: SpectraColorsProps) {
|
|
|
278
281
|
);
|
|
279
282
|
}
|
|
280
283
|
|
|
281
|
-
function FieldsBlockHeader({
|
|
284
|
+
function FieldsBlockHeader({
|
|
285
|
+
onAdd,
|
|
286
|
+
text,
|
|
287
|
+
}: {
|
|
288
|
+
onAdd: () => void;
|
|
289
|
+
text: string;
|
|
290
|
+
}) {
|
|
282
291
|
return (
|
|
283
292
|
<Section>
|
|
284
293
|
<p style={{ flex: 1 }}>{text}</p>
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { Checkbox } from '@blueprintjs/core';
|
|
2
|
-
import type { NMRiumToolBarPreferences } from '@zakodium/nmrium-core';
|
|
3
2
|
import { useMemo } from 'react';
|
|
4
3
|
import { useFormContext } from 'react-hook-form';
|
|
4
|
+
import type { CellProps } from 'react-table';
|
|
5
5
|
|
|
6
6
|
import ReactTable from '../../../elements/ReactTable/ReactTable.js';
|
|
7
7
|
import type { CustomColumn } from '../../../elements/ReactTable/utility/addCustomColumn.js';
|
|
8
8
|
import type { WorkspaceWithSource } from '../../../reducer/preferences/preferencesReducer.js';
|
|
9
|
+
import type { MainTool } from '../../../toolbar/ToolTypes.js';
|
|
9
10
|
|
|
10
11
|
interface ListItem {
|
|
11
12
|
label: string;
|
|
12
|
-
name:
|
|
13
|
+
name: MainTool;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
|
-
type ToolPathType = `display.toolBarButtons.${
|
|
16
|
+
type ToolPathType = `display.toolBarButtons.${MainTool}`;
|
|
16
17
|
|
|
17
18
|
const LIST: ListItem[] = [
|
|
18
19
|
{
|
|
@@ -113,10 +114,10 @@ const LIST: ListItem[] = [
|
|
|
113
114
|
},
|
|
114
115
|
];
|
|
115
116
|
|
|
116
|
-
function ToolsTabContent() {
|
|
117
|
+
export default function ToolsTabContent() {
|
|
117
118
|
const { register } = useFormContext<WorkspaceWithSource>();
|
|
118
119
|
|
|
119
|
-
const COLUMNS
|
|
120
|
+
const COLUMNS = useMemo<Array<CustomColumn<ListItem>>>(
|
|
120
121
|
() => [
|
|
121
122
|
{
|
|
122
123
|
index: 1,
|
|
@@ -133,7 +134,7 @@ function ToolsTabContent() {
|
|
|
133
134
|
index: 2,
|
|
134
135
|
Header: 'Active',
|
|
135
136
|
style: { textAlign: 'center' },
|
|
136
|
-
Cell: ({ row }) => {
|
|
137
|
+
Cell: ({ row }: CellProps<ListItem>) => {
|
|
137
138
|
const name: ToolPathType = `display.toolBarButtons.${row.original.name}`;
|
|
138
139
|
|
|
139
140
|
return (
|
|
@@ -162,5 +163,3 @@ function ToolsTabContent() {
|
|
|
162
163
|
</div>
|
|
163
164
|
);
|
|
164
165
|
}
|
|
165
|
-
|
|
166
|
-
export default ToolsTabContent;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SvgNmrAssignment } from 'cheminfo-font';
|
|
2
2
|
import { memo, useCallback, useMemo } from 'react';
|
|
3
|
+
import type { CellProps } from 'react-table';
|
|
3
4
|
|
|
4
5
|
import { useDispatch } from '../../context/DispatchContext.js';
|
|
5
6
|
import ReactTable from '../../elements/ReactTable/ReactTable.js';
|
|
@@ -15,7 +16,7 @@ function AutomaticAssignmentTable({ data }: AutomaticAssignmentTableProps) {
|
|
|
15
16
|
const dispatch = useDispatch();
|
|
16
17
|
|
|
17
18
|
const assignHandler = useCallback(
|
|
18
|
-
(e, row) => {
|
|
19
|
+
(e: any, row: any) => {
|
|
19
20
|
e.preventDefault();
|
|
20
21
|
e.stopPropagation();
|
|
21
22
|
|
|
@@ -27,7 +28,7 @@ function AutomaticAssignmentTable({ data }: AutomaticAssignmentTableProps) {
|
|
|
27
28
|
[dispatch],
|
|
28
29
|
);
|
|
29
30
|
|
|
30
|
-
const COLUMNS
|
|
31
|
+
const COLUMNS = useMemo<Array<CustomColumn<AutoAssignmentsData>>>(
|
|
31
32
|
() => [
|
|
32
33
|
{
|
|
33
34
|
index: 1,
|
|
@@ -49,7 +50,7 @@ function AutomaticAssignmentTable({ data }: AutomaticAssignmentTableProps) {
|
|
|
49
50
|
minWidth: '24px',
|
|
50
51
|
},
|
|
51
52
|
id: 'assign-button',
|
|
52
|
-
Cell: ({ row }) => (
|
|
53
|
+
Cell: ({ row }: CellProps<AutoAssignmentsData>) => (
|
|
53
54
|
<button
|
|
54
55
|
type="button"
|
|
55
56
|
className="assign-button"
|
|
@@ -3,11 +3,11 @@ import type { SpectraData } from 'nmr-processing';
|
|
|
3
3
|
import { getAssignments as getAssignmentsData } from 'nmr-processing';
|
|
4
4
|
import { Molecule } from 'openchemlib';
|
|
5
5
|
import { useRef, useState } from 'react';
|
|
6
|
+
import { assert } from 'react-science/ui';
|
|
6
7
|
|
|
7
8
|
import { useChartData } from '../../context/ChartContext.js';
|
|
8
9
|
import { useDispatch } from '../../context/DispatchContext.js';
|
|
9
10
|
import { useToaster } from '../../context/ToasterContext.js';
|
|
10
|
-
import { assert } from '../../utility/assert.js';
|
|
11
11
|
|
|
12
12
|
export interface AutoAssignmentsData {
|
|
13
13
|
score: number;
|
|
@@ -63,7 +63,7 @@ function IntegralPanelInner({
|
|
|
63
63
|
}, [alert, yesHandler]);
|
|
64
64
|
|
|
65
65
|
const changeIntegralSumHandler = useCallback(
|
|
66
|
-
(options) => {
|
|
66
|
+
(options: any) => {
|
|
67
67
|
dispatch({ type: 'CHANGE_INTEGRAL_SUM', payload: { options } });
|
|
68
68
|
},
|
|
69
69
|
[dispatch],
|
|
@@ -92,7 +92,7 @@ function IntegralPanelInner({
|
|
|
92
92
|
}, [dispatch]);
|
|
93
93
|
|
|
94
94
|
const filteredData = useMemo(() => {
|
|
95
|
-
function isInRange(from, to) {
|
|
95
|
+
function isInRange(from: any, to: any) {
|
|
96
96
|
const factor = 10000;
|
|
97
97
|
to = to * factor;
|
|
98
98
|
from = from * factor;
|