nmrium 0.25.0 → 0.28.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/Chart1D.js +3 -2
- package/lib/component/1d/ExclusionZonesAnnotations.js +1 -1
- package/lib/component/1d/FooterBanner.js +1 -1
- package/lib/component/1d/Integral.d.ts +2 -1
- package/lib/component/1d/Integral.js +5 -12
- package/lib/component/1d/IntegralResizable.d.ts +2 -1
- package/lib/component/1d/IntegralResizable.js +10 -5
- package/lib/component/1d/IntegralsSeries.js +5 -9
- package/lib/component/1d/Line.d.ts +2 -2
- package/lib/component/1d/PeakAnnotation.js +7 -6
- package/lib/component/1d/PeakAnnotations.js +2 -4
- package/lib/component/1d/SpectraTracker.js +2 -2
- package/lib/component/1d/Viewer1D.js +1 -1
- package/lib/component/1d/database/DatabaseElements.d.ts +3 -0
- package/lib/component/1d/database/DatabaseElements.js +18 -0
- package/lib/component/1d/database/DatabaseSpectrum.d.ts +3 -0
- package/lib/component/1d/database/DatabaseSpectrum.js +60 -0
- package/lib/component/1d/{ResurrectedDatabaseRanges.d.ts → database/ResurrectedDatabaseRanges.d.ts} +0 -0
- package/lib/component/1d/{ResurrectedDatabaseRanges.js → database/ResurrectedDatabaseRanges.js} +9 -6
- package/lib/component/1d/jCouplingGraph/JGraph.js +4 -10
- package/lib/component/1d/multiAnalysis/AnalysisRange.js +10 -5
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js +5 -5
- package/lib/component/1d/ranges/Range.d.ts +2 -2
- package/lib/component/1d/ranges/Range.js +23 -15
- package/lib/component/1d/ranges/Ranges.js +6 -4
- package/lib/component/1d/tool/BaseLineZones.js +3 -6
- package/lib/component/1d/tool/VerticalIndicator.js +1 -1
- package/lib/component/1d/tool/XLabelPointer.js +1 -1
- package/lib/component/2d/Chart2D.js +2 -1
- package/lib/component/2d/Contours.js +5 -6
- package/lib/component/2d/FooterBanner.js +1 -1
- package/lib/component/2d/SignalDeltaLine.js +1 -1
- package/lib/component/2d/Viewer2D.js +1 -1
- package/lib/component/2d/YAxis.js +2 -2
- package/lib/component/2d/tools/XYLabelPointer.js +1 -1
- package/lib/component/2d/tools/slicing/HorizontalSliceChart.d.ts +2 -2
- package/lib/component/2d/tools/slicing/SliceScale.d.ts +1 -1
- package/lib/component/2d/tools/slicing/VerticalSliceChart.d.ts +2 -2
- package/lib/component/2d/zones/IndicationLines.js +2 -3
- package/lib/component/2d/zones/Signal.js +8 -8
- package/lib/component/2d/zones/Zone.js +3 -3
- package/lib/component/EventsTrackers/KeysListenerTracker.js +70 -46
- package/lib/component/NMRium.d.ts +15 -46
- package/lib/component/NMRium.js +20 -9
- package/lib/component/SplitPaneWrapper.d.ts +4 -0
- package/lib/component/SplitPaneWrapper.js +8 -0
- package/lib/component/assignment/AssignmentsContext.d.ts +35 -0
- package/lib/component/assignment/AssignmentsContext.js +83 -0
- package/lib/component/assignment/AssignmentsReducer.d.ts +32 -0
- package/lib/component/assignment/AssignmentsReducer.js +39 -0
- package/lib/component/assignment/actions/initAssignment.d.ts +5 -0
- package/lib/component/assignment/actions/initAssignment.js +62 -0
- package/lib/component/assignment/actions/removeAssignment.d.ts +16 -0
- package/lib/component/assignment/actions/removeAssignment.js +24 -0
- package/lib/component/assignment/actions/setActiveAssignment.d.ts +10 -0
- package/lib/component/assignment/actions/setActiveAssignment.js +8 -0
- package/lib/component/assignment/actions/toggleAssignment.d.ts +7 -0
- package/lib/component/assignment/actions/toggleAssignment.js +44 -0
- package/lib/component/assignment/index.d.ts +0 -18
- package/lib/component/assignment/index.js +12 -266
- package/lib/component/assignment/utilities/filterForIDsWithAssignment.d.ts +2 -0
- package/lib/component/assignment/utilities/filterForIDsWithAssignment.js +3 -0
- package/lib/component/context/GlobalContext.d.ts +3 -0
- package/lib/component/context/GlobalContext.js +1 -1
- package/lib/component/context/PreferencesContext.d.ts +15 -52
- package/lib/component/context/PreferencesContext.js +1 -1
- package/lib/component/elements/Button.js +4 -3
- package/lib/component/elements/ColorInput.js +2 -2
- package/lib/component/elements/ContextMenu.d.ts +8 -3
- package/lib/component/elements/EditableColumn.d.ts +3 -2
- package/lib/component/elements/EditableColumn.js +27 -20
- package/lib/component/elements/Input.d.ts +9 -1
- package/lib/component/elements/Input.js +18 -5
- package/lib/component/elements/Logo.js +1 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.d.ts +5 -1
- package/lib/component/elements/ReactTable/Elements/ReactTableRow.js +39 -10
- package/lib/component/elements/ReactTable/ReactTable.d.ts +3 -1
- package/lib/component/elements/ReactTable/ReactTable.js +7 -2
- package/lib/component/elements/ReactTable/Style.d.ts +1 -3
- package/lib/component/elements/ReactTable/Style.js +1 -7
- package/lib/component/elements/Select.d.ts +1 -0
- package/lib/component/elements/Select.js +21 -15
- package/lib/component/elements/Tab/Tabs.js +2 -1
- package/lib/component/elements/ToggleButton.d.ts +2 -1
- package/lib/component/elements/ToggleButton.js +4 -4
- package/lib/component/elements/accordion/Accordion.js +2 -6
- package/lib/component/elements/draggble/SVGDraggable.d.ts +17 -0
- package/lib/component/elements/draggble/SVGDraggable.js +33 -0
- package/lib/component/elements/{resizer → draggble}/useDraggable.d.ts +9 -6
- package/lib/component/elements/draggble/useDraggable.js +70 -0
- package/lib/component/elements/formik/FormikColorPicker.d.ts +1 -0
- package/lib/component/elements/formik/FormikColorPicker.js +10 -7
- package/lib/component/elements/formik/FormikColumnFormatField.d.ts +5 -4
- package/lib/component/elements/formik/FormikColumnFormatField.js +2 -2
- package/lib/component/elements/formik/FormikInput.d.ts +1 -0
- package/lib/component/elements/formik/FormikInput.js +6 -3
- package/lib/component/elements/formik/FormikSlider.d.ts +1 -0
- package/lib/component/elements/formik/FormikSlider.js +6 -3
- package/lib/component/elements/formik/Input.js +1 -1
- package/lib/component/elements/popup/Alert/Provider.js +1 -1
- package/lib/component/elements/popup/Modal/Modal.js +1 -1
- package/lib/component/elements/popup/Modal/ModalContent.js +1 -1
- package/lib/component/elements/resizer/DivResizer.js +17 -62
- package/lib/component/elements/resizer/Resizer.d.ts +3 -1
- package/lib/component/elements/resizer/SVGResizer.js +24 -53
- package/lib/component/elements/resizer/useResizer.d.ts +11 -0
- package/lib/component/elements/resizer/useResizer.js +65 -0
- package/lib/component/elements/toggle/ToggleButtonGroup.js +2 -2
- package/lib/component/header/BaseLineCorrectionPanel.js +8 -5
- package/lib/component/header/Header.js +2 -2
- package/lib/component/header/ZeroFillingOptionsPanel.js +1 -1
- package/lib/component/hooks/useActiveSpectrumStyleOptions.js +1 -1
- package/lib/component/hooks/useCheckToolsVisibility.d.ts +2 -1
- package/lib/component/hooks/useCheckToolsVisibility.js +2 -1
- package/lib/component/hooks/useExport.d.ts +1 -1
- package/lib/component/hooks/useExport.js +2 -2
- package/lib/component/hooks/useFormatNumberByNucleus.d.ts +3 -0
- package/lib/component/{utility/FormatNumber.js → hooks/useFormatNumberByNucleus.js} +4 -14
- package/lib/component/hooks/usePanelPreferences.d.ts +7 -0
- package/lib/component/hooks/usePanelPreferences.js +54 -0
- package/lib/component/hooks/useXYReduce.d.ts +2 -2
- package/lib/component/loader/DefaultSpinnerComponent.d.ts +3 -1
- package/lib/component/loader/DefaultSpinnerComponent.js +2 -2
- package/lib/component/loader/DropZone.js +8 -2
- package/lib/component/loader/NoData.d.ts +3 -2
- package/lib/component/loader/NoData.js +31 -30
- package/lib/component/loader/SpinnerContext.d.ts +3 -3
- package/lib/component/loader/SpinnerContext.js +2 -2
- package/lib/component/modal/MoleculeStructureEditorModal.d.ts +3 -4
- package/lib/component/modal/MoleculeStructureEditorModal.js +24 -3
- package/lib/component/modal/editRange/EditRangeModal.d.ts +3 -3
- package/lib/component/modal/editRange/EditRangeModal.js +52 -56
- package/lib/component/modal/editRange/forms/components/AddSignalFormTab.d.ts +2 -0
- package/lib/component/modal/editRange/forms/components/AddSignalFormTab.js +11 -27
- package/lib/component/modal/editRange/forms/components/CouplingsTable.js +12 -50
- package/lib/component/modal/editRange/forms/components/SignalFormInfo.d.ts +2 -0
- package/lib/component/modal/editRange/forms/components/SignalFormInfo.js +34 -0
- package/lib/component/modal/editRange/forms/components/SignalFormTab.d.ts +1 -1
- package/lib/component/modal/editRange/forms/components/SignalFormTab.js +11 -14
- package/lib/component/modal/editRange/forms/components/SignalsForm.d.ts +5 -2
- package/lib/component/modal/editRange/forms/components/SignalsForm.js +29 -37
- package/lib/component/modal/editZone/SignalsForm.js +1 -1
- package/lib/component/modal/setting/DatabasesTabContent.d.ts +7 -0
- package/lib/component/modal/setting/DatabasesTabContent.js +73 -0
- package/lib/component/modal/setting/DisplayTabContent.js +11 -7
- package/lib/component/modal/setting/FormattingTabContent.js +20 -14
- package/lib/component/modal/setting/GeneralSettings.js +3 -1
- package/lib/component/modal/setting/settingsValidation.d.ts +164 -0
- package/lib/component/modal/setting/settingsValidation.js +48 -0
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignment.js +6 -4
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts +4 -3
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.js +13 -6
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.d.ts +10 -0
- package/lib/component/panels/AutomaticAssignment/useAutoAssignments.js +65 -0
- package/lib/component/panels/IntegralsPanel/IntegralPanel.d.ts +0 -1
- package/lib/component/panels/IntegralsPanel/IntegralPanel.js +14 -19
- package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts +2 -2
- package/lib/component/panels/IntegralsPanel/IntegralTable.js +10 -11
- package/lib/component/panels/IntegralsPanel/IntegralsPreferences.d.ts +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js +26 -74
- package/lib/component/panels/MoleculesPanel/MoleculeHeader.d.ts +8 -0
- package/lib/component/panels/MoleculesPanel/MoleculeHeader.js +38 -0
- package/lib/component/panels/MoleculesPanel/MoleculePanel.js +17 -35
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js +11 -3
- package/lib/component/panels/MoleculesPanel/Utilities.d.ts +31 -11
- package/lib/component/panels/MoleculesPanel/Utilities.js +61 -68
- package/lib/component/panels/MoleculesPanel/useAtomAssignment.d.ts +2 -2
- package/lib/component/panels/MoleculesPanel/useAtomAssignment.js +55 -60
- package/lib/component/panels/MultipleSpectraAnalysisPanel/MultipleAnalysisCodeEditor.js +2 -2
- package/lib/component/panels/MultipleSpectraAnalysisPanel/MultipleSpectraAnalysisPreferences.js +1 -1
- package/lib/component/panels/MultipleSpectraAnalysisPanel/MultipleSpectraAnalysisTable.js +3 -3
- package/lib/component/panels/Panels.js +3 -4
- package/lib/component/panels/PeaksPanel/PeaksPanel.js +4 -4
- package/lib/component/panels/PeaksPanel/PeaksPreferences.d.ts +1 -1
- package/lib/component/panels/PeaksPanel/PeaksPreferences.js +29 -82
- package/lib/component/panels/PeaksPanel/PeaksTable.d.ts +1 -5
- package/lib/component/panels/PeaksPanel/PeaksTable.js +18 -25
- package/lib/component/panels/RangesPanel/RangesHeader.d.ts +2 -1
- package/lib/component/panels/RangesPanel/RangesHeader.js +28 -13
- package/lib/component/panels/RangesPanel/RangesPanel.js +23 -29
- package/lib/component/panels/RangesPanel/RangesPreferences.d.ts +1 -1
- package/lib/component/panels/RangesPanel/RangesPreferences.js +55 -66
- package/lib/component/panels/RangesPanel/RangesTable.d.ts +11 -6
- package/lib/component/panels/RangesPanel/RangesTable.js +3 -7
- package/lib/component/panels/RangesPanel/RangesTableRow.d.ts +5 -2
- package/lib/component/panels/RangesPanel/RangesTableRow.js +15 -14
- package/lib/component/panels/RangesPanel/TableColumns/AbsoluteColumn.js +2 -2
- package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.d.ts +2 -1
- package/lib/component/panels/RangesPanel/TableColumns/ActionsColumn.js +2 -2
- package/lib/component/panels/RangesPanel/TableColumns/CouplingColumn.d.ts +2 -1
- package/lib/component/panels/RangesPanel/TableColumns/CouplingColumn.js +5 -2
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.d.ts +16 -9
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.js +2 -2
- package/lib/component/panels/RangesPanel/TableColumns/RangeColumn.js +2 -2
- package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.js +2 -2
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.d.ts +2 -3
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.d.ts +2 -2
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js +3 -4
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.d.ts +13 -0
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.js +14 -0
- package/lib/component/panels/RangesPanel/TableColumns/format.d.ts +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/format.js +2 -2
- package/lib/component/panels/RangesPanel/hooks/useEditRangeModal.d.ts +4 -4
- package/lib/component/panels/RangesPanel/hooks/useEditRangeModal.js +49 -31
- package/lib/component/panels/SpectrumsPanel/SpectraPanelHeader.js +5 -18
- package/lib/component/panels/SpectrumsPanel/SpectrumsTabs.js +3 -3
- package/lib/component/panels/SpectrumsPanel/base/ShowHideMarkersButton.js +1 -1
- package/lib/component/panels/SpectrumsPanel/base/setting/PlotChart.d.ts +18 -0
- package/lib/component/panels/SpectrumsPanel/base/setting/PlotChart.js +18 -0
- package/lib/component/panels/SpectrumsPanel/base/setting/Spectrum1DHistogram.d.ts +1 -2
- package/lib/component/panels/SpectrumsPanel/base/setting/Spectrum1DHistogram.js +7 -68
- package/lib/component/panels/SpectrumsPanel/base/setting/Spectrum1DSetting.js +1 -8
- package/lib/component/panels/SpectrumsPanel/base/setting/Spectrum2DHistogram.d.ts +1 -2
- package/lib/component/panels/SpectrumsPanel/base/setting/Spectrum2DHistogram.js +7 -68
- package/lib/component/panels/SpectrumsPanel/base/setting/Spectrum2DSetting.js +8 -21
- package/lib/component/panels/SpectrumsPanel/base/setting/SpectrumSetting.js +2 -2
- package/lib/component/panels/SpectrumsPanel/base/setting/processSnapPlot.d.ts +6 -0
- package/lib/component/panels/SpectrumsPanel/base/setting/processSnapPlot.js +51 -0
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js +3 -3
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js +2 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js +3 -3
- package/lib/component/panels/SummaryPanel/SummaryPanel.js +7 -9
- package/lib/component/panels/SummaryPanel/utilities/Utilities.js +6 -8
- package/lib/component/panels/SummaryPanel/utilities/{IsInView.d.ts → useInView.d.ts} +2 -2
- package/lib/component/panels/SummaryPanel/utilities/{IsInView.js → useInView.js} +2 -2
- package/lib/component/panels/ZonesPanel/TableColumns/ActionsColumn.js +2 -2
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts +5 -7
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js +2 -2
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.d.ts +4 -8
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.js +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.d.ts +5 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.js +3 -2
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts +5 -9
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js +4 -4
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.d.ts +4 -8
- package/lib/component/panels/ZonesPanel/ZonesPanel.js +14 -14
- package/lib/component/panels/ZonesPanel/ZonesPreferences.d.ts +1 -1
- package/lib/component/panels/ZonesPanel/ZonesPreferences.js +20 -84
- package/lib/component/panels/ZonesPanel/ZonesTable.js +4 -1
- package/lib/component/panels/ZonesPanel/ZonesTableRow.d.ts +7 -2
- package/lib/component/panels/ZonesPanel/ZonesTableRow.js +22 -22
- package/lib/component/panels/databasePanel/DatabasePanel.d.ts +4 -0
- package/lib/component/panels/databasePanel/DatabasePanel.js +129 -42
- package/lib/component/panels/databasePanel/DatabasePreferences.js +10 -42
- package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.d.ts +7 -0
- package/lib/component/panels/databasePanel/DatabaseStructureSearchModal.js +8 -0
- package/lib/component/panels/databasePanel/DatabaseTable.js +37 -20
- package/lib/component/panels/extra/placeholder/NoTableData.d.ts +3 -1
- package/lib/component/panels/extra/placeholder/NoTableData.js +2 -2
- package/lib/component/panels/extra/preferences/ColumnsHelper.js +5 -7
- package/lib/component/panels/extra/preferences/NucleusPreferences.d.ts +13 -0
- package/lib/component/panels/extra/preferences/NucleusPreferences.js +22 -0
- package/lib/component/panels/extra/preferences/PreferencesContainer.d.ts +6 -0
- package/lib/component/panels/extra/preferences/PreferencesContainer.js +10 -0
- package/lib/component/panels/extra/preferences/PreferencesGroup.d.ts +7 -0
- package/lib/component/panels/extra/preferences/PreferencesGroup.js +21 -0
- package/lib/component/panels/header/DefaultPanelHeader.js +1 -3
- package/lib/component/panels/header/SpectraAutomaticPickingButton.d.ts +2 -0
- package/lib/component/panels/header/SpectraAutomaticPickingButton.js +30 -0
- package/lib/component/reducer/Reducer.d.ts +352 -95
- package/lib/component/reducer/Reducer.js +22 -10
- package/lib/component/reducer/actions/AssignmentsActions.d.ts +9 -0
- package/lib/component/reducer/actions/AssignmentsActions.js +18 -0
- package/lib/component/reducer/actions/DatabaseActions.d.ts +3 -2
- package/lib/component/reducer/actions/DatabaseActions.js +21 -3
- package/lib/component/reducer/actions/DomainActions.js +1 -1
- package/lib/component/reducer/actions/FiltersActions.d.ts +2 -1
- package/lib/component/reducer/actions/FiltersActions.js +25 -4
- package/lib/component/reducer/actions/LoadActions.d.ts +1 -1
- package/lib/component/reducer/actions/LoadActions.js +11 -6
- package/lib/component/reducer/actions/MoleculeActions.d.ts +4 -2
- package/lib/component/reducer/actions/MoleculeActions.js +15 -3
- package/lib/component/reducer/actions/PreferencesActions.js +32 -20
- package/lib/component/reducer/actions/RangesActions.d.ts +2 -2
- package/lib/component/reducer/actions/RangesActions.js +45 -11
- package/lib/component/reducer/actions/SpectrumsActions.js +6 -9
- package/lib/component/reducer/actions/ToolsActions.js +67 -54
- package/lib/component/reducer/helper/getSpectrum.d.ts +5 -0
- package/lib/component/reducer/helper/getSpectrum.js +14 -0
- package/lib/component/reducer/preferences/actions/addWorkspace.d.ts +3 -0
- package/lib/component/reducer/preferences/actions/addWorkspace.js +19 -0
- package/lib/component/reducer/preferences/actions/initPreferences.d.ts +3 -0
- package/lib/component/reducer/preferences/actions/initPreferences.js +60 -0
- package/lib/component/reducer/preferences/actions/removeWorkspace.d.ts +3 -0
- package/lib/component/reducer/preferences/actions/removeWorkspace.js +20 -0
- package/lib/component/reducer/preferences/actions/resetPreferences.d.ts +3 -0
- package/lib/component/reducer/preferences/actions/resetPreferences.js +14 -0
- package/lib/component/reducer/preferences/actions/setPanelsPreferences.d.ts +3 -0
- package/lib/component/reducer/preferences/actions/setPanelsPreferences.js +13 -0
- package/lib/component/reducer/preferences/actions/setPreferences.d.ts +3 -0
- package/lib/component/reducer/preferences/actions/setPreferences.js +34 -0
- package/lib/component/reducer/preferences/actions/setWorkspace.d.ts +3 -0
- package/lib/component/reducer/preferences/actions/setWorkspace.js +8 -0
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts +7 -0
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +55 -0
- package/lib/component/reducer/{preferencesReducer.d.ts → preferences/preferencesReducer.d.ts} +147 -17
- package/lib/component/reducer/preferences/preferencesReducer.js +80 -0
- package/lib/component/reducer/preferences/utilites/checkKeysExists.d.ts +1 -0
- package/lib/component/reducer/preferences/utilites/checkKeysExists.js +14 -0
- package/lib/component/reducer/preferences/utilites/filterObject.d.ts +1 -0
- package/lib/component/reducer/preferences/utilites/filterObject.js +7 -0
- package/lib/component/reducer/preferences/utilites/flatObject.d.ts +1 -0
- package/lib/component/reducer/preferences/utilites/flatObject.js +9 -0
- package/lib/component/reducer/preferences/utilites/getActiveWorkspace.d.ts +3 -0
- package/lib/component/reducer/preferences/utilites/getActiveWorkspace.js +3 -0
- package/lib/component/reducer/preferences/utilites/getPreferencesByWorkspace.d.ts +2 -0
- package/lib/component/reducer/preferences/utilites/getPreferencesByWorkspace.js +4 -0
- package/lib/component/reducer/preferences/utilites/mapNucleiFormatting.d.ts +5 -0
- package/lib/component/reducer/preferences/utilites/mapNucleiFormatting.js +8 -0
- package/lib/component/reducer/types/Types.d.ts +6 -1
- package/lib/component/reducer/types/Types.js +6 -1
- package/lib/component/tool/BrushX.js +1 -1
- package/lib/component/tool/BrushXY.js +1 -1
- package/lib/component/tool/CrossLinePointer.js +1 -1
- package/lib/component/tool/FloatMoleculeStructures/ActionsButton.d.ts +4 -0
- package/lib/component/tool/FloatMoleculeStructures/ActionsButton.js +7 -0
- package/lib/component/tool/FloatMoleculeStructures/DraggableStructure.d.ts +14 -0
- package/lib/component/tool/FloatMoleculeStructures/DraggableStructure.js +44 -0
- package/lib/component/tool/FloatMoleculeStructures/index.d.ts +15 -0
- package/lib/component/tool/FloatMoleculeStructures/index.js +28 -0
- package/lib/component/toolbar/BasicToolBar.js +0 -1
- package/lib/component/toolbar/FunctionToolBar.js +9 -13
- package/lib/component/toolbar/ToolTypes.d.ts +1 -1
- package/lib/component/toolbar/ToolTypes.js +3 -3
- package/lib/component/utility/Export.d.ts +7 -1
- package/lib/component/utility/Export.js +9 -3
- package/lib/component/utility/PathBuilder.js +2 -1
- package/lib/component/utility/formatNumber.d.ts +3 -0
- package/lib/component/utility/formatNumber.js +12 -0
- package/lib/component/utility/getUniqueNuclei.d.ts +1 -0
- package/lib/component/utility/getUniqueNuclei.js +10 -0
- package/lib/component/utility/isGoogleDocument.d.ts +1 -0
- package/lib/component/utility/isGoogleDocument.js +3 -0
- package/lib/component/utility/nmredataToNmrium.js +1 -2
- package/lib/component/utility/nmriumToNmredata.d.ts +2 -2
- package/lib/component/utility/nmriumToNmredata.js +2 -2
- package/lib/component/utility/util/nmredata/addSource.js +2 -2
- package/lib/component/workspaces/Workspace.d.ts +79 -5
- package/lib/component/workspaces/basic.js +25 -11
- package/lib/component/workspaces/embedded.d.ts +2 -0
- package/lib/component/workspaces/embedded.js +32 -0
- package/lib/component/workspaces/exercise.js +4 -2
- package/lib/component/workspaces/index.d.ts +1 -0
- package/lib/component/workspaces/index.js +2 -1
- package/lib/component/workspaces/prediction.js +2 -0
- package/lib/component/workspaces/process1D.js +3 -1
- package/lib/data/FiltersManager.js +1 -1
- package/lib/data/PredictionManager.js +7 -9
- package/lib/data/SpectraManager.d.ts +4 -12
- package/lib/data/SpectraManager.js +37 -38
- package/lib/data/data1d/Data1DManager.d.ts +1 -1
- package/lib/data/data1d/Data1DManager.js +14 -2
- package/lib/data/data1d/Spectrum1D/convertDataToFloat64Array.d.ts +2 -0
- package/lib/data/data1d/Spectrum1D/convertDataToFloat64Array.js +10 -0
- package/lib/data/data1d/Spectrum1D/generateJGraphData.js +8 -10
- package/lib/data/data1d/Spectrum1D/get1DDataXY.d.ts +2 -2
- package/lib/data/data1d/Spectrum1D/getReferenceShift.js +1 -1
- package/lib/data/data1d/Spectrum1D/initiateDatum1D.js +2 -1
- package/lib/data/data1d/Spectrum1D/integrals/updateRelatives.js +5 -7
- package/lib/data/data1d/Spectrum1D/peaks/autoPeakPicking.js +1 -1
- package/lib/data/data1d/Spectrum1D/peaks/mapPeaks.js +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/addRange.d.ts +36 -2
- package/lib/data/data1d/Spectrum1D/ranges/addRange.js +38 -15
- package/lib/data/data1d/Spectrum1D/ranges/detectSignal.js +3 -3
- package/lib/data/data1d/Spectrum1D/ranges/generateSpectrumFromRanges.js +2 -1
- package/lib/data/data1d/Spectrum1D/ranges/mapRanges.js +1 -1
- package/lib/data/data1d/Spectrum1D/toJSON.d.ts +2 -0
- package/lib/data/data1d/Spectrum1D/toJSON.js +1 -0
- package/lib/data/data1d/database.d.ts +11 -15
- package/lib/data/data1d/database.js +67 -22
- package/lib/data/data1d/filter1d/absolute.d.ts +3 -2
- package/lib/data/data1d/filter1d/autoPhaseCorrection.d.ts +3 -2
- package/lib/data/data1d/filter1d/baselineCorrection.d.ts +3 -2
- package/lib/data/data1d/filter1d/centerMean.d.ts +3 -2
- package/lib/data/data1d/filter1d/digitalFilter.d.ts +3 -2
- package/lib/data/data1d/filter1d/equallySpaced.d.ts +3 -2
- package/lib/data/data1d/filter1d/exclusionZones.d.ts +1 -4
- package/lib/data/data1d/filter1d/exclusionZones.js +4 -4
- package/lib/data/data1d/filter1d/fft.d.ts +3 -2
- package/lib/data/data1d/filter1d/fft.js +2 -2
- package/lib/data/data1d/filter1d/fromTo.d.ts +3 -2
- package/lib/data/data1d/filter1d/lineBroadening.d.ts +3 -2
- package/lib/data/data1d/filter1d/lineBroadening.js +2 -2
- package/lib/data/data1d/filter1d/pareto.d.ts +3 -2
- package/lib/data/data1d/filter1d/pareto.js +2 -2
- package/lib/data/data1d/filter1d/phaseCorrection.d.ts +3 -2
- package/lib/data/data1d/filter1d/shiftX.d.ts +2 -1
- package/lib/data/data1d/filter1d/standardDeviation.d.ts +3 -2
- package/lib/data/data1d/filter1d/zeroFilling.d.ts +3 -2
- package/lib/data/data1d/filter1d/zeroFilling.js +1 -1
- package/lib/data/data2d/Data2DManager.d.ts +1 -1
- package/lib/data/data2d/Data2DManager.js +6 -1
- package/lib/data/data2d/Processing2D.js +1 -1
- package/lib/data/data2d/Spectrum2D/toJSON.d.ts +2 -0
- package/lib/data/data2d/Spectrum2D/toJSON.js +1 -0
- package/lib/data/data2d/filter2d/shiftX.d.ts +4 -3
- package/lib/data/data2d/filter2d/shiftX.js +2 -2
- package/lib/data/data2d/filter2d/shiftY.d.ts +4 -3
- package/lib/data/data2d/filter2d/shiftY.js +2 -2
- package/lib/data/molecules/Molecule.d.ts +6 -7
- package/lib/data/molecules/Molecule.js +9 -1
- package/lib/data/molecules/MoleculeManager.d.ts +4 -1
- package/lib/data/molecules/MoleculeManager.js +33 -2
- package/lib/data/types/common/Source.d.ts +1 -0
- package/lib/data/types/data1d/Data1D.d.ts +3 -3
- package/lib/data/types/data1d/Info1D.d.ts +1 -0
- package/lib/data/types/data2d/Signal2DAxisData.d.ts +1 -1
- package/lib/data/utilities/FindUtilities.js +1 -3
- package/lib/data/utilities/RangeUtilities.js +5 -6
- package/lib/data/utilities/ZoneUtilities.js +1 -1
- package/lib/data/utilities/getSum.js +1 -3
- package/lib/data/utilities/isMolFileEmpty.d.ts +1 -0
- package/lib/data/utilities/isMolFileEmpty.js +6 -0
- package/lib/types/NMRiumDataReturn.d.ts +15 -0
- package/lib/types/NMRiumDataReturn.js +1 -0
- package/lib/types/NMRiumGeneralPreferences.d.ts +10 -0
- package/lib/types/NMRiumGeneralPreferences.js +1 -0
- package/lib/types/NMRiumPanelPreferences.d.ts +16 -0
- package/lib/types/NMRiumPanelPreferences.js +1 -0
- package/lib/types/NMRiumToolBarPreferences.d.ts +20 -0
- package/lib/types/NMRiumToolBarPreferences.js +1 -0
- package/lib/types/Preferences.d.ts +5 -0
- package/lib/types/Preferences.js +1 -0
- package/lib/versionInfo.js +1 -1
- package/lib-cjs/component/1d/Chart1D.js +3 -2
- package/lib-cjs/component/1d/ExclusionZonesAnnotations.js +1 -1
- package/lib-cjs/component/1d/FooterBanner.js +2 -2
- package/lib-cjs/component/1d/Integral.js +5 -12
- package/lib-cjs/component/1d/IntegralResizable.js +10 -5
- package/lib-cjs/component/1d/IntegralsSeries.js +5 -9
- package/lib-cjs/component/1d/PeakAnnotation.js +7 -6
- package/lib-cjs/component/1d/PeakAnnotations.js +2 -4
- package/lib-cjs/component/1d/SpectraTracker.js +2 -2
- package/lib-cjs/component/1d/Viewer1D.js +1 -1
- package/lib-cjs/component/1d/database/DatabaseElements.js +23 -0
- package/lib-cjs/component/1d/database/DatabaseSpectrum.js +65 -0
- package/lib-cjs/component/1d/{ResurrectedDatabaseRanges.js → database/ResurrectedDatabaseRanges.js} +9 -6
- package/lib-cjs/component/1d/jCouplingGraph/JGraph.js +4 -10
- package/lib-cjs/component/1d/multiAnalysis/AnalysisRange.js +10 -5
- package/lib-cjs/component/1d/multiplicityTree/MultiplicityTree.js +6 -6
- package/lib-cjs/component/1d/ranges/Range.js +25 -17
- package/lib-cjs/component/1d/ranges/Ranges.js +6 -4
- package/lib-cjs/component/1d/tool/BaseLineZones.js +3 -6
- package/lib-cjs/component/1d/tool/VerticalIndicator.js +1 -1
- package/lib-cjs/component/1d/tool/XLabelPointer.js +2 -2
- package/lib-cjs/component/2d/Chart2D.js +2 -1
- package/lib-cjs/component/2d/Contours.js +5 -6
- package/lib-cjs/component/2d/FooterBanner.js +2 -2
- package/lib-cjs/component/2d/SignalDeltaLine.js +1 -1
- package/lib-cjs/component/2d/Viewer2D.js +1 -1
- package/lib-cjs/component/2d/YAxis.js +1 -1
- package/lib-cjs/component/2d/tools/XYLabelPointer.js +2 -2
- package/lib-cjs/component/2d/zones/IndicationLines.js +2 -3
- package/lib-cjs/component/2d/zones/Signal.js +9 -9
- package/lib-cjs/component/2d/zones/Zone.js +4 -4
- package/lib-cjs/component/EventsTrackers/KeysListenerTracker.js +71 -47
- package/lib-cjs/component/NMRium.js +18 -7
- package/lib-cjs/component/SplitPaneWrapper.js +12 -0
- package/lib-cjs/component/assignment/AssignmentsContext.js +88 -0
- package/lib-cjs/component/assignment/AssignmentsReducer.js +45 -0
- package/lib-cjs/component/assignment/actions/initAssignment.js +65 -0
- package/lib-cjs/component/assignment/actions/removeAssignment.js +29 -0
- package/lib-cjs/component/assignment/actions/setActiveAssignment.js +11 -0
- package/lib-cjs/component/assignment/actions/toggleAssignment.js +47 -0
- package/lib-cjs/component/assignment/index.js +15 -269
- package/lib-cjs/component/assignment/utilities/filterForIDsWithAssignment.js +7 -0
- package/lib-cjs/component/context/GlobalContext.js +1 -1
- package/lib-cjs/component/context/PreferencesContext.js +1 -1
- package/lib-cjs/component/elements/Button.js +4 -3
- package/lib-cjs/component/elements/ColorInput.js +2 -2
- package/lib-cjs/component/elements/EditableColumn.js +27 -20
- package/lib-cjs/component/elements/Input.js +18 -5
- package/lib-cjs/component/elements/Logo.js +1 -1
- package/lib-cjs/component/elements/ReactTable/Elements/ReactTableRow.js +43 -14
- package/lib-cjs/component/elements/ReactTable/ReactTable.js +7 -2
- package/lib-cjs/component/elements/ReactTable/Style.js +1 -9
- package/lib-cjs/component/elements/Select.js +20 -14
- package/lib-cjs/component/elements/Tab/Tabs.js +2 -1
- package/lib-cjs/component/elements/ToggleButton.js +4 -4
- package/lib-cjs/component/elements/accordion/Accordion.js +2 -6
- package/lib-cjs/component/elements/draggble/SVGDraggable.js +39 -0
- package/lib-cjs/component/elements/draggble/useDraggable.js +73 -0
- package/lib-cjs/component/elements/formik/FormikColorPicker.js +10 -7
- package/lib-cjs/component/elements/formik/FormikColumnFormatField.js +2 -2
- package/lib-cjs/component/elements/formik/FormikInput.js +6 -3
- package/lib-cjs/component/elements/formik/FormikSlider.js +6 -3
- package/lib-cjs/component/elements/formik/Input.js +1 -1
- package/lib-cjs/component/elements/popup/Alert/Provider.js +1 -1
- package/lib-cjs/component/elements/popup/Modal/Modal.js +1 -1
- package/lib-cjs/component/elements/popup/Modal/ModalContent.js +1 -1
- package/lib-cjs/component/elements/resizer/DivResizer.js +17 -62
- package/lib-cjs/component/elements/resizer/SVGResizer.js +24 -53
- package/lib-cjs/component/elements/resizer/useResizer.js +71 -0
- package/lib-cjs/component/elements/toggle/ToggleButtonGroup.js +2 -2
- package/lib-cjs/component/header/BaseLineCorrectionPanel.js +7 -4
- package/lib-cjs/component/header/Header.js +2 -2
- package/lib-cjs/component/header/ZeroFillingOptionsPanel.js +1 -1
- package/lib-cjs/component/hooks/useActiveSpectrumStyleOptions.js +1 -1
- package/lib-cjs/component/hooks/useCheckToolsVisibility.js +2 -1
- package/lib-cjs/component/hooks/useExport.js +2 -2
- package/lib-cjs/component/{utility/FormatNumber.js → hooks/useFormatNumberByNucleus.js} +4 -15
- package/lib-cjs/component/hooks/usePanelPreferences.js +62 -0
- package/lib-cjs/component/loader/DefaultSpinnerComponent.js +2 -2
- package/lib-cjs/component/loader/DropZone.js +8 -2
- package/lib-cjs/component/loader/NoData.js +31 -30
- package/lib-cjs/component/loader/SpinnerContext.js +2 -2
- package/lib-cjs/component/modal/MoleculeStructureEditorModal.js +26 -3
- package/lib-cjs/component/modal/editRange/EditRangeModal.js +50 -54
- package/lib-cjs/component/modal/editRange/forms/components/AddSignalFormTab.js +11 -27
- package/lib-cjs/component/modal/editRange/forms/components/CouplingsTable.js +12 -50
- package/lib-cjs/component/modal/editRange/forms/components/SignalFormInfo.js +38 -0
- package/lib-cjs/component/modal/editRange/forms/components/SignalFormTab.js +13 -16
- package/lib-cjs/component/modal/editRange/forms/components/SignalsForm.js +29 -37
- package/lib-cjs/component/modal/editZone/SignalsForm.js +1 -1
- package/lib-cjs/component/modal/setting/DatabasesTabContent.js +78 -0
- package/lib-cjs/component/modal/setting/DisplayTabContent.js +11 -7
- package/lib-cjs/component/modal/setting/FormattingTabContent.js +19 -13
- package/lib-cjs/component/modal/setting/GeneralSettings.js +3 -1
- package/lib-cjs/component/modal/setting/settingsValidation.js +74 -0
- package/lib-cjs/component/panels/AutomaticAssignment/AutomaticAssignment.js +6 -4
- package/lib-cjs/component/panels/AutomaticAssignment/AutomaticAssignmentTable.js +13 -6
- package/lib-cjs/component/panels/AutomaticAssignment/useAutoAssignments.js +72 -0
- package/lib-cjs/component/panels/IntegralsPanel/IntegralPanel.js +13 -18
- package/lib-cjs/component/panels/IntegralsPanel/IntegralTable.js +10 -11
- package/lib-cjs/component/panels/IntegralsPanel/IntegralsPreferences.js +24 -72
- package/lib-cjs/component/panels/MoleculesPanel/MoleculeHeader.js +44 -0
- package/lib-cjs/component/panels/MoleculesPanel/MoleculePanel.js +17 -35
- package/lib-cjs/component/panels/MoleculesPanel/MoleculePanelHeader.js +11 -3
- package/lib-cjs/component/panels/MoleculesPanel/Utilities.js +61 -68
- package/lib-cjs/component/panels/MoleculesPanel/useAtomAssignment.js +55 -60
- package/lib-cjs/component/panels/MultipleSpectraAnalysisPanel/MultipleSpectraAnalysisPreferences.js +1 -1
- package/lib-cjs/component/panels/MultipleSpectraAnalysisPanel/MultipleSpectraAnalysisTable.js +2 -2
- package/lib-cjs/component/panels/Panels.js +3 -4
- package/lib-cjs/component/panels/PeaksPanel/PeaksPanel.js +5 -5
- package/lib-cjs/component/panels/PeaksPanel/PeaksPreferences.js +27 -80
- package/lib-cjs/component/panels/PeaksPanel/PeaksTable.js +18 -48
- package/lib-cjs/component/panels/RangesPanel/RangesHeader.js +27 -12
- package/lib-cjs/component/panels/RangesPanel/RangesPanel.js +23 -29
- package/lib-cjs/component/panels/RangesPanel/RangesPreferences.js +53 -64
- package/lib-cjs/component/panels/RangesPanel/RangesTable.js +3 -7
- package/lib-cjs/component/panels/RangesPanel/RangesTableRow.js +18 -17
- package/lib-cjs/component/panels/RangesPanel/TableColumns/AbsoluteColumn.js +2 -5
- package/lib-cjs/component/panels/RangesPanel/TableColumns/ActionsColumn.js +2 -2
- package/lib-cjs/component/panels/RangesPanel/TableColumns/CouplingColumn.js +5 -2
- package/lib-cjs/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.js +2 -2
- package/lib-cjs/component/panels/RangesPanel/TableColumns/RangeColumn.js +2 -5
- package/lib-cjs/component/panels/RangesPanel/TableColumns/RelativeColumn.js +2 -2
- package/lib-cjs/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js +3 -4
- package/lib-cjs/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.js +16 -0
- package/lib-cjs/component/panels/RangesPanel/TableColumns/format.js +2 -2
- package/lib-cjs/component/panels/RangesPanel/hooks/useEditRangeModal.js +49 -31
- package/lib-cjs/component/panels/SpectrumsPanel/SpectraPanelHeader.js +3 -16
- package/lib-cjs/component/panels/SpectrumsPanel/SpectrumsTabs.js +1 -1
- package/lib-cjs/component/panels/SpectrumsPanel/base/ShowHideMarkersButton.js +1 -1
- package/lib-cjs/component/panels/SpectrumsPanel/base/setting/PlotChart.js +21 -0
- package/lib-cjs/component/panels/SpectrumsPanel/base/setting/Spectrum1DHistogram.js +10 -68
- package/lib-cjs/component/panels/SpectrumsPanel/base/setting/Spectrum1DSetting.js +1 -8
- package/lib-cjs/component/panels/SpectrumsPanel/base/setting/Spectrum2DHistogram.js +10 -68
- package/lib-cjs/component/panels/SpectrumsPanel/base/setting/Spectrum2DSetting.js +8 -21
- package/lib-cjs/component/panels/SpectrumsPanel/base/setting/SpectrumSetting.js +2 -2
- package/lib-cjs/component/panels/SpectrumsPanel/base/setting/processSnapPlot.js +55 -0
- package/lib-cjs/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js +3 -3
- package/lib-cjs/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnHeader.js +2 -2
- package/lib-cjs/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.js +3 -3
- package/lib-cjs/component/panels/SummaryPanel/SummaryPanel.js +8 -10
- package/lib-cjs/component/panels/SummaryPanel/utilities/Utilities.js +6 -8
- package/lib-cjs/component/panels/SummaryPanel/utilities/{IsInView.js → useInView.js} +2 -2
- package/lib-cjs/component/panels/ZonesPanel/TableColumns/ActionsColumn.js +3 -3
- package/lib-cjs/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js +2 -2
- package/lib-cjs/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.js +1 -1
- package/lib-cjs/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.js +3 -2
- package/lib-cjs/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js +4 -4
- package/lib-cjs/component/panels/ZonesPanel/ZonesPanel.js +14 -14
- package/lib-cjs/component/panels/ZonesPanel/ZonesPreferences.js +18 -82
- package/lib-cjs/component/panels/ZonesPanel/ZonesTable.js +4 -1
- package/lib-cjs/component/panels/ZonesPanel/ZonesTableRow.js +23 -23
- package/lib-cjs/component/panels/databasePanel/DatabasePanel.js +128 -41
- package/lib-cjs/component/panels/databasePanel/DatabasePreferences.js +10 -42
- package/lib-cjs/component/panels/databasePanel/DatabaseStructureSearchModal.js +15 -0
- package/lib-cjs/component/panels/databasePanel/DatabaseTable.js +36 -19
- package/lib-cjs/component/panels/extra/placeholder/NoTableData.js +2 -2
- package/lib-cjs/component/panels/extra/preferences/ColumnsHelper.js +5 -7
- package/lib-cjs/component/panels/extra/preferences/NucleusPreferences.js +29 -0
- package/lib-cjs/component/panels/extra/preferences/PreferencesContainer.js +14 -0
- package/lib-cjs/component/panels/extra/preferences/PreferencesGroup.js +25 -0
- package/lib-cjs/component/panels/header/DefaultPanelHeader.js +1 -3
- package/lib-cjs/component/panels/header/SpectraAutomaticPickingButton.js +37 -0
- package/lib-cjs/component/reducer/Reducer.js +22 -10
- package/lib-cjs/component/reducer/actions/AssignmentsActions.js +21 -0
- package/lib-cjs/component/reducer/actions/DatabaseActions.js +22 -3
- package/lib-cjs/component/reducer/actions/DomainActions.js +1 -1
- package/lib-cjs/component/reducer/actions/FiltersActions.js +26 -4
- package/lib-cjs/component/reducer/actions/LoadActions.js +10 -5
- package/lib-cjs/component/reducer/actions/MoleculeActions.js +17 -3
- package/lib-cjs/component/reducer/actions/PreferencesActions.js +30 -18
- package/lib-cjs/component/reducer/actions/RangesActions.js +46 -12
- package/lib-cjs/component/reducer/actions/SpectrumsActions.js +4 -7
- package/lib-cjs/component/reducer/actions/ToolsActions.js +64 -74
- package/lib-cjs/component/reducer/helper/getSpectrum.js +18 -0
- package/lib-cjs/component/reducer/preferences/actions/addWorkspace.js +26 -0
- package/lib-cjs/component/reducer/preferences/actions/initPreferences.js +67 -0
- package/lib-cjs/component/reducer/preferences/actions/removeWorkspace.js +24 -0
- package/lib-cjs/component/reducer/preferences/actions/resetPreferences.js +18 -0
- package/lib-cjs/component/reducer/preferences/actions/setPanelsPreferences.js +17 -0
- package/lib-cjs/component/reducer/preferences/actions/setPreferences.js +38 -0
- package/lib-cjs/component/reducer/preferences/actions/setWorkspace.js +12 -0
- package/lib-cjs/component/reducer/preferences/panelsPreferencesDefaultValues.js +62 -0
- package/lib-cjs/component/reducer/preferences/preferencesReducer.js +87 -0
- package/lib-cjs/component/reducer/preferences/utilites/checkKeysExists.js +18 -0
- package/lib-cjs/component/reducer/preferences/utilites/filterObject.js +11 -0
- package/lib-cjs/component/reducer/preferences/utilites/flatObject.js +13 -0
- package/lib-cjs/component/reducer/preferences/utilites/getActiveWorkspace.js +7 -0
- package/lib-cjs/component/reducer/preferences/utilites/getPreferencesByWorkspace.js +11 -0
- package/lib-cjs/component/reducer/preferences/utilites/mapNucleiFormatting.js +12 -0
- package/lib-cjs/component/reducer/types/Types.js +9 -4
- package/lib-cjs/component/tool/BrushX.js +1 -1
- package/lib-cjs/component/tool/BrushXY.js +1 -1
- package/lib-cjs/component/tool/CrossLinePointer.js +1 -1
- package/lib-cjs/component/tool/FloatMoleculeStructures/ActionsButton.js +13 -0
- package/lib-cjs/component/tool/FloatMoleculeStructures/DraggableStructure.js +51 -0
- package/lib-cjs/component/tool/FloatMoleculeStructures/index.js +36 -0
- package/lib-cjs/component/toolbar/BasicToolBar.js +0 -1
- package/lib-cjs/component/toolbar/FunctionToolBar.js +9 -13
- package/lib-cjs/component/toolbar/ToolTypes.js +3 -3
- package/lib-cjs/component/utility/Export.js +10 -3
- package/lib-cjs/component/utility/PathBuilder.js +2 -1
- package/lib-cjs/component/utility/formatNumber.js +19 -0
- package/lib-cjs/component/utility/getUniqueNuclei.js +14 -0
- package/lib-cjs/component/utility/isGoogleDocument.js +7 -0
- package/lib-cjs/component/utility/nmredataToNmrium.js +1 -2
- package/lib-cjs/component/utility/util/nmredata/addSource.js +2 -2
- package/lib-cjs/component/workspaces/basic.js +25 -11
- package/lib-cjs/component/workspaces/embedded.js +35 -0
- package/lib-cjs/component/workspaces/exercise.js +4 -2
- package/lib-cjs/component/workspaces/index.js +2 -1
- package/lib-cjs/component/workspaces/prediction.js +2 -0
- package/lib-cjs/component/workspaces/process1D.js +3 -1
- package/lib-cjs/data/FiltersManager.js +1 -1
- package/lib-cjs/data/PredictionManager.js +7 -9
- package/lib-cjs/data/SpectraManager.js +37 -38
- package/lib-cjs/data/data1d/Data1DManager.js +14 -2
- package/lib-cjs/data/data1d/Spectrum1D/convertDataToFloat64Array.js +14 -0
- package/lib-cjs/data/data1d/Spectrum1D/generateJGraphData.js +8 -10
- package/lib-cjs/data/data1d/Spectrum1D/getReferenceShift.js +1 -1
- package/lib-cjs/data/data1d/Spectrum1D/initiateDatum1D.js +2 -1
- package/lib-cjs/data/data1d/Spectrum1D/integrals/updateRelatives.js +5 -7
- package/lib-cjs/data/data1d/Spectrum1D/peaks/autoPeakPicking.js +1 -1
- package/lib-cjs/data/data1d/Spectrum1D/peaks/mapPeaks.js +1 -1
- package/lib-cjs/data/data1d/Spectrum1D/ranges/addRange.js +40 -16
- package/lib-cjs/data/data1d/Spectrum1D/ranges/detectSignal.js +3 -3
- package/lib-cjs/data/data1d/Spectrum1D/ranges/generateSpectrumFromRanges.js +2 -1
- package/lib-cjs/data/data1d/Spectrum1D/ranges/mapRanges.js +1 -1
- package/lib-cjs/data/data1d/Spectrum1D/toJSON.js +1 -0
- package/lib-cjs/data/data1d/database.js +67 -23
- package/lib-cjs/data/data1d/filter1d/exclusionZones.js +4 -4
- package/lib-cjs/data/data1d/filter1d/fft.js +2 -2
- package/lib-cjs/data/data1d/filter1d/lineBroadening.js +2 -2
- package/lib-cjs/data/data1d/filter1d/pareto.js +2 -2
- package/lib-cjs/data/data1d/filter1d/shiftX.js +2 -2
- package/lib-cjs/data/data1d/filter1d/zeroFilling.js +1 -1
- package/lib-cjs/data/data2d/Data2DManager.js +6 -1
- package/lib-cjs/data/data2d/Processing2D.js +1 -1
- package/lib-cjs/data/data2d/Spectrum2D/toJSON.js +1 -0
- package/lib-cjs/data/data2d/filter2d/shiftX.js +4 -4
- package/lib-cjs/data/data2d/filter2d/shiftY.js +4 -4
- package/lib-cjs/data/molecules/Molecule.js +9 -1
- package/lib-cjs/data/molecules/MoleculeManager.js +37 -3
- package/lib-cjs/data/utilities/FindUtilities.js +1 -3
- package/lib-cjs/data/utilities/RangeUtilities.js +8 -6
- package/lib-cjs/data/utilities/ZoneUtilities.js +1 -1
- package/lib-cjs/data/utilities/getSum.js +1 -3
- package/lib-cjs/data/utilities/isMolFileEmpty.js +10 -0
- package/lib-cjs/types/NMRiumDataReturn.js +2 -0
- package/lib-cjs/types/NMRiumGeneralPreferences.js +2 -0
- package/lib-cjs/types/NMRiumPanelPreferences.js +2 -0
- package/lib-cjs/types/NMRiumToolBarPreferences.js +2 -0
- package/lib-cjs/types/Preferences.js +2 -0
- package/lib-cjs/versionInfo.js +1 -1
- package/package.json +53 -51
- package/lib/component/1d/multiplicityTree/TempMultiplicityTree.d.ts +0 -2
- package/lib/component/1d/multiplicityTree/TempMultiplicityTree.js +0 -14
- package/lib/component/elements/resizer/useDraggable.js +0 -52
- package/lib/component/panels/extra/preferences/defaultValues.d.ts +0 -54
- package/lib/component/panels/extra/preferences/defaultValues.js +0 -54
- package/lib/component/reducer/preferencesReducer.js +0 -272
- package/lib/component/utility/FormatNumber.d.ts +0 -6
- package/lib-cjs/component/1d/multiplicityTree/TempMultiplicityTree.js +0 -20
- package/lib-cjs/component/elements/resizer/useDraggable.js +0 -55
- package/lib-cjs/component/panels/extra/preferences/defaultValues.js +0 -61
- package/lib-cjs/component/reducer/preferencesReducer.js +0 -279
|
@@ -35,9 +35,7 @@ const styles = css `
|
|
|
35
35
|
}
|
|
36
36
|
`;
|
|
37
37
|
function DefaultPanelHeader({ counter, onDelete = () => null, deleteToolTip = 'Delete', onFilter = () => null, filterToolTip = '', filterIsActive = false, counterFiltered = 0, children, onSettingClick = () => null, showSettingButton = false, canDelete = true, style = {}, className = '', }) {
|
|
38
|
-
return (_jsxs("div", { css: styles, ...{ style, className }, children: [_jsxs("div", { className: "left-container", children: [canDelete && (_jsx(ToolTip, { title: deleteToolTip, popupPlacement: "right", children: _jsx("button", { type: "button", onClick: onDelete, disabled: counter === 0, children: _jsx(FaRegTrashAlt, {}) }) })), filterToolTip ? (_jsx(ToggleButton, { popupTitle: filterToolTip, popupPlacement: "right", onClick: onFilter, defaultValue: filterIsActive, children: _jsx(FaFilter, { style: { pointerEvents: 'none', fontSize: '12px' } }) })) : null, children] }), counter !== undefined && (_jsxs("p", { className: "counter-label", children: ["[", ' ', filterIsActive &&
|
|
39
|
-
filterIsActive === true &&
|
|
40
|
-
counterFiltered !== undefined
|
|
38
|
+
return (_jsxs("div", { css: styles, ...{ style, className }, children: [_jsxs("div", { className: "left-container", children: [canDelete && (_jsx(ToolTip, { title: deleteToolTip, popupPlacement: "right", children: _jsx("button", { type: "button", onClick: onDelete, disabled: counter === 0, children: _jsx(FaRegTrashAlt, {}) }) })), filterToolTip ? (_jsx(ToggleButton, { popupTitle: filterToolTip, popupPlacement: "right", onClick: onFilter, defaultValue: filterIsActive, children: _jsx(FaFilter, { style: { pointerEvents: 'none', fontSize: '12px' } }) })) : null, children] }), counter !== undefined && (_jsxs("p", { className: "counter-label", children: ["[", ' ', filterIsActive && counterFiltered !== undefined
|
|
41
39
|
? `${counterFiltered}/${counter}`
|
|
42
40
|
: counter, ' ', "]"] })), showSettingButton && (_jsx(ToolTip, { title: "preferences", popupPlacement: "left", children: _jsx("button", { type: "button", onClick: onSettingClick, children: _jsx(FaCog, {}) }) }))] }));
|
|
43
41
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { SvgNmrRangePicking } from 'cheminfo-font';
|
|
3
|
+
import { useCallback } from 'react';
|
|
4
|
+
import { useChartData } from '../../context/ChartContext';
|
|
5
|
+
import { useDispatch } from '../../context/DispatchContext';
|
|
6
|
+
import Button from '../../elements/ButtonToolTip';
|
|
7
|
+
import { useAlert } from '../../elements/popup/Alert';
|
|
8
|
+
import { useCheckToolsVisibility } from '../../hooks/useCheckToolsVisibility';
|
|
9
|
+
import { AUTO_RANGES_SPECTRA_PICKING, AUTO_ZONES_SPECTRA_PICKING, } from '../../reducer/types/Types';
|
|
10
|
+
export function SpectraAutomaticPickingButton() {
|
|
11
|
+
const dispatch = useDispatch();
|
|
12
|
+
const alert = useAlert();
|
|
13
|
+
const { data } = useChartData();
|
|
14
|
+
const isToolVisible = useCheckToolsVisibility();
|
|
15
|
+
const automaticPickingHandler = useCallback(() => {
|
|
16
|
+
void (async () => {
|
|
17
|
+
const hideLoading = await alert.showLoading('Automatic Ranges/Zones detection for all spectra in progress');
|
|
18
|
+
setTimeout(() => {
|
|
19
|
+
dispatch({ type: AUTO_RANGES_SPECTRA_PICKING });
|
|
20
|
+
dispatch({ type: AUTO_ZONES_SPECTRA_PICKING });
|
|
21
|
+
hideLoading();
|
|
22
|
+
}, 0);
|
|
23
|
+
})();
|
|
24
|
+
}, [dispatch, alert]);
|
|
25
|
+
if ((Array.isArray(data) && data.length === 0) ||
|
|
26
|
+
!isToolVisible('rangePickingTool')) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return (_jsx(Button, { popupTitle: "Automatic Ranges/Zones picking for all spectra", onClick: automaticPickingHandler, children: _jsx(SvgNmrRangePicking, {}) }));
|
|
30
|
+
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { CorrelationData } from 'nmr-correlation';
|
|
3
3
|
import { SpectraAnalysis } from '../../data/data1d/MultipleAnalysis';
|
|
4
4
|
import { Molecule } from '../../data/molecules/Molecule';
|
|
5
|
-
import { Range } from '../../data/types/data1d';
|
|
6
5
|
import { Contours } from '../../data/types/data2d/Contours';
|
|
7
6
|
import { UsedColors } from '../../types/UsedColors';
|
|
8
7
|
import { Spectra } from '../NMRium';
|
|
@@ -201,7 +200,10 @@ export interface State {
|
|
|
201
200
|
/**
|
|
202
201
|
* list of zones for Baseline correction filter
|
|
203
202
|
*/
|
|
204
|
-
|
|
203
|
+
baselineCorrection: {
|
|
204
|
+
zones: any[];
|
|
205
|
+
options: any;
|
|
206
|
+
};
|
|
205
207
|
/**
|
|
206
208
|
* pivot point for manual phase correction
|
|
207
209
|
* @default {value:0,index:0}
|
|
@@ -220,10 +222,6 @@ export interface State {
|
|
|
220
222
|
* @default null
|
|
221
223
|
*/
|
|
222
224
|
activeFilterID: string | null;
|
|
223
|
-
/**
|
|
224
|
-
* copy of the range that the user start editing for multiplicity tree live updating
|
|
225
|
-
*/
|
|
226
|
-
tempRange: Range | null;
|
|
227
225
|
/**
|
|
228
226
|
* boolean indicator to hide/show multiplicity tree
|
|
229
227
|
* @default false
|
|
@@ -256,6 +254,7 @@ export declare const spectrumReducer: (base: {
|
|
|
256
254
|
readonly id: string;
|
|
257
255
|
readonly source: {
|
|
258
256
|
readonly jcampURL: string;
|
|
257
|
+
readonly jcampSpectrumIndex: number;
|
|
259
258
|
readonly file: {
|
|
260
259
|
readonly lastModified: number;
|
|
261
260
|
readonly name: string;
|
|
@@ -271,7 +270,7 @@ export declare const spectrumReducer: (base: {
|
|
|
271
270
|
(start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;
|
|
272
271
|
};
|
|
273
272
|
readonly stream: {
|
|
274
|
-
(): ReadableStream<
|
|
273
|
+
(): ReadableStream<Uint8Array>;
|
|
275
274
|
(): NodeJS.ReadableStream;
|
|
276
275
|
};
|
|
277
276
|
readonly text: {
|
|
@@ -296,6 +295,7 @@ export declare const spectrumReducer: (base: {
|
|
|
296
295
|
readonly experiment?: any;
|
|
297
296
|
readonly originFrequency: number;
|
|
298
297
|
readonly solvent?: string | undefined;
|
|
298
|
+
readonly digitalFilter?: number | undefined;
|
|
299
299
|
};
|
|
300
300
|
readonly originalInfo?: {
|
|
301
301
|
readonly nucleus: string;
|
|
@@ -306,24 +306,336 @@ export declare const spectrumReducer: (base: {
|
|
|
306
306
|
readonly experiment?: any;
|
|
307
307
|
readonly originFrequency: number;
|
|
308
308
|
readonly solvent?: string | undefined;
|
|
309
|
+
readonly digitalFilter?: number | undefined;
|
|
309
310
|
} | undefined;
|
|
310
311
|
readonly meta: any;
|
|
311
312
|
readonly data: {
|
|
312
|
-
readonly x:
|
|
313
|
-
|
|
314
|
-
|
|
313
|
+
readonly x: {
|
|
314
|
+
readonly [x: number]: number;
|
|
315
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
316
|
+
readonly buffer: {
|
|
317
|
+
readonly byteLength: number;
|
|
318
|
+
readonly slice: (begin: number, end?: number | undefined) => ArrayBuffer;
|
|
319
|
+
readonly [Symbol.toStringTag]: string;
|
|
320
|
+
} | {
|
|
321
|
+
readonly byteLength: number;
|
|
322
|
+
readonly slice: (begin: number, end?: number | undefined) => SharedArrayBuffer;
|
|
323
|
+
readonly [Symbol.species]: any;
|
|
324
|
+
readonly [Symbol.toStringTag]: "SharedArrayBuffer";
|
|
325
|
+
};
|
|
326
|
+
readonly byteLength: number;
|
|
327
|
+
readonly byteOffset: number;
|
|
328
|
+
readonly copyWithin: (target: number, start: number, end?: number | undefined) => Float64Array;
|
|
329
|
+
readonly every: (predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any) => boolean;
|
|
330
|
+
readonly fill: (value: number, start?: number | undefined, end?: number | undefined) => Float64Array;
|
|
331
|
+
readonly filter: (predicate: (value: number, index: number, array: Float64Array) => any, thisArg?: any) => Float64Array;
|
|
332
|
+
readonly find: (predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any) => number | undefined;
|
|
333
|
+
readonly findIndex: (predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any) => number;
|
|
334
|
+
readonly forEach: (callbackfn: (value: number, index: number, array: Float64Array) => void, thisArg?: any) => void;
|
|
335
|
+
readonly indexOf: (searchElement: number, fromIndex?: number | undefined) => number;
|
|
336
|
+
readonly join: (separator?: string | undefined) => string;
|
|
337
|
+
readonly lastIndexOf: (searchElement: number, fromIndex?: number | undefined) => number;
|
|
338
|
+
readonly length: number;
|
|
339
|
+
readonly map: (callbackfn: (value: number, index: number, array: Float64Array) => number, thisArg?: any) => Float64Array;
|
|
340
|
+
readonly reduce: {
|
|
341
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;
|
|
342
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;
|
|
343
|
+
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float64Array) => U, initialValue: U): U;
|
|
344
|
+
};
|
|
345
|
+
readonly reduceRight: {
|
|
346
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;
|
|
347
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;
|
|
348
|
+
<U_1>(callbackfn: (previousValue: U_1, currentValue: number, currentIndex: number, array: Float64Array) => U_1, initialValue: U_1): U_1;
|
|
349
|
+
};
|
|
350
|
+
readonly reverse: () => Float64Array;
|
|
351
|
+
readonly set: (array: ArrayLike<number>, offset?: number | undefined) => void;
|
|
352
|
+
readonly slice: (start?: number | undefined, end?: number | undefined) => Float64Array;
|
|
353
|
+
readonly some: (predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any) => boolean;
|
|
354
|
+
readonly sort: (compareFn?: ((a: number, b: number) => number) | undefined) => Float64Array;
|
|
355
|
+
readonly subarray: (begin?: number | undefined, end?: number | undefined) => Float64Array;
|
|
356
|
+
readonly toString: () => string;
|
|
357
|
+
readonly valueOf: () => Float64Array;
|
|
358
|
+
readonly entries: () => IterableIterator<[number, number]>;
|
|
359
|
+
readonly keys: () => IterableIterator<number>;
|
|
360
|
+
readonly values: () => IterableIterator<number>;
|
|
361
|
+
readonly includes: (searchElement: number, fromIndex?: number | undefined) => boolean;
|
|
362
|
+
readonly at: (index: number) => number | undefined;
|
|
363
|
+
readonly [Symbol.iterator]: () => IterableIterator<number>;
|
|
364
|
+
readonly [Symbol.toStringTag]: "Float64Array";
|
|
365
|
+
};
|
|
366
|
+
readonly re: {
|
|
367
|
+
readonly [x: number]: number;
|
|
368
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
369
|
+
readonly buffer: {
|
|
370
|
+
readonly byteLength: number;
|
|
371
|
+
readonly slice: (begin: number, end?: number | undefined) => ArrayBuffer;
|
|
372
|
+
readonly [Symbol.toStringTag]: string;
|
|
373
|
+
} | {
|
|
374
|
+
readonly byteLength: number;
|
|
375
|
+
readonly slice: (begin: number, end?: number | undefined) => SharedArrayBuffer;
|
|
376
|
+
readonly [Symbol.species]: any;
|
|
377
|
+
readonly [Symbol.toStringTag]: "SharedArrayBuffer";
|
|
378
|
+
};
|
|
379
|
+
readonly byteLength: number;
|
|
380
|
+
readonly byteOffset: number;
|
|
381
|
+
readonly copyWithin: (target: number, start: number, end?: number | undefined) => Float64Array;
|
|
382
|
+
readonly every: (predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any) => boolean;
|
|
383
|
+
readonly fill: (value: number, start?: number | undefined, end?: number | undefined) => Float64Array;
|
|
384
|
+
readonly filter: (predicate: (value: number, index: number, array: Float64Array) => any, thisArg?: any) => Float64Array;
|
|
385
|
+
readonly find: (predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any) => number | undefined;
|
|
386
|
+
readonly findIndex: (predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any) => number;
|
|
387
|
+
readonly forEach: (callbackfn: (value: number, index: number, array: Float64Array) => void, thisArg?: any) => void;
|
|
388
|
+
readonly indexOf: (searchElement: number, fromIndex?: number | undefined) => number;
|
|
389
|
+
readonly join: (separator?: string | undefined) => string;
|
|
390
|
+
readonly lastIndexOf: (searchElement: number, fromIndex?: number | undefined) => number;
|
|
391
|
+
readonly length: number;
|
|
392
|
+
readonly map: (callbackfn: (value: number, index: number, array: Float64Array) => number, thisArg?: any) => Float64Array;
|
|
393
|
+
readonly reduce: {
|
|
394
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;
|
|
395
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;
|
|
396
|
+
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float64Array) => U, initialValue: U): U;
|
|
397
|
+
};
|
|
398
|
+
readonly reduceRight: {
|
|
399
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;
|
|
400
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;
|
|
401
|
+
<U_1>(callbackfn: (previousValue: U_1, currentValue: number, currentIndex: number, array: Float64Array) => U_1, initialValue: U_1): U_1;
|
|
402
|
+
};
|
|
403
|
+
readonly reverse: () => Float64Array;
|
|
404
|
+
readonly set: (array: ArrayLike<number>, offset?: number | undefined) => void;
|
|
405
|
+
readonly slice: (start?: number | undefined, end?: number | undefined) => Float64Array;
|
|
406
|
+
readonly some: (predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any) => boolean;
|
|
407
|
+
readonly sort: (compareFn?: ((a: number, b: number) => number) | undefined) => Float64Array;
|
|
408
|
+
readonly subarray: (begin?: number | undefined, end?: number | undefined) => Float64Array;
|
|
409
|
+
readonly toString: () => string;
|
|
410
|
+
readonly valueOf: () => Float64Array;
|
|
411
|
+
readonly entries: () => IterableIterator<[number, number]>;
|
|
412
|
+
readonly keys: () => IterableIterator<number>;
|
|
413
|
+
readonly values: () => IterableIterator<number>;
|
|
414
|
+
readonly includes: (searchElement: number, fromIndex?: number | undefined) => boolean;
|
|
415
|
+
readonly at: (index: number) => number | undefined;
|
|
416
|
+
readonly [Symbol.iterator]: () => IterableIterator<number>;
|
|
417
|
+
readonly [Symbol.toStringTag]: "Float64Array";
|
|
418
|
+
};
|
|
419
|
+
readonly im: {
|
|
420
|
+
readonly [x: number]: number;
|
|
421
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
422
|
+
readonly buffer: {
|
|
423
|
+
readonly byteLength: number;
|
|
424
|
+
readonly slice: (begin: number, end?: number | undefined) => ArrayBuffer;
|
|
425
|
+
readonly [Symbol.toStringTag]: string;
|
|
426
|
+
} | {
|
|
427
|
+
readonly byteLength: number;
|
|
428
|
+
readonly slice: (begin: number, end?: number | undefined) => SharedArrayBuffer;
|
|
429
|
+
readonly [Symbol.species]: any;
|
|
430
|
+
readonly [Symbol.toStringTag]: "SharedArrayBuffer";
|
|
431
|
+
};
|
|
432
|
+
readonly byteLength: number;
|
|
433
|
+
readonly byteOffset: number;
|
|
434
|
+
readonly copyWithin: (target: number, start: number, end?: number | undefined) => Float64Array;
|
|
435
|
+
readonly every: (predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any) => boolean;
|
|
436
|
+
readonly fill: (value: number, start?: number | undefined, end?: number | undefined) => Float64Array;
|
|
437
|
+
readonly filter: (predicate: (value: number, index: number, array: Float64Array) => any, thisArg?: any) => Float64Array;
|
|
438
|
+
readonly find: (predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any) => number | undefined;
|
|
439
|
+
readonly findIndex: (predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any) => number;
|
|
440
|
+
readonly forEach: (callbackfn: (value: number, index: number, array: Float64Array) => void, thisArg?: any) => void;
|
|
441
|
+
readonly indexOf: (searchElement: number, fromIndex?: number | undefined) => number;
|
|
442
|
+
readonly join: (separator?: string | undefined) => string;
|
|
443
|
+
readonly lastIndexOf: (searchElement: number, fromIndex?: number | undefined) => number;
|
|
444
|
+
readonly length: number;
|
|
445
|
+
readonly map: (callbackfn: (value: number, index: number, array: Float64Array) => number, thisArg?: any) => Float64Array;
|
|
446
|
+
readonly reduce: {
|
|
447
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;
|
|
448
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;
|
|
449
|
+
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float64Array) => U, initialValue: U): U;
|
|
450
|
+
};
|
|
451
|
+
readonly reduceRight: {
|
|
452
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;
|
|
453
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;
|
|
454
|
+
<U_1>(callbackfn: (previousValue: U_1, currentValue: number, currentIndex: number, array: Float64Array) => U_1, initialValue: U_1): U_1;
|
|
455
|
+
};
|
|
456
|
+
readonly reverse: () => Float64Array;
|
|
457
|
+
readonly set: (array: ArrayLike<number>, offset?: number | undefined) => void;
|
|
458
|
+
readonly slice: (start?: number | undefined, end?: number | undefined) => Float64Array;
|
|
459
|
+
readonly some: (predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any) => boolean;
|
|
460
|
+
readonly sort: (compareFn?: ((a: number, b: number) => number) | undefined) => Float64Array;
|
|
461
|
+
readonly subarray: (begin?: number | undefined, end?: number | undefined) => Float64Array;
|
|
462
|
+
readonly toString: () => string;
|
|
463
|
+
readonly valueOf: () => Float64Array;
|
|
464
|
+
readonly entries: () => IterableIterator<[number, number]>;
|
|
465
|
+
readonly keys: () => IterableIterator<number>;
|
|
466
|
+
readonly values: () => IterableIterator<number>;
|
|
467
|
+
readonly includes: (searchElement: number, fromIndex?: number | undefined) => boolean;
|
|
468
|
+
readonly at: (index: number) => number | undefined;
|
|
469
|
+
readonly [Symbol.iterator]: () => IterableIterator<number>;
|
|
470
|
+
readonly [Symbol.toStringTag]: "Float64Array";
|
|
471
|
+
};
|
|
315
472
|
};
|
|
316
473
|
readonly originalData?: {
|
|
317
|
-
readonly x:
|
|
318
|
-
|
|
319
|
-
|
|
474
|
+
readonly x: {
|
|
475
|
+
readonly [x: number]: number;
|
|
476
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
477
|
+
readonly buffer: {
|
|
478
|
+
readonly byteLength: number;
|
|
479
|
+
readonly slice: (begin: number, end?: number | undefined) => ArrayBuffer;
|
|
480
|
+
readonly [Symbol.toStringTag]: string;
|
|
481
|
+
} | {
|
|
482
|
+
readonly byteLength: number;
|
|
483
|
+
readonly slice: (begin: number, end?: number | undefined) => SharedArrayBuffer;
|
|
484
|
+
readonly [Symbol.species]: any;
|
|
485
|
+
readonly [Symbol.toStringTag]: "SharedArrayBuffer";
|
|
486
|
+
};
|
|
487
|
+
readonly byteLength: number;
|
|
488
|
+
readonly byteOffset: number;
|
|
489
|
+
readonly copyWithin: (target: number, start: number, end?: number | undefined) => Float64Array;
|
|
490
|
+
readonly every: (predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any) => boolean;
|
|
491
|
+
readonly fill: (value: number, start?: number | undefined, end?: number | undefined) => Float64Array;
|
|
492
|
+
readonly filter: (predicate: (value: number, index: number, array: Float64Array) => any, thisArg?: any) => Float64Array;
|
|
493
|
+
readonly find: (predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any) => number | undefined;
|
|
494
|
+
readonly findIndex: (predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any) => number;
|
|
495
|
+
readonly forEach: (callbackfn: (value: number, index: number, array: Float64Array) => void, thisArg?: any) => void;
|
|
496
|
+
readonly indexOf: (searchElement: number, fromIndex?: number | undefined) => number;
|
|
497
|
+
readonly join: (separator?: string | undefined) => string;
|
|
498
|
+
readonly lastIndexOf: (searchElement: number, fromIndex?: number | undefined) => number;
|
|
499
|
+
readonly length: number;
|
|
500
|
+
readonly map: (callbackfn: (value: number, index: number, array: Float64Array) => number, thisArg?: any) => Float64Array;
|
|
501
|
+
readonly reduce: {
|
|
502
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;
|
|
503
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;
|
|
504
|
+
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float64Array) => U, initialValue: U): U;
|
|
505
|
+
};
|
|
506
|
+
readonly reduceRight: {
|
|
507
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;
|
|
508
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;
|
|
509
|
+
<U_1>(callbackfn: (previousValue: U_1, currentValue: number, currentIndex: number, array: Float64Array) => U_1, initialValue: U_1): U_1;
|
|
510
|
+
};
|
|
511
|
+
readonly reverse: () => Float64Array;
|
|
512
|
+
readonly set: (array: ArrayLike<number>, offset?: number | undefined) => void;
|
|
513
|
+
readonly slice: (start?: number | undefined, end?: number | undefined) => Float64Array;
|
|
514
|
+
readonly some: (predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any) => boolean;
|
|
515
|
+
readonly sort: (compareFn?: ((a: number, b: number) => number) | undefined) => Float64Array;
|
|
516
|
+
readonly subarray: (begin?: number | undefined, end?: number | undefined) => Float64Array;
|
|
517
|
+
readonly toString: () => string;
|
|
518
|
+
readonly valueOf: () => Float64Array;
|
|
519
|
+
readonly entries: () => IterableIterator<[number, number]>;
|
|
520
|
+
readonly keys: () => IterableIterator<number>;
|
|
521
|
+
readonly values: () => IterableIterator<number>;
|
|
522
|
+
readonly includes: (searchElement: number, fromIndex?: number | undefined) => boolean;
|
|
523
|
+
readonly at: (index: number) => number | undefined;
|
|
524
|
+
readonly [Symbol.iterator]: () => IterableIterator<number>;
|
|
525
|
+
readonly [Symbol.toStringTag]: "Float64Array";
|
|
526
|
+
};
|
|
527
|
+
readonly re: {
|
|
528
|
+
readonly [x: number]: number;
|
|
529
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
530
|
+
readonly buffer: {
|
|
531
|
+
readonly byteLength: number;
|
|
532
|
+
readonly slice: (begin: number, end?: number | undefined) => ArrayBuffer;
|
|
533
|
+
readonly [Symbol.toStringTag]: string;
|
|
534
|
+
} | {
|
|
535
|
+
readonly byteLength: number;
|
|
536
|
+
readonly slice: (begin: number, end?: number | undefined) => SharedArrayBuffer;
|
|
537
|
+
readonly [Symbol.species]: any;
|
|
538
|
+
readonly [Symbol.toStringTag]: "SharedArrayBuffer";
|
|
539
|
+
};
|
|
540
|
+
readonly byteLength: number;
|
|
541
|
+
readonly byteOffset: number;
|
|
542
|
+
readonly copyWithin: (target: number, start: number, end?: number | undefined) => Float64Array;
|
|
543
|
+
readonly every: (predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any) => boolean;
|
|
544
|
+
readonly fill: (value: number, start?: number | undefined, end?: number | undefined) => Float64Array;
|
|
545
|
+
readonly filter: (predicate: (value: number, index: number, array: Float64Array) => any, thisArg?: any) => Float64Array;
|
|
546
|
+
readonly find: (predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any) => number | undefined;
|
|
547
|
+
readonly findIndex: (predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any) => number;
|
|
548
|
+
readonly forEach: (callbackfn: (value: number, index: number, array: Float64Array) => void, thisArg?: any) => void;
|
|
549
|
+
readonly indexOf: (searchElement: number, fromIndex?: number | undefined) => number;
|
|
550
|
+
readonly join: (separator?: string | undefined) => string;
|
|
551
|
+
readonly lastIndexOf: (searchElement: number, fromIndex?: number | undefined) => number;
|
|
552
|
+
readonly length: number;
|
|
553
|
+
readonly map: (callbackfn: (value: number, index: number, array: Float64Array) => number, thisArg?: any) => Float64Array;
|
|
554
|
+
readonly reduce: {
|
|
555
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;
|
|
556
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;
|
|
557
|
+
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float64Array) => U, initialValue: U): U;
|
|
558
|
+
};
|
|
559
|
+
readonly reduceRight: {
|
|
560
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;
|
|
561
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;
|
|
562
|
+
<U_1>(callbackfn: (previousValue: U_1, currentValue: number, currentIndex: number, array: Float64Array) => U_1, initialValue: U_1): U_1;
|
|
563
|
+
};
|
|
564
|
+
readonly reverse: () => Float64Array;
|
|
565
|
+
readonly set: (array: ArrayLike<number>, offset?: number | undefined) => void;
|
|
566
|
+
readonly slice: (start?: number | undefined, end?: number | undefined) => Float64Array;
|
|
567
|
+
readonly some: (predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any) => boolean;
|
|
568
|
+
readonly sort: (compareFn?: ((a: number, b: number) => number) | undefined) => Float64Array;
|
|
569
|
+
readonly subarray: (begin?: number | undefined, end?: number | undefined) => Float64Array;
|
|
570
|
+
readonly toString: () => string;
|
|
571
|
+
readonly valueOf: () => Float64Array;
|
|
572
|
+
readonly entries: () => IterableIterator<[number, number]>;
|
|
573
|
+
readonly keys: () => IterableIterator<number>;
|
|
574
|
+
readonly values: () => IterableIterator<number>;
|
|
575
|
+
readonly includes: (searchElement: number, fromIndex?: number | undefined) => boolean;
|
|
576
|
+
readonly at: (index: number) => number | undefined;
|
|
577
|
+
readonly [Symbol.iterator]: () => IterableIterator<number>;
|
|
578
|
+
readonly [Symbol.toStringTag]: "Float64Array";
|
|
579
|
+
};
|
|
580
|
+
readonly im: {
|
|
581
|
+
readonly [x: number]: number;
|
|
582
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
583
|
+
readonly buffer: {
|
|
584
|
+
readonly byteLength: number;
|
|
585
|
+
readonly slice: (begin: number, end?: number | undefined) => ArrayBuffer;
|
|
586
|
+
readonly [Symbol.toStringTag]: string;
|
|
587
|
+
} | {
|
|
588
|
+
readonly byteLength: number;
|
|
589
|
+
readonly slice: (begin: number, end?: number | undefined) => SharedArrayBuffer;
|
|
590
|
+
readonly [Symbol.species]: any;
|
|
591
|
+
readonly [Symbol.toStringTag]: "SharedArrayBuffer";
|
|
592
|
+
};
|
|
593
|
+
readonly byteLength: number;
|
|
594
|
+
readonly byteOffset: number;
|
|
595
|
+
readonly copyWithin: (target: number, start: number, end?: number | undefined) => Float64Array;
|
|
596
|
+
readonly every: (predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any) => boolean;
|
|
597
|
+
readonly fill: (value: number, start?: number | undefined, end?: number | undefined) => Float64Array;
|
|
598
|
+
readonly filter: (predicate: (value: number, index: number, array: Float64Array) => any, thisArg?: any) => Float64Array;
|
|
599
|
+
readonly find: (predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any) => number | undefined;
|
|
600
|
+
readonly findIndex: (predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any) => number;
|
|
601
|
+
readonly forEach: (callbackfn: (value: number, index: number, array: Float64Array) => void, thisArg?: any) => void;
|
|
602
|
+
readonly indexOf: (searchElement: number, fromIndex?: number | undefined) => number;
|
|
603
|
+
readonly join: (separator?: string | undefined) => string;
|
|
604
|
+
readonly lastIndexOf: (searchElement: number, fromIndex?: number | undefined) => number;
|
|
605
|
+
readonly length: number;
|
|
606
|
+
readonly map: (callbackfn: (value: number, index: number, array: Float64Array) => number, thisArg?: any) => Float64Array;
|
|
607
|
+
readonly reduce: {
|
|
608
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;
|
|
609
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;
|
|
610
|
+
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float64Array) => U, initialValue: U): U;
|
|
611
|
+
};
|
|
612
|
+
readonly reduceRight: {
|
|
613
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;
|
|
614
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;
|
|
615
|
+
<U_1>(callbackfn: (previousValue: U_1, currentValue: number, currentIndex: number, array: Float64Array) => U_1, initialValue: U_1): U_1;
|
|
616
|
+
};
|
|
617
|
+
readonly reverse: () => Float64Array;
|
|
618
|
+
readonly set: (array: ArrayLike<number>, offset?: number | undefined) => void;
|
|
619
|
+
readonly slice: (start?: number | undefined, end?: number | undefined) => Float64Array;
|
|
620
|
+
readonly some: (predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any) => boolean;
|
|
621
|
+
readonly sort: (compareFn?: ((a: number, b: number) => number) | undefined) => Float64Array;
|
|
622
|
+
readonly subarray: (begin?: number | undefined, end?: number | undefined) => Float64Array;
|
|
623
|
+
readonly toString: () => string;
|
|
624
|
+
readonly valueOf: () => Float64Array;
|
|
625
|
+
readonly entries: () => IterableIterator<[number, number]>;
|
|
626
|
+
readonly keys: () => IterableIterator<number>;
|
|
627
|
+
readonly values: () => IterableIterator<number>;
|
|
628
|
+
readonly includes: (searchElement: number, fromIndex?: number | undefined) => boolean;
|
|
629
|
+
readonly at: (index: number) => number | undefined;
|
|
630
|
+
readonly [Symbol.iterator]: () => IterableIterator<number>;
|
|
631
|
+
readonly [Symbol.toStringTag]: "Float64Array";
|
|
632
|
+
};
|
|
320
633
|
} | undefined;
|
|
321
634
|
readonly peaks: {
|
|
322
635
|
readonly values: readonly {
|
|
323
636
|
readonly id: string;
|
|
324
637
|
readonly originalX: number;
|
|
325
638
|
readonly kind?: string | undefined;
|
|
326
|
-
readonly fwhm?: number | undefined;
|
|
327
639
|
readonly shape?: {
|
|
328
640
|
readonly kind: "gaussian";
|
|
329
641
|
readonly fwhm?: number | undefined;
|
|
@@ -370,25 +682,8 @@ export declare const spectrumReducer: (base: {
|
|
|
370
682
|
readonly signals: readonly {
|
|
371
683
|
readonly id: string;
|
|
372
684
|
readonly originDelta?: number | undefined;
|
|
373
|
-
readonly delta: number;
|
|
374
|
-
readonly js?: readonly {
|
|
375
|
-
readonly coupling: number;
|
|
376
|
-
readonly atoms?: readonly number[] | undefined;
|
|
377
|
-
readonly assignment?: string | readonly string[] | undefined;
|
|
378
|
-
readonly diaIDs?: readonly string[] | undefined;
|
|
379
|
-
readonly multiplicity?: string | undefined;
|
|
380
|
-
readonly pathLength?: number | undefined;
|
|
381
|
-
}[] | undefined;
|
|
382
|
-
readonly atoms?: readonly number[] | undefined;
|
|
383
|
-
readonly assignment?: string | undefined;
|
|
384
|
-
readonly kind?: string | undefined;
|
|
385
|
-
readonly multiplicity?: string | undefined;
|
|
386
|
-
readonly diaIDs?: readonly string[] | undefined;
|
|
387
|
-
readonly nbAtoms?: number | undefined;
|
|
388
|
-
readonly integration?: number | undefined;
|
|
389
685
|
readonly peaks?: readonly {
|
|
390
686
|
readonly kind?: string | undefined;
|
|
391
|
-
readonly fwhm?: number | undefined;
|
|
392
687
|
readonly shape?: {
|
|
393
688
|
readonly kind: "gaussian";
|
|
394
689
|
readonly fwhm?: number | undefined;
|
|
@@ -405,6 +700,22 @@ export declare const spectrumReducer: (base: {
|
|
|
405
700
|
readonly y: number;
|
|
406
701
|
readonly width: number;
|
|
407
702
|
}[] | undefined;
|
|
703
|
+
readonly kind?: string | undefined;
|
|
704
|
+
readonly delta: number;
|
|
705
|
+
readonly js?: readonly {
|
|
706
|
+
readonly coupling: number;
|
|
707
|
+
readonly atoms?: readonly number[] | undefined;
|
|
708
|
+
readonly assignment?: string | readonly string[] | undefined;
|
|
709
|
+
readonly diaIDs?: readonly string[] | undefined;
|
|
710
|
+
readonly multiplicity?: string | undefined;
|
|
711
|
+
readonly pathLength?: number | undefined;
|
|
712
|
+
}[] | undefined;
|
|
713
|
+
readonly atoms?: readonly number[] | undefined;
|
|
714
|
+
readonly assignment?: string | undefined;
|
|
715
|
+
readonly multiplicity?: string | undefined;
|
|
716
|
+
readonly diaIDs?: readonly string[] | undefined;
|
|
717
|
+
readonly nbAtoms?: number | undefined;
|
|
718
|
+
readonly integration?: number | undefined;
|
|
408
719
|
readonly statistic?: {
|
|
409
720
|
readonly mean: number;
|
|
410
721
|
readonly sd: number;
|
|
@@ -442,6 +753,7 @@ export declare const spectrumReducer: (base: {
|
|
|
442
753
|
readonly id: string;
|
|
443
754
|
readonly source: {
|
|
444
755
|
readonly jcampURL: string;
|
|
756
|
+
readonly jcampSpectrumIndex: number;
|
|
445
757
|
readonly file: {
|
|
446
758
|
readonly lastModified: number;
|
|
447
759
|
readonly name: string;
|
|
@@ -457,7 +769,7 @@ export declare const spectrumReducer: (base: {
|
|
|
457
769
|
(start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;
|
|
458
770
|
};
|
|
459
771
|
readonly stream: {
|
|
460
|
-
(): ReadableStream<
|
|
772
|
+
(): ReadableStream<Uint8Array>;
|
|
461
773
|
(): NodeJS.ReadableStream;
|
|
462
774
|
};
|
|
463
775
|
readonly text: {
|
|
@@ -548,14 +860,14 @@ export declare const spectrumReducer: (base: {
|
|
|
548
860
|
readonly atoms?: readonly number[] | undefined;
|
|
549
861
|
readonly diaIDs?: readonly string[] | undefined;
|
|
550
862
|
};
|
|
551
|
-
readonly kind?: string | undefined;
|
|
552
|
-
readonly peaks?: readonly any[] | undefined;
|
|
553
863
|
readonly j?: {
|
|
554
864
|
readonly pathLength?: number | {
|
|
555
865
|
readonly from: number;
|
|
556
866
|
readonly to: number;
|
|
557
867
|
} | undefined;
|
|
558
868
|
} | undefined;
|
|
869
|
+
readonly peaks?: readonly any[] | undefined;
|
|
870
|
+
readonly kind?: string | undefined;
|
|
559
871
|
}[];
|
|
560
872
|
readonly kind: string;
|
|
561
873
|
}[];
|
|
@@ -626,6 +938,8 @@ export declare const spectrumReducer: (base: {
|
|
|
626
938
|
};
|
|
627
939
|
readonly key: string;
|
|
628
940
|
readonly molfile: string;
|
|
941
|
+
readonly isFloat: boolean;
|
|
942
|
+
readonly label: string;
|
|
629
943
|
}[];
|
|
630
944
|
readonly verticalAlign: {
|
|
631
945
|
readonly align: VerticalAlignment;
|
|
@@ -700,73 +1014,16 @@ export declare const spectrumReducer: (base: {
|
|
|
700
1014
|
readonly selectedTool: string;
|
|
701
1015
|
readonly selectedOptionPanel: string | null;
|
|
702
1016
|
readonly data: {
|
|
703
|
-
readonly
|
|
1017
|
+
readonly baselineCorrection: {
|
|
1018
|
+
readonly zones: readonly any[];
|
|
1019
|
+
readonly options: any;
|
|
1020
|
+
};
|
|
704
1021
|
readonly pivot: {
|
|
705
1022
|
readonly value: number;
|
|
706
1023
|
readonly index: number;
|
|
707
1024
|
};
|
|
708
1025
|
readonly zonesNoiseFactor: number;
|
|
709
1026
|
readonly activeFilterID: string | null;
|
|
710
|
-
readonly tempRange: {
|
|
711
|
-
readonly id: string;
|
|
712
|
-
readonly originFrom?: number | undefined;
|
|
713
|
-
readonly originTo?: number | undefined;
|
|
714
|
-
readonly absolute: number;
|
|
715
|
-
readonly signals: readonly {
|
|
716
|
-
readonly id: string;
|
|
717
|
-
readonly originDelta?: number | undefined;
|
|
718
|
-
readonly delta: number;
|
|
719
|
-
readonly js?: readonly {
|
|
720
|
-
readonly coupling: number;
|
|
721
|
-
readonly atoms?: readonly number[] | undefined;
|
|
722
|
-
readonly assignment?: string | readonly string[] | undefined;
|
|
723
|
-
readonly diaIDs?: readonly string[] | undefined;
|
|
724
|
-
readonly multiplicity?: string | undefined;
|
|
725
|
-
readonly pathLength?: number | undefined;
|
|
726
|
-
}[] | undefined;
|
|
727
|
-
readonly atoms?: readonly number[] | undefined;
|
|
728
|
-
readonly assignment?: string | undefined;
|
|
729
|
-
readonly kind?: string | undefined;
|
|
730
|
-
readonly multiplicity?: string | undefined;
|
|
731
|
-
readonly diaIDs?: readonly string[] | undefined;
|
|
732
|
-
readonly nbAtoms?: number | undefined;
|
|
733
|
-
readonly integration?: number | undefined;
|
|
734
|
-
readonly peaks?: readonly {
|
|
735
|
-
readonly kind?: string | undefined;
|
|
736
|
-
readonly fwhm?: number | undefined;
|
|
737
|
-
readonly shape?: {
|
|
738
|
-
readonly kind: "gaussian";
|
|
739
|
-
readonly fwhm?: number | undefined;
|
|
740
|
-
readonly sd?: number | undefined;
|
|
741
|
-
} | {
|
|
742
|
-
readonly kind: "lorentzian";
|
|
743
|
-
readonly fwhm?: number | undefined;
|
|
744
|
-
} | {
|
|
745
|
-
readonly kind: "pseudoVoigt";
|
|
746
|
-
readonly fwhm?: number | undefined;
|
|
747
|
-
readonly mu?: number | undefined;
|
|
748
|
-
} | undefined;
|
|
749
|
-
readonly x: number;
|
|
750
|
-
readonly y: number;
|
|
751
|
-
readonly width: number;
|
|
752
|
-
}[] | undefined;
|
|
753
|
-
readonly statistic?: {
|
|
754
|
-
readonly mean: number;
|
|
755
|
-
readonly sd: number;
|
|
756
|
-
readonly min: number;
|
|
757
|
-
readonly max: number;
|
|
758
|
-
readonly nb: number;
|
|
759
|
-
} | undefined;
|
|
760
|
-
}[];
|
|
761
|
-
readonly integration: number;
|
|
762
|
-
readonly nbAtoms?: number | undefined;
|
|
763
|
-
readonly from: number;
|
|
764
|
-
readonly to: number;
|
|
765
|
-
readonly kind?: string | undefined;
|
|
766
|
-
readonly multiplicity?: string | undefined;
|
|
767
|
-
readonly diaIDs?: readonly string[] | undefined;
|
|
768
|
-
readonly pubIntegral?: number | undefined;
|
|
769
|
-
} | null;
|
|
770
1027
|
readonly showMultiplicityTrees: boolean;
|
|
771
1028
|
readonly showRangesIntegrals: boolean;
|
|
772
1029
|
readonly showJGraph: boolean;
|