nmrium 2.0.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 +5 -2
- 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/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/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/use2DReducer.d.ts.map +1 -1
- package/lib/component/hooks/use2DReducer.js.map +1 -1
- 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/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 +15 -10
- 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 +3 -3
- package/lib/component/main/InnerNMRium.js.map +1 -1
- package/lib/component/main/NMRiumRefAPI.d.ts +2 -0
- package/lib/component/main/NMRiumRefAPI.d.ts.map +1 -1
- package/lib/component/main/NMRiumRefAPI.js +1 -0
- package/lib/component/main/NMRiumRefAPI.js.map +1 -1
- package/lib/component/main/NMRiumStateProvider.d.ts +1 -0
- package/lib/component/main/NMRiumStateProvider.d.ts.map +1 -1
- package/lib/component/main/NMRiumStateProvider.js +11 -4
- package/lib/component/main/NMRiumStateProvider.js.map +1 -1
- package/lib/component/main/NMRiumViewer.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 +5 -228
- package/lib/component/modal/setting/general_settings.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts +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.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings.js +24 -22
- package/lib/component/modal/setting/tanstack_general_settings/general_settings.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts +1013 -199
- 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 +5 -2
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +396 -198
- 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 +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.js +23 -45
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts +63 -253
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.js +2 -8
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.js +21 -17
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/{general_settings_dialog_header_actions_buttons.d.ts → tabs/axis_tab.d.ts} +403 -205
- package/lib/component/modal/setting/tanstack_general_settings/{general_settings_dialog_header_actions_buttons.d.ts.map → tabs/axis_tab.d.ts.map} +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.js +43 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js +10 -9
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js +7 -9
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts +396 -198
- 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 +396 -198
- 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 +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.js +10 -8
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js +15 -18
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.js +10 -10
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.d.ts +7 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.js +16 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.d.ts +16 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.js +26 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.d.ts +14 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.js +18 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.d.ts +36 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.js +64 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts +1 -54
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.js +2 -79
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.d.ts +37 -33
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.js +2 -52
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.d.ts +95 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.js +19 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts +18 -4
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.js +4 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts +99 -37
- package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation.js +3 -2
- package/lib/component/modal/setting/tanstack_general_settings/validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.d.ts +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 +9 -4
- package/lib/component/panels/MoleculesPanel/MoleculeStructure.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js +24 -20
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/extractFromAtom.d.ts +3 -3
- package/lib/component/panels/MoleculesPanel/utilities/extractFromAtom.js +3 -3
- package/lib/component/panels/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 +3 -3
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js +3 -3
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.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 +56 -56
- package/lib/component/panels/databasePanel/DatabasePanel.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.d.ts +2 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.js +2 -3
- package/lib/component/panels/databasePanel/DatabasePreferences.js.map +1 -1
- package/lib/component/panels/databasePanel/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 +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ShiftOptionsPanel.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.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 +13 -8
- package/lib/component/reducer/Reducer.js.map +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.js +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.js.map +1 -1
- package/lib/component/reducer/actions/DatabaseActions.d.ts +8 -11
- package/lib/component/reducer/actions/DatabaseActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DatabaseActions.js +87 -51
- package/lib/component/reducer/actions/DatabaseActions.js.map +1 -1
- package/lib/component/reducer/actions/DomainActions.js.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.d.ts +4 -3
- package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.js +66 -68
- package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
- package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/InsetActions.js +8 -8
- package/lib/component/reducer/actions/InsetActions.js.map +1 -1
- package/lib/component/reducer/actions/LoadAction.d.ts.map +1 -1
- package/lib/component/reducer/actions/LoadAction.js +21 -2
- package/lib/component/reducer/actions/LoadAction.js.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.js +9 -6
- 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 +2 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.js +26 -15
- 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/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/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 +53 -0
- package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
- package/lib/data/PredictionManager.d.ts.map +1 -1
- package/lib/data/PredictionManager.js +9 -2
- package/lib/data/PredictionManager.js.map +1 -1
- package/lib/data/SpectraManager.d.ts +1 -2
- package/lib/data/SpectraManager.d.ts.map +1 -1
- package/lib/data/SpectraManager.js +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 +4 -3
- package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.js +8 -4
- package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/get2DColor.d.ts +2 -2
- package/lib/data/data2d/Spectrum2D/get2DColor.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/get2DColor.js +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.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.js +1 -1
- package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.js.map +1 -1
- package/lib/data/molecules/Molecule.js +2 -2
- package/lib/data/molecules/Molecule.js.map +1 -1
- package/lib/data/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.js +1 -1
- package/package.json +48 -48
- 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 +8 -2
- package/src/component/1d/database/ResurrectedDatabaseRanges.tsx +8 -2
- package/src/component/1d/integral/IntegralsSeries.tsx +1 -1
- package/src/component/1d/jCouplingGraph/JGraphVerticalAxis.tsx +1 -1
- package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +6 -5
- package/src/component/1d/peaks/PeakAnnotations.tsx +1 -1
- package/src/component/1d/peaks/PeakAnnotationsSpreadMode.tsx +3 -0
- package/src/component/1d/peaks/PeakEditionManager.tsx +2 -5
- package/src/component/1d/peaks/usePeakShapesPath.ts +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/axis_unit_picker.tsx +53 -0
- package/src/component/1d-2d/tools/BrushXY.tsx +6 -6
- package/src/component/2d/1d-tracer/VerticalSliceChart.tsx +1 -1
- package/src/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.tsx +2 -2
- package/src/component/2d/DirectAxis2D.tsx +104 -0
- package/src/component/2d/IndirectAxis2D.tsx +139 -0
- package/src/component/2d/SVGContent2D.tsx +4 -4
- package/src/component/2d/fid/FidCanvas.tsx +2 -2
- package/src/component/2d/utilities/extractSpectrumSignals.ts +2 -2
- package/src/component/2d/utilities/scale.ts +26 -6
- package/src/component/2d/zones/Signal.tsx +8 -12
- package/src/component/2d/zones/SignalCrosshair.tsx +3 -2
- package/src/component/2d/zones/SignalsGuideLines.tsx +2 -2
- package/src/component/2d/zones/Zone.tsx +4 -4
- package/src/component/EventsTrackers/BrushTracker.tsx +15 -7
- package/src/component/EventsTrackers/KeysListenerTracker.tsx +115 -128
- package/src/component/EventsTrackers/MouseTracker.tsx +10 -14
- package/src/component/SVGTable.tsx +5 -5
- package/src/component/assignment/utilities/getAssignments.ts +1 -1
- package/src/component/context/DispatchContext.tsx +3 -1
- package/src/component/context/FilterSyncOptionsContext.tsx +62 -20
- package/src/component/context/ScaleContext.tsx +17 -15
- package/src/component/context/SortSpectraContext.tsx +1 -1
- package/src/component/elements/ActionsButtonsPopover.tsx +3 -4
- package/src/component/elements/Alert.tsx +2 -2
- package/src/component/elements/Anchor.tsx +361 -0
- package/src/component/elements/Button.tsx +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/use2DReducer.tsx +2 -2
- package/src/component/hooks/useCheckToolsVisibility.ts +1 -1
- package/src/component/hooks/useCombinedRefs.ts +1 -0
- 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 +24 -18
- package/src/component/main/InnerNMRium.tsx +3 -2
- package/src/component/main/NMRiumRefAPI.ts +4 -0
- package/src/component/main/NMRiumStateProvider.tsx +13 -3
- package/src/component/main/NMRiumViewer.tsx +1 -1
- 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 +12 -503
- package/src/component/modal/setting/tanstack_general_settings/errors/context.tsx +94 -0
- package/src/component/modal/setting/tanstack_general_settings/errors/renderer.tsx +56 -0
- package/src/component/modal/setting/tanstack_general_settings/general_settings.tsx +37 -30
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.tsx +11 -1
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.tsx +15 -20
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.tsx +41 -82
- package/src/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.ts +3 -9
- package/src/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.tsx +36 -42
- package/src/component/modal/setting/tanstack_general_settings/tabs/axis_tab.tsx +116 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/database_tab.tsx +10 -33
- package/src/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.tsx +7 -34
- package/src/component/modal/setting/tanstack_general_settings/tabs/general_tab.tsx +9 -3
- package/src/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.tsx +10 -50
- package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.tsx +15 -69
- package/src/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.tsx +11 -41
- package/src/component/modal/setting/tanstack_general_settings/ui/cell_actions.tsx +18 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.tsx +45 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.tsx +42 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/cell_input.tsx +127 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/table.tsx +3 -95
- package/src/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.ts +2 -54
- package/src/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.ts +24 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.ts +4 -0
- package/src/component/modal/setting/tanstack_general_settings/validation.ts +3 -2
- 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 +10 -5
- package/src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx +38 -33
- package/src/component/panels/MoleculesPanel/utilities/extractFromAtom.ts +3 -3
- package/src/component/panels/Panels.tsx +2 -1
- package/src/component/panels/PanelsBar.tsx +4 -3
- package/src/component/panels/PeaksPanel/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 +3 -6
- package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +4 -7
- 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 +72 -66
- 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 +4 -6
- package/src/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.tsx +3 -3
- package/src/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.tsx +3 -3
- package/src/component/panels/filtersPanel/Filters/ShiftOptionsPanel.tsx +3 -2
- package/src/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.tsx +4 -4
- package/src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx +3 -2
- package/src/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.ts +55 -0
- package/src/component/panels/filtersPanel/Filters/hooks/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 +22 -10
- 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 +85 -96
- package/src/component/reducer/actions/InsetActions.ts +8 -5
- package/src/component/reducer/actions/LoadAction.ts +25 -1
- package/src/component/reducer/actions/MoleculeActions.ts +9 -6
- 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 +42 -16
- package/src/component/reducer/actions/ToolsActions.ts +4 -74
- 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/setWorkspace.ts +1 -1
- package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +1 -1
- 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 +64 -14
- package/src/data/PredictionManager.ts +29 -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 +14 -9
- 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 +1 -1
- package/src/data/data2d/Spectrum2D/zones/changeZoneSignal.ts +2 -2
- package/src/data/molecules/Molecule.ts +2 -2
- 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.js +0 -110
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.js.map +0 -1
- package/lib/data/types/common/Keys.d.ts +0 -4
- package/lib/data/types/common/Keys.d.ts.map +0 -1
- package/lib/data/types/common/Keys.js +0 -2
- package/lib/data/types/common/Keys.js.map +0 -1
- package/src/component/1d/XAxis1D.tsx +0 -54
- package/src/component/1d/tool/BaseLineZones.tsx +0 -83
- package/src/component/2d/XAxis.tsx +0 -58
- package/src/component/2d/YAxis.tsx +0 -79
- package/src/component/modal/setting/settings-tabs/DatabasesTabContent.tsx +0 -278
- package/src/component/modal/setting/settings-tabs/DisplayTabContent.tsx +0 -221
- package/src/component/modal/setting/settings-tabs/ExportTabContent.tsx +0 -252
- package/src/component/modal/setting/settings-tabs/ExternalAPIsTabContent.tsx +0 -193
- package/src/component/modal/setting/settings-tabs/GeneralTabContent.tsx +0 -152
- package/src/component/modal/setting/settings-tabs/ImportationFiltersTabContent.tsx +0 -173
- package/src/component/modal/setting/settings-tabs/InfoBlockTabContent.tsx +0 -224
- package/src/component/modal/setting/settings-tabs/NucleiTabContent.tsx +0 -230
- package/src/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.tsx +0 -113
- package/src/component/modal/setting/settings-tabs/SpectraColorsTabContent.tsx +0 -308
- package/src/component/modal/setting/settings-tabs/ToolsTabContent.tsx +0 -181
- package/src/component/modal/setting/settingsValidation.ts +0 -92
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.tsx +0 -199
- package/src/data/types/common/Keys.ts +0 -11
package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PhaseCorrectionTwoDimensionsOptionsPanel.js","sourceRoot":"","sources":["../../../../../src/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGnD,OAAO,UAAU,MAAM,iCAAiC,CAAC;AAEzD,OAAO,KAAK,MAAM,4BAA4B,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEvE,OAAO,EACL,2BAA2B,EAC3B,+BAA+B,GAChC,MAAM,4CAA4C,CAAC;AAIpD,MAAM,eAAe,GAAkB;IACrC,OAAO,EAAE,UAAU;CACpB,CAAC;AAEF,MAAM,cAAc,GAAe;IACjC,KAAK,EAAE;QACL,IAAI,EAAE,CAAC;KACR;IACD,OAAO,EAAE;QACP,IAAI,EAAE,EAAE;QACR,OAAO,EAAE,MAAM;KAChB;IACD,SAAS,EAAE;QACT,YAAY,EAAE,KAAK;KACpB;CACF,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,wCAAwC,CAC9D,KAEC;IAED,MAAM,EAAE,UAAU,GAAG,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAEtE,MAAM,MAAM,GAAG,SAAS,CAAC,8BAA8B,CAAC,CAAC;IAEzD,MAAM,EACJ,MAAM,EACN,MAAM,EACN,yBAAyB,EACzB,iCAAiC,EACjC,oBAAoB,EACpB,yBAAyB,EACzB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,oCAAoC,EACpC,eAAe,EACf,sBAAsB,EACtB,KAAK,GACN,GAAG,+BAA+B,CAAC,MAAM,CAAC,CAAC;IAE5C,SAAS,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"PhaseCorrectionTwoDimensionsOptionsPanel.js","sourceRoot":"","sources":["../../../../../src/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGnD,OAAO,UAAU,MAAM,iCAAiC,CAAC;AAEzD,OAAO,KAAK,MAAM,4BAA4B,CAAC;AAC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,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShiftOptionsPanel.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/filtersPanel/Filters/ShiftOptionsPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ShiftOptionsPanel.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/filtersPanel/Filters/ShiftOptionsPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AAU9F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,YAAY,CAAC;AAG9D,KAAK,uBAAuB,GACxB,kBAAkB,CAAC,QAAQ,CAAC,GAC5B,kBAAkB,CAAC,UAAU,CAAC,GAC9B,kBAAkB,CAAC,UAAU,CAAC,CAAC;AAEnC,MAAM,CAAC,OAAO,UAAU,iBAAiB,CACvC,KAAK,EAAE,2BAA2B,CAAC,uBAAuB,CAAC,2CAuF5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShiftOptionsPanel.js","sourceRoot":"","sources":["../../../../../src/component/panels/filtersPanel/Filters/ShiftOptionsPanel.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ShiftOptionsPanel.js","sourceRoot":"","sources":["../../../../../src/component/panels/filtersPanel/Filters/ShiftOptionsPanel.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAG1C,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAClE,OAAO,KAAK,MAAM,4BAA4B,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAEzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA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,CAAC;IACH,CAAC;IAED,SAAS,aAAa,CAAC,KAA8B;QACnD,KAAK,YAAY,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACvC,SAAS,EAAE,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;IAED,SAAS,YAAY,CAAC,KAA8B;QAClD,kBAAkB,EAAE,CAAC;QACrB,QAAQ,EAAE,CAAC,KAAK,CAAC,CAAC;IACpB,CAAC;IAED,OAAO,CACL,MAAC,QAAQ,IAAC,OAAO,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,WAAW,aACjD,UAAU,IAAI,CACb,KAAC,YAAY,cACX,MAAC,eAAe,eACd,eAAO,EACP,KAAC,mBAAmB,IAClB,SAAS,EAAE,aAAa,EACxB,QAAQ,EAAE,YAAY,EACtB,eAAe,EAAE,CAAC,OAAO,GACzB,IACc,GACL,CAChB,EACD,KAAC,QAAQ,CAAC,IAAI,cACZ,KAAC,KAAK,IAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAE,cAAc,YACzC,KAAC,sBAAsB,IACrB,OAAO,EAAE,OAAO,EAChB,IAAI,QACJ,IAAI,EAAC,OAAO,EACZ,GAAG,EAAE,CAAC,EACN,QAAQ,EAAE,CAAC,EACX,YAAY,EAAE,GAAG,GACjB,GACI,GACM,IACP,CACZ,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseApodizationOptions.js","sourceRoot":"","sources":["../../../../../../src/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAG3C,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,OAAO,KAAK,MAAM,+BAA+B,CAAC;AAClD,OAAO,EAAE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BAAgB,EAAE,uBAAuB;KAC1C,CAAC,CAAC;IACL,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,EACJ,YAAY,EACZ,QAAQ,EACR,SAAS,EAAE,EAAE,OAAO,EAAE,GACvB,GAAG,WAAW,CAAC;IAChB,SAAS,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"BaseApodizationOptions.js","sourceRoot":"","sources":["../../../../../../src/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAG3C,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,OAAO,KAAK,MAAM,+BAA+B,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,gDAAgD,CAAC;AACxF,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAExE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,uBAAuB,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC;IACjD,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC;QAC1B,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE;aACnB,KAAK,CAAC;YACL,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC;gBAC1B,cAAc,EAAE,GAAG,CAAC,M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c,EACrB,UAAU,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,EAC1B,MAAM,EAAE,cAAc,EACtB,YAAY,EACV,KAAC,MAAM,IACL,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,EACvC,iBAAiB,EAAC,OAAO,EACzB,UAAU,EAAC,KAAK,EAChB,OAAO,EAAE,cAAc,EACvB,QAAQ,EAAE,iBAAiB,EAC3B,SAAS,EAAE,SAAS,GACpB,EAEJ,WAAW,EAAE,EAAE,eAAe,EAAE,OAAO,EAAE,YAEzC,KAAC,QAAQ,CAAC,IAAI,cACZ,cAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YACrD,QAAQ,GACL,GACQ,GACF,CACjB,CAAC;AACJ,CAAC;AAED,SAAS,cAAc,CACrB,SAAqC;IAErC,OAAO,WAAW,SAAS,UAAU,CAAC;AACxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseZeroFillingOptions.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseZeroFillingOptions.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAKnE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,aAAa,CAAC;AAE/D,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,2BAA2B,CAAC,gBAAgB,CAAC,2CAoErD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseZeroFillingOptions.js","sourceRoot":"","sources":["../../../../../../src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"BaseZeroFillingOptions.js","sourceRoot":"","sources":["../../../../../../src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAG3C,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC1E,OAAO,KAAK,MAAM,+BAA+B,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,OAAO,EACL,sBAAsB,EACtB,cAAc,GACf,MAAM,4BAA4B,CAAC;AAGpC,MAAM,UAAU,sBAAsB,CACpC,KAAoD;IAEpD,MAAM,EAAE,MAAM,EAAE,UAAU,GAAG,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAE9E,MAAM,EACJ,OAAO,EACP,aAAa,EACb,QAAQ,EACR,kBAAkB,EAClB,SAAS,EAAE,EAAE,OAAO,EAAE,GACvB,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;IAE3B,SAAS,aAAa,CAAC,KAA8B;QACnD,aAAa,EAAE,CAAC;QAChB,SAAS,EAAE,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;IAED,SAAS,YAAY,CAAC,KAA8B;QAClD,kBAAkB,EAAE,CAAC;QACrB,QAAQ,EAAE,CAAC,KAAK,CAAC,CAAC;IACpB,CAAC;IAED,MAAM,EAAE,QAAQ,EAAE,wBAAwB,EAAE,GAAG,uBAAuB,EAAE,GACtE,QAAQ,CAAC,aAAa,CAAC,CAAC;IAE1B,MAAM,cAAc,GAAG,MAAM,CAAC,KAAK,IAAI,CAAC,OAAO,CAAC;IAEhD,MAAM,YAAY,GAAG,sBAAsB,CAAC,MAAM,CAAC,CAAC;IACpD,OAAO,CACL,MAAC,QAAQ,IAAC,OAAO,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,WAAW,aACjD,UAAU,IAAI,CACb,KAAC,YAAY,cACX,MAAC,eAAe,eACd,KAAC,MAAM,IACL,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,EACvC,iBAAiB,EAAC,IAAI,EACtB,UAAU,EAAC,KAAK,KACZ,uBAAuB,EAC3B,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE;gCAClB,KAAK,wBAAwB,CAAC,KAAK,CAAC,CAAC;gCACrC,aAAa,CAAC,UAAU,CAAC,CAAC;4BAC5B,CAAC,EACD,KAAK,EAAC,cAAc,GACpB,EACF,KAAC,mBAAmB,IAClB,SAAS,EAAE,aAAa,EACxB,QAAQ,EAAE,YAAY,EACtB,eAAe,EAAE,cAAc,GAC/B,IACc,GACL,CAChB,EACD,KAAC,QAAQ,CAAC,IAAI,cACZ,cAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,YACtD,KAAC,KAAK,IAAC,KAAK,EAAC,OAAO,YAClB,KAAC,iBAAiB,IAChB,OAAO,EAAE,OAAO,EAChB,IAAI,EAAC,UAAU,EACf,KAAK,EAAE,YAAY,EACnB,YAAY,EAAE,GAAG,EAAE;gCACjB,aAAa,CAAC,UAAU,CAAC,CAAC;4BAC5B,CAAC,GACD,GACI,GACJ,GACQ,IACP,CACZ,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
|
+
import type { Control, FieldValues } from 'react-hook-form';
|
|
3
|
+
interface BaseOptions {
|
|
4
|
+
algorithm: string;
|
|
5
|
+
livePreview: boolean;
|
|
6
|
+
anchors?: number[];
|
|
7
|
+
}
|
|
8
|
+
export interface AirplsOptions extends BaseOptions {
|
|
9
|
+
maxIterations: number;
|
|
10
|
+
tolerance: number;
|
|
11
|
+
lambda: number;
|
|
12
|
+
}
|
|
13
|
+
export interface PolynomialOptions extends BaseOptions {
|
|
14
|
+
degree: number;
|
|
15
|
+
}
|
|
16
|
+
export interface WhittakerOptions extends BaseOptions {
|
|
17
|
+
lambda: number;
|
|
18
|
+
learningRate: number;
|
|
19
|
+
maxIterations: number;
|
|
20
|
+
tolerance: number;
|
|
21
|
+
}
|
|
22
|
+
export interface BernsteinOptions extends BaseOptions {
|
|
23
|
+
maxIterations: number;
|
|
24
|
+
tolerance: number;
|
|
25
|
+
factorStd: number;
|
|
26
|
+
learningRate: number;
|
|
27
|
+
degree: number;
|
|
28
|
+
}
|
|
29
|
+
export interface CubicOptions extends BaseOptions {
|
|
30
|
+
noiseThreshold: number;
|
|
31
|
+
maxIterations: number;
|
|
32
|
+
tolerance: number;
|
|
33
|
+
noiseLevel: number;
|
|
34
|
+
noisePercentile: number;
|
|
35
|
+
}
|
|
36
|
+
export type BaselineAlgorithmOptions = AirplsOptions | PolynomialOptions | WhittakerOptions | BernsteinOptions | CubicOptions;
|
|
37
|
+
export interface BaselineAlgorithmFieldsMap {
|
|
38
|
+
airpls: ComponentType<AlgorithmFieldProps<AirplsOptions>>;
|
|
39
|
+
polynomial: ComponentType<AlgorithmFieldProps<PolynomialOptions>>;
|
|
40
|
+
whittaker: ComponentType<AlgorithmFieldProps<WhittakerOptions>>;
|
|
41
|
+
bernstein: ComponentType<AlgorithmFieldProps<BernsteinOptions>>;
|
|
42
|
+
cubic: ComponentType<AlgorithmFieldProps<CubicOptions>>;
|
|
43
|
+
}
|
|
44
|
+
export interface AlgorithmFieldProps<T extends FieldValues> {
|
|
45
|
+
control: Control<T>;
|
|
46
|
+
onValueChange: () => void;
|
|
47
|
+
}
|
|
48
|
+
export {};
|
|
49
|
+
//# sourceMappingURL=baselineCorrectionFields.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"baselineCorrectionFields.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE5D,UAAU,WAAW;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AACD,MAAM,WAAW,aAAc,SAAQ,WAAW;IAChD,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AACD,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IACpD,MAAM,EAAE,MAAM,CAAC;CAChB;AACD,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IACnD,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACnB;AACD,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IACnD,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB;AACD,MAAM,WAAW,YAAa,SAAQ,WAAW;IAC/C,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CACzB;AACD,MAAM,MAAM,wBAAwB,GAChC,aAAa,GACb,iBAAiB,GACjB,gBAAgB,GAChB,gBAAgB,GAChB,YAAY,CAAC;AAEjB,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,aAAa,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC1D,UAAU,EAAE,aAAa,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAClE,SAAS,EAAE,aAAa,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAChE,SAAS,EAAE,aAAa,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAChE,KAAK,EAAE,aAAa,CAAC,mBAAmB,CAAC,YAAY,CAAC,CAAC,CAAC;CACzD;AAED,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,WAAW;IACxD,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IACpB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"baselineCorrectionFields.js","sourceRoot":"","sources":["../../../../../../src/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.ts"],"names":[],"mappings":""}
|
|
@@ -1,40 +1,61 @@
|
|
|
1
1
|
import type { BaselineCorrectionOptions } from '@zakodium/nmr-types';
|
|
2
2
|
import type { ExtractFilterEntry } from '../../../../../data/types/common/ExtractFilterEntry.js';
|
|
3
|
+
import type { BaselineAlgorithmOptions } from '../base/baselineCorrectionFields.ts';
|
|
4
|
+
export declare const DEFAULT_BASELINE_ALGORITHM: BaselineCorrectionOptions['algorithm'];
|
|
3
5
|
export declare const baselineCorrectionsAlgorithms: {
|
|
6
|
+
value: "polynomial" | "airpls" | "whittaker" | "bernstein" | "cubic";
|
|
4
7
|
label: string;
|
|
5
|
-
value: string;
|
|
6
8
|
}[];
|
|
7
|
-
|
|
8
|
-
algorithm:
|
|
9
|
+
export declare function getBaselineValues(algorithm: any, filterValues?: BaselineCorrectionOptions | null): {
|
|
10
|
+
algorithm: any;
|
|
9
11
|
livePreview: boolean;
|
|
10
|
-
|
|
11
|
-
interface AirplsOptions extends BaseOptions {
|
|
12
|
+
lambda: number;
|
|
12
13
|
maxIterations: number;
|
|
13
14
|
tolerance: number;
|
|
14
|
-
}
|
|
15
|
-
|
|
15
|
+
} | {
|
|
16
|
+
algorithm: any;
|
|
17
|
+
livePreview: boolean;
|
|
18
|
+
degree: number;
|
|
19
|
+
} | {
|
|
20
|
+
algorithm: any;
|
|
21
|
+
livePreview: boolean;
|
|
22
|
+
lambda: number;
|
|
23
|
+
maxIterations: number;
|
|
24
|
+
learningRate: number;
|
|
25
|
+
tolerance: number;
|
|
26
|
+
} | {
|
|
27
|
+
algorithm: any;
|
|
28
|
+
livePreview: boolean;
|
|
29
|
+
noiseThreshold: number;
|
|
30
|
+
maxIterations: number;
|
|
31
|
+
tolerance: number;
|
|
32
|
+
noisePercentile: number;
|
|
33
|
+
noiseLevel: number;
|
|
34
|
+
} | {
|
|
35
|
+
algorithm: any;
|
|
36
|
+
livePreview: boolean;
|
|
37
|
+
maxIterations: number;
|
|
38
|
+
tolerance: number;
|
|
39
|
+
factorStd: number;
|
|
40
|
+
learningRate: number;
|
|
16
41
|
degree: number;
|
|
17
|
-
}
|
|
42
|
+
} | {
|
|
43
|
+
livePreview: boolean;
|
|
44
|
+
};
|
|
18
45
|
export declare function getBaselineData(algorithm: any, filterValues?: BaselineCorrectionOptions | null): {
|
|
19
46
|
resolver: import("react-hook-form").Resolver<{
|
|
47
|
+
lambda: number;
|
|
20
48
|
algorithm: string;
|
|
21
49
|
livePreview: NonNullable<boolean | undefined>;
|
|
22
50
|
maxIterations: number;
|
|
23
51
|
tolerance: number;
|
|
24
52
|
}, unknown, {
|
|
25
53
|
algorithm: string;
|
|
54
|
+
lambda: number;
|
|
26
55
|
maxIterations: number;
|
|
27
56
|
tolerance: number;
|
|
28
57
|
livePreview: NonNullable<boolean | undefined>;
|
|
29
|
-
}
|
|
30
|
-
values: {
|
|
31
|
-
algorithm: any;
|
|
32
|
-
livePreview: boolean;
|
|
33
|
-
maxIterations: number;
|
|
34
|
-
tolerance: number;
|
|
35
|
-
};
|
|
36
|
-
} | {
|
|
37
|
-
resolver: import("react-hook-form").Resolver<{
|
|
58
|
+
}> | import("react-hook-form").Resolver<{
|
|
38
59
|
algorithm: string;
|
|
39
60
|
livePreview: NonNullable<boolean | undefined>;
|
|
40
61
|
degree: number;
|
|
@@ -42,49 +63,109 @@ export declare function getBaselineData(algorithm: any, filterValues?: BaselineC
|
|
|
42
63
|
algorithm: string;
|
|
43
64
|
degree: number;
|
|
44
65
|
livePreview: NonNullable<boolean | undefined>;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
66
|
+
}> | import("react-hook-form").Resolver<{
|
|
67
|
+
lambda: number;
|
|
68
|
+
maxIterations: number;
|
|
69
|
+
learningRate: number;
|
|
70
|
+
tolerance: number;
|
|
71
|
+
}, unknown, {
|
|
72
|
+
lambda: number;
|
|
73
|
+
maxIterations: number;
|
|
74
|
+
tolerance: number;
|
|
75
|
+
learningRate: number;
|
|
76
|
+
}> | import("react-hook-form").Resolver<{
|
|
77
|
+
noiseThreshold: number;
|
|
78
|
+
maxIterations: number;
|
|
79
|
+
noisePercentile: number;
|
|
80
|
+
noiseLevel: number;
|
|
81
|
+
tolerance: number;
|
|
82
|
+
}, unknown, {
|
|
83
|
+
maxIterations: number;
|
|
84
|
+
tolerance: number;
|
|
85
|
+
noiseThreshold: number;
|
|
86
|
+
noiseLevel: number;
|
|
87
|
+
noisePercentile: number;
|
|
88
|
+
}> | import("react-hook-form").Resolver<{
|
|
89
|
+
maxIterations: number;
|
|
90
|
+
tolerance: number;
|
|
91
|
+
factorStd: number;
|
|
92
|
+
learningRate: number;
|
|
49
93
|
degree: number;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
94
|
+
}, unknown, {
|
|
95
|
+
degree: number;
|
|
96
|
+
maxIterations: number;
|
|
97
|
+
tolerance: number;
|
|
98
|
+
learningRate: number;
|
|
99
|
+
factorStd: number;
|
|
100
|
+
}> | import("react-hook-form").Resolver<{
|
|
53
101
|
livePreview: NonNullable<boolean | undefined>;
|
|
54
102
|
}, unknown, {
|
|
55
103
|
livePreview: NonNullable<boolean | undefined>;
|
|
56
104
|
}>;
|
|
57
105
|
values: {
|
|
106
|
+
algorithm: any;
|
|
107
|
+
livePreview: boolean;
|
|
108
|
+
lambda: number;
|
|
109
|
+
maxIterations: number;
|
|
110
|
+
tolerance: number;
|
|
111
|
+
} | {
|
|
112
|
+
algorithm: any;
|
|
113
|
+
livePreview: boolean;
|
|
114
|
+
degree: number;
|
|
115
|
+
} | {
|
|
116
|
+
algorithm: any;
|
|
117
|
+
livePreview: boolean;
|
|
118
|
+
lambda: number;
|
|
119
|
+
maxIterations: number;
|
|
120
|
+
learningRate: number;
|
|
121
|
+
tolerance: number;
|
|
122
|
+
} | {
|
|
123
|
+
algorithm: any;
|
|
124
|
+
livePreview: boolean;
|
|
125
|
+
noiseThreshold: number;
|
|
126
|
+
maxIterations: number;
|
|
127
|
+
tolerance: number;
|
|
128
|
+
noisePercentile: number;
|
|
129
|
+
noiseLevel: number;
|
|
130
|
+
} | {
|
|
131
|
+
algorithm: any;
|
|
132
|
+
livePreview: boolean;
|
|
133
|
+
maxIterations: number;
|
|
134
|
+
tolerance: number;
|
|
135
|
+
factorStd: number;
|
|
136
|
+
learningRate: number;
|
|
137
|
+
degree: number;
|
|
138
|
+
} | {
|
|
58
139
|
livePreview: boolean;
|
|
59
140
|
};
|
|
60
141
|
};
|
|
61
142
|
export declare function useBaselineCorrection(filter: ExtractFilterEntry<'baselineCorrection'> | null): {
|
|
62
|
-
watch: import("react-hook-form").UseFormWatch<
|
|
63
|
-
getValues: import("react-hook-form").UseFormGetValues<
|
|
64
|
-
getFieldState: import("react-hook-form").UseFormGetFieldState<
|
|
65
|
-
setError: import("react-hook-form").UseFormSetError<
|
|
66
|
-
clearErrors: import("react-hook-form").UseFormClearErrors<
|
|
67
|
-
setValue: import("react-hook-form").UseFormSetValue<
|
|
68
|
-
|
|
69
|
-
formState: import("react-hook-form").FormState<
|
|
70
|
-
resetField: import("react-hook-form").UseFormResetField<
|
|
71
|
-
unregister: import("react-hook-form").UseFormUnregister<
|
|
72
|
-
control: import("react-hook-form").Control<
|
|
73
|
-
register: import("react-hook-form").UseFormRegister<
|
|
74
|
-
setFocus: import("react-hook-form").UseFormSetFocus<
|
|
75
|
-
subscribe: import("react-hook-form").UseFormSubscribe<
|
|
143
|
+
watch: import("react-hook-form").UseFormWatch<BaselineAlgorithmOptions>;
|
|
144
|
+
getValues: import("react-hook-form").UseFormGetValues<BaselineAlgorithmOptions>;
|
|
145
|
+
getFieldState: import("react-hook-form").UseFormGetFieldState<BaselineAlgorithmOptions>;
|
|
146
|
+
setError: import("react-hook-form").UseFormSetError<BaselineAlgorithmOptions>;
|
|
147
|
+
clearErrors: import("react-hook-form").UseFormClearErrors<BaselineAlgorithmOptions>;
|
|
148
|
+
setValue: import("react-hook-form").UseFormSetValue<BaselineAlgorithmOptions>;
|
|
149
|
+
setValues: import("react-hook-form").UseFormSetValues<BaselineAlgorithmOptions>;
|
|
150
|
+
formState: import("react-hook-form").FormState<BaselineAlgorithmOptions>;
|
|
151
|
+
resetField: import("react-hook-form").UseFormResetField<BaselineAlgorithmOptions>;
|
|
152
|
+
unregister: import("react-hook-form").UseFormUnregister<BaselineAlgorithmOptions>;
|
|
153
|
+
control: import("react-hook-form").Control<BaselineAlgorithmOptions, any, BaselineAlgorithmOptions>;
|
|
154
|
+
register: import("react-hook-form").UseFormRegister<BaselineAlgorithmOptions>;
|
|
155
|
+
setFocus: import("react-hook-form").UseFormSetFocus<BaselineAlgorithmOptions>;
|
|
156
|
+
subscribe: import("react-hook-form").UseFormSubscribe<BaselineAlgorithmOptions>;
|
|
76
157
|
algorithm: {
|
|
158
|
+
value: "polynomial" | "airpls" | "whittaker" | "bernstein" | "cubic";
|
|
77
159
|
label: string;
|
|
78
|
-
value: string;
|
|
79
160
|
} | null;
|
|
80
161
|
defaultAlgorithmSelectProps: {
|
|
81
162
|
setValue: import("react").Dispatch<import("react").SetStateAction<{
|
|
163
|
+
value: "polynomial" | "airpls" | "whittaker" | "bernstein" | "cubic";
|
|
82
164
|
label: string;
|
|
83
|
-
value: string;
|
|
84
165
|
} | null>>;
|
|
85
166
|
itemRenderer: import("@blueprintjs/select").ItemRenderer<{
|
|
167
|
+
value: "polynomial" | "airpls" | "whittaker" | "bernstein" | "cubic";
|
|
86
168
|
label: string;
|
|
87
|
-
value: string;
|
|
88
169
|
}>;
|
|
89
170
|
popoverProps: {
|
|
90
171
|
onOpened: (node: HTMLElement) => void;
|
|
@@ -95,26 +176,25 @@ export declare function useBaselineCorrection(filter: ExtractFilterEntry<'baseli
|
|
|
95
176
|
};
|
|
96
177
|
};
|
|
97
178
|
itemPredicate: (query: string, item: {
|
|
179
|
+
value: "polynomial" | "airpls" | "whittaker" | "bernstein" | "cubic";
|
|
98
180
|
label: string;
|
|
99
|
-
value: string;
|
|
100
181
|
}) => boolean;
|
|
101
182
|
itemListPredicate: (query: string, items: {
|
|
183
|
+
value: "polynomial" | "airpls" | "whittaker" | "bernstein" | "cubic";
|
|
102
184
|
label: string;
|
|
103
|
-
value: string;
|
|
104
185
|
}[]) => {
|
|
186
|
+
value: "polynomial" | "airpls" | "whittaker" | "bernstein" | "cubic";
|
|
105
187
|
label: string;
|
|
106
|
-
value: string;
|
|
107
188
|
}[];
|
|
108
189
|
};
|
|
109
190
|
onAlgorithmChange: import("react").Dispatch<import("react").SetStateAction<{
|
|
191
|
+
value: "polynomial" | "airpls" | "whittaker" | "bernstein" | "cubic";
|
|
110
192
|
label: string;
|
|
111
|
-
value: string;
|
|
112
193
|
} | null>>;
|
|
113
|
-
handleSubmit: import("react-hook-form").UseFormHandleSubmit<
|
|
194
|
+
handleSubmit: import("react-hook-form").UseFormHandleSubmit<BaselineAlgorithmOptions, BaselineAlgorithmOptions>;
|
|
114
195
|
submitHandler: () => void;
|
|
115
196
|
handleApplyFilter: (values: any, triggerSource?: "apply" | "onChange") => void;
|
|
116
197
|
handleCancelFilter: () => void;
|
|
117
|
-
reset: import("react-hook-form").UseFormReset<
|
|
198
|
+
reset: import("react-hook-form").UseFormReset<BaselineAlgorithmOptions>;
|
|
118
199
|
};
|
|
119
|
-
export {};
|
|
120
200
|
//# sourceMappingURL=useBaselineCorrection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBaselineCorrection.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAMrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wDAAwD,CAAC;
|
|
1
|
+
{"version":3,"file":"useBaselineCorrection.d.ts","sourceRoot":"","sources":["../../../../../../src/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAMrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wDAAwD,CAAC;AAGjG,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAEpF,eAAO,MAAM,0BAA0B,EAAE,yBAAyB,CAAC,WAAW,CAC5D,CAAC;AAWnB,eAAO,MAAM,6BAA6B;;;GAEmB,CAAC;AAmE9D,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,GAAG,EACd,YAAY,CAAC,EAAE,yBAAyB,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8DhD;AAED,wBAAgB,eAAe,CAC7B,SAAS,EAAE,GAAG,EACd,YAAY,CAAC,EAAE,yBAAyB,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMhD;AAED,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,kBAAkB,CAAC,oBAAoB,CAAC,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAqD7C,GAAG,kBACI,OAAO,GAAG,UAAU;;;EAmDtC"}
|
|
@@ -5,69 +5,134 @@ import { useSelect } from 'react-science/ui';
|
|
|
5
5
|
import * as Yup from 'yup';
|
|
6
6
|
import { useDispatch } from '../../../../context/DispatchContext.js';
|
|
7
7
|
import { useSyncedFilterOptions } from '../../../../context/FilterSyncOptionsContext.js';
|
|
8
|
-
export const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
export const DEFAULT_BASELINE_ALGORITHM = 'cubic';
|
|
9
|
+
const ALGORITHM_LABELS = {
|
|
10
|
+
airpls: 'airPLS',
|
|
11
|
+
polynomial: 'Polynomial',
|
|
12
|
+
whittaker: 'Whittaker',
|
|
13
|
+
cubic: 'Cubic',
|
|
14
|
+
bernstein: 'Bernstein',
|
|
15
|
+
};
|
|
16
|
+
export const baselineCorrectionsAlgorithms = Object.keys(ALGORITHM_LABELS).map((value) => ({ value, label: ALGORITHM_LABELS[value] }));
|
|
12
17
|
function findAlgorithmItem(algorithmName) {
|
|
13
18
|
return baselineCorrectionsAlgorithms.find((item) => item.value === algorithmName);
|
|
14
19
|
}
|
|
15
|
-
|
|
16
|
-
const { algorithm: baseAlgorithm, ...other } = filterValues || {};
|
|
20
|
+
function getBaselineResolver(algorithm) {
|
|
17
21
|
switch (algorithm) {
|
|
18
|
-
case 'airpls':
|
|
19
|
-
|
|
22
|
+
case 'airpls':
|
|
23
|
+
return yupResolver(Yup.object().shape({
|
|
24
|
+
lambda: Yup.number().integer().required(),
|
|
20
25
|
algorithm: Yup.string().required(),
|
|
21
26
|
livePreview: Yup.boolean().required(),
|
|
22
27
|
maxIterations: Yup.number().integer().min(1).required(),
|
|
23
28
|
tolerance: Yup.number().moreThan(0).required(),
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
values: {
|
|
28
|
-
algorithm,
|
|
29
|
-
livePreview: true,
|
|
30
|
-
maxIterations: 100,
|
|
31
|
-
tolerance: 0.001,
|
|
32
|
-
...(baseAlgorithm === 'airpls' ? other : {}),
|
|
33
|
-
},
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
case 'polynomial': {
|
|
37
|
-
const validation = Yup.object().shape({
|
|
29
|
+
}));
|
|
30
|
+
case 'polynomial':
|
|
31
|
+
return yupResolver(Yup.object().shape({
|
|
38
32
|
algorithm: Yup.string().required(),
|
|
39
33
|
livePreview: Yup.boolean().required(),
|
|
40
34
|
degree: Yup.number().integer().min(1).max(6).required(),
|
|
41
|
-
});
|
|
35
|
+
}));
|
|
36
|
+
case 'whittaker':
|
|
37
|
+
return yupResolver(Yup.object().shape({
|
|
38
|
+
lambda: Yup.number().integer().required(),
|
|
39
|
+
maxIterations: Yup.number().integer().required(),
|
|
40
|
+
learningRate: Yup.number().required(),
|
|
41
|
+
tolerance: Yup.number().required(),
|
|
42
|
+
}));
|
|
43
|
+
case 'cubic':
|
|
44
|
+
return yupResolver(Yup.object().shape({
|
|
45
|
+
noiseThreshold: Yup.number().required(),
|
|
46
|
+
maxIterations: Yup.number().integer().required(),
|
|
47
|
+
noisePercentile: Yup.number().integer().required(),
|
|
48
|
+
noiseLevel: Yup.number().integer().required(),
|
|
49
|
+
tolerance: Yup.number().required(),
|
|
50
|
+
}));
|
|
51
|
+
case 'bernstein':
|
|
52
|
+
return yupResolver(Yup.object().shape({
|
|
53
|
+
maxIterations: Yup.number().integer().required(),
|
|
54
|
+
tolerance: Yup.number().required(),
|
|
55
|
+
factorStd: Yup.number().integer().required(),
|
|
56
|
+
learningRate: Yup.number().required(),
|
|
57
|
+
degree: Yup.number().integer().required(),
|
|
58
|
+
}));
|
|
59
|
+
default:
|
|
60
|
+
return yupResolver(Yup.object({ livePreview: Yup.boolean().required() }));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
export function getBaselineValues(algorithm, filterValues) {
|
|
64
|
+
const { algorithm: baseAlgorithm, ...other } = filterValues || {};
|
|
65
|
+
const overrides = baseAlgorithm === algorithm ? other : {};
|
|
66
|
+
switch (algorithm) {
|
|
67
|
+
case 'airpls':
|
|
42
68
|
return {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
},
|
|
69
|
+
algorithm,
|
|
70
|
+
livePreview: false,
|
|
71
|
+
lambda: 200,
|
|
72
|
+
maxIterations: 100,
|
|
73
|
+
tolerance: 0.001,
|
|
74
|
+
...overrides,
|
|
50
75
|
};
|
|
51
|
-
|
|
52
|
-
|
|
76
|
+
case 'polynomial':
|
|
77
|
+
return {
|
|
78
|
+
algorithm,
|
|
79
|
+
livePreview: false,
|
|
80
|
+
degree: 3,
|
|
81
|
+
...overrides,
|
|
82
|
+
};
|
|
83
|
+
case 'whittaker':
|
|
84
|
+
return {
|
|
85
|
+
algorithm,
|
|
86
|
+
livePreview: false,
|
|
87
|
+
lambda: 200,
|
|
88
|
+
maxIterations: 20,
|
|
89
|
+
learningRate: 0.2,
|
|
90
|
+
tolerance: 1e-3,
|
|
91
|
+
...overrides,
|
|
92
|
+
};
|
|
93
|
+
case 'cubic':
|
|
94
|
+
return {
|
|
95
|
+
algorithm,
|
|
96
|
+
livePreview: false,
|
|
97
|
+
noiseThreshold: 1,
|
|
98
|
+
maxIterations: 10,
|
|
99
|
+
tolerance: 1e-6,
|
|
100
|
+
noisePercentile: 10,
|
|
101
|
+
noiseLevel: 1,
|
|
102
|
+
...overrides,
|
|
103
|
+
};
|
|
104
|
+
case 'bernstein':
|
|
53
105
|
return {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
106
|
+
algorithm,
|
|
107
|
+
livePreview: false,
|
|
108
|
+
maxIterations: 100,
|
|
109
|
+
tolerance: 1e-6,
|
|
110
|
+
factorStd: 3,
|
|
111
|
+
learningRate: 0.3,
|
|
112
|
+
degree: 9,
|
|
113
|
+
...overrides,
|
|
58
114
|
};
|
|
115
|
+
default:
|
|
116
|
+
return { livePreview: false };
|
|
59
117
|
}
|
|
60
118
|
}
|
|
119
|
+
export function getBaselineData(algorithm, filterValues) {
|
|
120
|
+
return {
|
|
121
|
+
resolver: getBaselineResolver(algorithm),
|
|
122
|
+
values: getBaselineValues(algorithm, filterValues),
|
|
123
|
+
};
|
|
124
|
+
}
|
|
61
125
|
export function useBaselineCorrection(filter) {
|
|
62
126
|
const dispatch = useDispatch();
|
|
63
127
|
const previousPreviewRef = useRef(true);
|
|
64
|
-
const { algorithm: baseAlgorithm =
|
|
128
|
+
const { algorithm: baseAlgorithm = DEFAULT_BASELINE_ALGORITHM } = filter?.value || {};
|
|
65
129
|
const { value: algorithm, onItemSelect: onAlgorithmChange, ...defaultAlgorithmSelectProps } = useSelect({
|
|
66
130
|
defaultSelectedItem: findAlgorithmItem(baseAlgorithm),
|
|
67
131
|
itemTextKey: 'label',
|
|
68
132
|
});
|
|
133
|
+
const { syncFilterOptions, clearSyncFilterOptions } = useSyncedFilterOptions(syncWatch);
|
|
69
134
|
const { resolver, values } = getBaselineData(algorithm?.value, filter?.value);
|
|
70
|
-
const { handleSubmit, reset, ...otherFormOptions } = useForm({
|
|
135
|
+
const { handleSubmit, trigger, reset, ...otherFormOptions } = useForm({
|
|
71
136
|
defaultValues: values,
|
|
72
137
|
resolver: resolver,
|
|
73
138
|
});
|
|
@@ -77,9 +142,10 @@ export function useBaselineCorrection(filter) {
|
|
|
77
142
|
if (algorithmItem) {
|
|
78
143
|
onAlgorithmChange(algorithmItem);
|
|
79
144
|
}
|
|
80
|
-
|
|
145
|
+
const merged = { ...values, ...sharedFilterOptions };
|
|
146
|
+
reset(merged, { keepDefaultValues: true });
|
|
147
|
+
onChange(merged);
|
|
81
148
|
}
|
|
82
|
-
const { syncFilterOptions, clearSyncFilterOptions } = useSyncedFilterOptions(syncWatch);
|
|
83
149
|
const onChange = useCallback((values) => {
|
|
84
150
|
const { livePreview, ...options } = values;
|
|
85
151
|
if (livePreview || previousPreviewRef !== livePreview) {
|
|
@@ -96,7 +162,6 @@ export function useBaselineCorrection(filter) {
|
|
|
96
162
|
const { livePreview, ...options } = values;
|
|
97
163
|
switch (triggerSource) {
|
|
98
164
|
case 'onChange': {
|
|
99
|
-
onChange(values);
|
|
100
165
|
syncFilterOptions(values);
|
|
101
166
|
break;
|
|
102
167
|
}
|