@yeaft/webchat-agent 1.0.473 → 1.0.475
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 +31 -29
- 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.475"}
|
|
@@ -5412,36 +5412,38 @@ ${String(e||"").trim()}
|
|
|
5412
5412
|
<div class="agent-dropdown-list">
|
|
5413
5413
|
<div v-for="agent in onlineAgents" :key="agent.id" class="agent-dropdown-item">
|
|
5414
5414
|
<span class="status-dot" :class="{ online: agent.online, restarting: restartingAgents[agent.id], upgrading: upgradingAgents[agent.id] }"></span>
|
|
5415
|
-
<span class="agent-dropdown-name">{{ agent.name }}</span>
|
|
5416
|
-
<span class="agent-dropdown-
|
|
5417
|
-
<span class="agent-dropdown-
|
|
5418
|
-
|
|
5419
|
-
|
|
5415
|
+
<span class="agent-dropdown-name" :title="agent.name">{{ agent.name }}</span>
|
|
5416
|
+
<span class="agent-dropdown-trailing">
|
|
5417
|
+
<span class="agent-dropdown-meta">
|
|
5418
|
+
<span class="agent-dropdown-status" v-if="restartingAgents[agent.id]">{{ tr('chat.agent.restarting', 'Restarting\u2026') }}</span>
|
|
5419
|
+
<span class="agent-dropdown-status" v-else-if="upgradingAgents[agent.id]">{{ tr('chat.agent.upgrading', 'Upgrading\u2026') }}</span>
|
|
5420
|
+
<span class="agent-dropdown-version" v-else-if="agent.version">v{{ agent.version }}</span>
|
|
5421
|
+
</span>
|
|
5422
|
+
<span v-if="showAgentActions" class="agent-dropdown-actions">
|
|
5423
|
+
<button
|
|
5424
|
+
type="button"
|
|
5425
|
+
class="agent-dropdown-action-btn agent-dropdown-upgrade-btn"
|
|
5426
|
+
@click.stop="$emit('upgrade-agent', agent.id)"
|
|
5427
|
+
:disabled="!agent.online || restartingAgents[agent.id] || upgradingAgents[agent.id]"
|
|
5428
|
+
:title="tr('chat.agent.upgrade', 'Upgrade')"
|
|
5429
|
+
:aria-label="tr('chat.agent.upgrade', 'Upgrade')"
|
|
5430
|
+
>
|
|
5431
|
+
<span v-if="upgradingAgents[agent.id]" class="spinner-mini"></span>
|
|
5432
|
+
<svg v-else viewBox="0 0 24 24" width="16" height="16" aria-hidden="true"><path fill="currentColor" d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"/></svg>
|
|
5433
|
+
</button>
|
|
5434
|
+
<button
|
|
5435
|
+
type="button"
|
|
5436
|
+
class="agent-dropdown-action-btn agent-dropdown-restart-btn"
|
|
5437
|
+
@click.stop="$emit('restart-agent', agent.id)"
|
|
5438
|
+
:disabled="!agent.online || restartingAgents[agent.id] || upgradingAgents[agent.id]"
|
|
5439
|
+
:title="tr('chat.agent.restart', 'Restart')"
|
|
5440
|
+
:aria-label="tr('chat.agent.restart', 'Restart')"
|
|
5441
|
+
>
|
|
5442
|
+
<span v-if="restartingAgents[agent.id]" class="spinner-mini"></span>
|
|
5443
|
+
<svg v-else viewBox="0 0 24 24" width="16" height="16" aria-hidden="true"><path fill="currentColor" d="M17.65 6.35A7.958 7.958 0 0012 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0112 18c-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/></svg>
|
|
5444
|
+
</button>
|
|
5445
|
+
</span>
|
|
5420
5446
|
</span>
|
|
5421
|
-
<template v-if="showAgentActions">
|
|
5422
|
-
<button
|
|
5423
|
-
type="button"
|
|
5424
|
-
class="agent-dropdown-action-btn agent-dropdown-upgrade-btn"
|
|
5425
|
-
@click.stop="$emit('upgrade-agent', agent.id)"
|
|
5426
|
-
:disabled="!agent.online || restartingAgents[agent.id] || upgradingAgents[agent.id]"
|
|
5427
|
-
:title="tr('chat.agent.upgrade', 'Upgrade')"
|
|
5428
|
-
:aria-label="tr('chat.agent.upgrade', 'Upgrade')"
|
|
5429
|
-
>
|
|
5430
|
-
<span v-if="upgradingAgents[agent.id]" class="spinner-mini"></span>
|
|
5431
|
-
<svg v-else viewBox="0 0 24 24" width="16" height="16" aria-hidden="true"><path fill="currentColor" d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"/></svg>
|
|
5432
|
-
</button>
|
|
5433
|
-
<button
|
|
5434
|
-
type="button"
|
|
5435
|
-
class="agent-dropdown-action-btn agent-dropdown-restart-btn"
|
|
5436
|
-
@click.stop="$emit('restart-agent', agent.id)"
|
|
5437
|
-
:disabled="!agent.online || restartingAgents[agent.id] || upgradingAgents[agent.id]"
|
|
5438
|
-
:title="tr('chat.agent.restart', 'Restart')"
|
|
5439
|
-
:aria-label="tr('chat.agent.restart', 'Restart')"
|
|
5440
|
-
>
|
|
5441
|
-
<span v-if="restartingAgents[agent.id]" class="spinner-mini"></span>
|
|
5442
|
-
<svg v-else viewBox="0 0 24 24" width="16" height="16" aria-hidden="true"><path fill="currentColor" d="M17.65 6.35A7.958 7.958 0 0012 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08A5.99 5.99 0 0112 18c-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/></svg>
|
|
5443
|
-
</button>
|
|
5444
|
-
</template>
|
|
5445
5447
|
</div>
|
|
5446
5448
|
<div v-if="onlineAgents.length === 0" class="agent-dropdown-empty">{{ tr('chat.agent.none', 'No agents online') }}</div>
|
|
5447
5449
|
</div>
|
|
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=a252e572">
|
|
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=977443cc"></script>
|
|
20
20
|
</body>
|
|
21
21
|
</html>
|