raise-common-lib 0.0.263 → 0.0.265

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.
Files changed (81) hide show
  1. package/bundles/raise-common-lib.umd.js +16496 -82
  2. package/bundles/raise-common-lib.umd.js.map +1 -1
  3. package/bundles/raise-common-lib.umd.min.js +1 -1
  4. package/bundles/raise-common-lib.umd.min.js.map +1 -1
  5. package/esm2015/lib/dashboard/api.js +11 -1
  6. package/esm2015/lib/dashboard/chat-bot-drawer/ask-rai-quick-prompts.js +152 -0
  7. package/esm2015/lib/dashboard/chat-bot-drawer/chat-bot-best-practice-widget.service.js +1395 -0
  8. package/esm2015/lib/dashboard/chat-bot-drawer/chat-bot-data-privacy-dialog.component.js +129 -0
  9. package/esm2015/lib/dashboard/chat-bot-drawer/chat-bot-drawer.component.js +8732 -0
  10. package/esm2015/lib/dashboard/chat-bot-drawer/chat-bot-report-pack.constants.js +29 -0
  11. package/esm2015/lib/dashboard/chat-bot-drawer/chat-bot-session-rename-dialog.component.js +138 -0
  12. package/esm2015/lib/dashboard/chat-bot-drawer/chat-bot-sessions.service.js +438 -0
  13. package/esm2015/lib/dashboard/chat-bot-drawer/chat-bot-shell.service.js +491 -0
  14. package/esm2015/lib/dashboard/chat-bot-drawer/chat-bot-usage.service.js +439 -0
  15. package/esm2015/lib/dashboard/chat-bot-drawer/chat-bot-widget-embed.component.js +129 -0
  16. package/esm2015/lib/dashboard/chat-bot-drawer/constants.js +184 -0
  17. package/esm2015/lib/dashboard/chat-bot-drawer/generate-report-pack-headless.service.js +501 -0
  18. package/esm2015/lib/dashboard/chat-bot-drawer/list-unique.util.js +43 -0
  19. package/esm2015/lib/dashboard/chat-bot-drawer/read-result-cards.util.js +1404 -0
  20. package/esm2015/lib/dashboard/dashboard.service.js +132 -5
  21. package/esm2015/lib/raise-common-lib.module.js +17 -3
  22. package/esm2015/lib/service/InjectionToken.js +2 -1
  23. package/esm2015/public-api.js +6 -1
  24. package/esm2015/raise-common-lib.js +24 -18
  25. package/esm5/lib/dashboard/api.js +11 -1
  26. package/esm5/lib/dashboard/chat-bot-drawer/ask-rai-quick-prompts.js +152 -0
  27. package/esm5/lib/dashboard/chat-bot-drawer/chat-bot-best-practice-widget.service.js +1603 -0
  28. package/esm5/lib/dashboard/chat-bot-drawer/chat-bot-data-privacy-dialog.component.js +145 -0
  29. package/esm5/lib/dashboard/chat-bot-drawer/chat-bot-drawer.component.js +10277 -0
  30. package/esm5/lib/dashboard/chat-bot-drawer/chat-bot-report-pack.constants.js +29 -0
  31. package/esm5/lib/dashboard/chat-bot-drawer/chat-bot-session-rename-dialog.component.js +156 -0
  32. package/esm5/lib/dashboard/chat-bot-drawer/chat-bot-sessions.service.js +505 -0
  33. package/esm5/lib/dashboard/chat-bot-drawer/chat-bot-shell.service.js +574 -0
  34. package/esm5/lib/dashboard/chat-bot-drawer/chat-bot-usage.service.js +507 -0
  35. package/esm5/lib/dashboard/chat-bot-drawer/chat-bot-widget-embed.component.js +165 -0
  36. package/esm5/lib/dashboard/chat-bot-drawer/constants.js +184 -0
  37. package/esm5/lib/dashboard/chat-bot-drawer/generate-report-pack-headless.service.js +572 -0
  38. package/esm5/lib/dashboard/chat-bot-drawer/list-unique.util.js +43 -0
  39. package/esm5/lib/dashboard/chat-bot-drawer/read-result-cards.util.js +1404 -0
  40. package/esm5/lib/dashboard/dashboard.service.js +149 -5
  41. package/esm5/lib/raise-common-lib.module.js +17 -3
  42. package/esm5/lib/service/InjectionToken.js +2 -1
  43. package/esm5/public-api.js +6 -1
  44. package/esm5/raise-common-lib.js +24 -18
  45. package/fesm2015/raise-common-lib.js +14348 -65
  46. package/fesm2015/raise-common-lib.js.map +1 -1
  47. package/fesm5/raise-common-lib.js +16468 -67
  48. package/fesm5/raise-common-lib.js.map +1 -1
  49. package/lib/dashboard/api.d.ts +10 -0
  50. package/lib/dashboard/chat-bot-drawer/ask-rai-quick-prompts.d.ts +14 -0
  51. package/lib/dashboard/chat-bot-drawer/chat-bot-best-practice-widget.service.d.ts +64 -0
  52. package/lib/dashboard/chat-bot-drawer/chat-bot-data-privacy-dialog.component.d.ts +28 -0
  53. package/lib/dashboard/chat-bot-drawer/chat-bot-drawer.component.d.ts +564 -0
  54. package/lib/dashboard/chat-bot-drawer/chat-bot-report-pack.constants.d.ts +13 -0
  55. package/lib/dashboard/chat-bot-drawer/chat-bot-session-rename-dialog.component.d.ts +25 -0
  56. package/lib/dashboard/chat-bot-drawer/chat-bot-sessions.service.d.ts +21 -0
  57. package/lib/dashboard/chat-bot-drawer/chat-bot-shell.service.d.ts +55 -0
  58. package/lib/dashboard/chat-bot-drawer/chat-bot-usage.service.d.ts +57 -0
  59. package/lib/dashboard/chat-bot-drawer/chat-bot-widget-embed.component.d.ts +12 -0
  60. package/lib/dashboard/chat-bot-drawer/constants.d.ts +86 -0
  61. package/lib/dashboard/chat-bot-drawer/generate-report-pack-headless.service.d.ts +39 -0
  62. package/lib/dashboard/chat-bot-drawer/list-unique.util.d.ts +1 -0
  63. package/lib/dashboard/chat-bot-drawer/read-result-cards.util.d.ts +51 -0
  64. package/lib/dashboard/dashboard.service.d.ts +31 -1
  65. package/lib/service/InjectionToken.d.ts +1 -0
  66. package/package.json +1 -1
  67. package/public-api.d.ts +5 -0
  68. package/raise-common-lib.d.ts +22 -16
  69. package/raise-common-lib.metadata.json +1 -1
  70. package/src/assets/images/chat-bot/icon-answer-mode-chevron.svg +5 -0
  71. package/src/assets/images/chat-bot/icon-chat-plus.svg +9 -0
  72. package/src/assets/images/chat-bot/icon-check.svg +8 -0
  73. package/src/assets/images/chat-bot/icon-chevron-down.svg +8 -0
  74. package/src/assets/images/chat-bot/icon-close-line1.svg +5 -0
  75. package/src/assets/images/chat-bot/icon-close.svg +4 -0
  76. package/src/assets/images/chat-bot/icon-deep-thinking-default.svg +10 -0
  77. package/src/assets/images/chat-bot/icon-deep-thinking.svg +10 -0
  78. package/src/assets/images/chat-bot/icon-fast-answer.svg +6 -0
  79. package/src/assets/images/chat-bot/icon-floating-rai.png +0 -0
  80. package/src/assets/images/chat-bot/icon-plus-bg.svg +3 -0
  81. package/src/assets/images/chat-bot/star-chat-bot.svg +27 -0
@@ -0,0 +1,5 @@
1
+ <svg preserveAspectRatio="none" overflow="visible" style="display: block;" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g id="arrow">
3
+ <path id="Rectangle 837" d="M10.8284 6.82843L8 9L5.17157 6.82843" stroke-linecap="round" stroke="#929DAB"/>
4
+ </g>
5
+ </svg>
@@ -0,0 +1,9 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path
3
+ d="M2.5 2.5H10.5C11.3284 2.5 12 3.17157 12 4V9.5C12 10.3284 11.3284 11 10.5 11H5.5L2.5 13.5V4C2.5 3.17157 3.17157 2.5 4 2.5H2.5Z"
4
+ stroke="#6C7C90"
5
+ stroke-linejoin="round"
6
+ />
7
+ <path d="M8 5.5V8.5" stroke="#6C7C90" stroke-linecap="round" />
8
+ <path d="M6.5 7H9.5" stroke="#6C7C90" stroke-linecap="round" />
9
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path
3
+ d="M3.5 8.5L6.5 11.5L12.5 4.5"
4
+ stroke="#6C7C90"
5
+ stroke-linecap="round"
6
+ stroke-linejoin="round"
7
+ />
8
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path
3
+ d="M4.5 6.5L8 10L11.5 6.5"
4
+ stroke="#6C7C90"
5
+ stroke-linecap="round"
6
+ stroke-linejoin="round"
7
+ />
8
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg preserveAspectRatio="none" overflow="visible" style="display: block;" width="13.7277" height="1" viewBox="0 0 13.7277 1" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g id="Group 1000003733">
3
+ <path id="Line 156" d="M0.5 0.5H13.2277" stroke="#6C7C90" stroke-linecap="round"/>
4
+ </g>
5
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M4 4L12 12" stroke="#6C7C90" stroke-linecap="round" />
3
+ <path d="M12 4L4 12" stroke="#6C7C90" stroke-linecap="round" />
4
+ </svg>
@@ -0,0 +1,10 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <mask id="stroke0_deep_default" fill="white">
3
+ <path d="M10.121 10.1213C7.38735 12.855 4.22152 14.1213 3.04995 12.9498C1.87838 11.7782 3.14471 8.61237 5.87838 5.8787C8.61205 3.14503 11.7779 1.8787 12.9494 3.05028C14.121 4.22185 12.8547 7.38767 10.121 10.1213Z"/>
4
+ </mask>
5
+ <path d="M10.121 10.1213C7.38735 12.855 4.22152 14.1213 3.04995 12.9498C1.87838 11.7782 3.14471 8.61237 5.87838 5.8787C8.61205 3.14503 11.7779 1.8787 12.9494 3.05028C14.121 4.22185 12.8547 7.38767 10.121 10.1213Z" stroke-width="2" stroke="#6C7C90" mask="url(#stroke0_deep_default)"/>
6
+ <mask id="stroke1_deep_default" fill="white">
7
+ <path d="M5.8789 10.1213C3.14523 7.38759 1.8789 4.22177 3.05047 3.05019C4.22205 1.87862 7.38787 3.14495 10.1215 5.87862C12.8552 8.61229 14.1215 11.7781 12.95 12.9497C11.7784 14.1213 8.61257 12.8549 5.8789 10.1213Z"/>
8
+ </mask>
9
+ <path d="M5.8789 10.1213C3.14523 7.38759 1.8789 4.22177 3.05047 3.05019C4.22205 1.87862 7.38787 3.14495 10.1215 5.87862C12.8552 8.61229 14.1215 11.7781 12.95 12.9497C11.7784 14.1213 8.61257 12.8549 5.8789 10.1213Z" stroke-width="2" stroke="#6C7C90" mask="url(#stroke1_deep_default)"/>
10
+ </svg>
@@ -0,0 +1,10 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <mask id="stroke0_32902_117846" fill="white">
3
+ <path d="M10.121 10.1213C7.38735 12.855 4.22152 14.1213 3.04995 12.9498C1.87838 11.7782 3.14471 8.61237 5.87838 5.8787C8.61205 3.14503 11.7779 1.8787 12.9494 3.05028C14.121 4.22185 12.8547 7.38767 10.121 10.1213Z"/>
4
+ </mask>
5
+ <path d="M10.121 10.1213C7.38735 12.855 4.22152 14.1213 3.04995 12.9498C1.87838 11.7782 3.14471 8.61237 5.87838 5.8787C8.61205 3.14503 11.7779 1.8787 12.9494 3.05028C14.121 4.22185 12.8547 7.38767 10.121 10.1213Z" stroke-width="2" stroke="#09B66D" mask="url(#stroke0_32902_117846)"/>
6
+ <mask id="stroke1_32902_117846" fill="white">
7
+ <path d="M5.8789 10.1213C3.14523 7.38759 1.8789 4.22177 3.05047 3.05019C4.22205 1.87862 7.38787 3.14495 10.1215 5.87862C12.8552 8.61229 14.1215 11.7781 12.95 12.9497C11.7784 14.1213 8.61257 12.8549 5.8789 10.1213Z"/>
8
+ </mask>
9
+ <path d="M5.8789 10.1213C3.14523 7.38759 1.8789 4.22177 3.05047 3.05019C4.22205 1.87862 7.38787 3.14495 10.1215 5.87862C12.8552 8.61229 14.1215 11.7781 12.95 12.9497C11.7784 14.1213 8.61257 12.8549 5.8789 10.1213Z" stroke-width="2" stroke="#09B66D" mask="url(#stroke1_32902_117846)"/>
10
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg preserveAspectRatio="none" overflow="visible" style="display: block;" width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <mask id="stroke0_0_2145" fill="white">
3
+ <path d="M7.9502 5.59961L14 6.91797L2.24805 14L5.45215 8.60254L0 7.08203L11.752 0L7.9502 5.59961Z"/>
4
+ </mask>
5
+ <path id="Union" d="M7.9502 5.59961L14 6.91797L2.24805 14L5.45215 8.60254L0 7.08203L11.752 0L7.9502 5.59961Z" stroke-width="2" stroke="#6C7C90" mask="url(#stroke0_0_2145)"/>
6
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg preserveAspectRatio="none" overflow="visible" style="display: block;" width="14" height="13.5395" viewBox="0 0 14 13.5395" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path id="Subtract" d="M12 0C13.1045 0 13.9999 0.895549 14 2V9.04785C13.9998 10.1523 13.1045 11.0479 12 11.0479H5.83984L4.42383 13.3057C4.27708 13.5395 3.96827 13.6096 3.73438 13.4629C3.50083 13.3162 3.42986 13.0082 3.57617 12.7744L4.65918 11.0479H4.57129L5.14844 10.0479H12C12.5174 10.0479 12.9436 9.65457 12.9951 9.15039L13 9.04785V2C12.9999 1.44783 12.5522 1 12 1H2C1.4478 1 1.00014 1.44783 1 2V9.04785C1.00017 9.6002 1.44804 10.0479 2 10.0479H3.67676L3.09961 11.0479H2C0.895539 11.0479 0.000175785 10.1523 0 9.04785V2C0.000140177 0.89555 0.895517 4.83155e-08 2 0H12Z" fill="#6C7C90"/>
3
+ </svg>
@@ -0,0 +1,27 @@
1
+ <svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g filter="url(#filter0_d_31940_792117)">
3
+ <rect x="8" y="8" width="48" height="48" rx="24" fill="white"/>
4
+ <g clip-path="url(#clip0_31940_792117)">
5
+ <path d="M23.4963 44.21H26.8949L30.5245 40.5796L34.1548 44.21H42.7254L30.5176 32.0019L27.3462 35.1734L32.8411 29.6792L36.2754 26.5791C36.5618 26.5791 35.9153 26.0662 35.9517 26.1543C35.9882 26.2425 36.0513 26.4689 35.8484 26.6718L32.8411 29.6792L37.1006 33.9387L39.383 31.6562L41.3935 29.6465C42.7603 27.9171 43.0871 25.6475 42.2216 23.558C41.259 21.2337 39.0989 19.79 36.5839 19.79H21.2754V44.21H23.4963Z" fill="url(#paint0_linear_31940_792117)"/>
6
+ </g>
7
+ <path d="M30.2754 21.79L32.031 26.8994L36.7754 28.79L32.031 30.6807L30.2754 35.79L28.5198 30.6807L23.7754 28.79L28.5198 26.8994L30.2754 21.79Z" fill="white"/>
8
+ </g>
9
+ <defs>
10
+ <filter id="filter0_d_31940_792117" x="0" y="0" width="64" height="64" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
11
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
12
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
13
+ <feOffset/>
14
+ <feGaussianBlur stdDeviation="4"/>
15
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
16
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_31940_792117"/>
17
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_31940_792117" result="shape"/>
18
+ </filter>
19
+ <linearGradient id="paint0_linear_31940_792117" x1="32.0004" y1="19.79" x2="32.0004" y2="44.21" gradientUnits="userSpaceOnUse">
20
+ <stop stop-color="#0299DA"/>
21
+ <stop offset="1" stop-color="#64CFCC"/>
22
+ </linearGradient>
23
+ <clipPath id="clip0_31940_792117">
24
+ <rect width="21.45" height="24.42" fill="white" transform="translate(21.2754 19.79)"/>
25
+ </clipPath>
26
+ </defs>
27
+ </svg>