nmrium 2.5.0 → 2.6.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.map +1 -1
- package/lib/component/1d/BrushTracker1D.js +158 -173
- package/lib/component/1d/BrushTracker1D.js.map +1 -1
- package/lib/component/1d/FloatPublicationString.js +6 -6
- package/lib/component/1d/FloatPublicationString.js.map +1 -1
- package/lib/component/1d/PredictionErrorsNotations.js +1 -1
- package/lib/component/1d/PredictionErrorsNotations.js.map +1 -1
- package/lib/component/1d/SimilarityTree.js +2 -2
- package/lib/component/1d/SimilarityTree.js.map +1 -1
- package/lib/component/1d/baseline/BaselinePreview.d.ts.map +1 -1
- package/lib/component/1d/baseline/BaselinePreview.js +47 -22
- package/lib/component/1d/baseline/BaselinePreview.js.map +1 -1
- package/lib/component/1d/baseline/getMedianY.d.ts +5 -1
- package/lib/component/1d/baseline/getMedianY.d.ts.map +1 -1
- package/lib/component/1d/baseline/getMedianY.js +19 -5
- package/lib/component/1d/baseline/getMedianY.js.map +1 -1
- package/lib/component/1d/inset/DraggableInset.js +1 -1
- package/lib/component/1d/inset/DraggableInset.js.map +1 -1
- package/lib/component/1d/matrix/useMatrix.d.ts.map +1 -1
- package/lib/component/1d/matrix/useMatrix.js +2 -2
- package/lib/component/1d/matrix/useMatrix.js.map +1 -1
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js +3 -3
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotations.js +1 -1
- package/lib/component/1d/peaks/PeakAnnotations.js.map +1 -1
- package/lib/component/1d/ranges/AssignmentLabel.d.ts.map +1 -1
- package/lib/component/1d/ranges/AssignmentLabel.js.map +1 -1
- package/lib/component/1d/ranges/FloatingRanges.d.ts.map +1 -1
- package/lib/component/1d/ranges/FloatingRanges.js +2 -3
- package/lib/component/1d/ranges/FloatingRanges.js.map +1 -1
- package/lib/component/1d/ranges/Range.d.ts.map +1 -1
- package/lib/component/1d/ranges/Range.js +3 -2
- package/lib/component/1d/ranges/Range.js.map +1 -1
- package/lib/component/1d/ranges/Ranges.js +1 -1
- package/lib/component/1d/ranges/Ranges.js.map +1 -1
- package/lib/component/1d-2d/FieldEdition.d.ts +1 -1
- package/lib/component/1d-2d/FieldEdition.d.ts.map +1 -1
- package/lib/component/1d-2d/FieldEdition.js +35 -31
- package/lib/component/1d-2d/FieldEdition.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/Signals1D.d.ts.map +1 -1
- package/lib/component/1d-2d/components/Signals1D.js +10 -8
- package/lib/component/1d-2d/components/Signals1D.js.map +1 -1
- package/lib/component/1d-2d/components/axis_unit_picker.d.ts.map +1 -1
- package/lib/component/1d-2d/components/axis_unit_picker.js +1 -1
- package/lib/component/1d-2d/components/axis_unit_picker.js.map +1 -1
- package/lib/component/1d-2d/tools/BrushXY.d.ts.map +1 -1
- package/lib/component/1d-2d/tools/BrushXY.js +40 -28
- package/lib/component/1d-2d/tools/BrushXY.js.map +1 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.d.ts.map +1 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.js +27 -22
- package/lib/component/1d-2d/tools/CrossLinePointer.js.map +1 -1
- package/lib/component/1d-2d/tools/DistanceLine.d.ts +29 -0
- package/lib/component/1d-2d/tools/DistanceLine.d.ts.map +1 -0
- package/lib/component/1d-2d/tools/DistanceLine.js +132 -0
- package/lib/component/1d-2d/tools/DistanceLine.js.map +1 -0
- package/lib/component/2d/1d-tracer/Left1DChart.js +3 -2
- package/lib/component/2d/1d-tracer/Left1DChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/Top1DChart.js +3 -2
- package/lib/component/2d/1d-tracer/Top1DChart.js.map +1 -1
- package/lib/component/2d/BrushTracker2D.d.ts.map +1 -1
- package/lib/component/2d/BrushTracker2D.js +20 -10
- package/lib/component/2d/BrushTracker2D.js.map +1 -1
- package/lib/component/2d/FooterBanner.d.ts.map +1 -1
- package/lib/component/2d/FooterBanner.js +2 -2
- package/lib/component/2d/FooterBanner.js.map +1 -1
- package/lib/component/2d/IndirectAxis2D.js +1 -1
- package/lib/component/2d/IndirectAxis2D.js.map +1 -1
- package/lib/component/2d/SignalDeltaLine.js +1 -1
- package/lib/component/2d/SignalDeltaLine.js.map +1 -1
- package/lib/component/2d/Viewer2D.d.ts.map +1 -1
- package/lib/component/2d/Viewer2D.js +2 -1
- package/lib/component/2d/Viewer2D.js.map +1 -1
- package/lib/component/2d/fid/FidCanvas.js +2 -2
- package/lib/component/2d/fid/FidCanvas.js.map +1 -1
- package/lib/component/2d/fid/FidContainer.js +3 -3
- package/lib/component/2d/fid/FidContainer.js.map +1 -1
- package/lib/component/2d/ft/Contours.d.ts.map +1 -1
- package/lib/component/2d/ft/Contours.js +37 -1
- package/lib/component/2d/ft/Contours.js.map +1 -1
- package/lib/component/2d/ft/FTContainer.d.ts.map +1 -1
- package/lib/component/2d/ft/FTContainer.js +2 -3
- package/lib/component/2d/ft/FTContainer.js.map +1 -1
- package/lib/component/2d/useTracesSpectra.d.ts.map +1 -1
- package/lib/component/2d/useTracesSpectra.js +5 -3
- package/lib/component/2d/useTracesSpectra.js.map +1 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.d.ts +2 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.d.ts.map +1 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.js +26 -25
- 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 +1 -1
- package/lib/component/2d/utilities/scale.js.map +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.d.ts.map +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.js +15 -18
- package/lib/component/2d/zones/SignalsGuideLines.js.map +1 -1
- package/lib/component/AnchorSVG.d.ts +1 -1
- package/lib/component/AnchorSVG.d.ts.map +1 -1
- package/lib/component/AnchorSVG.js +3 -2
- package/lib/component/AnchorSVG.js.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.js +1 -1
- package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.js +5 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.js.map +1 -1
- package/lib/component/assignment/utilities/getAssignments.js +1 -1
- package/lib/component/assignment/utilities/getAssignments.js.map +1 -1
- package/lib/component/context/DispatchContext.d.ts +2 -1
- package/lib/component/context/DispatchContext.d.ts.map +1 -1
- package/lib/component/context/DispatchContext.js.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.d.ts.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.js +13 -13
- package/lib/component/context/FilterSyncOptionsContext.js.map +1 -1
- package/lib/component/context/KeyModifierContext.d.ts +4 -12
- package/lib/component/context/KeyModifierContext.d.ts.map +1 -1
- package/lib/component/context/KeyModifierContext.js +17 -35
- package/lib/component/context/KeyModifierContext.js.map +1 -1
- package/lib/component/context/processings_mutations_context.api.d.ts +14 -0
- package/lib/component/context/processings_mutations_context.api.d.ts.map +1 -0
- package/lib/component/context/processings_mutations_context.api.js +275 -0
- package/lib/component/context/processings_mutations_context.api.js.map +1 -0
- package/lib/component/context/processings_mutations_context.d.ts +5 -0
- package/lib/component/context/processings_mutations_context.d.ts.map +1 -0
- package/lib/component/context/processings_mutations_context.js +16 -0
- package/lib/component/context/processings_mutations_context.js.map +1 -0
- package/lib/component/elements/NumberInput2Controller.d.ts +1 -0
- package/lib/component/elements/NumberInput2Controller.d.ts.map +1 -1
- package/lib/component/elements/NumberInput2Controller.js +14 -3
- package/lib/component/elements/NumberInput2Controller.js.map +1 -1
- package/lib/component/elements/Sections.d.ts.map +1 -1
- package/lib/component/elements/Sections.js +1 -1
- package/lib/component/elements/Sections.js.map +1 -1
- package/lib/component/elements/TableHeaderLabel.d.ts +9 -0
- package/lib/component/elements/TableHeaderLabel.d.ts.map +1 -0
- package/lib/component/elements/TableHeaderLabel.js +30 -0
- package/lib/component/elements/TableHeaderLabel.js.map +1 -0
- package/lib/component/elements/print/PrintContent.d.ts +1 -0
- package/lib/component/elements/print/PrintContent.d.ts.map +1 -1
- package/lib/component/elements/print/PrintContent.js +77 -72
- 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 +4 -4
- package/lib/component/header/AutoPeakPickingOptionPanel.js.map +1 -1
- package/lib/component/header/Header.d.ts.map +1 -1
- package/lib/component/header/Header.js +59 -5
- package/lib/component/header/Header.js.map +1 -1
- package/lib/component/header/RangesPickingOptionPanel.js +2 -2
- package/lib/component/header/RangesPickingOptionPanel.js.map +1 -1
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.js +1 -1
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.js +1 -1
- package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.js.map +1 -1
- package/lib/component/highlight/index.d.ts.map +1 -1
- package/lib/component/highlight/index.js +10 -36
- package/lib/component/highlight/index.js.map +1 -1
- package/lib/component/hooks/use2DReducer.d.ts.map +1 -1
- package/lib/component/hooks/use2DReducer.js +2 -2
- package/lib/component/hooks/use2DReducer.js.map +1 -1
- package/lib/component/hooks/useCheckPointsNumberInWindowArea.d.ts.map +1 -1
- package/lib/component/hooks/useCheckPointsNumberInWindowArea.js +3 -1
- package/lib/component/hooks/useCheckPointsNumberInWindowArea.js.map +1 -1
- package/lib/component/hooks/useCheckToolsVisibility.d.ts.map +1 -1
- package/lib/component/hooks/useCheckToolsVisibility.js +6 -1
- package/lib/component/hooks/useCheckToolsVisibility.js.map +1 -1
- package/lib/component/hooks/useSpectraBottomMargin.js +1 -1
- package/lib/component/hooks/useSpectraBottomMargin.js.map +1 -1
- package/lib/component/hooks/useSpectrum.d.ts +4 -0
- package/lib/component/hooks/useSpectrum.d.ts.map +1 -1
- package/lib/component/hooks/useSpectrum.js +9 -1
- package/lib/component/hooks/useSpectrum.js.map +1 -1
- package/lib/component/hooks/useTextMetrics.d.ts +2 -4
- package/lib/component/hooks/useTextMetrics.d.ts.map +1 -1
- package/lib/component/hooks/useTextMetrics.js +3 -2
- package/lib/component/hooks/useTextMetrics.js.map +1 -1
- package/lib/component/hooks/use_axis_unit.d.ts +3 -3
- package/lib/component/hooks/use_axis_unit.d.ts.map +1 -1
- package/lib/component/hooks/use_axis_unit.js +2 -8
- package/lib/component/hooks/use_axis_unit.js.map +1 -1
- package/lib/component/hooks/use_publication_strings.d.ts.map +1 -1
- package/lib/component/hooks/use_publication_strings.js +2 -3
- package/lib/component/hooks/use_publication_strings.js.map +1 -1
- package/lib/component/hooks/use_view_spectra.d.ts +6 -0
- package/lib/component/hooks/use_view_spectra.d.ts.map +1 -0
- package/lib/component/hooks/use_view_spectra.js +13 -0
- package/lib/component/hooks/use_view_spectra.js.map +1 -0
- package/lib/component/hooks/use_visible_spectra_1d.d.ts.map +1 -1
- package/lib/component/hooks/use_visible_spectra_1d.js +4 -2
- package/lib/component/hooks/use_visible_spectra_1d.js.map +1 -1
- package/lib/component/main/InnerNMRium.d.ts.map +1 -1
- package/lib/component/main/InnerNMRium.js +6 -5
- package/lib/component/main/InnerNMRium.js.map +1 -1
- package/lib/component/main/NMRium.d.ts +2 -2
- package/lib/component/main/NMRium.d.ts.map +1 -1
- package/lib/component/main/NMRiumStateProvider.d.ts.map +1 -1
- package/lib/component/main/NMRiumStateProvider.js +2 -1
- package/lib/component/main/NMRiumStateProvider.js.map +1 -1
- package/lib/component/main/types.d.ts +1 -1
- package/lib/component/main/types.d.ts.map +1 -1
- package/lib/component/modal/EditPeakShapeModal.d.ts.map +1 -1
- package/lib/component/modal/EditPeakShapeModal.js +102 -60
- package/lib/component/modal/EditPeakShapeModal.js.map +1 -1
- package/lib/component/modal/LoadJCAMPModal.d.ts.map +1 -1
- package/lib/component/modal/LoadJCAMPModal.js +22 -21
- package/lib/component/modal/LoadJCAMPModal.js.map +1 -1
- package/lib/component/modal/PublicationStringModal.d.ts.map +1 -1
- package/lib/component/modal/PublicationStringModal.js +3 -3
- package/lib/component/modal/PublicationStringModal.js.map +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.js +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.js.map +1 -1
- package/lib/component/modal/editRange/EditRangeModal.js +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts +1 -3
- package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.js +12 -20
- package/lib/component/modal/editRange/forms/components/DeltaInput.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaLabel.d.ts +6 -0
- package/lib/component/modal/editRange/forms/components/DeltaLabel.d.ts.map +1 -0
- package/lib/component/modal/editRange/forms/components/DeltaLabel.js +12 -0
- package/lib/component/modal/editRange/forms/components/DeltaLabel.js.map +1 -0
- package/lib/component/modal/editRange/forms/components/SignalTab.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/SignalTab.js +2 -16
- package/lib/component/modal/editRange/forms/components/SignalTab.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 +32 -7
- package/lib/component/modal/editRange/forms/components/SignalsContent.js.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/validation/EditRangeValidation.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js +18 -3
- package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js.map +1 -1
- package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts +93 -85
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.js +2 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts +93 -85
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts +93 -85
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +49 -42
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts +49 -42
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts +8 -7
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts +49 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts +49 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts +49 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js +2 -3
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +49 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts +4 -2
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js +5 -4
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts +49 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js +2 -3
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts +49 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +49 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts +49 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +49 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts +49 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js +3 -4
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts +49 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts +49 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts +49 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.js +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts +3 -4
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.d.ts +28 -28
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts +24 -24
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.js +4 -3
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts +6 -6
- package/lib/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.d.ts +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.d.ts +4 -4
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.js +3 -2
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.d.ts +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.js +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts +44 -43
- package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts.map +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.js +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.js.map +1 -1
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.d.ts.map +1 -1
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js +25 -9
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js +1 -2
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getAssignIds.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getAssignIds.js +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getAssignIds.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js +15 -3
- 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 +49 -27
- package/lib/component/panels/PeaksPanel/PeaksTable.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.js +3 -0
- package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js +8 -15
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.js +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.js +6 -3
- package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts +8 -6
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js +12 -12
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts +2 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js +14 -13
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts +2 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js +18 -15
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.d.ts +2 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.js +7 -5
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.d.ts +2 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.js +4 -4
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.js.map +1 -1
- package/lib/component/panels/SummaryPanel/Overview.d.ts +3 -7
- package/lib/component/panels/SummaryPanel/Overview.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/Overview.js +2 -5
- package/lib/component/panels/SummaryPanel/Overview.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts +2 -2
- package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.js +17 -18
- package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts +7 -7
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js +34 -31
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/useInView.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/utilities/useInView.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.js +122 -101
- package/lib/component/panels/databasePanel/DatabasePanel.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts +3 -0
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.js +14 -16
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js +3 -3
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.js +2 -2
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts +10 -26
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js +3 -4
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts +4 -19
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js +4 -7
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js.map +1 -1
- package/lib/component/panels/filtersPanel/processings/operator_edit_banner.d.ts +11 -0
- package/lib/component/panels/filtersPanel/processings/operator_edit_banner.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings/operator_edit_banner.js +34 -0
- package/lib/component/panels/filtersPanel/processings/operator_edit_banner.js.map +1 -0
- package/lib/component/panels/filtersPanel/processings/processing_item.d.ts +16 -0
- package/lib/component/panels/filtersPanel/processings/processing_item.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings/processing_item.js +88 -0
- package/lib/component/panels/filtersPanel/processings/processing_item.js.map +1 -0
- package/lib/component/panels/filtersPanel/processings/processing_item_extra.d.ts +12 -0
- package/lib/component/panels/filtersPanel/processings/processing_item_extra.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings/processing_item_extra.js +17 -0
- package/lib/component/panels/filtersPanel/processings/processing_item_extra.js.map +1 -0
- package/lib/component/panels/filtersPanel/processings/use_live_edit.d.ts +11 -0
- package/lib/component/panels/filtersPanel/processings/use_live_edit.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings/use_live_edit.js +31 -0
- package/lib/component/panels/filtersPanel/processings/use_live_edit.js.map +1 -0
- package/lib/component/panels/filtersPanel/processings/use_live_operation.d.ts +3 -0
- package/lib/component/panels/filtersPanel/processings/use_live_operation.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings/use_live_operation.js +15 -0
- package/lib/component/panels/filtersPanel/processings/use_live_operation.js.map +1 -0
- package/lib/component/panels/filtersPanel/processings_sections_panel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/processings_sections_panel.js +35 -104
- package/lib/component/panels/filtersPanel/processings_sections_panel.js.map +1 -1
- package/lib/component/reducer/Reducer.d.ts +18 -2
- package/lib/component/reducer/Reducer.d.ts.map +1 -1
- package/lib/component/reducer/Reducer.js +26 -7
- package/lib/component/reducer/Reducer.js.map +1 -1
- package/lib/component/reducer/actions/AssignmentsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/AssignmentsActions.js +1 -2
- package/lib/component/reducer/actions/AssignmentsActions.js.map +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.d.ts +4 -4
- package/lib/component/reducer/actions/CorrelationsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.js +10 -11
- package/lib/component/reducer/actions/CorrelationsActions.js.map +1 -1
- package/lib/component/reducer/actions/DatabaseActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DatabaseActions.js +25 -9
- package/lib/component/reducer/actions/DatabaseActions.js.map +1 -1
- package/lib/component/reducer/actions/DomainActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DomainActions.js +25 -15
- 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 +36 -59
- 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 +1 -1
- 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 +2 -1
- package/lib/component/reducer/actions/IntegralsActions.js.map +1 -1
- package/lib/component/reducer/actions/LoadAction.d.ts.map +1 -1
- package/lib/component/reducer/actions/LoadAction.js +3 -3
- package/lib/component/reducer/actions/LoadAction.js.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts +2 -6
- package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.js +1 -2
- package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.d.ts +5 -2
- package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.js +18 -3
- package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.js +5 -3
- package/lib/component/reducer/actions/PreferencesActions.js.map +1 -1
- package/lib/component/reducer/actions/RangesActions.d.ts +12 -3
- package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/RangesActions.js +45 -13
- package/lib/component/reducer/actions/RangesActions.js.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts +2 -8
- package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.js +6 -11
- 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 +3 -8
- package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
- package/lib/component/reducer/actions/ZonesActions.d.ts +9 -2
- package/lib/component/reducer/actions/ZonesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ZonesActions.js +27 -12
- package/lib/component/reducer/actions/ZonesActions.js.map +1 -1
- package/lib/component/reducer/actions/processings_actions.d.ts +30 -0
- package/lib/component/reducer/actions/processings_actions.d.ts.map +1 -0
- package/lib/component/reducer/actions/processings_actions.js +50 -0
- package/lib/component/reducer/actions/processings_actions.js.map +1 -0
- package/lib/component/reducer/helper/ZoomHistoryManager.d.ts +1 -0
- package/lib/component/reducer/helper/ZoomHistoryManager.d.ts.map +1 -1
- package/lib/component/reducer/helper/ZoomHistoryManager.js +10 -0
- package/lib/component/reducer/helper/ZoomHistoryManager.js.map +1 -1
- package/lib/component/reducer/preferences/actions/initPreferences.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/initPreferences.js +4 -1
- package/lib/component/reducer/preferences/actions/initPreferences.js.map +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts.map +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +2 -0
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.d.ts +2 -2
- package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.js.map +1 -1
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts +2 -4
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts.map +1 -1
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.js +2 -9
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.js.map +1 -1
- package/lib/component/toolbar/ToolTypes.d.ts.map +1 -1
- package/lib/component/toolbar/ToolTypes.js +15 -0
- package/lib/component/toolbar/ToolTypes.js.map +1 -1
- package/lib/component/toolbar/nmr_toolbar.d.ts.map +1 -1
- package/lib/component/toolbar/nmr_toolbar.js +49 -22
- package/lib/component/toolbar/nmr_toolbar.js.map +1 -1
- package/lib/component/utility/core_slots/core_operator_expanded.d.ts +10 -0
- package/lib/component/utility/core_slots/core_operator_expanded.d.ts.map +1 -0
- package/lib/component/utility/{CoreSlot.js → core_slots/core_operator_expanded.js} +2 -21
- package/lib/component/utility/core_slots/core_operator_expanded.js.map +1 -0
- package/lib/component/utility/core_slots/core_operator_name.d.ts +9 -0
- package/lib/component/utility/core_slots/core_operator_name.d.ts.map +1 -0
- package/lib/component/utility/core_slots/core_operator_name.js +10 -0
- package/lib/component/utility/core_slots/core_operator_name.js.map +1 -0
- package/lib/component/utility/core_slots/core_operator_panel_tool.d.ts +9 -0
- package/lib/component/utility/core_slots/core_operator_panel_tool.d.ts.map +1 -0
- package/lib/component/utility/core_slots/core_operator_panel_tool.js +15 -0
- package/lib/component/utility/core_slots/core_operator_panel_tool.js.map +1 -0
- package/lib/component/utility/core_slots/core_operator_tool.d.ts +9 -0
- package/lib/component/utility/core_slots/core_operator_tool.d.ts.map +1 -0
- package/lib/component/utility/core_slots/core_operator_tool.js +15 -0
- package/lib/component/utility/core_slots/core_operator_tool.js.map +1 -0
- package/lib/component/utility/core_slots/core_operator_topbar.d.ts +8 -0
- package/lib/component/utility/core_slots/core_operator_topbar.d.ts.map +1 -0
- package/lib/component/utility/core_slots/core_operator_topbar.js +36 -0
- package/lib/component/utility/core_slots/core_operator_topbar.js.map +1 -0
- package/lib/component/utility/core_slots/core_slot.d.ts +17 -0
- package/lib/component/utility/core_slots/core_slot.d.ts.map +1 -0
- package/lib/component/utility/core_slots/core_slot.js +14 -0
- package/lib/component/utility/core_slots/core_slot.js.map +1 -0
- package/lib/component/utility/formatNumber.d.ts +2 -0
- package/lib/component/utility/formatNumber.d.ts.map +1 -1
- package/lib/component/utility/formatNumber.js +9 -2
- package/lib/component/utility/formatNumber.js.map +1 -1
- package/lib/component/utility/toolbar_item_error.d.ts +3 -0
- package/lib/component/utility/toolbar_item_error.d.ts.map +1 -0
- package/lib/component/utility/toolbar_item_error.js +14 -0
- package/lib/component/utility/toolbar_item_error.js.map +1 -0
- package/lib/component/workspaces/assignment.d.ts.map +1 -1
- package/lib/component/workspaces/assignment.js +1 -0
- package/lib/component/workspaces/assignment.js.map +1 -1
- package/lib/component/workspaces/basic.d.ts.map +1 -1
- package/lib/component/workspaces/basic.js +1 -0
- package/lib/component/workspaces/basic.js.map +1 -1
- package/lib/component/workspaces/exercise.d.ts.map +1 -1
- package/lib/component/workspaces/exercise.js +1 -0
- package/lib/component/workspaces/exercise.js.map +1 -1
- package/lib/component/workspaces/prediction.d.ts.map +1 -1
- package/lib/component/workspaces/prediction.js +1 -0
- package/lib/component/workspaces/prediction.js.map +1 -1
- package/lib/component/workspaces/process1D.d.ts.map +1 -1
- package/lib/component/workspaces/process1D.js +1 -0
- package/lib/component/workspaces/process1D.js.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.js +1 -0
- package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
- package/lib/data/SpectraManager.d.ts.map +1 -1
- package/lib/data/SpectraManager.js +2 -3
- package/lib/data/SpectraManager.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/SumManager.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/SumManager.js +2 -1
- package/lib/data/data1d/Spectrum1D/SumManager.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/index.d.ts +0 -1
- package/lib/data/data1d/Spectrum1D/index.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/index.js +0 -1
- package/lib/data/data1d/Spectrum1D/index.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/initiateDatum1D.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/initiateDatum1D.js +5 -2
- package/lib/data/data1d/Spectrum1D/initiateDatum1D.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/changePeakRelativeValue.d.ts +7 -0
- package/lib/data/data1d/Spectrum1D/peaks/changePeakRelativeValue.d.ts.map +1 -0
- package/lib/data/data1d/Spectrum1D/peaks/changePeakRelativeValue.js +14 -0
- package/lib/data/data1d/Spectrum1D/peaks/changePeakRelativeValue.js.map +1 -0
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.js +2 -2
- package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.d.ts +1 -2
- package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.js +2 -2
- package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/getMissingProjection.d.ts +1 -1
- package/lib/data/data2d/Spectrum2D/getMissingProjection.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/getSlice.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/getSlice.js +3 -3
- package/lib/data/data2d/Spectrum2D/getSlice.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/index.d.ts +0 -1
- package/lib/data/data2d/Spectrum2D/index.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/index.js +0 -1
- package/lib/data/data2d/Spectrum2D/index.js.map +1 -1
- package/lib/data/get_view_spectra.d.ts +11 -0
- package/lib/data/get_view_spectra.d.ts.map +1 -0
- package/lib/data/get_view_spectra.js +10 -0
- package/lib/data/get_view_spectra.js.map +1 -0
- package/lib/data/utilities/FindUtilities.d.ts.map +1 -1
- package/lib/data/utilities/FindUtilities.js +1 -2
- package/lib/data/utilities/FindUtilities.js.map +1 -1
- package/lib/data/utilities/RangeUtilities.d.ts +1 -1
- package/lib/data/utilities/RangeUtilities.d.ts.map +1 -1
- package/lib/data/utilities/RangeUtilities.js +3 -1
- package/lib/data/utilities/RangeUtilities.js.map +1 -1
- package/lib/data/utilities/getPeakAbsoluteArea.d.ts +3 -0
- package/lib/data/utilities/getPeakAbsoluteArea.d.ts.map +1 -0
- package/lib/data/utilities/getPeakAbsoluteArea.js +6 -0
- package/lib/data/utilities/getPeakAbsoluteArea.js.map +1 -0
- package/lib/versionInfo.js +1 -1
- package/package.json +39 -42
- package/src/component/1d/BrushTracker1D.tsx +170 -185
- package/src/component/1d/FloatPublicationString.tsx +6 -6
- package/src/component/1d/PredictionErrorsNotations.tsx +1 -1
- package/src/component/1d/SimilarityTree.tsx +2 -2
- package/src/component/1d/baseline/BaselinePreview.tsx +43 -13
- package/src/component/1d/baseline/getMedianY.ts +23 -5
- package/src/component/1d/inset/DraggableInset.tsx +1 -1
- package/src/component/1d/matrix/useMatrix.ts +2 -2
- package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +4 -3
- package/src/component/1d/peaks/PeakAnnotations.tsx +1 -1
- package/src/component/1d/ranges/AssignmentLabel.tsx +1 -0
- package/src/component/1d/ranges/FloatingRanges.tsx +3 -4
- package/src/component/1d/ranges/Range.tsx +3 -5
- package/src/component/1d/ranges/Ranges.tsx +1 -1
- package/src/component/1d-2d/FieldEdition.tsx +56 -63
- package/src/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.tsx +1 -1
- package/src/component/1d-2d/components/Signals1D.tsx +12 -8
- package/src/component/1d-2d/components/axis_unit_picker.tsx +1 -1
- package/src/component/1d-2d/tools/BrushXY.tsx +45 -28
- package/src/component/1d-2d/tools/CrossLinePointer.tsx +34 -22
- package/src/component/1d-2d/tools/DistanceLine.tsx +253 -0
- package/src/component/2d/1d-tracer/Left1DChart.tsx +3 -3
- package/src/component/2d/1d-tracer/Top1DChart.tsx +4 -4
- package/src/component/2d/BrushTracker2D.tsx +25 -13
- package/src/component/2d/FooterBanner.tsx +2 -5
- package/src/component/2d/IndirectAxis2D.tsx +1 -1
- package/src/component/2d/SignalDeltaLine.tsx +1 -1
- package/src/component/2d/Viewer2D.tsx +2 -0
- package/src/component/2d/fid/FidCanvas.tsx +2 -2
- package/src/component/2d/fid/FidContainer.tsx +4 -4
- package/src/component/2d/ft/Contours.tsx +93 -24
- package/src/component/2d/ft/FTContainer.tsx +3 -4
- package/src/component/2d/useTracesSpectra.ts +5 -3
- package/src/component/2d/utilities/extractSpectrumSignals.ts +34 -26
- package/src/component/2d/utilities/scale.ts +1 -1
- package/src/component/2d/zones/SignalsGuideLines.tsx +18 -25
- package/src/component/AnchorSVG.tsx +7 -7
- package/src/component/EventsTrackers/BrushTracker.tsx +1 -1
- package/src/component/EventsTrackers/KeysListenerTracker.tsx +6 -1
- package/src/component/assignment/utilities/getAssignments.ts +1 -1
- package/src/component/context/DispatchContext.tsx +3 -1
- package/src/component/context/FilterSyncOptionsContext.tsx +15 -15
- package/src/component/context/KeyModifierContext.tsx +36 -45
- package/src/component/context/processings_mutations_context.api.ts +371 -0
- package/src/component/context/processings_mutations_context.tsx +28 -0
- package/src/component/elements/NumberInput2Controller.tsx +20 -1
- package/src/component/elements/Sections.tsx +1 -1
- package/src/component/elements/TableHeaderLabel.tsx +50 -0
- package/src/component/elements/print/PrintContent.tsx +130 -122
- package/src/component/header/AutoPeakPickingOptionPanel.tsx +10 -4
- package/src/component/header/Header.tsx +99 -8
- package/src/component/header/RangesPickingOptionPanel.tsx +2 -2
- package/src/component/header/SimpleBaseLineCorrectionOptionsPanel.tsx +1 -3
- package/src/component/header/base/BaseSimpleZeroFillingOptionsPanel.tsx +7 -4
- package/src/component/highlight/index.tsx +11 -37
- package/src/component/hooks/use2DReducer.tsx +2 -2
- package/src/component/hooks/useCheckPointsNumberInWindowArea.ts +4 -2
- package/src/component/hooks/useCheckToolsVisibility.ts +11 -1
- package/src/component/hooks/useSpectraBottomMargin.ts +1 -1
- package/src/component/hooks/useSpectrum.ts +12 -1
- package/src/component/hooks/useTextMetrics.ts +10 -9
- package/src/component/hooks/use_axis_unit.ts +2 -8
- package/src/component/hooks/use_publication_strings.ts +2 -4
- package/src/component/hooks/use_view_spectra.ts +16 -0
- package/src/component/hooks/use_visible_spectra_1d.ts +5 -2
- package/src/component/main/InnerNMRium.tsx +50 -47
- package/src/component/main/NMRium.tsx +2 -2
- package/src/component/main/NMRiumStateProvider.tsx +4 -1
- package/src/component/main/types.ts +1 -1
- package/src/component/modal/EditPeakShapeModal.tsx +179 -118
- package/src/component/modal/LoadJCAMPModal.tsx +58 -57
- package/src/component/modal/PublicationStringModal.tsx +2 -3
- package/src/component/modal/aboutUs/AboutUsModal.tsx +1 -1
- package/src/component/modal/editRange/EditRangeModal.tsx +1 -1
- package/src/component/modal/editRange/forms/components/DeltaInput.tsx +17 -31
- package/src/component/modal/editRange/forms/components/DeltaLabel.tsx +19 -0
- package/src/component/modal/editRange/forms/components/SignalTab.tsx +5 -21
- package/src/component/modal/editRange/forms/components/SignalsContent.tsx +40 -6
- package/src/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.tsx +1 -1
- package/src/component/modal/editRange/forms/validation/EditRangeValidation.ts +75 -52
- package/src/component/modal/metaImportation/MetaImportationModal.tsx +3 -3
- package/src/component/modal/setting/tanstack_general_settings/errors/context.tsx +2 -1
- package/src/component/modal/setting/tanstack_general_settings/tabs/database_tab.tsx +2 -3
- package/src/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.tsx +10 -5
- package/src/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.tsx +2 -3
- package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.tsx +8 -4
- package/src/component/modal/setting/tanstack_general_settings/tabs/tools_tab.tsx +3 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/table.tsx +3 -4
- package/src/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.ts +4 -3
- package/src/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.ts +3 -2
- package/src/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.ts +1 -0
- package/src/component/panels/AutomaticAssignment/AutomaticAssignment.tsx +1 -1
- package/src/component/panels/AutomaticAssignment/useAutoAssignments.ts +29 -12
- package/src/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.tsx +1 -1
- package/src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx +1 -2
- package/src/component/panels/MoleculesPanel/utilities/getAssignIds.ts +1 -2
- package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +15 -3
- package/src/component/panels/PeaksPanel/PeaksTable.tsx +92 -29
- package/src/component/panels/RangesPanel/RangesTableRow.tsx +4 -0
- package/src/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.tsx +1 -1
- package/src/component/panels/SpectraPanel/SpectraPanelHeader.tsx +10 -18
- package/src/component/panels/SpectraPanel/SpectraTable.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.tsx +6 -3
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.tsx +45 -44
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx +23 -21
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.tsx +1 -1
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx +33 -28
- package/src/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.tsx +14 -11
- package/src/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.tsx +12 -10
- package/src/component/panels/SummaryPanel/Overview.tsx +4 -12
- package/src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx +2 -2
- package/src/component/panels/SummaryPanel/SummaryPanel.tsx +32 -33
- package/src/component/panels/SummaryPanel/utilities/Utilities.ts +60 -58
- package/src/component/panels/SummaryPanel/utilities/useInView.ts +1 -1
- package/src/component/panels/databasePanel/DatabasePanel.tsx +173 -121
- package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +41 -16
- package/src/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.tsx +3 -8
- package/src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx +2 -4
- package/src/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.tsx +6 -8
- package/src/component/panels/filtersPanel/Filters/hooks/useZeroFilling.tsx +9 -13
- package/src/component/panels/filtersPanel/processings/operator_edit_banner.tsx +73 -0
- package/src/component/panels/filtersPanel/processings/processing_item.tsx +211 -0
- package/src/component/panels/filtersPanel/processings/processing_item_extra.tsx +63 -0
- package/src/component/panels/filtersPanel/processings/use_live_edit.ts +47 -0
- package/src/component/panels/filtersPanel/processings/use_live_operation.ts +22 -0
- package/src/component/panels/filtersPanel/processings_sections_panel.tsx +87 -254
- package/src/component/reducer/Reducer.ts +50 -9
- package/src/component/reducer/actions/AssignmentsActions.ts +1 -2
- package/src/component/reducer/actions/CorrelationsActions.ts +21 -19
- package/src/component/reducer/actions/DatabaseActions.ts +29 -15
- package/src/component/reducer/actions/DomainActions.ts +35 -24
- package/src/component/reducer/actions/FiltersActions.ts +56 -77
- package/src/component/reducer/actions/InsetActions.ts +1 -1
- package/src/component/reducer/actions/IntegralsActions.ts +1 -1
- package/src/component/reducer/actions/LoadAction.ts +8 -5
- package/src/component/reducer/actions/MoleculeActions.ts +1 -2
- package/src/component/reducer/actions/PeaksActions.ts +29 -2
- package/src/component/reducer/actions/PreferencesActions.ts +7 -4
- package/src/component/reducer/actions/RangesActions.ts +72 -17
- package/src/component/reducer/actions/SpectraActions.ts +8 -25
- package/src/component/reducer/actions/ToolsActions.ts +4 -10
- package/src/component/reducer/actions/ZonesActions.ts +44 -14
- package/src/component/reducer/actions/processings_actions.ts +130 -0
- package/src/component/reducer/helper/ZoomHistoryManager.ts +17 -0
- package/src/component/reducer/preferences/actions/initPreferences.ts +4 -1
- package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +2 -0
- package/src/component/reducer/preferences/preferencesReducer.ts +3 -3
- package/src/component/reducer/preferences/utilities/mapWorkspaces.ts +9 -21
- package/src/component/toolbar/ToolTypes.ts +15 -0
- package/src/component/toolbar/nmr_toolbar.tsx +44 -4
- package/src/component/utility/{CoreSlot.tsx → core_slots/core_operator_expanded.tsx} +5 -57
- package/src/component/utility/core_slots/core_operator_name.tsx +21 -0
- package/src/component/utility/core_slots/core_operator_panel_tool.tsx +41 -0
- package/src/component/utility/core_slots/core_operator_tool.tsx +41 -0
- package/src/component/utility/core_slots/core_operator_topbar.tsx +65 -0
- package/src/component/utility/core_slots/core_slot.tsx +39 -0
- package/src/component/utility/formatNumber.ts +24 -2
- package/src/component/utility/toolbar_item_error.tsx +29 -0
- package/src/component/workspaces/assignment.ts +1 -0
- package/src/component/workspaces/basic.ts +1 -0
- package/src/component/workspaces/exercise.ts +1 -0
- package/src/component/workspaces/prediction.ts +1 -0
- package/src/component/workspaces/process1D.ts +1 -0
- package/src/component/workspaces/workspaceDefaultProperties.ts +1 -0
- package/src/data/SpectraManager.ts +2 -3
- package/src/data/data1d/Spectrum1D/SumManager.ts +1 -1
- package/src/data/data1d/Spectrum1D/index.ts +0 -1
- package/src/data/data1d/Spectrum1D/initiateDatum1D.ts +4 -2
- package/src/data/data1d/Spectrum1D/peaks/changePeakRelativeValue.ts +26 -0
- package/src/data/data1d/multipleSpectraAnalysis.ts +2 -1
- package/src/data/data2d/Spectrum2D/contours.ts +3 -5
- package/src/data/data2d/Spectrum2D/getSlice.ts +3 -4
- package/src/data/data2d/Spectrum2D/index.ts +0 -1
- package/src/data/get_view_spectra.ts +21 -0
- package/src/data/utilities/FindUtilities.ts +1 -3
- package/src/data/utilities/RangeUtilities.ts +5 -2
- package/src/data/utilities/getPeakAbsoluteArea.ts +7 -0
- package/src/versionInfo.ts +1 -1
- package/lib/component/panels/hooks/use_processings_mutation.d.ts +0 -10
- package/lib/component/panels/hooks/use_processings_mutation.d.ts.map +0 -1
- package/lib/component/panels/hooks/use_processings_mutation.js +0 -130
- package/lib/component/panels/hooks/use_processings_mutation.js.map +0 -1
- package/lib/component/utility/CoreSlot.d.ts +0 -27
- package/lib/component/utility/CoreSlot.d.ts.map +0 -1
- package/lib/component/utility/CoreSlot.js.map +0 -1
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts +0 -5
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts.map +0 -1
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.js +0 -10
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.js.map +0 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts +0 -14
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts.map +0 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.js +0 -22
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.js.map +0 -1
- package/src/component/panels/hooks/use_processings_mutation.ts +0 -171
- package/src/data/data1d/Spectrum1D/isSpectrum1D.ts +0 -19
- package/src/data/data2d/Spectrum2D/isSpectrum2D.ts +0 -36
|
@@ -1,35 +1,19 @@
|
|
|
1
1
|
import { Tab, Tabs } from '@blueprintjs/core';
|
|
2
|
-
import styled from '@emotion/styled';
|
|
3
|
-
import type { CSSProperties } from 'react';
|
|
4
2
|
import { memo } from 'react';
|
|
5
3
|
|
|
4
|
+
import { DeltaInput } from './DeltaInput.tsx';
|
|
6
5
|
import { SignalJCouplingsTable } from './signal-tabs/SignalJCouplingsTable.js';
|
|
7
6
|
import { SignalPeaksTable } from './signal-tabs/SignalPeaksTable.js';
|
|
8
7
|
|
|
9
|
-
const style: CSSProperties = {
|
|
10
|
-
borderSpacing: '0',
|
|
11
|
-
width: '100%',
|
|
12
|
-
fontSize: '12px',
|
|
13
|
-
height: '100%',
|
|
14
|
-
margin: '0',
|
|
15
|
-
padding: '0.4rem',
|
|
16
|
-
textAlign: 'center',
|
|
17
|
-
};
|
|
18
|
-
|
|
19
8
|
interface SignalTabProps {
|
|
20
9
|
index: number;
|
|
21
10
|
}
|
|
22
11
|
|
|
23
|
-
const Container = styled.div`
|
|
24
|
-
div[role='tabpanel'] {
|
|
25
|
-
width: 100%;
|
|
26
|
-
}
|
|
27
|
-
`;
|
|
28
|
-
|
|
29
12
|
function SignalTab({ index }: SignalTabProps) {
|
|
30
13
|
return (
|
|
31
|
-
<
|
|
32
|
-
<
|
|
14
|
+
<div>
|
|
15
|
+
<DeltaInput index={index} />
|
|
16
|
+
<Tabs renderActiveTabPanelOnly animate={false}>
|
|
33
17
|
<Tab
|
|
34
18
|
id="couplings"
|
|
35
19
|
title="Couplings"
|
|
@@ -41,7 +25,7 @@ function SignalTab({ index }: SignalTabProps) {
|
|
|
41
25
|
panel={<SignalPeaksTable index={index} />}
|
|
42
26
|
/>
|
|
43
27
|
</Tabs>
|
|
44
|
-
</
|
|
28
|
+
</div>
|
|
45
29
|
);
|
|
46
30
|
}
|
|
47
31
|
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
memo,
|
|
7
7
|
useCallback,
|
|
8
8
|
useContext,
|
|
9
|
+
useEffect,
|
|
9
10
|
useMemo,
|
|
10
11
|
useState,
|
|
11
12
|
} from 'react';
|
|
@@ -14,8 +15,9 @@ import { FaPlus } from 'react-icons/fa';
|
|
|
14
15
|
|
|
15
16
|
import { TabTitle } from '../../../../elements/TabTitle.js';
|
|
16
17
|
import { useTabsController } from '../../../../elements/TabsProvider.js';
|
|
18
|
+
import { useHighlightData } from '../../../../highlight/index.tsx';
|
|
17
19
|
|
|
18
|
-
import {
|
|
20
|
+
import { DeltaLabel } from './DeltaLabel.tsx';
|
|
19
21
|
import { InfoBlock } from './InfoBlock.js';
|
|
20
22
|
import { NewSignalTab } from './NewSignalTab.js';
|
|
21
23
|
import SignalTab from './SignalTab.js';
|
|
@@ -60,20 +62,52 @@ function SignalsContent({ range }: SignalsFormProps) {
|
|
|
60
62
|
const { setValue } = useFormContext();
|
|
61
63
|
const { selectedTabId: signalIndex, selectTab } = useTabsController<number>();
|
|
62
64
|
const { signals } = useWatch();
|
|
65
|
+
const { dispatch } = useHighlightData();
|
|
66
|
+
|
|
67
|
+
useEffect(() => {
|
|
68
|
+
const signal = signals?.[signalIndex ?? 0];
|
|
69
|
+
if (!signal) return;
|
|
70
|
+
|
|
71
|
+
const id = String(signal.id);
|
|
72
|
+
|
|
73
|
+
dispatch({
|
|
74
|
+
type: 'SET_PERMANENT',
|
|
75
|
+
payload: { convertedHighlights: [id] },
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
return () => {
|
|
79
|
+
dispatch({ type: 'UNSET_PERMANENT' });
|
|
80
|
+
};
|
|
81
|
+
}, [dispatch, signalIndex, signals]);
|
|
82
|
+
|
|
83
|
+
const handleTabChange = useCallback(
|
|
84
|
+
(id: number) => {
|
|
85
|
+
selectTab(id);
|
|
86
|
+
|
|
87
|
+
const nextSignal = signals?.[id];
|
|
88
|
+
if (nextSignal) {
|
|
89
|
+
dispatch({
|
|
90
|
+
type: 'SET_PERMANENT',
|
|
91
|
+
payload: { convertedHighlights: [nextSignal.id] },
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
[dispatch, selectTab, signals],
|
|
96
|
+
);
|
|
63
97
|
|
|
64
98
|
const handleDeleteSignal = useCallback(
|
|
65
99
|
(index: number) => {
|
|
66
100
|
const _signals = signals.filter((_signal: any, i: number) => i !== index);
|
|
67
101
|
setValue('signals', _signals);
|
|
68
|
-
|
|
102
|
+
handleTabChange(signals.length - 2 || 0);
|
|
69
103
|
},
|
|
70
|
-
[
|
|
104
|
+
[handleTabChange, setValue, signals],
|
|
71
105
|
);
|
|
72
106
|
|
|
73
107
|
const signalFormTabs = useMemo(() => {
|
|
74
108
|
const signalTabs: any[] =
|
|
75
109
|
signals.length > 0
|
|
76
|
-
? signals.map((
|
|
110
|
+
? signals.map((_: any, i: number) => (
|
|
77
111
|
<Tab
|
|
78
112
|
// eslint-disable-next-line react/no-array-index-key
|
|
79
113
|
key={`signalForm${i}`}
|
|
@@ -81,7 +115,7 @@ function SignalsContent({ range }: SignalsFormProps) {
|
|
|
81
115
|
panel={<SignalTab index={i} />}
|
|
82
116
|
>
|
|
83
117
|
<TabTitle onDelete={() => handleDeleteSignal(i)}>
|
|
84
|
-
<
|
|
118
|
+
<DeltaLabel index={i} />
|
|
85
119
|
</TabTitle>
|
|
86
120
|
</Tab>
|
|
87
121
|
))
|
|
@@ -113,7 +147,7 @@ function SignalsContent({ range }: SignalsFormProps) {
|
|
|
113
147
|
<Tabs
|
|
114
148
|
renderActiveTabPanelOnly
|
|
115
149
|
selectedTabId={signalIndex}
|
|
116
|
-
onChange={
|
|
150
|
+
onChange={handleTabChange}
|
|
117
151
|
animate={false}
|
|
118
152
|
>
|
|
119
153
|
{signalFormTabs}
|
package/src/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.tsx
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Button, Callout, Classes } from '@blueprintjs/core';
|
|
2
2
|
import type { Jcoupling, Signal1D } from '@zakodium/nmr-types';
|
|
3
|
+
import { isSpectrum1D } from '@zakodium/nmrium-core';
|
|
3
4
|
import dlv from 'dlv';
|
|
4
5
|
import type { CSSProperties } from 'react';
|
|
5
6
|
import { useCallback, useMemo, useRef } from 'react';
|
|
@@ -9,7 +10,6 @@ import { Toolbar } from 'react-science/ui';
|
|
|
9
10
|
import type { CellProps } from 'react-table';
|
|
10
11
|
|
|
11
12
|
import { multiplets } from '../../../../../../data/constants/Multiplets.js';
|
|
12
|
-
import { isSpectrum1D } from '../../../../../../data/data1d/Spectrum1D/index.js';
|
|
13
13
|
import { NumberInput2Controller } from '../../../../../elements/NumberInput2Controller.js';
|
|
14
14
|
import type { Column } from '../../../../../elements/ReactTable/ReactTable.js';
|
|
15
15
|
import ReactTable from '../../../../../elements/ReactTable/ReactTable.js';
|
|
@@ -3,59 +3,82 @@ import * as Yup from 'yup';
|
|
|
3
3
|
import { hasCouplingConstant } from '../../../../panels/extra/utilities/MultiplicityUtilities.js';
|
|
4
4
|
|
|
5
5
|
const editRangeFormValidation = Yup.object().shape({
|
|
6
|
-
signals: Yup.array()
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
6
|
+
signals: Yup.array()
|
|
7
|
+
.of(
|
|
8
|
+
Yup.object().shape({
|
|
9
|
+
delta: Yup.number().required('Chemical shift is required'),
|
|
10
|
+
js: Yup.array()
|
|
11
|
+
.of(
|
|
12
|
+
Yup.object().shape({
|
|
13
|
+
multiplicity: Yup.string().required(),
|
|
14
|
+
coupling: Yup.mixed().test(
|
|
15
|
+
'checkValue',
|
|
16
|
+
'',
|
|
17
|
+
function testCoupling(value, context) {
|
|
18
|
+
const { path, createError } = context;
|
|
19
|
+
const hasCoupling = hasCouplingConstant(
|
|
20
|
+
context.parent.multiplicity,
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
if ((!hasCoupling && !value) || (hasCoupling && value)) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
return createError({
|
|
28
|
+
path,
|
|
29
|
+
message: `${path} is required`,
|
|
30
|
+
});
|
|
31
|
+
},
|
|
32
|
+
),
|
|
33
|
+
}),
|
|
34
|
+
)
|
|
35
|
+
.min(1, 'There must be at least one coupling in a signal')
|
|
36
|
+
.test(
|
|
37
|
+
'checkMultiplicity',
|
|
38
|
+
'Massive multiplicity requires exactly one coupling',
|
|
39
|
+
function test(js, context) {
|
|
40
|
+
const multiplicity: string =
|
|
41
|
+
js?.map((j) => j.multiplicity).join('') || '';
|
|
42
|
+
|
|
43
|
+
if (multiplicity.includes('m') && js && js?.length > 1) {
|
|
44
|
+
return context.createError({
|
|
45
|
+
message: 'Massive multiplicity requires exactly one coupling',
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
if (multiplicity.includes('s') && js && js?.length > 1) {
|
|
50
|
+
return context.createError({
|
|
51
|
+
message: 'Singlet multiplicity requires exactly one coupling',
|
|
29
52
|
});
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
)
|
|
57
|
-
|
|
58
|
-
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
return true;
|
|
56
|
+
},
|
|
57
|
+
),
|
|
58
|
+
}),
|
|
59
|
+
)
|
|
60
|
+
.test(
|
|
61
|
+
'within-range',
|
|
62
|
+
'Chemical shift must be within the range',
|
|
63
|
+
function checkRange(signals, context) {
|
|
64
|
+
if (!Array.isArray(signals)) return true;
|
|
65
|
+
|
|
66
|
+
const { from, to } = context.parent;
|
|
67
|
+
|
|
68
|
+
const min = Math.min(from, to);
|
|
69
|
+
const max = Math.max(from, to);
|
|
70
|
+
|
|
71
|
+
const invalidIndex = signals?.findIndex(
|
|
72
|
+
(signal) => signal.delta < min || signal.delta > max,
|
|
73
|
+
);
|
|
74
|
+
|
|
75
|
+
if (invalidIndex === -1) return true;
|
|
76
|
+
return context.createError({
|
|
77
|
+
path: `${context.path}[${invalidIndex}].delta`,
|
|
78
|
+
message: `Delta must be between ${min} and ${max}`,
|
|
79
|
+
});
|
|
80
|
+
},
|
|
81
|
+
),
|
|
59
82
|
});
|
|
60
83
|
|
|
61
84
|
export default editRangeFormValidation;
|
|
@@ -3,7 +3,7 @@ import { yupResolver } from '@hookform/resolvers/yup';
|
|
|
3
3
|
import type { ParseResult } from 'papaparse';
|
|
4
4
|
import type { CSSProperties, DragEvent } from 'react';
|
|
5
5
|
import { useEffect, useMemo, useState } from 'react';
|
|
6
|
-
import type { FileError
|
|
6
|
+
import type { FileError } from 'react-dropzone';
|
|
7
7
|
import { useForm } from 'react-hook-form';
|
|
8
8
|
import { DropZone } from 'react-science/ui';
|
|
9
9
|
import * as Yup from 'yup';
|
|
@@ -128,7 +128,7 @@ function InnerMetaImportationModal({
|
|
|
128
128
|
const { data } = useChartData();
|
|
129
129
|
const { datalist, paths } = getSpectraObjectPaths(data);
|
|
130
130
|
|
|
131
|
-
function handleParseFile(file:
|
|
131
|
+
function handleParseFile(file: File) {
|
|
132
132
|
void (async () => {
|
|
133
133
|
const results = await parseMetaFile(file);
|
|
134
134
|
setParseResult(results);
|
|
@@ -152,7 +152,7 @@ function InnerMetaImportationModal({
|
|
|
152
152
|
};
|
|
153
153
|
}, [file]);
|
|
154
154
|
|
|
155
|
-
function handleDrop(files:
|
|
155
|
+
function handleDrop(files: File[]) {
|
|
156
156
|
if (files[0]) {
|
|
157
157
|
handleParseFile(files[0]);
|
|
158
158
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { useSelector } from '@tanstack/react-store';
|
|
2
|
+
import { assert } from '@zakodium/utils';
|
|
2
3
|
import type { Dispatch, ReactNode, SetStateAction } from 'react';
|
|
3
4
|
import {
|
|
4
5
|
createContext,
|
|
@@ -8,7 +9,7 @@ import {
|
|
|
8
9
|
useRef,
|
|
9
10
|
useState,
|
|
10
11
|
} from 'react';
|
|
11
|
-
import {
|
|
12
|
+
import { withForm } from 'react-science/ui';
|
|
12
13
|
|
|
13
14
|
import {
|
|
14
15
|
defaultGeneralSettingsFormValues,
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Classes } from '@blueprintjs/core';
|
|
2
2
|
import { useField } from '@tanstack/react-form';
|
|
3
|
-
import { createColumnHelper } from '@tanstack/react-table';
|
|
4
3
|
import { useCallback, useMemo } from 'react';
|
|
5
4
|
import { FaLink, FaPlus, FaRegTrashAlt } from 'react-icons/fa';
|
|
6
|
-
import { Button, withForm } from 'react-science/ui';
|
|
5
|
+
import { Button, createTableColumnHelper, withForm } from 'react-science/ui';
|
|
7
6
|
import type { z } from 'zod';
|
|
8
7
|
|
|
9
8
|
import { isGoogleDocument } from '../../../../utility/isGoogleDocument.ts';
|
|
@@ -53,7 +52,7 @@ export const DatabaseTab = withForm({
|
|
|
53
52
|
}, [resetField]);
|
|
54
53
|
|
|
55
54
|
const COLUMNS = useMemo(() => {
|
|
56
|
-
const helper =
|
|
55
|
+
const helper = createTableColumnHelper<DatabaseFormElement>();
|
|
57
56
|
return [
|
|
58
57
|
helper.accessor('label', {
|
|
59
58
|
meta: {
|
|
@@ -2,8 +2,9 @@ import { Checkbox, Tag } from '@blueprintjs/core';
|
|
|
2
2
|
import { useSelector } from '@tanstack/react-store';
|
|
3
3
|
import type { PageSizeName, Unit } from '@zakodium/nmrium-core';
|
|
4
4
|
import { units } from '@zakodium/nmrium-core';
|
|
5
|
+
import { assertUnreachable } from '@zakodium/utils';
|
|
5
6
|
import { memo, useMemo } from 'react';
|
|
6
|
-
import { FormGroup,
|
|
7
|
+
import { FormGroup, withFieldGroup } from 'react-science/ui';
|
|
7
8
|
import type { z } from 'zod/v4';
|
|
8
9
|
|
|
9
10
|
import { convertToPixels } from '../../../../elements/export/units.js';
|
|
@@ -78,9 +79,11 @@ export const ExportFields = withFieldGroup({
|
|
|
78
79
|
defaultValues: defaultGeneralSettingsFormValues.export.png,
|
|
79
80
|
render: function ExportFields({ group }) {
|
|
80
81
|
const inputValues = useSelector(group.store, (s) => s.values);
|
|
82
|
+
|
|
81
83
|
const outputValues = useMemo(() => {
|
|
82
84
|
return exportSettingsValidation.decode(inputValues);
|
|
83
85
|
}, [inputValues]);
|
|
86
|
+
|
|
84
87
|
const advancedTransforms = useExportConfigurer(outputValues);
|
|
85
88
|
|
|
86
89
|
function onModeChange({ value }: { value: Mode }) {
|
|
@@ -102,6 +105,7 @@ export const ExportFields = withFieldGroup({
|
|
|
102
105
|
dontRunListeners: true,
|
|
103
106
|
});
|
|
104
107
|
}
|
|
108
|
+
|
|
105
109
|
function onWidthChange({ value }: { value: string }) {
|
|
106
110
|
value = safeStringNumber(value, (width) =>
|
|
107
111
|
group.setFieldValue('width', width, { dontRunListeners: true }),
|
|
@@ -119,6 +123,7 @@ export const ExportFields = withFieldGroup({
|
|
|
119
123
|
dontRunListeners: true,
|
|
120
124
|
});
|
|
121
125
|
}
|
|
126
|
+
|
|
122
127
|
function onHeightChange({ value }: { value: string }) {
|
|
123
128
|
value = safeStringNumber(value, (height) =>
|
|
124
129
|
group.setFieldValue('height', height, { dontRunListeners: true }),
|
|
@@ -163,13 +168,13 @@ export const ExportFields = withFieldGroup({
|
|
|
163
168
|
<Subscribe
|
|
164
169
|
selector={(state) => {
|
|
165
170
|
const mode = state.values.mode;
|
|
166
|
-
switch (
|
|
171
|
+
switch (mode) {
|
|
167
172
|
case 'basic':
|
|
168
|
-
return { mode
|
|
173
|
+
return { mode, layout: state.values.layout };
|
|
169
174
|
case 'advance':
|
|
170
|
-
return { mode
|
|
175
|
+
return { mode, unit: state.values.unit };
|
|
171
176
|
default:
|
|
172
|
-
assertUnreachable(mode
|
|
177
|
+
assertUnreachable(mode);
|
|
173
178
|
}
|
|
174
179
|
}}
|
|
175
180
|
>
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Classes } from '@blueprintjs/core';
|
|
2
2
|
import { useField } from '@tanstack/react-form';
|
|
3
|
-
import { createColumnHelper } from '@tanstack/react-table';
|
|
4
3
|
import { EXTERNAL_API_KEYS } from '@zakodium/nmrium-core';
|
|
5
4
|
import { useMemo } from 'react';
|
|
6
5
|
import { FaPlus, FaRegTrashAlt } from 'react-icons/fa';
|
|
7
|
-
import { Button, withForm } from 'react-science/ui';
|
|
6
|
+
import { Button, createTableColumnHelper, withForm } from 'react-science/ui';
|
|
8
7
|
import type { z } from 'zod';
|
|
9
8
|
|
|
10
9
|
import { Select2 } from '../../../../elements/Select2.js';
|
|
@@ -37,7 +36,7 @@ export const ExternalApiTab = withForm({
|
|
|
37
36
|
const { name, pushValue, insertValue, removeValue, state } = field;
|
|
38
37
|
|
|
39
38
|
const columns = useMemo(() => {
|
|
40
|
-
const helper =
|
|
39
|
+
const helper = createTableColumnHelper<API>();
|
|
41
40
|
return [
|
|
42
41
|
helper.accessor('key', {
|
|
43
42
|
header: 'Service',
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { Classes } from '@blueprintjs/core';
|
|
2
2
|
import { useField } from '@tanstack/react-form';
|
|
3
|
-
import { createColumnHelper } from '@tanstack/react-table';
|
|
4
3
|
import { useCallback, useMemo } from 'react';
|
|
5
4
|
import { FaPlus, FaRegTrashAlt } from 'react-icons/fa';
|
|
6
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
Button,
|
|
7
|
+
createTableColumnHelper,
|
|
8
|
+
withFieldGroup,
|
|
9
|
+
withForm,
|
|
10
|
+
} from 'react-science/ui';
|
|
7
11
|
import type { z } from 'zod/v4';
|
|
8
12
|
|
|
9
13
|
import { useChartData } from '../../../../context/ChartContext.tsx';
|
|
@@ -88,7 +92,7 @@ const Spectra1DColors = withForm({
|
|
|
88
92
|
);
|
|
89
93
|
|
|
90
94
|
const COLUMNS = useMemo(() => {
|
|
91
|
-
const helper =
|
|
95
|
+
const helper = createTableColumnHelper<OneDimensionData>();
|
|
92
96
|
return [
|
|
93
97
|
helper.accessor('jpath', {
|
|
94
98
|
header: 'Field',
|
|
@@ -209,7 +213,7 @@ const Spectra2DColors = withForm({
|
|
|
209
213
|
}, [chartData]);
|
|
210
214
|
|
|
211
215
|
const COLUMNS = useMemo(() => {
|
|
212
|
-
const helper =
|
|
216
|
+
const helper = createTableColumnHelper<TwoDimensionData>();
|
|
213
217
|
return [
|
|
214
218
|
helper.accessor('jpath', {
|
|
215
219
|
header: 'Field',
|
|
@@ -149,6 +149,9 @@ const Spectra2DManipulationTools = withFieldGroup({
|
|
|
149
149
|
<AppField name="phaseCorrectionTwoDimensions">
|
|
150
150
|
{({ Checkbox }) => <Checkbox label="Phase correction" />}
|
|
151
151
|
</AppField>
|
|
152
|
+
<AppField name="alignTwoDimensionsSpectra">
|
|
153
|
+
{({ Checkbox }) => <Checkbox label="Align spectra" />}
|
|
154
|
+
</AppField>
|
|
152
155
|
</Section>
|
|
153
156
|
);
|
|
154
157
|
},
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { Classes } from '@blueprintjs/core';
|
|
2
2
|
import type { StyledComponent } from '@emotion/styled';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
|
-
import type {
|
|
5
|
-
import type { TableProps } from 'react-science/ui';
|
|
4
|
+
import type { TableProps, TableRowData } from 'react-science/ui';
|
|
6
5
|
import { Table } from 'react-science/ui';
|
|
7
6
|
|
|
8
7
|
type MakeRequired<T, K extends keyof T> = Omit<T, K> & Required<Pick<T, K>>;
|
|
9
8
|
|
|
10
|
-
type TableSettingsProps<Data extends
|
|
9
|
+
type TableSettingsProps<Data extends TableRowData> = MakeRequired<
|
|
11
10
|
TableProps<Data>,
|
|
12
11
|
'getRowId'
|
|
13
12
|
>;
|
|
@@ -20,7 +19,7 @@ type TableSettingsProps<Data extends RowData> = MakeRequired<
|
|
|
20
19
|
* Table with fields in the columns is known to cause issue if the row key is index.
|
|
21
20
|
* use `withUUID` validation helper to have items with uuid
|
|
22
21
|
*/
|
|
23
|
-
export function TableSettings<Data extends
|
|
22
|
+
export function TableSettings<Data extends TableRowData>(
|
|
24
23
|
props: TableSettingsProps<Data>,
|
|
25
24
|
) {
|
|
26
25
|
// We should not create a component in another component,
|
package/src/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Layout, PageSizeName } from '@zakodium/nmrium-core';
|
|
2
2
|
import { units } from '@zakodium/nmrium-core';
|
|
3
|
+
import { coerceNumberInput } from 'react-science/ui';
|
|
3
4
|
import { z } from 'zod';
|
|
4
5
|
|
|
5
6
|
const exportSizes: PageSizeName[] = [
|
|
@@ -22,7 +23,7 @@ const exportLayouts: Layout[] = ['portrait', 'landscape'];
|
|
|
22
23
|
*/
|
|
23
24
|
const baseExportSettings = z.object({
|
|
24
25
|
useDefaultSettings: z.boolean(),
|
|
25
|
-
dpi:
|
|
26
|
+
dpi: coerceNumberInput(),
|
|
26
27
|
});
|
|
27
28
|
|
|
28
29
|
/**
|
|
@@ -40,8 +41,8 @@ const basicExportSettings = z.object({
|
|
|
40
41
|
const advancedExportSettings = z.object({
|
|
41
42
|
mode: z.literal('advance'),
|
|
42
43
|
...baseExportSettings.shape,
|
|
43
|
-
width:
|
|
44
|
-
height:
|
|
44
|
+
width: coerceNumberInput(),
|
|
45
|
+
height: coerceNumberInput(),
|
|
45
46
|
unit: z.enum(units.map((u) => u.unit)),
|
|
46
47
|
});
|
|
47
48
|
|
package/src/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { coerceNumberInput } from 'react-science/ui';
|
|
1
2
|
import { z } from 'zod';
|
|
2
3
|
|
|
3
4
|
import { checkUniqueByKey } from './check_unique_by_key.js';
|
|
@@ -10,8 +11,8 @@ export const nucleiValidation = z
|
|
|
10
11
|
nucleus: z.string({ error: 'Nucleus is a required field' }),
|
|
11
12
|
ppmFormat: z.string({ error: 'PPM format is a required field' }),
|
|
12
13
|
hzFormat: z.string({ error: 'Hz format is a required field' }),
|
|
13
|
-
axisFrom:
|
|
14
|
-
axisTo:
|
|
14
|
+
axisFrom: coerceNumberInput().optional(),
|
|
15
|
+
axisTo: coerceNumberInput().optional(),
|
|
15
16
|
}),
|
|
16
17
|
),
|
|
17
18
|
)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { isSpectrum1D } from '@zakodium/nmrium-core';
|
|
1
2
|
import { SvgNmrAssignment2 } from 'cheminfo-font';
|
|
2
3
|
import { FaBolt } from 'react-icons/fa';
|
|
3
4
|
|
|
4
|
-
import { isSpectrum1D } from '../../../data/data1d/Spectrum1D/index.js';
|
|
5
5
|
import { useChartData } from '../../context/ChartContext.js';
|
|
6
6
|
import { TablePanel } from '../extra/BasicPanelStyle.js';
|
|
7
7
|
import DefaultPanelHeader from '../header/DefaultPanelHeader.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Spectrum } from '@zakodium/nmrium-core';
|
|
2
|
+
import { assertSpectrum2D, isSpectrum1D } from '@zakodium/nmrium-core';
|
|
2
3
|
import type { SpectraData } from 'nmr-processing';
|
|
3
4
|
import { getAssignments as getAssignmentsData } from 'nmr-processing';
|
|
4
5
|
import { Molecule } from 'openchemlib';
|
|
5
6
|
import { useRef, useState } from 'react';
|
|
6
|
-
import { assert } from 'react-science/ui';
|
|
7
7
|
|
|
8
8
|
import { useChartData } from '../../context/ChartContext.js';
|
|
9
9
|
import { useDispatch } from '../../context/DispatchContext.js';
|
|
@@ -14,17 +14,34 @@ export interface AutoAssignmentsData {
|
|
|
14
14
|
assignment: SpectraData[];
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
function
|
|
17
|
+
function omitPeaks<T extends { peaks?: unknown }>(signal: T): Omit<T, 'peaks'> {
|
|
18
|
+
const signalWithoutPeaks = { ...signal };
|
|
19
|
+
delete signalWithoutPeaks.peaks;
|
|
20
|
+
return signalWithoutPeaks;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
function mapSpectra(data: Spectrum[]): SpectraData[] {
|
|
18
24
|
return data.map((spectrum) => {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
+
if (isSpectrum1D(spectrum)) {
|
|
26
|
+
const { id, info, ranges } = spectrum;
|
|
27
|
+
return {
|
|
28
|
+
id,
|
|
29
|
+
info,
|
|
30
|
+
ranges: ranges.values,
|
|
31
|
+
};
|
|
25
32
|
} else {
|
|
26
|
-
const zones =
|
|
27
|
-
|
|
33
|
+
const { id, info, zones } = spectrum;
|
|
34
|
+
assertSpectrum2D(spectrum);
|
|
35
|
+
return {
|
|
36
|
+
id,
|
|
37
|
+
info,
|
|
38
|
+
zones: zones.values.map((zone) => {
|
|
39
|
+
return {
|
|
40
|
+
...zone,
|
|
41
|
+
signals: zone.signals.map(omitPeaks),
|
|
42
|
+
};
|
|
43
|
+
}),
|
|
44
|
+
};
|
|
28
45
|
}
|
|
29
46
|
});
|
|
30
47
|
}
|
|
@@ -49,7 +66,7 @@ export function useAutoAssignments() {
|
|
|
49
66
|
void (async () => {
|
|
50
67
|
const hideLoading = toaster.showLoading({ message: 'Auto Assignments' });
|
|
51
68
|
const molecule = Molecule.fromMolfile(molecules[0]?.molfile || '');
|
|
52
|
-
const spectra = mapSpectra(data)
|
|
69
|
+
const spectra = mapSpectra(data);
|
|
53
70
|
|
|
54
71
|
if (!originData.current) {
|
|
55
72
|
originData.current = spectra;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { isSpectrum1D } from '@zakodium/nmrium-core';
|
|
1
2
|
import { SvgNmrExportAsMatrix } from 'cheminfo-font';
|
|
2
3
|
import { IoAnalytics } from 'react-icons/io5';
|
|
3
4
|
import { TbBrandGoogleAnalytics } from 'react-icons/tb';
|
|
4
5
|
import { TooltipHelpContent } from 'react-science/ui';
|
|
5
6
|
|
|
6
|
-
import { isSpectrum1D } from '../../../data/data1d/Spectrum1D/index.ts';
|
|
7
7
|
import { useChartData } from '../../context/ChartContext.js';
|
|
8
8
|
import { usePreferences } from '../../context/PreferencesContext.js';
|
|
9
9
|
import { usePanelPreferences } from '../../hooks/usePanelPreferences.js';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type { Spectrum1D, Spectrum2D, Spectrum } from '@zakodium/nmrium-core';
|
|
2
|
+
import { isSpectrum1D, isSpectrum2D } from '@zakodium/nmrium-core';
|
|
2
3
|
import type { DiaIDAndInfo } from 'openchemlib-utils';
|
|
3
4
|
import type { MouseEvent } from 'react';
|
|
4
5
|
import { useMemo, useRef } from 'react';
|
|
5
6
|
|
|
6
|
-
import { isSpectrum1D } from '../../../../data/data1d/Spectrum1D/index.js';
|
|
7
|
-
import { isSpectrum2D } from '../../../../data/data2d/Spectrum2D/index.js';
|
|
8
7
|
import { ConcatenationString } from '../../../../data/utilities/Concatenation.js';
|
|
9
8
|
import checkModifierKeyActivated from '../../../../data/utilities/checkModifierKeyActivated.js';
|
|
10
9
|
import { useTracesSpectra } from '../../../2d/useTracesSpectra.js';
|