botframework-webchat 4.18.1-main.20250312.706dcd7 → 4.18.1-main.20250313.cd86ef9

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.
@@ -1,3 +0,0 @@
1
- var v=Object.create;var i=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var L=Object.getOwnPropertyNames;var x=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var _=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,o)=>(typeof require<"u"?require:t)[o]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var j=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),G=(e,t)=>{for(var o in t)i(e,o,{get:t[o],enumerable:!0})},O=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of L(t))!k.call(e,r)&&r!==o&&i(e,r,{get:()=>t[r],enumerable:!(n=A(t,r))||n.enumerable});return e};var U=(e,t,o)=>(o=e!=null?v(x(e)):{},O(t||!e||!e.__esModule?i(o,"default",{value:e,enumerable:!0}):o,e));import*as F from"botframework-webchat-api/decorator";import{WebChatDecorator as I}from"botframework-webchat-component/decorator";import{Constants as ee,createStore as te,createStoreWithDevTools as oe,createStoreWithOptions as re}from"botframework-webchat-core";import*as ne from"botframework-webchat-component/internal";import h,{Components as ae,concatMiddleware as se,createStyleSet as ce,hooks as pe,testIds as me,withEmoji as le}from"botframework-webchat-component";function l(){return!window.SpeechRecognition&&!window.webkitSpeechRecognition&&console.warn("Web Chat: This browser does not support Web Speech API Speech Recognition."),window.speechSynthesis||console.warn("Web Chat: This browser does not support Web Speech API Speech Synthesis."),()=>({SpeechGrammarList:window.SpeechGrammarList||window.webkitSpeechGrammarList,SpeechRecognition:window.SpeechRecognition||window.webkitSpeechRecognition,speechSynthesis:window.speechSynthesis,SpeechSynthesisUtterance:window.SpeechSynthesisUtterance})}import{DirectLine as P}from"botframework-directlinejs";function a({botAgent:e,conversationId:t,conversationStartProperties:o,domain:n,fetch:r,pollingInterval:f,secret:b,streamUrl:d,token:S,watermark:w,webSocket:y}){return new P({botAgent:e,conversationId:t,conversationStartProperties:o,domain:n,fetch:r,pollingInterval:f,secret:b,streamUrl:d,token:S,watermark:w,webSocket:y,createFormData:g=>{let m=new FormData;return g.forEach(({contentType:u,data:C,filename:W,name:D})=>{m.append(D,new Blob(C,{type:u}),W)}),m}})}import{DirectLineStreaming as R}from"botframework-directlinejs";function s({botAgent:e,conversationId:t,domain:o,token:n}){return Promise.resolve(new R({botAgent:e,conversationId:t,domain:o,token:n}))}import T from"react";import E from"react-dom";function c(e,t,o){E.render(T.createElement(e,{...t}),o)}var Se=c.bind(null,h),B="tsup",M="esmodules",p="4.18.1-main.20250312.706dcd7",we=Object.freeze({buildTool:B,moduleFormat:M,variant:"minimal",version:p}),ye=e=>(e.botAgent&&console.warn("Web Chat: Developers are not currently allowed to set botAgent. See https://github.com/microsoft/BotFramework-WebChat/issues/2119 for more details."),a({...e,botAgent:`WebChat/${p} (Minimal)`})),ge=e=>(e.botAgent&&console.warn("Web Chat: Developers are not currently allowed to set botAgent. See https://github.com/microsoft/BotFramework-WebChat/issues/2119 for more details."),s({...e,botAgent:`WebChat/${p} (Minimal)`})),ue=h,Ce=Object.freeze({...F,WebChatDecorator:I});export{_ as a,j as b,G as c,U as d,a as e,s as f,l as g,c as h,ee as i,te as j,oe as k,re as l,ne as m,h as n,ae as o,se as p,ce as q,pe as r,me as s,le as t,Se as u,p as v,we as w,ye as x,ge as y,ue as z,Ce as A};
2
- /*! For license information please see chunk-EN5RF5BD.mjs.LEGAL.txt */
3
- //# sourceMappingURL=chunk-EN5RF5BD.mjs.map