@iyulab/chat-components 0.11.5 → 0.11.8
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/CHANGELOG.md +34 -0
- package/dist/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/decorate.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.147.0 → _@oxc-project_runtime@0.148.0}/helpers/esm/decorateMetadata.js +1 -1
- package/dist/components/blocks/UCodeBlock.js +2 -2
- package/dist/components/blocks/UElementBlock.js +2 -2
- package/dist/components/blocks/UFileBlock.js +4 -3
- package/dist/components/blocks/UMarkedBlock.js +2 -2
- package/dist/components/blocks/URefBlock.js +2 -2
- package/dist/components/blocks/UTableBlock.js +10 -6
- package/dist/components/blocks/UTextBlock.js +2 -2
- package/dist/components/message/UMessage.js +2 -2
- package/dist/components/prompt/UPrompt.js +4 -2
- package/dist/components/references/URefCard.js +2 -2
- package/dist/components/references/URefCardGroup.js +2 -2
- package/dist/components/references/URefTag.js +2 -2
- package/dist/components-extra/UChartBlock.js +5 -5
- package/dist/components-extra/UChartBlock.styles.js +1 -1
- package/dist/components-extra/UImagesBlock.js +6 -3
- package/dist/components-extra/UMapBlock.js +2 -2
- package/dist/components-extra/UVideoBlock.js +2 -2
- package/dist/utilities/messages.d.ts +1 -1
- package/dist/utilities/messages.js +28 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.11.8] - 2026-09-07
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- **The table block's toolbar stayed English in every locale.** `UTableBlock`
|
|
8
|
+
was the only block component that never went through the message registry
|
|
9
|
+
at all — it did not even import it — so its search placeholder, row-count
|
|
10
|
+
label, and Excel/CSV download tooltips were English literals regardless of
|
|
11
|
+
the active locale. Routed all four through the existing registry. The
|
|
12
|
+
row-count label uses the registry's existing `{name}` interpolation
|
|
13
|
+
(`'{shown} / {total} Rows'`), so no new API was needed.
|
|
14
|
+
|
|
15
|
+
## [0.11.7] - 2026-09-01
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- **Some tooltips stayed English after switching locale.** `UFileBlock`'s
|
|
20
|
+
remove button and `UChartBlock`'s PNG/JSON-download and full-screen
|
|
21
|
+
buttons localized their `aria-label` via the existing message registry
|
|
22
|
+
but left `title` as an English literal in the same template, so the
|
|
23
|
+
visible tooltip didn't follow `aria-label` into Korean. Routed `title`
|
|
24
|
+
through the same registry calls.
|
|
25
|
+
|
|
26
|
+
## [0.11.6] - 2026-09-01
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
|
|
30
|
+
- **Several icon-only buttons had no accessible name.** The image lightbox's
|
|
31
|
+
close/previous/next buttons, the prompt's send/stop button, the file
|
|
32
|
+
preview's remove button, and the chart block's full-screen toggle showed
|
|
33
|
+
only an icon with no `aria-label` and no text content, so screen readers
|
|
34
|
+
announced them as plain "button". Added `aria-label` via the existing
|
|
35
|
+
locale registry.
|
|
36
|
+
|
|
3
37
|
## [0.11.5] - 2026-08-31
|
|
4
38
|
|
|
5
39
|
### Security
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.148.0/helpers/esm/decorate.js
|
|
2
2
|
function __decorate(decorators, target, key, desc) {
|
|
3
3
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
4
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region \0@oxc-project+runtime@0.
|
|
1
|
+
//#region \0@oxc-project+runtime@0.148.0/helpers/esm/decorateMetadata.js
|
|
2
2
|
function __decorateMetadata(k, v) {
|
|
3
3
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
4
4
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { styles } from "./UCodeBlock.styles.js";
|
|
2
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.js";
|
|
3
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.js";
|
|
4
4
|
import { html } from "lit";
|
|
5
5
|
import { customElement, property } from "lit/decorators.js";
|
|
6
6
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.js";
|
|
3
3
|
import { UDataElement } from "../UDataElement.js";
|
|
4
4
|
import { styles } from "./UElementBlock.styles.js";
|
|
5
5
|
import { html, nothing } from "lit";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.js";
|
|
3
3
|
import { messages } from "../../utilities/messages.js";
|
|
4
4
|
import { styles } from "./UFileBlock.styles.js";
|
|
5
5
|
import { html, nothing } from "lit";
|
|
@@ -71,7 +71,8 @@ var UFileBlock = class UFileBlock extends UElement {
|
|
|
71
71
|
|
|
72
72
|
<u-button class="remove-btn"
|
|
73
73
|
?hidden=${!this.removable}
|
|
74
|
-
title
|
|
74
|
+
title=${messages.text("remove")}
|
|
75
|
+
aria-label=${messages.text("remove")}
|
|
75
76
|
@click=${this.handleRemoveClick}>
|
|
76
77
|
<u-icon lib="internal" name="x"></u-icon>
|
|
77
78
|
</u-button>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.js";
|
|
3
3
|
import "./UCodeBlock.js";
|
|
4
4
|
import { escapeHtmlAttr, escapeHtmlHref, escapeHtmlText, stripZeroWidth } from "../../utilities/sanitizers.js";
|
|
5
5
|
import { HtmlBuilder } from "../../utilities/HtmlBuilder.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.js";
|
|
3
3
|
import "../references/URefCard.js";
|
|
4
4
|
import { styles } from "./URefBlock.styles.js";
|
|
5
5
|
import { html } from "lit";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.js";
|
|
3
3
|
import { UDataElement } from "../UDataElement.js";
|
|
4
|
+
import { messages } from "../../utilities/messages.js";
|
|
4
5
|
import { styles } from "./UTableBlock.styles.js";
|
|
5
6
|
import { html } from "lit";
|
|
6
7
|
import { customElement, property, state } from "lit/decorators.js";
|
|
@@ -34,22 +35,25 @@ var UTableBlock = class UTableBlock extends UDataElement {
|
|
|
34
35
|
<u-input
|
|
35
36
|
class="toolbar-search"
|
|
36
37
|
type="search"
|
|
37
|
-
placeholder
|
|
38
|
+
placeholder=${messages.text("search")}
|
|
38
39
|
.value=${this.search}
|
|
39
40
|
@input=${this.handleSearchInput}
|
|
40
41
|
>
|
|
41
42
|
<u-icon slot="prefix" lib="internal" name="search"></u-icon>
|
|
42
43
|
</u-input>
|
|
43
44
|
<span class="toolbar-count">
|
|
44
|
-
${
|
|
45
|
+
${messages.text("rowCount", {
|
|
46
|
+
shown: rows.length,
|
|
47
|
+
total: this.rows.length
|
|
48
|
+
})}
|
|
45
49
|
</span>
|
|
46
50
|
</div>
|
|
47
51
|
<div class="toolbar-right">
|
|
48
|
-
<u-button @click=${this.handleDownloadXLS} title
|
|
52
|
+
<u-button @click=${this.handleDownloadXLS} title=${messages.text("excelDownload")}>
|
|
49
53
|
XLS
|
|
50
54
|
<u-icon slot="suffix" lib="internal-chat" name="download"></u-icon>
|
|
51
55
|
</u-button>
|
|
52
|
-
<u-button @click=${this.handleDownloadCSV} title
|
|
56
|
+
<u-button @click=${this.handleDownloadCSV} title=${messages.text("csvDownload")}>
|
|
53
57
|
CSV
|
|
54
58
|
<u-icon slot="suffix" lib="internal-chat" name="download"></u-icon>
|
|
55
59
|
</u-button>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.js";
|
|
3
3
|
import { styles } from "./UTextBlock.styles.js";
|
|
4
4
|
import { html } from "lit";
|
|
5
5
|
import { customElement, property, query } from "lit/decorators.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.js";
|
|
3
3
|
import { styles } from "./UMessage.styles.js";
|
|
4
4
|
import { html } from "lit";
|
|
5
5
|
import { customElement, property } from "lit/decorators.js";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.js";
|
|
3
|
+
import { messages } from "../../utilities/messages.js";
|
|
3
4
|
import "../blocks/UFileBlock.js";
|
|
4
5
|
import { styles } from "./UPrompt.styles.js";
|
|
5
6
|
import { html } from "lit";
|
|
@@ -64,6 +65,7 @@ var UPrompt = class UPrompt extends UElement {
|
|
|
64
65
|
<u-button class="send-btn" part="send-btn"
|
|
65
66
|
variant="ghost"
|
|
66
67
|
?disabled=${!this.loading && !this.value}
|
|
68
|
+
aria-label=${this.loading ? messages.text("stopGenerating") : messages.text("sendMessage")}
|
|
67
69
|
@click=${this.handleSendButtonClick}>
|
|
68
70
|
<u-icon
|
|
69
71
|
lib="internal-chat"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.js";
|
|
3
3
|
import { UDataElement } from "../UDataElement.js";
|
|
4
4
|
import { styles } from "./URefCard.styles.js";
|
|
5
5
|
import { html } from "lit";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.js";
|
|
3
3
|
import { messages } from "../../utilities/messages.js";
|
|
4
4
|
import { URefCard } from "./URefCard.js";
|
|
5
5
|
import { styles } from "./URefCardGroup.styles.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.js";
|
|
3
3
|
import { styles } from "./URefTag.styles.js";
|
|
4
4
|
import { html } from "lit";
|
|
5
5
|
import { customElement, property } from "lit/decorators.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.js";
|
|
3
3
|
import { messages } from "../utilities/messages.js";
|
|
4
4
|
import { styles } from "./UChartBlock.styles.js";
|
|
5
5
|
import { html, nothing } from "lit";
|
|
@@ -47,15 +47,15 @@ var UChartBlock = class UChartBlock extends UElement {
|
|
|
47
47
|
<div class="toolbar">
|
|
48
48
|
<div class="toolbar-left"></div>
|
|
49
49
|
<div class="toolbar-right">
|
|
50
|
-
<u-button title
|
|
50
|
+
<u-button title=${messages.text("pngDownload")} @click=${this.handleDownloadPNG}>
|
|
51
51
|
PNG
|
|
52
52
|
<u-icon slot="suffix" lib="internal-chat" name="download"></u-icon>
|
|
53
53
|
</u-button>
|
|
54
|
-
<u-button title
|
|
54
|
+
<u-button title=${messages.text("jsonDownload")} @click=${this.handleDownloadJSON}>
|
|
55
55
|
JSON
|
|
56
56
|
<u-icon slot="suffix" lib="internal-chat" name="download"></u-icon>
|
|
57
57
|
</u-button>
|
|
58
|
-
<u-button
|
|
58
|
+
<u-button class="fullscreen-btn" title=${messages.text("fullScreen")} aria-label=${messages.text("fullScreen")} @click=${this.handleFullscreen}>
|
|
59
59
|
<u-icon lib="internal-chat" name="external-link"></u-icon>
|
|
60
60
|
</u-button>
|
|
61
61
|
</div>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.js";
|
|
3
|
+
import { messages } from "../utilities/messages.js";
|
|
3
4
|
import { styles } from "./UImagesBlock.styles.js";
|
|
4
5
|
import { html, nothing } from "lit";
|
|
5
6
|
import { customElement, property, state } from "lit/decorators.js";
|
|
@@ -98,7 +99,7 @@ var UImagesBlock = class UImagesBlock extends UElement {
|
|
|
98
99
|
<div class="lb-counter" ?hidden=${total <= 1}>
|
|
99
100
|
${idx + 1} / ${total}
|
|
100
101
|
</div>
|
|
101
|
-
<button class="lb-close" @click=${this.close}>
|
|
102
|
+
<button class="lb-close" aria-label=${messages.text("closeLightbox")} @click=${this.close}>
|
|
102
103
|
<u-icon lib="internal" name="x"></u-icon>
|
|
103
104
|
</button>
|
|
104
105
|
</header>
|
|
@@ -117,12 +118,14 @@ var UImagesBlock = class UImagesBlock extends UElement {
|
|
|
117
118
|
|
|
118
119
|
<button class="lb-nav prev"
|
|
119
120
|
?hidden=${idx <= 0}
|
|
121
|
+
aria-label=${messages.text("previousImage")}
|
|
120
122
|
@click=${this.handlePrevClick}>
|
|
121
123
|
<u-icon lib="internal" name="chevron-left"></u-icon>
|
|
122
124
|
</button>
|
|
123
125
|
|
|
124
126
|
<button class="lb-nav next"
|
|
125
127
|
?hidden=${idx >= total - 1}
|
|
128
|
+
aria-label=${messages.text("nextImage")}
|
|
126
129
|
@click=${this.handleNextClick}>
|
|
127
130
|
<u-icon lib="internal" name="chevron-right"></u-icon>
|
|
128
131
|
</button>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.js";
|
|
3
3
|
import { styles } from "./UMapBlock.styles.js";
|
|
4
4
|
import { html, nothing } from "lit";
|
|
5
5
|
import { customElement, property } from "lit/decorators.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.
|
|
2
|
-
import __decorate from "../_virtual/_@oxc-project_runtime@0.
|
|
1
|
+
import __decorateMetadata from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorateMetadata.js";
|
|
2
|
+
import __decorate from "../_virtual/_@oxc-project_runtime@0.148.0/helpers/esm/decorate.js";
|
|
3
3
|
import { styles } from "./UVideoBlock.styles.js";
|
|
4
4
|
import { html, nothing } from "lit";
|
|
5
5
|
import { customElement, property } from "lit/decorators.js";
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* 이 리포가 채택한 표준이 *"영어 기본 **+ 레지스트리**"* 이기 때문이다 — 영어 리터럴만으로는
|
|
6
6
|
* 한국어 앱이 그 문구를 되돌릴 방법이 없다. 다음 문자열은 여기로 온다.
|
|
7
7
|
*/
|
|
8
|
-
export type ChatMessageKey = 'canvasUnavailable' | 'previousReference' | 'nextReference' | 'closePreview';
|
|
8
|
+
export type ChatMessageKey = 'canvasUnavailable' | 'previousReference' | 'nextReference' | 'closePreview' | 'closeLightbox' | 'previousImage' | 'nextImage' | 'sendMessage' | 'stopGenerating' | 'fullScreen' | 'remove' | 'pngDownload' | 'jsonDownload' | 'search' | 'rowCount' | 'excelDownload' | 'csvDownload';
|
|
9
9
|
export declare const messages: import('@iyulab/components/dist/utilities/Locale.js').LocaleNamespace<ChatMessageKey>;
|
|
@@ -5,13 +5,39 @@ messages.register("en", {
|
|
|
5
5
|
canvasUnavailable: "Canvas 2D context is unavailable.",
|
|
6
6
|
previousReference: "Previous reference",
|
|
7
7
|
nextReference: "Next reference",
|
|
8
|
-
closePreview: "Close preview"
|
|
8
|
+
closePreview: "Close preview",
|
|
9
|
+
closeLightbox: "Close",
|
|
10
|
+
previousImage: "Previous image",
|
|
11
|
+
nextImage: "Next image",
|
|
12
|
+
sendMessage: "Send message",
|
|
13
|
+
stopGenerating: "Stop generating",
|
|
14
|
+
fullScreen: "Full screen",
|
|
15
|
+
remove: "Remove",
|
|
16
|
+
pngDownload: "PNG Download",
|
|
17
|
+
jsonDownload: "JSON Download",
|
|
18
|
+
search: "Search...",
|
|
19
|
+
rowCount: "{shown} / {total} Rows",
|
|
20
|
+
excelDownload: "Excel Download",
|
|
21
|
+
csvDownload: "CSV Download"
|
|
9
22
|
});
|
|
10
23
|
messages.register("ko", {
|
|
11
24
|
canvasUnavailable: "Canvas 2D context를 가져올 수 없습니다.",
|
|
12
25
|
previousReference: "이전 참조",
|
|
13
26
|
nextReference: "다음 참조",
|
|
14
|
-
closePreview: "미리보기 닫기"
|
|
27
|
+
closePreview: "미리보기 닫기",
|
|
28
|
+
closeLightbox: "닫기",
|
|
29
|
+
previousImage: "이전 이미지",
|
|
30
|
+
nextImage: "다음 이미지",
|
|
31
|
+
sendMessage: "메시지 보내기",
|
|
32
|
+
stopGenerating: "생성 중지",
|
|
33
|
+
fullScreen: "전체 화면",
|
|
34
|
+
remove: "제거",
|
|
35
|
+
pngDownload: "PNG 다운로드",
|
|
36
|
+
jsonDownload: "JSON 다운로드",
|
|
37
|
+
search: "검색...",
|
|
38
|
+
rowCount: "{shown} / {total} 행",
|
|
39
|
+
excelDownload: "Excel 다운로드",
|
|
40
|
+
csvDownload: "CSV 다운로드"
|
|
15
41
|
});
|
|
16
42
|
//#endregion
|
|
17
43
|
export { messages };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iyulab/chat-components",
|
|
3
3
|
"description": "llm chat components for building chat interfaces",
|
|
4
|
-
"version": "0.11.
|
|
4
|
+
"version": "0.11.8",
|
|
5
5
|
"author": "iyulab",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"keywords": [
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"./react/*": "./dist/react/*"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
|
-
"preversion": "node ../../scripts/preversion-check.mjs",
|
|
54
|
+
"preversion": "node -e \"if(require('fs').existsSync('../../scripts/preversion-check.mjs'))require('child_process').execFileSync('node',['../../scripts/preversion-check.mjs'],{stdio:'inherit'})\"",
|
|
55
55
|
"start": "vite",
|
|
56
56
|
"build": "npm run typecheck && eslint && vite build",
|
|
57
57
|
"test": "vitest run",
|