react-cheminfo 0.130.0 → 0.132.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 +29 -0
- 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/drawing/render/index.d.ts +3 -1
- package/lib/drawing/render/index.d.ts.map +1 -1
- package/lib/drawing/render/index.js +1 -0
- package/lib/drawing/render/index.js.map +1 -1
- package/lib/drawing/render/motion.d.ts +3 -2
- package/lib/drawing/render/motion.d.ts.map +1 -1
- package/lib/drawing/render/motion.js +25 -3
- package/lib/drawing/render/motion.js.map +1 -1
- package/lib/drawing/render/primitives.d.ts +10 -0
- package/lib/drawing/render/primitives.d.ts.map +1 -1
- package/lib/drawing/render/spinning.d.ts +29 -0
- package/lib/drawing/render/spinning.d.ts.map +1 -0
- package/lib/drawing/render/spinning.js +38 -0
- package/lib/drawing/render/spinning.js.map +1 -0
- package/lib/drawing/render/svg.d.ts.map +1 -1
- package/lib/drawing/render/svg.js +8 -2
- package/lib/drawing/render/svg.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 +4 -0
- package/lib/locales/en.json +4 -0
- package/lib/locales/es.json +4 -0
- package/lib/locales/fr.json +4 -0
- package/lib/locales/it.json +4 -0
- package/lib/log/core/index.d.ts +4 -0
- package/lib/log/core/index.d.ts.map +1 -0
- package/lib/log/core/index.js +3 -0
- package/lib/log/core/index.js.map +1 -0
- package/lib/log/core/logGroups.d.ts +87 -0
- package/lib/log/core/logGroups.d.ts.map +1 -0
- package/lib/log/core/logGroups.js +85 -0
- package/lib/log/core/logGroups.js.map +1 -0
- package/lib/log/core/logLines.d.ts +19 -0
- package/lib/log/core/logLines.d.ts.map +1 -0
- package/lib/log/core/logLines.js +36 -0
- package/lib/log/core/logLines.js.map +1 -0
- package/lib/log/ui/LogBadge.d.ts +39 -0
- package/lib/log/ui/LogBadge.d.ts.map +1 -0
- package/lib/log/ui/LogBadge.js +28 -0
- package/lib/log/ui/LogBadge.js.map +1 -0
- package/lib/log/ui/LogCallouts.d.ts +55 -0
- package/lib/log/ui/LogCallouts.d.ts.map +1 -0
- package/lib/log/ui/LogCallouts.js +38 -0
- package/lib/log/ui/LogCallouts.js.map +1 -0
- package/lib/log/ui/index.d.ts +7 -0
- package/lib/log/ui/index.d.ts.map +1 -0
- package/lib/log/ui/index.js +5 -0
- package/lib/log/ui/index.js.map +1 -0
- package/lib/log/ui/logIcon.d.ts +9 -0
- package/lib/log/ui/logIcon.d.ts.map +1 -0
- package/lib/log/ui/logIcon.js +17 -0
- package/lib/log/ui/logIcon.js.map +1 -0
- package/lib/log/ui/useLogEntries.d.ts +15 -0
- package/lib/log/ui/useLogEntries.d.ts.map +1 -0
- package/lib/log/ui/useLogEntries.js +47 -0
- package/lib/log/ui/useLogEntries.js.map +1 -0
- package/lib/overlay/ui/OverlayBarButton.d.ts.map +1 -1
- package/lib/overlay/ui/OverlayBarButton.js +1 -1
- package/lib/overlay/ui/OverlayBarButton.js.map +1 -1
- package/lib/overlay/ui/OverlayInfo.d.ts.map +1 -1
- package/lib/overlay/ui/OverlayInfo.js +1 -1
- package/lib/overlay/ui/OverlayInfo.js.map +1 -1
- package/lib/structure/core/conformerMinimise.d.ts +13 -4
- package/lib/structure/core/conformerMinimise.d.ts.map +1 -1
- package/lib/structure/core/conformerMinimise.js +23 -6
- package/lib/structure/core/conformerMinimise.js.map +1 -1
- package/lib/structure/core/conformerRefine.d.ts +2 -2
- package/lib/structure/core/conformerRefine.d.ts.map +1 -1
- package/lib/structure/core/conformerRefine.js +23 -7
- package/lib/structure/core/conformerRefine.js.map +1 -1
- package/lib/structure/core/conformers.d.ts +8 -3
- package/lib/structure/core/conformers.d.ts.map +1 -1
- package/lib/structure/core/conformers.js +10 -7
- package/lib/structure/core/conformers.js.map +1 -1
- package/lib/structure/core/geometryRelaxer.d.ts +10 -3
- package/lib/structure/core/geometryRelaxer.d.ts.map +1 -1
- package/lib/structure/core/relaxerLogLines.d.ts +16 -0
- package/lib/structure/core/relaxerLogLines.d.ts.map +1 -0
- package/lib/structure/core/relaxerLogLines.js +33 -0
- package/lib/structure/core/relaxerLogLines.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/lib/xtb/core/taggedLogger.d.ts +11 -0
- package/lib/xtb/core/taggedLogger.d.ts.map +1 -0
- package/lib/xtb/core/taggedLogger.js +31 -0
- package/lib/xtb/core/taggedLogger.js.map +1 -0
- package/lib/xtb/core/xtbRelaxer.d.ts.map +1 -1
- package/lib/xtb/core/xtbRelaxer.js +13 -5
- package/lib/xtb/core/xtbRelaxer.js.map +1 -1
- package/package.json +4 -3
- package/src/core.ts +1 -0
- package/src/drawing/render/index.ts +3 -0
- package/src/drawing/render/motion.ts +25 -3
- package/src/drawing/render/primitives.ts +11 -0
- package/src/drawing/render/spinning.ts +48 -0
- package/src/drawing/render/svg.ts +8 -2
- package/src/locales/de.json +4 -0
- package/src/locales/en.json +4 -0
- package/src/locales/es.json +4 -0
- package/src/locales/fr.json +4 -0
- package/src/locales/it.json +4 -0
- package/src/log/core/index.ts +9 -0
- package/src/log/core/logGroups.ts +159 -0
- package/src/log/core/logLines.ts +44 -0
- package/src/log/ui/LogBadge.tsx +89 -0
- package/src/log/ui/LogCallouts.tsx +103 -0
- package/src/log/ui/index.ts +6 -0
- package/src/log/ui/logIcon.ts +21 -0
- package/src/log/ui/useLogEntries.ts +57 -0
- package/src/overlay/ui/OverlayBarButton.tsx +1 -0
- package/src/overlay/ui/OverlayInfo.tsx +1 -0
- package/src/structure/core/conformerMinimise.ts +34 -8
- package/src/structure/core/conformerRefine.ts +29 -13
- package/src/structure/core/conformers.ts +23 -12
- package/src/structure/core/geometryRelaxer.ts +11 -3
- package/src/structure/core/relaxerLogLines.ts +39 -0
- package/src/ui.ts +1 -0
- package/src/xtb/core/taggedLogger.ts +35 -0
- package/src/xtb/core/xtbRelaxer.ts +15 -5
- package/styles/chrome.css +34 -0
|
@@ -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" | "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">;
|
|
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,uq5BAgBzB,CAAC"}
|
package/lib/locales/de.json
CHANGED
|
@@ -246,6 +246,10 @@
|
|
|
246
246
|
"help.label": "Hilfe",
|
|
247
247
|
"help.learnMore": "Mehr erfahren",
|
|
248
248
|
"help.on": "auf",
|
|
249
|
+
"log.badge.one": "Ein Hinweis",
|
|
250
|
+
"log.badge.other": "{count} Hinweise",
|
|
251
|
+
"log.more.one": "Eine weitere Meldung wird nicht angezeigt.",
|
|
252
|
+
"log.more.other": "{count} weitere Meldungen werden nicht angezeigt.",
|
|
249
253
|
"confirm.delete": "Löschen",
|
|
250
254
|
"confirm.cancel": "Abbrechen",
|
|
251
255
|
"error.title": "Etwas ist schiefgelaufen",
|
package/lib/locales/en.json
CHANGED
|
@@ -281,6 +281,10 @@
|
|
|
281
281
|
"help.label": "Help",
|
|
282
282
|
"help.learnMore": "Learn more",
|
|
283
283
|
"help.on": "on",
|
|
284
|
+
"log.badge.one": "One note",
|
|
285
|
+
"log.badge.other": "{count} notes",
|
|
286
|
+
"log.more.one": "One more message is not shown.",
|
|
287
|
+
"log.more.other": "{count} more messages are not shown.",
|
|
284
288
|
"confirm.delete": "Delete",
|
|
285
289
|
"confirm.cancel": "Cancel",
|
|
286
290
|
"error.title": "Something went wrong",
|
package/lib/locales/es.json
CHANGED
|
@@ -246,6 +246,10 @@
|
|
|
246
246
|
"help.label": "Ayuda",
|
|
247
247
|
"help.learnMore": "Saber más",
|
|
248
248
|
"help.on": "sobre",
|
|
249
|
+
"log.badge.one": "Una nota",
|
|
250
|
+
"log.badge.other": "{count} notas",
|
|
251
|
+
"log.more.one": "Un mensaje más no se muestra.",
|
|
252
|
+
"log.more.other": "{count} mensajes más no se muestran.",
|
|
249
253
|
"confirm.delete": "Eliminar",
|
|
250
254
|
"confirm.cancel": "Cancelar",
|
|
251
255
|
"error.title": "Algo ha salido mal",
|
package/lib/locales/fr.json
CHANGED
|
@@ -246,6 +246,10 @@
|
|
|
246
246
|
"help.label": "Aide",
|
|
247
247
|
"help.learnMore": "En savoir plus",
|
|
248
248
|
"help.on": "sur",
|
|
249
|
+
"log.badge.one": "Une remarque",
|
|
250
|
+
"log.badge.other": "{count} remarques",
|
|
251
|
+
"log.more.one": "Un autre message n’est pas affiché.",
|
|
252
|
+
"log.more.other": "{count} autres messages ne sont pas affichés.",
|
|
249
253
|
"confirm.delete": "Supprimer",
|
|
250
254
|
"confirm.cancel": "Annuler",
|
|
251
255
|
"error.title": "Quelque chose s'est mal passé",
|
package/lib/locales/it.json
CHANGED
|
@@ -281,6 +281,10 @@
|
|
|
281
281
|
"help.label": "Aiuto",
|
|
282
282
|
"help.learnMore": "Scopri di più",
|
|
283
283
|
"help.on": "su",
|
|
284
|
+
"log.badge.one": "Una nota",
|
|
285
|
+
"log.badge.other": "{count} note",
|
|
286
|
+
"log.more.one": "Un altro messaggio non è mostrato.",
|
|
287
|
+
"log.more.other": "Altri {count} messaggi non sono mostrati.",
|
|
284
288
|
"confirm.delete": "Elimina",
|
|
285
289
|
"confirm.cancel": "Annulla",
|
|
286
290
|
"error.title": "Qualcosa è andato storto",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type { LogGroup, LogGroupOptions, LogIntent, LogLevelLabel, LogLine, } from './logGroups.ts';
|
|
2
|
+
export { groupLogEntries, logIntent, worstLogLevel } from './logGroups.ts';
|
|
3
|
+
export { logMessages, plainLogLines } from './logLines.ts';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/log/core/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,QAAQ,EACR,eAAe,EACf,SAAS,EACT,aAAa,EACb,OAAO,GACR,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/log/core/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/** A level a log entry carries, as fifo-logger and pino label it. */
|
|
2
|
+
export type LogLevelLabel = 'fatal' | 'error' | 'warn' | 'info' | 'debug' | 'trace';
|
|
3
|
+
/** How a message reads on the page, in Blueprint's intents. */
|
|
4
|
+
export type LogIntent = 'danger' | 'warning' | 'primary' | 'none';
|
|
5
|
+
/**
|
|
6
|
+
* One logged message, as the page reads it. A fifo-logger `LogEntry` is one;
|
|
7
|
+
* so is a plain object a site writes for a caveat that is always true, or one
|
|
8
|
+
* read back from a saved file.
|
|
9
|
+
*
|
|
10
|
+
* Two keys of `meta` are shown: a string `title` heads the message, and a
|
|
11
|
+
* string `source` — a file, a line, the third conformer — labels where it
|
|
12
|
+
* comes from, so the message itself never has to name it.
|
|
13
|
+
*/
|
|
14
|
+
export interface LogLine {
|
|
15
|
+
/** The level it was logged at; `silent` entries are never shown. */
|
|
16
|
+
levelLabel: LogLevelLabel | 'silent';
|
|
17
|
+
/** The message. */
|
|
18
|
+
message: string;
|
|
19
|
+
/**
|
|
20
|
+
* What was logged with it.
|
|
21
|
+
* @default undefined
|
|
22
|
+
*/
|
|
23
|
+
meta?: Record<string, unknown>;
|
|
24
|
+
/**
|
|
25
|
+
* The error that was logged, whose own message is shown.
|
|
26
|
+
* @default undefined
|
|
27
|
+
*/
|
|
28
|
+
error?: Error;
|
|
29
|
+
}
|
|
30
|
+
/** One message as the page shows it: every entry that said it, once. */
|
|
31
|
+
export interface LogGroup {
|
|
32
|
+
/** The same for the same level, source, title and text. */
|
|
33
|
+
key: string;
|
|
34
|
+
/** The level it was logged at. */
|
|
35
|
+
level: LogLevelLabel;
|
|
36
|
+
/**
|
|
37
|
+
* Where it comes from, from a string `source` in the meta.
|
|
38
|
+
* @default undefined
|
|
39
|
+
*/
|
|
40
|
+
source?: string;
|
|
41
|
+
/**
|
|
42
|
+
* A heading for the message, from a string `title` in the meta.
|
|
43
|
+
* @default undefined
|
|
44
|
+
*/
|
|
45
|
+
title?: string;
|
|
46
|
+
/** The message, or the logged error's own message. */
|
|
47
|
+
text: string;
|
|
48
|
+
/** How many entries said it. */
|
|
49
|
+
count: number;
|
|
50
|
+
}
|
|
51
|
+
/** Which entries {@link groupLogEntries} keeps. */
|
|
52
|
+
export interface LogGroupOptions {
|
|
53
|
+
/**
|
|
54
|
+
* The least serious level shown. Debug and trace are for a developer, so
|
|
55
|
+
* they stay out of the page unless asked for.
|
|
56
|
+
* @default 'info'
|
|
57
|
+
*/
|
|
58
|
+
minLevel?: LogLevelLabel;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* The messages a page shows for some log entries: the same message said twice
|
|
62
|
+
* once, with its count, and the most serious first. Within one level the
|
|
63
|
+
* messages keep the order they were first said in, which is the order the
|
|
64
|
+
* work happened in.
|
|
65
|
+
*
|
|
66
|
+
* Entries from several loggers can be passed together, so what a run reported
|
|
67
|
+
* and what a model always says about its results read as one list.
|
|
68
|
+
* @param lines - What one or more loggers collected.
|
|
69
|
+
* @param options - See {@link LogGroupOptions}.
|
|
70
|
+
* @returns The messages to show, worst first.
|
|
71
|
+
*/
|
|
72
|
+
export declare function groupLogEntries(lines: readonly LogLine[], options?: LogGroupOptions): LogGroup[];
|
|
73
|
+
/**
|
|
74
|
+
* The most serious level among some messages: the one a single indicator
|
|
75
|
+
* standing for all of them is drawn in.
|
|
76
|
+
* @param groups - Messages from {@link groupLogEntries}.
|
|
77
|
+
* @returns The worst level, or `null` when there is no message.
|
|
78
|
+
*/
|
|
79
|
+
export declare function worstLogLevel(groups: readonly LogGroup[]): LogLevelLabel | null;
|
|
80
|
+
/**
|
|
81
|
+
* The intent a message of this level is drawn in: an error in red, a warning
|
|
82
|
+
* in amber, context in the primary blue.
|
|
83
|
+
* @param level - The level it was logged at.
|
|
84
|
+
* @returns A Blueprint intent.
|
|
85
|
+
*/
|
|
86
|
+
export declare function logIntent(level: LogLevelLabel): LogIntent;
|
|
87
|
+
//# sourceMappingURL=logGroups.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logGroups.d.ts","sourceRoot":"","sources":["../../../src/log/core/logGroups.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,MAAM,MAAM,aAAa,GACvB,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;AAE1D,+DAA+D;AAC/D,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC;AAElE;;;;;;;;GAQG;AACH,MAAM,WAAW,OAAO;IACtB,oEAAoE;IACpE,UAAU,EAAE,aAAa,GAAG,QAAQ,CAAC;IACrC,mBAAmB;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,wEAAwE;AACxE,MAAM,WAAW,QAAQ;IACvB,2DAA2D;IAC3D,GAAG,EAAE,MAAM,CAAC;IACZ,kCAAkC;IAClC,KAAK,EAAE,aAAa,CAAC;IACrB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sDAAsD;IACtD,IAAI,EAAE,MAAM,CAAC;IACb,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,mDAAmD;AACnD,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,SAAS,OAAO,EAAE,EACzB,OAAO,GAAE,eAAoB,GAC5B,QAAQ,EAAE,CA2BZ;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,SAAS,QAAQ,EAAE,GAC1B,aAAa,GAAG,IAAI,CAQtB;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,GAAG,SAAS,CAEzD"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The messages a page shows for some log entries: the same message said twice
|
|
3
|
+
* once, with its count, and the most serious first. Within one level the
|
|
4
|
+
* messages keep the order they were first said in, which is the order the
|
|
5
|
+
* work happened in.
|
|
6
|
+
*
|
|
7
|
+
* Entries from several loggers can be passed together, so what a run reported
|
|
8
|
+
* and what a model always says about its results read as one list.
|
|
9
|
+
* @param lines - What one or more loggers collected.
|
|
10
|
+
* @param options - See {@link LogGroupOptions}.
|
|
11
|
+
* @returns The messages to show, worst first.
|
|
12
|
+
*/
|
|
13
|
+
export function groupLogEntries(lines, options = {}) {
|
|
14
|
+
const minimum = SEVERITY[options.minLevel ?? 'info'];
|
|
15
|
+
const groups = new Map();
|
|
16
|
+
for (const line of lines) {
|
|
17
|
+
const level = line.levelLabel;
|
|
18
|
+
if (level === 'silent' || SEVERITY[level] < minimum)
|
|
19
|
+
continue;
|
|
20
|
+
const source = metaString(line, 'source');
|
|
21
|
+
const title = metaString(line, 'title');
|
|
22
|
+
const text = line.error?.message ?? line.message;
|
|
23
|
+
const key = [level, source ?? '', title ?? '', text].join('\u0000');
|
|
24
|
+
const group = groups.get(key);
|
|
25
|
+
if (group === undefined) {
|
|
26
|
+
groups.set(key, {
|
|
27
|
+
key,
|
|
28
|
+
level,
|
|
29
|
+
...(source === undefined ? {} : { source }),
|
|
30
|
+
...(title === undefined ? {} : { title }),
|
|
31
|
+
text,
|
|
32
|
+
count: 1,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
group.count++;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return [...groups.values()].toSorted((first, second) => SEVERITY[second.level] - SEVERITY[first.level]);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The most serious level among some messages: the one a single indicator
|
|
43
|
+
* standing for all of them is drawn in.
|
|
44
|
+
* @param groups - Messages from {@link groupLogEntries}.
|
|
45
|
+
* @returns The worst level, or `null` when there is no message.
|
|
46
|
+
*/
|
|
47
|
+
export function worstLogLevel(groups) {
|
|
48
|
+
let worst = null;
|
|
49
|
+
for (const group of groups) {
|
|
50
|
+
if (worst === null || SEVERITY[group.level] > SEVERITY[worst]) {
|
|
51
|
+
worst = group.level;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return worst;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* The intent a message of this level is drawn in: an error in red, a warning
|
|
58
|
+
* in amber, context in the primary blue.
|
|
59
|
+
* @param level - The level it was logged at.
|
|
60
|
+
* @returns A Blueprint intent.
|
|
61
|
+
*/
|
|
62
|
+
export function logIntent(level) {
|
|
63
|
+
return INTENTS[level];
|
|
64
|
+
}
|
|
65
|
+
const SEVERITY = {
|
|
66
|
+
trace: 10,
|
|
67
|
+
debug: 20,
|
|
68
|
+
info: 30,
|
|
69
|
+
warn: 40,
|
|
70
|
+
error: 50,
|
|
71
|
+
fatal: 60,
|
|
72
|
+
};
|
|
73
|
+
const INTENTS = {
|
|
74
|
+
trace: 'none',
|
|
75
|
+
debug: 'none',
|
|
76
|
+
info: 'primary',
|
|
77
|
+
warn: 'warning',
|
|
78
|
+
error: 'danger',
|
|
79
|
+
fatal: 'danger',
|
|
80
|
+
};
|
|
81
|
+
function metaString(line, key) {
|
|
82
|
+
const value = line.meta?.[key];
|
|
83
|
+
return typeof value === 'string' && value !== '' ? value : undefined;
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=logGroups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logGroups.js","sourceRoot":"","sources":["../../../src/log/core/logGroups.ts"],"names":[],"mappings":"AAiEA;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,eAAe,CAC7B,KAAyB,EACzB,UAA2B,EAAE;IAE7B,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,QAAQ,IAAI,MAAM,CAAC,CAAC;IACrD,MAAM,MAAM,GAAG,IAAI,GAAG,EAAoB,CAAC;IAC3C,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,MAAM,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC;QAC9B,IAAI,KAAK,KAAK,QAAQ,IAAI,QAAQ,CAAC,KAAK,CAAC,GAAG,OAAO;YAAE,SAAS;QAC9D,MAAM,MAAM,GAAG,UAAU,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QAC1C,MAAM,KAAK,GAAG,UAAU,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QACxC,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,EAAE,OAAO,IAAI,IAAI,CAAC,OAAO,CAAC;QACjD,MAAM,GAAG,GAAG,CAAC,KAAK,EAAE,MAAM,IAAI,EAAE,EAAE,KAAK,IAAI,EAAE,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACpE,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAC9B,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE;gBACd,GAAG;gBACH,KAAK;gBACL,GAAG,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC;gBAC3C,GAAG,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC;gBACzC,IAAI;gBACJ,KAAK,EAAE,CAAC;aACT,CAAC,CAAC;QACL,CAAC;aAAM,CAAC;YACN,KAAK,CAAC,KAAK,EAAE,CAAC;QAChB,CAAC;IACH,CAAC;IACD,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,CAClC,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAClE,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,aAAa,CAC3B,MAA2B;IAE3B,IAAI,KAAK,GAAyB,IAAI,CAAC;IACvC,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,IAAI,KAAK,KAAK,IAAI,IAAI,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;YAC9D,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;QACtB,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,SAAS,CAAC,KAAoB;IAC5C,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC;AACxB,CAAC;AAED,MAAM,QAAQ,GAAkC;IAC9C,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,EAAE;CACV,CAAC;AAEF,MAAM,OAAO,GAAqC;IAChD,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,MAAM;IACb,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,QAAQ;CAChB,CAAC;AAEF,SAAS,UAAU,CAAC,IAAa,EAAE,GAAW;IAC5C,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC;IAC/B,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;AACvE,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { LogGroupOptions, LogLine } from './logGroups.ts';
|
|
2
|
+
/**
|
|
3
|
+
* Log entries as plain data, to keep with a result, save in a file or post
|
|
4
|
+
* across a worker: a logged error becomes its message, and nothing else of a
|
|
5
|
+
* fifo-logger entry — its id, time and logger uuids — is kept.
|
|
6
|
+
* @param lines - What a logger collected.
|
|
7
|
+
* @returns The same messages, as plain objects in the same order.
|
|
8
|
+
*/
|
|
9
|
+
export declare function plainLogLines(lines: readonly LogLine[]): LogLine[];
|
|
10
|
+
/**
|
|
11
|
+
* The messages as sentences, for an answer that carries text rather than a
|
|
12
|
+
* page: an MCP tool, a host's reply, a status line. Each message comes once,
|
|
13
|
+
* the worst first, prefixed by where it comes from and led by its title.
|
|
14
|
+
* @param lines - What one or more loggers collected.
|
|
15
|
+
* @param options - See {@link LogGroupOptions}.
|
|
16
|
+
* @returns One sentence per distinct message.
|
|
17
|
+
*/
|
|
18
|
+
export declare function logMessages(lines: readonly LogLine[], options?: LogGroupOptions): string[];
|
|
19
|
+
//# sourceMappingURL=logLines.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logLines.d.ts","sourceRoot":"","sources":["../../../src/log/core/logLines.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAG/D;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,OAAO,EAAE,GAAG,OAAO,EAAE,CAUlE;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CACzB,KAAK,EAAE,SAAS,OAAO,EAAE,EACzB,OAAO,GAAE,eAAoB,GAC5B,MAAM,EAAE,CAUV"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { groupLogEntries } from "./logGroups.js";
|
|
2
|
+
/**
|
|
3
|
+
* Log entries as plain data, to keep with a result, save in a file or post
|
|
4
|
+
* across a worker: a logged error becomes its message, and nothing else of a
|
|
5
|
+
* fifo-logger entry — its id, time and logger uuids — is kept.
|
|
6
|
+
* @param lines - What a logger collected.
|
|
7
|
+
* @returns The same messages, as plain objects in the same order.
|
|
8
|
+
*/
|
|
9
|
+
export function plainLogLines(lines) {
|
|
10
|
+
const plain = [];
|
|
11
|
+
for (const line of lines) {
|
|
12
|
+
plain.push({
|
|
13
|
+
levelLabel: line.levelLabel,
|
|
14
|
+
message: line.error?.message ?? line.message,
|
|
15
|
+
...(line.meta === undefined ? {} : { meta: line.meta }),
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
return plain;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The messages as sentences, for an answer that carries text rather than a
|
|
22
|
+
* page: an MCP tool, a host's reply, a status line. Each message comes once,
|
|
23
|
+
* the worst first, prefixed by where it comes from and led by its title.
|
|
24
|
+
* @param lines - What one or more loggers collected.
|
|
25
|
+
* @param options - See {@link LogGroupOptions}.
|
|
26
|
+
* @returns One sentence per distinct message.
|
|
27
|
+
*/
|
|
28
|
+
export function logMessages(lines, options = {}) {
|
|
29
|
+
const messages = [];
|
|
30
|
+
for (const group of groupLogEntries(lines, options)) {
|
|
31
|
+
const text = group.title === undefined ? group.text : `${group.title}. ${group.text}`;
|
|
32
|
+
messages.push(group.source === undefined ? text : `${group.source}: ${text}`);
|
|
33
|
+
}
|
|
34
|
+
return messages;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=logLines.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logLines.js","sourceRoot":"","sources":["../../../src/log/core/logLines.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEjD;;;;;;GAMG;AACH,MAAM,UAAU,aAAa,CAAC,KAAyB;IACrD,MAAM,KAAK,GAAc,EAAE,CAAC;IAC5B,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,KAAK,CAAC,IAAI,CAAC;YACT,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,OAAO,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,IAAI,IAAI,CAAC,OAAO;YAC5C,GAAG,CAAC,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;SACxD,CAAC,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,WAAW,CACzB,KAAyB,EACzB,UAA2B,EAAE;IAE7B,MAAM,QAAQ,GAAa,EAAE,CAAC;IAC9B,KAAK,MAAM,KAAK,IAAI,eAAe,CAAC,KAAK,EAAE,OAAO,CAAC,EAAE,CAAC;QACpD,MAAM,IAAI,GACR,KAAK,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,KAAK,KAAK,KAAK,CAAC,IAAI,EAAE,CAAC;QAC3E,QAAQ,CAAC,IAAI,CACX,KAAK,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,MAAM,KAAK,IAAI,EAAE,CAC/D,CAAC;IACJ,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { PopoverNextProps } from '@blueprintjs/core';
|
|
2
|
+
import type { ReactElement } from 'react';
|
|
3
|
+
import type { LogLevelLabel, LogLine } from '../core/logGroups.ts';
|
|
4
|
+
/** Props of {@link LogBadge}. */
|
|
5
|
+
export interface LogBadgeProps {
|
|
6
|
+
/** What one or more loggers collected, in the order they logged it. */
|
|
7
|
+
entries: readonly LogLine[];
|
|
8
|
+
/**
|
|
9
|
+
* The least serious level shown.
|
|
10
|
+
* @default 'info'
|
|
11
|
+
*/
|
|
12
|
+
minLevel?: LogLevelLabel;
|
|
13
|
+
/**
|
|
14
|
+
* How many messages the popover shows before the rest are counted instead.
|
|
15
|
+
* @default every message
|
|
16
|
+
*/
|
|
17
|
+
limit?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Which side the messages open on.
|
|
20
|
+
* @default 'bottom-start'
|
|
21
|
+
*/
|
|
22
|
+
placement?: PopoverNextProps['placement'];
|
|
23
|
+
/**
|
|
24
|
+
* Class names added to the button.
|
|
25
|
+
* @default undefined
|
|
26
|
+
*/
|
|
27
|
+
className?: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* One small button standing for every message a logger collected about what
|
|
31
|
+
* sits beside it, drawn in the colour of the most serious and counting them,
|
|
32
|
+
* which opens them all as callouts on hover. The messages stay one pointer
|
|
33
|
+
* away from the chart or the result they qualify instead of pushing it down
|
|
34
|
+
* the page.
|
|
35
|
+
* @param props - See {@link LogBadgeProps}.
|
|
36
|
+
* @returns The button, or nothing when there is no message to show.
|
|
37
|
+
*/
|
|
38
|
+
export declare function LogBadge(props: LogBadgeProps): ReactElement | null;
|
|
39
|
+
//# sourceMappingURL=LogBadge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogBadge.d.ts","sourceRoot":"","sources":["../../../src/log/ui/LogBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAUnE,iCAAiC;AACjC,MAAM,WAAW,aAAa;IAC5B,uEAAuE;IACvE,OAAO,EAAE,SAAS,OAAO,EAAE,CAAC;IAC5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;IAC1C;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;GAQG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,GAAG,YAAY,GAAG,IAAI,CAqClE"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Button, PopoverNext } from '@blueprintjs/core';
|
|
3
|
+
import { useChromeT } from "../../i18n/ui/useT.js";
|
|
4
|
+
import { joinClassNames } from "../../shared/ui/joinClassNames.js";
|
|
5
|
+
import { groupLogEntries, logIntent, worstLogLevel, } from "../core/logGroups.js";
|
|
6
|
+
import { LogGroupList } from "./LogCallouts.js";
|
|
7
|
+
import { logIcon } from "./logIcon.js";
|
|
8
|
+
/**
|
|
9
|
+
* One small button standing for every message a logger collected about what
|
|
10
|
+
* sits beside it, drawn in the colour of the most serious and counting them,
|
|
11
|
+
* which opens them all as callouts on hover. The messages stay one pointer
|
|
12
|
+
* away from the chart or the result they qualify instead of pushing it down
|
|
13
|
+
* the page.
|
|
14
|
+
* @param props - See {@link LogBadgeProps}.
|
|
15
|
+
* @returns The button, or nothing when there is no message to show.
|
|
16
|
+
*/
|
|
17
|
+
export function LogBadge(props) {
|
|
18
|
+
const { entries, minLevel, limit, placement = 'bottom-start', className, } = props;
|
|
19
|
+
const t = useChromeT();
|
|
20
|
+
const groups = groupLogEntries(entries, { minLevel });
|
|
21
|
+
const worst = worstLogLevel(groups);
|
|
22
|
+
if (worst === null)
|
|
23
|
+
return null;
|
|
24
|
+
return (_jsx(PopoverNext, { interactionKind: "hover", hoverOpenDelay: 150, placement: placement, popoverClassName: "log-badge__popover", content: _jsx(LogGroupList, { groups: groups, limit: limit }), children: _jsx(Button, { variant: "minimal", size: "small", intent: logIntent(worst), icon: logIcon(worst), className: joinClassNames('log-badge', 'no-print', className), "aria-label": groups.length === 1
|
|
25
|
+
? t('log.badge.one')
|
|
26
|
+
: t('log.badge.other', { count: groups.length }), children: groups.length > 1 ? groups.length : undefined }) }));
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=LogBadge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogBadge.js","sourceRoot":"","sources":["../../../src/log/ui/LogBadge.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGxD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAEnE,OAAO,EACL,eAAe,EACf,SAAS,EACT,aAAa,GACd,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAmB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AA4BvC;;;;;;;;GAQG;AACH,MAAM,UAAU,QAAQ,CAAC,KAAoB;IAC3C,MAAM,EACJ,OAAO,EACP,QAAQ,EACR,KAAK,EACL,SAAS,GAAG,cAAc,EAC1B,SAAS,GACV,GAAG,KAAK,CAAC;IACV,MAAM,CAAC,GAAG,UAAU,EAAE,CAAC;IACvB,MAAM,MAAM,GAAG,eAAe,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;IACtD,MAAM,KAAK,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;IACpC,IAAI,KAAK,KAAK,IAAI;QAAE,OAAO,IAAI,CAAC;IAEhC,OAAO,CACL,KAAC,WAAW,IACV,eAAe,EAAC,OAAO,EACvB,cAAc,EAAE,GAAG,EACnB,SAAS,EAAE,SAAS,EACpB,gBAAgB,EAAC,oBAAoB,EACrC,OAAO,EAAE,KAAC,YAAY,IAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAI,YAEvD,KAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,OAAO,EACZ,MAAM,EAAE,SAAS,CAAC,KAAK,CAAC,EACxB,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,EACpB,SAAS,EAAE,cAAc,CAAC,WAAW,EAAE,UAAU,EAAE,SAAS,CAAC,gBAE3D,MAAM,CAAC,MAAM,KAAK,CAAC;gBACjB,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC;gBACpB,CAAC,CAAC,CAAC,CAAC,iBAAiB,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,YAGnD,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,GACvC,GACG,CACf,CAAC;AACJ,CAAC"}
|