yxspeechrecognition 1.7.9 → 1.8.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 +26 -26
- package/YxSpeechRecognition.common.js.map +1 -1
- package/YxSpeechRecognition.umd.js +26 -26
- 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
|
@@ -19,7 +19,7 @@ module.exports = "data:image/gif;base64,R0lGODlhIAAgALMAAP///7Ozs/v7+9bW1uHh4fLy
|
|
|
19
19
|
|
|
20
20
|
/***/ }),
|
|
21
21
|
|
|
22
|
-
/***/
|
|
22
|
+
/***/ 241:
|
|
23
23
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
24
24
|
|
|
25
25
|
"use strict";
|
|
@@ -33,11 +33,27 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
33
33
|
|
|
34
34
|
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()));
|
|
35
35
|
// Module
|
|
36
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .box[data-v-
|
|
36
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .box[data-v-0a197165] ::-webkit-scrollbar{width:0;height:0;display:none;background:transparent}.yx-speech-recognition .box[data-v-0a197165]{display:grid;grid-template-rows:max-content 1fr;position:absolute;pointer-events:all;background:rgba(2,11,72,.6);border-radius:calc(var(--7768fa63)*.57);z-index:20}.yx-speech-recognition .box .title[data-v-0a197165]{display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(var(--7768fa63)*2.29);padding:0 calc(var(--7768fa63)*.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(--7768fa63)*.57) calc(var(--7768fa63)*.57) 0 0}.yx-speech-recognition .box .title-icon[data-v-0a197165]{display:flex;align-items:center;gap:calc(var(--7768fa63)*.38)}.yx-speech-recognition .box .title-icon img[data-v-0a197165]{width:calc(var(--7768fa63)*1);height:calc(var(--7768fa63)*1)}.yx-speech-recognition .box .title-icon span[data-v-0a197165]{font-size:calc(var(--7768fa63)*1.14);font-weight:800;color:#fff}.yx-speech-recognition .box .title .close[data-v-0a197165]{cursor:pointer}.yx-speech-recognition .box .title .close img[data-v-0a197165]{width:calc(var(--7768fa63)*1.1)}.yx-speech-recognition .box .content[data-v-0a197165]{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-0a197165]{margin-top:calc(var(--7768fa63)*7.5);font-size:calc(var(--7768fa63)*1)}.yx-speech-recognition .box .message-list[data-v-0a197165]{overflow:hidden;padding:calc(var(--7768fa63)*.58);box-sizing:border-box;padding-right:calc(var(--7768fa63)*.29)}.yx-speech-recognition .box .message-list-inner[data-v-0a197165]{height:100%;display:flex;flex-direction:column;gap:calc(var(--7768fa63)*.53);overflow-y:overlay;white-space:pre-line}.yx-speech-recognition .displayAssistant[data-v-0a197165]{position:absolute;pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .displayAssistant .icon1[data-v-0a197165]{width:calc(var(--7768fa63)*3.76);height:calc(var(--7768fa63)*3.88)}.yx-speech-recognition .displayAssistant .icon1 img[data-v-0a197165]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox[data-v-0a197165]{position:absolute;top:0;left:calc(var(--7768fa63)*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-0a197165]{font-size:calc(var(--7768fa63)*.8);display:flex;align-items:center}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon[data-v-0a197165]{width:calc(var(--7768fa63)*1.26);height:calc(var(--7768fa63)*1.28);margin-right:calc(var(--7768fa63)*.4)}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon img[data-v-0a197165]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox .box-container[data-v-0a197165]{border-top:calc(var(--7768fa63)*.1) solid rgba(117,178,255,.61);margin-top:calc(var(--7768fa63)*.2)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box[data-v-0a197165]{display:flex;overflow:hidden;margin:10px 0}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(2) .item-box-number[data-v-0a197165]{background-color:#ff4e4e}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(3) .item-box-number[data-v-0a197165]{background-color:#ff6e1d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(4) .item-box-number[data-v-0a197165]{background-color:#4fc94d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-index[data-v-0a197165]{flex-shrink:0;width:calc(var(--7768fa63)*1.2);font-size:calc(var(--7768fa63)*.9);height:calc(var(--7768fa63)*1.2);background-color:rgba(117,178,255,.61);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:calc(var(--7768fa63)*.1);margin-right:calc(var(--7768fa63)*.1)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-content[data-v-0a197165]{overflow:hidden}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-label[data-v-0a197165]{display:inline-block;width:auto;font-size:calc(var(--7768fa63)*.9);border-radius:5px;padding:0 8px}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-descriptions[data-v-0a197165]{font-size:calc(var(--7768fa63)*.9);color:hsla(0,0%,100%,.74);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yx-speech-recognition .displayAssistant .bubbleBox span[data-v-0a197165]{display:block;max-width:calc(var(--7768fa63)*19.21);font-size:calc(var(--7768fa63)*1);color:#fff;word-break:break-all;white-space:pre-line}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-0a197165],.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-0a197165]{border-radius:calc(var(--7768fa63)*.27);padding:calc(var(--7768fa63)*.38);box-sizing:border-box}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-0a197165]{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-0a197165]{max-width:calc(var(--7768fa63)*9.21)}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-0a197165]{margin-bottom:15px;background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--7768fa63)*.57) 0 #d4d9ff}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-0a197165]:after,.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-0a197165]:before{content:\"\";display:block;position:absolute}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-0a197165]:before{border-top:calc(var(--7768fa63)*.25) solid transparent;border-bottom:calc(var(--7768fa63)*.25) solid transparent;border-right:calc(var(--7768fa63)*.5) solid rgba(70,61,255,.85);transform:translateX(calc(var(--7768fa63)*-.46));left:0;top:calc(var(--7768fa63)*.48)}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-0a197165]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--7768fa63)*.57) 0 #fff3b4}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-0a197165]:before{border-right:calc(var(--7768fa63)*.5) solid transparent}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-0a197165]:after{border-top:calc(var(--7768fa63)*.25) solid transparent;border-bottom:calc(var(--7768fa63)*.25) solid transparent;border-right:calc(var(--7768fa63)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--7768fa63)*-.46));left:0;top:calc(var(--7768fa63)*.48)}.inputContainer[data-v-0a197165]{display:flex;flex:1;justify-content:space-between;align-items:center;background-color:rgba(2,11,72,.3);border-radius:calc(var(--7768fa63)*.57)}.inputContainer .inputBox[data-v-0a197165]{margin:4px;flex:1;height:calc(var(--7768fa63)*1.8);border-color:transparent;background-color:transparent;border-radius:calc(var(--7768fa63)*.57);font-size:calc(var(--7768fa63)*1);color:#fff;padding:0 20px;outline:none}.inputContainer .inputButton[data-v-0a197165]{margin-right:20px;flex-shrink:0}", ""]);
|
|
37
37
|
// Exports
|
|
38
38
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
39
39
|
|
|
40
40
|
|
|
41
|
+
/***/ }),
|
|
42
|
+
|
|
43
|
+
/***/ 247:
|
|
44
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
45
|
+
|
|
46
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
47
|
+
|
|
48
|
+
// load the styles
|
|
49
|
+
var content = __webpack_require__(241);
|
|
50
|
+
if(content.__esModule) content = content.default;
|
|
51
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
52
|
+
if(content.locals) module.exports = content.locals;
|
|
53
|
+
// add the styles to the DOM
|
|
54
|
+
var add = (__webpack_require__(459)/* ["default"] */ .A)
|
|
55
|
+
var update = add("f9cdf590", content, true, {"sourceMap":false,"shadowMode":false});
|
|
56
|
+
|
|
41
57
|
/***/ }),
|
|
42
58
|
|
|
43
59
|
/***/ 274:
|
|
@@ -148,22 +164,6 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAMAAADy
|
|
|
148
164
|
|
|
149
165
|
/***/ }),
|
|
150
166
|
|
|
151
|
-
/***/ 346:
|
|
152
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
153
|
-
|
|
154
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
155
|
-
|
|
156
|
-
// load the styles
|
|
157
|
-
var content = __webpack_require__(56);
|
|
158
|
-
if(content.__esModule) content = content.default;
|
|
159
|
-
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
160
|
-
if(content.locals) module.exports = content.locals;
|
|
161
|
-
// add the styles to the DOM
|
|
162
|
-
var add = (__webpack_require__(459)/* ["default"] */ .A)
|
|
163
|
-
var update = add("1abf892f", content, true, {"sourceMap":false,"shadowMode":false});
|
|
164
|
-
|
|
165
|
-
/***/ }),
|
|
166
|
-
|
|
167
167
|
/***/ 355:
|
|
168
168
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
169
169
|
|
|
@@ -896,7 +896,7 @@ if (typeof window !== 'undefined') {
|
|
|
896
896
|
// Indicate to webpack that this file can be concatenated
|
|
897
897
|
/* harmony default export */ var setPublicPath = (null);
|
|
898
898
|
|
|
899
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-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=
|
|
899
|
+
;// ./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=0a197165&scoped=true
|
|
900
900
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
901
901
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
902
902
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -1075,7 +1075,7 @@ var staticRenderFns = [function () {
|
|
|
1075
1075
|
}, [_c('span', [_vm._v("Hi,我是小安,有问题,尽管问。")])]);
|
|
1076
1076
|
}];
|
|
1077
1077
|
|
|
1078
|
-
;// ./package/SpeechRecognition/index.vue?vue&type=template&id=
|
|
1078
|
+
;// ./package/SpeechRecognition/index.vue?vue&type=template&id=0a197165&scoped=true
|
|
1079
1079
|
|
|
1080
1080
|
// EXTERNAL MODULE: ./package/SpeechRecognition/utils/speech/cryptojs.js
|
|
1081
1081
|
var cryptojs = __webpack_require__(672);
|
|
@@ -17090,7 +17090,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
17090
17090
|
}
|
|
17091
17091
|
this.endTimeOut = setTimeout(function () {
|
|
17092
17092
|
_this.autoQuitAssistant();
|
|
17093
|
-
}, 1000 *
|
|
17093
|
+
}, 1000 * 40);
|
|
17094
17094
|
}
|
|
17095
17095
|
},
|
|
17096
17096
|
boxPosition: {
|
|
@@ -17920,7 +17920,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
17920
17920
|
var SpeechRecognitionvue_type_script_lang_js_injectCSSVars_ = function __injectCSSVars__() {
|
|
17921
17921
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(function (_vm, _setup) {
|
|
17922
17922
|
return {
|
|
17923
|
-
"
|
|
17923
|
+
"7768fa63": _vm.htmlFontSize
|
|
17924
17924
|
};
|
|
17925
17925
|
});
|
|
17926
17926
|
};
|
|
@@ -17932,9 +17932,9 @@ SpeechRecognitionvue_type_script_lang_js_default_.setup = SpeechRecognitionvue_t
|
|
|
17932
17932
|
/* harmony default export */ var SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js_default_);
|
|
17933
17933
|
;// ./package/SpeechRecognition/index.vue?vue&type=script&lang=js
|
|
17934
17934
|
/* harmony default export */ var package_SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js);
|
|
17935
|
-
// 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=
|
|
17936
|
-
var
|
|
17937
|
-
;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=
|
|
17935
|
+
// 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=0a197165&prod&lang=scss&scoped=true
|
|
17936
|
+
var SpeechRecognitionvue_type_style_index_0_id_0a197165_prod_lang_scss_scoped_true = __webpack_require__(247);
|
|
17937
|
+
;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=0a197165&prod&lang=scss&scoped=true
|
|
17938
17938
|
|
|
17939
17939
|
;// ./package/SpeechRecognition/index.vue
|
|
17940
17940
|
|
|
@@ -17951,7 +17951,7 @@ var SpeechRecognition_component = normalizeComponent(
|
|
|
17951
17951
|
staticRenderFns,
|
|
17952
17952
|
false,
|
|
17953
17953
|
null,
|
|
17954
|
-
"
|
|
17954
|
+
"0a197165",
|
|
17955
17955
|
null
|
|
17956
17956
|
|
|
17957
17957
|
)
|