yxspeechrecognition 1.5.1 → 1.5.3

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.
@@ -11,6 +11,22 @@
11
11
  return /******/ (function() { // webpackBootstrap
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
14
+ /***/ 78:
15
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
16
+
17
+ // style-loader: Adds some css to the DOM by adding a <style> tag
18
+
19
+ // load the styles
20
+ var content = __webpack_require__(320);
21
+ if(content.__esModule) content = content.default;
22
+ if(typeof content === 'string') content = [[module.id, content, '']];
23
+ if(content.locals) module.exports = content.locals;
24
+ // add the styles to the DOM
25
+ var add = (__webpack_require__(459)/* ["default"] */ .A)
26
+ var update = add("6143aa37", content, true, {"sourceMap":false,"shadowMode":false});
27
+
28
+ /***/ }),
29
+
14
30
  /***/ 274:
15
31
  /***/ (function(module) {
16
32
 
@@ -109,6 +125,27 @@ module.exports = function (cssWithMappingToString) {
109
125
  return list;
110
126
  };
111
127
 
128
+ /***/ }),
129
+
130
+ /***/ 320:
131
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
132
+
133
+ "use strict";
134
+ __webpack_require__.r(__webpack_exports__);
135
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
136
+ /* 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__);
137
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
138
+ /* 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__);
139
+ // Imports
140
+
141
+
142
+ 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()));
143
+ // Module
144
+ ___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .icon[data-v-1012be1a]{position:absolute;right:calc(var(--f3e9def8)*81.43);top:calc(var(--f3e9def8)*6.67);pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .box[data-v-1012be1a] ::-webkit-scrollbar{width:0;height:0;display:none;background:transparent}.yx-speech-recognition .box[data-v-1012be1a]{display:grid;grid-template-rows:max-content 1fr;position:absolute;pointer-events:all;background:rgba(2,11,72,.6);border-radius:calc(var(--f3e9def8)*.57);z-index:20}.yx-speech-recognition .box .title[data-v-1012be1a]{display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(var(--f3e9def8)*2.29);padding:0 calc(var(--f3e9def8)*.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(--f3e9def8)*.57) calc(var(--f3e9def8)*.57) 0 0}.yx-speech-recognition .box .title-icon[data-v-1012be1a]{display:flex;align-items:center;gap:calc(var(--f3e9def8)*.38)}.yx-speech-recognition .box .title-icon img[data-v-1012be1a]{width:calc(var(--f3e9def8)*1);height:calc(var(--f3e9def8)*1)}.yx-speech-recognition .box .title-icon span[data-v-1012be1a]{font-size:calc(var(--f3e9def8)*1.14);font-weight:800;color:#fff}.yx-speech-recognition .box .title .close[data-v-1012be1a]{cursor:pointer}.yx-speech-recognition .box .title .close img[data-v-1012be1a]{width:calc(var(--f3e9def8)*1.1)}.yx-speech-recognition .box .content[data-v-1012be1a]{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-1012be1a]{margin-top:calc(var(--f3e9def8)*7.5);font-size:calc(var(--f3e9def8)*1)}.yx-speech-recognition .box .message-list[data-v-1012be1a]{overflow:hidden;padding:calc(var(--f3e9def8)*.58);box-sizing:border-box;padding-right:calc(var(--f3e9def8)*.29)}.yx-speech-recognition .box .message-list-inner[data-v-1012be1a]{height:100%;display:flex;flex-direction:column;gap:calc(var(--f3e9def8)*.53);overflow-y:overlay;white-space:pre-line}.yx-speech-recognition .displayAssistant[data-v-1012be1a]{position:absolute;pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .displayAssistant .icon1[data-v-1012be1a]{width:calc(var(--f3e9def8)*3.76);height:calc(var(--f3e9def8)*3.88)}.yx-speech-recognition .displayAssistant .icon1 img[data-v-1012be1a]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox[data-v-1012be1a]{position:absolute;top:0;left:calc(var(--f3e9def8)*3.76)}.yx-speech-recognition .displayAssistant .bubbleBox span[data-v-1012be1a]{display:block;max-width:calc(var(--f3e9def8)*19.21);font-size:calc(var(--f3e9def8)*1);color:#fff;padding:calc(var(--f3e9def8)*.38);box-sizing:border-box}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-1012be1a]{position:fixed;background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--f3e9def8)*.57) 0 #d4d9ff;border-radius:calc(var(--f3e9def8)*.27);margin-left:calc(var(--f3e9def8)*.49);word-break:break-all;white-space:pre-line}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-1012be1a]:after,.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-1012be1a]:before{content:\"\";display:block;position:absolute}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-1012be1a]:before{border-top:calc(var(--f3e9def8)*.25) solid transparent;border-bottom:calc(var(--f3e9def8)*.25) solid transparent;border-right:calc(var(--f3e9def8)*.5) solid rgba(70,61,255,.85);transform:translateX(calc(var(--f3e9def8)*-.46));left:0;top:calc(var(--f3e9def8)*.48)}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-1012be1a]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--f3e9def8)*.57) 0 #fff3b4}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-1012be1a]:before{border-right:calc(var(--f3e9def8)*.5) solid transparent}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-1012be1a]:after{border-top:calc(var(--f3e9def8)*.25) solid transparent;border-bottom:calc(var(--f3e9def8)*.25) solid transparent;border-right:calc(var(--f3e9def8)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--f3e9def8)*-.46));left:0;top:calc(var(--f3e9def8)*.48)}.inputContainer[data-v-1012be1a]{display:flex;flex:1;justify-content:space-between;align-items:center;background-color:rgba(2,11,72,.3);border-radius:calc(var(--f3e9def8)*.57)}.inputContainer .inputBox[data-v-1012be1a]{margin:4px;flex:1;height:calc(var(--f3e9def8)*1.8);border-color:transparent;background-color:transparent;border-radius:calc(var(--f3e9def8)*.57);font-size:calc(var(--f3e9def8)*1);color:#fff;padding:0 20px;outline:none}.inputContainer .inputButton[data-v-1012be1a]{margin-right:20px;flex-shrink:0}", ""]);
145
+ // Exports
146
+ /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
147
+
148
+
112
149
  /***/ }),
113
150
 
114
151
  /***/ 344:
@@ -387,24 +424,11 @@ function applyToTag (styleElement, obj) {
387
424
 
388
425
  /***/ }),
389
426
 
390
- /***/ 500:
391
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
427
+ /***/ 462:
428
+ /***/ (function(module) {
392
429
 
393
430
  "use strict";
394
- __webpack_require__.r(__webpack_exports__);
395
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
396
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
397
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
398
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
399
- // Imports
400
-
401
-
402
- var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
403
- // Module
404
- ___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .icon[data-v-2d7ca1c4]{position:absolute;right:calc(var(--4e5d5650)*81.43);top:calc(var(--4e5d5650)*6.67);pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .box[data-v-2d7ca1c4] ::-webkit-scrollbar{width:0;height:0;display:none;background:transparent}.yx-speech-recognition .box[data-v-2d7ca1c4]{display:grid;grid-template-rows:max-content 1fr;position:absolute;pointer-events:all;background:rgba(2,11,72,.6);border-radius:calc(var(--4e5d5650)*.57);z-index:20}.yx-speech-recognition .box .title[data-v-2d7ca1c4]{display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(var(--4e5d5650)*2.29);padding:0 calc(var(--4e5d5650)*.76);box-sizing:border-box;background:linear-gradient(270deg,rgba(0,126,245,.94),rgba(54,141,253,.75) 70%,rgba(60,125,255,.51));border-radius:calc(var(--4e5d5650)*.57) calc(var(--4e5d5650)*.57) 0 0}.yx-speech-recognition .box .title-icon[data-v-2d7ca1c4]{display:flex;align-items:center;gap:calc(var(--4e5d5650)*.38)}.yx-speech-recognition .box .title-icon img[data-v-2d7ca1c4]{width:calc(var(--4e5d5650)*1);height:calc(var(--4e5d5650)*1)}.yx-speech-recognition .box .title-icon span[data-v-2d7ca1c4]{font-size:calc(var(--4e5d5650)*1.14);font-weight:800;color:#fff}.yx-speech-recognition .box .title .close[data-v-2d7ca1c4]{cursor:pointer}.yx-speech-recognition .box .title .close img[data-v-2d7ca1c4]{width:calc(var(--4e5d5650)*1.1)}.yx-speech-recognition .box .content[data-v-2d7ca1c4]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:url(http://10.99.16.155:8995/mysb/l/main/app/assets/png/icon9-pl26do__.png) no-repeat center 35%;color:#fff}.yx-speech-recognition .box .content span[data-v-2d7ca1c4]{margin-top:calc(var(--4e5d5650)*7.5);font-size:calc(var(--4e5d5650)*1)}.yx-speech-recognition .box .message-list[data-v-2d7ca1c4]{overflow:hidden;padding:calc(var(--4e5d5650)*.58);box-sizing:border-box;padding-right:calc(var(--4e5d5650)*.29)}.yx-speech-recognition .box .message-list-inner[data-v-2d7ca1c4]{height:100%;display:flex;flex-direction:column;gap:calc(var(--4e5d5650)*.53);overflow-y:overlay;white-space:pre-line}.yx-speech-recognition .displayAssistant[data-v-2d7ca1c4]{position:absolute;pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .displayAssistant .icon1[data-v-2d7ca1c4]{width:calc(var(--4e5d5650)*3.76);height:calc(var(--4e5d5650)*3.88)}.yx-speech-recognition .displayAssistant .icon1 img[data-v-2d7ca1c4]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox[data-v-2d7ca1c4]{position:absolute;top:0;left:calc(var(--4e5d5650)*3.76)}.yx-speech-recognition .displayAssistant .bubbleBox span[data-v-2d7ca1c4]{display:block;max-width:calc(var(--4e5d5650)*19.21);font-size:calc(var(--4e5d5650)*1);color:#fff;padding:calc(var(--4e5d5650)*.38);box-sizing:border-box}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-2d7ca1c4]{position:fixed;background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--4e5d5650)*.57) 0 #d4d9ff;border-radius:calc(var(--4e5d5650)*.27);margin-left:calc(var(--4e5d5650)*.49);word-break:break-all;white-space:pre-line}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-2d7ca1c4]:after,.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-2d7ca1c4]:before{content:\"\";display:block;position:absolute}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-2d7ca1c4]:before{border-top:calc(var(--4e5d5650)*.25) solid transparent;border-bottom:calc(var(--4e5d5650)*.25) solid transparent;border-right:calc(var(--4e5d5650)*.5) solid rgba(70,61,255,.85);transform:translateX(calc(var(--4e5d5650)*-.46));left:0;top:calc(var(--4e5d5650)*.48)}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-2d7ca1c4]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--4e5d5650)*.57) 0 #fff3b4}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-2d7ca1c4]:before{border-right:calc(var(--4e5d5650)*.5) solid transparent}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-2d7ca1c4]:after{border-top:calc(var(--4e5d5650)*.25) solid transparent;border-bottom:calc(var(--4e5d5650)*.25) solid transparent;border-right:calc(var(--4e5d5650)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--4e5d5650)*-.46));left:0;top:calc(var(--4e5d5650)*.48)}", ""]);
405
- // Exports
406
- /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
407
-
431
+ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAJKElEQVR4AeybCaweVRXHp4oocYlIMArFaKIBl2hAjLIVqgFTBRTEiEKIoBbcqIK4oCBQQAlUpCoCyqKgCRBFwKhABC0UBcq+7wlQlhIgYV/z+P1e5jT3fd9s38x8vBL6cv7fOXc799xz79y5y7xXZa/wv5UOeIUPgGzlCFg5AqbBAxMTE6uCdcCGOdaGv3oaTBn/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Po29vkIGngBe4ToCI1dTIAarACa7NhUFvXFzYKI8MdHlia4/5ytuZ8AMjK5la4LQkOBd9vm2SqHKxsQNUgWJHQSxm3onn/fTVRYfJIwFd+4BdQWNjByug/nWB3ytF0jz0uduMcC0fyQFqowJXWDGT++mr3/d2XiqrexTQcJe66emT2+5Gz31az8gOsDBO8NLU0WDwNfycj0HxDBIcL1GXdw8xEq1sFjZ58KI8Elo5wBqo0PngM8o5jsCwJSD9niBP6oepGyxBW5wSX4K8HrZcCG9FrR1gbVTsO909gq8dozzj8w0x6QiMbTU/qCiAjjXAXGDDPXO0DpP/ws8cbOhyZtj9/wUwwF7w0GQfDIqFh0Zq7O0Yfgpw3iC5GZHfjyN2gbstdgutLnWq4Hp+nDx3oO5HkDtRpxEQNWPIs8DXmo6Qxzv4LeTZCfhh80M06CzgCPGbAHt1a8LeIO8Bnw9OAC6SvAX6A+X8vwG/HEfMfL/PR9iYunx9InanXhwQZmDYPcCRoCOclBwdkawzPKVxjvDU2F71CtvH6Ldk+gnYFfj/AXGSQzDz+fZKfRN07w/8rsD4XtCrA8IijLwC+FpyfliXeP+HwPf9jchVw/ZB0q8B3jJ/De6XqM7w89F3JeHeaSwOSK3E8FvAAjAbvA84El5LnneAj+Twi65VSHsr+BD4HPg9cJlMlvHR2B1QZDoNc864G+4JkFiKXHhuX1S+z7hpcUCfDeiqa6UDunrw5V7+ZT8CunbAiwAAAP//1lJoRwAAAAZJREFUAwC0WPKfAOfAQQAAAABJRU5ErkJggg==";
408
432
 
409
433
  /***/ }),
410
434
 
@@ -734,22 +758,6 @@ window && (window.CryptoJSTest = CryptoJS);
734
758
 
735
759
  /***/ }),
736
760
 
737
- /***/ 746:
738
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
739
-
740
- // style-loader: Adds some css to the DOM by adding a <style> tag
741
-
742
- // load the styles
743
- var content = __webpack_require__(500);
744
- if(content.__esModule) content = content.default;
745
- if(typeof content === 'string') content = [[module.id, content, '']];
746
- if(content.locals) module.exports = content.locals;
747
- // add the styles to the DOM
748
- var add = (__webpack_require__(459)/* ["default"] */ .A)
749
- var update = add("355b71eb", content, true, {"sourceMap":false,"shadowMode":false});
750
-
751
- /***/ }),
752
-
753
761
  /***/ 780:
754
762
  /***/ (function(module) {
755
763
 
@@ -880,7 +888,7 @@ if (typeof window !== 'undefined') {
880
888
  // Indicate to webpack that this file can be concatenated
881
889
  /* harmony default export */ var setPublicPath = (null);
882
890
 
883
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=template&id=2d7ca1c4&scoped=true
891
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=template&id=1012be1a&scoped=true
884
892
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
885
893
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
886
894
  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; }
@@ -926,7 +934,43 @@ var render = function render() {
926
934
  "size": _vm.size
927
935
  }
928
936
  }, 'Message', item, false));
929
- }), 1)])]) : _vm._e(), _c('div', {
937
+ }), 1)]), _c('div', {
938
+ staticClass: "inputContainer"
939
+ }, [_c('input', {
940
+ directives: [{
941
+ name: "model",
942
+ rawName: "v-model",
943
+ value: _vm.inputContent,
944
+ expression: "inputContent"
945
+ }],
946
+ staticClass: "inputBox",
947
+ attrs: {
948
+ "placeholder": "请输入内容"
949
+ },
950
+ domProps: {
951
+ "value": _vm.inputContent
952
+ },
953
+ on: {
954
+ "keyup": function keyup($event) {
955
+ if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
956
+ return _vm.submitText.apply(null, arguments);
957
+ },
958
+ "input": function input($event) {
959
+ if ($event.target.composing) return;
960
+ _vm.inputContent = $event.target.value;
961
+ }
962
+ }
963
+ }), _c('div', {
964
+ staticClass: "inputButton",
965
+ on: {
966
+ "click": _vm.submitText
967
+ }
968
+ }, [_c('img', {
969
+ attrs: {
970
+ "src": __webpack_require__(462),
971
+ "alt": ""
972
+ }
973
+ })])])]) : _vm._e(), _c('div', {
930
974
  staticClass: "displayAssistant",
931
975
  style: _vm.imgPosition
932
976
  }, [_c('div', {
@@ -961,7 +1005,7 @@ var staticRenderFns = [function () {
961
1005
  }), _c('span', [_vm._v("小安助手")])]);
962
1006
  }];
963
1007
 
964
- ;// ./package/SpeechRecognition/index.vue?vue&type=template&id=2d7ca1c4&scoped=true
1008
+ ;// ./package/SpeechRecognition/index.vue?vue&type=template&id=1012be1a&scoped=true
965
1009
 
966
1010
  // EXTERNAL MODULE: ./package/SpeechRecognition/utils/speech/cryptojs.js
967
1011
  var cryptojs = __webpack_require__(672);
@@ -16695,6 +16739,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
16695
16739
  },
16696
16740
  data: function data() {
16697
16741
  return {
16742
+ inputContent: "",
16698
16743
  windowStyle: {
16699
16744
  left: "100px",
16700
16745
  top: "400px"
@@ -16872,7 +16917,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
16872
16917
  _this2.bubbleBoxType = type;
16873
16918
  _this2.bubbleBoxTitle = content;
16874
16919
  if (!(type === "TO" && res.result.slice_type === 2)) {
16875
- _context.next = 39;
16920
+ _context.next = 40;
16876
16921
  break;
16877
16922
  }
16878
16923
  voice_id = res.voice_id, session_id = res.sessionId;
@@ -16891,7 +16936,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
16891
16936
  _res = _context.sent;
16892
16937
  code = _res.code, msg = _res.msg, obj = _res.obj;
16893
16938
  if (!(code == 200)) {
16894
- _context.next = 29;
16939
+ _context.next = 30;
16895
16940
  break;
16896
16941
  }
16897
16942
  _content = "";
@@ -16920,45 +16965,48 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
16920
16965
  content: _content
16921
16966
  },
16922
16967
  sentenceId: Math.floor(Math.random() * 1000000).toString()
16923
- };
16924
- _this2.handlePlayTTS({
16925
- content: _content,
16926
- onStart: function onStart() {
16927
- _this2.pushMessage(_opts);
16928
- }
16968
+ }; // this.handlePlayTTS({
16969
+ // content: _content,
16970
+ // onStart: () => {
16971
+ // this.pushMessage(_opts)
16972
+ // }
16973
+ // })
16974
+ _this2.openAide();
16975
+ _this2.updateSession({
16976
+ res: {},
16977
+ messages: {
16978
+ type: "FROM",
16979
+ content: _content
16980
+ },
16981
+ sentenceId: Math.floor(Math.random() * 1000000).toString()
16929
16982
  });
16930
- // this.updateSession({
16931
- // res: {},
16932
- // messages: { type: "FROM", content: _content },
16933
- // sentenceId: Math.floor(Math.random() * 1000000).toString()
16934
- // });
16935
- case 29:
16936
- _context.next = 34;
16983
+ case 30:
16984
+ _context.next = 35;
16937
16985
  break;
16938
- case 31:
16939
- _context.prev = 31;
16986
+ case 32:
16987
+ _context.prev = 32;
16940
16988
  _context.t0 = _context["catch"](11);
16941
16989
  console.log("speech2speech2 ->", _context.t0);
16942
- case 34:
16943
- _context.prev = 34;
16990
+ case 35:
16991
+ _context.prev = 35;
16944
16992
  _this2.oneQuestionOneAnswer = true;
16945
- return _context.finish(34);
16946
- case 37:
16947
- _context.next = 40;
16993
+ return _context.finish(35);
16994
+ case 38:
16995
+ _context.next = 41;
16948
16996
  break;
16949
- case 39:
16997
+ case 40:
16950
16998
  if (type === "FROM") {
16951
16999
  _this2.handlePlayTTS({
16952
17000
  content: content
16953
17001
  });
16954
17002
  }
16955
- case 40:
16956
- _this2.wakeUpTime = new Date().getTime();
16957
17003
  case 41:
17004
+ _this2.wakeUpTime = new Date().getTime();
17005
+ case 42:
16958
17006
  case "end":
16959
17007
  return _context.stop();
16960
17008
  }
16961
- }, _callee, null, [[11, 31, 34, 37]]);
17009
+ }, _callee, null, [[11, 32, 35, 38]]);
16962
17010
  }))();
16963
17011
  },
16964
17012
  // 自动退出(静默20s) - 小宝助手
@@ -17188,7 +17236,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
17188
17236
  startHeart: function startHeart() {
17189
17237
  var _this7 = this;
17190
17238
  if (this.setIntervalWebsocket) {
17191
- clearInterval(setIntervalWebsocket);
17239
+ clearInterval(this.setIntervalWebsocket);
17192
17240
  this.setIntervalWebsocket = null;
17193
17241
  }
17194
17242
  this.sendPing();
@@ -17204,7 +17252,6 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
17204
17252
  this.socket.send(JSON.stringify(heartBeat));
17205
17253
  },
17206
17254
  disposeMessage: function disposeMessage(message) {
17207
- var _this8 = this;
17208
17255
  var type = message.type,
17209
17256
  data = message.data;
17210
17257
  if (type === 'broadcast') {
@@ -17225,12 +17272,21 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
17225
17272
  },
17226
17273
  sentenceId: Math.floor(Math.random() * 1000000).toString()
17227
17274
  };
17228
- this.handlePlayTTS({
17229
- content: standard_back,
17230
- onStart: function onStart() {
17231
- _this8.openAide();
17232
- _this8.pushMessage(_opts);
17233
- }
17275
+ // this.handlePlayTTS({
17276
+ // content: standard_back,
17277
+ // onStart: () => {
17278
+ // this.openAide()
17279
+ // this.pushMessage(_opts)
17280
+ // }
17281
+ // })
17282
+ this.openAide();
17283
+ this.updateSession({
17284
+ res: {},
17285
+ messages: {
17286
+ type: "FROM",
17287
+ content: standard_back
17288
+ },
17289
+ sentenceId: Math.floor(Math.random() * 1000000).toString()
17234
17290
  });
17235
17291
  }
17236
17292
  } else {}
@@ -17243,18 +17299,37 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
17243
17299
  };
17244
17300
  console.log("回传信息:\n", data, query);
17245
17301
  this.socket.send(JSON.stringify(query));
17302
+ },
17303
+ submitText: function submitText() {
17304
+ if (!this.inputContent) return;
17305
+ this.updateSession({
17306
+ res: {
17307
+ sessionId: this.sessionId,
17308
+ voice_id: guid(),
17309
+ sentenceId: Math.floor(Math.random() * 1000000).toString(),
17310
+ result: {
17311
+ slice_type: 2
17312
+ }
17313
+ },
17314
+ messages: {
17315
+ type: "TO",
17316
+ content: this.inputContent
17317
+ }
17318
+ });
17319
+ this.inputContent = "";
17246
17320
  }
17247
17321
  },
17248
17322
  mounted: function mounted() {
17249
17323
  this.onStart();
17250
17324
  this.getMessage();
17325
+ console.log("".concat(this.htmlFontSize, "px"));
17251
17326
  }
17252
17327
  };
17253
17328
 
17254
17329
  var SpeechRecognitionvue_type_script_lang_js_injectCSSVars_ = function __injectCSSVars__() {
17255
17330
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(function (_vm, _setup) {
17256
17331
  return {
17257
- "4e5d5650": _vm.htmlFontSize
17332
+ "f3e9def8": _vm.htmlFontSize
17258
17333
  };
17259
17334
  });
17260
17335
  };
@@ -17266,9 +17341,9 @@ SpeechRecognitionvue_type_script_lang_js_default_.setup = SpeechRecognitionvue_t
17266
17341
  /* harmony default export */ var SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js_default_);
17267
17342
  ;// ./package/SpeechRecognition/index.vue?vue&type=script&lang=js
17268
17343
  /* harmony default export */ var package_SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js);
17269
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=2d7ca1c4&prod&lang=scss&scoped=true
17270
- var SpeechRecognitionvue_type_style_index_0_id_2d7ca1c4_prod_lang_scss_scoped_true = __webpack_require__(746);
17271
- ;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=2d7ca1c4&prod&lang=scss&scoped=true
17344
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=1012be1a&prod&lang=scss&scoped=true
17345
+ var SpeechRecognitionvue_type_style_index_0_id_1012be1a_prod_lang_scss_scoped_true = __webpack_require__(78);
17346
+ ;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=1012be1a&prod&lang=scss&scoped=true
17272
17347
 
17273
17348
  ;// ./package/SpeechRecognition/index.vue
17274
17349
 
@@ -17285,7 +17360,7 @@ var SpeechRecognition_component = normalizeComponent(
17285
17360
  staticRenderFns,
17286
17361
  false,
17287
17362
  null,
17288
- "2d7ca1c4",
17363
+ "1012be1a",
17289
17364
  null
17290
17365
 
17291
17366
  )