@yeaft/webchat-agent 1.0.564 → 1.0.565
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 +25 -17
- 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.565"}
|
|
@@ -311,34 +311,42 @@ They will restart after upgrading. {skipped} other Agent(s) will be skipped beca
|
|
|
311
311
|
<div class="folder-picker-dialog" ref="dialog" role="dialog" aria-modal="true" :aria-label="$t('modal.folderPicker.title')">
|
|
312
312
|
<header class="folder-picker-header">
|
|
313
313
|
<h3>{{ $t('modal.folderPicker.title') }}</h3>
|
|
314
|
-
<button class="btn-ghost" type="button" @click="$emit('close')" :aria-label="$t('common.close')"
|
|
314
|
+
<button class="btn btn-ghost folder-picker-icon" type="button" @click="$emit('close')" :aria-label="$t('common.close')" :title="$t('common.close')">
|
|
315
|
+
<svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" aria-hidden="true"><path d="m6 6 12 12M18 6 6 18"/></svg>
|
|
316
|
+
</button>
|
|
315
317
|
</header>
|
|
316
318
|
<div class="folder-picker-path">
|
|
317
|
-
<div class="folder-picker-navigation">
|
|
318
|
-
<button class="btn-secondary" type="button" @click="navigate('')">{{ $t('modal.folderPicker.root') }}</button>
|
|
319
|
-
<button class="btn-ghost" type="button" @click="navigate(parentPath)" :disabled="!state.path || state.path === parentPath">{{ $t('modal.folderPicker.parentDir') }}</button>
|
|
320
|
-
</div>
|
|
321
319
|
<div class="folder-picker-address">
|
|
322
|
-
<input ref="pathInput" class="folder-picker-input" type="text" :value="state.draft"
|
|
320
|
+
<input ref="pathInput" class="resume-input folder-picker-input" type="text" :value="state.draft"
|
|
323
321
|
:aria-label="$t('modal.folderPicker.path')" :placeholder="$t('modal.folderPicker.path')"
|
|
324
322
|
autocomplete="off" autocapitalize="off" spellcheck="false"
|
|
325
323
|
@input="$emit('edit-path', $event.target.value)" @keydown.enter.prevent.stop="go" />
|
|
326
|
-
<button class="btn-secondary" type="button" @click="go" :disabled="!state.draft.trim()"
|
|
324
|
+
<button class="btn btn-secondary folder-picker-icon" type="button" @click="go" :disabled="!state.draft.trim()" :aria-label="$t('modal.folderPicker.go')" :title="$t('modal.folderPicker.go')">
|
|
325
|
+
<svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14m-6-6 6 6-6 6"/></svg>
|
|
326
|
+
</button>
|
|
327
|
+
</div>
|
|
328
|
+
<div class="folder-picker-navigation">
|
|
329
|
+
<button class="btn btn-ghost folder-picker-root" type="button" @click="navigate('')">
|
|
330
|
+
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 4-3 10v5a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-5L19 4Z"/><path d="M2 14h20M6 17h.01M10 17h.01"/></svg>
|
|
331
|
+
{{ $t('modal.folderPicker.root') }}
|
|
332
|
+
</button>
|
|
333
|
+
<button class="btn btn-ghost folder-picker-icon" type="button" @click="navigate(parentPath)" :disabled="!state.path || state.path === parentPath" :aria-label="$t('modal.folderPicker.parentDir')" :title="$t('modal.folderPicker.parentDir')">
|
|
334
|
+
<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 19V5m-6 6 6-6 6 6"/></svg>
|
|
335
|
+
</button>
|
|
336
|
+
<nav class="folder-picker-breadcrumbs" :aria-label="$t('modal.folderPicker.ancestors')">
|
|
337
|
+
<template v-for="(crumb, index) in breadcrumbs" :key="crumb.path">
|
|
338
|
+
<span v-if="index" aria-hidden="true">/</span>
|
|
339
|
+
<button class="btn btn-ghost" type="button" @click="navigate(crumb.path)" :aria-current="index === breadcrumbs.length - 1 ? 'location' : undefined" :title="crumb.path">{{ crumb.label }}</button>
|
|
340
|
+
</template>
|
|
341
|
+
</nav>
|
|
327
342
|
</div>
|
|
328
|
-
<nav class="folder-picker-breadcrumbs" :aria-label="$t('modal.folderPicker.ancestors')">
|
|
329
|
-
<template v-for="(crumb, index) in breadcrumbs" :key="crumb.path">
|
|
330
|
-
<span v-if="index" aria-hidden="true">\u203A</span>
|
|
331
|
-
<button class="btn-ghost" type="button" @click="navigate(crumb.path)" :aria-current="index === breadcrumbs.length - 1 ? 'location' : undefined" :title="crumb.path">{{ crumb.label }}</button>
|
|
332
|
-
</template>
|
|
333
|
-
<span v-if="!breadcrumbs.length">{{ state.path || $t('modal.folderPicker.root') }}</span>
|
|
334
|
-
</nav>
|
|
335
343
|
</div>
|
|
336
344
|
<div class="folder-picker-list" ref="list" tabindex="0" :aria-label="$t('modal.folderPicker.directories')" :aria-busy="state.loading" @keydown="onListKeydown">
|
|
337
345
|
<div class="folder-picker-state" v-if="state.loading" role="status"><span class="spinner-mini"></span> {{ $t('common.loading') }}</div>
|
|
338
346
|
<div class="folder-picker-state folder-picker-error" v-else-if="state.error" role="alert">
|
|
339
347
|
<span>{{ $t('modal.folderPicker.' + state.error) }}</span>
|
|
340
348
|
<span v-if="state.errorDetail" class="folder-picker-error-detail">{{ state.errorDetail }}</span>
|
|
341
|
-
<button class="btn-secondary" type="button" @click="navigate(state.path)">{{ $t('common.retry') }}</button>
|
|
349
|
+
<button class="btn btn-secondary" type="button" @click="navigate(state.path)">{{ $t('common.retry') }}</button>
|
|
342
350
|
</div>
|
|
343
351
|
<template v-else>
|
|
344
352
|
<button v-for="entry in state.entries" :key="entry.name" class="folder-picker-item" type="button" @click="enter(entry)">
|
|
@@ -351,8 +359,8 @@ They will restart after upgrading. {skipped} other Agent(s) will be skipped beca
|
|
|
351
359
|
<footer class="folder-picker-footer">
|
|
352
360
|
<p>{{ $t('modal.folderPicker.navigationHint') }}</p>
|
|
353
361
|
<div>
|
|
354
|
-
<button class="btn-secondary" type="button" @click="$emit('close')">{{ $t('common.cancel') }}</button>
|
|
355
|
-
<button class="btn-primary" type="button" @click="$emit('confirm')" :disabled="!state.canConfirm">{{ $t('modal.folderPicker.selectCurrent') }}</button>
|
|
362
|
+
<button class="btn btn-secondary" type="button" @click="$emit('close')">{{ $t('common.cancel') }}</button>
|
|
363
|
+
<button class="btn btn-primary" type="button" @click="$emit('confirm')" :disabled="!state.canConfirm">{{ $t('modal.folderPicker.selectCurrent') }}</button>
|
|
356
364
|
</div>
|
|
357
365
|
</footer>
|
|
358
366
|
</div>
|
|
Binary file
|
|
@@ -6,7 +6,7 @@
|
|
|
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
8
|
<link rel="stylesheet" href="vendor/katex/katex.min.css?v=b0d91614">
|
|
9
|
-
<link rel="stylesheet" href="style.bundle.css?v=
|
|
9
|
+
<link rel="stylesheet" href="style.bundle.css?v=4d8fe790">
|
|
10
10
|
<script src="vendor.bundle.js?v=b4d2c175"></script>
|
|
11
11
|
<script defer src="jszip.min.js"></script>
|
|
12
12
|
<script defer src="docx-preview.min.js"></script>
|
|
@@ -17,6 +17,6 @@
|
|
|
17
17
|
</head>
|
|
18
18
|
<body>
|
|
19
19
|
<div id="app"></div>
|
|
20
|
-
<script type="module" src="app.bundle.js?v=
|
|
20
|
+
<script type="module" src="app.bundle.js?v=db93c41c"></script>
|
|
21
21
|
</body>
|
|
22
22
|
</html>
|