@memori.ai/memori-react 7.25.1 → 7.26.0
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 +35 -0
- package/dist/components/Chat/Chat.d.ts +5 -10
- package/dist/components/Chat/Chat.js +3 -3
- package/dist/components/Chat/Chat.js.map +1 -1
- package/dist/components/ChatBubble/ChatBubble.css +10 -0
- package/dist/components/ChatBubble/ChatBubble.d.ts +1 -0
- package/dist/components/ChatBubble/ChatBubble.js +16 -20
- package/dist/components/ChatBubble/ChatBubble.js.map +1 -1
- package/dist/components/ChatInputs/ChatInputs.d.ts +6 -10
- package/dist/components/ChatInputs/ChatInputs.js +37 -30
- package/dist/components/ChatInputs/ChatInputs.js.map +1 -1
- package/dist/components/FilePreview/FilePreview.css +169 -140
- package/dist/components/FilePreview/FilePreview.d.ts +2 -6
- package/dist/components/FilePreview/FilePreview.js +58 -5
- package/dist/components/FilePreview/FilePreview.js.map +1 -1
- package/dist/components/MemoriWidget/MemoriWidget.d.ts +2 -1
- package/dist/components/MemoriWidget/MemoriWidget.js +10 -18
- package/dist/components/MemoriWidget/MemoriWidget.js.map +1 -1
- package/dist/components/UploadButton/UploadButton.css +506 -27
- package/dist/components/UploadButton/UploadButton.d.ts +14 -11
- package/dist/components/UploadButton/UploadButton.js +110 -288
- package/dist/components/UploadButton/UploadButton.js.map +1 -1
- package/dist/components/UploadButton/UploadDocuments/UploadDocuments.d.ts +19 -0
- package/dist/components/UploadButton/UploadDocuments/UploadDocuments.js +211 -0
- package/dist/components/UploadButton/UploadDocuments/UploadDocuments.js.map +1 -0
- package/dist/components/UploadButton/UploadImages/UploadImages.d.ts +13 -0
- package/dist/components/UploadButton/UploadImages/UploadImages.js +207 -0
- package/dist/components/UploadButton/UploadImages/UploadImages.js.map +1 -0
- package/dist/components/icons/Bug.d.ts +5 -0
- package/dist/components/icons/Bug.js +6 -0
- package/dist/components/icons/Bug.js.map +1 -0
- package/dist/components/icons/Document.d.ts +5 -0
- package/dist/components/icons/Document.js +10 -0
- package/dist/components/icons/Document.js.map +1 -0
- package/dist/components/icons/Image.d.ts +4 -0
- package/dist/components/icons/Image.js +9 -0
- package/dist/components/icons/Image.js.map +1 -0
- package/dist/components/icons/Preview.d.ts +4 -5
- package/dist/components/icons/Preview.js +5 -2
- package/dist/components/icons/Preview.js.map +1 -1
- package/dist/components/icons/Upload.d.ts +4 -5
- package/dist/components/icons/Upload.js +5 -2
- package/dist/components/icons/Upload.js.map +1 -1
- package/dist/components/layouts/HiddenChat.js +100 -10
- package/dist/components/layouts/HiddenChat.js.map +1 -1
- package/dist/components/layouts/hidden-chat.css +189 -119
- package/dist/locales/de.json +16 -0
- package/dist/locales/en.json +24 -0
- package/dist/locales/es.json +16 -0
- package/dist/locales/fr.json +16 -0
- package/dist/locales/it.json +22 -0
- package/esm/components/Chat/Chat.d.ts +5 -10
- package/esm/components/Chat/Chat.js +3 -3
- package/esm/components/Chat/Chat.js.map +1 -1
- package/esm/components/ChatBubble/ChatBubble.css +10 -0
- package/esm/components/ChatBubble/ChatBubble.d.ts +1 -0
- package/esm/components/ChatBubble/ChatBubble.js +16 -20
- package/esm/components/ChatBubble/ChatBubble.js.map +1 -1
- package/esm/components/ChatInputs/ChatInputs.d.ts +6 -10
- package/esm/components/ChatInputs/ChatInputs.js +37 -30
- package/esm/components/ChatInputs/ChatInputs.js.map +1 -1
- package/esm/components/FilePreview/FilePreview.css +169 -140
- package/esm/components/FilePreview/FilePreview.d.ts +2 -6
- package/esm/components/FilePreview/FilePreview.js +58 -5
- package/esm/components/FilePreview/FilePreview.js.map +1 -1
- package/esm/components/MemoriWidget/MemoriWidget.d.ts +2 -1
- package/esm/components/MemoriWidget/MemoriWidget.js +10 -18
- package/esm/components/MemoriWidget/MemoriWidget.js.map +1 -1
- package/esm/components/UploadButton/UploadButton.css +506 -27
- package/esm/components/UploadButton/UploadButton.d.ts +14 -11
- package/esm/components/UploadButton/UploadButton.js +111 -289
- package/esm/components/UploadButton/UploadButton.js.map +1 -1
- package/esm/components/UploadButton/UploadDocuments/UploadDocuments.d.ts +19 -0
- package/esm/components/UploadButton/UploadDocuments/UploadDocuments.js +208 -0
- package/esm/components/UploadButton/UploadDocuments/UploadDocuments.js.map +1 -0
- package/esm/components/UploadButton/UploadImages/UploadImages.d.ts +13 -0
- package/esm/components/UploadButton/UploadImages/UploadImages.js +204 -0
- package/esm/components/UploadButton/UploadImages/UploadImages.js.map +1 -0
- package/esm/components/icons/Bug.d.ts +5 -0
- package/esm/components/icons/Bug.js +4 -0
- package/esm/components/icons/Bug.js.map +1 -0
- package/esm/components/icons/Document.d.ts +5 -0
- package/esm/components/icons/Document.js +6 -0
- package/esm/components/icons/Document.js.map +1 -0
- package/esm/components/icons/Image.d.ts +4 -0
- package/esm/components/icons/Image.js +5 -0
- package/esm/components/icons/Image.js.map +1 -0
- package/esm/components/icons/Preview.d.ts +4 -5
- package/esm/components/icons/Preview.js +4 -3
- package/esm/components/icons/Preview.js.map +1 -1
- package/esm/components/icons/Upload.d.ts +4 -5
- package/esm/components/icons/Upload.js +4 -3
- package/esm/components/icons/Upload.js.map +1 -1
- package/esm/components/layouts/HiddenChat.js +101 -11
- package/esm/components/layouts/HiddenChat.js.map +1 -1
- package/esm/components/layouts/hidden-chat.css +189 -119
- package/esm/locales/de.json +16 -0
- package/esm/locales/en.json +24 -0
- package/esm/locales/es.json +16 -0
- package/esm/locales/fr.json +16 -0
- package/esm/locales/it.json +22 -0
- package/package.json +1 -1
- package/src/components/Chat/Chat.tsx +8 -8
- package/src/components/ChatBubble/ChatBubble.css +10 -0
- package/src/components/ChatBubble/ChatBubble.stories.tsx +25 -0
- package/src/components/ChatBubble/ChatBubble.tsx +41 -17
- package/src/components/ChatInputs/ChatInputs.tsx +92 -43
- package/src/components/FilePreview/FilePreview.css +169 -140
- package/src/components/FilePreview/FilePreview.tsx +106 -14
- package/src/components/FilePreview/__snapshots__/FilePreview.test.tsx.snap +146 -29
- package/src/components/MemoriWidget/MemoriWidget.tsx +7 -19
- package/src/components/UploadButton/UploadButton.css +506 -27
- package/src/components/UploadButton/UploadButton.stories.tsx +122 -20
- package/src/components/UploadButton/UploadButton.test.tsx +1 -1
- package/src/components/UploadButton/UploadButton.tsx +264 -454
- package/src/components/UploadButton/UploadDocuments/UploadDocuments.tsx +352 -0
- package/src/components/UploadButton/UploadImages/UploadImages.tsx +434 -0
- package/src/components/UploadButton/__snapshots__/UploadButton.test.tsx.snap +140 -13
- package/src/components/icons/Bug.tsx +81 -0
- package/src/components/icons/Document.tsx +50 -0
- package/src/components/icons/Image.tsx +37 -0
- package/src/components/icons/Preview.tsx +28 -22
- package/src/components/icons/Upload.tsx +33 -22
- package/src/components/layouts/HiddenChat.tsx +143 -7
- package/src/components/layouts/__snapshots__/HiddenChat.test.tsx.snap +1 -1
- package/src/components/layouts/hidden-chat.css +189 -119
- package/src/index.stories.tsx +19 -19
- package/src/locales/de.json +16 -0
- package/src/locales/en.json +24 -0
- package/src/locales/es.json +16 -0
- package/src/locales/fr.json +16 -0
- package/src/locales/it.json +22 -0
|
@@ -7,9 +7,18 @@ const Spin_1 = tslib_1.__importDefault(require("../ui/Spin"));
|
|
|
7
7
|
const react_i18next_1 = require("react-i18next");
|
|
8
8
|
const QuestionHelp_1 = tslib_1.__importDefault(require("../icons/QuestionHelp"));
|
|
9
9
|
const Close_1 = tslib_1.__importDefault(require("../icons/Close"));
|
|
10
|
+
const Fullscreen_1 = tslib_1.__importDefault(require("../icons/Fullscreen"));
|
|
11
|
+
const FullscreenExit_1 = tslib_1.__importDefault(require("../icons/FullscreenExit"));
|
|
10
12
|
const HiddenChatLayout = ({ Header, headerProps, Chat, chatProps, startPanelProps, sessionId, hasUserActivatedSpeak, }) => {
|
|
11
13
|
const { t } = (0, react_i18next_1.useTranslation)();
|
|
12
14
|
const [isOpen, setIsOpen] = (0, react_1.useState)(false);
|
|
15
|
+
const [fullScreen, setFullScreen] = (0, react_1.useState)(false);
|
|
16
|
+
const [fullScreenAvailable, setFullScreenAvailable] = (0, react_1.useState)(false);
|
|
17
|
+
const originalSidebarStyles = (0, react_1.useRef)({
|
|
18
|
+
right: '',
|
|
19
|
+
width: '',
|
|
20
|
+
backgroundColor: '',
|
|
21
|
+
});
|
|
13
22
|
const initChat = () => {
|
|
14
23
|
try {
|
|
15
24
|
window.speechSynthesis.speak(new SpeechSynthesisUtterance(''));
|
|
@@ -22,10 +31,24 @@ const HiddenChatLayout = ({ Header, headerProps, Chat, chatProps, startPanelProp
|
|
|
22
31
|
if (startPanelProps && (startPanelProps === null || startPanelProps === void 0 ? void 0 : startPanelProps.onClickStart))
|
|
23
32
|
startPanelProps === null || startPanelProps === void 0 ? void 0 : startPanelProps.onClickStart();
|
|
24
33
|
};
|
|
34
|
+
(0, react_1.useEffect)(() => {
|
|
35
|
+
if (document.fullscreenEnabled) {
|
|
36
|
+
setFullScreenAvailable(true);
|
|
37
|
+
}
|
|
38
|
+
const handleFullscreenChange = () => {
|
|
39
|
+
if (!document.fullscreenElement && fullScreen) {
|
|
40
|
+
restoreFromFullscreen();
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
document.addEventListener('fullscreenchange', handleFullscreenChange);
|
|
44
|
+
return () => {
|
|
45
|
+
document.removeEventListener('fullscreenchange', handleFullscreenChange);
|
|
46
|
+
};
|
|
47
|
+
}, [fullScreen]);
|
|
25
48
|
(0, react_1.useEffect)(() => {
|
|
26
49
|
const mainDiv = document.body;
|
|
27
|
-
if (
|
|
28
|
-
if (
|
|
50
|
+
if (isOpen) {
|
|
51
|
+
if (!fullScreen) {
|
|
29
52
|
mainDiv.style.width = 'calc(100% - 350px)';
|
|
30
53
|
mainDiv.style.marginRight = '300px';
|
|
31
54
|
mainDiv.style.transition = 'all 0.5s';
|
|
@@ -35,16 +58,83 @@ const HiddenChatLayout = ({ Header, headerProps, Chat, chatProps, startPanelProp
|
|
|
35
58
|
mainDiv.style.marginLeft = '0';
|
|
36
59
|
}
|
|
37
60
|
}
|
|
38
|
-
|
|
61
|
+
else {
|
|
62
|
+
mainDiv.style.width = '100%';
|
|
63
|
+
mainDiv.style.marginRight = '0';
|
|
64
|
+
mainDiv.style.marginLeft = '0';
|
|
65
|
+
}
|
|
66
|
+
}, [isOpen, fullScreen]);
|
|
39
67
|
const handleSidebarToggle = () => {
|
|
40
|
-
|
|
41
|
-
|
|
68
|
+
if (fullScreen && isOpen) {
|
|
69
|
+
if (document.fullscreenElement) {
|
|
70
|
+
document.exitFullscreen().catch(err => {
|
|
71
|
+
console.warn('Error attempting to exit fullscreen:', err);
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
restoreFromFullscreen();
|
|
75
|
+
}
|
|
76
|
+
setIsOpen(prev => {
|
|
77
|
+
if (!prev) {
|
|
78
|
+
initChat();
|
|
79
|
+
}
|
|
80
|
+
return !prev;
|
|
81
|
+
});
|
|
82
|
+
};
|
|
83
|
+
const restoreFromFullscreen = () => {
|
|
84
|
+
const sidebarElement = document.querySelector('.memori-sidebar');
|
|
85
|
+
if (sidebarElement) {
|
|
86
|
+
const closeButton = document.querySelector('.memori-close-label');
|
|
87
|
+
if (closeButton) {
|
|
88
|
+
closeButton.style.display = 'flex';
|
|
89
|
+
}
|
|
90
|
+
const sidebar = sidebarElement;
|
|
91
|
+
sidebar.style.right = originalSidebarStyles.current.right;
|
|
92
|
+
sidebar.style.width = originalSidebarStyles.current.width;
|
|
93
|
+
sidebar.style.backgroundColor =
|
|
94
|
+
originalSidebarStyles.current.backgroundColor;
|
|
95
|
+
sidebar.classList.remove('memori-sidebar-fullscreen');
|
|
96
|
+
}
|
|
97
|
+
setFullScreen(false);
|
|
98
|
+
};
|
|
99
|
+
const handleFullscreenToggle = () => {
|
|
100
|
+
if (!document.fullscreenElement) {
|
|
101
|
+
const sidebarElement = document.querySelector('.memori-sidebar');
|
|
102
|
+
if (sidebarElement) {
|
|
103
|
+
const sidebar = sidebarElement;
|
|
104
|
+
const closeButton = document.querySelector('.memori-close-label');
|
|
105
|
+
if (closeButton) {
|
|
106
|
+
closeButton.style.display = 'none';
|
|
107
|
+
}
|
|
108
|
+
originalSidebarStyles.current = {
|
|
109
|
+
right: sidebar.style.right,
|
|
110
|
+
width: sidebar.style.width,
|
|
111
|
+
backgroundColor: sidebar.style.backgroundColor,
|
|
112
|
+
};
|
|
113
|
+
sidebar.style.right = '0';
|
|
114
|
+
sidebar.style.width = '100%';
|
|
115
|
+
sidebar.style.backgroundColor = '#FFFFFF';
|
|
116
|
+
sidebar.requestFullscreen().catch(err => {
|
|
117
|
+
console.warn('Error attempting to enable fullscreen:', err);
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
setFullScreen(true);
|
|
121
|
+
}
|
|
122
|
+
else {
|
|
123
|
+
if (document.exitFullscreen) {
|
|
124
|
+
document.exitFullscreen().catch(err => {
|
|
125
|
+
console.warn('Error attempting to exit fullscreen:', err);
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
restoreFromFullscreen();
|
|
129
|
+
}
|
|
42
130
|
};
|
|
43
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("input", { type: "checkbox", id: "memori-sidebar-toggle", className: "memori-sidebar-toggle", checked: isOpen, onChange: handleSidebarToggle }), (0, jsx_runtime_1.jsxs)("div", { className: "memori-sidebar-container", children: [(0, jsx_runtime_1.jsx)("label", { htmlFor: "memori-sidebar-toggle", className: "memori-sidebar-toggle-label memori-open-label", children: (0, jsx_runtime_1.jsx)(QuestionHelp_1.default, { className: "memori-icon", "aria-label": t('expand') }) }), (0, jsx_runtime_1.jsxs)("aside", { className:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
131
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("input", { type: "checkbox", id: "memori-sidebar-toggle", className: "memori-sidebar-toggle", checked: isOpen, onChange: handleSidebarToggle }), (0, jsx_runtime_1.jsxs)("div", { className: "memori-sidebar-container", children: [(0, jsx_runtime_1.jsx)("label", { htmlFor: "memori-sidebar-toggle", className: "memori-sidebar-toggle-label memori-open-label", children: (0, jsx_runtime_1.jsx)(QuestionHelp_1.default, { className: "memori-icon", "aria-label": t('expand') }) }), (0, jsx_runtime_1.jsxs)("aside", { className: `memori-sidebar ${fullScreen ? 'memori-sidebar-fullscreen' : ''}`, children: [(0, jsx_runtime_1.jsx)("label", { htmlFor: "memori-sidebar-toggle", className: "memori-sidebar-toggle-label memori-close-label", children: (0, jsx_runtime_1.jsx)("span", { children: (0, jsx_runtime_1.jsx)(Close_1.default, { className: "memori-icon-close", "aria-label": t('collapse') }) }) }), (0, jsx_runtime_1.jsx)("div", { className: "memori-sidebar-content", children: (0, jsx_runtime_1.jsxs)("div", { className: "memori-hidden-chat-layout--header", children: [Header && headerProps && ((0, jsx_runtime_1.jsx)(Header, { position: {
|
|
132
|
+
latitude: 0,
|
|
133
|
+
longitude: 0,
|
|
134
|
+
placeName: '',
|
|
135
|
+
}, ...headerProps, className: "memori-hidden-chat-layout-header--layout" })), fullScreenAvailable && ((0, jsx_runtime_1.jsx)("button", { className: "memori-fullscreen-button memori-button--primary memori-button--icon", onClick: handleFullscreenToggle, title: fullScreen
|
|
136
|
+
? t('fullscreenExit') || 'Exit fullscreen'
|
|
137
|
+
: t('fullscreenEnter') || 'Enter fullscreen', children: fullScreen ? ((0, jsx_runtime_1.jsx)(FullscreenExit_1.default, { className: "memori-icon" })) : ((0, jsx_runtime_1.jsx)(Fullscreen_1.default, { className: "memori-icon" })) }))] }) }), (0, jsx_runtime_1.jsx)("div", { id: "extension" }), (0, jsx_runtime_1.jsx)("div", { className: "memori-hidden-chat-layout--controls", children: sessionId && hasUserActivatedSpeak && Chat && chatProps ? ((0, jsx_runtime_1.jsx)(Chat, { ...chatProps })) : ((0, jsx_runtime_1.jsx)("div", { className: "memori-loading", children: (0, jsx_runtime_1.jsx)(Spin_1.default, {}) })) })] })] })] }));
|
|
48
138
|
};
|
|
49
139
|
exports.default = HiddenChatLayout;
|
|
50
140
|
//# sourceMappingURL=HiddenChat.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HiddenChat.js","sourceRoot":"","sources":["../../../src/components/layouts/HiddenChat.tsx"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"HiddenChat.js","sourceRoot":"","sources":["../../../src/components/layouts/HiddenChat.tsx"],"names":[],"mappings":";;;;AAAA,iCAA2D;AAC3D,8DAA8B;AAE9B,iDAA+C;AAC/C,iFAAiD;AACjD,mEAAmC;AACnC,6EAA6C;AAC7C,qFAAqD;AAErD,MAAM,gBAAgB,GAA0B,CAAC,EAC/C,MAAM,EACN,WAAW,EACX,IAAI,EACJ,SAAS,EACT,eAAe,EACf,SAAS,EACT,qBAAqB,GACtB,EAAE,EAAE;IACH,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,8BAAc,GAAE,CAAC;IAC/B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAC5C,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IACpD,MAAM,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAGtE,MAAM,qBAAqB,GAAG,IAAA,cAAM,EAAC;QACnC,KAAK,EAAE,EAAE;QACT,KAAK,EAAE,EAAE;QACT,eAAe,EAAE,EAAE;KACpB,CAAC,CAAC;IAEH,MAAM,QAAQ,GAAG,GAAG,EAAE;QACpB,IAAI;YACF,MAAM,CAAC,eAAe,CAAC,KAAK,CAAC,IAAI,wBAAwB,CAAC,EAAE,CAAC,CAAC,CAAC;SAChE;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SAClB;QAC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,YAG/C,UAAU,CAAC,CAAC,CAAC,CACZ,uBAAC,wBAAc,IAAC,SAAS,EAAC,aAAa,GAAG,CAC3C,CAAC,CAAC,CAAC,CACF,uBAAC,oBAAU,IAAC,SAAS,EAAC,aAAa,GAAG,CACvC,GACM,CACV,IACG,GACF,EACN,gCAAK,EAAE,EAAC,WAAW,GAAG,EACtB,gCAAK,SAAS,EAAC,qCAAqC,YACjD,SAAS,IAAI,qBAAqB,IAAI,IAAI,IAAI,SAAS,CAAC,CAAC,CAAC,CACzD,uBAAC,IAAI,OAAK,SAAS,GAAI,CACxB,CAAC,CAAC,CAAC,CACF,gCAAK,SAAS,EAAC,gBAAgB,YAC7B,uBAAC,cAAI,KAAG,GACJ,CACP,GACG,IACA,IACJ,IACL,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,gBAAgB,CAAC"}
|
|
@@ -1,184 +1,254 @@
|
|
|
1
1
|
.memori-sidebar-container {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
position: fixed;
|
|
3
|
+
z-index: 1000;
|
|
4
|
+
top: 0;
|
|
5
|
+
right: 0;
|
|
6
|
+
height: 100%;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.memori-sidebar-toggle {
|
|
10
|
-
|
|
10
|
+
display: none;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.memori-sidebar-toggle-label {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
14
|
+
position: absolute;
|
|
15
|
+
top: 50%;
|
|
16
|
+
right: 0;
|
|
17
|
+
display: flex;
|
|
18
|
+
width: auto;
|
|
19
|
+
height: 80px;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
padding: 10px 5px;
|
|
23
|
+
background-color: var(--memori-primary);
|
|
24
|
+
color: white;
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
font-size: 18px;
|
|
27
|
+
font-weight: bold;
|
|
28
|
+
text-orientation: mixed;
|
|
29
|
+
transform: translateY(-50%);
|
|
30
|
+
transition: all 0.3s ease-in-out;
|
|
31
|
+
writing-mode: vertical-rl;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.memori-open-label {
|
|
35
|
-
|
|
35
|
+
border-radius: 5px 0 0 5px;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
.memori-close-label {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
right: 350px;
|
|
40
|
+
border-radius: 0 5px 5px 0;
|
|
41
|
+
opacity: 0;
|
|
42
|
+
pointer-events: none;
|
|
43
|
+
transform: rotate(180deg);
|
|
44
|
+
transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, right 0.3s ease-in-out;
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
.memori-sidebar {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
48
|
+
position: fixed;
|
|
49
|
+
z-index: 1000;
|
|
50
|
+
top: 0;
|
|
51
|
+
right: -350px;
|
|
52
|
+
width: 350px;
|
|
53
|
+
height: 100%;
|
|
54
|
+
background-color: white;
|
|
55
|
+
box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
|
|
56
|
+
transition: all 0.3s ease-in-out;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* Fullscreen styles */
|
|
60
|
+
.memori-sidebar-fullscreen {
|
|
61
|
+
right: 0 !important;
|
|
62
|
+
width: 100% !important;
|
|
63
|
+
max-width: 100% !important;
|
|
64
|
+
height: 100% !important;
|
|
65
|
+
box-shadow: none;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.memori-sidebar-fullscreen .memori-close-label {
|
|
69
|
+
z-index: 1100;
|
|
70
|
+
top: 10px;
|
|
71
|
+
right: 10px;
|
|
72
|
+
width: 38px;
|
|
73
|
+
height: 38px;
|
|
74
|
+
border-radius: 50%;
|
|
75
|
+
background-color: var(--memori-primary);
|
|
76
|
+
opacity: 1;
|
|
77
|
+
pointer-events: auto;
|
|
78
|
+
transform: none;
|
|
79
|
+
transition: opacity 0.3s ease-in-out;
|
|
80
|
+
writing-mode: horizontal-tb;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.memori-hidden-chat-layout--controls {
|
|
84
|
+
display: flex;
|
|
85
|
+
height: 90%;
|
|
86
|
+
padding: 10px;
|
|
87
|
+
margin-top: 50px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.memori-sidebar-fullscreen .memori-hidden-chat-layout--controls {
|
|
91
|
+
height: calc(100% - 80px);
|
|
92
|
+
max-height: none;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.memori-fullscreen-button {
|
|
96
|
+
display: flex;
|
|
97
|
+
width: 38px;
|
|
98
|
+
height: 38px;
|
|
99
|
+
align-items: center;
|
|
100
|
+
justify-content: center;
|
|
101
|
+
border: none;
|
|
102
|
+
border-radius: 50%;
|
|
103
|
+
margin-left: 10px;
|
|
104
|
+
aspect-ratio: 1;
|
|
105
|
+
background-color: var(--memori-primary);
|
|
106
|
+
color: white;
|
|
107
|
+
cursor: pointer;
|
|
108
|
+
transition: background-color 0.3s ease-in-out;
|
|
56
109
|
}
|
|
57
110
|
|
|
58
111
|
.memori-sidebar-content h2 {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
112
|
+
margin-bottom: 20px;
|
|
113
|
+
color: var(--memori-primary);
|
|
114
|
+
font-size: 24px;
|
|
115
|
+
font-weight: bold;
|
|
63
116
|
}
|
|
64
117
|
|
|
65
118
|
.memori-sidebar-content ul {
|
|
66
|
-
|
|
67
|
-
|
|
119
|
+
padding: 0;
|
|
120
|
+
list-style-type: none;
|
|
68
121
|
}
|
|
69
122
|
|
|
70
123
|
.memori-sidebar-content li {
|
|
71
|
-
|
|
124
|
+
margin-bottom: 10px;
|
|
72
125
|
}
|
|
73
126
|
|
|
74
127
|
.memori-sidebar-content a {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
128
|
+
display: flex;
|
|
129
|
+
align-items: center;
|
|
130
|
+
color: #4b5563;
|
|
131
|
+
text-decoration: none;
|
|
132
|
+
transition: color 0.2s ease-in-out;
|
|
80
133
|
}
|
|
81
134
|
|
|
82
135
|
.memori-sidebar-content a:hover {
|
|
83
|
-
|
|
136
|
+
color: var(--memori-primary);
|
|
84
137
|
}
|
|
85
138
|
|
|
86
139
|
.memori-sidebar-content svg {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
140
|
+
width: 20px;
|
|
141
|
+
height: 20px;
|
|
142
|
+
margin-right: 10px;
|
|
90
143
|
}
|
|
91
144
|
|
|
92
145
|
.memori-sidebar-toggle:checked ~ .memori-sidebar-container .memori-sidebar {
|
|
93
|
-
|
|
146
|
+
right: 0;
|
|
94
147
|
}
|
|
95
148
|
|
|
96
149
|
.memori-sidebar-toggle:checked ~ .memori-sidebar-container .memori-open-label {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
150
|
+
opacity: 0;
|
|
151
|
+
pointer-events: none;
|
|
152
|
+
transform: translateY(-50%) translateX(350px);
|
|
100
153
|
}
|
|
101
154
|
|
|
102
155
|
.memori-loading {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
156
|
+
display: flex;
|
|
157
|
+
height: 100%;
|
|
158
|
+
align-items: center;
|
|
159
|
+
justify-content: center;
|
|
107
160
|
}
|
|
108
161
|
|
|
109
|
-
|
|
110
162
|
.memori-sidebar-content {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
163
|
+
position: absolute;
|
|
164
|
+
top: -10px;
|
|
165
|
+
width: 100%;
|
|
166
|
+
padding: 20px;
|
|
115
167
|
}
|
|
116
168
|
|
|
117
169
|
.memori-sidebar-toggle:checked ~ .memori-sidebar-container .memori-close-label {
|
|
118
|
-
|
|
119
|
-
|
|
170
|
+
opacity: 1;
|
|
171
|
+
pointer-events: auto;
|
|
120
172
|
}
|
|
121
173
|
|
|
122
|
-
.memori-hidden-chat-layout--
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
174
|
+
.memori-hidden-chat-layout--header {
|
|
175
|
+
display: flex;
|
|
176
|
+
width: 100%;
|
|
177
|
+
align-items: center;
|
|
178
|
+
justify-content: flex-end;
|
|
179
|
+
padding: 10px;
|
|
180
|
+
margin: 0;
|
|
181
|
+
background-color: white;
|
|
182
|
+
color: white;
|
|
127
183
|
}
|
|
128
184
|
|
|
129
185
|
.memori-hidden-chat-layout-header--layout {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.memori-hidden-chat-layout-header--layout > button,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
186
|
+
display: flex;
|
|
187
|
+
width: 100%;
|
|
188
|
+
align-items: center;
|
|
189
|
+
justify-content: flex-end;
|
|
190
|
+
padding: 10px;
|
|
191
|
+
margin: 0;
|
|
192
|
+
background-color: white;
|
|
193
|
+
color: white;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.memori-hidden-chat-layout-header--layout > button,
|
|
197
|
+
.memori-hidden-chat-layout-header--layout > div > button {
|
|
198
|
+
display: flex;
|
|
199
|
+
width: 38px;
|
|
200
|
+
height: 38px;
|
|
201
|
+
align-items: center;
|
|
202
|
+
justify-content: center;
|
|
203
|
+
border-radius: 50%;
|
|
204
|
+
aspect-ratio: 1;
|
|
205
|
+
background-color: var(--memori-primary);
|
|
206
|
+
cursor: pointer;
|
|
207
|
+
transition: background-color 0.3s ease-in-out;
|
|
151
208
|
}
|
|
152
209
|
|
|
153
210
|
.memori-button--icon > svg {
|
|
154
|
-
|
|
211
|
+
margin: 0;
|
|
155
212
|
}
|
|
156
213
|
|
|
157
|
-
.memori-icon
|
|
158
|
-
|
|
159
|
-
|
|
214
|
+
.memori-icon, .memori-icon-close {
|
|
215
|
+
width: 25px;
|
|
216
|
+
height: 25px;
|
|
160
217
|
}
|
|
161
218
|
|
|
162
|
-
.memori-icon-close{
|
|
219
|
+
.memori-icon-close {
|
|
163
220
|
fill: white;
|
|
164
221
|
}
|
|
165
222
|
|
|
166
|
-
|
|
167
223
|
@media (max-width: 768px) {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
224
|
+
.memori-sidebar-container {
|
|
225
|
+
display: none;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.memori-sidebar {
|
|
229
|
+
right: -100%;
|
|
230
|
+
width: 100%;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.memori-sidebar-toggle:checked ~ .memori-sidebar-container .memori-open-label {
|
|
234
|
+
transform: translateY(-50%) translateX(100%);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.memori-close-label {
|
|
238
|
+
right: 100%;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/* Mobile fullscreen styles */
|
|
242
|
+
.memori-sidebar-fullscreen {
|
|
243
|
+
display: block;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.memori-sidebar-container .memori-sidebar-fullscreen {
|
|
247
|
+
position: fixed;
|
|
248
|
+
top: 0;
|
|
249
|
+
left: 0;
|
|
250
|
+
display: block;
|
|
251
|
+
width: 100% !important;
|
|
252
|
+
height: 100% !important;
|
|
253
|
+
}
|
|
254
|
+
}
|
package/dist/locales/de.json
CHANGED
|
@@ -156,6 +156,22 @@
|
|
|
156
156
|
"attachmentsLabel": "Bereichern Sie Ihre Botschaft",
|
|
157
157
|
"iWantToTalkToIn": "Ich möchte mit reden {{name}} In"
|
|
158
158
|
},
|
|
159
|
+
"upload": {
|
|
160
|
+
"loginRequired": "Login erforderlich",
|
|
161
|
+
"loginRequiredDescription": "Bitte melden Sie sich an, um Bilder hochzuladen",
|
|
162
|
+
"uploadFiles": "Dateien hochladen",
|
|
163
|
+
"uploadImage": "Bild hochladen",
|
|
164
|
+
"uploadDocument": "Dokument hochladen",
|
|
165
|
+
"replace": "Ersetzen",
|
|
166
|
+
"remaining": "verbleibend",
|
|
167
|
+
"maxReached": "Maximal erreicht",
|
|
168
|
+
"apiClientNotConfigured": "Client API nicht korrekt konfiguriert für das Hochladen von Medien",
|
|
169
|
+
"fileReadingFailed": "Datei lesen fehlgeschlagen",
|
|
170
|
+
"uploadFailed": "Hochladen fehlgeschlagen",
|
|
171
|
+
"uploadSuccess": "Hochladen erfolgreich",
|
|
172
|
+
"uploadSuccessDescription": "Die Datei wurde erfolgreich hochgeladen",
|
|
173
|
+
"maxImagesReached": "Sie können bis zu {{max}} Bilder hochladen"
|
|
174
|
+
},
|
|
159
175
|
"media": {
|
|
160
176
|
"title": "Titel",
|
|
161
177
|
"editAttributes": "Medienattribute bearbeiten",
|
package/dist/locales/en.json
CHANGED
|
@@ -168,6 +168,30 @@
|
|
|
168
168
|
"attachmentsLabel": "Enrich your message",
|
|
169
169
|
"iWantToTalkToIn": "I want to talk to {{name}} in"
|
|
170
170
|
},
|
|
171
|
+
"upload": {
|
|
172
|
+
"loginRequired": "Login required",
|
|
173
|
+
"loginRequiredDescription": "Please login to upload images",
|
|
174
|
+
"uploadFiles": "Upload files",
|
|
175
|
+
"uploadImage": "Upload image",
|
|
176
|
+
"uploadDocument": "Upload document",
|
|
177
|
+
"replace": "Replace",
|
|
178
|
+
"maxImagesReached": "You can upload up to {{max}} images",
|
|
179
|
+
"remaining": "remaining",
|
|
180
|
+
"maxReached": "Max limit reached",
|
|
181
|
+
"imageTitle": "Image title: {{title}}",
|
|
182
|
+
"titleHelp": "Adding a descriptive title helps the AI provide more context and appropriate responses.",
|
|
183
|
+
"titlePlaceholder": "Enter image title",
|
|
184
|
+
"apiClientNotConfigured": "API client not configured properly for media upload",
|
|
185
|
+
"fileReadingFailed": "File reading failed",
|
|
186
|
+
"uploadFailed": "Upload failed",
|
|
187
|
+
"uploadSuccess": "Upload success",
|
|
188
|
+
"titleImage": "Image: {{title}}",
|
|
189
|
+
"uploadSuccessDescription": "The file has been uploaded successfully",
|
|
190
|
+
"titleImageUpload": "Upload images",
|
|
191
|
+
"partialUpload": "Only {{uploaded}} images on {{total}} will be uploaded. Maximum {{max}} images allowed.",
|
|
192
|
+
"maxImages": "Maximum {{max}} images allowed.",
|
|
193
|
+
"upload": "Upload"
|
|
194
|
+
},
|
|
171
195
|
"media": {
|
|
172
196
|
"title": "Title",
|
|
173
197
|
"editAttributes": "Edit media attributes",
|
package/dist/locales/es.json
CHANGED
|
@@ -156,6 +156,22 @@
|
|
|
156
156
|
"attachmentsLabel": "Enriquece tu mensaje",
|
|
157
157
|
"iWantToTalkToIn": "quiero hablar con {{name}} en"
|
|
158
158
|
},
|
|
159
|
+
"upload": {
|
|
160
|
+
"loginRequired": "Connexion requise",
|
|
161
|
+
"loginRequiredDescription": "Veuillez vous connecter pour télécharger des images",
|
|
162
|
+
"uploadFiles": "Télécharger des fichiers",
|
|
163
|
+
"uploadImage": "Télécharger une image",
|
|
164
|
+
"uploadDocument": "Télécharger un document",
|
|
165
|
+
"apiClientNotConfigured": "API client non configuré correctement pour le téléchargement de médias",
|
|
166
|
+
"fileReadingFailed": "Échec de la lecture du fichier",
|
|
167
|
+
"uploadFailed": "Échec du téléchargement",
|
|
168
|
+
"uploadSuccess": "Téléchargement réussi",
|
|
169
|
+
"uploadSuccessDescription": "Le fichier a été téléchargé avec succès",
|
|
170
|
+
"replace": "Remplacer",
|
|
171
|
+
"maxImagesReached": "Vous pouvez télécharger jusqu'à {{max}} images",
|
|
172
|
+
"remaining": "restant",
|
|
173
|
+
"maxReached": "Limite atteinte"
|
|
174
|
+
},
|
|
159
175
|
"media": {
|
|
160
176
|
"title": "Título",
|
|
161
177
|
"editAttributes": "Editar atributos de medios",
|
package/dist/locales/fr.json
CHANGED
|
@@ -148,6 +148,22 @@
|
|
|
148
148
|
"attachmentsLabel": "Enrichissez votre message",
|
|
149
149
|
"iWantToTalkToIn": "je veux parler à {{name}} dans"
|
|
150
150
|
},
|
|
151
|
+
"upload": {
|
|
152
|
+
"loginRequired": "Connexion requise",
|
|
153
|
+
"loginRequiredDescription": "Veuillez vous connecter pour télécharger des images",
|
|
154
|
+
"uploadFiles": "Télécharger des fichiers",
|
|
155
|
+
"uploadImage": "Télécharger une image",
|
|
156
|
+
"uploadDocument": "Télécharger un document",
|
|
157
|
+
"replace": "Remplacer",
|
|
158
|
+
"remaining": "restant",
|
|
159
|
+
"maxReached": "Limite atteinte",
|
|
160
|
+
"maxImagesReached": "Vous pouvez télécharger jusqu'à {{max}} images",
|
|
161
|
+
"apiClientNotConfigured": "API client non configuré correctement pour le téléchargement de médias",
|
|
162
|
+
"fileReadingFailed": "Échec de la lecture du fichier",
|
|
163
|
+
"uploadFailed": "Échec du téléchargement",
|
|
164
|
+
"uploadSuccess": "Téléchargement réussi",
|
|
165
|
+
"uploadSuccessDescription": "Le fichier a été téléchargé avec succès"
|
|
166
|
+
},
|
|
151
167
|
"media": {
|
|
152
168
|
"title": "Titre",
|
|
153
169
|
"editAttributes": "Modifier les attributs du média",
|