yxspeechrecognition 1.4.9 → 1.5.1
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/YxSpeechRecognition.common.js +181 -49
- package/YxSpeechRecognition.common.js.map +1 -1
- package/YxSpeechRecognition.umd.js +181 -49
- package/YxSpeechRecognition.umd.js.map +1 -1
- package/YxSpeechRecognition.umd.min.js +2 -2
- package/YxSpeechRecognition.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -117,27 +117,6 @@ module.exports = function (cssWithMappingToString) {
|
|
|
117
117
|
"use strict";
|
|
118
118
|
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADyHTlpAAAByFBMVEUAAACPyf+z2f+z2v+nzv/R6Pzb7/3j6vjM5f3s9Pyj0v232f/e7Pqm1P7H4v3A4P2y2P6f0P7D4f7F4/7F4/2s1f7J5P+Ryf/V6vzl8fuo1P693v2m0/7s9fu73f7C4f3g8Pzc7fym0//L5f2Uy//s9Pva7Pzj8PvL5f2p1f/o8vu22/7s9fzD4fzP5/3q8/uu1/7Y6/2Wy/+l0v+02f3I4/zr9PrJ5Pyn1P/M5/+z2P7r8/vI4/uVzP+czv/q9f2Syv2p1P/m8fyVyP+o1/+y4f+Wy//M5vydz/7e7fyv1/3e7vyTyf+QyP+q1f6Qyf/G4v242/242/6h0P6Zzf6p0/6u1v6l0v/B4P6y2f6bzv+Vyv7T6PzT6vyQyf+k0v/B4P3I5f2Syf+02f3m8vvm8vvB4P2czv2Px//M5P3P5/2z2/zI4fmQw//Q5/2s1v7M5fyw2P2/3/263f242/222v3T6PzY6/zV6vzB4P2i0f6f0P6dz/7o8/zc7fyZzf+bzv6z2f2k0v7K5Pze7vuUyv+Xy/7G4v3I4/zh7/um0/7D4fyo1P7j8PvZ7Pu93f3l8fuSyf6Syf+93v283v3a7PzD4f2p1f5WYUP6AAAAbnRSTlMA+UoFCC8kB+/tkko1Jfr47uvUsIVjNPz7+/r5+Pjt7Orq5ePY1c/PzLW1sK6smJiTjYyIgYCAXlJKQD8/PjYwMC8uJRYQ+/rz8/Ly7uzo5NzW1dDQzMm9vby7trW0rqadmpiTjYyDg4B8a1sqHqwtFkwAAAHmSURBVDjLjc6FV9tQGAXwy5KmAvVS3N3dYQybu7u7VOZsY1vHNhjMOjr4d3kv0nyhJM0v57y8e993XgIj58RwZ5O7qsrd1Dk84YS56R73EuHumcbuZtuXcrTPIpfzbtnfXZTdy/kNqeWXiRYJBkW1P0zVFhkmD321cITMSnUfLdVJUDmb/zO/c7BS7ZtFKPre5NUHmaP0bV6lDnBXX9twTb40Zgu/tjuWUB6Gd3KI8UibRDcguNTyQCQ61pqgXI8dIw3ZIGByWfUIwELDMjEG4KlPS5MYWlVJYG6t6lzgWrU4hPCKKgqma0XnE8Gc1GIYoXVVWACivs1NvlfWCICRdU0INYuaUOSmf9Hg4v0uPdTA/9wmPyo2Nv6oMhm+194Zhu+08wpUv7CpGqde2nQaHa9s6sBgigg82cMUFirrnRQ1iPEkk0olZZdAeeVOOx+HEEjqDgsgipNEQAB640QxiPP0pJd/Jpu2tuLH58mlcWoGTNtP4twCVKPltG8D561cI+pHwc171qjyGcgGvhjU3xjwXKg0dh4oxOC7PM6IUHneWwt6oXnwwdLBvci6/NlKkExOfbJydg5ZYuN3c/v7Rej6v5m7sg/EXEk6/Y9Jy/heS0dvs0Hq2YmCnUoKjjVefzglwGAbp2FhRMz/ntsAAAAASUVORK5CYII=";
|
|
119
119
|
|
|
120
|
-
/***/ }),
|
|
121
|
-
|
|
122
|
-
/***/ 443:
|
|
123
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
124
|
-
|
|
125
|
-
"use strict";
|
|
126
|
-
__webpack_require__.r(__webpack_exports__);
|
|
127
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
|
|
128
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
129
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
|
|
130
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
131
|
-
// Imports
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
135
|
-
// Module
|
|
136
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .icon[data-v-6903df1c]{position:absolute;right:calc(var(--656241ea)*81.43);top:calc(var(--656241ea)*6.67);pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .box[data-v-6903df1c] ::-webkit-scrollbar{width:0;height:0;display:none;background:transparent}.yx-speech-recognition .box[data-v-6903df1c]{display:grid;grid-template-rows:max-content 1fr;position:absolute;left:calc(var(--656241ea)*81.38);top:calc(var(--656241ea)*17.43);pointer-events:all;background:rgba(2,11,72,.6);border-radius:calc(var(--656241ea)*.57);z-index:20}.yx-speech-recognition .box .title[data-v-6903df1c]{display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(var(--656241ea)*2.29);padding:0 calc(var(--656241ea)*.76);box-sizing:border-box;background:linear-gradient(270deg,rgba(0,126,245,.94),rgba(54,141,253,.75) 70%,rgba(60,125,255,.51));border-radius:calc(var(--656241ea)*.57) calc(var(--656241ea)*.57) 0 0}.yx-speech-recognition .box .title-icon[data-v-6903df1c]{display:flex;align-items:center;gap:calc(var(--656241ea)*.38)}.yx-speech-recognition .box .title-icon img[data-v-6903df1c]{width:calc(var(--656241ea)*1);height:calc(var(--656241ea)*1)}.yx-speech-recognition .box .title-icon span[data-v-6903df1c]{font-size:calc(var(--656241ea)*1.14);font-weight:800;color:#fff}.yx-speech-recognition .box .title .close[data-v-6903df1c]{cursor:pointer}.yx-speech-recognition .box .title .close img[data-v-6903df1c]{width:calc(var(--656241ea)*1.1)}.yx-speech-recognition .box .content[data-v-6903df1c]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:url(http://10.99.16.155:8995/mysb/l/main/app/assets/png/icon9-pl26do__.png) no-repeat center 35%;color:#fff}.yx-speech-recognition .box .content span[data-v-6903df1c]{margin-top:calc(var(--656241ea)*7.5);font-size:calc(var(--656241ea)*1)}.yx-speech-recognition .box .message-list[data-v-6903df1c]{overflow:hidden;padding:calc(var(--656241ea)*.58);box-sizing:border-box;padding-right:calc(var(--656241ea)*.29)}.yx-speech-recognition .box .message-list-inner[data-v-6903df1c]{height:100%;display:flex;flex-direction:column;gap:calc(var(--656241ea)*.53);overflow-y:overlay}.yx-speech-recognition .displayAssistant[data-v-6903df1c]{position:absolute;right:calc(var(--656241ea)*74.17);top:calc(var(--656241ea)*3.19);pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .displayAssistant .icon1[data-v-6903df1c]{width:calc(var(--656241ea)*3.76);height:calc(var(--656241ea)*3.88)}.yx-speech-recognition .displayAssistant .icon1 img[data-v-6903df1c]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox[data-v-6903df1c]{position:absolute;top:0;left:calc(var(--656241ea)*3.76)}.yx-speech-recognition .displayAssistant .bubbleBox span[data-v-6903df1c]{display:block;max-width:calc(var(--656241ea)*19.21);font-size:calc(var(--656241ea)*1);color:#fff;padding:calc(var(--656241ea)*.38);box-sizing:border-box}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-6903df1c]{position:fixed;background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--656241ea)*.57) 0 #d4d9ff;border-radius:calc(var(--656241ea)*.27);margin-left:calc(var(--656241ea)*.49);word-break:break-all}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-6903df1c]:after,.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-6903df1c]:before{content:\"\";display:block;position:absolute}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-6903df1c]:before{border-top:calc(var(--656241ea)*.25) solid transparent;border-bottom:calc(var(--656241ea)*.25) solid transparent;border-right:calc(var(--656241ea)*.5) solid rgba(70,61,255,.85);transform:translateX(calc(var(--656241ea)*-.46));left:0;top:calc(var(--656241ea)*.48)}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-6903df1c]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--656241ea)*.57) 0 #fff3b4}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-6903df1c]:before{border-right:calc(var(--656241ea)*.5) solid transparent}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-6903df1c]:after{border-top:calc(var(--656241ea)*.25) solid transparent;border-bottom:calc(var(--656241ea)*.25) solid transparent;border-right:calc(var(--656241ea)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--656241ea)*-.46));left:0;top:calc(var(--656241ea)*.48)}", ""]);
|
|
137
|
-
// Exports
|
|
138
|
-
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
139
|
-
|
|
140
|
-
|
|
141
120
|
/***/ }),
|
|
142
121
|
|
|
143
122
|
/***/ 459:
|
|
@@ -406,6 +385,27 @@ function applyToTag (styleElement, obj) {
|
|
|
406
385
|
}
|
|
407
386
|
|
|
408
387
|
|
|
388
|
+
/***/ }),
|
|
389
|
+
|
|
390
|
+
/***/ 500:
|
|
391
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
392
|
+
|
|
393
|
+
"use strict";
|
|
394
|
+
__webpack_require__.r(__webpack_exports__);
|
|
395
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
|
|
396
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
397
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
|
|
398
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
399
|
+
// Imports
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
403
|
+
// Module
|
|
404
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .icon[data-v-2d7ca1c4]{position:absolute;right:calc(var(--4e5d5650)*81.43);top:calc(var(--4e5d5650)*6.67);pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .box[data-v-2d7ca1c4] ::-webkit-scrollbar{width:0;height:0;display:none;background:transparent}.yx-speech-recognition .box[data-v-2d7ca1c4]{display:grid;grid-template-rows:max-content 1fr;position:absolute;pointer-events:all;background:rgba(2,11,72,.6);border-radius:calc(var(--4e5d5650)*.57);z-index:20}.yx-speech-recognition .box .title[data-v-2d7ca1c4]{display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(var(--4e5d5650)*2.29);padding:0 calc(var(--4e5d5650)*.76);box-sizing:border-box;background:linear-gradient(270deg,rgba(0,126,245,.94),rgba(54,141,253,.75) 70%,rgba(60,125,255,.51));border-radius:calc(var(--4e5d5650)*.57) calc(var(--4e5d5650)*.57) 0 0}.yx-speech-recognition .box .title-icon[data-v-2d7ca1c4]{display:flex;align-items:center;gap:calc(var(--4e5d5650)*.38)}.yx-speech-recognition .box .title-icon img[data-v-2d7ca1c4]{width:calc(var(--4e5d5650)*1);height:calc(var(--4e5d5650)*1)}.yx-speech-recognition .box .title-icon span[data-v-2d7ca1c4]{font-size:calc(var(--4e5d5650)*1.14);font-weight:800;color:#fff}.yx-speech-recognition .box .title .close[data-v-2d7ca1c4]{cursor:pointer}.yx-speech-recognition .box .title .close img[data-v-2d7ca1c4]{width:calc(var(--4e5d5650)*1.1)}.yx-speech-recognition .box .content[data-v-2d7ca1c4]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:url(http://10.99.16.155:8995/mysb/l/main/app/assets/png/icon9-pl26do__.png) no-repeat center 35%;color:#fff}.yx-speech-recognition .box .content span[data-v-2d7ca1c4]{margin-top:calc(var(--4e5d5650)*7.5);font-size:calc(var(--4e5d5650)*1)}.yx-speech-recognition .box .message-list[data-v-2d7ca1c4]{overflow:hidden;padding:calc(var(--4e5d5650)*.58);box-sizing:border-box;padding-right:calc(var(--4e5d5650)*.29)}.yx-speech-recognition .box .message-list-inner[data-v-2d7ca1c4]{height:100%;display:flex;flex-direction:column;gap:calc(var(--4e5d5650)*.53);overflow-y:overlay;white-space:pre-line}.yx-speech-recognition .displayAssistant[data-v-2d7ca1c4]{position:absolute;pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .displayAssistant .icon1[data-v-2d7ca1c4]{width:calc(var(--4e5d5650)*3.76);height:calc(var(--4e5d5650)*3.88)}.yx-speech-recognition .displayAssistant .icon1 img[data-v-2d7ca1c4]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox[data-v-2d7ca1c4]{position:absolute;top:0;left:calc(var(--4e5d5650)*3.76)}.yx-speech-recognition .displayAssistant .bubbleBox span[data-v-2d7ca1c4]{display:block;max-width:calc(var(--4e5d5650)*19.21);font-size:calc(var(--4e5d5650)*1);color:#fff;padding:calc(var(--4e5d5650)*.38);box-sizing:border-box}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-2d7ca1c4]{position:fixed;background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--4e5d5650)*.57) 0 #d4d9ff;border-radius:calc(var(--4e5d5650)*.27);margin-left:calc(var(--4e5d5650)*.49);word-break:break-all;white-space:pre-line}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-2d7ca1c4]:after,.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-2d7ca1c4]:before{content:\"\";display:block;position:absolute}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-2d7ca1c4]:before{border-top:calc(var(--4e5d5650)*.25) solid transparent;border-bottom:calc(var(--4e5d5650)*.25) solid transparent;border-right:calc(var(--4e5d5650)*.5) solid rgba(70,61,255,.85);transform:translateX(calc(var(--4e5d5650)*-.46));left:0;top:calc(var(--4e5d5650)*.48)}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-2d7ca1c4]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--4e5d5650)*.57) 0 #fff3b4}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-2d7ca1c4]:before{border-right:calc(var(--4e5d5650)*.5) solid transparent}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-2d7ca1c4]:after{border-top:calc(var(--4e5d5650)*.25) solid transparent;border-bottom:calc(var(--4e5d5650)*.25) solid transparent;border-right:calc(var(--4e5d5650)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--4e5d5650)*-.46));left:0;top:calc(var(--4e5d5650)*.48)}", ""]);
|
|
405
|
+
// Exports
|
|
406
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
407
|
+
|
|
408
|
+
|
|
409
409
|
/***/ }),
|
|
410
410
|
|
|
411
411
|
/***/ 571:
|
|
@@ -734,6 +734,22 @@ window && (window.CryptoJSTest = CryptoJS);
|
|
|
734
734
|
|
|
735
735
|
/***/ }),
|
|
736
736
|
|
|
737
|
+
/***/ 746:
|
|
738
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
739
|
+
|
|
740
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
741
|
+
|
|
742
|
+
// load the styles
|
|
743
|
+
var content = __webpack_require__(500);
|
|
744
|
+
if(content.__esModule) content = content.default;
|
|
745
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
746
|
+
if(content.locals) module.exports = content.locals;
|
|
747
|
+
// add the styles to the DOM
|
|
748
|
+
var add = (__webpack_require__(459)/* ["default"] */ .A)
|
|
749
|
+
var update = add("355b71eb", content, true, {"sourceMap":false,"shadowMode":false});
|
|
750
|
+
|
|
751
|
+
/***/ }),
|
|
752
|
+
|
|
737
753
|
/***/ 780:
|
|
738
754
|
/***/ (function(module) {
|
|
739
755
|
|
|
@@ -748,22 +764,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABX
|
|
|
748
764
|
"use strict";
|
|
749
765
|
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAMAAABGS8AGAAAC+lBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////J4P8UW7f41rtWRjJ2rf/////+/v9QlKHbwKLX6P/4+//M4v/r8//8/f/2+v/o8f/e7P/c6//b6v/P5P/9/f7K4P7T5v8bYbvI3/9+sv9tXkz6/P/h7f/U5v8kaMNaSjfv9f/t9f/N4v+Muv91rP5zq/331boXXbn107iQvf/C2/5upvpxqflpovbx2MUfZL8YXrrdwqRfUD9cTTmz0v+hx//H3v3h6vb38u7V3e6YvOuQtulFhNszdc5Phcuqt8hDfcgubcAiZbtZmrmgqbZhn6qHt//4+/z09/vM3/vp8fiwzvVln/Jgmu/Y5+tZlerZ3ehXkue7zuZNi+Fqmtqzw9lmotjk2tdilNZhkc+hxszs2csqbsg9eMYpasDn07/21r6Ds7zvzrTszLCdpLDnyK2ZoKrkxqlamqaXnaXbwKPHq5LCpY21m4VwaGCHclxsWkZYSDSmyv+XwP94r//l7/6tzv78+vjN3vjF2/i40/jn7vfb5fRwqvNmoPPn8PLT4PGgwu+/0+65zumzyujT5OdSj+Wow+SmweRppeKbueCVtd/g2959p95vntvw5Nc/f9d6otZynNPo2dKwvtJtmdJsmNI5etJWjNFoltBLg8pfnsczcsTz18LRyMIhZbzy0bZyqLPhyLFSlqjfxadUlqPOsZeEg4R9e3iiiXGSgW9sZFppX1O71v6awv681vquzvqixffD2PWDtfXv8PSryvOgwe690Optp+rc3OJ/qeHz6uDy6uC4yeDE29+91tt+sdpSi9jb1NVvqNRbkNOmyM8vccqMucGJtr/ey7zAvLzizbZ4rLbpzLVZma/Xw67hwajbvKLHsqCKjI+ulH2qkHmbg2yGd2hybGSQeWN0YUxjV0l5KC0lAAAAInRSTlMA7sIrBvr46+Pf3dzJxa+onZOIgHx3bWVeXFFQKSMgBdLRppE8rQAABtJJREFUWMOk1jlvGlEUhuGBeF8xGLBZvBxd9I00ww4yhcFiKSwqFyBZSkXj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";
|
|
750
766
|
|
|
751
|
-
/***/ }),
|
|
752
|
-
|
|
753
|
-
/***/ 849:
|
|
754
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
755
|
-
|
|
756
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
757
|
-
|
|
758
|
-
// load the styles
|
|
759
|
-
var content = __webpack_require__(443);
|
|
760
|
-
if(content.__esModule) content = content.default;
|
|
761
|
-
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
762
|
-
if(content.locals) module.exports = content.locals;
|
|
763
|
-
// add the styles to the DOM
|
|
764
|
-
var add = (__webpack_require__(459)/* ["default"] */ .A)
|
|
765
|
-
var update = add("2102cd90", content, true, {"sourceMap":false,"shadowMode":false});
|
|
766
|
-
|
|
767
767
|
/***/ })
|
|
768
768
|
|
|
769
769
|
/******/ });
|
|
@@ -880,7 +880,7 @@ if (typeof window !== 'undefined') {
|
|
|
880
880
|
// Indicate to webpack that this file can be concatenated
|
|
881
881
|
/* harmony default export */ var setPublicPath = (null);
|
|
882
882
|
|
|
883
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=template&id=
|
|
883
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=template&id=2d7ca1c4&scoped=true
|
|
884
884
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
885
885
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
886
886
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -893,12 +893,16 @@ var render = function render() {
|
|
|
893
893
|
return _c('div', {
|
|
894
894
|
staticClass: "yx-speech-recognition"
|
|
895
895
|
}, [_vm.boxShow ? _c('div', {
|
|
896
|
+
directives: [{
|
|
897
|
+
name: "Drag",
|
|
898
|
+
rawName: "v-Drag"
|
|
899
|
+
}],
|
|
896
900
|
staticClass: "box",
|
|
897
|
-
style: _objectSpread(_objectSpread({}, _vm.
|
|
901
|
+
style: _objectSpread(_objectSpread({}, _vm.windowStyle), _vm.boxSize)
|
|
898
902
|
}, [_c('div', {
|
|
899
|
-
staticClass: "title"
|
|
903
|
+
staticClass: "title drag-header"
|
|
900
904
|
}, [_vm._m(0), _c('span', {
|
|
901
|
-
staticClass: "iconfont icon-close close",
|
|
905
|
+
staticClass: "iconfont icon-close close closeBtn",
|
|
902
906
|
on: {
|
|
903
907
|
"click": _vm.closeClick
|
|
904
908
|
}
|
|
@@ -957,7 +961,7 @@ var staticRenderFns = [function () {
|
|
|
957
961
|
}), _c('span', [_vm._v("小安助手")])]);
|
|
958
962
|
}];
|
|
959
963
|
|
|
960
|
-
;// ./package/SpeechRecognition/index.vue?vue&type=template&id=
|
|
964
|
+
;// ./package/SpeechRecognition/index.vue?vue&type=template&id=2d7ca1c4&scoped=true
|
|
961
965
|
|
|
962
966
|
// EXTERNAL MODULE: ./package/SpeechRecognition/utils/speech/cryptojs.js
|
|
963
967
|
var cryptojs = __webpack_require__(672);
|
|
@@ -1219,7 +1223,7 @@ var NewCredential = /*#__PURE__*/function () {
|
|
|
1219
1223
|
key: "formatSignString",
|
|
1220
1224
|
value: function formatSignString(params) {
|
|
1221
1225
|
var strParam = '';
|
|
1222
|
-
var signStr = '10.97.36.102:9090/realtime_asr_ws_private';
|
|
1226
|
+
var signStr = 'ws://10.97.36.102:9090/realtime_asr_ws_private';
|
|
1223
1227
|
// let signStr = 'asr.cloud.tencent.com/asr/v2/'
|
|
1224
1228
|
// let signStr = "aiasr.baoan.gov.cn:9191/realtime_asr_ws_private";
|
|
1225
1229
|
if (this.config['appid']) {
|
|
@@ -1454,7 +1458,7 @@ var SpeechRecognizer = /*#__PURE__*/function () {
|
|
|
1454
1458
|
break;
|
|
1455
1459
|
}
|
|
1456
1460
|
// const wsUrl = `${servicepath}?${urlParams.toString()}`;
|
|
1457
|
-
this.socket = new WebSocket("
|
|
1461
|
+
this.socket = new WebSocket("".concat(url));
|
|
1458
1462
|
// this.socket = new WebSocket('ws://10.97.36.102:9090/realtime_asr_ws_private')
|
|
1459
1463
|
// this.socket = new _WebSocket(servicepath,
|
|
1460
1464
|
// {
|
|
@@ -16515,6 +16519,118 @@ var onQuit = function onQuit(opt) {
|
|
|
16515
16519
|
// }
|
|
16516
16520
|
|
|
16517
16521
|
// export { wakeUpState, wakeUpState as default }
|
|
16522
|
+
;// ./package/SpeechRecognition/directive/drag.js
|
|
16523
|
+
function drag_typeof(o) { "@babel/helpers - typeof"; return drag_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, drag_typeof(o); }
|
|
16524
|
+
var Drag = {
|
|
16525
|
+
bind: function bind(el, binding, vnode) {
|
|
16526
|
+
var dragDom = el.querySelector('.drag-box') || el;
|
|
16527
|
+
var dragHeaderEl = el.querySelector('.drag-header') || el.querySelector('.header');
|
|
16528
|
+
if (!dragHeaderEl) {
|
|
16529
|
+
console.warn('未找到拖拽头部元素');
|
|
16530
|
+
return;
|
|
16531
|
+
}
|
|
16532
|
+
var boxWidth = dragDom.style.width.replace('px', '');
|
|
16533
|
+
var boxHeight = dragDom.style.height.replace('px', '');
|
|
16534
|
+
var isDragging = false;
|
|
16535
|
+
var startX = 0,
|
|
16536
|
+
startY = 0,
|
|
16537
|
+
initialLeft = 0,
|
|
16538
|
+
initialTop = 0;
|
|
16539
|
+
var vm = vnode.context;
|
|
16540
|
+
var startDrag = function startDrag(e) {
|
|
16541
|
+
// 鼠标按下,计算当前元素距离可视区的距离 (鼠标点击位置距离可视窗口的距离)
|
|
16542
|
+
if (e.target.closest('.closeBtn')) return;
|
|
16543
|
+
if (e.button != 0) return;
|
|
16544
|
+
isDragging = true;
|
|
16545
|
+
|
|
16546
|
+
// 获取当前实际位置
|
|
16547
|
+
var rect = dragDom.getBoundingClientRect();
|
|
16548
|
+
// const containerRect = dragDom.parentElement.getBoundingClientRect()
|
|
16549
|
+
|
|
16550
|
+
initialLeft = rect.left;
|
|
16551
|
+
initialTop = rect.top;
|
|
16552
|
+
// initialLeft = rect.left - containerRect.left
|
|
16553
|
+
// initialTop = rect.top - containerRect.top
|
|
16554
|
+
|
|
16555
|
+
startX = e.clientX;
|
|
16556
|
+
startY = e.clientY;
|
|
16557
|
+
dragDom.classList.add('dragging');
|
|
16558
|
+
document.addEventListener('mousemove', onDrag);
|
|
16559
|
+
document.addEventListener('mouseup', _stopDrag);
|
|
16560
|
+
e.preventDefault();
|
|
16561
|
+
e.stopPropagation();
|
|
16562
|
+
};
|
|
16563
|
+
var onDrag = function onDrag(e) {
|
|
16564
|
+
if (!isDragging) return;
|
|
16565
|
+
var deltaX = e.clientX - startX;
|
|
16566
|
+
var deltaY = e.clientY - startY;
|
|
16567
|
+
var maxX = window.innerWidth - boxWidth;
|
|
16568
|
+
var maxY = window.innerHeight - boxHeight;
|
|
16569
|
+
var newLeft = Math.max(0, Math.min(initialLeft + deltaX, maxX));
|
|
16570
|
+
var newTop = Math.max(0, Math.min(initialTop + deltaY, maxY));
|
|
16571
|
+
|
|
16572
|
+
// 直接更新样式
|
|
16573
|
+
dragDom.style.left = newLeft + 'px';
|
|
16574
|
+
dragDom.style.top = newTop + 'px';
|
|
16575
|
+
|
|
16576
|
+
// 关键:更新 Vue 数据,确保响应式更新
|
|
16577
|
+
updateVueData(newLeft, newTop);
|
|
16578
|
+
};
|
|
16579
|
+
var _stopDrag = function stopDrag() {
|
|
16580
|
+
isDragging = false;
|
|
16581
|
+
dragDom.classList.remove('dragging');
|
|
16582
|
+
document.removeEventListener('mousemove', onDrag);
|
|
16583
|
+
document.removeEventListener('mouseup', _stopDrag);
|
|
16584
|
+
};
|
|
16585
|
+
|
|
16586
|
+
// 更新 Vue 数据的函数
|
|
16587
|
+
var updateVueData = function updateVueData(left, top) {
|
|
16588
|
+
if (!vm) return;
|
|
16589
|
+
|
|
16590
|
+
// 方式1:如果指令有绑定值,使用绑定值作为数据路径
|
|
16591
|
+
if (binding.value) {
|
|
16592
|
+
var dataPath = binding.value;
|
|
16593
|
+
if (vm[dataPath]) {
|
|
16594
|
+
vm[dataPath].left = left + 'px';
|
|
16595
|
+
vm[dataPath].top = top + 'px';
|
|
16596
|
+
}
|
|
16597
|
+
}
|
|
16598
|
+
// 方式2:如果没有绑定值,尝试自动更新常见的样式对象
|
|
16599
|
+
else {
|
|
16600
|
+
// 常见的样式数据属性名
|
|
16601
|
+
var possibleStyleProps = ['style', 'windowStyle', 'dragStyle', 'position', 'pos'];
|
|
16602
|
+
for (var _i = 0, _possibleStyleProps = possibleStyleProps; _i < _possibleStyleProps.length; _i++) {
|
|
16603
|
+
var prop = _possibleStyleProps[_i];
|
|
16604
|
+
if (vm[prop] && drag_typeof(vm[prop]) === 'object') {
|
|
16605
|
+
vm.$set(vm[prop], 'left', left + 'px');
|
|
16606
|
+
vm.$set(vm[prop], 'top', top + 'px');
|
|
16607
|
+
break;
|
|
16608
|
+
}
|
|
16609
|
+
}
|
|
16610
|
+
|
|
16611
|
+
// 或者更新独立的 x, y 数据
|
|
16612
|
+
if (vm.x !== undefined) vm.x = left;
|
|
16613
|
+
if (vm.y !== undefined) vm.y = top;
|
|
16614
|
+
}
|
|
16615
|
+
};
|
|
16616
|
+
|
|
16617
|
+
// 确保有定位
|
|
16618
|
+
if (window.getComputedStyle(dragDom).position === 'static') {
|
|
16619
|
+
dragDom.style.position = 'absolute';
|
|
16620
|
+
}
|
|
16621
|
+
dragHeaderEl.style.cursor = 'move';
|
|
16622
|
+
dragHeaderEl.addEventListener('mousedown', startDrag);
|
|
16623
|
+
el._cleanupDrag = function () {
|
|
16624
|
+
dragHeaderEl.removeEventListener('mousedown', startDrag);
|
|
16625
|
+
};
|
|
16626
|
+
},
|
|
16627
|
+
unbind: function unbind(el) {
|
|
16628
|
+
if (el._cleanupDrag) {
|
|
16629
|
+
el._cleanupDrag();
|
|
16630
|
+
}
|
|
16631
|
+
}
|
|
16632
|
+
};
|
|
16633
|
+
/* harmony default export */ var drag = ((/* unused pure expression or super */ null && (Drag)));
|
|
16518
16634
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=script&lang=js
|
|
16519
16635
|
function SpeechRecognitionvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return SpeechRecognitionvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, SpeechRecognitionvue_type_script_lang_js_typeof(o); }
|
|
16520
16636
|
function SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return r; }; var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof Symbol ? Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag"; function c(t, r, e, n) { return Object.defineProperty(t, r, { value: e, enumerable: !n, configurable: !n, writable: !n }); } try { c({}, ""); } catch (t) { c = function c(t, r, e) { return t[r] = e; }; } function h(r, e, n, o) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype); return c(a, "_invoke", function (r, e, n) { var o = 1; return function (i, a) { if (3 === o) throw Error("Generator is already running"); if (4 === o) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var u = n.delegate; if (u) { var c = d(u, n); if (c) { if (c === f) continue; return c; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (1 === o) throw o = 4, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = 3; var h = s(r, e, n); if ("normal" === h.type) { if (o = n.done ? 4 : 2, h.arg === f) continue; return { value: h.arg, done: n.done }; } "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg); } }; }(r, n, new Context(o || [])), !0), a; } function s(t, r, e) { try { return { type: "normal", arg: t.call(r, e) }; } catch (t) { return { type: "throw", arg: t }; } } r.wrap = h; var f = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var l = {}; c(l, i, function () { return this; }); var p = Object.getPrototypeOf, y = p && p(p(x([]))); y && y !== e && n.call(y, i) && (l = y); var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l); function g(t) { ["next", "throw", "return"].forEach(function (r) { c(t, r, function (t) { return this._invoke(r, t); }); }); } function AsyncIterator(t, r) { function e(o, i, a, u) { var c = s(t[o], t, i); if ("throw" !== c.type) { var h = c.arg, f = h.value; return f && "object" == SpeechRecognitionvue_type_script_lang_js_typeof(f) && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) { e("next", t, a, u); }, function (t) { e("throw", t, a, u); }) : r.resolve(f).then(function (t) { h.value = t, a(h); }, function (t) { return e("throw", t, a, u); }); } u(c.arg); } var o; c(this, "_invoke", function (t, n) { function i() { return new r(function (r, o) { e(t, n, r, o); }); } return o = o ? o.then(i, i) : i(); }, !0); } function d(r, e) { var n = e.method, o = r.i[n]; if (o === t) return e.delegate = null, "throw" === n && r.i.return && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f; var i = s(o, r.i, e.arg); if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f; var a = i.arg; return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f); } function w(t) { this.tryEntries.push(t); } function m(r) { var e = r[4] || {}; e.type = "normal", e.arg = t, r[4] = e; } function Context(t) { this.tryEntries = [[-1]], t.forEach(w, this), this.reset(!0); } function x(r) { if (null != r) { var e = r[i]; if (e) return e.call(r); if ("function" == typeof r.next) return r; if (!isNaN(r.length)) { var o = -1, a = function e() { for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e; return e.value = t, e.done = !0, e; }; return a.next = a; } } throw new TypeError(SpeechRecognitionvue_type_script_lang_js_typeof(r) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"), r.isGeneratorFunction = function (t) { var r = "function" == typeof t && t.constructor; return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name)); }, r.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, "GeneratorFunction")), t.prototype = Object.create(v), t; }, r.awrap = function (t) { return { __await: t }; }, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () { return this; }), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(h(t, e, n, o), i); return r.isGeneratorFunction(e) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, g(v), c(v, u, "Generator"), c(v, i, function () { return this; }), c(v, "toString", function () { return "[object Generator]"; }), r.keys = function (t) { var r = Object(t), e = []; for (var n in r) e.unshift(n); return function t() { for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t; return t.done = !0, t; }; }, r.values = x, Context.prototype = { constructor: Context, reset: function reset(r) { if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0][4]; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(r) { if (this.done) throw r; var e = this; function n(t) { a.type = "throw", a.arg = r, e.next = t; } for (var o = e.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i[4], u = this.prev, c = i[1], h = i[2]; if (-1 === i[0]) return n("end"), !1; if (!c && !h) throw Error("try statement without catch or finally"); if (null != i[0] && i[0] <= u) { if (u < c) return this.method = "next", this.arg = t, n(c), !0; if (u < h) return n(h), !1; } } }, abrupt: function abrupt(t, r) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var n = this.tryEntries[e]; if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) { var o = n; break; } } o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null); var i = o ? o[4] : {}; return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i); }, complete: function complete(t, r) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && r && (this.next = r), f; }, finish: function finish(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[2] === t) return this.complete(e[4], e[3]), m(e), f; } }, catch: function _catch(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[0] === t) { var n = e[4]; if ("throw" === n.type) { var o = n.arg; m(e); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(r, e, n) { return this.delegate = { i: x(r), r: e, n: n }, "next" === this.method && (this.arg = t), f; } }, r; }
|
|
@@ -16531,8 +16647,12 @@ function SpeechRecognitionvue_type_script_lang_js_toPrimitive(t, r) { if ("objec
|
|
|
16531
16647
|
|
|
16532
16648
|
|
|
16533
16649
|
|
|
16650
|
+
|
|
16534
16651
|
var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
16535
16652
|
name: "yx-speech-recognition",
|
|
16653
|
+
directives: {
|
|
16654
|
+
Drag: Drag
|
|
16655
|
+
},
|
|
16536
16656
|
components: {
|
|
16537
16657
|
Message: Message
|
|
16538
16658
|
},
|
|
@@ -16575,6 +16695,10 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
16575
16695
|
},
|
|
16576
16696
|
data: function data() {
|
|
16577
16697
|
return {
|
|
16698
|
+
windowStyle: {
|
|
16699
|
+
left: "100px",
|
|
16700
|
+
top: "400px"
|
|
16701
|
+
},
|
|
16578
16702
|
systemId: "msq_dp_a7x9",
|
|
16579
16703
|
webSocketId: guid(),
|
|
16580
16704
|
oneQuestionOneAnswer: true,
|
|
@@ -16646,6 +16770,14 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
16646
16770
|
_this.autoQuitAssistant();
|
|
16647
16771
|
}, 1000 * 60);
|
|
16648
16772
|
}
|
|
16773
|
+
},
|
|
16774
|
+
boxPosition: {
|
|
16775
|
+
handler: function handler(val) {
|
|
16776
|
+
if (Object.keys(val)) {
|
|
16777
|
+
this.windowStyle = val;
|
|
16778
|
+
}
|
|
16779
|
+
},
|
|
16780
|
+
deep: true
|
|
16649
16781
|
}
|
|
16650
16782
|
},
|
|
16651
16783
|
methods: {
|
|
@@ -17122,7 +17254,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
17122
17254
|
var SpeechRecognitionvue_type_script_lang_js_injectCSSVars_ = function __injectCSSVars__() {
|
|
17123
17255
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(function (_vm, _setup) {
|
|
17124
17256
|
return {
|
|
17125
|
-
"
|
|
17257
|
+
"4e5d5650": _vm.htmlFontSize
|
|
17126
17258
|
};
|
|
17127
17259
|
});
|
|
17128
17260
|
};
|
|
@@ -17134,9 +17266,9 @@ SpeechRecognitionvue_type_script_lang_js_default_.setup = SpeechRecognitionvue_t
|
|
|
17134
17266
|
/* harmony default export */ var SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js_default_);
|
|
17135
17267
|
;// ./package/SpeechRecognition/index.vue?vue&type=script&lang=js
|
|
17136
17268
|
/* harmony default export */ var package_SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js);
|
|
17137
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=
|
|
17138
|
-
var
|
|
17139
|
-
;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=
|
|
17269
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=2d7ca1c4&prod&lang=scss&scoped=true
|
|
17270
|
+
var SpeechRecognitionvue_type_style_index_0_id_2d7ca1c4_prod_lang_scss_scoped_true = __webpack_require__(746);
|
|
17271
|
+
;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=2d7ca1c4&prod&lang=scss&scoped=true
|
|
17140
17272
|
|
|
17141
17273
|
;// ./package/SpeechRecognition/index.vue
|
|
17142
17274
|
|
|
@@ -17153,7 +17285,7 @@ var SpeechRecognition_component = normalizeComponent(
|
|
|
17153
17285
|
staticRenderFns,
|
|
17154
17286
|
false,
|
|
17155
17287
|
null,
|
|
17156
|
-
"
|
|
17288
|
+
"2d7ca1c4",
|
|
17157
17289
|
null
|
|
17158
17290
|
|
|
17159
17291
|
)
|