nmrium 1.12.0 → 2.1.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 +17 -10
- package/lib/component/1d/BrushTracker1D.js.map +1 -1
- package/lib/component/1d/FloatPublicationString.d.ts.map +1 -1
- package/lib/component/1d/FloatPublicationString.js +39 -27
- package/lib/component/1d/FloatPublicationString.js.map +1 -1
- package/lib/component/1d/HorizontalAxis1D.d.ts +2 -0
- package/lib/component/1d/HorizontalAxis1D.d.ts.map +1 -0
- package/lib/component/1d/HorizontalAxis1D.js +30 -0
- package/lib/component/1d/HorizontalAxis1D.js.map +1 -0
- package/lib/component/1d/Line.js +1 -1
- package/lib/component/1d/Line.js.map +1 -1
- package/lib/component/1d/LinesSeries.d.ts.map +1 -1
- package/lib/component/1d/LinesSeries.js +2 -10
- package/lib/component/1d/LinesSeries.js.map +1 -1
- package/lib/component/1d/SVGContent1D.d.ts.map +1 -1
- package/lib/component/1d/SVGContent1D.js +2 -3
- package/lib/component/1d/SVGContent1D.js.map +1 -1
- package/lib/component/1d/Viewer1D.d.ts.map +1 -1
- package/lib/component/1d/Viewer1D.js +2 -1
- package/lib/component/1d/Viewer1D.js.map +1 -1
- package/lib/component/1d/baseline/BaselinePreview.d.ts +2 -0
- package/lib/component/1d/baseline/BaselinePreview.d.ts.map +1 -0
- package/lib/component/1d/baseline/BaselinePreview.js +146 -0
- package/lib/component/1d/baseline/BaselinePreview.js.map +1 -0
- package/lib/component/1d/baseline/getMedianWindow.d.ts +3 -0
- package/lib/component/1d/baseline/getMedianWindow.d.ts.map +1 -0
- package/lib/component/1d/baseline/getMedianWindow.js +5 -0
- package/lib/component/1d/baseline/getMedianWindow.js.map +1 -0
- package/lib/component/1d/baseline/getMedianY.d.ts +3 -0
- package/lib/component/1d/baseline/getMedianY.d.ts.map +1 -0
- package/lib/component/1d/baseline/getMedianY.js +13 -0
- package/lib/component/1d/baseline/getMedianY.js.map +1 -0
- package/lib/component/1d/database/DatabaseElements.d.ts.map +1 -1
- package/lib/component/1d/database/DatabaseElements.js +4 -4
- package/lib/component/1d/database/DatabaseElements.js.map +1 -1
- package/lib/component/1d/database/DatabaseSpectrum.d.ts.map +1 -1
- package/lib/component/1d/database/DatabaseSpectrum.js +6 -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 +4 -5
- package/lib/component/1d/database/ResurrectedDatabaseRanges.js.map +1 -1
- package/lib/component/1d/integral/IntegralsSeries.js.map +1 -1
- package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.js +1 -1
- package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.js.map +1 -1
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js +6 -5
- 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/peaks/PeakAnnotationsSpreadMode.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js +2 -2
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js.map +1 -1
- package/lib/component/1d/peaks/PeakEditionManager.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeakEditionManager.js +1 -1
- package/lib/component/1d/peaks/PeakEditionManager.js.map +1 -1
- package/lib/component/1d/peaks/usePeakShapesPath.js +1 -1
- package/lib/component/1d/peaks/usePeakShapesPath.js.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.js +2 -2
- package/lib/component/1d/ranges/Ranges.js.map +1 -1
- package/lib/component/1d/tool/BaseLine.js +1 -1
- package/lib/component/1d/tool/PeakPointer.d.ts.map +1 -1
- package/lib/component/1d/tool/PeakPointer.js +2 -1
- package/lib/component/1d/tool/PeakPointer.js.map +1 -1
- package/lib/component/1d/utilities/scale.d.ts +5 -4
- package/lib/component/1d/utilities/scale.d.ts.map +1 -1
- package/lib/component/1d/utilities/scale.js +13 -6
- package/lib/component/1d/utilities/scale.js.map +1 -1
- package/lib/component/1d-2d/FieldEdition.d.ts.map +1 -1
- package/lib/component/1d-2d/FieldEdition.js.map +1 -1
- package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts.map +1 -1
- package/lib/component/1d-2d/components/SpectrumInfoBlock.js +3 -17
- package/lib/component/1d-2d/components/SpectrumInfoBlock.js.map +1 -1
- package/lib/component/1d-2d/components/axis_unit_picker.d.ts +11 -0
- package/lib/component/1d-2d/components/axis_unit_picker.d.ts.map +1 -0
- package/lib/component/1d-2d/components/axis_unit_picker.js +26 -0
- package/lib/component/1d-2d/components/axis_unit_picker.js.map +1 -0
- package/lib/component/1d-2d/tools/BrushXY.js +6 -6
- package/lib/component/1d-2d/tools/BrushXY.js.map +1 -1
- package/lib/component/2d/1d-tracer/VerticalSliceChart.js +1 -1
- package/lib/component/2d/1d-tracer/VerticalSliceChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.d.ts +2 -2
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.d.ts.map +1 -1
- package/lib/component/2d/{XAxis.d.ts → DirectAxis2D.d.ts} +4 -4
- package/lib/component/2d/DirectAxis2D.d.ts.map +1 -0
- package/lib/component/2d/DirectAxis2D.js +42 -0
- package/lib/component/2d/DirectAxis2D.js.map +1 -0
- package/lib/component/2d/IndirectAxis2D.d.ts +12 -0
- package/lib/component/2d/IndirectAxis2D.d.ts.map +1 -0
- package/lib/component/2d/IndirectAxis2D.js +52 -0
- package/lib/component/2d/IndirectAxis2D.js.map +1 -0
- package/lib/component/2d/SVGContent2D.js +3 -3
- package/lib/component/2d/SVGContent2D.js.map +1 -1
- package/lib/component/2d/fid/FidCanvas.js.map +1 -1
- package/lib/component/2d/ft/Contours.d.ts.map +1 -1
- package/lib/component/2d/ft/Contours.js +10 -12
- package/lib/component/2d/ft/Contours.js.map +1 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.js +2 -2
- package/lib/component/2d/utilities/extractSpectrumSignals.js.map +1 -1
- package/lib/component/2d/utilities/scale.d.ts +10 -2
- package/lib/component/2d/utilities/scale.d.ts.map +1 -1
- package/lib/component/2d/utilities/scale.js +6 -4
- package/lib/component/2d/utilities/scale.js.map +1 -1
- package/lib/component/2d/zones/Signal.d.ts +2 -2
- package/lib/component/2d/zones/Signal.d.ts.map +1 -1
- package/lib/component/2d/zones/Signal.js +7 -9
- package/lib/component/2d/zones/Signal.js.map +1 -1
- package/lib/component/2d/zones/SignalCrosshair.d.ts +1 -1
- package/lib/component/2d/zones/SignalCrosshair.d.ts.map +1 -1
- package/lib/component/2d/zones/SignalCrosshair.js +3 -2
- package/lib/component/2d/zones/SignalCrosshair.js.map +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.js +2 -2
- package/lib/component/2d/zones/SignalsGuideLines.js.map +1 -1
- package/lib/component/2d/zones/Zone.d.ts +1 -1
- package/lib/component/2d/zones/Zone.d.ts.map +1 -1
- package/lib/component/2d/zones/Zone.js +3 -4
- package/lib/component/2d/zones/Zone.js.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.js +6 -6
- package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.js +109 -123
- package/lib/component/EventsTrackers/KeysListenerTracker.js.map +1 -1
- package/lib/component/EventsTrackers/MouseTracker.d.ts +1 -1
- package/lib/component/EventsTrackers/MouseTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/MouseTracker.js +9 -8
- package/lib/component/EventsTrackers/MouseTracker.js.map +1 -1
- package/lib/component/SVGTable.d.ts +3 -2
- package/lib/component/SVGTable.d.ts.map +1 -1
- package/lib/component/SVGTable.js +2 -4
- package/lib/component/SVGTable.js.map +1 -1
- package/lib/component/assignment/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 +4 -3
- package/lib/component/context/FilterSyncOptionsContext.d.ts.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.js +34 -8
- package/lib/component/context/FilterSyncOptionsContext.js.map +1 -1
- package/lib/component/context/ScaleContext.d.ts +5 -1
- package/lib/component/context/ScaleContext.d.ts.map +1 -1
- package/lib/component/context/ScaleContext.js +5 -4
- package/lib/component/context/ScaleContext.js.map +1 -1
- package/lib/component/context/SortSpectraContext.js +1 -1
- package/lib/component/context/SortSpectraContext.js.map +1 -1
- package/lib/component/elements/ActionsButtonsPopover.d.ts.map +1 -1
- package/lib/component/elements/ActionsButtonsPopover.js +1 -1
- package/lib/component/elements/ActionsButtonsPopover.js.map +1 -1
- package/lib/component/elements/Alert.d.ts.map +1 -1
- package/lib/component/elements/Alert.js.map +1 -1
- package/lib/component/elements/Anchor.d.ts +43 -0
- package/lib/component/elements/Anchor.d.ts.map +1 -0
- package/lib/component/elements/Anchor.js +151 -0
- package/lib/component/elements/Anchor.js.map +1 -0
- package/lib/component/elements/Button.d.ts.map +1 -1
- package/lib/component/elements/Button.js.map +1 -1
- package/lib/component/elements/ColumnWrapper.d.ts +2 -1
- package/lib/component/elements/ColumnWrapper.d.ts.map +1 -1
- package/lib/component/elements/ColumnWrapper.js.map +1 -1
- package/lib/component/elements/ContextMenuBluePrint.js +2 -2
- package/lib/component/elements/ContextMenuBluePrint.js.map +1 -1
- package/lib/component/elements/D3Axis.d.ts +5 -2
- package/lib/component/elements/D3Axis.d.ts.map +1 -1
- package/lib/component/elements/D3Axis.js +61 -18
- package/lib/component/elements/D3Axis.js.map +1 -1
- package/lib/component/elements/DialogManager.d.ts +1 -1
- package/lib/component/elements/DialogManager.d.ts.map +1 -1
- package/lib/component/elements/DialogManager.js.map +1 -1
- package/lib/component/elements/DraggableDialog.d.ts.map +1 -1
- package/lib/component/elements/DraggableDialog.js.map +1 -1
- package/lib/component/elements/EditableColumn.d.ts +9 -5
- package/lib/component/elements/EditableColumn.d.ts.map +1 -1
- package/lib/component/elements/EditableColumn.js +7 -7
- package/lib/component/elements/EditableColumn.js.map +1 -1
- package/lib/component/elements/Input.d.ts +2 -2
- package/lib/component/elements/Input.d.ts.map +1 -1
- package/lib/component/elements/Input.js.map +1 -1
- package/lib/component/elements/InputRange.d.ts.map +1 -1
- package/lib/component/elements/InputRange.js.map +1 -1
- package/lib/component/elements/Label.d.ts +1 -2
- package/lib/component/elements/Label.d.ts.map +1 -1
- package/lib/component/elements/MoleculeSelection.js.map +1 -1
- package/lib/component/elements/NumberInput2.d.ts +2 -1
- package/lib/component/elements/NumberInput2.d.ts.map +1 -1
- package/lib/component/elements/NumberInput2Controller.d.ts +1 -2
- package/lib/component/elements/NumberInput2Controller.d.ts.map +1 -1
- package/lib/component/elements/NumberInputField.d.ts +9 -0
- package/lib/component/elements/NumberInputField.d.ts.map +1 -0
- package/lib/component/elements/NumberInputField.js +8 -0
- package/lib/component/elements/NumberInputField.js.map +1 -0
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts +6 -1
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.js +2 -2
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.js.map +1 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts +5 -5
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.js +5 -5
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.js.map +1 -1
- package/lib/component/elements/ReactTable/ReactTable.d.ts +15 -9
- package/lib/component/elements/ReactTable/ReactTable.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/ReactTable.js +8 -4
- package/lib/component/elements/ReactTable/ReactTable.js.map +1 -1
- package/lib/component/elements/ReactTable/utility/addCustomColumn.d.ts +2 -1
- package/lib/component/elements/ReactTable/utility/addCustomColumn.d.ts.map +1 -1
- package/lib/component/elements/ReadOnly.d.ts +2 -2
- package/lib/component/elements/ReadOnly.d.ts.map +1 -1
- package/lib/component/elements/ReadOnly.js.map +1 -1
- package/lib/component/elements/Sections.js +1 -1
- package/lib/component/elements/Sections.js.map +1 -1
- package/lib/component/elements/Tab/DeleteButton.d.ts +2 -2
- package/lib/component/elements/Tab/DeleteButton.d.ts.map +1 -1
- package/lib/component/elements/TabTitle.d.ts.map +1 -1
- package/lib/component/elements/TabTitle.js.map +1 -1
- package/lib/component/elements/dropDownButton/DropDownButton.js.map +1 -1
- package/lib/component/elements/export/ExportContent.d.ts.map +1 -1
- package/lib/component/elements/export/ExportContent.js +13 -27
- package/lib/component/elements/export/ExportContent.js.map +1 -1
- package/lib/component/elements/export/ExportOptionsModal.js.map +1 -1
- package/lib/component/elements/export/units.d.ts +1 -1
- package/lib/component/elements/export/units.d.ts.map +1 -1
- package/lib/component/elements/export/units.js.map +1 -1
- package/lib/component/elements/export/useExportConfigurer.d.ts +1 -1
- package/lib/component/elements/export/useExportConfigurer.d.ts.map +1 -1
- package/lib/component/elements/export/useExportConfigurer.js.map +1 -1
- package/lib/component/elements/resizer/SVGResizer.d.ts +2 -1
- package/lib/component/elements/resizer/SVGResizer.d.ts.map +1 -1
- package/lib/component/header/Header.js +2 -2
- package/lib/component/header/Header.js.map +1 -1
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.js +43 -24
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/highlight/index.d.ts +59 -19
- package/lib/component/highlight/index.d.ts.map +1 -1
- package/lib/component/highlight/index.js +6 -4
- package/lib/component/highlight/index.js.map +1 -1
- package/lib/component/hooks/reduce2DSpectrum.d.ts +4 -0
- package/lib/component/hooks/reduce2DSpectrum.d.ts.map +1 -0
- package/lib/component/hooks/reduce2DSpectrum.js +60 -0
- package/lib/component/hooks/reduce2DSpectrum.js.map +1 -0
- package/lib/component/hooks/use2DReducer.d.ts +14 -0
- package/lib/component/hooks/use2DReducer.d.ts.map +1 -0
- package/lib/component/hooks/use2DReducer.js +30 -0
- package/lib/component/hooks/use2DReducer.js.map +1 -0
- package/lib/component/hooks/useCheckToolsVisibility.js.map +1 -1
- package/lib/component/hooks/useCombinedRefs.d.ts.map +1 -1
- package/lib/component/hooks/useCombinedRefs.js +1 -0
- package/lib/component/hooks/useCombinedRefs.js.map +1 -1
- package/lib/component/hooks/useCreateNmriumZip.d.ts +3 -0
- package/lib/component/hooks/useCreateNmriumZip.d.ts.map +1 -0
- package/lib/component/hooks/useCreateNmriumZip.js +28 -0
- package/lib/component/hooks/useCreateNmriumZip.js.map +1 -0
- package/lib/component/hooks/useExport.d.ts +8 -5
- package/lib/component/hooks/useExport.d.ts.map +1 -1
- package/lib/component/hooks/useExport.js +4 -21
- package/lib/component/hooks/useExport.js.map +1 -1
- package/lib/component/hooks/useFilter.d.ts.map +1 -1
- package/lib/component/hooks/useFilter.js.map +1 -1
- package/lib/component/hooks/useSVGUnitConverter.js.map +1 -1
- package/lib/component/hooks/useSaveSettings.d.ts.map +1 -1
- package/lib/component/hooks/useSaveSettings.js +3 -3
- package/lib/component/hooks/useSaveSettings.js.map +1 -1
- package/lib/component/hooks/useTableSortBy.d.ts +5 -4
- package/lib/component/hooks/useTableSortBy.d.ts.map +1 -1
- package/lib/component/hooks/useTableSortBy.js +3 -3
- package/lib/component/hooks/useTableSortBy.js.map +1 -1
- package/lib/component/hooks/useTriggerNewAssignmentLabel.d.ts +1 -1
- package/lib/component/hooks/useTriggerNewAssignmentLabel.d.ts.map +1 -1
- package/lib/component/hooks/useTriggerNewAssignmentLabel.js.map +1 -1
- package/lib/component/hooks/use_axis_unit.d.ts +24 -0
- package/lib/component/hooks/use_axis_unit.d.ts.map +1 -0
- package/lib/component/hooks/use_axis_unit.js +255 -0
- package/lib/component/hooks/use_axis_unit.js.map +1 -0
- package/lib/component/hooks/use_gridlines_config.d.ts +3 -0
- package/lib/component/hooks/use_gridlines_config.d.ts.map +1 -0
- package/lib/component/hooks/use_gridlines_config.js +15 -0
- package/lib/component/hooks/use_gridlines_config.js.map +1 -0
- package/lib/component/hooks/use_ticks_config.d.ts +5 -0
- package/lib/component/hooks/use_ticks_config.d.ts.map +1 -0
- package/lib/component/hooks/use_ticks_config.js +13 -0
- package/lib/component/hooks/use_ticks_config.js.map +1 -0
- package/lib/component/hooks/use_visible_spectra_1d.d.ts +3 -0
- package/lib/component/hooks/use_visible_spectra_1d.d.ts.map +1 -0
- package/lib/component/hooks/use_visible_spectra_1d.js +12 -0
- package/lib/component/hooks/use_visible_spectra_1d.js.map +1 -0
- package/lib/component/loader/useLoadFiles.d.ts +2 -1
- package/lib/component/loader/useLoadFiles.d.ts.map +1 -1
- package/lib/component/loader/useLoadFiles.js +19 -15
- package/lib/component/loader/useLoadFiles.js.map +1 -1
- package/lib/component/main/InnerNMRium.d.ts.map +1 -1
- package/lib/component/main/InnerNMRium.js +4 -4
- package/lib/component/main/InnerNMRium.js.map +1 -1
- package/lib/component/main/NMRium.d.ts +48 -3
- package/lib/component/main/NMRium.d.ts.map +1 -1
- package/lib/component/main/NMRium.js.map +1 -1
- package/lib/component/main/NMRiumRefAPI.d.ts +4 -0
- package/lib/component/main/NMRiumRefAPI.d.ts.map +1 -1
- package/lib/component/main/NMRiumRefAPI.js +5 -1
- package/lib/component/main/NMRiumRefAPI.js.map +1 -1
- package/lib/component/main/NMRiumStateProvider.d.ts +6 -2
- package/lib/component/main/NMRiumStateProvider.d.ts.map +1 -1
- package/lib/component/main/NMRiumStateProvider.js +46 -33
- package/lib/component/main/NMRiumStateProvider.js.map +1 -1
- package/lib/component/main/NMRiumViewer.js.map +1 -1
- package/lib/component/modal/LoadJCAMPModal.js +4 -4
- package/lib/component/modal/LoadJCAMPModal.js.map +1 -1
- package/lib/component/modal/MultipletAnalysisModal.d.ts +2 -2
- package/lib/component/modal/MultipletAnalysisModal.d.ts.map +1 -1
- package/lib/component/modal/MultipletAnalysisModal.js +1 -3
- package/lib/component/modal/MultipletAnalysisModal.js.map +1 -1
- package/lib/component/modal/PublicationStringModal.d.ts.map +1 -1
- package/lib/component/modal/PublicationStringModal.js +4 -0
- package/lib/component/modal/PublicationStringModal.js.map +1 -1
- package/lib/component/modal/SaveAsModal.d.ts +0 -2
- package/lib/component/modal/SaveAsModal.d.ts.map +1 -1
- package/lib/component/modal/SaveAsModal.js +1 -1
- package/lib/component/modal/SaveAsModal.js.map +1 -1
- package/lib/component/modal/changeSum/SelectMolecule.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts +2 -1
- package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/NewSignalTab.js.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.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/metaImportation/MetaImportationModal.js.map +1 -1
- package/lib/component/modal/metaImportation/utils/mapColumnToSelectItems.d.ts +4 -1
- package/lib/component/modal/metaImportation/utils/mapColumnToSelectItems.d.ts.map +1 -1
- package/lib/component/modal/metaImportation/utils/mapColumnToSelectItems.js.map +1 -1
- package/lib/component/modal/setting/WorkspaceItem.js +6 -6
- package/lib/component/modal/setting/WorkspaceItem.js.map +1 -1
- package/lib/component/modal/setting/general_settings.d.ts +2 -8
- package/lib/component/modal/setting/general_settings.d.ts.map +1 -1
- package/lib/component/modal/setting/general_settings.js +6 -229
- package/lib/component/modal/setting/general_settings.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts +2179 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.js +52 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts +2168 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.js +29 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings.d.ts +4 -2
- package/lib/component/modal/setting/tanstack_general_settings/general_settings.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings.js +51 -32
- package/lib/component/modal/setting/tanstack_general_settings/general_settings.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts +1734 -188
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js +14 -3
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +1118 -188
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.js +2 -8
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts +1551 -6
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.js +29 -40
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts +276 -0
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.js +53 -0
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts +1552 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.js +36 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts +1552 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.js +43 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts +1552 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js +81 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +1118 -188
- 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.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js +37 -9
- 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 +1552 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js +56 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts +1118 -188
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.js +2 -2
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +1118 -188
- 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 +1118 -188
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.js +67 -112
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +1118 -188
- 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/panels_tab.js +3 -3
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts +1552 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js +139 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts +1552 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.js +112 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts +1552 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.js +38 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.d.ts +7 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.js +16 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.d.ts +16 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.js +26 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.d.ts +14 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.js +18 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.d.ts +36 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.js +64 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts +15 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.js +56 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.d.ts +10 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.js +31 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/table_section.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.d.ts +75 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.js +17 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.d.ts +95 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.js +19 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/{utils/checkUniqueByKey.d.ts → validation/check_unique_by_key.d.ts} +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/check_unique_by_key.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/{utils/checkUniqueByKey.js → validation/check_unique_by_key.js} +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/check_unique_by_key.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/database_tab_validation.d.ts +11 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/database_tab_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/database_tab_validation.js +20 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/database_tab_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.d.ts +32 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.js +11 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts +20 -4
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.js +7 -6
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.d.ts +12 -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 +4 -3
- 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/panels_tab_validation.d.ts +20 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.js +12 -4
- package/lib/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_colors_tab_validation.d.ts +54 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_colors_tab_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_colors_tab_validation.js +22 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/spectra_colors_tab_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/title_block_tab_validation.d.ts +55 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/title_block_tab_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/title_block_tab_validation.js +18 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/title_block_tab_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.d.ts +32 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.js +34 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/utils.d.ts +13 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/utils.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/utils.js +20 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/utils.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts +317 -39
- package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation.js +19 -29
- package/lib/component/modal/setting/tanstack_general_settings/validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.d.ts +3 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.js +96 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.d.ts +3 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.js +55 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/props.d.ts +7 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/props.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/props.js +2 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/props.js.map +1 -0
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts.map +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.js +3 -3
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.js.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralTable.js +6 -7
- package/lib/component/panels/IntegralsPanel/IntegralTable.js.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralsPreferences.d.ts.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js +2 -3
- package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.d.ts.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js +2 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeHeader.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeHeader.js +5 -5
- package/lib/component/panels/MoleculesPanel/MoleculeHeader.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/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/MoleculeStructure.d.ts +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeStructure.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeStructure.js +36 -4
- package/lib/component/panels/MoleculesPanel/MoleculeStructure.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js +24 -20
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/extractFromAtom.d.ts +3 -3
- package/lib/component/panels/MoleculesPanel/utilities/extractFromAtom.js +3 -3
- package/lib/component/panels/Panels.d.ts.map +1 -1
- package/lib/component/panels/Panels.js.map +1 -1
- package/lib/component/panels/PanelsBar.d.ts.map +1 -1
- package/lib/component/panels/PanelsBar.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts +2 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js +2 -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 +3 -3
- package/lib/component/panels/PeaksPanel/PeaksTable.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPanel.d.ts +7 -0
- package/lib/component/panels/RangesPanel/RangesPanel.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPanel.js +6 -5
- package/lib/component/panels/RangesPanel/RangesPanel.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPreferences.d.ts +2 -1
- package/lib/component/panels/RangesPanel/RangesPreferences.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPreferences.js +2 -3
- package/lib/component/panels/RangesPanel/RangesPreferences.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTable.d.ts +4 -3
- package/lib/component/panels/RangesPanel/RangesTable.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTable.js +2 -3
- package/lib/component/panels/RangesPanel/RangesTable.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.d.ts +5 -5
- package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.js +8 -3
- package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.d.ts +1 -2
- package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.js +4 -4
- package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js +8 -7
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.d.ts +1 -2
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js +7 -5
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/hooks/useMapRanges.d.ts +11 -4
- package/lib/component/panels/RangesPanel/hooks/useMapRanges.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/hooks/useMapRanges.js +2 -4
- package/lib/component/panels/RangesPanel/hooks/useMapRanges.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.d.ts +2 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/RenderAsHTML.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/RenderAsHTML.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/RenderAsHTML.js +5 -9
- package/lib/component/panels/SpectraPanel/base/RenderAsHTML.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js +5 -4
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts +3 -2
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js +10 -5
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.js +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/SpectrumSetting.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts +4 -7
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.js +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts +18 -12
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js +9 -12
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.js +2 -2
- package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.js +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js +2 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.d.ts +2 -2
- package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.js +6 -8
- package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.d.ts +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.js +4 -3
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js +2 -0
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPreferences.d.ts +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPreferences.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPreferences.js +2 -3
- package/lib/component/panels/ZonesPanel/ZonesPreferences.js.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts +5 -4
- package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesTableRow.js +2 -2
- package/lib/component/panels/ZonesPanel/ZonesTableRow.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.js +57 -57
- package/lib/component/panels/databasePanel/DatabasePanel.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.d.ts +2 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.js +2 -3
- package/lib/component/panels/databasePanel/DatabasePreferences.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseTable.d.ts +1 -1
- package/lib/component/panels/databasePanel/DatabaseTable.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseTable.js +22 -3
- package/lib/component/panels/databasePanel/DatabaseTable.js.map +1 -1
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.d.ts +2 -2
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.d.ts.map +1 -1
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.js +6 -4
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.js.map +1 -1
- package/lib/component/panels/extra/utilities/settingImperativeHandle.d.ts +3 -3
- package/lib/component/panels/extra/utilities/settingImperativeHandle.d.ts.map +1 -1
- package/lib/component/panels/extra/utilities/settingImperativeHandle.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js +61 -19
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +27 -34
- 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.d.ts.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.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.d.ts +49 -0
- package/lib/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.js +2 -0
- package/lib/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.js.map +1 -0
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts +128 -48
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js +106 -41
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js.map +1 -1
- package/lib/component/panels/header/DefaultPanelHeader.js +1 -3
- package/lib/component/panels/header/DefaultPanelHeader.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.d.ts +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js +2 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.d.ts +3 -3
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.js +2 -2
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.d.ts +4 -3
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.js +2 -2
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionOptionsPanel.d.ts +2 -1
- package/lib/component/panels/predictionPanel/PredictionOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js +2 -3
- package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionPreferences.d.ts +2 -1
- package/lib/component/panels/predictionPanel/PredictionPreferences.d.ts.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionPreferences.js +2 -3
- package/lib/component/panels/predictionPanel/PredictionPreferences.js.map +1 -1
- package/lib/component/reducer/Reducer.d.ts.map +1 -1
- package/lib/component/reducer/Reducer.js +14 -11
- package/lib/component/reducer/Reducer.js.map +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.js +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.js.map +1 -1
- package/lib/component/reducer/actions/DatabaseActions.d.ts +8 -11
- package/lib/component/reducer/actions/DatabaseActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DatabaseActions.js +87 -51
- package/lib/component/reducer/actions/DatabaseActions.js.map +1 -1
- package/lib/component/reducer/actions/DomainActions.js.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.d.ts +6 -7
- package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.js +77 -70
- package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
- package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/InsetActions.js +8 -8
- package/lib/component/reducer/actions/InsetActions.js.map +1 -1
- package/lib/component/reducer/actions/LoadAction.d.ts +1 -4
- package/lib/component/reducer/actions/LoadAction.d.ts.map +1 -1
- package/lib/component/reducer/actions/LoadAction.js +28 -18
- package/lib/component/reducer/actions/LoadAction.js.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.js +10 -4
- package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.js +1 -2
- package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.d.ts +1 -1
- package/lib/component/reducer/actions/RangesActions.d.ts +3 -3
- package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/RangesActions.js +6 -3
- package/lib/component/reducer/actions/RangesActions.js.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts +7 -2
- package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.js +30 -17
- package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.d.ts +2 -14
- package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.js +5 -35
- package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
- package/lib/component/reducer/actions/unit_actions.d.ts +28 -0
- package/lib/component/reducer/actions/unit_actions.d.ts.map +1 -0
- package/lib/component/reducer/actions/unit_actions.js +58 -0
- package/lib/component/reducer/actions/unit_actions.js.map +1 -0
- package/lib/component/reducer/helper/Zoom1DManager.d.ts.map +1 -1
- package/lib/component/reducer/helper/Zoom1DManager.js +2 -2
- package/lib/component/reducer/helper/Zoom1DManager.js.map +1 -1
- package/lib/component/reducer/helper/ZoomHistoryManager.d.ts.map +1 -1
- package/lib/component/reducer/helper/ZoomHistoryManager.js +1 -2
- package/lib/component/reducer/helper/ZoomHistoryManager.js.map +1 -1
- package/lib/component/reducer/helper/removeSpectrumRelatedObjectsById.js +1 -1
- package/lib/component/reducer/helper/removeSpectrumRelatedObjectsById.js.map +1 -1
- package/lib/component/reducer/preferences/actions/addWorkspace.js.map +1 -1
- package/lib/component/reducer/preferences/actions/analyzeSpectra.js.map +1 -1
- package/lib/component/reducer/preferences/actions/applyGeneralPreferences.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/applyGeneralPreferences.js.map +1 -1
- package/lib/component/reducer/preferences/actions/setWorkspace.js.map +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.d.ts +3 -3
- package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.js +1 -1
- package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.d.ts +3 -2
- package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.d.ts.map +1 -1
- package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.js +3 -2
- package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.js.map +1 -1
- package/lib/component/utility/Evaluate.d.ts +1 -1
- package/lib/component/utility/Evaluate.d.ts.map +1 -1
- package/lib/component/utility/Evaluate.js.map +1 -1
- package/lib/component/utility/LocalStorage.d.ts +3 -3
- package/lib/component/utility/LocalStorage.d.ts.map +1 -1
- package/lib/component/utility/LocalStorage.js.map +1 -1
- package/lib/component/utility/convertPathArrayToString.d.ts +1 -1
- package/lib/component/utility/convertPathArrayToString.d.ts.map +1 -1
- package/lib/component/utility/convertPathArrayToString.js.map +1 -1
- package/lib/component/utility/export.d.ts +3 -3
- package/lib/component/utility/export.d.ts.map +1 -1
- package/lib/component/utility/export.js +5 -6
- package/lib/component/utility/export.js.map +1 -1
- package/lib/component/utility/merge_replace_array.d.ts +8 -0
- package/lib/component/utility/merge_replace_array.d.ts.map +1 -0
- package/lib/component/utility/merge_replace_array.js +14 -0
- package/lib/component/utility/merge_replace_array.js.map +1 -0
- package/lib/component/utility/nucleusToString.d.ts +1 -1
- package/lib/component/utility/nucleusToString.d.ts.map +1 -1
- package/lib/component/utility/nucleusToString.js.map +1 -1
- package/lib/component/utility/replaceNucleiObjectKeys.js.map +1 -1
- package/lib/component/utility/stackOverlappingLabels.d.ts +5 -0
- package/lib/component/utility/stackOverlappingLabels.d.ts.map +1 -1
- package/lib/component/utility/stackOverlappingLabels.js +18 -6
- package/lib/component/utility/stackOverlappingLabels.js.map +1 -1
- package/lib/component/workspaces/exercise.d.ts.map +1 -1
- package/lib/component/workspaces/exercise.js +8 -0
- package/lib/component/workspaces/exercise.js.map +1 -1
- package/lib/component/workspaces/index.d.ts +7 -7
- package/lib/component/workspaces/index.d.ts.map +1 -1
- package/lib/component/workspaces/index.js.map +1 -1
- package/lib/component/workspaces/prediction.d.ts.map +1 -1
- package/lib/component/workspaces/prediction.js +8 -0
- package/lib/component/workspaces/prediction.js.map +1 -1
- package/lib/component/workspaces/simulation.d.ts.map +1 -1
- package/lib/component/workspaces/simulation.js +8 -0
- package/lib/component/workspaces/simulation.js.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.d.ts +3 -1
- package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.js +62 -0
- package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
- package/lib/data/PredictionManager.d.ts.map +1 -1
- package/lib/data/PredictionManager.js +12 -2
- package/lib/data/PredictionManager.js.map +1 -1
- package/lib/data/SpectraManager.d.ts +1 -2
- package/lib/data/SpectraManager.d.ts.map +1 -1
- package/lib/data/SpectraManager.js +3 -36
- package/lib/data/SpectraManager.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/get1DColor.d.ts +2 -2
- package/lib/data/data1d/Spectrum1D/get1DColor.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/get1DColor.js +6 -7
- package/lib/data/data1d/Spectrum1D/get1DColor.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/get1DDataXY.d.ts +0 -5
- package/lib/data/data1d/Spectrum1D/get1DDataXY.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/get1DDataXY.js +0 -5
- package/lib/data/data1d/Spectrum1D/get1DDataXY.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/getReferenceShift.d.ts +4 -9
- package/lib/data/data1d/Spectrum1D/getReferenceShift.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/getReferenceShift.js +3 -9
- package/lib/data/data1d/Spectrum1D/getReferenceShift.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts +11 -2
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js +2 -2
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.d.ts +2 -2
- package/lib/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.js +2 -2
- package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts +4 -2
- package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignals.js +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignals.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.d.ts +7 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js +4 -2
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js.map +1 -1
- package/lib/data/data1d/database.js.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts +7 -1
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.js +3 -3
- package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.d.ts +8 -6
- package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.js +30 -10
- package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/get2DColor.d.ts +2 -2
- package/lib/data/data2d/Spectrum2D/get2DColor.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/get2DColor.js +8 -9
- package/lib/data/data2d/Spectrum2D/get2DColor.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/getMissingProjection.js +2 -2
- package/lib/data/data2d/Spectrum2D/getMissingProjection.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/getSlice.d.ts +6 -4
- package/lib/data/data2d/Spectrum2D/getSlice.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/getSlice.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.js +1 -10
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.js +1 -1
- package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.js.map +1 -1
- package/lib/data/molecules/Molecule.d.ts +5 -1
- package/lib/data/molecules/Molecule.d.ts.map +1 -1
- package/lib/data/molecules/Molecule.js +10 -8
- package/lib/data/molecules/Molecule.js.map +1 -1
- package/lib/data/molecules/MoleculeManager.d.ts +0 -6
- package/lib/data/molecules/MoleculeManager.d.ts.map +1 -1
- package/lib/data/molecules/MoleculeManager.js +25 -25
- package/lib/data/molecules/MoleculeManager.js.map +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.d.ts +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.d.ts.map +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.js +2 -2
- package/lib/data/parseMeta/linkMetaWithSpectra.js.map +1 -1
- package/lib/data/utilities/RangeUtilities.d.ts +0 -8
- package/lib/data/utilities/RangeUtilities.d.ts.map +1 -1
- package/lib/data/utilities/RangeUtilities.js.map +1 -1
- package/lib/data/utilities/checkModifierKeyActivated.d.ts +1 -1
- package/lib/data/utilities/checkModifierKeyActivated.d.ts.map +1 -1
- package/lib/data/utilities/checkModifierKeyActivated.js.map +1 -1
- package/lib/data/utilities/isNumber.d.ts +1 -1
- package/lib/data/utilities/isNumber.d.ts.map +1 -1
- package/lib/data/utilities/isNumber.js.map +1 -1
- package/lib/versionInfo.d.ts.map +1 -1
- package/lib/versionInfo.js +1 -1
- package/lib/versionInfo.js.map +1 -1
- package/package.json +54 -53
- package/src/component/1d/BrushTracker1D.tsx +18 -12
- package/src/component/1d/FloatPublicationString.tsx +52 -34
- package/src/component/1d/HorizontalAxis1D.tsx +69 -0
- package/src/component/1d/Line.tsx +1 -1
- package/src/component/1d/LinesSeries.tsx +2 -17
- package/src/component/1d/SVGContent1D.tsx +2 -4
- package/src/component/1d/Viewer1D.tsx +2 -0
- package/src/component/1d/baseline/BaselinePreview.tsx +242 -0
- package/src/component/1d/baseline/getMedianWindow.ts +6 -0
- package/src/component/1d/baseline/getMedianY.ts +15 -0
- package/src/component/1d/database/DatabaseElements.tsx +9 -4
- package/src/component/1d/database/DatabaseSpectrum.tsx +11 -3
- package/src/component/1d/database/ResurrectedDatabaseRanges.tsx +8 -2
- package/src/component/1d/integral/IntegralsSeries.tsx +1 -1
- package/src/component/1d/jCouplingGraph/JGraphVerticalAxis.tsx +1 -1
- package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +6 -5
- package/src/component/1d/peaks/PeakAnnotations.tsx +1 -1
- package/src/component/1d/peaks/PeakAnnotationsSpreadMode.tsx +3 -0
- package/src/component/1d/peaks/PeakEditionManager.tsx +2 -5
- package/src/component/1d/peaks/usePeakShapesPath.ts +1 -1
- package/src/component/1d/ranges/Range.tsx +3 -3
- package/src/component/1d/ranges/Ranges.tsx +2 -2
- package/src/component/1d/tool/BaseLine.tsx +1 -1
- package/src/component/1d/tool/PeakPointer.tsx +3 -1
- package/src/component/1d/utilities/scale.ts +20 -13
- package/src/component/1d-2d/FieldEdition.tsx +2 -2
- package/src/component/1d-2d/components/SpectrumInfoBlock.tsx +10 -22
- package/src/component/1d-2d/components/axis_unit_picker.tsx +53 -0
- package/src/component/1d-2d/tools/BrushXY.tsx +6 -6
- package/src/component/2d/1d-tracer/VerticalSliceChart.tsx +1 -1
- package/src/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.tsx +2 -2
- package/src/component/2d/DirectAxis2D.tsx +104 -0
- package/src/component/2d/IndirectAxis2D.tsx +139 -0
- package/src/component/2d/SVGContent2D.tsx +4 -4
- package/src/component/2d/fid/FidCanvas.tsx +2 -2
- package/src/component/2d/ft/Contours.tsx +14 -27
- package/src/component/2d/utilities/extractSpectrumSignals.ts +2 -2
- package/src/component/2d/utilities/scale.ts +26 -6
- package/src/component/2d/zones/Signal.tsx +8 -12
- package/src/component/2d/zones/SignalCrosshair.tsx +3 -2
- package/src/component/2d/zones/SignalsGuideLines.tsx +2 -2
- package/src/component/2d/zones/Zone.tsx +4 -4
- package/src/component/EventsTrackers/BrushTracker.tsx +15 -7
- package/src/component/EventsTrackers/KeysListenerTracker.tsx +115 -128
- package/src/component/EventsTrackers/MouseTracker.tsx +10 -14
- package/src/component/SVGTable.tsx +5 -5
- package/src/component/assignment/utilities/getAssignments.ts +1 -1
- package/src/component/context/DispatchContext.tsx +3 -1
- package/src/component/context/FilterSyncOptionsContext.tsx +62 -20
- package/src/component/context/ScaleContext.tsx +17 -15
- package/src/component/context/SortSpectraContext.tsx +1 -1
- package/src/component/elements/ActionsButtonsPopover.tsx +4 -5
- package/src/component/elements/Alert.tsx +2 -2
- package/src/component/elements/Anchor.tsx +361 -0
- package/src/component/elements/Button.tsx +2 -1
- package/src/component/elements/ColumnWrapper.tsx +3 -1
- package/src/component/elements/ContextMenuBluePrint.tsx +2 -2
- package/src/component/elements/D3Axis.tsx +118 -47
- package/src/component/elements/DialogManager.tsx +1 -1
- package/src/component/elements/DraggableDialog.tsx +3 -3
- package/src/component/elements/EditableColumn.tsx +22 -16
- package/src/component/elements/Input.tsx +3 -2
- package/src/component/elements/InputRange.tsx +3 -3
- package/src/component/elements/Label.tsx +1 -1
- package/src/component/elements/MoleculeSelection.tsx +1 -1
- package/src/component/elements/NumberInput2.tsx +2 -2
- package/src/component/elements/NumberInput2Controller.tsx +1 -1
- package/src/component/elements/NumberInputField.tsx +23 -0
- package/src/component/elements/ReactTable/Elements/EmptyDataRow.tsx +8 -3
- package/src/component/elements/ReactTable/Elements/ReactTableRow.tsx +23 -11
- package/src/component/elements/ReactTable/ReactTable.tsx +44 -14
- package/src/component/elements/ReactTable/utility/addCustomColumn.tsx +2 -2
- package/src/component/elements/ReadOnly.tsx +3 -3
- package/src/component/elements/Sections.tsx +2 -2
- package/src/component/elements/Tab/DeleteButton.tsx +2 -2
- package/src/component/elements/TabTitle.tsx +2 -2
- package/src/component/elements/dropDownButton/DropDownButton.tsx +1 -1
- package/src/component/elements/export/ExportContent.tsx +12 -32
- package/src/component/elements/export/ExportOptionsModal.tsx +1 -1
- package/src/component/elements/export/units.ts +1 -1
- package/src/component/elements/export/useExportConfigurer.tsx +1 -1
- package/src/component/elements/resizer/SVGResizer.tsx +3 -3
- package/src/component/header/Header.tsx +2 -2
- package/src/component/header/SimpleBaseLineCorrectionOptionsPanel.tsx +144 -84
- package/src/component/highlight/index.tsx +57 -38
- package/src/component/hooks/reduce2DSpectrum.ts +98 -0
- package/src/component/hooks/use2DReducer.tsx +56 -0
- package/src/component/hooks/useCheckToolsVisibility.ts +1 -1
- package/src/component/hooks/useCombinedRefs.ts +1 -0
- package/src/component/hooks/useCreateNmriumZip.ts +37 -0
- package/src/component/hooks/useExport.tsx +16 -31
- package/src/component/hooks/useFilter.ts +1 -2
- package/src/component/hooks/useSVGUnitConverter.ts +1 -1
- package/src/component/hooks/useSaveSettings.tsx +8 -5
- package/src/component/hooks/useTableSortBy.tsx +12 -8
- package/src/component/hooks/useTriggerNewAssignmentLabel.ts +1 -1
- package/src/component/hooks/use_axis_unit.ts +329 -0
- package/src/component/hooks/use_gridlines_config.ts +18 -0
- package/src/component/hooks/use_ticks_config.ts +15 -0
- package/src/component/hooks/use_visible_spectra_1d.ts +21 -0
- package/src/component/loader/useLoadFiles.ts +30 -28
- package/src/component/main/InnerNMRium.tsx +7 -4
- package/src/component/main/NMRium.tsx +50 -2
- package/src/component/main/NMRiumRefAPI.ts +11 -1
- package/src/component/main/NMRiumStateProvider.tsx +70 -38
- package/src/component/main/NMRiumViewer.tsx +1 -1
- package/src/component/modal/LoadJCAMPModal.tsx +4 -4
- package/src/component/modal/MultipletAnalysisModal.tsx +2 -2
- package/src/component/modal/PublicationStringModal.tsx +10 -1
- package/src/component/modal/SaveAsModal.tsx +1 -1
- package/src/component/modal/changeSum/SelectMolecule.tsx +1 -1
- package/src/component/modal/editRange/forms/components/NewSignalTab.tsx +3 -2
- package/src/component/modal/editRange/forms/components/SignalsContent.tsx +3 -3
- package/src/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.tsx +4 -4
- package/src/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.tsx +7 -3
- package/src/component/modal/metaImportation/MetaImportationModal.tsx +2 -2
- package/src/component/modal/metaImportation/utils/mapColumnToSelectItems.ts +1 -1
- package/src/component/modal/setting/WorkspaceItem.tsx +7 -7
- package/src/component/modal/setting/general_settings.tsx +13 -503
- package/src/component/modal/setting/tanstack_general_settings/errors/context.tsx +94 -0
- package/src/component/modal/setting/tanstack_general_settings/errors/renderer.tsx +56 -0
- package/src/component/modal/setting/tanstack_general_settings/general_settings.tsx +83 -50
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.tsx +59 -2
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.tsx +15 -20
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.tsx +45 -79
- package/src/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.ts +89 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.tsx +75 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/axis_tab.tsx +116 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/database_tab.tsx +187 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.tsx +48 -8
- package/src/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.tsx +123 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/general_tab.tsx +12 -6
- package/src/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.tsx +124 -233
- package/src/component/modal/setting/tanstack_general_settings/tabs/panels_tab.tsx +10 -10
- package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.tsx +298 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.tsx +218 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/tools_tab.tsx +155 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/cell_actions.tsx +18 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.tsx +45 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.tsx +42 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/cell_input.tsx +127 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/table.tsx +71 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/table_section.tsx +52 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.ts +21 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.ts +24 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/database_tab_validation.ts +23 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/external_apis_validation.ts +12 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.ts +8 -6
- package/src/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.ts +11 -8
- package/src/component/modal/setting/tanstack_general_settings/validation/panels_tab_validation.ts +17 -9
- package/src/component/modal/setting/tanstack_general_settings/validation/spectra_colors_tab_validation.ts +29 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/title_block_tab_validation.ts +26 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.ts +34 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/utils.ts +30 -0
- package/src/component/modal/setting/tanstack_general_settings/validation.ts +19 -33
- package/src/component/modal/setting/tanstack_general_settings/workspaces/actions.tsx +173 -0
- package/src/component/modal/setting/tanstack_general_settings/workspaces/picker.tsx +91 -0
- package/src/component/modal/setting/tanstack_general_settings/workspaces/props.ts +8 -0
- package/src/component/panels/AutomaticAssignment/AutomaticAssignmentTable.tsx +4 -3
- package/src/component/panels/IntegralsPanel/IntegralTable.tsx +11 -10
- package/src/component/panels/IntegralsPanel/IntegralsPreferences.tsx +63 -60
- package/src/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.tsx +6 -1
- package/src/component/panels/MoleculesPanel/MoleculeHeader.tsx +7 -6
- package/src/component/panels/MoleculesPanel/MoleculePanel.tsx +1 -0
- package/src/component/panels/MoleculesPanel/MoleculeStructure.tsx +45 -5
- package/src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx +38 -33
- package/src/component/panels/MoleculesPanel/utilities/extractFromAtom.ts +3 -3
- package/src/component/panels/Panels.tsx +2 -1
- package/src/component/panels/PanelsBar.tsx +4 -3
- package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +34 -33
- package/src/component/panels/PeaksPanel/PeaksTable.tsx +9 -8
- package/src/component/panels/RangesPanel/RangesPanel.tsx +19 -16
- package/src/component/panels/RangesPanel/RangesPreferences.tsx +47 -46
- package/src/component/panels/RangesPanel/RangesTable.tsx +5 -5
- package/src/component/panels/RangesPanel/RangesTableRow.tsx +19 -15
- package/src/component/panels/RangesPanel/TableColumns/RelativeColumn.tsx +4 -10
- package/src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx +9 -9
- package/src/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.tsx +8 -11
- package/src/component/panels/RangesPanel/hooks/useMapRanges.ts +16 -7
- package/src/component/panels/SpectraPanel/SpectraTable.tsx +2 -2
- package/src/component/panels/SpectraPanel/base/RenderAsHTML.tsx +7 -10
- package/src/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.tsx +5 -7
- package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +15 -10
- package/src/component/panels/SpectraPanel/base/setting/SpectrumSetting.tsx +1 -1
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.tsx +5 -4
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx +3 -2
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.tsx +4 -11
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx +32 -27
- package/src/component/panels/SummaryPanel/SetMolecularFormulaModal.tsx +15 -7
- package/src/component/panels/SummaryPanel/SummaryPanel.tsx +1 -1
- package/src/component/panels/SummaryPanel/utilities/Utilities.ts +1 -1
- package/src/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.tsx +4 -7
- package/src/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.tsx +6 -9
- package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.tsx +6 -5
- package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.tsx +5 -1
- package/src/component/panels/ZonesPanel/ZonesPreferences.tsx +57 -57
- package/src/component/panels/ZonesPanel/ZonesTableRow.tsx +11 -12
- package/src/component/panels/databasePanel/DatabasePanel.tsx +75 -67
- package/src/component/panels/databasePanel/DatabasePreferences.tsx +114 -113
- package/src/component/panels/databasePanel/DatabaseTable.tsx +34 -3
- package/src/component/panels/extra/utilities/MultiplicityUtilities.ts +9 -6
- package/src/component/panels/extra/utilities/settingImperativeHandle.ts +3 -3
- package/src/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.tsx +328 -81
- package/src/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.tsx +4 -3
- package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +37 -54
- package/src/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.tsx +3 -3
- package/src/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.tsx +3 -3
- package/src/component/panels/filtersPanel/Filters/ShiftOptionsPanel.tsx +3 -2
- package/src/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.tsx +5 -5
- package/src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx +3 -2
- package/src/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.ts +55 -0
- package/src/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.tsx +148 -69
- package/src/component/panels/multipleAnalysisPanel/AnalysisChart.tsx +2 -1
- package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.tsx +18 -12
- package/src/component/panels/multipleAnalysisPanel/base/AnalysisCell.tsx +3 -4
- package/src/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.tsx +5 -10
- package/src/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.tsx +1 -1
- package/src/component/panels/predictionPanel/PredictionOptionsPanel.tsx +138 -109
- package/src/component/panels/predictionPanel/PredictionPreferences.tsx +34 -34
- package/src/component/reducer/Reducer.ts +23 -13
- package/src/component/reducer/actions/CorrelationsActions.ts +1 -1
- package/src/component/reducer/actions/DatabaseActions.ts +131 -81
- package/src/component/reducer/actions/DomainActions.ts +4 -4
- package/src/component/reducer/actions/FiltersActions.ts +98 -103
- package/src/component/reducer/actions/InsetActions.ts +8 -5
- package/src/component/reducer/actions/LoadAction.ts +36 -27
- package/src/component/reducer/actions/MoleculeActions.ts +10 -4
- package/src/component/reducer/actions/PeaksActions.ts +1 -1
- package/src/component/reducer/actions/PreferencesActions.ts +1 -1
- package/src/component/reducer/actions/RangesActions.ts +9 -6
- package/src/component/reducer/actions/SpectraActions.ts +56 -22
- package/src/component/reducer/actions/ToolsActions.ts +4 -72
- package/src/component/reducer/actions/unit_actions.ts +138 -0
- package/src/component/reducer/helper/Zoom1DManager.ts +2 -1
- package/src/component/reducer/helper/ZoomHistoryManager.ts +1 -2
- package/src/component/reducer/helper/removeSpectrumRelatedObjectsById.ts +1 -1
- package/src/component/reducer/preferences/actions/addWorkspace.ts +1 -1
- package/src/component/reducer/preferences/actions/analyzeSpectra.ts +1 -1
- package/src/component/reducer/preferences/actions/applyGeneralPreferences.ts +1 -2
- package/src/component/reducer/preferences/actions/setWorkspace.ts +1 -1
- package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +1 -1
- package/src/component/reducer/preferences/preferencesReducer.ts +4 -4
- package/src/component/reducer/preferences/utilities/getPreferencesByWorkspace.ts +8 -8
- package/src/component/utility/Evaluate.ts +1 -1
- package/src/component/utility/LocalStorage.ts +6 -3
- package/src/component/utility/convertPathArrayToString.ts +1 -1
- package/src/component/utility/export.ts +13 -12
- package/src/component/utility/merge_replace_array.ts +12 -0
- package/src/component/utility/nucleusToString.ts +1 -1
- package/src/component/utility/replaceNucleiObjectKeys.ts +1 -1
- package/src/component/utility/stackOverlappingLabels.ts +27 -9
- package/src/component/workspaces/exercise.ts +8 -0
- package/src/component/workspaces/index.ts +1 -1
- package/src/component/workspaces/prediction.ts +8 -0
- package/src/component/workspaces/simulation.ts +8 -0
- package/src/component/workspaces/workspaceDefaultProperties.ts +73 -14
- package/src/data/PredictionManager.ts +32 -7
- package/src/data/SpectraManager.ts +3 -44
- package/src/data/data1d/Spectrum1D/get1DColor.ts +12 -14
- package/src/data/data1d/Spectrum1D/get1DDataXY.ts +0 -7
- package/src/data/data1d/Spectrum1D/getReferenceShift.ts +5 -10
- package/src/data/data1d/Spectrum1D/peaks/autoPeakPicking.ts +17 -6
- package/src/data/data1d/Spectrum1D/peaks/optimizePeaks.ts +3 -7
- package/src/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.ts +2 -2
- package/src/data/data1d/Spectrum1D/ranges/detectSignals.ts +11 -8
- package/src/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.ts +9 -3
- package/src/data/data1d/Spectrum1D/ranges/resurrectSpectrum.ts +4 -0
- package/src/data/data1d/database.ts +1 -1
- package/src/data/data1d/multipleSpectraAnalysis.ts +20 -7
- package/src/data/data2d/Spectrum2D/contours.ts +40 -19
- package/src/data/data2d/Spectrum2D/get2DColor.ts +10 -15
- package/src/data/data2d/Spectrum2D/getMissingProjection.ts +2 -2
- package/src/data/data2d/Spectrum2D/getSlice.ts +6 -5
- package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +2 -18
- package/src/data/data2d/Spectrum2D/zones/changeZoneSignal.ts +2 -2
- package/src/data/molecules/Molecule.ts +18 -8
- package/src/data/molecules/MoleculeManager.ts +31 -29
- package/src/data/parseMeta/linkMetaWithSpectra.ts +4 -4
- package/src/data/utilities/RangeUtilities.ts +1 -9
- package/src/data/utilities/checkModifierKeyActivated.ts +1 -1
- package/src/data/utilities/isNumber.ts +1 -1
- package/src/versionInfo.ts +1 -1
- package/lib/component/1d/XAxis1D.d.ts +0 -6
- package/lib/component/1d/XAxis1D.d.ts.map +0 -1
- package/lib/component/1d/XAxis1D.js +0 -24
- package/lib/component/1d/XAxis1D.js.map +0 -1
- package/lib/component/1d/tool/BaseLineZones.d.ts +0 -3
- package/lib/component/1d/tool/BaseLineZones.d.ts.map +0 -1
- package/lib/component/1d/tool/BaseLineZones.js +0 -41
- package/lib/component/1d/tool/BaseLineZones.js.map +0 -1
- package/lib/component/2d/XAxis.d.ts.map +0 -1
- package/lib/component/2d/XAxis.js +0 -22
- package/lib/component/2d/XAxis.js.map +0 -1
- package/lib/component/2d/YAxis.d.ts +0 -12
- package/lib/component/2d/YAxis.d.ts.map +0 -1
- package/lib/component/2d/YAxis.js +0 -27
- package/lib/component/2d/YAxis.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.d.ts +0 -9
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js +0 -118
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.d.ts +0 -3
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js +0 -153
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ExportTabContent.d.ts +0 -2
- package/lib/component/modal/setting/settings-tabs/ExportTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ExportTabContent.js +0 -73
- package/lib/component/modal/setting/settings-tabs/ExportTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.d.ts +0 -2
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js +0 -89
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/GeneralTabContent.d.ts +0 -3
- package/lib/component/modal/setting/settings-tabs/GeneralTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js +0 -46
- package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.d.ts +0 -3
- package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.js +0 -103
- package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.d.ts +0 -3
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js +0 -99
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.d.ts +0 -2
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js +0 -106
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.d.ts +0 -3
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js +0 -52
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.d.ts +0 -3
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js +0 -138
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.d.ts +0 -2
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.js +0 -149
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.js.map +0 -1
- package/lib/component/modal/setting/settingsValidation.d.ts +0 -2
- package/lib/component/modal/setting/settingsValidation.d.ts.map +0 -1
- package/lib/component/modal/setting/settingsValidation.js +0 -70
- package/lib/component/modal/setting/settingsValidation.js.map +0 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.d.ts +0 -7
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.d.ts.map +0 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.js +0 -105
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.js.map +0 -1
- package/lib/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.d.ts.map +0 -1
- package/lib/component/modal/setting/tanstack_general_settings/utils/checkUniqueByKey.js.map +0 -1
- package/lib/data/types/common/Keys.d.ts +0 -4
- package/lib/data/types/common/Keys.d.ts.map +0 -1
- package/lib/data/types/common/Keys.js +0 -2
- package/lib/data/types/common/Keys.js.map +0 -1
- package/src/component/1d/XAxis1D.tsx +0 -54
- package/src/component/1d/tool/BaseLineZones.tsx +0 -83
- package/src/component/2d/XAxis.tsx +0 -58
- package/src/component/2d/YAxis.tsx +0 -79
- package/src/component/modal/setting/settings-tabs/DatabasesTabContent.tsx +0 -278
- package/src/component/modal/setting/settings-tabs/DisplayTabContent.tsx +0 -221
- package/src/component/modal/setting/settings-tabs/ExportTabContent.tsx +0 -252
- package/src/component/modal/setting/settings-tabs/ExternalAPIsTabContent.tsx +0 -193
- package/src/component/modal/setting/settings-tabs/GeneralTabContent.tsx +0 -152
- package/src/component/modal/setting/settings-tabs/ImportationFiltersTabContent.tsx +0 -173
- package/src/component/modal/setting/settings-tabs/InfoBlockTabContent.tsx +0 -224
- package/src/component/modal/setting/settings-tabs/NucleiTabContent.tsx +0 -230
- package/src/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.tsx +0 -113
- package/src/component/modal/setting/settings-tabs/SpectraColorsTabContent.tsx +0 -308
- package/src/component/modal/setting/settings-tabs/ToolsTabContent.tsx +0 -181
- package/src/component/modal/setting/settingsValidation.ts +0 -92
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.tsx +0 -218
- package/src/data/types/common/Keys.ts +0 -11
- /package/src/component/modal/setting/tanstack_general_settings/{utils/checkUniqueByKey.ts → validation/check_unique_by_key.ts} +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { isSpectrum1D } from "../../data/data1d/Spectrum1D/index.js";
|
|
2
|
+
import { useInsetOptions } from "../1d/inset/InsetProvider.js";
|
|
3
|
+
import { useChartData } from "../context/ChartContext.js";
|
|
4
|
+
export function useVisibleSpectra1D() {
|
|
5
|
+
const { xDomains, data } = useChartData();
|
|
6
|
+
const inset = useInsetOptions();
|
|
7
|
+
if (inset) {
|
|
8
|
+
return data?.filter((d) => isSpectrum1D(d) && d.id === inset.spectrumKey);
|
|
9
|
+
}
|
|
10
|
+
return data?.filter((d) => isSpectrum1D(d) && d.display.isVisible && xDomains[d.id]);
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=use_visible_spectra_1d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use_visible_spectra_1d.js","sourceRoot":"","sources":["../../../src/component/hooks/use_visible_spectra_1d.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA+B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA6B,CAAC;AAE3D,MAAM,UAAU,mBAAmB;IACjC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,YAAY,EAAE,CAAC;IAE1C,MAAM,KAAK,GAAG,eAAe,EAAE,CAAC;IAEhC,IAAI,KAAK,EAAE,CAAC;QACV,OAAO,IAAI,EAAE,MAAM,CACjB,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,KAAK,KAAK,CAAC,WAAW,CACrC,CAAC;IACpB,CAAC;IAED,OAAO,IAAI,EAAE,MAAM,CACjB,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,SAAS,IAAI,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAChD,CAAC;AACpB,CAAC"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { FileCollection } from 'file-collection';
|
|
2
|
+
export declare function useLoadFiles(onOpenMetaInformation?: (file: File) => void): (files: File[] | FileCollection) => void;
|
|
2
3
|
//# sourceMappingURL=useLoadFiles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLoadFiles.d.ts","sourceRoot":"","sources":["../../../src/component/loader/useLoadFiles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useLoadFiles.d.ts","sourceRoot":"","sources":["../../../src/component/loader/useLoadFiles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAcjD,wBAAgB,YAAY,CAAC,qBAAqB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,WAsH7D,IAAI,EAAE,GAAG,cAAc,UAclC"}
|
|
@@ -33,51 +33,55 @@ export function useLoadFiles(onOpenMetaInformation) {
|
|
|
33
33
|
});
|
|
34
34
|
}, [dispatch, dispatchPreferences, workspacePreferences]);
|
|
35
35
|
const loadNmriumArchives = useCallback(async (file, parsingOptions) => {
|
|
36
|
-
const
|
|
37
|
-
dispatchPayload({ nmriumState, aggregator, containsNmrium
|
|
36
|
+
const { state, aggregator, containsNmrium } = await core.readNMRiumArchive(file.stream(), parsingOptions);
|
|
37
|
+
dispatchPayload({ nmriumState: state, aggregator, containsNmrium });
|
|
38
38
|
}, [core, dispatchPayload]);
|
|
39
39
|
const loadFileCollection = useCallback(async (fileCollection, metaFile, parsingOptions) => {
|
|
40
40
|
const parseMetaFileResult = metaFile
|
|
41
41
|
? await parseMetaFile(metaFile)
|
|
42
42
|
: null;
|
|
43
|
-
const { nmriumState, containsNmrium,
|
|
43
|
+
const { state: nmriumState, containsNmrium, aggregator, } = await core.read(fileCollection, parsingOptions);
|
|
44
44
|
const resetSourceObject = containsNmrium;
|
|
45
45
|
dispatchPayload({
|
|
46
46
|
nmriumState,
|
|
47
47
|
containsNmrium,
|
|
48
48
|
parseMetaFileResult,
|
|
49
|
-
|
|
50
|
-
selectorRoot,
|
|
49
|
+
aggregator,
|
|
51
50
|
resetSourceObject,
|
|
52
51
|
});
|
|
53
52
|
}, [core, dispatchPayload]);
|
|
54
|
-
const currentPreferences = preferences.current;
|
|
55
53
|
const loadUserFiles = useCallback(async (files) => {
|
|
56
|
-
if (onOpenMetaInformation &&
|
|
54
|
+
if (onOpenMetaInformation &&
|
|
55
|
+
Array.isArray(files) &&
|
|
56
|
+
files.length === 1 &&
|
|
57
|
+
isMetaFile(files[0])) {
|
|
57
58
|
onOpenMetaInformation(files[0]);
|
|
58
59
|
return;
|
|
59
60
|
}
|
|
60
|
-
const { onLoadProcessing } = workspacePreferences;
|
|
61
|
-
const { nmrLoaders: selector } = currentPreferences;
|
|
61
|
+
const { onLoadProcessing, nmrLoaders: selector } = workspacePreferences;
|
|
62
62
|
const parsingOptions = {
|
|
63
63
|
selector,
|
|
64
64
|
logger: logger.child({ context: 'nmr-processing' }),
|
|
65
65
|
onLoadProcessing,
|
|
66
66
|
experimentalFeatures,
|
|
67
67
|
};
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
if (Array.isArray(files)) {
|
|
69
|
+
const groupedFiles = await groupFiles(files);
|
|
70
|
+
const { nmriumArchiveFiles, fileCollection, metaFile } = groupedFiles;
|
|
71
|
+
if (nmriumArchiveFiles.length > 0) {
|
|
72
|
+
await Promise.all(nmriumArchiveFiles.map((file) => loadNmriumArchives(file, parsingOptions)));
|
|
73
|
+
}
|
|
74
|
+
await loadFileCollection(fileCollection, metaFile, parsingOptions);
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
await loadFileCollection(files, undefined, parsingOptions);
|
|
72
78
|
}
|
|
73
|
-
await loadFileCollection(fileCollection, metaFile, parsingOptions);
|
|
74
79
|
}, [
|
|
75
80
|
experimentalFeatures,
|
|
76
81
|
loadFileCollection,
|
|
77
82
|
loadNmriumArchives,
|
|
78
83
|
logger,
|
|
79
84
|
onOpenMetaInformation,
|
|
80
|
-
currentPreferences,
|
|
81
85
|
workspacePreferences,
|
|
82
86
|
]);
|
|
83
87
|
return useCallback((files) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLoadFiles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MAAM,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC;QAEtD,IAAI,cAAc,CAAC,KAAK,CAAC,MAAM,EAAE,uBAAuB,CAAC,EAAE,CAAC;YAC1D,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAC9B,SAAS;QACX,CAAC;QAED,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACxB,CAAC;IAED,MAAM,cAAc,GAAG,MAAM,IAAI,cAAc,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;IAC7E,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CACjE,UAAU,CAAC,IAAI,CAAC,CACjB,CAAC;IAEF,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,QAAQ,EAAE,CAAC;AAC1D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerNMRium.d.ts","sourceRoot":"","sources":["../../../src/component/main/InnerNMRium.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AA6B1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGtD,KAAK,gBAAgB,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,GAAG;IACrD,MAAM,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;CACpC,CAAC;AAEF,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"InnerNMRium.d.ts","sourceRoot":"","sources":["../../../src/component/main/InnerNMRium.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AA6B1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGtD,KAAK,gBAAgB,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,GAAG;IACrD,MAAM,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;CACpC,CAAC;AAEF,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CA8GlD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import init from '@zakodium/nmrium-core-plugins';
|
|
3
|
-
import { useEffect, useMemo, useReducer, useRef } from 'react';
|
|
3
|
+
import { useCallback, useEffect, useMemo, useReducer, useRef } from 'react';
|
|
4
4
|
import { useFullscreen } from 'react-science/ui';
|
|
5
5
|
import { AssignmentProvider } from '../assignment/AssignmentProvider.js';
|
|
6
6
|
import { CoreProvider } from '../context/CoreContext.js';
|
|
@@ -20,7 +20,7 @@ import preferencesReducer, { initPreferencesState, preferencesInitialState, read
|
|
|
20
20
|
import { InnerNMRiumContents } from './InnerNMRiumContents.js';
|
|
21
21
|
import NMRiumStateProvider from './NMRiumStateProvider.js';
|
|
22
22
|
export function InnerNMRium(props) {
|
|
23
|
-
const {
|
|
23
|
+
const { state, aggregator, workspace, customWorkspaces, preferences, getSpinner = defaultGetSpinner, onChange, emptyText, apiRef, core, } = props;
|
|
24
24
|
const rootRef = useRef(null);
|
|
25
25
|
const elementsWrapperRef = useRef(null);
|
|
26
26
|
const viewerRef = useRef(null);
|
|
@@ -38,7 +38,7 @@ export function InnerNMRium(props) {
|
|
|
38
38
|
useEffect(() => {
|
|
39
39
|
rootRef.current?.focus();
|
|
40
40
|
}, [isFullScreen]);
|
|
41
|
-
|
|
41
|
+
const refreshPreferences = useCallback(() => {
|
|
42
42
|
const settings = readSettings();
|
|
43
43
|
dispatchPreferences({
|
|
44
44
|
type: 'INIT_PREFERENCES',
|
|
@@ -54,6 +54,6 @@ export function InnerNMRium(props) {
|
|
|
54
54
|
rootRef: rootRef.current,
|
|
55
55
|
elementsWrapperRef: elementsWrapperRef.current,
|
|
56
56
|
viewerRef: viewerRef.current,
|
|
57
|
-
}, children: _jsx(PreferencesProvider, { value: preferencesProviderValue, children: _jsx(LoggerProvider, { children: _jsx(KeyModifiersProvider, { children: _jsx(ToasterProvider, { children: _jsx(SortSpectraProvider, { children: _jsx(NMRiumStateProvider, { onChange: onChange,
|
|
57
|
+
}, children: _jsx(PreferencesProvider, { value: preferencesProviderValue, children: _jsx(LoggerProvider, { children: _jsx(KeyModifiersProvider, { children: _jsx(ToasterProvider, { children: _jsx(SortSpectraProvider, { children: _jsx(NMRiumStateProvider, { onChange: onChange, state: state, aggregator: aggregator, refreshPreferences: refreshPreferences, children: _jsx(TopicMoleculeProvider, { children: _jsx(DialogProvider, { children: _jsx(AlertProvider, { children: _jsx(HighlightProvider, { children: _jsx(AssignmentProvider, { children: _jsx(SpinnerProvider, { value: getSpinner, children: _jsx(InnerNMRiumContents, { emptyText: emptyText, mainDivRef: mainDivRef, elementsWrapperRef: elementsWrapperRef, rootRef: rootRef, viewerRef: viewerRef, apiRef: apiRef }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }));
|
|
58
58
|
}
|
|
59
59
|
//# sourceMappingURL=InnerNMRium.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerNMRium.js","sourceRoot":"","sources":["../../../src/component/main/InnerNMRium.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,+BAA+B,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"InnerNMRium.js","sourceRoot":"","sources":["../../../src/component/main/InnerNMRium.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,+BAA+B,CAAC;A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,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC;IAE/C,OAAO,CACL,cACE,GAAG,EAAE,UAAU,EACf,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,EAC/C,SAAS,EAAC,IAAI,YAEd,KAAC,YAAY,IAAC,KAAK,EAAE,SAAS,YAC5B,KAAC,qBAAqB,cACpB,KAAC,cAAc,IACb,KAAK,EAAE;wBACL,OAAO,EAAE,OAAO,CAAC,OAAO;wBACxB,kBAAkB,EAAE,kBAAkB,CAAC,OAAO;wBAC9C,SAAS,EAAE,SAAS,CAAC,OAAO;qBAC7B,YAED,KAAC,mBAAmB,IAAC,KAAK,EAAE,wBAAwB,YAClD,KAAC,cAAc,cACb,KAAC,oBAAoB,cACnB,KAAC,eAAe,cACd,KAAC,mBAAmB,cAClB,KAAC,mBAAmB,IAClB,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,UAAU,EACtB,kBAAkB,EAAE,kBAAkB,YAEtC,KAAC,qBAAqB,cACpB,KAAC,cAAc,cACb,KAAC,aAAa,cACZ,KAAC,iBAAiB,cAChB,KAAC,kBAAkB,cACjB,KAAC,eAAe,IAAC,KAAK,EAAE,UAAU,YAChC,KAAC,mBAAmB,IAClB,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU,EACtB,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,GACd,GACc,GACC,GACH,GACN,GACD,GACK,GACJ,GACF,GACN,GACG,GACR,GACG,GACP,GACK,GACX,GACX,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,10 +1,55 @@
|
|
|
1
|
-
import type { CustomWorkspaces, NMRiumCore, WorkspacePreferences as NMRiumPreferences } from '@zakodium/nmrium-core';
|
|
1
|
+
import type { CustomWorkspaces, NMRiumCore, NmriumState, WorkspacePreferences as NMRiumPreferences } from '@zakodium/nmrium-core';
|
|
2
|
+
import type { FileCollection } from 'file-collection';
|
|
2
3
|
import type { ReactElement, ReactNode } from 'react';
|
|
3
4
|
import type { ErrorBoundaryPropsWithComponent } from 'react-error-boundary';
|
|
4
5
|
import type { NMRiumRefAPI } from './NMRiumRefAPI.js';
|
|
5
|
-
import type { NMRiumChangeCb,
|
|
6
|
+
import type { NMRiumChangeCb, NMRiumWorkspace } from './types.js';
|
|
6
7
|
export interface NMRiumProps {
|
|
7
|
-
|
|
8
|
+
/**
|
|
9
|
+
* If you choose to bind the state to the component, you have to use a valid one.
|
|
10
|
+
* - It must have the latest version supported by the core used by the NMRium component.
|
|
11
|
+
* - It must come from a read api of `nmrium-core`.
|
|
12
|
+
* - It will be transmitted as-is to the state reducer of `NMRium` component.
|
|
13
|
+
* - `aggregator` must also be provided.
|
|
14
|
+
*/
|
|
15
|
+
state?: Partial<NmriumState>;
|
|
16
|
+
/**
|
|
17
|
+
* Each of the core read apis returns a file collection.
|
|
18
|
+
* Sometimes with the `fileCollection` name (not in aggregated form), sometimes with `ium` or `aggregator` name (already aggregated).
|
|
19
|
+
* `aggregator` is a meta file collection. Each user source of data is placed in his dedicated uuid folder.
|
|
20
|
+
* In the UI, it means one drag n drop (with possibly multiple files) = one uuid folder.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const {nmriumState, fileCollection, containsNmrium, selectorRoot} = core.read();
|
|
25
|
+
* const aggregator = containsNmrium
|
|
26
|
+
* ? fileCollection
|
|
27
|
+
* : new FileCollection().appendFileCollection(fileCollection, selectorRoot);
|
|
28
|
+
*
|
|
29
|
+
* <NMRium state={nmriumState} aggregator={aggregator} />
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ```ts
|
|
33
|
+
* const [state, ium] = core.readNMRiumArchive();
|
|
34
|
+
*
|
|
35
|
+
* <NMRium state={state} aggregator={ium} />
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ```ts
|
|
39
|
+
* const [state, aggregator] = core.readNMRiumObject();
|
|
40
|
+
* // const [state, aggregator] = core.readNMRiumFile();
|
|
41
|
+
*
|
|
42
|
+
* <NMRium state={state} aggregator={aggregator} />
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* ```ts
|
|
46
|
+
* const [state, fileCollection, selectorRoot] = core.readFromWebSource();
|
|
47
|
+
* const aggregator = new FileCollection().appendFileCollection(fileCollection, selectorRoot);
|
|
48
|
+
*
|
|
49
|
+
* <NMRium state={state} aggregator={aggregator} />
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
aggregator?: FileCollection;
|
|
8
53
|
onChange?: NMRiumChangeCb;
|
|
9
54
|
noErrorBoundary?: boolean;
|
|
10
55
|
onError?: ErrorBoundaryPropsWithComponent['onError'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NMRium.d.ts","sourceRoot":"","sources":["../../../src/component/main/NMRium.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,oBAAoB,IAAI,iBAAiB,EAC1C,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AAM5E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"NMRium.d.ts","sourceRoot":"","sources":["../../../src/component/main/NMRium.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,oBAAoB,IAAI,iBAAiB,EAC1C,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AAM5E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElE,MAAM,WAAW,WAAW;IAC1B;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAE7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmCG;IACH,UAAU,CAAC,EAAE,cAAc,CAAC;IAE5B,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,+BAA+B,CAAC,SAAS,CAAC,CAAC;IACrD,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,YAAY,CAAC;IAChC,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB;AAqBD,eAAO,MAAM,MAAM,2IAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NMRium.js","sourceRoot":"","sources":["../../../src/component/main/NMRium.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"NMRium.js","sourceRoot":"","sources":["../../../src/component/main/NMRium.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAkE/C,MAAM,UAAU,GAAG,UAAU,CAA4B,SAAS,MAAM,CACtE,KAAkB,EAClB,GAAG;IAEH,MAAM,EAAE,eAAe,GAAG,KAAK,EAAE,OAAO,EAAE,GAAG,UAAU,EAAE,GAAG,KAAK,CAAC;IAElE,MAAM,WAAW,GAAG,KAAC,WAAW,OAAK,UAAU,EAAE,MAAM,EAAE,GAAG,GAAI,CAAC;IAEjE,MAAM,QAAQ,GAAG,eAAe,CAAC,CAAC,CAAC,CACjC,WAAW,CACZ,CAAC,CAAC,CAAC,CACF,KAAC,aAAa,IAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,EAAE,OAAO,YAC7D,WAAW,GACE,CACjB,CAAC;IAEF,OAAO,KAAC,UAAU,IAAC,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,YAAG,QAAQ,GAAc,CAAC;AACvE,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import type { FileCollection } from 'file-collection';
|
|
1
2
|
import type { ForwardedRef, RefObject } from 'react';
|
|
3
|
+
import type { SaveIncludeOptions } from '../hooks/useExport.tsx';
|
|
2
4
|
import type { BlobObject } from '../utility/export.js';
|
|
3
5
|
export interface NMRiumRefAPI {
|
|
4
6
|
getSpectraViewerAsBlob: () => BlobObject | null;
|
|
7
|
+
getNMRiumFile: (option: SaveIncludeOptions) => Promise<Blob>;
|
|
5
8
|
loadFiles: (files: File[]) => void;
|
|
9
|
+
loadFileCollection: (fileCollection: FileCollection) => void;
|
|
6
10
|
}
|
|
7
11
|
export declare function useNMRiumRefAPI(ref: ForwardedRef<NMRiumRefAPI>, rootRef: RefObject<HTMLDivElement>): void;
|
|
8
12
|
//# sourceMappingURL=NMRiumRefAPI.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NMRiumRefAPI.d.ts","sourceRoot":"","sources":["../../../src/component/main/NMRiumRefAPI.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGvD,MAAM,WAAW,YAAY;IAC3B,sBAAsB,EAAE,MAAM,UAAU,GAAG,IAAI,CAAC;IAChD,SAAS,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"NMRiumRefAPI.d.ts","sourceRoot":"","sources":["../../../src/component/main/NMRiumRefAPI.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGvD,MAAM,WAAW,YAAY;IAC3B,sBAAsB,EAAE,MAAM,UAAU,GAAG,IAAI,CAAC;IAChD,aAAa,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7D,SAAS,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IACnC,kBAAkB,EAAE,CAAC,cAAc,EAAE,cAAc,KAAK,IAAI,CAAC;CAC9D;AAED,wBAAgB,eAAe,CAC7B,GAAG,EAAE,YAAY,CAAC,YAAY,CAAC,EAC/B,OAAO,EAAE,SAAS,CAAC,cAAc,CAAC,QAoBnC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { useImperativeHandle } from 'react';
|
|
2
|
+
import { useCreateNmriumZip } from "../hooks/useCreateNmriumZip.js";
|
|
2
3
|
import { useLoadFiles } from '../loader/useLoadFiles.js';
|
|
3
4
|
import { getBlob } from '../utility/export.js';
|
|
4
5
|
export function useNMRiumRefAPI(ref, rootRef) {
|
|
5
6
|
const loadFiles = useLoadFiles();
|
|
7
|
+
const createNmriumZip = useCreateNmriumZip();
|
|
6
8
|
useImperativeHandle(ref, () => ({
|
|
7
9
|
getSpectraViewerAsBlob: () => {
|
|
8
10
|
return rootRef.current
|
|
@@ -10,6 +12,8 @@ export function useNMRiumRefAPI(ref, rootRef) {
|
|
|
10
12
|
: null;
|
|
11
13
|
},
|
|
12
14
|
loadFiles,
|
|
13
|
-
|
|
15
|
+
loadFileCollection: (fileCollection) => loadFiles(fileCollection),
|
|
16
|
+
getNMRiumFile: (options) => createNmriumZip(options),
|
|
17
|
+
}), [loadFiles, rootRef, createNmriumZip]);
|
|
14
18
|
}
|
|
15
19
|
//# sourceMappingURL=NMRiumRefAPI.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NMRiumRefAPI.js","sourceRoot":"","sources":["../../../src/component/main/NMRiumRefAPI.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NMRiumRefAPI.js","sourceRoot":"","sources":["../../../src/component/main/NMRiumRefAPI.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAS/C,MAAM,UAAU,eAAe,CAC7B,GAA+B,EAC/B,OAAkC;IAElC,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IACjC,MAAM,eAAe,GAAG,kBAAkB,EAAE,CAAC;IAE7C,mBAAmB,CACjB,GAAG,EACH,GAAG,EAAE,CAAC,CAAC;QACL,sBAAsB,EAAE,GAAG,EAAE;YAC3B,OAAO,OAAO,CAAC,OAAO;gBACpB,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,WAAW,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC;gBACrD,CAAC,CAAC,IAAI,CAAC;QACX,CAAC;QACD,SAAS;QACT,kBAAkB,EAAE,CAAC,cAA8B,EAAE,EAAE,CACrD,SAAS,CAAC,cAAc,CAAC;QAC3B,aAAa,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,eAAe,CAAC,OAAO,CAAC;KACrD,CAAC,EACF,CAAC,SAAS,EAAE,OAAO,EAAE,eAAe,CAAC,CACtC,CAAC;AACJ,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import type { NmriumState } from '@zakodium/nmrium-core';
|
|
2
|
+
import { FileCollection } from 'file-collection';
|
|
1
3
|
import type { ReactNode } from 'react';
|
|
2
|
-
import type { NMRiumChangeCb
|
|
4
|
+
import type { NMRiumChangeCb } from './types.js';
|
|
3
5
|
interface NMRiumStateProviderProps {
|
|
4
6
|
children: ReactNode;
|
|
5
7
|
onChange: NMRiumChangeCb | undefined;
|
|
6
|
-
|
|
8
|
+
state: Partial<NmriumState> | undefined;
|
|
9
|
+
aggregator: FileCollection | undefined;
|
|
10
|
+
refreshPreferences: () => void;
|
|
7
11
|
}
|
|
8
12
|
export default function NMRiumStateProvider(props: NMRiumStateProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
9
13
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NMRiumStateProvider.d.ts","sourceRoot":"","sources":["../../../src/component/main/NMRiumStateProvider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NMRiumStateProvider.d.ts","sourceRoot":"","sources":["../../../src/component/main/NMRiumStateProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAiBvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD,UAAU,wBAAwB;IAChC,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,cAAc,GAAG,SAAS,CAAC;IACrC,KAAK,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;IACxC,UAAU,EAAE,cAAc,GAAG,SAAS,CAAC;IACvC,kBAAkB,EAAE,MAAM,IAAI,CAAC;CAChC;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,2CAyK1E"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { FileCollection } from 'file-collection';
|
|
2
3
|
import { produce } from 'immer';
|
|
3
4
|
import { useCallback, useEffect, useMemo, useReducer, useRef } from 'react';
|
|
4
5
|
import { toJSON } from '../../data/SpectraManager.js';
|
|
@@ -10,15 +11,19 @@ import { usePreferences } from '../context/PreferencesContext.js';
|
|
|
10
11
|
import { sortSpectra, useSortSpectra } from '../context/SortSpectraContext.js';
|
|
11
12
|
import checkActionType from '../reducer/IgnoreActions.js';
|
|
12
13
|
import { initState, initialState, spectrumReducer, } from '../reducer/Reducer.js';
|
|
13
|
-
const defaultData = {
|
|
14
|
-
spectra: [],
|
|
15
|
-
};
|
|
16
14
|
export default function NMRiumStateProvider(props) {
|
|
17
|
-
const { children, onChange,
|
|
15
|
+
const { children, onChange, state: externalState, aggregator: externalAggregator, refreshPreferences, } = props;
|
|
18
16
|
const core = useCore();
|
|
19
17
|
const { logger } = useLogger();
|
|
20
18
|
const preferencesState = usePreferences();
|
|
21
19
|
const { dispatch: dispatchPreferences } = preferencesState;
|
|
20
|
+
/**
|
|
21
|
+
* The preference refresh is done here to ensure it is done before the state loading,
|
|
22
|
+
* because state loading can dispatch preferences.
|
|
23
|
+
*/
|
|
24
|
+
useEffect(() => {
|
|
25
|
+
refreshPreferences();
|
|
26
|
+
}, [refreshPreferences]);
|
|
22
27
|
const [state, dispatchRaw] = useReducer(spectrumReducer, initialState, initState);
|
|
23
28
|
const dispatch = useCallback((action) => {
|
|
24
29
|
logger.trace({ action }, `Dispatch main reducer action: ${action.type}`);
|
|
@@ -64,47 +69,55 @@ export default function NMRiumStateProvider(props) {
|
|
|
64
69
|
// trigger onChange callback if settings changed
|
|
65
70
|
handleChange.current?.(stateRef.current, 'settings');
|
|
66
71
|
}, [preferencesState]);
|
|
72
|
+
const loggerRef = useRef(logger);
|
|
73
|
+
useEffect(() => void (loggerRef.current = logger));
|
|
67
74
|
useEffect(() => {
|
|
75
|
+
const logger = loggerRef.current;
|
|
68
76
|
dispatch({
|
|
69
77
|
type: 'SET_LOADING_FLAG',
|
|
70
78
|
payload: { isLoading: true },
|
|
71
79
|
});
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
type: '
|
|
88
|
-
payload: {
|
|
80
|
+
function loadingEmptyState() {
|
|
81
|
+
dispatch({
|
|
82
|
+
type: 'INITIATE',
|
|
83
|
+
payload: { nmriumState: {}, aggregator: new FileCollection() },
|
|
84
|
+
});
|
|
85
|
+
dispatch({ type: 'SET_LOADING_FLAG', payload: { isLoading: false } });
|
|
86
|
+
}
|
|
87
|
+
if (externalState && externalAggregator) {
|
|
88
|
+
if (externalState.version !== core.version) {
|
|
89
|
+
logger.warn(externalState, `The provided state is for a different version of NMRium (${externalState.version}) than the current version (${core.version}). The provided state is ignored.`);
|
|
90
|
+
loadingEmptyState();
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
if (externalState.settings) {
|
|
94
|
+
dispatchPreferences({
|
|
95
|
+
type: 'SET_WORKSPACE',
|
|
96
|
+
payload: {
|
|
97
|
+
data: externalState.settings,
|
|
98
|
+
workspaceSource: 'nmriumFile',
|
|
99
|
+
},
|
|
89
100
|
});
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
// eslint-disable-next-line no-alert
|
|
95
|
-
globalThis.alert(error.message);
|
|
96
|
-
}
|
|
97
|
-
reportError(error);
|
|
101
|
+
}
|
|
102
|
+
dispatch({
|
|
103
|
+
type: 'INITIATE',
|
|
104
|
+
payload: { nmriumState: externalState, aggregator: externalAggregator },
|
|
98
105
|
});
|
|
106
|
+
dispatch({ type: 'SET_LOADING_FLAG', payload: { isLoading: false } });
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
if (externalState && !externalAggregator) {
|
|
110
|
+
logger.warn(externalState, '`aggregator` is mandatory with `state` props. The provided `state` is ignored');
|
|
99
111
|
}
|
|
100
|
-
|
|
112
|
+
loadingEmptyState();
|
|
113
|
+
}, [dispatch, dispatchPreferences, core, externalState, externalAggregator]);
|
|
101
114
|
const { sortOptions } = useSortSpectra();
|
|
102
115
|
const spectra = useMemo(() => {
|
|
103
116
|
if (sortOptions) {
|
|
104
|
-
return sortSpectra(
|
|
117
|
+
return sortSpectra(spectraData, sortOptions);
|
|
105
118
|
}
|
|
106
|
-
return
|
|
107
|
-
}, [sortOptions,
|
|
119
|
+
return spectraData;
|
|
120
|
+
}, [sortOptions, spectraData]);
|
|
108
121
|
const updatedState = useMemo(() => {
|
|
109
122
|
return produce(state, (draft) => {
|
|
110
123
|
draft.data = spectra;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NMRiumStateProvider.js","sourceRoot":"","sources":["../../../src/component/main/NMRiumStateProvider.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,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M,KAAK,MAAM,EACjC,CAAC;oBACD,QAAQ,EAAE,CAAC;gBACb,CAAC;YACH,CAAC,EAAE,CAAC,CAAC,CAAC;QACR,CAAC;QAED,MAAM,gBAAgB,GAAG,qBAAqB,CAAC,oBAAoB,CAAC,CAAC;QAErE,OAAO,GAAG,EAAE;YACV,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;QACzC,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,eAAe,CAAC,KAAK,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;AAC/E,CAAC"}
|
|
@@ -52,16 +52,16 @@ function InnerLoadJCAMPModal({ onCloseDialog }) {
|
|
|
52
52
|
});
|
|
53
53
|
const { pathname, origin } = new URL(url);
|
|
54
54
|
try {
|
|
55
|
-
const
|
|
55
|
+
const { state, aggregator, containsNmrium } = await core.readFromWebSource({
|
|
56
56
|
entries: [{ relativePath: pathname, baseURL: origin }],
|
|
57
57
|
});
|
|
58
58
|
dispatch({
|
|
59
59
|
type: 'LOAD_DROP_FILES',
|
|
60
60
|
payload: {
|
|
61
|
-
nmriumState,
|
|
61
|
+
nmriumState: state,
|
|
62
|
+
containsNmrium,
|
|
63
|
+
aggregator,
|
|
62
64
|
resetSourceObject: false,
|
|
63
|
-
fileCollection,
|
|
64
|
-
selectorRoot,
|
|
65
65
|
},
|
|
66
66
|
});
|
|
67
67
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadJCAMPModal.js","sourceRoot":"","sources":["../../../src/component/modal/LoadJCAMPModal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,OA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U,EAAE,CAAC;YACb,aAAa,EAAE,EAAE,CAAC;QACpB,CAAC;IACH,CAAC;IAED,OAAO,CACL,MAAC,cAAc,IACb,MAAM,QACN,OAAO,EAAE,aAAa,EACtB,KAAK,EAAC,YAAY,EAClB,KAAK,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,aAExB,KAAC,gBAAgB,cACf,KAAC,KAAK,IAAC,KAAK,EAAC,KAAK,EAAC,KAAK,EAAE,UAAU,YAClC,KAAC,gBAAgB,IACf,IAAI,EAAC,KAAK,EACV,OAAO,EAAE,OAAO,EAChB,IAAI,QACJ,WAAW,EAAC,4BAA4B,EACxC,kBAAkB,SAClB,GACI,GACS,EACnB,KAAC,YAAY,cACX,cAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,YAC3D,KAAC,MAAM,IACL,MAAM,EAAC,SAAS,EAChB,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,YAAY,CAAC,gBAAgB,CAAC,EAAE,qBAG7C,GACL,GACO,IACA,CAClB,CAAC;AACJ,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ActiveSpectrum } from '@zakodium/nmrium-core';
|
|
2
2
|
interface InnerMultipleAnalysisProps {
|
|
3
3
|
activeSpectrum: ActiveSpectrum | null;
|
|
4
|
-
startX:
|
|
5
|
-
endX:
|
|
4
|
+
startX: number;
|
|
5
|
+
endX: number;
|
|
6
6
|
}
|
|
7
7
|
interface MultipletAnalysisModalProps extends InnerMultipleAnalysisProps {
|
|
8
8
|
isOpen: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultipletAnalysisModal.d.ts","sourceRoot":"","sources":["../../../src/component/modal/MultipletAnalysisModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAkE5D,UAAU,0BAA0B;IAClC,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;IACtC,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"MultipletAnalysisModal.d.ts","sourceRoot":"","sources":["../../../src/component/modal/MultipletAnalysisModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAkE5D,UAAU,0BAA0B;IAClC,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,2BAA4B,SAAQ,0BAA0B;IACtE,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC;AAED,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAC7C,cAAc,EACd,MAAM,EACN,IAAI,EACJ,OAAO,EACP,MAAM,GACP,EAAE,2BAA2B,2CAmB7B"}
|
|
@@ -125,9 +125,7 @@ function InnerMultipleAnalysis(props) {
|
|
|
125
125
|
return (_jsxs(LoaderContainer, { children: [_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 841.9 595.3", children: _jsxs("g", { fill: "#61DAFB", children: [_jsx("path", { d: "M666.3 296.5c0-32.5-40.7-63.3-103.1-82.4 14.4-63.6 8-114.2-20.2-130.4-6.5-3.8-14.1-5.6-22.4-5.6v22.3c4.6 0 8.3.9 11.4 2.6 13.6 7.8 19.5 37.5 14.9 75.7-1.1 9.4-2.9 19.3-5.1 29.4-19.6-4.8-41-8.5-63.5-10.9-13.5-18.5-27.5-35.3-41.6-50 32.6-30.3 63.2-46.9 84-46.9V78c-27.5 0-63.5 19.6-99.9 53.6-36.4-33.8-72.4-53.2-99.9-53.2v22.3c20.7 0 51.4 16.5 84 46.6-14 14.7-28 31.4-41.3 49.9-22.6 2.4-44 6.1-63.6 11-2.3-10-4-19.7-5.2-29-4.7-38.2 1.1-67.9 14.6-75.8 3-1.8 6.9-2.6 11.5-2.6V78.5c-8.4 0-16 1.8-22.6 5.6-28.1 16.2-34.4 66.7-19.9 130.1-62.2 19.2-102.7 49.9-102.7 82.3 0 32.5 40.7 63.3 103.1 82.4-14.4 63.6-8 114.2 20.2 130.4 6.5 3.8 14.1 5.6 22.5 5.6 27.5 0 63.5-19.6 99.9-53.6 36.4 33.8 72.4 53.2 99.9 53.2 8.4 0 16-1.8 22.6-5.6 28.1-16.2 34.4-66.7 19.9-130.1 62-19.1 102.5-49.9 102.5-82.3zm-130.2-66.7c-3.7 12.9-8.3 26.2-13.5 39.5-4.1-8-8.4-16-13.1-24-4.6-8-9.5-15.8-14.4-23.4 14.2 2.1 27.9 4.7 41 7.9zm-45.8 106.5c-7.8 13.5-15.8 26.3-24.1 38.2-14.9 1.3-30 2-45.2 2-15.1 0-30.2-.7-45-1.9-8.3-11.9-16.4-24.6-24.2-38-7.6-13.1-14.5-26.4-20.8-39.8 6.2-13.4 13.2-26.8 20.7-39.9 7.8-13.5 15.8-26.3 24.1-38.2 14.9-1.3 30-2 45.2-2 15.1 0 30.2.7 45 1.9 8.3 11.9 16.4 24.6 24.2 38 7.6 13.1 14.5 26.4 20.8 39.8-6.3 13.4-13.2 26.8-20.7 39.9zm32.3-13c5.4 13.4 10 26.8 13.8 39.8-13.1 3.2-26.9 5.9-41.2 8 4.9-7.7 9.8-15.6 14.4-23.7 4.6-8 8.9-16.1 13-24.1zM421.2 430c-9.3-9.6-18.6-20.3-27.8-32 9 .4 18.2.7 27.5.7 9.4 0 18.7-.2 27.8-.7-9 11.7-18.3 22.4-27.5 32zm-74.4-58.9c-14.2-2.1-27.9-4.7-41-7.9 3.7-12.9 8.3-26.2 13.5-39.5 4.1 8 8.4 16 13.1 24 4.7 8 9.5 15.8 14.4 23.4zM420.7 163c9.3 9.6 18.6 20.3 27.8 32-9-.4-18.2-.7-27.5-.7-9.4 0-18.7.2-27.8.7 9-11.7 18.3-22.4 27.5-32zm-74 58.9c-4.9 7.7-9.8 15.6-14.4 23.7-4.6 8-8.9 16-13 24-5.4-13.4-10-26.8-13.8-39.8 13.1-3.1 26.9-5.8 41.2-7.9zm-90.5 125.2c-35.4-15.1-58.3-34.9-58.3-50.6 0-15.7 22.9-35.6 58.3-50.6 8.6-3.7 18-7 27.7-10.1 5.7 19.6 13.2 40 22.5 60.9-9.2 20.8-16.6 41.1-22.2 60.6-9.9-3.1-19.3-6.5-28-10.2zM310 490c-13.6-7.8-19.5-37.5-14.9-75.7 1.1-9.4 2.9-19.3 5.1-29.4 19.6 4.8 41 8.5 63.5 10.9 13.5 18.5 27.5 35.3 41.6 50-32.6 30.3-63.2 46.9-84 46.9-4.5-.1-8.3-1-11.3-2.7zm237.2-76.2c4.7 38.2-1.1 67.9-14.6 75.8-3 1.8-6.9 2.6-11.5 2.6-20.7 0-51.4-16.5-84-46.6 14-14.7 28-31.4 41.3-49.9 22.6-2.4 44-6.1 63.6-11 2.3 10.1 4.1 19.8 5.2 29.1zm38.5-66.7c-8.6 3.7-18 7-27.7 10.1-5.7-19.6-13.2-40-22.5-60.9 9.2-20.8 16.6-41.1 22.2-60.6 9.9 3.1 19.3 6.5 28.1 10.2 35.4 15.1 58.3 34.9 58.3 50.6-.1 15.7-23 35.6-58.4 50.6zM320.8 78.4z" }), _jsx("path", { d: "M520.5 78.1z" })] }) }), _jsx("p", { children: "Analyse Multiplet in progress. Please wait ..." })] }));
|
|
126
126
|
}
|
|
127
127
|
return (_jsx(Container, { children: analysisData?.debug?.steps.map((d, index) => {
|
|
128
|
-
return (
|
|
129
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
130
|
-
_jsxs(Row, { children: [_jsx("div", { children: _jsxs(Plot, { width: 400, height: 200, svgStyle: { overflow: 'visible' }, seriesViewportStyle: { stroke: 'black' }, children: [_jsx(LineSeries, { data: xyToXYObject(d.multiplet) }), _jsx(Axis, { id: "y", position: "left", tickPosition: "inner", displayPrimaryGridLines: true, hiddenTicks: true, paddingStart: 0.1, paddingEnd: 0.1 }), _jsx(Axis, { id: "x", position: "bottom", tickPosition: "inner", displayPrimaryGridLines: true })] }) }), _jsx(Multiplicity, { children: analysisData.js[index]
|
|
128
|
+
return (_jsxs(Row, { children: [_jsx("div", { children: _jsxs(Plot, { width: 400, height: 200, svgStyle: { overflow: 'visible' }, seriesViewportStyle: { stroke: 'black' }, children: [_jsx(LineSeries, { data: xyToXYObject(d.multiplet) }), _jsx(Axis, { id: "y", position: "left", tickPosition: "inner", displayPrimaryGridLines: true, hiddenTicks: true, paddingStart: 0.1, paddingEnd: 0.1 }), _jsx(Axis, { id: "x", position: "bottom", tickPosition: "inner", displayPrimaryGridLines: true })] }) }), _jsx(Multiplicity, { children: analysisData.js[index]
|
|
131
129
|
? `${analysisData.js[index]?.multiplicity}: ${analysisData.js[index]?.coupling.toFixed(3)} Hz`
|
|
132
130
|
: '' }), _jsx("div", { children: _jsxs(Plot, { width: 400, height: 200, seriesViewportStyle: { stroke: 'black' }, children: [_jsx(LineSeries, { data: xyToXYObject(d.errorFunction), lineStyle: { strokeWidth: 1 } }), _jsx(Axis, { id: "y", position: "left", tickPosition: "inner", displayPrimaryGridLines: true, hiddenTicks: true, paddingStart: 0.1, paddingEnd: 0.1 }), _jsx(Axis, { id: "x", position: "bottom", tickPosition: "inner", displayPrimaryGridLines: true })] }) })] }, index));
|
|
133
131
|
}) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultipletAnalysisModal.js","sourceRoot":"","sources":["../../../src/component/modal/MultipletAnalysisModal.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,YAAY,CA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