yxspeechrecognition 1.8.7 → 1.8.8
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 +34 -34
- package/YxSpeechRecognition.common.js.map +1 -1
- package/YxSpeechRecognition.umd.js +15 -15
- 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
|
@@ -436,19 +436,19 @@ module.exports = function (i) {
|
|
|
436
436
|
|
|
437
437
|
/***/ }),
|
|
438
438
|
|
|
439
|
-
/***/
|
|
439
|
+
/***/ 604:
|
|
440
440
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
441
441
|
|
|
442
442
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
443
443
|
|
|
444
444
|
// load the styles
|
|
445
|
-
var content = __webpack_require__(
|
|
445
|
+
var content = __webpack_require__(872);
|
|
446
446
|
if(content.__esModule) content = content.default;
|
|
447
447
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
448
448
|
if(content.locals) module.exports = content.locals;
|
|
449
449
|
// add the styles to the DOM
|
|
450
450
|
var add = (__webpack_require__(258)/* ["default"] */ .A)
|
|
451
|
-
var update = add("
|
|
451
|
+
var update = add("6e3c911d", content, true, {"sourceMap":false,"shadowMode":false});
|
|
452
452
|
|
|
453
453
|
/***/ }),
|
|
454
454
|
|
|
@@ -468,7 +468,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAMAAABG
|
|
|
468
468
|
|
|
469
469
|
/***/ }),
|
|
470
470
|
|
|
471
|
-
/***/
|
|
471
|
+
/***/ 872:
|
|
472
472
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
473
473
|
|
|
474
474
|
"use strict";
|
|
@@ -482,7 +482,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
482
482
|
|
|
483
483
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
484
484
|
// Module
|
|
485
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .box[data-v-
|
|
485
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".yx-speech-recognition .box[data-v-39bf0788] ::-webkit-scrollbar{width:0;height:0;display:none;background:transparent}.yx-speech-recognition .box[data-v-39bf0788]{display:grid;grid-template-rows:max-content 1fr;position:absolute;pointer-events:all;background:rgba(2,11,72,.6);border-radius:calc(var(--58e398a2)*.57);z-index:20}.yx-speech-recognition .box .title[data-v-39bf0788]{display:flex;align-items:center;justify-content:space-between;width:100%;height:calc(var(--58e398a2)*2.29);padding:0 calc(var(--58e398a2)*.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(--58e398a2)*.57) calc(var(--58e398a2)*.57) 0 0}.yx-speech-recognition .box .title-icon[data-v-39bf0788]{display:flex;align-items:center;gap:calc(var(--58e398a2)*.38)}.yx-speech-recognition .box .title-icon img[data-v-39bf0788]{width:calc(var(--58e398a2)*1);height:calc(var(--58e398a2)*1)}.yx-speech-recognition .box .title-icon span[data-v-39bf0788]{font-size:calc(var(--58e398a2)*1.14);font-weight:800;color:#fff}.yx-speech-recognition .box .title .close[data-v-39bf0788]{cursor:pointer}.yx-speech-recognition .box .title .close img[data-v-39bf0788]{width:calc(var(--58e398a2)*1.1)}.yx-speech-recognition .box .content[data-v-39bf0788]{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-39bf0788]{margin-top:calc(var(--58e398a2)*7.5);font-size:calc(var(--58e398a2)*1)}.yx-speech-recognition .box .message-list[data-v-39bf0788]{overflow:hidden;padding:calc(var(--58e398a2)*.58);box-sizing:border-box;padding-right:calc(var(--58e398a2)*.29)}.yx-speech-recognition .box .message-list-inner[data-v-39bf0788]{height:100%;display:flex;flex-direction:column;gap:calc(var(--58e398a2)*.53);overflow-y:overlay;white-space:pre-line}.yx-speech-recognition .displayAssistant[data-v-39bf0788]{position:absolute;pointer-events:all;cursor:pointer;z-index:20}.yx-speech-recognition .displayAssistant .icon1[data-v-39bf0788]{width:calc(var(--58e398a2)*3.76);height:calc(var(--58e398a2)*3.88)}.yx-speech-recognition .displayAssistant .icon1 img[data-v-39bf0788]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox[data-v-39bf0788]{position:absolute;top:0;left:calc(var(--58e398a2)*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-39bf0788]{font-size:calc(var(--58e398a2)*.8);display:flex;align-items:center}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon[data-v-39bf0788]{width:calc(var(--58e398a2)*1.26);height:calc(var(--58e398a2)*1.28);margin-right:calc(var(--58e398a2)*.4)}.yx-speech-recognition .displayAssistant .bubbleBox .loging-icon img[data-v-39bf0788]{width:100%;height:100%}.yx-speech-recognition .displayAssistant .bubbleBox .box-container[data-v-39bf0788]{border-top:calc(var(--58e398a2)*.1) solid rgba(117,178,255,.61);margin-top:calc(var(--58e398a2)*.2)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box[data-v-39bf0788]{display:flex;overflow:hidden;margin:10px 0}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(2) .item-box-number[data-v-39bf0788]{background-color:#ff4e4e}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(3) .item-box-number[data-v-39bf0788]{background-color:#ff6e1d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box:nth-child(4) .item-box-number[data-v-39bf0788]{background-color:#4fc94d}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-index[data-v-39bf0788]{flex-shrink:0;width:calc(var(--58e398a2)*1.2);font-size:calc(var(--58e398a2)*.9);height:calc(var(--58e398a2)*1.2);background-color:rgba(117,178,255,.61);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:calc(var(--58e398a2)*.1);margin-right:calc(var(--58e398a2)*.1)}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-content[data-v-39bf0788]{overflow:hidden}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-label[data-v-39bf0788]{display:inline-block;width:auto;font-size:calc(var(--58e398a2)*.9);border-radius:5px;padding:0 8px}.yx-speech-recognition .displayAssistant .bubbleBox .item-box .item-box-descriptions[data-v-39bf0788]{font-size:calc(var(--58e398a2)*.9);color:hsla(0,0%,100%,.74);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yx-speech-recognition .displayAssistant .bubbleBox span[data-v-39bf0788]{display:block;max-width:calc(var(--58e398a2)*19.21);font-size:calc(var(--58e398a2)*1);color:#fff;word-break:break-all;white-space:pre-line}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-39bf0788],.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-39bf0788]{border-radius:calc(var(--58e398a2)*.27);padding:calc(var(--58e398a2)*.38);box-sizing:border-box}.yx-speech-recognition .displayAssistant .bubbleBox-suggest[data-v-39bf0788]{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-39bf0788]{max-width:calc(var(--58e398a2)*9.21)}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-39bf0788]{margin-bottom:15px;background-color:rgba(70,61,255,.85);box-shadow:inset 0 0 calc(var(--58e398a2)*.57) 0 #d4d9ff}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-39bf0788]:after,.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-39bf0788]:before{content:\"\";display:block;position:absolute}.yx-speech-recognition .displayAssistant .bubbleBox-title[data-v-39bf0788]:before{border-top:calc(var(--58e398a2)*.25) solid transparent;border-bottom:calc(var(--58e398a2)*.25) solid transparent;border-right:calc(var(--58e398a2)*.5) solid rgba(70,61,255,.85);transform:translateX(calc(var(--58e398a2)*-.46));left:0;top:calc(var(--58e398a2)*.48)}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-39bf0788]{background-color:rgba(98,183,0,.85);box-shadow:inset 0 0 calc(var(--58e398a2)*.57) 0 #fff3b4}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-39bf0788]:before{border-right:calc(var(--58e398a2)*.5) solid transparent}.yx-speech-recognition .displayAssistant .bubbleBox-to[data-v-39bf0788]:after{border-top:calc(var(--58e398a2)*.25) solid transparent;border-bottom:calc(var(--58e398a2)*.25) solid transparent;border-right:calc(var(--58e398a2)*.5) solid rgba(98,183,0,.85);transform:translateX(calc(var(--58e398a2)*-.46));left:0;top:calc(var(--58e398a2)*.48)}.inputContainer[data-v-39bf0788]{display:flex;flex:1;justify-content:space-between;align-items:center;background-color:rgba(2,11,72,.3);border-radius:calc(var(--58e398a2)*.57)}.inputContainer .inputBox[data-v-39bf0788]{margin:4px;flex:1;height:calc(var(--58e398a2)*1.8);border-color:transparent;background-color:transparent;border-radius:calc(var(--58e398a2)*.57);font-size:calc(var(--58e398a2)*1);color:#fff;padding:0 20px;outline:none}.inputContainer .inputButton[data-v-39bf0788]{margin-right:20px;flex-shrink:0}", ""]);
|
|
486
486
|
// Exports
|
|
487
487
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
488
488
|
|
|
@@ -896,7 +896,7 @@ if (typeof window !== 'undefined') {
|
|
|
896
896
|
// Indicate to webpack that this file can be concatenated
|
|
897
897
|
/* harmony default export */ var setPublicPath = (null);
|
|
898
898
|
|
|
899
|
-
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=template&id=
|
|
899
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./package/SpeechRecognition/index.vue?vue&type=template&id=39bf0788&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=39bf0788&scoped=true
|
|
1079
1079
|
|
|
1080
1080
|
// EXTERNAL MODULE: ./package/SpeechRecognition/utils/speech/cryptojs.js
|
|
1081
1081
|
var cryptojs = __webpack_require__(950);
|
|
@@ -17301,7 +17301,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
17301
17301
|
};
|
|
17302
17302
|
_this3.oneQuestionOneAnswer = false;
|
|
17303
17303
|
// 获取iot面板打开状态 、cim底座状态不用获取
|
|
17304
|
-
if (!(_this3.appId == 'cimapp-iot'
|
|
17304
|
+
if (!(_this3.appId == 'cimapp-iot')) {
|
|
17305
17305
|
_context.next = 28;
|
|
17306
17306
|
break;
|
|
17307
17307
|
}
|
|
@@ -17366,7 +17366,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
17366
17366
|
_this3.pushMessage(_opts);
|
|
17367
17367
|
},
|
|
17368
17368
|
onEnded: function onEnded() {
|
|
17369
|
-
if (status
|
|
17369
|
+
if (status == '2') {
|
|
17370
17370
|
_this3.autoQuitAssistant();
|
|
17371
17371
|
}
|
|
17372
17372
|
}
|
|
@@ -17825,7 +17825,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
17825
17825
|
_this10.pushMessage(_opts);
|
|
17826
17826
|
},
|
|
17827
17827
|
onEnded: function onEnded() {
|
|
17828
|
-
if (status
|
|
17828
|
+
if (status == '2') {
|
|
17829
17829
|
_this10.autoQuitAssistant();
|
|
17830
17830
|
}
|
|
17831
17831
|
}
|
|
@@ -18053,7 +18053,7 @@ var SpeechRecognitionvue_type_script_lang_js_default_ = {
|
|
|
18053
18053
|
var SpeechRecognitionvue_type_script_lang_js_injectCSSVars_ = function __injectCSSVars__() {
|
|
18054
18054
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.useCssVars)(function (_vm, _setup) {
|
|
18055
18055
|
return {
|
|
18056
|
-
"
|
|
18056
|
+
"58e398a2": _vm.htmlFontSize
|
|
18057
18057
|
};
|
|
18058
18058
|
});
|
|
18059
18059
|
};
|
|
@@ -18065,9 +18065,9 @@ SpeechRecognitionvue_type_script_lang_js_default_.setup = SpeechRecognitionvue_t
|
|
|
18065
18065
|
/* harmony default export */ var SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js_default_);
|
|
18066
18066
|
;// ./package/SpeechRecognition/index.vue?vue&type=script&lang=js
|
|
18067
18067
|
/* harmony default export */ var package_SpeechRecognitionvue_type_script_lang_js = (SpeechRecognitionvue_type_script_lang_js);
|
|
18068
|
-
// 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=
|
|
18069
|
-
var
|
|
18070
|
-
;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=
|
|
18068
|
+
// 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=39bf0788&prod&lang=scss&scoped=true
|
|
18069
|
+
var SpeechRecognitionvue_type_style_index_0_id_39bf0788_prod_lang_scss_scoped_true = __webpack_require__(604);
|
|
18070
|
+
;// ./package/SpeechRecognition/index.vue?vue&type=style&index=0&id=39bf0788&prod&lang=scss&scoped=true
|
|
18071
18071
|
|
|
18072
18072
|
;// ./package/SpeechRecognition/index.vue
|
|
18073
18073
|
|
|
@@ -18084,7 +18084,7 @@ var SpeechRecognition_component = normalizeComponent(
|
|
|
18084
18084
|
staticRenderFns,
|
|
18085
18085
|
false,
|
|
18086
18086
|
null,
|
|
18087
|
-
"
|
|
18087
|
+
"39bf0788",
|
|
18088
18088
|
null
|
|
18089
18089
|
|
|
18090
18090
|
)
|