yxspeechrecognition 1.9.8 → 2.0.0
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 +874 -111
- package/YxSpeechRecognition.common.js.map +1 -1
- package/YxSpeechRecognition.umd.js +871 -108
- 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
|
@@ -27,40 +27,19 @@ module.exports = "data:image/gif;base64,R0lGODlhIAAgALMAAP///7Ozs/v7+9bW1uHh4fLy
|
|
|
27
27
|
|
|
28
28
|
/***/ }),
|
|
29
29
|
|
|
30
|
-
/***/
|
|
31
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
32
|
-
|
|
33
|
-
"use strict";
|
|
34
|
-
__webpack_require__.r(__webpack_exports__);
|
|
35
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
|
|
36
|
-
/* 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__);
|
|
37
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
|
|
38
|
-
/* 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__);
|
|
39
|
-
// Imports
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
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()));
|
|
43
|
-
// Module
|
|
44
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .box[data-v-afd252f0] ::-webkit-scrollbar{width:0;height:0;display:none;background:transparent}.yx-speech-recognition .box[data-v-afd252f0]{display:grid;grid-template-rows:max-content 1fr;position:absolute;pointer-events:all;background:rgba(2,11,72,.6);border-radius:calc(var(--0de0414b)*.57);z-index:20}.yx-speech-recognition .box .title[data-v-afd252f0]{display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(var(--0de0414b)*2.29);padding:0 calc(var(--0de0414b)*.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(--0de0414b)*.57) calc(var(--0de0414b)*.57) 0 0}.yx-speech-recognition .box .title-icon[data-v-afd252f0]{display:flex;align-items:center;gap:calc(var(--0de0414b)*.38)}.yx-speech-recognition .box .title-icon img[data-v-afd252f0]{width:calc(var(--0de0414b)*1);height:calc(var(--0de0414b)*1)}.yx-speech-recognition .box .title-icon span[data-v-afd252f0]{font-size:calc(var(--0de0414b)*1.14);font-weight:800;color:#fff}.yx-speech-recognition .box .title .close[data-v-afd252f0]{cursor:pointer}.yx-speech-recognition .box .title .close img[data-v-afd252f0]{width:calc(var(--0de0414b)*1.1)}.yx-speech-recognition .box .content[data-v-afd252f0]{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-afd252f0]{margin-top:calc(var(--0de0414b)*7.5);font-size:calc(var(--0de0414b)*1)}.yx-speech-recognition .box .message-list[data-v-afd252f0]{overflow:hidden;padding:calc(var(--0de0414b)*.58);box-sizing:border-box;padding-right:calc(var(--0de0414b)*.29)}.yx-speech-recognition .box .message-list-inner[data-v-afd252f0]{height:100%;display:flex;flex-direction:column;gap:calc(var(--0de0414b)*.53);overflow-y:overlay}.yx-speech-recognition .displayAssistant[data-v-afd252f0]{position:absolute;pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .displayAssistant .icon1[data-v-afd252f0]{width:calc(var(--0de0414b)*3.76);height:calc(var(--0de0414b)*3.88)}.yx-speech-recognition .displayAssistant .icon1 img[data-v-afd252f0]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox[data-v-afd252f0]{position:absolute;top:0;left:calc(var(--0de0414b)*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-afd252f0]{font-size:calc(var(--0de0414b)*.8);display:flex;align-items:center}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon[data-v-afd252f0]{width:calc(var(--0de0414b)*1.26);height:calc(var(--0de0414b)*1.28);margin-right:calc(var(--0de0414b)*.4)}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon img[data-v-afd252f0]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox .box-container[data-v-afd252f0]{border-top:calc(var(--0de0414b)*.1) solid rgba(117,178,255,.61);margin-top:calc(var(--0de0414b)*.2)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box[data-v-afd252f0]{display:flex;overflow:hidden;margin:10px 0}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(2) .item-box-number[data-v-afd252f0]{background-color:#ff4e4e}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(3) .item-box-number[data-v-afd252f0]{background-color:#ff6e1d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(4) .item-box-number[data-v-afd252f0]{background-color:#4fc94d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-index[data-v-afd252f0]{flex-shrink:0;width:calc(var(--0de0414b)*1.2);font-size:calc(var(--0de0414b)*.9);height:calc(var(--0de0414b)*1.2);background-color:rgba(117,178,255,.61);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:calc(var(--0de0414b)*.1);margin-right:calc(var(--0de0414b)*.1)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-content[data-v-afd252f0]{overflow:hidden}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-label[data-v-afd252f0]{display:inline-block;width:auto;font-size:calc(var(--0de0414b)*.9);border-radius:5px;padding:0 8px}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-descriptions[data-v-afd252f0]{font-size:calc(var(--0de0414b)*.9);color:hsla(0,0%,100%,.74);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yx-speech-recognition .displayAssistant .bubbleBox span[data-v-afd252f0]{display:block;max-width:calc(var(--0de0414b)*19.21);font-size:calc(var(--0de0414b)*1);color:#fff;word-break:break-all}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-afd252f0],.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-afd252f0]{border-radius:calc(var(--0de0414b)*.27);padding:calc(var(--0de0414b)*.38);box-sizing:border-box}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-afd252f0]{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-afd252f0]{max-width:calc(var(--0de0414b)*9.21)}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-afd252f0]{margin-bottom:15px;background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--0de0414b)*.57) 0 #d4d9ff;max-height:1200px;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-afd252f0]::-webkit-scrollbar{display:none;width:0;height:0}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-afd252f0]:after,.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-afd252f0]:before{content:\"\";display:block;position:absolute}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-afd252f0]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--0de0414b)*.57) 0 #fff3b4}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-afd252f0]:before{border-right:calc(var(--0de0414b)*.5) solid transparent}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-afd252f0]:after{border-top:calc(var(--0de0414b)*.25) solid transparent;border-bottom:calc(var(--0de0414b)*.25) solid transparent;border-right:calc(var(--0de0414b)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--0de0414b)*-.46));left:0;top:calc(var(--0de0414b)*.48)}.inputContainer[data-v-afd252f0]{display:flex;flex:1;justify-content:space-between;align-items:center;background-color:rgba(2,11,72,.3);border-radius:calc(var(--0de0414b)*.57)}.inputContainer .inputBox[data-v-afd252f0]{margin:4px;flex:1;height:calc(var(--0de0414b)*1.8);border-color:transparent;background-color:transparent;border-radius:calc(var(--0de0414b)*.57);font-size:calc(var(--0de0414b)*1);color:#fff;padding:0 20px;outline:none}.inputContainer .inputButton[data-v-afd252f0]{margin-right:20px;flex-shrink:0}.dropdown[data-v-afd252f0]{display:flex;position:relative;width:180px;align-items:center;justify-content:center;font-size:calc(var(--0de0414b)*.8);color:#fff;padding:5px 15px;margin:10px 30px 10px;border-radius:calc(var(--0de0414b)*.18);background:rgba(51,136,255,.52)}.dropdown .dropdown-btn[data-v-afd252f0]{cursor:pointer}.dropdown .dropdown-options[data-v-afd252f0]{position:absolute;bottom:100%;left:0;right:0;border-radius:8px;margin-bottom:10px;width:100%;min-width:160px;background-color:rgba(13,23,135,.85);box-shadow:0 4px 15px rgba(106,17,203,.3);z-index:10;max-height:400px;overflow-y:auto}.dropdown .dropdown-item[data-v-afd252f0]{padding:5px 20px;cursor:pointer;transition:background .2s}.dropdown .dropdown-item[data-v-afd252f0]:hover{background-color:rgba(51,136,255,.3)}.dropdown .dropdown-item.selected[data-v-afd252f0]{background-color:rgba(51,136,255,.51);color:hsla(0,0%,100%,.9)}", ""]);
|
|
45
|
-
// Exports
|
|
46
|
-
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
/***/ }),
|
|
50
|
-
|
|
51
|
-
/***/ 149:
|
|
30
|
+
/***/ 156:
|
|
52
31
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
53
32
|
|
|
54
33
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
55
34
|
|
|
56
35
|
// load the styles
|
|
57
|
-
var content = __webpack_require__(
|
|
36
|
+
var content = __webpack_require__(352);
|
|
58
37
|
if(content.__esModule) content = content.default;
|
|
59
38
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
60
39
|
if(content.locals) module.exports = content.locals;
|
|
61
40
|
// add the styles to the DOM
|
|
62
41
|
var add = (__webpack_require__(258)/* ["default"] */ .A)
|
|
63
|
-
var update = add("
|
|
42
|
+
var update = add("70403745", content, true, {"sourceMap":false,"shadowMode":false});
|
|
64
43
|
|
|
65
44
|
/***/ }),
|
|
66
45
|
|
|
@@ -340,24 +319,19 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__274__;
|
|
|
340
319
|
|
|
341
320
|
/***/ }),
|
|
342
321
|
|
|
343
|
-
/***/
|
|
344
|
-
/***/ (function(module,
|
|
345
|
-
|
|
346
|
-
"use strict";
|
|
347
|
-
__webpack_require__.r(__webpack_exports__);
|
|
348
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
|
|
349
|
-
/* 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__);
|
|
350
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
|
|
351
|
-
/* 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__);
|
|
352
|
-
// Imports
|
|
353
|
-
|
|
322
|
+
/***/ 290:
|
|
323
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
354
324
|
|
|
355
|
-
|
|
356
|
-
// Module
|
|
357
|
-
___CSS_LOADER_EXPORT___.push([module.id, "p{padding:0;margin:0;line-height:normal}h1,h2,h3,h4,h5,h6{margin:calc(var(--0de0414b)*.5) 0}.html-content ul,ol{margin-left:calc(var(--0de0414b)*1.2)}.html-content table{min-width:-moz-min-content!important;min-width:min-content!important}.html-content table td,.html-content table tr th{padding:calc(var(--0de0414b)*.2)!important}.html-content table,td,th{border:4px solid #fff;border-collapse:collapse}", ""]);
|
|
358
|
-
// Exports
|
|
359
|
-
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
325
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
360
326
|
|
|
327
|
+
// load the styles
|
|
328
|
+
var content = __webpack_require__(918);
|
|
329
|
+
if(content.__esModule) content = content.default;
|
|
330
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
331
|
+
if(content.locals) module.exports = content.locals;
|
|
332
|
+
// add the styles to the DOM
|
|
333
|
+
var add = (__webpack_require__(258)/* ["default"] */ .A)
|
|
334
|
+
var update = add("1d72d1a3", content, true, {"sourceMap":false,"shadowMode":false});
|
|
361
335
|
|
|
362
336
|
/***/ }),
|
|
363
337
|
|
|
@@ -461,19 +435,45 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADy
|
|
|
461
435
|
|
|
462
436
|
/***/ }),
|
|
463
437
|
|
|
464
|
-
/***/
|
|
465
|
-
/***/ (function(module,
|
|
438
|
+
/***/ 352:
|
|
439
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
466
440
|
|
|
467
|
-
|
|
441
|
+
"use strict";
|
|
442
|
+
__webpack_require__.r(__webpack_exports__);
|
|
443
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
|
|
444
|
+
/* 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__);
|
|
445
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
|
|
446
|
+
/* 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__);
|
|
447
|
+
// Imports
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
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()));
|
|
451
|
+
// Module
|
|
452
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .box[data-v-19222fe2] ::-webkit-scrollbar{width:0;height:0;display:none;background:transparent}.yx-speech-recognition .box[data-v-19222fe2]{display:grid;grid-template-rows:max-content 1fr;position:absolute;pointer-events:all;background:rgba(2,11,72,.6);border-radius:calc(var(--a9ca150c)*.57);z-index:20}.yx-speech-recognition .box .title[data-v-19222fe2]{display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(var(--a9ca150c)*2.29);padding:0 calc(var(--a9ca150c)*.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(--a9ca150c)*.57) calc(var(--a9ca150c)*.57) 0 0}.yx-speech-recognition .box .title-icon[data-v-19222fe2]{display:flex;align-items:center;gap:calc(var(--a9ca150c)*.38)}.yx-speech-recognition .box .title-icon img[data-v-19222fe2]{width:calc(var(--a9ca150c)*1);height:calc(var(--a9ca150c)*1)}.yx-speech-recognition .box .title-icon span[data-v-19222fe2]{font-size:calc(var(--a9ca150c)*1.14);font-weight:800;color:#fff}.yx-speech-recognition .box .title .close[data-v-19222fe2]{cursor:pointer}.yx-speech-recognition .box .title .close img[data-v-19222fe2]{width:calc(var(--a9ca150c)*1.1)}.yx-speech-recognition .box .content[data-v-19222fe2]{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-19222fe2]{margin-top:calc(var(--a9ca150c)*7.5);font-size:calc(var(--a9ca150c)*1)}.yx-speech-recognition .box .message-list[data-v-19222fe2]{overflow:hidden;padding:calc(var(--a9ca150c)*.58);box-sizing:border-box;padding-right:calc(var(--a9ca150c)*.29)}.yx-speech-recognition .box .message-list-inner[data-v-19222fe2]{height:100%;display:flex;flex-direction:column;gap:calc(var(--a9ca150c)*.53);overflow-y:overlay}.yx-speech-recognition .displayAssistant[data-v-19222fe2]{position:absolute;pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .displayAssistant .icon1[data-v-19222fe2]{width:calc(var(--a9ca150c)*3.76);height:calc(var(--a9ca150c)*3.88)}.yx-speech-recognition .displayAssistant .icon1 img[data-v-19222fe2]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox[data-v-19222fe2]{position:absolute;top:0;left:calc(var(--a9ca150c)*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-19222fe2]{font-size:calc(var(--a9ca150c)*.8);display:flex;align-items:center}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon[data-v-19222fe2]{width:calc(var(--a9ca150c)*1.26);height:calc(var(--a9ca150c)*1.28);margin-right:calc(var(--a9ca150c)*.4)}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon img[data-v-19222fe2]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox .box-container[data-v-19222fe2]{border-top:calc(var(--a9ca150c)*.1) solid rgba(117,178,255,.61);margin-top:calc(var(--a9ca150c)*.2)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box[data-v-19222fe2]{display:flex;overflow:hidden;margin:10px 0}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(2) .item-box-number[data-v-19222fe2]{background-color:#ff4e4e}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(3) .item-box-number[data-v-19222fe2]{background-color:#ff6e1d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(4) .item-box-number[data-v-19222fe2]{background-color:#4fc94d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-index[data-v-19222fe2]{flex-shrink:0;width:calc(var(--a9ca150c)*1.2);font-size:calc(var(--a9ca150c)*.9);height:calc(var(--a9ca150c)*1.2);background-color:rgba(117,178,255,.61);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:calc(var(--a9ca150c)*.1);margin-right:calc(var(--a9ca150c)*.1)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-content[data-v-19222fe2]{overflow:hidden}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-label[data-v-19222fe2]{display:inline-block;width:auto;font-size:calc(var(--a9ca150c)*.9);border-radius:5px;padding:0 8px}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-descriptions[data-v-19222fe2]{font-size:calc(var(--a9ca150c)*.9);color:hsla(0,0%,100%,.74);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yx-speech-recognition .displayAssistant .bubbleBox span[data-v-19222fe2]{display:block;max-width:calc(var(--a9ca150c)*19.21);font-size:calc(var(--a9ca150c)*1);color:#fff;word-break:break-all}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-19222fe2],.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-19222fe2]{border-radius:calc(var(--a9ca150c)*.27);padding:calc(var(--a9ca150c)*.38);box-sizing:border-box}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-19222fe2]{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-19222fe2]{max-width:calc(var(--a9ca150c)*9.21)}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-19222fe2]{margin-bottom:15px;background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--a9ca150c)*.57) 0 #d4d9ff;max-height:1200px;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-19222fe2]::-webkit-scrollbar{display:none;width:0;height:0}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-19222fe2]:after,.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-19222fe2]:before{content:\"\";display:block;position:absolute}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-19222fe2]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--a9ca150c)*.57) 0 #fff3b4}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-19222fe2]:before{border-right:calc(var(--a9ca150c)*.5) solid transparent}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-19222fe2]:after{border-top:calc(var(--a9ca150c)*.25) solid transparent;border-bottom:calc(var(--a9ca150c)*.25) solid transparent;border-right:calc(var(--a9ca150c)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--a9ca150c)*-.46));left:0;top:calc(var(--a9ca150c)*.48)}.inputContainer[data-v-19222fe2]{display:flex;flex:1;justify-content:space-between;align-items:center;background-color:rgba(2,11,72,.3);border-radius:calc(var(--a9ca150c)*.57)}.inputContainer .inputBox[data-v-19222fe2]{margin:4px;flex:1;height:calc(var(--a9ca150c)*1.8);border-color:transparent;background-color:transparent;border-radius:calc(var(--a9ca150c)*.57);font-size:calc(var(--a9ca150c)*1);color:#fff;padding:0 20px;outline:none}.inputContainer .inputButton[data-v-19222fe2]{margin-right:20px;flex-shrink:0}.dropdown[data-v-19222fe2]{display:flex;position:relative;width:180px;align-items:center;justify-content:center;font-size:calc(var(--a9ca150c)*.8);color:#fff;padding:5px 15px;margin:10px 30px 10px;border-radius:calc(var(--a9ca150c)*.18);background:rgba(51,136,255,.52)}.dropdown .dropdown-btn[data-v-19222fe2]{cursor:pointer}.dropdown .dropdown-options[data-v-19222fe2]{position:absolute;bottom:100%;left:0;right:0;border-radius:8px;margin-bottom:10px;width:100%;min-width:160px;background-color:rgba(13,23,135,.85);box-shadow:0 4px 15px rgba(106,17,203,.3);z-index:10;max-height:400px;overflow-y:auto}.dropdown .dropdown-item[data-v-19222fe2]{padding:5px 20px;cursor:pointer;transition:background .2s}.dropdown .dropdown-item[data-v-19222fe2]:hover{background-color:rgba(51,136,255,.3)}.dropdown .dropdown-item.selected[data-v-19222fe2]{background-color:rgba(51,136,255,.51);color:hsla(0,0%,100%,.9)}", ""]);
|
|
453
|
+
// Exports
|
|
454
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
/***/ }),
|
|
458
|
+
|
|
459
|
+
/***/ 372:
|
|
460
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
461
|
+
|
|
462
|
+
"use strict";
|
|
463
|
+
__webpack_require__.r(__webpack_exports__);
|
|
464
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
|
|
465
|
+
/* 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__);
|
|
466
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
|
|
467
|
+
/* 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__);
|
|
468
|
+
// Imports
|
|
469
|
+
|
|
470
|
+
|
|
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()));
|
|
472
|
+
// Module
|
|
473
|
+
___CSS_LOADER_EXPORT___.push([module.id, "p{padding:0;margin:0;line-height:normal}h1,h2,h3,h4,h5,h6{margin:calc(var(--a9ca150c)*.5) 0}.html-content ul,ol{margin-left:calc(var(--a9ca150c)*1.2)}.html-content table{min-width:-moz-min-content!important;min-width:min-content!important}.html-content table td,.html-content table tr th{padding:calc(var(--a9ca150c)*.2)!important}.html-content table,td,th{border:4px solid #fff;border-collapse:collapse}", ""]);
|
|
474
|
+
// Exports
|
|
475
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
468
476
|
|
|
469
|
-
// load the styles
|
|
470
|
-
var content = __webpack_require__(293);
|
|
471
|
-
if(content.__esModule) content = content.default;
|
|
472
|
-
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
473
|
-
if(content.locals) module.exports = content.locals;
|
|
474
|
-
// add the styles to the DOM
|
|
475
|
-
var add = (__webpack_require__(258)/* ["default"] */ .A)
|
|
476
|
-
var update = add("f751d4c4", content, true, {"sourceMap":false,"shadowMode":false});
|
|
477
477
|
|
|
478
478
|
/***/ }),
|
|
479
479
|
|
|
@@ -518,22 +518,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACq
|
|
|
518
518
|
|
|
519
519
|
/***/ }),
|
|
520
520
|
|
|
521
|
-
/***/ 568:
|
|
522
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
523
|
-
|
|
524
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
525
|
-
|
|
526
|
-
// load the styles
|
|
527
|
-
var content = __webpack_require__(948);
|
|
528
|
-
if(content.__esModule) content = content.default;
|
|
529
|
-
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
530
|
-
if(content.locals) module.exports = content.locals;
|
|
531
|
-
// add the styles to the DOM
|
|
532
|
-
var add = (__webpack_require__(258)/* ["default"] */ .A)
|
|
533
|
-
var update = add("aafcebce", content, true, {"sourceMap":false,"shadowMode":false});
|
|
534
|
-
|
|
535
|
-
/***/ }),
|
|
536
|
-
|
|
537
521
|
/***/ 601:
|
|
538
522
|
/***/ (function(module) {
|
|
539
523
|
|
|
@@ -599,7 +583,7 @@ var update = add("bddb2da8", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
599
583
|
|
|
600
584
|
/***/ }),
|
|
601
585
|
|
|
602
|
-
/***/
|
|
586
|
+
/***/ 918:
|
|
603
587
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
604
588
|
|
|
605
589
|
"use strict";
|
|
@@ -616,7 +600,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
616
600
|
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()));
|
|
617
601
|
___CSS_LOADER_EXPORT___.i(_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_assets_iconfont_iconfont_css__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A);
|
|
618
602
|
// Module
|
|
619
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".stream-input[data-v-
|
|
603
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".stream-input[data-v-3a2fa55e]{width:100%}.stream-input .stream-item[data-v-3a2fa55e]{border-radius:8px;padding:12px;margin-bottom:8px;animation:slideIn-3a2fa55e .3s ease-out}.stream-input .stream-item.with-border[data-v-3a2fa55e]{box-shadow:0 2px 4px rgba(0,0,0,.25)}.stream-input .stream-item .item-header[data-v-3a2fa55e]{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.stream-input .stream-item .item-header .item-title[data-v-3a2fa55e]{font-weight:500;margin-right:calc(var(--60cbe3f7)*1)}.stream-input .stream-item .item-header .item-title .item-index[data-v-3a2fa55e]{font-weight:600}.stream-input .stream-item .item-header .item-status[data-v-3a2fa55e]{display:flex;align-items:center}.stream-input .stream-item .item-header .item-status i[data-v-3a2fa55e]{font-size:calc(var(--60cbe3f7)*1.2)}.stream-input .stream-item .item-header .item-status.success[data-v-3a2fa55e]{color:#67c23a}.stream-input .stream-item .item-header .item-status.error[data-v-3a2fa55e]{color:#f56c6c}.stream-input .stream-item .item-header .item-status .loading-icon[data-v-3a2fa55e]{margin-right:calc(var(--60cbe3f7)*.15);width:100%;width:calc(var(--60cbe3f7)*.9);height:calc(var(--60cbe3f7)*.9)}.stream-input .stream-item .item-header .item-status .loading-icon img[data-v-3a2fa55e]{width:100%;height:100%}.stream-input .stream-item .item-children[data-v-3a2fa55e]{margin-left:calc(var(--60cbe3f7)*.65)}.stream-input .stream-item .item-children .child-item[data-v-3a2fa55e]{display:flex;justify-content:space-between;align-items:center;animation:slideIn-3a2fa55e .3s ease-out}.stream-input .stream-item .item-children .child-item .child-title[data-v-3a2fa55e]{margin-right:calc(var(--60cbe3f7)*1)}.stream-input .stream-item .item-children .child-item .child-status[data-v-3a2fa55e]{display:flex;align-items:center}.stream-input .stream-item .item-children .child-item .child-status i[data-v-3a2fa55e]{font-size:calc(var(--60cbe3f7)*1.2)}.stream-input .stream-item .item-children .child-item .child-status.success[data-v-3a2fa55e]{color:#67c23a}.stream-input .stream-item .item-children .child-item .child-status.error[data-v-3a2fa55e]{color:#f56c6c}.stream-input .stream-item .item-children .child-item .child-status .loading-icon[data-v-3a2fa55e]{margin-right:calc(var(--60cbe3f7)*.15);width:100%;width:calc(var(--60cbe3f7)*.9);height:calc(var(--60cbe3f7)*.9)}.stream-input .stream-item .item-children .child-item .child-status .loading-icon img[data-v-3a2fa55e]{width:100%;height:100%}@keyframes slideIn-3a2fa55e{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes spin-3a2fa55e{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}", ""]);
|
|
620
604
|
// Exports
|
|
621
605
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
622
606
|
|
|
@@ -900,6 +884,22 @@ window && (window.CryptoJSTest = CryptoJS);
|
|
|
900
884
|
|
|
901
885
|
/***/ }),
|
|
902
886
|
|
|
887
|
+
/***/ 971:
|
|
888
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
889
|
+
|
|
890
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
891
|
+
|
|
892
|
+
// load the styles
|
|
893
|
+
var content = __webpack_require__(372);
|
|
894
|
+
if(content.__esModule) content = content.default;
|
|
895
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
896
|
+
if(content.locals) module.exports = content.locals;
|
|
897
|
+
// add the styles to the DOM
|
|
898
|
+
var add = (__webpack_require__(258)/* ["default"] */ .A)
|
|
899
|
+
var update = add("39e3e1cf", content, true, {"sourceMap":false,"shadowMode":false});
|
|
900
|
+
|
|
901
|
+
/***/ }),
|
|
902
|
+
|
|
903
903
|
/***/ 981:
|
|
904
904
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
905
905
|
|
|
@@ -1068,7 +1068,7 @@ if (typeof window !== 'undefined') {
|
|
|
1068
1068
|
// Indicate to webpack that this file can be concatenated
|
|
1069
1069
|
/* harmony default export */ var setPublicPath = (null);
|
|
1070
1070
|
|
|
1071
|
-
;// ./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=
|
|
1071
|
+
;// ./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=19222fe2&scoped=true
|
|
1072
1072
|
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); }
|
|
1073
1073
|
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; }
|
|
1074
1074
|
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; }
|
|
@@ -1285,7 +1285,7 @@ var staticRenderFns = [function () {
|
|
|
1285
1285
|
}, [_c('span', [_vm._v("Hi,我是小安,有问题,尽管问。")])]);
|
|
1286
1286
|
}];
|
|
1287
1287
|
|
|
1288
|
-
;// ./package/SpeechRecognition/index.vue?vue&type=template&id=
|
|
1288
|
+
;// ./package/SpeechRecognition/index.vue?vue&type=template&id=19222fe2&scoped=true
|
|
1289
1289
|
|
|
1290
1290
|
;// ./node_modules/marked/lib/marked.esm.js
|
|
1291
1291
|
var _Class3;
|
|
@@ -4315,8 +4315,8 @@ var Messagevue_type_template_id_1d4531da_scoped_true_staticRenderFns = [];
|
|
|
4315
4315
|
|
|
4316
4316
|
;// ./package/SpeechRecognition/cpts/Message.vue?vue&type=template&id=1d4531da&scoped=true
|
|
4317
4317
|
|
|
4318
|
-
;// ./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/cpts/StreamInput.vue?vue&type=template&id=
|
|
4319
|
-
var
|
|
4318
|
+
;// ./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/cpts/StreamInput.vue?vue&type=template&id=3a2fa55e&scoped=true
|
|
4319
|
+
var StreamInputvue_type_template_id_3a2fa55e_scoped_true_render = function render() {
|
|
4320
4320
|
var _vm = this,
|
|
4321
4321
|
_c = _vm._self._c;
|
|
4322
4322
|
return _c('div', {
|
|
@@ -4366,7 +4366,6 @@ var StreamInputvue_type_template_id_085d0676_scoped_true_render = function rende
|
|
|
4366
4366
|
}, [child.status === 'loadings' ? _c('span', {
|
|
4367
4367
|
staticClass: "loading-icon"
|
|
4368
4368
|
}, [_c('img', {
|
|
4369
|
-
staticClass: "loging-icon",
|
|
4370
4369
|
attrs: {
|
|
4371
4370
|
"src": __webpack_require__(21),
|
|
4372
4371
|
"alt": ""
|
|
@@ -4379,9 +4378,9 @@ var StreamInputvue_type_template_id_085d0676_scoped_true_render = function rende
|
|
|
4379
4378
|
}), 0) : _vm._e()]);
|
|
4380
4379
|
}), 0);
|
|
4381
4380
|
};
|
|
4382
|
-
var
|
|
4381
|
+
var StreamInputvue_type_template_id_3a2fa55e_scoped_true_staticRenderFns = [];
|
|
4383
4382
|
|
|
4384
|
-
;// ./package/SpeechRecognition/cpts/StreamInput.vue?vue&type=template&id=
|
|
4383
|
+
;// ./package/SpeechRecognition/cpts/StreamInput.vue?vue&type=template&id=3a2fa55e&scoped=true
|
|
4385
4384
|
|
|
4386
4385
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
4387
4386
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(274);
|
|
@@ -4419,7 +4418,7 @@ var __default__ = {
|
|
|
4419
4418
|
var __injectCSSVars__ = function __injectCSSVars__() {
|
|
4420
4419
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(function (_vm, _setup) {
|
|
4421
4420
|
return {
|
|
4422
|
-
"
|
|
4421
|
+
"60cbe3f7": _vm.htmlFontSize
|
|
4423
4422
|
};
|
|
4424
4423
|
});
|
|
4425
4424
|
};
|
|
@@ -4431,9 +4430,9 @@ __default__.setup = __setup__ ? function (props, ctx) {
|
|
|
4431
4430
|
/* harmony default export */ var StreamInputvue_type_script_lang_js = (__default__);
|
|
4432
4431
|
;// ./package/SpeechRecognition/cpts/StreamInput.vue?vue&type=script&lang=js
|
|
4433
4432
|
/* harmony default export */ var cpts_StreamInputvue_type_script_lang_js = (StreamInputvue_type_script_lang_js);
|
|
4434
|
-
// 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/cpts/StreamInput.vue?vue&type=style&index=0&id=
|
|
4435
|
-
var
|
|
4436
|
-
;// ./package/SpeechRecognition/cpts/StreamInput.vue?vue&type=style&index=0&id=
|
|
4433
|
+
// 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/cpts/StreamInput.vue?vue&type=style&index=0&id=3a2fa55e&prod&lang=scss&scoped=true
|
|
4434
|
+
var StreamInputvue_type_style_index_0_id_3a2fa55e_prod_lang_scss_scoped_true = __webpack_require__(290);
|
|
4435
|
+
;// ./package/SpeechRecognition/cpts/StreamInput.vue?vue&type=style&index=0&id=3a2fa55e&prod&lang=scss&scoped=true
|
|
4437
4436
|
|
|
4438
4437
|
;// ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
4439
4438
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -4544,11 +4543,11 @@ function normalizeComponent(
|
|
|
4544
4543
|
|
|
4545
4544
|
var component = normalizeComponent(
|
|
4546
4545
|
cpts_StreamInputvue_type_script_lang_js,
|
|
4547
|
-
|
|
4548
|
-
|
|
4546
|
+
StreamInputvue_type_template_id_3a2fa55e_scoped_true_render,
|
|
4547
|
+
StreamInputvue_type_template_id_3a2fa55e_scoped_true_staticRenderFns,
|
|
4549
4548
|
false,
|
|
4550
4549
|
null,
|
|
4551
|
-
"
|
|
4550
|
+
"3a2fa55e",
|
|
4552
4551
|
null
|
|
4553
4552
|
|
|
4554
4553
|
)
|
|
@@ -19562,6 +19561,742 @@ var DragBubble = {
|
|
|
19562
19561
|
;// ./package/SpeechRecognition/utils/bus.js
|
|
19563
19562
|
|
|
19564
19563
|
var bus = mitt();
|
|
19564
|
+
;// ./package/SpeechRecognition/test.js
|
|
19565
|
+
var messageLists = [{
|
|
19566
|
+
"app_type": "command_navig",
|
|
19567
|
+
"request_id": "iot-1760686236",
|
|
19568
|
+
"obj": {
|
|
19569
|
+
"name": "生成事件报告",
|
|
19570
|
+
"par": {
|
|
19571
|
+
"command_name": "generateEventReport",
|
|
19572
|
+
"report_pic_id": "",
|
|
19573
|
+
"report_title": "关于事件等级轻微的积水事件 “燕朝-朝阳路交汇”的生成报告",
|
|
19574
|
+
"report_content": ["1. 报告标题与时间", "2. 事件概述与图片", "3. 基本情况", "4. 交通情况", "5. 降雨情况", "6. 影响范围", "7. 历史数据"]
|
|
19575
|
+
},
|
|
19576
|
+
"standard_back": "好的,正在为您生成轻微积水事件“凯鑫工业园楼顶(高空)”的生成报告"
|
|
19577
|
+
},
|
|
19578
|
+
"client_id": "demo-client-121414481"
|
|
19579
|
+
},
|
|
19580
|
+
// {
|
|
19581
|
+
// "app_type": "command_navig",
|
|
19582
|
+
// "request_id": "iot-1760412849",
|
|
19583
|
+
// "obj": {
|
|
19584
|
+
// "name": "生成事件报告",
|
|
19585
|
+
// "par": {
|
|
19586
|
+
// "command_name": "generateEventReport",
|
|
19587
|
+
// "report_pic_id": "",
|
|
19588
|
+
// "report_title": "关于事件等级轻微的积水事件 “燕朝-朝阳路交汇”的生成报告",
|
|
19589
|
+
// "report_content": [
|
|
19590
|
+
// "1. 报告标题与时间",
|
|
19591
|
+
// "2. 事件概述与图片",
|
|
19592
|
+
// "3. 基本情况",
|
|
19593
|
+
// "4. 交通情况",
|
|
19594
|
+
// "5. 降雨情况",
|
|
19595
|
+
// "6. 影响范围",
|
|
19596
|
+
// "7. 历史数据"
|
|
19597
|
+
// ]
|
|
19598
|
+
// },
|
|
19599
|
+
// "standard_back": "好的,正在为您生成轻微积水事件“凯鑫工业园楼顶(高空)”的生成报告"
|
|
19600
|
+
// },
|
|
19601
|
+
// "client_id": "demo-client-64462015"
|
|
19602
|
+
// },
|
|
19603
|
+
// {
|
|
19604
|
+
// "app_type": "command_navig",
|
|
19605
|
+
// "request_id": "iot-1760412849",
|
|
19606
|
+
// "obj": {
|
|
19607
|
+
// "name": "生成事件报告",
|
|
19608
|
+
// "par": {
|
|
19609
|
+
// "command_name": "generateEventReport",
|
|
19610
|
+
// "report_pic_id": "",
|
|
19611
|
+
// "report_title": "1. 报告标题与时间",
|
|
19612
|
+
// "report_content": " \n# 关于事件等级轻微的积水事件\n “燕朝-朝阳路交汇”的生成报告\n\n(数据统计截止时间:2025年09月12日 18时04分)\n"
|
|
19613
|
+
// },
|
|
19614
|
+
// "standard_back": "好的,正在为您生成轻微积水事件“凯鑫工业园楼顶(高空)”的生成报告"
|
|
19615
|
+
// },
|
|
19616
|
+
// "client_id": "demo-client-64462015"
|
|
19617
|
+
// },
|
|
19618
|
+
// {
|
|
19619
|
+
// "app_type": "command_navig",
|
|
19620
|
+
// "request_id": "iot-1760412849",
|
|
19621
|
+
// "obj": {
|
|
19622
|
+
// "name": "生成事件报告",
|
|
19623
|
+
// "par": {
|
|
19624
|
+
// "command_name": "generateEventReport",
|
|
19625
|
+
// "report_pic_id": "1952935956095307778",
|
|
19626
|
+
// "report_title": "2. 事件概述与图片",
|
|
19627
|
+
// "report_content": "\n尊敬的领导:\n\n燕罗街道街道在11时33分发生了一件1积水事件,该事件的事件环节是结案归档。(附事件生成图片)\n\n@@1952935956095307778@@ \n \n(积水情况:积水情况:积水面积1米,积水深度0.9米,积水长度0.2米,积水宽度3米。)\n"
|
|
19628
|
+
// },
|
|
19629
|
+
// "standard_back": "好的,正在为您生成轻微积水事件“凯鑫工业园楼顶(高空)”的生成报告"
|
|
19630
|
+
// },
|
|
19631
|
+
// "client_id": "demo-client-64462015"
|
|
19632
|
+
// },
|
|
19633
|
+
// {
|
|
19634
|
+
// "app_type": "command_navig",
|
|
19635
|
+
// "request_id": "iot-1760412849",
|
|
19636
|
+
// "obj": {
|
|
19637
|
+
// "name": "生成事件报告",
|
|
19638
|
+
// "par": {
|
|
19639
|
+
// "command_name": "generateEventReport",
|
|
19640
|
+
// "report_pic_id": "",
|
|
19641
|
+
// "report_title": "3. 基本情况",
|
|
19642
|
+
// "report_content": "\n## 一、基本情况\n\n事件发生在临近工业园区,关联的易涝点为xxx,截至目前,积水时长为5小时18分钟。\n"
|
|
19643
|
+
// },
|
|
19644
|
+
// "standard_back": "好的,正在为您生成轻微积水事件“凯鑫工业园楼顶(高空)”的生成报告"
|
|
19645
|
+
// },
|
|
19646
|
+
// "client_id": "demo-client-64462015"
|
|
19647
|
+
// },
|
|
19648
|
+
// {
|
|
19649
|
+
// "app_type": "command_navig",
|
|
19650
|
+
// "request_id": "iot-1760412849",
|
|
19651
|
+
// "obj": {
|
|
19652
|
+
// "name": "生成事件报告",
|
|
19653
|
+
// "par": {
|
|
19654
|
+
// "command_name": "generateEventReport",
|
|
19655
|
+
// "report_pic_id": "",
|
|
19656
|
+
// "report_title": "4. 交通情况",
|
|
19657
|
+
// "report_content": "\n交通情况:附近主要道路为新安街道的:1、创业一路西一巷:路况状态:严重拥堵,已拥堵11分钟,当前运行速度为8千米 / 小时,预计拥堵时长25分钟 ;\r\n2、裕安一路:路况状态:拥堵,已拥堵5分钟,当前运行速度为11千米 / 小时,预计拥堵时长6分钟 ;\r\n\n"
|
|
19658
|
+
// },
|
|
19659
|
+
// "standard_back": "好的,正在为您生成轻微积水事件“凯鑫工业园楼顶(高空)”的生成报告"
|
|
19660
|
+
// },
|
|
19661
|
+
// "client_id": "demo-client-64462015"
|
|
19662
|
+
// },
|
|
19663
|
+
{
|
|
19664
|
+
"app_type": "command_navig",
|
|
19665
|
+
"request_id": "iot-1760412849",
|
|
19666
|
+
"obj": {
|
|
19667
|
+
"name": "生成事件报告",
|
|
19668
|
+
"par": {
|
|
19669
|
+
"command_name": "generateEventReport",
|
|
19670
|
+
"report_pic_id": "",
|
|
19671
|
+
"report_title": "5. 降雨情况",
|
|
19672
|
+
"report_content": "\n降雨情况:在过去一小时,燕罗街道街道的最大降雨量为230毫米,预计未来一小时的降雨量为--毫米。\n"
|
|
19673
|
+
},
|
|
19674
|
+
"standard_back": "好的,正在为您生成轻微积水事件“凯鑫工业园楼顶(高空)”的生成报告"
|
|
19675
|
+
},
|
|
19676
|
+
"client_id": "demo-client-64462015"
|
|
19677
|
+
}, {
|
|
19678
|
+
"app_type": "command_navig",
|
|
19679
|
+
"request_id": "iot-1760412849",
|
|
19680
|
+
"obj": {
|
|
19681
|
+
"name": "生成事件报告",
|
|
19682
|
+
"par": {
|
|
19683
|
+
"command_name": "generateEventReport",
|
|
19684
|
+
"report_pic_id": "",
|
|
19685
|
+
"report_title": "6. 影响范围",
|
|
19686
|
+
"report_content": "\n## 二、影响范围\n\n截至目前,积水区域周边共影响居民小区0个、产业园区0个、企业单位0家、医疗机构0家;涉及主干道1条、次干道1条、支路0条。\n\n目前对周边交通通行、居民出行及部分单位正常运行造成一定影响。\n"
|
|
19687
|
+
},
|
|
19688
|
+
"standard_back": "好的,正在为您生成轻微积水事件“凯鑫工业园楼顶(高空)”的生成报告"
|
|
19689
|
+
},
|
|
19690
|
+
"client_id": "demo-client-64462015"
|
|
19691
|
+
}, {
|
|
19692
|
+
"app_type": "command_navig",
|
|
19693
|
+
"request_id": "iot-1760412849",
|
|
19694
|
+
"obj": {
|
|
19695
|
+
"name": "生成事件报告",
|
|
19696
|
+
"par": {
|
|
19697
|
+
"command_name": "generateEventReport",
|
|
19698
|
+
"report_pic_id": "",
|
|
19699
|
+
"report_title": "7. 历史数据",
|
|
19700
|
+
"report_content": "\n## 三、历史数据\n\n经统计,该点位平均处置时长为0时45钟,处置最长一次时间为2时12钟,处置措施为疏通管道,。经分析,该点位历史积水原因主要为暴雨导致排水不畅,处置措施有疏通管道/强排作业/其他,建议参考处置。\n\n数据参考及来源说明:\n\n降雨数据:深圳海陆一体气象灾害防御决策服务系统\n\n易涝点数据来源:水务局、宝安排水公司\n\n交通数据:\n\n辅助决策建议:平台历史事件处置数据\n\n"
|
|
19701
|
+
},
|
|
19702
|
+
"standard_back": "好的,正在为您生成轻微积水事件“凯鑫工业园楼顶(高空)”的生成报告"
|
|
19703
|
+
},
|
|
19704
|
+
"client_id": "demo-client-64462015"
|
|
19705
|
+
}, {
|
|
19706
|
+
"app_type": "command_navig",
|
|
19707
|
+
"request_id": "iot-1760412880",
|
|
19708
|
+
"obj": {
|
|
19709
|
+
"name": "新事件播报",
|
|
19710
|
+
"par": {
|
|
19711
|
+
"command_name": "reportEvent"
|
|
19712
|
+
},
|
|
19713
|
+
"standard_back": "凯鑫工业园楼顶(高空)发生了一件轻微等级的水涝事件,是否需要为您打开?"
|
|
19714
|
+
},
|
|
19715
|
+
"client_id": "demo-client-64462015"
|
|
19716
|
+
}, {
|
|
19717
|
+
"app_type": "command_navig",
|
|
19718
|
+
"request_id": "iot-1760412880",
|
|
19719
|
+
"obj": {
|
|
19720
|
+
"name": "新事件播报",
|
|
19721
|
+
"par": {
|
|
19722
|
+
"command_name": "openEventDistrib",
|
|
19723
|
+
"eventType": "水涝"
|
|
19724
|
+
},
|
|
19725
|
+
"standard_back": "好的,已为您打开水涝事件分布面板"
|
|
19726
|
+
},
|
|
19727
|
+
"client_id": "demo-client-64462015"
|
|
19728
|
+
}, {
|
|
19729
|
+
"app_type": "command_navig",
|
|
19730
|
+
"request_id": "iot-1760412880",
|
|
19731
|
+
"obj": {
|
|
19732
|
+
"name": "新事件播报",
|
|
19733
|
+
"par": {
|
|
19734
|
+
"command_name": "openEventDetail",
|
|
19735
|
+
"eventType": "水涝",
|
|
19736
|
+
"eventCode": "250804162413002004000001"
|
|
19737
|
+
},
|
|
19738
|
+
"standard_back": "好的,已为您打开凯鑫工业园楼顶(高空)水涝事件"
|
|
19739
|
+
},
|
|
19740
|
+
"client_id": "demo-client-64462015"
|
|
19741
|
+
}, {
|
|
19742
|
+
"app_type": "command_navig",
|
|
19743
|
+
"request_id": "iot-1760412880",
|
|
19744
|
+
"obj": {
|
|
19745
|
+
"name": "新事件播报",
|
|
19746
|
+
"par": {
|
|
19747
|
+
"command_name": "operateCamera",
|
|
19748
|
+
"cameraId": "f3cdfcac25284ae9adea2d6decad1b8c",
|
|
19749
|
+
"gbCode": "44030670001320001211",
|
|
19750
|
+
"camera_act": "enlarge"
|
|
19751
|
+
},
|
|
19752
|
+
"standard_back": "好的,已为您放大f3cdfcac25284ae9adea2d6decad1b8c画面"
|
|
19753
|
+
},
|
|
19754
|
+
"client_id": "demo-client-64462015"
|
|
19755
|
+
}, {
|
|
19756
|
+
"app_type": "command_navig",
|
|
19757
|
+
"request_id": "iot-1760412880",
|
|
19758
|
+
"obj": {
|
|
19759
|
+
"name": "新事件播报",
|
|
19760
|
+
"par": {
|
|
19761
|
+
"command_name": "linkCameraHighLow",
|
|
19762
|
+
"cameraId": "f3cdfcac25284ae9adea2d6decad1b8c",
|
|
19763
|
+
"gbCode": "44030670001320001211",
|
|
19764
|
+
"is_open": 1
|
|
19765
|
+
},
|
|
19766
|
+
"standard_back": "好的,已为您打开周围高低空镜头"
|
|
19767
|
+
},
|
|
19768
|
+
"client_id": "demo-client-64462015"
|
|
19769
|
+
}];
|
|
19770
|
+
mockDataSequence: [{
|
|
19771
|
+
"name": "",
|
|
19772
|
+
"command_name": "",
|
|
19773
|
+
"request_id": "r-1773145879",
|
|
19774
|
+
"sentence_id": "8078ea4b-5dba-3fde-2047-c62d018fdb3e",
|
|
19775
|
+
"answer_id": "09d12a2d62b0050a",
|
|
19776
|
+
"require_ack": false,
|
|
19777
|
+
"par": {},
|
|
19778
|
+
"standard_back": "",
|
|
19779
|
+
"back_list": [],
|
|
19780
|
+
"recommand_list": [],
|
|
19781
|
+
"show_text": "",
|
|
19782
|
+
"reply": {
|
|
19783
|
+
"id": 1,
|
|
19784
|
+
"level": 1,
|
|
19785
|
+
"text": "智能体任务拆解",
|
|
19786
|
+
"parent_id": null,
|
|
19787
|
+
"status": "completed"
|
|
19788
|
+
},
|
|
19789
|
+
"request_back": {},
|
|
19790
|
+
"cim": "cim",
|
|
19791
|
+
"has_next_page": false,
|
|
19792
|
+
"has_prev_page": false
|
|
19793
|
+
}, {
|
|
19794
|
+
"name": "",
|
|
19795
|
+
"command_name": "",
|
|
19796
|
+
"request_id": "r-1773145879",
|
|
19797
|
+
"sentence_id": "8078ea4b-5dba-3fde-2047-c62d018fdb3e",
|
|
19798
|
+
"answer_id": "09d12a2d62b0050a",
|
|
19799
|
+
"require_ack": false,
|
|
19800
|
+
"par": {},
|
|
19801
|
+
"standard_back": "",
|
|
19802
|
+
"back_list": [],
|
|
19803
|
+
"recommand_list": [],
|
|
19804
|
+
"show_text": "",
|
|
19805
|
+
"reply": {
|
|
19806
|
+
"id": 2,
|
|
19807
|
+
"level": 1,
|
|
19808
|
+
"text": "调用工具",
|
|
19809
|
+
"parent_id": null,
|
|
19810
|
+
"status": "completed"
|
|
19811
|
+
},
|
|
19812
|
+
"request_back": {},
|
|
19813
|
+
"cim": "cim",
|
|
19814
|
+
"has_next_page": false,
|
|
19815
|
+
"has_prev_page": false
|
|
19816
|
+
}, {
|
|
19817
|
+
"name": "",
|
|
19818
|
+
"command_name": "",
|
|
19819
|
+
"request_id": "r-1773145879",
|
|
19820
|
+
"sentence_id": "8078ea4b-5dba-3fde-2047-c62d018fdb3e",
|
|
19821
|
+
"answer_id": "09d12a2d62b0050a",
|
|
19822
|
+
"require_ack": false,
|
|
19823
|
+
"par": {},
|
|
19824
|
+
"standard_back": "",
|
|
19825
|
+
"back_list": [],
|
|
19826
|
+
"recommand_list": [],
|
|
19827
|
+
"show_text": "",
|
|
19828
|
+
"reply": {
|
|
19829
|
+
"id": 4,
|
|
19830
|
+
"level": 2,
|
|
19831
|
+
"text": "调用地理实体定位工具",
|
|
19832
|
+
"parent_id": 2,
|
|
19833
|
+
"status": "generating"
|
|
19834
|
+
},
|
|
19835
|
+
"request_back": {},
|
|
19836
|
+
"cim": "cim",
|
|
19837
|
+
"has_next_page": false,
|
|
19838
|
+
"has_prev_page": false
|
|
19839
|
+
}, {
|
|
19840
|
+
"name": "",
|
|
19841
|
+
"command_name": "",
|
|
19842
|
+
"request_id": "r-1773145880",
|
|
19843
|
+
"sentence_id": "8078ea4b-5dba-3fde-2047-c62d018fdb3e",
|
|
19844
|
+
"answer_id": "09d12a2d62b0050a",
|
|
19845
|
+
"require_ack": true,
|
|
19846
|
+
"par": {},
|
|
19847
|
+
"standard_back": "",
|
|
19848
|
+
"back_list": [],
|
|
19849
|
+
"recommand_list": [],
|
|
19850
|
+
"show_text": "",
|
|
19851
|
+
"reply": {},
|
|
19852
|
+
"request_back": {
|
|
19853
|
+
"data": {
|
|
19854
|
+
"sdkCommands": [{
|
|
19855
|
+
"commandType": "LOCATE_ENTITY",
|
|
19856
|
+
"commandValue": {
|
|
19857
|
+
"entity": {
|
|
19858
|
+
"id": "440306011002003060408000001",
|
|
19859
|
+
"address": "广东省深圳市宝安区创业二路与前进一路交汇处",
|
|
19860
|
+
"adcode": "440306",
|
|
19861
|
+
"x": "113.89756613602398",
|
|
19862
|
+
"y": "22.572236691753922",
|
|
19863
|
+
"key": "深圳大悦城购物中心",
|
|
19864
|
+
"freq": "",
|
|
19865
|
+
"province": "广东省",
|
|
19866
|
+
"city": "深圳市",
|
|
19867
|
+
"county": "宝安区",
|
|
19868
|
+
"town": "新安街道",
|
|
19869
|
+
"prefix": "",
|
|
19870
|
+
"score": "",
|
|
19871
|
+
"alias": ["新安大悦城", "宝安大悦城", "大悦城"],
|
|
19872
|
+
"palias": "",
|
|
19873
|
+
"parent_id": "",
|
|
19874
|
+
"exttype": "DLSTDL",
|
|
19875
|
+
"type": "060101",
|
|
19876
|
+
"extinfo": "POLYGON ((113.89608549819971 22.572413717655266, 113.89772848638547 22.57084860359924, 113.89904677384824 22.57200202861513, 113.89740969736704 22.573624779908602, 113.89608549819971 22.572413717655266))",
|
|
19877
|
+
"pc_type": "",
|
|
19878
|
+
"brand_name": "",
|
|
19879
|
+
"std_addr_id": "",
|
|
19880
|
+
"std_addr_address": "",
|
|
19881
|
+
"business_id": "440306011002003060408000001",
|
|
19882
|
+
"datasource": "块数据",
|
|
19883
|
+
"keylevel": "",
|
|
19884
|
+
"pic_url": "",
|
|
19885
|
+
"bg_id": "",
|
|
19886
|
+
"bld_code": "",
|
|
19887
|
+
"community": "宝民社区",
|
|
19888
|
+
"grid": "宝民03",
|
|
19889
|
+
"room_code": "",
|
|
19890
|
+
"area": "46181.68",
|
|
19891
|
+
"labels": "",
|
|
19892
|
+
"jdbm": "440306011",
|
|
19893
|
+
"sqbm": "440306011002",
|
|
19894
|
+
"wgbm": "440306011002003",
|
|
19895
|
+
"code": "440306011002003060408000001",
|
|
19896
|
+
"name": "深圳大悦城购物中心",
|
|
19897
|
+
"topic": "地名地址",
|
|
19898
|
+
"category": "地理实体",
|
|
19899
|
+
"subcategory": "购物中心",
|
|
19900
|
+
"regions": ["新安街道", "宝民社区", "宝民03"],
|
|
19901
|
+
"regions_code": ["440306011", "440306011002", "440306011002003"],
|
|
19902
|
+
"geometry": "01030000000100000005000000024CFD7659795C40741C95B489923640A56D2E6274795C400F6D53222392364029D07AFB89795C40CC2596B96E923640805315296F795C40F5E1D512D9923640024CFD7659795C40741C95B489923640",
|
|
19903
|
+
"created_time": "12/12/2025 18:11:30",
|
|
19904
|
+
"updated_time": "12/12/2025 18:11:30",
|
|
19905
|
+
"is_delete": "0",
|
|
19906
|
+
"location": "POINT (113.89756613602398 22.572236691753922)",
|
|
19907
|
+
"self_score": 1000,
|
|
19908
|
+
"_id": "drE715wBvZ-8cNxZaYHX",
|
|
19909
|
+
"_score": 115.43705,
|
|
19910
|
+
"_source": "es",
|
|
19911
|
+
"__sim_val": 1,
|
|
19912
|
+
"subject": "poi"
|
|
19913
|
+
},
|
|
19914
|
+
"isShowPortrait": false,
|
|
19915
|
+
"isShowLabel": false
|
|
19916
|
+
}
|
|
19917
|
+
}],
|
|
19918
|
+
"chat": {
|
|
19919
|
+
"message": ""
|
|
19920
|
+
},
|
|
19921
|
+
"isTransformData": true
|
|
19922
|
+
}
|
|
19923
|
+
},
|
|
19924
|
+
"cim": "cim",
|
|
19925
|
+
"has_next_page": false,
|
|
19926
|
+
"has_prev_page": false
|
|
19927
|
+
}, {
|
|
19928
|
+
"name": "",
|
|
19929
|
+
"command_name": "",
|
|
19930
|
+
"request_id": "r-1773145886",
|
|
19931
|
+
"sentence_id": "8078ea4b-5dba-3fde-2047-c62d018fdb3e",
|
|
19932
|
+
"answer_id": "09d12a2d62b0050a",
|
|
19933
|
+
"require_ack": false,
|
|
19934
|
+
"par": {},
|
|
19935
|
+
"standard_back": "",
|
|
19936
|
+
"back_list": [],
|
|
19937
|
+
"recommand_list": [],
|
|
19938
|
+
"show_text": "",
|
|
19939
|
+
"reply": {
|
|
19940
|
+
"id": 4,
|
|
19941
|
+
"level": 2,
|
|
19942
|
+
"text": "调用地理实体定位工具",
|
|
19943
|
+
"parent_id": 2,
|
|
19944
|
+
"status": "completed"
|
|
19945
|
+
},
|
|
19946
|
+
"request_back": {},
|
|
19947
|
+
"cim": "cim",
|
|
19948
|
+
"has_next_page": false,
|
|
19949
|
+
"has_prev_page": false
|
|
19950
|
+
}, {
|
|
19951
|
+
"name": "",
|
|
19952
|
+
"command_name": "",
|
|
19953
|
+
"request_id": "r-1773145887",
|
|
19954
|
+
"sentence_id": "8078ea4b-5dba-3fde-2047-c62d018fdb3e",
|
|
19955
|
+
"answer_id": "09d12a2d62b0050a",
|
|
19956
|
+
"require_ack": false,
|
|
19957
|
+
"par": {},
|
|
19958
|
+
"standard_back": "",
|
|
19959
|
+
"back_list": [],
|
|
19960
|
+
"recommand_list": [],
|
|
19961
|
+
"show_text": "",
|
|
19962
|
+
"reply": {
|
|
19963
|
+
"id": 5,
|
|
19964
|
+
"level": 2,
|
|
19965
|
+
"text": "调用查看地理实体周边违停情况工具",
|
|
19966
|
+
"parent_id": 2,
|
|
19967
|
+
"status": "generating"
|
|
19968
|
+
},
|
|
19969
|
+
"request_back": {},
|
|
19970
|
+
"cim": "cim",
|
|
19971
|
+
"has_next_page": false,
|
|
19972
|
+
"has_prev_page": false
|
|
19973
|
+
}, {
|
|
19974
|
+
"name": "",
|
|
19975
|
+
"command_name": "",
|
|
19976
|
+
"request_id": "r-1773145887",
|
|
19977
|
+
"sentence_id": "8078ea4b-5dba-3fde-2047-c62d018fdb3e",
|
|
19978
|
+
"answer_id": "09d12a2d62b0050a",
|
|
19979
|
+
"require_ack": false,
|
|
19980
|
+
"par": {},
|
|
19981
|
+
"standard_back": "",
|
|
19982
|
+
"back_list": [],
|
|
19983
|
+
"recommand_list": [],
|
|
19984
|
+
"show_text": "",
|
|
19985
|
+
"reply": {
|
|
19986
|
+
"id": 5,
|
|
19987
|
+
"level": 2,
|
|
19988
|
+
"text": "调用查看地理实体周边违停情况工具",
|
|
19989
|
+
"parent_id": 2,
|
|
19990
|
+
"status": "completed"
|
|
19991
|
+
},
|
|
19992
|
+
"request_back": {},
|
|
19993
|
+
"cim": "cim",
|
|
19994
|
+
"has_next_page": false,
|
|
19995
|
+
"has_prev_page": false
|
|
19996
|
+
}, {
|
|
19997
|
+
"name": "",
|
|
19998
|
+
"command_name": "",
|
|
19999
|
+
"request_id": "r-1773145888",
|
|
20000
|
+
"sentence_id": "8078ea4b-5dba-3fde-2047-c62d018fdb3e",
|
|
20001
|
+
"answer_id": "09d12a2d62b0050a",
|
|
20002
|
+
"require_ack": false,
|
|
20003
|
+
"par": {},
|
|
20004
|
+
"standard_back": "已在深圳大悦城购物中心周边1公里范围内查询到3条违停记录,",
|
|
20005
|
+
"back_list": [{
|
|
20006
|
+
"index": 1,
|
|
20007
|
+
"name": "【粤BCD9272】在广深公路城家公寓段违停(876米)",
|
|
20008
|
+
"label": "一般",
|
|
20009
|
+
"label_color": "#FF8E09"
|
|
20010
|
+
}, {
|
|
20011
|
+
"index": 2,
|
|
20012
|
+
"name": "【粤BCD9272】在广深公路城家公寓段违停(876米)",
|
|
20013
|
+
"label": "一般",
|
|
20014
|
+
"label_color": "#FF8E09"
|
|
20015
|
+
}, {
|
|
20016
|
+
"index": 3,
|
|
20017
|
+
"name": "【粤B30200】在创业一路宝晖酒店段违停(946米)",
|
|
20018
|
+
"label": "一般",
|
|
20019
|
+
"label_color": "#FF8E09"
|
|
20020
|
+
}],
|
|
20021
|
+
"recommand_list": [],
|
|
20022
|
+
"show_text": "已在深圳大悦城购物中心周边1公里范围内查询到3条违停记录,涉及车辆:粤BCD9272(重复出现)、粤B30200。可能存在同一车辆多次抓拍或不同时间违停的情况。如需查看某一辆车的详细违停信息(如位置、时长、是否驶离等),请指定车牌号。",
|
|
20023
|
+
"reply": {
|
|
20024
|
+
"id": 6,
|
|
20025
|
+
"level": 1,
|
|
20026
|
+
"text": "生成回复",
|
|
20027
|
+
"parent_id": null,
|
|
20028
|
+
"status": "completed"
|
|
20029
|
+
},
|
|
20030
|
+
"request_back": {},
|
|
20031
|
+
"cim": "cim",
|
|
20032
|
+
"has_next_page": false,
|
|
20033
|
+
"has_prev_page": false
|
|
20034
|
+
}];
|
|
20035
|
+
var mockDataSequence = [{
|
|
20036
|
+
"name": "",
|
|
20037
|
+
"command_name": "",
|
|
20038
|
+
"request_id": "r-1773145879",
|
|
20039
|
+
"sentence_id": "8078ea4b-5dba-3fde-2047-c62d018fdb3e",
|
|
20040
|
+
"answer_id": "09d12a2d62b0050a",
|
|
20041
|
+
"require_ack": false,
|
|
20042
|
+
"par": {},
|
|
20043
|
+
"standard_back": "",
|
|
20044
|
+
"back_list": [],
|
|
20045
|
+
"recommand_list": [],
|
|
20046
|
+
"show_text": "",
|
|
20047
|
+
"reply": {
|
|
20048
|
+
"id": 1,
|
|
20049
|
+
"level": 1,
|
|
20050
|
+
"text": "智能体任务拆解",
|
|
20051
|
+
"parent_id": null,
|
|
20052
|
+
"status": "completed"
|
|
20053
|
+
},
|
|
20054
|
+
"request_back": {},
|
|
20055
|
+
"cim": "cim",
|
|
20056
|
+
"has_next_page": false,
|
|
20057
|
+
"has_prev_page": false
|
|
20058
|
+
}, {
|
|
20059
|
+
"name": "",
|
|
20060
|
+
"command_name": "",
|
|
20061
|
+
"request_id": "r-1773145879",
|
|
20062
|
+
"sentence_id": "8078ea4b-5dba-3fde-2047-c62d018fdb3e",
|
|
20063
|
+
"answer_id": "09d12a2d62b0050a",
|
|
20064
|
+
"require_ack": false,
|
|
20065
|
+
"par": {},
|
|
20066
|
+
"standard_back": "",
|
|
20067
|
+
"back_list": [],
|
|
20068
|
+
"recommand_list": [],
|
|
20069
|
+
"show_text": "",
|
|
20070
|
+
"reply": {
|
|
20071
|
+
"id": 2,
|
|
20072
|
+
"level": 1,
|
|
20073
|
+
"text": "调用工具",
|
|
20074
|
+
"parent_id": null,
|
|
20075
|
+
"status": "completed"
|
|
20076
|
+
},
|
|
20077
|
+
"request_back": {},
|
|
20078
|
+
"cim": "cim",
|
|
20079
|
+
"has_next_page": false,
|
|
20080
|
+
"has_prev_page": false
|
|
20081
|
+
}, {
|
|
20082
|
+
"name": "",
|
|
20083
|
+
"command_name": "",
|
|
20084
|
+
"request_id": "r-1773145879",
|
|
20085
|
+
"sentence_id": "8078ea4b-5dba-3fde-2047-c62d018fdb3e",
|
|
20086
|
+
"answer_id": "09d12a2d62b0050a",
|
|
20087
|
+
"require_ack": false,
|
|
20088
|
+
"par": {},
|
|
20089
|
+
"standard_back": "",
|
|
20090
|
+
"back_list": [],
|
|
20091
|
+
"recommand_list": [],
|
|
20092
|
+
"show_text": "",
|
|
20093
|
+
"reply": {
|
|
20094
|
+
"id": 4,
|
|
20095
|
+
"level": 2,
|
|
20096
|
+
"text": "调用地理实体定位工具",
|
|
20097
|
+
"parent_id": 2,
|
|
20098
|
+
"status": "generating"
|
|
20099
|
+
},
|
|
20100
|
+
"request_back": {},
|
|
20101
|
+
"cim": "cim",
|
|
20102
|
+
"has_next_page": false,
|
|
20103
|
+
"has_prev_page": false
|
|
20104
|
+
}, {
|
|
20105
|
+
"name": "",
|
|
20106
|
+
"command_name": "",
|
|
20107
|
+
"request_id": "r-1773145880",
|
|
20108
|
+
"sentence_id": "8078ea4b-5dba-3fde-2047-c62d018fdb3e",
|
|
20109
|
+
"answer_id": "09d12a2d62b0050a",
|
|
20110
|
+
"require_ack": true,
|
|
20111
|
+
"par": {},
|
|
20112
|
+
"standard_back": "",
|
|
20113
|
+
"back_list": [],
|
|
20114
|
+
"recommand_list": [],
|
|
20115
|
+
"show_text": "",
|
|
20116
|
+
"reply": {},
|
|
20117
|
+
"request_back": {
|
|
20118
|
+
"data": {
|
|
20119
|
+
"sdkCommands": [{
|
|
20120
|
+
"commandType": "LOCATE_ENTITY",
|
|
20121
|
+
"commandValue": {
|
|
20122
|
+
"entity": {
|
|
20123
|
+
"id": "440306011002003060408000001",
|
|
20124
|
+
"address": "广东省深圳市宝安区创业二路与前进一路交汇处",
|
|
20125
|
+
"adcode": "440306",
|
|
20126
|
+
"x": "113.89756613602398",
|
|
20127
|
+
"y": "22.572236691753922",
|
|
20128
|
+
"key": "深圳大悦城购物中心",
|
|
20129
|
+
"freq": "",
|
|
20130
|
+
"province": "广东省",
|
|
20131
|
+
"city": "深圳市",
|
|
20132
|
+
"county": "宝安区",
|
|
20133
|
+
"town": "新安街道",
|
|
20134
|
+
"prefix": "",
|
|
20135
|
+
"score": "",
|
|
20136
|
+
"alias": ["新安大悦城", "宝安大悦城", "大悦城"],
|
|
20137
|
+
"palias": "",
|
|
20138
|
+
"parent_id": "",
|
|
20139
|
+
"exttype": "DLSTDL",
|
|
20140
|
+
"type": "060101",
|
|
20141
|
+
"extinfo": "POLYGON ((113.89608549819971 22.572413717655266, 113.89772848638547 22.57084860359924, 113.89904677384824 22.57200202861513, 113.89740969736704 22.573624779908602, 113.89608549819971 22.572413717655266))",
|
|
20142
|
+
"pc_type": "",
|
|
20143
|
+
"brand_name": "",
|
|
20144
|
+
"std_addr_id": "",
|
|
20145
|
+
"std_addr_address": "",
|
|
20146
|
+
"business_id": "440306011002003060408000001",
|
|
20147
|
+
"datasource": "块数据",
|
|
20148
|
+
"keylevel": "",
|
|
20149
|
+
"pic_url": "",
|
|
20150
|
+
"bg_id": "",
|
|
20151
|
+
"bld_code": "",
|
|
20152
|
+
"community": "宝民社区",
|
|
20153
|
+
"grid": "宝民03",
|
|
20154
|
+
"room_code": "",
|
|
20155
|
+
"area": "46181.68",
|
|
20156
|
+
"labels": "",
|
|
20157
|
+
"jdbm": "440306011",
|
|
20158
|
+
"sqbm": "440306011002",
|
|
20159
|
+
"wgbm": "440306011002003",
|
|
20160
|
+
"code": "440306011002003060408000001",
|
|
20161
|
+
"name": "深圳大悦城购物中心",
|
|
20162
|
+
"topic": "地名地址",
|
|
20163
|
+
"category": "地理实体",
|
|
20164
|
+
"subcategory": "购物中心",
|
|
20165
|
+
"regions": ["新安街道", "宝民社区", "宝民03"],
|
|
20166
|
+
"regions_code": ["440306011", "440306011002", "440306011002003"],
|
|
20167
|
+
"geometry": "01030000000100000005000000024CFD7659795C40741C95B489923640A56D2E6274795C400F6D53222392364029D07AFB89795C40CC2596B96E923640805315296F795C40F5E1D512D9923640024CFD7659795C40741C95B489923640",
|
|
20168
|
+
"created_time": "12/12/2025 18:11:30",
|
|
20169
|
+
"updated_time": "12/12/2025 18:11:30",
|
|
20170
|
+
"is_delete": "0",
|
|
20171
|
+
"location": "POINT (113.89756613602398 22.572236691753922)",
|
|
20172
|
+
"self_score": 1000,
|
|
20173
|
+
"_id": "drE715wBvZ-8cNxZaYHX",
|
|
20174
|
+
"_score": 115.43705,
|
|
20175
|
+
"_source": "es",
|
|
20176
|
+
"__sim_val": 1,
|
|
20177
|
+
"subject": "poi"
|
|
20178
|
+
},
|
|
20179
|
+
"isShowPortrait": false,
|
|
20180
|
+
"isShowLabel": false
|
|
20181
|
+
}
|
|
20182
|
+
}],
|
|
20183
|
+
"chat": {
|
|
20184
|
+
"message": ""
|
|
20185
|
+
},
|
|
20186
|
+
"isTransformData": true
|
|
20187
|
+
}
|
|
20188
|
+
},
|
|
20189
|
+
"cim": "cim",
|
|
20190
|
+
"has_next_page": false,
|
|
20191
|
+
"has_prev_page": false
|
|
20192
|
+
}, {
|
|
20193
|
+
"name": "",
|
|
20194
|
+
"command_name": "",
|
|
20195
|
+
"request_id": "r-1773145886",
|
|
20196
|
+
"sentence_id": "8078ea4b-5dba-3fde-2047-c62d018fdb3e",
|
|
20197
|
+
"answer_id": "09d12a2d62b0050a",
|
|
20198
|
+
"require_ack": false,
|
|
20199
|
+
"par": {},
|
|
20200
|
+
"standard_back": "",
|
|
20201
|
+
"back_list": [],
|
|
20202
|
+
"recommand_list": [],
|
|
20203
|
+
"show_text": "",
|
|
20204
|
+
"reply": {
|
|
20205
|
+
"id": 4,
|
|
20206
|
+
"level": 2,
|
|
20207
|
+
"text": "调用地理实体定位工具",
|
|
20208
|
+
"parent_id": 2,
|
|
20209
|
+
"status": "completed"
|
|
20210
|
+
},
|
|
20211
|
+
"request_back": {},
|
|
20212
|
+
"cim": "cim",
|
|
20213
|
+
"has_next_page": false,
|
|
20214
|
+
"has_prev_page": false
|
|
20215
|
+
}, {
|
|
20216
|
+
"name": "",
|
|
20217
|
+
"command_name": "",
|
|
20218
|
+
"request_id": "r-1773145887",
|
|
20219
|
+
"sentence_id": "8078ea4b-5dba-3fde-2047-c62d018fdb3e",
|
|
20220
|
+
"answer_id": "09d12a2d62b0050a",
|
|
20221
|
+
"require_ack": false,
|
|
20222
|
+
"par": {},
|
|
20223
|
+
"standard_back": "",
|
|
20224
|
+
"back_list": [],
|
|
20225
|
+
"recommand_list": [],
|
|
20226
|
+
"show_text": "",
|
|
20227
|
+
"reply": {
|
|
20228
|
+
"id": 5,
|
|
20229
|
+
"level": 2,
|
|
20230
|
+
"text": "调用查看地理实体周边违停情况工具",
|
|
20231
|
+
"parent_id": 2,
|
|
20232
|
+
"status": "generating"
|
|
20233
|
+
},
|
|
20234
|
+
"request_back": {},
|
|
20235
|
+
"cim": "cim",
|
|
20236
|
+
"has_next_page": false,
|
|
20237
|
+
"has_prev_page": false
|
|
20238
|
+
}, {
|
|
20239
|
+
"name": "",
|
|
20240
|
+
"command_name": "",
|
|
20241
|
+
"request_id": "r-1773145887",
|
|
20242
|
+
"sentence_id": "8078ea4b-5dba-3fde-2047-c62d018fdb3e",
|
|
20243
|
+
"answer_id": "09d12a2d62b0050a",
|
|
20244
|
+
"require_ack": false,
|
|
20245
|
+
"par": {},
|
|
20246
|
+
"standard_back": "",
|
|
20247
|
+
"back_list": [],
|
|
20248
|
+
"recommand_list": [],
|
|
20249
|
+
"show_text": "",
|
|
20250
|
+
"reply": {
|
|
20251
|
+
"id": 5,
|
|
20252
|
+
"level": 2,
|
|
20253
|
+
"text": "调用查看地理实体周边违停情况工具",
|
|
20254
|
+
"parent_id": 2,
|
|
20255
|
+
"status": "completed"
|
|
20256
|
+
},
|
|
20257
|
+
"request_back": {},
|
|
20258
|
+
"cim": "cim",
|
|
20259
|
+
"has_next_page": false,
|
|
20260
|
+
"has_prev_page": false
|
|
20261
|
+
}, {
|
|
20262
|
+
"name": "",
|
|
20263
|
+
"command_name": "",
|
|
20264
|
+
"request_id": "r-1773145888",
|
|
20265
|
+
"sentence_id": "8078ea4b-5dba-3fde-2047-c62d018fdb3e",
|
|
20266
|
+
"answer_id": "09d12a2d62b0050a",
|
|
20267
|
+
"require_ack": false,
|
|
20268
|
+
"par": {},
|
|
20269
|
+
"standard_back": "已在深圳大悦城购物中心周边1公里范围内查询到3条违停记录,",
|
|
20270
|
+
"back_list": [{
|
|
20271
|
+
"index": 1,
|
|
20272
|
+
"name": "【粤BCD9272】在广深公路城家公寓段违停(876米)",
|
|
20273
|
+
"label": "一般",
|
|
20274
|
+
"label_color": "#FF8E09"
|
|
20275
|
+
}, {
|
|
20276
|
+
"index": 2,
|
|
20277
|
+
"name": "【粤BCD9272】在广深公路城家公寓段违停(876米)",
|
|
20278
|
+
"label": "一般",
|
|
20279
|
+
"label_color": "#FF8E09"
|
|
20280
|
+
}, {
|
|
20281
|
+
"index": 3,
|
|
20282
|
+
"name": "【粤B30200】在创业一路宝晖酒店段违停(946米)",
|
|
20283
|
+
"label": "一般",
|
|
20284
|
+
"label_color": "#FF8E09"
|
|
20285
|
+
}],
|
|
20286
|
+
"recommand_list": [],
|
|
20287
|
+
"show_text": "已在深圳大悦城购物中心周边1公里范围内查询到3条违停记录,涉及车辆:粤BCD9272(重复出现)、粤B30200。可能存在同一车辆多次抓拍或不同时间违停的情况。如需查看某一辆车的详细违停信息(如位置、时长、是否驶离等),请指定车牌号。",
|
|
20288
|
+
"reply": {
|
|
20289
|
+
"id": 6,
|
|
20290
|
+
"level": 1,
|
|
20291
|
+
"text": "生成回复",
|
|
20292
|
+
"parent_id": null,
|
|
20293
|
+
"status": "completed"
|
|
20294
|
+
},
|
|
20295
|
+
"request_back": {},
|
|
20296
|
+
"cim": "cim",
|
|
20297
|
+
"has_next_page": false,
|
|
20298
|
+
"has_prev_page": false
|
|
20299
|
+
}];
|
|
19565
20300
|
;// ./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/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=script&lang=js
|
|
19566
20301
|
function SpeechRecognitionvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return SpeechRecognitionvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, SpeechRecognitionvue_type_script_lang_js_typeof(o); }
|
|
19567
20302
|
function SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return r; }; var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof Symbol ? Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag"; function c(t, r, e, n) { return Object.defineProperty(t, r, { value: e, enumerable: !n, configurable: !n, writable: !n }); } try { c({}, ""); } catch (t) { c = function c(t, r, e) { return t[r] = e; }; } function h(r, e, n, o) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype); return c(a, "_invoke", function (r, e, n) { var o = 1; return function (i, a) { if (3 === o) throw Error("Generator is already running"); if (4 === o) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var u = n.delegate; if (u) { var c = d(u, n); if (c) { if (c === f) continue; return c; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (1 === o) throw o = 4, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = 3; var h = s(r, e, n); if ("normal" === h.type) { if (o = n.done ? 4 : 2, h.arg === f) continue; return { value: h.arg, done: n.done }; } "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg); } }; }(r, n, new Context(o || [])), !0), a; } function s(t, r, e) { try { return { type: "normal", arg: t.call(r, e) }; } catch (t) { return { type: "throw", arg: t }; } } r.wrap = h; var f = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var l = {}; c(l, i, function () { return this; }); var p = Object.getPrototypeOf, y = p && p(p(x([]))); y && y !== e && n.call(y, i) && (l = y); var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l); function g(t) { ["next", "throw", "return"].forEach(function (r) { c(t, r, function (t) { return this._invoke(r, t); }); }); } function AsyncIterator(t, r) { function e(o, i, a, u) { var c = s(t[o], t, i); if ("throw" !== c.type) { var h = c.arg, f = h.value; return f && "object" == SpeechRecognitionvue_type_script_lang_js_typeof(f) && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) { e("next", t, a, u); }, function (t) { e("throw", t, a, u); }) : r.resolve(f).then(function (t) { h.value = t, a(h); }, function (t) { return e("throw", t, a, u); }); } u(c.arg); } var o; c(this, "_invoke", function (t, n) { function i() { return new r(function (r, o) { e(t, n, r, o); }); } return o = o ? o.then(i, i) : i(); }, !0); } function d(r, e) { var n = e.method, o = r.i[n]; if (o === t) return e.delegate = null, "throw" === n && r.i.return && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f; var i = s(o, r.i, e.arg); if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f; var a = i.arg; return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f); } function w(t) { this.tryEntries.push(t); } function m(r) { var e = r[4] || {}; e.type = "normal", e.arg = t, r[4] = e; } function Context(t) { this.tryEntries = [[-1]], t.forEach(w, this), this.reset(!0); } function x(r) { if (null != r) { var e = r[i]; if (e) return e.call(r); if ("function" == typeof r.next) return r; if (!isNaN(r.length)) { var o = -1, a = function e() { for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e; return e.value = t, e.done = !0, e; }; return a.next = a; } } throw new TypeError(SpeechRecognitionvue_type_script_lang_js_typeof(r) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"), r.isGeneratorFunction = function (t) { var r = "function" == typeof t && t.constructor; return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name)); }, r.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, "GeneratorFunction")), t.prototype = Object.create(v), t; }, r.awrap = function (t) { return { __await: t }; }, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () { return this; }), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(h(t, e, n, o), i); return r.isGeneratorFunction(e) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, g(v), c(v, u, "Generator"), c(v, i, function () { return this; }), c(v, "toString", function () { return "[object Generator]"; }), r.keys = function (t) { var r = Object(t), e = []; for (var n in r) e.unshift(n); return function t() { for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t; return t.done = !0, t; }; }, r.values = x, Context.prototype = { constructor: Context, reset: function reset(r) { if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0][4]; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(r) { if (this.done) throw r; var e = this; function n(t) { a.type = "throw", a.arg = r, e.next = t; } for (var o = e.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i[4], u = this.prev, c = i[1], h = i[2]; if (-1 === i[0]) return n("end"), !1; if (!c && !h) throw Error("try statement without catch or finally"); if (null != i[0] && i[0] <= u) { if (u < c) return this.method = "next", this.arg = t, n(c), !0; if (u < h) return n(h), !1; } } }, abrupt: function abrupt(t, r) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var n = this.tryEntries[e]; if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) { var o = n; break; } } o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null); var i = o ? o[4] : {}; return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i); }, complete: function complete(t, r) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && r && (this.next = r), f; }, finish: function finish(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[2] === t) return this.complete(e[4], e[3]), m(e), f; } }, catch: function _catch(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[0] === t) { var n = e[4]; if ("throw" === n.type) { var o = n.arg; m(e); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(r, e, n) { return this.delegate = { i: x(r), r: e, n: n }, "next" === this.method && (this.arg = t), f; } }, r; }
|
|
@@ -19586,6 +20321,7 @@ function SpeechRecognitionvue_type_script_lang_js_toPrimitive(t, r) { if ("objec
|
|
|
19586
20321
|
|
|
19587
20322
|
|
|
19588
20323
|
|
|
20324
|
+
|
|
19589
20325
|
var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
19590
20326
|
name: "yx-speech-recognition",
|
|
19591
20327
|
directives: {
|
|
@@ -19714,7 +20450,8 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
19714
20450
|
isWaitAnswer: false,
|
|
19715
20451
|
showNextPage: false,
|
|
19716
20452
|
showPrevPage: false,
|
|
19717
|
-
streamItems: []
|
|
20453
|
+
streamItems: [],
|
|
20454
|
+
currentIndex: 0
|
|
19718
20455
|
};
|
|
19719
20456
|
},
|
|
19720
20457
|
computed: {
|
|
@@ -19988,23 +20725,27 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
19988
20725
|
}
|
|
19989
20726
|
}
|
|
19990
20727
|
if (_messages) {
|
|
20728
|
+
var _back_list;
|
|
19991
20729
|
content && (_messages.content = g.parse(content));
|
|
19992
20730
|
_messages.streamItems = this.streamItems || [];
|
|
20731
|
+
((_back_list = back_list) === null || _back_list === void 0 ? void 0 : _back_list.length) && (_messages.backList = back_list);
|
|
20732
|
+
recommand_list.length && (_messages.recommandList = recommand_list);
|
|
20733
|
+
messages.showPrevPage = showPrevPage;
|
|
20734
|
+
messages.showNextPage = showNextPage;
|
|
19993
20735
|
} else {
|
|
19994
20736
|
var _text = messages.content ? g.parse(messages.content) : messages.content;
|
|
19995
20737
|
var flag = false;
|
|
19996
20738
|
if (content || recommand_list.length > 0 || back_list.length > 0 || this.streamItems.length > 0) flag = true;
|
|
19997
|
-
if (flag)
|
|
19998
|
-
|
|
19999
|
-
|
|
20000
|
-
|
|
20001
|
-
|
|
20002
|
-
|
|
20003
|
-
|
|
20004
|
-
|
|
20005
|
-
|
|
20006
|
-
|
|
20007
|
-
}
|
|
20739
|
+
if (!flag) return;
|
|
20740
|
+
this.messagesList.push(SpeechRecognitionvue_type_script_lang_js_objectSpread(SpeechRecognitionvue_type_script_lang_js_objectSpread({}, messages), {}, {
|
|
20741
|
+
content: _text,
|
|
20742
|
+
sentenceId: res.sentenceId,
|
|
20743
|
+
backList: back_list,
|
|
20744
|
+
recommandList: recommand_list,
|
|
20745
|
+
streamItems: this.streamItems || [],
|
|
20746
|
+
showNextPage: showNextPage,
|
|
20747
|
+
showPrevPage: showPrevPage
|
|
20748
|
+
}));
|
|
20008
20749
|
}
|
|
20009
20750
|
this.bubbleBoxBackList = back_list || [];
|
|
20010
20751
|
this.bubbleBoxRecommandList = recommand_list || [];
|
|
@@ -20025,7 +20766,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
20025
20766
|
updateSession: function updateSession(opt) {
|
|
20026
20767
|
var _this2 = this;
|
|
20027
20768
|
return SpeechRecognitionvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
20028
|
-
var messages, res, type, content, _messages$isReading, isReading, back_list, recommand_list, _messages$showNextPag2, showNextPage, _messages$showPrevPag2, showPrevPage, _messages, _text, voice_id, session_id, sentenceId, formData, resp, _res, code, msg, status, obj, _content, standard_back, show_text, command_type,
|
|
20769
|
+
var messages, res, type, content, _messages$isReading, isReading, back_list, recommand_list, _messages$showNextPag2, showNextPage, _messages$showPrevPag2, showPrevPage, _messages, _text, voice_id, session_id, sentenceId, formData, resp, _res, code, msg, status, obj, _content, standard_back, show_text, command_type, _back_list2, _recommand_list, has_next_page, has_prev_page, _opt, _showNextPage, _showPrevPage, _opts, _opt2, _error$message, _error$message2;
|
|
20029
20770
|
return SpeechRecognitionvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
20030
20771
|
while (1) switch (_context.prev = _context.next) {
|
|
20031
20772
|
case 0:
|
|
@@ -20109,7 +20850,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
20109
20850
|
break;
|
|
20110
20851
|
}
|
|
20111
20852
|
_content = "";
|
|
20112
|
-
standard_back = obj.standard_back, show_text = obj.show_text, command_type = obj.command_type,
|
|
20853
|
+
standard_back = obj.standard_back, show_text = obj.show_text, command_type = obj.command_type, _back_list2 = obj.back_list, _recommand_list = obj.recommand_list, has_next_page = obj.has_next_page, has_prev_page = obj.has_prev_page;
|
|
20113
20854
|
if (!(Object.keys(obj).length > 0)) {
|
|
20114
20855
|
_context.next = 43;
|
|
20115
20856
|
break;
|
|
@@ -20150,7 +20891,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
20150
20891
|
type: "FROM",
|
|
20151
20892
|
content: show_text || _content,
|
|
20152
20893
|
contentStatus: status,
|
|
20153
|
-
back_list:
|
|
20894
|
+
back_list: _back_list2 || [],
|
|
20154
20895
|
recommand_list: _recommand_list || [],
|
|
20155
20896
|
showNextPage: _showNextPage,
|
|
20156
20897
|
showPrevPage: _showPrevPage
|
|
@@ -20863,29 +21604,51 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
20863
21604
|
|
|
20864
21605
|
// 停止并释放 audio
|
|
20865
21606
|
this.pauseAudio();
|
|
21607
|
+
},
|
|
21608
|
+
receiveNextData: function receiveNextData() {
|
|
21609
|
+
var _this11 = this;
|
|
21610
|
+
if (this.currentIndex < mockDataSequence.length) {
|
|
21611
|
+
var data = mockDataSequence[this.currentIndex];
|
|
21612
|
+
// this.processReceivedData(data);
|
|
21613
|
+
this.disposeMessage({
|
|
21614
|
+
type: 'broadcast',
|
|
21615
|
+
data: {
|
|
21616
|
+
obj: data
|
|
21617
|
+
}
|
|
21618
|
+
});
|
|
21619
|
+
this.currentIndex++;
|
|
21620
|
+
console.log(this.currentIndex, data, "sendData", mockDataSequence.length, mockDataSequence);
|
|
21621
|
+
// 模拟接口响应延迟
|
|
21622
|
+
this.intervalId = setTimeout(function () {
|
|
21623
|
+
_this11.receiveNextData();
|
|
21624
|
+
}, 1000);
|
|
21625
|
+
} else {
|
|
21626
|
+
// this.isReceiving = false;
|
|
21627
|
+
}
|
|
20866
21628
|
}
|
|
20867
21629
|
},
|
|
20868
21630
|
beforeDestroy: function beforeDestroy() {
|
|
20869
21631
|
this.cleanupResources();
|
|
20870
21632
|
},
|
|
20871
21633
|
mounted: function mounted() {
|
|
20872
|
-
var
|
|
21634
|
+
var _this12 = this;
|
|
20873
21635
|
this._isDestroyed = false;
|
|
20874
21636
|
this.showPopover();
|
|
20875
21637
|
this.onStart();
|
|
20876
21638
|
this.getMessage();
|
|
20877
21639
|
document.addEventListener('click', function (e) {
|
|
20878
21640
|
if (!e.target.closest('.dropdown')) {
|
|
20879
|
-
|
|
21641
|
+
_this12.isShowSelect = false;
|
|
20880
21642
|
}
|
|
20881
21643
|
});
|
|
21644
|
+
// this.receiveNextData()
|
|
20882
21645
|
}
|
|
20883
21646
|
};
|
|
20884
21647
|
|
|
20885
21648
|
var SpeechRecognitionvue_type_script_lang_js_injectCSSVars_ = function __injectCSSVars__() {
|
|
20886
21649
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(function (_vm, _setup) {
|
|
20887
21650
|
return {
|
|
20888
|
-
"
|
|
21651
|
+
"a9ca150c": _vm.htmlFontSize
|
|
20889
21652
|
};
|
|
20890
21653
|
});
|
|
20891
21654
|
};
|
|
@@ -20897,13 +21660,13 @@ SpeechRecognitionvue_type_script_lang_js_default_.setup = SpeechRecognitionvue_t
|
|
|
20897
21660
|
/* harmony default export */ var SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js_default_);
|
|
20898
21661
|
;// ./package/SpeechRecognition/index.vue?vue&type=script&lang=js
|
|
20899
21662
|
/* harmony default export */ var package_SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js);
|
|
20900
|
-
// 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=
|
|
20901
|
-
var
|
|
20902
|
-
;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=
|
|
21663
|
+
// 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=19222fe2&prod&lang=scss&scoped=true
|
|
21664
|
+
var SpeechRecognitionvue_type_style_index_0_id_19222fe2_prod_lang_scss_scoped_true = __webpack_require__(156);
|
|
21665
|
+
;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=19222fe2&prod&lang=scss&scoped=true
|
|
20903
21666
|
|
|
20904
|
-
// 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=1&id=
|
|
20905
|
-
var
|
|
20906
|
-
;// ./package/SpeechRecognition/index.vue?vue&type=style&index=1&id=
|
|
21667
|
+
// 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=1&id=19222fe2&prod&lang=scss
|
|
21668
|
+
var SpeechRecognitionvue_type_style_index_1_id_19222fe2_prod_lang_scss = __webpack_require__(971);
|
|
21669
|
+
;// ./package/SpeechRecognition/index.vue?vue&type=style&index=1&id=19222fe2&prod&lang=scss
|
|
20907
21670
|
|
|
20908
21671
|
;// ./package/SpeechRecognition/index.vue
|
|
20909
21672
|
|
|
@@ -20921,7 +21684,7 @@ var SpeechRecognition_component = normalizeComponent(
|
|
|
20921
21684
|
staticRenderFns,
|
|
20922
21685
|
false,
|
|
20923
21686
|
null,
|
|
20924
|
-
"
|
|
21687
|
+
"19222fe2",
|
|
20925
21688
|
null
|
|
20926
21689
|
|
|
20927
21690
|
)
|