byt-lingxiao-ai 0.3.18 → 0.3.20
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/components/AiMessage.vue +3 -1
- package/components/ChatInputBox.vue +1 -0
- package/components/ChatWindowDialog.vue +7 -4
- package/dist/index.common.js +31 -33
- package/dist/index.common.js.map +1 -1
- package/dist/index.css +2 -2
- package/dist/index.umd.js +31 -33
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +3 -2
package/dist/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.chat-robot[data-v-ad4ce922]{width:150px;height:200px}.chat-robot.entering[data-v-ad4ce922]{background-image:url(img/entering.4ef198fb.png);background-size:cover}.chat-robot.waiting[data-v-ad4ce922]{background-image:url(img/waiting.460478ef.png);background-size:cover}.chat-robot.speaking[data-v-ad4ce922]{background-image:url(img/speaking.fa87fedb.png);background-size:cover}.chat-ai[data-v-45540794]{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;transition:box-shadow .2s}.chat-ai[data-v-45540794]:hover{box-shadow:0 4px 16px 0 rgba(0,0,0,.2)}.chat-ai[data-v-45540794]:active{cursor:grabbing}.chat-ai-avater[data-v-45540794]{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%}.chat-ai-avater.normal[data-v-45540794]{background-image:url(img/normal.30197a82.png)}.chat-ai-avater.thinking[data-v-45540794]{background-image:url(img/thinking.21ad5ca5.png)}.chat-ai-avater.output[data-v-45540794]{background-image:url(img/output.1dfa94eb.png)}.chat-ai-text[data-v-45540794]{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-header[data-v-7683371c]{display:flex;align-items:center;border-bottom:1px solid #eaeaea;background:#fff;padding:16px;flex-shrink:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chat-window-header-title[data-v-7683371c]{color:#29414e;font-size:18px;font-weight:900;position:relative;padding-left:36px}.chat-window-header-open[data-v-7683371c]{width:24px;height:24px;overflow:hidden;margin-left:auto;margin-right:20px;cursor:pointer}.chat-window-header-title[data-v-7683371c]:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:32px;height:32px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAABVlBMVEUAAABIZOyWtvucufuNsvx2nfkxUOhIaOwmReYoSOVcf/KgvvsrSeWvyf2bufeBp/phg/M7Weq/z/9Ma+9Lau5DYO14l/ZDYOtSdPCMsPuLr/tTc/AvT+clReRZevCYuftggfKfwf2oxf01Uuenxv6Xt/s2U+lScetFZepihfQ7WOp+pfp3lvV3lfVafPJafPBegPGYu/2Qsv1mh/OBo/p6n/d7ofp7nvpkg/Ngg+9FZe9GYu+vz/9ojPWAq/yJtf6Fr/2BrPyFrPuFsf1+p/tulPhrkfdihfSMuP+Drv12nvlymvlZe/JUdPF4ovpcfvNObe+RvP+Hs/56o/t9pfpwl/hMae5FYu2Pu/9/qfx0m/lkiPVnhfNWd/JRcfBJZ+5HZe1DYexBXuw/XOs7W+o5Vuo3VemOs/yCqvt8pftojfYvTed3oPp7n/hfgvRegfOCpvkvTeilAxCMAAAAPXRSTlMAIJ9P79/fv6+Ab0BAPyDv798Q7+/v39/Pv7+/v7+vkI9/cGBfX19AMO/f3s/Pr6+Qj4+Ab2BfX0BAMC8QOqPNlAAAAc9JREFUOMvNklVz23AQxB3JHGOYqUmTMnP/JGbJIMnM7ED7/V+aTj2q7CTvubed/e3NzdwGHtucHx1E9qOxxAN2PAME1SiC3jT89B57aVe7qQq2MiZMe9DPLi3631cbdVMEfMUoY+x0O+sXC/nNpqWb4oRXlSLJ/3JbzbX5Hc87LUt/SZ3QH0MFyJZqjtXY8vtP+l23NsxJKHecSnMYDfW6psV9QHjgXpVQnpVJMElzJJ/bMM3rzH8/MW1jxGICR9TPQGAHYokSxSr46gGxHoNlWOa2l/+qZUZGpwAI/AcPiAICuUL6bCbfQ4nmeVs98IA9pmgooVRyJleCh5/UinIZ8YCIoVTsL++CKzOdTIWUwpjZ84A3qs0LtEQOZ/osXRiXCYh6wJEgTMApkpl/R25zZSizTC/mAd9AVRQpiYU7twdQI0gwi5j2b9/bn92Y2kYuTzg6GbwN51HpyhmE/VXQ6roeRJh7kTqWkJQb1txuf64UWw3LqZVYWAh9pk+oV7rV6mTn373WbLkMkrlLlZ+Imm41Nxcqc7He6ToYQ6PCA9GsN1Z/3Klctj9oj0hRsYXqtbbr5f2lCE97oGioAsjEH+h1Ihbdj7x+ex54ZPMHPwRk1/kdiX4AAAAASUVORK5CYII=);background-size:cover}.chat-window-header-close[data-v-7683371c]{width:24px;height:24px;overflow:hidden;cursor:pointer}.chat-window-message-user[data-v-6a2b6167]{display:flex;justify-content:flex-end}.user-message[data-v-6a2b6167]{max-width:80%;display:flex;padding:8px 12px;justify-content:center;align-items:center;gap:10px;border-radius:12px;background:#e3ecff}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}
|
|
1
|
+
.chat-robot[data-v-ad4ce922]{width:150px;height:200px}.chat-robot.entering[data-v-ad4ce922]{background-image:url(/img/entering.4ef198fb.png);background-size:cover}.chat-robot.waiting[data-v-ad4ce922]{background-image:url(/img/waiting.460478ef.png);background-size:cover}.chat-robot.speaking[data-v-ad4ce922]{background-image:url(/img/speaking.fa87fedb.png);background-size:cover}.chat-ai[data-v-45540794]{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;transition:box-shadow .2s}.chat-ai[data-v-45540794]:hover{box-shadow:0 4px 16px 0 rgba(0,0,0,.2)}.chat-ai[data-v-45540794]:active{cursor:grabbing}.chat-ai-avater[data-v-45540794]{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%}.chat-ai-avater.normal[data-v-45540794]{background-image:url(/img/normal.30197a82.png)}.chat-ai-avater.thinking[data-v-45540794]{background-image:url(/img/thinking.21ad5ca5.png)}.chat-ai-avater.output[data-v-45540794]{background-image:url(/img/output.1dfa94eb.png)}.chat-ai-text[data-v-45540794]{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-header[data-v-7683371c]{display:flex;align-items:center;border-bottom:1px solid #eaeaea;background:#fff;padding:16px;flex-shrink:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chat-window-header-title[data-v-7683371c]{color:#29414e;font-size:18px;font-weight:900;position:relative;padding-left:36px}.chat-window-header-open[data-v-7683371c]{width:24px;height:24px;overflow:hidden;margin-left:auto;margin-right:20px;cursor:pointer}.chat-window-header-title[data-v-7683371c]:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:32px;height:32px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAABVlBMVEUAAABIZOyWtvucufuNsvx2nfkxUOhIaOwmReYoSOVcf/KgvvsrSeWvyf2bufeBp/phg/M7Weq/z/9Ma+9Lau5DYO14l/ZDYOtSdPCMsPuLr/tTc/AvT+clReRZevCYuftggfKfwf2oxf01Uuenxv6Xt/s2U+lScetFZepihfQ7WOp+pfp3lvV3lfVafPJafPBegPGYu/2Qsv1mh/OBo/p6n/d7ofp7nvpkg/Ngg+9FZe9GYu+vz/9ojPWAq/yJtf6Fr/2BrPyFrPuFsf1+p/tulPhrkfdihfSMuP+Drv12nvlymvlZe/JUdPF4ovpcfvNObe+RvP+Hs/56o/t9pfpwl/hMae5FYu2Pu/9/qfx0m/lkiPVnhfNWd/JRcfBJZ+5HZe1DYexBXuw/XOs7W+o5Vuo3VemOs/yCqvt8pftojfYvTed3oPp7n/hfgvRegfOCpvkvTeilAxCMAAAAPXRSTlMAIJ9P79/fv6+Ab0BAPyDv798Q7+/v39/Pv7+/v7+vkI9/cGBfX19AMO/f3s/Pr6+Qj4+Ab2BfX0BAMC8QOqPNlAAAAc9JREFUOMvNklVz23AQxB3JHGOYqUmTMnP/JGbJIMnM7ED7/V+aTj2q7CTvubed/e3NzdwGHtucHx1E9qOxxAN2PAME1SiC3jT89B57aVe7qQq2MiZMe9DPLi3631cbdVMEfMUoY+x0O+sXC/nNpqWb4oRXlSLJ/3JbzbX5Hc87LUt/SZ3QH0MFyJZqjtXY8vtP+l23NsxJKHecSnMYDfW6psV9QHjgXpVQnpVJMElzJJ/bMM3rzH8/MW1jxGICR9TPQGAHYokSxSr46gGxHoNlWOa2l/+qZUZGpwAI/AcPiAICuUL6bCbfQ4nmeVs98IA9pmgooVRyJleCh5/UinIZ8YCIoVTsL++CKzOdTIWUwpjZ84A3qs0LtEQOZ/osXRiXCYh6wJEgTMApkpl/R25zZSizTC/mAd9AVRQpiYU7twdQI0gwi5j2b9/bn92Y2kYuTzg6GbwN51HpyhmE/VXQ6roeRJh7kTqWkJQb1txuf64UWw3LqZVYWAh9pk+oV7rV6mTn373WbLkMkrlLlZ+Imm41Nxcqc7He6ToYQ6PCA9GsN1Z/3Klctj9oj0hRsYXqtbbr5f2lCE97oGioAsjEH+h1Ihbdj7x+ex54ZPMHPwRk1/kdiX4AAAAASUVORK5CYII=);background-size:cover}.chat-window-header-close[data-v-7683371c]{width:24px;height:24px;overflow:hidden;cursor:pointer}.chat-window-message-user[data-v-6a2b6167]{display:flex;justify-content:flex-end}.user-message[data-v-6a2b6167]{max-width:80%;display:flex;padding:8px 12px;justify-content:center;align-items:center;gap:10px;border-radius:12px;background:#e3ecff}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}
|
|
2
2
|
/*!
|
|
3
3
|
Theme: GitHub
|
|
4
4
|
Description: Light theme as seen on github.com
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
|
|
9
9
|
Outdated base version: https://github.com/primer/github-syntax-light
|
|
10
10
|
Current colors taken from GitHub's CSS
|
|
11
|
-
*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#005cc5}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-code,.hljs-comment,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}.ai-loading[data-v-
|
|
11
|
+
*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#005cc5}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-code,.hljs-comment,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}.ai-loading[data-v-c82646d8]{display:flex;align-items:center;padding:12px 0;height:24px}.dot[data-v-c82646d8]{width:8px;height:8px;margin-right:6px;background-color:#86909c;border-radius:50%;animation:dot-bounce-c82646d8 1.4s ease-in-out infinite both}.dot[data-v-c82646d8]:first-child{animation-delay:-.32s}.dot[data-v-c82646d8]:nth-child(2){animation-delay:-.16s}.dot[data-v-c82646d8]:nth-child(3){animation-delay:0s}@keyframes dot-bounce-c82646d8{0%,80%,to{transform:scale(0);opacity:.5}40%{transform:scale(1);opacity:1}}.chat-window-message-ai[data-v-c82646d8]{display:flex;gap:12px;align-items:flex-start;max-width:100%;border-radius:12px;background:#f6f8fc;padding:8px 12px}.ai-render[data-v-c82646d8]{width:100%}.ai-thinking[data-v-c82646d8]{margin-bottom:8px}.ai-thinking-time[data-v-c82646d8]{border-radius:9px;background:#ecedf4;color:#86909c;font-family:"Alibaba PuHuiTi 2.0";font-size:16px;font-style:normal;font-weight:500;padding:0 30px 0 30px;height:28px;box-sizing:border-box;display:inline-flex;align-items:center;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer}.ai-thinking-time[data-v-c82646d8]:before{left:6px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAAAYFBMVEUAAADu8P/u8P/u8P/u8P/u8P/u8P/s7//v8v/s7//v7//t7//v8f/u8P/l6P/Iz/+stv+1v//S1/9Xbf/b3/+/x/+irv/b4P+Zpv9yhP+Pnv+Glv+Qnv99jf9hdf/R1/8RfKwjAAAADXRSTlMA36/vz5CAYF9QEHBvMEqmkAAAAM9JREFUGNNNkIkSgyAMRAG1niEoouDV///LJvFqZmDgkZ0Nq6SazmiA3FTqrTqDq/SDC7nbE39O9iHQA/S0HL0UzEppG3gfpbsmqPnwXcFtsAQ+Zw032ol7A2vBkaRVRsRpOPbN44r8YFTOinmxKbpjjKPMpQAGmCx6R/6+h2gRgCDe0BGcgKEWecQUpzSuMll+Gs07+rR63C+j9hppDoFdHG2VaiQMXMAtsAUx54jeb87yzeoOibwDh2L/Y3qrUFeV+kYZR/Rgk5OD6Rq5/QAhCBJvrLC2lgAAAABJRU5ErkJggg==) no-repeat;background-size:cover}.ai-thinking-time[data-v-c82646d8]:after,.ai-thinking-time[data-v-c82646d8]:before{content:"";position:absolute;top:50%;transform:translateY(-50%);width:16px;height:16px}.ai-thinking-time[data-v-c82646d8]:after{right:6px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAFVBMVEUAAACDj5eGkJyGj5uFj5uGj5uAj5/flAqRAAAAB3RSTlMAIN+ggHAQx7ts8QAAAClJREFUCNdjIBWwCUAZQooQmlHZSAAiYMCsCBFgYAALsRowMDA7kGY8AIDkAfQcVWSDAAAAAElFTkSuQmCC) no-repeat;background-size:cover}.ai-thinking-content[data-v-c82646d8]{color:#86909c;font-size:14px;padding:8px 0 8px 12px}.ai-content[data-v-c82646d8],.ai-thinking-content[data-v-c82646d8]{font-family:"Alibaba PuHuiTi 2.0";font-style:normal;font-weight:400;line-height:24px}.ai-content[data-v-c82646d8]{color:#4e5969;font-size:16px}.markdown-body[data-v-c82646d8]{word-wrap:break-word}.markdown-body[data-v-c82646d8] h1,.markdown-body[data-v-c82646d8] h2,.markdown-body[data-v-c82646d8] h3,.markdown-body[data-v-c82646d8] h4{margin:16px 0 8px 0;font-weight:600;line-height:1.4;color:#1f2937}.markdown-body[data-v-c82646d8] h1{font-size:24px;border-bottom:2px solid #e5e7eb;padding-bottom:8px}.markdown-body[data-v-c82646d8] h2{font-size:20px;border-bottom:1px solid #e5e7eb;padding-bottom:6px}.markdown-body[data-v-c82646d8] h3{font-size:18px}.markdown-body[data-v-c82646d8] h4{font-size:16px}.markdown-body[data-v-c82646d8] ol{list-style-type:decimal;padding-left:24px;margin:8px 0}.markdown-body[data-v-c82646d8] ul{list-style-type:disc;padding-left:24px;margin:8px 0}.markdown-body[data-v-c82646d8] li{display:list-item}.markdown-body[data-v-c82646d8] code{background-color:rgba(175,184,193,.2);border-radius:3px;font-size:85%;margin:0;padding:.2em .4em;font-family:Monaco,Menlo,Consolas,Courier New,monospace;color:#e83e8c}.markdown-body[data-v-c82646d8] pre{background-color:#f6f8fa;border-radius:6px;padding:16px;overflow:auto;margin:12px 0;border:1px solid #e1e4e8}.markdown-body[data-v-c82646d8] pre code{background-color:transparent;border:0;display:inline;line-height:inherit;margin:0;overflow:visible;padding:0;word-wrap:normal;color:#24292e;font-size:14px}.markdown-body[data-v-c82646d8] table{border:1px solid #dfe2e5;max-height:500px;margin:12px 0;border-collapse:collapse;width:100%;display:block;overflow:auto}.markdown-body[data-v-c82646d8] table::-webkit-scrollbar{height:6px}.markdown-body[data-v-c82646d8] table::-webkit-scrollbar-track{background-color:#f3f4f6}.markdown-body[data-v-c82646d8] table::-webkit-scrollbar-thumb{background-color:#d1d5db;border-radius:3px}.markdown-body[data-v-c82646d8] table::-webkit-scrollbar-thumb:hover{background-color:#9ca3af}.markdown-body[data-v-c82646d8] table td,.markdown-body[data-v-c82646d8] table th{border:1px solid #dfe2e5;padding:10px 14px;text-align:left}.markdown-body[data-v-c82646d8] table th{background-color:#f3f4f6;font-weight:600;color:#374151}.markdown-body[data-v-c82646d8] table tr:nth-child(2n){background-color:#f9fafb}.markdown-body[data-v-c82646d8] .markdown-table tr:hover{background-color:#f3f4f6;transition:background-color .2s}.markdown-body[data-v-c82646d8] ol,.markdown-body[data-v-c82646d8] ul{padding-left:24px;margin:8px 0}.markdown-body[data-v-c82646d8] li{margin:4px 0;line-height:1.6}.markdown-body[data-v-c82646d8] strong{font-weight:600;color:#1f2937}.markdown-body[data-v-c82646d8] em{font-style:italic}.markdown-body[data-v-c82646d8] del{text-decoration:line-through;opacity:.7}.markdown-body[data-v-c82646d8] blockquote{border-left:4px solid #dfe2e5;padding-left:16px;margin:12px 0;color:#6b7280;font-style:italic}.markdown-body[data-v-c82646d8] a{color:#3b82f6;text-decoration:none}.markdown-body[data-v-c82646d8] a:hover{text-decoration:underline;color:#2563eb}.markdown-body[data-v-c82646d8] img{max-width:100%;border-radius:6px;margin:12px 0}.markdown-body[data-v-c82646d8] hr{border:none;border-top:1px solid #e5e7eb;margin:16px 0}.markdown-body[data-v-c82646d8] br{line-height:.8em}.chat-window-empty[data-v-dfc4454c]{width:300px;height:300px;background:url(/img/empty.f36cb82e.png) no-repeat;background-size:cover;margin:auto}.chat-window-content[data-v-dfc4454c]{flex:1;padding:16px;overflow-y:auto;display:flex;flex-direction:column;gap:8px}.scrollbar-hide[data-v-dfc4454c]::-webkit-scrollbar{display:none}.scrollbar-hide[data-v-dfc4454c]{-ms-overflow-style:none;scrollbar-width:none}[data-v-2cd84254] .el-textarea__inner{border:none!important;padding:0 5px;font-family:PingFang SC!important}[data-v-2cd84254] .el-textarea__inner::-webkit-scrollbar{width:6px;height:6px}[data-v-2cd84254] .el-textarea__inner::-webkit-scrollbar-thumb{background:rgba(0,0,0,.1);border-radius:3px}[data-v-2cd84254] .el-textarea__inner::-webkit-scrollbar-track{background:transparent}.chat-window-footer[data-v-2cd84254]{padding:16px}.chat-window-textarea[data-v-2cd84254]{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-2cd84254]{padding:10px 12px;font-size:16px;font-family:PingFang SC;box-sizing:border-box}.chat-window-bar[data-v-2cd84254]{display:flex;justify-content:flex-end;padding:8px}.chat-window-send[data-v-2cd84254]{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}.chat-overlay[data-v-bc074e36]{position:fixed;top:0;left:0;width:100%;height:100%;background:transparent;z-index:9999;pointer-events:none}.chat-window[data-v-bc074e36]{width:480px;height:740px;border-radius:14px;background:#fff;box-shadow:0 2px 20px 0 rgba(0,0,0,.16);position:absolute;bottom:0;right:60px;overflow:hidden;display:flex;flex-direction:column;z-index:10000}.hidden-audio[data-v-244aa1c1]{position:absolute;left:-9999px;opacity:0;pointer-events:none}.chat[data-v-244aa1c1]{position:fixed;bottom:20px;right:10px;z-index:10001}
|
package/dist/index.umd.js
CHANGED
|
@@ -28752,8 +28752,8 @@ var ChatAvatar_component = normalizeComponent(
|
|
|
28752
28752
|
)
|
|
28753
28753
|
|
|
28754
28754
|
/* harmony default export */ var ChatAvatar = (ChatAvatar_component.exports);
|
|
28755
|
-
;// ./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/ChatWindowDialog.vue?vue&type=template&id=
|
|
28756
|
-
var
|
|
28755
|
+
;// ./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/ChatWindowDialog.vue?vue&type=template&id=bc074e36&scoped=true
|
|
28756
|
+
var ChatWindowDialogvue_type_template_id_bc074e36_scoped_true_render = function render() {
|
|
28757
28757
|
var _vm = this,
|
|
28758
28758
|
_c = _vm._self._c;
|
|
28759
28759
|
return _c('div', {
|
|
@@ -28762,20 +28762,16 @@ var ChatWindowDialogvue_type_template_id_23a76780_scoped_true_render = function
|
|
|
28762
28762
|
rawName: "v-show",
|
|
28763
28763
|
value: _vm.value,
|
|
28764
28764
|
expression: "value"
|
|
28765
|
-
}]
|
|
28765
|
+
}]
|
|
28766
|
+
}, [_c('div', {
|
|
28766
28767
|
staticClass: "chat-overlay",
|
|
28767
28768
|
on: {
|
|
28768
28769
|
"click": function ($event) {
|
|
28769
28770
|
return _vm.$emit('overlay-click');
|
|
28770
28771
|
}
|
|
28771
28772
|
}
|
|
28772
|
-
},
|
|
28773
|
-
staticClass: "chat-window"
|
|
28774
|
-
on: {
|
|
28775
|
-
"click": function ($event) {
|
|
28776
|
-
$event.stopPropagation();
|
|
28777
|
-
}
|
|
28778
|
-
}
|
|
28773
|
+
}), _c('div', {
|
|
28774
|
+
staticClass: "chat-window"
|
|
28779
28775
|
}, [_c('ChatWindowHeader', {
|
|
28780
28776
|
attrs: {
|
|
28781
28777
|
"chat-id": _vm.chatId
|
|
@@ -28811,7 +28807,7 @@ var ChatWindowDialogvue_type_template_id_23a76780_scoped_true_render = function
|
|
|
28811
28807
|
}
|
|
28812
28808
|
})], 1)]);
|
|
28813
28809
|
};
|
|
28814
|
-
var
|
|
28810
|
+
var ChatWindowDialogvue_type_template_id_bc074e36_scoped_true_staticRenderFns = [];
|
|
28815
28811
|
|
|
28816
28812
|
;// ./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/ChatWindowHeader.vue?vue&type=template&id=7683371c&scoped=true
|
|
28817
28813
|
var ChatWindowHeadervue_type_template_id_7683371c_scoped_true_render = function render() {
|
|
@@ -29027,8 +29023,8 @@ var UserMessage_component = normalizeComponent(
|
|
|
29027
29023
|
)
|
|
29028
29024
|
|
|
29029
29025
|
/* harmony default export */ var UserMessage = (UserMessage_component.exports);
|
|
29030
|
-
;// ./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/AiMessage.vue?vue&type=template&id=
|
|
29031
|
-
var
|
|
29026
|
+
;// ./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/AiMessage.vue?vue&type=template&id=c82646d8&scoped=true
|
|
29027
|
+
var AiMessagevue_type_template_id_c82646d8_scoped_true_render = function render() {
|
|
29032
29028
|
var _vm = this,
|
|
29033
29029
|
_c = _vm._self._c;
|
|
29034
29030
|
return _c('div', {
|
|
@@ -29061,7 +29057,7 @@ var AiMessagevue_type_template_id_2c8af7be_scoped_true_render = function render(
|
|
|
29061
29057
|
}
|
|
29062
29058
|
})])]);
|
|
29063
29059
|
};
|
|
29064
|
-
var
|
|
29060
|
+
var AiMessagevue_type_template_id_c82646d8_scoped_true_staticRenderFns = [];
|
|
29065
29061
|
|
|
29066
29062
|
;// ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
29067
29063
|
function _typeof(o) {
|
|
@@ -30851,7 +30847,9 @@ renderer.link = function ({
|
|
|
30851
30847
|
title
|
|
30852
30848
|
}) {
|
|
30853
30849
|
console.log(href, title);
|
|
30854
|
-
|
|
30850
|
+
// 需要截取portal后面的路径
|
|
30851
|
+
const url = `/permission/user`;
|
|
30852
|
+
return `<a href="${url}" data-path="${url}">点击跳转</a>`;
|
|
30855
30853
|
};
|
|
30856
30854
|
d.setOptions({
|
|
30857
30855
|
renderer: renderer,
|
|
@@ -30893,10 +30891,10 @@ d.setOptions({
|
|
|
30893
30891
|
});
|
|
30894
30892
|
;// ./components/AiMessage.vue?vue&type=script&lang=js
|
|
30895
30893
|
/* harmony default export */ var components_AiMessagevue_type_script_lang_js = (AiMessagevue_type_script_lang_js);
|
|
30896
|
-
;// ./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/AiMessage.vue?vue&type=style&index=0&id=
|
|
30894
|
+
;// ./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/AiMessage.vue?vue&type=style&index=0&id=c82646d8&prod&scoped=true&lang=css
|
|
30897
30895
|
// extracted by mini-css-extract-plugin
|
|
30898
30896
|
|
|
30899
|
-
;// ./components/AiMessage.vue?vue&type=style&index=0&id=
|
|
30897
|
+
;// ./components/AiMessage.vue?vue&type=style&index=0&id=c82646d8&prod&scoped=true&lang=css
|
|
30900
30898
|
|
|
30901
30899
|
;// ./components/AiMessage.vue
|
|
30902
30900
|
|
|
@@ -30909,11 +30907,11 @@ d.setOptions({
|
|
|
30909
30907
|
|
|
30910
30908
|
var AiMessage_component = normalizeComponent(
|
|
30911
30909
|
components_AiMessagevue_type_script_lang_js,
|
|
30912
|
-
|
|
30913
|
-
|
|
30910
|
+
AiMessagevue_type_template_id_c82646d8_scoped_true_render,
|
|
30911
|
+
AiMessagevue_type_template_id_c82646d8_scoped_true_staticRenderFns,
|
|
30914
30912
|
false,
|
|
30915
30913
|
null,
|
|
30916
|
-
"
|
|
30914
|
+
"c82646d8",
|
|
30917
30915
|
null
|
|
30918
30916
|
|
|
30919
30917
|
)
|
|
@@ -31001,8 +30999,8 @@ var ChatMessageList_component = normalizeComponent(
|
|
|
31001
30999
|
)
|
|
31002
31000
|
|
|
31003
31001
|
/* harmony default export */ var ChatMessageList = (ChatMessageList_component.exports);
|
|
31004
|
-
;// ./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/ChatInputBox.vue?vue&type=template&id=
|
|
31005
|
-
var
|
|
31002
|
+
;// ./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/ChatInputBox.vue?vue&type=template&id=2cd84254&scoped=true
|
|
31003
|
+
var ChatInputBoxvue_type_template_id_2cd84254_scoped_true_render = function render() {
|
|
31006
31004
|
var _vm = this,
|
|
31007
31005
|
_c = _vm._self._c;
|
|
31008
31006
|
return _c('div', {
|
|
@@ -31076,7 +31074,7 @@ var ChatInputBoxvue_type_template_id_6f416073_scoped_true_render = function rend
|
|
|
31076
31074
|
}
|
|
31077
31075
|
})])])])])])], 1)]);
|
|
31078
31076
|
};
|
|
31079
|
-
var
|
|
31077
|
+
var ChatInputBoxvue_type_template_id_2cd84254_scoped_true_staticRenderFns = [];
|
|
31080
31078
|
|
|
31081
31079
|
;// ./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/index.js??vue-loader-options!./components/ChatInputBox.vue?vue&type=script&lang=js
|
|
31082
31080
|
/* harmony default export */ var ChatInputBoxvue_type_script_lang_js = ({
|
|
@@ -31098,10 +31096,10 @@ var ChatInputBoxvue_type_template_id_6f416073_scoped_true_staticRenderFns = [];
|
|
|
31098
31096
|
});
|
|
31099
31097
|
;// ./components/ChatInputBox.vue?vue&type=script&lang=js
|
|
31100
31098
|
/* harmony default export */ var components_ChatInputBoxvue_type_script_lang_js = (ChatInputBoxvue_type_script_lang_js);
|
|
31101
|
-
;// ./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/ChatInputBox.vue?vue&type=style&index=0&id=
|
|
31099
|
+
;// ./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/ChatInputBox.vue?vue&type=style&index=0&id=2cd84254&prod&scoped=true&lang=css
|
|
31102
31100
|
// extracted by mini-css-extract-plugin
|
|
31103
31101
|
|
|
31104
|
-
;// ./components/ChatInputBox.vue?vue&type=style&index=0&id=
|
|
31102
|
+
;// ./components/ChatInputBox.vue?vue&type=style&index=0&id=2cd84254&prod&scoped=true&lang=css
|
|
31105
31103
|
|
|
31106
31104
|
;// ./components/ChatInputBox.vue
|
|
31107
31105
|
|
|
@@ -31114,11 +31112,11 @@ var ChatInputBoxvue_type_template_id_6f416073_scoped_true_staticRenderFns = [];
|
|
|
31114
31112
|
|
|
31115
31113
|
var ChatInputBox_component = normalizeComponent(
|
|
31116
31114
|
components_ChatInputBoxvue_type_script_lang_js,
|
|
31117
|
-
|
|
31118
|
-
|
|
31115
|
+
ChatInputBoxvue_type_template_id_2cd84254_scoped_true_render,
|
|
31116
|
+
ChatInputBoxvue_type_template_id_2cd84254_scoped_true_staticRenderFns,
|
|
31119
31117
|
false,
|
|
31120
31118
|
null,
|
|
31121
|
-
"
|
|
31119
|
+
"2cd84254",
|
|
31122
31120
|
null
|
|
31123
31121
|
|
|
31124
31122
|
)
|
|
@@ -31164,10 +31162,10 @@ var ChatInputBox_component = normalizeComponent(
|
|
|
31164
31162
|
});
|
|
31165
31163
|
;// ./components/ChatWindowDialog.vue?vue&type=script&lang=js
|
|
31166
31164
|
/* harmony default export */ var components_ChatWindowDialogvue_type_script_lang_js = (ChatWindowDialogvue_type_script_lang_js);
|
|
31167
|
-
;// ./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/ChatWindowDialog.vue?vue&type=style&index=0&id=
|
|
31165
|
+
;// ./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/ChatWindowDialog.vue?vue&type=style&index=0&id=bc074e36&prod&scoped=true&lang=css
|
|
31168
31166
|
// extracted by mini-css-extract-plugin
|
|
31169
31167
|
|
|
31170
|
-
;// ./components/ChatWindowDialog.vue?vue&type=style&index=0&id=
|
|
31168
|
+
;// ./components/ChatWindowDialog.vue?vue&type=style&index=0&id=bc074e36&prod&scoped=true&lang=css
|
|
31171
31169
|
|
|
31172
31170
|
;// ./components/ChatWindowDialog.vue
|
|
31173
31171
|
|
|
@@ -31180,11 +31178,11 @@ var ChatInputBox_component = normalizeComponent(
|
|
|
31180
31178
|
|
|
31181
31179
|
var ChatWindowDialog_component = normalizeComponent(
|
|
31182
31180
|
components_ChatWindowDialogvue_type_script_lang_js,
|
|
31183
|
-
|
|
31184
|
-
|
|
31181
|
+
ChatWindowDialogvue_type_template_id_bc074e36_scoped_true_render,
|
|
31182
|
+
ChatWindowDialogvue_type_template_id_bc074e36_scoped_true_staticRenderFns,
|
|
31185
31183
|
false,
|
|
31186
31184
|
null,
|
|
31187
|
-
"
|
|
31185
|
+
"bc074e36",
|
|
31188
31186
|
null
|
|
31189
31187
|
|
|
31190
31188
|
)
|