nmrium 2.4.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/component/1d/BrushTracker1D.d.ts.map +1 -1
- package/lib/component/1d/BrushTracker1D.js +158 -173
- package/lib/component/1d/BrushTracker1D.js.map +1 -1
- package/lib/component/1d/FloatPublicationString.js +6 -6
- package/lib/component/1d/FloatPublicationString.js.map +1 -1
- package/lib/component/1d/HorizontalAxis1D.d.ts.map +1 -1
- package/lib/component/1d/HorizontalAxis1D.js +4 -1
- package/lib/component/1d/HorizontalAxis1D.js.map +1 -1
- package/lib/component/1d/PredictionErrorsNotations.js +1 -1
- package/lib/component/1d/PredictionErrorsNotations.js.map +1 -1
- package/lib/component/1d/SVGContent1D.d.ts.map +1 -1
- package/lib/component/1d/SVGContent1D.js +2 -1
- package/lib/component/1d/SVGContent1D.js.map +1 -1
- package/lib/component/1d/SimilarityTree.js +2 -2
- package/lib/component/1d/SimilarityTree.js.map +1 -1
- package/lib/component/1d/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.map +1 -1
- package/lib/component/1d/baseline/BaselinePreview.js +47 -22
- package/lib/component/1d/baseline/BaselinePreview.js.map +1 -1
- package/lib/component/1d/baseline/getMedianY.d.ts +5 -1
- package/lib/component/1d/baseline/getMedianY.d.ts.map +1 -1
- package/lib/component/1d/baseline/getMedianY.js +19 -5
- package/lib/component/1d/baseline/getMedianY.js.map +1 -1
- package/lib/component/1d/inset/DraggableInset.js +1 -1
- package/lib/component/1d/inset/DraggableInset.js.map +1 -1
- package/lib/component/1d/integral/IntegralResizable.d.ts.map +1 -1
- package/lib/component/1d/integral/IntegralResizable.js +4 -4
- package/lib/component/1d/integral/IntegralResizable.js.map +1 -1
- package/lib/component/1d/matrix/useMatrix.d.ts.map +1 -1
- package/lib/component/1d/matrix/useMatrix.js +2 -2
- package/lib/component/1d/matrix/useMatrix.js.map +1 -1
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js +3 -3
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotations.js +1 -1
- package/lib/component/1d/peaks/PeakAnnotations.js.map +1 -1
- package/lib/component/1d/ranges/AssignmentLabel.d.ts.map +1 -1
- package/lib/component/1d/ranges/AssignmentLabel.js.map +1 -1
- package/lib/component/1d/ranges/FloatingRanges.d.ts.map +1 -1
- package/lib/component/1d/ranges/FloatingRanges.js +2 -3
- package/lib/component/1d/ranges/FloatingRanges.js.map +1 -1
- package/lib/component/1d/ranges/Range.d.ts.map +1 -1
- package/lib/component/1d/ranges/Range.js +6 -5
- package/lib/component/1d/ranges/Range.js.map +1 -1
- package/lib/component/1d/ranges/Ranges.js +1 -1
- package/lib/component/1d/ranges/Ranges.js.map +1 -1
- package/lib/component/1d/ranges/Signals.d.ts +2 -0
- package/lib/component/1d/ranges/Signals.d.ts.map +1 -0
- package/lib/component/1d/ranges/Signals.js +16 -0
- package/lib/component/1d/ranges/Signals.js.map +1 -0
- package/lib/component/1d-2d/FieldEdition.d.ts +1 -1
- package/lib/component/1d-2d/FieldEdition.d.ts.map +1 -1
- package/lib/component/1d-2d/FieldEdition.js +35 -31
- package/lib/component/1d-2d/FieldEdition.js.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js.map +1 -1
- package/lib/component/1d-2d/components/RangeIndicator.d.ts +13 -0
- package/lib/component/1d-2d/components/RangeIndicator.d.ts.map +1 -0
- package/lib/component/1d-2d/components/RangeIndicator.js +52 -0
- package/lib/component/1d-2d/components/RangeIndicator.js.map +1 -0
- package/lib/component/1d-2d/components/Signals1D.d.ts +19 -0
- package/lib/component/1d-2d/components/Signals1D.d.ts.map +1 -0
- package/lib/component/1d-2d/components/Signals1D.js +157 -0
- package/lib/component/1d-2d/components/Signals1D.js.map +1 -0
- package/lib/component/1d-2d/components/axis_unit_picker.d.ts.map +1 -1
- package/lib/component/1d-2d/components/axis_unit_picker.js +1 -1
- package/lib/component/1d-2d/components/axis_unit_picker.js.map +1 -1
- package/lib/component/1d-2d/tools/BrushXY.d.ts.map +1 -1
- package/lib/component/1d-2d/tools/BrushXY.js +40 -28
- package/lib/component/1d-2d/tools/BrushXY.js.map +1 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.d.ts +16 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.d.ts.map +1 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.js +51 -36
- package/lib/component/1d-2d/tools/CrossLinePointer.js.map +1 -1
- package/lib/component/1d-2d/tools/CursorToolIcon.d.ts +9 -0
- package/lib/component/1d-2d/tools/CursorToolIcon.d.ts.map +1 -0
- package/lib/component/1d-2d/tools/CursorToolIcon.js +58 -0
- package/lib/component/1d-2d/tools/CursorToolIcon.js.map +1 -0
- package/lib/component/1d-2d/tools/DistanceLine.d.ts +29 -0
- package/lib/component/1d-2d/tools/DistanceLine.d.ts.map +1 -0
- package/lib/component/1d-2d/tools/DistanceLine.js +132 -0
- package/lib/component/1d-2d/tools/DistanceLine.js.map +1 -0
- package/lib/component/2d/1d-tracer/Left1DChart.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/Left1DChart.js +5 -3
- package/lib/component/2d/1d-tracer/Left1DChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/Ranges1D.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/Ranges1D.js +4 -60
- package/lib/component/2d/1d-tracer/Ranges1D.js.map +1 -1
- package/lib/component/2d/1d-tracer/Top1DChart.d.ts.map +1 -1
- package/lib/component/2d/1d-tracer/Top1DChart.js +5 -3
- package/lib/component/2d/1d-tracer/Top1DChart.js.map +1 -1
- package/lib/component/2d/BrushTracker2D.d.ts.map +1 -1
- package/lib/component/2d/BrushTracker2D.js +20 -10
- package/lib/component/2d/BrushTracker2D.js.map +1 -1
- package/lib/component/2d/DirectAxis2D.d.ts.map +1 -1
- package/lib/component/2d/DirectAxis2D.js +4 -1
- package/lib/component/2d/DirectAxis2D.js.map +1 -1
- package/lib/component/2d/FooterBanner.d.ts.map +1 -1
- package/lib/component/2d/FooterBanner.js +2 -2
- package/lib/component/2d/FooterBanner.js.map +1 -1
- package/lib/component/2d/IndirectAxis2D.d.ts.map +1 -1
- package/lib/component/2d/IndirectAxis2D.js +5 -2
- package/lib/component/2d/IndirectAxis2D.js.map +1 -1
- package/lib/component/2d/SignalDeltaLine.js +1 -1
- package/lib/component/2d/SignalDeltaLine.js.map +1 -1
- package/lib/component/2d/Viewer2D.d.ts.map +1 -1
- package/lib/component/2d/Viewer2D.js +3 -1
- package/lib/component/2d/Viewer2D.js.map +1 -1
- package/lib/component/2d/fid/FidCanvas.js +2 -2
- package/lib/component/2d/fid/FidCanvas.js.map +1 -1
- package/lib/component/2d/fid/FidContainer.js +3 -3
- package/lib/component/2d/fid/FidContainer.js.map +1 -1
- package/lib/component/2d/ft/Contours.d.ts.map +1 -1
- package/lib/component/2d/ft/Contours.js +37 -1
- package/lib/component/2d/ft/Contours.js.map +1 -1
- package/lib/component/2d/ft/FTContainer.d.ts.map +1 -1
- package/lib/component/2d/ft/FTContainer.js +2 -3
- package/lib/component/2d/ft/FTContainer.js.map +1 -1
- package/lib/component/2d/useTracesSpectra.d.ts.map +1 -1
- package/lib/component/2d/useTracesSpectra.js +5 -3
- package/lib/component/2d/useTracesSpectra.js.map +1 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.d.ts +2 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.d.ts.map +1 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.js +26 -25
- package/lib/component/2d/utilities/extractSpectrumSignals.js.map +1 -1
- package/lib/component/2d/utilities/scale.d.ts.map +1 -1
- package/lib/component/2d/utilities/scale.js +1 -1
- package/lib/component/2d/utilities/scale.js.map +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.d.ts.map +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.js +15 -18
- package/lib/component/2d/zones/SignalsGuideLines.js.map +1 -1
- package/lib/component/AnchorSVG.d.ts +6 -7
- package/lib/component/AnchorSVG.d.ts.map +1 -1
- package/lib/component/AnchorSVG.js +11 -7
- package/lib/component/AnchorSVG.js.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.js +15 -5
- package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.js +5 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.js.map +1 -1
- package/lib/component/EventsTrackers/MouseTracker.d.ts +3 -0
- package/lib/component/EventsTrackers/MouseTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/MouseTracker.js +15 -0
- package/lib/component/EventsTrackers/MouseTracker.js.map +1 -1
- package/lib/component/assignment/utilities/getAssignments.js +1 -1
- package/lib/component/assignment/utilities/getAssignments.js.map +1 -1
- package/lib/component/context/DispatchContext.d.ts +2 -1
- package/lib/component/context/DispatchContext.d.ts.map +1 -1
- package/lib/component/context/DispatchContext.js.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.d.ts.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.js +13 -13
- package/lib/component/context/FilterSyncOptionsContext.js.map +1 -1
- package/lib/component/context/KeyModifierContext.d.ts +5 -12
- package/lib/component/context/KeyModifierContext.d.ts.map +1 -1
- package/lib/component/context/KeyModifierContext.js +25 -27
- package/lib/component/context/KeyModifierContext.js.map +1 -1
- package/lib/component/context/processings_mutations_context.api.d.ts +14 -0
- package/lib/component/context/processings_mutations_context.api.d.ts.map +1 -0
- package/lib/component/context/processings_mutations_context.api.js +275 -0
- package/lib/component/context/processings_mutations_context.api.js.map +1 -0
- package/lib/component/context/processings_mutations_context.d.ts +5 -0
- package/lib/component/context/processings_mutations_context.d.ts.map +1 -0
- package/lib/component/context/processings_mutations_context.js +16 -0
- package/lib/component/context/processings_mutations_context.js.map +1 -0
- package/lib/component/elements/D3Axis.d.ts.map +1 -1
- package/lib/component/elements/D3Axis.js +4 -3
- package/lib/component/elements/D3Axis.js.map +1 -1
- package/lib/component/elements/NumberInput2Controller.d.ts +1 -0
- package/lib/component/elements/NumberInput2Controller.d.ts.map +1 -1
- package/lib/component/elements/NumberInput2Controller.js +14 -3
- package/lib/component/elements/NumberInput2Controller.js.map +1 -1
- package/lib/component/elements/Sections.d.ts.map +1 -1
- package/lib/component/elements/Sections.js +1 -1
- package/lib/component/elements/Sections.js.map +1 -1
- package/lib/component/elements/TableHeaderLabel.d.ts +9 -0
- package/lib/component/elements/TableHeaderLabel.d.ts.map +1 -0
- package/lib/component/elements/TableHeaderLabel.js +30 -0
- package/lib/component/elements/TableHeaderLabel.js.map +1 -0
- package/lib/component/elements/print/PrintContent.d.ts +1 -0
- package/lib/component/elements/print/PrintContent.d.ts.map +1 -1
- package/lib/component/elements/print/PrintContent.js +77 -72
- package/lib/component/elements/print/PrintContent.js.map +1 -1
- package/lib/component/header/AutoPeakPickingOptionPanel.d.ts.map +1 -1
- package/lib/component/header/AutoPeakPickingOptionPanel.js +59 -31
- package/lib/component/header/AutoPeakPickingOptionPanel.js.map +1 -1
- package/lib/component/header/Header.d.ts.map +1 -1
- package/lib/component/header/Header.js +59 -5
- package/lib/component/header/Header.js.map +1 -1
- package/lib/component/header/RangesPickingOptionPanel.d.ts.map +1 -1
- package/lib/component/header/RangesPickingOptionPanel.js +34 -19
- package/lib/component/header/RangesPickingOptionPanel.js.map +1 -1
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.js +1 -1
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.js +1 -1
- package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.js.map +1 -1
- package/lib/component/highlight/index.d.ts.map +1 -1
- package/lib/component/highlight/index.js +10 -36
- package/lib/component/highlight/index.js.map +1 -1
- package/lib/component/hooks/use2DReducer.d.ts.map +1 -1
- package/lib/component/hooks/use2DReducer.js +2 -2
- package/lib/component/hooks/use2DReducer.js.map +1 -1
- package/lib/component/hooks/useAddMultipletSignal.d.ts +7 -0
- package/lib/component/hooks/useAddMultipletSignal.d.ts.map +1 -0
- package/lib/component/hooks/useAddMultipletSignal.js +28 -0
- package/lib/component/hooks/useAddMultipletSignal.js.map +1 -0
- package/lib/component/hooks/useCheckPointsNumberInWindowArea.d.ts.map +1 -1
- package/lib/component/hooks/useCheckPointsNumberInWindowArea.js +3 -1
- package/lib/component/hooks/useCheckPointsNumberInWindowArea.js.map +1 -1
- package/lib/component/hooks/useCheckToolsVisibility.d.ts.map +1 -1
- package/lib/component/hooks/useCheckToolsVisibility.js +6 -1
- package/lib/component/hooks/useCheckToolsVisibility.js.map +1 -1
- package/lib/component/hooks/useFilter.d.ts.map +1 -1
- package/lib/component/hooks/useFilter.js.map +1 -1
- package/lib/component/hooks/useSpectraBottomMargin.js +1 -1
- package/lib/component/hooks/useSpectraBottomMargin.js.map +1 -1
- package/lib/component/hooks/useSpectrum.d.ts +7 -1
- package/lib/component/hooks/useSpectrum.d.ts.map +1 -1
- package/lib/component/hooks/useSpectrum.js +10 -2
- package/lib/component/hooks/useSpectrum.js.map +1 -1
- package/lib/component/hooks/useSpectrumWithDataSource.d.ts +1 -1
- package/lib/component/hooks/useSpectrumWithDataSource.d.ts.map +1 -1
- package/lib/component/hooks/useSpectrumWithDataSource.js.map +1 -1
- package/lib/component/hooks/useTempSpectrum.d.ts +1 -1
- package/lib/component/hooks/useTempSpectrum.d.ts.map +1 -1
- package/lib/component/hooks/useTextMetrics.d.ts +2 -4
- package/lib/component/hooks/useTextMetrics.d.ts.map +1 -1
- package/lib/component/hooks/useTextMetrics.js +3 -2
- package/lib/component/hooks/useTextMetrics.js.map +1 -1
- package/lib/component/hooks/use_axis_unit.d.ts +3 -3
- package/lib/component/hooks/use_axis_unit.d.ts.map +1 -1
- package/lib/component/hooks/use_axis_unit.js +2 -8
- package/lib/component/hooks/use_axis_unit.js.map +1 -1
- package/lib/component/hooks/use_publication_strings.d.ts.map +1 -1
- package/lib/component/hooks/use_publication_strings.js +2 -3
- package/lib/component/hooks/use_publication_strings.js.map +1 -1
- package/lib/component/hooks/use_ticks_config.d.ts +1 -4
- package/lib/component/hooks/use_ticks_config.d.ts.map +1 -1
- package/lib/component/hooks/use_ticks_config.js +1 -6
- package/lib/component/hooks/use_ticks_config.js.map +1 -1
- package/lib/component/hooks/use_view_spectra.d.ts +6 -0
- package/lib/component/hooks/use_view_spectra.d.ts.map +1 -0
- package/lib/component/hooks/use_view_spectra.js +13 -0
- package/lib/component/hooks/use_view_spectra.js.map +1 -0
- package/lib/component/hooks/use_visible_spectra_1d.d.ts.map +1 -1
- package/lib/component/hooks/use_visible_spectra_1d.js +4 -2
- package/lib/component/hooks/use_visible_spectra_1d.js.map +1 -1
- package/lib/component/main/InnerNMRium.d.ts.map +1 -1
- package/lib/component/main/InnerNMRium.js +6 -5
- package/lib/component/main/InnerNMRium.js.map +1 -1
- package/lib/component/main/NMRium.d.ts +2 -2
- package/lib/component/main/NMRium.d.ts.map +1 -1
- package/lib/component/main/NMRiumStateProvider.d.ts.map +1 -1
- package/lib/component/main/NMRiumStateProvider.js +2 -1
- package/lib/component/main/NMRiumStateProvider.js.map +1 -1
- package/lib/component/main/types.d.ts +1 -1
- package/lib/component/main/types.d.ts.map +1 -1
- package/lib/component/modal/EditPeakShapeModal.d.ts.map +1 -1
- package/lib/component/modal/EditPeakShapeModal.js +102 -60
- package/lib/component/modal/EditPeakShapeModal.js.map +1 -1
- package/lib/component/modal/LoadJCAMPModal.d.ts.map +1 -1
- package/lib/component/modal/LoadJCAMPModal.js +22 -21
- package/lib/component/modal/LoadJCAMPModal.js.map +1 -1
- package/lib/component/modal/PublicationStringModal.d.ts +1 -1
- package/lib/component/modal/PublicationStringModal.d.ts.map +1 -1
- package/lib/component/modal/PublicationStringModal.js +4 -4
- package/lib/component/modal/PublicationStringModal.js.map +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.js +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.js.map +1 -1
- package/lib/component/modal/editRange/EditRangeModal.js +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts +1 -3
- package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.js +12 -20
- package/lib/component/modal/editRange/forms/components/DeltaInput.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaLabel.d.ts +6 -0
- package/lib/component/modal/editRange/forms/components/DeltaLabel.d.ts.map +1 -0
- package/lib/component/modal/editRange/forms/components/DeltaLabel.js +12 -0
- package/lib/component/modal/editRange/forms/components/DeltaLabel.js.map +1 -0
- package/lib/component/modal/editRange/forms/components/SignalTab.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/SignalTab.js +2 -16
- package/lib/component/modal/editRange/forms/components/SignalTab.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/SignalsContent.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/SignalsContent.js +32 -7
- package/lib/component/modal/editRange/forms/components/SignalsContent.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js.map +1 -1
- package/lib/component/modal/editRange/forms/validation/EditRangeValidation.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js +18 -3
- package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js.map +1 -1
- package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts +211 -85
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.js +2 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts +211 -85
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts +211 -85
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts +24 -7
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.js +12 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js +2 -3
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts +4 -2
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js +5 -4
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js +2 -3
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js +3 -4
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_label_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts +145 -42
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.js +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts +3 -4
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.d.ts +28 -28
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.d.ts +22 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.js +15 -2
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts +24 -24
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.js +4 -3
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts +6 -6
- package/lib/component/modal/setting/tanstack_general_settings/validation/import_filters_tab_validation.d.ts +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.d.ts +4 -4
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.js +3 -2
- package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.d.ts +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.js +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts +66 -43
- package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts.map +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.js +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.js.map +1 -1
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.d.ts.map +1 -1
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js +25 -9
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js +2 -3
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getAssignIds.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getAssignIds.js +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getAssignIds.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js +15 -3
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.js +49 -27
- package/lib/component/panels/PeaksPanel/PeaksTable.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPanel.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPanel.js +1 -3
- package/lib/component/panels/RangesPanel/RangesPanel.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.js +12 -11
- package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.d.ts +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.js +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js +8 -15
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.js +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.js +6 -3
- package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts +8 -6
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js +12 -12
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts +2 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js +14 -13
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts +2 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js +18 -15
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.d.ts +2 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.js +7 -5
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.d.ts +2 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.js +4 -4
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.js.map +1 -1
- package/lib/component/panels/SummaryPanel/Overview.d.ts +3 -7
- package/lib/component/panels/SummaryPanel/Overview.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/Overview.js +2 -5
- package/lib/component/panels/SummaryPanel/Overview.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts +2 -2
- package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.js +17 -18
- package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts +7 -7
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js +34 -31
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/useInView.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/utilities/useInView.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.js +122 -101
- package/lib/component/panels/databasePanel/DatabasePanel.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts +3 -0
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.js +14 -16
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js +3 -3
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.js +2 -2
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts +10 -26
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js +3 -4
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts +4 -19
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js +4 -7
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js.map +1 -1
- package/lib/component/panels/filtersPanel/processings/operator_edit_banner.d.ts +11 -0
- package/lib/component/panels/filtersPanel/processings/operator_edit_banner.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings/operator_edit_banner.js +34 -0
- package/lib/component/panels/filtersPanel/processings/operator_edit_banner.js.map +1 -0
- package/lib/component/panels/filtersPanel/processings/processing_item.d.ts +16 -0
- package/lib/component/panels/filtersPanel/processings/processing_item.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings/processing_item.js +88 -0
- package/lib/component/panels/filtersPanel/processings/processing_item.js.map +1 -0
- package/lib/component/panels/filtersPanel/processings/processing_item_extra.d.ts +12 -0
- package/lib/component/panels/filtersPanel/processings/processing_item_extra.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings/processing_item_extra.js +17 -0
- package/lib/component/panels/filtersPanel/processings/processing_item_extra.js.map +1 -0
- package/lib/component/panels/filtersPanel/processings/use_live_edit.d.ts +11 -0
- package/lib/component/panels/filtersPanel/processings/use_live_edit.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings/use_live_edit.js +31 -0
- package/lib/component/panels/filtersPanel/processings/use_live_edit.js.map +1 -0
- package/lib/component/panels/filtersPanel/processings/use_live_operation.d.ts +3 -0
- package/lib/component/panels/filtersPanel/processings/use_live_operation.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings/use_live_operation.js +15 -0
- package/lib/component/panels/filtersPanel/processings/use_live_operation.js.map +1 -0
- package/lib/component/panels/filtersPanel/processings_sections_panel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/processings_sections_panel.js +38 -117
- package/lib/component/panels/filtersPanel/processings_sections_panel.js.map +1 -1
- package/lib/component/panels/informationPanel/InformationPanel.js +1 -1
- package/lib/component/panels/informationPanel/InformationPanel.js.map +1 -1
- package/lib/component/reducer/Reducer.d.ts +18 -2
- package/lib/component/reducer/Reducer.d.ts.map +1 -1
- package/lib/component/reducer/Reducer.js +27 -6
- package/lib/component/reducer/Reducer.js.map +1 -1
- package/lib/component/reducer/actions/AssignmentsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/AssignmentsActions.js +1 -2
- package/lib/component/reducer/actions/AssignmentsActions.js.map +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.d.ts +4 -4
- package/lib/component/reducer/actions/CorrelationsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.js +11 -12
- package/lib/component/reducer/actions/CorrelationsActions.js.map +1 -1
- package/lib/component/reducer/actions/DatabaseActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DatabaseActions.js +25 -9
- package/lib/component/reducer/actions/DatabaseActions.js.map +1 -1
- package/lib/component/reducer/actions/DomainActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DomainActions.js +25 -15
- package/lib/component/reducer/actions/DomainActions.js.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.d.ts +2 -0
- package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.js +37 -60
- package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
- package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/InsetActions.js +1 -1
- package/lib/component/reducer/actions/InsetActions.js.map +1 -1
- package/lib/component/reducer/actions/IntegralsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/IntegralsActions.js +2 -1
- package/lib/component/reducer/actions/IntegralsActions.js.map +1 -1
- package/lib/component/reducer/actions/LoadAction.d.ts.map +1 -1
- package/lib/component/reducer/actions/LoadAction.js +3 -3
- package/lib/component/reducer/actions/LoadAction.js.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts +2 -6
- package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.js +1 -2
- package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.d.ts +5 -2
- package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.js +18 -3
- package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.js +5 -3
- package/lib/component/reducer/actions/PreferencesActions.js.map +1 -1
- package/lib/component/reducer/actions/RangesActions.d.ts +12 -3
- package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/RangesActions.js +57 -36
- package/lib/component/reducer/actions/RangesActions.js.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.js +5 -5
- package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.js +3 -8
- package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
- package/lib/component/reducer/actions/ZonesActions.d.ts +9 -2
- package/lib/component/reducer/actions/ZonesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ZonesActions.js +27 -12
- package/lib/component/reducer/actions/ZonesActions.js.map +1 -1
- package/lib/component/reducer/actions/processings_actions.d.ts +30 -0
- package/lib/component/reducer/actions/processings_actions.d.ts.map +1 -0
- package/lib/component/reducer/actions/processings_actions.js +50 -0
- package/lib/component/reducer/actions/processings_actions.js.map +1 -0
- package/lib/component/reducer/helper/ZoomHistoryManager.d.ts +1 -0
- package/lib/component/reducer/helper/ZoomHistoryManager.d.ts.map +1 -1
- package/lib/component/reducer/helper/ZoomHistoryManager.js +10 -0
- package/lib/component/reducer/helper/ZoomHistoryManager.js.map +1 -1
- package/lib/component/reducer/preferences/actions/initPreferences.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/initPreferences.js +4 -1
- package/lib/component/reducer/preferences/actions/initPreferences.js.map +1 -1
- package/lib/component/reducer/preferences/actions/setPreferences.d.ts +2 -2
- package/lib/component/reducer/preferences/actions/setPreferences.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/setPreferences.js +8 -5
- package/lib/component/reducer/preferences/actions/setPreferences.js.map +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts.map +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +2 -0
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.d.ts +3 -3
- package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.js.map +1 -1
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts +2 -4
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts.map +1 -1
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.js +2 -9
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.js.map +1 -1
- package/lib/component/toolbar/ToolTypes.d.ts +21 -1
- package/lib/component/toolbar/ToolTypes.d.ts.map +1 -1
- package/lib/component/toolbar/ToolTypes.js +55 -0
- package/lib/component/toolbar/ToolTypes.js.map +1 -1
- package/lib/component/toolbar/nmr_toolbar.d.ts.map +1 -1
- package/lib/component/toolbar/nmr_toolbar.js +54 -53
- package/lib/component/toolbar/nmr_toolbar.js.map +1 -1
- package/lib/component/utility/core_slots/core_operator_expanded.d.ts +10 -0
- package/lib/component/utility/core_slots/core_operator_expanded.d.ts.map +1 -0
- package/lib/component/utility/{CoreSlot.js → core_slots/core_operator_expanded.js} +2 -21
- package/lib/component/utility/core_slots/core_operator_expanded.js.map +1 -0
- package/lib/component/utility/core_slots/core_operator_name.d.ts +9 -0
- package/lib/component/utility/core_slots/core_operator_name.d.ts.map +1 -0
- package/lib/component/utility/core_slots/core_operator_name.js +10 -0
- package/lib/component/utility/core_slots/core_operator_name.js.map +1 -0
- package/lib/component/utility/core_slots/core_operator_panel_tool.d.ts +9 -0
- package/lib/component/utility/core_slots/core_operator_panel_tool.d.ts.map +1 -0
- package/lib/component/utility/core_slots/core_operator_panel_tool.js +15 -0
- package/lib/component/utility/core_slots/core_operator_panel_tool.js.map +1 -0
- package/lib/component/utility/core_slots/core_operator_tool.d.ts +9 -0
- package/lib/component/utility/core_slots/core_operator_tool.d.ts.map +1 -0
- package/lib/component/utility/core_slots/core_operator_tool.js +15 -0
- package/lib/component/utility/core_slots/core_operator_tool.js.map +1 -0
- package/lib/component/utility/core_slots/core_operator_topbar.d.ts +8 -0
- package/lib/component/utility/core_slots/core_operator_topbar.d.ts.map +1 -0
- package/lib/component/utility/core_slots/core_operator_topbar.js +36 -0
- package/lib/component/utility/core_slots/core_operator_topbar.js.map +1 -0
- package/lib/component/utility/core_slots/core_slot.d.ts +17 -0
- package/lib/component/utility/core_slots/core_slot.d.ts.map +1 -0
- package/lib/component/utility/core_slots/core_slot.js +14 -0
- package/lib/component/utility/core_slots/core_slot.js.map +1 -0
- package/lib/component/utility/formatNumber.d.ts +2 -0
- package/lib/component/utility/formatNumber.d.ts.map +1 -1
- package/lib/component/utility/formatNumber.js +9 -2
- package/lib/component/utility/formatNumber.js.map +1 -1
- package/lib/component/utility/toolbar_item_error.d.ts +3 -0
- package/lib/component/utility/toolbar_item_error.d.ts.map +1 -0
- package/lib/component/utility/toolbar_item_error.js +14 -0
- package/lib/component/utility/toolbar_item_error.js.map +1 -0
- package/lib/component/workspaces/assignment.d.ts.map +1 -1
- package/lib/component/workspaces/assignment.js +1 -0
- package/lib/component/workspaces/assignment.js.map +1 -1
- package/lib/component/workspaces/basic.d.ts.map +1 -1
- package/lib/component/workspaces/basic.js +1 -0
- package/lib/component/workspaces/basic.js.map +1 -1
- package/lib/component/workspaces/exercise.d.ts.map +1 -1
- package/lib/component/workspaces/exercise.js +1 -0
- package/lib/component/workspaces/exercise.js.map +1 -1
- package/lib/component/workspaces/prediction.d.ts.map +1 -1
- package/lib/component/workspaces/prediction.js +1 -0
- package/lib/component/workspaces/prediction.js.map +1 -1
- package/lib/component/workspaces/process1D.d.ts.map +1 -1
- package/lib/component/workspaces/process1D.js +1 -0
- package/lib/component/workspaces/process1D.js.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.js +20 -2
- package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
- package/lib/data/SpectraManager.d.ts.map +1 -1
- package/lib/data/SpectraManager.js +2 -3
- package/lib/data/SpectraManager.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/SumManager.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/SumManager.js +2 -1
- package/lib/data/data1d/Spectrum1D/SumManager.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/index.d.ts +0 -1
- package/lib/data/data1d/Spectrum1D/index.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/index.js +0 -1
- package/lib/data/data1d/Spectrum1D/index.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/initiateDatum1D.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/initiateDatum1D.js +17 -6
- package/lib/data/data1d/Spectrum1D/initiateDatum1D.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/changePeakRelativeValue.d.ts +7 -0
- package/lib/data/data1d/Spectrum1D/peaks/changePeakRelativeValue.d.ts.map +1 -0
- package/lib/data/data1d/Spectrum1D/peaks/changePeakRelativeValue.js +14 -0
- package/lib/data/data1d/Spectrum1D/peaks/changePeakRelativeValue.js.map +1 -0
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.js +2 -2
- package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.d.ts +1 -2
- package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.js +2 -2
- package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/getMissingProjection.d.ts +1 -1
- package/lib/data/data2d/Spectrum2D/getMissingProjection.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/getSlice.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/getSlice.js +3 -3
- package/lib/data/data2d/Spectrum2D/getSlice.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/index.d.ts +0 -1
- package/lib/data/data2d/Spectrum2D/index.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/index.js +0 -1
- package/lib/data/data2d/Spectrum2D/index.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.js +12 -4
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.js.map +1 -1
- package/lib/data/get_view_spectra.d.ts +11 -0
- package/lib/data/get_view_spectra.d.ts.map +1 -0
- package/lib/data/get_view_spectra.js +10 -0
- package/lib/data/get_view_spectra.js.map +1 -0
- package/lib/data/utilities/FindUtilities.d.ts.map +1 -1
- package/lib/data/utilities/FindUtilities.js +1 -2
- package/lib/data/utilities/FindUtilities.js.map +1 -1
- package/lib/data/utilities/RangeUtilities.d.ts +1 -6
- package/lib/data/utilities/RangeUtilities.d.ts.map +1 -1
- package/lib/data/utilities/RangeUtilities.js +12 -27
- package/lib/data/utilities/RangeUtilities.js.map +1 -1
- package/lib/data/utilities/getPeakAbsoluteArea.d.ts +3 -0
- package/lib/data/utilities/getPeakAbsoluteArea.d.ts.map +1 -0
- package/lib/data/utilities/getPeakAbsoluteArea.js +6 -0
- package/lib/data/utilities/getPeakAbsoluteArea.js.map +1 -0
- package/lib/versionInfo.js +1 -1
- package/package.json +42 -44
- package/src/component/1d/BrushTracker1D.tsx +170 -185
- package/src/component/1d/FloatPublicationString.tsx +6 -6
- package/src/component/1d/HorizontalAxis1D.tsx +12 -2
- package/src/component/1d/PredictionErrorsNotations.tsx +1 -1
- package/src/component/1d/SVGContent1D.tsx +2 -0
- package/src/component/1d/SimilarityTree.tsx +2 -2
- package/src/component/1d/Viewer1D.tsx +2 -0
- package/src/component/1d/baseline/BaselinePreview.tsx +43 -13
- package/src/component/1d/baseline/getMedianY.ts +23 -5
- package/src/component/1d/inset/DraggableInset.tsx +1 -1
- package/src/component/1d/integral/IntegralResizable.tsx +6 -6
- package/src/component/1d/matrix/useMatrix.ts +2 -2
- package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +4 -3
- package/src/component/1d/peaks/PeakAnnotations.tsx +1 -1
- package/src/component/1d/ranges/AssignmentLabel.tsx +1 -0
- package/src/component/1d/ranges/FloatingRanges.tsx +3 -4
- package/src/component/1d/ranges/Range.tsx +9 -11
- package/src/component/1d/ranges/Ranges.tsx +1 -1
- package/src/component/1d/ranges/Signals.tsx +28 -0
- package/src/component/1d-2d/FieldEdition.tsx +56 -63
- package/src/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.tsx +1 -1
- package/src/component/1d-2d/components/RangeIndicator.tsx +106 -0
- package/src/component/1d-2d/components/Signals1D.tsx +310 -0
- package/src/component/1d-2d/components/axis_unit_picker.tsx +1 -1
- package/src/component/1d-2d/tools/BrushXY.tsx +45 -28
- package/src/component/1d-2d/tools/CrossLinePointer.tsx +109 -54
- package/src/component/1d-2d/tools/CursorToolIcon.tsx +110 -0
- package/src/component/1d-2d/tools/DistanceLine.tsx +253 -0
- package/src/component/2d/1d-tracer/Left1DChart.tsx +7 -5
- package/src/component/2d/1d-tracer/Ranges1D.tsx +4 -100
- package/src/component/2d/1d-tracer/Top1DChart.tsx +8 -6
- package/src/component/2d/BrushTracker2D.tsx +25 -13
- package/src/component/2d/DirectAxis2D.tsx +12 -3
- package/src/component/2d/FooterBanner.tsx +2 -5
- package/src/component/2d/IndirectAxis2D.tsx +9 -5
- package/src/component/2d/SignalDeltaLine.tsx +1 -1
- package/src/component/2d/Viewer2D.tsx +7 -2
- package/src/component/2d/fid/FidCanvas.tsx +2 -2
- package/src/component/2d/fid/FidContainer.tsx +4 -4
- package/src/component/2d/ft/Contours.tsx +93 -24
- package/src/component/2d/ft/FTContainer.tsx +3 -4
- package/src/component/2d/useTracesSpectra.ts +5 -3
- package/src/component/2d/utilities/extractSpectrumSignals.ts +34 -26
- package/src/component/2d/utilities/scale.ts +1 -1
- package/src/component/2d/zones/SignalsGuideLines.tsx +18 -25
- package/src/component/AnchorSVG.tsx +33 -34
- package/src/component/EventsTrackers/BrushTracker.tsx +22 -8
- package/src/component/EventsTrackers/KeysListenerTracker.tsx +6 -1
- package/src/component/EventsTrackers/MouseTracker.tsx +21 -0
- package/src/component/assignment/utilities/getAssignments.ts +1 -1
- package/src/component/context/DispatchContext.tsx +3 -1
- package/src/component/context/FilterSyncOptionsContext.tsx +15 -15
- package/src/component/context/KeyModifierContext.tsx +48 -38
- package/src/component/context/processings_mutations_context.api.ts +371 -0
- package/src/component/context/processings_mutations_context.tsx +28 -0
- package/src/component/elements/D3Axis.tsx +31 -9
- package/src/component/elements/NumberInput2Controller.tsx +20 -1
- package/src/component/elements/Sections.tsx +1 -1
- package/src/component/elements/TableHeaderLabel.tsx +50 -0
- package/src/component/elements/print/PrintContent.tsx +130 -122
- package/src/component/header/AutoPeakPickingOptionPanel.tsx +179 -102
- package/src/component/header/Header.tsx +99 -8
- package/src/component/header/RangesPickingOptionPanel.tsx +72 -59
- package/src/component/header/SimpleBaseLineCorrectionOptionsPanel.tsx +1 -3
- package/src/component/header/base/BaseSimpleZeroFillingOptionsPanel.tsx +7 -4
- package/src/component/highlight/index.tsx +11 -37
- package/src/component/hooks/use2DReducer.tsx +2 -2
- package/src/component/hooks/useAddMultipletSignal.tsx +32 -0
- package/src/component/hooks/useCheckPointsNumberInWindowArea.ts +4 -2
- package/src/component/hooks/useCheckToolsVisibility.ts +11 -1
- package/src/component/hooks/useFilter.ts +2 -1
- package/src/component/hooks/useSpectraBottomMargin.ts +1 -1
- package/src/component/hooks/useSpectrum.ts +19 -2
- package/src/component/hooks/useSpectrumWithDataSource.ts +16 -8
- package/src/component/hooks/useTextMetrics.ts +10 -9
- package/src/component/hooks/use_axis_unit.ts +2 -8
- package/src/component/hooks/use_publication_strings.ts +2 -4
- package/src/component/hooks/use_ticks_config.ts +1 -7
- package/src/component/hooks/use_view_spectra.ts +16 -0
- package/src/component/hooks/use_visible_spectra_1d.ts +5 -2
- package/src/component/main/InnerNMRium.tsx +50 -47
- package/src/component/main/NMRium.tsx +2 -2
- package/src/component/main/NMRiumStateProvider.tsx +4 -1
- package/src/component/main/types.ts +1 -1
- package/src/component/modal/EditPeakShapeModal.tsx +179 -118
- package/src/component/modal/LoadJCAMPModal.tsx +58 -57
- package/src/component/modal/PublicationStringModal.tsx +4 -5
- package/src/component/modal/aboutUs/AboutUsModal.tsx +1 -1
- package/src/component/modal/editRange/EditRangeModal.tsx +1 -1
- package/src/component/modal/editRange/forms/components/DeltaInput.tsx +17 -31
- package/src/component/modal/editRange/forms/components/DeltaLabel.tsx +19 -0
- package/src/component/modal/editRange/forms/components/SignalTab.tsx +5 -21
- package/src/component/modal/editRange/forms/components/SignalsContent.tsx +40 -6
- package/src/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.tsx +1 -1
- package/src/component/modal/editRange/forms/validation/EditRangeValidation.ts +75 -52
- package/src/component/modal/metaImportation/MetaImportationModal.tsx +3 -3
- package/src/component/modal/setting/tanstack_general_settings/errors/context.tsx +2 -1
- package/src/component/modal/setting/tanstack_general_settings/tabs/axis_tab.tsx +76 -12
- package/src/component/modal/setting/tanstack_general_settings/tabs/database_tab.tsx +2 -3
- package/src/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.tsx +10 -5
- package/src/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.tsx +2 -3
- package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.tsx +8 -4
- package/src/component/modal/setting/tanstack_general_settings/tabs/tools_tab.tsx +3 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/table.tsx +3 -4
- package/src/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.ts +16 -2
- package/src/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.ts +4 -3
- package/src/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.ts +3 -2
- package/src/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.ts +1 -0
- package/src/component/panels/AutomaticAssignment/AutomaticAssignment.tsx +1 -1
- package/src/component/panels/AutomaticAssignment/useAutoAssignments.ts +29 -12
- package/src/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.tsx +1 -1
- package/src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx +2 -3
- package/src/component/panels/MoleculesPanel/utilities/getAssignIds.ts +1 -2
- package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +15 -3
- package/src/component/panels/PeaksPanel/PeaksTable.tsx +92 -29
- package/src/component/panels/RangesPanel/RangesPanel.tsx +1 -3
- package/src/component/panels/RangesPanel/RangesTableRow.tsx +13 -11
- package/src/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.tsx +2 -2
- package/src/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.tsx +1 -1
- package/src/component/panels/SpectraPanel/SpectraPanelHeader.tsx +10 -18
- package/src/component/panels/SpectraPanel/SpectraTable.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.tsx +6 -3
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.tsx +45 -44
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx +23 -21
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.tsx +1 -1
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx +33 -28
- package/src/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.tsx +14 -11
- package/src/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.tsx +12 -10
- package/src/component/panels/SummaryPanel/Overview.tsx +4 -12
- package/src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx +2 -2
- package/src/component/panels/SummaryPanel/SummaryPanel.tsx +32 -33
- package/src/component/panels/SummaryPanel/utilities/Utilities.ts +60 -58
- package/src/component/panels/SummaryPanel/utilities/useInView.ts +1 -1
- package/src/component/panels/databasePanel/DatabasePanel.tsx +173 -121
- package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +41 -16
- package/src/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.tsx +3 -8
- package/src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx +2 -4
- package/src/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.tsx +6 -8
- package/src/component/panels/filtersPanel/Filters/hooks/useZeroFilling.tsx +9 -13
- package/src/component/panels/filtersPanel/processings/operator_edit_banner.tsx +73 -0
- package/src/component/panels/filtersPanel/processings/processing_item.tsx +211 -0
- package/src/component/panels/filtersPanel/processings/processing_item_extra.tsx +63 -0
- package/src/component/panels/filtersPanel/processings/use_live_edit.ts +47 -0
- package/src/component/panels/filtersPanel/processings/use_live_operation.ts +22 -0
- package/src/component/panels/filtersPanel/processings_sections_panel.tsx +92 -276
- package/src/component/panels/informationPanel/InformationPanel.tsx +1 -1
- package/src/component/reducer/Reducer.ts +51 -8
- package/src/component/reducer/actions/AssignmentsActions.ts +1 -2
- package/src/component/reducer/actions/CorrelationsActions.ts +22 -20
- package/src/component/reducer/actions/DatabaseActions.ts +29 -15
- package/src/component/reducer/actions/DomainActions.ts +35 -24
- package/src/component/reducer/actions/FiltersActions.ts +57 -78
- package/src/component/reducer/actions/InsetActions.ts +1 -1
- package/src/component/reducer/actions/IntegralsActions.ts +1 -1
- package/src/component/reducer/actions/LoadAction.ts +8 -5
- package/src/component/reducer/actions/MoleculeActions.ts +1 -2
- package/src/component/reducer/actions/PeaksActions.ts +29 -2
- package/src/component/reducer/actions/PreferencesActions.ts +7 -4
- package/src/component/reducer/actions/RangesActions.ts +85 -41
- package/src/component/reducer/actions/SpectraActions.ts +7 -5
- package/src/component/reducer/actions/ToolsActions.ts +4 -10
- package/src/component/reducer/actions/ZonesActions.ts +44 -14
- package/src/component/reducer/actions/processings_actions.ts +130 -0
- package/src/component/reducer/helper/ZoomHistoryManager.ts +17 -0
- package/src/component/reducer/preferences/actions/initPreferences.ts +4 -1
- package/src/component/reducer/preferences/actions/setPreferences.ts +18 -10
- package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +2 -0
- package/src/component/reducer/preferences/preferencesReducer.ts +4 -4
- package/src/component/reducer/preferences/utilities/mapWorkspaces.ts +9 -21
- package/src/component/toolbar/ToolTypes.ts +107 -1
- package/src/component/toolbar/nmr_toolbar.tsx +56 -73
- package/src/component/utility/{CoreSlot.tsx → core_slots/core_operator_expanded.tsx} +5 -57
- package/src/component/utility/core_slots/core_operator_name.tsx +21 -0
- package/src/component/utility/core_slots/core_operator_panel_tool.tsx +41 -0
- package/src/component/utility/core_slots/core_operator_tool.tsx +41 -0
- package/src/component/utility/core_slots/core_operator_topbar.tsx +65 -0
- package/src/component/utility/core_slots/core_slot.tsx +39 -0
- package/src/component/utility/formatNumber.ts +24 -2
- package/src/component/utility/toolbar_item_error.tsx +29 -0
- package/src/component/workspaces/assignment.ts +1 -0
- package/src/component/workspaces/basic.ts +1 -0
- package/src/component/workspaces/exercise.ts +1 -0
- package/src/component/workspaces/prediction.ts +1 -0
- package/src/component/workspaces/process1D.ts +1 -0
- package/src/component/workspaces/workspaceDefaultProperties.ts +20 -2
- package/src/data/SpectraManager.ts +2 -3
- package/src/data/data1d/Spectrum1D/SumManager.ts +1 -1
- package/src/data/data1d/Spectrum1D/index.ts +0 -1
- package/src/data/data1d/Spectrum1D/initiateDatum1D.ts +17 -9
- package/src/data/data1d/Spectrum1D/peaks/changePeakRelativeValue.ts +26 -0
- package/src/data/data1d/multipleSpectraAnalysis.ts +2 -1
- package/src/data/data2d/Spectrum2D/contours.ts +3 -5
- package/src/data/data2d/Spectrum2D/getSlice.ts +3 -4
- package/src/data/data2d/Spectrum2D/index.ts +0 -1
- package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +12 -4
- package/src/data/get_view_spectra.ts +21 -0
- package/src/data/utilities/FindUtilities.ts +1 -3
- package/src/data/utilities/RangeUtilities.ts +14 -35
- package/src/data/utilities/getPeakAbsoluteArea.ts +7 -0
- package/src/versionInfo.ts +1 -1
- package/lib/component/1d/integral/IntegralIndicator.d.ts +0 -9
- package/lib/component/1d/integral/IntegralIndicator.d.ts.map +0 -1
- package/lib/component/1d/integral/IntegralIndicator.js +0 -22
- package/lib/component/1d/integral/IntegralIndicator.js.map +0 -1
- package/lib/component/2d/1d-tracer/Signals1D.d.ts +0 -11
- package/lib/component/2d/1d-tracer/Signals1D.d.ts.map +0 -1
- package/lib/component/2d/1d-tracer/Signals1D.js +0 -90
- package/lib/component/2d/1d-tracer/Signals1D.js.map +0 -1
- package/lib/component/utility/CoreSlot.d.ts +0 -27
- package/lib/component/utility/CoreSlot.d.ts.map +0 -1
- package/lib/component/utility/CoreSlot.js.map +0 -1
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts +0 -5
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts.map +0 -1
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.js +0 -10
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.js.map +0 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts +0 -14
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts.map +0 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.js +0 -22
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.js.map +0 -1
- package/src/component/1d/integral/IntegralIndicator.tsx +0 -43
- package/src/component/2d/1d-tracer/Signals1D.tsx +0 -145
- package/src/data/data1d/Spectrum1D/isSpectrum1D.ts +0 -19
- package/src/data/data2d/Spectrum2D/isSpectrum2D.ts +0 -36
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterSyncOptionsContext.js","sourceRoot":"","sources":["../../../src/component/context/FilterSyncOptionsContext.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEpD,OAAO,EACL,aAAa,EACb,WAAW,EACX,UAAU,EACV,SAAS,EACT,OAAO,EACP,MAAM,EACN,QAAQ,GACT,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"FilterSyncOptionsContext.js","sourceRoot":"","sources":["../../../src/component/context/FilterSyncOptionsContext.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEpD,OAAO,EACL,aAAa,EACb,WAAW,EACX,UAAU,EACV,SAAS,EACT,OAAO,EACP,MAAM,EACN,QAAQ,GACT,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,eAAe,MAAM,6BAA6B,CAAC;AAE1D,OAAO,EAAE,YAAY,EAAE,MAAM,m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,IAAI,CAAC;YACvC,MAAM,OAAO,GAAG,IAAI,EAAE,OAAO,IAAI,UAAU,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;YACrE,OAAO,EAAE,GAAG,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;QACvC,CAAC,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,oBAAoB,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;IAE7C,MAAM,mBAAmB,GAAG,WAAW,CACrC,CAAC,OAA0C,EAAE,EAAE;QAC7C,sBAAsB,CAAC,CAAC,IAAS,EAAE,EAAE;YACnC,MAAM,IAAI,GAAG,OAAO,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;YACrE,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC;QAC/B,CAAC,CAAC,CAAC;IACL,CAAC,EACD,EAAE,CACH,CAAC;IAEF,MAAM,KAAK,GAAG,OAAO,CACnB,GAAG,EAAE,CAAC,CAAC;QACL,mBAAmB;QACnB,mBAAmB;KACpB,CAAC,EACF,CAAC,mBAAmB,EAAE,mBAAmB,CAAC,CAC3C,CAAC;IAEF,OAAO,CACL,KAAC,wBAAwB,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,YAC5C,QAAQ,GACyB,CACrC,CAAC;AACJ,CAAC"}
|
|
@@ -1,30 +1,23 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
type ModifiersKey = `shift[${boolean}]_ctrl[${boolean}]_alt[${boolean}]`;
|
|
3
|
-
type PrimaryKey = 'shift[true]_ctrl[false]_alt[false]' | 'shift[false]_ctrl[false]_alt[false]';
|
|
4
2
|
interface KeyModifiers {
|
|
5
3
|
ctrlKey: boolean;
|
|
6
4
|
shiftKey: boolean;
|
|
7
5
|
altKey: boolean;
|
|
8
6
|
}
|
|
7
|
+
type ModifiersKey = `shift[${boolean}]_ctrl[${boolean}]_alt[${boolean}]`;
|
|
9
8
|
interface KeyModifiersState extends KeyModifiers {
|
|
10
9
|
modifiersKey: ModifiersKey | null;
|
|
10
|
+
isPrimary: boolean;
|
|
11
11
|
}
|
|
12
12
|
export declare function useKeyModifiers(): KeyModifiersState;
|
|
13
13
|
interface KeyModifierProviderProps {
|
|
14
14
|
children: ReactNode;
|
|
15
15
|
}
|
|
16
16
|
export type EventModifierKeys = Record<'shiftKey' | 'altKey' | 'metaKey' | 'ctrlKey', boolean>;
|
|
17
|
-
export declare function getModifiers(eventKeys: EventModifierKeys):
|
|
18
|
-
|
|
19
|
-
shiftKey: boolean;
|
|
20
|
-
altKey: boolean;
|
|
21
|
-
};
|
|
22
|
-
declare function getModifiersKey(event: EventModifierKeys): "shift[true]_ctrl[false]_alt[false]" | "shift[false]_ctrl[false]_alt[false]" | "shift[false]_ctrl[false]_alt[true]" | "shift[false]_ctrl[true]_alt[false]" | "shift[false]_ctrl[true]_alt[true]" | "shift[true]_ctrl[false]_alt[true]" | "shift[true]_ctrl[true]_alt[false]" | "shift[true]_ctrl[true]_alt[true]";
|
|
17
|
+
export declare function getModifiers(eventKeys: EventModifierKeys): KeyModifiers;
|
|
18
|
+
export declare function getModifiersKey(event: EventModifierKeys): "shift[false]_ctrl[false]_alt[false]" | "shift[false]_ctrl[false]_alt[true]" | "shift[false]_ctrl[true]_alt[false]" | "shift[false]_ctrl[true]_alt[true]" | "shift[true]_ctrl[false]_alt[false]" | "shift[true]_ctrl[false]_alt[true]" | "shift[true]_ctrl[true]_alt[false]" | "shift[true]_ctrl[true]_alt[true]";
|
|
23
19
|
export declare function useIsPrimaryKeyActivated(): boolean;
|
|
24
|
-
export declare function useMapKeyModifiers():
|
|
25
|
-
primaryKeyIdentifier: PrimaryKey;
|
|
26
|
-
getModifiersKey: typeof getModifiersKey;
|
|
27
|
-
};
|
|
20
|
+
export declare function useMapKeyModifiers(): (modifiers: KeyModifiers) => boolean;
|
|
28
21
|
export declare function KeyModifiersProvider({ children }: KeyModifierProviderProps): import("react").JSX.Element;
|
|
29
22
|
export {};
|
|
30
23
|
//# sourceMappingURL=KeyModifierContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyModifierContext.d.ts","sourceRoot":"","sources":["../../../src/component/context/KeyModifierContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"KeyModifierContext.d.ts","sourceRoot":"","sources":["../../../src/component/context/KeyModifierContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAYvC,UAAU,YAAY;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;CACjB;AAMD,KAAK,YAAY,GAAG,SAAS,OAAO,UAAU,OAAO,SAAS,OAAO,GAAG,CAAC;AAEzE,UAAU,iBAAkB,SAAQ,YAAY;IAC9C,YAAY,EAAE,YAAY,GAAG,IAAI,CAAC;IAClC,SAAS,EAAE,OAAO,CAAC;CACpB;AAcD,wBAAgB,eAAe,sBAO9B;AAED,UAAU,wBAAwB;IAChC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAID,MAAM,MAAM,iBAAiB,GAAG,MAAM,CACpC,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,EAC7C,OAAO,CACR,CAAC;AAEF,wBAAgB,YAAY,CAAC,SAAS,EAAE,iBAAiB,GAAG,YAAY,CAOvE;AAOD,wBAAgB,eAAe,CAAC,KAAK,EAAE,iBAAiB,qTAEvD;AAOD,wBAAgB,wBAAwB,YAGvC;AAED,wBAAgB,kBAAkB,gBAQlB,YAAY,aAK3B;AAED,wBAAgB,oBAAoB,CAAC,EAAE,QAAQ,EAAE,EAAE,wBAAwB,+BAyC1E"}
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { createContext, useContext, useEffect, useMemo, useState } from 'react';
|
|
2
|
+
import { createContext, useCallback, useContext, useEffect, useMemo, useState, } from 'react';
|
|
3
3
|
import { usePreferences } from './PreferencesContext.js';
|
|
4
|
-
|
|
5
|
-
if (invert) {
|
|
6
|
-
return 'shift[false]_ctrl[false]_alt[false]';
|
|
7
|
-
}
|
|
8
|
-
return 'shift[true]_ctrl[false]_alt[false]';
|
|
9
|
-
}
|
|
4
|
+
const PRIMARY_MODIFIERS = ['shiftKey'];
|
|
10
5
|
const defaultKeyModifiersState = {
|
|
11
6
|
ctrlKey: false,
|
|
12
7
|
shiftKey: false,
|
|
13
8
|
altKey: false,
|
|
14
9
|
modifiersKey: null,
|
|
10
|
+
isPrimary: false,
|
|
15
11
|
};
|
|
16
12
|
const KeyModifierContext = createContext(defaultKeyModifiersState);
|
|
17
13
|
export function useKeyModifiers() {
|
|
@@ -34,37 +30,32 @@ function toModifiersKey(keyModifiers) {
|
|
|
34
30
|
const { shiftKey, altKey, ctrlKey } = keyModifiers;
|
|
35
31
|
return `shift[${shiftKey ? 'true' : 'false'}]_ctrl[${ctrlKey ? 'true' : 'false'}]_alt[${altKey ? 'true' : 'false'}]`;
|
|
36
32
|
}
|
|
37
|
-
function getModifiersKey(event) {
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
export function getModifiersKey(event) {
|
|
34
|
+
return toModifiersKey(getModifiers(event));
|
|
35
|
+
}
|
|
36
|
+
function isPrimaryActive(modifiers, invert) {
|
|
37
|
+
const allRequiredHeld = PRIMARY_MODIFIERS.every((mod) => modifiers[mod]);
|
|
38
|
+
return invert ? !allRequiredHeld : allRequiredHeld;
|
|
40
39
|
}
|
|
41
40
|
export function useIsPrimaryKeyActivated() {
|
|
42
|
-
const {
|
|
43
|
-
return
|
|
41
|
+
const { isPrimary } = useKeyModifiers();
|
|
42
|
+
return isPrimary;
|
|
44
43
|
}
|
|
45
44
|
export function useMapKeyModifiers() {
|
|
46
45
|
const { current: { general: { invert }, }, } = usePreferences();
|
|
47
|
-
return
|
|
48
|
-
|
|
49
|
-
return {
|
|
50
|
-
primaryKeyIdentifier,
|
|
51
|
-
getModifiersKey,
|
|
52
|
-
};
|
|
46
|
+
return useCallback((modifiers) => {
|
|
47
|
+
return isPrimaryActive(modifiers, invert);
|
|
53
48
|
}, [invert]);
|
|
54
49
|
}
|
|
55
50
|
export function KeyModifiersProvider({ children }) {
|
|
56
|
-
const [modifiers, setModifiers] = useState(defaultKeyModifiersState);
|
|
57
51
|
const { current: { general: { invert }, }, } = usePreferences();
|
|
52
|
+
const [modifiers, setModifiers] = useState(defaultKeyModifiersState);
|
|
58
53
|
useEffect(() => {
|
|
59
54
|
function handleKeyDown(event) {
|
|
60
|
-
|
|
61
|
-
const modifiersKey = toModifiersKey(keyModifiers);
|
|
62
|
-
setModifiers({ ...keyModifiers, modifiersKey });
|
|
55
|
+
setModifiers(getModifiers(event));
|
|
63
56
|
}
|
|
64
57
|
function handleKeyUp(event) {
|
|
65
|
-
|
|
66
|
-
const modifiersKey = toModifiersKey(keyModifiers);
|
|
67
|
-
setModifiers({ ...keyModifiers, modifiersKey });
|
|
58
|
+
setModifiers(getModifiers(event));
|
|
68
59
|
}
|
|
69
60
|
document.addEventListener('keydown', handleKeyDown);
|
|
70
61
|
document.addEventListener('keyup', handleKeyUp);
|
|
@@ -72,7 +63,14 @@ export function KeyModifiersProvider({ children }) {
|
|
|
72
63
|
document.removeEventListener('keydown', handleKeyDown);
|
|
73
64
|
document.removeEventListener('keyup', handleKeyUp);
|
|
74
65
|
};
|
|
75
|
-
}, [
|
|
76
|
-
|
|
66
|
+
}, []);
|
|
67
|
+
const state = useMemo(() => {
|
|
68
|
+
return {
|
|
69
|
+
...modifiers,
|
|
70
|
+
isPrimary: isPrimaryActive(modifiers, invert),
|
|
71
|
+
modifiersKey: toModifiersKey(modifiers),
|
|
72
|
+
};
|
|
73
|
+
}, [invert, modifiers]);
|
|
74
|
+
return (_jsx(KeyModifierContext.Provider, { value: state, children: children }));
|
|
77
75
|
}
|
|
78
76
|
//# sourceMappingURL=KeyModifierContext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyModifierContext.js","sourceRoot":"","sources":["../../../src/component/context/KeyModifierContext.tsx"],"names":[],"mappings":";AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"KeyModifierContext.js","sourceRoot":"","sources":["../../../src/component/context/KeyModifierContext.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,aAAa,EACb,WAAW,EACX,UAAU,EACV,SAAS,EACT,OAAO,EACP,QAAQ,GACT,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAUzD,MAAM,iBAAiB,GAAmB,CAAC,UAAU,CAAC,CAAC;AASvD,MAAM,wBAAwB,GAAsB;IAClD,OAAO,EAAE,KAAK;IACd,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,KAAK;IACb,YAAY,EAAE,IAAI;IAClB,SAAS,EAAE,KAAK;CACjB,CAAC;AAEF,MAAM,kBAAkB,GAAG,aAAa,CACtC,wBAAwB,CACzB,CAAC;AAEF,MAAM,UAAU,eAAe;IAC7B,MAAM,OAAO,GAAG,UAAU,CAAC,kBAAkB,CAAC,CAAC;IAC/C,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;IACzD,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC;AAMD,MAAM,KAAK,GAAG,UAAU,CAAC,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAO7E,MAAM,UAAU,YAAY,CAAC,SAA4B;IACvD,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,SAAS,CAAC;IACzD,OAAO;QACL,OAAO,EAAE,KAAK,CA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zE,MAAM,EACJ,OAAO,EAAE,EACP,OAAO,EAAE,EAAE,MAAM,EAAE,GACpB,GACF,GAAG,cAAc,EAAE,CAAC;IACrB,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CACxC,wBAAwB,CACzB,CAAC;IAEF,SAAS,CAAC,GAAG,EAAE;QACb,SAAS,aAAa,CAAC,KAAoB;YACzC,YAAY,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;QACpC,CAAC;QAED,SAAS,WAAW,CAAC,KAAoB;YACvC,YAAY,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;QACpC,CAAC;QAED,QAAQ,CAAC,gBAAgB,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;QACpD,QAAQ,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;QAEhD,OAAO,GAAG,EAAE;YACV,QAAQ,CAAC,mBAAmB,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;YACvD,QAAQ,CAAC,mBAAmB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;QACrD,CAAC,CAAC;IACJ,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,EAAE;QACzB,OAAO;YACL,GAAG,SAAS;YACZ,SAAS,EAAE,eAAe,CAAC,SAAS,EAAE,MAAM,CAAC;YAC7C,YAAY,EAAE,cAAc,CAAC,SAAS,CAAC;SACxC,CAAC;IACJ,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;IAExB,OAAO,CACL,KAAC,kBAAkB,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,YACtC,QAAQ,GACmB,CAC/B,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { SpectrumProcessingOperation } from '@zakodium/nmr-types';
|
|
2
|
+
export type ProcessingsMutations = ReturnType<typeof useProcessingsMutationsAPI>;
|
|
3
|
+
export declare function useProcessingsMutationsAPI(): {
|
|
4
|
+
apply: (operation: SpectrumProcessingOperation<any, any>, indexOperation: number) => Promise<void>;
|
|
5
|
+
reorder: (sourceIndex: number, targetIndex: number) => Promise<void>;
|
|
6
|
+
remove: (uid: string) => Promise<void>;
|
|
7
|
+
removeAll: () => Promise<void>;
|
|
8
|
+
switchEnabled: (uid: string) => Promise<void>;
|
|
9
|
+
prepareLiveChange: (uid: string, shouldProcessAll: boolean) => Promise<void>;
|
|
10
|
+
resetLiveChange: () => void;
|
|
11
|
+
applyLiveChange: (operation: SpectrumProcessingOperation<any, any>, shouldProcessAll: boolean) => Promise<void>;
|
|
12
|
+
triggerOperation: (operation: SpectrumProcessingOperation<any, any>) => Promise<void>;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=processings_mutations_context.api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processings_mutations_context.api.d.ts","sourceRoot":"","sources":["../../../src/component/context/processings_mutations_context.api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AA+BvE,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAC3C,OAAO,0BAA0B,CAClC,CAAC;AAEF,wBAAgB,0BAA0B;;;;;;;;;;EA+UzC"}
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
import { isSpectrum1D, isSpectrum2D, sliceData1D, sliceData2D, sliceSpectrum, } from '@zakodium/nmrium-core';
|
|
2
|
+
import { assertDefined, assertNotNullish, assertUnreachable, noop, } from '@zakodium/utils';
|
|
3
|
+
import { useMemo } from 'react';
|
|
4
|
+
import { useAccordionControls } from 'react-science/ui';
|
|
5
|
+
import { useEventCallback } from 'usehooks-ts';
|
|
6
|
+
import { initializeContoursLevels } from "../../data/data2d/Spectrum2D/contours.js";
|
|
7
|
+
import { setDomain, setMode } from "../reducer/actions/DomainActions.js";
|
|
8
|
+
import { updateView } from "../reducer/actions/FiltersActions.js";
|
|
9
|
+
import { restoreLastZoomDomain } from "../reducer/helper/ZoomHistoryManager.js";
|
|
10
|
+
import { getActiveSpectrum } from "../reducer/helper/getActiveSpectrum.js";
|
|
11
|
+
import { useChartData } from "./ChartContext.js";
|
|
12
|
+
import { useCore } from "./CoreContext.js";
|
|
13
|
+
import { useDispatch } from "./DispatchContext.js";
|
|
14
|
+
export function useProcessingsMutationsAPI() {
|
|
15
|
+
const core = useCore();
|
|
16
|
+
const state = useChartData();
|
|
17
|
+
const dispatch = useDispatch();
|
|
18
|
+
const { open: openPanel } = useAccordionControls();
|
|
19
|
+
function setIsLoading(isLoading) {
|
|
20
|
+
dispatch({
|
|
21
|
+
type: 'SET_LOADING_FLAG',
|
|
22
|
+
payload: { isLoading },
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Return sliced spectrum allowing free mutations
|
|
27
|
+
*/
|
|
28
|
+
function getSpectrum() {
|
|
29
|
+
const activeSpectrum = getActiveSpectrum(state);
|
|
30
|
+
if (!activeSpectrum)
|
|
31
|
+
return {};
|
|
32
|
+
const id = activeSpectrum.id;
|
|
33
|
+
const indexSpectrum = state.data.findIndex((s) => s.id === id);
|
|
34
|
+
if (indexSpectrum === -1)
|
|
35
|
+
return {};
|
|
36
|
+
const spectrum = sliceSpectrum(state.data[indexSpectrum]);
|
|
37
|
+
return { spectrum, indexSpectrum };
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Return sliced spectrum live processed allowing free mutations
|
|
41
|
+
*/
|
|
42
|
+
function getSpectrumLiveProcessed() {
|
|
43
|
+
const spectrum = state.spectrumLiveProcessed;
|
|
44
|
+
if (!spectrum)
|
|
45
|
+
return;
|
|
46
|
+
return sliceSpectrum(spectrum);
|
|
47
|
+
}
|
|
48
|
+
async function submit(spectrum, index, onProduce) {
|
|
49
|
+
setIsLoading(true);
|
|
50
|
+
const processedSpectrum = await core
|
|
51
|
+
.processSpectrum(spectrum)
|
|
52
|
+
.finally(() => setIsLoading(false));
|
|
53
|
+
dispatch({
|
|
54
|
+
type: 'SET_SPECTRUM',
|
|
55
|
+
payload: {
|
|
56
|
+
index,
|
|
57
|
+
spectrum: processedSpectrum,
|
|
58
|
+
onProduce: (draft) => onProduce(draft, processedSpectrum),
|
|
59
|
+
},
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
function resetSelectedTool() {
|
|
63
|
+
dispatch({
|
|
64
|
+
type: 'SELECT_PROCESSING_OPERATOR',
|
|
65
|
+
payload: { operatorUI: undefined },
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
// --- API --- //
|
|
69
|
+
const resetLiveChange = useEventCallback(function resetLiveChange() {
|
|
70
|
+
dispatch({
|
|
71
|
+
type: 'SET_SPECTRUM_LIVE_PROCESSED',
|
|
72
|
+
payload: {
|
|
73
|
+
spectrumLiveProcessed: undefined,
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
});
|
|
77
|
+
const apply = useEventCallback(async function apply(operation, indexOperation) {
|
|
78
|
+
const { spectrum, indexSpectrum } = getSpectrum();
|
|
79
|
+
if (!spectrum?.processings)
|
|
80
|
+
return;
|
|
81
|
+
if (indexOperation > spectrum.processings.length)
|
|
82
|
+
return;
|
|
83
|
+
spectrum.processings[indexOperation] = operation;
|
|
84
|
+
resetSelectedTool();
|
|
85
|
+
await submit(spectrum, indexSpectrum, (draft) => {
|
|
86
|
+
const { domainUpdateRules = {
|
|
87
|
+
updateXDomain: false,
|
|
88
|
+
updateYDomain: false,
|
|
89
|
+
}, } = core.getOperator(operation.operatorId) ?? {};
|
|
90
|
+
updateView(draft, domainUpdateRules);
|
|
91
|
+
});
|
|
92
|
+
});
|
|
93
|
+
const reorder = useEventCallback(async function reorder(sourceIndex, targetIndex) {
|
|
94
|
+
const { spectrum, indexSpectrum } = getSpectrum();
|
|
95
|
+
if (!spectrum?.processings)
|
|
96
|
+
return;
|
|
97
|
+
[spectrum.processings[sourceIndex], spectrum.processings[targetIndex]] = [
|
|
98
|
+
spectrum.processings[targetIndex],
|
|
99
|
+
spectrum.processings[sourceIndex],
|
|
100
|
+
];
|
|
101
|
+
await submit(spectrum, indexSpectrum, noop);
|
|
102
|
+
});
|
|
103
|
+
const remove = useEventCallback(async function remove(uid) {
|
|
104
|
+
const { spectrum, indexSpectrum } = getSpectrum();
|
|
105
|
+
if (!spectrum?.processings)
|
|
106
|
+
return;
|
|
107
|
+
spectrum.processings = spectrum.processings.filter((p) => p.uid !== uid);
|
|
108
|
+
resetSelectedTool();
|
|
109
|
+
await submit(spectrum, indexSpectrum, (draft) => {
|
|
110
|
+
draft.toolOptions.data.activeFilterID = null;
|
|
111
|
+
setDomain(draft);
|
|
112
|
+
setMode(draft);
|
|
113
|
+
});
|
|
114
|
+
});
|
|
115
|
+
const removeAll = useEventCallback(async function removeAll() {
|
|
116
|
+
const { spectrum, indexSpectrum } = getSpectrum();
|
|
117
|
+
if (!spectrum?.processings)
|
|
118
|
+
return;
|
|
119
|
+
if (spectrum.processings.length === 0)
|
|
120
|
+
return;
|
|
121
|
+
spectrum.processings = [];
|
|
122
|
+
resetSelectedTool();
|
|
123
|
+
await submit(spectrum, indexSpectrum, (draft) => {
|
|
124
|
+
setDomain(draft);
|
|
125
|
+
setMode(draft);
|
|
126
|
+
});
|
|
127
|
+
});
|
|
128
|
+
const switchEnabled = useEventCallback(async function switchEnabled(uid) {
|
|
129
|
+
const { spectrum, indexSpectrum } = getSpectrum();
|
|
130
|
+
if (!spectrum?.processings)
|
|
131
|
+
return;
|
|
132
|
+
const operationIndex = spectrum.processings.findIndex((p) => p.uid === uid);
|
|
133
|
+
if (operationIndex === -1)
|
|
134
|
+
return;
|
|
135
|
+
const operation = spectrum.processings[operationIndex];
|
|
136
|
+
operation.enabled = !operation.enabled;
|
|
137
|
+
resetSelectedTool();
|
|
138
|
+
await submit(spectrum, indexSpectrum, (draft, processedSpectrum) => {
|
|
139
|
+
if (isSpectrum2D(processedSpectrum) && processedSpectrum.info.isFt) {
|
|
140
|
+
draft.view.spectraContourLevels[processedSpectrum.id] =
|
|
141
|
+
initializeContoursLevels(processedSpectrum);
|
|
142
|
+
}
|
|
143
|
+
setDomain(draft);
|
|
144
|
+
setMode(draft);
|
|
145
|
+
restoreLastZoomDomain(draft);
|
|
146
|
+
});
|
|
147
|
+
});
|
|
148
|
+
// Related to live update
|
|
149
|
+
const prepareLiveChange = useEventCallback(async function prepareLiveChange(uid, shouldProcessAll) {
|
|
150
|
+
const { spectrum } = getSpectrum();
|
|
151
|
+
if (!spectrum?.processings)
|
|
152
|
+
return;
|
|
153
|
+
const preProcessings = [];
|
|
154
|
+
const processings = [];
|
|
155
|
+
let didFindUid = false;
|
|
156
|
+
for (const operation of spectrum.processings) {
|
|
157
|
+
if (uid === operation.uid)
|
|
158
|
+
didFindUid = true;
|
|
159
|
+
if (didFindUid)
|
|
160
|
+
processings.push(structuredClone(operation));
|
|
161
|
+
else
|
|
162
|
+
preProcessings.push(structuredClone(operation));
|
|
163
|
+
}
|
|
164
|
+
// apply preProcessings
|
|
165
|
+
spectrum.processings = preProcessings;
|
|
166
|
+
const preProcessedSpectrum = await core.processSpectrum(spectrum);
|
|
167
|
+
// prepare processings for live-update
|
|
168
|
+
preProcessedSpectrum.processings = processings;
|
|
169
|
+
preProcessedSpectrum.originalInfo = structuredClone(preProcessedSpectrum.info);
|
|
170
|
+
if (isSpectrum1D(preProcessedSpectrum)) {
|
|
171
|
+
preProcessedSpectrum.originalData = sliceData1D(preProcessedSpectrum.data);
|
|
172
|
+
}
|
|
173
|
+
else if (isSpectrum2D(preProcessedSpectrum)) {
|
|
174
|
+
preProcessedSpectrum.originalData = sliceData2D(preProcessedSpectrum.data);
|
|
175
|
+
}
|
|
176
|
+
else {
|
|
177
|
+
assertUnreachable(preProcessedSpectrum);
|
|
178
|
+
}
|
|
179
|
+
// apply the rest of processings
|
|
180
|
+
const savedProcessings = structuredClone(preProcessedSpectrum.processings);
|
|
181
|
+
if (!shouldProcessAll) {
|
|
182
|
+
preProcessedSpectrum.processings.splice(1);
|
|
183
|
+
}
|
|
184
|
+
const processedSpectrum = await core.processSpectrum(preProcessedSpectrum);
|
|
185
|
+
assertDefined(processedSpectrum.processings);
|
|
186
|
+
const processedOperation = processedSpectrum.processings[0];
|
|
187
|
+
processedSpectrum.processings = savedProcessings;
|
|
188
|
+
spectrum.processings[0] = processedOperation;
|
|
189
|
+
dispatch({
|
|
190
|
+
type: 'SET_SPECTRUM_LIVE_PROCESSED',
|
|
191
|
+
payload: {
|
|
192
|
+
spectrumLiveProcessed: processedSpectrum,
|
|
193
|
+
},
|
|
194
|
+
});
|
|
195
|
+
});
|
|
196
|
+
const applyLiveChange = useEventCallback(async function applyLiveChange(operation, shouldProcessAll) {
|
|
197
|
+
const spectrum = getSpectrumLiveProcessed();
|
|
198
|
+
if (!spectrum?.processings)
|
|
199
|
+
return;
|
|
200
|
+
const indexOperation = spectrum.processings.findIndex((p) => p.uid === operation.uid);
|
|
201
|
+
if (indexOperation === -1)
|
|
202
|
+
return;
|
|
203
|
+
const savedProcessings = structuredClone(spectrum.processings);
|
|
204
|
+
spectrum.processings[indexOperation] = structuredClone(operation);
|
|
205
|
+
if (!shouldProcessAll) {
|
|
206
|
+
spectrum.processings.splice(indexOperation + 1);
|
|
207
|
+
}
|
|
208
|
+
const processedSpectrum = await core.processSpectrum(spectrum);
|
|
209
|
+
assertDefined(processedSpectrum.processings);
|
|
210
|
+
const processedOperation = processedSpectrum.processings[indexOperation];
|
|
211
|
+
processedSpectrum.processings = savedProcessings;
|
|
212
|
+
spectrum.processings[indexOperation] = processedOperation;
|
|
213
|
+
dispatch({
|
|
214
|
+
type: 'SET_SPECTRUM_LIVE_PROCESSED',
|
|
215
|
+
payload: {
|
|
216
|
+
spectrumLiveProcessed: processedSpectrum,
|
|
217
|
+
},
|
|
218
|
+
});
|
|
219
|
+
});
|
|
220
|
+
const triggerOperation = useEventCallback(async function triggerOperation(operation) {
|
|
221
|
+
const { spectrum, indexSpectrum } = getSpectrum();
|
|
222
|
+
if (!spectrum)
|
|
223
|
+
return;
|
|
224
|
+
spectrum.processings ??= [];
|
|
225
|
+
let operationIndex = spectrum.processings.findIndex((processing) => processing.uid === operation.uid ||
|
|
226
|
+
processing.operatorId === operation.operatorId);
|
|
227
|
+
if (operationIndex === -1) {
|
|
228
|
+
spectrum.processings.push(operation);
|
|
229
|
+
operationIndex = spectrum.processings.length - 1;
|
|
230
|
+
}
|
|
231
|
+
operation = spectrum.processings[operationIndex];
|
|
232
|
+
const operatorUI = core.slotOperator(operation.operatorId);
|
|
233
|
+
const operator = core.getOperator(operation.operatorId);
|
|
234
|
+
assertNotNullish(operatorUI);
|
|
235
|
+
assertNotNullish(operator);
|
|
236
|
+
openPanel('processingsPanel');
|
|
237
|
+
resetLiveChange();
|
|
238
|
+
await submit(spectrum, indexSpectrum, (draft) => updateView(draft, operator.domainUpdateRules));
|
|
239
|
+
dispatch({
|
|
240
|
+
type: 'SELECT_PROCESSING_OPERATOR',
|
|
241
|
+
payload: { operatorUI },
|
|
242
|
+
});
|
|
243
|
+
if (operatorUI.isEditable) {
|
|
244
|
+
dispatch({
|
|
245
|
+
type: 'SET_LIVE_OPERATION',
|
|
246
|
+
payload: { liveOperation: operation },
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
if (operatorUI.isLiveEditable) {
|
|
250
|
+
await prepareLiveChange(operation.uid, operatorUI.defaultShouldProcessAll ?? false);
|
|
251
|
+
}
|
|
252
|
+
});
|
|
253
|
+
return useMemo(() => ({
|
|
254
|
+
apply,
|
|
255
|
+
reorder,
|
|
256
|
+
remove,
|
|
257
|
+
removeAll,
|
|
258
|
+
switchEnabled,
|
|
259
|
+
prepareLiveChange,
|
|
260
|
+
resetLiveChange,
|
|
261
|
+
applyLiveChange,
|
|
262
|
+
triggerOperation,
|
|
263
|
+
}), [
|
|
264
|
+
apply,
|
|
265
|
+
applyLiveChange,
|
|
266
|
+
prepareLiveChange,
|
|
267
|
+
remove,
|
|
268
|
+
removeAll,
|
|
269
|
+
reorder,
|
|
270
|
+
resetLiveChange,
|
|
271
|
+
switchEnabled,
|
|
272
|
+
triggerOperation,
|
|
273
|
+
]);
|
|
274
|
+
}
|
|
275
|
+
//# sourceMappingURL=processings_mutations_context.api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processings_mutations_context.api.js","sourceRoot":"","sources":["../../../src/component/context/processings_mutations_context.api.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,WAAW,EACX,aAAa,GACd,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,IAAI,GACL,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AAEpF,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAE3E,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAoB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAmB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAuB,CAAC;AAMpD,MAAM,UAAU,0BAA0B;IACxC,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,KAAK,GAAG,YAAY,EAAE,CAAC;IAC7B,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAA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,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { PropsWithChildren } from 'react';
|
|
2
|
+
import type { ProcessingsMutations } from './processings_mutations_context.api.ts';
|
|
3
|
+
export declare function ProcessingsMutationsProvider(props: PropsWithChildren): import("react").JSX.Element;
|
|
4
|
+
export declare function useProcessingsMutations(): ProcessingsMutations;
|
|
5
|
+
//# sourceMappingURL=processings_mutations_context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processings_mutations_context.d.ts","sourceRoot":"","sources":["../../../src/component/context/processings_mutations_context.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAOnF,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,iBAAiB,+BASpE;AAED,wBAAgB,uBAAuB,IAAI,oBAAoB,CAK9D"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { assertDefined } from '@zakodium/utils';
|
|
3
|
+
import { createContext, useContext } from 'react';
|
|
4
|
+
import { useProcessingsMutationsAPI } from "./processings_mutations_context.api.js";
|
|
5
|
+
const ProcessingsMutationsContext = createContext(undefined);
|
|
6
|
+
export function ProcessingsMutationsProvider(props) {
|
|
7
|
+
const { children } = props;
|
|
8
|
+
const stableAPI = useProcessingsMutationsAPI();
|
|
9
|
+
return (_jsx(ProcessingsMutationsContext.Provider, { value: stableAPI, children: children }));
|
|
10
|
+
}
|
|
11
|
+
export function useProcessingsMutations() {
|
|
12
|
+
const api = useContext(ProcessingsMutationsContext);
|
|
13
|
+
assertDefined(api);
|
|
14
|
+
return api;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=processings_mutations_context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processings_mutations_context.js","sourceRoot":"","sources":["../../../src/component/context/processings_mutations_context.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAGlD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AAEpF,MAAM,2BAA2B,GAAG,aAAa,CAE/C,SAAS,CAAC,CAAC;AAEb,MAAM,UAAU,4BAA4B,CAAC,KAAwB;IACnE,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC3B,MAAM,SAAS,GAAG,0BAA0B,EAAE,CAAC;IAE/C,OAAO,CACL,KAAC,2BAA2B,CAAC,QAAQ,IAAC,KAAK,EAAE,SAAS,YACnD,QAAQ,GAC4B,CACxC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,uBAAuB;IACrC,MAAM,GAAG,GAAG,UAAU,CAAC,2BAA2B,CAAC,CAAC;IACpD,aAAa,CAAC,GAAG,CAAC,CAAC;IAEnB,OAAO,GAAG,CAAC;AACb,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"D3Axis.d.ts","sourceRoot":"","sources":["../../../src/component/elements/D3Axis.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAQ,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;AACxE,OAAO,KAAK,EAEV,uBAAuB,EAExB,MAAM,kBAAkB,CAAC;AAK1B,KAAK,YAAY,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AACxD,UAAU,eAAe;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,YAAY,CAAC;CAC5B;AAED,KAAK,uBAAuB,GAAG,uBAAuB,CAAC;AAEvD,KAAK,yBAAyB,GAAG,uBAAuB,GAAG;IACzD,oBAAoB,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,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAkND,eAAO,MAAM,MAAM,4GAiElB,CAAC"}
|
|
@@ -7,17 +7,18 @@ function isVerticalAxis(axisPosition) {
|
|
|
7
7
|
}
|
|
8
8
|
function BaseLine(props) {
|
|
9
9
|
const { axisPosition, tickLength = 6, scale } = props;
|
|
10
|
+
const { primaryTicks } = useTicksConfig();
|
|
10
11
|
const [x1, x2] = scale.range();
|
|
11
12
|
const sign = ['left', 'top'].includes(axisPosition) ? -1 : 1;
|
|
12
13
|
let path = `M${x2},${sign * tickLength} V0 H${x1} V${sign * tickLength}`;
|
|
13
14
|
if (isVerticalAxis(axisPosition)) {
|
|
14
15
|
path = `M${sign * tickLength},${x2} H0 V${x1} H${sign * tickLength}`;
|
|
15
16
|
}
|
|
16
|
-
return _jsx("path", { d: path, stroke: "black", fill: "none", className: "domain" });
|
|
17
|
+
return (_jsx("path", { d: path, stroke: "black", fill: "none", className: "domain", ...primaryTicks.tickStyle }));
|
|
17
18
|
}
|
|
18
19
|
function Tickets(props) {
|
|
19
20
|
const { ticks, tickLength = 6, axisPosition } = props;
|
|
20
|
-
const
|
|
21
|
+
const { primaryTicks, secondaryTicks } = useTicksConfig();
|
|
21
22
|
if (!Array.isArray(ticks) || ticks.length === 0)
|
|
22
23
|
return null;
|
|
23
24
|
const isVertical = isVerticalAxis(axisPosition);
|
|
@@ -66,7 +67,7 @@ function Tickets(props) {
|
|
|
66
67
|
};
|
|
67
68
|
return ticks.map(({ label, position }, index) => {
|
|
68
69
|
const isFirst = index === 0;
|
|
69
|
-
return (_jsxs("g", { transform: `translate(${isVertical ? `0,${position}` : `${position},0`})`, className: "tick", children: [
|
|
70
|
+
return (_jsxs("g", { transform: `translate(${isVertical ? `0,${position}` : `${position},0`})`, className: "tick", children: [secondaryTicks.enabled && isFirst && (_jsx("line", { ...positionSecondaryFirstLineConfig, stroke: "black", ...secondaryTicks.tickStyle })), _jsx("line", { ...positionPrimaryLineConfig, stroke: "black", ...primaryTicks.tickStyle }), secondaryTicks.enabled && (_jsx("line", { ...positionSecondaryLineConfig, stroke: "black", ...secondaryTicks.tickStyle })), _jsx(SVGStyledText, { fill: "black", ...primaryTicks.textStyle, ...positionTextConfig, children: label })] }, label));
|
|
70
71
|
});
|
|
71
72
|
}
|
|
72
73
|
function getSecondaryTickOffset(ticks, direction) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"D3Axis.js","sourceRoot":"","sources":["../../../src/component/elements/D3Axis.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAOnC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEhE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAqC9D,SAAS,cAAc,CAAC,YAA0B;IAChD,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;AAClD,CAAC;AAED,SAAS,QAAQ,CAAC,KAAoB;IACpC,MAAM,EAAE,YAAY,EAAE,UAAU,GAAG,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IACtD,MAAM,CAAC,EAAE,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC,KAAK,EAAE,CAAC;IAC/B,MAAM,IAAI,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAE7D,IAAI,IAAI,GAAG,IAAI,EAAE,IAAI,IAAI,GAAG,UAAU,QAAQ,EAAE,KAAK,IAAI,GAAG,UAAU,EAAE,CAAC;IAEzE,IAAI,cAAc,CAAC,YAAY,CAAC,EAAE,CAAC;QACjC,IAAI,GAAG,IAAI,IAAI,GAAG,UAAU,IAAI,EAAE,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ACJ,KAAK,EACL,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAChB,kBAAkB,EAClB,UAAU,EACV,QAAQ,GAAG,KAAK,EAChB,eAAe,GAAG,IAAI,EACtB,iBAAiB,GAAG,IAAI,EACxB,GAAG,UAAU,EACd,GAAG,KAAK,CAAC;IAEV,MAAM,UAAU,GAAG,cAAc,CAAC,YAAY,CAAC,CAAC;IAEhD,OAAO,CACL,aACE,GAAG,EAAE,GAAG,EACR,QAAQ,EAAC,IAAI,EACb,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,KACvC,UAAU,aAEd,aAAG,SAAS,EAAC,MAAM,aACjB,KAAC,QAAQ,IACP,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,UAAU,GACtB,EACF,KAAC,OAAO,IACN,KAAK,EAAE,KAAK,EACZ,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,UAAU,GACtB,EACD,QAAQ,IACP,EACH,QAAQ,IAAI,CACX,aAAG,SAAS,EAAC,MAAM,aAChB,eAAe,IAAI,CAClB,KAAC,WAAW,IACV,KAAK,EAAE,KAAK,EACZ,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,gBAAgB,GAC3B,CACH,EACA,iBAAiB,IAAI,CACpB,KAAC,aAAa,IACZ,KAAK,EAAE,KAAK,EACZ,YAAY,EAAE,YAAY,EAC1B,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,kBAAkB,GAC7B,CACH,IACC,CACL,IACC,CACL,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -4,6 +4,7 @@ export interface NumberInput2ControllerProps<TFieldValues extends FieldValues =
|
|
|
4
4
|
controllerProps?: Omit<ControllerProps<TFieldValues>, 'control' | 'name' | 'render'>;
|
|
5
5
|
noShadowBox?: boolean;
|
|
6
6
|
transformValue?: (value: number) => number;
|
|
7
|
+
formatOnBlur?: (value: number) => string;
|
|
7
8
|
}
|
|
8
9
|
export declare function NumberInput2Controller<TFieldValues extends FieldValues = FieldValues>(props: NumberInput2ControllerProps<TFieldValues>): import("react").JSX.Element;
|
|
9
10
|
//# sourceMappingURL=NumberInput2Controller.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberInput2Controller.d.ts","sourceRoot":"","sources":["../../../src/component/elements/NumberInput2Controller.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NumberInput2Controller.d.ts","sourceRoot":"","sources":["../../../src/component/elements/NumberInput2Controller.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAGpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,MAAM,WAAW,2BAA2B,CAC1C,YAAY,SAAS,WAAW,GAAG,WAAW,CAE9C,SACE,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC,EAC/B,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IACzD,eAAe,CAAC,EAAE,IAAI,CACpB,eAAe,CAAC,YAAY,CAAC,EAC7B,SAAS,GAAG,MAAM,GAAG,QAAQ,CAC9B,CAAC;IACF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC3C,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CAC1C;AAID,wBAAgB,sBAAsB,CACpC,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,EAAE,2BAA2B,CAAC,YAAY,CAAC,+BAkEjD"}
|