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,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare function Chart1D({ mode, width, height, margin, displayerKey }: {
|
|
3
2
|
mode: any;
|
|
4
3
|
width: any;
|
|
5
4
|
height: any;
|
|
6
5
|
margin: any;
|
|
7
6
|
displayerKey: any;
|
|
8
|
-
}): JSX.Element;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export default Chart1D;
|
|
@@ -2,5 +2,5 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
interface Viewer1DProps {
|
|
3
3
|
emptyText?: ReactNode;
|
|
4
4
|
}
|
|
5
|
-
declare function Viewer1D({ emptyText }: Viewer1DProps): JSX.Element;
|
|
5
|
+
declare function Viewer1D({ emptyText }: Viewer1DProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default Viewer1D;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface IntegralProps {
|
|
3
2
|
integral: {
|
|
4
3
|
id: string;
|
|
@@ -9,5 +8,5 @@ interface IntegralProps {
|
|
|
9
8
|
isActive: boolean;
|
|
10
9
|
nucleus: string;
|
|
11
10
|
}
|
|
12
|
-
declare function Integral({ integral, isActive, nucleus }: IntegralProps): JSX.Element;
|
|
11
|
+
declare function Integral({ integral, isActive, nucleus }: IntegralProps): import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
export default Integral;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface IntegralIndicatorProps {
|
|
3
2
|
value: number | undefined;
|
|
4
3
|
format: string;
|
|
5
4
|
width: number;
|
|
6
5
|
opacity?: number;
|
|
7
6
|
}
|
|
8
|
-
export declare function IntegralIndicator(props: IntegralIndicatorProps): JSX.Element;
|
|
7
|
+
export declare function IntegralIndicator(props: IntegralIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function JGraph(): JSX.Element | null;
|
|
1
|
+
export default function JGraph(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function JGraphVerticalAxis(): JSX.Element | null;
|
|
1
|
+
export declare function JGraphVerticalAxis(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface JsCouplingProps {
|
|
3
2
|
value: number;
|
|
4
3
|
}
|
|
5
|
-
export default function JsCoupling({ value }: JsCouplingProps): JSX.Element | null;
|
|
4
|
+
export default function JsCoupling({ value }: JsCouplingProps): import("react/jsx-runtime").JSX.Element | null;
|
|
6
5
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CouplingLink } from '../../../data/data1d/Spectrum1D/generateJGraphData';
|
|
3
2
|
interface JsCouplingLinksProps {
|
|
4
3
|
links: CouplingLink[];
|
|
5
4
|
}
|
|
6
|
-
export default function JsCouplingLinks(props: JsCouplingLinksProps): JSX.Element;
|
|
5
|
+
export default function JsCouplingLinks(props: JsCouplingLinksProps): import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Signal1D } from 'nmr-load-save';
|
|
3
2
|
interface JsCouplingsProps {
|
|
4
3
|
signals: Signal1D[];
|
|
5
4
|
}
|
|
6
|
-
export default function JsCouplings(props: JsCouplingsProps): JSX.Element;
|
|
5
|
+
export default function JsCouplings(props: JsCouplingsProps): import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function MultiAnalysisRanges(): JSX.Element;
|
|
1
|
+
export default function MultiAnalysisRanges(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Signal1D } from 'nmr-load-save';
|
|
3
2
|
interface LevelNodeProps {
|
|
4
3
|
signal: Signal1D;
|
|
5
4
|
startY: number;
|
|
6
5
|
levelHeight: number;
|
|
7
6
|
}
|
|
8
|
-
declare function LevelNode({ signal, startY, levelHeight }: LevelNodeProps): JSX.Element;
|
|
7
|
+
declare function LevelNode({ signal, startY, levelHeight }: LevelNodeProps): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export default LevelNode;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
2
2
|
/** @jsxImportSource @emotion/react */
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
|
+
import { checkMultiplicity } from 'nmr-processing';
|
|
4
5
|
import { useMemo } from 'react';
|
|
5
6
|
import { useAssignment, } from '../../assignment/AssignmentsContext';
|
|
6
7
|
import { useChartData } from '../../context/ChartContext';
|
|
7
8
|
import { useScaleChecked } from '../../context/ScaleContext';
|
|
8
9
|
import { HighlightEventSource, useHighlight } from '../../highlight';
|
|
9
10
|
import useSpectrum from '../../hooks/useSpectrum';
|
|
10
|
-
import { hasCouplingConstant
|
|
11
|
+
import { hasCouplingConstant } from '../../panels/extra/utilities/MultiplicityUtilities';
|
|
11
12
|
import { AssignmentActionsButtons } from '../ranges/AssignmentActionsButtons';
|
|
12
13
|
import LevelNode from './LevelNode';
|
|
13
14
|
import StringNode from './StringNode';
|
|
@@ -7,5 +7,5 @@ interface StringNodeProps {
|
|
|
7
7
|
fontSize: CSSProperties['fontSize'];
|
|
8
8
|
showLabels: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare function StringNode({ signal, startY, levelHeight, fontSize, showLabels, }: StringNodeProps): JSX.Element;
|
|
10
|
+
declare function StringNode({ signal, startY, levelHeight, fontSize, showLabels, }: StringNodeProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export default StringNode;
|
|
@@ -17,5 +17,5 @@ interface TreeNodesProps {
|
|
|
17
17
|
fontSize: CSSProperties['fontSize'];
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
declare function TreeNodes({ nodesData, levelHeight, startY, signalID, labelOptions, showLabels, }: TreeNodesProps): JSX.Element;
|
|
20
|
+
declare function TreeNodes({ nodesData, levelHeight, startY, signalID, labelOptions, showLabels, }: TreeNodesProps): import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
export default TreeNodes;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ButtonProps } from '../../elements/Button';
|
|
3
2
|
export interface AssignmentActionsButtonsProps extends Omit<ButtonProps, 'children' | 'onClick'> {
|
|
4
3
|
isActive: boolean;
|
|
@@ -8,4 +7,4 @@ export interface AssignmentActionsButtonsProps extends Omit<ButtonProps, 'childr
|
|
|
8
7
|
onAssign: ButtonProps['onClick'];
|
|
9
8
|
onUnAssign: ButtonProps['onClick'];
|
|
10
9
|
}
|
|
11
|
-
export declare function AssignmentActionsButtons(props: AssignmentActionsButtonsProps): JSX.Element;
|
|
10
|
+
export declare function AssignmentActionsButtons(props: AssignmentActionsButtonsProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface IntegralProps {
|
|
3
2
|
range: {
|
|
4
3
|
id: string;
|
|
@@ -7,5 +6,5 @@ interface IntegralProps {
|
|
|
7
6
|
integral?: number;
|
|
8
7
|
};
|
|
9
8
|
}
|
|
10
|
-
declare function RangeIntegral({ range }: IntegralProps): JSX.Element;
|
|
9
|
+
declare function RangeIntegral({ range }: IntegralProps): import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export default RangeIntegral;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function Ranges(): JSX.Element | null;
|
|
1
|
+
export default function Ranges(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Zones, Ranges } from 'nmr-load-save';
|
|
3
2
|
import { MoleculesView, StateMoleculeExtended } from '../../../../data/molecules/Molecule';
|
|
4
3
|
import { DISPLAYER_MODE } from '../../../reducer/core/Constants';
|
|
@@ -10,6 +9,6 @@ interface FloatMoleculeStructuresProps {
|
|
|
10
9
|
activeTab: string;
|
|
11
10
|
displayerMode: DISPLAYER_MODE;
|
|
12
11
|
}
|
|
13
|
-
export declare function FloatMoleculeStructuresInner(props: FloatMoleculeStructuresProps): JSX.Element | null;
|
|
14
|
-
export default function FloatMoleculeStructures(): JSX.Element;
|
|
12
|
+
export declare function FloatMoleculeStructuresInner(props: FloatMoleculeStructuresProps): import("react/jsx-runtime").JSX.Element | null;
|
|
13
|
+
export default function FloatMoleculeStructures(): import("react/jsx-runtime").JSX.Element;
|
|
15
14
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function BrushX(): JSX.Element | null;
|
|
1
|
+
export default function BrushX(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const BRUSH_TYPE: {
|
|
3
2
|
X: number;
|
|
4
3
|
Y: number;
|
|
@@ -15,5 +14,5 @@ interface BrushXYProps {
|
|
|
15
14
|
width?: number;
|
|
16
15
|
height?: number;
|
|
17
16
|
}
|
|
18
|
-
export default function BrushXY({ brushType, dimensionBorder, width: widthProps, height: heightProps, }: BrushXYProps): JSX.Element | null;
|
|
17
|
+
export default function BrushXY({ brushType, dimensionBorder, width: widthProps, height: heightProps, }: BrushXYProps): import("react/jsx-runtime").JSX.Element | null;
|
|
19
18
|
export {};
|
|
@@ -7,6 +7,6 @@ interface HorizontalSliceChartProps {
|
|
|
7
7
|
};
|
|
8
8
|
reverseScale?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare function HorizontalSliceChart({ margin: marginProps, data, reverseScale, }: HorizontalSliceChartProps): JSX.Element | null;
|
|
10
|
+
declare function HorizontalSliceChart({ margin: marginProps, data, reverseScale, }: HorizontalSliceChartProps): import("react/jsx-runtime").JSX.Element | null;
|
|
11
11
|
declare const _default: import("react").MemoExoticComponent<typeof HorizontalSliceChart>;
|
|
12
12
|
export default _default;
|
|
@@ -4,6 +4,6 @@ interface Left1DChartProps {
|
|
|
4
4
|
margin?: number;
|
|
5
5
|
data: Spectrum1D;
|
|
6
6
|
}
|
|
7
|
-
declare function Left1DChart({ margin: marginValue, data: spectrum, }: Left1DChartProps): JSX.Element | null;
|
|
7
|
+
declare function Left1DChart({ margin: marginValue, data: spectrum, }: Left1DChartProps): import("react/jsx-runtime").JSX.Element | null;
|
|
8
8
|
declare const _default: import("react").MemoExoticComponent<typeof Left1DChart>;
|
|
9
9
|
export default _default;
|
|
@@ -4,6 +4,6 @@ interface Top1DChartProps {
|
|
|
4
4
|
margin?: number;
|
|
5
5
|
data: Spectrum1D;
|
|
6
6
|
}
|
|
7
|
-
declare function Top1DChart({ margin: marginProps, data: spectrum, }: Top1DChartProps): JSX.Element | null;
|
|
7
|
+
declare function Top1DChart({ margin: marginProps, data: spectrum, }: Top1DChartProps): import("react/jsx-runtime").JSX.Element | null;
|
|
8
8
|
declare const _default: import("react").MemoExoticComponent<typeof Top1DChart>;
|
|
9
9
|
export default _default;
|
|
@@ -7,6 +7,6 @@ interface VerticalSliceChartProps {
|
|
|
7
7
|
};
|
|
8
8
|
reverseScale?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare function VerticalSliceChart({ margin: marginValue, data, reverseScale, }: VerticalSliceChartProps): JSX.Element | null;
|
|
10
|
+
declare function VerticalSliceChart({ margin: marginValue, data, reverseScale, }: VerticalSliceChartProps): import("react/jsx-runtime").JSX.Element | null;
|
|
11
11
|
declare const _default: import("react").MemoExoticComponent<typeof VerticalSliceChart>;
|
|
12
12
|
export default _default;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Spectrum1D } from 'nmr-load-save';
|
|
3
2
|
interface Chart2DProps {
|
|
4
3
|
spectra?: Spectrum1D[];
|
|
5
4
|
}
|
|
6
|
-
export default function Chart2D({ spectra }: Chart2DProps): JSX.Element;
|
|
5
|
+
export default function Chart2D({ spectra }: Chart2DProps): import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export {};
|
|
@@ -2,7 +2,7 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
interface Viewer2DProps {
|
|
3
3
|
emptyText: ReactNode;
|
|
4
4
|
}
|
|
5
|
-
declare function Viewer2D({ emptyText }: Viewer2DProps): JSX.Element;
|
|
5
|
+
declare function Viewer2D({ emptyText }: Viewer2DProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
interface ViewerResponsiveWrapperProps {
|
|
7
7
|
width: number;
|
|
8
8
|
height: number;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function FidCanvas(): JSX.Element | null;
|
|
1
|
+
export declare function FidCanvas(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function FidContainer(): JSX.Element | null;
|
|
1
|
+
export declare function FidContainer(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function Contours(): JSX.Element;
|
|
1
|
+
export default function Contours(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -27,12 +27,6 @@ function usePath(spectrum, contours) {
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
else {
|
|
31
|
-
pathBuilder.moveTo(_scaleX(element[0].x + shift.x), _scaleY(element[0].y + shift.y));
|
|
32
|
-
for (let j = 1; j < element.length; j++) {
|
|
33
|
-
pathBuilder.lineTo(_scaleX(element[j].x + shift.x), _scaleY(element[j].y + shift.y));
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
30
|
}
|
|
37
31
|
pathBuilder.closePath();
|
|
38
32
|
return pathBuilder.toString();
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Spectrum1D } from 'nmr-load-save';
|
|
3
2
|
interface FTContainerProps {
|
|
4
3
|
spectra?: Spectrum1D[];
|
|
5
4
|
}
|
|
6
|
-
export declare function FTContainer(props: FTContainerProps): JSX.Element | null;
|
|
5
|
+
export declare function FTContainer(props: FTContainerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
7
6
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function Zones(): JSX.Element;
|
|
1
|
+
export default function Zones(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -20,5 +20,5 @@ interface BrushTrackerProps {
|
|
|
20
20
|
onClick?: (element: any) => void;
|
|
21
21
|
noPropagation?: boolean;
|
|
22
22
|
}
|
|
23
|
-
export declare function BrushTracker({ children, className, style, onBrush, onZoom, onDoubleClick, onClick, noPropagation, }: BrushTrackerProps): JSX.Element;
|
|
23
|
+
export declare function BrushTracker({ children, className, style, onBrush, onZoom, onDoubleClick, onClick, noPropagation, }: BrushTrackerProps): import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
export {};
|
|
@@ -7,5 +7,5 @@ interface MouseTrackerProps {
|
|
|
7
7
|
style?: CSSProperties;
|
|
8
8
|
noPropagation?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export declare function MouseTracker({ children, className, style, noPropagation, }: MouseTrackerProps): JSX.Element;
|
|
10
|
+
export declare function MouseTracker({ children, className, style, noPropagation, }: MouseTrackerProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { CorrelationData } from 'nmr-correlation';
|
|
3
3
|
import { Source, NmriumState, Spectrum } from 'nmr-load-save';
|
|
4
4
|
import { ReactElement, ReactNode } from 'react';
|
|
5
|
+
import { ErrorBoundaryPropsWithComponent } from 'react-error-boundary';
|
|
5
6
|
import { BlobObject } from './utility/export';
|
|
6
7
|
import { CustomWorkspaces, WorkspacePreferences as NMRiumPreferences } from './workspaces/Workspace';
|
|
7
8
|
export { serializeNmriumState } from 'nmr-load-save';
|
|
@@ -12,6 +13,7 @@ export type OnNMRiumChange = (state: NmriumState, source: 'data' | 'view' | 'set
|
|
|
12
13
|
export interface NMRiumProps {
|
|
13
14
|
data?: NMRiumData;
|
|
14
15
|
onChange?: OnNMRiumChange;
|
|
16
|
+
onError?: ErrorBoundaryPropsWithComponent['onError'];
|
|
15
17
|
workspace?: NMRiumWorkspace;
|
|
16
18
|
customWorkspaces?: CustomWorkspaces;
|
|
17
19
|
preferences?: NMRiumPreferences;
|
package/lib/component/NMRium.js
CHANGED
|
@@ -3,9 +3,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
import { readNMRiumObject } from 'nmr-load-save';
|
|
5
5
|
import { useEffect, useCallback, useReducer, useMemo, useRef, memo, forwardRef, useImperativeHandle, } from 'react';
|
|
6
|
-
import { ErrorBoundary } from 'react-error-boundary';
|
|
7
|
-
import { RootLayout } from 'react-science/ui';
|
|
8
|
-
import {
|
|
6
|
+
import { ErrorBoundary, } from 'react-error-boundary';
|
|
7
|
+
import { RootLayout, useOnOff } from 'react-science/ui';
|
|
8
|
+
import { useFullscreen } from 'react-use';
|
|
9
9
|
import { toJSON } from '../data/SpectraManager';
|
|
10
10
|
import checkModifierKeyActivated from '../data/utilities/checkModifierKeyActivated';
|
|
11
11
|
import Viewer1D from './1d/Viewer1D';
|
|
@@ -80,21 +80,20 @@ const defaultData = {
|
|
|
80
80
|
spectra: [],
|
|
81
81
|
};
|
|
82
82
|
const NMRium = forwardRef(function NMRium(props, ref) {
|
|
83
|
-
|
|
83
|
+
const { onError, ...otherProps } = props;
|
|
84
|
+
return (_jsx(RootLayout, { style: { width: '100%' }, children: _jsx(ErrorBoundary, { FallbackComponent: ErrorOverlay, onError: onError, children: _jsx(InnerNMRium, { ...otherProps, innerRef: ref }) }) }));
|
|
84
85
|
});
|
|
85
86
|
function InnerNMRium({ data: dataProp = defaultData, workspace, customWorkspaces, preferences, getSpinner = defaultGetSpinner, onChange, emptyText, innerRef, }) {
|
|
86
87
|
const rootRef = useRef(null);
|
|
87
88
|
const elementsWrapperRef = useRef(null);
|
|
88
89
|
const viewerRef = useRef(null);
|
|
89
|
-
const [show, toggle] =
|
|
90
|
+
const [show, , setOff, toggle] = useOnOff(false);
|
|
90
91
|
const handleChange = useRef(onChange);
|
|
91
92
|
useEffect(() => {
|
|
92
93
|
handleChange.current = onChange;
|
|
93
94
|
}, [onChange]);
|
|
94
95
|
const isFullscreen = useFullscreen(rootRef, show, {
|
|
95
|
-
onClose:
|
|
96
|
-
toggle(false);
|
|
97
|
-
},
|
|
96
|
+
onClose: setOff,
|
|
98
97
|
});
|
|
99
98
|
const [state, dispatch] = useReducer(spectrumReducer, initialState, initState);
|
|
100
99
|
const [preferencesState, dispatchPreferences] = useReducer(preferencesReducer, preferencesInitialState, initPreferencesState);
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function AssignmentProvider(props: any): JSX.Element;
|
|
1
|
+
export declare function AssignmentProvider(props: any): import("react/jsx-runtime").JSX.Element;
|
|
@@ -15,5 +15,5 @@ export declare function useLogger(): {
|
|
|
15
15
|
interface LoggerProviderProps {
|
|
16
16
|
children: ReactNode;
|
|
17
17
|
}
|
|
18
|
-
export declare function LoggerProvider({ children }: LoggerProviderProps): JSX.Element;
|
|
18
|
+
export declare function LoggerProvider({ children }: LoggerProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
export {};
|
|
@@ -6,5 +6,5 @@ interface ActionButtonsProps {
|
|
|
6
6
|
cancelLabel?: string;
|
|
7
7
|
style?: CSSProperties;
|
|
8
8
|
}
|
|
9
|
-
export default function ActionButtons(props: ActionButtonsProps): JSX.Element;
|
|
9
|
+
export default function ActionButtons(props: ActionButtonsProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -5,5 +5,5 @@ interface ButtonToolTipProps extends Omit<InputHTMLAttributes<HTMLButtonElement>
|
|
|
5
5
|
style?: CSSProperties;
|
|
6
6
|
children?: ReactNode;
|
|
7
7
|
}
|
|
8
|
-
declare function ButtonToolTip({ children, style, onClick, popupTitle, popupPlacement, ...props }: ButtonToolTipProps): JSX.Element;
|
|
8
|
+
declare function ButtonToolTip({ children, style, onClick, popupTitle, popupPlacement, ...props }: ButtonToolTipProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export default ButtonToolTip;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FormikCheckBoxProps } from './formik/FormikCheckBox';
|
|
3
|
-
export declare function CheckBoxCell(props: FormikCheckBoxProps): JSX.Element;
|
|
2
|
+
export declare function CheckBoxCell(props: FormikCheckBoxProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,6 +5,6 @@ interface CloseButtonProps {
|
|
|
5
5
|
popupPlacement?: string;
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
|
-
declare function CloseButton(props: CloseButtonProps): JSX.Element;
|
|
8
|
+
declare function CloseButton(props: CloseButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
declare const _default: import("react").MemoExoticComponent<typeof CloseButton>;
|
|
10
10
|
export default _default;
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
interface ColumnWrapperProps extends React.InputHTMLAttributes<HTMLDivElement> {
|
|
3
3
|
stopPropagation?: boolean;
|
|
4
4
|
}
|
|
5
|
-
export declare function ColumnWrapper(props: ColumnWrapperProps): JSX.Element;
|
|
5
|
+
export declare function ColumnWrapper(props: ColumnWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface DeleteButtonProps {
|
|
3
2
|
onDelete?: () => void;
|
|
4
3
|
fill?: string;
|
|
5
4
|
x: string | number;
|
|
6
5
|
y: string | number;
|
|
7
6
|
}
|
|
8
|
-
declare function DeleteButton(props: DeleteButtonProps): JSX.Element;
|
|
7
|
+
declare function DeleteButton(props: DeleteButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export default DeleteButton;
|
|
@@ -9,5 +9,5 @@ interface GroupPaneProps {
|
|
|
9
9
|
children: ReactNode;
|
|
10
10
|
renderHeader?: (text: string) => ReactNode;
|
|
11
11
|
}
|
|
12
|
-
export declare function GroupPane(props: GroupPaneProps): JSX.Element;
|
|
12
|
+
export declare function GroupPane(props: GroupPaneProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -2,5 +2,5 @@ import { HTMLAttributes } from 'react';
|
|
|
2
2
|
interface IsotopesViewerProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
value?: string;
|
|
4
4
|
}
|
|
5
|
-
declare function IsotopesViewer({ value, ...othersProps }: IsotopesViewerProps): JSX.Element;
|
|
5
|
+
declare function IsotopesViewer({ value, ...othersProps }: IsotopesViewerProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default IsotopesViewer;
|