@staylift-tech/conv-widget 0.0.7 → 0.0.9
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 +8 -2
- package/dist/cjs/staylift-widget.cjs.js +1 -1
- package/dist/collection/components/staylift-widget/staylift-widget.js +28 -2
- package/dist/components/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/staylift-widget.entry.js +8 -2
- package/dist/esm/staylift-widget.js +1 -1
- package/dist/staylift-widget/{p-2656bb5a.entry.js → p-9f1eab0f.entry.js} +1 -1
- package/dist/staylift-widget/staylift-widget.esm.js +1 -1
- package/dist/types/components/staylift-widget/staylift-widget.d.ts +1 -0
- package/dist/types/components.d.ts +8 -0
- 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 a}from"./p-DQuL1Twl.js";(()=>{const e=import.meta.url,a={};return""!==e&&(a.resourcesUrl=new URL(".",e).href),t(a)})().then((async t=>(await a(),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 a}from"./p-DQuL1Twl.js";(()=>{const e=import.meta.url,a={};return""!==e&&(a.resourcesUrl=new URL(".",e).href),t(a)})().then((async t=>(await a(),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-9f1eab0f",[[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],startConversation:[64],endConversation:[64],getStatus:[64],sendMessage:[64]}]]]],t))));
|
|
@@ -59,6 +59,10 @@ export namespace Components {
|
|
|
59
59
|
* @default 'dark'
|
|
60
60
|
*/
|
|
61
61
|
"mode": WidgetMode;
|
|
62
|
+
/**
|
|
63
|
+
* @default false
|
|
64
|
+
*/
|
|
65
|
+
"onlyText": boolean;
|
|
62
66
|
/**
|
|
63
67
|
* @default 'right'
|
|
64
68
|
*/
|
|
@@ -177,6 +181,10 @@ declare namespace LocalJSX {
|
|
|
177
181
|
"onMessageReceived"?: (event: StayliftWidgetCustomEvent<ChatMessage>) => void;
|
|
178
182
|
"onStatusChanged"?: (event: StayliftWidgetCustomEvent<WidgetStatus>) => void;
|
|
179
183
|
"onWidgetError"?: (event: StayliftWidgetCustomEvent<{ message: string; code?: string }>) => void;
|
|
184
|
+
/**
|
|
185
|
+
* @default false
|
|
186
|
+
*/
|
|
187
|
+
"onlyText"?: boolean;
|
|
180
188
|
/**
|
|
181
189
|
* @default 'right'
|
|
182
190
|
*/
|