react-cheminfo 0.10.0 → 0.12.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 +25 -22
- 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 +8 -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/SiteFooter.d.ts +8 -0
- package/lib/chrome/ui/SiteFooter.d.ts.map +1 -1
- package/lib/chrome/ui/SiteFooter.js +7 -2
- package/lib/chrome/ui/SiteFooter.js.map +1 -1
- package/lib/chrome/ui/SiteHeader.d.ts +21 -0
- package/lib/chrome/ui/SiteHeader.d.ts.map +1 -1
- package/lib/chrome/ui/SiteHeader.js +13 -3
- package/lib/chrome/ui/SiteHeader.js.map +1 -1
- package/lib/chrome/ui/navItem.d.ts +17 -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 +4 -1
- package/lib/core.d.ts.map +1 -1
- package/lib/core.js +6 -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/core/figureLegend.d.ts +90 -0
- package/lib/download/core/figureLegend.d.ts.map +1 -0
- package/lib/download/core/figureLegend.js +77 -0
- package/lib/download/core/figureLegend.js.map +1 -0
- package/lib/download/core/figureSvg.d.ts.map +1 -1
- package/lib/download/core/figureSvg.js +71 -1
- package/lib/download/core/figureSvg.js.map +1 -1
- package/lib/download/core/figureSvgDocument.d.ts +9 -2
- package/lib/download/core/figureSvgDocument.d.ts.map +1 -1
- package/lib/download/core/figureSvgDocument.js +4 -1
- package/lib/download/core/figureSvgDocument.js.map +1 -1
- package/lib/download/core/figureTarget.d.ts +11 -0
- package/lib/download/core/figureTarget.d.ts.map +1 -1
- package/lib/download/core/figureTarget.js +19 -0
- package/lib/download/core/figureTarget.js.map +1 -1
- package/lib/download/core/index.d.ts +3 -1
- package/lib/download/core/index.d.ts.map +1 -1
- package/lib/download/core/index.js +2 -1
- package/lib/download/core/index.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 +47 -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 +12 -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 +3 -2
- 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 +30 -20
- package/lib/projection/core/projectionCopy.d.ts.map +1 -1
- package/lib/projection/core/projectionCopy.js +15 -45
- package/lib/projection/core/projectionCopy.js.map +1 -1
- package/lib/projection/core/projectionOptions.d.ts +12 -15
- package/lib/projection/core/projectionOptions.d.ts.map +1 -1
- package/lib/projection/core/projectionOptions.js +2 -64
- 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 +2 -28
- package/lib/projection/core/projectionStrings.d.ts.map +1 -1
- package/lib/projection/core/projectionStrings.js +10 -46
- package/lib/projection/core/projectionStrings.js.map +1 -1
- package/lib/projection/core/projectionTabDefaults.d.ts.map +1 -1
- package/lib/projection/core/projectionTabDefaults.js +12 -0
- package/lib/projection/core/projectionTabDefaults.js.map +1 -1
- package/lib/projection/core/projectionTabs.d.ts +1 -1
- package/lib/projection/core/projectionTabs.d.ts.map +1 -1
- package/lib/projection/core/projectionTabs.js +9 -0
- package/lib/projection/core/projectionTabs.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 +8 -1
- package/lib/projection/ui/ProjectionMapTab.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionMapTab.js +2 -1
- package/lib/projection/ui/ProjectionMapTab.js.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 +9 -2
- package/lib/projection/ui/ProjectionPanel.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionPanel.js +15 -1
- package/lib/projection/ui/ProjectionPanel.js.map +1 -1
- package/lib/projection/ui/ProjectionReadout.d.ts +9 -1
- package/lib/projection/ui/ProjectionReadout.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionReadout.js +5 -4
- package/lib/projection/ui/ProjectionReadout.js.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 +51 -0
- package/lib/projection/ui/ProjectionSpaceControls.d.ts.map +1 -0
- package/lib/projection/ui/ProjectionSpaceControls.js +54 -0
- package/lib/projection/ui/ProjectionSpaceControls.js.map +1 -0
- package/lib/projection/ui/ProjectionSpaceMore.d.ts +33 -0
- package/lib/projection/ui/ProjectionSpaceMore.d.ts.map +1 -0
- package/lib/projection/ui/ProjectionSpaceMore.js +30 -0
- package/lib/projection/ui/ProjectionSpaceMore.js.map +1 -0
- package/lib/projection/ui/ProjectionSpaceTab.d.ts +99 -0
- package/lib/projection/ui/ProjectionSpaceTab.d.ts.map +1 -0
- package/lib/projection/ui/ProjectionSpaceTab.js +66 -0
- package/lib/projection/ui/ProjectionSpaceTab.js.map +1 -0
- 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 -5
- package/lib/projection/ui/ProjectionViewer.d.ts.map +1 -1
- package/lib/projection/ui/ProjectionViewer.js +7 -6
- package/lib/projection/ui/ProjectionViewer.js.map +1 -1
- package/lib/projection/ui/index.d.ts +1 -0
- package/lib/projection/ui/index.d.ts.map +1 -1
- package/lib/projection/ui/index.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/projectionBarModel.d.ts.map +1 -1
- package/lib/projection/ui/projectionBarModel.js +3 -2
- package/lib/projection/ui/projectionBarModel.js.map +1 -1
- 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 +37 -3
- 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/projectionBarSlots.js +17 -0
- package/lib/projection/ui/projectionBarSlots.js.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 +10 -1
- package/lib/projection/ui/projectionMapChrome.d.ts.map +1 -1
- package/lib/projection/ui/projectionMapChrome.js +23 -21
- 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 +15 -1
- package/lib/projection/ui/projectionMapView.d.ts.map +1 -1
- package/lib/projection/ui/projectionMapView.js +26 -0
- package/lib/projection/ui/projectionMapView.js.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/projectionSpaceModel.d.ts +14 -0
- package/lib/projection/ui/projectionSpaceModel.d.ts.map +1 -0
- package/lib/projection/ui/projectionSpaceModel.js +14 -0
- package/lib/projection/ui/projectionSpaceModel.js.map +1 -0
- 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 +35 -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 +34 -42
- 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/lassoGesture.d.ts +14 -2
- package/lib/scatter/ui/lassoGesture.d.ts.map +1 -1
- package/lib/scatter/ui/lassoGesture.js +4 -1
- package/lib/scatter/ui/lassoGesture.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 -140
- 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 -85
- package/lib/scatter/ui/useScatterInteraction.d.ts.map +1 -1
- package/lib/scatter/ui/useScatterInteraction.js +35 -5
- 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/cloudGesture.d.ts +17 -0
- package/lib/scatter3d/core/cloudGesture.d.ts.map +1 -0
- package/lib/scatter3d/core/cloudGesture.js +2 -0
- package/lib/scatter3d/core/cloudGesture.js.map +1 -0
- package/lib/scatter3d/core/confidenceEllipsoid.d.ts +62 -0
- package/lib/scatter3d/core/confidenceEllipsoid.d.ts.map +1 -0
- package/lib/scatter3d/core/confidenceEllipsoid.js +93 -0
- package/lib/scatter3d/core/confidenceEllipsoid.js.map +1 -0
- package/lib/scatter3d/core/cubeFrame.d.ts +40 -0
- package/lib/scatter3d/core/cubeFrame.d.ts.map +1 -0
- package/lib/scatter3d/core/cubeFrame.js +58 -0
- package/lib/scatter3d/core/cubeFrame.js.map +1 -0
- package/lib/scatter3d/core/cubePoints.d.ts +35 -0
- package/lib/scatter3d/core/cubePoints.d.ts.map +1 -0
- package/lib/scatter3d/core/cubePoints.js +50 -0
- package/lib/scatter3d/core/cubePoints.js.map +1 -0
- package/lib/scatter3d/core/ellipsoidCoverage.d.ts +32 -0
- package/lib/scatter3d/core/ellipsoidCoverage.d.ts.map +1 -0
- package/lib/scatter3d/core/ellipsoidCoverage.js +83 -0
- package/lib/scatter3d/core/ellipsoidCoverage.js.map +1 -0
- package/lib/scatter3d/core/ellipsoidSilhouette.d.ts +41 -0
- package/lib/scatter3d/core/ellipsoidSilhouette.d.ts.map +1 -0
- package/lib/scatter3d/core/ellipsoidSilhouette.js +46 -0
- package/lib/scatter3d/core/ellipsoidSilhouette.js.map +1 -0
- package/lib/scatter3d/core/index.d.ts +29 -0
- package/lib/scatter3d/core/index.d.ts.map +1 -0
- package/lib/scatter3d/core/index.js +22 -0
- package/lib/scatter3d/core/index.js.map +1 -0
- package/lib/scatter3d/core/orbitCamera.d.ts +113 -0
- package/lib/scatter3d/core/orbitCamera.d.ts.map +1 -0
- package/lib/scatter3d/core/orbitCamera.js +104 -0
- package/lib/scatter3d/core/orbitCamera.js.map +1 -0
- package/lib/scatter3d/core/symmetricEigen.d.ts +47 -0
- package/lib/scatter3d/core/symmetricEigen.d.ts.map +1 -0
- package/lib/scatter3d/core/symmetricEigen.js +219 -0
- package/lib/scatter3d/core/symmetricEigen.js.map +1 -0
- package/lib/scatter3d/ui/CloudFrameLayer.d.ts +33 -0
- package/lib/scatter3d/ui/CloudFrameLayer.d.ts.map +1 -0
- package/lib/scatter3d/ui/CloudFrameLayer.js +39 -0
- package/lib/scatter3d/ui/CloudFrameLayer.js.map +1 -0
- package/lib/scatter3d/ui/CloudShellLayer.d.ts +51 -0
- package/lib/scatter3d/ui/CloudShellLayer.d.ts.map +1 -0
- package/lib/scatter3d/ui/CloudShellLayer.js +39 -0
- package/lib/scatter3d/ui/CloudShellLayer.js.map +1 -0
- package/lib/scatter3d/ui/ScatterCloud.d.ts +23 -0
- package/lib/scatter3d/ui/ScatterCloud.d.ts.map +1 -0
- package/lib/scatter3d/ui/ScatterCloud.js +151 -0
- package/lib/scatter3d/ui/ScatterCloud.js.map +1 -0
- package/lib/scatter3d/ui/cloudGeometry.d.ts +119 -0
- package/lib/scatter3d/ui/cloudGeometry.d.ts.map +1 -0
- package/lib/scatter3d/ui/cloudGeometry.js +140 -0
- package/lib/scatter3d/ui/cloudGeometry.js.map +1 -0
- package/lib/scatter3d/ui/cloudShellStyles.d.ts +34 -0
- package/lib/scatter3d/ui/cloudShellStyles.d.ts.map +1 -0
- package/lib/scatter3d/ui/cloudShellStyles.js +61 -0
- package/lib/scatter3d/ui/cloudShellStyles.js.map +1 -0
- package/lib/scatter3d/ui/cloudZoom.d.ts +21 -0
- package/lib/scatter3d/ui/cloudZoom.d.ts.map +1 -0
- package/lib/scatter3d/ui/cloudZoom.js +21 -0
- package/lib/scatter3d/ui/cloudZoom.js.map +1 -0
- package/lib/scatter3d/ui/index.d.ts +27 -0
- package/lib/scatter3d/ui/index.d.ts.map +1 -0
- package/lib/scatter3d/ui/index.js +20 -0
- package/lib/scatter3d/ui/index.js.map +1 -0
- 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 +60 -0
- package/lib/scatter3d/ui/scatterCloudModel.d.ts.map +1 -0
- package/lib/scatter3d/ui/scatterCloudModel.js +67 -0
- package/lib/scatter3d/ui/scatterCloudModel.js.map +1 -0
- package/lib/scatter3d/ui/scatterCloudProps.d.ts +86 -0
- package/lib/scatter3d/ui/scatterCloudProps.d.ts.map +1 -0
- package/lib/scatter3d/ui/scatterCloudProps.js +9 -0
- package/lib/scatter3d/ui/scatterCloudProps.js.map +1 -0
- package/lib/scatter3d/ui/useOrbitDrag.d.ts +60 -0
- package/lib/scatter3d/ui/useOrbitDrag.d.ts.map +1 -0
- package/lib/scatter3d/ui/useOrbitDrag.js +72 -0
- package/lib/scatter3d/ui/useOrbitDrag.js.map +1 -0
- 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 +5 -2
- package/lib/ui.d.ts.map +1 -1
- package/lib/ui.js +4 -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 +23 -5
- package/src/chrome/ui/NavMenuButton.tsx +25 -4
- package/src/chrome/ui/SiteFooter.tsx +16 -1
- package/src/chrome/ui/SiteHeader.tsx +42 -1
- package/src/chrome/ui/navItem.ts +17 -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 +6 -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/core/figureLegend.ts +167 -0
- package/src/download/core/figureSvg.ts +81 -1
- package/src/download/core/figureSvgDocument.ts +13 -3
- package/src/download/core/figureTarget.ts +21 -0
- package/src/download/core/index.ts +8 -0
- 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 +54 -71
- 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 +55 -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 +9 -2
- 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 +59 -65
- package/src/projection/core/projectionOptions.ts +14 -100
- package/src/projection/core/projectionPanelWords.ts +152 -0
- package/src/projection/core/projectionResult.ts +1 -1
- package/src/projection/core/projectionStrings.ts +12 -48
- package/src/projection/core/projectionTabDefaults.ts +12 -0
- package/src/projection/core/projectionTabs.ts +10 -1
- 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 +9 -1
- 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 +65 -2
- package/src/projection/ui/ProjectionReadout.tsx +17 -7
- 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 +203 -0
- package/src/projection/ui/ProjectionSpaceMore.tsx +146 -0
- package/src/projection/ui/ProjectionSpaceTab.tsx +217 -0
- 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 +8 -12
- package/src/projection/ui/index.ts +1 -0
- package/src/projection/ui/projectionAxisChoices.ts +31 -0
- package/src/projection/ui/projectionBarModel.ts +3 -2
- package/src/projection/ui/projectionBarReadings.ts +43 -4
- package/src/projection/ui/projectionBarSlots.tsx +21 -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 +40 -24
- package/src/projection/ui/projectionMapModel.ts +2 -4
- package/src/projection/ui/projectionMapView.ts +46 -1
- package/src/projection/ui/projectionPairsCeiling.ts +1 -1
- package/src/projection/ui/projectionSpaceModel.ts +14 -0
- 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 +37 -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 +42 -114
- package/src/scatter/ui/ScatterPointLayer.tsx +28 -15
- package/src/scatter/ui/index.ts +11 -17
- package/src/scatter/ui/lassoGesture.ts +15 -2
- 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 -142
- 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 +48 -93
- package/src/scatter/ui/useScatterLabels.ts +88 -0
- package/src/scatter3d/core/cloudGesture.ts +16 -0
- package/src/scatter3d/core/confidenceEllipsoid.ts +139 -0
- package/src/scatter3d/core/cubeFrame.ts +72 -0
- package/src/scatter3d/core/cubePoints.ts +75 -0
- package/src/scatter3d/core/ellipsoidCoverage.ts +86 -0
- package/src/scatter3d/core/ellipsoidSilhouette.ts +70 -0
- package/src/scatter3d/core/index.ts +52 -0
- package/src/scatter3d/core/orbitCamera.ts +159 -0
- package/src/scatter3d/core/symmetricEigen.ts +273 -0
- package/src/scatter3d/ui/CloudFrameLayer.tsx +102 -0
- package/src/scatter3d/ui/CloudShellLayer.tsx +106 -0
- package/src/scatter3d/ui/ScatterCloud.tsx +247 -0
- package/src/scatter3d/ui/cloudGeometry.ts +223 -0
- package/src/scatter3d/ui/cloudShellStyles.ts +73 -0
- package/src/scatter3d/ui/cloudZoom.ts +23 -0
- package/src/scatter3d/ui/index.ts +39 -0
- package/src/scatter3d/ui/orbitDragTrack.ts +133 -0
- package/src/scatter3d/ui/scatterCloudModel.ts +99 -0
- package/src/scatter3d/ui/scatterCloudProps.ts +91 -0
- package/src/scatter3d/ui/useOrbitDrag.ts +158 -0
- 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 +9 -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 +111 -4
- 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/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/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/router/core/pageAddresses.ts +0 -106
- package/src/scatter/ui/scatterGroupSpread.ts +0 -206
- 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,28 @@
|
|
|
1
|
+
import { defaultSchema } from 'rehype-sanitize';
|
|
2
|
+
/**
|
|
3
|
+
* What survives of the raw HTML a deck writes.
|
|
4
|
+
*
|
|
5
|
+
* GitHub's schema, which already strips scripts, event handlers and every URL
|
|
6
|
+
* that is not http, https or relative, plus what decks legitimately use beyond
|
|
7
|
+
* it: figures, the class a site styles a block with, and frames. Which frame
|
|
8
|
+
* may actually be drawn is decided by `isFamilyFrameSource` when it renders.
|
|
9
|
+
*/
|
|
10
|
+
export const SLIDE_SANITIZE_SCHEMA = {
|
|
11
|
+
...defaultSchema,
|
|
12
|
+
tagNames: [
|
|
13
|
+
...(defaultSchema.tagNames ?? []),
|
|
14
|
+
'caption',
|
|
15
|
+
'figcaption',
|
|
16
|
+
'figure',
|
|
17
|
+
'iframe',
|
|
18
|
+
'mark',
|
|
19
|
+
'small',
|
|
20
|
+
'u',
|
|
21
|
+
],
|
|
22
|
+
attributes: {
|
|
23
|
+
...defaultSchema.attributes,
|
|
24
|
+
iframe: ['src', 'allowFullScreen'],
|
|
25
|
+
'*': [...(defaultSchema.attributes?.['*'] ?? []), 'className'],
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=slideSanitizeSchema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slideSanitizeSchema.js","sourceRoot":"","sources":["../../../src/slides/ui/slideSanitizeSchema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAmB;IACnD,GAAG,aAAa;IAChB,QAAQ,EAAE;QACR,GAAG,CAAC,aAAa,CAAC,QAAQ,IAAI,EAAE,CAAC;QACjC,SAAS;QACT,YAAY;QACZ,QAAQ;QACR,QAAQ;QACR,MAAM;QACN,OAAO;QACP,GAAG;KACJ;IACD,UAAU,EAAE;QACV,GAAG,aAAa,CAAC,UAAU;QAC3B,MAAM,EAAE,CAAC,KAAK,EAAE,iBAAiB,CAAC;QAClC,GAAG,EAAE,CAAC,GAAG,CAAC,aAAa,CAAC,UAAU,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,EAAE,WAAW,CAAC;KAC/D;CACF,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { RefObject } from 'react';
|
|
2
|
+
/** Fullscreen owned by the site rather than by the player. */
|
|
3
|
+
export interface SlideshowFullscreen {
|
|
4
|
+
/** Whether the site is presenting. */
|
|
5
|
+
isFullscreen: boolean;
|
|
6
|
+
/** Called when `f` or the bar's button asks to change that. */
|
|
7
|
+
onToggle: () => void;
|
|
8
|
+
}
|
|
9
|
+
/** Whether the player is presenting, and how its key and button change that. */
|
|
10
|
+
interface SlideshowFullscreenState {
|
|
11
|
+
/** Whether the talk fills the screen. */
|
|
12
|
+
isFullscreen: boolean;
|
|
13
|
+
/** Enter or leave fullscreen. */
|
|
14
|
+
toggle: () => void;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The fullscreen a slideshow's `f` key and bar button drive: the site's own
|
|
18
|
+
* when it passes one, otherwise the player element itself, followed through
|
|
19
|
+
* the document's `fullscreenchange` so leaving with Escape is seen too.
|
|
20
|
+
* @param playerRef - The element fullscreened when the site owns no fullscreen.
|
|
21
|
+
* @param owned - The site's fullscreen, when the site owns it.
|
|
22
|
+
* @returns Whether the talk fills the screen, and the toggle.
|
|
23
|
+
*/
|
|
24
|
+
export declare function useSlideshowFullscreen(playerRef: RefObject<HTMLElement | null>, owned: SlideshowFullscreen | undefined): SlideshowFullscreenState;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=useSlideshowFullscreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSlideshowFullscreen.d.ts","sourceRoot":"","sources":["../../../src/slides/ui/useSlideshowFullscreen.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,8DAA8D;AAC9D,MAAM,WAAW,mBAAmB;IAClC,sCAAsC;IACtC,YAAY,EAAE,OAAO,CAAC;IACtB,+DAA+D;IAC/D,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,gFAAgF;AAChF,UAAU,wBAAwB;IAChC,yCAAyC;IACzC,YAAY,EAAE,OAAO,CAAC;IACtB,iCAAiC;IACjC,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CACpC,SAAS,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,EACxC,KAAK,EAAE,mBAAmB,GAAG,SAAS,GACrC,wBAAwB,CA4B1B"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { useCallback, useEffect, useState } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The fullscreen a slideshow's `f` key and bar button drive: the site's own
|
|
4
|
+
* when it passes one, otherwise the player element itself, followed through
|
|
5
|
+
* the document's `fullscreenchange` so leaving with Escape is seen too.
|
|
6
|
+
* @param playerRef - The element fullscreened when the site owns no fullscreen.
|
|
7
|
+
* @param owned - The site's fullscreen, when the site owns it.
|
|
8
|
+
* @returns Whether the talk fills the screen, and the toggle.
|
|
9
|
+
*/
|
|
10
|
+
export function useSlideshowFullscreen(playerRef, owned) {
|
|
11
|
+
const [isOwnFullscreen, setIsOwnFullscreen] = useState(false);
|
|
12
|
+
const followsPlayer = owned === undefined;
|
|
13
|
+
const toggleOwn = useCallback(() => {
|
|
14
|
+
const element = playerRef.current;
|
|
15
|
+
if (element === null)
|
|
16
|
+
return;
|
|
17
|
+
if (document.fullscreenElement === element) {
|
|
18
|
+
void document.exitFullscreen().catch(() => undefined);
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
void element.requestFullscreen().catch(() => undefined);
|
|
22
|
+
}
|
|
23
|
+
}, [playerRef]);
|
|
24
|
+
useEffect(() => {
|
|
25
|
+
if (!followsPlayer)
|
|
26
|
+
return;
|
|
27
|
+
function onFullscreenChange() {
|
|
28
|
+
setIsOwnFullscreen(document.fullscreenElement === playerRef.current);
|
|
29
|
+
}
|
|
30
|
+
document.addEventListener('fullscreenchange', onFullscreenChange);
|
|
31
|
+
return () => {
|
|
32
|
+
document.removeEventListener('fullscreenchange', onFullscreenChange);
|
|
33
|
+
};
|
|
34
|
+
}, [followsPlayer, playerRef]);
|
|
35
|
+
return owned === undefined
|
|
36
|
+
? { isFullscreen: isOwnFullscreen, toggle: toggleOwn }
|
|
37
|
+
: { isFullscreen: owned.isFullscreen, toggle: owned.onToggle };
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=useSlideshowFullscreen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSlideshowFullscreen.js","sourceRoot":"","sources":["../../../src/slides/ui/useSlideshowFullscreen.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAkBzD;;;;;;;GAOG;AACH,MAAM,UAAU,sBAAsB,CACpC,SAAwC,EACxC,KAAsC;IAEtC,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9D,MAAM,aAAa,GAAG,KAAK,KAAK,SAAS,CAAC;IAE1C,MAAM,SAAS,GAAG,WAAW,CAAC,GAAG,EAAE;QACjC,MAAM,OAAO,GAAG,SAAS,CAAC,OAAO,CAAC;QAClC,IAAI,OAAO,KAAK,IAAI;YAAE,OAAO;QAC7B,IAAI,QAAQ,CAAC,iBAAiB,KAAK,OAAO,EAAE,CAAC;YAC3C,KAAK,QAAQ,CAAC,cAAc,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC;QACxD,CAAC;aAAM,CAAC;YACN,KAAK,OAAO,CAAC,iBAAiB,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC;QAC1D,CAAC;IACH,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAEhB,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,CAAC,aAAa;YAAE,OAAO;QAC3B,SAAS,kBAAkB;YACzB,kBAAkB,CAAC,QAAQ,CAAC,iBAAiB,KAAK,SAAS,CAAC,OAAO,CAAC,CAAC;QACvE,CAAC;QACD,QAAQ,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAAC;QAClE,OAAO,GAAG,EAAE;YACV,QAAQ,CAAC,mBAAmB,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAAC;QACvE,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,aAAa,EAAE,SAAS,CAAC,CAAC,CAAC;IAE/B,OAAO,KAAK,KAAK,SAAS;QACxB,CAAC,CAAC,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,EAAE,SAAS,EAAE;QACtD,CAAC,CAAC,EAAE,YAAY,EAAE,KAAK,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC;AACnE,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/** Everything that moves, crops or resamples the x axis, and the two housekeeping steps. */
|
|
1
2
|
export declare const AXIS_ENTRIES: {
|
|
2
3
|
readonly xFunction: {
|
|
3
4
|
readonly label: "Apply a formula to x";
|
|
@@ -6,6 +7,20 @@ export declare const AXIS_ENTRIES: {
|
|
|
6
7
|
readonly fields: readonly [import("./filterFields.ts").FilterField];
|
|
7
8
|
readonly caution: "Every range below is then read in the new units — including the resampling range, which runs last unless you resample first.";
|
|
8
9
|
};
|
|
10
|
+
readonly setMinX: {
|
|
11
|
+
readonly label: "Shift x to start at a value";
|
|
12
|
+
readonly group: "x-axis";
|
|
13
|
+
readonly summary: "Adds one constant to every x so the smallest lands on the value given.";
|
|
14
|
+
readonly fields: readonly [import("./filterFields.ts").FilterField];
|
|
15
|
+
readonly caution: "Left empty, the smallest x is moved to 0, not left where it is.";
|
|
16
|
+
};
|
|
17
|
+
readonly setMaxX: {
|
|
18
|
+
readonly label: "Shift x to end at a value";
|
|
19
|
+
readonly group: "x-axis";
|
|
20
|
+
readonly summary: "Adds one constant to every x so the largest lands on the value given.";
|
|
21
|
+
readonly fields: readonly [import("./filterFields.ts").FilterField];
|
|
22
|
+
readonly caution: "Left empty, the largest x is moved to 1, not left where it is.";
|
|
23
|
+
};
|
|
9
24
|
readonly fromTo: {
|
|
10
25
|
readonly label: "Crop";
|
|
11
26
|
readonly group: "x-axis";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axisEntries.d.ts","sourceRoot":"","sources":["../../../src/spectra/core/axisEntries.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"axisEntries.d.ts","sourceRoot":"","sources":["../../../src/spectra/core/axisEntries.ts"],"names":[],"mappings":"AAUA,4FAA4F;AAC5F,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgH8B,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { RANGE_FIELDS, ZONE_FIELDS } from "./filterEntries.js";
|
|
2
2
|
import { booleanField, enumField, formulaField, integerField, numberField, } from "./filterFields.js";
|
|
3
|
+
/** Everything that moves, crops or resamples the x axis, and the two housekeeping steps. */
|
|
3
4
|
export const AXIS_ENTRIES = {
|
|
4
5
|
xFunction: {
|
|
5
6
|
label: 'Apply a formula to x',
|
|
@@ -10,6 +11,20 @@ export const AXIS_ENTRIES = {
|
|
|
10
11
|
],
|
|
11
12
|
caution: 'Every range below is then read in the new units — including the resampling range, which runs last unless you resample first.',
|
|
12
13
|
},
|
|
14
|
+
setMinX: {
|
|
15
|
+
label: 'Shift x to start at a value',
|
|
16
|
+
group: 'x-axis',
|
|
17
|
+
summary: 'Adds one constant to every x so the smallest lands on the value given.',
|
|
18
|
+
fields: [numberField('min', 'Smallest x', '0')],
|
|
19
|
+
caution: 'Left empty, the smallest x is moved to 0, not left where it is.',
|
|
20
|
+
},
|
|
21
|
+
setMaxX: {
|
|
22
|
+
label: 'Shift x to end at a value',
|
|
23
|
+
group: 'x-axis',
|
|
24
|
+
summary: 'Adds one constant to every x so the largest lands on the value given.',
|
|
25
|
+
fields: [numberField('max', 'Largest x', '1')],
|
|
26
|
+
caution: 'Left empty, the largest x is moved to 1, not left where it is.',
|
|
27
|
+
},
|
|
13
28
|
fromTo: {
|
|
14
29
|
label: 'Crop',
|
|
15
30
|
group: 'x-axis',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axisEntries.js","sourceRoot":"","sources":["../../../src/spectra/core/axisEntries.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EACL,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,YAAY,EACZ,WAAW,GACZ,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,SAAS,EAAE;QACT,KAAK,EAAE,sBAAsB;QAC7B,KAAK,EAAE,QAAQ;QACf,OAAO,EACL,yEAAyE;QAC3E,MAAM,EAAE;YACN,YAAY,CACV,UAAU,EACV,iBAAiB,EACjB,iEAAiE,CAClE;SACF;QACD,OAAO,EACL,8HAA8H;KACjI;IACD,MAAM,EAAE;QACN,KAAK,EAAE,MAAM;QACb,KAAK,EAAE,QAAQ;QACf,OAAO,EAAE,uDAAuD;QAChE,MAAM,EAAE;YACN,GAAG,YAAY;YACf,YAAY,CAAC,WAAW,EAAE,cAAc,EAAE,GAAG,CAAC;YAC9C,YAAY,CAAC,SAAS,EAAE,YAAY,EAAE,gBAAgB,CAAC;SACxD;QACD,OAAO,EACL,yFAAyF;KAC5F;IACD,OAAO,EAAE;QACP,KAAK,EAAE,sBAAsB;QAC7B,KAAK,EAAE,QAAQ;QACf,OAAO,EACL,2EAA2E;QAC7E,MAAM,EAAE,CAAC,GAAG,YAAY,EAAE,GAAG,WAAW,CAAC;KAC1C;IACD,aAAa,EAAE;QACb,KAAK,EAAE,4BAA4B;QACnC,KAAK,EAAE,QAAQ;QACf,OAAO,EAAE,2CAA2C;QACpD,MAAM,EAAE;YACN,GAAG,YAAY;YACf,YAAY,CAAC,gBAAgB,EAAE,kBAAkB,EAAE,KAAK,CAAC;YACzD,GAAG,WAAW;SACf;QACD,OAAO,EACL,yHAAyH;KAC5H;IACD,UAAU,EAAE;QACV,KAAK,EAAE,uBAAuB;QAC9B,KAAK,EAAE,QAAQ;QACf,OAAO,EACL,8GAA8G;QAChH,MAAM,EAAE;YACN,GAAG,YAAY;YACf,YAAY,CAAC,SAAS,EAAE,eAAe,EAAE,GAAG,CAAC;YAC7C,WAAW,CAAC,SAAS,EAAE,cAAc,EAAE,GAAG,CAAC;YAC3C,YAAY,CAAC,aAAa,EAAE,uBAAuB,CAAC;YACpD,YAAY,CACV,iBAAiB,EACjB,aAAa,EACb,2BAA2B,CAC5B;YACD,WAAW,CACT,iBAAiB,EACjB,oBAAoB,EACpB,SAAS,EACT,qHAAqH,CACtH;YACD,WAAW,CAAC,gBAAgB,EAAE,aAAa,EAAE,SAAS,CAAC;YACvD,YAAY,CAAC,sBAAsB,EAAE,mBAAmB,CAAC;YACzD,YAAY,CAAC,0BAA0B,EAAE,qBAAqB,EAAE,GAAG,CAAC;YACpE,YAAY,CAAC,0BAA0B,EAAE,yBAAyB,EAAE,GAAG,CAAC;YACxE,SAAS,CAAC,4BAA4B,EAAE,aAAa,EAAE;gBACrD,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,sBAAsB,EAAE;gBACjD,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,uBAAuB,EAAE;gBACnD,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB,EAAE;aAC3C,CAAC;SACH;QACD,OAAO,EACL,oGAAoG;KACvG;IACD,aAAa,EAAE;QACb,KAAK,EAAE,4BAA4B;QACnC,KAAK,EAAE,SAAS;QAChB,OAAO,EACL,wGAAwG;QAC1G,MAAM,EAAE,EAAE;KACX;IACD,eAAe,EAAE;QACf,KAAK,EAAE,wBAAwB;QAC/B,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,8CAA8C;QACvD,MAAM,EAAE,EAAE;QACV,OAAO,EACL,mFAAmF;KACtF;CACoD,CAAC"}
|
|
1
|
+
{"version":3,"file":"axisEntries.js","sourceRoot":"","sources":["../../../src/spectra/core/axisEntries.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EACL,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,YAAY,EACZ,WAAW,GACZ,MAAM,mBAAmB,CAAC;AAE3B,4FAA4F;AAC5F,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,SAAS,EAAE;QACT,KAAK,EAAE,sBAAsB;QAC7B,KAAK,EAAE,QAAQ;QACf,OAAO,EACL,yEAAyE;QAC3E,MAAM,EAAE;YACN,YAAY,CACV,UAAU,EACV,iBAAiB,EACjB,iEAAiE,CAClE;SACF;QACD,OAAO,EACL,8HAA8H;KACjI;IACD,OAAO,EAAE;QACP,KAAK,EAAE,6BAA6B;QACpC,KAAK,EAAE,QAAQ;QACf,OAAO,EACL,wEAAwE;QAC1E,MAAM,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,CAAC,CAAC;QAC/C,OAAO,EAAE,iEAAiE;KAC3E;IACD,OAAO,EAAE;QACP,KAAK,EAAE,2BAA2B;QAClC,KAAK,EAAE,QAAQ;QACf,OAAO,EACL,uEAAuE;QACzE,MAAM,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE,WAAW,EAAE,GAAG,CAAC,CAAC;QAC9C,OAAO,EAAE,gEAAgE;KAC1E;IACD,MAAM,EAAE;QACN,KAAK,EAAE,MAAM;QACb,KAAK,EAAE,QAAQ;QACf,OAAO,EAAE,uDAAuD;QAChE,MAAM,EAAE;YACN,GAAG,YAAY;YACf,YAAY,CAAC,WAAW,EAAE,cAAc,EAAE,GAAG,CAAC;YAC9C,YAAY,CAAC,SAAS,EAAE,YAAY,EAAE,gBAAgB,CAAC;SACxD;QACD,OAAO,EACL,yFAAyF;KAC5F;IACD,OAAO,EAAE;QACP,KAAK,EAAE,sBAAsB;QAC7B,KAAK,EAAE,QAAQ;QACf,OAAO,EACL,2EAA2E;QAC7E,MAAM,EAAE,CAAC,GAAG,YAAY,EAAE,GAAG,WAAW,CAAC;KAC1C;IACD,aAAa,EAAE;QACb,KAAK,EAAE,4BAA4B;QACnC,KAAK,EAAE,QAAQ;QACf,OAAO,EAAE,2CAA2C;QACpD,MAAM,EAAE;YACN,GAAG,YAAY;YACf,YAAY,CAAC,gBAAgB,EAAE,kBAAkB,EAAE,KAAK,CAAC;YACzD,GAAG,WAAW;SACf;QACD,OAAO,EACL,yHAAyH;KAC5H;IACD,UAAU,EAAE;QACV,KAAK,EAAE,uBAAuB;QAC9B,KAAK,EAAE,QAAQ;QACf,OAAO,EACL,8GAA8G;QAChH,MAAM,EAAE;YACN,GAAG,YAAY;YACf,YAAY,CAAC,SAAS,EAAE,eAAe,EAAE,GAAG,CAAC;YAC7C,WAAW,CAAC,SAAS,EAAE,cAAc,EAAE,GAAG,CAAC;YAC3C,YAAY,CAAC,aAAa,EAAE,uBAAuB,CAAC;YACpD,YAAY,CACV,iBAAiB,EACjB,aAAa,EACb,2BAA2B,CAC5B;YACD,WAAW,CACT,iBAAiB,EACjB,oBAAoB,EACpB,SAAS,EACT,qHAAqH,CACtH;YACD,WAAW,CAAC,gBAAgB,EAAE,aAAa,EAAE,SAAS,CAAC;YACvD,YAAY,CAAC,sBAAsB,EAAE,mBAAmB,CAAC;YACzD,YAAY,CAAC,0BAA0B,EAAE,qBAAqB,EAAE,GAAG,CAAC;YACpE,YAAY,CAAC,0BAA0B,EAAE,yBAAyB,EAAE,GAAG,CAAC;YACxE,SAAS,CAAC,4BAA4B,EAAE,aAAa,EAAE;gBACrD,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,sBAAsB,EAAE;gBACjD,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,uBAAuB,EAAE;gBACnD,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB,EAAE;aAC3C,CAAC;SACH;QACD,OAAO,EACL,oGAAoG;KACvG;IACD,aAAa,EAAE;QACb,KAAK,EAAE,4BAA4B;QACnC,KAAK,EAAE,SAAS;QAChB,OAAO,EACL,wGAAwG;QAC1G,MAAM,EAAE,EAAE;KACX;IACD,eAAe,EAAE;QACf,KAAK,EAAE,wBAAwB;QAC/B,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,8CAA8C;QACvD,MAAM,EAAE,EAAE;QACV,OAAO,EACL,mFAAmF;KACtF;CACoD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chainProblems.d.ts","sourceRoot":"","sources":["../../../src/spectra/core/chainProblems.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"chainProblems.d.ts","sourceRoot":"","sources":["../../../src/spectra/core/chainProblems.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAgB,eAAe,EAAE,MAAM,eAAe,CAAC;AAEnE,OAAO,KAAK,EAAE,cAAc,EAAsB,MAAM,eAAe,CAAC;AA2CxE;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,SAAS,cAAc,EAAE,EAChC,aAAa,EAAE,OAAO,GACrB,eAAe,EAAE,CAkFnB"}
|
|
@@ -13,11 +13,28 @@ const UNTYPES_X = new Set([
|
|
|
13
13
|
'equallySpaced',
|
|
14
14
|
'filterX',
|
|
15
15
|
]);
|
|
16
|
+
/**
|
|
17
|
+
* The steps that hand on a typed x whenever they change it, which is every
|
|
18
|
+
* time but the one where x already sits where they would put it.
|
|
19
|
+
*/
|
|
20
|
+
const RETYPES_X = new Set([
|
|
21
|
+
'setMaxX',
|
|
22
|
+
'setMinX',
|
|
23
|
+
]);
|
|
16
24
|
/** The steps that read x as a typed array and throw on a plain one. */
|
|
17
25
|
const NEEDS_TYPED_X = new Set([
|
|
18
26
|
'calibrateX',
|
|
19
27
|
'fromTo',
|
|
20
28
|
]);
|
|
29
|
+
/** The steps that rewrite the x values themselves rather than crop them. */
|
|
30
|
+
const MOVES_X = new Set([
|
|
31
|
+
'calibrateX',
|
|
32
|
+
'setMaxX',
|
|
33
|
+
'setMinX',
|
|
34
|
+
'xFunction',
|
|
35
|
+
]);
|
|
36
|
+
/** Where the problems about the chain as a whole are filed. */
|
|
37
|
+
const WHOLE_CHAIN = { part: 'chain', where: 'The chain' };
|
|
21
38
|
/**
|
|
22
39
|
* Everything wrong, or probably wrong, with one chain.
|
|
23
40
|
*
|
|
@@ -36,32 +53,38 @@ export function chainProblems(chain, resampleFirst) {
|
|
|
36
53
|
let plainX = resampleFirst;
|
|
37
54
|
let mayBePlainX = resampleFirst;
|
|
38
55
|
for (const [index, step] of chain.entries()) {
|
|
39
|
-
const
|
|
56
|
+
const place = {
|
|
57
|
+
part: 'chain',
|
|
58
|
+
index,
|
|
59
|
+
where: filterStepLabel(step.name, index),
|
|
60
|
+
};
|
|
40
61
|
const entry = findFilterEntry(step.name);
|
|
41
|
-
problems.push(...stepProblems(step,
|
|
62
|
+
problems.push(...stepProblems(step, place));
|
|
42
63
|
if (entry === undefined) {
|
|
43
|
-
problems.push(problem('warning',
|
|
64
|
+
problems.push(problem('warning', place, `${step.name} is not one of the steps this editor knows, so its options are left as they are. The processor throws on a name it cannot dispatch.`));
|
|
44
65
|
continue;
|
|
45
66
|
}
|
|
46
67
|
if (NEEDS_TYPED_X.has(step.name)) {
|
|
47
68
|
if (plainX) {
|
|
48
|
-
problems.push(problem('error',
|
|
69
|
+
problems.push(problem('error', place, TYPED_X_MESSAGE));
|
|
49
70
|
}
|
|
50
71
|
else if (mayBePlainX) {
|
|
51
|
-
problems.push(problem('warning',
|
|
72
|
+
problems.push(problem('warning', place, MAY_BE_PLAIN_MESSAGE));
|
|
52
73
|
}
|
|
53
74
|
}
|
|
54
75
|
if (UNTYPES_X.has(step.name)) {
|
|
55
76
|
plainX = true;
|
|
56
77
|
mayBePlainX = true;
|
|
57
78
|
}
|
|
79
|
+
if (RETYPES_X.has(step.name))
|
|
80
|
+
plainX = false;
|
|
58
81
|
if (step.name === 'ensureGrowing')
|
|
59
82
|
mayBePlainX = true;
|
|
60
83
|
const { group } = entry;
|
|
61
84
|
if (group === 'baseline') {
|
|
62
85
|
baselines++;
|
|
63
86
|
if (firstScaling !== undefined) {
|
|
64
|
-
problems.push(problem('warning',
|
|
87
|
+
problems.push(problem('warning', place, `Step ${String(firstScaling + 1)} scales the signal before this levels it, so the scaling is measured against an offset that then changes. Level first.`));
|
|
65
88
|
firstScaling = undefined;
|
|
66
89
|
}
|
|
67
90
|
}
|
|
@@ -69,30 +92,41 @@ export function chainProblems(chain, resampleFirst) {
|
|
|
69
92
|
scalings++;
|
|
70
93
|
firstScaling ??= index;
|
|
71
94
|
}
|
|
72
|
-
|
|
73
|
-
problems.push(problem('warning', where, 'The chain already turns a descending axis round before every step, so this one does nothing.'));
|
|
74
|
-
}
|
|
75
|
-
if (step.name === 'equallySpaced') {
|
|
76
|
-
problems.push(problem('warning', where, resampleFirst
|
|
77
|
-
? 'The settings resample before the chain runs, so this resamples a second time and the point count set here is the one the matrix ends up with.'
|
|
78
|
-
: 'The settings resample after the chain runs, so this resamples a second time and the point count set above is the one the matrix ends up with.'));
|
|
79
|
-
}
|
|
80
|
-
if (!resampleFirst &&
|
|
81
|
-
(step.name === 'xFunction' || step.name === 'calibrateX')) {
|
|
82
|
-
problems.push(problem('warning', where, 'This changes the x axis before the resampling runs, so the range and the exclusions above are read in the new units.'));
|
|
83
|
-
}
|
|
84
|
-
if (resampleFirst && step.name === 'filterX') {
|
|
85
|
-
problems.push(problem('warning', where, 'Cropping after the resampling can leave each spectrum on its own grid, and the matrix then lines up rows that do not match. Pin the range above, or turn resampling back to last.'));
|
|
86
|
-
}
|
|
95
|
+
problems.push(...orderAdvice(step.name, place, resampleFirst));
|
|
87
96
|
}
|
|
88
97
|
if (baselines > 1) {
|
|
89
|
-
problems.push(problem('warning',
|
|
98
|
+
problems.push(problem('warning', WHOLE_CHAIN, `${String(baselines)} baselines are subtracted one after another, each estimated from what the last one left.`));
|
|
90
99
|
}
|
|
91
100
|
if (scalings > 1) {
|
|
92
|
-
problems.push(problem('warning',
|
|
101
|
+
problems.push(problem('warning', WHOLE_CHAIN, `${String(scalings)} steps set the y scale; only the last of them still shows in the result.`));
|
|
93
102
|
}
|
|
94
103
|
return problems;
|
|
95
104
|
}
|
|
105
|
+
/**
|
|
106
|
+
* The advice a step earns from where it sits against the resampling.
|
|
107
|
+
* @param name - The step's name.
|
|
108
|
+
* @param place - Which step it is.
|
|
109
|
+
* @param resampleFirst - Whether the settings resample before the chain runs.
|
|
110
|
+
* @returns Its advice.
|
|
111
|
+
*/
|
|
112
|
+
function orderAdvice(name, place, resampleFirst) {
|
|
113
|
+
const advice = [];
|
|
114
|
+
if (name === 'reverseIfNeeded') {
|
|
115
|
+
advice.push(problem('warning', place, 'The chain already turns a descending axis round before every step, so this one does nothing.'));
|
|
116
|
+
}
|
|
117
|
+
if (name === 'equallySpaced') {
|
|
118
|
+
advice.push(problem('warning', place, resampleFirst
|
|
119
|
+
? 'The settings resample before the chain runs, so this resamples a second time and the point count set here is the one the matrix ends up with.'
|
|
120
|
+
: 'The settings resample after the chain runs, so this resamples a second time and the point count set above is the one the matrix ends up with.'));
|
|
121
|
+
}
|
|
122
|
+
if (!resampleFirst && MOVES_X.has(name)) {
|
|
123
|
+
advice.push(problem('warning', place, 'This changes the x axis before the resampling runs, so the range and the exclusions above are read in the new units.'));
|
|
124
|
+
}
|
|
125
|
+
if (resampleFirst && name === 'filterX') {
|
|
126
|
+
advice.push(problem('warning', place, 'Cropping after the resampling can leave each spectrum on its own grid, and the matrix then lines up rows that do not match. Pin the range above, or turn resampling back to last.'));
|
|
127
|
+
}
|
|
128
|
+
return advice;
|
|
129
|
+
}
|
|
96
130
|
/** What a step reading x as a typed array is told when it cannot be one. */
|
|
97
131
|
const TYPED_X_MESSAGE = 'This step reads x as a typed array, and resampling or cropping has already turned it into a plain one, so the processor throws. Move it before them, or turn resampling back to last.';
|
|
98
132
|
/** The same, when only the data can settle whether x was untyped. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chainProblems.js","sourceRoot":"","sources":["../../../src/spectra/core/chainProblems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAEtE,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,oFAAoF;AACpF,MAAM,aAAa,GAAoC,IAAI,GAAG,CAAC;IAC7D,YAAY;IACZ,QAAQ;IACR,qBAAqB;IACrB,SAAS;CACV,CAAC,CAAC;AAEH,qEAAqE;AACrE,MAAM,SAAS,GAAoC,IAAI,GAAG,CAAC;IACzD,eAAe;IACf,SAAS;CACV,CAAC,CAAC;AAEH,uEAAuE;AACvE,MAAM,aAAa,GAAoC,IAAI,GAAG,CAAC;IAC7D,YAAY;IACZ,QAAQ;CACT,CAAC,CAAC;AAEH;;;;;;;;;GASG;AACH,MAAM,UAAU,aAAa,CAC3B,KAAgC,EAChC,aAAsB;IAEtB,MAAM,QAAQ,GAAsB,EAAE,CAAC;IACvC,IAAI,SAAS,GAAG,CAAC,CAAC;IAClB,IAAI,QAAQ,GAAG,CAAC,CAAC;IACjB,IAAI,YAAgC,CAAC;IACrC,IAAI,MAAM,GAAG,aAAa,CAAC;IAC3B,IAAI,WAAW,GAAG,aAAa,CAAC;IAEhC,KAAK,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,KAAK,CAAC,OAAO,EAAE,EAAE,CAAC;QAC5C,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"chainProblems.js","sourceRoot":"","sources":["../../../src/spectra/core/chainProblems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAEtE,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,oFAAoF;AACpF,MAAM,aAAa,GAAoC,IAAI,GAAG,CAAC;IAC7D,YAAY;IACZ,QAAQ;IACR,qBAAqB;IACrB,SAAS;CACV,CAAC,CAAC;AAEH,qEAAqE;AACrE,MAAM,SAAS,GAAoC,IAAI,GAAG,CAAC;IACzD,eAAe;IACf,SAAS;CACV,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,SAAS,GAAoC,IAAI,GAAG,CAAC;IACzD,SAAS;IACT,SAAS;CACV,CAAC,CAAC;AAEH,uEAAuE;AACvE,MAAM,aAAa,GAAoC,IAAI,GAAG,CAAC;IAC7D,YAAY;IACZ,QAAQ;CACT,CAAC,CAAC;AAEH,4EAA4E;AAC5E,MAAM,OAAO,GAAoC,IAAI,GAAG,CAAC;IACvD,YAAY;IACZ,SAAS;IACT,SAAS;IACT,WAAW;CACZ,CAAC,CAAC;AAEH,+DAA+D;AAC/D,MAAM,WAAW,GAAiB,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC;AAExE;;;;;;;;;GASG;AACH,MAAM,UAAU,aAAa,CAC3B,KAAgC,EAChC,aAAsB;IAEtB,MAAM,QAAQ,GAAsB,EAAE,CAAC;IACvC,IAAI,SAAS,GAAG,CAAC,CAAC;IAClB,IAAI,QAAQ,GAAG,CAAC,CAAC;IACjB,IAAI,YAAgC,CAAC;IACrC,IAAI,MAAM,GAAG,aAAa,CAAC;IAC3B,IAAI,WAAW,GAAG,aAAa,CAAC;IAEhC,KAAK,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,KAAK,CAAC,OAAO,EAAE,EAAE,CAAC;QAC5C,MAAM,KAAK,GAAiB;YAC1B,IAAI,EAAE,OAAO;YACb,KAAK;YACL,KAAK,EAAE,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC;SACzC,CAAC;QACF,MAAM,KAAK,GAAG,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACzC,QAAQ,CAAC,IAAI,CAAC,GAAG,YAAY,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;QAE5C,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,QAAQ,CAAC,IAAI,CACX,OAAO,CACL,SAAS,EACT,KAAK,EACL,GAAG,IAAI,CAAC,IAAI,qIAAqI,CAClJ,CACF,CAAC;YACF,SAAS;QACX,CAAC;QAED,IAAI,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YACjC,IAAI,MAAM,EAAE,CAAC;gBACX,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC;YAC1D,CAAC;iBAAM,IAAI,WAAW,EAAE,CAAC;gBACvB,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC;YACjE,CAAC;QACH,CAAC;QACD,IAAI,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YAC7B,MAAM,GAAG,IAAI,CAAC;YACd,WAAW,GAAG,IAAI,CAAC;QACrB,CAAC;QACD,IAAI,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;YAAE,MAAM,GAAG,KAAK,CAAC;QAC7C,IAAI,IAAI,CAAC,IAAI,KAAK,eAAe;YAAE,WAAW,GAAG,IAAI,CAAC;QAEtD,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;QACxB,IAAI,KAAK,KAAK,UAAU,EAAE,CAAC;YACzB,SAAS,EAAE,CAAC;YACZ,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;gBAC/B,QAAQ,CAAC,IAAI,CACX,OAAO,CACL,SAAS,EACT,KAAK,EACL,QAAQ,MAAM,CAAC,YAAY,GAAG,CAAC,CAAC,wHAAwH,CACzJ,CACF,CAAC;gBACF,YAAY,GAAG,SAAS,CAAC;YAC3B,CAAC;QACH,CAAC;QACD,IAAI,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YACjC,QAAQ,EAAE,CAAC;YACX,YAAY,KAAK,KAAK,CAAC;QACzB,CAAC;QACD,QAAQ,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC;IACjE,CAAC;IAED,IAAI,SAAS,GAAG,CAAC,EAAE,CAAC;QAClB,QAAQ,CAAC,IAAI,CACX,OAAO,CACL,SAAS,EACT,WAAW,EACX,GAAG,MAAM,CAAC,SAAS,CAAC,0FAA0F,CAC/G,CACF,CAAC;IACJ,CAAC;IACD,IAAI,QAAQ,GAAG,CAAC,EAAE,CAAC;QACjB,QAAQ,CAAC,IAAI,CACX,OAAO,CACL,SAAS,EACT,WAAW,EACX,GAAG,MAAM,CAAC,QAAQ,CAAC,0EAA0E,CAC9F,CACF,CAAC;IACJ,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;;;;;GAMG;AACH,SAAS,WAAW,CAClB,IAAwB,EACxB,KAAmB,EACnB,aAAsB;IAEtB,MAAM,MAAM,GAAsB,EAAE,CAAC;IACrC,IAAI,IAAI,KAAK,iBAAiB,EAAE,CAAC;QAC/B,MAAM,CAAC,IAAI,CACT,OAAO,CACL,SAAS,EACT,KAAK,EACL,8FAA8F,CAC/F,CACF,CAAC;IACJ,CAAC;IACD,IAAI,IAAI,KAAK,eAAe,EAAE,CAAC;QAC7B,MAAM,CAAC,IAAI,CACT,OAAO,CACL,SAAS,EACT,KAAK,EACL,aAAa;YACX,CAAC,CAAC,+IAA+I;YACjJ,CAAC,CAAC,+IAA+I,CACpJ,CACF,CAAC;IACJ,CAAC;IACD,IAAI,CAAC,aAAa,IAAI,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;QACxC,MAAM,CAAC,IAAI,CACT,OAAO,CACL,SAAS,EACT,KAAK,EACL,sHAAsH,CACvH,CACF,CAAC;IACJ,CAAC;IACD,IAAI,aAAa,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QACxC,MAAM,CAAC,IAAI,CACT,OAAO,CACL,SAAS,EACT,KAAK,EACL,mLAAmL,CACpL,CACF,CAAC;IACJ,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,4EAA4E;AAC5E,MAAM,eAAe,GACnB,uLAAuL,CAAC;AAE1L,qEAAqE;AACrE,MAAM,oBAAoB,GACxB,0JAA0J,CAAC"}
|
|
@@ -20,13 +20,12 @@ export declare function filterEntry(name: SpectrumFilterName): FilterCatalogEntr
|
|
|
20
20
|
/**
|
|
21
21
|
* What the editor knows about a step whose name it may not recognise.
|
|
22
22
|
*
|
|
23
|
-
* The settings the processor accepts are typed `{ name: string }`,
|
|
24
|
-
*
|
|
25
|
-
* chain reaching the editor can name a step the catalog has never heard of.
|
|
23
|
+
* The settings the processor accepts are typed `{ name: string }`, so a chain
|
|
24
|
+
* reaching the editor can name a step the catalog has never heard of.
|
|
26
25
|
* Answering nothing lets the panel say so; throwing would take the whole page
|
|
27
26
|
* down over one row.
|
|
28
27
|
* @param name - The step's name, from settings that may come from anywhere.
|
|
29
|
-
* @returns Its catalog entry, or undefined when the name is not one of the
|
|
28
|
+
* @returns Its catalog entry, or undefined when the name is not one of the 27.
|
|
30
29
|
*/
|
|
31
30
|
export declare function findFilterEntry(name: string): FilterCatalogEntry | undefined;
|
|
32
31
|
/**
|
|
@@ -45,7 +44,7 @@ export declare function filterNamesInGroup(group: FilterGroup): readonly Spectru
|
|
|
45
44
|
/**
|
|
46
45
|
* The whole menu, group by group, skipping a group that holds nothing.
|
|
47
46
|
*
|
|
48
|
-
* The
|
|
47
|
+
* The 27 steps are unreadable as one list, and grouping them by what they touch
|
|
49
48
|
* is the same order a chain is usually built in: level the baseline, smooth,
|
|
50
49
|
* scale, then move the axis.
|
|
51
50
|
* @returns Each group with its steps.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterCatalog.d.ts","sourceRoot":"","sources":["../../../src/spectra/core/filterCatalog.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAE7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExD;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,EAAE,QAAQ,CACnC,MAAM,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAK/C,CAAC;AAEF,0DAA0D;AAC1D,eAAO,MAAM,YAAY,EAAE,SAAS,kBAAkB,EAE7B,CAAC;AAE1B;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,kBAAkB,GAAG,kBAAkB,CAExE;AAED
|
|
1
|
+
{"version":3,"file":"filterCatalog.d.ts","sourceRoot":"","sources":["../../../src/spectra/core/filterCatalog.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAE7D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExD;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,EAAE,QAAQ,CACnC,MAAM,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAK/C,CAAC;AAEF,0DAA0D;AAC1D,eAAO,MAAM,YAAY,EAAE,SAAS,kBAAkB,EAE7B,CAAC;AAE1B;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,kBAAkB,GAAG,kBAAkB,CAExE;AAED;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAI5E;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEtE;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,WAAW,GACjB,SAAS,kBAAkB,EAAE,CAM/B;AAED;;;;;;;GAOG;AACH,wBAAgB,UAAU,IAAI,aAAa,CAAC;IAC1C,KAAK,EAAE,WAAW,CAAC;IACnB,KAAK,EAAE,SAAS,kBAAkB,EAAE,CAAC;CACtC,CAAC,CAUD"}
|
|
@@ -26,13 +26,12 @@ export function filterEntry(name) {
|
|
|
26
26
|
/**
|
|
27
27
|
* What the editor knows about a step whose name it may not recognise.
|
|
28
28
|
*
|
|
29
|
-
* The settings the processor accepts are typed `{ name: string }`,
|
|
30
|
-
*
|
|
31
|
-
* chain reaching the editor can name a step the catalog has never heard of.
|
|
29
|
+
* The settings the processor accepts are typed `{ name: string }`, so a chain
|
|
30
|
+
* reaching the editor can name a step the catalog has never heard of.
|
|
32
31
|
* Answering nothing lets the panel say so; throwing would take the whole page
|
|
33
32
|
* down over one row.
|
|
34
33
|
* @param name - The step's name, from settings that may come from anywhere.
|
|
35
|
-
* @returns Its catalog entry, or undefined when the name is not one of the
|
|
34
|
+
* @returns Its catalog entry, or undefined when the name is not one of the 27.
|
|
36
35
|
*/
|
|
37
36
|
export function findFilterEntry(name) {
|
|
38
37
|
return Object.hasOwn(FILTER_CATALOG, name)
|
|
@@ -64,7 +63,7 @@ export function filterNamesInGroup(group) {
|
|
|
64
63
|
/**
|
|
65
64
|
* The whole menu, group by group, skipping a group that holds nothing.
|
|
66
65
|
*
|
|
67
|
-
* The
|
|
66
|
+
* The 27 steps are unreadable as one list, and grouping them by what they touch
|
|
68
67
|
* is the same order a chain is usually built in: level the baseline, smooth,
|
|
69
68
|
* scale, then move the axis.
|
|
70
69
|
* @returns Each group with its steps.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterCatalog.js","sourceRoot":"","sources":["../../../src/spectra/core/filterCatalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEtE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGlD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAEvB;IACF,GAAG,gBAAgB;IACnB,GAAG,cAAc;IACjB,GAAG,YAAY;CAChB,CAAC;AAEF,0DAA0D;AAC1D,MAAM,CAAC,MAAM,YAAY,GAAkC,MAAM,CAAC,IAAI,CACpE,cAAc,CACS,CAAC;AAE1B;;;;GAIG;AACH,MAAM,UAAU,WAAW,CAAC,IAAwB;IAClD,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC;AAED
|
|
1
|
+
{"version":3,"file":"filterCatalog.js","sourceRoot":"","sources":["../../../src/spectra/core/filterCatalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEtE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGlD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAEvB;IACF,GAAG,gBAAgB;IACnB,GAAG,cAAc;IACjB,GAAG,YAAY;CAChB,CAAC;AAEF,0DAA0D;AAC1D,MAAM,CAAC,MAAM,YAAY,GAAkC,MAAM,CAAC,IAAI,CACpE,cAAc,CACS,CAAC;AAE1B;;;;GAIG;AACH,MAAM,UAAU,WAAW,CAAC,IAAwB;IAClD,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,eAAe,CAAC,IAAY;IAC1C,OAAO,MAAM,CAAC,MAAM,CAAC,cAAc,EAAE,IAAI,CAAC;QACxC,CAAC,CAAC,cAAc,CAAC,IAA0B,CAAC;QAC5C,CAAC,CAAC,SAAS,CAAC;AAChB,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,eAAe,CAAC,IAAY,EAAE,QAAgB;IAC5D,OAAO,QAAQ,MAAM,CAAC,QAAQ,GAAG,CAAC,CAAC,MAAM,eAAe,CAAC,IAAI,CAAC,EAAE,KAAK,IAAI,IAAI,EAAE,CAAC;AAClF,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,kBAAkB,CAChC,KAAkB;IAElB,MAAM,KAAK,GAAyB,EAAE,CAAC;IACvC,KAAK,MAAM,IAAI,IAAI,YAAY,EAAE,CAAC;QAChC,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,KAAK;YAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7D,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,UAAU;IAIxB,MAAM,IAAI,GAGL,EAAE,CAAC;IACR,KAAK,MAAM,KAAK,IAAI,aAAa,EAAE,CAAC;QAClC,MAAM,KAAK,GAAG,kBAAkB,CAAC,KAAK,CAAC,CAAC;QACxC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC;YAAE,IAAI,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;IACpD,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -1,6 +1,20 @@
|
|
|
1
|
-
import type { SpectrumFilter, SpectrumFilterName } from './settings.ts';
|
|
2
|
-
/**
|
|
3
|
-
|
|
1
|
+
import type { MatrixFilter, SpectrumFilter, SpectrumFilterName } from './settings.ts';
|
|
2
|
+
/**
|
|
3
|
+
* A step of either stage, as far as its options go: a chain step and a matrix
|
|
4
|
+
* step both have this shape, so one reader and one writer serve both.
|
|
5
|
+
*/
|
|
6
|
+
export interface FilterStep {
|
|
7
|
+
/**
|
|
8
|
+
* The step's name.
|
|
9
|
+
* @default undefined — a matrix step may carry none, and is then skipped
|
|
10
|
+
*/
|
|
11
|
+
name?: string;
|
|
12
|
+
/**
|
|
13
|
+
* The step's options, whatever shape they turn out to be.
|
|
14
|
+
* @default undefined — upstream's defaults apply
|
|
15
|
+
*/
|
|
16
|
+
options?: unknown;
|
|
17
|
+
}
|
|
4
18
|
/**
|
|
5
19
|
* A new chain step, carrying only the options upstream cannot default safely.
|
|
6
20
|
* @param name - Which step to add.
|
|
@@ -40,30 +54,50 @@ export declare function duplicateFilter(chain: readonly SpectrumFilter[], index:
|
|
|
40
54
|
* @returns A new chain, unchanged when the move would fall off either end.
|
|
41
55
|
*/
|
|
42
56
|
export declare function moveFilter(chain: readonly SpectrumFilter[], index: number, offset: number): SpectrumFilter[];
|
|
57
|
+
/**
|
|
58
|
+
* A list with one entry moved to another position.
|
|
59
|
+
* @param list - What to reorder.
|
|
60
|
+
* @param index - Which entry to move.
|
|
61
|
+
* @param target - Where it lands.
|
|
62
|
+
* @returns A new list, the same entries when there is nothing at `index`.
|
|
63
|
+
*/
|
|
64
|
+
export declare function reorder<T>(list: readonly T[], index: number, target: number): T[];
|
|
43
65
|
/**
|
|
44
66
|
* What one option of a step is set to.
|
|
45
|
-
* @param filter - The step.
|
|
67
|
+
* @param filter - The step, of the chain or of the matrix stage.
|
|
46
68
|
* @param key - Where the value sits, dotted for a nested one.
|
|
47
69
|
* @returns The value, or undefined when the step leaves it to upstream.
|
|
48
70
|
*/
|
|
49
|
-
export declare function readFilterOption(filter:
|
|
71
|
+
export declare function readFilterOption(filter: FilterStep, key: string): unknown;
|
|
50
72
|
/**
|
|
51
73
|
* The step with one option set, or dropped when the value is undefined.
|
|
52
74
|
*
|
|
53
75
|
* Dropping rather than writing `undefined` is what lets a cleared field mean
|
|
54
76
|
* "whatever upstream does", which is the only way a reader can get back to the
|
|
55
|
-
* default once they have typed over it.
|
|
77
|
+
* default once they have typed over it. Options that are not an object are
|
|
78
|
+
* thrown away rather than read, so a written step is always one the processor
|
|
79
|
+
* can take.
|
|
56
80
|
* @param filter - The step.
|
|
57
81
|
* @param key - Where the value sits, dotted for a nested one.
|
|
58
82
|
* @param value - What to set it to, or undefined to clear it.
|
|
59
83
|
* @returns A new step.
|
|
60
84
|
*/
|
|
61
85
|
export declare function setFilterOption(filter: SpectrumFilter, key: string, value: unknown): SpectrumFilter;
|
|
86
|
+
export declare function setFilterOption(filter: MatrixFilter, key: string, value: unknown): MatrixFilter;
|
|
87
|
+
/**
|
|
88
|
+
* One option of a step as a number box can show it.
|
|
89
|
+
*
|
|
90
|
+
* Anything that is not a number — a bound pasted in as text, a `null` — reads
|
|
91
|
+
* as nothing, so the box shows its placeholder rather than junk.
|
|
92
|
+
* @param filter - The step, of the chain or of the matrix stage.
|
|
93
|
+
* @param key - Where the value sits, dotted for a nested one.
|
|
94
|
+
* @returns The number, or undefined when the step holds none there.
|
|
95
|
+
*/
|
|
96
|
+
export declare function readNumberOption(filter: FilterStep, key: string): number | undefined;
|
|
62
97
|
/**
|
|
63
98
|
* The step's options as a plain record, for a form that walks the catalog.
|
|
64
|
-
* @param filter - The step.
|
|
99
|
+
* @param filter - The step, of the chain or of the matrix stage.
|
|
65
100
|
* @returns Its options, empty when it carries none.
|
|
66
101
|
*/
|
|
67
|
-
export declare function filterOptions(filter:
|
|
68
|
-
export {};
|
|
102
|
+
export declare function filterOptions(filter: FilterStep): Readonly<Record<string, unknown>>;
|
|
69
103
|
//# sourceMappingURL=filterChain.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterChain.d.ts","sourceRoot":"","sources":["../../../src/spectra/core/filterChain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"filterChain.d.ts","sourceRoot":"","sources":["../../../src/spectra/core/filterChain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,cAAc,EACd,kBAAkB,EACnB,MAAM,eAAe,CAAC;AAEvB;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAqBD;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,kBAAkB,GAAG,cAAc,CAQtE;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CACvB,KAAK,EAAE,SAAS,cAAc,EAAE,EAChC,IAAI,EAAE,kBAAkB,GACvB,cAAc,EAAE,CAElB;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,SAAS,cAAc,EAAE,EAChC,KAAK,EAAE,MAAM,GACZ,cAAc,EAAE,CAGlB;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,SAAS,cAAc,EAAE,EAChC,KAAK,EAAE,MAAM,GACZ,cAAc,EAAE,CAIlB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CACxB,KAAK,EAAE,SAAS,cAAc,EAAE,EAChC,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,GACb,cAAc,EAAE,CAKlB;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,CAAC,EACvB,IAAI,EAAE,SAAS,CAAC,EAAE,EAClB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,GACb,CAAC,EAAE,CAKL;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAOzE;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,cAAc,EACtB,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,OAAO,GACb,cAAc,CAAC;AAClB,wBAAgB,eAAe,CAC7B,MAAM,EAAE,YAAY,EACpB,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,OAAO,GACb,YAAY,CAAC;AAWhB;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,UAAU,EAClB,GAAG,EAAE,MAAM,GACV,MAAM,GAAG,SAAS,CAGpB;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,UAAU,GACjB,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAMnC"}
|
|
@@ -22,6 +22,9 @@ export function defaultFilter(name) {
|
|
|
22
22
|
if (name === 'calibrateX') {
|
|
23
23
|
return { name, options: { gsd: { ...CALIBRATE_PEAK_PICKING } } };
|
|
24
24
|
}
|
|
25
|
+
// TypeScript matches an object literal against a discriminated union of at
|
|
26
|
+
// most 25 members, and the chain has more. Every step's options are optional
|
|
27
|
+
// upstream, so a bare name is a whole step of whichever filter it names.
|
|
25
28
|
return { name };
|
|
26
29
|
}
|
|
27
30
|
/**
|
|
@@ -40,7 +43,9 @@ export function addFilter(chain, name) {
|
|
|
40
43
|
* @returns A new chain.
|
|
41
44
|
*/
|
|
42
45
|
export function removeFilter(chain, index) {
|
|
43
|
-
|
|
46
|
+
if (index < 0 || index >= chain.length)
|
|
47
|
+
return [...chain];
|
|
48
|
+
return chain.toSpliced(index, 1);
|
|
44
49
|
}
|
|
45
50
|
/**
|
|
46
51
|
* The chain with the step at that position repeated just after it.
|
|
@@ -52,11 +57,7 @@ export function duplicateFilter(chain, index) {
|
|
|
52
57
|
const step = chain[index];
|
|
53
58
|
if (step === undefined)
|
|
54
59
|
return [...chain];
|
|
55
|
-
return
|
|
56
|
-
...chain.slice(0, index + 1),
|
|
57
|
-
structuredClone(step),
|
|
58
|
-
...chain.slice(index + 1),
|
|
59
|
-
];
|
|
60
|
+
return chain.toSpliced(index + 1, 0, structuredClone(step));
|
|
60
61
|
}
|
|
61
62
|
/**
|
|
62
63
|
* The chain with one step moved.
|
|
@@ -71,23 +72,34 @@ export function duplicateFilter(chain, index) {
|
|
|
71
72
|
*/
|
|
72
73
|
export function moveFilter(chain, index, offset) {
|
|
73
74
|
const target = index + offset;
|
|
74
|
-
|
|
75
|
-
if (step === undefined || target < 0 || target >= chain.length) {
|
|
75
|
+
if (index < 0 || index >= chain.length)
|
|
76
76
|
return [...chain];
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
77
|
+
if (target < 0 || target >= chain.length)
|
|
78
|
+
return [...chain];
|
|
79
|
+
return reorder(chain, index, target);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* A list with one entry moved to another position.
|
|
83
|
+
* @param list - What to reorder.
|
|
84
|
+
* @param index - Which entry to move.
|
|
85
|
+
* @param target - Where it lands.
|
|
86
|
+
* @returns A new list, the same entries when there is nothing at `index`.
|
|
87
|
+
*/
|
|
88
|
+
export function reorder(list, index, target) {
|
|
89
|
+
const moved = [...list];
|
|
90
|
+
const [entry] = moved.splice(index, 1);
|
|
91
|
+
if (entry !== undefined)
|
|
92
|
+
moved.splice(target, 0, entry);
|
|
81
93
|
return moved;
|
|
82
94
|
}
|
|
83
95
|
/**
|
|
84
96
|
* What one option of a step is set to.
|
|
85
|
-
* @param filter - The step.
|
|
97
|
+
* @param filter - The step, of the chain or of the matrix stage.
|
|
86
98
|
* @param key - Where the value sits, dotted for a nested one.
|
|
87
99
|
* @returns The value, or undefined when the step leaves it to upstream.
|
|
88
100
|
*/
|
|
89
101
|
export function readFilterOption(filter, key) {
|
|
90
|
-
let current =
|
|
102
|
+
let current = filter.options;
|
|
91
103
|
for (const segment of key.split('.')) {
|
|
92
104
|
if (typeof current !== 'object' || current === null)
|
|
93
105
|
return undefined;
|
|
@@ -95,30 +107,32 @@ export function readFilterOption(filter, key) {
|
|
|
95
107
|
}
|
|
96
108
|
return current;
|
|
97
109
|
}
|
|
98
|
-
/**
|
|
99
|
-
* The step with one option set, or dropped when the value is undefined.
|
|
100
|
-
*
|
|
101
|
-
* Dropping rather than writing `undefined` is what lets a cleared field mean
|
|
102
|
-
* "whatever upstream does", which is the only way a reader can get back to the
|
|
103
|
-
* default once they have typed over it.
|
|
104
|
-
* @param filter - The step.
|
|
105
|
-
* @param key - Where the value sits, dotted for a nested one.
|
|
106
|
-
* @param value - What to set it to, or undefined to clear it.
|
|
107
|
-
* @returns A new step.
|
|
108
|
-
*/
|
|
109
110
|
export function setFilterOption(filter, key, value) {
|
|
110
111
|
const written = writePath(filterOptions(filter), key.split('.'), value);
|
|
111
112
|
if (Object.keys(written).length === 0)
|
|
112
113
|
return { name: filter.name };
|
|
113
114
|
return { name: filter.name, options: written };
|
|
114
115
|
}
|
|
116
|
+
/**
|
|
117
|
+
* One option of a step as a number box can show it.
|
|
118
|
+
*
|
|
119
|
+
* Anything that is not a number — a bound pasted in as text, a `null` — reads
|
|
120
|
+
* as nothing, so the box shows its placeholder rather than junk.
|
|
121
|
+
* @param filter - The step, of the chain or of the matrix stage.
|
|
122
|
+
* @param key - Where the value sits, dotted for a nested one.
|
|
123
|
+
* @returns The number, or undefined when the step holds none there.
|
|
124
|
+
*/
|
|
125
|
+
export function readNumberOption(filter, key) {
|
|
126
|
+
const value = readFilterOption(filter, key);
|
|
127
|
+
return typeof value === 'number' ? value : undefined;
|
|
128
|
+
}
|
|
115
129
|
/**
|
|
116
130
|
* The step's options as a plain record, for a form that walks the catalog.
|
|
117
|
-
* @param filter - The step.
|
|
131
|
+
* @param filter - The step, of the chain or of the matrix stage.
|
|
118
132
|
* @returns Its options, empty when it carries none.
|
|
119
133
|
*/
|
|
120
134
|
export function filterOptions(filter) {
|
|
121
|
-
const
|
|
135
|
+
const { options } = filter;
|
|
122
136
|
if (typeof options !== 'object' || options === null)
|
|
123
137
|
return {};
|
|
124
138
|
// An interface carries no index signature, so a form that walks the catalog
|