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
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function hexToRgb(hex: string): {
|
|
2
|
+
r: number;
|
|
3
|
+
g: number;
|
|
4
|
+
b: number;
|
|
5
|
+
};
|
|
6
|
+
export declare function lightenColor(hex: string, percent: number): string;
|
|
7
|
+
export declare function darkenColor(hex: string, percent: number): string;
|
|
8
|
+
export declare function hexToMantineColorTuple(hex: string): [string, string, string, string, string, string, string, string, string, string, string];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Check if a value is a valid date string or Date object
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export declare function isDateValue(value: unknown): boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Compare two numbers
|
|
8
|
+
* @returns negative if a < b, positive if a > b, 0 if equal
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export declare function compareNumbers(a: number, b: number): number;
|
|
12
|
+
/**
|
|
13
|
+
* Compare two dates (Date objects or date strings)
|
|
14
|
+
* @returns negative if a < b, positive if a > b, 0 if equal
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export declare function compareDates(a: string | Date, b: string | Date): number;
|
|
18
|
+
/**
|
|
19
|
+
* Compare two strings with locale support
|
|
20
|
+
* Handles numeric strings (e.g., "100", "$1,234.56")
|
|
21
|
+
* @returns negative if a < b, positive if a > b, 0 if equal
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export declare function compareStrings(a: string, b: string): number;
|
|
25
|
+
/**
|
|
26
|
+
* Compare two values with smart type detection
|
|
27
|
+
* Handles: null/undefined, number, date, string (including currency/numeric strings)
|
|
28
|
+
* @returns negative if a < b, positive if a > b, 0 if equal
|
|
29
|
+
*/
|
|
30
|
+
export declare function compareAllValues<T>(a: T, b: T): number;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Check if a value is a valid date string or Date object
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export declare function isDateValue(value: unknown): boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Compare two numbers
|
|
8
|
+
* @returns negative if a < b, positive if a > b, 0 if equal
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export declare function compareNumbers(a: number, b: number): number;
|
|
12
|
+
/**
|
|
13
|
+
* Compare two dates (Date objects or date strings)
|
|
14
|
+
* @returns negative if a < b, positive if a > b, 0 if equal
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export declare function compareDates(a: string | Date, b: string | Date): number;
|
|
18
|
+
/**
|
|
19
|
+
* Compare two strings with locale support
|
|
20
|
+
* Handles numeric strings (e.g., "100", "$1,234.56")
|
|
21
|
+
* @returns negative if a < b, positive if a > b, 0 if equal
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export declare function compareStrings(a: string, b: string): number;
|
|
25
|
+
/**
|
|
26
|
+
* Compare two values with smart type detection
|
|
27
|
+
* Handles: null/undefined, number, date, string (including currency/numeric strings)
|
|
28
|
+
* @returns negative if a < b, positive if a > b, 0 if equal
|
|
29
|
+
*/
|
|
30
|
+
export declare function compareAllValues<T>(a: T, b: T): number;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AxiosError } from 'axios';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { ErrorParams } from '@/types/models/error-types';
|
|
4
|
+
/**
|
|
5
|
+
* Extracts the specific error code from an AxiosError response body.
|
|
6
|
+
* Handles different backend error formats (OperationResult, ApiError, SpringError, GenericError).
|
|
7
|
+
* @param error The AxiosError object.
|
|
8
|
+
* @returns The extracted error code string, or an empty string if not found.
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export declare function getApiErrorCode(error: AxiosError): string;
|
|
12
|
+
/** @public */
|
|
13
|
+
export declare function getErrorMessage(error: AxiosError): ReactNode;
|
|
14
|
+
export declare function handleApiError(error: AxiosError): void;
|
|
15
|
+
/** @public */
|
|
16
|
+
export declare function handleCustomApiError(error: AxiosError, params?: ErrorParams): void;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AxiosError } from 'axios';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { ErrorParams } from '@/types/models/error-types';
|
|
4
|
+
/**
|
|
5
|
+
* Extracts the specific error code from an AxiosError response body.
|
|
6
|
+
* Handles different backend error formats (OperationResult, ApiError, SpringError, GenericError).
|
|
7
|
+
* @param error The AxiosError object.
|
|
8
|
+
* @returns The extracted error code string, or an empty string if not found.
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export declare function getApiErrorCode(error: AxiosError): string;
|
|
12
|
+
/** @public */
|
|
13
|
+
export declare function getErrorMessage(error: AxiosError): ReactNode;
|
|
14
|
+
export declare function handleApiError(error: AxiosError): void;
|
|
15
|
+
/** @public */
|
|
16
|
+
export declare function handleCustomApiError(error: AxiosError, params?: ErrorParams): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function sanitizeHtml(rawHtml: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function sanitizeHtml(rawHtml: string): string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function getLocalStorageItem<T>(key: string): T | null;
|
|
2
|
+
export declare function getLocalStorageItem<T>(key: string, fallback: T): T;
|
|
3
|
+
export declare function getAllLocalStorageItems<T extends string>(): Record<string, T | null>;
|
|
4
|
+
/** @public */
|
|
5
|
+
export declare function setLocalStorageItem<T>(key: string, value: T): void;
|
|
6
|
+
/**
|
|
7
|
+
* Removes an item from localStorage
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export declare function removeLocalStorageItem(key: string): void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function getLocalStorageItem<T>(key: string): T | null;
|
|
2
|
+
export declare function getLocalStorageItem<T>(key: string, fallback: T): T;
|
|
3
|
+
export declare function getAllLocalStorageItems<T extends string>(): Record<string, T | null>;
|
|
4
|
+
/** @public */
|
|
5
|
+
export declare function setLocalStorageItem<T>(key: string, value: T): void;
|
|
6
|
+
/**
|
|
7
|
+
* Removes an item from localStorage
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export declare function removeLocalStorageItem(key: string): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function initializeLogger(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function initializeLogger(): void;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { LoggerOptions, LogLevel } from '@/types/models/logger-type';
|
|
2
|
+
export declare class Logger {
|
|
3
|
+
private static globalConfig;
|
|
4
|
+
private readonly name;
|
|
5
|
+
private config;
|
|
6
|
+
private readonly additionalFields;
|
|
7
|
+
constructor(name: string, options?: Partial<Omit<LoggerOptions, 'name'>>);
|
|
8
|
+
private createLogEntry;
|
|
9
|
+
private log;
|
|
10
|
+
debug(message: string, fields?: Record<string, unknown>): void;
|
|
11
|
+
info(message: string, fields?: Record<string, unknown>): void;
|
|
12
|
+
warn(message: string, fields?: Record<string, unknown>): void;
|
|
13
|
+
error(message: string, fields?: Record<string, unknown>): void;
|
|
14
|
+
startSpan(): void;
|
|
15
|
+
clearTraceContext(): void;
|
|
16
|
+
setEnabled(enabled: boolean): void;
|
|
17
|
+
setMinLogLevel(level: LogLevel): void;
|
|
18
|
+
static setGlobalEnabled(enabled: boolean): void;
|
|
19
|
+
static getGlobalEnabled(): boolean;
|
|
20
|
+
static setGlobalMinLogLevel(level: LogLevel): void;
|
|
21
|
+
static getGlobalMinLogLevel(): LogLevel;
|
|
22
|
+
static setGlobalApplicationName(name: string): void;
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { LoggerOptions, LogLevel } from '@/types/models/logger-type';
|
|
2
|
+
export declare class Logger {
|
|
3
|
+
private static globalConfig;
|
|
4
|
+
private readonly name;
|
|
5
|
+
private config;
|
|
6
|
+
private readonly additionalFields;
|
|
7
|
+
constructor(name: string, options?: Partial<Omit<LoggerOptions, 'name'>>);
|
|
8
|
+
private createLogEntry;
|
|
9
|
+
private log;
|
|
10
|
+
debug(message: string, fields?: Record<string, unknown>): void;
|
|
11
|
+
info(message: string, fields?: Record<string, unknown>): void;
|
|
12
|
+
warn(message: string, fields?: Record<string, unknown>): void;
|
|
13
|
+
error(message: string, fields?: Record<string, unknown>): void;
|
|
14
|
+
startSpan(): void;
|
|
15
|
+
clearTraceContext(): void;
|
|
16
|
+
setEnabled(enabled: boolean): void;
|
|
17
|
+
setMinLogLevel(level: LogLevel): void;
|
|
18
|
+
static setGlobalEnabled(enabled: boolean): void;
|
|
19
|
+
static getGlobalEnabled(): boolean;
|
|
20
|
+
static setGlobalMinLogLevel(level: LogLevel): void;
|
|
21
|
+
static getGlobalMinLogLevel(): LogLevel;
|
|
22
|
+
static setGlobalApplicationName(name: string): void;
|
|
23
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface TraceContext {
|
|
2
|
+
traceId: string;
|
|
3
|
+
spanId: string;
|
|
4
|
+
parentSpanId?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class TraceContextManager {
|
|
7
|
+
private static instance;
|
|
8
|
+
private contextMap;
|
|
9
|
+
static getInstance(): TraceContextManager;
|
|
10
|
+
startTrace(loggerName: string): TraceContext;
|
|
11
|
+
startSpan(loggerName: string): TraceContext;
|
|
12
|
+
getCurrentContext(loggerName: string): TraceContext | undefined;
|
|
13
|
+
clearContext(loggerName: string): void;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface TraceContext {
|
|
2
|
+
traceId: string;
|
|
3
|
+
spanId: string;
|
|
4
|
+
parentSpanId?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class TraceContextManager {
|
|
7
|
+
private static instance;
|
|
8
|
+
private contextMap;
|
|
9
|
+
static getInstance(): TraceContextManager;
|
|
10
|
+
startTrace(loggerName: string): TraceContext;
|
|
11
|
+
startSpan(loggerName: string): TraceContext;
|
|
12
|
+
getCurrentContext(loggerName: string): TraceContext | undefined;
|
|
13
|
+
clearContext(loggerName: string): void;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** @public */
|
|
2
|
+
export declare function mergeNonFalsyObjectProperties<T, R = T>(obj: T, keyValuePairs?: Partial<R>): R;
|
|
3
|
+
/**
|
|
4
|
+
* Get nested value from object using dot notation path
|
|
5
|
+
* @example getNestedValue({ a: { b: { c: 1 } } }, 'a.b.c') // returns 1
|
|
6
|
+
*/
|
|
7
|
+
export declare function getNestedValue<T, R = unknown>(obj: T, path: string): R | undefined;
|
|
8
|
+
export declare function stableStringify(value: unknown): string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** @public */
|
|
2
|
+
export declare function mergeNonFalsyObjectProperties<T, R = T>(obj: T, keyValuePairs?: Partial<R>): R;
|
|
3
|
+
/**
|
|
4
|
+
* Get nested value from object using dot notation path
|
|
5
|
+
* @example getNestedValue({ a: { b: { c: 1 } } }, 'a.b.c') // returns 1
|
|
6
|
+
*/
|
|
7
|
+
export declare function getNestedValue<T, R = unknown>(obj: T, path: string): R | undefined;
|
|
8
|
+
export declare function stableStringify(value: unknown): string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
|
+
import type { WidgetIntegrationProps } from '../internal/types/models/widget-props';
|
|
3
|
+
export interface WidgetProps extends WidgetIntegrationProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: CSSProperties;
|
|
6
|
+
rootElement?: HTMLElement | null;
|
|
7
|
+
}
|
|
8
|
+
export declare const Widget: import("react").ForwardRefExoticComponent<WidgetProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
|
+
import type { WidgetIntegrationProps } from '../internal/types/models/widget-props';
|
|
3
|
+
export interface WidgetProps extends WidgetIntegrationProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: CSSProperties;
|
|
6
|
+
rootElement?: HTMLElement | null;
|
|
7
|
+
}
|
|
8
|
+
export declare const Widget: import("react").ForwardRefExoticComponent<WidgetProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type MantineThemeOverride } from '@mantine/core';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
import type { AppConfig } from '../internal/types/models/app-config';
|
|
4
|
+
import type { WidgetConfig } from '../internal/types/models/widget-config';
|
|
5
|
+
import type { WidgetRuntime } from '../internal/types/models/widget-runtime';
|
|
6
|
+
export interface WidgetProviderProps {
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
appConfig: AppConfig;
|
|
9
|
+
config: WidgetConfig;
|
|
10
|
+
runtime: WidgetRuntime;
|
|
11
|
+
theme: MantineThemeOverride;
|
|
12
|
+
rootElement?: HTMLElement | null;
|
|
13
|
+
}
|
|
14
|
+
export declare function WidgetProvider({ children, appConfig, config, runtime, theme, rootElement, }: WidgetProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type MantineThemeOverride } from '@mantine/core';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
import type { AppConfig } from '../internal/types/models/app-config';
|
|
4
|
+
import type { WidgetConfig } from '../internal/types/models/widget-config';
|
|
5
|
+
import type { WidgetRuntime } from '../internal/types/models/widget-runtime';
|
|
6
|
+
export interface WidgetProviderProps {
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
appConfig: AppConfig;
|
|
9
|
+
config: WidgetConfig;
|
|
10
|
+
runtime: WidgetRuntime;
|
|
11
|
+
theme: MantineThemeOverride;
|
|
12
|
+
rootElement?: HTMLElement | null;
|
|
13
|
+
}
|
|
14
|
+
export declare function WidgetProvider({ children, appConfig, config, runtime, theme, rootElement, }: WidgetProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const widgetStyles: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const widgetStyles: string;
|
package/package.json
CHANGED
|
@@ -1,141 +1,94 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bstp-agent-widget",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
3
|
+
"version": "0.2.113",
|
|
4
|
+
"description": "Agent chat widget library built on the bstp widget starter infrastructure",
|
|
5
|
+
"packageManager": "bun@1.3.13",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "Vitaly Rtishchev <rtivital@gmail.com>",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"mantine",
|
|
10
|
+
"react",
|
|
11
|
+
"shadow-dom",
|
|
12
|
+
"typescript",
|
|
13
|
+
"widget"
|
|
14
14
|
],
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
],
|
|
19
|
-
"main": "./dist/agent-widget.js",
|
|
20
|
-
"module": "./dist/agent-widget.js",
|
|
21
|
-
"types": "./src/lib/index.d.ts",
|
|
15
|
+
"main": "./dist/index.cjs",
|
|
16
|
+
"module": "./dist/index.mjs",
|
|
17
|
+
"types": "./dist/types/index.d.ts",
|
|
22
18
|
"exports": {
|
|
23
19
|
".": {
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
"import": {
|
|
21
|
+
"types": "./dist/types/index.d.mts",
|
|
22
|
+
"default": "./dist/index.mjs"
|
|
23
|
+
},
|
|
24
|
+
"require": {
|
|
25
|
+
"types": "./dist/types/index.d.ts",
|
|
26
|
+
"default": "./dist/index.cjs"
|
|
27
|
+
}
|
|
27
28
|
},
|
|
28
|
-
"./
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"@tanstack/react-query": "5.96.1",
|
|
72
|
-
"@tanstack/react-router": "1.168.10",
|
|
73
|
-
"axios": "1.14.0",
|
|
74
|
-
"clsx": "2.1.1",
|
|
75
|
-
"dayjs": "1.11.20",
|
|
76
|
-
"dompurify": "3.3.3",
|
|
77
|
-
"embla-carousel": "8.6.0",
|
|
78
|
-
"embla-carousel-auto-height": "8.6.0",
|
|
79
|
-
"embla-carousel-autoplay": "8.6.0",
|
|
80
|
-
"embla-carousel-react": "8.6.0",
|
|
81
|
-
"json5": "2.2.3",
|
|
82
|
-
"keycloak-js": "26.2.3",
|
|
83
|
-
"marked": "17.0.4",
|
|
84
|
-
"nuqs": "2.8.9",
|
|
85
|
-
"react": "19.2.4",
|
|
86
|
-
"react-dom": "19.2.4",
|
|
87
|
-
"react-imask": "7.6.1",
|
|
88
|
-
"react-virtuoso": "4.18.4",
|
|
89
|
-
"valibot": "1.3.1",
|
|
90
|
-
"zustand": "5.0.12"
|
|
91
|
-
},
|
|
92
|
-
"devDependencies": {
|
|
93
|
-
"@babel/core": "7.29.0",
|
|
94
|
-
"@lingui/babel-plugin-lingui-macro": "5.9.4",
|
|
95
|
-
"@lingui/cli": "5.9.4",
|
|
96
|
-
"@lingui/format-po": "5.9.4",
|
|
97
|
-
"@lingui/vite-plugin": "5.9.4",
|
|
98
|
-
"@react-dev-inspector/babel-plugin": "2.1.0-beta.10",
|
|
99
|
-
"@react-dev-inspector/vite-plugin": "2.1.0-beta.10",
|
|
100
|
-
"@rolldown/plugin-babel": "0.2.2",
|
|
101
|
-
"@storybook-community/storybook-dark-mode": "7.1.1",
|
|
102
|
-
"@storybook/addon-docs": "10.3.4",
|
|
103
|
-
"@storybook/addon-links": "10.3.4",
|
|
104
|
-
"@storybook/react-vite": "10.3.4",
|
|
105
|
-
"@tanstack/router-plugin": "1.167.12",
|
|
106
|
-
"@types/node": "25.5.0",
|
|
107
|
-
"@types/react": "19.2.14",
|
|
108
|
-
"@types/react-dom": "19.2.3",
|
|
109
|
-
"@vitejs/plugin-react": "6.0.1",
|
|
110
|
-
"all-node-versions": "13.0.1",
|
|
111
|
-
"babel-plugin-react-compiler": "1.0.0",
|
|
112
|
-
"cross-env": "10.1.0",
|
|
113
|
-
"fast-glob": "3.3.3",
|
|
114
|
-
"husky": "9.1.7",
|
|
115
|
-
"knip": "6.3.0",
|
|
116
|
-
"lint-staged": "16.4.0",
|
|
117
|
-
"oxfmt": "0.43.0",
|
|
118
|
-
"oxlint": "1.58.0",
|
|
119
|
-
"picocolors": "1.1.1",
|
|
120
|
-
"postcss": "8.5.8",
|
|
121
|
-
"postcss-preset-mantine": "1.18.0",
|
|
122
|
-
"postcss-simple-vars": "7.0.1",
|
|
123
|
-
"react-dev-inspector": "2.1.0-beta.10",
|
|
124
|
-
"rollup-plugin-visualizer": "7.0.1",
|
|
125
|
-
"sass": "1.99.0",
|
|
126
|
-
"storybook": "10.3.4",
|
|
127
|
-
"tsx": "4.21.0",
|
|
128
|
-
"typescript": "6.0.2",
|
|
129
|
-
"vite": "8.0.3"
|
|
29
|
+
"./shadow": {
|
|
30
|
+
"import": {
|
|
31
|
+
"types": "./dist/types/shadow.d.mts",
|
|
32
|
+
"default": "./dist/shadow.mjs"
|
|
33
|
+
},
|
|
34
|
+
"require": {
|
|
35
|
+
"types": "./dist/types/shadow.d.ts",
|
|
36
|
+
"default": "./dist/shadow.cjs"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"./element": {
|
|
40
|
+
"import": {
|
|
41
|
+
"types": "./dist/types/element.d.mts",
|
|
42
|
+
"default": "./dist/element.mjs"
|
|
43
|
+
},
|
|
44
|
+
"require": {
|
|
45
|
+
"types": "./dist/types/element.d.ts",
|
|
46
|
+
"default": "./dist/element.cjs"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"./angular": {
|
|
50
|
+
"import": {
|
|
51
|
+
"types": "./dist/types/angular.d.mts",
|
|
52
|
+
"default": "./dist/angular.mjs"
|
|
53
|
+
},
|
|
54
|
+
"require": {
|
|
55
|
+
"types": "./dist/types/angular.d.ts",
|
|
56
|
+
"default": "./dist/angular.cjs"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"./events": {
|
|
60
|
+
"import": {
|
|
61
|
+
"types": "./dist/types/events.d.mts",
|
|
62
|
+
"default": "./dist/events.mjs"
|
|
63
|
+
},
|
|
64
|
+
"require": {
|
|
65
|
+
"types": "./dist/types/events.d.ts",
|
|
66
|
+
"default": "./dist/events.cjs"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"./style.css": "./dist/styles.css",
|
|
70
|
+
"./styles.css": "./dist/styles.css",
|
|
71
|
+
"./styles.layer.css": "./dist/styles.layer.css"
|
|
130
72
|
},
|
|
73
|
+
"sideEffects": [
|
|
74
|
+
"**/*.css"
|
|
75
|
+
],
|
|
131
76
|
"peerDependencies": {
|
|
132
|
-
"@
|
|
133
|
-
"
|
|
134
|
-
"
|
|
77
|
+
"@angular/core": ">=21.0.0",
|
|
78
|
+
"@mantine/core": ">=9.0.0",
|
|
79
|
+
"@mantine/hooks": ">=9.0.0",
|
|
80
|
+
"react": "^18.x || ^19.x",
|
|
81
|
+
"react-dom": "^18.x || ^19.x"
|
|
82
|
+
},
|
|
83
|
+
"peerDependenciesMeta": {
|
|
84
|
+
"@angular/core": {
|
|
85
|
+
"optional": true
|
|
86
|
+
}
|
|
135
87
|
},
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
|
|
88
|
+
"scripts": {
|
|
89
|
+
"build:workspace": "cd .. && bun run build",
|
|
90
|
+
"prepublishOnly": "bun run build:workspace",
|
|
91
|
+
"release:patch:clean": "npm version patch --workspaces=false && bun run build:workspace && npm publish --access public",
|
|
92
|
+
"release:patch:dirty": "npm version patch --no-git-tag-version --workspaces=false && bun run build:workspace && npm publish --access public"
|
|
93
|
+
}
|
|
141
94
|
}
|