byt-lingxiao-ai 0.2.0 → 0.2.2

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/dist/index.css CHANGED
@@ -1 +1 @@
1
- .hidden-audio[data-v-d3bc71c4]{position:absolute;left:-9999px;opacity:0;pointer-events:none}.chat-overlay[data-v-d3bc71c4]{position:fixed;top:0;left:0;width:100%;height:100%;background:transparent;z-index:10000}[data-v-d3bc71c4] .el-textarea__inner{border:none!important;padding:0 5px;font-family:PingFang SC!important}[data-v-d3bc71c4] .el-textarea__inner::-webkit-scrollbar{width:6px;height:6px}[data-v-d3bc71c4] .el-textarea__inner::-webkit-scrollbar-thumb{background:rgba(0,0,0,.1);border-radius:3px}[data-v-d3bc71c4] .el-textarea__inner::-webkit-scrollbar-track{background:transparent}.scrollbar-hide[data-v-d3bc71c4]::-webkit-scrollbar{display:none}.scrollbar-hide[data-v-d3bc71c4]{-ms-overflow-style:none;scrollbar-width:none}.chat[data-v-d3bc71c4]{position:fixed;bottom:20px;right:10px;z-index:10001}.chat-ai[data-v-d3bc71c4]{display:flex;width:38px;padding:2px 2px 9px 2px;flex-direction:column;align-items:center;gap:6px;border-radius:40px;background:linear-gradient(180deg,#3e5beb,#5ca5f9);box-shadow:0 2px 11.6px 0 rgba(0,0,0,.1);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chat-robot[data-v-d3bc71c4]{width:150px;height:200px}.chat-robot.entering[data-v-d3bc71c4]{background-image:url(img/entering.42f05909.png);background-size:cover}.chat-robot.waiting[data-v-d3bc71c4]{background-image:url(img/waiting.ac21d76e.png);background-size:cover}.chat-robot.speaking[data-v-d3bc71c4]{background-image:url(img/speaking.3ce8b666.png);background-size:cover}.chat-ai-avater[data-v-d3bc71c4]{border-radius:67px;border:1px solid #0f66e4;background:#124087;display:flex;width:34px;height:33px;padding:2px 2px 1px 2px;justify-content:center;align-items:center;background-size:cover;background-position:50%;background-image:url(img/normal.13f08ecb.png)}.chat-ai-text[data-v-d3bc71c4]{color:#fff;font-family:PingFang SC;font-size:16px;font-style:normal;font-weight:500;line-height:20px;align-self:stretch;display:flex;align-items:center;width:20px;margin:0 auto;text-align:center}.chat-window-message-user[data-v-d3bc71c4]{display:flex;justify-content:flex-end}.user-message[data-v-d3bc71c4]{max-width:80%;display:flex;padding:8px 12px;justify-content:center;align-items:center;gap:10px;border-radius:12px;background:#e3ecff}.chat-window-bar[data-v-d3bc71c4]{display:flex;justify-content:flex-end;padding:8px}.chat-window-message-ai[data-v-d3bc71c4]{display:flex;gap:12px;align-items:flex-start}.ai-message[data-v-d3bc71c4]{max-width:80%;border-radius:12px;background:#f6f8fc;padding:8px 12px}.chat-window[data-v-d3bc71c4]{width:480px;height:740px;border-radius:14px;background:#fff;box-shadow:0 2px 20px 0 rgba(0,0,0,.16);position:absolute;bottom:20px;right:60px;overflow:hidden;display:flex;flex-direction:column}.chat-window-header[data-v-d3bc71c4]{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eaeaea;background:#fff;padding:16px;flex-shrink:0}.chat-window-content[data-v-d3bc71c4]{flex:1;padding:16px;overflow-y:auto;display:flex;flex-direction:column;gap:8px}.chat-window-header-title[data-v-d3bc71c4]{color:#29414e;font-size:18px;font-weight:900}.chat-window-header-close[data-v-d3bc71c4]{width:24px;height:24px;overflow:hidden;cursor:pointer}.chat-window-footer[data-v-d3bc71c4]{padding:16px}.chat-window-textarea[data-v-d3bc71c4]{min-height:99px;max-height:180px;border-radius:8px;border:1px solid #f2f2f2;background:#fff;display:flex;flex-direction:column}.chat-window-input[data-v-d3bc71c4]{padding:10px 12px;font-size:16px;font-family:PingFang SC}.chat-window-send[data-v-d3bc71c4]{width:70px;height:36px;flex-shrink:0;border-radius:6px;background:rgba(43,128,246,.1);display:flex;align-items:center;justify-content:center;cursor:pointer}
1
+ .hidden-audio[data-v-6cc1c97f]{position:absolute;left:-9999px;opacity:0;pointer-events:none}.chat-overlay[data-v-6cc1c97f]{position:fixed;top:0;left:0;width:100%;height:100%;background:transparent;z-index:10000}[data-v-6cc1c97f] .el-textarea__inner{border:none!important;padding:0 5px;font-family:PingFang SC!important}[data-v-6cc1c97f] .el-textarea__inner::-webkit-scrollbar{width:6px;height:6px}[data-v-6cc1c97f] .el-textarea__inner::-webkit-scrollbar-thumb{background:rgba(0,0,0,.1);border-radius:3px}[data-v-6cc1c97f] .el-textarea__inner::-webkit-scrollbar-track{background:transparent}.scrollbar-hide[data-v-6cc1c97f]::-webkit-scrollbar{display:none}.scrollbar-hide[data-v-6cc1c97f]{-ms-overflow-style:none;scrollbar-width:none}.chat[data-v-6cc1c97f]{position:fixed;bottom:20px;right:10px;z-index:10001}.chat-ai[data-v-6cc1c97f]{display:flex;width:38px;padding:2px 2px 9px 2px;flex-direction:column;align-items:center;gap:6px;border-radius:40px;background:linear-gradient(180deg,#3e5beb,#5ca5f9);box-shadow:0 2px 11.6px 0 rgba(0,0,0,.1);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chat-robot[data-v-6cc1c97f]{width:150px;height:200px}.chat-robot.entering[data-v-6cc1c97f]{background-image:url(img/entering.42f05909.png);background-size:cover}.chat-robot.waiting[data-v-6cc1c97f]{background-image:url(img/waiting.ac21d76e.png);background-size:cover}.chat-robot.speaking[data-v-6cc1c97f]{background-image:url(img/speaking.3ce8b666.png);background-size:cover}.chat-ai-avater[data-v-6cc1c97f]{border-radius:67px;border:1px solid #0f66e4;background:#124087;display:flex;width:34px;height:33px;padding:2px 2px 1px 2px;justify-content:center;align-items:center;background-size:cover;background-position:50%;background-image:url(img/normal.13f08ecb.png)}.chat-ai-text[data-v-6cc1c97f]{color:#fff;font-family:PingFang SC;font-size:16px;font-style:normal;font-weight:500;line-height:20px;align-self:stretch;display:flex;align-items:center;width:20px;margin:0 auto;text-align:center}.chat-window-message-user[data-v-6cc1c97f]{display:flex;justify-content:flex-end}.user-message[data-v-6cc1c97f]{max-width:80%;display:flex;padding:8px 12px;justify-content:center;align-items:center;gap:10px;border-radius:12px;background:#e3ecff}.chat-window-bar[data-v-6cc1c97f]{display:flex;justify-content:flex-end;padding:8px}.chat-window-message-ai[data-v-6cc1c97f]{display:flex;gap:12px;align-items:flex-start}.ai-message[data-v-6cc1c97f]{max-width:80%;border-radius:12px;background:#f6f8fc;padding:8px 12px}.chat-window[data-v-6cc1c97f]{width:480px;height:740px;border-radius:14px;background:#fff;box-shadow:0 2px 20px 0 rgba(0,0,0,.16);position:absolute;bottom:20px;right:60px;overflow:hidden;display:flex;flex-direction:column}.chat-window-header[data-v-6cc1c97f]{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eaeaea;background:#fff;padding:16px;flex-shrink:0}.chat-window-content[data-v-6cc1c97f]{flex:1;padding:16px;overflow-y:auto;display:flex;flex-direction:column;gap:8px}.chat-window-header-title[data-v-6cc1c97f]{color:#29414e;font-size:18px;font-weight:900}.chat-window-header-close[data-v-6cc1c97f]{width:24px;height:24px;overflow:hidden;cursor:pointer}.chat-window-footer[data-v-6cc1c97f]{padding:16px}.chat-window-textarea[data-v-6cc1c97f]{min-height:99px;max-height:180px;border-radius:8px;border:1px solid #f2f2f2;background:#fff;display:flex;flex-direction:column}.chat-window-input[data-v-6cc1c97f]{padding:10px 12px;font-size:16px;font-family:PingFang SC}.chat-window-send[data-v-6cc1c97f]{width:70px;height:36px;flex-shrink:0;border-radius:6px;background:rgba(43,128,246,.1);display:flex;align-items:center;justify-content:center;cursor:pointer}
package/dist/index.umd.js CHANGED
@@ -3756,7 +3756,7 @@ if (typeof window !== 'undefined') {
3756
3756
  var es_iterator_constructor = __webpack_require__(8111);
3757
3757
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
3758
3758
  var es_iterator_for_each = __webpack_require__(7588);
3759
- ;// ./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!./components/ChatWindow.vue?vue&type=template&id=d3bc71c4&scoped=true
3759
+ ;// ./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!./components/ChatWindow.vue?vue&type=template&id=6cc1c97f&scoped=true
3760
3760
  var render = function render() {
3761
3761
  var _vm = this,
3762
3762
  _c = _vm._self._c;
@@ -3973,7 +3973,7 @@ const FRAME_SIZE = 512;
3973
3973
  },
3974
3974
  data() {
3975
3975
  return {
3976
- audioSrc: '/minio/video/byt.mp3',
3976
+ audioSrc: '/minio/lingxiaoai/byt.mp3',
3977
3977
  // 音频URL
3978
3978
  inputMessage: '',
3979
3979
  // 输入消息
@@ -4063,20 +4063,24 @@ const FRAME_SIZE = 512;
4063
4063
  }
4064
4064
  const timeJumpPoints = [{
4065
4065
  time: 30,
4066
- url: '',
4067
- title: '生产管理'
4066
+ url: '/permission/user',
4067
+ name: 'permission_user',
4068
+ title: '用户管理'
4068
4069
  }, {
4069
4070
  time: 50,
4070
- url: '',
4071
- title: '生产信息总览'
4071
+ url: '/permission/menu',
4072
+ name: 'permission_menu',
4073
+ title: '菜单管理'
4072
4074
  }, {
4073
4075
  time: 60,
4074
- url: '',
4075
- title: '能源管理'
4076
+ url: '/permission/role',
4077
+ name: 'permission_role',
4078
+ title: '角色管理'
4076
4079
  }, {
4077
4080
  time: 70,
4078
- url: '',
4079
- title: '设备管理'
4081
+ url: '/permission/dept',
4082
+ name: 'permission_dept',
4083
+ title: '部门管理'
4080
4084
  }];
4081
4085
  // 检查当前时间是否达到跳转点
4082
4086
  timeJumpPoints.forEach(point => {
@@ -4086,10 +4090,14 @@ const FRAME_SIZE = 512;
4086
4090
  console.log(`到达时间点 ${point.time} 秒,跳转到 ${point.title}`);
4087
4091
  this.$appOptions.store.dispatch('tags/addTagview', {
4088
4092
  path: point.url,
4093
+ fullPath: point.url,
4094
+ label: point.title,
4089
4095
  name: point.title,
4090
4096
  meta: {
4091
4097
  title: point.title
4092
- }
4098
+ },
4099
+ query: {},
4100
+ params: {}
4093
4101
  });
4094
4102
  this.$appOptions.router.push({
4095
4103
  path: point.url
@@ -4375,10 +4383,10 @@ const FRAME_SIZE = 512;
4375
4383
  });
4376
4384
  ;// ./components/ChatWindow.vue?vue&type=script&lang=js
4377
4385
  /* harmony default export */ var components_ChatWindowvue_type_script_lang_js = (ChatWindowvue_type_script_lang_js);
4378
- ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/ChatWindow.vue?vue&type=style&index=0&id=d3bc71c4&prod&scoped=true&lang=css
4386
+ ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./components/ChatWindow.vue?vue&type=style&index=0&id=6cc1c97f&prod&scoped=true&lang=css
4379
4387
  // extracted by mini-css-extract-plugin
4380
4388
 
4381
- ;// ./components/ChatWindow.vue?vue&type=style&index=0&id=d3bc71c4&prod&scoped=true&lang=css
4389
+ ;// ./components/ChatWindow.vue?vue&type=style&index=0&id=6cc1c97f&prod&scoped=true&lang=css
4382
4390
 
4383
4391
  ;// ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
4384
4392
  /* globals __VUE_SSR_CONTEXT__ */
@@ -4493,7 +4501,7 @@ var component = normalizeComponent(
4493
4501
  staticRenderFns,
4494
4502
  false,
4495
4503
  null,
4496
- "d3bc71c4",
4504
+ "6cc1c97f",
4497
4505
  null
4498
4506
 
4499
4507
  )