react-cheminfo 0.65.0 → 0.67.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/README.md +33 -17
- package/lib/download/ui/FigureDownloadPanel.d.ts +7 -1
- package/lib/download/ui/FigureDownloadPanel.d.ts.map +1 -1
- package/lib/download/ui/FigureDownloadPanel.js +2 -2
- package/lib/download/ui/FigureDownloadPanel.js.map +1 -1
- package/lib/ecosystem/core/sites.js +3 -3
- package/lib/ecosystem/core/sites.js.map +1 -1
- package/lib/ecosystem/core/types.d.ts +1 -1
- package/lib/ecosystem/core/types.d.ts.map +1 -1
- package/lib/ecosystem/ui/glyphs.js +1 -1
- package/lib/ecosystem/ui/glyphs.js.map +1 -1
- package/lib/i18n/core/chromeCatalog.d.ts +1 -1
- package/lib/i18n/core/chromeCatalog.d.ts.map +1 -1
- package/lib/i18n/core/messageCatalog.d.ts +2 -2
- package/lib/i18n/vite/localeCatalog.d.ts +1 -1
- package/lib/ir/core/analysisSpectra.d.ts +23 -6
- package/lib/ir/core/analysisSpectra.d.ts.map +1 -1
- package/lib/ir/core/analysisSpectra.js.map +1 -1
- package/lib/ir/core/bandLabelPlan.d.ts.map +1 -1
- package/lib/ir/core/bandLabelPlan.js +11 -6
- package/lib/ir/core/bandLabelPlan.js.map +1 -1
- package/lib/ir/core/index.d.ts +15 -11
- package/lib/ir/core/index.d.ts.map +1 -1
- package/lib/ir/core/index.js +9 -6
- package/lib/ir/core/index.js.map +1 -1
- package/lib/ir/core/irBand.d.ts +45 -14
- package/lib/ir/core/irBand.d.ts.map +1 -1
- package/lib/ir/core/irBand.js +28 -6
- package/lib/ir/core/irBand.js.map +1 -1
- package/lib/ir/core/irCommands.d.ts +11 -0
- package/lib/ir/core/irCommands.d.ts.map +1 -1
- package/lib/ir/core/irCommands.js +11 -1
- package/lib/ir/core/irCommands.js.map +1 -1
- package/lib/ir/core/irDomain.d.ts +4 -3
- package/lib/ir/core/irDomain.d.ts.map +1 -1
- package/lib/ir/core/irDomain.js +10 -7
- package/lib/ir/core/irDomain.js.map +1 -1
- package/lib/ir/core/irEditorApi.d.ts +12 -0
- package/lib/ir/core/irEditorApi.d.ts.map +1 -1
- package/lib/ir/core/irFormat.d.ts +14 -2
- package/lib/ir/core/irFormat.d.ts.map +1 -1
- package/lib/ir/core/irFormat.js +33 -4
- package/lib/ir/core/irFormat.js.map +1 -1
- package/lib/ir/core/irMode.d.ts +35 -8
- package/lib/ir/core/irMode.d.ts.map +1 -1
- package/lib/ir/core/irMode.js +38 -10
- package/lib/ir/core/irMode.js.map +1 -1
- package/lib/ir/core/irReducer.d.ts +2 -30
- package/lib/ir/core/irReducer.d.ts.map +1 -1
- package/lib/ir/core/irReducer.js +1 -24
- package/lib/ir/core/irReducer.js.map +1 -1
- package/lib/ir/core/irSidePanels.d.ts +7 -1
- package/lib/ir/core/irSidePanels.d.ts.map +1 -1
- package/lib/ir/core/irSpectrum.d.ts +52 -26
- package/lib/ir/core/irSpectrum.d.ts.map +1 -1
- package/lib/ir/core/irSpectrum.js +21 -15
- package/lib/ir/core/irSpectrum.js.map +1 -1
- package/lib/ir/core/irState.d.ts +46 -5
- package/lib/ir/core/irState.d.ts.map +1 -1
- package/lib/ir/core/irState.js +38 -1
- package/lib/ir/core/irState.js.map +1 -1
- package/lib/ir/core/irTechnique.d.ts +94 -0
- package/lib/ir/core/irTechnique.d.ts.map +1 -0
- package/lib/ir/core/irTechnique.js +87 -0
- package/lib/ir/core/irTechnique.js.map +1 -0
- package/lib/ir/core/irTechniqueCommands.d.ts +26 -0
- package/lib/ir/core/irTechniqueCommands.d.ts.map +1 -0
- package/lib/ir/core/irTechniqueCommands.js +68 -0
- package/lib/ir/core/irTechniqueCommands.js.map +1 -0
- package/lib/ir/core/pickBands.d.ts +6 -5
- package/lib/ir/core/pickBands.d.ts.map +1 -1
- package/lib/ir/core/pickBands.js +49 -26
- package/lib/ir/core/pickBands.js.map +1 -1
- package/lib/ir/core/ramanBands.d.ts +30 -0
- package/lib/ir/core/ramanBands.d.ts.map +1 -0
- package/lib/ir/core/ramanBands.js +83 -0
- package/lib/ir/core/ramanBands.js.map +1 -0
- package/lib/ir/core/spectrumJcamp.d.ts +10 -5
- package/lib/ir/core/spectrumJcamp.d.ts.map +1 -1
- package/lib/ir/core/spectrumJcamp.js +63 -15
- package/lib/ir/core/spectrumJcamp.js.map +1 -1
- package/lib/ir/core/toIrSpectrum.d.ts.map +1 -1
- package/lib/ir/core/toIrSpectrum.js +17 -2
- package/lib/ir/core/toIrSpectrum.js.map +1 -1
- package/lib/ir/ui/BandRow.d.ts +30 -0
- package/lib/ir/ui/BandRow.d.ts.map +1 -0
- package/lib/ir/ui/BandRow.js +42 -0
- package/lib/ir/ui/BandRow.js.map +1 -0
- package/lib/ir/ui/BandsPanel.d.ts +4 -0
- package/lib/ir/ui/BandsPanel.d.ts.map +1 -1
- package/lib/ir/ui/BandsPanel.js +14 -59
- package/lib/ir/ui/BandsPanel.js.map +1 -1
- package/lib/ir/ui/IrAboutDialog.d.ts +7 -0
- package/lib/ir/ui/IrAboutDialog.d.ts.map +1 -1
- package/lib/ir/ui/IrAboutDialog.js +16 -3
- package/lib/ir/ui/IrAboutDialog.js.map +1 -1
- package/lib/ir/ui/IrCanvas.d.ts +7 -0
- package/lib/ir/ui/IrCanvas.d.ts.map +1 -1
- package/lib/ir/ui/IrCanvas.js +9 -4
- package/lib/ir/ui/IrCanvas.js.map +1 -1
- package/lib/ir/ui/IrChart.d.ts +2 -1
- package/lib/ir/ui/IrChart.d.ts.map +1 -1
- package/lib/ir/ui/IrChart.js +22 -21
- package/lib/ir/ui/IrChart.js.map +1 -1
- package/lib/ir/ui/IrCommandProvider.d.ts +7 -0
- package/lib/ir/ui/IrCommandProvider.d.ts.map +1 -1
- package/lib/ir/ui/IrCommandProvider.js +2 -2
- package/lib/ir/ui/IrCommandProvider.js.map +1 -1
- package/lib/ir/ui/IrCommandTooltip.d.ts +7 -0
- package/lib/ir/ui/IrCommandTooltip.d.ts.map +1 -1
- package/lib/ir/ui/IrCommandTooltip.js +3 -2
- package/lib/ir/ui/IrCommandTooltip.js.map +1 -1
- package/lib/ir/ui/IrDocumentationDialog.d.ts +8 -1
- package/lib/ir/ui/IrDocumentationDialog.d.ts.map +1 -1
- package/lib/ir/ui/IrDocumentationDialog.js +30 -7
- package/lib/ir/ui/IrDocumentationDialog.js.map +1 -1
- package/lib/ir/ui/IrEditor.d.ts +25 -5
- package/lib/ir/ui/IrEditor.d.ts.map +1 -1
- package/lib/ir/ui/IrEditor.js +3 -20
- package/lib/ir/ui/IrEditor.js.map +1 -1
- package/lib/ir/ui/IrHeader.d.ts.map +1 -1
- package/lib/ir/ui/IrHeader.js +5 -1
- package/lib/ir/ui/IrHeader.js.map +1 -1
- package/lib/ir/ui/IrLogo.d.ts +11 -3
- package/lib/ir/ui/IrLogo.d.ts.map +1 -1
- package/lib/ir/ui/IrLogo.js +14 -5
- package/lib/ir/ui/IrLogo.js.map +1 -1
- package/lib/ir/ui/IrShell.d.ts +9 -1
- package/lib/ir/ui/IrShell.d.ts.map +1 -1
- package/lib/ir/ui/IrShell.js +26 -74
- package/lib/ir/ui/IrShell.js.map +1 -1
- package/lib/ir/ui/IrSidePanel.d.ts +11 -0
- package/lib/ir/ui/IrSidePanel.d.ts.map +1 -1
- package/lib/ir/ui/IrSidePanel.js +12 -3
- package/lib/ir/ui/IrSidePanel.js.map +1 -1
- package/lib/ir/ui/IrStatusBar.d.ts +3 -2
- package/lib/ir/ui/IrStatusBar.d.ts.map +1 -1
- package/lib/ir/ui/IrStatusBar.js +14 -9
- package/lib/ir/ui/IrStatusBar.js.map +1 -1
- package/lib/ir/ui/IrToolbar.d.ts +3 -0
- package/lib/ir/ui/IrToolbar.d.ts.map +1 -1
- package/lib/ir/ui/IrToolbar.js +10 -3
- package/lib/ir/ui/IrToolbar.js.map +1 -1
- package/lib/ir/ui/IrTraces.d.ts +4 -1
- package/lib/ir/ui/IrTraces.d.ts.map +1 -1
- package/lib/ir/ui/IrTraces.js +2 -0
- package/lib/ir/ui/IrTraces.js.map +1 -1
- package/lib/ir/ui/RamanEditor.d.ts +64 -0
- package/lib/ir/ui/RamanEditor.d.ts.map +1 -0
- package/lib/ir/ui/RamanEditor.js +17 -0
- package/lib/ir/ui/RamanEditor.js.map +1 -0
- package/lib/ir/ui/SpectraPanel.d.ts.map +1 -1
- package/lib/ir/ui/SpectraPanel.js +2 -2
- package/lib/ir/ui/SpectraPanel.js.map +1 -1
- package/lib/ir/ui/SpectrumRow.d.ts +7 -0
- package/lib/ir/ui/SpectrumRow.d.ts.map +1 -1
- package/lib/ir/ui/SpectrumRow.js +4 -5
- package/lib/ir/ui/SpectrumRow.js.map +1 -1
- package/lib/ir/ui/VibrationalEditor.d.ts +62 -0
- package/lib/ir/ui/VibrationalEditor.d.ts.map +1 -0
- package/lib/ir/ui/VibrationalEditor.js +33 -0
- package/lib/ir/ui/VibrationalEditor.js.map +1 -0
- package/lib/ir/ui/bandsTsv.d.ts +19 -0
- package/lib/ir/ui/bandsTsv.d.ts.map +1 -0
- package/lib/ir/ui/bandsTsv.js +38 -0
- package/lib/ir/ui/bandsTsv.js.map +1 -0
- package/lib/ir/ui/index.d.ts +1 -0
- package/lib/ir/ui/index.d.ts.map +1 -1
- package/lib/ir/ui/index.js.map +1 -1
- package/lib/ir/ui/irActions.d.ts +3 -3
- package/lib/ir/ui/irActions.d.ts.map +1 -1
- package/lib/ir/ui/irChartProps.d.ts +21 -4
- package/lib/ir/ui/irChartProps.d.ts.map +1 -1
- package/lib/ir/ui/irChartProps.js +3 -2
- package/lib/ir/ui/irChartProps.js.map +1 -1
- package/lib/ir/ui/irCommandContext.d.ts +8 -0
- package/lib/ir/ui/irCommandContext.d.ts.map +1 -1
- package/lib/ir/ui/irCommandContext.js +14 -3
- package/lib/ir/ui/irCommandContext.js.map +1 -1
- package/lib/ir/ui/irHostPanels.d.ts +53 -0
- package/lib/ir/ui/irHostPanels.d.ts.map +1 -0
- package/lib/ir/ui/irHostPanels.js +41 -0
- package/lib/ir/ui/irHostPanels.js.map +1 -0
- package/lib/ir/ui/useIrEditor.d.ts +3 -3
- package/lib/ir/ui/useIrEditor.d.ts.map +1 -1
- package/lib/ir/ui/useIrEditor.js +13 -4
- package/lib/ir/ui/useIrEditor.js.map +1 -1
- package/lib/ir/ui/useIrHandle.d.ts +14 -0
- package/lib/ir/ui/useIrHandle.d.ts.map +1 -0
- package/lib/ir/ui/useIrHandle.js +39 -0
- package/lib/ir/ui/useIrHandle.js.map +1 -0
- package/lib/ir/ui/useIrSide.d.ts +27 -0
- package/lib/ir/ui/useIrSide.d.ts.map +1 -0
- package/lib/ir/ui/useIrSide.js +42 -0
- package/lib/ir/ui/useIrSide.js.map +1 -0
- package/lib/ir/ui/useIrText.d.ts +40 -0
- package/lib/ir/ui/useIrText.d.ts.map +1 -0
- package/lib/ir/ui/useIrText.js +118 -0
- package/lib/ir/ui/useIrText.js.map +1 -0
- package/lib/ir/ui/useIrZoom.d.ts +15 -0
- package/lib/ir/ui/useIrZoom.d.ts.map +1 -1
- package/lib/ir/ui/useIrZoom.js +6 -4
- package/lib/ir/ui/useIrZoom.js.map +1 -1
- package/lib/ir/ui/useValueAxisZoom.d.ts +20 -0
- package/lib/ir/ui/useValueAxisZoom.d.ts.map +1 -0
- package/lib/ir/ui/useValueAxisZoom.js +54 -0
- package/lib/ir/ui/useValueAxisZoom.js.map +1 -0
- package/lib/ir.d.ts +3 -0
- package/lib/ir.d.ts.map +1 -1
- package/lib/ir.js +3 -0
- package/lib/ir.js.map +1 -1
- package/lib/locales/de.json +29 -2
- package/lib/locales/en.json +29 -2
- package/lib/locales/es.json +29 -2
- package/lib/locales/fr.json +29 -2
- package/lib/locales/it.json +29 -2
- package/lib/molecule3d/core/animatedPng.d.ts +25 -0
- package/lib/molecule3d/core/animatedPng.d.ts.map +1 -0
- package/lib/molecule3d/core/animatedPng.js +59 -0
- package/lib/molecule3d/core/animatedPng.js.map +1 -0
- package/lib/molecule3d/core/file.d.ts +24 -0
- package/lib/molecule3d/core/file.d.ts.map +1 -0
- package/lib/molecule3d/core/file.js +2 -0
- package/lib/molecule3d/core/file.js.map +1 -0
- package/lib/molecule3d/core/index.d.ts +4 -1
- package/lib/molecule3d/core/index.d.ts.map +1 -1
- package/lib/molecule3d/core/index.js +1 -0
- package/lib/molecule3d/core/index.js.map +1 -1
- package/lib/molecule3d/core/settings.d.ts +0 -7
- package/lib/molecule3d/core/settings.d.ts.map +1 -1
- package/lib/molecule3d/core/settings.js.map +1 -1
- package/lib/molecule3d/ui/Molecule3DExport.d.ts +10 -2
- package/lib/molecule3d/ui/Molecule3DExport.d.ts.map +1 -1
- package/lib/molecule3d/ui/Molecule3DExport.js +15 -2
- package/lib/molecule3d/ui/Molecule3DExport.js.map +1 -1
- package/lib/molecule3d/ui/Molecule3DToolbar.js +9 -2
- package/lib/molecule3d/ui/Molecule3DToolbar.js.map +1 -1
- package/lib/molecule3d/ui/MoleculeCanvas3D.d.ts.map +1 -1
- package/lib/molecule3d/ui/MoleculeCanvas3D.js +23 -41
- package/lib/molecule3d/ui/MoleculeCanvas3D.js.map +1 -1
- package/lib/molecule3d/ui/drawScene.d.ts +2 -1
- package/lib/molecule3d/ui/drawScene.d.ts.map +1 -1
- package/lib/molecule3d/ui/drawScene.js.map +1 -1
- package/lib/molecule3d/ui/exportMoleculeImage.d.ts +15 -1
- package/lib/molecule3d/ui/exportMoleculeImage.d.ts.map +1 -1
- package/lib/molecule3d/ui/exportMoleculeImage.js +14 -2
- package/lib/molecule3d/ui/exportMoleculeImage.js.map +1 -1
- package/lib/molecule3d/ui/moleculeFrames.d.ts +47 -0
- package/lib/molecule3d/ui/moleculeFrames.d.ts.map +1 -0
- package/lib/molecule3d/ui/moleculeFrames.js +65 -0
- package/lib/molecule3d/ui/moleculeFrames.js.map +1 -0
- package/lib/molecule3d/ui/moleculeViewer3DProps.d.ts +14 -1
- package/lib/molecule3d/ui/moleculeViewer3DProps.d.ts.map +1 -1
- package/lib/molecule3d/ui/renderMolecule.d.ts +3 -3
- package/lib/molecule3d/ui/renderMolecule.d.ts.map +1 -1
- package/lib/molecule3d/ui/renderMolecule.js +2 -1
- package/lib/molecule3d/ui/renderMolecule.js.map +1 -1
- package/lib/molecule3d/ui/sceneDrawer.d.ts +2 -1
- package/lib/molecule3d/ui/sceneDrawer.d.ts.map +1 -1
- package/lib/molecule3d/ui/sceneDrawer.js +9 -1
- package/lib/molecule3d/ui/sceneDrawer.js.map +1 -1
- package/lib/molecule3d/ui/useImageExport.d.ts +8 -3
- package/lib/molecule3d/ui/useImageExport.d.ts.map +1 -1
- package/lib/molecule3d/ui/useImageExport.js +13 -4
- package/lib/molecule3d/ui/useImageExport.js.map +1 -1
- package/lib/molecule3d/ui/useMoleculeScene.d.ts +2 -1
- package/lib/molecule3d/ui/useMoleculeScene.d.ts.map +1 -1
- package/lib/molecule3d/ui/useMoleculeScene.js.map +1 -1
- package/lib/molecule3d/ui/useMoleculeViewer.d.ts +16 -0
- package/lib/molecule3d/ui/useMoleculeViewer.d.ts.map +1 -0
- package/lib/molecule3d/ui/useMoleculeViewer.js +37 -0
- package/lib/molecule3d/ui/useMoleculeViewer.js.map +1 -0
- package/lib/molecule3d/ui/usePolarSurfaceArea.d.ts +3 -3
- package/lib/molecule3d/ui/usePolarSurfaceArea.d.ts.map +1 -1
- package/lib/molecule3d/ui/usePolarSurfaceArea.js +4 -3
- package/lib/molecule3d/ui/usePolarSurfaceArea.js.map +1 -1
- package/lib/molecule3d/ui/viewer.d.ts +4 -1
- package/lib/molecule3d/ui/viewer.d.ts.map +1 -1
- package/lib/molecule3d/ui/viewer.js +21 -19
- package/lib/molecule3d/ui/viewer.js.map +1 -1
- package/lib/molecule3d/ui/viewerTypes.d.ts +6 -0
- package/lib/molecule3d/ui/viewerTypes.d.ts.map +1 -1
- package/lib/molstar/core/captureScene.d.ts +19 -1
- package/lib/molstar/core/captureScene.d.ts.map +1 -1
- package/lib/molstar/core/captureScene.js +57 -2
- package/lib/molstar/core/captureScene.js.map +1 -1
- package/lib/molstar/core/index.d.ts +5 -2
- package/lib/molstar/core/index.d.ts.map +1 -1
- package/lib/molstar/core/index.js +4 -2
- package/lib/molstar/core/index.js.map +1 -1
- package/lib/molstar/core/trajectory.d.ts +56 -0
- package/lib/molstar/core/trajectory.d.ts.map +1 -0
- package/lib/molstar/core/trajectory.js +96 -0
- package/lib/molstar/core/trajectory.js.map +1 -0
- package/lib/panel/ui/PanelRail.d.ts.map +1 -1
- package/lib/panel/ui/PanelRail.js +1 -1
- package/lib/panel/ui/PanelRail.js.map +1 -1
- package/lib/raman.d.ts +17 -0
- package/lib/raman.d.ts.map +1 -0
- package/lib/raman.js +12 -0
- package/lib/raman.js.map +1 -0
- package/lib/router/core/basePath.d.ts +2 -2
- package/lib/router/core/basePath.js +2 -2
- package/lib/router/core/siteAddresses.d.ts +1 -1
- package/lib/router/core/siteAddresses.js +1 -1
- package/lib/seo/core/siteFiles.js +1 -1
- package/lib/seo/core/siteFiles.js.map +1 -1
- package/lib/server/answerAddresses.d.ts +3 -3
- package/lib/server/answerAddresses.js +3 -3
- package/lib/structure/core/index.d.ts +2 -0
- package/lib/structure/core/index.d.ts.map +1 -1
- package/lib/structure/core/index.js +1 -0
- package/lib/structure/core/index.js.map +1 -1
- package/lib/structure/core/structureTransfer.d.ts +29 -0
- package/lib/structure/core/structureTransfer.d.ts.map +1 -0
- package/lib/structure/core/structureTransfer.js +26 -0
- package/lib/structure/core/structureTransfer.js.map +1 -0
- package/lib/structure/ui/EditorImportButton.d.ts +20 -0
- package/lib/structure/ui/EditorImportButton.d.ts.map +1 -0
- package/lib/structure/ui/EditorImportButton.js +24 -0
- package/lib/structure/ui/EditorImportButton.js.map +1 -0
- package/lib/structure/ui/EditorImportProblem.d.ts +17 -0
- package/lib/structure/ui/EditorImportProblem.d.ts.map +1 -0
- package/lib/structure/ui/EditorImportProblem.js +32 -0
- package/lib/structure/ui/EditorImportProblem.js.map +1 -0
- package/lib/structure/ui/StructureDrop.d.ts +39 -0
- package/lib/structure/ui/StructureDrop.d.ts.map +1 -0
- package/lib/structure/ui/StructureDrop.js +19 -0
- package/lib/structure/ui/StructureDrop.js.map +1 -0
- package/lib/structure/ui/StructureDropOverlay.d.ts +16 -0
- package/lib/structure/ui/StructureDropOverlay.d.ts.map +1 -0
- package/lib/structure/ui/StructureDropOverlay.js +29 -0
- package/lib/structure/ui/StructureDropOverlay.js.map +1 -0
- package/lib/structure/ui/StructureEditor.d.ts +3 -80
- package/lib/structure/ui/StructureEditor.d.ts.map +1 -1
- package/lib/structure/ui/StructureEditor.js +21 -33
- package/lib/structure/ui/StructureEditor.js.map +1 -1
- package/lib/structure/ui/importedStructure.d.ts +25 -0
- package/lib/structure/ui/importedStructure.d.ts.map +1 -0
- package/lib/structure/ui/importedStructure.js +74 -0
- package/lib/structure/ui/importedStructure.js.map +1 -0
- package/lib/structure/ui/index.d.ts +2 -0
- package/lib/structure/ui/index.d.ts.map +1 -1
- package/lib/structure/ui/index.js +1 -0
- package/lib/structure/ui/index.js.map +1 -1
- package/lib/structure/ui/structureEditorProps.d.ts +98 -0
- package/lib/structure/ui/structureEditorProps.d.ts.map +1 -0
- package/lib/structure/ui/structureEditorProps.js +2 -0
- package/lib/structure/ui/structureEditorProps.js.map +1 -0
- package/lib/structure/ui/useDebouncedChange.d.ts +16 -0
- package/lib/structure/ui/useDebouncedChange.d.ts.map +1 -0
- package/lib/structure/ui/useDebouncedChange.js +30 -0
- package/lib/structure/ui/useDebouncedChange.js.map +1 -0
- package/lib/structure/ui/useStructureDrop.d.ts +30 -0
- package/lib/structure/ui/useStructureDrop.d.ts.map +1 -0
- package/lib/structure/ui/useStructureDrop.js +49 -0
- package/lib/structure/ui/useStructureDrop.js.map +1 -0
- package/lib/structure/ui/useStructureImport.d.ts +45 -0
- package/lib/structure/ui/useStructureImport.d.ts.map +1 -0
- package/lib/structure/ui/useStructureImport.js +62 -0
- package/lib/structure/ui/useStructureImport.js.map +1 -0
- package/package.json +5 -1
- package/src/download/ui/FigureDownloadPanel.tsx +9 -2
- package/src/ecosystem/core/sites.ts +3 -3
- package/src/ecosystem/core/types.ts +1 -1
- package/src/ecosystem/ui/glyphs.tsx +1 -1
- package/src/i18n/core/messageCatalog.ts +2 -2
- package/src/i18n/vite/localeCatalog.ts +1 -1
- package/src/ir/core/analysisSpectra.ts +26 -10
- package/src/ir/core/bandLabelPlan.ts +21 -10
- package/src/ir/core/index.ts +31 -7
- package/src/ir/core/irBand.ts +52 -14
- package/src/ir/core/irCommands.ts +15 -1
- package/src/ir/core/irDomain.ts +9 -7
- package/src/ir/core/irEditorApi.ts +13 -0
- package/src/ir/core/irFormat.ts +39 -6
- package/src/ir/core/irMode.ts +42 -10
- package/src/ir/core/irReducer.ts +3 -51
- package/src/ir/core/irSidePanels.ts +8 -1
- package/src/ir/core/irSpectrum.ts +59 -30
- package/src/ir/core/irState.ts +73 -5
- package/src/ir/core/irTechnique.ts +115 -0
- package/src/ir/core/irTechniqueCommands.ts +82 -0
- package/src/ir/core/pickBands.ts +63 -28
- package/src/ir/core/ramanBands.ts +105 -0
- package/src/ir/core/spectrumJcamp.ts +65 -16
- package/src/ir/core/toIrSpectrum.ts +20 -2
- package/src/ir/ui/BandRow.tsx +107 -0
- package/src/ir/ui/BandsPanel.tsx +32 -125
- package/src/ir/ui/IrAboutDialog.tsx +69 -28
- package/src/ir/ui/IrCanvas.tsx +29 -3
- package/src/ir/ui/IrChart.tsx +31 -24
- package/src/ir/ui/IrCommandProvider.tsx +10 -3
- package/src/ir/ui/IrCommandTooltip.tsx +11 -2
- package/src/ir/ui/IrDocumentationDialog.tsx +99 -55
- package/src/ir/ui/IrEditor.tsx +27 -40
- package/src/ir/ui/IrHeader.tsx +10 -3
- package/src/ir/ui/IrLogo.tsx +28 -9
- package/src/ir/ui/IrShell.tsx +47 -96
- package/src/ir/ui/IrSidePanel.tsx +36 -10
- package/src/ir/ui/IrStatusBar.tsx +17 -12
- package/src/ir/ui/IrToolbar.tsx +26 -15
- package/src/ir/ui/IrTraces.tsx +5 -1
- package/src/ir/ui/RamanEditor.tsx +71 -0
- package/src/ir/ui/SpectraPanel.tsx +2 -1
- package/src/ir/ui/SpectrumRow.tsx +14 -5
- package/src/ir/ui/VibrationalEditor.tsx +113 -0
- package/src/ir/ui/bandsTsv.ts +46 -0
- package/src/ir/ui/index.ts +1 -0
- package/src/ir/ui/irActions.ts +3 -3
- package/src/ir/ui/irChartProps.ts +21 -4
- package/src/ir/ui/irCommandContext.tsx +18 -3
- package/src/ir/ui/irHostPanels.ts +76 -0
- package/src/ir/ui/useIrEditor.ts +20 -8
- package/src/ir/ui/useIrHandle.ts +51 -0
- package/src/ir/ui/useIrSide.ts +60 -0
- package/src/ir/ui/useIrText.ts +170 -0
- package/src/ir/ui/useIrZoom.ts +22 -3
- package/src/ir/ui/useValueAxisZoom.ts +67 -0
- package/src/ir.ts +3 -0
- package/src/locales/de.json +29 -2
- package/src/locales/en.json +29 -2
- package/src/locales/es.json +29 -2
- package/src/locales/fr.json +29 -2
- package/src/locales/it.json +29 -2
- package/src/molecule3d/core/animatedPng.ts +79 -0
- package/src/molecule3d/core/file.ts +23 -0
- package/src/molecule3d/core/index.ts +3 -1
- package/src/molecule3d/core/settings.ts +0 -8
- package/src/molecule3d/ui/Molecule3DExport.tsx +43 -5
- package/src/molecule3d/ui/Molecule3DToolbar.tsx +9 -2
- package/src/molecule3d/ui/MoleculeCanvas3D.tsx +24 -38
- package/src/molecule3d/ui/drawScene.ts +2 -1
- package/src/molecule3d/ui/exportMoleculeImage.ts +28 -3
- package/src/molecule3d/ui/moleculeFrames.ts +88 -0
- package/src/molecule3d/ui/moleculeViewer3DProps.ts +14 -5
- package/src/molecule3d/ui/renderMolecule.ts +5 -3
- package/src/molecule3d/ui/sceneDrawer.ts +14 -2
- package/src/molecule3d/ui/useImageExport.ts +22 -5
- package/src/molecule3d/ui/useMoleculeScene.ts +2 -1
- package/src/molecule3d/ui/useMoleculeViewer.ts +46 -0
- package/src/molecule3d/ui/usePolarSurfaceArea.ts +6 -4
- package/src/molecule3d/ui/viewer.ts +34 -27
- package/src/molecule3d/ui/viewerTypes.ts +6 -0
- package/src/molstar/core/captureScene.ts +85 -2
- package/src/molstar/core/index.ts +13 -2
- package/src/molstar/core/trajectory.ts +117 -0
- package/src/panel/ui/PanelRail.tsx +3 -0
- package/src/raman.ts +20 -0
- package/src/router/core/basePath.ts +2 -2
- package/src/router/core/siteAddresses.ts +1 -1
- package/src/seo/core/siteFiles.ts +1 -1
- package/src/server/answerAddresses.ts +3 -3
- package/src/structure/core/index.ts +8 -0
- package/src/structure/core/structureTransfer.ts +37 -0
- package/src/structure/ui/EditorImportButton.tsx +59 -0
- package/src/structure/ui/EditorImportProblem.tsx +63 -0
- package/src/structure/ui/StructureDrop.tsx +66 -0
- package/src/structure/ui/StructureDropOverlay.tsx +50 -0
- package/src/structure/ui/StructureEditor.tsx +49 -134
- package/src/structure/ui/importedStructure.ts +83 -0
- package/src/structure/ui/index.ts +2 -0
- package/src/structure/ui/structureEditorProps.ts +103 -0
- package/src/structure/ui/useDebouncedChange.ts +41 -0
- package/src/structure/ui/useStructureDrop.ts +76 -0
- package/src/structure/ui/useStructureImport.ts +122 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The zoom in and zoom out commands, which scale the value axis alone.
|
|
3
|
+
*
|
|
4
|
+
* They scale it about the baseline the mode hangs from — 100 for percent
|
|
5
|
+
* transmittance, zero for absorbance and intensity — so a weak band comes up
|
|
6
|
+
* out of its baseline rather than the whole trace drifting off the plot.
|
|
7
|
+
*/
|
|
8
|
+
import { useMemo } from 'react';
|
|
9
|
+
import { fullDomain } from "../core/irDomain.js";
|
|
10
|
+
import { yAxisRules } from "../core/irMode.js";
|
|
11
|
+
import { useIrActions, useIrEditorState } from "./irStateContext.js";
|
|
12
|
+
/**
|
|
13
|
+
* Zoom the value axis of the viewer this is called inside.
|
|
14
|
+
* @returns The two commands.
|
|
15
|
+
*/
|
|
16
|
+
export function useValueAxisZoom() {
|
|
17
|
+
const { state, visibleSpectra } = useIrEditorState();
|
|
18
|
+
const actions = useIrActions();
|
|
19
|
+
const { domain } = state.view;
|
|
20
|
+
const { mode } = state.settings;
|
|
21
|
+
return useMemo(() => {
|
|
22
|
+
/**
|
|
23
|
+
* Scale the value axis by a factor, about the baseline the mode hangs from.
|
|
24
|
+
* @param factor - Above one to zoom out.
|
|
25
|
+
*/
|
|
26
|
+
function scale(factor) {
|
|
27
|
+
const shown = domain ?? fullDomain(visibleSpectra, mode);
|
|
28
|
+
// Asked of the mode rather than written out again here: the baseline a
|
|
29
|
+
// value axis is scaled about is `irMode`'s to know, and a second copy of
|
|
30
|
+
// it is a second thing to get wrong.
|
|
31
|
+
const { baseline = 0 } = yAxisRules(mode);
|
|
32
|
+
actions.setDomain({
|
|
33
|
+
x: shown.x,
|
|
34
|
+
y: [
|
|
35
|
+
baseline + (shown.y[0] - baseline) * factor,
|
|
36
|
+
baseline + (shown.y[1] - baseline) * factor,
|
|
37
|
+
],
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
zoomIn: () => scale(1 / ZOOM_STEP),
|
|
42
|
+
zoomOut: () => scale(ZOOM_STEP),
|
|
43
|
+
};
|
|
44
|
+
}, [actions, domain, visibleSpectra, mode]);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* What one press of zoom in or out is worth.
|
|
48
|
+
*
|
|
49
|
+
* A fifth, which is about what one notch of a mouse wheel does — so the button
|
|
50
|
+
* and the wheel feel like the same gesture at two speeds rather than two
|
|
51
|
+
* different ones.
|
|
52
|
+
*/
|
|
53
|
+
const ZOOM_STEP = 1.2;
|
|
54
|
+
//# sourceMappingURL=useValueAxisZoom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useValueAxisZoom.js","sourceRoot":"","sources":["../../../src/ir/ui/useValueAxisZoom.ts"],"names":[],"mappings":"AAA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AAS,CAAC;SAChC,CAAC;IACJ,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC,CAAC;AAC9C,CAAC;AAED;;;;;;GAMG;AACH,MAAM,SAAS,GAAG,GAAG,CAAC"}
|
package/lib/ir.d.ts
CHANGED
|
@@ -7,6 +7,9 @@
|
|
|
7
7
|
* arrive in — `ir-spectrum` for the band correlations, `convert-to-jcamp` for
|
|
8
8
|
* writing them back out, and a JCAMP or SPC reader fetched only once the bytes
|
|
9
9
|
* turn out to need it. A site with no spectra to look at installs none of it.
|
|
10
|
+
*
|
|
11
|
+
* Raman spectra are drawn by the same code, opened through
|
|
12
|
+
* `react-cheminfo/raman`.
|
|
10
13
|
*/
|
|
11
14
|
export * from './ir/core/index.ts';
|
|
12
15
|
export * from './ir/ui/index.ts';
|
package/lib/ir.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ir.d.ts","sourceRoot":"","sources":["../src/ir.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"ir.d.ts","sourceRoot":"","sources":["../src/ir.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC"}
|
package/lib/ir.js
CHANGED
|
@@ -7,6 +7,9 @@
|
|
|
7
7
|
* arrive in — `ir-spectrum` for the band correlations, `convert-to-jcamp` for
|
|
8
8
|
* writing them back out, and a JCAMP or SPC reader fetched only once the bytes
|
|
9
9
|
* turn out to need it. A site with no spectra to look at installs none of it.
|
|
10
|
+
*
|
|
11
|
+
* Raman spectra are drawn by the same code, opened through
|
|
12
|
+
* `react-cheminfo/raman`.
|
|
10
13
|
*/
|
|
11
14
|
export * from "./ir/core/index.js";
|
|
12
15
|
export * from "./ir/ui/index.js";
|
package/lib/ir.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ir.js","sourceRoot":"","sources":["../src/ir.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"ir.js","sourceRoot":"","sources":["../src/ir.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC"}
|
package/lib/locales/de.json
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"site.nmrium.tagline": "NMR-Spektren im Browser verarbeiten und zuordnen.",
|
|
35
35
|
"site.metabo.tagline": "Eine Reihe von NMR-Spektren in eine Karte Ihrer Proben verwandeln.",
|
|
36
36
|
"site.derepflow.tagline": "Die Bestandteile eines Gemischs aus seinem ¹³C-Spektrum bestimmen.",
|
|
37
|
-
"site.
|
|
37
|
+
"site.isomers.tagline": "Alle Konstitutionsisomere einer Summenformel.",
|
|
38
38
|
"site.tex.tagline": "LaTeX-Formeln, aus einer URL als SVG oder PNG gerendert.",
|
|
39
39
|
"site.lcao.tagline": "Atomorbitale zu Molekülorbitalen kombinieren.",
|
|
40
40
|
"site.regexp.tagline": "Reguläre Ausdrücke in einer interaktiven Spielwiese lernen.",
|
|
@@ -493,6 +493,10 @@
|
|
|
493
493
|
"structure.tool.reactionOnly": "Nur beim Zeichnen einer Reaktion.",
|
|
494
494
|
"structure.tool.unavailable": "In diesem Editor nicht verfügbar.",
|
|
495
495
|
"structure.loadingEditor": "Der Editor wird geladen…",
|
|
496
|
+
"structure.import.open": "Eine Strukturdatei öffnen",
|
|
497
|
+
"structure.import.drop": "Ablegen, um die Struktur zu laden",
|
|
498
|
+
"structure.import.unreadableFile": "{name} enthält weder Molfile noch SMILES noch idCode, die Zeichnung bleibt erhalten.",
|
|
499
|
+
"structure.import.unreadableText": "Dieser Text ist weder ein Molfile noch ein SMILES noch ein idCode, die Zeichnung bleibt erhalten.",
|
|
496
500
|
"structure.export.open": "Struktur exportieren",
|
|
497
501
|
"structure.export.glyph": "Struktur kopieren oder speichern: SMILES, Molfile",
|
|
498
502
|
"structure.export.title": "Struktur exportieren",
|
|
@@ -522,6 +526,10 @@
|
|
|
522
526
|
"molecule3d.molecularSurface": "Moleküloberfläche",
|
|
523
527
|
"molecule3d.displayOptions": "Anzeigeoptionen",
|
|
524
528
|
"molecule3d.exportImage": "Bild exportieren",
|
|
529
|
+
"molecule3d.frames": "Bilder",
|
|
530
|
+
"molecule3d.framesHelp": "Ein animiertes PNG enthält alle Bilder und spielt sie in einer Schleife ab. Browser spielen es ab; ein Programm, das es nicht kann, zeigt das erste Bild.",
|
|
531
|
+
"molecule3d.frames.one": "Dieses",
|
|
532
|
+
"molecule3d.frames.all": "Alle {count}, animiert",
|
|
525
533
|
"molecule3d.fullScreen": "Vollbild",
|
|
526
534
|
"molecule3d.measure": "Messen",
|
|
527
535
|
"molecule3d.clearMeasurements": "Alle Messungen entfernen",
|
|
@@ -663,5 +671,24 @@
|
|
|
663
671
|
"moleculesToken.fix.issueOnServer": "Oder auf dem Server von molecules.cheminfo.org:",
|
|
664
672
|
"moleculesToken.fix.envOne": "Tragen Sie es in die .env des Servers dieser Website ein:",
|
|
665
673
|
"moleculesToken.fix.envMany": "Tragen Sie sie in die .env des Servers dieser Website ein:",
|
|
666
|
-
"moleculesToken.fix.restart": "Starten Sie die Dienste neu, da sie die .env nur beim Start lesen:"
|
|
674
|
+
"moleculesToken.fix.restart": "Starten Sie die Dienste neu, da sie die .env nur beim Start lesen:",
|
|
675
|
+
"ir.mode.intensity": "Intensität",
|
|
676
|
+
"ir.raman.xTitle": "Raman-Verschiebung (cm⁻¹)",
|
|
677
|
+
"ir.raman.chart": "Raman-Spektrum, als Intensität gelesen, die Raman-Verschiebung von links nach rechts steigend. Ziehen Sie darüber, um die Achse der Raman-Verschiebung zu zoomen, ziehen Sie über die Grundlinie hinaus, um die Intensitätsachse mitzunehmen, drehen Sie das Mausrad, um die Intensitätsachse zu skalieren, und doppelklicken Sie, um wieder alles einzupassen.",
|
|
678
|
+
"ir.raman.tools": "Werkzeuge für das Raman-Spektrum",
|
|
679
|
+
"ir.raman.viewer": "Raman-Spektrenbetrachter",
|
|
680
|
+
"ir.raman.viewerHelp": "Hilfe zum Raman-Spektrenbetrachter",
|
|
681
|
+
"ir.raman.mark": "Raman-Betrachter",
|
|
682
|
+
"ir.raman.about": "Über den Raman-Betrachter",
|
|
683
|
+
"ir.raman.documentation": "Den Raman-Betrachter verwenden",
|
|
684
|
+
"ir.raman.command.documentation": "Wie die Banden gelesen werden, und jede Geste.",
|
|
685
|
+
"ir.raman.command.readTool": "Ein Ziehen verengt die Achse der Raman-Verschiebung. Über die Grundlinie hinaus losgelassen, nimmt es die Intensitätsachse mit.",
|
|
686
|
+
"ir.raman.command.boxTool": "Ein Ziehen zoomt genau auf das Rechteck, das es aufspannt, beide Achsen zugleich — um in eine Grundlinie oder eine Schulter hineinzusehen statt über das ganze Spektrum.",
|
|
687
|
+
"ir.raman.command.zoomIn": "Hebt die schwachen Banden hervor, indem die Intensitätsachse um null skaliert wird.",
|
|
688
|
+
"ir.raman.command.togglePicking": "Findet die Banden des ausgewählten Spektrums, markiert sie im Diagramm und listet sie auf.",
|
|
689
|
+
"ir.raman.doc.bands": "Die Banden des *ausgewählten* Spektrums werden als Intensitätsmaxima gefunden, im Diagramm markiert und im Bandenbereich aufgelistet. Fahren Sie über eine Zeile, wird die Bande im Diagramm markiert; fahren Sie über das Diagramm, leuchtet die Zeile auf.",
|
|
690
|
+
"ir.raman.doc.sampled": "Eine Bande wird an dem abgetasteten Punkt angegeben, an dem sie ihr Maximum hat: Ihre Lage ist nur so genau wie das Raster, auf dem das Spektrum aufgenommen wurde.",
|
|
691
|
+
"ir.raman.aboutLead": "Zeichnet ein Raman-Spektrum, findet seine Banden und listet sie neben dem Diagramm auf.",
|
|
692
|
+
"ir.raman.credit.picking": "**ir-spectrum** (cheminfo, MIT) findet die Banden, mit dem Peakfinder von **common-spectrum** und **ml-gsd**.",
|
|
693
|
+
"ir.raman.credit.jcamp": "**convert-to-jcamp** (cheminfo, MIT) schreibt die heruntergeladene JCAMP-DX-Datei."
|
|
667
694
|
}
|
package/lib/locales/en.json
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"site.nmrium.tagline": "Process and assign NMR spectra in the browser.",
|
|
35
35
|
"site.metabo.tagline": "Turn a batch of NMR spectra into a map of your samples.",
|
|
36
36
|
"site.derepflow.tagline": "Identify the constituents of a mixture from its ¹³C spectrum.",
|
|
37
|
-
"site.
|
|
37
|
+
"site.isomers.tagline": "Every constitutional isomer of a molecular formula.",
|
|
38
38
|
"site.tex.tagline": "LaTeX formulas rendered to SVG or PNG from a URL.",
|
|
39
39
|
"site.lcao.tagline": "Combine atomic orbitals into molecular ones.",
|
|
40
40
|
"site.regexp.tagline": "Learn regular expressions in a live playground.",
|
|
@@ -437,6 +437,10 @@
|
|
|
437
437
|
"structure.tool.reactionOnly": "Only when drawing a reaction.",
|
|
438
438
|
"structure.tool.unavailable": "Not available in this editor.",
|
|
439
439
|
"structure.loadingEditor": "Loading the editor…",
|
|
440
|
+
"structure.import.open": "Open a structure file",
|
|
441
|
+
"structure.import.drop": "Drop to load the structure",
|
|
442
|
+
"structure.import.unreadableFile": "{name} holds no molfile, SMILES or idCode, so the drawing was kept.",
|
|
443
|
+
"structure.import.unreadableText": "That text is not a molfile, a SMILES or an idCode, so the drawing was kept.",
|
|
440
444
|
"structure.export.open": "Export the structure",
|
|
441
445
|
"structure.export.glyph": "Copy or save the structure: SMILES, molfile",
|
|
442
446
|
"structure.export.title": "Export the structure",
|
|
@@ -498,6 +502,10 @@
|
|
|
498
502
|
"molecule3d.molecularSurface": "Molecular surface",
|
|
499
503
|
"molecule3d.displayOptions": "Display options",
|
|
500
504
|
"molecule3d.exportImage": "Export image",
|
|
505
|
+
"molecule3d.frames": "Frames",
|
|
506
|
+
"molecule3d.framesHelp": "An animated PNG holds every frame and plays them in a loop. Browsers play it; a program that cannot shows its first frame.",
|
|
507
|
+
"molecule3d.frames.one": "This one",
|
|
508
|
+
"molecule3d.frames.all": "All {count}, animated",
|
|
501
509
|
"molecule3d.fullScreen": "Full screen",
|
|
502
510
|
"molecule3d.measure": "Measure",
|
|
503
511
|
"molecule3d.clearMeasurements": "Remove all measurements",
|
|
@@ -663,5 +671,24 @@
|
|
|
663
671
|
"moleculesToken.fix.issueOnServer": "Or, on the server of molecules.cheminfo.org:",
|
|
664
672
|
"moleculesToken.fix.envOne": "Write it in the .env of this site's server:",
|
|
665
673
|
"moleculesToken.fix.envMany": "Write them in the .env of this site's server:",
|
|
666
|
-
"moleculesToken.fix.restart": "Restart the services, which read the .env only when they start:"
|
|
674
|
+
"moleculesToken.fix.restart": "Restart the services, which read the .env only when they start:",
|
|
675
|
+
"ir.mode.intensity": "intensity",
|
|
676
|
+
"ir.raman.xTitle": "Raman shift (cm⁻¹)",
|
|
677
|
+
"ir.raman.chart": "Raman spectrum read as intensity, Raman shift running from low at the left to high at the right. Drag across it to zoom the Raman shift axis, drag past the baseline to take the intensity axis with it, turn the wheel to scale the intensity axis, and double click to fit everything again.",
|
|
678
|
+
"ir.raman.tools": "Raman spectrum tools",
|
|
679
|
+
"ir.raman.viewer": "Raman spectrum viewer",
|
|
680
|
+
"ir.raman.viewerHelp": "Raman spectrum viewer help",
|
|
681
|
+
"ir.raman.mark": "Raman viewer",
|
|
682
|
+
"ir.raman.about": "About the Raman viewer",
|
|
683
|
+
"ir.raman.documentation": "Using the Raman viewer",
|
|
684
|
+
"ir.raman.command.documentation": "How the bands are read, and every gesture.",
|
|
685
|
+
"ir.raman.command.readTool": "A drag narrows the Raman shift axis. Released past the baseline, it takes the intensity axis with it.",
|
|
686
|
+
"ir.raman.command.boxTool": "A drag zooms to exactly the rectangle it sweeps out, both axes at once — for looking into a baseline or a shoulder rather than across the spectrum.",
|
|
687
|
+
"ir.raman.command.zoomIn": "Brings the weak bands up, scaling the intensity axis about zero.",
|
|
688
|
+
"ir.raman.command.togglePicking": "Finds the bands of the selected spectrum, marks them on the chart and lists them.",
|
|
689
|
+
"ir.raman.doc.bands": "The bands of the *selected* spectrum are picked as maxima of intensity, marked on the chart and listed in the bands panel. Hovering a row marks the band on the chart, and hovering the chart lights the row.",
|
|
690
|
+
"ir.raman.doc.sampled": "A band is reported at the sampled point it peaked on, so its position is only as precise as the grid the spectrum was recorded on.",
|
|
691
|
+
"ir.raman.aboutLead": "Draws a Raman spectrum, picks its bands and lists them beside the chart.",
|
|
692
|
+
"ir.raman.credit.picking": "**ir-spectrum** (cheminfo, MIT) picks the bands, with the peak picker of **common-spectrum** and **ml-gsd**.",
|
|
693
|
+
"ir.raman.credit.jcamp": "**convert-to-jcamp** (cheminfo, MIT) writes the JCAMP-DX download."
|
|
667
694
|
}
|
package/lib/locales/es.json
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"site.nmrium.tagline": "Procesar y asignar espectros de RMN en el navegador.",
|
|
35
35
|
"site.metabo.tagline": "Convertir un lote de espectros de RMN en un mapa de sus muestras.",
|
|
36
36
|
"site.derepflow.tagline": "Identificar los constituyentes de una mezcla a partir de su espectro de ¹³C.",
|
|
37
|
-
"site.
|
|
37
|
+
"site.isomers.tagline": "Todos los isómeros constitucionales de una fórmula molecular.",
|
|
38
38
|
"site.tex.tagline": "Fórmulas LaTeX representadas en SVG o PNG desde una URL.",
|
|
39
39
|
"site.lcao.tagline": "Combinar orbitales atómicos en orbitales moleculares.",
|
|
40
40
|
"site.regexp.tagline": "Aprender expresiones regulares en un entorno interactivo.",
|
|
@@ -493,6 +493,10 @@
|
|
|
493
493
|
"structure.tool.reactionOnly": "Solo al dibujar una reacción.",
|
|
494
494
|
"structure.tool.unavailable": "No disponible en este editor.",
|
|
495
495
|
"structure.loadingEditor": "Cargando el editor…",
|
|
496
|
+
"structure.import.open": "Abrir un archivo de estructura",
|
|
497
|
+
"structure.import.drop": "Suelta para cargar la estructura",
|
|
498
|
+
"structure.import.unreadableFile": "{name} no contiene ningún molfile, SMILES ni idCode, así que se conserva el dibujo.",
|
|
499
|
+
"structure.import.unreadableText": "Ese texto no es un molfile, un SMILES ni un idCode, así que se conserva el dibujo.",
|
|
496
500
|
"structure.export.open": "Exportar la estructura",
|
|
497
501
|
"structure.export.glyph": "Copiar o guardar la estructura: SMILES, molfile",
|
|
498
502
|
"structure.export.title": "Exportar la estructura",
|
|
@@ -522,6 +526,10 @@
|
|
|
522
526
|
"molecule3d.molecularSurface": "Superficie molecular",
|
|
523
527
|
"molecule3d.displayOptions": "Opciones de presentación",
|
|
524
528
|
"molecule3d.exportImage": "Exportar la imagen",
|
|
529
|
+
"molecule3d.frames": "Fotogramas",
|
|
530
|
+
"molecule3d.framesHelp": "Un PNG animado contiene todos los fotogramas y los reproduce en bucle. Los navegadores lo reproducen; un programa que no puede muestra el primer fotograma.",
|
|
531
|
+
"molecule3d.frames.one": "Este",
|
|
532
|
+
"molecule3d.frames.all": "Los {count}, animados",
|
|
525
533
|
"molecule3d.fullScreen": "Pantalla completa",
|
|
526
534
|
"molecule3d.measure": "Medir",
|
|
527
535
|
"molecule3d.clearMeasurements": "Quitar todas las medidas",
|
|
@@ -663,5 +671,24 @@
|
|
|
663
671
|
"moleculesToken.fix.issueOnServer": "O, en el servidor de molecules.cheminfo.org:",
|
|
664
672
|
"moleculesToken.fix.envOne": "Escríbalo en el .env del servidor de este sitio:",
|
|
665
673
|
"moleculesToken.fix.envMany": "Escríbalos en el .env del servidor de este sitio:",
|
|
666
|
-
"moleculesToken.fix.restart": "Reinicie los servicios, que solo leen el .env al arrancar:"
|
|
674
|
+
"moleculesToken.fix.restart": "Reinicie los servicios, que solo leen el .env al arrancar:",
|
|
675
|
+
"ir.mode.intensity": "intensidad",
|
|
676
|
+
"ir.raman.xTitle": "desplazamiento Raman (cm⁻¹)",
|
|
677
|
+
"ir.raman.chart": "Espectro Raman leído como intensidad, con el desplazamiento Raman creciendo de izquierda a derecha. Arrastre sobre él para ampliar el eje del desplazamiento Raman, arrastre más allá de la línea de base para llevarse también el eje de intensidad, gire la rueda para escalar el eje de intensidad y haga doble clic para volver a ajustarlo todo.",
|
|
678
|
+
"ir.raman.tools": "Herramientas del espectro Raman",
|
|
679
|
+
"ir.raman.viewer": "Visor de espectros Raman",
|
|
680
|
+
"ir.raman.viewerHelp": "Ayuda del visor de espectros Raman",
|
|
681
|
+
"ir.raman.mark": "Visor Raman",
|
|
682
|
+
"ir.raman.about": "Acerca del visor Raman",
|
|
683
|
+
"ir.raman.documentation": "Uso del visor Raman",
|
|
684
|
+
"ir.raman.command.documentation": "Cómo se leen las bandas, y cada gesto.",
|
|
685
|
+
"ir.raman.command.readTool": "Un arrastre estrecha el eje del desplazamiento Raman. Soltado más allá de la línea de base, se lleva también el eje de intensidad.",
|
|
686
|
+
"ir.raman.command.boxTool": "Un arrastre amplía exactamente el rectángulo que traza, los dos ejes a la vez — para mirar dentro de una línea de base o de un hombro en lugar de a lo largo del espectro.",
|
|
687
|
+
"ir.raman.command.zoomIn": "Hace destacar las bandas débiles, escalando el eje de intensidad en torno a cero.",
|
|
688
|
+
"ir.raman.command.togglePicking": "Encuentra las bandas del espectro seleccionado, las marca en la gráfica y las enumera.",
|
|
689
|
+
"ir.raman.doc.bands": "Las bandas del espectro *seleccionado* se buscan como máximos de intensidad, se marcan en la gráfica y se enumeran en el panel de bandas. Pasar sobre una fila marca la banda en la gráfica, y pasar sobre la gráfica ilumina la fila.",
|
|
690
|
+
"ir.raman.doc.sampled": "Una banda se da en el punto muestreado donde alcanza su máximo: su posición no es más precisa que la rejilla en la que se registró el espectro.",
|
|
691
|
+
"ir.raman.aboutLead": "Dibuja un espectro Raman, encuentra sus bandas y las enumera junto a la gráfica.",
|
|
692
|
+
"ir.raman.credit.picking": "**ir-spectrum** (cheminfo, MIT) encuentra las bandas, con el detector de picos de **common-spectrum** y **ml-gsd**.",
|
|
693
|
+
"ir.raman.credit.jcamp": "**convert-to-jcamp** (cheminfo, MIT) escribe el archivo JCAMP-DX descargado."
|
|
667
694
|
}
|
package/lib/locales/fr.json
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"site.nmrium.tagline": "Traiter et attribuer des spectres RMN dans le navigateur.",
|
|
35
35
|
"site.metabo.tagline": "Transformer un lot de spectres RMN en une carte de vos échantillons.",
|
|
36
36
|
"site.derepflow.tagline": "Identifier les constituants d'un mélange à partir de son spectre ¹³C.",
|
|
37
|
-
"site.
|
|
37
|
+
"site.isomers.tagline": "Tous les isomères de constitution d'une formule moléculaire.",
|
|
38
38
|
"site.tex.tagline": "Des formules LaTeX rendues en SVG ou PNG depuis une URL.",
|
|
39
39
|
"site.lcao.tagline": "Combiner des orbitales atomiques en orbitales moléculaires.",
|
|
40
40
|
"site.regexp.tagline": "Apprendre les expressions régulières dans un bac à sable interactif.",
|
|
@@ -493,6 +493,10 @@
|
|
|
493
493
|
"structure.tool.reactionOnly": "Seulement lors du dessin d'une réaction.",
|
|
494
494
|
"structure.tool.unavailable": "Indisponible dans cet éditeur.",
|
|
495
495
|
"structure.loadingEditor": "Chargement de l'éditeur…",
|
|
496
|
+
"structure.import.open": "Ouvrir un fichier de structure",
|
|
497
|
+
"structure.import.drop": "Déposer pour charger la structure",
|
|
498
|
+
"structure.import.unreadableFile": "{name} ne contient ni molfile, ni SMILES, ni idCode : le dessin est conservé.",
|
|
499
|
+
"structure.import.unreadableText": "Ce texte n'est ni un molfile, ni un SMILES, ni un idCode : le dessin est conservé.",
|
|
496
500
|
"structure.export.open": "Exporter la structure",
|
|
497
501
|
"structure.export.glyph": "Copier ou enregistrer la structure : SMILES, molfile",
|
|
498
502
|
"structure.export.title": "Exporter la structure",
|
|
@@ -522,6 +526,10 @@
|
|
|
522
526
|
"molecule3d.molecularSurface": "Surface moléculaire",
|
|
523
527
|
"molecule3d.displayOptions": "Options d'affichage",
|
|
524
528
|
"molecule3d.exportImage": "Exporter l'image",
|
|
529
|
+
"molecule3d.frames": "Images",
|
|
530
|
+
"molecule3d.framesHelp": "Un PNG animé contient toutes les images et les joue en boucle. Les navigateurs le jouent ; un programme qui ne le peut pas montre la première image.",
|
|
531
|
+
"molecule3d.frames.one": "Celle-ci",
|
|
532
|
+
"molecule3d.frames.all": "Les {count}, animées",
|
|
525
533
|
"molecule3d.fullScreen": "Plein écran",
|
|
526
534
|
"molecule3d.measure": "Mesurer",
|
|
527
535
|
"molecule3d.clearMeasurements": "Retirer toutes les mesures",
|
|
@@ -663,5 +671,24 @@
|
|
|
663
671
|
"moleculesToken.fix.issueOnServer": "Ou, sur le serveur de molecules.cheminfo.org :",
|
|
664
672
|
"moleculesToken.fix.envOne": "Écrivez-le dans le fichier .env du serveur de ce site :",
|
|
665
673
|
"moleculesToken.fix.envMany": "Écrivez-les dans le fichier .env du serveur de ce site :",
|
|
666
|
-
"moleculesToken.fix.restart": "Redémarrez les services, qui ne lisent le fichier .env qu'à leur démarrage :"
|
|
674
|
+
"moleculesToken.fix.restart": "Redémarrez les services, qui ne lisent le fichier .env qu'à leur démarrage :",
|
|
675
|
+
"ir.mode.intensity": "intensité",
|
|
676
|
+
"ir.raman.xTitle": "déplacement Raman (cm⁻¹)",
|
|
677
|
+
"ir.raman.chart": "Spectre Raman lu en intensité, le déplacement Raman croissant de gauche à droite. Glissez dessus pour zoomer sur l'axe du déplacement Raman, glissez au-delà de la ligne de base pour entraîner aussi l'axe des intensités, tournez la molette pour mettre l'axe des intensités à l'échelle, et double-cliquez pour tout réajuster.",
|
|
678
|
+
"ir.raman.tools": "Outils du spectre Raman",
|
|
679
|
+
"ir.raman.viewer": "Visionneuse de spectres Raman",
|
|
680
|
+
"ir.raman.viewerHelp": "Aide de la visionneuse de spectres Raman",
|
|
681
|
+
"ir.raman.mark": "Visionneuse Raman",
|
|
682
|
+
"ir.raman.about": "À propos de la visionneuse Raman",
|
|
683
|
+
"ir.raman.documentation": "Utiliser la visionneuse Raman",
|
|
684
|
+
"ir.raman.command.documentation": "Comment les bandes sont lues, et chaque geste.",
|
|
685
|
+
"ir.raman.command.readTool": "Un glissement resserre l'axe du déplacement Raman. Relâché au-delà de la ligne de base, il entraîne aussi l'axe des intensités.",
|
|
686
|
+
"ir.raman.command.boxTool": "Un glissement zoome exactement sur le rectangle qu'il trace, les deux axes à la fois — pour regarder dans une ligne de base ou un épaulement plutôt qu'à travers le spectre.",
|
|
687
|
+
"ir.raman.command.zoomIn": "Fait ressortir les bandes faibles, en mettant l'axe des intensités à l'échelle autour de zéro.",
|
|
688
|
+
"ir.raman.command.togglePicking": "Trouve les bandes du spectre sélectionné, les marque sur le graphique et les liste.",
|
|
689
|
+
"ir.raman.doc.bands": "Les bandes du spectre *sélectionné* sont repérées comme maxima d'intensité, marquées sur le graphique et listées dans le panneau des bandes. Survoler une ligne marque la bande sur le graphique, et survoler le graphique éclaire la ligne.",
|
|
690
|
+
"ir.raman.doc.sampled": "Une bande est donnée au point échantillonné où elle culmine : sa position n'est pas plus précise que la grille sur laquelle le spectre a été enregistré.",
|
|
691
|
+
"ir.raman.aboutLead": "Trace un spectre Raman, repère ses bandes et les liste à côté du graphique.",
|
|
692
|
+
"ir.raman.credit.picking": "**ir-spectrum** (cheminfo, MIT) repère les bandes, avec le détecteur de pics de **common-spectrum** et **ml-gsd**.",
|
|
693
|
+
"ir.raman.credit.jcamp": "**convert-to-jcamp** (cheminfo, MIT) écrit le fichier JCAMP-DX téléchargé."
|
|
667
694
|
}
|
package/lib/locales/it.json
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"site.nmrium.tagline": "Elaborare e assegnare spettri NMR nel browser.",
|
|
35
35
|
"site.metabo.tagline": "Trasformare una serie di spettri NMR in una mappa dei propri campioni.",
|
|
36
36
|
"site.derepflow.tagline": "Identificare i costituenti di una miscela dal suo spettro ¹³C.",
|
|
37
|
-
"site.
|
|
37
|
+
"site.isomers.tagline": "Tutti gli isomeri costituzionali di una formula molecolare.",
|
|
38
38
|
"site.tex.tagline": "Formule LaTeX rese in SVG o PNG a partire da un URL.",
|
|
39
39
|
"site.lcao.tagline": "Combinare orbitali atomici in orbitali molecolari.",
|
|
40
40
|
"site.regexp.tagline": "Imparare le espressioni regolari in un ambiente interattivo.",
|
|
@@ -437,6 +437,10 @@
|
|
|
437
437
|
"structure.tool.reactionOnly": "Solo quando si disegna una reazione.",
|
|
438
438
|
"structure.tool.unavailable": "Non disponibile in questo editor.",
|
|
439
439
|
"structure.loadingEditor": "Caricamento dell'editor…",
|
|
440
|
+
"structure.import.open": "Apri un file di struttura",
|
|
441
|
+
"structure.import.drop": "Rilascia per caricare la struttura",
|
|
442
|
+
"structure.import.unreadableFile": "{name} non contiene né molfile, né SMILES, né idCode, quindi il disegno resta com'era.",
|
|
443
|
+
"structure.import.unreadableText": "Questo testo non è né un molfile, né uno SMILES, né un idCode, quindi il disegno resta com'era.",
|
|
440
444
|
"structure.export.open": "Esporta la struttura",
|
|
441
445
|
"structure.export.glyph": "Copia o salva la struttura: SMILES, molfile",
|
|
442
446
|
"structure.export.title": "Esporta la struttura",
|
|
@@ -498,6 +502,10 @@
|
|
|
498
502
|
"molecule3d.molecularSurface": "Superficie molecolare",
|
|
499
503
|
"molecule3d.displayOptions": "Opzioni di visualizzazione",
|
|
500
504
|
"molecule3d.exportImage": "Esporta l'immagine",
|
|
505
|
+
"molecule3d.frames": "Fotogrammi",
|
|
506
|
+
"molecule3d.framesHelp": "Un PNG animato contiene tutti i fotogrammi e li riproduce in ciclo. I browser lo riproducono; un programma che non può mostra il primo fotogramma.",
|
|
507
|
+
"molecule3d.frames.one": "Questo",
|
|
508
|
+
"molecule3d.frames.all": "Tutti i {count}, animati",
|
|
501
509
|
"molecule3d.fullScreen": "Schermo intero",
|
|
502
510
|
"molecule3d.measure": "Misura",
|
|
503
511
|
"molecule3d.clearMeasurements": "Togli tutte le misure",
|
|
@@ -663,5 +671,24 @@
|
|
|
663
671
|
"moleculesToken.fix.issueOnServer": "Oppure, sul server di molecules.cheminfo.org:",
|
|
664
672
|
"moleculesToken.fix.envOne": "Scriverlo nel file .env del server di questo sito:",
|
|
665
673
|
"moleculesToken.fix.envMany": "Scriverli nel file .env del server di questo sito:",
|
|
666
|
-
"moleculesToken.fix.restart": "Riavviare i servizi, che leggono il file .env solo all'avvio:"
|
|
674
|
+
"moleculesToken.fix.restart": "Riavviare i servizi, che leggono il file .env solo all'avvio:",
|
|
675
|
+
"ir.mode.intensity": "intensità",
|
|
676
|
+
"ir.raman.xTitle": "spostamento Raman (cm⁻¹)",
|
|
677
|
+
"ir.raman.chart": "Spettro Raman letto come intensità, con lo spostamento Raman crescente da sinistra a destra. Trascina sopra per ingrandire l'asse dello spostamento Raman, trascina oltre la linea di base per portare con sé l'asse dell'intensità, gira la rotellina per scalare l'asse dell'intensità e fai doppio clic per riadattare tutto.",
|
|
678
|
+
"ir.raman.tools": "Strumenti dello spettro Raman",
|
|
679
|
+
"ir.raman.viewer": "Visualizzatore di spettri Raman",
|
|
680
|
+
"ir.raman.viewerHelp": "Aiuto del visualizzatore di spettri Raman",
|
|
681
|
+
"ir.raman.mark": "Visualizzatore Raman",
|
|
682
|
+
"ir.raman.about": "Informazioni sul visualizzatore Raman",
|
|
683
|
+
"ir.raman.documentation": "Usare il visualizzatore Raman",
|
|
684
|
+
"ir.raman.command.documentation": "Come si leggono le bande, e ogni gesto.",
|
|
685
|
+
"ir.raman.command.readTool": "Un trascinamento restringe l'asse dello spostamento Raman. Rilasciato oltre la linea di base, porta con sé l'asse dell'intensità.",
|
|
686
|
+
"ir.raman.command.boxTool": "Un trascinamento ingrandisce esattamente il rettangolo che traccia, entrambi gli assi insieme — per guardare dentro una linea di base o una spalla anziché lungo lo spettro.",
|
|
687
|
+
"ir.raman.command.zoomIn": "Fa emergere le bande deboli, scalando l'asse dell'intensità attorno a zero.",
|
|
688
|
+
"ir.raman.command.togglePicking": "Trova le bande dello spettro selezionato, le segna sul grafico e le elenca.",
|
|
689
|
+
"ir.raman.doc.bands": "Le bande dello spettro *selezionato* sono cercate come massimi di intensità, segnate sul grafico ed elencate nel pannello delle bande. Passare su una riga segna la banda sul grafico, e passare sul grafico illumina la riga.",
|
|
690
|
+
"ir.raman.doc.sampled": "Una banda è data nel punto campionato in cui raggiunge il massimo: la sua posizione non è più precisa della griglia su cui lo spettro è stato registrato.",
|
|
691
|
+
"ir.raman.aboutLead": "Disegna uno spettro Raman, ne trova le bande e le elenca accanto al grafico.",
|
|
692
|
+
"ir.raman.credit.picking": "**ir-spectrum** (cheminfo, MIT) trova le bande, con il rilevatore di picchi di **common-spectrum** e **ml-gsd**.",
|
|
693
|
+
"ir.raman.credit.jcamp": "**convert-to-jcamp** (cheminfo, MIT) scrive il file JCAMP-DX scaricato."
|
|
667
694
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Frames of a scene as one animated PNG, which loops forever.
|
|
3
|
+
*
|
|
4
|
+
* An APNG is a PNG whose frames every browser plays, and whose first frame
|
|
5
|
+
* any program that does not play them still shows. It keeps every colour of a
|
|
6
|
+
* shaded molecule, which a GIF's 256 cannot.
|
|
7
|
+
*/
|
|
8
|
+
/** How many frames a second are played, and saved, when nobody says. */
|
|
9
|
+
export declare const DEFAULT_FRAMES_PER_SECOND = 25;
|
|
10
|
+
/** One frame: its pixels as RGBA bytes, row by row from the top. */
|
|
11
|
+
export interface RgbaFrame {
|
|
12
|
+
width: number;
|
|
13
|
+
height: number;
|
|
14
|
+
data: Uint8ClampedArray | Uint8Array;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Encode frames as one animated PNG, every frame shown for the same time, the
|
|
18
|
+
* whole looping forever. The encoder is loaded on first use.
|
|
19
|
+
* @param frames - The frames, in order, all the same size.
|
|
20
|
+
* @param framesPerSecond - How many are shown per second.
|
|
21
|
+
* @returns The PNG file.
|
|
22
|
+
* @throws {Error} When there is no frame, or the frames differ in size.
|
|
23
|
+
*/
|
|
24
|
+
export declare function encodeAnimatedPng(frames: readonly RgbaFrame[], framesPerSecond: number): Promise<Uint8Array<ArrayBuffer>>;
|
|
25
|
+
//# sourceMappingURL=animatedPng.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animatedPng.d.ts","sourceRoot":"","sources":["../../../src/molecule3d/core/animatedPng.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,wEAAwE;AACxE,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAE5C,oEAAoE;AACpE,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,iBAAiB,GAAG,UAAU,CAAC;CACtC;AAED;;;;;;;GAOG;AACH,wBAAsB,iBAAiB,CACrC,MAAM,EAAE,SAAS,SAAS,EAAE,EAC5B,eAAe,EAAE,MAAM,GACtB,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC,CAiBlC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Frames of a scene as one animated PNG, which loops forever.
|
|
3
|
+
*
|
|
4
|
+
* An APNG is a PNG whose frames every browser plays, and whose first frame
|
|
5
|
+
* any program that does not play them still shows. It keeps every colour of a
|
|
6
|
+
* shaded molecule, which a GIF's 256 cannot.
|
|
7
|
+
*/
|
|
8
|
+
/** How many frames a second are played, and saved, when nobody says. */
|
|
9
|
+
export const DEFAULT_FRAMES_PER_SECOND = 25;
|
|
10
|
+
/**
|
|
11
|
+
* Encode frames as one animated PNG, every frame shown for the same time, the
|
|
12
|
+
* whole looping forever. The encoder is loaded on first use.
|
|
13
|
+
* @param frames - The frames, in order, all the same size.
|
|
14
|
+
* @param framesPerSecond - How many are shown per second.
|
|
15
|
+
* @returns The PNG file.
|
|
16
|
+
* @throws {Error} When there is no frame, or the frames differ in size.
|
|
17
|
+
*/
|
|
18
|
+
export async function encodeAnimatedPng(frames, framesPerSecond) {
|
|
19
|
+
const first = frames[0];
|
|
20
|
+
if (first === undefined)
|
|
21
|
+
throw new Error('There is no frame to encode.');
|
|
22
|
+
const { width, height } = first;
|
|
23
|
+
const buffers = [];
|
|
24
|
+
const delays = [];
|
|
25
|
+
const delay = Math.max(1, Math.round(1000 / framesPerSecond));
|
|
26
|
+
for (const frame of frames) {
|
|
27
|
+
if (frame.width !== width || frame.height !== height) {
|
|
28
|
+
throw new Error('Every frame of an animated PNG must be the same size.');
|
|
29
|
+
}
|
|
30
|
+
buffers.push(rgbaBuffer(frame));
|
|
31
|
+
delays.push(delay);
|
|
32
|
+
}
|
|
33
|
+
const upng = await loadEncoder();
|
|
34
|
+
// 0 colours: lossless.
|
|
35
|
+
return new Uint8Array(upng.encode(buffers, width, height, 0, delays));
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The bytes of a frame in an ArrayBuffer of their own size, which the encoder
|
|
39
|
+
* reads whole.
|
|
40
|
+
* @param frame - The frame.
|
|
41
|
+
* @returns Its RGBA bytes.
|
|
42
|
+
*/
|
|
43
|
+
function rgbaBuffer(frame) {
|
|
44
|
+
const { data } = frame;
|
|
45
|
+
const { buffer, byteOffset, byteLength } = data;
|
|
46
|
+
if (buffer instanceof ArrayBuffer &&
|
|
47
|
+
byteOffset === 0 &&
|
|
48
|
+
byteLength === buffer.byteLength) {
|
|
49
|
+
return buffer;
|
|
50
|
+
}
|
|
51
|
+
return new Uint8Array(data).buffer;
|
|
52
|
+
}
|
|
53
|
+
async function loadEncoder() {
|
|
54
|
+
const { default: loaded } = (await import('@pdf-lib/upng'));
|
|
55
|
+
// A bundler hands the ES build's one default object; Node's own import hands
|
|
56
|
+
// the exports of the CommonJS build, whose default is that object.
|
|
57
|
+
return 'encode' in loaded ? loaded : loaded.default;
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=animatedPng.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animatedPng.js","sourceRoot":"","sources":["../../../src/molecule3d/core/animatedPng.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,wEAAwE;AACxE,MAAM,CAAC,MAAM,yBAAyB,GAAG,EAAE,CAAC;AAS5C;;;;;;;GAOG;AACH,MAAM,CAAC,KAAK,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ACD,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,OAAO,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC;AACrC,CAAC;AAID,KAAK,UAAU,WAAW;IACxB,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,MAAM,CAAC,eAAe,CAAC,CAEzD,CAAC;IACF,6EAA6E;IAC7E,mEAAmE;IACnE,OAAO,QAAQ,IAAI,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC;AACtD,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A molfile for the viewer, with the parser molstar has to read it with.
|
|
3
|
+
*
|
|
4
|
+
* A file of several models — an SDF of several records, an XYZ of several
|
|
5
|
+
* frames — is a series of frames of one molecule, which the viewer can play
|
|
6
|
+
* and export as an animated PNG.
|
|
7
|
+
*/
|
|
8
|
+
export interface Molecule3DFile {
|
|
9
|
+
/**
|
|
10
|
+
* molstar's format id: `mol` reads V2000, `sdf` reads V2000 and V3000, `xyz`
|
|
11
|
+
* reads bare coordinates and infers the bonds from the distances.
|
|
12
|
+
*/
|
|
13
|
+
format: 'mol' | 'sdf' | 'xyz';
|
|
14
|
+
/** The file text. It must carry 3D coordinates. */
|
|
15
|
+
data: string;
|
|
16
|
+
/**
|
|
17
|
+
* Names the molecule the file draws, when several files draw one — one per
|
|
18
|
+
* normal mode, say. Replacing a file by another of the same name keeps the
|
|
19
|
+
* camera where the reader left it, instead of framing a new molecule.
|
|
20
|
+
* @default undefined — every other file is another molecule
|
|
21
|
+
*/
|
|
22
|
+
moleculeId?: string;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=file.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../../src/molecule3d/core/file.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,MAAM,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;IAC9B,mDAAmD;IACnD,IAAI,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file.js","sourceRoot":"","sources":["../../../src/molecule3d/core/file.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export type { RgbaFrame } from './animatedPng.ts';
|
|
2
|
+
export { DEFAULT_FRAMES_PER_SECOND, encodeAnimatedPng } from './animatedPng.ts';
|
|
1
3
|
export type { Molecule3DCamera, Molecule3DRotation, Molecule3DVector, } from './camera.ts';
|
|
2
4
|
export { DEFAULT_MOLECULE_3D_CAMERA, MOLECULE_3D_ZOOM_RANGE, formatMolecule3DCamera, molecule3DCameraParam, normalizeMolecule3DCamera, parseMolecule3DCamera, sameMolecule3DCamera, } from './camera.ts';
|
|
3
5
|
export type { ImageSize } from './exportImage.ts';
|
|
@@ -8,6 +10,7 @@ export type { HighlightedBond, HighlightedParts, Molecule3DHighlight, } from './
|
|
|
8
10
|
export { highlightedParts, sameHighlights } from './highlight.ts';
|
|
9
11
|
export type { AtomReference, Measurement, MeasurementKind, } from './measurement.ts';
|
|
10
12
|
export { MEASUREMENT_ATOM_COUNTS, MEASUREMENT_KINDS, MEASUREMENT_LABELS, sameMeasurements, } from './measurement.ts';
|
|
11
|
-
export type { Molecule3DFile
|
|
13
|
+
export type { Molecule3DFile } from './file.ts';
|
|
14
|
+
export type { Molecule3DSettings, Molecule3DTools, RepresentationId, SurfaceColoringId, } from './settings.ts';
|
|
12
15
|
export { DEFAULT_MOLECULE_3D_SETTINGS, DEFAULT_MOLECULE_3D_TOOLS, MOLECULE_3D_RANGES, REPRESENTATIONS, REPRESENTATION_LABELS, SURFACE_CHARGE_COLORS, SURFACE_COLORINGS, SURFACE_COLORING_LABELS, isRepresentationId, isSurfaceColoringId, normalizeMolecule3DSettings, resetMolecule3DSettings, resolveMolecule3DTools, sameMolecule3DSettings, } from './settings.ts';
|
|
13
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule3d/core/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,0BAA0B,EAC1B,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACrB,yBAAyB,EACzB,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACjE,YAAY,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACrD,YAAY,EACV,eAAe,EACf,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAClE,YAAY,EACV,aAAa,EACb,WAAW,EACX,eAAe,GAChB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAC1B,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule3d/core/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAChF,YAAY,EAC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_MOLECULE_3D_CAMERA, MOLECULE_3D_ZOOM_RANGE, formatMolecule3DCamera, molecule3DCameraParam, normalizeMolecule3DCamera, parseMolecule3DCamera, sameMolecule3DCamera, } from "./camera.js";
|
|
2
3
|
export { dataUriBytes, rasterSvgMarkup } from "./exportImage.js";
|
|
3
4
|
export { MOLECULE_3D_GESTURES } from "./gestures.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecule3d/core/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecule3d/core/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAMhF,OAAO,EACL,0BAA0B,EAC1B,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACrB,yBAAyB,EACzB,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAMrD,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAMlE,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAQ1B,OAAO,EACL,4BAA4B,EAC5B,yBAAyB,EACzB,kBAAkB,EAClB,eAAe,EACf,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,kBAAkB,EAClB,mBAAmB,EACnB,2BAA2B,EAC3B,uBAAuB,EACvB,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,eAAe,CAAC"}
|
|
@@ -2,13 +2,6 @@
|
|
|
2
2
|
* The display settings of the 3D molecule viewer and the toolbar it carries,
|
|
3
3
|
* free of React and molstar so a site can persist and validate them.
|
|
4
4
|
*/
|
|
5
|
-
/** A molfile for the viewer, with the parser molstar has to read it with. */
|
|
6
|
-
export interface Molecule3DFile {
|
|
7
|
-
/** molstar's format id: `mol` reads V2000, `sdf` reads V2000 and V3000. */
|
|
8
|
-
format: 'mol' | 'sdf';
|
|
9
|
-
/** The molfile text. It must carry 3D coordinates. */
|
|
10
|
-
data: string;
|
|
11
|
-
}
|
|
12
5
|
/** Ways the model can be drawn, in the order the picker offers them. */
|
|
13
6
|
export declare const REPRESENTATIONS: readonly ["ball-and-stick", "spacefill", "stick"];
|
|
14
7
|
/** One of {@link REPRESENTATIONS}. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/molecule3d/core/settings.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/molecule3d/core/settings.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,wEAAwE;AACxE,eAAO,MAAM,eAAe,mDAIlB,CAAC;AAEX,sCAAsC;AACtC,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAEhE,iDAAiD;AACjD,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAIlE,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,iBAAiB,6CAA8C,CAAC;AAE7E,wCAAwC;AACxC,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnE,oDAAoD;AACpD,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAIrE,CAAC;AAEF,+CAA+C;AAC/C,MAAM,WAAW,kBAAkB;IACjC,cAAc,EAAE,gBAAgB,CAAC;IACjC,6EAA6E;IAC7E,UAAU,EAAE,MAAM,CA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AQ,EAAE,kBAAkB,EAC5B,QAAQ,GAAE,kBAAiD,GAC1D,kBAAkB,CAEpB;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,kBAAkB,EACzB,MAAM,EAAE,kBAAkB,GACzB,OAAO,CAUT;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,GAAE,OAAO,CAAC,eAAe,CAAM,GACnC,eAAe,CAEjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/molecule3d/core/settings.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/molecule3d/core/settings.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,wEAAwE;AACxE,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,gBAAgB;IAChB,WAAW;IACX,OAAO;CACC,CAAC;AAKX,iDAAiD;AACjD,MAAM,CAAC,MAAM,qBAAqB,GAAqC;IACrE,gBAAgB,EAAE,gBAAgB;IAClC,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,QAAQ;CAChB,CAAC;AAEF,6EAA6E;AAC7E,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,UAAU,CAAU,CAAC;AAK7E,oDAAoD;AACpD,MAAM,CAAC,MAAM,uBAAuB,GAAsC;IACxE,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACrB,CAAC;AAsBF;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,QAAQ,EAAE,SAAS,EAAE,YAAY;IACjC,QAAQ,EAAE,SAAS,EAAE,YAAY;IACjC,OAAO,EAAE,SAAS,EAAE,YAAY;CACxB,CAAC;AAEX,sDAAsD;AACtD,MAAM,CAAC,MAAM,4BAA4B,GAAuB;IAC9D,cAAc,EAA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