@carbon/ai-chat-components 1.14.0 → 2.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2209) hide show
  1. package/bin/create-ai-chat-components-prefixed-build.js +18 -0
  2. package/bin/prefix-build.js +193 -0
  3. package/bin/prefix-dependencies.js +155 -0
  4. package/bin/prefix-layout.js +372 -0
  5. package/bin/prefix-modules.js +255 -0
  6. package/custom-elements.json +20622 -16449
  7. package/es/components/aichat-audio-player/aichat-audio-player.d.ts +138 -0
  8. package/es/components/aichat-audio-player/aichat-audio-player.js +391 -0
  9. package/es/components/aichat-audio-player/aichat-audio-player.js.map +1 -0
  10. package/es/components/aichat-audio-player/aichat-audio-player.scss.js +13 -0
  11. package/es/components/aichat-audio-player/aichat-audio-player.scss.js.map +1 -0
  12. package/es/components/aichat-audio-player/aichat-transcript.d.ts +63 -0
  13. package/es/components/aichat-audio-player/aichat-transcript.js +146 -0
  14. package/es/components/aichat-audio-player/aichat-transcript.js.map +1 -0
  15. package/es/components/aichat-audio-player/aichat-transcript.scss.js +13 -0
  16. package/es/components/aichat-audio-player/aichat-transcript.scss.js.map +1 -0
  17. package/es/components/aichat-audio-player/index.d.ts +13 -0
  18. package/es/components/aichat-audio-player/index.js +25 -0
  19. package/es/components/aichat-audio-player/index.js.map +1 -0
  20. package/es/components/aichat-audio-player/providers/base-provider.js.map +1 -0
  21. package/es/components/aichat-audio-player/providers/native-audio-provider.js.map +1 -0
  22. package/es/components/aichat-audio-player/providers/soundcloud-provider.js +200 -0
  23. package/es/components/aichat-audio-player/providers/soundcloud-provider.js.map +1 -0
  24. package/es/components/aichat-audio-player/utils/url-detector.js.map +1 -0
  25. package/es/components/aichat-autocomplete/aichat-autocomplete.d.ts +214 -0
  26. package/es/components/aichat-autocomplete/aichat-autocomplete.js +620 -0
  27. package/es/components/aichat-autocomplete/aichat-autocomplete.js.map +1 -0
  28. package/es/components/aichat-autocomplete/aichat-autocomplete.scss.js +13 -0
  29. package/es/components/aichat-autocomplete/aichat-autocomplete.scss.js.map +1 -0
  30. package/es/components/aichat-autocomplete/index.d.ts +11 -0
  31. package/es/components/aichat-autocomplete/index.js +23 -0
  32. package/es/components/aichat-autocomplete/index.js.map +1 -0
  33. package/es/components/aichat-button/aichat-button-skeleton.d.ts +34 -0
  34. package/es/components/aichat-button/aichat-button-skeleton.js +39 -0
  35. package/es/components/aichat-button/aichat-button-skeleton.js.map +1 -0
  36. package/es/components/aichat-button/aichat-button.d.ts +44 -0
  37. package/es/components/aichat-button/aichat-button.js +111 -0
  38. package/es/components/aichat-button/aichat-button.js.map +1 -0
  39. package/es/components/aichat-button/aichat-button.scss.js +13 -0
  40. package/es/components/aichat-button/aichat-button.scss.js.map +1 -0
  41. package/es/components/aichat-button/defs.js.map +1 -0
  42. package/es/components/aichat-button/index.d.ts +11 -0
  43. package/es/components/aichat-button/index.js +24 -0
  44. package/es/components/aichat-button/index.js.map +1 -0
  45. package/es/components/aichat-card/aichat-card-footer.d.ts +48 -0
  46. package/es/components/aichat-card/aichat-card-footer.js +141 -0
  47. package/es/components/aichat-card/aichat-card-footer.js.map +1 -0
  48. package/es/components/aichat-card/aichat-card-footer.scss.js +13 -0
  49. package/es/components/aichat-card/aichat-card-footer.scss.js.map +1 -0
  50. package/es/components/aichat-card/aichat-card-steps.d.ts +30 -0
  51. package/es/components/aichat-card/aichat-card-steps.js +93 -0
  52. package/es/components/aichat-card/aichat-card-steps.js.map +1 -0
  53. package/es/components/aichat-card/aichat-card-steps.scss.js +13 -0
  54. package/es/components/aichat-card/aichat-card-steps.scss.js.map +1 -0
  55. package/es/components/aichat-card/aichat-card.d.ts +34 -0
  56. package/es/components/aichat-card/aichat-card.js +69 -0
  57. package/es/components/aichat-card/aichat-card.js.map +1 -0
  58. package/es/components/aichat-card/aichat-card.scss.js +13 -0
  59. package/es/components/aichat-card/aichat-card.scss.js.map +1 -0
  60. package/es/components/aichat-card/index.d.ts +13 -0
  61. package/es/components/aichat-card/index.js +26 -0
  62. package/es/components/aichat-card/index.js.map +1 -0
  63. package/es/components/aichat-carousel/aichat-carousel.d.ts +53 -0
  64. package/es/components/aichat-carousel/aichat-carousel.js +189 -0
  65. package/es/components/aichat-carousel/aichat-carousel.js.map +1 -0
  66. package/es/components/aichat-carousel/aichat-carousel.scss.js +13 -0
  67. package/es/components/aichat-carousel/aichat-carousel.scss.js.map +1 -0
  68. package/es/components/aichat-carousel/index.d.ts +11 -0
  69. package/es/components/aichat-carousel/index.js +22 -0
  70. package/es/components/aichat-carousel/index.js.map +1 -0
  71. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-step.d.ts +60 -0
  72. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-step.js +358 -0
  73. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-step.js.map +1 -0
  74. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-step.scss.js +13 -0
  75. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-step.scss.js.map +1 -0
  76. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-toggle.d.ts +39 -0
  77. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-toggle.js +107 -0
  78. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-toggle.js.map +1 -0
  79. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-toggle.scss.js +13 -0
  80. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought-toggle.scss.js.map +1 -0
  81. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought.d.ts +52 -0
  82. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought.js +140 -0
  83. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought.js.map +1 -0
  84. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought.scss.js +13 -0
  85. package/es/components/aichat-chain-of-thought/aichat-chain-of-thought.scss.js.map +1 -0
  86. package/es/components/aichat-chain-of-thought/aichat-tool-call-data.d.ts +41 -0
  87. package/es/components/aichat-chain-of-thought/aichat-tool-call-data.js +179 -0
  88. package/es/components/aichat-chain-of-thought/aichat-tool-call-data.js.map +1 -0
  89. package/es/components/aichat-chain-of-thought/aichat-tool-call-data.scss.js +13 -0
  90. package/es/components/aichat-chain-of-thought/aichat-tool-call-data.scss.js.map +1 -0
  91. package/es/components/aichat-chain-of-thought/defs.js.map +1 -0
  92. package/es/components/aichat-chain-of-thought/index.d.ts +6 -0
  93. package/es/components/aichat-chain-of-thought/index.js +29 -0
  94. package/es/components/aichat-chain-of-thought/index.js.map +1 -0
  95. package/es/components/aichat-code-snippet/aichat-code-snippet.d.ts +218 -0
  96. package/es/components/aichat-code-snippet/aichat-code-snippet.js +998 -0
  97. package/es/components/aichat-code-snippet/aichat-code-snippet.js.map +1 -0
  98. package/es/components/aichat-code-snippet/aichat-code-snippet.scss.js +13 -0
  99. package/es/components/aichat-code-snippet/aichat-code-snippet.scss.js.map +1 -0
  100. package/es/components/aichat-code-snippet/codemirror/base-setup.js.map +1 -0
  101. package/es/components/aichat-code-snippet/codemirror/codemirror-loader.js.map +1 -0
  102. package/es/components/aichat-code-snippet/codemirror/content-sync.js.map +1 -0
  103. package/es/components/aichat-code-snippet/codemirror/detect-language.js.map +1 -0
  104. package/es/components/aichat-code-snippet/codemirror/diff-decorator.d.ts +30 -0
  105. package/es/components/aichat-code-snippet/codemirror/diff-decorator.js +80 -0
  106. package/es/components/aichat-code-snippet/codemirror/diff-decorator.js.map +1 -0
  107. package/es/components/aichat-code-snippet/codemirror/editor-manager.js.map +1 -0
  108. package/es/components/aichat-code-snippet/codemirror/language-controller.js.map +1 -0
  109. package/es/components/aichat-code-snippet/codemirror/language-data.js.map +1 -0
  110. package/es/components/aichat-code-snippet/codemirror/language-utils.js.map +1 -0
  111. package/es/components/aichat-code-snippet/codemirror/marker-utils.js.map +1 -0
  112. package/es/components/aichat-code-snippet/codemirror/theme.js.map +1 -0
  113. package/es/components/aichat-code-snippet/dom-utils.js.map +1 -0
  114. package/es/components/aichat-code-snippet/formatters.js +19 -0
  115. package/es/components/aichat-code-snippet/formatters.js.map +1 -0
  116. package/es/components/aichat-code-snippet/index.d.ts +7 -0
  117. package/es/components/aichat-code-snippet/index.js +24 -0
  118. package/es/components/aichat-code-snippet/index.js.map +1 -0
  119. package/es/components/aichat-code-snippet/layout-utils.js.map +1 -0
  120. package/es/components/aichat-code-snippet/streaming-manager.js.map +1 -0
  121. package/es/components/aichat-conversational-search/aichat-citation-card.d.ts +63 -0
  122. package/es/components/aichat-conversational-search/aichat-citation-card.js +207 -0
  123. package/es/components/aichat-conversational-search/aichat-citation-card.js.map +1 -0
  124. package/es/components/aichat-conversational-search/aichat-citation-card.scss.js +13 -0
  125. package/es/components/aichat-conversational-search/aichat-citation-card.scss.js.map +1 -0
  126. package/es/components/aichat-conversational-search/aichat-conversational-search-shell.d.ts +66 -0
  127. package/es/components/aichat-conversational-search/aichat-conversational-search-shell.js +179 -0
  128. package/es/components/aichat-conversational-search/aichat-conversational-search-shell.js.map +1 -0
  129. package/es/components/aichat-conversational-search/aichat-conversational-search-shell.scss.js +13 -0
  130. package/es/components/aichat-conversational-search/aichat-conversational-search-shell.scss.js.map +1 -0
  131. package/es/components/aichat-conversational-search/citation-utils.d.ts +32 -0
  132. package/es/components/aichat-conversational-search/citation-utils.js +78 -0
  133. package/es/components/aichat-conversational-search/citation-utils.js.map +1 -0
  134. package/es/components/aichat-conversational-search/index.d.ts +14 -0
  135. package/es/components/aichat-conversational-search/index.js +25 -0
  136. package/es/components/aichat-conversational-search/index.js.map +1 -0
  137. package/es/components/aichat-feedback/aichat-feedback-buttons.d.ts +70 -0
  138. package/es/components/aichat-feedback/aichat-feedback-buttons.js +188 -0
  139. package/es/components/aichat-feedback/aichat-feedback-buttons.js.map +1 -0
  140. package/es/components/aichat-feedback/aichat-feedback-buttons.scss.js +13 -0
  141. package/es/components/aichat-feedback/aichat-feedback-buttons.scss.js.map +1 -0
  142. package/es/components/aichat-feedback/aichat-feedback.d.ts +143 -0
  143. package/es/components/aichat-feedback/aichat-feedback.js +324 -0
  144. package/es/components/aichat-feedback/aichat-feedback.js.map +1 -0
  145. package/es/components/aichat-feedback/aichat-feedback.scss.js +13 -0
  146. package/es/components/aichat-feedback/aichat-feedback.scss.js.map +1 -0
  147. package/es/components/aichat-feedback/index.d.ts +3 -0
  148. package/es/components/aichat-feedback/index.js +25 -0
  149. package/es/components/aichat-feedback/index.js.map +1 -0
  150. package/es/components/aichat-file-uploads/aichat-file-upload-item.d.ts +117 -0
  151. package/es/components/aichat-file-uploads/aichat-file-upload-item.js +482 -0
  152. package/es/components/aichat-file-uploads/aichat-file-upload-item.js.map +1 -0
  153. package/es/components/aichat-file-uploads/aichat-file-upload-item.scss.js +13 -0
  154. package/es/components/aichat-file-uploads/aichat-file-upload-item.scss.js.map +1 -0
  155. package/es/components/aichat-file-uploads/aichat-file-uploads.d.ts +136 -0
  156. package/es/components/aichat-file-uploads/aichat-file-uploads.js +346 -0
  157. package/es/components/aichat-file-uploads/aichat-file-uploads.js.map +1 -0
  158. package/es/components/aichat-file-uploads/aichat-file-uploads.scss.js +13 -0
  159. package/es/components/aichat-file-uploads/aichat-file-uploads.scss.js.map +1 -0
  160. package/es/components/aichat-file-uploads/file-type-icon.js.map +1 -0
  161. package/es/components/aichat-file-uploads/index.d.ts +12 -0
  162. package/es/components/aichat-file-uploads/index.js +24 -0
  163. package/es/components/aichat-file-uploads/index.js.map +1 -0
  164. package/es/components/aichat-history/aichat-history-content.d.ts +26 -0
  165. package/es/components/aichat-history/aichat-history-content.js +77 -0
  166. package/es/components/aichat-history/aichat-history-content.js.map +1 -0
  167. package/es/components/aichat-history/aichat-history-delete-panel.d.ts +51 -0
  168. package/es/components/aichat-history/aichat-history-delete-panel.js +147 -0
  169. package/es/components/aichat-history/aichat-history-delete-panel.js.map +1 -0
  170. package/es/components/aichat-history/aichat-history-header.d.ts +36 -0
  171. package/es/components/aichat-history/aichat-history-header.js +99 -0
  172. package/es/components/aichat-history/aichat-history-header.js.map +1 -0
  173. package/es/components/aichat-history/aichat-history-loading.d.ts +19 -0
  174. package/es/components/aichat-history/aichat-history-loading.js +60 -0
  175. package/es/components/aichat-history/aichat-history-loading.js.map +1 -0
  176. package/es/components/aichat-history/aichat-history-panel-item-input.d.ts +144 -0
  177. package/es/components/aichat-history/aichat-history-panel-item-input.js +278 -0
  178. package/es/components/aichat-history/aichat-history-panel-item-input.js.map +1 -0
  179. package/es/components/aichat-history/aichat-history-panel-item.d.ts +149 -0
  180. package/es/components/aichat-history/aichat-history-panel-item.js +338 -0
  181. package/es/components/aichat-history/aichat-history-panel-item.js.map +1 -0
  182. package/es/components/aichat-history/aichat-history-panel-items.d.ts +14 -0
  183. package/es/components/aichat-history/aichat-history-panel-items.js +38 -0
  184. package/es/components/aichat-history/aichat-history-panel-items.js.map +1 -0
  185. package/es/components/aichat-history/aichat-history-panel-menu.d.ts +13 -0
  186. package/es/components/aichat-history/aichat-history-panel-menu.js +34 -0
  187. package/es/components/aichat-history/aichat-history-panel-menu.js.map +1 -0
  188. package/es/components/aichat-history/aichat-history-panel.d.ts +28 -0
  189. package/es/components/aichat-history/aichat-history-panel.js +66 -0
  190. package/es/components/aichat-history/aichat-history-panel.js.map +1 -0
  191. package/es/components/aichat-history/aichat-history-search-item.d.ts +45 -0
  192. package/es/components/aichat-history/aichat-history-search-item.js +96 -0
  193. package/es/components/aichat-history/aichat-history-search-item.js.map +1 -0
  194. package/es/components/aichat-history/aichat-history-shell.d.ts +26 -0
  195. package/es/components/aichat-history/aichat-history-shell.js +88 -0
  196. package/es/components/aichat-history/aichat-history-shell.js.map +1 -0
  197. package/es/components/aichat-history/aichat-history-toolbar.d.ts +101 -0
  198. package/es/components/aichat-history/aichat-history-toolbar.js +112 -0
  199. package/es/components/aichat-history/aichat-history-toolbar.js.map +1 -0
  200. package/es/components/aichat-history/chat-history.scss.js +13 -0
  201. package/es/components/aichat-history/index.d.ts +20 -0
  202. package/es/components/aichat-history/index.js +45 -0
  203. package/es/components/aichat-history/index.js.map +1 -0
  204. package/es/components/aichat-launcher/aichat-launcher.d.ts +68 -0
  205. package/es/components/aichat-launcher/aichat-launcher.js +149 -0
  206. package/es/components/aichat-launcher/aichat-launcher.js.map +1 -0
  207. package/es/components/aichat-launcher/aichat-launcher.scss.js +13 -0
  208. package/es/components/aichat-launcher/aichat-launcher.scss.js.map +1 -0
  209. package/es/components/aichat-launcher/index.d.ts +11 -0
  210. package/es/components/aichat-launcher/index.js +23 -0
  211. package/es/components/aichat-launcher/index.js.map +1 -0
  212. package/es/components/aichat-markdown/aichat-markdown.d.ts +147 -0
  213. package/es/components/aichat-markdown/aichat-markdown.js +885 -0
  214. package/es/components/aichat-markdown/aichat-markdown.js.map +1 -0
  215. package/es/components/aichat-markdown/aichat-markdown.scss.js +13 -0
  216. package/es/components/aichat-markdown/aichat-markdown.scss.js.map +1 -0
  217. package/es/components/aichat-markdown/index.d.ts +11 -0
  218. package/es/components/aichat-markdown/index.js +28 -0
  219. package/es/components/aichat-markdown/index.js.map +1 -0
  220. package/es/components/aichat-markdown/inline-markdown.d.ts +41 -0
  221. package/es/components/aichat-markdown/inline-markdown.js +104 -0
  222. package/es/components/aichat-markdown/inline-markdown.js.map +1 -0
  223. package/es/components/aichat-markdown/inline-markdown.scss.js +13 -0
  224. package/es/components/aichat-markdown/inline-run-projection.scss.js +13 -0
  225. package/es/components/aichat-markdown/markdown-renderer-types.d.ts +397 -0
  226. package/es/components/aichat-markdown/markdown-renderer.d.ts +23 -0
  227. package/es/components/aichat-markdown/markdown-renderer.js +639 -0
  228. package/es/components/aichat-markdown/markdown-renderer.js.map +1 -0
  229. package/es/components/aichat-markdown/markdown-token-tree.js +357 -0
  230. package/es/components/aichat-markdown/markdown-token-tree.js.map +1 -0
  231. package/es/components/aichat-markdown/plugins/markdown-it-attrs.js.map +1 -0
  232. package/es/components/aichat-markdown/plugins/markdown-it-highlight.js.map +1 -0
  233. package/es/components/aichat-markdown/plugins/markdown-it-task-lists.js +76 -0
  234. package/es/components/aichat-markdown/plugins/markdown-it-task-lists.js.map +1 -0
  235. package/es/components/aichat-markdown/utils/html-helpers.d.ts +5 -0
  236. package/es/components/aichat-markdown/utils/html-helpers.js.map +1 -0
  237. package/es/components/aichat-markdown/utils/inline-run-projection.d.ts +28 -0
  238. package/es/components/aichat-markdown/utils/inline-run-projection.js +192 -0
  239. package/es/components/aichat-markdown/utils/inline-run-projection.js.map +1 -0
  240. package/es/components/aichat-markdown/utils/inline-validation.js.map +1 -0
  241. package/es/components/aichat-markdown/utils/lit-directives.js.map +1 -0
  242. package/es/components/aichat-markdown/utils/plugin-fallback.js +239 -0
  243. package/es/components/aichat-markdown/utils/plugin-fallback.js.map +1 -0
  244. package/es/components/aichat-markdown/utils/plugin-host-container.d.ts +181 -0
  245. package/es/components/aichat-markdown/utils/plugin-host-container.js +165 -0
  246. package/es/components/aichat-markdown/utils/plugin-host-container.js.map +1 -0
  247. package/es/components/aichat-markdown/utils/slot-names.js +81 -0
  248. package/es/components/aichat-markdown/utils/slot-names.js.map +1 -0
  249. package/es/components/aichat-markdown/utils/streaming-table.js.map +1 -0
  250. package/es/components/aichat-markdown/utils/table-helpers.d.ts +32 -0
  251. package/es/components/aichat-markdown/utils/table-helpers.js +203 -0
  252. package/es/components/aichat-markdown/utils/table-helpers.js.map +1 -0
  253. package/es/components/aichat-message-byline/aichat-message-byline.d.ts +49 -0
  254. package/es/components/aichat-message-byline/aichat-message-byline.js +121 -0
  255. package/es/components/aichat-message-byline/aichat-message-byline.js.map +1 -0
  256. package/es/components/aichat-message-byline/aichat-message-byline.scss.js +13 -0
  257. package/es/components/aichat-message-byline/aichat-message-byline.scss.js.map +1 -0
  258. package/es/components/aichat-message-byline/index.d.ts +10 -0
  259. package/es/components/aichat-message-byline/index.js +22 -0
  260. package/es/components/aichat-message-byline/index.js.map +1 -0
  261. package/es/components/aichat-message-item-shell/aichat-message-item-shell.d.ts +68 -0
  262. package/es/components/aichat-message-item-shell/aichat-message-item-shell.js +147 -0
  263. package/es/components/aichat-message-item-shell/aichat-message-item-shell.js.map +1 -0
  264. package/es/components/aichat-message-item-shell/aichat-message-item-shell.scss.js +13 -0
  265. package/es/components/aichat-message-item-shell/aichat-message-item-shell.scss.js.map +1 -0
  266. package/es/components/aichat-message-item-shell/index.d.ts +11 -0
  267. package/es/components/aichat-message-item-shell/index.js +22 -0
  268. package/es/components/aichat-message-item-shell/index.js.map +1 -0
  269. package/es/components/aichat-messages-shell/aichat-messages-shell.d.ts +168 -0
  270. package/es/components/aichat-messages-shell/aichat-messages-shell.js +502 -0
  271. package/es/components/aichat-messages-shell/aichat-messages-shell.js.map +1 -0
  272. package/es/components/aichat-messages-shell/aichat-messages-shell.scss.js +13 -0
  273. package/es/components/aichat-messages-shell/aichat-messages-shell.scss.js.map +1 -0
  274. package/es/components/aichat-messages-shell/index.d.ts +13 -0
  275. package/es/components/aichat-messages-shell/index.js +23 -0
  276. package/es/components/aichat-messages-shell/index.js.map +1 -0
  277. package/es/components/aichat-messages-shell/messages-scroll-controller.d.ts +266 -0
  278. package/es/components/aichat-messages-shell/messages-scroll-controller.js +1319 -0
  279. package/es/components/aichat-messages-shell/messages-scroll-controller.js.map +1 -0
  280. package/es/components/aichat-processing/aichat-processing.d.ts +24 -0
  281. package/es/components/aichat-processing/aichat-processing.js +66 -0
  282. package/es/components/aichat-processing/aichat-processing.js.map +1 -0
  283. package/es/components/aichat-processing/aichat-processing.scss.js +13 -0
  284. package/es/components/aichat-processing/aichat-processing.scss.js.map +1 -0
  285. package/es/components/aichat-processing/index.d.ts +2 -0
  286. package/es/components/aichat-processing/index.js +22 -0
  287. package/es/components/aichat-processing/index.js.map +1 -0
  288. package/es/components/aichat-prompt-line/aichat-autocomplete-controller.d.ts +86 -0
  289. package/es/components/aichat-prompt-line/aichat-autocomplete-controller.js +268 -0
  290. package/es/components/aichat-prompt-line/aichat-autocomplete-controller.js.map +1 -0
  291. package/es/components/aichat-prompt-line/aichat-error-message.d.ts +47 -0
  292. package/es/components/aichat-prompt-line/aichat-error-message.js +132 -0
  293. package/es/components/aichat-prompt-line/aichat-error-message.js.map +1 -0
  294. package/es/components/aichat-prompt-line/aichat-error-message.scss.js +13 -0
  295. package/es/components/aichat-prompt-line/aichat-error-message.scss.js.map +1 -0
  296. package/es/components/aichat-prompt-line/aichat-input-send-control.d.ts +53 -0
  297. package/es/components/aichat-prompt-line/aichat-input-send-control.js +181 -0
  298. package/es/components/aichat-prompt-line/aichat-input-send-control.js.map +1 -0
  299. package/es/components/aichat-prompt-line/aichat-input-send-control.scss.js +13 -0
  300. package/es/components/aichat-prompt-line/aichat-input-send-control.scss.js.map +1 -0
  301. package/es/components/aichat-prompt-line/aichat-prompt-line-shell.d.ts +124 -0
  302. package/es/components/aichat-prompt-line/aichat-prompt-line-shell.js +272 -0
  303. package/es/components/aichat-prompt-line/aichat-prompt-line-shell.js.map +1 -0
  304. package/es/components/aichat-prompt-line/aichat-prompt-line-shell.scss.js +13 -0
  305. package/es/components/aichat-prompt-line/aichat-prompt-line-shell.scss.js.map +1 -0
  306. package/es/components/aichat-prompt-line/aichat-prompt-line.d.ts +213 -0
  307. package/es/components/aichat-prompt-line/aichat-prompt-line.js +592 -0
  308. package/es/components/aichat-prompt-line/aichat-prompt-line.js.map +1 -0
  309. package/es/components/aichat-prompt-line/aichat-prompt-line.scss.js +13 -0
  310. package/es/components/aichat-prompt-line/aichat-prompt-line.scss.js.map +1 -0
  311. package/es/components/aichat-prompt-line/aichat-stop-streaming-button.d.ts +43 -0
  312. package/es/components/aichat-prompt-line/aichat-stop-streaming-button.js +90 -0
  313. package/es/components/aichat-prompt-line/aichat-stop-streaming-button.js.map +1 -0
  314. package/es/components/aichat-prompt-line/aichat-stop-streaming-button.scss.js +13 -0
  315. package/es/components/aichat-prompt-line/aichat-stop-streaming-button.scss.js.map +1 -0
  316. package/es/components/aichat-prompt-line/autocomplete-controller.d.ts +148 -0
  317. package/es/components/aichat-prompt-line/autocomplete-controller.js +503 -0
  318. package/es/components/aichat-prompt-line/autocomplete-controller.js.map +1 -0
  319. package/es/components/aichat-prompt-line/index.d.ts +25 -0
  320. package/es/components/aichat-prompt-line/index.js +50 -0
  321. package/es/components/aichat-prompt-line/index.js.map +1 -0
  322. package/es/components/aichat-prompt-line/prompt-line-constants.d.ts +35 -0
  323. package/es/components/aichat-prompt-line/prompt-line-constants.js +42 -0
  324. package/es/components/aichat-prompt-line/prompt-line-constants.js.map +1 -0
  325. package/es/components/aichat-prompt-line/prompt-line-controller.d.ts +122 -0
  326. package/es/components/aichat-prompt-line/prompt-line-mouse-focus.js.map +1 -0
  327. package/es/components/aichat-prompt-line/prompt-line-rich-loader.js.map +1 -0
  328. package/es/components/aichat-prompt-line/prompt-line-rich-runtime.js +446 -0
  329. package/es/components/aichat-prompt-line/prompt-line-rich-runtime.js.map +1 -0
  330. package/es/components/aichat-prompt-line/prompt-line-textarea-runtime.d.ts +68 -0
  331. package/es/components/aichat-prompt-line/prompt-line-textarea-runtime.js +394 -0
  332. package/es/components/aichat-prompt-line/prompt-line-textarea-runtime.js.map +1 -0
  333. package/es/components/aichat-prompt-line/tiptap/build-extensions.d.ts +47 -0
  334. package/es/components/aichat-prompt-line/tiptap/build-extensions.js.map +1 -0
  335. package/es/components/aichat-prompt-line/tiptap/carbon-autocomplete.d.ts +36 -0
  336. package/es/components/aichat-prompt-line/tiptap/carbon-autocomplete.js +112 -0
  337. package/es/components/aichat-prompt-line/tiptap/carbon-autocomplete.js.map +1 -0
  338. package/es/components/aichat-prompt-line/tiptap/carbon-mention.js.map +1 -0
  339. package/es/components/aichat-prompt-line/tiptap/carbon-starter-trigger.d.ts +34 -0
  340. package/es/components/aichat-prompt-line/tiptap/carbon-starter-trigger.js +99 -0
  341. package/es/components/aichat-prompt-line/tiptap/carbon-starter-trigger.js.map +1 -0
  342. package/es/components/aichat-prompt-line/tiptap/chat-enter.d.ts +20 -0
  343. package/es/components/aichat-prompt-line/tiptap/chat-enter.js +49 -0
  344. package/es/components/aichat-prompt-line/tiptap/chat-enter.js.map +1 -0
  345. package/es/components/aichat-prompt-line/tiptap/editor-styles.js +83 -0
  346. package/es/components/aichat-prompt-line/tiptap/editor-styles.js.map +1 -0
  347. package/es/components/aichat-prompt-line/tiptap/extension-equivalence.d.ts +64 -0
  348. package/es/components/aichat-prompt-line/tiptap/extension-equivalence.js +80 -0
  349. package/es/components/aichat-prompt-line/tiptap/extension-equivalence.js.map +1 -0
  350. package/es/components/aichat-prompt-line/tiptap/index.d.ts +37 -0
  351. package/es/components/aichat-prompt-line/tiptap/json-utils.js.map +1 -0
  352. package/es/components/aichat-prompt-line/tiptap/keymap.d.ts +34 -0
  353. package/es/components/aichat-prompt-line/tiptap/keymap.js +61 -0
  354. package/es/components/aichat-prompt-line/tiptap/keymap.js.map +1 -0
  355. package/es/components/aichat-prompt-line/tiptap/origin-meta.js.map +1 -0
  356. package/es/components/aichat-prompt-line/tiptap/plain-text-paste.js.map +1 -0
  357. package/es/components/aichat-prompt-line/tiptap/render-in-light-dom.d.ts +89 -0
  358. package/es/components/aichat-prompt-line/tiptap/render-in-light-dom.js +43 -0
  359. package/es/components/aichat-prompt-line/tiptap/render-in-light-dom.js.map +1 -0
  360. package/es/components/aichat-prompt-line/tiptap/render-token-chip.js +92 -0
  361. package/es/components/aichat-prompt-line/tiptap/render-token-chip.js.map +1 -0
  362. package/es/components/aichat-prompt-line/tiptap/resolve-config-items.js.map +1 -0
  363. package/es/components/aichat-prompt-line/tiptap/strip-presentation-fields.js.map +1 -0
  364. package/es/components/aichat-prompt-line/tiptap/token-node-view.js.map +1 -0
  365. package/es/components/aichat-prompt-line/tiptap/trigger-utils.d.ts +42 -0
  366. package/es/components/aichat-prompt-line/tiptap/trigger-utils.js +69 -0
  367. package/es/components/aichat-prompt-line/tiptap/trigger-utils.js.map +1 -0
  368. package/es/components/aichat-prompt-line/tiptap/types.d.ts +228 -0
  369. package/es/components/aichat-prompt-line/tiptap/typing-indicator.d.ts +18 -0
  370. package/es/components/aichat-prompt-line/tiptap/typing-indicator.js +92 -0
  371. package/es/components/aichat-prompt-line/tiptap/typing-indicator.js.map +1 -0
  372. package/es/components/aichat-prompt-line/tiptap/value-sync.d.ts +17 -0
  373. package/es/components/aichat-prompt-line/tiptap/value-sync.js +57 -0
  374. package/es/components/aichat-prompt-line/tiptap/value-sync.js.map +1 -0
  375. package/es/components/aichat-prompt-line/types.d.ts +125 -0
  376. package/es/components/aichat-prompt-line/types.js.map +1 -0
  377. package/es/components/aichat-reasoning-steps/aichat-reasoning-step.d.ts +63 -0
  378. package/es/components/aichat-reasoning-steps/aichat-reasoning-step.js +299 -0
  379. package/es/components/aichat-reasoning-steps/aichat-reasoning-step.js.map +1 -0
  380. package/es/components/aichat-reasoning-steps/aichat-reasoning-step.scss.js +13 -0
  381. package/es/components/aichat-reasoning-steps/aichat-reasoning-step.scss.js.map +1 -0
  382. package/es/components/aichat-reasoning-steps/aichat-reasoning-steps-toggle.d.ts +42 -0
  383. package/es/components/aichat-reasoning-steps/aichat-reasoning-steps-toggle.js +106 -0
  384. package/es/components/aichat-reasoning-steps/aichat-reasoning-steps-toggle.js.map +1 -0
  385. package/es/components/aichat-reasoning-steps/aichat-reasoning-steps-toggle.scss.js +13 -0
  386. package/es/components/aichat-reasoning-steps/aichat-reasoning-steps-toggle.scss.js.map +1 -0
  387. package/es/components/aichat-reasoning-steps/aichat-reasoning-steps.d.ts +52 -0
  388. package/es/components/aichat-reasoning-steps/aichat-reasoning-steps.js +171 -0
  389. package/es/components/aichat-reasoning-steps/aichat-reasoning-steps.js.map +1 -0
  390. package/es/components/aichat-reasoning-steps/aichat-reasoning-steps.scss.js +13 -0
  391. package/es/components/aichat-reasoning-steps/aichat-reasoning-steps.scss.js.map +1 -0
  392. package/es/components/aichat-reasoning-steps/index.d.ts +5 -0
  393. package/es/components/aichat-reasoning-steps/index.js +26 -0
  394. package/es/components/aichat-reasoning-steps/index.js.map +1 -0
  395. package/es/components/aichat-shell/aichat-chat-header.d.ts +183 -0
  396. package/es/components/aichat-shell/aichat-chat-header.js +412 -0
  397. package/es/components/aichat-shell/aichat-chat-header.js.map +1 -0
  398. package/es/components/aichat-shell/aichat-chat-header.scss.js +13 -0
  399. package/es/components/aichat-shell/aichat-chat-header.scss.js.map +1 -0
  400. package/es/components/aichat-shell/aichat-panel.d.ts +121 -0
  401. package/es/components/aichat-shell/aichat-panel.js +531 -0
  402. package/es/components/aichat-shell/aichat-panel.js.map +1 -0
  403. package/es/components/aichat-shell/aichat-panel.scss.js +13 -0
  404. package/es/components/aichat-shell/aichat-panel.scss.js.map +1 -0
  405. package/es/components/aichat-shell/aichat-shell.d.ts +143 -0
  406. package/es/components/aichat-shell/aichat-shell.js +878 -0
  407. package/es/components/aichat-shell/aichat-shell.js.map +1 -0
  408. package/es/components/aichat-shell/aichat-shell.scss.js +13 -0
  409. package/es/components/aichat-shell/aichat-shell.scss.js.map +1 -0
  410. package/es/components/aichat-shell/corner-manager.js +101 -0
  411. package/es/components/aichat-shell/corner-manager.js.map +1 -0
  412. package/es/components/aichat-shell/index.d.ts +15 -0
  413. package/es/components/aichat-shell/index.js +27 -0
  414. package/es/components/aichat-shell/index.js.map +1 -0
  415. package/es/components/aichat-shell/initialization-manager.js.map +1 -0
  416. package/es/components/aichat-shell/panel-manager.d.ts +42 -0
  417. package/es/components/aichat-shell/panel-manager.js +262 -0
  418. package/es/components/aichat-shell/panel-manager.js.map +1 -0
  419. package/es/components/aichat-shell/resize-observer-manager.js.map +1 -0
  420. package/es/components/aichat-shell/slot-observer.js.map +1 -0
  421. package/es/components/aichat-shell/workspace-manager-utils.js.map +1 -0
  422. package/es/components/aichat-shell/workspace-manager.d.ts +173 -0
  423. package/es/components/aichat-shell/workspace-manager.js +717 -0
  424. package/es/components/aichat-shell/workspace-manager.js.map +1 -0
  425. package/es/components/aichat-table/aichat-table.d.ts +212 -0
  426. package/es/components/aichat-table/aichat-table.js +640 -0
  427. package/es/components/aichat-table/aichat-table.js.map +1 -0
  428. package/es/components/aichat-table/aichat-table.scss.js +13 -0
  429. package/es/components/aichat-table/aichat-table.scss.js.map +1 -0
  430. package/es/components/aichat-table/index.d.ts +4 -0
  431. package/es/components/aichat-table/index.js +22 -0
  432. package/es/components/aichat-table/index.js.map +1 -0
  433. package/es/components/aichat-table/table-loader.js.map +1 -0
  434. package/es/components/aichat-table/table-pagination.template.d.ts +27 -0
  435. package/es/components/aichat-table/table-pagination.template.js +55 -0
  436. package/es/components/aichat-table/table-pagination.template.js.map +1 -0
  437. package/es/components/aichat-table/table-skeleton.template.d.ts +6 -0
  438. package/es/components/aichat-table/table-skeleton.template.js +35 -0
  439. package/es/components/aichat-table/table-skeleton.template.js.map +1 -0
  440. package/es/components/aichat-table/table.template.d.ts +10 -0
  441. package/es/components/aichat-table/table.template.js +96 -0
  442. package/es/components/aichat-table/table.template.js.map +1 -0
  443. package/es/components/aichat-toolbar/aichat-toolbar.d.ts +93 -0
  444. package/es/components/aichat-toolbar/aichat-toolbar.js +367 -0
  445. package/es/components/aichat-toolbar/aichat-toolbar.js.map +1 -0
  446. package/es/components/aichat-toolbar/aichat-toolbar.scss.js +13 -0
  447. package/es/components/aichat-toolbar/aichat-toolbar.scss.js.map +1 -0
  448. package/es/components/aichat-toolbar/index.d.ts +3 -0
  449. package/es/components/aichat-toolbar/index.js +23 -0
  450. package/es/components/aichat-toolbar/index.js.map +1 -0
  451. package/es/components/aichat-truncated-text/aichat-truncated-text.d.ts +83 -0
  452. package/es/components/aichat-truncated-text/aichat-truncated-text.js +291 -0
  453. package/es/components/aichat-truncated-text/aichat-truncated-text.js.map +1 -0
  454. package/es/components/aichat-truncated-text/aichat-truncated-text.scss.js +13 -0
  455. package/es/components/aichat-truncated-text/aichat-truncated-text.scss.js.map +1 -0
  456. package/es/components/aichat-truncated-text/index.d.ts +10 -0
  457. package/es/components/aichat-truncated-text/index.js +22 -0
  458. package/es/components/aichat-truncated-text/index.js.map +1 -0
  459. package/es/components/aichat-user-avatar/aichat-user-avatar.d.ts +47 -0
  460. package/es/components/aichat-user-avatar/aichat-user-avatar.js +151 -0
  461. package/es/components/aichat-user-avatar/aichat-user-avatar.js.map +1 -0
  462. package/es/components/aichat-user-avatar/aichat-user-avatar.scss.js +13 -0
  463. package/es/components/aichat-user-avatar/aichat-user-avatar.scss.js.map +1 -0
  464. package/es/components/aichat-user-avatar/index.d.ts +10 -0
  465. package/es/components/aichat-user-avatar/index.js +22 -0
  466. package/es/components/aichat-user-avatar/index.js.map +1 -0
  467. package/es/components/aichat-user-message-content/aichat-user-message-content.d.ts +76 -0
  468. package/es/components/aichat-user-message-content/aichat-user-message-content.js +231 -0
  469. package/es/components/aichat-user-message-content/aichat-user-message-content.js.map +1 -0
  470. package/es/components/aichat-user-message-content/aichat-user-message-content.scss.js +13 -0
  471. package/es/components/aichat-user-message-content/aichat-user-message-content.scss.js.map +1 -0
  472. package/es/components/aichat-user-message-content/index.d.ts +11 -0
  473. package/es/components/aichat-user-message-content/index.js +23 -0
  474. package/es/components/aichat-user-message-content/index.js.map +1 -0
  475. package/es/components/aichat-user-message-content/split-run-breaks.d.ts +21 -0
  476. package/es/components/aichat-user-message-content/split-run-breaks.js +36 -0
  477. package/es/components/aichat-user-message-content/split-run-breaks.js.map +1 -0
  478. package/es/components/aichat-video-player/aichat-video-player.d.ts +151 -0
  479. package/es/components/aichat-video-player/aichat-video-player.js +417 -0
  480. package/es/components/aichat-video-player/aichat-video-player.js.map +1 -0
  481. package/es/components/aichat-video-player/aichat-video-player.scss.js +13 -0
  482. package/es/components/aichat-video-player/aichat-video-player.scss.js.map +1 -0
  483. package/es/components/aichat-video-player/index.d.ts +10 -0
  484. package/es/components/aichat-video-player/index.js +22 -0
  485. package/es/components/aichat-video-player/index.js.map +1 -0
  486. package/es/components/aichat-video-player/providers/base-provider.js.map +1 -0
  487. package/es/components/aichat-video-player/providers/kaltura-provider.js +192 -0
  488. package/es/components/aichat-video-player/providers/kaltura-provider.js.map +1 -0
  489. package/es/components/aichat-video-player/providers/native-video-provider.js +158 -0
  490. package/es/components/aichat-video-player/providers/native-video-provider.js.map +1 -0
  491. package/es/components/aichat-video-player/providers/vimeo-provider.js +194 -0
  492. package/es/components/aichat-video-player/providers/vimeo-provider.js.map +1 -0
  493. package/es/components/aichat-video-player/providers/youtube-provider.js +215 -0
  494. package/es/components/aichat-video-player/providers/youtube-provider.js.map +1 -0
  495. package/es/components/aichat-video-player/utils/url-detector.js.map +1 -0
  496. package/es/components/aichat-workspace-shell/aichat-workspace-shell-body.d.ts +18 -0
  497. package/es/components/aichat-workspace-shell/aichat-workspace-shell-body.js +50 -0
  498. package/es/components/aichat-workspace-shell/aichat-workspace-shell-body.js.map +1 -0
  499. package/es/components/aichat-workspace-shell/aichat-workspace-shell-footer.d.ts +40 -0
  500. package/es/components/aichat-workspace-shell/aichat-workspace-shell-footer.js +149 -0
  501. package/es/components/aichat-workspace-shell/aichat-workspace-shell-footer.js.map +1 -0
  502. package/es/components/aichat-workspace-shell/aichat-workspace-shell-footer.scss.js +13 -0
  503. package/es/components/aichat-workspace-shell/aichat-workspace-shell-footer.scss.js.map +1 -0
  504. package/es/components/aichat-workspace-shell/aichat-workspace-shell-header.d.ts +43 -0
  505. package/es/components/aichat-workspace-shell/aichat-workspace-shell-header.js +147 -0
  506. package/es/components/aichat-workspace-shell/aichat-workspace-shell-header.js.map +1 -0
  507. package/es/components/aichat-workspace-shell/aichat-workspace-shell-header.scss.js +13 -0
  508. package/es/components/aichat-workspace-shell/aichat-workspace-shell-header.scss.js.map +1 -0
  509. package/es/components/aichat-workspace-shell/aichat-workspace-shell.d.ts +31 -0
  510. package/es/components/aichat-workspace-shell/aichat-workspace-shell.js +131 -0
  511. package/es/components/aichat-workspace-shell/aichat-workspace-shell.js.map +1 -0
  512. package/es/components/aichat-workspace-shell/aichat-workspace-shell.scss.js +13 -0
  513. package/es/components/aichat-workspace-shell/aichat-workspace-shell.scss.js.map +1 -0
  514. package/es/components/aichat-workspace-shell/header-collapsible-manager.js.map +1 -0
  515. package/es/components/aichat-workspace-shell/index.d.ts +8 -0
  516. package/es/components/aichat-workspace-shell/index.js +29 -0
  517. package/es/components/aichat-workspace-shell/index.js.map +1 -0
  518. package/es/components/audio-player/index.d.ts +1 -12
  519. package/es/components/audio-player/index.js +3 -2
  520. package/es/components/audio-player/index.js.map +1 -1
  521. package/es/components/audio-player/src/audio-player.d.ts +2 -132
  522. package/es/components/audio-player/src/audio-player.js +1 -385
  523. package/es/components/audio-player/src/audio-player.js.map +1 -1
  524. package/es/components/audio-player/src/audio-player.scss.d.ts +3 -0
  525. package/es/components/audio-player/src/audio-player.scss.js +9 -3
  526. package/es/components/audio-player/src/audio-player.scss.js.map +1 -1
  527. package/es/components/audio-player/src/providers/base-provider.d.ts +1 -125
  528. package/es/components/audio-player/src/providers/base-provider.js +1 -132
  529. package/es/components/audio-player/src/providers/base-provider.js.map +1 -1
  530. package/es/components/audio-player/src/providers/native-audio-provider.d.ts +1 -49
  531. package/es/components/audio-player/src/providers/native-audio-provider.js +1 -143
  532. package/es/components/audio-player/src/providers/native-audio-provider.js.map +1 -1
  533. package/es/components/audio-player/src/providers/soundcloud-provider.d.ts +1 -61
  534. package/es/components/audio-player/src/providers/soundcloud-provider.js +1 -192
  535. package/es/components/audio-player/src/providers/soundcloud-provider.js.map +1 -1
  536. package/es/components/audio-player/src/transcript.d.ts +2 -58
  537. package/es/components/audio-player/src/transcript.js +1 -155
  538. package/es/components/audio-player/src/transcript.js.map +1 -1
  539. package/es/components/audio-player/src/transcript.scss.d.ts +3 -0
  540. package/es/components/audio-player/src/transcript.scss.js +9 -3
  541. package/es/components/audio-player/src/transcript.scss.js.map +1 -1
  542. package/es/components/audio-player/src/utils/url-detector.d.ts +1 -32
  543. package/es/components/audio-player/src/utils/url-detector.js +1 -55
  544. package/es/components/audio-player/src/utils/url-detector.js.map +1 -1
  545. package/es/components/card/index.d.ts +1 -11
  546. package/es/components/card/index.js +4 -3
  547. package/es/components/card/index.js.map +1 -1
  548. package/es/components/card/src/card-footer.d.ts +2 -44
  549. package/es/components/card/src/card-footer.js +1 -131
  550. package/es/components/card/src/card-footer.js.map +1 -1
  551. package/es/components/card/src/card-footer.scss.d.ts +3 -0
  552. package/es/components/card/src/card-footer.scss.js +9 -3
  553. package/es/components/card/src/card-footer.scss.js.map +1 -1
  554. package/es/components/card/src/card-steps.d.ts +2 -29
  555. package/es/components/card/src/card-steps.js +1 -83
  556. package/es/components/card/src/card-steps.js.map +1 -1
  557. package/es/components/card/src/card-steps.scss.d.ts +3 -0
  558. package/es/components/card/src/card-steps.scss.js +9 -3
  559. package/es/components/card/src/card-steps.scss.js.map +1 -1
  560. package/es/components/card/src/card.d.ts +2 -28
  561. package/es/components/card/src/card.js +1 -58
  562. package/es/components/card/src/card.js.map +1 -1
  563. package/es/components/card/src/card.scss.d.ts +3 -0
  564. package/es/components/card/src/card.scss.js +9 -3
  565. package/es/components/card/src/card.scss.js.map +1 -1
  566. package/es/components/carousel/index.d.ts +1 -9
  567. package/es/components/carousel/index.js +2 -1
  568. package/es/components/carousel/index.js.map +1 -1
  569. package/es/components/carousel/src/carousel.d.ts +2 -39
  570. package/es/components/carousel/src/carousel.js +1 -122
  571. package/es/components/carousel/src/carousel.js.map +1 -1
  572. package/es/components/carousel/src/carousel.scss.d.ts +3 -0
  573. package/es/components/carousel/src/carousel.scss.js +9 -3
  574. package/es/components/carousel/src/carousel.scss.js.map +1 -1
  575. package/es/components/chain-of-thought/defs.d.ts +1 -54
  576. package/es/components/chain-of-thought/defs.js +1 -30
  577. package/es/components/chain-of-thought/defs.js.map +1 -1
  578. package/es/components/chain-of-thought/index.d.ts +2 -10
  579. package/es/components/chain-of-thought/index.js +6 -5
  580. package/es/components/chain-of-thought/index.js.map +1 -1
  581. package/es/components/chain-of-thought/src/chain-of-thought-step.d.ts +2 -47
  582. package/es/components/chain-of-thought/src/chain-of-thought-step.js +1 -340
  583. package/es/components/chain-of-thought/src/chain-of-thought-step.js.map +1 -1
  584. package/es/components/chain-of-thought/src/chain-of-thought-step.scss.d.ts +3 -0
  585. package/es/components/chain-of-thought/src/chain-of-thought-step.scss.js +9 -3
  586. package/es/components/chain-of-thought/src/chain-of-thought-step.scss.js.map +1 -1
  587. package/es/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +2 -37
  588. package/es/components/chain-of-thought/src/chain-of-thought-toggle.js +1 -100
  589. package/es/components/chain-of-thought/src/chain-of-thought-toggle.js.map +1 -1
  590. package/es/components/chain-of-thought/src/chain-of-thought-toggle.scss.d.ts +3 -0
  591. package/es/components/chain-of-thought/src/chain-of-thought-toggle.scss.js +9 -3
  592. package/es/components/chain-of-thought/src/chain-of-thought-toggle.scss.js.map +1 -1
  593. package/es/components/chain-of-thought/src/chain-of-thought.d.ts +2 -45
  594. package/es/components/chain-of-thought/src/chain-of-thought.js +1 -128
  595. package/es/components/chain-of-thought/src/chain-of-thought.js.map +1 -1
  596. package/es/components/chain-of-thought/src/chain-of-thought.scss.d.ts +3 -0
  597. package/es/components/chain-of-thought/src/chain-of-thought.scss.js +9 -3
  598. package/es/components/chain-of-thought/src/chain-of-thought.scss.js.map +1 -1
  599. package/es/components/chain-of-thought/src/tool-call-data.d.ts +2 -37
  600. package/es/components/chain-of-thought/src/tool-call-data.js +1 -170
  601. package/es/components/chain-of-thought/src/tool-call-data.js.map +1 -1
  602. package/es/components/chain-of-thought/src/tool-call-data.scss.d.ts +3 -0
  603. package/es/components/chain-of-thought/src/tool-call-data.scss.js +9 -3
  604. package/es/components/chain-of-thought/src/tool-call-data.scss.js.map +1 -1
  605. package/es/components/chat-button/defs.d.ts +1 -25
  606. package/es/components/chat-button/defs.js +1 -28
  607. package/es/components/chat-button/defs.js.map +1 -1
  608. package/es/components/chat-button/index.d.ts +1 -10
  609. package/es/components/chat-button/index.js +3 -2
  610. package/es/components/chat-button/index.js.map +1 -1
  611. package/es/components/chat-button/src/chat-button-skeleton.d.ts +2 -30
  612. package/es/components/chat-button/src/chat-button-skeleton.js +1 -33
  613. package/es/components/chat-button/src/chat-button-skeleton.js.map +1 -1
  614. package/es/components/chat-button/src/chat-button.d.ts +2 -43
  615. package/es/components/chat-button/src/chat-button.js +2 -104
  616. package/es/components/chat-button/src/chat-button.js.map +1 -1
  617. package/es/components/chat-button/src/chat-button.scss.d.ts +3 -0
  618. package/es/components/chat-button/src/chat-button.scss.js +9 -3
  619. package/es/components/chat-button/src/chat-button.scss.js.map +1 -1
  620. package/es/components/chat-history/index.d.ts +1 -11
  621. package/es/components/chat-history/index.js +13 -11
  622. package/es/components/chat-history/index.js.map +1 -1
  623. package/es/components/chat-history/src/chat-history.scss.d.ts +3 -0
  624. package/es/components/chat-history/src/chat-history.scss.js +9 -3
  625. package/es/components/chat-history/src/chat-history.scss.js.map +1 -1
  626. package/es/components/chat-history/src/history-content.d.ts +2 -25
  627. package/es/components/chat-history/src/history-content.js +1 -68
  628. package/es/components/chat-history/src/history-content.js.map +1 -1
  629. package/es/components/chat-history/src/history-delete-panel.d.ts +2 -36
  630. package/es/components/chat-history/src/history-delete-panel.js +1 -135
  631. package/es/components/chat-history/src/history-delete-panel.js.map +1 -1
  632. package/es/components/chat-history/src/history-header.d.ts +2 -34
  633. package/es/components/chat-history/src/history-header.js +1 -90
  634. package/es/components/chat-history/src/history-header.js.map +1 -1
  635. package/es/components/chat-history/src/history-loading.d.ts +2 -18
  636. package/es/components/chat-history/src/history-loading.js +1 -54
  637. package/es/components/chat-history/src/history-loading.js.map +1 -1
  638. package/es/components/chat-history/src/history-panel-item-input.d.ts +2 -130
  639. package/es/components/chat-history/src/history-panel-item-input.js +1 -273
  640. package/es/components/chat-history/src/history-panel-item-input.js.map +1 -1
  641. package/es/components/chat-history/src/history-panel-item.d.ts +2 -142
  642. package/es/components/chat-history/src/history-panel-item.js +1 -405
  643. package/es/components/chat-history/src/history-panel-item.js.map +1 -1
  644. package/es/components/chat-history/src/history-panel-items.d.ts +2 -13
  645. package/es/components/chat-history/src/history-panel-items.js +1 -33
  646. package/es/components/chat-history/src/history-panel-items.js.map +1 -1
  647. package/es/components/chat-history/src/history-panel-menu.d.ts +2 -12
  648. package/es/components/chat-history/src/history-panel-menu.js +1 -29
  649. package/es/components/chat-history/src/history-panel-menu.js.map +1 -1
  650. package/es/components/chat-history/src/history-panel.d.ts +2 -27
  651. package/es/components/chat-history/src/history-panel.js +1 -60
  652. package/es/components/chat-history/src/history-panel.js.map +1 -1
  653. package/es/components/chat-history/src/history-search-item.d.ts +2 -43
  654. package/es/components/chat-history/src/history-search-item.js +1 -87
  655. package/es/components/chat-history/src/history-search-item.js.map +1 -1
  656. package/es/components/chat-history/src/history-shell.d.ts +2 -23
  657. package/es/components/chat-history/src/history-shell.js +1 -81
  658. package/es/components/chat-history/src/history-shell.js.map +1 -1
  659. package/es/components/chat-history/src/history-toolbar.d.ts +2 -89
  660. package/es/components/chat-history/src/history-toolbar.js +1 -100
  661. package/es/components/chat-history/src/history-toolbar.js.map +1 -1
  662. package/es/components/chat-shell/index.d.ts +1 -12
  663. package/es/components/chat-shell/index.js +4 -3
  664. package/es/components/chat-shell/index.js.map +1 -1
  665. package/es/components/chat-shell/src/chat-header.d.ts +2 -177
  666. package/es/components/chat-shell/src/chat-header.js +1 -406
  667. package/es/components/chat-shell/src/chat-header.js.map +1 -1
  668. package/es/components/chat-shell/src/chat-header.scss.d.ts +3 -0
  669. package/es/components/chat-shell/src/chat-header.scss.js +9 -3
  670. package/es/components/chat-shell/src/chat-header.scss.js.map +1 -1
  671. package/es/components/chat-shell/src/corner-manager.d.ts +1 -39
  672. package/es/components/chat-shell/src/corner-manager.js +1 -93
  673. package/es/components/chat-shell/src/corner-manager.js.map +1 -1
  674. package/es/components/chat-shell/src/initialization-manager.d.ts +1 -44
  675. package/es/components/chat-shell/src/initialization-manager.js +1 -79
  676. package/es/components/chat-shell/src/initialization-manager.js.map +1 -1
  677. package/es/components/chat-shell/src/panel-manager.d.ts +1 -39
  678. package/es/components/chat-shell/src/panel-manager.js +1 -251
  679. package/es/components/chat-shell/src/panel-manager.js.map +1 -1
  680. package/es/components/chat-shell/src/panel.d.ts +2 -93
  681. package/es/components/chat-shell/src/panel.js +1 -519
  682. package/es/components/chat-shell/src/panel.js.map +1 -1
  683. package/es/components/chat-shell/src/panel.scss.d.ts +3 -0
  684. package/es/components/chat-shell/src/panel.scss.js +9 -3
  685. package/es/components/chat-shell/src/panel.scss.js.map +1 -1
  686. package/es/components/chat-shell/src/resize-observer-manager.d.ts +1 -55
  687. package/es/components/chat-shell/src/resize-observer-manager.js +1 -212
  688. package/es/components/chat-shell/src/resize-observer-manager.js.map +1 -1
  689. package/es/components/chat-shell/src/shell.d.ts +2 -133
  690. package/es/components/chat-shell/src/shell.js +1 -864
  691. package/es/components/chat-shell/src/shell.js.map +1 -1
  692. package/es/components/chat-shell/src/shell.scss.d.ts +3 -0
  693. package/es/components/chat-shell/src/shell.scss.js +9 -3
  694. package/es/components/chat-shell/src/shell.scss.js.map +1 -1
  695. package/es/components/chat-shell/src/slot-observer.d.ts +1 -53
  696. package/es/components/chat-shell/src/slot-observer.js +1 -144
  697. package/es/components/chat-shell/src/slot-observer.js.map +1 -1
  698. package/es/components/chat-shell/src/types.d.ts +1 -66
  699. package/es/components/chat-shell/src/workspace-manager-utils.d.ts +1 -90
  700. package/es/components/chat-shell/src/workspace-manager-utils.js +1 -111
  701. package/es/components/chat-shell/src/workspace-manager-utils.js.map +1 -1
  702. package/es/components/chat-shell/src/workspace-manager.d.ts +1 -173
  703. package/es/components/chat-shell/src/workspace-manager.js +1 -709
  704. package/es/components/chat-shell/src/workspace-manager.js.map +1 -1
  705. package/es/components/code-snippet/index.d.ts +2 -4
  706. package/es/components/code-snippet/index.js +2 -1
  707. package/es/components/code-snippet/index.js.map +1 -1
  708. package/es/components/code-snippet/src/code-snippet.d.ts +2 -207
  709. package/es/components/code-snippet/src/code-snippet.js +1 -974
  710. package/es/components/code-snippet/src/code-snippet.js.map +1 -1
  711. package/es/components/code-snippet/src/code-snippet.scss.d.ts +3 -0
  712. package/es/components/code-snippet/src/code-snippet.scss.js +9 -3
  713. package/es/components/code-snippet/src/code-snippet.scss.js.map +1 -1
  714. package/es/components/code-snippet/src/codemirror/base-setup.d.ts +1 -19
  715. package/es/components/code-snippet/src/codemirror/base-setup.js +1 -68
  716. package/es/components/code-snippet/src/codemirror/base-setup.js.map +1 -1
  717. package/es/components/code-snippet/src/codemirror/codemirror-loader.d.ts +1 -7
  718. package/es/components/code-snippet/src/codemirror/codemirror-loader.js +1 -21
  719. package/es/components/code-snippet/src/codemirror/codemirror-loader.js.map +1 -1
  720. package/es/components/code-snippet/src/codemirror/codemirror-runtime.d.ts +1 -8
  721. package/es/components/code-snippet/src/codemirror/codemirror-runtime.js +4 -4
  722. package/es/components/code-snippet/src/codemirror/content-sync.d.ts +1 -12
  723. package/es/components/code-snippet/src/codemirror/content-sync.js +1 -64
  724. package/es/components/code-snippet/src/codemirror/content-sync.js.map +1 -1
  725. package/es/components/code-snippet/src/codemirror/detect-language.d.ts +1 -6
  726. package/es/components/code-snippet/src/codemirror/detect-language.js +1 -69
  727. package/es/components/code-snippet/src/codemirror/detect-language.js.map +1 -1
  728. package/es/components/code-snippet/src/codemirror/diff-decorator.d.ts +1 -30
  729. package/es/components/code-snippet/src/codemirror/diff-decorator.js +1 -72
  730. package/es/components/code-snippet/src/codemirror/diff-decorator.js.map +1 -1
  731. package/es/components/code-snippet/src/codemirror/editor-manager.d.ts +1 -31
  732. package/es/components/code-snippet/src/codemirror/editor-manager.js +1 -87
  733. package/es/components/code-snippet/src/codemirror/editor-manager.js.map +1 -1
  734. package/es/components/code-snippet/src/codemirror/language-controller.d.ts +1 -39
  735. package/es/components/code-snippet/src/codemirror/language-controller.js +1 -218
  736. package/es/components/code-snippet/src/codemirror/language-controller.js.map +1 -1
  737. package/es/components/code-snippet/src/codemirror/language-data.d.ts +1 -6
  738. package/es/components/code-snippet/src/codemirror/language-data.js +1 -1035
  739. package/es/components/code-snippet/src/codemirror/language-data.js.map +1 -1
  740. package/es/components/code-snippet/src/codemirror/language-utils.d.ts +1 -79
  741. package/es/components/code-snippet/src/codemirror/language-utils.js +1 -205
  742. package/es/components/code-snippet/src/codemirror/language-utils.js.map +1 -1
  743. package/es/components/code-snippet/src/codemirror/marker-utils.d.ts +1 -123
  744. package/es/components/code-snippet/src/codemirror/marker-utils.js +1 -176
  745. package/es/components/code-snippet/src/codemirror/marker-utils.js.map +1 -1
  746. package/es/components/code-snippet/src/codemirror/theme.d.ts +1 -66
  747. package/es/components/code-snippet/src/codemirror/theme.js +1 -339
  748. package/es/components/code-snippet/src/codemirror/theme.js.map +1 -1
  749. package/es/components/code-snippet/src/dom-utils.d.ts +1 -25
  750. package/es/components/code-snippet/src/dom-utils.js +1 -66
  751. package/es/components/code-snippet/src/dom-utils.js.map +1 -1
  752. package/es/components/code-snippet/src/formatters.d.ts +1 -4
  753. package/es/components/code-snippet/src/formatters.js +1 -11
  754. package/es/components/code-snippet/src/formatters.js.map +1 -1
  755. package/es/components/code-snippet/src/layout-utils.d.ts +1 -30
  756. package/es/components/code-snippet/src/layout-utils.js +1 -73
  757. package/es/components/code-snippet/src/layout-utils.js.map +1 -1
  758. package/es/components/code-snippet/src/streaming-manager.d.ts +1 -24
  759. package/es/components/code-snippet/src/streaming-manager.js +1 -119
  760. package/es/components/code-snippet/src/streaming-manager.js.map +1 -1
  761. package/es/components/conversational-search/index.d.ts +1 -9
  762. package/es/components/conversational-search/index.js +3 -1
  763. package/es/components/conversational-search/index.js.map +1 -1
  764. package/es/components/conversational-search/src/citation-card.d.ts +2 -0
  765. package/es/components/conversational-search/src/citation-card.js +9 -0
  766. package/es/components/conversational-search/src/citation-card.js.map +1 -0
  767. package/es/components/conversational-search/src/citation-card.scss.d.ts +3 -0
  768. package/es/components/conversational-search/src/citation-card.scss.js +19 -0
  769. package/es/components/conversational-search/src/citation-card.scss.js.map +1 -0
  770. package/es/components/conversational-search/src/citation-utils.d.ts +1 -24
  771. package/es/components/conversational-search/src/citation-utils.js +1 -38
  772. package/es/components/conversational-search/src/citation-utils.js.map +1 -1
  773. package/es/components/conversational-search/src/conversational-search-shell.d.ts +2 -41
  774. package/es/components/conversational-search/src/conversational-search-shell.js +1 -108
  775. package/es/components/conversational-search/src/conversational-search-shell.js.map +1 -1
  776. package/es/components/conversational-search/src/conversational-search-shell.scss.d.ts +3 -0
  777. package/es/components/conversational-search/src/conversational-search-shell.scss.js +9 -3
  778. package/es/components/conversational-search/src/conversational-search-shell.scss.js.map +1 -1
  779. package/es/components/feedback/index.d.ts +1 -4
  780. package/es/components/feedback/index.js +3 -2
  781. package/es/components/feedback/index.js.map +1 -1
  782. package/es/components/feedback/src/feedback-buttons.d.ts +2 -68
  783. package/es/components/feedback/src/feedback-buttons.js +1 -181
  784. package/es/components/feedback/src/feedback-buttons.js.map +1 -1
  785. package/es/components/feedback/src/feedback-buttons.scss.d.ts +3 -0
  786. package/es/components/feedback/src/feedback-buttons.scss.js +9 -3
  787. package/es/components/feedback/src/feedback-buttons.scss.js.map +1 -1
  788. package/es/components/feedback/src/feedback.d.ts +2 -141
  789. package/es/components/feedback/src/feedback.js +1 -332
  790. package/es/components/feedback/src/feedback.js.map +1 -1
  791. package/es/components/feedback/src/feedback.scss.d.ts +3 -0
  792. package/es/components/feedback/src/feedback.scss.js +9 -3
  793. package/es/components/feedback/src/feedback.scss.js.map +1 -1
  794. package/es/components/file-uploads/index.d.ts +1 -13
  795. package/es/components/file-uploads/index.js +3 -2
  796. package/es/components/file-uploads/index.js.map +1 -1
  797. package/es/components/file-uploads/src/file-type-icon.d.ts +1 -18
  798. package/es/components/file-uploads/src/file-type-icon.js +1 -79
  799. package/es/components/file-uploads/src/file-type-icon.js.map +1 -1
  800. package/es/components/file-uploads/src/file-upload-item.d.ts +2 -117
  801. package/es/components/file-uploads/src/file-upload-item.js +1 -434
  802. package/es/components/file-uploads/src/file-upload-item.js.map +1 -1
  803. package/es/components/file-uploads/src/file-upload-item.scss.d.ts +3 -0
  804. package/es/components/file-uploads/src/file-upload-item.scss.js +9 -3
  805. package/es/components/file-uploads/src/file-upload-item.scss.js.map +1 -1
  806. package/es/components/file-uploads/src/file-uploads.d.ts +2 -116
  807. package/es/components/file-uploads/src/file-uploads.js +1 -283
  808. package/es/components/file-uploads/src/file-uploads.js.map +1 -1
  809. package/es/components/file-uploads/src/file-uploads.scss.d.ts +3 -0
  810. package/es/components/file-uploads/src/file-uploads.scss.js +9 -3
  811. package/es/components/file-uploads/src/file-uploads.scss.js.map +1 -1
  812. package/es/components/file-uploads/src/types.d.ts +1 -39
  813. package/es/components/launcher/index.d.ts +1 -9
  814. package/es/components/launcher/index.js +2 -1
  815. package/es/components/launcher/index.js.map +1 -1
  816. package/es/components/launcher/src/launcher.d.ts +2 -68
  817. package/es/components/launcher/src/launcher.js +1 -145
  818. package/es/components/launcher/src/launcher.js.map +1 -1
  819. package/es/components/launcher/src/launcher.scss.d.ts +3 -0
  820. package/es/components/launcher/src/launcher.scss.js +9 -3
  821. package/es/components/launcher/src/launcher.scss.js.map +1 -1
  822. package/es/components/markdown/index.d.ts +2 -8
  823. package/es/components/markdown/index.js +5 -5
  824. package/es/components/markdown/src/inline-markdown.d.ts +1 -41
  825. package/es/components/markdown/src/inline-markdown.js +2 -84
  826. package/es/components/markdown/src/inline-markdown.js.map +1 -1
  827. package/es/components/markdown/src/markdown-renderer-types.d.ts +1 -395
  828. package/es/components/markdown/src/markdown-renderer.d.ts +1 -26
  829. package/es/components/markdown/src/markdown-renderer.js +1 -632
  830. package/es/components/markdown/src/markdown-renderer.js.map +1 -1
  831. package/es/components/markdown/src/markdown-token-tree.d.ts +1 -83
  832. package/es/components/markdown/src/markdown-token-tree.js +1 -349
  833. package/es/components/markdown/src/markdown-token-tree.js.map +1 -1
  834. package/es/components/markdown/src/markdown.d.ts +2 -139
  835. package/es/components/markdown/src/markdown.js +1 -862
  836. package/es/components/markdown/src/markdown.js.map +1 -1
  837. package/es/components/markdown/src/markdown.scss.d.ts +3 -0
  838. package/es/components/markdown/src/markdown.scss.js +9 -3
  839. package/es/components/markdown/src/markdown.scss.js.map +1 -1
  840. package/es/components/markdown/src/plugins/markdown-it-attrs.d.ts +1 -6
  841. package/es/components/markdown/src/plugins/markdown-it-attrs.js +1 -189
  842. package/es/components/markdown/src/plugins/markdown-it-attrs.js.map +1 -1
  843. package/es/components/markdown/src/plugins/markdown-it-highlight.d.ts +1 -7
  844. package/es/components/markdown/src/plugins/markdown-it-highlight.js +1 -51
  845. package/es/components/markdown/src/plugins/markdown-it-highlight.js.map +1 -1
  846. package/es/components/markdown/src/plugins/markdown-it-task-lists.d.ts +1 -12
  847. package/es/components/markdown/src/plugins/markdown-it-task-lists.js +1 -68
  848. package/es/components/markdown/src/plugins/markdown-it-task-lists.js.map +1 -1
  849. package/es/components/markdown/src/utils/html-helpers.d.ts +1 -5
  850. package/es/components/markdown/src/utils/html-helpers.js +1 -317
  851. package/es/components/markdown/src/utils/html-helpers.js.map +1 -1
  852. package/es/components/markdown/src/utils/inline-run-projection.d.ts +1 -15
  853. package/es/components/markdown/src/utils/inline-run-projection.js +1 -188
  854. package/es/components/markdown/src/utils/inline-run-projection.js.map +1 -1
  855. package/es/components/markdown/src/utils/inline-validation.d.ts +1 -13
  856. package/es/components/markdown/src/utils/inline-validation.js +1 -89
  857. package/es/components/markdown/src/utils/inline-validation.js.map +1 -1
  858. package/es/components/markdown/src/utils/lit-directives.d.ts +1 -17
  859. package/es/components/markdown/src/utils/lit-directives.js +1 -76
  860. package/es/components/markdown/src/utils/lit-directives.js.map +1 -1
  861. package/es/components/markdown/src/utils/plugin-fallback.d.ts +1 -36
  862. package/es/components/markdown/src/utils/plugin-fallback.js +1 -230
  863. package/es/components/markdown/src/utils/plugin-fallback.js.map +1 -1
  864. package/es/components/markdown/src/utils/plugin-host-container.d.ts +1 -159
  865. package/es/components/markdown/src/utils/plugin-host-container.js +1 -157
  866. package/es/components/markdown/src/utils/plugin-host-container.js.map +1 -1
  867. package/es/components/markdown/src/utils/slot-names.d.ts +1 -1
  868. package/es/components/markdown/src/utils/slot-names.js +1 -75
  869. package/es/components/markdown/src/utils/slot-names.js.map +1 -1
  870. package/es/components/markdown/src/utils/streaming-table.d.ts +1 -28
  871. package/es/components/markdown/src/utils/streaming-table.js +1 -78
  872. package/es/components/markdown/src/utils/streaming-table.js.map +1 -1
  873. package/es/components/markdown/src/utils/table-helpers.d.ts +1 -32
  874. package/es/components/markdown/src/utils/table-helpers.js +1 -195
  875. package/es/components/markdown/src/utils/table-helpers.js.map +1 -1
  876. package/es/components/message-byline/index.d.ts +9 -0
  877. package/es/components/message-byline/index.js +10 -0
  878. package/es/components/message-byline/src/message-byline.d.ts +2 -0
  879. package/es/components/message-byline/src/message-byline.js +9 -0
  880. package/es/components/message-byline/src/message-byline.js.map +1 -0
  881. package/es/components/message-byline/src/message-byline.scss.d.ts +3 -0
  882. package/es/components/message-byline/src/message-byline.scss.js +19 -0
  883. package/es/components/message-byline/src/message-byline.scss.js.map +1 -0
  884. package/es/components/message-item-shell/index.d.ts +9 -0
  885. package/es/components/message-item-shell/index.js +10 -0
  886. package/es/components/message-item-shell/src/message-item-shell.d.ts +2 -0
  887. package/es/components/message-item-shell/src/message-item-shell.js +9 -0
  888. package/es/components/message-item-shell/src/message-item-shell.js.map +1 -0
  889. package/es/components/message-item-shell/src/message-item-shell.scss.d.ts +3 -0
  890. package/es/components/message-item-shell/src/message-item-shell.scss.js +19 -0
  891. package/es/components/message-item-shell/src/message-item-shell.scss.js.map +1 -0
  892. package/es/components/messages-shell/index.d.ts +1 -3
  893. package/es/components/messages-shell/index.js +3 -1
  894. package/es/components/messages-shell/index.js.map +1 -1
  895. package/es/components/messages-shell/src/messages-scroll-controller.d.ts +1 -0
  896. package/es/components/messages-shell/src/messages-scroll-controller.js +9 -0
  897. package/es/components/messages-shell/src/messages-scroll-controller.js.map +1 -0
  898. package/es/components/messages-shell/src/messages-shell.d.ts +6 -53
  899. package/es/components/messages-shell/src/messages-shell.js +1 -133
  900. package/es/components/messages-shell/src/messages-shell.js.map +1 -1
  901. package/es/components/messages-shell/src/messages-shell.scss.d.ts +3 -0
  902. package/es/components/messages-shell/src/messages-shell.scss.js +9 -3
  903. package/es/components/messages-shell/src/messages-shell.scss.js.map +1 -1
  904. package/es/components/processing/index.d.ts +1 -1
  905. package/es/components/processing/index.js +2 -1
  906. package/es/components/processing/index.js.map +1 -1
  907. package/es/components/processing/src/processing.d.ts +2 -23
  908. package/es/components/processing/src/processing.js +1 -60
  909. package/es/components/processing/src/processing.js.map +1 -1
  910. package/es/components/processing/src/processing.scss.d.ts +3 -0
  911. package/es/components/processing/src/processing.scss.js +9 -3
  912. package/es/components/processing/src/processing.scss.js.map +1 -1
  913. package/es/components/prompt-line/autocomplete/index.d.ts +1 -12
  914. package/es/components/prompt-line/autocomplete/index.js +2 -1
  915. package/es/components/prompt-line/autocomplete/index.js.map +1 -1
  916. package/es/components/prompt-line/autocomplete/src/autocomplete.d.ts +2 -212
  917. package/es/components/prompt-line/autocomplete/src/autocomplete.js +1 -613
  918. package/es/components/prompt-line/autocomplete/src/autocomplete.js.map +1 -1
  919. package/es/components/prompt-line/autocomplete/src/autocomplete.scss.d.ts +3 -0
  920. package/es/components/prompt-line/autocomplete/src/autocomplete.scss.js +9 -3
  921. package/es/components/prompt-line/autocomplete/src/autocomplete.scss.js.map +1 -1
  922. package/es/components/prompt-line/index.d.ts +1 -27
  923. package/es/components/prompt-line/index.js +20 -23
  924. package/es/components/prompt-line/index.js.map +1 -1
  925. package/es/components/prompt-line/src/autocomplete-controller-element.d.ts +2 -84
  926. package/es/components/prompt-line/src/autocomplete-controller-element.js +1 -266
  927. package/es/components/prompt-line/src/autocomplete-controller-element.js.map +1 -1
  928. package/es/components/prompt-line/src/autocomplete-controller.d.ts +1 -148
  929. package/es/components/prompt-line/src/autocomplete-controller.js +1 -495
  930. package/es/components/prompt-line/src/autocomplete-controller.js.map +1 -1
  931. package/es/components/prompt-line/src/error-message.d.ts +2 -46
  932. package/es/components/prompt-line/src/error-message.js +1 -126
  933. package/es/components/prompt-line/src/error-message.js.map +1 -1
  934. package/es/components/prompt-line/src/error-message.scss.d.ts +3 -0
  935. package/es/components/prompt-line/src/error-message.scss.js +9 -3
  936. package/es/components/prompt-line/src/error-message.scss.js.map +1 -1
  937. package/es/components/prompt-line/src/prompt-line-constants.d.ts +1 -35
  938. package/es/components/prompt-line/src/prompt-line-constants.js +1 -34
  939. package/es/components/prompt-line/src/prompt-line-constants.js.map +1 -1
  940. package/es/components/prompt-line/src/prompt-line-controller.d.ts +1 -122
  941. package/es/components/prompt-line/src/prompt-line-mouse-focus.d.ts +1 -45
  942. package/es/components/prompt-line/src/prompt-line-mouse-focus.js +1 -75
  943. package/es/components/prompt-line/src/prompt-line-mouse-focus.js.map +1 -1
  944. package/es/components/prompt-line/src/prompt-line-rich-loader.d.ts +1 -41
  945. package/es/components/prompt-line/src/prompt-line-rich-loader.js +1 -48
  946. package/es/components/prompt-line/src/prompt-line-rich-loader.js.map +1 -1
  947. package/es/components/prompt-line/src/prompt-line-rich-runtime.d.ts +1 -14
  948. package/es/components/prompt-line/src/prompt-line-rich-runtime.js +1 -433
  949. package/es/components/prompt-line/src/prompt-line-rich-runtime.js.map +1 -1
  950. package/es/components/prompt-line/src/prompt-line-shell.d.ts +2 -114
  951. package/es/components/prompt-line/src/prompt-line-shell.js +1 -259
  952. package/es/components/prompt-line/src/prompt-line-shell.js.map +1 -1
  953. package/es/components/prompt-line/src/prompt-line-shell.scss.d.ts +3 -0
  954. package/es/components/prompt-line/src/prompt-line-shell.scss.js +9 -3
  955. package/es/components/prompt-line/src/prompt-line-shell.scss.js.map +1 -1
  956. package/es/components/prompt-line/src/prompt-line-textarea-runtime.d.ts +1 -88
  957. package/es/components/prompt-line/src/prompt-line-textarea-runtime.js +1 -380
  958. package/es/components/prompt-line/src/prompt-line-textarea-runtime.js.map +1 -1
  959. package/es/components/prompt-line/src/prompt-line.d.ts +2 -197
  960. package/es/components/prompt-line/src/prompt-line.js +1 -546
  961. package/es/components/prompt-line/src/prompt-line.js.map +1 -1
  962. package/es/components/prompt-line/src/prompt-line.scss.d.ts +3 -0
  963. package/es/components/prompt-line/src/prompt-line.scss.js +9 -3
  964. package/es/components/prompt-line/src/prompt-line.scss.js.map +1 -1
  965. package/es/components/prompt-line/src/send-control.d.ts +2 -53
  966. package/es/components/prompt-line/src/send-control.js +1 -176
  967. package/es/components/prompt-line/src/send-control.js.map +1 -1
  968. package/es/components/prompt-line/src/send-control.scss.d.ts +3 -0
  969. package/es/components/prompt-line/src/send-control.scss.js +9 -3
  970. package/es/components/prompt-line/src/send-control.scss.js.map +1 -1
  971. package/es/components/prompt-line/src/stop-streaming-button.d.ts +2 -42
  972. package/es/components/prompt-line/src/stop-streaming-button.js +1 -84
  973. package/es/components/prompt-line/src/stop-streaming-button.js.map +1 -1
  974. package/es/components/prompt-line/src/stop-streaming-button.scss.d.ts +3 -0
  975. package/es/components/prompt-line/src/stop-streaming-button.scss.js +9 -3
  976. package/es/components/prompt-line/src/stop-streaming-button.scss.js.map +1 -1
  977. package/es/components/prompt-line/src/tiptap/build-extensions.d.ts +1 -47
  978. package/es/components/prompt-line/src/tiptap/build-extensions.js +1 -60
  979. package/es/components/prompt-line/src/tiptap/build-extensions.js.map +1 -1
  980. package/es/components/prompt-line/src/tiptap/carbon-autocomplete.d.ts +1 -36
  981. package/es/components/prompt-line/src/tiptap/carbon-autocomplete.js +1 -104
  982. package/es/components/prompt-line/src/tiptap/carbon-autocomplete.js.map +1 -1
  983. package/es/components/prompt-line/src/tiptap/carbon-mention.d.ts +1 -19
  984. package/es/components/prompt-line/src/tiptap/carbon-mention.js +1 -218
  985. package/es/components/prompt-line/src/tiptap/carbon-mention.js.map +1 -1
  986. package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.d.ts +1 -34
  987. package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.js +1 -91
  988. package/es/components/prompt-line/src/tiptap/carbon-starter-trigger.js.map +1 -1
  989. package/es/components/prompt-line/src/tiptap/chat-enter.d.ts +1 -17
  990. package/es/components/prompt-line/src/tiptap/chat-enter.js +1 -38
  991. package/es/components/prompt-line/src/tiptap/chat-enter.js.map +1 -1
  992. package/es/components/prompt-line/src/tiptap/editor-styles.d.ts +1 -18
  993. package/es/components/prompt-line/src/tiptap/editor-styles.js +1 -75
  994. package/es/components/prompt-line/src/tiptap/editor-styles.js.map +1 -1
  995. package/es/components/prompt-line/src/tiptap/extension-equivalence.d.ts +1 -64
  996. package/es/components/prompt-line/src/tiptap/extension-equivalence.js +1 -72
  997. package/es/components/prompt-line/src/tiptap/extension-equivalence.js.map +1 -1
  998. package/es/components/prompt-line/src/tiptap/index.d.ts +1 -37
  999. package/es/components/prompt-line/src/tiptap/index.js +16 -16
  1000. package/es/components/prompt-line/src/tiptap/json-utils.d.ts +1 -69
  1001. package/es/components/prompt-line/src/tiptap/json-utils.js +1 -160
  1002. package/es/components/prompt-line/src/tiptap/json-utils.js.map +1 -1
  1003. package/es/components/prompt-line/src/tiptap/keymap.d.ts +1 -31
  1004. package/es/components/prompt-line/src/tiptap/keymap.js +1 -50
  1005. package/es/components/prompt-line/src/tiptap/keymap.js.map +1 -1
  1006. package/es/components/prompt-line/src/tiptap/origin-meta.d.ts +1 -11
  1007. package/es/components/prompt-line/src/tiptap/origin-meta.js +1 -25
  1008. package/es/components/prompt-line/src/tiptap/origin-meta.js.map +1 -1
  1009. package/es/components/prompt-line/src/tiptap/plain-text-paste.d.ts +1 -16
  1010. package/es/components/prompt-line/src/tiptap/plain-text-paste.js +1 -82
  1011. package/es/components/prompt-line/src/tiptap/plain-text-paste.js.map +1 -1
  1012. package/es/components/prompt-line/src/tiptap/render-in-light-dom.d.ts +1 -87
  1013. package/es/components/prompt-line/src/tiptap/render-in-light-dom.js +1 -33
  1014. package/es/components/prompt-line/src/tiptap/render-in-light-dom.js.map +1 -1
  1015. package/es/components/prompt-line/src/tiptap/render-token-chip.d.ts +1 -69
  1016. package/es/components/prompt-line/src/tiptap/render-token-chip.js +1 -84
  1017. package/es/components/prompt-line/src/tiptap/render-token-chip.js.map +1 -1
  1018. package/es/components/prompt-line/src/tiptap/resolve-config-items.d.ts +1 -22
  1019. package/es/components/prompt-line/src/tiptap/resolve-config-items.js +1 -33
  1020. package/es/components/prompt-line/src/tiptap/resolve-config-items.js.map +1 -1
  1021. package/es/components/prompt-line/src/tiptap/strip-presentation-fields.d.ts +1 -18
  1022. package/es/components/prompt-line/src/tiptap/strip-presentation-fields.js +1 -14
  1023. package/es/components/prompt-line/src/tiptap/strip-presentation-fields.js.map +1 -1
  1024. package/es/components/prompt-line/src/tiptap/token-node-view.d.ts +1 -36
  1025. package/es/components/prompt-line/src/tiptap/token-node-view.js +1 -33
  1026. package/es/components/prompt-line/src/tiptap/token-node-view.js.map +1 -1
  1027. package/es/components/prompt-line/src/tiptap/trigger-utils.d.ts +1 -41
  1028. package/es/components/prompt-line/src/tiptap/trigger-utils.js +1 -60
  1029. package/es/components/prompt-line/src/tiptap/trigger-utils.js.map +1 -1
  1030. package/es/components/prompt-line/src/tiptap/types.d.ts +1 -229
  1031. package/es/components/prompt-line/src/tiptap/typing-indicator.d.ts +1 -30
  1032. package/es/components/prompt-line/src/tiptap/typing-indicator.js +1 -96
  1033. package/es/components/prompt-line/src/tiptap/typing-indicator.js.map +1 -1
  1034. package/es/components/prompt-line/src/tiptap/value-sync.d.ts +1 -25
  1035. package/es/components/prompt-line/src/tiptap/value-sync.js +1 -57
  1036. package/es/components/prompt-line/src/tiptap/value-sync.js.map +1 -1
  1037. package/es/components/prompt-line/src/types.d.ts +1 -100
  1038. package/es/components/prompt-line/src/types.js +1 -42
  1039. package/es/components/prompt-line/src/types.js.map +1 -1
  1040. package/es/components/reasoning-steps/index.d.ts +1 -4
  1041. package/es/components/reasoning-steps/index.js +4 -3
  1042. package/es/components/reasoning-steps/index.js.map +1 -1
  1043. package/es/components/reasoning-steps/src/reasoning-step.d.ts +2 -50
  1044. package/es/components/reasoning-steps/src/reasoning-step.js +1 -286
  1045. package/es/components/reasoning-steps/src/reasoning-step.js.map +1 -1
  1046. package/es/components/reasoning-steps/src/reasoning-step.scss.d.ts +3 -0
  1047. package/es/components/reasoning-steps/src/reasoning-step.scss.js +9 -3
  1048. package/es/components/reasoning-steps/src/reasoning-step.scss.js.map +1 -1
  1049. package/es/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +2 -40
  1050. package/es/components/reasoning-steps/src/reasoning-steps-toggle.js +1 -99
  1051. package/es/components/reasoning-steps/src/reasoning-steps-toggle.js.map +1 -1
  1052. package/es/components/reasoning-steps/src/reasoning-steps-toggle.scss.d.ts +3 -0
  1053. package/es/components/reasoning-steps/src/reasoning-steps-toggle.scss.js +9 -3
  1054. package/es/components/reasoning-steps/src/reasoning-steps-toggle.scss.js.map +1 -1
  1055. package/es/components/reasoning-steps/src/reasoning-steps.d.ts +2 -47
  1056. package/es/components/reasoning-steps/src/reasoning-steps.js +1 -161
  1057. package/es/components/reasoning-steps/src/reasoning-steps.js.map +1 -1
  1058. package/es/components/reasoning-steps/src/reasoning-steps.scss.d.ts +3 -0
  1059. package/es/components/reasoning-steps/src/reasoning-steps.scss.js +9 -3
  1060. package/es/components/reasoning-steps/src/reasoning-steps.scss.js.map +1 -1
  1061. package/es/components/table/index.d.ts +2 -3
  1062. package/es/components/table/index.js +2 -1
  1063. package/es/components/table/index.js.map +1 -1
  1064. package/es/components/table/src/table-loader.d.ts +1 -4
  1065. package/es/components/table/src/table-loader.js +1 -20
  1066. package/es/components/table/src/table-loader.js.map +1 -1
  1067. package/es/components/table/src/table-pagination.template.d.ts +1 -27
  1068. package/es/components/table/src/table-pagination.template.js +1 -47
  1069. package/es/components/table/src/table-pagination.template.js.map +1 -1
  1070. package/es/components/table/src/table-runtime.d.ts +1 -2
  1071. package/es/components/table/src/table-runtime.js +2 -2
  1072. package/es/components/table/src/table-skeleton.template.d.ts +1 -6
  1073. package/es/components/table/src/table-skeleton.template.js +1 -27
  1074. package/es/components/table/src/table-skeleton.template.js.map +1 -1
  1075. package/es/components/table/src/table.d.ts +2 -210
  1076. package/es/components/table/src/table.js +1 -633
  1077. package/es/components/table/src/table.js.map +1 -1
  1078. package/es/components/table/src/table.scss.d.ts +3 -0
  1079. package/es/components/table/src/table.scss.js +9 -3
  1080. package/es/components/table/src/table.scss.js.map +1 -1
  1081. package/es/components/table/src/table.template.d.ts +1 -10
  1082. package/es/components/table/src/table.template.js +1 -88
  1083. package/es/components/table/src/table.template.js.map +1 -1
  1084. package/es/components/table/src/types.d.ts +1 -13
  1085. package/es/components/toolbar/index.d.ts +1 -1
  1086. package/es/components/toolbar/index.js +2 -1
  1087. package/es/components/toolbar/index.js.map +1 -1
  1088. package/es/components/toolbar/src/toolbar.d.ts +2 -85
  1089. package/es/components/toolbar/src/toolbar.js +1 -378
  1090. package/es/components/toolbar/src/toolbar.js.map +1 -1
  1091. package/es/components/toolbar/src/toolbar.scss.d.ts +3 -0
  1092. package/es/components/toolbar/src/toolbar.scss.js +9 -3
  1093. package/es/components/toolbar/src/toolbar.scss.js.map +1 -1
  1094. package/es/components/truncated-text/index.d.ts +1 -9
  1095. package/es/components/truncated-text/index.js +2 -1
  1096. package/es/components/truncated-text/index.js.map +1 -1
  1097. package/es/components/truncated-text/src/truncated-text.d.ts +2 -84
  1098. package/es/components/truncated-text/src/truncated-text.js +1 -287
  1099. package/es/components/truncated-text/src/truncated-text.js.map +1 -1
  1100. package/es/components/truncated-text/src/truncated-text.scss.d.ts +3 -0
  1101. package/es/components/truncated-text/src/truncated-text.scss.js +9 -3
  1102. package/es/components/truncated-text/src/truncated-text.scss.js.map +1 -1
  1103. package/es/components/user-avatar/index.d.ts +9 -0
  1104. package/es/components/user-avatar/index.js +10 -0
  1105. package/es/components/user-avatar/src/user-avatar.d.ts +2 -0
  1106. package/es/components/user-avatar/src/user-avatar.js +9 -0
  1107. package/es/components/user-avatar/src/user-avatar.js.map +1 -0
  1108. package/es/components/user-avatar/src/user-avatar.scss.d.ts +3 -0
  1109. package/es/components/user-avatar/src/user-avatar.scss.js +19 -0
  1110. package/es/components/user-avatar/src/user-avatar.scss.js.map +1 -0
  1111. package/es/components/user-message-content/index.d.ts +9 -0
  1112. package/es/components/user-message-content/index.js +10 -0
  1113. package/es/components/user-message-content/src/split-run-breaks.d.ts +9 -0
  1114. package/es/components/user-message-content/src/split-run-breaks.js +9 -0
  1115. package/es/components/user-message-content/src/split-run-breaks.js.map +1 -0
  1116. package/es/components/user-message-content/src/user-message-content.d.ts +10 -0
  1117. package/es/components/user-message-content/src/user-message-content.js +9 -0
  1118. package/es/components/user-message-content/src/user-message-content.js.map +1 -0
  1119. package/es/components/user-message-content/src/user-message-content.scss.d.ts +3 -0
  1120. package/es/components/user-message-content/src/user-message-content.scss.js +19 -0
  1121. package/es/components/user-message-content/src/user-message-content.scss.js.map +1 -0
  1122. package/es/components/video-player/index.d.ts +1 -10
  1123. package/es/components/video-player/index.js +2 -1
  1124. package/es/components/video-player/index.js.map +1 -1
  1125. package/es/components/video-player/src/providers/base-provider.d.ts +1 -141
  1126. package/es/components/video-player/src/providers/base-provider.js +1 -128
  1127. package/es/components/video-player/src/providers/base-provider.js.map +1 -1
  1128. package/es/components/video-player/src/providers/kaltura-provider.d.ts +1 -64
  1129. package/es/components/video-player/src/providers/kaltura-provider.js +1 -184
  1130. package/es/components/video-player/src/providers/kaltura-provider.js.map +1 -1
  1131. package/es/components/video-player/src/providers/native-video-provider.d.ts +1 -49
  1132. package/es/components/video-player/src/providers/native-video-provider.js +1 -150
  1133. package/es/components/video-player/src/providers/native-video-provider.js.map +1 -1
  1134. package/es/components/video-player/src/providers/vimeo-provider.d.ts +1 -60
  1135. package/es/components/video-player/src/providers/vimeo-provider.js +1 -186
  1136. package/es/components/video-player/src/providers/vimeo-provider.js.map +1 -1
  1137. package/es/components/video-player/src/providers/youtube-provider.d.ts +1 -73
  1138. package/es/components/video-player/src/providers/youtube-provider.js +1 -207
  1139. package/es/components/video-player/src/providers/youtube-provider.js.map +1 -1
  1140. package/es/components/video-player/src/utils/url-detector.d.ts +1 -34
  1141. package/es/components/video-player/src/utils/url-detector.js +1 -72
  1142. package/es/components/video-player/src/utils/url-detector.js.map +1 -1
  1143. package/es/components/video-player/src/video-player.d.ts +2 -145
  1144. package/es/components/video-player/src/video-player.js +1 -411
  1145. package/es/components/video-player/src/video-player.js.map +1 -1
  1146. package/es/components/video-player/src/video-player.scss.d.ts +3 -0
  1147. package/es/components/video-player/src/video-player.scss.js +9 -3
  1148. package/es/components/video-player/src/video-player.scss.js.map +1 -1
  1149. package/es/components/workspace-shell/index.d.ts +1 -4
  1150. package/es/components/workspace-shell/index.js +5 -4
  1151. package/es/components/workspace-shell/index.js.map +1 -1
  1152. package/es/components/workspace-shell/src/header-collapsible-manager.d.ts +1 -77
  1153. package/es/components/workspace-shell/src/header-collapsible-manager.js +1 -214
  1154. package/es/components/workspace-shell/src/header-collapsible-manager.js.map +1 -1
  1155. package/es/components/workspace-shell/src/workspace-shell-body.d.ts +2 -17
  1156. package/es/components/workspace-shell/src/workspace-shell-body.js +1 -44
  1157. package/es/components/workspace-shell/src/workspace-shell-body.js.map +1 -1
  1158. package/es/components/workspace-shell/src/workspace-shell-footer.d.ts +2 -38
  1159. package/es/components/workspace-shell/src/workspace-shell-footer.js +1 -142
  1160. package/es/components/workspace-shell/src/workspace-shell-footer.js.map +1 -1
  1161. package/es/components/workspace-shell/src/workspace-shell-footer.scss.d.ts +3 -0
  1162. package/es/components/workspace-shell/src/workspace-shell-footer.scss.js +9 -3
  1163. package/es/components/workspace-shell/src/workspace-shell-footer.scss.js.map +1 -1
  1164. package/es/components/workspace-shell/src/workspace-shell-header.d.ts +2 -38
  1165. package/es/components/workspace-shell/src/workspace-shell-header.js +1 -142
  1166. package/es/components/workspace-shell/src/workspace-shell-header.js.map +1 -1
  1167. package/es/components/workspace-shell/src/workspace-shell-header.scss.d.ts +3 -0
  1168. package/es/components/workspace-shell/src/workspace-shell-header.scss.js +9 -3
  1169. package/es/components/workspace-shell/src/workspace-shell-header.scss.js.map +1 -1
  1170. package/es/components/workspace-shell/src/workspace-shell.d.ts +2 -30
  1171. package/es/components/workspace-shell/src/workspace-shell.js +1 -125
  1172. package/es/components/workspace-shell/src/workspace-shell.js.map +1 -1
  1173. package/es/components/workspace-shell/src/workspace-shell.scss.d.ts +3 -0
  1174. package/es/components/workspace-shell/src/workspace-shell.scss.js +9 -3
  1175. package/es/components/workspace-shell/src/workspace-shell.scss.js.map +1 -1
  1176. package/es/globals/register.d.ts +45 -0
  1177. package/es/globals/register.js +78 -0
  1178. package/es/globals/register.js.map +1 -0
  1179. package/es/globals/settings.d.ts +2 -1
  1180. package/es/globals/settings.js +2 -2
  1181. package/es/globals/settings.js.map +1 -1
  1182. package/es/globals/utils/dynamic-css-var-sheet.js.map +1 -0
  1183. package/es/globals/utils/iconTransform.js +1 -0
  1184. package/es/globals/utils/iconTransform.js.map +1 -1
  1185. package/es/globals/utils/menu-item-activation.d.ts +8 -0
  1186. package/es/globals/utils/menu-item-activation.js +42 -0
  1187. package/es/globals/utils/menu-item-activation.js.map +1 -0
  1188. package/es/globals/utils/root-styles.d.ts +30 -0
  1189. package/es/globals/utils/root-styles.js +72 -0
  1190. package/es/globals/utils/root-styles.js.map +1 -0
  1191. package/es/globals/utils/script-loader.js.map +1 -0
  1192. package/es/index.d.ts +87 -0
  1193. package/es/index.js +95 -0
  1194. package/es/index.js.map +1 -0
  1195. package/es/react/ai-label-action-button.d.ts +2 -2
  1196. package/es/react/ai-label-action-button.js +3 -3
  1197. package/es/react/ai-label-action-button.js.map +1 -1
  1198. package/es/react/audio-player.d.ts +9 -2
  1199. package/es/react/audio-player.js +6 -6
  1200. package/es/react/audio-player.js.map +1 -1
  1201. package/es/react/autocomplete-controller.d.ts +20 -0
  1202. package/es/react/autocomplete-controller.js +35 -0
  1203. package/es/react/autocomplete-controller.js.map +1 -0
  1204. package/es/react/autocomplete.d.ts +9 -2
  1205. package/es/react/autocomplete.js +6 -5
  1206. package/es/react/autocomplete.js.map +1 -1
  1207. package/es/react/card.d.ts +8 -4
  1208. package/es/react/card.js +16 -16
  1209. package/es/react/card.js.map +1 -1
  1210. package/es/react/carousel.d.ts +6 -2
  1211. package/es/react/carousel.js +5 -5
  1212. package/es/react/carousel.js.map +1 -1
  1213. package/es/react/chain-of-thought-step.d.ts +7 -2
  1214. package/es/react/chain-of-thought-step.js +5 -5
  1215. package/es/react/chain-of-thought-step.js.map +1 -1
  1216. package/es/react/chain-of-thought-toggle.d.ts +6 -3
  1217. package/es/react/chain-of-thought-toggle.js +5 -5
  1218. package/es/react/chain-of-thought-toggle.js.map +1 -1
  1219. package/es/react/chain-of-thought.d.ts +12 -2
  1220. package/es/react/chain-of-thought.js +9 -6
  1221. package/es/react/chain-of-thought.js.map +1 -1
  1222. package/es/react/chat-button-skeleton.d.ts +2 -2
  1223. package/es/react/chat-button-skeleton.js +5 -5
  1224. package/es/react/chat-button-skeleton.js.map +1 -1
  1225. package/es/react/chat-button.d.ts +3 -3
  1226. package/es/react/chat-button.js +7 -7
  1227. package/es/react/chat-button.js.map +1 -1
  1228. package/es/react/chat-header.d.ts +11 -62
  1229. package/es/react/chat-header.js +9 -7
  1230. package/es/react/chat-header.js.map +1 -1
  1231. package/es/react/chat-shell.d.ts +5 -2
  1232. package/es/react/chat-shell.js +6 -6
  1233. package/es/react/chat-shell.js.map +1 -1
  1234. package/es/react/citation-card.d.ts +17 -0
  1235. package/es/react/citation-card.js +32 -0
  1236. package/es/react/citation-card.js.map +1 -0
  1237. package/es/react/code-snippet.d.ts +15 -9
  1238. package/es/react/code-snippet.js +9 -6
  1239. package/es/react/code-snippet.js.map +1 -1
  1240. package/es/react/conversational-search-shell.d.ts +7 -2
  1241. package/es/react/conversational-search-shell.js +8 -8
  1242. package/es/react/conversational-search-shell.js.map +1 -1
  1243. package/es/react/error-message.d.ts +2 -2
  1244. package/es/react/error-message.js +5 -5
  1245. package/es/react/error-message.js.map +1 -1
  1246. package/es/react/feedback-buttons.d.ts +6 -2
  1247. package/es/react/feedback-buttons.js +5 -5
  1248. package/es/react/feedback-buttons.js.map +1 -1
  1249. package/es/react/feedback.d.ts +7 -3
  1250. package/es/react/feedback.js +6 -6
  1251. package/es/react/feedback.js.map +1 -1
  1252. package/es/react/file-upload-item.d.ts +6 -2
  1253. package/es/react/file-upload-item.js +5 -5
  1254. package/es/react/file-upload-item.js.map +1 -1
  1255. package/es/react/file-uploads.d.ts +6 -2
  1256. package/es/react/file-uploads.js +5 -5
  1257. package/es/react/file-uploads.js.map +1 -1
  1258. package/es/react/history/history-content.d.ts +2 -2
  1259. package/es/react/history/history-content.js +5 -5
  1260. package/es/react/history/history-content.js.map +1 -1
  1261. package/es/react/history/history-delete-panel.d.ts +7 -2
  1262. package/es/react/history/history-delete-panel.js +5 -5
  1263. package/es/react/history/history-delete-panel.js.map +1 -1
  1264. package/es/react/history/history-header.d.ts +5 -2
  1265. package/es/react/history/history-header.js +5 -5
  1266. package/es/react/history/history-header.js.map +1 -1
  1267. package/es/react/history/history-loading.d.ts +2 -2
  1268. package/es/react/history/history-loading.js +5 -5
  1269. package/es/react/history/history-loading.js.map +1 -1
  1270. package/es/react/history/history-panel-item-input.d.ts +8 -2
  1271. package/es/react/history/history-panel-item-input.js +5 -5
  1272. package/es/react/history/history-panel-item-input.js.map +1 -1
  1273. package/es/react/history/history-panel-item.d.ts +10 -2
  1274. package/es/react/history/history-panel-item.js +5 -5
  1275. package/es/react/history/history-panel-item.js.map +1 -1
  1276. package/es/react/history/history-panel-items.d.ts +2 -2
  1277. package/es/react/history/history-panel-items.js +5 -5
  1278. package/es/react/history/history-panel-items.js.map +1 -1
  1279. package/es/react/history/history-panel-menu.d.ts +2 -2
  1280. package/es/react/history/history-panel-menu.js +5 -5
  1281. package/es/react/history/history-panel-menu.js.map +1 -1
  1282. package/es/react/history/history-panel.d.ts +2 -2
  1283. package/es/react/history/history-panel.js +5 -5
  1284. package/es/react/history/history-panel.js.map +1 -1
  1285. package/es/react/history/history-search-item.d.ts +6 -2
  1286. package/es/react/history/history-search-item.js +5 -5
  1287. package/es/react/history/history-search-item.js.map +1 -1
  1288. package/es/react/history/history-shell.d.ts +6 -2
  1289. package/es/react/history/history-shell.js +8 -5
  1290. package/es/react/history/history-shell.js.map +1 -1
  1291. package/es/react/history/history-toolbar.d.ts +7 -2
  1292. package/es/react/history/history-toolbar.js +5 -5
  1293. package/es/react/history/history-toolbar.js.map +1 -1
  1294. package/es/react/hooks/useChatAutocomplete.d.ts +2 -2
  1295. package/es/react/hooks/useChatAutocomplete.js +4 -2
  1296. package/es/react/hooks/useChatAutocomplete.js.map +1 -1
  1297. package/es/react/index.d.ts +67 -0
  1298. package/es/react/index.js +68 -0
  1299. package/es/react/index.js.map +1 -0
  1300. package/es/react/input-send-control.d.ts +6 -2
  1301. package/es/react/input-send-control.js +5 -5
  1302. package/es/react/input-send-control.js.map +1 -1
  1303. package/es/react/launcher.d.ts +5 -2
  1304. package/es/react/launcher.js +5 -5
  1305. package/es/react/launcher.js.map +1 -1
  1306. package/es/react/markdown.d.ts +9 -8
  1307. package/es/react/markdown.js +10 -12
  1308. package/es/react/markdown.js.map +1 -1
  1309. package/es/react/message-byline.d.ts +3 -0
  1310. package/es/react/message-byline.js +28 -0
  1311. package/es/react/message-byline.js.map +1 -0
  1312. package/es/react/message-item-shell.d.ts +3 -0
  1313. package/es/react/message-item-shell.js +29 -0
  1314. package/es/react/message-item-shell.js.map +1 -0
  1315. package/es/react/messages-shell.d.ts +5 -2
  1316. package/es/react/messages-shell.js +5 -6
  1317. package/es/react/messages-shell.js.map +1 -1
  1318. package/es/react/panel.d.ts +10 -2
  1319. package/es/react/panel.js +6 -6
  1320. package/es/react/panel.js.map +1 -1
  1321. package/es/react/processing.d.ts +2 -2
  1322. package/es/react/processing.js +5 -5
  1323. package/es/react/processing.js.map +1 -1
  1324. package/es/react/prompt-line-shell.d.ts +8 -4
  1325. package/es/react/prompt-line-shell.js +10 -8
  1326. package/es/react/prompt-line-shell.js.map +1 -1
  1327. package/es/react/prompt-line.d.ts +13 -6
  1328. package/es/react/prompt-line.js +5 -9
  1329. package/es/react/prompt-line.js.map +1 -1
  1330. package/es/react/reasoning-step.d.ts +8 -2
  1331. package/es/react/reasoning-step.js +6 -5
  1332. package/es/react/reasoning-step.js.map +1 -1
  1333. package/es/react/reasoning-steps-toggle.d.ts +6 -3
  1334. package/es/react/reasoning-steps-toggle.js +5 -5
  1335. package/es/react/reasoning-steps-toggle.js.map +1 -1
  1336. package/es/react/reasoning-steps.d.ts +7 -2
  1337. package/es/react/reasoning-steps.js +9 -5
  1338. package/es/react/reasoning-steps.js.map +1 -1
  1339. package/es/react/stop-streaming-button.d.ts +2 -2
  1340. package/es/react/stop-streaming-button.js +5 -5
  1341. package/es/react/stop-streaming-button.js.map +1 -1
  1342. package/es/react/table.d.ts +3 -3
  1343. package/es/react/table.js +5 -5
  1344. package/es/react/table.js.map +1 -1
  1345. package/es/react/tool-call-data.d.ts +2 -2
  1346. package/es/react/tool-call-data.js +5 -5
  1347. package/es/react/tool-call-data.js.map +1 -1
  1348. package/es/react/toolbar.d.ts +8 -3
  1349. package/es/react/toolbar.js +9 -7
  1350. package/es/react/toolbar.js.map +1 -1
  1351. package/es/react/transcript.d.ts +4 -2
  1352. package/es/react/transcript.js +4 -3
  1353. package/es/react/transcript.js.map +1 -1
  1354. package/es/react/truncated-text.d.ts +2 -2
  1355. package/es/react/truncated-text.js +5 -5
  1356. package/es/react/truncated-text.js.map +1 -1
  1357. package/es/react/user-avatar.d.ts +3 -0
  1358. package/es/react/user-avatar.js +28 -0
  1359. package/es/react/user-avatar.js.map +1 -0
  1360. package/es/react/user-message-content.d.ts +3 -0
  1361. package/es/react/user-message-content.js +28 -0
  1362. package/es/react/user-message-content.js.map +1 -0
  1363. package/es/react/utils/transformSuggestionConfig.d.ts +1 -1
  1364. package/es/react/utils/transformSuggestionConfig.js.map +1 -1
  1365. package/es/react/video-player.d.ts +9 -2
  1366. package/es/react/video-player.js +6 -6
  1367. package/es/react/video-player.js.map +1 -1
  1368. package/es/react/workspace-shell.d.ts +11 -5
  1369. package/es/react/workspace-shell.js +20 -17
  1370. package/es/react/workspace-shell.js.map +1 -1
  1371. package/es/testing/load-all-lazy-deps.d.ts +1 -1
  1372. package/es/testing/load-all-lazy-deps.js +2 -2
  1373. package/es/testing/load-all-lazy-deps.js.map +1 -1
  1374. package/es/typings/overflow-menu.d.ts +21 -10
  1375. package/package.json +67 -27
  1376. package/scss/_markdown-inline.scss +1 -1
  1377. package/scss/_modifiers.scss +2 -2
  1378. package/scss/_utilities.scss +3 -3
  1379. package/scss/vars.scss +1 -1
  1380. package/telemetry.yml +18 -0
  1381. package/LICENSE +0 -201
  1382. package/es/components/markdown/__tests__/inline-selection-fixture.d.ts +0 -13
  1383. package/es/components/markdown/src/inline-markdown.scss.js +0 -13
  1384. package/es/components/markdown/src/inline-markdown.scss.js.map +0 -1
  1385. package/es/components/markdown/src/inline-run-projection.scss.js +0 -13
  1386. package/es/components/markdown/src/inline-run-projection.scss.js.map +0 -1
  1387. package/es/components/prompt-line/src/__tests__/wait-for-rich.d.ts +0 -20
  1388. package/es/components/shared/dynamic-css-var-sheet.d.ts +0 -34
  1389. package/es/components/shared/dynamic-css-var-sheet.js +0 -215
  1390. package/es/components/shared/dynamic-css-var-sheet.js.map +0 -1
  1391. package/es/components/shared/media-utils/script-loader.d.ts +0 -36
  1392. package/es/components/shared/media-utils/script-loader.js +0 -80
  1393. package/es/components/shared/media-utils/script-loader.js.map +0 -1
  1394. package/es/globals/decorators/carbon-element.d.ts +0 -37
  1395. package/es/globals/decorators/carbon-element.js +0 -67
  1396. package/es/globals/decorators/carbon-element.js.map +0 -1
  1397. package/es/globals/decorators/index.d.ts +0 -1
  1398. package/es/globals/decorators/index.js +0 -9
  1399. package/es/globals/decorators/index.js.map +0 -1
  1400. package/es/react/utils/withWebComponentBridge.d.ts +0 -18
  1401. package/es/react/utils/withWebComponentBridge.js +0 -143
  1402. package/es/react/utils/withWebComponentBridge.js.map +0 -1
  1403. package/es-custom/components/audio-player/index.d.ts +0 -12
  1404. package/es-custom/components/audio-player/index.js +0 -10
  1405. package/es-custom/components/audio-player/src/audio-player.d.ts +0 -132
  1406. package/es-custom/components/audio-player/src/audio-player.js +0 -393
  1407. package/es-custom/components/audio-player/src/audio-player.js.map +0 -1
  1408. package/es-custom/components/audio-player/src/audio-player.scss.js +0 -13
  1409. package/es-custom/components/audio-player/src/audio-player.scss.js.map +0 -1
  1410. package/es-custom/components/audio-player/src/providers/base-provider.js.map +0 -1
  1411. package/es-custom/components/audio-player/src/providers/native-audio-provider.js.map +0 -1
  1412. package/es-custom/components/audio-player/src/providers/soundcloud-provider.js +0 -200
  1413. package/es-custom/components/audio-player/src/providers/soundcloud-provider.js.map +0 -1
  1414. package/es-custom/components/audio-player/src/transcript.d.ts +0 -58
  1415. package/es-custom/components/audio-player/src/transcript.js +0 -163
  1416. package/es-custom/components/audio-player/src/transcript.js.map +0 -1
  1417. package/es-custom/components/audio-player/src/transcript.scss.js +0 -13
  1418. package/es-custom/components/audio-player/src/transcript.scss.js.map +0 -1
  1419. package/es-custom/components/audio-player/src/utils/url-detector.js.map +0 -1
  1420. package/es-custom/components/card/index.d.ts +0 -11
  1421. package/es-custom/components/card/index.js +0 -11
  1422. package/es-custom/components/card/index.js.map +0 -1
  1423. package/es-custom/components/card/src/card-footer.d.ts +0 -44
  1424. package/es-custom/components/card/src/card-footer.js +0 -139
  1425. package/es-custom/components/card/src/card-footer.js.map +0 -1
  1426. package/es-custom/components/card/src/card-footer.scss.js +0 -13
  1427. package/es-custom/components/card/src/card-footer.scss.js.map +0 -1
  1428. package/es-custom/components/card/src/card-steps.d.ts +0 -29
  1429. package/es-custom/components/card/src/card-steps.js +0 -91
  1430. package/es-custom/components/card/src/card-steps.js.map +0 -1
  1431. package/es-custom/components/card/src/card-steps.scss.js +0 -13
  1432. package/es-custom/components/card/src/card-steps.scss.js.map +0 -1
  1433. package/es-custom/components/card/src/card.d.ts +0 -28
  1434. package/es-custom/components/card/src/card.js +0 -66
  1435. package/es-custom/components/card/src/card.js.map +0 -1
  1436. package/es-custom/components/card/src/card.scss.js +0 -13
  1437. package/es-custom/components/card/src/card.scss.js.map +0 -1
  1438. package/es-custom/components/carousel/index.d.ts +0 -9
  1439. package/es-custom/components/carousel/index.js +0 -9
  1440. package/es-custom/components/carousel/index.js.map +0 -1
  1441. package/es-custom/components/carousel/src/carousel.d.ts +0 -39
  1442. package/es-custom/components/carousel/src/carousel.js +0 -130
  1443. package/es-custom/components/carousel/src/carousel.js.map +0 -1
  1444. package/es-custom/components/carousel/src/carousel.scss.js +0 -13
  1445. package/es-custom/components/carousel/src/carousel.scss.js.map +0 -1
  1446. package/es-custom/components/chain-of-thought/defs.js.map +0 -1
  1447. package/es-custom/components/chain-of-thought/index.d.ts +0 -10
  1448. package/es-custom/components/chain-of-thought/index.js +0 -13
  1449. package/es-custom/components/chain-of-thought/index.js.map +0 -1
  1450. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.d.ts +0 -47
  1451. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js +0 -348
  1452. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.js.map +0 -1
  1453. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.scss.js +0 -13
  1454. package/es-custom/components/chain-of-thought/src/chain-of-thought-step.scss.js.map +0 -1
  1455. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.d.ts +0 -37
  1456. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js +0 -108
  1457. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.js.map +0 -1
  1458. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.scss.js +0 -13
  1459. package/es-custom/components/chain-of-thought/src/chain-of-thought-toggle.scss.js.map +0 -1
  1460. package/es-custom/components/chain-of-thought/src/chain-of-thought.d.ts +0 -45
  1461. package/es-custom/components/chain-of-thought/src/chain-of-thought.js +0 -136
  1462. package/es-custom/components/chain-of-thought/src/chain-of-thought.js.map +0 -1
  1463. package/es-custom/components/chain-of-thought/src/chain-of-thought.scss.js +0 -13
  1464. package/es-custom/components/chain-of-thought/src/chain-of-thought.scss.js.map +0 -1
  1465. package/es-custom/components/chain-of-thought/src/tool-call-data.d.ts +0 -37
  1466. package/es-custom/components/chain-of-thought/src/tool-call-data.js +0 -178
  1467. package/es-custom/components/chain-of-thought/src/tool-call-data.js.map +0 -1
  1468. package/es-custom/components/chain-of-thought/src/tool-call-data.scss.js +0 -13
  1469. package/es-custom/components/chain-of-thought/src/tool-call-data.scss.js.map +0 -1
  1470. package/es-custom/components/chat-button/defs.js.map +0 -1
  1471. package/es-custom/components/chat-button/index.d.ts +0 -10
  1472. package/es-custom/components/chat-button/index.js +0 -10
  1473. package/es-custom/components/chat-button/src/chat-button-skeleton.d.ts +0 -30
  1474. package/es-custom/components/chat-button/src/chat-button-skeleton.js +0 -41
  1475. package/es-custom/components/chat-button/src/chat-button-skeleton.js.map +0 -1
  1476. package/es-custom/components/chat-button/src/chat-button.d.ts +0 -43
  1477. package/es-custom/components/chat-button/src/chat-button.js +0 -113
  1478. package/es-custom/components/chat-button/src/chat-button.js.map +0 -1
  1479. package/es-custom/components/chat-button/src/chat-button.scss.js +0 -13
  1480. package/es-custom/components/chat-button/src/chat-button.scss.js.map +0 -1
  1481. package/es-custom/components/chat-history/index.d.ts +0 -11
  1482. package/es-custom/components/chat-history/index.js +0 -19
  1483. package/es-custom/components/chat-history/index.js.map +0 -1
  1484. package/es-custom/components/chat-history/src/chat-history.scss.js +0 -13
  1485. package/es-custom/components/chat-history/src/history-content.d.ts +0 -25
  1486. package/es-custom/components/chat-history/src/history-content.js +0 -76
  1487. package/es-custom/components/chat-history/src/history-content.js.map +0 -1
  1488. package/es-custom/components/chat-history/src/history-delete-panel.d.ts +0 -36
  1489. package/es-custom/components/chat-history/src/history-delete-panel.js +0 -143
  1490. package/es-custom/components/chat-history/src/history-delete-panel.js.map +0 -1
  1491. package/es-custom/components/chat-history/src/history-header.d.ts +0 -34
  1492. package/es-custom/components/chat-history/src/history-header.js +0 -98
  1493. package/es-custom/components/chat-history/src/history-header.js.map +0 -1
  1494. package/es-custom/components/chat-history/src/history-loading.d.ts +0 -18
  1495. package/es-custom/components/chat-history/src/history-loading.js +0 -62
  1496. package/es-custom/components/chat-history/src/history-loading.js.map +0 -1
  1497. package/es-custom/components/chat-history/src/history-panel-item-input.d.ts +0 -130
  1498. package/es-custom/components/chat-history/src/history-panel-item-input.js +0 -281
  1499. package/es-custom/components/chat-history/src/history-panel-item-input.js.map +0 -1
  1500. package/es-custom/components/chat-history/src/history-panel-item.d.ts +0 -142
  1501. package/es-custom/components/chat-history/src/history-panel-item.js +0 -413
  1502. package/es-custom/components/chat-history/src/history-panel-item.js.map +0 -1
  1503. package/es-custom/components/chat-history/src/history-panel-items.d.ts +0 -13
  1504. package/es-custom/components/chat-history/src/history-panel-items.js +0 -41
  1505. package/es-custom/components/chat-history/src/history-panel-items.js.map +0 -1
  1506. package/es-custom/components/chat-history/src/history-panel-menu.d.ts +0 -12
  1507. package/es-custom/components/chat-history/src/history-panel-menu.js +0 -37
  1508. package/es-custom/components/chat-history/src/history-panel-menu.js.map +0 -1
  1509. package/es-custom/components/chat-history/src/history-panel.d.ts +0 -27
  1510. package/es-custom/components/chat-history/src/history-panel.js +0 -68
  1511. package/es-custom/components/chat-history/src/history-panel.js.map +0 -1
  1512. package/es-custom/components/chat-history/src/history-search-item.d.ts +0 -43
  1513. package/es-custom/components/chat-history/src/history-search-item.js +0 -95
  1514. package/es-custom/components/chat-history/src/history-search-item.js.map +0 -1
  1515. package/es-custom/components/chat-history/src/history-shell.d.ts +0 -23
  1516. package/es-custom/components/chat-history/src/history-shell.js +0 -89
  1517. package/es-custom/components/chat-history/src/history-shell.js.map +0 -1
  1518. package/es-custom/components/chat-history/src/history-toolbar.d.ts +0 -89
  1519. package/es-custom/components/chat-history/src/history-toolbar.js +0 -108
  1520. package/es-custom/components/chat-history/src/history-toolbar.js.map +0 -1
  1521. package/es-custom/components/chat-shell/index.d.ts +0 -12
  1522. package/es-custom/components/chat-shell/index.js +0 -11
  1523. package/es-custom/components/chat-shell/index.js.map +0 -1
  1524. package/es-custom/components/chat-shell/src/chat-header.d.ts +0 -177
  1525. package/es-custom/components/chat-shell/src/chat-header.js +0 -414
  1526. package/es-custom/components/chat-shell/src/chat-header.js.map +0 -1
  1527. package/es-custom/components/chat-shell/src/chat-header.scss.js +0 -13
  1528. package/es-custom/components/chat-shell/src/chat-header.scss.js.map +0 -1
  1529. package/es-custom/components/chat-shell/src/corner-manager.js +0 -101
  1530. package/es-custom/components/chat-shell/src/corner-manager.js.map +0 -1
  1531. package/es-custom/components/chat-shell/src/initialization-manager.js.map +0 -1
  1532. package/es-custom/components/chat-shell/src/panel-manager.d.ts +0 -39
  1533. package/es-custom/components/chat-shell/src/panel-manager.js +0 -259
  1534. package/es-custom/components/chat-shell/src/panel-manager.js.map +0 -1
  1535. package/es-custom/components/chat-shell/src/panel.d.ts +0 -93
  1536. package/es-custom/components/chat-shell/src/panel.js +0 -527
  1537. package/es-custom/components/chat-shell/src/panel.js.map +0 -1
  1538. package/es-custom/components/chat-shell/src/panel.scss.js +0 -13
  1539. package/es-custom/components/chat-shell/src/panel.scss.js.map +0 -1
  1540. package/es-custom/components/chat-shell/src/resize-observer-manager.js.map +0 -1
  1541. package/es-custom/components/chat-shell/src/shell.d.ts +0 -133
  1542. package/es-custom/components/chat-shell/src/shell.js +0 -872
  1543. package/es-custom/components/chat-shell/src/shell.js.map +0 -1
  1544. package/es-custom/components/chat-shell/src/shell.scss.js +0 -13
  1545. package/es-custom/components/chat-shell/src/shell.scss.js.map +0 -1
  1546. package/es-custom/components/chat-shell/src/slot-observer.js.map +0 -1
  1547. package/es-custom/components/chat-shell/src/workspace-manager-utils.js.map +0 -1
  1548. package/es-custom/components/chat-shell/src/workspace-manager.d.ts +0 -173
  1549. package/es-custom/components/chat-shell/src/workspace-manager.js +0 -717
  1550. package/es-custom/components/chat-shell/src/workspace-manager.js.map +0 -1
  1551. package/es-custom/components/code-snippet/index.d.ts +0 -4
  1552. package/es-custom/components/code-snippet/index.js +0 -10
  1553. package/es-custom/components/code-snippet/src/code-snippet.d.ts +0 -207
  1554. package/es-custom/components/code-snippet/src/code-snippet.js +0 -982
  1555. package/es-custom/components/code-snippet/src/code-snippet.js.map +0 -1
  1556. package/es-custom/components/code-snippet/src/code-snippet.scss.js +0 -13
  1557. package/es-custom/components/code-snippet/src/code-snippet.scss.js.map +0 -1
  1558. package/es-custom/components/code-snippet/src/codemirror/base-setup.js.map +0 -1
  1559. package/es-custom/components/code-snippet/src/codemirror/codemirror-loader.js.map +0 -1
  1560. package/es-custom/components/code-snippet/src/codemirror/content-sync.js.map +0 -1
  1561. package/es-custom/components/code-snippet/src/codemirror/detect-language.js.map +0 -1
  1562. package/es-custom/components/code-snippet/src/codemirror/diff-decorator.d.ts +0 -30
  1563. package/es-custom/components/code-snippet/src/codemirror/diff-decorator.js +0 -80
  1564. package/es-custom/components/code-snippet/src/codemirror/diff-decorator.js.map +0 -1
  1565. package/es-custom/components/code-snippet/src/codemirror/editor-manager.js.map +0 -1
  1566. package/es-custom/components/code-snippet/src/codemirror/language-controller.js.map +0 -1
  1567. package/es-custom/components/code-snippet/src/codemirror/language-data.js.map +0 -1
  1568. package/es-custom/components/code-snippet/src/codemirror/language-utils.js.map +0 -1
  1569. package/es-custom/components/code-snippet/src/codemirror/marker-utils.js.map +0 -1
  1570. package/es-custom/components/code-snippet/src/codemirror/theme.js.map +0 -1
  1571. package/es-custom/components/code-snippet/src/dom-utils.js.map +0 -1
  1572. package/es-custom/components/code-snippet/src/formatters.js +0 -19
  1573. package/es-custom/components/code-snippet/src/formatters.js.map +0 -1
  1574. package/es-custom/components/code-snippet/src/layout-utils.js.map +0 -1
  1575. package/es-custom/components/code-snippet/src/streaming-manager.js.map +0 -1
  1576. package/es-custom/components/conversational-search/index.d.ts +0 -9
  1577. package/es-custom/components/conversational-search/index.js +0 -9
  1578. package/es-custom/components/conversational-search/index.js.map +0 -1
  1579. package/es-custom/components/conversational-search/src/citation-utils.d.ts +0 -24
  1580. package/es-custom/components/conversational-search/src/citation-utils.js +0 -46
  1581. package/es-custom/components/conversational-search/src/citation-utils.js.map +0 -1
  1582. package/es-custom/components/conversational-search/src/conversational-search-shell.d.ts +0 -41
  1583. package/es-custom/components/conversational-search/src/conversational-search-shell.js +0 -116
  1584. package/es-custom/components/conversational-search/src/conversational-search-shell.js.map +0 -1
  1585. package/es-custom/components/conversational-search/src/conversational-search-shell.scss.js +0 -13
  1586. package/es-custom/components/conversational-search/src/conversational-search-shell.scss.js.map +0 -1
  1587. package/es-custom/components/feedback/index.d.ts +0 -4
  1588. package/es-custom/components/feedback/index.js +0 -10
  1589. package/es-custom/components/feedback/src/feedback-buttons.d.ts +0 -68
  1590. package/es-custom/components/feedback/src/feedback-buttons.js +0 -189
  1591. package/es-custom/components/feedback/src/feedback-buttons.js.map +0 -1
  1592. package/es-custom/components/feedback/src/feedback-buttons.scss.js +0 -13
  1593. package/es-custom/components/feedback/src/feedback-buttons.scss.js.map +0 -1
  1594. package/es-custom/components/feedback/src/feedback.d.ts +0 -141
  1595. package/es-custom/components/feedback/src/feedback.js +0 -340
  1596. package/es-custom/components/feedback/src/feedback.js.map +0 -1
  1597. package/es-custom/components/feedback/src/feedback.scss.js +0 -13
  1598. package/es-custom/components/feedback/src/feedback.scss.js.map +0 -1
  1599. package/es-custom/components/file-uploads/index.d.ts +0 -13
  1600. package/es-custom/components/file-uploads/index.js +0 -10
  1601. package/es-custom/components/file-uploads/index.js.map +0 -1
  1602. package/es-custom/components/file-uploads/src/file-type-icon.js.map +0 -1
  1603. package/es-custom/components/file-uploads/src/file-upload-item.d.ts +0 -117
  1604. package/es-custom/components/file-uploads/src/file-upload-item.js +0 -442
  1605. package/es-custom/components/file-uploads/src/file-upload-item.js.map +0 -1
  1606. package/es-custom/components/file-uploads/src/file-upload-item.scss.js +0 -13
  1607. package/es-custom/components/file-uploads/src/file-upload-item.scss.js.map +0 -1
  1608. package/es-custom/components/file-uploads/src/file-uploads.d.ts +0 -116
  1609. package/es-custom/components/file-uploads/src/file-uploads.js +0 -291
  1610. package/es-custom/components/file-uploads/src/file-uploads.js.map +0 -1
  1611. package/es-custom/components/file-uploads/src/file-uploads.scss.js +0 -13
  1612. package/es-custom/components/file-uploads/src/file-uploads.scss.js.map +0 -1
  1613. package/es-custom/components/launcher/index.d.ts +0 -9
  1614. package/es-custom/components/launcher/index.js +0 -9
  1615. package/es-custom/components/launcher/index.js.map +0 -1
  1616. package/es-custom/components/launcher/src/launcher.d.ts +0 -68
  1617. package/es-custom/components/launcher/src/launcher.js +0 -153
  1618. package/es-custom/components/launcher/src/launcher.js.map +0 -1
  1619. package/es-custom/components/launcher/src/launcher.scss.js +0 -13
  1620. package/es-custom/components/launcher/src/launcher.scss.js.map +0 -1
  1621. package/es-custom/components/markdown/__tests__/inline-selection-fixture.d.ts +0 -13
  1622. package/es-custom/components/markdown/index.d.ts +0 -8
  1623. package/es-custom/components/markdown/index.js +0 -13
  1624. package/es-custom/components/markdown/index.js.map +0 -1
  1625. package/es-custom/components/markdown/src/inline-markdown.d.ts +0 -41
  1626. package/es-custom/components/markdown/src/inline-markdown.js +0 -92
  1627. package/es-custom/components/markdown/src/inline-markdown.js.map +0 -1
  1628. package/es-custom/components/markdown/src/inline-markdown.scss.js +0 -13
  1629. package/es-custom/components/markdown/src/inline-run-projection.scss.js +0 -13
  1630. package/es-custom/components/markdown/src/markdown-renderer-types.d.ts +0 -395
  1631. package/es-custom/components/markdown/src/markdown-renderer.d.ts +0 -26
  1632. package/es-custom/components/markdown/src/markdown-renderer.js +0 -640
  1633. package/es-custom/components/markdown/src/markdown-renderer.js.map +0 -1
  1634. package/es-custom/components/markdown/src/markdown-token-tree.js +0 -357
  1635. package/es-custom/components/markdown/src/markdown-token-tree.js.map +0 -1
  1636. package/es-custom/components/markdown/src/markdown.d.ts +0 -139
  1637. package/es-custom/components/markdown/src/markdown.js +0 -870
  1638. package/es-custom/components/markdown/src/markdown.js.map +0 -1
  1639. package/es-custom/components/markdown/src/markdown.scss.js +0 -13
  1640. package/es-custom/components/markdown/src/markdown.scss.js.map +0 -1
  1641. package/es-custom/components/markdown/src/plugins/markdown-it-attrs.js.map +0 -1
  1642. package/es-custom/components/markdown/src/plugins/markdown-it-highlight.js.map +0 -1
  1643. package/es-custom/components/markdown/src/plugins/markdown-it-task-lists.js +0 -76
  1644. package/es-custom/components/markdown/src/plugins/markdown-it-task-lists.js.map +0 -1
  1645. package/es-custom/components/markdown/src/utils/html-helpers.d.ts +0 -5
  1646. package/es-custom/components/markdown/src/utils/html-helpers.js.map +0 -1
  1647. package/es-custom/components/markdown/src/utils/inline-run-projection.d.ts +0 -15
  1648. package/es-custom/components/markdown/src/utils/inline-run-projection.js +0 -196
  1649. package/es-custom/components/markdown/src/utils/inline-run-projection.js.map +0 -1
  1650. package/es-custom/components/markdown/src/utils/inline-validation.js.map +0 -1
  1651. package/es-custom/components/markdown/src/utils/lit-directives.js.map +0 -1
  1652. package/es-custom/components/markdown/src/utils/plugin-fallback.js +0 -238
  1653. package/es-custom/components/markdown/src/utils/plugin-fallback.js.map +0 -1
  1654. package/es-custom/components/markdown/src/utils/plugin-host-container.d.ts +0 -159
  1655. package/es-custom/components/markdown/src/utils/plugin-host-container.js +0 -165
  1656. package/es-custom/components/markdown/src/utils/plugin-host-container.js.map +0 -1
  1657. package/es-custom/components/markdown/src/utils/slot-names.js +0 -83
  1658. package/es-custom/components/markdown/src/utils/slot-names.js.map +0 -1
  1659. package/es-custom/components/markdown/src/utils/streaming-table.js.map +0 -1
  1660. package/es-custom/components/markdown/src/utils/table-helpers.d.ts +0 -32
  1661. package/es-custom/components/markdown/src/utils/table-helpers.js +0 -203
  1662. package/es-custom/components/markdown/src/utils/table-helpers.js.map +0 -1
  1663. package/es-custom/components/messages-shell/index.d.ts +0 -11
  1664. package/es-custom/components/messages-shell/index.js +0 -9
  1665. package/es-custom/components/messages-shell/index.js.map +0 -1
  1666. package/es-custom/components/messages-shell/src/messages-shell.d.ts +0 -57
  1667. package/es-custom/components/messages-shell/src/messages-shell.js +0 -141
  1668. package/es-custom/components/messages-shell/src/messages-shell.js.map +0 -1
  1669. package/es-custom/components/messages-shell/src/messages-shell.scss.js +0 -13
  1670. package/es-custom/components/messages-shell/src/messages-shell.scss.js.map +0 -1
  1671. package/es-custom/components/processing/index.d.ts +0 -1
  1672. package/es-custom/components/processing/index.js +0 -9
  1673. package/es-custom/components/processing/index.js.map +0 -1
  1674. package/es-custom/components/processing/src/processing.d.ts +0 -23
  1675. package/es-custom/components/processing/src/processing.js +0 -68
  1676. package/es-custom/components/processing/src/processing.js.map +0 -1
  1677. package/es-custom/components/processing/src/processing.scss.js +0 -13
  1678. package/es-custom/components/processing/src/processing.scss.js.map +0 -1
  1679. package/es-custom/components/prompt-line/autocomplete/index.d.ts +0 -12
  1680. package/es-custom/components/prompt-line/autocomplete/index.js +0 -9
  1681. package/es-custom/components/prompt-line/autocomplete/index.js.map +0 -1
  1682. package/es-custom/components/prompt-line/autocomplete/src/autocomplete.d.ts +0 -212
  1683. package/es-custom/components/prompt-line/autocomplete/src/autocomplete.js +0 -621
  1684. package/es-custom/components/prompt-line/autocomplete/src/autocomplete.js.map +0 -1
  1685. package/es-custom/components/prompt-line/autocomplete/src/autocomplete.scss.js +0 -13
  1686. package/es-custom/components/prompt-line/autocomplete/src/autocomplete.scss.js.map +0 -1
  1687. package/es-custom/components/prompt-line/index.d.ts +0 -27
  1688. package/es-custom/components/prompt-line/index.js +0 -31
  1689. package/es-custom/components/prompt-line/index.js.map +0 -1
  1690. package/es-custom/components/prompt-line/src/__tests__/wait-for-rich.d.ts +0 -20
  1691. package/es-custom/components/prompt-line/src/autocomplete-controller-element.d.ts +0 -84
  1692. package/es-custom/components/prompt-line/src/autocomplete-controller-element.js +0 -274
  1693. package/es-custom/components/prompt-line/src/autocomplete-controller-element.js.map +0 -1
  1694. package/es-custom/components/prompt-line/src/autocomplete-controller.d.ts +0 -148
  1695. package/es-custom/components/prompt-line/src/autocomplete-controller.js +0 -503
  1696. package/es-custom/components/prompt-line/src/autocomplete-controller.js.map +0 -1
  1697. package/es-custom/components/prompt-line/src/error-message.d.ts +0 -46
  1698. package/es-custom/components/prompt-line/src/error-message.js +0 -134
  1699. package/es-custom/components/prompt-line/src/error-message.js.map +0 -1
  1700. package/es-custom/components/prompt-line/src/error-message.scss.js +0 -13
  1701. package/es-custom/components/prompt-line/src/error-message.scss.js.map +0 -1
  1702. package/es-custom/components/prompt-line/src/prompt-line-constants.d.ts +0 -35
  1703. package/es-custom/components/prompt-line/src/prompt-line-constants.js +0 -42
  1704. package/es-custom/components/prompt-line/src/prompt-line-constants.js.map +0 -1
  1705. package/es-custom/components/prompt-line/src/prompt-line-controller.d.ts +0 -122
  1706. package/es-custom/components/prompt-line/src/prompt-line-mouse-focus.js.map +0 -1
  1707. package/es-custom/components/prompt-line/src/prompt-line-rich-loader.js.map +0 -1
  1708. package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.js +0 -441
  1709. package/es-custom/components/prompt-line/src/prompt-line-rich-runtime.js.map +0 -1
  1710. package/es-custom/components/prompt-line/src/prompt-line-shell.d.ts +0 -114
  1711. package/es-custom/components/prompt-line/src/prompt-line-shell.js +0 -267
  1712. package/es-custom/components/prompt-line/src/prompt-line-shell.js.map +0 -1
  1713. package/es-custom/components/prompt-line/src/prompt-line-shell.scss.js +0 -13
  1714. package/es-custom/components/prompt-line/src/prompt-line-shell.scss.js.map +0 -1
  1715. package/es-custom/components/prompt-line/src/prompt-line-textarea-runtime.d.ts +0 -88
  1716. package/es-custom/components/prompt-line/src/prompt-line-textarea-runtime.js +0 -388
  1717. package/es-custom/components/prompt-line/src/prompt-line-textarea-runtime.js.map +0 -1
  1718. package/es-custom/components/prompt-line/src/prompt-line.d.ts +0 -197
  1719. package/es-custom/components/prompt-line/src/prompt-line.js +0 -554
  1720. package/es-custom/components/prompt-line/src/prompt-line.js.map +0 -1
  1721. package/es-custom/components/prompt-line/src/prompt-line.scss.js +0 -13
  1722. package/es-custom/components/prompt-line/src/prompt-line.scss.js.map +0 -1
  1723. package/es-custom/components/prompt-line/src/send-control.d.ts +0 -53
  1724. package/es-custom/components/prompt-line/src/send-control.js +0 -184
  1725. package/es-custom/components/prompt-line/src/send-control.js.map +0 -1
  1726. package/es-custom/components/prompt-line/src/send-control.scss.js +0 -13
  1727. package/es-custom/components/prompt-line/src/send-control.scss.js.map +0 -1
  1728. package/es-custom/components/prompt-line/src/stop-streaming-button.d.ts +0 -42
  1729. package/es-custom/components/prompt-line/src/stop-streaming-button.js +0 -92
  1730. package/es-custom/components/prompt-line/src/stop-streaming-button.js.map +0 -1
  1731. package/es-custom/components/prompt-line/src/stop-streaming-button.scss.js +0 -13
  1732. package/es-custom/components/prompt-line/src/stop-streaming-button.scss.js.map +0 -1
  1733. package/es-custom/components/prompt-line/src/tiptap/build-extensions.d.ts +0 -47
  1734. package/es-custom/components/prompt-line/src/tiptap/build-extensions.js.map +0 -1
  1735. package/es-custom/components/prompt-line/src/tiptap/carbon-autocomplete.d.ts +0 -36
  1736. package/es-custom/components/prompt-line/src/tiptap/carbon-autocomplete.js +0 -112
  1737. package/es-custom/components/prompt-line/src/tiptap/carbon-autocomplete.js.map +0 -1
  1738. package/es-custom/components/prompt-line/src/tiptap/carbon-mention.js.map +0 -1
  1739. package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.d.ts +0 -34
  1740. package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.js +0 -99
  1741. package/es-custom/components/prompt-line/src/tiptap/carbon-starter-trigger.js.map +0 -1
  1742. package/es-custom/components/prompt-line/src/tiptap/chat-enter.d.ts +0 -17
  1743. package/es-custom/components/prompt-line/src/tiptap/chat-enter.js +0 -46
  1744. package/es-custom/components/prompt-line/src/tiptap/chat-enter.js.map +0 -1
  1745. package/es-custom/components/prompt-line/src/tiptap/editor-styles.js +0 -83
  1746. package/es-custom/components/prompt-line/src/tiptap/editor-styles.js.map +0 -1
  1747. package/es-custom/components/prompt-line/src/tiptap/extension-equivalence.d.ts +0 -64
  1748. package/es-custom/components/prompt-line/src/tiptap/extension-equivalence.js +0 -80
  1749. package/es-custom/components/prompt-line/src/tiptap/extension-equivalence.js.map +0 -1
  1750. package/es-custom/components/prompt-line/src/tiptap/index.d.ts +0 -37
  1751. package/es-custom/components/prompt-line/src/tiptap/json-utils.js.map +0 -1
  1752. package/es-custom/components/prompt-line/src/tiptap/keymap.d.ts +0 -31
  1753. package/es-custom/components/prompt-line/src/tiptap/keymap.js +0 -58
  1754. package/es-custom/components/prompt-line/src/tiptap/keymap.js.map +0 -1
  1755. package/es-custom/components/prompt-line/src/tiptap/origin-meta.js.map +0 -1
  1756. package/es-custom/components/prompt-line/src/tiptap/plain-text-paste.js.map +0 -1
  1757. package/es-custom/components/prompt-line/src/tiptap/render-in-light-dom.d.ts +0 -87
  1758. package/es-custom/components/prompt-line/src/tiptap/render-in-light-dom.js +0 -41
  1759. package/es-custom/components/prompt-line/src/tiptap/render-in-light-dom.js.map +0 -1
  1760. package/es-custom/components/prompt-line/src/tiptap/render-token-chip.js +0 -92
  1761. package/es-custom/components/prompt-line/src/tiptap/render-token-chip.js.map +0 -1
  1762. package/es-custom/components/prompt-line/src/tiptap/resolve-config-items.js.map +0 -1
  1763. package/es-custom/components/prompt-line/src/tiptap/strip-presentation-fields.js.map +0 -1
  1764. package/es-custom/components/prompt-line/src/tiptap/token-node-view.js.map +0 -1
  1765. package/es-custom/components/prompt-line/src/tiptap/trigger-utils.d.ts +0 -41
  1766. package/es-custom/components/prompt-line/src/tiptap/trigger-utils.js +0 -68
  1767. package/es-custom/components/prompt-line/src/tiptap/trigger-utils.js.map +0 -1
  1768. package/es-custom/components/prompt-line/src/tiptap/types.d.ts +0 -229
  1769. package/es-custom/components/prompt-line/src/tiptap/typing-indicator.d.ts +0 -30
  1770. package/es-custom/components/prompt-line/src/tiptap/typing-indicator.js +0 -104
  1771. package/es-custom/components/prompt-line/src/tiptap/typing-indicator.js.map +0 -1
  1772. package/es-custom/components/prompt-line/src/tiptap/value-sync.d.ts +0 -25
  1773. package/es-custom/components/prompt-line/src/tiptap/value-sync.js +0 -65
  1774. package/es-custom/components/prompt-line/src/tiptap/value-sync.js.map +0 -1
  1775. package/es-custom/components/prompt-line/src/types.d.ts +0 -100
  1776. package/es-custom/components/prompt-line/src/types.js.map +0 -1
  1777. package/es-custom/components/reasoning-steps/index.d.ts +0 -4
  1778. package/es-custom/components/reasoning-steps/index.js +0 -11
  1779. package/es-custom/components/reasoning-steps/index.js.map +0 -1
  1780. package/es-custom/components/reasoning-steps/src/reasoning-step.d.ts +0 -50
  1781. package/es-custom/components/reasoning-steps/src/reasoning-step.js +0 -294
  1782. package/es-custom/components/reasoning-steps/src/reasoning-step.js.map +0 -1
  1783. package/es-custom/components/reasoning-steps/src/reasoning-step.scss.js +0 -13
  1784. package/es-custom/components/reasoning-steps/src/reasoning-step.scss.js.map +0 -1
  1785. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.d.ts +0 -40
  1786. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js +0 -107
  1787. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.js.map +0 -1
  1788. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.scss.js +0 -13
  1789. package/es-custom/components/reasoning-steps/src/reasoning-steps-toggle.scss.js.map +0 -1
  1790. package/es-custom/components/reasoning-steps/src/reasoning-steps.d.ts +0 -47
  1791. package/es-custom/components/reasoning-steps/src/reasoning-steps.js +0 -169
  1792. package/es-custom/components/reasoning-steps/src/reasoning-steps.js.map +0 -1
  1793. package/es-custom/components/reasoning-steps/src/reasoning-steps.scss.js +0 -13
  1794. package/es-custom/components/reasoning-steps/src/reasoning-steps.scss.js.map +0 -1
  1795. package/es-custom/components/shared/dynamic-css-var-sheet.js.map +0 -1
  1796. package/es-custom/components/shared/media-utils/script-loader.js.map +0 -1
  1797. package/es-custom/components/table/index.d.ts +0 -3
  1798. package/es-custom/components/table/index.js +0 -9
  1799. package/es-custom/components/table/index.js.map +0 -1
  1800. package/es-custom/components/table/src/table-loader.js.map +0 -1
  1801. package/es-custom/components/table/src/table-pagination.template.d.ts +0 -27
  1802. package/es-custom/components/table/src/table-pagination.template.js +0 -55
  1803. package/es-custom/components/table/src/table-pagination.template.js.map +0 -1
  1804. package/es-custom/components/table/src/table-skeleton.template.d.ts +0 -6
  1805. package/es-custom/components/table/src/table-skeleton.template.js +0 -35
  1806. package/es-custom/components/table/src/table-skeleton.template.js.map +0 -1
  1807. package/es-custom/components/table/src/table.d.ts +0 -210
  1808. package/es-custom/components/table/src/table.js +0 -641
  1809. package/es-custom/components/table/src/table.js.map +0 -1
  1810. package/es-custom/components/table/src/table.scss.js +0 -13
  1811. package/es-custom/components/table/src/table.scss.js.map +0 -1
  1812. package/es-custom/components/table/src/table.template.d.ts +0 -10
  1813. package/es-custom/components/table/src/table.template.js +0 -96
  1814. package/es-custom/components/table/src/table.template.js.map +0 -1
  1815. package/es-custom/components/toolbar/index.d.ts +0 -1
  1816. package/es-custom/components/toolbar/index.js +0 -9
  1817. package/es-custom/components/toolbar/index.js.map +0 -1
  1818. package/es-custom/components/toolbar/src/toolbar.d.ts +0 -85
  1819. package/es-custom/components/toolbar/src/toolbar.js +0 -386
  1820. package/es-custom/components/toolbar/src/toolbar.js.map +0 -1
  1821. package/es-custom/components/toolbar/src/toolbar.scss.js +0 -13
  1822. package/es-custom/components/toolbar/src/toolbar.scss.js.map +0 -1
  1823. package/es-custom/components/truncated-text/index.d.ts +0 -9
  1824. package/es-custom/components/truncated-text/index.js +0 -9
  1825. package/es-custom/components/truncated-text/index.js.map +0 -1
  1826. package/es-custom/components/truncated-text/src/truncated-text.d.ts +0 -84
  1827. package/es-custom/components/truncated-text/src/truncated-text.js +0 -295
  1828. package/es-custom/components/truncated-text/src/truncated-text.js.map +0 -1
  1829. package/es-custom/components/truncated-text/src/truncated-text.scss.js +0 -13
  1830. package/es-custom/components/truncated-text/src/truncated-text.scss.js.map +0 -1
  1831. package/es-custom/components/video-player/index.d.ts +0 -10
  1832. package/es-custom/components/video-player/index.js +0 -9
  1833. package/es-custom/components/video-player/index.js.map +0 -1
  1834. package/es-custom/components/video-player/src/providers/base-provider.js.map +0 -1
  1835. package/es-custom/components/video-player/src/providers/kaltura-provider.js +0 -192
  1836. package/es-custom/components/video-player/src/providers/kaltura-provider.js.map +0 -1
  1837. package/es-custom/components/video-player/src/providers/native-video-provider.js +0 -158
  1838. package/es-custom/components/video-player/src/providers/native-video-provider.js.map +0 -1
  1839. package/es-custom/components/video-player/src/providers/vimeo-provider.js +0 -194
  1840. package/es-custom/components/video-player/src/providers/vimeo-provider.js.map +0 -1
  1841. package/es-custom/components/video-player/src/providers/youtube-provider.js +0 -215
  1842. package/es-custom/components/video-player/src/providers/youtube-provider.js.map +0 -1
  1843. package/es-custom/components/video-player/src/utils/url-detector.js.map +0 -1
  1844. package/es-custom/components/video-player/src/video-player.d.ts +0 -145
  1845. package/es-custom/components/video-player/src/video-player.js +0 -419
  1846. package/es-custom/components/video-player/src/video-player.js.map +0 -1
  1847. package/es-custom/components/video-player/src/video-player.scss.js +0 -13
  1848. package/es-custom/components/video-player/src/video-player.scss.js.map +0 -1
  1849. package/es-custom/components/workspace-shell/index.d.ts +0 -4
  1850. package/es-custom/components/workspace-shell/index.js +0 -12
  1851. package/es-custom/components/workspace-shell/index.js.map +0 -1
  1852. package/es-custom/components/workspace-shell/src/header-collapsible-manager.js.map +0 -1
  1853. package/es-custom/components/workspace-shell/src/workspace-shell-body.d.ts +0 -17
  1854. package/es-custom/components/workspace-shell/src/workspace-shell-body.js +0 -52
  1855. package/es-custom/components/workspace-shell/src/workspace-shell-body.js.map +0 -1
  1856. package/es-custom/components/workspace-shell/src/workspace-shell-footer.d.ts +0 -38
  1857. package/es-custom/components/workspace-shell/src/workspace-shell-footer.js +0 -150
  1858. package/es-custom/components/workspace-shell/src/workspace-shell-footer.js.map +0 -1
  1859. package/es-custom/components/workspace-shell/src/workspace-shell-footer.scss.js +0 -13
  1860. package/es-custom/components/workspace-shell/src/workspace-shell-footer.scss.js.map +0 -1
  1861. package/es-custom/components/workspace-shell/src/workspace-shell-header.d.ts +0 -38
  1862. package/es-custom/components/workspace-shell/src/workspace-shell-header.js +0 -150
  1863. package/es-custom/components/workspace-shell/src/workspace-shell-header.js.map +0 -1
  1864. package/es-custom/components/workspace-shell/src/workspace-shell-header.scss.js +0 -13
  1865. package/es-custom/components/workspace-shell/src/workspace-shell-header.scss.js.map +0 -1
  1866. package/es-custom/components/workspace-shell/src/workspace-shell.d.ts +0 -30
  1867. package/es-custom/components/workspace-shell/src/workspace-shell.js +0 -133
  1868. package/es-custom/components/workspace-shell/src/workspace-shell.js.map +0 -1
  1869. package/es-custom/components/workspace-shell/src/workspace-shell.scss.js +0 -13
  1870. package/es-custom/components/workspace-shell/src/workspace-shell.scss.js.map +0 -1
  1871. package/es-custom/globals/decorators/carbon-element.d.ts +0 -37
  1872. package/es-custom/globals/decorators/carbon-element.js +0 -67
  1873. package/es-custom/globals/decorators/carbon-element.js.map +0 -1
  1874. package/es-custom/globals/decorators/index.d.ts +0 -1
  1875. package/es-custom/globals/decorators/index.js +0 -9
  1876. package/es-custom/globals/decorators/index.js.map +0 -1
  1877. package/es-custom/globals/scss/common.scss.js +0 -13
  1878. package/es-custom/globals/scss/common.scss.js.map +0 -1
  1879. package/es-custom/globals/settings.d.ts +0 -2
  1880. package/es-custom/globals/settings.js +0 -20
  1881. package/es-custom/globals/settings.js.map +0 -1
  1882. package/es-custom/globals/utils/aria-announcer-manager.d.ts +0 -118
  1883. package/es-custom/globals/utils/aria-announcer-manager.js +0 -170
  1884. package/es-custom/globals/utils/aria-announcer-manager.js.map +0 -1
  1885. package/es-custom/globals/utils/browser-utils.d.ts +0 -8
  1886. package/es-custom/globals/utils/browser-utils.js +0 -37
  1887. package/es-custom/globals/utils/browser-utils.js.map +0 -1
  1888. package/es-custom/globals/utils/csv.d.ts +0 -7
  1889. package/es-custom/globals/utils/csv.js +0 -37
  1890. package/es-custom/globals/utils/csv.js.map +0 -1
  1891. package/es-custom/globals/utils/dom-utils.d.ts +0 -6
  1892. package/es-custom/globals/utils/dom-utils.js +0 -39
  1893. package/es-custom/globals/utils/dom-utils.js.map +0 -1
  1894. package/es-custom/globals/utils/focus-utils.d.ts +0 -69
  1895. package/es-custom/globals/utils/focus-utils.js +0 -202
  1896. package/es-custom/globals/utils/focus-utils.js.map +0 -1
  1897. package/es-custom/globals/utils/iconTransform.d.ts +0 -51
  1898. package/es-custom/globals/utils/iconTransform.js +0 -196
  1899. package/es-custom/globals/utils/iconTransform.js.map +0 -1
  1900. package/es-custom/globals/utils/rtl-utils.d.ts +0 -7
  1901. package/es-custom/globals/utils/rtl-utils.js +0 -30
  1902. package/es-custom/globals/utils/rtl-utils.js.map +0 -1
  1903. package/es-custom/globals/utils/uuid.d.ts +0 -5
  1904. package/es-custom/globals/utils/uuid.js +0 -32
  1905. package/es-custom/globals/utils/uuid.js.map +0 -1
  1906. package/es-custom/react/ai-label-action-button.d.ts +0 -3
  1907. package/es-custom/react/ai-label-action-button.js +0 -27
  1908. package/es-custom/react/ai-label-action-button.js.map +0 -1
  1909. package/es-custom/react/audio-player.d.ts +0 -12
  1910. package/es-custom/react/audio-player.js +0 -34
  1911. package/es-custom/react/audio-player.js.map +0 -1
  1912. package/es-custom/react/autocomplete.d.ts +0 -11
  1913. package/es-custom/react/autocomplete.js +0 -36
  1914. package/es-custom/react/autocomplete.js.map +0 -1
  1915. package/es-custom/react/card.d.ts +0 -6
  1916. package/es-custom/react/card.js +0 -43
  1917. package/es-custom/react/card.js.map +0 -1
  1918. package/es-custom/react/carousel.d.ts +0 -4
  1919. package/es-custom/react/carousel.js +0 -31
  1920. package/es-custom/react/carousel.js.map +0 -1
  1921. package/es-custom/react/chain-of-thought-step.d.ts +0 -3
  1922. package/es-custom/react/chain-of-thought-step.js +0 -32
  1923. package/es-custom/react/chain-of-thought-step.js.map +0 -1
  1924. package/es-custom/react/chain-of-thought-toggle.d.ts +0 -5
  1925. package/es-custom/react/chain-of-thought-toggle.js +0 -31
  1926. package/es-custom/react/chain-of-thought-toggle.js.map +0 -1
  1927. package/es-custom/react/chain-of-thought.d.ts +0 -6
  1928. package/es-custom/react/chain-of-thought.js +0 -33
  1929. package/es-custom/react/chain-of-thought.js.map +0 -1
  1930. package/es-custom/react/chat-button-skeleton.d.ts +0 -11
  1931. package/es-custom/react/chat-button-skeleton.js +0 -28
  1932. package/es-custom/react/chat-button-skeleton.js.map +0 -1
  1933. package/es-custom/react/chat-button.d.ts +0 -13
  1934. package/es-custom/react/chat-button.js +0 -30
  1935. package/es-custom/react/chat-button.js.map +0 -1
  1936. package/es-custom/react/chat-header.d.ts +0 -73
  1937. package/es-custom/react/chat-header.js +0 -55
  1938. package/es-custom/react/chat-header.js.map +0 -1
  1939. package/es-custom/react/chat-shell.d.ts +0 -11
  1940. package/es-custom/react/chat-shell.js +0 -31
  1941. package/es-custom/react/chat-shell.js.map +0 -1
  1942. package/es-custom/react/code-snippet.d.ts +0 -37
  1943. package/es-custom/react/code-snippet.js +0 -87
  1944. package/es-custom/react/code-snippet.js.map +0 -1
  1945. package/es-custom/react/conversational-search-shell.d.ts +0 -12
  1946. package/es-custom/react/conversational-search-shell.js +0 -32
  1947. package/es-custom/react/conversational-search-shell.js.map +0 -1
  1948. package/es-custom/react/error-message.d.ts +0 -11
  1949. package/es-custom/react/error-message.js +0 -28
  1950. package/es-custom/react/error-message.js.map +0 -1
  1951. package/es-custom/react/feedback-buttons.d.ts +0 -3
  1952. package/es-custom/react/feedback-buttons.js +0 -31
  1953. package/es-custom/react/feedback-buttons.js.map +0 -1
  1954. package/es-custom/react/feedback.d.ts +0 -5
  1955. package/es-custom/react/feedback.js +0 -32
  1956. package/es-custom/react/feedback.js.map +0 -1
  1957. package/es-custom/react/file-upload-item.d.ts +0 -11
  1958. package/es-custom/react/file-upload-item.js +0 -31
  1959. package/es-custom/react/file-upload-item.js.map +0 -1
  1960. package/es-custom/react/file-uploads.d.ts +0 -11
  1961. package/es-custom/react/file-uploads.js +0 -31
  1962. package/es-custom/react/file-uploads.js.map +0 -1
  1963. package/es-custom/react/history/history-content.d.ts +0 -3
  1964. package/es-custom/react/history/history-content.js +0 -28
  1965. package/es-custom/react/history/history-content.js.map +0 -1
  1966. package/es-custom/react/history/history-delete-panel.d.ts +0 -3
  1967. package/es-custom/react/history/history-delete-panel.js +0 -32
  1968. package/es-custom/react/history/history-delete-panel.js.map +0 -1
  1969. package/es-custom/react/history/history-header.d.ts +0 -3
  1970. package/es-custom/react/history/history-header.js +0 -31
  1971. package/es-custom/react/history/history-header.js.map +0 -1
  1972. package/es-custom/react/history/history-loading.d.ts +0 -3
  1973. package/es-custom/react/history/history-loading.js +0 -28
  1974. package/es-custom/react/history/history-loading.js.map +0 -1
  1975. package/es-custom/react/history/history-panel-item-input.d.ts +0 -3
  1976. package/es-custom/react/history/history-panel-item-input.js +0 -33
  1977. package/es-custom/react/history/history-panel-item-input.js.map +0 -1
  1978. package/es-custom/react/history/history-panel-item.d.ts +0 -3
  1979. package/es-custom/react/history/history-panel-item.js +0 -35
  1980. package/es-custom/react/history/history-panel-item.js.map +0 -1
  1981. package/es-custom/react/history/history-panel-items.d.ts +0 -3
  1982. package/es-custom/react/history/history-panel-items.js +0 -28
  1983. package/es-custom/react/history/history-panel-items.js.map +0 -1
  1984. package/es-custom/react/history/history-panel-menu.d.ts +0 -3
  1985. package/es-custom/react/history/history-panel-menu.js +0 -28
  1986. package/es-custom/react/history/history-panel-menu.js.map +0 -1
  1987. package/es-custom/react/history/history-panel.d.ts +0 -3
  1988. package/es-custom/react/history/history-panel.js +0 -28
  1989. package/es-custom/react/history/history-panel.js.map +0 -1
  1990. package/es-custom/react/history/history-search-item.d.ts +0 -3
  1991. package/es-custom/react/history/history-search-item.js +0 -31
  1992. package/es-custom/react/history/history-search-item.js.map +0 -1
  1993. package/es-custom/react/history/history-shell.d.ts +0 -3
  1994. package/es-custom/react/history/history-shell.js +0 -28
  1995. package/es-custom/react/history/history-shell.js.map +0 -1
  1996. package/es-custom/react/history/history-toolbar.d.ts +0 -3
  1997. package/es-custom/react/history/history-toolbar.js +0 -32
  1998. package/es-custom/react/history/history-toolbar.js.map +0 -1
  1999. package/es-custom/react/history/index.d.ts +0 -12
  2000. package/es-custom/react/history/index.js +0 -20
  2001. package/es-custom/react/history/index.js.map +0 -1
  2002. package/es-custom/react/hooks/useChatAutocomplete.d.ts +0 -51
  2003. package/es-custom/react/hooks/useChatAutocomplete.js +0 -254
  2004. package/es-custom/react/hooks/useChatAutocomplete.js.map +0 -1
  2005. package/es-custom/react/input-send-control.d.ts +0 -11
  2006. package/es-custom/react/input-send-control.js +0 -32
  2007. package/es-custom/react/input-send-control.js.map +0 -1
  2008. package/es-custom/react/launcher.d.ts +0 -11
  2009. package/es-custom/react/launcher.js +0 -31
  2010. package/es-custom/react/launcher.js.map +0 -1
  2011. package/es-custom/react/markdown.d.ts +0 -56
  2012. package/es-custom/react/markdown.js +0 -163
  2013. package/es-custom/react/markdown.js.map +0 -1
  2014. package/es-custom/react/messages-shell.d.ts +0 -3
  2015. package/es-custom/react/messages-shell.js +0 -32
  2016. package/es-custom/react/messages-shell.js.map +0 -1
  2017. package/es-custom/react/panel.d.ts +0 -3
  2018. package/es-custom/react/panel.js +0 -35
  2019. package/es-custom/react/panel.js.map +0 -1
  2020. package/es-custom/react/processing.d.ts +0 -3
  2021. package/es-custom/react/processing.js +0 -28
  2022. package/es-custom/react/processing.js.map +0 -1
  2023. package/es-custom/react/prompt-line-shell.d.ts +0 -18
  2024. package/es-custom/react/prompt-line-shell.js +0 -36
  2025. package/es-custom/react/prompt-line-shell.js.map +0 -1
  2026. package/es-custom/react/prompt-line.d.ts +0 -26
  2027. package/es-custom/react/prompt-line.js +0 -53
  2028. package/es-custom/react/prompt-line.js.map +0 -1
  2029. package/es-custom/react/reasoning-step.d.ts +0 -3
  2030. package/es-custom/react/reasoning-step.js +0 -32
  2031. package/es-custom/react/reasoning-step.js.map +0 -1
  2032. package/es-custom/react/reasoning-steps-toggle.d.ts +0 -5
  2033. package/es-custom/react/reasoning-steps-toggle.js +0 -31
  2034. package/es-custom/react/reasoning-steps-toggle.js.map +0 -1
  2035. package/es-custom/react/reasoning-steps.d.ts +0 -3
  2036. package/es-custom/react/reasoning-steps.js +0 -28
  2037. package/es-custom/react/reasoning-steps.js.map +0 -1
  2038. package/es-custom/react/stop-streaming-button.d.ts +0 -11
  2039. package/es-custom/react/stop-streaming-button.js +0 -28
  2040. package/es-custom/react/stop-streaming-button.js.map +0 -1
  2041. package/es-custom/react/table.d.ts +0 -4
  2042. package/es-custom/react/table.js +0 -28
  2043. package/es-custom/react/table.js.map +0 -1
  2044. package/es-custom/react/tool-call-data.d.ts +0 -3
  2045. package/es-custom/react/tool-call-data.js +0 -28
  2046. package/es-custom/react/tool-call-data.js.map +0 -1
  2047. package/es-custom/react/toolbar.d.ts +0 -20
  2048. package/es-custom/react/toolbar.js +0 -80
  2049. package/es-custom/react/toolbar.js.map +0 -1
  2050. package/es-custom/react/transcript.d.ts +0 -14
  2051. package/es-custom/react/transcript.js +0 -31
  2052. package/es-custom/react/transcript.js.map +0 -1
  2053. package/es-custom/react/truncated-text.d.ts +0 -12
  2054. package/es-custom/react/truncated-text.js +0 -28
  2055. package/es-custom/react/truncated-text.js.map +0 -1
  2056. package/es-custom/react/utils/transformSuggestionConfig.d.ts +0 -21
  2057. package/es-custom/react/utils/transformSuggestionConfig.js +0 -67
  2058. package/es-custom/react/utils/transformSuggestionConfig.js.map +0 -1
  2059. package/es-custom/react/utils/withWebComponentBridge.d.ts +0 -18
  2060. package/es-custom/react/utils/withWebComponentBridge.js +0 -143
  2061. package/es-custom/react/utils/withWebComponentBridge.js.map +0 -1
  2062. package/es-custom/react/video-player.d.ts +0 -12
  2063. package/es-custom/react/video-player.js +0 -34
  2064. package/es-custom/react/video-player.js.map +0 -1
  2065. package/es-custom/react/workspace-shell.d.ts +0 -7
  2066. package/es-custom/react/workspace-shell.js +0 -49
  2067. package/es-custom/react/workspace-shell.js.map +0 -1
  2068. package/es-custom/testing/PageObjectId.d.ts +0 -18
  2069. package/es-custom/testing/PageObjectId.js +0 -37
  2070. package/es-custom/testing/PageObjectId.js.map +0 -1
  2071. package/es-custom/testing/load-all-lazy-deps.d.ts +0 -9
  2072. package/es-custom/testing/load-all-lazy-deps.js +0 -30
  2073. package/es-custom/testing/load-all-lazy-deps.js.map +0 -1
  2074. package/es-custom/typings/overflow-menu.d.ts +0 -34
  2075. package/es-custom/typings/overflow-menu.js +0 -8
  2076. package/es-custom/typings/overflow-menu.js.map +0 -1
  2077. /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/providers/base-provider.d.ts +0 -0
  2078. /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/providers/base-provider.js +0 -0
  2079. /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/providers/native-audio-provider.d.ts +0 -0
  2080. /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/providers/native-audio-provider.js +0 -0
  2081. /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/providers/soundcloud-provider.d.ts +0 -0
  2082. /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/utils/url-detector.d.ts +0 -0
  2083. /package/{es-custom/components/audio-player/src → es/components/aichat-audio-player}/utils/url-detector.js +0 -0
  2084. /package/{es-custom/components/chat-button → es/components/aichat-button}/defs.d.ts +0 -0
  2085. /package/{es-custom/components/chat-button → es/components/aichat-button}/defs.js +0 -0
  2086. /package/{es-custom/components/chain-of-thought → es/components/aichat-chain-of-thought}/defs.d.ts +0 -0
  2087. /package/{es-custom/components/chain-of-thought → es/components/aichat-chain-of-thought}/defs.js +0 -0
  2088. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/base-setup.d.ts +0 -0
  2089. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/base-setup.js +0 -0
  2090. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/codemirror-loader.d.ts +0 -0
  2091. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/codemirror-loader.js +0 -0
  2092. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/codemirror-runtime.d.ts +0 -0
  2093. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/codemirror-runtime.js +0 -0
  2094. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/codemirror-runtime.js.map +0 -0
  2095. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/content-sync.d.ts +0 -0
  2096. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/content-sync.js +0 -0
  2097. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/detect-language.d.ts +0 -0
  2098. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/detect-language.js +0 -0
  2099. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/editor-manager.d.ts +0 -0
  2100. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/editor-manager.js +0 -0
  2101. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/language-controller.d.ts +0 -0
  2102. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/language-controller.js +0 -0
  2103. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/language-data.d.ts +0 -0
  2104. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/language-data.js +0 -0
  2105. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/language-utils.d.ts +0 -0
  2106. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/language-utils.js +0 -0
  2107. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/marker-utils.d.ts +0 -0
  2108. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/marker-utils.js +0 -0
  2109. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/theme.d.ts +0 -0
  2110. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/codemirror/theme.js +0 -0
  2111. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/dom-utils.d.ts +0 -0
  2112. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/dom-utils.js +0 -0
  2113. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/formatters.d.ts +0 -0
  2114. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/layout-utils.d.ts +0 -0
  2115. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/layout-utils.js +0 -0
  2116. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/streaming-manager.d.ts +0 -0
  2117. /package/{es-custom/components/code-snippet/src → es/components/aichat-code-snippet}/streaming-manager.js +0 -0
  2118. /package/{es-custom/components/file-uploads/src → es/components/aichat-file-uploads}/file-type-icon.d.ts +0 -0
  2119. /package/{es-custom/components/file-uploads/src → es/components/aichat-file-uploads}/file-type-icon.js +0 -0
  2120. /package/{es-custom/components/file-uploads/src → es/components/aichat-file-uploads}/types.d.ts +0 -0
  2121. /package/{es-custom/components/chat-shell/src → es/components/aichat-file-uploads}/types.js +0 -0
  2122. /package/{es-custom/components/chat-shell/src → es/components/aichat-file-uploads}/types.js.map +0 -0
  2123. /package/{es-custom/components/chat-history/src → es/components/aichat-history}/chat-history.scss.js.map +0 -0
  2124. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/inline-markdown.scss.js.map +0 -0
  2125. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/inline-run-projection.scss.js.map +0 -0
  2126. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/markdown-renderer-types.js +0 -0
  2127. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/markdown-renderer-types.js.map +0 -0
  2128. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/markdown-token-tree.d.ts +0 -0
  2129. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/plugins/markdown-it-attrs.d.ts +0 -0
  2130. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/plugins/markdown-it-attrs.js +0 -0
  2131. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/plugins/markdown-it-highlight.d.ts +0 -0
  2132. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/plugins/markdown-it-highlight.js +0 -0
  2133. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/plugins/markdown-it-task-lists.d.ts +0 -0
  2134. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/html-helpers.js +0 -0
  2135. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/inline-validation.d.ts +0 -0
  2136. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/inline-validation.js +0 -0
  2137. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/lit-directives.d.ts +0 -0
  2138. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/lit-directives.js +0 -0
  2139. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/plugin-fallback.d.ts +0 -0
  2140. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/slot-names.d.ts +0 -0
  2141. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/streaming-table.d.ts +0 -0
  2142. /package/{es-custom/components/markdown/src → es/components/aichat-markdown}/utils/streaming-table.js +0 -0
  2143. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-controller.js +0 -0
  2144. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-controller.js.map +0 -0
  2145. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-mouse-focus.d.ts +0 -0
  2146. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-mouse-focus.js +0 -0
  2147. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-rich-loader.d.ts +0 -0
  2148. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-rich-loader.js +0 -0
  2149. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/prompt-line-rich-runtime.d.ts +0 -0
  2150. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/build-extensions.js +0 -0
  2151. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/carbon-mention.d.ts +0 -0
  2152. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/carbon-mention.js +0 -0
  2153. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/editor-styles.d.ts +0 -0
  2154. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/index.js +0 -0
  2155. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/index.js.map +0 -0
  2156. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/json-utils.d.ts +0 -0
  2157. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/json-utils.js +0 -0
  2158. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/origin-meta.d.ts +0 -0
  2159. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/origin-meta.js +0 -0
  2160. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/plain-text-paste.d.ts +0 -0
  2161. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/plain-text-paste.js +0 -0
  2162. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/render-token-chip.d.ts +0 -0
  2163. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/resolve-config-items.d.ts +0 -0
  2164. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/resolve-config-items.js +0 -0
  2165. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/strip-presentation-fields.d.ts +0 -0
  2166. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/strip-presentation-fields.js +0 -0
  2167. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/token-node-view.d.ts +0 -0
  2168. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/tiptap/token-node-view.js +0 -0
  2169. /package/{es-custom/components/file-uploads/src → es/components/aichat-prompt-line/tiptap}/types.js +0 -0
  2170. /package/{es-custom/components/file-uploads/src → es/components/aichat-prompt-line/tiptap}/types.js.map +0 -0
  2171. /package/{es-custom/components/prompt-line/src → es/components/aichat-prompt-line}/types.js +0 -0
  2172. /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/corner-manager.d.ts +0 -0
  2173. /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/initialization-manager.d.ts +0 -0
  2174. /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/initialization-manager.js +0 -0
  2175. /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/resize-observer-manager.d.ts +0 -0
  2176. /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/resize-observer-manager.js +0 -0
  2177. /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/slot-observer.d.ts +0 -0
  2178. /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/slot-observer.js +0 -0
  2179. /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/types.d.ts +0 -0
  2180. /package/{es-custom/components/prompt-line/src/tiptap → es/components/aichat-shell}/types.js +0 -0
  2181. /package/{es-custom/components/prompt-line/src/tiptap → es/components/aichat-shell}/types.js.map +0 -0
  2182. /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/workspace-manager-utils.d.ts +0 -0
  2183. /package/{es-custom/components/chat-shell/src → es/components/aichat-shell}/workspace-manager-utils.js +0 -0
  2184. /package/{es-custom/components/table/src → es/components/aichat-table}/table-loader.d.ts +0 -0
  2185. /package/{es-custom/components/table/src → es/components/aichat-table}/table-loader.js +0 -0
  2186. /package/{es-custom/components/table/src → es/components/aichat-table}/table-runtime.d.ts +0 -0
  2187. /package/{es-custom/components/table/src → es/components/aichat-table}/table-runtime.js +0 -0
  2188. /package/{es-custom/components/table/src → es/components/aichat-table}/table-runtime.js.map +0 -0
  2189. /package/{es-custom/components/table/src → es/components/aichat-table}/types.d.ts +0 -0
  2190. /package/{es-custom/components/table/src → es/components/aichat-table}/types.js +0 -0
  2191. /package/{es-custom/components/table/src → es/components/aichat-table}/types.js.map +0 -0
  2192. /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/providers/base-provider.d.ts +0 -0
  2193. /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/providers/base-provider.js +0 -0
  2194. /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/providers/kaltura-provider.d.ts +0 -0
  2195. /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/providers/native-video-provider.d.ts +0 -0
  2196. /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/providers/vimeo-provider.d.ts +0 -0
  2197. /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/providers/youtube-provider.d.ts +0 -0
  2198. /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/utils/url-detector.d.ts +0 -0
  2199. /package/{es-custom/components/video-player/src → es/components/aichat-video-player}/utils/url-detector.js +0 -0
  2200. /package/{es-custom/components/workspace-shell/src → es/components/aichat-workspace-shell}/header-collapsible-manager.d.ts +0 -0
  2201. /package/{es-custom/components/workspace-shell/src → es/components/aichat-workspace-shell}/header-collapsible-manager.js +0 -0
  2202. /package/{es-custom/components/audio-player → es/components/message-byline}/index.js.map +0 -0
  2203. /package/{es-custom/components/chat-button → es/components/message-item-shell}/index.js.map +0 -0
  2204. /package/{es-custom/components/code-snippet → es/components/user-avatar}/index.js.map +0 -0
  2205. /package/{es-custom/components/feedback → es/components/user-message-content}/index.js.map +0 -0
  2206. /package/{es-custom/components/shared → es/globals/utils}/dynamic-css-var-sheet.d.ts +0 -0
  2207. /package/{es-custom/components/shared → es/globals/utils}/dynamic-css-var-sheet.js +0 -0
  2208. /package/{es-custom/components/shared/media-utils → es/globals/utils}/script-loader.d.ts +0 -0
  2209. /package/{es-custom/components/shared/media-utils → es/globals/utils}/script-loader.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aichat-code-snippet.js","sources":["../../../src/components/aichat-code-snippet/aichat-code-snippet.ts"],"sourcesContent":["/*\n * Copyright IBM Corp. 2025, 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @license\n */\n\nimport { LitElement, html, nothing } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { createRef, ref } from 'lit/directives/ref.js';\nimport ChevronDown16 from '@carbon/icons/es/chevron--down/16.js';\nimport Copy16 from '@carbon/icons/es/copy/16.js';\nimport FocusMixin from '@carbon/web-components/es/globals/mixins/focus.js';\nimport { iconLoader } from '@carbon/web-components/es/globals/internal/icon-loader.js';\nimport { prefix } from '../../globals/settings.js';\nimport { observeResize } from './dom-utils.js';\nimport type {\n LanguageController,\n LanguageStateUpdate,\n} from './codemirror/language-controller.js';\nimport type { ContentSyncHandle } from './codemirror/content-sync.js';\nimport {\n buildContainerStyles,\n evaluateShowMoreButton,\n type ContainerStyleProperties,\n} from './layout-utils.js';\nimport {\n adoptOnRoot,\n setVarsForSelector,\n clearSelector,\n} from '../../globals/utils/dynamic-css-var-sheet.js';\nimport { StreamingManager } from './streaming-manager.js';\nimport { defaultLineCountText, type LineCountFormatter } from './formatters.js';\nimport type { EditorView } from '@codemirror/view';\nimport { Compartment } from '@codemirror/state';\nimport { loadCodeMirrorRuntime } from './codemirror/codemirror-loader.js';\nimport '@carbon/web-components/es/components/skeleton-text/index.js';\nimport type { Action } from '../aichat-toolbar/aichat-toolbar.js';\n\ntype CodeMirrorRuntime = Awaited<ReturnType<typeof loadCodeMirrorRuntime>>;\n\nconst SNIPPET_INSTANCE_ATTR = 'data-cds-aichat-snippet-id';\nconst CLIPBOARD_HELPER_SELECTOR = '.cds-aichat--clipboard-helper';\nlet snippetInstanceCounter = 0;\nlet clipboardHelperRuleInstalled = false;\n\n/**\n * Install the off-screen clipboard-helper textarea rule on the shared\n * dynamic stylesheet so the legacy execCommand fallback in\n * `_handleCopyClick` doesn't need to write inline styles.\n */\nfunction ensureClipboardHelperRule(): void {\n if (clipboardHelperRuleInstalled) {\n return;\n }\n setVarsForSelector(CLIPBOARD_HELPER_SELECTOR, {\n position: 'fixed',\n left: '-999999px',\n top: '-999999px',\n opacity: '0',\n });\n clipboardHelperRuleInstalled = true;\n}\n\nimport commonStyles from '../../globals/scss/common.scss?lit';\nimport styles from './aichat-code-snippet.scss?lit';\nimport '@carbon/web-components/es/components/button/index.js';\n\n/**\n * AI Chat code snippet orchestrator that keeps CodeMirror in sync with streamed slot content,\n * automatically detects and loads language highlighting, and optionally exposes an editable surface\n * with live language re-detection and change notifications.\n * @element cds-aichat-code-snippet\n * @slot fixed-actions - Actions that never overflow (passed to toolbar)\n * @slot decorator - Decorative elements like AI labels (passed to toolbar)\n * @fires {CustomEvent<CodeSnippetChangeEventDetail>} content-change - The editor content changes.\n * @fires {CustomEvent<null>} code-snippet-render-end - The rendered code and fonts have settled.\n */\nclass CDSAIChatCodeSnippet extends FocusMixin(LitElement) {\n static get is() {\n return `${prefix}-aichat-code-snippet`;\n }\n\n static styles = [commonStyles, styles];\n\n // Toolbar properties\n /** Array of actions that can overflow into a menu when space is limited. */\n @property({ type: Array, attribute: false })\n actions: Action[] = [];\n\n /** Enable overflow behavior for actions. */\n @property({ type: Boolean, attribute: 'overflow', reflect: true })\n overflow = false;\n\n // CodeMirror properties\n /**\n * Direct code source input.\n */\n @property({ type: String })\n code = '';\n\n /** Language used for syntax highlighting. */\n @property({ type: String, attribute: 'language' }) language = '';\n /** Whether the snippet should be editable. */\n @property({ type: Boolean, attribute: 'editable' }) editable = false;\n /** Whether to enable syntax highlighting. */\n @property({ type: Boolean, attribute: 'highlight' }) highlight = false;\n /** Fallback language to use when detection fails. */\n @property({ type: String, attribute: 'default-language' })\n defaultLanguage = 'javascript';\n /**\n * Show the detected language label in the snippet header. When `false`\n * (the default), only an explicit `language` attribute renders a label.\n */\n @property({ type: Boolean, attribute: 'detect-language' })\n detectLanguage = false;\n /** Text to copy when clicking the copy button. Defaults to slotted content. */\n @property({ attribute: 'copy-text' })\n copyText = '';\n\n /** Disable interactions on the snippet. */\n @property({ type: Boolean, reflect: true, attribute: 'disabled' })\n disabled = false;\n\n /** Hide the copy button. */\n @property({ type: Boolean, reflect: true, attribute: 'hide-copy-button' })\n hideCopyButton = false;\n\n /** Hide the header/toolbar completely. */\n @property({ type: Boolean, reflect: true, attribute: 'hide-header' })\n hideHeader = false;\n\n /** Hide the line-number gutter in the editor. */\n @property({ type: Boolean, reflect: true, attribute: 'hide-line-numbers' })\n hideLineNumbers = false;\n\n /**\n * Hide the fold gutter, removing the ability to collapse and expand code\n * blocks (the fold keyboard shortcuts are dropped along with the gutter).\n */\n @property({ type: Boolean, reflect: true, attribute: 'hide-fold' })\n hideFold = false;\n\n /**\n * Maximum rows to show when collapsed.\n * Set to 0 along with maxExpandedNumberOfRows to enable fill-container mode.\n */\n @property({ type: Number, attribute: 'max-collapsed-number-of-rows' })\n maxCollapsedNumberOfRows = 15;\n\n /**\n * Maximum rows to show when expanded (0 = unlimited).\n * Set to 0 along with maxCollapsedNumberOfRows to enable fill-container mode,\n * where the component fills its container's height with a scrollbar.\n */\n @property({ type: Number, attribute: 'max-expanded-number-of-rows' })\n maxExpandedNumberOfRows = 0;\n\n /** Minimum rows to show when collapsed. */\n @property({ type: Number, attribute: 'min-collapsed-number-of-rows' })\n minCollapsedNumberOfRows = 3;\n\n /** Minimum rows to show when expanded. */\n @property({ type: Number, attribute: 'min-expanded-number-of-rows' })\n minExpandedNumberOfRows = 16;\n\n /** Label for the “show less” control. */\n @property({ attribute: 'show-less-text' })\n showLessText = 'Show less';\n\n /** Label for the “show more” control. */\n @property({ attribute: 'show-more-text' })\n showMoreText = 'Show more';\n\n /** Tooltip label for the copy action. */\n @property({ attribute: 'copy-button-tooltip-content' })\n copyButtonTooltipContent = 'Copy to clipboard';\n\n /** Feedback text shown after copying. */\n @property({ attribute: 'feedback' })\n feedback = 'Copied!';\n\n /** The number in milliseconds to determine how long the feedback tooltip should remain. */\n @property({ type: Number, attribute: 'feedback-timeout' })\n feedbackTimeout = 2000;\n\n /** Label for folding/collapsing code. */\n @property({ attribute: 'fold-collapse-label' })\n foldCollapseLabel = 'Collapse code block';\n\n /** Label for unfolding/expanding code. */\n @property({ attribute: 'fold-expand-label' })\n foldExpandLabel = 'Expand code block';\n\n /** Aria-label for the code editor when in read-only mode. */\n @property({ attribute: 'aria-label-readonly' })\n ariaLabelReadOnly = 'Code snippet';\n\n /** Aria-label for the code editor when in editable mode. */\n @property({ attribute: 'aria-label-editable' })\n ariaLabelEditable = 'Code editor';\n\n /**\n * The function used to format the line count text.\n * Receives the line count and returns a formatted string.\n * Defaults to `${count} lines` in en-US.\n */\n @property({ attribute: false })\n getLineCountText: LineCountFormatter = defaultLineCountText;\n\n /**\n * @internal\n */\n @property({ attribute: false })\n private _slottedContent = '';\n\n /**\n * @internal\n */\n @state()\n private _detectedLanguage: string | null = null;\n\n /**\n * @internal\n */\n @state()\n private _languageLabelLockedIn = false;\n\n /**\n * @internal\n */\n @state()\n private _lineCount: number | null = null;\n\n /**\n * @internal\n */\n @state()\n private editorView?: EditorView;\n\n /**\n * @internal\n */\n @state()\n private _isEditorLoading = true;\n\n /**\n * Set by `focusEditor()` when CodeMirror has not finished loading yet;\n * drained from `createEditor()` once the editor view exists.\n * @internal\n */\n private _focusOnEditorReady = false;\n\n /**\n * @internal\n */\n @state()\n private _expandedCode = false;\n\n /**\n * @internal\n */\n @state()\n private _shouldShowMoreLessBtn = false;\n\n /**\n * @internal\n */\n private _hObserveResize: { release(): null } | null = null;\n\n /**\n * @internal\n */\n private hasAdoptedLightDomCode = false;\n\n /**\n * @internal\n */\n private _rowHeightInPixels = 16;\n\n /**\n * @internal\n */\n private _isCreatingEditor = false;\n\n /**\n * @internal\n */\n private contentSlot = createRef<HTMLSlotElement>();\n\n /**\n * @internal\n */\n private editorContainer = createRef<HTMLDivElement>();\n\n /**\n * @internal\n */\n private snippetContainer = createRef<HTMLDivElement>();\n\n /**\n * @internal Per-instance identifier used to scope dynamic CSS rules for\n * this snippet's container via the shared dynamic stylesheet.\n */\n private readonly _snippetInstanceId = `snippet-${++snippetInstanceCounter}`;\n\n private get _snippetSelector(): string {\n return `[${SNIPPET_INSTANCE_ATTR}=\"${this._snippetInstanceId}\"]`;\n }\n\n /**\n * @internal\n */\n private languageCompartment: Compartment | null = null;\n\n /**\n * @internal\n */\n private readOnlyCompartment: Compartment | null = null;\n\n /**\n * @internal\n */\n private wrapCompartment: Compartment | null = null;\n\n /**\n * @internal\n */\n private contentAttributesCompartment: Compartment | null = null;\n\n /**\n * @internal\n */\n private contentSync?: ContentSyncHandle;\n\n /**\n * @internal\n */\n private languageController: LanguageController | null = null;\n\n /**\n * @internal\n */\n private streamingManager?: StreamingManager;\n\n /**\n * @internal\n */\n private codemirrorRuntime: CodeMirrorRuntime | null = null;\n\n /**\n * @internal\n */\n private codemirrorRuntimePromise: Promise<CodeMirrorRuntime> | null = null;\n\n /**\n * @internal\n */\n private _resizeObserver = new ResizeObserver(() => {\n // Use requestAnimationFrame to avoid ResizeObserver loop errors\n requestAnimationFrame(() => {\n this._checkShowMoreButton();\n });\n });\n\n /**\n * @internal\n * Ensures the one-time `document.fonts.ready` re-measure is scheduled only once,\n * even though `createEditor` may run repeatedly during streaming.\n */\n private _fontSettleScheduled = false;\n\n /**\n * @internal\n * Computed property to detect fill-container mode\n */\n private get _isFillMode(): boolean {\n return (\n this.maxCollapsedNumberOfRows === 0 && this.maxExpandedNumberOfRows === 0\n );\n }\n\n constructor() {\n super();\n this.streamingManager = new StreamingManager({\n getSlot: () => this.contentSlot.value ?? null,\n getHost: () => this,\n onContentUpdate: (content) => {\n const previous = this._slottedContent;\n // Only update from slot if code property is not set\n if (!this.code && content !== previous) {\n this._slottedContent = content;\n }\n },\n });\n }\n\n private adoptLightDomCode() {\n if (this.hasAdoptedLightDomCode || this.code) {\n return;\n }\n\n // Backward compatibility: treat static light-DOM text as initial code\n // when the explicit `code` property was not provided.\n const lightDomCode = this.textContent?.trim() ?? '';\n if (lightDomCode) {\n this.code = lightDomCode;\n }\n\n this.hasAdoptedLightDomCode = true;\n }\n\n private _applyLanguageState(update: LanguageStateUpdate) {\n if ('detectedLanguage' in update) {\n this._detectedLanguage = update.detectedLanguage ?? null;\n }\n\n if (update.lockLabel !== undefined) {\n this._languageLabelLockedIn = update.lockLabel;\n }\n }\n\n // Carbon methods\n /**\n * Copies the visible snippet so downstream chat experiences can share code without exposing the editor internals.\n */\n private async _handleCopyClick() {\n try {\n const textToCopy = this._slottedContent || this.copyText || '';\n\n // Try modern Clipboard API first (HTTPS only)\n if (navigator.clipboard && navigator.clipboard.writeText) {\n await navigator.clipboard.writeText(textToCopy);\n } else {\n // Fallback for HTTP or older browsers. The off-screen positioning is\n // applied via a class + dynamic stylesheet rule.\n ensureClipboardHelperRule();\n const textArea = document.createElement('textarea');\n textArea.value = textToCopy;\n textArea.className = 'cds-aichat--clipboard-helper';\n textArea.setAttribute('aria-hidden', 'true');\n textArea.setAttribute('tabindex', '-1');\n document.body.appendChild(textArea);\n textArea.select();\n document.execCommand('copy');\n document.body.removeChild(textArea);\n }\n } catch (error) {\n console.error('Failed to copy text:', error);\n }\n }\n\n /**\n * Toggles the expanded state so long snippets can collapse inside chat tiles while still offering full visibility on demand.\n */\n private _handleClickExpanded() {\n this._expandedCode = !this._expandedCode;\n }\n\n // CodeMirror methods\n\n private async ensureCodeMirrorRuntime(): Promise<boolean> {\n if (this.codemirrorRuntime && this.languageController) {\n return true;\n }\n\n if (typeof window === 'undefined') {\n return false;\n }\n\n if (!this.codemirrorRuntimePromise) {\n this._isEditorLoading = true;\n this.codemirrorRuntimePromise = loadCodeMirrorRuntime();\n }\n\n try {\n const runtime = await this.codemirrorRuntimePromise;\n if (!this.codemirrorRuntime) {\n this.codemirrorRuntime = runtime;\n this.languageCompartment = new runtime.Compartment();\n this.readOnlyCompartment = new runtime.Compartment();\n this.wrapCompartment = new runtime.Compartment();\n this.contentAttributesCompartment = new runtime.Compartment();\n this.languageController = new runtime.LanguageController({\n getLanguageAttribute: () => this.language,\n getContent: () => this._slottedContent,\n isHighlightEnabled: () => this.highlight,\n getEditorView: () => this.editorView,\n getLanguageCompartment: () => {\n if (!this.languageCompartment) {\n this.languageCompartment = new Compartment();\n }\n\n return this.languageCompartment;\n },\n isLanguageLabelLocked: () => this._languageLabelLockedIn,\n getDefaultLanguage: () => this.defaultLanguage,\n getDetectedLanguage: () => this._detectedLanguage,\n updateState: (update) => this._applyLanguageState(update),\n });\n this.requestUpdate();\n }\n return true;\n } catch (error) {\n console.error('Failed to load CodeMirror runtime', error);\n this._isEditorLoading = false;\n this.codemirrorRuntimePromise = null;\n return false;\n }\n }\n\n /**\n * Tears down the CodeMirror view when the component is destroyed to avoid leaking editors between chat messages.\n */\n private destroyEditor() {\n if (this.editorView) {\n this.editorView.destroy();\n this.editorView = undefined;\n }\n this.languageController?.reset();\n }\n\n /**\n * Synchronizes CodeMirror with the latest props and streamed slot content while minimizing unnecessary re-creation work and only appending diffs when possible.\n */\n private async updateEditor(changedProperties: Map<string, any>) {\n if (!this.editorContainer.value) {\n return;\n }\n\n const isReady = await this.ensureCodeMirrorRuntime();\n if (\n !isReady ||\n !this.codemirrorRuntime ||\n !this.languageController ||\n !this.languageCompartment ||\n !this.readOnlyCompartment\n ) {\n return;\n }\n\n const {\n createContentSync,\n applyLanguageSupport,\n updateReadOnlyConfiguration,\n updateContentAttributes,\n } = this.codemirrorRuntime;\n const languageController = this.languageController;\n const languageCompartment = this.languageCompartment;\n const readOnlyCompartment = this.readOnlyCompartment;\n const contentAttributesCompartment = this.contentAttributesCompartment;\n\n const needsRecreate =\n !this.editorView ||\n changedProperties.has('editable') ||\n changedProperties.has('hideLineNumbers') ||\n changedProperties.has('hideFold');\n\n if (needsRecreate) {\n // Prevent creating multiple editors simultaneously\n if (this._isCreatingEditor) {\n return;\n }\n this._isCreatingEditor = true;\n this.destroyEditor();\n await this.createEditor();\n this._isCreatingEditor = false;\n } else {\n if (changedProperties.has('_slottedContent')) {\n if (!this.contentSync) {\n this.contentSync = createContentSync({\n getEditorView: () => this.editorView,\n onAfterApply: () => {\n if (this.editorView) {\n this._lineCount = this.editorView.state.doc.lines;\n }\n this._checkShowMoreButton();\n },\n });\n }\n\n this.contentSync.update(this._slottedContent);\n await languageController.handleStreamingLanguageDetection();\n }\n\n if (\n changedProperties.has('language') ||\n changedProperties.has('highlight')\n ) {\n const languageSupport =\n await languageController.resolveLanguageSupport();\n applyLanguageSupport(\n this.editorView,\n languageCompartment,\n languageSupport\n );\n }\n\n if (changedProperties.has('disabled')) {\n updateReadOnlyConfiguration(this.editorView, readOnlyCompartment, {\n editable: this.editable,\n disabled: this.disabled,\n });\n }\n\n if (\n contentAttributesCompartment &&\n (changedProperties.has('_detectedLanguage') ||\n changedProperties.has('editable') ||\n changedProperties.has('ariaLabelReadOnly') ||\n changedProperties.has('ariaLabelEditable'))\n ) {\n updateContentAttributes(\n this.editorView,\n contentAttributesCompartment,\n this._getAriaLabel()\n );\n }\n }\n }\n\n /**\n * Builds the CodeMirror instance that powers the formatted snippet surface inside the chat response tile.\n */\n private async createEditor() {\n const container = this.editorContainer.value;\n const runtime = this.codemirrorRuntime;\n const languageController = this.languageController;\n const languageCompartment = this.languageCompartment;\n const readOnlyCompartment = this.readOnlyCompartment;\n const wrapCompartment = this.wrapCompartment;\n const contentAttributesCompartment = this.contentAttributesCompartment;\n\n if (\n !container ||\n !runtime ||\n !languageController ||\n !languageCompartment ||\n !readOnlyCompartment ||\n !wrapCompartment ||\n !contentAttributesCompartment\n ) {\n return;\n }\n\n this._isEditorLoading = true;\n\n const languageSupport = await languageController.resolveLanguageSupport();\n\n try {\n container.replaceChildren();\n this.editorView = runtime.createEditorView({\n container,\n doc: this._slottedContent,\n languageSupport,\n languageCompartment,\n readOnlyCompartment,\n wrapCompartment,\n contentAttributesCompartment,\n editable: this.editable,\n disabled: this.disabled,\n ariaLabel: this._getAriaLabel(),\n detectedLanguage: this._detectedLanguage,\n onDocChanged: ({ content, lineCount }) => {\n this._lineCount = lineCount;\n\n this.dispatchEvent(\n new CustomEvent<CodeSnippetChangeEventDetail>('content-change', {\n detail: { content },\n bubbles: true,\n composed: true,\n })\n );\n\n if (this.editable) {\n languageController.detectLanguageForEditable(content);\n }\n },\n setupOptions: {\n foldCollapseLabel: this.foldCollapseLabel,\n foldExpandLabel: this.foldExpandLabel,\n hideLineNumbers: this.hideLineNumbers,\n hideFold: this.hideFold,\n },\n });\n } finally {\n this._isEditorLoading = false;\n }\n\n this._lineCount = this.editorView.state.doc.lines;\n\n // Check height after editor renders, then announce that this snippet's async\n // render has settled so host listeners can recalculate geometry.\n requestAnimationFrame(() => {\n this._checkShowMoreButton();\n this.emitRenderSettled();\n });\n\n if (this._focusOnEditorReady) {\n this._focusOnEditorReady = false;\n this.editorView.focus();\n }\n\n // IBM Plex Mono is a web font that can arrive after first paint and reflow the code,\n // changing height. Re-measure and re-announce once fonts are ready.\n this.scheduleFontSettle();\n\n languageController.handleStreamingLanguageDetection();\n }\n\n /**\n * Announces that this snippet's async render (CodeMirror init and/or font load) has\n * settled, so host listeners can recalculate layout against the final height. The event is\n * public; the message list's scroll controller no longer listens to it. Composed + bubbling\n * so it crosses the shadow boundary.\n */\n private emitRenderSettled() {\n this.dispatchEvent(\n new CustomEvent<null>('code-snippet-render-end', {\n bubbles: true,\n composed: true,\n })\n );\n }\n\n /**\n * IBM Plex Mono is delivered as a web font and can arrive after first paint, reflowing\n * the code. Once fonts are ready, re-measure and re-announce a settled render. Scheduled\n * at most once per element to avoid piling up handlers across streaming re-renders.\n */\n private scheduleFontSettle() {\n if (this._fontSettleScheduled || !document.fonts?.ready) {\n return;\n }\n this._fontSettleScheduled = true;\n document.fonts.ready.then(() => {\n if (!this.editorView) {\n return;\n }\n this._checkShowMoreButton();\n this.emitRenderSettled();\n });\n }\n\n /**\n * Generates the appropriate aria-label for the code editor based on language and editable state.\n */\n private _getAriaLabel(): string {\n const language = this._detectedLanguage;\n const editable = this.editable;\n\n if (editable) {\n return language\n ? this.ariaLabelEditable.replace('{language}', language)\n : this.ariaLabelEditable;\n } else {\n return language\n ? this.ariaLabelReadOnly.replace('{language}', language)\n : this.ariaLabelReadOnly;\n }\n }\n\n /**\n * Calculates the CSS custom properties for the snippet container based on expanded state and min/max row constraints.\n * Returned by reference for `_applyContainerStyles`, which writes them via the shared dynamic stylesheet\n * (see `dynamic-css-var-sheet`).\n */\n private _getContainerStyles(expandedCode: boolean): ContainerStyleProperties {\n return buildContainerStyles({\n expanded: expandedCode,\n maxCollapsed: this.maxCollapsedNumberOfRows,\n maxExpanded: this.maxExpandedNumberOfRows,\n minCollapsed: this.minCollapsedNumberOfRows,\n minExpanded: this.minExpandedNumberOfRows,\n rowHeight: this._rowHeightInPixels,\n });\n }\n\n /**\n * Applies CSS custom properties to the snippet container element via the\n * shared dynamic stylesheet. The container is tagged with a per-instance\n * data attribute so each snippet's rule is independent.\n */\n private _applyContainerStyles() {\n const container = this.snippetContainer.value;\n if (!container) {\n return;\n }\n\n container.setAttribute(SNIPPET_INSTANCE_ATTR, this._snippetInstanceId);\n adoptOnRoot(this.renderRoot as ShadowRoot);\n\n const properties = this._getContainerStyles(this._expandedCode);\n const declarations: Record<string, string> = {};\n for (const [property, value] of Object.entries(properties)) {\n if (value !== undefined) {\n declarations[property] = value;\n }\n }\n setVarsForSelector(this._snippetSelector, declarations);\n }\n\n /**\n * Shows or hides the expand button so the chat message can adapt to long snippets without overwhelming the layout.\n */\n private _checkShowMoreButton() {\n const { shouldShowButton, shouldCollapse } = evaluateShowMoreButton({\n shadowRoot: this.shadowRoot,\n rowHeight: this._rowHeightInPixels,\n expanded: this._expandedCode,\n maxCollapsed: this.maxCollapsedNumberOfRows,\n maxExpanded: this.maxExpandedNumberOfRows,\n minExpanded: this.minExpandedNumberOfRows,\n });\n\n if (this._shouldShowMoreLessBtn !== shouldShowButton) {\n this._shouldShowMoreLessBtn = shouldShowButton;\n }\n\n if (shouldCollapse) {\n this._expandedCode = false;\n }\n }\n\n private renderEditorFallback() {\n if (!this._isEditorLoading) {\n return null;\n }\n\n return html`<div\n class=\"${prefix}-aichat--snippet__editor-skeleton\"\n aria-hidden=\"true\">\n <cds-skeleton-text lines=\"4\"></cds-skeleton-text>\n </div>`;\n }\n\n /**\n * Focus the editor surface — the contenteditable that accepts text input.\n * Prefer this over `host.focus()`, which delegates via `delegatesFocus`\n * to the first sequentially-focusable child in the shadow tree\n * (`.cm-scroller`, focusable for accessibility but not editable). When\n * CodeMirror is still loading, the call is queued and forwarded once\n * the editor view is created. Useful right after inserting the snippet\n * into a contenteditable host (e.g. a Tiptap atom block) so the next\n * keystroke enters the editor instead of replacing the node.\n */\n focusEditor(): void {\n if (this.editorView) {\n this.editorView.focus();\n return;\n }\n this._focusOnEditorReady = true;\n void this.ensureCodeMirrorRuntime();\n }\n\n // Lifecycle methods\n /**\n * Wires up resize and content observers so the snippet reacts to streaming updates and layout changes as soon as it attaches.\n */\n connectedCallback() {\n super.connectedCallback();\n this.adoptLightDomCode();\n if (this._hObserveResize) {\n this._hObserveResize = this._hObserveResize.release();\n }\n this._hObserveResize = observeResize(this._resizeObserver, this);\n\n this.streamingManager?.reset(this._slottedContent);\n this.streamingManager?.connect();\n\n void this.ensureCodeMirrorRuntime();\n }\n\n /**\n * Hooks into the rendered slot once Lit has stamped the template so we can observe streaming updates.\n */\n protected firstUpdated() {\n this.streamingManager?.syncSlotObservers();\n // Apply initial container styles (CSP-compliant)\n this._applyContainerStyles();\n }\n\n /**\n * Ensures we capture any pre-rendered slot content before the initial paint, keeping the editor in sync from the first frame.\n */\n willUpdate(changedProperties: Map<string, any>) {\n if (changedProperties.has('code')) {\n // When code property changes, update internal content\n if (this.code) {\n this._slottedContent = this.code;\n }\n }\n\n this.streamingManager?.ensureInitialContent();\n\n // Update expanded-code attribute before render to avoid change-in-update warning\n if (this._expandedCode) {\n this.setAttribute('expanded-code', '');\n } else {\n this.removeAttribute('expanded-code');\n }\n }\n\n /**\n * Responds to slot churn caused by streaming tokens emitted from the chat pipeline, forcing a full rescan when the slot re-projects.\n */\n private _handleSlotChange() {\n this.streamingManager?.handleSlotChange();\n }\n\n /**\n * Cleans up observers, throttles, and the editor when the chat snippet unmounts.\n */\n disconnectedCallback() {\n super.disconnectedCallback();\n if (this._hObserveResize) {\n this._hObserveResize = this._hObserveResize.release();\n }\n // Cancel any pending throttled updates\n this.contentSync?.cancel();\n this.streamingManager?.dispose();\n this.languageController?.dispose();\n this.destroyEditor();\n clearSelector(this._snippetSelector);\n }\n\n /**\n * Drives incremental editor updates after Lit commits.\n */\n updated(changedProperties: Map<string, any>) {\n this.updateEditor(changedProperties);\n\n // Apply container styles when expanded state or row constraints change\n if (\n changedProperties.has('_expandedCode') ||\n changedProperties.has('maxCollapsedNumberOfRows') ||\n changedProperties.has('maxExpandedNumberOfRows') ||\n changedProperties.has('minCollapsedNumberOfRows') ||\n changedProperties.has('minExpandedNumberOfRows')\n ) {\n this._applyContainerStyles();\n }\n\n // Apply fill-mode class to host element\n if (this._isFillMode) {\n this.classList.add(`${prefix}-aichat--snippet-container--fill-mode`);\n } else {\n this.classList.remove(`${prefix}-aichat--snippet-container--fill-mode`);\n }\n }\n\n /**\n * Gets all actions including the copy button prepended if enabled.\n * @returns Array of actions for the toolbar\n */\n private _getToolbarActions(): Action[] {\n if (this.hideCopyButton) {\n return this.actions;\n }\n\n const copyAction: Action = {\n text: this.copyButtonTooltipContent,\n icon: Copy16,\n feedback: this.feedback,\n feedbackTimeout: this.feedbackTimeout,\n onClick: () => this._handleCopyClick(),\n };\n\n return [copyAction, ...this.actions];\n }\n\n /**\n * Renders the title content for the toolbar (language label and line count).\n * @returns Template result for title slot\n */\n private renderTitle() {\n // Show the language label when one is locked in and either the host\n // opted into `detectLanguage` or the `language` attribute is set\n // explicitly (explicit always renders its label regardless of the flag).\n const showLanguageLabel =\n !!this._detectedLanguage &&\n this._languageLabelLockedIn &&\n (this.detectLanguage || !!this.language);\n return html`\n <div\n slot=\"title\"\n data-rounded=\"top\"\n class=\"${prefix}-aichat--snippet__meta\">\n ${\n showLanguageLabel\n ? html`<div class=\"${prefix}-aichat--snippet__language\">\n ${this._detectedLanguage}\n </div>`\n : ''\n }\n ${\n showLanguageLabel && this._lineCount\n ? html`<div class=\"${prefix}-aichat--snippet__header-separator\">\n &mdash;\n </div>`\n : ''\n }\n ${\n this._lineCount\n ? html`<div class=\"${prefix}-aichat--snippet__linecount\">\n ${this.getLineCountText({ count: this._lineCount })}\n </div>`\n : ''\n }\n </div>\n `;\n }\n\n /**\n * Renders the CodeMirror host along with the controls that make the chat snippet interactive and accessible.\n */\n render() {\n const {\n disabled,\n showMoreText,\n showLessText,\n _expandedCode: expandedCode,\n _shouldShowMoreLessBtn: shouldShowMoreLessBtn,\n } = this;\n\n const expandCodeBtnText = expandedCode ? showLessText : showMoreText;\n\n const containerClasses = {\n [`${prefix}-aichat--snippet-container`]: true,\n [`${prefix}-aichat--snippet--codemirror`]: true,\n // Fill mode shows no expand affordance, so it is never a \"collapsed\"\n // state. Applying `--collapsed` here would clip with `overflow-y: hidden`\n // (it is defined later in the stylesheet and wins by source order),\n // defeating fill mode's `overflow-y: auto` scroll.\n [`${prefix}-aichat--snippet-container--collapsed`]:\n !expandedCode && !this._isFillMode,\n [`${prefix}-aichat--snippet-container--fill-mode`]: this._isFillMode,\n };\n\n return html`<div class=\"${prefix}-aichat--snippet\">\n ${\n !this.hideHeader\n ? html`\n <cds-aichat-toolbar\n class=\"${prefix}-aichat--snippet__header\"\n .actions=${this._getToolbarActions()}\n ?overflow=${this.overflow}>\n ${this.renderTitle()}\n <slot name=\"fixed-actions\" slot=\"fixed-actions\"></slot>\n <slot name=\"decorator\" slot=\"decorator\"></slot>\n </cds-aichat-toolbar>\n `\n : nothing\n }\n\n <div\n class=\"${classMap(containerClasses)}\"\n data-rounded=\"bottom\"\n ${\n this.editable\n ? `aria-label=\"${this.ariaLabelEditable}\" aria-readonly=\"false\" aria-multiline=\"true\"`\n : `aria-label=\"${this._slottedContent || 'code-snippet'}\"`\n }\n ${ref(this.snippetContainer)}>\n <div\n class=\"${prefix}-aichat--code-editor\"\n ${ref(this.editorContainer)}></div>\n ${this.renderEditorFallback()}\n </div>\n\n ${\n shouldShowMoreLessBtn\n ? html`\n <div\n class=\"${prefix}-aichat--snippet__footer\"\n data-rounded=\"bottom-right\">\n <cds-button\n kind=\"ghost\"\n size=\"sm\"\n button-class-name=\"${prefix}-aichat--snippet-btn--expand\"\n ?disabled=${disabled}\n @click=${() => this._handleClickExpanded()}>\n <span class=\"${prefix}-aichat--snippet-btn--text\">\n ${expandCodeBtnText}\n </span>\n ${iconLoader(ChevronDown16, {\n class: `${prefix}-aichat--icon-chevron--down ${prefix}-aichat--snippet__icon`,\n role: 'img',\n slot: 'icon',\n })}\n </cds-button>\n </div>\n `\n : nothing\n }\n <div class=\"${prefix}-aichat--visually-hidden\">\n <slot\n ${ref(this.contentSlot)}\n @slotchange=${this._handleSlotChange}></slot>\n </div>\n </div>`;\n }\n\n /**\n * @internal\n */\n static shadowRootOptions = {\n ...LitElement.shadowRootOptions,\n delegatesFocus: true,\n };\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'cds-aichat-code-snippet': CDSAIChatCodeSnippet;\n }\n}\n\nexport { CDSAIChatCodeSnippet };\nexport default CDSAIChatCodeSnippet;\nexport type { Action } from '../aichat-toolbar/aichat-toolbar.js';\n\n/** Contains the edited code. */\nexport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AAA,kBAAA,EAAA,MAAA,CAAA;AAaxB,UAAA,CAAA;AADP,IAAA,KAAK;AACwB,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,eAAA,EAAA,MAAA,CAAA;AAMtB,UAAA,CAAA;AADP,IAAA,KAAK;AACiC,CAAA,EAAA,oBAAA,CAAA,SAAA,EAAA,wBAAA,EAAA,MAAA,CAAA;;"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { css } from 'lit';
9
+
10
+ var styles = css([":host,:host-context([data-theme=g10]),:host-context([data-theme=white]),:host-context([storybook-carbon-theme=g10]),:host-context([storybook-carbon-theme=white]){display:block}:host :host([data-rounded=\"\"]),:host [data-rounded=\"\"],:host-context([data-theme=g10]) :host([data-rounded=\"\"]),:host-context([data-theme=g10]) [data-rounded=\"\"],:host-context([data-theme=white]) :host([data-rounded=\"\"]),:host-context([data-theme=white]) [data-rounded=\"\"],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=\"\"]),:host-context([storybook-carbon-theme=g10]) [data-rounded=\"\"],:host-context([storybook-carbon-theme=white]) :host([data-rounded=\"\"]),:host-context([storybook-carbon-theme=white]) [data-rounded=\"\"]{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem);border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=\"\"])::part(button),:host :host([data-rounded=\"\"])::part(link),:host [data-rounded=\"\"]::part(button),:host [data-rounded=\"\"]::part(link),:host-context([data-theme=g10]) :host([data-rounded=\"\"])::part(button),:host-context([data-theme=g10]) :host([data-rounded=\"\"])::part(link),:host-context([data-theme=g10]) [data-rounded=\"\"]::part(button),:host-context([data-theme=g10]) [data-rounded=\"\"]::part(link),:host-context([data-theme=white]) :host([data-rounded=\"\"])::part(button),:host-context([data-theme=white]) :host([data-rounded=\"\"])::part(link),:host-context([data-theme=white]) [data-rounded=\"\"]::part(button),:host-context([data-theme=white]) [data-rounded=\"\"]::part(link),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=\"\"])::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=\"\"])::part(link),:host-context([storybook-carbon-theme=g10]) [data-rounded=\"\"]::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=\"\"]::part(link),:host-context([storybook-carbon-theme=white]) :host([data-rounded=\"\"])::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=\"\"])::part(link),:host-context([storybook-carbon-theme=white]) [data-rounded=\"\"]::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=\"\"]::part(link){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem);border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem);outline-offset:-.0625rem}:host :host([data-rounded=\"\"])>:only-child,:host [data-rounded=\"\"]>:only-child,:host-context([data-theme=g10]) :host([data-rounded=\"\"])>:only-child,:host-context([data-theme=g10]) [data-rounded=\"\"]>:only-child,:host-context([data-theme=white]) :host([data-rounded=\"\"])>:only-child,:host-context([data-theme=white]) [data-rounded=\"\"]>:only-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=\"\"])>:only-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=\"\"]>:only-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=\"\"])>:only-child,:host-context([storybook-carbon-theme=white]) [data-rounded=\"\"]>:only-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem);border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]),:host [data-rounded=top],:host-context([data-theme=g10]) :host([data-rounded=top]),:host-context([data-theme=g10]) [data-rounded=top],:host-context([data-theme=white]) :host([data-rounded=top]),:host-context([data-theme=white]) [data-rounded=top],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]),:host-context([storybook-carbon-theme=g10]) [data-rounded=top],:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]),:host-context([storybook-carbon-theme=white]) [data-rounded=top]{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left]),:host [data-rounded=top-left],:host-context([data-theme=g10]) :host([data-rounded=top-left]),:host-context([data-theme=g10]) [data-rounded=top-left],:host-context([data-theme=white]) :host([data-rounded=top-left]),:host-context([data-theme=white]) [data-rounded=top-left],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left]),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left],:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left]),:host-context([storybook-carbon-theme=white]) [data-rounded=top-left]{border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right]),:host [data-rounded=top-right],:host-context([data-theme=g10]) :host([data-rounded=top-right]),:host-context([data-theme=g10]) [data-rounded=top-right],:host-context([data-theme=white]) :host([data-rounded=top-right]),:host-context([data-theme=white]) [data-rounded=top-right],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right]),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right],:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right]),:host-context([storybook-carbon-theme=white]) [data-rounded=top-right]{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]),:host [data-rounded=bottom],:host-context([data-theme=g10]) :host([data-rounded=bottom]),:host-context([data-theme=g10]) [data-rounded=bottom],:host-context([data-theme=white]) :host([data-rounded=bottom]),:host-context([data-theme=white]) [data-rounded=bottom],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom],:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left]),:host [data-rounded=bottom-left],:host-context([data-theme=g10]) :host([data-rounded=bottom-left]),:host-context([data-theme=g10]) [data-rounded=bottom-left],:host-context([data-theme=white]) :host([data-rounded=bottom-left]),:host-context([data-theme=white]) [data-rounded=bottom-left],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left]),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left],:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left]),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left]{border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right]),:host [data-rounded=bottom-right],:host-context([data-theme=g10]) :host([data-rounded=bottom-right]),:host-context([data-theme=g10]) [data-rounded=bottom-right],:host-context([data-theme=white]) :host([data-rounded=bottom-right]),:host-context([data-theme=white]) [data-rounded=bottom-right],:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right]),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right],:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right]),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right]{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]:not([data-stacked]))>:first-child,:host [data-rounded=top]:not([data-stacked])>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:first-child,:host-context([data-theme=g10]) [data-rounded=top]:not([data-stacked])>:first-child,:host-context([data-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:first-child,:host-context([data-theme=white]) [data-rounded=top]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top]:not([data-stacked])>:first-child{border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host [data-rounded=top]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top]:not([data-stacked])>:first-child::part(button){border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]:not([data-stacked]))>:last-child,:host [data-rounded=top]:not([data-stacked])>:last-child,:host-context([data-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:last-child,:host-context([data-theme=g10]) [data-rounded=top]:not([data-stacked])>:last-child,:host-context([data-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:last-child,:host-context([data-theme=white]) [data-rounded=top]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top]:not([data-stacked])>:last-child{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host [data-rounded=top]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=top]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=top]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top]:not([data-stacked])>:last-child::part(button){border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host [data-rounded=top-left]:not([data-stacked])>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host-context([data-theme=g10]) [data-rounded=top-left]:not([data-stacked])>:first-child,:host-context([data-theme=white]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host-context([data-theme=white]) [data-rounded=top-left]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top-left]:not([data-stacked])>:first-child{border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host [data-rounded=top-left]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top-left]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top-left]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top-left]:not([data-stacked])>:first-child::part(button){border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host [data-rounded=top-right]:not([data-stacked])>:last-child,:host-context([data-theme=g10]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host-context([data-theme=g10]) [data-rounded=top-right]:not([data-stacked])>:last-child,:host-context([data-theme=white]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host-context([data-theme=white]) [data-rounded=top-right]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top-right]:not([data-stacked])>:last-child{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host [data-rounded=top-right]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=top-right]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=top-right]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top-right]:not([data-stacked])>:last-child::part(button){border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host [data-rounded=bottom]:not([data-stacked])>:first-child,:host-context([data-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host-context([data-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:first-child,:host-context([data-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host-context([data-theme=white]) [data-rounded=bottom]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]:not([data-stacked])>:first-child{border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host [data-rounded=bottom]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]:not([data-stacked])>:first-child::part(button){border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host [data-rounded=bottom]:not([data-stacked])>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host-context([data-theme=white]) [data-rounded=bottom]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]:not([data-stacked])>:last-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host [data-rounded=bottom]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom]:not([data-stacked])>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host [data-rounded=bottom-left]:not([data-stacked])>:first-child,:host-context([data-theme=g10]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host-context([data-theme=g10]) [data-rounded=bottom-left]:not([data-stacked])>:first-child,:host-context([data-theme=white]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host-context([data-theme=white]) [data-rounded=bottom-left]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left]:not([data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left]:not([data-stacked])>:first-child{border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left]:not([data-stacked]))>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left]:not([data-stacked])>:first-child::part(button){border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host [data-rounded=bottom-right]:not([data-stacked])>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom-right]:not([data-stacked])>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host-context([data-theme=white]) [data-rounded=bottom-right]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right]:not([data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right]:not([data-stacked])>:last-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right]:not([data-stacked]))>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right]:not([data-stacked])>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top][data-stacked])>:first-child,:host [data-rounded=top][data-stacked]>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top][data-stacked])>:first-child,:host-context([data-theme=g10]) [data-rounded=top][data-stacked]>:first-child,:host-context([data-theme=white]) :host([data-rounded=top][data-stacked])>:first-child,:host-context([data-theme=white]) [data-rounded=top][data-stacked]>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top][data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top][data-stacked]>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top][data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top][data-stacked]>:first-child{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top][data-stacked])>:first-child::part(button),:host [data-rounded=top][data-stacked]>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top][data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top][data-stacked]>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top][data-stacked])>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top][data-stacked]>:first-child::part(button){border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right][data-stacked])>:first-child,:host [data-rounded=top-right][data-stacked]>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top-right][data-stacked])>:first-child,:host-context([data-theme=g10]) [data-rounded=top-right][data-stacked]>:first-child,:host-context([data-theme=white]) :host([data-rounded=top-right][data-stacked])>:first-child,:host-context([data-theme=white]) [data-rounded=top-right][data-stacked]>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right][data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right][data-stacked]>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right][data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top-right][data-stacked]>:first-child{border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host [data-rounded=top-right][data-stacked]>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top-right][data-stacked]>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top-right][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-right][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-right][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top-right][data-stacked]>:first-child::part(button){border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left][data-stacked])>:first-child,:host [data-rounded=top-left][data-stacked]>:first-child,:host-context([data-theme=g10]) :host([data-rounded=top-left][data-stacked])>:first-child,:host-context([data-theme=g10]) [data-rounded=top-left][data-stacked]>:first-child,:host-context([data-theme=white]) :host([data-rounded=top-left][data-stacked])>:first-child,:host-context([data-theme=white]) [data-rounded=top-left][data-stacked]>:first-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left][data-stacked])>:first-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left][data-stacked]>:first-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left][data-stacked])>:first-child,:host-context([storybook-carbon-theme=white]) [data-rounded=top-left][data-stacked]>:first-child{border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host [data-rounded=top-left][data-stacked]>:first-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host-context([data-theme=g10]) [data-rounded=top-left][data-stacked]>:first-child::part(button),:host-context([data-theme=white]) :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host-context([data-theme=white]) [data-rounded=top-left][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=top-left][data-stacked]>:first-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=top-left][data-stacked])>:first-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=top-left][data-stacked]>:first-child::part(button){border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom][data-stacked])>:last-child,:host [data-rounded=bottom][data-stacked]>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom][data-stacked])>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom][data-stacked]>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom][data-stacked])>:last-child,:host-context([data-theme=white]) [data-rounded=bottom][data-stacked]>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom][data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom][data-stacked]>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom][data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom][data-stacked]>:last-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host [data-rounded=bottom][data-stacked]>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom][data-stacked]>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom][data-stacked]>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right][data-stacked])>:last-child,:host [data-rounded=bottom-right][data-stacked]>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom-right][data-stacked])>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom-right][data-stacked]>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom-right][data-stacked])>:last-child,:host-context([data-theme=white]) [data-rounded=bottom-right][data-stacked]>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right][data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right][data-stacked]>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right][data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right][data-stacked]>:last-child{border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host [data-rounded=bottom-right][data-stacked]>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom-right][data-stacked]>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom-right][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-right][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-right][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-right][data-stacked]>:last-child::part(button){border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left][data-stacked])>:last-child,:host [data-rounded=bottom-left][data-stacked]>:last-child,:host-context([data-theme=g10]) :host([data-rounded=bottom-left][data-stacked])>:last-child,:host-context([data-theme=g10]) [data-rounded=bottom-left][data-stacked]>:last-child,:host-context([data-theme=white]) :host([data-rounded=bottom-left][data-stacked])>:last-child,:host-context([data-theme=white]) [data-rounded=bottom-left][data-stacked]>:last-child,:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left][data-stacked])>:last-child,:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left][data-stacked]>:last-child,:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left][data-stacked])>:last-child,:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left][data-stacked]>:last-child{border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host [data-rounded=bottom-left][data-stacked]>:last-child::part(button),:host-context([data-theme=g10]) :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host-context([data-theme=g10]) [data-rounded=bottom-left][data-stacked]>:last-child::part(button),:host-context([data-theme=white]) :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host-context([data-theme=white]) [data-rounded=bottom-left][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=g10]) [data-rounded=bottom-left][data-stacked]>:last-child::part(button),:host-context([storybook-carbon-theme=white]) :host([data-rounded=bottom-left][data-stacked])>:last-child::part(button),:host-context([storybook-carbon-theme=white]) [data-rounded=bottom-left][data-stacked]>:last-child::part(button){border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem)}:host,:host-context([data-theme=g10]),:host-context([data-theme=white]),:host-context([storybook-carbon-theme=g10]),:host-context([storybook-carbon-theme=white]){--cds-syntax-angle-bracket:#697077;--cds-syntax-annotation:#007d79;--cds-syntax-arithmetic-operator:#343a3f;--cds-syntax-atom:#161616;--cds-syntax-attribute:#00539a;--cds-syntax-attribute-name:#00539a;--cds-syntax-attribute-value:#161616;--cds-syntax-bitwise-operator:#343a3f;--cds-syntax-block-comment:#198038;--cds-syntax-bool:#161616;--cds-syntax-brace:#343a3f;--cds-syntax-bracket:#343a3f;--cds-syntax-character:#161616;--cds-syntax-class-name:#007d79;--cds-syntax-color:#161616;--cds-syntax-comment:#198038;--cds-syntax-compare-operator:#343a3f;--cds-syntax-constant:#0f62fe;--cds-syntax-content:#161616;--cds-syntax-content-separator:#343a3f;--cds-syntax-control-keyword:#6929c4;--cds-syntax-control-operator:#6929c4;--cds-syntax-definition:#00539a;--cds-syntax-definition-keyword:#00539a;--cds-syntax-definition-operator:#00539a;--cds-syntax-deleted:#ffd7d9;--cds-syntax-deref-operator:#343a3f;--cds-syntax-doc-comment:#198038;--cds-syntax-doc-string:#161616;--cds-syntax-document-meta:#198038;--cds-syntax-emphasis:#161616;--cds-syntax-escape:#343a3f;--cds-syntax-float:#198038;--cds-syntax-function:#8e6a00;--cds-syntax-heading:#00539a;--cds-syntax-heading-1:#00539a;--cds-syntax-heading-2:#00539a;--cds-syntax-heading-3:#00539a;--cds-syntax-heading-4:#00539a;--cds-syntax-heading-5:#00539a;--cds-syntax-heading-6:#00539a;--cds-syntax-inserted:#a7f0ba;--cds-syntax-integer:#198038;--cds-syntax-invalid:#da1e28;--cds-syntax-keyword:#0f62fe;--cds-syntax-label-name:#0f62fe;--cds-syntax-line-comment:#198038;--cds-syntax-link:#0f62fe;--cds-syntax-list:#161616;--cds-syntax-literal:#161616;--cds-syntax-local:#0f62fe;--cds-syntax-logic-operator:#343a3f;--cds-syntax-macro-name:#161616;--cds-syntax-meta:#198038;--cds-syntax-modifier:#0f62fe;--cds-syntax-module-keyword:#6929c4;--cds-syntax-monospace:#161616;--cds-syntax-name:#0f62fe;--cds-syntax-namespace:#007d79;--cds-syntax-null:#161616;--cds-syntax-number:#198038;--cds-syntax-operator:#343a3f;--cds-syntax-operator-keyword:#0f62fe;--cds-syntax-paren:#343a3f;--cds-syntax-processing-instruction:#161616;--cds-syntax-property-name:#00539a;--cds-syntax-punctuation:#343a3f;--cds-syntax-quote:#198038;--cds-syntax-regexp:#6929c4;--cds-syntax-self:#007d79;--cds-syntax-separator:#343a3f;--cds-syntax-special:#0f62fe;--cds-syntax-special-string:#8a3ffc;--cds-syntax-square-bracket:#343a3f;--cds-syntax-standard:#0f62fe;--cds-syntax-strikethrough:#161616;--cds-syntax-string:#161616;--cds-syntax-strong:#161616;--cds-syntax-tag:#007d79;--cds-syntax-tag-name:#007d79;--cds-syntax-type:#007d79;--cds-syntax-type-name:#007d79;--cds-syntax-type-operator:#007d79;--cds-syntax-unit:#198038;--cds-syntax-update-operator:#343a3f;--cds-syntax-url:#343a3f;--cds-syntax-variable:#0f62fe;--cds-syntax-variable-name:#0f62fe}:host(.cds-aichat--snippet-container--fill-mode){block-size:100%}.cds-aichat--snippet{background:var(--cds-chat-shell-background,#fff);border-end-end-radius:calc(var(--cds-aichat-border-radius-end-end, var(--cds-aichat-border-radius)) - .0625rem);border-end-start-radius:calc(var(--cds-aichat-border-radius-end-start, var(--cds-aichat-border-radius)) - .0625rem);border-start-end-radius:calc(var(--cds-aichat-border-radius-start-end, var(--cds-aichat-border-radius)) - .0625rem);border-start-start-radius:calc(var(--cds-aichat-border-radius-start-start, var(--cds-aichat-border-radius)) - .0625rem);display:block;font-family:inherit;max-inline-size:100%;padding:0;white-space:normal}.cds-aichat--snippet code{font-family:var(--cds-code-01-font-family,\"IBM Plex Mono\",system-ui,-apple-system,BlinkMacSystemFont,\".SFNSText-Regular\",monospace);font-size:var(--cds-code-01-font-size,.75rem);font-weight:var(--cds-code-01-font-weight,400);letter-spacing:var(--cds-code-01-letter-spacing,.32px);line-height:var(--cds-code-01-line-height,1.33333)}:host(.cds-aichat--snippet-container--fill-mode) .cds-aichat--snippet{block-size:100%;display:flex;flex-direction:column}:host-context([data-theme=g100]),:host-context([data-theme=g90]),:host-context([storybook-carbon-theme=g100]),:host-context([storybook-carbon-theme=g90]){--cds-syntax-angle-bracket:#8d8d8d;--cds-syntax-annotation:#08bdba;--cds-syntax-arithmetic-operator:#e0e0e0;--cds-syntax-atom:#f4f4f4;--cds-syntax-attribute:#33b1ff;--cds-syntax-attribute-name:#33b1ff;--cds-syntax-attribute-value:#f4f4f4;--cds-syntax-bitwise-operator:#e0e0e0;--cds-syntax-block-comment:#42be65;--cds-syntax-bool:#f4f4f4;--cds-syntax-brace:#e0e0e0;--cds-syntax-bracket:#e0e0e0;--cds-syntax-character:#f4f4f4;--cds-syntax-class-name:#3ddbd9;--cds-syntax-color:#f4f4f4;--cds-syntax-comment:#42be65;--cds-syntax-compare-operator:#e0e0e0;--cds-syntax-constant:#4589ff;--cds-syntax-content:#f4f4f4;--cds-syntax-content-separator:#e0e0e0;--cds-syntax-control-keyword:#be95ff;--cds-syntax-control-operator:#be95ff;--cds-syntax-definition:#33b1ff;--cds-syntax-definition-keyword:#33b1ff;--cds-syntax-definition-operator:#33b1ff;--cds-syntax-deleted:#a2191f;--cds-syntax-deref-operator:#e0e0e0;--cds-syntax-doc-comment:#42be65;--cds-syntax-doc-string:#f4f4f4;--cds-syntax-document-meta:#42be65;--cds-syntax-emphasis:#f4f4f4;--cds-syntax-escape:#e0e0e0;--cds-syntax-float:#6fdc8c;--cds-syntax-function:#f1c21b;--cds-syntax-heading:#33b1ff;--cds-syntax-heading-1:#33b1ff;--cds-syntax-heading-2:#33b1ff;--cds-syntax-heading-3:#33b1ff;--cds-syntax-heading-4:#33b1ff;--cds-syntax-heading-5:#33b1ff;--cds-syntax-heading-6:#33b1ff;--cds-syntax-inserted:#198038;--cds-syntax-integer:#6fdc8c;--cds-syntax-invalid:#fa4d56;--cds-syntax-keyword:#4589ff;--cds-syntax-label-name:#a6c8ff;--cds-syntax-line-comment:#42be65;--cds-syntax-link:#4589ff;--cds-syntax-list:#f4f4f4;--cds-syntax-literal:#f4f4f4;--cds-syntax-local:#a6c8ff;--cds-syntax-logic-operator:#e0e0e0;--cds-syntax-macro-name:#f4f4f4;--cds-syntax-meta:#42be65;--cds-syntax-modifier:#4589ff;--cds-syntax-module-keyword:#be95ff;--cds-syntax-monospace:#f4f4f4;--cds-syntax-name:#a6c8ff;--cds-syntax-namespace:#3ddbd9;--cds-syntax-null:#f4f4f4;--cds-syntax-number:#6fdc8c;--cds-syntax-operator:#e0e0e0;--cds-syntax-operator-keyword:#4589ff;--cds-syntax-paren:#e0e0e0;--cds-syntax-processing-instruction:#f4f4f4;--cds-syntax-property-name:#33b1ff;--cds-syntax-punctuation:#e0e0e0;--cds-syntax-quote:#42be65;--cds-syntax-regexp:#be95ff;--cds-syntax-self:#3ddbd9;--cds-syntax-separator:#e0e0e0;--cds-syntax-special:#4589ff;--cds-syntax-special-string:#be95ff;--cds-syntax-square-bracket:#e0e0e0;--cds-syntax-standard:#4589ff;--cds-syntax-strikethrough:#f4f4f4;--cds-syntax-string:#f4f4f4;--cds-syntax-strong:#f4f4f4;--cds-syntax-tag:#3ddbd9;--cds-syntax-tag-name:#3ddbd9;--cds-syntax-type:#3ddbd9;--cds-syntax-type-name:#3ddbd9;--cds-syntax-type-operator:#3ddbd9;--cds-syntax-unit:#6fdc8c;--cds-syntax-update-operator:#e0e0e0;--cds-syntax-url:#e0e0e0;--cds-syntax-variable:#a6c8ff;--cds-syntax-variable-name:#a6c8ff}.cm-diff-line-inserted{background-color:var(--cds-syntax-inserted)}.cm-diff-line-deleted{background-color:var(--cds-syntax-deleted)}:host([disabled]) .cds-aichat--snippet{background-color:var(--cds-layer);color:var(--cds-text-disabled,rgba(22,22,22,.25))}:host([disabled]) .cm-gutters{background-color:var(--cds-layer)}:host([disabled]) .cds-aichat--snippet-container{cursor:not-allowed}:host([disabled]) .cm-editor{pointer-events:none}:host([disabled]) .cds-aichat--snippet__icon{fill:var(--cds-icon-disabled,rgba(22,22,22,.25))}:host([hide-copy-button]) .cds-aichat--snippet-container pre{padding-inline-end:0}:host([wrap-text]) pre{white-space:pre-wrap;word-wrap:break-word}.cds-aichat--snippet-container{max-block-size:var(--cds-snippet-max-height,none);min-block-size:var(--cds-snippet-min-height,auto);order:1;overflow-y:auto;pointer-events:auto;position:relative;transition:max-height motion(standard,productive) .16s}.cds-aichat--snippet-container:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds-aichat--snippet-container:focus{outline-style:dotted}}.cds-aichat--snippet-container:focus{outline-offset:0}.cds-aichat--snippet-container pre{overflow:auto;padding-block-end:1.5rem;padding-inline-end:1.5rem}.cds-aichat--snippet-container pre code{overflow:hidden}.cds-aichat--snippet-container--fill-mode{block-size:100%;max-block-size:100%;overflow-y:auto}.cds-aichat--snippet--codemirror ::slotted(*){display:none}.cds-aichat--snippet--codemirror .cds-aichat--code-editor{block-size:100%;inline-size:100%}.cds-aichat--snippet__editor-skeleton{align-items:center;background:var(--cds-layer-01,#f4f4f4);display:flex;inset:0;padding:1rem;pointer-events:none;position:absolute;z-index:1}.cds-aichat--snippet__editor-skeleton cds-skeleton-text{inline-size:100%}.cds-aichat--visually-hidden{display:none}.cds-aichat--snippet__header{border-block-end:1px solid var(--cds-border-subtle-02,#e0e0e0)}.cds-aichat--snippet__meta{display:flex}.cds-aichat--snippet__footer{border-block-start:1px solid var(--cds-border-subtle-02,#e0e0e0);display:flex;justify-content:flex-end}.cds-aichat--snippet-btn--text{color:var(--cds-text-primary,#161616)}.cds-aichat--snippet__icon{fill:var(--cds-icon-primary,#161616)}.cds-aichat--snippet__header-separator,.cds-aichat--snippet__language,.cds-aichat--snippet__linecount{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);letter-spacing:var(--cds-label-01-letter-spacing,.32px);line-height:var(--cds-label-01-line-height,1.33333)}.cds-aichat--snippet__header-separator{padding-inline-end:.25rem;padding-inline-start:.25rem}.cds-aichat--snippet-container--collapsed{overflow-x:auto;overflow-y:hidden;transition:max-height motion(standard,productive) .16s}.cds-aichat--icon-chevron--down{transform:rotate(0deg);transition:transform .3s}:host([expanded-code]) .cds-aichat--icon-chevron--down{transform:rotate(180deg);transition:transform .3s}"]);
11
+
12
+ export { styles as default };
13
+ //# sourceMappingURL=aichat-code-snippet.scss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aichat-code-snippet.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-setup.js","sources":["../../../../src/components/aichat-code-snippet/codemirror/base-setup.ts"],"sourcesContent":["/*\n * Copyright IBM Corp. 2025, 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @license\n */\n\nimport { lineNumbers, drawSelection, keymap } from '@codemirror/view';\nimport {\n foldGutter,\n indentOnInput,\n syntaxHighlighting,\n defaultHighlightStyle,\n foldKeymap,\n} from '@codemirror/language';\nimport { defaultKeymap } from '@codemirror/commands';\nimport { closeBrackets, closeBracketsKeymap } from '@codemirror/autocomplete';\nimport { lintKeymap } from '@codemirror/lint';\nimport { Extension } from '@codemirror/state';\nimport {\n createCarbonFoldMarker,\n carbonFoldMarkerKeyHandler,\n} from './marker-utils.js';\nimport { createCarbonHighlightStyle } from './theme.js';\nimport { createDiffDecorator } from './diff-decorator.js';\n\nexport interface BaseCodeMirrorSetupOptions {\n foldCollapseLabel?: string;\n foldExpandLabel?: string;\n enableDiffDecorator?: boolean;\n hideLineNumbers?: boolean;\n hideFold?: boolean;\n}\n\n/**\n * Minimal editor affordances for snippets:\n * - keep the layout oriented (gutters, folding)\n * - preserve indentation and basic syntax cues\n * - avoid heavier behaviors like search, autocomplete, multi-caret history\n *\n * `hideLineNumbers` drops the line-number gutter and `hideFold` drops the\n * folding affordances (gutter, marker key handler, and fold keymap) so callers\n * can render a leaner surface for short, static snippets.\n */\nexport function baseCodeMirrorSetup(\n options: BaseCodeMirrorSetupOptions = {}\n): Extension {\n const {\n foldCollapseLabel = 'Collapse code block',\n foldExpandLabel = 'Expand code block',\n enableDiffDecorator = false,\n hideLineNumbers = false,\n hideFold = false,\n } = options;\n\n return [\n // Line number column for navigation and copy context\n ...(hideLineNumbers ? [] : [lineNumbers()]),\n // Folding affordances: keyboard handler + Carbon chevron gutter. Dropped\n // together when folding is hidden so no open/close control survives.\n ...(hideFold\n ? []\n : [\n carbonFoldMarkerKeyHandler(),\n foldGutter({\n markerDOM: createCarbonFoldMarker({\n collapseLabel: foldCollapseLabel,\n expandLabel: foldExpandLabel,\n }),\n }),\n ]),\n // Selection rendering that respects multiple carets\n drawSelection(),\n // Maintain indentation on new lines\n indentOnInput(),\n // Fallback syntax highlight style when no language-specific theme exists\n syntaxHighlighting(defaultHighlightStyle, { fallback: true }),\n // Add in Carbon theme\n createCarbonHighlightStyle(),\n // Auto-insert closing brackets and quotes\n closeBrackets(),\n // Bundle the keymaps we still rely on\n keymap.of([\n ...closeBracketsKeymap,\n ...defaultKeymap,\n ...(hideFold ? [] : foldKeymap),\n ...lintKeymap,\n ]),\n // Conditionally add diff line decorator for diff language\n ...(enableDiffDecorator ? [createDiffDecorator()] : []),\n ];\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;AAOG;AA6BH;;;;;;;;;AASG;AACG,SAAU,mBAAmB,CACjC,OAAA,GAAsC,EAAE,EAAA;IAExC,MAAM,EACJ,iBAAiB,GAAG,qBAAqB,EACzC,eAAe,GAAG,mBAAmB,EACrC,mBAAmB,GAAG,KAAK,EAC3B,eAAe,GAAG,KAAK,EACvB,QAAQ,GAAG,KAAK,GACjB,GAAG,OAAO;IAEX,OAAO;;AAEL,QAAA,IAAI,eAAe,GAAG,EAAE,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC;;;AAG3C,QAAA,IAAI;AACF,cAAE;AACF,cAAE;AACE,gBAAA,0BAA0B,EAAE;AAC5B,gBAAA,UAAU,CAAC;oBACT,SAAS,EAAE,sBAAsB,CAAC;AAChC,wBAAA,aAAa,EAAE,iBAAiB;AAChC,wBAAA,WAAW,EAAE,eAAe;qBAC7B,CAAC;iBACH,CAAC;aACH,CAAC;;AAEN,QAAA,aAAa,EAAE;;AAEf,QAAA,aAAa,EAAE;;QAEf,kBAAkB,CAAC,qBAAqB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;AAE7D,QAAA,0BAA0B,EAAE;;AAE5B,QAAA,aAAa,EAAE;;QAEf,MAAM,CAAC,EAAE,CAAC;AACR,YAAA,GAAG,mBAAmB;AACtB,YAAA,GAAG,aAAa;YAChB,IAAI,QAAQ,GAAG,EAAE,GAAG,UAAU,CAAC;AAC/B,YAAA,GAAG,UAAU;SACd,CAAC;;AAEF,QAAA,IAAI,mBAAmB,GAAG,CAAC,mBAAmB,EAAE,CAAC,GAAG,EAAE,CAAC;KACxD;AACH;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codemirror-loader.js","sources":["../../../../src/components/aichat-code-snippet/codemirror/codemirror-loader.ts"],"sourcesContent":["/*\n * Copyright IBM Corp. 2025, 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @license\n */\n\ntype CodeMirrorRuntimeModule = typeof import('./codemirror-runtime.js');\n\nlet runtimePromise: Promise<CodeMirrorRuntimeModule> | null = null;\n\n/**\n * Lazily loads the CodeMirror runtime so that heavy editor dependencies are only\n * pulled into the bundle when the code-snippet component is actually rendered.\n */\nexport function loadCodeMirrorRuntime(): Promise<CodeMirrorRuntimeModule> {\n if (!runtimePromise) {\n runtimePromise = import('./codemirror-runtime.js');\n }\n return runtimePromise;\n}\n\nexport type { CodeMirrorRuntimeModule };\n"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;AAOG;AAIH,IAAI,cAAc,GAA4C,IAAI;AAElE;;;AAGG;SACa,qBAAqB,GAAA;IACnC,IAAI,CAAC,cAAc,EAAE;AACnB,QAAA,cAAc,GAAG,OAAO,yBAAyB,CAAC;IACpD;AACA,IAAA,OAAO,cAAc;AACvB;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content-sync.js","sources":["../../../../src/components/aichat-code-snippet/codemirror/content-sync.ts"],"sourcesContent":["/*\n * Copyright IBM Corp. 2025, 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @license\n */\n\nimport throttle from 'lodash-es/throttle.js';\nimport { EditorView } from '@codemirror/view';\n\ninterface ContentSyncHooks {\n getEditorView(): EditorView | undefined;\n onAfterApply?(): void;\n throttleMs?: number;\n}\n\nexport interface ContentSyncHandle {\n update(content: string): void;\n cancel(): void;\n}\n\nexport function createContentSync({\n getEditorView,\n onAfterApply,\n throttleMs = 200,\n}: ContentSyncHooks): ContentSyncHandle {\n const throttled = throttle(\n (content: string) => {\n const view = getEditorView();\n if (!view) {\n return;\n }\n\n const current = view.state.doc.toString();\n\n if (content === current) {\n return;\n }\n\n if (content.startsWith(current)) {\n const appended = content.slice(current.length);\n if (!appended.length) {\n return;\n }\n view.dispatch({\n changes: {\n from: current.length,\n to: current.length,\n insert: appended,\n },\n });\n } else if (current.startsWith(content)) {\n view.dispatch({\n changes: {\n from: content.length,\n to: current.length,\n insert: '',\n },\n });\n } else {\n view.dispatch({\n changes: {\n from: 0,\n to: current.length,\n insert: content,\n },\n });\n }\n\n if (onAfterApply) {\n requestAnimationFrame(() => {\n onAfterApply();\n });\n }\n },\n throttleMs,\n { leading: true, trailing: true }\n );\n\n return {\n update: (content: string) => throttled(content),\n cancel: () => throttled.cancel(),\n };\n}\n"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;;AAOG;AAgBG,SAAU,iBAAiB,CAAC,EAChC,aAAa,EACb,YAAY,EACZ,UAAU,GAAG,GAAG,GACC,EAAA;AACjB,IAAA,MAAM,SAAS,GAAG,QAAQ,CACxB,CAAC,OAAe,KAAI;AAClB,QAAA,MAAM,IAAI,GAAG,aAAa,EAAE;QAC5B,IAAI,CAAC,IAAI,EAAE;YACT;QACF;QAEA,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE;AAEzC,QAAA,IAAI,OAAO,KAAK,OAAO,EAAE;YACvB;QACF;AAEA,QAAA,IAAI,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE;YAC/B,MAAM,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;AAC9C,YAAA,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE;gBACpB;YACF;YACA,IAAI,CAAC,QAAQ,CAAC;AACZ,gBAAA,OAAO,EAAE;oBACP,IAAI,EAAE,OAAO,CAAC,MAAM;oBACpB,EAAE,EAAE,OAAO,CAAC,MAAM;AAClB,oBAAA,MAAM,EAAE,QAAQ;AACjB,iBAAA;AACF,aAAA,CAAC;QACJ;AAAO,aAAA,IAAI,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE;YACtC,IAAI,CAAC,QAAQ,CAAC;AACZ,gBAAA,OAAO,EAAE;oBACP,IAAI,EAAE,OAAO,CAAC,MAAM;oBACpB,EAAE,EAAE,OAAO,CAAC,MAAM;AAClB,oBAAA,MAAM,EAAE,EAAE;AACX,iBAAA;AACF,aAAA,CAAC;QACJ;aAAO;YACL,IAAI,CAAC,QAAQ,CAAC;AACZ,gBAAA,OAAO,EAAE;AACP,oBAAA,IAAI,EAAE,CAAC;oBACP,EAAE,EAAE,OAAO,CAAC,MAAM;AAClB,oBAAA,MAAM,EAAE,OAAO;AAChB,iBAAA;AACF,aAAA,CAAC;QACJ;QAEA,IAAI,YAAY,EAAE;YAChB,qBAAqB,CAAC,MAAK;AACzB,gBAAA,YAAY,EAAE;AAChB,YAAA,CAAC,CAAC;QACJ;AACF,IAAA,CAAC,EACD,UAAU,EACV,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAClC;IAED,OAAO;QACL,MAAM,EAAE,CAAC,OAAe,KAAK,SAAS,CAAC,OAAO,CAAC;AAC/C,QAAA,MAAM,EAAE,MAAM,SAAS,CAAC,MAAM,EAAE;KACjC;AACH;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"detect-language.js","sources":["../../../../src/components/aichat-code-snippet/codemirror/detect-language.ts"],"sourcesContent":["/*\n * Copyright IBM Corp. 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @license\n */\n\n/**\n * Signatures are evaluated in order and the first match wins, so they run from most to least\n * distinctive. Each pattern is chosen to be unambiguous on its own rather than merely suggestive —\n * ordering resolves the remaining overlap (a Python `def` ends in a colon, a Ruby one does not).\n *\n * Names match the language names used by `@codemirror/language-data` so callers can hand the result\n * straight to `LanguageDescription.matchLanguageName`.\n */\nconst SIGNATURES: { language: string; pattern: RegExp }[] = [\n { language: 'PHP', pattern: /<\\?php\\b|<\\?=/ },\n // A doctype or an <html> root is conclusive. Bare markup tags are not — JSX and templating\n // languages use them too — so those are checked further down, after the script languages.\n { language: 'HTML', pattern: /<!DOCTYPE\\s+html|<html\\b/i },\n { language: 'Go', pattern: /^\\s*package\\s+\\w+\\s*$|^\\s*func\\s+\\w*\\s*\\(|:=/m },\n {\n language: 'Java',\n pattern:\n /\\bpublic\\s+(?:final\\s+|abstract\\s+)?class\\s+\\w+|public\\s+static\\s+void\\s+main\\s*\\(|\\bSystem\\.(?:out|err)\\.print/,\n },\n {\n language: 'C++',\n pattern:\n /#include\\s*<(?:iostream|vector|string|map)>|\\bstd::\\w+|\\busing\\s+namespace\\s+\\w+|\\b(?:cout|cin|endl)\\b|\\bnullptr\\b/,\n },\n {\n language: 'C',\n pattern:\n /#include\\s*<\\w+\\.h>|\\b(?:printf|scanf|malloc|free)\\s*\\(|\\bint\\s+main\\s*\\(/,\n },\n {\n language: 'Python',\n pattern:\n /^\\s*(?:def|class)\\s+\\w+[^\\n]*:\\s*$|^\\s*(?:from\\s+[\\w.]+\\s+import\\b|import\\s+\\w+\\s*$)|^\\s*if\\s+__name__\\s*==/m,\n },\n {\n language: 'Ruby',\n pattern:\n /^\\s*(?:puts|require(?:_relative)?)\\s+['\"]?|\\bdo\\s*\\|[^|]*\\||^\\s*end\\s*$|\\bdef\\s+\\w+[^\\n(]*$|\\belsif\\b|\\bnil\\b/m,\n },\n {\n language: 'TypeScript',\n pattern:\n /^\\s*(?:export\\s+)?(?:interface|type|enum)\\s+\\w+|\\bimplements\\s+[A-Z]|\\breadonly\\b|\\bimport\\s+type\\b|:\\s*(?:string|number|boolean|unknown|any|void)\\b/m,\n },\n {\n language: 'JavaScript',\n pattern:\n /\\b(?:const|let|var)\\s+[\\w$]+\\s*=|\\bfunction\\*?\\s*[\\w$]*\\s*\\(|=>|\\bconsole\\.\\w+\\s*\\(|\\b(?:import|export)\\b[^\\n]*\\bfrom\\b|\\b(?:null|undefined)\\b/,\n },\n {\n language: 'CSS',\n pattern: /@media\\b|@import\\b|[.#]?[\\w-]+\\s*\\{[^}]*[\\w-]+\\s*:[^}]+;/,\n },\n // Bare markup, reached only once the script languages above have been ruled out.\n {\n language: 'HTML',\n pattern:\n /<(?:head|body|div|span|p|a|ul|ol|li|table|tr|td|form|input|button|script|style|link|meta|img|h[1-6])\\b[^>]*>/i,\n },\n];\n\n/**\n * Detects a programming language from a code snippet, returning null when nothing matches\n * confidently enough.\n */\nfunction detectLanguageFromSignatures(code: string): string | null {\n return SIGNATURES.find(({ pattern }) => pattern.test(code))?.language ?? null;\n}\n\nexport { detectLanguageFromSignatures };\n"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;AAOG;AAEH;;;;;;;AAOG;AACH,MAAM,UAAU,GAA4C;AAC1D,IAAA,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE;;;AAG7C,IAAA,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,2BAA2B,EAAE;AAC1D,IAAA,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,+CAA+C,EAAE;AAC5E,IAAA;AACE,QAAA,QAAQ,EAAE,MAAM;AAChB,QAAA,OAAO,EACL,iHAAiH;AACpH,KAAA;AACD,IAAA;AACE,QAAA,QAAQ,EAAE,KAAK;AACf,QAAA,OAAO,EACL,oHAAoH;AACvH,KAAA;AACD,IAAA;AACE,QAAA,QAAQ,EAAE,GAAG;AACb,QAAA,OAAO,EACL,2EAA2E;AAC9E,KAAA;AACD,IAAA;AACE,QAAA,QAAQ,EAAE,QAAQ;AAClB,QAAA,OAAO,EACL,8GAA8G;AACjH,KAAA;AACD,IAAA;AACE,QAAA,QAAQ,EAAE,MAAM;AAChB,QAAA,OAAO,EACL,gHAAgH;AACnH,KAAA;AACD,IAAA;AACE,QAAA,QAAQ,EAAE,YAAY;AACtB,QAAA,OAAO,EACL,uJAAuJ;AAC1J,KAAA;AACD,IAAA;AACE,QAAA,QAAQ,EAAE,YAAY;AACtB,QAAA,OAAO,EACL,gJAAgJ;AACnJ,KAAA;AACD,IAAA;AACE,QAAA,QAAQ,EAAE,KAAK;AACf,QAAA,OAAO,EAAE,0DAA0D;AACpE,KAAA;;AAED,IAAA;AACE,QAAA,QAAQ,EAAE,MAAM;AAChB,QAAA,OAAO,EACL,+GAA+G;AAClH,KAAA;CACF;AAED;;;AAGG;AACH,SAAS,4BAA4B,CAAC,IAAY,EAAA;IAChD,OAAO,UAAU,CAAC,IAAI,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE,QAAQ,IAAI,IAAI;AAC/E;;"}
@@ -0,0 +1,30 @@
1
+ import { ViewPlugin, DecorationSet, EditorView } from '@codemirror/view';
2
+ import type { ViewUpdate } from '@codemirror/view';
3
+ /**
4
+ * Creates a CodeMirror decorator that applies line-level background colors
5
+ * to diff syntax (inserted and deleted lines).
6
+ *
7
+ * This decorator identifies lines starting with '+' (insertions) or '-' (deletions)
8
+ * and applies appropriate CSS classes for background coloring. It excludes diff
9
+ * metadata lines like '+++', '---', and '@@'.
10
+ *
11
+ * @example
12
+ * ```typescript
13
+ * import { EditorView } from '@codemirror/view';
14
+ * import { createDiffDecorator } from './diff-decorator.js';
15
+ *
16
+ * const view = new EditorView({
17
+ * extensions: [
18
+ * createDiffDecorator(),
19
+ * // ... other extensions
20
+ * ],
21
+ * });
22
+ * ```
23
+ *
24
+ * @returns CodeMirror ViewPlugin that decorates diff lines
25
+ */
26
+ export declare function createDiffDecorator(): ViewPlugin<{
27
+ decorations: DecorationSet;
28
+ update(update: ViewUpdate): void;
29
+ buildDecorations(view: EditorView): DecorationSet;
30
+ }, undefined>;
@@ -0,0 +1,80 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { ViewPlugin, Decoration } from '@codemirror/view';
9
+ import { RangeSetBuilder } from '@codemirror/state';
10
+
11
+ /*
12
+ * Copyright IBM Corp. 2025, 2026
13
+ *
14
+ * This source code is licensed under the Apache-2.0 license found in the
15
+ * LICENSE file in the root directory of this source tree.
16
+ *
17
+ * @license
18
+ */
19
+ // Line decorations for diff syntax
20
+ const insertedLineDeco = Decoration.line({ class: 'cm-diff-line-inserted' });
21
+ const deletedLineDeco = Decoration.line({ class: 'cm-diff-line-deleted' });
22
+ /**
23
+ * Creates a CodeMirror decorator that applies line-level background colors
24
+ * to diff syntax (inserted and deleted lines).
25
+ *
26
+ * This decorator identifies lines starting with '+' (insertions) or '-' (deletions)
27
+ * and applies appropriate CSS classes for background coloring. It excludes diff
28
+ * metadata lines like '+++', '---', and '@@'.
29
+ *
30
+ * @example
31
+ * ```typescript
32
+ * import { EditorView } from '@codemirror/view';
33
+ * import { createDiffDecorator } from './diff-decorator.js';
34
+ *
35
+ * const view = new EditorView({
36
+ * extensions: [
37
+ * createDiffDecorator(),
38
+ * // ... other extensions
39
+ * ],
40
+ * });
41
+ * ```
42
+ *
43
+ * @returns CodeMirror ViewPlugin that decorates diff lines
44
+ */
45
+ function createDiffDecorator() {
46
+ return ViewPlugin.fromClass(class {
47
+ constructor(view) {
48
+ this.decorations = this.buildDecorations(view);
49
+ }
50
+ update(update) {
51
+ if (update.docChanged || update.viewportChanged) {
52
+ this.decorations = this.buildDecorations(update.view);
53
+ }
54
+ }
55
+ buildDecorations(view) {
56
+ const builder = new RangeSetBuilder();
57
+ for (const { from, to } of view.visibleRanges) {
58
+ for (let pos = from; pos <= to;) {
59
+ const line = view.state.doc.lineAt(pos);
60
+ const text = line.text;
61
+ // Check if line is an insertion (starts with + but not +++)
62
+ if (text.startsWith('+') && !text.startsWith('+++')) {
63
+ builder.add(line.from, line.from, insertedLineDeco);
64
+ }
65
+ // Check if line is a deletion (starts with - but not ---)
66
+ else if (text.startsWith('-') && !text.startsWith('---')) {
67
+ builder.add(line.from, line.from, deletedLineDeco);
68
+ }
69
+ pos = line.to + 1;
70
+ }
71
+ }
72
+ return builder.finish();
73
+ }
74
+ }, {
75
+ decorations: (v) => v.decorations,
76
+ });
77
+ }
78
+
79
+ export { createDiffDecorator };
80
+ //# sourceMappingURL=diff-decorator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"diff-decorator.js","sources":["../../../../src/components/aichat-code-snippet/codemirror/diff-decorator.ts"],"sourcesContent":["/*\n * Copyright IBM Corp. 2025, 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @license\n */\n\nimport {\n ViewPlugin,\n Decoration,\n DecorationSet,\n EditorView,\n} from '@codemirror/view';\nimport { RangeSetBuilder } from '@codemirror/state';\nimport type { ViewUpdate } from '@codemirror/view';\n\n// Line decorations for diff syntax\nconst insertedLineDeco = Decoration.line({ class: 'cm-diff-line-inserted' });\nconst deletedLineDeco = Decoration.line({ class: 'cm-diff-line-deleted' });\n\n/**\n * Creates a CodeMirror decorator that applies line-level background colors\n * to diff syntax (inserted and deleted lines).\n *\n * This decorator identifies lines starting with '+' (insertions) or '-' (deletions)\n * and applies appropriate CSS classes for background coloring. It excludes diff\n * metadata lines like '+++', '---', and '@@'.\n *\n * @example\n * ```typescript\n * import { EditorView } from '@codemirror/view';\n * import { createDiffDecorator } from './diff-decorator.js';\n *\n * const view = new EditorView({\n * extensions: [\n * createDiffDecorator(),\n * // ... other extensions\n * ],\n * });\n * ```\n *\n * @returns CodeMirror ViewPlugin that decorates diff lines\n */\nexport function createDiffDecorator() {\n return ViewPlugin.fromClass(\n class {\n decorations: DecorationSet;\n\n constructor(view: EditorView) {\n this.decorations = this.buildDecorations(view);\n }\n\n update(update: ViewUpdate) {\n if (update.docChanged || update.viewportChanged) {\n this.decorations = this.buildDecorations(update.view);\n }\n }\n\n buildDecorations(view: EditorView): DecorationSet {\n const builder = new RangeSetBuilder<Decoration>();\n\n for (const { from, to } of view.visibleRanges) {\n for (let pos = from; pos <= to;) {\n const line = view.state.doc.lineAt(pos);\n const text = line.text;\n\n // Check if line is an insertion (starts with + but not +++)\n if (text.startsWith('+') && !text.startsWith('+++')) {\n builder.add(line.from, line.from, insertedLineDeco);\n }\n // Check if line is a deletion (starts with - but not ---)\n else if (text.startsWith('-') && !text.startsWith('---')) {\n builder.add(line.from, line.from, deletedLineDeco);\n }\n\n pos = line.to + 1;\n }\n }\n\n return builder.finish();\n }\n },\n {\n decorations: (v) => v.decorations,\n }\n );\n}\n"],"names":[],"mappings":";;;;;;;;;;AAAA;;;;;;;AAOG;AAWH;AACA,MAAM,gBAAgB,GAAG,UAAU,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,uBAAuB,EAAE,CAAC;AAC5E,MAAM,eAAe,GAAG,UAAU,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,sBAAsB,EAAE,CAAC;AAE1E;;;;;;;;;;;;;;;;;;;;;;AAsBG;SACa,mBAAmB,GAAA;IACjC,OAAO,UAAU,CAAC,SAAS,CACzB,MAAA;AAGE,QAAA,WAAA,CAAY,IAAgB,EAAA;YAC1B,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC;QAChD;AAEA,QAAA,MAAM,CAAC,MAAkB,EAAA;YACvB,IAAI,MAAM,CAAC,UAAU,IAAI,MAAM,CAAC,eAAe,EAAE;gBAC/C,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,IAAI,CAAC;YACvD;QACF;AAEA,QAAA,gBAAgB,CAAC,IAAgB,EAAA;AAC/B,YAAA,MAAM,OAAO,GAAG,IAAI,eAAe,EAAc;YAEjD,KAAK,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE;gBAC7C,KAAK,IAAI,GAAG,GAAG,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG;AAC/B,oBAAA,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC;AACvC,oBAAA,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI;;AAGtB,oBAAA,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE;AACnD,wBAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,gBAAgB,CAAC;oBACrD;;AAEK,yBAAA,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE;AACxD,wBAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,eAAe,CAAC;oBACpD;AAEA,oBAAA,GAAG,GAAG,IAAI,CAAC,EAAE,GAAG,CAAC;gBACnB;YACF;AAEA,YAAA,OAAO,OAAO,CAAC,MAAM,EAAE;QACzB;KACD,EACD;QACE,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,WAAW;AAClC,KAAA,CACF;AACH;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editor-manager.js","sources":["../../../../src/components/aichat-code-snippet/codemirror/editor-manager.ts"],"sourcesContent":["/*\n * Copyright IBM Corp. 2025, 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @license\n */\n\nimport { EditorState, Compartment } from '@codemirror/state';\nimport { EditorView } from '@codemirror/view';\nimport { LanguageSupport } from '@codemirror/language';\nimport { createCarbonTheme, makeScrollerFocusable } from './theme.js';\nimport {\n baseCodeMirrorSetup,\n type BaseCodeMirrorSetupOptions,\n} from './base-setup.js';\n\ninterface EditorDocChangePayload {\n content: string;\n lineCount: number;\n}\n\ninterface EditorCreationOptions {\n container: HTMLElement;\n doc: string;\n languageSupport: LanguageSupport | null;\n languageCompartment: Compartment;\n readOnlyCompartment: Compartment;\n wrapCompartment: Compartment;\n contentAttributesCompartment: Compartment;\n editable: boolean;\n disabled: boolean;\n ariaLabel: string;\n detectedLanguage?: string | null;\n onDocChanged?(payload: EditorDocChangePayload): void;\n setupOptions?: BaseCodeMirrorSetupOptions;\n}\n\nconst emptyLanguageExtensions: never[] = [];\n\nexport function createEditorView({\n container,\n doc,\n languageSupport,\n languageCompartment,\n readOnlyCompartment,\n wrapCompartment,\n contentAttributesCompartment,\n editable,\n disabled,\n ariaLabel,\n detectedLanguage,\n onDocChanged,\n setupOptions,\n}: EditorCreationOptions): EditorView {\n const languageExtensions = languageSupport\n ? [languageSupport]\n : emptyLanguageExtensions;\n\n const readOnlyExtensions = [\n EditorState.readOnly.of(!editable || disabled),\n EditorView.editable.of(editable && !disabled),\n ];\n\n const contentAttributesExtensions = EditorView.contentAttributes.of({\n 'aria-label': ariaLabel,\n });\n\n const wrapTheme = createCarbonTheme();\n\n // Enable diff decorator only for diff language\n const isDiffLanguage = detectedLanguage === 'diff';\n\n const state = EditorState.create({\n doc,\n extensions: [\n baseCodeMirrorSetup({\n ...setupOptions,\n enableDiffDecorator: isDiffLanguage,\n }),\n languageCompartment.of(languageExtensions),\n readOnlyCompartment.of(readOnlyExtensions),\n wrapCompartment.of(wrapTheme),\n contentAttributesCompartment.of(contentAttributesExtensions),\n makeScrollerFocusable(),\n EditorView.updateListener.of((update) => {\n if (update.docChanged && onDocChanged) {\n onDocChanged({\n content: update.state.doc.toString(),\n lineCount: update.state.doc.lines,\n });\n }\n }),\n ],\n });\n\n return new EditorView({\n state,\n parent: container,\n });\n}\n\nexport function applyLanguageSupport(\n view: EditorView | undefined,\n languageCompartment: Compartment,\n support: LanguageSupport | null\n) {\n if (!view) {\n return;\n }\n\n const extensions = support ? [support] : emptyLanguageExtensions;\n view.dispatch({\n effects: languageCompartment.reconfigure(extensions),\n });\n}\n\nexport function updateReadOnlyConfiguration(\n view: EditorView | undefined,\n readOnlyCompartment: Compartment,\n { editable, disabled }: { editable: boolean; disabled: boolean }\n) {\n if (!view) {\n return;\n }\n\n view.dispatch({\n effects: readOnlyCompartment.reconfigure([\n EditorState.readOnly.of(!editable || disabled),\n EditorView.editable.of(editable && !disabled),\n ]),\n });\n}\n\nexport function updateContentAttributes(\n view: EditorView | undefined,\n contentAttributesCompartment: Compartment,\n ariaLabel: string\n) {\n if (!view) {\n return;\n }\n\n view.dispatch({\n effects: contentAttributesCompartment.reconfigure(\n EditorView.contentAttributes.of({\n 'aria-label': ariaLabel,\n })\n ),\n });\n}\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;AAOG;AAgCH,MAAM,uBAAuB,GAAY,EAAE;AAErC,SAAU,gBAAgB,CAAC,EAC/B,SAAS,EACT,GAAG,EACH,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,eAAe,EACf,4BAA4B,EAC5B,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,YAAY,GACU,EAAA;IACtB,MAAM,kBAAkB,GAAG;UACvB,CAAC,eAAe;UAChB,uBAAuB;AAE3B,IAAA,MAAM,kBAAkB,GAAG;QACzB,WAAW,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,IAAI,QAAQ,CAAC;QAC9C,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,IAAI,CAAC,QAAQ,CAAC;KAC9C;AAED,IAAA,MAAM,2BAA2B,GAAG,UAAU,CAAC,iBAAiB,CAAC,EAAE,CAAC;AAClE,QAAA,YAAY,EAAE,SAAS;AACxB,KAAA,CAAC;AAEF,IAAA,MAAM,SAAS,GAAG,iBAAiB,EAAE;;AAGrC,IAAA,MAAM,cAAc,GAAG,gBAAgB,KAAK,MAAM;AAElD,IAAA,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC;QAC/B,GAAG;AACH,QAAA,UAAU,EAAE;AACV,YAAA,mBAAmB,CAAC;AAClB,gBAAA,GAAG,YAAY;AACf,gBAAA,mBAAmB,EAAE,cAAc;aACpC,CAAC;AACF,YAAA,mBAAmB,CAAC,EAAE,CAAC,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CAAC;YAC9C,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,IAAI,CAAC,QAAQ,CAAC;SAC9C,CAAC;AACH,KAAA,CAAC;AACJ;SAEgB,uBAAuB,CACrC,IAA4B,EAC5B,4BAAyC,EACzC,SAAiB,EAAA;IAEjB,IAAI,CAAC,IAAI,EAAE;QACT;IACF;IAEA,IAAI,CAAC,QAAQ,CAAC;QACZ,OAAO,EAAE,4BAA4B,CAAC,WAAW,CAC/C,UAAU,CAAC,iBAAiB,CAAC,EAAE,CAAC;AAC9B,YAAA,YAAY,EAAE,SAAS;AACxB,SAAA,CAAC,CACH;AACF,KAAA,CAAC;AACJ;;"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"language-controller.js","sources":["../../../../src/components/aichat-code-snippet/codemirror/language-controller.ts"],"sourcesContent":["/*\n * Copyright IBM Corp. 2025, 2026\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @license\n */\n\nimport { Compartment } from '@codemirror/state';\nimport { LanguageDescription, LanguageSupport } from '@codemirror/language';\nimport { languages } from './language-data.js';\nimport { EditorView } from '@codemirror/view';\nimport { detectLanguage, mapLanguageName } from './language-utils.js';\n\ninterface LanguageStateUpdate {\n detectedLanguage?: string | null;\n lockLabel?: boolean;\n}\n\ninterface LanguageControllerConfig {\n getLanguageAttribute(): string;\n getContent(): string;\n isHighlightEnabled(): boolean;\n getEditorView(): EditorView | undefined;\n getLanguageCompartment(): Compartment;\n isLanguageLabelLocked(): boolean;\n getDefaultLanguage(): string;\n getDetectedLanguage(): string | null;\n updateState(update: LanguageStateUpdate): void;\n}\n\nfunction loadLanguageSupport(langDesc: LanguageDescription) {\n return langDesc.load();\n}\n\nexport class LanguageController {\n private pendingLanguageLoad: Promise<void> | null = null;\n private languageDetectionTimeout: number | null = null;\n private highlightingDetectionTimeout: number | null = null;\n private editableLanguageDetectionTimeout: number | null = null;\n private canDetectForHighlighting = true;\n\n constructor(private readonly config: LanguageControllerConfig) {}\n\n async resolveLanguageSupport(): Promise<LanguageSupport | null> {\n const languageAttr = this.config.getLanguageAttribute();\n const content = this.config.getContent();\n const isHighlightEnabled = this.config.isHighlightEnabled();\n const currentDetectedLanguage = this.config.getDetectedLanguage();\n\n let languageToUse = languageAttr\n ? (mapLanguageName(languageAttr) ?? languageAttr)\n : '';\n\n if (!languageToUse && content) {\n const trimmed = content.trim();\n if (trimmed) {\n const detected = detectLanguage(trimmed);\n languageToUse = detected ?? '';\n }\n }\n\n // Use default language for empty editable content\n if (!languageToUse && this.config.getDefaultLanguage()) {\n const trimmed = content.trim();\n if (!trimmed) {\n languageToUse = this.config.getDefaultLanguage();\n }\n }\n\n if (!languageToUse) {\n this.config.updateState({ detectedLanguage: null, lockLabel: false });\n return null;\n }\n\n const langDesc = LanguageDescription.matchLanguageName(\n languages,\n languageToUse,\n true\n );\n\n const detectedLanguage = langDesc ? languageToUse : null;\n\n // Preserve detected language when highlight is toggled\n // Only update state if the detected language has actually changed or needs to be cleared\n if (detectedLanguage !== currentDetectedLanguage) {\n this.config.updateState({\n detectedLanguage,\n lockLabel: Boolean(languageAttr && detectedLanguage),\n });\n }\n\n if (!isHighlightEnabled || !langDesc) {\n return null;\n }\n\n try {\n return await loadLanguageSupport(langDesc);\n } catch (_error) {\n console.warn(`Failed to load language support for \"${languageToUse}\"`);\n return null;\n }\n }\n\n async handleStreamingLanguageDetection(): Promise<void> {\n if (this.config.getLanguageAttribute()) {\n return;\n }\n\n const trimmed = this.config.getContent().trim();\n if (!trimmed) {\n return;\n }\n\n if (\n !this.config.isLanguageLabelLocked() &&\n this.config.isHighlightEnabled() &&\n this.canDetectForHighlighting\n ) {\n const detected = detectLanguage(trimmed);\n if (detected) {\n const langDesc = LanguageDescription.matchLanguageName(\n languages,\n detected,\n true\n );\n\n if (langDesc && !this.pendingLanguageLoad) {\n this.pendingLanguageLoad = loadLanguageSupport(langDesc)\n .then((support) => {\n const view = this.config.getEditorView();\n if (!view) {\n return;\n }\n view.dispatch({\n effects: this.config\n .getLanguageCompartment()\n .reconfigure([support]),\n });\n })\n .catch((_error) => {\n console.warn(`Failed to load language support for \"${detected}\"`);\n })\n .finally(() => {\n this.pendingLanguageLoad = null;\n });\n\n this.canDetectForHighlighting = false;\n this.scheduleHighlightingDetectionReset();\n }\n }\n }\n\n this.clearLanguageDetectionTimeout();\n\n if (!this.config.isLanguageLabelLocked()) {\n this.languageDetectionTimeout = window.setTimeout(() => {\n this.languageDetectionTimeout = null;\n this.lockDetectedLanguageFromContent();\n }, 200);\n }\n }\n\n detectLanguageForEditable(content: string) {\n if (this.config.getLanguageAttribute()) {\n return;\n }\n\n const trimmed = content.trim();\n if (!trimmed) {\n this.config.updateState({ detectedLanguage: null, lockLabel: false });\n return;\n }\n\n this.clearEditableDetectionTimeout();\n\n this.editableLanguageDetectionTimeout = window.setTimeout(() => {\n this.editableLanguageDetectionTimeout = null;\n const detected = detectLanguage(trimmed);\n if (!detected) {\n return;\n }\n\n const langDesc = LanguageDescription.matchLanguageName(\n languages,\n detected,\n true\n );\n\n if (!langDesc) {\n return;\n }\n\n this.config.updateState({ detectedLanguage: detected, lockLabel: true });\n\n if (this.config.isHighlightEnabled() && !this.pendingLanguageLoad) {\n this.pendingLanguageLoad = loadLanguageSupport(langDesc)\n .then((support) => {\n const view = this.config.getEditorView();\n if (!view) {\n return;\n }\n view.dispatch({\n effects: this.config\n .getLanguageCompartment()\n .reconfigure([support]),\n });\n })\n .catch((_error) => {\n console.warn(`Failed to load language support for \"${detected}\"`);\n })\n .finally(() => {\n this.pendingLanguageLoad = null;\n });\n }\n }, 200);\n }\n\n reset() {\n this.disposeTimers();\n this.pendingLanguageLoad = null;\n this.canDetectForHighlighting = true;\n this.config.updateState({ detectedLanguage: null, lockLabel: false });\n }\n\n dispose() {\n this.disposeTimers();\n this.pendingLanguageLoad = null;\n }\n\n private lockDetectedLanguageFromContent() {\n if (\n this.config.getLanguageAttribute() ||\n this.config.isLanguageLabelLocked()\n ) {\n return;\n }\n\n const trimmed = this.config.getContent().trim();\n if (!trimmed) {\n return;\n }\n\n const detected = detectLanguage(trimmed);\n if (!detected) {\n return;\n }\n\n this.config.updateState({ detectedLanguage: detected, lockLabel: true });\n }\n\n private scheduleHighlightingDetectionReset() {\n this.clearHighlightingDetectionTimeout();\n this.highlightingDetectionTimeout = window.setTimeout(() => {\n this.canDetectForHighlighting = true;\n this.highlightingDetectionTimeout = null;\n }, 200);\n }\n\n private clearLanguageDetectionTimeout() {\n if (this.languageDetectionTimeout !== null) {\n window.clearTimeout(this.languageDetectionTimeout);\n this.languageDetectionTimeout = null;\n }\n }\n\n private clearHighlightingDetectionTimeout() {\n if (this.highlightingDetectionTimeout !== null) {\n window.clearTimeout(this.highlightingDetectionTimeout);\n this.highlightingDetectionTimeout = null;\n }\n }\n\n private clearEditableDetectionTimeout() {\n if (this.editableLanguageDetectionTimeout !== null) {\n window.clearTimeout(this.editableLanguageDetectionTimeout);\n this.editableLanguageDetectionTimeout = null;\n }\n }\n\n private disposeTimers() {\n this.clearLanguageDetectionTimeout();\n this.clearHighlightingDetectionTimeout();\n this.clearEditableDetectionTimeout();\n }\n}\n\nexport type { LanguageStateUpdate };\n"],"names":[],"mappings":";;;;;;;;;;;AAAA;;;;;;;AAOG;AAyBH,SAAS,mBAAmB,CAAC,QAA6B,EAAA;AACxD,IAAA,OAAO,QAAQ,CAAC,IAAI,EAAE;AACxB;MAEa,kBAAkB,CAAA;AAO7B,IAAA,WAAA,CAA6B,MAAgC,EAAA;QAAhC,IAAA,CAAA,MAAM,GAAN,MAAM;QAN3B,IAAA,CAAA,mBAAmB,GAAyB,IAAI;QAChD,IAAA,CAAA,wBAAwB,GAAkB,IAAI;QAC9C,IAAA,CAAA,4BAA4B,GAAkB,IAAI;QAClD,IAAA,CAAA,gCAAgC,GAAkB,IAAI;QACtD,IAAA,CAAA,wBAAwB,GAAG,IAAI;IAEyB;AAEhE,IAAA,MAAM,sBAAsB,GAAA;QAC1B,MAAM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