nmrium 0.65.1 → 0.65.3-pre.1753283376
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/README.md +1 -19
- package/lib/component/1d/FloatPublicationString.d.ts.map +1 -1
- package/lib/component/1d/FloatPublicationString.js +1 -1
- package/lib/component/1d/FloatPublicationString.js.map +1 -1
- package/lib/component/1d/inset/DraggableInset.js.map +1 -1
- package/lib/component/1d/peaks/usePeakShapesPath.js +1 -1
- package/lib/component/1d/peaks/usePeakShapesPath.js.map +1 -1
- package/lib/component/1d/utilities/scale.d.ts +1 -1
- package/lib/component/1d/utilities/scale.d.ts.map +1 -1
- package/lib/component/1d/utilities/scale.js +1 -1
- package/lib/component/1d/utilities/scale.js.map +1 -1
- package/lib/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.js.map +1 -1
- package/lib/component/1d-2d/components/ViewerResponsiveWrapper.d.ts.map +1 -1
- package/lib/component/1d-2d/components/ViewerResponsiveWrapper.js.map +1 -1
- package/lib/component/1d-2d/tools/BrushXY.d.ts.map +1 -1
- package/lib/component/1d-2d/tools/BrushXY.js.map +1 -1
- package/lib/component/2d/BrushTracker2D.js.map +1 -1
- package/lib/component/2d/FooterBanner.js +1 -1
- package/lib/component/2d/FooterBanner.js.map +1 -1
- package/lib/component/2d/tools/XYLabelPointer.js +1 -1
- package/lib/component/2d/tools/XYLabelPointer.js.map +1 -1
- package/lib/component/2d/useTracesSpectra.d.ts +1 -1
- package/lib/component/2d/useTracesSpectra.d.ts.map +1 -1
- package/lib/component/2d/utilities/scale.d.ts +1 -1
- package/lib/component/2d/utilities/scale.d.ts.map +1 -1
- package/lib/component/2d/utilities/scale.js +1 -1
- package/lib/component/2d/utilities/scale.js.map +1 -1
- package/lib/component/EventsTrackers/MouseTracker.js +1 -1
- package/lib/component/EventsTrackers/MouseTracker.js.map +1 -1
- package/lib/component/elements/ContextMenuBluePrint.js +1 -1
- package/lib/component/elements/ContextMenuBluePrint.js.map +1 -1
- package/lib/component/elements/D3Axis.d.ts.map +1 -1
- package/lib/component/elements/D3Axis.js.map +1 -1
- package/lib/component/elements/DraggableDialog.js +1 -1
- package/lib/component/elements/DraggableDialog.js.map +1 -1
- package/lib/component/elements/Footer.d.ts +1 -1
- package/lib/component/elements/Footer.d.ts.map +1 -1
- package/lib/component/elements/Footer.js +1 -1
- package/lib/component/elements/Footer.js.map +1 -1
- package/lib/component/elements/Input.d.ts.map +1 -1
- package/lib/component/elements/NextPrev.js +1 -1
- package/lib/component/elements/SVGGroup.d.ts +1 -1
- package/lib/component/elements/SVGGroup.d.ts.map +1 -1
- package/lib/component/elements/Sections.d.ts +3 -1
- package/lib/component/elements/Sections.d.ts.map +1 -1
- package/lib/component/elements/Sections.js +135 -25
- package/lib/component/elements/Sections.js.map +1 -1
- package/lib/component/elements/StyledDialogBody.d.ts +1 -1
- package/lib/component/elements/TabsProvider.js +1 -1
- package/lib/component/elements/TabsProvider.js.map +1 -1
- package/lib/component/elements/ToolbarPopoverItem.d.ts +1 -1
- package/lib/component/elements/ToolbarPopoverItem.d.ts.map +1 -1
- package/lib/component/elements/export/units.d.ts.map +1 -1
- package/lib/component/elements/export/units.js.map +1 -1
- package/lib/component/elements/pdnd.cjs +12 -1
- package/lib/component/elements/pdnd.cjs.map +1 -1
- package/lib/component/elements/pdnd.d.cts +5 -0
- package/lib/component/elements/pdnd.d.cts.map +1 -1
- package/lib/component/elements/resizer/useResizer.d.ts.map +1 -1
- package/lib/component/header/base/BaseSimpleApodizationOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/base/BaseSimpleApodizationOptionsPanel.js.map +1 -1
- package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.d.ts.map +1 -1
- package/lib/component/header/base/BaseSimpleZeroFillingOptionsPanel.js.map +1 -1
- package/lib/component/hooks/usePanelPreferences.d.ts.map +1 -1
- package/lib/component/hooks/usePanelPreferences.js +1 -1
- package/lib/component/hooks/usePanelPreferences.js.map +1 -1
- package/lib/component/hooks/useVerticalAlign.d.ts +1 -1
- package/lib/component/loader/useLoadFiles.d.ts.map +1 -1
- package/lib/component/loader/useLoadFiles.js +3 -3
- package/lib/component/loader/useLoadFiles.js.map +1 -1
- package/lib/component/main/InnerNMRium.js +2 -2
- package/lib/component/main/InnerNMRium.js.map +1 -1
- package/lib/component/main/NMRium.d.ts +1 -1
- package/lib/component/main/NMRium.d.ts.map +1 -1
- package/lib/component/main/NMRiumStateProvider.js +1 -1
- package/lib/component/main/NMRiumStateProvider.js.map +1 -1
- package/lib/component/main/types.d.ts +2 -2
- package/lib/component/main/types.d.ts.map +1 -1
- package/lib/component/modal/PublicationStringModal.js.map +1 -1
- package/lib/component/modal/changeSum/SelectMolecule.js.map +1 -1
- package/lib/component/modal/metaImportation/MetaImportationModal.js +1 -1
- package/lib/component/modal/metaImportation/MetaImportationModal.js.map +1 -1
- package/lib/component/modal/setting/GeneralSettings.d.ts.map +1 -1
- package/lib/component/modal/setting/GeneralSettings.js.map +1 -1
- package/lib/component/modal/setting/settingsValidation.js.map +1 -1
- package/lib/component/panels/MoleculesPanel/useAtomAssignment.js.map +1 -1
- package/lib/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.js.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.d.ts.map +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.js +1 -1
- package/lib/component/panels/SummaryPanel/CorrelationTable/Constants.js.map +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts +1 -1
- package/lib/component/panels/SummaryPanel/utilities/Utilities.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.d.ts.map +1 -1
- package/lib/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.js +1 -1
- package/lib/component/panels/databasePanel/DatabasePreferences.js.map +1 -1
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts +1 -1
- package/lib/component/panels/databasePanel/DatabaseSearchOptions.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js +6 -6
- package/lib/component/panels/filtersPanel/Filters/FiltersSectionsPanel.js.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.d.ts.map +1 -1
- package/lib/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.js.map +1 -1
- package/lib/component/panels/multipleAnalysisPanel/preferences/index.js.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionPanel.d.ts.map +1 -1
- package/lib/component/panels/predictionPanel/PredictionPanel.js +17 -13
- package/lib/component/panels/predictionPanel/PredictionPanel.js.map +1 -1
- package/lib/component/reducer/Reducer.d.ts +1 -1
- package/lib/component/reducer/Reducer.d.ts.map +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.d.ts +1 -1
- package/lib/component/reducer/actions/CorrelationsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DatabaseActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DomainActions.d.ts +1 -1
- package/lib/component/reducer/actions/DomainActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/DomainActions.js +1 -1
- package/lib/component/reducer/actions/DomainActions.js.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.d.ts +3 -3
- package/lib/component/reducer/actions/FiltersActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/FiltersActions.js +2 -4
- package/lib/component/reducer/actions/FiltersActions.js.map +1 -1
- package/lib/component/reducer/actions/InsetActions.d.ts +1 -1
- package/lib/component/reducer/actions/InsetActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/InsetActions.js +2 -2
- package/lib/component/reducer/actions/InsetActions.js.map +1 -1
- package/lib/component/reducer/actions/IntegralsActions.d.ts +1 -1
- package/lib/component/reducer/actions/IntegralsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/IntegralsActions.js +1 -1
- package/lib/component/reducer/actions/IntegralsActions.js.map +1 -1
- package/lib/component/reducer/actions/LoadActions.d.ts +1 -1
- package/lib/component/reducer/actions/LoadActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/LoadActions.js +1 -1
- package/lib/component/reducer/actions/LoadActions.js.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts +1 -1
- package/lib/component/reducer/actions/MoleculeActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/MoleculeActions.js +2 -2
- package/lib/component/reducer/actions/MoleculeActions.js.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.d.ts +1 -1
- package/lib/component/reducer/actions/PeaksActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/PeaksActions.js +1 -1
- package/lib/component/reducer/actions/PeaksActions.js.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.d.ts +1 -1
- package/lib/component/reducer/actions/PreferencesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/PreferencesActions.js +1 -1
- package/lib/component/reducer/actions/PreferencesActions.js.map +1 -1
- package/lib/component/reducer/actions/RangesActions.d.ts +1 -1
- package/lib/component/reducer/actions/RangesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/RangesActions.js +1 -1
- package/lib/component/reducer/actions/RangesActions.js.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts +1 -1
- package/lib/component/reducer/actions/SpectraActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/SpectraActions.js +1 -1
- package/lib/component/reducer/actions/SpectraActions.js.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.d.ts +1 -1
- package/lib/component/reducer/actions/ToolsActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ToolsActions.js +2 -2
- package/lib/component/reducer/actions/ToolsActions.js.map +1 -1
- package/lib/component/reducer/actions/ZonesActions.d.ts +2 -2
- package/lib/component/reducer/actions/ZonesActions.d.ts.map +1 -1
- package/lib/component/reducer/actions/ZonesActions.js +1 -1
- package/lib/component/reducer/actions/ZonesActions.js.map +1 -1
- package/lib/component/reducer/helper/Zoom1DManager.d.ts +1 -1
- package/lib/component/reducer/helper/Zoom1DManager.d.ts.map +1 -1
- package/lib/component/reducer/helper/Zoom1DManager.js +1 -1
- package/lib/component/reducer/helper/Zoom1DManager.js.map +1 -1
- package/lib/component/reducer/preferences/actions/changeExportSettings.d.ts +1 -1
- package/lib/component/reducer/preferences/actions/changeExportSettings.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/changePrintPageSettings.d.ts +1 -1
- package/lib/component/reducer/preferences/actions/changePrintPageSettings.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts +1 -1
- package/lib/component/reducer/preferences/actions/matrixGeneration.d.ts.map +1 -1
- package/lib/component/reducer/preferences/actions/matrixGeneration.js +1 -1
- package/lib/component/reducer/preferences/actions/matrixGeneration.js.map +1 -1
- package/lib/component/reducer/preferences/actions/toggleInformationBlock.d.ts +1 -1
- package/lib/component/reducer/preferences/actions/toggleInformationBlock.d.ts.map +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.d.ts.map +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js +1 -1
- package/lib/component/reducer/preferences/panelsPreferencesDefaultValues.js.map +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.d.ts +1 -1
- package/lib/component/reducer/preferences/preferencesReducer.d.ts.map +1 -1
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts +1 -1
- package/lib/component/reducer/preferences/utilities/mapWorkspaces.d.ts.map +1 -1
- package/lib/component/toolbar/ToolBar.js.map +1 -1
- package/lib/component/utility/export.d.ts +1 -1
- package/lib/component/utility/export.d.ts.map +1 -1
- package/lib/component/utility/export.js +5 -11
- package/lib/component/utility/export.js.map +1 -1
- package/lib/data/SpectraManager.d.ts.map +1 -1
- package/lib/data/SpectraManager.js +5 -11
- package/lib/data/SpectraManager.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/index.d.ts +1 -1
- package/lib/data/data1d/Spectrum1D/index.d.ts.map +1 -1
- package/lib/data/data1d/Spectrum1D/index.js +1 -1
- package/lib/data/data1d/Spectrum1D/index.js.map +1 -1
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts +1 -1
- package/lib/data/data1d/Spectrum1D/isSpectrum1D.d.ts.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.d.ts.map +1 -1
- package/lib/data/data1d/multipleSpectraAnalysis.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.d.ts +1 -1
- package/lib/data/data2d/Spectrum2D/contours.d.ts.map +1 -1
- package/lib/data/data2d/Spectrum2D/contours.js +1 -1
- package/lib/data/data2d/Spectrum2D/contours.js.map +1 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts +1 -1
- package/lib/data/data2d/Spectrum2D/isSpectrum2D.d.ts.map +1 -1
- package/lib/data/parseMeta/index.d.ts +1 -1
- package/lib/data/parseMeta/index.d.ts.map +1 -1
- package/lib/data/parseMeta/index.js +1 -1
- package/lib/data/parseMeta/index.js.map +1 -1
- package/lib/data/parseMeta/isMetaFile.d.ts +2 -2
- package/lib/data/parseMeta/isMetaFile.d.ts.map +1 -1
- package/lib/data/parseMeta/isMetaFile.js.map +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.d.ts +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.d.ts.map +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.js +1 -1
- package/lib/data/parseMeta/linkMetaWithSpectra.js.map +1 -1
- package/lib/data/parseMeta/parseMetaFile.d.ts +2 -2
- package/lib/data/parseMeta/parseMetaFile.d.ts.map +1 -1
- package/lib/data/parseMeta/parseMetaFile.js.map +1 -1
- package/lib/data/utilities/FindUtilities.d.ts +1 -1
- package/lib/data/utilities/FindUtilities.d.ts.map +1 -1
- package/lib/versionInfo.d.ts.map +1 -1
- package/lib/versionInfo.js +1 -1
- package/lib/versionInfo.js.map +1 -1
- package/package.json +29 -27
- package/src/component/1d/FloatPublicationString.tsx +3 -1
- package/src/component/1d/SpectraLegends.tsx +1 -1
- package/src/component/1d/inset/DraggableInset.tsx +1 -1
- package/src/component/1d/peaks/usePeakShapesPath.ts +1 -1
- package/src/component/1d/utilities/scale.ts +4 -4
- package/src/component/1d-2d/components/FloatMoleculeStructures/DraggableStructure.tsx +1 -1
- package/src/component/1d-2d/components/FloatMoleculeStructures/FloatMolecules.tsx +1 -1
- package/src/component/1d-2d/components/ViewerResponsiveWrapper.tsx +1 -1
- package/src/component/1d-2d/tools/BrushXY.tsx +1 -1
- package/src/component/2d/BrushTracker2D.tsx +1 -1
- package/src/component/2d/FooterBanner.tsx +1 -1
- package/src/component/2d/tools/XYLabelPointer.tsx +1 -1
- package/src/component/2d/useTracesSpectra.ts +1 -1
- package/src/component/2d/utilities/scale.ts +3 -3
- package/src/component/EventsTrackers/MouseTracker.tsx +1 -1
- package/src/component/assignment/AssignmentProvider.tsx +1 -1
- package/src/component/elements/ContextMenuBluePrint.tsx +1 -1
- package/src/component/elements/D3Axis.tsx +1 -1
- package/src/component/elements/DraggableDialog.tsx +1 -1
- package/src/component/elements/Footer.tsx +1 -1
- package/src/component/elements/Input.tsx +1 -1
- package/src/component/elements/NextPrev.tsx +1 -1
- package/src/component/elements/SVGGroup.tsx +1 -1
- package/src/component/elements/Sections.tsx +199 -36
- package/src/component/elements/TabsProvider.tsx +1 -1
- package/src/component/elements/ToolbarPopoverItem.tsx +1 -1
- package/src/component/elements/export/units.ts +1 -1
- package/src/component/elements/pdnd.cts +8 -0
- package/src/component/elements/resizer/useResizer.tsx +1 -1
- package/src/component/header/base/BaseSimpleApodizationOptionsPanel.tsx +1 -1
- package/src/component/header/base/BaseSimpleZeroFillingOptionsPanel.tsx +1 -1
- package/src/component/hooks/usePanelPreferences.ts +5 -5
- package/src/component/loader/useLoadFiles.ts +7 -5
- package/src/component/main/InnerNMRium.tsx +2 -2
- package/src/component/main/NMRium.tsx +1 -1
- package/src/component/main/NMRiumStateProvider.tsx +1 -1
- package/src/component/main/types.ts +2 -2
- package/src/component/modal/PublicationStringModal.tsx +1 -1
- package/src/component/modal/changeSum/SelectMolecule.tsx +1 -1
- package/src/component/modal/metaImportation/MetaImportationModal.tsx +1 -1
- package/src/component/modal/setting/GeneralSettings.tsx +1 -1
- package/src/component/modal/setting/settingsValidation.ts +1 -1
- package/src/component/panels/AutomaticAssignment/useAutoAssignments.ts +1 -1
- package/src/component/panels/MoleculesPanel/useAtomAssignment.tsx +3 -3
- package/src/component/panels/SpectraPanel/SpectraPanelHeader.tsx +1 -1
- package/src/component/panels/SpectraPanel/base/setting/Spectrum2DSetting.tsx +1 -1
- package/src/component/panels/SummaryPanel/CorrelationTable/Constants.ts +1 -1
- package/src/component/panels/SummaryPanel/utilities/Utilities.ts +1 -1
- package/src/component/panels/ZonesPanel/TableColumns/SignalAssignmentsColumns.tsx +1 -1
- package/src/component/panels/databasePanel/DatabasePreferences.tsx +1 -1
- package/src/component/panels/databasePanel/DatabaseSearchOptions.tsx +2 -2
- package/src/component/panels/filtersPanel/Filters/FiltersSectionsPanel.tsx +7 -6
- package/src/component/panels/filtersPanel/Filters/base/BaseZeroFillingOptions.tsx +1 -1
- package/src/component/panels/multipleAnalysisPanel/preferences/index.tsx +1 -1
- package/src/component/panels/predictionPanel/PredictionPanel.tsx +34 -27
- package/src/component/reducer/Reducer.ts +1 -1
- package/src/component/reducer/actions/CorrelationsActions.ts +2 -2
- package/src/component/reducer/actions/DatabaseActions.ts +1 -1
- package/src/component/reducer/actions/DomainActions.ts +5 -5
- package/src/component/reducer/actions/FiltersActions.ts +29 -32
- package/src/component/reducer/actions/InsetActions.ts +7 -7
- package/src/component/reducer/actions/IntegralsActions.ts +3 -3
- package/src/component/reducer/actions/LoadActions.ts +1 -1
- package/src/component/reducer/actions/MoleculeActions.ts +5 -5
- package/src/component/reducer/actions/PeaksActions.ts +3 -3
- package/src/component/reducer/actions/PreferencesActions.ts +1 -1
- package/src/component/reducer/actions/RangesActions.ts +17 -17
- package/src/component/reducer/actions/SpectraActions.ts +7 -7
- package/src/component/reducer/actions/ToolsActions.ts +13 -13
- package/src/component/reducer/actions/ZonesActions.ts +11 -11
- package/src/component/reducer/helper/Zoom1DManager.ts +1 -1
- package/src/component/reducer/preferences/actions/changeExportSettings.ts +1 -1
- package/src/component/reducer/preferences/actions/changePrintPageSettings.ts +1 -1
- package/src/component/reducer/preferences/actions/matrixGeneration.ts +2 -2
- package/src/component/reducer/preferences/actions/toggleInformationBlock.ts +1 -1
- package/src/component/reducer/preferences/panelsPreferencesDefaultValues.ts +6 -6
- package/src/component/reducer/preferences/preferencesReducer.ts +1 -1
- package/src/component/reducer/preferences/utilities/mapWorkspaces.ts +1 -1
- package/src/component/toolbar/ToolBar.tsx +1 -1
- package/src/component/utility/export.ts +7 -13
- package/src/data/SpectraManager.ts +5 -12
- package/src/data/data1d/Spectrum1D/index.ts +2 -2
- package/src/data/data1d/Spectrum1D/isSpectrum1D.ts +1 -1
- package/src/data/data1d/multipleSpectraAnalysis.ts +5 -5
- package/src/data/data2d/Spectrum2D/contours.ts +2 -2
- package/src/data/data2d/Spectrum2D/isSpectrum2D.ts +1 -1
- package/src/data/parseMeta/index.ts +1 -1
- package/src/data/parseMeta/isMetaFile.ts +2 -2
- package/src/data/parseMeta/linkMetaWithSpectra.ts +1 -1
- package/src/data/parseMeta/parseMetaFile.ts +2 -2
- package/src/data/utilities/FindUtilities.ts +1 -1
- package/src/index.tsx +1 -1
- package/src/versionInfo.ts +1 -1
|
@@ -168,9 +168,9 @@ function changeMatrixGenerationStocsyChemicalShift(
|
|
|
168
168
|
|
|
169
169
|
export {
|
|
170
170
|
addExclusionZone,
|
|
171
|
+
changeMatrixGenerationScale,
|
|
172
|
+
changeMatrixGenerationStocsyChemicalShift,
|
|
171
173
|
deleteExclusionZone,
|
|
172
174
|
setMatrixGenerationOptions,
|
|
173
175
|
toggleMatrixGenerationViewProperty,
|
|
174
|
-
changeMatrixGenerationScale,
|
|
175
|
-
changeMatrixGenerationStocsyChemicalShift,
|
|
176
176
|
};
|
|
@@ -222,13 +222,13 @@ const getMatrixGenerationDefaultValues = (
|
|
|
222
222
|
};
|
|
223
223
|
|
|
224
224
|
export {
|
|
225
|
-
getSpectraDefaultValues,
|
|
226
|
-
getPeaksDefaultValues,
|
|
227
|
-
getIntegralDefaultValues,
|
|
228
|
-
getRangeDefaultValues,
|
|
229
|
-
getZoneDefaultValues,
|
|
230
225
|
databaseDefaultValues,
|
|
231
|
-
|
|
226
|
+
getIntegralDefaultValues,
|
|
232
227
|
getMatrixGenerationDefaultOptions,
|
|
233
228
|
getMatrixGenerationDefaultValues,
|
|
229
|
+
getMultipleSpectraAnalysisDefaultValues,
|
|
230
|
+
getPeaksDefaultValues,
|
|
231
|
+
getRangeDefaultValues,
|
|
232
|
+
getSpectraDefaultValues,
|
|
233
|
+
getZoneDefaultValues,
|
|
234
234
|
};
|
|
@@ -4,8 +4,8 @@ import type {
|
|
|
4
4
|
MultipleSpectraAnalysisPreferences,
|
|
5
5
|
PanelPreferencesType,
|
|
6
6
|
PrintPageOptions,
|
|
7
|
-
Workspace,
|
|
8
7
|
WorkSpaceSource,
|
|
8
|
+
Workspace,
|
|
9
9
|
} from '@zakodium/nmrium-core';
|
|
10
10
|
import { CURRENT_EXPORT_VERSION, migrateSettings } from '@zakodium/nmrium-core';
|
|
11
11
|
import type { Draft } from 'immer';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { WorkSpaceSource, Workspace } from '@zakodium/nmrium-core';
|
|
2
2
|
import lodashMerge from 'lodash/merge.js';
|
|
3
3
|
|
|
4
4
|
import { workspaceDefaultProperties } from '../../../workspaces/workspaceDefaultProperties.js';
|
|
@@ -51,8 +51,8 @@ import { LoadJCAMPModal } from '../modal/LoadJCAMPModal.js';
|
|
|
51
51
|
import SaveAsModal from '../modal/SaveAsModal.js';
|
|
52
52
|
import { MetaImportationModal } from '../modal/metaImportation/MetaImportationModal.js';
|
|
53
53
|
|
|
54
|
-
import { options } from './ToolTypes.js';
|
|
55
54
|
import type { Tool } from './ToolTypes.js';
|
|
55
|
+
import { options } from './ToolTypes.js';
|
|
56
56
|
import { EXPORT_MENU, IMPORT_MENU } from './toolbarMenu.js';
|
|
57
57
|
|
|
58
58
|
interface BaseToolItem extends Pick<ToolbarItemProps, 'icon' | 'disabled'> {
|
|
@@ -4,9 +4,9 @@ import type {
|
|
|
4
4
|
JpathTableColumn,
|
|
5
5
|
SpectraTableColumn,
|
|
6
6
|
} from '@zakodium/nmrium-core';
|
|
7
|
+
import { BlobWriter, TextReader, ZipWriter } from '@zip.js/zip.js';
|
|
7
8
|
import dlv from 'dlv';
|
|
8
9
|
import fileSaver from 'file-saver';
|
|
9
|
-
import JSZip from 'jszip';
|
|
10
10
|
|
|
11
11
|
export const browserNotSupportedErrorToast: ToastProps = {
|
|
12
12
|
message:
|
|
@@ -38,15 +38,9 @@ async function exportAsJSON(
|
|
|
38
38
|
fileSaver.saveAs(blob, `${fileName}.nmrium`);
|
|
39
39
|
} else {
|
|
40
40
|
try {
|
|
41
|
-
const zip = new
|
|
42
|
-
zip.
|
|
43
|
-
const blob = await zip.
|
|
44
|
-
type: 'blob',
|
|
45
|
-
compression: 'DEFLATE',
|
|
46
|
-
compressionOptions: {
|
|
47
|
-
level: 9,
|
|
48
|
-
},
|
|
49
|
-
});
|
|
41
|
+
const zip = new ZipWriter(new BlobWriter());
|
|
42
|
+
await zip.add(`${fileName}.nmrium`, new TextReader(fileData));
|
|
43
|
+
const blob = await zip.close();
|
|
50
44
|
fileSaver.saveAs(blob, `${fileName}.nmrium`);
|
|
51
45
|
} catch (error) {
|
|
52
46
|
// TODO: handle error.
|
|
@@ -431,10 +425,10 @@ function getBlob(targetElementID: string, options: GetBlobOptions): BlobObject {
|
|
|
431
425
|
}
|
|
432
426
|
|
|
433
427
|
export {
|
|
434
|
-
exportAsSVG,
|
|
435
|
-
exportAsJSON,
|
|
436
|
-
exportAsPng,
|
|
437
428
|
copyPNGToClipboard,
|
|
429
|
+
exportAsJSON,
|
|
438
430
|
exportAsMatrix,
|
|
431
|
+
exportAsPng,
|
|
432
|
+
exportAsSVG,
|
|
439
433
|
getBlob,
|
|
440
434
|
};
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
processJCAMPDX,
|
|
10
10
|
spectrum1DToJCAMPDX,
|
|
11
11
|
} from '@zakodium/nmrium-core-plugins';
|
|
12
|
+
import { BlobWriter, TextReader, ZipWriter } from '@zip.js/zip.js';
|
|
12
13
|
import fileSaver from 'file-saver';
|
|
13
|
-
import JSZip from 'jszip';
|
|
14
14
|
import * as OCL from 'openchemlib';
|
|
15
15
|
|
|
16
16
|
import type { State } from '../component/reducer/Reducer.js';
|
|
@@ -202,24 +202,17 @@ export async function exportForCT(options: ExportForCTOptions) {
|
|
|
202
202
|
throw new Error('Failed to convert the 1D spectrum to JCAMP');
|
|
203
203
|
}
|
|
204
204
|
const name = spectrum.info.name;
|
|
205
|
-
const zip = new
|
|
205
|
+
const zip = new ZipWriter(new BlobWriter());
|
|
206
206
|
|
|
207
207
|
//add jcamp file
|
|
208
|
-
zip.
|
|
208
|
+
await zip.add(`${name}.dx`, new TextReader(jcamp));
|
|
209
209
|
//add mol file
|
|
210
210
|
const { molfile } = molecules[0];
|
|
211
211
|
const molecule = OCL.Molecule.fromMolfile(molfile);
|
|
212
212
|
const molFileName = molecule.getMolecularFormula().formula;
|
|
213
213
|
|
|
214
|
-
zip.
|
|
215
|
-
|
|
216
|
-
const blob = await zip.generateAsync({
|
|
217
|
-
type: 'blob',
|
|
218
|
-
compression: 'DEFLATE',
|
|
219
|
-
compressionOptions: {
|
|
220
|
-
level: 9,
|
|
221
|
-
},
|
|
222
|
-
});
|
|
214
|
+
await zip.add(`${molFileName}.mol`, new TextReader(molecule.toMolfile()));
|
|
223
215
|
|
|
216
|
+
const blob = await zip.close();
|
|
224
217
|
fileSaver.saveAs(blob, name);
|
|
225
218
|
}
|
|
@@ -13,9 +13,9 @@ export { detectRange } from './ranges/detectRange.js';
|
|
|
13
13
|
export { detectRanges } from './ranges/detectRanges.js';
|
|
14
14
|
export { resurrectSpectrumFromRanges } from './ranges/resurrectSpectrum.js';
|
|
15
15
|
export {
|
|
16
|
-
mapRanges,
|
|
17
16
|
getShiftX,
|
|
18
|
-
|
|
17
|
+
mapRanges,
|
|
19
18
|
updateIntegralsRelativeValues,
|
|
19
|
+
updateRangesRelativeValues,
|
|
20
20
|
} from 'nmr-processing';
|
|
21
21
|
export { get1DColor } from './get1DColor.js';
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ANALYSIS_COLUMN_TYPES,
|
|
3
|
-
ANALYSIS_COLUMN_VALUES_KEYS,
|
|
4
|
-
} from '@zakodium/nmrium-core';
|
|
5
1
|
import type {
|
|
6
2
|
AnalysisColumnsValuesKeys,
|
|
7
3
|
AnalysisOptions,
|
|
@@ -10,10 +6,14 @@ import type {
|
|
|
10
6
|
PanelsPreferences,
|
|
11
7
|
SpectraAnalysisColumn,
|
|
12
8
|
SpectraAnalysisColumns,
|
|
13
|
-
Spectrum,
|
|
14
9
|
Spectrum1D,
|
|
10
|
+
Spectrum,
|
|
15
11
|
WorkSpacePanelPreferences,
|
|
16
12
|
} from '@zakodium/nmrium-core';
|
|
13
|
+
import {
|
|
14
|
+
ANALYSIS_COLUMN_TYPES,
|
|
15
|
+
ANALYSIS_COLUMN_VALUES_KEYS,
|
|
16
|
+
} from '@zakodium/nmrium-core';
|
|
17
17
|
import dlv from 'dlv';
|
|
18
18
|
|
|
19
19
|
import type { RangeDetectionResult } from '../types/data1d/index.js';
|
|
@@ -260,9 +260,9 @@ function calculateValueOfLevel(level: number, max: number, invert = false) {
|
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
export {
|
|
263
|
-
|
|
263
|
+
DEFAULT_CONTOURS_OPTIONS,
|
|
264
264
|
contoursManager,
|
|
265
|
+
drawContours,
|
|
265
266
|
getDefaultContoursLevel,
|
|
266
|
-
DEFAULT_CONTOURS_OPTIONS,
|
|
267
267
|
};
|
|
268
268
|
export type { LevelSign };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Spectrum2D, Spectrum } from '@zakodium/nmrium-core';
|
|
2
2
|
import type { NmrData2D, NmrData2DFid, NmrData2DFt } from 'cheminfo-types';
|
|
3
3
|
|
|
4
4
|
export function isSpectrum2D(spectrum: Spectrum): spectrum is Spectrum2D {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { isMetaFile } from './isMetaFile.js';
|
|
2
2
|
export { mapErrors } from './mapErrors.js';
|
|
3
3
|
export { parseMetaFile } from './parseMetaFile.js';
|
|
4
|
-
export {
|
|
4
|
+
export { TargetPathError, linkMetaWithSpectra } from './linkMetaWithSpectra.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FileItem } from 'file-collection';
|
|
2
2
|
|
|
3
|
-
export function isMetaFile(file: File |
|
|
3
|
+
export function isMetaFile(file: File | FileItem) {
|
|
4
4
|
if (file instanceof File) {
|
|
5
5
|
return ['text/csv', 'text/tsv', 'text/plain'].includes(file?.type);
|
|
6
6
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FileItem } from 'file-collection';
|
|
2
2
|
import type { ParseResult } from 'papaparse';
|
|
3
3
|
import papa from 'papaparse';
|
|
4
4
|
|
|
5
5
|
export async function parseMetaFile(
|
|
6
|
-
file:
|
|
6
|
+
file: FileItem | File,
|
|
7
7
|
): Promise<ParseResult<any>> {
|
|
8
8
|
const data = file instanceof File ? file : await file.text();
|
|
9
9
|
return new Promise((complete, error) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Range, Signal1D, Signal2D, Zone } from '@zakodium/nmr-types';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Spectrum1D, Spectrum2D, Spectrum } from '@zakodium/nmrium-core';
|
|
3
3
|
|
|
4
4
|
function findSpectrum(
|
|
5
5
|
spectraData: Spectrum[],
|
package/src/index.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FocusStyleManager } from '@blueprintjs/core';
|
|
2
2
|
import { createRoot } from 'react-dom/client';
|
|
3
|
-
import { HashRouter,
|
|
3
|
+
import { HashRouter, Route, Routes } from 'react-router-dom';
|
|
4
4
|
|
|
5
5
|
import Main from './demo/layouts/Main.js';
|
|
6
6
|
import TestHighlight from './demo/test/TestHighlight.js';
|
package/src/versionInfo.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default { version: 'v0.65.
|
|
1
|
+
export default { version: 'v0.65.3-pre.1753283376' };
|