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.
@@ -19,22 +19,6 @@ module.exports = "data:image/gif;base64,R0lGODlhIAAgALMAAP///7Ozs/v7+9bW1uHh4fLy
19
19
 
20
20
  /***/ }),
21
21
 
22
- /***/ 163:
23
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
24
-
25
- // style-loader: Adds some css to the DOM by adding a <style> tag
26
-
27
- // load the styles
28
- var content = __webpack_require__(687);
29
- if(content.__esModule) content = content.default;
30
- if(typeof content === 'string') content = [[module.id, content, '']];
31
- if(content.locals) module.exports = content.locals;
32
- // add the styles to the DOM
33
- var add = (__webpack_require__(258)/* ["default"] */ .A)
34
- var update = add("59889ce2", content, true, {"sourceMap":false,"shadowMode":false});
35
-
36
- /***/ }),
37
-
38
22
  /***/ 258:
39
23
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
40
24
 
@@ -432,6 +416,22 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADy
432
416
 
433
417
  /***/ }),
434
418
 
419
+ /***/ 379:
420
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
421
+
422
+ // style-loader: Adds some css to the DOM by adding a <style> tag
423
+
424
+ // load the styles
425
+ var content = __webpack_require__(487);
426
+ if(content.__esModule) content = content.default;
427
+ if(typeof content === 'string') content = [[module.id, content, '']];
428
+ if(content.locals) module.exports = content.locals;
429
+ // add the styles to the DOM
430
+ var add = (__webpack_require__(258)/* ["default"] */ .A)
431
+ var update = add("9c79127c", content, true, {"sourceMap":false,"shadowMode":false});
432
+
433
+ /***/ }),
434
+
435
435
  /***/ 462:
436
436
  /***/ (function(module) {
437
437
 
@@ -456,19 +456,7 @@ var update = add("bbdc8f9c", content, true, {"sourceMap":false,"shadowMode":fals
456
456
 
457
457
  /***/ }),
458
458
 
459
- /***/ 601:
460
- /***/ (function(module) {
461
-
462
- "use strict";
463
-
464
-
465
- module.exports = function (i) {
466
- return i[1];
467
- };
468
-
469
- /***/ }),
470
-
471
- /***/ 687:
459
+ /***/ 487:
472
460
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
473
461
 
474
462
  "use strict";
@@ -482,11 +470,23 @@ __webpack_require__.r(__webpack_exports__);
482
470
 
483
471
  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
472
  // Module
485
- ___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)}", ""]);
473
+ ___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)}", ""]);
486
474
  // Exports
487
475
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
488
476
 
489
477
 
478
+ /***/ }),
479
+
480
+ /***/ 601:
481
+ /***/ (function(module) {
482
+
483
+ "use strict";
484
+
485
+
486
+ module.exports = function (i) {
487
+ return i[1];
488
+ };
489
+
490
490
  /***/ }),
491
491
 
492
492
  /***/ 780:
@@ -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=334cce94&scoped=true
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=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=334cce94&scoped=true
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__(950);
@@ -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: 5 * 1000,
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 = 47;
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
- _this3.waitSentenceId = formData.sentence_id;
17070
- _context.next = 17;
17062
+ _context.next = 16;
17071
17063
  return Tx.speech2speech2(formData);
17072
- case 17:
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 = 34;
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 = 28;
17074
+ _context.next = 27;
17083
17075
  break;
17084
17076
  }
17085
17077
  _content = standard_back || "抱歉,我还在学习中";
17086
17078
  if (!(command_type === "地理实体页面定位" && _content != "抱歉,我还在学习中")) {
17087
- _context.next = 26;
17079
+ _context.next = 25;
17088
17080
  break;
17089
17081
  }
17090
17082
  return _context.abrupt("return");
17091
- case 26:
17092
- _context.next = 29;
17083
+ case 25:
17084
+ _context.next = 28;
17093
17085
  break;
17094
- case 28:
17086
+ case 27:
17095
17087
  _content = "抱歉,我还在学习中";
17096
- case 29:
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 = 35;
17110
+ _context.next = 34;
17119
17111
  break;
17120
- case 34:
17112
+ case 33:
17121
17113
  if (code === 300) {
17122
- // this.waitSentenceId = formData.sentence_id
17114
+ _this3.waitSentenceId = formData.sentence_id;
17123
17115
  console.log("设置超时", _this3.waitSentenceId);
17124
17116
  // this.timeOutContent()
17125
- _this3.startWaitAnswer();
17117
+ // this.startWaitAnswer()
17126
17118
  }
17127
- case 35:
17128
- _context.next = 43;
17119
+ case 34:
17120
+ _context.next = 42;
17129
17121
  break;
17130
- case 37:
17131
- _context.prev = 37;
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
- // this.waitSentenceId = formData.sentence_id
17129
+ _this3.waitSentenceId = formData.sentence_id;
17138
17130
  _this3.timeOutContent();
17139
17131
  } else {
17140
17132
  _this3.oneQuestionOneAnswer = true;
17141
17133
  }
17142
- case 43:
17143
- _context.prev = 43;
17144
- return _context.finish(43);
17145
- case 45:
17146
- _context.next = 48;
17134
+ case 42:
17135
+ _context.prev = 42;
17136
+ return _context.finish(42);
17137
+ case 44:
17138
+ _context.next = 47;
17147
17139
  break;
17148
- case 47:
17140
+ case 46:
17149
17141
  if (type === "FROM") {
17150
17142
  _this3.handlePlayTTS({
17151
17143
  content: content
17152
17144
  });
17153
17145
  }
17154
- case 48:
17146
+ case 47:
17155
17147
  _this3.wakeUpTime = new Date().getTime();
17156
- case 49:
17148
+ case 48:
17157
17149
  case "end":
17158
17150
  return _context.stop();
17159
17151
  }
17160
- }, _callee, null, [[13, 37, 43, 45]]);
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
- // if (this.waitAnswerTimer) {
17190
- // this.endWaitAnswer()
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
- }, 2000);
17186
+ }, 3000);
17198
17187
  },
17199
17188
  endWaitAnswer: function endWaitAnswer() {
17200
- console.log("爱你给出", this.waitSentenceId, this.isWaitAnswer, "eeeeeeee");
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.$set(this, 'waitSentenceId', '');
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 = 28;
17290
+ _context2.next = 25;
17311
17291
  break;
17312
- case 24:
17313
- _context2.prev = 24;
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 28:
17297
+ case 25:
17318
17298
  case "end":
17319
17299
  return _context2.stop();
17320
17300
  }
17321
- }, _callee2, null, [[0, 24]]);
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
- if (require_ack) {
17533
- this.sendMessage({
17534
- request_id: request_id,
17535
- execute_state: 'ok',
17536
- execute_info: {}
17537
- });
17538
- }
17539
- return; // 超时直接拒收
17540
- }
17541
- this.isWaitAnswer = false;
17542
- this.waitSentenceId = "";
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
- "7fff0d3d": _vm.htmlFontSize
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-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=334cce94&prod&lang=scss&scoped=true
17764
- var SpeechRecognitionvue_type_style_index_0_id_334cce94_prod_lang_scss_scoped_true = __webpack_require__(163);
17765
- ;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=334cce94&prod&lang=scss&scoped=true
17741
+ // 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=76db6f54&prod&lang=scss&scoped=true
17742
+ var SpeechRecognitionvue_type_style_index_0_id_76db6f54_prod_lang_scss_scoped_true = __webpack_require__(379);
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
- "334cce94",
17760
+ "76db6f54",
17783
17761
  null
17784
17762
 
17785
17763
  )