@tetrascience-npm/tetrascience-react-ui 0.7.0 → 1.0.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 +58 -4
- package/dist/ai/attachments.cjs +2 -0
- package/dist/ai/attachments.cjs.map +1 -0
- package/dist/ai/attachments.js +224 -0
- package/dist/ai/attachments.js.map +1 -0
- package/dist/ai/chain-of-thought.cjs +2 -0
- package/dist/ai/chain-of-thought.cjs.map +1 -0
- package/dist/ai/chain-of-thought.js +145 -0
- package/dist/ai/chain-of-thought.js.map +1 -0
- package/dist/ai/confirmation.cjs +2 -0
- package/dist/ai/confirmation.cjs.map +1 -0
- package/dist/ai/confirmation.js +109 -0
- package/dist/ai/confirmation.js.map +1 -0
- package/dist/ai/context.cjs +2 -0
- package/dist/ai/context.cjs.map +1 -0
- package/dist/ai/context.js +267 -0
- package/dist/ai/context.js.map +1 -0
- package/dist/ai/conversation.cjs +4 -0
- package/dist/ai/conversation.cjs.map +1 -0
- package/dist/ai/conversation.js +108 -0
- package/dist/ai/conversation.js.map +1 -0
- package/dist/ai/inline-citation.cjs +2 -0
- package/dist/ai/inline-citation.cjs.map +1 -0
- package/dist/ai/inline-citation.js +182 -0
- package/dist/ai/inline-citation.js.map +1 -0
- package/dist/ai/message.cjs +2 -0
- package/dist/ai/message.cjs.map +1 -0
- package/dist/ai/message.js +237 -0
- package/dist/ai/message.js.map +1 -0
- package/dist/ai/model-selector.cjs +2 -0
- package/dist/ai/model-selector.cjs.map +1 -0
- package/dist/ai/model-selector.js +77 -0
- package/dist/ai/model-selector.js.map +1 -0
- package/dist/ai/prompt-input.cjs +2 -0
- package/dist/ai/prompt-input.cjs.map +1 -0
- package/dist/ai/prompt-input.js +776 -0
- package/dist/ai/prompt-input.js.map +1 -0
- package/dist/ai/queue.cjs +2 -0
- package/dist/ai/queue.cjs.map +1 -0
- package/dist/ai/queue.js +209 -0
- package/dist/ai/queue.js.map +1 -0
- package/dist/ai/reasoning.cjs +2 -0
- package/dist/ai/reasoning.cjs.map +1 -0
- package/dist/ai/reasoning.js +129 -0
- package/dist/ai/reasoning.js.map +1 -0
- package/dist/ai/shimmer.cjs +2 -0
- package/dist/ai/shimmer.cjs.map +1 -0
- package/dist/ai/shimmer.js +49 -0
- package/dist/ai/shimmer.js.map +1 -0
- package/dist/ai/sources.cjs +2 -0
- package/dist/ai/sources.cjs.map +1 -0
- package/dist/ai/sources.js +54 -0
- package/dist/ai/sources.js.map +1 -0
- package/dist/ai/speech-input.cjs +2 -0
- package/dist/ai/speech-input.cjs.map +1 -0
- package/dist/ai/speech-input.js +123 -0
- package/dist/ai/speech-input.js.map +1 -0
- package/dist/ai/stream-status.cjs +2 -0
- package/dist/ai/stream-status.cjs.map +1 -0
- package/dist/ai/stream-status.js +108 -0
- package/dist/ai/stream-status.js.map +1 -0
- package/dist/ai/suggestion.cjs +2 -0
- package/dist/ai/suggestion.cjs.map +1 -0
- package/dist/ai/suggestion.js +38 -0
- package/dist/ai/suggestion.js.map +1 -0
- package/dist/ai/task.cjs +2 -0
- package/dist/ai/task.cjs.map +1 -0
- package/dist/ai/task.js +101 -0
- package/dist/ai/task.js.map +1 -0
- package/dist/ai/tool.cjs +2 -0
- package/dist/ai/tool.cjs.map +1 -0
- package/dist/ai/tool.js +139 -0
- package/dist/ai/tool.js.map +1 -0
- package/dist/charts/AreaPlot.cjs +2 -0
- package/dist/charts/AreaPlot.cjs.map +1 -0
- package/dist/charts/AreaPlot.js +5 -0
- package/dist/charts/AreaPlot.js.map +1 -0
- package/dist/charts/BarChart.cjs +2 -0
- package/dist/charts/BarChart.cjs.map +1 -0
- package/dist/charts/BarChart.js +5 -0
- package/dist/charts/BarChart.js.map +1 -0
- package/dist/charts/BoxPlot.cjs +2 -0
- package/dist/charts/BoxPlot.cjs.map +1 -0
- package/dist/charts/BoxPlot.js +5 -0
- package/dist/charts/BoxPlot.js.map +1 -0
- package/dist/charts/ChartTooltip.cjs +2 -0
- package/dist/charts/ChartTooltip.cjs.map +1 -0
- package/dist/charts/ChartTooltip.js +8 -0
- package/dist/charts/ChartTooltip.js.map +1 -0
- package/dist/charts/Chromatogram.cjs +2 -0
- package/dist/charts/Chromatogram.cjs.map +1 -0
- package/dist/charts/Chromatogram.js +5 -0
- package/dist/charts/Chromatogram.js.map +1 -0
- package/dist/charts/Electropherogram.cjs +2 -0
- package/dist/charts/Electropherogram.cjs.map +1 -0
- package/dist/charts/Electropherogram.js +5 -0
- package/dist/charts/Electropherogram.js.map +1 -0
- package/dist/charts/Histogram.cjs +2 -0
- package/dist/charts/Histogram.cjs.map +1 -0
- package/dist/charts/Histogram.js +5 -0
- package/dist/charts/Histogram.js.map +1 -0
- package/dist/charts/LinePlot.cjs +2 -0
- package/dist/charts/LinePlot.cjs.map +1 -0
- package/dist/charts/LinePlot.js +5 -0
- package/dist/charts/LinePlot.js.map +1 -0
- package/dist/charts/PieChart.cjs +2 -0
- package/dist/charts/PieChart.cjs.map +1 -0
- package/dist/charts/PieChart.js +5 -0
- package/dist/charts/PieChart.js.map +1 -0
- package/dist/charts/PlateMap.cjs +2 -0
- package/dist/charts/PlateMap.cjs.map +1 -0
- package/dist/charts/PlateMap.js +5 -0
- package/dist/charts/PlateMap.js.map +1 -0
- package/dist/charts/ScatterPlot.cjs +2 -0
- package/dist/charts/ScatterPlot.cjs.map +1 -0
- package/dist/charts/ScatterPlot.js +5 -0
- package/dist/charts/ScatterPlot.js.map +1 -0
- package/dist/charts/ScatterPlotInteractive.cjs +2 -0
- package/dist/charts/ScatterPlotInteractive.cjs.map +1 -0
- package/dist/charts/ScatterPlotInteractive.js +14 -0
- package/dist/charts/ScatterPlotInteractive.js.map +1 -0
- package/dist/charts/StackedChromatogram.cjs +2 -0
- package/dist/charts/StackedChromatogram.cjs.map +1 -0
- package/dist/charts/StackedChromatogram.js +7 -0
- package/dist/charts/StackedChromatogram.js.map +1 -0
- package/dist/components/ai/attachments.d.ts +54 -0
- package/dist/components/ai/chain-of-thought.d.ts +56 -0
- package/dist/components/ai/confirmation.d.ts +47 -0
- package/dist/components/ai/context.d.ts +40 -0
- package/dist/components/ai/conversation.d.ts +23 -0
- package/dist/components/ai/inline-citation.d.ts +38 -0
- package/dist/components/ai/message.d.ts +37 -0
- package/dist/components/ai/model-selector.d.ts +36 -0
- package/dist/components/ai/prompt-input.d.ts +158 -0
- package/dist/components/ai/queue.d.ts +72 -0
- package/dist/components/ai/reasoning.d.ts +26 -0
- package/dist/components/ai/shimmer.d.ts +17 -0
- package/dist/components/ai/sources.d.ts +12 -0
- package/dist/components/ai/speech-input.d.ts +54 -0
- package/dist/components/ai/stream-status.d.ts +66 -0
- package/dist/components/ai/streamdown-code-plugin.cjs +2 -0
- package/dist/components/ai/streamdown-code-plugin.cjs.map +1 -0
- package/dist/components/ai/streamdown-code-plugin.d.ts +2 -0
- package/dist/components/ai/streamdown-code-plugin.js +42 -0
- package/dist/components/ai/streamdown-code-plugin.js.map +1 -0
- package/dist/components/ai/streamdown-plugins.cjs +2 -0
- package/dist/components/ai/streamdown-plugins.cjs.map +1 -0
- package/dist/components/ai/streamdown-plugins.d.ts +2 -0
- package/dist/components/ai/streamdown-plugins.js +14 -0
- package/dist/components/ai/streamdown-plugins.js.map +1 -0
- package/dist/components/ai/suggestion.d.ts +9 -0
- package/dist/components/ai/task.d.ts +16 -0
- package/dist/components/ai/tool.d.ts +33 -0
- package/dist/components/ai/use-streamdown-plugins.cjs +2 -0
- package/dist/components/ai/use-streamdown-plugins.cjs.map +1 -0
- package/dist/components/ai/use-streamdown-plugins.d.ts +8 -0
- package/dist/components/ai/use-streamdown-plugins.js +25 -0
- package/dist/components/ai/use-streamdown-plugins.js.map +1 -0
- package/dist/components/charts/AreaPlot/AreaPlot.cjs +2 -0
- package/dist/components/charts/AreaPlot/AreaPlot.cjs.map +1 -0
- package/dist/components/charts/AreaPlot/AreaPlot.d.ts +39 -0
- package/dist/components/charts/AreaPlot/AreaPlot.js +270 -0
- package/dist/components/charts/AreaPlot/AreaPlot.js.map +1 -0
- package/dist/components/charts/AreaPlot/index.d.ts +2 -0
- package/dist/components/charts/BarChart/BarChart.cjs +2 -0
- package/dist/components/charts/BarChart/BarChart.cjs.map +1 -0
- package/dist/components/charts/BarChart/BarChart.d.ts +44 -0
- package/dist/components/charts/BarChart/BarChart.js +219 -0
- package/dist/components/charts/BarChart/BarChart.js.map +1 -0
- package/dist/components/charts/BarChart/index.d.ts +2 -0
- package/dist/components/charts/BoxPlot/BoxPlot.cjs +2 -0
- package/dist/components/charts/BoxPlot/BoxPlot.cjs.map +1 -0
- package/dist/components/charts/BoxPlot/BoxPlot.d.ts +33 -0
- package/dist/components/charts/BoxPlot/BoxPlot.js +208 -0
- package/dist/components/charts/BoxPlot/BoxPlot.js.map +1 -0
- package/dist/components/charts/BoxPlot/index.d.ts +2 -0
- package/dist/components/charts/ChartTooltip/ChartTooltip.cjs +1 -1
- package/dist/components/charts/ChartTooltip/ChartTooltip.cjs.map +1 -1
- package/dist/components/charts/ChartTooltip/ChartTooltip.d.ts +71 -0
- package/dist/components/charts/ChartTooltip/ChartTooltip.js +22 -22
- package/dist/components/charts/ChartTooltip/ChartTooltip.js.map +1 -1
- package/dist/components/charts/ChartTooltip/index.d.ts +2 -0
- package/dist/components/charts/ChartTooltip/lines.d.ts +54 -0
- package/dist/components/charts/Chromatogram/Chromatogram.cjs +1 -1
- package/dist/components/charts/Chromatogram/Chromatogram.cjs.map +1 -1
- package/dist/components/charts/Chromatogram/Chromatogram.d.ts +5 -0
- package/dist/components/charts/Chromatogram/Chromatogram.js +232 -170
- package/dist/components/charts/Chromatogram/Chromatogram.js.map +1 -1
- package/dist/components/charts/Chromatogram/annotations.cjs +2 -0
- package/dist/components/charts/Chromatogram/annotations.cjs.map +1 -0
- package/dist/components/charts/Chromatogram/annotations.d.ts +50 -0
- package/dist/components/charts/Chromatogram/annotations.js +137 -0
- package/dist/components/charts/Chromatogram/annotations.js.map +1 -0
- package/dist/components/charts/Chromatogram/boundaryMarkers.cjs +2 -0
- package/dist/components/charts/Chromatogram/boundaryMarkers.cjs.map +1 -0
- package/dist/components/charts/Chromatogram/boundaryMarkers.d.ts +14 -0
- package/dist/components/charts/Chromatogram/boundaryMarkers.js +34 -0
- package/dist/components/charts/Chromatogram/boundaryMarkers.js.map +1 -0
- package/dist/components/charts/Chromatogram/constants.cjs +2 -0
- package/dist/components/charts/Chromatogram/constants.cjs.map +1 -0
- package/dist/components/charts/Chromatogram/constants.d.ts +46 -0
- package/dist/components/charts/Chromatogram/constants.js +36 -0
- package/dist/components/charts/Chromatogram/constants.js.map +1 -0
- package/dist/components/charts/Chromatogram/dataProcessing.cjs +2 -0
- package/dist/components/charts/Chromatogram/dataProcessing.cjs.map +1 -0
- package/dist/components/charts/Chromatogram/dataProcessing.d.ts +49 -0
- package/dist/components/charts/Chromatogram/dataProcessing.js +90 -0
- package/dist/components/charts/Chromatogram/dataProcessing.js.map +1 -0
- package/dist/components/charts/Chromatogram/index.d.ts +2 -0
- package/dist/components/charts/Chromatogram/peakDetection.cjs.map +1 -0
- package/dist/components/charts/Chromatogram/peakDetection.d.ts +33 -0
- package/dist/components/charts/Chromatogram/peakDetection.js.map +1 -0
- package/dist/components/charts/Chromatogram/plotBuilder.cjs +2 -0
- package/dist/components/charts/Chromatogram/plotBuilder.cjs.map +1 -0
- package/dist/components/charts/Chromatogram/plotBuilder.d.ts +58 -0
- package/dist/components/charts/Chromatogram/plotBuilder.js +216 -0
- package/dist/components/charts/Chromatogram/plotBuilder.js.map +1 -0
- package/dist/components/charts/Chromatogram/regionOverlays.cjs +2 -0
- package/dist/components/charts/Chromatogram/regionOverlays.cjs.map +1 -0
- package/dist/components/charts/Chromatogram/regionOverlays.d.ts +9 -0
- package/dist/components/charts/Chromatogram/regionOverlays.js +26 -0
- package/dist/components/charts/Chromatogram/regionOverlays.js.map +1 -0
- package/dist/components/charts/Chromatogram/types.d.ts +258 -0
- package/dist/components/charts/Electropherogram/Electropherogram.cjs +2 -0
- package/dist/components/charts/Electropherogram/Electropherogram.cjs.map +1 -0
- package/dist/components/charts/Electropherogram/Electropherogram.d.ts +22 -0
- package/dist/components/charts/Electropherogram/Electropherogram.js +180 -0
- package/dist/components/charts/Electropherogram/Electropherogram.js.map +1 -0
- package/dist/components/charts/Electropherogram/index.d.ts +2 -0
- package/dist/components/charts/Histogram/Histogram.cjs +1 -1
- package/dist/components/charts/Histogram/Histogram.cjs.map +1 -1
- package/dist/components/charts/Histogram/Histogram.d.ts +36 -0
- package/dist/components/charts/Histogram/Histogram.js +107 -108
- package/dist/components/charts/Histogram/Histogram.js.map +1 -1
- package/dist/components/charts/Histogram/index.d.ts +2 -0
- package/dist/components/charts/LinePlot/LinePlot.cjs +2 -0
- package/dist/components/charts/LinePlot/LinePlot.cjs.map +1 -0
- package/dist/components/charts/LinePlot/LinePlot.d.ts +45 -0
- package/dist/components/charts/LinePlot/LinePlot.js +224 -0
- package/dist/components/charts/LinePlot/LinePlot.js.map +1 -0
- package/dist/components/charts/LinePlot/index.d.ts +2 -0
- package/dist/components/charts/PieChart/PieChart.cjs +1 -1
- package/dist/components/charts/PieChart/PieChart.cjs.map +1 -1
- package/dist/components/charts/PieChart/PieChart.d.ts +20 -0
- package/dist/components/charts/PieChart/PieChart.js +62 -61
- package/dist/components/charts/PieChart/PieChart.js.map +1 -1
- package/dist/components/charts/PieChart/index.d.ts +2 -0
- package/dist/components/charts/PlateMap/PlateMap.cjs +1 -1
- package/dist/components/charts/PlateMap/PlateMap.cjs.map +1 -1
- package/dist/components/charts/PlateMap/PlateMap.d.ts +29 -0
- package/dist/components/charts/PlateMap/PlateMap.js +246 -242
- package/dist/components/charts/PlateMap/PlateMap.js.map +1 -1
- package/dist/components/charts/PlateMap/constants.d.ts +75 -0
- package/dist/components/charts/PlateMap/index.d.ts +2 -0
- package/dist/components/charts/PlateMap/types.d.ts +322 -0
- package/dist/components/charts/PlateMap/utils.d.ts +133 -0
- package/dist/components/charts/ScatterPlot/ScatterPlot.cjs +2 -0
- package/dist/components/charts/ScatterPlot/ScatterPlot.cjs.map +1 -0
- package/dist/components/charts/ScatterPlot/ScatterPlot.d.ts +43 -0
- package/dist/components/charts/ScatterPlot/ScatterPlot.js +252 -0
- package/dist/components/charts/ScatterPlot/ScatterPlot.js.map +1 -0
- package/dist/components/charts/ScatterPlot/index.d.ts +2 -0
- package/dist/components/charts/ScatterPlotInteractive/ScatterPlotInteractive.cjs +2 -0
- package/dist/components/charts/ScatterPlotInteractive/ScatterPlotInteractive.cjs.map +1 -0
- package/dist/components/charts/ScatterPlotInteractive/ScatterPlotInteractive.d.ts +25 -0
- package/dist/components/charts/ScatterPlotInteractive/ScatterPlotInteractive.js +215 -0
- package/dist/components/charts/ScatterPlotInteractive/ScatterPlotInteractive.js.map +1 -0
- package/dist/components/charts/ScatterPlotInteractive/constants.cjs +2 -0
- package/dist/components/charts/ScatterPlotInteractive/constants.cjs.map +1 -0
- package/dist/components/charts/ScatterPlotInteractive/constants.d.ts +50 -0
- package/dist/components/charts/ScatterPlotInteractive/constants.js +38 -0
- package/dist/components/charts/ScatterPlotInteractive/constants.js.map +1 -0
- package/dist/components/charts/ScatterPlotInteractive/index.d.ts +3 -0
- package/dist/components/charts/ScatterPlotInteractive/types.d.ts +226 -0
- package/dist/components/charts/ScatterPlotInteractive/utils.cjs +2 -0
- package/dist/components/charts/ScatterPlotInteractive/utils.cjs.map +1 -0
- package/dist/components/charts/ScatterPlotInteractive/utils.d.ts +72 -0
- package/dist/components/charts/ScatterPlotInteractive/utils.js +261 -0
- package/dist/components/charts/ScatterPlotInteractive/utils.js.map +1 -0
- package/dist/components/charts/StackedChromatogram/StackedChromatogram.cjs +2 -0
- package/dist/components/charts/StackedChromatogram/StackedChromatogram.cjs.map +1 -0
- package/dist/components/charts/StackedChromatogram/StackedChromatogram.d.ts +3 -0
- package/dist/components/charts/StackedChromatogram/StackedChromatogram.js +40 -0
- package/dist/components/charts/StackedChromatogram/StackedChromatogram.js.map +1 -0
- package/dist/components/charts/StackedChromatogram/index.d.ts +3 -0
- package/dist/components/charts/StackedChromatogram/transforms.cjs +2 -0
- package/dist/components/charts/StackedChromatogram/transforms.cjs.map +1 -0
- package/dist/components/charts/StackedChromatogram/transforms.d.ts +9 -0
- package/dist/components/charts/StackedChromatogram/transforms.js +31 -0
- package/dist/components/charts/StackedChromatogram/transforms.js.map +1 -0
- package/dist/components/charts/StackedChromatogram/types.d.ts +26 -0
- package/dist/components/charts/plotly-loader.cjs +2 -0
- package/dist/components/charts/plotly-loader.cjs.map +1 -0
- package/dist/components/charts/plotly-loader.d.ts +29 -0
- package/dist/components/charts/plotly-loader.js +22 -0
- package/dist/components/charts/plotly-loader.js.map +1 -0
- package/dist/components/composed/AssistantLayout/AssistantLayout.cjs +2 -0
- package/dist/components/composed/AssistantLayout/AssistantLayout.cjs.map +1 -0
- package/dist/components/composed/AssistantLayout/AssistantLayout.d.ts +63 -0
- package/dist/components/composed/AssistantLayout/AssistantLayout.js +142 -0
- package/dist/components/composed/AssistantLayout/AssistantLayout.js.map +1 -0
- package/dist/components/composed/AssistantLayout/dockLayout.cjs +2 -0
- package/dist/components/composed/AssistantLayout/dockLayout.cjs.map +1 -0
- package/dist/components/composed/AssistantLayout/dockLayout.d.ts +15 -0
- package/dist/components/composed/AssistantLayout/dockLayout.js +10 -0
- package/dist/components/composed/AssistantLayout/dockLayout.js.map +1 -0
- package/dist/components/composed/AssistantLayout/index.d.ts +3 -0
- package/dist/components/composed/Chat/Chat.cjs +1 -1
- package/dist/components/composed/Chat/Chat.cjs.map +1 -1
- package/dist/components/composed/Chat/Chat.d.ts +35 -0
- package/dist/components/composed/Chat/Chat.js +28 -28
- package/dist/components/composed/Chat/Chat.js.map +1 -1
- package/dist/components/composed/Chat/index.d.ts +2 -0
- package/dist/components/composed/ConfirmDialog/ConfirmDialog.cjs +1 -1
- package/dist/components/composed/ConfirmDialog/ConfirmDialog.cjs.map +1 -1
- package/dist/components/composed/ConfirmDialog/ConfirmDialog.d.ts +23 -0
- package/dist/components/composed/ConfirmDialog/ConfirmDialog.js +33 -29
- package/dist/components/composed/ConfirmDialog/ConfirmDialog.js.map +1 -1
- package/dist/components/composed/ConfirmDialog/index.d.ts +1 -0
- package/dist/components/composed/DataAppShell/CollapseButton.cjs +2 -0
- package/dist/components/composed/DataAppShell/CollapseButton.cjs.map +1 -0
- package/dist/components/composed/DataAppShell/CollapseButton.d.ts +23 -0
- package/dist/components/composed/DataAppShell/CollapseButton.js +42 -0
- package/dist/components/composed/DataAppShell/CollapseButton.js.map +1 -0
- package/dist/components/composed/DataAppShell/DataAppShell.cjs +1 -1
- package/dist/components/composed/DataAppShell/DataAppShell.cjs.map +1 -1
- package/dist/components/composed/DataAppShell/DataAppShell.d.ts +88 -0
- package/dist/components/composed/DataAppShell/DataAppShell.js +350 -328
- package/dist/components/composed/DataAppShell/DataAppShell.js.map +1 -1
- package/dist/components/composed/DataAppShell/PrimaryNav.cjs +2 -0
- package/dist/components/composed/DataAppShell/PrimaryNav.cjs.map +1 -0
- package/dist/components/composed/DataAppShell/PrimaryNav.d.ts +64 -0
- package/dist/components/composed/DataAppShell/PrimaryNav.js +268 -0
- package/dist/components/composed/DataAppShell/PrimaryNav.js.map +1 -0
- package/dist/components/composed/DataAppShell/RightPanel.cjs +2 -0
- package/dist/components/composed/DataAppShell/RightPanel.cjs.map +1 -0
- package/dist/components/composed/DataAppShell/RightPanel.d.ts +95 -0
- package/dist/components/composed/DataAppShell/RightPanel.js +282 -0
- package/dist/components/composed/DataAppShell/RightPanel.js.map +1 -0
- package/dist/components/composed/DataAppShell/SecondaryNav.cjs +2 -0
- package/dist/components/composed/DataAppShell/SecondaryNav.cjs.map +1 -0
- package/dist/components/composed/DataAppShell/SecondaryNav.d.ts +63 -0
- package/dist/components/composed/DataAppShell/SecondaryNav.js +364 -0
- package/dist/components/composed/DataAppShell/SecondaryNav.js.map +1 -0
- package/dist/components/composed/DataAppShell/ShellContext.cjs +2 -0
- package/dist/components/composed/DataAppShell/ShellContext.cjs.map +1 -0
- package/dist/components/composed/DataAppShell/ShellContext.d.ts +20 -0
- package/dist/components/composed/DataAppShell/ShellContext.js +23 -0
- package/dist/components/composed/DataAppShell/ShellContext.js.map +1 -0
- package/dist/components/composed/DataAppShell/index.d.ts +12 -0
- package/dist/components/composed/EmptyState/EmptyState.d.ts +12 -0
- package/dist/components/composed/EmptyState/index.d.ts +2 -0
- package/dist/components/composed/FormPatterns/FormSection.cjs +1 -1
- package/dist/components/composed/FormPatterns/FormSection.cjs.map +1 -1
- package/dist/components/composed/FormPatterns/FormSection.d.ts +7 -0
- package/dist/components/composed/FormPatterns/FormSection.js +2 -2
- package/dist/components/composed/FormPatterns/index.d.ts +1 -0
- package/dist/components/composed/MoleculeStructure/MoleculeStructure.cjs +2 -0
- package/dist/components/composed/MoleculeStructure/MoleculeStructure.cjs.map +1 -0
- package/dist/components/composed/MoleculeStructure/MoleculeStructure.d.ts +43 -0
- package/dist/components/composed/MoleculeStructure/MoleculeStructure.js +87 -0
- package/dist/components/composed/MoleculeStructure/MoleculeStructure.js.map +1 -0
- package/dist/components/composed/MoleculeStructure/index.d.ts +3 -0
- package/dist/components/composed/MoleculeStructure/rdkit-loader.cjs +2 -0
- package/dist/components/composed/MoleculeStructure/rdkit-loader.cjs.map +1 -0
- package/dist/components/composed/MoleculeStructure/rdkit-loader.d.ts +104 -0
- package/dist/components/composed/MoleculeStructure/rdkit-loader.js +89 -0
- package/dist/components/composed/MoleculeStructure/rdkit-loader.js.map +1 -0
- package/dist/components/composed/MoleculeStructure/use-rdkit.cjs +2 -0
- package/dist/components/composed/MoleculeStructure/use-rdkit.cjs.map +1 -0
- package/dist/components/composed/MoleculeStructure/use-rdkit.d.ts +29 -0
- package/dist/components/composed/MoleculeStructure/use-rdkit.js +19 -0
- package/dist/components/composed/MoleculeStructure/use-rdkit.js.map +1 -0
- package/dist/components/composed/PlateMapEditor/ManifestFilterPopover.cjs +1 -1
- package/dist/components/composed/PlateMapEditor/ManifestFilterPopover.cjs.map +1 -1
- package/dist/components/composed/PlateMapEditor/ManifestFilterPopover.d.ts +12 -0
- package/dist/components/composed/PlateMapEditor/ManifestFilterPopover.js +21 -21
- package/dist/components/composed/PlateMapEditor/ManifestFilterPopover.js.map +1 -1
- package/dist/components/composed/PlateMapEditor/PlateMapActionsMenu.cjs +1 -1
- package/dist/components/composed/PlateMapEditor/PlateMapActionsMenu.cjs.map +1 -1
- package/dist/components/composed/PlateMapEditor/PlateMapActionsMenu.d.ts +22 -0
- package/dist/components/composed/PlateMapEditor/PlateMapActionsMenu.js +34 -34
- package/dist/components/composed/PlateMapEditor/PlateMapActionsMenu.js.map +1 -1
- package/dist/components/composed/PlateMapEditor/PlateMapEditor.cjs +1 -1
- package/dist/components/composed/PlateMapEditor/PlateMapEditor.cjs.map +1 -1
- package/dist/components/composed/PlateMapEditor/PlateMapEditor.d.ts +106 -0
- package/dist/components/composed/PlateMapEditor/PlateMapEditor.js +2 -2
- package/dist/components/composed/PlateMapEditor/PlateMapForm.cjs +1 -1
- package/dist/components/composed/PlateMapEditor/PlateMapForm.cjs.map +1 -1
- package/dist/components/composed/PlateMapEditor/PlateMapForm.d.ts +30 -0
- package/dist/components/composed/PlateMapEditor/PlateMapForm.js +1 -1
- package/dist/components/composed/PlateMapEditor/PlateMapGrid.cjs +1 -1
- package/dist/components/composed/PlateMapEditor/PlateMapGrid.cjs.map +1 -1
- package/dist/components/composed/PlateMapEditor/PlateMapGrid.d.ts +64 -0
- package/dist/components/composed/PlateMapEditor/PlateMapGrid.js +1 -1
- package/dist/components/composed/PlateMapEditor/PlateMapManifest.d.ts +29 -0
- package/dist/components/composed/PlateMapEditor/PlateMapPlateSelector.cjs +1 -1
- package/dist/components/composed/PlateMapEditor/PlateMapPlateSelector.cjs.map +1 -1
- package/dist/components/composed/PlateMapEditor/PlateMapPlateSelector.d.ts +19 -0
- package/dist/components/composed/PlateMapEditor/PlateMapPlateSelector.js +11 -11
- package/dist/components/composed/PlateMapEditor/PlateMapPlateSelector.js.map +1 -1
- package/dist/components/composed/PlateMapEditor/PlatePaintGrid.cjs +1 -1
- package/dist/components/composed/PlateMapEditor/PlatePaintGrid.cjs.map +1 -1
- package/dist/components/composed/PlateMapEditor/PlatePaintGrid.d.ts +73 -0
- package/dist/components/composed/PlateMapEditor/PlatePaintGrid.js +1 -1
- package/dist/components/composed/PlateMapEditor/PlatePaintGrid.js.map +1 -1
- package/dist/components/composed/PlateMapEditor/PlateZoomControl.cjs +1 -1
- package/dist/components/composed/PlateMapEditor/PlateZoomControl.cjs.map +1 -1
- package/dist/components/composed/PlateMapEditor/PlateZoomControl.d.ts +12 -0
- package/dist/components/composed/PlateMapEditor/PlateZoomControl.js +2 -2
- package/dist/components/composed/PlateMapEditor/TemplateIOPanel.cjs +1 -1
- package/dist/components/composed/PlateMapEditor/TemplateIOPanel.cjs.map +1 -1
- package/dist/components/composed/PlateMapEditor/TemplateIOPanel.d.ts +13 -0
- package/dist/components/composed/PlateMapEditor/TemplateIOPanel.js +4 -4
- package/dist/components/composed/PlateMapEditor/WellLegend.cjs +1 -1
- package/dist/components/composed/PlateMapEditor/WellLegend.cjs.map +1 -1
- package/dist/components/composed/PlateMapEditor/WellLegend.d.ts +21 -0
- package/dist/components/composed/PlateMapEditor/WellLegend.js +24 -12
- package/dist/components/composed/PlateMapEditor/WellLegend.js.map +1 -1
- package/dist/components/composed/PlateMapEditor/WellManifestTable.cjs +1 -1
- package/dist/components/composed/PlateMapEditor/WellManifestTable.cjs.map +1 -1
- package/dist/components/composed/PlateMapEditor/WellManifestTable.d.ts +46 -0
- package/dist/components/composed/PlateMapEditor/WellManifestTable.js +10 -10
- package/dist/components/composed/PlateMapEditor/WellManifestTable.js.map +1 -1
- package/dist/components/composed/PlateMapEditor/WellMetadataForm.cjs +1 -1
- package/dist/components/composed/PlateMapEditor/WellMetadataForm.cjs.map +1 -1
- package/dist/components/composed/PlateMapEditor/WellMetadataForm.d.ts +17 -0
- package/dist/components/composed/PlateMapEditor/WellMetadataForm.js +7 -7
- package/dist/components/composed/PlateMapEditor/autoFill.d.ts +26 -0
- package/dist/components/composed/PlateMapEditor/csvPlateTriage.d.ts +4 -0
- package/dist/components/composed/PlateMapEditor/helpers.d.ts +2 -0
- package/dist/components/composed/PlateMapEditor/index.d.ts +31 -0
- package/dist/components/composed/PlateMapEditor/types.d.ts +137 -0
- package/dist/components/composed/PlateMapEditor/wellGrid.d.ts +12 -0
- package/dist/components/composed/ProcessFlow/ProcessFlow.d.ts +32 -0
- package/dist/components/composed/ProcessFlow/ProcessFlow.utils.d.ts +86 -0
- package/dist/components/composed/ProcessFlow/index.d.ts +1 -0
- package/dist/components/composed/RichListItem/RichListItem.cjs +1 -1
- package/dist/components/composed/RichListItem/RichListItem.cjs.map +1 -1
- package/dist/components/composed/RichListItem/RichListItem.d.ts +22 -0
- package/dist/components/composed/RichListItem/RichListItem.js +2 -2
- package/dist/components/composed/RichListItem/index.d.ts +2 -0
- package/dist/components/composed/StatCard/StatCard.cjs +1 -1
- package/dist/components/composed/StatCard/StatCard.cjs.map +1 -1
- package/dist/components/composed/StatCard/StatCard.d.ts +11 -0
- package/dist/components/composed/StatCard/StatCard.js +1 -1
- package/dist/components/composed/StatCard/index.d.ts +1 -0
- package/dist/components/composed/TdpSearch/TdpSearch.cjs +1 -1
- package/dist/components/composed/TdpSearch/TdpSearch.cjs.map +1 -1
- package/dist/components/composed/TdpSearch/TdpSearch.d.ts +21 -0
- package/dist/components/composed/TdpSearch/TdpSearch.js +14 -13
- package/dist/components/composed/TdpSearch/TdpSearch.mocks.d.ts +5 -0
- package/dist/components/composed/TdpSearch/components/DefaultFilters.cjs +1 -1
- package/dist/components/composed/TdpSearch/components/DefaultFilters.cjs.map +1 -1
- package/dist/components/composed/TdpSearch/components/DefaultFilters.d.ts +3 -0
- package/dist/components/composed/TdpSearch/components/DefaultFilters.js +4 -4
- package/dist/components/composed/TdpSearch/components/DefaultFilters.js.map +1 -1
- package/dist/components/composed/TdpSearch/components/DefaultResults.cjs +1 -1
- package/dist/components/composed/TdpSearch/components/DefaultResults.cjs.map +1 -1
- package/dist/components/composed/TdpSearch/components/DefaultResults.d.ts +3 -0
- package/dist/components/composed/TdpSearch/components/DefaultResults.js +2 -2
- package/dist/components/composed/TdpSearch/components/DefaultSearchBar.cjs +1 -1
- package/dist/components/composed/TdpSearch/components/DefaultSearchBar.cjs.map +1 -1
- package/dist/components/composed/TdpSearch/components/DefaultSearchBar.d.ts +3 -0
- package/dist/components/composed/TdpSearch/components/DefaultSearchBar.js +2 -2
- package/dist/components/composed/TdpSearch/constants.d.ts +3 -0
- package/dist/components/composed/TdpSearch/hooks/useSearch.d.ts +2 -0
- package/dist/components/composed/TdpSearch/hooks/useTdpCredentials.d.ts +14 -0
- package/dist/components/composed/TdpSearch/index.d.ts +3 -0
- package/dist/components/composed/TdpSearch/types.d.ts +128 -0
- package/dist/components/composed/TdpSearch/utils.d.ts +3 -0
- package/dist/components/composed/TopBar/TopBar.cjs +2 -0
- package/dist/components/composed/TopBar/TopBar.cjs.map +1 -0
- package/dist/components/composed/TopBar/TopBar.d.ts +25 -0
- package/dist/components/composed/TopBar/TopBar.js +56 -0
- package/dist/components/composed/TopBar/TopBar.js.map +1 -0
- package/dist/components/composed/TopBar/index.d.ts +2 -0
- package/dist/components/composed/UserMenu/UserMenu.cjs +2 -0
- package/dist/components/composed/UserMenu/UserMenu.cjs.map +1 -0
- package/dist/components/composed/UserMenu/UserMenu.d.ts +53 -0
- package/dist/components/composed/UserMenu/UserMenu.js +99 -0
- package/dist/components/composed/UserMenu/UserMenu.js.map +1 -0
- package/dist/components/composed/UserMenu/index.d.ts +2 -0
- package/dist/components/composed/tdp-link.d.ts +110 -0
- package/dist/components/composed/tdp-url.d.ts +68 -0
- package/dist/components/ui/accordion.d.ts +7 -0
- package/dist/components/ui/alert-dialog.d.ts +18 -0
- package/dist/components/ui/alert.d.ts +10 -0
- package/dist/components/ui/aspect-ratio.d.ts +3 -0
- package/dist/components/ui/avatar.d.ts +11 -0
- package/dist/components/ui/badge.d.ts +9 -0
- package/dist/components/ui/banner.d.ts +19 -0
- package/dist/components/ui/breadcrumb.d.ts +11 -0
- package/dist/components/ui/button-group.d.ts +11 -0
- package/dist/components/ui/button.d.ts +10 -0
- package/dist/components/ui/calendar.d.ts +10 -0
- package/dist/components/ui/card.d.ts +11 -0
- package/dist/components/ui/carousel.d.ts +28 -0
- package/dist/components/ui/checkbox.d.ts +4 -0
- package/dist/components/ui/code-block.d.ts +45 -0
- package/dist/components/ui/code-editor.d.ts +18 -0
- package/dist/components/ui/collapsible.d.ts +5 -0
- package/dist/components/ui/combobox.d.ts +24 -0
- package/dist/components/ui/command.d.ts +18 -0
- package/dist/components/ui/context-menu.d.ts +31 -0
- package/dist/components/ui/data-table/data-table-column-toggle.cjs +1 -1
- package/dist/components/ui/data-table/data-table-column-toggle.cjs.map +1 -1
- package/dist/components/ui/data-table/data-table-column-toggle.d.ts +6 -0
- package/dist/components/ui/data-table/data-table-column-toggle.js +71 -63
- package/dist/components/ui/data-table/data-table-column-toggle.js.map +1 -1
- package/dist/components/ui/data-table/data-table-filter.cjs +1 -1
- package/dist/components/ui/data-table/data-table-filter.cjs.map +1 -1
- package/dist/components/ui/data-table/data-table-filter.d.ts +9 -0
- package/dist/components/ui/data-table/data-table-filter.js +26 -25
- package/dist/components/ui/data-table/data-table-filter.js.map +1 -1
- package/dist/components/ui/data-table/data-table-group.cjs +1 -1
- package/dist/components/ui/data-table/data-table-group.cjs.map +1 -1
- package/dist/components/ui/data-table/data-table-group.d.ts +9 -0
- package/dist/components/ui/data-table/data-table-group.js +18 -17
- package/dist/components/ui/data-table/data-table-group.js.map +1 -1
- package/dist/components/ui/data-table/data-table-pagination.cjs +1 -1
- package/dist/components/ui/data-table/data-table-pagination.cjs.map +1 -1
- package/dist/components/ui/data-table/data-table-pagination.d.ts +7 -0
- package/dist/components/ui/data-table/data-table-pagination.js +16 -16
- package/dist/components/ui/data-table/data-table-pagination.js.map +1 -1
- package/dist/components/ui/data-table/data-table.cjs +1 -1
- package/dist/components/ui/data-table/data-table.cjs.map +1 -1
- package/dist/components/ui/data-table/data-table.d.ts +82 -0
- package/dist/components/ui/data-table/data-table.js +191 -190
- package/dist/components/ui/data-table/data-table.js.map +1 -1
- package/dist/components/ui/data-table/index.d.ts +5 -0
- package/dist/components/ui/dialog.d.ts +18 -0
- package/dist/components/ui/dropdown-menu.d.ts +29 -0
- package/dist/components/ui/field.d.ts +24 -0
- package/dist/components/ui/hover-card.d.ts +6 -0
- package/dist/components/ui/input-group.d.ts +16 -0
- package/dist/components/ui/input.d.ts +3 -0
- package/dist/components/ui/item.d.ts +23 -0
- package/dist/components/ui/kbd.d.ts +3 -0
- package/dist/components/ui/label.d.ts +4 -0
- package/dist/components/ui/menubar.d.ts +30 -0
- package/dist/components/ui/navigation-menu.d.ts +14 -0
- package/dist/components/ui/popover.d.ts +7 -0
- package/dist/components/ui/progress.d.ts +4 -0
- package/dist/components/ui/radio-group.d.ts +5 -0
- package/dist/components/ui/resizable.d.ts +25 -0
- package/dist/components/ui/scroll-area.d.ts +5 -0
- package/dist/components/ui/select.d.ts +15 -0
- package/dist/components/ui/separator.d.ts +4 -0
- package/dist/components/ui/sheet.d.ts +14 -0
- package/dist/components/ui/sidebar.d.ts +69 -0
- package/dist/components/ui/skeleton.d.ts +2 -0
- package/dist/components/ui/slider.d.ts +4 -0
- package/dist/components/ui/snippet.d.ts +18 -0
- package/dist/components/ui/sonner.d.ts +3 -0
- package/dist/components/ui/spinner.d.ts +6 -0
- package/dist/components/ui/switch.d.ts +6 -0
- package/dist/components/ui/table.d.ts +22 -0
- package/dist/components/ui/tabs.d.ts +11 -0
- package/dist/components/ui/tetra-molecule-icon.d.ts +11 -0
- package/dist/components/ui/tetrascience-icon.d.ts +7 -0
- package/dist/components/ui/textarea.d.ts +3 -0
- package/dist/components/ui/toggle-group.d.ts +10 -0
- package/dist/components/ui/toggle.d.ts +9 -0
- package/dist/components/ui/tooltip.d.ts +7 -0
- package/dist/composed/AssistantLayout.cjs +2 -0
- package/dist/composed/AssistantLayout.cjs.map +1 -0
- package/dist/composed/AssistantLayout.js +10 -0
- package/dist/composed/AssistantLayout.js.map +1 -0
- package/dist/composed/Chat.cjs +2 -0
- package/dist/composed/Chat.cjs.map +1 -0
- package/dist/composed/Chat.js +5 -0
- package/dist/composed/Chat.js.map +1 -0
- package/dist/composed/ConfirmDialog.cjs +2 -0
- package/dist/composed/ConfirmDialog.cjs.map +1 -0
- package/dist/composed/ConfirmDialog.js +5 -0
- package/dist/composed/ConfirmDialog.js.map +1 -0
- package/dist/composed/DataAppShell.cjs +2 -0
- package/dist/composed/DataAppShell.cjs.map +1 -0
- package/dist/composed/DataAppShell.js +22 -0
- package/dist/composed/DataAppShell.js.map +1 -0
- package/dist/composed/EmptyState.cjs +2 -0
- package/dist/composed/EmptyState.cjs.map +1 -0
- package/dist/composed/EmptyState.js +5 -0
- package/dist/composed/EmptyState.js.map +1 -0
- package/dist/composed/FormPatterns.cjs +2 -0
- package/dist/composed/FormPatterns.cjs.map +1 -0
- package/dist/composed/FormPatterns.js +5 -0
- package/dist/composed/FormPatterns.js.map +1 -0
- package/dist/composed/MoleculeStructure.cjs +2 -0
- package/dist/composed/MoleculeStructure.cjs.map +1 -0
- package/dist/composed/MoleculeStructure.js +11 -0
- package/dist/composed/MoleculeStructure.js.map +1 -0
- package/dist/composed/PlateMapEditor.cjs +2 -0
- package/dist/composed/PlateMapEditor.cjs.map +1 -0
- package/dist/composed/PlateMapEditor.js +45 -0
- package/dist/composed/PlateMapEditor.js.map +1 -0
- package/dist/composed/ProcessFlow.cjs +2 -0
- package/dist/composed/ProcessFlow.cjs.map +1 -0
- package/dist/composed/ProcessFlow.js +7 -0
- package/dist/composed/ProcessFlow.js.map +1 -0
- package/dist/composed/RichListItem.cjs +2 -0
- package/dist/composed/RichListItem.cjs.map +1 -0
- package/dist/composed/RichListItem.js +6 -0
- package/dist/composed/RichListItem.js.map +1 -0
- package/dist/composed/StatCard.cjs +2 -0
- package/dist/composed/StatCard.cjs.map +1 -0
- package/dist/composed/StatCard.js +5 -0
- package/dist/composed/StatCard.js.map +1 -0
- package/dist/composed/TdpSearch.cjs +2 -0
- package/dist/composed/TdpSearch.cjs.map +1 -0
- package/dist/composed/TdpSearch.js +8 -0
- package/dist/composed/TdpSearch.js.map +1 -0
- package/dist/composed/TopBar.cjs +2 -0
- package/dist/composed/TopBar.cjs.map +1 -0
- package/dist/composed/TopBar.js +6 -0
- package/dist/composed/TopBar.js.map +1 -0
- package/dist/composed/UserMenu.cjs +2 -0
- package/dist/composed/UserMenu.cjs.map +1 -0
- package/dist/composed/UserMenu.js +7 -0
- package/dist/composed/UserMenu.js.map +1 -0
- package/dist/composed/tdp-link.cjs +2 -0
- package/dist/composed/tdp-link.cjs.map +1 -0
- package/dist/composed/tdp-link.js +84 -0
- package/dist/composed/tdp-link.js.map +1 -0
- package/dist/composed/tdp-url.cjs.map +1 -0
- package/dist/composed/tdp-url.js.map +1 -0
- package/dist/hooks/use-code-editor-theme.d.ts +34 -0
- package/dist/hooks/use-element-size.d.ts +25 -0
- package/dist/hooks/use-is-dark.d.ts +12 -0
- package/dist/hooks/use-mobile.d.ts +1 -0
- package/dist/hooks/use-plotly-theme.cjs +1 -1
- package/dist/hooks/use-plotly-theme.cjs.map +1 -1
- package/dist/hooks/use-plotly-theme.d.ts +49 -0
- package/dist/hooks/use-plotly-theme.js +4 -3
- package/dist/hooks/use-plotly-theme.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +102 -4404
- package/dist/index.js +698 -659
- package/dist/index.js.map +1 -1
- package/dist/index.tailwind.css +1 -1
- package/dist/jest-setup.cjs +4 -0
- package/dist/jest-setup.cjs.map +1 -0
- package/dist/jest-setup.d.ts +106 -0
- package/dist/jest-setup.js +218 -0
- package/dist/jest-setup.js.map +1 -0
- package/dist/lib/shiki.cjs +2 -0
- package/dist/lib/shiki.cjs.map +1 -0
- package/dist/lib/shiki.d.ts +32 -0
- package/dist/lib/shiki.js +72 -0
- package/dist/lib/shiki.js.map +1 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/server/auth/JwtTokenManager.cjs +1 -1
- package/dist/server/auth/JwtTokenManager.cjs.map +1 -1
- package/dist/server/auth/JwtTokenManager.d.ts +113 -0
- package/dist/server/auth/JwtTokenManager.js +44 -21
- package/dist/server/auth/JwtTokenManager.js.map +1 -1
- package/dist/server/auth/index.d.ts +5 -0
- package/dist/server/index.d.ts +8 -0
- package/dist/server/providers/AthenaProvider.cjs +1 -1
- package/dist/server/providers/AthenaProvider.cjs.map +1 -1
- package/dist/server/providers/AthenaProvider.d.ts +75 -0
- package/dist/server/providers/DatabricksProvider.cjs +1 -1
- package/dist/server/providers/DatabricksProvider.cjs.map +1 -1
- package/dist/server/providers/DatabricksProvider.d.ts +38 -0
- package/dist/server/providers/SnowflakeProvider.cjs +1 -1
- package/dist/server/providers/SnowflakeProvider.cjs.map +1 -1
- package/dist/server/providers/SnowflakeProvider.d.ts +36 -0
- package/dist/server/providers/buildProvider.d.ts +39 -0
- package/dist/server/providers/entries/athena.d.ts +24 -0
- package/dist/server/providers/entries/databricks.d.ts +25 -0
- package/dist/server/providers/entries/snowflake.d.ts +25 -0
- package/dist/server/providers/exceptions.d.ts +36 -0
- package/dist/server/providers/getProviderConfigurations.d.ts +45 -0
- package/dist/server/providers/index.d.ts +31 -0
- package/dist/server/providers/providerDiscovery.d.ts +81 -0
- package/dist/server/providers/types.d.ts +145 -0
- package/dist/server/search/TdpSearchManager.d.ts +40 -0
- package/dist/server/search/index.d.ts +5 -0
- package/dist/server.d.ts +17 -540
- package/dist/ui/accordion.cjs +2 -0
- package/dist/ui/accordion.cjs.map +1 -0
- package/dist/ui/accordion.js +83 -0
- package/dist/ui/accordion.js.map +1 -0
- package/dist/ui/alert-dialog.cjs +2 -0
- package/dist/ui/alert-dialog.cjs.map +1 -0
- package/dist/ui/alert-dialog.js +181 -0
- package/dist/ui/alert-dialog.js.map +1 -0
- package/dist/ui/alert.cjs +2 -0
- package/dist/ui/alert.cjs.map +1 -0
- package/dist/ui/alert.js +81 -0
- package/dist/ui/alert.js.map +1 -0
- package/dist/ui/aspect-ratio.cjs.map +1 -0
- package/dist/ui/aspect-ratio.js.map +1 -0
- package/dist/ui/avatar.cjs +2 -0
- package/dist/ui/avatar.cjs.map +1 -0
- package/dist/ui/avatar.js +107 -0
- package/dist/ui/avatar.js.map +1 -0
- package/dist/ui/badge.cjs +2 -0
- package/dist/ui/badge.cjs.map +1 -0
- package/dist/ui/badge.js +47 -0
- package/dist/ui/badge.js.map +1 -0
- package/dist/ui/banner.cjs +2 -0
- package/dist/ui/banner.cjs.map +1 -0
- package/dist/ui/banner.js +80 -0
- package/dist/ui/banner.js.map +1 -0
- package/dist/ui/breadcrumb.cjs +2 -0
- package/dist/ui/breadcrumb.cjs.map +1 -0
- package/dist/ui/breadcrumb.js +118 -0
- package/dist/ui/breadcrumb.js.map +1 -0
- package/dist/ui/button-group.cjs +2 -0
- package/dist/ui/button-group.cjs.map +1 -0
- package/dist/ui/button-group.js +77 -0
- package/dist/ui/button-group.js.map +1 -0
- package/dist/ui/button.cjs +2 -0
- package/dist/ui/button.cjs.map +1 -0
- package/dist/ui/button.js +57 -0
- package/dist/ui/button.js.map +1 -0
- package/dist/ui/calendar.cjs +2 -0
- package/dist/ui/calendar.cjs.map +1 -0
- package/dist/ui/calendar.js +174 -0
- package/dist/ui/calendar.js.map +1 -0
- package/dist/ui/card.cjs +2 -0
- package/dist/ui/card.cjs.map +1 -0
- package/dist/ui/card.js +102 -0
- package/dist/ui/card.js.map +1 -0
- package/dist/ui/carousel.cjs +2 -0
- package/dist/ui/carousel.cjs.map +1 -0
- package/dist/ui/carousel.js +179 -0
- package/dist/ui/carousel.js.map +1 -0
- package/dist/ui/checkbox.cjs +2 -0
- package/dist/ui/checkbox.cjs.map +1 -0
- package/dist/ui/checkbox.js +35 -0
- package/dist/ui/checkbox.js.map +1 -0
- package/dist/ui/code-block.cjs +4 -0
- package/dist/ui/code-block.cjs.map +1 -0
- package/dist/ui/code-block.js +324 -0
- package/dist/ui/code-block.js.map +1 -0
- package/dist/ui/code-editor.cjs +2 -0
- package/dist/ui/code-editor.cjs.map +1 -0
- package/dist/ui/code-editor.js +106 -0
- package/dist/ui/code-editor.js.map +1 -0
- package/dist/ui/collapsible.cjs.map +1 -0
- package/dist/ui/collapsible.js.map +1 -0
- package/dist/ui/combobox.cjs +2 -0
- package/dist/ui/combobox.cjs.map +1 -0
- package/dist/ui/combobox.js +285 -0
- package/dist/ui/combobox.js.map +1 -0
- package/dist/ui/command.cjs +2 -0
- package/dist/ui/command.cjs.map +1 -0
- package/dist/ui/command.js +178 -0
- package/dist/ui/command.js.map +1 -0
- package/dist/ui/context-menu.cjs +2 -0
- package/dist/ui/context-menu.cjs.map +1 -0
- package/dist/ui/context-menu.js +236 -0
- package/dist/ui/context-menu.js.map +1 -0
- package/dist/ui/data-table.cjs +2 -0
- package/dist/ui/data-table.cjs.map +1 -0
- package/dist/ui/data-table.js +16 -0
- package/dist/ui/data-table.js.map +1 -0
- package/dist/ui/dialog.cjs +2 -0
- package/dist/ui/dialog.cjs.map +1 -0
- package/dist/ui/dialog.js +165 -0
- package/dist/ui/dialog.js.map +1 -0
- package/dist/ui/dropdown-menu.cjs +2 -0
- package/dist/ui/dropdown-menu.cjs.map +1 -0
- package/dist/ui/dropdown-menu.js +260 -0
- package/dist/ui/dropdown-menu.js.map +1 -0
- package/dist/ui/field.cjs +2 -0
- package/dist/ui/field.cjs.map +1 -0
- package/dist/ui/field.js +210 -0
- package/dist/ui/field.js.map +1 -0
- package/dist/ui/hover-card.cjs +2 -0
- package/dist/ui/hover-card.cjs.map +1 -0
- package/dist/ui/hover-card.js +39 -0
- package/dist/ui/hover-card.js.map +1 -0
- package/dist/ui/input-group.cjs +2 -0
- package/dist/ui/input-group.cjs.map +1 -0
- package/dist/ui/input-group.js +145 -0
- package/dist/ui/input-group.js.map +1 -0
- package/dist/ui/input.cjs +2 -0
- package/dist/ui/input.cjs.map +1 -0
- package/dist/ui/input.js +20 -0
- package/dist/ui/input.js.map +1 -0
- package/dist/ui/item.cjs +2 -0
- package/dist/ui/item.cjs.map +1 -0
- package/dist/ui/item.js +199 -0
- package/dist/ui/item.js.map +1 -0
- package/dist/ui/kbd.cjs +2 -0
- package/dist/ui/kbd.cjs.map +1 -0
- package/dist/ui/kbd.js +30 -0
- package/dist/ui/kbd.js.map +1 -0
- package/dist/ui/label.cjs +2 -0
- package/dist/ui/label.cjs.map +1 -0
- package/dist/ui/label.js +23 -0
- package/dist/ui/label.js.map +1 -0
- package/dist/ui/menubar.cjs +2 -0
- package/dist/ui/menubar.cjs.map +1 -0
- package/dist/ui/menubar.js +256 -0
- package/dist/ui/menubar.js.map +1 -0
- package/dist/ui/navigation-menu.cjs +2 -0
- package/dist/ui/navigation-menu.cjs.map +1 -0
- package/dist/ui/navigation-menu.js +164 -0
- package/dist/ui/navigation-menu.js.map +1 -0
- package/dist/ui/popover.cjs +2 -0
- package/dist/ui/popover.cjs.map +1 -0
- package/dist/ui/popover.js +45 -0
- package/dist/ui/popover.js.map +1 -0
- package/dist/ui/radio-group.cjs +2 -0
- package/dist/ui/radio-group.cjs.map +1 -0
- package/dist/ui/radio-group.js +45 -0
- package/dist/ui/radio-group.js.map +1 -0
- package/dist/ui/resizable.cjs +2 -0
- package/dist/ui/resizable.cjs.map +1 -0
- package/dist/ui/resizable.js +58 -0
- package/dist/ui/resizable.js.map +1 -0
- package/dist/ui/scroll-area.cjs +2 -0
- package/dist/ui/scroll-area.cjs.map +1 -0
- package/dist/ui/scroll-area.js +61 -0
- package/dist/ui/scroll-area.js.map +1 -0
- package/dist/ui/select.cjs +2 -0
- package/dist/ui/select.cjs.map +1 -0
- package/dist/ui/select.js +184 -0
- package/dist/ui/select.js.map +1 -0
- package/dist/ui/separator.cjs +2 -0
- package/dist/ui/separator.cjs.map +1 -0
- package/dist/ui/separator.js +27 -0
- package/dist/ui/separator.js.map +1 -0
- package/dist/ui/sheet.cjs +2 -0
- package/dist/ui/sheet.cjs.map +1 -0
- package/dist/ui/sheet.js +137 -0
- package/dist/ui/sheet.js.map +1 -0
- package/dist/ui/sidebar.cjs +2 -0
- package/dist/ui/sidebar.cjs.map +1 -0
- package/dist/ui/sidebar.js +579 -0
- package/dist/ui/sidebar.js.map +1 -0
- package/dist/ui/skeleton.cjs +2 -0
- package/dist/ui/skeleton.cjs.map +1 -0
- package/dist/ui/skeleton.js +24 -0
- package/dist/ui/skeleton.js.map +1 -0
- package/dist/ui/slider.cjs +2 -0
- package/dist/ui/slider.cjs.map +1 -0
- package/dist/ui/slider.js +61 -0
- package/dist/ui/slider.js.map +1 -0
- package/dist/ui/sonner.cjs +2 -0
- package/dist/ui/sonner.cjs.map +1 -0
- package/dist/ui/sonner.js +52 -0
- package/dist/ui/sonner.js.map +1 -0
- package/dist/ui/spinner.cjs +2 -0
- package/dist/ui/spinner.cjs.map +1 -0
- package/dist/ui/spinner.js +39 -0
- package/dist/ui/spinner.js.map +1 -0
- package/dist/ui/switch.cjs +2 -0
- package/dist/ui/switch.cjs.map +1 -0
- package/dist/ui/switch.js +32 -0
- package/dist/ui/switch.js.map +1 -0
- package/dist/ui/table.cjs +2 -0
- package/dist/ui/table.cjs.map +1 -0
- package/dist/ui/table.js +153 -0
- package/dist/ui/table.js.map +1 -0
- package/dist/ui/tabs.cjs +2 -0
- package/dist/ui/tabs.cjs.map +1 -0
- package/dist/ui/tabs.js +92 -0
- package/dist/ui/tabs.js.map +1 -0
- package/dist/ui/tetra-molecule-icon.cjs +2 -0
- package/dist/ui/tetra-molecule-icon.cjs.map +1 -0
- package/dist/ui/tetra-molecule-icon.js +50 -0
- package/dist/ui/tetra-molecule-icon.js.map +1 -0
- package/dist/ui/tetrascience-icon.cjs +2 -0
- package/dist/ui/tetrascience-icon.cjs.map +1 -0
- package/dist/ui/tetrascience-icon.js +47 -0
- package/dist/ui/tetrascience-icon.js.map +1 -0
- package/dist/ui/textarea.cjs +2 -0
- package/dist/ui/textarea.cjs.map +1 -0
- package/dist/ui/textarea.js +19 -0
- package/dist/ui/textarea.js.map +1 -0
- package/dist/ui/toggle-group.cjs +2 -0
- package/dist/ui/toggle-group.cjs.map +1 -0
- package/dist/ui/toggle-group.js +81 -0
- package/dist/ui/toggle-group.js.map +1 -0
- package/dist/ui/toggle.cjs +2 -0
- package/dist/ui/toggle.cjs.map +1 -0
- package/dist/ui/toggle.js +44 -0
- package/dist/ui/toggle.js.map +1 -0
- package/dist/ui/tooltip.cjs +2 -0
- package/dist/ui/tooltip.cjs.map +1 -0
- package/dist/ui/tooltip.js +56 -0
- package/dist/ui/tooltip.js.map +1 -0
- package/dist/utils/colors.d.ts +50 -0
- package/package.json +137 -24
- package/dist/athena.d.ts +0 -167
- package/dist/components/ai/attachments.cjs +0 -2
- package/dist/components/ai/attachments.cjs.map +0 -1
- package/dist/components/ai/attachments.js +0 -224
- package/dist/components/ai/attachments.js.map +0 -1
- package/dist/components/ai/chain-of-thought.cjs +0 -2
- package/dist/components/ai/chain-of-thought.cjs.map +0 -1
- package/dist/components/ai/chain-of-thought.js +0 -145
- package/dist/components/ai/chain-of-thought.js.map +0 -1
- package/dist/components/ai/confirmation.cjs +0 -2
- package/dist/components/ai/confirmation.cjs.map +0 -1
- package/dist/components/ai/confirmation.js +0 -109
- package/dist/components/ai/confirmation.js.map +0 -1
- package/dist/components/ai/context.cjs +0 -2
- package/dist/components/ai/context.cjs.map +0 -1
- package/dist/components/ai/context.js +0 -266
- package/dist/components/ai/context.js.map +0 -1
- package/dist/components/ai/conversation.cjs +0 -4
- package/dist/components/ai/conversation.cjs.map +0 -1
- package/dist/components/ai/conversation.js +0 -108
- package/dist/components/ai/conversation.js.map +0 -1
- package/dist/components/ai/inline-citation.cjs +0 -2
- package/dist/components/ai/inline-citation.cjs.map +0 -1
- package/dist/components/ai/inline-citation.js +0 -182
- package/dist/components/ai/inline-citation.js.map +0 -1
- package/dist/components/ai/message.cjs +0 -2
- package/dist/components/ai/message.cjs.map +0 -1
- package/dist/components/ai/message.js +0 -237
- package/dist/components/ai/message.js.map +0 -1
- package/dist/components/ai/model-selector.cjs +0 -2
- package/dist/components/ai/model-selector.cjs.map +0 -1
- package/dist/components/ai/model-selector.js +0 -77
- package/dist/components/ai/model-selector.js.map +0 -1
- package/dist/components/ai/prompt-input.cjs +0 -2
- package/dist/components/ai/prompt-input.cjs.map +0 -1
- package/dist/components/ai/prompt-input.js +0 -774
- package/dist/components/ai/prompt-input.js.map +0 -1
- package/dist/components/ai/queue.cjs +0 -2
- package/dist/components/ai/queue.cjs.map +0 -1
- package/dist/components/ai/queue.js +0 -209
- package/dist/components/ai/queue.js.map +0 -1
- package/dist/components/ai/reasoning.cjs +0 -2
- package/dist/components/ai/reasoning.cjs.map +0 -1
- package/dist/components/ai/reasoning.js +0 -129
- package/dist/components/ai/reasoning.js.map +0 -1
- package/dist/components/ai/shimmer.cjs +0 -2
- package/dist/components/ai/shimmer.cjs.map +0 -1
- package/dist/components/ai/shimmer.js +0 -49
- package/dist/components/ai/shimmer.js.map +0 -1
- package/dist/components/ai/sources.cjs +0 -2
- package/dist/components/ai/sources.cjs.map +0 -1
- package/dist/components/ai/sources.js +0 -54
- package/dist/components/ai/sources.js.map +0 -1
- package/dist/components/ai/speech-input.cjs +0 -2
- package/dist/components/ai/speech-input.cjs.map +0 -1
- package/dist/components/ai/speech-input.js +0 -123
- package/dist/components/ai/speech-input.js.map +0 -1
- package/dist/components/ai/stream-status.cjs +0 -2
- package/dist/components/ai/stream-status.cjs.map +0 -1
- package/dist/components/ai/stream-status.js +0 -106
- package/dist/components/ai/stream-status.js.map +0 -1
- package/dist/components/ai/suggestion.cjs +0 -2
- package/dist/components/ai/suggestion.cjs.map +0 -1
- package/dist/components/ai/suggestion.js +0 -38
- package/dist/components/ai/suggestion.js.map +0 -1
- package/dist/components/ai/task.cjs +0 -2
- package/dist/components/ai/task.cjs.map +0 -1
- package/dist/components/ai/task.js +0 -94
- package/dist/components/ai/task.js.map +0 -1
- package/dist/components/ai/tool.cjs +0 -2
- package/dist/components/ai/tool.cjs.map +0 -1
- package/dist/components/ai/tool.js +0 -143
- package/dist/components/ai/tool.js.map +0 -1
- package/dist/components/charts/AreaGraph/AreaGraph.cjs +0 -2
- package/dist/components/charts/AreaGraph/AreaGraph.cjs.map +0 -1
- package/dist/components/charts/AreaGraph/AreaGraph.js +0 -271
- package/dist/components/charts/AreaGraph/AreaGraph.js.map +0 -1
- package/dist/components/charts/BarGraph/BarGraph.cjs +0 -2
- package/dist/components/charts/BarGraph/BarGraph.cjs.map +0 -1
- package/dist/components/charts/BarGraph/BarGraph.js +0 -220
- package/dist/components/charts/BarGraph/BarGraph.js.map +0 -1
- package/dist/components/charts/Boxplot/Boxplot.cjs +0 -2
- package/dist/components/charts/Boxplot/Boxplot.cjs.map +0 -1
- package/dist/components/charts/Boxplot/Boxplot.js +0 -209
- package/dist/components/charts/Boxplot/Boxplot.js.map +0 -1
- package/dist/components/charts/ChromatogramChart/ChromatogramChart.cjs +0 -2
- package/dist/components/charts/ChromatogramChart/ChromatogramChart.cjs.map +0 -1
- package/dist/components/charts/ChromatogramChart/ChromatogramChart.js +0 -227
- package/dist/components/charts/ChromatogramChart/ChromatogramChart.js.map +0 -1
- package/dist/components/charts/ChromatogramChart/annotations.cjs +0 -2
- package/dist/components/charts/ChromatogramChart/annotations.cjs.map +0 -1
- package/dist/components/charts/ChromatogramChart/annotations.js +0 -73
- package/dist/components/charts/ChromatogramChart/annotations.js.map +0 -1
- package/dist/components/charts/ChromatogramChart/boundaryMarkers.cjs +0 -2
- package/dist/components/charts/ChromatogramChart/boundaryMarkers.cjs.map +0 -1
- package/dist/components/charts/ChromatogramChart/boundaryMarkers.js +0 -34
- package/dist/components/charts/ChromatogramChart/boundaryMarkers.js.map +0 -1
- package/dist/components/charts/ChromatogramChart/constants.cjs +0 -2
- package/dist/components/charts/ChromatogramChart/constants.cjs.map +0 -1
- package/dist/components/charts/ChromatogramChart/constants.js +0 -30
- package/dist/components/charts/ChromatogramChart/constants.js.map +0 -1
- package/dist/components/charts/ChromatogramChart/dataProcessing.cjs +0 -2
- package/dist/components/charts/ChromatogramChart/dataProcessing.cjs.map +0 -1
- package/dist/components/charts/ChromatogramChart/dataProcessing.js +0 -79
- package/dist/components/charts/ChromatogramChart/dataProcessing.js.map +0 -1
- package/dist/components/charts/ChromatogramChart/peakDetection.cjs.map +0 -1
- package/dist/components/charts/ChromatogramChart/peakDetection.js.map +0 -1
- package/dist/components/charts/DotPlot/DotPlot.cjs +0 -2
- package/dist/components/charts/DotPlot/DotPlot.cjs.map +0 -1
- package/dist/components/charts/DotPlot/DotPlot.js +0 -208
- package/dist/components/charts/DotPlot/DotPlot.js.map +0 -1
- package/dist/components/charts/Heatmap/Heatmap.cjs +0 -2
- package/dist/components/charts/Heatmap/Heatmap.cjs.map +0 -1
- package/dist/components/charts/Heatmap/Heatmap.js +0 -67
- package/dist/components/charts/Heatmap/Heatmap.js.map +0 -1
- package/dist/components/charts/LineGraph/LineGraph.cjs +0 -2
- package/dist/components/charts/LineGraph/LineGraph.cjs.map +0 -1
- package/dist/components/charts/LineGraph/LineGraph.js +0 -225
- package/dist/components/charts/LineGraph/LineGraph.js.map +0 -1
- package/dist/components/charts/ScatterGraph/ScatterGraph.cjs +0 -2
- package/dist/components/charts/ScatterGraph/ScatterGraph.cjs.map +0 -1
- package/dist/components/charts/ScatterGraph/ScatterGraph.js +0 -234
- package/dist/components/charts/ScatterGraph/ScatterGraph.js.map +0 -1
- package/dist/components/composed/tdp-link.cjs +0 -2
- package/dist/components/composed/tdp-link.cjs.map +0 -1
- package/dist/components/composed/tdp-link.js +0 -84
- package/dist/components/composed/tdp-link.js.map +0 -1
- package/dist/components/composed/tdp-url.cjs.map +0 -1
- package/dist/components/composed/tdp-url.js.map +0 -1
- package/dist/components/ui/accordion.cjs +0 -2
- package/dist/components/ui/accordion.cjs.map +0 -1
- package/dist/components/ui/accordion.js +0 -83
- package/dist/components/ui/accordion.js.map +0 -1
- package/dist/components/ui/alert-dialog.cjs +0 -2
- package/dist/components/ui/alert-dialog.cjs.map +0 -1
- package/dist/components/ui/alert-dialog.js +0 -181
- package/dist/components/ui/alert-dialog.js.map +0 -1
- package/dist/components/ui/alert.cjs +0 -2
- package/dist/components/ui/alert.cjs.map +0 -1
- package/dist/components/ui/alert.js +0 -81
- package/dist/components/ui/alert.js.map +0 -1
- package/dist/components/ui/aspect-ratio.cjs.map +0 -1
- package/dist/components/ui/aspect-ratio.js.map +0 -1
- package/dist/components/ui/avatar.cjs +0 -2
- package/dist/components/ui/avatar.cjs.map +0 -1
- package/dist/components/ui/avatar.js +0 -107
- package/dist/components/ui/avatar.js.map +0 -1
- package/dist/components/ui/badge.cjs +0 -2
- package/dist/components/ui/badge.cjs.map +0 -1
- package/dist/components/ui/badge.js +0 -47
- package/dist/components/ui/badge.js.map +0 -1
- package/dist/components/ui/banner.cjs +0 -2
- package/dist/components/ui/banner.cjs.map +0 -1
- package/dist/components/ui/banner.js +0 -80
- package/dist/components/ui/banner.js.map +0 -1
- package/dist/components/ui/breadcrumb.cjs +0 -2
- package/dist/components/ui/breadcrumb.cjs.map +0 -1
- package/dist/components/ui/breadcrumb.js +0 -118
- package/dist/components/ui/breadcrumb.js.map +0 -1
- package/dist/components/ui/button-group.cjs +0 -2
- package/dist/components/ui/button-group.cjs.map +0 -1
- package/dist/components/ui/button-group.js +0 -77
- package/dist/components/ui/button-group.js.map +0 -1
- package/dist/components/ui/button.cjs +0 -2
- package/dist/components/ui/button.cjs.map +0 -1
- package/dist/components/ui/button.js +0 -57
- package/dist/components/ui/button.js.map +0 -1
- package/dist/components/ui/calendar.cjs +0 -2
- package/dist/components/ui/calendar.cjs.map +0 -1
- package/dist/components/ui/calendar.js +0 -174
- package/dist/components/ui/calendar.js.map +0 -1
- package/dist/components/ui/card.cjs +0 -2
- package/dist/components/ui/card.cjs.map +0 -1
- package/dist/components/ui/card.js +0 -102
- package/dist/components/ui/card.js.map +0 -1
- package/dist/components/ui/carousel.cjs +0 -2
- package/dist/components/ui/carousel.cjs.map +0 -1
- package/dist/components/ui/carousel.js +0 -179
- package/dist/components/ui/carousel.js.map +0 -1
- package/dist/components/ui/checkbox.cjs +0 -2
- package/dist/components/ui/checkbox.cjs.map +0 -1
- package/dist/components/ui/checkbox.js +0 -35
- package/dist/components/ui/checkbox.js.map +0 -1
- package/dist/components/ui/code-block.cjs +0 -4
- package/dist/components/ui/code-block.cjs.map +0 -1
- package/dist/components/ui/code-block.js +0 -306
- package/dist/components/ui/code-block.js.map +0 -1
- package/dist/components/ui/code-editor.cjs +0 -2
- package/dist/components/ui/code-editor.cjs.map +0 -1
- package/dist/components/ui/code-editor.js +0 -103
- package/dist/components/ui/code-editor.js.map +0 -1
- package/dist/components/ui/collapsible.cjs.map +0 -1
- package/dist/components/ui/collapsible.js.map +0 -1
- package/dist/components/ui/combobox.cjs +0 -2
- package/dist/components/ui/combobox.cjs.map +0 -1
- package/dist/components/ui/combobox.js +0 -281
- package/dist/components/ui/combobox.js.map +0 -1
- package/dist/components/ui/command.cjs +0 -2
- package/dist/components/ui/command.cjs.map +0 -1
- package/dist/components/ui/command.js +0 -174
- package/dist/components/ui/command.js.map +0 -1
- package/dist/components/ui/context-menu.cjs +0 -2
- package/dist/components/ui/context-menu.cjs.map +0 -1
- package/dist/components/ui/context-menu.js +0 -236
- package/dist/components/ui/context-menu.js.map +0 -1
- package/dist/components/ui/dialog.cjs +0 -2
- package/dist/components/ui/dialog.cjs.map +0 -1
- package/dist/components/ui/dialog.js +0 -165
- package/dist/components/ui/dialog.js.map +0 -1
- package/dist/components/ui/drawer.cjs +0 -2
- package/dist/components/ui/drawer.cjs.map +0 -1
- package/dist/components/ui/drawer.js +0 -125
- package/dist/components/ui/drawer.js.map +0 -1
- package/dist/components/ui/dropdown-menu.cjs +0 -2
- package/dist/components/ui/dropdown-menu.cjs.map +0 -1
- package/dist/components/ui/dropdown-menu.js +0 -252
- package/dist/components/ui/dropdown-menu.js.map +0 -1
- package/dist/components/ui/field.cjs +0 -2
- package/dist/components/ui/field.cjs.map +0 -1
- package/dist/components/ui/field.js +0 -210
- package/dist/components/ui/field.js.map +0 -1
- package/dist/components/ui/hover-card.cjs +0 -2
- package/dist/components/ui/hover-card.cjs.map +0 -1
- package/dist/components/ui/hover-card.js +0 -39
- package/dist/components/ui/hover-card.js.map +0 -1
- package/dist/components/ui/input-group.cjs +0 -2
- package/dist/components/ui/input-group.cjs.map +0 -1
- package/dist/components/ui/input-group.js +0 -145
- package/dist/components/ui/input-group.js.map +0 -1
- package/dist/components/ui/input-otp.cjs +0 -2
- package/dist/components/ui/input-otp.cjs.map +0 -1
- package/dist/components/ui/input-otp.js +0 -82
- package/dist/components/ui/input-otp.js.map +0 -1
- package/dist/components/ui/input.cjs +0 -2
- package/dist/components/ui/input.cjs.map +0 -1
- package/dist/components/ui/input.js +0 -20
- package/dist/components/ui/input.js.map +0 -1
- package/dist/components/ui/item.cjs +0 -2
- package/dist/components/ui/item.cjs.map +0 -1
- package/dist/components/ui/item.js +0 -191
- package/dist/components/ui/item.js.map +0 -1
- package/dist/components/ui/kbd.cjs +0 -2
- package/dist/components/ui/kbd.cjs.map +0 -1
- package/dist/components/ui/kbd.js +0 -30
- package/dist/components/ui/kbd.js.map +0 -1
- package/dist/components/ui/label.cjs +0 -2
- package/dist/components/ui/label.cjs.map +0 -1
- package/dist/components/ui/label.js +0 -23
- package/dist/components/ui/label.js.map +0 -1
- package/dist/components/ui/menubar.cjs +0 -2
- package/dist/components/ui/menubar.cjs.map +0 -1
- package/dist/components/ui/menubar.js +0 -256
- package/dist/components/ui/menubar.js.map +0 -1
- package/dist/components/ui/navigation-menu.cjs +0 -2
- package/dist/components/ui/navigation-menu.cjs.map +0 -1
- package/dist/components/ui/navigation-menu.js +0 -164
- package/dist/components/ui/navigation-menu.js.map +0 -1
- package/dist/components/ui/popover.cjs +0 -2
- package/dist/components/ui/popover.cjs.map +0 -1
- package/dist/components/ui/popover.js +0 -45
- package/dist/components/ui/popover.js.map +0 -1
- package/dist/components/ui/radio-group.cjs +0 -2
- package/dist/components/ui/radio-group.cjs.map +0 -1
- package/dist/components/ui/radio-group.js +0 -45
- package/dist/components/ui/radio-group.js.map +0 -1
- package/dist/components/ui/resizable.cjs +0 -2
- package/dist/components/ui/resizable.cjs.map +0 -1
- package/dist/components/ui/resizable.js +0 -58
- package/dist/components/ui/resizable.js.map +0 -1
- package/dist/components/ui/scroll-area.cjs +0 -2
- package/dist/components/ui/scroll-area.cjs.map +0 -1
- package/dist/components/ui/scroll-area.js +0 -60
- package/dist/components/ui/scroll-area.js.map +0 -1
- package/dist/components/ui/select.cjs +0 -2
- package/dist/components/ui/select.cjs.map +0 -1
- package/dist/components/ui/select.js +0 -184
- package/dist/components/ui/select.js.map +0 -1
- package/dist/components/ui/separator.cjs +0 -2
- package/dist/components/ui/separator.cjs.map +0 -1
- package/dist/components/ui/separator.js +0 -27
- package/dist/components/ui/separator.js.map +0 -1
- package/dist/components/ui/sheet.cjs +0 -2
- package/dist/components/ui/sheet.cjs.map +0 -1
- package/dist/components/ui/sheet.js +0 -137
- package/dist/components/ui/sheet.js.map +0 -1
- package/dist/components/ui/sidebar.cjs +0 -2
- package/dist/components/ui/sidebar.cjs.map +0 -1
- package/dist/components/ui/sidebar.js +0 -579
- package/dist/components/ui/sidebar.js.map +0 -1
- package/dist/components/ui/skeleton.cjs +0 -2
- package/dist/components/ui/skeleton.cjs.map +0 -1
- package/dist/components/ui/skeleton.js +0 -24
- package/dist/components/ui/skeleton.js.map +0 -1
- package/dist/components/ui/slider.cjs +0 -2
- package/dist/components/ui/slider.cjs.map +0 -1
- package/dist/components/ui/slider.js +0 -60
- package/dist/components/ui/slider.js.map +0 -1
- package/dist/components/ui/sonner.cjs +0 -2
- package/dist/components/ui/sonner.cjs.map +0 -1
- package/dist/components/ui/sonner.js +0 -37
- package/dist/components/ui/sonner.js.map +0 -1
- package/dist/components/ui/spinner.cjs +0 -2
- package/dist/components/ui/spinner.cjs.map +0 -1
- package/dist/components/ui/spinner.js +0 -39
- package/dist/components/ui/spinner.js.map +0 -1
- package/dist/components/ui/switch.cjs +0 -2
- package/dist/components/ui/switch.cjs.map +0 -1
- package/dist/components/ui/switch.js +0 -32
- package/dist/components/ui/switch.js.map +0 -1
- package/dist/components/ui/table.cjs +0 -2
- package/dist/components/ui/table.cjs.map +0 -1
- package/dist/components/ui/table.js +0 -152
- package/dist/components/ui/table.js.map +0 -1
- package/dist/components/ui/tabs.cjs +0 -2
- package/dist/components/ui/tabs.cjs.map +0 -1
- package/dist/components/ui/tabs.js +0 -92
- package/dist/components/ui/tabs.js.map +0 -1
- package/dist/components/ui/tetrascience-icon.cjs +0 -2
- package/dist/components/ui/tetrascience-icon.cjs.map +0 -1
- package/dist/components/ui/tetrascience-icon.js +0 -46
- package/dist/components/ui/tetrascience-icon.js.map +0 -1
- package/dist/components/ui/textarea.cjs +0 -2
- package/dist/components/ui/textarea.cjs.map +0 -1
- package/dist/components/ui/textarea.js +0 -19
- package/dist/components/ui/textarea.js.map +0 -1
- package/dist/components/ui/toggle-group.cjs +0 -2
- package/dist/components/ui/toggle-group.cjs.map +0 -1
- package/dist/components/ui/toggle-group.js +0 -77
- package/dist/components/ui/toggle-group.js.map +0 -1
- package/dist/components/ui/toggle.cjs +0 -2
- package/dist/components/ui/toggle.cjs.map +0 -1
- package/dist/components/ui/toggle.js +0 -44
- package/dist/components/ui/toggle.js.map +0 -1
- package/dist/components/ui/tooltip.cjs +0 -2
- package/dist/components/ui/tooltip.cjs.map +0 -1
- package/dist/components/ui/tooltip.js +0 -56
- package/dist/components/ui/tooltip.js.map +0 -1
- package/dist/databricks.d.ts +0 -129
- package/dist/providers/athena.d.ts +0 -9
- package/dist/providers/databricks.d.ts +0 -9
- package/dist/providers/snowflake.d.ts +0 -9
- package/dist/snowflake.d.ts +0 -125
- /package/dist/components/charts/{ChromatogramChart → Chromatogram}/peakDetection.cjs +0 -0
- /package/dist/components/charts/{ChromatogramChart → Chromatogram}/peakDetection.js +0 -0
- /package/dist/{components/composed → composed}/tdp-url.cjs +0 -0
- /package/dist/{components/composed → composed}/tdp-url.js +0 -0
- /package/dist/{components/ui → ui}/aspect-ratio.cjs +0 -0
- /package/dist/{components/ui → ui}/aspect-ratio.js +0 -0
- /package/dist/{components/ui → ui}/collapsible.cjs +0 -0
- /package/dist/{components/ui → ui}/collapsible.js +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,4404 +1,102 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
export
|
|
77
|
-
|
|
78
|
-
export
|
|
79
|
-
|
|
80
|
-
export
|
|
81
|
-
|
|
82
|
-
export
|
|
83
|
-
|
|
84
|
-
export
|
|
85
|
-
|
|
86
|
-
export
|
|
87
|
-
|
|
88
|
-
export
|
|
89
|
-
|
|
90
|
-
export
|
|
91
|
-
|
|
92
|
-
export
|
|
93
|
-
|
|
94
|
-
export
|
|
95
|
-
|
|
96
|
-
export
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
export
|
|
101
|
-
|
|
102
|
-
export
|
|
103
|
-
|
|
104
|
-
export declare function AlertDialogHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
105
|
-
|
|
106
|
-
export declare function AlertDialogMedia({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
107
|
-
|
|
108
|
-
export declare function AlertDialogOverlay({ className, ...props }: React_2.ComponentProps<typeof AlertDialog_2.Overlay>): JSX.Element;
|
|
109
|
-
|
|
110
|
-
export declare function AlertDialogPortal({ ...props }: React_2.ComponentProps<typeof AlertDialog_2.Portal>): JSX.Element;
|
|
111
|
-
|
|
112
|
-
export declare function AlertDialogTitle({ className, ...props }: React_2.ComponentProps<typeof AlertDialog_2.Title>): JSX.Element;
|
|
113
|
-
|
|
114
|
-
export declare function AlertDialogTrigger({ ...props }: React_2.ComponentProps<typeof AlertDialog_2.Trigger>): JSX.Element;
|
|
115
|
-
|
|
116
|
-
export declare function AlertTitle({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
117
|
-
|
|
118
|
-
declare const alertVariants: (props?: ({
|
|
119
|
-
variant?: "default" | "destructive" | "info" | "positive" | "warning" | null | undefined;
|
|
120
|
-
} & ClassProp) | undefined) => string;
|
|
121
|
-
|
|
122
|
-
export declare function allPositions(dims: PlateDimensions): WellId[];
|
|
123
|
-
|
|
124
|
-
export declare function applyFilterCondition(cellValue: string, operator: FilterOperator, filterValue: string): boolean;
|
|
125
|
-
|
|
126
|
-
export declare interface AreaDataSeries {
|
|
127
|
-
x: number[];
|
|
128
|
-
y: number[];
|
|
129
|
-
name: string;
|
|
130
|
-
/** Optional color override (auto-assigned from CHART_COLORS if not provided) */
|
|
131
|
-
color?: string;
|
|
132
|
-
fill?: "tozeroy" | "tonexty" | "toself";
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
export declare const AreaGraph: default_2.FC<AreaGraphProps>;
|
|
136
|
-
|
|
137
|
-
export declare interface AreaGraphProps {
|
|
138
|
-
dataSeries: AreaDataSeries[];
|
|
139
|
-
/**
|
|
140
|
-
* Fixed width in pixels. When omitted, the chart fills its container and
|
|
141
|
-
* tracks the container's width via a `ResizeObserver`.
|
|
142
|
-
*/
|
|
143
|
-
width?: number;
|
|
144
|
-
/**
|
|
145
|
-
* Fixed height in pixels. When omitted, the chart fills its container and
|
|
146
|
-
* tracks the container's height via a `ResizeObserver`.
|
|
147
|
-
*/
|
|
148
|
-
height?: number;
|
|
149
|
-
xRange?: [number, number];
|
|
150
|
-
yRange?: [number, number];
|
|
151
|
-
variant?: AreaGraphVariant;
|
|
152
|
-
xTitle?: string;
|
|
153
|
-
yTitle?: string;
|
|
154
|
-
title?: string;
|
|
155
|
-
/**
|
|
156
|
-
* Categorical labels for the x-axis ticks. When provided, the x data values
|
|
157
|
-
* still drive area positioning but the displayed tick labels match these
|
|
158
|
-
* strings in order (e.g. ["Mon", "Tue", …]). Should align 1:1 with the
|
|
159
|
-
* unique, ordered x values across all series.
|
|
160
|
-
*/
|
|
161
|
-
xTickText?: string[];
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
export declare type AreaGraphVariant = "normal" | "stacked";
|
|
165
|
-
|
|
166
|
-
export declare function AspectRatio({ ...props }: React.ComponentProps<typeof AspectRatio_2.Root>): JSX.Element;
|
|
167
|
-
|
|
168
|
-
export declare const Attachment: ({ data, onRemove, className, children, ...props }: AttachmentProps) => JSX.Element;
|
|
169
|
-
|
|
170
|
-
declare interface AttachmentContextValue {
|
|
171
|
-
data: AttachmentData;
|
|
172
|
-
mediaCategory: AttachmentMediaCategory;
|
|
173
|
-
onRemove?: () => void;
|
|
174
|
-
variant: AttachmentVariant;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
export declare type AttachmentData = (FileUIPart & {
|
|
178
|
-
id: string;
|
|
179
|
-
}) | (SourceDocumentUIPart & {
|
|
180
|
-
id: string;
|
|
181
|
-
});
|
|
182
|
-
|
|
183
|
-
export declare const AttachmentEmpty: ({ className, children, ...props }: AttachmentEmptyProps) => JSX.Element;
|
|
184
|
-
|
|
185
|
-
export declare type AttachmentEmptyProps = HTMLAttributes<HTMLDivElement>;
|
|
186
|
-
|
|
187
|
-
export declare const AttachmentHoverCard: ({ openDelay, closeDelay, ...props }: AttachmentHoverCardProps) => JSX.Element;
|
|
188
|
-
|
|
189
|
-
export declare const AttachmentHoverCardContent: ({ align, className, ...props }: AttachmentHoverCardContentProps) => JSX.Element;
|
|
190
|
-
|
|
191
|
-
export declare type AttachmentHoverCardContentProps = ComponentProps<typeof HoverCardContent>;
|
|
192
|
-
|
|
193
|
-
export declare type AttachmentHoverCardProps = ComponentProps<typeof HoverCard>;
|
|
194
|
-
|
|
195
|
-
export declare const AttachmentHoverCardTrigger: (props: AttachmentHoverCardTriggerProps) => JSX.Element;
|
|
196
|
-
|
|
197
|
-
export declare type AttachmentHoverCardTriggerProps = ComponentProps<typeof HoverCardTrigger>;
|
|
198
|
-
|
|
199
|
-
export declare const AttachmentInfo: ({ showMediaType, className, ...props }: AttachmentInfoProps) => JSX.Element | null;
|
|
200
|
-
|
|
201
|
-
export declare type AttachmentInfoProps = HTMLAttributes<HTMLDivElement> & {
|
|
202
|
-
showMediaType?: boolean;
|
|
203
|
-
};
|
|
204
|
-
|
|
205
|
-
export declare type AttachmentMediaCategory = "image" | "video" | "audio" | "document" | "source" | "unknown";
|
|
206
|
-
|
|
207
|
-
export declare const AttachmentPreview: ({ fallbackIcon, className, ...props }: AttachmentPreviewProps) => JSX.Element;
|
|
208
|
-
|
|
209
|
-
export declare type AttachmentPreviewProps = HTMLAttributes<HTMLDivElement> & {
|
|
210
|
-
fallbackIcon?: ReactNode;
|
|
211
|
-
};
|
|
212
|
-
|
|
213
|
-
export declare type AttachmentProps = HTMLAttributes<HTMLDivElement> & {
|
|
214
|
-
data: AttachmentData;
|
|
215
|
-
onRemove?: () => void;
|
|
216
|
-
};
|
|
217
|
-
|
|
218
|
-
export declare const AttachmentRemove: ({ label, className, children, ...props }: AttachmentRemoveProps) => JSX.Element | null;
|
|
219
|
-
|
|
220
|
-
export declare type AttachmentRemoveProps = ComponentProps<typeof Button> & {
|
|
221
|
-
label?: string;
|
|
222
|
-
};
|
|
223
|
-
|
|
224
|
-
export declare const Attachments: ({ variant, className, children, ...props }: AttachmentsProps) => JSX.Element;
|
|
225
|
-
|
|
226
|
-
export declare interface AttachmentsContext {
|
|
227
|
-
files: (FileUIPart & {
|
|
228
|
-
id: string;
|
|
229
|
-
})[];
|
|
230
|
-
add: (files: File[] | FileList) => void;
|
|
231
|
-
remove: (id: string) => void;
|
|
232
|
-
clear: () => void;
|
|
233
|
-
openFileDialog: () => void;
|
|
234
|
-
fileInputRef: RefObject<HTMLInputElement | null>;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
declare interface AttachmentsContextValue {
|
|
238
|
-
variant: AttachmentVariant;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
export declare type AttachmentsProps = HTMLAttributes<HTMLDivElement> & {
|
|
242
|
-
variant?: AttachmentVariant;
|
|
243
|
-
};
|
|
244
|
-
|
|
245
|
-
export declare type AttachmentVariant = "grid" | "inline" | "list";
|
|
246
|
-
|
|
247
|
-
export declare interface AutoFillOptions {
|
|
248
|
-
dims: PlateDimensions;
|
|
249
|
-
/** Number of distinct items to place. Each is repeated `replicates` times. */
|
|
250
|
-
count: number;
|
|
251
|
-
/** First well in fill order. Defaults to position (0,0). */
|
|
252
|
-
startWellId?: WellId;
|
|
253
|
-
/** Traversal strategy. Defaults to `"row-major"`. */
|
|
254
|
-
strategy?: FillStrategy;
|
|
255
|
-
/** Consecutive cells assigned per item. Defaults to 1. */
|
|
256
|
-
replicates?: number;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* Compute the ordered list of well ids to assign to `count` items (each
|
|
261
|
-
* repeated `replicates` times) starting from `startWellId`. Returns at most
|
|
262
|
-
* `dims.rows * dims.columns` ids — overflow is silently truncated so callers
|
|
263
|
-
* can paginate onto multiple plates themselves.
|
|
264
|
-
*/
|
|
265
|
-
export declare function autoFillPositions(options: AutoFillOptions): WellId[];
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* Convenience wrapper: assigns each input item to `replicates` consecutive
|
|
269
|
-
* wells, returning a `Map<WellId, T>`. The mapper builds the record stored at
|
|
270
|
-
* each well (e.g. stamp item-specific fields onto a base record).
|
|
271
|
-
*/
|
|
272
|
-
export declare function autoFillRecords<T>(items: T[], buildRecord: (item: T, index: number, wellId: WellId) => T, options: Omit<AutoFillOptions, "count">): Map<WellId, T>;
|
|
273
|
-
|
|
274
|
-
export declare function Avatar({ className, size, ...props }: React_2.ComponentProps<typeof Avatar_2.Root> & {
|
|
275
|
-
size?: "default" | "sm" | "lg";
|
|
276
|
-
}): JSX.Element;
|
|
277
|
-
|
|
278
|
-
export declare function AvatarBadge({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
279
|
-
|
|
280
|
-
export declare function AvatarFallback({ className, ...props }: React_2.ComponentProps<typeof Avatar_2.Fallback>): JSX.Element;
|
|
281
|
-
|
|
282
|
-
export declare function AvatarGroup({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
283
|
-
|
|
284
|
-
export declare function AvatarGroupCount({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
285
|
-
|
|
286
|
-
export declare function AvatarImage({ className, ...props }: React_2.ComponentProps<typeof Avatar_2.Image>): JSX.Element;
|
|
287
|
-
|
|
288
|
-
export declare function Badge({ className, variant, asChild, ...props }: React_2.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
289
|
-
asChild?: boolean;
|
|
290
|
-
}): JSX.Element;
|
|
291
|
-
|
|
292
|
-
export declare const badgeVariants: (props?: ({
|
|
293
|
-
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | "info" | "positive" | "warning" | null | undefined;
|
|
294
|
-
} & ClassProp) | undefined) => string;
|
|
295
|
-
|
|
296
|
-
export declare function Banner({ variant, title, description, action, dismissible, onDismiss, className, children, role, "aria-live": ariaLive, ...props }: BannerProps): JSX.Element;
|
|
297
|
-
|
|
298
|
-
export declare type BannerProps = React_2.ComponentProps<"div"> & VariantProps<typeof bannerVariants> & DismissibleProps & {
|
|
299
|
-
title?: React_2.ReactNode;
|
|
300
|
-
description?: React_2.ReactNode;
|
|
301
|
-
action?: React_2.ReactNode;
|
|
302
|
-
};
|
|
303
|
-
|
|
304
|
-
export declare const bannerVariants: (props?: ({
|
|
305
|
-
variant?: "destructive" | "info" | "positive" | "warning" | null | undefined;
|
|
306
|
-
} & ClassProp) | undefined) => string;
|
|
307
|
-
|
|
308
|
-
export declare interface BarDataSeries {
|
|
309
|
-
x: number[];
|
|
310
|
-
y: number[];
|
|
311
|
-
name: string;
|
|
312
|
-
/** Optional color override (auto-assigned from CHART_COLORS if not provided) */
|
|
313
|
-
color?: string;
|
|
314
|
-
error_y?: {
|
|
315
|
-
type: "data";
|
|
316
|
-
array: number[];
|
|
317
|
-
visible: boolean;
|
|
318
|
-
};
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
export declare const BarGraph: default_2.FC<BarGraphProps>;
|
|
322
|
-
|
|
323
|
-
export declare interface BarGraphProps {
|
|
324
|
-
dataSeries: BarDataSeries[];
|
|
325
|
-
/**
|
|
326
|
-
* Fixed width in pixels. When omitted, the chart fills its container and
|
|
327
|
-
* tracks the container's width via a `ResizeObserver`.
|
|
328
|
-
*/
|
|
329
|
-
width?: number;
|
|
330
|
-
/**
|
|
331
|
-
* Fixed height in pixels. When omitted, the chart fills its container and
|
|
332
|
-
* tracks the container's height via a `ResizeObserver`.
|
|
333
|
-
*/
|
|
334
|
-
height?: number;
|
|
335
|
-
xRange?: [number, number];
|
|
336
|
-
yRange?: [number, number];
|
|
337
|
-
variant?: BarGraphVariant;
|
|
338
|
-
xTitle?: string;
|
|
339
|
-
yTitle?: string;
|
|
340
|
-
title?: string;
|
|
341
|
-
barWidth?: number;
|
|
342
|
-
/**
|
|
343
|
-
* Categorical labels for the x-axis ticks. When provided, the x data values
|
|
344
|
-
* still drive bar positioning but the displayed tick labels match these
|
|
345
|
-
* strings in order (e.g. ["Mon", "Tue", …]). Should align 1:1 with the
|
|
346
|
-
* unique, ordered x values across all series.
|
|
347
|
-
*/
|
|
348
|
-
xTickText?: string[];
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
export declare type BarGraphVariant = "group" | "stack" | "overlay";
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* Baseline correction method
|
|
355
|
-
*/
|
|
356
|
-
export declare type BaselineCorrectionMethod = "none" | "linear" | "rolling";
|
|
357
|
-
|
|
358
|
-
/**
|
|
359
|
-
* Global boundary marker style setting
|
|
360
|
-
* - "none": No boundary markers displayed
|
|
361
|
-
* - "enabled": Show boundary markers using per-peak settings (startMarker/endMarker) or defaults
|
|
362
|
-
*/
|
|
363
|
-
export declare type BoundaryMarkerStyle = "none" | "enabled";
|
|
364
|
-
|
|
365
|
-
/**
|
|
366
|
-
* Individual boundary marker type for a single boundary point
|
|
367
|
-
*/
|
|
368
|
-
declare type BoundaryMarkerType = "none" | "triangle" | "diamond";
|
|
369
|
-
|
|
370
|
-
export declare interface BoxDataSeries {
|
|
371
|
-
y: number[];
|
|
372
|
-
name: string;
|
|
373
|
-
/** Optional color override (auto-assigned from CHART_COLORS if not provided) */
|
|
374
|
-
color?: string;
|
|
375
|
-
x?: string[] | number[];
|
|
376
|
-
boxpoints?: "all" | "outliers" | "suspectedoutliers" | false;
|
|
377
|
-
jitter?: number;
|
|
378
|
-
pointpos?: number;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
export declare const Boxplot: default_2.FC<BoxplotProps>;
|
|
382
|
-
|
|
383
|
-
export declare interface BoxplotProps {
|
|
384
|
-
dataSeries: BoxDataSeries[];
|
|
385
|
-
/**
|
|
386
|
-
* Fixed width in pixels. When omitted, the chart fills its container and
|
|
387
|
-
* tracks the container's width via a `ResizeObserver`.
|
|
388
|
-
*/
|
|
389
|
-
width?: number;
|
|
390
|
-
/**
|
|
391
|
-
* Fixed height in pixels. When omitted, the chart fills its container and
|
|
392
|
-
* tracks the container's height via a `ResizeObserver`.
|
|
393
|
-
*/
|
|
394
|
-
height?: number;
|
|
395
|
-
xRange?: [number, number];
|
|
396
|
-
yRange?: [number, number];
|
|
397
|
-
xTitle?: string;
|
|
398
|
-
yTitle?: string;
|
|
399
|
-
title?: string;
|
|
400
|
-
showPoints?: boolean;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
export declare function Breadcrumb({ className, ...props }: React_2.ComponentProps<"nav">): JSX.Element;
|
|
404
|
-
|
|
405
|
-
export declare function BreadcrumbEllipsis({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
406
|
-
|
|
407
|
-
export declare function BreadcrumbItem({ className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
408
|
-
|
|
409
|
-
export declare interface BreadcrumbItemConfig {
|
|
410
|
-
/** Display label */
|
|
411
|
-
label: string;
|
|
412
|
-
/** If provided, renders as a link */
|
|
413
|
-
href?: string;
|
|
414
|
-
/** Click handler (used when no href is provided) */
|
|
415
|
-
onClick?: () => void;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
export declare function BreadcrumbLink({ asChild, className, ...props }: React_2.ComponentProps<"a"> & {
|
|
419
|
-
asChild?: boolean;
|
|
420
|
-
}): JSX.Element;
|
|
421
|
-
|
|
422
|
-
export declare function BreadcrumbList({ className, ...props }: React_2.ComponentProps<"ol">): JSX.Element;
|
|
423
|
-
|
|
424
|
-
export declare function BreadcrumbPage({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
425
|
-
|
|
426
|
-
export declare function BreadcrumbSeparator({ children, className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
427
|
-
|
|
428
|
-
/**
|
|
429
|
-
* Construct a full TDP URL by joining a base URL with a path.
|
|
430
|
-
*
|
|
431
|
-
* @example
|
|
432
|
-
* buildTdpUrl("https://tetrascience.com/my-org", "/file/abc-123")
|
|
433
|
-
* // "https://tetrascience.com/my-org/file/abc-123"
|
|
434
|
-
*
|
|
435
|
-
* @param baseUrl - The TDP base URL (origin + optional org prefix)
|
|
436
|
-
* @param path - The TDP page path (e.g., "/file/abc-123")
|
|
437
|
-
* @returns The full TDP URL, or null if construction fails
|
|
438
|
-
*/
|
|
439
|
-
export declare function buildTdpUrl(baseUrl: string, path: string): string | null;
|
|
440
|
-
|
|
441
|
-
export declare function Button({ className, variant, size, asChild, ...props }: React_2.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
442
|
-
asChild?: boolean;
|
|
443
|
-
}): JSX.Element;
|
|
444
|
-
|
|
445
|
-
export declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): JSX.Element;
|
|
446
|
-
|
|
447
|
-
export declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): JSX.Element;
|
|
448
|
-
|
|
449
|
-
export declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<"div"> & {
|
|
450
|
-
asChild?: boolean;
|
|
451
|
-
}): JSX.Element;
|
|
452
|
-
|
|
453
|
-
export declare const buttonGroupVariants: (props?: ({
|
|
454
|
-
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
455
|
-
} & ClassProp) | undefined) => string;
|
|
456
|
-
|
|
457
|
-
export declare const buttonVariants: (props?: ({
|
|
458
|
-
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
459
|
-
size?: "default" | "sm" | "icon" | "xs" | "lg" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
460
|
-
} & ClassProp) | undefined) => string;
|
|
461
|
-
|
|
462
|
-
export declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, locale, formatters, components, ...props }: React_2.ComponentProps<typeof DayPicker> & {
|
|
463
|
-
buttonVariant?: React_2.ComponentProps<typeof Button>["variant"];
|
|
464
|
-
}): JSX.Element;
|
|
465
|
-
|
|
466
|
-
export declare function CalendarDayButton({ className, day, modifiers, locale, ...props }: React_2.ComponentProps<typeof DayButton> & {
|
|
467
|
-
locale?: Partial<Locale>;
|
|
468
|
-
}): JSX.Element;
|
|
469
|
-
|
|
470
|
-
export declare function Card({ className, size, ...props }: React_2.ComponentProps<"div"> & {
|
|
471
|
-
size?: "default" | "sm";
|
|
472
|
-
}): JSX.Element;
|
|
473
|
-
|
|
474
|
-
export declare function CardAction({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
475
|
-
|
|
476
|
-
export declare function CardContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
477
|
-
|
|
478
|
-
export declare function CardDescription({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
479
|
-
|
|
480
|
-
export declare function CardFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
481
|
-
|
|
482
|
-
export declare function CardHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
483
|
-
|
|
484
|
-
export declare function CardTitle({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
485
|
-
|
|
486
|
-
export declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React_2.ComponentProps<"div"> & CarouselProps): JSX.Element;
|
|
487
|
-
|
|
488
|
-
export declare type CarouselApi = UseEmblaCarouselType[1];
|
|
489
|
-
|
|
490
|
-
export declare function CarouselContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
491
|
-
|
|
492
|
-
declare type CarouselContextProps = {
|
|
493
|
-
carouselRef: ReturnType<typeof default_3>[0];
|
|
494
|
-
api: ReturnType<typeof default_3>[1];
|
|
495
|
-
scrollPrev: () => void;
|
|
496
|
-
scrollNext: () => void;
|
|
497
|
-
canScrollPrev: boolean;
|
|
498
|
-
canScrollNext: boolean;
|
|
499
|
-
} & CarouselProps;
|
|
500
|
-
|
|
501
|
-
export declare function CarouselItem({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
502
|
-
|
|
503
|
-
export declare function CarouselNext({ className, variant, size, ...props }: React_2.ComponentProps<typeof Button>): JSX.Element;
|
|
504
|
-
|
|
505
|
-
declare type CarouselOptions = UseCarouselParameters[0];
|
|
506
|
-
|
|
507
|
-
declare type CarouselPlugin = UseCarouselParameters[1];
|
|
508
|
-
|
|
509
|
-
export declare function CarouselPrevious({ className, variant, size, ...props }: React_2.ComponentProps<typeof Button>): JSX.Element;
|
|
510
|
-
|
|
511
|
-
declare type CarouselProps = {
|
|
512
|
-
opts?: CarouselOptions;
|
|
513
|
-
plugins?: CarouselPlugin;
|
|
514
|
-
orientation?: "horizontal" | "vertical";
|
|
515
|
-
setApi?: (api: CarouselApi) => void;
|
|
516
|
-
};
|
|
517
|
-
|
|
518
|
-
export declare const ChainOfThought: {
|
|
519
|
-
({ className, defaultOpen, ...props }: ChainOfThoughtProps): JSX.Element;
|
|
520
|
-
displayName: string;
|
|
521
|
-
};
|
|
522
|
-
|
|
523
|
-
export declare const ChainOfThoughtContent: {
|
|
524
|
-
({ className, ...props }: ChainOfThoughtContentProps): JSX.Element;
|
|
525
|
-
displayName: string;
|
|
526
|
-
};
|
|
527
|
-
|
|
528
|
-
export declare type ChainOfThoughtContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
529
|
-
|
|
530
|
-
export declare const ChainOfThoughtImage: {
|
|
531
|
-
({ src, alt, caption, className, ...props }: ChainOfThoughtImageProps): JSX.Element;
|
|
532
|
-
displayName: string;
|
|
533
|
-
};
|
|
534
|
-
|
|
535
|
-
export declare type ChainOfThoughtImageProps = ComponentProps<"figure"> & {
|
|
536
|
-
src: string;
|
|
537
|
-
alt?: string;
|
|
538
|
-
caption?: string;
|
|
539
|
-
};
|
|
540
|
-
|
|
541
|
-
export declare type ChainOfThoughtProps = ComponentProps<typeof Collapsible>;
|
|
542
|
-
|
|
543
|
-
export declare const ChainOfThoughtSource: {
|
|
544
|
-
({ className, children, ...props }: ChainOfThoughtSourceProps): JSX.Element;
|
|
545
|
-
displayName: string;
|
|
546
|
-
};
|
|
547
|
-
|
|
548
|
-
export declare type ChainOfThoughtSourceProps = ComponentProps<"a">;
|
|
549
|
-
|
|
550
|
-
export declare const ChainOfThoughtSources: {
|
|
551
|
-
({ className, ...props }: ChainOfThoughtSourcesProps): JSX.Element;
|
|
552
|
-
displayName: string;
|
|
553
|
-
};
|
|
554
|
-
|
|
555
|
-
export declare type ChainOfThoughtSourcesProps = ComponentProps<"div">;
|
|
556
|
-
|
|
557
|
-
export declare const ChainOfThoughtStep: {
|
|
558
|
-
({ variant, className, children, ...props }: ChainOfThoughtStepProps): JSX.Element;
|
|
559
|
-
displayName: string;
|
|
560
|
-
};
|
|
561
|
-
|
|
562
|
-
export declare type ChainOfThoughtStepProps = ComponentProps<"div"> & {
|
|
563
|
-
/**
|
|
564
|
-
* Visual prefix for the step.
|
|
565
|
-
* - `"bullet"` — small dot (default, plain reasoning text)
|
|
566
|
-
* - `"search"` — magnifying-glass (web search / tool call)
|
|
567
|
-
* - `"image"` — image icon (image fetch / vision step)
|
|
568
|
-
* - ReactNode — custom icon
|
|
569
|
-
*/
|
|
570
|
-
variant?: ChainOfThoughtStepVariant | ReactNode;
|
|
571
|
-
};
|
|
572
|
-
|
|
573
|
-
export declare type ChainOfThoughtStepVariant = "bullet" | "search" | "image";
|
|
574
|
-
|
|
575
|
-
export declare const ChainOfThoughtTrigger: {
|
|
576
|
-
({ className, children, title, icon, isStreaming, ...props }: ChainOfThoughtTriggerProps): JSX.Element;
|
|
577
|
-
displayName: string;
|
|
578
|
-
};
|
|
579
|
-
|
|
580
|
-
export declare type ChainOfThoughtTriggerProps = ComponentProps<typeof CollapsibleTrigger> & {
|
|
581
|
-
title?: string;
|
|
582
|
-
icon?: ReactNode;
|
|
583
|
-
/** When true, renders a subtle animated dot next to the title. */
|
|
584
|
-
isStreaming?: boolean;
|
|
585
|
-
};
|
|
586
|
-
|
|
587
|
-
/**
|
|
588
|
-
* Chart color palette for consistent graph styling.
|
|
589
|
-
*
|
|
590
|
-
* CVD-friendly (deuteranopia / protanopia / tritanopia) categorical palette.
|
|
591
|
-
* Single source of truth is the `--chart-1` … `--chart-12` CSS variables in
|
|
592
|
-
* `index.tailwind.css`; the hex fallbacks below are used during SSR / before
|
|
593
|
-
* the stylesheet resolves. Slots 1–8 are recommended; 9–12 are for sparing use
|
|
594
|
-
* when more than 8 series are needed.
|
|
595
|
-
*/
|
|
596
|
-
export declare const CHART_COLORS: readonly [string, string, string, string, string, string, string, string, string, string, string, string];
|
|
597
|
-
|
|
598
|
-
/**
|
|
599
|
-
* CVD-friendly diverging ramps (midpoint at step 06/07). Red/green pairings
|
|
600
|
-
* are intentionally avoided (worst for deutan/protan).
|
|
601
|
-
* Source of truth: `--chart-div-*` CSS variables in `index.tailwind.css`.
|
|
602
|
-
*/
|
|
603
|
-
export declare const CHART_DIVERGING: {
|
|
604
|
-
readonly blueOrange: string[];
|
|
605
|
-
readonly tealMagenta: string[];
|
|
606
|
-
readonly purpleYellowGreen: string[];
|
|
607
|
-
};
|
|
608
|
-
|
|
609
|
-
/**
|
|
610
|
-
* CVD-friendly sequential ramps (light → dark, anchored on brand).
|
|
611
|
-
* 12 steps each — pass to a chart's colorscale / sequential interpolator.
|
|
612
|
-
* Source of truth: `--chart-seq-*` CSS variables in `index.tailwind.css`.
|
|
613
|
-
*/
|
|
614
|
-
export declare const CHART_SEQUENTIAL: {
|
|
615
|
-
readonly blue: string[];
|
|
616
|
-
readonly teal: string[];
|
|
617
|
-
readonly purple: string[];
|
|
618
|
-
};
|
|
619
|
-
|
|
620
|
-
/**
|
|
621
|
-
* The design-system tooltip anchored at a chart position; drive it with
|
|
622
|
-
* `useChartTooltip`.
|
|
623
|
-
*
|
|
624
|
-
* Renders the same visual as the ui `TooltipContent` (bubble + arrow) but
|
|
625
|
-
* positions it directly from the anchor coordinates — Radix's popper
|
|
626
|
-
* repositions asynchronously and mis-measures animated content, which made
|
|
627
|
-
* tooltips drift on charts. Placement supports all four sides with
|
|
628
|
-
* Radix-style collision flipping.
|
|
629
|
-
*/
|
|
630
|
-
export declare function ChartTooltip({ anchor, bubbleRef }: ChartTooltipProps): ReactPortal | null;
|
|
631
|
-
|
|
632
|
-
export declare interface ChartTooltipAnchor {
|
|
633
|
-
left: number;
|
|
634
|
-
top: number;
|
|
635
|
-
lines: string[];
|
|
636
|
-
/** Preferred placement side; auto-flips to the opposite when it won't fit */
|
|
637
|
-
side?: ChartTooltipSide;
|
|
638
|
-
/** Plays the exit animation before the tooltip unmounts */
|
|
639
|
-
closing?: boolean;
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
* Minimal structural view of a Plotly hover point — covers cartesian, pie,
|
|
644
|
-
* and heatmap traces without depending on Plotly's loose event typings.
|
|
645
|
-
*/
|
|
646
|
-
export declare interface ChartTooltipHoverPoint {
|
|
647
|
-
x?: number | string;
|
|
648
|
-
y?: number | string;
|
|
649
|
-
z?: number;
|
|
650
|
-
/** Pie slice label */
|
|
651
|
-
label?: string;
|
|
652
|
-
/** Pie slice value */
|
|
653
|
-
value?: number;
|
|
654
|
-
/** Pie slice raw value (Plotly's `v` alias) */
|
|
655
|
-
v?: number;
|
|
656
|
-
/** Pie slice percentage (0–100) */
|
|
657
|
-
percent?: number;
|
|
658
|
-
/** Per-point hover text (e.g. PlateMap wells), lines separated by `<br>` */
|
|
659
|
-
text?: string;
|
|
660
|
-
pointIndex?: number;
|
|
661
|
-
data?: {
|
|
662
|
-
name?: string;
|
|
663
|
-
};
|
|
664
|
-
/** Per-point custom data attached to the trace */
|
|
665
|
-
customdata?: unknown;
|
|
666
|
-
/** Hovered point bounds in plot-div pixels (provided by Plotly) */
|
|
667
|
-
bbox?: {
|
|
668
|
-
x0: number;
|
|
669
|
-
x1: number;
|
|
670
|
-
y0: number;
|
|
671
|
-
y1: number;
|
|
672
|
-
};
|
|
673
|
-
/**
|
|
674
|
-
* Plotly axis objects (internal) used to project a data value to a plot-div
|
|
675
|
-
* pixel. Bars report a `bbox` that sits below their visual top, so we anchor
|
|
676
|
-
* to `_offset + l2p(value)` instead.
|
|
677
|
-
*/
|
|
678
|
-
yaxis?: {
|
|
679
|
-
_offset?: number;
|
|
680
|
-
l2p?: (value: number) => number;
|
|
681
|
-
};
|
|
682
|
-
xaxis?: {
|
|
683
|
-
_offset?: number;
|
|
684
|
-
l2p?: (value: number) => number;
|
|
685
|
-
};
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
/**
|
|
689
|
-
* Build default tooltip lines from Plotly hover points. Handles pie slices,
|
|
690
|
-
* text-carrying traces (e.g. PlateMap wells), single cartesian points, and
|
|
691
|
-
* unified multi-trace hovers.
|
|
692
|
-
*/
|
|
693
|
-
export declare function chartTooltipLines(points: ChartTooltipHoverPoint[], labels?: {
|
|
694
|
-
xLabel?: string;
|
|
695
|
-
yLabel?: string;
|
|
696
|
-
}): string[];
|
|
697
|
-
|
|
698
|
-
export declare interface ChartTooltipProps {
|
|
699
|
-
/** Anchor position (viewport coordinates) and content lines */
|
|
700
|
-
anchor: ChartTooltipAnchor | null;
|
|
701
|
-
/** Ref to the bubble node, used by cursor-following charts to clamp it on-screen */
|
|
702
|
-
bubbleRef?: Ref<HTMLDivElement>;
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
/** Which edge of the point the tooltip is placed against (matches Radix). */
|
|
706
|
-
export declare type ChartTooltipSide = "top" | "bottom" | "left" | "right";
|
|
707
|
-
|
|
708
|
-
export declare const Chat: ({ initialMessages, models, defaultModel, suggestions, onSend, className, }: ChatProps) => JSX.Element;
|
|
709
|
-
|
|
710
|
-
export declare interface ChatMessage {
|
|
711
|
-
id: string;
|
|
712
|
-
role: "user" | "assistant";
|
|
713
|
-
content: string;
|
|
714
|
-
/** Displayed in a collapsible Reasoning panel above the message content. */
|
|
715
|
-
reasoning?: string;
|
|
716
|
-
/** Web sources used to produce this message. */
|
|
717
|
-
sources?: ChatSource[];
|
|
718
|
-
/** Multiple alternative responses (for branching). When provided, the
|
|
719
|
-
* array should include `content` as one of its items. */
|
|
720
|
-
branches?: string[];
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
export declare interface ChatModel {
|
|
724
|
-
id: string;
|
|
725
|
-
name: string;
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
export declare interface ChatProps {
|
|
729
|
-
/** Initial messages to pre-populate the conversation. */
|
|
730
|
-
initialMessages?: ChatMessage[];
|
|
731
|
-
/** Available models shown in the model-selector dropdown. */
|
|
732
|
-
models?: ChatModel[];
|
|
733
|
-
/** Initial model id. Defaults to the first model in `models`. */
|
|
734
|
-
defaultModel?: string;
|
|
735
|
-
/** Suggestion chips shown when the conversation is empty. */
|
|
736
|
-
suggestions?: string[];
|
|
737
|
-
/** Called when the user submits a message. The returned string (if any)
|
|
738
|
-
* will be appended as the assistant's reply. Defaults to a no-op. */
|
|
739
|
-
onSend?: (message: string, model: string) => Promise<string | undefined> | string | undefined;
|
|
740
|
-
className?: string;
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
export declare interface ChatSource {
|
|
744
|
-
href: string;
|
|
745
|
-
title: string;
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
export declare function Checkbox({ className, ...props }: React_2.ComponentProps<typeof Checkbox_2.Root>): JSX.Element;
|
|
749
|
-
|
|
750
|
-
export declare const Chromatogram: default_2.FC<ChromatogramProps>;
|
|
751
|
-
|
|
752
|
-
export declare const ChromatogramChart: default_2.FC<ChromatogramChartProps>;
|
|
753
|
-
|
|
754
|
-
/**
|
|
755
|
-
* Props for ChromatogramChart component
|
|
756
|
-
*/
|
|
757
|
-
export declare interface ChromatogramChartProps {
|
|
758
|
-
/** Array of data series to display */
|
|
759
|
-
series: ChromatogramSeries[];
|
|
760
|
-
/** Chart width in pixels */
|
|
761
|
-
width?: number;
|
|
762
|
-
/** Chart height in pixels */
|
|
763
|
-
height?: number;
|
|
764
|
-
/** Chart title */
|
|
765
|
-
title?: string;
|
|
766
|
-
/** X-axis label */
|
|
767
|
-
xAxisTitle?: string;
|
|
768
|
-
/** Y-axis label */
|
|
769
|
-
yAxisTitle?: string;
|
|
770
|
-
/** Peak annotations to display */
|
|
771
|
-
annotations?: PeakAnnotation[];
|
|
772
|
-
/** Fixed x-axis range [min, max] */
|
|
773
|
-
xRange?: [number, number];
|
|
774
|
-
/** Fixed y-axis range [min, max] */
|
|
775
|
-
yRange?: [number, number];
|
|
776
|
-
/** Show legend (default: true) */
|
|
777
|
-
showLegend?: boolean;
|
|
778
|
-
/** Show vertical grid lines (default: true) */
|
|
779
|
-
showGridX?: boolean;
|
|
780
|
-
/** Show horizontal grid lines (default: true) */
|
|
781
|
-
showGridY?: boolean;
|
|
782
|
-
/** Show data point markers (default: false) */
|
|
783
|
-
showMarkers?: boolean;
|
|
784
|
-
/** Marker size when showMarkers is true (default: 4) */
|
|
785
|
-
markerSize?: number;
|
|
786
|
-
/** Show crosshairs on hover (default: false) */
|
|
787
|
-
showCrosshairs?: boolean;
|
|
788
|
-
/** Baseline correction method (default: "none") */
|
|
789
|
-
baselineCorrection?: BaselineCorrectionMethod;
|
|
790
|
-
/** Rolling baseline window size (default: 50) */
|
|
791
|
-
baselineWindowSize?: number;
|
|
792
|
-
/** Peak detection algorithm options - if provided, enables automatic peak detection */
|
|
793
|
-
peakDetectionOptions?: PeakDetectionOptions;
|
|
794
|
-
/** Show peak areas as annotations (default: false) */
|
|
795
|
-
showPeakAreas?: boolean;
|
|
796
|
-
/**
|
|
797
|
-
* Show peak boundary markers (default: "none").
|
|
798
|
-
* - "none": No boundary markers displayed
|
|
799
|
-
* - "enabled": Show boundary markers using per-peak startMarker/endMarker settings
|
|
800
|
-
*
|
|
801
|
-
* Per-peak marker defaults: startMarker="triangle", endMarker="diamond"
|
|
802
|
-
*/
|
|
803
|
-
boundaryMarkers?: BoundaryMarkerStyle;
|
|
804
|
-
/**
|
|
805
|
-
* Retention time threshold for grouping overlapping annotations (default: 0.4 minutes).
|
|
806
|
-
* Peaks closer than this threshold will have their annotations staggered to avoid overlap.
|
|
807
|
-
*/
|
|
808
|
-
annotationOverlapThreshold?: number;
|
|
809
|
-
/** Show export button in modebar (default: true) */
|
|
810
|
-
showExportButton?: boolean;
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
export declare interface ChromatogramProps {
|
|
814
|
-
data?: PeakData[];
|
|
815
|
-
width?: number;
|
|
816
|
-
height?: number;
|
|
817
|
-
positionInterval?: number;
|
|
818
|
-
colorA?: string;
|
|
819
|
-
colorT?: string;
|
|
820
|
-
colorG?: string;
|
|
821
|
-
colorC?: string;
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
/**
|
|
825
|
-
* Type definitions for ChromatogramChart component
|
|
826
|
-
*/
|
|
827
|
-
/**
|
|
828
|
-
* Data series for chromatogram visualization
|
|
829
|
-
*/
|
|
830
|
-
export declare interface ChromatogramSeries {
|
|
831
|
-
/** Retention time values (x-axis) */
|
|
832
|
-
x: number[];
|
|
833
|
-
/** Signal intensity values (y-axis) */
|
|
834
|
-
y: number[];
|
|
835
|
-
/** Series label for legend */
|
|
836
|
-
name: string;
|
|
837
|
-
/** Optional color override (auto-assigned from CHART_COLORS if not provided) */
|
|
838
|
-
color?: string;
|
|
839
|
-
/** Optional metadata for the trace (displayed in tooltip on hover) */
|
|
840
|
-
metadata?: Record<string, unknown>;
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
export declare const CodeBlock: ({ code, language, showLineNumbers, className, children, ...props }: CodeBlockProps) => JSX.Element;
|
|
844
|
-
|
|
845
|
-
export declare const CodeBlockActions: ({ children, className, ...props }: HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
|
846
|
-
|
|
847
|
-
export declare const CodeBlockContainer: ({ className, language, style, ...props }: HTMLAttributes<HTMLDivElement> & {
|
|
848
|
-
language: string;
|
|
849
|
-
}) => JSX.Element;
|
|
850
|
-
|
|
851
|
-
export declare const CodeBlockContent: ({ code, language, showLineNumbers, }: {
|
|
852
|
-
code: string;
|
|
853
|
-
language: BundledLanguage;
|
|
854
|
-
showLineNumbers?: boolean;
|
|
855
|
-
}) => JSX.Element;
|
|
856
|
-
|
|
857
|
-
export declare const CodeBlockCopyButton: ({ onCopy, onError, timeout, children, className, ...props }: CodeBlockCopyButtonProps) => JSX.Element;
|
|
858
|
-
|
|
859
|
-
export declare type CodeBlockCopyButtonProps = ComponentProps<typeof Button> & {
|
|
860
|
-
onCopy?: () => void;
|
|
861
|
-
onError?: (error: Error) => void;
|
|
862
|
-
timeout?: number;
|
|
863
|
-
};
|
|
864
|
-
|
|
865
|
-
export declare const CodeBlockFilename: ({ children, className, ...props }: HTMLAttributes<HTMLSpanElement>) => JSX.Element;
|
|
866
|
-
|
|
867
|
-
export declare const CodeBlockHeader: ({ children, className, ...props }: HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
|
868
|
-
|
|
869
|
-
export declare const CodeBlockLanguageSelector: (props: CodeBlockLanguageSelectorProps) => JSX.Element;
|
|
870
|
-
|
|
871
|
-
export declare const CodeBlockLanguageSelectorContent: ({ align, ...props }: CodeBlockLanguageSelectorContentProps) => JSX.Element;
|
|
872
|
-
|
|
873
|
-
export declare type CodeBlockLanguageSelectorContentProps = ComponentProps<typeof SelectContent>;
|
|
874
|
-
|
|
875
|
-
export declare const CodeBlockLanguageSelectorItem: (props: CodeBlockLanguageSelectorItemProps) => JSX.Element;
|
|
876
|
-
|
|
877
|
-
export declare type CodeBlockLanguageSelectorItemProps = ComponentProps<typeof SelectItem>;
|
|
878
|
-
|
|
879
|
-
export declare type CodeBlockLanguageSelectorProps = ComponentProps<typeof Select>;
|
|
880
|
-
|
|
881
|
-
export declare const CodeBlockLanguageSelectorTrigger: ({ className, ...props }: CodeBlockLanguageSelectorTriggerProps) => JSX.Element;
|
|
882
|
-
|
|
883
|
-
export declare type CodeBlockLanguageSelectorTriggerProps = ComponentProps<typeof SelectTrigger>;
|
|
884
|
-
|
|
885
|
-
export declare const CodeBlockLanguageSelectorValue: (props: CodeBlockLanguageSelectorValueProps) => JSX.Element;
|
|
886
|
-
|
|
887
|
-
export declare type CodeBlockLanguageSelectorValueProps = ComponentProps<typeof SelectValue>;
|
|
888
|
-
|
|
889
|
-
declare type CodeBlockProps = HTMLAttributes<HTMLDivElement> & {
|
|
890
|
-
code: string;
|
|
891
|
-
language: BundledLanguage;
|
|
892
|
-
showLineNumbers?: boolean;
|
|
893
|
-
};
|
|
894
|
-
|
|
895
|
-
export declare const CodeBlockTitle: ({ children, className, ...props }: HTMLAttributes<HTMLDivElement>) => JSX.Element;
|
|
896
|
-
|
|
897
|
-
export declare const CodeEditor: default_2.FC<CodeEditorProps>;
|
|
898
|
-
|
|
899
|
-
export declare interface CodeEditorProps {
|
|
900
|
-
value: string;
|
|
901
|
-
onChange: OnChange;
|
|
902
|
-
language?: string;
|
|
903
|
-
theme?: "light" | "dark";
|
|
904
|
-
height?: string | number;
|
|
905
|
-
width?: string | number;
|
|
906
|
-
options?: Record<string, unknown>;
|
|
907
|
-
label?: string;
|
|
908
|
-
onCopy?: (code: string) => void;
|
|
909
|
-
onLaunch?: (code: string) => void;
|
|
910
|
-
disabled?: boolean;
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
export declare function Collapsible({ ...props }: React.ComponentProps<typeof Collapsible_2.Root>): JSX.Element;
|
|
914
|
-
|
|
915
|
-
export declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof Collapsible_2.CollapsibleContent>): JSX.Element;
|
|
916
|
-
|
|
917
|
-
export declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof Collapsible_2.CollapsibleTrigger>): JSX.Element;
|
|
918
|
-
|
|
919
|
-
/**
|
|
920
|
-
* Color scale definition for the heatmap visualization mode.
|
|
921
|
-
*
|
|
922
|
-
* Can be:
|
|
923
|
-
* - A named Plotly colorscale (e.g., "Viridis", "Blues", "Hot")
|
|
924
|
-
* - An array of [position, color] tuples where position is 0-1
|
|
925
|
-
*
|
|
926
|
-
* @example
|
|
927
|
-
* // Named colorscale
|
|
928
|
-
* colorScale="Viridis"
|
|
929
|
-
*
|
|
930
|
-
* @example
|
|
931
|
-
* // Custom gradient
|
|
932
|
-
* colorScale={[
|
|
933
|
-
* [0, "#313695"], // Dark blue at min
|
|
934
|
-
* [0.5, "#ffffbf"], // Yellow at midpoint
|
|
935
|
-
* [1, "#a50026"], // Dark red at max
|
|
936
|
-
* ]}
|
|
937
|
-
*/
|
|
938
|
-
export declare type ColorScale = string | Array<[number, string]>;
|
|
939
|
-
|
|
940
|
-
export declare const Combobox: typeof Combobox_2.Root;
|
|
941
|
-
|
|
942
|
-
export declare function ComboboxChip({ className, children, showRemove, ...props }: Combobox_2.Chip.Props & {
|
|
943
|
-
showRemove?: boolean;
|
|
944
|
-
}): JSX.Element;
|
|
945
|
-
|
|
946
|
-
export declare function ComboboxChips({ className, ...props }: React_2.ComponentPropsWithRef<typeof Combobox_2.Chips> & Combobox_2.Chips.Props): JSX.Element;
|
|
947
|
-
|
|
948
|
-
export declare function ComboboxChipsInput({ className, ...props }: Combobox_2.Input.Props): JSX.Element;
|
|
949
|
-
|
|
950
|
-
export declare function ComboboxCollection({ ...props }: Combobox_2.Collection.Props): JSX.Element;
|
|
951
|
-
|
|
952
|
-
export declare function ComboboxContent({ className, side, sideOffset, align, alignOffset, anchor, ...props }: Combobox_2.Popup.Props & Pick<Combobox_2.Positioner.Props, "side" | "align" | "sideOffset" | "alignOffset" | "anchor">): JSX.Element;
|
|
953
|
-
|
|
954
|
-
export declare function ComboboxEmpty({ className, ...props }: Combobox_2.Empty.Props): JSX.Element;
|
|
955
|
-
|
|
956
|
-
export declare function ComboboxGroup({ className, ...props }: Combobox_2.Group.Props): JSX.Element;
|
|
957
|
-
|
|
958
|
-
export declare function ComboboxInput({ className, children, disabled, showTrigger, showClear, ...props }: Combobox_2.Input.Props & {
|
|
959
|
-
showTrigger?: boolean;
|
|
960
|
-
showClear?: boolean;
|
|
961
|
-
}): JSX.Element;
|
|
962
|
-
|
|
963
|
-
export declare function ComboboxItem({ className, children, ...props }: Combobox_2.Item.Props): JSX.Element;
|
|
964
|
-
|
|
965
|
-
export declare function ComboboxLabel({ className, ...props }: Combobox_2.GroupLabel.Props): JSX.Element;
|
|
966
|
-
|
|
967
|
-
export declare function ComboboxList({ className, ...props }: Combobox_2.List.Props): JSX.Element;
|
|
968
|
-
|
|
969
|
-
export declare function ComboboxSeparator({ className, ...props }: Combobox_2.Separator.Props): JSX.Element;
|
|
970
|
-
|
|
971
|
-
export declare function ComboboxTrigger({ className, children, ...props }: Combobox_2.Trigger.Props): JSX.Element;
|
|
972
|
-
|
|
973
|
-
export declare function ComboboxValue({ ...props }: Combobox_2.Value.Props): JSX.Element;
|
|
974
|
-
|
|
975
|
-
export declare function Command({ className, ...props }: React_2.ComponentProps<typeof Command_2>): JSX.Element;
|
|
976
|
-
|
|
977
|
-
export declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React_2.ComponentProps<typeof Dialog> & {
|
|
978
|
-
title?: string;
|
|
979
|
-
description?: string;
|
|
980
|
-
className?: string;
|
|
981
|
-
showCloseButton?: boolean;
|
|
982
|
-
}): JSX.Element;
|
|
983
|
-
|
|
984
|
-
export declare function CommandEmpty({ className, ...props }: React_2.ComponentProps<typeof Command_2.Empty>): JSX.Element;
|
|
985
|
-
|
|
986
|
-
export declare function CommandGroup({ className, ...props }: React_2.ComponentProps<typeof Command_2.Group>): JSX.Element;
|
|
987
|
-
|
|
988
|
-
export declare function CommandInput({ className, ...props }: React_2.ComponentProps<typeof Command_2.Input>): JSX.Element;
|
|
989
|
-
|
|
990
|
-
export declare function CommandItem({ className, children, ...props }: React_2.ComponentProps<typeof Command_2.Item>): JSX.Element;
|
|
991
|
-
|
|
992
|
-
export declare function CommandList({ className, ...props }: React_2.ComponentProps<typeof Command_2.List>): JSX.Element;
|
|
993
|
-
|
|
994
|
-
export declare function CommandSeparator({ className, ...props }: React_2.ComponentProps<typeof Command_2.Separator>): JSX.Element;
|
|
995
|
-
|
|
996
|
-
export declare function CommandShortcut({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
997
|
-
|
|
998
|
-
/** Common props shared by both search modes */
|
|
999
|
-
declare interface CommonTdpSearchProps {
|
|
1000
|
-
/** Default search term (default query) */
|
|
1001
|
-
defaultQuery?: string;
|
|
1002
|
-
/** Display fields/columns for the results table */
|
|
1003
|
-
columns: TdpSearchColumn[];
|
|
1004
|
-
/** UI filters displayed as dropdowns (for user selection) */
|
|
1005
|
-
filters?: TdpSearchFilter[];
|
|
1006
|
-
/** Default sort configuration (sort options) */
|
|
1007
|
-
defaultSort?: TdpSearchSort;
|
|
1008
|
-
/**
|
|
1009
|
-
* Additional search parameters to pass to the SDK's searchEql method.
|
|
1010
|
-
* Allows customization of expression, selectedPipelineIds, selectedSourceTypes, etc.
|
|
1011
|
-
*/
|
|
1012
|
-
advancedSearchParams?: Partial<Omit<SearchEqlRequest, "searchTerm" | "from" | "size" | "sort" | "order">>;
|
|
1013
|
-
/** Results per page. Defaults to 10 */
|
|
1014
|
-
pageSize?: number;
|
|
1015
|
-
/** Search input placeholder text */
|
|
1016
|
-
searchPlaceholder?: string;
|
|
1017
|
-
/** Custom CSS class */
|
|
1018
|
-
className?: string;
|
|
1019
|
-
/** Callback fired when search is executed with the query and results */
|
|
1020
|
-
onSearch?: (query: SearchEqlRequest, results: SearchResult[]) => void;
|
|
1021
|
-
/** Replace the entire search bar (input + button) */
|
|
1022
|
-
renderSearchBar?: (props: TdpSearchBarRenderProps) => default_2.ReactNode;
|
|
1023
|
-
/** Replace the filters row */
|
|
1024
|
-
renderFilters?: (props: TdpFiltersRenderProps) => default_2.ReactNode;
|
|
1025
|
-
/** Replace the results table (and pagination) */
|
|
1026
|
-
renderResults?: (props: TdpResultsRenderProps) => default_2.ReactNode;
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
|
-
export declare const Confirmation: ({ className, approval, state, children, ...props }: ConfirmationProps) => JSX.Element | null;
|
|
1030
|
-
|
|
1031
|
-
export declare const ConfirmationAccepted: ({ children }: {
|
|
1032
|
-
children?: ReactNode;
|
|
1033
|
-
}) => JSX.Element | null;
|
|
1034
|
-
|
|
1035
|
-
export declare const ConfirmationAction: ({ className, size, ...props }: ConfirmationActionProps) => JSX.Element;
|
|
1036
|
-
|
|
1037
|
-
export declare type ConfirmationActionProps = ComponentProps<typeof Button>;
|
|
1038
|
-
|
|
1039
|
-
export declare const ConfirmationActions: ({ className, ...props }: ConfirmationActionsProps) => JSX.Element | null;
|
|
1040
|
-
|
|
1041
|
-
export declare type ConfirmationActionsProps = ComponentProps<"div">;
|
|
1042
|
-
|
|
1043
|
-
export declare const ConfirmationCode: ({ className, children, ...props }: ConfirmationCodeProps) => JSX.Element;
|
|
1044
|
-
|
|
1045
|
-
export declare type ConfirmationCodeProps = ComponentProps<typeof CodeBlock>;
|
|
1046
|
-
|
|
1047
|
-
export declare type ConfirmationProps = ComponentProps<"div"> & {
|
|
1048
|
-
approval?: ToolUIPartApproval;
|
|
1049
|
-
state: ToolUIPart["state"];
|
|
1050
|
-
};
|
|
1051
|
-
|
|
1052
|
-
export declare const ConfirmationRejected: ({ children }: {
|
|
1053
|
-
children?: ReactNode;
|
|
1054
|
-
}) => JSX.Element | null;
|
|
1055
|
-
|
|
1056
|
-
export declare const ConfirmationRequest: ({ children }: {
|
|
1057
|
-
children?: ReactNode;
|
|
1058
|
-
}) => JSX.Element | null;
|
|
1059
|
-
|
|
1060
|
-
export declare const ConfirmationShortcut: ({ className, ...props }: ConfirmationShortcutProps) => JSX.Element;
|
|
1061
|
-
|
|
1062
|
-
export declare type ConfirmationShortcutProps = ComponentProps<typeof Kbd>;
|
|
1063
|
-
|
|
1064
|
-
export declare const ConfirmationTitle: ({ className, children, ...props }: ConfirmationTitleProps) => JSX.Element;
|
|
1065
|
-
|
|
1066
|
-
export declare type ConfirmationTitleProps = PropsWithChildren<ComponentProps<"h3">>;
|
|
1067
|
-
|
|
1068
|
-
export declare function ConfirmDialog({ title, description, variant, confirmLabel, cancelLabel, onConfirm, onCancel, open, onOpenChange, trigger, loading, }: ConfirmDialogProps): JSX.Element;
|
|
1069
|
-
|
|
1070
|
-
declare interface ConfirmDialogBaseProps {
|
|
1071
|
-
title: string;
|
|
1072
|
-
description?: string;
|
|
1073
|
-
variant?: "default" | "destructive";
|
|
1074
|
-
confirmLabel?: string;
|
|
1075
|
-
cancelLabel?: string;
|
|
1076
|
-
onConfirm?: () => void;
|
|
1077
|
-
onCancel?: () => void;
|
|
1078
|
-
trigger?: React_2.ReactElement;
|
|
1079
|
-
loading?: boolean;
|
|
1080
|
-
}
|
|
1081
|
-
|
|
1082
|
-
declare type ConfirmDialogControlledProps = ConfirmDialogBaseProps & {
|
|
1083
|
-
open: boolean;
|
|
1084
|
-
onOpenChange: (open: boolean) => void;
|
|
1085
|
-
};
|
|
1086
|
-
|
|
1087
|
-
export declare type ConfirmDialogProps = ConfirmDialogControlledProps | ConfirmDialogUncontrolledProps;
|
|
1088
|
-
|
|
1089
|
-
declare type ConfirmDialogUncontrolledProps = ConfirmDialogBaseProps & {
|
|
1090
|
-
open?: never;
|
|
1091
|
-
onOpenChange?: never;
|
|
1092
|
-
};
|
|
1093
|
-
|
|
1094
|
-
export declare const Context: ({ usedTokens, maxTokens, usage, cost, ...props }: ContextProps) => JSX.Element;
|
|
1095
|
-
|
|
1096
|
-
export declare const ContextCacheUsage: ({ className, children, ...props }: ContextCacheUsageProps) => string | number | bigint | true | Iterable<ReactNode> | Promise<string | number | bigint | boolean | ReactPortal | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | JSX.Element | null;
|
|
1097
|
-
|
|
1098
|
-
export declare type ContextCacheUsageProps = ComponentProps<"div">;
|
|
1099
|
-
|
|
1100
|
-
export declare const ContextContent: ({ className, ...props }: ContextContentProps) => JSX.Element;
|
|
1101
|
-
|
|
1102
|
-
export declare const ContextContentBody: ({ children, className, ...props }: ContextContentBodyProps) => JSX.Element;
|
|
1103
|
-
|
|
1104
|
-
export declare type ContextContentBodyProps = ComponentProps<"div">;
|
|
1105
|
-
|
|
1106
|
-
export declare const ContextContentFooter: ({ children, className, ...props }: ContextContentFooterProps) => JSX.Element;
|
|
1107
|
-
|
|
1108
|
-
export declare type ContextContentFooterProps = ComponentProps<"div">;
|
|
1109
|
-
|
|
1110
|
-
export declare const ContextContentHeader: ({ children, className, ...props }: ContextContentHeaderProps) => JSX.Element;
|
|
1111
|
-
|
|
1112
|
-
export declare type ContextContentHeaderProps = ComponentProps<"div">;
|
|
1113
|
-
|
|
1114
|
-
export declare type ContextContentProps = ComponentProps<typeof HoverCardContent>;
|
|
1115
|
-
|
|
1116
|
-
export declare const ContextInputUsage: ({ className, children, ...props }: ContextInputUsageProps) => string | number | bigint | true | Iterable<ReactNode> | Promise<string | number | bigint | boolean | ReactPortal | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | JSX.Element | null;
|
|
1117
|
-
|
|
1118
|
-
export declare type ContextInputUsageProps = ComponentProps<"div">;
|
|
1119
|
-
|
|
1120
|
-
export declare function ContextMenu({ ...props }: React_2.ComponentProps<typeof ContextMenu_2.Root>): JSX.Element;
|
|
1121
|
-
|
|
1122
|
-
export declare function ContextMenuCheckboxItem({ className, children, checked, inset, ...props }: React_2.ComponentProps<typeof ContextMenu_2.CheckboxItem> & {
|
|
1123
|
-
inset?: boolean;
|
|
1124
|
-
}): JSX.Element;
|
|
1125
|
-
|
|
1126
|
-
export declare function ContextMenuContent({ className, ...props }: React_2.ComponentProps<typeof ContextMenu_2.Content> & {
|
|
1127
|
-
side?: "top" | "right" | "bottom" | "left";
|
|
1128
|
-
}): JSX.Element;
|
|
1129
|
-
|
|
1130
|
-
export declare function ContextMenuGroup({ ...props }: React_2.ComponentProps<typeof ContextMenu_2.Group>): JSX.Element;
|
|
1131
|
-
|
|
1132
|
-
export declare function ContextMenuItem({ className, inset, variant, ...props }: React_2.ComponentProps<typeof ContextMenu_2.Item> & {
|
|
1133
|
-
inset?: boolean;
|
|
1134
|
-
variant?: "default" | "destructive";
|
|
1135
|
-
}): JSX.Element;
|
|
1136
|
-
|
|
1137
|
-
export declare function ContextMenuLabel({ className, inset, ...props }: React_2.ComponentProps<typeof ContextMenu_2.Label> & {
|
|
1138
|
-
inset?: boolean;
|
|
1139
|
-
}): JSX.Element;
|
|
1140
|
-
|
|
1141
|
-
export declare function ContextMenuPortal({ ...props }: React_2.ComponentProps<typeof ContextMenu_2.Portal>): JSX.Element;
|
|
1142
|
-
|
|
1143
|
-
export declare function ContextMenuRadioGroup({ ...props }: React_2.ComponentProps<typeof ContextMenu_2.RadioGroup>): JSX.Element;
|
|
1144
|
-
|
|
1145
|
-
export declare function ContextMenuRadioItem({ className, children, inset, ...props }: React_2.ComponentProps<typeof ContextMenu_2.RadioItem> & {
|
|
1146
|
-
inset?: boolean;
|
|
1147
|
-
}): JSX.Element;
|
|
1148
|
-
|
|
1149
|
-
export declare function ContextMenuSeparator({ className, ...props }: React_2.ComponentProps<typeof ContextMenu_2.Separator>): JSX.Element;
|
|
1150
|
-
|
|
1151
|
-
export declare function ContextMenuShortcut({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
1152
|
-
|
|
1153
|
-
export declare function ContextMenuSub({ ...props }: React_2.ComponentProps<typeof ContextMenu_2.Sub>): JSX.Element;
|
|
1154
|
-
|
|
1155
|
-
export declare function ContextMenuSubContent({ className, ...props }: React_2.ComponentProps<typeof ContextMenu_2.SubContent>): JSX.Element;
|
|
1156
|
-
|
|
1157
|
-
export declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React_2.ComponentProps<typeof ContextMenu_2.SubTrigger> & {
|
|
1158
|
-
inset?: boolean;
|
|
1159
|
-
}): JSX.Element;
|
|
1160
|
-
|
|
1161
|
-
export declare function ContextMenuTrigger({ className, ...props }: React_2.ComponentProps<typeof ContextMenu_2.Trigger>): JSX.Element;
|
|
1162
|
-
|
|
1163
|
-
export declare const ContextOutputUsage: ({ className, children, ...props }: ContextOutputUsageProps) => string | number | bigint | true | Iterable<ReactNode> | Promise<string | number | bigint | boolean | ReactPortal | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | JSX.Element | null;
|
|
1164
|
-
|
|
1165
|
-
export declare type ContextOutputUsageProps = ComponentProps<"div">;
|
|
1166
|
-
|
|
1167
|
-
export declare type ContextProps = ComponentProps<typeof HoverCard> & ContextSchema;
|
|
1168
|
-
|
|
1169
|
-
export declare const ContextReasoningUsage: ({ className, children, ...props }: ContextReasoningUsageProps) => string | number | bigint | true | Iterable<ReactNode> | Promise<string | number | bigint | boolean | ReactPortal | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | JSX.Element | null;
|
|
1170
|
-
|
|
1171
|
-
export declare type ContextReasoningUsageProps = ComponentProps<"div">;
|
|
1172
|
-
|
|
1173
|
-
declare interface ContextSchema {
|
|
1174
|
-
usedTokens: number;
|
|
1175
|
-
maxTokens: number;
|
|
1176
|
-
usage?: LanguageModelUsage;
|
|
1177
|
-
cost?: CostBreakdown;
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
|
-
export declare const ContextTrigger: ({ children, showPercentage, ...props }: ContextTriggerProps) => JSX.Element;
|
|
1181
|
-
|
|
1182
|
-
export declare type ContextTriggerProps = ComponentProps<typeof Button> & {
|
|
1183
|
-
showPercentage?: boolean;
|
|
1184
|
-
};
|
|
1185
|
-
|
|
1186
|
-
export declare const Conversation: ({ className, ...props }: ConversationProps) => JSX.Element;
|
|
1187
|
-
|
|
1188
|
-
export declare const ConversationContent: ({ className, ...props }: ConversationContentProps) => JSX.Element;
|
|
1189
|
-
|
|
1190
|
-
export declare type ConversationContentProps = ComponentProps<typeof StickToBottom.Content>;
|
|
1191
|
-
|
|
1192
|
-
export declare const ConversationDownload: ({ messages, filename, formatMessage, className, children, ...props }: ConversationDownloadProps) => JSX.Element;
|
|
1193
|
-
|
|
1194
|
-
export declare type ConversationDownloadProps = Omit<ComponentProps<typeof Button>, "onClick"> & {
|
|
1195
|
-
messages: UIMessage[];
|
|
1196
|
-
filename?: string;
|
|
1197
|
-
formatMessage?: (message: UIMessage, index: number) => string;
|
|
1198
|
-
};
|
|
1199
|
-
|
|
1200
|
-
export declare const ConversationEmptyState: ({ className, title, description, icon, children, ...props }: ConversationEmptyStateProps) => JSX.Element;
|
|
1201
|
-
|
|
1202
|
-
export declare type ConversationEmptyStateProps = ComponentProps<"div"> & {
|
|
1203
|
-
title?: string;
|
|
1204
|
-
description?: string;
|
|
1205
|
-
icon?: React.ReactNode;
|
|
1206
|
-
};
|
|
1207
|
-
|
|
1208
|
-
export declare type ConversationProps = ComponentProps<typeof StickToBottom>;
|
|
1209
|
-
|
|
1210
|
-
export declare const ConversationScrollButton: ({ className, ...props }: ConversationScrollButtonProps) => false | JSX.Element;
|
|
1211
|
-
|
|
1212
|
-
export declare type ConversationScrollButtonProps = ComponentProps<typeof Button>;
|
|
1213
|
-
|
|
1214
|
-
export declare interface CostBreakdown {
|
|
1215
|
-
total?: number;
|
|
1216
|
-
input?: number;
|
|
1217
|
-
output?: number;
|
|
1218
|
-
reasoning?: number;
|
|
1219
|
-
cache?: number;
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
|
-
export declare function DataAppShell({ appName, appFullName, appIcon, version, navGroups, onAppNameClick, backToPlatformPath, onBackToPlatform, userMenu, breadcrumbs, onHelpClick, headerActions, sidebarPanel, showNavRail, children, className, }: DataAppShellProps): JSX.Element;
|
|
1223
|
-
|
|
1224
|
-
export declare interface DataAppShellProps {
|
|
1225
|
-
/** Application name/abbreviation shown in the logo button */
|
|
1226
|
-
appName: string;
|
|
1227
|
-
/** Full application name shown in the app dropdown and mobile nav header */
|
|
1228
|
-
appFullName?: string;
|
|
1229
|
-
/** Custom icon element shown in the logo area */
|
|
1230
|
-
appIcon?: React_2.ReactNode;
|
|
1231
|
-
/** Optional version string shown below the app name/icon in the sidebar header */
|
|
1232
|
-
version?: string;
|
|
1233
|
-
/** Navigation groups; each group contains one or more pages */
|
|
1234
|
-
navGroups: NavGroup[];
|
|
1235
|
-
/** Callback when the app name / icon is clicked in the dropdown */
|
|
1236
|
-
onAppNameClick?: () => void;
|
|
1237
|
-
/** TDP path to navigate to when "Back to TDP Platform" is clicked (uses TDPLink — requires TdpNavigationProvider) */
|
|
1238
|
-
backToPlatformPath?: string;
|
|
1239
|
-
/** Fallback callback when "Back to TDP Platform" is clicked and no backToPlatformPath is set */
|
|
1240
|
-
onBackToPlatform?: () => void;
|
|
1241
|
-
/** Slot rendered at the bottom of the sidebar (e.g. user avatar + menu) */
|
|
1242
|
-
userMenu?: React_2.ReactNode;
|
|
1243
|
-
/** Breadcrumb items from root to current page */
|
|
1244
|
-
breadcrumbs?: BreadcrumbItemConfig[];
|
|
1245
|
-
/** Callback when the help button is clicked; omit to hide the button */
|
|
1246
|
-
onHelpClick?: () => void;
|
|
1247
|
-
/** Slot for right-side actions in the top nav (e.g. data count pills, next button) */
|
|
1248
|
-
headerActions?: React_2.ReactNode;
|
|
1249
|
-
/** Slot rendered between the icon rail and the content (e.g. WorkflowPanel) */
|
|
1250
|
-
sidebarPanel?: React_2.ReactNode;
|
|
1251
|
-
/** Show the desktop icon nav rail. Set false to reclaim width when the panel is collapsed. */
|
|
1252
|
-
showNavRail?: boolean;
|
|
1253
|
-
/** Main content area */
|
|
1254
|
-
children: React_2.ReactNode;
|
|
1255
|
-
/** Additional className for the root container */
|
|
1256
|
-
className?: string;
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
export declare function DataTable<TData, TValue>({ columns, data, toolbar, enableSorting, enableColumnVisibility, children, columnOrder: controlledColumnOrder, onColumnOrderChange, columnVisibility: controlledColumnVisibility, onColumnVisibilityChange, columnLabels: controlledColumnLabels, onColumnLabelChange, enablePagination, defaultPageSize, pagination: controlledPagination, onPaginationChange, enableColumnReorder, enableFiltering, filters: controlledFilters, onFiltersChange, filterConfig, manualFiltering, enableGrouping, grouping: controlledGrouping, onGroupingChange, groupConfig, density, className, variant, containerClassName, truncate, }: DataTableProps<TData, TValue>): JSX.Element;
|
|
1260
|
-
|
|
1261
|
-
export declare function DataTableColumnToggle({ className }: DataTableColumnToggleProps): JSX.Element | null;
|
|
1262
|
-
|
|
1263
|
-
export declare interface DataTableColumnToggleProps {
|
|
1264
|
-
className?: string;
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
|
-
export declare function DataTableFilter({ className }: DataTableFilterProps): JSX.Element | null;
|
|
1268
|
-
|
|
1269
|
-
export declare namespace DataTableFilter {
|
|
1270
|
-
var displayName: string;
|
|
1271
|
-
}
|
|
1272
|
-
|
|
1273
|
-
export declare interface DataTableFilterProps {
|
|
1274
|
-
className?: string;
|
|
1275
|
-
}
|
|
1276
|
-
|
|
1277
|
-
export declare function DataTableGroup({ className }: DataTableGroupProps): JSX.Element | null;
|
|
1278
|
-
|
|
1279
|
-
export declare namespace DataTableGroup {
|
|
1280
|
-
var displayName: string;
|
|
1281
|
-
}
|
|
1282
|
-
|
|
1283
|
-
export declare interface DataTableGroupProps {
|
|
1284
|
-
className?: string;
|
|
1285
|
-
}
|
|
1286
|
-
|
|
1287
|
-
export declare function DataTablePagination({ pageSizeOptions, className, }: DataTablePaginationProps): JSX.Element | null;
|
|
1288
|
-
|
|
1289
|
-
export declare interface DataTablePaginationProps {
|
|
1290
|
-
pageSizeOptions?: number[];
|
|
1291
|
-
className?: string;
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1294
|
-
export declare interface DataTableProps<TData, TValue> {
|
|
1295
|
-
columns: ColumnDef<TData, TValue>[];
|
|
1296
|
-
data: TData[];
|
|
1297
|
-
/** @deprecated Use `<TableToolbar>` as a child instead */
|
|
1298
|
-
toolbar?: React_2.ReactNode;
|
|
1299
|
-
enableSorting?: boolean;
|
|
1300
|
-
enableColumnVisibility?: boolean;
|
|
1301
|
-
columnOrder?: ColumnOrderState;
|
|
1302
|
-
onColumnOrderChange?: (order: ColumnOrderState) => void;
|
|
1303
|
-
columnVisibility?: VisibilityState;
|
|
1304
|
-
onColumnVisibilityChange?: (vis: VisibilityState) => void;
|
|
1305
|
-
columnLabels?: Record<string, string>;
|
|
1306
|
-
onColumnLabelChange?: (columnId: string, label: string) => void;
|
|
1307
|
-
enablePagination?: boolean;
|
|
1308
|
-
defaultPageSize?: number;
|
|
1309
|
-
pagination?: PaginationState;
|
|
1310
|
-
onPaginationChange?: (pagination: PaginationState) => void;
|
|
1311
|
-
enableColumnReorder?: boolean;
|
|
1312
|
-
enableFiltering?: boolean;
|
|
1313
|
-
filters?: FilterCondition[];
|
|
1314
|
-
onFiltersChange?: (filters: FilterCondition[]) => void;
|
|
1315
|
-
filterConfig?: FilterColumnConfig[];
|
|
1316
|
-
/** When true, filtering is handled externally — onFiltersChange fires but rows are not filtered client-side. */
|
|
1317
|
-
manualFiltering?: boolean;
|
|
1318
|
-
enableGrouping?: boolean;
|
|
1319
|
-
/** ID of the column currently grouped by, or null for no grouping. */
|
|
1320
|
-
grouping?: string | null;
|
|
1321
|
-
onGroupingChange?: (grouping: string | null) => void;
|
|
1322
|
-
groupConfig?: GroupColumnConfig[];
|
|
1323
|
-
density?: "compact" | "default" | "relaxed";
|
|
1324
|
-
children?: React_2.ReactNode;
|
|
1325
|
-
className?: string;
|
|
1326
|
-
/** Variant passed to the base Table component */
|
|
1327
|
-
variant?: React_2.ComponentProps<typeof Table>["variant"];
|
|
1328
|
-
/** className passed to the base Table's container div */
|
|
1329
|
-
containerClassName?: React_2.ComponentProps<typeof Table>["containerClassName"];
|
|
1330
|
-
truncate?: boolean;
|
|
1331
|
-
}
|
|
1332
|
-
|
|
1333
|
-
export declare function Dialog({ ...props }: React_2.ComponentProps<typeof Dialog_2.Root>): JSX.Element;
|
|
1334
|
-
|
|
1335
|
-
export declare function DialogBody({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1336
|
-
|
|
1337
|
-
export declare function DialogClose({ ...props }: React_2.ComponentProps<typeof Dialog_2.Close>): JSX.Element;
|
|
1338
|
-
|
|
1339
|
-
export declare function DialogContent({ className, children, showCloseButton, ...props }: React_2.ComponentProps<typeof Dialog_2.Content> & {
|
|
1340
|
-
showCloseButton?: boolean;
|
|
1341
|
-
}): JSX.Element;
|
|
1342
|
-
|
|
1343
|
-
export declare function DialogDescription({ className, ...props }: React_2.ComponentProps<typeof Dialog_2.Description>): JSX.Element;
|
|
1344
|
-
|
|
1345
|
-
export declare function DialogFooter({ className, showCloseButton, children, ...props }: React_2.ComponentProps<"div"> & {
|
|
1346
|
-
showCloseButton?: boolean;
|
|
1347
|
-
}): JSX.Element;
|
|
1348
|
-
|
|
1349
|
-
export declare function DialogHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1350
|
-
|
|
1351
|
-
export declare function DialogOverlay({ className, ...props }: React_2.ComponentProps<typeof Dialog_2.Overlay>): JSX.Element;
|
|
1352
|
-
|
|
1353
|
-
export declare function DialogPortal({ ...props }: React_2.ComponentProps<typeof Dialog_2.Portal>): JSX.Element;
|
|
1354
|
-
|
|
1355
|
-
export declare function DialogTitle({ className, ...props }: React_2.ComponentProps<typeof Dialog_2.Title>): JSX.Element;
|
|
1356
|
-
|
|
1357
|
-
export declare function DialogTrigger({ ...props }: React_2.ComponentProps<typeof Dialog_2.Trigger>): JSX.Element;
|
|
1358
|
-
|
|
1359
|
-
declare type DismissibleProps = {
|
|
1360
|
-
dismissible: true;
|
|
1361
|
-
onDismiss: () => void;
|
|
1362
|
-
} | {
|
|
1363
|
-
dismissible?: false;
|
|
1364
|
-
onDismiss?: never;
|
|
1365
|
-
};
|
|
1366
|
-
|
|
1367
|
-
export declare const DotPlot: default_2.FC<DotPlotProps>;
|
|
1368
|
-
|
|
1369
|
-
export declare interface DotPlotDataSeries {
|
|
1370
|
-
x: number[];
|
|
1371
|
-
y: number[];
|
|
1372
|
-
name: string;
|
|
1373
|
-
color?: string;
|
|
1374
|
-
symbol?: MarkerSymbol_2;
|
|
1375
|
-
size?: number;
|
|
1376
|
-
}
|
|
1377
|
-
|
|
1378
|
-
export declare type DotPlotProps = {
|
|
1379
|
-
dataSeries: DotPlotDataSeries | DotPlotDataSeries[];
|
|
1380
|
-
/**
|
|
1381
|
-
* Fixed width in pixels. When omitted, the chart fills its container and
|
|
1382
|
-
* tracks the container's width via a `ResizeObserver`.
|
|
1383
|
-
*/
|
|
1384
|
-
width?: number;
|
|
1385
|
-
/**
|
|
1386
|
-
* Fixed height in pixels. When omitted, the chart fills its container and
|
|
1387
|
-
* tracks the container's height via a `ResizeObserver`.
|
|
1388
|
-
*/
|
|
1389
|
-
height?: number;
|
|
1390
|
-
title?: string;
|
|
1391
|
-
xTitle?: string;
|
|
1392
|
-
yTitle?: string;
|
|
1393
|
-
variant?: DotPlotVariant;
|
|
1394
|
-
markerSize?: number;
|
|
1395
|
-
};
|
|
1396
|
-
|
|
1397
|
-
export declare type DotPlotVariant = "default" | "stacked";
|
|
1398
|
-
|
|
1399
|
-
export declare function Drawer({ ...props }: React_2.ComponentProps<typeof Drawer_2.Root>): JSX.Element;
|
|
1400
|
-
|
|
1401
|
-
export declare function DrawerClose({ ...props }: React_2.ComponentProps<typeof Drawer_2.Close>): JSX.Element;
|
|
1402
|
-
|
|
1403
|
-
export declare function DrawerContent({ className, children, ...props }: React_2.ComponentProps<typeof Drawer_2.Content>): JSX.Element;
|
|
1404
|
-
|
|
1405
|
-
export declare function DrawerDescription({ className, ...props }: React_2.ComponentProps<typeof Drawer_2.Description>): JSX.Element;
|
|
1406
|
-
|
|
1407
|
-
export declare function DrawerFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1408
|
-
|
|
1409
|
-
export declare function DrawerHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1410
|
-
|
|
1411
|
-
export declare function DrawerOverlay({ className, ...props }: React_2.ComponentProps<typeof Drawer_2.Overlay>): JSX.Element;
|
|
1412
|
-
|
|
1413
|
-
export declare function DrawerPortal({ ...props }: React_2.ComponentProps<typeof Drawer_2.Portal>): JSX.Element;
|
|
1414
|
-
|
|
1415
|
-
export declare function DrawerTitle({ className, ...props }: React_2.ComponentProps<typeof Drawer_2.Title>): JSX.Element;
|
|
1416
|
-
|
|
1417
|
-
export declare function DrawerTrigger({ ...props }: React_2.ComponentProps<typeof Drawer_2.Trigger>): JSX.Element;
|
|
1418
|
-
|
|
1419
|
-
export declare function DropdownMenu({ ...props }: React_2.ComponentProps<typeof DropdownMenu_2.Root>): JSX.Element;
|
|
1420
|
-
|
|
1421
|
-
export declare function DropdownMenuCheckboxItem({ className, children, checked, inset, ...props }: React_2.ComponentProps<typeof DropdownMenu_2.CheckboxItem> & {
|
|
1422
|
-
inset?: boolean;
|
|
1423
|
-
}): JSX.Element;
|
|
1424
|
-
|
|
1425
|
-
export declare function DropdownMenuContent({ className, align, sideOffset, ...props }: React_2.ComponentProps<typeof DropdownMenu_2.Content>): JSX.Element;
|
|
1426
|
-
|
|
1427
|
-
export declare function DropdownMenuGroup({ ...props }: React_2.ComponentProps<typeof DropdownMenu_2.Group>): JSX.Element;
|
|
1428
|
-
|
|
1429
|
-
export declare function DropdownMenuItem({ className, inset, variant, ...props }: React_2.ComponentProps<typeof DropdownMenu_2.Item> & {
|
|
1430
|
-
inset?: boolean;
|
|
1431
|
-
variant?: "default" | "destructive";
|
|
1432
|
-
}): JSX.Element;
|
|
1433
|
-
|
|
1434
|
-
export declare function DropdownMenuLabel({ className, inset, ...props }: React_2.ComponentProps<typeof DropdownMenu_2.Label> & {
|
|
1435
|
-
inset?: boolean;
|
|
1436
|
-
}): JSX.Element;
|
|
1437
|
-
|
|
1438
|
-
export declare function DropdownMenuPortal({ ...props }: React_2.ComponentProps<typeof DropdownMenu_2.Portal>): JSX.Element;
|
|
1439
|
-
|
|
1440
|
-
export declare function DropdownMenuRadioGroup({ ...props }: React_2.ComponentProps<typeof DropdownMenu_2.RadioGroup>): JSX.Element;
|
|
1441
|
-
|
|
1442
|
-
export declare function DropdownMenuRadioItem({ className, children, inset, ...props }: React_2.ComponentProps<typeof DropdownMenu_2.RadioItem> & {
|
|
1443
|
-
inset?: boolean;
|
|
1444
|
-
}): JSX.Element;
|
|
1445
|
-
|
|
1446
|
-
export declare function DropdownMenuSeparator({ className, ...props }: React_2.ComponentProps<typeof DropdownMenu_2.Separator>): JSX.Element;
|
|
1447
|
-
|
|
1448
|
-
export declare function DropdownMenuShortcut({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
1449
|
-
|
|
1450
|
-
export declare function DropdownMenuSub({ ...props }: React_2.ComponentProps<typeof DropdownMenu_2.Sub>): JSX.Element;
|
|
1451
|
-
|
|
1452
|
-
export declare function DropdownMenuSubContent({ className, ...props }: React_2.ComponentProps<typeof DropdownMenu_2.SubContent>): JSX.Element;
|
|
1453
|
-
|
|
1454
|
-
export declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React_2.ComponentProps<typeof DropdownMenu_2.SubTrigger> & {
|
|
1455
|
-
inset?: boolean;
|
|
1456
|
-
}): JSX.Element;
|
|
1457
|
-
|
|
1458
|
-
export declare function DropdownMenuTrigger({ ...props }: React_2.ComponentProps<typeof DropdownMenu_2.Trigger>): JSX.Element;
|
|
1459
|
-
|
|
1460
|
-
export declare function EmptyState({ variant, title, description, icon, action, className, ...props }: EmptyStateProps): JSX.Element;
|
|
1461
|
-
|
|
1462
|
-
export declare interface EmptyStateProps extends React_2.ComponentProps<"div"> {
|
|
1463
|
-
variant?: EmptyStateVariant;
|
|
1464
|
-
title?: string;
|
|
1465
|
-
description?: string;
|
|
1466
|
-
icon?: LucideIcon | React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
1467
|
-
action?: React_2.ReactNode;
|
|
1468
|
-
}
|
|
1469
|
-
|
|
1470
|
-
export declare type EmptyStateVariant = "no-data" | "no-results" | "no-access" | "empty-folder" | "server-error";
|
|
1471
|
-
|
|
1472
|
-
export declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): JSX.Element;
|
|
1473
|
-
|
|
1474
|
-
export declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
|
|
1475
|
-
|
|
1476
|
-
export declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): JSX.Element;
|
|
1477
|
-
|
|
1478
|
-
export declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
|
|
1479
|
-
errors?: Array<{
|
|
1480
|
-
message?: string;
|
|
1481
|
-
} | undefined>;
|
|
1482
|
-
}): JSX.Element | null;
|
|
1483
|
-
|
|
1484
|
-
export declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
|
|
1485
|
-
|
|
1486
|
-
export declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): JSX.Element;
|
|
1487
|
-
|
|
1488
|
-
export declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
|
|
1489
|
-
variant?: "legend" | "label";
|
|
1490
|
-
}): JSX.Element;
|
|
1491
|
-
|
|
1492
|
-
export declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
|
|
1493
|
-
children?: React.ReactNode;
|
|
1494
|
-
}): JSX.Element;
|
|
1495
|
-
|
|
1496
|
-
export declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): JSX.Element;
|
|
1497
|
-
|
|
1498
|
-
export declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
|
|
1499
|
-
|
|
1500
|
-
declare const fieldVariants: (props?: ({
|
|
1501
|
-
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
1502
|
-
} & ClassProp) | undefined) => string;
|
|
1503
|
-
|
|
1504
|
-
export declare type FillStrategy = "row-major" | "column-major" | "row-snake" | "column-snake";
|
|
1505
|
-
|
|
1506
|
-
export declare interface FilterColumnConfig {
|
|
1507
|
-
columnId: string;
|
|
1508
|
-
label?: string;
|
|
1509
|
-
operators?: FilterOperator[];
|
|
1510
|
-
}
|
|
1511
|
-
|
|
1512
|
-
export declare interface FilterCondition {
|
|
1513
|
-
/** Stable unique key for React reconciliation. */
|
|
1514
|
-
id: string;
|
|
1515
|
-
columnId: string;
|
|
1516
|
-
operator: FilterOperator;
|
|
1517
|
-
value: string;
|
|
1518
|
-
}
|
|
1519
|
-
|
|
1520
|
-
export declare type FilterOperator = "contains" | "equals" | "not_equals" | "starts_with" | "ends_with" | "is_empty" | "is_not_empty";
|
|
1521
|
-
|
|
1522
|
-
export declare function FormSection({ heading, description, children, className, ...props }: FormSectionProps): JSX.Element;
|
|
1523
|
-
|
|
1524
|
-
export declare interface FormSectionProps extends React_2.ComponentProps<"div"> {
|
|
1525
|
-
heading: string;
|
|
1526
|
-
description?: string;
|
|
1527
|
-
children: React_2.ReactNode;
|
|
1528
|
-
}
|
|
1529
|
-
|
|
1530
|
-
export declare const getAttachmentLabel: (data: AttachmentData) => string;
|
|
1531
|
-
|
|
1532
|
-
export declare const getMediaCategory: (data: AttachmentData) => AttachmentMediaCategory;
|
|
1533
|
-
|
|
1534
|
-
export declare function getPlateMapScopedWellId(plateBarcode: string, wellId: WellId): WellId;
|
|
1535
|
-
|
|
1536
|
-
export declare const getStatusBadge: (status: ToolPart["state"]) => JSX.Element;
|
|
1537
|
-
|
|
1538
|
-
/**
|
|
1539
|
-
* TDP Navigation Utilities
|
|
1540
|
-
*
|
|
1541
|
-
* Pure utility functions for constructing and navigating to TDP URLs.
|
|
1542
|
-
* These work independently of React and can be used in any context.
|
|
1543
|
-
*
|
|
1544
|
-
* Data apps run inside iframes within TDP. These utilities help resolve
|
|
1545
|
-
* the TDP base URL from the iframe context and construct navigation URLs.
|
|
1546
|
-
*/
|
|
1547
|
-
/**
|
|
1548
|
-
* Extract the TDP base URL from `document.referrer`.
|
|
1549
|
-
*
|
|
1550
|
-
* In production, data apps run inside iframes within TDP. The browser
|
|
1551
|
-
* provides `document.referrer` containing the parent TDP page URL.
|
|
1552
|
-
* This function strips the known route path to get the base URL
|
|
1553
|
-
* (origin + org slug path prefix).
|
|
1554
|
-
*
|
|
1555
|
-
* @example
|
|
1556
|
-
* // referrer: "https://tetrascience-uat.com/my-org/data-workspace/abc"
|
|
1557
|
-
* getTdpBaseUrlFromReferrer() // "https://tetrascience-uat.com/my-org"
|
|
1558
|
-
*
|
|
1559
|
-
* @returns The TDP base URL, or null if detection fails
|
|
1560
|
-
*/
|
|
1561
|
-
export declare function getTdpBaseUrlFromReferrer(): string | null;
|
|
1562
|
-
|
|
1563
|
-
export declare interface GroupColumnConfig {
|
|
1564
|
-
columnId: string;
|
|
1565
|
-
label?: string;
|
|
1566
|
-
}
|
|
1567
|
-
|
|
1568
|
-
export declare const Heatmap: default_2.FC<HeatmapProps>;
|
|
1569
|
-
|
|
1570
|
-
/**
|
|
1571
|
-
* Props for the Heatmap component
|
|
1572
|
-
* @deprecated Use PlateMap component instead. Heatmap is now a wrapper around PlateMap for backward compatibility.
|
|
1573
|
-
*/
|
|
1574
|
-
export declare interface HeatmapProps {
|
|
1575
|
-
/** 2D array of numeric values */
|
|
1576
|
-
data?: number[][];
|
|
1577
|
-
/** Custom x-axis labels (column labels) */
|
|
1578
|
-
xLabels?: string[] | number[];
|
|
1579
|
-
/** Custom y-axis labels (row labels) */
|
|
1580
|
-
yLabels?: string[] | number[];
|
|
1581
|
-
/** Chart title */
|
|
1582
|
-
title?: string;
|
|
1583
|
-
/** X-axis title */
|
|
1584
|
-
xTitle?: string;
|
|
1585
|
-
/** Y-axis title */
|
|
1586
|
-
yTitle?: string;
|
|
1587
|
-
/** Color scale - string name or array of [position, color] pairs */
|
|
1588
|
-
colorscale?: string | Array<[number, string]>;
|
|
1589
|
-
/** Chart width in pixels */
|
|
1590
|
-
width?: number;
|
|
1591
|
-
/** Chart height in pixels */
|
|
1592
|
-
height?: number;
|
|
1593
|
-
/** Show color scale legend */
|
|
1594
|
-
showScale?: boolean;
|
|
1595
|
-
/** Number of decimal places for values */
|
|
1596
|
-
precision?: number;
|
|
1597
|
-
/** Minimum value for color scale */
|
|
1598
|
-
zmin?: number;
|
|
1599
|
-
/** Maximum value for color scale */
|
|
1600
|
-
zmax?: number;
|
|
1601
|
-
/** Value unit suffix */
|
|
1602
|
-
valueUnit?: string;
|
|
1603
|
-
}
|
|
1604
|
-
|
|
1605
|
-
export declare const highlightCode: (code: string, language: BundledLanguage, callback?: (result: TokenizedCode) => void) => TokenizedCode | null;
|
|
1606
|
-
|
|
1607
|
-
export declare const Histogram: default_2.FC<HistogramProps>;
|
|
1608
|
-
|
|
1609
|
-
export declare interface HistogramDataSeries {
|
|
1610
|
-
x: number[];
|
|
1611
|
-
name: string;
|
|
1612
|
-
color?: string;
|
|
1613
|
-
autobinx?: boolean;
|
|
1614
|
-
xbins?: {
|
|
1615
|
-
start: number;
|
|
1616
|
-
end: number;
|
|
1617
|
-
size: number;
|
|
1618
|
-
};
|
|
1619
|
-
opacity?: number;
|
|
1620
|
-
showDistributionLine?: boolean;
|
|
1621
|
-
lineWidth?: number;
|
|
1622
|
-
}
|
|
1623
|
-
|
|
1624
|
-
export declare type HistogramProps = {
|
|
1625
|
-
dataSeries: HistogramDataSeries | HistogramDataSeries[];
|
|
1626
|
-
/**
|
|
1627
|
-
* Fixed width in pixels. When omitted, the chart fills its container and
|
|
1628
|
-
* tracks the container's width via a `ResizeObserver`.
|
|
1629
|
-
*/
|
|
1630
|
-
width?: number;
|
|
1631
|
-
/**
|
|
1632
|
-
* Fixed height in pixels. When omitted, the chart fills its container and
|
|
1633
|
-
* tracks the container's height via a `ResizeObserver`.
|
|
1634
|
-
*/
|
|
1635
|
-
height?: number;
|
|
1636
|
-
title?: string;
|
|
1637
|
-
xTitle?: string;
|
|
1638
|
-
yTitle?: string;
|
|
1639
|
-
bargap?: number;
|
|
1640
|
-
showDistributionLine?: boolean;
|
|
1641
|
-
};
|
|
1642
|
-
|
|
1643
|
-
export declare function HoverCard({ ...props }: React_2.ComponentProps<typeof HoverCard_2.Root>): JSX.Element;
|
|
1644
|
-
|
|
1645
|
-
export declare function HoverCardContent({ className, align, sideOffset, ...props }: React_2.ComponentProps<typeof HoverCard_2.Content>): JSX.Element;
|
|
1646
|
-
|
|
1647
|
-
export declare function HoverCardTrigger({ ...props }: React_2.ComponentProps<typeof HoverCard_2.Trigger>): JSX.Element;
|
|
1648
|
-
|
|
1649
|
-
export declare interface ImportExportHandlers {
|
|
1650
|
-
onImportCsv?: (file: File, triage?: PlateMapCsvTriage) => void | Promise<void>;
|
|
1651
|
-
onExportCsv?: () => void;
|
|
1652
|
-
onImportTemplate?: (file: File) => void | Promise<void>;
|
|
1653
|
-
onExportTemplate?: () => void;
|
|
1654
|
-
}
|
|
1655
|
-
|
|
1656
|
-
export declare const InlineCitation: ({ className, ...props }: InlineCitationProps) => JSX.Element;
|
|
1657
|
-
|
|
1658
|
-
export declare const InlineCitationCard: (props: InlineCitationCardProps) => JSX.Element;
|
|
1659
|
-
|
|
1660
|
-
export declare const InlineCitationCardBody: ({ className, ...props }: InlineCitationCardBodyProps) => JSX.Element;
|
|
1661
|
-
|
|
1662
|
-
export declare type InlineCitationCardBodyProps = ComponentProps<"div">;
|
|
1663
|
-
|
|
1664
|
-
export declare type InlineCitationCardProps = ComponentProps<typeof HoverCard>;
|
|
1665
|
-
|
|
1666
|
-
export declare const InlineCitationCardTrigger: ({ sources, className, ...props }: InlineCitationCardTriggerProps) => JSX.Element;
|
|
1667
|
-
|
|
1668
|
-
export declare type InlineCitationCardTriggerProps = ComponentProps<typeof Badge> & {
|
|
1669
|
-
sources: string[];
|
|
1670
|
-
};
|
|
1671
|
-
|
|
1672
|
-
export declare const InlineCitationCarousel: ({ className, children, ...props }: InlineCitationCarouselProps) => JSX.Element;
|
|
1673
|
-
|
|
1674
|
-
export declare const InlineCitationCarouselContent: (props: InlineCitationCarouselContentProps) => JSX.Element;
|
|
1675
|
-
|
|
1676
|
-
export declare type InlineCitationCarouselContentProps = ComponentProps<"div">;
|
|
1677
|
-
|
|
1678
|
-
export declare const InlineCitationCarouselHeader: ({ className, ...props }: InlineCitationCarouselHeaderProps) => JSX.Element;
|
|
1679
|
-
|
|
1680
|
-
export declare type InlineCitationCarouselHeaderProps = ComponentProps<"div">;
|
|
1681
|
-
|
|
1682
|
-
export declare const InlineCitationCarouselIndex: ({ children, className, ...props }: InlineCitationCarouselIndexProps) => JSX.Element;
|
|
1683
|
-
|
|
1684
|
-
export declare type InlineCitationCarouselIndexProps = ComponentProps<"div">;
|
|
1685
|
-
|
|
1686
|
-
export declare const InlineCitationCarouselItem: ({ className, ...props }: InlineCitationCarouselItemProps) => JSX.Element;
|
|
1687
|
-
|
|
1688
|
-
export declare type InlineCitationCarouselItemProps = ComponentProps<"div">;
|
|
1689
|
-
|
|
1690
|
-
export declare const InlineCitationCarouselNext: ({ className, ...props }: InlineCitationCarouselNextProps) => JSX.Element;
|
|
1691
|
-
|
|
1692
|
-
export declare type InlineCitationCarouselNextProps = ComponentProps<"button">;
|
|
1693
|
-
|
|
1694
|
-
export declare const InlineCitationCarouselPrev: ({ className, ...props }: InlineCitationCarouselPrevProps) => JSX.Element;
|
|
1695
|
-
|
|
1696
|
-
export declare type InlineCitationCarouselPrevProps = ComponentProps<"button">;
|
|
1697
|
-
|
|
1698
|
-
export declare type InlineCitationCarouselProps = ComponentProps<typeof Carousel>;
|
|
1699
|
-
|
|
1700
|
-
export declare type InlineCitationProps = ComponentProps<"span">;
|
|
1701
|
-
|
|
1702
|
-
export declare const InlineCitationQuote: ({ children, className, ...props }: InlineCitationQuoteProps) => JSX.Element;
|
|
1703
|
-
|
|
1704
|
-
export declare type InlineCitationQuoteProps = ComponentProps<"blockquote">;
|
|
1705
|
-
|
|
1706
|
-
export declare const InlineCitationSource: ({ title, url, description, className, children, ...props }: InlineCitationSourceProps) => JSX.Element;
|
|
1707
|
-
|
|
1708
|
-
export declare type InlineCitationSourceProps = ComponentProps<"div"> & {
|
|
1709
|
-
title?: string;
|
|
1710
|
-
url?: string;
|
|
1711
|
-
description?: string;
|
|
1712
|
-
};
|
|
1713
|
-
|
|
1714
|
-
export declare const InlineCitationText: ({ className, ...props }: InlineCitationTextProps) => JSX.Element;
|
|
1715
|
-
|
|
1716
|
-
export declare type InlineCitationTextProps = ComponentProps<"span">;
|
|
1717
|
-
|
|
1718
|
-
export declare function Input({ className, type, ...props }: React_2.ComponentProps<"input">): JSX.Element;
|
|
1719
|
-
|
|
1720
|
-
export declare function InputGroup({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1721
|
-
|
|
1722
|
-
export declare function InputGroupAddon({ className, align, ...props }: React_2.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): JSX.Element;
|
|
1723
|
-
|
|
1724
|
-
declare const inputGroupAddonVariants: (props?: ({
|
|
1725
|
-
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
1726
|
-
} & ClassProp) | undefined) => string;
|
|
1727
|
-
|
|
1728
|
-
export declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React_2.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): JSX.Element;
|
|
1729
|
-
|
|
1730
|
-
declare const inputGroupButtonVariants: (props?: ({
|
|
1731
|
-
size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
|
|
1732
|
-
} & ClassProp) | undefined) => string;
|
|
1733
|
-
|
|
1734
|
-
export declare function InputGroupInput({ className, ...props }: React_2.ComponentProps<"input">): JSX.Element;
|
|
1735
|
-
|
|
1736
|
-
export declare function InputGroupText({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
1737
|
-
|
|
1738
|
-
export declare function InputGroupTextarea({ className, ...props }: React_2.ComponentProps<"textarea">): JSX.Element;
|
|
1739
|
-
|
|
1740
|
-
export declare function InputOTP({ className, containerClassName, ...props }: React_2.ComponentProps<typeof OTPInput> & {
|
|
1741
|
-
containerClassName?: string;
|
|
1742
|
-
}): JSX.Element;
|
|
1743
|
-
|
|
1744
|
-
export declare function InputOTPGroup({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1745
|
-
|
|
1746
|
-
export declare function InputOTPSeparator({ ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1747
|
-
|
|
1748
|
-
export declare function InputOTPSlot({ index, className, ...props }: React_2.ComponentProps<"div"> & {
|
|
1749
|
-
index: number;
|
|
1750
|
-
}): JSX.Element;
|
|
1751
|
-
|
|
1752
|
-
export declare function Item({ className, variant, size, asChild, ...props }: React_2.ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
|
|
1753
|
-
asChild?: boolean;
|
|
1754
|
-
}): JSX.Element;
|
|
1755
|
-
|
|
1756
|
-
export declare function ItemActions({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1757
|
-
|
|
1758
|
-
export declare function ItemContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1759
|
-
|
|
1760
|
-
export declare function ItemDescription({ className, ...props }: React_2.ComponentProps<"p">): JSX.Element;
|
|
1761
|
-
|
|
1762
|
-
export declare function ItemFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1763
|
-
|
|
1764
|
-
export declare function ItemGroup({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1765
|
-
|
|
1766
|
-
export declare function ItemHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1767
|
-
|
|
1768
|
-
export declare function ItemMedia({ className, variant, ...props }: React_2.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): JSX.Element;
|
|
1769
|
-
|
|
1770
|
-
declare const itemMediaVariants: (props?: ({
|
|
1771
|
-
variant?: "image" | "default" | "icon" | null | undefined;
|
|
1772
|
-
} & ClassProp) | undefined) => string;
|
|
1773
|
-
|
|
1774
|
-
export declare function ItemSeparator({ className, ...props }: React_2.ComponentProps<typeof Separator>): JSX.Element;
|
|
1775
|
-
|
|
1776
|
-
export declare function ItemTitle({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
1777
|
-
|
|
1778
|
-
declare const itemVariants: (props?: ({
|
|
1779
|
-
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
1780
|
-
size?: "default" | "sm" | "xs" | null | undefined;
|
|
1781
|
-
} & ClassProp) | undefined) => string;
|
|
1782
|
-
|
|
1783
|
-
export declare function Kbd({ className, ...props }: React.ComponentProps<"kbd">): JSX.Element;
|
|
1784
|
-
|
|
1785
|
-
export declare function KbdGroup({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
|
|
1786
|
-
|
|
1787
|
-
export declare function Label({ className, ...props }: React_2.ComponentProps<typeof Label_2.Root>): JSX.Element;
|
|
1788
|
-
|
|
1789
|
-
/**
|
|
1790
|
-
* Configuration for auto-generated layers when using WellData with `values`.
|
|
1791
|
-
*
|
|
1792
|
-
* When wells have multiple values (via the `values` property), layers are
|
|
1793
|
-
* auto-generated from the unique keys. Use LayerConfig to customize the
|
|
1794
|
-
* display name, visualization mode, and color scale for each layer.
|
|
1795
|
-
*
|
|
1796
|
-
* @example
|
|
1797
|
-
* // Configure layers for wells with { values: { "Raw": 100, "Normalized": 0.5 } }
|
|
1798
|
-
* const layerConfigs: LayerConfig[] = [
|
|
1799
|
-
* { id: "Raw", name: "Raw Data", colorScale: "Blues" },
|
|
1800
|
-
* { id: "Normalized", name: "Normalized Values", valueMin: 0, valueMax: 1 },
|
|
1801
|
-
* ];
|
|
1802
|
-
*/
|
|
1803
|
-
declare interface LayerConfig {
|
|
1804
|
-
/** Layer ID (must match a key in WellData.values) */
|
|
1805
|
-
id: string;
|
|
1806
|
-
/** Display name for the layer (defaults to id if not provided) */
|
|
1807
|
-
name?: string;
|
|
1808
|
-
/** Visualization mode for this layer */
|
|
1809
|
-
visualizationMode?: VisualizationMode;
|
|
1810
|
-
/** Color scale for this layer (for heatmap mode) */
|
|
1811
|
-
colorScale?: ColorScale;
|
|
1812
|
-
/** Minimum value for color scaling */
|
|
1813
|
-
valueMin?: number;
|
|
1814
|
-
/** Maximum value for color scaling */
|
|
1815
|
-
valueMax?: number;
|
|
1816
|
-
/** Value unit suffix for tooltips and colorbar (e.g., "RFU", "%"). A space is automatically added before the unit. */
|
|
1817
|
-
valueUnit?: string;
|
|
1818
|
-
/**
|
|
1819
|
-
* Custom colors for categorical visualization mode.
|
|
1820
|
-
* Keys are category values (strings from `values`), values are hex colors.
|
|
1821
|
-
* Merged with DEFAULT_CATEGORY_COLORS.
|
|
1822
|
-
*/
|
|
1823
|
-
categoryColors?: Record<string, string>;
|
|
1824
|
-
}
|
|
1825
|
-
|
|
1826
|
-
/**
|
|
1827
|
-
* Configuration for legend styling and positioning.
|
|
1828
|
-
*
|
|
1829
|
-
* @example
|
|
1830
|
-
* // Legend on the bottom with custom styling
|
|
1831
|
-
* legendConfig={{
|
|
1832
|
-
* position: "bottom",
|
|
1833
|
-
* fontSize: 14,
|
|
1834
|
-
* itemSpacing: 12,
|
|
1835
|
-
* swatchSize: 20,
|
|
1836
|
-
* }}
|
|
1837
|
-
*/
|
|
1838
|
-
declare interface LegendConfig {
|
|
1839
|
-
/**
|
|
1840
|
-
* Position of the legend relative to the plate.
|
|
1841
|
-
* @default "right"
|
|
1842
|
-
*/
|
|
1843
|
-
position?: LegendPosition;
|
|
1844
|
-
/**
|
|
1845
|
-
* Font size for legend labels in pixels.
|
|
1846
|
-
* @default 12
|
|
1847
|
-
*/
|
|
1848
|
-
fontSize?: number;
|
|
1849
|
-
/**
|
|
1850
|
-
* Spacing between legend items in pixels.
|
|
1851
|
-
* @default 4
|
|
1852
|
-
*/
|
|
1853
|
-
itemSpacing?: number;
|
|
1854
|
-
/**
|
|
1855
|
-
* Size of the color swatch in pixels.
|
|
1856
|
-
* @default 16
|
|
1857
|
-
*/
|
|
1858
|
-
swatchSize?: number;
|
|
1859
|
-
/**
|
|
1860
|
-
* Title to display above the legend.
|
|
1861
|
-
*/
|
|
1862
|
-
title?: string;
|
|
1863
|
-
}
|
|
1864
|
-
|
|
1865
|
-
/**
|
|
1866
|
-
* Position for the legend display.
|
|
1867
|
-
* - `"right"`: Legend appears to the right of the plate (default)
|
|
1868
|
-
* - `"bottom"`: Legend appears below the plate
|
|
1869
|
-
* - `"left"`: Legend appears to the left of the plate
|
|
1870
|
-
* - `"top"`: Legend appears above the plate
|
|
1871
|
-
*/
|
|
1872
|
-
declare type LegendPosition = "right" | "bottom" | "left" | "top";
|
|
1873
|
-
|
|
1874
|
-
export declare interface LineDataSeries {
|
|
1875
|
-
x: number[];
|
|
1876
|
-
y: number[];
|
|
1877
|
-
name: string;
|
|
1878
|
-
/** Optional color override (auto-assigned from CHART_COLORS if not provided) */
|
|
1879
|
-
color?: string;
|
|
1880
|
-
symbol?: MarkerSymbol;
|
|
1881
|
-
error_y?: {
|
|
1882
|
-
type: "data";
|
|
1883
|
-
array: number[];
|
|
1884
|
-
visible: boolean;
|
|
1885
|
-
};
|
|
1886
|
-
}
|
|
1887
|
-
|
|
1888
|
-
export declare const LineGraph: default_2.FC<LineGraphProps>;
|
|
1889
|
-
|
|
1890
|
-
export declare type LineGraphProps = {
|
|
1891
|
-
dataSeries: LineDataSeries[];
|
|
1892
|
-
/**
|
|
1893
|
-
* Fixed width in pixels. When omitted, the chart fills its container and
|
|
1894
|
-
* tracks the container's width via a `ResizeObserver`.
|
|
1895
|
-
*/
|
|
1896
|
-
width?: number;
|
|
1897
|
-
/**
|
|
1898
|
-
* Fixed height in pixels. When omitted, the chart fills its container and
|
|
1899
|
-
* tracks the container's height via a `ResizeObserver`.
|
|
1900
|
-
*/
|
|
1901
|
-
height?: number;
|
|
1902
|
-
xRange?: [number, number];
|
|
1903
|
-
yRange?: [number, number];
|
|
1904
|
-
variant?: LineGraphVariant;
|
|
1905
|
-
xTitle?: string;
|
|
1906
|
-
yTitle?: string;
|
|
1907
|
-
title?: string;
|
|
1908
|
-
/**
|
|
1909
|
-
* Categorical labels for the x-axis ticks. When provided, the x data values
|
|
1910
|
-
* still drive line positioning but the displayed tick labels match these
|
|
1911
|
-
* strings in order (e.g. ["Mon", "Tue", …]). Should align 1:1 with the
|
|
1912
|
-
* unique, ordered x values across all series.
|
|
1913
|
-
*/
|
|
1914
|
-
xTickText?: string[];
|
|
1915
|
-
};
|
|
1916
|
-
|
|
1917
|
-
export declare type LineGraphVariant = "lines" | "lines+markers" | "lines+markers+error_bars";
|
|
1918
|
-
|
|
1919
|
-
export declare const LocalReferencedSourcesContext: Context_2<ReferencedSourcesContext | null>;
|
|
1920
|
-
|
|
1921
|
-
export declare function ManifestFilterPopover({ columns, columnLabel, filters, onFiltersChange, triggerLabel, className, }: ManifestFilterPopoverProps): JSX.Element;
|
|
1922
|
-
|
|
1923
|
-
export declare interface ManifestFilterPopoverProps {
|
|
1924
|
-
/** Filterable columns. Operator subsets can be specified per column. */
|
|
1925
|
-
columns: FilterColumnConfig[];
|
|
1926
|
-
/** Column id → display label resolver. */
|
|
1927
|
-
columnLabel?: (columnId: string) => string;
|
|
1928
|
-
filters: FilterCondition[];
|
|
1929
|
-
onFiltersChange: (next: FilterCondition[]) => void;
|
|
1930
|
-
triggerLabel?: string;
|
|
1931
|
-
className?: string;
|
|
1932
|
-
}
|
|
1933
|
-
|
|
1934
|
-
export declare type MarkerSymbol = "circle" | "circle-open" | "circle-dot" | "circle-open-dot" | "square" | "square-open" | "square-dot" | "square-open-dot" | "diamond" | "diamond-open" | "diamond-dot" | "diamond-open-dot" | "cross" | "cross-open" | "cross-dot" | "cross-open-dot" | "x" | "x-open" | "x-dot" | "x-open-dot" | "triangle-up" | "triangle-up-open" | "triangle-up-dot" | "triangle-up-open-dot" | "triangle-down" | "triangle-down-open" | "triangle-down-dot" | "triangle-down-open-dot" | "triangle-left" | "triangle-left-open" | "triangle-left-dot" | "triangle-left-open-dot" | "triangle-right" | "triangle-right-open" | "triangle-right-dot" | "triangle-right-open-dot" | "triangle-ne" | "triangle-ne-open" | "triangle-ne-dot" | "triangle-ne-open-dot" | "triangle-se" | "triangle-se-open" | "triangle-se-dot" | "triangle-se-open-dot" | "triangle-sw" | "triangle-sw-open" | "triangle-sw-dot" | "triangle-sw-open-dot" | "triangle-nw" | "triangle-nw-open" | "triangle-nw-dot" | "triangle-nw-open-dot" | "pentagon" | "pentagon-open" | "pentagon-dot" | "pentagon-open-dot" | "hexagon" | "hexagon-open" | "hexagon-dot" | "hexagon-open-dot" | "hexagon2" | "hexagon2-open" | "hexagon2-dot" | "hexagon2-open-dot" | "octagon" | "octagon-open" | "octagon-dot" | "octagon-open-dot" | "star" | "star-open" | "star-dot" | "star-open-dot" | "hexagram" | "hexagram-open" | "hexagram-dot" | "hexagram-open-dot" | "star-triangle-up" | "star-triangle-up-open" | "star-triangle-up-dot" | "star-triangle-up-open-dot" | "star-triangle-down" | "star-triangle-down-open" | "star-triangle-down-dot" | "star-triangle-down-open-dot" | "star-square" | "star-square-open" | "star-square-dot" | "star-square-open-dot" | "star-diamond" | "star-diamond-open" | "star-diamond-dot" | "star-diamond-open-dot" | "diamond-tall" | "diamond-tall-open" | "diamond-tall-dot" | "diamond-tall-open-dot" | "diamond-wide" | "diamond-wide-open" | "diamond-wide-dot" | "diamond-wide-open-dot" | "hourglass" | "hourglass-open" | "bowtie" | "bowtie-open" | "circle-cross" | "circle-cross-open" | "circle-x" | "circle-x-open" | "square-cross" | "square-cross-open" | "square-x" | "square-x-open" | "diamond-cross" | "diamond-cross-open" | "diamond-x" | "diamond-x-open" | "cross-thin" | "cross-thin-open" | "x-thin" | "x-thin-open" | "asterisk" | "asterisk-open" | "hash" | "hash-open" | "hash-dot" | "hash-open-dot" | "y-up" | "y-up-open" | "y-down" | "y-down-open" | "y-left" | "y-left-open" | "y-right" | "y-right-open" | "line-ew" | "line-ew-open" | "line-ns" | "line-ns-open" | "line-ne" | "line-ne-open" | "line-nw" | "line-nw-open" | "arrow" | "arrow-open" | "arrow-wide" | "arrow-wide-open";
|
|
1935
|
-
|
|
1936
|
-
declare type MarkerSymbol_2 = "circle" | "square" | "diamond" | "triangle-up" | "triangle-down" | "star";
|
|
1937
|
-
|
|
1938
|
-
export declare function Menubar({ className, ...props }: React_2.ComponentProps<typeof Menubar_2.Root>): JSX.Element;
|
|
1939
|
-
|
|
1940
|
-
export declare function MenubarCheckboxItem({ className, children, checked, inset, ...props }: React_2.ComponentProps<typeof Menubar_2.CheckboxItem> & {
|
|
1941
|
-
inset?: boolean;
|
|
1942
|
-
}): JSX.Element;
|
|
1943
|
-
|
|
1944
|
-
export declare function MenubarContent({ className, align, alignOffset, sideOffset, ...props }: React_2.ComponentProps<typeof Menubar_2.Content>): JSX.Element;
|
|
1945
|
-
|
|
1946
|
-
export declare function MenubarGroup({ ...props }: React_2.ComponentProps<typeof Menubar_2.Group>): JSX.Element;
|
|
1947
|
-
|
|
1948
|
-
export declare function MenubarItem({ className, inset, variant, ...props }: React_2.ComponentProps<typeof Menubar_2.Item> & {
|
|
1949
|
-
inset?: boolean;
|
|
1950
|
-
variant?: "default" | "destructive";
|
|
1951
|
-
}): JSX.Element;
|
|
1952
|
-
|
|
1953
|
-
export declare function MenubarLabel({ className, inset, ...props }: React_2.ComponentProps<typeof Menubar_2.Label> & {
|
|
1954
|
-
inset?: boolean;
|
|
1955
|
-
}): JSX.Element;
|
|
1956
|
-
|
|
1957
|
-
export declare function MenubarMenu({ ...props }: React_2.ComponentProps<typeof Menubar_2.Menu>): JSX.Element;
|
|
1958
|
-
|
|
1959
|
-
export declare function MenubarPortal({ ...props }: React_2.ComponentProps<typeof Menubar_2.Portal>): JSX.Element;
|
|
1960
|
-
|
|
1961
|
-
export declare function MenubarRadioGroup({ ...props }: React_2.ComponentProps<typeof Menubar_2.RadioGroup>): JSX.Element;
|
|
1962
|
-
|
|
1963
|
-
export declare function MenubarRadioItem({ className, children, inset, ...props }: React_2.ComponentProps<typeof Menubar_2.RadioItem> & {
|
|
1964
|
-
inset?: boolean;
|
|
1965
|
-
}): JSX.Element;
|
|
1966
|
-
|
|
1967
|
-
export declare function MenubarSeparator({ className, ...props }: React_2.ComponentProps<typeof Menubar_2.Separator>): JSX.Element;
|
|
1968
|
-
|
|
1969
|
-
export declare function MenubarShortcut({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
|
|
1970
|
-
|
|
1971
|
-
export declare function MenubarSub({ ...props }: React_2.ComponentProps<typeof Menubar_2.Sub>): JSX.Element;
|
|
1972
|
-
|
|
1973
|
-
export declare function MenubarSubContent({ className, ...props }: React_2.ComponentProps<typeof Menubar_2.SubContent>): JSX.Element;
|
|
1974
|
-
|
|
1975
|
-
export declare function MenubarSubTrigger({ className, inset, children, ...props }: React_2.ComponentProps<typeof Menubar_2.SubTrigger> & {
|
|
1976
|
-
inset?: boolean;
|
|
1977
|
-
}): JSX.Element;
|
|
1978
|
-
|
|
1979
|
-
export declare function MenubarTrigger({ className, ...props }: React_2.ComponentProps<typeof Menubar_2.Trigger>): JSX.Element;
|
|
1980
|
-
|
|
1981
|
-
export declare const Message: ({ className, from, ...props }: MessageProps) => JSX.Element;
|
|
1982
|
-
|
|
1983
|
-
export declare const MessageAction: ({ tooltip, children, label, variant, size, ...props }: MessageActionProps) => JSX.Element;
|
|
1984
|
-
|
|
1985
|
-
export declare type MessageActionProps = ComponentProps<typeof Button> & {
|
|
1986
|
-
tooltip?: string;
|
|
1987
|
-
label?: string;
|
|
1988
|
-
};
|
|
1989
|
-
|
|
1990
|
-
export declare const MessageActions: ({ className, children, ...props }: MessageActionsProps) => JSX.Element;
|
|
1991
|
-
|
|
1992
|
-
export declare type MessageActionsProps = ComponentProps<"div">;
|
|
1993
|
-
|
|
1994
|
-
export declare const MessageBranch: ({ defaultBranch, onBranchChange, className, ...props }: MessageBranchProps) => JSX.Element;
|
|
1995
|
-
|
|
1996
|
-
export declare const MessageBranchContent: ({ children, ...props }: MessageBranchContentProps) => JSX.Element[];
|
|
1997
|
-
|
|
1998
|
-
export declare type MessageBranchContentProps = HTMLAttributes<HTMLDivElement>;
|
|
1999
|
-
|
|
2000
|
-
export declare const MessageBranchNext: ({ children, ...props }: MessageBranchNextProps) => JSX.Element;
|
|
2001
|
-
|
|
2002
|
-
export declare type MessageBranchNextProps = ComponentProps<typeof Button>;
|
|
2003
|
-
|
|
2004
|
-
export declare const MessageBranchPage: ({ className, ...props }: MessageBranchPageProps) => JSX.Element;
|
|
2005
|
-
|
|
2006
|
-
export declare type MessageBranchPageProps = HTMLAttributes<HTMLSpanElement>;
|
|
2007
|
-
|
|
2008
|
-
export declare const MessageBranchPrevious: ({ children, ...props }: MessageBranchPreviousProps) => JSX.Element;
|
|
2009
|
-
|
|
2010
|
-
export declare type MessageBranchPreviousProps = ComponentProps<typeof Button>;
|
|
2011
|
-
|
|
2012
|
-
export declare type MessageBranchProps = HTMLAttributes<HTMLDivElement> & {
|
|
2013
|
-
defaultBranch?: number;
|
|
2014
|
-
onBranchChange?: (branchIndex: number) => void;
|
|
2015
|
-
};
|
|
2016
|
-
|
|
2017
|
-
export declare const MessageBranchSelector: ({ className, ...props }: MessageBranchSelectorProps) => JSX.Element | null;
|
|
2018
|
-
|
|
2019
|
-
export declare type MessageBranchSelectorProps = ComponentProps<typeof ButtonGroup>;
|
|
2020
|
-
|
|
2021
|
-
export declare const MessageContent: ({ children, className, ...props }: MessageContentProps) => JSX.Element;
|
|
2022
|
-
|
|
2023
|
-
export declare type MessageContentProps = HTMLAttributes<HTMLDivElement>;
|
|
2024
|
-
|
|
2025
|
-
export declare type MessageProps = HTMLAttributes<HTMLDivElement> & {
|
|
2026
|
-
from: UIMessage["role"];
|
|
2027
|
-
};
|
|
2028
|
-
|
|
2029
|
-
export declare const MessageResponse: MemoExoticComponent<({ className, ...props }: MessageResponseProps) => JSX.Element>;
|
|
2030
|
-
|
|
2031
|
-
export declare type MessageResponseProps = ComponentProps<typeof Streamdown>;
|
|
2032
|
-
|
|
2033
|
-
export declare const messagesToMarkdown: (messages: UIMessage[], formatMessage?: (message: UIMessage, index: number) => string) => string;
|
|
2034
|
-
|
|
2035
|
-
export declare const MessageToolbar: ({ className, children, ...props }: MessageToolbarProps) => JSX.Element;
|
|
2036
|
-
|
|
2037
|
-
export declare type MessageToolbarProps = ComponentProps<"div">;
|
|
2038
|
-
|
|
2039
|
-
export declare const ModelSelector: (props: ModelSelectorProps) => JSX.Element;
|
|
2040
|
-
|
|
2041
|
-
export declare const ModelSelectorContent: ({ className, children, title, ...props }: ModelSelectorContentProps) => JSX.Element;
|
|
2042
|
-
|
|
2043
|
-
export declare type ModelSelectorContentProps = ComponentProps<typeof DialogContent> & {
|
|
2044
|
-
title?: ReactNode;
|
|
2045
|
-
};
|
|
2046
|
-
|
|
2047
|
-
export declare const ModelSelectorDialog: (props: ModelSelectorDialogProps) => JSX.Element;
|
|
2048
|
-
|
|
2049
|
-
export declare type ModelSelectorDialogProps = ComponentProps<typeof CommandDialog>;
|
|
2050
|
-
|
|
2051
|
-
export declare const ModelSelectorEmpty: (props: ModelSelectorEmptyProps) => JSX.Element;
|
|
2052
|
-
|
|
2053
|
-
export declare type ModelSelectorEmptyProps = ComponentProps<typeof CommandEmpty>;
|
|
2054
|
-
|
|
2055
|
-
export declare const ModelSelectorGroup: (props: ModelSelectorGroupProps) => JSX.Element;
|
|
2056
|
-
|
|
2057
|
-
export declare type ModelSelectorGroupProps = ComponentProps<typeof CommandGroup>;
|
|
2058
|
-
|
|
2059
|
-
export declare const ModelSelectorInput: ({ className, ...props }: ModelSelectorInputProps) => JSX.Element;
|
|
2060
|
-
|
|
2061
|
-
export declare type ModelSelectorInputProps = ComponentProps<typeof CommandInput>;
|
|
2062
|
-
|
|
2063
|
-
export declare const ModelSelectorItem: (props: ModelSelectorItemProps) => JSX.Element;
|
|
2064
|
-
|
|
2065
|
-
export declare type ModelSelectorItemProps = ComponentProps<typeof CommandItem>;
|
|
2066
|
-
|
|
2067
|
-
export declare const ModelSelectorList: (props: ModelSelectorListProps) => JSX.Element;
|
|
2068
|
-
|
|
2069
|
-
export declare type ModelSelectorListProps = ComponentProps<typeof CommandList>;
|
|
2070
|
-
|
|
2071
|
-
export declare const ModelSelectorLogo: ({ provider, className, ...props }: ModelSelectorLogoProps) => JSX.Element;
|
|
2072
|
-
|
|
2073
|
-
export declare const ModelSelectorLogoGroup: ({ className, ...props }: ModelSelectorLogoGroupProps) => JSX.Element;
|
|
2074
|
-
|
|
2075
|
-
export declare type ModelSelectorLogoGroupProps = ComponentProps<"div">;
|
|
2076
|
-
|
|
2077
|
-
export declare type ModelSelectorLogoProps = Omit<ComponentProps<"img">, "src" | "alt"> & {
|
|
2078
|
-
provider: "moonshotai-cn" | "lucidquery" | "moonshotai" | "zai-coding-plan" | "alibaba" | "xai" | "vultr" | "nvidia" | "upstage" | "groq" | "github-copilot" | "mistral" | "vercel" | "nebius" | "deepseek" | "alibaba-cn" | "google-vertex-anthropic" | "venice" | "chutes" | "cortecs" | "github-models" | "togetherai" | "azure" | "baseten" | "huggingface" | "opencode" | "fastrouter" | "google" | "google-vertex" | "cloudflare-workers-ai" | "inception" | "wandb" | "openai" | "zhipuai-coding-plan" | "perplexity" | "openrouter" | "zenmux" | "v0" | "iflowcn" | "synthetic" | "deepinfra" | "zhipuai" | "submodel" | "zai" | "inference" | "requesty" | "morph" | "lmstudio" | "anthropic" | "aihubmix" | "fireworks-ai" | "modelscope" | "llama" | "scaleway" | "amazon-bedrock" | "cerebras" | (string & {});
|
|
2079
|
-
};
|
|
2080
|
-
|
|
2081
|
-
export declare const ModelSelectorName: ({ className, ...props }: ModelSelectorNameProps) => JSX.Element;
|
|
2082
|
-
|
|
2083
|
-
export declare type ModelSelectorNameProps = ComponentProps<"span">;
|
|
2084
|
-
|
|
2085
|
-
export declare type ModelSelectorProps = ComponentProps<typeof Dialog>;
|
|
2086
|
-
|
|
2087
|
-
export declare const ModelSelectorSeparator: (props: ModelSelectorSeparatorProps) => JSX.Element;
|
|
2088
|
-
|
|
2089
|
-
export declare type ModelSelectorSeparatorProps = ComponentProps<typeof CommandSeparator>;
|
|
2090
|
-
|
|
2091
|
-
export declare const ModelSelectorShortcut: ({ className, ...props }: ModelSelectorShortcutProps) => JSX.Element;
|
|
2092
|
-
|
|
2093
|
-
export declare type ModelSelectorShortcutProps = ComponentProps<typeof Kbd>;
|
|
2094
|
-
|
|
2095
|
-
export declare const ModelSelectorTrigger: (props: ModelSelectorTriggerProps) => JSX.Element;
|
|
2096
|
-
|
|
2097
|
-
export declare type ModelSelectorTriggerProps = ComponentProps<typeof DialogTrigger>;
|
|
2098
|
-
|
|
2099
|
-
export declare interface NavGroup {
|
|
2100
|
-
/** Optional group label shown as a section header in expanded nav */
|
|
2101
|
-
label?: string;
|
|
2102
|
-
/** Page entries in this group */
|
|
2103
|
-
pages: NavPage[];
|
|
2104
|
-
}
|
|
2105
|
-
|
|
2106
|
-
/**
|
|
2107
|
-
* Navigate to a TDP URL.
|
|
2108
|
-
*
|
|
2109
|
-
* - `{ newTab: true }` opens the URL in a new browser tab.
|
|
2110
|
-
* - Default: sends a `postMessage` to the parent TDP frame (same-tab navigation
|
|
2111
|
-
* when inside an iframe), or navigates the current window (standalone).
|
|
2112
|
-
*
|
|
2113
|
-
* @param url - Full TDP URL to navigate to
|
|
2114
|
-
* @param options - Navigation options
|
|
2115
|
-
*/
|
|
2116
|
-
export declare function navigateToTdpUrl(url: string, options?: TdpNavigationOptions): void;
|
|
2117
|
-
|
|
2118
|
-
export declare function NavigationMenu({ className, children, viewport, ...props }: React_2.ComponentProps<typeof NavigationMenu_2.Root> & {
|
|
2119
|
-
viewport?: boolean;
|
|
2120
|
-
}): JSX.Element;
|
|
2121
|
-
|
|
2122
|
-
export declare function NavigationMenuContent({ className, ...props }: React_2.ComponentProps<typeof NavigationMenu_2.Content>): JSX.Element;
|
|
2123
|
-
|
|
2124
|
-
export declare function NavigationMenuIndicator({ className, ...props }: React_2.ComponentProps<typeof NavigationMenu_2.Indicator>): JSX.Element;
|
|
2125
|
-
|
|
2126
|
-
export declare function NavigationMenuItem({ className, ...props }: React_2.ComponentProps<typeof NavigationMenu_2.Item>): JSX.Element;
|
|
2127
|
-
|
|
2128
|
-
export declare function NavigationMenuLink({ className, ...props }: React_2.ComponentProps<typeof NavigationMenu_2.Link>): JSX.Element;
|
|
2129
|
-
|
|
2130
|
-
export declare function NavigationMenuList({ className, ...props }: React_2.ComponentProps<typeof NavigationMenu_2.List>): JSX.Element;
|
|
2131
|
-
|
|
2132
|
-
export declare function NavigationMenuTrigger({ className, children, ...props }: React_2.ComponentProps<typeof NavigationMenu_2.Trigger>): JSX.Element;
|
|
2133
|
-
|
|
2134
|
-
export declare const navigationMenuTriggerStyle: (props?: ClassProp | undefined) => string;
|
|
2135
|
-
|
|
2136
|
-
export declare function NavigationMenuViewport({ className, ...props }: React_2.ComponentProps<typeof NavigationMenu_2.Viewport>): JSX.Element;
|
|
2137
|
-
|
|
2138
|
-
export declare interface NavPage {
|
|
2139
|
-
/** Unique identifier */
|
|
2140
|
-
id: string;
|
|
2141
|
-
/** Display label */
|
|
2142
|
-
label: string;
|
|
2143
|
-
/** Lucide icon or custom React SVG component */
|
|
2144
|
-
icon?: LucideIcon | React_2.FC<React_2.SVGProps<SVGSVGElement>>;
|
|
2145
|
-
/** Whether this page is currently active */
|
|
2146
|
-
isActive?: boolean;
|
|
2147
|
-
/** Click handler */
|
|
2148
|
-
onClick?: () => void;
|
|
2149
|
-
}
|
|
2150
|
-
|
|
2151
|
-
export declare function parsePos(id: WellId, dims: PlateDimensions): {
|
|
2152
|
-
row: number;
|
|
2153
|
-
col: number;
|
|
2154
|
-
} | null;
|
|
2155
|
-
|
|
2156
|
-
export declare function parseRowLabel(label: string): number;
|
|
2157
|
-
|
|
2158
|
-
/**
|
|
2159
|
-
* Peak annotation for labeling peaks on the chromatogram.
|
|
2160
|
-
* Used for both user-provided annotations and auto-detected peaks.
|
|
2161
|
-
*/
|
|
2162
|
-
export declare interface PeakAnnotation {
|
|
2163
|
-
/** Retention time of the peak (x-axis position) */
|
|
2164
|
-
x: number;
|
|
2165
|
-
/** Signal intensity at peak (y-axis position) */
|
|
2166
|
-
y: number;
|
|
2167
|
-
/** Label text (e.g., compound name). If not provided, auto-generated from computed area. */
|
|
2168
|
-
text?: string;
|
|
2169
|
-
/** Vertical arrow offset in pixels (negative = above peak, default: -30) */
|
|
2170
|
-
ay?: number;
|
|
2171
|
-
/** Horizontal arrow offset in pixels (default: 0) */
|
|
2172
|
-
ax?: number;
|
|
2173
|
-
/** Start retention time for peak boundary */
|
|
2174
|
-
startX?: number;
|
|
2175
|
-
/** End retention time for peak boundary */
|
|
2176
|
-
endX?: number;
|
|
2177
|
-
/** Marker style for start boundary (default: "triangle") */
|
|
2178
|
-
startMarker?: BoundaryMarkerType;
|
|
2179
|
-
/** Marker style for end boundary (default: "diamond") */
|
|
2180
|
-
endMarker?: BoundaryMarkerType;
|
|
2181
|
-
/* Excluded from this release type: _computed */
|
|
2182
|
-
}
|
|
2183
|
-
|
|
2184
|
-
/* Excluded from this release type: PeakComputedFields */
|
|
2185
|
-
|
|
2186
|
-
export declare interface PeakData {
|
|
2187
|
-
position: number;
|
|
2188
|
-
base?: string;
|
|
2189
|
-
peakA: number;
|
|
2190
|
-
peakT: number;
|
|
2191
|
-
peakG: number;
|
|
2192
|
-
peakC: number;
|
|
2193
|
-
}
|
|
2194
|
-
|
|
2195
|
-
/**
|
|
2196
|
-
* Peak detection algorithm options
|
|
2197
|
-
*/
|
|
2198
|
-
export declare interface PeakDetectionOptions {
|
|
2199
|
-
/** Minimum peak height threshold (absolute or relative to max, default: 0.05) */
|
|
2200
|
-
minHeight?: number;
|
|
2201
|
-
/** Minimum distance between peaks in data points (default: 5) */
|
|
2202
|
-
minDistance?: number;
|
|
2203
|
-
/** Prominence threshold - how much a peak stands out from neighbors (default: 0.02) */
|
|
2204
|
-
prominence?: number;
|
|
2205
|
-
/** Use relative threshold as percentage of max signal (default: true) */
|
|
2206
|
-
relativeThreshold?: boolean;
|
|
2207
|
-
}
|
|
2208
|
-
|
|
2209
|
-
export declare const PieChart: default_2.FC<PieChartProps>;
|
|
2210
|
-
|
|
2211
|
-
export declare type PieChartProps = {
|
|
2212
|
-
dataSeries: PieDataSeries;
|
|
2213
|
-
width?: number;
|
|
2214
|
-
height?: number;
|
|
2215
|
-
title?: string;
|
|
2216
|
-
textInfo?: PieTextInfo;
|
|
2217
|
-
hole?: number;
|
|
2218
|
-
rotation?: number;
|
|
2219
|
-
};
|
|
2220
|
-
|
|
2221
|
-
export declare interface PieDataSeries {
|
|
2222
|
-
labels: string[];
|
|
2223
|
-
values: number[];
|
|
2224
|
-
name: string;
|
|
2225
|
-
colors?: string[];
|
|
2226
|
-
}
|
|
2227
|
-
|
|
2228
|
-
export declare type PieTextInfo = "none" | "label" | "percent" | "value" | "label+percent" | "label+value" | "value+percent" | "label+value+percent";
|
|
2229
|
-
|
|
2230
|
-
declare const PLATE_FORMAT_1536: "1536";
|
|
2231
|
-
|
|
2232
|
-
declare const PLATE_FORMAT_384: "384";
|
|
2233
|
-
|
|
2234
|
-
/**
|
|
2235
|
-
* Plate format string constants for standard microplate configurations.
|
|
2236
|
-
*/
|
|
2237
|
-
declare const PLATE_FORMAT_96: "96";
|
|
2238
|
-
|
|
2239
|
-
declare const PLATE_FORMAT_CUSTOM: "custom";
|
|
2240
|
-
|
|
2241
|
-
export declare interface PlateDimensions {
|
|
2242
|
-
rows: number;
|
|
2243
|
-
columns: number;
|
|
2244
|
-
}
|
|
2245
|
-
|
|
2246
|
-
/**
|
|
2247
|
-
* Plate format presets for standard microplate configurations.
|
|
2248
|
-
* - `"96"`: 8 rows × 12 columns (wells A1-H12)
|
|
2249
|
-
* - `"384"`: 16 rows × 24 columns (wells A1-P24)
|
|
2250
|
-
* - `"1536"`: 32 rows × 48 columns (wells A1-AF48)
|
|
2251
|
-
* - `"custom"`: User-defined dimensions via `rows` and `columns` props
|
|
2252
|
-
*/
|
|
2253
|
-
export declare type PlateFormat = typeof PLATE_FORMAT_96 | typeof PLATE_FORMAT_384 | typeof PLATE_FORMAT_1536 | typeof PLATE_FORMAT_CUSTOM;
|
|
2254
|
-
|
|
2255
|
-
/**
|
|
2256
|
-
* PlateMap component for visualizing well plate data as a heatmap or categorical display.
|
|
2257
|
-
*
|
|
2258
|
-
* **Supported Plate Formats:**
|
|
2259
|
-
* - 96-well (8 rows × 12 columns, wells A1-H12)
|
|
2260
|
-
* - 384-well (16 rows × 24 columns, wells A1-P24)
|
|
2261
|
-
* - 1536-well (32 rows × 48 columns, wells A1-AF48)
|
|
2262
|
-
* - Custom dimensions with user-specified rows/columns
|
|
2263
|
-
*
|
|
2264
|
-
* **Visualization Modes:**
|
|
2265
|
-
* - `"heatmap"`: Continuous color gradient for quantitative values
|
|
2266
|
-
* - `"categorical"`: Discrete colors for well types (sample, control, empty)
|
|
2267
|
-
*
|
|
2268
|
-
* **Features:**
|
|
2269
|
-
* - Multiple data layers with independent visualization settings
|
|
2270
|
-
* - Control region highlighting with borders and fill colors
|
|
2271
|
-
* - Configurable color scales, tooltips, and click interactions
|
|
2272
|
-
* - Support for WellData arrays with multi-layer visualization
|
|
2273
|
-
*
|
|
2274
|
-
* **Data Format:**
|
|
2275
|
-
* - **WellData array**: `[{ wellId: "A1", values: { RFU: 100 }, tooltipData: {...} }, ...]`
|
|
2276
|
-
*
|
|
2277
|
-
*/
|
|
2278
|
-
export declare const PlateMap: default_2.FC<PlateMapProps>;
|
|
2279
|
-
|
|
2280
|
-
export declare function PlateMapActionsMenu({ templates, templateId, onTemplateChange, onClearTemplate, hasEntries, onImportCsv, onExportCsv, onImportTemplate, onExportTemplate, label, align, side, csvAccept, templateAccept, importTemplateLabel, exportTemplateLabel, importCsvLabel, exportCsvLabel, clearLabel, className, }: PlateMapActionsMenuProps): JSX.Element | null;
|
|
2281
|
-
|
|
2282
|
-
export declare interface PlateMapActionsMenuProps extends ImportExportHandlers {
|
|
2283
|
-
templates?: TemplateOption[];
|
|
2284
|
-
templateId?: string;
|
|
2285
|
-
onTemplateChange?: (id: string) => void;
|
|
2286
|
-
onClearTemplate?: () => void;
|
|
2287
|
-
/** Disable export/save actions when there is nothing to export. */
|
|
2288
|
-
hasEntries?: boolean;
|
|
2289
|
-
label?: React_2.ReactNode;
|
|
2290
|
-
align?: "start" | "center" | "end";
|
|
2291
|
-
side?: "top" | "right" | "bottom" | "left";
|
|
2292
|
-
csvAccept?: string;
|
|
2293
|
-
templateAccept?: string;
|
|
2294
|
-
importTemplateLabel?: string;
|
|
2295
|
-
exportTemplateLabel?: string;
|
|
2296
|
-
importCsvLabel?: string;
|
|
2297
|
-
exportCsvLabel?: string;
|
|
2298
|
-
clearLabel?: string;
|
|
2299
|
-
className?: string;
|
|
2300
|
-
}
|
|
2301
|
-
|
|
2302
|
-
export declare interface PlateMapCsvPlate {
|
|
2303
|
-
/** User-provided plate barcode used as the selectable plate id. */
|
|
2304
|
-
id: string;
|
|
2305
|
-
barcode: string;
|
|
2306
|
-
rows: PlateMapCsvRow[];
|
|
2307
|
-
rowCount: number;
|
|
2308
|
-
}
|
|
2309
|
-
|
|
2310
|
-
export declare interface PlateMapCsvRow {
|
|
2311
|
-
/** 1-based CSV line number, including the header line. */
|
|
2312
|
-
line: number;
|
|
2313
|
-
values: Record<string, string>;
|
|
2314
|
-
}
|
|
2315
|
-
|
|
2316
|
-
export declare interface PlateMapCsvTriage {
|
|
2317
|
-
headers: string[];
|
|
2318
|
-
/** Resolved header name for the plate barcode column, when present. */
|
|
2319
|
-
plateBarcodeColumn?: string;
|
|
2320
|
-
rows: PlateMapCsvRow[];
|
|
2321
|
-
plates: PlateMapCsvPlate[];
|
|
2322
|
-
/** Rows missing a barcode. The editor does not create fallback barcodes. */
|
|
2323
|
-
missingBarcodeRows: PlateMapCsvRow[];
|
|
2324
|
-
}
|
|
2325
|
-
|
|
2326
|
-
export declare interface PlateMapCsvTriageOptions {
|
|
2327
|
-
/** Exact column name to use before trying aliases. */
|
|
2328
|
-
plateBarcodeColumn?: string;
|
|
2329
|
-
/** Additional accepted names for the plate barcode column. */
|
|
2330
|
-
plateBarcodeColumnAliases?: readonly string[];
|
|
2331
|
-
}
|
|
2332
|
-
|
|
2333
|
-
export declare function PlateMapEditor<T extends WellRecord = WellRecord>({ format, rows, columns, values, onChange, selection, onSelectionChange, fields, tableColumns, colorForWell, emptyEntry, mergeOnApply, isPopulated, cycleFieldOnWellDoubleClick, title, badges, banner, legend, formExtras, formSlot, footer, plateTitle, plateToolbar, plates, activePlateId, onPlateChange, onAddPlate, onRemovePlate, addPlateLabel, removePlateLabel, plateSelectorLabel, plateSelectorVariant, plateBarcodeField, plateBarcodeColumnHeader, hidePlateBarcodeColumn, groups, activeGroupId, onGroupClick, renderHoverSummary, cellSize, emptyWellFillColor, wellShape, framedPlate, wrapWell, highlightedWellIds, onHoveredWellChange, manifestFilterable, manifestGroupable, autoScaleGrid, minCellSize, maxCellSize, className, templates, templateId, onTemplateChange, onClearTemplate, onImportCsv, onExportCsv, onImportTemplate, onExportTemplate, csvAccept, templateAccept, label, align, side, importTemplateLabel, exportTemplateLabel, importCsvLabel, exportCsvLabel, clearLabel, }: PlateMapEditorProps<T>): JSX.Element;
|
|
2334
|
-
|
|
2335
|
-
export declare interface PlateMapEditorProps<T extends WellRecord = WellRecord> extends Omit<PlateMapActionsMenuProps, "hasEntries" | "className"> {
|
|
2336
|
-
format: PlateFormat;
|
|
2337
|
-
rows?: number;
|
|
2338
|
-
columns?: number;
|
|
2339
|
-
values: Map<WellId, T>;
|
|
2340
|
-
onChange: (next: Map<WellId, T>) => void;
|
|
2341
|
-
selection: Set<WellId>;
|
|
2342
|
-
onSelectionChange: (next: Set<WellId>) => void;
|
|
2343
|
-
fields: WellField<T>[];
|
|
2344
|
-
tableColumns: WellColumn<T>[];
|
|
2345
|
-
/** Resolves the SVG fill color for a well. */
|
|
2346
|
-
colorForWell: (well: T | undefined, wellId: WellId) => string;
|
|
2347
|
-
/** Builds an empty record when a well is freshly created. */
|
|
2348
|
-
emptyEntry: (wellId: WellId) => T;
|
|
2349
|
-
/**
|
|
2350
|
-
* Merges the staged form record onto an existing well record on Apply.
|
|
2351
|
-
* Defaults to a shallow merge (form keys overwrite existing keys when set).
|
|
2352
|
-
*/
|
|
2353
|
-
mergeOnApply?: (existing: T | undefined, staged: Partial<T>, wellId: WellId) => T;
|
|
2354
|
-
/** Filter for the manifest's "hide empty" mode. */
|
|
2355
|
-
isPopulated?: (row: T) => boolean;
|
|
2356
|
-
/** Select field cycled when double-clicking a single well, e.g. role painting. */
|
|
2357
|
-
cycleFieldOnWellDoubleClick?: keyof T & string;
|
|
2358
|
-
/** Optional header title (e.g. plate set name). */
|
|
2359
|
-
title?: string;
|
|
2360
|
-
/** Optional badges shown in the header next to the title. */
|
|
2361
|
-
badges?: React_2.ReactNode;
|
|
2362
|
-
/** Optional banner (e.g. import/error alert) shown above the layout. */
|
|
2363
|
-
banner?: React_2.ReactNode;
|
|
2364
|
-
/** Legend block rendered under the form column. */
|
|
2365
|
-
legend?: React_2.ReactNode;
|
|
2366
|
-
/** Form helper slot rendered between fields and the action row. */
|
|
2367
|
-
formExtras?: React_2.ReactNode;
|
|
2368
|
-
/**
|
|
2369
|
-
* Fully replaces the left column. When set, the built-in `WellMetadataForm`
|
|
2370
|
-
* is omitted — use this for alternative workflows like a drag-and-drop
|
|
2371
|
-
* source palette. The legend slot still renders beneath the replacement.
|
|
2372
|
-
*/
|
|
2373
|
-
formSlot?: React_2.ReactNode;
|
|
2374
|
-
/** Footer actions (e.g. Save, Back). */
|
|
2375
|
-
footer?: React_2.ReactNode;
|
|
2376
|
-
/** Title for the plate grid panel. */
|
|
2377
|
-
plateTitle?: React_2.ReactNode;
|
|
2378
|
-
/** Optional controls shown next to the built-in actions menu. */
|
|
2379
|
-
plateToolbar?: React_2.ReactNode;
|
|
2380
|
-
/** User-provided plates available for this editor. Barcodes are never generated by the editor. */
|
|
2381
|
-
plates?: PlateMapPlateOption[];
|
|
2382
|
-
activePlateId?: string;
|
|
2383
|
-
onPlateChange?: (plateId: string) => void;
|
|
2384
|
-
/** Opens the host app's manual barcode entry flow for creating a plate. */
|
|
2385
|
-
onAddPlate?: () => void;
|
|
2386
|
-
/** Removes a plate (typically when using `plateSelectorVariant="tabs"`). */
|
|
2387
|
-
onRemovePlate?: (plateId: string) => void;
|
|
2388
|
-
addPlateLabel?: string;
|
|
2389
|
-
removePlateLabel?: string;
|
|
2390
|
-
plateSelectorLabel?: string;
|
|
2391
|
-
/** Layout of the plate selector. Defaults to `"dropdown"`. */
|
|
2392
|
-
plateSelectorVariant?: PlateMapPlateSelectorVariant;
|
|
2393
|
-
/** Row field used to stamp the active user-provided barcode onto edited wells. Defaults to `plateBarcode`. */
|
|
2394
|
-
plateBarcodeField?: keyof T & string;
|
|
2395
|
-
/** Header for the automatic manifest barcode column. */
|
|
2396
|
-
plateBarcodeColumnHeader?: string;
|
|
2397
|
-
/** Hide the automatic manifest barcode column when plate-scoped editing is active. */
|
|
2398
|
-
hidePlateBarcodeColumn?: boolean;
|
|
2399
|
-
/** Optional grouped well shortcuts rendered under the grid. */
|
|
2400
|
-
groups?: PlateMapGroupOption[];
|
|
2401
|
-
activeGroupId?: string;
|
|
2402
|
-
onGroupClick?: (group: PlateMapGroupOption) => void;
|
|
2403
|
-
/** Custom hover summary for the strip above the grid. */
|
|
2404
|
-
renderHoverSummary?: (well: T | undefined, wellId: WellId) => React_2.ReactNode;
|
|
2405
|
-
/** Fixed well size. When unset, the grid grows with the available width. */
|
|
2406
|
-
cellSize?: number;
|
|
2407
|
-
/** Fill color for empty wells. Pass `null` to delegate empty wells to `colorForWell`. */
|
|
2408
|
-
emptyWellFillColor?: string | null;
|
|
2409
|
-
/** Well shape forwarded to `PlatePaintGrid`. Defaults to `"rect"`. */
|
|
2410
|
-
wellShape?: WellShape;
|
|
2411
|
-
/** When true, wraps the grid in a card-like plate frame (rounded + border + soft shadow). */
|
|
2412
|
-
framedPlate?: boolean;
|
|
2413
|
-
/**
|
|
2414
|
-
* Forwarded to `PlatePaintGrid`. Render-prop that places a node inside each
|
|
2415
|
-
* absolute-positioned well cell — used to wire drop targets without binding
|
|
2416
|
-
* the kit to a specific DnD library.
|
|
2417
|
-
*/
|
|
2418
|
-
wrapWell?: (wellId: WellId, cellSize: number) => React_2.ReactNode;
|
|
2419
|
-
/** Wells to highlight (e.g. when hovering a legend item externally). */
|
|
2420
|
-
highlightedWellIds?: ReadonlySet<WellId>;
|
|
2421
|
-
/** Fires whenever the currently hovered well changes (null on leave). */
|
|
2422
|
-
onHoveredWellChange?: (wellId: WellId | null) => void;
|
|
2423
|
-
/** Enables the filter popover on the manifest table. */
|
|
2424
|
-
manifestFilterable?: boolean;
|
|
2425
|
-
/** Enables the group-by selector on the manifest table. */
|
|
2426
|
-
manifestGroupable?: boolean;
|
|
2427
|
-
autoScaleGrid?: boolean;
|
|
2428
|
-
minCellSize?: number;
|
|
2429
|
-
maxCellSize?: number;
|
|
2430
|
-
className?: string;
|
|
2431
|
-
}
|
|
2432
|
-
|
|
2433
|
-
/**
|
|
2434
|
-
* Card-agnostic metadata form panel. Renders the staged-value form (or a
|
|
2435
|
-
* caller-supplied `formSlot`) plus an optional legend. Bring your own
|
|
2436
|
-
* container — drop it bare into a sidebar, wrap it in a `Card`, or stack it
|
|
2437
|
-
* above the grid.
|
|
2438
|
-
*/
|
|
2439
|
-
export declare function PlateMapForm<T extends WellRecord = WellRecord>({ fields, value, onChange, selectionSize, onApply, onClear, applyLabel, clearLabel, extras, legend, formSlot, className, }: PlateMapFormProps<T>): JSX.Element;
|
|
2440
|
-
|
|
2441
|
-
export declare interface PlateMapFormProps<T extends WellRecord = WellRecord> {
|
|
2442
|
-
fields: WellField<T>[];
|
|
2443
|
-
/** Staged values applied across the current selection on Apply. */
|
|
2444
|
-
value: Partial<T>;
|
|
2445
|
-
onChange: (next: Partial<T>) => void;
|
|
2446
|
-
selectionSize: number;
|
|
2447
|
-
onApply: () => void;
|
|
2448
|
-
onClear: () => void;
|
|
2449
|
-
applyLabel?: string;
|
|
2450
|
-
clearLabel?: string;
|
|
2451
|
-
/** Helper slot rendered between the fields and the action row. */
|
|
2452
|
-
extras?: React_2.ReactNode;
|
|
2453
|
-
/** Legend block rendered beneath the form, separated by a divider. */
|
|
2454
|
-
legend?: React_2.ReactNode;
|
|
2455
|
-
/**
|
|
2456
|
-
* Fully replaces the built-in `WellMetadataForm` — e.g. a drag-and-drop
|
|
2457
|
-
* source palette. The legend slot still renders beneath the replacement.
|
|
2458
|
-
*/
|
|
2459
|
-
formSlot?: React_2.ReactNode;
|
|
2460
|
-
className?: string;
|
|
2461
|
-
}
|
|
2462
|
-
|
|
2463
|
-
/**
|
|
2464
|
-
* Card-agnostic plate grid panel. Renders the selection toolbar, hover
|
|
2465
|
-
* summary, the interactive `PlatePaintGrid`, and optional group shortcuts —
|
|
2466
|
-
* and owns the ephemeral hover state internally. The plate title, plate
|
|
2467
|
-
* selector, and actions menu are intentionally NOT part of this panel; compose
|
|
2468
|
-
* `PlateMapPlateSelector` and `PlateMapActionsMenu` around it for full layout
|
|
2469
|
-
* freedom.
|
|
2470
|
-
*/
|
|
2471
|
-
export declare function PlateMapGrid<T extends WellRecord = WellRecord>({ format, rows, columns, values, selection, onSelectionChange, colorForWell, fields, renderHoverSummary, onHoveredWellChange, hoveredWellId, toolbar, hideSelectionControls, selectAllLabel, deselectAllLabel, emptyWellFillColor, wellShape, framed, wrapWell, highlightedWellIds, onWellDoubleClick, selectionFillMode, flashWellId, flashWellKey, cellSize, autoScale, minCellSize, maxCellSize, groups, activeGroupId, onGroupClick, className, }: PlateMapGridProps<T>): JSX.Element;
|
|
2472
|
-
|
|
2473
|
-
export declare interface PlateMapGridProps<T extends WellRecord = WellRecord> {
|
|
2474
|
-
format: PlateFormat;
|
|
2475
|
-
rows?: number;
|
|
2476
|
-
columns?: number;
|
|
2477
|
-
values: Map<WellId, T>;
|
|
2478
|
-
selection: Set<WellId>;
|
|
2479
|
-
onSelectionChange: (next: Set<WellId>) => void;
|
|
2480
|
-
/** Resolves the SVG fill color for a well. */
|
|
2481
|
-
colorForWell: (well: T | undefined, wellId: WellId) => string;
|
|
2482
|
-
/** Field schema used to build the default hover summary string. */
|
|
2483
|
-
fields?: WellField<T>[];
|
|
2484
|
-
/** Custom hover summary for the strip above the grid. */
|
|
2485
|
-
renderHoverSummary?: (well: T | undefined, wellId: WellId) => React_2.ReactNode;
|
|
2486
|
-
/** Fires whenever the currently hovered well changes (null on leave). */
|
|
2487
|
-
onHoveredWellChange?: (wellId: WellId | null) => void;
|
|
2488
|
-
/**
|
|
2489
|
-
* Controlled hovered well id. When provided, the panel reflects this value
|
|
2490
|
-
* instead of tracking hover internally — useful for syncing the hover
|
|
2491
|
-
* summary with external state (e.g. resetting it on a plate switch).
|
|
2492
|
-
*/
|
|
2493
|
-
hoveredWellId?: WellId | null;
|
|
2494
|
-
/** Controls rendered to the left of the built-in select/deselect links. */
|
|
2495
|
-
toolbar?: React_2.ReactNode;
|
|
2496
|
-
/** Hide the built-in "Select all" / "Deselect all" links. */
|
|
2497
|
-
hideSelectionControls?: boolean;
|
|
2498
|
-
selectAllLabel?: string;
|
|
2499
|
-
deselectAllLabel?: string;
|
|
2500
|
-
/** Fill color for empty wells. Pass `null` to delegate empty wells to `colorForWell`. */
|
|
2501
|
-
emptyWellFillColor?: string | null;
|
|
2502
|
-
/** Well shape forwarded to `PlatePaintGrid`. Defaults to `"rect"`. */
|
|
2503
|
-
wellShape?: WellShape;
|
|
2504
|
-
/** When true, wraps the grid in a card-like plate frame (rounded + border + soft shadow). */
|
|
2505
|
-
framed?: boolean;
|
|
2506
|
-
/** Render-prop that places a node inside each absolute-positioned well cell. */
|
|
2507
|
-
wrapWell?: (wellId: WellId, cellSize: number) => React_2.ReactNode;
|
|
2508
|
-
/** Wells to highlight (e.g. when hovering a legend item externally). */
|
|
2509
|
-
highlightedWellIds?: ReadonlySet<WellId>;
|
|
2510
|
-
onWellDoubleClick?: (wellId: WellId) => void;
|
|
2511
|
-
selectionFillMode?: "selection" | "well";
|
|
2512
|
-
flashWellId?: WellId;
|
|
2513
|
-
flashWellKey?: number;
|
|
2514
|
-
/** Fixed well size. When unset, the grid grows with the available width. */
|
|
2515
|
-
cellSize?: number;
|
|
2516
|
-
autoScale?: boolean;
|
|
2517
|
-
minCellSize?: number;
|
|
2518
|
-
maxCellSize?: number;
|
|
2519
|
-
/** Optional grouped well shortcuts rendered under the grid. */
|
|
2520
|
-
groups?: PlateMapGroupOption[];
|
|
2521
|
-
activeGroupId?: string;
|
|
2522
|
-
onGroupClick?: (group: PlateMapGroupOption) => void;
|
|
2523
|
-
className?: string;
|
|
2524
|
-
}
|
|
2525
|
-
|
|
2526
|
-
export declare interface PlateMapGroupOption {
|
|
2527
|
-
id: string;
|
|
2528
|
-
label: string;
|
|
2529
|
-
/** Well ids in the group; callers can use this to select the group. */
|
|
2530
|
-
wellIds?: WellId[];
|
|
2531
|
-
/** Optional explicit count; defaults to `wellIds.length` when present. */
|
|
2532
|
-
count?: number;
|
|
2533
|
-
color?: string;
|
|
2534
|
-
borderColor?: string;
|
|
2535
|
-
disabled?: boolean;
|
|
2536
|
-
}
|
|
2537
|
-
|
|
2538
|
-
/**
|
|
2539
|
-
* Card-agnostic sample-manifest panel. A thin wrapper over `WellManifestTable`
|
|
2540
|
-
* with an optional heading and no width constraint of its own, so it can span
|
|
2541
|
-
* the full screen width or sit inside any container the caller chooses.
|
|
2542
|
-
*/
|
|
2543
|
-
export declare function PlateMapManifest<T extends WellRecord = WellRecord>({ values, onChange, columns, fields, selection, onSelectionChange, emptyEntry, isPopulated, filterable, groupable, pageSize, pageSizeOptions, title, className, }: PlateMapManifestProps<T>): JSX.Element;
|
|
2544
|
-
|
|
2545
|
-
export declare interface PlateMapManifestProps<T extends WellRecord = WellRecord> {
|
|
2546
|
-
values: Map<WellId, T>;
|
|
2547
|
-
onChange: (next: Map<WellId, T>) => void;
|
|
2548
|
-
columns: WellColumn<T>[];
|
|
2549
|
-
fields?: WellField<T>[];
|
|
2550
|
-
selection?: Set<WellId>;
|
|
2551
|
-
onSelectionChange?: (next: Set<WellId>) => void;
|
|
2552
|
-
/** Builds an empty record when a manifest row is freshly created. */
|
|
2553
|
-
emptyEntry: (id: WellId) => T;
|
|
2554
|
-
/** Filter for the manifest's "hide empty" mode. */
|
|
2555
|
-
isPopulated?: (row: T) => boolean;
|
|
2556
|
-
/** Enables the filter popover on the manifest table. */
|
|
2557
|
-
filterable?: boolean;
|
|
2558
|
-
/** Enables the group-by selector on the manifest table. */
|
|
2559
|
-
groupable?: boolean;
|
|
2560
|
-
pageSize?: number;
|
|
2561
|
-
pageSizeOptions?: number[];
|
|
2562
|
-
/** Optional heading rendered above the table. Omit for a bare table. */
|
|
2563
|
-
title?: React_2.ReactNode;
|
|
2564
|
-
className?: string;
|
|
2565
|
-
}
|
|
2566
|
-
|
|
2567
|
-
export declare interface PlateMapPlateOption {
|
|
2568
|
-
/** Stable plate id. For imported CSVs this should be the user-provided barcode. */
|
|
2569
|
-
id: string;
|
|
2570
|
-
/** User-provided plate barcode. Barcodes are never generated by the editor. */
|
|
2571
|
-
barcode: string;
|
|
2572
|
-
/** Optional display label when it differs from the barcode. */
|
|
2573
|
-
label?: string;
|
|
2574
|
-
/** Optional count shown beside the plate pill, usually imported row/well count. */
|
|
2575
|
-
count?: number;
|
|
2576
|
-
disabled?: boolean;
|
|
2577
|
-
}
|
|
2578
|
-
|
|
2579
|
-
export declare function PlateMapPlateSelector({ plates, activePlateId, onPlateChange, onAddPlate, onRemovePlate, addPlateLabel, removePlateLabel, label, variant, align, side, className, }: PlateMapPlateSelectorProps): JSX.Element;
|
|
2580
|
-
|
|
2581
|
-
export declare interface PlateMapPlateSelectorProps {
|
|
2582
|
-
plates?: PlateMapPlateOption[];
|
|
2583
|
-
activePlateId?: string;
|
|
2584
|
-
onPlateChange?: (plateId: string) => void;
|
|
2585
|
-
onAddPlate?: () => void;
|
|
2586
|
-
/** When supplied, the tabs variant renders a delete affordance per plate. */
|
|
2587
|
-
onRemovePlate?: (plateId: string) => void;
|
|
2588
|
-
addPlateLabel?: string;
|
|
2589
|
-
removePlateLabel?: string;
|
|
2590
|
-
label?: string;
|
|
2591
|
-
/** Layout. `"dropdown"` is the default single-trigger menu, `"tabs"` is a horizontal tab strip. */
|
|
2592
|
-
variant?: PlateMapPlateSelectorVariant;
|
|
2593
|
-
align?: "start" | "center" | "end";
|
|
2594
|
-
side?: "top" | "right" | "bottom" | "left";
|
|
2595
|
-
className?: string;
|
|
2596
|
-
}
|
|
2597
|
-
|
|
2598
|
-
export declare type PlateMapPlateSelectorVariant = "dropdown" | "tabs";
|
|
2599
|
-
|
|
2600
|
-
/**
|
|
2601
|
-
* Props for PlateMap component
|
|
2602
|
-
*/
|
|
2603
|
-
export declare interface PlateMapProps {
|
|
2604
|
-
/**
|
|
2605
|
-
* Well data array as WellData objects with wellId and values.
|
|
2606
|
-
*
|
|
2607
|
-
* If wells have multiple values (via `values` property), layers are
|
|
2608
|
-
* auto-generated for each unique key, enabling layer toggling.
|
|
2609
|
-
*/
|
|
2610
|
-
data?: WellData[];
|
|
2611
|
-
/**
|
|
2612
|
-
* Configuration for auto-generated layers when using WellData with `values`.
|
|
2613
|
-
* Use this to customize display names, colors, and ranges for each layer.
|
|
2614
|
-
* Only used when `data` contains wells with `values` property.
|
|
2615
|
-
*/
|
|
2616
|
-
layerConfigs?: LayerConfig[];
|
|
2617
|
-
/**
|
|
2618
|
-
* Initial layer ID to display when the component mounts.
|
|
2619
|
-
* If not provided, defaults to the first layer.
|
|
2620
|
-
*/
|
|
2621
|
-
initialLayerId?: string;
|
|
2622
|
-
/**
|
|
2623
|
-
* Optional callback notified when the active layer changes.
|
|
2624
|
-
* This is purely informational - the component manages layer state internally.
|
|
2625
|
-
* Use this for logging, analytics, or syncing with external state.
|
|
2626
|
-
*/
|
|
2627
|
-
onLayerChange?: (layerId: string) => void;
|
|
2628
|
-
/** Plate format preset (default: "96") */
|
|
2629
|
-
plateFormat?: PlateFormat;
|
|
2630
|
-
/** Number of rows for custom format (default: 8 for 96-well, 16 for 384-well) */
|
|
2631
|
-
rows?: number;
|
|
2632
|
-
/** Number of columns for custom format (default: 12 for 96-well, 24 for 384-well) */
|
|
2633
|
-
columns?: number;
|
|
2634
|
-
/**
|
|
2635
|
-
* Visualization mode (default: "heatmap")
|
|
2636
|
-
* - "heatmap": Display quantitative values with color gradient
|
|
2637
|
-
* - "categorical": Display well types with discrete colors
|
|
2638
|
-
*/
|
|
2639
|
-
visualizationMode?: VisualizationMode;
|
|
2640
|
-
/**
|
|
2641
|
-
* Custom colors for categorical visualization mode.
|
|
2642
|
-
* Keys are well types, values are hex colors.
|
|
2643
|
-
* Merged with DEFAULT_CATEGORY_COLORS.
|
|
2644
|
-
*/
|
|
2645
|
-
categoryColors?: Record<string, string>;
|
|
2646
|
-
/**
|
|
2647
|
-
* Regions to highlight on the plate (e.g., controls, sample areas, empty wells).
|
|
2648
|
-
* Each region can specify wells and styling for visual distinction.
|
|
2649
|
-
*/
|
|
2650
|
-
regions?: PlateRegion[];
|
|
2651
|
-
/** Chart title */
|
|
2652
|
-
title?: string;
|
|
2653
|
-
/** X-axis title (e.g., "Columns") */
|
|
2654
|
-
xTitle?: string;
|
|
2655
|
-
/** Y-axis title (e.g., "Rows") */
|
|
2656
|
-
yTitle?: string;
|
|
2657
|
-
/** Custom x-axis labels (overrides auto-generated column numbers) */
|
|
2658
|
-
xLabels?: string[] | number[];
|
|
2659
|
-
/** Custom y-axis labels (overrides auto-generated row letters) */
|
|
2660
|
-
yLabels?: string[] | number[];
|
|
2661
|
-
/** Color scale for the heatmap (only used in heatmap mode) */
|
|
2662
|
-
colorScale?: ColorScale;
|
|
2663
|
-
/** Minimum value for color scale (auto-calculated if not provided) */
|
|
2664
|
-
valueMin?: number;
|
|
2665
|
-
/** Maximum value for color scale (auto-calculated if not provided) */
|
|
2666
|
-
valueMax?: number;
|
|
2667
|
-
/** Color for empty/null wells (default: "#f0f0f0") */
|
|
2668
|
-
emptyWellColor?: string;
|
|
2669
|
-
/** Show color bar legend for heatmap mode (default: true) */
|
|
2670
|
-
showColorBar?: boolean;
|
|
2671
|
-
/** Show categorical legend for categorical mode (default: true) */
|
|
2672
|
-
showLegend?: boolean;
|
|
2673
|
-
/**
|
|
2674
|
-
* Configuration for legend positioning and styling.
|
|
2675
|
-
* Applies to both heatmap colorbar and categorical legend.
|
|
2676
|
-
*
|
|
2677
|
-
* @example
|
|
2678
|
-
* // Position legend at bottom with larger text
|
|
2679
|
-
* legendConfig={{ position: "bottom", fontSize: 14 }}
|
|
2680
|
-
*/
|
|
2681
|
-
legendConfig?: LegendConfig;
|
|
2682
|
-
/** Chart width in pixels (default: 800) */
|
|
2683
|
-
width?: number;
|
|
2684
|
-
/** Chart height in pixels (default: 500) */
|
|
2685
|
-
height?: number;
|
|
2686
|
-
/** Number of decimal places for values (default: 0) */
|
|
2687
|
-
precision?: number;
|
|
2688
|
-
/**
|
|
2689
|
-
* Marker shape for wells (default: "circle")
|
|
2690
|
-
* - "circle": Round markers, ideal for plate-based data
|
|
2691
|
-
* - "square": Square markers, ideal for generic heatmaps
|
|
2692
|
-
*/
|
|
2693
|
-
markerShape?: "circle" | "square";
|
|
2694
|
-
/**
|
|
2695
|
-
* Callback when a well/cell is clicked.
|
|
2696
|
-
* @param wellData - The full well data object including wellId, values, and tooltipData
|
|
2697
|
-
*/
|
|
2698
|
-
onWellClick?: (wellData: WellData) => void;
|
|
2699
|
-
}
|
|
2700
|
-
|
|
2701
|
-
export declare function plateOptionsFromCsvTriage(triage: PlateMapCsvTriage): PlateMapPlateOption[];
|
|
2702
|
-
|
|
2703
|
-
/**
|
|
2704
|
-
* Interactive plate grid with drag-rectangle selection.
|
|
2705
|
-
* - Click & drag: replace selection
|
|
2706
|
-
* - Shift + drag: add to selection
|
|
2707
|
-
* - Alt + drag: remove from selection
|
|
2708
|
-
*/
|
|
2709
|
-
export declare function PlatePaintGrid<T extends WellRecord = WellRecord>({ format, rows, columns, values, selection, onSelectionChange, colorForWell, emptyWellFillColor, wellShape, framed, cellSize, autoScale, minCellSize, maxCellSize, borderColor, selectedBorderColor, selectedFillColor, selectedFillOpacity, selectionFillMode, flashWellId, flashWellKey, highlightedWellIds, highlightBorderColor, onWellHover, onWellDoubleClick, wrapWell, className, }: PlatePaintGridProps<T>): JSX.Element;
|
|
2710
|
-
|
|
2711
|
-
export declare interface PlatePaintGridProps<T extends WellRecord = WellRecord> {
|
|
2712
|
-
format: PlateFormat;
|
|
2713
|
-
rows?: number;
|
|
2714
|
-
columns?: number;
|
|
2715
|
-
values: Map<WellId, T>;
|
|
2716
|
-
selection: Set<WellId>;
|
|
2717
|
-
onSelectionChange: (next: Set<WellId>) => void;
|
|
2718
|
-
/** Returns the fill color for a given well record (or undefined if empty). */
|
|
2719
|
-
colorForWell: (well: T | undefined, wellId: WellId) => string;
|
|
2720
|
-
/** Fill color for empty wells. Pass `null` to delegate empty wells to `colorForWell`. */
|
|
2721
|
-
emptyWellFillColor?: string | null;
|
|
2722
|
-
/** Geometric shape of each well. `"circle"` matches scientific plate visuals. Defaults to `"rect"`. */
|
|
2723
|
-
wellShape?: WellShape;
|
|
2724
|
-
/**
|
|
2725
|
-
* When true, wraps the grid in a card-like surface (rounded, bordered,
|
|
2726
|
-
* padded, soft shadow) so it reads as a physical plate. Pairs well with
|
|
2727
|
-
* `wellShape="circle"`.
|
|
2728
|
-
*/
|
|
2729
|
-
framed?: boolean;
|
|
2730
|
-
/** Pixel size of each well cell. Defaults to 34 when fixed. */
|
|
2731
|
-
cellSize?: number;
|
|
2732
|
-
/** Resize wells to fill available width when `cellSize` is not fixed. */
|
|
2733
|
-
autoScale?: boolean;
|
|
2734
|
-
minCellSize?: number;
|
|
2735
|
-
/** Defaults to 72 for 96-well style plates and 36 for denser plates. */
|
|
2736
|
-
maxCellSize?: number;
|
|
2737
|
-
/** Stroke color for non-selected wells. Defaults to a light border. */
|
|
2738
|
-
borderColor?: string;
|
|
2739
|
-
/** Stroke color for selected wells. Defaults to the kit primary blue. */
|
|
2740
|
-
selectedBorderColor?: string;
|
|
2741
|
-
/** Fill color for selected wells. Defaults to the kit primary blue. */
|
|
2742
|
-
selectedFillColor?: string;
|
|
2743
|
-
/** Selected fill opacity. */
|
|
2744
|
-
selectedFillOpacity?: number;
|
|
2745
|
-
/** Whether selected wells use the selection fill or keep their assigned well color. */
|
|
2746
|
-
selectionFillMode?: "selection" | "well";
|
|
2747
|
-
/** Well id that should briefly flash, usually after a double-click assignment. */
|
|
2748
|
-
flashWellId?: WellId;
|
|
2749
|
-
/** Changing this value restarts the flash animation for the same well. */
|
|
2750
|
-
flashWellKey?: number;
|
|
2751
|
-
/**
|
|
2752
|
-
* Well ids that should render with a highlight ring. Used for cross-component
|
|
2753
|
-
* hover sync (e.g. hovering a legend item to highlight matching wells).
|
|
2754
|
-
*/
|
|
2755
|
-
highlightedWellIds?: ReadonlySet<WellId>;
|
|
2756
|
-
/** Stroke color for highlighted wells. Defaults to the kit primary blue. */
|
|
2757
|
-
highlightBorderColor?: string;
|
|
2758
|
-
onWellHover?: (wellId: WellId | null) => void;
|
|
2759
|
-
onWellDoubleClick?: (wellId: WellId) => void;
|
|
2760
|
-
/**
|
|
2761
|
-
* Optional render-prop invoked once per well. The returned node is placed
|
|
2762
|
-
* inside an absolutely-positioned cell on top of the SVG, sized to
|
|
2763
|
-
* `cellSize`. The wrapper layer is `pointer-events: none` so the SVG keeps
|
|
2764
|
-
* pointer interaction by default; consumers wiring drop targets are expected
|
|
2765
|
-
* to set `pointer-events: auto` on their own element while a drag is active.
|
|
2766
|
-
*/
|
|
2767
|
-
wrapWell?: (wellId: WellId, cellSize: number) => React_2.ReactNode;
|
|
2768
|
-
className?: string;
|
|
2769
|
-
}
|
|
2770
|
-
|
|
2771
|
-
/**
|
|
2772
|
-
* A region to highlight on the plate (e.g., controls, sample areas, empty wells)
|
|
2773
|
-
*/
|
|
2774
|
-
declare interface PlateRegion {
|
|
2775
|
-
/** Unique identifier for the region */
|
|
2776
|
-
id: string;
|
|
2777
|
-
/** Display name for the region (shown in legend) */
|
|
2778
|
-
name: string;
|
|
2779
|
-
/**
|
|
2780
|
-
* Wells included in this region using range notation.
|
|
2781
|
-
* Format: "StartWell:EndWell" (e.g., "A1:B6" for a rectangular block from A1 to B6)
|
|
2782
|
-
*/
|
|
2783
|
-
wells: string;
|
|
2784
|
-
/** Border color for the region highlight */
|
|
2785
|
-
borderColor?: string;
|
|
2786
|
-
/** Border width in pixels (default: 2) */
|
|
2787
|
-
borderWidth?: number;
|
|
2788
|
-
/** Optional fill color with transparency (e.g., "rgba(255, 0, 0, 0.1)") */
|
|
2789
|
-
fillColor?: string;
|
|
2790
|
-
}
|
|
2791
|
-
|
|
2792
|
-
export declare function PlateZoomControl({ zoom, onZoomChange, step, min, max, showReadout, className, }: PlateZoomControlProps): JSX.Element;
|
|
2793
|
-
|
|
2794
|
-
export declare interface PlateZoomControlProps {
|
|
2795
|
-
zoom: number;
|
|
2796
|
-
onZoomChange: (next: number) => void;
|
|
2797
|
-
/** Increment per click. Defaults to 0.1. */
|
|
2798
|
-
step?: number;
|
|
2799
|
-
min?: number;
|
|
2800
|
-
max?: number;
|
|
2801
|
-
/** Render a percentage readout between the buttons. Defaults to true. */
|
|
2802
|
-
showReadout?: boolean;
|
|
2803
|
-
className?: string;
|
|
2804
|
-
}
|
|
2805
|
-
|
|
2806
|
-
export declare function Popover({ ...props }: React_2.ComponentProps<typeof Popover_2.Root>): JSX.Element;
|
|
2807
|
-
|
|
2808
|
-
export declare function PopoverAnchor({ ...props }: React_2.ComponentProps<typeof Popover_2.Anchor>): JSX.Element;
|
|
2809
|
-
|
|
2810
|
-
export declare function PopoverContent({ className, align, sideOffset, ...props }: React_2.ComponentProps<typeof Popover_2.Content>): JSX.Element;
|
|
2811
|
-
|
|
2812
|
-
export declare function PopoverTrigger({ ...props }: React_2.ComponentProps<typeof Popover_2.Trigger>): JSX.Element;
|
|
2813
|
-
|
|
2814
|
-
export declare function pos(row: number, col: number, columns: number): WellId;
|
|
2815
|
-
|
|
2816
|
-
/**
|
|
2817
|
-
* Runtime list of the visual states supported by ProcessFlow steps.
|
|
2818
|
-
* Use this for controls, schemas, and forms that need to present the same status values the component understands.
|
|
2819
|
-
*/
|
|
2820
|
-
export declare const PROCESS_FLOW_STEP_STATUSES: readonly ["pending", "active", "completed", "error", "disabled"];
|
|
2821
|
-
|
|
2822
|
-
export declare function ProcessFlow({ steps, connections, selectedStepId, onStepSelect, orientation, size, showDescriptions, className, style, "aria-label": ariaLabel, ...props }: ProcessFlowProps): JSX.Element | null;
|
|
2823
|
-
|
|
2824
|
-
/** Connection between two steps in a branching/configurable flow. Linear flows derive connections automatically. */
|
|
2825
|
-
export declare interface ProcessFlowConnection {
|
|
2826
|
-
id?: string;
|
|
2827
|
-
from: string;
|
|
2828
|
-
to: string;
|
|
2829
|
-
status?: ProcessFlowStepStatus;
|
|
2830
|
-
ariaLabel?: string;
|
|
2831
|
-
}
|
|
2832
|
-
|
|
2833
|
-
/** Direction for linear process flows. Branching flows are configured with step positions and connections. */
|
|
2834
|
-
export declare type ProcessFlowOrientation = "horizontal" | "vertical";
|
|
2835
|
-
|
|
2836
|
-
/**
|
|
2837
|
-
* Presentational process flow.
|
|
2838
|
-
*
|
|
2839
|
-
* ProcessFlow is fully controlled by props. It visualizes parent-owned workflow state and emits user selection through
|
|
2840
|
-
* onStepSelect. It intentionally does not own status transitions or fire completion/error side effects.
|
|
2841
|
-
*/
|
|
2842
|
-
export declare interface ProcessFlowProps extends Omit<ComponentPropsWithoutRef<"nav">, "onSelect"> {
|
|
2843
|
-
/** Ordered list of steps to render. Each step controls its own visual status. */
|
|
2844
|
-
steps: ProcessFlowStep[];
|
|
2845
|
-
/** Optional explicit connections for branching/configurable flows. */
|
|
2846
|
-
connections?: ProcessFlowConnection[];
|
|
2847
|
-
/** Selected/viewed step id. This is separate from the active workflow status. */
|
|
2848
|
-
selectedStepId?: string;
|
|
2849
|
-
/** Called when a selectable step is clicked. Disabled and non-selectable steps do not call this. */
|
|
2850
|
-
onStepSelect?: (step: ProcessFlowStep, details: ProcessFlowStepSelectDetails) => void;
|
|
2851
|
-
orientation?: ProcessFlowOrientation;
|
|
2852
|
-
size?: ProcessFlowSize;
|
|
2853
|
-
/** Defaults to true. Set to false to hide step descriptions. */
|
|
2854
|
-
showDescriptions?: boolean;
|
|
2855
|
-
}
|
|
2856
|
-
|
|
2857
|
-
/** Visual density of the process flow. */
|
|
2858
|
-
export declare type ProcessFlowSize = "default" | "compact";
|
|
2859
|
-
|
|
2860
|
-
/**
|
|
2861
|
-
* Configurable step rendered by ProcessFlow.
|
|
2862
|
-
*
|
|
2863
|
-
* Keep workflow-specific behavior in the parent. A step config should describe what to render, not what to do when a
|
|
2864
|
-
* workflow completes or errors.
|
|
2865
|
-
*/
|
|
2866
|
-
export declare interface ProcessFlowStep {
|
|
2867
|
-
/** Stable identifier used for selection and connections. */
|
|
2868
|
-
id: string;
|
|
2869
|
-
/** Visible step label. */
|
|
2870
|
-
label: ReactNode;
|
|
2871
|
-
/** Optional secondary text shown under or beside the label. */
|
|
2872
|
-
description?: ReactNode;
|
|
2873
|
-
/** Parent-controlled visual state. Defaults to "pending". */
|
|
2874
|
-
status?: ProcessFlowStepStatus;
|
|
2875
|
-
/** Accessible label for selectable steps. */
|
|
2876
|
-
ariaLabel?: string;
|
|
2877
|
-
/** Forces the step into the disabled visual/non-interactive state. */
|
|
2878
|
-
disabled?: boolean;
|
|
2879
|
-
/** Set to false when the step should render as non-navigable even when onStepSelect is provided. */
|
|
2880
|
-
selectable?: boolean;
|
|
2881
|
-
/** Optional grid position for simple branching/configurable layouts. */
|
|
2882
|
-
position?: ProcessFlowStepPosition;
|
|
2883
|
-
}
|
|
2884
|
-
|
|
2885
|
-
export declare type ProcessFlowStepConfig = ProcessFlowStep;
|
|
2886
|
-
|
|
2887
|
-
export declare interface ProcessFlowStepPosition {
|
|
2888
|
-
/** Zero-based row used when rendering a simple branching/configurable flow. */
|
|
2889
|
-
row?: number;
|
|
2890
|
-
/** Zero-based column used when rendering a simple branching/configurable flow. */
|
|
2891
|
-
column?: number;
|
|
2892
|
-
}
|
|
2893
|
-
|
|
2894
|
-
export declare interface ProcessFlowStepSelectDetails {
|
|
2895
|
-
/** Zero-based index of the selected step in the steps prop. */
|
|
2896
|
-
stepIndex: number;
|
|
2897
|
-
/** Current visual status of the selected step. */
|
|
2898
|
-
status: ProcessFlowStepStatus;
|
|
2899
|
-
nativeEvent: MouseEvent_2<HTMLButtonElement>;
|
|
2900
|
-
}
|
|
2901
|
-
|
|
2902
|
-
/**
|
|
2903
|
-
* Visual state for a ProcessFlow step.
|
|
2904
|
-
*
|
|
2905
|
-
* The parent application owns this state. ProcessFlow renders the provided status and does not run workflow side effects.
|
|
2906
|
-
*/
|
|
2907
|
-
export declare type ProcessFlowStepStatus = (typeof PROCESS_FLOW_STEP_STATUSES)[number];
|
|
2908
|
-
|
|
2909
|
-
export declare type ProcessStep = ProcessFlowStep;
|
|
2910
|
-
|
|
2911
|
-
export declare type ProcessStepStatus = ProcessFlowStepStatus;
|
|
2912
|
-
|
|
2913
|
-
export declare const PromptInput: ({ className, accept, multiple, globalDrop, syncHiddenInput, maxFiles, maxFileSize, onError, onSubmit, children, ...props }: PromptInputProps) => JSX.Element;
|
|
2914
|
-
|
|
2915
|
-
export declare const PromptInputActionAddAttachments: ({ label, ...props }: PromptInputActionAddAttachmentsProps) => JSX.Element;
|
|
2916
|
-
|
|
2917
|
-
export declare type PromptInputActionAddAttachmentsProps = ComponentProps<typeof DropdownMenuItem> & {
|
|
2918
|
-
label?: string;
|
|
2919
|
-
};
|
|
2920
|
-
|
|
2921
|
-
export declare const PromptInputActionAddScreenshot: ({ label, onSelect, ...props }: PromptInputActionAddScreenshotProps) => JSX.Element;
|
|
2922
|
-
|
|
2923
|
-
export declare type PromptInputActionAddScreenshotProps = ComponentProps<typeof DropdownMenuItem> & {
|
|
2924
|
-
label?: string;
|
|
2925
|
-
};
|
|
2926
|
-
|
|
2927
|
-
export declare const PromptInputActionMenu: (props: PromptInputActionMenuProps) => JSX.Element;
|
|
2928
|
-
|
|
2929
|
-
export declare const PromptInputActionMenuContent: ({ className, ...props }: PromptInputActionMenuContentProps) => JSX.Element;
|
|
2930
|
-
|
|
2931
|
-
export declare type PromptInputActionMenuContentProps = ComponentProps<typeof DropdownMenuContent>;
|
|
2932
|
-
|
|
2933
|
-
export declare const PromptInputActionMenuItem: ({ className, ...props }: PromptInputActionMenuItemProps) => JSX.Element;
|
|
2934
|
-
|
|
2935
|
-
export declare type PromptInputActionMenuItemProps = ComponentProps<typeof DropdownMenuItem>;
|
|
2936
|
-
|
|
2937
|
-
export declare type PromptInputActionMenuProps = ComponentProps<typeof DropdownMenu>;
|
|
2938
|
-
|
|
2939
|
-
export declare const PromptInputActionMenuTrigger: ({ className, children, tooltip, "aria-label": ariaLabel, ...props }: PromptInputActionMenuTriggerProps) => JSX.Element;
|
|
2940
|
-
|
|
2941
|
-
export declare type PromptInputActionMenuTriggerProps = PromptInputButtonProps;
|
|
2942
|
-
|
|
2943
|
-
export declare const PromptInputBody: ({ className, ...props }: PromptInputBodyProps) => JSX.Element;
|
|
2944
|
-
|
|
2945
|
-
export declare type PromptInputBodyProps = HTMLAttributes<HTMLDivElement>;
|
|
2946
|
-
|
|
2947
|
-
export declare const PromptInputButton: ({ variant, className, size, tooltip, ...props }: PromptInputButtonProps) => JSX.Element;
|
|
2948
|
-
|
|
2949
|
-
export declare type PromptInputButtonProps = ComponentProps<typeof InputGroupButton> & {
|
|
2950
|
-
tooltip?: PromptInputButtonTooltip;
|
|
2951
|
-
};
|
|
2952
|
-
|
|
2953
|
-
export declare type PromptInputButtonTooltip = string | {
|
|
2954
|
-
content: ReactNode;
|
|
2955
|
-
shortcut?: string;
|
|
2956
|
-
side?: ComponentProps<typeof TooltipContent>["side"];
|
|
2957
|
-
};
|
|
2958
|
-
|
|
2959
|
-
export declare const PromptInputCommand: ({ className, ...props }: PromptInputCommandProps) => JSX.Element;
|
|
2960
|
-
|
|
2961
|
-
export declare const PromptInputCommandEmpty: ({ className, ...props }: PromptInputCommandEmptyProps) => JSX.Element;
|
|
2962
|
-
|
|
2963
|
-
export declare type PromptInputCommandEmptyProps = ComponentProps<typeof CommandEmpty>;
|
|
2964
|
-
|
|
2965
|
-
export declare const PromptInputCommandGroup: ({ className, ...props }: PromptInputCommandGroupProps) => JSX.Element;
|
|
2966
|
-
|
|
2967
|
-
export declare type PromptInputCommandGroupProps = ComponentProps<typeof CommandGroup>;
|
|
2968
|
-
|
|
2969
|
-
export declare const PromptInputCommandInput: ({ className, ...props }: PromptInputCommandInputProps) => JSX.Element;
|
|
2970
|
-
|
|
2971
|
-
export declare type PromptInputCommandInputProps = ComponentProps<typeof CommandInput>;
|
|
2972
|
-
|
|
2973
|
-
export declare const PromptInputCommandItem: ({ className, ...props }: PromptInputCommandItemProps) => JSX.Element;
|
|
2974
|
-
|
|
2975
|
-
export declare type PromptInputCommandItemProps = ComponentProps<typeof CommandItem>;
|
|
2976
|
-
|
|
2977
|
-
export declare const PromptInputCommandList: ({ className, ...props }: PromptInputCommandListProps) => JSX.Element;
|
|
2978
|
-
|
|
2979
|
-
export declare type PromptInputCommandListProps = ComponentProps<typeof CommandList>;
|
|
2980
|
-
|
|
2981
|
-
export declare type PromptInputCommandProps = ComponentProps<typeof Command>;
|
|
2982
|
-
|
|
2983
|
-
export declare const PromptInputCommandSeparator: ({ className, ...props }: PromptInputCommandSeparatorProps) => JSX.Element;
|
|
2984
|
-
|
|
2985
|
-
export declare type PromptInputCommandSeparatorProps = ComponentProps<typeof CommandSeparator>;
|
|
2986
|
-
|
|
2987
|
-
export declare interface PromptInputControllerProps {
|
|
2988
|
-
textInput: TextInputContext;
|
|
2989
|
-
attachments: AttachmentsContext;
|
|
2990
|
-
/** INTERNAL: Allows PromptInput to register its file textInput + "open" callback */
|
|
2991
|
-
__registerFileInput: (ref: RefObject<HTMLInputElement | null>, open: () => void) => void;
|
|
2992
|
-
}
|
|
2993
|
-
|
|
2994
|
-
export declare const PromptInputFooter: ({ className, ...props }: PromptInputFooterProps) => JSX.Element;
|
|
2995
|
-
|
|
2996
|
-
export declare type PromptInputFooterProps = Omit<ComponentProps<typeof InputGroupAddon>, "align">;
|
|
2997
|
-
|
|
2998
|
-
export declare const PromptInputHeader: ({ className, ...props }: PromptInputHeaderProps) => JSX.Element;
|
|
2999
|
-
|
|
3000
|
-
export declare type PromptInputHeaderProps = Omit<ComponentProps<typeof InputGroupAddon>, "align">;
|
|
3001
|
-
|
|
3002
|
-
export declare const PromptInputHoverCard: ({ openDelay, closeDelay, ...props }: PromptInputHoverCardProps) => JSX.Element;
|
|
3003
|
-
|
|
3004
|
-
export declare const PromptInputHoverCardContent: ({ align, ...props }: PromptInputHoverCardContentProps) => JSX.Element;
|
|
3005
|
-
|
|
3006
|
-
export declare type PromptInputHoverCardContentProps = ComponentProps<typeof HoverCardContent>;
|
|
3007
|
-
|
|
3008
|
-
export declare type PromptInputHoverCardProps = ComponentProps<typeof HoverCard>;
|
|
3009
|
-
|
|
3010
|
-
export declare const PromptInputHoverCardTrigger: (props: PromptInputHoverCardTriggerProps) => JSX.Element;
|
|
3011
|
-
|
|
3012
|
-
export declare type PromptInputHoverCardTriggerProps = ComponentProps<typeof HoverCardTrigger>;
|
|
3013
|
-
|
|
3014
|
-
export declare interface PromptInputMessage {
|
|
3015
|
-
text: string;
|
|
3016
|
-
files: FileUIPart[];
|
|
3017
|
-
}
|
|
3018
|
-
|
|
3019
|
-
export declare type PromptInputProps = Omit<HTMLAttributes<HTMLFormElement>, "onSubmit" | "onError"> & {
|
|
3020
|
-
accept?: string;
|
|
3021
|
-
multiple?: boolean;
|
|
3022
|
-
globalDrop?: boolean;
|
|
3023
|
-
syncHiddenInput?: boolean;
|
|
3024
|
-
maxFiles?: number;
|
|
3025
|
-
maxFileSize?: number;
|
|
3026
|
-
onError?: (err: {
|
|
3027
|
-
code: "max_files" | "max_file_size" | "accept";
|
|
3028
|
-
message: string;
|
|
3029
|
-
}) => void;
|
|
3030
|
-
onSubmit: (message: PromptInputMessage, event: FormEvent<HTMLFormElement>) => void | Promise<void>;
|
|
3031
|
-
};
|
|
3032
|
-
|
|
3033
|
-
/**
|
|
3034
|
-
* Optional global provider that lifts PromptInput state outside of PromptInput.
|
|
3035
|
-
* If you don't use it, PromptInput stays fully self-managed.
|
|
3036
|
-
*/
|
|
3037
|
-
export declare const PromptInputProvider: ({ initialInput: initialTextInput, children, }: PromptInputProviderProps) => JSX.Element;
|
|
3038
|
-
|
|
3039
|
-
export declare type PromptInputProviderProps = PropsWithChildren<{
|
|
3040
|
-
initialInput?: string;
|
|
3041
|
-
}>;
|
|
3042
|
-
|
|
3043
|
-
export declare const PromptInputSelect: (props: PromptInputSelectProps) => JSX.Element;
|
|
3044
|
-
|
|
3045
|
-
export declare const PromptInputSelectContent: ({ className, ...props }: PromptInputSelectContentProps) => JSX.Element;
|
|
3046
|
-
|
|
3047
|
-
export declare type PromptInputSelectContentProps = ComponentProps<typeof SelectContent>;
|
|
3048
|
-
|
|
3049
|
-
export declare const PromptInputSelectItem: ({ className, ...props }: PromptInputSelectItemProps) => JSX.Element;
|
|
3050
|
-
|
|
3051
|
-
export declare type PromptInputSelectItemProps = ComponentProps<typeof SelectItem>;
|
|
3052
|
-
|
|
3053
|
-
export declare type PromptInputSelectProps = ComponentProps<typeof Select>;
|
|
3054
|
-
|
|
3055
|
-
export declare const PromptInputSelectTrigger: ({ className, ...props }: PromptInputSelectTriggerProps) => JSX.Element;
|
|
3056
|
-
|
|
3057
|
-
export declare type PromptInputSelectTriggerProps = ComponentProps<typeof SelectTrigger>;
|
|
3058
|
-
|
|
3059
|
-
export declare const PromptInputSelectValue: ({ className, ...props }: PromptInputSelectValueProps) => JSX.Element;
|
|
3060
|
-
|
|
3061
|
-
export declare type PromptInputSelectValueProps = ComponentProps<typeof SelectValue>;
|
|
3062
|
-
|
|
3063
|
-
export declare const PromptInputSlotSwap: ({ a, b, show, className, }: PromptInputSlotSwapProps) => JSX.Element;
|
|
3064
|
-
|
|
3065
|
-
export declare type PromptInputSlotSwapProps = {
|
|
3066
|
-
/** Shown when show=false (e.g. mic button). */
|
|
3067
|
-
a: ReactNode;
|
|
3068
|
-
/** Shown when show=true (e.g. submit button). */
|
|
3069
|
-
b: ReactNode;
|
|
3070
|
-
/** When true, b is visible; when false, a is visible. */
|
|
3071
|
-
show: boolean;
|
|
3072
|
-
className?: string;
|
|
3073
|
-
};
|
|
3074
|
-
|
|
3075
|
-
export declare const PromptInputSubmit: ({ className, variant, size, status, onStop, onClick, children, ...props }: PromptInputSubmitProps) => JSX.Element;
|
|
3076
|
-
|
|
3077
|
-
export declare type PromptInputSubmitProps = ComponentProps<typeof InputGroupButton> & {
|
|
3078
|
-
status?: ChatStatus;
|
|
3079
|
-
onStop?: () => void;
|
|
3080
|
-
};
|
|
3081
|
-
|
|
3082
|
-
export declare const PromptInputTab: ({ className, ...props }: PromptInputTabProps) => JSX.Element;
|
|
3083
|
-
|
|
3084
|
-
export declare const PromptInputTabBody: ({ className, ...props }: PromptInputTabBodyProps) => JSX.Element;
|
|
3085
|
-
|
|
3086
|
-
export declare type PromptInputTabBodyProps = HTMLAttributes<HTMLDivElement>;
|
|
3087
|
-
|
|
3088
|
-
export declare const PromptInputTabItem: ({ className, ...props }: PromptInputTabItemProps) => JSX.Element;
|
|
3089
|
-
|
|
3090
|
-
export declare type PromptInputTabItemProps = HTMLAttributes<HTMLDivElement>;
|
|
3091
|
-
|
|
3092
|
-
export declare const PromptInputTabLabel: ({ className, children, ...props }: PromptInputTabLabelProps) => JSX.Element;
|
|
3093
|
-
|
|
3094
|
-
export declare type PromptInputTabLabelProps = HTMLAttributes<HTMLHeadingElement>;
|
|
3095
|
-
|
|
3096
|
-
export declare type PromptInputTabProps = HTMLAttributes<HTMLDivElement>;
|
|
3097
|
-
|
|
3098
|
-
export declare const PromptInputTabsList: ({ className, ...props }: PromptInputTabsListProps) => JSX.Element;
|
|
3099
|
-
|
|
3100
|
-
export declare type PromptInputTabsListProps = HTMLAttributes<HTMLDivElement>;
|
|
3101
|
-
|
|
3102
|
-
export declare const PromptInputTextarea: ({ onChange, onKeyDown, className, placeholder, ...props }: PromptInputTextareaProps) => JSX.Element;
|
|
3103
|
-
|
|
3104
|
-
export declare type PromptInputTextareaProps = ComponentProps<typeof InputGroupTextarea>;
|
|
3105
|
-
|
|
3106
|
-
export declare const PromptInputTools: ({ className, ...props }: PromptInputToolsProps) => JSX.Element;
|
|
3107
|
-
|
|
3108
|
-
export declare type PromptInputToolsProps = HTMLAttributes<HTMLDivElement>;
|
|
3109
|
-
|
|
3110
|
-
export declare const Queue: ({ className, isStreaming, children, style, id, ...props }: QueueProps) => JSX.Element;
|
|
3111
|
-
|
|
3112
|
-
export declare const QueueItem: ({ className, ...props }: QueueItemProps) => JSX.Element;
|
|
3113
|
-
|
|
3114
|
-
export declare const QueueItemAction: ({ className, ...props }: QueueItemActionProps) => JSX.Element;
|
|
3115
|
-
|
|
3116
|
-
export declare type QueueItemActionProps = Omit<ComponentProps<typeof Button>, "variant" | "size">;
|
|
3117
|
-
|
|
3118
|
-
export declare const QueueItemActions: ({ className, ...props }: QueueItemActionsProps) => JSX.Element;
|
|
3119
|
-
|
|
3120
|
-
export declare type QueueItemActionsProps = ComponentProps<"div">;
|
|
3121
|
-
|
|
3122
|
-
export declare const QueueItemAttachment: ({ className, ...props }: QueueItemAttachmentProps) => JSX.Element;
|
|
3123
|
-
|
|
3124
|
-
export declare type QueueItemAttachmentProps = ComponentProps<"div">;
|
|
3125
|
-
|
|
3126
|
-
export declare const QueueItemContent: ({ completed, className, ...props }: QueueItemContentProps) => JSX.Element;
|
|
3127
|
-
|
|
3128
|
-
export declare type QueueItemContentProps = ComponentProps<"span"> & {
|
|
3129
|
-
completed?: boolean;
|
|
3130
|
-
};
|
|
3131
|
-
|
|
3132
|
-
export declare const QueueItemDescription: ({ completed, className, ...props }: QueueItemDescriptionProps) => JSX.Element;
|
|
3133
|
-
|
|
3134
|
-
export declare type QueueItemDescriptionProps = ComponentProps<"div"> & {
|
|
3135
|
-
completed?: boolean;
|
|
3136
|
-
};
|
|
3137
|
-
|
|
3138
|
-
export declare const QueueItemFile: ({ children, className, ...props }: QueueItemFileProps) => JSX.Element;
|
|
3139
|
-
|
|
3140
|
-
export declare type QueueItemFileProps = ComponentProps<"span">;
|
|
3141
|
-
|
|
3142
|
-
export declare const QueueItemImage: ({ className, ...props }: QueueItemImageProps) => JSX.Element;
|
|
3143
|
-
|
|
3144
|
-
export declare type QueueItemImageProps = ComponentProps<"img">;
|
|
3145
|
-
|
|
3146
|
-
export declare const QueueItemIndicator: ({ status, completed, className, ...props }: QueueItemIndicatorProps) => JSX.Element;
|
|
3147
|
-
|
|
3148
|
-
export declare type QueueItemIndicatorProps = ComponentProps<"span"> & {
|
|
3149
|
-
/**
|
|
3150
|
-
* Visual state of the indicator dot.
|
|
3151
|
-
* - `pending` — unfilled muted ring
|
|
3152
|
-
* - `loading` — spinning ring (primary accent)
|
|
3153
|
-
* - `done` — filled muted dot (task complete)
|
|
3154
|
-
* - `error` — filled destructive dot
|
|
3155
|
-
*/
|
|
3156
|
-
status?: QueueItemStatus;
|
|
3157
|
-
/** @deprecated Use `status="done"` instead. */
|
|
3158
|
-
completed?: boolean;
|
|
3159
|
-
};
|
|
3160
|
-
|
|
3161
|
-
export declare type QueueItemProps = ComponentProps<"li">;
|
|
3162
|
-
|
|
3163
|
-
export declare type QueueItemStatus = "pending" | "loading" | "done" | "error";
|
|
3164
|
-
|
|
3165
|
-
export declare const QueueList: ({ children, className, ...props }: QueueListProps) => JSX.Element;
|
|
3166
|
-
|
|
3167
|
-
export declare type QueueListProps = ComponentProps<typeof ScrollArea>;
|
|
3168
|
-
|
|
3169
|
-
export declare interface QueueMessage {
|
|
3170
|
-
id: string;
|
|
3171
|
-
parts: QueueMessagePart[];
|
|
3172
|
-
}
|
|
3173
|
-
|
|
3174
|
-
export declare interface QueueMessagePart {
|
|
3175
|
-
type: string;
|
|
3176
|
-
text?: string;
|
|
3177
|
-
url?: string;
|
|
3178
|
-
filename?: string;
|
|
3179
|
-
mediaType?: string;
|
|
3180
|
-
}
|
|
3181
|
-
|
|
3182
|
-
export declare type QueueProps = ComponentProps<"div"> & {
|
|
3183
|
-
isStreaming?: boolean;
|
|
3184
|
-
};
|
|
3185
|
-
|
|
3186
|
-
export declare const QueueSection: ({ className, defaultOpen, ...props }: QueueSectionProps) => JSX.Element;
|
|
3187
|
-
|
|
3188
|
-
export declare const QueueSectionContent: ({ className, ...props }: QueueSectionContentProps) => JSX.Element;
|
|
3189
|
-
|
|
3190
|
-
export declare type QueueSectionContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
3191
|
-
|
|
3192
|
-
export declare const QueueSectionLabel: ({ count, icon, className, children, ...props }: QueueSectionLabelProps) => JSX.Element;
|
|
3193
|
-
|
|
3194
|
-
export declare type QueueSectionLabelProps = ComponentProps<"span"> & {
|
|
3195
|
-
count?: number;
|
|
3196
|
-
icon?: React.ReactNode;
|
|
3197
|
-
};
|
|
3198
|
-
|
|
3199
|
-
export declare type QueueSectionProps = ComponentProps<typeof Collapsible>;
|
|
3200
|
-
|
|
3201
|
-
export declare const QueueSectionTrigger: ({ children, className, ...props }: QueueSectionTriggerProps) => JSX.Element;
|
|
3202
|
-
|
|
3203
|
-
export declare type QueueSectionTriggerProps = ComponentProps<"button">;
|
|
3204
|
-
|
|
3205
|
-
export declare interface QueueTodo {
|
|
3206
|
-
id: string;
|
|
3207
|
-
title: string;
|
|
3208
|
-
description?: string;
|
|
3209
|
-
status?: "pending" | "completed";
|
|
3210
|
-
}
|
|
3211
|
-
|
|
3212
|
-
export declare function RadioGroup({ className, ...props }: React_2.ComponentProps<typeof RadioGroup_2.Root>): JSX.Element;
|
|
3213
|
-
|
|
3214
|
-
export declare function RadioGroupItem({ className, ...props }: React_2.ComponentProps<typeof RadioGroup_2.Item>): JSX.Element;
|
|
3215
|
-
|
|
3216
|
-
export declare const Reasoning: MemoExoticComponent<({ className, isStreaming, open, defaultOpen, onOpenChange, duration: durationProp, children, ...props }: ReasoningProps) => JSX.Element>;
|
|
3217
|
-
|
|
3218
|
-
export declare const ReasoningContent: MemoExoticComponent<({ className, children, ...props }: ReasoningContentProps) => JSX.Element>;
|
|
3219
|
-
|
|
3220
|
-
export declare type ReasoningContentProps = ComponentProps<typeof CollapsibleContent> & {
|
|
3221
|
-
children: string;
|
|
3222
|
-
};
|
|
3223
|
-
|
|
3224
|
-
declare interface ReasoningContextValue {
|
|
3225
|
-
isStreaming: boolean;
|
|
3226
|
-
isOpen: boolean;
|
|
3227
|
-
setIsOpen: (open: boolean) => void;
|
|
3228
|
-
duration: number | undefined;
|
|
3229
|
-
}
|
|
3230
|
-
|
|
3231
|
-
export declare type ReasoningProps = ComponentProps<typeof Collapsible> & {
|
|
3232
|
-
isStreaming?: boolean;
|
|
3233
|
-
open?: boolean;
|
|
3234
|
-
defaultOpen?: boolean;
|
|
3235
|
-
onOpenChange?: (open: boolean) => void;
|
|
3236
|
-
duration?: number;
|
|
3237
|
-
};
|
|
3238
|
-
|
|
3239
|
-
export declare const ReasoningTrigger: MemoExoticComponent<({ className, children, getThinkingMessage, ...props }: ReasoningTriggerProps) => JSX.Element>;
|
|
3240
|
-
|
|
3241
|
-
export declare type ReasoningTriggerProps = ComponentProps<typeof CollapsibleTrigger> & {
|
|
3242
|
-
getThinkingMessage?: (isStreaming: boolean, duration?: number) => ReactNode;
|
|
3243
|
-
};
|
|
3244
|
-
|
|
3245
|
-
export declare function rectPositions(r0: number, c0: number, r1: number, c1: number, columns: number): WellId[];
|
|
3246
|
-
|
|
3247
|
-
export declare interface ReferencedSourcesContext {
|
|
3248
|
-
sources: (SourceDocumentUIPart & {
|
|
3249
|
-
id: string;
|
|
3250
|
-
})[];
|
|
3251
|
-
add: (sources: SourceDocumentUIPart[] | SourceDocumentUIPart) => void;
|
|
3252
|
-
remove: (id: string) => void;
|
|
3253
|
-
clear: () => void;
|
|
3254
|
-
}
|
|
3255
|
-
|
|
3256
|
-
/**
|
|
3257
|
-
* Resize handle between two panels.
|
|
3258
|
-
*
|
|
3259
|
-
* The handle's layout footprint is a **1px divider that sits exactly on the
|
|
3260
|
-
* panel boundary**, so the divider, the grip, and the seam between the panels
|
|
3261
|
-
* all line up — regardless of the panels' backgrounds. A wide, transparent
|
|
3262
|
-
* **grab area** is layered on top via `::after` (it overlaps both panels by 6px
|
|
3263
|
-
* without taking layout space) so the handle can be grabbed anywhere in the gap,
|
|
3264
|
-
* not just on the hairline.
|
|
3265
|
-
*
|
|
3266
|
-
* The 1px divider — and the optional grip (`withHandle`) — stay hidden at rest
|
|
3267
|
-
* and **reveal on hover, keyboard focus, or while dragging** (the handle tracks
|
|
3268
|
-
* the pointer, so it stays hovered). Keyboard focus reveals them in the `ring`
|
|
3269
|
-
* color for a clear focus indicator. Works in both orientations.
|
|
3270
|
-
*
|
|
3271
|
-
* Has a default `aria-label` so the separator always has an accessible name;
|
|
3272
|
-
* pass `aria-label` to override it with something context-specific.
|
|
3273
|
-
*/
|
|
3274
|
-
export declare function ResizableHandle({ withHandle, className, ...props }: ResizablePrimitive.SeparatorProps & {
|
|
3275
|
-
withHandle?: boolean;
|
|
3276
|
-
}): JSX.Element;
|
|
3277
|
-
|
|
3278
|
-
export declare function ResizablePanel({ ...props }: ResizablePrimitive.PanelProps): JSX.Element;
|
|
3279
|
-
|
|
3280
|
-
export declare function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps): JSX.Element;
|
|
3281
|
-
|
|
3282
|
-
export declare function resolveDimensions(format: PlateFormat, rows?: number, columns?: number): PlateDimensions;
|
|
3283
|
-
|
|
3284
|
-
export declare function RichListItem({ leading, primary, secondary, trailing, actions, className, variant, size, ...props }: RichListItemProps): JSX.Element;
|
|
3285
|
-
|
|
3286
|
-
export declare function RichListItemAvatar({ initials, className, fallbackClassName, size, ...props }: RichListItemAvatarProps): JSX.Element;
|
|
3287
|
-
|
|
3288
|
-
export declare interface RichListItemAvatarProps extends Omit<React_2.ComponentProps<typeof Avatar>, "children"> {
|
|
3289
|
-
initials: string;
|
|
3290
|
-
fallbackClassName?: string;
|
|
3291
|
-
}
|
|
3292
|
-
|
|
3293
|
-
export declare interface RichListItemProps extends Omit<React_2.ComponentProps<typeof Item>, "asChild" | "children"> {
|
|
3294
|
-
/** Slot before the text content — typically an avatar or icon. */
|
|
3295
|
-
leading?: React_2.ReactNode;
|
|
3296
|
-
/** Primary line of text. Truncates to a single line. */
|
|
3297
|
-
primary: React_2.ReactNode;
|
|
3298
|
-
/** Secondary line of text shown beneath `primary`. Truncates to a single line. */
|
|
3299
|
-
secondary?: React_2.ReactNode;
|
|
3300
|
-
/** Right-aligned supplemental content (badges, timestamps) shown above `actions`. */
|
|
3301
|
-
trailing?: React_2.ReactNode;
|
|
3302
|
-
/** Right-aligned interactive controls (buttons, menus). */
|
|
3303
|
-
actions?: React_2.ReactNode;
|
|
3304
|
-
}
|
|
3305
|
-
|
|
3306
|
-
/** Letter for a row index. Supports A-Z then AA-ZZ for 1536-format plates. */
|
|
3307
|
-
export declare function rowLabel(row: number): string;
|
|
3308
|
-
|
|
3309
|
-
export declare interface ScatterDataPoint {
|
|
3310
|
-
x: number;
|
|
3311
|
-
y: number;
|
|
3312
|
-
additionalInfo?: Record<string, string | number>;
|
|
3313
|
-
}
|
|
3314
|
-
|
|
3315
|
-
export declare interface ScatterDataSeries {
|
|
3316
|
-
x: number[];
|
|
3317
|
-
y: number[];
|
|
3318
|
-
name: string;
|
|
3319
|
-
/** Optional color override (auto-assigned from CHART_COLORS if not provided) */
|
|
3320
|
-
color?: string;
|
|
3321
|
-
}
|
|
3322
|
-
|
|
3323
|
-
export declare const ScatterGraph: default_2.FC<ScatterGraphProps>;
|
|
3324
|
-
|
|
3325
|
-
export declare interface ScatterGraphProps {
|
|
3326
|
-
dataSeries: ScatterDataSeries[];
|
|
3327
|
-
/**
|
|
3328
|
-
* Fixed width in pixels. When omitted, the chart fills its container and
|
|
3329
|
-
* tracks the container's width via a `ResizeObserver`.
|
|
3330
|
-
*/
|
|
3331
|
-
width?: number;
|
|
3332
|
-
/**
|
|
3333
|
-
* Fixed height in pixels. When omitted, the chart fills its container and
|
|
3334
|
-
* tracks the container's height via a `ResizeObserver`.
|
|
3335
|
-
*/
|
|
3336
|
-
height?: number;
|
|
3337
|
-
xRange?: [number, number];
|
|
3338
|
-
yRange?: [number, number];
|
|
3339
|
-
xTitle?: string;
|
|
3340
|
-
yTitle?: string;
|
|
3341
|
-
title?: string;
|
|
3342
|
-
}
|
|
3343
|
-
|
|
3344
|
-
export declare function ScrollArea({ className, children, ...props }: React_2.ComponentProps<typeof ScrollArea_2.Root>): JSX.Element;
|
|
3345
|
-
|
|
3346
|
-
export declare function ScrollBar({ className, orientation, ...props }: React_2.ComponentProps<typeof ScrollArea_2.ScrollAreaScrollbar>): JSX.Element;
|
|
3347
|
-
|
|
3348
|
-
/** Transformed search result (flattened from Elasticsearch hit format) */
|
|
3349
|
-
export declare interface SearchResult {
|
|
3350
|
-
id: string;
|
|
3351
|
-
_score?: number | null;
|
|
3352
|
-
[key: string]: any;
|
|
3353
|
-
}
|
|
3354
|
-
|
|
3355
|
-
export declare function Select({ ...props }: React_2.ComponentProps<typeof Select_2.Root>): JSX.Element;
|
|
3356
|
-
|
|
3357
|
-
export declare function SelectContent({ className, children, position, align, ...props }: React_2.ComponentProps<typeof Select_2.Content>): JSX.Element;
|
|
3358
|
-
|
|
3359
|
-
export declare function SelectGroup({ className, ...props }: React_2.ComponentProps<typeof Select_2.Group>): JSX.Element;
|
|
3360
|
-
|
|
3361
|
-
export declare function SelectItem({ className, children, ...props }: React_2.ComponentProps<typeof Select_2.Item>): JSX.Element;
|
|
3362
|
-
|
|
3363
|
-
export declare function SelectLabel({ className, ...props }: React_2.ComponentProps<typeof Select_2.Label>): JSX.Element;
|
|
3364
|
-
|
|
3365
|
-
export declare function SelectScrollDownButton({ className, ...props }: React_2.ComponentProps<typeof Select_2.ScrollDownButton>): JSX.Element;
|
|
3366
|
-
|
|
3367
|
-
export declare function SelectScrollUpButton({ className, ...props }: React_2.ComponentProps<typeof Select_2.ScrollUpButton>): JSX.Element;
|
|
3368
|
-
|
|
3369
|
-
export declare function SelectSeparator({ className, ...props }: React_2.ComponentProps<typeof Select_2.Separator>): JSX.Element;
|
|
3370
|
-
|
|
3371
|
-
export declare function SelectTrigger({ className, size, children, ...props }: React_2.ComponentProps<typeof Select_2.Trigger> & {
|
|
3372
|
-
size?: "sm" | "default";
|
|
3373
|
-
}): JSX.Element;
|
|
3374
|
-
|
|
3375
|
-
export declare function SelectValue({ ...props }: React_2.ComponentProps<typeof Select_2.Value>): JSX.Element;
|
|
3376
|
-
|
|
3377
|
-
export declare function Separator({ className, orientation, decorative, ...props }: React_2.ComponentProps<typeof Separator_2.Root>): JSX.Element;
|
|
3378
|
-
|
|
3379
|
-
/**
|
|
3380
|
-
* Resolve the color for a data series: use the explicit color when one is
|
|
3381
|
-
* provided, otherwise cycle through the {@link CHART_COLORS} palette by series
|
|
3382
|
-
* index (wrapping around when there are more series than palette slots).
|
|
3383
|
-
*
|
|
3384
|
-
* @param index - Zero-based series index
|
|
3385
|
-
* @param explicit - Caller-provided color override, if any
|
|
3386
|
-
*/
|
|
3387
|
-
export declare const seriesColor: (index: number, explicit?: string | null) => string;
|
|
3388
|
-
|
|
3389
|
-
export declare function Sheet({ ...props }: React_2.ComponentProps<typeof Dialog_2.Root>): JSX.Element;
|
|
3390
|
-
|
|
3391
|
-
export declare function SheetClose({ ...props }: React_2.ComponentProps<typeof Dialog_2.Close>): JSX.Element;
|
|
3392
|
-
|
|
3393
|
-
export declare function SheetContent({ className, children, side, showCloseButton, ...props }: React_2.ComponentProps<typeof Dialog_2.Content> & {
|
|
3394
|
-
side?: "top" | "right" | "bottom" | "left";
|
|
3395
|
-
showCloseButton?: boolean;
|
|
3396
|
-
}): JSX.Element;
|
|
3397
|
-
|
|
3398
|
-
export declare function SheetDescription({ className, ...props }: React_2.ComponentProps<typeof Dialog_2.Description>): JSX.Element;
|
|
3399
|
-
|
|
3400
|
-
export declare function SheetFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
3401
|
-
|
|
3402
|
-
export declare function SheetHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
3403
|
-
|
|
3404
|
-
export declare function SheetTitle({ className, ...props }: React_2.ComponentProps<typeof Dialog_2.Title>): JSX.Element;
|
|
3405
|
-
|
|
3406
|
-
export declare function SheetTrigger({ ...props }: React_2.ComponentProps<typeof Dialog_2.Trigger>): JSX.Element;
|
|
3407
|
-
|
|
3408
|
-
export declare const Shimmer: MemoExoticComponent<({ children, as: Component, className, duration, spread, gradient, }: TextShimmerProps) => JSX.Element>;
|
|
3409
|
-
|
|
3410
|
-
export declare function Sidebar({ side, variant, collapsible, className, children, dir, ...props }: React_2.ComponentProps<"div"> & {
|
|
3411
|
-
side?: "left" | "right";
|
|
3412
|
-
variant?: "sidebar" | "floating" | "inset";
|
|
3413
|
-
collapsible?: "offcanvas" | "icon" | "none";
|
|
3414
|
-
}): JSX.Element;
|
|
3415
|
-
|
|
3416
|
-
export declare function SidebarContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
3417
|
-
|
|
3418
|
-
declare type SidebarContextProps = {
|
|
3419
|
-
state: "expanded" | "collapsed";
|
|
3420
|
-
open: boolean;
|
|
3421
|
-
setOpen: (open: boolean) => void;
|
|
3422
|
-
openMobile: boolean;
|
|
3423
|
-
setOpenMobile: (open: boolean) => void;
|
|
3424
|
-
isMobile: boolean;
|
|
3425
|
-
toggleSidebar: () => void;
|
|
3426
|
-
};
|
|
3427
|
-
|
|
3428
|
-
export declare function SidebarFooter({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
3429
|
-
|
|
3430
|
-
export declare function SidebarGroup({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
3431
|
-
|
|
3432
|
-
export declare function SidebarGroupAction({ className, asChild, ...props }: React_2.ComponentProps<"button"> & {
|
|
3433
|
-
asChild?: boolean;
|
|
3434
|
-
}): JSX.Element;
|
|
3435
|
-
|
|
3436
|
-
export declare function SidebarGroupContent({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
3437
|
-
|
|
3438
|
-
export declare function SidebarGroupLabel({ className, asChild, ...props }: React_2.ComponentProps<"div"> & {
|
|
3439
|
-
asChild?: boolean;
|
|
3440
|
-
}): JSX.Element;
|
|
3441
|
-
|
|
3442
|
-
export declare function SidebarHeader({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
3443
|
-
|
|
3444
|
-
export declare function SidebarInput({ className, ...props }: React_2.ComponentProps<typeof Input>): JSX.Element;
|
|
3445
|
-
|
|
3446
|
-
export declare function SidebarInset({ className, ...props }: React_2.ComponentProps<"main">): JSX.Element;
|
|
3447
|
-
|
|
3448
|
-
export declare function SidebarMenu({ className, ...props }: React_2.ComponentProps<"ul">): JSX.Element;
|
|
3449
|
-
|
|
3450
|
-
export declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React_2.ComponentProps<"button"> & {
|
|
3451
|
-
asChild?: boolean;
|
|
3452
|
-
showOnHover?: boolean;
|
|
3453
|
-
}): JSX.Element;
|
|
3454
|
-
|
|
3455
|
-
export declare function SidebarMenuBadge({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
3456
|
-
|
|
3457
|
-
export declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React_2.ComponentProps<"button"> & {
|
|
3458
|
-
asChild?: boolean;
|
|
3459
|
-
isActive?: boolean;
|
|
3460
|
-
tooltip?: string | React_2.ComponentProps<typeof TooltipContent>;
|
|
3461
|
-
} & VariantProps<typeof sidebarMenuButtonVariants>): JSX.Element;
|
|
3462
|
-
|
|
3463
|
-
declare const sidebarMenuButtonVariants: (props?: ({
|
|
3464
|
-
variant?: "default" | "outline" | null | undefined;
|
|
3465
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
3466
|
-
} & ClassProp) | undefined) => string;
|
|
3467
|
-
|
|
3468
|
-
export declare function SidebarMenuItem({ className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
3469
|
-
|
|
3470
|
-
export declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React_2.ComponentProps<"div"> & {
|
|
3471
|
-
showIcon?: boolean;
|
|
3472
|
-
}): JSX.Element;
|
|
3473
|
-
|
|
3474
|
-
export declare function SidebarMenuSub({ className, ...props }: React_2.ComponentProps<"ul">): JSX.Element;
|
|
3475
|
-
|
|
3476
|
-
export declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React_2.ComponentProps<"a"> & {
|
|
3477
|
-
asChild?: boolean;
|
|
3478
|
-
size?: "sm" | "md";
|
|
3479
|
-
isActive?: boolean;
|
|
3480
|
-
}): JSX.Element;
|
|
3481
|
-
|
|
3482
|
-
export declare function SidebarMenuSubItem({ className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
3483
|
-
|
|
3484
|
-
export declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React_2.ComponentProps<"div"> & {
|
|
3485
|
-
defaultOpen?: boolean;
|
|
3486
|
-
open?: boolean;
|
|
3487
|
-
onOpenChange?: (open: boolean) => void;
|
|
3488
|
-
}): JSX.Element;
|
|
3489
|
-
|
|
3490
|
-
export declare function SidebarRail({ className, ...props }: React_2.ComponentProps<"button">): JSX.Element;
|
|
3491
|
-
|
|
3492
|
-
export declare function SidebarSeparator({ className, ...props }: React_2.ComponentProps<typeof Separator>): JSX.Element;
|
|
3493
|
-
|
|
3494
|
-
export declare function SidebarTrigger({ className, onClick, ...props }: React_2.ComponentProps<typeof Button>): JSX.Element;
|
|
3495
|
-
|
|
3496
|
-
export declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
|
|
3497
|
-
|
|
3498
|
-
export declare function Slider({ className, defaultValue, value, min, max, ...props }: React_2.ComponentProps<typeof Slider_2.Root>): JSX.Element;
|
|
3499
|
-
|
|
3500
|
-
export declare const Source: ({ href, title, className, children, ...props }: SourceProps) => JSX.Element;
|
|
3501
|
-
|
|
3502
|
-
export declare type SourceProps = ComponentProps<"a">;
|
|
3503
|
-
|
|
3504
|
-
export declare const Sources: ({ className, ...props }: SourcesProps) => JSX.Element;
|
|
3505
|
-
|
|
3506
|
-
export declare const SourcesContent: ({ className, ...props }: SourcesContentProps) => JSX.Element;
|
|
3507
|
-
|
|
3508
|
-
export declare type SourcesContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
3509
|
-
|
|
3510
|
-
export declare type SourcesProps = ComponentProps<"div">;
|
|
3511
|
-
|
|
3512
|
-
export declare const SourcesTrigger: ({ className, count, children, ...props }: SourcesTriggerProps) => JSX.Element;
|
|
3513
|
-
|
|
3514
|
-
export declare type SourcesTriggerProps = ComponentProps<typeof CollapsibleTrigger> & {
|
|
3515
|
-
count: number;
|
|
3516
|
-
};
|
|
3517
|
-
|
|
3518
|
-
export declare const SpeechInput: ({ className, onTranscriptionChange, onAudioRecorded, lang, ...props }: SpeechInputProps) => JSX.Element;
|
|
3519
|
-
|
|
3520
|
-
export declare type SpeechInputProps = ComponentProps<typeof Button> & {
|
|
3521
|
-
onTranscriptionChange?: (text: string) => void;
|
|
3522
|
-
/**
|
|
3523
|
-
* Callback for when audio is recorded using MediaRecorder fallback.
|
|
3524
|
-
* This is called in browsers that don't support the Web Speech API (Firefox, Safari).
|
|
3525
|
-
* The callback receives an audio Blob that should be sent to a transcription service.
|
|
3526
|
-
* Return the transcribed text, which will be passed to onTranscriptionChange.
|
|
3527
|
-
*/
|
|
3528
|
-
onAudioRecorded?: (audioBlob: Blob) => Promise<string>;
|
|
3529
|
-
lang?: string;
|
|
3530
|
-
};
|
|
3531
|
-
|
|
3532
|
-
export declare function Spinner({ className, size, ...props }: React.ComponentProps<"svg"> & VariantProps<typeof spinnerVariants>): JSX.Element;
|
|
3533
|
-
|
|
3534
|
-
export declare const spinnerVariants: (props?: ({
|
|
3535
|
-
size?: "default" | "sm" | "lg" | "md" | null | undefined;
|
|
3536
|
-
} & ClassProp) | undefined) => string;
|
|
3537
|
-
|
|
3538
|
-
export declare function StatCard({ label, value, delta, deltaLabel, trend, description, className, ...props }: StatCardProps): JSX.Element;
|
|
3539
|
-
|
|
3540
|
-
export declare interface StatCardProps extends React_2.ComponentProps<"div"> {
|
|
3541
|
-
label: string;
|
|
3542
|
-
value: string | number;
|
|
3543
|
-
delta?: string | number;
|
|
3544
|
-
deltaLabel?: string;
|
|
3545
|
-
trend?: StatCardTrend;
|
|
3546
|
-
description?: string;
|
|
3547
|
-
}
|
|
3548
|
-
|
|
3549
|
-
export declare type StatCardTrend = "up" | "down" | "neutral";
|
|
3550
|
-
|
|
3551
|
-
/** Built-in Lucide spinner icons that pair well with ts-spin-pulse animation. */
|
|
3552
|
-
export declare const STREAM_STATUS_ICONS: {
|
|
3553
|
-
readonly loader: JSX.Element;
|
|
3554
|
-
readonly "loader-circle": JSX.Element;
|
|
3555
|
-
readonly "loader-pinwheel": JSX.Element;
|
|
3556
|
-
readonly "disc-3": JSX.Element;
|
|
3557
|
-
};
|
|
3558
|
-
|
|
3559
|
-
export declare const StreamStatus: MemoExoticComponent<({ startTime, isStreaming, state: stateProp, showIndicator, tokenCount, tokenLabel, icon, iconVariant, className, }: StreamStatusProps) => JSX.Element>;
|
|
3560
|
-
|
|
3561
|
-
export declare type StreamStatusIconVariant = keyof typeof STREAM_STATUS_ICONS;
|
|
3562
|
-
|
|
3563
|
-
export declare interface StreamStatusProps {
|
|
3564
|
-
/**
|
|
3565
|
-
* Timestamp when streaming started (Date or epoch ms).
|
|
3566
|
-
* The component manages an internal 1-second ticker when set.
|
|
3567
|
-
*/
|
|
3568
|
-
startTime?: Date | number;
|
|
3569
|
-
/** Whether streaming is currently active. Defaults to `true` when `startTime` is set. */
|
|
3570
|
-
isStreaming?: boolean;
|
|
3571
|
-
/**
|
|
3572
|
-
* Explicit state for the right-end indicator dot colour.
|
|
3573
|
-
* If omitted, derived from `isStreaming`: `true` → "streaming", `false` → "idle".
|
|
3574
|
-
*
|
|
3575
|
-
* | state | colour |
|
|
3576
|
-
* |-------------|----------------------------|
|
|
3577
|
-
* | streaming | TS Light Blue 300 (pulsing)|
|
|
3578
|
-
* | idle | muted gray |
|
|
3579
|
-
* | done | TS Forest Green 300 |
|
|
3580
|
-
* | error | TS Imperial Red |
|
|
3581
|
-
*/
|
|
3582
|
-
state?: StreamStatusState;
|
|
3583
|
-
/**
|
|
3584
|
-
* Show the coloured status dot at the right end of the component.
|
|
3585
|
-
* Defaults to `false`.
|
|
3586
|
-
*/
|
|
3587
|
-
showIndicator?: boolean;
|
|
3588
|
-
/** Token count shown after the separator, e.g. `8700` → "↓ 8.7k tokens". */
|
|
3589
|
-
tokenCount?: number;
|
|
3590
|
-
/** Prefix before the formatted token count. Defaults to `↓`. */
|
|
3591
|
-
tokenLabel?: ReactNode;
|
|
3592
|
-
/**
|
|
3593
|
-
* Custom icon (ReactNode). Takes precedence over `iconVariant`.
|
|
3594
|
-
* While streaming, the icon wrapper receives `ts-spin-pulse` — a continuous
|
|
3595
|
-
* rotation that occasionally surges to 1.3× scale.
|
|
3596
|
-
*/
|
|
3597
|
-
icon?: ReactNode;
|
|
3598
|
-
/**
|
|
3599
|
-
* Convenience shorthand to pick a built-in Lucide spinner.
|
|
3600
|
-
* Ignored when `icon` is also provided.
|
|
3601
|
-
*
|
|
3602
|
-
* Options: `"loader"` | `"loader-circle"` | `"loader-pinwheel"` | `"disc-3"`
|
|
3603
|
-
*/
|
|
3604
|
-
iconVariant?: StreamStatusIconVariant;
|
|
3605
|
-
className?: string;
|
|
3606
|
-
}
|
|
3607
|
-
|
|
3608
|
-
export declare type StreamStatusState = "streaming" | "idle" | "done" | "error";
|
|
3609
|
-
|
|
3610
|
-
export declare const Suggestion: ({ suggestion, onClick, className, variant, size, children, ...props }: SuggestionProps) => JSX.Element;
|
|
3611
|
-
|
|
3612
|
-
export declare type SuggestionProps = Omit<ComponentProps<typeof Button>, "onClick"> & {
|
|
3613
|
-
suggestion: string;
|
|
3614
|
-
onClick?: (suggestion: string) => void;
|
|
3615
|
-
};
|
|
3616
|
-
|
|
3617
|
-
export declare const Suggestions: ({ className, children, ...props }: SuggestionsProps) => JSX.Element;
|
|
3618
|
-
|
|
3619
|
-
export declare type SuggestionsProps = ComponentProps<"div">;
|
|
3620
|
-
|
|
3621
|
-
export declare function Switch({ className, size, ...props }: React_2.ComponentProps<typeof Switch_2.Root> & {
|
|
3622
|
-
size?: "sm" | "default";
|
|
3623
|
-
}): JSX.Element;
|
|
3624
|
-
|
|
3625
|
-
export declare function Table({ className, containerClassName, variant, layout, ...props }: React_2.ComponentProps<"table"> & {
|
|
3626
|
-
containerClassName?: string;
|
|
3627
|
-
variant?: "default" | "card";
|
|
3628
|
-
layout?: "auto" | "fixed";
|
|
3629
|
-
}): JSX.Element;
|
|
3630
|
-
|
|
3631
|
-
export declare function TableBody({ className, ...props }: React_2.ComponentProps<"tbody">): JSX.Element;
|
|
3632
|
-
|
|
3633
|
-
export declare function TableCaption({ className, ...props }: React_2.ComponentProps<"caption">): JSX.Element;
|
|
3634
|
-
|
|
3635
|
-
export declare function TableCell({ className, variant, truncate, ...props }: React_2.ComponentProps<"td"> & {
|
|
3636
|
-
variant?: "default" | "numeric" | "action";
|
|
3637
|
-
truncate?: boolean;
|
|
3638
|
-
}): JSX.Element;
|
|
3639
|
-
|
|
3640
|
-
declare interface TableContextValue<TData> {
|
|
3641
|
-
table: Table_2<TData>;
|
|
3642
|
-
columnLabels: Record<string, string>;
|
|
3643
|
-
setColumnLabel: (columnId: string, label: string) => void;
|
|
3644
|
-
filters: FilterCondition[];
|
|
3645
|
-
setFilters: (filters: FilterCondition[]) => void;
|
|
3646
|
-
filterConfig: FilterColumnConfig[];
|
|
3647
|
-
enableFiltering: boolean;
|
|
3648
|
-
grouping: string | null;
|
|
3649
|
-
setGrouping: (columnId: string | null) => void;
|
|
3650
|
-
groupConfig: GroupColumnConfig[];
|
|
3651
|
-
enableGrouping: boolean;
|
|
3652
|
-
}
|
|
3653
|
-
|
|
3654
|
-
export declare function TableFooter({ className, ...props }: React_2.ComponentProps<"tfoot">): JSX.Element;
|
|
3655
|
-
|
|
3656
|
-
export declare function TableHead({ className, variant, truncate, ...props }: React_2.ComponentProps<"th"> & {
|
|
3657
|
-
variant?: "default" | "numeric" | "action";
|
|
3658
|
-
truncate?: boolean;
|
|
3659
|
-
}): JSX.Element;
|
|
3660
|
-
|
|
3661
|
-
export declare function TableHeader({ className, variant, ...props }: React_2.ComponentProps<"thead"> & {
|
|
3662
|
-
variant?: "default" | "sticky";
|
|
3663
|
-
}): JSX.Element;
|
|
3664
|
-
|
|
3665
|
-
export declare function TableRow({ className, ...props }: React_2.ComponentProps<"tr">): JSX.Element;
|
|
3666
|
-
|
|
3667
|
-
export declare function TableToolbar({ className, children, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
3668
|
-
|
|
3669
|
-
export declare function Tabs({ className, orientation, ...props }: React_2.ComponentProps<typeof Tabs_2.Root>): JSX.Element;
|
|
3670
|
-
|
|
3671
|
-
export declare function TabsContent({ className, ...props }: React_2.ComponentProps<typeof Tabs_2.Content>): JSX.Element;
|
|
3672
|
-
|
|
3673
|
-
export declare function TabsList({ className, variant, ...props }: React_2.ComponentProps<typeof Tabs_2.List> & VariantProps<typeof tabsListVariants>): JSX.Element;
|
|
3674
|
-
|
|
3675
|
-
export declare const tabsListVariants: (props?: ({
|
|
3676
|
-
variant?: "line" | "default" | null | undefined;
|
|
3677
|
-
} & ClassProp) | undefined) => string;
|
|
3678
|
-
|
|
3679
|
-
export declare function TabsTrigger({ className, ...props }: React_2.ComponentProps<typeof Tabs_2.Trigger>): JSX.Element;
|
|
3680
|
-
|
|
3681
|
-
export declare const Task: ({ defaultOpen, isStreaming, open, onOpenChange, className, ...props }: TaskProps) => JSX.Element;
|
|
3682
|
-
|
|
3683
|
-
export declare const TaskContent: ({ children, className, ...props }: TaskContentProps) => JSX.Element;
|
|
3684
|
-
|
|
3685
|
-
export declare type TaskContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
3686
|
-
|
|
3687
|
-
export declare const TaskItem: ({ children, className, ...props }: TaskItemProps) => JSX.Element;
|
|
3688
|
-
|
|
3689
|
-
export declare const TaskItemFile: ({ children, className, ...props }: TaskItemFileProps) => JSX.Element;
|
|
3690
|
-
|
|
3691
|
-
export declare type TaskItemFileProps = ComponentProps<"div">;
|
|
3692
|
-
|
|
3693
|
-
export declare type TaskItemProps = ComponentProps<"div">;
|
|
3694
|
-
|
|
3695
|
-
export declare type TaskProps = ComponentProps<typeof Collapsible> & {
|
|
3696
|
-
isStreaming?: boolean;
|
|
3697
|
-
};
|
|
3698
|
-
|
|
3699
|
-
export declare const TaskTrigger: ({ children, className, title, ...props }: TaskTriggerProps) => JSX.Element;
|
|
3700
|
-
|
|
3701
|
-
export declare type TaskTriggerProps = ComponentProps<typeof CollapsibleTrigger> & {
|
|
3702
|
-
title: string;
|
|
3703
|
-
};
|
|
3704
|
-
|
|
3705
|
-
/** Props passed to the renderFilters render prop */
|
|
3706
|
-
export declare interface TdpFiltersRenderProps {
|
|
3707
|
-
filters: TdpSearchFilter[];
|
|
3708
|
-
filterValues: Record<string, string>;
|
|
3709
|
-
onFilterChange: (key: string, value: string) => void;
|
|
3710
|
-
}
|
|
3711
|
-
|
|
3712
|
-
/**
|
|
3713
|
-
* A link component that navigates to TDP pages.
|
|
3714
|
-
*
|
|
3715
|
-
* Renders a standard `<a>` tag with the correct href for right-click
|
|
3716
|
-
* "Open in new tab" support, accessibility, and SEO.
|
|
3717
|
-
*
|
|
3718
|
-
* Must be used inside a `<TdpNavigationProvider>`.
|
|
3719
|
-
*
|
|
3720
|
-
* @example
|
|
3721
|
-
* ```tsx
|
|
3722
|
-
* import { TDPLink, tdpPaths } from '@tetrascience-npm/tetrascience-react-ui';
|
|
3723
|
-
*
|
|
3724
|
-
* <TDPLink path={tdpPaths.fileDetails("abc-123")}>
|
|
3725
|
-
* View File Details
|
|
3726
|
-
* </TDPLink>
|
|
3727
|
-
*
|
|
3728
|
-
* <TDPLink path="/search?q=test" navigationOptions={{ newTab: false }}>
|
|
3729
|
-
* Search in TDP (same tab)
|
|
3730
|
-
* </TDPLink>
|
|
3731
|
-
* ```
|
|
3732
|
-
*/
|
|
3733
|
-
export declare const TDPLink: default_2.FC<TDPLinkProps>;
|
|
3734
|
-
|
|
3735
|
-
/** Props for the TDPLink component */
|
|
3736
|
-
export declare interface TDPLinkProps extends Omit<default_2.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
|
|
3737
|
-
/** TDP page path (e.g., "/file/abc-123" or use tdpPaths helpers) */
|
|
3738
|
-
path: string;
|
|
3739
|
-
/** Navigation behavior. Default: { newTab: true } */
|
|
3740
|
-
navigationOptions?: TdpNavigationOptions;
|
|
3741
|
-
children: default_2.ReactNode;
|
|
3742
|
-
ref?: default_2.Ref<HTMLAnchorElement>;
|
|
3743
|
-
}
|
|
3744
|
-
|
|
3745
|
-
export declare const TdpNavigationContext: default_2.Context<TdpNavigationContextValue | null>;
|
|
3746
|
-
|
|
3747
|
-
export declare interface TdpNavigationContextValue {
|
|
3748
|
-
/** The resolved TDP base URL (origin + org path prefix), or null if not resolved */
|
|
3749
|
-
tdpBaseUrl: string | null;
|
|
3750
|
-
/** Construct a full TDP URL from a path. Returns null if base URL is not resolved. */
|
|
3751
|
-
getTdpUrl: (path: string) => string | null;
|
|
3752
|
-
/** Navigate to a TDP page. */
|
|
3753
|
-
navigateToTdp: (path: string, options?: TdpNavigationOptions) => void;
|
|
3754
|
-
}
|
|
3755
|
-
|
|
3756
|
-
export declare interface TdpNavigationOptions {
|
|
3757
|
-
/** Open in a new tab instead of navigating the parent TDP frame. Default: false */
|
|
3758
|
-
newTab?: boolean;
|
|
3759
|
-
}
|
|
3760
|
-
|
|
3761
|
-
/**
|
|
3762
|
-
* Provider that resolves the TDP base URL and exposes navigation helpers.
|
|
3763
|
-
*
|
|
3764
|
-
* Resolution order:
|
|
3765
|
-
* 1. Explicit `tdpBaseUrl` prop (if provided)
|
|
3766
|
-
* 2. `document.referrer` parsing (production iframe)
|
|
3767
|
-
*
|
|
3768
|
-
* @example
|
|
3769
|
-
* ```tsx
|
|
3770
|
-
* <TdpNavigationProvider tdpBaseUrl="https://tetrascience.com/my-org">
|
|
3771
|
-
* <App />
|
|
3772
|
-
* </TdpNavigationProvider>
|
|
3773
|
-
* ```
|
|
3774
|
-
*/
|
|
3775
|
-
export declare const TdpNavigationProvider: default_2.FC<TdpNavigationProviderProps>;
|
|
3776
|
-
|
|
3777
|
-
/** Props for the TdpNavigationProvider component */
|
|
3778
|
-
export declare interface TdpNavigationProviderProps {
|
|
3779
|
-
/**
|
|
3780
|
-
* Explicit TDP base URL override. Skips auto-detection when provided.
|
|
3781
|
-
*/
|
|
3782
|
-
tdpBaseUrl?: string;
|
|
3783
|
-
children: default_2.ReactNode;
|
|
3784
|
-
}
|
|
3785
|
-
|
|
3786
|
-
/**
|
|
3787
|
-
* Convenience helpers for constructing common TDP page paths.
|
|
3788
|
-
* Returns path strings for use with `getTdpUrl()` or `buildTdpUrl()`.
|
|
3789
|
-
*
|
|
3790
|
-
* @example
|
|
3791
|
-
* const { getTdpUrl } = useTdpNavigation();
|
|
3792
|
-
* const url = getTdpUrl(tdpPaths.fileDetails("abc-123"));
|
|
3793
|
-
*/
|
|
3794
|
-
export declare const tdpPaths: {
|
|
3795
|
-
fileDetails: (fileId: string) => string;
|
|
3796
|
-
pipelineEdit: (pipelineId: string) => string;
|
|
3797
|
-
pipelineDetails: (pipelineId: string) => string;
|
|
3798
|
-
search: (query?: string) => string;
|
|
3799
|
-
dataWorkspace: () => string;
|
|
3800
|
-
dataApps: () => string;
|
|
3801
|
-
artifact: (type: string, namespace: string, slug: string) => string;
|
|
3802
|
-
};
|
|
3803
|
-
|
|
3804
|
-
/** Props passed to the renderResults render prop */
|
|
3805
|
-
export declare interface TdpResultsRenderProps {
|
|
3806
|
-
results: SearchResult[];
|
|
3807
|
-
total: number;
|
|
3808
|
-
currentPage: number;
|
|
3809
|
-
pageSize: number;
|
|
3810
|
-
columns: TdpSearchColumn[];
|
|
3811
|
-
onPageChange: (page: number) => void;
|
|
3812
|
-
sortKey: string | null;
|
|
3813
|
-
sortDirection: "asc" | "desc";
|
|
3814
|
-
onSort: (key: string, direction: "asc" | "desc") => void;
|
|
3815
|
-
}
|
|
3816
|
-
|
|
3817
|
-
/**
|
|
3818
|
-
* TdpSearch Component
|
|
3819
|
-
*
|
|
3820
|
-
* A reusable search component for querying the TDP.
|
|
3821
|
-
*
|
|
3822
|
-
* @example
|
|
3823
|
-
* ```tsx
|
|
3824
|
-
* <TdpSearch
|
|
3825
|
-
* columns={[
|
|
3826
|
-
* { key: "id", header: "ID" },
|
|
3827
|
-
* { key: "filePath", header: "File Path", sortable: true }
|
|
3828
|
-
* ]}
|
|
3829
|
-
* defaultQuery="sample-data"
|
|
3830
|
-
* pageSize={20}
|
|
3831
|
-
* />
|
|
3832
|
-
* ```
|
|
3833
|
-
*/
|
|
3834
|
-
export declare const TdpSearch: default_2.FC<TdpSearchProps>;
|
|
3835
|
-
|
|
3836
|
-
/** Props passed to the renderSearchBar render prop */
|
|
3837
|
-
export declare interface TdpSearchBarRenderProps {
|
|
3838
|
-
query: string;
|
|
3839
|
-
setQuery: (query: string) => void;
|
|
3840
|
-
onSearch: () => void;
|
|
3841
|
-
isLoading: boolean;
|
|
3842
|
-
placeholder: string;
|
|
3843
|
-
}
|
|
3844
|
-
|
|
3845
|
-
/** Configuration for column display */
|
|
3846
|
-
export declare interface TdpSearchColumn {
|
|
3847
|
-
key: string;
|
|
3848
|
-
header: string;
|
|
3849
|
-
sortable?: boolean;
|
|
3850
|
-
width?: string;
|
|
3851
|
-
align?: "left" | "center" | "right";
|
|
3852
|
-
render?: (value: any, row: SearchResult, index: number) => default_2.ReactNode;
|
|
3853
|
-
}
|
|
3854
|
-
|
|
3855
|
-
/** Search connection configuration */
|
|
3856
|
-
export declare interface TdpSearchConfig {
|
|
3857
|
-
/**
|
|
3858
|
-
* When true, calls the TDP API directly from the browser
|
|
3859
|
-
* When false/omitted, proxies the request through your backend `apiEndpoint`
|
|
3860
|
-
*/
|
|
3861
|
-
standalone?: boolean;
|
|
3862
|
-
/** TDP API base URL (required when standalone is true) */
|
|
3863
|
-
baseUrl?: string;
|
|
3864
|
-
/** Backend API endpoint for search (used when standalone is false). Defaults to '/api/search' */
|
|
3865
|
-
apiEndpoint?: string;
|
|
3866
|
-
/** Common | authentication token */
|
|
3867
|
-
authToken?: string;
|
|
3868
|
-
/** Common | organization slug */
|
|
3869
|
-
orgSlug?: string;
|
|
3870
|
-
}
|
|
3871
|
-
|
|
3872
|
-
/** Configuration for a search filter */
|
|
3873
|
-
export declare interface TdpSearchFilter {
|
|
3874
|
-
key: string;
|
|
3875
|
-
label: string;
|
|
3876
|
-
options: {
|
|
3877
|
-
value: string;
|
|
3878
|
-
label: string;
|
|
3879
|
-
disabled: boolean;
|
|
3880
|
-
}[];
|
|
3881
|
-
}
|
|
3882
|
-
|
|
3883
|
-
export declare type TdpSearchProps = CommonTdpSearchProps & TdpSearchConfig;
|
|
3884
|
-
|
|
3885
|
-
/** Sort configuration */
|
|
3886
|
-
export declare interface TdpSearchSort {
|
|
3887
|
-
field: string;
|
|
3888
|
-
order: "asc" | "desc";
|
|
3889
|
-
}
|
|
3890
|
-
|
|
3891
|
-
export declare function TemplateIOPanel({ templates, templateId, onTemplateChange, onClearTemplate, hasEntries, onImportCsv, onExportCsv, onImportTemplate, onExportTemplate, className, csvAccept, templateAccept, }: TemplateIOPanelProps): JSX.Element;
|
|
3892
|
-
|
|
3893
|
-
export declare interface TemplateIOPanelProps extends ImportExportHandlers {
|
|
3894
|
-
templates?: TemplateOption[];
|
|
3895
|
-
templateId?: string;
|
|
3896
|
-
onTemplateChange?: (id: string) => void;
|
|
3897
|
-
onClearTemplate?: () => void;
|
|
3898
|
-
/** Disable export buttons when there's nothing to export. */
|
|
3899
|
-
hasEntries?: boolean;
|
|
3900
|
-
className?: string;
|
|
3901
|
-
csvAccept?: string;
|
|
3902
|
-
templateAccept?: string;
|
|
3903
|
-
}
|
|
3904
|
-
|
|
3905
|
-
export declare interface TemplateOption {
|
|
3906
|
-
id: string;
|
|
3907
|
-
label: string;
|
|
3908
|
-
/** Optional group header in the dropdown (e.g. "Built-in", "User"). */
|
|
3909
|
-
group?: string;
|
|
3910
|
-
/** Optional supporting text for richer chooser menus. */
|
|
3911
|
-
description?: string;
|
|
3912
|
-
disabled?: boolean;
|
|
3913
|
-
}
|
|
3914
|
-
|
|
3915
|
-
export declare const TetraScienceIcon: React_2.ForwardRefExoticComponent<Omit<TetraScienceIconProps, "ref"> & React_2.RefAttributes<SVGSVGElement>>;
|
|
3916
|
-
|
|
3917
|
-
export declare interface TetraScienceIconProps extends React_2.SVGProps<SVGSVGElement> {
|
|
3918
|
-
size?: number | string;
|
|
3919
|
-
}
|
|
3920
|
-
|
|
3921
|
-
export declare function Textarea({ className, ...props }: React_2.ComponentProps<"textarea">): JSX.Element;
|
|
3922
|
-
|
|
3923
|
-
export declare interface TextInputContext {
|
|
3924
|
-
value: string;
|
|
3925
|
-
setInput: (v: string) => void;
|
|
3926
|
-
clear: () => void;
|
|
3927
|
-
}
|
|
3928
|
-
|
|
3929
|
-
export declare interface TextShimmerProps {
|
|
3930
|
-
children: string;
|
|
3931
|
-
as?: ElementType;
|
|
3932
|
-
className?: string;
|
|
3933
|
-
duration?: number;
|
|
3934
|
-
spread?: number;
|
|
3935
|
-
/**
|
|
3936
|
-
* CSS gradient used as the base text colour. Defaults to `muted-foreground`.
|
|
3937
|
-
* Pass `TS_SHIMMER_GRADIENT` (or any custom gradient) to colour the text
|
|
3938
|
-
* with the brand blue→purple sweep.
|
|
3939
|
-
*/
|
|
3940
|
-
gradient?: string;
|
|
3941
|
-
}
|
|
3942
|
-
|
|
3943
|
-
export declare const Toaster: ({ ...props }: ToasterProps) => JSX.Element;
|
|
3944
|
-
|
|
3945
|
-
export declare function Toggle({ className, variant, size, ...props }: React_2.ComponentProps<typeof Toggle_2.Root> & VariantProps<typeof toggleVariants>): JSX.Element;
|
|
3946
|
-
|
|
3947
|
-
export declare function ToggleGroup({ className, variant, size, spacing, orientation, children, ...props }: React_2.ComponentProps<typeof ToggleGroup_2.Root> & VariantProps<typeof toggleVariants> & {
|
|
3948
|
-
spacing?: number;
|
|
3949
|
-
orientation?: "horizontal" | "vertical";
|
|
3950
|
-
}): JSX.Element;
|
|
3951
|
-
|
|
3952
|
-
export declare function ToggleGroupItem({ className, children, variant, size, ...props }: React_2.ComponentProps<typeof ToggleGroup_2.Item> & VariantProps<typeof toggleVariants>): JSX.Element;
|
|
3953
|
-
|
|
3954
|
-
export declare const toggleVariants: (props?: ({
|
|
3955
|
-
variant?: "default" | "outline" | null | undefined;
|
|
3956
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
3957
|
-
} & ClassProp) | undefined) => string;
|
|
3958
|
-
|
|
3959
|
-
declare interface TokenizedCode {
|
|
3960
|
-
tokens: ThemedToken[][];
|
|
3961
|
-
fg: string;
|
|
3962
|
-
bg: string;
|
|
3963
|
-
}
|
|
3964
|
-
|
|
3965
|
-
export declare const Tool: ({ className, isStreaming, open, onOpenChange, defaultOpen, ...props }: ToolProps) => JSX.Element;
|
|
3966
|
-
|
|
3967
|
-
export declare const ToolContent: ({ className, ...props }: ToolContentProps) => JSX.Element;
|
|
3968
|
-
|
|
3969
|
-
export declare type ToolContentProps = ComponentProps<typeof CollapsibleContent>;
|
|
3970
|
-
|
|
3971
|
-
export declare const ToolHeader: ({ className, title, type, state, toolName, ...props }: ToolHeaderProps) => JSX.Element;
|
|
3972
|
-
|
|
3973
|
-
export declare type ToolHeaderProps = {
|
|
3974
|
-
title?: string;
|
|
3975
|
-
className?: string;
|
|
3976
|
-
} & ({
|
|
3977
|
-
type: ToolUIPart["type"];
|
|
3978
|
-
state: ToolUIPart["state"];
|
|
3979
|
-
toolName?: never;
|
|
3980
|
-
} | {
|
|
3981
|
-
type: DynamicToolUIPart["type"];
|
|
3982
|
-
state: DynamicToolUIPart["state"];
|
|
3983
|
-
toolName: string;
|
|
3984
|
-
});
|
|
3985
|
-
|
|
3986
|
-
export declare const ToolInput: ({ className, input, ...props }: ToolInputProps) => JSX.Element;
|
|
3987
|
-
|
|
3988
|
-
export declare type ToolInputProps = ComponentProps<"div"> & {
|
|
3989
|
-
input: ToolPart["input"];
|
|
3990
|
-
};
|
|
3991
|
-
|
|
3992
|
-
export declare const ToolOutput: ({ className, output, errorText, ...props }: ToolOutputProps) => JSX.Element | null;
|
|
3993
|
-
|
|
3994
|
-
export declare type ToolOutputProps = ComponentProps<"div"> & {
|
|
3995
|
-
output: ToolPart["output"];
|
|
3996
|
-
errorText: ToolPart["errorText"];
|
|
3997
|
-
};
|
|
3998
|
-
|
|
3999
|
-
export declare type ToolPart = ToolUIPart | DynamicToolUIPart;
|
|
4000
|
-
|
|
4001
|
-
export declare type ToolProps = ComponentProps<typeof Collapsible> & {
|
|
4002
|
-
isStreaming?: boolean;
|
|
4003
|
-
};
|
|
4004
|
-
|
|
4005
|
-
export declare function Tooltip({ ...props }: React_2.ComponentProps<typeof Tooltip_2.Root>): JSX.Element;
|
|
4006
|
-
|
|
4007
|
-
export declare function TooltipContent({ className, sideOffset, children, ...props }: React_2.ComponentProps<typeof Tooltip_2.Content>): JSX.Element;
|
|
4008
|
-
|
|
4009
|
-
export declare function TooltipProvider({ delayDuration, ...props }: React_2.ComponentProps<typeof Tooltip_2.Provider>): JSX.Element;
|
|
4010
|
-
|
|
4011
|
-
export declare function TooltipTrigger({ ...props }: React_2.ComponentProps<typeof Tooltip_2.Trigger>): JSX.Element;
|
|
4012
|
-
|
|
4013
|
-
declare type ToolUIPartApproval = {
|
|
4014
|
-
id: string;
|
|
4015
|
-
approved?: never;
|
|
4016
|
-
reason?: never;
|
|
4017
|
-
} | {
|
|
4018
|
-
id: string;
|
|
4019
|
-
approved: boolean;
|
|
4020
|
-
reason?: string;
|
|
4021
|
-
} | {
|
|
4022
|
-
id: string;
|
|
4023
|
-
approved: true;
|
|
4024
|
-
reason?: string;
|
|
4025
|
-
} | {
|
|
4026
|
-
id: string;
|
|
4027
|
-
approved: false;
|
|
4028
|
-
reason?: string;
|
|
4029
|
-
} | undefined;
|
|
4030
|
-
|
|
4031
|
-
/**
|
|
4032
|
-
* Convert a color ramp (e.g. `CHART_SEQUENTIAL.blue`, `CHART_DIVERGING.blueOrange`)
|
|
4033
|
-
* into Plotly's colorscale format: evenly spaced [position, color] stops.
|
|
4034
|
-
*/
|
|
4035
|
-
export declare const toPlotlyColorscale: (ramp: readonly string[]) => Array<[number, string]>;
|
|
4036
|
-
|
|
4037
|
-
export declare function triagePlateMapCsvByBarcode(text: string, options?: PlateMapCsvTriageOptions): PlateMapCsvTriage;
|
|
4038
|
-
|
|
4039
|
-
export declare function triagePlateMapCsvFile(file: File, options?: PlateMapCsvTriageOptions): Promise<PlateMapCsvTriage | undefined>;
|
|
4040
|
-
|
|
4041
|
-
/** TetraScience brand gradient — Light Blue 300 → Purple 500 → Violet Marble */
|
|
4042
|
-
export declare const TS_SHIMMER_GRADIENT = "linear-gradient(90deg, #549DFF, #8243BA, #9665F4)";
|
|
4043
|
-
|
|
4044
|
-
export declare const useAttachmentContext: () => AttachmentContextValue;
|
|
4045
|
-
|
|
4046
|
-
export declare const useAttachmentsContext: () => AttachmentsContextValue;
|
|
4047
|
-
|
|
4048
|
-
export declare function useCarousel(): CarouselContextProps;
|
|
4049
|
-
|
|
4050
|
-
declare type UseCarouselParameters = Parameters<typeof default_3>;
|
|
4051
|
-
|
|
4052
|
-
/**
|
|
4053
|
-
* Drives the design-system tooltip from Plotly hover events.
|
|
4054
|
-
*
|
|
4055
|
-
* ```tsx
|
|
4056
|
-
* const { bindTooltip, tooltipElement } = useChartTooltip({ xLabel, yLabel });
|
|
4057
|
-
* // after Plotly.newPlot(...): set trace hoverinfo to "none", then
|
|
4058
|
-
* bindTooltip(plotRef.current);
|
|
4059
|
-
* // anywhere in the chart markup:
|
|
4060
|
-
* {tooltipElement}
|
|
4061
|
-
* ```
|
|
4062
|
-
*/
|
|
4063
|
-
export declare function useChartTooltip(options?: UseChartTooltipOptions): {
|
|
4064
|
-
bindTooltip: (plotDiv: HTMLElement | null) => void;
|
|
4065
|
-
tooltipElement: JSX.Element;
|
|
4066
|
-
};
|
|
4067
|
-
|
|
4068
|
-
export declare interface UseChartTooltipOptions {
|
|
4069
|
-
/** Axis label used for the default x line (falls back to "X") */
|
|
4070
|
-
xLabel?: string;
|
|
4071
|
-
/** Axis label used for the default y line (falls back to "Y") */
|
|
4072
|
-
yLabel?: string;
|
|
4073
|
-
/** Override the default line builder entirely */
|
|
4074
|
-
getLines?: (points: ChartTooltipHoverPoint[]) => string[];
|
|
4075
|
-
/**
|
|
4076
|
-
* Track the cursor instead of anchoring to the hovered point's bounds, and
|
|
4077
|
-
* keep the tooltip clamped inside the viewport. Use for traces with large
|
|
4078
|
-
* hover targets (e.g. pie slices) where a fixed anchor feels disconnected.
|
|
4079
|
-
*/
|
|
4080
|
-
followCursor?: boolean;
|
|
4081
|
-
/**
|
|
4082
|
-
* Override Plotly's hover hit radius (px). A larger radius makes big markers
|
|
4083
|
-
* (e.g. heatmap circles) hoverable across their whole face.
|
|
4084
|
-
*/
|
|
4085
|
-
hoverDistance?: number;
|
|
4086
|
-
/**
|
|
4087
|
-
* Preferred side to place the tooltip on relative to the point. Auto-flips to
|
|
4088
|
-
* the opposite side when there isn't room (Radix-style). Defaults to "top".
|
|
4089
|
-
*/
|
|
4090
|
-
side?: ChartTooltipSide;
|
|
4091
|
-
}
|
|
4092
|
-
|
|
4093
|
-
export declare function useComboboxAnchor(): React_2.RefObject<HTMLDivElement | null>;
|
|
4094
|
-
|
|
4095
|
-
export declare function useDataTable<TData = unknown>(): TableContextValue<TData>;
|
|
4096
|
-
|
|
4097
|
-
export declare const usePromptInputAttachments: () => AttachmentsContext;
|
|
4098
|
-
|
|
4099
|
-
export declare const usePromptInputController: () => PromptInputControllerProps;
|
|
4100
|
-
|
|
4101
|
-
export declare const usePromptInputReferencedSources: () => ReferencedSourcesContext;
|
|
4102
|
-
|
|
4103
|
-
export declare const useProviderAttachments: () => AttachmentsContext;
|
|
4104
|
-
|
|
4105
|
-
export declare const useReasoning: () => ReasoningContextValue;
|
|
4106
|
-
|
|
4107
|
-
export declare function useSearch(config: UseSearchConfig): UseSearchResult;
|
|
4108
|
-
|
|
4109
|
-
export declare type UseSearchConfig = {
|
|
4110
|
-
pageSize: number;
|
|
4111
|
-
} & TdpSearchConfig;
|
|
4112
|
-
|
|
4113
|
-
export declare interface UseSearchResult {
|
|
4114
|
-
results: SearchResult[];
|
|
4115
|
-
total: number;
|
|
4116
|
-
currentPage: number;
|
|
4117
|
-
isLoading: boolean;
|
|
4118
|
-
error: string | null;
|
|
4119
|
-
executeSearch: (searchRequest: Omit<SearchEqlRequest, "from" | "size">, page?: number) => Promise<SearchResult[]>;
|
|
4120
|
-
}
|
|
4121
|
-
|
|
4122
|
-
export declare function useSidebar(): SidebarContextProps;
|
|
4123
|
-
|
|
4124
|
-
/**
|
|
4125
|
-
* Standalone hook for TDP navigation (no provider required).
|
|
4126
|
-
*
|
|
4127
|
-
* For simple use cases where you don't need a TdpNavigationProvider.
|
|
4128
|
-
* If multiple components need navigation, prefer the provider approach.
|
|
4129
|
-
*
|
|
4130
|
-
* @example
|
|
4131
|
-
* ```tsx
|
|
4132
|
-
* function MyComponent() {
|
|
4133
|
-
* const { getTdpUrl, navigateToTdp } = useTdpNavigation({
|
|
4134
|
-
* tdpBaseUrl: "https://tetrascience.com/my-org",
|
|
4135
|
-
* });
|
|
4136
|
-
*
|
|
4137
|
-
* return (
|
|
4138
|
-
* <a href={getTdpUrl("/file/abc") ?? "#"} target="_blank" rel="noopener noreferrer">
|
|
4139
|
-
* View File
|
|
4140
|
-
* </a>
|
|
4141
|
-
* );
|
|
4142
|
-
* }
|
|
4143
|
-
* ```
|
|
4144
|
-
*/
|
|
4145
|
-
export declare function useTdpNavigation(options?: UseTdpNavigationOptions): UseTdpNavigationReturn;
|
|
4146
|
-
|
|
4147
|
-
/**
|
|
4148
|
-
* Access TDP navigation helpers from the nearest TdpNavigationProvider.
|
|
4149
|
-
*
|
|
4150
|
-
* @throws Error if used outside a TdpNavigationProvider
|
|
4151
|
-
*
|
|
4152
|
-
* @example
|
|
4153
|
-
* ```tsx
|
|
4154
|
-
* const { getTdpUrl, navigateToTdp } = useTdpNavigationContext();
|
|
4155
|
-
* ```
|
|
4156
|
-
*/
|
|
4157
|
-
export declare function useTdpNavigationContext(): TdpNavigationContextValue;
|
|
4158
|
-
|
|
4159
|
-
export declare interface UseTdpNavigationOptions {
|
|
4160
|
-
/** Explicit TDP base URL override */
|
|
4161
|
-
tdpBaseUrl?: string;
|
|
4162
|
-
}
|
|
4163
|
-
|
|
4164
|
-
export declare interface UseTdpNavigationReturn {
|
|
4165
|
-
/** The resolved TDP base URL, or null */
|
|
4166
|
-
tdpBaseUrl: string | null;
|
|
4167
|
-
/** Construct a full TDP URL from a path */
|
|
4168
|
-
getTdpUrl: (path: string) => string | null;
|
|
4169
|
-
/** Navigate to a TDP page */
|
|
4170
|
-
navigateToTdp: (path: string, options?: TdpNavigationOptions) => void;
|
|
4171
|
-
}
|
|
4172
|
-
|
|
4173
|
-
/**
|
|
4174
|
-
* Visualization mode for the plate map.
|
|
4175
|
-
* - `"heatmap"`: Displays quantitative values as a continuous color gradient.
|
|
4176
|
-
* Use for OD readings, fluorescence intensity, or other numeric measurements.
|
|
4177
|
-
* - `"categorical"`: Displays well types with discrete colors.
|
|
4178
|
-
* Use for showing sample types, control positions, or experimental conditions.
|
|
4179
|
-
*/
|
|
4180
|
-
declare type VisualizationMode = "heatmap" | "categorical";
|
|
4181
|
-
|
|
4182
|
-
export declare interface WellColumn<T extends WellRecord = WellRecord> {
|
|
4183
|
-
/** Stable id; falls back to `field` if omitted. */
|
|
4184
|
-
id?: string;
|
|
4185
|
-
header: string;
|
|
4186
|
-
/** Optional leading icon in the table header. */
|
|
4187
|
-
icon?: React_2.ReactNode;
|
|
4188
|
-
/** Read direct property when `field` is set. */
|
|
4189
|
-
field?: keyof T & string;
|
|
4190
|
-
/** Min width in px (applied via inline style). */
|
|
4191
|
-
minWidth?: number;
|
|
4192
|
-
/**
|
|
4193
|
-
* Cell renderer. If omitted, the cell renders a display value. `select`
|
|
4194
|
-
* fields render as badge-style custom cells using the matching option label.
|
|
4195
|
-
*/
|
|
4196
|
-
render?: (ctx: {
|
|
4197
|
-
row: T;
|
|
4198
|
-
wellId: WellId;
|
|
4199
|
-
update: (patch: Partial<T>) => void;
|
|
4200
|
-
}) => React_2.ReactNode;
|
|
4201
|
-
}
|
|
4202
|
-
|
|
4203
|
-
/**
|
|
4204
|
-
* Well data for individual wells.
|
|
4205
|
-
*
|
|
4206
|
-
* @example
|
|
4207
|
-
* // Well with a single numeric value
|
|
4208
|
-
* { wellId: "A1", values: { "Fluorescence": 1500 } }
|
|
4209
|
-
*
|
|
4210
|
-
* @example
|
|
4211
|
-
* // Well with multiple values (creates multiple layers)
|
|
4212
|
-
* { wellId: "A1", values: { "Raw": 1500, "Normalized": 0.85, "Status": "positive" } }
|
|
4213
|
-
*
|
|
4214
|
-
* @example
|
|
4215
|
-
* // Well with tooltip-only data
|
|
4216
|
-
* { wellId: "A1", values: { "Value": 500 }, tooltipData: { compound: "Drug A", concentration: "10µM" } }
|
|
4217
|
-
*/
|
|
4218
|
-
export declare interface WellData {
|
|
4219
|
-
/**
|
|
4220
|
-
* Well identifier in standard microplate notation.
|
|
4221
|
-
* - Single letter + number for 96/384-well: "A1", "H12", "P24"
|
|
4222
|
-
* - Double letter + number for 1536-well: "A1", "AA1", "AF48"
|
|
4223
|
-
* Case-insensitive ("a1" and "A1" are equivalent).
|
|
4224
|
-
*/
|
|
4225
|
-
wellId: string;
|
|
4226
|
-
/**
|
|
4227
|
-
* Named values for the well. Each key can become a visualization layer.
|
|
4228
|
-
*
|
|
4229
|
-
* - Numeric values: Displayed using heatmap visualization
|
|
4230
|
-
* - String values: Displayed using categorical visualization
|
|
4231
|
-
* - null: Empty/no data for that property
|
|
4232
|
-
*
|
|
4233
|
-
* All values are shown in the tooltip regardless of which layer is active.
|
|
4234
|
-
*
|
|
4235
|
-
* @example
|
|
4236
|
-
* // Well with multiple measurement values (numeric)
|
|
4237
|
-
* { wellId: "A1", values: { "Raw": 1500, "Normalized": 0.85, "Z-Score": 1.2 } }
|
|
4238
|
-
*
|
|
4239
|
-
* @example
|
|
4240
|
-
* // Well with categorical values (string)
|
|
4241
|
-
* { wellId: "A1", values: { "Status": "positive", "QC": "pass" } }
|
|
4242
|
-
*
|
|
4243
|
-
* @example
|
|
4244
|
-
* // Mixed numeric and categorical
|
|
4245
|
-
* { wellId: "A1", values: { "Fluorescence": 1500, "Status": "positive" } }
|
|
4246
|
-
*/
|
|
4247
|
-
values?: Record<string, string | number | null>;
|
|
4248
|
-
/**
|
|
4249
|
-
* Optional data for tooltip display only (not visualized as layers).
|
|
4250
|
-
* Keys become labels, values are displayed.
|
|
4251
|
-
*
|
|
4252
|
-
* @example
|
|
4253
|
-
* { tooltipData: { sampleId: "S001", compound: "Drug A", concentration: "10µM" } }
|
|
4254
|
-
*/
|
|
4255
|
-
tooltipData?: Record<string, unknown>;
|
|
4256
|
-
}
|
|
4257
|
-
|
|
4258
|
-
export declare interface WellField<T extends WellRecord = WellRecord> {
|
|
4259
|
-
/** Key in the well record this field reads/writes. */
|
|
4260
|
-
key: keyof T & string;
|
|
4261
|
-
label: string;
|
|
4262
|
-
/** Optional leading icon shown in form labels and matching table headers. */
|
|
4263
|
-
icon?: React_2.ReactNode;
|
|
4264
|
-
kind: WellFieldKind;
|
|
4265
|
-
placeholder?: string;
|
|
4266
|
-
/** Required for `kind: "select"` and `kind: "multiselect"`. */
|
|
4267
|
-
options?: WellSelectOption[];
|
|
4268
|
-
/** Visual style for `kind: "boolean"`. Defaults to `"checkbox"`. */
|
|
4269
|
-
boolStyle?: "checkbox" | "switch";
|
|
4270
|
-
/**
|
|
4271
|
-
* When true, matching `WellManifestTable` cells render an inline editor of
|
|
4272
|
-
* this field's `kind` (mirroring the form). Defaults to false — cells stay
|
|
4273
|
-
* read-only unless the developer opts in or supplies `WellColumn.render`.
|
|
4274
|
-
*/
|
|
4275
|
-
editableInTable?: boolean;
|
|
4276
|
-
/**
|
|
4277
|
-
* Custom renderer for the form input. Receives current value and a setter
|
|
4278
|
-
* that patches the field on the staged form record.
|
|
4279
|
-
*/
|
|
4280
|
-
render?: (ctx: {
|
|
4281
|
-
value: unknown;
|
|
4282
|
-
onChange: (next: unknown) => void;
|
|
4283
|
-
selectionSize: number;
|
|
4284
|
-
}) => React_2.ReactNode;
|
|
4285
|
-
}
|
|
4286
|
-
|
|
4287
|
-
/**
|
|
4288
|
-
* Field kinds rendered by `WellMetadataForm` and (when `editableInTable`) by
|
|
4289
|
-
* `WellManifestTable`.
|
|
4290
|
-
*/
|
|
4291
|
-
export declare type WellFieldKind = "text" | "number" | "integer" | "boolean" | "date" | "datetime" | "time" | "select" | "multiselect" | "custom";
|
|
4292
|
-
|
|
4293
|
-
export declare type WellId = string;
|
|
4294
|
-
|
|
4295
|
-
export declare function WellLegend({ items, renderItem, onHoverEnter, onHoverLeave, onRemove, removeLabel, emptyLabel, className, }: WellLegendProps): JSX.Element;
|
|
4296
|
-
|
|
4297
|
-
export declare interface WellLegendItem {
|
|
4298
|
-
id: string;
|
|
4299
|
-
label: React_2.ReactNode;
|
|
4300
|
-
color: string;
|
|
4301
|
-
/** Optional secondary text shown beneath the label. */
|
|
4302
|
-
meta?: React_2.ReactNode;
|
|
4303
|
-
disabled?: boolean;
|
|
4304
|
-
}
|
|
4305
|
-
|
|
4306
|
-
export declare interface WellLegendProps {
|
|
4307
|
-
items: WellLegendItem[];
|
|
4308
|
-
/** Render-prop for fully custom cards. Bypasses the default card layout. */
|
|
4309
|
-
renderItem?: (item: WellLegendItem) => React_2.ReactNode;
|
|
4310
|
-
onHoverEnter?: (id: string) => void;
|
|
4311
|
-
onHoverLeave?: (id: string) => void;
|
|
4312
|
-
onRemove?: (id: string) => void;
|
|
4313
|
-
removeLabel?: string;
|
|
4314
|
-
emptyLabel?: string;
|
|
4315
|
-
className?: string;
|
|
4316
|
-
}
|
|
4317
|
-
|
|
4318
|
-
export declare function WellManifestTable<T extends WellRecord = WellRecord>({ values, columns, fields, selection, onSelectionChange, onChange, emptyEntry, isPopulated, pageSize: initialPageSize, pageSizeOptions, enableFillDown, rowProps, filterable, filterColumns, groupable, className, }: WellManifestTableProps<T>): JSX.Element;
|
|
4319
|
-
|
|
4320
|
-
export declare interface WellManifestTableProps<T extends WellRecord = WellRecord> {
|
|
4321
|
-
values: Map<WellId, T>;
|
|
4322
|
-
columns: WellColumn<T>[];
|
|
4323
|
-
/**
|
|
4324
|
-
* Field schema. If a column has `field` matching a `select`-kind field, a
|
|
4325
|
-
* Select cell renders automatically with that field's options.
|
|
4326
|
-
*/
|
|
4327
|
-
fields?: WellField<T>[];
|
|
4328
|
-
selection?: Set<WellId>;
|
|
4329
|
-
onSelectionChange?: (next: Set<WellId>) => void;
|
|
4330
|
-
onChange: (next: Map<WellId, T>) => void;
|
|
4331
|
-
/** Builds an empty record for a freshly-created row. */
|
|
4332
|
-
emptyEntry: (id: WellId) => T;
|
|
4333
|
-
/** Filter that controls which empty rows surface. Defaults to `false`. */
|
|
4334
|
-
isPopulated?: (row: T) => boolean;
|
|
4335
|
-
pageSize?: number;
|
|
4336
|
-
pageSizeOptions?: number[];
|
|
4337
|
-
/** Adds a column header action that copies the first non-empty value downward. */
|
|
4338
|
-
enableFillDown?: boolean;
|
|
4339
|
-
/**
|
|
4340
|
-
* Extra props spread onto each `<tr>` — typically used to attach a DnD
|
|
4341
|
-
* library's `setNodeRef`, listeners, and data attributes so rows can act as
|
|
4342
|
-
* drag sources. The kit stays DnD-library-agnostic.
|
|
4343
|
-
*/
|
|
4344
|
-
rowProps?: (ctx: WellManifestTableRowContext<T>) => React_2.ComponentProps<"tr"> | undefined;
|
|
4345
|
-
/** Enables an inline filter popover above the table. Defaults to false. */
|
|
4346
|
-
filterable?: boolean;
|
|
4347
|
-
/**
|
|
4348
|
-
* Optional override of filterable column configs. When omitted, every column
|
|
4349
|
-
* with a `field` becomes filterable using the default operator set from the
|
|
4350
|
-
* shared data-table filter system.
|
|
4351
|
-
*/
|
|
4352
|
-
filterColumns?: FilterColumnConfig[];
|
|
4353
|
-
/** Enables an inline group-by selector. Defaults to false. */
|
|
4354
|
-
groupable?: boolean;
|
|
4355
|
-
className?: string;
|
|
4356
|
-
}
|
|
4357
|
-
|
|
4358
|
-
export declare interface WellManifestTableRowContext<T extends WellRecord = WellRecord> {
|
|
4359
|
-
wellId: WellId;
|
|
4360
|
-
row: T;
|
|
4361
|
-
isSelected: boolean;
|
|
4362
|
-
}
|
|
4363
|
-
|
|
4364
|
-
export declare function WellMetadataForm<T extends WellRecord = WellRecord>({ fields, value, onChange, selectionSize, onApply, onClear, applyLabel, clearLabel, extras, className, }: WellMetadataFormProps<T>): JSX.Element;
|
|
4365
|
-
|
|
4366
|
-
export declare interface WellMetadataFormProps<T extends WellRecord = WellRecord> {
|
|
4367
|
-
fields: WellField<T>[];
|
|
4368
|
-
/** Staged values used to apply across the selection. */
|
|
4369
|
-
value: Partial<T>;
|
|
4370
|
-
onChange: (next: Partial<T>) => void;
|
|
4371
|
-
selectionSize: number;
|
|
4372
|
-
onApply: () => void;
|
|
4373
|
-
onClear: () => void;
|
|
4374
|
-
applyLabel?: string;
|
|
4375
|
-
clearLabel?: string;
|
|
4376
|
-
/** Optional extra slot rendered between fields and action row. */
|
|
4377
|
-
extras?: React_2.ReactNode;
|
|
4378
|
-
className?: string;
|
|
4379
|
-
}
|
|
4380
|
-
|
|
4381
|
-
/**
|
|
4382
|
-
* Generic per-well record. Callers supply concrete shape via the `T` generic
|
|
4383
|
-
* on `PlateMapEditor`. Permissive base accepts both interfaces and indexable
|
|
4384
|
-
* record types.
|
|
4385
|
-
*/
|
|
4386
|
-
export declare type WellRecord = NonNullable<unknown>;
|
|
4387
|
-
|
|
4388
|
-
export declare interface WellSelectOption {
|
|
4389
|
-
value: string;
|
|
4390
|
-
label: string;
|
|
4391
|
-
/** Optional swatch color shown next to the label. */
|
|
4392
|
-
swatch?: string;
|
|
4393
|
-
}
|
|
4394
|
-
|
|
4395
|
-
export declare type WellShape = "rect" | "circle";
|
|
4396
|
-
|
|
4397
|
-
export { }
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
declare module "@tanstack/react-table" {
|
|
4401
|
-
interface ColumnMeta<TData extends RowData, TValue> {
|
|
4402
|
-
truncate?: boolean;
|
|
4403
|
-
}
|
|
4404
|
-
}
|
|
1
|
+
export * from './components/composed/FormPatterns';
|
|
2
|
+
export * from './components/composed/StatCard';
|
|
3
|
+
export * from './components/composed/DataAppShell';
|
|
4
|
+
export * from './components/composed/TopBar';
|
|
5
|
+
export * from './components/composed/UserMenu';
|
|
6
|
+
export * from './components/composed/Chat';
|
|
7
|
+
export * from './components/composed/PlateMapEditor';
|
|
8
|
+
export * from './components/composed/ConfirmDialog';
|
|
9
|
+
export * from './components/composed/RichListItem';
|
|
10
|
+
export * from './components/composed/EmptyState';
|
|
11
|
+
export * from './components/composed/ProcessFlow';
|
|
12
|
+
export * from './components/composed/AssistantLayout';
|
|
13
|
+
export * from './components/composed/MoleculeStructure';
|
|
14
|
+
export * from './components/composed/TdpSearch';
|
|
15
|
+
export * from './components/composed/tdp-link';
|
|
16
|
+
export * from './components/composed/tdp-url';
|
|
17
|
+
export * from './components/charts/AreaPlot';
|
|
18
|
+
export * from './components/charts/ChartTooltip';
|
|
19
|
+
export * from './components/charts/BarChart';
|
|
20
|
+
export * from './components/charts/BoxPlot';
|
|
21
|
+
export * from './components/charts/Chromatogram';
|
|
22
|
+
export * from './components/charts/StackedChromatogram';
|
|
23
|
+
export * from './components/charts/Electropherogram';
|
|
24
|
+
export * from './components/charts/Histogram';
|
|
25
|
+
export * from './components/charts/LinePlot';
|
|
26
|
+
export * from './components/charts/PieChart';
|
|
27
|
+
export * from './components/charts/PlateMap';
|
|
28
|
+
export * from './components/charts/ScatterPlot';
|
|
29
|
+
export * from './components/charts/ScatterPlotInteractive';
|
|
30
|
+
export * from './components/ui/accordion';
|
|
31
|
+
export * from './components/ui/alert';
|
|
32
|
+
export * from './components/ui/alert-dialog';
|
|
33
|
+
export * from './components/ui/aspect-ratio';
|
|
34
|
+
export * from './components/ui/avatar';
|
|
35
|
+
export * from './components/ui/badge';
|
|
36
|
+
export * from './components/ui/banner';
|
|
37
|
+
export * from './components/ui/breadcrumb';
|
|
38
|
+
export * from './components/ui/button';
|
|
39
|
+
export * from './components/ui/button-group';
|
|
40
|
+
export * from './components/ui/calendar';
|
|
41
|
+
export * from './components/ui/card';
|
|
42
|
+
export * from './components/ui/carousel';
|
|
43
|
+
export * from './components/ui/checkbox';
|
|
44
|
+
export * from './components/ui/collapsible';
|
|
45
|
+
export * from './components/ui/combobox';
|
|
46
|
+
export * from './components/ui/command';
|
|
47
|
+
export * from './components/ui/context-menu';
|
|
48
|
+
export * from './components/ui/data-table';
|
|
49
|
+
export * from './components/ui/dialog';
|
|
50
|
+
export * from './components/ui/dropdown-menu';
|
|
51
|
+
export * from './components/ui/field';
|
|
52
|
+
export * from './components/ui/hover-card';
|
|
53
|
+
export * from './components/ui/input';
|
|
54
|
+
export * from './components/ui/input-group';
|
|
55
|
+
export * from './components/ui/item';
|
|
56
|
+
export * from './components/ui/kbd';
|
|
57
|
+
export * from './components/ui/label';
|
|
58
|
+
export * from './components/ui/menubar';
|
|
59
|
+
export * from './components/ui/navigation-menu';
|
|
60
|
+
export * from './components/ui/popover';
|
|
61
|
+
export * from './components/ui/radio-group';
|
|
62
|
+
export * from './components/ui/resizable';
|
|
63
|
+
export * from './components/ui/scroll-area';
|
|
64
|
+
export * from './components/ui/select';
|
|
65
|
+
export * from './components/ui/separator';
|
|
66
|
+
export * from './components/ui/sheet';
|
|
67
|
+
export * from './components/ui/sidebar';
|
|
68
|
+
export * from './components/ui/skeleton';
|
|
69
|
+
export * from './components/ui/slider';
|
|
70
|
+
export * from './components/ui/sonner';
|
|
71
|
+
export * from './components/ui/spinner';
|
|
72
|
+
export * from './components/ui/switch';
|
|
73
|
+
export * from './components/ui/table';
|
|
74
|
+
export * from './components/ui/tabs';
|
|
75
|
+
export * from './components/ui/textarea';
|
|
76
|
+
export * from './components/ui/toggle';
|
|
77
|
+
export * from './components/ui/toggle-group';
|
|
78
|
+
export * from './components/ui/tooltip';
|
|
79
|
+
export * from './components/ui/code-editor';
|
|
80
|
+
export * from './components/ui/tetra-molecule-icon';
|
|
81
|
+
export * from './components/ui/tetrascience-icon';
|
|
82
|
+
export * from './components/ai/attachments';
|
|
83
|
+
export * from './components/ai/chain-of-thought';
|
|
84
|
+
export * from './components/ui/code-block';
|
|
85
|
+
export * from './components/ai/confirmation';
|
|
86
|
+
export * from './components/ai/context';
|
|
87
|
+
export * from './components/ai/conversation';
|
|
88
|
+
export * from './components/ai/inline-citation';
|
|
89
|
+
export * from './components/ai/message';
|
|
90
|
+
export * from './components/ai/model-selector';
|
|
91
|
+
export * from './components/ai/prompt-input';
|
|
92
|
+
export * from './components/ai/queue';
|
|
93
|
+
export * from './components/ai/reasoning';
|
|
94
|
+
export * from './components/ai/shimmer';
|
|
95
|
+
export * from './components/ai/sources';
|
|
96
|
+
export * from './components/ai/speech-input';
|
|
97
|
+
export * from './components/ai/stream-status';
|
|
98
|
+
export * from './components/ai/suggestion';
|
|
99
|
+
export * from './components/ai/task';
|
|
100
|
+
export * from './components/ai/tool';
|
|
101
|
+
export * from './utils/colors';
|
|
102
|
+
export { getSupportedCodeBlockLanguages, registerCodeBlockLanguage, } from './lib/shiki';
|