@staylift-tech/conv-widget 0.0.12 → 0.0.16
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/cjs/loader.cjs.js +1 -1
- package/dist/cjs/staylift-widget.cjs.entry.js +6 -34
- package/dist/cjs/staylift-widget.cjs.js +1 -1
- package/dist/collection/components/staylift-widget/staylift-widget.css +4 -1
- package/dist/collection/components/staylift-widget/staylift-widget.js +7 -36
- package/dist/components/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/staylift-widget.entry.js +6 -34
- package/dist/esm/staylift-widget.js +1 -1
- package/dist/staylift-widget/{p-39df3b2a.entry.js → p-def24482.entry.js} +1 -1
- package/dist/staylift-widget/staylift-widget.esm.js +1 -1
- package/dist/types/components/staylift-widget/staylift-widget.d.ts +0 -3
- package/dist/types/components.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,b as e}from"./p-DAtfDq5B.js";export{s as setNonce}from"./p-DAtfDq5B.js";import{g as o}from"./p-DQuL1Twl.js";(()=>{const e=import.meta.url,o={};return""!==e&&(o.resourcesUrl=new URL(".",e).href),t(o)})().then((async t=>(await o(),e([["p-37510f2e",[[1,"staylift-orb",{inputVolume:[2,"input-volume"],outputVolume:[2,"output-volume"],isActive:[4,"is-active"],primaryColor:[1,"primary-color"],size:[8],animationFrame:[32]}]]],["p-
|
|
1
|
+
import{p as t,b as e}from"./p-DAtfDq5B.js";export{s as setNonce}from"./p-DAtfDq5B.js";import{g as o}from"./p-DQuL1Twl.js";(()=>{const e=import.meta.url,o={};return""!==e&&(o.resourcesUrl=new URL(".",e).href),t(o)})().then((async t=>(await o(),e([["p-37510f2e",[[1,"staylift-orb",{inputVolume:[2,"input-volume"],outputVolume:[2,"output-volume"],isActive:[4,"is-active"],primaryColor:[1,"primary-color"],size:[8],animationFrame:[32]}]]],["p-def24482",[[1,"staylift-widget",{agentId:[1,"agent-id"],textAgentId:[1,"text-agent-id"],voiceAgentId:[1,"voice-agent-id"],positionX:[1,"position-x"],positionY:[1,"position-y"],variant:[1],mode:[1],primaryColor:[1,"primary-color"],brandName:[1,"brand-name"],language:[1],autoExpand:[4,"auto-expand"],showBranding:[4,"show-branding"],onlyText:[4,"only-text"],avatarUrl:[1,"avatar-url"],fabPrompt:[1,"fab-prompt"],fabButtonText:[1,"fab-button-text"],status:[32],isExpanded:[32],termsAccepted:[32],errorMessage:[32],inputVolume:[32],outputVolume:[32],messages:[32],inputText:[32],copiedIndex:[32],selectedMode:[32],offerIndexes:[32],startConversation:[64],endConversation:[64],getStatus:[64],sendMessage:[64]}]]]],t))));
|
|
@@ -45,9 +45,6 @@ export declare class StayliftWidget {
|
|
|
45
45
|
copiedIndex: number | null;
|
|
46
46
|
selectedMode: ConversationMode;
|
|
47
47
|
offerIndexes: Record<number, number>;
|
|
48
|
-
pinnedOffers: OfferCard[] | null;
|
|
49
|
-
private pinnedOfferIndex;
|
|
50
|
-
private pinnedMessagesRemaining;
|
|
51
48
|
conversationStarted: EventEmitter<void>;
|
|
52
49
|
conversationEnded: EventEmitter<void>;
|
|
53
50
|
widgetError: EventEmitter<{
|
|
@@ -60,7 +60,7 @@ export namespace Components {
|
|
|
60
60
|
*/
|
|
61
61
|
"mode": WidgetMode;
|
|
62
62
|
/**
|
|
63
|
-
* @default
|
|
63
|
+
* @default true
|
|
64
64
|
*/
|
|
65
65
|
"onlyText": boolean;
|
|
66
66
|
/**
|
|
@@ -182,7 +182,7 @@ declare namespace LocalJSX {
|
|
|
182
182
|
"onStatusChanged"?: (event: StayliftWidgetCustomEvent<WidgetStatus>) => void;
|
|
183
183
|
"onWidgetError"?: (event: StayliftWidgetCustomEvent<{ message: string; code?: string }>) => void;
|
|
184
184
|
/**
|
|
185
|
-
* @default
|
|
185
|
+
* @default true
|
|
186
186
|
*/
|
|
187
187
|
"onlyText"?: boolean;
|
|
188
188
|
/**
|