@servicetitan/titan-chatbot-ui-anvil2 3.1.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.
Files changed (219) hide show
  1. package/CHANGELOG.md +166 -0
  2. package/README.md +15 -0
  3. package/dist/components/chatbot/__tests-cy__/chatbot-help-center.test.d.ts +2 -0
  4. package/dist/components/chatbot/__tests-cy__/chatbot-help-center.test.d.ts.map +1 -0
  5. package/dist/components/chatbot/__tests-cy__/chatbot-help-center.test.js +8 -0
  6. package/dist/components/chatbot/__tests-cy__/chatbot-help-center.test.js.map +1 -0
  7. package/dist/components/chatbot/__tests-cy__/chatbot-live.test.d.ts +2 -0
  8. package/dist/components/chatbot/__tests-cy__/chatbot-live.test.d.ts.map +1 -0
  9. package/dist/components/chatbot/__tests-cy__/chatbot-live.test.js +8 -0
  10. package/dist/components/chatbot/__tests-cy__/chatbot-live.test.js.map +1 -0
  11. package/dist/components/chatbot/__tests-cy__/chatbot-titan-chatbot.test.d.ts +2 -0
  12. package/dist/components/chatbot/__tests-cy__/chatbot-titan-chatbot.test.d.ts.map +1 -0
  13. package/dist/components/chatbot/__tests-cy__/chatbot-titan-chatbot.test.js +8 -0
  14. package/dist/components/chatbot/__tests-cy__/chatbot-titan-chatbot.test.js.map +1 -0
  15. package/dist/components/chatbot/__tests-cy__/chatbot.test.d.ts +2 -0
  16. package/dist/components/chatbot/__tests-cy__/chatbot.test.d.ts.map +1 -0
  17. package/dist/components/chatbot/__tests-cy__/chatbot.test.js +8 -0
  18. package/dist/components/chatbot/__tests-cy__/chatbot.test.js.map +1 -0
  19. package/dist/components/chatbot/chatbot-to-chat-provider-adapter.d.ts +6 -0
  20. package/dist/components/chatbot/chatbot-to-chat-provider-adapter.d.ts.map +1 -0
  21. package/dist/components/chatbot/chatbot-to-chat-provider-adapter.js +21 -0
  22. package/dist/components/chatbot/chatbot-to-chat-provider-adapter.js.map +1 -0
  23. package/dist/components/chatbot/chatbot.d.ts +10 -0
  24. package/dist/components/chatbot/chatbot.d.ts.map +1 -0
  25. package/dist/components/chatbot/chatbot.js +69 -0
  26. package/dist/components/chatbot/chatbot.js.map +1 -0
  27. package/dist/components/chatbot/chatbot.module.less +4 -0
  28. package/dist/components/chatbot/dialog/__tests-cy__/chatbot-restart-dialog.test.d.ts +2 -0
  29. package/dist/components/chatbot/dialog/__tests-cy__/chatbot-restart-dialog.test.d.ts.map +1 -0
  30. package/dist/components/chatbot/dialog/__tests-cy__/chatbot-restart-dialog.test.js +8 -0
  31. package/dist/components/chatbot/dialog/__tests-cy__/chatbot-restart-dialog.test.js.map +1 -0
  32. package/dist/components/chatbot/dialog/__tests-cy__/chatbot-restart-link.test.d.ts +2 -0
  33. package/dist/components/chatbot/dialog/__tests-cy__/chatbot-restart-link.test.d.ts.map +1 -0
  34. package/dist/components/chatbot/dialog/__tests-cy__/chatbot-restart-link.test.js +8 -0
  35. package/dist/components/chatbot/dialog/__tests-cy__/chatbot-restart-link.test.js.map +1 -0
  36. package/dist/components/chatbot/dialog/chatbot-restart-dialog.d.ts +6 -0
  37. package/dist/components/chatbot/dialog/chatbot-restart-dialog.d.ts.map +1 -0
  38. package/dist/components/chatbot/dialog/chatbot-restart-dialog.js +20 -0
  39. package/dist/components/chatbot/dialog/chatbot-restart-dialog.js.map +1 -0
  40. package/dist/components/chatbot/dialog/chatbot-restart-link.d.ts +4 -0
  41. package/dist/components/chatbot/dialog/chatbot-restart-link.d.ts.map +1 -0
  42. package/dist/components/chatbot/dialog/chatbot-restart-link.js +13 -0
  43. package/dist/components/chatbot/dialog/chatbot-restart-link.js.map +1 -0
  44. package/dist/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-form-guardrail.test.d.ts +2 -0
  45. package/dist/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-form-guardrail.test.d.ts.map +1 -0
  46. package/dist/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-form-guardrail.test.js +8 -0
  47. package/dist/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-form-guardrail.test.js.map +1 -0
  48. package/dist/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-form.test.d.ts +2 -0
  49. package/dist/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-form.test.d.ts.map +1 -0
  50. package/dist/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-form.test.js +8 -0
  51. package/dist/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-form.test.js.map +1 -0
  52. package/dist/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-popover.test.d.ts +2 -0
  53. package/dist/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-popover.test.d.ts.map +1 -0
  54. package/dist/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-popover.test.js +8 -0
  55. package/dist/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-popover.test.js.map +1 -0
  56. package/dist/components/chatbot/feedback/__tests-cy__/chatbot-session-feedback-modal.test.d.ts +2 -0
  57. package/dist/components/chatbot/feedback/__tests-cy__/chatbot-session-feedback-modal.test.d.ts.map +1 -0
  58. package/dist/components/chatbot/feedback/__tests-cy__/chatbot-session-feedback-modal.test.js +8 -0
  59. package/dist/components/chatbot/feedback/__tests-cy__/chatbot-session-feedback-modal.test.js.map +1 -0
  60. package/dist/components/chatbot/feedback/chatbot-message-feedback-form-guardrail.d.ts +3 -0
  61. package/dist/components/chatbot/feedback/chatbot-message-feedback-form-guardrail.d.ts.map +1 -0
  62. package/dist/components/chatbot/feedback/chatbot-message-feedback-form-guardrail.js +16 -0
  63. package/dist/components/chatbot/feedback/chatbot-message-feedback-form-guardrail.js.map +1 -0
  64. package/dist/components/chatbot/feedback/chatbot-message-feedback-form.d.ts +3 -0
  65. package/dist/components/chatbot/feedback/chatbot-message-feedback-form.d.ts.map +1 -0
  66. package/dist/components/chatbot/feedback/chatbot-message-feedback-form.js +18 -0
  67. package/dist/components/chatbot/feedback/chatbot-message-feedback-form.js.map +1 -0
  68. package/dist/components/chatbot/feedback/chatbot-message-feedback-form.module.less +15 -0
  69. package/dist/components/chatbot/feedback/chatbot-message-feedback-popover.d.ts +9 -0
  70. package/dist/components/chatbot/feedback/chatbot-message-feedback-popover.d.ts.map +1 -0
  71. package/dist/components/chatbot/feedback/chatbot-message-feedback-popover.js +61 -0
  72. package/dist/components/chatbot/feedback/chatbot-message-feedback-popover.js.map +1 -0
  73. package/dist/components/chatbot/feedback/chatbot-message-feedback-popover.module.less +14 -0
  74. package/dist/components/chatbot/feedback/chatbot-message-feedback.d.ts +9 -0
  75. package/dist/components/chatbot/feedback/chatbot-message-feedback.d.ts.map +1 -0
  76. package/dist/components/chatbot/feedback/chatbot-message-feedback.js +17 -0
  77. package/dist/components/chatbot/feedback/chatbot-message-feedback.js.map +1 -0
  78. package/dist/components/chatbot/feedback/chatbot-session-feedback-link.d.ts +4 -0
  79. package/dist/components/chatbot/feedback/chatbot-session-feedback-link.d.ts.map +1 -0
  80. package/dist/components/chatbot/feedback/chatbot-session-feedback-link.js +15 -0
  81. package/dist/components/chatbot/feedback/chatbot-session-feedback-link.js.map +1 -0
  82. package/dist/components/chatbot/feedback/chatbot-session-feedback-modal.d.ts +5 -0
  83. package/dist/components/chatbot/feedback/chatbot-session-feedback-modal.d.ts.map +1 -0
  84. package/dist/components/chatbot/feedback/chatbot-session-feedback-modal.js +25 -0
  85. package/dist/components/chatbot/feedback/chatbot-session-feedback-modal.js.map +1 -0
  86. package/dist/components/chatbot/filters/__tests-cy__/chatbot-filters.test.d.ts +2 -0
  87. package/dist/components/chatbot/filters/__tests-cy__/chatbot-filters.test.d.ts.map +1 -0
  88. package/dist/components/chatbot/filters/__tests-cy__/chatbot-filters.test.js +8 -0
  89. package/dist/components/chatbot/filters/__tests-cy__/chatbot-filters.test.js.map +1 -0
  90. package/dist/components/chatbot/filters/chatbot-filter-button.d.ts +7 -0
  91. package/dist/components/chatbot/filters/chatbot-filter-button.d.ts.map +1 -0
  92. package/dist/components/chatbot/filters/chatbot-filter-button.js +39 -0
  93. package/dist/components/chatbot/filters/chatbot-filter-button.js.map +1 -0
  94. package/dist/components/chatbot/filters/chatbot-filter.d.ts +8 -0
  95. package/dist/components/chatbot/filters/chatbot-filter.d.ts.map +1 -0
  96. package/dist/components/chatbot/filters/chatbot-filter.js +71 -0
  97. package/dist/components/chatbot/filters/chatbot-filter.js.map +1 -0
  98. package/dist/components/chatbot/filters/chatbot-filter.module.css +43 -0
  99. package/dist/components/chatbot/filters/chatbot-filters.d.ts +5 -0
  100. package/dist/components/chatbot/filters/chatbot-filters.d.ts.map +1 -0
  101. package/dist/components/chatbot/filters/chatbot-filters.js +11 -0
  102. package/dist/components/chatbot/filters/chatbot-filters.js.map +1 -0
  103. package/dist/components/chatbot/messages/__tests-cy__/chatbot-links.test.d.ts +2 -0
  104. package/dist/components/chatbot/messages/__tests-cy__/chatbot-links.test.d.ts.map +1 -0
  105. package/dist/components/chatbot/messages/__tests-cy__/chatbot-links.test.js +8 -0
  106. package/dist/components/chatbot/messages/__tests-cy__/chatbot-links.test.js.map +1 -0
  107. package/dist/components/chatbot/messages/__tests-cy__/chatbot-message-answer-readonly.test.d.ts +2 -0
  108. package/dist/components/chatbot/messages/__tests-cy__/chatbot-message-answer-readonly.test.d.ts.map +1 -0
  109. package/dist/components/chatbot/messages/__tests-cy__/chatbot-message-answer-readonly.test.js +8 -0
  110. package/dist/components/chatbot/messages/__tests-cy__/chatbot-message-answer-readonly.test.js.map +1 -0
  111. package/dist/components/chatbot/messages/__tests-cy__/chatbot-message-answer.test.d.ts +2 -0
  112. package/dist/components/chatbot/messages/__tests-cy__/chatbot-message-answer.test.d.ts.map +1 -0
  113. package/dist/components/chatbot/messages/__tests-cy__/chatbot-message-answer.test.js +8 -0
  114. package/dist/components/chatbot/messages/__tests-cy__/chatbot-message-answer.test.js.map +1 -0
  115. package/dist/components/chatbot/messages/__tests-cy__/chatbot-message-typing.test.d.ts +2 -0
  116. package/dist/components/chatbot/messages/__tests-cy__/chatbot-message-typing.test.d.ts.map +1 -0
  117. package/dist/components/chatbot/messages/__tests-cy__/chatbot-message-typing.test.js +8 -0
  118. package/dist/components/chatbot/messages/__tests-cy__/chatbot-message-typing.test.js.map +1 -0
  119. package/dist/components/chatbot/messages/chatbot-links.d.ts +15 -0
  120. package/dist/components/chatbot/messages/chatbot-links.d.ts.map +1 -0
  121. package/dist/components/chatbot/messages/chatbot-links.js +21 -0
  122. package/dist/components/chatbot/messages/chatbot-links.js.map +1 -0
  123. package/dist/components/chatbot/messages/chatbot-links.module.less +24 -0
  124. package/dist/components/chatbot/messages/chatbot-message-agent-footer.d.ts +8 -0
  125. package/dist/components/chatbot/messages/chatbot-message-agent-footer.d.ts.map +1 -0
  126. package/dist/components/chatbot/messages/chatbot-message-agent-footer.js +13 -0
  127. package/dist/components/chatbot/messages/chatbot-message-agent-footer.js.map +1 -0
  128. package/dist/components/chatbot/messages/chatbot-message-answer-readonly.d.ts +6 -0
  129. package/dist/components/chatbot/messages/chatbot-message-answer-readonly.d.ts.map +1 -0
  130. package/dist/components/chatbot/messages/chatbot-message-answer-readonly.js +17 -0
  131. package/dist/components/chatbot/messages/chatbot-message-answer-readonly.js.map +1 -0
  132. package/dist/components/chatbot/messages/chatbot-message-answer.d.ts +6 -0
  133. package/dist/components/chatbot/messages/chatbot-message-answer.d.ts.map +1 -0
  134. package/dist/components/chatbot/messages/chatbot-message-answer.js +29 -0
  135. package/dist/components/chatbot/messages/chatbot-message-answer.js.map +1 -0
  136. package/dist/components/chatbot/messages/chatbot-message-answer.module.less +3 -0
  137. package/dist/components/chatbot/messages/chatbot-message-timeout.d.ts +6 -0
  138. package/dist/components/chatbot/messages/chatbot-message-timeout.d.ts.map +1 -0
  139. package/dist/components/chatbot/messages/chatbot-message-timeout.js +17 -0
  140. package/dist/components/chatbot/messages/chatbot-message-timeout.js.map +1 -0
  141. package/dist/components/chatbot/messages/chatbot-message-typing.d.ts +8 -0
  142. package/dist/components/chatbot/messages/chatbot-message-typing.d.ts.map +1 -0
  143. package/dist/components/chatbot/messages/chatbot-message-typing.js +27 -0
  144. package/dist/components/chatbot/messages/chatbot-message-typing.js.map +1 -0
  145. package/dist/components/chatbot/messages/chatbot-message-welcome.d.ts +3 -0
  146. package/dist/components/chatbot/messages/chatbot-message-welcome.d.ts.map +1 -0
  147. package/dist/components/chatbot/messages/chatbot-message-welcome.js +4 -0
  148. package/dist/components/chatbot/messages/chatbot-message-welcome.js.map +1 -0
  149. package/dist/components/chatbot/templates/chatbot-message-template-agent-readonly.d.ts +6 -0
  150. package/dist/components/chatbot/templates/chatbot-message-template-agent-readonly.d.ts.map +1 -0
  151. package/dist/components/chatbot/templates/chatbot-message-template-agent-readonly.js +12 -0
  152. package/dist/components/chatbot/templates/chatbot-message-template-agent-readonly.js.map +1 -0
  153. package/dist/components/chatbot/templates/chatbot-message-template-agent.d.ts +6 -0
  154. package/dist/components/chatbot/templates/chatbot-message-template-agent.d.ts.map +1 -0
  155. package/dist/components/chatbot/templates/chatbot-message-template-agent.js +10 -0
  156. package/dist/components/chatbot/templates/chatbot-message-template-agent.js.map +1 -0
  157. package/dist/components/chatbot/templates/chatbot-message-template-user-readonly.d.ts +6 -0
  158. package/dist/components/chatbot/templates/chatbot-message-template-user-readonly.d.ts.map +1 -0
  159. package/dist/components/chatbot/templates/chatbot-message-template-user-readonly.js +7 -0
  160. package/dist/components/chatbot/templates/chatbot-message-template-user-readonly.js.map +1 -0
  161. package/dist/index.d.ts +6 -0
  162. package/dist/index.d.ts.map +1 -0
  163. package/dist/index.js +6 -0
  164. package/dist/index.js.map +1 -0
  165. package/package.json +59 -0
  166. package/src/components/chatbot/__tests-cy__/chatbot-help-center.test.tsx +9 -0
  167. package/src/components/chatbot/__tests-cy__/chatbot-live.test.tsx +7 -0
  168. package/src/components/chatbot/__tests-cy__/chatbot-titan-chatbot.test.tsx +9 -0
  169. package/src/components/chatbot/__tests-cy__/chatbot.test.tsx +7 -0
  170. package/src/components/chatbot/chatbot-to-chat-provider-adapter.tsx +36 -0
  171. package/src/components/chatbot/chatbot.module.less +4 -0
  172. package/src/components/chatbot/chatbot.module.less.d.ts +3 -0
  173. package/src/components/chatbot/chatbot.tsx +99 -0
  174. package/src/components/chatbot/dialog/__tests-cy__/chatbot-restart-dialog.test.tsx +9 -0
  175. package/src/components/chatbot/dialog/__tests-cy__/chatbot-restart-link.test.tsx +9 -0
  176. package/src/components/chatbot/dialog/chatbot-restart-dialog.tsx +41 -0
  177. package/src/components/chatbot/dialog/chatbot-restart-link.tsx +29 -0
  178. package/src/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-form-guardrail.test.tsx +10 -0
  179. package/src/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-form.test.tsx +9 -0
  180. package/src/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-popover.test.tsx +9 -0
  181. package/src/components/chatbot/feedback/__tests-cy__/chatbot-session-feedback-modal.test.tsx +9 -0
  182. package/src/components/chatbot/feedback/chatbot-message-feedback-form-guardrail.tsx +40 -0
  183. package/src/components/chatbot/feedback/chatbot-message-feedback-form.module.less +15 -0
  184. package/src/components/chatbot/feedback/chatbot-message-feedback-form.module.less.d.ts +4 -0
  185. package/src/components/chatbot/feedback/chatbot-message-feedback-form.tsx +76 -0
  186. package/src/components/chatbot/feedback/chatbot-message-feedback-popover.module.less +14 -0
  187. package/src/components/chatbot/feedback/chatbot-message-feedback-popover.module.less.d.ts +5 -0
  188. package/src/components/chatbot/feedback/chatbot-message-feedback-popover.tsx +207 -0
  189. package/src/components/chatbot/feedback/chatbot-message-feedback.tsx +27 -0
  190. package/src/components/chatbot/feedback/chatbot-session-feedback-link.tsx +27 -0
  191. package/src/components/chatbot/feedback/chatbot-session-feedback-modal.tsx +95 -0
  192. package/src/components/chatbot/filters/__tests-cy__/chatbot-filters.test.tsx +9 -0
  193. package/src/components/chatbot/filters/chatbot-filter-button.tsx +58 -0
  194. package/src/components/chatbot/filters/chatbot-filter.module.css +43 -0
  195. package/src/components/chatbot/filters/chatbot-filter.module.css.d.ts +5 -0
  196. package/src/components/chatbot/filters/chatbot-filter.tsx +166 -0
  197. package/src/components/chatbot/filters/chatbot-filters.tsx +17 -0
  198. package/src/components/chatbot/messages/__tests-cy__/chatbot-links.test.tsx +9 -0
  199. package/src/components/chatbot/messages/__tests-cy__/chatbot-message-answer-readonly.test.tsx +9 -0
  200. package/src/components/chatbot/messages/__tests-cy__/chatbot-message-answer.test.tsx +9 -0
  201. package/src/components/chatbot/messages/__tests-cy__/chatbot-message-typing.test.tsx +9 -0
  202. package/src/components/chatbot/messages/chatbot-links.module.less +24 -0
  203. package/src/components/chatbot/messages/chatbot-links.module.less.d.ts +5 -0
  204. package/src/components/chatbot/messages/chatbot-links.tsx +73 -0
  205. package/src/components/chatbot/messages/chatbot-message-agent-footer.tsx +35 -0
  206. package/src/components/chatbot/messages/chatbot-message-answer-readonly.tsx +39 -0
  207. package/src/components/chatbot/messages/chatbot-message-answer.module.less +3 -0
  208. package/src/components/chatbot/messages/chatbot-message-answer.module.less.d.ts +3 -0
  209. package/src/components/chatbot/messages/chatbot-message-answer.tsx +55 -0
  210. package/src/components/chatbot/messages/chatbot-message-timeout.tsx +20 -0
  211. package/src/components/chatbot/messages/chatbot-message-typing.tsx +43 -0
  212. package/src/components/chatbot/messages/chatbot-message-welcome.tsx +16 -0
  213. package/src/components/chatbot/templates/chatbot-message-template-agent-readonly.tsx +25 -0
  214. package/src/components/chatbot/templates/chatbot-message-template-agent.tsx +25 -0
  215. package/src/components/chatbot/templates/chatbot-message-template-user-readonly.tsx +16 -0
  216. package/src/cypress.d.ts +10 -0
  217. package/src/index.ts +5 -0
  218. package/tsconfig.json +25 -0
  219. package/tsconfig.tsbuildinfo +1 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,166 @@
1
+ # v3.1.1 (Thu Aug 14 2025)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - SPA-7016: [Chatbot] Add Anvil2 support for chatbot NPM packages [#41](https://github.com/servicetitan/titan-chatbot-client/pull/41) ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
6
+
7
+ #### Authors: 1
8
+
9
+ - Alexandr Yarmolchuk ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
10
+
11
+ ---
12
+
13
+ # v3.0.1 (Tue Jul 15 2025)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - SPA-6889: Minor feedback fix. [#34](https://github.com/servicetitan/titan-chatbot-client/pull/34) ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
18
+
19
+ #### Authors: 1
20
+
21
+ - Alexandr Yarmolchuk ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
22
+
23
+ ---
24
+
25
+ # v3.0.0 (Tue Jul 15 2025)
26
+
27
+ #### 💥 Breaking Change
28
+
29
+ - SPA-6889: Common client interface for HC Chatbot and Titan Chatbot [#28](https://github.com/servicetitan/titan-chatbot-client/pull/28) ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
30
+
31
+ #### Authors: 1
32
+
33
+ - Alexandr Yarmolchuk ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
34
+
35
+ ---
36
+
37
+ # v2.1.2 (Mon Jul 07 2025)
38
+
39
+ #### 🐛 Bug Fix
40
+
41
+ - SPA-6554: Display the "Last Updated" date for Internal Chatbots [#33](https://github.com/servicetitan/titan-chatbot-client/pull/33) ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
42
+
43
+ #### Authors: 1
44
+
45
+ - Alexandr Yarmolchuk ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
46
+
47
+ ---
48
+
49
+ # v2.1.1 (Thu Jul 03 2025)
50
+
51
+ #### 🐛 Bug Fix
52
+
53
+ - SPA-6554: Display the "Last Updated" date for Internal Chatbots [#31](https://github.com/servicetitan/titan-chatbot-client/pull/31) ([@sevakekizyanst](https://github.com/sevakekizyanst))
54
+
55
+ #### Authors: 1
56
+
57
+ - Sevak Ekizyan ([@sevakekizyanst](https://github.com/sevakekizyanst))
58
+
59
+ ---
60
+
61
+ # v2.1.0 (Tue Jun 10 2025)
62
+
63
+ #### 🚀 Enhancement
64
+
65
+ - SPA-6766: Extended cypress helpers [#23](https://github.com/servicetitan/titan-chatbot-client/pull/23) ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
66
+
67
+ #### Authors: 1
68
+
69
+ - Alexandr Yarmolchuk ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
70
+
71
+ ---
72
+
73
+ # v2.0.3 (Mon Jun 09 2025)
74
+
75
+ #### 🐛 Bug Fix
76
+
77
+ - SPA-6766: Reorganized packages [#21](https://github.com/servicetitan/titan-chatbot-client/pull/21) ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
78
+
79
+ #### Authors: 1
80
+
81
+ - Alexandr Yarmolchuk ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
82
+
83
+ ---
84
+
85
+ # v2.0.2 (Mon Jun 09 2025)
86
+
87
+ #### 🐛 Bug Fix
88
+
89
+ - SPA-6766: Changed local import [#18](https://github.com/servicetitan/titan-chatbot-client/pull/18) ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
90
+ - SPA-6766: [Chat/Chatbot package] Create missing unit and cypress comp… [#17](https://github.com/servicetitan/titan-chatbot-client/pull/17) ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
91
+
92
+ #### Authors: 1
93
+
94
+ - Alexandr Yarmolchuk ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
95
+
96
+ ---
97
+
98
+ # v2.0.1 (Tue Jun 03 2025)
99
+
100
+ #### 🐛 Bug Fix
101
+
102
+ - SPA-6767: [Help Center] Utilize chat/chatbot UI packages in the HC [#14](https://github.com/servicetitan/titan-chatbot-client/pull/14) ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
103
+
104
+ #### Authors: 1
105
+
106
+ - Alexandr Yarmolchuk ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
107
+
108
+ ---
109
+
110
+ # v2.0.0 (Mon Jun 02 2025)
111
+
112
+ #### 💥 Breaking Change
113
+
114
+ - SPA-6767: [Help Center] Utilize chat/chatbot UI packages in the HC [#13](https://github.com/servicetitan/titan-chatbot-client/pull/13) ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
115
+
116
+ #### Authors: 1
117
+
118
+ - Alexandr Yarmolchuk ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
119
+
120
+ ---
121
+
122
+ # v1.1.2 (Wed May 21 2025)
123
+
124
+ #### 🐛 Bug Fix
125
+
126
+ - SPA-5484 [#10](https://github.com/servicetitan/titan-chatbot-client/pull/10) ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
127
+
128
+ #### Authors: 1
129
+
130
+ - Alexandr Yarmolchuk ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
131
+
132
+ ---
133
+
134
+ # v1.1.1 (Tue May 13 2025)
135
+
136
+ #### 🐛 Bug Fix
137
+
138
+ - SPA-5484: Move chatbot stores into the package [#8](https://github.com/servicetitan/titan-chatbot-client/pull/8) ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
139
+
140
+ #### Authors: 1
141
+
142
+ - Alexandr Yarmolchuk ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
143
+
144
+ ---
145
+
146
+ # v1.1.0 (Tue May 13 2025)
147
+
148
+ #### 🚀 Enhancement
149
+
150
+ - SPA-5484: Improved error handling [#7](https://github.com/servicetitan/titan-chatbot-client/pull/7) ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
151
+
152
+ #### Authors: 1
153
+
154
+ - Alexandr Yarmolchuk ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
155
+
156
+ ---
157
+
158
+ # v0.0.0 (Mon May 12 2025)
159
+
160
+ #### ⚠️ Pushed to `master`
161
+
162
+ Initial commit!
163
+
164
+ #### Authors: 1
165
+
166
+ - Alexandr Yarmolchuk ([@AlexYarmolchuk](https://github.com/AlexYarmolchuk))
package/README.md ADDED
@@ -0,0 +1,15 @@
1
+ # ServiceTitan Chatbot Client UI
2
+
3
+ This package contains the React components and hooks for the ServiceTitan Chatbot UI. Also, it contains the API client for the ServiceTitan Chatbot API.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @servicetitan/titan-chatbot-client
9
+ ```
10
+
11
+ ## Description
12
+
13
+ This package provides a set of React components and hooks for building chatbot interfaces in ServiceTitan applications. It is designed to be used with the ServiceTitan Chatbot API and provides a consistent look and feel across different chatbot interfaces.
14
+
15
+ The components are based on the ServiceTitan design system and are built to be easily customizable and extensible.
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chatbot-help-center.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-help-center.test.d.ts","sourceRoot":"","sources":["../../../../src/components/chatbot/__tests-cy__/chatbot-help-center.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { AnvilProvider } from '@servicetitan/anvil2';
3
+ import { runChatbotHelpCenterSharedTests } from '@servicetitan/titan-chatbot-ui-cypress';
4
+ import { Chatbot } from '../chatbot';
5
+ describe('[Chatbot with Help Center API]', () => {
6
+ runChatbotHelpCenterSharedTests(Chatbot, component => (_jsx(AnvilProvider, { children: component })));
7
+ });
8
+ //# sourceMappingURL=chatbot-help-center.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-help-center.test.js","sourceRoot":"","sources":["../../../../src/components/chatbot/__tests-cy__/chatbot-help-center.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,+BAA+B,EAAE,MAAM,wCAAwC,CAAC;AACzF,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,QAAQ,CAAC,gCAAgC,EAAE,GAAG,EAAE;IAC5C,+BAA+B,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,CAAC,CAClD,KAAC,aAAa,cAAE,SAAS,GAAiB,CAC7C,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chatbot-live.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-live.test.d.ts","sourceRoot":"","sources":["../../../../src/components/chatbot/__tests-cy__/chatbot-live.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { AnvilProvider } from '@servicetitan/anvil2';
3
+ import { runChatbotLiveSharedTests } from '@servicetitan/titan-chatbot-ui-cypress';
4
+ import { Chatbot } from '../chatbot';
5
+ describe('[Chatbot]', () => {
6
+ runChatbotLiveSharedTests(Chatbot, component => _jsx(AnvilProvider, { children: component }));
7
+ });
8
+ //# sourceMappingURL=chatbot-live.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-live.test.js","sourceRoot":"","sources":["../../../../src/components/chatbot/__tests-cy__/chatbot-live.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;IACvB,yBAAyB,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,CAAC,KAAC,aAAa,cAAE,SAAS,GAAiB,CAAC,CAAC;AAChG,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chatbot-titan-chatbot.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-titan-chatbot.test.d.ts","sourceRoot":"","sources":["../../../../src/components/chatbot/__tests-cy__/chatbot-titan-chatbot.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { AnvilProvider } from '@servicetitan/anvil2';
3
+ import { runChatbotTitanChatbotSharedTests } from '@servicetitan/titan-chatbot-ui-cypress';
4
+ import { Chatbot } from '../chatbot';
5
+ describe('[Chatbot with Titan Chat API]', () => {
6
+ runChatbotTitanChatbotSharedTests(Chatbot, component => (_jsx(AnvilProvider, { children: component })));
7
+ });
8
+ //# sourceMappingURL=chatbot-titan-chatbot.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-titan-chatbot.test.js","sourceRoot":"","sources":["../../../../src/components/chatbot/__tests-cy__/chatbot-titan-chatbot.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,QAAQ,CAAC,+BAA+B,EAAE,GAAG,EAAE;IAC3C,iCAAiC,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,CAAC,CACpD,KAAC,aAAa,cAAE,SAAS,GAAiB,CAC7C,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chatbot.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot.test.d.ts","sourceRoot":"","sources":["../../../../src/components/chatbot/__tests-cy__/chatbot.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { AnvilProvider } from '@servicetitan/anvil2';
3
+ import { runChatbotSharedTests } from '@servicetitan/titan-chatbot-ui-cypress';
4
+ import { Chatbot } from '../chatbot';
5
+ describe('[Chatbot]', () => {
6
+ runChatbotSharedTests(Chatbot, component => _jsx(AnvilProvider, { children: component }));
7
+ });
8
+ //# sourceMappingURL=chatbot.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot.test.js","sourceRoot":"","sources":["../../../../src/components/chatbot/__tests-cy__/chatbot.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;IACvB,qBAAqB,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,CAAC,KAAC,aAAa,cAAE,SAAS,GAAiB,CAAC,CAAC;AAC5F,CAAC,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { FC, PropsWithChildren } from 'react';
2
+ /**
3
+ * Passes the Chatbot UI store and backend store to the Chat UI providers.
4
+ */
5
+ export declare const ChatbotToChatProviderAdapter: FC<PropsWithChildren>;
6
+ //# sourceMappingURL=chatbot-to-chat-provider-adapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-to-chat-provider-adapter.d.ts","sourceRoot":"","sources":["../../../src/components/chatbot/chatbot-to-chat-provider-adapter.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,EAAE,CAAC,iBAAiB,CAqB9D,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Provider, useDependencies } from '@servicetitan/react-ioc';
3
+ import { CHAT_UI_BACKEND_STORE_TOKEN, CHAT_UI_STORE_TOKEN, } from '@servicetitan/titan-chat-ui-common';
4
+ import { CHATBOT_UI_BACKEND_STORE_TOKEN, CHATBOT_UI_STORE_TOKEN, } from '@servicetitan/titan-chatbot-api';
5
+ /**
6
+ * Passes the Chatbot UI store and backend store to the Chat UI providers.
7
+ */
8
+ export const ChatbotToChatProviderAdapter = ({ children }) => {
9
+ const [chatbotUiStore, chatbotUiBackendStore] = useDependencies(CHATBOT_UI_STORE_TOKEN, CHATBOT_UI_BACKEND_STORE_TOKEN);
10
+ return (_jsx(Provider, { singletons: [
11
+ {
12
+ provide: CHAT_UI_STORE_TOKEN,
13
+ useValue: chatbotUiStore,
14
+ },
15
+ {
16
+ provide: CHAT_UI_BACKEND_STORE_TOKEN,
17
+ useValue: chatbotUiBackendStore,
18
+ },
19
+ ], children: children }));
20
+ };
21
+ //# sourceMappingURL=chatbot-to-chat-provider-adapter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-to-chat-provider-adapter.js","sourceRoot":"","sources":["../../../src/components/chatbot/chatbot-to-chat-provider-adapter.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EACH,2BAA2B,EAC3B,mBAAmB,GACtB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACH,8BAA8B,EAC9B,sBAAsB,GACzB,MAAM,iCAAiC,CAAC;AAGzC;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAA0B,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IAChF,MAAM,CAAC,cAAc,EAAE,qBAAqB,CAAC,GAAG,eAAe,CAC3D,sBAAsB,EACtB,8BAA8B,CACjC,CAAC;IACF,OAAO,CACH,KAAC,QAAQ,IACL,UAAU,EAAE;YACR;gBACI,OAAO,EAAE,mBAAmB;gBAC5B,QAAQ,EAAE,cAAc;aAC3B;YACD;gBACI,OAAO,EAAE,2BAA2B;gBACpC,QAAQ,EAAE,qBAAqB;aAClC;SACJ,YAEA,QAAQ,GACF,CACd,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { ChatbotCustomizations } from '@servicetitan/titan-chatbot-api';
2
+ import { CSSProperties, FC } from 'react';
3
+ export interface IChatbotProps {
4
+ className?: string;
5
+ style?: CSSProperties;
6
+ customizations?: ChatbotCustomizations;
7
+ onReady?: () => void;
8
+ }
9
+ export declare const Chatbot: FC<IChatbotProps>;
10
+ //# sourceMappingURL=chatbot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot.d.ts","sourceRoot":"","sources":["../../../src/components/chatbot/chatbot.tsx"],"names":[],"mappings":"AASA,OAAO,EAGH,qBAAqB,EACxB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,aAAa,EAAE,EAAE,EAAsB,MAAM,OAAO,CAAC;AAU9D,MAAM,WAAW,aAAa;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,cAAc,CAAC,EAAE,qBAAqB,CAAC;IACvC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,aAAa,CAkErC,CAAC"}
@@ -0,0 +1,69 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Flex } from '@servicetitan/anvil2';
3
+ import { useDependencies } from '@servicetitan/react-ioc';
4
+ import { Chat } from '@servicetitan/titan-chat-ui-anvil2';
5
+ import { ChatParticipantIcon, } from '@servicetitan/titan-chat-ui-common';
6
+ import { CHATBOT_UI_BACKEND_STORE_TOKEN, CHATBOT_UI_STORE_TOKEN, } from '@servicetitan/titan-chatbot-api';
7
+ import { observer } from 'mobx-react';
8
+ import { useEffect, useMemo } from 'react';
9
+ import { ChatbotToChatProviderAdapter } from './chatbot-to-chat-provider-adapter';
10
+ import * as Styles from './chatbot.module.less';
11
+ import { ChatFilters } from './filters/chatbot-filters';
12
+ import { ChatbotMessageAnswer } from './messages/chatbot-message-answer';
13
+ import { ChatbotMessageTimeout } from './messages/chatbot-message-timeout';
14
+ import { ChatbotMessageTyping } from './messages/chatbot-message-typing';
15
+ import { ChatbotMessageWelcome } from './messages/chatbot-message-welcome';
16
+ import { ChatbotMessageTemplateAgent } from './templates/chatbot-message-template-agent';
17
+ export const Chatbot = observer(({ className, customizations, onReady, style }) => {
18
+ var _a;
19
+ const [chatUiStore, chatUiBackendStore] = useDependencies(CHATBOT_UI_STORE_TOKEN, CHATBOT_UI_BACKEND_STORE_TOKEN);
20
+ useEffect(() => {
21
+ const init = async () => {
22
+ chatUiBackendStore.subscribe();
23
+ await chatUiStore.run({
24
+ agentName: 'Titan',
25
+ agentIcon: ChatParticipantIcon.Bot,
26
+ });
27
+ onReady === null || onReady === void 0 ? void 0 : onReady();
28
+ };
29
+ init().then(() => { });
30
+ return () => chatUiBackendStore.unsubscribe();
31
+ // eslint-disable-next-line react-hooks/exhaustive-deps
32
+ }, []);
33
+ const customizationsMerged = useMemo(() => {
34
+ var _a, _b, _c, _d;
35
+ const templateCustomizations = (_a = customizations === null || customizations === void 0 ? void 0 : customizations.messageTemplates) !== null && _a !== void 0 ? _a : {};
36
+ templateCustomizations.agent = (_b = templateCustomizations.agent) !== null && _b !== void 0 ? _b : {
37
+ predicate: message => message.participant.isAgent,
38
+ component: ChatbotMessageTemplateAgent,
39
+ };
40
+ return {
41
+ error: customizations === null || customizations === void 0 ? void 0 : customizations.error,
42
+ filters: customizations === null || customizations === void 0 ? void 0 : customizations.filters,
43
+ feedback: customizations === null || customizations === void 0 ? void 0 : customizations.feedback,
44
+ footerComponent: customizations === null || customizations === void 0 ? void 0 : customizations.footerComponent,
45
+ messageTyping: (_c = customizations === null || customizations === void 0 ? void 0 : customizations.messageTyping) !== null && _c !== void 0 ? _c : {
46
+ component: ChatbotMessageTyping,
47
+ },
48
+ messages: [
49
+ ...((_d = customizations === null || customizations === void 0 ? void 0 : customizations.messages) !== null && _d !== void 0 ? _d : []),
50
+ {
51
+ predicate: (message) => message.type === 'welcome',
52
+ component: ChatbotMessageWelcome,
53
+ },
54
+ {
55
+ predicate: (message) => message.participant.isAgent && message.type === 'message',
56
+ component: ChatbotMessageAnswer,
57
+ },
58
+ {
59
+ predicate: (message) => message.type === 'timeout',
60
+ component: ChatbotMessageTimeout,
61
+ isSystem: true,
62
+ },
63
+ ],
64
+ messageTemplates: templateCustomizations,
65
+ };
66
+ }, [customizations]);
67
+ return (_jsx(ChatbotToChatProviderAdapter, { children: _jsxs(Flex, { direction: "column", className: className, style: style, children: [_jsx(Chat, { className: Styles.chat, customizations: customizationsMerged }), Boolean((_a = customizationsMerged.filters) === null || _a === void 0 ? void 0 : _a.enabled) && (_jsx(ChatFilters, { className: "p-inline-6 p-block-end-4" }))] }) }));
68
+ });
69
+ //# sourceMappingURL=chatbot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot.js","sourceRoot":"","sources":["../../../src/components/chatbot/chatbot.tsx"],"names":[],"mappings":"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"}
@@ -0,0 +1,4 @@
1
+ .chat {
2
+ flex-grow: 1;
3
+ height: 0;
4
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chatbot-restart-dialog.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-restart-dialog.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/chatbot/dialog/__tests-cy__/chatbot-restart-dialog.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { AnvilProvider } from '@servicetitan/anvil2';
3
+ import { runChatbotRestartDialogSharedTests } from '@servicetitan/titan-chatbot-ui-cypress';
4
+ import { ChatbotRestartDialog } from '../chatbot-restart-dialog';
5
+ describe('[ChatbotRestartDialog]', () => {
6
+ runChatbotRestartDialogSharedTests(ChatbotRestartDialog, component => (_jsx(AnvilProvider, { children: component })));
7
+ });
8
+ //# sourceMappingURL=chatbot-restart-dialog.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-restart-dialog.test.js","sourceRoot":"","sources":["../../../../../src/components/chatbot/dialog/__tests-cy__/chatbot-restart-dialog.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAC5F,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,QAAQ,CAAC,wBAAwB,EAAE,GAAG,EAAE;IACpC,kCAAkC,CAAC,oBAAoB,EAAE,SAAS,CAAC,EAAE,CAAC,CAClE,KAAC,aAAa,cAAE,SAAS,GAAiB,CAC7C,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chatbot-restart-link.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-restart-link.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/chatbot/dialog/__tests-cy__/chatbot-restart-link.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { AnvilProvider } from '@servicetitan/anvil2';
3
+ import { runChatbotRestartLinkSharedTests } from '@servicetitan/titan-chatbot-ui-cypress';
4
+ import { ChatbotRestartLink } from '../chatbot-restart-link';
5
+ describe('[ChatbotRestartLink]', () => {
6
+ runChatbotRestartLinkSharedTests(ChatbotRestartLink, component => (_jsx(AnvilProvider, { children: component })));
7
+ });
8
+ //# sourceMappingURL=chatbot-restart-link.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-restart-link.test.js","sourceRoot":"","sources":["../../../../../src/components/chatbot/dialog/__tests-cy__/chatbot-restart-link.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,gCAAgC,EAAE,MAAM,wCAAwC,CAAC;AAC1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;IAClC,gCAAgC,CAAC,kBAAkB,EAAE,SAAS,CAAC,EAAE,CAAC,CAC9D,KAAC,aAAa,cAAE,SAAS,GAAiB,CAC7C,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ export declare const ChatbotRestartDialog: FC<{
3
+ confirmText: string;
4
+ onClose: () => void;
5
+ }>;
6
+ //# sourceMappingURL=chatbot-restart-dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-restart-dialog.d.ts","sourceRoot":"","sources":["../../../../src/components/chatbot/dialog/chatbot-restart-dialog.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAyB,MAAM,OAAO,CAAC;AAElD,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,CAmCjF,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Button, Dialog, Flex } from '@servicetitan/anvil2';
3
+ import { useDependencies } from '@servicetitan/react-ioc';
4
+ import { CHATBOT_UI_STORE_TOKEN } from '@servicetitan/titan-chatbot-api';
5
+ import { useCallback, useState } from 'react';
6
+ export const ChatbotRestartDialog = ({ confirmText, onClose, }) => {
7
+ const [isRestartDialogOpen, setIsRestartDialogOpen] = useState(true);
8
+ const [chatbotUiStore] = useDependencies(CHATBOT_UI_STORE_TOKEN);
9
+ const handleCloseDialog = useCallback(() => {
10
+ setIsRestartDialogOpen(false);
11
+ onClose();
12
+ }, [onClose]);
13
+ const handleRestart = useCallback(() => {
14
+ setIsRestartDialogOpen(false);
15
+ onClose();
16
+ chatbotUiStore.restart();
17
+ }, [onClose, chatbotUiStore]);
18
+ return (_jsxs(Dialog, { open: isRestartDialogOpen, "data-cy": "titan-chatbot-restart-dialog", children: [_jsx(Dialog.Content, { children: _jsx(Flex, { className: "m-block-start-4", children: confirmText }) }), _jsx(Dialog.Footer, { children: _jsx(Flex, { justifyContent: "flex-end", children: _jsxs(Flex, { gap: "3", children: [_jsx(Button, { onClick: handleCloseDialog, children: "Cancel" }), _jsx(Button, { appearance: "primary", onClick: handleRestart, children: "Restart" })] }) }) })] }));
19
+ };
20
+ //# sourceMappingURL=chatbot-restart-dialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-restart-dialog.js","sourceRoot":"","sources":["../../../../src/components/chatbot/dialog/chatbot-restart-dialog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAM,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAElD,MAAM,CAAC,MAAM,oBAAoB,GAAqD,CAAC,EACnF,WAAW,EACX,OAAO,GACV,EAAE,EAAE;IACD,MAAM,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IACrE,MAAM,CAAC,cAAc,CAAC,GAAG,eAAe,CAAC,sBAAsB,CAAC,CAAC;IAEjE,MAAM,iBAAiB,GAAG,WAAW,CAAC,GAAG,EAAE;QACvC,sBAAsB,CAAC,KAAK,CAAC,CAAC;QAC9B,OAAO,EAAE,CAAC;IACd,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,MAAM,aAAa,GAAG,WAAW,CAAC,GAAG,EAAE;QACnC,sBAAsB,CAAC,KAAK,CAAC,CAAC;QAC9B,OAAO,EAAE,CAAC;QACV,cAAc,CAAC,OAAO,EAAE,CAAC;IAC7B,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC;IAE9B,OAAO,CACH,MAAC,MAAM,IAAC,IAAI,EAAE,mBAAmB,aAAU,8BAA8B,aACrE,KAAC,MAAM,CAAC,OAAO,cACX,KAAC,IAAI,IAAC,SAAS,EAAC,iBAAiB,YAAE,WAAW,GAAQ,GACzC,EACjB,KAAC,MAAM,CAAC,MAAM,cACV,KAAC,IAAI,IAAC,cAAc,EAAC,UAAU,YAC3B,MAAC,IAAI,IAAC,GAAG,EAAC,GAAG,aACT,KAAC,MAAM,IAAC,OAAO,EAAE,iBAAiB,uBAAiB,EACnD,KAAC,MAAM,IAAC,UAAU,EAAC,SAAS,EAAC,OAAO,EAAE,aAAa,wBAE1C,IACN,GACJ,GACK,IACX,CACZ,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { LinkProps } from '@servicetitan/anvil2';
2
+ import { FC } from 'react';
3
+ export declare const ChatbotRestartLink: FC<LinkProps>;
4
+ //# sourceMappingURL=chatbot-restart-link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-restart-link.d.ts","sourceRoot":"","sources":["../../../../src/components/chatbot/dialog/chatbot-restart-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,EAAE,EAA+C,MAAM,OAAO,CAAC;AAGxE,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,SAAS,CAwB5C,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Link } from '@servicetitan/anvil2';
3
+ import { Fragment, useCallback, useState } from 'react';
4
+ import { ChatbotRestartDialog } from './chatbot-restart-dialog';
5
+ export const ChatbotRestartLink = ({ children, onClick, ...rest }) => {
6
+ const [isRestartDialogOpen, setIsRestartDialogOpen] = useState(false);
7
+ const handleRestartOpen = useCallback((event) => {
8
+ setIsRestartDialogOpen(true);
9
+ onClick === null || onClick === void 0 ? void 0 : onClick(event);
10
+ }, [onClick]);
11
+ return (_jsxs(Fragment, { children: [_jsx(Link, { ...rest, onClick: handleRestartOpen, "data-cy": "titan-chatbot-restart-session", children: children }), isRestartDialogOpen && (_jsx(ChatbotRestartDialog, { confirmText: "Restart Titan session?", onClose: () => setIsRestartDialogOpen(false) }))] }));
12
+ };
13
+ //# sourceMappingURL=chatbot-restart-link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-restart-link.js","sourceRoot":"","sources":["../../../../src/components/chatbot/dialog/chatbot-restart-link.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAa,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAM,QAAQ,EAAc,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEhE,MAAM,CAAC,MAAM,kBAAkB,GAAkB,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAChF,MAAM,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEtE,MAAM,iBAAiB,GAAG,WAAW,CACjC,CAAC,KAAoC,EAAE,EAAE;QACrC,sBAAsB,CAAC,IAAI,CAAC,CAAC;QAC7B,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,KAAK,CAAC,CAAC;IACrB,CAAC,EACD,CAAC,OAAO,CAAC,CACZ,CAAC;IAEF,OAAO,CACH,MAAC,QAAQ,eACL,KAAC,IAAI,OAAK,IAAI,EAAE,OAAO,EAAE,iBAAiB,aAAU,+BAA+B,YAC9E,QAAQ,GACN,EACN,mBAAmB,IAAI,CACpB,KAAC,oBAAoB,IACjB,WAAW,EAAC,wBAAwB,EACpC,OAAO,EAAE,GAAG,EAAE,CAAC,sBAAsB,CAAC,KAAK,CAAC,GAC9C,CACL,IACM,CACd,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chatbot-message-feedback-form-guardrail.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-message-feedback-form-guardrail.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-form-guardrail.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { AnvilProvider } from '@servicetitan/anvil2';
3
+ import { runChatbotMessageFeedbackFormGuardrailSharedTests } from '@servicetitan/titan-chatbot-ui-cypress';
4
+ import { ChatbotMessageFeedbackFormGuardrail } from '../chatbot-message-feedback-form-guardrail';
5
+ describe('[ChatbotMessageFeedbackFormGuardrail]', () => {
6
+ runChatbotMessageFeedbackFormGuardrailSharedTests(ChatbotMessageFeedbackFormGuardrail, component => _jsx(AnvilProvider, { children: component }));
7
+ });
8
+ //# sourceMappingURL=chatbot-message-feedback-form-guardrail.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-message-feedback-form-guardrail.test.js","sourceRoot":"","sources":["../../../../../src/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-form-guardrail.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,iDAAiD,EAAE,MAAM,wCAAwC,CAAC;AAC3G,OAAO,EAAE,mCAAmC,EAAE,MAAM,4CAA4C,CAAC;AAEjG,QAAQ,CAAC,uCAAuC,EAAE,GAAG,EAAE;IACnD,iDAAiD,CAC7C,mCAAmC,EACnC,SAAS,CAAC,EAAE,CAAC,KAAC,aAAa,cAAE,SAAS,GAAiB,CAC1D,CAAC;AACN,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chatbot-message-feedback-form.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-message-feedback-form.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-form.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { AnvilProvider } from '@servicetitan/anvil2';
3
+ import { runChatbotMessageFeedbackFormSharedTests } from '@servicetitan/titan-chatbot-ui-cypress';
4
+ import { ChatbotMessageFeedbackForm } from '../chatbot-message-feedback-form';
5
+ describe('[ChatbotMessageFeedbackForm]', () => {
6
+ runChatbotMessageFeedbackFormSharedTests(ChatbotMessageFeedbackForm, component => (_jsx(AnvilProvider, { children: component })));
7
+ });
8
+ //# sourceMappingURL=chatbot-message-feedback-form.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-message-feedback-form.test.js","sourceRoot":"","sources":["../../../../../src/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-form.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,wCAAwC,EAAE,MAAM,wCAAwC,CAAC;AAClG,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAE9E,QAAQ,CAAC,8BAA8B,EAAE,GAAG,EAAE;IAC1C,wCAAwC,CAAC,0BAA0B,EAAE,SAAS,CAAC,EAAE,CAAC,CAC9E,KAAC,aAAa,cAAE,SAAS,GAAiB,CAC7C,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chatbot-message-feedback-popover.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-message-feedback-popover.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-popover.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { AnvilProvider } from '@servicetitan/anvil2';
3
+ import { runChatbotMessageFeedbackPopoverSharedTests } from '@servicetitan/titan-chatbot-ui-cypress';
4
+ import { ChatbotMessageFeedbackPopover } from '../chatbot-message-feedback-popover';
5
+ describe('[ChatbotMessageFeedbackPopover]', () => {
6
+ runChatbotMessageFeedbackPopoverSharedTests(ChatbotMessageFeedbackPopover, component => (_jsx(AnvilProvider, { children: component })));
7
+ });
8
+ //# sourceMappingURL=chatbot-message-feedback-popover.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-message-feedback-popover.test.js","sourceRoot":"","sources":["../../../../../src/components/chatbot/feedback/__tests-cy__/chatbot-message-feedback-popover.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,2CAA2C,EAAE,MAAM,wCAAwC,CAAC;AACrG,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAEpF,QAAQ,CAAC,iCAAiC,EAAE,GAAG,EAAE;IAC7C,2CAA2C,CAAC,6BAA6B,EAAE,SAAS,CAAC,EAAE,CAAC,CACpF,KAAC,aAAa,cAAE,SAAS,GAAiB,CAC7C,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chatbot-session-feedback-modal.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-session-feedback-modal.test.d.ts","sourceRoot":"","sources":["../../../../../src/components/chatbot/feedback/__tests-cy__/chatbot-session-feedback-modal.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { AnvilProvider } from '@servicetitan/anvil2';
3
+ import { runChatbotSessionFeedbackModalSharedTests } from '@servicetitan/titan-chatbot-ui-cypress';
4
+ import { ChatbotSessionFeedbackModal } from '../chatbot-session-feedback-modal';
5
+ describe('[ChatbotSessionFeedbackModal]', () => {
6
+ runChatbotSessionFeedbackModalSharedTests(ChatbotSessionFeedbackModal, component => (_jsx(AnvilProvider, { children: component })));
7
+ });
8
+ //# sourceMappingURL=chatbot-session-feedback-modal.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatbot-session-feedback-modal.test.js","sourceRoot":"","sources":["../../../../../src/components/chatbot/feedback/__tests-cy__/chatbot-session-feedback-modal.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,yCAAyC,EAAE,MAAM,wCAAwC,CAAC;AACnG,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAEhF,QAAQ,CAAC,+BAA+B,EAAE,GAAG,EAAE;IAC3C,yCAAyC,CAAC,2BAA2B,EAAE,SAAS,CAAC,EAAE,CAAC,CAChF,KAAC,aAAa,cAAE,SAAS,GAAiB,CAC7C,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}