react-cheminfo 0.135.0 → 0.137.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 +1 -1
- package/lib/crystal/core/cellAtoms.d.ts +43 -0
- package/lib/crystal/core/cellAtoms.d.ts.map +1 -0
- package/lib/crystal/core/cellAtoms.js +70 -0
- package/lib/crystal/core/cellAtoms.js.map +1 -0
- package/lib/crystal/core/index.d.ts +2 -0
- package/lib/crystal/core/index.d.ts.map +1 -1
- package/lib/crystal/core/index.js +1 -0
- package/lib/crystal/core/index.js.map +1 -1
- package/lib/crystal/core/molecules.d.ts.map +1 -1
- package/lib/crystal/core/molecules.js +6 -40
- package/lib/crystal/core/molecules.js.map +1 -1
- package/lib/crystal3d/core/cellClip.d.ts +46 -0
- package/lib/crystal3d/core/cellClip.d.ts.map +1 -0
- package/lib/crystal3d/core/cellClip.js +198 -0
- package/lib/crystal3d/core/cellClip.js.map +1 -0
- package/lib/crystal3d/core/cellGeometry.d.ts +63 -0
- package/lib/crystal3d/core/cellGeometry.d.ts.map +1 -0
- package/lib/crystal3d/core/cellGeometry.js +153 -0
- package/lib/crystal3d/core/cellGeometry.js.map +1 -0
- package/lib/crystal3d/core/cellStack.d.ts +51 -0
- package/lib/crystal3d/core/cellStack.d.ts.map +1 -0
- package/lib/crystal3d/core/cellStack.js +79 -0
- package/lib/crystal3d/core/cellStack.js.map +1 -0
- package/lib/crystal3d/core/crystalView.d.ts +81 -0
- package/lib/crystal3d/core/crystalView.d.ts.map +1 -0
- package/lib/crystal3d/core/crystalView.js +55 -0
- package/lib/crystal3d/core/crystalView.js.map +1 -0
- package/lib/crystal3d/core/drawingSet.d.ts +31 -0
- package/lib/crystal3d/core/drawingSet.d.ts.map +1 -0
- package/lib/crystal3d/core/drawingSet.js +63 -0
- package/lib/crystal3d/core/drawingSet.js.map +1 -0
- package/lib/crystal3d/core/elementDrawing.d.ts +50 -0
- package/lib/crystal3d/core/elementDrawing.d.ts.map +1 -0
- package/lib/crystal3d/core/elementDrawing.js +100 -0
- package/lib/crystal3d/core/elementDrawing.js.map +1 -0
- package/lib/crystal3d/core/elementExtent.d.ts +42 -0
- package/lib/crystal3d/core/elementExtent.d.ts.map +1 -0
- package/lib/crystal3d/core/elementExtent.js +56 -0
- package/lib/crystal3d/core/elementExtent.js.map +1 -0
- package/lib/crystal3d/core/elementLabels.d.ts +31 -0
- package/lib/crystal3d/core/elementLabels.d.ts.map +1 -0
- package/lib/crystal3d/core/elementLabels.js +99 -0
- package/lib/crystal3d/core/elementLabels.js.map +1 -0
- package/lib/crystal3d/core/elementShapes.d.ts +43 -0
- package/lib/crystal3d/core/elementShapes.d.ts.map +1 -0
- package/lib/crystal3d/core/elementShapes.js +115 -0
- package/lib/crystal3d/core/elementShapes.js.map +1 -0
- package/lib/crystal3d/core/frame.d.ts +36 -0
- package/lib/crystal3d/core/frame.d.ts.map +1 -0
- package/lib/crystal3d/core/frame.js +35 -0
- package/lib/crystal3d/core/frame.js.map +1 -0
- package/lib/crystal3d/core/framing.d.ts +41 -0
- package/lib/crystal3d/core/framing.d.ts.map +1 -0
- package/lib/crystal3d/core/framing.js +79 -0
- package/lib/crystal3d/core/framing.js.map +1 -0
- package/lib/crystal3d/core/index.d.ts +42 -0
- package/lib/crystal3d/core/index.d.ts.map +1 -0
- package/lib/crystal3d/core/index.js +29 -0
- package/lib/crystal3d/core/index.js.map +1 -0
- package/lib/crystal3d/core/labelText.d.ts +19 -0
- package/lib/crystal3d/core/labelText.d.ts.map +1 -0
- package/lib/crystal3d/core/labelText.js +42 -0
- package/lib/crystal3d/core/labelText.js.map +1 -0
- package/lib/crystal3d/core/latticeBasis.d.ts +49 -0
- package/lib/crystal3d/core/latticeBasis.d.ts.map +1 -0
- package/lib/crystal3d/core/latticeBasis.js +89 -0
- package/lib/crystal3d/core/latticeBasis.js.map +1 -0
- package/lib/crystal3d/core/mat3.d.ts +68 -0
- package/lib/crystal3d/core/mat3.d.ts.map +1 -0
- package/lib/crystal3d/core/mat3.js +146 -0
- package/lib/crystal3d/core/mat3.js.map +1 -0
- package/lib/crystal3d/core/operationMatrix.d.ts +44 -0
- package/lib/crystal3d/core/operationMatrix.d.ts.map +1 -0
- package/lib/crystal3d/core/operationMatrix.js +172 -0
- package/lib/crystal3d/core/operationMatrix.js.map +1 -0
- package/lib/crystal3d/core/orientation.d.ts +62 -0
- package/lib/crystal3d/core/orientation.d.ts.map +1 -0
- package/lib/crystal3d/core/orientation.js +166 -0
- package/lib/crystal3d/core/orientation.js.map +1 -0
- package/lib/crystal3d/core/palette.d.ts +24 -0
- package/lib/crystal3d/core/palette.d.ts.map +1 -0
- package/lib/crystal3d/core/palette.js +34 -0
- package/lib/crystal3d/core/palette.js.map +1 -0
- package/lib/crystal3d/core/primitives.d.ts +133 -0
- package/lib/crystal3d/core/primitives.d.ts.map +1 -0
- package/lib/crystal3d/core/primitives.js +80 -0
- package/lib/crystal3d/core/primitives.js.map +1 -0
- package/lib/crystal3d/core/structureText.d.ts +20 -0
- package/lib/crystal3d/core/structureText.d.ts.map +1 -0
- package/lib/crystal3d/core/structureText.js +37 -0
- package/lib/crystal3d/core/structureText.js.map +1 -0
- package/lib/crystal3d/core/supercell.d.ts +20 -0
- package/lib/crystal3d/core/supercell.d.ts.map +1 -0
- package/lib/crystal3d/core/supercell.js +35 -0
- package/lib/crystal3d/core/supercell.js.map +1 -0
- package/lib/crystal3d/core/types.d.ts +166 -0
- package/lib/crystal3d/core/types.d.ts.map +1 -0
- package/lib/crystal3d/core/types.js +10 -0
- package/lib/crystal3d/core/types.js.map +1 -0
- package/lib/crystal3d/core/vec3.d.ts +75 -0
- package/lib/crystal3d/core/vec3.d.ts.map +1 -0
- package/lib/crystal3d/core/vec3.js +119 -0
- package/lib/crystal3d/core/vec3.js.map +1 -0
- package/lib/crystal3d/ui/CrystalCanvas3D.d.ts +52 -0
- package/lib/crystal3d/ui/CrystalCanvas3D.d.ts.map +1 -0
- package/lib/crystal3d/ui/CrystalCanvas3D.js +250 -0
- package/lib/crystal3d/ui/CrystalCanvas3D.js.map +1 -0
- package/lib/crystal3d/ui/CrystalStructureView.d.ts +17 -0
- package/lib/crystal3d/ui/CrystalStructureView.d.ts.map +1 -0
- package/lib/crystal3d/ui/CrystalStructureView.js +79 -0
- package/lib/crystal3d/ui/CrystalStructureView.js.map +1 -0
- package/lib/crystal3d/ui/CrystalStructureViewer.d.ts +22 -0
- package/lib/crystal3d/ui/CrystalStructureViewer.d.ts.map +1 -0
- package/lib/crystal3d/ui/CrystalStructureViewer.js +29 -0
- package/lib/crystal3d/ui/CrystalStructureViewer.js.map +1 -0
- package/lib/crystal3d/ui/CrystalViewControls.d.ts +29 -0
- package/lib/crystal3d/ui/CrystalViewControls.d.ts.map +1 -0
- package/lib/crystal3d/ui/CrystalViewControls.js +24 -0
- package/lib/crystal3d/ui/CrystalViewControls.js.map +1 -0
- package/lib/crystal3d/ui/CrystalViewer3D.d.ts +72 -0
- package/lib/crystal3d/ui/CrystalViewer3D.d.ts.map +1 -0
- package/lib/crystal3d/ui/CrystalViewer3D.js +70 -0
- package/lib/crystal3d/ui/CrystalViewer3D.js.map +1 -0
- package/lib/crystal3d/ui/crystalScene.d.ts +97 -0
- package/lib/crystal3d/ui/crystalScene.d.ts.map +1 -0
- package/lib/crystal3d/ui/crystalScene.js +10 -0
- package/lib/crystal3d/ui/crystalScene.js.map +1 -0
- package/lib/crystal3d/ui/crystalStructureViewerProps.d.ts +52 -0
- package/lib/crystal3d/ui/crystalStructureViewerProps.d.ts.map +1 -0
- package/lib/crystal3d/ui/crystalStructureViewerProps.js +2 -0
- package/lib/crystal3d/ui/crystalStructureViewerProps.js.map +1 -0
- package/lib/crystal3d/ui/index.d.ts +16 -0
- package/lib/crystal3d/ui/index.d.ts.map +1 -0
- package/lib/crystal3d/ui/index.js +12 -0
- package/lib/crystal3d/ui/index.js.map +1 -0
- package/lib/crystal3d/ui/useCrystalCaption.d.ts +14 -0
- package/lib/crystal3d/ui/useCrystalCaption.d.ts.map +1 -0
- package/lib/crystal3d/ui/useCrystalCaption.js +32 -0
- package/lib/crystal3d/ui/useCrystalCaption.js.map +1 -0
- package/lib/crystal3d/viewer/animate.d.ts +49 -0
- package/lib/crystal3d/viewer/animate.d.ts.map +1 -0
- package/lib/crystal3d/viewer/animate.js +83 -0
- package/lib/crystal3d/viewer/animate.js.map +1 -0
- package/lib/crystal3d/viewer/camera.d.ts +44 -0
- package/lib/crystal3d/viewer/camera.d.ts.map +1 -0
- package/lib/crystal3d/viewer/camera.js +103 -0
- package/lib/crystal3d/viewer/camera.js.map +1 -0
- package/lib/crystal3d/viewer/index.d.ts +13 -0
- package/lib/crystal3d/viewer/index.d.ts.map +1 -0
- package/lib/crystal3d/viewer/index.js +8 -0
- package/lib/crystal3d/viewer/index.js.map +1 -0
- package/lib/crystal3d/viewer/layerRegistry.d.ts +24 -0
- package/lib/crystal3d/viewer/layerRegistry.d.ts.map +1 -0
- package/lib/crystal3d/viewer/layerRegistry.js +39 -0
- package/lib/crystal3d/viewer/layerRegistry.js.map +1 -0
- package/lib/crystal3d/viewer/meshPrimitives.d.ts +13 -0
- package/lib/crystal3d/viewer/meshPrimitives.d.ts.map +1 -0
- package/lib/crystal3d/viewer/meshPrimitives.js +76 -0
- package/lib/crystal3d/viewer/meshPrimitives.js.map +1 -0
- package/lib/crystal3d/viewer/plugin.d.ts +133 -0
- package/lib/crystal3d/viewer/plugin.d.ts.map +1 -0
- package/lib/crystal3d/viewer/plugin.js +181 -0
- package/lib/crystal3d/viewer/plugin.js.map +1 -0
- package/lib/crystal3d/viewer/renderCell.d.ts +43 -0
- package/lib/crystal3d/viewer/renderCell.d.ts.map +1 -0
- package/lib/crystal3d/viewer/renderCell.js +53 -0
- package/lib/crystal3d/viewer/renderCell.js.map +1 -0
- package/lib/crystal3d/viewer/renderElements.d.ts +54 -0
- package/lib/crystal3d/viewer/renderElements.d.ts.map +1 -0
- package/lib/crystal3d/viewer/renderElements.js +77 -0
- package/lib/crystal3d/viewer/renderElements.js.map +1 -0
- package/lib/crystal3d/viewer/renderStructure.d.ts +80 -0
- package/lib/crystal3d/viewer/renderStructure.d.ts.map +1 -0
- package/lib/crystal3d/viewer/renderStructure.js +143 -0
- package/lib/crystal3d/viewer/renderStructure.js.map +1 -0
- package/lib/crystal3d/viewer/sceneParts.d.ts +32 -0
- package/lib/crystal3d/viewer/sceneParts.d.ts.map +1 -0
- package/lib/crystal3d/viewer/sceneParts.js +77 -0
- package/lib/crystal3d/viewer/sceneParts.js.map +1 -0
- package/lib/crystal3d/viewer/shapeLayer.d.ts +41 -0
- package/lib/crystal3d/viewer/shapeLayer.d.ts.map +1 -0
- package/lib/crystal3d/viewer/shapeLayer.js +57 -0
- package/lib/crystal3d/viewer/shapeLayer.js.map +1 -0
- package/lib/crystal3d/viewer/textLayer.d.ts +21 -0
- package/lib/crystal3d/viewer/textLayer.d.ts.map +1 -0
- package/lib/crystal3d/viewer/textLayer.js +59 -0
- package/lib/crystal3d/viewer/textLayer.js.map +1 -0
- package/lib/crystal3d/viewer/viewer.d.ts +119 -0
- package/lib/crystal3d/viewer/viewer.d.ts.map +1 -0
- package/lib/crystal3d/viewer/viewer.js +172 -0
- package/lib/crystal3d/viewer/viewer.js.map +1 -0
- package/lib/crystal3d.d.ts +12 -0
- package/lib/crystal3d.d.ts.map +1 -0
- package/lib/crystal3d.js +12 -0
- package/lib/crystal3d.js.map +1 -0
- package/lib/download/core/croppedMarkup.d.ts.map +1 -1
- package/lib/download/core/croppedMarkup.js +16 -40
- package/lib/download/core/croppedMarkup.js.map +1 -1
- package/lib/download/core/dataUrl.d.ts +27 -0
- package/lib/download/core/dataUrl.d.ts.map +1 -0
- package/lib/download/core/dataUrl.js +54 -0
- package/lib/download/core/dataUrl.js.map +1 -0
- package/lib/download/core/index.d.ts +3 -0
- package/lib/download/core/index.d.ts.map +1 -1
- package/lib/download/core/index.js +2 -0
- package/lib/download/core/index.js.map +1 -1
- package/lib/download/core/svgMarkup.d.ts +39 -0
- package/lib/download/core/svgMarkup.d.ts.map +1 -0
- package/lib/download/core/svgMarkup.js +100 -0
- package/lib/download/core/svgMarkup.js.map +1 -0
- package/lib/drawing/ui/movingFigure.d.ts.map +1 -1
- package/lib/drawing/ui/movingFigure.js +4 -30
- package/lib/drawing/ui/movingFigure.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/locales/de.json +26 -1
- package/lib/locales/en.json +26 -1
- package/lib/locales/es.json +26 -1
- package/lib/locales/fr.json +26 -1
- package/lib/locales/it.json +26 -1
- package/lib/molecule3d/ui/MoleculeCanvas3D.d.ts.map +1 -1
- package/lib/molecule3d/ui/MoleculeCanvas3D.js +16 -27
- package/lib/molecule3d/ui/MoleculeCanvas3D.js.map +1 -1
- package/lib/molstar/bonds/bondRule.d.ts +16 -0
- package/lib/molstar/bonds/bondRule.d.ts.map +1 -0
- package/lib/molstar/bonds/bondRule.js +23 -0
- package/lib/molstar/bonds/bondRule.js.map +1 -0
- package/lib/molstar/bonds/index.d.ts +9 -0
- package/lib/molstar/bonds/index.d.ts.map +1 -0
- package/lib/molstar/bonds/index.js +9 -0
- package/lib/molstar/bonds/index.js.map +1 -0
- package/lib/molstar/ui/MolstarToolbar.d.ts +47 -0
- package/lib/molstar/ui/MolstarToolbar.d.ts.map +1 -0
- package/lib/molstar/ui/MolstarToolbar.js +28 -0
- package/lib/molstar/ui/MolstarToolbar.js.map +1 -0
- package/lib/molstar/ui/index.d.ts +10 -0
- package/lib/molstar/ui/index.d.ts.map +1 -0
- package/lib/molstar/ui/index.js +8 -0
- package/lib/molstar/ui/index.js.map +1 -0
- package/lib/molstar/ui/useMolstarTools.d.ts +63 -0
- package/lib/molstar/ui/useMolstarTools.d.ts.map +1 -0
- package/lib/molstar/ui/useMolstarTools.js +36 -0
- package/lib/molstar/ui/useMolstarTools.js.map +1 -0
- package/package.json +2 -1
- package/src/crystal/core/cellAtoms.ts +106 -0
- package/src/crystal/core/index.ts +2 -0
- package/src/crystal/core/molecules.ts +7 -44
- package/src/crystal3d/core/cellClip.ts +229 -0
- package/src/crystal3d/core/cellGeometry.ts +193 -0
- package/src/crystal3d/core/cellStack.ts +87 -0
- package/src/crystal3d/core/crystalView.ts +131 -0
- package/src/crystal3d/core/drawingSet.ts +71 -0
- package/src/crystal3d/core/elementDrawing.ts +147 -0
- package/src/crystal3d/core/elementExtent.ts +81 -0
- package/src/crystal3d/core/elementLabels.ts +130 -0
- package/src/crystal3d/core/elementShapes.ts +141 -0
- package/src/crystal3d/core/frame.ts +56 -0
- package/src/crystal3d/core/framing.ts +101 -0
- package/src/crystal3d/core/index.ts +134 -0
- package/src/crystal3d/core/labelText.ts +44 -0
- package/src/crystal3d/core/latticeBasis.ts +110 -0
- package/src/crystal3d/core/mat3.ts +163 -0
- package/src/crystal3d/core/operationMatrix.ts +255 -0
- package/src/crystal3d/core/orientation.ts +229 -0
- package/src/crystal3d/core/palette.ts +43 -0
- package/src/crystal3d/core/primitives.ts +183 -0
- package/src/crystal3d/core/structureText.ts +43 -0
- package/src/crystal3d/core/supercell.ts +40 -0
- package/src/crystal3d/core/types.ts +186 -0
- package/src/crystal3d/core/vec3.ts +127 -0
- package/src/crystal3d/ui/CrystalCanvas3D.tsx +393 -0
- package/src/crystal3d/ui/CrystalStructureView.tsx +153 -0
- package/src/crystal3d/ui/CrystalStructureViewer.tsx +39 -0
- package/src/crystal3d/ui/CrystalViewControls.tsx +129 -0
- package/src/crystal3d/ui/CrystalViewer3D.tsx +183 -0
- package/src/crystal3d/ui/crystalScene.ts +106 -0
- package/src/crystal3d/ui/crystalStructureViewerProps.ts +54 -0
- package/src/crystal3d/ui/index.ts +20 -0
- package/src/crystal3d/ui/useCrystalCaption.ts +38 -0
- package/src/crystal3d/viewer/animate.ts +113 -0
- package/src/crystal3d/viewer/camera.ts +139 -0
- package/src/crystal3d/viewer/index.ts +13 -0
- package/src/crystal3d/viewer/layerRegistry.ts +47 -0
- package/src/crystal3d/viewer/meshPrimitives.ts +102 -0
- package/src/crystal3d/viewer/plugin.ts +258 -0
- package/src/crystal3d/viewer/renderCell.ts +98 -0
- package/src/crystal3d/viewer/renderElements.ts +121 -0
- package/src/crystal3d/viewer/renderStructure.ts +209 -0
- package/src/crystal3d/viewer/sceneParts.ts +119 -0
- package/src/crystal3d/viewer/shapeLayer.ts +108 -0
- package/src/crystal3d/viewer/textLayer.ts +85 -0
- package/src/crystal3d/viewer/viewer.ts +223 -0
- package/src/crystal3d.ts +12 -0
- package/src/download/core/croppedMarkup.ts +16 -42
- package/src/download/core/dataUrl.ts +59 -0
- package/src/download/core/index.ts +3 -0
- package/src/download/core/svgMarkup.ts +113 -0
- package/src/drawing/ui/movingFigure.ts +4 -28
- package/src/locales/de.json +26 -1
- package/src/locales/en.json +26 -1
- package/src/locales/es.json +26 -1
- package/src/locales/fr.json +26 -1
- package/src/locales/it.json +26 -1
- package/src/molecule3d/ui/MoleculeCanvas3D.tsx +45 -71
- package/src/molstar/bonds/bondRule.ts +34 -0
- package/src/molstar/bonds/index.ts +9 -0
- package/src/molstar/ui/MolstarToolbar.tsx +103 -0
- package/src/molstar/ui/index.ts +14 -0
- package/src/molstar/ui/useMolstarTools.ts +98 -0
- package/styles/chrome.css +90 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pictures as `data:` URLs, the way a document holds them: a file read into
|
|
3
|
+
* one, an SVG written into one, and an SVG read back out of one — without a
|
|
4
|
+
* `FileReader` or a `fetch`, so it runs in a worker, under a content security
|
|
5
|
+
* policy forbidding `data:` fetches, and in Node.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* A blob as a base64 `data:` URL, as a `FileReader` writes it.
|
|
9
|
+
* @param blob - The blob, its `type` naming what it holds.
|
|
10
|
+
* @returns The URL.
|
|
11
|
+
*/
|
|
12
|
+
export declare function blobDataUrl(blob: Blob): Promise<string>;
|
|
13
|
+
/**
|
|
14
|
+
* An SVG as a base64 `data:` URL: what a document stores for a picture.
|
|
15
|
+
* @param svg - The SVG document.
|
|
16
|
+
* @returns The URL.
|
|
17
|
+
*/
|
|
18
|
+
export declare function svgDataUrl(svg: string): string;
|
|
19
|
+
/**
|
|
20
|
+
* The SVG document a `data:` URL holds, whether written in base64 or
|
|
21
|
+
* percent-encoded.
|
|
22
|
+
* @param src - The URL.
|
|
23
|
+
* @returns The SVG's text, or `undefined` for any other picture, or for a URL
|
|
24
|
+
* that cannot be decoded.
|
|
25
|
+
*/
|
|
26
|
+
export declare function svgOfDataUrl(src: string): string | undefined;
|
|
27
|
+
//# sourceMappingURL=dataUrl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataUrl.d.ts","sourceRoot":"","sources":["../../../src/download/core/dataUrl.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH;;;;GAIG;AACH,wBAAsB,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAI7D;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE9C;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAe5D"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pictures as `data:` URLs, the way a document holds them: a file read into
|
|
3
|
+
* one, an SVG written into one, and an SVG read back out of one — without a
|
|
4
|
+
* `FileReader` or a `fetch`, so it runs in a worker, under a content security
|
|
5
|
+
* policy forbidding `data:` fetches, and in Node.
|
|
6
|
+
*/
|
|
7
|
+
import { decode, encode } from 'uint8-base64';
|
|
8
|
+
/** The type of an SVG picture. */
|
|
9
|
+
const SVG_TYPE = 'image/svg+xml';
|
|
10
|
+
/**
|
|
11
|
+
* A blob as a base64 `data:` URL, as a `FileReader` writes it.
|
|
12
|
+
* @param blob - The blob, its `type` naming what it holds.
|
|
13
|
+
* @returns The URL.
|
|
14
|
+
*/
|
|
15
|
+
export async function blobDataUrl(blob) {
|
|
16
|
+
const type = blob.type || 'application/octet-stream';
|
|
17
|
+
const bytes = new Uint8Array(await blob.arrayBuffer());
|
|
18
|
+
return `data:${type};base64,${base64(bytes)}`;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* An SVG as a base64 `data:` URL: what a document stores for a picture.
|
|
22
|
+
* @param svg - The SVG document.
|
|
23
|
+
* @returns The URL.
|
|
24
|
+
*/
|
|
25
|
+
export function svgDataUrl(svg) {
|
|
26
|
+
return `data:${SVG_TYPE};base64,${base64(new TextEncoder().encode(svg))}`;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The SVG document a `data:` URL holds, whether written in base64 or
|
|
30
|
+
* percent-encoded.
|
|
31
|
+
* @param src - The URL.
|
|
32
|
+
* @returns The SVG's text, or `undefined` for any other picture, or for a URL
|
|
33
|
+
* that cannot be decoded.
|
|
34
|
+
*/
|
|
35
|
+
export function svgOfDataUrl(src) {
|
|
36
|
+
const match = /^data:image\/svg\+xml(?<parameters>[^,]*),(?<data>.*)$/is.exec(src);
|
|
37
|
+
if (!match?.groups)
|
|
38
|
+
return undefined;
|
|
39
|
+
const { parameters = '', data = '' } = match.groups;
|
|
40
|
+
try {
|
|
41
|
+
if (!parameters.toLowerCase().endsWith(';base64')) {
|
|
42
|
+
return decodeURIComponent(data);
|
|
43
|
+
}
|
|
44
|
+
const text = new TextEncoder().encode(data.replaceAll(/\s/g, ''));
|
|
45
|
+
return new TextDecoder().decode(decode(text));
|
|
46
|
+
}
|
|
47
|
+
catch {
|
|
48
|
+
return undefined;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
function base64(bytes) {
|
|
52
|
+
return new TextDecoder().decode(encode(bytes));
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=dataUrl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{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,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;IAChD,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AAED,SAAS,MAAM,CAAC,KAAiB;IAC/B,OAAO,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AACjD,CAAC"}
|
|
@@ -16,9 +16,12 @@ export { figureRevision, setFigureRevision } from './figureRevision.ts';
|
|
|
16
16
|
export { savedRevisionAddress } from './savedRevision.ts';
|
|
17
17
|
export type { FigureSourceReader } from './pageFigureSource.ts';
|
|
18
18
|
export { setPageFigureSource, withPageFigureSource, } from './pageFigureSource.ts';
|
|
19
|
+
export type { SvgSize } from './svgMarkup.ts';
|
|
20
|
+
export { svgSizeInPoints } from './svgMarkup.ts';
|
|
19
21
|
export type { RasterFigureSource } from './croppedMarkup.ts';
|
|
20
22
|
export { croppedSvgMarkup, rasterFigureSource, resizedSvgFigure, svgFigure, } from './croppedMarkup.ts';
|
|
21
23
|
export { cssTokenNames, resolveCssTokens } from './cssTokens.ts';
|
|
24
|
+
export { blobDataUrl, svgDataUrl, svgOfDataUrl } from './dataUrl.ts';
|
|
22
25
|
export type { DocumentFigureRedraw } from './documentFigure.ts';
|
|
23
26
|
export { DOCUMENT_FIGURE_SIZE, documentFigureSvg, registerDocumentFigure, } from './documentFigure.ts';
|
|
24
27
|
export { downloadBlob } from './downloadBlob.ts';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/download/core/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE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,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,YAAY,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -10,8 +10,10 @@ export { HTML_SOURCE_ID, SOURCE_FORMAT, SOURCE_VERSION, readHtmlSource, readSour
|
|
|
10
10
|
export { figureRevision, setFigureRevision } from "./figureRevision.js";
|
|
11
11
|
export { savedRevisionAddress } from "./savedRevision.js";
|
|
12
12
|
export { setPageFigureSource, withPageFigureSource, } from "./pageFigureSource.js";
|
|
13
|
+
export { svgSizeInPoints } from "./svgMarkup.js";
|
|
13
14
|
export { croppedSvgMarkup, rasterFigureSource, resizedSvgFigure, svgFigure, } from "./croppedMarkup.js";
|
|
14
15
|
export { cssTokenNames, resolveCssTokens } from "./cssTokens.js";
|
|
16
|
+
export { blobDataUrl, svgDataUrl, svgOfDataUrl } from "./dataUrl.js";
|
|
15
17
|
export { DOCUMENT_FIGURE_SIZE, documentFigureSvg, registerDocumentFigure, } from "./documentFigure.js";
|
|
16
18
|
export { downloadBlob } from "./downloadBlob.js";
|
|
17
19
|
export { downloadFigure, downloadFigureSvg, figureFile, figureSvgFile, } from "./downloadFigure.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/download/core/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EACL,0BAA0B,EAC1B,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EACL,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,uBAAuB,EACvB,aAAa,EACb,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAO3B,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,WAAW,EACX,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EACL,cAAc,EACd,aAAa,EACb,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,EACL,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,SAAS,GACV,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/download/core/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,OAAO,EA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BAAqB,CAAC;AAE/D,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What an SVG document says about itself, read from its text without a
|
|
3
|
+
* browser: the size it asks to be drawn at, and the attributes of its root.
|
|
4
|
+
*/
|
|
5
|
+
import type { SvgBox } from './svgBounds.ts';
|
|
6
|
+
/** A width and a height, in points. */
|
|
7
|
+
export interface SvgSize {
|
|
8
|
+
/** Width, in points. */
|
|
9
|
+
width: number;
|
|
10
|
+
/** Height, in points. */
|
|
11
|
+
height: number;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The size an SVG asks to be drawn at: its width and height, completed from
|
|
15
|
+
* its view box when one of them is missing, or a browser's 300 × 150 pixels.
|
|
16
|
+
* @param svg - The SVG document.
|
|
17
|
+
* @returns Its size, in points.
|
|
18
|
+
*/
|
|
19
|
+
export declare function svgSizeInPoints(svg: string): SvgSize;
|
|
20
|
+
/**
|
|
21
|
+
* The opening tag of an SVG's root element.
|
|
22
|
+
* @param svg - The SVG document.
|
|
23
|
+
* @returns The tag, or an empty string when there is none.
|
|
24
|
+
*/
|
|
25
|
+
export declare function svgRootTag(svg: string): string;
|
|
26
|
+
/**
|
|
27
|
+
* The value of an attribute written in a tag.
|
|
28
|
+
* @param tag - The tag.
|
|
29
|
+
* @param name - The attribute.
|
|
30
|
+
* @returns Its value, or `undefined` when the tag does not write it.
|
|
31
|
+
*/
|
|
32
|
+
export declare function svgAttribute(tag: string, name: string): string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* A `viewBox` attribute read as a rectangle.
|
|
35
|
+
* @param value - The attribute's value.
|
|
36
|
+
* @returns The rectangle, or `undefined` when it is missing or draws nothing.
|
|
37
|
+
*/
|
|
38
|
+
export declare function svgViewBox(value: string | undefined): SvgBox | undefined;
|
|
39
|
+
//# sourceMappingURL=svgMarkup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"svgMarkup.d.ts","sourceRoot":"","sources":["../../../src/download/core/svgMarkup.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAE7C,uCAAuC;AACvC,MAAM,WAAW,OAAO;IACtB,wBAAwB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,yBAAyB;IACzB,MAAM,EAAE,MAAM,CAAC;CAChB;AAsBD;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAepD;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE9C;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAM1E;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAaxE"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What an SVG document says about itself, read from its text without a
|
|
3
|
+
* browser: the size it asks to be drawn at, and the attributes of its root.
|
|
4
|
+
*/
|
|
5
|
+
/** Points in a CSS pixel, the unit of a length written without one. */
|
|
6
|
+
const PIXEL = 0.75;
|
|
7
|
+
/** The size a browser gives an SVG that states none, in CSS pixels. */
|
|
8
|
+
const DEFAULT_SIZE = { width: 300, height: 150 };
|
|
9
|
+
/** Points in one unit of each length an SVG may state its size in. */
|
|
10
|
+
const POINTS_PER_UNIT = {
|
|
11
|
+
'': PIXEL,
|
|
12
|
+
px: PIXEL,
|
|
13
|
+
pt: 1,
|
|
14
|
+
pc: 12,
|
|
15
|
+
in: 72,
|
|
16
|
+
cm: 72 / 2.54,
|
|
17
|
+
mm: 72 / 25.4,
|
|
18
|
+
q: 72 / 101.6,
|
|
19
|
+
em: 12,
|
|
20
|
+
ex: 6,
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* The size an SVG asks to be drawn at: its width and height, completed from
|
|
24
|
+
* its view box when one of them is missing, or a browser's 300 × 150 pixels.
|
|
25
|
+
* @param svg - The SVG document.
|
|
26
|
+
* @returns Its size, in points.
|
|
27
|
+
*/
|
|
28
|
+
export function svgSizeInPoints(svg) {
|
|
29
|
+
const root = svgRootTag(svg);
|
|
30
|
+
const width = lengthInPoints(svgAttribute(root, 'width'));
|
|
31
|
+
const height = lengthInPoints(svgAttribute(root, 'height'));
|
|
32
|
+
const box = svgViewBox(svgAttribute(root, 'viewBox'));
|
|
33
|
+
if (width && height)
|
|
34
|
+
return { width, height };
|
|
35
|
+
if (box) {
|
|
36
|
+
if (width)
|
|
37
|
+
return { width, height: (width * box.height) / box.width };
|
|
38
|
+
if (height)
|
|
39
|
+
return { width: (height * box.width) / box.height, height };
|
|
40
|
+
return { width: box.width * PIXEL, height: box.height * PIXEL };
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
width: width ?? DEFAULT_SIZE.width * PIXEL,
|
|
44
|
+
height: height ?? DEFAULT_SIZE.height * PIXEL,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The opening tag of an SVG's root element.
|
|
49
|
+
* @param svg - The SVG document.
|
|
50
|
+
* @returns The tag, or an empty string when there is none.
|
|
51
|
+
*/
|
|
52
|
+
export function svgRootTag(svg) {
|
|
53
|
+
return /<svg\b[^>]*>/i.exec(svg)?.[0] ?? '';
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* The value of an attribute written in a tag.
|
|
57
|
+
* @param tag - The tag.
|
|
58
|
+
* @param name - The attribute.
|
|
59
|
+
* @returns Its value, or `undefined` when the tag does not write it.
|
|
60
|
+
*/
|
|
61
|
+
export function svgAttribute(tag, name) {
|
|
62
|
+
const pattern = new RegExp(String.raw `\s${name}\s*=\s*(?:"(?<double>[^"]*)"|'(?<single>[^']*)')`);
|
|
63
|
+
const groups = pattern.exec(tag)?.groups;
|
|
64
|
+
return groups?.double ?? groups?.single;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* A `viewBox` attribute read as a rectangle.
|
|
68
|
+
* @param value - The attribute's value.
|
|
69
|
+
* @returns The rectangle, or `undefined` when it is missing or draws nothing.
|
|
70
|
+
*/
|
|
71
|
+
export function svgViewBox(value) {
|
|
72
|
+
if (value === undefined)
|
|
73
|
+
return undefined;
|
|
74
|
+
const parts = value
|
|
75
|
+
.trim()
|
|
76
|
+
.split(/[\s,]+/)
|
|
77
|
+
.map(Number);
|
|
78
|
+
const [x, y, width, height] = parts;
|
|
79
|
+
if (parts.length !== 4 || x === undefined || y === undefined) {
|
|
80
|
+
return undefined;
|
|
81
|
+
}
|
|
82
|
+
if (!Number.isFinite(x) || !Number.isFinite(y))
|
|
83
|
+
return undefined;
|
|
84
|
+
if (!width || !height || !(width > 0) || !(height > 0))
|
|
85
|
+
return undefined;
|
|
86
|
+
return { x, y, width, height };
|
|
87
|
+
}
|
|
88
|
+
function lengthInPoints(value) {
|
|
89
|
+
if (value === undefined)
|
|
90
|
+
return undefined;
|
|
91
|
+
const match = /^\s*(?<amount>[+]?(?:\d+\.?\d*|\.\d+)(?:e[+-]?\d+)?)\s*(?<unit>[a-z]*)\s*$/i.exec(value);
|
|
92
|
+
if (!match?.groups)
|
|
93
|
+
return undefined;
|
|
94
|
+
const factor = POINTS_PER_UNIT[match.groups.unit?.toLowerCase() ?? ''];
|
|
95
|
+
const amount = Number(match.groups.amount);
|
|
96
|
+
if (factor === undefined || !(amount > 0))
|
|
97
|
+
return undefined;
|
|
98
|
+
return amount * factor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,KAAK,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS,IAAI,CAAC,KAAK,SAAS,EAAE,CAAC;QAC7D,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;QAAE,OAAO,SAAS,CAAC;IACjE,IAAI,CAAC,KAAK,IAAI,CAAC,MAAM,IAAI,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;QAAE,OAAO,SAAS,CAAC;IACzE,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;AACjC,CAAC;AAED,SAAS,cAAc,CAAC,KAAyB;IAC/C,IAAI,KAAK,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IAC1C,MAAM,KAAK,GACT,6EAA6E,CAAC,IAAI,CAChF,KAAK,CACN,CAAC;IACJ,IAAI,CAAC,KAAK,EAAE,MAAM;QAAE,OAAO,SAAS,CAAC;IACrC,MAAM,MAAM,GAAG,eAAe,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC;IACvE,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3C,IAAI,MAAM,KAAK,SAAS,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;QAAE,OAAO,SAAS,CAAC;IAC5D,OAAO,MAAM,GAAG,MAAM,CAAC;AACzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"movingFigure.d.ts","sourceRoot":"","sources":["../../../src/drawing/ui/movingFigure.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"movingFigure.d.ts","sourceRoot":"","sources":["../../../src/drawing/ui/movingFigure.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAQH;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;;;;CAKrB,CAAC;AAqBX;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG,MAAM,CAa1E;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAQ/D;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAa3E"}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* figure as it was written, held still.
|
|
6
6
|
*/
|
|
7
7
|
import { useCallback } from 'react';
|
|
8
|
+
import { svgDataUrl, svgOfDataUrl } from "../../download/core/dataUrl.js";
|
|
8
9
|
import { useAsync } from "../../hooks/ui/useAsync.js";
|
|
9
10
|
import { figureMoves, movingFigure } from "../render/motion.js";
|
|
10
11
|
/**
|
|
@@ -77,36 +78,9 @@ export function movingFigureSource(src) {
|
|
|
77
78
|
return entry.promise;
|
|
78
79
|
}
|
|
79
80
|
async function makeMoving(src) {
|
|
80
|
-
|
|
81
|
+
const svg = svgOfDataUrl(src);
|
|
82
|
+
if (svg === undefined || !figureMoves(svg))
|
|
81
83
|
return undefined;
|
|
82
|
-
|
|
83
|
-
const response = await fetch(src);
|
|
84
|
-
if (!response.ok)
|
|
85
|
-
return undefined;
|
|
86
|
-
const svg = await response.text();
|
|
87
|
-
if (!figureMoves(svg))
|
|
88
|
-
return undefined;
|
|
89
|
-
return await dataUrl(new Blob([movingFigure(svg)], { type: 'image/svg+xml' }));
|
|
90
|
-
}
|
|
91
|
-
catch {
|
|
92
|
-
// A picture that cannot be read is shown as it is, still.
|
|
93
|
-
return undefined;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
function dataUrl(blob) {
|
|
97
|
-
return new Promise((resolve, reject) => {
|
|
98
|
-
const reader = new FileReader();
|
|
99
|
-
reader.addEventListener('load', () => {
|
|
100
|
-
const { result } = reader;
|
|
101
|
-
if (typeof result === 'string')
|
|
102
|
-
resolve(result);
|
|
103
|
-
else
|
|
104
|
-
reject(new Error('The figure could not be read.'));
|
|
105
|
-
});
|
|
106
|
-
reader.addEventListener('error', () => {
|
|
107
|
-
reject(reader.error ?? new Error('The figure could not be read.'));
|
|
108
|
-
});
|
|
109
|
-
reader.readAsDataURL(blob);
|
|
110
|
-
});
|
|
84
|
+
return svgDataUrl(movingFigure(svg));
|
|
111
85
|
}
|
|
112
86
|
//# sourceMappingURL=movingFigure.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"movingFigure.js","sourceRoot":"","sources":["../../../src/drawing/ui/movingFigure.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEhE;;;;GAIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,MAAM,EACJ,kIAAkI;IACpI,IAAI,EAAE,4BAA4B;IAClC,KAAK,EAAE,iDAAiD;CAChD,CAAC;AAEX,gFAAgF;AAChF,MAAM,cAAc,GAClB,UAAU,CAAC,UAAU,EAAE,CAAC,kCAAkC,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC;AAE/E,uDAAuD;AACvD,MAAM,IAAI,GAAG,EAAE,CAAC;AAWhB,mDAAmD;AACnD,MAAM,IAAI,GAAG,IAAI,GAAG,EAAgB,CAAC;AAErC;;;;;;;GAOG;AACH,MAAM,UAAU,qBAAqB,CAAC,GAAW,EAAE,MAAe;IAChE,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC;IACvC,M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C,OAAO,IAAI,MAAM,CAAC,MAAM,KAAK,SAAS,IAAI,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC;AACzE,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,kBAAkB,CAAC,GAAW;IAC5C,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC5B,IAAI,KAAK;QAAE,OAAO,KAAK,CAAC,OAAO,CAAC;IAChC,MAAM,KAAK,GAAS,EAAE,OAAO,EAAE,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;IACjD,KAAK,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE;QAChC,KAAK,CAAC,KAAK,GAAG,KAAK,IAAI,IAAI,CAAC;IAC9B,CAAC,CAAC,CAAC;IACH,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IACrB,IAAI,IAAI,CAAC,IAAI,GAAG,IAAI,EAAE,CAAC;QACrB,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC;QACxC,IAAI,MAAM,KAAK,SAAS;YAAE,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAChD,CAAC;IACD,OAAO,KAAK,CAAC,OAAO,CAAC;AACvB,CAAC;AAED,KAAK,UAAU,UAAU,CAAC,GAAW;IACnC,MAAM,GAAG,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;IAC9B,IAAI,GAAG,KAAK,SAAS,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC;QAAE,OAAO,SAAS,CAAC;IAC7D,OAAO,UAAU,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;AACvC,CAAC"}
|
|
@@ -17,5 +17,5 @@ export type ChromeKey = keyof typeof en;
|
|
|
17
17
|
* missing message falls back to; every other language arrives as a chunk of its
|
|
18
18
|
* own, so a site read only in English downloads none of them.
|
|
19
19
|
*/
|
|
20
|
-
export declare const CHROME_CATALOG: MessageCatalog<"language.label" | "chrome.pages" | "chrome.about" | "chrome.aboutTitle" | "chrome.contact" | "chrome.contactTitle" | "account.signIn" | "account.signOut" | "account.signedInAs" | "account.username" | "account.password" | "account.role" | "account.role.read" | "account.role.write" | "account.role.admin" | "account.you" | "account.envManaged" | "account.envManagedTitle" | "account.accounts" | "account.accountsNote" | "account.column.added" | "account.column.lastSignIn" | "account.column.passwordChanged" | "account.column.actions" | "account.never" | "account.add" | "account.addSubmit" | "account.added" | "account.usernameHelp" | "account.setPassword" | "account.setPasswordTitle" | "account.setPasswordNote" | "account.setPasswordSubmit" | "account.roleOf" | "account.changePassword" | "account.currentPassword" | "account.newPassword" | "account.repeatPassword" | "account.passwordsDiffer" | "account.passwordChanged" | "account.ownEnvManaged" | "account.remove" | "account.removeQuestion" | "account.needsWrite" | "account.needsAdmin" | "account.switchAccount" | "account.unreachable" | "account.refusal.wrongCredentials" | "account.refusal.tooManyAttempts" | "account.refusal.signInElsewhere" | "account.refusal.signOutElsewhere" | "account.refusal.changeElsewhere" | "account.refusal.signInRequired" | "account.refusal.sessionEnded" | "account.refusal.wrongToken" | "account.refusal.noAdminToken" | "account.refusal.roleTooLow" | "account.refusal.usernameLength" | "account.refusal.usernameCharacters" | "account.refusal.usernameTaken" | "account.refusal.passwordEmpty" | "account.refusal.passwordTooLong" | "account.refusal.noSuchAccount" | "account.refusal.nothingToChange" | "account.refusal.useChangePassword" | "account.refusal.ownRole" | "account.refusal.removeYourself" | "account.refusal.lastAdmin" | "account.refusal.envManaged" | "account.refusal.tokenCannotChangePassword" | "account.refusal.wrongCurrentPassword" | "account.refusal.accountRemoved" | "account.refusal.accountInUse" | "ecosystem.tools" | "ecosystem.menuHeading" | "ecosystem.otherTools" | "ecosystem.youAreHere" | "ecosystem.group.basics.label" | "ecosystem.group.basics.blurb" | "ecosystem.group.practice.label" | "ecosystem.group.practice.blurb" | "ecosystem.group.physics.label" | "ecosystem.group.physics.blurb" | "ecosystem.group.structures.label" | "ecosystem.group.structures.blurb" | "ecosystem.group.spectra.label" | "ecosystem.group.spectra.blurb" | "ecosystem.group.identification.label" | "ecosystem.group.identification.blurb" | "ecosystem.group.research.label" | "ecosystem.group.research.blurb" | "ecosystem.group.computing.label" | "ecosystem.group.computing.blurb" | "site.learn.tagline" | "site.inchi.tagline" | "site.vcl.tagline" | "site.smiles.tagline" | "site.openbabel.tagline" | "site.chemcalc.tagline" | "site.dbe.tagline" | "site.metabo.tagline" | "site.derepflow.tagline" | "site.isomers.tagline" | "site.tex.tagline" | "site.lcao.tagline" | "site.regexp.tagline" | "site.pdb.tagline" | "site.elucidation.tagline" | "site.spectroscopy.tagline" | "site.equilibrium.tagline" | "site.polycarp.tagline" | "site.3d.tagline" | "site.periodic-table.tagline" | "site.database.tagline" | "site.symmetry.tagline" | "site.osiris.tagline" | "site.atoms.tagline" | "site.moles.tagline" | "site.inorganic.tagline" | "site.iupac-name.tagline" | "site.slides.tagline" | "site.vibrations.tagline" | "site.draw.tagline" | "site.plate.tagline" | "site.glassware.tagline" | "site.write.tagline" | "site.molecules.tagline" | "site.chembio.tagline" | "site.wikidata.tagline" | "site.mz.tagline" | "site.plot.tagline" | "site.ml.tagline" | "site.uv-vis.tagline" | "site.nmr.tagline" | "site.xps.tagline" | "site.cell.tagline" | "site.diagram.tagline" | "site.peptide.tagline" | "site.optics.tagline" | "site.circuits.tagline" | "site.mechanics.tagline" | "share.button" | "share.buttonTitle" | "share.dialogTitleFor" | "share.frameTitle" | "share.layout" | "share.embed" | "share.embedHint" | "share.protect" | "share.protectHint" | "share.on" | "share.off" | "share.showOnPage" | "share.custom" | "share.options" | "share.preview" | "share.device.window" | "share.device.mobile" | "share.device.laptop" | "share.device.hd" | "share.deviceSize" | "share.previewWhat" | "share.previewLive" | "share.copyLink" | "share.copyLinkHelpTitle" | "share.copyLinkHelp" | "share.openInNewTab" | "share.openInNewTabHelpTitle" | "share.openInNewTabHelp" | "share.copyIframe" | "share.copyIframeHelpTitle" | "share.copyIframeHelp" | "share.qrCode" | "share.qrCodeHelpTitle" | "share.qrCodeHelp" | "share.qrCodeAlt" | "share.copyQrPng" | "share.copyQrSvg" | "share.qrCodeHint" | "share.qrCodeTooLong" | "share.opensOn" | "share.opensOnScreen" | "share.opensOnScreenNote" | "share.opensOnTooLarge" | "share.opensOnExample" | "share.opensOnExampleLabel" | "share.opensOnChanged" | "share.opensOnNone" | "share.opensOnNoneNote" | "seal.refusedTitle" | "seal.refusedBody" | "seal.openWithout" | "cite.button" | "cite.copyReferenceAs" | "cite.pleaseCiteBoth" | "cite.pleaseCiteEvery" | "cite.copyBothAs" | "cite.copyEveryAs" | "cite.importIntoManager" | "cite.openArticle" | "cite.openDataset" | "cite.copyThisAs" | "cite.importThis" | "cite.copied" | "cite.copyFailed" | "cite.format.doi" | "cite.download.ris" | "cite.download.bibtex" | "clipboard.copied" | "clipboard.failed" | "clipboard.copy" | "clipboard.copyThe" | "clipboard.copyValue" | "clipboard.copyToClipboard" | "clipboard.figureCopied" | "card.details" | "card.detailsTitle" | "card.detailsLabel" | "card.copyTable" | "card.copyTableTitle" | "card.copyPicture" | "card.missing" | "card.loading" | "about.providedBy" | "about.whoMadeIt" | "about.maintainers" | "about.whatYouCanDo" | "about.builtOn" | "about.builtOn.own" | "about.builtOn.others" | "about.builtOn.licenseTexts" | "about.buildVersion" | "about.buildBuilt" | "about.buildCommit" | "about.howToCite" | "about.citeWork" | "about.nameList" | "about.role.coordinates" | "about.role.design" | "about.role.tooling" | "about.role.toolingAnd" | "about.role.interface" | "about.role.maintains" | "about.role.theTooling" | "credits.openbabel.description" | "credits.openchemlib.description" | "credits.openchemlib-utils.description" | "credits.osiris-property-explorer.description" | "credits.react-ocl.description" | "credits.react-mf.description" | "credits.mass-tools.description" | "credits.chem-equilibrium.description" | "credits.ml-matrix.description" | "credits.ml-xsadd.description" | "credits.cif-to-json.description" | "credits.ml-spectra-processing.description" | "credits.occ.description" | "credits.xtb-wasm.description" | "credits.molstar.description" | "credits.blueprint.description" | "credits.react-science.description" | "credits.react-cheminfo.description" | "credits.cheminfo-font.description" | "credits.nivo.description" | "credits.mathjax.description" | "credits.lexical.description" | "credits.katex.description" | "credits.dnd-kit.description" | "credits.react-roi.description" | "credits.file-collection.description" | "credits.zip-js.description" | "credits.preact-signals.description" | "credits.fastify.description" | "credits.sqlite.description" | "credits.sqlite-wasm.description" | "credits.pouchdb.description" | "credits.chemexper.description" | "credits.react.description" | "credits.vite.description" | "help.label" | "help.learnMore" | "help.on" | "log.badge.one" | "log.badge.other" | "log.more.one" | "log.more.other" | "confirm.delete" | "confirm.cancel" | "error.title" | "error.tryAgain" | "error.noMessage" | "capsule.filter" | "color.scales" | "color.done" | "color.custom" | "color.customEllipsis" | "color.inUse" | "color.uniform" | "color.uniformDescription" | "color.uniformColour" | "color.colourScale" | "color.legendLabel" | "color.scaleBeingEdited" | "color.anchorColour" | "color.anchorPosition" | "color.removeAnchor" | "color.editorHint" | "color.saturation" | "color.brightness" | "color.toneHelp" | "color.path" | "color.interpolation.rgb" | "color.interpolation.hsv" | "color.interpolation.hsv-long" | "color.kind.sequential" | "color.kind.diverging" | "color.kind.cyclic" | "color.scale.viridis.label" | "color.scale.viridis.description" | "color.scale.plasma.label" | "color.scale.plasma.description" | "color.scale.magma.label" | "color.scale.magma.description" | "color.scale.inferno.label" | "color.scale.inferno.description" | "color.scale.cividis.label" | "color.scale.cividis.description" | "color.scale.turbo.label" | "color.scale.turbo.description" | "color.scale.greys.label" | "color.scale.greys.description" | "color.scale.cool-warm.label" | "color.scale.cool-warm.description" | "color.scale.blue-red.label" | "color.scale.blue-red.description" | "color.scale.rainbow.label" | "color.scale.rainbow.description" | "dropZone.open" | "dropZone.paste" | "dropZone.drop" | "download.save" | "download.figure" | "download.copyOrSend" | "download.saveAsFile" | "download.saveThisFigure" | "download.format" | "download.formatHelp" | "download.resolution" | "download.resolutionHelp" | "download.resolutionExample" | "download.resolutionDpiHelp" | "download.resolutionDpiExample" | "download.noFigure" | "download.hintRasterSvg" | "download.hintSvg" | "download.hintPng" | "download.hintSvgDpi" | "download.hintPngDpi" | "download.hintCopied" | "download.copyPng" | "download.copyPngSvg" | "download.copiedPng" | "download.copiedPngSvg" | "download.sentPng" | "download.copyUnsupported" | "download.send" | "download.sendReady" | "download.sendUnsupported" | "download.size" | "download.sizeHelp" | "download.sizeScreen" | "download.sizeColumn" | "download.sizeDouble" | "download.sizeCustom" | "download.width" | "figure.open" | "figure.openHelp" | "figure.openOn" | "figure.openSaved" | "figure.openSavedHelp" | "figure.drawnElsewhere" | "figure.notAFigure" | "figure.close" | "figure.saveSvg" | "figure.saveDocument" | "host.didNotAnswer" | "host.unreachable" | "host.tooOld" | "host.tooOldBuild" | "host.givesNothing" | "host.givesNothingBuild" | "host.refused" | "pedagogy.check" | "pedagogy.revealHint" | "pedagogy.revealHintCount" | "pedagogy.revealHintLadder" | "pedagogy.hideSolution" | "pedagogy.revealSolution" | "pedagogy.reset" | "pedagogy.hints" | "pedagogy.solvedCount" | "pedagogy.clearAll" | "pedagogy.keepAnswers" | "pedagogy.clearEverything" | "pedagogy.clearWarning" | "pedagogy.filterTerms" | "pedagogy.noTermDefined" | "pedagogy.noTermMatches" | "pedagogy.example" | "pedagogy.input" | "pedagogy.previous" | "pedagogy.next" | "pedagogy.stepOf" | "pedagogy.answerEmpty" | "pedagogy.answerUnreadable" | "pedagogy.questions" | "pedagogy.questionsInSeries" | "pedagogy.questionCount" | "pedagogy.allQuestions" | "pedagogy.newSeries" | "pedagogy.newSeriesTitle" | "pedagogy.seriesQuestions" | "pedagogy.questionNumber" | "pedagogy.questionOf" | "pedagogy.solved" | "pedagogy.solvedWithHintsOf" | "pedagogy.solvedWithoutHint" | "pedagogy.nextQuestion" | "pedagogy.solution" | "pedagogy.exercises" | "pedagogy.statusIdle" | "pedagogy.statusAttempted" | "pedagogy.statusSolved" | "pedagogy.solvedWithOneHint" | "pedagogy.solvedWithHints" | "formula.copyLabel" | "formula.typeFirst" | "formula.notElement" | "formula.noAtom" | "formula.wholeCounts" | "formula.unknownNotation" | "formula.unreadable" | "formula.lookup.title" | "formula.lookup.reset" | "formula.lookup.mass" | "formula.lookup.massPlaceholder" | "formula.lookup.neutral" | "formula.lookup.fewest" | "formula.lookup.most" | "formula.lookup.typeMass" | "formula.lookup.closest" | "formula.lookup.countOne" | "formula.lookup.countMany" | "formula.lookup.nothingFits" | "formula.lookup.tooWide" | "formula.lookup.ppm" | "formula.lookup.detail" | "slides.exit" | "slides.previousSlide" | "slides.nextSlide" | "slides.toggleFullscreen" | "slides.backToSlides" | "slides.backToSlide" | "slides.noAddress" | "slides.liveDemos" | "slides.noTalkYet" | "overlay.options" | "overlay.whatAmILookingAt" | "overlay.reset" | "overlay.hoverAName" | "overlay.dismiss" | "axis.scale" | "axis.xScale" | "axis.yScale" | "axis.linear" | "axis.logarithmic" | "axis.scaleHelp" | "delimited.copyTable" | "delimited.copyOrDownload" | "delimited.close" | "delimited.separator" | "delimited.save" | "delimited.copy" | "delimited.tableAsText" | "chart.measurement" | "chart.measurements" | "delimited.descriptionOne" | "delimited.descriptionMany" | "structure.guide.atom.title" | "structure.guide.atom.element" | "structure.guide.atom.group" | "structure.guide.atom.applyOrForget" | "structure.guide.atom.chain" | "structure.guide.atom.charge" | "structure.guide.atom.radical" | "structure.guide.atom.spin" | "structure.guide.atom.attachment" | "structure.guide.atom.query" | "structure.guide.atom.halogen" | "structure.guide.atom.delete" | "structure.guide.atom.note" | "structure.guide.bond.title" | "structure.guide.bond.order" | "structure.guide.bond.zeroOrder" | "structure.guide.bond.stereo" | "structure.guide.bond.unknownGeometry" | "structure.guide.bond.threeRing" | "structure.guide.bond.ring" | "structure.guide.bond.benzene" | "structure.guide.bond.query" | "structure.guide.bond.delete" | "structure.guide.anywhere.title" | "structure.guide.anywhere.undo" | "structure.guide.anywhere.copy" | "structure.guide.anywhere.paste" | "structure.guide.anywhere.deleteSelection" | "structure.guide.anywhere.flip" | "structure.guide.anywhere.help" | "structure.guide.anywhere.note" | "structure.guide.selecting.title" | "structure.guide.selecting.lasso" | "structure.guide.selecting.rectangle" | "structure.guide.selecting.add" | "structure.guide.selecting.move" | "structure.guide.selecting.duplicate" | "structure.guide.selecting.queryFeatures" | "structure.guide.selecting.note" | "structure.guide.stereochemistry.title" | "structure.guide.stereochemistry.note" | "structure.input.type" | "structure.input.or" | "structure.input.drag" | "structure.input.plusDrag" | "structure.input.dragSelection" | "structure.input.plusDragSelection" | "structure.input.doubleClick" | "structure.docs.toolsAndKeys" | "structure.docs.atomProperties" | "structure.docs.stereochemistry" | "structure.help.hoverToolbar" | "structure.help.learnMore" | "structure.mouseAndKeyboard" | "structure.tool.clear.name" | "structure.tool.clear.description" | "structure.tool.cleanUp.name" | "structure.tool.cleanUp.description" | "structure.tool.select.name" | "structure.tool.select.description" | "structure.tool.unknownConfiguration.name" | "structure.tool.unknownConfiguration.description" | "structure.tool.delete.name" | "structure.tool.delete.description" | "structure.tool.singleBond.name" | "structure.tool.singleBond.description" | "structure.tool.upBond.name" | "structure.tool.upBond.description" | "structure.tool.positiveCharge.name" | "structure.tool.positiveCharge.description" | "structure.tool.undo.name" | "structure.tool.undo.description" | "structure.tool.zoomAndRotate.name" | "structure.tool.zoomAndRotate.description" | "structure.tool.atomMapping.name" | "structure.tool.atomMapping.description" | "structure.tool.enhancedStereo.name" | "structure.tool.enhancedStereo.description" | "structure.tool.text.name" | "structure.tool.text.description" | "structure.tool.chain.name" | "structure.tool.chain.description" | "structure.tool.downBond.name" | "structure.tool.downBond.description" | "structure.tool.negativeCharge.name" | "structure.tool.negativeCharge.description" | "structure.tool.anyAtom.name" | "structure.tool.anyAtom.description" | "structure.tool.ring3.name" | "structure.tool.ring3.description" | "structure.tool.ring5.name" | "structure.tool.ring5.description" | "structure.tool.ring7.name" | "structure.tool.ring7.description" | "structure.tool.ring4.name" | "structure.tool.ring4.description" | "structure.tool.ring6.name" | "structure.tool.ring6.description" | "structure.tool.benzene.name" | "structure.tool.benzene.description" | "structure.tool.carbon.name" | "structure.tool.carbon.description" | "structure.tool.nitrogen.name" | "structure.tool.nitrogen.description" | "structure.tool.oxygen.name" | "structure.tool.oxygen.description" | "structure.tool.fluorine.name" | "structure.tool.fluorine.description" | "structure.tool.bromine.name" | "structure.tool.bromine.description" | "structure.tool.hydrogen.name" | "structure.tool.hydrogen.description" | "structure.tool.silicon.name" | "structure.tool.silicon.description" | "structure.tool.phosphorus.name" | "structure.tool.phosphorus.description" | "structure.tool.sulfur.name" | "structure.tool.sulfur.description" | "structure.tool.chlorine.name" | "structure.tool.chlorine.description" | "structure.tool.iodine.name" | "structure.tool.iodine.description" | "structure.tool.reactionOnly" | "structure.tool.unavailable" | "structure.loadingEditor" | "structure.import.open" | "structure.import.drop" | "structure.import.unreadableFile" | "structure.import.unreadableText" | "structure.splash.draw" | "structure.splash.paste" | "structure.splash.drop" | "structure.export.open" | "structure.export.glyph" | "structure.export.title" | "structure.export.loading" | "structure.export.nothing" | "structure.export.picture" | "structure.export.identifiers" | "structure.export.saveSvg" | "structure.export.savePng" | "structure.export.copyPng" | "structure.export.copySvg" | "structure.export.svgCopied" | "structure.export.smiles" | "structure.export.smilesHelp" | "structure.export.molfileV3000" | "structure.export.molfileV3000Help" | "structure.export.molfileV2000" | "structure.export.molfileV2000Help" | "structure.export.idCode" | "structure.export.idCodeHelp" | "structure.export.noStereoIdCode" | "structure.export.noStereoIdCodeHelp" | "structure.export.noStereoTautomerIdCode" | "structure.export.noStereoTautomerIdCodeHelp" | "moleculeFile.export" | "moleculeFile.exportUpTo" | "moleculeFile.sdf" | "moleculeFile.txt" | "moleculeFile.progress" | "moleculeFile.cancel" | "moleculeFile.failed" | "moleculeFile.nothing" | "moleculeFile.skippedOne" | "moleculeFile.skippedMany" | "structure.search.title" | "structure.search.apply" | "structure.search.examples" | "structure.search.substructure" | "structure.search.substructureHelp" | "structure.search.similarity" | "structure.search.similarityHelp" | "structure.search.exact" | "structure.search.exactHelp" | "structure.search.exactNoStereo" | "structure.search.exactNoStereoHelp" | "structure.search.exactNoStereoTautomer" | "structure.search.exactNoStereoTautomerHelp" | "structure.search.similarityLabel" | "structure.search.threshold" | "structure.search.thresholdHelp" | "structure.search.thresholdOption" | "structure.search.exampleBenzene" | "structure.search.examplePyridine" | "structure.search.exampleAmide" | "structure.search.exampleSulfonamide" | "structure.search.exampleTrifluoromethyl" | "periodic.table" | "periodic.group" | "periodic.period" | "periodic.block" | "periodic.allElements" | "periodic.help.title" | "periodic.help.click" | "periodic.help.modClick" | "periodic.help.element" | "periodic.help.elementClick" | "periodic.help.elementMod" | "periodic.help.number" | "periodic.help.numberClick" | "periodic.help.runMod" | "periodic.help.block" | "periodic.help.blockClick" | "periodic.help.corner" | "periodic.help.cornerClick" | "periodic.help.arrowsClick" | "periodic.help.note" | "periodic.help.ctrl" | "periodic.cellLabel" | "periodic.category.alkali-metal" | "periodic.category.alkaline-earth-metal" | "periodic.category.transition-metal" | "periodic.category.post-transition-metal" | "periodic.category.metalloid" | "periodic.category.nonmetal" | "periodic.category.halogen" | "periodic.category.noble-gas" | "periodic.category.lanthanoid" | "periodic.category.actinoid" | "molecule3d.view" | "molecule3d.resetView" | "molecule3d.spin" | "molecule3d.surface" | "molecule3d.molecularSurface" | "molecule3d.displayOptions" | "molecule3d.exportImage" | "molecule3d.exportImageOrMolfile" | "molecule3d.molfileHint" | "molecule3d.molfileVersion" | "molecule3d.molfileV2000TooLarge" | "molecule3d.frames" | "molecule3d.framesHelp" | "molecule3d.frames.one" | "molecule3d.frames.all" | "molecule3d.fullScreen" | "molecule3d.measure" | "molecule3d.clearMeasurements" | "molecule3d.measurement.distance" | "molecule3d.measurement.angle" | "molecule3d.measurement.dihedral" | "molecule3d.measurementTooltip" | "molecule3d.representation.ball-and-stick" | "molecule3d.representation.spacefill" | "molecule3d.representation.stick" | "molecule3d.size" | "molecule3d.surfaceOpacity" | "molecule3d.solventProbe" | "molecule3d.solventProbeHelp" | "molecule3d.surfaceColour" | "molecule3d.colour" | "molecule3d.resetSettings" | "molecule3d.atDefaults" | "molecule3d.surfaceOff" | "molecule3d.showSurface" | "molecule3d.coloring.uniform" | "molecule3d.coloring.element" | "molecule3d.coloring.polarity" | "molecule3d.neutral" | "molecule3d.tpsaHelp" | "molecule3d.loadingViewer" | "molecule3d.couldNotDraw" | "molecule3d.gesture.rotate" | "molecule3d.gesture.rollDrag" | "molecule3d.gesture.rollKeys" | "molecule3d.gesture.moveDrag" | "molecule3d.gesture.moveCtrl" | "molecule3d.gesture.zoom" | "molecule3d.gesture.clip" | "molecule3d.gesture.centreAtom" | "molecule3d.gesture.centreMolecule" | "molecule3d.gesture.removeMeasurement" | "molecule3d.input.drag" | "molecule3d.input.plus" | "molecule3d.input.plusDrag" | "molecule3d.input.plusScroll" | "molecule3d.input.or" | "molecule3d.input.rightDrag" | "molecule3d.input.scroll" | "molecule3d.input.clickAtom" | "molecule3d.input.clickBackground" | "molecule3d.helpNote" | "orbital.couldNotDraw" | "orbital.sampling" | "orbital.showAxes" | "orbital.axesTitle" | "orbital.axesBody" | "orbital.axesExample" | "orbital.spin" | "orbital.spinTitle" | "orbital.spinBody" | "orbital.resetTitle" | "orbital.resetBody" | "viewer.capability.noWindow" | "viewer.capability.noContext" | "viewer.capability.noFloatTextures" | "viewer.capability.ready" | "conformers.strategy.adaptive-random" | "conformers.strategy.likely-random" | "conformers.strategy.pure-random" | "conformers.strategy.likely-systematic" | "conformers.strategyDetail.adaptive-random" | "conformers.strategyDetail.likely-random" | "conformers.strategyDetail.pure-random" | "conformers.strategyDetail.likely-systematic" | "conformers.minimisation.none" | "number.increment" | "number.decrement" | "range.lowest" | "range.highest" | "range.lowestIs" | "range.highestIs" | "range.noLowerBound" | "range.noUpperBound" | "range.typeValue" | "range.clear" | "taxonomy.lineage" | "taxonomy.rankNote" | "taxonomy.ncbi" | "taxonomy.ncbiTitle" | "taxonomy.rank.realm" | "taxonomy.rank.domain" | "taxonomy.rank.superkingdom" | "taxonomy.rank.kingdom" | "taxonomy.rank.subkingdom" | "taxonomy.rank.superphylum" | "taxonomy.rank.phylum" | "taxonomy.rank.subphylum" | "taxonomy.rank.superclass" | "taxonomy.rank.class" | "taxonomy.rank.subclass" | "taxonomy.rank.infraclass" | "taxonomy.rank.cohort" | "taxonomy.rank.subcohort" | "taxonomy.rank.superorder" | "taxonomy.rank.order" | "taxonomy.rank.suborder" | "taxonomy.rank.infraorder" | "taxonomy.rank.parvorder" | "taxonomy.rank.superfamily" | "taxonomy.rank.family" | "taxonomy.rank.subfamily" | "taxonomy.rank.tribe" | "taxonomy.rank.subtribe" | "taxonomy.rank.genus" | "taxonomy.rank.subgenus" | "taxonomy.rank.section" | "taxonomy.rank.subsection" | "taxonomy.rank.series" | "taxonomy.rank.subseries" | "taxonomy.rank.speciesGroup" | "taxonomy.rank.speciesSubgroup" | "taxonomy.rank.species" | "taxonomy.rank.formaSpecialis" | "taxonomy.rank.subspecies" | "taxonomy.rank.varietas" | "taxonomy.rank.subvariety" | "taxonomy.rank.forma" | "taxonomy.rank.pathogroup" | "taxonomy.rank.serogroup" | "taxonomy.rank.serotype" | "taxonomy.rank.biotype" | "taxonomy.rank.genotype" | "taxonomy.rank.morph" | "taxonomy.rank.strain" | "taxonomy.rank.isolate" | "taxonomy.rank.noRank" | "taxonomy.rank.clade" | "taxonomy.rank.cellularRoot" | "taxonomy.rank.acellularRoot" | "moleculesToken.title" | "moleculesToken.checkedAt" | "moleculesToken.checkAgain" | "moleculesToken.notChecked" | "moleculesToken.column.variable" | "moleculesToken.column.source" | "moleculesToken.column.status" | "moleculesToken.column.details" | "moleculesToken.anySource" | "moleculesToken.verdict.ok" | "moleculesToken.verdict.otherSource" | "moleculesToken.verdict.refused" | "moleculesToken.verdict.unset" | "moleculesToken.verdict.uncheckable" | "moleculesToken.verdict.unanswered" | "moleculesToken.forSource" | "moleculesToken.issued" | "moleculesToken.issuedTo" | "moleculesToken.lastUsed" | "moleculesToken.neverUsed" | "moleculesToken.otherSourceDetail" | "moleculesToken.refusedDetail" | "moleculesToken.unsetDetail" | "moleculesToken.uncheckableDetail" | "moleculesToken.howToChange" | "moleculesToken.fix.title" | "moleculesToken.fix.issueOne" | "moleculesToken.fix.issueMany" | "moleculesToken.fix.issueOnServer" | "moleculesToken.fix.envOne" | "moleculesToken.fix.envMany" | "moleculesToken.fix.restart" | "ir.mode.intensity" | "ir.raman.xTitle" | "ir.raman.chart" | "ir.raman.tools" | "ir.raman.viewer" | "ir.raman.viewerHelp" | "ir.raman.mark" | "ir.raman.about" | "ir.raman.documentation" | "ir.raman.command.documentation" | "ir.raman.command.readTool" | "ir.raman.command.boxTool" | "ir.raman.command.zoomIn" | "ir.raman.command.togglePicking" | "ir.raman.doc.bands" | "ir.raman.doc.sampled" | "ir.raman.aboutLead" | "ir.raman.credit.picking" | "ir.raman.credit.jcamp" | "panel.focus" | "panel.focusTooltip" | "panel.unfocusTooltip" | "panel.fillScreen" | "panel.fillScreenTooltip" | "panel.fold" | "panel.unfold" | "panel.foldTooltip" | "panel.unfoldTooltip" | "panel.close" | "panel.closeTooltip" | "panel.pin" | "panel.pinTooltip" | "panel.unpinTooltip" | "panel.settings" | "panel.settingsTooltip" | "panel.settingsToolbar" | "panel.settingsKeep" | "panel.settingsKeepTooltip" | "panel.settingsCancel" | "panel.settingsCancelTooltip" | "panel.leaveFullScreen" | "panel.leaveFullScreenTooltip" | "panel.clearFilter" | "panel.count" | "panel.colourOf" | "panel.drawIn" | "panel.changeColour" | "framedTool.about" | "framedTool.cite" | "framedTool.help" | "framedTool.open" | "toolSwitch.cancel" | "toolSwitch.keepWorking" | "toolSwitch.leave" | "toolSwitch.nothingBack" | "storage.menuTitle" | "storage.backup" | "storage.restore" | "storage.backupFailed" | "storage.restoreFailed" | "storage.close" | "storage.backupTooltip" | "storage.restoreTooltip" | "storage.nothingToBackUp" | "storage.notABackup" | "storage.restoredNothing" | "storage.restoredDocuments" | "storage.restoredAll" | "storage.restoredCopies" | "documents.saveInBrowser" | "documents.saveTitle" | "documents.renameTitle" | "documents.name" | "documents.save" | "documents.replace" | "documents.rename" | "documents.cancel" | "documents.open" | "documents.nameMissing" | "documents.replaces" | "documents.taken" | "documents.heading" | "documents.empty" | "documents.unavailable" | "documents.onScreen" | "documents.savedAgo" | "documents.openTooltip" | "documents.renameTooltip" | "documents.delete" | "documents.deleteQuestion" | "documents.saveInFolder" | "documents.saveInFolderNamed" | "documents.saveInFolderUnavailable" | "examples.heading" | "examples.openTooltip" | "examples.add" | "examples.addTooltip" | "examples.all" | "examples.categories" | "settings.title" | "settings.sections" | "settings.workspace" | "settings.workspaceMenu" | "settings.builtIn" | "settings.modified" | "settings.notStored" | "settings.reset" | "settings.saveAs" | "settings.rename" | "settings.delete" | "settings.deleteQuestion" | "settings.export" | "settings.import" | "settings.newName" | "settings.renameTitle" | "settings.nameLabel" | "settings.cancel" | "settings.apply" | "settings.applyAndSave" | "settings.save" | "panels.statusHeading" | "panels.statusLabel" | "panels.statusHelp" | "panels.status.hidden" | "panels.status.available" | "panels.status.folded" | "panels.status.open" | "document.title" | "document.name" | "document.format" | "document.include" | "document.view" | "document.viewDescription" | "document.workspace" | "document.workspaceDescription" | "document.save" | "document.cancel" | "saving.chooseTitle" | "saving.where" | "saving.file" | "saving.fileDescription" | "saving.folder" | "saving.folderDescription" | "saving.folderKnown" | "saving.folderKnownDescription" | "saving.browser" | "saving.browserDescription" | "saving.download" | "saving.downloadDescription" | "saving.otherBrowser" | "saving.remembered" | "saving.empty" | "saving.failed" | "saving.saved" | "saving.savedRenamed" | "saving.savedBrowser" | "saving.downloaded" | "saving.nameInFolder" | "saving.ask" | "saving.askDescription" | "saving.settingsHeading" | "drafts.failed" | "drafts.unreadable" | "drafts.heldElsewhere" | "drafts.reopened" | "drafts.crashed" | "drafts.heading" | "drafts.notSaved" | "drafts.unsavedChanges" | "drafts.untitled" | "drafts.empty" | "drafts.unavailable" | "drafts.usage" | "drafts.otherTab" | "drafts.otherTabTooltip" | "drafts.onScreenTooltip" | "drafts.openTooltip" | "drafts.delete" | "drafts.deleteQuestion" | "drafts.deleteFailed" | "folder.heading" | "folder.allow" | "folder.empty" | "folder.choose" | "folder.forget" | "folder.search" | "folder.noMatch" | "folder.newFolder" | "folder.newFolderTitle" | "folder.create" | "folder.folderTaken" | "folder.openFolder" | "folder.found" | "send.label" | "send.heading" | "send.none" | "send.blocked">;
|
|
20
|
+
export declare const CHROME_CATALOG: MessageCatalog<"language.label" | "chrome.pages" | "chrome.about" | "chrome.aboutTitle" | "chrome.contact" | "chrome.contactTitle" | "account.signIn" | "account.signOut" | "account.signedInAs" | "account.username" | "account.password" | "account.role" | "account.role.read" | "account.role.write" | "account.role.admin" | "account.you" | "account.envManaged" | "account.envManagedTitle" | "account.accounts" | "account.accountsNote" | "account.column.added" | "account.column.lastSignIn" | "account.column.passwordChanged" | "account.column.actions" | "account.never" | "account.add" | "account.addSubmit" | "account.added" | "account.usernameHelp" | "account.setPassword" | "account.setPasswordTitle" | "account.setPasswordNote" | "account.setPasswordSubmit" | "account.roleOf" | "account.changePassword" | "account.currentPassword" | "account.newPassword" | "account.repeatPassword" | "account.passwordsDiffer" | "account.passwordChanged" | "account.ownEnvManaged" | "account.remove" | "account.removeQuestion" | "account.needsWrite" | "account.needsAdmin" | "account.switchAccount" | "account.unreachable" | "account.refusal.wrongCredentials" | "account.refusal.tooManyAttempts" | "account.refusal.signInElsewhere" | "account.refusal.signOutElsewhere" | "account.refusal.changeElsewhere" | "account.refusal.signInRequired" | "account.refusal.sessionEnded" | "account.refusal.wrongToken" | "account.refusal.noAdminToken" | "account.refusal.roleTooLow" | "account.refusal.usernameLength" | "account.refusal.usernameCharacters" | "account.refusal.usernameTaken" | "account.refusal.passwordEmpty" | "account.refusal.passwordTooLong" | "account.refusal.noSuchAccount" | "account.refusal.nothingToChange" | "account.refusal.useChangePassword" | "account.refusal.ownRole" | "account.refusal.removeYourself" | "account.refusal.lastAdmin" | "account.refusal.envManaged" | "account.refusal.tokenCannotChangePassword" | "account.refusal.wrongCurrentPassword" | "account.refusal.accountRemoved" | "account.refusal.accountInUse" | "ecosystem.tools" | "ecosystem.menuHeading" | "ecosystem.otherTools" | "ecosystem.youAreHere" | "ecosystem.group.basics.label" | "ecosystem.group.basics.blurb" | "ecosystem.group.practice.label" | "ecosystem.group.practice.blurb" | "ecosystem.group.physics.label" | "ecosystem.group.physics.blurb" | "ecosystem.group.structures.label" | "ecosystem.group.structures.blurb" | "ecosystem.group.spectra.label" | "ecosystem.group.spectra.blurb" | "ecosystem.group.identification.label" | "ecosystem.group.identification.blurb" | "ecosystem.group.research.label" | "ecosystem.group.research.blurb" | "ecosystem.group.computing.label" | "ecosystem.group.computing.blurb" | "site.learn.tagline" | "site.inchi.tagline" | "site.vcl.tagline" | "site.smiles.tagline" | "site.openbabel.tagline" | "site.chemcalc.tagline" | "site.dbe.tagline" | "site.metabo.tagline" | "site.derepflow.tagline" | "site.isomers.tagline" | "site.tex.tagline" | "site.lcao.tagline" | "site.regexp.tagline" | "site.pdb.tagline" | "site.elucidation.tagline" | "site.spectroscopy.tagline" | "site.equilibrium.tagline" | "site.polycarp.tagline" | "site.3d.tagline" | "site.periodic-table.tagline" | "site.database.tagline" | "site.symmetry.tagline" | "site.osiris.tagline" | "site.atoms.tagline" | "site.moles.tagline" | "site.inorganic.tagline" | "site.iupac-name.tagline" | "site.slides.tagline" | "site.vibrations.tagline" | "site.draw.tagline" | "site.plate.tagline" | "site.glassware.tagline" | "site.write.tagline" | "site.molecules.tagline" | "site.chembio.tagline" | "site.wikidata.tagline" | "site.mz.tagline" | "site.plot.tagline" | "site.ml.tagline" | "site.uv-vis.tagline" | "site.nmr.tagline" | "site.xps.tagline" | "site.cell.tagline" | "site.diagram.tagline" | "site.peptide.tagline" | "site.optics.tagline" | "site.circuits.tagline" | "site.mechanics.tagline" | "share.button" | "share.buttonTitle" | "share.dialogTitleFor" | "share.frameTitle" | "share.layout" | "share.embed" | "share.embedHint" | "share.protect" | "share.protectHint" | "share.on" | "share.off" | "share.showOnPage" | "share.custom" | "share.options" | "share.preview" | "share.device.window" | "share.device.mobile" | "share.device.laptop" | "share.device.hd" | "share.deviceSize" | "share.previewWhat" | "share.previewLive" | "share.copyLink" | "share.copyLinkHelpTitle" | "share.copyLinkHelp" | "share.openInNewTab" | "share.openInNewTabHelpTitle" | "share.openInNewTabHelp" | "share.copyIframe" | "share.copyIframeHelpTitle" | "share.copyIframeHelp" | "share.qrCode" | "share.qrCodeHelpTitle" | "share.qrCodeHelp" | "share.qrCodeAlt" | "share.copyQrPng" | "share.copyQrSvg" | "share.qrCodeHint" | "share.qrCodeTooLong" | "share.opensOn" | "share.opensOnScreen" | "share.opensOnScreenNote" | "share.opensOnTooLarge" | "share.opensOnExample" | "share.opensOnExampleLabel" | "share.opensOnChanged" | "share.opensOnNone" | "share.opensOnNoneNote" | "seal.refusedTitle" | "seal.refusedBody" | "seal.openWithout" | "cite.button" | "cite.copyReferenceAs" | "cite.pleaseCiteBoth" | "cite.pleaseCiteEvery" | "cite.copyBothAs" | "cite.copyEveryAs" | "cite.importIntoManager" | "cite.openArticle" | "cite.openDataset" | "cite.copyThisAs" | "cite.importThis" | "cite.copied" | "cite.copyFailed" | "cite.format.doi" | "cite.download.ris" | "cite.download.bibtex" | "clipboard.copied" | "clipboard.failed" | "clipboard.copy" | "clipboard.copyThe" | "clipboard.copyValue" | "clipboard.copyToClipboard" | "clipboard.figureCopied" | "card.details" | "card.detailsTitle" | "card.detailsLabel" | "card.copyTable" | "card.copyTableTitle" | "card.copyPicture" | "card.missing" | "card.loading" | "about.providedBy" | "about.whoMadeIt" | "about.maintainers" | "about.whatYouCanDo" | "about.builtOn" | "about.builtOn.own" | "about.builtOn.others" | "about.builtOn.licenseTexts" | "about.buildVersion" | "about.buildBuilt" | "about.buildCommit" | "about.howToCite" | "about.citeWork" | "about.nameList" | "about.role.coordinates" | "about.role.design" | "about.role.tooling" | "about.role.toolingAnd" | "about.role.interface" | "about.role.maintains" | "about.role.theTooling" | "credits.openbabel.description" | "credits.openchemlib.description" | "credits.openchemlib-utils.description" | "credits.osiris-property-explorer.description" | "credits.react-ocl.description" | "credits.react-mf.description" | "credits.mass-tools.description" | "credits.chem-equilibrium.description" | "credits.ml-matrix.description" | "credits.ml-xsadd.description" | "credits.cif-to-json.description" | "credits.ml-spectra-processing.description" | "credits.occ.description" | "credits.xtb-wasm.description" | "credits.molstar.description" | "credits.blueprint.description" | "credits.react-science.description" | "credits.react-cheminfo.description" | "credits.cheminfo-font.description" | "credits.nivo.description" | "credits.mathjax.description" | "credits.lexical.description" | "credits.katex.description" | "credits.dnd-kit.description" | "credits.react-roi.description" | "credits.file-collection.description" | "credits.zip-js.description" | "credits.preact-signals.description" | "credits.fastify.description" | "credits.sqlite.description" | "credits.sqlite-wasm.description" | "credits.pouchdb.description" | "credits.chemexper.description" | "credits.react.description" | "credits.vite.description" | "help.label" | "help.learnMore" | "help.on" | "log.badge.one" | "log.badge.other" | "log.more.one" | "log.more.other" | "confirm.delete" | "confirm.cancel" | "error.title" | "error.tryAgain" | "error.noMessage" | "capsule.filter" | "color.scales" | "color.done" | "color.custom" | "color.customEllipsis" | "color.inUse" | "color.uniform" | "color.uniformDescription" | "color.uniformColour" | "color.colourScale" | "color.legendLabel" | "color.scaleBeingEdited" | "color.anchorColour" | "color.anchorPosition" | "color.removeAnchor" | "color.editorHint" | "color.saturation" | "color.brightness" | "color.toneHelp" | "color.path" | "color.interpolation.rgb" | "color.interpolation.hsv" | "color.interpolation.hsv-long" | "color.kind.sequential" | "color.kind.diverging" | "color.kind.cyclic" | "color.scale.viridis.label" | "color.scale.viridis.description" | "color.scale.plasma.label" | "color.scale.plasma.description" | "color.scale.magma.label" | "color.scale.magma.description" | "color.scale.inferno.label" | "color.scale.inferno.description" | "color.scale.cividis.label" | "color.scale.cividis.description" | "color.scale.turbo.label" | "color.scale.turbo.description" | "color.scale.greys.label" | "color.scale.greys.description" | "color.scale.cool-warm.label" | "color.scale.cool-warm.description" | "color.scale.blue-red.label" | "color.scale.blue-red.description" | "color.scale.rainbow.label" | "color.scale.rainbow.description" | "dropZone.open" | "dropZone.paste" | "dropZone.drop" | "download.save" | "download.figure" | "download.copyOrSend" | "download.saveAsFile" | "download.saveThisFigure" | "download.format" | "download.formatHelp" | "download.resolution" | "download.resolutionHelp" | "download.resolutionExample" | "download.resolutionDpiHelp" | "download.resolutionDpiExample" | "download.noFigure" | "download.hintRasterSvg" | "download.hintSvg" | "download.hintPng" | "download.hintSvgDpi" | "download.hintPngDpi" | "download.hintCopied" | "download.copyPng" | "download.copyPngSvg" | "download.copiedPng" | "download.copiedPngSvg" | "download.sentPng" | "download.copyUnsupported" | "download.send" | "download.sendReady" | "download.sendUnsupported" | "download.size" | "download.sizeHelp" | "download.sizeScreen" | "download.sizeColumn" | "download.sizeDouble" | "download.sizeCustom" | "download.width" | "figure.open" | "figure.openHelp" | "figure.openOn" | "figure.openSaved" | "figure.openSavedHelp" | "figure.drawnElsewhere" | "figure.notAFigure" | "figure.close" | "figure.saveSvg" | "figure.saveDocument" | "host.didNotAnswer" | "host.unreachable" | "host.tooOld" | "host.tooOldBuild" | "host.givesNothing" | "host.givesNothingBuild" | "host.refused" | "pedagogy.check" | "pedagogy.revealHint" | "pedagogy.revealHintCount" | "pedagogy.revealHintLadder" | "pedagogy.hideSolution" | "pedagogy.revealSolution" | "pedagogy.reset" | "pedagogy.hints" | "pedagogy.solvedCount" | "pedagogy.clearAll" | "pedagogy.keepAnswers" | "pedagogy.clearEverything" | "pedagogy.clearWarning" | "pedagogy.filterTerms" | "pedagogy.noTermDefined" | "pedagogy.noTermMatches" | "pedagogy.example" | "pedagogy.input" | "pedagogy.previous" | "pedagogy.next" | "pedagogy.stepOf" | "pedagogy.answerEmpty" | "pedagogy.answerUnreadable" | "pedagogy.questions" | "pedagogy.questionsInSeries" | "pedagogy.questionCount" | "pedagogy.allQuestions" | "pedagogy.newSeries" | "pedagogy.newSeriesTitle" | "pedagogy.seriesQuestions" | "pedagogy.questionNumber" | "pedagogy.questionOf" | "pedagogy.solved" | "pedagogy.solvedWithHintsOf" | "pedagogy.solvedWithoutHint" | "pedagogy.nextQuestion" | "pedagogy.solution" | "pedagogy.exercises" | "pedagogy.statusIdle" | "pedagogy.statusAttempted" | "pedagogy.statusSolved" | "pedagogy.solvedWithOneHint" | "pedagogy.solvedWithHints" | "formula.copyLabel" | "formula.typeFirst" | "formula.notElement" | "formula.noAtom" | "formula.wholeCounts" | "formula.unknownNotation" | "formula.unreadable" | "formula.lookup.title" | "formula.lookup.reset" | "formula.lookup.mass" | "formula.lookup.massPlaceholder" | "formula.lookup.neutral" | "formula.lookup.fewest" | "formula.lookup.most" | "formula.lookup.typeMass" | "formula.lookup.closest" | "formula.lookup.countOne" | "formula.lookup.countMany" | "formula.lookup.nothingFits" | "formula.lookup.tooWide" | "formula.lookup.ppm" | "formula.lookup.detail" | "slides.exit" | "slides.previousSlide" | "slides.nextSlide" | "slides.toggleFullscreen" | "slides.backToSlides" | "slides.backToSlide" | "slides.noAddress" | "slides.liveDemos" | "slides.noTalkYet" | "overlay.options" | "overlay.whatAmILookingAt" | "overlay.reset" | "overlay.hoverAName" | "overlay.dismiss" | "axis.scale" | "axis.xScale" | "axis.yScale" | "axis.linear" | "axis.logarithmic" | "axis.scaleHelp" | "delimited.copyTable" | "delimited.copyOrDownload" | "delimited.close" | "delimited.separator" | "delimited.save" | "delimited.copy" | "delimited.tableAsText" | "chart.measurement" | "chart.measurements" | "delimited.descriptionOne" | "delimited.descriptionMany" | "structure.guide.atom.title" | "structure.guide.atom.element" | "structure.guide.atom.group" | "structure.guide.atom.applyOrForget" | "structure.guide.atom.chain" | "structure.guide.atom.charge" | "structure.guide.atom.radical" | "structure.guide.atom.spin" | "structure.guide.atom.attachment" | "structure.guide.atom.query" | "structure.guide.atom.halogen" | "structure.guide.atom.delete" | "structure.guide.atom.note" | "structure.guide.bond.title" | "structure.guide.bond.order" | "structure.guide.bond.zeroOrder" | "structure.guide.bond.stereo" | "structure.guide.bond.unknownGeometry" | "structure.guide.bond.threeRing" | "structure.guide.bond.ring" | "structure.guide.bond.benzene" | "structure.guide.bond.query" | "structure.guide.bond.delete" | "structure.guide.anywhere.title" | "structure.guide.anywhere.undo" | "structure.guide.anywhere.copy" | "structure.guide.anywhere.paste" | "structure.guide.anywhere.deleteSelection" | "structure.guide.anywhere.flip" | "structure.guide.anywhere.help" | "structure.guide.anywhere.note" | "structure.guide.selecting.title" | "structure.guide.selecting.lasso" | "structure.guide.selecting.rectangle" | "structure.guide.selecting.add" | "structure.guide.selecting.move" | "structure.guide.selecting.duplicate" | "structure.guide.selecting.queryFeatures" | "structure.guide.selecting.note" | "structure.guide.stereochemistry.title" | "structure.guide.stereochemistry.note" | "structure.input.type" | "structure.input.or" | "structure.input.drag" | "structure.input.plusDrag" | "structure.input.dragSelection" | "structure.input.plusDragSelection" | "structure.input.doubleClick" | "structure.docs.toolsAndKeys" | "structure.docs.atomProperties" | "structure.docs.stereochemistry" | "structure.help.hoverToolbar" | "structure.help.learnMore" | "structure.mouseAndKeyboard" | "structure.tool.clear.name" | "structure.tool.clear.description" | "structure.tool.cleanUp.name" | "structure.tool.cleanUp.description" | "structure.tool.select.name" | "structure.tool.select.description" | "structure.tool.unknownConfiguration.name" | "structure.tool.unknownConfiguration.description" | "structure.tool.delete.name" | "structure.tool.delete.description" | "structure.tool.singleBond.name" | "structure.tool.singleBond.description" | "structure.tool.upBond.name" | "structure.tool.upBond.description" | "structure.tool.positiveCharge.name" | "structure.tool.positiveCharge.description" | "structure.tool.undo.name" | "structure.tool.undo.description" | "structure.tool.zoomAndRotate.name" | "structure.tool.zoomAndRotate.description" | "structure.tool.atomMapping.name" | "structure.tool.atomMapping.description" | "structure.tool.enhancedStereo.name" | "structure.tool.enhancedStereo.description" | "structure.tool.text.name" | "structure.tool.text.description" | "structure.tool.chain.name" | "structure.tool.chain.description" | "structure.tool.downBond.name" | "structure.tool.downBond.description" | "structure.tool.negativeCharge.name" | "structure.tool.negativeCharge.description" | "structure.tool.anyAtom.name" | "structure.tool.anyAtom.description" | "structure.tool.ring3.name" | "structure.tool.ring3.description" | "structure.tool.ring5.name" | "structure.tool.ring5.description" | "structure.tool.ring7.name" | "structure.tool.ring7.description" | "structure.tool.ring4.name" | "structure.tool.ring4.description" | "structure.tool.ring6.name" | "structure.tool.ring6.description" | "structure.tool.benzene.name" | "structure.tool.benzene.description" | "structure.tool.carbon.name" | "structure.tool.carbon.description" | "structure.tool.nitrogen.name" | "structure.tool.nitrogen.description" | "structure.tool.oxygen.name" | "structure.tool.oxygen.description" | "structure.tool.fluorine.name" | "structure.tool.fluorine.description" | "structure.tool.bromine.name" | "structure.tool.bromine.description" | "structure.tool.hydrogen.name" | "structure.tool.hydrogen.description" | "structure.tool.silicon.name" | "structure.tool.silicon.description" | "structure.tool.phosphorus.name" | "structure.tool.phosphorus.description" | "structure.tool.sulfur.name" | "structure.tool.sulfur.description" | "structure.tool.chlorine.name" | "structure.tool.chlorine.description" | "structure.tool.iodine.name" | "structure.tool.iodine.description" | "structure.tool.reactionOnly" | "structure.tool.unavailable" | "structure.loadingEditor" | "structure.import.open" | "structure.import.drop" | "structure.import.unreadableFile" | "structure.import.unreadableText" | "structure.splash.draw" | "structure.splash.paste" | "structure.splash.drop" | "structure.export.open" | "structure.export.glyph" | "structure.export.title" | "structure.export.loading" | "structure.export.nothing" | "structure.export.picture" | "structure.export.identifiers" | "structure.export.saveSvg" | "structure.export.savePng" | "structure.export.copyPng" | "structure.export.copySvg" | "structure.export.svgCopied" | "structure.export.smiles" | "structure.export.smilesHelp" | "structure.export.molfileV3000" | "structure.export.molfileV3000Help" | "structure.export.molfileV2000" | "structure.export.molfileV2000Help" | "structure.export.idCode" | "structure.export.idCodeHelp" | "structure.export.noStereoIdCode" | "structure.export.noStereoIdCodeHelp" | "structure.export.noStereoTautomerIdCode" | "structure.export.noStereoTautomerIdCodeHelp" | "moleculeFile.export" | "moleculeFile.exportUpTo" | "moleculeFile.sdf" | "moleculeFile.txt" | "moleculeFile.progress" | "moleculeFile.cancel" | "moleculeFile.failed" | "moleculeFile.nothing" | "moleculeFile.skippedOne" | "moleculeFile.skippedMany" | "structure.search.title" | "structure.search.apply" | "structure.search.examples" | "structure.search.substructure" | "structure.search.substructureHelp" | "structure.search.similarity" | "structure.search.similarityHelp" | "structure.search.exact" | "structure.search.exactHelp" | "structure.search.exactNoStereo" | "structure.search.exactNoStereoHelp" | "structure.search.exactNoStereoTautomer" | "structure.search.exactNoStereoTautomerHelp" | "structure.search.similarityLabel" | "structure.search.threshold" | "structure.search.thresholdHelp" | "structure.search.thresholdOption" | "structure.search.exampleBenzene" | "structure.search.examplePyridine" | "structure.search.exampleAmide" | "structure.search.exampleSulfonamide" | "structure.search.exampleTrifluoromethyl" | "periodic.table" | "periodic.group" | "periodic.period" | "periodic.block" | "periodic.allElements" | "periodic.help.title" | "periodic.help.click" | "periodic.help.modClick" | "periodic.help.element" | "periodic.help.elementClick" | "periodic.help.elementMod" | "periodic.help.number" | "periodic.help.numberClick" | "periodic.help.runMod" | "periodic.help.block" | "periodic.help.blockClick" | "periodic.help.corner" | "periodic.help.cornerClick" | "periodic.help.arrowsClick" | "periodic.help.note" | "periodic.help.ctrl" | "periodic.cellLabel" | "periodic.category.alkali-metal" | "periodic.category.alkaline-earth-metal" | "periodic.category.transition-metal" | "periodic.category.post-transition-metal" | "periodic.category.metalloid" | "periodic.category.nonmetal" | "periodic.category.halogen" | "periodic.category.noble-gas" | "periodic.category.lanthanoid" | "periodic.category.actinoid" | "molecule3d.view" | "molecule3d.resetView" | "molecule3d.spin" | "molecule3d.surface" | "molecule3d.molecularSurface" | "molecule3d.displayOptions" | "molecule3d.exportImage" | "molecule3d.exportImageOrMolfile" | "molecule3d.molfileHint" | "molecule3d.molfileVersion" | "molecule3d.molfileV2000TooLarge" | "molecule3d.frames" | "molecule3d.framesHelp" | "molecule3d.frames.one" | "molecule3d.frames.all" | "molecule3d.fullScreen" | "molecule3d.measure" | "molecule3d.clearMeasurements" | "molecule3d.measurement.distance" | "molecule3d.measurement.angle" | "molecule3d.measurement.dihedral" | "molecule3d.measurementTooltip" | "molecule3d.representation.ball-and-stick" | "molecule3d.representation.spacefill" | "molecule3d.representation.stick" | "molecule3d.size" | "molecule3d.surfaceOpacity" | "molecule3d.solventProbe" | "molecule3d.solventProbeHelp" | "molecule3d.surfaceColour" | "molecule3d.colour" | "molecule3d.resetSettings" | "molecule3d.atDefaults" | "molecule3d.surfaceOff" | "molecule3d.showSurface" | "molecule3d.coloring.uniform" | "molecule3d.coloring.element" | "molecule3d.coloring.polarity" | "molecule3d.neutral" | "molecule3d.tpsaHelp" | "molecule3d.loadingViewer" | "molecule3d.couldNotDraw" | "molecule3d.gesture.rotate" | "molecule3d.gesture.rollDrag" | "molecule3d.gesture.rollKeys" | "molecule3d.gesture.moveDrag" | "molecule3d.gesture.moveCtrl" | "molecule3d.gesture.zoom" | "molecule3d.gesture.clip" | "molecule3d.gesture.centreAtom" | "molecule3d.gesture.centreMolecule" | "molecule3d.gesture.removeMeasurement" | "molecule3d.input.drag" | "molecule3d.input.plus" | "molecule3d.input.plusDrag" | "molecule3d.input.plusScroll" | "molecule3d.input.or" | "molecule3d.input.rightDrag" | "molecule3d.input.scroll" | "molecule3d.input.clickAtom" | "molecule3d.input.clickBackground" | "molecule3d.helpNote" | "orbital.couldNotDraw" | "orbital.sampling" | "orbital.showAxes" | "orbital.axesTitle" | "orbital.axesBody" | "orbital.axesExample" | "orbital.spin" | "orbital.spinTitle" | "orbital.spinBody" | "orbital.resetTitle" | "orbital.resetBody" | "viewer.capability.noWindow" | "viewer.capability.noContext" | "viewer.capability.noFloatTextures" | "viewer.capability.ready" | "conformers.strategy.adaptive-random" | "conformers.strategy.likely-random" | "conformers.strategy.pure-random" | "conformers.strategy.likely-systematic" | "conformers.strategyDetail.adaptive-random" | "conformers.strategyDetail.likely-random" | "conformers.strategyDetail.pure-random" | "conformers.strategyDetail.likely-systematic" | "conformers.minimisation.none" | "number.increment" | "number.decrement" | "range.lowest" | "range.highest" | "range.lowestIs" | "range.highestIs" | "range.noLowerBound" | "range.noUpperBound" | "range.typeValue" | "range.clear" | "taxonomy.lineage" | "taxonomy.rankNote" | "taxonomy.ncbi" | "taxonomy.ncbiTitle" | "taxonomy.rank.realm" | "taxonomy.rank.domain" | "taxonomy.rank.superkingdom" | "taxonomy.rank.kingdom" | "taxonomy.rank.subkingdom" | "taxonomy.rank.superphylum" | "taxonomy.rank.phylum" | "taxonomy.rank.subphylum" | "taxonomy.rank.superclass" | "taxonomy.rank.class" | "taxonomy.rank.subclass" | "taxonomy.rank.infraclass" | "taxonomy.rank.cohort" | "taxonomy.rank.subcohort" | "taxonomy.rank.superorder" | "taxonomy.rank.order" | "taxonomy.rank.suborder" | "taxonomy.rank.infraorder" | "taxonomy.rank.parvorder" | "taxonomy.rank.superfamily" | "taxonomy.rank.family" | "taxonomy.rank.subfamily" | "taxonomy.rank.tribe" | "taxonomy.rank.subtribe" | "taxonomy.rank.genus" | "taxonomy.rank.subgenus" | "taxonomy.rank.section" | "taxonomy.rank.subsection" | "taxonomy.rank.series" | "taxonomy.rank.subseries" | "taxonomy.rank.speciesGroup" | "taxonomy.rank.speciesSubgroup" | "taxonomy.rank.species" | "taxonomy.rank.formaSpecialis" | "taxonomy.rank.subspecies" | "taxonomy.rank.varietas" | "taxonomy.rank.subvariety" | "taxonomy.rank.forma" | "taxonomy.rank.pathogroup" | "taxonomy.rank.serogroup" | "taxonomy.rank.serotype" | "taxonomy.rank.biotype" | "taxonomy.rank.genotype" | "taxonomy.rank.morph" | "taxonomy.rank.strain" | "taxonomy.rank.isolate" | "taxonomy.rank.noRank" | "taxonomy.rank.clade" | "taxonomy.rank.cellularRoot" | "taxonomy.rank.acellularRoot" | "moleculesToken.title" | "moleculesToken.checkedAt" | "moleculesToken.checkAgain" | "moleculesToken.notChecked" | "moleculesToken.column.variable" | "moleculesToken.column.source" | "moleculesToken.column.status" | "moleculesToken.column.details" | "moleculesToken.anySource" | "moleculesToken.verdict.ok" | "moleculesToken.verdict.otherSource" | "moleculesToken.verdict.refused" | "moleculesToken.verdict.unset" | "moleculesToken.verdict.uncheckable" | "moleculesToken.verdict.unanswered" | "moleculesToken.forSource" | "moleculesToken.issued" | "moleculesToken.issuedTo" | "moleculesToken.lastUsed" | "moleculesToken.neverUsed" | "moleculesToken.otherSourceDetail" | "moleculesToken.refusedDetail" | "moleculesToken.unsetDetail" | "moleculesToken.uncheckableDetail" | "moleculesToken.howToChange" | "moleculesToken.fix.title" | "moleculesToken.fix.issueOne" | "moleculesToken.fix.issueMany" | "moleculesToken.fix.issueOnServer" | "moleculesToken.fix.envOne" | "moleculesToken.fix.envMany" | "moleculesToken.fix.restart" | "ir.mode.intensity" | "ir.raman.xTitle" | "ir.raman.chart" | "ir.raman.tools" | "ir.raman.viewer" | "ir.raman.viewerHelp" | "ir.raman.mark" | "ir.raman.about" | "ir.raman.documentation" | "ir.raman.command.documentation" | "ir.raman.command.readTool" | "ir.raman.command.boxTool" | "ir.raman.command.zoomIn" | "ir.raman.command.togglePicking" | "ir.raman.doc.bands" | "ir.raman.doc.sampled" | "ir.raman.aboutLead" | "ir.raman.credit.picking" | "ir.raman.credit.jcamp" | "panel.focus" | "panel.focusTooltip" | "panel.unfocusTooltip" | "panel.fillScreen" | "panel.fillScreenTooltip" | "panel.fold" | "panel.unfold" | "panel.foldTooltip" | "panel.unfoldTooltip" | "panel.close" | "panel.closeTooltip" | "panel.pin" | "panel.pinTooltip" | "panel.unpinTooltip" | "panel.settings" | "panel.settingsTooltip" | "panel.settingsToolbar" | "panel.settingsKeep" | "panel.settingsKeepTooltip" | "panel.settingsCancel" | "panel.settingsCancelTooltip" | "panel.leaveFullScreen" | "panel.leaveFullScreenTooltip" | "panel.clearFilter" | "panel.count" | "panel.colourOf" | "panel.drawIn" | "panel.changeColour" | "framedTool.about" | "framedTool.cite" | "framedTool.help" | "framedTool.open" | "toolSwitch.cancel" | "toolSwitch.keepWorking" | "toolSwitch.leave" | "toolSwitch.nothingBack" | "storage.menuTitle" | "storage.backup" | "storage.restore" | "storage.backupFailed" | "storage.restoreFailed" | "storage.close" | "storage.backupTooltip" | "storage.restoreTooltip" | "storage.nothingToBackUp" | "storage.notABackup" | "storage.restoredNothing" | "storage.restoredDocuments" | "storage.restoredAll" | "storage.restoredCopies" | "documents.saveInBrowser" | "documents.saveTitle" | "documents.renameTitle" | "documents.name" | "documents.save" | "documents.replace" | "documents.rename" | "documents.cancel" | "documents.open" | "documents.nameMissing" | "documents.replaces" | "documents.taken" | "documents.heading" | "documents.empty" | "documents.unavailable" | "documents.onScreen" | "documents.savedAgo" | "documents.openTooltip" | "documents.renameTooltip" | "documents.delete" | "documents.deleteQuestion" | "documents.saveInFolder" | "documents.saveInFolderNamed" | "documents.saveInFolderUnavailable" | "examples.heading" | "examples.openTooltip" | "examples.add" | "examples.addTooltip" | "examples.all" | "examples.categories" | "settings.title" | "settings.sections" | "settings.workspace" | "settings.workspaceMenu" | "settings.builtIn" | "settings.modified" | "settings.notStored" | "settings.reset" | "settings.saveAs" | "settings.rename" | "settings.delete" | "settings.deleteQuestion" | "settings.export" | "settings.import" | "settings.newName" | "settings.renameTitle" | "settings.nameLabel" | "settings.cancel" | "settings.apply" | "settings.applyAndSave" | "settings.save" | "panels.statusHeading" | "panels.statusLabel" | "panels.statusHelp" | "panels.status.hidden" | "panels.status.available" | "panels.status.folded" | "panels.status.open" | "document.title" | "document.name" | "document.format" | "document.include" | "document.view" | "document.viewDescription" | "document.workspace" | "document.workspaceDescription" | "document.save" | "document.cancel" | "saving.chooseTitle" | "saving.where" | "saving.file" | "saving.fileDescription" | "saving.folder" | "saving.folderDescription" | "saving.folderKnown" | "saving.folderKnownDescription" | "saving.browser" | "saving.browserDescription" | "saving.download" | "saving.downloadDescription" | "saving.otherBrowser" | "saving.remembered" | "saving.empty" | "saving.failed" | "saving.saved" | "saving.savedRenamed" | "saving.savedBrowser" | "saving.downloaded" | "saving.nameInFolder" | "saving.ask" | "saving.askDescription" | "saving.settingsHeading" | "drafts.failed" | "drafts.unreadable" | "drafts.heldElsewhere" | "drafts.reopened" | "drafts.crashed" | "drafts.heading" | "drafts.notSaved" | "drafts.unsavedChanges" | "drafts.untitled" | "drafts.empty" | "drafts.unavailable" | "drafts.usage" | "drafts.otherTab" | "drafts.otherTabTooltip" | "drafts.onScreenTooltip" | "drafts.openTooltip" | "drafts.delete" | "drafts.deleteQuestion" | "drafts.deleteFailed" | "folder.heading" | "folder.allow" | "folder.empty" | "folder.choose" | "folder.forget" | "folder.search" | "folder.noMatch" | "folder.newFolder" | "folder.newFolderTitle" | "folder.create" | "folder.folderTaken" | "folder.openFolder" | "folder.found" | "send.label" | "send.heading" | "send.none" | "send.blocked" | "crystal3d.draw" | "crystal3d.cells" | "crystal3d.packing.molecules" | "crystal3d.packing.moleculesHelp" | "crystal3d.packing.cell" | "crystal3d.packing.cellHelp" | "crystal3d.unitCell" | "crystal3d.unitCellHelp" | "crystal3d.bonds" | "crystal3d.bonds.all" | "crystal3d.bonds.allHelp" | "crystal3d.bonds.noMetal" | "crystal3d.bonds.noMetalHelp" | "crystal3d.bonds.none" | "crystal3d.bonds.noneHelp" | "crystal3d.caption.molecules.one" | "crystal3d.caption.molecules.other" | "crystal3d.caption.atoms.one" | "crystal3d.caption.atoms.other" | "crystal3d.caption.cells.one" | "crystal3d.caption.cells.other" | "crystal3d.caption.cellsCapped" | "crystal3d.unreadable" | "crystal3d.tooLarge" | "crystal3d.unsupported">;
|
|
21
21
|
//# sourceMappingURL=chromeCatalog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chromeCatalog.d.ts","sourceRoot":"","sources":["../../../src/i18n/core/chromeCatalog.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,MAAM,uBAAuB,CAAuB;AAE7D,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,2DAA2D;AAC3D,eAAO,MAAM,iBAAiB,mBAAmB,CAAC;AAElD,qCAAqC;AACrC,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,EAAE,CAAC;AAExC;;;;GAIG;AACH,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"chromeCatalog.d.ts","sourceRoot":"","sources":["../../../src/i18n/core/chromeCatalog.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,MAAM,uBAAuB,CAAuB;AAE7D,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,2DAA2D;AAC3D,eAAO,MAAM,iBAAiB,mBAAmB,CAAC;AAElD,qCAAqC;AACrC,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,EAAE,CAAC;AAExC;;;;GAIG;AACH,eAAO,MAAM,cAAc,k36BAgBzB,CAAC"}
|
package/lib/locales/de.json
CHANGED
|
@@ -1085,5 +1085,30 @@
|
|
|
1085
1085
|
"send.label": "Senden an",
|
|
1086
1086
|
"send.heading": "{what} senden an",
|
|
1087
1087
|
"send.none": "Von dieser Seite lässt sich noch nichts an ein anderes Werkzeug senden.",
|
|
1088
|
-
"send.blocked": "Der Browser hat den neuen Tab blockiert: Pop-ups für diese Seite erlauben, dann erneut senden."
|
|
1088
|
+
"send.blocked": "Der Browser hat den neuen Tab blockiert: Pop-ups für diese Seite erlauben, dann erneut senden.",
|
|
1089
|
+
"crystal3d.draw": "Zeichnen",
|
|
1090
|
+
"crystal3d.cells": "Zellen",
|
|
1091
|
+
"crystal3d.packing.molecules": "Ganze Moleküle",
|
|
1092
|
+
"crystal3d.packing.moleculesHelp": "Jedes Molekül ganz, in der Zelle, in die sein Zentrum fällt.",
|
|
1093
|
+
"crystal3d.packing.cell": "Atome der Zelle",
|
|
1094
|
+
"crystal3d.packing.cellHelp": "Jedes Atom innerhalb der Zelle, dort geschnitten, wo ihre Wände es schneiden.",
|
|
1095
|
+
"crystal3d.unitCell": "Elementarzelle",
|
|
1096
|
+
"crystal3d.unitCellHelp": "Der Rahmen der Elementarzelle.",
|
|
1097
|
+
"crystal3d.bonds": "Bindungen",
|
|
1098
|
+
"crystal3d.bonds.all": "Alle",
|
|
1099
|
+
"crystal3d.bonds.allHelp": "Jede Bindung zwischen Atomen, die nahe genug beieinander liegen.",
|
|
1100
|
+
"crystal3d.bonds.noMetal": "Ohne Metallbindungen",
|
|
1101
|
+
"crystal3d.bonds.noMetalHelp": "Die gestrichelten Bindungen zu Metallatomen sind ausgeblendet.",
|
|
1102
|
+
"crystal3d.bonds.none": "Keine",
|
|
1103
|
+
"crystal3d.bonds.noneHelp": "Nur die Atome, ohne jede Bindung.",
|
|
1104
|
+
"crystal3d.caption.molecules.one": "1 Molekül pro Zelle",
|
|
1105
|
+
"crystal3d.caption.molecules.other": "{count} Moleküle pro Zelle",
|
|
1106
|
+
"crystal3d.caption.atoms.one": "1 Atom pro Zelle",
|
|
1107
|
+
"crystal3d.caption.atoms.other": "{count} Atome pro Zelle",
|
|
1108
|
+
"crystal3d.caption.cells.one": "1×1×1 Zelle",
|
|
1109
|
+
"crystal3d.caption.cells.other": "{count}×{count}×{count} Zellen",
|
|
1110
|
+
"crystal3d.caption.cellsCapped": "{count}×{count}×{count} Zellen, da {asked}×{asked}×{asked} zu viele Atome enthielten",
|
|
1111
|
+
"crystal3d.unreadable": "Diese Datei konnte nicht gelesen werden",
|
|
1112
|
+
"crystal3d.tooLarge": "Diese Zelle enthält {count} Atome, mehr als der Betrachter zeichnet.",
|
|
1113
|
+
"crystal3d.unsupported": "Kein 3D auf diesem Rechner"
|
|
1089
1114
|
}
|