react-cheminfo 0.11.0 → 0.13.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 +37 -32
- package/bin/check-deploy.mjs +132 -0
- package/bin/check-tokens.mjs +16 -29
- package/bin/cli.mjs +43 -0
- package/lib/about/core/about.d.ts +27 -0
- package/lib/about/core/about.d.ts.map +1 -1
- package/lib/about/core/about.js +3 -0
- package/lib/about/core/about.js.map +1 -1
- package/lib/about/core/index.d.ts +3 -1
- package/lib/about/core/index.d.ts.map +1 -1
- package/lib/about/core/index.js +1 -0
- package/lib/about/core/index.js.map +1 -1
- package/lib/about/core/providers.d.ts +31 -0
- package/lib/about/core/providers.d.ts.map +1 -0
- package/lib/about/core/providers.js +28 -0
- package/lib/about/core/providers.js.map +1 -0
- package/lib/about/ui/AboutCitations.d.ts +4 -2
- package/lib/about/ui/AboutCitations.d.ts.map +1 -1
- package/lib/about/ui/AboutCitations.js +6 -20
- package/lib/about/ui/AboutCitations.js.map +1 -1
- package/lib/about/ui/AboutPage.d.ts +11 -3
- package/lib/about/ui/AboutPage.d.ts.map +1 -1
- package/lib/about/ui/AboutPage.js +15 -5
- package/lib/about/ui/AboutPage.js.map +1 -1
- package/lib/about/ui/AboutProvidedBy.d.ts +18 -0
- package/lib/about/ui/AboutProvidedBy.d.ts.map +1 -0
- package/lib/about/ui/AboutProvidedBy.js +81 -0
- package/lib/about/ui/AboutProvidedBy.js.map +1 -0
- package/lib/about/ui/index.d.ts +2 -0
- package/lib/about/ui/index.d.ts.map +1 -1
- package/lib/about/ui/index.js +1 -0
- package/lib/about/ui/index.js.map +1 -1
- package/lib/capsule/ui/CapsuleFilter.d.ts +48 -8
- package/lib/capsule/ui/CapsuleFilter.d.ts.map +1 -1
- package/lib/capsule/ui/CapsuleFilter.js +43 -12
- package/lib/capsule/ui/CapsuleFilter.js.map +1 -1
- package/lib/capsule/ui/index.d.ts +1 -1
- package/lib/capsule/ui/index.d.ts.map +1 -1
- package/lib/capsule/ui/index.js.map +1 -1
- package/lib/chart/core/chartAxisPair.d.ts +33 -0
- package/lib/chart/core/chartAxisPair.d.ts.map +1 -0
- package/lib/chart/core/chartAxisPair.js +35 -0
- package/lib/chart/core/chartAxisPair.js.map +1 -0
- package/lib/chart/core/chartAxisScale.d.ts.map +1 -1
- package/lib/chart/core/chartAxisScale.js +4 -9
- package/lib/chart/core/chartAxisScale.js.map +1 -1
- package/lib/chart/core/chartBins.d.ts.map +1 -1
- package/lib/chart/core/chartBins.js +2 -9
- package/lib/chart/core/chartBins.js.map +1 -1
- package/lib/chart/core/chartGroups.d.ts +16 -0
- package/lib/chart/core/chartGroups.d.ts.map +1 -0
- package/lib/chart/core/chartGroups.js +22 -0
- package/lib/chart/core/chartGroups.js.map +1 -0
- package/lib/chart/core/chartLabels.d.ts.map +1 -1
- package/lib/chart/core/chartLabels.js +3 -8
- package/lib/chart/core/chartLabels.js.map +1 -1
- package/lib/chart/core/chartPalette.d.ts +2 -2
- package/lib/chart/core/chartPalette.d.ts.map +1 -1
- package/lib/chart/core/chartPalette.js +4 -4
- package/lib/chart/core/chartPalette.js.map +1 -1
- package/lib/chart/core/chartScale.d.ts +12 -0
- package/lib/chart/core/chartScale.d.ts.map +1 -1
- package/lib/chart/core/chartScale.js +15 -0
- package/lib/chart/core/chartScale.js.map +1 -1
- package/lib/chart/core/matrix.d.ts +9 -0
- package/lib/chart/core/matrix.d.ts.map +1 -1
- package/lib/chart/core/matrix.js +23 -0
- package/lib/chart/core/matrix.js.map +1 -1
- package/lib/chart/ui/ChartAxis.js +3 -3
- package/lib/chart/ui/ChartAxis.js.map +1 -1
- package/lib/chart/ui/ChartFrame.d.ts +12 -0
- package/lib/chart/ui/ChartFrame.d.ts.map +1 -1
- package/lib/chart/ui/ChartFrame.js +9 -26
- package/lib/chart/ui/ChartFrame.js.map +1 -1
- package/lib/chart/ui/ChartSeriesMarks.d.ts.map +1 -1
- package/lib/chart/ui/ChartSeriesMarks.js +6 -6
- package/lib/chart/ui/ChartSeriesMarks.js.map +1 -1
- package/lib/chart/ui/ChartTrackingLayer.d.ts.map +1 -1
- package/lib/chart/ui/ChartTrackingLayer.js +2 -2
- package/lib/chart/ui/ChartTrackingLayer.js.map +1 -1
- package/lib/chart/ui/TrackedLineChart.d.ts +6 -1
- package/lib/chart/ui/TrackedLineChart.d.ts.map +1 -1
- package/lib/chart/ui/TrackedLineChart.js +2 -2
- package/lib/chart/ui/TrackedLineChart.js.map +1 -1
- package/lib/chart/ui/TrackedStickChart.d.ts +5 -1
- package/lib/chart/ui/TrackedStickChart.d.ts.map +1 -1
- package/lib/chart/ui/TrackedStickChart.js +2 -2
- package/lib/chart/ui/TrackedStickChart.js.map +1 -1
- package/lib/chart/ui/chartFrameGeometry.d.ts +19 -0
- package/lib/chart/ui/chartFrameGeometry.d.ts.map +1 -0
- package/lib/chart/ui/chartFrameGeometry.js +41 -0
- package/lib/chart/ui/chartFrameGeometry.js.map +1 -0
- package/lib/chart/ui/index.d.ts +3 -1
- package/lib/chart/ui/index.d.ts.map +1 -1
- package/lib/chart/ui/index.js +1 -0
- package/lib/chart/ui/index.js.map +1 -1
- package/lib/chart/ui/stickChartModel.d.ts +3 -12
- package/lib/chart/ui/stickChartModel.d.ts.map +1 -1
- package/lib/chart/ui/stickChartModel.js +19 -21
- package/lib/chart/ui/stickChartModel.js.map +1 -1
- package/lib/chart/ui/useWheelZoom.d.ts +2 -1
- package/lib/chart/ui/useWheelZoom.d.ts.map +1 -1
- package/lib/chart/ui/useWheelZoom.js +26 -45
- package/lib/chart/ui/useWheelZoom.js.map +1 -1
- package/lib/chart/ui/wheelDwell.d.ts +77 -0
- package/lib/chart/ui/wheelDwell.d.ts.map +1 -0
- package/lib/chart/ui/wheelDwell.js +85 -0
- package/lib/chart/ui/wheelDwell.js.map +1 -0
- package/lib/chrome/ui/NavLink.d.ts.map +1 -1
- package/lib/chrome/ui/NavLink.js +16 -4
- package/lib/chrome/ui/NavLink.js.map +1 -1
- package/lib/chrome/ui/NavMenuButton.d.ts +6 -0
- package/lib/chrome/ui/NavMenuButton.d.ts.map +1 -1
- package/lib/chrome/ui/NavMenuButton.js +10 -3
- package/lib/chrome/ui/NavMenuButton.js.map +1 -1
- package/lib/chrome/ui/SiteHeader.d.ts +10 -0
- package/lib/chrome/ui/SiteHeader.d.ts.map +1 -1
- package/lib/chrome/ui/SiteHeader.js +7 -2
- package/lib/chrome/ui/SiteHeader.js.map +1 -1
- package/lib/chrome/ui/navItem.d.ts +5 -3
- package/lib/chrome/ui/navItem.d.ts.map +1 -1
- package/lib/chrome/ui/navItem.js.map +1 -1
- package/lib/citation/core/index.d.ts +1 -0
- package/lib/citation/core/index.d.ts.map +1 -1
- package/lib/citation/core/index.js +1 -0
- package/lib/citation/core/index.js.map +1 -1
- package/lib/citation/core/openchemlibPaper.d.ts +10 -0
- package/lib/citation/core/openchemlibPaper.d.ts.map +1 -0
- package/lib/citation/core/openchemlibPaper.js +29 -0
- package/lib/citation/core/openchemlibPaper.js.map +1 -0
- package/lib/citation/core/platformPaper.d.ts +2 -2
- package/lib/citation/core/platformPaper.js +2 -2
- package/lib/clipboard/core/clipboardItem.d.ts +13 -0
- package/lib/clipboard/core/clipboardItem.d.ts.map +1 -0
- package/lib/clipboard/core/clipboardItem.js +26 -0
- package/lib/clipboard/core/clipboardItem.js.map +1 -0
- package/lib/clipboard/core/index.d.ts +3 -0
- package/lib/clipboard/core/index.d.ts.map +1 -1
- package/lib/clipboard/core/index.js +1 -0
- package/lib/clipboard/core/index.js.map +1 -1
- package/lib/clipboard/core/writeBlobToClipboard.d.ts +23 -0
- package/lib/clipboard/core/writeBlobToClipboard.d.ts.map +1 -0
- package/lib/clipboard/core/writeBlobToClipboard.js +29 -0
- package/lib/clipboard/core/writeBlobToClipboard.js.map +1 -0
- package/lib/clipboard/core/writeToClipboard.d.ts +22 -7
- package/lib/clipboard/core/writeToClipboard.d.ts.map +1 -1
- package/lib/clipboard/core/writeToClipboard.js +20 -7
- package/lib/clipboard/core/writeToClipboard.js.map +1 -1
- package/lib/clipboard/ui/CodeBlock.d.ts +1 -0
- package/lib/clipboard/ui/CodeBlock.d.ts.map +1 -1
- package/lib/clipboard/ui/CodeBlock.js +5 -11
- package/lib/clipboard/ui/CodeBlock.js.map +1 -1
- package/lib/clipboard/ui/CopyButton.d.ts +8 -1
- package/lib/clipboard/ui/CopyButton.d.ts.map +1 -1
- package/lib/clipboard/ui/CopyButton.js +31 -8
- package/lib/clipboard/ui/CopyButton.js.map +1 -1
- package/lib/clipboard/ui/CopyableValue.d.ts +51 -0
- package/lib/clipboard/ui/CopyableValue.d.ts.map +1 -0
- package/lib/clipboard/ui/CopyableValue.js +51 -0
- package/lib/clipboard/ui/CopyableValue.js.map +1 -0
- package/lib/clipboard/ui/copyFeedback.d.ts +38 -0
- package/lib/clipboard/ui/copyFeedback.d.ts.map +1 -0
- package/lib/clipboard/ui/copyFeedback.js +40 -0
- package/lib/clipboard/ui/copyFeedback.js.map +1 -0
- package/lib/clipboard/ui/index.d.ts +3 -1
- package/lib/clipboard/ui/index.d.ts.map +1 -1
- package/lib/clipboard/ui/index.js +1 -0
- package/lib/clipboard/ui/index.js.map +1 -1
- package/lib/clipboard/ui/useCopyToClipboard.d.ts +23 -7
- package/lib/clipboard/ui/useCopyToClipboard.d.ts.map +1 -1
- package/lib/clipboard/ui/useCopyToClipboard.js +33 -20
- package/lib/clipboard/ui/useCopyToClipboard.js.map +1 -1
- package/lib/color/core/hex.d.ts +10 -0
- package/lib/color/core/hex.d.ts.map +1 -1
- package/lib/color/core/hex.js +19 -3
- package/lib/color/core/hex.js.map +1 -1
- package/lib/color/core/hsv.d.ts.map +1 -1
- package/lib/color/core/hsv.js +4 -10
- package/lib/color/core/hsv.js.map +1 -1
- package/lib/color/core/index.d.ts +2 -2
- package/lib/color/core/index.d.ts.map +1 -1
- package/lib/color/core/index.js +2 -2
- package/lib/color/core/index.js.map +1 -1
- package/lib/color/core/interpolate.d.ts.map +1 -1
- package/lib/color/core/interpolate.js +2 -6
- package/lib/color/core/interpolate.js.map +1 -1
- package/lib/color/core/scale.d.ts +0 -28
- package/lib/color/core/scale.d.ts.map +1 -1
- package/lib/color/core/scale.js +3 -38
- package/lib/color/core/scale.js.map +1 -1
- package/lib/color/core/scaleText.d.ts.map +1 -1
- package/lib/color/core/scaleText.js +4 -5
- package/lib/color/core/scaleText.js.map +1 -1
- package/lib/color/ui/ColorScaleBar.d.ts +5 -0
- package/lib/color/ui/ColorScaleBar.d.ts.map +1 -1
- package/lib/color/ui/ColorScaleBar.js +2 -2
- package/lib/color/ui/ColorScaleBar.js.map +1 -1
- package/lib/color/ui/ColorScaleEditor.d.ts +5 -0
- package/lib/color/ui/ColorScaleEditor.d.ts.map +1 -1
- package/lib/color/ui/ColorScaleEditor.js +9 -13
- package/lib/color/ui/ColorScaleEditor.js.map +1 -1
- package/lib/color/ui/ColorScaleEntry.d.ts +28 -0
- package/lib/color/ui/ColorScaleEntry.d.ts.map +1 -0
- package/lib/color/ui/ColorScaleEntry.js +28 -0
- package/lib/color/ui/ColorScaleEntry.js.map +1 -0
- package/lib/color/ui/ColorScaleLegend.d.ts +14 -3
- package/lib/color/ui/ColorScaleLegend.d.ts.map +1 -1
- package/lib/color/ui/ColorScaleLegend.js +46 -16
- package/lib/color/ui/ColorScaleLegend.js.map +1 -1
- package/lib/color/ui/ColorScaleSelect.d.ts +5 -0
- package/lib/color/ui/ColorScaleSelect.d.ts.map +1 -1
- package/lib/color/ui/ColorScaleSelect.js +7 -36
- package/lib/color/ui/ColorScaleSelect.js.map +1 -1
- package/lib/confirm/ui/ConfirmButton.d.ts +34 -0
- package/lib/confirm/ui/ConfirmButton.d.ts.map +1 -0
- package/lib/confirm/ui/ConfirmButton.js +32 -0
- package/lib/confirm/ui/ConfirmButton.js.map +1 -0
- package/lib/confirm/ui/index.d.ts +3 -0
- package/lib/confirm/ui/index.d.ts.map +1 -0
- package/lib/confirm/ui/index.js +2 -0
- package/lib/confirm/ui/index.js.map +1 -0
- package/lib/core.d.ts +3 -1
- package/lib/core.d.ts.map +1 -1
- package/lib/core.js +5 -1
- package/lib/core.js.map +1 -1
- package/lib/credits/core/credits.d.ts +8 -3
- package/lib/credits/core/credits.d.ts.map +1 -1
- package/lib/credits/core/credits.js +9 -3
- package/lib/credits/core/credits.js.map +1 -1
- package/lib/credits/ui/CreditsList.d.ts.map +1 -1
- package/lib/credits/ui/CreditsList.js +4 -2
- package/lib/credits/ui/CreditsList.js.map +1 -1
- package/lib/delimited/core/index.d.ts +2 -4
- package/lib/delimited/core/index.d.ts.map +1 -1
- package/lib/delimited/core/index.js +2 -3
- package/lib/delimited/core/index.js.map +1 -1
- package/lib/delimited/ui/DelimitedTextDialog.d.ts.map +1 -1
- package/lib/delimited/ui/DelimitedTextDialog.js +2 -2
- package/lib/delimited/ui/DelimitedTextDialog.js.map +1 -1
- package/lib/delimited/ui/DelimitedTextPanel.d.ts +5 -0
- package/lib/delimited/ui/DelimitedTextPanel.d.ts.map +1 -1
- package/lib/delimited/ui/DelimitedTextPanel.js +10 -6
- package/lib/delimited/ui/DelimitedTextPanel.js.map +1 -1
- package/lib/deploy/core/checkDeploy.d.ts +20 -0
- package/lib/deploy/core/checkDeploy.d.ts.map +1 -0
- package/lib/deploy/core/checkDeploy.js +74 -0
- package/lib/deploy/core/checkDeploy.js.map +1 -0
- package/lib/deploy/core/composeDocument.d.ts +40 -0
- package/lib/deploy/core/composeDocument.d.ts.map +1 -0
- package/lib/deploy/core/composeDocument.js +125 -0
- package/lib/deploy/core/composeDocument.js.map +1 -0
- package/lib/deploy/core/composeFile.d.ts +25 -0
- package/lib/deploy/core/composeFile.d.ts.map +1 -0
- package/lib/deploy/core/composeFile.js +138 -0
- package/lib/deploy/core/composeFile.js.map +1 -0
- package/lib/deploy/core/envExample.d.ts +10 -0
- package/lib/deploy/core/envExample.d.ts.map +1 -0
- package/lib/deploy/core/envExample.js +36 -0
- package/lib/deploy/core/envExample.js.map +1 -0
- package/lib/deploy/core/index.d.ts +4 -0
- package/lib/deploy/core/index.d.ts.map +1 -0
- package/lib/deploy/core/index.js +3 -0
- package/lib/deploy/core/index.js.map +1 -0
- package/lib/deploy/core/markers.d.ts +10 -0
- package/lib/deploy/core/markers.d.ts.map +1 -0
- package/lib/deploy/core/markers.js +21 -0
- package/lib/deploy/core/markers.js.map +1 -0
- package/lib/deploy/core/types.d.ts +70 -0
- package/lib/deploy/core/types.d.ts.map +1 -0
- package/lib/deploy/core/types.js +10 -0
- package/lib/deploy/core/types.js.map +1 -0
- package/lib/disclosure/ui/CollapsibleSection.d.ts.map +1 -1
- package/lib/disclosure/ui/CollapsibleSection.js +2 -3
- package/lib/disclosure/ui/CollapsibleSection.js.map +1 -1
- package/lib/download/ui/FigureDownloadPanel.d.ts +6 -0
- package/lib/download/ui/FigureDownloadPanel.d.ts.map +1 -1
- package/lib/download/ui/FigureDownloadPanel.js +8 -4
- package/lib/download/ui/FigureDownloadPanel.js.map +1 -1
- package/lib/ecosystem/core/groups.d.ts +30 -0
- package/lib/ecosystem/core/groups.d.ts.map +1 -0
- package/lib/ecosystem/core/groups.js +42 -0
- package/lib/ecosystem/core/groups.js.map +1 -0
- package/lib/ecosystem/core/index.d.ts +7 -3
- package/lib/ecosystem/core/index.d.ts.map +1 -1
- package/lib/ecosystem/core/index.js +4 -3
- package/lib/ecosystem/core/index.js.map +1 -1
- package/lib/ecosystem/core/lookup.d.ts +21 -0
- package/lib/ecosystem/core/lookup.d.ts.map +1 -1
- package/lib/ecosystem/core/lookup.js +29 -0
- package/lib/ecosystem/core/lookup.js.map +1 -1
- package/lib/ecosystem/core/nameColors.d.ts +33 -0
- package/lib/ecosystem/core/nameColors.d.ts.map +1 -0
- package/lib/ecosystem/core/nameColors.js +23 -0
- package/lib/ecosystem/core/nameColors.js.map +1 -0
- package/lib/ecosystem/core/sites.d.ts +2 -47
- package/lib/ecosystem/core/sites.d.ts.map +1 -1
- package/lib/ecosystem/core/sites.js +34 -4
- package/lib/ecosystem/core/sites.js.map +1 -1
- package/lib/ecosystem/core/tokens.d.ts +0 -8
- package/lib/ecosystem/core/tokens.d.ts.map +1 -1
- package/lib/ecosystem/core/tokens.js +0 -10
- package/lib/ecosystem/core/tokens.js.map +1 -1
- package/lib/ecosystem/core/types.d.ts +71 -0
- package/lib/ecosystem/core/types.d.ts.map +1 -0
- package/lib/ecosystem/core/types.js +2 -0
- package/lib/ecosystem/core/types.js.map +1 -0
- package/lib/ecosystem/ui/EcosystemButton.d.ts +6 -0
- package/lib/ecosystem/ui/EcosystemButton.d.ts.map +1 -1
- package/lib/ecosystem/ui/EcosystemButton.js +3 -2
- package/lib/ecosystem/ui/EcosystemButton.js.map +1 -1
- package/lib/ecosystem/ui/EcosystemLinks.d.ts +12 -6
- package/lib/ecosystem/ui/EcosystemLinks.d.ts.map +1 -1
- package/lib/ecosystem/ui/EcosystemLinks.js +27 -21
- package/lib/ecosystem/ui/EcosystemLinks.js.map +1 -1
- package/lib/ecosystem/ui/EcosystemMenu.d.ts +15 -5
- package/lib/ecosystem/ui/EcosystemMenu.d.ts.map +1 -1
- package/lib/ecosystem/ui/EcosystemMenu.js +19 -24
- package/lib/ecosystem/ui/EcosystemMenu.js.map +1 -1
- package/lib/ecosystem/ui/SiteGroupGrid.d.ts +30 -0
- package/lib/ecosystem/ui/SiteGroupGrid.d.ts.map +1 -0
- package/lib/ecosystem/ui/SiteGroupGrid.js +23 -0
- package/lib/ecosystem/ui/SiteGroupGrid.js.map +1 -0
- package/lib/ecosystem/ui/SiteGroupSection.d.ts +20 -0
- package/lib/ecosystem/ui/SiteGroupSection.d.ts.map +1 -0
- package/lib/ecosystem/ui/SiteGroupSection.js +44 -0
- package/lib/ecosystem/ui/SiteGroupSection.js.map +1 -0
- package/lib/ecosystem/ui/SiteTheme.d.ts +1 -0
- package/lib/ecosystem/ui/SiteTheme.d.ts.map +1 -1
- package/lib/ecosystem/ui/SiteTheme.js.map +1 -1
- package/lib/ecosystem/ui/SiteTile.d.ts +6 -0
- package/lib/ecosystem/ui/SiteTile.d.ts.map +1 -1
- package/lib/ecosystem/ui/SiteTile.js +14 -8
- package/lib/ecosystem/ui/SiteTile.js.map +1 -1
- package/lib/ecosystem/ui/Wordmark.d.ts +1 -0
- package/lib/ecosystem/ui/Wordmark.d.ts.map +1 -1
- package/lib/ecosystem/ui/Wordmark.js +5 -5
- package/lib/ecosystem/ui/Wordmark.js.map +1 -1
- package/lib/ecosystem/ui/ecosystemStyles.d.ts +4 -0
- package/lib/ecosystem/ui/ecosystemStyles.d.ts.map +1 -0
- package/lib/ecosystem/ui/ecosystemStyles.js +9 -0
- package/lib/ecosystem/ui/ecosystemStyles.js.map +1 -0
- package/lib/ecosystem/ui/glyphs.d.ts.map +1 -1
- package/lib/ecosystem/ui/glyphs.js +7 -3
- package/lib/ecosystem/ui/glyphs.js.map +1 -1
- package/lib/ecosystem/ui/marks.d.ts +6 -0
- package/lib/ecosystem/ui/marks.d.ts.map +1 -1
- package/lib/ecosystem/ui/marks.js +2 -2
- package/lib/ecosystem/ui/marks.js.map +1 -1
- package/lib/error/core/index.d.ts +2 -0
- package/lib/error/core/index.d.ts.map +1 -0
- package/lib/error/core/index.js +2 -0
- package/lib/error/core/index.js.map +1 -0
- package/lib/error/core/toError.d.ts +18 -0
- package/lib/error/core/toError.d.ts.map +1 -0
- package/lib/error/{ui → core}/toError.js +12 -3
- package/lib/error/core/toError.js.map +1 -0
- package/lib/error/ui/ErrorBoundary.d.ts.map +1 -1
- package/lib/error/ui/ErrorBoundary.js +1 -1
- package/lib/error/ui/ErrorBoundary.js.map +1 -1
- package/lib/error/ui/index.d.ts +1 -1
- package/lib/error/ui/index.d.ts.map +1 -1
- package/lib/error/ui/index.js.map +1 -1
- package/lib/format/core/clamp.d.ts +15 -0
- package/lib/format/core/clamp.d.ts.map +1 -0
- package/lib/format/core/clamp.js +23 -0
- package/lib/format/core/clamp.js.map +1 -0
- package/lib/format/core/index.d.ts +8 -1
- package/lib/format/core/index.d.ts.map +1 -1
- package/lib/format/core/index.js +5 -1
- package/lib/format/core/index.js.map +1 -1
- package/lib/format/core/numbers.d.ts +25 -8
- package/lib/format/core/numbers.d.ts.map +1 -1
- package/lib/format/core/numbers.js +35 -13
- package/lib/format/core/numbers.js.map +1 -1
- package/lib/format/core/relativeTime.d.ts +29 -0
- package/lib/format/core/relativeTime.d.ts.map +1 -0
- package/lib/format/core/relativeTime.js +52 -0
- package/lib/format/core/relativeTime.js.map +1 -0
- package/lib/format/core/roundTo.d.ts +12 -0
- package/lib/format/core/roundTo.d.ts.map +1 -0
- package/lib/format/core/roundTo.js +25 -0
- package/lib/format/core/roundTo.js.map +1 -0
- package/lib/format/core/superscript.d.ts +12 -0
- package/lib/format/core/superscript.d.ts.map +1 -0
- package/lib/format/core/superscript.js +23 -0
- package/lib/format/core/superscript.js.map +1 -0
- package/lib/format/core/units.d.ts +22 -2
- package/lib/format/core/units.d.ts.map +1 -1
- package/lib/format/core/units.js +25 -6
- package/lib/format/core/units.js.map +1 -1
- package/lib/help/ui/HelpBody.d.ts +18 -7
- package/lib/help/ui/HelpBody.d.ts.map +1 -1
- package/lib/help/ui/HelpBody.js +24 -2
- package/lib/help/ui/HelpBody.js.map +1 -1
- package/lib/help/ui/HelpIcon.d.ts +16 -2
- package/lib/help/ui/HelpIcon.d.ts.map +1 -1
- package/lib/help/ui/HelpIcon.js +4 -2
- package/lib/help/ui/HelpIcon.js.map +1 -1
- package/lib/help/ui/HelpToolbarButton.d.ts.map +1 -1
- package/lib/help/ui/HelpToolbarButton.js +2 -1
- package/lib/help/ui/HelpToolbarButton.js.map +1 -1
- package/lib/help/ui/HelpTooltip.d.ts +5 -0
- package/lib/help/ui/HelpTooltip.d.ts.map +1 -1
- package/lib/help/ui/HelpTooltip.js +2 -2
- package/lib/help/ui/HelpTooltip.js.map +1 -1
- package/lib/help/ui/helpName.d.ts +9 -0
- package/lib/help/ui/helpName.d.ts.map +1 -0
- package/lib/help/ui/helpName.js +10 -0
- package/lib/help/ui/helpName.js.map +1 -0
- package/lib/hooks/ui/activationKey.d.ts +34 -0
- package/lib/hooks/ui/activationKey.d.ts.map +1 -0
- package/lib/hooks/ui/activationKey.js +39 -0
- package/lib/hooks/ui/activationKey.js.map +1 -0
- package/lib/hooks/ui/activeHeading.d.ts +21 -0
- package/lib/hooks/ui/activeHeading.d.ts.map +1 -0
- package/lib/hooks/ui/activeHeading.js +24 -0
- package/lib/hooks/ui/activeHeading.js.map +1 -0
- package/lib/hooks/ui/asyncState.d.ts +31 -0
- package/lib/hooks/ui/asyncState.d.ts.map +1 -0
- package/lib/hooks/ui/asyncState.js +28 -0
- package/lib/hooks/ui/asyncState.js.map +1 -0
- package/lib/hooks/ui/documentListNavigation.d.ts +54 -0
- package/lib/hooks/ui/documentListNavigation.d.ts.map +1 -0
- package/lib/hooks/ui/documentListNavigation.js +41 -0
- package/lib/hooks/ui/documentListNavigation.js.map +1 -0
- package/lib/hooks/ui/elementTarget.d.ts +14 -0
- package/lib/hooks/ui/elementTarget.d.ts.map +1 -0
- package/lib/hooks/ui/elementTarget.js +11 -0
- package/lib/hooks/ui/elementTarget.js.map +1 -0
- package/lib/hooks/ui/index.d.ts +15 -0
- package/lib/hooks/ui/index.d.ts.map +1 -1
- package/lib/hooks/ui/index.js +6 -0
- package/lib/hooks/ui/index.js.map +1 -1
- package/lib/hooks/ui/keyTargets.d.ts +17 -0
- package/lib/hooks/ui/keyTargets.d.ts.map +1 -0
- package/lib/hooks/ui/keyTargets.js +59 -0
- package/lib/hooks/ui/keyTargets.js.map +1 -0
- package/lib/hooks/ui/listNavigation.d.ts +2 -3
- package/lib/hooks/ui/listNavigation.d.ts.map +1 -1
- package/lib/hooks/ui/listNavigation.js +8 -13
- package/lib/hooks/ui/listNavigation.js.map +1 -1
- package/lib/hooks/ui/pollingController.d.ts +63 -0
- package/lib/hooks/ui/pollingController.d.ts.map +1 -0
- package/lib/hooks/ui/pollingController.js +86 -0
- package/lib/hooks/ui/pollingController.js.map +1 -0
- package/lib/hooks/ui/useActiveHeading.d.ts +29 -0
- package/lib/hooks/ui/useActiveHeading.d.ts.map +1 -0
- package/lib/hooks/ui/useActiveHeading.js +50 -0
- package/lib/hooks/ui/useActiveHeading.js.map +1 -0
- package/lib/hooks/ui/useAsync.d.ts +19 -0
- package/lib/hooks/ui/useAsync.d.ts.map +1 -0
- package/lib/hooks/ui/useAsync.js +36 -0
- package/lib/hooks/ui/useAsync.js.map +1 -0
- package/lib/hooks/ui/useDocumentListNavigation.d.ts +28 -0
- package/lib/hooks/ui/useDocumentListNavigation.d.ts.map +1 -0
- package/lib/hooks/ui/useDocumentListNavigation.js +53 -0
- package/lib/hooks/ui/useDocumentListNavigation.js.map +1 -0
- package/lib/hooks/ui/usePolling.d.ts +30 -0
- package/lib/hooks/ui/usePolling.d.ts.map +1 -0
- package/lib/hooks/ui/usePolling.js +52 -0
- package/lib/hooks/ui/usePolling.js.map +1 -0
- package/lib/hooks/ui/useResizeObserver.d.ts +5 -3
- package/lib/hooks/ui/useResizeObserver.d.ts.map +1 -1
- package/lib/hooks/ui/useResizeObserver.js +7 -4
- package/lib/hooks/ui/useResizeObserver.js.map +1 -1
- package/lib/molecule3d/core/exportImage.d.ts +29 -0
- package/lib/molecule3d/core/exportImage.d.ts.map +1 -0
- package/lib/molecule3d/core/exportImage.js +42 -0
- package/lib/molecule3d/core/exportImage.js.map +1 -0
- package/lib/molecule3d/core/gestures.d.ts +17 -0
- package/lib/molecule3d/core/gestures.d.ts.map +1 -0
- package/lib/molecule3d/core/gestures.js +23 -0
- package/lib/molecule3d/core/gestures.js.map +1 -0
- package/lib/molecule3d/core/index.d.ts +9 -0
- package/lib/molecule3d/core/index.d.ts.map +1 -0
- package/lib/molecule3d/core/index.js +5 -0
- package/lib/molecule3d/core/index.js.map +1 -0
- package/lib/molecule3d/core/measurement.d.ts +30 -0
- package/lib/molecule3d/core/measurement.d.ts.map +1 -0
- package/lib/molecule3d/core/measurement.js +24 -0
- package/lib/molecule3d/core/measurement.js.map +1 -0
- package/lib/molecule3d/core/settings.d.ts +120 -0
- package/lib/molecule3d/core/settings.d.ts.map +1 -0
- package/lib/molecule3d/core/settings.js +133 -0
- package/lib/molecule3d/core/settings.js.map +1 -0
- package/lib/molecule3d/ui/Molecule3DExport.d.ts +21 -0
- package/lib/molecule3d/ui/Molecule3DExport.d.ts.map +1 -0
- package/lib/molecule3d/ui/Molecule3DExport.js +32 -0
- package/lib/molecule3d/ui/Molecule3DExport.js.map +1 -0
- package/lib/molecule3d/ui/Molecule3DHelp.d.ts +11 -0
- package/lib/molecule3d/ui/Molecule3DHelp.d.ts.map +1 -0
- package/lib/molecule3d/ui/Molecule3DHelp.js +43 -0
- package/lib/molecule3d/ui/Molecule3DHelp.js.map +1 -0
- package/lib/molecule3d/ui/Molecule3DOptions.d.ts +21 -0
- package/lib/molecule3d/ui/Molecule3DOptions.d.ts.map +1 -0
- package/lib/molecule3d/ui/Molecule3DOptions.js +65 -0
- package/lib/molecule3d/ui/Molecule3DOptions.js.map +1 -0
- package/lib/molecule3d/ui/Molecule3DSurfaceColors.d.ts +21 -0
- package/lib/molecule3d/ui/Molecule3DSurfaceColors.d.ts.map +1 -0
- package/lib/molecule3d/ui/Molecule3DSurfaceColors.js +69 -0
- package/lib/molecule3d/ui/Molecule3DSurfaceColors.js.map +1 -0
- package/lib/molecule3d/ui/Molecule3DToolbar.d.ts +33 -0
- package/lib/molecule3d/ui/Molecule3DToolbar.d.ts.map +1 -0
- package/lib/molecule3d/ui/Molecule3DToolbar.js +57 -0
- package/lib/molecule3d/ui/Molecule3DToolbar.js.map +1 -0
- package/lib/molecule3d/ui/MoleculeCanvas3D.d.ts +20 -0
- package/lib/molecule3d/ui/MoleculeCanvas3D.d.ts.map +1 -0
- package/lib/molecule3d/ui/MoleculeCanvas3D.js +132 -0
- package/lib/molecule3d/ui/MoleculeCanvas3D.js.map +1 -0
- package/lib/molecule3d/ui/MoleculeViewer3D.d.ts +26 -0
- package/lib/molecule3d/ui/MoleculeViewer3D.d.ts.map +1 -0
- package/lib/molecule3d/ui/MoleculeViewer3D.js +56 -0
- package/lib/molecule3d/ui/MoleculeViewer3D.js.map +1 -0
- package/lib/molecule3d/ui/camera.d.ts +29 -0
- package/lib/molecule3d/ui/camera.d.ts.map +1 -0
- package/lib/molecule3d/ui/camera.js +58 -0
- package/lib/molecule3d/ui/camera.js.map +1 -0
- package/lib/molecule3d/ui/drawScene.d.ts +15 -0
- package/lib/molecule3d/ui/drawScene.d.ts.map +1 -0
- package/lib/molecule3d/ui/drawScene.js +34 -0
- package/lib/molecule3d/ui/drawScene.js.map +1 -0
- package/lib/molecule3d/ui/exportMoleculeImage.d.ts +21 -0
- package/lib/molecule3d/ui/exportMoleculeImage.d.ts.map +1 -0
- package/lib/molecule3d/ui/exportMoleculeImage.js +26 -0
- package/lib/molecule3d/ui/exportMoleculeImage.js.map +1 -0
- package/lib/molecule3d/ui/index.d.ts +11 -0
- package/lib/molecule3d/ui/index.d.ts.map +1 -0
- package/lib/molecule3d/ui/index.js +10 -0
- package/lib/molecule3d/ui/index.js.map +1 -0
- package/lib/molecule3d/ui/measurements.d.ts +46 -0
- package/lib/molecule3d/ui/measurements.d.ts.map +1 -0
- package/lib/molecule3d/ui/measurements.js +148 -0
- package/lib/molecule3d/ui/measurements.js.map +1 -0
- package/lib/molecule3d/ui/molecule3dIcons.d.ts +29 -0
- package/lib/molecule3d/ui/molecule3dIcons.d.ts.map +1 -0
- package/lib/molecule3d/ui/molecule3dIcons.js +47 -0
- package/lib/molecule3d/ui/molecule3dIcons.js.map +1 -0
- package/lib/molecule3d/ui/moleculeViewer3DProps.d.ts +93 -0
- package/lib/molecule3d/ui/moleculeViewer3DProps.d.ts.map +1 -0
- package/lib/molecule3d/ui/moleculeViewer3DProps.js +2 -0
- package/lib/molecule3d/ui/moleculeViewer3DProps.js.map +1 -0
- package/lib/molecule3d/ui/polarityColorTheme.d.ts +20 -0
- package/lib/molecule3d/ui/polarityColorTheme.d.ts.map +1 -0
- package/lib/molecule3d/ui/polarityColorTheme.js +105 -0
- package/lib/molecule3d/ui/polarityColorTheme.js.map +1 -0
- package/lib/molecule3d/ui/renderMolecule.d.ts +38 -0
- package/lib/molecule3d/ui/renderMolecule.d.ts.map +1 -0
- package/lib/molecule3d/ui/renderMolecule.js +135 -0
- package/lib/molecule3d/ui/renderMolecule.js.map +1 -0
- package/lib/molecule3d/ui/renderSurface.d.ts +22 -0
- package/lib/molecule3d/ui/renderSurface.d.ts.map +1 -0
- package/lib/molecule3d/ui/renderSurface.js +69 -0
- package/lib/molecule3d/ui/renderSurface.js.map +1 -0
- package/lib/molecule3d/ui/useControlledState.d.ts +11 -0
- package/lib/molecule3d/ui/useControlledState.d.ts.map +1 -0
- package/lib/molecule3d/ui/useControlledState.js +25 -0
- package/lib/molecule3d/ui/useControlledState.js.map +1 -0
- package/lib/molecule3d/ui/useImageExport.d.ts +20 -0
- package/lib/molecule3d/ui/useImageExport.d.ts.map +1 -0
- package/lib/molecule3d/ui/useImageExport.js +29 -0
- package/lib/molecule3d/ui/useImageExport.js.map +1 -0
- package/lib/molecule3d/ui/usePolarSurfaceArea.d.ts +11 -0
- package/lib/molecule3d/ui/usePolarSurfaceArea.d.ts.map +1 -0
- package/lib/molecule3d/ui/usePolarSurfaceArea.js +37 -0
- package/lib/molecule3d/ui/usePolarSurfaceArea.js.map +1 -0
- package/lib/molecule3d/ui/viewer.d.ts +99 -0
- package/lib/molecule3d/ui/viewer.d.ts.map +1 -0
- package/lib/molecule3d/ui/viewer.js +203 -0
- package/lib/molecule3d/ui/viewer.js.map +1 -0
- package/lib/molecule3d/ui/viewerTypes.d.ts +57 -0
- package/lib/molecule3d/ui/viewerTypes.d.ts.map +1 -0
- package/lib/molecule3d/ui/viewerTypes.js +6 -0
- package/lib/molecule3d/ui/viewerTypes.js.map +1 -0
- package/lib/molecule3d.d.ts +11 -0
- package/lib/molecule3d.d.ts.map +1 -0
- package/lib/molecule3d.js +11 -0
- package/lib/molecule3d.js.map +1 -0
- package/lib/orbital/core/atomicGrid.d.ts +3 -2
- package/lib/orbital/core/atomicGrid.d.ts.map +1 -1
- package/lib/orbital/core/atomicGrid.js +3 -2
- package/lib/orbital/core/atomicGrid.js.map +1 -1
- package/lib/orbital/core/atomicOrbitals.d.ts +1 -8
- package/lib/orbital/core/atomicOrbitals.d.ts.map +1 -1
- package/lib/orbital/core/atomicOrbitals.js +1 -1
- package/lib/orbital/core/atomicOrbitals.js.map +1 -1
- package/lib/orbital/core/constants.d.ts +3 -0
- package/lib/orbital/core/constants.d.ts.map +1 -1
- package/lib/orbital/core/electronConfiguration.d.ts +4 -12
- package/lib/orbital/core/electronConfiguration.d.ts.map +1 -1
- package/lib/orbital/core/electronConfiguration.js +26 -38
- package/lib/orbital/core/electronConfiguration.js.map +1 -1
- package/lib/orbital/core/grid.d.ts +3 -0
- package/lib/orbital/core/grid.d.ts.map +1 -1
- package/lib/orbital/core/grid.js.map +1 -1
- package/lib/orbital/core/index.d.ts +2 -0
- package/lib/orbital/core/index.d.ts.map +1 -1
- package/lib/orbital/core/index.js +1 -0
- package/lib/orbital/core/index.js.map +1 -1
- package/lib/orbital/core/isovalue.d.ts +3 -2
- package/lib/orbital/core/isovalue.d.ts.map +1 -1
- package/lib/orbital/core/isovalue.js +3 -2
- package/lib/orbital/core/isovalue.js.map +1 -1
- package/lib/orbital/core/occupancy.d.ts.map +1 -1
- package/lib/orbital/core/occupancy.js +2 -3
- package/lib/orbital/core/occupancy.js.map +1 -1
- package/lib/orbital/core/palette.d.ts +8 -4
- package/lib/orbital/core/palette.d.ts.map +1 -1
- package/lib/orbital/core/palette.js +3 -3
- package/lib/orbital/core/palette.js.map +1 -1
- package/lib/orbital/core/radialDistribution.d.ts +51 -0
- package/lib/orbital/core/radialDistribution.d.ts.map +1 -0
- package/lib/orbital/core/radialDistribution.js +47 -0
- package/lib/orbital/core/radialDistribution.js.map +1 -0
- package/lib/orbital/core/realHarmonics.d.ts +3 -3
- package/lib/orbital/core/realHarmonics.js +3 -3
- package/lib/orbital/ui/AtomicOrbitalCanvas.d.ts +5 -3
- package/lib/orbital/ui/AtomicOrbitalCanvas.d.ts.map +1 -1
- package/lib/orbital/ui/AtomicOrbitalCanvas.js +27 -85
- package/lib/orbital/ui/AtomicOrbitalCanvas.js.map +1 -1
- package/lib/orbital/ui/AtomicOrbitalControls.d.ts +23 -0
- package/lib/orbital/ui/AtomicOrbitalControls.d.ts.map +1 -0
- package/lib/orbital/ui/AtomicOrbitalControls.js +40 -0
- package/lib/orbital/ui/AtomicOrbitalControls.js.map +1 -0
- package/lib/orbital/ui/AtomicOrbitalViewer.d.ts +6 -0
- package/lib/orbital/ui/AtomicOrbitalViewer.d.ts.map +1 -1
- package/lib/orbital/ui/AtomicOrbitalViewer.js +23 -14
- package/lib/orbital/ui/AtomicOrbitalViewer.js.map +1 -1
- package/lib/orbital/ui/RadialPlot.d.ts +79 -0
- package/lib/orbital/ui/RadialPlot.d.ts.map +1 -0
- package/lib/orbital/ui/RadialPlot.js +59 -0
- package/lib/orbital/ui/RadialPlot.js.map +1 -0
- package/lib/orbital/ui/RadialPlotMarks.d.ts +31 -0
- package/lib/orbital/ui/RadialPlotMarks.d.ts.map +1 -0
- package/lib/orbital/ui/RadialPlotMarks.js +22 -0
- package/lib/orbital/ui/RadialPlotMarks.js.map +1 -0
- package/lib/orbital/ui/camera.d.ts +0 -6
- package/lib/orbital/ui/camera.d.ts.map +1 -1
- package/lib/orbital/ui/camera.js +1 -1
- package/lib/orbital/ui/camera.js.map +1 -1
- package/lib/orbital/ui/index.d.ts +3 -1
- package/lib/orbital/ui/index.d.ts.map +1 -1
- package/lib/orbital/ui/index.js +1 -0
- package/lib/orbital/ui/index.js.map +1 -1
- package/lib/orbital/ui/orbitalCanvasHelpers.d.ts +24 -0
- package/lib/orbital/ui/orbitalCanvasHelpers.d.ts.map +1 -0
- package/lib/orbital/ui/orbitalCanvasHelpers.js +34 -0
- package/lib/orbital/ui/orbitalCanvasHelpers.js.map +1 -0
- package/lib/orbital/ui/orbitalPluginSpec.d.ts +20 -0
- package/lib/orbital/ui/orbitalPluginSpec.d.ts.map +1 -0
- package/lib/orbital/ui/orbitalPluginSpec.js +34 -0
- package/lib/orbital/ui/orbitalPluginSpec.js.map +1 -0
- package/lib/orbital/ui/radialPlotGeometry.d.ts +41 -0
- package/lib/orbital/ui/radialPlotGeometry.d.ts.map +1 -0
- package/lib/orbital/ui/radialPlotGeometry.js +80 -0
- package/lib/orbital/ui/radialPlotGeometry.js.map +1 -0
- package/lib/orbital/ui/renderAxes.d.ts +2 -2
- package/lib/orbital/ui/renderAxes.d.ts.map +1 -1
- package/lib/orbital/ui/renderAxes.js +11 -11
- package/lib/orbital/ui/renderAxes.js.map +1 -1
- package/lib/orbital/ui/renderVolume.d.ts +2 -2
- package/lib/orbital/ui/renderVolume.d.ts.map +1 -1
- package/lib/orbital/ui/renderVolume.js +9 -9
- package/lib/orbital/ui/renderVolume.js.map +1 -1
- package/lib/orbital/ui/serial.d.ts +2 -1
- package/lib/orbital/ui/serial.d.ts.map +1 -1
- package/lib/orbital/ui/viewer.d.ts +4 -11
- package/lib/orbital/ui/viewer.d.ts.map +1 -1
- package/lib/orbital/ui/viewer.js +5 -27
- package/lib/orbital/ui/viewer.js.map +1 -1
- package/lib/orbital.d.ts +5 -4
- package/lib/orbital.d.ts.map +1 -1
- package/lib/orbital.js +5 -4
- package/lib/orbital.js.map +1 -1
- package/lib/overlay/core/index.d.ts +2 -1
- package/lib/overlay/core/index.d.ts.map +1 -1
- package/lib/overlay/core/index.js +1 -1
- package/lib/overlay/core/index.js.map +1 -1
- package/lib/overlay/core/overlayCollapse.d.ts +25 -0
- package/lib/overlay/core/overlayCollapse.d.ts.map +1 -1
- package/lib/overlay/core/overlayCollapse.js +17 -0
- package/lib/overlay/core/overlayCollapse.js.map +1 -1
- package/lib/overlay/core/placeOverlayCard.d.ts.map +1 -1
- package/lib/overlay/core/placeOverlayCard.js +2 -4
- package/lib/overlay/core/placeOverlayCard.js.map +1 -1
- package/lib/overlay/ui/OverlayBar.d.ts +3 -6
- package/lib/overlay/ui/OverlayBar.d.ts.map +1 -1
- package/lib/overlay/ui/OverlayBar.js +2 -3
- package/lib/overlay/ui/OverlayBar.js.map +1 -1
- package/lib/overlay/ui/OverlayBarButton.d.ts +2 -1
- package/lib/overlay/ui/OverlayBarButton.d.ts.map +1 -1
- package/lib/overlay/ui/OverlayBarButton.js.map +1 -1
- package/lib/overlay/ui/OverlayBarCard.d.ts +2 -1
- package/lib/overlay/ui/OverlayBarCard.d.ts.map +1 -1
- package/lib/overlay/ui/OverlayChip.d.ts.map +1 -1
- package/lib/overlay/ui/OverlayChip.js +3 -3
- package/lib/overlay/ui/OverlayChip.js.map +1 -1
- package/lib/overlay/ui/OverlayIconButton.d.ts +2 -1
- package/lib/overlay/ui/OverlayIconButton.d.ts.map +1 -1
- package/lib/overlay/ui/OverlayIconButton.js +5 -4
- package/lib/overlay/ui/OverlayIconButton.js.map +1 -1
- package/lib/overlay/ui/OverlayLayer.d.ts.map +1 -1
- package/lib/overlay/ui/OverlayLayer.js +2 -1
- package/lib/overlay/ui/OverlayLayer.js.map +1 -1
- package/lib/overlay/ui/OverlayLegend.d.ts.map +1 -1
- package/lib/overlay/ui/OverlayLegend.js +2 -1
- package/lib/overlay/ui/OverlayLegend.js.map +1 -1
- package/lib/overlay/ui/OverlayNumber.d.ts.map +1 -1
- package/lib/overlay/ui/OverlayNumber.js +9 -11
- package/lib/overlay/ui/OverlayNumber.js.map +1 -1
- package/lib/overlay/ui/OverlayPanel.d.ts.map +1 -1
- package/lib/overlay/ui/OverlayPanel.js +4 -3
- package/lib/overlay/ui/OverlayPanel.js.map +1 -1
- package/lib/overlay/ui/OverlayRow.d.ts +2 -2
- package/lib/overlay/ui/OverlayRow.d.ts.map +1 -1
- package/lib/overlay/ui/OverlayRow.js +2 -2
- package/lib/overlay/ui/OverlayRow.js.map +1 -1
- package/lib/overlay/ui/OverlayToggle.d.ts.map +1 -1
- package/lib/overlay/ui/OverlayToggle.js.map +1 -1
- package/lib/overlay/ui/OverlayValueButton.d.ts +2 -3
- package/lib/overlay/ui/OverlayValueButton.d.ts.map +1 -1
- package/lib/overlay/ui/OverlayValueButton.js +5 -7
- package/lib/overlay/ui/OverlayValueButton.js.map +1 -1
- package/lib/overlay/ui/overlayBarShape.d.ts +1 -34
- package/lib/overlay/ui/overlayBarShape.d.ts.map +1 -1
- package/lib/overlay/ui/overlayBarShape.js +2 -40
- package/lib/overlay/ui/overlayBarShape.js.map +1 -1
- package/lib/overlay/ui/overlayControlStyles.d.ts +9 -2
- package/lib/overlay/ui/overlayControlStyles.d.ts.map +1 -1
- package/lib/overlay/ui/overlayControlStyles.js +4 -1
- package/lib/overlay/ui/overlayControlStyles.js.map +1 -1
- package/lib/overlay/ui/overlayPanelContext.d.ts.map +1 -1
- package/lib/overlay/ui/overlayPanelContext.js.map +1 -1
- package/lib/overlay/ui/overlayPanelStyles.d.ts +11 -4
- package/lib/overlay/ui/overlayPanelStyles.d.ts.map +1 -1
- package/lib/overlay/ui/overlayPanelStyles.js +9 -3
- package/lib/overlay/ui/overlayPanelStyles.js.map +1 -1
- package/lib/overlay/ui/overlayPillStyles.d.ts +2 -1
- package/lib/overlay/ui/overlayPillStyles.d.ts.map +1 -1
- package/lib/overlay/ui/overlayRowStyles.d.ts +2 -10
- package/lib/overlay/ui/overlayRowStyles.d.ts.map +1 -1
- package/lib/overlay/ui/overlayRowStyles.js +1 -1
- package/lib/overlay/ui/overlayRowStyles.js.map +1 -1
- package/lib/overlay/ui/overlaySurface.d.ts.map +1 -1
- package/lib/overlay/ui/overlaySurface.js.map +1 -1
- package/lib/overlay/ui/overlaySwitchStyles.d.ts +2 -1
- package/lib/overlay/ui/overlaySwitchStyles.d.ts.map +1 -1
- package/lib/overlay/ui/overlayValueStyles.d.ts +19 -7
- package/lib/overlay/ui/overlayValueStyles.d.ts.map +1 -1
- package/lib/overlay/ui/overlayValueStyles.js +45 -52
- package/lib/overlay/ui/overlayValueStyles.js.map +1 -1
- package/lib/overlay/ui/useOverlayInteraction.d.ts +31 -0
- package/lib/overlay/ui/useOverlayInteraction.d.ts.map +1 -0
- package/lib/overlay/ui/useOverlayInteraction.js +21 -0
- package/lib/overlay/ui/useOverlayInteraction.js.map +1 -0
- package/lib/pedagogy/core/bucketProgressStore.d.ts +51 -0
- package/lib/pedagogy/core/bucketProgressStore.d.ts.map +1 -0
- package/lib/pedagogy/core/bucketProgressStore.js +42 -0
- package/lib/pedagogy/core/bucketProgressStore.js.map +1 -0
- package/lib/pedagogy/core/glossary.d.ts +31 -9
- package/lib/pedagogy/core/glossary.d.ts.map +1 -1
- package/lib/pedagogy/core/glossary.js +12 -4
- package/lib/pedagogy/core/glossary.js.map +1 -1
- package/lib/pedagogy/core/glossarySearch.d.ts +23 -0
- package/lib/pedagogy/core/glossarySearch.d.ts.map +1 -0
- package/lib/pedagogy/core/glossarySearch.js +52 -0
- package/lib/pedagogy/core/glossarySearch.js.map +1 -0
- package/lib/pedagogy/core/index.d.ts +8 -2
- package/lib/pedagogy/core/index.d.ts.map +1 -1
- package/lib/pedagogy/core/index.js +5 -2
- package/lib/pedagogy/core/index.js.map +1 -1
- package/lib/pedagogy/core/inlineMarks.d.ts +57 -0
- package/lib/pedagogy/core/inlineMarks.d.ts.map +1 -0
- package/lib/pedagogy/core/inlineMarks.js +78 -0
- package/lib/pedagogy/core/inlineMarks.js.map +1 -0
- package/lib/pedagogy/core/progress.d.ts +18 -18
- package/lib/pedagogy/core/progress.d.ts.map +1 -1
- package/lib/pedagogy/core/progress.js +25 -51
- package/lib/pedagogy/core/progress.js.map +1 -1
- package/lib/pedagogy/core/types.d.ts +4 -0
- package/lib/pedagogy/core/types.d.ts.map +1 -1
- package/lib/pedagogy/core/validation.d.ts +3 -0
- package/lib/pedagogy/core/validation.d.ts.map +1 -1
- package/lib/pedagogy/core/validation.js.map +1 -1
- package/lib/pedagogy/ui/ExerciseActions.d.ts +1 -0
- package/lib/pedagogy/ui/ExerciseActions.d.ts.map +1 -1
- package/lib/pedagogy/ui/ExerciseActions.js.map +1 -1
- package/lib/pedagogy/ui/ExerciseProgressHeader.d.ts +1 -0
- package/lib/pedagogy/ui/ExerciseProgressHeader.d.ts.map +1 -1
- package/lib/pedagogy/ui/ExerciseProgressHeader.js +2 -1
- package/lib/pedagogy/ui/ExerciseProgressHeader.js.map +1 -1
- package/lib/pedagogy/ui/ExerciseTags.d.ts +14 -0
- package/lib/pedagogy/ui/ExerciseTags.d.ts.map +1 -1
- package/lib/pedagogy/ui/ExerciseTags.js +4 -4
- package/lib/pedagogy/ui/ExerciseTags.js.map +1 -1
- package/lib/pedagogy/ui/GlossaryDefinition.d.ts +39 -0
- package/lib/pedagogy/ui/GlossaryDefinition.d.ts.map +1 -0
- package/lib/pedagogy/ui/GlossaryDefinition.js +59 -0
- package/lib/pedagogy/ui/GlossaryDefinition.js.map +1 -0
- package/lib/pedagogy/ui/GlossaryIndex.d.ts +59 -0
- package/lib/pedagogy/ui/GlossaryIndex.d.ts.map +1 -0
- package/lib/pedagogy/ui/GlossaryIndex.js +63 -0
- package/lib/pedagogy/ui/GlossaryIndex.js.map +1 -0
- package/lib/pedagogy/ui/GlossaryProvider.d.ts +22 -6
- package/lib/pedagogy/ui/GlossaryProvider.d.ts.map +1 -1
- package/lib/pedagogy/ui/GlossaryProvider.js +12 -4
- package/lib/pedagogy/ui/GlossaryProvider.js.map +1 -1
- package/lib/pedagogy/ui/GlossaryText.d.ts +22 -21
- package/lib/pedagogy/ui/GlossaryText.d.ts.map +1 -1
- package/lib/pedagogy/ui/GlossaryText.js +21 -61
- package/lib/pedagogy/ui/GlossaryText.js.map +1 -1
- package/lib/pedagogy/ui/HintLadder.d.ts +6 -0
- package/lib/pedagogy/ui/HintLadder.d.ts.map +1 -1
- package/lib/pedagogy/ui/HintLadder.js +4 -5
- package/lib/pedagogy/ui/HintLadder.js.map +1 -1
- package/lib/pedagogy/ui/InlineText.d.ts +28 -0
- package/lib/pedagogy/ui/InlineText.d.ts.map +1 -0
- package/lib/pedagogy/ui/InlineText.js +19 -0
- package/lib/pedagogy/ui/InlineText.js.map +1 -0
- package/lib/pedagogy/ui/ReferenceGrid.d.ts +1 -0
- package/lib/pedagogy/ui/ReferenceGrid.d.ts.map +1 -1
- package/lib/pedagogy/ui/ReferenceGrid.js +2 -3
- package/lib/pedagogy/ui/ReferenceGrid.js.map +1 -1
- package/lib/pedagogy/ui/ReferenceSectionBlock.d.ts +4 -0
- package/lib/pedagogy/ui/ReferenceSectionBlock.d.ts.map +1 -1
- package/lib/pedagogy/ui/ReferenceSectionBlock.js +10 -15
- package/lib/pedagogy/ui/ReferenceSectionBlock.js.map +1 -1
- package/lib/pedagogy/ui/SyntaxTooltip.d.ts +15 -16
- package/lib/pedagogy/ui/SyntaxTooltip.d.ts.map +1 -1
- package/lib/pedagogy/ui/SyntaxTooltip.js +16 -12
- package/lib/pedagogy/ui/SyntaxTooltip.js.map +1 -1
- package/lib/pedagogy/ui/TestCaseList.d.ts +1 -0
- package/lib/pedagogy/ui/TestCaseList.d.ts.map +1 -1
- package/lib/pedagogy/ui/TestCaseList.js +4 -3
- package/lib/pedagogy/ui/TestCaseList.js.map +1 -1
- package/lib/pedagogy/ui/TutorialStepStrip.d.ts +3 -0
- package/lib/pedagogy/ui/TutorialStepStrip.d.ts.map +1 -1
- package/lib/pedagogy/ui/TutorialStepStrip.js +11 -10
- package/lib/pedagogy/ui/TutorialStepStrip.js.map +1 -1
- package/lib/pedagogy/ui/exampleText.d.ts +12 -0
- package/lib/pedagogy/ui/exampleText.d.ts.map +1 -0
- package/lib/pedagogy/ui/exampleText.js +17 -0
- package/lib/pedagogy/ui/exampleText.js.map +1 -0
- package/lib/pedagogy/ui/glossaryContext.d.ts +23 -6
- package/lib/pedagogy/ui/glossaryContext.d.ts.map +1 -1
- package/lib/pedagogy/ui/glossaryContext.js +8 -5
- package/lib/pedagogy/ui/glossaryContext.js.map +1 -1
- package/lib/pedagogy/ui/index.d.ts +9 -1
- package/lib/pedagogy/ui/index.d.ts.map +1 -1
- package/lib/pedagogy/ui/index.js +4 -1
- package/lib/pedagogy/ui/index.js.map +1 -1
- package/lib/pedagogy/ui/inlineSegments.d.ts +27 -0
- package/lib/pedagogy/ui/inlineSegments.d.ts.map +1 -0
- package/lib/pedagogy/ui/inlineSegments.js +42 -0
- package/lib/pedagogy/ui/inlineSegments.js.map +1 -0
- package/lib/pedagogy/ui/pedagogyStyle.d.ts +31 -0
- package/lib/pedagogy/ui/pedagogyStyle.d.ts.map +1 -0
- package/lib/pedagogy/ui/pedagogyStyle.js +33 -0
- package/lib/pedagogy/ui/pedagogyStyle.js.map +1 -0
- package/lib/periodic/core/categories.d.ts +1 -1
- package/lib/periodic/core/categories.d.ts.map +1 -1
- package/lib/periodic/core/elements.d.ts +2 -0
- package/lib/periodic/core/elements.d.ts.map +1 -1
- package/lib/periodic/core/elements.js.map +1 -1
- package/lib/periodic/core/layout.d.ts +4 -0
- package/lib/periodic/core/layout.d.ts.map +1 -1
- package/lib/periodic/core/layout.js +9 -9
- package/lib/periodic/core/layout.js.map +1 -1
- package/lib/periodic/ui/CategoryLegend.d.ts +5 -0
- package/lib/periodic/ui/CategoryLegend.d.ts.map +1 -1
- package/lib/periodic/ui/CategoryLegend.js +4 -3
- package/lib/periodic/ui/CategoryLegend.js.map +1 -1
- package/lib/periodic/ui/ElementCell.d.ts +7 -1
- 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 +8 -2
- package/lib/periodic/ui/PeriodicTable.d.ts.map +1 -1
- package/lib/periodic/ui/PeriodicTable.js +2 -2
- package/lib/periodic/ui/PeriodicTable.js.map +1 -1
- package/lib/periodic/ui/PeriodicTableChrome.d.ts +3 -2
- package/lib/periodic/ui/PeriodicTableChrome.d.ts.map +1 -1
- package/lib/periodic/ui/PeriodicTableChrome.js +4 -3
- package/lib/periodic/ui/PeriodicTableChrome.js.map +1 -1
- package/lib/projection/core/explainedShares.d.ts +1 -1
- package/lib/projection/core/explainedShares.d.ts.map +1 -1
- package/lib/projection/core/fillCopy.d.ts +12 -0
- package/lib/projection/core/fillCopy.d.ts.map +1 -0
- package/lib/projection/core/fillCopy.js +18 -0
- package/lib/projection/core/fillCopy.js.map +1 -0
- package/lib/projection/core/index.d.ts +7 -3
- package/lib/projection/core/index.d.ts.map +1 -1
- package/lib/projection/core/index.js +5 -2
- package/lib/projection/core/index.js.map +1 -1
- package/lib/projection/core/loadingProfiles.d.ts +7 -1
- package/lib/projection/core/loadingProfiles.d.ts.map +1 -1
- package/lib/projection/core/loadingProfiles.js +3 -4
- package/lib/projection/core/loadingProfiles.js.map +1 -1
- package/lib/projection/core/mergeProjectionCopy.d.ts +10 -0
- package/lib/projection/core/mergeProjectionCopy.d.ts.map +1 -0
- package/lib/projection/core/mergeProjectionCopy.js +30 -0
- package/lib/projection/core/mergeProjectionCopy.js.map +1 -0
- package/lib/projection/core/pcaColumns.d.ts +23 -0
- package/lib/projection/core/pcaColumns.d.ts.map +1 -0
- package/lib/projection/core/pcaColumns.js +73 -0
- package/lib/projection/core/pcaColumns.js.map +1 -0
- package/lib/projection/core/pcaLike.d.ts +29 -4
- package/lib/projection/core/pcaLike.d.ts.map +1 -1
- package/lib/projection/core/pcaResult.d.ts +8 -5
- package/lib/projection/core/pcaResult.d.ts.map +1 -1
- package/lib/projection/core/pcaResult.js +10 -35
- package/lib/projection/core/pcaResult.js.map +1 -1
- package/lib/projection/core/projectionCopy.d.ts +26 -20
- package/lib/projection/core/projectionCopy.d.ts.map +1 -1
- package/lib/projection/core/projectionCopy.js +12 -45
- package/lib/projection/core/projectionCopy.js.map +1 -1
- package/lib/projection/core/projectionOptions.d.ts +0 -15
- package/lib/projection/core/projectionOptions.d.ts.map +1 -1
- package/lib/projection/core/projectionOptions.js +0 -88
- package/lib/projection/core/projectionOptions.js.map +1 -1
- package/lib/projection/core/projectionPanelWords.d.ts +91 -0
- package/lib/projection/core/projectionPanelWords.d.ts.map +1 -0
- package/lib/projection/core/projectionPanelWords.js +56 -0
- package/lib/projection/core/projectionPanelWords.js.map +1 -0
- package/lib/projection/core/projectionResult.d.ts +1 -1
- package/lib/projection/core/projectionResult.d.ts.map +1 -1
- package/lib/projection/core/projectionStrings.d.ts +0 -30
- package/lib/projection/core/projectionStrings.d.ts.map +1 -1
- package/lib/projection/core/projectionStrings.js +0 -50
- package/lib/projection/core/projectionStrings.js.map +1 -1
- package/lib/projection/core/resolveProjectionOptions.d.ts +17 -0
- package/lib/projection/core/resolveProjectionOptions.d.ts.map +1 -0
- package/lib/projection/core/resolveProjectionOptions.js +79 -0
- package/lib/projection/core/resolveProjectionOptions.js.map +1 -0
- package/lib/projection/core/variableAxis.d.ts.map +1 -1
- package/lib/projection/core/variableAxis.js +4 -17
- package/lib/projection/core/variableAxis.js.map +1 -1
- package/lib/projection/ui/ProjectionBar.d.ts +2 -1
- package/lib/projection/ui/ProjectionBar.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionBar.js +2 -2
- package/lib/projection/ui/ProjectionMapCaption.d.ts +2 -1
- package/lib/projection/ui/ProjectionMapCaption.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionMapControls.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionMapControls.js +6 -24
- package/lib/projection/ui/ProjectionMapControls.js.map +1 -1
- package/lib/projection/ui/ProjectionMapLegend.d.ts +2 -1
- package/lib/projection/ui/ProjectionMapLegend.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionMapMore.d.ts +2 -1
- package/lib/projection/ui/ProjectionMapMore.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionMapMore.js +4 -37
- package/lib/projection/ui/ProjectionMapMore.js.map +1 -1
- package/lib/projection/ui/ProjectionMapTab.d.ts +3 -2
- package/lib/projection/ui/ProjectionMapTab.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionPairsControls.d.ts +2 -1
- package/lib/projection/ui/ProjectionPairsControls.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionPairsMore.d.ts +2 -1
- package/lib/projection/ui/ProjectionPairsMore.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionPairsMore.js +2 -3
- package/lib/projection/ui/ProjectionPairsMore.js.map +1 -1
- package/lib/projection/ui/ProjectionPairsTab.d.ts +2 -1
- package/lib/projection/ui/ProjectionPairsTab.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionPairsTab.js +2 -1
- package/lib/projection/ui/ProjectionPairsTab.js.map +1 -1
- package/lib/projection/ui/ProjectionPanel.d.ts +3 -2
- package/lib/projection/ui/ProjectionPanel.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionPanel.js.map +1 -1
- package/lib/projection/ui/ProjectionReadout.d.ts +2 -1
- package/lib/projection/ui/ProjectionReadout.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionSharesAxis.d.ts +25 -0
- package/lib/projection/ui/ProjectionSharesAxis.d.ts.map +1 -0
- package/lib/projection/ui/ProjectionSharesAxis.js +20 -0
- package/lib/projection/ui/ProjectionSharesAxis.js.map +1 -0
- package/lib/projection/ui/ProjectionSharesMarks.d.ts +5 -22
- package/lib/projection/ui/ProjectionSharesMarks.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionSharesMarks.js +27 -29
- package/lib/projection/ui/ProjectionSharesMarks.js.map +1 -1
- package/lib/projection/ui/ProjectionSharesMore.d.ts +2 -1
- package/lib/projection/ui/ProjectionSharesMore.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionSharesMore.js +2 -3
- package/lib/projection/ui/ProjectionSharesMore.js.map +1 -1
- package/lib/projection/ui/ProjectionSharesTab.d.ts +2 -1
- package/lib/projection/ui/ProjectionSharesTab.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionSharesTab.js +3 -2
- package/lib/projection/ui/ProjectionSharesTab.js.map +1 -1
- package/lib/projection/ui/ProjectionSpaceControls.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionSpaceControls.js +8 -25
- package/lib/projection/ui/ProjectionSpaceControls.js.map +1 -1
- package/lib/projection/ui/ProjectionSpaceMore.d.ts +2 -1
- package/lib/projection/ui/ProjectionSpaceMore.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionSpaceMore.js +4 -31
- package/lib/projection/ui/ProjectionSpaceMore.js.map +1 -1
- package/lib/projection/ui/ProjectionSpaceTab.d.ts +3 -2
- package/lib/projection/ui/ProjectionSpaceTab.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionSurface.d.ts +2 -1
- package/lib/projection/ui/ProjectionSurface.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionTabStrip.d.ts +2 -1
- package/lib/projection/ui/ProjectionTabStrip.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionTabStrip.js +15 -5
- package/lib/projection/ui/ProjectionTabStrip.js.map +1 -1
- package/lib/projection/ui/ProjectionVariablesControls.d.ts +2 -1
- package/lib/projection/ui/ProjectionVariablesControls.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionVariablesMore.d.ts +2 -1
- package/lib/projection/ui/ProjectionVariablesMore.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionVariablesMore.js +4 -15
- package/lib/projection/ui/ProjectionVariablesMore.js.map +1 -1
- package/lib/projection/ui/ProjectionVariablesTab.d.ts +3 -3
- package/lib/projection/ui/ProjectionVariablesTab.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionVariablesTab.js +1 -1
- package/lib/projection/ui/ProjectionVariablesTab.js.map +1 -1
- package/lib/projection/ui/ProjectionViewer.d.ts +2 -6
- package/lib/projection/ui/ProjectionViewer.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionViewer.js +6 -6
- package/lib/projection/ui/ProjectionViewer.js.map +1 -1
- package/lib/projection/ui/projectionAxisChoices.d.ts +12 -0
- package/lib/projection/ui/projectionAxisChoices.d.ts.map +1 -0
- package/lib/projection/ui/projectionAxisChoices.js +26 -0
- package/lib/projection/ui/projectionAxisChoices.js.map +1 -0
- package/lib/projection/ui/projectionBarReadings.d.ts +10 -1
- package/lib/projection/ui/projectionBarReadings.d.ts.map +1 -1
- package/lib/projection/ui/projectionBarReadings.js +25 -8
- package/lib/projection/ui/projectionBarReadings.js.map +1 -1
- package/lib/projection/ui/projectionBarSlots.d.ts +3 -2
- package/lib/projection/ui/projectionBarSlots.d.ts.map +1 -1
- package/lib/projection/ui/projectionBarStyles.d.ts +2 -2
- package/lib/projection/ui/projectionBarStyles.js +2 -2
- package/lib/projection/ui/projectionEllipse.d.ts +21 -7
- package/lib/projection/ui/projectionEllipse.d.ts.map +1 -1
- package/lib/projection/ui/projectionEllipse.js +45 -18
- package/lib/projection/ui/projectionEllipse.js.map +1 -1
- package/lib/projection/ui/projectionFormat.d.ts.map +1 -1
- package/lib/projection/ui/projectionFormat.js +2 -1
- package/lib/projection/ui/projectionFormat.js.map +1 -1
- package/lib/projection/ui/projectionMapChoices.d.ts +4 -2
- package/lib/projection/ui/projectionMapChoices.d.ts.map +1 -1
- package/lib/projection/ui/projectionMapChoices.js +5 -4
- package/lib/projection/ui/projectionMapChoices.js.map +1 -1
- package/lib/projection/ui/projectionMapChrome.d.ts +2 -1
- package/lib/projection/ui/projectionMapChrome.d.ts.map +1 -1
- package/lib/projection/ui/projectionMapChrome.js +17 -19
- package/lib/projection/ui/projectionMapChrome.js.map +1 -1
- package/lib/projection/ui/projectionMapModel.d.ts +2 -1
- package/lib/projection/ui/projectionMapModel.d.ts.map +1 -1
- package/lib/projection/ui/projectionMapModel.js.map +1 -1
- package/lib/projection/ui/projectionMapView.d.ts +2 -1
- package/lib/projection/ui/projectionMapView.d.ts.map +1 -1
- package/lib/projection/ui/projectionPairsCeiling.d.ts +2 -1
- package/lib/projection/ui/projectionPairsCeiling.d.ts.map +1 -1
- package/lib/projection/ui/projectionTabInfo.d.ts +5 -17
- package/lib/projection/ui/projectionTabInfo.d.ts.map +1 -1
- package/lib/projection/ui/projectionTabInfo.js +7 -8
- package/lib/projection/ui/projectionTabInfo.js.map +1 -1
- package/lib/projection/ui/projectionTabModels.d.ts +5 -1
- package/lib/projection/ui/projectionTabModels.d.ts.map +1 -1
- package/lib/projection/ui/projectionTabModels.js +4 -2
- package/lib/projection/ui/projectionTabModels.js.map +1 -1
- package/lib/projection/ui/projectionVariablesModel.d.ts +3 -3
- package/lib/projection/ui/projectionVariablesModel.d.ts.map +1 -1
- package/lib/projection/ui/projectionVariablesModel.js +3 -2
- package/lib/projection/ui/projectionVariablesModel.js.map +1 -1
- package/lib/projection/ui/projectionVariablesWords.d.ts.map +1 -1
- package/lib/projection/ui/projectionVariablesWords.js +1 -1
- package/lib/projection/ui/projectionVariablesWords.js.map +1 -1
- package/lib/projection/ui/projectionViewChoices.d.ts.map +1 -1
- package/lib/projection/ui/projectionViewChoices.js +4 -7
- package/lib/projection/ui/projectionViewChoices.js.map +1 -1
- package/lib/projection/ui/projectionViewerProps.d.ts +1 -1
- package/lib/projection/ui/projectionViewerProps.d.ts.map +1 -1
- package/lib/projection/ui/projectionWordChoices.d.ts +31 -0
- package/lib/projection/ui/projectionWordChoices.d.ts.map +1 -0
- package/lib/projection/ui/projectionWordChoices.js +48 -0
- package/lib/projection/ui/projectionWordChoices.js.map +1 -0
- package/lib/projection/ui/useProjectionState.d.ts +2 -1
- package/lib/projection/ui/useProjectionState.d.ts.map +1 -1
- package/lib/projection/ui/useProjectionState.js +1 -1
- package/lib/projection/ui/useProjectionState.js.map +1 -1
- package/lib/router/core/address.d.ts +15 -6
- package/lib/router/core/address.d.ts.map +1 -1
- package/lib/router/core/address.js +20 -7
- package/lib/router/core/address.js.map +1 -1
- package/lib/router/core/basePath.d.ts.map +1 -1
- package/lib/router/core/basePath.js +3 -3
- package/lib/router/core/basePath.js.map +1 -1
- package/lib/router/core/history.d.ts +69 -0
- package/lib/router/core/history.d.ts.map +1 -0
- package/lib/router/core/history.js +122 -0
- package/lib/router/core/history.js.map +1 -0
- package/lib/router/core/index.d.ts +7 -2
- package/lib/router/core/index.d.ts.map +1 -1
- package/lib/router/core/index.js +4 -1
- package/lib/router/core/index.js.map +1 -1
- package/lib/router/core/query.d.ts +36 -6
- package/lib/router/core/query.d.ts.map +1 -1
- package/lib/router/core/query.js +67 -19
- package/lib/router/core/query.js.map +1 -1
- package/lib/router/core/siteAddresses.d.ts +49 -0
- package/lib/router/core/siteAddresses.d.ts.map +1 -0
- package/lib/router/core/siteAddresses.js +47 -0
- package/lib/router/core/siteAddresses.js.map +1 -0
- package/lib/router/core/tabRouter.d.ts +9 -0
- package/lib/router/core/tabRouter.d.ts.map +1 -1
- package/lib/router/core/tabRouter.js +15 -6
- package/lib/router/core/tabRouter.js.map +1 -1
- package/lib/router/ui/index.d.ts +2 -0
- package/lib/router/ui/index.d.ts.map +1 -0
- package/lib/router/ui/index.js +2 -0
- package/lib/router/ui/index.js.map +1 -0
- package/lib/router/ui/useTabRoute.d.ts +12 -0
- package/lib/router/ui/useTabRoute.d.ts.map +1 -0
- package/lib/router/ui/useTabRoute.js +20 -0
- package/lib/router/ui/useTabRoute.js.map +1 -0
- package/lib/scatter/core/confidenceEllipse.d.ts +26 -19
- package/lib/scatter/core/confidenceEllipse.d.ts.map +1 -1
- package/lib/scatter/core/confidenceEllipse.js +63 -85
- package/lib/scatter/core/confidenceEllipse.js.map +1 -1
- package/lib/scatter/core/ellipseAxes.d.ts +40 -0
- package/lib/scatter/core/ellipseAxes.d.ts.map +1 -0
- package/lib/scatter/core/ellipseAxes.js +57 -0
- package/lib/scatter/core/ellipseAxes.js.map +1 -0
- package/lib/scatter/core/ellipseProjection.js +1 -1
- package/lib/scatter/core/ellipseProjection.js.map +1 -1
- package/lib/scatter/core/index.d.ts +7 -2
- package/lib/scatter/core/index.d.ts.map +1 -1
- package/lib/scatter/core/index.js +3 -1
- package/lib/scatter/core/index.js.map +1 -1
- package/lib/scatter/core/lassoPath.d.ts.map +1 -1
- package/lib/scatter/core/lassoPath.js +2 -3
- package/lib/scatter/core/lassoPath.js.map +1 -1
- package/lib/scatter/core/scatterGroupMoments.d.ts +42 -0
- package/lib/scatter/core/scatterGroupMoments.d.ts.map +1 -0
- package/lib/scatter/core/scatterGroupMoments.js +101 -0
- package/lib/scatter/core/scatterGroupMoments.js.map +1 -0
- package/lib/scatter/{ui → core}/scatterGroupSpread.d.ts +17 -15
- package/lib/scatter/core/scatterGroupSpread.d.ts.map +1 -0
- package/lib/scatter/core/scatterGroupSpread.js +79 -0
- package/lib/scatter/core/scatterGroupSpread.js.map +1 -0
- package/lib/scatter/core/screenPoints.d.ts +13 -0
- package/lib/scatter/core/screenPoints.d.ts.map +1 -1
- package/lib/scatter/core/screenPoints.js +34 -1
- package/lib/scatter/core/screenPoints.js.map +1 -1
- package/lib/scatter/ui/ScatterEllipseLayer.d.ts +3 -9
- package/lib/scatter/ui/ScatterEllipseLayer.d.ts.map +1 -1
- package/lib/scatter/ui/ScatterEllipseLayer.js +17 -49
- package/lib/scatter/ui/ScatterEllipseLayer.js.map +1 -1
- package/lib/scatter/ui/ScatterLabelLayer.d.ts.map +1 -1
- package/lib/scatter/ui/ScatterLabelLayer.js +3 -7
- package/lib/scatter/ui/ScatterLabelLayer.js.map +1 -1
- package/lib/scatter/ui/ScatterMarkLayer.d.ts +0 -1
- package/lib/scatter/ui/ScatterMarkLayer.d.ts.map +1 -1
- package/lib/scatter/ui/ScatterMarkLayer.js +5 -28
- package/lib/scatter/ui/ScatterMarkLayer.js.map +1 -1
- package/lib/scatter/ui/ScatterMatrix.d.ts +0 -1
- package/lib/scatter/ui/ScatterMatrix.d.ts.map +1 -1
- package/lib/scatter/ui/ScatterMatrix.js +5 -10
- package/lib/scatter/ui/ScatterMatrix.js.map +1 -1
- package/lib/scatter/ui/ScatterMatrixCell.js +1 -1
- package/lib/scatter/ui/ScatterMatrixCell.js.map +1 -1
- package/lib/scatter/ui/ScatterMatrixDiagonal.d.ts +1 -1
- package/lib/scatter/ui/ScatterMatrixDiagonal.d.ts.map +1 -1
- package/lib/scatter/ui/ScatterMatrixDiagonal.js +2 -1
- package/lib/scatter/ui/ScatterMatrixDiagonal.js.map +1 -1
- package/lib/scatter/ui/ScatterOverlayLayers.d.ts +22 -0
- package/lib/scatter/ui/ScatterOverlayLayers.d.ts.map +1 -0
- package/lib/scatter/ui/ScatterOverlayLayers.js +16 -0
- package/lib/scatter/ui/ScatterOverlayLayers.js.map +1 -0
- package/lib/scatter/ui/ScatterPlot.d.ts +0 -1
- package/lib/scatter/ui/ScatterPlot.d.ts.map +1 -1
- package/lib/scatter/ui/ScatterPlot.js +29 -53
- package/lib/scatter/ui/ScatterPlot.js.map +1 -1
- package/lib/scatter/ui/ScatterPointLayer.d.ts +12 -0
- package/lib/scatter/ui/ScatterPointLayer.d.ts.map +1 -1
- package/lib/scatter/ui/ScatterPointLayer.js +13 -13
- package/lib/scatter/ui/ScatterPointLayer.js.map +1 -1
- package/lib/scatter/ui/index.d.ts +7 -6
- package/lib/scatter/ui/index.d.ts.map +1 -1
- package/lib/scatter/ui/index.js +0 -1
- package/lib/scatter/ui/index.js.map +1 -1
- package/lib/scatter/ui/scatterFigureProps.d.ts +185 -0
- package/lib/scatter/ui/scatterFigureProps.d.ts.map +1 -0
- package/lib/scatter/ui/scatterFigureProps.js +10 -0
- package/lib/scatter/ui/scatterFigureProps.js.map +1 -0
- package/lib/scatter/ui/scatterInteractionTypes.d.ts +117 -0
- package/lib/scatter/ui/scatterInteractionTypes.d.ts.map +1 -0
- package/lib/scatter/ui/scatterInteractionTypes.js +6 -0
- package/lib/scatter/ui/scatterInteractionTypes.js.map +1 -0
- package/lib/scatter/ui/scatterLabels.d.ts.map +1 -1
- package/lib/scatter/ui/scatterLabels.js +4 -17
- package/lib/scatter/ui/scatterLabels.js.map +1 -1
- package/lib/scatter/ui/scatterMarkGlyph.d.ts.map +1 -1
- package/lib/scatter/ui/scatterMarkGlyph.js +6 -6
- package/lib/scatter/ui/scatterMarkGlyph.js.map +1 -1
- package/lib/scatter/ui/scatterMatrixDots.d.ts.map +1 -1
- package/lib/scatter/ui/scatterMatrixDots.js +21 -16
- package/lib/scatter/ui/scatterMatrixDots.js.map +1 -1
- package/lib/scatter/ui/scatterMatrixLayout.d.ts +1 -1
- package/lib/scatter/ui/scatterMatrixLayout.js +1 -1
- package/lib/scatter/ui/scatterMatrixOutlines.d.ts.map +1 -1
- package/lib/scatter/ui/scatterMatrixOutlines.js +1 -1
- package/lib/scatter/ui/scatterMatrixOutlines.js.map +1 -1
- package/lib/scatter/ui/scatterMatrixProps.d.ts +7 -2
- package/lib/scatter/ui/scatterMatrixProps.d.ts.map +1 -1
- package/lib/scatter/ui/scatterOutlineShape.d.ts.map +1 -1
- package/lib/scatter/ui/scatterOutlineShape.js +5 -5
- package/lib/scatter/ui/scatterOutlineShape.js.map +1 -1
- package/lib/scatter/ui/scatterPlotModel.d.ts +25 -8
- package/lib/scatter/ui/scatterPlotModel.d.ts.map +1 -1
- package/lib/scatter/ui/scatterPlotModel.js +36 -23
- package/lib/scatter/ui/scatterPlotModel.js.map +1 -1
- package/lib/scatter/ui/scatterPlotProps.d.ts +9 -174
- package/lib/scatter/ui/scatterPlotProps.d.ts.map +1 -1
- package/lib/scatter/ui/scatterPlotProps.js +4 -4
- package/lib/scatter/ui/useCapturedPointer.d.ts +60 -0
- package/lib/scatter/ui/useCapturedPointer.d.ts.map +1 -0
- package/lib/scatter/ui/useCapturedPointer.js +87 -0
- package/lib/scatter/ui/useCapturedPointer.js.map +1 -0
- package/lib/scatter/ui/useLassoGesture.d.ts +4 -9
- package/lib/scatter/ui/useLassoGesture.d.ts.map +1 -1
- package/lib/scatter/ui/useLassoGesture.js +39 -83
- package/lib/scatter/ui/useLassoGesture.js.map +1 -1
- package/lib/scatter/ui/useScatterFrame.d.ts.map +1 -1
- package/lib/scatter/ui/useScatterFrame.js +2 -16
- package/lib/scatter/ui/useScatterFrame.js.map +1 -1
- package/lib/scatter/ui/useScatterInteraction.d.ts +1 -94
- package/lib/scatter/ui/useScatterInteraction.d.ts.map +1 -1
- package/lib/scatter/ui/useScatterInteraction.js +26 -4
- package/lib/scatter/ui/useScatterInteraction.js.map +1 -1
- package/lib/scatter/ui/useScatterLabels.d.ts +45 -0
- package/lib/scatter/ui/useScatterLabels.d.ts.map +1 -0
- package/lib/scatter/ui/useScatterLabels.js +32 -0
- package/lib/scatter/ui/useScatterLabels.js.map +1 -0
- package/lib/scatter3d/core/confidenceEllipsoid.d.ts +4 -5
- package/lib/scatter3d/core/confidenceEllipsoid.d.ts.map +1 -1
- package/lib/scatter3d/core/confidenceEllipsoid.js +33 -68
- package/lib/scatter3d/core/confidenceEllipsoid.js.map +1 -1
- package/lib/scatter3d/core/ellipsoidSilhouette.d.ts +4 -5
- package/lib/scatter3d/core/ellipsoidSilhouette.d.ts.map +1 -1
- package/lib/scatter3d/core/ellipsoidSilhouette.js +8 -14
- package/lib/scatter3d/core/ellipsoidSilhouette.js.map +1 -1
- package/lib/scatter3d/core/index.d.ts +4 -4
- package/lib/scatter3d/core/index.js +4 -4
- package/lib/scatter3d/ui/CloudFrameLayer.js +3 -1
- package/lib/scatter3d/ui/CloudFrameLayer.js.map +1 -1
- package/lib/scatter3d/ui/CloudShellLayer.d.ts +5 -6
- package/lib/scatter3d/ui/CloudShellLayer.d.ts.map +1 -1
- package/lib/scatter3d/ui/CloudShellLayer.js +5 -6
- package/lib/scatter3d/ui/CloudShellLayer.js.map +1 -1
- package/lib/scatter3d/ui/ScatterCloud.d.ts +6 -7
- package/lib/scatter3d/ui/ScatterCloud.d.ts.map +1 -1
- package/lib/scatter3d/ui/ScatterCloud.js +38 -76
- package/lib/scatter3d/ui/ScatterCloud.js.map +1 -1
- package/lib/scatter3d/ui/cloudGeometry.d.ts +16 -5
- package/lib/scatter3d/ui/cloudGeometry.d.ts.map +1 -1
- package/lib/scatter3d/ui/cloudGeometry.js +38 -20
- package/lib/scatter3d/ui/cloudGeometry.js.map +1 -1
- package/lib/scatter3d/ui/cloudShellStyles.d.ts +3 -5
- package/lib/scatter3d/ui/cloudShellStyles.d.ts.map +1 -1
- package/lib/scatter3d/ui/cloudShellStyles.js +9 -10
- package/lib/scatter3d/ui/cloudShellStyles.js.map +1 -1
- package/lib/scatter3d/ui/cloudZoom.d.ts.map +1 -1
- package/lib/scatter3d/ui/cloudZoom.js +2 -3
- package/lib/scatter3d/ui/cloudZoom.js.map +1 -1
- package/lib/scatter3d/ui/index.d.ts +1 -3
- package/lib/scatter3d/ui/index.d.ts.map +1 -1
- package/lib/scatter3d/ui/index.js +0 -1
- package/lib/scatter3d/ui/index.js.map +1 -1
- package/lib/scatter3d/ui/orbitDragTrack.d.ts +83 -0
- package/lib/scatter3d/ui/orbitDragTrack.d.ts.map +1 -0
- package/lib/scatter3d/ui/orbitDragTrack.js +91 -0
- package/lib/scatter3d/ui/orbitDragTrack.js.map +1 -0
- package/lib/scatter3d/ui/scatterCloudModel.d.ts +3 -3
- package/lib/scatter3d/ui/scatterCloudModel.d.ts.map +1 -1
- package/lib/scatter3d/ui/scatterCloudModel.js +5 -4
- package/lib/scatter3d/ui/scatterCloudModel.js.map +1 -1
- package/lib/scatter3d/ui/scatterCloudProps.d.ts +7 -106
- package/lib/scatter3d/ui/scatterCloudProps.d.ts.map +1 -1
- package/lib/scatter3d/ui/scatterCloudProps.js +3 -3
- package/lib/scatter3d/ui/useOrbitDrag.d.ts +5 -5
- package/lib/scatter3d/ui/useOrbitDrag.d.ts.map +1 -1
- package/lib/scatter3d/ui/useOrbitDrag.js +41 -98
- package/lib/scatter3d/ui/useOrbitDrag.js.map +1 -1
- package/lib/seo/core/documentMeta.d.ts.map +1 -1
- package/lib/seo/core/documentMeta.js +2 -5
- package/lib/seo/core/documentMeta.js.map +1 -1
- package/lib/seo/core/index.d.ts +5 -2
- package/lib/seo/core/index.d.ts.map +1 -1
- package/lib/seo/core/index.js +4 -2
- package/lib/seo/core/index.js.map +1 -1
- package/lib/seo/core/noscript.js +1 -1
- package/lib/seo/core/noscript.js.map +1 -1
- package/lib/seo/core/plainDescription.d.ts +37 -0
- package/lib/seo/core/plainDescription.d.ts.map +1 -0
- package/lib/seo/core/plainDescription.js +80 -0
- package/lib/seo/core/plainDescription.js.map +1 -0
- package/lib/seo/core/routes.d.ts +9 -17
- package/lib/seo/core/routes.d.ts.map +1 -1
- package/lib/seo/core/routes.js +30 -27
- package/lib/seo/core/routes.js.map +1 -1
- package/lib/seo/core/siteFiles.d.ts.map +1 -1
- package/lib/seo/core/siteFiles.js +1 -1
- package/lib/seo/core/siteFiles.js.map +1 -1
- package/lib/seo/core/startDocumentMeta.d.ts +3 -4
- package/lib/seo/core/startDocumentMeta.d.ts.map +1 -1
- package/lib/seo/core/startDocumentMeta.js +3 -4
- package/lib/seo/core/startDocumentMeta.js.map +1 -1
- package/lib/seo/core/trackingScript.d.ts +15 -0
- package/lib/seo/core/trackingScript.d.ts.map +1 -0
- package/lib/seo/core/trackingScript.js +24 -0
- package/lib/seo/core/trackingScript.js.map +1 -0
- package/lib/seo/vite/ogCard.d.ts.map +1 -1
- package/lib/seo/vite/ogCard.js +11 -8
- package/lib/seo/vite/ogCard.js.map +1 -1
- package/lib/seo/vite/prerender.d.ts.map +1 -1
- package/lib/seo/vite/prerender.js +2 -1
- package/lib/seo/vite/prerender.js.map +1 -1
- package/lib/share/core/config.d.ts +10 -1
- package/lib/share/core/config.d.ts.map +1 -1
- package/lib/share/core/config.js +19 -1
- package/lib/share/core/config.js.map +1 -1
- package/lib/share/core/index.d.ts +7 -3
- package/lib/share/core/index.d.ts.map +1 -1
- package/lib/share/core/index.js +4 -2
- package/lib/share/core/index.js.map +1 -1
- package/lib/share/core/params.d.ts +27 -0
- package/lib/share/core/params.d.ts.map +1 -1
- package/lib/share/core/params.js +37 -0
- package/lib/share/core/params.js.map +1 -1
- package/lib/share/core/preferences.d.ts +107 -0
- package/lib/share/core/preferences.d.ts.map +1 -0
- package/lib/share/core/preferences.js +130 -0
- package/lib/share/core/preferences.js.map +1 -0
- package/lib/share/core/presets.d.ts +50 -0
- package/lib/share/core/presets.d.ts.map +1 -0
- package/lib/share/core/presets.js +39 -0
- package/lib/share/core/presets.js.map +1 -0
- package/lib/share/core/vocabulary.d.ts +8 -0
- package/lib/share/core/vocabulary.d.ts.map +1 -1
- package/lib/share/ui/ShareButton.d.ts.map +1 -1
- package/lib/share/ui/ShareButton.js +3 -1
- package/lib/share/ui/ShareButton.js.map +1 -1
- package/lib/share/ui/ShareConfigOptions.d.ts +21 -0
- package/lib/share/ui/ShareConfigOptions.d.ts.map +1 -0
- package/lib/share/ui/ShareConfigOptions.js +22 -0
- package/lib/share/ui/ShareConfigOptions.js.map +1 -0
- package/lib/share/ui/ShareDialog.d.ts +15 -1
- package/lib/share/ui/ShareDialog.d.ts.map +1 -1
- package/lib/share/ui/ShareDialog.js +4 -1
- package/lib/share/ui/ShareDialog.js.map +1 -1
- package/lib/share/ui/ShareDialogContent.d.ts.map +1 -1
- package/lib/share/ui/ShareDialogContent.js +37 -18
- package/lib/share/ui/ShareDialogContent.js.map +1 -1
- package/lib/share/ui/SharePresetTabs.d.ts +20 -0
- package/lib/share/ui/SharePresetTabs.d.ts.map +1 -0
- package/lib/share/ui/SharePresetTabs.js +25 -0
- package/lib/share/ui/SharePresetTabs.js.map +1 -0
- package/lib/shared/ui/MenuButton.d.ts +1 -0
- package/lib/shared/ui/MenuButton.d.ts.map +1 -1
- package/lib/shared/ui/MenuButton.js.map +1 -1
- package/lib/shared/ui/joinClassNames.d.ts +12 -0
- package/lib/shared/ui/joinClassNames.d.ts.map +1 -0
- package/lib/shared/ui/joinClassNames.js +20 -0
- package/lib/shared/ui/joinClassNames.js.map +1 -0
- package/lib/slides/core/familyFrame.d.ts +19 -0
- package/lib/slides/core/familyFrame.d.ts.map +1 -0
- package/lib/slides/core/familyFrame.js +44 -0
- package/lib/slides/core/familyFrame.js.map +1 -0
- package/lib/slides/core/index.d.ts +1 -1
- package/lib/slides/core/index.d.ts.map +1 -1
- package/lib/slides/core/index.js +1 -1
- package/lib/slides/core/index.js.map +1 -1
- package/lib/slides/ui/BackToSlides.d.ts +5 -0
- package/lib/slides/ui/BackToSlides.d.ts.map +1 -1
- package/lib/slides/ui/BackToSlides.js +3 -2
- package/lib/slides/ui/BackToSlides.js.map +1 -1
- package/lib/slides/ui/EmbedSlide.d.ts.map +1 -1
- package/lib/slides/ui/EmbedSlide.js +1 -13
- package/lib/slides/ui/EmbedSlide.js.map +1 -1
- package/lib/slides/ui/SlideBody.d.ts +5 -3
- package/lib/slides/ui/SlideBody.d.ts.map +1 -1
- package/lib/slides/ui/SlideBody.js +14 -4
- package/lib/slides/ui/SlideBody.js.map +1 -1
- package/lib/slides/ui/Slideshow.d.ts +2 -6
- package/lib/slides/ui/Slideshow.d.ts.map +1 -1
- package/lib/slides/ui/Slideshow.js +7 -37
- package/lib/slides/ui/Slideshow.js.map +1 -1
- package/lib/slides/ui/SlideshowBar.d.ts +1 -1
- package/lib/slides/ui/SlideshowBar.d.ts.map +1 -1
- package/lib/slides/ui/SlideshowBar.js +3 -3
- package/lib/slides/ui/SlideshowBar.js.map +1 -1
- package/lib/slides/ui/TalkList.d.ts +5 -0
- package/lib/slides/ui/TalkList.d.ts.map +1 -1
- package/lib/slides/ui/TalkList.js +3 -2
- package/lib/slides/ui/TalkList.js.map +1 -1
- package/lib/slides/ui/index.d.ts +1 -0
- package/lib/slides/ui/index.d.ts.map +1 -1
- package/lib/slides/ui/slideSanitizeSchema.d.ts +11 -0
- package/lib/slides/ui/slideSanitizeSchema.d.ts.map +1 -0
- package/lib/slides/ui/slideSanitizeSchema.js +28 -0
- package/lib/slides/ui/slideSanitizeSchema.js.map +1 -0
- package/lib/slides/ui/useSlideshowFullscreen.d.ts +26 -0
- package/lib/slides/ui/useSlideshowFullscreen.d.ts.map +1 -0
- package/lib/slides/ui/useSlideshowFullscreen.js +39 -0
- package/lib/slides/ui/useSlideshowFullscreen.js.map +1 -0
- package/lib/spectra/core/axisEntries.d.ts +15 -0
- package/lib/spectra/core/axisEntries.d.ts.map +1 -1
- package/lib/spectra/core/axisEntries.js +15 -0
- package/lib/spectra/core/axisEntries.js.map +1 -1
- package/lib/spectra/core/chainProblems.d.ts.map +1 -1
- package/lib/spectra/core/chainProblems.js +57 -23
- package/lib/spectra/core/chainProblems.js.map +1 -1
- package/lib/spectra/core/filterCatalog.d.ts +4 -5
- package/lib/spectra/core/filterCatalog.d.ts.map +1 -1
- package/lib/spectra/core/filterCatalog.js +4 -5
- package/lib/spectra/core/filterCatalog.js.map +1 -1
- package/lib/spectra/core/filterChain.d.ts +43 -9
- package/lib/spectra/core/filterChain.d.ts.map +1 -1
- package/lib/spectra/core/filterChain.js +41 -27
- package/lib/spectra/core/filterChain.js.map +1 -1
- package/lib/spectra/core/filterEntries.d.ts +14 -1
- package/lib/spectra/core/filterEntries.d.ts.map +1 -1
- package/lib/spectra/core/filterEntries.js +20 -6
- package/lib/spectra/core/filterEntries.js.map +1 -1
- package/lib/spectra/core/index.d.ts +6 -3
- package/lib/spectra/core/index.d.ts.map +1 -1
- package/lib/spectra/core/index.js +2 -1
- package/lib/spectra/core/index.js.map +1 -1
- package/lib/spectra/core/matrixCatalog.d.ts +64 -0
- package/lib/spectra/core/matrixCatalog.d.ts.map +1 -0
- package/lib/spectra/core/matrixCatalog.js +76 -0
- package/lib/spectra/core/matrixCatalog.js.map +1 -0
- package/lib/spectra/core/principalComponents.d.ts.map +1 -1
- package/lib/spectra/core/principalComponents.js +6 -24
- package/lib/spectra/core/principalComponents.js.map +1 -1
- package/lib/spectra/core/problems.d.ts +25 -4
- package/lib/spectra/core/problems.d.ts.map +1 -1
- package/lib/spectra/core/problems.js +16 -5
- package/lib/spectra/core/problems.js.map +1 -1
- package/lib/spectra/core/settings.d.ts +12 -14
- package/lib/spectra/core/settings.d.ts.map +1 -1
- package/lib/spectra/core/settings.js +4 -4
- package/lib/spectra/core/settings.js.map +1 -1
- package/lib/spectra/core/settingsProblems.d.ts +1 -5
- package/lib/spectra/core/settingsProblems.d.ts.map +1 -1
- package/lib/spectra/core/settingsProblems.js +45 -50
- package/lib/spectra/core/settingsProblems.js.map +1 -1
- package/lib/spectra/core/stepProblems.d.ts +3 -3
- package/lib/spectra/core/stepProblems.d.ts.map +1 -1
- package/lib/spectra/core/stepProblems.js +29 -44
- package/lib/spectra/core/stepProblems.js.map +1 -1
- package/lib/spectra/core/zones.d.ts +35 -0
- package/lib/spectra/core/zones.d.ts.map +1 -0
- package/lib/spectra/core/zones.js +49 -0
- package/lib/spectra/core/zones.js.map +1 -0
- package/lib/spectra/ui/CalculationRows.d.ts +2 -1
- package/lib/spectra/ui/CalculationRows.d.ts.map +1 -1
- package/lib/spectra/ui/CalculationRows.js +29 -63
- package/lib/spectra/ui/CalculationRows.js.map +1 -1
- package/lib/spectra/ui/EditableRows.d.ts +47 -0
- package/lib/spectra/ui/EditableRows.d.ts.map +1 -0
- package/lib/spectra/ui/EditableRows.js +30 -0
- package/lib/spectra/ui/EditableRows.js.map +1 -0
- package/lib/spectra/ui/FilterChainEditor.d.ts +5 -0
- package/lib/spectra/ui/FilterChainEditor.d.ts.map +1 -1
- package/lib/spectra/ui/FilterChainEditor.js +19 -34
- package/lib/spectra/ui/FilterChainEditor.js.map +1 -1
- package/lib/spectra/ui/FilterChoiceControl.d.ts +2 -1
- package/lib/spectra/ui/FilterChoiceControl.d.ts.map +1 -1
- package/lib/spectra/ui/FilterChoiceControl.js +3 -30
- package/lib/spectra/ui/FilterChoiceControl.js.map +1 -1
- package/lib/spectra/ui/FilterFieldControl.d.ts +5 -2
- package/lib/spectra/ui/FilterFieldControl.d.ts.map +1 -1
- package/lib/spectra/ui/FilterFieldControl.js +5 -37
- package/lib/spectra/ui/FilterFieldControl.js.map +1 -1
- package/lib/spectra/ui/FilterRow.d.ts +2 -1
- package/lib/spectra/ui/FilterRow.d.ts.map +1 -1
- package/lib/spectra/ui/FilterRow.js +8 -10
- package/lib/spectra/ui/FilterRow.js.map +1 -1
- package/lib/spectra/ui/MatrixFilterRows.d.ts +2 -1
- package/lib/spectra/ui/MatrixFilterRows.d.ts.map +1 -1
- package/lib/spectra/ui/MatrixFilterRows.js +27 -36
- package/lib/spectra/ui/MatrixFilterRows.js.map +1 -1
- package/lib/spectra/ui/NormalizationEditor.d.ts +2 -1
- package/lib/spectra/ui/NormalizationEditor.d.ts.map +1 -1
- package/lib/spectra/ui/NormalizationEditor.js +9 -18
- package/lib/spectra/ui/NormalizationEditor.js.map +1 -1
- package/lib/spectra/ui/NumberField.d.ts +2 -1
- package/lib/spectra/ui/NumberField.d.ts.map +1 -1
- package/lib/spectra/ui/NumberField.js +2 -16
- package/lib/spectra/ui/NumberField.js.map +1 -1
- package/lib/spectra/ui/PostProcessingEditor.d.ts +2 -1
- package/lib/spectra/ui/PostProcessingEditor.d.ts.map +1 -1
- package/lib/spectra/ui/PostProcessingEditor.js +4 -4
- package/lib/spectra/ui/PostProcessingEditor.js.map +1 -1
- package/lib/spectra/ui/PrincipalComponentSelect.d.ts +5 -0
- package/lib/spectra/ui/PrincipalComponentSelect.d.ts.map +1 -1
- package/lib/spectra/ui/PrincipalComponentSelect.js +7 -30
- package/lib/spectra/ui/PrincipalComponentSelect.js.map +1 -1
- package/lib/spectra/ui/ProblemList.d.ts +7 -1
- package/lib/spectra/ui/ProblemList.d.ts.map +1 -1
- package/lib/spectra/ui/ProblemList.js +6 -4
- package/lib/spectra/ui/ProblemList.js.map +1 -1
- package/lib/spectra/ui/RangeRows.d.ts +2 -1
- package/lib/spectra/ui/RangeRows.d.ts.map +1 -1
- package/lib/spectra/ui/RangeRows.js +31 -60
- package/lib/spectra/ui/RangeRows.js.map +1 -1
- package/lib/spectra/ui/ScaleFields.d.ts +2 -1
- package/lib/spectra/ui/ScaleFields.d.ts.map +1 -1
- package/lib/spectra/ui/ScaleFields.js +6 -35
- package/lib/spectra/ui/ScaleFields.js.map +1 -1
- package/lib/spectra/ui/SettingsPart.d.ts +2 -1
- package/lib/spectra/ui/SettingsPart.d.ts.map +1 -1
- package/lib/spectra/ui/SettingsPart.js +6 -9
- package/lib/spectra/ui/SettingsPart.js.map +1 -1
- package/lib/spectra/ui/SpectraSettingsEditor.d.ts +5 -0
- package/lib/spectra/ui/SpectraSettingsEditor.d.ts.map +1 -1
- package/lib/spectra/ui/SpectraSettingsEditor.js +2 -2
- package/lib/spectra/ui/SpectraSettingsEditor.js.map +1 -1
- package/lib/spectra/ui/SpectrumSelection.d.ts +2 -1
- package/lib/spectra/ui/SpectrumSelection.d.ts.map +1 -1
- package/lib/spectra/ui/SpectrumSelection.js +2 -19
- package/lib/spectra/ui/SpectrumSelection.js.map +1 -1
- package/lib/spectra/ui/XWindowFields.d.ts +26 -0
- package/lib/spectra/ui/XWindowFields.d.ts.map +1 -0
- package/lib/spectra/ui/XWindowFields.js +24 -0
- package/lib/spectra/ui/XWindowFields.js.map +1 -0
- package/lib/spectra/ui/ZoneRows.d.ts +10 -15
- package/lib/spectra/ui/ZoneRows.d.ts.map +1 -1
- package/lib/spectra/ui/ZoneRows.js +23 -57
- package/lib/spectra/ui/ZoneRows.js.map +1 -1
- package/lib/spectra/ui/fieldStyles.d.ts +54 -0
- package/lib/spectra/ui/fieldStyles.d.ts.map +1 -0
- package/lib/spectra/ui/fieldStyles.js +61 -0
- package/lib/spectra/ui/fieldStyles.js.map +1 -0
- package/lib/spectra/ui/problemsAbout.d.ts +8 -8
- package/lib/spectra/ui/problemsAbout.d.ts.map +1 -1
- package/lib/spectra/ui/problemsAbout.js +8 -8
- package/lib/spectra/ui/problemsAbout.js.map +1 -1
- package/lib/spectra/ui/rowKeys.d.ts +24 -10
- package/lib/spectra/ui/rowKeys.d.ts.map +1 -1
- package/lib/spectra/ui/rowKeys.js +32 -16
- package/lib/spectra/ui/rowKeys.js.map +1 -1
- package/lib/spectra/ui/scaleOptions.d.ts +5 -0
- package/lib/spectra/ui/scaleOptions.d.ts.map +1 -1
- package/lib/spectra/ui/scaleOptions.js +11 -10
- package/lib/spectra/ui/scaleOptions.js.map +1 -1
- package/lib/spectra.d.ts +13 -0
- package/lib/spectra.d.ts.map +1 -0
- package/lib/spectra.js +13 -0
- package/lib/spectra.js.map +1 -0
- package/lib/state/core/index.d.ts +5 -0
- package/lib/state/core/index.d.ts.map +1 -0
- package/lib/state/core/index.js +3 -0
- package/lib/state/core/index.js.map +1 -0
- package/lib/state/core/mergeStored.d.ts.map +1 -0
- package/lib/state/core/mergeStored.js.map +1 -0
- package/lib/state/core/persistBucket.d.ts.map +1 -0
- package/lib/state/core/persistBucket.js +36 -0
- package/lib/state/core/persistBucket.js.map +1 -0
- package/lib/state/core/persistSignalBucket.d.ts +51 -0
- package/lib/state/core/persistSignalBucket.d.ts.map +1 -0
- package/lib/state/core/persistSignalBucket.js +79 -0
- package/lib/state/core/persistSignalBucket.js.map +1 -0
- package/lib/state/core/storageEntry.d.ts +36 -0
- package/lib/state/core/storageEntry.d.ts.map +1 -0
- package/lib/state/core/storageEntry.js +93 -0
- package/lib/state/core/storageEntry.js.map +1 -0
- package/lib/structure/core/atomLabels.d.ts +41 -0
- package/lib/structure/core/atomLabels.d.ts.map +1 -0
- package/lib/structure/core/atomLabels.js +43 -0
- package/lib/structure/core/atomLabels.js.map +1 -0
- package/lib/structure/core/editorValue.d.ts +5 -1
- package/lib/structure/core/editorValue.d.ts.map +1 -1
- package/lib/structure/core/editorValue.js.map +1 -1
- package/lib/structure/core/index.d.ts +7 -2
- package/lib/structure/core/index.d.ts.map +1 -1
- package/lib/structure/core/index.js +4 -2
- package/lib/structure/core/index.js.map +1 -1
- package/lib/structure/core/readStructure.d.ts +1 -0
- package/lib/structure/core/readStructure.d.ts.map +1 -1
- package/lib/structure/core/readStructure.js.map +1 -1
- package/lib/structure/core/structureError.d.ts +25 -0
- package/lib/structure/core/structureError.d.ts.map +1 -0
- package/lib/structure/core/structureError.js +47 -0
- package/lib/structure/core/structureError.js.map +1 -0
- package/lib/structure/core/structureSource.d.ts +20 -5
- package/lib/structure/core/structureSource.d.ts.map +1 -1
- package/lib/structure/core/structureSource.js.map +1 -1
- package/lib/structure/ui/EditorCanvas.d.ts +2 -1
- package/lib/structure/ui/EditorCanvas.d.ts.map +1 -1
- package/lib/structure/ui/Structure.d.ts +32 -0
- package/lib/structure/ui/Structure.d.ts.map +1 -1
- package/lib/structure/ui/Structure.js +2 -2
- package/lib/structure/ui/Structure.js.map +1 -1
- package/lib/structure/ui/StructureEditor.d.ts +9 -2
- package/lib/structure/ui/StructureEditor.d.ts.map +1 -1
- package/lib/structure/ui/StructureEditor.js +3 -2
- package/lib/structure/ui/StructureEditor.js.map +1 -1
- package/lib/structure/ui/StructurePlaceholder.d.ts +2 -1
- package/lib/structure/ui/StructurePlaceholder.d.ts.map +1 -1
- package/lib/structure/ui/StructurePlaceholder.js +2 -1
- package/lib/structure/ui/StructurePlaceholder.js.map +1 -1
- package/lib/structure/ui/StructureSvg.d.ts +27 -6
- package/lib/structure/ui/StructureSvg.d.ts.map +1 -1
- package/lib/structure/ui/StructureSvg.js +60 -19
- package/lib/structure/ui/StructureSvg.js.map +1 -1
- package/lib/structure/ui/useToolbarFloor.d.ts +1 -0
- package/lib/structure/ui/useToolbarFloor.d.ts.map +1 -1
- package/lib/structure/ui/useToolbarFloor.js.map +1 -1
- package/lib/tokens/core/checkTokens.d.ts +12 -4
- package/lib/tokens/core/checkTokens.d.ts.map +1 -1
- package/lib/tokens/core/checkTokens.js +29 -43
- package/lib/tokens/core/checkTokens.js.map +1 -1
- package/lib/tokens/core/colors.d.ts +2 -1
- package/lib/tokens/core/colors.d.ts.map +1 -1
- package/lib/tokens/core/cssReading.d.ts +62 -0
- package/lib/tokens/core/cssReading.d.ts.map +1 -0
- package/lib/tokens/core/cssReading.js +129 -0
- package/lib/tokens/core/cssReading.js.map +1 -0
- package/lib/tokens/core/familyTokens.d.ts +60 -0
- package/lib/tokens/core/familyTokens.d.ts.map +1 -0
- package/lib/tokens/core/familyTokens.js +63 -0
- package/lib/tokens/core/familyTokens.js.map +1 -0
- package/lib/tokens/core/index.d.ts +4 -1
- package/lib/tokens/core/index.d.ts.map +1 -1
- package/lib/tokens/core/index.js +1 -0
- package/lib/tokens/core/index.js.map +1 -1
- package/lib/tokens/core/rules.d.ts +3 -2
- package/lib/tokens/core/rules.d.ts.map +1 -1
- package/lib/tokens/core/types.d.ts +3 -0
- package/lib/tokens/core/types.d.ts.map +1 -0
- package/lib/tokens/core/types.js +2 -0
- package/lib/tokens/core/types.js.map +1 -0
- package/lib/ui.d.ts +2 -2
- package/lib/ui.d.ts.map +1 -1
- package/lib/ui.js +2 -2
- package/lib/ui.js.map +1 -1
- package/lib/worker/core/chunks.d.ts +58 -0
- package/lib/worker/core/chunks.d.ts.map +1 -0
- package/lib/worker/core/chunks.js +77 -0
- package/lib/worker/core/chunks.js.map +1 -0
- package/lib/worker/core/index.d.ts +6 -2
- package/lib/worker/core/index.d.ts.map +1 -1
- package/lib/worker/core/index.js +2 -0
- package/lib/worker/core/index.js.map +1 -1
- package/lib/worker/core/messages.d.ts +46 -4
- package/lib/worker/core/messages.d.ts.map +1 -1
- package/lib/worker/core/messages.js +42 -1
- package/lib/worker/core/messages.js.map +1 -1
- package/lib/worker/core/serveWorkerRequests.d.ts +45 -0
- package/lib/worker/core/serveWorkerRequests.d.ts.map +1 -0
- package/lib/worker/core/serveWorkerRequests.js +88 -0
- package/lib/worker/core/serveWorkerRequests.js.map +1 -0
- package/lib/worker/core/workerChannel.d.ts +12 -61
- package/lib/worker/core/workerChannel.d.ts.map +1 -1
- package/lib/worker/core/workerChannel.js +175 -88
- package/lib/worker/core/workerChannel.js.map +1 -1
- package/lib/worker/core/workerChannelParts.d.ts +105 -0
- package/lib/worker/core/workerChannelParts.d.ts.map +1 -0
- package/lib/worker/core/workerChannelParts.js +93 -0
- package/lib/worker/core/workerChannelParts.js.map +1 -0
- package/lib/worker/core/workerChannelTypes.d.ts +118 -0
- package/lib/worker/core/workerChannelTypes.d.ts.map +1 -0
- package/lib/worker/core/workerChannelTypes.js +2 -0
- package/lib/worker/core/workerChannelTypes.js.map +1 -0
- package/package.json +15 -6
- package/src/about/core/about.ts +32 -0
- package/src/about/core/index.ts +3 -1
- package/src/about/core/providers.ts +45 -0
- package/src/about/ui/AboutCitations.tsx +10 -36
- package/src/about/ui/AboutPage.tsx +37 -8
- package/src/about/ui/AboutProvidedBy.tsx +165 -0
- package/src/about/ui/index.ts +2 -0
- package/src/capsule/ui/CapsuleFilter.tsx +167 -42
- package/src/capsule/ui/index.ts +8 -1
- package/src/chart/core/chartAxisPair.ts +47 -0
- package/src/chart/core/chartAxisScale.ts +4 -8
- package/src/chart/core/chartBins.ts +2 -6
- package/src/chart/core/chartGroups.ts +24 -0
- package/src/chart/core/chartLabels.ts +4 -8
- package/src/chart/core/chartPalette.ts +7 -7
- package/src/chart/core/chartScale.ts +17 -0
- package/src/chart/core/matrix.ts +24 -0
- package/src/chart/ui/ChartAxis.tsx +5 -2
- package/src/chart/ui/ChartFrame.tsx +22 -31
- package/src/chart/ui/ChartSeriesMarks.tsx +6 -7
- package/src/chart/ui/ChartTrackingLayer.tsx +2 -3
- package/src/chart/ui/TrackedLineChart.tsx +17 -2
- package/src/chart/ui/TrackedStickChart.tsx +8 -3
- package/src/chart/ui/chartFrameGeometry.ts +53 -0
- package/src/chart/ui/index.ts +3 -4
- package/src/chart/ui/stickChartModel.ts +20 -23
- package/src/chart/ui/useWheelZoom.ts +29 -43
- package/src/chart/ui/wheelDwell.ts +123 -0
- package/src/chrome/ui/NavLink.tsx +35 -5
- package/src/chrome/ui/NavMenuButton.tsx +25 -4
- package/src/chrome/ui/SiteHeader.tsx +23 -0
- package/src/chrome/ui/navItem.ts +5 -3
- package/src/citation/core/index.ts +1 -0
- package/src/citation/core/openchemlibPaper.ts +33 -0
- package/src/citation/core/platformPaper.ts +2 -2
- package/src/clipboard/core/clipboardItem.ts +28 -0
- package/src/clipboard/core/index.ts +3 -0
- package/src/clipboard/core/writeBlobToClipboard.ts +43 -0
- package/src/clipboard/core/writeToClipboard.ts +39 -7
- package/src/clipboard/ui/CodeBlock.tsx +14 -10
- package/src/clipboard/ui/CopyButton.tsx +53 -13
- package/src/clipboard/ui/CopyableValue.tsx +138 -0
- package/src/clipboard/ui/copyFeedback.ts +68 -0
- package/src/clipboard/ui/index.ts +3 -1
- package/src/clipboard/ui/useCopyToClipboard.ts +54 -26
- package/src/color/core/hex.ts +19 -3
- package/src/color/core/hsv.ts +5 -9
- package/src/color/core/index.ts +2 -7
- package/src/color/core/interpolate.ts +3 -6
- package/src/color/core/scale.ts +5 -52
- package/src/color/core/scaleText.ts +5 -4
- package/src/color/ui/ColorScaleBar.tsx +7 -0
- package/src/color/ui/ColorScaleEditor.tsx +17 -15
- package/src/color/ui/ColorScaleEntry.tsx +67 -0
- package/src/color/ui/ColorScaleLegend.tsx +86 -31
- package/src/color/ui/ColorScaleSelect.tsx +19 -66
- package/src/confirm/ui/ConfirmButton.tsx +83 -0
- package/src/confirm/ui/index.ts +2 -0
- package/src/core.ts +5 -1
- package/src/credits/core/credits.ts +10 -3
- package/src/credits/ui/CreditsList.tsx +4 -4
- package/src/delimited/core/index.ts +6 -7
- package/src/delimited/ui/DelimitedTextDialog.tsx +8 -1
- package/src/delimited/ui/DelimitedTextPanel.tsx +15 -5
- package/src/deploy/core/checkDeploy.ts +84 -0
- package/src/deploy/core/composeDocument.ts +181 -0
- package/src/deploy/core/composeFile.ts +195 -0
- package/src/deploy/core/envExample.ts +46 -0
- package/src/deploy/core/index.ts +8 -0
- package/src/deploy/core/markers.ts +21 -0
- package/src/deploy/core/types.ts +87 -0
- package/src/disclosure/ui/CollapsibleSection.tsx +3 -5
- package/src/download/ui/FigureDownloadPanel.tsx +14 -3
- package/src/ecosystem/core/groups.ts +59 -0
- package/src/ecosystem/core/index.ts +12 -3
- package/src/ecosystem/core/lookup.ts +38 -0
- package/src/ecosystem/core/nameColors.ts +50 -0
- package/src/ecosystem/core/sites.ts +41 -72
- package/src/ecosystem/core/tokens.ts +0 -11
- package/src/ecosystem/core/types.ts +94 -0
- package/src/ecosystem/ui/EcosystemButton.tsx +9 -2
- package/src/ecosystem/ui/EcosystemLinks.tsx +67 -49
- package/src/ecosystem/ui/EcosystemMenu.tsx +30 -37
- package/src/ecosystem/ui/SiteGroupGrid.tsx +65 -0
- package/src/ecosystem/ui/SiteGroupSection.tsx +64 -0
- package/src/ecosystem/ui/SiteTheme.tsx +1 -0
- package/src/ecosystem/ui/SiteTile.tsx +29 -9
- package/src/ecosystem/ui/Wordmark.tsx +12 -12
- package/src/ecosystem/ui/ecosystemStyles.ts +11 -0
- package/src/ecosystem/ui/glyphs.tsx +29 -10
- package/src/ecosystem/ui/marks.tsx +15 -1
- package/src/error/core/index.ts +1 -0
- package/src/error/{ui → core}/toError.ts +13 -3
- package/src/error/ui/ErrorBoundary.tsx +2 -1
- package/src/error/ui/index.ts +4 -1
- package/src/format/core/clamp.ts +24 -0
- package/src/format/core/index.ts +8 -0
- package/src/format/core/numbers.ts +51 -13
- package/src/format/core/relativeTime.ts +80 -0
- package/src/format/core/roundTo.ts +27 -0
- package/src/format/core/superscript.ts +22 -0
- package/src/format/core/units.ts +53 -6
- package/src/help/ui/HelpBody.tsx +55 -19
- package/src/help/ui/HelpIcon.tsx +30 -8
- package/src/help/ui/HelpToolbarButton.tsx +2 -1
- package/src/help/ui/HelpTooltip.tsx +7 -0
- package/src/help/ui/helpName.ts +11 -0
- package/src/hooks/ui/activationKey.ts +58 -0
- package/src/hooks/ui/activeHeading.ts +30 -0
- package/src/hooks/ui/asyncState.ts +38 -0
- package/src/hooks/ui/documentListNavigation.ts +87 -0
- package/src/hooks/ui/elementTarget.ts +18 -0
- package/src/hooks/ui/index.ts +22 -0
- package/src/hooks/ui/keyTargets.ts +73 -0
- package/src/hooks/ui/listNavigation.ts +10 -16
- package/src/hooks/ui/pollingController.ts +139 -0
- package/src/hooks/ui/useActiveHeading.ts +73 -0
- package/src/hooks/ui/useAsync.ts +44 -0
- package/src/hooks/ui/useDocumentListNavigation.ts +70 -0
- package/src/hooks/ui/usePolling.ts +97 -0
- package/src/hooks/ui/useResizeObserver.ts +9 -5
- package/src/molecule3d/core/exportImage.ts +50 -0
- package/src/molecule3d/core/gestures.ts +35 -0
- package/src/molecule3d/core/index.ts +35 -0
- package/src/molecule3d/core/measurement.ts +43 -0
- package/src/molecule3d/core/settings.ts +214 -0
- package/src/molecule3d/ui/Molecule3DExport.tsx +65 -0
- package/src/molecule3d/ui/Molecule3DHelp.tsx +77 -0
- package/src/molecule3d/ui/Molecule3DOptions.tsx +168 -0
- package/src/molecule3d/ui/Molecule3DSurfaceColors.tsx +150 -0
- package/src/molecule3d/ui/Molecule3DToolbar.tsx +190 -0
- package/src/molecule3d/ui/MoleculeCanvas3D.tsx +235 -0
- package/src/molecule3d/ui/MoleculeViewer3D.tsx +84 -0
- package/src/molecule3d/ui/camera.ts +76 -0
- package/src/molecule3d/ui/drawScene.ts +43 -0
- package/src/molecule3d/ui/exportMoleculeImage.ts +49 -0
- package/src/molecule3d/ui/index.ts +11 -0
- package/src/molecule3d/ui/measurements.ts +178 -0
- package/src/molecule3d/ui/molecule3dIcons.tsx +108 -0
- package/src/molecule3d/ui/moleculeViewer3DProps.ts +98 -0
- package/src/molecule3d/ui/polarityColorTheme.ts +125 -0
- package/src/molecule3d/ui/renderMolecule.ts +179 -0
- package/src/molecule3d/ui/renderSurface.ts +88 -0
- package/src/molecule3d/ui/useControlledState.ts +31 -0
- package/src/molecule3d/ui/useImageExport.ts +50 -0
- package/src/molecule3d/ui/usePolarSurfaceArea.ts +47 -0
- package/src/molecule3d/ui/viewer.ts +240 -0
- package/src/molecule3d/ui/viewerTypes.ts +60 -0
- package/src/molecule3d.ts +11 -0
- package/src/orbital/core/atomicGrid.ts +3 -2
- package/src/orbital/core/atomicOrbitals.ts +2 -5
- package/src/orbital/core/constants.ts +3 -0
- package/src/orbital/core/electronConfiguration.ts +29 -40
- package/src/orbital/core/grid.ts +3 -0
- package/src/orbital/core/index.ts +5 -0
- package/src/orbital/core/isovalue.ts +3 -2
- package/src/orbital/core/occupancy.ts +2 -4
- package/src/orbital/core/palette.ts +10 -6
- package/src/orbital/core/radialDistribution.ts +97 -0
- package/src/orbital/core/realHarmonics.ts +3 -3
- package/src/orbital/ui/AtomicOrbitalCanvas.tsx +35 -112
- package/src/orbital/ui/AtomicOrbitalControls.tsx +81 -0
- package/src/orbital/ui/AtomicOrbitalViewer.tsx +22 -22
- package/src/orbital/ui/RadialPlot.tsx +183 -0
- package/src/orbital/ui/RadialPlotMarks.tsx +129 -0
- package/src/orbital/ui/camera.ts +1 -1
- package/src/orbital/ui/index.ts +3 -1
- package/src/orbital/ui/orbitalCanvasHelpers.ts +42 -0
- package/src/orbital/ui/orbitalPluginSpec.ts +47 -0
- package/src/orbital/ui/radialPlotGeometry.ts +131 -0
- package/src/orbital/ui/renderAxes.ts +14 -14
- package/src/orbital/ui/renderVolume.ts +13 -13
- package/src/orbital/ui/serial.ts +1 -1
- package/src/orbital/ui/viewer.ts +6 -36
- package/src/orbital.ts +5 -4
- package/src/overlay/core/index.ts +2 -1
- package/src/overlay/core/overlayCollapse.ts +32 -0
- package/src/overlay/core/placeOverlayCard.ts +3 -3
- package/src/overlay/ui/OverlayBar.tsx +6 -12
- package/src/overlay/ui/OverlayBarButton.tsx +2 -1
- package/src/overlay/ui/OverlayBarCard.tsx +1 -1
- package/src/overlay/ui/OverlayChip.tsx +3 -6
- package/src/overlay/ui/OverlayIconButton.tsx +6 -8
- package/src/overlay/ui/OverlayLayer.tsx +2 -3
- package/src/overlay/ui/OverlayLegend.tsx +2 -1
- package/src/overlay/ui/OverlayNumber.tsx +13 -9
- package/src/overlay/ui/OverlayPanel.tsx +8 -7
- package/src/overlay/ui/OverlayRow.tsx +6 -2
- package/src/overlay/ui/OverlayToggle.tsx +1 -0
- package/src/overlay/ui/OverlayValueButton.tsx +5 -10
- package/src/overlay/ui/overlayBarShape.ts +1 -60
- package/src/overlay/ui/overlayControlStyles.ts +13 -3
- package/src/overlay/ui/overlayPanelContext.ts +3 -0
- package/src/overlay/ui/overlayPanelStyles.ts +10 -4
- package/src/overlay/ui/overlayPillStyles.ts +1 -1
- package/src/overlay/ui/overlayRowStyles.ts +2 -2
- package/src/overlay/ui/overlaySurface.ts +2 -0
- package/src/overlay/ui/overlaySwitchStyles.ts +1 -1
- package/src/overlay/ui/overlayValueStyles.ts +68 -54
- package/src/overlay/ui/useOverlayInteraction.ts +46 -0
- package/src/pedagogy/core/bucketProgressStore.ts +83 -0
- package/src/pedagogy/core/glossary.ts +40 -16
- package/src/pedagogy/core/glossarySearch.ts +67 -0
- package/src/pedagogy/core/index.ts +16 -2
- package/src/pedagogy/core/inlineMarks.ts +117 -0
- package/src/pedagogy/core/progress.ts +48 -57
- package/src/pedagogy/core/types.ts +4 -0
- package/src/pedagogy/core/validation.ts +3 -0
- package/src/pedagogy/ui/ExerciseActions.tsx +1 -0
- package/src/pedagogy/ui/ExerciseProgressHeader.tsx +3 -1
- package/src/pedagogy/ui/ExerciseTags.tsx +18 -2
- package/src/pedagogy/ui/GlossaryDefinition.tsx +136 -0
- package/src/pedagogy/ui/GlossaryIndex.tsx +171 -0
- package/src/pedagogy/ui/GlossaryProvider.tsx +36 -8
- package/src/pedagogy/ui/GlossaryText.tsx +62 -113
- package/src/pedagogy/ui/HintLadder.tsx +11 -3
- package/src/pedagogy/ui/InlineText.tsx +39 -0
- package/src/pedagogy/ui/ReferenceGrid.tsx +4 -5
- package/src/pedagogy/ui/ReferenceSectionBlock.tsx +19 -17
- package/src/pedagogy/ui/SyntaxTooltip.tsx +32 -28
- package/src/pedagogy/ui/TestCaseList.tsx +5 -3
- package/src/pedagogy/ui/TutorialStepStrip.tsx +14 -10
- package/src/pedagogy/ui/exampleText.ts +18 -0
- package/src/pedagogy/ui/glossaryContext.ts +26 -6
- package/src/pedagogy/ui/index.ts +14 -1
- package/src/pedagogy/ui/inlineSegments.tsx +69 -0
- package/src/pedagogy/ui/pedagogyStyle.ts +53 -0
- package/src/periodic/core/categories.ts +1 -1
- package/src/periodic/core/elements.ts +2 -0
- package/src/periodic/core/layout.ts +16 -10
- package/src/periodic/ui/CategoryLegend.tsx +9 -3
- package/src/periodic/ui/ElementCell.tsx +9 -1
- package/src/periodic/ui/PeriodicTable.tsx +10 -3
- package/src/periodic/ui/PeriodicTableChrome.tsx +6 -5
- package/src/projection/core/explainedShares.ts +1 -1
- package/src/projection/core/fillCopy.ts +21 -0
- package/src/projection/core/index.ts +12 -10
- package/src/projection/core/loadingProfiles.ts +10 -4
- package/src/projection/core/mergeProjectionCopy.ts +39 -0
- package/src/projection/core/pcaColumns.ts +84 -0
- package/src/projection/core/pcaLike.ts +30 -4
- package/src/projection/core/pcaResult.ts +17 -45
- package/src/projection/core/projectionCopy.ts +50 -65
- package/src/projection/core/projectionOptions.ts +0 -131
- package/src/projection/core/projectionPanelWords.ts +152 -0
- package/src/projection/core/projectionResult.ts +1 -1
- package/src/projection/core/projectionStrings.ts +0 -52
- package/src/projection/core/resolveProjectionOptions.ts +132 -0
- package/src/projection/core/variableAxis.ts +5 -14
- package/src/projection/ui/ProjectionBar.tsx +3 -3
- package/src/projection/ui/ProjectionMapCaption.tsx +1 -1
- package/src/projection/ui/ProjectionMapControls.tsx +8 -32
- package/src/projection/ui/ProjectionMapLegend.tsx +1 -1
- package/src/projection/ui/ProjectionMapMore.tsx +23 -55
- package/src/projection/ui/ProjectionMapTab.tsx +2 -2
- package/src/projection/ui/ProjectionPairsControls.tsx +1 -1
- package/src/projection/ui/ProjectionPairsMore.tsx +5 -6
- package/src/projection/ui/ProjectionPairsTab.tsx +5 -4
- package/src/projection/ui/ProjectionPanel.tsx +3 -3
- package/src/projection/ui/ProjectionReadout.tsx +1 -1
- package/src/projection/ui/ProjectionSharesAxis.tsx +67 -0
- package/src/projection/ui/ProjectionSharesMarks.tsx +36 -78
- package/src/projection/ui/ProjectionSharesMore.tsx +3 -7
- package/src/projection/ui/ProjectionSharesTab.tsx +4 -2
- package/src/projection/ui/ProjectionSpaceControls.tsx +18 -34
- package/src/projection/ui/ProjectionSpaceMore.tsx +34 -57
- package/src/projection/ui/ProjectionSpaceTab.tsx +2 -2
- package/src/projection/ui/ProjectionSurface.tsx +1 -1
- package/src/projection/ui/ProjectionTabStrip.tsx +40 -7
- package/src/projection/ui/ProjectionVariablesControls.tsx +1 -1
- package/src/projection/ui/ProjectionVariablesMore.tsx +12 -30
- package/src/projection/ui/ProjectionVariablesTab.tsx +2 -4
- package/src/projection/ui/ProjectionViewer.tsx +6 -13
- package/src/projection/ui/projectionAxisChoices.ts +31 -0
- package/src/projection/ui/projectionBarReadings.ts +31 -10
- package/src/projection/ui/projectionBarSlots.tsx +2 -2
- package/src/projection/ui/projectionBarStyles.ts +2 -2
- package/src/projection/ui/projectionEllipse.ts +57 -17
- package/src/projection/ui/projectionFormat.ts +3 -1
- package/src/projection/ui/projectionMapChoices.ts +6 -4
- package/src/projection/ui/projectionMapChrome.ts +18 -23
- package/src/projection/ui/projectionMapModel.ts +2 -4
- package/src/projection/ui/projectionMapView.ts +1 -1
- package/src/projection/ui/projectionPairsCeiling.ts +1 -1
- package/src/projection/ui/projectionTabInfo.ts +7 -8
- package/src/projection/ui/projectionTabModels.ts +8 -3
- package/src/projection/ui/projectionVariablesModel.ts +6 -5
- package/src/projection/ui/projectionVariablesWords.ts +1 -1
- package/src/projection/ui/projectionViewChoices.ts +4 -9
- package/src/projection/ui/projectionViewerProps.ts +2 -1
- package/src/projection/ui/projectionWordChoices.ts +66 -0
- package/src/projection/ui/useProjectionState.ts +2 -2
- package/src/router/core/address.ts +24 -8
- package/src/router/core/basePath.ts +4 -2
- package/src/router/core/history.ts +160 -0
- package/src/router/core/index.ts +18 -6
- package/src/router/core/query.ts +77 -20
- package/src/router/core/siteAddresses.ts +98 -0
- package/src/router/core/tabRouter.ts +23 -6
- package/src/router/ui/index.ts +1 -0
- package/src/router/ui/useTabRoute.ts +35 -0
- package/src/scatter/core/confidenceEllipse.ts +80 -109
- package/src/scatter/core/ellipseAxes.ts +85 -0
- package/src/scatter/core/ellipseProjection.ts +1 -1
- package/src/scatter/core/index.ts +12 -2
- package/src/scatter/core/lassoPath.ts +3 -2
- package/src/scatter/core/scatterGroupMoments.ts +127 -0
- package/src/scatter/core/scatterGroupSpread.ts +131 -0
- package/src/scatter/core/screenPoints.ts +38 -1
- package/src/scatter/ui/ScatterEllipseLayer.tsx +24 -68
- package/src/scatter/ui/ScatterLabelLayer.tsx +8 -12
- package/src/scatter/ui/ScatterMarkLayer.tsx +7 -35
- package/src/scatter/ui/ScatterMatrix.tsx +9 -17
- package/src/scatter/ui/ScatterMatrixCell.tsx +1 -1
- package/src/scatter/ui/ScatterMatrixDiagonal.tsx +3 -2
- package/src/scatter/ui/ScatterOverlayLayers.tsx +40 -0
- package/src/scatter/ui/ScatterPlot.tsx +35 -126
- package/src/scatter/ui/ScatterPointLayer.tsx +28 -15
- package/src/scatter/ui/index.ts +11 -17
- package/src/scatter/ui/scatterFigureProps.ts +191 -0
- package/src/scatter/ui/scatterInteractionTypes.ts +127 -0
- package/src/scatter/ui/scatterLabels.ts +4 -15
- package/src/scatter/ui/scatterMarkGlyph.tsx +7 -8
- package/src/scatter/ui/scatterMatrixDots.tsx +20 -16
- package/src/scatter/ui/scatterMatrixLayout.ts +1 -1
- package/src/scatter/ui/scatterMatrixOutlines.tsx +1 -1
- package/src/scatter/ui/scatterMatrixProps.ts +8 -2
- package/src/scatter/ui/scatterOutlineShape.tsx +12 -13
- package/src/scatter/ui/scatterPlotModel.ts +59 -35
- package/src/scatter/ui/scatterPlotProps.ts +13 -177
- package/src/scatter/ui/useCapturedPointer.ts +157 -0
- package/src/scatter/ui/useLassoGesture.ts +58 -118
- package/src/scatter/ui/useScatterFrame.ts +5 -24
- package/src/scatter/ui/useScatterInteraction.ts +35 -101
- package/src/scatter/ui/useScatterLabels.ts +88 -0
- package/src/scatter3d/core/confidenceEllipsoid.ts +35 -73
- package/src/scatter3d/core/ellipsoidSilhouette.ts +9 -15
- package/src/scatter3d/core/index.ts +4 -4
- package/src/scatter3d/ui/CloudFrameLayer.tsx +6 -1
- package/src/scatter3d/ui/CloudShellLayer.tsx +5 -6
- package/src/scatter3d/ui/ScatterCloud.tsx +52 -117
- package/src/scatter3d/ui/cloudGeometry.ts +44 -21
- package/src/scatter3d/ui/cloudShellStyles.ts +9 -10
- package/src/scatter3d/ui/cloudZoom.ts +3 -2
- package/src/scatter3d/ui/index.ts +1 -3
- package/src/scatter3d/ui/orbitDragTrack.ts +133 -0
- package/src/scatter3d/ui/scatterCloudModel.ts +6 -5
- package/src/scatter3d/ui/scatterCloudProps.ts +10 -110
- package/src/scatter3d/ui/useOrbitDrag.ts +63 -125
- package/src/seo/core/documentMeta.ts +3 -6
- package/src/seo/core/index.ts +5 -12
- package/src/seo/core/noscript.ts +4 -2
- package/src/seo/core/plainDescription.ts +107 -0
- package/src/seo/core/routes.ts +34 -29
- package/src/seo/core/siteFiles.ts +1 -1
- package/src/seo/core/startDocumentMeta.ts +3 -4
- package/src/seo/core/trackingScript.ts +25 -0
- package/src/seo/vite/ogCard.ts +11 -9
- package/src/seo/vite/prerender.ts +2 -1
- package/src/share/core/config.ts +24 -1
- package/src/share/core/index.ts +17 -0
- package/src/share/core/params.ts +54 -0
- package/src/share/core/preferences.ts +211 -0
- package/src/share/core/presets.ts +89 -0
- package/src/share/core/vocabulary.ts +8 -0
- package/src/share/ui/ShareButton.tsx +8 -2
- package/src/share/ui/ShareConfigOptions.tsx +68 -0
- package/src/share/ui/ShareDialog.tsx +19 -1
- package/src/share/ui/ShareDialogContent.tsx +64 -39
- package/src/share/ui/SharePresetTabs.tsx +70 -0
- package/src/shared/ui/MenuButton.tsx +1 -0
- package/src/shared/ui/joinClassNames.ts +20 -0
- package/src/slides/core/familyFrame.ts +44 -0
- package/src/slides/core/index.ts +1 -6
- package/src/slides/ui/BackToSlides.tsx +8 -2
- package/src/slides/ui/EmbedSlide.tsx +1 -13
- package/src/slides/ui/SlideBody.tsx +21 -4
- package/src/slides/ui/Slideshow.tsx +13 -50
- package/src/slides/ui/SlideshowBar.tsx +4 -4
- package/src/slides/ui/TalkList.tsx +8 -1
- package/src/slides/ui/index.ts +1 -0
- package/src/slides/ui/slideSanitizeSchema.ts +29 -0
- package/src/slides/ui/useSlideshowFullscreen.ts +59 -0
- package/src/spectra/core/axisEntries.ts +17 -0
- package/src/spectra/core/chainProblems.ts +89 -50
- package/src/spectra/core/filterCatalog.ts +4 -5
- package/src/spectra/core/filterChain.ts +88 -23
- package/src/spectra/core/filterEntries.ts +22 -7
- package/src/spectra/core/index.ts +9 -8
- package/src/spectra/core/matrixCatalog.ts +111 -0
- package/src/spectra/core/principalComponents.ts +7 -21
- package/src/spectra/core/problems.ts +43 -6
- package/src/spectra/core/settings.ts +19 -16
- package/src/spectra/core/settingsProblems.ts +64 -55
- package/src/spectra/core/stepProblems.ts +34 -50
- package/src/spectra/core/zones.ts +64 -0
- package/src/spectra/ui/CalculationRows.tsx +45 -99
- package/src/spectra/ui/EditableRows.tsx +118 -0
- package/src/spectra/ui/FilterChainEditor.tsx +26 -55
- package/src/spectra/ui/FilterChoiceControl.tsx +12 -36
- package/src/spectra/ui/FilterFieldControl.tsx +6 -39
- package/src/spectra/ui/FilterRow.tsx +10 -21
- package/src/spectra/ui/MatrixFilterRows.tsx +40 -50
- package/src/spectra/ui/NormalizationEditor.tsx +13 -35
- package/src/spectra/ui/NumberField.tsx +5 -20
- package/src/spectra/ui/PostProcessingEditor.tsx +5 -5
- package/src/spectra/ui/PrincipalComponentSelect.tsx +18 -33
- package/src/spectra/ui/ProblemList.tsx +22 -8
- package/src/spectra/ui/RangeRows.tsx +46 -125
- package/src/spectra/ui/ScaleFields.tsx +16 -67
- package/src/spectra/ui/SettingsPart.tsx +8 -13
- package/src/spectra/ui/SpectraSettingsEditor.tsx +8 -2
- package/src/spectra/ui/SpectrumSelection.tsx +10 -25
- package/src/spectra/ui/XWindowFields.tsx +73 -0
- package/src/spectra/ui/ZoneRows.tsx +41 -106
- package/src/spectra/ui/fieldStyles.ts +72 -0
- package/src/spectra/ui/problemsAbout.ts +9 -11
- package/src/spectra/ui/rowKeys.ts +51 -20
- package/src/spectra/ui/scaleOptions.ts +16 -10
- package/src/spectra.ts +13 -0
- package/src/state/core/index.ts +11 -0
- package/src/state/{ui → core}/persistBucket.ts +13 -62
- package/src/state/core/persistSignalBucket.ts +118 -0
- package/src/state/core/storageEntry.ts +93 -0
- package/src/structure/core/atomLabels.ts +63 -0
- package/src/structure/core/editorValue.ts +5 -1
- package/src/structure/core/index.ts +11 -2
- package/src/structure/core/readStructure.ts +1 -0
- package/src/structure/core/structureError.ts +58 -0
- package/src/structure/core/structureSource.ts +20 -5
- package/src/structure/ui/EditorCanvas.tsx +1 -1
- package/src/structure/ui/Structure.tsx +41 -0
- package/src/structure/ui/StructureEditor.tsx +13 -4
- package/src/structure/ui/StructurePlaceholder.tsx +4 -2
- package/src/structure/ui/StructureSvg.tsx +118 -42
- package/src/structure/ui/useToolbarFloor.ts +1 -0
- package/src/tokens/core/checkTokens.ts +48 -51
- package/src/tokens/core/colors.ts +1 -1
- package/src/tokens/core/cssReading.ts +166 -0
- package/src/tokens/core/familyTokens.ts +69 -0
- package/src/tokens/core/index.ts +9 -5
- package/src/tokens/core/rules.ts +2 -2
- package/src/tokens/core/types.ts +7 -0
- package/src/ui.ts +2 -2
- package/src/worker/core/chunks.ts +126 -0
- package/src/worker/core/index.ts +20 -3
- package/src/worker/core/messages.ts +79 -4
- package/src/worker/core/serveWorkerRequests.ts +144 -0
- package/src/worker/core/workerChannel.ts +209 -177
- package/src/worker/core/workerChannelParts.ts +183 -0
- package/src/worker/core/workerChannelTypes.ts +129 -0
- package/styles/chrome.css +82 -0
- package/lib/delimited/core/rowsToDelimited.d.ts +0 -59
- package/lib/delimited/core/rowsToDelimited.d.ts.map +0 -1
- package/lib/delimited/core/rowsToDelimited.js +0 -87
- package/lib/delimited/core/rowsToDelimited.js.map +0 -1
- package/lib/ecosystem/core/links.d.ts +0 -11
- package/lib/ecosystem/core/links.d.ts.map +0 -1
- package/lib/ecosystem/core/links.js +0 -28
- package/lib/ecosystem/core/links.js.map +0 -1
- package/lib/error/ui/toError.d.ts +0 -11
- package/lib/error/ui/toError.d.ts.map +0 -1
- package/lib/error/ui/toError.js.map +0 -1
- package/lib/pedagogy/core/jsonStorage.d.ts +0 -21
- package/lib/pedagogy/core/jsonStorage.d.ts.map +0 -1
- package/lib/pedagogy/core/jsonStorage.js +0 -55
- package/lib/pedagogy/core/jsonStorage.js.map +0 -1
- package/lib/projection/ui/projectionCloudChoices.d.ts +0 -18
- package/lib/projection/ui/projectionCloudChoices.d.ts.map +0 -1
- package/lib/projection/ui/projectionCloudChoices.js +0 -19
- package/lib/projection/ui/projectionCloudChoices.js.map +0 -1
- package/lib/projection/ui/projectionEllipsoid.d.ts +0 -38
- package/lib/projection/ui/projectionEllipsoid.d.ts.map +0 -1
- package/lib/projection/ui/projectionEllipsoid.js +0 -71
- package/lib/projection/ui/projectionEllipsoid.js.map +0 -1
- package/lib/router/core/pageAddresses.d.ts +0 -50
- package/lib/router/core/pageAddresses.d.ts.map +0 -1
- package/lib/router/core/pageAddresses.js +0 -56
- package/lib/router/core/pageAddresses.js.map +0 -1
- package/lib/scatter/ui/scatterGroupSpread.d.ts.map +0 -1
- package/lib/scatter/ui/scatterGroupSpread.js +0 -147
- package/lib/scatter/ui/scatterGroupSpread.js.map +0 -1
- package/lib/scatter3d/ui/CloudPointLayer.d.ts +0 -62
- package/lib/scatter3d/ui/CloudPointLayer.d.ts.map +0 -1
- package/lib/scatter3d/ui/CloudPointLayer.js +0 -67
- package/lib/scatter3d/ui/CloudPointLayer.js.map +0 -1
- package/lib/spectra/ui/matrixSteps.d.ts +0 -61
- package/lib/spectra/ui/matrixSteps.d.ts.map +0 -1
- package/lib/spectra/ui/matrixSteps.js +0 -92
- package/lib/spectra/ui/matrixSteps.js.map +0 -1
- package/lib/state/ui/index.d.ts +0 -3
- package/lib/state/ui/index.d.ts.map +0 -1
- package/lib/state/ui/index.js +0 -2
- package/lib/state/ui/index.js.map +0 -1
- package/lib/state/ui/mergeStored.d.ts.map +0 -1
- package/lib/state/ui/mergeStored.js.map +0 -1
- package/lib/state/ui/persistBucket.d.ts.map +0 -1
- package/lib/state/ui/persistBucket.js +0 -90
- package/lib/state/ui/persistBucket.js.map +0 -1
- package/src/delimited/core/rowsToDelimited.ts +0 -135
- package/src/ecosystem/core/links.ts +0 -29
- package/src/pedagogy/core/jsonStorage.ts +0 -51
- package/src/projection/ui/projectionCloudChoices.ts +0 -23
- package/src/projection/ui/projectionEllipsoid.ts +0 -78
- package/src/router/core/pageAddresses.ts +0 -106
- package/src/scatter/ui/scatterGroupSpread.ts +0 -206
- package/src/scatter3d/ui/CloudPointLayer.tsx +0 -132
- package/src/spectra/ui/matrixSteps.ts +0 -128
- package/src/state/ui/index.ts +0 -6
- /package/lib/state/{ui → core}/mergeStored.d.ts +0 -0
- /package/lib/state/{ui → core}/mergeStored.js +0 -0
- /package/lib/state/{ui → core}/persistBucket.d.ts +0 -0
- /package/src/state/{ui → core}/mergeStored.ts +0 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The field vocabulary every spectra panel is drawn with. Every colour and
|
|
3
|
+
* radius is a reference to the family's tokens with no literal after it:
|
|
4
|
+
* `chrome.css` is required on every page, and a fallback typed here would only
|
|
5
|
+
* drift from the value it copies.
|
|
6
|
+
*/
|
|
7
|
+
/** The small name above a control. */
|
|
8
|
+
export const LABEL_STYLE = {
|
|
9
|
+
fontSize: 11,
|
|
10
|
+
fontWeight: 600,
|
|
11
|
+
color: 'var(--text-muted)',
|
|
12
|
+
};
|
|
13
|
+
/** The one line under a control or a list saying what it changes. */
|
|
14
|
+
export const HELP_STYLE = {
|
|
15
|
+
fontSize: 11,
|
|
16
|
+
color: 'var(--text-faint)',
|
|
17
|
+
};
|
|
18
|
+
/** What a list says when it holds nothing. */
|
|
19
|
+
export const EMPTY_STYLE = {
|
|
20
|
+
fontSize: 12,
|
|
21
|
+
color: 'var(--text-faint)',
|
|
22
|
+
};
|
|
23
|
+
/** A Blueprint switch or checkbox set in the panel's own type size. */
|
|
24
|
+
export const SWITCH_STYLE = {
|
|
25
|
+
margin: 0,
|
|
26
|
+
fontSize: 12,
|
|
27
|
+
};
|
|
28
|
+
/** A label stacked over its control. */
|
|
29
|
+
export const FIELD_STYLE = {
|
|
30
|
+
display: 'flex',
|
|
31
|
+
flexDirection: 'column',
|
|
32
|
+
gap: 2,
|
|
33
|
+
};
|
|
34
|
+
/** Rows stacked one under the other. */
|
|
35
|
+
export const LIST_STYLE = {
|
|
36
|
+
display: 'flex',
|
|
37
|
+
flexDirection: 'column',
|
|
38
|
+
gap: 6,
|
|
39
|
+
};
|
|
40
|
+
/** Fields side by side, wrapping, their boxes lined up along the bottom. */
|
|
41
|
+
export const ROW_STYLE = {
|
|
42
|
+
display: 'flex',
|
|
43
|
+
flexWrap: 'wrap',
|
|
44
|
+
alignItems: 'flex-end',
|
|
45
|
+
gap: 8,
|
|
46
|
+
};
|
|
47
|
+
/** A box that holds code rather than prose: a formula, an expression. */
|
|
48
|
+
export const MONOSPACE_STYLE = {
|
|
49
|
+
fontFamily: 'var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace)',
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* A stacked field that shares a row with others, never narrower than it can be
|
|
53
|
+
* read at.
|
|
54
|
+
* @param width - The narrowest it may get, in pixels.
|
|
55
|
+
* @param grow - How much of the spare room it takes against its neighbours.
|
|
56
|
+
* @returns The style.
|
|
57
|
+
*/
|
|
58
|
+
export function sizedFieldStyle(width, grow = 1) {
|
|
59
|
+
return { ...FIELD_STYLE, minWidth: width, flex: `${grow} 1 ${width}px` };
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=fieldStyles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fieldStyles.js","sourceRoot":"","sources":["../../../src/spectra/ui/fieldStyles.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH,sCAAsC;AACtC,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,GAAG;IACf,KAAK,EAAE,mBAAmB;CACM,CAAC;AAEnC,qEAAqE;AACrE,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,QAAQ,EAAE,EAAE;IACZ,KAAK,EAAE,mBAAmB;CACM,CAAC;AAEnC,8CAA8C;AAC9C,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,QAAQ,EAAE,EAAE;IACZ,KAAK,EAAE,mBAAmB;CACM,CAAC;AAEnC,uEAAuE;AACvE,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,MAAM,EAAE,CAAC;IACT,QAAQ,EAAE,EAAE;CACoB,CAAC;AAEnC,wCAAwC;AACxC,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,QAAQ;IACvB,GAAG,EAAE,CAAC;CAC0B,CAAC;AAEnC,wCAAwC;AACxC,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,QAAQ;IACvB,GAAG,EAAE,CAAC;CAC0B,CAAC;AAEnC,4EAA4E;AAC5E,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,OAAO,EAAE,MAAM;IACf,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,UAAU;IACtB,GAAG,EAAE,CAAC;CAC0B,CAAC;AAEnC,yEAAyE;AACzE,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,UAAU,EACR,kEAAkE;CACpC,CAAC;AAEnC;;;;;;GAMG;AACH,MAAM,UAAU,eAAe,CAAC,KAAa,EAAE,IAAI,GAAG,CAAC;IACrD,OAAO,EAAE,GAAG,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;AAC3E,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type { SettingsProblem } from '../core/problems.ts';
|
|
1
|
+
import type { ProblemPart, SettingsProblem } from '../core/problems.ts';
|
|
2
2
|
/**
|
|
3
|
-
* The problems
|
|
3
|
+
* The problems about one part of the settings.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
5
|
+
* A part of the panel asks for its own by the `part` every problem carries and
|
|
6
|
+
* never by the `where` it is labelled with, so rewording a label cannot move a
|
|
7
|
+
* problem away from the field that causes it — which is what keeps a problem
|
|
8
|
+
* next to that field rather than in one list at the top.
|
|
9
9
|
* @param problems - Every problem the settings have.
|
|
10
|
-
* @param
|
|
10
|
+
* @param part - The part the panel answers for.
|
|
11
11
|
* @returns Only those problems, in the order they were found.
|
|
12
12
|
*/
|
|
13
|
-
export declare function problemsAbout(problems: readonly SettingsProblem[],
|
|
13
|
+
export declare function problemsAbout(problems: readonly SettingsProblem[], part: ProblemPart): SettingsProblem[];
|
|
14
14
|
//# sourceMappingURL=problemsAbout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"problemsAbout.d.ts","sourceRoot":"","sources":["../../../src/spectra/ui/problemsAbout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"problemsAbout.d.ts","sourceRoot":"","sources":["../../../src/spectra/ui/problemsAbout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAExE;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,SAAS,eAAe,EAAE,EACpC,IAAI,EAAE,WAAW,GAChB,eAAe,EAAE,CAEnB"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The problems
|
|
2
|
+
* The problems about one part of the settings.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* A part of the panel asks for its own by the `part` every problem carries and
|
|
5
|
+
* never by the `where` it is labelled with, so rewording a label cannot move a
|
|
6
|
+
* problem away from the field that causes it — which is what keeps a problem
|
|
7
|
+
* next to that field rather than in one list at the top.
|
|
8
8
|
* @param problems - Every problem the settings have.
|
|
9
|
-
* @param
|
|
9
|
+
* @param part - The part the panel answers for.
|
|
10
10
|
* @returns Only those problems, in the order they were found.
|
|
11
11
|
*/
|
|
12
|
-
export function problemsAbout(problems,
|
|
13
|
-
return problems.filter((entry) =>
|
|
12
|
+
export function problemsAbout(problems, part) {
|
|
13
|
+
return problems.filter((entry) => entry.part === part);
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=problemsAbout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"problemsAbout.js","sourceRoot":"","sources":["../../../src/spectra/ui/problemsAbout.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,MAAM,UAAU,aAAa,CAC3B,QAAoC,EACpC,
|
|
1
|
+
{"version":3,"file":"problemsAbout.js","sourceRoot":"","sources":["../../../src/spectra/ui/problemsAbout.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,MAAM,UAAU,aAAa,CAC3B,QAAoC,EACpC,IAAiB;IAEjB,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;AACzD,CAAC"}
|
|
@@ -1,10 +1,31 @@
|
|
|
1
|
+
/** The keys of a list of rows, and the edits that keep them in step with it. */
|
|
2
|
+
interface RowKeys {
|
|
3
|
+
/** One key per row, in the order the rows are drawn. */
|
|
4
|
+
keys: readonly number[];
|
|
5
|
+
/** Call when a row is added at the end of the list. */
|
|
6
|
+
append: () => void;
|
|
7
|
+
/** Call when a row is inserted just after the one at `index`. */
|
|
8
|
+
insertAfter: (index: number) => void;
|
|
9
|
+
/** Call when the row at `index` is removed. */
|
|
10
|
+
removeAt: (index: number) => void;
|
|
11
|
+
/** Call when the row at `index` moves to `target`. */
|
|
12
|
+
move: (index: number, target: number) => void;
|
|
13
|
+
}
|
|
1
14
|
/**
|
|
2
|
-
* A key
|
|
15
|
+
* A key for every row of a list whose entries carry no identity of their own.
|
|
3
16
|
*
|
|
4
17
|
* A row of the settings — a zone, a matrix step, a range — carries no identity
|
|
5
18
|
* of its own, so one is kept beside the list. Without it React reuses a removed
|
|
6
19
|
* row's box for the row that slides up, and the half-typed number in it goes
|
|
7
|
-
* with the wrong entry.
|
|
20
|
+
* with the wrong entry. Call the matching edit together with every change the
|
|
21
|
+
* list makes itself; a change from elsewhere — a preset, a reset — is caught up
|
|
22
|
+
* with on the next render by trimming or extending the keys.
|
|
23
|
+
* @param length - How many rows the list has now.
|
|
24
|
+
* @returns The keys and their edits. See {@link RowKeys}.
|
|
25
|
+
*/
|
|
26
|
+
export declare function useRowKeys(length: number): RowKeys;
|
|
27
|
+
/**
|
|
28
|
+
* A key no row is using yet.
|
|
8
29
|
* @param keys - The keys in force.
|
|
9
30
|
* @returns The next free one.
|
|
10
31
|
*/
|
|
@@ -16,12 +37,5 @@ export declare function nextKey(keys: readonly number[]): number;
|
|
|
16
37
|
* @returns One key per row.
|
|
17
38
|
*/
|
|
18
39
|
export declare function fitKeys(keys: readonly number[], length: number): number[];
|
|
19
|
-
|
|
20
|
-
* A list with one entry moved to another position.
|
|
21
|
-
* @param list - What to reorder.
|
|
22
|
-
* @param index - Which entry to move.
|
|
23
|
-
* @param target - Where it lands.
|
|
24
|
-
* @returns A new list.
|
|
25
|
-
*/
|
|
26
|
-
export declare function reorder<T>(list: readonly T[], index: number, target: number): T[];
|
|
40
|
+
export {};
|
|
27
41
|
//# sourceMappingURL=rowKeys.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rowKeys.d.ts","sourceRoot":"","sources":["../../../src/spectra/ui/rowKeys.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"rowKeys.d.ts","sourceRoot":"","sources":["../../../src/spectra/ui/rowKeys.ts"],"names":[],"mappings":"AAIA,gFAAgF;AAChF,UAAU,OAAO;IACf,wDAAwD;IACxD,IAAI,EAAE,SAAS,MAAM,EAAE,CAAC;IACxB,uDAAuD;IACvD,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,iEAAiE;IACjE,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,+CAA+C;IAC/C,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,sDAAsD;IACtD,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAsBlD;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,CAMvD;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAIzE"}
|
|
@@ -1,10 +1,40 @@
|
|
|
1
|
+
import { useState } from 'react';
|
|
2
|
+
import { reorder } from "../core/filterChain.js";
|
|
1
3
|
/**
|
|
2
|
-
* A key
|
|
4
|
+
* A key for every row of a list whose entries carry no identity of their own.
|
|
3
5
|
*
|
|
4
6
|
* A row of the settings — a zone, a matrix step, a range — carries no identity
|
|
5
7
|
* of its own, so one is kept beside the list. Without it React reuses a removed
|
|
6
8
|
* row's box for the row that slides up, and the half-typed number in it goes
|
|
7
|
-
* with the wrong entry.
|
|
9
|
+
* with the wrong entry. Call the matching edit together with every change the
|
|
10
|
+
* list makes itself; a change from elsewhere — a preset, a reset — is caught up
|
|
11
|
+
* with on the next render by trimming or extending the keys.
|
|
12
|
+
* @param length - How many rows the list has now.
|
|
13
|
+
* @returns The keys and their edits. See {@link RowKeys}.
|
|
14
|
+
*/
|
|
15
|
+
export function useRowKeys(length) {
|
|
16
|
+
const [keys, setKeys] = useState(() => fitKeys([], length));
|
|
17
|
+
const current = keys.length === length ? keys : fitKeys(keys, length);
|
|
18
|
+
if (current !== keys)
|
|
19
|
+
setKeys(current);
|
|
20
|
+
return {
|
|
21
|
+
keys: current,
|
|
22
|
+
append: () => {
|
|
23
|
+
setKeys([...current, nextKey(current)]);
|
|
24
|
+
},
|
|
25
|
+
insertAfter: (index) => {
|
|
26
|
+
setKeys(current.toSpliced(index + 1, 0, nextKey(current)));
|
|
27
|
+
},
|
|
28
|
+
removeAt: (index) => {
|
|
29
|
+
setKeys(current.toSpliced(index, 1));
|
|
30
|
+
},
|
|
31
|
+
move: (index, target) => {
|
|
32
|
+
setKeys(reorder(current, index, target));
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* A key no row is using yet.
|
|
8
38
|
* @param keys - The keys in force.
|
|
9
39
|
* @returns The next free one.
|
|
10
40
|
*/
|
|
@@ -28,18 +58,4 @@ export function fitKeys(keys, length) {
|
|
|
28
58
|
fitted.push(nextKey(fitted));
|
|
29
59
|
return fitted;
|
|
30
60
|
}
|
|
31
|
-
/**
|
|
32
|
-
* A list with one entry moved to another position.
|
|
33
|
-
* @param list - What to reorder.
|
|
34
|
-
* @param index - Which entry to move.
|
|
35
|
-
* @param target - Where it lands.
|
|
36
|
-
* @returns A new list.
|
|
37
|
-
*/
|
|
38
|
-
export function reorder(list, index, target) {
|
|
39
|
-
const moved = [...list];
|
|
40
|
-
const [entry] = moved.splice(index, 1);
|
|
41
|
-
if (entry !== undefined)
|
|
42
|
-
moved.splice(target, 0, entry);
|
|
43
|
-
return moved;
|
|
44
|
-
}
|
|
45
61
|
//# sourceMappingURL=rowKeys.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rowKeys.js","sourceRoot":"","sources":["../../../src/spectra/ui/rowKeys.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"rowKeys.js","sourceRoot":"","sources":["../../../src/spectra/ui/rowKeys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAgBjD;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,UAAU,CAAC,MAAc;IACvC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAoB,GAAG,EAAE,CACvD,OAAO,CAAC,EAAE,EAAE,MAAM,CAAC,CACpB,CAAC;IACF,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM,KAAK,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IACtE,IAAI,OAAO,KAAK,IAAI;QAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IAEvC,OAAO;QACL,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,GAAG,EAAE;YACX,OAAO,CAAC,CAAC,GAAG,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAC1C,CAAC;QACD,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE;YACrB,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAC7D,CAAC;QACD,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE;YAClB,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;QACvC,CAAC;QACD,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;YACtB,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;QAC3C,CAAC;KACF,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,OAAO,CAAC,IAAuB;IAC7C,IAAI,OAAO,GAAG,CAAC,CAAC,CAAC;IACjB,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACvB,IAAI,GAAG,GAAG,OAAO;YAAE,OAAO,GAAG,GAAG,CAAC;IACnC,CAAC;IACD,OAAO,OAAO,GAAG,CAAC,CAAC;AACrB,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,OAAO,CAAC,IAAuB,EAAE,MAAc;IAC7D,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;IACrC,OAAO,MAAM,CAAC,MAAM,GAAG,MAAM;QAAE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;IAC5D,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import type { ScaleSettings } from '../core/settings.ts';
|
|
2
2
|
/** The stretch of x a scaling is measured over. */
|
|
3
3
|
export type ScaleRange = NonNullable<ScaleSettings['range']>;
|
|
4
|
+
/**
|
|
5
|
+
* How the processor resolves a window given both ways, said once for the
|
|
6
|
+
* scaling and for the ranges, which resolve theirs with the same call.
|
|
7
|
+
*/
|
|
8
|
+
export declare const POINT_NUMBER_WINS = "A point number silently wins over an x value: with From point set, From is never read.";
|
|
4
9
|
/** The method menu: leaving the spectra alone, then the only four that run. */
|
|
5
10
|
export declare const SCALE_METHOD_OPTIONS: ReadonlyArray<{
|
|
6
11
|
value: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scaleOptions.d.ts","sourceRoot":"","sources":["../../../src/spectra/ui/scaleOptions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"scaleOptions.d.ts","sourceRoot":"","sources":["../../../src/spectra/ui/scaleOptions.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,mDAAmD;AACnD,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC;AAE7D;;;GAGG;AACH,eAAO,MAAM,iBAAiB,2FAC4D,CAAC;AAE3F,+EAA+E;AAC/E,eAAO,MAAM,oBAAoB,EAAE,aAAa,CAAC;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAMA,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,MAAM,GAAG,SAAS,GACzB,aAAa,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAmBjD;AAED;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,aAAa,EACpB,MAAM,EAAE,MAAM,GACb,aAAa,CAKf;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,aAAa,EACpB,QAAQ,EAAE,MAAM,GACf,aAAa,CAKf;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE,aAAa,EACpB,KAAK,EAAE,UAAU,GAChB,aAAa,CAYf"}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import { SCALE_METHODS } from "../core/
|
|
2
|
-
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
integration: 'Integral',
|
|
8
|
-
};
|
|
1
|
+
import { SCALE_METHODS, SCALE_METHOD_LABELS, isScaleMethod, } from "../core/matrixCatalog.js";
|
|
2
|
+
/**
|
|
3
|
+
* How the processor resolves a window given both ways, said once for the
|
|
4
|
+
* scaling and for the ranges, which resolve theirs with the same call.
|
|
5
|
+
*/
|
|
6
|
+
export const POINT_NUMBER_WINS = 'A point number silently wins over an x value: with From point set, From is never read.';
|
|
9
7
|
/** The method menu: leaving the spectra alone, then the only four that run. */
|
|
10
8
|
export const SCALE_METHOD_OPTIONS = [
|
|
11
9
|
{ value: '', label: 'None — every spectrum is left as it is' },
|
|
12
10
|
...SCALE_METHODS.map((method) => ({
|
|
13
11
|
value: method,
|
|
14
|
-
label:
|
|
12
|
+
label: SCALE_METHOD_LABELS[method],
|
|
15
13
|
})),
|
|
16
14
|
];
|
|
17
15
|
/**
|
|
@@ -33,7 +31,10 @@ export function scaleMethodOptions(method) {
|
|
|
33
31
|
if (option.value === method)
|
|
34
32
|
return SCALE_METHOD_OPTIONS;
|
|
35
33
|
}
|
|
36
|
-
const
|
|
34
|
+
const lowered = method.toLowerCase();
|
|
35
|
+
const known = isScaleMethod(lowered)
|
|
36
|
+
? SCALE_METHOD_LABELS[lowered]
|
|
37
|
+
: undefined;
|
|
37
38
|
return [
|
|
38
39
|
...SCALE_METHOD_OPTIONS,
|
|
39
40
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scaleOptions.js","sourceRoot":"","sources":["../../../src/spectra/ui/scaleOptions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"scaleOptions.js","sourceRoot":"","sources":["../../../src/spectra/ui/scaleOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,aAAa,GACd,MAAM,0BAA0B,CAAC;AAMlC;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAC5B,wFAAwF,CAAC;AAE3F,+EAA+E;AAC/E,MAAM,CAAC,MAAM,oBAAoB,GAG5B;IACH,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,wCAAwC,EAAE;IAC9D,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAChC,KAAK,EAAE,MAAM;QACb,KAAK,EAAE,mBAAmB,CAAC,MAAM,CAAC;KACnC,CAAC,CAAC;CACJ,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,kBAAkB,CAChC,MAA0B;IAE1B,IAAI,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,EAAE;QAAE,OAAO,oBAAoB,CAAC;IACvE,KAAK,MAAM,MAAM,IAAI,oBAAoB,EAAE,CAAC;QAC1C,IAAI,MAAM,CAAC,KAAK,KAAK,MAAM;YAAE,OAAO,oBAAoB,CAAC;IAC3D,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,CAAC,WAAW,EAAE,CAAC;IACrC,MAAM,KAAK,GAAG,aAAa,CAAC,OAAO,CAAC;QAClC,CAAC,CAAC,mBAAmB,CAAC,OAAO,CAAC;QAC9B,CAAC,CAAC,SAAS,CAAC;IACd,OAAO;QACL,GAAG,oBAAoB;QACvB;YACE,KAAK,EAAE,MAAM;YACb,KAAK,EACH,KAAK,KAAK,SAAS;gBACjB,CAAC,CAAC,GAAG,MAAM,sCAAsC;gBACjD,CAAC,CAAC,GAAG,MAAM,MAAM,KAAK,EAAE;SAC7B;KACF,CAAC;AACJ,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,eAAe,CAC7B,KAAoB,EACpB,MAAc;IAEd,MAAM,IAAI,GAAkB,EAAE,GAAG,KAAK,EAAE,CAAC;IACzC,IAAI,MAAM,KAAK,EAAE;QAAE,OAAO,IAAI,CAAC,MAAM,CAAC;;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IAC1B,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,eAAe,CAC7B,KAAoB,EACpB,QAAgB;IAEhB,MAAM,IAAI,GAAkB,EAAE,GAAG,KAAK,EAAE,CAAC;IACzC,IAAI,QAAQ,KAAK,EAAE;QAAE,OAAO,IAAI,CAAC,QAAQ,CAAC;;QACrC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC9B,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,cAAc,CAC5B,KAAoB,EACpB,KAAiB;IAEjB,MAAM,MAAM,GAAe,EAAE,GAAG,KAAK,CAAC,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC;IACxD,MAAM,KAAK,GAAe,EAAE,CAAC;IAC7B,IAAI,MAAM,CAAC,IAAI,KAAK,SAAS;QAAE,KAAK,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;IACxD,IAAI,MAAM,CAAC,EAAE,KAAK,SAAS;QAAE,KAAK,CAAC,EAAE,GAAG,MAAM,CAAC,EAAE,CAAC;IAClD,IAAI,MAAM,CAAC,SAAS,KAAK,SAAS;QAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;IACvE,IAAI,MAAM,CAAC,OAAO,KAAK,SAAS;QAAE,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;IAEjE,MAAM,IAAI,GAAkB,EAAE,GAAG,KAAK,EAAE,CAAC;IACzC,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC,KAAK,CAAC;;QAClD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACxB,OAAO,IAAI,CAAC;AACd,CAAC"}
|
package/lib/spectra.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The editor for `spectra-processor` settings and the principal-component
|
|
3
|
+
* picker that goes with it.
|
|
4
|
+
*
|
|
5
|
+
* An entry point of its own, and not part of `react-cheminfo/core` or
|
|
6
|
+
* `react-cheminfo/ui`, because its types are read off three optional peers —
|
|
7
|
+
* `spectra-processor`, `ml-signal-processing` and `ml-pca` — that a site with
|
|
8
|
+
* no spectra to process never installs. The vocabulary and the checks need
|
|
9
|
+
* no React and are exported beside the components.
|
|
10
|
+
*/
|
|
11
|
+
export * from './spectra/core/index.ts';
|
|
12
|
+
export * from './spectra/ui/index.ts';
|
|
13
|
+
//# sourceMappingURL=spectra.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spectra.d.ts","sourceRoot":"","sources":["../src/spectra.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC"}
|
package/lib/spectra.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The editor for `spectra-processor` settings and the principal-component
|
|
3
|
+
* picker that goes with it.
|
|
4
|
+
*
|
|
5
|
+
* An entry point of its own, and not part of `react-cheminfo/core` or
|
|
6
|
+
* `react-cheminfo/ui`, because its types are read off three optional peers —
|
|
7
|
+
* `spectra-processor`, `ml-signal-processing` and `ml-pca` — that a site with
|
|
8
|
+
* no spectra to process never installs. The vocabulary and the checks need
|
|
9
|
+
* no React and are exported beside the components.
|
|
10
|
+
*/
|
|
11
|
+
export * from "./spectra/core/index.js";
|
|
12
|
+
export * from "./spectra/ui/index.js";
|
|
13
|
+
//# sourceMappingURL=spectra.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spectra.js","sourceRoot":"","sources":["../src/spectra.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type { BucketRead, PersistBucketOptions, PersistedBucket, } from './persistBucket.ts';
|
|
2
|
+
export { persistBucket } from './persistBucket.ts';
|
|
3
|
+
export type { PersistSignalBucketOptions, SignalEffect, } from './persistSignalBucket.ts';
|
|
4
|
+
export { persistSignalBucket } from './persistSignalBucket.ts';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/state/core/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,UAAU,EACV,oBAAoB,EACpB,eAAe,GAChB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,YAAY,EACV,0BAA0B,EAC1B,YAAY,GACb,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/state/core/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAKnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mergeStored.d.ts","sourceRoot":"","sources":["../../../src/state/core/mergeStored.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,GAAG,CAAC,CAG7E;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAElC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mergeStored.js","sourceRoot":"","sources":["../../../src/state/core/mergeStored.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,UAAU,WAAW,CAAmB,QAAW,EAAE,MAAe;IACxE,MAAM,MAAM,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACnD,OAAO,WAAW,CAAC,QAAmC,EAAE,MAAM,CAAM,CAAC;AACvE,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,aAAa,CAC3B,KAAc;IAEd,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAC9E,CAAC;AAED,SAAS,WAAW,CAClB,QAAiC,EACjC,MAA+B;IAE/B,MAAM,MAAM,GAA4B,EAAE,CAAC;IAC3C,KAAK,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;QACrD,MAAM,CAAC,IAAI,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;IACnC,CAAC;IACD,KAAK,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;QACnD,IAAI,KAAK,KAAK,SAAS;YAAE,SAAS;QAClC,MAAM,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,IAAI,CAAC;YAC1C,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC;YACnC,CAAC,CAAC,KAAK,CAAC;IACZ,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,SAAS,UAAU,CAAC,YAAqB,EAAE,WAAoB;IAC7D,IAAI,aAAa,CAAC,YAAY,CAAC,IAAI,aAAa,CAAC,WAAW,CAAC,EAAE,CAAC;QAC9D,OAAO,WAAW,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC;IAChD,CAAC;IACD,OAAO,YAAY,CAAC,YAAY,EAAE,WAAW,CAAC;QAC5C,CAAC,CAAC,WAAW;QACb,CAAC,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;AAC/B,CAAC;AAED,+EAA+E;AAC/E,cAAc;AACd,SAAS,YAAY,CAAC,YAAqB,EAAE,WAAoB;IAC/D,IAAI,YAAY,KAAK,IAAI,IAAI,YAAY,KAAK,SAAS;QAAE,OAAO,IAAI,CAAC;IACrE,IAAI,WAAW,KAAK,IAAI;QAAE,OAAO,KAAK,CAAC;IACvC,IAAI,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,KAAK,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC;QAAE,OAAO,KAAK,CAAC;IAC7E,OAAO,OAAO,YAAY,KAAK,OAAO,WAAW,CAAC;AACpD,CAAC;AAED,SAAS,UAAU,CAAC,KAAc;IAChC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACzB,MAAM,IAAI,GAAG,IAAI,KAAK,CAAU,KAAK,CAAC,MAAM,CAAC,CAAC;QAC9C,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;YAClD,IAAI,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;QACzC,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC;QACzB,MAAM,IAAI,GAA4B,EAAE,CAAC;QACzC,KAAK,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;YACjD,IAAI,CAAC,IAAI,CAAC,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC;QAChC,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"persistBucket.d.ts","sourceRoot":"","sources":["../../../src/state/core/persistBucket.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,EAC5C,OAAO,EAAE,oBAAoB,CAAC,CAAC,CAAC,GAC/B,eAAe,CAAC,CAAC,CAAC,CAqBpB;AAED,sDAAsD;AACtD,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,MAAM;IACpD;;;OAGG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,EAAE,CAAC,CAAC;IACZ;;;;;OAKG;IACH,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5C;AAED,6CAA6C;AAC7C,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,MAAM;IAC/C,yEAAyE;IACzE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,iDAAiD;IACjD,IAAI,EAAE,MAAM,UAAU,CAAC,CAAC,CAAC,CAAC;IAC1B,mEAAmE;IACnE,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAC1B,8EAA8E;IAC9E,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,uCAAuC;AACvC,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,2EAA2E;IAC3E,KAAK,EAAE,CAAC,CAAC;IACT;;;;;OAKG;IACH,QAAQ,EAAE,OAAO,CAAC;CACnB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { isPlainRecord, mergeStored } from "./mergeStored.js";
|
|
2
|
+
import { readStorageEntry, removeStorageEntry, versionedStorageKey, writeStorageEntry, } from "./storageEntry.js";
|
|
3
|
+
/**
|
|
4
|
+
* A bucket of preferences kept in `localStorage` under one versioned key.
|
|
5
|
+
*
|
|
6
|
+
* Everything here is best effort. In a page framed by a course, third-party
|
|
7
|
+
* storage is partitioned in Chrome and blocked in Safari, so a read may find
|
|
8
|
+
* nothing, a write may be refused, and touching the store may throw before it
|
|
9
|
+
* is even reached — none of which may ever reach the interface. A visitor whose
|
|
10
|
+
* quota is full still gets a working site, with their preferences lasting only
|
|
11
|
+
* as long as the tab.
|
|
12
|
+
* @param options - See {@link PersistBucketOptions}.
|
|
13
|
+
* @returns The three ways to use the bucket: read it, write it, forget it.
|
|
14
|
+
*/
|
|
15
|
+
export function persistBucket(options) {
|
|
16
|
+
const { key, version = 1, defaults, onQuotaExceeded } = options;
|
|
17
|
+
const storageKey = versionedStorageKey(key, version);
|
|
18
|
+
return {
|
|
19
|
+
storageKey,
|
|
20
|
+
read: () => {
|
|
21
|
+
const stored = readStorageEntry(storageKey);
|
|
22
|
+
const usable = isPlainRecord(stored) ? stored : undefined;
|
|
23
|
+
return {
|
|
24
|
+
value: mergeStored(defaults, usable),
|
|
25
|
+
firstRun: usable === undefined,
|
|
26
|
+
};
|
|
27
|
+
},
|
|
28
|
+
write: (value) => {
|
|
29
|
+
writeStorageEntry(storageKey, value, onQuotaExceeded);
|
|
30
|
+
},
|
|
31
|
+
clear: () => {
|
|
32
|
+
removeStorageEntry(storageKey);
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=persistBucket.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"persistBucket.js","sourceRoot":"","sources":["../../../src/state/core/persistBucket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAE3B;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,aAAa,CAC3B,OAAgC;IAEhC,MAAM,EAAE,GAAG,EAAE,OAAO,GAAG,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,GAAG,OAAO,CAAC;IAChE,MAAM,UAAU,GAAG,mBAAmB,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;IAErD,OAAO;QACL,UAAU;QACV,IAAI,EAAE,GAAG,EAAE;YACT,MAAM,MAAM,GAAG,gBAAgB,CAAC,UAAU,CAAC,CAAC;YAC5C,MAAM,MAAM,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,OAAO;gBACL,KAAK,EAAE,WAAW,CAAC,QAAQ,EAAE,MAAM,CAAC;gBACpC,QAAQ,EAAE,MAAM,KAAK,SAAS;aAC/B,CAAC;QACJ,CAAC;QACD,KAAK,EAAE,CAAC,KAAQ,EAAE,EAAE;YAClB,iBAAiB,CAAC,UAAU,EAAE,KAAK,EAAE,eAAe,CAAC,CAAC;QACxD,CAAC;QACD,KAAK,EAAE,GAAG,EAAE;YACV,kBAAkB,CAAC,UAAU,CAAC,CAAC;QACjC,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Keep a tree of signals in `localStorage`, under one versioned key.
|
|
3
|
+
*
|
|
4
|
+
* A bucket is a plain object whose leaves are writable signals, grouped in
|
|
5
|
+
* plain objects as deeply as needed. The whole tree is stored as one JSON
|
|
6
|
+
* mirror of itself, so the stability contract is the property names, never a
|
|
7
|
+
* key per signal. On the way in, the stored payload is merged over the bucket
|
|
8
|
+
* as it was declared ({@link persistBucket}), so a leaf added since the last
|
|
9
|
+
* save keeps its default and a stored value of the wrong shape is discarded.
|
|
10
|
+
* On the way out, `effect` re-runs whenever a leaf changes and the whole tree
|
|
11
|
+
* is written again; its first run only subscribes, so opening a page never
|
|
12
|
+
* writes the defaults back.
|
|
13
|
+
*
|
|
14
|
+
* The leaves are recognised by their shape (`value`, `peek` and `subscribe`),
|
|
15
|
+
* so any `@preact/signals` flavour works, and `effect` is the page's own, so
|
|
16
|
+
* the tracking is always done by the copy of the library that made the
|
|
17
|
+
* signals. A member that is neither a signal nor a plain object is ignored.
|
|
18
|
+
* Never put a `computed()` in a bucket: it cannot be written back.
|
|
19
|
+
* @param options - See {@link PersistSignalBucketOptions}.
|
|
20
|
+
* @returns The same bucket, rehydrated, so it can be exported directly.
|
|
21
|
+
*/
|
|
22
|
+
export declare function persistSignalBucket<TBucket extends object>(options: PersistSignalBucketOptions<TBucket>): TBucket;
|
|
23
|
+
/**
|
|
24
|
+
* Runs a callback now and again whenever a signal it read changes, as
|
|
25
|
+
* `effect` from `@preact/signals-react` does.
|
|
26
|
+
*/
|
|
27
|
+
export type SignalEffect = (callback: () => void) => unknown;
|
|
28
|
+
/** What {@link persistSignalBucket} is given. */
|
|
29
|
+
export interface PersistSignalBucketOptions<TBucket extends object> {
|
|
30
|
+
/**
|
|
31
|
+
* Name of the bucket, namespaced by the site and without its version, e.g.
|
|
32
|
+
* `vcl:preferences`.
|
|
33
|
+
*/
|
|
34
|
+
key: string;
|
|
35
|
+
/**
|
|
36
|
+
* Schema version, appended to the key as `:v<version>`. Raise it when a new
|
|
37
|
+
* shape cannot be reconciled with the old one field by field.
|
|
38
|
+
* @default 1
|
|
39
|
+
*/
|
|
40
|
+
version?: number;
|
|
41
|
+
/** The tree of signals, rehydrated in place and followed from then on. */
|
|
42
|
+
bucket: TBucket;
|
|
43
|
+
/** The page's own `effect`, imported from its signals package. */
|
|
44
|
+
effect: SignalEffect;
|
|
45
|
+
/**
|
|
46
|
+
* Called when a write was refused because the store is full.
|
|
47
|
+
* @default undefined
|
|
48
|
+
*/
|
|
49
|
+
onQuotaExceeded?: (error: unknown) => void;
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=persistSignalBucket.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"persistSignalBucket.d.ts","sourceRoot":"","sources":["../../../src/state/core/persistSignalBucket.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,SAAS,MAAM,EACxD,OAAO,EAAE,0BAA0B,CAAC,OAAO,CAAC,GAC3C,OAAO,CAuBT;AAED;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,QAAQ,EAAE,MAAM,IAAI,KAAK,OAAO,CAAC;AAE7D,iDAAiD;AACjD,MAAM,WAAW,0BAA0B,CAAC,OAAO,SAAS,MAAM;IAChE;;;OAGG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0EAA0E;IAC1E,MAAM,EAAE,OAAO,CAAC;IAChB,kEAAkE;IAClE,MAAM,EAAE,YAAY,CAAC;IACrB;;;OAGG;IACH,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5C"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { isPlainRecord } from "./mergeStored.js";
|
|
2
|
+
import { persistBucket } from "./persistBucket.js";
|
|
3
|
+
/**
|
|
4
|
+
* Keep a tree of signals in `localStorage`, under one versioned key.
|
|
5
|
+
*
|
|
6
|
+
* A bucket is a plain object whose leaves are writable signals, grouped in
|
|
7
|
+
* plain objects as deeply as needed. The whole tree is stored as one JSON
|
|
8
|
+
* mirror of itself, so the stability contract is the property names, never a
|
|
9
|
+
* key per signal. On the way in, the stored payload is merged over the bucket
|
|
10
|
+
* as it was declared ({@link persistBucket}), so a leaf added since the last
|
|
11
|
+
* save keeps its default and a stored value of the wrong shape is discarded.
|
|
12
|
+
* On the way out, `effect` re-runs whenever a leaf changes and the whole tree
|
|
13
|
+
* is written again; its first run only subscribes, so opening a page never
|
|
14
|
+
* writes the defaults back.
|
|
15
|
+
*
|
|
16
|
+
* The leaves are recognised by their shape (`value`, `peek` and `subscribe`),
|
|
17
|
+
* so any `@preact/signals` flavour works, and `effect` is the page's own, so
|
|
18
|
+
* the tracking is always done by the copy of the library that made the
|
|
19
|
+
* signals. A member that is neither a signal nor a plain object is ignored.
|
|
20
|
+
* Never put a `computed()` in a bucket: it cannot be written back.
|
|
21
|
+
* @param options - See {@link PersistSignalBucketOptions}.
|
|
22
|
+
* @returns The same bucket, rehydrated, so it can be exported directly.
|
|
23
|
+
*/
|
|
24
|
+
export function persistSignalBucket(options) {
|
|
25
|
+
const { key, version, bucket, effect, onQuotaExceeded } = options;
|
|
26
|
+
const stored = persistBucket({
|
|
27
|
+
key,
|
|
28
|
+
version,
|
|
29
|
+
defaults: snapshotBucket(bucket),
|
|
30
|
+
onQuotaExceeded,
|
|
31
|
+
});
|
|
32
|
+
const { value, firstRun } = stored.read();
|
|
33
|
+
if (!firstRun)
|
|
34
|
+
hydrateBucket(bucket, value);
|
|
35
|
+
let subscribed = false;
|
|
36
|
+
effect(() => {
|
|
37
|
+
const snapshot = snapshotBucket(bucket);
|
|
38
|
+
if (!subscribed) {
|
|
39
|
+
subscribed = true;
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
stored.write(snapshot);
|
|
43
|
+
});
|
|
44
|
+
return bucket;
|
|
45
|
+
}
|
|
46
|
+
function snapshotBucket(node) {
|
|
47
|
+
const snapshot = {};
|
|
48
|
+
for (const [name, member] of Object.entries(node)) {
|
|
49
|
+
if (isSignalLeaf(member)) {
|
|
50
|
+
snapshot[name] = member.value;
|
|
51
|
+
}
|
|
52
|
+
else if (isPlainRecord(member)) {
|
|
53
|
+
snapshot[name] = snapshotBucket(member);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return snapshot;
|
|
57
|
+
}
|
|
58
|
+
function hydrateBucket(node, stored) {
|
|
59
|
+
for (const [name, member] of Object.entries(node)) {
|
|
60
|
+
const value = stored[name];
|
|
61
|
+
if (value === undefined)
|
|
62
|
+
continue;
|
|
63
|
+
if (isSignalLeaf(member)) {
|
|
64
|
+
member.value = value;
|
|
65
|
+
}
|
|
66
|
+
else if (isPlainRecord(member) && isPlainRecord(value)) {
|
|
67
|
+
hydrateBucket(member, value);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
function isSignalLeaf(member) {
|
|
72
|
+
if (typeof member !== 'object' || member === null)
|
|
73
|
+
return false;
|
|
74
|
+
const candidate = member;
|
|
75
|
+
return ('value' in member &&
|
|
76
|
+
typeof candidate.peek === 'function' &&
|
|
77
|
+
typeof candidate.subscribe === 'function');
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=persistSignalBucket.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"persistSignalBucket.js","sourceRoot":"","sources":["../../../src/state/core/persistSignalBucket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,UAAU,mBAAmB,CACjC,OAA4C;IAE5C,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,GAAG,OAAO,CAAC;IAClE,MAAM,MAAM,GAAG,aAAa,CAAC;QAC3B,GAAG;QACH,OAAO;QACP,QAAQ,EAAE,cAAc,CAAC,MAAM,CAAC;QAChC,eAAe;KAChB,CAAC,CAAC;IAEH,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC,IAAI,EAAE,CAAC;IAC1C,IAAI,CAAC,QAAQ;QAAE,aAAa,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAE5C,IAAI,UAAU,GAAG,KAAK,CAAC;IACvB,MAAM,CAAC,GAAG,EAAE;QACV,MAAM,QAAQ,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;QACxC,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,UAAU,GAAG,IAAI,CAAC;YAClB,OAAO;QACT,CAAC;QACD,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IACzB,CAAC,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAChB,CAAC;AAoCD,SAAS,cAAc,CAAC,IAAY;IAClC,MAAM,QAAQ,GAA4B,EAAE,CAAC;IAC7C,KAAK,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;QAClD,IAAI,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC;YACzB,QAAQ,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC;QAChC,CAAC;aAAM,IAAI,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC;YACjC,QAAQ,CAAC,IAAI,CAAC,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;QAC1C,CAAC;IACH,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,SAAS,aAAa,CAAC,IAAY,EAAE,MAA+B;IAClE,KAAK,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;QAClD,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;QAC3B,IAAI,KAAK,KAAK,SAAS;YAAE,SAAS;QAClC,IAAI,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC;YACzB,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC;QACvB,CAAC;aAAM,IAAI,aAAa,CAAC,MAAM,CAAC,IAAI,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC;YACzD,aAAa,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;QAC/B,CAAC;IACH,CAAC;AACH,CAAC;AAED,SAAS,YAAY,CAAC,MAAe;IACnC,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,IAAI;QAAE,OAAO,KAAK,CAAC;IAChE,MAAM,SAAS,GAAG,MAAiD,CAAC;IACpE,OAAO,CACL,OAAO,IAAI,MAAM;QACjB,OAAO,SAAS,CAAC,IAAI,KAAK,UAAU;QACpC,OAAO,SAAS,CAAC,SAAS,KAAK,UAAU,CAC1C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The storage key an entry occupies once its schema version is appended.
|
|
3
|
+
* @param key - Name of the entry, namespaced by the site, e.g. `smiles:exercises`.
|
|
4
|
+
* @param version - Schema version of what is stored under it.
|
|
5
|
+
* @returns The versioned key, e.g. `smiles:exercises:v1`.
|
|
6
|
+
*/
|
|
7
|
+
export declare function versionedStorageKey(key: string, version: number): string;
|
|
8
|
+
/**
|
|
9
|
+
* Read one `localStorage` entry back as JSON.
|
|
10
|
+
*
|
|
11
|
+
* A page framed by a course may have no storage at all — third-party storage
|
|
12
|
+
* is partitioned in Chrome and blocked in Safari — so touching the store may
|
|
13
|
+
* throw before it is even reached. Nothing of that reaches the caller: an
|
|
14
|
+
* unreadable store, a missing entry and corrupt JSON all read as nothing.
|
|
15
|
+
* @param storageKey - The full key, version included.
|
|
16
|
+
* @returns What was parsed, or `undefined` when there is nothing readable.
|
|
17
|
+
*/
|
|
18
|
+
export declare function readStorageEntry(storageKey: string): unknown;
|
|
19
|
+
/**
|
|
20
|
+
* Write one `localStorage` entry as JSON, replacing what was there.
|
|
21
|
+
*
|
|
22
|
+
* Best effort: a value that cannot be serialised, an unavailable store and a
|
|
23
|
+
* refused write are all swallowed. A write refused because the store is full
|
|
24
|
+
* is reported through `onQuotaExceeded`, so a page can tell its visitor that
|
|
25
|
+
* what they are doing is no longer being kept.
|
|
26
|
+
* @param storageKey - The full key, version included.
|
|
27
|
+
* @param value - What to store; it must be JSON serialisable.
|
|
28
|
+
* @param onQuotaExceeded - Called with the error when the store is full.
|
|
29
|
+
*/
|
|
30
|
+
export declare function writeStorageEntry(storageKey: string, value: unknown, onQuotaExceeded?: (error: unknown) => void): void;
|
|
31
|
+
/**
|
|
32
|
+
* Forget one `localStorage` entry. An unavailable store has nothing to forget.
|
|
33
|
+
* @param storageKey - The full key, version included.
|
|
34
|
+
*/
|
|
35
|
+
export declare function removeStorageEntry(storageKey: string): void;
|
|
36
|
+
//# sourceMappingURL=storageEntry.d.ts.map
|