@memori.ai/memori-react 8.15.1 → 8.16.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 +26 -0
- package/dist/components/Chat/Chat.css +2 -1
- package/dist/components/Chat/Chat.js +17 -17
- package/dist/components/Chat/Chat.js.map +1 -1
- package/dist/components/ChatBubble/ChatBubble.css +1 -1
- package/dist/components/ContentPreviewModal/ContentPreviewModal.css +114 -0
- package/dist/components/ContentPreviewModal/ContentPreviewModal.d.ts +14 -0
- package/dist/components/ContentPreviewModal/ContentPreviewModal.js +18 -0
- package/dist/components/ContentPreviewModal/ContentPreviewModal.js.map +1 -0
- package/dist/components/ContentPreviewModal/index.d.ts +2 -0
- package/dist/components/ContentPreviewModal/index.js +9 -0
- package/dist/components/ContentPreviewModal/index.js.map +1 -0
- package/dist/components/FilePreview/FilePreview.css +1 -1
- package/dist/components/FilePreview/FilePreview.js +43 -13
- package/dist/components/FilePreview/FilePreview.js.map +1 -1
- package/dist/components/MediaWidget/DocumentCard.d.ts +3 -0
- package/dist/components/MediaWidget/DocumentCard.js +9 -0
- package/dist/components/MediaWidget/DocumentCard.js.map +1 -0
- package/dist/components/MediaWidget/MediaItemWidget.css +946 -19
- package/dist/components/MediaWidget/MediaItemWidget.d.ts +5 -36
- package/dist/components/MediaWidget/MediaItemWidget.js +295 -198
- package/dist/components/MediaWidget/MediaItemWidget.js.map +1 -1
- package/dist/components/MediaWidget/MediaItemWidget.types.d.ts +62 -0
- package/dist/components/MediaWidget/MediaItemWidget.types.js +3 -0
- package/dist/components/MediaWidget/MediaItemWidget.types.js.map +1 -0
- package/dist/components/MediaWidget/MediaItemWidget.utils.d.ts +23 -0
- package/dist/components/MediaWidget/MediaItemWidget.utils.js +162 -0
- package/dist/components/MediaWidget/MediaItemWidget.utils.js.map +1 -0
- package/dist/components/MediaWidget/MediaPreviewModal.d.ts +15 -0
- package/dist/components/MediaWidget/MediaPreviewModal.js +162 -0
- package/dist/components/MediaWidget/MediaPreviewModal.js.map +1 -0
- package/dist/components/MediaWidget/MediaWidget.js +1 -2
- package/dist/components/MediaWidget/MediaWidget.js.map +1 -1
- package/dist/components/Snippet/Snippet.css +64 -33
- package/dist/components/Snippet/Snippet.js +17 -4
- package/dist/components/Snippet/Snippet.js.map +1 -1
- package/dist/components/StartPanel/StartPanel.js +1 -2
- package/dist/components/StartPanel/StartPanel.js.map +1 -1
- package/dist/components/UploadButton/UploadButton.css +0 -5
- package/dist/components/layouts/WebsiteAssistant.js +8 -8
- package/dist/components/layouts/WebsiteAssistant.js.map +1 -1
- package/dist/components/layouts/chat.css +1 -1
- package/dist/components/layouts/website-assistant.css +405 -197
- package/dist/helpers/constants.js +0 -7
- package/dist/helpers/constants.js.map +1 -1
- package/dist/helpers/utils.d.ts +1 -0
- package/dist/helpers/utils.js +3 -1
- package/dist/helpers/utils.js.map +1 -1
- package/dist/index.js +43 -1
- package/dist/index.js.map +1 -1
- package/dist/styles.css +0 -2
- package/dist/version.d.ts +1 -0
- package/dist/version.js +5 -0
- package/dist/version.js.map +1 -0
- package/esm/components/Chat/Chat.css +2 -1
- package/esm/components/Chat/Chat.js +17 -17
- package/esm/components/Chat/Chat.js.map +1 -1
- package/esm/components/ChatBubble/ChatBubble.css +1 -1
- package/esm/components/ContentPreviewModal/ContentPreviewModal.css +114 -0
- package/esm/components/ContentPreviewModal/ContentPreviewModal.d.ts +14 -0
- package/esm/components/ContentPreviewModal/ContentPreviewModal.js +15 -0
- package/esm/components/ContentPreviewModal/ContentPreviewModal.js.map +1 -0
- package/esm/components/ContentPreviewModal/index.d.ts +2 -0
- package/esm/components/ContentPreviewModal/index.js +2 -0
- package/esm/components/ContentPreviewModal/index.js.map +1 -0
- package/esm/components/FilePreview/FilePreview.css +1 -1
- package/esm/components/FilePreview/FilePreview.js +44 -14
- package/esm/components/FilePreview/FilePreview.js.map +1 -1
- package/esm/components/MediaWidget/DocumentCard.d.ts +3 -0
- package/esm/components/MediaWidget/DocumentCard.js +5 -0
- package/esm/components/MediaWidget/DocumentCard.js.map +1 -0
- package/esm/components/MediaWidget/MediaItemWidget.css +946 -19
- package/esm/components/MediaWidget/MediaItemWidget.d.ts +5 -36
- package/esm/components/MediaWidget/MediaItemWidget.js +296 -197
- package/esm/components/MediaWidget/MediaItemWidget.js.map +1 -1
- package/esm/components/MediaWidget/MediaItemWidget.types.d.ts +62 -0
- package/esm/components/MediaWidget/MediaItemWidget.types.js +2 -0
- package/esm/components/MediaWidget/MediaItemWidget.types.js.map +1 -0
- package/esm/components/MediaWidget/MediaItemWidget.utils.d.ts +23 -0
- package/esm/components/MediaWidget/MediaItemWidget.utils.js +149 -0
- package/esm/components/MediaWidget/MediaItemWidget.utils.js.map +1 -0
- package/esm/components/MediaWidget/MediaPreviewModal.d.ts +15 -0
- package/esm/components/MediaWidget/MediaPreviewModal.js +157 -0
- package/esm/components/MediaWidget/MediaPreviewModal.js.map +1 -0
- package/esm/components/MediaWidget/MediaWidget.js +1 -2
- package/esm/components/MediaWidget/MediaWidget.js.map +1 -1
- package/esm/components/Snippet/Snippet.css +64 -33
- package/esm/components/Snippet/Snippet.js +18 -5
- package/esm/components/Snippet/Snippet.js.map +1 -1
- package/esm/components/StartPanel/StartPanel.js +1 -2
- package/esm/components/StartPanel/StartPanel.js.map +1 -1
- package/esm/components/UploadButton/UploadButton.css +0 -5
- package/esm/components/layouts/WebsiteAssistant.js +8 -8
- package/esm/components/layouts/WebsiteAssistant.js.map +1 -1
- package/esm/components/layouts/chat.css +1 -1
- package/esm/components/layouts/website-assistant.css +405 -197
- package/esm/helpers/constants.js +0 -7
- package/esm/helpers/constants.js.map +1 -1
- package/esm/helpers/utils.d.ts +1 -0
- package/esm/helpers/utils.js +1 -0
- package/esm/helpers/utils.js.map +1 -1
- package/esm/index.js +43 -1
- package/esm/index.js.map +1 -1
- package/esm/styles.css +0 -2
- package/esm/version.d.ts +1 -0
- package/esm/version.js +2 -0
- package/esm/version.js.map +1 -0
- package/package.json +5 -3
- package/src/components/Chat/Chat.css +2 -1
- package/src/components/Chat/Chat.stories.tsx +124 -0
- package/src/components/Chat/Chat.tsx +72 -71
- package/src/components/Chat/__snapshots__/Chat.test.tsx.snap +567 -1034
- package/src/components/ChatBubble/ChatBubble.css +1 -1
- package/src/components/ContentPreviewModal/ContentPreviewModal.css +114 -0
- package/src/components/ContentPreviewModal/ContentPreviewModal.tsx +69 -0
- package/src/components/ContentPreviewModal/index.ts +2 -0
- package/src/components/FilePreview/FilePreview.css +1 -1
- package/src/components/FilePreview/FilePreview.tsx +60 -37
- package/src/components/FilePreview/__snapshots__/FilePreview.test.tsx.snap +15 -105
- package/src/components/MediaWidget/DocumentCard.test.tsx +45 -0
- package/src/components/MediaWidget/DocumentCard.tsx +19 -0
- package/src/components/MediaWidget/MediaItemWidget.css +946 -19
- package/src/components/MediaWidget/MediaItemWidget.test.tsx +89 -1
- package/src/components/MediaWidget/MediaItemWidget.tsx +734 -461
- package/src/components/MediaWidget/MediaItemWidget.types.ts +65 -0
- package/src/components/MediaWidget/MediaItemWidget.utils.test.ts +324 -0
- package/src/components/MediaWidget/MediaItemWidget.utils.ts +194 -0
- package/src/components/MediaWidget/MediaPreviewModal.test.tsx +271 -0
- package/src/components/MediaWidget/MediaPreviewModal.tsx +423 -0
- package/src/components/MediaWidget/MediaWidget.stories.tsx +193 -0
- package/src/components/MediaWidget/MediaWidget.tsx +2 -4
- package/src/components/MediaWidget/__snapshots__/DocumentCard.test.tsx.snap +24 -0
- package/src/components/MediaWidget/__snapshots__/MediaItemWidget.test.tsx.snap +162 -170
- package/src/components/MediaWidget/__snapshots__/MediaWidget.test.tsx.snap +21 -63
- package/src/components/Snippet/Snippet.css +64 -33
- package/src/components/Snippet/Snippet.tsx +30 -21
- package/src/components/Snippet/__snapshots__/Snippet.test.tsx.snap +314 -297
- package/src/components/StartPanel/StartPanel.tsx +0 -9
- package/src/components/StartPanel/__snapshots__/StartPanel.test.tsx.snap +12 -636
- package/src/components/UploadButton/UploadButton.css +0 -5
- package/src/components/layouts/WebsiteAssistant.tsx +66 -62
- package/src/components/layouts/__snapshots__/Chat.test.tsx.snap +1 -53
- package/src/components/layouts/__snapshots__/FullPage.test.tsx.snap +2 -106
- package/src/components/layouts/__snapshots__/HiddenChat.test.tsx.snap +1 -53
- package/src/components/layouts/__snapshots__/Totem.test.tsx.snap +1 -53
- package/src/components/layouts/__snapshots__/WebsiteAssistant.test.tsx.snap +32 -33
- package/src/components/layouts/__snapshots__/ZoomedFullBody.test.tsx.snap +1 -53
- package/src/components/layouts/chat.css +1 -1
- package/src/components/layouts/layouts.stories.tsx +68 -0
- package/src/components/layouts/website-assistant.css +405 -197
- package/src/helpers/constants.ts +0 -7
- package/src/helpers/utils.ts +4 -0
- package/src/index.test.tsx +8 -0
- package/src/index.tsx +51 -1
- package/src/styles.css +0 -2
- package/src/version.ts +2 -0
- package/src/components/AttachmentLinkModal/AttachmentLinkModal.css +0 -68
- package/src/components/AttachmentLinkModal/AttachmentLinkModal.stories.tsx +0 -32
- package/src/components/AttachmentLinkModal/AttachmentLinkModal.test.tsx +0 -10
- package/src/components/AttachmentLinkModal/AttachmentLinkModal.tsx +0 -131
- package/src/components/AttachmentLinkModal/__snapshots__/AttachmentLinkModal.test.tsx.snap +0 -9
- package/src/components/MediaWidget/LinkItemWidget.css +0 -46
- package/src/components/MediaWidget/LinkItemWidget.stories.tsx +0 -61
- package/src/components/MediaWidget/LinkItemWidget.test.tsx +0 -33
- package/src/components/MediaWidget/LinkItemWidget.tsx +0 -204
- package/src/components/MediaWidget/__snapshots__/LinkItemWidget.test.tsx.snap +0 -253
|
@@ -234,18 +234,13 @@
|
|
|
234
234
|
|
|
235
235
|
/* Preview item variants */
|
|
236
236
|
.memori--preview-item--document {
|
|
237
|
-
border-left-color: #fd7e14;
|
|
238
237
|
background-color: #fff9db;
|
|
239
238
|
}
|
|
240
239
|
|
|
241
240
|
.memori--preview-item--image {
|
|
242
|
-
border-left-color: #4dabf7;
|
|
243
241
|
background-color: #e7f5ff;
|
|
244
242
|
}
|
|
245
243
|
|
|
246
|
-
.memori--preview-item--uploaded {
|
|
247
|
-
border-left-color: #40c057;
|
|
248
|
-
}
|
|
249
244
|
|
|
250
245
|
.memori--preview-item--error {
|
|
251
246
|
border-left-color: #fa5252;
|
|
@@ -38,12 +38,8 @@ const WebsiteAssistantLayout: React.FC<LayoutProps> = ({
|
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
return (
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
collapsed ? 'collapsed' : 'expanded'
|
|
44
|
-
}`}
|
|
45
|
-
>
|
|
46
|
-
{collapsed ? (
|
|
41
|
+
<>
|
|
42
|
+
{collapsed && (
|
|
47
43
|
<div className="memori-website_assistant--trigger">
|
|
48
44
|
<Button
|
|
49
45
|
className="memori-website_assistant--trigger-button"
|
|
@@ -55,70 +51,78 @@ const WebsiteAssistantLayout: React.FC<LayoutProps> = ({
|
|
|
55
51
|
<Blob avatar={avatarProps?.memori.avatarURL} />
|
|
56
52
|
</Button>
|
|
57
53
|
</div>
|
|
58
|
-
)
|
|
59
|
-
|
|
60
|
-
|
|
54
|
+
)}
|
|
55
|
+
<div
|
|
56
|
+
className={`memori-website_assistant--${
|
|
57
|
+
collapsed ? 'collapsed' : 'expanded'
|
|
58
|
+
}`}
|
|
59
|
+
>
|
|
60
|
+
{!collapsed && (
|
|
61
|
+
<>
|
|
62
|
+
{integrationStyle}
|
|
61
63
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
+
<Spin
|
|
65
|
+
spinning={loading}
|
|
66
|
+
className="memori-website_assistant-layout"
|
|
67
|
+
>
|
|
68
|
+
{poweredBy}
|
|
64
69
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
70
|
+
<div className="memori-website_assistant--close-button-wrapper">
|
|
71
|
+
<Button
|
|
72
|
+
className="memori-website_assistant--close-button"
|
|
73
|
+
primary
|
|
74
|
+
shape="circle"
|
|
75
|
+
onClick={() => setCollapsed(true)}
|
|
76
|
+
icon={<Close />}
|
|
77
|
+
title={t('close') || 'Close'}
|
|
78
|
+
/>
|
|
79
|
+
</div>
|
|
75
80
|
|
|
76
|
-
<div className="memori-website_assistant-layout--header">
|
|
77
81
|
{Header && headerProps && (
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
82
|
+
<Header
|
|
83
|
+
{...headerProps}
|
|
84
|
+
showSettings={false}
|
|
85
|
+
showReload={false}
|
|
86
|
+
/>
|
|
83
87
|
)}
|
|
84
|
-
</div>
|
|
85
88
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
89
|
+
<div className="memori-website_assistant-layout--avatar">
|
|
90
|
+
{Avatar && avatarProps && (
|
|
91
|
+
<Avatar
|
|
92
|
+
{...avatarProps}
|
|
93
|
+
integrationConfig={
|
|
94
|
+
avatarProps.integrationConfig
|
|
95
|
+
? {
|
|
96
|
+
...avatarProps.integrationConfig,
|
|
97
|
+
avatarURL: avatarProps.integrationConfig?.avatarURL
|
|
98
|
+
? `${
|
|
99
|
+
avatarProps.integrationConfig?.avatarURL.split(
|
|
100
|
+
'#'
|
|
101
|
+
)[0]
|
|
102
|
+
}#${expandedKey}`
|
|
103
|
+
: undefined,
|
|
104
|
+
}
|
|
105
|
+
: {}
|
|
106
|
+
}
|
|
107
|
+
key={expandedKey}
|
|
108
|
+
/>
|
|
109
|
+
)}
|
|
110
|
+
</div>
|
|
108
111
|
|
|
109
|
-
|
|
112
|
+
<div id="extension" />
|
|
110
113
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
114
|
+
<div className="memori-website_assistant-layout--controls">
|
|
115
|
+
{sessionId && hasUserActivatedSpeak && Chat && chatProps ? (
|
|
116
|
+
<Chat {...chatProps} />
|
|
117
|
+
) : startPanelProps ? (
|
|
118
|
+
<StartPanel {...startPanelProps} />
|
|
119
|
+
) : null}
|
|
120
|
+
</div>
|
|
121
|
+
</Spin>
|
|
122
|
+
</>
|
|
123
|
+
)}
|
|
124
|
+
</div>
|
|
125
|
+
</>
|
|
122
126
|
);
|
|
123
127
|
};
|
|
124
128
|
|
|
@@ -132,59 +132,7 @@ exports[`renders Chat layout unchanged 1`] = `
|
|
|
132
132
|
>
|
|
133
133
|
<div
|
|
134
134
|
class="memori--cover"
|
|
135
|
-
|
|
136
|
-
<div
|
|
137
|
-
class="memori--completions-enabled"
|
|
138
|
-
>
|
|
139
|
-
<div
|
|
140
|
-
class="memori-tooltip memori-tooltip--align-left"
|
|
141
|
-
>
|
|
142
|
-
<div
|
|
143
|
-
class="memori-tooltip--content"
|
|
144
|
-
>
|
|
145
|
-
IA evoluta, può rispondere con risposte generate automaticamente che talvolta potrebbero contenere informazioni non corrette
|
|
146
|
-
</div>
|
|
147
|
-
<div
|
|
148
|
-
class="memori-tooltip--trigger"
|
|
149
|
-
>
|
|
150
|
-
<span
|
|
151
|
-
aria-label="IA evoluta, può rispondere con risposte generate automaticamente che talvolta potrebbero contenere informazioni non corrette"
|
|
152
|
-
>
|
|
153
|
-
<svg
|
|
154
|
-
aria-hidden="true"
|
|
155
|
-
fill="none"
|
|
156
|
-
focusable="false"
|
|
157
|
-
role="img"
|
|
158
|
-
viewBox="0 0 24 24"
|
|
159
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
160
|
-
>
|
|
161
|
-
<g
|
|
162
|
-
clip-rule="evenodd"
|
|
163
|
-
fill="currentColor"
|
|
164
|
-
fill-rule="evenodd"
|
|
165
|
-
>
|
|
166
|
-
<path
|
|
167
|
-
clip-rule="evenodd"
|
|
168
|
-
d="M0 4a4 4 0 014-4h16a4 4 0 014 4v16a4 4 0 01-4 4H4a4 4 0 01-4-4zm4-2.4A2.4 2.4 0 001.6 4v16A2.4 2.4 0 004 22.4h16a2.4 2.4 0 002.4-2.4V4A2.4 2.4 0 0020 1.6z"
|
|
169
|
-
fill-rule="evenodd"
|
|
170
|
-
/>
|
|
171
|
-
<path
|
|
172
|
-
clip-rule="evenodd"
|
|
173
|
-
d="M9.715 8.442a.798.798 0 00-1.43 0l-3.2 6.4a.799.799 0 101.431.716l.579-1.158h3.811l.578 1.158a.8.8 0 001.431-.716zm.391 4.358L9 10.589 7.894 12.8z"
|
|
174
|
-
fill-rule="evenodd"
|
|
175
|
-
/>
|
|
176
|
-
<path
|
|
177
|
-
clip-rule="evenodd"
|
|
178
|
-
d="M17 8c.552 0 1 .358 1 .8v6.4c0 .442-.448.8-1 .8s-1-.358-1-.8V8.8c0-.442.448-.8 1-.8z"
|
|
179
|
-
fill-rule="evenodd"
|
|
180
|
-
/>
|
|
181
|
-
</g>
|
|
182
|
-
</svg>
|
|
183
|
-
</span>
|
|
184
|
-
</div>
|
|
185
|
-
</div>
|
|
186
|
-
</div>
|
|
187
|
-
</div>
|
|
135
|
+
/>
|
|
188
136
|
<picture
|
|
189
137
|
class="memori--avatar"
|
|
190
138
|
>
|
|
@@ -175,59 +175,7 @@ exports[`renders FullPage layout unchanged 1`] = `
|
|
|
175
175
|
>
|
|
176
176
|
<div
|
|
177
177
|
class="memori--cover"
|
|
178
|
-
|
|
179
|
-
<div
|
|
180
|
-
class="memori--completions-enabled"
|
|
181
|
-
>
|
|
182
|
-
<div
|
|
183
|
-
class="memori-tooltip memori-tooltip--align-left"
|
|
184
|
-
>
|
|
185
|
-
<div
|
|
186
|
-
class="memori-tooltip--content"
|
|
187
|
-
>
|
|
188
|
-
IA evoluta, può rispondere con risposte generate automaticamente che talvolta potrebbero contenere informazioni non corrette
|
|
189
|
-
</div>
|
|
190
|
-
<div
|
|
191
|
-
class="memori-tooltip--trigger"
|
|
192
|
-
>
|
|
193
|
-
<span
|
|
194
|
-
aria-label="IA evoluta, può rispondere con risposte generate automaticamente che talvolta potrebbero contenere informazioni non corrette"
|
|
195
|
-
>
|
|
196
|
-
<svg
|
|
197
|
-
aria-hidden="true"
|
|
198
|
-
fill="none"
|
|
199
|
-
focusable="false"
|
|
200
|
-
role="img"
|
|
201
|
-
viewBox="0 0 24 24"
|
|
202
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
203
|
-
>
|
|
204
|
-
<g
|
|
205
|
-
clip-rule="evenodd"
|
|
206
|
-
fill="currentColor"
|
|
207
|
-
fill-rule="evenodd"
|
|
208
|
-
>
|
|
209
|
-
<path
|
|
210
|
-
clip-rule="evenodd"
|
|
211
|
-
d="M0 4a4 4 0 014-4h16a4 4 0 014 4v16a4 4 0 01-4 4H4a4 4 0 01-4-4zm4-2.4A2.4 2.4 0 001.6 4v16A2.4 2.4 0 004 22.4h16a2.4 2.4 0 002.4-2.4V4A2.4 2.4 0 0020 1.6z"
|
|
212
|
-
fill-rule="evenodd"
|
|
213
|
-
/>
|
|
214
|
-
<path
|
|
215
|
-
clip-rule="evenodd"
|
|
216
|
-
d="M9.715 8.442a.798.798 0 00-1.43 0l-3.2 6.4a.799.799 0 101.431.716l.579-1.158h3.811l.578 1.158a.8.8 0 001.431-.716zm.391 4.358L9 10.589 7.894 12.8z"
|
|
217
|
-
fill-rule="evenodd"
|
|
218
|
-
/>
|
|
219
|
-
<path
|
|
220
|
-
clip-rule="evenodd"
|
|
221
|
-
d="M17 8c.552 0 1 .358 1 .8v6.4c0 .442-.448.8-1 .8s-1-.358-1-.8V8.8c0-.442.448-.8 1-.8z"
|
|
222
|
-
fill-rule="evenodd"
|
|
223
|
-
/>
|
|
224
|
-
</g>
|
|
225
|
-
</svg>
|
|
226
|
-
</span>
|
|
227
|
-
</div>
|
|
228
|
-
</div>
|
|
229
|
-
</div>
|
|
230
|
-
</div>
|
|
178
|
+
/>
|
|
231
179
|
<picture
|
|
232
180
|
class="memori--avatar"
|
|
233
181
|
>
|
|
@@ -778,59 +726,7 @@ exports[`renders FullPage layout with root css properties unchanged 1`] = `
|
|
|
778
726
|
>
|
|
779
727
|
<div
|
|
780
728
|
class="memori--cover"
|
|
781
|
-
|
|
782
|
-
<div
|
|
783
|
-
class="memori--completions-enabled"
|
|
784
|
-
>
|
|
785
|
-
<div
|
|
786
|
-
class="memori-tooltip memori-tooltip--align-left"
|
|
787
|
-
>
|
|
788
|
-
<div
|
|
789
|
-
class="memori-tooltip--content"
|
|
790
|
-
>
|
|
791
|
-
IA evoluta, può rispondere con risposte generate automaticamente che talvolta potrebbero contenere informazioni non corrette
|
|
792
|
-
</div>
|
|
793
|
-
<div
|
|
794
|
-
class="memori-tooltip--trigger"
|
|
795
|
-
>
|
|
796
|
-
<span
|
|
797
|
-
aria-label="IA evoluta, può rispondere con risposte generate automaticamente che talvolta potrebbero contenere informazioni non corrette"
|
|
798
|
-
>
|
|
799
|
-
<svg
|
|
800
|
-
aria-hidden="true"
|
|
801
|
-
fill="none"
|
|
802
|
-
focusable="false"
|
|
803
|
-
role="img"
|
|
804
|
-
viewBox="0 0 24 24"
|
|
805
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
806
|
-
>
|
|
807
|
-
<g
|
|
808
|
-
clip-rule="evenodd"
|
|
809
|
-
fill="currentColor"
|
|
810
|
-
fill-rule="evenodd"
|
|
811
|
-
>
|
|
812
|
-
<path
|
|
813
|
-
clip-rule="evenodd"
|
|
814
|
-
d="M0 4a4 4 0 014-4h16a4 4 0 014 4v16a4 4 0 01-4 4H4a4 4 0 01-4-4zm4-2.4A2.4 2.4 0 001.6 4v16A2.4 2.4 0 004 22.4h16a2.4 2.4 0 002.4-2.4V4A2.4 2.4 0 0020 1.6z"
|
|
815
|
-
fill-rule="evenodd"
|
|
816
|
-
/>
|
|
817
|
-
<path
|
|
818
|
-
clip-rule="evenodd"
|
|
819
|
-
d="M9.715 8.442a.798.798 0 00-1.43 0l-3.2 6.4a.799.799 0 101.431.716l.579-1.158h3.811l.578 1.158a.8.8 0 001.431-.716zm.391 4.358L9 10.589 7.894 12.8z"
|
|
820
|
-
fill-rule="evenodd"
|
|
821
|
-
/>
|
|
822
|
-
<path
|
|
823
|
-
clip-rule="evenodd"
|
|
824
|
-
d="M17 8c.552 0 1 .358 1 .8v6.4c0 .442-.448.8-1 .8s-1-.358-1-.8V8.8c0-.442.448-.8 1-.8z"
|
|
825
|
-
fill-rule="evenodd"
|
|
826
|
-
/>
|
|
827
|
-
</g>
|
|
828
|
-
</svg>
|
|
829
|
-
</span>
|
|
830
|
-
</div>
|
|
831
|
-
</div>
|
|
832
|
-
</div>
|
|
833
|
-
</div>
|
|
729
|
+
/>
|
|
834
730
|
<picture
|
|
835
731
|
class="memori--avatar"
|
|
836
732
|
>
|
|
@@ -150,59 +150,7 @@ exports[`renders HIDDEN_CHAT layout unchanged 1`] = `
|
|
|
150
150
|
>
|
|
151
151
|
<div
|
|
152
152
|
class="memori--cover"
|
|
153
|
-
|
|
154
|
-
<div
|
|
155
|
-
class="memori--completions-enabled"
|
|
156
|
-
>
|
|
157
|
-
<div
|
|
158
|
-
class="memori-tooltip memori-tooltip--align-left"
|
|
159
|
-
>
|
|
160
|
-
<div
|
|
161
|
-
class="memori-tooltip--content"
|
|
162
|
-
>
|
|
163
|
-
IA evoluta, può rispondere con risposte generate automaticamente che talvolta potrebbero contenere informazioni non corrette
|
|
164
|
-
</div>
|
|
165
|
-
<div
|
|
166
|
-
class="memori-tooltip--trigger"
|
|
167
|
-
>
|
|
168
|
-
<span
|
|
169
|
-
aria-label="IA evoluta, può rispondere con risposte generate automaticamente che talvolta potrebbero contenere informazioni non corrette"
|
|
170
|
-
>
|
|
171
|
-
<svg
|
|
172
|
-
aria-hidden="true"
|
|
173
|
-
fill="none"
|
|
174
|
-
focusable="false"
|
|
175
|
-
role="img"
|
|
176
|
-
viewBox="0 0 24 24"
|
|
177
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
178
|
-
>
|
|
179
|
-
<g
|
|
180
|
-
clip-rule="evenodd"
|
|
181
|
-
fill="currentColor"
|
|
182
|
-
fill-rule="evenodd"
|
|
183
|
-
>
|
|
184
|
-
<path
|
|
185
|
-
clip-rule="evenodd"
|
|
186
|
-
d="M0 4a4 4 0 014-4h16a4 4 0 014 4v16a4 4 0 01-4 4H4a4 4 0 01-4-4zm4-2.4A2.4 2.4 0 001.6 4v16A2.4 2.4 0 004 22.4h16a2.4 2.4 0 002.4-2.4V4A2.4 2.4 0 0020 1.6z"
|
|
187
|
-
fill-rule="evenodd"
|
|
188
|
-
/>
|
|
189
|
-
<path
|
|
190
|
-
clip-rule="evenodd"
|
|
191
|
-
d="M9.715 8.442a.798.798 0 00-1.43 0l-3.2 6.4a.799.799 0 101.431.716l.579-1.158h3.811l.578 1.158a.8.8 0 001.431-.716zm.391 4.358L9 10.589 7.894 12.8z"
|
|
192
|
-
fill-rule="evenodd"
|
|
193
|
-
/>
|
|
194
|
-
<path
|
|
195
|
-
clip-rule="evenodd"
|
|
196
|
-
d="M17 8c.552 0 1 .358 1 .8v6.4c0 .442-.448.8-1 .8s-1-.358-1-.8V8.8c0-.442.448-.8 1-.8z"
|
|
197
|
-
fill-rule="evenodd"
|
|
198
|
-
/>
|
|
199
|
-
</g>
|
|
200
|
-
</svg>
|
|
201
|
-
</span>
|
|
202
|
-
</div>
|
|
203
|
-
</div>
|
|
204
|
-
</div>
|
|
205
|
-
</div>
|
|
153
|
+
/>
|
|
206
154
|
<picture
|
|
207
155
|
class="memori--avatar"
|
|
208
156
|
>
|
|
@@ -242,59 +242,7 @@ exports[`renders Totem layout unchanged 1`] = `
|
|
|
242
242
|
>
|
|
243
243
|
<div
|
|
244
244
|
class="memori--cover"
|
|
245
|
-
|
|
246
|
-
<div
|
|
247
|
-
class="memori--completions-enabled"
|
|
248
|
-
>
|
|
249
|
-
<div
|
|
250
|
-
class="memori-tooltip memori-tooltip--align-left"
|
|
251
|
-
>
|
|
252
|
-
<div
|
|
253
|
-
class="memori-tooltip--content"
|
|
254
|
-
>
|
|
255
|
-
IA evoluta, può rispondere con risposte generate automaticamente che talvolta potrebbero contenere informazioni non corrette
|
|
256
|
-
</div>
|
|
257
|
-
<div
|
|
258
|
-
class="memori-tooltip--trigger"
|
|
259
|
-
>
|
|
260
|
-
<span
|
|
261
|
-
aria-label="IA evoluta, può rispondere con risposte generate automaticamente che talvolta potrebbero contenere informazioni non corrette"
|
|
262
|
-
>
|
|
263
|
-
<svg
|
|
264
|
-
aria-hidden="true"
|
|
265
|
-
fill="none"
|
|
266
|
-
focusable="false"
|
|
267
|
-
role="img"
|
|
268
|
-
viewBox="0 0 24 24"
|
|
269
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
270
|
-
>
|
|
271
|
-
<g
|
|
272
|
-
clip-rule="evenodd"
|
|
273
|
-
fill="currentColor"
|
|
274
|
-
fill-rule="evenodd"
|
|
275
|
-
>
|
|
276
|
-
<path
|
|
277
|
-
clip-rule="evenodd"
|
|
278
|
-
d="M0 4a4 4 0 014-4h16a4 4 0 014 4v16a4 4 0 01-4 4H4a4 4 0 01-4-4zm4-2.4A2.4 2.4 0 001.6 4v16A2.4 2.4 0 004 22.4h16a2.4 2.4 0 002.4-2.4V4A2.4 2.4 0 0020 1.6z"
|
|
279
|
-
fill-rule="evenodd"
|
|
280
|
-
/>
|
|
281
|
-
<path
|
|
282
|
-
clip-rule="evenodd"
|
|
283
|
-
d="M9.715 8.442a.798.798 0 00-1.43 0l-3.2 6.4a.799.799 0 101.431.716l.579-1.158h3.811l.578 1.158a.8.8 0 001.431-.716zm.391 4.358L9 10.589 7.894 12.8z"
|
|
284
|
-
fill-rule="evenodd"
|
|
285
|
-
/>
|
|
286
|
-
<path
|
|
287
|
-
clip-rule="evenodd"
|
|
288
|
-
d="M17 8c.552 0 1 .358 1 .8v6.4c0 .442-.448.8-1 .8s-1-.358-1-.8V8.8c0-.442.448-.8 1-.8z"
|
|
289
|
-
fill-rule="evenodd"
|
|
290
|
-
/>
|
|
291
|
-
</g>
|
|
292
|
-
</svg>
|
|
293
|
-
</span>
|
|
294
|
-
</div>
|
|
295
|
-
</div>
|
|
296
|
-
</div>
|
|
297
|
-
</div>
|
|
245
|
+
/>
|
|
298
246
|
<picture
|
|
299
247
|
class="memori--avatar"
|
|
300
248
|
>
|
|
@@ -12,44 +12,43 @@ exports[`renders WEBSITE_ASSISTANT layout unchanged 1`] = `
|
|
|
12
12
|
style="height: 100vh;"
|
|
13
13
|
>
|
|
14
14
|
<div
|
|
15
|
-
class="memori-website_assistant--
|
|
15
|
+
class="memori-website_assistant--trigger"
|
|
16
16
|
>
|
|
17
|
-
<
|
|
18
|
-
class="memori-website_assistant--trigger"
|
|
17
|
+
<button
|
|
18
|
+
class="memori-button memori-button--ghost memori-button--circle memori-button--padded memori-website_assistant--trigger-button"
|
|
19
|
+
title="Espandi"
|
|
19
20
|
>
|
|
20
|
-
<
|
|
21
|
-
class="memori-
|
|
22
|
-
title="Espandi"
|
|
21
|
+
<div
|
|
22
|
+
class="memori-blob"
|
|
23
23
|
>
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
alt=""
|
|
30
|
-
role="presentation"
|
|
31
|
-
src="https://aisuru.com/images/aisuru/square_logo.png"
|
|
32
|
-
/>
|
|
33
|
-
</figure>
|
|
34
|
-
<div
|
|
35
|
-
class="mainDiv"
|
|
36
|
-
/>
|
|
37
|
-
<div
|
|
38
|
-
class="mainDiv"
|
|
39
|
-
/>
|
|
40
|
-
<div
|
|
41
|
-
class="mainDiv"
|
|
24
|
+
<figure>
|
|
25
|
+
<img
|
|
26
|
+
alt=""
|
|
27
|
+
role="presentation"
|
|
28
|
+
src="https://aisuru.com/images/aisuru/square_logo.png"
|
|
42
29
|
/>
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
30
|
+
</figure>
|
|
31
|
+
<div
|
|
32
|
+
class="mainDiv"
|
|
33
|
+
/>
|
|
34
|
+
<div
|
|
35
|
+
class="mainDiv"
|
|
36
|
+
/>
|
|
37
|
+
<div
|
|
38
|
+
class="mainDiv"
|
|
39
|
+
/>
|
|
40
|
+
<div
|
|
41
|
+
class="mainDiv"
|
|
42
|
+
/>
|
|
43
|
+
<div
|
|
44
|
+
class="mainDiv"
|
|
45
|
+
/>
|
|
46
|
+
</div>
|
|
47
|
+
</button>
|
|
52
48
|
</div>
|
|
49
|
+
<div
|
|
50
|
+
class="memori-website_assistant--collapsed"
|
|
51
|
+
/>
|
|
53
52
|
<audio
|
|
54
53
|
id="memori-audio"
|
|
55
54
|
src="https://aisuru.com/intro.mp3"
|
|
@@ -175,59 +175,7 @@ exports[`renders ZOOMED_FULL_BODY layout unchanged 1`] = `
|
|
|
175
175
|
>
|
|
176
176
|
<div
|
|
177
177
|
class="memori--cover"
|
|
178
|
-
|
|
179
|
-
<div
|
|
180
|
-
class="memori--completions-enabled"
|
|
181
|
-
>
|
|
182
|
-
<div
|
|
183
|
-
class="memori-tooltip memori-tooltip--align-left"
|
|
184
|
-
>
|
|
185
|
-
<div
|
|
186
|
-
class="memori-tooltip--content"
|
|
187
|
-
>
|
|
188
|
-
IA evoluta, può rispondere con risposte generate automaticamente che talvolta potrebbero contenere informazioni non corrette
|
|
189
|
-
</div>
|
|
190
|
-
<div
|
|
191
|
-
class="memori-tooltip--trigger"
|
|
192
|
-
>
|
|
193
|
-
<span
|
|
194
|
-
aria-label="IA evoluta, può rispondere con risposte generate automaticamente che talvolta potrebbero contenere informazioni non corrette"
|
|
195
|
-
>
|
|
196
|
-
<svg
|
|
197
|
-
aria-hidden="true"
|
|
198
|
-
fill="none"
|
|
199
|
-
focusable="false"
|
|
200
|
-
role="img"
|
|
201
|
-
viewBox="0 0 24 24"
|
|
202
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
203
|
-
>
|
|
204
|
-
<g
|
|
205
|
-
clip-rule="evenodd"
|
|
206
|
-
fill="currentColor"
|
|
207
|
-
fill-rule="evenodd"
|
|
208
|
-
>
|
|
209
|
-
<path
|
|
210
|
-
clip-rule="evenodd"
|
|
211
|
-
d="M0 4a4 4 0 014-4h16a4 4 0 014 4v16a4 4 0 01-4 4H4a4 4 0 01-4-4zm4-2.4A2.4 2.4 0 001.6 4v16A2.4 2.4 0 004 22.4h16a2.4 2.4 0 002.4-2.4V4A2.4 2.4 0 0020 1.6z"
|
|
212
|
-
fill-rule="evenodd"
|
|
213
|
-
/>
|
|
214
|
-
<path
|
|
215
|
-
clip-rule="evenodd"
|
|
216
|
-
d="M9.715 8.442a.798.798 0 00-1.43 0l-3.2 6.4a.799.799 0 101.431.716l.579-1.158h3.811l.578 1.158a.8.8 0 001.431-.716zm.391 4.358L9 10.589 7.894 12.8z"
|
|
217
|
-
fill-rule="evenodd"
|
|
218
|
-
/>
|
|
219
|
-
<path
|
|
220
|
-
clip-rule="evenodd"
|
|
221
|
-
d="M17 8c.552 0 1 .358 1 .8v6.4c0 .442-.448.8-1 .8s-1-.358-1-.8V8.8c0-.442.448-.8 1-.8z"
|
|
222
|
-
fill-rule="evenodd"
|
|
223
|
-
/>
|
|
224
|
-
</g>
|
|
225
|
-
</svg>
|
|
226
|
-
</span>
|
|
227
|
-
</div>
|
|
228
|
-
</div>
|
|
229
|
-
</div>
|
|
230
|
-
</div>
|
|
178
|
+
/>
|
|
231
179
|
<picture
|
|
232
180
|
class="memori--avatar"
|
|
233
181
|
>
|