yxspeechrecognition 1.6.2 → 1.6.4
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 +97 -119
- package/YxSpeechRecognition.common.js.map +1 -1
- package/YxSpeechRecognition.umd.js +90 -112
- 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
|
@@ -146,27 +146,6 @@ module.exports = function (cssWithMappingToString) {
|
|
|
146
146
|
"use strict";
|
|
147
147
|
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=";
|
|
148
148
|
|
|
149
|
-
/***/ }),
|
|
150
|
-
|
|
151
|
-
/***/ 359:
|
|
152
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
153
|
-
|
|
154
|
-
"use strict";
|
|
155
|
-
__webpack_require__.r(__webpack_exports__);
|
|
156
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
|
|
157
|
-
/* 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__);
|
|
158
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
|
|
159
|
-
/* 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__);
|
|
160
|
-
// Imports
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
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()));
|
|
164
|
-
// Module
|
|
165
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .box[data-v-334cce94] ::-webkit-scrollbar{width:0;height:0;display:none;background:transparent}.yx-speech-recognition .box[data-v-334cce94]{display:grid;grid-template-rows:max-content 1fr;position:absolute;pointer-events:all;background:rgba(2,11,72,.6);border-radius:calc(var(--7fff0d3d)*.57);z-index:20}.yx-speech-recognition .box .title[data-v-334cce94]{display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(var(--7fff0d3d)*2.29);padding:0 calc(var(--7fff0d3d)*.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(--7fff0d3d)*.57) calc(var(--7fff0d3d)*.57) 0 0}.yx-speech-recognition .box .title-icon[data-v-334cce94]{display:flex;align-items:center;gap:calc(var(--7fff0d3d)*.38)}.yx-speech-recognition .box .title-icon img[data-v-334cce94]{width:calc(var(--7fff0d3d)*1);height:calc(var(--7fff0d3d)*1)}.yx-speech-recognition .box .title-icon span[data-v-334cce94]{font-size:calc(var(--7fff0d3d)*1.14);font-weight:800;color:#fff}.yx-speech-recognition .box .title .close[data-v-334cce94]{cursor:pointer}.yx-speech-recognition .box .title .close img[data-v-334cce94]{width:calc(var(--7fff0d3d)*1.1)}.yx-speech-recognition .box .content[data-v-334cce94]{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-334cce94]{margin-top:calc(var(--7fff0d3d)*7.5);font-size:calc(var(--7fff0d3d)*1)}.yx-speech-recognition .box .message-list[data-v-334cce94]{overflow:hidden;padding:calc(var(--7fff0d3d)*.58);box-sizing:border-box;padding-right:calc(var(--7fff0d3d)*.29)}.yx-speech-recognition .box .message-list-inner[data-v-334cce94]{height:100%;display:flex;flex-direction:column;gap:calc(var(--7fff0d3d)*.53);overflow-y:overlay;white-space:pre-line}.yx-speech-recognition .displayAssistant[data-v-334cce94]{position:absolute;pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .displayAssistant .icon1[data-v-334cce94]{width:calc(var(--7fff0d3d)*3.76);height:calc(var(--7fff0d3d)*3.88)}.yx-speech-recognition .displayAssistant .icon1 img[data-v-334cce94]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox[data-v-334cce94]{position:absolute;top:0;left:calc(var(--7fff0d3d)*3.76);width:-moz-max-content;width:max-content;min-width:-moz-min-content;min-width:min-content}.yx-speech-recognition .displayAssistant .bubbleBox .loading-box[data-v-334cce94]{font-size:calc(var(--7fff0d3d)*.8);display:flex;align-items:center}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon[data-v-334cce94]{width:calc(var(--7fff0d3d)*1.26);height:calc(var(--7fff0d3d)*1.28);margin-right:calc(var(--7fff0d3d)*.4)}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon img[data-v-334cce94]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox .box-container[data-v-334cce94]{border-top:calc(var(--7fff0d3d)*.1) solid rgba(117,178,255,.61);margin-top:calc(var(--7fff0d3d)*.2)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box[data-v-334cce94]{display:flex;overflow:hidden}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(2) .item-box-number[data-v-334cce94]{background-color:#ff4e4e}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(3) .item-box-number[data-v-334cce94]{background-color:#ff6e1d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(4) .item-box-number[data-v-334cce94]{background-color:#4fc94d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-index[data-v-334cce94]{flex-shrink:0;width:calc(var(--7fff0d3d)*1.2);font-size:calc(var(--7fff0d3d)*.9);height:calc(var(--7fff0d3d)*1.2);background-color:rgba(117,178,255,.61);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:calc(var(--7fff0d3d)*.1);margin-right:calc(var(--7fff0d3d)*.1)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-content[data-v-334cce94]{overflow:hidden}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-descriptions[data-v-334cce94]{font-size:calc(var(--7fff0d3d)*.9);color:hsla(0,0%,100%,.74);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yx-speech-recognition .displayAssistant .bubbleBox span[data-v-334cce94]{display:block;max-width:calc(var(--7fff0d3d)*19.21);font-size:calc(var(--7fff0d3d)*1);color:#fff;word-break:break-all;white-space:pre-line}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-334cce94],.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-334cce94]{border-radius:calc(var(--7fff0d3d)*.27);padding:calc(var(--7fff0d3d)*.38);box-sizing:border-box}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-334cce94]{background-color:rgba(13,23,135,.85);box-shadow:0 4px 15px rgba(106,17,203,.3)}.yx-speech-recognition .displayAssistant .bubbleBox-title-hi[data-v-334cce94]{max-width:calc(var(--7fff0d3d)*9.21)}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-334cce94]{margin-bottom:15px;background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--7fff0d3d)*.57) 0 #d4d9ff}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-334cce94]:after,.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-334cce94]:before{content:\"\";display:block;position:absolute}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-334cce94]:before{border-top:calc(var(--7fff0d3d)*.25) solid transparent;border-bottom:calc(var(--7fff0d3d)*.25) solid transparent;border-right:calc(var(--7fff0d3d)*.5) solid rgba(70,61,255,.85);transform:translateX(calc(var(--7fff0d3d)*-.46));left:0;top:calc(var(--7fff0d3d)*.48)}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-334cce94]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--7fff0d3d)*.57) 0 #fff3b4}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-334cce94]:before{border-right:calc(var(--7fff0d3d)*.5) solid transparent}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-334cce94]:after{border-top:calc(var(--7fff0d3d)*.25) solid transparent;border-bottom:calc(var(--7fff0d3d)*.25) solid transparent;border-right:calc(var(--7fff0d3d)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--7fff0d3d)*-.46));left:0;top:calc(var(--7fff0d3d)*.48)}.inputContainer[data-v-334cce94]{display:flex;flex:1;justify-content:space-between;align-items:center;background-color:rgba(2,11,72,.3);border-radius:calc(var(--7fff0d3d)*.57)}.inputContainer .inputBox[data-v-334cce94]{margin:4px;flex:1;height:calc(var(--7fff0d3d)*1.8);border-color:transparent;background-color:transparent;border-radius:calc(var(--7fff0d3d)*.57);font-size:calc(var(--7fff0d3d)*1);color:#fff;padding:0 20px;outline:none}.inputContainer .inputButton[data-v-334cce94]{margin-right:20px;flex-shrink:0}.container[data-v-334cce94]{top:180px;left:700px;position:absolute;display:inline-block;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.1);transition:all .3s ease;width:-moz-fit-content;width:fit-content;max-width:600px;pointer-events:all;cursor:pointer}.container span[data-v-334cce94]{white-space:pre-line;font-size:calc(var(--7fff0d3d)*1);color:#fff}.container .bottomBox[data-v-334cce94],.container .topBox[data-v-334cce94]{padding:25px;border-radius:8px;font-size:18px;font-weight:700;transition:all .3s ease;white-space:nowrap;display:block;max-width:600px;word-wrap:break-word;width:auto}.container .topBox[data-v-334cce94]{background:rgba(70,61,255,.85);margin-bottom:10px;box-shadow:0 4px 15px rgba(106,17,203,.3)}.container .topBox[data-v-334cce94]:after,.container .topBox[data-v-334cce94]:before{content:\"\";display:block;position:absolute}.container .topBox[data-v-334cce94]:before{border-top:calc(var(--7fff0d3d)*.25) solid transparent;border-bottom:calc(var(--7fff0d3d)*.25) solid transparent;border-right:calc(var(--7fff0d3d)*.5) solid rgba(70,61,255,.85);transform:translateX(calc(var(--7fff0d3d)*-.46));left:0;top:20px}.container .bottomBox[data-v-334cce94]{background:rgba(2,11,72,.3);box-shadow:0 4px 15px rgba(255,154,158,.3)}", ""]);
|
|
166
|
-
// Exports
|
|
167
|
-
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
168
|
-
|
|
169
|
-
|
|
170
149
|
/***/ }),
|
|
171
150
|
|
|
172
151
|
/***/ 459:
|
|
@@ -443,6 +422,43 @@ function applyToTag (styleElement, obj) {
|
|
|
443
422
|
"use strict";
|
|
444
423
|
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAJKElEQVR4AeybCaweVRXHp4oocYlIMArFaKIBl2hAjLIVqgFTBRTEiEKIoBbcqIK4oCBQQAlUpCoCyqKgCRBFwKhABC0UBcq+7wlQlhIgYV/z+P1e5jT3f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Q3FC64+UMMrz/sHH4Hjin8jrasWw6QgKfhFIDvuFCnVo5ACMcxSkl43HUuHr65RXpP8rSfPQotPwx5bPo29vkIGngBe4ToCI1dTIAarACa7NhUFvXFzYKI8MdHlia4/5ytuZ8AMjK5la4LQkOBd9vm2SqHKxsQNUgWJHQSxm3onn/fTVRYfJIwFd+4BdQWNjByug/nWB3ytF0jz0uduMcC0fyQFqowJXWDGT++mr3/d2XiqrexTQcJe66emT2+5Gz31az8gOsDBO8NLU0WDwNfycj0HxDBIcL1GXdw8xEq1sFjZ58KI8Elo5wBqo0PngM8o5jsCwJSD9niBP6oepGyxBW5wSX4K8HrZcCG9FrR1gbVTsO909gq8dozzj8w0x6QiMbTU/qCiAjjXAXGDDPXO0DpP/ws8cbOhyZtj9/wUwwF7w0GQfDIqFh0Zq7O0Yfgpw3iC5GZHfjyN2gbstdgutLnWq4Hp+nDx3oO5HkDtRpxEQNWPIs8DXmo6Qxzv4LeTZCfhh80M06CzgCPGbAHt1a8LeIO8Bnw9OAC6SvAX6A+X8vwG/HEfMfL/PR9iYunx9InanXhwQZmDYPcCRoCOclBwdkawzPKVxjvDU2F71CtvH6Ldk+gnYFfj/AXGSQzDz+fZKfRN07w/8rsD4XtCrA8IijLwC+FpyfliXeP+HwPf9jchVw/ZB0q8B3jJ/De6XqM7w89F3JeHeaSwOSK3E8FvAAjAbvA84El5LnneAj+Twi65VSHsr+BD4HPg9cJlMlvHR2B1QZDoNc864G+4JkFiKXHhuX1S+z7hpcUCfDeiqa6UDunrw5V7+ZT8CunbAiwAAAP//1lJoRwAAAAZJREFUAwC0WPKfAOfAQQAAAABJRU5ErkJggg==";
|
|
445
424
|
|
|
425
|
+
/***/ }),
|
|
426
|
+
|
|
427
|
+
/***/ 505:
|
|
428
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
429
|
+
|
|
430
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
431
|
+
|
|
432
|
+
// load the styles
|
|
433
|
+
var content = __webpack_require__(511);
|
|
434
|
+
if(content.__esModule) content = content.default;
|
|
435
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
436
|
+
if(content.locals) module.exports = content.locals;
|
|
437
|
+
// add the styles to the DOM
|
|
438
|
+
var add = (__webpack_require__(459)/* ["default"] */ .A)
|
|
439
|
+
var update = add("0d03bd7e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
440
|
+
|
|
441
|
+
/***/ }),
|
|
442
|
+
|
|
443
|
+
/***/ 511:
|
|
444
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
445
|
+
|
|
446
|
+
"use strict";
|
|
447
|
+
__webpack_require__.r(__webpack_exports__);
|
|
448
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
|
|
449
|
+
/* 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__);
|
|
450
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
|
|
451
|
+
/* 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__);
|
|
452
|
+
// Imports
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
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()));
|
|
456
|
+
// Module
|
|
457
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .box[data-v-76db6f54] ::-webkit-scrollbar{width:0;height:0;display:none;background:transparent}.yx-speech-recognition .box[data-v-76db6f54]{display:grid;grid-template-rows:max-content 1fr;position:absolute;pointer-events:all;background:rgba(2,11,72,.6);border-radius:calc(var(--3df6575d)*.57);z-index:20}.yx-speech-recognition .box .title[data-v-76db6f54]{display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(var(--3df6575d)*2.29);padding:0 calc(var(--3df6575d)*.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(--3df6575d)*.57) calc(var(--3df6575d)*.57) 0 0}.yx-speech-recognition .box .title-icon[data-v-76db6f54]{display:flex;align-items:center;gap:calc(var(--3df6575d)*.38)}.yx-speech-recognition .box .title-icon img[data-v-76db6f54]{width:calc(var(--3df6575d)*1);height:calc(var(--3df6575d)*1)}.yx-speech-recognition .box .title-icon span[data-v-76db6f54]{font-size:calc(var(--3df6575d)*1.14);font-weight:800;color:#fff}.yx-speech-recognition .box .title .close[data-v-76db6f54]{cursor:pointer}.yx-speech-recognition .box .title .close img[data-v-76db6f54]{width:calc(var(--3df6575d)*1.1)}.yx-speech-recognition .box .content[data-v-76db6f54]{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-76db6f54]{margin-top:calc(var(--3df6575d)*7.5);font-size:calc(var(--3df6575d)*1)}.yx-speech-recognition .box .message-list[data-v-76db6f54]{overflow:hidden;padding:calc(var(--3df6575d)*.58);box-sizing:border-box;padding-right:calc(var(--3df6575d)*.29)}.yx-speech-recognition .box .message-list-inner[data-v-76db6f54]{height:100%;display:flex;flex-direction:column;gap:calc(var(--3df6575d)*.53);overflow-y:overlay;white-space:pre-line}.yx-speech-recognition .displayAssistant[data-v-76db6f54]{position:absolute;pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .displayAssistant .icon1[data-v-76db6f54]{width:calc(var(--3df6575d)*3.76);height:calc(var(--3df6575d)*3.88)}.yx-speech-recognition .displayAssistant .icon1 img[data-v-76db6f54]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox[data-v-76db6f54]{position:absolute;top:0;left:calc(var(--3df6575d)*3.76);width:-moz-max-content;width:max-content;min-width:-moz-min-content;min-width:min-content}.yx-speech-recognition .displayAssistant .bubbleBox .loading-box[data-v-76db6f54]{font-size:calc(var(--3df6575d)*.8);display:flex;align-items:center}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon[data-v-76db6f54]{width:calc(var(--3df6575d)*1.26);height:calc(var(--3df6575d)*1.28);margin-right:calc(var(--3df6575d)*.4)}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon img[data-v-76db6f54]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox .box-container[data-v-76db6f54]{border-top:calc(var(--3df6575d)*.1) solid rgba(117,178,255,.61);margin-top:calc(var(--3df6575d)*.2)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box[data-v-76db6f54]{display:flex;overflow:hidden}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(2) .item-box-number[data-v-76db6f54]{background-color:#ff4e4e}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(3) .item-box-number[data-v-76db6f54]{background-color:#ff6e1d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(4) .item-box-number[data-v-76db6f54]{background-color:#4fc94d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-index[data-v-76db6f54]{flex-shrink:0;width:calc(var(--3df6575d)*1.2);font-size:calc(var(--3df6575d)*.9);height:calc(var(--3df6575d)*1.2);background-color:rgba(117,178,255,.61);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:calc(var(--3df6575d)*.1);margin-right:calc(var(--3df6575d)*.1)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-content[data-v-76db6f54]{overflow:hidden}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-descriptions[data-v-76db6f54]{font-size:calc(var(--3df6575d)*.9);color:hsla(0,0%,100%,.74);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yx-speech-recognition .displayAssistant .bubbleBox span[data-v-76db6f54]{display:block;max-width:calc(var(--3df6575d)*19.21);font-size:calc(var(--3df6575d)*1);color:#fff;word-break:break-all;white-space:pre-line}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-76db6f54],.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-76db6f54]{border-radius:calc(var(--3df6575d)*.27);padding:calc(var(--3df6575d)*.38);box-sizing:border-box}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-76db6f54]{background-color:rgba(13,23,135,.85);box-shadow:0 4px 15px rgba(106,17,203,.3)}.yx-speech-recognition .displayAssistant .bubbleBox-title-hi[data-v-76db6f54]{max-width:calc(var(--3df6575d)*9.21)}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-76db6f54]{margin-bottom:15px;background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--3df6575d)*.57) 0 #d4d9ff}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-76db6f54]:after,.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-76db6f54]:before{content:\"\";display:block;position:absolute}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-76db6f54]:before{border-top:calc(var(--3df6575d)*.25) solid transparent;border-bottom:calc(var(--3df6575d)*.25) solid transparent;border-right:calc(var(--3df6575d)*.5) solid rgba(70,61,255,.85);transform:translateX(calc(var(--3df6575d)*-.46));left:0;top:calc(var(--3df6575d)*.48)}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-76db6f54]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--3df6575d)*.57) 0 #fff3b4}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-76db6f54]:before{border-right:calc(var(--3df6575d)*.5) solid transparent}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-76db6f54]:after{border-top:calc(var(--3df6575d)*.25) solid transparent;border-bottom:calc(var(--3df6575d)*.25) solid transparent;border-right:calc(var(--3df6575d)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--3df6575d)*-.46));left:0;top:calc(var(--3df6575d)*.48)}.inputContainer[data-v-76db6f54]{display:flex;flex:1;justify-content:space-between;align-items:center;background-color:rgba(2,11,72,.3);border-radius:calc(var(--3df6575d)*.57)}.inputContainer .inputBox[data-v-76db6f54]{margin:4px;flex:1;height:calc(var(--3df6575d)*1.8);border-color:transparent;background-color:transparent;border-radius:calc(var(--3df6575d)*.57);font-size:calc(var(--3df6575d)*1);color:#fff;padding:0 20px;outline:none}.inputContainer .inputButton[data-v-76db6f54]{margin-right:20px;flex-shrink:0}.container[data-v-76db6f54]{top:180px;left:700px;position:absolute;display:inline-block;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.1);transition:all .3s ease;width:-moz-fit-content;width:fit-content;max-width:600px;pointer-events:all;cursor:pointer}.container span[data-v-76db6f54]{white-space:pre-line;font-size:calc(var(--3df6575d)*1);color:#fff}.container .bottomBox[data-v-76db6f54],.container .topBox[data-v-76db6f54]{padding:25px;border-radius:8px;font-size:18px;font-weight:700;transition:all .3s ease;white-space:nowrap;display:block;max-width:600px;word-wrap:break-word;width:auto}.container .topBox[data-v-76db6f54]{background:rgba(70,61,255,.85);margin-bottom:10px;box-shadow:0 4px 15px rgba(106,17,203,.3)}.container .topBox[data-v-76db6f54]:after,.container .topBox[data-v-76db6f54]:before{content:\"\";display:block;position:absolute}.container .topBox[data-v-76db6f54]:before{border-top:calc(var(--3df6575d)*.25) solid transparent;border-bottom:calc(var(--3df6575d)*.25) solid transparent;border-right:calc(var(--3df6575d)*.5) solid rgba(70,61,255,.85);transform:translateX(calc(var(--3df6575d)*-.46));left:0;top:20px}.container .bottomBox[data-v-76db6f54]{background:rgba(2,11,72,.3);box-shadow:0 4px 15px rgba(255,154,158,.3)}", ""]);
|
|
458
|
+
// Exports
|
|
459
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
460
|
+
|
|
461
|
+
|
|
446
462
|
/***/ }),
|
|
447
463
|
|
|
448
464
|
/***/ 601:
|
|
@@ -764,22 +780,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABX
|
|
|
764
780
|
"use strict";
|
|
765
781
|
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/f9d6otZynNPo2dKwvtJtmdJsmNI5etJWjNFoltBLg8pfnsczcsTz18LRyMIhZbzy0bZyqLPhyLFSlqjfxadUlqPOsZeEg4R9e3iiiXGSgW9sZFppX1O71v6awv681vquzvqixff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K0wyLIaFnSEGeWdfsfRcJqE2uiq+wJmB/aFqBFKQhaZpq6YqLAYwr3xbUVq4LGmIjdLvlowf3GtO8E9Y2fSagDzahd/DX69atSrNlmhfzhmNmO3kaSN0S3A1/F3SbGQf4wZxKHzwrrPUJPBfkntNXMOjsoEylm5P/iZk6+DRM4M0g+Ip2AIEyE/XkP16ucIzqg3bHcK9uAph/Rsepwx11aOUKc4Eld0kjw9a+JT3hLVe6lnKRAgtWEuorVclp4AvhiWllMfShJSG8iNU1pyzVAraFN4OeGApdAnNdaBHLXHbLGckIQWKZL8ATF8VhmTGSYy67mQuFncPzWcBxe8lz7gmYuKz54U4oFP5baTNxYGw2o+K9q+VXw2NP8ezYQKIobf5/xVi1fLw/WD7e/7fl4z8i0wTTxNNsyQAAAABJRU5ErkJggg==";
|
|
766
782
|
|
|
767
|
-
/***/ }),
|
|
768
|
-
|
|
769
|
-
/***/ 949:
|
|
770
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
771
|
-
|
|
772
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
773
|
-
|
|
774
|
-
// load the styles
|
|
775
|
-
var content = __webpack_require__(359);
|
|
776
|
-
if(content.__esModule) content = content.default;
|
|
777
|
-
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
778
|
-
if(content.locals) module.exports = content.locals;
|
|
779
|
-
// add the styles to the DOM
|
|
780
|
-
var add = (__webpack_require__(459)/* ["default"] */ .A)
|
|
781
|
-
var update = add("966e38c4", content, true, {"sourceMap":false,"shadowMode":false});
|
|
782
|
-
|
|
783
783
|
/***/ })
|
|
784
784
|
|
|
785
785
|
/******/ });
|
|
@@ -896,7 +896,7 @@ if (typeof window !== 'undefined') {
|
|
|
896
896
|
// Indicate to webpack that this file can be concatenated
|
|
897
897
|
/* harmony default export */ var setPublicPath = (null);
|
|
898
898
|
|
|
899
|
-
;// ./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=
|
|
899
|
+
;// ./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=76db6f54&scoped=true
|
|
900
900
|
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); }
|
|
901
901
|
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; }
|
|
902
902
|
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; }
|
|
@@ -1057,7 +1057,7 @@ var staticRenderFns = [function () {
|
|
|
1057
1057
|
}, [_c('span', [_vm._v("Hi,我是小安,有问题,尽管问。")])]);
|
|
1058
1058
|
}];
|
|
1059
1059
|
|
|
1060
|
-
;// ./package/SpeechRecognition/index.vue?vue&type=template&id=
|
|
1060
|
+
;// ./package/SpeechRecognition/index.vue?vue&type=template&id=76db6f54&scoped=true
|
|
1061
1061
|
|
|
1062
1062
|
// EXTERNAL MODULE: ./package/SpeechRecognition/utils/speech/cryptojs.js
|
|
1063
1063
|
var cryptojs = __webpack_require__(672);
|
|
@@ -6066,7 +6066,7 @@ var Tx = /*#__PURE__*/function () {
|
|
|
6066
6066
|
key: "speech2speech2",
|
|
6067
6067
|
value: function speech2speech2(formData) {
|
|
6068
6068
|
return gridRequest.post('/speech2speech/speech2speech2', formData, {
|
|
6069
|
-
timeout:
|
|
6069
|
+
timeout: 40 * 1000,
|
|
6070
6070
|
headers: {
|
|
6071
6071
|
'Content-Type': "application/json;"
|
|
6072
6072
|
}
|
|
@@ -16892,13 +16892,6 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
16892
16892
|
}
|
|
16893
16893
|
},
|
|
16894
16894
|
watch: {
|
|
16895
|
-
waitSentenceId: {
|
|
16896
|
-
handler: function handler(val) {
|
|
16897
|
-
console.log("sencdkdkk", val);
|
|
16898
|
-
},
|
|
16899
|
-
immediate: true,
|
|
16900
|
-
deep: true
|
|
16901
|
-
},
|
|
16902
16895
|
voiecContent: function voiecContent(val) {
|
|
16903
16896
|
console.log("===============getContent==============", val);
|
|
16904
16897
|
if (Object.keys(val).length > 0) {
|
|
@@ -17052,7 +17045,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
17052
17045
|
_this3.bubbleBoxType = type;
|
|
17053
17046
|
_this3.bubbleBoxTitle = content;
|
|
17054
17047
|
if (!(type === "TO" && res.result.slice_type === 2)) {
|
|
17055
|
-
_context.next =
|
|
17048
|
+
_context.next = 46;
|
|
17056
17049
|
break;
|
|
17057
17050
|
}
|
|
17058
17051
|
voice_id = res.voice_id, session_id = res.sessionId, sentenceId = res.sentenceId;
|
|
@@ -17066,34 +17059,33 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
17066
17059
|
};
|
|
17067
17060
|
_this3.oneQuestionOneAnswer = false;
|
|
17068
17061
|
_context.prev = 13;
|
|
17069
|
-
|
|
17070
|
-
_context.next = 17;
|
|
17062
|
+
_context.next = 16;
|
|
17071
17063
|
return Tx.speech2speech2(formData);
|
|
17072
|
-
case
|
|
17064
|
+
case 16:
|
|
17073
17065
|
_res = _context.sent;
|
|
17074
17066
|
code = _res.code, msg = _res.msg, obj = _res.obj;
|
|
17075
17067
|
if (!(code == 200)) {
|
|
17076
|
-
_context.next =
|
|
17068
|
+
_context.next = 33;
|
|
17077
17069
|
break;
|
|
17078
17070
|
}
|
|
17079
17071
|
_content = "";
|
|
17080
17072
|
standard_back = obj.standard_back, command_type = obj.command_type;
|
|
17081
17073
|
if (!(Object.keys(obj).length > 0)) {
|
|
17082
|
-
_context.next =
|
|
17074
|
+
_context.next = 27;
|
|
17083
17075
|
break;
|
|
17084
17076
|
}
|
|
17085
17077
|
_content = standard_back || "抱歉,我还在学习中";
|
|
17086
17078
|
if (!(command_type === "地理实体页面定位" && _content != "抱歉,我还在学习中")) {
|
|
17087
|
-
_context.next =
|
|
17079
|
+
_context.next = 25;
|
|
17088
17080
|
break;
|
|
17089
17081
|
}
|
|
17090
17082
|
return _context.abrupt("return");
|
|
17091
|
-
case
|
|
17092
|
-
_context.next =
|
|
17083
|
+
case 25:
|
|
17084
|
+
_context.next = 28;
|
|
17093
17085
|
break;
|
|
17094
|
-
case
|
|
17086
|
+
case 27:
|
|
17095
17087
|
_content = "抱歉,我还在学习中";
|
|
17096
|
-
case
|
|
17088
|
+
case 28:
|
|
17097
17089
|
_this3.voiecContent = obj;
|
|
17098
17090
|
_opts = {
|
|
17099
17091
|
res: {},
|
|
@@ -17115,49 +17107,49 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
17115
17107
|
// messages: { type: "FROM", content: _content },
|
|
17116
17108
|
// sentenceId: Math.floor(Math.random() * 1000000).toString()
|
|
17117
17109
|
// });
|
|
17118
|
-
_context.next =
|
|
17110
|
+
_context.next = 34;
|
|
17119
17111
|
break;
|
|
17120
|
-
case
|
|
17112
|
+
case 33:
|
|
17121
17113
|
if (code === 300) {
|
|
17122
|
-
|
|
17114
|
+
_this3.waitSentenceId = formData.sentence_id;
|
|
17123
17115
|
console.log("设置超时", _this3.waitSentenceId);
|
|
17124
17116
|
// this.timeOutContent()
|
|
17125
|
-
|
|
17117
|
+
// this.startWaitAnswer()
|
|
17126
17118
|
}
|
|
17127
|
-
case
|
|
17128
|
-
_context.next =
|
|
17119
|
+
case 34:
|
|
17120
|
+
_context.next = 42;
|
|
17129
17121
|
break;
|
|
17130
|
-
case
|
|
17131
|
-
_context.prev =
|
|
17122
|
+
case 36:
|
|
17123
|
+
_context.prev = 36;
|
|
17132
17124
|
_context.t0 = _context["catch"](13);
|
|
17133
17125
|
console.log("speech2speech2 ->", _context.t0);
|
|
17134
17126
|
console.log(_context.t0.message);
|
|
17135
17127
|
console.log(_context.t0 === null || _context.t0 === void 0 || (_error$message = _context.t0.message) === null || _error$message === void 0 ? void 0 : _error$message.includes("timeout"));
|
|
17136
17128
|
if (_context.t0 !== null && _context.t0 !== void 0 && (_error$message2 = _context.t0.message) !== null && _error$message2 !== void 0 && _error$message2.includes('timeout')) {
|
|
17137
|
-
|
|
17129
|
+
_this3.waitSentenceId = formData.sentence_id;
|
|
17138
17130
|
_this3.timeOutContent();
|
|
17139
17131
|
} else {
|
|
17140
17132
|
_this3.oneQuestionOneAnswer = true;
|
|
17141
17133
|
}
|
|
17142
|
-
case
|
|
17143
|
-
_context.prev =
|
|
17144
|
-
return _context.finish(
|
|
17145
|
-
case
|
|
17146
|
-
_context.next =
|
|
17134
|
+
case 42:
|
|
17135
|
+
_context.prev = 42;
|
|
17136
|
+
return _context.finish(42);
|
|
17137
|
+
case 44:
|
|
17138
|
+
_context.next = 47;
|
|
17147
17139
|
break;
|
|
17148
|
-
case
|
|
17140
|
+
case 46:
|
|
17149
17141
|
if (type === "FROM") {
|
|
17150
17142
|
_this3.handlePlayTTS({
|
|
17151
17143
|
content: content
|
|
17152
17144
|
});
|
|
17153
17145
|
}
|
|
17154
|
-
case
|
|
17146
|
+
case 47:
|
|
17155
17147
|
_this3.wakeUpTime = new Date().getTime();
|
|
17156
|
-
case
|
|
17148
|
+
case 48:
|
|
17157
17149
|
case "end":
|
|
17158
17150
|
return _context.stop();
|
|
17159
17151
|
}
|
|
17160
|
-
}, _callee, null, [[13,
|
|
17152
|
+
}, _callee, null, [[13, 36, 42, 44]]);
|
|
17161
17153
|
}))();
|
|
17162
17154
|
},
|
|
17163
17155
|
timeOutContent: function timeOutContent() {
|
|
@@ -17173,8 +17165,6 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
17173
17165
|
sentenceId: Math.floor(Math.random() * 1000000).toString()
|
|
17174
17166
|
};
|
|
17175
17167
|
// this.updateSession(_opts)
|
|
17176
|
-
console.log("888888888", this.isWaitAnswer, !this.waitSentenceId, this.waitSentenceId);
|
|
17177
|
-
if (!this.isWaitAnswer || !this.waitSentenceId) return;
|
|
17178
17168
|
if (this.isWaitAnswer) {
|
|
17179
17169
|
this.handlePlayTTS({
|
|
17180
17170
|
content: message,
|
|
@@ -17186,25 +17176,22 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
17186
17176
|
},
|
|
17187
17177
|
startWaitAnswer: function startWaitAnswer() {
|
|
17188
17178
|
var _this5 = this;
|
|
17189
|
-
|
|
17190
|
-
|
|
17191
|
-
|
|
17179
|
+
if (this.waitAnswerTimer) {
|
|
17180
|
+
this.endWaitAnswer();
|
|
17181
|
+
}
|
|
17192
17182
|
this.isWaitAnswer = true;
|
|
17193
17183
|
// const _that = this
|
|
17194
17184
|
this.waitAnswerTimer = setTimeout(function () {
|
|
17195
|
-
console.log("开始超时", _this5.waitAnswerTimer, _this5.waitSentenceId);
|
|
17196
17185
|
_this5.timeOutContent();
|
|
17197
|
-
},
|
|
17186
|
+
}, 3000);
|
|
17198
17187
|
},
|
|
17199
17188
|
endWaitAnswer: function endWaitAnswer() {
|
|
17200
|
-
console.log("爱你给出"
|
|
17189
|
+
console.log("爱你给出");
|
|
17201
17190
|
if (this.waitAnswerTimer) {
|
|
17202
|
-
console.log("清除计时器");
|
|
17203
17191
|
clearTimeout(this.waitAnswerTimer);
|
|
17204
17192
|
this.waitAnswerTimer = null;
|
|
17205
17193
|
}
|
|
17206
|
-
this
|
|
17207
|
-
// this.waitSentenceId = ""
|
|
17194
|
+
// this.waitSentenceId =
|
|
17208
17195
|
this.isWaitAnswer = false;
|
|
17209
17196
|
},
|
|
17210
17197
|
// 自动退出(静默20s) - 小宝助手
|
|
@@ -17248,7 +17235,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
17248
17235
|
_context2.next = 5;
|
|
17249
17236
|
break;
|
|
17250
17237
|
}
|
|
17251
|
-
console.log("
|
|
17238
|
+
console.log("fanhuile");
|
|
17252
17239
|
return _context2.abrupt("return");
|
|
17253
17240
|
case 5:
|
|
17254
17241
|
_context2.next = 7;
|
|
@@ -17296,29 +17283,22 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
17296
17283
|
onEnded && onEnded();
|
|
17297
17284
|
};
|
|
17298
17285
|
audio.addEventListener("ended", _onEndedHandler);
|
|
17299
|
-
if (!(content.includes('抱歉,请求已超时,请再试一下') && !_this7.isWaitAnswer)) {
|
|
17300
|
-
_context2.next = 20;
|
|
17301
|
-
break;
|
|
17302
|
-
}
|
|
17303
|
-
console.log("不用回答了啊");
|
|
17304
|
-
return _context2.abrupt("return");
|
|
17305
|
-
case 20:
|
|
17306
17286
|
onStart && onStart();
|
|
17307
17287
|
audio.play().catch(function (err) {
|
|
17308
17288
|
return console.warn('audio play failed', err);
|
|
17309
17289
|
});
|
|
17310
|
-
_context2.next =
|
|
17290
|
+
_context2.next = 25;
|
|
17311
17291
|
break;
|
|
17312
|
-
case
|
|
17313
|
-
_context2.prev =
|
|
17292
|
+
case 21:
|
|
17293
|
+
_context2.prev = 21;
|
|
17314
17294
|
_context2.t0 = _context2["catch"](0);
|
|
17315
17295
|
console.log("handlePlayTTS error", _context2.t0);
|
|
17316
17296
|
_this7.oneQuestionOneAnswer = true;
|
|
17317
|
-
case
|
|
17297
|
+
case 25:
|
|
17318
17298
|
case "end":
|
|
17319
17299
|
return _context2.stop();
|
|
17320
17300
|
}
|
|
17321
|
-
}, _callee2, null, [[0,
|
|
17301
|
+
}, _callee2, null, [[0, 21]]);
|
|
17322
17302
|
}))();
|
|
17323
17303
|
},
|
|
17324
17304
|
updateSessionId: function updateSessionId() {
|
|
@@ -17528,20 +17508,18 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
17528
17508
|
var commandName = par === null || par === void 0 ? void 0 : par.command_name;
|
|
17529
17509
|
console.log(par, standard_back, require_ack, data);
|
|
17530
17510
|
console.log(this.isWaitAnswer, sentence_id, this.waitAnswerTimer, this.waitSentenceId, sentence_id == this.waitSentenceId);
|
|
17531
|
-
if (this.isWaitAnswer && sentence_id && this.waitSentenceId && sentence_id == this.waitSentenceId) {
|
|
17532
|
-
|
|
17533
|
-
|
|
17534
|
-
|
|
17535
|
-
|
|
17536
|
-
|
|
17537
|
-
|
|
17538
|
-
|
|
17539
|
-
|
|
17540
|
-
}
|
|
17541
|
-
this.
|
|
17542
|
-
this.
|
|
17543
|
-
console.log("接受到了信息", this.isWaitAnswer, this.waitSentenceId);
|
|
17544
|
-
this.endWaitAnswer();
|
|
17511
|
+
// if (this.isWaitAnswer && sentence_id && this.waitSentenceId && sentence_id == this.waitSentenceId) {
|
|
17512
|
+
// if (require_ack) {
|
|
17513
|
+
// this.sendMessage({
|
|
17514
|
+
// request_id,
|
|
17515
|
+
// execute_state: 'ok',
|
|
17516
|
+
// execute_info: {}
|
|
17517
|
+
// })
|
|
17518
|
+
// }
|
|
17519
|
+
// return; // 超时直接拒收
|
|
17520
|
+
// }
|
|
17521
|
+
// this.endWaitAnswer()
|
|
17522
|
+
// this.isWaitAnswer = false
|
|
17545
17523
|
if (!this.selfCode.includes(commandName)) {
|
|
17546
17524
|
//发送指令
|
|
17547
17525
|
this.voiecContent = data.obj;
|
|
@@ -17748,7 +17726,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
17748
17726
|
var SpeechRecognitionvue_type_script_lang_js_injectCSSVars_ = function __injectCSSVars__() {
|
|
17749
17727
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(function (_vm, _setup) {
|
|
17750
17728
|
return {
|
|
17751
|
-
"
|
|
17729
|
+
"3df6575d": _vm.htmlFontSize
|
|
17752
17730
|
};
|
|
17753
17731
|
});
|
|
17754
17732
|
};
|
|
@@ -17760,9 +17738,9 @@ SpeechRecognitionvue_type_script_lang_js_default_.setup = SpeechRecognitionvue_t
|
|
|
17760
17738
|
/* harmony default export */ var SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js_default_);
|
|
17761
17739
|
;// ./package/SpeechRecognition/index.vue?vue&type=script&lang=js
|
|
17762
17740
|
/* harmony default export */ var package_SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js);
|
|
17763
|
-
// 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=
|
|
17764
|
-
var
|
|
17765
|
-
;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=
|
|
17741
|
+
// 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=76db6f54&prod&lang=scss&scoped=true
|
|
17742
|
+
var SpeechRecognitionvue_type_style_index_0_id_76db6f54_prod_lang_scss_scoped_true = __webpack_require__(505);
|
|
17743
|
+
;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=76db6f54&prod&lang=scss&scoped=true
|
|
17766
17744
|
|
|
17767
17745
|
;// ./package/SpeechRecognition/index.vue
|
|
17768
17746
|
|
|
@@ -17779,7 +17757,7 @@ var SpeechRecognition_component = normalizeComponent(
|
|
|
17779
17757
|
staticRenderFns,
|
|
17780
17758
|
false,
|
|
17781
17759
|
null,
|
|
17782
|
-
"
|
|
17760
|
+
"76db6f54",
|
|
17783
17761
|
null
|
|
17784
17762
|
|
|
17785
17763
|
)
|