bstp-agent-widget 0.2.116 → 0.2.118
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/dist/angular.cjs +36 -36
- package/dist/angular.css +1 -1
- package/dist/angular.mjs +10884 -10583
- package/dist/element.cjs +35 -35
- package/dist/element.css +1 -1
- package/dist/element.mjs +5106 -4818
- package/dist/index.cjs +124 -124
- package/dist/index.mjs +11488 -11216
- package/dist/shadow.cjs +35 -35
- package/dist/shadow.css +1 -1
- package/dist/shadow.mjs +5099 -4811
- package/dist/styles.css +1 -1
- package/dist/styles.layer.css +1 -1
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/integrations/angular.d.mts +3 -3
- package/dist/types/integrations/angular.d.ts +3 -3
- package/dist/types/internal/components/{AgentChat/AgentChatFab/AgentChatFab.d.mts → AgentFab/AgentFab.d.mts} +2 -2
- package/dist/types/internal/components/{AgentChat/AgentChatFab/AgentChatFab.d.ts → AgentFab/AgentFab.d.ts} +2 -2
- package/dist/types/internal/components/AgentFab/index.d.mts +1 -0
- package/dist/types/internal/components/AgentFab/index.d.ts +1 -0
- package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownActionsWidget.d.mts +7 -0
- package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownActionsWidget.d.ts +7 -0
- package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownChartWidget.d.mts +2 -0
- package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownChartWidget.d.ts +2 -0
- package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownHighlightBoxWidget.d.mts +2 -0
- package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownHighlightBoxWidget.d.ts +2 -0
- package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownOfferCardWidget.d.mts +2 -0
- package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownOfferCardWidget.d.ts +2 -0
- package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownRegistry.d.mts +12 -0
- package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownRegistry.d.ts +12 -0
- package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownRenderer.d.mts +2 -0
- package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownRenderer.d.ts +2 -0
- package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownTableWidget.d.mts +2 -0
- package/dist/types/internal/components/AgentMarkdownRenderer/AgentMarkdownTableWidget.d.ts +2 -0
- package/dist/types/internal/components/AgentMarkdownRenderer/Overview/AgentMarkdownOverviewCardWidget.d.mts +2 -0
- package/dist/types/internal/components/AgentMarkdownRenderer/Overview/AgentMarkdownOverviewCardWidget.d.ts +2 -0
- package/dist/types/internal/components/{AgentChat/MarkdownRenderer/Overview/AgentChatMdOverviewCardWidgetWrapper.d.mts → AgentMarkdownRenderer/Overview/AgentMarkdownOverviewCardWidgetWrapper.d.mts} +1 -1
- package/dist/types/internal/components/{AgentChat/MarkdownRenderer/Overview/AgentChatMdOverviewCardWidgetWrapper.d.ts → AgentMarkdownRenderer/Overview/AgentMarkdownOverviewCardWidgetWrapper.d.ts} +1 -1
- package/dist/types/internal/components/{AgentChat/MarkdownRenderer → AgentMarkdownRenderer}/Overview/OverviewAccountCard.d.mts +2 -2
- package/dist/types/internal/components/{AgentChat/MarkdownRenderer → AgentMarkdownRenderer}/Overview/OverviewAccountCard.d.ts +2 -2
- package/dist/types/internal/components/{AgentChat/MarkdownRenderer → AgentMarkdownRenderer}/adapters/widget-config.adapter.d.mts +7 -6
- package/dist/types/internal/components/{AgentChat/MarkdownRenderer → AgentMarkdownRenderer}/adapters/widget-config.adapter.d.ts +7 -6
- package/dist/types/internal/components/AgentMarkdownRenderer/index.d.mts +8 -0
- package/dist/types/internal/components/AgentMarkdownRenderer/index.d.ts +8 -0
- package/dist/types/internal/components/AgentPanel/AgentPanel.d.mts +36 -0
- package/dist/types/internal/components/AgentPanel/AgentPanel.d.ts +36 -0
- package/dist/types/internal/components/AgentPanel/AgentPanelContentBody.d.mts +10 -0
- package/dist/types/internal/components/AgentPanel/AgentPanelContentBody.d.ts +10 -0
- package/dist/types/internal/components/AgentPanel/AgentPanelFooter.d.mts +11 -0
- package/dist/types/internal/components/AgentPanel/AgentPanelFooter.d.ts +11 -0
- package/dist/types/internal/components/AgentPanel/AgentPanelHeader.d.mts +7 -0
- package/dist/types/internal/components/AgentPanel/AgentPanelHeader.d.ts +7 -0
- package/dist/types/internal/components/AgentPanel/index.d.mts +4 -0
- package/dist/types/internal/components/AgentPanel/index.d.ts +4 -0
- package/dist/types/internal/components/AgentTextInput/AgentTextInput.d.mts +11 -0
- package/dist/types/internal/components/AgentTextInput/AgentTextInput.d.ts +11 -0
- package/dist/types/internal/components/AgentTextInput/index.d.mts +1 -0
- package/dist/types/internal/components/AgentTextInput/index.d.ts +1 -0
- package/dist/types/internal/components/AgentTypingIndicator/AgentTypingIndicator.d.mts +11 -0
- package/dist/types/internal/components/AgentTypingIndicator/AgentTypingIndicator.d.ts +11 -0
- package/dist/types/internal/components/AgentTypingIndicator/index.d.mts +1 -0
- package/dist/types/internal/components/AgentTypingIndicator/index.d.ts +1 -0
- package/dist/types/internal/components/AgentVoiceButton/AgentVoiceButton.d.mts +8 -0
- package/dist/types/internal/components/AgentVoiceButton/AgentVoiceButton.d.ts +8 -0
- package/dist/types/internal/components/AgentVoiceButton/index.d.mts +1 -0
- package/dist/types/internal/components/AgentVoiceButton/index.d.ts +1 -0
- package/dist/types/internal/context/AgentConfigContext.d.mts +2 -0
- package/dist/types/internal/context/AgentConfigContext.d.ts +2 -0
- package/dist/types/internal/context/AgentRuntimeContext.d.mts +2 -0
- package/dist/types/internal/context/AgentRuntimeContext.d.ts +2 -0
- package/dist/types/internal/enums/agent-chat-message-sender.d.mts +1 -1
- package/dist/types/internal/enums/agent-chat-message-sender.d.ts +1 -1
- package/dist/types/internal/enums/markdown-renderer-visualization-type.d.mts +1 -0
- package/dist/types/internal/enums/markdown-renderer-visualization-type.d.ts +1 -0
- package/dist/types/internal/enums/markdown-renderer-widget-type.d.mts +12 -0
- package/dist/types/internal/enums/markdown-renderer-widget-type.d.ts +12 -0
- package/dist/types/internal/features/agent-chat/components/AgentLauncher/AgentLauncher.d.mts +2 -0
- package/dist/types/internal/features/agent-chat/components/AgentLauncher/AgentLauncher.d.ts +2 -0
- package/dist/types/internal/hooks/{useAgentChat.d.mts → useAgent.d.mts} +4 -4
- package/dist/types/internal/hooks/{useAgentChat.d.ts → useAgent.d.ts} +4 -4
- package/dist/types/internal/hooks/useAgentActions.d.mts +6 -0
- package/dist/types/internal/hooks/useAgentActions.d.ts +6 -0
- package/dist/types/internal/hooks/useAgentChartWidgetUtils.d.mts +7 -0
- package/dist/types/internal/hooks/useAgentChartWidgetUtils.d.ts +7 -0
- package/dist/types/internal/hooks/{useAgentChatConfig.d.mts → useAgentConfig.d.mts} +1 -1
- package/dist/types/internal/hooks/{useAgentChatConfig.d.ts → useAgentConfig.d.ts} +1 -1
- package/dist/types/internal/hooks/{useAgentChatLayout.d.mts → useAgentLayout.d.mts} +6 -1
- package/dist/types/internal/hooks/{useAgentChatLayout.d.ts → useAgentLayout.d.ts} +6 -1
- package/dist/types/internal/hooks/{useAgentChatMdRendererElements.d.mts → useAgentMarkdownRendererElements.d.mts} +1 -1
- package/dist/types/internal/hooks/{useAgentChatMdRendererElements.d.ts → useAgentMarkdownRendererElements.d.ts} +1 -1
- package/dist/types/internal/hooks/{useAgentChatOverviewCardData.d.mts → useAgentOverviewCardData.d.mts} +1 -1
- package/dist/types/internal/hooks/{useAgentChatOverviewCardData.d.ts → useAgentOverviewCardData.d.ts} +1 -1
- package/dist/types/internal/hooks/{useAgentChatRuntime.d.mts → useAgentRuntime.d.mts} +1 -1
- package/dist/types/internal/hooks/{useAgentChatRuntime.d.ts → useAgentRuntime.d.ts} +1 -1
- package/dist/types/internal/hooks/{useAgentChatRuntimeInfo.d.mts → useAgentRuntimeInfo.d.mts} +2 -2
- package/dist/types/internal/hooks/{useAgentChatRuntimeInfo.d.ts → useAgentRuntimeInfo.d.ts} +2 -2
- package/dist/types/internal/hooks/useAgentSpeechLanguage.d.mts +1 -0
- package/dist/types/internal/hooks/useAgentSpeechLanguage.d.ts +1 -0
- package/dist/types/internal/hooks/{useAgentChatSpeechToText.d.mts → useAgentSpeechToText.d.mts} +1 -1
- package/dist/types/internal/hooks/{useAgentChatSpeechToText.d.ts → useAgentSpeechToText.d.ts} +1 -1
- package/dist/types/internal/hooks/useAgentTypingIndicator.d.mts +11 -0
- package/dist/types/internal/hooks/useAgentTypingIndicator.d.ts +11 -0
- package/dist/types/internal/hooks/{useAgentChatUiOptions.d.mts → useAgentUiOptions.d.mts} +1 -2
- package/dist/types/internal/hooks/{useAgentChatUiOptions.d.ts → useAgentUiOptions.d.ts} +1 -2
- package/dist/types/internal/hooks/{useAgentChatVoiceHandlers.d.mts → useAgentVoiceHandlers.d.mts} +2 -2
- package/dist/types/internal/hooks/{useAgentChatVoiceHandlers.d.ts → useAgentVoiceHandlers.d.ts} +2 -2
- package/dist/types/internal/mappers/agent-chat-action.mapper.d.mts +2 -2
- package/dist/types/internal/mappers/agent-chat-action.mapper.d.ts +2 -2
- package/dist/types/internal/providers/{AgentChatProviders.d.mts → AgentProviders.d.mts} +2 -2
- package/dist/types/internal/providers/{AgentChatProviders.d.ts → AgentProviders.d.ts} +2 -2
- package/dist/types/internal/stores/agent-chat/agent-chat.store.d.mts +7 -7
- package/dist/types/internal/stores/agent-chat/agent-chat.store.d.ts +7 -7
- package/dist/types/internal/theme/foundations/icon-props.d.mts +4 -0
- package/dist/types/internal/theme/foundations/icon-props.d.ts +4 -0
- package/dist/types/internal/theme/widget-theme-presets.d.mts +17 -0
- package/dist/types/internal/theme/widget-theme-presets.d.ts +17 -0
- package/dist/types/internal/types/models/agent-chat-action.d.mts +1 -1
- package/dist/types/internal/types/models/agent-chat-action.d.ts +1 -1
- package/dist/types/internal/types/models/agent-chat-md-chart-widget.d.mts +3 -3
- package/dist/types/internal/types/models/agent-chat-md-chart-widget.d.ts +3 -3
- package/dist/types/internal/types/models/agent-chat-md-highlight-box-widget.d.mts +1 -1
- package/dist/types/internal/types/models/agent-chat-md-highlight-box-widget.d.ts +1 -1
- package/dist/types/internal/types/models/agent-chat-md-offer-card-widget.d.mts +3 -3
- package/dist/types/internal/types/models/agent-chat-md-offer-card-widget.d.ts +3 -3
- package/dist/types/internal/types/models/agent-chat-md-overview-card-widget.d.mts +6 -6
- package/dist/types/internal/types/models/agent-chat-md-overview-card-widget.d.ts +6 -6
- package/dist/types/internal/types/models/agent-chat-md-renderer.d.mts +1 -1
- package/dist/types/internal/types/models/agent-chat-md-renderer.d.ts +1 -1
- package/dist/types/internal/types/models/agent-chat-md-table-widget.d.mts +1 -1
- package/dist/types/internal/types/models/agent-chat-md-table-widget.d.ts +1 -1
- package/dist/types/internal/types/models/agent-chat-md-widget-config.d.mts +8 -8
- package/dist/types/internal/types/models/agent-chat-md-widget-config.d.ts +8 -8
- package/dist/types/internal/types/models/agent-chat-message.d.mts +3 -3
- package/dist/types/internal/types/models/agent-chat-message.d.ts +3 -3
- package/dist/types/internal/types/models/agent-chat-runtime-info.d.mts +1 -1
- package/dist/types/internal/types/models/agent-chat-runtime-info.d.ts +1 -1
- package/dist/types/internal/types/models/agent-chat-usage-chart-item.d.mts +1 -1
- package/dist/types/internal/types/models/agent-chat-usage-chart-item.d.ts +1 -1
- package/dist/types/internal/types/models/widget-theme-name.d.mts +2 -0
- package/dist/types/internal/types/models/widget-theme-name.d.ts +2 -0
- package/dist/types/internal/types/models/widget-ui-options.d.mts +3 -2
- package/dist/types/internal/types/models/widget-ui-options.d.ts +3 -2
- package/dist/types/internal/utils/agent-chat/widget/chart-data-extractor.d.mts +2 -2
- package/dist/types/internal/utils/agent-chat/widget/chart-data-extractor.d.ts +2 -2
- package/dist/types/widget/WidgetProvider.d.mts +1 -1
- package/dist/types/widget/WidgetProvider.d.ts +1 -1
- package/package.json +2 -2
- package/dist/types/internal/components/AgentChat/AgentChatFab/index.d.mts +0 -1
- package/dist/types/internal/components/AgentChat/AgentChatFab/index.d.ts +0 -1
- package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanel.d.mts +0 -33
- package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanel.d.ts +0 -33
- package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanelContentBody.d.mts +0 -10
- package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanelContentBody.d.ts +0 -10
- package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanelFooter.d.mts +0 -11
- package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanelFooter.d.ts +0 -11
- package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanelHeader.d.mts +0 -7
- package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanelHeader.d.ts +0 -7
- package/dist/types/internal/components/AgentChat/AgentChatPanel/index.d.mts +0 -4
- package/dist/types/internal/components/AgentChat/AgentChatPanel/index.d.ts +0 -4
- package/dist/types/internal/components/AgentChat/AgentChatTextInput/AgentChatTextInput.d.mts +0 -8
- package/dist/types/internal/components/AgentChat/AgentChatTextInput/AgentChatTextInput.d.ts +0 -8
- package/dist/types/internal/components/AgentChat/AgentChatTextInput/index.d.mts +0 -1
- package/dist/types/internal/components/AgentChat/AgentChatTextInput/index.d.ts +0 -1
- package/dist/types/internal/components/AgentChat/AgentChatTypingIndicator/AgentChatTypingIndicator.d.mts +0 -11
- package/dist/types/internal/components/AgentChat/AgentChatTypingIndicator/AgentChatTypingIndicator.d.ts +0 -11
- package/dist/types/internal/components/AgentChat/AgentChatTypingIndicator/index.d.mts +0 -1
- package/dist/types/internal/components/AgentChat/AgentChatTypingIndicator/index.d.ts +0 -1
- package/dist/types/internal/components/AgentChat/AgentChatVoiceButton/AgentChatVoiceButton.d.mts +0 -7
- package/dist/types/internal/components/AgentChat/AgentChatVoiceButton/AgentChatVoiceButton.d.ts +0 -7
- package/dist/types/internal/components/AgentChat/AgentChatVoiceButton/index.d.mts +0 -1
- package/dist/types/internal/components/AgentChat/AgentChatVoiceButton/index.d.ts +0 -1
- package/dist/types/internal/components/AgentChat/AgentChatVoiceRecordingIndicator/AgentChatVoiceRecordingIndicator.d.mts +0 -4
- package/dist/types/internal/components/AgentChat/AgentChatVoiceRecordingIndicator/AgentChatVoiceRecordingIndicator.d.ts +0 -4
- package/dist/types/internal/components/AgentChat/AgentChatVoiceRecordingIndicator/index.d.mts +0 -1
- package/dist/types/internal/components/AgentChat/AgentChatVoiceRecordingIndicator/index.d.ts +0 -1
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdActionsWidget.d.mts +0 -7
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdActionsWidget.d.ts +0 -7
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdChartWidget.d.mts +0 -2
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdChartWidget.d.ts +0 -2
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdHighlightBoxWidget.d.mts +0 -2
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdHighlightBoxWidget.d.ts +0 -2
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdOfferCardWidget.d.mts +0 -2
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdOfferCardWidget.d.ts +0 -2
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdRegistry.d.mts +0 -3
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdRegistry.d.ts +0 -3
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdRenderer.d.mts +0 -2
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdRenderer.d.ts +0 -2
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdTableWidget.d.mts +0 -2
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdTableWidget.d.ts +0 -2
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/Overview/AgentChatMdOverviewCardWidget.d.mts +0 -2
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/Overview/AgentChatMdOverviewCardWidget.d.ts +0 -2
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/index.d.mts +0 -8
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/index.d.ts +0 -8
- package/dist/types/internal/components/AgentChat/index.d.mts +0 -7
- package/dist/types/internal/components/AgentChat/index.d.ts +0 -7
- package/dist/types/internal/context/AgentChatConfigContext.d.mts +0 -2
- package/dist/types/internal/context/AgentChatConfigContext.d.ts +0 -2
- package/dist/types/internal/context/AgentChatRuntimeContext.d.mts +0 -2
- package/dist/types/internal/context/AgentChatRuntimeContext.d.ts +0 -2
- package/dist/types/internal/features/agent-chat/components/AgentChatLauncher/AgentChatLauncher.d.mts +0 -2
- package/dist/types/internal/features/agent-chat/components/AgentChatLauncher/AgentChatLauncher.d.ts +0 -2
- package/dist/types/internal/hooks/useAccentColor.d.mts +0 -150
- package/dist/types/internal/hooks/useAccentColor.d.ts +0 -150
- package/dist/types/internal/hooks/useAgentChatActions.d.mts +0 -6
- package/dist/types/internal/hooks/useAgentChatActions.d.ts +0 -6
- package/dist/types/internal/hooks/useAgentChatChartWidgetUtils.d.mts +0 -7
- package/dist/types/internal/hooks/useAgentChatChartWidgetUtils.d.ts +0 -7
- package/dist/types/internal/hooks/useAgentChatSpeechLanguage.d.mts +0 -1
- package/dist/types/internal/hooks/useAgentChatSpeechLanguage.d.ts +0 -1
- package/dist/types/internal/hooks/useAgentChatTypingIndicator.d.mts +0 -11
- package/dist/types/internal/hooks/useAgentChatTypingIndicator.d.ts +0 -11
- package/dist/types/internal/utils/color-utils.d.mts +0 -8
- package/dist/types/internal/utils/color-utils.d.ts +0 -8
- /package/dist/types/internal/components/{AgentChat/MarkdownRenderer → AgentMarkdownRenderer}/Overview/OverviewAdvantageCard.d.mts +0 -0
- /package/dist/types/internal/components/{AgentChat/MarkdownRenderer → AgentMarkdownRenderer}/Overview/OverviewAdvantageCard.d.ts +0 -0
- /package/dist/types/internal/components/{AgentChat/MarkdownRenderer → AgentMarkdownRenderer}/Overview/OverviewPriceDisplay.d.mts +0 -0
- /package/dist/types/internal/components/{AgentChat/MarkdownRenderer → AgentMarkdownRenderer}/Overview/OverviewPriceDisplay.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { AgentAction } from './agent-chat-action';
|
|
2
|
+
import { AgentMarkdownChartWidgetItem } from './agent-chat-md-chart-widget';
|
|
3
|
+
import { AgentMarkdownOfferCardWidgetItem } from './agent-chat-md-offer-card-widget';
|
|
4
4
|
export interface MdWidgetDataWithResponseList<T> {
|
|
5
5
|
responseList?: T[];
|
|
6
6
|
}
|
|
@@ -38,17 +38,17 @@ export interface BaseMdWidgetConfig {
|
|
|
38
38
|
data?: Record<string, unknown> | MdWidgetDataWithResponseList<unknown>;
|
|
39
39
|
visualizationConfig?: VisualizationConfig;
|
|
40
40
|
responseType?: string;
|
|
41
|
-
actions?:
|
|
41
|
+
actions?: AgentAction[];
|
|
42
42
|
}
|
|
43
43
|
export interface ChartWidgetConfig extends BaseMdWidgetConfig {
|
|
44
44
|
type: 'chart' | 'usage-chart';
|
|
45
|
-
items?:
|
|
45
|
+
items?: AgentMarkdownChartWidgetItem[];
|
|
46
46
|
visualizationConfig?: ChartVisualizationConfig;
|
|
47
47
|
}
|
|
48
48
|
export interface OfferCardWidgetConfig extends BaseMdWidgetConfig {
|
|
49
49
|
type: 'offer-card' | 'addon-card';
|
|
50
|
-
items?:
|
|
51
|
-
data?: MdWidgetDataWithResponseList<
|
|
50
|
+
items?: AgentMarkdownOfferCardWidgetItem[];
|
|
51
|
+
data?: MdWidgetDataWithResponseList<AgentMarkdownOfferCardWidgetItem>;
|
|
52
52
|
visualizationConfig?: OfferCardVisualizationConfig;
|
|
53
53
|
}
|
|
54
54
|
export interface OverviewCardWidgetConfig extends BaseMdWidgetConfig {
|
|
@@ -67,6 +67,6 @@ export interface HighlightBoxWidgetConfig extends BaseMdWidgetConfig {
|
|
|
67
67
|
}
|
|
68
68
|
export interface ActionsWidgetConfig extends BaseMdWidgetConfig {
|
|
69
69
|
type: 'actions';
|
|
70
|
-
actions:
|
|
70
|
+
actions: AgentAction[];
|
|
71
71
|
}
|
|
72
72
|
export type MdWidgetConfig = ChartWidgetConfig | OfferCardWidgetConfig | OverviewCardWidgetConfig | TableWidgetConfig | HighlightBoxWidgetConfig | ActionsWidgetConfig;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { AgentAction } from './agent-chat-action';
|
|
2
|
+
import { AgentMarkdownChartWidgetItem } from './agent-chat-md-chart-widget';
|
|
3
|
+
import { AgentMarkdownOfferCardWidgetItem } from './agent-chat-md-offer-card-widget';
|
|
4
4
|
export interface MdWidgetDataWithResponseList<T> {
|
|
5
5
|
responseList?: T[];
|
|
6
6
|
}
|
|
@@ -38,17 +38,17 @@ export interface BaseMdWidgetConfig {
|
|
|
38
38
|
data?: Record<string, unknown> | MdWidgetDataWithResponseList<unknown>;
|
|
39
39
|
visualizationConfig?: VisualizationConfig;
|
|
40
40
|
responseType?: string;
|
|
41
|
-
actions?:
|
|
41
|
+
actions?: AgentAction[];
|
|
42
42
|
}
|
|
43
43
|
export interface ChartWidgetConfig extends BaseMdWidgetConfig {
|
|
44
44
|
type: 'chart' | 'usage-chart';
|
|
45
|
-
items?:
|
|
45
|
+
items?: AgentMarkdownChartWidgetItem[];
|
|
46
46
|
visualizationConfig?: ChartVisualizationConfig;
|
|
47
47
|
}
|
|
48
48
|
export interface OfferCardWidgetConfig extends BaseMdWidgetConfig {
|
|
49
49
|
type: 'offer-card' | 'addon-card';
|
|
50
|
-
items?:
|
|
51
|
-
data?: MdWidgetDataWithResponseList<
|
|
50
|
+
items?: AgentMarkdownOfferCardWidgetItem[];
|
|
51
|
+
data?: MdWidgetDataWithResponseList<AgentMarkdownOfferCardWidgetItem>;
|
|
52
52
|
visualizationConfig?: OfferCardVisualizationConfig;
|
|
53
53
|
}
|
|
54
54
|
export interface OverviewCardWidgetConfig extends BaseMdWidgetConfig {
|
|
@@ -67,6 +67,6 @@ export interface HighlightBoxWidgetConfig extends BaseMdWidgetConfig {
|
|
|
67
67
|
}
|
|
68
68
|
export interface ActionsWidgetConfig extends BaseMdWidgetConfig {
|
|
69
69
|
type: 'actions';
|
|
70
|
-
actions:
|
|
70
|
+
actions: AgentAction[];
|
|
71
71
|
}
|
|
72
72
|
export type MdWidgetConfig = ChartWidgetConfig | OfferCardWidgetConfig | OverviewCardWidgetConfig | TableWidgetConfig | HighlightBoxWidgetConfig | ActionsWidgetConfig;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface
|
|
1
|
+
import { AgentMessageSender } from '@/enums/agent-chat-message-sender';
|
|
2
|
+
export interface AgentMessage {
|
|
3
3
|
id: string;
|
|
4
|
-
sentBy:
|
|
4
|
+
sentBy: AgentMessageSender;
|
|
5
5
|
text: string;
|
|
6
6
|
createdAt?: string;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface
|
|
1
|
+
import { AgentMessageSender } from '@/enums/agent-chat-message-sender';
|
|
2
|
+
export interface AgentMessage {
|
|
3
3
|
id: string;
|
|
4
|
-
sentBy:
|
|
4
|
+
sentBy: AgentMessageSender;
|
|
5
5
|
text: string;
|
|
6
6
|
createdAt?: string;
|
|
7
7
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { WidgetThemeName } from './widget-theme-name';
|
|
1
2
|
export interface WidgetUiOptions {
|
|
2
3
|
/** Panel width in px */
|
|
3
4
|
panelWidth?: number;
|
|
@@ -7,8 +8,8 @@ export interface WidgetUiOptions {
|
|
|
7
8
|
panelHeaderHeight?: number;
|
|
8
9
|
/** Text shown in panel header title */
|
|
9
10
|
panelTitle?: string;
|
|
10
|
-
/**
|
|
11
|
-
|
|
11
|
+
/** Named widget theme preset that controls colors, borders, spacing, radii, fonts, and icon sizing */
|
|
12
|
+
themeName?: WidgetThemeName;
|
|
12
13
|
/** FAB button bottom offset in px */
|
|
13
14
|
fabBottomOffset?: number;
|
|
14
15
|
/** FAB button top offset in px (takes precedence over bottom offset when provided) */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { WidgetThemeName } from './widget-theme-name';
|
|
1
2
|
export interface WidgetUiOptions {
|
|
2
3
|
/** Panel width in px */
|
|
3
4
|
panelWidth?: number;
|
|
@@ -7,8 +8,8 @@ export interface WidgetUiOptions {
|
|
|
7
8
|
panelHeaderHeight?: number;
|
|
8
9
|
/** Text shown in panel header title */
|
|
9
10
|
panelTitle?: string;
|
|
10
|
-
/**
|
|
11
|
-
|
|
11
|
+
/** Named widget theme preset that controls colors, borders, spacing, radii, fonts, and icon sizing */
|
|
12
|
+
themeName?: WidgetThemeName;
|
|
12
13
|
/** FAB button bottom offset in px */
|
|
13
14
|
fabBottomOffset?: number;
|
|
14
15
|
/** FAB button top offset in px (takes precedence over bottom offset when provided) */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function extractUsageDonutItems(parsed: unknown):
|
|
1
|
+
import { AgentUsageChartItem } from '@/types/models/agent-chat-usage-chart-item';
|
|
2
|
+
export declare function extractUsageDonutItems(parsed: unknown): AgentUsageChartItem[] | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function extractUsageDonutItems(parsed: unknown):
|
|
1
|
+
import { AgentUsageChartItem } from '@/types/models/agent-chat-usage-chart-item';
|
|
2
|
+
export declare function extractUsageDonutItems(parsed: unknown): AgentUsageChartItem[] | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type MantineThemeOverride } from '@mantine/core';
|
|
2
|
-
import type
|
|
2
|
+
import { type ReactNode } from 'react';
|
|
3
3
|
import type { AppConfig } from '../internal/types/models/app-config';
|
|
4
4
|
import type { WidgetConfig } from '../internal/types/models/widget-config';
|
|
5
5
|
import type { WidgetRuntime } from '../internal/types/models/widget-runtime';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type MantineThemeOverride } from '@mantine/core';
|
|
2
|
-
import type
|
|
2
|
+
import { type ReactNode } from 'react';
|
|
3
3
|
import type { AppConfig } from '../internal/types/models/app-config';
|
|
4
4
|
import type { WidgetConfig } from '../internal/types/models/widget-config';
|
|
5
5
|
import type { WidgetRuntime } from '../internal/types/models/widget-runtime';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bstp-agent-widget",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.118",
|
|
4
4
|
"description": "Agent chat widget library built on the bstp widget starter infrastructure",
|
|
5
5
|
"packageManager": "bun@1.3.13",
|
|
6
6
|
"license": "MIT",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"**/*.css"
|
|
75
75
|
],
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"@angular/core": ">=
|
|
77
|
+
"@angular/core": ">=18.0.0"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
80
|
"@mantine/core": "9.1.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AgentChatFab';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AgentChatFab';
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { AgentChatAction } from '@/types/models/agent-chat-action';
|
|
2
|
-
import { AgentChatMessage } from '@/types/models/agent-chat-message';
|
|
3
|
-
import { AgentChatRuntimeInfo } from '@/types/models/agent-chat-runtime-info';
|
|
4
|
-
export interface AgentChatPanelProps {
|
|
5
|
-
visible: boolean;
|
|
6
|
-
onClose: () => void;
|
|
7
|
-
messages: AgentChatMessage[];
|
|
8
|
-
composerText: string;
|
|
9
|
-
onComposerTextChange: (text: string) => void;
|
|
10
|
-
isLoading: boolean;
|
|
11
|
-
error: string | null;
|
|
12
|
-
canSend: boolean;
|
|
13
|
-
onSubmit: () => void;
|
|
14
|
-
isListening: boolean;
|
|
15
|
-
isVoiceSupported: boolean;
|
|
16
|
-
onToggleVoice: () => void;
|
|
17
|
-
actions: AgentChatAction[];
|
|
18
|
-
onActionClick: (action: AgentChatAction) => void;
|
|
19
|
-
panelTitle: React.ReactNode;
|
|
20
|
-
runtimeInfo: AgentChatRuntimeInfo;
|
|
21
|
-
scrollViewportRef: React.RefObject<HTMLDivElement | null>;
|
|
22
|
-
panelWidth?: number;
|
|
23
|
-
panelHeight?: number | string;
|
|
24
|
-
panelHeaderHeight?: number;
|
|
25
|
-
panelResizableWidth?: {
|
|
26
|
-
offset: number;
|
|
27
|
-
handlePointerDown: (e: React.PointerEvent<HTMLElement>) => void;
|
|
28
|
-
style: React.CSSProperties;
|
|
29
|
-
};
|
|
30
|
-
zIndex?: number;
|
|
31
|
-
panelTopOffset?: number;
|
|
32
|
-
}
|
|
33
|
-
export declare function AgentChatPanel({ visible, onClose, messages, composerText, onComposerTextChange, isLoading, error, canSend, onSubmit, isListening, isVoiceSupported, onToggleVoice, actions, onActionClick, panelTitle, runtimeInfo, scrollViewportRef, panelWidth, panelHeight, panelHeaderHeight, panelResizableWidth, zIndex, panelTopOffset, }: AgentChatPanelProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { AgentChatAction } from '@/types/models/agent-chat-action';
|
|
2
|
-
import { AgentChatMessage } from '@/types/models/agent-chat-message';
|
|
3
|
-
import { AgentChatRuntimeInfo } from '@/types/models/agent-chat-runtime-info';
|
|
4
|
-
export interface AgentChatPanelProps {
|
|
5
|
-
visible: boolean;
|
|
6
|
-
onClose: () => void;
|
|
7
|
-
messages: AgentChatMessage[];
|
|
8
|
-
composerText: string;
|
|
9
|
-
onComposerTextChange: (text: string) => void;
|
|
10
|
-
isLoading: boolean;
|
|
11
|
-
error: string | null;
|
|
12
|
-
canSend: boolean;
|
|
13
|
-
onSubmit: () => void;
|
|
14
|
-
isListening: boolean;
|
|
15
|
-
isVoiceSupported: boolean;
|
|
16
|
-
onToggleVoice: () => void;
|
|
17
|
-
actions: AgentChatAction[];
|
|
18
|
-
onActionClick: (action: AgentChatAction) => void;
|
|
19
|
-
panelTitle: React.ReactNode;
|
|
20
|
-
runtimeInfo: AgentChatRuntimeInfo;
|
|
21
|
-
scrollViewportRef: React.RefObject<HTMLDivElement | null>;
|
|
22
|
-
panelWidth?: number;
|
|
23
|
-
panelHeight?: number | string;
|
|
24
|
-
panelHeaderHeight?: number;
|
|
25
|
-
panelResizableWidth?: {
|
|
26
|
-
offset: number;
|
|
27
|
-
handlePointerDown: (e: React.PointerEvent<HTMLElement>) => void;
|
|
28
|
-
style: React.CSSProperties;
|
|
29
|
-
};
|
|
30
|
-
zIndex?: number;
|
|
31
|
-
panelTopOffset?: number;
|
|
32
|
-
}
|
|
33
|
-
export declare function AgentChatPanel({ visible, onClose, messages, composerText, onComposerTextChange, isLoading, error, canSend, onSubmit, isListening, isVoiceSupported, onToggleVoice, actions, onActionClick, panelTitle, runtimeInfo, scrollViewportRef, panelWidth, panelHeight, panelHeaderHeight, panelResizableWidth, zIndex, panelTopOffset, }: AgentChatPanelProps): import("react/jsx-runtime").JSX.Element | null;
|
package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanelContentBody.d.mts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { WidgetEvent } from '@markdown-ui/react';
|
|
2
|
-
import { AgentChatMessage } from '@/types/models/agent-chat-message';
|
|
3
|
-
export interface AgentChatPanelContentBodyProps {
|
|
4
|
-
messages: AgentChatMessage[];
|
|
5
|
-
isLoading: boolean;
|
|
6
|
-
error: string | null;
|
|
7
|
-
scrollViewportRef: React.RefObject<HTMLDivElement | null>;
|
|
8
|
-
onWidgetEvent?: (event: WidgetEvent) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare function AgentChatPanelContentBody({ messages, isLoading, error, scrollViewportRef, onWidgetEvent, }: AgentChatPanelContentBodyProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanelContentBody.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { WidgetEvent } from '@markdown-ui/react';
|
|
2
|
-
import { AgentChatMessage } from '@/types/models/agent-chat-message';
|
|
3
|
-
export interface AgentChatPanelContentBodyProps {
|
|
4
|
-
messages: AgentChatMessage[];
|
|
5
|
-
isLoading: boolean;
|
|
6
|
-
error: string | null;
|
|
7
|
-
scrollViewportRef: React.RefObject<HTMLDivElement | null>;
|
|
8
|
-
onWidgetEvent?: (event: WidgetEvent) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare function AgentChatPanelContentBody({ messages, isLoading, error, scrollViewportRef, onWidgetEvent, }: AgentChatPanelContentBodyProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface AgentChatPanelFooterProps {
|
|
2
|
-
composerText: string;
|
|
3
|
-
onComposerTextChange: (text: string) => void;
|
|
4
|
-
isLoading: boolean;
|
|
5
|
-
isListening: boolean;
|
|
6
|
-
isVoiceSupported: boolean;
|
|
7
|
-
canSend: boolean;
|
|
8
|
-
onSubmit: () => void;
|
|
9
|
-
onToggleVoice: () => void;
|
|
10
|
-
}
|
|
11
|
-
export declare function AgentChatPanelFooter({ composerText, onComposerTextChange, isLoading, isListening, isVoiceSupported, canSend, onSubmit, onToggleVoice, }: AgentChatPanelFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface AgentChatPanelFooterProps {
|
|
2
|
-
composerText: string;
|
|
3
|
-
onComposerTextChange: (text: string) => void;
|
|
4
|
-
isLoading: boolean;
|
|
5
|
-
isListening: boolean;
|
|
6
|
-
isVoiceSupported: boolean;
|
|
7
|
-
canSend: boolean;
|
|
8
|
-
onSubmit: () => void;
|
|
9
|
-
onToggleVoice: () => void;
|
|
10
|
-
}
|
|
11
|
-
export declare function AgentChatPanelFooter({ composerText, onComposerTextChange, isLoading, isListening, isVoiceSupported, canSend, onSubmit, onToggleVoice, }: AgentChatPanelFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export interface AgentPanelHeaderProps {
|
|
2
|
-
panelTitle: React.ReactNode;
|
|
3
|
-
isLoading: boolean;
|
|
4
|
-
isOnline: boolean;
|
|
5
|
-
onClose: () => void;
|
|
6
|
-
}
|
|
7
|
-
export declare function AgentChatPanelHeader({ panelTitle, isLoading, isOnline, onClose, }: AgentPanelHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export interface AgentPanelHeaderProps {
|
|
2
|
-
panelTitle: React.ReactNode;
|
|
3
|
-
isLoading: boolean;
|
|
4
|
-
isOnline: boolean;
|
|
5
|
-
onClose: () => void;
|
|
6
|
-
}
|
|
7
|
-
export declare function AgentChatPanelHeader({ panelTitle, isLoading, isOnline, onClose, }: AgentPanelHeaderProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/types/internal/components/AgentChat/AgentChatTextInput/AgentChatTextInput.d.mts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface AgentChatTextInputProps {
|
|
2
|
-
composerText: string;
|
|
3
|
-
onComposerTextChange: (text: string) => void;
|
|
4
|
-
isLoading: boolean;
|
|
5
|
-
isListening: boolean;
|
|
6
|
-
onSubmit: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare function AgentChatTextInput({ composerText, onComposerTextChange, isLoading, isListening, onSubmit, }: AgentChatTextInputProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface AgentChatTextInputProps {
|
|
2
|
-
composerText: string;
|
|
3
|
-
onComposerTextChange: (text: string) => void;
|
|
4
|
-
isLoading: boolean;
|
|
5
|
-
isListening: boolean;
|
|
6
|
-
onSubmit: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare function AgentChatTextInput({ composerText, onComposerTextChange, isLoading, isListening, onSubmit, }: AgentChatTextInputProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AgentChatTextInput';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AgentChatTextInput';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface AgentChatTypingIndicatorProps {
|
|
2
|
-
size?: 'small' | 'large';
|
|
3
|
-
mode?: 'thinking' | 'exploring' | 'writing';
|
|
4
|
-
showLabel?: boolean;
|
|
5
|
-
autoCycle?: boolean;
|
|
6
|
-
cycleMs?: number;
|
|
7
|
-
exploringAfterMs?: number;
|
|
8
|
-
writingAfterMs?: number;
|
|
9
|
-
messages?: string[];
|
|
10
|
-
}
|
|
11
|
-
export declare function AgentChatTypingIndicator({ size, mode, showLabel, autoCycle, cycleMs, exploringAfterMs, writingAfterMs, messages, }: AgentChatTypingIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface AgentChatTypingIndicatorProps {
|
|
2
|
-
size?: 'small' | 'large';
|
|
3
|
-
mode?: 'thinking' | 'exploring' | 'writing';
|
|
4
|
-
showLabel?: boolean;
|
|
5
|
-
autoCycle?: boolean;
|
|
6
|
-
cycleMs?: number;
|
|
7
|
-
exploringAfterMs?: number;
|
|
8
|
-
writingAfterMs?: number;
|
|
9
|
-
messages?: string[];
|
|
10
|
-
}
|
|
11
|
-
export declare function AgentChatTypingIndicator({ size, mode, showLabel, autoCycle, cycleMs, exploringAfterMs, writingAfterMs, messages, }: AgentChatTypingIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AgentChatTypingIndicator';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AgentChatTypingIndicator';
|
package/dist/types/internal/components/AgentChat/AgentChatVoiceButton/AgentChatVoiceButton.d.mts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
interface AgentChatVoiceButtonProps {
|
|
2
|
-
isListening: boolean;
|
|
3
|
-
isLoading: boolean;
|
|
4
|
-
onToggleVoice: () => void;
|
|
5
|
-
}
|
|
6
|
-
export declare function AgentChatVoiceButton({ isListening, isLoading, onToggleVoice, }: AgentChatVoiceButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
package/dist/types/internal/components/AgentChat/AgentChatVoiceButton/AgentChatVoiceButton.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
interface AgentChatVoiceButtonProps {
|
|
2
|
-
isListening: boolean;
|
|
3
|
-
isLoading: boolean;
|
|
4
|
-
onToggleVoice: () => void;
|
|
5
|
-
}
|
|
6
|
-
export declare function AgentChatVoiceButton({ isListening, isLoading, onToggleVoice, }: AgentChatVoiceButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AgentChatVoiceButton';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AgentChatVoiceButton';
|
package/dist/types/internal/components/AgentChat/AgentChatVoiceRecordingIndicator/index.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AgentChatVoiceRecordingIndicator';
|
package/dist/types/internal/components/AgentChat/AgentChatVoiceRecordingIndicator/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './AgentChatVoiceRecordingIndicator';
|
package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdActionsWidget.d.mts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { WidgetEvent } from '@markdown-ui/react';
|
|
2
|
-
import { AgentChatAction } from '@/types/models/agent-chat-action';
|
|
3
|
-
export interface AgentChatMdActionsWidgetProps {
|
|
4
|
-
actions: AgentChatAction[];
|
|
5
|
-
onActionClick?: (event: WidgetEvent) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare function AgentChatMdActionsWidget({ actions, onActionClick, }: AgentChatMdActionsWidgetProps): import("react/jsx-runtime").JSX.Element | null;
|
package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdActionsWidget.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { WidgetEvent } from '@markdown-ui/react';
|
|
2
|
-
import { AgentChatAction } from '@/types/models/agent-chat-action';
|
|
3
|
-
export interface AgentChatMdActionsWidgetProps {
|
|
4
|
-
actions: AgentChatAction[];
|
|
5
|
-
onActionClick?: (event: WidgetEvent) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare function AgentChatMdActionsWidget({ actions, onActionClick, }: AgentChatMdActionsWidgetProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { WidgetEvent } from '@markdown-ui/react';
|
|
2
|
-
import { MdWidgetConfig } from '@/types/models/agent-chat-md-widget-config';
|
|
3
|
-
export declare function renderMdWidget(config: MdWidgetConfig, onWidgetEvent?: (event: WidgetEvent) => void): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { WidgetEvent } from '@markdown-ui/react';
|
|
2
|
-
import { MdWidgetConfig } from '@/types/models/agent-chat-md-widget-config';
|
|
3
|
-
export declare function renderMdWidget(config: MdWidgetConfig, onWidgetEvent?: (event: WidgetEvent) => void): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { AgentChatMdOverviewCardWidgetProps } from '@/types/models/agent-chat-md-overview-card-widget';
|
|
2
|
-
export declare function AgentChatMdOverviewCardWidget({ items, title, advantages, price, priceSuffix, ctaLabel, onCtaClick, onSelectAccount, }: AgentChatMdOverviewCardWidgetProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { AgentChatMdOverviewCardWidgetProps } from '@/types/models/agent-chat-md-overview-card-widget';
|
|
2
|
-
export declare function AgentChatMdOverviewCardWidget({ items, title, advantages, price, priceSuffix, ctaLabel, onCtaClick, onSelectAccount, }: AgentChatMdOverviewCardWidgetProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './AgentChatMdRenderer';
|
|
2
|
-
export * from './AgentChatMdRegistry';
|
|
3
|
-
export * from './AgentChatMdChartWidget';
|
|
4
|
-
export * from './AgentChatMdOfferCardWidget';
|
|
5
|
-
export * from './Overview/AgentChatMdOverviewCardWidget';
|
|
6
|
-
export * from './AgentChatMdTableWidget';
|
|
7
|
-
export * from './AgentChatMdHighlightBoxWidget';
|
|
8
|
-
export * from './AgentChatMdActionsWidget';
|