bstp-agent-widget 0.2.110 → 0.2.113
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 +8397 -0
- package/dist/angular.css +2 -0
- package/dist/angular.mjs +19647 -0
- package/dist/element.cjs +8397 -0
- package/dist/element.css +2 -0
- package/dist/element.mjs +19637 -0
- package/dist/events.cjs +1 -0
- package/dist/events.mjs +18 -0
- package/dist/index.cjs +8397 -0
- package/dist/index.mjs +19662 -0
- package/dist/shadow.cjs +8397 -0
- package/dist/shadow.css +2 -0
- package/dist/shadow.mjs +19576 -0
- package/dist/styles.css +2 -0
- package/dist/styles.layer.css +2 -0
- package/dist/types/angular.d.mts +2 -0
- package/dist/types/angular.d.ts +2 -0
- package/dist/types/element.d.mts +2 -0
- package/dist/types/element.d.ts +2 -0
- package/dist/types/events/widget-events.d.mts +15 -0
- package/dist/types/events/widget-events.d.ts +15 -0
- package/dist/types/events.d.mts +2 -0
- package/dist/types/events.d.ts +2 -0
- package/dist/types/index.d.mts +17 -0
- package/dist/types/index.d.ts +17 -0
- package/dist/types/integrations/angular.d.mts +7 -0
- package/dist/types/integrations/angular.d.ts +7 -0
- package/dist/types/integrations/custom-element.d.mts +15 -0
- package/dist/types/integrations/custom-element.d.ts +15 -0
- package/dist/types/integrations/shadow.d.mts +14 -0
- package/dist/types/integrations/shadow.d.ts +14 -0
- package/dist/types/internal/api/auth.service.d.mts +17 -0
- package/dist/types/internal/api/auth.service.d.ts +17 -0
- package/dist/types/internal/api/genai.service.d.mts +14 -0
- package/dist/types/internal/api/genai.service.d.ts +14 -0
- package/dist/types/internal/api/rest.service.d.mts +18 -0
- package/dist/types/internal/api/rest.service.d.ts +18 -0
- package/dist/types/internal/components/AgentChat/AgentChatFab/AgentChatFab.d.mts +12 -0
- package/dist/types/internal/components/AgentChat/AgentChatFab/AgentChatFab.d.ts +12 -0
- package/dist/types/internal/components/AgentChat/AgentChatFab/index.d.mts +1 -0
- package/dist/types/internal/components/AgentChat/AgentChatFab/index.d.ts +1 -0
- package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanel.d.mts +33 -0
- package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanel.d.ts +33 -0
- package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanelContentBody.d.mts +10 -0
- package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanelContentBody.d.ts +10 -0
- package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanelFooter.d.mts +11 -0
- package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanelFooter.d.ts +11 -0
- package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanelHeader.d.mts +7 -0
- package/dist/types/internal/components/AgentChat/AgentChatPanel/AgentChatPanelHeader.d.ts +7 -0
- package/dist/types/internal/components/AgentChat/AgentChatPanel/index.d.mts +4 -0
- package/dist/types/internal/components/AgentChat/AgentChatPanel/index.d.ts +4 -0
- package/dist/types/internal/components/AgentChat/AgentChatTextInput/AgentChatTextInput.d.mts +8 -0
- package/dist/types/internal/components/AgentChat/AgentChatTextInput/AgentChatTextInput.d.ts +8 -0
- package/dist/types/internal/components/AgentChat/AgentChatTextInput/index.d.mts +1 -0
- package/dist/types/internal/components/AgentChat/AgentChatTextInput/index.d.ts +1 -0
- package/dist/types/internal/components/AgentChat/AgentChatTypingIndicator/AgentChatTypingIndicator.d.mts +11 -0
- package/dist/types/internal/components/AgentChat/AgentChatTypingIndicator/AgentChatTypingIndicator.d.ts +11 -0
- package/dist/types/internal/components/AgentChat/AgentChatTypingIndicator/index.d.mts +1 -0
- package/dist/types/internal/components/AgentChat/AgentChatTypingIndicator/index.d.ts +1 -0
- package/dist/types/internal/components/AgentChat/AgentChatVoiceButton/AgentChatVoiceButton.d.mts +7 -0
- package/dist/types/internal/components/AgentChat/AgentChatVoiceButton/AgentChatVoiceButton.d.ts +7 -0
- package/dist/types/internal/components/AgentChat/AgentChatVoiceButton/index.d.mts +1 -0
- package/dist/types/internal/components/AgentChat/AgentChatVoiceButton/index.d.ts +1 -0
- package/dist/types/internal/components/AgentChat/AgentChatVoiceRecordingIndicator/AgentChatVoiceRecordingIndicator.d.mts +4 -0
- package/dist/types/internal/components/AgentChat/AgentChatVoiceRecordingIndicator/AgentChatVoiceRecordingIndicator.d.ts +4 -0
- package/dist/types/internal/components/AgentChat/AgentChatVoiceRecordingIndicator/index.d.mts +1 -0
- package/dist/types/internal/components/AgentChat/AgentChatVoiceRecordingIndicator/index.d.ts +1 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdActionsWidget.d.mts +7 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdActionsWidget.d.ts +7 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdChartWidget.d.mts +2 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdChartWidget.d.ts +2 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdHighlightBoxWidget.d.mts +2 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdHighlightBoxWidget.d.ts +2 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdOfferCardWidget.d.mts +2 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdOfferCardWidget.d.ts +2 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdRegistry.d.mts +3 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdRegistry.d.ts +3 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdRenderer.d.mts +2 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdRenderer.d.ts +2 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdTableWidget.d.mts +2 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/AgentChatMdTableWidget.d.ts +2 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/Overview/AgentChatMdOverviewCardWidget.d.mts +2 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/Overview/AgentChatMdOverviewCardWidget.d.ts +2 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/Overview/AgentChatMdOverviewCardWidgetWrapper.d.mts +6 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/Overview/AgentChatMdOverviewCardWidgetWrapper.d.ts +6 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/Overview/OverviewAccountCard.d.mts +7 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/Overview/OverviewAccountCard.d.ts +7 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/Overview/OverviewAdvantageCard.d.mts +10 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/Overview/OverviewAdvantageCard.d.ts +10 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/Overview/OverviewPriceDisplay.d.mts +9 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/Overview/OverviewPriceDisplay.d.ts +9 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/adapters/widget-config.adapter.d.mts +21 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/adapters/widget-config.adapter.d.ts +21 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/index.d.mts +8 -0
- package/dist/types/internal/components/AgentChat/MarkdownRenderer/index.d.ts +8 -0
- package/dist/types/internal/components/AgentChat/index.d.mts +7 -0
- package/dist/types/internal/components/AgentChat/index.d.ts +7 -0
- package/dist/types/internal/components/EmptyState/EmptyState.d.mts +12 -0
- package/dist/types/internal/components/EmptyState/EmptyState.d.ts +12 -0
- package/dist/types/internal/components/EmptyState/index.d.mts +1 -0
- package/dist/types/internal/components/EmptyState/index.d.ts +1 -0
- package/dist/types/internal/components/SanitizedHtml/SanitizedHtml.d.mts +8 -0
- package/dist/types/internal/components/SanitizedHtml/SanitizedHtml.d.ts +8 -0
- package/dist/types/internal/components/VCard/VCard.d.mts +14 -0
- package/dist/types/internal/components/VCard/VCard.d.ts +14 -0
- package/dist/types/internal/components/VCombobox/VCombobox.types.d.mts +5 -0
- package/dist/types/internal/components/VCombobox/VCombobox.types.d.ts +5 -0
- package/dist/types/internal/components/VCombobox/VCombobox.utils.d.mts +4 -0
- package/dist/types/internal/components/VCombobox/VCombobox.utils.d.ts +4 -0
- package/dist/types/internal/components/VCombobox/VComboboxOption.d.mts +9 -0
- package/dist/types/internal/components/VCombobox/VComboboxOption.d.ts +9 -0
- package/dist/types/internal/components/VCombobox/VComboboxOptionsDropdown.d.mts +23 -0
- package/dist/types/internal/components/VCombobox/VComboboxOptionsDropdown.d.ts +23 -0
- package/dist/types/internal/components/VCombobox/VComboboxOptionsDropdownContent.d.mts +13 -0
- package/dist/types/internal/components/VCombobox/VComboboxOptionsDropdownContent.d.ts +13 -0
- package/dist/types/internal/components/VCombobox/index.d.mts +1 -0
- package/dist/types/internal/components/VCombobox/index.d.ts +1 -0
- package/dist/types/internal/components/VNotification/notification-variant-icons.d.mts +3 -0
- package/dist/types/internal/components/VNotification/notification-variant-icons.d.ts +3 -0
- package/dist/types/internal/components/VNotification/showNotification.d.mts +8 -0
- package/dist/types/internal/components/VNotification/showNotification.d.ts +8 -0
- package/dist/types/internal/components/VSelect/VSelect.d.mts +7 -0
- package/dist/types/internal/components/VSelect/VSelect.d.ts +7 -0
- package/dist/types/internal/components/VSelect/index.d.mts +1 -0
- package/dist/types/internal/components/VSelect/index.d.ts +1 -0
- package/dist/types/internal/components/VTable/VTable.d.mts +50 -0
- package/dist/types/internal/components/VTable/VTable.d.ts +50 -0
- package/dist/types/internal/components/VTable/VTableContext.d.mts +28 -0
- package/dist/types/internal/components/VTable/VTableContext.d.ts +28 -0
- package/dist/types/internal/components/VTable/components/VTableBody/VTableBody.d.mts +1 -0
- package/dist/types/internal/components/VTable/components/VTableBody/VTableBody.d.ts +1 -0
- package/dist/types/internal/components/VTable/components/VTableBody/index.d.mts +1 -0
- package/dist/types/internal/components/VTable/components/VTableBody/index.d.ts +1 -0
- package/dist/types/internal/components/VTable/components/VTableCard/VTableCard.d.mts +1 -0
- package/dist/types/internal/components/VTable/components/VTableCard/VTableCard.d.ts +1 -0
- package/dist/types/internal/components/VTable/components/VTableCardBody/VTableCardBody.d.mts +1 -0
- package/dist/types/internal/components/VTable/components/VTableCardBody/VTableCardBody.d.ts +1 -0
- package/dist/types/internal/components/VTable/components/VTableCardBody/index.d.mts +1 -0
- package/dist/types/internal/components/VTable/components/VTableCardBody/index.d.ts +1 -0
- package/dist/types/internal/components/VTable/components/VTableCardRow/VTableCardRow.d.mts +7 -0
- package/dist/types/internal/components/VTable/components/VTableCardRow/VTableCardRow.d.ts +7 -0
- package/dist/types/internal/components/VTable/components/VTableCardRow/VTableCardRowValue.d.mts +7 -0
- package/dist/types/internal/components/VTable/components/VTableCardRow/VTableCardRowValue.d.ts +7 -0
- package/dist/types/internal/components/VTable/components/VTableCardRow/index.d.mts +1 -0
- package/dist/types/internal/components/VTable/components/VTableCardRow/index.d.ts +1 -0
- package/dist/types/internal/components/VTable/components/VTableDefault/VTableDefault.d.mts +1 -0
- package/dist/types/internal/components/VTable/components/VTableDefault/VTableDefault.d.ts +1 -0
- package/dist/types/internal/components/VTable/components/VTableEmpty/VTableEmpty.d.mts +5 -0
- package/dist/types/internal/components/VTable/components/VTableEmpty/VTableEmpty.d.ts +5 -0
- package/dist/types/internal/components/VTable/components/VTableEmpty/index.d.mts +1 -0
- package/dist/types/internal/components/VTable/components/VTableEmpty/index.d.ts +1 -0
- package/dist/types/internal/components/VTable/components/VTableHeader/VTableHeader.d.mts +1 -0
- package/dist/types/internal/components/VTable/components/VTableHeader/VTableHeader.d.ts +1 -0
- package/dist/types/internal/components/VTable/components/VTableHeader/index.d.mts +1 -0
- package/dist/types/internal/components/VTable/components/VTableHeader/index.d.ts +1 -0
- package/dist/types/internal/components/VTable/components/VTableHeaderSection/VTableHeaderSection.d.mts +7 -0
- package/dist/types/internal/components/VTable/components/VTableHeaderSection/VTableHeaderSection.d.ts +7 -0
- package/dist/types/internal/components/VTable/components/VTableHeaderSection/index.d.mts +1 -0
- package/dist/types/internal/components/VTable/components/VTableHeaderSection/index.d.ts +1 -0
- package/dist/types/internal/components/VTable/components/VTablePagination/VTablePagination.d.mts +1 -0
- package/dist/types/internal/components/VTable/components/VTablePagination/VTablePagination.d.ts +1 -0
- package/dist/types/internal/components/VTable/components/VTablePagination/index.d.mts +1 -0
- package/dist/types/internal/components/VTable/components/VTablePagination/index.d.ts +1 -0
- package/dist/types/internal/components/VTable/components/VTablePaginationResult/VTablePaginationResult.d.mts +10 -0
- package/dist/types/internal/components/VTable/components/VTablePaginationResult/VTablePaginationResult.d.ts +10 -0
- package/dist/types/internal/components/VTable/components/VTablePaginationResult/index.d.mts +1 -0
- package/dist/types/internal/components/VTable/components/VTablePaginationResult/index.d.ts +1 -0
- package/dist/types/internal/components/VTable/components/VTableSwitchActions/VTableSwitchActions.d.mts +1 -0
- package/dist/types/internal/components/VTable/components/VTableSwitchActions/VTableSwitchActions.d.ts +1 -0
- package/dist/types/internal/components/VTable/components/VTableSwitchActions/index.d.mts +1 -0
- package/dist/types/internal/components/VTable/components/VTableSwitchActions/index.d.ts +1 -0
- package/dist/types/internal/components/VTable/hooks/useTablePagination.d.mts +22 -0
- package/dist/types/internal/components/VTable/hooks/useTablePagination.d.ts +22 -0
- package/dist/types/internal/components/VTable/hooks/useTableSorting.d.mts +19 -0
- package/dist/types/internal/components/VTable/hooks/useTableSorting.d.ts +19 -0
- package/dist/types/internal/components/VTable/hooks/useVTableView.d.mts +8 -0
- package/dist/types/internal/components/VTable/hooks/useVTableView.d.ts +8 -0
- package/dist/types/internal/components/ViewTypeSwitcher/ViewTypeSwitcher.d.mts +13 -0
- package/dist/types/internal/components/ViewTypeSwitcher/ViewTypeSwitcher.d.ts +13 -0
- package/dist/types/internal/components/ViewTypeSwitcher/index.d.mts +1 -0
- package/dist/types/internal/components/ViewTypeSwitcher/index.d.ts +1 -0
- package/dist/types/internal/constant/date.constant.d.mts +1 -0
- package/dist/types/internal/constant/date.constant.d.ts +1 -0
- package/dist/types/internal/constant/error-messages.constant.d.mts +5 -0
- package/dist/types/internal/constant/error-messages.constant.d.ts +5 -0
- package/dist/types/internal/constant/known-local-storage-keys.constant.d.mts +24 -0
- package/dist/types/internal/constant/known-local-storage-keys.constant.d.ts +24 -0
- package/dist/types/internal/constant/media-queries.constant.d.mts +3 -0
- package/dist/types/internal/constant/media-queries.constant.d.ts +3 -0
- package/dist/types/internal/constant/pagination.constant.d.mts +6 -0
- package/dist/types/internal/constant/pagination.constant.d.ts +6 -0
- package/dist/types/internal/constant/regex.constant.d.mts +2 -0
- package/dist/types/internal/constant/regex.constant.d.ts +2 -0
- package/dist/types/internal/constant/string.constant.d.mts +1 -0
- package/dist/types/internal/constant/string.constant.d.ts +1 -0
- package/dist/types/internal/context/AgentChatConfigContext.d.mts +2 -0
- package/dist/types/internal/context/AgentChatConfigContext.d.ts +2 -0
- package/dist/types/internal/context/AgentChatRuntimeContext.d.mts +2 -0
- package/dist/types/internal/context/AgentChatRuntimeContext.d.ts +2 -0
- package/dist/types/internal/context/ConfigContext.d.mts +2 -0
- package/dist/types/internal/context/ConfigContext.d.ts +2 -0
- package/dist/types/internal/enums/agent-chat-message-sender.d.mts +4 -0
- package/dist/types/internal/enums/agent-chat-message-sender.d.ts +4 -0
- package/dist/types/internal/enums/column-sorting-values.enum.d.mts +5 -0
- package/dist/types/internal/enums/column-sorting-values.enum.d.ts +5 -0
- package/dist/types/internal/enums/markdown-renderer-response-type.d.mts +9 -0
- package/dist/types/internal/enums/markdown-renderer-response-type.d.ts +9 -0
- package/dist/types/internal/enums/markdown-renderer-visualization-type.d.mts +6 -0
- package/dist/types/internal/enums/markdown-renderer-visualization-type.d.ts +6 -0
- package/dist/types/internal/enums/view-type.enum.d.mts +4 -0
- package/dist/types/internal/enums/view-type.enum.d.ts +4 -0
- package/dist/types/internal/features/agent-chat/components/AgentChatLauncher/AgentChatLauncher.d.mts +2 -0
- package/dist/types/internal/features/agent-chat/components/AgentChatLauncher/AgentChatLauncher.d.ts +2 -0
- package/dist/types/internal/hooks/useAccentColor.d.mts +150 -0
- package/dist/types/internal/hooks/useAccentColor.d.ts +150 -0
- package/dist/types/internal/hooks/useAgentChat.d.mts +15 -0
- package/dist/types/internal/hooks/useAgentChat.d.ts +15 -0
- package/dist/types/internal/hooks/useAgentChatActions.d.mts +6 -0
- package/dist/types/internal/hooks/useAgentChatActions.d.ts +6 -0
- package/dist/types/internal/hooks/useAgentChatChartWidgetUtils.d.mts +7 -0
- package/dist/types/internal/hooks/useAgentChatChartWidgetUtils.d.ts +7 -0
- package/dist/types/internal/hooks/useAgentChatConfig.d.mts +2 -0
- package/dist/types/internal/hooks/useAgentChatConfig.d.ts +2 -0
- package/dist/types/internal/hooks/useAgentChatLayout.d.mts +11 -0
- package/dist/types/internal/hooks/useAgentChatLayout.d.ts +11 -0
- package/dist/types/internal/hooks/useAgentChatMdRendererElements.d.mts +9 -0
- package/dist/types/internal/hooks/useAgentChatMdRendererElements.d.ts +9 -0
- package/dist/types/internal/hooks/useAgentChatOverviewCardData.d.mts +33 -0
- package/dist/types/internal/hooks/useAgentChatOverviewCardData.d.ts +33 -0
- package/dist/types/internal/hooks/useAgentChatRuntime.d.mts +2 -0
- package/dist/types/internal/hooks/useAgentChatRuntime.d.ts +2 -0
- package/dist/types/internal/hooks/useAgentChatRuntimeInfo.d.mts +4 -0
- package/dist/types/internal/hooks/useAgentChatRuntimeInfo.d.ts +4 -0
- package/dist/types/internal/hooks/useAgentChatSpeechLanguage.d.mts +1 -0
- package/dist/types/internal/hooks/useAgentChatSpeechLanguage.d.ts +1 -0
- package/dist/types/internal/hooks/useAgentChatSpeechToText.d.mts +18 -0
- package/dist/types/internal/hooks/useAgentChatSpeechToText.d.ts +18 -0
- package/dist/types/internal/hooks/useAgentChatTypingIndicator.d.mts +11 -0
- package/dist/types/internal/hooks/useAgentChatTypingIndicator.d.ts +11 -0
- package/dist/types/internal/hooks/useAgentChatUiOptions.d.mts +24 -0
- package/dist/types/internal/hooks/useAgentChatUiOptions.d.ts +24 -0
- package/dist/types/internal/hooks/useAgentChatVoiceHandlers.d.mts +16 -0
- package/dist/types/internal/hooks/useAgentChatVoiceHandlers.d.ts +16 -0
- package/dist/types/internal/hooks/useAutoScroll.d.mts +5 -0
- package/dist/types/internal/hooks/useAutoScroll.d.ts +5 -0
- package/dist/types/internal/hooks/useDraggable.d.mts +20 -0
- package/dist/types/internal/hooks/useDraggable.d.ts +20 -0
- package/dist/types/internal/hooks/useGenaiAuth.d.mts +5 -0
- package/dist/types/internal/hooks/useGenaiAuth.d.ts +5 -0
- package/dist/types/internal/hooks/useGenaiLogin.d.mts +7 -0
- package/dist/types/internal/hooks/useGenaiLogin.d.ts +7 -0
- package/dist/types/internal/hooks/useGenaiTenantSwitch.d.mts +5 -0
- package/dist/types/internal/hooks/useGenaiTenantSwitch.d.ts +5 -0
- package/dist/types/internal/hooks/usePanelState.d.mts +21 -0
- package/dist/types/internal/hooks/usePanelState.d.ts +21 -0
- package/dist/types/internal/hooks/usePointerInteraction.d.mts +9 -0
- package/dist/types/internal/hooks/usePointerInteraction.d.ts +9 -0
- package/dist/types/internal/hooks/useResizable.d.mts +13 -0
- package/dist/types/internal/hooks/useResizable.d.ts +13 -0
- package/dist/types/internal/icons/IconAgentOrb.d.mts +2 -0
- package/dist/types/internal/icons/IconAgentOrb.d.ts +2 -0
- package/dist/types/internal/icons/IconAlertCircle.d.mts +2 -0
- package/dist/types/internal/icons/IconAlertCircle.d.ts +2 -0
- package/dist/types/internal/icons/IconArrowDown.d.mts +2 -0
- package/dist/types/internal/icons/IconArrowDown.d.ts +2 -0
- package/dist/types/internal/icons/IconArrowLeft.d.mts +2 -0
- package/dist/types/internal/icons/IconArrowLeft.d.ts +2 -0
- package/dist/types/internal/icons/IconArrowRight.d.mts +2 -0
- package/dist/types/internal/icons/IconArrowRight.d.ts +2 -0
- package/dist/types/internal/icons/IconArrowUp.d.mts +2 -0
- package/dist/types/internal/icons/IconArrowUp.d.ts +2 -0
- package/dist/types/internal/icons/IconArrowUpDown.d.mts +2 -0
- package/dist/types/internal/icons/IconArrowUpDown.d.ts +2 -0
- package/dist/types/internal/icons/IconBot.d.mts +2 -0
- package/dist/types/internal/icons/IconBot.d.ts +2 -0
- package/dist/types/internal/icons/IconCalling.d.mts +2 -0
- package/dist/types/internal/icons/IconCalling.d.ts +2 -0
- package/dist/types/internal/icons/IconCancel.d.mts +2 -0
- package/dist/types/internal/icons/IconCancel.d.ts +2 -0
- package/dist/types/internal/icons/IconCheckmarkCircle.d.mts +2 -0
- package/dist/types/internal/icons/IconCheckmarkCircle.d.ts +2 -0
- package/dist/types/internal/icons/IconDashboardSquare.d.mts +2 -0
- package/dist/types/internal/icons/IconDashboardSquare.d.ts +2 -0
- package/dist/types/internal/icons/IconEyeOff.d.mts +2 -0
- package/dist/types/internal/icons/IconEyeOff.d.ts +2 -0
- package/dist/types/internal/icons/IconEyeOn.d.mts +2 -0
- package/dist/types/internal/icons/IconEyeOn.d.ts +2 -0
- package/dist/types/internal/icons/IconFilter.d.mts +2 -0
- package/dist/types/internal/icons/IconFilter.d.ts +2 -0
- package/dist/types/internal/icons/IconInformationCircle.d.mts +2 -0
- package/dist/types/internal/icons/IconInformationCircle.d.ts +2 -0
- package/dist/types/internal/icons/IconInternet.d.mts +2 -0
- package/dist/types/internal/icons/IconInternet.d.ts +2 -0
- package/dist/types/internal/icons/IconMessage.d.mts +2 -0
- package/dist/types/internal/icons/IconMessage.d.ts +2 -0
- package/dist/types/internal/icons/IconMicrophone.d.mts +2 -0
- package/dist/types/internal/icons/IconMicrophone.d.ts +2 -0
- package/dist/types/internal/icons/IconSend.d.mts +2 -0
- package/dist/types/internal/icons/IconSend.d.ts +2 -0
- package/dist/types/internal/icons/IconSortingAsc.d.mts +2 -0
- package/dist/types/internal/icons/IconSortingAsc.d.ts +2 -0
- package/dist/types/internal/icons/IconSortingDesc.d.mts +2 -0
- package/dist/types/internal/icons/IconSortingDesc.d.ts +2 -0
- package/dist/types/internal/icons/IconStop.d.mts +2 -0
- package/dist/types/internal/icons/IconStop.d.ts +2 -0
- package/dist/types/internal/icons/IconTable.d.mts +2 -0
- package/dist/types/internal/icons/IconTable.d.ts +2 -0
- package/dist/types/internal/icons/IconTick.d.mts +2 -0
- package/dist/types/internal/icons/IconTick.d.ts +2 -0
- package/dist/types/internal/icons/IconWarning.d.mts +2 -0
- package/dist/types/internal/icons/IconWarning.d.ts +2 -0
- package/dist/types/internal/mappers/agent-chat-action.mapper.d.mts +4 -0
- package/dist/types/internal/mappers/agent-chat-action.mapper.d.ts +4 -0
- package/dist/types/internal/mappers/agent-chat-config.mapper.d.mts +3 -0
- package/dist/types/internal/mappers/agent-chat-config.mapper.d.ts +3 -0
- package/dist/types/internal/mappers/agent-chat-runtime.mapper.d.mts +4 -0
- package/dist/types/internal/mappers/agent-chat-runtime.mapper.d.ts +4 -0
- package/dist/types/internal/mappers/genai.mapper.d.mts +2 -0
- package/dist/types/internal/mappers/genai.mapper.d.ts +2 -0
- package/dist/types/internal/providers/AgentChatProviders.d.mts +10 -0
- package/dist/types/internal/providers/AgentChatProviders.d.ts +10 -0
- package/dist/types/internal/providers/ConfigProvider.d.mts +7 -0
- package/dist/types/internal/providers/ConfigProvider.d.ts +7 -0
- package/dist/types/internal/queries/genai/useGenaiLoginMutation.d.mts +5 -0
- package/dist/types/internal/queries/genai/useGenaiLoginMutation.d.ts +5 -0
- package/dist/types/internal/queries/genai/useSendAgentMessageMutation.d.mts +5 -0
- package/dist/types/internal/queries/genai/useSendAgentMessageMutation.d.ts +5 -0
- package/dist/types/internal/queries/genai/useTenantSwitchMutation.d.mts +5 -0
- package/dist/types/internal/queries/genai/useTenantSwitchMutation.d.ts +5 -0
- package/dist/types/internal/queries/utils/createApiMutation.d.mts +67 -0
- package/dist/types/internal/queries/utils/createApiMutation.d.ts +67 -0
- package/dist/types/internal/queries/utils/createApiQuery.d.mts +90 -0
- package/dist/types/internal/queries/utils/createApiQuery.d.ts +90 -0
- package/dist/types/internal/stores/agent-chat/agent-chat.store.d.mts +14 -0
- package/dist/types/internal/stores/agent-chat/agent-chat.store.d.ts +14 -0
- package/dist/types/internal/stores/agent-chat/genai-token.storage.d.mts +5 -0
- package/dist/types/internal/stores/agent-chat/genai-token.storage.d.ts +5 -0
- package/dist/types/internal/stores/agent-chat/index.d.mts +2 -0
- package/dist/types/internal/stores/agent-chat/index.d.ts +2 -0
- package/dist/types/internal/stores/auth/auth.store.d.mts +10 -0
- package/dist/types/internal/stores/auth/auth.store.d.ts +10 -0
- package/dist/types/internal/stores/auth/index.d.mts +1 -0
- package/dist/types/internal/stores/auth/index.d.ts +1 -0
- package/dist/types/internal/theme/components/Accordion/Accordion.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Accordion/Accordion.config.d.ts +1 -0
- package/dist/types/internal/theme/components/ActionIcon/ActionIcon.config.d.mts +1 -0
- package/dist/types/internal/theme/components/ActionIcon/ActionIcon.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Alert/Alert.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Alert/Alert.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Anchor/Anchor.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Anchor/Anchor.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Avatar/Avatar.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Avatar/Avatar.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Badge/Badge.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Badge/Badge.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Button/Button.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Button/Button.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Carousel/Carousel.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Carousel/Carousel.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Checkbox/Checkbox.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Checkbox/Checkbox.config.d.ts +1 -0
- package/dist/types/internal/theme/components/ColorSwatch/ColorSwatch.config.d.mts +1 -0
- package/dist/types/internal/theme/components/ColorSwatch/ColorSwatch.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Container/Container.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Container/Container.config.d.ts +1 -0
- package/dist/types/internal/theme/components/DateInput/DateInput.config.d.mts +1 -0
- package/dist/types/internal/theme/components/DateInput/DateInput.config.d.ts +1 -0
- package/dist/types/internal/theme/components/DatePicker/DatePicker.config.d.mts +1 -0
- package/dist/types/internal/theme/components/DatePicker/DatePicker.config.d.ts +1 -0
- package/dist/types/internal/theme/components/DatePickerInput/DatePickerInput.config.d.mts +1 -0
- package/dist/types/internal/theme/components/DatePickerInput/DatePickerInput.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Divider/Divider.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Divider/Divider.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Drawer/Drawer.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Drawer/Drawer.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Grid/Grid.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Grid/Grid.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Group/Group.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Group/Group.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Input/Input.config.d.mts +3 -0
- package/dist/types/internal/theme/components/Input/Input.config.d.ts +3 -0
- package/dist/types/internal/theme/components/Loader/Loader.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Loader/Loader.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Menu/Menu.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Menu/Menu.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Modal/Modal.config.d.mts +3 -0
- package/dist/types/internal/theme/components/Modal/Modal.config.d.ts +3 -0
- package/dist/types/internal/theme/components/MonthPicker/MonthPicker.config.d.mts +1 -0
- package/dist/types/internal/theme/components/MonthPicker/MonthPicker.config.d.ts +1 -0
- package/dist/types/internal/theme/components/MonthPickerInput/MonthPickerInput.config.d.mts +1 -0
- package/dist/types/internal/theme/components/MonthPickerInput/MonthPickerInput.config.d.ts +1 -0
- package/dist/types/internal/theme/components/MultiSelect/MultiSelect.config.d.mts +1 -0
- package/dist/types/internal/theme/components/MultiSelect/MultiSelect.config.d.ts +1 -0
- package/dist/types/internal/theme/components/NavLink/NavLink.config.d.mts +1 -0
- package/dist/types/internal/theme/components/NavLink/NavLink.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Notification/Notification.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Notification/Notification.config.d.ts +1 -0
- package/dist/types/internal/theme/components/NumberInput/NumberInput.config.d.mts +1 -0
- package/dist/types/internal/theme/components/NumberInput/NumberInput.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Pagination/Pagination.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Pagination/Pagination.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Paper/Paper.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Paper/Paper.config.d.ts +1 -0
- package/dist/types/internal/theme/components/PasswordInput/PasswordInput.config.d.mts +1 -0
- package/dist/types/internal/theme/components/PasswordInput/PasswordInput.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Pill/Pill.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Pill/Pill.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Popover/Popover.config.d.mts +2 -0
- package/dist/types/internal/theme/components/Popover/Popover.config.d.ts +2 -0
- package/dist/types/internal/theme/components/Progress/Progress.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Progress/Progress.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Radio/Radio.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Radio/Radio.config.d.ts +1 -0
- package/dist/types/internal/theme/components/RadioCard/RadioCard.config.d.mts +1 -0
- package/dist/types/internal/theme/components/RadioCard/RadioCard.config.d.ts +1 -0
- package/dist/types/internal/theme/components/RadioIndicator/RadioIndicator.config.d.mts +1 -0
- package/dist/types/internal/theme/components/RadioIndicator/RadioIndicator.config.d.ts +1 -0
- package/dist/types/internal/theme/components/SegmentedControl/SegmentedControl.config.d.mts +1 -0
- package/dist/types/internal/theme/components/SegmentedControl/SegmentedControl.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Select/Select.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Select/Select.config.d.ts +1 -0
- package/dist/types/internal/theme/components/SharedConfig/calendar-shared.config.d.mts +2 -0
- package/dist/types/internal/theme/components/SharedConfig/calendar-shared.config.d.ts +2 -0
- package/dist/types/internal/theme/components/SharedConfig/multi-select-shared.config.d.mts +2 -0
- package/dist/types/internal/theme/components/SharedConfig/multi-select-shared.config.d.ts +2 -0
- package/dist/types/internal/theme/components/SharedConfig/select-shared.config.d.mts +2 -0
- package/dist/types/internal/theme/components/SharedConfig/select-shared.config.d.ts +2 -0
- package/dist/types/internal/theme/components/Stack/Stack.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Stack/Stack.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Stepper/Stepper.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Stepper/Stepper.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Switch/Switch.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Switch/Switch.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Table/Table.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Table/Table.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Tabs/Tabs.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Tabs/Tabs.config.d.ts +1 -0
- package/dist/types/internal/theme/components/TagsInput/TagsInput.config.d.mts +1 -0
- package/dist/types/internal/theme/components/TagsInput/TagsInput.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Text/Text.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Text/Text.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Textarea/Textarea.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Textarea/Textarea.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Title/Title.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Title/Title.config.d.ts +1 -0
- package/dist/types/internal/theme/components/Tooltip/Tooltip.config.d.mts +1 -0
- package/dist/types/internal/theme/components/Tooltip/Tooltip.config.d.ts +1 -0
- package/dist/types/internal/theme/components/YearPicker/YearPicker.config.d.mts +1 -0
- package/dist/types/internal/theme/components/YearPicker/YearPicker.config.d.ts +1 -0
- package/dist/types/internal/theme/components/YearPickerInput/YearPickerInput.config.d.mts +1 -0
- package/dist/types/internal/theme/components/YearPickerInput/YearPickerInput.config.d.ts +1 -0
- package/dist/types/internal/theme/foundations/border-tokens.d.mts +2 -0
- package/dist/types/internal/theme/foundations/border-tokens.d.ts +2 -0
- package/dist/types/internal/theme/foundations/color-tokens.d.mts +12 -0
- package/dist/types/internal/theme/foundations/color-tokens.d.ts +12 -0
- package/dist/types/internal/theme/foundations/design-theme.d.mts +8 -0
- package/dist/types/internal/theme/foundations/design-theme.d.ts +8 -0
- package/dist/types/internal/theme/foundations/design-theme.type.d.mts +29 -0
- package/dist/types/internal/theme/foundations/design-theme.type.d.ts +29 -0
- package/dist/types/internal/theme/foundations/icon-size-tokens.d.mts +2 -0
- package/dist/types/internal/theme/foundations/icon-size-tokens.d.ts +2 -0
- package/dist/types/internal/theme/foundations/opacity-tokens.d.mts +2 -0
- package/dist/types/internal/theme/foundations/opacity-tokens.d.ts +2 -0
- package/dist/types/internal/theme/foundations/primitive-colors.d.mts +7 -0
- package/dist/types/internal/theme/foundations/primitive-colors.d.ts +7 -0
- package/dist/types/internal/theme/foundations/radius-tokens.d.mts +2 -0
- package/dist/types/internal/theme/foundations/radius-tokens.d.ts +2 -0
- package/dist/types/internal/theme/foundations/shadow-tokens.d.mts +2 -0
- package/dist/types/internal/theme/foundations/shadow-tokens.d.ts +2 -0
- package/dist/types/internal/theme/foundations/space-tokens.d.mts +2 -0
- package/dist/types/internal/theme/foundations/space-tokens.d.ts +2 -0
- package/dist/types/internal/theme/theme.config.d.mts +39 -0
- package/dist/types/internal/theme/theme.config.d.ts +39 -0
- package/dist/types/internal/theme/theme.d.mts +310 -0
- package/dist/types/internal/theme/theme.d.ts +310 -0
- package/dist/types/internal/theme/utils/deep-merge.d.mts +4 -0
- package/dist/types/internal/theme/utils/deep-merge.d.ts +4 -0
- package/dist/types/internal/types/dto/api-error.d.mts +12 -0
- package/dist/types/internal/types/dto/api-error.d.ts +12 -0
- package/dist/types/internal/types/dto/genai-agent-message-request.dto.d.mts +14 -0
- package/dist/types/internal/types/dto/genai-agent-message-request.dto.d.ts +14 -0
- package/dist/types/internal/types/dto/genai-agent-message-response.dto.d.mts +9 -0
- package/dist/types/internal/types/dto/genai-agent-message-response.dto.d.ts +9 -0
- package/dist/types/internal/types/dto/genai-agent-reply.dto.d.mts +5 -0
- package/dist/types/internal/types/dto/genai-agent-reply.dto.d.ts +5 -0
- package/dist/types/internal/types/dto/genai-login-request.dto.d.mts +4 -0
- package/dist/types/internal/types/dto/genai-login-request.dto.d.ts +4 -0
- package/{src/types/dto/genai-login-response.dto.ts → dist/types/internal/types/dto/genai-login-response.dto.d.mts} +3 -3
- package/dist/types/internal/types/dto/genai-login-response.dto.d.ts +3 -0
- package/{src/types/dto/genai-send-agent-message-request.dto.ts → dist/types/internal/types/dto/genai-send-agent-message-request.dto.d.mts} +4 -5
- package/dist/types/internal/types/dto/genai-send-agent-message-request.dto.d.ts +4 -0
- package/{src/types/dto/genai-tenant-switch-request.dto.ts → dist/types/internal/types/dto/genai-tenant-switch-request.dto.d.mts} +4 -4
- package/dist/types/internal/types/dto/genai-tenant-switch-request.dto.d.ts +4 -0
- package/dist/types/internal/types/dto/genai-tenant-switch-response.dto.d.mts +21 -0
- package/dist/types/internal/types/dto/genai-tenant-switch-response.dto.d.ts +21 -0
- package/dist/types/internal/types/dto/generic-error.d.mts +11 -0
- package/dist/types/internal/types/dto/generic-error.d.ts +11 -0
- package/dist/types/internal/types/dto/operation-result.d.mts +6 -0
- package/dist/types/internal/types/dto/operation-result.d.ts +6 -0
- package/dist/types/internal/types/dto/spring-error.d.mts +6 -0
- package/dist/types/internal/types/dto/spring-error.d.ts +6 -0
- package/dist/types/internal/types/models/agent-chat-action.d.mts +5 -0
- package/dist/types/internal/types/models/agent-chat-action.d.ts +5 -0
- package/dist/types/internal/types/models/agent-chat-md-chart-widget.d.mts +12 -0
- package/dist/types/internal/types/models/agent-chat-md-chart-widget.d.ts +12 -0
- package/dist/types/internal/types/models/agent-chat-md-highlight-box-widget.d.mts +5 -0
- package/dist/types/internal/types/models/agent-chat-md-highlight-box-widget.d.ts +5 -0
- package/dist/types/internal/types/models/agent-chat-md-offer-card-widget.d.mts +15 -0
- package/dist/types/internal/types/models/agent-chat-md-offer-card-widget.d.ts +15 -0
- package/dist/types/internal/types/models/agent-chat-md-overview-card-widget.d.mts +23 -0
- package/dist/types/internal/types/models/agent-chat-md-overview-card-widget.d.ts +23 -0
- package/{src/types/models/agent-chat-md-renderer.ts → dist/types/internal/types/models/agent-chat-md-renderer.d.mts} +5 -6
- package/dist/types/internal/types/models/agent-chat-md-renderer.d.ts +5 -0
- package/{src/types/models/agent-chat-md-table-widget.ts → dist/types/internal/types/models/agent-chat-md-table-widget.d.mts} +4 -4
- package/dist/types/internal/types/models/agent-chat-md-table-widget.d.ts +4 -0
- package/dist/types/internal/types/models/agent-chat-md-widget-config.d.mts +72 -0
- package/dist/types/internal/types/models/agent-chat-md-widget-config.d.ts +72 -0
- package/{src/types/models/agent-chat-message.ts → dist/types/internal/types/models/agent-chat-message.d.mts} +7 -8
- package/dist/types/internal/types/models/agent-chat-message.d.ts +7 -0
- package/dist/types/internal/types/models/agent-chat-runtime-info.d.mts +5 -0
- package/dist/types/internal/types/models/agent-chat-runtime-info.d.ts +5 -0
- package/dist/types/internal/types/models/agent-chat-usage-chart-item.d.mts +12 -0
- package/dist/types/internal/types/models/agent-chat-usage-chart-item.d.ts +12 -0
- package/dist/types/internal/types/models/app-config.d.mts +23 -0
- package/dist/types/internal/types/models/app-config.d.ts +23 -0
- package/{src/types/models/app-feature-config.ts → dist/types/internal/types/models/app-feature-config.d.mts} +3 -3
- package/dist/types/internal/types/models/app-feature-config.d.ts +3 -0
- package/dist/types/internal/types/models/billing-account-data.d.mts +6 -0
- package/dist/types/internal/types/models/billing-account-data.d.ts +6 -0
- package/{src/types/models/error-types.ts → dist/types/internal/types/models/error-types.d.mts} +2 -3
- package/dist/types/internal/types/models/error-types.d.ts +2 -0
- package/dist/types/internal/types/models/growth-book-config.d.mts +5 -0
- package/dist/types/internal/types/models/growth-book-config.d.ts +5 -0
- package/{src/types/models/keycloak-extended.ts → dist/types/internal/types/models/keycloak-extended.d.mts} +16 -18
- package/dist/types/internal/types/models/keycloak-extended.d.ts +16 -0
- package/dist/types/internal/types/models/logger-type.d.mts +23 -0
- package/dist/types/internal/types/models/logger-type.d.ts +23 -0
- package/dist/types/internal/types/models/party-role-token.d.mts +7 -0
- package/dist/types/internal/types/models/party-role-token.d.ts +7 -0
- package/{src/types/models/v-table-sort-info.ts → dist/types/internal/types/models/v-table-sort-info.d.mts} +12 -14
- package/dist/types/internal/types/models/v-table-sort-info.d.ts +12 -0
- package/dist/types/internal/types/models/v-table-types.d.mts +7 -0
- package/dist/types/internal/types/models/v-table-types.d.ts +7 -0
- package/dist/types/internal/types/models/widget-config.d.mts +15 -0
- package/dist/types/internal/types/models/widget-config.d.ts +15 -0
- package/dist/types/internal/types/models/widget-props.d.mts +12 -0
- package/dist/types/internal/types/models/widget-props.d.ts +12 -0
- package/dist/types/internal/types/models/widget-runtime.d.mts +6 -0
- package/dist/types/internal/types/models/widget-runtime.d.ts +6 -0
- package/dist/types/internal/types/models/widget-ui-options.d.mts +28 -0
- package/dist/types/internal/types/models/widget-ui-options.d.ts +28 -0
- package/dist/types/internal/utils/agent-chat/formatters/data-to-table.d.mts +1 -0
- package/dist/types/internal/utils/agent-chat/formatters/data-to-table.d.ts +1 -0
- package/dist/types/internal/utils/agent-chat/formatters/field-table-utils.d.mts +3 -0
- package/dist/types/internal/utils/agent-chat/formatters/field-table-utils.d.ts +3 -0
- package/dist/types/internal/utils/agent-chat/formatters/index.d.mts +2 -0
- package/dist/types/internal/utils/agent-chat/formatters/index.d.ts +2 -0
- package/dist/types/internal/utils/agent-chat/formatters/text-formatters.d.mts +3 -0
- package/dist/types/internal/utils/agent-chat/formatters/text-formatters.d.ts +3 -0
- package/dist/types/internal/utils/agent-chat/index.d.mts +4 -0
- package/dist/types/internal/utils/agent-chat/index.d.ts +4 -0
- package/dist/types/internal/utils/agent-chat/parsers/index.d.mts +2 -0
- package/dist/types/internal/utils/agent-chat/parsers/index.d.ts +2 -0
- package/dist/types/internal/utils/agent-chat/parsers/json/index.d.mts +2 -0
- package/dist/types/internal/utils/agent-chat/parsers/json/index.d.ts +2 -0
- package/dist/types/internal/utils/agent-chat/parsers/json/json-extraction.d.mts +13 -0
- package/dist/types/internal/utils/agent-chat/parsers/json/json-extraction.d.ts +13 -0
- package/dist/types/internal/utils/agent-chat/parsers/json/json-parsing.d.mts +3 -0
- package/dist/types/internal/utils/agent-chat/parsers/json/json-parsing.d.ts +3 -0
- package/dist/types/internal/utils/agent-chat/parsers/json/json-scanner.d.mts +4 -0
- package/dist/types/internal/utils/agent-chat/parsers/json/json-scanner.d.ts +4 -0
- package/dist/types/internal/utils/agent-chat/parsers/markdown/index.d.mts +4 -0
- package/dist/types/internal/utils/agent-chat/parsers/markdown/index.d.ts +4 -0
- package/dist/types/internal/utils/agent-chat/parsers/markdown/markdown-json-splitter.d.mts +2 -0
- package/dist/types/internal/utils/agent-chat/parsers/markdown/markdown-json-splitter.d.ts +2 -0
- package/dist/types/internal/utils/agent-chat/parsers/markdown/markdown-normalization.d.mts +2 -0
- package/dist/types/internal/utils/agent-chat/parsers/markdown/markdown-normalization.d.ts +2 -0
- package/dist/types/internal/utils/agent-chat/parsers/markdown/markdown-table-parser.d.mts +13 -0
- package/dist/types/internal/utils/agent-chat/parsers/markdown/markdown-table-parser.d.ts +13 -0
- package/dist/types/internal/utils/agent-chat/parsers/markdown/markdown-widget-parser.d.mts +11 -0
- package/dist/types/internal/utils/agent-chat/parsers/markdown/markdown-widget-parser.d.ts +11 -0
- package/dist/types/internal/utils/agent-chat/preprocess-agent-message.d.mts +1 -0
- package/dist/types/internal/utils/agent-chat/preprocess-agent-message.d.ts +1 -0
- package/dist/types/internal/utils/agent-chat/widget/chart-data-extractor.d.mts +2 -0
- package/dist/types/internal/utils/agent-chat/widget/chart-data-extractor.d.ts +2 -0
- package/dist/types/internal/utils/agent-chat/widget/index.d.mts +3 -0
- package/dist/types/internal/utils/agent-chat/widget/index.d.ts +3 -0
- package/dist/types/internal/utils/agent-chat/widget/widget-config-builder.d.mts +11 -0
- package/dist/types/internal/utils/agent-chat/widget/widget-config-builder.d.ts +11 -0
- package/dist/types/internal/utils/agent-chat/widget/widget-payload-mapper.d.mts +12 -0
- package/dist/types/internal/utils/agent-chat/widget/widget-payload-mapper.d.ts +12 -0
- package/dist/types/internal/utils/color-utils.d.mts +8 -0
- package/dist/types/internal/utils/color-utils.d.ts +8 -0
- package/dist/types/internal/utils/compare.utils.d.mts +30 -0
- package/dist/types/internal/utils/compare.utils.d.ts +30 -0
- package/dist/types/internal/utils/debug.utils.d.mts +2 -0
- package/dist/types/internal/utils/debug.utils.d.ts +2 -0
- package/dist/types/internal/utils/error.utils.d.mts +16 -0
- package/dist/types/internal/utils/error.utils.d.ts +16 -0
- package/dist/types/internal/utils/html.utils.d.mts +1 -0
- package/dist/types/internal/utils/html.utils.d.ts +1 -0
- package/dist/types/internal/utils/local-storage.utils.d.mts +10 -0
- package/dist/types/internal/utils/local-storage.utils.d.ts +10 -0
- package/dist/types/internal/utils/logger/index.d.mts +2 -0
- package/dist/types/internal/utils/logger/index.d.ts +2 -0
- package/dist/types/internal/utils/logger/logger-initiliazer.d.mts +1 -0
- package/dist/types/internal/utils/logger/logger-initiliazer.d.ts +1 -0
- package/dist/types/internal/utils/logger/logger.d.mts +23 -0
- package/dist/types/internal/utils/logger/logger.d.ts +23 -0
- package/dist/types/internal/utils/logger/trace-utils.d.mts +15 -0
- package/dist/types/internal/utils/logger/trace-utils.d.ts +15 -0
- package/dist/types/internal/utils/object.utils.d.mts +8 -0
- package/dist/types/internal/utils/object.utils.d.ts +8 -0
- package/dist/types/internal/utils/vtable.utils.d.mts +4 -0
- package/dist/types/internal/utils/vtable.utils.d.ts +4 -0
- package/dist/types/shadow.d.mts +2 -0
- package/dist/types/shadow.d.ts +2 -0
- package/dist/types/widget/Widget.d.mts +8 -0
- package/dist/types/widget/Widget.d.ts +8 -0
- package/dist/types/widget/WidgetProvider.d.mts +14 -0
- package/dist/types/widget/WidgetProvider.d.ts +14 -0
- package/dist/types/widget/WidgetView.d.mts +2 -0
- package/dist/types/widget/WidgetView.d.ts +2 -0
- package/dist/types/widget/widget-styles.d.mts +1 -0
- package/dist/types/widget/widget-styles.d.ts +1 -0
- package/package.json +84 -131
- package/README.md +0 -546
- package/dist/agent-widget.js +0 -34429
- package/dist/agent-widget.js.map +0 -1
- package/dist/bstp-agent-widget.css +0 -2
- package/src/lib/index.d.ts +0 -9
- package/src/lib/mount-widget.d.ts +0 -19
- package/src/types/dto/api-error.ts +0 -12
- package/src/types/dto/genai-agent-message-request.dto.ts +0 -15
- package/src/types/dto/genai-agent-message-response.dto.ts +0 -10
- package/src/types/dto/genai-agent-reply.dto.ts +0 -5
- package/src/types/dto/genai-login-request.dto.ts +0 -4
- package/src/types/dto/genai-tenant-switch-response.dto.ts +0 -23
- package/src/types/dto/generic-error.ts +0 -24
- package/src/types/dto/keycloak-api-error.ts +0 -4
- package/src/types/dto/operation-result.ts +0 -6
- package/src/types/dto/page.ts +0 -31
- package/src/types/dto/permission.ts +0 -7
- package/src/types/dto/spring-error.ts +0 -6
- package/src/types/dto/user.ts +0 -9
- package/src/types/markdown-ui__react.d.ts +0 -24
- package/src/types/models/agent-chat-action.ts +0 -5
- package/src/types/models/agent-chat-config.ts +0 -8
- package/src/types/models/agent-chat-md-chart-widget.ts +0 -13
- package/src/types/models/agent-chat-md-highlight-box-widget.ts +0 -5
- package/src/types/models/agent-chat-md-offer-card-widget.ts +0 -16
- package/src/types/models/agent-chat-md-overview-card-widget.ts +0 -25
- package/src/types/models/agent-chat-md-widget-config.ts +0 -99
- package/src/types/models/agent-chat-runtime-info.ts +0 -5
- package/src/types/models/agent-chat-runtime.ts +0 -6
- package/src/types/models/agent-chat-usage-chart-item.ts +0 -12
- package/src/types/models/agent-chat-widget-props.ts +0 -19
- package/src/types/models/agent-chat-widget-ui.ts +0 -28
- package/src/types/models/app-config.ts +0 -51
- package/src/types/models/base-button-props.ts +0 -3
- package/src/types/models/billing-account-data.ts +0 -6
- package/src/types/models/confirmation-modal-types.ts +0 -34
- package/src/types/models/create-genai-client-options.ts +0 -5
- package/src/types/models/form-types.ts +0 -63
- package/src/types/models/growth-book-config.ts +0 -5
- package/src/types/models/hierarchy-item.ts +0 -8
- package/src/types/models/logger-type.ts +0 -32
- package/src/types/models/meta.ts +0 -13
- package/src/types/models/nested-key-value.ts +0 -6
- package/src/types/models/party-role-token.ts +0 -7
- package/src/types/models/root-route-context.ts +0 -7
- package/src/types/models/v-table-types.ts +0 -7
- package/src/types/speech-recognition.d.ts +0 -55
package/src/lib/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './agent-widget';
|
|
2
|
-
export * from './mount-widget';
|
|
3
|
-
export * from '../types/models/agent-chat-widget-props';
|
|
4
|
-
export * from '../types/models/agent-chat-widget-ui';
|
|
5
|
-
export * from '../types/models/agent-chat-config';
|
|
6
|
-
export * from '../types/models/app-config';
|
|
7
|
-
export * from '../types/models/agent-chat-runtime';
|
|
8
|
-
|
|
9
|
-
export { mountAgentChatWidget, mountAgentChatWidgetFromEnvironment } from './mount-widget';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { AgentChatConfig } from '../types/models/agent-chat-config';
|
|
2
|
-
import { AgentChatRuntime } from '../types/models/agent-chat-runtime';
|
|
3
|
-
import { AgentChatWidgetUiOptions } from '../types/models/agent-chat-widget-ui';
|
|
4
|
-
import {
|
|
5
|
-
AgentChatExternalConfig,
|
|
6
|
-
AgentChatWidgetProps,
|
|
7
|
-
MountFromEnvironmentOptions,
|
|
8
|
-
} from '../types/models/agent-chat-widget-props';
|
|
9
|
-
|
|
10
|
-
export function mountAgentChatWidget(
|
|
11
|
-
container: Element,
|
|
12
|
-
props: AgentChatWidgetProps,
|
|
13
|
-
options?: { environmentUrl?: string },
|
|
14
|
-
): Promise<() => void>;
|
|
15
|
-
|
|
16
|
-
export function mountAgentChatWidgetFromEnvironment(
|
|
17
|
-
container: Element,
|
|
18
|
-
options: MountFromEnvironmentOptions,
|
|
19
|
-
): Promise<() => void>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export interface GenaiToolHeaders {
|
|
2
|
-
_default: {
|
|
3
|
-
Authorization: string;
|
|
4
|
-
[key: string]: string;
|
|
5
|
-
};
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export interface GenaiAgentMessageRequest {
|
|
9
|
-
message: string;
|
|
10
|
-
chat_id: number | null;
|
|
11
|
-
assistant_id: number;
|
|
12
|
-
is_sync: boolean;
|
|
13
|
-
unique_user_id?: string;
|
|
14
|
-
tool_headers: GenaiToolHeaders;
|
|
15
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export interface GenaiTenantSwitchTenant {
|
|
2
|
-
id: number;
|
|
3
|
-
slug: string;
|
|
4
|
-
name: string;
|
|
5
|
-
created_at: string;
|
|
6
|
-
is_active: boolean;
|
|
7
|
-
user_count: number;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface GenaiTenantSwitchData {
|
|
11
|
-
access_token: string;
|
|
12
|
-
tenant_id: number;
|
|
13
|
-
tenant: GenaiTenantSwitchTenant;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export interface GenaiTenantSwitchResponse {
|
|
17
|
-
success: boolean;
|
|
18
|
-
message: string;
|
|
19
|
-
data: GenaiTenantSwitchData;
|
|
20
|
-
errors: unknown;
|
|
21
|
-
metadata: unknown;
|
|
22
|
-
pagination: unknown;
|
|
23
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Example:
|
|
3
|
-
{
|
|
4
|
-
"status": 400,
|
|
5
|
-
"type": "https://etiya.com/problems/bss/common/busines-validation",
|
|
6
|
-
"code": "BSN_INTER_ALREADY_EXIST",
|
|
7
|
-
"detail": "Some message",
|
|
8
|
-
"traceId": "acbd0001-7b8e-4e81-9d6b-3e34ce7c9a9e",
|
|
9
|
-
"errorId": 1746796609,
|
|
10
|
-
"timestamp": "2024-03-19T01:10:23.937+00:00",
|
|
11
|
-
"instance": "https://.../crm/v1/customer/12345"
|
|
12
|
-
}
|
|
13
|
-
*/
|
|
14
|
-
export interface GenericError {
|
|
15
|
-
status: number;
|
|
16
|
-
type: string;
|
|
17
|
-
code: string;
|
|
18
|
-
detail: string;
|
|
19
|
-
traceId: string;
|
|
20
|
-
errorId: number;
|
|
21
|
-
timestamp: string;
|
|
22
|
-
instance: string;
|
|
23
|
-
properties: Record<string, number | string | boolean>;
|
|
24
|
-
}
|
package/src/types/dto/page.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/** @public */
|
|
2
|
-
export interface Page<T> {
|
|
3
|
-
content: T[];
|
|
4
|
-
pageable: Pageable;
|
|
5
|
-
last: boolean;
|
|
6
|
-
totalElements: number;
|
|
7
|
-
totalPages: number;
|
|
8
|
-
size: number;
|
|
9
|
-
number: number;
|
|
10
|
-
sort: Sort;
|
|
11
|
-
first: boolean;
|
|
12
|
-
numberOfElements: number;
|
|
13
|
-
empty: boolean;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/** @public */
|
|
17
|
-
export interface Pageable {
|
|
18
|
-
sort: Sort;
|
|
19
|
-
offset: number;
|
|
20
|
-
pageSize: number;
|
|
21
|
-
pageNumber: number;
|
|
22
|
-
paged: boolean;
|
|
23
|
-
unpaged: boolean;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/** @public */
|
|
27
|
-
export interface Sort {
|
|
28
|
-
sorted: boolean;
|
|
29
|
-
unsorted: boolean;
|
|
30
|
-
empty: boolean;
|
|
31
|
-
}
|
package/src/types/dto/user.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
declare module '@markdown-ui/react' {
|
|
2
|
-
export type WidgetEvent = {
|
|
3
|
-
type: string;
|
|
4
|
-
data?: Record<string, unknown>;
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
export function MarkdownUI(props: {
|
|
8
|
-
html: string;
|
|
9
|
-
onWidgetEvent?: (event: WidgetEvent) => void;
|
|
10
|
-
renderWidget?: (widgetData: unknown) => React.ReactNode;
|
|
11
|
-
}): JSX.Element;
|
|
12
|
-
|
|
13
|
-
export const ButtonGroup: unknown;
|
|
14
|
-
export const Chart: unknown;
|
|
15
|
-
export const Form: unknown;
|
|
16
|
-
export const Incomplete: unknown;
|
|
17
|
-
export const MultipleChoiceQuestion: unknown;
|
|
18
|
-
export const Quiz: unknown;
|
|
19
|
-
export const Select: unknown;
|
|
20
|
-
export const SelectMulti: unknown;
|
|
21
|
-
export const ShortAnswerQuestion: unknown;
|
|
22
|
-
export const Slider: unknown;
|
|
23
|
-
export const TextInput: unknown;
|
|
24
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AppConfigGenaiAssistant, AppConfigGenaiConfig } from './app-config';
|
|
2
|
-
|
|
3
|
-
export type AgentChatConfigGetter = {
|
|
4
|
-
getAssistantId: () => number | null;
|
|
5
|
-
getAssistants?: () => AppConfigGenaiAssistant[];
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export type AgentChatConfig = AppConfigGenaiConfig | AgentChatConfigGetter;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface AgentChatMdChartWidgetItem {
|
|
2
|
-
key: string;
|
|
3
|
-
label: string;
|
|
4
|
-
used: number;
|
|
5
|
-
total: number;
|
|
6
|
-
unit: string;
|
|
7
|
-
percentUsed?: number;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface AgentChatMdChartWidgetProps {
|
|
11
|
-
items?: AgentChatMdChartWidgetItem[];
|
|
12
|
-
title?: string;
|
|
13
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface AgentChatMdOfferCardWidgetItem {
|
|
2
|
-
offerId?: string;
|
|
3
|
-
name?: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
price?: string;
|
|
6
|
-
priceType?: string;
|
|
7
|
-
dataAmount?: string;
|
|
8
|
-
chargeType?: string;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export interface AgentChatMdOfferCardWidgetProps {
|
|
12
|
-
items?: AgentChatMdOfferCardWidgetItem[];
|
|
13
|
-
title?: string;
|
|
14
|
-
showPricing?: boolean;
|
|
15
|
-
onSelectOffer?: (offerId: string) => void;
|
|
16
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export interface AgentChatMdOverviewCardAdvantage {
|
|
2
|
-
key: string;
|
|
3
|
-
type: string;
|
|
4
|
-
amount: string;
|
|
5
|
-
unit?: string | null;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export interface AgentChatMdOverviewCardWidgetItem {
|
|
9
|
-
billingAccountId?: string;
|
|
10
|
-
title?: string;
|
|
11
|
-
advantages?: AgentChatMdOverviewCardAdvantage[];
|
|
12
|
-
price?: string;
|
|
13
|
-
priceSuffix?: string;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export interface AgentChatMdOverviewCardWidgetProps {
|
|
17
|
-
items?: AgentChatMdOverviewCardWidgetItem[];
|
|
18
|
-
title?: string;
|
|
19
|
-
advantages?: AgentChatMdOverviewCardAdvantage[];
|
|
20
|
-
price?: string;
|
|
21
|
-
priceSuffix?: string;
|
|
22
|
-
ctaLabel?: string;
|
|
23
|
-
onCtaClick?: () => void;
|
|
24
|
-
onSelectAccount?: (billingAccountId: string) => void;
|
|
25
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { AgentChatAction } from './agent-chat-action';
|
|
2
|
-
import { AgentChatMdChartWidgetItem } from './agent-chat-md-chart-widget';
|
|
3
|
-
import { AgentChatMdOfferCardWidgetItem } from './agent-chat-md-offer-card-widget';
|
|
4
|
-
|
|
5
|
-
export interface MdWidgetDataWithResponseList<T> {
|
|
6
|
-
responseList?: T[];
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface BaseVisualizationConfig {
|
|
10
|
-
title?: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface ChartVisualizationConfig extends BaseVisualizationConfig {}
|
|
14
|
-
|
|
15
|
-
export interface OfferCardVisualizationConfig extends BaseVisualizationConfig {
|
|
16
|
-
showPricing?: boolean;
|
|
17
|
-
cta?: {
|
|
18
|
-
label?: string;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export interface OverviewCardVisualizationConfig extends BaseVisualizationConfig {
|
|
23
|
-
price?: {
|
|
24
|
-
discount?: number | string;
|
|
25
|
-
price?: number | string;
|
|
26
|
-
showMonthly?: boolean;
|
|
27
|
-
};
|
|
28
|
-
cta?: {
|
|
29
|
-
label?: string;
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export interface TableVisualizationConfig extends BaseVisualizationConfig {
|
|
34
|
-
headers?: string[];
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export interface HighlightBoxVisualizationConfig {
|
|
38
|
-
title?: string;
|
|
39
|
-
content?: string;
|
|
40
|
-
variant?: 'info' | 'success' | 'warning' | 'error';
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export type VisualizationConfig =
|
|
44
|
-
| ChartVisualizationConfig
|
|
45
|
-
| OfferCardVisualizationConfig
|
|
46
|
-
| OverviewCardVisualizationConfig
|
|
47
|
-
| TableVisualizationConfig
|
|
48
|
-
| HighlightBoxVisualizationConfig
|
|
49
|
-
| Record<string, never>;
|
|
50
|
-
|
|
51
|
-
export interface BaseMdWidgetConfig {
|
|
52
|
-
data?: Record<string, unknown> | MdWidgetDataWithResponseList<unknown>;
|
|
53
|
-
visualizationConfig?: VisualizationConfig;
|
|
54
|
-
responseType?: string;
|
|
55
|
-
actions?: AgentChatAction[];
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export interface ChartWidgetConfig extends BaseMdWidgetConfig {
|
|
59
|
-
type: 'chart' | 'usage-chart';
|
|
60
|
-
items?: AgentChatMdChartWidgetItem[];
|
|
61
|
-
visualizationConfig?: ChartVisualizationConfig;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export interface OfferCardWidgetConfig extends BaseMdWidgetConfig {
|
|
65
|
-
type: 'offer-card' | 'addon-card';
|
|
66
|
-
items?: AgentChatMdOfferCardWidgetItem[];
|
|
67
|
-
data?: MdWidgetDataWithResponseList<AgentChatMdOfferCardWidgetItem>;
|
|
68
|
-
visualizationConfig?: OfferCardVisualizationConfig;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export interface OverviewCardWidgetConfig extends BaseMdWidgetConfig {
|
|
72
|
-
type: 'overview-card' | 'account-overview';
|
|
73
|
-
data?: MdWidgetDataWithResponseList<unknown>;
|
|
74
|
-
visualizationConfig?: OverviewCardVisualizationConfig;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export interface TableWidgetConfig extends BaseMdWidgetConfig {
|
|
78
|
-
type: 'table';
|
|
79
|
-
items?: string[][];
|
|
80
|
-
visualizationConfig?: TableVisualizationConfig;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export interface HighlightBoxWidgetConfig extends BaseMdWidgetConfig {
|
|
84
|
-
type: 'highlight-box' | 'info-box';
|
|
85
|
-
visualizationConfig?: HighlightBoxVisualizationConfig;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export interface ActionsWidgetConfig extends BaseMdWidgetConfig {
|
|
89
|
-
type: 'actions';
|
|
90
|
-
actions: AgentChatAction[];
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export type MdWidgetConfig =
|
|
94
|
-
| ChartWidgetConfig
|
|
95
|
-
| OfferCardWidgetConfig
|
|
96
|
-
| OverviewCardWidgetConfig
|
|
97
|
-
| TableWidgetConfig
|
|
98
|
-
| HighlightBoxWidgetConfig
|
|
99
|
-
| ActionsWidgetConfig;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { AgentChatConfig } from './agent-chat-config';
|
|
2
|
-
import { AppConfigGenaiConfig } from './app-config';
|
|
3
|
-
import { AgentChatRuntime } from './agent-chat-runtime';
|
|
4
|
-
import { AgentChatWidgetUiOptions } from './agent-chat-widget-ui';
|
|
5
|
-
|
|
6
|
-
export type AgentChatWidgetProps = {
|
|
7
|
-
config: AgentChatConfig;
|
|
8
|
-
runtime: AgentChatRuntime;
|
|
9
|
-
theme?: AgentChatWidgetUiOptions;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
export type AgentChatExternalConfig = Partial<Pick<AppConfigGenaiConfig, 'assistantId' | 'agents'>>;
|
|
13
|
-
|
|
14
|
-
export type MountFromEnvironmentOptions = {
|
|
15
|
-
runtime: AgentChatRuntime;
|
|
16
|
-
environmentUrl?: string;
|
|
17
|
-
theme?: AgentChatWidgetUiOptions;
|
|
18
|
-
config?: AgentChatExternalConfig;
|
|
19
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export interface AgentChatWidgetUiOptions {
|
|
2
|
-
/** Panel width in px */
|
|
3
|
-
panelWidth?: number;
|
|
4
|
-
/** Panel height in px or CSS value */
|
|
5
|
-
panelHeight?: number | string;
|
|
6
|
-
/** Panel header height in px */
|
|
7
|
-
panelHeaderHeight?: number;
|
|
8
|
-
/** Text shown in panel header title */
|
|
9
|
-
panelTitle?: string;
|
|
10
|
-
/** Accent color used by widget surfaces */
|
|
11
|
-
accentColor?: string;
|
|
12
|
-
/** FAB button bottom offset in px */
|
|
13
|
-
fabBottomOffset?: number;
|
|
14
|
-
/** FAB button top offset in px (takes precedence over bottom offset when provided) */
|
|
15
|
-
fabTopOffset?: number;
|
|
16
|
-
/** FAB button right offset in px */
|
|
17
|
-
fabRightOffset?: number;
|
|
18
|
-
/** FAB button left offset in px (takes precedence over right offset when provided) */
|
|
19
|
-
fabLeftOffset?: number;
|
|
20
|
-
/** FAB button label text */
|
|
21
|
-
fabButtonLabel?: string;
|
|
22
|
-
/** Widget z-index (affects both FAB and panel) */
|
|
23
|
-
zIndex?: number;
|
|
24
|
-
/** Panel top offset in px (e.g. host app header height) */
|
|
25
|
-
panelTopOffset?: number;
|
|
26
|
-
/** CSS selector for the host layout node that should reserve space for the widget */
|
|
27
|
-
hostContainerSelector?: string;
|
|
28
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { AppFeatureConfig } from './app-feature-config';
|
|
2
|
-
import { GrowthBookConfig } from './growth-book-config';
|
|
3
|
-
|
|
4
|
-
export interface AppConfig {
|
|
5
|
-
url: AppConfigUrl;
|
|
6
|
-
keycloak: AppConfigKeycloak;
|
|
7
|
-
features: AppFeatureConfig;
|
|
8
|
-
growthBook?: GrowthBookConfig;
|
|
9
|
-
genai?: AppConfigGenai;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
interface AppConfigUrl {
|
|
13
|
-
app: string;
|
|
14
|
-
api: string;
|
|
15
|
-
apiPaths: ApiPathsConfig;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
interface ApiPathsConfig {
|
|
19
|
-
crm: string;
|
|
20
|
-
uiAuthz: string;
|
|
21
|
-
genai?: string;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
interface AppConfigKeycloak {
|
|
25
|
-
url: string;
|
|
26
|
-
realm: string;
|
|
27
|
-
clientId: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface AppConfigGenaiAssistant {
|
|
31
|
-
assistantKey: string;
|
|
32
|
-
assistantId: number;
|
|
33
|
-
label: string;
|
|
34
|
-
initialMessage?: string;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export interface AppConfigGenaiConfig {
|
|
38
|
-
assistantId: number;
|
|
39
|
-
agents?: AppConfigGenaiAssistant[];
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export interface AppConfigGenaiInit {
|
|
43
|
-
serviceAccount: string;
|
|
44
|
-
serviceKey: string;
|
|
45
|
-
tenantId: number;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
interface AppConfigGenai {
|
|
49
|
-
config?: AppConfigGenaiConfig;
|
|
50
|
-
init?: AppConfigGenaiInit;
|
|
51
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { ExtendedButtonVariant } from '@/type-augmentation';
|
|
2
|
-
import { ModalProps } from '@mantine/core';
|
|
3
|
-
import { ReactNode } from 'react';
|
|
4
|
-
|
|
5
|
-
export type ConfirmationModalVariant = 'danger' | 'warning' | 'info' | 'success';
|
|
6
|
-
|
|
7
|
-
export interface ModalTitleProps {
|
|
8
|
-
title: string;
|
|
9
|
-
variant: ConfirmationModalVariant;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export interface BaseConfirmationModalProps {
|
|
13
|
-
modalId?: string;
|
|
14
|
-
title?: string;
|
|
15
|
-
children: ReactNode;
|
|
16
|
-
onConfirm?: () => void;
|
|
17
|
-
onCancel?: () => void;
|
|
18
|
-
variant?: ConfirmationModalVariant;
|
|
19
|
-
confirmButtonVariant?: ExtendedButtonVariant;
|
|
20
|
-
cancelButtonVariant?: ExtendedButtonVariant;
|
|
21
|
-
confirmLabel?: string;
|
|
22
|
-
cancelLabel?: string;
|
|
23
|
-
confirmButtonVisible?: boolean;
|
|
24
|
-
loading?: boolean;
|
|
25
|
-
disabled?: boolean;
|
|
26
|
-
autoCloseOnConfirm?: boolean;
|
|
27
|
-
size?: ModalProps['size'];
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface ShowConfirmationModalReturnType {
|
|
31
|
-
modalId: string;
|
|
32
|
-
closeModal: () => void;
|
|
33
|
-
updateModal: (props: Partial<BaseConfirmationModalProps>) => void;
|
|
34
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
// oxlint-disable no-explicit-any
|
|
2
|
-
import type { BaseFieldComponents } from '@/hooks/useAppFormSetup';
|
|
3
|
-
import type {
|
|
4
|
-
AppFieldExtendedReactFormApi,
|
|
5
|
-
FormApi,
|
|
6
|
-
FormAsyncValidateOrFn,
|
|
7
|
-
FormValidateOrFn,
|
|
8
|
-
FormValidators,
|
|
9
|
-
} from '@tanstack/react-form';
|
|
10
|
-
import { ComponentType } from 'react';
|
|
11
|
-
import { BaseIssue, BaseSchema, InferOutput, ObjectSchema } from 'valibot';
|
|
12
|
-
|
|
13
|
-
export type FormValidatorsType<TSchema extends BaseSchema<any, any, BaseIssue<any>>> = FormValidators<
|
|
14
|
-
InferOutput<TSchema>,
|
|
15
|
-
FormValidateOrFn<InferOutput<TSchema>> | undefined,
|
|
16
|
-
FormValidateOrFn<InferOutput<TSchema>> | undefined,
|
|
17
|
-
FormAsyncValidateOrFn<InferOutput<TSchema>> | undefined,
|
|
18
|
-
FormValidateOrFn<InferOutput<TSchema>> | undefined,
|
|
19
|
-
FormAsyncValidateOrFn<InferOutput<TSchema>> | undefined,
|
|
20
|
-
FormValidateOrFn<InferOutput<TSchema>> | undefined,
|
|
21
|
-
FormAsyncValidateOrFn<InferOutput<TSchema>> | undefined,
|
|
22
|
-
FormValidateOrFn<InferOutput<TSchema>> | undefined,
|
|
23
|
-
FormAsyncValidateOrFn<InferOutput<TSchema>> | undefined
|
|
24
|
-
>;
|
|
25
|
-
|
|
26
|
-
export type GenericObjectSchema = ObjectSchema<any, any>;
|
|
27
|
-
|
|
28
|
-
/** @public */
|
|
29
|
-
export type GenericAppFieldExtendedReactFormApi<
|
|
30
|
-
T,
|
|
31
|
-
TSubmitMeta = never,
|
|
32
|
-
TFieldComponents extends Record<string, ComponentType<any>> = BaseFieldComponents,
|
|
33
|
-
TFormComponents extends Record<string, ComponentType<any>> = Record<string, never>,
|
|
34
|
-
> = AppFieldExtendedReactFormApi<
|
|
35
|
-
T,
|
|
36
|
-
FormValidateOrFn<T> | undefined,
|
|
37
|
-
FormValidateOrFn<T> | undefined,
|
|
38
|
-
FormAsyncValidateOrFn<T> | undefined,
|
|
39
|
-
FormValidateOrFn<T> | undefined,
|
|
40
|
-
FormAsyncValidateOrFn<T> | undefined,
|
|
41
|
-
FormValidateOrFn<T> | undefined,
|
|
42
|
-
FormAsyncValidateOrFn<T> | undefined,
|
|
43
|
-
FormValidateOrFn<T> | undefined,
|
|
44
|
-
FormAsyncValidateOrFn<T> | undefined,
|
|
45
|
-
FormAsyncValidateOrFn<T> | undefined,
|
|
46
|
-
TSubmitMeta,
|
|
47
|
-
TFieldComponents,
|
|
48
|
-
TFormComponents
|
|
49
|
-
>;
|
|
50
|
-
|
|
51
|
-
export type GenericFormApi<T> = FormApi<
|
|
52
|
-
T,
|
|
53
|
-
FormValidateOrFn<T> | undefined,
|
|
54
|
-
FormValidateOrFn<T> | undefined,
|
|
55
|
-
FormAsyncValidateOrFn<T> | undefined,
|
|
56
|
-
FormValidateOrFn<T> | undefined,
|
|
57
|
-
FormAsyncValidateOrFn<T> | undefined,
|
|
58
|
-
FormValidateOrFn<T> | undefined,
|
|
59
|
-
FormAsyncValidateOrFn<T> | undefined,
|
|
60
|
-
FormValidateOrFn<T> | undefined,
|
|
61
|
-
FormAsyncValidateOrFn<T> | undefined,
|
|
62
|
-
FormAsyncValidateOrFn<T> | undefined
|
|
63
|
-
>;
|