yxspeechrecognition 1.5.2 → 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.
- package/YxSpeechRecognition.common.js +43 -44
- package/YxSpeechRecognition.common.js.map +1 -1
- package/YxSpeechRecognition.umd.js +51 -52
- 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
|
@@ -11,19 +11,19 @@
|
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
14
|
-
/***/
|
|
14
|
+
/***/ 78:
|
|
15
15
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
16
16
|
|
|
17
17
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
18
18
|
|
|
19
19
|
// load the styles
|
|
20
|
-
var content = __webpack_require__(
|
|
20
|
+
var content = __webpack_require__(320);
|
|
21
21
|
if(content.__esModule) content = content.default;
|
|
22
22
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
23
23
|
if(content.locals) module.exports = content.locals;
|
|
24
24
|
// add the styles to the DOM
|
|
25
25
|
var add = (__webpack_require__(459)/* ["default"] */ .A)
|
|
26
|
-
var update = add("
|
|
26
|
+
var update = add("6143aa37", content, true, {"sourceMap":false,"shadowMode":false});
|
|
27
27
|
|
|
28
28
|
/***/ }),
|
|
29
29
|
|
|
@@ -125,6 +125,27 @@ module.exports = function (cssWithMappingToString) {
|
|
|
125
125
|
return list;
|
|
126
126
|
};
|
|
127
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
|
+
|
|
128
149
|
/***/ }),
|
|
129
150
|
|
|
130
151
|
/***/ 344:
|
|
@@ -751,27 +772,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABX
|
|
|
751
772
|
"use strict";
|
|
752
773
|
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAMAAABGS8AGAAAC+lBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////J4P8UW7f41rtWRjJ2rf/////+/v9QlKHbwKLX6P/4+//M4v/r8//8/f/2+v/o8f/e7P/c6//b6v/P5P/9/f7K4P7T5v8bYbvI3/9+sv9tXkz6/P/h7f/U5v8kaMNaSjfv9f/t9f/N4v+Muv91rP5zq/331boXXbn107iQvf/C2/5upvpxqflpovbx2MUfZL8YXrrdwqRfUD9cTTmz0v+hx//H3v3h6vb38u7V3e6YvOuQtulFhNszdc5Phcuqt8hDfcgubcAiZbtZmrmgqbZhn6qHt//4+/z09/vM3/vp8fiwzvVln/Jgmu/Y5+tZlerZ3ehXkue7zuZNi+Fqmtqzw9lmotjk2tdilNZhkc+hxszs2csqbsg9eMYpasDn07/21r6Ds7zvzrTszLCdpLDnyK2ZoKrkxqlamqaXnaXbwKPHq5LCpY21m4VwaGCHclxsWkZYSDSmyv+XwP94r//l7/6tzv78+vjN3vjF2/i40/jn7vfb5fRwqvNmoPPn8PLT4PGgwu+/0+65zumzyujT5OdSj+Wow+SmweRppeKbueCVtd/g2959p95vntvw5Nc/f9d6otZynNPo2dKwvtJtmdJsmNI5etJWjNFoltBLg8pfnsczcsTz18LRyMIhZbzy0bZyqLPhyLFSlqjfxadUlqPOsZeEg4R9e3iiiXGSgW9sZFppX1O71v6awv681vquzvqixffD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0wyLIaFnSEGeWdfsfRcJqE2uiq+wJmB/aFqBFKQhaZpq6YqLAYwr3xbUVq4LGmIjdLvlowf3GtO8E9Y2fSagDzahd/DX69atSrNlmhfzhmNmO3kaSN0S3A1/F3SbGQf4wZxKHzwrrPUJPBfkntNXMOjsoEylm5P/iZk6+DRM4M0g+Ip2AIEyE/XkP16ucIzqg3bHcK9uAph/Rsepwx11aOUKc4Eld0kjw9a+JT3hLVe6lnKRAgtWEuorVclp4AvhiWllMfShJSG8iNU1pyzVAraFN4OeGApdAnNdaBHLXHbLGckIQWKZL8ATF8VhmTGSYy67mQuFncPzWcBxe8lz7gmYuKz54U4oFP5baTNxYGw2o+K9q+VXw2NP8ezYQKIobf5/xVi1fLw/WD7e/7fl4z8i0wTTxNNsyQAAAABJRU5ErkJggg==";
|
|
753
774
|
|
|
754
|
-
/***/ }),
|
|
755
|
-
|
|
756
|
-
/***/ 840:
|
|
757
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
758
|
-
|
|
759
|
-
"use strict";
|
|
760
|
-
__webpack_require__.r(__webpack_exports__);
|
|
761
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(601);
|
|
762
|
-
/* 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__);
|
|
763
|
-
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(314);
|
|
764
|
-
/* 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__);
|
|
765
|
-
// Imports
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
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()));
|
|
769
|
-
// Module
|
|
770
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .icon[data-v-a292773e]{position:absolute;right:calc(var(--292167ed)*81.43);top:calc(var(--292167ed)*6.67);pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .box[data-v-a292773e] ::-webkit-scrollbar{width:0;height:0;display:none;background:transparent}.yx-speech-recognition .box[data-v-a292773e]{display:grid;grid-template-rows:max-content 1fr;position:absolute;pointer-events:all;background:rgba(2,11,72,.6);border-radius:calc(var(--292167ed)*.57);z-index:20}.yx-speech-recognition .box .title[data-v-a292773e]{display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(var(--292167ed)*2.29);padding:0 calc(var(--292167ed)*.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(--292167ed)*.57) calc(var(--292167ed)*.57) 0 0}.yx-speech-recognition .box .title-icon[data-v-a292773e]{display:flex;align-items:center;gap:calc(var(--292167ed)*.38)}.yx-speech-recognition .box .title-icon img[data-v-a292773e]{width:calc(var(--292167ed)*1);height:calc(var(--292167ed)*1)}.yx-speech-recognition .box .title-icon span[data-v-a292773e]{font-size:calc(var(--292167ed)*1.14);font-weight:800;color:#fff}.yx-speech-recognition .box .title .close[data-v-a292773e]{cursor:pointer}.yx-speech-recognition .box .title .close img[data-v-a292773e]{width:calc(var(--292167ed)*1.1)}.yx-speech-recognition .box .content[data-v-a292773e]{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-a292773e]{margin-top:calc(var(--292167ed)*7.5);font-size:calc(var(--292167ed)*1)}.yx-speech-recognition .box .message-list[data-v-a292773e]{overflow:hidden;padding:calc(var(--292167ed)*.58);box-sizing:border-box;padding-right:calc(var(--292167ed)*.29)}.yx-speech-recognition .box .message-list-inner[data-v-a292773e]{height:100%;display:flex;flex-direction:column;gap:calc(var(--292167ed)*.53);overflow-y:overlay;white-space:pre-line}.yx-speech-recognition .displayAssistant[data-v-a292773e]{position:absolute;pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .displayAssistant .icon1[data-v-a292773e]{width:calc(var(--292167ed)*3.76);height:calc(var(--292167ed)*3.88)}.yx-speech-recognition .displayAssistant .icon1 img[data-v-a292773e]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox[data-v-a292773e]{position:absolute;top:0;left:calc(var(--292167ed)*3.76)}.yx-speech-recognition .displayAssistant .bubbleBox span[data-v-a292773e]{display:block;max-width:calc(var(--292167ed)*19.21);font-size:calc(var(--292167ed)*1);color:#fff;padding:calc(var(--292167ed)*.38);box-sizing:border-box}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-a292773e]{position:fixed;background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--292167ed)*.57) 0 #d4d9ff;border-radius:calc(var(--292167ed)*.27);margin-left:calc(var(--292167ed)*.49);word-break:break-all;white-space:pre-line}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-a292773e]:after,.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-a292773e]:before{content:\"\";display:block;position:absolute}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-a292773e]:before{border-top:calc(var(--292167ed)*.25) solid transparent;border-bottom:calc(var(--292167ed)*.25) solid transparent;border-right:calc(var(--292167ed)*.5) solid rgba(70,61,255,.85);transform:translateX(calc(var(--292167ed)*-.46));left:0;top:calc(var(--292167ed)*.48)}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-a292773e]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--292167ed)*.57) 0 #fff3b4}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-a292773e]:before{border-right:calc(var(--292167ed)*.5) solid transparent}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-a292773e]:after{border-top:calc(var(--292167ed)*.25) solid transparent;border-bottom:calc(var(--292167ed)*.25) solid transparent;border-right:calc(var(--292167ed)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--292167ed)*-.46));left:0;top:calc(var(--292167ed)*.48)}.inputContainer[data-v-a292773e]{display:flex;flex:1;justify-content:space-between;align-items:center;background-color:rgba(2,11,72,.3);border-radius:calc(var(--292167ed)*.57)}.inputContainer .inputBox[data-v-a292773e]{margin:4px;flex:1;height:calc(var(--292167ed)*1.8);border-color:transparent;background-color:transparent;border-radius:calc(var(--292167ed)*.57);font-size:calc(var(--292167ed)*1);color:#fff;padding:0 20px;outline:none}.inputContainer .inputButton[data-v-a292773e]{margin-right:20px;flex-shrink:0}", ""]);
|
|
771
|
-
// Exports
|
|
772
|
-
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
773
|
-
|
|
774
|
-
|
|
775
775
|
/***/ })
|
|
776
776
|
|
|
777
777
|
/******/ });
|
|
@@ -888,7 +888,7 @@ if (typeof window !== 'undefined') {
|
|
|
888
888
|
// Indicate to webpack that this file can be concatenated
|
|
889
889
|
/* harmony default export */ var setPublicPath = (null);
|
|
890
890
|
|
|
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=
|
|
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
|
|
892
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); }
|
|
893
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; }
|
|
894
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; }
|
|
@@ -960,7 +960,17 @@ var render = function render() {
|
|
|
960
960
|
_vm.inputContent = $event.target.value;
|
|
961
961
|
}
|
|
962
962
|
}
|
|
963
|
-
}),
|
|
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', {
|
|
964
974
|
staticClass: "displayAssistant",
|
|
965
975
|
style: _vm.imgPosition
|
|
966
976
|
}, [_c('div', {
|
|
@@ -993,20 +1003,9 @@ var staticRenderFns = [function () {
|
|
|
993
1003
|
"alt": ""
|
|
994
1004
|
}
|
|
995
1005
|
}), _c('span', [_vm._v("小安助手")])]);
|
|
996
|
-
}, function () {
|
|
997
|
-
var _vm = this,
|
|
998
|
-
_c = _vm._self._c;
|
|
999
|
-
return _c('div', {
|
|
1000
|
-
staticClass: "inputButton"
|
|
1001
|
-
}, [_c('img', {
|
|
1002
|
-
attrs: {
|
|
1003
|
-
"src": __webpack_require__(462),
|
|
1004
|
-
"alt": ""
|
|
1005
|
-
}
|
|
1006
|
-
})]);
|
|
1007
1006
|
}];
|
|
1008
1007
|
|
|
1009
|
-
;// ./package/SpeechRecognition/index.vue?vue&type=template&id=
|
|
1008
|
+
;// ./package/SpeechRecognition/index.vue?vue&type=template&id=1012be1a&scoped=true
|
|
1010
1009
|
|
|
1011
1010
|
// EXTERNAL MODULE: ./package/SpeechRecognition/utils/speech/cryptojs.js
|
|
1012
1011
|
var cryptojs = __webpack_require__(672);
|
|
@@ -17302,7 +17301,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
17302
17301
|
this.socket.send(JSON.stringify(query));
|
|
17303
17302
|
},
|
|
17304
17303
|
submitText: function submitText() {
|
|
17305
|
-
|
|
17304
|
+
if (!this.inputContent) return;
|
|
17306
17305
|
this.updateSession({
|
|
17307
17306
|
res: {
|
|
17308
17307
|
sessionId: this.sessionId,
|
|
@@ -17330,7 +17329,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
17330
17329
|
var SpeechRecognitionvue_type_script_lang_js_injectCSSVars_ = function __injectCSSVars__() {
|
|
17331
17330
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(function (_vm, _setup) {
|
|
17332
17331
|
return {
|
|
17333
|
-
"
|
|
17332
|
+
"f3e9def8": _vm.htmlFontSize
|
|
17334
17333
|
};
|
|
17335
17334
|
});
|
|
17336
17335
|
};
|
|
@@ -17342,9 +17341,9 @@ SpeechRecognitionvue_type_script_lang_js_default_.setup = SpeechRecognitionvue_t
|
|
|
17342
17341
|
/* harmony default export */ var SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js_default_);
|
|
17343
17342
|
;// ./package/SpeechRecognition/index.vue?vue&type=script&lang=js
|
|
17344
17343
|
/* harmony default export */ var package_SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js);
|
|
17345
|
-
// 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=
|
|
17346
|
-
var
|
|
17347
|
-
;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=
|
|
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
|
|
17348
17347
|
|
|
17349
17348
|
;// ./package/SpeechRecognition/index.vue
|
|
17350
17349
|
|
|
@@ -17361,7 +17360,7 @@ var SpeechRecognition_component = normalizeComponent(
|
|
|
17361
17360
|
staticRenderFns,
|
|
17362
17361
|
false,
|
|
17363
17362
|
null,
|
|
17364
|
-
"
|
|
17363
|
+
"1012be1a",
|
|
17365
17364
|
null
|
|
17366
17365
|
|
|
17367
17366
|
)
|