@epam/ai-dial-overlay
Advanced tools
Comparing version
@@ -5,5 +5,5 @@ { | ||
"homepage": "https://epam-rail.com", | ||
"version": "0.7.0-rc.9", | ||
"version": "0.7.0-rc.10", | ||
"dependencies": { | ||
"@epam/ai-dial-shared": "0.7.0-rc.9" | ||
"@epam/ai-dial-shared": "0.7.0-rc.10" | ||
}, | ||
@@ -10,0 +10,0 @@ "type": "module", |
export * from './lib/ChatOverlay'; | ||
export * from './lib/ChatOverlayManager'; | ||
export { Feature } from '@epam/ai-dial-shared'; | ||
export { Feature, type ChatOverlayOptions } from '@epam/ai-dial-shared'; |
import { DeferredRequest } from './utils/DeferredRequest'; | ||
import { Task } from './utils/Task'; | ||
import { Styles } from './utils/styleUtils'; | ||
import { Feature, OverlayRequest } from '@epam/ai-dial-shared'; | ||
export interface ChatOverlayOptions { | ||
domain: string; | ||
hostDomain: string; | ||
theme?: string; | ||
modelId?: string; | ||
enabledFeatures?: Feature[]; | ||
requestTimeout?: number; | ||
loaderStyles?: Styles; | ||
loaderClass?: string; | ||
} | ||
import { ChatOverlayOptions, OverlayRequest, Styles } from '@epam/ai-dial-shared'; | ||
interface Subscription { | ||
@@ -16,0 +5,0 @@ eventType: string; |
@@ -1,2 +0,3 @@ | ||
import { ChatOverlay, ChatOverlayOptions } from './ChatOverlay'; | ||
import { ChatOverlay } from './ChatOverlay'; | ||
import { ChatOverlayOptions } from '@epam/ai-dial-shared'; | ||
export type OverlayPosition = 'left-bottom' | 'left-top' | 'right-bottom' | 'right-top'; | ||
@@ -3,0 +4,0 @@ export interface Position { |
@@ -1,4 +0,2 @@ | ||
export type Styles = { | ||
[property in keyof CSSStyleDeclaration]?: string; | ||
}; | ||
import { Styles } from '@epam/ai-dial-shared'; | ||
/** | ||
@@ -5,0 +3,0 @@ * Add styles to the html element |
57911
-0.4%954
-1.24%+ Added
- Removed