@memori.ai/memori-react 8.10.1 → 8.12.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 +66 -0
- package/dist/components/AgeVerificationModal/AgeVerificationModal.css +41 -14
- package/dist/components/AgeVerificationModal/AgeVerificationModal.js +2 -2
- package/dist/components/AgeVerificationModal/AgeVerificationModal.js.map +1 -1
- package/dist/components/Auth/Auth.js +36 -8
- package/dist/components/Auth/Auth.js.map +1 -1
- package/dist/components/Avatar/AvatarView/AvatarComponent/positionControls/positionControls.css +2 -2
- package/dist/components/Chat/Chat.js +2 -2
- package/dist/components/Chat/Chat.js.map +1 -1
- package/dist/components/ChatBubble/ChatBubble.css +81 -13
- package/dist/components/ChatBubble/ChatBubble.js +86 -19
- package/dist/components/ChatBubble/ChatBubble.js.map +1 -1
- package/dist/components/ChatHistoryDrawer/ChatHistory.css +5 -1
- package/dist/components/ChatInputs/ChatInputs.d.ts +1 -0
- package/dist/components/ChatInputs/ChatInputs.js +8 -3
- package/dist/components/ChatInputs/ChatInputs.js.map +1 -1
- package/dist/components/DateSelector/DateSelector.css +125 -104
- package/dist/components/DateSelector/DateSelector.d.ts +1 -1
- package/dist/components/DateSelector/DateSelector.js +110 -52
- package/dist/components/DateSelector/DateSelector.js.map +1 -1
- package/dist/components/Header/Header.js +1 -1
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/LoginDrawer/LoginDrawer.css +37 -5
- package/dist/components/LoginDrawer/LoginDrawer.d.ts +1 -2
- package/dist/components/LoginDrawer/LoginDrawer.js +2 -9
- package/dist/components/LoginDrawer/LoginDrawer.js.map +1 -1
- package/dist/components/MediaWidget/MediaItemWidget.js +40 -5
- package/dist/components/MediaWidget/MediaItemWidget.js.map +1 -1
- package/dist/components/MediaWidget/MediaWidget.css +4 -0
- package/dist/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.js +1 -1
- package/dist/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.js.map +1 -1
- package/dist/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.js +1 -1
- package/dist/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.js.map +1 -1
- package/dist/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.js +3 -0
- package/dist/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.js.map +1 -1
- package/dist/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js +2 -2
- package/dist/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js.map +1 -1
- package/dist/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.css +16 -7
- package/dist/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.js +6 -4
- package/dist/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.js.map +1 -1
- package/dist/components/MemoriWidget/MemoriWidget.js +69 -25
- package/dist/components/MemoriWidget/MemoriWidget.js.map +1 -1
- package/dist/components/UploadButton/UploadButton.js +2 -0
- package/dist/components/UploadButton/UploadButton.js.map +1 -1
- package/dist/components/UploadButton/UploadImages/UploadImages.js +2 -2
- package/dist/components/UploadButton/UploadImages/UploadImages.js.map +1 -1
- package/dist/components/ui/Drawer.css +8 -0
- package/dist/components/ui/Drawer.d.ts +2 -0
- package/dist/components/ui/Drawer.js +2 -2
- package/dist/components/ui/Drawer.js.map +1 -1
- package/dist/components/ui/Tooltip.css +49 -1
- package/dist/components/ui/Tooltip.d.ts +1 -1
- package/dist/locales/de.json +6 -1
- package/dist/locales/en.json +9 -1
- package/dist/locales/es.json +6 -1
- package/dist/locales/fr.json +5 -1
- package/dist/locales/it.json +8 -1
- package/dist/styles.css +3 -2
- package/esm/components/AgeVerificationModal/AgeVerificationModal.css +41 -14
- package/esm/components/AgeVerificationModal/AgeVerificationModal.js +2 -2
- package/esm/components/AgeVerificationModal/AgeVerificationModal.js.map +1 -1
- package/esm/components/Auth/Auth.js +36 -8
- package/esm/components/Auth/Auth.js.map +1 -1
- package/esm/components/Avatar/AvatarView/AvatarComponent/positionControls/positionControls.css +2 -2
- package/esm/components/Chat/Chat.js +2 -2
- package/esm/components/Chat/Chat.js.map +1 -1
- package/esm/components/ChatBubble/ChatBubble.css +81 -13
- package/esm/components/ChatBubble/ChatBubble.js +87 -20
- package/esm/components/ChatBubble/ChatBubble.js.map +1 -1
- package/esm/components/ChatHistoryDrawer/ChatHistory.css +5 -1
- package/esm/components/ChatInputs/ChatInputs.d.ts +1 -0
- package/esm/components/ChatInputs/ChatInputs.js +8 -3
- package/esm/components/ChatInputs/ChatInputs.js.map +1 -1
- package/esm/components/DateSelector/DateSelector.css +125 -104
- package/esm/components/DateSelector/DateSelector.d.ts +1 -1
- package/esm/components/DateSelector/DateSelector.js +111 -52
- package/esm/components/DateSelector/DateSelector.js.map +1 -1
- package/esm/components/Header/Header.js +1 -1
- package/esm/components/Header/Header.js.map +1 -1
- package/esm/components/LoginDrawer/LoginDrawer.css +37 -5
- package/esm/components/LoginDrawer/LoginDrawer.d.ts +1 -2
- package/esm/components/LoginDrawer/LoginDrawer.js +2 -9
- package/esm/components/LoginDrawer/LoginDrawer.js.map +1 -1
- package/esm/components/MediaWidget/MediaItemWidget.js +40 -5
- package/esm/components/MediaWidget/MediaItemWidget.js.map +1 -1
- package/esm/components/MediaWidget/MediaWidget.css +4 -0
- package/esm/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.js +1 -1
- package/esm/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.js.map +1 -1
- package/esm/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.js +1 -1
- package/esm/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.js.map +1 -1
- package/esm/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.js +3 -0
- package/esm/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.js.map +1 -1
- package/esm/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js +2 -2
- package/esm/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.js.map +1 -1
- package/esm/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.css +16 -7
- package/esm/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.js +6 -4
- package/esm/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.js.map +1 -1
- package/esm/components/MemoriWidget/MemoriWidget.js +69 -25
- package/esm/components/MemoriWidget/MemoriWidget.js.map +1 -1
- package/esm/components/UploadButton/UploadButton.js +2 -0
- package/esm/components/UploadButton/UploadButton.js.map +1 -1
- package/esm/components/UploadButton/UploadImages/UploadImages.js +2 -2
- package/esm/components/UploadButton/UploadImages/UploadImages.js.map +1 -1
- package/esm/components/ui/Drawer.css +8 -0
- package/esm/components/ui/Drawer.d.ts +2 -0
- package/esm/components/ui/Drawer.js +2 -2
- package/esm/components/ui/Drawer.js.map +1 -1
- package/esm/components/ui/Tooltip.css +49 -1
- package/esm/components/ui/Tooltip.d.ts +1 -1
- package/esm/locales/de.json +6 -1
- package/esm/locales/en.json +9 -1
- package/esm/locales/es.json +6 -1
- package/esm/locales/fr.json +5 -1
- package/esm/locales/it.json +8 -1
- package/esm/styles.css +3 -2
- package/package.json +2 -2
- package/src/components/AgeVerificationModal/AgeVerificationModal.css +41 -14
- package/src/components/AgeVerificationModal/AgeVerificationModal.tsx +3 -1
- package/src/components/Auth/Auth.tsx +55 -11
- package/src/components/Avatar/Avatar.stories.tsx +3 -0
- package/src/components/Avatar/AvatarView/AvatarComponent/positionControls/positionControls.css +2 -2
- package/src/components/Chat/Chat.stories.tsx +16 -2
- package/src/components/Chat/Chat.tsx +2 -1
- package/src/components/Chat/__snapshots__/Chat.test.tsx.snap +1036 -36
- package/src/components/ChatBubble/ChatBubble.css +81 -13
- package/src/components/ChatBubble/ChatBubble.stories.tsx +16 -2
- package/src/components/ChatBubble/ChatBubble.test.tsx +17 -0
- package/src/components/ChatBubble/ChatBubble.tsx +144 -31
- package/src/components/ChatBubble/__snapshots__/ChatBubble.test.tsx.snap +304 -8
- package/src/components/ChatHistoryDrawer/ChatHistory.css +5 -1
- package/src/components/ChatInputs/ChatInputs.tsx +14 -1
- package/src/components/DateSelector/DateSelector.css +125 -104
- package/src/components/DateSelector/DateSelector.stories.tsx +1 -1
- package/src/components/DateSelector/DateSelector.test.tsx +137 -23
- package/src/components/DateSelector/DateSelector.tsx +203 -177
- package/src/components/Header/Header.stories.tsx +5 -1
- package/src/components/Header/Header.tsx +1 -1
- package/src/components/Header/__snapshots__/Header.test.tsx.snap +1 -1
- package/src/components/LoginDrawer/LoginDrawer.css +37 -5
- package/src/components/LoginDrawer/LoginDrawer.stories.tsx +0 -1
- package/src/components/LoginDrawer/LoginDrawer.test.tsx +0 -1
- package/src/components/LoginDrawer/LoginDrawer.tsx +0 -19
- package/src/components/MediaWidget/MediaItemWidget.stories.tsx +69 -0
- package/src/components/MediaWidget/MediaItemWidget.tsx +66 -18
- package/src/components/MediaWidget/MediaWidget.css +4 -0
- package/src/components/MediaWidget/__snapshots__/MediaItemWidget.test.tsx.snap +10 -10
- package/src/components/MediaWidget/__snapshots__/MediaWidget.test.tsx.snap +2 -2
- package/src/components/MemoriArtifactSystem/ArtifactDrawer.stories.tsx +996 -204
- package/src/components/MemoriArtifactSystem/components/ArtifactActions/ArtifactActions.tsx +2 -2
- package/src/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyButtonWithDropdown.tsx +1 -1
- package/src/components/MemoriArtifactSystem/components/ArtifactActions/components/CopyMenuItem.tsx +3 -0
- package/src/components/MemoriArtifactSystem/components/ArtifactDrawer/ArtifactDrawer.tsx +56 -54
- package/src/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.css +16 -7
- package/src/components/MemoriArtifactSystem/components/ArtifactPreview/ArtifactPreview.tsx +12 -3
- package/src/components/MemoriWidget/MemoriWidget.stories.tsx +6 -3
- package/src/components/MemoriWidget/MemoriWidget.tsx +123 -48
- package/src/components/UploadButton/UploadButton.tsx +2 -0
- package/src/components/UploadButton/UploadImages/UploadImages.tsx +3 -2
- package/src/components/layouts/FullBody/FullBody.stories.tsx +110 -0
- package/src/components/layouts/Totem/Totem.stories.tsx +131 -0
- package/src/components/layouts/ZoomedFullBody/ZoomedFullBody.stories.tsx +131 -0
- package/src/components/layouts/layouts.stories.tsx +55 -508
- package/src/components/ui/Drawer.css +8 -0
- package/src/components/ui/Drawer.tsx +16 -12
- package/src/components/ui/Tooltip.css +49 -1
- package/src/components/ui/Tooltip.tsx +1 -1
- package/src/index.stories.tsx +13 -320
- package/src/locales/de.json +6 -1
- package/src/locales/en.json +9 -1
- package/src/locales/es.json +6 -1
- package/src/locales/fr.json +5 -1
- package/src/locales/it.json +8 -1
- package/src/mocks/data.ts +4 -2
- package/src/styles.css +3 -2
- package/src/components/SignupForm/SignupForm.test.tsx +0 -40
- package/src/components/SignupForm/SignupForm.tsx +0 -457
- package/src/components/SignupForm/__snapshots__/SignupForm.test.tsx.snap +0 -247
|
@@ -40,13 +40,15 @@ export interface Props {
|
|
|
40
40
|
confirmDialogMessage?: string;
|
|
41
41
|
showBackdrop?: boolean;
|
|
42
42
|
preventBackdropClose?: boolean;
|
|
43
|
+
enterDuration?: string;
|
|
44
|
+
leaveDuration?: string;
|
|
43
45
|
}
|
|
44
46
|
|
|
45
47
|
const Drawer: FC<Props> = ({
|
|
46
48
|
title,
|
|
47
49
|
open = false,
|
|
48
50
|
data,
|
|
49
|
-
onClose = () => {},
|
|
51
|
+
onClose = () => { },
|
|
50
52
|
children,
|
|
51
53
|
width = '80%',
|
|
52
54
|
footer,
|
|
@@ -63,6 +65,8 @@ const Drawer: FC<Props> = ({
|
|
|
63
65
|
confirmDialogTitle,
|
|
64
66
|
confirmDialogMessage,
|
|
65
67
|
preventBackdropClose = false,
|
|
68
|
+
enterDuration = 'duration-300',
|
|
69
|
+
leaveDuration = 'duration-200',
|
|
66
70
|
}: Props) => {
|
|
67
71
|
const [originalData, setOriginalData] = useState<any>(null);
|
|
68
72
|
const [confirmDialogOpen, setConfirmDialogOpen] = useState(false);
|
|
@@ -120,19 +124,19 @@ const Drawer: FC<Props> = ({
|
|
|
120
124
|
<Transition appear show={open} as={React.Fragment}>
|
|
121
125
|
<Dialog
|
|
122
126
|
open={open}
|
|
123
|
-
onClose={preventBackdropClose ? () => {} : handleClose}
|
|
127
|
+
onClose={preventBackdropClose ? () => { } : handleClose}
|
|
124
128
|
className={cx('memori-drawer', className)}
|
|
125
129
|
>
|
|
126
130
|
{showBackdrop && (
|
|
127
131
|
<Transition.Child
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
132
|
+
as={React.Fragment}
|
|
133
|
+
enter="ease-out duration-300"
|
|
134
|
+
enterFrom="opacity-0"
|
|
135
|
+
enterTo="opacity-100"
|
|
136
|
+
leave="ease-in duration-200"
|
|
137
|
+
leaveFrom="opacity-100"
|
|
138
|
+
leaveTo="opacity-0"
|
|
139
|
+
>
|
|
136
140
|
<div className="memori-drawer--backdrop" />
|
|
137
141
|
</Transition.Child>
|
|
138
142
|
)}
|
|
@@ -141,10 +145,10 @@ const Drawer: FC<Props> = ({
|
|
|
141
145
|
<Transition.Child
|
|
142
146
|
static
|
|
143
147
|
as={React.Fragment}
|
|
144
|
-
enter=
|
|
148
|
+
enter={`ease-out ${enterDuration}`}
|
|
145
149
|
enterFrom={animated ? 'max-w-0 opacity-0' : 'opacity-0'}
|
|
146
150
|
enterTo="max-w-80 opacity-100"
|
|
147
|
-
leave=
|
|
151
|
+
leave={`ease-in ${leaveDuration}`}
|
|
148
152
|
leaveFrom="max-w-80 opacity-100"
|
|
149
153
|
leaveTo={animated ? 'max-w-0 opacity-0' : 'opacity-0'}
|
|
150
154
|
>
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
.memori-tooltip {
|
|
4
4
|
position: relative;
|
|
5
|
+
z-index: 1000;
|
|
5
6
|
display: inline-block;
|
|
6
7
|
}
|
|
7
8
|
|
|
8
9
|
.memori-tooltip--content {
|
|
9
10
|
position: absolute;
|
|
10
|
-
z-index:
|
|
11
|
+
z-index: 1000;
|
|
11
12
|
top: 50%;
|
|
12
13
|
left: 100%;
|
|
13
14
|
display: none;
|
|
@@ -47,6 +48,7 @@
|
|
|
47
48
|
transition: 0.3s;
|
|
48
49
|
}
|
|
49
50
|
|
|
51
|
+
|
|
50
52
|
.memori-tooltip.memori-tooltip--align-left .memori-tooltip--content::before {
|
|
51
53
|
right: -15px;
|
|
52
54
|
left: auto;
|
|
@@ -113,3 +115,49 @@
|
|
|
113
115
|
.memori-tooltip.memori-tooltip--disabled {
|
|
114
116
|
cursor: not-allowed;
|
|
115
117
|
}
|
|
118
|
+
|
|
119
|
+
.memori-tooltip.memori-tooltip--align-bottomLeft .memori-tooltip--content,
|
|
120
|
+
.memori-tooltip.memori-tooltip--align-bottomRight .memori-tooltip--content {
|
|
121
|
+
top: 100%;
|
|
122
|
+
right: initial;
|
|
123
|
+
left: 50%;
|
|
124
|
+
margin: initial;
|
|
125
|
+
margin-top: 15px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.memori-tooltip.memori-tooltip--align-bottomLeft .memori-tooltip--content::before {
|
|
129
|
+
z-index: 1001;
|
|
130
|
+
top: -15px;
|
|
131
|
+
bottom: initial;
|
|
132
|
+
left: 66%;
|
|
133
|
+
border-color: transparent transparent rgba(0, 0, 0, 0.8) transparent;
|
|
134
|
+
margin-top: 0px;
|
|
135
|
+
margin-bottom: initial;
|
|
136
|
+
margin-left: 5px;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.memori-tooltip.memori-tooltip--align-bottomRight .memori-tooltip--content::before {
|
|
140
|
+
z-index: 1001;
|
|
141
|
+
top: -15px;
|
|
142
|
+
right: 10px;
|
|
143
|
+
bottom: initial;
|
|
144
|
+
left: auto;
|
|
145
|
+
border-color: transparent transparent rgba(0, 0, 0, 0.8) transparent;
|
|
146
|
+
margin-top: -5px;
|
|
147
|
+
margin-right: 5px;
|
|
148
|
+
margin-bottom: initial;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.memori-tooltip.memori-tooltip--align-bottomLeft:not(.memori-tooltip--disabled).memori-tooltip--visible
|
|
152
|
+
.memori-tooltip--content,
|
|
153
|
+
.memori-tooltip.memori-tooltip--align-bottomLeft:not(.memori-tooltip--disabled):not(.memori-tooltip--visible):hover
|
|
154
|
+
.memori-tooltip--content {
|
|
155
|
+
transform: translateX(-73%);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.memori-tooltip.memori-tooltip--align-bottomRight:not(.memori-tooltip--disabled).memori-tooltip--visible
|
|
159
|
+
.memori-tooltip--content,
|
|
160
|
+
.memori-tooltip.memori-tooltip--align-bottomRight:not(.memori-tooltip--disabled):not(.memori-tooltip--visible):hover
|
|
161
|
+
.memori-tooltip--content {
|
|
162
|
+
transform: translateX(33%);
|
|
163
|
+
}
|
|
@@ -4,7 +4,7 @@ import cx from 'classnames';
|
|
|
4
4
|
export interface Props {
|
|
5
5
|
content: string | JSX.Element | React.ReactNode;
|
|
6
6
|
className?: string;
|
|
7
|
-
align?: 'left' | 'right' | 'topLeft' | 'topRight';
|
|
7
|
+
align?: 'left' | 'right' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
children: React.ReactNode;
|
|
10
10
|
visible?: boolean;
|
package/src/index.stories.tsx
CHANGED
|
@@ -3,7 +3,7 @@ import { Meta, Story } from '@storybook/react';
|
|
|
3
3
|
import Memori, { Props } from './index';
|
|
4
4
|
|
|
5
5
|
const meta: Meta = {
|
|
6
|
-
title: 'General/
|
|
6
|
+
title: 'General/Functionalities',
|
|
7
7
|
component: Memori,
|
|
8
8
|
argTypes: {
|
|
9
9
|
AZURE_COGNITIVE_SERVICES_TTS_KEY: {
|
|
@@ -22,37 +22,6 @@ export default meta;
|
|
|
22
22
|
|
|
23
23
|
const Template: Story<Props> = args => <Memori {...args} />;
|
|
24
24
|
|
|
25
|
-
// By passing using the Args format for exported stories, you can control the props for a component for reuse in a test
|
|
26
|
-
// https://storybook.js.org/docs/react/workflows/unit-testing
|
|
27
|
-
export const Anonymous = Template.bind({});
|
|
28
|
-
Anonymous.args = {
|
|
29
|
-
ownerUserName: 'nzambello',
|
|
30
|
-
memoriName: 'Nicola',
|
|
31
|
-
tenantID: 'www.aisuru.com',
|
|
32
|
-
engineURL: 'https://engine.memori.ai',
|
|
33
|
-
apiURL: 'https://backend.memori.ai',
|
|
34
|
-
baseURL: 'https://www.aisuru.com',
|
|
35
|
-
uiLang: 'IT',
|
|
36
|
-
spokenLang: 'IT',
|
|
37
|
-
enableAudio: true,
|
|
38
|
-
autoStart: true,
|
|
39
|
-
showChatHistory: true,
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
export const Vaccaboia = Template.bind({});
|
|
43
|
-
Vaccaboia.args = {
|
|
44
|
-
ownerUserName: 'francesco.timo',
|
|
45
|
-
memoriName: 'AI-ssistantSafe',
|
|
46
|
-
tenantID: 'tecne.aclambda.online',
|
|
47
|
-
engineURL: 'https://engine.memori.ai',
|
|
48
|
-
apiURL: 'https://backend.memori.ai',
|
|
49
|
-
baseURL: 'https://www.aisuru.com',
|
|
50
|
-
uiLang: 'IT',
|
|
51
|
-
spokenLang: 'IT',
|
|
52
|
-
enableAudio: true,
|
|
53
|
-
autoStart: false,
|
|
54
|
-
showChatHistory: true,
|
|
55
|
-
};
|
|
56
25
|
|
|
57
26
|
export const WithInitialContextAndQuestion = Template.bind({});
|
|
58
27
|
WithInitialContextAndQuestion.args = {
|
|
@@ -131,297 +100,21 @@ WithUpload.args = {
|
|
|
131
100
|
showUpload: true,
|
|
132
101
|
};
|
|
133
102
|
|
|
134
|
-
export const
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
apiURL: 'https://backend.memori.ai',
|
|
141
|
-
baseURL: 'https://www.aisuru.com',
|
|
142
|
-
uiLang: 'it',
|
|
143
|
-
showShare: true,
|
|
144
|
-
showSettings: true,
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
export const Localhost = Template.bind({});
|
|
148
|
-
Localhost.args = {
|
|
149
|
-
memoriName: 'test9',
|
|
150
|
-
ownerUserName: 'andrea.patini',
|
|
151
|
-
memoriID: 'e31aa393-08c4-469a-b2e8-971eb45f4925',
|
|
152
|
-
ownerUserID: '9266e23e-6822-4658-bbb0-4bebbc232bd4',
|
|
153
|
-
tenantID: 'localhost:3000',
|
|
154
|
-
engineURL: 'http://localhost:7778',
|
|
155
|
-
apiURL: 'http://localhost:7778',
|
|
156
|
-
baseURL: 'http://localhost:3000',
|
|
157
|
-
uiLang: 'IT',
|
|
158
|
-
spokenLang: 'IT',
|
|
159
|
-
layout: 'FULLPAGE',
|
|
160
|
-
showInstruct: false,
|
|
161
|
-
showSettings: true,
|
|
162
|
-
showChatHistory: true,
|
|
163
|
-
showClear: false,
|
|
164
|
-
showTypingText: false,
|
|
165
|
-
showOnlyLastMessages: false,
|
|
166
|
-
showTranslationOriginal: false,
|
|
167
|
-
showCopyButton: false,
|
|
168
|
-
showShare: true,
|
|
169
|
-
showLogin: true,
|
|
170
|
-
useMathFormatting: false,
|
|
171
|
-
showUpload: false,
|
|
172
|
-
autoStart: false,
|
|
173
|
-
enableAudio: true,
|
|
174
|
-
integrationID: 'c13fe42a-2d25-4bde-a502-f34824cd4ff1',
|
|
175
|
-
};
|
|
176
|
-
|
|
177
|
-
export const LocalhostBoE = Template.bind({});
|
|
178
|
-
LocalhostBoE.args = {
|
|
179
|
-
memoriName: 'experts chairman',
|
|
180
|
-
ownerUserName: 'nicola',
|
|
181
|
-
memoriID: '2b094cd6-77b8-4e09-a807-0039b84c988e',
|
|
182
|
-
ownerUserID: '04a8cff9-13d6-4367-9cb2-72b9af9ee494',
|
|
183
|
-
tenantID: 'www.aisuru.com',
|
|
184
|
-
engineURL: 'http://localhost:7777',
|
|
185
|
-
apiURL: 'http://localhost:7778',
|
|
186
|
-
baseURL: 'http://localhost:3000',
|
|
187
|
-
uiLang: 'EN',
|
|
188
|
-
lang: 'IT',
|
|
189
|
-
layout: 'FULLPAGE',
|
|
190
|
-
showShare: true,
|
|
191
|
-
integrationID: '82f017cc-450b-4c47-acf5-47910d336ce9',
|
|
192
|
-
};
|
|
193
|
-
|
|
194
|
-
export const Staging = Template.bind({});
|
|
195
|
-
Staging.args = {
|
|
196
|
-
memoriName: 'Giuseppe Verdi',
|
|
197
|
-
ownerUserName: 'nunziofiore',
|
|
198
|
-
memoriID: 'b996dbb9-3728-44d6-96f7-9b728224698c',
|
|
199
|
-
ownerUserID: 'fbee9aaa-0c46-460e-9800-15e31d7c99c0',
|
|
200
|
-
tenantID: 'aisuru-staging.aclambda.online',
|
|
201
|
-
apiURL: 'https://backend-staging.memori.ai',
|
|
202
|
-
engineURL: 'https://engine-staging.memori.ai',
|
|
203
|
-
baseURL: 'https://aisuru-staging.aclambda.online',
|
|
204
|
-
uiLang: 'EN',
|
|
205
|
-
lang: 'IT',
|
|
206
|
-
layout: 'FULLPAGE',
|
|
207
|
-
};
|
|
208
|
-
|
|
209
|
-
export const Giovanna = Template.bind({});
|
|
210
|
-
Giovanna.args = {
|
|
211
|
-
memoriName: 'Giovanna',
|
|
212
|
-
ownerUserName: 'memoridev',
|
|
213
|
-
memoriID: '3b308d07-0ff8-4f18-b885-fad501164c43',
|
|
214
|
-
ownerUserID: '13ab0379-a51d-4a83-8389-4f4b95e15567',
|
|
215
|
-
tenantID: 'www.aisuru.com',
|
|
216
|
-
engineURL: 'https://engine.memori.ai',
|
|
217
|
-
apiURL: 'https://backend.memori.ai',
|
|
218
|
-
baseURL: 'https://www.aisuru.com',
|
|
219
|
-
uiLang: 'IT',
|
|
220
|
-
spokenLang: 'IT',
|
|
221
|
-
layout: 'ZOOMED_FULL_BODY',
|
|
222
|
-
};
|
|
223
|
-
|
|
224
|
-
export const CreaRiassunti = Template.bind({});
|
|
225
|
-
CreaRiassunti.args = {
|
|
226
|
-
memoriName: 'Crea Riassunti',
|
|
227
|
-
ownerUserName: 'patini929',
|
|
228
|
-
memoriID: '514dd043-ec26-4c57-a014-a512c9014822',
|
|
229
|
-
ownerUserID: '1941d326-6986-4fa1-872b-458d09fb654c',
|
|
230
|
-
tenantID: 'www.aisuru.com',
|
|
231
|
-
engineURL: 'https://engine.memori.ai',
|
|
232
|
-
apiURL: 'https://backend.memori.ai',
|
|
233
|
-
baseURL: 'https://www.aisuru.com',
|
|
234
|
-
uiLang: 'IT',
|
|
235
|
-
spokenLang: 'FR',
|
|
236
|
-
layout: 'CHAT',
|
|
237
|
-
showUpload: true,
|
|
238
|
-
showSettings: true,
|
|
239
|
-
showClear: false,
|
|
240
|
-
showAIicon: true,
|
|
241
|
-
showWhyThisAnswer: true,
|
|
242
|
-
showTypingText: false,
|
|
243
|
-
showOnlyLastMessages: false,
|
|
244
|
-
showTranslationOriginal: false,
|
|
245
|
-
showCopyButton: false,
|
|
246
|
-
showShare: true,
|
|
247
|
-
showLogin: false,
|
|
248
|
-
};
|
|
249
|
-
|
|
250
|
-
export const NunzioFiore = Template.bind({});
|
|
251
|
-
NunzioFiore.args = {
|
|
252
|
-
ownerUserName: 'nunzio.fiore',
|
|
253
|
-
memoriName: 'Nunzio',
|
|
254
|
-
tenantID: 'www.aisuru.com',
|
|
255
|
-
engineURL: 'https://engine.memori.ai',
|
|
256
|
-
apiURL: 'https://backend.memori.ai',
|
|
257
|
-
baseURL: 'https://www.aisuru.com',
|
|
258
|
-
uiLang: 'IT',
|
|
259
|
-
spokenLang: 'IT',
|
|
260
|
-
layout: 'ZOOMED_FULL_BODY',
|
|
261
|
-
showSettings: 'true',
|
|
262
|
-
showClear: 'false',
|
|
263
|
-
showAIicon: 'true',
|
|
264
|
-
showWhyThisAnswer: 'true',
|
|
265
|
-
showTypingText: 'false',
|
|
266
|
-
showOnlyLastMessages: 'false',
|
|
267
|
-
showTranslationOriginal: 'false',
|
|
268
|
-
showCopyButton: 'false',
|
|
269
|
-
showShare: 'true',
|
|
270
|
-
showLogin: 'false',
|
|
271
|
-
enableAudio: 'true',
|
|
272
|
-
};
|
|
273
|
-
|
|
274
|
-
export const TestCustomAnimationsWithRPMSequence = Template.bind({});
|
|
275
|
-
TestCustomAnimationsWithRPMSequence.args = {
|
|
276
|
-
memoriName: 'Dancing Avatar',
|
|
277
|
-
ownerUserName: 'andrea.patini3',
|
|
278
|
-
memoriID: '45420d30-a103-455c-bab1-b708a0566a02',
|
|
279
|
-
ownerUserID: '58770358-a5db-4b49-b3a4-734fc468e745',
|
|
103
|
+
export const WithPrivateAgent = Template.bind({});
|
|
104
|
+
WithPrivateAgent.args = {
|
|
105
|
+
memoriName: 'Test Private',
|
|
106
|
+
ownerUserName: 'Andrea-Patini',
|
|
107
|
+
memoriID: 'c58cd5f9-43c4-4a3b-9fb6-56aedf58ff7a',
|
|
108
|
+
ownerUserID: '91dbc9ba-b684-4fbe-9828-b5980af6cda9',
|
|
280
109
|
tenantID: 'aisuru-staging.aclambda.online',
|
|
281
|
-
engineURL: 'https://engine-staging.memori.ai/memori/v2',
|
|
282
110
|
apiURL: 'https://backend-staging.memori.ai/api/v2',
|
|
111
|
+
engineURL: 'https://engine-staging.memori.ai/memori/v2',
|
|
283
112
|
baseURL: 'https://aisuru-staging.aclambda.online',
|
|
284
|
-
uiLang: '
|
|
285
|
-
spokenLang: 'IT',
|
|
286
|
-
layout: 'HIDDEN_CHAT',
|
|
287
|
-
showLogin: true,
|
|
288
|
-
autoStart: true,
|
|
289
|
-
integrationID: '2f6e11a0-d799-4974-aa17-cf111d0af82a',
|
|
290
|
-
};
|
|
291
|
-
|
|
292
|
-
export const TestCustomGLBSingleAnimation = Template.bind({});
|
|
293
|
-
TestCustomGLBSingleAnimation.args = {
|
|
294
|
-
memoriName: "Dragon's Journey",
|
|
295
|
-
ownerUserName: 'andrea.patini3',
|
|
296
|
-
memoriID: 'fa0568c0-aac2-494b-bde7-6a8ec7725a2d',
|
|
297
|
-
ownerUserID: '58770358-a5db-4b49-b3a4-734fc468e745',
|
|
298
|
-
tenantID: 'aisuru-staging.aclambda.online',
|
|
299
|
-
engineURL: 'https://engine-staging.memori.ai',
|
|
300
|
-
apiURL: 'https://backend-staging.memori.ai',
|
|
301
|
-
baseURL: 'https://aisuru-staging.aclambda.online',
|
|
302
|
-
uiLang: 'IT',
|
|
303
|
-
spokenLang: 'IT',
|
|
304
|
-
layout: 'TOTEM',
|
|
305
|
-
showInstruct: false,
|
|
306
|
-
showLogin: true,
|
|
307
|
-
showSettings: 'true',
|
|
308
|
-
showClear: 'false',
|
|
309
|
-
showTypingText: 'false',
|
|
310
|
-
showOnlyLastMessages: 'false',
|
|
311
|
-
showTranslationOriginal: 'false',
|
|
312
|
-
showCopyButton: 'false',
|
|
313
|
-
showShare: 'true',
|
|
314
|
-
useMathFormatting: 'false',
|
|
315
|
-
showUpload: 'false',
|
|
316
|
-
autoStart: 'false',
|
|
317
|
-
enableAudio: 'true',
|
|
318
|
-
integrationID: 'eea150e2-3ab3-47ae-a9ad-d3ea1704f623',
|
|
319
|
-
};
|
|
320
|
-
|
|
321
|
-
export const TestRPMEmotionFunction = Template.bind({});
|
|
322
|
-
TestRPMEmotionFunction.args = {
|
|
323
|
-
memoriName: 'Test RPM',
|
|
324
|
-
ownerUserName: 'andrea.patini3',
|
|
325
|
-
memoriID: '35b7059f-08f4-45ab-98d8-899957666b77',
|
|
326
|
-
ownerUserID: '58770358-a5db-4b49-b3a4-734fc468e745',
|
|
327
|
-
tenantID: 'aisuru-staging.aclambda.online',
|
|
328
|
-
engineURL: 'https://engine-staging.memori.ai',
|
|
329
|
-
apiURL: 'https://backend-staging.memori.ai',
|
|
330
|
-
baseURL: 'https://aisuru-staging.aclambda.online',
|
|
331
|
-
uiLang: 'IT',
|
|
332
|
-
showUpload: true,
|
|
113
|
+
uiLang: 'EN',
|
|
333
114
|
spokenLang: 'IT',
|
|
334
|
-
layout: '
|
|
335
|
-
|
|
336
|
-
};
|
|
337
|
-
|
|
338
|
-
const TemplateWithBatchButton: Story<Props> = args => (
|
|
339
|
-
<div>
|
|
340
|
-
<button
|
|
341
|
-
style={{
|
|
342
|
-
position: 'fixed',
|
|
343
|
-
top: '0.5rem',
|
|
344
|
-
left: '0.5rem',
|
|
345
|
-
zIndex: 99999,
|
|
346
|
-
}}
|
|
347
|
-
onClick={() => {
|
|
348
|
-
window.typeBatchMessages([
|
|
349
|
-
{
|
|
350
|
-
message: 'uno di tre',
|
|
351
|
-
hidden: false,
|
|
352
|
-
waitForPrevious: true,
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
message: 'due di tre',
|
|
356
|
-
hidden: false,
|
|
357
|
-
waitForPrevious: true,
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
message: 'tre di tre',
|
|
361
|
-
hidden: false,
|
|
362
|
-
waitForPrevious: true,
|
|
363
|
-
},
|
|
364
|
-
]);
|
|
365
|
-
}}
|
|
366
|
-
>
|
|
367
|
-
Start Batch
|
|
368
|
-
</button>
|
|
369
|
-
<Memori {...args} />
|
|
370
|
-
</div>
|
|
371
|
-
);
|
|
372
|
-
export const WithBatch = TemplateWithBatchButton.bind({});
|
|
373
|
-
WithBatch.args = {
|
|
374
|
-
ownerUserName: 'nzambello',
|
|
375
|
-
memoriName: 'Nicola',
|
|
376
|
-
tenantID: 'aisuru.com',
|
|
377
|
-
apiURL: 'https://backend.memori.ai',
|
|
378
|
-
engineURL: 'https://engine.memori.ai',
|
|
379
|
-
baseURL: 'https://www.aisuru.com',
|
|
380
|
-
uiLang: 'it',
|
|
381
|
-
showShare: true,
|
|
115
|
+
layout: 'FULLPAGE',
|
|
116
|
+
multilingual: true,
|
|
382
117
|
showSettings: true,
|
|
383
|
-
};
|
|
384
|
-
|
|
385
|
-
export const WithCustomUserAvatar = Template.bind({});
|
|
386
|
-
WithCustomUserAvatar.args = {
|
|
387
|
-
ownerUserName: 'nzambello',
|
|
388
|
-
memoriName: 'Nicola',
|
|
389
|
-
tenantID: 'aisuru.com',
|
|
390
|
-
apiURL: 'https://backend.memori.ai',
|
|
391
|
-
engineURL: 'https://engine.memori.ai',
|
|
392
|
-
baseURL: 'https://www.aisuru.com',
|
|
393
|
-
uiLang: 'it',
|
|
394
118
|
showShare: true,
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
};
|
|
398
|
-
|
|
399
|
-
// export const Instruction = Template.bind({});
|
|
400
|
-
// Instruction.args = {
|
|
401
|
-
// ownerUserName: 'nzambello',
|
|
402
|
-
// memoriName: 'Nicola',
|
|
403
|
-
// tenantID: 'aisuru.com',
|
|
404
|
-
// apiURL: 'https://backend.memori.ai',
|
|
405
|
-
// baseURL: 'https://aisuru.com',
|
|
406
|
-
// uiLang: 'it',
|
|
407
|
-
// showShare: true,
|
|
408
|
-
// tag: 'giver',
|
|
409
|
-
// pin: 'giver pin',
|
|
410
|
-
// authToken: 'your login token',
|
|
411
|
-
// };
|
|
412
|
-
|
|
413
|
-
export const Test = Template.bind({});
|
|
414
|
-
Test.args = {
|
|
415
|
-
memoriName: "test23",
|
|
416
|
-
ownerUserName:"Andrea-Patini",
|
|
417
|
-
memoriID:"bb672b4a-712a-4298-b440-61bfe5d67489",
|
|
418
|
-
ownerUserID:"91dbc9ba-b684-4fbe-9828-b5980af6cda9",
|
|
419
|
-
tenantID:"aisuru-staging.aclambda.online",
|
|
420
|
-
engineURL:"https://engine-staging.memori.ai/memori/v2",
|
|
421
|
-
apiURL:"https://backend-staging.memori.ai/api/v2",
|
|
422
|
-
baseURL:"https://aisuru-staging.aclambda.online",
|
|
423
|
-
layout:"FULLPAGE",
|
|
424
|
-
uiLang:"IT",
|
|
425
|
-
spokenLang:"IT",
|
|
426
|
-
integrationID:"4ba083d5-c8e3-49c5-ae02-4e498484e1a4",
|
|
427
|
-
};
|
|
119
|
+
integrationID: '19f95abe-3493-4568-971d-14471480e5bc',
|
|
120
|
+
};
|
package/src/locales/de.json
CHANGED
|
@@ -24,7 +24,9 @@
|
|
|
24
24
|
"last_7_days": "Letzte 7 Tage",
|
|
25
25
|
"last_30_days": "Letzte 30 Tage",
|
|
26
26
|
"missingData": "Fehlende Informationen",
|
|
27
|
+
"date": "Geburtsdatum",
|
|
27
28
|
"day": "Tag",
|
|
29
|
+
"copied": "Kopiert!",
|
|
28
30
|
"month": "Monat",
|
|
29
31
|
"year": "Jahr",
|
|
30
32
|
"createdAt": "Erstellungsdatum",
|
|
@@ -106,6 +108,8 @@
|
|
|
106
108
|
"tokens": "Token",
|
|
107
109
|
"addToken": "Token hinzufügen",
|
|
108
110
|
"usePassword": "Passwort verwenden",
|
|
111
|
+
"passwordRequired": "Passwort erforderlich",
|
|
112
|
+
"invalidCredentials": "Ungültige Zugangsdaten",
|
|
109
113
|
"atLeast": "Mindestens"
|
|
110
114
|
},
|
|
111
115
|
"widget": {
|
|
@@ -342,7 +346,8 @@
|
|
|
342
346
|
"termsOfService": "Nutzungsbedingungen",
|
|
343
347
|
"pAndCUAccepted": "Ich akzeptiere die Nutzungsbedingungen von Deep Thought",
|
|
344
348
|
"editAccount": "Konto bearbeiten",
|
|
345
|
-
"save": "Speichern"
|
|
349
|
+
"save": "Speichern",
|
|
350
|
+
"successfullyLoggedIn": "{{username}} hat sich erfolgreich angemeldet"
|
|
346
351
|
},
|
|
347
352
|
"chatLogs": {
|
|
348
353
|
"anyMessage": "Jede Nachricht",
|
package/src/locales/en.json
CHANGED
|
@@ -25,8 +25,13 @@
|
|
|
25
25
|
"last_7_days": "Last 7 days",
|
|
26
26
|
"last_30_days": "Last 30 days",
|
|
27
27
|
"month": "Month",
|
|
28
|
+
"copied": "Copied!",
|
|
28
29
|
"year": "Year",
|
|
30
|
+
"dayPlaceholder": "DD",
|
|
31
|
+
"monthPlaceholder": "MM",
|
|
32
|
+
"yearPlaceholder": "YYYY",
|
|
29
33
|
"createdAt": "Creation date",
|
|
34
|
+
"date": "Birth date",
|
|
30
35
|
"selected": "Selected",
|
|
31
36
|
"page": "page",
|
|
32
37
|
"actions": "Actions",
|
|
@@ -105,6 +110,8 @@
|
|
|
105
110
|
"tokens": "Tokens",
|
|
106
111
|
"addToken": "Add token",
|
|
107
112
|
"usePassword": "Use password",
|
|
113
|
+
"passwordRequired": "Password required",
|
|
114
|
+
"invalidCredentials": "Invalid credentials",
|
|
108
115
|
"atLeast": "At least"
|
|
109
116
|
},
|
|
110
117
|
"widget": {
|
|
@@ -406,7 +413,8 @@
|
|
|
406
413
|
"termsStatus": "Terms Status",
|
|
407
414
|
"enabled": "Enabled",
|
|
408
415
|
"disabled": "Disabled",
|
|
409
|
-
"advancedFeatures": "Advanced Features"
|
|
416
|
+
"advancedFeatures": "Advanced Features",
|
|
417
|
+
"successfullyLoggedIn": "{{username}} has successfully logged in"
|
|
410
418
|
},
|
|
411
419
|
"chatLogs": {
|
|
412
420
|
"anyMessage": "Any message",
|
package/src/locales/es.json
CHANGED
|
@@ -24,7 +24,9 @@
|
|
|
24
24
|
"yesterday": "Ayer",
|
|
25
25
|
"last_7_days": "Últimos 7 días",
|
|
26
26
|
"last_30_days": "Últimos 30 días",
|
|
27
|
+
"date": "Fecha de nacimiento",
|
|
27
28
|
"month": "Mes",
|
|
29
|
+
"copied": "¡Copiado!",
|
|
28
30
|
"missingData": "Información faltante",
|
|
29
31
|
"year": "Año",
|
|
30
32
|
"createdAt": "Fecha de creación",
|
|
@@ -106,6 +108,8 @@
|
|
|
106
108
|
"tokens": "Fichas",
|
|
107
109
|
"addToken": "Agregar token",
|
|
108
110
|
"usePassword": "Usar contraseña",
|
|
111
|
+
"passwordRequired": "Contraseña obligatoria",
|
|
112
|
+
"invalidCredentials": "Credenciales no válidas",
|
|
109
113
|
"atLeast": "Al menos"
|
|
110
114
|
},
|
|
111
115
|
"widget": {
|
|
@@ -369,7 +373,8 @@
|
|
|
369
373
|
"termsOfService": "Términos de servicio",
|
|
370
374
|
"pAndCUAccepted": "Acepto los términos de servicio sobre Deep Thought",
|
|
371
375
|
"editAccount": "Editar cuenta",
|
|
372
|
-
"save": "Ahorrar"
|
|
376
|
+
"save": "Ahorrar",
|
|
377
|
+
"successfullyLoggedIn": "{{username}} ha iniciado sesión correctamente"
|
|
373
378
|
},
|
|
374
379
|
"chatLogs": {
|
|
375
380
|
"anyMessage": "Cualquier mensaje",
|
package/src/locales/fr.json
CHANGED
|
@@ -24,8 +24,10 @@
|
|
|
24
24
|
"createdAt": "Date de création",
|
|
25
25
|
"all": "Tous",
|
|
26
26
|
"today": "Aujourd'hui",
|
|
27
|
+
"date": "Date de naissance",
|
|
27
28
|
"yesterday": "Hier",
|
|
28
29
|
"last_7_days": "7 derniers jours",
|
|
30
|
+
"copied": "Copié !",
|
|
29
31
|
"missingData": "Informations manquantes",
|
|
30
32
|
"last_30_days": "30 derniers jours",
|
|
31
33
|
"selected": "Choisi",
|
|
@@ -104,6 +106,7 @@
|
|
|
104
106
|
"useRecoveryTokens": "Utiliser des jetons de récupération",
|
|
105
107
|
"tokens": "Jetons",
|
|
106
108
|
"addToken": "Ajouter un jeton",
|
|
109
|
+
"invalidCredentials": "Identifiants invalides",
|
|
107
110
|
"usePassword": "Utiliser le mot de passe",
|
|
108
111
|
"atLeast": "Au moins"
|
|
109
112
|
},
|
|
@@ -378,7 +381,8 @@
|
|
|
378
381
|
"termsOfService": "Conditions d'utilisation",
|
|
379
382
|
"pAndCUAccepted": "J'accepte les conditions d'utilisation de Deep Thought",
|
|
380
383
|
"editAccount": "Modifier le compte",
|
|
381
|
-
"save": "Sauvegarder"
|
|
384
|
+
"save": "Sauvegarder",
|
|
385
|
+
"successfullyLoggedIn": "{{username}} s'est connecté avec succès"
|
|
382
386
|
},
|
|
383
387
|
"chatLogs": {
|
|
384
388
|
"anyMessage": "Tout message",
|
package/src/locales/it.json
CHANGED
|
@@ -21,14 +21,19 @@
|
|
|
21
21
|
"day": "Giorno",
|
|
22
22
|
"month": "Mese",
|
|
23
23
|
"year": "Anno",
|
|
24
|
+
"dayPlaceholder": "GG",
|
|
25
|
+
"monthPlaceholder": "MM",
|
|
26
|
+
"yearPlaceholder": "AAAA",
|
|
24
27
|
"createdAt": "Data creazione",
|
|
25
28
|
"selected": "Selezionati",
|
|
26
29
|
"page": "pagina",
|
|
27
30
|
"actions": "Azioni",
|
|
28
31
|
"next": "Successivo",
|
|
29
32
|
"all": "Tutti",
|
|
33
|
+
"copied": "Copiato!",
|
|
30
34
|
"today": "Oggi",
|
|
31
35
|
"yesterday": "Ieri",
|
|
36
|
+
"date": "Data di nascita",
|
|
32
37
|
"last_7_days": "Ultimi 7 giorni",
|
|
33
38
|
"last_30_days": "Ultimi 30 giorni",
|
|
34
39
|
"previous": "Precedente",
|
|
@@ -106,6 +111,7 @@
|
|
|
106
111
|
"tokens": "Token",
|
|
107
112
|
"addToken": "Aggiungi token",
|
|
108
113
|
"usePassword": "Utilizza la password",
|
|
114
|
+
"invalidCredentials": "Credenziali non valide",
|
|
109
115
|
"atLeast": "Almeno"
|
|
110
116
|
},
|
|
111
117
|
"widget": {
|
|
@@ -406,7 +412,8 @@
|
|
|
406
412
|
"termsOfService": "i termini del servizio",
|
|
407
413
|
"pAndCUAccepted": "Accetto le condizioni di utilizzo relative a Pensiero Profondo",
|
|
408
414
|
"editAccount": "Modifica account",
|
|
409
|
-
"save": "Salva"
|
|
415
|
+
"save": "Salva",
|
|
416
|
+
"successfullyLoggedIn": "{{username}} ha effettuato l'accesso con successo"
|
|
410
417
|
},
|
|
411
418
|
"chatLogs": {
|
|
412
419
|
"atLeast": "Almeno {{count}} messaggi",
|
package/src/mocks/data.ts
CHANGED
|
@@ -474,7 +474,8 @@ export const historyWithAIGeneratedMessages: Message[] = [
|
|
|
474
474
|
timestamp: '2021-03-01T12:00:00.000Z',
|
|
475
475
|
},
|
|
476
476
|
{
|
|
477
|
-
text: 'Sa. Sa. Prova',
|
|
477
|
+
text: 'Sa. Sa. Prova. Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
|
|
478
|
+
generatedByAI: true,
|
|
478
479
|
timestamp: '2021-03-01T12:00:00.000Z',
|
|
479
480
|
},
|
|
480
481
|
{
|
|
@@ -504,8 +505,9 @@ export const historyWithAIGeneratedMessages: Message[] = [
|
|
|
504
505
|
timestamp: '2021-03-01T12:00:00.000Z',
|
|
505
506
|
},
|
|
506
507
|
{
|
|
507
|
-
text: 'Arrivederci.',
|
|
508
|
+
text: 'Arrivederci. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
508
509
|
timestamp: '2021-03-01T12:00:00.000Z',
|
|
510
|
+
generatedByAI: true,
|
|
509
511
|
contextVars: {
|
|
510
512
|
TEST: 'test',
|
|
511
513
|
},
|