@trinityui/design-system 2.11.1 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2155 -0
- package/CONTRIBUTING.md +180 -69
- package/LICENSE +21 -0
- package/MIGRATION.md +505 -28
- package/README.md +281 -120
- package/dist/IllustratedMessage.js +546 -1341
- package/dist/accessibility.d.ts +596 -18
- package/dist/accessibility.d.ts.map +1 -1
- package/dist/accessibility.js +458 -0
- package/dist/app-shell.js +18458 -10385
- package/dist/assets/index.d.ts +1 -1
- package/dist/charts.js +8507 -6059
- package/dist/color-contrast.d.ts +35 -0
- package/dist/color-contrast.d.ts.map +1 -0
- package/dist/commonjs-helpers.js +8 -0
- package/dist/component-color-references.d.ts +175 -0
- package/dist/component-color-references.d.ts.map +1 -0
- package/dist/components/AI/AIActions.d.ts +72 -12
- package/dist/components/AI/AIActions.d.ts.map +1 -1
- package/dist/components/AI/AIAvatar.d.ts +31 -3
- package/dist/components/AI/AIAvatar.d.ts.map +1 -1
- package/dist/components/AI/AIChainOfThought.d.ts +159 -77
- package/dist/components/AI/AIChainOfThought.d.ts.map +1 -1
- package/dist/components/AI/AIChainOfThought.types.d.ts +292 -40
- package/dist/components/AI/AIChainOfThought.types.d.ts.map +1 -1
- package/dist/components/AI/AIChainOfThought.utils.d.ts +25 -7
- package/dist/components/AI/AIChainOfThought.utils.d.ts.map +1 -1
- package/dist/components/AI/AIChat.d.ts +12 -0
- package/dist/components/AI/AIChat.d.ts.map +1 -1
- package/dist/components/AI/AIChatWelcome.d.ts +254 -0
- package/dist/components/AI/AIChatWelcome.d.ts.map +1 -0
- package/dist/components/AI/AIClarificationPrompt.d.ts +134 -0
- package/dist/components/AI/AIClarificationPrompt.d.ts.map +1 -0
- package/dist/components/AI/AIConfidenceBadge.d.ts +117 -0
- package/dist/components/AI/AIConfidenceBadge.d.ts.map +1 -0
- package/dist/components/AI/AIConfigContext.d.ts +100 -0
- package/dist/components/AI/AIConfigContext.d.ts.map +1 -0
- package/dist/components/AI/AIConfigProvider.d.ts +66 -0
- package/dist/components/AI/AIConfigProvider.d.ts.map +1 -0
- package/dist/components/AI/AIContainer.d.ts +80 -11
- package/dist/components/AI/AIContainer.d.ts.map +1 -1
- package/dist/components/AI/AIExplainability.d.ts +39 -5
- package/dist/components/AI/AIExplainability.d.ts.map +1 -1
- package/dist/components/AI/AIFeedbackControl.d.ts +113 -0
- package/dist/components/AI/AIFeedbackControl.d.ts.map +1 -0
- package/dist/components/AI/AIFeedbackForm.d.ts +117 -0
- package/dist/components/AI/AIFeedbackForm.d.ts.map +1 -0
- package/dist/components/AI/AIFeedbackHostContext.d.ts +16 -0
- package/dist/components/AI/AIFeedbackHostContext.d.ts.map +1 -0
- package/dist/components/AI/AILabel.d.ts +39 -6
- package/dist/components/AI/AILabel.d.ts.map +1 -1
- package/dist/components/AI/AIMessage.d.ts +337 -42
- package/dist/components/AI/AIMessage.d.ts.map +1 -1
- package/dist/components/AI/AIPlanReview.d.ts +194 -0
- package/dist/components/AI/AIPlanReview.d.ts.map +1 -0
- package/dist/components/AI/AIQueryDisclosure.d.ts +119 -0
- package/dist/components/AI/AIQueryDisclosure.d.ts.map +1 -0
- package/dist/components/AI/AIRelatedQuestions.d.ts +50 -11
- package/dist/components/AI/AIRelatedQuestions.d.ts.map +1 -1
- package/dist/components/AI/AIResponseRenderer.d.ts +133 -21
- package/dist/components/AI/AIResponseRenderer.d.ts.map +1 -1
- package/dist/components/AI/AIResponseSourcesContext.d.ts +83 -0
- package/dist/components/AI/AIResponseSourcesContext.d.ts.map +1 -0
- package/dist/components/AI/AIReviewItem.d.ts +142 -0
- package/dist/components/AI/AIReviewItem.d.ts.map +1 -0
- package/dist/components/AI/AISourceChip.d.ts +135 -0
- package/dist/components/AI/AISourceChip.d.ts.map +1 -0
- package/dist/components/AI/AISources.d.ts +81 -11
- package/dist/components/AI/AISources.d.ts.map +1 -1
- package/dist/components/AI/AISourcesPanel.d.ts +43 -7
- package/dist/components/AI/AISourcesPanel.d.ts.map +1 -1
- package/dist/components/AI/AITextBlock.d.ts +104 -16
- package/dist/components/AI/AITextBlock.d.ts.map +1 -1
- package/dist/components/AI/AITextBlock.parser.d.ts +153 -0
- package/dist/components/AI/AITextBlock.parser.d.ts.map +1 -0
- package/dist/components/AI/AIVerificationBadge.d.ts +94 -0
- package/dist/components/AI/AIVerificationBadge.d.ts.map +1 -0
- package/dist/components/AI/AIVisuals.d.ts +92 -23
- package/dist/components/AI/AIVisuals.d.ts.map +1 -1
- package/dist/components/AI/AIVoiceInput.d.ts +42 -11
- package/dist/components/AI/AIVoiceInput.d.ts.map +1 -1
- package/dist/components/AI/AIVoiceMode.d.ts +16 -2
- package/dist/components/AI/AIVoiceMode.d.ts.map +1 -1
- package/dist/components/AI/BlockErrorBoundary.d.ts +77 -0
- package/dist/components/AI/BlockErrorBoundary.d.ts.map +1 -0
- package/dist/components/AI/ChatHeader.d.ts +41 -4
- package/dist/components/AI/ChatHeader.d.ts.map +1 -1
- package/dist/components/AI/ChatHistoryList.d.ts +25 -12
- package/dist/components/AI/ChatHistoryList.d.ts.map +1 -1
- package/dist/components/AI/ChatThread.d.ts +263 -13
- package/dist/components/AI/ChatThread.d.ts.map +1 -1
- package/dist/components/AI/InThreadContext.d.ts +14 -0
- package/dist/components/AI/InThreadContext.d.ts.map +1 -0
- package/dist/components/AI/InsightEngine.d.ts +270 -46
- package/dist/components/AI/InsightEngine.d.ts.map +1 -1
- package/dist/components/AI/InsightEngineInput.d.ts +47 -4
- package/dist/components/AI/InsightEngineInput.d.ts.map +1 -1
- package/dist/components/AI/MessageActionButton.d.ts +72 -0
- package/dist/components/AI/MessageActionButton.d.ts.map +1 -0
- package/dist/components/AI/QueryInput.d.ts.map +1 -1
- package/dist/components/AI/UserAvatar.d.ts +50 -4
- package/dist/components/AI/UserAvatar.d.ts.map +1 -1
- package/dist/components/AI/UserMessage.d.ts +32 -3
- package/dist/components/AI/UserMessage.d.ts.map +1 -1
- package/dist/components/AI/blockRendererContext.d.ts +64 -0
- package/dist/components/AI/blockRendererContext.d.ts.map +1 -0
- package/dist/components/AI/hitlBlockRenderers.d.ts +48 -0
- package/dist/components/AI/hitlBlockRenderers.d.ts.map +1 -0
- package/dist/components/AI/index.d.ts +23 -6
- package/dist/components/AI/index.d.ts.map +1 -1
- package/dist/components/AI/moleculeBlockRenderers.d.ts +15 -0
- package/dist/components/AI/moleculeBlockRenderers.d.ts.map +1 -0
- package/dist/components/AI/planReviewBlockRenderer.d.ts +8 -0
- package/dist/components/AI/planReviewBlockRenderer.d.ts.map +1 -0
- package/dist/components/AI/strings/defaults.d.ts +31 -0
- package/dist/components/AI/strings/defaults.d.ts.map +1 -0
- package/dist/components/AI/tokens.d.ts +185 -20
- package/dist/components/AI/tokens.d.ts.map +1 -1
- package/dist/components/AI/types/hitl.d.ts +2294 -0
- package/dist/components/AI/types/hitl.d.ts.map +1 -0
- package/dist/components/AI/types/index.d.ts +2 -1
- package/dist/components/AI/types/index.d.ts.map +1 -1
- package/dist/components/AI/types/response.d.ts +428 -40
- package/dist/components/AI/types/response.d.ts.map +1 -1
- package/dist/components/AI/useBlockSources.d.ts +67 -0
- package/dist/components/AI/useBlockSources.d.ts.map +1 -0
- package/dist/components/AI/useBrowserVoiceMode.d.ts +31 -2
- package/dist/components/AI/useBrowserVoiceMode.d.ts.map +1 -1
- package/dist/components/AI/useWelcomeComposerHandoff.d.ts +30 -0
- package/dist/components/AI/useWelcomeComposerHandoff.d.ts.map +1 -0
- package/dist/components/AI/utils/alphaIndex.d.ts +19 -0
- package/dist/components/AI/utils/alphaIndex.d.ts.map +1 -0
- package/dist/components/AI/utils/blockReady.d.ts +54 -0
- package/dist/components/AI/utils/blockReady.d.ts.map +1 -0
- package/dist/components/AI/utils/blocks.d.ts +28 -0
- package/dist/components/AI/utils/blocks.d.ts.map +1 -0
- package/dist/components/AI/utils/confidence.d.ts +182 -0
- package/dist/components/AI/utils/confidence.d.ts.map +1 -0
- package/dist/components/AI/utils/filters.d.ts +31 -0
- package/dist/components/AI/utils/filters.d.ts.map +1 -0
- package/dist/components/AI/utils/responseText.d.ts +8 -0
- package/dist/components/AI/utils/responseText.d.ts.map +1 -0
- package/dist/components/AI/utils/sources.d.ts +110 -0
- package/dist/components/AI/utils/sources.d.ts.map +1 -0
- package/dist/components/AIDigestCard/AIDigestCard.d.ts.map +1 -1
- package/dist/components/AIDigestCard/types.d.ts +42 -5
- package/dist/components/AIDigestCard/types.d.ts.map +1 -1
- package/dist/components/AppLayout/AIFab.d.ts +33 -6
- package/dist/components/AppLayout/AIFab.d.ts.map +1 -1
- package/dist/components/AppLayout/AIFabLayout.deprecated.d.ts.map +1 -1
- package/dist/components/AppLayout/AppLayout.d.ts +135 -7
- package/dist/components/AppLayout/AppLayout.d.ts.map +1 -1
- package/dist/components/AppLayout/InsightEnginePanel.d.ts +315 -21
- package/dist/components/AppLayout/InsightEnginePanel.d.ts.map +1 -1
- package/dist/components/AppLayout/ResizablePanel.d.ts +145 -8
- package/dist/components/AppLayout/ResizablePanel.d.ts.map +1 -1
- package/dist/components/AppLayout/ThreadHistorySidebar.d.ts +6 -0
- package/dist/components/AppLayout/ThreadHistorySidebar.d.ts.map +1 -1
- package/dist/components/AppLayout/index.d.ts +3 -3
- package/dist/components/AppLayout/index.d.ts.map +1 -1
- package/dist/components/AppLayout/insightEnginePanel.demo.d.ts +32 -0
- package/dist/components/AppLayout/insightEnginePanel.demo.d.ts.map +1 -0
- package/dist/components/AppLayout/panelPropsPath.d.ts +26 -0
- package/dist/components/AppLayout/panelPropsPath.d.ts.map +1 -0
- package/dist/components/AppLayout/panelResizeTransition.d.ts +49 -0
- package/dist/components/AppLayout/panelResizeTransition.d.ts.map +1 -0
- package/dist/components/AppLayout/toChatThreadMessage.d.ts +40 -0
- package/dist/components/AppLayout/toChatThreadMessage.d.ts.map +1 -0
- package/dist/components/AssessmentDrawer/AssessmentDrawer.d.ts +5 -1
- package/dist/components/AssessmentDrawer/AssessmentDrawer.d.ts.map +1 -1
- package/dist/components/AuditDrawer/AuditDrawer.d.ts +4 -3
- package/dist/components/AuditDrawer/AuditDrawer.d.ts.map +1 -1
- package/dist/components/AuditDrawer/index.d.ts +1 -1
- package/dist/components/AuditDrawer/index.d.ts.map +1 -1
- package/dist/components/AuditDrawer/types.d.ts +39 -5
- package/dist/components/AuditDrawer/types.d.ts.map +1 -1
- package/dist/components/Autocomplete/Autocomplete.d.ts +6 -1
- package/dist/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/dist/components/BulkActionDock/BulkActionDock.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.d.ts +10 -2
- package/dist/components/Carousel/Carousel.d.ts.map +1 -1
- package/dist/components/Charts/AreaChart.d.ts.map +1 -1
- package/dist/components/Charts/BarChart.d.ts.map +1 -1
- package/dist/components/Charts/ChartWrapper.d.ts.map +1 -1
- package/dist/components/Charts/ComposedChart.d.ts.map +1 -1
- package/dist/components/Charts/CustomLegend.d.ts +11 -2
- package/dist/components/Charts/CustomLegend.d.ts.map +1 -1
- package/dist/components/Charts/LineChart.d.ts.map +1 -1
- package/dist/components/Charts/PieChart.d.ts.map +1 -1
- package/dist/components/Charts/RadialChart.d.ts.map +1 -1
- package/dist/components/Charts/ScatterChart.d.ts.map +1 -1
- package/dist/components/Charts/Sparkline.d.ts.map +1 -1
- package/dist/components/Charts/gaugeGeometry.d.ts +35 -0
- package/dist/components/Charts/gaugeGeometry.d.ts.map +1 -0
- package/dist/components/Charts/highcharts.d.ts +23 -0
- package/dist/components/Charts/highcharts.d.ts.map +1 -0
- package/dist/components/Charts/highchartsUtils.d.ts +101 -6
- package/dist/components/Charts/highchartsUtils.d.ts.map +1 -1
- package/dist/components/Charts/index.d.ts +1 -1
- package/dist/components/Charts/index.d.ts.map +1 -1
- package/dist/components/Charts/tokens.d.ts +21 -0
- package/dist/components/Charts/tokens.d.ts.map +1 -1
- package/dist/components/Charts/types.d.ts +7 -7
- package/dist/components/Charts/types.d.ts.map +1 -1
- package/dist/components/ChipsInput/ChipsInput.d.ts.map +1 -1
- package/dist/components/ChoiceChips/ChoiceChips.d.ts +106 -0
- package/dist/components/ChoiceChips/ChoiceChips.d.ts.map +1 -0
- package/dist/components/ClearableTextField/ClearableTextField.d.ts +23 -2
- package/dist/components/ClearableTextField/ClearableTextField.d.ts.map +1 -1
- package/dist/components/CodeBlock/CodeBlock.d.ts +80 -0
- package/dist/components/CodeBlock/CodeBlock.d.ts.map +1 -0
- package/dist/components/Combobox/Combobox.d.ts +3 -2
- package/dist/components/Combobox/Combobox.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPalette.d.ts +54 -3
- package/dist/components/CommandPalette/CommandPalette.d.ts.map +1 -1
- package/dist/components/CommandPalette/index.d.ts +1 -1
- package/dist/components/CommandPalette/index.d.ts.map +1 -1
- package/dist/components/CopyButton/CopyButton.d.ts +80 -0
- package/dist/components/CopyButton/CopyButton.d.ts.map +1 -0
- package/dist/components/DataCard/DataCard.d.ts +11 -1
- package/dist/components/DataCard/DataCard.d.ts.map +1 -1
- package/dist/components/DataTable/CellRenderers.d.ts +8 -11
- package/dist/components/DataTable/CellRenderers.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.d.ts +1 -1
- package/dist/components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/components/DataTable/InlineAddRow.d.ts.map +1 -1
- package/dist/components/DataTable/columnContext.d.ts +8 -0
- package/dist/components/DataTable/columnContext.d.ts.map +1 -0
- package/dist/components/DataTable/index.d.ts +2 -2
- package/dist/components/DataTable/index.d.ts.map +1 -1
- package/dist/components/DataTable/labels.d.ts +13 -0
- package/dist/components/DataTable/labels.d.ts.map +1 -0
- package/dist/components/DataTable/types.d.ts +34 -0
- package/dist/components/DataTable/types.d.ts.map +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/dist/components/DetailsPopover/DetailsPopover.d.ts +185 -0
- package/dist/components/DetailsPopover/DetailsPopover.d.ts.map +1 -0
- package/dist/components/DiffViewer/DiffViewer.d.ts +3 -2
- package/dist/components/DiffViewer/DiffViewer.d.ts.map +1 -1
- package/dist/components/Disclosure/Disclosure.d.ts +83 -0
- package/dist/components/Disclosure/Disclosure.d.ts.map +1 -0
- package/dist/components/DockLayout/DockLayout.d.ts +58 -0
- package/dist/components/DockLayout/DockLayout.d.ts.map +1 -1
- package/dist/components/DockLayout/index.d.ts +1 -1
- package/dist/components/DockLayout/index.d.ts.map +1 -1
- package/dist/components/DocumentCard/DocumentCard.d.ts +5 -1
- package/dist/components/DocumentCard/DocumentCard.d.ts.map +1 -1
- package/dist/components/EntityDetailPanel/EntityDetailPanel.d.ts +6 -2
- package/dist/components/EntityDetailPanel/EntityDetailPanel.d.ts.map +1 -1
- package/dist/components/FileUpload/FileUpload.d.ts +141 -6
- package/dist/components/FileUpload/FileUpload.d.ts.map +1 -1
- package/dist/components/FileUpload/index.d.ts +1 -1
- package/dist/components/FileUpload/index.d.ts.map +1 -1
- package/dist/components/FilterBar/FilterBar.d.ts +27 -1
- package/dist/components/FilterBar/FilterBar.d.ts.map +1 -1
- package/dist/components/FilterBar/index.d.ts +1 -1
- package/dist/components/FilterBar/index.d.ts.map +1 -1
- package/dist/components/FlowAutoLayout/useFlowAutoLayout.d.ts.map +1 -1
- package/dist/components/GanttView/GanttView.d.ts +24 -0
- package/dist/components/GanttView/GanttView.d.ts.map +1 -1
- package/dist/components/GanttView/types.d.ts +33 -7
- package/dist/components/GanttView/types.d.ts.map +1 -1
- package/dist/components/GaugeCard/GaugeCard.d.ts +4 -3
- package/dist/components/GaugeCard/GaugeCard.d.ts.map +1 -1
- package/dist/components/GaugeCard/geometry.d.ts +59 -0
- package/dist/components/GaugeCard/geometry.d.ts.map +1 -0
- package/dist/components/GeoStatusMap/GeoStatusMap.d.ts.map +1 -1
- package/dist/components/GeoStatusMap/types.d.ts +8 -5
- package/dist/components/GeoStatusMap/types.d.ts.map +1 -1
- package/dist/components/GoToTop/GoToTop.d.ts +1 -1
- package/dist/components/GoToTop/GoToTop.d.ts.map +1 -1
- package/dist/components/HierarchicalDrillDown/HierarchicalDrillDown.d.ts.map +1 -1
- package/dist/components/HistoricalDataIndicator/HistoricalDataIndicator.d.ts.map +1 -1
- package/dist/components/HtmlToMui/HtmlToMui.d.ts.map +1 -1
- package/dist/components/Icon.d.ts +567 -10
- package/dist/components/Icon.d.ts.map +1 -1
- package/dist/components/IllustratedMessage.d.ts +52 -3
- package/dist/components/IllustratedMessage.d.ts.map +1 -1
- package/dist/components/InlineEditableText/InlineEditableText.d.ts +117 -0
- package/dist/components/InlineEditableText/InlineEditableText.d.ts.map +1 -0
- package/dist/components/InsightCard/InsightCard.d.ts.map +1 -1
- package/dist/components/InsightCard/types.d.ts +10 -3
- package/dist/components/InsightCard/types.d.ts.map +1 -1
- package/dist/components/KeyValueList/KeyValueList.d.ts +94 -0
- package/dist/components/KeyValueList/KeyValueList.d.ts.map +1 -0
- package/dist/components/LandingPage/FeatureCard.d.ts +4 -0
- package/dist/components/LandingPage/FeatureCard.d.ts.map +1 -1
- package/dist/components/LandingPage/LandingPage.d.ts +43 -4
- package/dist/components/LandingPage/LandingPage.d.ts.map +1 -1
- package/dist/components/LandingPage/heroTone.d.ts +54 -0
- package/dist/components/LandingPage/heroTone.d.ts.map +1 -0
- package/dist/components/MentionsInput/MentionsInput.d.ts.map +1 -1
- package/dist/components/MetaChip/MetaChip.d.ts +113 -0
- package/dist/components/MetaChip/MetaChip.d.ts.map +1 -0
- package/dist/components/Modal/Modal.d.ts +222 -20
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/Modal/index.d.ts +1 -1
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/NotificationCenter/NotificationCenter.d.ts.map +1 -1
- package/dist/components/OrgChart/OrgChart.d.ts +5 -0
- package/dist/components/OrgChart/OrgChart.d.ts.map +1 -1
- package/dist/components/OrgChart/types.d.ts +31 -7
- package/dist/components/OrgChart/types.d.ts.map +1 -1
- package/dist/components/OverflowTooltip/OverflowTooltip.d.ts +1 -1
- package/dist/components/OverflowTooltip/OverflowTooltip.d.ts.map +1 -1
- package/dist/components/PageHeader/PageHeader.d.ts.map +1 -1
- package/dist/components/PageTOC/PageTOC.d.ts +2 -1
- package/dist/components/PageTOC/PageTOC.d.ts.map +1 -1
- package/dist/components/Popper/Popper.d.ts +80 -9
- package/dist/components/Popper/Popper.d.ts.map +1 -1
- package/dist/components/Popper/index.d.ts +1 -1
- package/dist/components/Popper/index.d.ts.map +1 -1
- package/dist/components/PredictiveTextInput/PredictiveTextInput.d.ts +5 -1
- package/dist/components/PredictiveTextInput/PredictiveTextInput.d.ts.map +1 -1
- package/dist/components/SearchInput/SearchInput.d.ts +49 -0
- package/dist/components/SearchInput/SearchInput.d.ts.map +1 -1
- package/dist/components/SearchInput/index.d.ts +1 -1
- package/dist/components/SearchInput/index.d.ts.map +1 -1
- package/dist/components/SimpleTable/SimpleTable.d.ts +11 -2
- package/dist/components/SimpleTable/SimpleTable.d.ts.map +1 -1
- package/dist/components/SplitPane/SplitPane.d.ts +2 -1
- package/dist/components/SplitPane/SplitPane.d.ts.map +1 -1
- package/dist/components/StatusHero/StatusHero.d.ts.map +1 -1
- package/dist/components/StatusIndicator/Badge.d.ts +6 -1
- package/dist/components/StatusIndicator/Badge.d.ts.map +1 -1
- package/dist/components/StatusIndicator/Chip.d.ts +3 -1
- package/dist/components/StatusIndicator/Chip.d.ts.map +1 -1
- package/dist/components/StatusIndicator/Indicators.d.ts +5 -1
- package/dist/components/StatusIndicator/Indicators.d.ts.map +1 -1
- package/dist/components/StatusIndicator/Legend.d.ts.map +1 -1
- package/dist/components/StatusIndicator/StatusIndicator.d.ts +98 -4
- package/dist/components/StatusIndicator/StatusIndicator.d.ts.map +1 -1
- package/dist/components/StatusIndicator/index.d.ts +2 -2
- package/dist/components/StatusIndicator/index.d.ts.map +1 -1
- package/dist/components/StatusIndicator/types.d.ts +48 -1
- package/dist/components/StatusIndicator/types.d.ts.map +1 -1
- package/dist/components/StepList/StepList.d.ts +80 -0
- package/dist/components/StepList/StepList.d.ts.map +1 -0
- package/dist/components/StepList/StepStatusMarker.d.ts +39 -0
- package/dist/components/StepList/StepStatusMarker.d.ts.map +1 -0
- package/dist/components/StepList/stepStatus.d.ts +30 -0
- package/dist/components/StepList/stepStatus.d.ts.map +1 -0
- package/dist/components/SystemBanner/SystemBanner.d.ts.map +1 -1
- package/dist/components/Timeline/Timeline.d.ts +57 -3
- package/dist/components/Timeline/Timeline.d.ts.map +1 -1
- package/dist/components/Timeline/index.d.ts +1 -1
- package/dist/components/Timeline/index.d.ts.map +1 -1
- package/dist/components/Timeline/timelineLabels.d.ts +70 -0
- package/dist/components/Timeline/timelineLabels.d.ts.map +1 -0
- package/dist/components/Toast/Toast.d.ts.map +1 -1
- package/dist/components/TopNavHeader.d.ts +6 -0
- package/dist/components/TopNavHeader.d.ts.map +1 -1
- package/dist/components/TopNavWithSidebar.d.ts +49 -1
- package/dist/components/TopNavWithSidebar.d.ts.map +1 -1
- package/dist/components/Tour/Tour.d.ts +18 -1
- package/dist/components/Tour/Tour.d.ts.map +1 -1
- package/dist/components/TransferList/TransferList.d.ts +123 -4
- package/dist/components/TransferList/TransferList.d.ts.map +1 -1
- package/dist/components/TransferList/index.d.ts +1 -1
- package/dist/components/TransferList/index.d.ts.map +1 -1
- package/dist/components/TreeView/TreeView.d.ts +97 -8
- package/dist/components/TreeView/TreeView.d.ts.map +1 -1
- package/dist/components/TreeView/index.d.ts +1 -1
- package/dist/components/TreeView/index.d.ts.map +1 -1
- package/dist/components/TrinityLoader.d.ts.map +1 -1
- package/dist/components/icons/featherExtensions.d.ts +55 -0
- package/dist/components/icons/featherExtensions.d.ts.map +1 -0
- package/dist/components/icons/materialExtensions.d.ts +20 -0
- package/dist/components/icons/materialExtensions.d.ts.map +1 -0
- package/dist/components/internal/index.d.ts +87 -0
- package/dist/components/internal/index.d.ts.map +1 -1
- package/dist/components/navigation/MenuListWithHeading.d.ts +33 -0
- package/dist/components/navigation/MenuListWithHeading.d.ts.map +1 -0
- package/dist/components/navigation/clientSelectorLabels.d.ts +13 -0
- package/dist/components/navigation/clientSelectorLabels.d.ts.map +1 -0
- package/dist/components/navigation/components.d.ts +6 -0
- package/dist/components/navigation/components.d.ts.map +1 -1
- package/dist/components/shared/AsyncOutcomeAlert.d.ts +91 -0
- package/dist/components/shared/AsyncOutcomeAlert.d.ts.map +1 -0
- package/dist/components/shared/TrinityIconSvg.d.ts.map +1 -1
- package/dist/components/shared/TrinityLogoSvg.d.ts.map +1 -1
- package/dist/components/shared/bidi.d.ts +44 -0
- package/dist/components/shared/bidi.d.ts.map +1 -0
- package/dist/components/shared/bidiText.d.ts +25 -0
- package/dist/components/shared/bidiText.d.ts.map +1 -0
- package/dist/components/shared/containerQueries.d.ts +73 -0
- package/dist/components/shared/containerQueries.d.ts.map +1 -0
- package/dist/components/shared/createStringsContext.d.ts +69 -0
- package/dist/components/shared/createStringsContext.d.ts.map +1 -0
- package/dist/components/shared/direction.d.ts +46 -0
- package/dist/components/shared/direction.d.ts.map +1 -0
- package/dist/components/shared/focusTrap.d.ts +36 -0
- package/dist/components/shared/focusTrap.d.ts.map +1 -0
- package/dist/components/shared/getInitials.d.ts +29 -0
- package/dist/components/shared/getInitials.d.ts.map +1 -0
- package/dist/components/shared/headingLevel.d.ts +69 -0
- package/dist/components/shared/headingLevel.d.ts.map +1 -0
- package/dist/components/shared/mergeSlotProps.d.ts +50 -0
- package/dist/components/shared/mergeSlotProps.d.ts.map +1 -0
- package/dist/components/shared/mergeSx.d.ts +26 -0
- package/dist/components/shared/mergeSx.d.ts.map +1 -0
- package/dist/components/shared/motion.d.ts +110 -0
- package/dist/components/shared/motion.d.ts.map +1 -0
- package/dist/components/shared/occurrenceKeys.d.ts +23 -0
- package/dist/components/shared/occurrenceKeys.d.ts.map +1 -0
- package/dist/components/shared/primaryAction.d.ts +89 -0
- package/dist/components/shared/primaryAction.d.ts.map +1 -0
- package/dist/components/shared/resizeKeyboard.d.ts +68 -0
- package/dist/components/shared/resizeKeyboard.d.ts.map +1 -0
- package/dist/components/shared/rootProps.d.ts +117 -0
- package/dist/components/shared/rootProps.d.ts.map +1 -0
- package/dist/components/shared/safeContent.d.ts +9 -2
- package/dist/components/shared/safeContent.d.ts.map +1 -1
- package/dist/components/shared/targetSize.d.ts +64 -0
- package/dist/components/shared/targetSize.d.ts.map +1 -0
- package/dist/components/shared/useContainerInlineSize.d.ts +43 -0
- package/dist/components/shared/useContainerInlineSize.d.ts.map +1 -0
- package/dist/components/shared/useCopyAction.d.ts +35 -0
- package/dist/components/shared/useCopyAction.d.ts.map +1 -0
- package/dist/components/shared/useOverflow.d.ts +44 -0
- package/dist/components/shared/useOverflow.d.ts.map +1 -0
- package/dist/components/shared/useResizable.d.ts +106 -7
- package/dist/components/shared/useResizable.d.ts.map +1 -1
- package/dist/components/shared/warnDeprecated.d.ts +89 -15
- package/dist/components/shared/warnDeprecated.d.ts.map +1 -1
- package/dist/components/shared/zIndexRoles.d.ts +62 -0
- package/dist/components/shared/zIndexRoles.d.ts.map +1 -0
- package/dist/components/templates/AIReviewQueue/AIReviewQueueTemplate.d.ts +213 -0
- package/dist/components/templates/AIReviewQueue/AIReviewQueueTemplate.d.ts.map +1 -0
- package/dist/components/templates/AIReviewQueue/index.d.ts +2 -0
- package/dist/components/templates/AIReviewQueue/index.d.ts.map +1 -0
- package/dist/components/templates/Auth/AuthTemplate.d.ts.map +1 -1
- package/dist/components/templates/Auth/types.d.ts +4 -1
- package/dist/components/templates/Auth/types.d.ts.map +1 -1
- package/dist/components/templates/Catalog/CatalogTemplate.d.ts.map +1 -1
- package/dist/components/templates/ConnectorWizard/ConnectorWizardTemplate.d.ts.map +1 -1
- package/dist/components/templates/InsightsCenter/InsightsCenterTemplate.d.ts.map +1 -1
- package/dist/components/templates/IntegrationDetail/IntegrationDetailTemplate.d.ts.map +1 -1
- package/dist/components/templates/ListDetail/ListDetailTemplate.d.ts +168 -10
- package/dist/components/templates/ListDetail/ListDetailTemplate.d.ts.map +1 -1
- package/dist/components/templates/ListDetail/index.d.ts +1 -1
- package/dist/components/templates/ListDetail/index.d.ts.map +1 -1
- package/dist/components/templates/ListDetail/listDetailLabels.d.ts +106 -0
- package/dist/components/templates/ListDetail/listDetailLabels.d.ts.map +1 -0
- package/dist/components/templates/Onboarding/OnboardingTemplate.d.ts.map +1 -1
- package/dist/components/templates/Settings/SettingsTemplate.d.ts +0 -3
- package/dist/components/templates/Settings/SettingsTemplate.d.ts.map +1 -1
- package/dist/components/templates/Wizard/WizardTemplate.d.ts +4 -1
- package/dist/components/templates/Wizard/WizardTemplate.d.ts.map +1 -1
- package/dist/components/templates/index.d.ts +2 -1
- package/dist/components/templates/index.d.ts.map +1 -1
- package/dist/data-table.d.ts +1 -1
- package/dist/data-table.d.ts.map +1 -1
- package/dist/data-table.js +1 -0
- package/dist/data-table2.js +13522 -13465
- package/dist/data.js +213 -194
- package/dist/elk.bundled.js +47371 -0
- package/dist/essentials.d.ts +3 -3
- package/dist/essentials.d.ts.map +1 -1
- package/dist/essentials.js +179 -147
- package/dist/focus-on-replace.js +49 -0
- package/dist/form.d.ts +26 -4
- package/dist/form.d.ts.map +1 -1
- package/dist/forms.js +575 -483
- package/dist/foundation.js +3704 -0
- package/dist/hooks/storageStore.d.ts +51 -0
- package/dist/hooks/storageStore.d.ts.map +1 -0
- package/dist/hooks/useAsyncAction.d.ts +65 -0
- package/dist/hooks/useAsyncAction.d.ts.map +1 -0
- package/dist/hooks/useDisclosure.d.ts +190 -0
- package/dist/hooks/useDisclosure.d.ts.map +1 -0
- package/dist/hooks/useFocusOnReplace.d.ts +95 -0
- package/dist/hooks/useFocusOnReplace.d.ts.map +1 -0
- package/dist/hooks/useTrinityPalette.d.ts +38 -40
- package/dist/hooks/useTrinityPalette.d.ts.map +1 -1
- package/dist/hooks.d.ts +44 -6
- package/dist/hooks.d.ts.map +1 -1
- package/dist/hooks.js +301 -0
- package/dist/index.d.ts +71 -26
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13923 -60619
- package/dist/patterns/AICopilotPattern/AICopilotPattern.d.ts +203 -0
- package/dist/patterns/AICopilotPattern/AICopilotPattern.d.ts.map +1 -0
- package/dist/patterns/AICopilotPattern/index.d.ts +3 -0
- package/dist/patterns/AICopilotPattern/index.d.ts.map +1 -0
- package/dist/patterns/index.d.ts +15 -0
- package/dist/patterns/index.d.ts.map +1 -0
- package/dist/presets/analytics.d.ts +8 -1
- package/dist/presets/analytics.d.ts.map +1 -1
- package/dist/presets/crm.d.ts +8 -1
- package/dist/presets/crm.d.ts.map +1 -1
- package/dist/presets/index.d.ts +1 -1
- package/dist/presets/portal.d.ts +8 -1
- package/dist/presets/portal.d.ts.map +1 -1
- package/dist/safe-content.js +69 -69
- package/dist/theme-augmentation.d.ts +388 -0
- package/dist/theme-augmentation.d.ts.map +1 -0
- package/dist/theme.d.ts +116 -30
- package/dist/theme.d.ts.map +1 -1
- package/dist/theme.js +891 -436
- package/dist/token-color.d.ts +14 -0
- package/dist/token-color.d.ts.map +1 -0
- package/dist/token-merge.d.ts +56 -0
- package/dist/token-merge.d.ts.map +1 -0
- package/dist/token-serialization.d.ts +65 -0
- package/dist/token-serialization.d.ts.map +1 -0
- package/dist/tokens.d.ts +882 -13
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +21 -19
- package/dist/trinity.css +1077 -414
- package/package.json +111 -90
- package/dist/components/index.d.ts +0 -145
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/shared.d.ts +0 -92
- package/dist/components/shared.d.ts.map +0 -1
|
@@ -12,53 +12,98 @@
|
|
|
12
12
|
* ```
|
|
13
13
|
* AIResponse
|
|
14
14
|
* └── blocks: AIResponseBlock[]
|
|
15
|
-
* ├── TextBlock
|
|
16
|
-
* ├── TableBlock
|
|
17
|
-
* ├── ChartBlock
|
|
18
|
-
* ├── ImageBlock
|
|
19
|
-
* ├── FormBlock
|
|
20
|
-
*
|
|
15
|
+
* ├── TextBlock (type: 'text') rendered by AIResponseRenderer
|
|
16
|
+
* ├── TableBlock (type: 'table') consumer-rendered
|
|
17
|
+
* ├── ChartBlock (type: 'chart') consumer-rendered
|
|
18
|
+
* ├── ImageBlock (type: 'image') consumer-rendered
|
|
19
|
+
* ├── FormBlock (type: 'form') consumer-rendered
|
|
20
|
+
* ├── ActionsBlock (type: 'actions') consumer-rendered
|
|
21
|
+
* ├── QueryBlock (type: 'query') interactive, through a block renderer
|
|
22
|
+
* ├── ClarificationBlock (type: 'clarification') interactive, through a block renderer
|
|
23
|
+
* └── PlanReviewBlock (type: 'plan-review') interactive, through a block renderer
|
|
21
24
|
* ```
|
|
22
25
|
*
|
|
26
|
+
* AIResponseRenderer renders `text` blocks itself. Table, chart, image, form and actions blocks
|
|
27
|
+
* are consumer-rendered: pass `renderBlock` or `blockRenderers` to AIResponseRenderer. The
|
|
28
|
+
* interactive blocks (query, clarification, plan-review) render through a block renderer too, and
|
|
29
|
+
* each needs a stable `id`, because the events it sends name the block.
|
|
30
|
+
*
|
|
23
31
|
* Why This Structure:
|
|
24
|
-
* - Discriminated unions (`type` field)
|
|
32
|
+
* - Discriminated unions (`type` field) narrow each block in a switch/case or conditional. The
|
|
33
|
+
* unions are open: a minor release adds block types, so every switch keeps a `default:` branch
|
|
25
34
|
* - Array preserves order without complex ordering logic
|
|
26
35
|
* - Each block is self-contained with its own props
|
|
27
36
|
* - Metadata at response level (id, timestamp) separate from content
|
|
28
|
-
* - Sources/citations link to specific blocks via optional `
|
|
37
|
+
* - Sources/citations link to specific blocks via optional `blockIds`, and to single table
|
|
38
|
+
* cells or chart points via `cellRefs` and `pointRefs`
|
|
39
|
+
*
|
|
40
|
+
* Contract rules (ADR-16 (4), the same as types/hitl.ts): confidence is 0-1, timestamps are
|
|
41
|
+
* ISO 8601 strings, ids are stable strings, unions are open (keep a default branch), and every
|
|
42
|
+
* field added after a type ships is optional.
|
|
29
43
|
*
|
|
30
44
|
* @example
|
|
31
|
-
* ```
|
|
45
|
+
* ```ts
|
|
32
46
|
* const response: AIResponse = {
|
|
33
47
|
* id: 'resp-123',
|
|
34
48
|
* blocks: [
|
|
35
49
|
* { type: 'text', content: 'Here is the analysis:' },
|
|
36
|
-
* {
|
|
50
|
+
* {
|
|
51
|
+
* type: 'table',
|
|
52
|
+
* id: 'growth',
|
|
53
|
+
* columns: [
|
|
54
|
+
* { key: 'region', label: 'Region' },
|
|
55
|
+
* { key: 'growth', label: 'Growth', align: 'right' },
|
|
56
|
+
* ],
|
|
57
|
+
* rows: [
|
|
58
|
+
* { region: 'EMEA', growth: '14%' },
|
|
59
|
+
* { region: 'APAC', growth: '9%' },
|
|
60
|
+
* ],
|
|
61
|
+
* },
|
|
37
62
|
* { type: 'text', content: 'Key takeaway: growth is 14% YoY.' },
|
|
38
63
|
* ],
|
|
39
64
|
* metadata: {
|
|
40
|
-
* model: '
|
|
65
|
+
* model: 'example-model',
|
|
41
66
|
* timestamp: '2026-01-10T10:30:00Z',
|
|
42
67
|
* processingTime: 1250,
|
|
43
68
|
* },
|
|
44
69
|
* };
|
|
45
70
|
* ```
|
|
46
71
|
*/
|
|
72
|
+
import type * as React from 'react';
|
|
73
|
+
import type { AIActionErrorContext, AIAnswerVerificationStatus, AIBlockEvent, AIClarification, AIClarificationAnswer, AIPlan, AIPlanFilter, AIQuery } from './hitl';
|
|
47
74
|
/**
|
|
48
75
|
* Base interface for all blocks.
|
|
49
76
|
* Every block has a `type` discriminator and optional `id` for targeting.
|
|
77
|
+
*
|
|
78
|
+
* @since 2.13.0
|
|
50
79
|
*/
|
|
51
80
|
export interface BaseBlock {
|
|
52
81
|
/** Discriminator for block type */
|
|
53
82
|
type: string;
|
|
54
|
-
/**
|
|
83
|
+
/**
|
|
84
|
+
* Unique identifier of this block within its response, for citations and anchoring. Optional
|
|
85
|
+
* on display blocks; the interactive blocks require it. It is data, never a DOM id:
|
|
86
|
+
* AIResponseRenderer writes it to `data-block-id` and derives the DOM id with `getBlockDomId`.
|
|
87
|
+
*/
|
|
55
88
|
id?: string;
|
|
56
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* Whether a block is still arriving (`'streaming'`) or complete (`'complete'`). Read a missing
|
|
92
|
+
* status as `'complete'`.
|
|
93
|
+
*
|
|
94
|
+
* Open union (contract rule 4): handle a default branch.
|
|
95
|
+
*
|
|
96
|
+
* @since 2.13.0
|
|
97
|
+
*/
|
|
98
|
+
export type AIBlockStatus = 'streaming' | 'complete';
|
|
57
99
|
/**
|
|
58
100
|
* Text Block
|
|
59
101
|
* Renders as paragraph text, optionally with markdown formatting.
|
|
60
102
|
*
|
|
61
103
|
* This is the foundational block type - all AI responses will have at least one.
|
|
104
|
+
* Exported from the package root as `ResponseTextBlock`.
|
|
105
|
+
*
|
|
106
|
+
* @since 2.13.0
|
|
62
107
|
*/
|
|
63
108
|
export interface TextBlock extends BaseBlock {
|
|
64
109
|
type: 'text';
|
|
@@ -68,10 +113,24 @@ export interface TextBlock extends BaseBlock {
|
|
|
68
113
|
markdown?: boolean;
|
|
69
114
|
/** Optional semantic role for styling */
|
|
70
115
|
variant?: 'body' | 'caption' | 'heading' | 'quote';
|
|
116
|
+
/**
|
|
117
|
+
* Whether `content` carries citation markers. Default `false`. The backend sets it.
|
|
118
|
+
*
|
|
119
|
+
* When `true`, each `[^sourceId]` marker in `content` names a source by its
|
|
120
|
+
* `AIResponseSource.id`, and a renderer that supports citations shows it as a source chip.
|
|
121
|
+
* When `false` or omitted, markers are plain text.
|
|
122
|
+
*
|
|
123
|
+
* @since 2.13.0
|
|
124
|
+
*/
|
|
125
|
+
citations?: boolean;
|
|
71
126
|
}
|
|
72
127
|
/**
|
|
73
|
-
* Table Block
|
|
74
|
-
*
|
|
128
|
+
* Table Block. Consumer-rendered: AIResponseRenderer has no built-in renderer for it, so pass
|
|
129
|
+
* `renderBlock` or `blockRenderers`.
|
|
130
|
+
*
|
|
131
|
+
* Exported from the package root as `ResponseTableBlock`.
|
|
132
|
+
*
|
|
133
|
+
* @since 2.13.0
|
|
75
134
|
*/
|
|
76
135
|
export interface TableBlock extends BaseBlock {
|
|
77
136
|
type: 'table';
|
|
@@ -85,10 +144,24 @@ export interface TableBlock extends BaseBlock {
|
|
|
85
144
|
title?: string;
|
|
86
145
|
compact?: boolean;
|
|
87
146
|
sortable?: boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Name of the row field that identifies each row, for example `'id'`. Every row's value for
|
|
149
|
+
* it is a unique string or number. The field does not need a column.
|
|
150
|
+
*
|
|
151
|
+
* Set it whenever `sortable` is true: an `AISourceCellRef` then names a row by this value,
|
|
152
|
+
* which survives sorting. Without it, cell references use the 0-based row index.
|
|
153
|
+
*
|
|
154
|
+
* @since 2.13.0
|
|
155
|
+
*/
|
|
156
|
+
rowKey?: string;
|
|
88
157
|
}
|
|
89
158
|
/**
|
|
90
|
-
* Chart Block
|
|
91
|
-
*
|
|
159
|
+
* Chart Block. Consumer-rendered: AIResponseRenderer has no built-in renderer for it, so pass
|
|
160
|
+
* `renderBlock` or `blockRenderers`.
|
|
161
|
+
*
|
|
162
|
+
* Exported from the package root as `ResponseChartBlock`.
|
|
163
|
+
*
|
|
164
|
+
* @since 2.13.0
|
|
92
165
|
*/
|
|
93
166
|
export interface ChartBlock extends BaseBlock {
|
|
94
167
|
type: 'chart';
|
|
@@ -110,8 +183,12 @@ export interface ChartBlock extends BaseBlock {
|
|
|
110
183
|
height?: number;
|
|
111
184
|
}
|
|
112
185
|
/**
|
|
113
|
-
* Image Block
|
|
114
|
-
*
|
|
186
|
+
* Image Block. Consumer-rendered: AIResponseRenderer has no built-in renderer for it, so pass
|
|
187
|
+
* `renderBlock` or `blockRenderers`.
|
|
188
|
+
*
|
|
189
|
+
* Exported from the package root as `ResponseImageBlock`.
|
|
190
|
+
*
|
|
191
|
+
* @since 2.13.0
|
|
115
192
|
*/
|
|
116
193
|
export interface ImageBlock extends BaseBlock {
|
|
117
194
|
type: 'image';
|
|
@@ -121,8 +198,12 @@ export interface ImageBlock extends BaseBlock {
|
|
|
121
198
|
maxWidth?: number | string;
|
|
122
199
|
}
|
|
123
200
|
/**
|
|
124
|
-
* Form Block
|
|
125
|
-
*
|
|
201
|
+
* Form Block. Consumer-rendered: AIResponseRenderer has no built-in renderer for it, so pass
|
|
202
|
+
* `renderBlock` or `blockRenderers`.
|
|
203
|
+
*
|
|
204
|
+
* Exported from the package root as `ResponseFormBlock`.
|
|
205
|
+
*
|
|
206
|
+
* @since 2.13.0
|
|
126
207
|
*/
|
|
127
208
|
export interface FormBlock extends BaseBlock {
|
|
128
209
|
type: 'form';
|
|
@@ -141,8 +222,12 @@ export interface FormBlock extends BaseBlock {
|
|
|
141
222
|
submitLabel?: string;
|
|
142
223
|
}
|
|
143
224
|
/**
|
|
144
|
-
* Actions Block
|
|
145
|
-
*
|
|
225
|
+
* Actions Block. Consumer-rendered: AIResponseRenderer has no built-in renderer for it, so pass
|
|
226
|
+
* `renderBlock` or `blockRenderers`.
|
|
227
|
+
*
|
|
228
|
+
* Exported from the package root as `ResponseActionsBlock`.
|
|
229
|
+
*
|
|
230
|
+
* @since 2.13.0
|
|
146
231
|
*/
|
|
147
232
|
export interface ActionsBlock extends BaseBlock {
|
|
148
233
|
type: 'actions';
|
|
@@ -157,31 +242,121 @@ export interface ActionsBlock extends BaseBlock {
|
|
|
157
242
|
}>;
|
|
158
243
|
direction?: 'row' | 'column';
|
|
159
244
|
}
|
|
245
|
+
/**
|
|
246
|
+
* The query behind an answer, as a block. The query fields are {@link AIQuery}'s.
|
|
247
|
+
*
|
|
248
|
+
* @example
|
|
249
|
+
* ```ts
|
|
250
|
+
* const block: QueryBlock = {
|
|
251
|
+
* type: 'query',
|
|
252
|
+
* id: 'q-revenue',
|
|
253
|
+
* query: 'SELECT region, SUM(net) FROM revenue GROUP BY region',
|
|
254
|
+
* language: 'SQL',
|
|
255
|
+
* metadata: { queryId: 'q-1', rowCount: 4 },
|
|
256
|
+
* };
|
|
257
|
+
* ```
|
|
258
|
+
*
|
|
259
|
+
* @since 2.13.0
|
|
260
|
+
*/
|
|
261
|
+
export interface QueryBlock extends BaseBlock, AIQuery {
|
|
262
|
+
type: 'query';
|
|
263
|
+
/** Stable id of the block within its response. Required: `query.copy` events name it. */
|
|
264
|
+
id: string;
|
|
265
|
+
/** `'streaming'` while the query text is still being generated. Read a missing status as `'complete'`. */
|
|
266
|
+
status?: AIBlockStatus;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* A clarifying question, as a block.
|
|
270
|
+
*
|
|
271
|
+
* @since 2.13.0
|
|
272
|
+
*/
|
|
273
|
+
export interface ClarificationBlock extends BaseBlock {
|
|
274
|
+
type: 'clarification';
|
|
275
|
+
/** Stable id of the block within its response. Required: `clarification.submit` events name it. */
|
|
276
|
+
id: string;
|
|
277
|
+
/** The question, its options and whether free text is allowed. */
|
|
278
|
+
clarification: AIClarification;
|
|
279
|
+
/** An answer is needed before the user can send one. Default `false`. */
|
|
280
|
+
required?: boolean;
|
|
281
|
+
/**
|
|
282
|
+
* The recorded answer, when the question is already resolved, so a reloaded thread shows the
|
|
283
|
+
* answer instead of asking again.
|
|
284
|
+
*/
|
|
285
|
+
resolution?: AIClarificationAnswer;
|
|
286
|
+
/** `'streaming'` while the question is still arriving. Read a missing status as `'complete'`. */
|
|
287
|
+
status?: AIBlockStatus;
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* A plan the AI proposes before it runs, for the user to review, as a block.
|
|
291
|
+
*
|
|
292
|
+
* @since 2.13.0
|
|
293
|
+
*/
|
|
294
|
+
export interface PlanReviewBlock extends BaseBlock {
|
|
295
|
+
type: 'plan-review';
|
|
296
|
+
/** Stable id of the block within its response. Required: the plan events name it. */
|
|
297
|
+
id: string;
|
|
298
|
+
/** The plan under review. */
|
|
299
|
+
plan: AIPlan;
|
|
300
|
+
/** Where the review shows: in the message (`'inline'`) or in a dialog (`'dialog'`). Default `'inline'`. */
|
|
301
|
+
presentation?: 'inline' | 'dialog';
|
|
302
|
+
/** `'streaming'` while the plan is still arriving. Read a missing status as `'complete'`. */
|
|
303
|
+
status?: AIBlockStatus;
|
|
304
|
+
}
|
|
160
305
|
/**
|
|
161
306
|
* AIResponseBlock - Discriminated union of all supported block types.
|
|
162
307
|
*
|
|
163
|
-
* Use `block.type` to narrow the type in switch/case or conditionals.
|
|
308
|
+
* Use `block.type` to narrow the type in switch/case or conditionals. The union is open: minor
|
|
309
|
+
* releases add block types, so every switch keeps a `default:` branch. AIResponseRenderer renders
|
|
310
|
+
* `text` itself; table, chart, image, form and actions blocks are consumer-rendered.
|
|
164
311
|
*
|
|
165
312
|
* @example
|
|
166
|
-
* ```
|
|
167
|
-
* function
|
|
313
|
+
* ```ts
|
|
314
|
+
* function describeBlock(block: AIResponseBlock): string {
|
|
168
315
|
* switch (block.type) {
|
|
169
316
|
* case 'text':
|
|
170
|
-
* return
|
|
317
|
+
* return block.content;
|
|
171
318
|
* case 'table':
|
|
172
|
-
* return
|
|
173
|
-
*
|
|
319
|
+
* return block.title ?? 'Table';
|
|
320
|
+
* case 'query':
|
|
321
|
+
* return block.language ? `${block.language} query` : 'Query';
|
|
322
|
+
* case 'clarification':
|
|
323
|
+
* return block.clarification.question ?? 'Question';
|
|
324
|
+
* default:
|
|
325
|
+
* return block.type;
|
|
174
326
|
* }
|
|
175
327
|
* }
|
|
176
328
|
* ```
|
|
329
|
+
*
|
|
330
|
+
* @since 2.13.0
|
|
177
331
|
*/
|
|
178
|
-
export type AIResponseBlock = TextBlock | TableBlock | ChartBlock | ImageBlock | FormBlock | ActionsBlock;
|
|
332
|
+
export type AIResponseBlock = TextBlock | TableBlock | ChartBlock | ImageBlock | FormBlock | ActionsBlock | QueryBlock | ClarificationBlock | PlanReviewBlock;
|
|
179
333
|
/**
|
|
180
|
-
*
|
|
334
|
+
* The `type` of every block in {@link AIResponseBlock}. Open union (contract rule 4).
|
|
335
|
+
*
|
|
336
|
+
* @since 2.13.0
|
|
181
337
|
*/
|
|
182
338
|
export type AIResponseBlockType = AIResponseBlock['type'];
|
|
339
|
+
/**
|
|
340
|
+
* Review state of an answer, with who checked it against what.
|
|
341
|
+
*
|
|
342
|
+
* An object rather than a bare status, so new facts can be added as optional fields.
|
|
343
|
+
*
|
|
344
|
+
* @since 2.13.0
|
|
345
|
+
*/
|
|
346
|
+
export interface AIResponseVerification {
|
|
347
|
+
/** The answer's review state. Answer states only: `'confirmed-plan'` is not allowed here. */
|
|
348
|
+
status: AIAnswerVerificationStatus;
|
|
349
|
+
/** When the answer was verified. ISO 8601 date-time, for example '2026-07-01T09:30:00Z'. */
|
|
350
|
+
verifiedAt?: string;
|
|
351
|
+
/** Name of the curated dataset or reference set the answer was checked against. Display text. */
|
|
352
|
+
datasetName?: string;
|
|
353
|
+
/** Short reviewer note. Display text, not markdown. */
|
|
354
|
+
note?: string;
|
|
355
|
+
}
|
|
183
356
|
/**
|
|
184
357
|
* Metadata about the AI response generation.
|
|
358
|
+
*
|
|
359
|
+
* @since 2.13.0
|
|
185
360
|
*/
|
|
186
361
|
export interface AIResponseMetadata {
|
|
187
362
|
/** Model used to generate response */
|
|
@@ -198,9 +373,56 @@ export interface AIResponseMetadata {
|
|
|
198
373
|
};
|
|
199
374
|
/** Confidence score (0-1) */
|
|
200
375
|
confidence?: number;
|
|
376
|
+
/**
|
|
377
|
+
* Why the confidence score is what it is, for example 'Two of three sources agree'.
|
|
378
|
+
* Display text, not markdown.
|
|
379
|
+
*
|
|
380
|
+
* @since 2.13.0
|
|
381
|
+
*/
|
|
382
|
+
confidenceRationale?: string;
|
|
383
|
+
/**
|
|
384
|
+
* Review state of this answer.
|
|
385
|
+
*
|
|
386
|
+
* @since 2.13.0
|
|
387
|
+
*/
|
|
388
|
+
verification?: AIResponseVerification;
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* Points a source at one cell of a table block.
|
|
392
|
+
*
|
|
393
|
+
* @since 2.13.0
|
|
394
|
+
*/
|
|
395
|
+
export interface AISourceCellRef {
|
|
396
|
+
/** `id` of the table block. */
|
|
397
|
+
blockId: string;
|
|
398
|
+
/**
|
|
399
|
+
* The row: its `rowKey` value when the table sets `TableBlock.rowKey`, otherwise its 0-based
|
|
400
|
+
* index in `rows` as sent (before any sorting).
|
|
401
|
+
*/
|
|
402
|
+
row: string | number;
|
|
403
|
+
/** The column: one of the table's `columns[].key`. */
|
|
404
|
+
column: string;
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* Points a source at one data point of a chart block.
|
|
408
|
+
*
|
|
409
|
+
* @since 2.13.0
|
|
410
|
+
*/
|
|
411
|
+
export interface AISourcePointRef {
|
|
412
|
+
/** `id` of the chart block. */
|
|
413
|
+
blockId: string;
|
|
414
|
+
/** The series: the `dataKey` of one of the chart's `series`. */
|
|
415
|
+
series: string;
|
|
416
|
+
/** The point: its 0-based index in the chart's `data`. */
|
|
417
|
+
index: number;
|
|
201
418
|
}
|
|
202
419
|
/**
|
|
203
420
|
* Source citation for response content.
|
|
421
|
+
*
|
|
422
|
+
* The provenance fields (`metric` to `queryId`) say what the source measured and when, so a
|
|
423
|
+
* reader can judge an answer without opening the source.
|
|
424
|
+
*
|
|
425
|
+
* @since 2.13.0
|
|
204
426
|
*/
|
|
205
427
|
export interface AIResponseSource {
|
|
206
428
|
/** Unique identifier */
|
|
@@ -213,10 +435,63 @@ export interface AIResponseSource {
|
|
|
213
435
|
type?: 'document' | 'webpage' | 'database' | 'api' | 'other';
|
|
214
436
|
/** Relevance score (0-1) */
|
|
215
437
|
relevance?: number;
|
|
216
|
-
/**
|
|
438
|
+
/**
|
|
439
|
+
* `id`s of the blocks this source supports. The block-sources hook (`useBlockSources`, F-08)
|
|
440
|
+
* reads it to list a block's sources.
|
|
441
|
+
*/
|
|
217
442
|
blockIds?: string[];
|
|
218
443
|
/** Snippet/excerpt from source */
|
|
219
444
|
excerpt?: string;
|
|
445
|
+
/**
|
|
446
|
+
* The measure this source supports, for example 'Net revenue'. Display text.
|
|
447
|
+
*
|
|
448
|
+
* @since 2.13.0
|
|
449
|
+
*/
|
|
450
|
+
metric?: string;
|
|
451
|
+
/**
|
|
452
|
+
* Filters applied to the data behind this source, in the order applied.
|
|
453
|
+
*
|
|
454
|
+
* @since 2.13.0
|
|
455
|
+
*/
|
|
456
|
+
filters?: AIPlanFilter[];
|
|
457
|
+
/**
|
|
458
|
+
* The period the source covers, for example 'Q2 2026'. Display text, not parsed.
|
|
459
|
+
*
|
|
460
|
+
* @since 2.13.0
|
|
461
|
+
*/
|
|
462
|
+
period?: string;
|
|
463
|
+
/**
|
|
464
|
+
* Name of the dataset the source comes from, for example 'finance.revenue'. Display text.
|
|
465
|
+
*
|
|
466
|
+
* @since 2.13.0
|
|
467
|
+
*/
|
|
468
|
+
dataset?: string;
|
|
469
|
+
/**
|
|
470
|
+
* When the source data was current. ISO 8601 date ('2026-06-30') or date-time
|
|
471
|
+
* ('2026-06-30T23:59:59Z').
|
|
472
|
+
*
|
|
473
|
+
* @since 2.13.0
|
|
474
|
+
*/
|
|
475
|
+
asOf?: string;
|
|
476
|
+
/**
|
|
477
|
+
* Id of the query that produced this source. Matches `AIQueryMetadata.queryId`.
|
|
478
|
+
*
|
|
479
|
+
* @since 2.13.0
|
|
480
|
+
*/
|
|
481
|
+
queryId?: string;
|
|
482
|
+
/**
|
|
483
|
+
* Table cells this source supports. Each names a table block, a row and a column key.
|
|
484
|
+
*
|
|
485
|
+
* @since 2.13.0
|
|
486
|
+
*/
|
|
487
|
+
cellRefs?: AISourceCellRef[];
|
|
488
|
+
/**
|
|
489
|
+
* Chart points this source supports. Each names a chart block, a series `dataKey` and a
|
|
490
|
+
* 0-based data index.
|
|
491
|
+
*
|
|
492
|
+
* @since 2.13.0
|
|
493
|
+
*/
|
|
494
|
+
pointRefs?: AISourcePointRef[];
|
|
220
495
|
}
|
|
221
496
|
/**
|
|
222
497
|
* AIResponse - Canonical schema for a complete AI response.
|
|
@@ -231,7 +506,7 @@ export interface AIResponseSource {
|
|
|
231
506
|
* 4. `relatedQuestions` are response-level suggestions
|
|
232
507
|
*
|
|
233
508
|
* @example
|
|
234
|
-
* ```
|
|
509
|
+
* ```ts
|
|
235
510
|
* // Simple text response
|
|
236
511
|
* const simple: AIResponse = {
|
|
237
512
|
* id: 'r1',
|
|
@@ -243,16 +518,28 @@ export interface AIResponseSource {
|
|
|
243
518
|
* id: 'r2',
|
|
244
519
|
* blocks: [
|
|
245
520
|
* { type: 'text', id: 'intro', content: 'Analysis summary:' },
|
|
246
|
-
* {
|
|
521
|
+
* {
|
|
522
|
+
* type: 'chart',
|
|
523
|
+
* id: 'chart1',
|
|
524
|
+
* chartType: 'bar',
|
|
525
|
+
* data: [
|
|
526
|
+
* { quarter: 'Q3', revenue: 120 },
|
|
527
|
+
* { quarter: 'Q4', revenue: 138 },
|
|
528
|
+
* ],
|
|
529
|
+
* series: [{ dataKey: 'revenue', name: 'Revenue' }],
|
|
530
|
+
* xAxis: { dataKey: 'quarter' },
|
|
531
|
+
* },
|
|
247
532
|
* { type: 'text', content: 'The data shows growth.' },
|
|
248
533
|
* ],
|
|
249
534
|
* sources: [
|
|
250
535
|
* { id: 's1', title: 'Q4 Report', blockIds: ['chart1'] },
|
|
251
536
|
* ],
|
|
252
537
|
* relatedQuestions: ['What about Q3?', 'Show monthly breakdown'],
|
|
253
|
-
* metadata: { model: '
|
|
538
|
+
* metadata: { model: 'example-model', timestamp: '2026-01-10T10:30:00Z' },
|
|
254
539
|
* };
|
|
255
540
|
* ```
|
|
541
|
+
*
|
|
542
|
+
* @since 2.13.0
|
|
256
543
|
*/
|
|
257
544
|
export interface AIResponse {
|
|
258
545
|
/** Unique identifier for this response */
|
|
@@ -273,37 +560,138 @@ export interface AIResponse {
|
|
|
273
560
|
};
|
|
274
561
|
}
|
|
275
562
|
/**
|
|
276
|
-
* Type guard to check if a block is a TextBlock
|
|
563
|
+
* Type guard to check if a block is a TextBlock (`type: 'text'`).
|
|
564
|
+
*
|
|
565
|
+
* @since 2.13.0
|
|
277
566
|
*/
|
|
278
567
|
export declare function isTextBlock(block: AIResponseBlock): block is TextBlock;
|
|
279
568
|
/**
|
|
280
|
-
* Type guard to check if a block is a TableBlock
|
|
569
|
+
* Type guard to check if a block is a TableBlock (`type: 'table'`).
|
|
570
|
+
*
|
|
571
|
+
* @since 2.13.0
|
|
281
572
|
*/
|
|
282
573
|
export declare function isTableBlock(block: AIResponseBlock): block is TableBlock;
|
|
283
574
|
/**
|
|
284
|
-
* Type guard to check if a block is a ChartBlock
|
|
575
|
+
* Type guard to check if a block is a ChartBlock (`type: 'chart'`).
|
|
576
|
+
*
|
|
577
|
+
* @since 2.13.0
|
|
285
578
|
*/
|
|
286
579
|
export declare function isChartBlock(block: AIResponseBlock): block is ChartBlock;
|
|
287
580
|
/**
|
|
288
|
-
* Type guard to check if a block is an ImageBlock
|
|
581
|
+
* Type guard to check if a block is an ImageBlock (`type: 'image'`).
|
|
582
|
+
*
|
|
583
|
+
* @since 2.13.0
|
|
289
584
|
*/
|
|
290
585
|
export declare function isImageBlock(block: AIResponseBlock): block is ImageBlock;
|
|
291
586
|
/**
|
|
292
|
-
* Type guard to check if a block is a FormBlock
|
|
587
|
+
* Type guard to check if a block is a FormBlock (`type: 'form'`).
|
|
588
|
+
*
|
|
589
|
+
* @since 2.13.0
|
|
293
590
|
*/
|
|
294
591
|
export declare function isFormBlock(block: AIResponseBlock): block is FormBlock;
|
|
295
592
|
/**
|
|
296
|
-
* Type guard to check if a block is an ActionsBlock
|
|
593
|
+
* Type guard to check if a block is an ActionsBlock (`type: 'actions'`).
|
|
594
|
+
*
|
|
595
|
+
* @since 2.13.0
|
|
297
596
|
*/
|
|
298
597
|
export declare function isActionsBlock(block: AIResponseBlock): block is ActionsBlock;
|
|
598
|
+
/**
|
|
599
|
+
* Type guard to check if a block is a QueryBlock (`type: 'query'`).
|
|
600
|
+
*
|
|
601
|
+
* @since 2.13.0
|
|
602
|
+
*/
|
|
603
|
+
export declare function isQueryBlock(block: AIResponseBlock): block is QueryBlock;
|
|
604
|
+
/**
|
|
605
|
+
* Type guard to check if a block is a ClarificationBlock (`type: 'clarification'`).
|
|
606
|
+
*
|
|
607
|
+
* @since 2.13.0
|
|
608
|
+
*/
|
|
609
|
+
export declare function isClarificationBlock(block: AIResponseBlock): block is ClarificationBlock;
|
|
610
|
+
/**
|
|
611
|
+
* Type guard to check if a block is a PlanReviewBlock (`type: 'plan-review'`).
|
|
612
|
+
*
|
|
613
|
+
* @since 2.13.0
|
|
614
|
+
*/
|
|
615
|
+
export declare function isPlanReviewBlock(block: AIResponseBlock): block is PlanReviewBlock;
|
|
616
|
+
/**
|
|
617
|
+
* Type guard to check if a block is interactive (query, clarification or plan-review). An
|
|
618
|
+
* interactive block requires an `id`, because the events it sends name it.
|
|
619
|
+
*
|
|
620
|
+
* @since 2.13.0
|
|
621
|
+
*/
|
|
622
|
+
export declare function isInteractiveBlock(block: AIResponseBlock): block is QueryBlock | ClarificationBlock | PlanReviewBlock;
|
|
623
|
+
/**
|
|
624
|
+
* Props AIResponseRenderer passes to a block renderer.
|
|
625
|
+
*
|
|
626
|
+
* Put `id` and `data-block-id={block.id}` on the block's root element: `id` is the block's DOM id
|
|
627
|
+
* (see {@link getBlockDomId}), so anchors and ARIA references stay unique across messages.
|
|
628
|
+
*
|
|
629
|
+
* @since 2.13.0
|
|
630
|
+
*/
|
|
631
|
+
export interface AIBlockRendererProps<B extends AIResponseBlock = AIResponseBlock> {
|
|
632
|
+
/** The block to render. */
|
|
633
|
+
block: B;
|
|
634
|
+
/**
|
|
635
|
+
* The block's DOM id, from `getBlockDomId(prefix, block.id)`; `undefined` when the block has
|
|
636
|
+
* no id.
|
|
637
|
+
*/
|
|
638
|
+
id?: string;
|
|
639
|
+
/**
|
|
640
|
+
* Sends what the user did in the block (`AIBlockEvent`). A returned promise drives the block's
|
|
641
|
+
* pending state; a rejection shows its error.
|
|
642
|
+
*/
|
|
643
|
+
onBlockEvent?: (event: AIBlockEvent) => void | Promise<void>;
|
|
644
|
+
/** The response is history: the block shows its content and recorded answers, with no controls. Default `false`. */
|
|
645
|
+
readOnly?: boolean;
|
|
646
|
+
/** Reports an action in the block that failed, with `{ source: 'block', blockId }`. */
|
|
647
|
+
onActionError?: (error: unknown, context: AIActionErrorContext) => void;
|
|
648
|
+
}
|
|
649
|
+
/**
|
|
650
|
+
* A block renderer: a function component that renders one block type. Hooks are allowed.
|
|
651
|
+
*
|
|
652
|
+
* Define renderers at module scope, or memoize them. A renderer created inline on every render
|
|
653
|
+
* is a new component type each time, so React remounts the block and it loses its pending state,
|
|
654
|
+
* draft and focus; AIResponseRenderer warns in development when that happens.
|
|
655
|
+
*
|
|
656
|
+
* @example
|
|
657
|
+
* ```tsx
|
|
658
|
+
* const QueryRenderer: AIBlockRenderer<QueryBlock> = ({ block, id }) => (
|
|
659
|
+
* <pre id={id} data-block-id={block.id}>{block.query}</pre>
|
|
660
|
+
* );
|
|
661
|
+
* ```
|
|
662
|
+
*
|
|
663
|
+
* @since 2.13.0
|
|
664
|
+
*/
|
|
665
|
+
export type AIBlockRenderer<B extends AIResponseBlock = AIResponseBlock> = React.FunctionComponent<AIBlockRendererProps<B>>;
|
|
666
|
+
/**
|
|
667
|
+
* The DOM id AIResponseRenderer gives a block: `<prefix>-block-<blockId>`, with every character
|
|
668
|
+
* outside `A-Z a-z 0-9 _ -` replaced by `_`.
|
|
669
|
+
*
|
|
670
|
+
* A block id comes from the model, so it is never a DOM id itself: an id such as `config` would
|
|
671
|
+
* name a `window.config` global, and two messages with an `intro` block would repeat an id. The
|
|
672
|
+
* renderer keeps the raw id in `data-block-id`. Pass the renderer's `idPrefix` (or its `id`) as
|
|
673
|
+
* `prefix` to build a link to a block.
|
|
674
|
+
*
|
|
675
|
+
* @example
|
|
676
|
+
* ```ts
|
|
677
|
+
* const href = `#${getBlockDomId('answer-42', 'growth table')}`; // '#answer-42-block-growth_table'
|
|
678
|
+
* ```
|
|
679
|
+
*
|
|
680
|
+
* @since 2.13.0
|
|
681
|
+
*/
|
|
682
|
+
export declare function getBlockDomId(prefix: string, blockId: string): string;
|
|
299
683
|
/**
|
|
300
684
|
* Helper type to create a response with only text blocks
|
|
685
|
+
*
|
|
686
|
+
* @since 2.13.0
|
|
301
687
|
*/
|
|
302
688
|
export type TextOnlyResponse = Omit<AIResponse, 'blocks'> & {
|
|
303
689
|
blocks: TextBlock[];
|
|
304
690
|
};
|
|
305
691
|
/**
|
|
306
692
|
* Helper type for response building
|
|
693
|
+
*
|
|
694
|
+
* @since 2.13.0
|
|
307
695
|
*/
|
|
308
696
|
export type PartialAIResponse = Partial<AIResponse> & {
|
|
309
697
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../../src/components/AI/types/response.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../../src/components/AI/types/response.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AAEH,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EACV,oBAAoB,EACpB,0BAA0B,EAC1B,YAAY,EACZ,eAAe,EACf,qBAAqB,EACrB,MAAM,EACN,YAAY,EACZ,OAAO,EACR,MAAM,QAAQ,CAAC;AAMhB;;;;;GAKG;AACH,MAAM,WAAW,SAAS;IACxB,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG,UAAU,CAAC;AAErD;;;;;;;;GAQG;AACH,MAAM,WAAW,SAAU,SAAQ,SAAS;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,uBAAuB;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,qDAAqD;IACrD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yCAAyC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