nmrium 0.35.1 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/component/1d/ApodizationLine.d.ts +1 -2
- package/lib/component/1d/Chart1D.d.ts +1 -2
- package/lib/component/1d/ExclusionZonesAnnotations.d.ts +1 -2
- package/lib/component/1d/Line.d.ts +1 -1
- package/lib/component/1d/LinesSeries.d.ts +1 -2
- package/lib/component/1d/SpectraLegends.d.ts +1 -2
- package/lib/component/1d/Viewer1D.d.ts +1 -1
- package/lib/component/1d/database/DatabaseElements.d.ts +1 -2
- package/lib/component/1d/database/DatabaseSpectrum.d.ts +1 -2
- package/lib/component/1d/database/ResurrectedDatabaseRanges.d.ts +1 -2
- package/lib/component/1d/integral/Integral.d.ts +1 -2
- package/lib/component/1d/integral/IntegralIndicator.d.ts +1 -2
- package/lib/component/1d/integral/IntegralsSeries.d.ts +1 -2
- package/lib/component/1d/jCouplingGraph/JGraph.d.ts +1 -2
- package/lib/component/1d/jCouplingGraph/JGraphVerticalAxis.d.ts +1 -2
- package/lib/component/1d/jCouplingGraph/JsCoupling.d.ts +1 -2
- package/lib/component/1d/jCouplingGraph/JsCouplingLinks.d.ts +1 -2
- package/lib/component/1d/jCouplingGraph/JsCouplings.d.ts +1 -2
- package/lib/component/1d/multiAnalysis/MultiAnalysisRanges.d.ts +1 -2
- package/lib/component/1d/multiplicityTree/LevelNode.d.ts +1 -2
- package/lib/component/1d/multiplicityTree/MultiplicityTree.js +2 -1
- package/lib/component/1d/multiplicityTree/StringNode.d.ts +1 -1
- package/lib/component/1d/multiplicityTree/TreeNodes.d.ts +1 -1
- package/lib/component/1d/peaks/PeakAnnotations.d.ts +1 -2
- package/lib/component/1d/peaks/PeaksShapes.d.ts +1 -2
- package/lib/component/1d/ranges/AssignmentActionsButtons.d.ts +1 -2
- package/lib/component/1d/ranges/RangeIntegral.d.ts +1 -2
- package/lib/component/1d/ranges/Ranges.d.ts +1 -2
- package/lib/component/1d/tool/PeakPointer.d.ts +1 -2
- package/lib/component/1d/tool/VerticalIndicator.d.ts +1 -2
- package/lib/component/1d/tool/XLabelPointer.d.ts +1 -2
- package/lib/component/1d-2d/components/FloatMoleculeStructures/ActionsButton.d.ts +1 -2
- package/lib/component/1d-2d/components/FloatMoleculeStructures/index.d.ts +2 -3
- package/lib/component/1d-2d/components/SpectrumInfoBlock.d.ts +1 -2
- package/lib/component/1d-2d/tools/BrushX.d.ts +1 -2
- package/lib/component/1d-2d/tools/BrushXY.d.ts +1 -2
- package/lib/component/1d-2d/tools/CrossLinePointer.d.ts +1 -2
- package/lib/component/2d/1d-tracer/HorizontalSliceChart.d.ts +1 -1
- package/lib/component/2d/1d-tracer/Left1DChart.d.ts +1 -1
- package/lib/component/2d/1d-tracer/Top1DChart.d.ts +1 -1
- package/lib/component/2d/1d-tracer/VerticalSliceChart.d.ts +1 -1
- package/lib/component/2d/Chart2D.d.ts +1 -2
- package/lib/component/2d/SlicingView.d.ts +1 -2
- package/lib/component/2d/Viewer2D.d.ts +1 -1
- package/lib/component/2d/fid/FidCanvas.d.ts +1 -2
- package/lib/component/2d/fid/FidContainer.d.ts +1 -2
- package/lib/component/2d/ft/Contours.d.ts +1 -2
- package/lib/component/2d/ft/Contours.js +0 -6
- package/lib/component/2d/ft/FTContainer.d.ts +1 -2
- package/lib/component/2d/tools/XYLabelPointer.d.ts +1 -2
- package/lib/component/2d/zones/Zones.d.ts +1 -2
- package/lib/component/ErrorOverlay.d.ts +1 -2
- package/lib/component/EventsTrackers/BrushTracker.d.ts +1 -1
- package/lib/component/EventsTrackers/MouseTracker.d.ts +1 -1
- package/lib/component/NMRium.d.ts +2 -0
- package/lib/component/NMRium.js +7 -8
- package/lib/component/SplitPaneWrapper.d.ts +1 -2
- package/lib/component/assignment/index.d.ts +1 -2
- package/lib/component/context/LoggerContext.d.ts +1 -1
- package/lib/component/elements/ActionButtons.d.ts +1 -1
- package/lib/component/elements/ButtonToolTip.d.ts +1 -1
- package/lib/component/elements/CheckBoxCell.d.ts +1 -2
- package/lib/component/elements/CloseButton.d.ts +1 -1
- package/lib/component/elements/ColumnWrapper.d.ts +1 -1
- package/lib/component/elements/DeleteButton.d.ts +1 -2
- package/lib/component/elements/GroupPane.d.ts +1 -1
- package/lib/component/elements/IsotopesViewer.d.ts +1 -1
- package/lib/component/elements/Logo.d.ts +1 -2
- package/lib/component/elements/Message.d.ts +1 -1
- package/lib/component/elements/ReactTable/Elements/EmptyDataRow.d.ts +1 -2
- package/lib/component/elements/ReactTable/Elements/ReactTableHeader.d.ts +1 -1
- package/lib/component/elements/RemoveAssignmentsButton.d.ts +4 -0
- package/lib/component/{panels/RangesPanel/TableColumns → elements}/RemoveAssignmentsButton.js +14 -1
- package/lib/component/elements/SVGGroup.d.ts +1 -1
- package/lib/component/elements/Table/Table.d.ts +1 -1
- package/lib/component/elements/Table/TableBody.d.ts +1 -1
- package/lib/component/elements/Table/TableCell.d.ts +1 -1
- package/lib/component/elements/Table/TableHead.d.ts +1 -1
- package/lib/component/elements/Table/TableRow.d.ts +1 -1
- package/lib/component/elements/ToolTip/ToolTip.d.ts +1 -1
- package/lib/component/elements/accordion/Accordion.d.ts +1 -1
- package/lib/component/elements/accordion/AccordionItem.d.ts +1 -1
- package/lib/component/elements/draggable/SVGDraggable.d.ts +1 -1
- package/lib/component/elements/formik/ErrorMessage.d.ts +1 -1
- package/lib/component/elements/formik/FormikCheckBox.d.ts +1 -1
- package/lib/component/elements/formik/FormikColorInput.d.ts +1 -1
- package/lib/component/elements/formik/FormikColorPicker.d.ts +1 -1
- package/lib/component/elements/formik/FormikColumnFormatField.d.ts +1 -1
- package/lib/component/elements/formik/FormikErrorsSummary.d.ts +1 -1
- package/lib/component/elements/formik/FormikInput.d.ts +1 -2
- package/lib/component/elements/formik/FormikNumberInput.d.ts +1 -2
- package/lib/component/elements/formik/FormikSelect.d.ts +1 -2
- package/lib/component/elements/formik/FormikSlider.d.ts +1 -2
- package/lib/component/elements/formik/FormikTextarea.d.ts +1 -1
- package/lib/component/elements/formik/Input.d.ts +1 -2
- package/lib/component/elements/linearAxis/LinearVerticalAxis.d.ts +1 -2
- package/lib/component/elements/popup/Alert/Provider.d.ts +1 -1
- package/lib/component/elements/popup/Modal/Modal.d.ts +1 -1
- package/lib/component/elements/popup/Transition.d.ts +1 -1
- package/lib/component/elements/popup/Wrapper.d.ts +1 -2
- package/lib/component/elements/resizer/Resizer.d.ts +1 -1
- package/lib/component/elements/toggle/ToggleButton.d.ts +1 -1
- package/lib/component/elements/toggle/ToggleButtonGroup.d.ts +1 -1
- package/lib/component/header/ApodizationOptionsPanel.d.ts +1 -2
- package/lib/component/header/AutoPeakPickingOptionPanel.d.ts +1 -1
- package/lib/component/header/BaseLineCorrectionPanel.d.ts +1 -2
- package/lib/component/header/Header.js +1 -1
- package/lib/component/header/HeaderContainer.d.ts +1 -1
- package/lib/component/header/LogsHistory.d.ts +1 -2
- package/lib/component/header/PhaseCorrectionPanel.d.ts +1 -2
- package/lib/component/header/RangesPickingOptionPanel.d.ts +1 -2
- package/lib/component/header/ZeroFillingOptionsPanel.d.ts +1 -2
- package/lib/component/header/Zones2DOptionPanel.d.ts +1 -2
- package/lib/component/highlight/index.d.ts +1 -1
- package/lib/component/hooks/useSaveSettings.d.ts +1 -2
- package/lib/component/loader/NoData.d.ts +1 -1
- package/lib/component/loader/Spinner.d.ts +1 -1
- package/lib/component/loader/SpinnerContext.d.ts +1 -1
- package/lib/component/modal/AboutPredictionModal.d.ts +2 -0
- package/lib/component/modal/AboutPredictionModal.js +49 -0
- package/lib/component/modal/ExportAsJcampModal.d.ts +1 -2
- package/lib/component/modal/MultipletAnalysisModal.js +6 -1
- package/lib/component/modal/editRange/EditRangeModal.js +3 -2
- package/lib/component/modal/editRange/forms/components/AddSignalFormTab.js +1 -1
- package/lib/component/modal/editRange/forms/components/CouplingsTable.js +2 -1
- package/lib/component/modal/editRange/forms/components/DeltaInput.d.ts +1 -2
- package/lib/component/modal/editRange/forms/components/DeltaInput.js +1 -1
- package/lib/component/modal/editRange/forms/components/SignalFormInfo.d.ts +1 -2
- package/lib/component/modal/editRange/forms/components/SignalFormTab.d.ts +1 -1
- package/lib/component/modal/editZone/SignalFormTab.d.ts +1 -2
- package/lib/component/modal/setting/WorkspaceItem.d.ts +1 -2
- package/lib/component/modal/setting/settings-tabs/DatabasesTabContent.d.ts +1 -2
- package/lib/component/modal/setting/settings-tabs/DisplayTabContent.d.ts +1 -2
- package/lib/component/modal/setting/settings-tabs/GeneralTabContent.d.ts +1 -2
- package/lib/component/modal/setting/settings-tabs/ImportationFiltersTabContent.d.ts +1 -2
- package/lib/component/modal/setting/settings-tabs/InfoBlockTabContent.d.ts +1 -2
- package/lib/component/modal/setting/settings-tabs/OnLoadProcessingTabContent.d.ts +1 -2
- package/lib/component/modal/setting/settings-tabs/ToolsTabContent.d.ts +1 -2
- package/lib/component/panels/AutomaticAssignment/AutomaticAssignmentTable.d.ts +1 -1
- package/lib/component/panels/InformationPanel.d.ts +1 -2
- package/lib/component/panels/IntegralsPanel/IntegralTable.d.ts +1 -1
- package/lib/component/panels/IntegralsPanel/IntegralTable.js +17 -13
- package/lib/component/panels/IntegralsPanel/IntegralsPreferences.js +8 -5
- package/lib/component/panels/MoleculesPanel/MoleculeHeader.d.ts +1 -2
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.d.ts +1 -0
- package/lib/component/panels/MoleculesPanel/MoleculePanelHeader.js +3 -2
- package/lib/component/panels/MultipleSpectraAnalysisPanel/MultipleSpectraAnalysisTable.d.ts +1 -2
- package/lib/component/panels/MultipleSpectraAnalysisPanel/base/AnalysisCell.d.ts +1 -2
- package/lib/component/panels/MultipleSpectraAnalysisPanel/base/AnalysisColumnHeader.d.ts +1 -2
- package/lib/component/panels/MultipleSpectraAnalysisPanel/preferences/AnalysisTablePreferences.d.ts +1 -2
- package/lib/component/panels/MultipleSpectraAnalysisPanel/preferences/LegendsPreferences.d.ts +1 -2
- package/lib/component/panels/PanelNoData.d.ts +1 -2
- package/lib/component/panels/Panels.d.ts +1 -2
- package/lib/component/panels/PeaksPanel/PeaksTable.d.ts +1 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.d.ts +0 -1
- package/lib/component/panels/RangesPanel/RangesTableRow.js +0 -11
- package/lib/component/panels/RangesPanel/TableColumns/AbsoluteColumn.d.ts +1 -2
- package/lib/component/panels/RangesPanel/TableColumns/CouplingColumn.d.ts +1 -2
- package/lib/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.js +2 -3
- package/lib/component/panels/RangesPanel/TableColumns/RangeColumn.d.ts +1 -2
- package/lib/component/panels/RangesPanel/TableColumns/RelativeColumn.d.ts +1 -2
- package/lib/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.js +2 -3
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.d.ts +1 -2
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js +1 -1
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.d.ts +1 -2
- package/lib/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.js +1 -1
- package/lib/component/panels/SpectrumsPanel/SpectraPanelHeader.d.ts +1 -2
- package/lib/component/panels/SpectrumsPanel/SpectraPreferences.js +2 -2
- package/lib/component/panels/SpectrumsPanel/SpectraTable.d.ts +1 -2
- package/lib/component/panels/SpectrumsPanel/SpectrumListPanel.d.ts +1 -1
- package/lib/component/panels/SpectrumsPanel/base/ColorIndicator.d.ts +1 -1
- package/lib/component/panels/SpectrumsPanel/base/ShowHideSpectrumButton.d.ts +1 -2
- package/lib/component/panels/SpectrumsPanel/base/SpectraColumnsManager.d.ts +1 -2
- package/lib/component/panels/SpectrumsPanel/base/SpectraColumnsManager.js +1 -1
- package/lib/component/panels/SpectrumsPanel/base/SpectrumName.d.ts +1 -2
- package/lib/component/panels/SpectrumsPanel/base/setting/PlotChart.d.ts +1 -2
- package/lib/component/panels/SpectrumsPanel/base/setting/Spectrum1DHistogram.d.ts +1 -1
- package/lib/component/panels/SpectrumsPanel/base/setting/Spectrum1DSetting.d.ts +1 -2
- package/lib/component/panels/SpectrumsPanel/base/setting/Spectrum2DHistogram.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.d.ts +1 -2
- package/lib/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/CorrelationTableRow.d.ts +1 -2
- package/lib/component/panels/ZonesPanel/TableColumns/ActionsColumn.d.ts +3 -12
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.d.ts +2 -4
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js +12 -16
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.d.ts +1 -6
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.js +2 -2
- package/lib/component/panels/ZonesPanel/TableColumns/SignalDeltaColumn.d.ts +1 -2
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.d.ts +2 -3
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js +27 -19
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.d.ts +1 -6
- package/lib/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.js +2 -2
- package/lib/component/panels/ZonesPanel/ZonesTableRow.js +2 -22
- package/lib/component/panels/extra/placeholder/NoTableData.d.ts +1 -2
- package/lib/component/panels/extra/preferences/NucleusGroup.d.ts +1 -1
- package/lib/component/panels/extra/preferences/NucleusPreferences.d.ts +1 -2
- package/lib/component/panels/extra/preferences/PreferencesContainer.d.ts +1 -1
- package/lib/component/panels/extra/preferences/PreferencesGroup.d.ts +1 -1
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.d.ts +2 -5
- package/lib/component/panels/extra/utilities/MultiplicityUtilities.js +3 -29
- package/lib/component/panels/filtersPanel/FiltersTable.d.ts +1 -2
- package/lib/component/panels/header/SpectraAutomaticPickingButton.d.ts +1 -2
- package/lib/component/panels/predictionPanel/PredictionPanel.d.ts +1 -2
- package/lib/component/panels/predictionPanel/PredictionPanel.js +6 -1
- package/lib/component/reducer/actions/LoadActions.js +14 -6
- package/lib/component/reducer/actions/MoleculeActions.js +26 -2
- package/lib/component/reducer/actions/PreferencesActions.js +17 -4
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +1 -0
- package/lib/component/toolbar/BasicToolBar.d.ts +1 -2
- package/lib/component/toolbar/FunctionToolBar.d.ts +1 -2
- package/lib/component/toolbar/HistoryToolBar.d.ts +1 -1
- package/lib/component/toolbar/ToolBar.d.ts +1 -2
- package/lib/component/workspaces/Workspace.d.ts +2 -1
- package/lib/component/workspaces/exercise.js +31 -0
- package/lib/component/workspaces/workspaceDefaultProperties.js +1 -0
- package/lib/data/constants/Multiplets.js +6 -13
- package/lib/data/data1d/Spectrum1D/initiateDatum1D.js +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignal.d.ts +1 -1
- package/lib/data/data1d/Spectrum1D/ranges/detectSignal.js +41 -18
- package/lib/data/data1d/filter1d/fft.js +5 -7
- package/lib/data/data1d/filter1d/utils/padDataToNextPowerOfTwo.js +2 -2
- package/lib/data/data2d/Processing2D.d.ts +3 -3
- package/lib/data/data2d/Spectrum2D/contours.d.ts +1 -4
- package/lib/data/data2d/Spectrum2D/contours.js +0 -1
- package/lib/data/data2d/Spectrum2D/initiateDatum2D.js +1 -2
- package/lib/data/data2d/Spectrum2D/zones/detectZonesManual.js +12 -0
- package/lib/data/data2d/Spectrum2D/zones/getDetectionZones.d.ts +1 -0
- package/lib/data/data2d/Spectrum2D/zones/getDetectionZones.js +9 -4
- package/lib/data/utilities/ZoneUtilities.js +0 -1
- package/lib/types/NMRiumGeneralPreferences.d.ts +1 -0
- package/lib/versionInfo.js +1 -1
- package/lib-cjs/component/1d/multiplicityTree/MultiplicityTree.js +2 -1
- package/lib-cjs/component/2d/ft/Contours.js +0 -6
- package/lib-cjs/component/NMRium.js +4 -5
- package/lib-cjs/component/{panels/RangesPanel/TableColumns → elements}/RemoveAssignmentsButton.js +15 -2
- package/lib-cjs/component/header/Header.js +1 -1
- package/lib-cjs/component/modal/AboutPredictionModal.js +54 -0
- package/lib-cjs/component/modal/MultipletAnalysisModal.js +6 -1
- package/lib-cjs/component/modal/editRange/EditRangeModal.js +5 -4
- package/lib-cjs/component/modal/editRange/forms/components/AddSignalFormTab.js +2 -2
- package/lib-cjs/component/modal/editRange/forms/components/CouplingsTable.js +2 -1
- package/lib-cjs/component/modal/editRange/forms/components/DeltaInput.js +2 -2
- package/lib-cjs/component/panels/IntegralsPanel/IntegralTable.js +17 -13
- package/lib-cjs/component/panels/IntegralsPanel/IntegralsPreferences.js +7 -4
- package/lib-cjs/component/panels/MoleculesPanel/MoleculePanelHeader.js +3 -2
- package/lib-cjs/component/panels/RangesPanel/RangesTableRow.js +0 -12
- package/lib-cjs/component/panels/RangesPanel/TableColumns/RangeAssignmentsColumn.js +2 -3
- package/lib-cjs/component/panels/RangesPanel/TableColumns/SignalAssignmentsColumn.js +2 -3
- package/lib-cjs/component/panels/RangesPanel/TableColumns/SignalDeltaColumn.js +2 -2
- package/lib-cjs/component/panels/RangesPanel/TableColumns/SignalDeltaHzColumn.js +2 -2
- package/lib-cjs/component/panels/SpectrumsPanel/SpectraPreferences.js +2 -2
- package/lib-cjs/component/panels/SpectrumsPanel/base/SpectraColumnsManager.js +1 -1
- package/lib-cjs/component/panels/SummaryPanel/CorrelationTable/AdditionalColumnField.js +1 -1
- package/lib-cjs/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumn.js +12 -19
- package/lib-cjs/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.js +2 -2
- package/lib-cjs/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumn.js +27 -22
- package/lib-cjs/component/panels/ZonesPanel/TableColumns/ZoneAssignmentsColumns.js +2 -2
- package/lib-cjs/component/panels/ZonesPanel/ZonesTableRow.js +1 -21
- package/lib-cjs/component/panels/extra/utilities/MultiplicityUtilities.js +5 -34
- package/lib-cjs/component/panels/predictionPanel/PredictionPanel.js +6 -1
- package/lib-cjs/component/reducer/actions/LoadActions.js +14 -6
- package/lib-cjs/component/reducer/actions/MoleculeActions.js +25 -1
- package/lib-cjs/component/reducer/actions/PreferencesActions.js +17 -4
- package/lib-cjs/component/reducer/preferences/panelsPreferencesDefaultValues.js +1 -0
- package/lib-cjs/component/workspaces/exercise.js +31 -0
- package/lib-cjs/component/workspaces/workspaceDefaultProperties.js +1 -0
- package/lib-cjs/data/constants/Multiplets.js +6 -13
- package/lib-cjs/data/data1d/Spectrum1D/initiateDatum1D.js +1 -1
- package/lib-cjs/data/data1d/Spectrum1D/ranges/detectSignal.js +40 -17
- package/lib-cjs/data/data1d/filter1d/fft.js +5 -7
- package/lib-cjs/data/data1d/filter1d/utils/padDataToNextPowerOfTwo.js +2 -2
- package/lib-cjs/data/data2d/Spectrum2D/contours.js +0 -1
- package/lib-cjs/data/data2d/Spectrum2D/initiateDatum2D.js +1 -2
- package/lib-cjs/data/data2d/Spectrum2D/zones/detectZonesManual.js +12 -0
- package/lib-cjs/data/data2d/Spectrum2D/zones/getDetectionZones.js +9 -4
- package/lib-cjs/data/utilities/ZoneUtilities.js +0 -1
- package/lib-cjs/versionInfo.js +1 -1
- package/package.json +33 -33
- package/lib/component/panels/RangesPanel/TableColumns/RemoveAssignmentsButton.d.ts +0 -4
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface LogoProps {
|
|
3
2
|
width?: number;
|
|
4
3
|
height?: number;
|
|
5
4
|
}
|
|
6
|
-
export default function Logo({ width, height }: LogoProps): JSX.Element;
|
|
5
|
+
export default function Logo({ width, height }: LogoProps): import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function EmptyDataRow(props: any): JSX.Element;
|
|
1
|
+
export declare function EmptyDataRow(props: any): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,5 +5,5 @@ interface TableCellEvent {
|
|
|
5
5
|
interface ReactTableHeaderProps extends TableCellEvent {
|
|
6
6
|
headerGroups: any;
|
|
7
7
|
}
|
|
8
|
-
declare function ReactTableHeader({ headerGroups, onClick }: ReactTableHeaderProps): JSX.Element;
|
|
8
|
+
declare function ReactTableHeader({ headerGroups, onClick }: ReactTableHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export default ReactTableHeader;
|
package/lib/component/{panels/RangesPanel/TableColumns → elements}/RemoveAssignmentsButton.js
RENAMED
|
@@ -1,5 +1,18 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
|
+
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
2
|
+
/** @jsxImportSource @emotion/react */
|
|
3
|
+
import { css } from '@emotion/react';
|
|
2
4
|
import { FaMinusCircle } from 'react-icons/fa';
|
|
5
|
+
export const removeAssignmentCssStyle = css `
|
|
6
|
+
.remove-assignment {
|
|
7
|
+
visibility: hidden;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&:hover {
|
|
11
|
+
.remove-assignment {
|
|
12
|
+
visibility: visible;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
`;
|
|
3
16
|
export function RemoveAssignmentsButton({ onClick }) {
|
|
4
17
|
return (_jsx("sup", { className: "remove-assignment", children: _jsx("button", { type: "button", style: {
|
|
5
18
|
padding: 0,
|
|
@@ -4,5 +4,5 @@ interface SVGGroupProps extends SVGAttributes<SVGElement> {
|
|
|
4
4
|
direction?: 'row' | 'column';
|
|
5
5
|
space?: number;
|
|
6
6
|
}
|
|
7
|
-
export declare function SVGGroup(props: SVGGroupProps): JSX.Element;
|
|
7
|
+
export declare function SVGGroup(props: SVGGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -4,6 +4,6 @@ interface TableProps {
|
|
|
4
4
|
className?: string;
|
|
5
5
|
style?: CSSProperties;
|
|
6
6
|
}
|
|
7
|
-
declare function Table({ children, className, style }: TableProps): JSX.Element;
|
|
7
|
+
declare function Table({ children, className, style }: TableProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
declare const _default: import("react").MemoExoticComponent<typeof Table>;
|
|
9
9
|
export default _default;
|
|
@@ -4,6 +4,6 @@ interface TableBodyProps {
|
|
|
4
4
|
className?: string;
|
|
5
5
|
style?: CSSProperties;
|
|
6
6
|
}
|
|
7
|
-
declare function TableBody({ children, className, style }: TableBodyProps): JSX.Element;
|
|
7
|
+
declare function TableBody({ children, className, style }: TableBodyProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
declare const _default: import("react").MemoExoticComponent<typeof TableBody>;
|
|
9
9
|
export default _default;
|
|
@@ -8,6 +8,6 @@ interface TableHeaderProps {
|
|
|
8
8
|
size?: number;
|
|
9
9
|
onClick?: () => void;
|
|
10
10
|
}
|
|
11
|
-
declare function TableHeader({ children, className, style, align, vAlign, size, onClick, }: TableHeaderProps): JSX.Element;
|
|
11
|
+
declare function TableHeader({ children, className, style, align, vAlign, size, onClick, }: TableHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
declare const _default: import("react").MemoExoticComponent<typeof TableHeader>;
|
|
13
13
|
export default _default;
|
|
@@ -4,6 +4,6 @@ interface TableHeadProps {
|
|
|
4
4
|
className?: string;
|
|
5
5
|
style?: CSSProperties;
|
|
6
6
|
}
|
|
7
|
-
declare function TableHead({ children, className, style }: TableHeadProps): JSX.Element;
|
|
7
|
+
declare function TableHead({ children, className, style }: TableHeadProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
declare const _default: import("react").MemoExoticComponent<typeof TableHead>;
|
|
9
9
|
export default _default;
|
|
@@ -5,6 +5,6 @@ interface TableHeaderProps {
|
|
|
5
5
|
style?: CSSProperties;
|
|
6
6
|
onClick?: () => void;
|
|
7
7
|
}
|
|
8
|
-
declare function TableHeader({ children, className, style, onClick, }: TableHeaderProps): JSX.Element;
|
|
8
|
+
declare function TableHeader({ children, className, style, onClick, }: TableHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
declare const _default: import("react").MemoExoticComponent<typeof TableHeader>;
|
|
10
10
|
export default _default;
|
|
@@ -10,6 +10,6 @@ interface ToolTipProps {
|
|
|
10
10
|
y: number;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
-
declare function ToolTip({ style, className, popupPlacement, children, title, offset, }: ToolTipProps): JSX.Element;
|
|
13
|
+
declare function ToolTip({ style, className, popupPlacement, children, title, offset, }: ToolTipProps): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
declare const _default: import("react").MemoExoticComponent<typeof ToolTip>;
|
|
15
15
|
export default _default;
|
|
@@ -3,5 +3,5 @@ interface AccordionProps {
|
|
|
3
3
|
children: Array<ReactNode>;
|
|
4
4
|
defaultOpenIndex: number | null;
|
|
5
5
|
}
|
|
6
|
-
declare function Accordion({ children, defaultOpenIndex }: AccordionProps): JSX.Element;
|
|
6
|
+
declare function Accordion({ children, defaultOpenIndex }: AccordionProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default Accordion;
|
|
@@ -11,5 +11,5 @@ interface AccordionItemProps {
|
|
|
11
11
|
onOpen?: (a: any, b: any) => void;
|
|
12
12
|
style?: any;
|
|
13
13
|
}
|
|
14
|
-
declare function AccordionItem({ title, children, index, isOpen, onOpen, style, }: AccordionItemProps): JSX.Element;
|
|
14
|
+
declare function AccordionItem({ title, children, index, isOpen, onOpen, style, }: AccordionItemProps): import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export default AccordionItem;
|
|
@@ -13,5 +13,5 @@ export interface DraggableProps {
|
|
|
13
13
|
parentElement?: HTMLElement | null;
|
|
14
14
|
dragHandleClassName?: string;
|
|
15
15
|
}
|
|
16
|
-
export default function SVGDraggable(props: DraggableProps): JSX.Element;
|
|
16
|
+
export default function SVGDraggable(props: DraggableProps): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
export {};
|
|
@@ -3,5 +3,5 @@ export interface ErrorMessageProps extends React.InputHTMLAttributes<HTMLInputEl
|
|
|
3
3
|
name: string;
|
|
4
4
|
style?: CSSProperties;
|
|
5
5
|
}
|
|
6
|
-
declare function ErrorMessage({ style, ...props }: ErrorMessageProps): JSX.Element;
|
|
6
|
+
declare function ErrorMessage({ style, ...props }: ErrorMessageProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default ErrorMessage;
|
|
@@ -12,5 +12,5 @@ export interface FormikCheckBoxProps extends Omit<CheckBoxProps, 'style'> {
|
|
|
12
12
|
};
|
|
13
13
|
defaultValue?: any;
|
|
14
14
|
}
|
|
15
|
-
declare function FormikCheckBox(props: FormikCheckBoxProps): JSX.Element;
|
|
15
|
+
declare function FormikCheckBox(props: FormikCheckBoxProps): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export default FormikCheckBox;
|
|
@@ -3,6 +3,6 @@ import { ColorInputProps } from '../ColorInput';
|
|
|
3
3
|
interface FormikColorPickerProps extends ColorInputProps {
|
|
4
4
|
name: string;
|
|
5
5
|
}
|
|
6
|
-
declare function FormikColorPicker(props: FormikColorPickerProps): JSX.Element;
|
|
6
|
+
declare function FormikColorPicker(props: FormikColorPickerProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
declare const _default: import("react").MemoExoticComponent<typeof FormikColorPicker>;
|
|
8
8
|
export default _default;
|
|
@@ -3,6 +3,6 @@ interface FormikColorPickerProps {
|
|
|
3
3
|
name: string;
|
|
4
4
|
onColorChange?: (element: any) => void;
|
|
5
5
|
}
|
|
6
|
-
declare function FormikColorPicker(props: FormikColorPickerProps): JSX.Element;
|
|
6
|
+
declare function FormikColorPicker(props: FormikColorPickerProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
declare const _default: import("react").MemoExoticComponent<typeof FormikColorPicker>;
|
|
8
8
|
export default _default;
|
|
@@ -7,6 +7,6 @@ export interface ColumnFormatField {
|
|
|
7
7
|
hideFormatField?: boolean;
|
|
8
8
|
hideCheckField?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare function FormikColumnFormatField(props: ColumnFormatField): JSX.Element;
|
|
10
|
+
declare function FormikColumnFormatField(props: ColumnFormatField): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
declare const _default: import("react").MemoExoticComponent<typeof FormikColumnFormatField>;
|
|
12
12
|
export default _default;
|
|
@@ -2,5 +2,5 @@ import { CSSProperties } from 'react';
|
|
|
2
2
|
export interface FormikErrorsSummaryProps {
|
|
3
3
|
style?: Record<'container' | 'text', CSSProperties>;
|
|
4
4
|
}
|
|
5
|
-
declare function FormikErrorsSummary({ style }: FormikErrorsSummaryProps): JSX.Element;
|
|
5
|
+
declare function FormikErrorsSummary({ style }: FormikErrorsSummaryProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default FormikErrorsSummary;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { InputProps } from '../Input';
|
|
3
2
|
export interface InputMapValueFunctions {
|
|
4
3
|
mapOnChangeValue?: (value: string | number) => any;
|
|
@@ -8,5 +7,5 @@ interface FormikInputProps extends InputProps, InputMapValueFunctions {
|
|
|
8
7
|
name: string;
|
|
9
8
|
checkErrorAfterInputTouched?: boolean;
|
|
10
9
|
}
|
|
11
|
-
declare function FormikInput(props: FormikInputProps): JSX.Element;
|
|
10
|
+
declare function FormikInput(props: FormikInputProps): import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
export default FormikInput;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { NumberInputProps } from '../NumberInput';
|
|
3
2
|
interface FormikNumberInputProps extends NumberInputProps {
|
|
4
3
|
name: string;
|
|
5
4
|
checkErrorAfterInputTouched?: boolean;
|
|
6
5
|
}
|
|
7
|
-
declare function FormikNumberInput(props: FormikNumberInputProps): JSX.Element;
|
|
6
|
+
declare function FormikNumberInput(props: FormikNumberInputProps): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export default FormikNumberInput;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { SelectProps } from '../Select';
|
|
3
2
|
declare const FormikSelect: (props: SelectProps & {
|
|
4
3
|
value?: string;
|
|
5
4
|
checkErrorAfterInputTouched?: boolean;
|
|
6
|
-
}) => JSX.Element;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export default FormikSelect;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface FormikSliderProps {
|
|
3
2
|
name: string;
|
|
4
3
|
debounceTime?: number;
|
|
5
4
|
}
|
|
6
|
-
declare function FormikSlider(props: FormikSliderProps): JSX.Element;
|
|
5
|
+
declare function FormikSlider(props: FormikSliderProps): import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export default FormikSlider;
|
|
@@ -5,5 +5,5 @@ interface FormikTextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLText
|
|
|
5
5
|
value?: string;
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
|
-
declare function FormikTextarea(props: FormikTextareaProps): JSX.Element;
|
|
8
|
+
declare function FormikTextarea(props: FormikTextareaProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export default FormikTextarea;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface InputProps {
|
|
3
2
|
name: string;
|
|
4
3
|
onFocus?: (element: string) => void;
|
|
5
4
|
onBlur?: (element: string) => void;
|
|
6
5
|
enableErrorMessage?: boolean;
|
|
7
6
|
}
|
|
8
|
-
declare function Input(props: InputProps): JSX.Element;
|
|
7
|
+
declare function Input(props: InputProps): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export default Input;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ScaleLinear } from 'd3';
|
|
3
2
|
interface BaseAxis {
|
|
4
3
|
x: number;
|
|
@@ -17,5 +16,5 @@ interface VerticalGrid {
|
|
|
17
16
|
width: number;
|
|
18
17
|
}
|
|
19
18
|
type VerticalAxisProps = BaseAxis & (Vertical | VerticalGrid) & ScaleAxis;
|
|
20
|
-
export declare function LinearVerticalAxis(props: VerticalAxisProps): JSX.Element;
|
|
19
|
+
export declare function LinearVerticalAxis(props: VerticalAxisProps): import("react/jsx-runtime").JSX.Element;
|
|
21
20
|
export {};
|
|
@@ -13,6 +13,6 @@ interface ProviderProps {
|
|
|
13
13
|
Consumer?: any;
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
declare function Provider({ children, wrapperRef, offset, position, timeout, type, transition, ...props }: ProviderProps): JSX.Element;
|
|
16
|
+
declare function Provider({ children, wrapperRef, offset, position, timeout, type, transition, ...props }: ProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
declare const _default: import("react").MemoExoticComponent<typeof Provider>;
|
|
18
18
|
export default _default;
|
|
@@ -5,5 +5,5 @@ interface ModalProps {
|
|
|
5
5
|
onClose?: (element: any) => void;
|
|
6
6
|
style?: CSSProperties;
|
|
7
7
|
}
|
|
8
|
-
declare const Modal: ({ children, open, onClose, style, }: ModalProps) => false | JSX.Element;
|
|
8
|
+
declare const Modal: ({ children, open, onClose, style, }: ModalProps) => false | import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export default Modal;
|
|
@@ -10,5 +10,5 @@ interface TransitionProps {
|
|
|
10
10
|
type: string;
|
|
11
11
|
transitionStyles?: TransitionStyles;
|
|
12
12
|
}
|
|
13
|
-
export default function Transtion({ children, type, transitionStyles, ...props }: TransitionProps): JSX.Element;
|
|
13
|
+
export default function Transtion({ children, type, transitionStyles, ...props }: TransitionProps): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export default function Wrapper({ children, options: { position }, containerStyle, ...props }: {
|
|
3
2
|
[x: string]: any;
|
|
4
3
|
children: any;
|
|
@@ -6,4 +5,4 @@ export default function Wrapper({ children, options: { position }, containerStyl
|
|
|
6
5
|
position: any;
|
|
7
6
|
};
|
|
8
7
|
containerStyle: any;
|
|
9
|
-
}): false | JSX.Element;
|
|
8
|
+
}): false | import("react/jsx-runtime").JSX.Element;
|
|
@@ -17,5 +17,5 @@ export interface ResizerProps {
|
|
|
17
17
|
disabled?: boolean;
|
|
18
18
|
}
|
|
19
19
|
type PositionChangeHandler = (data: Position) => void;
|
|
20
|
-
export default function Resizer(props: ResizerProps): JSX.Element;
|
|
20
|
+
export default function Resizer(props: ResizerProps): import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
export {};
|
|
@@ -4,5 +4,5 @@ interface ToggleButtonGroupProps {
|
|
|
4
4
|
value: string;
|
|
5
5
|
onChange?: (value: any) => void;
|
|
6
6
|
}
|
|
7
|
-
export default function ToggleButtonGroup({ children, value, onChange, }: ToggleButtonGroupProps): JSX.Element;
|
|
7
|
+
export default function ToggleButtonGroup({ children, value, onChange, }: ToggleButtonGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function ApodizationOptionsPanel(): JSX.Element;
|
|
1
|
+
export default function ApodizationOptionsPanel(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare function AutoPeakPickingOptionPanel(): JSX.Element;
|
|
2
|
+
declare function AutoPeakPickingOptionPanel(): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare const _default: import("react").MemoExoticComponent<typeof AutoPeakPickingOptionPanel>;
|
|
4
4
|
export default _default;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function BaseLineCorrectionPanel(): JSX.Element;
|
|
1
|
+
export default function BaseLineCorrectionPanel(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -100,7 +100,7 @@ function HeaderInner(props) {
|
|
|
100
100
|
alignItems: 'center',
|
|
101
101
|
}, children: [_jsx("div", { children: _jsx(Toolbar, { orientation: "horizontal", children: _jsx(AboutUsModal, {}) }) }), _jsx("div", { className: "toolOptionsPanel", style: { flex: 1 }, children: selectedPanel })] }), _jsxs(HeaderContainer, { style: {
|
|
102
102
|
alignItems: 'center',
|
|
103
|
-
}, children: [!hideGeneralSettings && (_jsx(DropDownButton, { data: workspacesList, selectedKey: workspace.current, onSelect: changeWorkspaceHandler, renderItem: renderItem })
|
|
103
|
+
}, children: [!hideGeneralSettings && (_jsxs(_Fragment, { children: [_jsx(DropDownButton, { data: workspacesList, selectedKey: workspace.current, onSelect: changeWorkspaceHandler, renderItem: renderItem }), _jsx(SaveButton, {})] })), !general?.hideLogs && _jsx(LogsHistory, {}), _jsx("div", { children: _jsxs(Toolbar, { orientation: "horizontal", children: [_jsx(Toolbar.Item, { id: "user-manual", title: "User manual", onClick: () => window.open(docsBaseUrl, '_blank'), children: _jsx(FaQuestionCircle, {}) }), !hideGeneralSettings && (_jsx(GeneralSettingsModal, { height: height / 2 })), !isFullscreen && (_jsx(Toolbar.Item, { id: "full-screen", onClick: onMaximize, title: "Full Screen", className: "windowButton", children: _jsx(FaRegWindowMaximize, {}) }))] }) })] })] }) }));
|
|
104
104
|
}
|
|
105
105
|
function SaveButton() {
|
|
106
106
|
const { workspace, workspaces, originalWorkspaces } = usePreferences();
|
|
@@ -3,5 +3,5 @@ interface HeaderContainerProps {
|
|
|
3
3
|
style?: CSSProperties;
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
}
|
|
6
|
-
export declare function HeaderContainer(props: HeaderContainerProps): JSX.Element;
|
|
6
|
+
export declare function HeaderContainer(props: HeaderContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function LogsHistory(): JSX.Element;
|
|
1
|
+
export declare function LogsHistory(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function PhaseCorrectionPanel(): JSX.Element;
|
|
1
|
+
export default function PhaseCorrectionPanel(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function ZeroFillingOptionsPanel(): JSX.Element;
|
|
1
|
+
export default function ZeroFillingOptionsPanel(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -47,7 +47,7 @@ interface HighlightContextProps {
|
|
|
47
47
|
}) => void;
|
|
48
48
|
remove: () => void;
|
|
49
49
|
}
|
|
50
|
-
export declare function HighlightProvider(props: any): JSX.Element;
|
|
50
|
+
export declare function HighlightProvider(props: any): import("react/jsx-runtime").JSX.Element;
|
|
51
51
|
export declare function useHighlightData(): HighlightContextProps;
|
|
52
52
|
/**
|
|
53
53
|
* @param {Array<string | number>} highlights
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Workspace } from '../workspaces/Workspace';
|
|
3
2
|
export declare function useSaveSettings(): {
|
|
4
3
|
saveSettings: (values?: Partial<Workspace>) => void;
|
|
5
|
-
SaveSettingsModal: () => JSX.Element;
|
|
4
|
+
SaveSettingsModal: () => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
};
|
|
@@ -5,5 +5,5 @@ interface NoDataProps {
|
|
|
5
5
|
emptyText?: ReactNode;
|
|
6
6
|
style?: CSSProperties;
|
|
7
7
|
}
|
|
8
|
-
declare function NoData({ isEmpty, emptyText, canOpenLoader, style, }: NoDataProps): JSX.Element | null;
|
|
8
|
+
declare function NoData({ isEmpty, emptyText, canOpenLoader, style, }: NoDataProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
9
|
export default NoData;
|
|
@@ -3,5 +3,5 @@ interface SpinnerProps {
|
|
|
3
3
|
isLoading?: boolean;
|
|
4
4
|
emptyText?: ReactNode;
|
|
5
5
|
}
|
|
6
|
-
declare function Spinner({ isLoading, emptyText }: SpinnerProps): JSX.Element;
|
|
6
|
+
declare function Spinner({ isLoading, emptyText }: SpinnerProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default Spinner;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
export declare function defaultGetSpinner(loadingText?: string): JSX.Element;
|
|
2
|
+
export declare function defaultGetSpinner(loadingText?: string): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export declare const spinnerContext: import("react").Context<(loadingText?: string) => ReactElement>;
|
|
4
4
|
export declare const SpinnerProvider: import("react").Provider<(loadingText?: string) => ReactElement>;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "@emotion/react/jsx-runtime";
|
|
2
|
+
/** @jsxImportSource @emotion/react */
|
|
3
|
+
import { css } from '@emotion/react';
|
|
4
|
+
import { FaInfo } from 'react-icons/fa';
|
|
5
|
+
import { Modal, useOnOff } from 'react-science/ui';
|
|
6
|
+
import Button from '../elements/Button';
|
|
7
|
+
const styles = css `
|
|
8
|
+
width: 600px;
|
|
9
|
+
|
|
10
|
+
.content {
|
|
11
|
+
padding: 2em;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
ul {
|
|
15
|
+
list-style-type: disc;
|
|
16
|
+
margin-left: 25px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
p,
|
|
20
|
+
li {
|
|
21
|
+
user-select: text;
|
|
22
|
+
font-size: 1.1em;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
a {
|
|
26
|
+
color: #00bcd4;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
a:hover,
|
|
30
|
+
a:focus {
|
|
31
|
+
text-decoration: underline;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.header span {
|
|
35
|
+
color: #464646;
|
|
36
|
+
font-size: 15px;
|
|
37
|
+
flex: 1;
|
|
38
|
+
user-select: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
p {
|
|
42
|
+
padding: 0.8em 0;
|
|
43
|
+
}
|
|
44
|
+
`;
|
|
45
|
+
function AboutPredictionModal() {
|
|
46
|
+
const [isOpenDialog, openDialog, closeDialog] = useOnOff(false);
|
|
47
|
+
return (_jsxs(_Fragment, { children: [_jsx(Button.BarButton, { onClick: openDialog, tooltipOrientation: "horizontal", toolTip: "About Prediction", children: _jsx(FaInfo, {}) }), _jsx(Modal, { hasCloseButton: true, isOpen: isOpenDialog, onRequestClose: closeDialog, children: _jsxs("div", { css: styles, children: [_jsx(Modal.Header, { children: _jsx("div", { className: "header", children: _jsx("span", { children: "About Prediction" }) }) }), _jsx(Modal.Body, { children: _jsxs("div", { className: "content", children: [_jsx("p", { children: "If you are using our tools please cite us:" }), _jsxs("ul", { children: [_jsxs("li", { children: ["Banfi, D.; Patiny, L.", ' ', _jsx("a", { href: "http://dx.doi.org/10.2533/chimia.2008.280", target: "_blank", rel: "noreferrer", children: "www.nmrdb.org: Resurrecting and processing NMR spectra on-line" }), ' ', "Chimia, 2008, 62(4), 280-281."] }), _jsxs("li", { children: ["Andr\u00E9s M. Castillo, Luc Patiny and Julien Wist.", ' ', _jsx("a", { href: "http://dx.doi.org/10.1016/j.jmr.2010.12.008", target: "_blank", rel: "noreferrer", children: "Fast and Accurate Algorithm for the Simulation of NMR spectra of Large Spin Systems" }), ". Journal of Magnetic Resonance 2011."] })] }), _jsx("p", { children: "1H NMR prediction was possible thanks to the tool of the FCT-Universidade NOVA de Lisboa developed by Yuri Binev and Joao Aires-de-Sousa:" }), _jsxs("ul", { children: [_jsxs("li", { children: ["Y. Binev, M.M. Marques, J. Aires-de-Sousa,", ' ', _jsx("a", { href: "http://dx.doi.org/10.1021/ci700172n", target: "_blank", rel: "noreferrer", children: "Prediction of 1H NMR coupling constants with associative neural networks trained for chemical shifts" }), ' ', "J. Chem. Inf. Model. 2007, 47/(6), 2089-2097."] }), _jsxs("li", { children: ["Aires-de-Sousa, M. Hemmer, J. Gasteiger,", ' ', _jsx("a", { href: "http://dx.doi.org/10.1021/ac010737m", target: "_blank", rel: "noreferrer", children: "\u201C Prediction of 1H NMR Chemical Shifts Using Neural Networks\u201D" }), ", Analytical Chemistry, 2002, 74(1), 80-90."] })] }), _jsx("p", { children: "13 NMR prediction was possible thanks to NMRshiftDB:" }), _jsx("ul", { children: _jsxs("li", { children: ["Steinbeck, Christoph, Stefan Krause, and Stefan Kuhn.", ' ', _jsx("a", { href: "http://dx.doi.org/10.1021/ci0341363", target: "_blank", rel: "noreferrer", children: "NMRShiftDB Constructing a Free Chemical Information System with Open-Source Components." }), ' ', "Journal of chemical information and computer sciences, 2003, 43(6): 1733-1739."] }) })] }) })] }) })] }));
|
|
48
|
+
}
|
|
49
|
+
export default AboutPredictionModal;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Spectrum } from 'nmr-load-save';
|
|
3
2
|
interface ExportAsJCAMPProps {
|
|
4
3
|
closeDialog: () => void;
|
|
5
4
|
spectrum: Spectrum;
|
|
6
5
|
}
|
|
7
|
-
declare function ExportAsJcampModal(props: ExportAsJCAMPProps): JSX.Element;
|
|
6
|
+
declare function ExportAsJcampModal(props: ExportAsJCAMPProps): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export default ExportAsJcampModal;
|
|
@@ -126,8 +126,13 @@ export default function MultipletAnalysisModal({ data, activeSpectrum, scaleX, s
|
|
|
126
126
|
try {
|
|
127
127
|
const result = analyseMultiplet(analysesProps, {
|
|
128
128
|
frequency: info.originFrequency,
|
|
129
|
+
minimalResolution: 0.3,
|
|
130
|
+
maxTestedJ: 17,
|
|
129
131
|
takeBestPartMultiplet: true,
|
|
130
|
-
|
|
132
|
+
correctVerticalOffset: true,
|
|
133
|
+
symmetrizeEachStep: false,
|
|
134
|
+
decreasingJvalues: true,
|
|
135
|
+
makeShortCutForSpeed: true,
|
|
131
136
|
debug: true,
|
|
132
137
|
});
|
|
133
138
|
setCalcFinished(true);
|
|
@@ -3,6 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "@emotion/reac
|
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
import { v4 } from '@lukeed/uuid';
|
|
5
5
|
import { Formik } from 'formik';
|
|
6
|
+
import { splitPatterns, translateMultiplet } from 'nmr-processing';
|
|
6
7
|
import { useMemo, useCallback, useRef } from 'react';
|
|
7
8
|
import { FaSearchPlus } from 'react-icons/fa';
|
|
8
9
|
import { useChartData } from '../../context/ChartContext';
|
|
@@ -13,7 +14,7 @@ import SaveButton from '../../elements/SaveButton';
|
|
|
13
14
|
import FormikOnChange from '../../elements/formik/FormikOnChange';
|
|
14
15
|
import { usePanelPreferences } from '../../hooks/usePanelPreferences';
|
|
15
16
|
import useSpectrum from '../../hooks/useSpectrum';
|
|
16
|
-
import { hasCouplingConstant
|
|
17
|
+
import { hasCouplingConstant } from '../../panels/extra/utilities/MultiplicityUtilities';
|
|
17
18
|
import { UPDATE_RANGE } from '../../reducer/types/Types';
|
|
18
19
|
import { formatNumber } from '../../utility/formatNumber';
|
|
19
20
|
import SignalsForm from './forms/components/SignalsForm';
|
|
@@ -97,7 +98,7 @@ function EditRangeModal({ onSaveEditRangeModal = () => null, onCloseEditRangeMod
|
|
|
97
98
|
let counterJ = 0;
|
|
98
99
|
const couplings = [];
|
|
99
100
|
if (signal.multiplicity) {
|
|
100
|
-
for (const multiplicity of signal.multiplicity
|
|
101
|
+
for (const multiplicity of splitPatterns(signal.multiplicity)) {
|
|
101
102
|
let js = {
|
|
102
103
|
multiplicity,
|
|
103
104
|
coupling: '',
|
|
@@ -2,12 +2,12 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "@emotion/reac
|
|
|
2
2
|
/** @jsxImportSource @emotion/react */
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
import { Formik, useFormikContext } from 'formik';
|
|
5
|
+
import { translateMultiplet } from 'nmr-processing';
|
|
5
6
|
import { forwardRef, useCallback, useMemo } from 'react';
|
|
6
7
|
import { FaPlus } from 'react-icons/fa';
|
|
7
8
|
import * as Yup from 'yup';
|
|
8
9
|
import Button from '../../../../elements/Button';
|
|
9
10
|
import FormikInput from '../../../../elements/formik/FormikInput';
|
|
10
|
-
import { translateMultiplet } from '../../../../panels/extra/utilities/MultiplicityUtilities';
|
|
11
11
|
import { formatNumber } from '../../../../utility/formatNumber';
|
|
12
12
|
const styles = {
|
|
13
13
|
container: css `
|
|
@@ -3,13 +3,14 @@ import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
import { useFormikContext } from 'formik';
|
|
5
5
|
import lodashGet from 'lodash/get';
|
|
6
|
+
import { translateMultiplet } from 'nmr-processing';
|
|
6
7
|
import { memo, useCallback } from 'react';
|
|
7
8
|
import { FaPlus, FaRegTrashAlt } from 'react-icons/fa';
|
|
8
9
|
import { Multiplets } from '../../../../../data/constants/Multiplets';
|
|
9
10
|
import Button from '../../../../elements/Button';
|
|
10
11
|
import FormikInput from '../../../../elements/formik/FormikInput';
|
|
11
12
|
import FormikSelect from '../../../../elements/formik/FormikSelect';
|
|
12
|
-
import { hasCouplingConstant
|
|
13
|
+
import { hasCouplingConstant } from '../../../../panels/extra/utilities/MultiplicityUtilities';
|
|
13
14
|
const CouplingsTableStyle = css `
|
|
14
15
|
border-spacing: 0;
|
|
15
16
|
border: 1px solid #dedede;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface DeltaInputProps {
|
|
3
2
|
signal: any;
|
|
4
3
|
index: number;
|
|
5
4
|
onFocus: (element: any) => void;
|
|
6
5
|
}
|
|
7
|
-
declare function DeltaInput({ signal, index, onFocus }: DeltaInputProps): JSX.Element;
|
|
6
|
+
declare function DeltaInput({ signal, index, onFocus }: DeltaInputProps): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export default DeltaInput;
|