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,87 @@
|
|
|
1
|
+
import { useCallback, useMemo, useRef } from 'react';
|
|
2
|
+
import { capturePointer, dropFrame, scheduleFrame } from "./lassoGesture.js";
|
|
3
|
+
/**
|
|
4
|
+
* One pointer claimed for the length of a drag, whatever the drag draws.
|
|
5
|
+
*
|
|
6
|
+
* The pointer is captured on the way down, so a drag that wanders off the
|
|
7
|
+
* figure, or off the window, still ends. All three ways a capture can end —
|
|
8
|
+
* a release, `pointercancel` and `lostpointercapture` — lead to one callback:
|
|
9
|
+
* a gesture left half-done because one of them was handled and another was
|
|
10
|
+
* not is the classic fault here, and it leaves a stroke on screen that
|
|
11
|
+
* nothing can clear. Moves are coalesced to one a frame, because a pointer
|
|
12
|
+
* emits many per frame and each one that reaches the figure repaints it.
|
|
13
|
+
*
|
|
14
|
+
* The lasso and the turning cloud are both built on it and keep only their
|
|
15
|
+
* own state: a path being drawn, or a camera being turned.
|
|
16
|
+
* @param options - See {@link CapturedPointerOptions}.
|
|
17
|
+
* @returns The surface. See {@link CapturedPointer}.
|
|
18
|
+
*/
|
|
19
|
+
export function useCapturedPointer(options) {
|
|
20
|
+
const { touch, cursor, onPress, onMove, onFrame, onRelease, onLeave } = options;
|
|
21
|
+
const pointerRef = useRef(null);
|
|
22
|
+
const frameRef = useRef(null);
|
|
23
|
+
const flush = useCallback(() => {
|
|
24
|
+
frameRef.current = null;
|
|
25
|
+
onFrame(pointerRef.current !== null);
|
|
26
|
+
}, [onFrame]);
|
|
27
|
+
const end = useCallback((event, commit) => {
|
|
28
|
+
const claimed = pointerRef.current;
|
|
29
|
+
if (claimed === null)
|
|
30
|
+
return;
|
|
31
|
+
if (event !== null && event.pointerId !== claimed)
|
|
32
|
+
return;
|
|
33
|
+
pointerRef.current = null;
|
|
34
|
+
dropFrame(frameRef);
|
|
35
|
+
onRelease(event, commit);
|
|
36
|
+
}, [onRelease]);
|
|
37
|
+
const handleDown = useCallback((event) => {
|
|
38
|
+
if (pointerRef.current !== null || event.button > 0)
|
|
39
|
+
return;
|
|
40
|
+
if (event.pointerType === 'touch' && !touch)
|
|
41
|
+
return;
|
|
42
|
+
if (!onPress(event))
|
|
43
|
+
return;
|
|
44
|
+
pointerRef.current = event.pointerId;
|
|
45
|
+
capturePointer(event);
|
|
46
|
+
}, [onPress, touch]);
|
|
47
|
+
const handleMove = useCallback((event) => {
|
|
48
|
+
const claimed = pointerRef.current;
|
|
49
|
+
if (claimed !== null && event.pointerId !== claimed)
|
|
50
|
+
return;
|
|
51
|
+
if (onMove(event, claimed !== null))
|
|
52
|
+
scheduleFrame(frameRef, flush);
|
|
53
|
+
}, [flush, onMove]);
|
|
54
|
+
const handleUp = useCallback((event) => {
|
|
55
|
+
end(event, true);
|
|
56
|
+
}, [end]);
|
|
57
|
+
const handleAbandon = useCallback((event) => {
|
|
58
|
+
end(event, false);
|
|
59
|
+
}, [end]);
|
|
60
|
+
const handleLeave = useCallback(() => {
|
|
61
|
+
if (pointerRef.current !== null)
|
|
62
|
+
return;
|
|
63
|
+
onLeave?.();
|
|
64
|
+
}, [onLeave]);
|
|
65
|
+
const abandon = useCallback(() => {
|
|
66
|
+
end(null, false);
|
|
67
|
+
}, [end]);
|
|
68
|
+
const surface = useMemo(() => ({
|
|
69
|
+
onPointerDown: handleDown,
|
|
70
|
+
onPointerMove: handleMove,
|
|
71
|
+
onPointerUp: handleUp,
|
|
72
|
+
onPointerCancel: handleAbandon,
|
|
73
|
+
onLostPointerCapture: handleAbandon,
|
|
74
|
+
onPointerLeave: handleLeave,
|
|
75
|
+
style: { cursor, touchAction: touch ? 'none' : 'auto' },
|
|
76
|
+
}), [
|
|
77
|
+
cursor,
|
|
78
|
+
handleAbandon,
|
|
79
|
+
handleDown,
|
|
80
|
+
handleLeave,
|
|
81
|
+
handleMove,
|
|
82
|
+
handleUp,
|
|
83
|
+
touch,
|
|
84
|
+
]);
|
|
85
|
+
return { surface, abandon };
|
|
86
|
+
}
|
|
87
|
+
//# sourceMappingURL=useCapturedPointer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCapturedPointer.js","sourceRoot":"","sources":["../../../src/scatter/ui/useCapturedPointer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAGrD,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AA8C7E;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,kBAAkB,CAChC,OAA+B;IAE/B,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,GACnE,OAAO,CAAC;IACV,MAAM,UAAU,GAAG,MAAM,CAAgB,IAAI,CAAC,CAAC;IAC/C,MAAM,QAAQ,GAAG,MAAM,CAAgB,IAAI,CAAC,CAAC;IAE7C,MAAM,KAAK,GAAG,WAAW,CAAC,GAAG,EAAE;Q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,EAAE,CAAC;AAC9B,CAAC"}
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import type { LassoGesture, LassoGestureOptions } from './lassoGesture.ts';
|
|
2
|
-
export type { LassoGesture, LassoGestureOptions, ScatterSurfaceProps, } from './lassoGesture.ts';
|
|
3
2
|
/**
|
|
4
3
|
* A free-hand outline drawn over a plot with the pointer.
|
|
5
4
|
*
|
|
6
|
-
* The pointer is
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* fault here, and it leaves a stroke on screen that nothing can clear.
|
|
11
|
-
*
|
|
12
|
-
* Moves are coalesced to one a frame, because a pointer emits many per frame
|
|
13
|
-
* and each one that reaches the caller costs a walk over every point.
|
|
5
|
+
* The pointer is claimed through `useCapturedPointer`, which is what makes a
|
|
6
|
+
* drag that wanders off the figure keep drawing and still finish, and what
|
|
7
|
+
* coalesces the moves to one a frame — each one that reaches the caller costs
|
|
8
|
+
* a walk over every point. What is left here is the path itself.
|
|
14
9
|
* @param options - See {@link LassoGestureOptions}.
|
|
15
10
|
* @returns The gesture. See {@link LassoGesture}.
|
|
16
11
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLassoGesture.d.ts","sourceRoot":"","sources":["../../../src/scatter/ui/useLassoGesture.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"useLassoGesture.d.ts","sourceRoot":"","sources":["../../../src/scatter/ui/useLassoGesture.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAS3E;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAC7B,OAAO,GAAE,mBAAwB,GAChC,YAAY,CA8Gd"}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import { useCallback,
|
|
1
|
+
import { useCallback, useRef, useState } from 'react';
|
|
2
2
|
import { appendLassoPoint, createLassoPath, lassoPathData, resetLassoPath, } from "../core/lassoPath.js";
|
|
3
|
-
import { DEFAULT_LASSO_MIN_DISTANCE, MINIMUM_RING_VERTICES,
|
|
3
|
+
import { DEFAULT_LASSO_MIN_DISTANCE, MINIMUM_RING_VERTICES, modifierMode, surfacePosition, } from "./lassoGesture.js";
|
|
4
|
+
import { useCapturedPointer } from "./useCapturedPointer.js";
|
|
4
5
|
/**
|
|
5
6
|
* A free-hand outline drawn over a plot with the pointer.
|
|
6
7
|
*
|
|
7
|
-
* The pointer is
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* fault here, and it leaves a stroke on screen that nothing can clear.
|
|
12
|
-
*
|
|
13
|
-
* Moves are coalesced to one a frame, because a pointer emits many per frame
|
|
14
|
-
* and each one that reaches the caller costs a walk over every point.
|
|
8
|
+
* The pointer is claimed through `useCapturedPointer`, which is what makes a
|
|
9
|
+
* drag that wanders off the figure keep drawing and still finish, and what
|
|
10
|
+
* coalesces the moves to one a frame — each one that reaches the caller costs
|
|
11
|
+
* a walk over every point. What is left here is the path itself.
|
|
15
12
|
* @param options - See {@link LassoGestureOptions}.
|
|
16
13
|
* @returns The gesture. See {@link LassoGesture}.
|
|
17
14
|
*/
|
|
@@ -20,20 +17,36 @@ export function useLassoGesture(options = {}) {
|
|
|
20
17
|
const pathRef = useRef(null);
|
|
21
18
|
pathRef.current ??= createLassoPath();
|
|
22
19
|
const path = pathRef.current;
|
|
23
|
-
const pointerRef = useRef(null);
|
|
24
20
|
const modeRef = useRef(restingMode);
|
|
25
|
-
const frameRef = useRef(null);
|
|
26
21
|
const pendingRef = useRef(null);
|
|
27
22
|
const [drawing, setDrawing] = useState(false);
|
|
28
23
|
const [pathData, setPathData] = useState('');
|
|
29
24
|
const [mode, setMode] = useState(restingMode);
|
|
30
|
-
const
|
|
31
|
-
|
|
25
|
+
const press = useCallback((event) => {
|
|
26
|
+
if (!enabled)
|
|
27
|
+
return false;
|
|
28
|
+
const position = surfacePosition(event, originX, originY);
|
|
29
|
+
const gesture = modifierMode(event, restingMode);
|
|
30
|
+
modeRef.current = gesture;
|
|
31
|
+
resetLassoPath(path);
|
|
32
|
+
appendLassoPoint(path, position.x, position.y, 0);
|
|
33
|
+
setMode(gesture);
|
|
34
|
+
setDrawing(true);
|
|
35
|
+
setPathData(lassoPathData(path, false));
|
|
36
|
+
return true;
|
|
37
|
+
}, [enabled, originX, originY, path, restingMode]);
|
|
38
|
+
const follow = useCallback((event, claimed) => {
|
|
39
|
+
const { x, y } = surfacePosition(event, originX, originY);
|
|
40
|
+
const gesture = claimed ? modifierMode(event, restingMode) : restingMode;
|
|
41
|
+
pendingRef.current = { x, y, mode: gesture };
|
|
42
|
+
return true;
|
|
43
|
+
}, [originX, originY, restingMode]);
|
|
44
|
+
const flush = useCallback((claimed) => {
|
|
32
45
|
const next = pendingRef.current;
|
|
33
46
|
pendingRef.current = null;
|
|
34
47
|
if (next === null)
|
|
35
48
|
return;
|
|
36
|
-
if (
|
|
49
|
+
if (!claimed) {
|
|
37
50
|
onMove?.(next.x, next.y, false);
|
|
38
51
|
return;
|
|
39
52
|
}
|
|
@@ -45,12 +58,8 @@ export function useLassoGesture(options = {}) {
|
|
|
45
58
|
}
|
|
46
59
|
onMove?.(next.x, next.y, true);
|
|
47
60
|
}, [minDistance, onDraw, onMove, path]);
|
|
48
|
-
const
|
|
49
|
-
if (pointerRef.current === null)
|
|
50
|
-
return;
|
|
51
|
-
pointerRef.current = null;
|
|
61
|
+
const finish = useCallback((_event, commit) => {
|
|
52
62
|
pendingRef.current = null;
|
|
53
|
-
dropFrame(frameRef);
|
|
54
63
|
const gesture = modeRef.current;
|
|
55
64
|
setDrawing(false);
|
|
56
65
|
setPathData('');
|
|
@@ -63,78 +72,25 @@ export function useLassoGesture(options = {}) {
|
|
|
63
72
|
onDraw?.(null, gesture);
|
|
64
73
|
resetLassoPath(path);
|
|
65
74
|
}, [onClick, onComplete, onDraw, path]);
|
|
66
|
-
const
|
|
67
|
-
if (!enabled || pointerRef.current !== null || event.button > 0)
|
|
68
|
-
return;
|
|
69
|
-
if (event.pointerType === 'touch' && !touch)
|
|
70
|
-
return;
|
|
71
|
-
const position = surfacePosition(event, originX, originY);
|
|
72
|
-
const gesture = modifierMode(event, restingMode);
|
|
73
|
-
pointerRef.current = event.pointerId;
|
|
74
|
-
modeRef.current = gesture;
|
|
75
|
-
resetLassoPath(path);
|
|
76
|
-
appendLassoPoint(path, position.x, position.y, 0);
|
|
77
|
-
setMode(gesture);
|
|
78
|
-
setDrawing(true);
|
|
79
|
-
setPathData(lassoPathData(path, false));
|
|
80
|
-
capturePointer(event);
|
|
81
|
-
}, [enabled, originX, originY, path, restingMode, touch]);
|
|
82
|
-
const handleMove = useCallback((event) => {
|
|
83
|
-
const active = pointerRef.current;
|
|
84
|
-
if (active !== null && event.pointerId !== active)
|
|
85
|
-
return;
|
|
86
|
-
const { x, y } = surfacePosition(event, originX, originY);
|
|
87
|
-
const drawn = active !== null;
|
|
88
|
-
pendingRef.current = {
|
|
89
|
-
x,
|
|
90
|
-
y,
|
|
91
|
-
mode: drawn ? modifierMode(event, restingMode) : restingMode,
|
|
92
|
-
};
|
|
93
|
-
scheduleFrame(frameRef, flush);
|
|
94
|
-
}, [flush, originX, originY, restingMode]);
|
|
95
|
-
const handleUp = useCallback((event) => {
|
|
96
|
-
if (event.pointerId === pointerRef.current)
|
|
97
|
-
end(true);
|
|
98
|
-
}, [end]);
|
|
99
|
-
const handleAbandon = useCallback((event) => {
|
|
100
|
-
if (event.pointerId === pointerRef.current)
|
|
101
|
-
end(false);
|
|
102
|
-
}, [end]);
|
|
103
|
-
const handleLeave = useCallback(() => {
|
|
104
|
-
if (pointerRef.current !== null)
|
|
105
|
-
return;
|
|
75
|
+
const forget = useCallback(() => {
|
|
106
76
|
pendingRef.current = null;
|
|
107
77
|
onLeave?.();
|
|
108
78
|
}, [onLeave]);
|
|
109
|
-
const
|
|
110
|
-
end(false);
|
|
111
|
-
}, [end]);
|
|
112
|
-
const surface = useMemo(() => ({
|
|
113
|
-
onPointerDown: handleDown,
|
|
114
|
-
onPointerMove: handleMove,
|
|
115
|
-
onPointerUp: handleUp,
|
|
116
|
-
onPointerCancel: handleAbandon,
|
|
117
|
-
onLostPointerCapture: handleAbandon,
|
|
118
|
-
onPointerLeave: handleLeave,
|
|
119
|
-
style: {
|
|
120
|
-
cursor: enabled ? 'crosshair' : 'default',
|
|
121
|
-
touchAction: touch ? 'none' : 'auto',
|
|
122
|
-
},
|
|
123
|
-
}), [
|
|
124
|
-
enabled,
|
|
125
|
-
handleAbandon,
|
|
126
|
-
handleDown,
|
|
127
|
-
handleLeave,
|
|
128
|
-
handleMove,
|
|
129
|
-
handleUp,
|
|
79
|
+
const { surface, abandon } = useCapturedPointer({
|
|
130
80
|
touch,
|
|
131
|
-
|
|
81
|
+
cursor: enabled ? 'crosshair' : 'default',
|
|
82
|
+
onPress: press,
|
|
83
|
+
onMove: follow,
|
|
84
|
+
onFrame: flush,
|
|
85
|
+
onRelease: finish,
|
|
86
|
+
onLeave: forget,
|
|
87
|
+
});
|
|
132
88
|
return {
|
|
133
89
|
surface,
|
|
134
90
|
drawing,
|
|
135
91
|
pathData,
|
|
136
92
|
mode: drawing ? mode : restingMode,
|
|
137
|
-
cancel,
|
|
93
|
+
cancel: abandon,
|
|
138
94
|
};
|
|
139
95
|
}
|
|
140
96
|
//# sourceMappingURL=useLassoGesture.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLassoGesture.js","sourceRoot":"","sources":["../../../src/scatter/ui/useLassoGesture.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"useLassoGesture.js","sourceRoot":"","sources":["../../../src/scatter/ui/useLassoGesture.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,aAAa,EAC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,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,CAAC,CACpC,CAAC;IAEF,MAAM,MAAM,GAAG,WAAW,CAAC,GAAG,EAAE;QAC9B,UAAU,CAAC,OAAO,GAAG,IAAI,CAAC;QAC1B,OAAO,EAAE,EAAE,CAAC;IACd,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,kBAAkB,CAAC;QAC9C,KAAK;QACL,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS;QACzC,OAAO,EAAE,KAAK;QACd,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,KAAK;QACd,SAAS,EAAE,MAAM;QACjB,OAAO,EAAE,MAAM;KAChB,CAAC,CAAC;IAEH,OAAO;QACL,OAAO;QACP,OAAO;QACP,QAAQ;QACR,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,WAAW;QAClC,MAAM,EAAE,OAAO;KAChB,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScatterFrame.d.ts","sourceRoot":"","sources":["../../../src/scatter/ui/useScatterFrame.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"useScatterFrame.d.ts","sourceRoot":"","sources":["../../../src/scatter/ui/useScatterFrame.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAInE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAM7D,0CAA0C;AAC1C,MAAM,WAAW,mBAAmB;IAClC,2DAA2D;IAC3D,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACrB,8CAA8C;IAC9C,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACrB,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,iEAAiE;IACjE,KAAK,EAAE,aAAa,CAAC;IACrB,yBAAyB;IACzB,KAAK,EAAE,aAAa,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,aAAa,GAAG,IAAI,KAAK,IAAI,CAAC;IAC5D;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,gEAAgE;AAChE,MAAM,WAAW,YAAa,SAAQ,eAAe;IACnD,gEAAgE;IAChE,KAAK,EAAE,aAAa,CAAC;IACrB,wBAAwB;IACxB,KAAK,EAAE,aAAa,CAAC;IACrB,mEAAmE;IACnE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,MAAM,EAAE,UAAU,GAAG,SAAS,CAAC;IAC/B,wFAAwF;IACxF,GAAG,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACtC,uEAAuE;IACvE,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,mBAAmB,GAAG,YAAY,CAmE1E"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { useCallback, useMemo, useState } from 'react';
|
|
2
2
|
import { chartAxisScale } from "../../chart/core/chartAxisScale.js";
|
|
3
|
-
import { chartZoomViewport } from "../../chart/core/chartViewport.js";
|
|
4
3
|
import { useWheelZoom } from "../../chart/ui/useWheelZoom.js";
|
|
5
4
|
import { pointsWithinBounds } from "../core/screenPoints.js";
|
|
6
|
-
import { scatterPlotGeometry } from "./scatterPlotModel.js";
|
|
5
|
+
import { scatterPlotGeometry, scatterWheelViewport, } from "./scatterPlotModel.js";
|
|
7
6
|
/**
|
|
8
7
|
* The rectangle a scatter draws in, the mapping into it, and the zoom that
|
|
9
8
|
* chose it.
|
|
@@ -49,11 +48,7 @@ export function useScatterFrame(options) {
|
|
|
49
48
|
enabled: wheelZoom,
|
|
50
49
|
delay: wheelZoomDelay,
|
|
51
50
|
onZoom: (alongX, alongY, factor) => {
|
|
52
|
-
|
|
53
|
-
change(chartZoomViewport(full, shown, along(frame.x, alongX),
|
|
54
|
-
// The vertical axis grows upward while the pointer's share grows
|
|
55
|
-
// downward, so the share is read from the top of the frame.
|
|
56
|
-
along(frame.y, 1 - alongY), factor));
|
|
51
|
+
change(scatterWheelViewport(full, shown, alongX, alongY, factor));
|
|
57
52
|
},
|
|
58
53
|
});
|
|
59
54
|
const inside = useMemo(() => {
|
|
@@ -89,13 +84,4 @@ function nicedDomain(axis) {
|
|
|
89
84
|
nice: axis.nice,
|
|
90
85
|
}).domain;
|
|
91
86
|
}
|
|
92
|
-
/**
|
|
93
|
-
* The value a share of the way along a range stands for.
|
|
94
|
-
* @param domain - The range.
|
|
95
|
-
* @param share - How far along, from 0 to 1.
|
|
96
|
-
* @returns The value.
|
|
97
|
-
*/
|
|
98
|
-
function along(domain, share) {
|
|
99
|
-
return domain[0] + share * (domain[1] - domain[0]);
|
|
100
|
-
}
|
|
101
87
|
//# sourceMappingURL=useScatterFrame.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScatterFrame.js","sourceRoot":"","sources":["../../../src/scatter/ui/useScatterFrame.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ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,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;QACpE,CAAC;KACF,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,EAAE;QAC1B,IAAI,KAAK,KAAK,IAAI;YAAE,OAAO,SAAS,CAAC;QACrC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;QAC9B,OAAO,kBAAkB,CAAC,MAAM,EAAE;YAChC,IAAI,EAAE,IAAI,CAAC,CAAC;YACZ,IAAI,EAAE,IAAI,CAAC,CAAC;YACZ,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK;YACzB,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,MAAM;SAC3B,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC;IAElB,OAAO;QACL,GAAG,IAAI;QACP,KAAK,EAAE,IAAI,CAAC,CAAC;QACb,KAAK,EAAE,IAAI,CAAC,CAAC;QACb,QAAQ,EAAE,KAAK;QACf,MAAM;QACN,GAAG,EAAE,IAAI,CAAC,GAAG;QACb,KAAK;KACN,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,SAAS,WAAW,CAAC,IAAmB;IACtC,OAAO,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE;QACpD,KAAK,EAAE,IAAI,CAAC,SAAS;QACrB,IAAI,EAAE,IAAI,CAAC,IAAI;KAChB,CAAC,CAAC,MAAM,CAAC;AACZ,CAAC"}
|
|
@@ -1,97 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { ScreenPoints } from '../core/screenPoints.ts';
|
|
3
|
-
import type { LassoGesture, ScatterSurfaceProps } from './lassoGesture.ts';
|
|
4
|
-
import type { PointHoverApi } from './usePointHover.ts';
|
|
5
|
-
import type { ScatterKeyboardApi } from './useScatterKeyboard.ts';
|
|
6
|
-
import type { ScatterSelectionApi, SelectionChange } from './useScatterSelection.ts';
|
|
7
|
-
/** What {@link useScatterInteraction} needs. */
|
|
8
|
-
export interface ScatterInteractionOptions {
|
|
9
|
-
/** Where every point sits on screen; how many there are is read from it. */
|
|
10
|
-
points: ScreenPoints;
|
|
11
|
-
/**
|
|
12
|
-
* Where the plot's left edge is, so a gesture lands in the same space the
|
|
13
|
-
* points were measured in.
|
|
14
|
-
* @default 0
|
|
15
|
-
*/
|
|
16
|
-
originX?: number;
|
|
17
|
-
/**
|
|
18
|
-
* Where its top edge is.
|
|
19
|
-
* @default 0
|
|
20
|
-
*/
|
|
21
|
-
originY?: number;
|
|
22
|
-
/**
|
|
23
|
-
* The selected rows when the caller owns them.
|
|
24
|
-
* @default undefined — the hook keeps them
|
|
25
|
-
*/
|
|
26
|
-
selected?: readonly number[];
|
|
27
|
-
/**
|
|
28
|
-
* The rows selected before the reader touches anything.
|
|
29
|
-
* @default undefined
|
|
30
|
-
*/
|
|
31
|
-
defaultSelected?: readonly number[];
|
|
32
|
-
/**
|
|
33
|
-
* Called once per settled gesture, never during a drag.
|
|
34
|
-
* @default undefined
|
|
35
|
-
*/
|
|
36
|
-
onSelectionChange?: (change: SelectionChange) => void;
|
|
37
|
-
/**
|
|
38
|
-
* What a gesture with no modifier held does to the selection.
|
|
39
|
-
* @default 'replace'
|
|
40
|
-
*/
|
|
41
|
-
selectMode?: ScatterSelectionMode;
|
|
42
|
-
/**
|
|
43
|
-
* Whether a drag draws a lasso at all. The hover card works either way.
|
|
44
|
-
* @default true
|
|
45
|
-
*/
|
|
46
|
-
enabled?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Whether a finger draws one rather than scrolling the page.
|
|
49
|
-
* @default false
|
|
50
|
-
*/
|
|
51
|
-
touchLasso?: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* How near the pointer a point must be to be hovered or clicked, in pixels.
|
|
54
|
-
* @default 12
|
|
55
|
-
*/
|
|
56
|
-
hoverRadius?: number;
|
|
57
|
-
/**
|
|
58
|
-
* One entry per point, a zero meaning it cannot be hovered or clicked.
|
|
59
|
-
* @default undefined — every point can be
|
|
60
|
-
*/
|
|
61
|
-
included?: Uint8Array;
|
|
62
|
-
/**
|
|
63
|
-
* Called with the row under the pointer, or `-1`.
|
|
64
|
-
* @default undefined
|
|
65
|
-
*/
|
|
66
|
-
onHoverChange?: (index: number) => void;
|
|
67
|
-
/**
|
|
68
|
-
* Called with the row whose card is pinned, or `-1`.
|
|
69
|
-
* @default undefined
|
|
70
|
-
*/
|
|
71
|
-
onPinChange?: (index: number) => void;
|
|
72
|
-
}
|
|
73
|
-
/** Everything a scatter needs to be touched, in five pieces. */
|
|
74
|
-
export interface ScatterInteractionApi {
|
|
75
|
-
/** Spread onto the transparent rectangle over the plot. */
|
|
76
|
-
surface: ScatterSurfaceProps;
|
|
77
|
-
/** What is picked, including what a half-drawn lasso would pick. */
|
|
78
|
-
selection: ScatterSelectionApi;
|
|
79
|
-
/** The point a card is about, and where to put it. */
|
|
80
|
-
hover: PointHoverApi;
|
|
81
|
-
/** The roving cursor, whose `onKeyDown` goes on the focusable wrapper. */
|
|
82
|
-
keyboard: ScatterKeyboardApi;
|
|
83
|
-
/** The outline being drawn, for the plot to stroke. */
|
|
84
|
-
lasso: LassoGesture;
|
|
85
|
-
/**
|
|
86
|
-
* Which point is near a position, or `-1`.
|
|
87
|
-
*
|
|
88
|
-
* The same search a click runs, offered on its own so that a gesture the
|
|
89
|
-
* hook does not own — a double click, which the plot answers because only
|
|
90
|
-
* the plot knows what a double click on empty ground means — asks it in the
|
|
91
|
-
* same words and with the same radius.
|
|
92
|
-
*/
|
|
93
|
-
pointAt: (x: number, y: number) => number;
|
|
94
|
-
}
|
|
1
|
+
import type { ScatterInteractionApi, ScatterInteractionOptions } from './scatterInteractionTypes.ts';
|
|
95
2
|
/**
|
|
96
3
|
* Every way a reader touches a scatter, wired together.
|
|
97
4
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScatterInteraction.d.ts","sourceRoot":"","sources":["../../../src/scatter/ui/useScatterInteraction.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useScatterInteraction.d.ts","sourceRoot":"","sources":["../../../src/scatter/ui/useScatterInteraction.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,qBAAqB,EACrB,yBAAyB,EAC1B,MAAM,8BAA8B,CAAC;AAMtC;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,yBAAyB,GACjC,qBAAqB,CA2JvB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { useCallback, useRef } from 'react';
|
|
1
|
+
import { useCallback, useEffect, useLayoutEffect, useRef } from 'react';
|
|
2
2
|
import { pointsInPolygon } from "../core/polygon.js";
|
|
3
3
|
import { nearestPointIndex } from "../core/screenPoints.js";
|
|
4
|
+
import { surfacePosition } from "./lassoGesture.js";
|
|
4
5
|
import { useLassoGesture } from "./useLassoGesture.js";
|
|
5
6
|
import { DEFAULT_HOVER_RADIUS, usePointHover } from "./usePointHover.js";
|
|
6
7
|
import { useScatterKeyboard } from "./useScatterKeyboard.js";
|
|
@@ -22,7 +23,7 @@ import { useScatterSelection } from "./useScatterSelection.js";
|
|
|
22
23
|
* @returns The interaction. See {@link ScatterInteractionApi}.
|
|
23
24
|
*/
|
|
24
25
|
export function useScatterInteraction(options) {
|
|
25
|
-
const { points, originX = 0, originY = 0, selected, defaultSelected, onSelectionChange, selectMode = 'replace', enabled = true, touchLasso = false, hoverRadius, included, onHoverChange, onPinChange, } = options;
|
|
26
|
+
const { points, originX = 0, originY = 0, selected, defaultSelected, onSelectionChange, selectMode = 'replace', enabled = true, touchLasso = false, hoverRadius, included, onHoverChange, onPinChange, onLassoChange, } = options;
|
|
26
27
|
const radius = hoverRadius ?? DEFAULT_HOVER_RADIUS;
|
|
27
28
|
const count = Math.min(points.x.length, points.y.length);
|
|
28
29
|
const hitsRef = useRef(null);
|
|
@@ -52,7 +53,7 @@ export function useScatterInteraction(options) {
|
|
|
52
53
|
const onComplete = useCallback((path, mode) => {
|
|
53
54
|
selectMask(caught(path), mode, 'lasso');
|
|
54
55
|
}, [caught, selectMask]);
|
|
55
|
-
const
|
|
56
|
+
const clickAt = useCallback((x, y, mode) => {
|
|
56
57
|
const index = nearestPointIndex(points, x, y, radius, included);
|
|
57
58
|
if (index === -1) {
|
|
58
59
|
unpin();
|
|
@@ -75,7 +76,7 @@ export function useScatterInteraction(options) {
|
|
|
75
76
|
mode: selectMode,
|
|
76
77
|
onDraw,
|
|
77
78
|
onComplete,
|
|
78
|
-
onClick,
|
|
79
|
+
onClick: clickAt,
|
|
79
80
|
onMove,
|
|
80
81
|
onLeave: leave,
|
|
81
82
|
});
|
|
@@ -89,6 +90,25 @@ export function useScatterInteraction(options) {
|
|
|
89
90
|
}, [lasso, unpin]);
|
|
90
91
|
const keyboard = useScatterKeyboard({ count, onCommit, onCancel });
|
|
91
92
|
const pointAt = useCallback((x, y) => nearestPointIndex(points, x, y, radius, included), [included, points, radius]);
|
|
93
|
+
const openAt = useCallback((event) => {
|
|
94
|
+
const at = surfacePosition(event, originX, originY);
|
|
95
|
+
const index = pointAt(at.x, at.y);
|
|
96
|
+
if (index === -1)
|
|
97
|
+
return null;
|
|
98
|
+
const { clientX, clientY } = event;
|
|
99
|
+
return { index, x: at.x, y: at.y, clientX, clientY };
|
|
100
|
+
}, [originX, originY, pointAt]);
|
|
101
|
+
// Held in a ref so an inline arrow, which is how every caller writes it, does
|
|
102
|
+
// not put the callback in the effect's dependencies and report a drag that
|
|
103
|
+
// never changed on every render.
|
|
104
|
+
const reportLasso = useRef(onLassoChange);
|
|
105
|
+
useLayoutEffect(() => {
|
|
106
|
+
reportLasso.current = onLassoChange;
|
|
107
|
+
});
|
|
108
|
+
const drawing = lasso.drawing;
|
|
109
|
+
useEffect(() => {
|
|
110
|
+
reportLasso.current?.(drawing);
|
|
111
|
+
}, [drawing]);
|
|
92
112
|
return {
|
|
93
113
|
surface: lasso.surface,
|
|
94
114
|
selection,
|
|
@@ -96,6 +116,8 @@ export function useScatterInteraction(options) {
|
|
|
96
116
|
keyboard,
|
|
97
117
|
lasso,
|
|
98
118
|
pointAt,
|
|
119
|
+
clickAt,
|
|
120
|
+
openAt,
|
|
99
121
|
};
|
|
100
122
|
}
|
|
101
123
|
//# sourceMappingURL=useScatterInteraction.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScatterInteraction.js","sourceRoot":"","sources":["../../../src/scatter/ui/useScatterInteraction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"useScatterInteraction.js","sourceRoot":"","sources":["../../../src/scatter/ui/useScatterInteraction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAGxE,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAG5D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAKpD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,qBAAqB,CACnC,OAAkC;IAElC,MAAM,EACJ,MAAM,EACN,OAAO,GAAG,CAAC,EACX,OAAO,GAAG,CAAC,EACX,QAAQ,EACR,eAAe,EACf,iBAAiB,EACjB,UAAU,G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,EAAE,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;IACvD,CAAC,EACD,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAC5B,CAAC;IAEF,8EAA8E;IAC9E,2EAA2E;IAC3E,iCAAiC;IACjC,MAAM,WAAW,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC;IAC1C,eAAe,CAAC,GAAG,EAAE;QACnB,WAAW,CAAC,OAAO,GAAG,aAAa,CAAC;IACtC,CAAC,CAAC,CAAC;IACH,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC;IAC9B,SAAS,CAAC,GAAG,EAAE;QACb,WAAW,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,OAAO;QACL,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,SAAS;QACT,KAAK;QACL,QAAQ;QACR,KAAK;QACL,OAAO;QACP,OAAO;QACP,MAAM;KACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { ScreenPoints } from '../core/screenPoints.ts';
|
|
2
|
+
import type { ScatterGroup } from './scatterFigureProps.ts';
|
|
3
|
+
import type { PlacedScatterLabel } from './scatterLabelPlacement.ts';
|
|
4
|
+
/** What {@link useScatterLabels} places. */
|
|
5
|
+
interface ScatterLabelsOptions {
|
|
6
|
+
/** What each point is called, or nothing when no point is named. */
|
|
7
|
+
pointLabels: ReadonlyArray<string | undefined> | undefined;
|
|
8
|
+
/** Whether each group's name is written over its own crowd. */
|
|
9
|
+
showGroupLabels: boolean;
|
|
10
|
+
/** The groups, whose names a crowd is written with. */
|
|
11
|
+
groups: readonly ScatterGroup[] | undefined;
|
|
12
|
+
/** Which group each point belongs to. */
|
|
13
|
+
groupOf: ArrayLike<number> | undefined;
|
|
14
|
+
/** The colour of each group, which its words take. */
|
|
15
|
+
colors: readonly string[];
|
|
16
|
+
/** Radius of a dot, which a word stands clear of. */
|
|
17
|
+
radius: number;
|
|
18
|
+
/** The rectangle every word has to stay inside. */
|
|
19
|
+
bounds: {
|
|
20
|
+
x: number;
|
|
21
|
+
y: number;
|
|
22
|
+
width: number;
|
|
23
|
+
height: number;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
/** The words a scatter figure writes, already seated. */
|
|
27
|
+
export interface ScatterLabels {
|
|
28
|
+
/** Each named point's own name, or nothing when no point is named. */
|
|
29
|
+
named: readonly PlacedScatterLabel[] | undefined;
|
|
30
|
+
/** Each group's name, or nothing when group names are off. */
|
|
31
|
+
crowds: readonly PlacedScatterLabel[] | undefined;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The names a scatter figure writes, placed so that no two overlap.
|
|
35
|
+
*
|
|
36
|
+
* Both figures place their words the same way from the same screen positions,
|
|
37
|
+
* so a name moves with its dot on the map and in the turning cloud alike. The
|
|
38
|
+
* placing runs only when the positions or the words change, never on a hover.
|
|
39
|
+
* @param points - Where every point sits, in the figure's pixels.
|
|
40
|
+
* @param options - See {@link ScatterLabelsOptions}.
|
|
41
|
+
* @returns The seated words. See {@link ScatterLabels}.
|
|
42
|
+
*/
|
|
43
|
+
export declare function useScatterLabels(points: ScreenPoints, options: ScatterLabelsOptions): ScatterLabels;
|
|
44
|
+
export {};
|
|
45
|
+
//# sourceMappingURL=useScatterLabels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useScatterLabels.d.ts","sourceRoot":"","sources":["../../../src/scatter/ui/useScatterLabels.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAK5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAIrE,4CAA4C;AAC5C,UAAU,oBAAoB;IAC5B,oEAAoE;IACpE,WAAW,EAAE,aAAa,CAAC,MAAM,GAAG,SAAS,CAAC,GAAG,SAAS,CAAC;IAC3D,+DAA+D;IAC/D,eAAe,EAAE,OAAO,CAAC;IACzB,uDAAuD;IACvD,MAAM,EAAE,SAAS,YAAY,EAAE,GAAG,SAAS,CAAC;IAC5C,yCAAyC;IACzC,OAAO,EAAE,SAAS,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACvC,sDAAsD;IACtD,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1B,qDAAqD;IACrD,MAAM,EAAE,MAAM,CAAC;IACf,mDAAmD;IACnD,MAAM,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;CACjE;AAED,yDAAyD;AACzD,MAAM,WAAW,aAAa;IAC5B,sEAAsE;IACtE,KAAK,EAAE,SAAS,kBAAkB,EAAE,GAAG,SAAS,CAAC;IACjD,8DAA8D;IAC9D,MAAM,EAAE,SAAS,kBAAkB,EAAE,GAAG,SAAS,CAAC;CACnD;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,oBAAoB,GAC5B,aAAa,CAmCf"}
|