@cimulate/copilot-widget 1.53.0 → 1.53.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -2
- package/dist/cimulate-copilot-widget.d.ts +5 -0
- package/dist/cimulate-copilot-widget.es.js +259 -234
- package/dist/cimulate-copilot-widget.umd.js +13 -13
- package/dist/copilot.es.js +263 -238
- package/dist/copilot.umd.js +13 -13
- package/dist/messaging.d.ts +5 -0
- package/dist/messaging.es.js +7082 -6983
- package/dist/messaging.umd.js +29 -29
- package/package.json +1 -1
package/dist/messaging.d.ts
CHANGED
|
@@ -537,6 +537,10 @@ export declare function getAuthLinkKey(): Promise<string>;
|
|
|
537
537
|
|
|
538
538
|
export declare function getPageContext(): PageContext | null;
|
|
539
539
|
|
|
540
|
+
export declare type HeaderActionName = "close" | "toggleExpanded" | "toggleFullscreen" | "toggleDialogPosition" | "minimize" | "clearChat" | "endConversation" | "downloadTranscript";
|
|
541
|
+
|
|
542
|
+
export declare type HeaderActionsConfig = Partial<Record<HeaderActionName, boolean>>;
|
|
543
|
+
|
|
540
544
|
declare interface HeaderConfig {
|
|
541
545
|
logoUrl?: string;
|
|
542
546
|
headerText?: string;
|
|
@@ -547,6 +551,7 @@ declare interface HeaderConfig {
|
|
|
547
551
|
headerTextFontFamily?: string;
|
|
548
552
|
headerTextTextAlign?: "left" | "center" | "right";
|
|
549
553
|
closeButtonAriaLabel?: string;
|
|
554
|
+
actions?: HeaderActionsConfig;
|
|
550
555
|
}
|
|
551
556
|
|
|
552
557
|
declare type ImageAttachmentPayload = {
|