nmrium 2.5.0 → 2.7.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/ApodizationLine.js +2 -2
- package/lib/component/1d/ApodizationLine.js.map +1 -1
- 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/Line.js +2 -2
- package/lib/component/1d/Line.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 +4 -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/baseline/BaselinePreview.d.ts.map +1 -1
- package/lib/component/1d/baseline/BaselinePreview.js +49 -24
- 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/database/DatabaseSpectrum.js +2 -2
- package/lib/component/1d/database/DatabaseSpectrum.js.map +1 -1
- package/lib/component/1d/database/ResurrectedDatabaseRanges.js +2 -2
- package/lib/component/1d/database/ResurrectedDatabaseRanges.js.map +1 -1
- package/lib/component/1d/inset/DraggableInset.js +1 -1
- package/lib/component/1d/inset/DraggableInset.js.map +1 -1
- package/lib/component/1d/matrix/Boxplot.js +5 -5
- package/lib/component/1d/matrix/Boxplot.js.map +1 -1
- package/lib/component/1d/matrix/Stocsy.js +2 -2
- package/lib/component/1d/matrix/Stocsy.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/peaks/PeakAnnotationsSpreadMode.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js +12 -3
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js.map +1 -1
- package/lib/component/1d/peaks/usePeakShapesPath.js +2 -2
- package/lib/component/1d/peaks/usePeakShapesPath.js.map +1 -1
- package/lib/component/1d/plugin_svg_chart.d.ts +2 -0
- package/lib/component/1d/plugin_svg_chart.d.ts.map +1 -0
- package/lib/component/1d/plugin_svg_chart.js +43 -0
- package/lib/component/1d/plugin_svg_chart.js.map +1 -0
- package/lib/component/1d/ranges/AssignmentLabel.d.ts.map +1 -1
- package/lib/component/1d/ranges/AssignmentLabel.js.map +1 -1
- package/lib/component/1d/ranges/FloatingRanges.d.ts.map +1 -1
- package/lib/component/1d/ranges/FloatingRanges.js +2 -3
- package/lib/component/1d/ranges/FloatingRanges.js.map +1 -1
- package/lib/component/1d/ranges/Range.d.ts.map +1 -1
- package/lib/component/1d/ranges/Range.js +3 -2
- package/lib/component/1d/ranges/Range.js.map +1 -1
- package/lib/component/1d/ranges/Ranges.js +1 -1
- package/lib/component/1d/ranges/Ranges.js.map +1 -1
- package/lib/component/1d-2d/FieldEdition.d.ts +1 -1
- package/lib/component/1d-2d/FieldEdition.d.ts.map +1 -1
- package/lib/component/1d-2d/FieldEdition.js +35 -31
- package/lib/component/1d-2d/FieldEdition.js.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.js.map +1 -1
- package/lib/component/1d-2d/components/RangeIndicator.d.ts.map +1 -1
- package/lib/component/1d-2d/components/RangeIndicator.js +1 -7
- package/lib/component/1d-2d/components/RangeIndicator.js.map +1 -1
- package/lib/component/1d-2d/components/Signals1D.d.ts.map +1 -1
- package/lib/component/1d-2d/components/Signals1D.js +10 -8
- package/lib/component/1d-2d/components/Signals1D.js.map +1 -1
- package/lib/component/1d-2d/components/axis_unit_picker.d.ts.map +1 -1
- package/lib/component/1d-2d/components/axis_unit_picker.js +1 -1
- package/lib/component/1d-2d/components/axis_unit_picker.js.map +1 -1
- package/lib/component/1d-2d/tools/BrushXY.d.ts.map +1 -1
- package/lib/component/1d-2d/tools/BrushXY.js +40 -28
- package/lib/component/1d-2d/tools/BrushXY.js.map +1 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.d.ts.map +1 -1
- package/lib/component/1d-2d/tools/CrossLinePointer.js +27 -22
- package/lib/component/1d-2d/tools/CrossLinePointer.js.map +1 -1
- package/lib/component/1d-2d/tools/DistanceLine.d.ts +29 -0
- package/lib/component/1d-2d/tools/DistanceLine.d.ts.map +1 -0
- package/lib/component/1d-2d/tools/DistanceLine.js +132 -0
- package/lib/component/1d-2d/tools/DistanceLine.js.map +1 -0
- package/lib/component/2d/1d-tracer/HorizontalSliceChart.js +2 -2
- package/lib/component/2d/1d-tracer/HorizontalSliceChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/Left1DChart.js +5 -4
- package/lib/component/2d/1d-tracer/Left1DChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/Top1DChart.js +5 -4
- package/lib/component/2d/1d-tracer/Top1DChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/VerticalSliceChart.js +2 -2
- package/lib/component/2d/1d-tracer/VerticalSliceChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.js +3 -3
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.js.map +1 -1
- package/lib/component/2d/BrushTracker2D.d.ts.map +1 -1
- package/lib/component/2d/BrushTracker2D.js +20 -10
- package/lib/component/2d/BrushTracker2D.js.map +1 -1
- package/lib/component/2d/FooterBanner.d.ts.map +1 -1
- package/lib/component/2d/FooterBanner.js +2 -2
- package/lib/component/2d/FooterBanner.js.map +1 -1
- package/lib/component/2d/IndirectAxis2D.js +1 -1
- package/lib/component/2d/IndirectAxis2D.js.map +1 -1
- package/lib/component/2d/SignalDeltaLine.js +1 -1
- package/lib/component/2d/SignalDeltaLine.js.map +1 -1
- package/lib/component/2d/Viewer2D.d.ts.map +1 -1
- package/lib/component/2d/Viewer2D.js +2 -1
- package/lib/component/2d/Viewer2D.js.map +1 -1
- package/lib/component/2d/fid/FidCanvas.js +2 -2
- package/lib/component/2d/fid/FidCanvas.js.map +1 -1
- package/lib/component/2d/fid/FidContainer.js +3 -3
- package/lib/component/2d/fid/FidContainer.js.map +1 -1
- package/lib/component/2d/ft/Contours.d.ts.map +1 -1
- package/lib/component/2d/ft/Contours.js +39 -3
- package/lib/component/2d/ft/Contours.js.map +1 -1
- package/lib/component/2d/ft/FTContainer.d.ts.map +1 -1
- package/lib/component/2d/ft/FTContainer.js +2 -3
- package/lib/component/2d/ft/FTContainer.js.map +1 -1
- package/lib/component/2d/useTracesSpectra.d.ts.map +1 -1
- package/lib/component/2d/useTracesSpectra.js +5 -3
- package/lib/component/2d/useTracesSpectra.js.map +1 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.d.ts +2 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.d.ts.map +1 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.js +26 -25
- package/lib/component/2d/utilities/extractSpectrumSignals.js.map +1 -1
- package/lib/component/2d/utilities/scale.d.ts.map +1 -1
- package/lib/component/2d/utilities/scale.js +1 -1
- package/lib/component/2d/utilities/scale.js.map +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.d.ts.map +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.js +15 -18
- package/lib/component/2d/zones/SignalsGuideLines.js.map +1 -1
- package/lib/component/AnchorSVG.d.ts +1 -1
- package/lib/component/AnchorSVG.d.ts.map +1 -1
- package/lib/component/AnchorSVG.js +3 -2
- package/lib/component/AnchorSVG.js.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.js +1 -1
- package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.js +5 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.js.map +1 -1
- package/lib/component/assignment/utilities/getAssignments.js +1 -1
- package/lib/component/assignment/utilities/getAssignments.js.map +1 -1
- package/lib/component/context/DispatchContext.d.ts +2 -1
- package/lib/component/context/DispatchContext.d.ts.map +1 -1
- package/lib/component/context/DispatchContext.js.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.d.ts.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.js +13 -13
- package/lib/component/context/FilterSyncOptionsContext.js.map +1 -1
- package/lib/component/context/KeyModifierContext.d.ts +4 -12
- package/lib/component/context/KeyModifierContext.d.ts.map +1 -1
- package/lib/component/context/KeyModifierContext.js +17 -35
- package/lib/component/context/KeyModifierContext.js.map +1 -1
- package/lib/component/context/ScaleContext.d.ts +1 -1
- package/lib/component/context/ScaleContext.d.ts.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 +15 -32
- 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/export/ExportContent.d.ts.map +1 -1
- package/lib/component/elements/export/ExportContent.js +2 -2
- package/lib/component/elements/export/ExportContent.js.map +1 -1
- package/lib/component/elements/export/ExportOptionsModal.d.ts.map +1 -1
- package/lib/component/elements/export/ExportOptionsModal.js +9 -3
- package/lib/component/elements/export/ExportOptionsModal.js.map +1 -1
- package/lib/component/elements/export/useExportConfigurer.d.ts +1 -0
- package/lib/component/elements/export/useExportConfigurer.d.ts.map +1 -1
- package/lib/component/elements/export/useExportConfigurer.js +5 -0
- package/lib/component/elements/export/useExportConfigurer.js.map +1 -1
- 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 +79 -93
- package/lib/component/elements/print/PrintContent.js.map +1 -1
- package/lib/component/elements/utilities/transferStyles.d.ts +2 -0
- package/lib/component/elements/utilities/transferStyles.d.ts.map +1 -0
- package/lib/component/elements/utilities/transferStyles.js +29 -0
- package/lib/component/elements/utilities/transferStyles.js.map +1 -0
- package/lib/component/header/AutoPeakPickingOptionPanel.d.ts.map +1 -1
- package/lib/component/header/AutoPeakPickingOptionPanel.js +4 -4
- package/lib/component/header/AutoPeakPickingOptionPanel.js.map +1 -1
- package/lib/component/header/Header.d.ts.map +1 -1
- package/lib/component/header/Header.js +59 -5
- package/lib/component/header/Header.js.map +1 -1
- package/lib/component/header/RangesPickingOptionPanel.js +2 -2
- package/lib/component/header/RangesPickingOptionPanel.js.map +1 -1
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.js +1 -1
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.js +1 -1
- package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.js.map +1 -1
- package/lib/component/highlight/index.d.ts.map +1 -1
- package/lib/component/highlight/index.js +10 -36
- package/lib/component/highlight/index.js.map +1 -1
- package/lib/component/hooks/use2DReducer.d.ts.map +1 -1
- package/lib/component/hooks/use2DReducer.js +2 -2
- package/lib/component/hooks/use2DReducer.js.map +1 -1
- package/lib/component/hooks/useCheckPointsNumberInWindowArea.d.ts.map +1 -1
- package/lib/component/hooks/useCheckPointsNumberInWindowArea.js +3 -1
- package/lib/component/hooks/useCheckPointsNumberInWindowArea.js.map +1 -1
- package/lib/component/hooks/useCheckToolsVisibility.d.ts.map +1 -1
- package/lib/component/hooks/useCheckToolsVisibility.js +6 -1
- package/lib/component/hooks/useCheckToolsVisibility.js.map +1 -1
- package/lib/component/hooks/useIntegralPath.js +2 -2
- package/lib/component/hooks/useIntegralPath.js.map +1 -1
- package/lib/component/hooks/useSpectraBottomMargin.js +1 -1
- package/lib/component/hooks/useSpectraBottomMargin.js.map +1 -1
- package/lib/component/hooks/useSpectrum.d.ts +4 -0
- package/lib/component/hooks/useSpectrum.d.ts.map +1 -1
- package/lib/component/hooks/useSpectrum.js +9 -1
- package/lib/component/hooks/useSpectrum.js.map +1 -1
- package/lib/component/hooks/useTextMetrics.d.ts +2 -4
- package/lib/component/hooks/useTextMetrics.d.ts.map +1 -1
- package/lib/component/hooks/useTextMetrics.js +3 -2
- package/lib/component/hooks/useTextMetrics.js.map +1 -1
- package/lib/component/hooks/use_axis_unit.d.ts +3 -3
- package/lib/component/hooks/use_axis_unit.d.ts.map +1 -1
- package/lib/component/hooks/use_axis_unit.js +2 -8
- package/lib/component/hooks/use_axis_unit.js.map +1 -1
- package/lib/component/hooks/use_publication_strings.d.ts.map +1 -1
- package/lib/component/hooks/use_publication_strings.js +2 -3
- package/lib/component/hooks/use_publication_strings.js.map +1 -1
- package/lib/component/hooks/use_view_spectra.d.ts +6 -0
- package/lib/component/hooks/use_view_spectra.d.ts.map +1 -0
- package/lib/component/hooks/use_view_spectra.js +13 -0
- package/lib/component/hooks/use_view_spectra.js.map +1 -0
- package/lib/component/hooks/use_visible_spectra_1d.d.ts.map +1 -1
- package/lib/component/hooks/use_visible_spectra_1d.js +4 -2
- package/lib/component/hooks/use_visible_spectra_1d.js.map +1 -1
- package/lib/component/main/InnerNMRium.d.ts.map +1 -1
- package/lib/component/main/InnerNMRium.js +6 -5
- package/lib/component/main/InnerNMRium.js.map +1 -1
- package/lib/component/main/NMRium.d.ts +2 -2
- package/lib/component/main/NMRium.d.ts.map +1 -1
- package/lib/component/main/NMRiumStateProvider.d.ts.map +1 -1
- package/lib/component/main/NMRiumStateProvider.js +2 -1
- package/lib/component/main/NMRiumStateProvider.js.map +1 -1
- package/lib/component/main/types.d.ts +1 -1
- package/lib/component/main/types.d.ts.map +1 -1
- package/lib/component/modal/EditPeakShapeModal.d.ts.map +1 -1
- package/lib/component/modal/EditPeakShapeModal.js +102 -60
- package/lib/component/modal/EditPeakShapeModal.js.map +1 -1
- package/lib/component/modal/LoadJCAMPModal.d.ts.map +1 -1
- package/lib/component/modal/LoadJCAMPModal.js +22 -21
- package/lib/component/modal/LoadJCAMPModal.js.map +1 -1
- package/lib/component/modal/PublicationStringModal.d.ts.map +1 -1
- package/lib/component/modal/PublicationStringModal.js +3 -3
- package/lib/component/modal/PublicationStringModal.js.map +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.js +1 -1
- package/lib/component/modal/aboutUs/AboutUsModal.js.map +1 -1
- package/lib/component/modal/editRange/EditRangeModal.js +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts +1 -3
- package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.js +12 -20
- package/lib/component/modal/editRange/forms/components/DeltaInput.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/DeltaLabel.d.ts +6 -0
- package/lib/component/modal/editRange/forms/components/DeltaLabel.d.ts.map +1 -0
- package/lib/component/modal/editRange/forms/components/DeltaLabel.js +12 -0
- package/lib/component/modal/editRange/forms/components/DeltaLabel.js.map +1 -0
- package/lib/component/modal/editRange/forms/components/SignalTab.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/SignalTab.js +2 -16
- package/lib/component/modal/editRange/forms/components/SignalTab.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/SignalsContent.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/SignalsContent.js +32 -7
- package/lib/component/modal/editRange/forms/components/SignalsContent.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js.map +1 -1
- package/lib/component/modal/editRange/forms/validation/EditRangeValidation.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js +18 -3
- package/lib/component/modal/editRange/forms/validation/EditRangeValidation.js.map +1 -1
- package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts +196 -187
- 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 +196 -187
- 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 +196 -187
- 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 +140 -132
- 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 +140 -132
- 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 +23 -22
- 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 +140 -132
- 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 +140 -132
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts +140 -132
- 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 +140 -132
- 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 +16 -12
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.js +37 -44
- 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 +140 -132
- 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 +140 -132
- 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 +140 -132
- 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 +140 -132
- 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 +140 -132
- 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 +140 -132
- 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 +140 -132
- 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 +140 -132
- 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 +140 -132
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.js +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts +3 -4
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.d.ts +28 -28
- package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts +82 -38
- 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 +80 -28
- 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 +56 -55
- package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts.map +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.js +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.js.map +1 -1
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.d.ts.map +1 -1
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js +25 -9
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js +1 -2
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getAssignIds.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getAssignIds.js +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/getAssignIds.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js +15 -3
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.js +49 -27
- package/lib/component/panels/PeaksPanel/PeaksTable.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.js +3 -0
- package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js +8 -15
- package/lib/component/panels/SpectraPanel/SpectraPanelHeader.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.js +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.js +6 -3
- package/lib/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts +8 -6
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js +12 -12
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts +2 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js +14 -13
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts +2 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js +18 -15
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.d.ts +2 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.js +7 -5
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.d.ts +2 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.js +4 -4
- package/lib/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.js.map +1 -1
- package/lib/component/panels/SummaryPanel/Overview.d.ts +3 -7
- package/lib/component/panels/SummaryPanel/Overview.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/Overview.js +2 -5
- package/lib/component/panels/SummaryPanel/Overview.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SetShiftTolerancesModal.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts +2 -2
- package/lib/component/panels/SummaryPanel/SummaryPanel.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.js +17 -18
- package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts +7 -7
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js +34 -31
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/useInView.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/utilities/useInView.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.js +122 -101
- package/lib/component/panels/databasePanel/DatabasePanel.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts +3 -0
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.js +14 -16
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js +3 -3
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.js +2 -2
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts +10 -26
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js +3 -4
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts +4 -19
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js +4 -7
- package/lib/component/panels/filtersPanel/Filters/hooks/useZeroFilling.js.map +1 -1
- package/lib/component/panels/filtersPanel/processings/operator_edit_banner.d.ts +11 -0
- package/lib/component/panels/filtersPanel/processings/operator_edit_banner.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings/operator_edit_banner.js +34 -0
- package/lib/component/panels/filtersPanel/processings/operator_edit_banner.js.map +1 -0
- package/lib/component/panels/filtersPanel/processings/processing_item.d.ts +16 -0
- package/lib/component/panels/filtersPanel/processings/processing_item.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings/processing_item.js +88 -0
- package/lib/component/panels/filtersPanel/processings/processing_item.js.map +1 -0
- package/lib/component/panels/filtersPanel/processings/processing_item_extra.d.ts +12 -0
- package/lib/component/panels/filtersPanel/processings/processing_item_extra.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings/processing_item_extra.js +17 -0
- package/lib/component/panels/filtersPanel/processings/processing_item_extra.js.map +1 -0
- package/lib/component/panels/filtersPanel/processings/use_live_edit.d.ts +11 -0
- package/lib/component/panels/filtersPanel/processings/use_live_edit.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings/use_live_edit.js +31 -0
- package/lib/component/panels/filtersPanel/processings/use_live_edit.js.map +1 -0
- package/lib/component/panels/filtersPanel/processings/use_live_operation.d.ts +3 -0
- package/lib/component/panels/filtersPanel/processings/use_live_operation.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/processings/use_live_operation.js +15 -0
- package/lib/component/panels/filtersPanel/processings/use_live_operation.js.map +1 -0
- package/lib/component/panels/filtersPanel/processings_sections_panel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/processings_sections_panel.js +35 -104
- package/lib/component/panels/filtersPanel/processings_sections_panel.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.d.ts +3 -3
- package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.js +69 -56
- package/lib/component/panels/multipleAnalysisPanel/AlignSpectra.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.js +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.js.map +1 -1
- package/lib/component/reducer/Reducer.d.ts +18 -2
- package/lib/component/reducer/Reducer.d.ts.map +1 -1
- package/lib/component/reducer/Reducer.js +26 -7
- package/lib/component/reducer/Reducer.js.map +1 -1
- package/lib/component/reducer/actions/AssignmentsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/AssignmentsActions.js +1 -2
- package/lib/component/reducer/actions/AssignmentsActions.js.map +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.d.ts +4 -4
- package/lib/component/reducer/actions/CorrelationsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.js +10 -11
- package/lib/component/reducer/actions/CorrelationsActions.js.map +1 -1
- package/lib/component/reducer/actions/DatabaseActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DatabaseActions.js +25 -9
- package/lib/component/reducer/actions/DatabaseActions.js.map +1 -1
- package/lib/component/reducer/actions/DomainActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DomainActions.js +25 -15
- package/lib/component/reducer/actions/DomainActions.js.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.js +36 -59
- package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
- package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/InsetActions.js +1 -1
- package/lib/component/reducer/actions/InsetActions.js.map +1 -1
- package/lib/component/reducer/actions/IntegralsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/IntegralsActions.js +2 -1
- package/lib/component/reducer/actions/IntegralsActions.js.map +1 -1
- package/lib/component/reducer/actions/LoadAction.d.ts.map +1 -1
- package/lib/component/reducer/actions/LoadAction.js +3 -3
- package/lib/component/reducer/actions/LoadAction.js.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts +2 -6
- package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.js +1 -2
- package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.d.ts +5 -2
- package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.js +18 -3
- package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.js +5 -3
- package/lib/component/reducer/actions/PreferencesActions.js.map +1 -1
- package/lib/component/reducer/actions/RangesActions.d.ts +12 -3
- package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/RangesActions.js +45 -13
- package/lib/component/reducer/actions/RangesActions.js.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts +2 -8
- package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.js +6 -11
- package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.js +3 -8
- package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
- package/lib/component/reducer/actions/ZonesActions.d.ts +9 -2
- package/lib/component/reducer/actions/ZonesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ZonesActions.js +27 -12
- package/lib/component/reducer/actions/ZonesActions.js.map +1 -1
- package/lib/component/reducer/actions/processings_actions.d.ts +30 -0
- package/lib/component/reducer/actions/processings_actions.d.ts.map +1 -0
- package/lib/component/reducer/actions/processings_actions.js +50 -0
- package/lib/component/reducer/actions/processings_actions.js.map +1 -0
- package/lib/component/reducer/helper/ZoomHistoryManager.d.ts +1 -0
- package/lib/component/reducer/helper/ZoomHistoryManager.d.ts.map +1 -1
- package/lib/component/reducer/helper/ZoomHistoryManager.js +10 -0
- package/lib/component/reducer/helper/ZoomHistoryManager.js.map +1 -1
- package/lib/component/reducer/preferences/actions/initPreferences.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/initPreferences.js +4 -1
- package/lib/component/reducer/preferences/actions/initPreferences.js.map +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts.map +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +2 -0
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.d.ts +2 -2
- package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.js.map +1 -1
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts +2 -4
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts.map +1 -1
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.js +2 -9
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.js.map +1 -1
- package/lib/component/toolbar/ToolTypes.d.ts.map +1 -1
- package/lib/component/toolbar/ToolTypes.js +15 -0
- package/lib/component/toolbar/ToolTypes.js.map +1 -1
- package/lib/component/toolbar/nmr_toolbar.d.ts.map +1 -1
- package/lib/component/toolbar/nmr_toolbar.js +49 -22
- package/lib/component/toolbar/nmr_toolbar.js.map +1 -1
- package/lib/component/utility/core_slots/core_operator_chart_svg.d.ts +8 -0
- package/lib/component/utility/core_slots/core_operator_chart_svg.d.ts.map +1 -0
- package/lib/component/utility/core_slots/core_operator_chart_svg.js +23 -0
- package/lib/component/utility/core_slots/core_operator_chart_svg.js.map +1 -0
- 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 +3 -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 +17 -0
- package/lib/component/utility/core_slots/core_operator_panel_tool.js.map +1 -0
- package/lib/component/utility/core_slots/core_operator_tool.commons.d.ts +11 -0
- package/lib/component/utility/core_slots/core_operator_tool.commons.d.ts.map +1 -0
- package/lib/component/utility/core_slots/core_operator_tool.commons.js +30 -0
- package/lib/component/utility/core_slots/core_operator_tool.commons.js.map +1 -0
- package/lib/component/utility/core_slots/core_operator_tool.d.ts +3 -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 +17 -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/export.d.ts +5 -0
- package/lib/component/utility/export.d.ts.map +1 -1
- package/lib/component/utility/export.js +22 -0
- package/lib/component/utility/export.js.map +1 -1
- package/lib/component/utility/formatNumber.d.ts +2 -0
- package/lib/component/utility/formatNumber.d.ts.map +1 -1
- package/lib/component/utility/formatNumber.js +9 -2
- package/lib/component/utility/formatNumber.js.map +1 -1
- package/lib/component/utility/toolbar_item_error.d.ts +3 -0
- package/lib/component/utility/toolbar_item_error.d.ts.map +1 -0
- package/lib/component/utility/toolbar_item_error.js +14 -0
- package/lib/component/utility/toolbar_item_error.js.map +1 -0
- package/lib/component/workspaces/assignment.d.ts.map +1 -1
- package/lib/component/workspaces/assignment.js +1 -0
- package/lib/component/workspaces/assignment.js.map +1 -1
- package/lib/component/workspaces/basic.d.ts.map +1 -1
- package/lib/component/workspaces/basic.js +1 -0
- package/lib/component/workspaces/basic.js.map +1 -1
- package/lib/component/workspaces/exercise.d.ts.map +1 -1
- package/lib/component/workspaces/exercise.js +1 -0
- package/lib/component/workspaces/exercise.js.map +1 -1
- package/lib/component/workspaces/prediction.d.ts.map +1 -1
- package/lib/component/workspaces/prediction.js +1 -0
- package/lib/component/workspaces/prediction.js.map +1 -1
- package/lib/component/workspaces/process1D.d.ts.map +1 -1
- package/lib/component/workspaces/process1D.js +1 -0
- package/lib/component/workspaces/process1D.js.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.js +1 -0
- package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
- package/lib/data/SpectraManager.d.ts.map +1 -1
- package/lib/data/SpectraManager.js +2 -3
- package/lib/data/SpectraManager.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/SumManager.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/SumManager.js +2 -1
- package/lib/data/data1d/Spectrum1D/SumManager.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/index.d.ts +0 -1
- package/lib/data/data1d/Spectrum1D/index.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/index.js +0 -1
- package/lib/data/data1d/Spectrum1D/index.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/initiateDatum1D.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/initiateDatum1D.js +5 -2
- package/lib/data/data1d/Spectrum1D/initiateDatum1D.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/changePeakRelativeValue.d.ts +7 -0
- package/lib/data/data1d/Spectrum1D/peaks/changePeakRelativeValue.d.ts.map +1 -0
- package/lib/data/data1d/Spectrum1D/peaks/changePeakRelativeValue.js +14 -0
- package/lib/data/data1d/Spectrum1D/peaks/changePeakRelativeValue.js.map +1 -0
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.js +2 -2
- package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.d.ts +1 -2
- package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.js +25 -12
- package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/findBestMinContour/estimateNoiseLevel.d.ts +13 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/estimateNoiseLevel.d.ts.map +1 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/estimateNoiseLevel.js +40 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/estimateNoiseLevel.js.map +1 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/evaluation.d.ts +27 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/evaluation.d.ts.map +1 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/evaluation.js +230 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/evaluation.js.map +1 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/findAutomaticContourLevels.d.ts +227 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/findAutomaticContourLevels.d.ts.map +1 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/findAutomaticContourLevels.js +67 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/findAutomaticContourLevels.js.map +1 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/math.d.ts +4 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/math.d.ts.map +1 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/math.js +42 -0
- package/lib/data/data2d/Spectrum2D/findBestMinContour/math.js.map +1 -0
- package/lib/data/data2d/Spectrum2D/getMissingProjection.d.ts +1 -1
- package/lib/data/data2d/Spectrum2D/getMissingProjection.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/getSlice.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/getSlice.js +3 -3
- package/lib/data/data2d/Spectrum2D/getSlice.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/index.d.ts +0 -1
- package/lib/data/data2d/Spectrum2D/index.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/index.js +0 -1
- package/lib/data/data2d/Spectrum2D/index.js.map +1 -1
- package/lib/data/get_view_spectra.d.ts +11 -0
- package/lib/data/get_view_spectra.d.ts.map +1 -0
- package/lib/data/get_view_spectra.js +10 -0
- package/lib/data/get_view_spectra.js.map +1 -0
- package/lib/data/utilities/FindUtilities.d.ts.map +1 -1
- package/lib/data/utilities/FindUtilities.js +1 -2
- package/lib/data/utilities/FindUtilities.js.map +1 -1
- package/lib/data/utilities/RangeUtilities.d.ts +1 -1
- package/lib/data/utilities/RangeUtilities.d.ts.map +1 -1
- package/lib/data/utilities/RangeUtilities.js +3 -1
- package/lib/data/utilities/RangeUtilities.js.map +1 -1
- package/lib/data/utilities/calculateSanPlot.d.ts +3 -1
- package/lib/data/utilities/calculateSanPlot.d.ts.map +1 -1
- package/lib/data/utilities/calculateSanPlot.js +2 -2
- package/lib/data/utilities/calculateSanPlot.js.map +1 -1
- package/lib/data/utilities/getPeakAbsoluteArea.d.ts +3 -0
- package/lib/data/utilities/getPeakAbsoluteArea.d.ts.map +1 -0
- package/lib/data/utilities/getPeakAbsoluteArea.js +6 -0
- package/lib/data/utilities/getPeakAbsoluteArea.js.map +1 -0
- package/lib/versionInfo.js +1 -1
- package/package.json +39 -42
- package/src/component/1d/ApodizationLine.tsx +2 -2
- package/src/component/1d/BrushTracker1D.tsx +170 -185
- package/src/component/1d/FloatPublicationString.tsx +6 -6
- package/src/component/1d/Line.tsx +2 -2
- package/src/component/1d/PredictionErrorsNotations.tsx +1 -1
- package/src/component/1d/SVGContent1D.tsx +6 -0
- package/src/component/1d/SimilarityTree.tsx +2 -2
- package/src/component/1d/baseline/BaselinePreview.tsx +45 -15
- package/src/component/1d/baseline/getMedianY.ts +23 -5
- package/src/component/1d/database/DatabaseSpectrum.tsx +2 -2
- package/src/component/1d/database/ResurrectedDatabaseRanges.tsx +2 -2
- package/src/component/1d/inset/DraggableInset.tsx +1 -1
- package/src/component/1d/matrix/Boxplot.tsx +5 -5
- package/src/component/1d/matrix/Stocsy.tsx +2 -2
- 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/peaks/PeakAnnotationsSpreadMode.tsx +17 -3
- package/src/component/1d/peaks/usePeakShapesPath.ts +2 -2
- package/src/component/1d/plugin_svg_chart.tsx +60 -0
- package/src/component/1d/ranges/AssignmentLabel.tsx +1 -0
- package/src/component/1d/ranges/FloatingRanges.tsx +3 -4
- package/src/component/1d/ranges/Range.tsx +3 -5
- package/src/component/1d/ranges/Ranges.tsx +1 -1
- package/src/component/1d-2d/FieldEdition.tsx +56 -63
- package/src/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.tsx +1 -1
- package/src/component/1d-2d/components/RangeIndicator.tsx +8 -9
- package/src/component/1d-2d/components/Signals1D.tsx +12 -8
- package/src/component/1d-2d/components/axis_unit_picker.tsx +1 -1
- package/src/component/1d-2d/tools/BrushXY.tsx +45 -28
- package/src/component/1d-2d/tools/CrossLinePointer.tsx +34 -22
- package/src/component/1d-2d/tools/DistanceLine.tsx +253 -0
- package/src/component/2d/1d-tracer/HorizontalSliceChart.tsx +2 -2
- package/src/component/2d/1d-tracer/Left1DChart.tsx +5 -5
- package/src/component/2d/1d-tracer/Top1DChart.tsx +6 -6
- package/src/component/2d/1d-tracer/VerticalSliceChart.tsx +2 -2
- package/src/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.tsx +3 -3
- package/src/component/2d/BrushTracker2D.tsx +25 -13
- package/src/component/2d/FooterBanner.tsx +2 -5
- package/src/component/2d/IndirectAxis2D.tsx +1 -1
- package/src/component/2d/SignalDeltaLine.tsx +1 -1
- package/src/component/2d/Viewer2D.tsx +2 -0
- package/src/component/2d/fid/FidCanvas.tsx +2 -2
- package/src/component/2d/fid/FidContainer.tsx +4 -4
- package/src/component/2d/ft/Contours.tsx +95 -26
- package/src/component/2d/ft/FTContainer.tsx +3 -4
- package/src/component/2d/useTracesSpectra.ts +5 -3
- package/src/component/2d/utilities/extractSpectrumSignals.ts +34 -26
- package/src/component/2d/utilities/scale.ts +1 -1
- package/src/component/2d/zones/SignalsGuideLines.tsx +18 -25
- package/src/component/AnchorSVG.tsx +7 -7
- package/src/component/EventsTrackers/BrushTracker.tsx +1 -1
- package/src/component/EventsTrackers/KeysListenerTracker.tsx +6 -1
- package/src/component/assignment/utilities/getAssignments.ts +1 -1
- package/src/component/context/DispatchContext.tsx +3 -1
- package/src/component/context/FilterSyncOptionsContext.tsx +15 -15
- package/src/component/context/KeyModifierContext.tsx +36 -45
- package/src/component/context/ScaleContext.tsx +1 -1
- 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 +49 -67
- 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/export/ExportContent.tsx +3 -2
- package/src/component/elements/export/ExportOptionsModal.tsx +32 -1
- package/src/component/elements/export/useExportConfigurer.tsx +6 -0
- package/src/component/elements/print/PrintContent.tsx +132 -145
- package/src/component/elements/utilities/transferStyles.ts +32 -0
- package/src/component/header/AutoPeakPickingOptionPanel.tsx +10 -4
- package/src/component/header/Header.tsx +99 -8
- package/src/component/header/RangesPickingOptionPanel.tsx +2 -2
- package/src/component/header/SimpleBaseLineCorrectionOptionsPanel.tsx +1 -3
- package/src/component/header/base/BaseSimpleZeroFillingOptionsPanel.tsx +7 -4
- package/src/component/highlight/index.tsx +11 -37
- package/src/component/hooks/use2DReducer.tsx +2 -2
- package/src/component/hooks/useCheckPointsNumberInWindowArea.ts +4 -2
- package/src/component/hooks/useCheckToolsVisibility.ts +11 -1
- package/src/component/hooks/useIntegralPath.ts +2 -2
- package/src/component/hooks/useSpectraBottomMargin.ts +1 -1
- package/src/component/hooks/useSpectrum.ts +12 -1
- package/src/component/hooks/useTextMetrics.ts +10 -9
- package/src/component/hooks/use_axis_unit.ts +2 -8
- package/src/component/hooks/use_publication_strings.ts +2 -4
- package/src/component/hooks/use_view_spectra.ts +16 -0
- package/src/component/hooks/use_visible_spectra_1d.ts +5 -2
- package/src/component/main/InnerNMRium.tsx +50 -47
- package/src/component/main/NMRium.tsx +2 -2
- package/src/component/main/NMRiumStateProvider.tsx +4 -1
- package/src/component/main/types.ts +1 -1
- package/src/component/modal/EditPeakShapeModal.tsx +179 -118
- package/src/component/modal/LoadJCAMPModal.tsx +58 -57
- package/src/component/modal/PublicationStringModal.tsx +2 -3
- package/src/component/modal/aboutUs/AboutUsModal.tsx +1 -1
- package/src/component/modal/editRange/EditRangeModal.tsx +1 -1
- package/src/component/modal/editRange/forms/components/DeltaInput.tsx +17 -31
- package/src/component/modal/editRange/forms/components/DeltaLabel.tsx +19 -0
- package/src/component/modal/editRange/forms/components/SignalTab.tsx +5 -21
- package/src/component/modal/editRange/forms/components/SignalsContent.tsx +40 -6
- package/src/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.tsx +1 -1
- package/src/component/modal/editRange/forms/validation/EditRangeValidation.ts +75 -52
- package/src/component/modal/metaImportation/MetaImportationModal.tsx +3 -3
- package/src/component/modal/setting/tanstack_general_settings/errors/context.tsx +2 -1
- package/src/component/modal/setting/tanstack_general_settings/tabs/database_tab.tsx +2 -3
- package/src/component/modal/setting/tanstack_general_settings/tabs/export_tab.fields.tsx +57 -62
- package/src/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.tsx +2 -3
- package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.tsx +8 -4
- package/src/component/modal/setting/tanstack_general_settings/tabs/tools_tab.tsx +3 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/table.tsx +3 -4
- package/src/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.ts +101 -28
- package/src/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.ts +3 -2
- package/src/component/modal/setting/tanstack_general_settings/validation/tools_tab_validation.ts +1 -0
- package/src/component/panels/AutomaticAssignment/AutomaticAssignment.tsx +1 -1
- package/src/component/panels/AutomaticAssignment/useAutoAssignments.ts +29 -12
- package/src/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.tsx +1 -1
- package/src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx +1 -2
- package/src/component/panels/MoleculesPanel/utilities/getAssignIds.ts +1 -2
- package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +15 -3
- package/src/component/panels/PeaksPanel/PeaksTable.tsx +92 -29
- package/src/component/panels/RangesPanel/RangesTableRow.tsx +4 -0
- package/src/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.tsx +1 -1
- package/src/component/panels/SpectraPanel/SpectraPanelHeader.tsx +10 -18
- package/src/component/panels/SpectraPanel/SpectraTable.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/setting/ApplyToAllSelected.tsx +6 -3
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.tsx +45 -44
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx +23 -21
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.tsx +1 -1
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx +33 -28
- package/src/component/panels/SummaryPanel/CorrelationTable/editLink/EditLinkModal.tsx +14 -11
- package/src/component/panels/SummaryPanel/CorrelationTable/editLink/MoveLink.tsx +12 -10
- package/src/component/panels/SummaryPanel/Overview.tsx +4 -12
- package/src/component/panels/SummaryPanel/SetShiftTolerancesModal.tsx +2 -2
- package/src/component/panels/SummaryPanel/SummaryPanel.tsx +32 -33
- package/src/component/panels/SummaryPanel/utilities/Utilities.ts +60 -58
- package/src/component/panels/SummaryPanel/utilities/useInView.ts +1 -1
- package/src/component/panels/databasePanel/DatabasePanel.tsx +173 -121
- package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +41 -16
- package/src/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.tsx +3 -8
- package/src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx +2 -4
- package/src/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.tsx +6 -8
- package/src/component/panels/filtersPanel/Filters/hooks/useZeroFilling.tsx +9 -13
- package/src/component/panels/filtersPanel/processings/operator_edit_banner.tsx +73 -0
- package/src/component/panels/filtersPanel/processings/processing_item.tsx +211 -0
- package/src/component/panels/filtersPanel/processings/processing_item_extra.tsx +63 -0
- package/src/component/panels/filtersPanel/processings/use_live_edit.ts +47 -0
- package/src/component/panels/filtersPanel/processings/use_live_operation.ts +22 -0
- package/src/component/panels/filtersPanel/processings_sections_panel.tsx +87 -254
- package/src/component/panels/multipleAnalysisPanel/AlignSpectra.tsx +128 -98
- package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisPanel.tsx +1 -1
- package/src/component/reducer/Reducer.ts +50 -9
- package/src/component/reducer/actions/AssignmentsActions.ts +1 -2
- package/src/component/reducer/actions/CorrelationsActions.ts +21 -19
- package/src/component/reducer/actions/DatabaseActions.ts +29 -15
- package/src/component/reducer/actions/DomainActions.ts +35 -24
- package/src/component/reducer/actions/FiltersActions.ts +56 -77
- package/src/component/reducer/actions/InsetActions.ts +1 -1
- package/src/component/reducer/actions/IntegralsActions.ts +1 -1
- package/src/component/reducer/actions/LoadAction.ts +8 -5
- package/src/component/reducer/actions/MoleculeActions.ts +1 -2
- package/src/component/reducer/actions/PeaksActions.ts +29 -2
- package/src/component/reducer/actions/PreferencesActions.ts +7 -4
- package/src/component/reducer/actions/RangesActions.ts +72 -17
- package/src/component/reducer/actions/SpectraActions.ts +8 -25
- package/src/component/reducer/actions/ToolsActions.ts +4 -10
- package/src/component/reducer/actions/ZonesActions.ts +44 -14
- package/src/component/reducer/actions/processings_actions.ts +130 -0
- package/src/component/reducer/helper/ZoomHistoryManager.ts +17 -0
- package/src/component/reducer/preferences/actions/initPreferences.ts +4 -1
- package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +2 -0
- package/src/component/reducer/preferences/preferencesReducer.ts +3 -3
- package/src/component/reducer/preferences/utilities/mapWorkspaces.ts +9 -21
- package/src/component/toolbar/ToolTypes.ts +15 -0
- package/src/component/toolbar/nmr_toolbar.tsx +44 -4
- package/src/component/utility/core_slots/core_operator_chart_svg.tsx +61 -0
- 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 +23 -0
- package/src/component/utility/core_slots/core_operator_tool.commons.ts +63 -0
- package/src/component/utility/core_slots/core_operator_tool.tsx +23 -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/export.ts +34 -0
- package/src/component/utility/formatNumber.ts +24 -2
- package/src/component/utility/toolbar_item_error.tsx +29 -0
- package/src/component/workspaces/assignment.ts +1 -0
- package/src/component/workspaces/basic.ts +1 -0
- package/src/component/workspaces/exercise.ts +1 -0
- package/src/component/workspaces/prediction.ts +1 -0
- package/src/component/workspaces/process1D.ts +1 -0
- package/src/component/workspaces/workspaceDefaultProperties.ts +1 -0
- package/src/data/SpectraManager.ts +2 -3
- package/src/data/data1d/Spectrum1D/SumManager.ts +1 -1
- package/src/data/data1d/Spectrum1D/index.ts +0 -1
- package/src/data/data1d/Spectrum1D/initiateDatum1D.ts +4 -2
- package/src/data/data1d/Spectrum1D/peaks/changePeakRelativeValue.ts +26 -0
- package/src/data/data1d/multipleSpectraAnalysis.ts +2 -1
- package/src/data/data2d/Spectrum2D/contours.ts +42 -18
- package/src/data/data2d/Spectrum2D/findBestMinContour/estimateNoiseLevel.ts +67 -0
- package/src/data/data2d/Spectrum2D/findBestMinContour/evaluation.ts +432 -0
- package/src/data/data2d/Spectrum2D/findBestMinContour/findAutomaticContourLevels.ts +431 -0
- package/src/data/data2d/Spectrum2D/findBestMinContour/math.ts +59 -0
- package/src/data/data2d/Spectrum2D/getSlice.ts +3 -4
- package/src/data/data2d/Spectrum2D/index.ts +0 -1
- package/src/data/get_view_spectra.ts +21 -0
- package/src/data/utilities/FindUtilities.ts +1 -3
- package/src/data/utilities/RangeUtilities.ts +5 -2
- package/src/data/utilities/calculateSanPlot.ts +2 -1
- package/src/data/utilities/getPeakAbsoluteArea.ts +7 -0
- package/src/versionInfo.ts +1 -1
- package/lib/component/elements/export/utilities/transferDocumentStyles.d.ts +0 -2
- package/lib/component/elements/export/utilities/transferDocumentStyles.d.ts.map +0 -1
- package/lib/component/elements/export/utilities/transferDocumentStyles.js +0 -21
- package/lib/component/elements/export/utilities/transferDocumentStyles.js.map +0 -1
- package/lib/component/panels/hooks/use_processings_mutation.d.ts +0 -10
- package/lib/component/panels/hooks/use_processings_mutation.d.ts.map +0 -1
- package/lib/component/panels/hooks/use_processings_mutation.js +0 -130
- package/lib/component/panels/hooks/use_processings_mutation.js.map +0 -1
- package/lib/component/utility/CoreSlot.d.ts +0 -27
- package/lib/component/utility/CoreSlot.d.ts.map +0 -1
- package/lib/component/utility/CoreSlot.js.map +0 -1
- package/lib/component/utility/PathBuilder.d.ts +0 -10
- package/lib/component/utility/PathBuilder.d.ts.map +0 -1
- package/lib/component/utility/PathBuilder.js +0 -38
- package/lib/component/utility/PathBuilder.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/elements/export/utilities/transferDocumentStyles.ts +0 -21
- package/src/component/panels/hooks/use_processings_mutation.ts +0 -171
- package/src/component/utility/PathBuilder.ts +0 -41
- package/src/data/data1d/Spectrum1D/isSpectrum1D.ts +0 -19
- package/src/data/data2d/Spectrum2D/isSpectrum2D.ts +0 -36
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools_tab.d.ts","sourceRoot":"","sources":["../../../../../../src/component/modal/setting/tanstack_general_settings/tabs/tools_tab.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"tools_tab.d.ts","sourceRoot":"","sources":["../../../../../../src/component/modal/setting/tanstack_general_settings/tabs/tools_tab.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkBnB,CAAC"}
|
|
@@ -32,7 +32,7 @@ const Spectra2DManipulationTools = withFieldGroup({
|
|
|
32
32
|
defaultValues: defaultGeneralSettingsFormValues.display.toolBarButtons,
|
|
33
33
|
render: ({ group }) => {
|
|
34
34
|
const { Section, AppField } = group;
|
|
35
|
-
return (_jsxs(Section, { title: "2D Spectra", children: [_jsx(AppField, { name: "zeroFillingDimension1", children: ({ Checkbox }) => _jsx(Checkbox, { label: "Zero filling direct" }) }), _jsx(AppField, { name: "zeroFillingDimension2", children: ({ Checkbox }) => _jsx(Checkbox, { label: "Zero filling indirect" }) }), _jsx(AppField, { name: "apodizationDimension1", children: ({ Checkbox }) => _jsx(Checkbox, { label: "Apodization direct" }) }), _jsx(AppField, { name: "apodizationDimension2", children: ({ Checkbox }) => _jsx(Checkbox, { label: "Apodization indirect" }) }), _jsx(AppField, { name: "fftDimension1", children: ({ Checkbox }) => _jsx(Checkbox, { label: "Fourier transform direct" }) }), _jsx(AppField, { name: "fftDimension2", children: ({ Checkbox }) => _jsx(Checkbox, { label: "Fourier transform indirect" }) }), _jsx(AppField, { name: "phaseCorrectionTwoDimensions", children: ({ Checkbox }) => _jsx(Checkbox, { label: "Phase correction" }) })] }));
|
|
35
|
+
return (_jsxs(Section, { title: "2D Spectra", children: [_jsx(AppField, { name: "zeroFillingDimension1", children: ({ Checkbox }) => _jsx(Checkbox, { label: "Zero filling direct" }) }), _jsx(AppField, { name: "zeroFillingDimension2", children: ({ Checkbox }) => _jsx(Checkbox, { label: "Zero filling indirect" }) }), _jsx(AppField, { name: "apodizationDimension1", children: ({ Checkbox }) => _jsx(Checkbox, { label: "Apodization direct" }) }), _jsx(AppField, { name: "apodizationDimension2", children: ({ Checkbox }) => _jsx(Checkbox, { label: "Apodization indirect" }) }), _jsx(AppField, { name: "fftDimension1", children: ({ Checkbox }) => _jsx(Checkbox, { label: "Fourier transform direct" }) }), _jsx(AppField, { name: "fftDimension2", children: ({ Checkbox }) => _jsx(Checkbox, { label: "Fourier transform indirect" }) }), _jsx(AppField, { name: "phaseCorrectionTwoDimensions", children: ({ Checkbox }) => _jsx(Checkbox, { label: "Phase correction" }) }), _jsx(AppField, { name: "alignTwoDimensionsSpectra", children: ({ Checkbox }) => _jsx(Checkbox, { label: "Align spectra" }) })] }));
|
|
36
36
|
},
|
|
37
37
|
});
|
|
38
38
|
//# sourceMappingURL=tools_tab.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools_tab.js","sourceRoot":"","sources":["../../../../../../src/component/modal/setting/tanstack_general_settings/tabs/tools_tab.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,kBAAkB,CAAC;AAEpE,MAAM,CAAC,MAAM,QAAQ,GAAG,QAAQ,CAAC;IAC/B,aAAa,EAAE,gCAAgC;IAC/C,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;QACnB,OAAO,CACL,8BACE,KAAC,UAAU,IAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAC,wBAAwB,GAAG,EAC1D,KAAC,iBAAiB,IAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAC,wBAAwB,GAAG,EACjE,KAAC,0BAA0B,IACzB,IAAI,EAAE,IAAI,EACV,MAAM,EAAC,wBAAwB,GAC/B,EACF,KAAC,0BAA0B,IACzB,IAAI,EAAE,IAAI,EACV,MAAM,EAAC,wBAAwB,GAC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AAC,KAAK,EAAC,0BAA0B,GAAG,GACvD,EACX,KAAC,QAAQ,IAAC,IAAI,EAAC,eAAe,YAC3B,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,KAAC,QAAQ,IAAC,KAAK,EAAC,4BAA4B,GAAG,GACzD,EACX,KAAC,QAAQ,IAAC,IAAI,EAAC,8BAA8B,YAC1C,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,KAAC,QAAQ,IAAC,KAAK,EAAC,kBAAkB,GAAG,GAC/C,IACH,CACX,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"tools_tab.js","sourceRoot":"","sources":["../../../../../../src/component/modal/setting/tanstack_general_settings/tabs/tools_tab.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,kBAAkB,CAAC;AAEpE,MAAM,CAAC,MAAM,QAAQ,GAAG,QAAQ,CAAC;IAC/B,aAAa,EAAE,gCAAgC;IAC/C,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;QACnB,OAAO,CACL,8BACE,KAAC,UAAU,IAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAC,wBAAwB,GAAG,EAC1D,KAAC,iBAAiB,IAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAC,wBAAwB,GAAG,EACjE,KAAC,0BAA0B,IACzB,IAAI,EAAE,IAAI,EACV,MAAM,EAAC,wBAAwB,GAC/B,EACF,KAAC,0BAA0B,IACzB,IAAI,EAAE,IAAI,EACV,MAAM,EAAC,wBAAwB,GAC/B,IACD,CACJ,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,cAAc,CAAC;IAChC,aAAa,EAAE,gCAAgC,CAAC,OAAO,CAAC,cAAc;IACtE,MAAM,EAAE,CAAC,EAAE,KAAK,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AG,GACzD,EACX,KAAC,QAAQ,IAAC,IAAI,EAAC,8BAA8B,YAC1C,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,KAAC,QAAQ,IAAC,KAAK,EAAC,kBAAkB,GAAG,GAC/C,EACX,KAAC,QAAQ,IAAC,IAAI,EAAC,2BAA2B,YACvC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,KAAC,QAAQ,IAAC,KAAK,EAAC,eAAe,GAAG,GAC5C,IACH,CACX,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { TableProps } from 'react-science/ui';
|
|
1
|
+
import type { TableProps, TableRowData } from 'react-science/ui';
|
|
3
2
|
type MakeRequired<T, K extends keyof T> = Omit<T, K> & Required<Pick<T, K>>;
|
|
4
|
-
type TableSettingsProps<Data extends
|
|
3
|
+
type TableSettingsProps<Data extends TableRowData> = MakeRequired<TableProps<Data>, 'getRowId'>;
|
|
5
4
|
/**
|
|
6
5
|
* Return stylized table.
|
|
7
6
|
* It set `compact`, `bordered` and `stickyHeader` props to true by default.
|
|
@@ -10,6 +9,6 @@ type TableSettingsProps<Data extends RowData> = MakeRequired<TableProps<Data>, '
|
|
|
10
9
|
* Table with fields in the columns is known to cause issue if the row key is index.
|
|
11
10
|
* use `withUUID` validation helper to have items with uuid
|
|
12
11
|
*/
|
|
13
|
-
export declare function TableSettings<Data extends
|
|
12
|
+
export declare function TableSettings<Data extends TableRowData>(props: TableSettingsProps<Data>): import("react").JSX.Element;
|
|
14
13
|
export {};
|
|
15
14
|
//# sourceMappingURL=table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../../../src/component/modal/setting/tanstack_general_settings/ui/table.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../../../src/component/modal/setting/tanstack_general_settings/ui/table.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGjE,KAAK,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAE5E,KAAK,kBAAkB,CAAC,IAAI,SAAS,YAAY,IAAI,YAAY,CAC/D,UAAU,CAAC,IAAI,CAAC,EAChB,UAAU,CACX,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,IAAI,SAAS,YAAY,EACrD,KAAK,EAAE,kBAAkB,CAAC,IAAI,CAAC,+BAShC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../../../../../src/component/modal/setting/tanstack_general_settings/ui/table.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,MAAM,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../../../../../src/component/modal/setting/tanstack_general_settings/ui/table.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AASzC;;;;;;;GAOG;AACH,MAAM,UAAU,aAAa,CAC3B,KAA+B;IAE/B,yDAAyD;IACzD,wDAAwD;IACxD,MAAM,KAAK,GAAG,mBAEb,CAAC;IAEF,OAAO,KAAC,KAAK,IAAC,OAAO,QAAC,QAAQ,QAAC,YAAY,WAAK,KAAK,GAAI,CAAC;AAC5D,CAAC;AAED,MAAM,mBAAmB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;;;IAGrC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,8BAA8B,CAAC,CAAC,CAAC,EAAE,CAAC;;MAE/D,OAAO,CAAC,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BvB,CAAC"}
|
|
@@ -2,35 +2,35 @@ import { z } from 'zod/v4';
|
|
|
2
2
|
export declare const filtersValidation: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3
3
|
name: z.ZodEnum<{
|
|
4
4
|
trim: "trim";
|
|
5
|
-
digitalFilter: "digitalFilter";
|
|
6
5
|
baselineCorrection: "baselineCorrection";
|
|
7
|
-
fft: "fft";
|
|
8
6
|
zeroFilling: "zeroFilling";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
shiftX: "shiftX";
|
|
12
|
-
phaseCorrection: "phaseCorrection";
|
|
13
|
-
forwardLinearPrediction: "forwardLinearPrediction";
|
|
14
|
-
exclusionZones: "exclusionZones";
|
|
7
|
+
zeroFillingDimension1: "zeroFillingDimension1";
|
|
8
|
+
zeroFillingDimension2: "zeroFillingDimension2";
|
|
15
9
|
apodization: "apodization";
|
|
16
|
-
backwardLinearPrediction: "backwardLinearPrediction";
|
|
17
10
|
apodizationDimension1: "apodizationDimension1";
|
|
18
11
|
apodizationDimension2: "apodizationDimension2";
|
|
12
|
+
phaseCorrection: "phaseCorrection";
|
|
13
|
+
phaseCorrectionTwoDimensions: "phaseCorrectionTwoDimensions";
|
|
14
|
+
fft: "fft";
|
|
15
|
+
fftDimension1: "fftDimension1";
|
|
16
|
+
fftDimension2: "fftDimension2";
|
|
17
|
+
exclusionZones: "exclusionZones";
|
|
18
|
+
backwardLinearPrediction: "backwardLinearPrediction";
|
|
19
|
+
digitalFilter: "digitalFilter";
|
|
20
|
+
equallySpaced: "equallySpaced";
|
|
21
|
+
forwardLinearPrediction: "forwardLinearPrediction";
|
|
22
|
+
shiftX: "shiftX";
|
|
23
|
+
signalProcessing: "signalProcessing";
|
|
19
24
|
baselineCorrectionTwoDimensions: "baselineCorrectionTwoDimensions";
|
|
20
25
|
blpDimension1: "blpDimension1";
|
|
21
26
|
blpDimension2: "blpDimension2";
|
|
22
27
|
digitalFilter2D: "digitalFilter2D";
|
|
23
|
-
fftDimension1: "fftDimension1";
|
|
24
|
-
fftDimension2: "fftDimension2";
|
|
25
28
|
nusDimension2: "nusDimension2";
|
|
26
29
|
flpDimension1: "flpDimension1";
|
|
27
30
|
flpDimension2: "flpDimension2";
|
|
28
|
-
phaseCorrectionTwoDimensions: "phaseCorrectionTwoDimensions";
|
|
29
31
|
shift2DX: "shift2DX";
|
|
30
32
|
shift2DY: "shift2DY";
|
|
31
33
|
symmetrizeCosyLike: "symmetrizeCosyLike";
|
|
32
|
-
zeroFillingDimension1: "zeroFillingDimension1";
|
|
33
|
-
zeroFillingDimension2: "zeroFillingDimension2";
|
|
34
34
|
}>;
|
|
35
35
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
36
36
|
}, z.core.$strip>>>;
|
|
@@ -39,35 +39,35 @@ export declare const autoProcessingTabValidation: z.ZodObject<{
|
|
|
39
39
|
filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
40
40
|
name: z.ZodEnum<{
|
|
41
41
|
trim: "trim";
|
|
42
|
-
digitalFilter: "digitalFilter";
|
|
43
42
|
baselineCorrection: "baselineCorrection";
|
|
44
|
-
fft: "fft";
|
|
45
43
|
zeroFilling: "zeroFilling";
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
shiftX: "shiftX";
|
|
49
|
-
phaseCorrection: "phaseCorrection";
|
|
50
|
-
forwardLinearPrediction: "forwardLinearPrediction";
|
|
51
|
-
exclusionZones: "exclusionZones";
|
|
44
|
+
zeroFillingDimension1: "zeroFillingDimension1";
|
|
45
|
+
zeroFillingDimension2: "zeroFillingDimension2";
|
|
52
46
|
apodization: "apodization";
|
|
53
|
-
backwardLinearPrediction: "backwardLinearPrediction";
|
|
54
47
|
apodizationDimension1: "apodizationDimension1";
|
|
55
48
|
apodizationDimension2: "apodizationDimension2";
|
|
49
|
+
phaseCorrection: "phaseCorrection";
|
|
50
|
+
phaseCorrectionTwoDimensions: "phaseCorrectionTwoDimensions";
|
|
51
|
+
fft: "fft";
|
|
52
|
+
fftDimension1: "fftDimension1";
|
|
53
|
+
fftDimension2: "fftDimension2";
|
|
54
|
+
exclusionZones: "exclusionZones";
|
|
55
|
+
backwardLinearPrediction: "backwardLinearPrediction";
|
|
56
|
+
digitalFilter: "digitalFilter";
|
|
57
|
+
equallySpaced: "equallySpaced";
|
|
58
|
+
forwardLinearPrediction: "forwardLinearPrediction";
|
|
59
|
+
shiftX: "shiftX";
|
|
60
|
+
signalProcessing: "signalProcessing";
|
|
56
61
|
baselineCorrectionTwoDimensions: "baselineCorrectionTwoDimensions";
|
|
57
62
|
blpDimension1: "blpDimension1";
|
|
58
63
|
blpDimension2: "blpDimension2";
|
|
59
64
|
digitalFilter2D: "digitalFilter2D";
|
|
60
|
-
fftDimension1: "fftDimension1";
|
|
61
|
-
fftDimension2: "fftDimension2";
|
|
62
65
|
nusDimension2: "nusDimension2";
|
|
63
66
|
flpDimension1: "flpDimension1";
|
|
64
67
|
flpDimension2: "flpDimension2";
|
|
65
|
-
phaseCorrectionTwoDimensions: "phaseCorrectionTwoDimensions";
|
|
66
68
|
shift2DX: "shift2DX";
|
|
67
69
|
shift2DY: "shift2DY";
|
|
68
70
|
symmetrizeCosyLike: "symmetrizeCosyLike";
|
|
69
|
-
zeroFillingDimension1: "zeroFillingDimension1";
|
|
70
|
-
zeroFillingDimension2: "zeroFillingDimension2";
|
|
71
71
|
}>;
|
|
72
72
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
73
73
|
}, z.core.$strip>>>>>;
|
package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.d.ts
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const MIN_DPI = 1;
|
|
3
|
+
export declare const MAX_DPI = 1200;
|
|
4
|
+
/** Sizes are unit-relative (m, in, cm, px...), so the only unit-agnostic invariant is being positive. */
|
|
5
|
+
export declare const sizeField: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
6
|
+
export declare const dpiField: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
2
7
|
/**
|
|
3
8
|
* @see {import("@zakodium/nmrium-core").ExportSettings}
|
|
4
9
|
*/
|
|
5
10
|
export declare const exportSettingsValidation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11
|
+
mode: z.ZodLiteral<"basic">;
|
|
12
|
+
useDefaultSettings: z.ZodBoolean;
|
|
13
|
+
dpi: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
6
14
|
size: z.ZodEnum<{
|
|
7
15
|
Letter: "Letter";
|
|
8
16
|
Legal: "Legal";
|
|
@@ -20,32 +28,71 @@ export declare const exportSettingsValidation: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
20
28
|
portrait: "portrait";
|
|
21
29
|
landscape: "landscape";
|
|
22
30
|
}>;
|
|
23
|
-
useDefaultSettings: z.ZodBoolean;
|
|
24
|
-
dpi: z.ZodCoercedNumber<string>;
|
|
25
|
-
mode: z.ZodLiteral<"basic">;
|
|
26
31
|
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
|
|
28
|
-
|
|
32
|
+
mode: z.ZodLiteral<"advance">;
|
|
33
|
+
useDefaultSettings: z.ZodBoolean;
|
|
34
|
+
dpi: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
35
|
+
width: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
36
|
+
height: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
29
37
|
unit: z.ZodEnum<{
|
|
30
38
|
in: "in";
|
|
31
|
-
ft: "ft";
|
|
32
|
-
m: "m";
|
|
33
39
|
px: "px";
|
|
40
|
+
ft: "ft";
|
|
34
41
|
yd: "yd";
|
|
35
42
|
cm: "cm";
|
|
36
43
|
mm: "mm";
|
|
44
|
+
m: "m";
|
|
37
45
|
pt: "pt";
|
|
38
46
|
pc: "pc";
|
|
39
47
|
}>;
|
|
48
|
+
}, z.core.$strip>], "mode">;
|
|
49
|
+
export declare const exportSettingsDecoder: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
50
|
+
mode: z.ZodLiteral<"basic">;
|
|
40
51
|
useDefaultSettings: z.ZodBoolean;
|
|
41
|
-
dpi: z.
|
|
52
|
+
dpi: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
53
|
+
size: z.ZodEnum<{
|
|
54
|
+
Letter: "Letter";
|
|
55
|
+
Legal: "Legal";
|
|
56
|
+
Tabloid: "Tabloid";
|
|
57
|
+
Executive: "Executive";
|
|
58
|
+
Statement: "Statement";
|
|
59
|
+
Folio: "Folio";
|
|
60
|
+
A3: "A3";
|
|
61
|
+
A4: "A4";
|
|
62
|
+
A5: "A5";
|
|
63
|
+
B4: "B4";
|
|
64
|
+
B5: "B5";
|
|
65
|
+
}>;
|
|
66
|
+
layout: z.ZodEnum<{
|
|
67
|
+
portrait: "portrait";
|
|
68
|
+
landscape: "landscape";
|
|
69
|
+
}>;
|
|
70
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42
71
|
mode: z.ZodLiteral<"advance">;
|
|
72
|
+
useDefaultSettings: z.ZodBoolean;
|
|
73
|
+
dpi: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
74
|
+
width: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
75
|
+
height: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
76
|
+
unit: z.ZodEnum<{
|
|
77
|
+
in: "in";
|
|
78
|
+
px: "px";
|
|
79
|
+
ft: "ft";
|
|
80
|
+
yd: "yd";
|
|
81
|
+
cm: "cm";
|
|
82
|
+
mm: "mm";
|
|
83
|
+
m: "m";
|
|
84
|
+
pt: "pt";
|
|
85
|
+
pc: "pc";
|
|
86
|
+
}>;
|
|
43
87
|
}, z.core.$strip>], "mode">;
|
|
44
88
|
/**
|
|
45
89
|
* @see {import("@zakodium/nmrium-core").ExportPreferences}
|
|
46
90
|
*/
|
|
47
91
|
export declare const exportPreferencesValidation: z.ZodObject<{
|
|
48
92
|
png: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
93
|
+
mode: z.ZodLiteral<"basic">;
|
|
94
|
+
useDefaultSettings: z.ZodBoolean;
|
|
95
|
+
dpi: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
49
96
|
size: z.ZodEnum<{
|
|
50
97
|
Letter: "Letter";
|
|
51
98
|
Legal: "Legal";
|
|
@@ -63,28 +110,28 @@ export declare const exportPreferencesValidation: z.ZodObject<{
|
|
|
63
110
|
portrait: "portrait";
|
|
64
111
|
landscape: "landscape";
|
|
65
112
|
}>;
|
|
66
|
-
useDefaultSettings: z.ZodBoolean;
|
|
67
|
-
dpi: z.ZodCoercedNumber<string>;
|
|
68
|
-
mode: z.ZodLiteral<"basic">;
|
|
69
113
|
}, z.core.$strip>, z.ZodObject<{
|
|
70
|
-
|
|
71
|
-
|
|
114
|
+
mode: z.ZodLiteral<"advance">;
|
|
115
|
+
useDefaultSettings: z.ZodBoolean;
|
|
116
|
+
dpi: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
117
|
+
width: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
118
|
+
height: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
72
119
|
unit: z.ZodEnum<{
|
|
73
120
|
in: "in";
|
|
74
|
-
ft: "ft";
|
|
75
|
-
m: "m";
|
|
76
121
|
px: "px";
|
|
122
|
+
ft: "ft";
|
|
77
123
|
yd: "yd";
|
|
78
124
|
cm: "cm";
|
|
79
125
|
mm: "mm";
|
|
126
|
+
m: "m";
|
|
80
127
|
pt: "pt";
|
|
81
128
|
pc: "pc";
|
|
82
129
|
}>;
|
|
83
|
-
useDefaultSettings: z.ZodBoolean;
|
|
84
|
-
dpi: z.ZodCoercedNumber<string>;
|
|
85
|
-
mode: z.ZodLiteral<"advance">;
|
|
86
130
|
}, z.core.$strip>], "mode">;
|
|
87
131
|
svg: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
132
|
+
mode: z.ZodLiteral<"basic">;
|
|
133
|
+
useDefaultSettings: z.ZodBoolean;
|
|
134
|
+
dpi: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
88
135
|
size: z.ZodEnum<{
|
|
89
136
|
Letter: "Letter";
|
|
90
137
|
Legal: "Legal";
|
|
@@ -102,28 +149,28 @@ export declare const exportPreferencesValidation: z.ZodObject<{
|
|
|
102
149
|
portrait: "portrait";
|
|
103
150
|
landscape: "landscape";
|
|
104
151
|
}>;
|
|
105
|
-
useDefaultSettings: z.ZodBoolean;
|
|
106
|
-
dpi: z.ZodCoercedNumber<string>;
|
|
107
|
-
mode: z.ZodLiteral<"basic">;
|
|
108
152
|
}, z.core.$strip>, z.ZodObject<{
|
|
109
|
-
|
|
110
|
-
|
|
153
|
+
mode: z.ZodLiteral<"advance">;
|
|
154
|
+
useDefaultSettings: z.ZodBoolean;
|
|
155
|
+
dpi: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
156
|
+
width: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
157
|
+
height: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
111
158
|
unit: z.ZodEnum<{
|
|
112
159
|
in: "in";
|
|
113
|
-
ft: "ft";
|
|
114
|
-
m: "m";
|
|
115
160
|
px: "px";
|
|
161
|
+
ft: "ft";
|
|
116
162
|
yd: "yd";
|
|
117
163
|
cm: "cm";
|
|
118
164
|
mm: "mm";
|
|
165
|
+
m: "m";
|
|
119
166
|
pt: "pt";
|
|
120
167
|
pc: "pc";
|
|
121
168
|
}>;
|
|
122
|
-
useDefaultSettings: z.ZodBoolean;
|
|
123
|
-
dpi: z.ZodCoercedNumber<string>;
|
|
124
|
-
mode: z.ZodLiteral<"advance">;
|
|
125
169
|
}, z.core.$strip>], "mode">;
|
|
126
170
|
clipboard: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
171
|
+
mode: z.ZodLiteral<"basic">;
|
|
172
|
+
useDefaultSettings: z.ZodBoolean;
|
|
173
|
+
dpi: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
127
174
|
size: z.ZodEnum<{
|
|
128
175
|
Letter: "Letter";
|
|
129
176
|
Legal: "Legal";
|
|
@@ -141,26 +188,23 @@ export declare const exportPreferencesValidation: z.ZodObject<{
|
|
|
141
188
|
portrait: "portrait";
|
|
142
189
|
landscape: "landscape";
|
|
143
190
|
}>;
|
|
144
|
-
useDefaultSettings: z.ZodBoolean;
|
|
145
|
-
dpi: z.ZodCoercedNumber<string>;
|
|
146
|
-
mode: z.ZodLiteral<"basic">;
|
|
147
191
|
}, z.core.$strip>, z.ZodObject<{
|
|
148
|
-
|
|
149
|
-
|
|
192
|
+
mode: z.ZodLiteral<"advance">;
|
|
193
|
+
useDefaultSettings: z.ZodBoolean;
|
|
194
|
+
dpi: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
195
|
+
width: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
196
|
+
height: z.ZodCodec<z.ZodString, z.ZodNumber>;
|
|
150
197
|
unit: z.ZodEnum<{
|
|
151
198
|
in: "in";
|
|
152
|
-
ft: "ft";
|
|
153
|
-
m: "m";
|
|
154
199
|
px: "px";
|
|
200
|
+
ft: "ft";
|
|
155
201
|
yd: "yd";
|
|
156
202
|
cm: "cm";
|
|
157
203
|
mm: "mm";
|
|
204
|
+
m: "m";
|
|
158
205
|
pt: "pt";
|
|
159
206
|
pc: "pc";
|
|
160
207
|
}>;
|
|
161
|
-
useDefaultSettings: z.ZodBoolean;
|
|
162
|
-
dpi: z.ZodCoercedNumber<string>;
|
|
163
|
-
mode: z.ZodLiteral<"advance">;
|
|
164
208
|
}, z.core.$strip>], "mode">;
|
|
165
209
|
}, z.core.$strip>;
|
|
166
210
|
//# sourceMappingURL=export_tab_validation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export_tab_validation.d.ts","sourceRoot":"","sources":["../../../../../../src/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"export_tab_validation.d.ts","sourceRoot":"","sources":["../../../../../../src/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuBxB,eAAO,MAAM,OAAO,IAAI,CAAC;AACzB,eAAO,MAAM,OAAO,OAAO,CAAC;AAI5B,yGAAyG;AACzG,eAAO,MAAM,SAAS,sCAA2C,CAAC;AAClE,eAAO,MAAM,QAAQ,sCAEpB,CAAC;AAkEF;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAiBnC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAGhC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAItC,CAAC"}
|
package/lib/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { units } from '@zakodium/nmrium-core';
|
|
2
|
+
import { coerceNumberInput } from 'react-science/ui';
|
|
2
3
|
import { z } from 'zod';
|
|
4
|
+
import { convert, convertToPixels } from '../../../../elements/export/units.js';
|
|
5
|
+
import { MAX_CANVAS_AREA, MAX_CANVAS_SIDE, } from "../../../../utility/export.js";
|
|
3
6
|
const exportSizes = [
|
|
4
7
|
'Letter',
|
|
5
8
|
'Legal',
|
|
@@ -14,38 +17,87 @@ const exportSizes = [
|
|
|
14
17
|
'B5',
|
|
15
18
|
];
|
|
16
19
|
const exportLayouts = ['portrait', 'landscape'];
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
20
|
+
export const MIN_DPI = 1;
|
|
21
|
+
export const MAX_DPI = 1200;
|
|
22
|
+
const formatNumber = (value) => value.toLocaleString('en-US');
|
|
23
|
+
/** Sizes are unit-relative (m, in, cm, px...), so the only unit-agnostic invariant is being positive. */
|
|
24
|
+
export const sizeField = coerceNumberInput(z.number().positive());
|
|
25
|
+
export const dpiField = coerceNumberInput(z.number().int().min(MIN_DPI).max(MAX_DPI));
|
|
26
|
+
const sides = ['width', 'height'];
|
|
27
|
+
/** @see {import("@zakodium/nmrium-core").BasicExportSettings} */
|
|
28
|
+
function basicSettings(dpi) {
|
|
29
|
+
return z.object({
|
|
30
|
+
mode: z.literal('basic'),
|
|
31
|
+
useDefaultSettings: z.boolean(),
|
|
32
|
+
dpi,
|
|
33
|
+
size: z.enum(exportSizes),
|
|
34
|
+
layout: z.enum(exportLayouts),
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
/** @see {import("@zakodium/nmrium-core").AdvanceExportSettings} */
|
|
38
|
+
function advancedSettings(size, dpi) {
|
|
39
|
+
return z.object({
|
|
40
|
+
mode: z.literal('advance'),
|
|
41
|
+
useDefaultSettings: z.boolean(),
|
|
42
|
+
dpi,
|
|
43
|
+
width: size,
|
|
44
|
+
height: size,
|
|
45
|
+
unit: z.enum(units.map((u) => u.unit)),
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
/** A canvas the browser cannot allocate makes the export fail, so the real limit is the size in pixels. */
|
|
49
|
+
function getSizeErrors(settings) {
|
|
50
|
+
const { unit, dpi, width, height } = settings;
|
|
51
|
+
const pixels = {
|
|
52
|
+
width: convertToPixels(width, unit, dpi, { precision: 0 }),
|
|
53
|
+
height: convertToPixels(height, unit, dpi, { precision: 0 }),
|
|
54
|
+
};
|
|
55
|
+
function inCurrentUnit(px) {
|
|
56
|
+
if (unit === 'px')
|
|
57
|
+
return `${formatNumber(px)} px`;
|
|
58
|
+
return `${convert(px, 'px', unit, dpi, { precision: 2 })} ${unit}`;
|
|
59
|
+
}
|
|
60
|
+
const errors = {};
|
|
61
|
+
for (const side of sides) {
|
|
62
|
+
if (pixels[side] < 1) {
|
|
63
|
+
errors[side] = `Too small to export. Use at least ${inCurrentUnit(1)}.`;
|
|
64
|
+
}
|
|
65
|
+
else if (pixels[side] > MAX_CANVAS_SIDE) {
|
|
66
|
+
errors[side] =
|
|
67
|
+
`Too large to export. Use at most ${inCurrentUnit(MAX_CANVAS_SIDE)}.`;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
const hasSideError = sides.some((side) => errors[side]);
|
|
71
|
+
if (!hasSideError && pixels.width * pixels.height > MAX_CANVAS_AREA) {
|
|
72
|
+
const message = `The export would be ${formatNumber(pixels.width)} x ${formatNumber(pixels.height)} pixels, which is too large. Try a smaller size or a lower DPI.`;
|
|
73
|
+
errors.width = message;
|
|
74
|
+
errors.height = message;
|
|
75
|
+
}
|
|
76
|
+
return errors;
|
|
77
|
+
}
|
|
43
78
|
/**
|
|
44
79
|
* @see {import("@zakodium/nmrium-core").ExportSettings}
|
|
45
80
|
*/
|
|
46
81
|
export const exportSettingsValidation = z.discriminatedUnion('mode', [
|
|
47
|
-
|
|
48
|
-
|
|
82
|
+
basicSettings(dpiField),
|
|
83
|
+
advancedSettings(sizeField, dpiField).check(({ value, issues }) => {
|
|
84
|
+
const errors = getSizeErrors(value);
|
|
85
|
+
for (const side of sides) {
|
|
86
|
+
const message = errors[side];
|
|
87
|
+
if (!message)
|
|
88
|
+
continue;
|
|
89
|
+
issues.push({
|
|
90
|
+
code: 'custom',
|
|
91
|
+
input: value[side],
|
|
92
|
+
path: [side],
|
|
93
|
+
message,
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
}),
|
|
97
|
+
]);
|
|
98
|
+
export const exportSettingsDecoder = z.discriminatedUnion('mode', [
|
|
99
|
+
basicSettings(coerceNumberInput()),
|
|
100
|
+
advancedSettings(coerceNumberInput(), coerceNumberInput()),
|
|
49
101
|
]);
|
|
50
102
|
/**
|
|
51
103
|
* @see {import("@zakodium/nmrium-core").ExportPreferences}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export_tab_validation.js","sourceRoot":"","sources":["../../../../../../src/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,WAAW,GAAmB;IAClC,QAAQ;IACR,OAAO;IACP,SAAS;IACT,WAAW;IACX,WAAW;IACX,OAAO;IACP,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;CACL,CAAC;AACF,MAAM,aAAa,GAAa,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;AAE1D
|
|
1
|
+
{"version":3,"file":"export_tab_validation.js","sourceRoot":"","sources":["../../../../../../src/component/modal/setting/tanstack_general_settings/validation/export_tab_validation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,CAAC,E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AClB,IAAI,EAAE,CAAC,IAAI,CAAC;gBACZ,OAAO;aACR,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC;CACH,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IAChE,aAAa,CAAC,iBAAiB,EAAE,CAAC;IAClC,gBAAgB,CAAC,iBAAiB,EAAE,EAAE,iBAAiB,EAAE,CAAC;CAC3D,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,GAAG,EAAE,wBAAwB;IAC7B,GAAG,EAAE,wBAAwB;IAC7B,SAAS,EAAE,wBAAwB;CACpC,CAAC,CAAC"}
|
package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts
CHANGED
|
@@ -14,20 +14,20 @@ export declare const generalValidation: z.ZodObject<{
|
|
|
14
14
|
}>;
|
|
15
15
|
popupLoggingLevel: z.ZodOptional<z.ZodEnum<{
|
|
16
16
|
error: "error";
|
|
17
|
-
info: "info";
|
|
18
17
|
fatal: "fatal";
|
|
19
|
-
trace: "trace";
|
|
20
|
-
debug: "debug";
|
|
21
18
|
warn: "warn";
|
|
19
|
+
info: "info";
|
|
20
|
+
debug: "debug";
|
|
21
|
+
trace: "trace";
|
|
22
22
|
silent: "silent";
|
|
23
23
|
}>>;
|
|
24
24
|
loggingLevel: z.ZodOptional<z.ZodEnum<{
|
|
25
25
|
error: "error";
|
|
26
|
-
info: "info";
|
|
27
26
|
fatal: "fatal";
|
|
28
|
-
trace: "trace";
|
|
29
|
-
debug: "debug";
|
|
30
27
|
warn: "warn";
|
|
28
|
+
info: "info";
|
|
29
|
+
debug: "debug";
|
|
30
|
+
trace: "trace";
|
|
31
31
|
silent: "silent";
|
|
32
32
|
}>>;
|
|
33
33
|
molecules: z.ZodObject<{
|
package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.d.ts
CHANGED
|
@@ -3,15 +3,15 @@ export declare const nucleiValidation: z.ZodArray<z.ZodCodec<z.ZodObject<{
|
|
|
3
3
|
nucleus: z.ZodString;
|
|
4
4
|
ppmFormat: z.ZodString;
|
|
5
5
|
hzFormat: z.ZodString;
|
|
6
|
-
axisFrom: z.ZodOptional<z.
|
|
7
|
-
axisTo: z.ZodOptional<z.
|
|
6
|
+
axisFrom: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodNumber>>;
|
|
7
|
+
axisTo: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodNumber>>;
|
|
8
8
|
} & {
|
|
9
9
|
uuid: z.ZodUUID;
|
|
10
10
|
}, z.core.$strip>, z.ZodObject<{
|
|
11
11
|
nucleus: z.ZodString;
|
|
12
12
|
ppmFormat: z.ZodString;
|
|
13
13
|
hzFormat: z.ZodString;
|
|
14
|
-
axisFrom: z.ZodOptional<z.
|
|
15
|
-
axisTo: z.ZodOptional<z.
|
|
14
|
+
axisFrom: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodNumber>>;
|
|
15
|
+
axisTo: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodNumber>>;
|
|
16
16
|
}, z.core.$strip>>>;
|
|
17
17
|
//# sourceMappingURL=nuclei_tab_validation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nuclei_tab_validation.d.ts","sourceRoot":"","sources":["../../../../../../src/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"nuclei_tab_validation.d.ts","sourceRoot":"","sources":["../../../../../../src/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;mBAkBzB,CAAC"}
|
package/lib/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { coerceNumberInput } from 'react-science/ui';
|
|
1
2
|
import { z } from 'zod';
|
|
2
3
|
import { checkUniqueByKey } from './check_unique_by_key.js';
|
|
3
4
|
import { withUUID } from "./utils.js";
|
|
@@ -6,8 +7,8 @@ export const nucleiValidation = z
|
|
|
6
7
|
nucleus: z.string({ error: 'Nucleus is a required field' }),
|
|
7
8
|
ppmFormat: z.string({ error: 'PPM format is a required field' }),
|
|
8
9
|
hzFormat: z.string({ error: 'Hz format is a required field' }),
|
|
9
|
-
axisFrom:
|
|
10
|
-
axisTo:
|
|
10
|
+
axisFrom: coerceNumberInput().optional(),
|
|
11
|
+
axisTo: coerceNumberInput().optional(),
|
|
11
12
|
})))
|
|
12
13
|
.superRefine((nuclei, ctx) => {
|
|
13
14
|
checkUniqueByKey({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nuclei_tab_validation.js","sourceRoot":"","sources":["../../../../../../src/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC;KAC9B,KAAK,CACJ,QAAQ,CACN,CAAC,CAAC,MAAM,CAAC;IACP,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,6BAA6B,EAAE,CAAC;IAC3D,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,gCAAgC,EAAE,CAAC;IAChE,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,gCAAgC,EAAE,CAAC;IAC/D,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"nuclei_tab_validation.js","sourceRoot":"","sources":["../../../../../../src/component/modal/setting/tanstack_general_settings/validation/nuclei_tab_validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC;KAC9B,KAAK,CACJ,QAAQ,CACN,CAAC,CAAC,MAAM,CAAC;IACP,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,6BAA6B,EAAE,CAAC;IAC3D,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,gCAAgC,EAAE,CAAC;IAChE,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,gCAAgC,EAAE,CAAC;IAC/D,QAAQ,EAAE,iBAAiB,EAAE,CAAC,QAAQ,EAAE;IACxC,MAAM,EAAE,iBAAiB,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC,CACH,CACF;KACA,WAAW,CAAC,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE;IAC3B,gBAAgB,CAAC;QACf,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,SAAS;QACnB,OAAO,EAAE,GAAG;KACb,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|