@elia-assistant/chatui 1.0.24 → 1.0.25
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/README.md +3 -1
- package/dist/assets/avatars/index.d.ts +4 -0
- package/dist/chatui.iife.js +24 -24
- package/dist/chunks/{i18n-i-innm6M.js → i18n-Vi-f1TFq.js} +3 -3
- package/dist/chunks/{settingsStore-ReOi8RP1.js → settingsStore-yU8h8KVJ.js} +2 -2
- package/dist/chunks/{translation-8S88rsh2.js → translation-B0QPZgVW.js} +4 -1
- package/dist/chunks/{translation-B2rvHkw2.js → translation-BYSHywcB.js} +4 -1
- package/dist/components/ChatView.d.ts +3 -1
- package/dist/components/CtaPopup.d.ts +2 -1
- package/dist/index.js +944 -836
- package/dist/store.js +1 -1
- package/dist/types/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1290,8 +1290,8 @@ var pe = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
|
|
|
1290
1290
|
}
|
|
1291
1291
|
};
|
|
1292
1292
|
}, Ce = /* @__PURE__ */ s({ default: () => De }), we = /* #__PURE__ */ Object.assign({
|
|
1293
|
-
"./locales/en/translation.json": () => import("./translation-
|
|
1294
|
-
"./locales/sk/translation.json": () => import("./translation-
|
|
1293
|
+
"./locales/en/translation.json": () => import("./translation-BYSHywcB.js"),
|
|
1294
|
+
"./locales/sk/translation.json": () => import("./translation-B0QPZgVW.js")
|
|
1295
1295
|
}), Te = Array.from(new Set(Object.keys(we).map((e) => e.split("/")[2]).filter((e) => !!e)));
|
|
1296
1296
|
function Ee() {
|
|
1297
1297
|
try {
|
|
@@ -1317,4 +1317,4 @@ var De = Z;
|
|
|
1317
1317
|
//#endregion
|
|
1318
1318
|
export { I as a, l as c, Q as i, be as n, o, _e as r, s, Ce as t };
|
|
1319
1319
|
|
|
1320
|
-
//# sourceMappingURL=i18n-
|
|
1320
|
+
//# sourceMappingURL=i18n-Vi-f1TFq.js.map
|
|
@@ -130,7 +130,7 @@ var a = {
|
|
|
130
130
|
e({ activeTheme: t });
|
|
131
131
|
},
|
|
132
132
|
setLanguage(t) {
|
|
133
|
-
e({ language: t }), import("./i18n-
|
|
133
|
+
e({ language: t }), import("./i18n-Vi-f1TFq.js").then((e) => e.t).then((e) => {
|
|
134
134
|
e.default.changeLanguage(t);
|
|
135
135
|
});
|
|
136
136
|
}
|
|
@@ -151,4 +151,4 @@ var a = {
|
|
|
151
151
|
//#endregion
|
|
152
152
|
export { i as n, n as r, o as t };
|
|
153
153
|
|
|
154
|
-
//# sourceMappingURL=settingsStore-
|
|
154
|
+
//# sourceMappingURL=settingsStore-yU8h8KVJ.js.map
|
|
@@ -43,6 +43,9 @@ var e = {
|
|
|
43
43
|
fileUploads: "Povoliť nahrávanie súborov",
|
|
44
44
|
allowedFileExtensions: "Povolené prípony súborov",
|
|
45
45
|
mode: "Režim zobrazenia",
|
|
46
|
+
position: "Pozícia widgetu",
|
|
47
|
+
position_right: "Vpravo",
|
|
48
|
+
position_left: "Vľavo",
|
|
46
49
|
fullscreenSheet: "Štýl spodného panela (nepokryje celú obrazovku)",
|
|
47
50
|
fullscreenSheetHeight: "Výška panela (CSS dĺžka, napr. 75vh, 600px)",
|
|
48
51
|
tabsSection: "Záložky (oznámenia + FAQ)",
|
|
@@ -88,4 +91,4 @@ var e = {
|
|
|
88
91
|
//#endregion
|
|
89
92
|
export { c as default, e as errors, a as footer, r as header, n as input, s as settings, i as sidebar, o as tabs, t as welcome };
|
|
90
93
|
|
|
91
|
-
//# sourceMappingURL=translation-
|
|
94
|
+
//# sourceMappingURL=translation-B0QPZgVW.js.map
|
|
@@ -43,6 +43,9 @@ var e = {
|
|
|
43
43
|
fileUploads: "Allow file uploads",
|
|
44
44
|
allowedFileExtensions: "Allowed file extensions",
|
|
45
45
|
mode: "Display mode",
|
|
46
|
+
position: "Widget position",
|
|
47
|
+
position_right: "Right",
|
|
48
|
+
position_left: "Left",
|
|
46
49
|
fullscreenSheet: "Bottom-sheet style (don't cover full screen)",
|
|
47
50
|
fullscreenSheetHeight: "Sheet height (CSS length, e.g. 75vh, 600px)",
|
|
48
51
|
tabsSection: "Tabs (notifications + FAQ)",
|
|
@@ -88,4 +91,4 @@ var e = {
|
|
|
88
91
|
//#endregion
|
|
89
92
|
export { c as default, e as errors, a as footer, r as header, n as input, s as settings, i as sidebar, o as tabs, t as welcome };
|
|
90
93
|
|
|
91
|
-
//# sourceMappingURL=translation-
|
|
94
|
+
//# sourceMappingURL=translation-BYSHywcB.js.map
|
|
@@ -2,6 +2,8 @@ interface Props {
|
|
|
2
2
|
onOpenSettings: () => void;
|
|
3
3
|
/** When provided, renders a close (X) button in the header. Omit for permanent fullscreen layouts. */
|
|
4
4
|
onClose?: () => void;
|
|
5
|
+
maximized?: boolean;
|
|
6
|
+
onToggleMaximize?: () => void;
|
|
5
7
|
}
|
|
6
|
-
export declare function ChatView({ onOpenSettings, onClose }: Props): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare function ChatView({ onOpenSettings, onClose, maximized, onToggleMaximize }: Props): import("react/jsx-runtime").JSX.Element;
|
|
7
9
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
interface Props {
|
|
2
2
|
text: string;
|
|
3
3
|
onDismiss: () => void;
|
|
4
|
+
align?: 'right' | 'left';
|
|
4
5
|
}
|
|
5
|
-
export declare function CtaPopup({ text, onDismiss }: Props): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function CtaPopup({ text, onDismiss, align }: Props): import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export {};
|