@nebulars/sseengine 1.3.44 → 1.3.46

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nebulars/sseengine",
3
3
  "description": "An engine for sse",
4
- "version": "1.3.44",
4
+ "version": "1.3.46",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
7
7
  "dev": "forage serve --name sseengine",
@@ -28,7 +28,6 @@
28
28
  <fqa-markdown :html="item.content" :id="item.id" :trace="item.x_trace_id" :references="references" />
29
29
 
30
30
  <!-- Notes -->
31
- references.length: {{ references.length }}
32
31
  <sse-notes class="fqa-chat-panel" :id="item.id" :references="references" v-if="references.length">
33
32
  <template #title="{ title }">
34
33
  <div class="fqa-chat-panel-title">{{ title }}</div>
@@ -4,6 +4,14 @@
4
4
  position: relative;
5
5
  }
6
6
 
7
+ &-modify {
8
+ font-weight: bold;
9
+
10
+ span {
11
+ margin-left: 4px;
12
+ }
13
+ }
14
+
7
15
  &-mask {
8
16
  top: 0;
9
17
  left: 0;
@@ -112,6 +120,13 @@
112
120
  <!-- Menus Mask -->
113
121
  <!-- <div class="fqa-menus-mask" v-if="sseengine.produce"></div> -->
114
122
 
123
+ <fqa-gap />
124
+
125
+ <div class="fqa-menus-modify" v-if="menus.length">
126
+ <fqa-icon icon="FieldTimeOutlined" />
127
+ <span>历史对话</span>
128
+ </div>
129
+
115
130
  <!-- Menus Group -->
116
131
  <a-menu-item-group class="popover-modify" v-for="{ key, label, children } of menus" :key="key" :title="label">
117
132
  <!-- Menus Item -->
@@ -88,9 +88,7 @@
88
88
  </style>
89
89
 
90
90
  <template>
91
- sliders: {{ sliders }}
92
91
  <a-drawer class="fqa-notes-popup" width="100%" placement="bottom" v-model:open="sseengine.notes[id]" @after-open-change="onOpen" @close="onClose" :close-icon="false" :footer="false" :header-style="{ display: 'none' }" :mask-style="{ background: 'rgba(0, 0, 0, 0.1)' }" height="36vh">
93
- 11111
94
92
  <a-carousel class="fqa-notes" arrows :dots="false" :autoplay="false" :after-change="onChange" ref="notes">
95
93
  <template #prevArrow>
96
94
  <div class="fqa-notes-arrow-prev">