@visma-swno/gaia-chat-ui 1.1.0 → 2.0.0-beta

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 (287) hide show
  1. package/README.md +33 -33
  2. package/custom-elements.json +261 -0
  3. package/dist/index-CEzUK_fb.js +6110 -0
  4. package/dist/index-CEzUK_fb.js.map +1 -0
  5. package/dist/index.d.ts +2 -4
  6. package/dist/index.es.js +5 -0
  7. package/dist/index.es.js.map +1 -0
  8. package/dist/index.umd.js +590 -0
  9. package/dist/index.umd.js.map +1 -0
  10. package/dist/nb-KBzNLow3.js +44 -0
  11. package/dist/nb-KBzNLow3.js.map +1 -0
  12. package/dist/package.json.d.ts +85 -0
  13. package/dist/src/app/app.d.ts +45 -0
  14. package/dist/src/app/app.d.ts.map +1 -0
  15. package/dist/src/app/controllers/error-controller.d.ts +11 -0
  16. package/dist/src/app/controllers/error-controller.d.ts.map +1 -0
  17. package/dist/{core → src/app}/localization.d.ts +1 -1
  18. package/dist/src/app/localization.d.ts.map +1 -0
  19. package/dist/src/auth/access-token-provider.d.ts +21 -0
  20. package/dist/src/auth/access-token-provider.d.ts.map +1 -0
  21. package/dist/src/auth/strategies/strategy.d.ts +32 -0
  22. package/dist/src/auth/strategies/strategy.d.ts.map +1 -0
  23. package/dist/src/auth/strategies/visitor-token-strategy.d.ts +14 -0
  24. package/dist/src/auth/strategies/visitor-token-strategy.d.ts.map +1 -0
  25. package/dist/src/auth/strategies/visma-token-strategy.d.ts +10 -0
  26. package/dist/src/auth/strategies/visma-token-strategy.d.ts.map +1 -0
  27. package/dist/src/auth/strategy-factory.d.ts +10 -0
  28. package/dist/src/auth/strategy-factory.d.ts.map +1 -0
  29. package/dist/src/components/base-tw-element.d.ts +5 -0
  30. package/dist/src/components/base-tw-element.d.ts.map +1 -0
  31. package/dist/src/components/composer.d.ts +21 -0
  32. package/dist/src/components/composer.d.ts.map +1 -0
  33. package/dist/src/components/error-message.d.ts +9 -0
  34. package/dist/src/components/error-message.d.ts.map +1 -0
  35. package/dist/src/components/feedback-form.d.ts +14 -0
  36. package/dist/src/components/feedback-form.d.ts.map +1 -0
  37. package/dist/src/components/menu.d.ts +11 -0
  38. package/dist/src/components/menu.d.ts.map +1 -0
  39. package/dist/src/components/message/assistant.d.ts +14 -0
  40. package/dist/src/components/message/assistant.d.ts.map +1 -0
  41. package/dist/src/components/message/base.d.ts +14 -0
  42. package/dist/src/components/message/base.d.ts.map +1 -0
  43. package/dist/src/components/message/index.d.ts +5 -0
  44. package/dist/src/components/message/index.d.ts.map +1 -0
  45. package/dist/src/components/message/operator.d.ts +7 -0
  46. package/dist/src/components/message/operator.d.ts.map +1 -0
  47. package/dist/src/components/message/system.d.ts +11 -0
  48. package/dist/src/components/message/system.d.ts.map +1 -0
  49. package/dist/src/components/message/user.d.ts +7 -0
  50. package/dist/src/components/message/user.d.ts.map +1 -0
  51. package/dist/src/components/message-list.d.ts +25 -0
  52. package/dist/src/components/message-list.d.ts.map +1 -0
  53. package/dist/src/components/shared/markdown.d.ts +2 -0
  54. package/dist/src/components/shared/markdown.d.ts.map +1 -0
  55. package/dist/src/components/thinking-indicator.d.ts +5 -0
  56. package/dist/src/components/thinking-indicator.d.ts.map +1 -0
  57. package/dist/src/components/welcome-message.d.ts +11 -0
  58. package/dist/src/components/welcome-message.d.ts.map +1 -0
  59. package/dist/src/core/effects/bootstrap-effect.d.ts +10 -0
  60. package/dist/src/core/effects/bootstrap-effect.d.ts.map +1 -0
  61. package/dist/src/core/effects/conversation-effect.d.ts +11 -0
  62. package/dist/src/core/effects/conversation-effect.d.ts.map +1 -0
  63. package/dist/src/core/effects/feedback-effect.d.ts +10 -0
  64. package/dist/src/core/effects/feedback-effect.d.ts.map +1 -0
  65. package/dist/src/core/effects/stream-effect.d.ts +17 -0
  66. package/dist/src/core/effects/stream-effect.d.ts.map +1 -0
  67. package/dist/src/core/effects/stream-event-router.d.ts +10 -0
  68. package/dist/src/core/effects/stream-event-router.d.ts.map +1 -0
  69. package/dist/src/core/effects/support-effect.d.ts +25 -0
  70. package/dist/src/core/effects/support-effect.d.ts.map +1 -0
  71. package/dist/src/core/effects/task-runner.d.ts +6 -0
  72. package/dist/src/core/effects/task-runner.d.ts.map +1 -0
  73. package/dist/src/core/errors/app-error.d.ts +15 -0
  74. package/dist/src/core/errors/app-error.d.ts.map +1 -0
  75. package/dist/src/core/events/internal/commands.d.ts +48 -0
  76. package/dist/src/core/events/internal/commands.d.ts.map +1 -0
  77. package/dist/src/core/events/internal/index.d.ts +3 -0
  78. package/dist/src/core/events/internal/index.d.ts.map +1 -0
  79. package/dist/src/core/events/internal/utils.d.ts +17 -0
  80. package/dist/src/core/events/internal/utils.d.ts.map +1 -0
  81. package/dist/src/core/events/public/app.d.ts +65 -0
  82. package/dist/src/core/events/public/app.d.ts.map +1 -0
  83. package/dist/src/core/events/transport/sse.d.ts +69 -0
  84. package/dist/src/core/events/transport/sse.d.ts.map +1 -0
  85. package/dist/src/core/events/transport/ws.d.ts +34 -0
  86. package/dist/src/core/events/transport/ws.d.ts.map +1 -0
  87. package/dist/src/core/state/index.d.ts +10 -0
  88. package/dist/src/core/state/index.d.ts.map +1 -0
  89. package/dist/src/core/state/root-reducer.d.ts +19 -0
  90. package/dist/src/core/state/root-reducer.d.ts.map +1 -0
  91. package/dist/src/core/state/slices/config-slice.d.ts +20 -0
  92. package/dist/src/core/state/slices/config-slice.d.ts.map +1 -0
  93. package/dist/src/core/state/slices/messages-slice.d.ts +35 -0
  94. package/dist/src/core/state/slices/messages-slice.d.ts.map +1 -0
  95. package/dist/src/core/state/slices/session-slice.d.ts +37 -0
  96. package/dist/src/core/state/slices/session-slice.d.ts.map +1 -0
  97. package/dist/src/core/state/slices/ui-slice.d.ts +29 -0
  98. package/dist/src/core/state/slices/ui-slice.d.ts.map +1 -0
  99. package/dist/src/core/state/store.d.ts +12 -0
  100. package/dist/src/core/state/store.d.ts.map +1 -0
  101. package/dist/src/core/types.d.ts +85 -0
  102. package/dist/src/core/types.d.ts.map +1 -0
  103. package/dist/src/core/utils/message-factory.d.ts +15 -0
  104. package/dist/src/core/utils/message-factory.d.ts.map +1 -0
  105. package/dist/{generated → src/generated}/locale-codes.d.ts +2 -2
  106. package/dist/src/generated/locale-codes.d.ts.map +1 -0
  107. package/dist/src/generated/locales/nb.d.ts +40 -0
  108. package/dist/src/generated/locales/nb.d.ts.map +1 -0
  109. package/dist/src/index.d.ts +3 -0
  110. package/dist/src/index.d.ts.map +1 -0
  111. package/dist/src/infra/http/api-client.d.ts +15 -0
  112. package/dist/src/infra/http/api-client.d.ts.map +1 -0
  113. package/dist/src/infra/http/api-error.d.ts +22 -0
  114. package/dist/src/infra/http/api-error.d.ts.map +1 -0
  115. package/dist/src/infra/http/guards.d.ts +6 -0
  116. package/dist/src/infra/http/guards.d.ts.map +1 -0
  117. package/dist/src/infra/signalr/signalr-error.d.ts +5 -0
  118. package/dist/src/infra/signalr/signalr-error.d.ts.map +1 -0
  119. package/dist/src/infra/sse/sse.d.ts +2 -0
  120. package/dist/src/infra/sse/sse.d.ts.map +1 -0
  121. package/dist/src/infra/sse/stream-error.d.ts +5 -0
  122. package/dist/src/infra/sse/stream-error.d.ts.map +1 -0
  123. package/dist/src/infra/storage/bootstrap-config-storage.d.ts +10 -0
  124. package/dist/src/infra/storage/bootstrap-config-storage.d.ts.map +1 -0
  125. package/dist/src/infra/storage/conversation-id-storage.d.ts +8 -0
  126. package/dist/src/infra/storage/conversation-id-storage.d.ts.map +1 -0
  127. package/dist/src/infra/storage/types.d.ts +6 -0
  128. package/dist/src/infra/storage/types.d.ts.map +1 -0
  129. package/dist/src/infra/storage/visitor-token-storage.d.ts +8 -0
  130. package/dist/src/infra/storage/visitor-token-storage.d.ts.map +1 -0
  131. package/dist/src/services/bootstrap-service.d.ts +23 -0
  132. package/dist/src/services/bootstrap-service.d.ts.map +1 -0
  133. package/dist/src/services/chat-service.d.ts +29 -0
  134. package/dist/src/services/chat-service.d.ts.map +1 -0
  135. package/dist/src/services/feedback-service.d.ts +13 -0
  136. package/dist/src/services/feedback-service.d.ts.map +1 -0
  137. package/package.json +65 -94
  138. package/CHANGELOG.md +0 -78
  139. package/dist/core/auth/auth.interceptor.d.ts +0 -2
  140. package/dist/core/auth/auth.interceptor.d.ts.map +0 -1
  141. package/dist/core/auth/auth.service.d.ts +0 -15
  142. package/dist/core/auth/auth.service.d.ts.map +0 -1
  143. package/dist/core/auth/auth.store.d.ts +0 -22
  144. package/dist/core/auth/auth.store.d.ts.map +0 -1
  145. package/dist/core/auth/auth.types.d.ts +0 -15
  146. package/dist/core/auth/auth.types.d.ts.map +0 -1
  147. package/dist/core/auth/auth.utils.d.ts +0 -7
  148. package/dist/core/auth/auth.utils.d.ts.map +0 -1
  149. package/dist/core/auth/index.d.ts +0 -3
  150. package/dist/core/auth/index.d.ts.map +0 -1
  151. package/dist/core/auth/strategies/strategy.interface.d.ts +0 -7
  152. package/dist/core/auth/strategies/strategy.interface.d.ts.map +0 -1
  153. package/dist/core/auth/strategies/visitor.strategy.d.ts +0 -11
  154. package/dist/core/auth/strategies/visitor.strategy.d.ts.map +0 -1
  155. package/dist/core/auth/strategies/visma-user.strategy.d.ts +0 -10
  156. package/dist/core/auth/strategies/visma-user.strategy.d.ts.map +0 -1
  157. package/dist/core/chat/ai-chat.service.d.ts +0 -26
  158. package/dist/core/chat/ai-chat.service.d.ts.map +0 -1
  159. package/dist/core/chat/chat.dto.d.ts +0 -126
  160. package/dist/core/chat/chat.dto.d.ts.map +0 -1
  161. package/dist/core/chat/chat.events.d.ts +0 -11
  162. package/dist/core/chat/chat.events.d.ts.map +0 -1
  163. package/dist/core/chat/chat.facade.d.ts +0 -19
  164. package/dist/core/chat/chat.facade.d.ts.map +0 -1
  165. package/dist/core/chat/chat.store.d.ts +0 -23
  166. package/dist/core/chat/chat.store.d.ts.map +0 -1
  167. package/dist/core/chat/chat.types.d.ts +0 -15
  168. package/dist/core/chat/chat.types.d.ts.map +0 -1
  169. package/dist/core/chat/feedback.service.d.ts +0 -4
  170. package/dist/core/chat/feedback.service.d.ts.map +0 -1
  171. package/dist/core/chat/index.d.ts +0 -3
  172. package/dist/core/chat/index.d.ts.map +0 -1
  173. package/dist/core/chat/support-chat.service.d.ts +0 -9
  174. package/dist/core/chat/support-chat.service.d.ts.map +0 -1
  175. package/dist/core/constants.d.ts +0 -4
  176. package/dist/core/constants.d.ts.map +0 -1
  177. package/dist/core/lib/errors.d.ts +0 -12
  178. package/dist/core/lib/errors.d.ts.map +0 -1
  179. package/dist/core/lib/http-client.d.ts +0 -19
  180. package/dist/core/lib/http-client.d.ts.map +0 -1
  181. package/dist/core/lib/liveleader.service.d.ts +0 -71
  182. package/dist/core/lib/liveleader.service.d.ts.map +0 -1
  183. package/dist/core/lib/logger.d.ts +0 -27
  184. package/dist/core/lib/logger.d.ts.map +0 -1
  185. package/dist/core/lib/store.d.ts +0 -10
  186. package/dist/core/lib/store.d.ts.map +0 -1
  187. package/dist/core/lib/websocket-client.d.ts +0 -21
  188. package/dist/core/lib/websocket-client.d.ts.map +0 -1
  189. package/dist/core/localization.d.ts.map +0 -1
  190. package/dist/da-BsSy6jeI.js +0 -31
  191. package/dist/da-BsSy6jeI.js.map +0 -1
  192. package/dist/gaia-chat-ui.es.js +0 -6024
  193. package/dist/gaia-chat-ui.es.js.map +0 -1
  194. package/dist/gaia-chat-ui.umd.js +0 -2707
  195. package/dist/gaia-chat-ui.umd.js.map +0 -1
  196. package/dist/generated/locale-codes.d.ts.map +0 -1
  197. package/dist/generated/locales/da.d.ts +0 -18
  198. package/dist/generated/locales/da.d.ts.map +0 -1
  199. package/dist/generated/locales/nb.d.ts +0 -18
  200. package/dist/generated/locales/nb.d.ts.map +0 -1
  201. package/dist/generated/locales/sv.d.ts +0 -18
  202. package/dist/generated/locales/sv.d.ts.map +0 -1
  203. package/dist/index.d.ts.map +0 -1
  204. package/dist/nb-DV1-uwqZ.js +0 -31
  205. package/dist/nb-DV1-uwqZ.js.map +0 -1
  206. package/dist/sv-C3GowUCf.js +0 -31
  207. package/dist/sv-C3GowUCf.js.map +0 -1
  208. package/dist/ui/chat/chat-menu.d.ts +0 -6
  209. package/dist/ui/chat/chat-menu.d.ts.map +0 -1
  210. package/dist/ui/chat/chat-message-list.d.ts +0 -16
  211. package/dist/ui/chat/chat-message-list.d.ts.map +0 -1
  212. package/dist/ui/chat/chat-message-list.styles.d.ts +0 -2
  213. package/dist/ui/chat/chat-message-list.styles.d.ts.map +0 -1
  214. package/dist/ui/chat/chat-message.d.ts +0 -19
  215. package/dist/ui/chat/chat-message.d.ts.map +0 -1
  216. package/dist/ui/chat/chat-message.styles.d.ts +0 -2
  217. package/dist/ui/chat/chat-message.styles.d.ts.map +0 -1
  218. package/dist/ui/chat/chat.d.ts +0 -36
  219. package/dist/ui/chat/chat.d.ts.map +0 -1
  220. package/dist/ui/chat/chat.events.d.ts +0 -16
  221. package/dist/ui/chat/chat.events.d.ts.map +0 -1
  222. package/dist/ui/chat/chat.styles.d.ts +0 -2
  223. package/dist/ui/chat/chat.styles.d.ts.map +0 -1
  224. package/dist/ui/chat/feedback-form.d.ts +0 -15
  225. package/dist/ui/chat/feedback-form.d.ts.map +0 -1
  226. package/dist/ui/chat/feedback-form.styles.d.ts +0 -2
  227. package/dist/ui/chat/feedback-form.styles.d.ts.map +0 -1
  228. package/dist/ui/chat/state-controller.d.ts +0 -11
  229. package/dist/ui/chat/state-controller.d.ts.map +0 -1
  230. package/dist/ui/chat/user-input.d.ts +0 -12
  231. package/dist/ui/chat/user-input.d.ts.map +0 -1
  232. package/dist/ui/chat/user-input.styles.d.ts +0 -2
  233. package/dist/ui/chat/user-input.styles.d.ts.map +0 -1
  234. package/dist/ui/primitives/avatar/avatar.d.ts +0 -14
  235. package/dist/ui/primitives/avatar/avatar.d.ts.map +0 -1
  236. package/dist/ui/primitives/avatar/avatar.styles.d.ts +0 -2
  237. package/dist/ui/primitives/avatar/avatar.styles.d.ts.map +0 -1
  238. package/dist/ui/primitives/base-element.d.ts +0 -10
  239. package/dist/ui/primitives/base-element.d.ts.map +0 -1
  240. package/dist/ui/primitives/button/button.d.ts +0 -11
  241. package/dist/ui/primitives/button/button.d.ts.map +0 -1
  242. package/dist/ui/primitives/button/button.styles.d.ts +0 -2
  243. package/dist/ui/primitives/button/button.styles.d.ts.map +0 -1
  244. package/dist/ui/primitives/card/card.d.ts +0 -7
  245. package/dist/ui/primitives/card/card.d.ts.map +0 -1
  246. package/dist/ui/primitives/card/card.styles.d.ts +0 -2
  247. package/dist/ui/primitives/card/card.styles.d.ts.map +0 -1
  248. package/dist/ui/primitives/citation/citation.d.ts +0 -8
  249. package/dist/ui/primitives/citation/citation.d.ts.map +0 -1
  250. package/dist/ui/primitives/citation/citation.styles.d.ts +0 -2
  251. package/dist/ui/primitives/citation/citation.styles.d.ts.map +0 -1
  252. package/dist/ui/primitives/citation-list/citation-list.d.ts +0 -10
  253. package/dist/ui/primitives/citation-list/citation-list.d.ts.map +0 -1
  254. package/dist/ui/primitives/citation-list/citation-list.styles.d.ts +0 -2
  255. package/dist/ui/primitives/citation-list/citation-list.styles.d.ts.map +0 -1
  256. package/dist/ui/primitives/loader/loader.d.ts +0 -10
  257. package/dist/ui/primitives/loader/loader.d.ts.map +0 -1
  258. package/dist/ui/primitives/loader/loader.styles.d.ts +0 -2
  259. package/dist/ui/primitives/loader/loader.styles.d.ts.map +0 -1
  260. package/dist/ui/primitives/menu/menu.d.ts +0 -11
  261. package/dist/ui/primitives/menu/menu.d.ts.map +0 -1
  262. package/dist/ui/primitives/menu/menu.styles.d.ts +0 -2
  263. package/dist/ui/primitives/menu/menu.styles.d.ts.map +0 -1
  264. package/dist/ui/primitives/menu-item/menu-item.d.ts +0 -10
  265. package/dist/ui/primitives/menu-item/menu-item.d.ts.map +0 -1
  266. package/dist/ui/primitives/menu-item/menu-item.styles.d.ts +0 -2
  267. package/dist/ui/primitives/menu-item/menu-item.styles.d.ts.map +0 -1
  268. package/dist/ui/primitives/popover/popover.d.ts +0 -18
  269. package/dist/ui/primitives/popover/popover.d.ts.map +0 -1
  270. package/dist/ui/primitives/popover/popover.styles.d.ts +0 -2
  271. package/dist/ui/primitives/popover/popover.styles.d.ts.map +0 -1
  272. package/dist/ui/primitives/spacing/spacing.d.ts +0 -7
  273. package/dist/ui/primitives/spacing/spacing.d.ts.map +0 -1
  274. package/dist/ui/primitives/spacing/spacing.styles.d.ts +0 -2
  275. package/dist/ui/primitives/spacing/spacing.styles.d.ts.map +0 -1
  276. package/dist/ui/primitives/textarea/textarea.d.ts +0 -14
  277. package/dist/ui/primitives/textarea/textarea.d.ts.map +0 -1
  278. package/dist/ui/primitives/textarea/textarea.styles.d.ts +0 -2
  279. package/dist/ui/primitives/textarea/textarea.styles.d.ts.map +0 -1
  280. package/dist/ui/primitives/tooltip/tooltip.d.ts +0 -16
  281. package/dist/ui/primitives/tooltip/tooltip.d.ts.map +0 -1
  282. package/dist/ui/primitives/tooltip/tooltip.styles.d.ts +0 -2
  283. package/dist/ui/primitives/tooltip/tooltip.styles.d.ts.map +0 -1
  284. package/dist/ui/styles/global.d.ts +0 -2
  285. package/dist/ui/styles/global.d.ts.map +0 -1
  286. package/dist/ui/styles/markdown.d.ts +0 -2
  287. package/dist/ui/styles/markdown.d.ts.map +0 -1
package/README.md CHANGED
@@ -1,33 +1,33 @@
1
- # @visma-swno/gaia-chat-ui
2
-
3
- Web component library for the Gaia Assistant Chat UI, built with Lit for Visma Software Nordic products.
4
-
5
- ## Installation
6
-
7
- ```bash
8
- npm install @visma-swno/gaia-chat-ui
9
- ```
10
-
11
- **Note:** This package requires `lit` as a peer dependency:
12
-
13
- ```bash
14
- npm install lit@^3.3.0
15
- ```
16
-
17
- ## Usage
18
-
19
- ```javascript
20
- import '@visma-swno/gaia-chat-ui';
21
- ```
22
-
23
- ```html
24
- <gaia-chat
25
- profile-id="default"
26
- base-url="https://your-api-endpoint.com"
27
- team-id="your-team-id">
28
- </gaia-chat>
29
- ```
30
-
31
- ## Documentation
32
-
33
- For detailed documentation and development instructions, see the [main repository](https://github.com/visma-swno/vsn-assistant).
1
+ # @visma-swno/gaia-chat-ui
2
+
3
+ Web component library for the Gaia Assistant Chat UI, built with Lit for Visma Software Nordic products.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @visma-swno/gaia-chat-ui
9
+ ```
10
+
11
+ **Note:** This package requires `lit` as a peer dependency:
12
+
13
+ ```bash
14
+ npm install lit@^3.3.0
15
+ ```
16
+
17
+ ## Usage
18
+
19
+ ```javascript
20
+ import '@visma-swno/gaia-chat-ui';
21
+ ```
22
+
23
+ ```html
24
+ <gaia-chat
25
+ profile-id="default"
26
+ base-url="https://your-api-endpoint.com"
27
+ is-visitor>
28
+ </gaia-chat>
29
+ ```
30
+
31
+ ## Documentation
32
+
33
+ For detailed documentation and development instructions, see the [main repository](https://github.com/visma-swno/vsn-assistant).
@@ -0,0 +1,261 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/app/chat-app.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "class",
11
+ "description": "",
12
+ "name": "ChatApp",
13
+ "members": [
14
+ {
15
+ "kind": "field",
16
+ "name": "baseUrl",
17
+ "type": {
18
+ "text": "string"
19
+ },
20
+ "privacy": "private",
21
+ "readonly": true,
22
+ "default": "'https://localhost:5085'",
23
+ "attribute": "base-url"
24
+ },
25
+ {
26
+ "kind": "field",
27
+ "name": "profileId",
28
+ "type": {
29
+ "text": "string"
30
+ },
31
+ "privacy": "private",
32
+ "readonly": true,
33
+ "default": "'default'",
34
+ "attribute": "profile-id"
35
+ },
36
+ {
37
+ "kind": "field",
38
+ "name": "vismaAccessToken",
39
+ "type": {
40
+ "text": "string | null"
41
+ },
42
+ "privacy": "private",
43
+ "readonly": true,
44
+ "default": "null",
45
+ "attribute": "visma-token"
46
+ },
47
+ {
48
+ "kind": "field",
49
+ "name": "unsubscribe",
50
+ "type": {
51
+ "text": "() => void | undefined"
52
+ },
53
+ "privacy": "private"
54
+ },
55
+ {
56
+ "kind": "field",
57
+ "name": "store",
58
+ "privacy": "private",
59
+ "default": "new ChatStore()"
60
+ },
61
+ {
62
+ "kind": "field",
63
+ "name": "state",
64
+ "type": {
65
+ "text": "ChatState | null"
66
+ },
67
+ "privacy": "private",
68
+ "default": "null"
69
+ },
70
+ {
71
+ "kind": "field",
72
+ "name": "auth",
73
+ "type": {
74
+ "text": "AuthStrategy | null"
75
+ },
76
+ "privacy": "private",
77
+ "default": "null"
78
+ },
79
+ {
80
+ "kind": "field",
81
+ "name": "chatService",
82
+ "type": {
83
+ "text": "ChatService | null"
84
+ },
85
+ "privacy": "private",
86
+ "default": "null"
87
+ },
88
+ {
89
+ "kind": "field",
90
+ "name": "humanSupportService",
91
+ "type": {
92
+ "text": "HumanSupportService | null"
93
+ },
94
+ "privacy": "private",
95
+ "default": "null"
96
+ },
97
+ {
98
+ "kind": "field",
99
+ "name": "handoffController",
100
+ "type": {
101
+ "text": "HandoffController | null"
102
+ },
103
+ "privacy": "private",
104
+ "default": "null"
105
+ },
106
+ {
107
+ "kind": "field",
108
+ "name": "streamController",
109
+ "type": {
110
+ "text": "StreamController | null"
111
+ },
112
+ "privacy": "private",
113
+ "default": "null"
114
+ },
115
+ {
116
+ "kind": "field",
117
+ "name": "currentStreamAbort",
118
+ "type": {
119
+ "text": "AbortController | undefined"
120
+ },
121
+ "privacy": "private"
122
+ },
123
+ {
124
+ "kind": "method",
125
+ "name": "init",
126
+ "privacy": "private"
127
+ },
128
+ {
129
+ "kind": "method",
130
+ "name": "onSendMessage",
131
+ "privacy": "private",
132
+ "parameters": [
133
+ {
134
+ "name": "e",
135
+ "type": {
136
+ "text": "SendMessageEvent"
137
+ }
138
+ }
139
+ ]
140
+ },
141
+ {
142
+ "kind": "method",
143
+ "name": "onApproveToolCall",
144
+ "privacy": "private",
145
+ "parameters": [
146
+ {
147
+ "name": "e",
148
+ "type": {
149
+ "text": "ApproveToolCallEvent"
150
+ }
151
+ }
152
+ ]
153
+ },
154
+ {
155
+ "kind": "method",
156
+ "name": "onDeclineToolCall",
157
+ "privacy": "private",
158
+ "parameters": [
159
+ {
160
+ "name": "e",
161
+ "type": {
162
+ "text": "DeclineToolCallEvent"
163
+ }
164
+ }
165
+ ]
166
+ },
167
+ {
168
+ "kind": "method",
169
+ "name": "onSubmitFeedback",
170
+ "privacy": "private",
171
+ "parameters": [
172
+ {
173
+ "name": "e",
174
+ "type": {
175
+ "text": "SubmitFeedbackEvent"
176
+ }
177
+ }
178
+ ]
179
+ },
180
+ {
181
+ "kind": "method",
182
+ "name": "onToggleFeedbackForm",
183
+ "privacy": "private",
184
+ "parameters": [
185
+ {
186
+ "name": "e",
187
+ "type": {
188
+ "text": "ToggleFeedbackFormEvent"
189
+ }
190
+ }
191
+ ]
192
+ },
193
+ {
194
+ "kind": "method",
195
+ "name": "onClearConversation",
196
+ "privacy": "private"
197
+ },
198
+ {
199
+ "kind": "method",
200
+ "name": "onClearError",
201
+ "privacy": "private"
202
+ }
203
+ ],
204
+ "attributes": [
205
+ {
206
+ "name": "base-url",
207
+ "type": {
208
+ "text": "string"
209
+ },
210
+ "readonly": true,
211
+ "default": "'https://localhost:5085'",
212
+ "fieldName": "baseUrl"
213
+ },
214
+ {
215
+ "name": "profile-id",
216
+ "type": {
217
+ "text": "string"
218
+ },
219
+ "readonly": true,
220
+ "default": "'default'",
221
+ "fieldName": "profileId"
222
+ },
223
+ {
224
+ "name": "visma-token",
225
+ "type": {
226
+ "text": "string | null"
227
+ },
228
+ "readonly": true,
229
+ "default": "null",
230
+ "fieldName": "vismaAccessToken"
231
+ }
232
+ ],
233
+ "superclass": {
234
+ "name": "LitElement",
235
+ "package": "lit"
236
+ },
237
+ "tagName": "vsn-aiasst-chat",
238
+ "customElement": true
239
+ }
240
+ ],
241
+ "exports": [
242
+ {
243
+ "kind": "js",
244
+ "name": "ChatApp",
245
+ "declaration": {
246
+ "name": "ChatApp",
247
+ "module": "src/app/chat-app.ts"
248
+ }
249
+ },
250
+ {
251
+ "kind": "custom-element-definition",
252
+ "name": "vsn-aiasst-chat",
253
+ "declaration": {
254
+ "name": "ChatApp",
255
+ "module": "src/app/chat-app.ts"
256
+ }
257
+ }
258
+ ]
259
+ }
260
+ ]
261
+ }