yxspeechrecognition 1.7.4 → 1.7.6
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 +54 -46
- package/YxSpeechRecognition.common.js.map +1 -1
- package/YxSpeechRecognition.umd.js +51 -43
- 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
|
@@ -403,52 +403,31 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACq
|
|
|
403
403
|
|
|
404
404
|
/***/ }),
|
|
405
405
|
|
|
406
|
-
/***/
|
|
407
|
-
/***/ (function(module) {
|
|
408
|
-
|
|
409
|
-
"use strict";
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
module.exports = function (i) {
|
|
413
|
-
return i[1];
|
|
414
|
-
};
|
|
415
|
-
|
|
416
|
-
/***/ }),
|
|
417
|
-
|
|
418
|
-
/***/ 645:
|
|
406
|
+
/***/ 548:
|
|
419
407
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
420
408
|
|
|
421
409
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
422
410
|
|
|
423
411
|
// load the styles
|
|
424
|
-
var content = __webpack_require__(
|
|
412
|
+
var content = __webpack_require__(912);
|
|
425
413
|
if(content.__esModule) content = content.default;
|
|
426
414
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
427
415
|
if(content.locals) module.exports = content.locals;
|
|
428
416
|
// add the styles to the DOM
|
|
429
417
|
var add = (__webpack_require__(258)/* ["default"] */ .A)
|
|
430
|
-
var update = add("
|
|
418
|
+
var update = add("269a7c1e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
431
419
|
|
|
432
420
|
/***/ }),
|
|
433
421
|
|
|
434
|
-
/***/
|
|
435
|
-
/***/ (function(module
|
|
422
|
+
/***/ 601:
|
|
423
|
+
/***/ (function(module) {
|
|
436
424
|
|
|
437
425
|
"use strict";
|
|
438
|
-
__webpack_require__.r(__webpack_exports__);
|
|
439
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
|
|
440
|
-
/* 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__);
|
|
441
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
|
|
442
|
-
/* 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__);
|
|
443
|
-
// Imports
|
|
444
|
-
|
|
445
426
|
|
|
446
|
-
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()));
|
|
447
|
-
// Module
|
|
448
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .box[data-v-00583cda] ::-webkit-scrollbar{width:0;height:0;display:none;background:transparent}.yx-speech-recognition .box[data-v-00583cda]{display:grid;grid-template-rows:max-content 1fr;position:absolute;pointer-events:all;background:rgba(2,11,72,.6);border-radius:calc(var(--765c90e1)*.57);z-index:20}.yx-speech-recognition .box .title[data-v-00583cda]{display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(var(--765c90e1)*2.29);padding:0 calc(var(--765c90e1)*.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(--765c90e1)*.57) calc(var(--765c90e1)*.57) 0 0}.yx-speech-recognition .box .title-icon[data-v-00583cda]{display:flex;align-items:center;gap:calc(var(--765c90e1)*.38)}.yx-speech-recognition .box .title-icon img[data-v-00583cda]{width:calc(var(--765c90e1)*1);height:calc(var(--765c90e1)*1)}.yx-speech-recognition .box .title-icon span[data-v-00583cda]{font-size:calc(var(--765c90e1)*1.14);font-weight:800;color:#fff}.yx-speech-recognition .box .title .close[data-v-00583cda]{cursor:pointer}.yx-speech-recognition .box .title .close img[data-v-00583cda]{width:calc(var(--765c90e1)*1.1)}.yx-speech-recognition .box .content[data-v-00583cda]{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-00583cda]{margin-top:calc(var(--765c90e1)*7.5);font-size:calc(var(--765c90e1)*1)}.yx-speech-recognition .box .message-list[data-v-00583cda]{overflow:hidden;padding:calc(var(--765c90e1)*.58);box-sizing:border-box;padding-right:calc(var(--765c90e1)*.29)}.yx-speech-recognition .box .message-list-inner[data-v-00583cda]{height:100%;display:flex;flex-direction:column;gap:calc(var(--765c90e1)*.53);overflow-y:overlay;white-space:pre-line}.yx-speech-recognition .displayAssistant[data-v-00583cda]{position:absolute;pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .displayAssistant .icon1[data-v-00583cda]{width:calc(var(--765c90e1)*3.76);height:calc(var(--765c90e1)*3.88)}.yx-speech-recognition .displayAssistant .icon1 img[data-v-00583cda]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox[data-v-00583cda]{position:absolute;top:0;left:calc(var(--765c90e1)*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-00583cda]{font-size:calc(var(--765c90e1)*.8);display:flex;align-items:center}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon[data-v-00583cda]{width:calc(var(--765c90e1)*1.26);height:calc(var(--765c90e1)*1.28);margin-right:calc(var(--765c90e1)*.4)}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon img[data-v-00583cda]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox .box-container[data-v-00583cda]{border-top:calc(var(--765c90e1)*.1) solid rgba(117,178,255,.61);margin-top:calc(var(--765c90e1)*.2)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box[data-v-00583cda]{display:flex;overflow:hidden;margin:10px 0}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(2) .item-box-number[data-v-00583cda]{background-color:#ff4e4e}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(3) .item-box-number[data-v-00583cda]{background-color:#ff6e1d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(4) .item-box-number[data-v-00583cda]{background-color:#4fc94d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-index[data-v-00583cda]{flex-shrink:0;width:calc(var(--765c90e1)*1.2);font-size:calc(var(--765c90e1)*.9);height:calc(var(--765c90e1)*1.2);background-color:rgba(117,178,255,.61);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:calc(var(--765c90e1)*.1);margin-right:calc(var(--765c90e1)*.1)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-content[data-v-00583cda]{overflow:hidden}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-label[data-v-00583cda]{display:inline-block;width:auto;font-size:calc(var(--765c90e1)*.9);border-radius:5px;padding:0 8px}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-descriptions[data-v-00583cda]{font-size:calc(var(--765c90e1)*.9);color:hsla(0,0%,100%,.74);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yx-speech-recognition .displayAssistant .bubbleBox span[data-v-00583cda]{display:block;max-width:calc(var(--765c90e1)*19.21);font-size:calc(var(--765c90e1)*1);color:#fff;word-break:break-all;white-space:pre-line}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-00583cda],.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-00583cda]{border-radius:calc(var(--765c90e1)*.27);padding:calc(var(--765c90e1)*.38);box-sizing:border-box}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-00583cda]{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-00583cda]{max-width:calc(var(--765c90e1)*9.21)}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-00583cda]{margin-bottom:15px;background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--765c90e1)*.57) 0 #d4d9ff}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-00583cda]:after,.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-00583cda]:before{content:\"\";display:block;position:absolute}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-00583cda]:before{border-top:calc(var(--765c90e1)*.25) solid transparent;border-bottom:calc(var(--765c90e1)*.25) solid transparent;border-right:calc(var(--765c90e1)*.5) solid rgba(70,61,255,.85);transform:translateX(calc(var(--765c90e1)*-.46));left:0;top:calc(var(--765c90e1)*.48)}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-00583cda]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--765c90e1)*.57) 0 #fff3b4}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-00583cda]:before{border-right:calc(var(--765c90e1)*.5) solid transparent}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-00583cda]:after{border-top:calc(var(--765c90e1)*.25) solid transparent;border-bottom:calc(var(--765c90e1)*.25) solid transparent;border-right:calc(var(--765c90e1)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--765c90e1)*-.46));left:0;top:calc(var(--765c90e1)*.48)}.inputContainer[data-v-00583cda]{display:flex;flex:1;justify-content:space-between;align-items:center;background-color:rgba(2,11,72,.3);border-radius:calc(var(--765c90e1)*.57)}.inputContainer .inputBox[data-v-00583cda]{margin:4px;flex:1;height:calc(var(--765c90e1)*1.8);border-color:transparent;background-color:transparent;border-radius:calc(var(--765c90e1)*.57);font-size:calc(var(--765c90e1)*1);color:#fff;padding:0 20px;outline:none}.inputContainer .inputButton[data-v-00583cda]{margin-right:20px;flex-shrink:0}", ""]);
|
|
449
|
-
// Exports
|
|
450
|
-
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
451
427
|
|
|
428
|
+
module.exports = function (i) {
|
|
429
|
+
return i[1];
|
|
430
|
+
};
|
|
452
431
|
|
|
453
432
|
/***/ }),
|
|
454
433
|
|
|
@@ -487,6 +466,27 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABX
|
|
|
487
466
|
"use strict";
|
|
488
467
|
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+XwP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vJ1qCEvGqS/tBTFRTPIEUa7YQN9Yp/HWVN0hGo1qQTpeFqhwlLk5uuijdFqguAy9hnPmrxpKjnLqaQVsERInootjITZYw7I3+Lcnw7pYhKdprjsmZIIwVI3k2HzdIYFtTLceTngQ0SoKGxZoqRukGSTMytsXu4ViHsS/IV9+EVjjDtsWekUySY8PdZvKVoQDI9DgBuy+REEikxXLftFegxP6JVYqgoF+ZhcFW9oq2hK0wyLIaFnSEGeWdfsfRcJqE2uiq+wJmB/aFqBFKQhaZpq6YqLAYwr3xbUVq4LGmIjdLvlowf3GtO8E9Y2fSagDzahd/DX69atSrNlmhfzhmNmO3kaSN0S3A1/F3SbGQf4wZxKHzwrrPUJPBfkntNXMOjsoEylm5P/iZk6+DRM4M0g+Ip2AIEyE/XkP16ucIzqg3bHcK9uAph/Rsepwx11aOUKc4Eld0kjw9a+JT3hLVe6lnKRAgtWEuorVclp4AvhiWllMfShJSG8iNU1pyzVAraFN4OeGApdAnNdaBHLXHbLGckIQWKZL8ATF8VhmTGSYy67mQuFncPzWcBxe8lz7gmYuKz54U4oFP5baTNxYGw2o+K9q+VXw2NP8ezYQKIobf5/xVi1fLw/WD7e/7fl4z8i0wTTxNNsyQAAAABJRU5ErkJggg==";
|
|
489
468
|
|
|
469
|
+
/***/ }),
|
|
470
|
+
|
|
471
|
+
/***/ 912:
|
|
472
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
473
|
+
|
|
474
|
+
"use strict";
|
|
475
|
+
__webpack_require__.r(__webpack_exports__);
|
|
476
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
|
|
477
|
+
/* 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__);
|
|
478
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
|
|
479
|
+
/* 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__);
|
|
480
|
+
// Imports
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
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()));
|
|
484
|
+
// Module
|
|
485
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .box[data-v-bf98a528] ::-webkit-scrollbar{width:0;height:0;display:none;background:transparent}.yx-speech-recognition .box[data-v-bf98a528]{display:grid;grid-template-rows:max-content 1fr;position:absolute;pointer-events:all;background:rgba(2,11,72,.6);border-radius:calc(var(--3aabf14e)*.57);z-index:20}.yx-speech-recognition .box .title[data-v-bf98a528]{display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(var(--3aabf14e)*2.29);padding:0 calc(var(--3aabf14e)*.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(--3aabf14e)*.57) calc(var(--3aabf14e)*.57) 0 0}.yx-speech-recognition .box .title-icon[data-v-bf98a528]{display:flex;align-items:center;gap:calc(var(--3aabf14e)*.38)}.yx-speech-recognition .box .title-icon img[data-v-bf98a528]{width:calc(var(--3aabf14e)*1);height:calc(var(--3aabf14e)*1)}.yx-speech-recognition .box .title-icon span[data-v-bf98a528]{font-size:calc(var(--3aabf14e)*1.14);font-weight:800;color:#fff}.yx-speech-recognition .box .title .close[data-v-bf98a528]{cursor:pointer}.yx-speech-recognition .box .title .close img[data-v-bf98a528]{width:calc(var(--3aabf14e)*1.1)}.yx-speech-recognition .box .content[data-v-bf98a528]{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-bf98a528]{margin-top:calc(var(--3aabf14e)*7.5);font-size:calc(var(--3aabf14e)*1)}.yx-speech-recognition .box .message-list[data-v-bf98a528]{overflow:hidden;padding:calc(var(--3aabf14e)*.58);box-sizing:border-box;padding-right:calc(var(--3aabf14e)*.29)}.yx-speech-recognition .box .message-list-inner[data-v-bf98a528]{height:100%;display:flex;flex-direction:column;gap:calc(var(--3aabf14e)*.53);overflow-y:overlay;white-space:pre-line}.yx-speech-recognition .displayAssistant[data-v-bf98a528]{position:absolute;pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .displayAssistant .icon1[data-v-bf98a528]{width:calc(var(--3aabf14e)*3.76);height:calc(var(--3aabf14e)*3.88)}.yx-speech-recognition .displayAssistant .icon1 img[data-v-bf98a528]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox[data-v-bf98a528]{position:absolute;top:0;left:calc(var(--3aabf14e)*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-bf98a528]{font-size:calc(var(--3aabf14e)*.8);display:flex;align-items:center}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon[data-v-bf98a528]{width:calc(var(--3aabf14e)*1.26);height:calc(var(--3aabf14e)*1.28);margin-right:calc(var(--3aabf14e)*.4)}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon img[data-v-bf98a528]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox .box-container[data-v-bf98a528]{border-top:calc(var(--3aabf14e)*.1) solid rgba(117,178,255,.61);margin-top:calc(var(--3aabf14e)*.2)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box[data-v-bf98a528]{display:flex;overflow:hidden;margin:10px 0}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(2) .item-box-number[data-v-bf98a528]{background-color:#ff4e4e}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(3) .item-box-number[data-v-bf98a528]{background-color:#ff6e1d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(4) .item-box-number[data-v-bf98a528]{background-color:#4fc94d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-index[data-v-bf98a528]{flex-shrink:0;width:calc(var(--3aabf14e)*1.2);font-size:calc(var(--3aabf14e)*.9);height:calc(var(--3aabf14e)*1.2);background-color:rgba(117,178,255,.61);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:calc(var(--3aabf14e)*.1);margin-right:calc(var(--3aabf14e)*.1)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-content[data-v-bf98a528]{overflow:hidden}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-label[data-v-bf98a528]{display:inline-block;width:auto;font-size:calc(var(--3aabf14e)*.9);border-radius:5px;padding:0 8px}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-descriptions[data-v-bf98a528]{font-size:calc(var(--3aabf14e)*.9);color:hsla(0,0%,100%,.74);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yx-speech-recognition .displayAssistant .bubbleBox span[data-v-bf98a528]{display:block;max-width:calc(var(--3aabf14e)*19.21);font-size:calc(var(--3aabf14e)*1);color:#fff;word-break:break-all;white-space:pre-line}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-bf98a528],.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-bf98a528]{border-radius:calc(var(--3aabf14e)*.27);padding:calc(var(--3aabf14e)*.38);box-sizing:border-box}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-bf98a528]{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-bf98a528]{max-width:calc(var(--3aabf14e)*9.21)}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-bf98a528]{margin-bottom:15px;background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--3aabf14e)*.57) 0 #d4d9ff}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-bf98a528]:after,.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-bf98a528]:before{content:\"\";display:block;position:absolute}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-bf98a528]:before{border-top:calc(var(--3aabf14e)*.25) solid transparent;border-bottom:calc(var(--3aabf14e)*.25) solid transparent;border-right:calc(var(--3aabf14e)*.5) solid rgba(70,61,255,.85);transform:translateX(calc(var(--3aabf14e)*-.46));left:0;top:calc(var(--3aabf14e)*.48)}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-bf98a528]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--3aabf14e)*.57) 0 #fff3b4}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-bf98a528]:before{border-right:calc(var(--3aabf14e)*.5) solid transparent}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-bf98a528]:after{border-top:calc(var(--3aabf14e)*.25) solid transparent;border-bottom:calc(var(--3aabf14e)*.25) solid transparent;border-right:calc(var(--3aabf14e)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--3aabf14e)*-.46));left:0;top:calc(var(--3aabf14e)*.48)}.inputContainer[data-v-bf98a528]{display:flex;flex:1;justify-content:space-between;align-items:center;background-color:rgba(2,11,72,.3);border-radius:calc(var(--3aabf14e)*.57)}.inputContainer .inputBox[data-v-bf98a528]{margin:4px;flex:1;height:calc(var(--3aabf14e)*1.8);border-color:transparent;background-color:transparent;border-radius:calc(var(--3aabf14e)*.57);font-size:calc(var(--3aabf14e)*1);color:#fff;padding:0 20px;outline:none}.inputContainer .inputButton[data-v-bf98a528]{margin-right:20px;flex-shrink:0}", ""]);
|
|
486
|
+
// Exports
|
|
487
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
488
|
+
|
|
489
|
+
|
|
490
490
|
/***/ }),
|
|
491
491
|
|
|
492
492
|
/***/ 928:
|
|
@@ -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-82.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-82.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=bf98a528&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; }
|
|
@@ -1062,7 +1062,7 @@ var staticRenderFns = [function () {
|
|
|
1062
1062
|
}, [_c('span', [_vm._v("Hi,我是小安,有问题,尽管问。")])]);
|
|
1063
1063
|
}];
|
|
1064
1064
|
|
|
1065
|
-
;// ./package/SpeechRecognition/index.vue?vue&type=template&id=
|
|
1065
|
+
;// ./package/SpeechRecognition/index.vue?vue&type=template&id=bf98a528&scoped=true
|
|
1066
1066
|
|
|
1067
1067
|
// EXTERNAL MODULE: ./package/SpeechRecognition/utils/speech/cryptojs.js
|
|
1068
1068
|
var cryptojs = __webpack_require__(950);
|
|
@@ -1385,13 +1385,14 @@ var NewCredential = /*#__PURE__*/function () {
|
|
|
1385
1385
|
return v.toString(16);
|
|
1386
1386
|
});
|
|
1387
1387
|
}; // const serverTime = await getServerTime()
|
|
1388
|
-
params['secretid'] = this.config.secretid || ''
|
|
1388
|
+
// params['secretid'] = this.config.secretid || ''
|
|
1389
1389
|
params['engine_model_type'] = this.query.engine_model_type || '16k_zh';
|
|
1390
1390
|
// params['timestamp'] = parseInt(serverTime) || Math.round(time / 1000)
|
|
1391
1391
|
params['expired'] = Math.round(time / 1000) + 24 * 60 * 60;
|
|
1392
1392
|
params['nonce'] = Math.round(time / 100000);
|
|
1393
1393
|
params['voice_id'] = guid();
|
|
1394
1394
|
params['noise_threshold'] = '1'; // 降噪处理
|
|
1395
|
+
params['customization_id'] = '6d5793a8f36911ef959406b1cf581094'; //自学习模型id
|
|
1395
1396
|
|
|
1396
1397
|
// 非必填参数
|
|
1397
1398
|
this.query.hasOwnProperty('voice_format') && (params['voice_format'] = this.query.voice_format);
|
|
@@ -1403,9 +1404,10 @@ var NewCredential = /*#__PURE__*/function () {
|
|
|
1403
1404
|
this.query.hasOwnProperty('convert_num_mode') && (params['convert_num_mode'] = this.query.convert_num_mode);
|
|
1404
1405
|
this.query.hasOwnProperty('word_info') && (params['word_info'] = this.query.word_info);
|
|
1405
1406
|
this.query.hasOwnProperty('vad_silence_time') && (params['vad_silence_time'] = this.query.vad_silence_time);
|
|
1407
|
+
this.query.hasOwnProperty('result_text_format') && (params['result_text_format'] = this.query.result_text_format);
|
|
1406
1408
|
this.config.token && (params['token'] = this.config.token);
|
|
1407
1409
|
return _context2.abrupt("return", params);
|
|
1408
|
-
case
|
|
1410
|
+
case 23:
|
|
1409
1411
|
case "end":
|
|
1410
1412
|
return _context2.stop();
|
|
1411
1413
|
}
|
|
@@ -1488,7 +1490,7 @@ var SpeechRecognizer = /*#__PURE__*/function () {
|
|
|
1488
1490
|
return asr.getSignStr();
|
|
1489
1491
|
case 3:
|
|
1490
1492
|
signStr = _context4.sent;
|
|
1491
|
-
return _context4.abrupt("return",
|
|
1493
|
+
return _context4.abrupt("return", signStr);
|
|
1492
1494
|
case 5:
|
|
1493
1495
|
case "end":
|
|
1494
1496
|
return _context4.stop();
|
|
@@ -1593,7 +1595,12 @@ var SpeechRecognizer = /*#__PURE__*/function () {
|
|
|
1593
1595
|
return;
|
|
1594
1596
|
} else {
|
|
1595
1597
|
// 去掉英文
|
|
1596
|
-
|
|
1598
|
+
// if (response.result)
|
|
1599
|
+
// if (response.result.voice_text_str)
|
|
1600
|
+
// response.result.voice_text_str = response.result.voice_text_str.replace(
|
|
1601
|
+
// /[a-zA-Z]/g,
|
|
1602
|
+
// ''
|
|
1603
|
+
// )
|
|
1597
1604
|
if (!_this.isSignSuccess) {
|
|
1598
1605
|
_this.OnRecognitionStart(response);
|
|
1599
1606
|
_this.isSignSuccess = true;
|
|
@@ -17373,11 +17380,12 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
17373
17380
|
hotword_id: "1a59c3abe45e11ef959406b1cf581094",
|
|
17374
17381
|
// 热词
|
|
17375
17382
|
needvad: 1,
|
|
17376
|
-
filter_dirty:
|
|
17377
|
-
filter_modal:
|
|
17383
|
+
filter_dirty: 1,
|
|
17384
|
+
filter_modal: 2,
|
|
17378
17385
|
filter_punc: 0,
|
|
17379
17386
|
convert_num_mode: 1,
|
|
17380
|
-
|
|
17387
|
+
result_text_format: 0,
|
|
17388
|
+
word_info: 2,
|
|
17381
17389
|
vad_silence_time: 500
|
|
17382
17390
|
};
|
|
17383
17391
|
var webAudioSpeechRecognizer = new WebAudioSpeechRecognizer(params);
|
|
@@ -17739,7 +17747,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
17739
17747
|
var SpeechRecognitionvue_type_script_lang_js_injectCSSVars_ = function __injectCSSVars__() {
|
|
17740
17748
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(function (_vm, _setup) {
|
|
17741
17749
|
return {
|
|
17742
|
-
"
|
|
17750
|
+
"3aabf14e": _vm.htmlFontSize
|
|
17743
17751
|
};
|
|
17744
17752
|
});
|
|
17745
17753
|
};
|
|
@@ -17751,9 +17759,9 @@ SpeechRecognitionvue_type_script_lang_js_default_.setup = SpeechRecognitionvue_t
|
|
|
17751
17759
|
/* harmony default export */ var SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js_default_);
|
|
17752
17760
|
;// ./package/SpeechRecognition/index.vue?vue&type=script&lang=js
|
|
17753
17761
|
/* harmony default export */ var package_SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js);
|
|
17754
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=
|
|
17755
|
-
var
|
|
17756
|
-
;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=
|
|
17762
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=bf98a528&prod&lang=scss&scoped=true
|
|
17763
|
+
var SpeechRecognitionvue_type_style_index_0_id_bf98a528_prod_lang_scss_scoped_true = __webpack_require__(548);
|
|
17764
|
+
;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=bf98a528&prod&lang=scss&scoped=true
|
|
17757
17765
|
|
|
17758
17766
|
;// ./package/SpeechRecognition/index.vue
|
|
17759
17767
|
|
|
@@ -17770,7 +17778,7 @@ var SpeechRecognition_component = normalizeComponent(
|
|
|
17770
17778
|
staticRenderFns,
|
|
17771
17779
|
false,
|
|
17772
17780
|
null,
|
|
17773
|
-
"
|
|
17781
|
+
"bf98a528",
|
|
17774
17782
|
null
|
|
17775
17783
|
|
|
17776
17784
|
)
|