react-cheminfo 0.46.0 → 0.48.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 +69 -0
- package/lib/chart/core/chartDomain.d.ts +14 -0
- package/lib/chart/core/chartDomain.d.ts.map +1 -1
- package/lib/chart/core/chartDomain.js +1 -0
- package/lib/chart/core/chartDomain.js.map +1 -1
- package/lib/chart/core/selectionGeometry.d.ts +4 -2
- package/lib/chart/core/selectionGeometry.d.ts.map +1 -1
- package/lib/chart/core/selectionGeometry.js +4 -2
- package/lib/chart/core/selectionGeometry.js.map +1 -1
- package/lib/chart/core/zoomDomain.d.ts +11 -1
- package/lib/chart/core/zoomDomain.d.ts.map +1 -1
- package/lib/chart/core/zoomDomain.js +25 -5
- package/lib/chart/core/zoomDomain.js.map +1 -1
- package/lib/chart/ui/chartGestures.d.ts +26 -1
- package/lib/chart/ui/chartGestures.d.ts.map +1 -1
- package/lib/chart/ui/chartGestures.js +21 -0
- package/lib/chart/ui/chartGestures.js.map +1 -1
- package/lib/chart/ui/index.d.ts +1 -1
- package/lib/chart/ui/index.d.ts.map +1 -1
- package/lib/chart/ui/index.js +1 -1
- package/lib/chart/ui/index.js.map +1 -1
- package/lib/chart/ui/useChartZoom.d.ts.map +1 -1
- package/lib/chart/ui/useChartZoom.js +17 -1
- package/lib/chart/ui/useChartZoom.js.map +1 -1
- package/lib/core.d.ts +1 -0
- package/lib/core.d.ts.map +1 -1
- package/lib/core.js +1 -0
- package/lib/core.js.map +1 -1
- package/lib/download/core/cssPaint.d.ts +27 -0
- package/lib/download/core/cssPaint.d.ts.map +1 -0
- package/lib/download/core/cssPaint.js +63 -0
- package/lib/download/core/cssPaint.js.map +1 -0
- package/lib/download/core/drawingMarkup.d.ts +11 -0
- package/lib/download/core/drawingMarkup.d.ts.map +1 -0
- package/lib/download/core/drawingMarkup.js +32 -0
- package/lib/download/core/drawingMarkup.js.map +1 -0
- package/lib/download/core/figureHtml.d.ts +25 -0
- package/lib/download/core/figureHtml.d.ts.map +1 -0
- package/lib/download/core/figureHtml.js +174 -0
- package/lib/download/core/figureHtml.js.map +1 -0
- package/lib/download/core/figureHtmlMarkup.d.ts +107 -0
- package/lib/download/core/figureHtmlMarkup.d.ts.map +1 -0
- package/lib/download/core/figureHtmlMarkup.js +75 -0
- package/lib/download/core/figureHtmlMarkup.js.map +1 -0
- package/lib/download/core/figureSvg.d.ts.map +1 -1
- package/lib/download/core/figureSvg.js +16 -35
- package/lib/download/core/figureSvg.js.map +1 -1
- package/lib/download/core/figureSvgDocument.d.ts +3 -3
- package/lib/download/core/figureSvgDocument.d.ts.map +1 -1
- package/lib/download/core/figureTarget.d.ts +14 -3
- package/lib/download/core/figureTarget.d.ts.map +1 -1
- package/lib/download/core/figureTarget.js +42 -3
- package/lib/download/core/figureTarget.js.map +1 -1
- package/lib/download/core/index.d.ts +1 -1
- package/lib/download/core/index.d.ts.map +1 -1
- package/lib/download/core/index.js +1 -1
- package/lib/download/core/index.js.map +1 -1
- package/lib/download/core/textLines.d.ts +27 -0
- package/lib/download/core/textLines.d.ts.map +1 -0
- package/lib/download/core/textLines.js +51 -0
- package/lib/download/core/textLines.js.map +1 -0
- package/lib/ecosystem/core/lookup.d.ts +2 -1
- package/lib/ecosystem/core/lookup.d.ts.map +1 -1
- package/lib/ecosystem/core/lookup.js +10 -3
- package/lib/ecosystem/core/lookup.js.map +1 -1
- package/lib/ecosystem/core/types.d.ts +2 -2
- package/lib/ecosystem/core/types.d.ts.map +1 -1
- package/lib/ecosystem/core/unlistedSites.d.ts +9 -0
- package/lib/ecosystem/core/unlistedSites.d.ts.map +1 -0
- package/lib/ecosystem/core/unlistedSites.js +35 -0
- package/lib/ecosystem/core/unlistedSites.js.map +1 -0
- package/lib/ecosystem/ui/glyphs.d.ts.map +1 -1
- package/lib/ecosystem/ui/glyphs.js +7 -0
- package/lib/ecosystem/ui/glyphs.js.map +1 -1
- package/lib/i18n/core/chromeCatalog.d.ts +1 -1
- package/lib/i18n/core/chromeCatalog.d.ts.map +1 -1
- package/lib/ir/core/irMode.d.ts.map +1 -1
- package/lib/ir/core/irMode.js +6 -1
- package/lib/ir/core/irMode.js.map +1 -1
- package/lib/locales/de.json +56 -1
- package/lib/locales/en.json +56 -1
- package/lib/locales/es.json +56 -1
- package/lib/locales/fr.json +56 -1
- package/lib/locales/it.json +56 -1
- package/lib/periodic/core/index.d.ts +1 -1
- package/lib/periodic/core/index.d.ts.map +1 -1
- package/lib/periodic/core/layout.d.ts +11 -0
- package/lib/periodic/core/layout.d.ts.map +1 -1
- package/lib/periodic/core/layout.js.map +1 -1
- package/lib/periodic/ui/ElementCell.d.ts +6 -2
- package/lib/periodic/ui/ElementCell.d.ts.map +1 -1
- package/lib/periodic/ui/ElementCell.js +2 -2
- package/lib/periodic/ui/ElementCell.js.map +1 -1
- package/lib/periodic/ui/PeriodicTable.d.ts +3 -98
- package/lib/periodic/ui/PeriodicTable.d.ts.map +1 -1
- package/lib/periodic/ui/PeriodicTable.js +9 -84
- package/lib/periodic/ui/PeriodicTable.js.map +1 -1
- package/lib/periodic/ui/PeriodicTableChrome.d.ts +13 -3
- package/lib/periodic/ui/PeriodicTableChrome.d.ts.map +1 -1
- package/lib/periodic/ui/PeriodicTableChrome.js +10 -20
- package/lib/periodic/ui/PeriodicTableChrome.js.map +1 -1
- package/lib/periodic/ui/SelectAllCorner.d.ts +23 -0
- package/lib/periodic/ui/SelectAllCorner.d.ts.map +1 -0
- package/lib/periodic/ui/SelectAllCorner.js +40 -0
- package/lib/periodic/ui/SelectAllCorner.js.map +1 -0
- package/lib/periodic/ui/headerStyles.d.ts +17 -0
- package/lib/periodic/ui/headerStyles.d.ts.map +1 -0
- package/lib/periodic/ui/headerStyles.js +19 -0
- package/lib/periodic/ui/headerStyles.js.map +1 -0
- package/lib/periodic/ui/periodicTableProps.d.ts +115 -0
- package/lib/periodic/ui/periodicTableProps.d.ts.map +1 -0
- package/lib/periodic/ui/periodicTableProps.js +8 -0
- package/lib/periodic/ui/periodicTableProps.js.map +1 -0
- package/lib/periodic/ui/tableLayout.d.ts +26 -0
- package/lib/periodic/ui/tableLayout.d.ts.map +1 -0
- package/lib/periodic/ui/tableLayout.js +86 -0
- package/lib/periodic/ui/tableLayout.js.map +1 -0
- package/lib/split/ui/SplitColumn.d.ts +29 -0
- package/lib/split/ui/SplitColumn.d.ts.map +1 -0
- package/lib/split/ui/SplitColumn.js +19 -0
- package/lib/split/ui/SplitColumn.js.map +1 -0
- package/lib/split/ui/SplitRow.d.ts +14 -53
- package/lib/split/ui/SplitRow.d.ts.map +1 -1
- package/lib/split/ui/SplitRow.js +8 -90
- package/lib/split/ui/SplitRow.js.map +1 -1
- package/lib/split/ui/index.d.ts +3 -0
- package/lib/split/ui/index.d.ts.map +1 -1
- package/lib/split/ui/index.js +1 -0
- package/lib/split/ui/index.js.map +1 -1
- package/lib/split/ui/splitPanes.d.ts +84 -0
- package/lib/split/ui/splitPanes.d.ts.map +1 -0
- package/lib/split/ui/splitPanes.js +125 -0
- package/lib/split/ui/splitPanes.js.map +1 -0
- package/lib/taxonomy/core/index.d.ts +8 -0
- package/lib/taxonomy/core/index.d.ts.map +1 -0
- package/lib/taxonomy/core/index.js +5 -0
- package/lib/taxonomy/core/index.js.map +1 -0
- package/lib/taxonomy/core/lineage.d.ts +83 -0
- package/lib/taxonomy/core/lineage.d.ts.map +1 -0
- package/lib/taxonomy/core/lineage.js +126 -0
- package/lib/taxonomy/core/lineage.js.map +1 -0
- package/lib/taxonomy/core/ncbi.d.ts +8 -0
- package/lib/taxonomy/core/ncbi.d.ts.map +1 -0
- package/lib/taxonomy/core/ncbi.js +10 -0
- package/lib/taxonomy/core/ncbi.js.map +1 -0
- package/lib/taxonomy/core/organismName.d.ts +28 -0
- package/lib/taxonomy/core/organismName.d.ts.map +1 -0
- package/lib/taxonomy/core/organismName.js +188 -0
- package/lib/taxonomy/core/organismName.js.map +1 -0
- package/lib/taxonomy/core/organismWords.d.ts +20 -0
- package/lib/taxonomy/core/organismWords.d.ts.map +1 -0
- package/lib/taxonomy/core/organismWords.js +86 -0
- package/lib/taxonomy/core/organismWords.js.map +1 -0
- package/lib/taxonomy/core/ranks.d.ts +51 -0
- package/lib/taxonomy/core/ranks.d.ts.map +1 -0
- package/lib/taxonomy/core/ranks.js +123 -0
- package/lib/taxonomy/core/ranks.js.map +1 -0
- package/lib/taxonomy/ui/OrganismName.d.ts +28 -0
- package/lib/taxonomy/ui/OrganismName.d.ts.map +1 -0
- package/lib/taxonomy/ui/OrganismName.js +28 -0
- package/lib/taxonomy/ui/OrganismName.js.map +1 -0
- package/lib/taxonomy/ui/TaxonLineage.d.ts +67 -0
- package/lib/taxonomy/ui/TaxonLineage.d.ts.map +1 -0
- package/lib/taxonomy/ui/TaxonLineage.js +45 -0
- package/lib/taxonomy/ui/TaxonLineage.js.map +1 -0
- package/lib/taxonomy/ui/index.d.ts +6 -0
- package/lib/taxonomy/ui/index.d.ts.map +1 -0
- package/lib/taxonomy/ui/index.js +4 -0
- package/lib/taxonomy/ui/index.js.map +1 -0
- package/lib/taxonomy/ui/rankLabel.d.ts +17 -0
- package/lib/taxonomy/ui/rankLabel.d.ts.map +1 -0
- package/lib/taxonomy/ui/rankLabel.js +77 -0
- package/lib/taxonomy/ui/rankLabel.js.map +1 -0
- package/lib/ui.d.ts +1 -0
- package/lib/ui.d.ts.map +1 -1
- package/lib/ui.js +1 -0
- package/lib/ui.js.map +1 -1
- package/package.json +1 -1
- package/src/chart/core/chartDomain.ts +15 -0
- package/src/chart/core/selectionGeometry.ts +4 -2
- package/src/chart/core/zoomDomain.ts +37 -5
- package/src/chart/ui/chartGestures.ts +41 -1
- package/src/chart/ui/index.ts +1 -1
- package/src/chart/ui/useChartZoom.ts +25 -1
- package/src/core.ts +1 -0
- package/src/download/core/cssPaint.ts +71 -0
- package/src/download/core/drawingMarkup.ts +35 -0
- package/src/download/core/figureHtml.ts +214 -0
- package/src/download/core/figureHtmlMarkup.ts +187 -0
- package/src/download/core/figureSvg.ts +17 -38
- package/src/download/core/figureSvgDocument.ts +3 -3
- package/src/download/core/figureTarget.ts +41 -8
- package/src/download/core/index.ts +1 -0
- package/src/download/core/textLines.ts +67 -0
- package/src/ecosystem/core/lookup.ts +11 -3
- package/src/ecosystem/core/types.ts +4 -2
- package/src/ecosystem/core/unlistedSites.ts +37 -0
- package/src/ecosystem/ui/glyphs.tsx +44 -0
- package/src/ir/core/irMode.ts +6 -1
- package/src/locales/de.json +56 -1
- package/src/locales/en.json +56 -1
- package/src/locales/es.json +56 -1
- package/src/locales/fr.json +56 -1
- package/src/locales/it.json +56 -1
- package/src/periodic/core/index.ts +1 -1
- package/src/periodic/core/layout.ts +12 -0
- package/src/periodic/ui/ElementCell.tsx +8 -4
- package/src/periodic/ui/PeriodicTable.tsx +27 -197
- package/src/periodic/ui/PeriodicTableChrome.tsx +23 -20
- package/src/periodic/ui/SelectAllCorner.tsx +65 -0
- package/src/periodic/ui/headerStyles.ts +23 -0
- package/src/periodic/ui/periodicTableProps.ts +117 -0
- package/src/periodic/ui/tableLayout.ts +96 -0
- package/src/split/ui/SplitColumn.tsx +35 -0
- package/src/split/ui/SplitRow.tsx +16 -208
- package/src/split/ui/index.ts +3 -0
- package/src/split/ui/splitPanes.tsx +283 -0
- package/src/taxonomy/core/index.ts +20 -0
- package/src/taxonomy/core/lineage.ts +161 -0
- package/src/taxonomy/core/ncbi.ts +9 -0
- package/src/taxonomy/core/organismName.ts +217 -0
- package/src/taxonomy/core/organismWords.ts +86 -0
- package/src/taxonomy/core/ranks.ts +134 -0
- package/src/taxonomy/ui/OrganismName.tsx +59 -0
- package/src/taxonomy/ui/TaxonLineage.tsx +183 -0
- package/src/taxonomy/ui/index.ts +5 -0
- package/src/taxonomy/ui/rankLabel.ts +81 -0
- package/src/ui.ts +1 -0
- package/styles/chrome.css +135 -6
package/src/locales/de.json
CHANGED
|
@@ -266,6 +266,7 @@
|
|
|
266
266
|
"periodic.table": "Periodensystem",
|
|
267
267
|
"periodic.group": "Gruppe {group}",
|
|
268
268
|
"periodic.period": "Periode {period}",
|
|
269
|
+
"periodic.allElements": "Alle Elemente",
|
|
269
270
|
"periodic.cellLabel": "{name} ({symbol}, Z = {atomicNumber})",
|
|
270
271
|
"periodic.category.alkali-metal": "Alkalimetall",
|
|
271
272
|
"periodic.category.alkaline-earth-metal": "Erdalkalimetall",
|
|
@@ -504,5 +505,59 @@
|
|
|
504
505
|
"range.noLowerBound": "{label}: keine Untergrenze",
|
|
505
506
|
"range.noUpperBound": "{label}: keine Obergrenze",
|
|
506
507
|
"range.typeValue": "Klicken, um einen Wert einzugeben",
|
|
507
|
-
"range.clear": "{label} zurücksetzen"
|
|
508
|
+
"range.clear": "{label} zurücksetzen",
|
|
509
|
+
"taxonomy.lineage": "Abstammungslinie",
|
|
510
|
+
"taxonomy.rankNote": "({rank})",
|
|
511
|
+
"taxonomy.ncbi": "NCBI Taxonomy",
|
|
512
|
+
"taxonomy.ncbiTitle": "{name} im NCBI-Taxonomy-Browser öffnen",
|
|
513
|
+
"taxonomy.rank.realm": "Realm",
|
|
514
|
+
"taxonomy.rank.domain": "Domäne",
|
|
515
|
+
"taxonomy.rank.superkingdom": "Überreich",
|
|
516
|
+
"taxonomy.rank.kingdom": "Reich",
|
|
517
|
+
"taxonomy.rank.subkingdom": "Unterreich",
|
|
518
|
+
"taxonomy.rank.superphylum": "Überphylum",
|
|
519
|
+
"taxonomy.rank.phylum": "Phylum",
|
|
520
|
+
"taxonomy.rank.subphylum": "Subphylum",
|
|
521
|
+
"taxonomy.rank.superclass": "Überklasse",
|
|
522
|
+
"taxonomy.rank.class": "Klasse",
|
|
523
|
+
"taxonomy.rank.subclass": "Unterklasse",
|
|
524
|
+
"taxonomy.rank.infraclass": "Teilklasse",
|
|
525
|
+
"taxonomy.rank.cohort": "Kohorte",
|
|
526
|
+
"taxonomy.rank.subcohort": "Unterkohorte",
|
|
527
|
+
"taxonomy.rank.superorder": "Überordnung",
|
|
528
|
+
"taxonomy.rank.order": "Ordnung",
|
|
529
|
+
"taxonomy.rank.suborder": "Unterordnung",
|
|
530
|
+
"taxonomy.rank.infraorder": "Teilordnung",
|
|
531
|
+
"taxonomy.rank.parvorder": "Kleinordnung",
|
|
532
|
+
"taxonomy.rank.superfamily": "Überfamilie",
|
|
533
|
+
"taxonomy.rank.family": "Familie",
|
|
534
|
+
"taxonomy.rank.subfamily": "Unterfamilie",
|
|
535
|
+
"taxonomy.rank.tribe": "Tribus",
|
|
536
|
+
"taxonomy.rank.subtribe": "Subtribus",
|
|
537
|
+
"taxonomy.rank.genus": "Gattung",
|
|
538
|
+
"taxonomy.rank.subgenus": "Untergattung",
|
|
539
|
+
"taxonomy.rank.section": "Sektion",
|
|
540
|
+
"taxonomy.rank.subsection": "Untersektion",
|
|
541
|
+
"taxonomy.rank.series": "Serie",
|
|
542
|
+
"taxonomy.rank.subseries": "Unterserie",
|
|
543
|
+
"taxonomy.rank.speciesGroup": "Artengruppe",
|
|
544
|
+
"taxonomy.rank.speciesSubgroup": "Artenuntergruppe",
|
|
545
|
+
"taxonomy.rank.species": "Art",
|
|
546
|
+
"taxonomy.rank.formaSpecialis": "Forma specialis",
|
|
547
|
+
"taxonomy.rank.subspecies": "Unterart",
|
|
548
|
+
"taxonomy.rank.varietas": "Varietät",
|
|
549
|
+
"taxonomy.rank.subvariety": "Subvarietät",
|
|
550
|
+
"taxonomy.rank.forma": "Form",
|
|
551
|
+
"taxonomy.rank.pathogroup": "Pathogruppe",
|
|
552
|
+
"taxonomy.rank.serogroup": "Serogruppe",
|
|
553
|
+
"taxonomy.rank.serotype": "Serotyp",
|
|
554
|
+
"taxonomy.rank.biotype": "Biotyp",
|
|
555
|
+
"taxonomy.rank.genotype": "Genotyp",
|
|
556
|
+
"taxonomy.rank.morph": "Morphe",
|
|
557
|
+
"taxonomy.rank.strain": "Stamm",
|
|
558
|
+
"taxonomy.rank.isolate": "Isolat",
|
|
559
|
+
"taxonomy.rank.noRank": "ohne Rang",
|
|
560
|
+
"taxonomy.rank.clade": "Klade",
|
|
561
|
+
"taxonomy.rank.cellularRoot": "zelluläre Wurzel",
|
|
562
|
+
"taxonomy.rank.acellularRoot": "azelluläre Wurzel"
|
|
508
563
|
}
|
package/src/locales/en.json
CHANGED
|
@@ -412,6 +412,7 @@
|
|
|
412
412
|
"periodic.table": "Periodic table",
|
|
413
413
|
"periodic.group": "Group {group}",
|
|
414
414
|
"periodic.period": "Period {period}",
|
|
415
|
+
"periodic.allElements": "All elements",
|
|
415
416
|
"periodic.cellLabel": "{name} ({symbol}, Z = {atomicNumber})",
|
|
416
417
|
"periodic.category.alkali-metal": "Alkali metal",
|
|
417
418
|
"periodic.category.alkaline-earth-metal": "Alkaline earth",
|
|
@@ -504,5 +505,59 @@
|
|
|
504
505
|
"range.noLowerBound": "{label}: no lower bound",
|
|
505
506
|
"range.noUpperBound": "{label}: no upper bound",
|
|
506
507
|
"range.typeValue": "Click to type a value",
|
|
507
|
-
"range.clear": "Clear {label}"
|
|
508
|
+
"range.clear": "Clear {label}",
|
|
509
|
+
"taxonomy.lineage": "Lineage",
|
|
510
|
+
"taxonomy.rankNote": "({rank})",
|
|
511
|
+
"taxonomy.ncbi": "NCBI Taxonomy",
|
|
512
|
+
"taxonomy.ncbiTitle": "Open {name} in the NCBI Taxonomy Browser",
|
|
513
|
+
"taxonomy.rank.realm": "realm",
|
|
514
|
+
"taxonomy.rank.domain": "domain",
|
|
515
|
+
"taxonomy.rank.superkingdom": "superkingdom",
|
|
516
|
+
"taxonomy.rank.kingdom": "kingdom",
|
|
517
|
+
"taxonomy.rank.subkingdom": "subkingdom",
|
|
518
|
+
"taxonomy.rank.superphylum": "superphylum",
|
|
519
|
+
"taxonomy.rank.phylum": "phylum",
|
|
520
|
+
"taxonomy.rank.subphylum": "subphylum",
|
|
521
|
+
"taxonomy.rank.superclass": "superclass",
|
|
522
|
+
"taxonomy.rank.class": "class",
|
|
523
|
+
"taxonomy.rank.subclass": "subclass",
|
|
524
|
+
"taxonomy.rank.infraclass": "infraclass",
|
|
525
|
+
"taxonomy.rank.cohort": "cohort",
|
|
526
|
+
"taxonomy.rank.subcohort": "subcohort",
|
|
527
|
+
"taxonomy.rank.superorder": "superorder",
|
|
528
|
+
"taxonomy.rank.order": "order",
|
|
529
|
+
"taxonomy.rank.suborder": "suborder",
|
|
530
|
+
"taxonomy.rank.infraorder": "infraorder",
|
|
531
|
+
"taxonomy.rank.parvorder": "parvorder",
|
|
532
|
+
"taxonomy.rank.superfamily": "superfamily",
|
|
533
|
+
"taxonomy.rank.family": "family",
|
|
534
|
+
"taxonomy.rank.subfamily": "subfamily",
|
|
535
|
+
"taxonomy.rank.tribe": "tribe",
|
|
536
|
+
"taxonomy.rank.subtribe": "subtribe",
|
|
537
|
+
"taxonomy.rank.genus": "genus",
|
|
538
|
+
"taxonomy.rank.subgenus": "subgenus",
|
|
539
|
+
"taxonomy.rank.section": "section",
|
|
540
|
+
"taxonomy.rank.subsection": "subsection",
|
|
541
|
+
"taxonomy.rank.series": "series",
|
|
542
|
+
"taxonomy.rank.subseries": "subseries",
|
|
543
|
+
"taxonomy.rank.speciesGroup": "species group",
|
|
544
|
+
"taxonomy.rank.speciesSubgroup": "species subgroup",
|
|
545
|
+
"taxonomy.rank.species": "species",
|
|
546
|
+
"taxonomy.rank.formaSpecialis": "forma specialis",
|
|
547
|
+
"taxonomy.rank.subspecies": "subspecies",
|
|
548
|
+
"taxonomy.rank.varietas": "variety",
|
|
549
|
+
"taxonomy.rank.subvariety": "subvariety",
|
|
550
|
+
"taxonomy.rank.forma": "form",
|
|
551
|
+
"taxonomy.rank.pathogroup": "pathogroup",
|
|
552
|
+
"taxonomy.rank.serogroup": "serogroup",
|
|
553
|
+
"taxonomy.rank.serotype": "serotype",
|
|
554
|
+
"taxonomy.rank.biotype": "biotype",
|
|
555
|
+
"taxonomy.rank.genotype": "genotype",
|
|
556
|
+
"taxonomy.rank.morph": "morph",
|
|
557
|
+
"taxonomy.rank.strain": "strain",
|
|
558
|
+
"taxonomy.rank.isolate": "isolate",
|
|
559
|
+
"taxonomy.rank.noRank": "no rank",
|
|
560
|
+
"taxonomy.rank.clade": "clade",
|
|
561
|
+
"taxonomy.rank.cellularRoot": "cellular root",
|
|
562
|
+
"taxonomy.rank.acellularRoot": "acellular root"
|
|
508
563
|
}
|
package/src/locales/es.json
CHANGED
|
@@ -266,6 +266,7 @@
|
|
|
266
266
|
"periodic.table": "Tabla periódica",
|
|
267
267
|
"periodic.group": "Grupo {group}",
|
|
268
268
|
"periodic.period": "Periodo {period}",
|
|
269
|
+
"periodic.allElements": "Todos los elementos",
|
|
269
270
|
"periodic.cellLabel": "{name} ({symbol}, Z = {atomicNumber})",
|
|
270
271
|
"periodic.category.alkali-metal": "Metal alcalino",
|
|
271
272
|
"periodic.category.alkaline-earth-metal": "Alcalinotérreo",
|
|
@@ -504,5 +505,59 @@
|
|
|
504
505
|
"range.noLowerBound": "{label}: sin límite inferior",
|
|
505
506
|
"range.noUpperBound": "{label}: sin límite superior",
|
|
506
507
|
"range.typeValue": "Haga clic para escribir un valor",
|
|
507
|
-
"range.clear": "Borrar {label}"
|
|
508
|
+
"range.clear": "Borrar {label}",
|
|
509
|
+
"taxonomy.lineage": "Linaje",
|
|
510
|
+
"taxonomy.rankNote": "({rank})",
|
|
511
|
+
"taxonomy.ncbi": "NCBI Taxonomy",
|
|
512
|
+
"taxonomy.ncbiTitle": "Abrir {name} en el navegador NCBI Taxonomy",
|
|
513
|
+
"taxonomy.rank.realm": "dominio viral",
|
|
514
|
+
"taxonomy.rank.domain": "dominio",
|
|
515
|
+
"taxonomy.rank.superkingdom": "superreino",
|
|
516
|
+
"taxonomy.rank.kingdom": "reino",
|
|
517
|
+
"taxonomy.rank.subkingdom": "subreino",
|
|
518
|
+
"taxonomy.rank.superphylum": "superfilo",
|
|
519
|
+
"taxonomy.rank.phylum": "filo",
|
|
520
|
+
"taxonomy.rank.subphylum": "subfilo",
|
|
521
|
+
"taxonomy.rank.superclass": "superclase",
|
|
522
|
+
"taxonomy.rank.class": "clase",
|
|
523
|
+
"taxonomy.rank.subclass": "subclase",
|
|
524
|
+
"taxonomy.rank.infraclass": "infraclase",
|
|
525
|
+
"taxonomy.rank.cohort": "cohorte",
|
|
526
|
+
"taxonomy.rank.subcohort": "subcohorte",
|
|
527
|
+
"taxonomy.rank.superorder": "superorden",
|
|
528
|
+
"taxonomy.rank.order": "orden",
|
|
529
|
+
"taxonomy.rank.suborder": "suborden",
|
|
530
|
+
"taxonomy.rank.infraorder": "infraorden",
|
|
531
|
+
"taxonomy.rank.parvorder": "parvorden",
|
|
532
|
+
"taxonomy.rank.superfamily": "superfamilia",
|
|
533
|
+
"taxonomy.rank.family": "familia",
|
|
534
|
+
"taxonomy.rank.subfamily": "subfamilia",
|
|
535
|
+
"taxonomy.rank.tribe": "tribu",
|
|
536
|
+
"taxonomy.rank.subtribe": "subtribu",
|
|
537
|
+
"taxonomy.rank.genus": "género",
|
|
538
|
+
"taxonomy.rank.subgenus": "subgénero",
|
|
539
|
+
"taxonomy.rank.section": "sección",
|
|
540
|
+
"taxonomy.rank.subsection": "subsección",
|
|
541
|
+
"taxonomy.rank.series": "serie",
|
|
542
|
+
"taxonomy.rank.subseries": "subserie",
|
|
543
|
+
"taxonomy.rank.speciesGroup": "grupo de especies",
|
|
544
|
+
"taxonomy.rank.speciesSubgroup": "subgrupo de especies",
|
|
545
|
+
"taxonomy.rank.species": "especie",
|
|
546
|
+
"taxonomy.rank.formaSpecialis": "forma specialis",
|
|
547
|
+
"taxonomy.rank.subspecies": "subespecie",
|
|
548
|
+
"taxonomy.rank.varietas": "variedad",
|
|
549
|
+
"taxonomy.rank.subvariety": "subvariedad",
|
|
550
|
+
"taxonomy.rank.forma": "forma",
|
|
551
|
+
"taxonomy.rank.pathogroup": "patogrupo",
|
|
552
|
+
"taxonomy.rank.serogroup": "serogrupo",
|
|
553
|
+
"taxonomy.rank.serotype": "serotipo",
|
|
554
|
+
"taxonomy.rank.biotype": "biotipo",
|
|
555
|
+
"taxonomy.rank.genotype": "genotipo",
|
|
556
|
+
"taxonomy.rank.morph": "morfo",
|
|
557
|
+
"taxonomy.rank.strain": "cepa",
|
|
558
|
+
"taxonomy.rank.isolate": "aislado",
|
|
559
|
+
"taxonomy.rank.noRank": "sin rango",
|
|
560
|
+
"taxonomy.rank.clade": "clado",
|
|
561
|
+
"taxonomy.rank.cellularRoot": "raíz celular",
|
|
562
|
+
"taxonomy.rank.acellularRoot": "raíz acelular"
|
|
508
563
|
}
|
package/src/locales/fr.json
CHANGED
|
@@ -266,6 +266,7 @@
|
|
|
266
266
|
"periodic.table": "Tableau périodique",
|
|
267
267
|
"periodic.group": "Groupe {group}",
|
|
268
268
|
"periodic.period": "Période {period}",
|
|
269
|
+
"periodic.allElements": "Tous les éléments",
|
|
269
270
|
"periodic.cellLabel": "{name} ({symbol}, Z = {atomicNumber})",
|
|
270
271
|
"periodic.category.alkali-metal": "Métal alcalin",
|
|
271
272
|
"periodic.category.alkaline-earth-metal": "Alcalino-terreux",
|
|
@@ -504,5 +505,59 @@
|
|
|
504
505
|
"range.noLowerBound": "{label} : pas de borne inférieure",
|
|
505
506
|
"range.noUpperBound": "{label} : pas de borne supérieure",
|
|
506
507
|
"range.typeValue": "Cliquer pour saisir une valeur",
|
|
507
|
-
"range.clear": "Effacer {label}"
|
|
508
|
+
"range.clear": "Effacer {label}",
|
|
509
|
+
"taxonomy.lineage": "Lignée",
|
|
510
|
+
"taxonomy.rankNote": "({rank})",
|
|
511
|
+
"taxonomy.ncbi": "NCBI Taxonomy",
|
|
512
|
+
"taxonomy.ncbiTitle": "Ouvrir {name} dans le navigateur NCBI Taxonomy",
|
|
513
|
+
"taxonomy.rank.realm": "domaine viral",
|
|
514
|
+
"taxonomy.rank.domain": "domaine",
|
|
515
|
+
"taxonomy.rank.superkingdom": "superrègne",
|
|
516
|
+
"taxonomy.rank.kingdom": "règne",
|
|
517
|
+
"taxonomy.rank.subkingdom": "sous-règne",
|
|
518
|
+
"taxonomy.rank.superphylum": "super-embranchement",
|
|
519
|
+
"taxonomy.rank.phylum": "embranchement",
|
|
520
|
+
"taxonomy.rank.subphylum": "sous-embranchement",
|
|
521
|
+
"taxonomy.rank.superclass": "super-classe",
|
|
522
|
+
"taxonomy.rank.class": "classe",
|
|
523
|
+
"taxonomy.rank.subclass": "sous-classe",
|
|
524
|
+
"taxonomy.rank.infraclass": "infra-classe",
|
|
525
|
+
"taxonomy.rank.cohort": "cohorte",
|
|
526
|
+
"taxonomy.rank.subcohort": "sous-cohorte",
|
|
527
|
+
"taxonomy.rank.superorder": "super-ordre",
|
|
528
|
+
"taxonomy.rank.order": "ordre",
|
|
529
|
+
"taxonomy.rank.suborder": "sous-ordre",
|
|
530
|
+
"taxonomy.rank.infraorder": "infra-ordre",
|
|
531
|
+
"taxonomy.rank.parvorder": "micro-ordre",
|
|
532
|
+
"taxonomy.rank.superfamily": "super-famille",
|
|
533
|
+
"taxonomy.rank.family": "famille",
|
|
534
|
+
"taxonomy.rank.subfamily": "sous-famille",
|
|
535
|
+
"taxonomy.rank.tribe": "tribu",
|
|
536
|
+
"taxonomy.rank.subtribe": "sous-tribu",
|
|
537
|
+
"taxonomy.rank.genus": "genre",
|
|
538
|
+
"taxonomy.rank.subgenus": "sous-genre",
|
|
539
|
+
"taxonomy.rank.section": "section",
|
|
540
|
+
"taxonomy.rank.subsection": "sous-section",
|
|
541
|
+
"taxonomy.rank.series": "série",
|
|
542
|
+
"taxonomy.rank.subseries": "sous-série",
|
|
543
|
+
"taxonomy.rank.speciesGroup": "groupe d’espèces",
|
|
544
|
+
"taxonomy.rank.speciesSubgroup": "sous-groupe d’espèces",
|
|
545
|
+
"taxonomy.rank.species": "espèce",
|
|
546
|
+
"taxonomy.rank.formaSpecialis": "forma specialis",
|
|
547
|
+
"taxonomy.rank.subspecies": "sous-espèce",
|
|
548
|
+
"taxonomy.rank.varietas": "variété",
|
|
549
|
+
"taxonomy.rank.subvariety": "sous-variété",
|
|
550
|
+
"taxonomy.rank.forma": "forme",
|
|
551
|
+
"taxonomy.rank.pathogroup": "pathogroupe",
|
|
552
|
+
"taxonomy.rank.serogroup": "sérogroupe",
|
|
553
|
+
"taxonomy.rank.serotype": "sérotype",
|
|
554
|
+
"taxonomy.rank.biotype": "biotype",
|
|
555
|
+
"taxonomy.rank.genotype": "génotype",
|
|
556
|
+
"taxonomy.rank.morph": "morphe",
|
|
557
|
+
"taxonomy.rank.strain": "souche",
|
|
558
|
+
"taxonomy.rank.isolate": "isolat",
|
|
559
|
+
"taxonomy.rank.noRank": "sans rang",
|
|
560
|
+
"taxonomy.rank.clade": "clade",
|
|
561
|
+
"taxonomy.rank.cellularRoot": "racine cellulaire",
|
|
562
|
+
"taxonomy.rank.acellularRoot": "racine acellulaire"
|
|
508
563
|
}
|
package/src/locales/it.json
CHANGED
|
@@ -412,6 +412,7 @@
|
|
|
412
412
|
"periodic.table": "Tavola periodica",
|
|
413
413
|
"periodic.group": "Gruppo {group}",
|
|
414
414
|
"periodic.period": "Periodo {period}",
|
|
415
|
+
"periodic.allElements": "Tutti gli elementi",
|
|
415
416
|
"periodic.cellLabel": "{name} ({symbol}, Z = {atomicNumber})",
|
|
416
417
|
"periodic.category.alkali-metal": "Metallo alcalino",
|
|
417
418
|
"periodic.category.alkaline-earth-metal": "Alcalino terroso",
|
|
@@ -504,5 +505,59 @@
|
|
|
504
505
|
"range.noLowerBound": "{label}: nessun limite inferiore",
|
|
505
506
|
"range.noUpperBound": "{label}: nessun limite superiore",
|
|
506
507
|
"range.typeValue": "Fai clic per inserire un valore",
|
|
507
|
-
"range.clear": "Cancella {label}"
|
|
508
|
+
"range.clear": "Cancella {label}",
|
|
509
|
+
"taxonomy.lineage": "Lignaggio",
|
|
510
|
+
"taxonomy.rankNote": "({rank})",
|
|
511
|
+
"taxonomy.ncbi": "NCBI Taxonomy",
|
|
512
|
+
"taxonomy.ncbiTitle": "Apri {name} nel browser NCBI Taxonomy",
|
|
513
|
+
"taxonomy.rank.realm": "dominio virale",
|
|
514
|
+
"taxonomy.rank.domain": "dominio",
|
|
515
|
+
"taxonomy.rank.superkingdom": "superregno",
|
|
516
|
+
"taxonomy.rank.kingdom": "regno",
|
|
517
|
+
"taxonomy.rank.subkingdom": "sottoregno",
|
|
518
|
+
"taxonomy.rank.superphylum": "superphylum",
|
|
519
|
+
"taxonomy.rank.phylum": "phylum",
|
|
520
|
+
"taxonomy.rank.subphylum": "subphylum",
|
|
521
|
+
"taxonomy.rank.superclass": "superclasse",
|
|
522
|
+
"taxonomy.rank.class": "classe",
|
|
523
|
+
"taxonomy.rank.subclass": "sottoclasse",
|
|
524
|
+
"taxonomy.rank.infraclass": "infraclasse",
|
|
525
|
+
"taxonomy.rank.cohort": "coorte",
|
|
526
|
+
"taxonomy.rank.subcohort": "sottocoorte",
|
|
527
|
+
"taxonomy.rank.superorder": "superordine",
|
|
528
|
+
"taxonomy.rank.order": "ordine",
|
|
529
|
+
"taxonomy.rank.suborder": "sottordine",
|
|
530
|
+
"taxonomy.rank.infraorder": "infraordine",
|
|
531
|
+
"taxonomy.rank.parvorder": "parvordine",
|
|
532
|
+
"taxonomy.rank.superfamily": "superfamiglia",
|
|
533
|
+
"taxonomy.rank.family": "famiglia",
|
|
534
|
+
"taxonomy.rank.subfamily": "sottofamiglia",
|
|
535
|
+
"taxonomy.rank.tribe": "tribù",
|
|
536
|
+
"taxonomy.rank.subtribe": "sottotribù",
|
|
537
|
+
"taxonomy.rank.genus": "genere",
|
|
538
|
+
"taxonomy.rank.subgenus": "sottogenere",
|
|
539
|
+
"taxonomy.rank.section": "sezione",
|
|
540
|
+
"taxonomy.rank.subsection": "sottosezione",
|
|
541
|
+
"taxonomy.rank.series": "serie",
|
|
542
|
+
"taxonomy.rank.subseries": "sottoserie",
|
|
543
|
+
"taxonomy.rank.speciesGroup": "gruppo di specie",
|
|
544
|
+
"taxonomy.rank.speciesSubgroup": "sottogruppo di specie",
|
|
545
|
+
"taxonomy.rank.species": "specie",
|
|
546
|
+
"taxonomy.rank.formaSpecialis": "forma specialis",
|
|
547
|
+
"taxonomy.rank.subspecies": "sottospecie",
|
|
548
|
+
"taxonomy.rank.varietas": "varietà",
|
|
549
|
+
"taxonomy.rank.subvariety": "sottovarietà",
|
|
550
|
+
"taxonomy.rank.forma": "forma",
|
|
551
|
+
"taxonomy.rank.pathogroup": "patogruppo",
|
|
552
|
+
"taxonomy.rank.serogroup": "sierogruppo",
|
|
553
|
+
"taxonomy.rank.serotype": "sierotipo",
|
|
554
|
+
"taxonomy.rank.biotype": "biotipo",
|
|
555
|
+
"taxonomy.rank.genotype": "genotipo",
|
|
556
|
+
"taxonomy.rank.morph": "morfo",
|
|
557
|
+
"taxonomy.rank.strain": "ceppo",
|
|
558
|
+
"taxonomy.rank.isolate": "isolato",
|
|
559
|
+
"taxonomy.rank.noRank": "senza rango",
|
|
560
|
+
"taxonomy.rank.clade": "clade",
|
|
561
|
+
"taxonomy.rank.cellularRoot": "radice cellulare",
|
|
562
|
+
"taxonomy.rank.acellularRoot": "radice acellulare"
|
|
508
563
|
}
|
|
@@ -28,6 +28,18 @@ export interface ElementRange {
|
|
|
28
28
|
additive: boolean;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
/** One element, and what the click that picked it asked for. */
|
|
32
|
+
export interface ElementPick {
|
|
33
|
+
/**
|
|
34
|
+
* Whether the click asked for this element on top of what was already
|
|
35
|
+
* chosen — Cmd on a Mac, Ctrl elsewhere — rather than in place of it. A tool
|
|
36
|
+
* whose plain click already means something of its own — reading one element
|
|
37
|
+
* into a card — tells the two apart by it, so one table both reads an
|
|
38
|
+
* element and builds a set of them.
|
|
39
|
+
*/
|
|
40
|
+
additive: boolean;
|
|
41
|
+
}
|
|
42
|
+
|
|
31
43
|
/** A cell of the grid, one-based as CSS grid lines are. */
|
|
32
44
|
export interface Cell {
|
|
33
45
|
/** Grid column, one-based. */
|
|
@@ -16,6 +16,7 @@ import { useState } from 'react';
|
|
|
16
16
|
|
|
17
17
|
import type { Swatch } from '../../color/core/interpolate.ts';
|
|
18
18
|
import { useChromeT } from '../../i18n/ui/useT.ts';
|
|
19
|
+
import type { ElementPick } from '../core/layout.ts';
|
|
19
20
|
|
|
20
21
|
import {
|
|
21
22
|
SHELLS_AIR,
|
|
@@ -53,8 +54,11 @@ export interface ElementCellProps {
|
|
|
53
54
|
column: number;
|
|
54
55
|
/** Row of the grid, one-based. */
|
|
55
56
|
row: number;
|
|
56
|
-
/**
|
|
57
|
-
|
|
57
|
+
/**
|
|
58
|
+
* Called with the symbol when the cell is chosen, and with what the click
|
|
59
|
+
* asked for: a plain one, or an additive one — Cmd or Ctrl held.
|
|
60
|
+
*/
|
|
61
|
+
onSelect: (symbol: string, pick: ElementPick) => void;
|
|
58
62
|
/**
|
|
59
63
|
* Third line, under the symbol: the value the tool is showing.
|
|
60
64
|
* @default '' — nothing is written
|
|
@@ -143,8 +147,8 @@ export function ElementCell(props: ElementCellProps): ReactElement {
|
|
|
143
147
|
atomicNumber,
|
|
144
148
|
})}
|
|
145
149
|
aria-pressed={isSelected}
|
|
146
|
-
onClick={() => {
|
|
147
|
-
onSelect(symbol);
|
|
150
|
+
onClick={(event) => {
|
|
151
|
+
onSelect(symbol, { additive: event.metaKey || event.ctrlKey });
|
|
148
152
|
}}
|
|
149
153
|
onPointerEnter={() => {
|
|
150
154
|
setIsHovered(true);
|