@yeaft/webchat-agent 1.0.317 → 1.0.318
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/local-runtime/version.json +1 -1
- package/local-runtime/web/app.bundle.js +12 -12
- package/local-runtime/web/app.bundle.js.gz +0 -0
- package/local-runtime/web/index.html +2 -2
- package/local-runtime/web/style.bundle.css +1 -1
- package/local-runtime/web/style.bundle.css.gz +0 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.0.
|
|
1
|
+
{"version":"1.0.318"}
|
|
@@ -439,18 +439,8 @@ The agent will restart after upgrading.`,"chat.agent.alreadyLatest":"Agent is al
|
|
|
439
439
|
</div>
|
|
440
440
|
</div>
|
|
441
441
|
<div class="message-content" v-if="message.content">{{ displayContent }}</div>
|
|
442
|
-
<div v-if="
|
|
443
|
-
<
|
|
444
|
-
<button type="button" class="message-action-btn" @click="$emit('quote', userQuote)" :title="$t('message.quote')">
|
|
445
|
-
<svg viewBox="0 0 24 24" width="13" height="13" aria-hidden="true"><path fill="currentColor" d="M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"/></svg>
|
|
446
|
-
<span>{{ $t('message.quote') }}</span>
|
|
447
|
-
</button>
|
|
448
|
-
<button type="button" class="message-action-btn" @click="$emit('edit-as-new', displayContent)" :title="$t('message.editAsNew')">
|
|
449
|
-
<svg viewBox="0 0 24 24" width="13" height="13" aria-hidden="true"><path fill="currentColor" d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a1 1 0 0 0 0-1.41l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>
|
|
450
|
-
<span>{{ $t('message.editAsNew') }}</span>
|
|
451
|
-
</button>
|
|
452
|
-
</template>
|
|
453
|
-
<button v-if="message.attachments && message.attachments.length > 0" type="button" class="attachments-badge" @click="toggleAttachments">
|
|
442
|
+
<div v-if="message.attachments && message.attachments.length > 0" class="message-user-attachments">
|
|
443
|
+
<button type="button" class="attachments-badge" @click="toggleAttachments">
|
|
454
444
|
<span class="badge-icon" aria-hidden="true">\u{1F4CE}</span>
|
|
455
445
|
<span class="badge-text">{{ getAttachmentsText(message.attachments) }}</span>
|
|
456
446
|
<span class="badge-toggle" :class="{ expanded: showAttachments }" aria-hidden="true">
|
|
@@ -482,6 +472,16 @@ The agent will restart after upgrading.`,"chat.agent.alreadyLatest":"Agent is al
|
|
|
482
472
|
</template>
|
|
483
473
|
</div>
|
|
484
474
|
</div>
|
|
475
|
+
<div v-if="sessionActions" class="message-user-actions">
|
|
476
|
+
<button type="button" class="message-action-btn" @click="$emit('quote', userQuote)" :title="$t('message.quote')">
|
|
477
|
+
<svg viewBox="0 0 24 24" width="13" height="13" aria-hidden="true"><path fill="currentColor" d="M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"/></svg>
|
|
478
|
+
<span>{{ $t('message.quote') }}</span>
|
|
479
|
+
</button>
|
|
480
|
+
<button type="button" class="message-action-btn" @click="$emit('edit-as-new', displayContent)" :title="$t('message.editAsNew')">
|
|
481
|
+
<svg viewBox="0 0 24 24" width="13" height="13" aria-hidden="true"><path fill="currentColor" d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a1 1 0 0 0 0-1.41l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>
|
|
482
|
+
<span>{{ $t('message.editAsNew') }}</span>
|
|
483
|
+
</button>
|
|
484
|
+
</div>
|
|
485
485
|
</template>
|
|
486
486
|
|
|
487
487
|
<!-- System message -->
|
|
Binary file
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
|
|
6
6
|
<title>Yeaft</title>
|
|
7
7
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><rect width='32' height='32' rx='8' fill='%232c2c2c'/><path d='M16 22V13M16 13L10 8M16 13L22 8' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/><circle cx='10' cy='8' r='2.4' fill='white'/><circle cx='22' cy='8' r='2.4' fill='white'/><circle cx='16' cy='22' r='2.4' fill='white'/></svg>">
|
|
8
|
-
<link rel="stylesheet" href="style.bundle.css?v=
|
|
8
|
+
<link rel="stylesheet" href="style.bundle.css?v=2811a5d0">
|
|
9
9
|
<script src="vendor.bundle.js?v=103fd8e7"></script>
|
|
10
10
|
<script defer src="jszip.min.js"></script>
|
|
11
11
|
<script defer src="docx-preview.min.js"></script>
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
</head>
|
|
17
17
|
<body>
|
|
18
18
|
<div id="app"></div>
|
|
19
|
-
<script type="module" src="app.bundle.js?v=
|
|
19
|
+
<script type="module" src="app.bundle.js?v=25340c68"></script>
|
|
20
20
|
</body>
|
|
21
21
|
</html>
|