botframework-webchat 4.18.1-main.20250320.abcd9e7 → 4.18.1-main.20250325.438c779
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/botframework-webchat.es5.js +1 -1
- package/dist/botframework-webchat.es5.mjs +1 -1
- package/dist/botframework-webchat.js +1 -1
- package/dist/botframework-webchat.minimal.js +1 -1
- package/dist/botframework-webchat.minimal.mjs +1 -1
- package/dist/botframework-webchat.mjs +1 -1
- package/dist/{chunk-6BLSIQDA.js → chunk-HDQNQTQT.js} +3 -3
- package/dist/{chunk-6BLSIQDA.js.map → chunk-HDQNQTQT.js.map} +1 -1
- package/dist/{chunk-J34F3LEU.js → chunk-QPGKDTXW.js} +17 -17
- package/dist/{chunk-J34F3LEU.js.map → chunk-QPGKDTXW.js.map} +1 -1
- package/dist/{chunk-C3KUCRYO.mjs → chunk-XBR5I2CK.mjs} +3 -3
- package/dist/{chunk-W7H4ZTHO.mjs → chunk-YSG4RZQH.mjs} +3 -3
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/metafile-iife.json +1 -1
- package/dist/webchat-es5.js +10 -10
- package/dist/webchat-minimal.js +4 -4
- package/dist/webchat.js +14 -14
- package/package.json +8 -8
- /package/dist/{chunk-6BLSIQDA.js.LEGAL.txt → chunk-HDQNQTQT.js.LEGAL.txt} +0 -0
- /package/dist/{chunk-C3KUCRYO.mjs.LEGAL.txt → chunk-QPGKDTXW.js.LEGAL.txt} +0 -0
- /package/dist/{chunk-J34F3LEU.js.LEGAL.txt → chunk-XBR5I2CK.mjs.LEGAL.txt} +0 -0
- /package/dist/{chunk-C3KUCRYO.mjs.map → chunk-XBR5I2CK.mjs.map} +0 -0
- /package/dist/{chunk-W7H4ZTHO.mjs.LEGAL.txt → chunk-YSG4RZQH.mjs.LEGAL.txt} +0 -0
- /package/dist/{chunk-W7H4ZTHO.mjs.map → chunk-YSG4RZQH.mjs.map} +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkQPGKDTXWjs = require('./chunk-QPGKDTXW.js');var _chunkHDQNQTQTjs = require('./chunk-HDQNQTQT.js');var E=Object.freeze({..._chunkHDQNQTQTjs.B,variant:"full-es5"}),B= exports.createDirectLine =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."),_chunkHDQNQTQTjs.j.call(void 0, {...e,botAgent:`WebChat/${_chunkHDQNQTQTjs.A} (ES5)`})),I= exports.createDirectLineAppServiceExtension =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."),_chunkHDQNQTQTjs.k.call(void 0, {...e,botAgent:`WebChat/${_chunkHDQNQTQTjs.A} (ES5)`}));exports.Components = _chunkQPGKDTXWjs.m; exports.Constants = _chunkHDQNQTQTjs.n; exports.ReactWebChat = _chunkQPGKDTXWjs.d; exports.buildInfo = E; exports.concatMiddleware = _chunkHDQNQTQTjs.u; exports.createAdaptiveCardsAttachmentForScreenReaderMiddleware = _chunkQPGKDTXWjs.a; exports.createAdaptiveCardsAttachmentMiddleware = _chunkQPGKDTXWjs.b; exports.createBrowserWebSpeechPonyfillFactory = _chunkHDQNQTQTjs.l; exports.createCognitiveServicesSpeechServicesPonyfillFactory = _chunkQPGKDTXWjs.e; exports.createDirectLine = B; exports.createDirectLineAppServiceExtension = I; exports.createDirectLineSpeechAdapters = _chunkQPGKDTXWjs.f; exports.createStore = _chunkHDQNQTQTjs.o; exports.createStoreWithDevTools = _chunkHDQNQTQTjs.p; exports.createStoreWithOptions = _chunkHDQNQTQTjs.q; exports.createStyleSet = _chunkQPGKDTXWjs.g; exports.decorator = _chunkHDQNQTQTjs.F; exports.hooks = _chunkQPGKDTXWjs.l; exports.internal = _chunkHDQNQTQTjs.r; exports.renderMarkdown = _chunkQPGKDTXWjs.c; exports.renderWebChat = _chunkQPGKDTXWjs.h; exports.testIds = _chunkHDQNQTQTjs.x; exports.version = _chunkHDQNQTQTjs.A; exports.withEmoji = _chunkHDQNQTQTjs.y;
|
|
2
2
|
/*! For license information please see botframework-webchat.es5.js.LEGAL.txt */
|
|
3
3
|
//# sourceMappingURL=botframework-webchat.es5.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{a,b as i,c as s,d as c,e as l,f as m,g as b,h as x,l as S,m as w}from"./chunk-
|
|
1
|
+
import{a,b as i,c as s,d as c,e as l,f as m,g as b,h as x,l as S,m as w}from"./chunk-XBR5I2CK.mjs";import{d as r,e as o,f,h as p,i as u,j as d,k as A,l as g,o as h,r as C,s as D,u as t,v as n,z as v}from"./chunk-YSG4RZQH.mjs";var E=Object.freeze({...n,variant:"full-es5"}),B=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."),r({...e,botAgent:`WebChat/${t} (ES5)`})),I=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."),o({...e,botAgent:`WebChat/${t} (ES5)`}));export{w as Components,p as Constants,c as ReactWebChat,E as buildInfo,h as concatMiddleware,a as createAdaptiveCardsAttachmentForScreenReaderMiddleware,i as createAdaptiveCardsAttachmentMiddleware,f as createBrowserWebSpeechPonyfillFactory,l as createCognitiveServicesSpeechServicesPonyfillFactory,B as createDirectLine,I as createDirectLineAppServiceExtension,m as createDirectLineSpeechAdapters,u as createStore,d as createStoreWithDevTools,A as createStoreWithOptions,b as createStyleSet,v as decorator,S as hooks,g as internal,s as renderMarkdown,x as renderWebChat,C as testIds,t as version,D as withEmoji};
|
|
2
2
|
/*! For license information please see botframework-webchat.es5.mjs.LEGAL.txt */
|
|
3
3
|
//# sourceMappingURL=botframework-webchat.es5.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkQPGKDTXWjs = require('./chunk-QPGKDTXW.js');var _chunkHDQNQTQTjs = require('./chunk-HDQNQTQT.js');exports.Components = _chunkQPGKDTXWjs.m; exports.Constants = _chunkHDQNQTQTjs.n; exports.ReactWebChat = _chunkQPGKDTXWjs.d; exports.buildInfo = _chunkQPGKDTXWjs.i; exports.concatMiddleware = _chunkHDQNQTQTjs.u; exports.createAdaptiveCardsAttachmentForScreenReaderMiddleware = _chunkQPGKDTXWjs.a; exports.createAdaptiveCardsAttachmentMiddleware = _chunkQPGKDTXWjs.b; exports.createBrowserWebSpeechPonyfillFactory = _chunkHDQNQTQTjs.l; exports.createCognitiveServicesSpeechServicesPonyfillFactory = _chunkQPGKDTXWjs.e; exports.createDirectLine = _chunkQPGKDTXWjs.j; exports.createDirectLineAppServiceExtension = _chunkQPGKDTXWjs.k; exports.createDirectLineSpeechAdapters = _chunkQPGKDTXWjs.f; exports.createStore = _chunkHDQNQTQTjs.o; exports.createStoreWithDevTools = _chunkHDQNQTQTjs.p; exports.createStoreWithOptions = _chunkHDQNQTQTjs.q; exports.createStyleSet = _chunkQPGKDTXWjs.g; exports.decorator = _chunkHDQNQTQTjs.F; exports.default = _chunkQPGKDTXWjs.n; exports.hooks = _chunkQPGKDTXWjs.l; exports.internal = _chunkHDQNQTQTjs.r; exports.renderMarkdown = _chunkQPGKDTXWjs.c; exports.renderWebChat = _chunkQPGKDTXWjs.h; exports.testIds = _chunkHDQNQTQTjs.x; exports.version = _chunkHDQNQTQTjs.A; exports.withEmoji = _chunkHDQNQTQTjs.y;
|
|
2
2
|
/*! For license information please see botframework-webchat.js.LEGAL.txt */
|
|
3
3
|
//# sourceMappingURL=botframework-webchat.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkHDQNQTQTjs = require('./chunk-HDQNQTQT.js');exports.Components = _chunkHDQNQTQTjs.t; exports.Constants = _chunkHDQNQTQTjs.n; exports.ReactWebChat = _chunkHDQNQTQTjs.s; exports.buildInfo = _chunkHDQNQTQTjs.B; exports.concatMiddleware = _chunkHDQNQTQTjs.u; exports.createBrowserWebSpeechPonyfillFactory = _chunkHDQNQTQTjs.l; exports.createDirectLine = _chunkHDQNQTQTjs.C; exports.createDirectLineAppServiceExtension = _chunkHDQNQTQTjs.D; exports.createStore = _chunkHDQNQTQTjs.o; exports.createStoreWithDevTools = _chunkHDQNQTQTjs.p; exports.createStoreWithOptions = _chunkHDQNQTQTjs.q; exports.createStyleSet = _chunkHDQNQTQTjs.v; exports.decorator = _chunkHDQNQTQTjs.F; exports.default = _chunkHDQNQTQTjs.E; exports.hooks = _chunkHDQNQTQTjs.w; exports.internal = _chunkHDQNQTQTjs.r; exports.renderWebChat = _chunkHDQNQTQTjs.z; exports.testIds = _chunkHDQNQTQTjs.x; exports.version = _chunkHDQNQTQTjs.A; exports.withEmoji = _chunkHDQNQTQTjs.y;
|
|
2
2
|
/*! For license information please see botframework-webchat.minimal.js.LEGAL.txt */
|
|
3
3
|
//# sourceMappingURL=botframework-webchat.minimal.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{f as a,h as b,i as c,j as d,k as e,l as f,m as g,n as h,o as i,p as j,q as k,r as l,s as m,t as n,u as o,v as p,w as q,x as r,y as s,z as t}from"./chunk-
|
|
1
|
+
import{f as a,h as b,i as c,j as d,k as e,l as f,m as g,n as h,o as i,p as j,q as k,r as l,s as m,t as n,u as o,v as p,w as q,x as r,y as s,z as t}from"./chunk-YSG4RZQH.mjs";export{h as Components,b as Constants,g as ReactWebChat,p as buildInfo,i as concatMiddleware,a as createBrowserWebSpeechPonyfillFactory,q as createDirectLine,r as createDirectLineAppServiceExtension,c as createStore,d as createStoreWithDevTools,e as createStoreWithOptions,j as createStyleSet,t as decorator,s as default,k as hooks,f as internal,n as renderWebChat,l as testIds,o as version,m as withEmoji};
|
|
2
2
|
/*! For license information please see botframework-webchat.minimal.mjs.LEGAL.txt */
|
|
3
3
|
//# sourceMappingURL=botframework-webchat.minimal.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h as s,i as t,j as u,k as v,l as w,m as x,n as y}from"./chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h as s,i as t,j as u,k as v,l as w,m as x,n as y}from"./chunk-XBR5I2CK.mjs";import{f as h,h as i,i as j,j as k,k as l,l as m,o as n,r as o,s as p,u as q,z as r}from"./chunk-YSG4RZQH.mjs";export{x as Components,i as Constants,d as ReactWebChat,t as buildInfo,n as concatMiddleware,a as createAdaptiveCardsAttachmentForScreenReaderMiddleware,b as createAdaptiveCardsAttachmentMiddleware,h as createBrowserWebSpeechPonyfillFactory,e as createCognitiveServicesSpeechServicesPonyfillFactory,u as createDirectLine,v as createDirectLineAppServiceExtension,f as createDirectLineSpeechAdapters,j as createStore,k as createStoreWithDevTools,l as createStoreWithOptions,g as createStyleSet,r as decorator,y as default,w as hooks,m as internal,c as renderMarkdown,s as renderWebChat,o as testIds,q as version,p as withEmoji};
|
|
2
2
|
/*! For license information please see botframework-webchat.mjs.LEGAL.txt */
|
|
3
3
|
//# sourceMappingURL=botframework-webchat.mjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var x=Object.create;var i=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var O=Object.getOwnPropertyNames;var h=Object.getPrototypeOf,P=Object.prototype.hasOwnProperty;var R=Reflect.get;var f=e=>{throw TypeError(e)};var T=(e,t,o)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var z=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),$= exports.b =(e,t)=>{for(var o in t)i(e,o,{get:t[o],enumerable:!0})},E=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of O(t))!P.call(e,n)&&n!==o&&i(e,n,{get:()=>t[n],enumerable:!(r=k(t,n))||r.enumerable});return e};var H=(e,t,o)=>(o=e!=null?x(h(e)):{},E(t||!e||!e.__esModule?i(o,"default",{value:e,enumerable:!0}):o,e));var q=(e,t,o)=>T(e,typeof t!="symbol"?t+"":t,o),a=(e,t,o)=>t.has(e)||f("Cannot "+o);var J=(e,t,o)=>(a(e,t,"read from private field"),o?o.call(e):t.get(e)),K= exports.f =(e,t,o)=>t.has(e)?f("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o),N= exports.g =(e,t,o,r)=>(a(e,t,"write to private field"),r?r.call(e,o):t.set(e,o),o),Q= exports.h =(e,t,o)=>(a(e,t,"access private method"),o);var V=(e,t,o)=>R(h(e),o,t);var _decorator = require('botframework-webchat-api/decorator'); var _ = _interopRequireWildcard(_decorator);var _decorator2 = require('botframework-webchat-component/decorator');var _botframeworkwebchatcore = require('botframework-webchat-core');var _internal = require('botframework-webchat-component/internal'); var fe = _interopRequireWildcard(_internal);var _botframeworkwebchatcomponent = require('botframework-webchat-component'); var _botframeworkwebchatcomponent2 = _interopRequireDefault(_botframeworkwebchatcomponent);function b(){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})}var _botframeworkdirectlinejs = require('botframework-directlinejs');function s({botAgent:e,conversationId:t,conversationStartProperties:o,domain:r,fetch:n,pollingInterval:S,secret:w,streamUrl:y,token:g,watermark:u,webSocket:C}){return new (0, _botframeworkdirectlinejs.DirectLine)({botAgent:e,conversationId:t,conversationStartProperties:o,domain:r,fetch:n,pollingInterval:S,secret:w,streamUrl:y,token:g,watermark:u,webSocket:C,createFormData:W=>{let l=new FormData;return W.forEach(({contentType:D,data:v,filename:A,name:L})=>{l.append(L,new Blob(v,{type:D}),A)}),l}})}function c({botAgent:e,conversationId:t,domain:o,token:r}){return Promise.resolve(new (0, _botframeworkdirectlinejs.DirectLineStreaming)({botAgent:e,conversationId:t,domain:o,token:r}))}var _react = require('react'); var _react2 = _interopRequireDefault(_react);var _reactdom = require('react-dom'); var _reactdom2 = _interopRequireDefault(_reactdom);function p(e,t,o){_reactdom2.default.render(_react2.default.createElement(e,{...t}),o)}var Ae=p.bind(null,_botframeworkwebchatcomponent2.default),G="tsup",U="esmodules",m= exports.A ="4.18.1-main.
|
|
2
|
-
/*! For license information please see chunk-
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var x=Object.create;var i=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var O=Object.getOwnPropertyNames;var h=Object.getPrototypeOf,P=Object.prototype.hasOwnProperty;var R=Reflect.get;var f=e=>{throw TypeError(e)};var T=(e,t,o)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var z=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),$= exports.b =(e,t)=>{for(var o in t)i(e,o,{get:t[o],enumerable:!0})},E=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of O(t))!P.call(e,n)&&n!==o&&i(e,n,{get:()=>t[n],enumerable:!(r=k(t,n))||r.enumerable});return e};var H=(e,t,o)=>(o=e!=null?x(h(e)):{},E(t||!e||!e.__esModule?i(o,"default",{value:e,enumerable:!0}):o,e));var q=(e,t,o)=>T(e,typeof t!="symbol"?t+"":t,o),a=(e,t,o)=>t.has(e)||f("Cannot "+o);var J=(e,t,o)=>(a(e,t,"read from private field"),o?o.call(e):t.get(e)),K= exports.f =(e,t,o)=>t.has(e)?f("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,o),N= exports.g =(e,t,o,r)=>(a(e,t,"write to private field"),r?r.call(e,o):t.set(e,o),o),Q= exports.h =(e,t,o)=>(a(e,t,"access private method"),o);var V=(e,t,o)=>R(h(e),o,t);var _decorator = require('botframework-webchat-api/decorator'); var _ = _interopRequireWildcard(_decorator);var _decorator2 = require('botframework-webchat-component/decorator');var _botframeworkwebchatcore = require('botframework-webchat-core');var _internal = require('botframework-webchat-component/internal'); var fe = _interopRequireWildcard(_internal);var _botframeworkwebchatcomponent = require('botframework-webchat-component'); var _botframeworkwebchatcomponent2 = _interopRequireDefault(_botframeworkwebchatcomponent);function b(){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})}var _botframeworkdirectlinejs = require('botframework-directlinejs');function s({botAgent:e,conversationId:t,conversationStartProperties:o,domain:r,fetch:n,pollingInterval:S,secret:w,streamUrl:y,token:g,watermark:u,webSocket:C}){return new (0, _botframeworkdirectlinejs.DirectLine)({botAgent:e,conversationId:t,conversationStartProperties:o,domain:r,fetch:n,pollingInterval:S,secret:w,streamUrl:y,token:g,watermark:u,webSocket:C,createFormData:W=>{let l=new FormData;return W.forEach(({contentType:D,data:v,filename:A,name:L})=>{l.append(L,new Blob(v,{type:D}),A)}),l}})}function c({botAgent:e,conversationId:t,domain:o,token:r}){return Promise.resolve(new (0, _botframeworkdirectlinejs.DirectLineStreaming)({botAgent:e,conversationId:t,domain:o,token:r}))}var _react = require('react'); var _react2 = _interopRequireDefault(_react);var _reactdom = require('react-dom'); var _reactdom2 = _interopRequireDefault(_reactdom);function p(e,t,o){_reactdom2.default.render(_react2.default.createElement(e,{...t}),o)}var Ae=p.bind(null,_botframeworkwebchatcomponent2.default),G="tsup",U="esmodules",m= exports.A ="4.18.1-main.20250325.438c779",Le= exports.B =Object.freeze({buildTool:G,moduleFormat:U,variant:"minimal",version:m}),xe= exports.C =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/${m} (Minimal)`})),ke= exports.D =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."),c({...e,botAgent:`WebChat/${m} (Minimal)`})),Oe= exports.E =_botframeworkwebchatcomponent2.default,Pe= exports.F =Object.freeze({..._,WebChatDecorator:_decorator2.WebChatDecorator});exports.a = z; exports.b = $; exports.c = H; exports.d = q; exports.e = J; exports.f = K; exports.g = N; exports.h = Q; exports.i = V; exports.j = s; exports.k = c; exports.l = b; exports.m = p; exports.n = _botframeworkwebchatcore.Constants; exports.o = _botframeworkwebchatcore.createStore; exports.p = _botframeworkwebchatcore.createStoreWithDevTools; exports.q = _botframeworkwebchatcore.createStoreWithOptions; exports.r = fe; exports.s = _botframeworkwebchatcomponent2.default; exports.t = _botframeworkwebchatcomponent.Components; exports.u = _botframeworkwebchatcomponent.concatMiddleware; exports.v = _botframeworkwebchatcomponent.createStyleSet; exports.w = _botframeworkwebchatcomponent.hooks; exports.x = _botframeworkwebchatcomponent.testIds; exports.y = _botframeworkwebchatcomponent.withEmoji; exports.z = Ae; exports.A = m; exports.B = Le; exports.C = xe; exports.D = ke; exports.E = Oe; exports.F = Pe;
|
|
2
|
+
/*! For license information please see chunk-HDQNQTQT.js.LEGAL.txt */
|
|
3
|
+
//# sourceMappingURL=chunk-HDQNQTQT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/__w/1/s/BotFramework-WebChat/packages/bundle/dist/chunk-6BLSIQDA.js","../src/module/exports-minimal.ts","../src/createBrowserWebSpeechPonyfillFactory.ts","../src/createDirectLine.ts","../src/createDirectLineAppServiceExtension.ts","../src/renderWebChat.tsx"],"names":["createBrowserWebSpeechPonyfillFactory","createDirectLine","botAgent","conversationId","conversationStartProperties","domain","fetch","pollingInterval","secret","streamUrl","token","watermark","webSocket","DirectLine","attachments","formData","contentType","data","filename","name","createDirectLineAppServiceExtension","DirectLineStreaming","renderWebChat","ReactWebChat","props","element","ReactDOM","React","buildTool","moduleFormat","version","buildInfo","options","exports_minimal_default","decorator","apiDecorator","WebChatDecorator"],"mappings":"AAAA,+bAAI,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,M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/bundle/dist/chunk-6BLSIQDA.js","sourcesContent":[null,"import { StrictStyleOptions, StyleOptions } from 'botframework-webchat-api';\nimport * as apiDecorator from 'botframework-webchat-api/decorator';\nimport { WebChatDecorator } from 'botframework-webchat-component/decorator';\nimport { Constants, createStore, createStoreWithDevTools, createStoreWithOptions } from 'botframework-webchat-core';\nimport * as internal from 'botframework-webchat-component/internal';\n\nimport ReactWebChat, {\n Components,\n concatMiddleware,\n createStyleSet,\n hooks,\n testIds,\n withEmoji\n} from 'botframework-webchat-component';\n\nimport createBrowserWebSpeechPonyfillFactory from '../createBrowserWebSpeechPonyfillFactory';\nimport defaultCreateDirectLine from '../createDirectLine';\nimport defaultCreateDirectLineAppServiceExtension from '../createDirectLineAppServiceExtension';\nimport coreRenderWebChat from '../renderWebChat';\n\nconst renderWebChat = coreRenderWebChat.bind(null, ReactWebChat);\n\nconst buildTool = process.env.build_tool;\nconst moduleFormat = process.env.module_format;\nconst version = process.env.npm_package_version;\n\nconst buildInfo = Object.freeze({\n buildTool,\n moduleFormat,\n variant: 'minimal',\n version\n});\n\nexport const createDirectLine = (options: Omit<Parameters<typeof defaultCreateDirectLine>[0], 'botAgent'>) => {\n (options as any).botAgent &&\n console.warn(\n 'Web Chat: Developers are not currently allowed to set botAgent. See https://github.com/microsoft/BotFramework-WebChat/issues/2119 for more details.'\n );\n\n return defaultCreateDirectLine({ ...options, botAgent: `WebChat/${version} (Minimal)` });\n};\n\nexport const createDirectLineAppServiceExtension = (\n options: Omit<Parameters<typeof defaultCreateDirectLineAppServiceExtension>[0], 'botAgent'>\n) => {\n (options as any).botAgent &&\n console.warn(\n 'Web Chat: Developers are not currently allowed to set botAgent. See https://github.com/microsoft/BotFramework-WebChat/issues/2119 for more details.'\n );\n\n return defaultCreateDirectLineAppServiceExtension({ ...options, botAgent: `WebChat/${version} (Minimal)` });\n};\n\nexport default ReactWebChat;\n\nconst decorator = Object.freeze({\n ...apiDecorator,\n WebChatDecorator\n});\n\nexport {\n buildInfo,\n Components,\n concatMiddleware,\n Constants,\n createBrowserWebSpeechPonyfillFactory,\n createStore,\n createStoreWithDevTools,\n createStoreWithOptions,\n createStyleSet,\n decorator,\n hooks,\n internal,\n ReactWebChat,\n renderWebChat,\n testIds,\n version,\n withEmoji\n};\n\nexport type { StrictStyleOptions, StyleOptions };\n","import { WebSpeechPonyfill } from 'botframework-webchat-api';\n\nexport default function createBrowserWebSpeechPonyfillFactory(): () => WebSpeechPonyfill {\n if (!window.SpeechRecognition && !window.webkitSpeechRecognition) {\n console.warn('Web Chat: This browser does not support Web Speech API Speech Recognition.');\n }\n\n if (!window.speechSynthesis) {\n console.warn('Web Chat: This browser does not support Web Speech API Speech Synthesis.');\n }\n\n return () => ({\n SpeechGrammarList: window.SpeechGrammarList || window.webkitSpeechGrammarList,\n SpeechRecognition: window.SpeechRecognition || window.webkitSpeechRecognition,\n speechSynthesis: window.speechSynthesis,\n SpeechSynthesisUtterance: window.SpeechSynthesisUtterance\n });\n}\n","import { DirectLine } from 'botframework-directlinejs';\n\ntype CreateDirectLineOptions = {\n botAgent?: string;\n conversationId?: string;\n conversationStartProperties?: any;\n domain?: string;\n fetch?: typeof window.fetch;\n pollingInterval?: number;\n secret?: string;\n streamUrl?: string;\n token?: string;\n watermark?: string;\n webSocket?: typeof WebSocket;\n};\n\nexport default function createDirectLine({\n botAgent,\n conversationId,\n conversationStartProperties,\n domain,\n fetch,\n pollingInterval,\n secret,\n streamUrl,\n token,\n watermark,\n webSocket\n}: CreateDirectLineOptions) {\n // TODO: [P3] Checks if DLJS supports ponyfilling fetch.\n return new DirectLine({\n botAgent,\n conversationId,\n conversationStartProperties,\n domain,\n fetch,\n pollingInterval,\n secret,\n streamUrl,\n token,\n watermark,\n webSocket,\n createFormData: attachments => {\n const formData = new FormData();\n\n attachments.forEach(\n ({\n contentType,\n data,\n filename,\n name\n }: {\n contentType?: string;\n data: BlobPart[];\n filename?: string;\n name?: string;\n }) => {\n formData.append(name, new Blob(data, { type: contentType }), filename);\n }\n );\n\n return formData;\n }\n } as any);\n}\n","import { DirectLineStreaming } from 'botframework-directlinejs';\n\nexport default function createDirectLineAppServiceExtension({\n botAgent,\n conversationId,\n domain,\n token\n}: {\n botAgent?: string;\n conversationId?: string;\n domain?: string;\n token: string;\n}): Promise<any> {\n return Promise.resolve(\n new DirectLineStreaming({\n botAgent,\n conversationId,\n domain,\n token\n })\n );\n}\n","import React, { ComponentType } from 'react';\nimport ReactDOM from 'react-dom';\n\nexport default function renderWebChat(ReactWebChat: ComponentType<any>, props: any, element: HTMLElement): void {\n ReactDOM.render(<ReactWebChat {...props} />, element);\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["/__w/1/s/BotFramework-WebChat/packages/bundle/dist/chunk-HDQNQTQT.js","../src/module/exports-minimal.ts","../src/createBrowserWebSpeechPonyfillFactory.ts","../src/createDirectLine.ts","../src/createDirectLineAppServiceExtension.ts","../src/renderWebChat.tsx"],"names":["createBrowserWebSpeechPonyfillFactory","createDirectLine","botAgent","conversationId","conversationStartProperties","domain","fetch","pollingInterval","secret","streamUrl","token","watermark","webSocket","DirectLine","attachments","formData","contentType","data","filename","name","createDirectLineAppServiceExtension","DirectLineStreaming","renderWebChat","ReactWebChat","props","element","ReactDOM","React","buildTool","moduleFormat","version","buildInfo","options","exports_minimal_default","decorator","apiDecorator","WebChatDecorator"],"mappings":"AAAA,+bAAI,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI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ictStyleOptions, StyleOptions } from 'botframework-webchat-api';\nimport * as apiDecorator from 'botframework-webchat-api/decorator';\nimport { WebChatDecorator } from 'botframework-webchat-component/decorator';\nimport { Constants, createStore, createStoreWithDevTools, createStoreWithOptions } from 'botframework-webchat-core';\nimport * as internal from 'botframework-webchat-component/internal';\n\nimport ReactWebChat, {\n Components,\n concatMiddleware,\n createStyleSet,\n hooks,\n testIds,\n withEmoji\n} from 'botframework-webchat-component';\n\nimport createBrowserWebSpeechPonyfillFactory from '../createBrowserWebSpeechPonyfillFactory';\nimport defaultCreateDirectLine from '../createDirectLine';\nimport defaultCreateDirectLineAppServiceExtension from '../createDirectLineAppServiceExtension';\nimport coreRenderWebChat from '../renderWebChat';\n\nconst renderWebChat = coreRenderWebChat.bind(null, ReactWebChat);\n\nconst buildTool = process.env.build_tool;\nconst moduleFormat = process.env.module_format;\nconst version = process.env.npm_package_version;\n\nconst buildInfo = Object.freeze({\n buildTool,\n moduleFormat,\n variant: 'minimal',\n version\n});\n\nexport const createDirectLine = (options: Omit<Parameters<typeof defaultCreateDirectLine>[0], 'botAgent'>) => {\n (options as any).botAgent &&\n console.warn(\n 'Web Chat: Developers are not currently allowed to set botAgent. See https://github.com/microsoft/BotFramework-WebChat/issues/2119 for more details.'\n );\n\n return defaultCreateDirectLine({ ...options, botAgent: `WebChat/${version} (Minimal)` });\n};\n\nexport const createDirectLineAppServiceExtension = (\n options: Omit<Parameters<typeof defaultCreateDirectLineAppServiceExtension>[0], 'botAgent'>\n) => {\n (options as any).botAgent &&\n console.warn(\n 'Web Chat: Developers are not currently allowed to set botAgent. See https://github.com/microsoft/BotFramework-WebChat/issues/2119 for more details.'\n );\n\n return defaultCreateDirectLineAppServiceExtension({ ...options, botAgent: `WebChat/${version} (Minimal)` });\n};\n\nexport default ReactWebChat;\n\nconst decorator = Object.freeze({\n ...apiDecorator,\n WebChatDecorator\n});\n\nexport {\n buildInfo,\n Components,\n concatMiddleware,\n Constants,\n createBrowserWebSpeechPonyfillFactory,\n createStore,\n createStoreWithDevTools,\n createStoreWithOptions,\n createStyleSet,\n decorator,\n hooks,\n internal,\n ReactWebChat,\n renderWebChat,\n testIds,\n version,\n withEmoji\n};\n\nexport type { StrictStyleOptions, StyleOptions };\n","import { WebSpeechPonyfill } from 'botframework-webchat-api';\n\nexport default function createBrowserWebSpeechPonyfillFactory(): () => WebSpeechPonyfill {\n if (!window.SpeechRecognition && !window.webkitSpeechRecognition) {\n console.warn('Web Chat: This browser does not support Web Speech API Speech Recognition.');\n }\n\n if (!window.speechSynthesis) {\n console.warn('Web Chat: This browser does not support Web Speech API Speech Synthesis.');\n }\n\n return () => ({\n SpeechGrammarList: window.SpeechGrammarList || window.webkitSpeechGrammarList,\n SpeechRecognition: window.SpeechRecognition || window.webkitSpeechRecognition,\n speechSynthesis: window.speechSynthesis,\n SpeechSynthesisUtterance: window.SpeechSynthesisUtterance\n });\n}\n","import { DirectLine } from 'botframework-directlinejs';\n\ntype CreateDirectLineOptions = {\n botAgent?: string;\n conversationId?: string;\n conversationStartProperties?: any;\n domain?: string;\n fetch?: typeof window.fetch;\n pollingInterval?: number;\n secret?: string;\n streamUrl?: string;\n token?: string;\n watermark?: string;\n webSocket?: typeof WebSocket;\n};\n\nexport default function createDirectLine({\n botAgent,\n conversationId,\n conversationStartProperties,\n domain,\n fetch,\n pollingInterval,\n secret,\n streamUrl,\n token,\n watermark,\n webSocket\n}: CreateDirectLineOptions) {\n // TODO: [P3] Checks if DLJS supports ponyfilling fetch.\n return new DirectLine({\n botAgent,\n conversationId,\n conversationStartProperties,\n domain,\n fetch,\n pollingInterval,\n secret,\n streamUrl,\n token,\n watermark,\n webSocket,\n createFormData: attachments => {\n const formData = new FormData();\n\n attachments.forEach(\n ({\n contentType,\n data,\n filename,\n name\n }: {\n contentType?: string;\n data: BlobPart[];\n filename?: string;\n name?: string;\n }) => {\n formData.append(name, new Blob(data, { type: contentType }), filename);\n }\n );\n\n return formData;\n }\n } as any);\n}\n","import { DirectLineStreaming } from 'botframework-directlinejs';\n\nexport default function createDirectLineAppServiceExtension({\n botAgent,\n conversationId,\n domain,\n token\n}: {\n botAgent?: string;\n conversationId?: string;\n domain?: string;\n token: string;\n}): Promise<any> {\n return Promise.resolve(\n new DirectLineStreaming({\n botAgent,\n conversationId,\n domain,\n token\n })\n );\n}\n","import React, { ComponentType } from 'react';\nimport ReactDOM from 'react-dom';\n\nexport default function renderWebChat(ReactWebChat: ComponentType<any>, props: any, element: HTMLElement): void {\n ReactDOM.render(<ReactWebChat {...props} />, element);\n}\n"]}
|