nmrium 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/component/1d/BrushTracker1D.d.ts.map +1 -1
- package/lib/component/1d/BrushTracker1D.js +17 -10
- package/lib/component/1d/BrushTracker1D.js.map +1 -1
- package/lib/component/1d/FloatPublicationString.d.ts.map +1 -1
- package/lib/component/1d/FloatPublicationString.js +39 -27
- package/lib/component/1d/FloatPublicationString.js.map +1 -1
- package/lib/component/1d/HorizontalAxis1D.d.ts +2 -0
- package/lib/component/1d/HorizontalAxis1D.d.ts.map +1 -0
- package/lib/component/1d/HorizontalAxis1D.js +30 -0
- package/lib/component/1d/HorizontalAxis1D.js.map +1 -0
- package/lib/component/1d/Line.js +1 -1
- package/lib/component/1d/Line.js.map +1 -1
- package/lib/component/1d/LinesSeries.d.ts.map +1 -1
- package/lib/component/1d/LinesSeries.js +2 -10
- package/lib/component/1d/LinesSeries.js.map +1 -1
- package/lib/component/1d/SVGContent1D.d.ts.map +1 -1
- package/lib/component/1d/SVGContent1D.js +2 -3
- package/lib/component/1d/SVGContent1D.js.map +1 -1
- package/lib/component/1d/Viewer1D.d.ts.map +1 -1
- package/lib/component/1d/Viewer1D.js +2 -1
- package/lib/component/1d/Viewer1D.js.map +1 -1
- package/lib/component/1d/baseline/BaselinePreview.d.ts +2 -0
- package/lib/component/1d/baseline/BaselinePreview.d.ts.map +1 -0
- package/lib/component/1d/baseline/BaselinePreview.js +146 -0
- package/lib/component/1d/baseline/BaselinePreview.js.map +1 -0
- package/lib/component/1d/baseline/getMedianWindow.d.ts +3 -0
- package/lib/component/1d/baseline/getMedianWindow.d.ts.map +1 -0
- package/lib/component/1d/baseline/getMedianWindow.js +5 -0
- package/lib/component/1d/baseline/getMedianWindow.js.map +1 -0
- package/lib/component/1d/baseline/getMedianY.d.ts +3 -0
- package/lib/component/1d/baseline/getMedianY.d.ts.map +1 -0
- package/lib/component/1d/baseline/getMedianY.js +13 -0
- package/lib/component/1d/baseline/getMedianY.js.map +1 -0
- package/lib/component/1d/database/DatabaseElements.d.ts.map +1 -1
- package/lib/component/1d/database/DatabaseElements.js +4 -4
- package/lib/component/1d/database/DatabaseElements.js.map +1 -1
- package/lib/component/1d/database/DatabaseSpectrum.d.ts.map +1 -1
- package/lib/component/1d/database/DatabaseSpectrum.js +5 -2
- package/lib/component/1d/database/DatabaseSpectrum.js.map +1 -1
- package/lib/component/1d/database/ResurrectedDatabaseRanges.d.ts.map +1 -1
- package/lib/component/1d/database/ResurrectedDatabaseRanges.js +4 -5
- package/lib/component/1d/database/ResurrectedDatabaseRanges.js.map +1 -1
- package/lib/component/1d/integral/IntegralsSeries.js.map +1 -1
- package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.js +1 -1
- package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.js.map +1 -1
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js +6 -5
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotations.js +1 -1
- package/lib/component/1d/peaks/PeakAnnotations.js.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js +2 -2
- package/lib/component/1d/peaks/PeakAnnotationsSpreadMode.js.map +1 -1
- package/lib/component/1d/peaks/PeakEditionManager.d.ts.map +1 -1
- package/lib/component/1d/peaks/PeakEditionManager.js +1 -1
- package/lib/component/1d/peaks/PeakEditionManager.js.map +1 -1
- package/lib/component/1d/peaks/usePeakShapesPath.js +1 -1
- package/lib/component/1d/peaks/usePeakShapesPath.js.map +1 -1
- package/lib/component/1d/ranges/Range.js +3 -3
- package/lib/component/1d/ranges/Range.js.map +1 -1
- package/lib/component/1d/ranges/Ranges.js +2 -2
- package/lib/component/1d/ranges/Ranges.js.map +1 -1
- package/lib/component/1d/tool/BaseLine.js +1 -1
- package/lib/component/1d/tool/PeakPointer.d.ts.map +1 -1
- package/lib/component/1d/tool/PeakPointer.js +2 -1
- package/lib/component/1d/tool/PeakPointer.js.map +1 -1
- package/lib/component/1d/utilities/scale.d.ts +5 -4
- package/lib/component/1d/utilities/scale.d.ts.map +1 -1
- package/lib/component/1d/utilities/scale.js +13 -6
- package/lib/component/1d/utilities/scale.js.map +1 -1
- package/lib/component/1d-2d/FieldEdition.d.ts.map +1 -1
- package/lib/component/1d-2d/FieldEdition.js.map +1 -1
- package/lib/component/1d-2d/components/axis_unit_picker.d.ts +11 -0
- package/lib/component/1d-2d/components/axis_unit_picker.d.ts.map +1 -0
- package/lib/component/1d-2d/components/axis_unit_picker.js +26 -0
- package/lib/component/1d-2d/components/axis_unit_picker.js.map +1 -0
- package/lib/component/1d-2d/tools/BrushXY.js +6 -6
- package/lib/component/1d-2d/tools/BrushXY.js.map +1 -1
- package/lib/component/2d/1d-tracer/VerticalSliceChart.js +1 -1
- package/lib/component/2d/1d-tracer/VerticalSliceChart.js.map +1 -1
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.d.ts +2 -2
- package/lib/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.d.ts.map +1 -1
- package/lib/component/2d/{XAxis.d.ts → DirectAxis2D.d.ts} +4 -4
- package/lib/component/2d/DirectAxis2D.d.ts.map +1 -0
- package/lib/component/2d/DirectAxis2D.js +42 -0
- package/lib/component/2d/DirectAxis2D.js.map +1 -0
- package/lib/component/2d/IndirectAxis2D.d.ts +12 -0
- package/lib/component/2d/IndirectAxis2D.d.ts.map +1 -0
- package/lib/component/2d/IndirectAxis2D.js +52 -0
- package/lib/component/2d/IndirectAxis2D.js.map +1 -0
- package/lib/component/2d/SVGContent2D.js +3 -3
- package/lib/component/2d/SVGContent2D.js.map +1 -1
- package/lib/component/2d/fid/FidCanvas.js.map +1 -1
- package/lib/component/2d/utilities/extractSpectrumSignals.js +2 -2
- package/lib/component/2d/utilities/extractSpectrumSignals.js.map +1 -1
- package/lib/component/2d/utilities/scale.d.ts +10 -2
- package/lib/component/2d/utilities/scale.d.ts.map +1 -1
- package/lib/component/2d/utilities/scale.js +6 -4
- package/lib/component/2d/utilities/scale.js.map +1 -1
- package/lib/component/2d/zones/Signal.d.ts +2 -2
- package/lib/component/2d/zones/Signal.d.ts.map +1 -1
- package/lib/component/2d/zones/Signal.js +7 -9
- package/lib/component/2d/zones/Signal.js.map +1 -1
- package/lib/component/2d/zones/SignalCrosshair.d.ts +1 -1
- package/lib/component/2d/zones/SignalCrosshair.d.ts.map +1 -1
- package/lib/component/2d/zones/SignalCrosshair.js +3 -2
- package/lib/component/2d/zones/SignalCrosshair.js.map +1 -1
- package/lib/component/2d/zones/SignalsGuideLines.js +2 -2
- package/lib/component/2d/zones/SignalsGuideLines.js.map +1 -1
- package/lib/component/2d/zones/Zone.d.ts +1 -1
- package/lib/component/2d/zones/Zone.d.ts.map +1 -1
- package/lib/component/2d/zones/Zone.js +3 -4
- package/lib/component/2d/zones/Zone.js.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/BrushTracker.js +6 -6
- package/lib/component/EventsTrackers/BrushTracker.js.map +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/KeysListenerTracker.js +109 -123
- package/lib/component/EventsTrackers/KeysListenerTracker.js.map +1 -1
- package/lib/component/EventsTrackers/MouseTracker.d.ts +1 -1
- package/lib/component/EventsTrackers/MouseTracker.d.ts.map +1 -1
- package/lib/component/EventsTrackers/MouseTracker.js +9 -8
- package/lib/component/EventsTrackers/MouseTracker.js.map +1 -1
- package/lib/component/SVGTable.d.ts +3 -2
- package/lib/component/SVGTable.d.ts.map +1 -1
- package/lib/component/SVGTable.js +2 -4
- package/lib/component/SVGTable.js.map +1 -1
- package/lib/component/assignment/utilities/getAssignments.js.map +1 -1
- package/lib/component/context/DispatchContext.d.ts +2 -1
- package/lib/component/context/DispatchContext.d.ts.map +1 -1
- package/lib/component/context/DispatchContext.js.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.d.ts +4 -3
- package/lib/component/context/FilterSyncOptionsContext.d.ts.map +1 -1
- package/lib/component/context/FilterSyncOptionsContext.js +34 -8
- package/lib/component/context/FilterSyncOptionsContext.js.map +1 -1
- package/lib/component/context/ScaleContext.d.ts +5 -1
- package/lib/component/context/ScaleContext.d.ts.map +1 -1
- package/lib/component/context/ScaleContext.js +5 -4
- package/lib/component/context/ScaleContext.js.map +1 -1
- package/lib/component/context/SortSpectraContext.js +1 -1
- package/lib/component/context/SortSpectraContext.js.map +1 -1
- package/lib/component/elements/ActionsButtonsPopover.d.ts.map +1 -1
- package/lib/component/elements/ActionsButtonsPopover.js +1 -1
- package/lib/component/elements/ActionsButtonsPopover.js.map +1 -1
- package/lib/component/elements/Alert.d.ts.map +1 -1
- package/lib/component/elements/Alert.js.map +1 -1
- package/lib/component/elements/Anchor.d.ts +43 -0
- package/lib/component/elements/Anchor.d.ts.map +1 -0
- package/lib/component/elements/Anchor.js +151 -0
- package/lib/component/elements/Anchor.js.map +1 -0
- package/lib/component/elements/Button.d.ts.map +1 -1
- package/lib/component/elements/Button.js.map +1 -1
- package/lib/component/elements/ColumnWrapper.d.ts +2 -1
- package/lib/component/elements/ColumnWrapper.d.ts.map +1 -1
- package/lib/component/elements/ColumnWrapper.js.map +1 -1
- package/lib/component/elements/ContextMenuBluePrint.js +2 -2
- package/lib/component/elements/ContextMenuBluePrint.js.map +1 -1
- package/lib/component/elements/D3Axis.d.ts +5 -2
- package/lib/component/elements/D3Axis.d.ts.map +1 -1
- package/lib/component/elements/D3Axis.js +61 -18
- package/lib/component/elements/D3Axis.js.map +1 -1
- package/lib/component/elements/DialogManager.d.ts +1 -1
- package/lib/component/elements/DialogManager.d.ts.map +1 -1
- package/lib/component/elements/DialogManager.js.map +1 -1
- package/lib/component/elements/DraggableDialog.d.ts.map +1 -1
- package/lib/component/elements/DraggableDialog.js.map +1 -1
- package/lib/component/elements/EditableColumn.d.ts +9 -5
- package/lib/component/elements/EditableColumn.d.ts.map +1 -1
- package/lib/component/elements/EditableColumn.js +7 -7
- package/lib/component/elements/EditableColumn.js.map +1 -1
- package/lib/component/elements/Input.d.ts +2 -2
- package/lib/component/elements/Input.d.ts.map +1 -1
- package/lib/component/elements/Input.js.map +1 -1
- package/lib/component/elements/InputRange.d.ts.map +1 -1
- package/lib/component/elements/InputRange.js.map +1 -1
- package/lib/component/elements/Label.d.ts +1 -2
- package/lib/component/elements/Label.d.ts.map +1 -1
- package/lib/component/elements/MoleculeSelection.js.map +1 -1
- package/lib/component/elements/NumberInput2.d.ts +2 -1
- package/lib/component/elements/NumberInput2.d.ts.map +1 -1
- package/lib/component/elements/NumberInput2Controller.d.ts +1 -2
- package/lib/component/elements/NumberInput2Controller.d.ts.map +1 -1
- package/lib/component/elements/NumberInputField.d.ts +9 -0
- package/lib/component/elements/NumberInputField.d.ts.map +1 -0
- package/lib/component/elements/NumberInputField.js +8 -0
- package/lib/component/elements/NumberInputField.js.map +1 -0
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts +6 -1
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.js +2 -2
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.js.map +1 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts +5 -5
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.js +5 -5
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.js.map +1 -1
- package/lib/component/elements/ReactTable/ReactTable.d.ts +15 -9
- package/lib/component/elements/ReactTable/ReactTable.d.ts.map +1 -1
- package/lib/component/elements/ReactTable/ReactTable.js +8 -4
- package/lib/component/elements/ReactTable/ReactTable.js.map +1 -1
- package/lib/component/elements/ReactTable/utility/addCustomColumn.d.ts +2 -1
- package/lib/component/elements/ReactTable/utility/addCustomColumn.d.ts.map +1 -1
- package/lib/component/elements/ReadOnly.d.ts +2 -2
- package/lib/component/elements/ReadOnly.d.ts.map +1 -1
- package/lib/component/elements/ReadOnly.js.map +1 -1
- package/lib/component/elements/Sections.js +1 -1
- package/lib/component/elements/Sections.js.map +1 -1
- package/lib/component/elements/Tab/DeleteButton.d.ts +2 -2
- package/lib/component/elements/Tab/DeleteButton.d.ts.map +1 -1
- package/lib/component/elements/TabTitle.d.ts.map +1 -1
- package/lib/component/elements/TabTitle.js.map +1 -1
- package/lib/component/elements/dropDownButton/DropDownButton.js.map +1 -1
- package/lib/component/elements/export/ExportContent.d.ts.map +1 -1
- package/lib/component/elements/export/ExportContent.js +13 -27
- package/lib/component/elements/export/ExportContent.js.map +1 -1
- package/lib/component/elements/export/ExportOptionsModal.js.map +1 -1
- package/lib/component/elements/export/units.d.ts +1 -1
- package/lib/component/elements/export/units.d.ts.map +1 -1
- package/lib/component/elements/export/units.js.map +1 -1
- package/lib/component/elements/export/useExportConfigurer.d.ts +1 -1
- package/lib/component/elements/export/useExportConfigurer.d.ts.map +1 -1
- package/lib/component/elements/export/useExportConfigurer.js.map +1 -1
- package/lib/component/elements/resizer/SVGResizer.d.ts +2 -1
- package/lib/component/elements/resizer/SVGResizer.d.ts.map +1 -1
- package/lib/component/header/Header.js +2 -2
- package/lib/component/header/Header.js.map +1 -1
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.js +43 -24
- package/lib/component/header/SimpleBaseLineCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/highlight/index.d.ts +59 -19
- package/lib/component/highlight/index.d.ts.map +1 -1
- package/lib/component/highlight/index.js +6 -4
- package/lib/component/highlight/index.js.map +1 -1
- package/lib/component/hooks/use2DReducer.d.ts.map +1 -1
- package/lib/component/hooks/use2DReducer.js.map +1 -1
- package/lib/component/hooks/useCheckToolsVisibility.js.map +1 -1
- package/lib/component/hooks/useCombinedRefs.d.ts.map +1 -1
- package/lib/component/hooks/useCombinedRefs.js +1 -0
- package/lib/component/hooks/useCombinedRefs.js.map +1 -1
- package/lib/component/hooks/useFilter.d.ts.map +1 -1
- package/lib/component/hooks/useFilter.js.map +1 -1
- package/lib/component/hooks/useSVGUnitConverter.js.map +1 -1
- package/lib/component/hooks/useSaveSettings.d.ts.map +1 -1
- package/lib/component/hooks/useSaveSettings.js +3 -3
- package/lib/component/hooks/useSaveSettings.js.map +1 -1
- package/lib/component/hooks/useTableSortBy.d.ts +5 -4
- package/lib/component/hooks/useTableSortBy.d.ts.map +1 -1
- package/lib/component/hooks/useTableSortBy.js +3 -3
- package/lib/component/hooks/useTableSortBy.js.map +1 -1
- package/lib/component/hooks/useTriggerNewAssignmentLabel.d.ts +1 -1
- package/lib/component/hooks/useTriggerNewAssignmentLabel.d.ts.map +1 -1
- package/lib/component/hooks/useTriggerNewAssignmentLabel.js.map +1 -1
- package/lib/component/hooks/use_axis_unit.d.ts +24 -0
- package/lib/component/hooks/use_axis_unit.d.ts.map +1 -0
- package/lib/component/hooks/use_axis_unit.js +255 -0
- package/lib/component/hooks/use_axis_unit.js.map +1 -0
- package/lib/component/hooks/use_gridlines_config.d.ts +3 -0
- package/lib/component/hooks/use_gridlines_config.d.ts.map +1 -0
- package/lib/component/hooks/use_gridlines_config.js +15 -0
- package/lib/component/hooks/use_gridlines_config.js.map +1 -0
- package/lib/component/hooks/use_ticks_config.d.ts +5 -0
- package/lib/component/hooks/use_ticks_config.d.ts.map +1 -0
- package/lib/component/hooks/use_ticks_config.js +13 -0
- package/lib/component/hooks/use_ticks_config.js.map +1 -0
- package/lib/component/hooks/use_visible_spectra_1d.d.ts +3 -0
- package/lib/component/hooks/use_visible_spectra_1d.d.ts.map +1 -0
- package/lib/component/hooks/use_visible_spectra_1d.js +12 -0
- package/lib/component/hooks/use_visible_spectra_1d.js.map +1 -0
- package/lib/component/loader/useLoadFiles.d.ts +2 -1
- package/lib/component/loader/useLoadFiles.d.ts.map +1 -1
- package/lib/component/loader/useLoadFiles.js +15 -10
- package/lib/component/loader/useLoadFiles.js.map +1 -1
- package/lib/component/main/InnerNMRium.d.ts.map +1 -1
- package/lib/component/main/InnerNMRium.js +3 -3
- package/lib/component/main/InnerNMRium.js.map +1 -1
- package/lib/component/main/NMRiumRefAPI.d.ts +2 -0
- package/lib/component/main/NMRiumRefAPI.d.ts.map +1 -1
- package/lib/component/main/NMRiumRefAPI.js +1 -0
- package/lib/component/main/NMRiumRefAPI.js.map +1 -1
- package/lib/component/main/NMRiumStateProvider.d.ts +1 -0
- package/lib/component/main/NMRiumStateProvider.d.ts.map +1 -1
- package/lib/component/main/NMRiumStateProvider.js +11 -4
- package/lib/component/main/NMRiumStateProvider.js.map +1 -1
- package/lib/component/main/NMRiumViewer.js.map +1 -1
- package/lib/component/modal/MultipletAnalysisModal.d.ts +2 -2
- package/lib/component/modal/MultipletAnalysisModal.d.ts.map +1 -1
- package/lib/component/modal/MultipletAnalysisModal.js +1 -3
- package/lib/component/modal/MultipletAnalysisModal.js.map +1 -1
- package/lib/component/modal/PublicationStringModal.d.ts.map +1 -1
- package/lib/component/modal/PublicationStringModal.js +4 -0
- package/lib/component/modal/PublicationStringModal.js.map +1 -1
- package/lib/component/modal/SaveAsModal.d.ts +0 -2
- package/lib/component/modal/SaveAsModal.d.ts.map +1 -1
- package/lib/component/modal/SaveAsModal.js +1 -1
- package/lib/component/modal/SaveAsModal.js.map +1 -1
- package/lib/component/modal/changeSum/SelectMolecule.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts +2 -1
- package/lib/component/modal/editRange/forms/components/NewSignalTab.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/NewSignalTab.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/SignalsContent.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.js.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.d.ts.map +1 -1
- package/lib/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.js.map +1 -1
- package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
- package/lib/component/modal/metaImportation/utils/mapColumnToSelectItems.d.ts +4 -1
- package/lib/component/modal/metaImportation/utils/mapColumnToSelectItems.d.ts.map +1 -1
- package/lib/component/modal/metaImportation/utils/mapColumnToSelectItems.js.map +1 -1
- package/lib/component/modal/setting/WorkspaceItem.js +6 -6
- package/lib/component/modal/setting/WorkspaceItem.js.map +1 -1
- package/lib/component/modal/setting/general_settings.d.ts +2 -8
- package/lib/component/modal/setting/general_settings.d.ts.map +1 -1
- package/lib/component/modal/setting/general_settings.js +5 -228
- package/lib/component/modal/setting/general_settings.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts +2179 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.js +52 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/context.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts +2168 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.js +29 -0
- package/lib/component/modal/setting/tanstack_general_settings/errors/renderer.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/general_settings.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings.js +24 -22
- package/lib/component/modal/setting/tanstack_general_settings/general_settings.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts +1013 -199
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js +5 -2
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.js +2 -8
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.js +23 -45
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts +63 -253
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.js +2 -8
- package/lib/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.js +21 -17
- package/lib/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/{general_settings_dialog_header_actions_buttons.d.ts → tabs/axis_tab.d.ts} +403 -205
- package/lib/component/modal/setting/tanstack_general_settings/{general_settings_dialog_header_actions_buttons.d.ts.map → tabs/axis_tab.d.ts.map} +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.js +43 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/axis_tab.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js +10 -9
- package/lib/component/modal/setting/tanstack_general_settings/tabs/database_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/tabs/export_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js +7 -9
- package/lib/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.js +2 -2
- package/lib/component/modal/setting/tanstack_general_settings/tabs/general_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/tabs/import_filters_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.js +10 -8
- package/lib/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/tabs/panels_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js +15 -18
- package/lib/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.js +10 -10
- package/lib/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts +396 -198
- package/lib/component/modal/setting/tanstack_general_settings/tabs/tools_tab.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.d.ts +7 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.js +16 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_actions.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.d.ts +16 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.js +26 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.d.ts +14 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.js +18 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.d.ts +36 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.js +64 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/cell_input.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts +1 -54
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.js +2 -79
- package/lib/component/modal/setting/tanstack_general_settings/ui/table.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.d.ts +37 -33
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.js +2 -52
- package/lib/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.d.ts +95 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.js +19 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts +18 -4
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.js +4 -0
- package/lib/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts +99 -37
- package/lib/component/modal/setting/tanstack_general_settings/validation.d.ts.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/validation.js +3 -2
- package/lib/component/modal/setting/tanstack_general_settings/validation.js.map +1 -1
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.d.ts +3 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.js +96 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/actions.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.d.ts +3 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.js +55 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/picker.js.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/props.d.ts +7 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/props.d.ts.map +1 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/props.js +2 -0
- package/lib/component/modal/setting/tanstack_general_settings/workspaces/props.js.map +1 -0
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts.map +1 -1
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.js +3 -3
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.js.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralTable.js +6 -7
- package/lib/component/panels/IntegralsPanel/IntegralTable.js.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralsPreferences.d.ts.map +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js +2 -3
- package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.d.ts.map +1 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js +2 -1
- package/lib/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeHeader.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeHeader.js +5 -5
- package/lib/component/panels/MoleculesPanel/MoleculeHeader.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanel.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanel.js +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculePanel.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeStructure.d.ts +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeStructure.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/MoleculeStructure.js +9 -4
- package/lib/component/panels/MoleculesPanel/MoleculeStructure.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.d.ts.map +1 -1
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js +24 -20
- package/lib/component/panels/MoleculesPanel/hooks/useAtomAssignment.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/utilities/extractFromAtom.d.ts +3 -3
- package/lib/component/panels/MoleculesPanel/utilities/extractFromAtom.js +3 -3
- package/lib/component/panels/Panels.d.ts.map +1 -1
- package/lib/component/panels/Panels.js.map +1 -1
- package/lib/component/panels/PanelsBar.d.ts.map +1 -1
- package/lib/component/panels/PanelsBar.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts +2 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js +2 -3
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.d.ts.map +1 -1
- package/lib/component/panels/PeaksPanel/PeaksTable.js +3 -3
- package/lib/component/panels/PeaksPanel/PeaksTable.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPanel.d.ts +7 -0
- package/lib/component/panels/RangesPanel/RangesPanel.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPanel.js +6 -5
- package/lib/component/panels/RangesPanel/RangesPanel.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPreferences.d.ts +2 -1
- package/lib/component/panels/RangesPanel/RangesPreferences.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesPreferences.js +2 -3
- package/lib/component/panels/RangesPanel/RangesPreferences.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTable.d.ts +4 -3
- package/lib/component/panels/RangesPanel/RangesTable.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTable.js +2 -3
- package/lib/component/panels/RangesPanel/RangesTable.js.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.d.ts +5 -5
- package/lib/component/panels/RangesPanel/RangesTableRow.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.js +8 -3
- package/lib/component/panels/RangesPanel/RangesTableRow.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.d.ts +1 -2
- package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.js +4 -4
- package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js +8 -7
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.d.ts +1 -2
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js +7 -5
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js.map +1 -1
- package/lib/component/panels/RangesPanel/hooks/useMapRanges.d.ts +11 -4
- package/lib/component/panels/RangesPanel/hooks/useMapRanges.d.ts.map +1 -1
- package/lib/component/panels/RangesPanel/hooks/useMapRanges.js +2 -4
- package/lib/component/panels/RangesPanel/hooks/useMapRanges.js.map +1 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.d.ts +2 -1
- package/lib/component/panels/SpectraPanel/SpectraTable.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/RenderAsHTML.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/RenderAsHTML.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/RenderAsHTML.js +5 -9
- package/lib/component/panels/SpectraPanel/base/RenderAsHTML.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js +3 -3
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.d.ts.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js +3 -3
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts +4 -7
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.js +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts +18 -12
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js +9 -12
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.js +2 -2
- package/lib/component/panels/SummaryPanel/SetMolecularFormulaModal.js.map +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.js +1 -1
- package/lib/component/panels/SummaryPanel/SummaryPanel.js.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js +2 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.d.ts +2 -2
- package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.js +6 -8
- package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.d.ts +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.js +4 -3
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.js.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js +2 -0
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPreferences.d.ts +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPreferences.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPreferences.js +2 -3
- package/lib/component/panels/ZonesPanel/ZonesPreferences.js.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts +5 -4
- package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/ZonesTableRow.js +2 -2
- package/lib/component/panels/ZonesPanel/ZonesTableRow.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePanel.js +56 -56
- package/lib/component/panels/databasePanel/DatabasePanel.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.d.ts +2 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.js +2 -3
- package/lib/component/panels/databasePanel/DatabasePreferences.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseTable.d.ts +1 -1
- package/lib/component/panels/databasePanel/DatabaseTable.d.ts.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseTable.js +22 -3
- package/lib/component/panels/databasePanel/DatabaseTable.js.map +1 -1
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.d.ts +2 -2
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.d.ts.map +1 -1
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.js +6 -4
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.js.map +1 -1
- package/lib/component/panels/extra/utilities/settingImperativeHandle.d.ts +3 -3
- package/lib/component/panels/extra/utilities/settingImperativeHandle.d.ts.map +1 -1
- package/lib/component/panels/extra/utilities/settingImperativeHandle.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js +61 -19
- package/lib/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ShiftOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/ShiftOptionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.d.ts +49 -0
- package/lib/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.d.ts.map +1 -0
- package/lib/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.js +2 -0
- package/lib/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.js.map +1 -0
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts +128 -48
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js +106 -41
- package/lib/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.js.map +1 -1
- package/lib/component/panels/header/DefaultPanelHeader.js +1 -3
- package/lib/component/panels/header/DefaultPanelHeader.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/AnalysisChart.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.d.ts +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js +2 -1
- package/lib/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.d.ts +3 -3
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.js +2 -2
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisCell.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.d.ts +4 -3
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.d.ts.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.js +2 -2
- package/lib/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionOptionsPanel.d.ts +2 -1
- package/lib/component/panels/predictionPanel/PredictionOptionsPanel.d.ts.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js +2 -3
- package/lib/component/panels/predictionPanel/PredictionOptionsPanel.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionPreferences.d.ts +2 -1
- package/lib/component/panels/predictionPanel/PredictionPreferences.d.ts.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionPreferences.js +2 -3
- package/lib/component/panels/predictionPanel/PredictionPreferences.js.map +1 -1
- package/lib/component/reducer/Reducer.d.ts.map +1 -1
- package/lib/component/reducer/Reducer.js +13 -8
- package/lib/component/reducer/Reducer.js.map +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.js +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.js.map +1 -1
- package/lib/component/reducer/actions/DatabaseActions.d.ts +8 -11
- package/lib/component/reducer/actions/DatabaseActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DatabaseActions.js +87 -51
- package/lib/component/reducer/actions/DatabaseActions.js.map +1 -1
- package/lib/component/reducer/actions/DomainActions.js.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.d.ts +4 -3
- package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.js +66 -68
- package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
- package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/InsetActions.js +8 -8
- package/lib/component/reducer/actions/InsetActions.js.map +1 -1
- package/lib/component/reducer/actions/LoadAction.d.ts.map +1 -1
- package/lib/component/reducer/actions/LoadAction.js +21 -2
- package/lib/component/reducer/actions/LoadAction.js.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.js +9 -6
- package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.js +1 -2
- package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.d.ts +1 -1
- package/lib/component/reducer/actions/RangesActions.d.ts +3 -3
- package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/RangesActions.js +6 -3
- package/lib/component/reducer/actions/RangesActions.js.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts +2 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.js +26 -15
- package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.d.ts +2 -14
- package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.js +5 -35
- package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
- package/lib/component/reducer/actions/unit_actions.d.ts +28 -0
- package/lib/component/reducer/actions/unit_actions.d.ts.map +1 -0
- package/lib/component/reducer/actions/unit_actions.js +58 -0
- package/lib/component/reducer/actions/unit_actions.js.map +1 -0
- package/lib/component/reducer/helper/Zoom1DManager.d.ts.map +1 -1
- package/lib/component/reducer/helper/Zoom1DManager.js +2 -2
- package/lib/component/reducer/helper/Zoom1DManager.js.map +1 -1
- package/lib/component/reducer/helper/ZoomHistoryManager.d.ts.map +1 -1
- package/lib/component/reducer/helper/ZoomHistoryManager.js +1 -2
- package/lib/component/reducer/helper/ZoomHistoryManager.js.map +1 -1
- package/lib/component/reducer/helper/removeSpectrumRelatedObjectsById.js +1 -1
- package/lib/component/reducer/helper/removeSpectrumRelatedObjectsById.js.map +1 -1
- package/lib/component/reducer/preferences/actions/addWorkspace.js.map +1 -1
- package/lib/component/reducer/preferences/actions/analyzeSpectra.js.map +1 -1
- package/lib/component/reducer/preferences/actions/setWorkspace.js.map +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js.map +1 -1
- package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.d.ts +3 -2
- package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.d.ts.map +1 -1
- package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.js +3 -2
- package/lib/component/reducer/preferences/utilities/getPreferencesByWorkspace.js.map +1 -1
- package/lib/component/utility/Evaluate.d.ts +1 -1
- package/lib/component/utility/Evaluate.d.ts.map +1 -1
- package/lib/component/utility/Evaluate.js.map +1 -1
- package/lib/component/utility/LocalStorage.d.ts +3 -3
- package/lib/component/utility/LocalStorage.d.ts.map +1 -1
- package/lib/component/utility/LocalStorage.js.map +1 -1
- package/lib/component/utility/convertPathArrayToString.d.ts +1 -1
- package/lib/component/utility/convertPathArrayToString.d.ts.map +1 -1
- package/lib/component/utility/convertPathArrayToString.js.map +1 -1
- package/lib/component/utility/export.d.ts +3 -3
- package/lib/component/utility/export.d.ts.map +1 -1
- package/lib/component/utility/export.js +5 -6
- package/lib/component/utility/export.js.map +1 -1
- package/lib/component/utility/merge_replace_array.d.ts +8 -0
- package/lib/component/utility/merge_replace_array.d.ts.map +1 -0
- package/lib/component/utility/merge_replace_array.js +14 -0
- package/lib/component/utility/merge_replace_array.js.map +1 -0
- package/lib/component/utility/nucleusToString.d.ts +1 -1
- package/lib/component/utility/nucleusToString.d.ts.map +1 -1
- package/lib/component/utility/nucleusToString.js.map +1 -1
- package/lib/component/utility/replaceNucleiObjectKeys.js.map +1 -1
- package/lib/component/utility/stackOverlappingLabels.d.ts +5 -0
- package/lib/component/utility/stackOverlappingLabels.d.ts.map +1 -1
- package/lib/component/utility/stackOverlappingLabels.js +18 -6
- package/lib/component/utility/stackOverlappingLabels.js.map +1 -1
- package/lib/component/workspaces/exercise.d.ts.map +1 -1
- package/lib/component/workspaces/exercise.js +8 -0
- package/lib/component/workspaces/exercise.js.map +1 -1
- package/lib/component/workspaces/index.d.ts +7 -7
- package/lib/component/workspaces/index.d.ts.map +1 -1
- package/lib/component/workspaces/index.js.map +1 -1
- package/lib/component/workspaces/prediction.d.ts.map +1 -1
- package/lib/component/workspaces/prediction.js +8 -0
- package/lib/component/workspaces/prediction.js.map +1 -1
- package/lib/component/workspaces/simulation.d.ts.map +1 -1
- package/lib/component/workspaces/simulation.js +8 -0
- package/lib/component/workspaces/simulation.js.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.d.ts +3 -1
- package/lib/component/workspaces/workspaceDefaultProperties.d.ts.map +1 -1
- package/lib/component/workspaces/workspaceDefaultProperties.js +53 -0
- package/lib/component/workspaces/workspaceDefaultProperties.js.map +1 -1
- package/lib/data/PredictionManager.d.ts.map +1 -1
- package/lib/data/PredictionManager.js +9 -2
- package/lib/data/PredictionManager.js.map +1 -1
- package/lib/data/SpectraManager.d.ts +1 -2
- package/lib/data/SpectraManager.d.ts.map +1 -1
- package/lib/data/SpectraManager.js +3 -36
- package/lib/data/SpectraManager.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/get1DColor.d.ts +2 -2
- package/lib/data/data1d/Spectrum1D/get1DColor.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/get1DColor.js +6 -7
- package/lib/data/data1d/Spectrum1D/get1DColor.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/get1DDataXY.d.ts +0 -5
- package/lib/data/data1d/Spectrum1D/get1DDataXY.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/get1DDataXY.js +0 -5
- package/lib/data/data1d/Spectrum1D/get1DDataXY.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/getReferenceShift.d.ts +4 -9
- package/lib/data/data1d/Spectrum1D/getReferenceShift.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/getReferenceShift.js +3 -9
- package/lib/data/data1d/Spectrum1D/getReferenceShift.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts +11 -2
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js +2 -2
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/optimizePeaks.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.d.ts +2 -2
- package/lib/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.js +2 -2
- package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts +4 -2
- package/lib/data/data1d/Spectrum1D/ranges/detectSignals.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignals.js +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignals.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.d.ts +7 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js +4 -2
- package/lib/data/data1d/Spectrum1D/ranges/resurrectSpectrum.js.map +1 -1
- package/lib/data/data1d/database.js.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts +7 -1
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.js +3 -3
- package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.d.ts +4 -3
- package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.js +8 -4
- package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/get2DColor.d.ts +2 -2
- package/lib/data/data2d/Spectrum2D/get2DColor.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/get2DColor.js +8 -9
- package/lib/data/data2d/Spectrum2D/get2DColor.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/getMissingProjection.js +2 -2
- package/lib/data/data2d/Spectrum2D/getMissingProjection.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/getSlice.d.ts +6 -4
- package/lib/data/data2d/Spectrum2D/getSlice.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/getSlice.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.js +1 -1
- package/lib/data/data2d/Spectrum2D/zones/changeZoneSignal.js.map +1 -1
- package/lib/data/molecules/Molecule.js +2 -2
- package/lib/data/molecules/Molecule.js.map +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.d.ts +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.d.ts.map +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.js +2 -2
- package/lib/data/parseMeta/linkMetaWithSpectra.js.map +1 -1
- package/lib/data/utilities/RangeUtilities.d.ts +0 -8
- package/lib/data/utilities/RangeUtilities.d.ts.map +1 -1
- package/lib/data/utilities/RangeUtilities.js.map +1 -1
- package/lib/data/utilities/checkModifierKeyActivated.d.ts +1 -1
- package/lib/data/utilities/checkModifierKeyActivated.d.ts.map +1 -1
- package/lib/data/utilities/checkModifierKeyActivated.js.map +1 -1
- package/lib/data/utilities/isNumber.d.ts +1 -1
- package/lib/data/utilities/isNumber.d.ts.map +1 -1
- package/lib/data/utilities/isNumber.js.map +1 -1
- package/lib/versionInfo.js +1 -1
- package/package.json +48 -48
- package/src/component/1d/BrushTracker1D.tsx +18 -12
- package/src/component/1d/FloatPublicationString.tsx +52 -34
- package/src/component/1d/HorizontalAxis1D.tsx +69 -0
- package/src/component/1d/Line.tsx +1 -1
- package/src/component/1d/LinesSeries.tsx +2 -17
- package/src/component/1d/SVGContent1D.tsx +2 -4
- package/src/component/1d/Viewer1D.tsx +2 -0
- package/src/component/1d/baseline/BaselinePreview.tsx +242 -0
- package/src/component/1d/baseline/getMedianWindow.ts +6 -0
- package/src/component/1d/baseline/getMedianY.ts +15 -0
- package/src/component/1d/database/DatabaseElements.tsx +9 -4
- package/src/component/1d/database/DatabaseSpectrum.tsx +8 -2
- package/src/component/1d/database/ResurrectedDatabaseRanges.tsx +8 -2
- package/src/component/1d/integral/IntegralsSeries.tsx +1 -1
- package/src/component/1d/jCouplingGraph/JGraphVerticalAxis.tsx +1 -1
- package/src/component/1d/multiplicityTree/MultiplicityTree.tsx +6 -5
- package/src/component/1d/peaks/PeakAnnotations.tsx +1 -1
- package/src/component/1d/peaks/PeakAnnotationsSpreadMode.tsx +3 -0
- package/src/component/1d/peaks/PeakEditionManager.tsx +2 -5
- package/src/component/1d/peaks/usePeakShapesPath.ts +1 -1
- package/src/component/1d/ranges/Range.tsx +3 -3
- package/src/component/1d/ranges/Ranges.tsx +2 -2
- package/src/component/1d/tool/BaseLine.tsx +1 -1
- package/src/component/1d/tool/PeakPointer.tsx +3 -1
- package/src/component/1d/utilities/scale.ts +20 -13
- package/src/component/1d-2d/FieldEdition.tsx +2 -2
- package/src/component/1d-2d/components/axis_unit_picker.tsx +53 -0
- package/src/component/1d-2d/tools/BrushXY.tsx +6 -6
- package/src/component/2d/1d-tracer/VerticalSliceChart.tsx +1 -1
- package/src/component/2d/1d-tracer/phase-correction-traces/SpectrumPhaseTrace.tsx +2 -2
- package/src/component/2d/DirectAxis2D.tsx +104 -0
- package/src/component/2d/IndirectAxis2D.tsx +139 -0
- package/src/component/2d/SVGContent2D.tsx +4 -4
- package/src/component/2d/fid/FidCanvas.tsx +2 -2
- package/src/component/2d/utilities/extractSpectrumSignals.ts +2 -2
- package/src/component/2d/utilities/scale.ts +26 -6
- package/src/component/2d/zones/Signal.tsx +8 -12
- package/src/component/2d/zones/SignalCrosshair.tsx +3 -2
- package/src/component/2d/zones/SignalsGuideLines.tsx +2 -2
- package/src/component/2d/zones/Zone.tsx +4 -4
- package/src/component/EventsTrackers/BrushTracker.tsx +15 -7
- package/src/component/EventsTrackers/KeysListenerTracker.tsx +115 -128
- package/src/component/EventsTrackers/MouseTracker.tsx +10 -14
- package/src/component/SVGTable.tsx +5 -5
- package/src/component/assignment/utilities/getAssignments.ts +1 -1
- package/src/component/context/DispatchContext.tsx +3 -1
- package/src/component/context/FilterSyncOptionsContext.tsx +62 -20
- package/src/component/context/ScaleContext.tsx +17 -15
- package/src/component/context/SortSpectraContext.tsx +1 -1
- package/src/component/elements/ActionsButtonsPopover.tsx +3 -4
- package/src/component/elements/Alert.tsx +2 -2
- package/src/component/elements/Anchor.tsx +361 -0
- package/src/component/elements/Button.tsx +2 -1
- package/src/component/elements/ColumnWrapper.tsx +3 -1
- package/src/component/elements/ContextMenuBluePrint.tsx +2 -2
- package/src/component/elements/D3Axis.tsx +118 -47
- package/src/component/elements/DialogManager.tsx +1 -1
- package/src/component/elements/DraggableDialog.tsx +3 -3
- package/src/component/elements/EditableColumn.tsx +22 -16
- package/src/component/elements/Input.tsx +3 -2
- package/src/component/elements/InputRange.tsx +3 -3
- package/src/component/elements/Label.tsx +1 -1
- package/src/component/elements/MoleculeSelection.tsx +1 -1
- package/src/component/elements/NumberInput2.tsx +2 -2
- package/src/component/elements/NumberInput2Controller.tsx +1 -1
- package/src/component/elements/NumberInputField.tsx +23 -0
- package/src/component/elements/ReactTable/Elements/EmptyDataRow.tsx +8 -3
- package/src/component/elements/ReactTable/Elements/ReactTableRow.tsx +23 -11
- package/src/component/elements/ReactTable/ReactTable.tsx +44 -14
- package/src/component/elements/ReactTable/utility/addCustomColumn.tsx +2 -2
- package/src/component/elements/ReadOnly.tsx +3 -3
- package/src/component/elements/Sections.tsx +2 -2
- package/src/component/elements/Tab/DeleteButton.tsx +2 -2
- package/src/component/elements/TabTitle.tsx +2 -2
- package/src/component/elements/dropDownButton/DropDownButton.tsx +1 -1
- package/src/component/elements/export/ExportContent.tsx +12 -32
- package/src/component/elements/export/ExportOptionsModal.tsx +1 -1
- package/src/component/elements/export/units.ts +1 -1
- package/src/component/elements/export/useExportConfigurer.tsx +1 -1
- package/src/component/elements/resizer/SVGResizer.tsx +3 -3
- package/src/component/header/Header.tsx +2 -2
- package/src/component/header/SimpleBaseLineCorrectionOptionsPanel.tsx +144 -84
- package/src/component/highlight/index.tsx +57 -38
- package/src/component/hooks/use2DReducer.tsx +2 -2
- package/src/component/hooks/useCheckToolsVisibility.ts +1 -1
- package/src/component/hooks/useCombinedRefs.ts +1 -0
- package/src/component/hooks/useFilter.ts +1 -2
- package/src/component/hooks/useSVGUnitConverter.ts +1 -1
- package/src/component/hooks/useSaveSettings.tsx +8 -5
- package/src/component/hooks/useTableSortBy.tsx +12 -8
- package/src/component/hooks/useTriggerNewAssignmentLabel.ts +1 -1
- package/src/component/hooks/use_axis_unit.ts +329 -0
- package/src/component/hooks/use_gridlines_config.ts +18 -0
- package/src/component/hooks/use_ticks_config.ts +15 -0
- package/src/component/hooks/use_visible_spectra_1d.ts +21 -0
- package/src/component/loader/useLoadFiles.ts +24 -18
- package/src/component/main/InnerNMRium.tsx +3 -2
- package/src/component/main/NMRiumRefAPI.ts +4 -0
- package/src/component/main/NMRiumStateProvider.tsx +13 -3
- package/src/component/main/NMRiumViewer.tsx +1 -1
- package/src/component/modal/MultipletAnalysisModal.tsx +2 -2
- package/src/component/modal/PublicationStringModal.tsx +10 -1
- package/src/component/modal/SaveAsModal.tsx +1 -1
- package/src/component/modal/changeSum/SelectMolecule.tsx +1 -1
- package/src/component/modal/editRange/forms/components/NewSignalTab.tsx +3 -2
- package/src/component/modal/editRange/forms/components/SignalsContent.tsx +3 -3
- package/src/component/modal/editRange/forms/components/signal-tabs/SignalJCouplingsTable.tsx +4 -4
- package/src/component/modal/editRange/forms/components/signal-tabs/SignalPeaksTable.tsx +7 -3
- package/src/component/modal/metaImportation/MetaImportationModal.tsx +2 -2
- package/src/component/modal/metaImportation/utils/mapColumnToSelectItems.ts +1 -1
- package/src/component/modal/setting/WorkspaceItem.tsx +7 -7
- package/src/component/modal/setting/general_settings.tsx +12 -503
- package/src/component/modal/setting/tanstack_general_settings/errors/context.tsx +94 -0
- package/src/component/modal/setting/tanstack_general_settings/errors/renderer.tsx +56 -0
- package/src/component/modal/setting/tanstack_general_settings/general_settings.tsx +37 -30
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_body.tsx +11 -1
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_footer.tsx +15 -20
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_header.tsx +41 -82
- package/src/component/modal/setting/tanstack_general_settings/hooks/use_safe_workspace.ts +3 -9
- package/src/component/modal/setting/tanstack_general_settings/tabs/auto_processing_tab.tsx +36 -42
- package/src/component/modal/setting/tanstack_general_settings/tabs/axis_tab.tsx +116 -0
- package/src/component/modal/setting/tanstack_general_settings/tabs/database_tab.tsx +10 -33
- package/src/component/modal/setting/tanstack_general_settings/tabs/external_api_tab.tsx +7 -34
- package/src/component/modal/setting/tanstack_general_settings/tabs/general_tab.tsx +9 -3
- package/src/component/modal/setting/tanstack_general_settings/tabs/nuclei_tab.tsx +10 -50
- package/src/component/modal/setting/tanstack_general_settings/tabs/spectra_colors_tab.tsx +15 -69
- package/src/component/modal/setting/tanstack_general_settings/tabs/title_block_tab.tsx +11 -41
- package/src/component/modal/setting/tanstack_general_settings/ui/cell_actions.tsx +18 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/cell_checkbox.tsx +45 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/cell_color_picker.tsx +42 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/cell_input.tsx +127 -0
- package/src/component/modal/setting/tanstack_general_settings/ui/table.tsx +3 -95
- package/src/component/modal/setting/tanstack_general_settings/validation/auto_processing_tab_validation.ts +2 -54
- package/src/component/modal/setting/tanstack_general_settings/validation/axis_tab_validation.ts +24 -0
- package/src/component/modal/setting/tanstack_general_settings/validation/general_tab_validation.ts +4 -0
- package/src/component/modal/setting/tanstack_general_settings/validation.ts +3 -2
- package/src/component/modal/setting/tanstack_general_settings/workspaces/actions.tsx +173 -0
- package/src/component/modal/setting/tanstack_general_settings/workspaces/picker.tsx +91 -0
- package/src/component/modal/setting/tanstack_general_settings/workspaces/props.ts +8 -0
- package/src/component/panels/AutomaticAssignment/AutomaticAssignmentTable.tsx +4 -3
- package/src/component/panels/IntegralsPanel/IntegralTable.tsx +11 -10
- package/src/component/panels/IntegralsPanel/IntegralsPreferences.tsx +63 -60
- package/src/component/panels/MatrixGenerationPanel/MatrixGenerationPanelHeader.tsx +6 -1
- package/src/component/panels/MoleculesPanel/MoleculeHeader.tsx +7 -6
- package/src/component/panels/MoleculesPanel/MoleculePanel.tsx +1 -0
- package/src/component/panels/MoleculesPanel/MoleculeStructure.tsx +10 -5
- package/src/component/panels/MoleculesPanel/hooks/useAtomAssignment.tsx +38 -33
- package/src/component/panels/MoleculesPanel/utilities/extractFromAtom.ts +3 -3
- package/src/component/panels/Panels.tsx +2 -1
- package/src/component/panels/PanelsBar.tsx +4 -3
- package/src/component/panels/PeaksPanel/PeaksPreferences.tsx +34 -33
- package/src/component/panels/PeaksPanel/PeaksTable.tsx +9 -8
- package/src/component/panels/RangesPanel/RangesPanel.tsx +19 -16
- package/src/component/panels/RangesPanel/RangesPreferences.tsx +47 -46
- package/src/component/panels/RangesPanel/RangesTable.tsx +5 -5
- package/src/component/panels/RangesPanel/RangesTableRow.tsx +19 -15
- package/src/component/panels/RangesPanel/TableColumns/RelativeColumn.tsx +4 -10
- package/src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx +9 -9
- package/src/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.tsx +8 -11
- package/src/component/panels/RangesPanel/hooks/useMapRanges.ts +16 -7
- package/src/component/panels/SpectraPanel/SpectraTable.tsx +2 -2
- package/src/component/panels/SpectraPanel/base/RenderAsHTML.tsx +7 -10
- package/src/component/panels/SpectraPanel/base/setting/Spectrum1DSetting.tsx +3 -6
- package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +4 -7
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.tsx +5 -4
- package/src/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.tsx +3 -2
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTable.tsx +4 -11
- package/src/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.tsx +32 -27
- package/src/component/panels/SummaryPanel/SetMolecularFormulaModal.tsx +15 -7
- package/src/component/panels/SummaryPanel/SummaryPanel.tsx +1 -1
- package/src/component/panels/SummaryPanel/utilities/Utilities.ts +1 -1
- package/src/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.tsx +4 -7
- package/src/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.tsx +6 -9
- package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentLabelColumn.tsx +6 -5
- package/src/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.tsx +5 -1
- package/src/component/panels/ZonesPanel/ZonesPreferences.tsx +57 -57
- package/src/component/panels/ZonesPanel/ZonesTableRow.tsx +11 -12
- package/src/component/panels/databasePanel/DatabasePanel.tsx +72 -66
- package/src/component/panels/databasePanel/DatabasePreferences.tsx +114 -113
- package/src/component/panels/databasePanel/DatabaseTable.tsx +34 -3
- package/src/component/panels/extra/utilities/MultiplicityUtilities.ts +9 -6
- package/src/component/panels/extra/utilities/settingImperativeHandle.ts +3 -3
- package/src/component/panels/filtersPanel/Filters/BaseLineCorrectionOptionsPanel.tsx +328 -81
- package/src/component/panels/filtersPanel/Filters/ExclusionZonesOptionsPanel.tsx +4 -3
- package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +4 -6
- package/src/component/panels/filtersPanel/Filters/PhaseCorrectionOptionsPanel.tsx +3 -3
- package/src/component/panels/filtersPanel/Filters/PhaseCorrectionTwoDimensionsOptionsPanel.tsx +3 -3
- package/src/component/panels/filtersPanel/Filters/ShiftOptionsPanel.tsx +3 -2
- package/src/component/panels/filtersPanel/Filters/base/BaseApodizationOptions.tsx +4 -4
- package/src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx +3 -2
- package/src/component/panels/filtersPanel/Filters/base/baselineCorrectionFields.ts +55 -0
- package/src/component/panels/filtersPanel/Filters/hooks/useBaselineCorrection.tsx +148 -69
- package/src/component/panels/multipleAnalysisPanel/AnalysisChart.tsx +2 -1
- package/src/component/panels/multipleAnalysisPanel/MultipleSpectraAnalysisTable.tsx +18 -12
- package/src/component/panels/multipleAnalysisPanel/base/AnalysisCell.tsx +3 -4
- package/src/component/panels/multipleAnalysisPanel/base/AnalysisColumnHeader.tsx +5 -10
- package/src/component/panels/multipleAnalysisPanel/preferences/MultipleAnalysisCodeEditor.tsx +1 -1
- package/src/component/panels/predictionPanel/PredictionOptionsPanel.tsx +138 -109
- package/src/component/panels/predictionPanel/PredictionPreferences.tsx +34 -34
- package/src/component/reducer/Reducer.ts +22 -10
- package/src/component/reducer/actions/CorrelationsActions.ts +1 -1
- package/src/component/reducer/actions/DatabaseActions.ts +131 -81
- package/src/component/reducer/actions/DomainActions.ts +4 -4
- package/src/component/reducer/actions/FiltersActions.ts +85 -96
- package/src/component/reducer/actions/InsetActions.ts +8 -5
- package/src/component/reducer/actions/LoadAction.ts +25 -1
- package/src/component/reducer/actions/MoleculeActions.ts +9 -6
- package/src/component/reducer/actions/PeaksActions.ts +1 -1
- package/src/component/reducer/actions/PreferencesActions.ts +1 -1
- package/src/component/reducer/actions/RangesActions.ts +9 -6
- package/src/component/reducer/actions/SpectraActions.ts +42 -16
- package/src/component/reducer/actions/ToolsActions.ts +4 -74
- package/src/component/reducer/actions/unit_actions.ts +138 -0
- package/src/component/reducer/helper/Zoom1DManager.ts +2 -1
- package/src/component/reducer/helper/ZoomHistoryManager.ts +1 -2
- package/src/component/reducer/helper/removeSpectrumRelatedObjectsById.ts +1 -1
- package/src/component/reducer/preferences/actions/addWorkspace.ts +1 -1
- package/src/component/reducer/preferences/actions/analyzeSpectra.ts +1 -1
- package/src/component/reducer/preferences/actions/setWorkspace.ts +1 -1
- package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +1 -1
- package/src/component/reducer/preferences/utilities/getPreferencesByWorkspace.ts +8 -8
- package/src/component/utility/Evaluate.ts +1 -1
- package/src/component/utility/LocalStorage.ts +6 -3
- package/src/component/utility/convertPathArrayToString.ts +1 -1
- package/src/component/utility/export.ts +13 -12
- package/src/component/utility/merge_replace_array.ts +12 -0
- package/src/component/utility/nucleusToString.ts +1 -1
- package/src/component/utility/replaceNucleiObjectKeys.ts +1 -1
- package/src/component/utility/stackOverlappingLabels.ts +27 -9
- package/src/component/workspaces/exercise.ts +8 -0
- package/src/component/workspaces/index.ts +1 -1
- package/src/component/workspaces/prediction.ts +8 -0
- package/src/component/workspaces/simulation.ts +8 -0
- package/src/component/workspaces/workspaceDefaultProperties.ts +64 -14
- package/src/data/PredictionManager.ts +29 -7
- package/src/data/SpectraManager.ts +3 -44
- package/src/data/data1d/Spectrum1D/get1DColor.ts +12 -14
- package/src/data/data1d/Spectrum1D/get1DDataXY.ts +0 -7
- package/src/data/data1d/Spectrum1D/getReferenceShift.ts +5 -10
- package/src/data/data1d/Spectrum1D/peaks/autoPeakPicking.ts +17 -6
- package/src/data/data1d/Spectrum1D/peaks/optimizePeaks.ts +3 -7
- package/src/data/data1d/Spectrum1D/ranges/changeRangeRelativeValue.ts +2 -2
- package/src/data/data1d/Spectrum1D/ranges/detectSignals.ts +11 -8
- package/src/data/data1d/Spectrum1D/ranges/detectSignalsByMultipletAnalysis.ts +9 -3
- package/src/data/data1d/Spectrum1D/ranges/resurrectSpectrum.ts +4 -0
- package/src/data/data1d/database.ts +1 -1
- package/src/data/data1d/multipleSpectraAnalysis.ts +20 -7
- package/src/data/data2d/Spectrum2D/contours.ts +14 -9
- package/src/data/data2d/Spectrum2D/get2DColor.ts +10 -15
- package/src/data/data2d/Spectrum2D/getMissingProjection.ts +2 -2
- package/src/data/data2d/Spectrum2D/getSlice.ts +6 -5
- package/src/data/data2d/Spectrum2D/initiateDatum2D.ts +1 -1
- package/src/data/data2d/Spectrum2D/zones/changeZoneSignal.ts +2 -2
- package/src/data/molecules/Molecule.ts +2 -2
- package/src/data/parseMeta/linkMetaWithSpectra.ts +4 -4
- package/src/data/utilities/RangeUtilities.ts +1 -9
- package/src/data/utilities/checkModifierKeyActivated.ts +1 -1
- package/src/data/utilities/isNumber.ts +1 -1
- package/src/versionInfo.ts +1 -1
- package/lib/component/1d/XAxis1D.d.ts +0 -6
- package/lib/component/1d/XAxis1D.d.ts.map +0 -1
- package/lib/component/1d/XAxis1D.js +0 -24
- package/lib/component/1d/XAxis1D.js.map +0 -1
- package/lib/component/1d/tool/BaseLineZones.d.ts +0 -3
- package/lib/component/1d/tool/BaseLineZones.d.ts.map +0 -1
- package/lib/component/1d/tool/BaseLineZones.js +0 -41
- package/lib/component/1d/tool/BaseLineZones.js.map +0 -1
- package/lib/component/2d/XAxis.d.ts.map +0 -1
- package/lib/component/2d/XAxis.js +0 -22
- package/lib/component/2d/XAxis.js.map +0 -1
- package/lib/component/2d/YAxis.d.ts +0 -12
- package/lib/component/2d/YAxis.d.ts.map +0 -1
- package/lib/component/2d/YAxis.js +0 -27
- package/lib/component/2d/YAxis.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.d.ts +0 -9
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js +0 -118
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.d.ts +0 -3
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js +0 -153
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ExportTabContent.d.ts +0 -2
- package/lib/component/modal/setting/settings-tabs/ExportTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ExportTabContent.js +0 -73
- package/lib/component/modal/setting/settings-tabs/ExportTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.d.ts +0 -2
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js +0 -89
- package/lib/component/modal/setting/settings-tabs/ExternalAPIsTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/GeneralTabContent.d.ts +0 -3
- package/lib/component/modal/setting/settings-tabs/GeneralTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js +0 -46
- package/lib/component/modal/setting/settings-tabs/GeneralTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.d.ts +0 -3
- package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.js +0 -103
- package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.d.ts +0 -3
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js +0 -99
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.d.ts +0 -2
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js +0 -106
- package/lib/component/modal/setting/settings-tabs/NucleiTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.d.ts +0 -3
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js +0 -52
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.d.ts +0 -3
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js +0 -138
- package/lib/component/modal/setting/settings-tabs/SpectraColorsTabContent.js.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.d.ts +0 -2
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.d.ts.map +0 -1
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.js +0 -149
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.js.map +0 -1
- package/lib/component/modal/setting/settingsValidation.d.ts +0 -2
- package/lib/component/modal/setting/settingsValidation.d.ts.map +0 -1
- package/lib/component/modal/setting/settingsValidation.js +0 -70
- package/lib/component/modal/setting/settingsValidation.js.map +0 -1
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.js +0 -110
- package/lib/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.js.map +0 -1
- package/lib/data/types/common/Keys.d.ts +0 -4
- package/lib/data/types/common/Keys.d.ts.map +0 -1
- package/lib/data/types/common/Keys.js +0 -2
- package/lib/data/types/common/Keys.js.map +0 -1
- package/src/component/1d/XAxis1D.tsx +0 -54
- package/src/component/1d/tool/BaseLineZones.tsx +0 -83
- package/src/component/2d/XAxis.tsx +0 -58
- package/src/component/2d/YAxis.tsx +0 -79
- package/src/component/modal/setting/settings-tabs/DatabasesTabContent.tsx +0 -278
- package/src/component/modal/setting/settings-tabs/DisplayTabContent.tsx +0 -221
- package/src/component/modal/setting/settings-tabs/ExportTabContent.tsx +0 -252
- package/src/component/modal/setting/settings-tabs/ExternalAPIsTabContent.tsx +0 -193
- package/src/component/modal/setting/settings-tabs/GeneralTabContent.tsx +0 -152
- package/src/component/modal/setting/settings-tabs/ImportationFiltersTabContent.tsx +0 -173
- package/src/component/modal/setting/settings-tabs/InfoBlockTabContent.tsx +0 -224
- package/src/component/modal/setting/settings-tabs/NucleiTabContent.tsx +0 -230
- package/src/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.tsx +0 -113
- package/src/component/modal/setting/settings-tabs/SpectraColorsTabContent.tsx +0 -308
- package/src/component/modal/setting/settings-tabs/ToolsTabContent.tsx +0 -181
- package/src/component/modal/setting/settingsValidation.ts +0 -92
- package/src/component/modal/setting/tanstack_general_settings/general_settings_dialog_header_actions_buttons.tsx +0 -199
- package/src/data/types/common/Keys.ts +0 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PeaksPreferences.js","sourceRoot":"","sources":["../../../../src/component/panels/PeaksPanel/PeaksPreferences.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAChF,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;
|
|
1
|
+
{"version":3,"file":"PeaksPreferences.js","sourceRoot":"","sources":["../../../../src/component/panels/PeaksPanel/PeaksPreferences.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,UAAU,MAAM,2BAA2B,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mB,CACxB,CAAC;AACJ,CAAC,CAAC,CACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PeaksTable.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/PeaksPanel/PeaksTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAU,MAAM,qBAAqB,CAAC;AAmB1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,UAAU,eAAe;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CACd;AAMD,iBAAS,UAAU,CAAC,KAAK,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"PeaksTable.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/PeaksPanel/PeaksTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAU,MAAM,qBAAqB,CAAC;AAmB1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,UAAU,eAAe;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CACd;AAMD,iBAAS,UAAU,CAAC,KAAK,EAAE,eAAe,2CAqMzC;;AAED,wBAAgC"}
|
|
@@ -29,8 +29,8 @@ function PeaksTable(props) {
|
|
|
29
29
|
const editPeakHandler = useCallback((row) => {
|
|
30
30
|
setEditedPeak(row.original);
|
|
31
31
|
}, []);
|
|
32
|
-
const saveDeltaPPMRefsHandler = useCallback((
|
|
33
|
-
const shift = Number
|
|
32
|
+
const saveDeltaPPMRefsHandler = useCallback((value, peak) => {
|
|
33
|
+
const shift = Number(value) - peak.x;
|
|
34
34
|
dispatch({ type: 'SHIFT_SPECTRUM', payload: { shift } });
|
|
35
35
|
}, [dispatch]);
|
|
36
36
|
const COLUMNS = useMemo(() => [
|
|
@@ -46,7 +46,7 @@ function PeaksTable(props) {
|
|
|
46
46
|
index: 3,
|
|
47
47
|
Header: 'δ (ppm)',
|
|
48
48
|
accessor: 'x',
|
|
49
|
-
Cell: ({ row }) => (_jsx(EditableColumn, { value: formatNumber(row.original.x, peaksPreferences.deltaPPM.format), onSave: (
|
|
49
|
+
Cell: ({ row }) => (_jsx(EditableColumn, { value: formatNumber(row.original.x, peaksPreferences.deltaPPM.format), onSave: (value) => saveDeltaPPMRefsHandler(value, row.original), type: "number", validate: (val) => val !== '' })),
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
showWhen: 'deltaHz.show',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PeaksTable.js","sourceRoot":"","sources":["../../../../src/component/panels/PeaksPanel/PeaksTable.tsx"],"names":[],"mappings":";AACA,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGvD,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,UAAU,MAAM,yCAAyC,CAAC;AAEjE,OAAO,eAAe,EAAE,EACtB,kBAAkB,GACnB,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAUpE,SAAS,eAAe,CAAC,
|
|
1
|
+
{"version":3,"file":"PeaksTable.js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OAAO,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;QAClE,OAAO,OAAO,CAAC;IACjB,CAAC,EAAE,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAC,CAAC;IAEhC,IAAI,IAAI,EAAE,KAAK,EAAE,CAAC;QAChB,OAAO,KAAC,YAAY,KAAG,CAAC;IAC1B,CAAC;IAED,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtB,OAAO,KAAC,SAAS,IAAC,IAAI,EAAC,SAAS,GAAG,CAAC;IACtC,CAAC;IAED,OAAO,CACL,8BACE,KAAC,kBAAkB,IACjB,IAAI,EAAE,IAAI,EACV,aAAa,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,SAAS,CAAC,GAC7C,EACF,KAAC,UAAU,IACT,SAAS,EAAE,eAAe,EAC1B,QAAQ,EAAE,EAAE,SAAS,EAAE,EAAE,eAAe,EAAE,SAAS,EAAE,EAAE,EACvD,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,YAAY,EACrB,gBAAgB,EAAE,EAAE,EACpB,mBAAmB,SACnB,IACD,CACJ,CAAC;AACJ,CAAC;AAED,eAAe,IAAI,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
+
import type { Range } from '@zakodium/nmr-types';
|
|
2
|
+
export interface RangesTableDataMetaInfo {
|
|
3
|
+
isConstantlyHighlighted: boolean;
|
|
4
|
+
}
|
|
5
|
+
export interface RangesTableDataRow extends Range {
|
|
6
|
+
tableMetaInfo: RangesTableDataMetaInfo;
|
|
7
|
+
}
|
|
1
8
|
export default function RangesPanel(): import("react/jsx-runtime").JSX.Element;
|
|
2
9
|
//# sourceMappingURL=RangesPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangesPanel.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/RangesPanel/RangesPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RangesPanel.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/RangesPanel/RangesPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,KAAK,EAAU,MAAM,qBAAqB,CAAC;AA0CjE,MAAM,WAAW,uBAAuB;IACtC,uBAAuB,EAAE,OAAO,CAAC;CAClC;AAED,MAAM,WAAW,kBAAmB,SAAQ,KAAK;IAC/C,aAAa,EAAE,uBAAuB,CAAC;CACxC;AAmJD,MAAM,CAAC,OAAO,UAAU,WAAW,4CA2BlC"}
|
|
@@ -20,12 +20,13 @@ const rangesContextMenuOptions = [
|
|
|
20
20
|
icon: _jsx(FaCopy, {}),
|
|
21
21
|
},
|
|
22
22
|
];
|
|
23
|
-
function RangesTablePanelInner(
|
|
23
|
+
function RangesTablePanelInner(props) {
|
|
24
|
+
const { ranges, data, info, xDomain, preferences, activeTab } = props;
|
|
24
25
|
const [isFilterActive, setFilterIsActive] = useState(false);
|
|
25
26
|
const dispatch = useDispatch();
|
|
26
27
|
const toaster = useToaster();
|
|
27
28
|
const [isFlipped, setFlipStatus] = useState(false);
|
|
28
|
-
const
|
|
29
|
+
const settingsRef = useRef(null);
|
|
29
30
|
const rangesData = useMemo(() => {
|
|
30
31
|
const isInView = (from, to) => {
|
|
31
32
|
const factor = 10000;
|
|
@@ -87,11 +88,11 @@ function RangesTablePanelInner({ ranges, data, info, xDomain, preferences, activ
|
|
|
87
88
|
const settingsPanelHandler = useCallback(() => {
|
|
88
89
|
setFlipStatus(!isFlipped);
|
|
89
90
|
}, [isFlipped]);
|
|
90
|
-
const saveSettingHandler = useCallback(() => {
|
|
91
|
-
|
|
91
|
+
const saveSettingHandler = useCallback(async () => {
|
|
92
|
+
await settingsRef.current?.saveSetting();
|
|
92
93
|
setFlipStatus(false);
|
|
93
94
|
}, []);
|
|
94
|
-
return (_jsxs(TablePanel, { isFlipped: isFlipped, children: [!isFlipped && (_jsx(RangesHeader, { ranges: ranges, info: info, isFilterActive: isFilterActive, onUnlink: unlinkRangeHandler, onFilterActivated: filterHandler, onSettingClick: settingsPanelHandler, filterCounter: rangesData.length })), isFlipped && (_jsx(PreferencesHeader, { onSave: saveSettingHandler, onClose: settingsPanelHandler })), _jsx("div", { className: "inner-container", children: !isFlipped ? (_jsx("div", { className: "table-container", children: _jsx(RangesTable, { activeTab: activeTab, tableData: rangesData, contextMenu: rangesContextMenuOptions, onContextMenuSelect: contextMenuSelectHandler, preferences: preferences, info: info }) })) : (_jsx(RangesPreferences, { ref:
|
|
95
|
+
return (_jsxs(TablePanel, { isFlipped: isFlipped, children: [!isFlipped && (_jsx(RangesHeader, { ranges: ranges, info: info, isFilterActive: isFilterActive, onUnlink: unlinkRangeHandler, onFilterActivated: filterHandler, onSettingClick: settingsPanelHandler, filterCounter: rangesData.length })), isFlipped && (_jsx(PreferencesHeader, { onSave: saveSettingHandler, onClose: settingsPanelHandler })), _jsx("div", { className: "inner-container", children: !isFlipped ? (_jsx("div", { className: "table-container", children: _jsx(RangesTable, { activeTab: activeTab, tableData: rangesData, contextMenu: rangesContextMenuOptions, onContextMenuSelect: contextMenuSelectHandler, preferences: preferences, info: info }) })) : (_jsx(RangesPreferences, { ref: settingsRef })) }), _jsx(ClipboardFallbackModal, { mode: shouldFallback, onDismiss: cleanShouldFallback, text: text, label: "Range" })] }));
|
|
95
96
|
}
|
|
96
97
|
const MemoizedRangesTablePanel = memo(RangesTablePanelInner);
|
|
97
98
|
const emptyData = { ranges: {}, data: {}, info: {} };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangesPanel.js","sourceRoot":"","sources":["../../../../src/component/panels/RangesPanel/RangesPanel.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAg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EACZ,OAAO,EACP,IAAI,EAAE,EACJ,OAAO,EAAE,EAAE,SAAS,EAAE,GACvB,EACD,WAAW,EAAE,EAAE,YAAY,EAAE,GAC9B,GAAG,YAAY,EAAE,CAAC;IAEnB,MAAM,iBAAiB,GAAG,mBAAmB,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;IAEnE,OAAO,CACL,KAAC,wBAAwB,IAErB,MAAM;QACN,IAAI;QACJ,IAAI;QACJ,YAAY;QACZ,YAAY;QACZ,WAAW,EAAE,iBAAiB;QAC9B,OAAO;QACP,SAAS,GAEX,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import type { SettingsRef } from '../extra/utilities/settingImperativeHandle.js';
|
|
2
|
+
declare const _default: import("react").ForwardRefExoticComponent<import("react").RefAttributes<SettingsRef | null>>;
|
|
2
3
|
export default _default;
|
|
3
4
|
//# sourceMappingURL=RangesPreferences.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangesPreferences.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/RangesPanel/RangesPreferences.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RangesPreferences.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/RangesPanel/RangesPreferences.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;;AAgGjF,wBAkDE"}
|
|
@@ -103,7 +103,7 @@ const formatFields = [
|
|
|
103
103
|
hideFormatField: true,
|
|
104
104
|
},
|
|
105
105
|
];
|
|
106
|
-
function RangesPreferences(
|
|
106
|
+
export default forwardRef(function RangesPreferences(_, ref) {
|
|
107
107
|
const preferences = usePreferences();
|
|
108
108
|
const nucleus = useNucleus();
|
|
109
109
|
const nuclei = useMemo(() => getUniqueNuclei(nucleus), [nucleus]);
|
|
@@ -122,6 +122,5 @@ function RangesPreferences(props, ref) {
|
|
|
122
122
|
reset(preferencesByNuclei);
|
|
123
123
|
}, [preferencesByNuclei, reset]);
|
|
124
124
|
return (_jsx(PreferencesContainer, { children: nuclei?.map((n) => (_jsx(NucleusPreferences, { control: control, nucleus: n, fields: formatFields, renderBottom: () => (_jsx(Label, { title: "J graph tolerance (Hz):", style: fieldLabelStyle, children: _jsxs("div", { style: { display: 'flex' }, children: [_jsx("div", { style: { width: '23px' } }), _jsx(NumberInput2Controller, { control: control, name: `nuclei.${n}.jGraphTolerance`, min: 0, controllerProps: { rules: { required: true, min: 0 } } })] }) })) }, n))) }));
|
|
125
|
-
}
|
|
126
|
-
export default forwardRef(RangesPreferences);
|
|
125
|
+
});
|
|
127
126
|
//# sourceMappingURL=RangesPreferences.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangesPreferences.js","sourceRoot":"","sources":["../../../../src/component/panels/RangesPanel/RangesPreferences.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,KAAK,MAAM,yBAAyB,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAChF,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;
|
|
1
|
+
{"version":3,"file":"RangesPreferences.js","sourceRoot":"","sources":["../../../../src/component/panels/RangesPanel/RangesPreferences.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,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,GACtD,IACE,GACA,CACT,IAhBI,CAAC,CAiBN,CACH,CAAC,GACmB,CACxB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { Info1D } from '@zakodium/nmr-types';
|
|
2
2
|
import type { WorkSpacePanelPreferences } from '@zakodium/nmrium-core';
|
|
3
3
|
import type { TableContextMenuProps } from '../../elements/ReactTable/ReactTable.js';
|
|
4
|
+
import type { RangesTableDataRow } from './RangesPanel.js';
|
|
4
5
|
interface RangesTableProps extends TableContextMenuProps {
|
|
5
6
|
preferences: WorkSpacePanelPreferences['ranges'];
|
|
6
|
-
tableData:
|
|
7
|
+
tableData: RangesTableDataRow[];
|
|
7
8
|
activeTab: string;
|
|
8
9
|
info: Info1D;
|
|
9
10
|
}
|
|
10
|
-
|
|
11
|
-
export
|
|
11
|
+
export default function RangesTable(props: RangesTableProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
12
13
|
//# sourceMappingURL=RangesTable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangesTable.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/RangesPanel/RangesTable.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAKvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"RangesTable.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/RangesPanel/RangesTable.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAKvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAMrF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAiD3D,UAAU,gBAAiB,SAAQ,qBAAqB;IACtD,WAAW,EAAE,yBAAyB,CAAC,QAAQ,CAAC,CAAC;IACjD,SAAS,EAAE,kBAAkB,EAAE,CAAC;IAChC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACd;AAID,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CA0F1D"}
|
|
@@ -54,7 +54,7 @@ const Table = styled.table `
|
|
|
54
54
|
}
|
|
55
55
|
`;
|
|
56
56
|
const EditRangeDialog = withDialog(EditRangeModal, { force: true });
|
|
57
|
-
function RangesTable(props) {
|
|
57
|
+
export default function RangesTable(props) {
|
|
58
58
|
const { tableData, contextMenu = [], onContextMenuSelect, activeTab, preferences, info, } = props;
|
|
59
59
|
const element = extractChemicalElement(activeTab);
|
|
60
60
|
const { items: sortedData, isSortedDesc, onSort } = useTableSortBy(tableData);
|
|
@@ -68,9 +68,8 @@ function RangesTable(props) {
|
|
|
68
68
|
const showActions = preferences.showDeleteAction ||
|
|
69
69
|
preferences.showEditAction ||
|
|
70
70
|
preferences.showZoomAction;
|
|
71
|
-
return (_jsxs(_Fragment, { children: [_jsx(EditRangeDialog, {}), _jsxs(Table, { children: [_jsx("thead", { children: _jsxs("tr", { children: [preferences.showSerialNumber && _jsx("th", { children: "#" }), preferences.showAssignmentLabel && (_jsx("th", { title: "Assignment", children: "Assignment" })), preferences.from.show && (_jsxs("th", { id: "from", ...onSort, children: ["From", isSortedDesc('from').content] })), preferences.to.show && (_jsxs("th", { id: "to", ...onSort, children: ["To ", isSortedDesc('to').content] })), preferences.deltaPPM.show && (_jsxs("th", { id: "from", ...onSort, children: ["\u03B4 (ppm) ", isSortedDesc('from').content] })), preferences.deltaHz.show && _jsx("th", { children: "\u03B4 (Hz) " }), preferences.relative.show && (_jsxs("th", { id: "integration", ...onSort, children: ["Rel. ", element, " ", isSortedDesc('integration').content] })), preferences.absolute.show && _jsx("th", { children: "Absolute" }), preferences.showMultiplicity && _jsx("th", { children: "Mult." }), preferences.coupling.show && _jsx("th", { children: "J (Hz)" }), preferences.showAssignment && (_jsx("th", { title: "Assign multiplets", children: _jsx(FaLink, { style: { fontSize: 10, margin: 'auto' } }) })), preferences.showKind && _jsx("th", { children: "Kind" }), showActions && _jsx("th", { children: '' })] }) }), _jsx("tbody", { children: data
|
|
71
|
+
return (_jsxs(_Fragment, { children: [_jsx(EditRangeDialog, {}), _jsxs(Table, { children: [_jsx("thead", { children: _jsxs("tr", { children: [preferences.showSerialNumber && _jsx("th", { children: "#" }), preferences.showAssignmentLabel && (_jsx("th", { title: "Assignment", children: "Assignment" })), preferences.from.show && (_jsxs("th", { id: "from", ...onSort, children: ["From", isSortedDesc('from').content] })), preferences.to.show && (_jsxs("th", { id: "to", ...onSort, children: ["To ", isSortedDesc('to').content] })), preferences.deltaPPM.show && (_jsxs("th", { id: "from", ...onSort, children: ["\u03B4 (ppm) ", isSortedDesc('from').content] })), preferences.deltaHz.show && _jsx("th", { children: "\u03B4 (Hz) " }), preferences.relative.show && (_jsxs("th", { id: "integration", ...onSort, children: ["Rel. ", element, " ", isSortedDesc('integration').content] })), preferences.absolute.show && _jsx("th", { children: "Absolute" }), preferences.showMultiplicity && _jsx("th", { children: "Mult." }), preferences.coupling.show && _jsx("th", { children: "J (Hz)" }), preferences.showAssignment && (_jsx("th", { title: "Assign multiplets", children: _jsx(FaLink, { style: { fontSize: 10, margin: 'auto' } }) })), preferences.showKind && _jsx("th", { children: "Kind" }), showActions && _jsx("th", { children: '' })] }) }), _jsx("tbody", { children: data.map((range) => {
|
|
72
72
|
return (_jsx(RangesTableRow, { rowData: range, preferences: preferences, info: info, contextMenu: contextMenu, onContextMenuSelect: onContextMenuSelect }, range.rowKey));
|
|
73
73
|
}) })] })] }));
|
|
74
74
|
}
|
|
75
|
-
export default RangesTable;
|
|
76
75
|
//# sourceMappingURL=RangesTable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangesTable.js","sourceRoot":"","sources":["../../../../src/component/panels/RangesPanel/RangesTable.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAGrC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"RangesTable.js","sourceRoot":"","sources":["../../../../src/component/panels/RangesPanel/RangesTable.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAGrC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAGpE,OAAO,cAAc,MAAM,qBAAqB,CAAC;AACjD,OAAO,YAAY,MAAM,yBAAyB,CAAC;AAEnD,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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5
|
import type { RangeData } from './hooks/useMapRanges.js';
|
|
6
6
|
interface RangesTableRowProps extends TableContextMenuProps {
|
|
7
|
-
rowData:
|
|
7
|
+
rowData: RangeData;
|
|
8
8
|
preferences: WorkSpacePanelPreferences['ranges'];
|
|
9
9
|
info: Info1D;
|
|
10
10
|
}
|
|
@@ -20,11 +20,11 @@ export interface OnHoverEvent {
|
|
|
20
20
|
}
|
|
21
21
|
export interface RowSpanTags {
|
|
22
22
|
rowSpanTags: {
|
|
23
|
-
rowSpan
|
|
24
|
-
style
|
|
23
|
+
rowSpan?: number;
|
|
24
|
+
style?: CSSProperties;
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
export type RangeColumnProps = BaseRangeColumnProps & OnHoverEvent & RowSpanTags;
|
|
28
|
-
|
|
29
|
-
export
|
|
28
|
+
export default function RangesTableRow(props: RangesTableRowProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export {};
|
|
30
30
|
//# sourceMappingURL=RangesTableRow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangesTableRow.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/RangesPanel/RangesTableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAc,MAAM,OAAO,CAAC;AAWvD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAYrF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAUzD,UAAU,mBAAoB,SAAQ,qBAAqB;IACzD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"RangesTableRow.d.ts","sourceRoot":"","sources":["../../../../src/component/panels/RangesPanel/RangesTableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAc,MAAM,OAAO,CAAC;AAWvD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAYrF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAUzD,UAAU,mBAAoB,SAAQ,qBAAqB;IACzD,OAAO,EAAE,SAAS,CAAC;IACnB,WAAW,EAAE,yBAAyB,CAAC,QAAQ,CAAC,CAAC;IACjD,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,SAAS,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE;QACP,YAAY,EAAE,MAAM,IAAI,CAAC;QACzB,YAAY,EAAE,MAAM,IAAI,CAAC;KAC1B,CAAC;CACH;AAED,MAAM,WAAW,WAAW;IAC1B,WAAW,EAAE;QACX,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,KAAK,CAAC,EAAE,aAAa,CAAC;KACvB,CAAC;CACH;AAED,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,GACjD,YAAY,GACZ,WAAW,CAAC;AAEd,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAAK,EAAE,mBAAmB,2CA2NhE"}
|
|
@@ -20,12 +20,18 @@ const HighlightedRowStyle = {
|
|
|
20
20
|
const ConstantlyHighlightedRowStyle = {
|
|
21
21
|
backgroundColor: '#f5f5dc',
|
|
22
22
|
};
|
|
23
|
-
function RangesTableRow(
|
|
23
|
+
export default function RangesTableRow(props) {
|
|
24
|
+
const { rowData, onContextMenuSelect, contextMenu = [], preferences, info, } = props;
|
|
24
25
|
const dispatch = useDispatch();
|
|
25
26
|
const assignmentData = useAssignmentContext();
|
|
26
27
|
const rangeKey = rowData.id;
|
|
27
28
|
const assignmentRange = useAssignment(rangeKey);
|
|
28
|
-
const highlightRange = useHighlight([rangeKey].concat(assignmentRange.assignedDiaIds?.x || []).concat(filterAssignedIDs(assignmentData.data, rowData.signals.map((
|
|
29
|
+
const highlightRange = useHighlight([rangeKey].concat(assignmentRange.assignedDiaIds?.x || []).concat(filterAssignedIDs(assignmentData.data, rowData.signals.map((signal) => signal.id))), {
|
|
30
|
+
type: 'RANGE',
|
|
31
|
+
extra: {
|
|
32
|
+
id: rangeKey,
|
|
33
|
+
},
|
|
34
|
+
});
|
|
29
35
|
const signalKey = rowData?.tableMetaInfo?.id || '';
|
|
30
36
|
const assignmentSignal = useAssignment(signalKey);
|
|
31
37
|
const highlightSignal = useHighlight(signalKey
|
|
@@ -95,5 +101,4 @@ function RangesTableRow({ rowData, onContextMenuSelect, contextMenu = [], prefer
|
|
|
95
101
|
]);
|
|
96
102
|
return (_jsxs(ContextMenu, { options: contextMenu, onSelect: (selected) => onContextMenuSelect?.(selected, rowData), as: "tr", style: trStyle, children: [preferences.showSerialNumber && (_jsx("td", { ...rowSpanTags, ...onHoverRange, children: rowData.tableMetaInfo.rowIndex + 1 })), preferences.showAssignmentLabel && (_jsx(SignalAssignmentColumn, { row: rowData, highlight: highlightSignal, onHover: onHoverSignal })), preferences.from.show && (_jsx(RangeColumn, { value: rowData.from, rowSpanTags: rowSpanTags, onHover: onHoverRange, format: preferences.from.format })), preferences.to.show && (_jsx(RangeColumn, { value: rowData.to, rowSpanTags: rowSpanTags, onHover: onHoverRange, format: preferences.to.format })), preferences.deltaPPM.show && (_jsx(SignalDeltaColumn, { row: rowData, rowSpanTags: rowSpanTags, onHover: onHoverSignal, format: preferences.deltaPPM.format })), preferences.deltaHz.show && (_jsx(SignalDeltaHzColumn, { row: rowData, rowSpanTags: rowSpanTags, onHover: onHoverSignal, format: preferences.deltaHz.format, info: info })), preferences.relative.show && (_jsx(RelativeColumn, { row: rowData, rowSpanTags: rowSpanTags, onHover: onHoverRange, format: preferences.relative.format })), preferences.absolute.show && (_jsx(AbsoluteColumn, { row: rowData, rowSpanTags: rowSpanTags, onHover: onHoverRange, format: preferences.absolute.format })), preferences.showMultiplicity && (_jsx("td", { ...onHoverSignal, children: rowData.tableMetaInfo.signal?.multiplicity ?? 'm' })), preferences.coupling.show && (_jsx(CouplingColumn, { row: rowData, onHover: onHoverSignal, format: preferences.coupling.format })), preferences.showAssignment && (_jsx(SignalAssignmentsColumn, { row: rowData, assignment: assignmentSignal, highlight: highlightSignal, onHover: onHoverSignal, onLink: linkHandler, onUnlink: unlinkHandler })), _jsx(ActionsColumn, { row: rowData, onHoverSignal: onHoverSignal, onHoverRange: onHoverRange, rowSpanTags: rowSpanTags, showKind: preferences.showKind, showDeleteAction: preferences.showDeleteAction, showEditAction: preferences.showEditAction, showZoomAction: preferences.showZoomAction })] }));
|
|
97
103
|
}
|
|
98
|
-
export default RangesTableRow;
|
|
99
104
|
//# sourceMappingURL=RangesTableRow.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangesTableRow.js","sourceRoot":"","sources":["../../../../src/component/panels/RangesPanel/RangesTableRow.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAG7C,OAAO,EACL,aAAa,EACb,oBAAoB,GACrB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AAErE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,cAAc,MAAM,kCAAkC,CAAC;AAC9D,OAAO,aAAa,MAAM,iCAAiC,CAAC;AAC5D,OAAO,cAAc,MAAM,kCAAkC,CAAC;AAC9D,OAAO,WAAW,MAAM,+BAA+B,CAAC;AACxD,OAAO,cAAc,M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,CAAC,QAAQ,CAAC,MAAM,GACnC,CACH,EACA,WAAW,CAAC,gBAAgB,IAAI,CAC/B,gBAAQ,aAAa,YAClB,OAAO,CAAC,aAAa,CAAC,MAAM,EAAE,YAAY,IAAI,GAAG,GAC/C,CACN,EAEA,WAAW,CAAC,QAAQ,CAAC,IAAI,IAAI,CAC5B,KAAC,cAAc,IACb,GAAG,EAAE,OAAO,EACZ,OAAO,EAAE,aAAa,EACtB,MAAM,EAAE,WAAW,CAAC,QAAQ,CAAC,MAAM,GACnC,CACH,EACA,WAAW,CAAC,cAAc,IAAI,CAC7B,KAAC,uBAAuB,IACtB,GAAG,EAAE,OAAO,EACZ,UAAU,EAAE,gBAAgB,EAC5B,SAAS,EAAE,eAAe,EAC1B,OAAO,EAAE,aAAa,EACtB,MAAM,EAAE,WAAW,EACnB,QAAQ,EAAE,aAAa,GACvB,CACH,EACD,KAAC,aAAa,IACZ,GAAG,EAAE,OAAO,EACZ,aAAa,EAAE,aAAa,EAC5B,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,WAAW,CAAC,QAAQ,EAC9B,gBAAgB,EAAE,WAAW,CAAC,gBAAgB,EAC9C,cAAc,EAAE,WAAW,CAAC,cAAc,EAC1C,cAAc,EAAE,WAAW,CAAC,cAAc,GAC1C,IACU,CACf,CAAC;AACJ,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import type { RangeColumnProps } from '../RangesTableRow.js';
|
|
2
|
-
|
|
3
|
-
export default RelativeColumn;
|
|
2
|
+
export default function RelativeColumn(props: RangeColumnProps): import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
//# sourceMappingURL=RelativeColumn.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelativeColumn.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/RangesPanel/TableColumns/RelativeColumn.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,
|
|
1
|
+
{"version":3,"file":"RelativeColumn.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/RangesPanel/TableColumns/RelativeColumn.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAAK,EAAE,gBAAgB,2CA6B7D"}
|
|
@@ -3,21 +3,21 @@ import { isSignalRange } from '../../../../data/utilities/RangeUtilities.js';
|
|
|
3
3
|
import { useDispatch } from '../../../context/DispatchContext.js';
|
|
4
4
|
import { EditableColumn } from '../../../elements/EditableColumn.js';
|
|
5
5
|
import { formatNumber } from '../../../utility/formatNumber.js';
|
|
6
|
-
function RelativeColumn(
|
|
6
|
+
export default function RelativeColumn(props) {
|
|
7
|
+
const { row, rowSpanTags, onHover, format } = props;
|
|
7
8
|
const dispatch = useDispatch();
|
|
8
9
|
const flag = isSignalRange(row);
|
|
9
10
|
const formattedValue = formatNumber(row.integration, format);
|
|
10
11
|
const integralVal = flag ? formattedValue : `[ ${formattedValue} ]`;
|
|
11
|
-
function saveHandler(
|
|
12
|
+
function saveHandler(value) {
|
|
12
13
|
dispatch({
|
|
13
14
|
type: 'CHANGE_RANGE_RELATIVE',
|
|
14
15
|
payload: {
|
|
15
|
-
value:
|
|
16
|
+
value: Number(value),
|
|
16
17
|
id: row.id,
|
|
17
18
|
},
|
|
18
19
|
});
|
|
19
20
|
}
|
|
20
21
|
return (_jsx("td", { ...rowSpanTags, ...onHover, children: _jsx(EditableColumn, { value: integralVal, onSave: saveHandler, validate: (val) => val !== '', type: "number", style: { padding: '0.1rem 0.4rem' } }) }));
|
|
21
22
|
}
|
|
22
|
-
export default RelativeColumn;
|
|
23
23
|
//# sourceMappingURL=RelativeColumn.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelativeColumn.js","sourceRoot":"","sources":["../../../../../src/component/panels/RangesPanel/TableColumns/RelativeColumn.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAGhE,
|
|
1
|
+
{"version":3,"file":"RelativeColumn.js","sourceRoot":"","sources":["../../../../../src/component/panels/RangesPanel/TableColumns/RelativeColumn.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAGhE,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,KAAuB;IAC5D,MAAM,EAAE,GAAG,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACpD,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAE/B,MAAM,IAAI,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC;IAChC,MAAM,cAAc,GAAG,YAAY,CAAC,GAAG,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;IAC7D,MAAM,WAAW,GAAG,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,KAAK,cAAc,IAAI,CAAC;IAEpE,SAAS,WAAW,CAAC,KAAsB;QACzC,QAAQ,CAAC;YACP,IAAI,EAAE,uBAAuB;YAC7B,OAAO,EAAE;gBACP,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC;gBACpB,EAAE,EAAE,GAAG,CAAC,EAAE;aACX;SACF,CAAC,CAAC;IACL,CAAC;IAED,OAAO,CACL,gBAAQ,WAAW,KAAM,OAAO,YAC9B,KAAC,cAAc,IACb,KAAK,EAAE,WAAW,EAClB,MAAM,EAAE,WAAW,EACnB,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,EAAE,EAC7B,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,GACnC,GACC,CACN,CAAC;AACJ,CAAC"}
|
|
@@ -4,6 +4,6 @@ interface SignalAssignmentColumnProps extends Omit<BaseRangeColumnProps, 'format
|
|
|
4
4
|
isActive: boolean;
|
|
5
5
|
};
|
|
6
6
|
}
|
|
7
|
-
export declare function SignalAssignmentColumn(
|
|
7
|
+
export declare function SignalAssignmentColumn(props: SignalAssignmentColumnProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=SignalAssignmentColumn.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignalAssignmentColumn.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SignalAssignmentColumn.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAE/E,UAAU,2BACR,SAAQ,IAAI,CAAC,oBAAoB,EAAE,QAAQ,CAAC,EAAE,YAAY;IAC1D,SAAS,EAAE;QACT,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC;CACH;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,2CA2BxE"}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useDispatch } from '../../../context/DispatchContext.js';
|
|
3
3
|
import { EditableColumn } from '../../../elements/EditableColumn.js';
|
|
4
|
-
export function SignalAssignmentColumn(
|
|
4
|
+
export function SignalAssignmentColumn(props) {
|
|
5
|
+
const { row, onHover } = props;
|
|
5
6
|
const dispatch = useDispatch();
|
|
6
|
-
const signal = row
|
|
7
|
-
|
|
7
|
+
const signal = row.tableMetaInfo.signal;
|
|
8
|
+
const saveHandler = (value) => {
|
|
8
9
|
dispatch({
|
|
9
10
|
type: 'CHANGE_1D_SIGNAL_ASSIGNMENT_LABEL',
|
|
10
11
|
payload: {
|
|
11
|
-
value:
|
|
12
|
+
value: String(value),
|
|
12
13
|
rangeId: row.id,
|
|
13
|
-
signalId: signal
|
|
14
|
+
signalId: signal?.id,
|
|
14
15
|
},
|
|
15
16
|
});
|
|
16
|
-
}
|
|
17
|
-
return (_jsx("td", { ...onHover, children: _jsx(EditableColumn, { value: signal?.assignment || '', onSave: saveHandler, style: { padding: '0.1rem 0.4rem' }, type: "text" }) }));
|
|
17
|
+
};
|
|
18
|
+
return (_jsx("td", { ...onHover, children: _jsx(EditableColumn, { value: signal?.assignment || '', onSave: saveHandler, style: { padding: '0.1rem 0.4rem' }, type: "text", clickType: signal ? 'single' : 'none' }) }));
|
|
18
19
|
}
|
|
19
20
|
//# sourceMappingURL=SignalAssignmentColumn.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignalAssignmentColumn.js","sourceRoot":"","sources":["../../../../../src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"SignalAssignmentColumn.js","sourceRoot":"","sources":["../../../../../src/component/panels/RangesPanel/TableColumns/SignalAssignmentColumn.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAElE,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAUrE,MAAM,UAAU,sBAAsB,CAAC,KAAkC;IACvE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAC/B,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,MAAM,GAAG,GAAG,CAAC,aAAa,CAAC,MAAM,CAAC;IAExC,MAAM,WAAW,GAAkC,CAAC,KAAK,EAAE,EAAE;QAC3D,QAAQ,CAAC;YACP,IAAI,EAAE,mCAAmC;YACzC,OAAO,EAAE;gBACP,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC;gBACpB,OAAO,EAAE,GAAG,CAAC,EAAE;gBACf,QAAQ,EAAE,MAAM,EAAE,EAAE;aACrB;SACF,CAAC,CAAC;IACL,CAAC,CAAC;IAEF,OAAO,CACL,gBAAQ,OAAO,YACb,KAAC,cAAc,IACb,KAAK,EAAE,MAAM,EAAE,UAAU,IAAI,EAAE,EAC/B,MAAM,EAAE,WAAW,EACnB,KAAK,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,EACnC,IAAI,EAAC,MAAM,EACX,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,GACrC,GACC,CACN,CAAC;AACJ,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import type { RangeColumnProps } from '../RangesTableRow.js';
|
|
2
|
-
|
|
3
|
-
export default SignalDeltaColumn;
|
|
2
|
+
export default function SignalDeltaColumn(props: RangeColumnProps): import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
//# sourceMappingURL=SignalDeltaColumn.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignalDeltaColumn.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SignalDeltaColumn.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,KAAK,EAAE,gBAAgB,2CAyChE"}
|
|
@@ -1,26 +1,28 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { checkMultiplicity } from 'nmr-processing';
|
|
3
|
+
import { assert } from 'react-science/ui';
|
|
3
4
|
import { useDispatch } from '../../../context/DispatchContext.js';
|
|
4
5
|
import { EditableColumn } from '../../../elements/EditableColumn.js';
|
|
5
6
|
import { formatNumber } from '../../../utility/formatNumber.js';
|
|
6
|
-
function SignalDeltaColumn(
|
|
7
|
+
export default function SignalDeltaColumn(props) {
|
|
8
|
+
const { row, onHover, format, rowSpanTags } = props;
|
|
7
9
|
const dispatch = useDispatch();
|
|
8
10
|
const signal = row?.tableMetaInfo?.signal;
|
|
9
|
-
|
|
11
|
+
const saveHandler = (value) => {
|
|
12
|
+
assert(signal);
|
|
10
13
|
dispatch({
|
|
11
14
|
type: 'CHANGE_RANGE_SIGNAL_VALUE',
|
|
12
15
|
payload: {
|
|
13
|
-
value:
|
|
16
|
+
value: Number(value),
|
|
14
17
|
rangeId: row.id,
|
|
15
18
|
signalId: signal.id,
|
|
16
19
|
},
|
|
17
20
|
});
|
|
18
|
-
}
|
|
21
|
+
};
|
|
19
22
|
const rangeText = `${formatNumber(row.from, format)} - ${formatNumber(row.to, format)}`;
|
|
20
23
|
if (!signal || !checkMultiplicity(signal.multiplicity, ['m'])) {
|
|
21
24
|
return (_jsx("td", { ...rowSpanTags, ...onHover, children: rangeText }));
|
|
22
25
|
}
|
|
23
26
|
return (_jsx("td", { ...rowSpanTags, ...onHover, children: _jsx(EditableColumn, { value: formatNumber(signal.delta, format), onSave: saveHandler, type: "number", style: { padding: '0.1rem 0.4rem' }, validate: (val) => val !== '' }) }));
|
|
24
27
|
}
|
|
25
|
-
export default SignalDeltaColumn;
|
|
26
28
|
//# sourceMappingURL=SignalDeltaColumn.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignalDeltaColumn.js","sourceRoot":"","sources":["../../../../../src/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"SignalDeltaColumn.js","sourceRoot":"","sources":["../../../../../src/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAElE,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAGhE,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,KAAuB;IAC/D,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IACpD,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,MAAM,GAAG,GAAG,EAAE,aAAa,EAAE,MAAM,CAAC;IAE1C,MAAM,WAAW,GAAkC,CAAC,KAAK,EAAE,EAAE;QAC3D,MAAM,CAAC,MAAM,CAAC,CAAC;QACf,QAAQ,CAAC;YACP,IAAI,EAAE,2BAA2B;YACjC,OAAO,EAAE;gBACP,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC;gBACpB,OAAO,EAAE,GAAG,CAAC,EAAE;gBACf,QAAQ,EAAE,MAAM,CAAC,EAAE;aACpB;SACF,CAAC,CAAC;IACL,CAAC,CAAC;IAEF,MAAM,SAAS,GAAG,GAAG,YAAY,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,YAAY,CACnE,GAAG,CAAC,EAAE,EACN,MAAM,CACP,EAAE,CAAC;IAEJ,IAAI,CAAC,MAAM,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,YAAY,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;QAC9D,OAAO,CACL,gBAAQ,WAAW,KAAM,OAAO,YAC7B,SAAS,GACP,CACN,CAAC;IACJ,CAAC;IAED,OAAO,CACL,gBAAQ,WAAW,KAAM,OAAO,YAC9B,KAAC,cAAc,IACb,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,EACzC,MAAM,EAAE,WAAW,EACnB,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,EACnC,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,EAAE,GAC7B,GACC,CACN,CAAC;AACJ,CAAC"}
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
import type { Range } from '@zakodium/nmr-types';
|
|
1
|
+
import type { Range, Signal1D } from '@zakodium/nmr-types';
|
|
2
|
+
import type { RangesTableDataMetaInfo, RangesTableDataRow } from '../RangesPanel.tsx';
|
|
2
3
|
export interface RangeData extends Range {
|
|
3
4
|
rowKey: string;
|
|
4
|
-
tableMetaInfo:
|
|
5
|
+
tableMetaInfo: RangesTableDataMetaInfo & {
|
|
6
|
+
rowIndex: number;
|
|
7
|
+
signal?: Signal1D;
|
|
8
|
+
signalIndex?: number;
|
|
9
|
+
id?: string;
|
|
10
|
+
rowSpan?: number;
|
|
11
|
+
hide?: boolean;
|
|
12
|
+
};
|
|
5
13
|
}
|
|
6
|
-
|
|
7
|
-
export default useMapRanges;
|
|
14
|
+
export default function useMapRanges(data: RangesTableDataRow[]): RangeData[];
|
|
8
15
|
//# sourceMappingURL=useMapRanges.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMapRanges.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/RangesPanel/hooks/useMapRanges.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"useMapRanges.d.ts","sourceRoot":"","sources":["../../../../../src/component/panels/RangesPanel/hooks/useMapRanges.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAG3D,OAAO,KAAK,EACV,uBAAuB,EACvB,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,SAAU,SAAQ,KAAK;IACtC,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,uBAAuB,GAAG;QACvC,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,CAAC,EAAE,QAAQ,CAAC;QAClB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,IAAI,CAAC,EAAE,OAAO,CAAC;KAChB,CAAC;CACH;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,IAAI,EAAE,kBAAkB,EAAE,eA2D9D"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { useMemo } from 'react';
|
|
2
|
-
|
|
3
|
-
function useMapRanges(data) {
|
|
2
|
+
export default function useMapRanges(data) {
|
|
4
3
|
return useMemo(() => {
|
|
5
4
|
const rangesData = [];
|
|
6
5
|
for (const [i, range] of data.entries()) {
|
|
@@ -31,7 +30,7 @@ function useMapRanges(data) {
|
|
|
31
30
|
else if (range.signals.length > 1) {
|
|
32
31
|
for (const [j, signal] of range.signals.entries()) {
|
|
33
32
|
let hide = false;
|
|
34
|
-
let rowSpan
|
|
33
|
+
let rowSpan;
|
|
35
34
|
if (j < range.signals.length - 1) {
|
|
36
35
|
if (j === 0) {
|
|
37
36
|
rowSpan = range.signals.length;
|
|
@@ -62,5 +61,4 @@ function useMapRanges(data) {
|
|
|
62
61
|
return rangesData;
|
|
63
62
|
}, [data]);
|
|
64
63
|
}
|
|
65
|
-
export default useMapRanges;
|
|
66
64
|
//# sourceMappingURL=useMapRanges.js.map
|