@memori.ai/memori-react 4.4.1 → 5.0.1
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 +32 -0
- package/README.md +4 -7
- package/dist/components/Chat/Chat.js +1 -1
- package/dist/components/Chat/Chat.js.map +1 -1
- package/dist/components/ChatBubble/ChatBubble.js +1 -1
- package/dist/components/ChatBubble/ChatBubble.js.map +1 -1
- package/dist/components/Header/Header.d.ts +2 -1
- package/dist/components/Header/Header.js +2 -2
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/MediaWidget/LinkItemWidget.js +1 -1
- package/dist/components/MediaWidget/LinkItemWidget.js.map +1 -1
- package/dist/components/MemoriWidget/MemoriWidget.js +21 -11
- package/dist/components/MemoriWidget/MemoriWidget.js.map +1 -1
- package/dist/components/PoweredBy/PoweredBy.css +2 -1
- package/dist/components/PoweredBy/PoweredBy.js +6 -2
- package/dist/components/PoweredBy/PoweredBy.js.map +1 -1
- package/dist/components/ShareButton/ShareButton.js +2 -2
- package/dist/components/ShareButton/ShareButton.js.map +1 -1
- package/dist/components/StartPanel/StartPanel.d.ts +2 -1
- package/dist/components/StartPanel/StartPanel.js +4 -2
- package/dist/components/StartPanel/StartPanel.js.map +1 -1
- package/dist/components/layouts/website-assistant.css +0 -5
- package/dist/helpers/tenant.js +3 -3
- package/dist/helpers/tenant.js.map +1 -1
- package/dist/helpers/translations.js +1 -1
- package/dist/helpers/translations.js.map +1 -1
- package/dist/locales/en.json +4 -2
- package/dist/locales/it.json +4 -2
- package/esm/components/Chat/Chat.js +1 -1
- package/esm/components/Chat/Chat.js.map +1 -1
- package/esm/components/ChatBubble/ChatBubble.js +1 -1
- package/esm/components/ChatBubble/ChatBubble.js.map +1 -1
- package/esm/components/Header/Header.d.ts +2 -1
- package/esm/components/Header/Header.js +2 -2
- package/esm/components/Header/Header.js.map +1 -1
- package/esm/components/MediaWidget/LinkItemWidget.js +1 -1
- package/esm/components/MediaWidget/LinkItemWidget.js.map +1 -1
- package/esm/components/MemoriWidget/MemoriWidget.js +21 -11
- package/esm/components/MemoriWidget/MemoriWidget.js.map +1 -1
- package/esm/components/PoweredBy/PoweredBy.css +2 -1
- package/esm/components/PoweredBy/PoweredBy.js +6 -2
- package/esm/components/PoweredBy/PoweredBy.js.map +1 -1
- package/esm/components/ShareButton/ShareButton.js +2 -2
- package/esm/components/ShareButton/ShareButton.js.map +1 -1
- package/esm/components/StartPanel/StartPanel.d.ts +2 -1
- package/esm/components/StartPanel/StartPanel.js +4 -2
- package/esm/components/StartPanel/StartPanel.js.map +1 -1
- package/esm/components/layouts/website-assistant.css +0 -5
- package/esm/helpers/tenant.js +3 -3
- package/esm/helpers/tenant.js.map +1 -1
- package/esm/helpers/translations.js +1 -1
- package/esm/helpers/translations.js.map +1 -1
- package/esm/locales/en.json +4 -2
- package/esm/locales/it.json +4 -2
- package/package.json +2 -2
- package/src/components/Avatar/__snapshots__/Avatar.test.tsx.snap +2 -2
- package/src/components/Chat/Chat.tsx +1 -1
- package/src/components/Chat/__snapshots__/Chat.test.tsx.snap +44 -44
- package/src/components/ChatBubble/ChatBubble.tsx +1 -1
- package/src/components/ChatBubble/__snapshots__/ChatBubble.test.tsx.snap +3 -3
- package/src/components/ExpertsDrawer/ExpertsDrawer.stories.tsx +1 -1
- package/src/components/ExpertsDrawer/ExpertsDrawer.test.tsx +2 -2
- package/src/components/Header/Header.test.tsx +58 -2
- package/src/components/Header/Header.tsx +4 -1
- package/src/components/Header/__snapshots__/Header.test.tsx.snap +105 -32
- package/src/components/MediaWidget/LinkItemWidget.tsx +3 -3
- package/src/components/MemoriWidget/MemoriWidget.tsx +16 -8
- package/src/components/PoweredBy/PoweredBy.css +2 -1
- package/src/components/PoweredBy/PoweredBy.stories.tsx +17 -3
- package/src/components/PoweredBy/PoweredBy.tsx +9 -8
- package/src/components/PoweredBy/__snapshots__/PoweredBy.test.tsx.snap +3 -3
- package/src/components/ShareButton/ShareButton.tsx +2 -2
- package/src/components/StartPanel/StartPanel.stories.tsx +45 -1
- package/src/components/StartPanel/StartPanel.test.tsx +52 -1
- package/src/components/StartPanel/StartPanel.tsx +15 -11
- package/src/components/StartPanel/__snapshots__/StartPanel.test.tsx.snap +339 -26
- package/src/components/layouts/__snapshots__/Chat.test.tsx.snap +6 -6
- package/src/components/layouts/__snapshots__/FullPage.test.tsx.snap +6 -6
- package/src/components/layouts/__snapshots__/Totem.test.tsx.snap +6 -6
- package/src/components/layouts/__snapshots__/WebsiteAssistant.test.tsx.snap +2 -2
- package/src/components/layouts/layouts.stories.tsx +3 -3
- package/src/components/layouts/website-assistant.css +0 -5
- package/src/components/ui/definitions.stories.tsx +1 -1
- package/src/helpers/tenant.ts +3 -3
- package/src/helpers/translations.ts +1 -3
- package/src/index.stories.tsx +10 -10
- package/src/locales/en.json +4 -2
- package/src/locales/it.json +4 -2
- package/src/mocks/data.ts +28 -17
|
@@ -52,11 +52,11 @@ exports[`renders StartPanel for board of experts unchanged 1`] = `
|
|
|
52
52
|
class="memori--avatar"
|
|
53
53
|
>
|
|
54
54
|
<source
|
|
55
|
-
src="https://
|
|
55
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
56
56
|
/>
|
|
57
57
|
<img
|
|
58
58
|
alt="Memori"
|
|
59
|
-
src="https://
|
|
59
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
60
60
|
/>
|
|
61
61
|
</picture>
|
|
62
62
|
<h2
|
|
@@ -175,11 +175,11 @@ exports[`renders StartPanel on instruct unchanged 1`] = `
|
|
|
175
175
|
class="memori--avatar"
|
|
176
176
|
>
|
|
177
177
|
<source
|
|
178
|
-
src="https://
|
|
178
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
179
179
|
/>
|
|
180
180
|
<img
|
|
181
181
|
alt="Memori"
|
|
182
|
-
src="https://
|
|
182
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
183
183
|
/>
|
|
184
184
|
</picture>
|
|
185
185
|
<h2
|
|
@@ -276,11 +276,11 @@ exports[`renders StartPanel unchanged 1`] = `
|
|
|
276
276
|
class="memori--avatar"
|
|
277
277
|
>
|
|
278
278
|
<source
|
|
279
|
-
src="https://
|
|
279
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
280
280
|
/>
|
|
281
281
|
<img
|
|
282
282
|
alt="Memori"
|
|
283
|
-
src="https://
|
|
283
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
284
284
|
/>
|
|
285
285
|
</picture>
|
|
286
286
|
<h2
|
|
@@ -377,11 +377,11 @@ exports[`renders StartPanel with completion provider down unchanged 1`] = `
|
|
|
377
377
|
class="memori--avatar"
|
|
378
378
|
>
|
|
379
379
|
<source
|
|
380
|
-
src="https://
|
|
380
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
381
381
|
/>
|
|
382
382
|
<img
|
|
383
383
|
alt="Memori"
|
|
384
|
-
src="https://
|
|
384
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
385
385
|
/>
|
|
386
386
|
</picture>
|
|
387
387
|
<h2
|
|
@@ -516,11 +516,11 @@ exports[`renders StartPanel with completions enabled unchanged 1`] = `
|
|
|
516
516
|
class="memori--avatar"
|
|
517
517
|
>
|
|
518
518
|
<source
|
|
519
|
-
src="https://
|
|
519
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
520
520
|
/>
|
|
521
521
|
<img
|
|
522
522
|
alt="Memori"
|
|
523
|
-
src="https://
|
|
523
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
524
524
|
/>
|
|
525
525
|
</picture>
|
|
526
526
|
<h2
|
|
@@ -553,7 +553,7 @@ exports[`renders StartPanel with completions enabled unchanged 1`] = `
|
|
|
553
553
|
</div>
|
|
554
554
|
`;
|
|
555
555
|
|
|
556
|
-
exports[`renders StartPanel with deep thought
|
|
556
|
+
exports[`renders StartPanel with deep thought but unlogged unchanged 1`] = `
|
|
557
557
|
<div>
|
|
558
558
|
<div
|
|
559
559
|
class="memori--start-panel"
|
|
@@ -617,11 +617,11 @@ exports[`renders StartPanel with deep thought enabled unchanged 1`] = `
|
|
|
617
617
|
class="memori--avatar"
|
|
618
618
|
>
|
|
619
619
|
<source
|
|
620
|
-
src="https://
|
|
620
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
621
621
|
/>
|
|
622
622
|
<img
|
|
623
623
|
alt="Memori"
|
|
624
|
-
src="https://
|
|
624
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
625
625
|
/>
|
|
626
626
|
</picture>
|
|
627
627
|
<h2
|
|
@@ -700,19 +700,332 @@ exports[`renders StartPanel with deep thought enabled unchanged 1`] = `
|
|
|
700
700
|
</div>
|
|
701
701
|
</div>
|
|
702
702
|
<h2>
|
|
703
|
-
|
|
703
|
+
deepThought
|
|
704
704
|
</h2>
|
|
705
|
+
<p>
|
|
706
|
+
deepThoughtPreDisclaimerUnlogged
|
|
707
|
+
</p>
|
|
705
708
|
<p>
|
|
706
709
|
deepThoughtDisclaimer
|
|
707
710
|
</p>
|
|
711
|
+
</div>
|
|
712
|
+
</div>
|
|
713
|
+
</div>
|
|
714
|
+
</div>
|
|
715
|
+
`;
|
|
716
|
+
|
|
717
|
+
exports[`renders StartPanel with deep thought enabled but without permission flag unchanged 1`] = `
|
|
718
|
+
<div>
|
|
719
|
+
<div
|
|
720
|
+
class="memori--start-panel"
|
|
721
|
+
>
|
|
722
|
+
<div
|
|
723
|
+
class="memori--cover"
|
|
724
|
+
>
|
|
725
|
+
<div
|
|
726
|
+
class="memori--completions-enabled"
|
|
727
|
+
>
|
|
728
|
+
<div
|
|
729
|
+
class="memori-tooltip memori-tooltip--align-left"
|
|
730
|
+
>
|
|
731
|
+
<div
|
|
732
|
+
class="memori-tooltip--content"
|
|
733
|
+
>
|
|
734
|
+
completionsEnabled
|
|
735
|
+
</div>
|
|
736
|
+
<div
|
|
737
|
+
class="memori-tooltip--trigger"
|
|
738
|
+
>
|
|
739
|
+
<span
|
|
740
|
+
aria-label="completionsEnabled"
|
|
741
|
+
>
|
|
742
|
+
<svg
|
|
743
|
+
aria-hidden="true"
|
|
744
|
+
fill="none"
|
|
745
|
+
focusable="false"
|
|
746
|
+
role="img"
|
|
747
|
+
viewBox="0 0 24 24"
|
|
748
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
749
|
+
>
|
|
750
|
+
<g
|
|
751
|
+
clip-rule="evenodd"
|
|
752
|
+
fill="currentColor"
|
|
753
|
+
fill-rule="evenodd"
|
|
754
|
+
>
|
|
755
|
+
<path
|
|
756
|
+
clip-rule="evenodd"
|
|
757
|
+
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"
|
|
758
|
+
fill-rule="evenodd"
|
|
759
|
+
/>
|
|
760
|
+
<path
|
|
761
|
+
clip-rule="evenodd"
|
|
762
|
+
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"
|
|
763
|
+
fill-rule="evenodd"
|
|
764
|
+
/>
|
|
765
|
+
<path
|
|
766
|
+
clip-rule="evenodd"
|
|
767
|
+
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"
|
|
768
|
+
fill-rule="evenodd"
|
|
769
|
+
/>
|
|
770
|
+
</g>
|
|
771
|
+
</svg>
|
|
772
|
+
</span>
|
|
773
|
+
</div>
|
|
774
|
+
</div>
|
|
775
|
+
</div>
|
|
776
|
+
</div>
|
|
777
|
+
<picture
|
|
778
|
+
class="memori--avatar"
|
|
779
|
+
>
|
|
780
|
+
<source
|
|
781
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
782
|
+
/>
|
|
783
|
+
<img
|
|
784
|
+
alt="Memori"
|
|
785
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
786
|
+
/>
|
|
787
|
+
</picture>
|
|
788
|
+
<h2
|
|
789
|
+
class="memori--title"
|
|
790
|
+
>
|
|
791
|
+
Memori
|
|
792
|
+
</h2>
|
|
793
|
+
<div
|
|
794
|
+
class="memori--description"
|
|
795
|
+
>
|
|
796
|
+
<p>
|
|
797
|
+
<span
|
|
798
|
+
class="memori--description-text"
|
|
799
|
+
>
|
|
800
|
+
Lorem ipsum.
|
|
801
|
+
</span>
|
|
802
|
+
</p>
|
|
803
|
+
<button
|
|
804
|
+
class="memori-button memori-button--primary memori-button--rounded memori-button--padded memori--start-button"
|
|
805
|
+
>
|
|
806
|
+
write_and_speak.tryMeButton
|
|
807
|
+
</button>
|
|
808
|
+
<p
|
|
809
|
+
class="memori--start-description"
|
|
810
|
+
>
|
|
811
|
+
write_and_speak.pageTryMeExplanation
|
|
812
|
+
</p>
|
|
813
|
+
<div
|
|
814
|
+
class="memori--deep-thought-disclaimer"
|
|
815
|
+
>
|
|
816
|
+
<div
|
|
817
|
+
class="memori-tooltip memori-tooltip--align-left"
|
|
818
|
+
>
|
|
819
|
+
<div
|
|
820
|
+
class="memori-tooltip--content"
|
|
821
|
+
>
|
|
822
|
+
deepThoughtHelper
|
|
823
|
+
</div>
|
|
824
|
+
<div
|
|
825
|
+
class="memori-tooltip--trigger"
|
|
826
|
+
>
|
|
827
|
+
<svg
|
|
828
|
+
aria-hidden="true"
|
|
829
|
+
fill="none"
|
|
830
|
+
focusable="false"
|
|
831
|
+
height="20"
|
|
832
|
+
role="img"
|
|
833
|
+
stroke="currentColor"
|
|
834
|
+
stroke-linecap="round"
|
|
835
|
+
stroke-linejoin="round"
|
|
836
|
+
stroke-width="3"
|
|
837
|
+
viewBox="0 0 48 48"
|
|
838
|
+
width="20"
|
|
839
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
840
|
+
>
|
|
841
|
+
<path
|
|
842
|
+
d="M30.106 48v-2.745a2.213 2.213 0 012.213-2.212h6.11a2.392 2.392 0 002.326-2.466v-3.223a1.834 1.834 0 01.459-1.145 2.912 2.912 0 00.712-1.926l-.007-.667a1.016 1.016 0 01.651-.952h1.067a1.363 1.363 0 001.051-.456 1.304 1.304 0 00.19-1.395 67.032 67.032 0 01-3.037-7.51 4.767 4.767 0 01-.217-1.507l-.002-4.994a14.513 14.513 0 00-.552-3.963l-.006-.022a13.959 13.959 0 00-3.137-5.702q-.479-.516-1.006-1.003a17.67 17.67 0 00-.677-.623A18.303 18.303 0 0024.194 1a19.617 19.617 0 00-12.539 4.489 17.555 17.555 0 00-3.945 21.69C9.945 31.507 11.694 38.622 12.14 46v2"
|
|
843
|
+
stroke-miterlimit="10"
|
|
844
|
+
/>
|
|
845
|
+
<path
|
|
846
|
+
d="M27.917 12L31.417 12"
|
|
847
|
+
/>
|
|
848
|
+
<path
|
|
849
|
+
d="M27.917 26L31.417 26"
|
|
850
|
+
/>
|
|
851
|
+
<path
|
|
852
|
+
d="M29.667 12L29.667 26"
|
|
853
|
+
/>
|
|
854
|
+
<path
|
|
855
|
+
d="M23.992 26L19.904 12 19.226 12 15.159 26"
|
|
856
|
+
/>
|
|
857
|
+
<path
|
|
858
|
+
d="M16.854 21.133L22.276 21.133"
|
|
859
|
+
/>
|
|
860
|
+
</svg>
|
|
861
|
+
</div>
|
|
862
|
+
</div>
|
|
863
|
+
<h2>
|
|
864
|
+
deepThought
|
|
865
|
+
</h2>
|
|
866
|
+
<p>
|
|
867
|
+
deepThoughtPreDisclaimerNotAllowed
|
|
868
|
+
</p>
|
|
708
869
|
<p>
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
870
|
+
deepThoughtDisclaimer
|
|
871
|
+
</p>
|
|
872
|
+
</div>
|
|
873
|
+
</div>
|
|
874
|
+
</div>
|
|
875
|
+
</div>
|
|
876
|
+
`;
|
|
877
|
+
|
|
878
|
+
exports[`renders StartPanel with deep thought enabled unchanged 1`] = `
|
|
879
|
+
<div>
|
|
880
|
+
<div
|
|
881
|
+
class="memori--start-panel"
|
|
882
|
+
>
|
|
883
|
+
<div
|
|
884
|
+
class="memori--cover"
|
|
885
|
+
>
|
|
886
|
+
<div
|
|
887
|
+
class="memori--completions-enabled"
|
|
888
|
+
>
|
|
889
|
+
<div
|
|
890
|
+
class="memori-tooltip memori-tooltip--align-left"
|
|
891
|
+
>
|
|
892
|
+
<div
|
|
893
|
+
class="memori-tooltip--content"
|
|
894
|
+
>
|
|
895
|
+
completionsEnabled
|
|
896
|
+
</div>
|
|
897
|
+
<div
|
|
898
|
+
class="memori-tooltip--trigger"
|
|
899
|
+
>
|
|
900
|
+
<span
|
|
901
|
+
aria-label="completionsEnabled"
|
|
902
|
+
>
|
|
903
|
+
<svg
|
|
904
|
+
aria-hidden="true"
|
|
905
|
+
fill="none"
|
|
906
|
+
focusable="false"
|
|
907
|
+
role="img"
|
|
908
|
+
viewBox="0 0 24 24"
|
|
909
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
910
|
+
>
|
|
911
|
+
<g
|
|
912
|
+
clip-rule="evenodd"
|
|
913
|
+
fill="currentColor"
|
|
914
|
+
fill-rule="evenodd"
|
|
915
|
+
>
|
|
916
|
+
<path
|
|
917
|
+
clip-rule="evenodd"
|
|
918
|
+
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"
|
|
919
|
+
fill-rule="evenodd"
|
|
920
|
+
/>
|
|
921
|
+
<path
|
|
922
|
+
clip-rule="evenodd"
|
|
923
|
+
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"
|
|
924
|
+
fill-rule="evenodd"
|
|
925
|
+
/>
|
|
926
|
+
<path
|
|
927
|
+
clip-rule="evenodd"
|
|
928
|
+
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"
|
|
929
|
+
fill-rule="evenodd"
|
|
930
|
+
/>
|
|
931
|
+
</g>
|
|
932
|
+
</svg>
|
|
933
|
+
</span>
|
|
934
|
+
</div>
|
|
935
|
+
</div>
|
|
936
|
+
</div>
|
|
937
|
+
</div>
|
|
938
|
+
<picture
|
|
939
|
+
class="memori--avatar"
|
|
940
|
+
>
|
|
941
|
+
<source
|
|
942
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
943
|
+
/>
|
|
944
|
+
<img
|
|
945
|
+
alt="Memori"
|
|
946
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
947
|
+
/>
|
|
948
|
+
</picture>
|
|
949
|
+
<h2
|
|
950
|
+
class="memori--title"
|
|
951
|
+
>
|
|
952
|
+
Memori
|
|
953
|
+
</h2>
|
|
954
|
+
<div
|
|
955
|
+
class="memori--description"
|
|
956
|
+
>
|
|
957
|
+
<p>
|
|
958
|
+
<span
|
|
959
|
+
class="memori--description-text"
|
|
960
|
+
>
|
|
961
|
+
Lorem ipsum.
|
|
962
|
+
</span>
|
|
963
|
+
</p>
|
|
964
|
+
<button
|
|
965
|
+
class="memori-button memori-button--primary memori-button--rounded memori-button--padded memori--start-button"
|
|
966
|
+
>
|
|
967
|
+
write_and_speak.tryMeButton
|
|
968
|
+
</button>
|
|
969
|
+
<p
|
|
970
|
+
class="memori--start-description"
|
|
971
|
+
>
|
|
972
|
+
write_and_speak.pageTryMeExplanation
|
|
973
|
+
</p>
|
|
974
|
+
<div
|
|
975
|
+
class="memori--deep-thought-disclaimer"
|
|
976
|
+
>
|
|
977
|
+
<div
|
|
978
|
+
class="memori-tooltip memori-tooltip--align-left"
|
|
979
|
+
>
|
|
980
|
+
<div
|
|
981
|
+
class="memori-tooltip--content"
|
|
713
982
|
>
|
|
714
|
-
|
|
715
|
-
</
|
|
983
|
+
deepThoughtHelper
|
|
984
|
+
</div>
|
|
985
|
+
<div
|
|
986
|
+
class="memori-tooltip--trigger"
|
|
987
|
+
>
|
|
988
|
+
<svg
|
|
989
|
+
aria-hidden="true"
|
|
990
|
+
fill="none"
|
|
991
|
+
focusable="false"
|
|
992
|
+
height="20"
|
|
993
|
+
role="img"
|
|
994
|
+
stroke="currentColor"
|
|
995
|
+
stroke-linecap="round"
|
|
996
|
+
stroke-linejoin="round"
|
|
997
|
+
stroke-width="3"
|
|
998
|
+
viewBox="0 0 48 48"
|
|
999
|
+
width="20"
|
|
1000
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1001
|
+
>
|
|
1002
|
+
<path
|
|
1003
|
+
d="M30.106 48v-2.745a2.213 2.213 0 012.213-2.212h6.11a2.392 2.392 0 002.326-2.466v-3.223a1.834 1.834 0 01.459-1.145 2.912 2.912 0 00.712-1.926l-.007-.667a1.016 1.016 0 01.651-.952h1.067a1.363 1.363 0 001.051-.456 1.304 1.304 0 00.19-1.395 67.032 67.032 0 01-3.037-7.51 4.767 4.767 0 01-.217-1.507l-.002-4.994a14.513 14.513 0 00-.552-3.963l-.006-.022a13.959 13.959 0 00-3.137-5.702q-.479-.516-1.006-1.003a17.67 17.67 0 00-.677-.623A18.303 18.303 0 0024.194 1a19.617 19.617 0 00-12.539 4.489 17.555 17.555 0 00-3.945 21.69C9.945 31.507 11.694 38.622 12.14 46v2"
|
|
1004
|
+
stroke-miterlimit="10"
|
|
1005
|
+
/>
|
|
1006
|
+
<path
|
|
1007
|
+
d="M27.917 12L31.417 12"
|
|
1008
|
+
/>
|
|
1009
|
+
<path
|
|
1010
|
+
d="M27.917 26L31.417 26"
|
|
1011
|
+
/>
|
|
1012
|
+
<path
|
|
1013
|
+
d="M29.667 12L29.667 26"
|
|
1014
|
+
/>
|
|
1015
|
+
<path
|
|
1016
|
+
d="M23.992 26L19.904 12 19.226 12 15.159 26"
|
|
1017
|
+
/>
|
|
1018
|
+
<path
|
|
1019
|
+
d="M16.854 21.133L22.276 21.133"
|
|
1020
|
+
/>
|
|
1021
|
+
</svg>
|
|
1022
|
+
</div>
|
|
1023
|
+
</div>
|
|
1024
|
+
<h2>
|
|
1025
|
+
deepThoughtDisclaimerTitle
|
|
1026
|
+
</h2>
|
|
1027
|
+
<p>
|
|
1028
|
+
deepThoughtDisclaimer
|
|
716
1029
|
</p>
|
|
717
1030
|
</div>
|
|
718
1031
|
</div>
|
|
@@ -806,11 +1119,11 @@ exports[`renders StartPanel with gamification level unchanged 1`] = `
|
|
|
806
1119
|
class="memori--avatar"
|
|
807
1120
|
>
|
|
808
1121
|
<source
|
|
809
|
-
src="https://
|
|
1122
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
810
1123
|
/>
|
|
811
1124
|
<img
|
|
812
1125
|
alt="Memori"
|
|
813
|
-
src="https://
|
|
1126
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
814
1127
|
/>
|
|
815
1128
|
</picture>
|
|
816
1129
|
<h2
|
|
@@ -907,11 +1220,11 @@ exports[`renders StartPanel with integrationConfig unchanged 1`] = `
|
|
|
907
1220
|
class="memori--avatar"
|
|
908
1221
|
>
|
|
909
1222
|
<source
|
|
910
|
-
src="https://
|
|
1223
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
911
1224
|
/>
|
|
912
1225
|
<img
|
|
913
1226
|
alt="Memori"
|
|
914
|
-
src="https://
|
|
1227
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
915
1228
|
/>
|
|
916
1229
|
</picture>
|
|
917
1230
|
<h2
|
|
@@ -1106,11 +1419,11 @@ exports[`renders StartPanel with position required unchanged 1`] = `
|
|
|
1106
1419
|
class="memori--avatar"
|
|
1107
1420
|
>
|
|
1108
1421
|
<source
|
|
1109
|
-
src="https://
|
|
1422
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
1110
1423
|
/>
|
|
1111
1424
|
<img
|
|
1112
1425
|
alt="Memori"
|
|
1113
|
-
src="https://
|
|
1426
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
1114
1427
|
/>
|
|
1115
1428
|
</picture>
|
|
1116
1429
|
<h2
|
|
@@ -43,17 +43,17 @@ exports[`renders Chat layout unchanged 1`] = `
|
|
|
43
43
|
>
|
|
44
44
|
<img
|
|
45
45
|
alt=""
|
|
46
|
-
src="https://
|
|
46
|
+
src="https://aisuru.com/images/aisuru/logo.png"
|
|
47
47
|
/>
|
|
48
48
|
<p>
|
|
49
49
|
Powered by
|
|
50
50
|
|
|
51
51
|
<a
|
|
52
|
-
href="https://
|
|
52
|
+
href="https://memori.ai/it"
|
|
53
53
|
rel="noopener noreferrer"
|
|
54
54
|
target="_blank"
|
|
55
55
|
>
|
|
56
|
-
|
|
56
|
+
Memori.AI
|
|
57
57
|
</a>
|
|
58
58
|
</p>
|
|
59
59
|
</div>
|
|
@@ -212,11 +212,11 @@ exports[`renders Chat layout unchanged 1`] = `
|
|
|
212
212
|
class="memori--avatar"
|
|
213
213
|
>
|
|
214
214
|
<source
|
|
215
|
-
src="https://
|
|
215
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
216
216
|
/>
|
|
217
217
|
<img
|
|
218
218
|
alt="Memori"
|
|
219
|
-
src="https://
|
|
219
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
220
220
|
/>
|
|
221
221
|
</picture>
|
|
222
222
|
<h2
|
|
@@ -342,7 +342,7 @@ exports[`renders Chat layout unchanged 1`] = `
|
|
|
342
342
|
</div>
|
|
343
343
|
<audio
|
|
344
344
|
id="memori-audio"
|
|
345
|
-
src="https://
|
|
345
|
+
src="https://aisuru.com/intro.mp3"
|
|
346
346
|
style="display: none;"
|
|
347
347
|
/>
|
|
348
348
|
</div>
|
|
@@ -254,11 +254,11 @@ exports[`renders FullPage layout unchanged 1`] = `
|
|
|
254
254
|
class="memori--avatar"
|
|
255
255
|
>
|
|
256
256
|
<source
|
|
257
|
-
src="https://
|
|
257
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
258
258
|
/>
|
|
259
259
|
<img
|
|
260
260
|
alt="Memori"
|
|
261
|
-
src="https://
|
|
261
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
262
262
|
/>
|
|
263
263
|
</picture>
|
|
264
264
|
<h2
|
|
@@ -370,17 +370,17 @@ exports[`renders FullPage layout unchanged 1`] = `
|
|
|
370
370
|
>
|
|
371
371
|
<img
|
|
372
372
|
alt=""
|
|
373
|
-
src="https://
|
|
373
|
+
src="https://aisuru.com/images/aisuru/logo.png"
|
|
374
374
|
/>
|
|
375
375
|
<p>
|
|
376
376
|
Powered by
|
|
377
377
|
|
|
378
378
|
<a
|
|
379
|
-
href="https://
|
|
379
|
+
href="https://memori.ai/it"
|
|
380
380
|
rel="noopener noreferrer"
|
|
381
381
|
target="_blank"
|
|
382
382
|
>
|
|
383
|
-
|
|
383
|
+
Memori.AI
|
|
384
384
|
</a>
|
|
385
385
|
</p>
|
|
386
386
|
</div>
|
|
@@ -404,7 +404,7 @@ exports[`renders FullPage layout unchanged 1`] = `
|
|
|
404
404
|
</div>
|
|
405
405
|
<audio
|
|
406
406
|
id="memori-audio"
|
|
407
|
-
src="https://
|
|
407
|
+
src="https://aisuru.com/intro.mp3"
|
|
408
408
|
style="display: none;"
|
|
409
409
|
/>
|
|
410
410
|
</div>
|
|
@@ -43,17 +43,17 @@ exports[`renders Totem layout unchanged 1`] = `
|
|
|
43
43
|
>
|
|
44
44
|
<img
|
|
45
45
|
alt=""
|
|
46
|
-
src="https://
|
|
46
|
+
src="https://aisuru.com/images/aisuru/logo.png"
|
|
47
47
|
/>
|
|
48
48
|
<p>
|
|
49
49
|
Powered by
|
|
50
50
|
|
|
51
51
|
<a
|
|
52
|
-
href="https://
|
|
52
|
+
href="https://memori.ai/it"
|
|
53
53
|
rel="noopener noreferrer"
|
|
54
54
|
target="_blank"
|
|
55
55
|
>
|
|
56
|
-
|
|
56
|
+
Memori.AI
|
|
57
57
|
</a>
|
|
58
58
|
</p>
|
|
59
59
|
</div>
|
|
@@ -305,11 +305,11 @@ exports[`renders Totem layout unchanged 1`] = `
|
|
|
305
305
|
class="memori--avatar"
|
|
306
306
|
>
|
|
307
307
|
<source
|
|
308
|
-
src="https://
|
|
308
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
309
309
|
/>
|
|
310
310
|
<img
|
|
311
311
|
alt="Memori"
|
|
312
|
-
src="https://
|
|
312
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
313
313
|
/>
|
|
314
314
|
</picture>
|
|
315
315
|
<h2
|
|
@@ -435,7 +435,7 @@ exports[`renders Totem layout unchanged 1`] = `
|
|
|
435
435
|
</div>
|
|
436
436
|
<audio
|
|
437
437
|
id="memori-audio"
|
|
438
|
-
src="https://
|
|
438
|
+
src="https://aisuru.com/intro.mp3"
|
|
439
439
|
style="display: none;"
|
|
440
440
|
/>
|
|
441
441
|
</div>
|
|
@@ -28,7 +28,7 @@ exports[`renders WEBSITE_ASSISTANT layout unchanged 1`] = `
|
|
|
28
28
|
<img
|
|
29
29
|
alt=""
|
|
30
30
|
role="presentation"
|
|
31
|
-
src="https://
|
|
31
|
+
src="https://aisuru.com/images/twincreator/square_logo.png"
|
|
32
32
|
/>
|
|
33
33
|
</figure>
|
|
34
34
|
<div
|
|
@@ -52,7 +52,7 @@ exports[`renders WEBSITE_ASSISTANT layout unchanged 1`] = `
|
|
|
52
52
|
</div>
|
|
53
53
|
<audio
|
|
54
54
|
id="memori-audio"
|
|
55
|
-
src="https://
|
|
55
|
+
src="https://aisuru.com/intro.mp3"
|
|
56
56
|
style="display: none;"
|
|
57
57
|
/>
|
|
58
58
|
</div>
|
|
@@ -102,7 +102,7 @@ ChatOnly.args = {
|
|
|
102
102
|
newPassword: null,
|
|
103
103
|
ownerUserID: null,
|
|
104
104
|
ownerUserName: 'nzambello',
|
|
105
|
-
ownerTenantName: '
|
|
105
|
+
ownerTenantName: 'aisuru.com',
|
|
106
106
|
memoriConfigurationID: 'fd10bb42-98d9-4c08-8e02-2b08bd4e4975',
|
|
107
107
|
description:
|
|
108
108
|
'Sono Nicola Zambello, sviluppatore e attivista per un web etico e sostenibile',
|
|
@@ -210,7 +210,7 @@ Totem.args = {
|
|
|
210
210
|
newPassword: null,
|
|
211
211
|
ownerUserID: null,
|
|
212
212
|
ownerUserName: 'nzambello',
|
|
213
|
-
ownerTenantName: '
|
|
213
|
+
ownerTenantName: 'aisuru.com',
|
|
214
214
|
memoriConfigurationID: 'fd10bb42-98d9-4c08-8e02-2b08bd4e4975',
|
|
215
215
|
description:
|
|
216
216
|
'Sono Nicola Zambello, sviluppatore e attivista per un web etico e sostenibile',
|
|
@@ -330,7 +330,7 @@ WebsiteAssistant.args = {
|
|
|
330
330
|
newPassword: null,
|
|
331
331
|
ownerUserID: null,
|
|
332
332
|
ownerUserName: 'nzambello',
|
|
333
|
-
ownerTenantName: '
|
|
333
|
+
ownerTenantName: 'aisuru.com',
|
|
334
334
|
memoriConfigurationID: 'fd10bb42-98d9-4c08-8e02-2b08bd4e4975',
|
|
335
335
|
description:
|
|
336
336
|
'Sono Nicola Zambello, sviluppatore e attivista per un web etico e sostenibile',
|
|
@@ -331,11 +331,6 @@
|
|
|
331
331
|
background: none;
|
|
332
332
|
}
|
|
333
333
|
|
|
334
|
-
.memori-widget.memori-layout-website_assistant.memori--hide-emissions .memori-website_assistant-layout--controls .memori-chat--bubble-container:not(.memori-chat--bubble-from-user),
|
|
335
|
-
.memori-widget.memori-layout-website_assistant.memori--hide-emissions.memori--with-speechkey .memori-website_assistant-layout--controls .memori-chat--bubble-container:not(.memori-chat--bubble-from-user) {
|
|
336
|
-
display: none;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
334
|
.memori-website_assistant-layout--avatar .memori-blob {
|
|
340
335
|
z-index: 2;
|
|
341
336
|
}
|
|
@@ -95,7 +95,7 @@ const Definitions = () => (
|
|
|
95
95
|
backgroundRepeat: 'no-repeat',
|
|
96
96
|
backgroundSize: 'cover',
|
|
97
97
|
backgroundImage:
|
|
98
|
-
'url(https://
|
|
98
|
+
'url(https://aisuru.com/images/twincreator/og-image.png)',
|
|
99
99
|
filter: 'blur(var(--memori-blur-background, 0))',
|
|
100
100
|
width: '200px',
|
|
101
101
|
height: '100px',
|