@moveo-ai/web-client 0.127.0-true.47 → 0.127.0-true.49

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.
@@ -6,7 +6,7 @@
6
6
 
7
7
  /*!
8
8
  *
9
- * @moveo-ai/web-client v0.127.0-true.47
9
+ * @moveo-ai/web-client v0.127.0-true.49
10
10
  * Copyright (c) Moveo.ai (TM)
11
11
  *
12
12
  */
package/dist/index.html CHANGED
@@ -1 +1 @@
1
- <html lang=en><head><meta charset=UTF-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1"><meta name=robots content=noindex><base target=_blank><style>body{background-color:transparent;margin:0;overflow:hidden}.uai{display:none!important}</style><title>Widget</title></head><body><script>const queryString=window.location.search,urlParams=new URLSearchParams(queryString),widgetId=urlParams.get("widgetId"),script=document.createElement("script");script.src="iframe.min.js?1eac42258f126ec52386",script.onload=function(){widgetId?MoveoAI.init(widgetId).catch(e=>{console.error(e,`Error initializing ${widgetId} iframe`)}):console.error("Moveo Webchat is missing the widgetId")},document.head.appendChild(script);</script></body></html>
1
+ <html lang=en><head><meta charset=UTF-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1"><meta name=robots content=noindex><base target=_blank><style>body{background-color:transparent;margin:0;overflow:hidden}.uai{display:none!important}</style><title>Widget</title></head><body><script>const queryString=window.location.search,urlParams=new URLSearchParams(queryString),widgetId=urlParams.get("widgetId"),script=document.createElement("script");script.src="iframe.min.js?e063f23e7d4325f87b54",script.onload=function(){widgetId?MoveoAI.init(widgetId).catch(e=>{console.error(e,`Error initializing ${widgetId} iframe`)}):console.error("Moveo Webchat is missing the widgetId")},document.head.appendChild(script);</script></body></html>
@@ -1 +1 @@
1
- <!doctype html><head><meta charset=UTF-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1"><meta name=keywords content="Moveo.ai, Preview, WebChat, WebWidget, webclient, chatbot"><meta name=description content="Preview and Improve your AI Agent"><meta name=twitter:card value=summary><meta property=og:title content="Moveo.ai Webchat Preview"><meta property=og:type content=website><meta property=og:url content=https://moveo.ai><meta property=og:image content=https://web-client.moveo.ai/public/og-image.jpg><meta property=og:image:width content=1200><meta property=og:image:height content=630><meta property=og:description content="Preview and Improve your AI Agent"><title>Webchat Preview</title><style>@layer theme,base,components,utilities;body:before{background-image:url(/public/background.svg)}</style><script src=../preview.css.min.js?1eac42258f126ec52386></script></head><body><div class="flex flex-row flex-wrap justify-between p-[10%] pb-0 mobile:flex-col mobile:items-center mobile:p-0 mobile:pt-[75px]"><div class="w-[510px] mb-9 mobile:flex mobile:flex-col mobile:items-center mobile:w-auto mobile:min-w-0"><p class="mt-0 mb-6 text-[42px] leading-[51px] font-bold mobile:text-center mobile:text-[28px] mobile:leading-[34px]"><span class="colored text-preview-muted">Preview</span> and <span class="colored text-preview-muted">Test</span><br>your Webchat<p class="mb-9 text-2xl leading-[30px] font-normal mobile:text-center mobile:text-base mobile:leading-5 mobile:w-[280px]">Moveo.ai can help you build engaging conversational applications powered by Artificial Intelligence.<div class="flex flex-row justify-start"><button class="action_button hidden cursor-pointer" id=open-chat-button>Open Webchat</button> <button class="action_button hidden mobile:hidden cursor-pointer" id=close-chat-button>Close Webchat</button> <button class="action_button hidden cursor-pointer" id=render-chat-button>Render Webchat</button></div></div><div class="hidden box-border flex-initial w-[512px] h-[562px] min-w-[300px] mb-16 rounded-lg border-2 border-brand-background bg-white shadow-[2px_3px_6px_rgb(104_104_104/10%)] mobile:mx-[10%] mobile:w-4/5" id=embed-chat-container><p class="mt-[10%] mx-7 mb-0 text-base leading-6 text-center" id=embed-text>The webchat will render in the html element of your choice. Render the webchat here, in order to preview other settings.<div class="hidden w-full h-full" id=embed-chat></div></div></div><script>const queryString=window.location.search,urlParams=new URLSearchParams(queryString),webpackFiles="../iframe.min.js?1eac42258f126ec52386,../web-client.min.js?1eac42258f126ec52386,../continue.min.js?1eac42258f126ec52386,../preview.css.min.js?1eac42258f126ec52386,../audio-client.min.js?1eac42258f126ec52386,../webrtc-client.min.js?1eac42258f126ec52386,../telnyx-client.min.js?1eac42258f126ec52386".split(","),webClientFile=webpackFiles.find(e=>e.includes("web-client.min.js")),previewCssFile=webpackFiles.find(e=>e.includes("preview.css.min.js")),previewCssScript=document.createElement("script");previewCssScript.src=previewCssFile,document.head.appendChild(previewCssScript);const script=document.createElement("script");script.src=webClientFile,script.onload=function(){const e=urlParams.get("integrationId"),t=urlParams.get("host"),n=document.getElementById("embed-chat"),c=urlParams.get("_config");let i={};if(c)try{i=JSON.parse(atob(c))}catch(e){console.debug({error:e,encodedConfig:c},"Error parsing config")}MoveoAI.init({...i,integrationId:e,host:t,element:n}).then(e=>{if(console.log("Preview initialized",e),window.webClientInstance=e,"embed"===e.config.widget_position){document.getElementById("embed-chat-container").classList.remove("hidden");const e=document.getElementById("render-chat-button");e.classList.remove("hidden"),e.onclick=function(){document.getElementById("embed-text").classList.add("hidden"),document.getElementById("embed-chat").classList.remove("hidden"),e.style.removeProperty("background-color"),e.classList.remove("cursor-pointer"),e.classList.add("cursor-not-allowed"),e.disabled=!0}}else{const t=document.getElementById("open-chat-button");t.classList.remove("hidden"),t.onclick=function(){e.openWindow()};const n=document.getElementById("close-chat-button");n.classList.remove("hidden"),n.onclick=function(){e.closeWindow()}}const t=e?.config?.background_color??"#1B66D6",n=document.querySelectorAll("span.colored");for(const e of n)e.style.color=t;const c=document.querySelectorAll(".action_button");for(const e of c)e.style.backgroundColor=t}).catch(e=>{console.error(e,"Error initializing preview")})},document.head.appendChild(script);</script></body></html>
1
+ <!doctype html><head><meta charset=UTF-8><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1"><meta name=keywords content="Moveo.ai, Preview, WebChat, WebWidget, webclient, chatbot"><meta name=description content="Preview and Improve your AI Agent"><meta name=twitter:card value=summary><meta property=og:title content="Moveo.ai Webchat Preview"><meta property=og:type content=website><meta property=og:url content=https://moveo.ai><meta property=og:image content=https://web-client.moveo.ai/public/og-image.jpg><meta property=og:image:width content=1200><meta property=og:image:height content=630><meta property=og:description content="Preview and Improve your AI Agent"><title>Webchat Preview</title><style>@layer theme,base,components,utilities;body:before{background-image:url(/public/background.svg)}</style><script src=../preview.css.min.js?e063f23e7d4325f87b54></script></head><body><div class="flex flex-row flex-wrap justify-between p-[10%] pb-0 mobile:flex-col mobile:items-center mobile:p-0 mobile:pt-[75px]"><div class="w-[510px] mb-9 mobile:flex mobile:flex-col mobile:items-center mobile:w-auto mobile:min-w-0"><p class="mt-0 mb-6 text-[42px] leading-[51px] font-bold mobile:text-center mobile:text-[28px] mobile:leading-[34px]"><span class="colored text-preview-muted">Preview</span> and <span class="colored text-preview-muted">Test</span><br>your Webchat<p class="mb-9 text-2xl leading-[30px] font-normal mobile:text-center mobile:text-base mobile:leading-5 mobile:w-[280px]">Moveo.ai can help you build engaging conversational applications powered by Artificial Intelligence.<div class="flex flex-row justify-start"><button class="action_button hidden cursor-pointer" id=open-chat-button>Open Webchat</button> <button class="action_button hidden mobile:hidden cursor-pointer" id=close-chat-button>Close Webchat</button> <button class="action_button hidden cursor-pointer" id=render-chat-button>Render Webchat</button></div></div><div class="hidden box-border flex-initial w-[512px] h-[562px] min-w-[300px] mb-16 rounded-lg border-2 border-brand-background bg-white shadow-[2px_3px_6px_rgb(104_104_104/10%)] mobile:mx-[10%] mobile:w-4/5" id=embed-chat-container><p class="mt-[10%] mx-7 mb-0 text-base leading-6 text-center" id=embed-text>The webchat will render in the html element of your choice. Render the webchat here, in order to preview other settings.<div class="hidden w-full h-full" id=embed-chat></div></div></div><script>const queryString=window.location.search,urlParams=new URLSearchParams(queryString),webpackFiles="../iframe.min.js?e063f23e7d4325f87b54,../web-client.min.js?e063f23e7d4325f87b54,../continue.min.js?e063f23e7d4325f87b54,../preview.css.min.js?e063f23e7d4325f87b54,../audio-client.min.js?e063f23e7d4325f87b54,../webrtc-client.min.js?e063f23e7d4325f87b54,../telnyx-client.min.js?e063f23e7d4325f87b54".split(","),webClientFile=webpackFiles.find(e=>e.includes("web-client.min.js")),previewCssFile=webpackFiles.find(e=>e.includes("preview.css.min.js")),previewCssScript=document.createElement("script");previewCssScript.src=previewCssFile,document.head.appendChild(previewCssScript);const script=document.createElement("script");script.src=webClientFile,script.onload=function(){const e=urlParams.get("integrationId"),t=urlParams.get("host"),n=document.getElementById("embed-chat"),i=urlParams.get("_config");let o={};if(i)try{o=JSON.parse(atob(i))}catch(e){console.debug({error:e,encodedConfig:i},"Error parsing config")}MoveoAI.init({...o,integrationId:e,host:t,element:n}).then(e=>{if(console.log("Preview initialized",e),window.webClientInstance=e,"embed"===e.config.widget_position){document.getElementById("embed-chat-container").classList.remove("hidden");const e=document.getElementById("render-chat-button");e.classList.remove("hidden"),e.onclick=function(){document.getElementById("embed-text").classList.add("hidden"),document.getElementById("embed-chat").classList.remove("hidden"),e.style.removeProperty("background-color"),e.classList.remove("cursor-pointer"),e.classList.add("cursor-not-allowed"),e.disabled=!0}}else{const t=document.getElementById("open-chat-button");t.classList.remove("hidden"),t.onclick=function(){e.openWindow()};const n=document.getElementById("close-chat-button");n.classList.remove("hidden"),n.onclick=function(){e.closeWindow()}}const t=e?.config?.background_color??"#1B66D6",n=document.querySelectorAll("span.colored");for(const e of n)e.style.color=t;const i=document.querySelectorAll(".action_button");for(const e of i)e.style.backgroundColor=t}).catch(e=>{console.error(e,"Error initializing preview")})},document.head.appendChild(script);</script></body></html>
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @moveo-ai/web-client v0.127.0-true.47
3
+ * @moveo-ai/web-client v0.127.0-true.49
4
4
  * Copyright (c) Moveo.ai (TM)
5
5
  *
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @moveo-ai/web-client v0.127.0-true.47
3
+ * @moveo-ai/web-client v0.127.0-true.49
4
4
  * Copyright (c) Moveo.ai (TM)
5
5
  *
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @moveo-ai/web-client v0.127.0-true.47
3
+ * @moveo-ai/web-client v0.127.0-true.49
4
4
  * Copyright (c) Moveo.ai (TM)
5
5
  *
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @moveo-ai/web-client v0.127.0-true.47
3
+ * @moveo-ai/web-client v0.127.0-true.49
4
4
  * Copyright (c) Moveo.ai (TM)
5
5
  *
6
6
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moveo-ai/web-client",
3
- "version": "0.127.0-true.47",
3
+ "version": "0.127.0-true.49",
4
4
  "description": "Client side library to load the moveo chat widget and connect it with your agent",
5
5
  "main": "dist/web-client.min.js",
6
6
  "types": "web-client.d.ts",