@inkeep/cxkit-primitives 0.0.0-dev-20250221234142

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 (477) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -0
  3. package/dist/atoms/api/analytics/conversation.cjs +1 -0
  4. package/dist/atoms/api/analytics/conversation.d.cts +3 -0
  5. package/dist/atoms/api/analytics/conversation.d.ts +3 -0
  6. package/dist/atoms/api/analytics/conversation.js +37 -0
  7. package/dist/atoms/api/analytics/events.cjs +1 -0
  8. package/dist/atoms/api/analytics/events.d.cts +2 -0
  9. package/dist/atoms/api/analytics/events.d.ts +2 -0
  10. package/dist/atoms/api/analytics/events.js +30 -0
  11. package/dist/atoms/api/analytics/feedback.cjs +1 -0
  12. package/dist/atoms/api/analytics/feedback.d.cts +11 -0
  13. package/dist/atoms/api/analytics/feedback.d.ts +11 -0
  14. package/dist/atoms/api/analytics/feedback.js +26 -0
  15. package/dist/atoms/avatars/ai.cjs +1 -0
  16. package/dist/atoms/avatars/ai.d.cts +3 -0
  17. package/dist/atoms/avatars/ai.d.ts +3 -0
  18. package/dist/atoms/avatars/ai.js +88 -0
  19. package/dist/atoms/avatars/user.cjs +1 -0
  20. package/dist/atoms/avatars/user.d.cts +3 -0
  21. package/dist/atoms/avatars/user.d.ts +3 -0
  22. package/dist/atoms/avatars/user.js +27 -0
  23. package/dist/atoms/codeblock/index.cjs +1 -0
  24. package/dist/atoms/codeblock/index.d.cts +10 -0
  25. package/dist/atoms/codeblock/index.d.ts +10 -0
  26. package/dist/atoms/codeblock/index.js +40 -0
  27. package/dist/atoms/custom-styles.cjs +1 -0
  28. package/dist/atoms/custom-styles.d.cts +5 -0
  29. package/dist/atoms/custom-styles.d.ts +5 -0
  30. package/dist/atoms/custom-styles.js +57 -0
  31. package/dist/atoms/dialog.cjs +1 -0
  32. package/dist/atoms/dialog.d.cts +68 -0
  33. package/dist/atoms/dialog.d.ts +68 -0
  34. package/dist/atoms/dialog.js +185 -0
  35. package/dist/atoms/icons/built-in-icon-renderer.cjs +1 -0
  36. package/dist/atoms/icons/built-in-icon-renderer.d.cts +6 -0
  37. package/dist/atoms/icons/built-in-icon-renderer.d.ts +6 -0
  38. package/dist/atoms/icons/built-in-icon-renderer.js +49 -0
  39. package/dist/atoms/icons/built-in-icons.cjs +1 -0
  40. package/dist/atoms/icons/built-in-icons.d.cts +72 -0
  41. package/dist/atoms/icons/built-in-icons.d.ts +72 -0
  42. package/dist/atoms/icons/built-in-icons.js +79 -0
  43. package/dist/atoms/icons/checkbox-icon.cjs +1 -0
  44. package/dist/atoms/icons/checkbox-icon.d.cts +1 -0
  45. package/dist/atoms/icons/checkbox-icon.d.ts +1 -0
  46. package/dist/atoms/icons/checkbox-icon.js +24 -0
  47. package/dist/atoms/icons/custom-icon.cjs +1 -0
  48. package/dist/atoms/icons/custom-icon.d.cts +6 -0
  49. package/dist/atoms/icons/custom-icon.d.ts +6 -0
  50. package/dist/atoms/icons/custom-icon.js +19 -0
  51. package/dist/atoms/icons/index.cjs +1 -0
  52. package/dist/atoms/icons/index.d.cts +2 -0
  53. package/dist/atoms/icons/index.d.ts +2 -0
  54. package/dist/atoms/icons/index.js +6 -0
  55. package/dist/atoms/icons/inkeep-default-icons.cjs +1 -0
  56. package/dist/atoms/icons/inkeep-default-icons.d.cts +2 -0
  57. package/dist/atoms/icons/inkeep-default-icons.d.ts +2 -0
  58. package/dist/atoms/icons/inkeep-default-icons.js +23 -0
  59. package/dist/atoms/link.cjs +1 -0
  60. package/dist/atoms/link.d.cts +14 -0
  61. package/dist/atoms/link.d.ts +14 -0
  62. package/dist/atoms/link.js +35 -0
  63. package/dist/atoms/markdown/components.cjs +1 -0
  64. package/dist/atoms/markdown/components.d.cts +27 -0
  65. package/dist/atoms/markdown/components.d.ts +27 -0
  66. package/dist/atoms/markdown/components.js +64 -0
  67. package/dist/atoms/markdown/index.cjs +1 -0
  68. package/dist/atoms/markdown/index.d.cts +15 -0
  69. package/dist/atoms/markdown/index.d.ts +15 -0
  70. package/dist/atoms/markdown/index.js +79 -0
  71. package/dist/atoms/markdown/rehype-inline-code-property.cjs +1 -0
  72. package/dist/atoms/markdown/rehype-inline-code-property.d.cts +1 -0
  73. package/dist/atoms/markdown/rehype-inline-code-property.d.ts +1 -0
  74. package/dist/atoms/markdown/rehype-inline-code-property.js +12 -0
  75. package/dist/atoms/portal-with-theme.cjs +1 -0
  76. package/dist/atoms/portal-with-theme.d.cts +2 -0
  77. package/dist/atoms/portal-with-theme.d.ts +2 -0
  78. package/dist/atoms/portal-with-theme.js +12 -0
  79. package/dist/atoms/portal.cjs +1 -0
  80. package/dist/atoms/portal.d.cts +8 -0
  81. package/dist/atoms/portal.d.ts +8 -0
  82. package/dist/atoms/portal.js +19 -0
  83. package/dist/atoms/shadow/context.cjs +2 -0
  84. package/dist/atoms/shadow/context.d.cts +14 -0
  85. package/dist/atoms/shadow/context.d.ts +14 -0
  86. package/dist/atoms/shadow/context.js +55 -0
  87. package/dist/atoms/shadow/create.cjs +1 -0
  88. package/dist/atoms/shadow/create.d.cts +8 -0
  89. package/dist/atoms/shadow/create.d.ts +8 -0
  90. package/dist/atoms/shadow/create.js +56 -0
  91. package/dist/atoms/shadow/index.d.cts +1 -0
  92. package/dist/atoms/shadow/index.d.ts +1 -0
  93. package/dist/atoms/shadow/root.cjs +1 -0
  94. package/dist/atoms/shadow/root.d.cts +5 -0
  95. package/dist/atoms/shadow/root.d.ts +5 -0
  96. package/dist/atoms/shadow/root.js +22 -0
  97. package/dist/atoms/shadow/use-ensured-forwarded-ref.cjs +1 -0
  98. package/dist/atoms/shadow/use-ensured-forwarded-ref.d.cts +2 -0
  99. package/dist/atoms/shadow/use-ensured-forwarded-ref.d.ts +2 -0
  100. package/dist/atoms/shadow/use-ensured-forwarded-ref.js +11 -0
  101. package/dist/atoms/shadow/utils.cjs +1 -0
  102. package/dist/atoms/shadow/utils.d.cts +9 -0
  103. package/dist/atoms/shadow/utils.d.ts +9 -0
  104. package/dist/atoms/shadow/utils.js +16 -0
  105. package/dist/components/chat-button.cjs +1 -0
  106. package/dist/components/chat-button.d.cts +11 -0
  107. package/dist/components/chat-button.d.ts +11 -0
  108. package/dist/components/chat-button.js +42 -0
  109. package/dist/components/embedded-chat/chat-provider.cjs +1 -0
  110. package/dist/components/embedded-chat/chat-provider.d.cts +19 -0
  111. package/dist/components/embedded-chat/chat-provider.d.ts +19 -0
  112. package/dist/components/embedded-chat/chat-provider.js +22 -0
  113. package/dist/components/embedded-chat/use-captcha.cjs +1 -0
  114. package/dist/components/embedded-chat/use-captcha.d.cts +13 -0
  115. package/dist/components/embedded-chat/use-captcha.d.ts +13 -0
  116. package/dist/components/embedded-chat/use-captcha.js +56 -0
  117. package/dist/components/embedded-chat/use-chat-action.cjs +1 -0
  118. package/dist/components/embedded-chat/use-chat-action.d.cts +9 -0
  119. package/dist/components/embedded-chat/use-chat-action.d.ts +9 -0
  120. package/dist/components/embedded-chat/use-chat-action.js +26 -0
  121. package/dist/components/embedded-chat/use-inkeep-chat.cjs +4 -0
  122. package/dist/components/embedded-chat/use-inkeep-chat.d.cts +25 -0
  123. package/dist/components/embedded-chat/use-inkeep-chat.d.ts +25 -0
  124. package/dist/components/embedded-chat/use-inkeep-chat.js +227 -0
  125. package/dist/components/embedded-chat.cjs +17 -0
  126. package/dist/components/embedded-chat.d.cts +415 -0
  127. package/dist/components/embedded-chat.d.ts +415 -0
  128. package/dist/components/embedded-chat.js +1840 -0
  129. package/dist/components/embedded-search/search-provider.cjs +1 -0
  130. package/dist/components/embedded-search/search-provider.d.cts +21 -0
  131. package/dist/components/embedded-search/search-provider.d.ts +21 -0
  132. package/dist/components/embedded-search/search-provider.js +19 -0
  133. package/dist/components/embedded-search/search-query.graphql.cjs +82 -0
  134. package/dist/components/embedded-search/search-query.graphql.js +86 -0
  135. package/dist/components/embedded-search/transform-results.cjs +1 -0
  136. package/dist/components/embedded-search/transform-results.d.cts +3 -0
  137. package/dist/components/embedded-search/transform-results.d.ts +3 -0
  138. package/dist/components/embedded-search/transform-results.js +113 -0
  139. package/dist/components/embedded-search/use-inkeep-search.cjs +1 -0
  140. package/dist/components/embedded-search/use-inkeep-search.d.cts +21 -0
  141. package/dist/components/embedded-search/use-inkeep-search.d.ts +21 -0
  142. package/dist/components/embedded-search/use-inkeep-search.js +137 -0
  143. package/dist/components/embedded-search.cjs +1 -0
  144. package/dist/components/embedded-search.d.cts +229 -0
  145. package/dist/components/embedded-search.d.ts +229 -0
  146. package/dist/components/embedded-search.js +390 -0
  147. package/dist/components/factory.cjs +1 -0
  148. package/dist/components/factory.d.cts +19 -0
  149. package/dist/components/factory.d.ts +19 -0
  150. package/dist/components/factory.js +39 -0
  151. package/dist/components/index.cjs +1 -0
  152. package/dist/components/index.d.cts +11 -0
  153. package/dist/components/index.d.ts +11 -0
  154. package/dist/components/index.js +31 -0
  155. package/dist/components/intelligent-form/actions/context-model-response.cjs +9 -0
  156. package/dist/components/intelligent-form/actions/context-model-response.d.cts +10 -0
  157. package/dist/components/intelligent-form/actions/context-model-response.d.ts +10 -0
  158. package/dist/components/intelligent-form/actions/context-model-response.js +36 -0
  159. package/dist/components/intelligent-form/actions/escalation-schema.cjs +1 -0
  160. package/dist/components/intelligent-form/actions/escalation-schema.d.cts +2 -0
  161. package/dist/components/intelligent-form/actions/escalation-schema.d.ts +2 -0
  162. package/dist/components/intelligent-form/actions/escalation-schema.js +48 -0
  163. package/dist/components/intelligent-form/actions/qa-model-messages.cjs +27 -0
  164. package/dist/components/intelligent-form/actions/qa-model-messages.d.cts +2 -0
  165. package/dist/components/intelligent-form/actions/qa-model-messages.d.ts +2 -0
  166. package/dist/components/intelligent-form/actions/qa-model-messages.js +45 -0
  167. package/dist/components/intelligent-form/actions/qa-model-response.cjs +1 -0
  168. package/dist/components/intelligent-form/actions/qa-model-response.d.cts +14 -0
  169. package/dist/components/intelligent-form/actions/qa-model-response.d.ts +14 -0
  170. package/dist/components/intelligent-form/actions/qa-model-response.js +46 -0
  171. package/dist/components/intelligent-form/intelligent-form-provider.cjs +1 -0
  172. package/dist/components/intelligent-form/intelligent-form-provider.d.cts +29 -0
  173. package/dist/components/intelligent-form/intelligent-form-provider.d.ts +29 -0
  174. package/dist/components/intelligent-form/intelligent-form-provider.js +23 -0
  175. package/dist/components/intelligent-form/use-inkeep-intelligent-form.cjs +1 -0
  176. package/dist/components/intelligent-form/use-inkeep-intelligent-form.d.cts +30 -0
  177. package/dist/components/intelligent-form/use-inkeep-intelligent-form.d.ts +30 -0
  178. package/dist/components/intelligent-form/use-inkeep-intelligent-form.js +157 -0
  179. package/dist/components/intelligent-form.cjs +1 -0
  180. package/dist/components/intelligent-form.d.cts +135 -0
  181. package/dist/components/intelligent-form.d.ts +135 -0
  182. package/dist/components/intelligent-form.js +568 -0
  183. package/dist/components/modal/modal-provider.cjs +1 -0
  184. package/dist/components/modal/modal-provider.d.cts +13 -0
  185. package/dist/components/modal/modal-provider.d.ts +13 -0
  186. package/dist/components/modal/modal-provider.js +8 -0
  187. package/dist/components/modal/use-inkeep-modal.cjs +1 -0
  188. package/dist/components/modal/use-inkeep-modal.d.cts +8 -0
  189. package/dist/components/modal/use-inkeep-modal.d.ts +8 -0
  190. package/dist/components/modal/use-inkeep-modal.js +30 -0
  191. package/dist/components/modal.cjs +1 -0
  192. package/dist/components/modal.d.cts +18 -0
  193. package/dist/components/modal.d.ts +18 -0
  194. package/dist/components/modal.js +40 -0
  195. package/dist/components/searchbar.cjs +1 -0
  196. package/dist/components/searchbar.d.cts +23 -0
  197. package/dist/components/searchbar.d.ts +23 -0
  198. package/dist/components/searchbar.js +54 -0
  199. package/dist/components/tagline-logo-icon.cjs +1 -0
  200. package/dist/components/tagline-logo-icon.d.cts +1 -0
  201. package/dist/components/tagline-logo-icon.d.ts +1 -0
  202. package/dist/components/tagline-logo-icon.js +34 -0
  203. package/dist/hooks/index.cjs +1 -0
  204. package/dist/hooks/index.d.cts +12 -0
  205. package/dist/hooks/index.d.ts +12 -0
  206. package/dist/hooks/index.js +27 -0
  207. package/dist/hooks/use-boolean.cjs +1 -0
  208. package/dist/hooks/use-boolean.d.cts +10 -0
  209. package/dist/hooks/use-boolean.d.ts +10 -0
  210. package/dist/hooks/use-boolean.js +17 -0
  211. package/dist/hooks/use-browser-storage.cjs +1 -0
  212. package/dist/hooks/use-browser-storage.d.cts +17 -0
  213. package/dist/hooks/use-browser-storage.d.ts +17 -0
  214. package/dist/hooks/use-browser-storage.js +88 -0
  215. package/dist/hooks/use-component-classnames.cjs +1 -0
  216. package/dist/hooks/use-component-classnames.d.cts +6 -0
  217. package/dist/hooks/use-component-classnames.d.ts +6 -0
  218. package/dist/hooks/use-component-classnames.js +14 -0
  219. package/dist/hooks/use-container-size.cjs +1 -0
  220. package/dist/hooks/use-container-size.d.cts +5 -0
  221. package/dist/hooks/use-container-size.d.ts +5 -0
  222. package/dist/hooks/use-container-size.js +18 -0
  223. package/dist/hooks/use-copy-to-clipboard.cjs +1 -0
  224. package/dist/hooks/use-copy-to-clipboard.d.cts +3 -0
  225. package/dist/hooks/use-copy-to-clipboard.d.ts +3 -0
  226. package/dist/hooks/use-copy-to-clipboard.js +19 -0
  227. package/dist/hooks/use-instant-update.cjs +1 -0
  228. package/dist/hooks/use-instant-update.d.cts +17 -0
  229. package/dist/hooks/use-instant-update.d.ts +17 -0
  230. package/dist/hooks/use-instant-update.js +16 -0
  231. package/dist/hooks/use-is-mounted.cjs +1 -0
  232. package/dist/hooks/use-is-mounted.d.cts +1 -0
  233. package/dist/hooks/use-is-mounted.d.ts +1 -0
  234. package/dist/hooks/use-is-mounted.js +11 -0
  235. package/dist/hooks/use-media-query.cjs +1 -0
  236. package/dist/hooks/use-media-query.d.cts +1 -0
  237. package/dist/hooks/use-media-query.d.ts +1 -0
  238. package/dist/hooks/use-media-query.js +14 -0
  239. package/dist/hooks/use-resize-observer.cjs +1 -0
  240. package/dist/hooks/use-resize-observer.d.cts +12 -0
  241. package/dist/hooks/use-resize-observer.d.ts +12 -0
  242. package/dist/hooks/use-resize-observer.js +32 -0
  243. package/dist/hooks/use-scroll-to-bottom.cjs +1 -0
  244. package/dist/hooks/use-scroll-to-bottom.d.cts +13 -0
  245. package/dist/hooks/use-scroll-to-bottom.d.ts +13 -0
  246. package/dist/hooks/use-scroll-to-bottom.js +52 -0
  247. package/dist/hooks/use-scrolling-fades.cjs +1 -0
  248. package/dist/hooks/use-scrolling-fades.d.cts +2 -0
  249. package/dist/hooks/use-scrolling-fades.d.ts +2 -0
  250. package/dist/hooks/use-scrolling-fades.js +18 -0
  251. package/dist/hooks/use-settle-action.cjs +1 -0
  252. package/dist/hooks/use-settle-action.d.cts +3 -0
  253. package/dist/hooks/use-settle-action.d.ts +3 -0
  254. package/dist/hooks/use-settle-action.js +11 -0
  255. package/dist/index.cjs +1 -0
  256. package/dist/index.d.cts +11 -0
  257. package/dist/index.d.ts +11 -0
  258. package/dist/index.js +152 -0
  259. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/fa6/index.cjs +1 -0
  260. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/fa6/index.js +92 -0
  261. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/fi/index.cjs +1 -0
  262. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/fi/index.js +8 -0
  263. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/hi2/index.cjs +1 -0
  264. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/hi2/index.js +8 -0
  265. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/io5/index.cjs +1 -0
  266. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/io5/index.js +128 -0
  267. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/lib/iconBase.cjs +1 -0
  268. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/lib/iconBase.js +109 -0
  269. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/lib/iconContext.cjs +1 -0
  270. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/lib/iconContext.js +13 -0
  271. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/lu/index.cjs +1 -0
  272. package/dist/node_modules/.pnpm/react-icons@5.4.0_react@19.0.0/node_modules/react-icons/lu/index.js +68 -0
  273. package/dist/providers/attachment-item-provider.cjs +1 -0
  274. package/dist/providers/attachment-item-provider.d.cts +9 -0
  275. package/dist/providers/attachment-item-provider.d.ts +9 -0
  276. package/dist/providers/attachment-item-provider.js +13 -0
  277. package/dist/providers/attachments-bar-provider.cjs +1 -0
  278. package/dist/providers/attachments-bar-provider.d.cts +30 -0
  279. package/dist/providers/attachments-bar-provider.d.ts +30 -0
  280. package/dist/providers/attachments-bar-provider.js +64 -0
  281. package/dist/providers/base-events-provider.cjs +1 -0
  282. package/dist/providers/base-events-provider.d.cts +8 -0
  283. package/dist/providers/base-events-provider.d.ts +8 -0
  284. package/dist/providers/base-events-provider.js +39 -0
  285. package/dist/providers/chat-events-provider.cjs +1 -0
  286. package/dist/providers/chat-events-provider.d.cts +12 -0
  287. package/dist/providers/chat-events-provider.d.ts +12 -0
  288. package/dist/providers/chat-events-provider.js +66 -0
  289. package/dist/providers/chat-form-provider.cjs +1 -0
  290. package/dist/providers/chat-form-provider.d.cts +23 -0
  291. package/dist/providers/chat-form-provider.d.ts +23 -0
  292. package/dist/providers/chat-form-provider.js +66 -0
  293. package/dist/providers/config-provider.cjs +1 -0
  294. package/dist/providers/config-provider.d.cts +24 -0
  295. package/dist/providers/config-provider.d.ts +24 -0
  296. package/dist/providers/config-provider.js +37 -0
  297. package/dist/providers/conversation-provider.cjs +1 -0
  298. package/dist/providers/conversation-provider.d.cts +12 -0
  299. package/dist/providers/conversation-provider.d.ts +12 -0
  300. package/dist/providers/conversation-provider.js +49 -0
  301. package/dist/providers/feedback-item-provider.cjs +1 -0
  302. package/dist/providers/feedback-item-provider.d.cts +10 -0
  303. package/dist/providers/feedback-item-provider.d.ts +10 -0
  304. package/dist/providers/feedback-item-provider.js +16 -0
  305. package/dist/providers/feedback-provider.cjs +1 -0
  306. package/dist/providers/feedback-provider.d.cts +19 -0
  307. package/dist/providers/feedback-provider.d.ts +19 -0
  308. package/dist/providers/feedback-provider.js +82 -0
  309. package/dist/providers/form-field-provider.cjs +1 -0
  310. package/dist/providers/form-field-provider.d.cts +15 -0
  311. package/dist/providers/form-field-provider.d.ts +15 -0
  312. package/dist/providers/form-field-provider.js +17 -0
  313. package/dist/providers/help-menu-provider.cjs +1 -0
  314. package/dist/providers/help-menu-provider.d.cts +11 -0
  315. package/dist/providers/help-menu-provider.d.ts +11 -0
  316. package/dist/providers/help-menu-provider.js +19 -0
  317. package/dist/providers/index.cjs +1 -0
  318. package/dist/providers/index.d.cts +19 -0
  319. package/dist/providers/index.d.ts +19 -0
  320. package/dist/providers/index.js +63 -0
  321. package/dist/providers/intelligent-form-field-provider.cjs +1 -0
  322. package/dist/providers/intelligent-form-field-provider.d.cts +15 -0
  323. package/dist/providers/intelligent-form-field-provider.d.ts +15 -0
  324. package/dist/providers/intelligent-form-field-provider.js +19 -0
  325. package/dist/providers/markdown-provider.cjs +1 -0
  326. package/dist/providers/markdown-provider.d.cts +9 -0
  327. package/dist/providers/markdown-provider.d.ts +9 -0
  328. package/dist/providers/markdown-provider.js +8 -0
  329. package/dist/providers/message-attachments-provider.cjs +1 -0
  330. package/dist/providers/message-attachments-provider.d.cts +13 -0
  331. package/dist/providers/message-attachments-provider.d.ts +13 -0
  332. package/dist/providers/message-attachments-provider.js +27 -0
  333. package/dist/providers/message-provider.cjs +1 -0
  334. package/dist/providers/message-provider.d.cts +10 -0
  335. package/dist/providers/message-provider.d.ts +10 -0
  336. package/dist/providers/message-provider.js +14 -0
  337. package/dist/providers/root-provider.cjs +1 -0
  338. package/dist/providers/root-provider.d.cts +8 -0
  339. package/dist/providers/root-provider.d.ts +8 -0
  340. package/dist/providers/root-provider.js +21 -0
  341. package/dist/providers/search-events-provider.cjs +1 -0
  342. package/dist/providers/search-events-provider.d.cts +11 -0
  343. package/dist/providers/search-events-provider.d.ts +11 -0
  344. package/dist/providers/search-events-provider.js +18 -0
  345. package/dist/providers/source-item-provider.cjs +1 -0
  346. package/dist/providers/source-item-provider.d.cts +12 -0
  347. package/dist/providers/source-item-provider.d.ts +12 -0
  348. package/dist/providers/source-item-provider.js +13 -0
  349. package/dist/providers/theme-provider.cjs +1 -0
  350. package/dist/providers/theme-provider.d.cts +3 -0
  351. package/dist/providers/theme-provider.d.ts +3 -0
  352. package/dist/providers/theme-provider.js +65 -0
  353. package/dist/providers/user-provider.cjs +1 -0
  354. package/dist/providers/user-provider.d.cts +13 -0
  355. package/dist/providers/user-provider.d.ts +13 -0
  356. package/dist/providers/user-provider.js +34 -0
  357. package/dist/providers/widget-provider.cjs +1 -0
  358. package/dist/providers/widget-provider.d.cts +9 -0
  359. package/dist/providers/widget-provider.d.ts +9 -0
  360. package/dist/providers/widget-provider.js +8 -0
  361. package/dist/utils/component-ids.cjs +1 -0
  362. package/dist/utils/component-ids.d.cts +632 -0
  363. package/dist/utils/component-ids.d.ts +632 -0
  364. package/dist/utils/component-ids.js +340 -0
  365. package/dist/utils/compose-event-handlers.cjs +1 -0
  366. package/dist/utils/compose-event-handlers.d.cts +3 -0
  367. package/dist/utils/compose-event-handlers.d.ts +3 -0
  368. package/dist/utils/compose-event-handlers.js +10 -0
  369. package/dist/utils/compose-refs.cjs +1 -0
  370. package/dist/utils/compose-refs.d.cts +5 -0
  371. package/dist/utils/compose-refs.d.ts +5 -0
  372. package/dist/utils/compose-refs.js +30 -0
  373. package/dist/utils/default-settings.cjs +1 -0
  374. package/dist/utils/default-settings.d.cts +244 -0
  375. package/dist/utils/default-settings.d.ts +244 -0
  376. package/dist/utils/default-settings.js +75 -0
  377. package/dist/utils/form.cjs +1 -0
  378. package/dist/utils/form.d.cts +3 -0
  379. package/dist/utils/form.d.ts +3 -0
  380. package/dist/utils/form.js +17 -0
  381. package/dist/utils/generate-uid.cjs +1 -0
  382. package/dist/utils/generate-uid.d.cts +2 -0
  383. package/dist/utils/generate-uid.d.ts +2 -0
  384. package/dist/utils/generate-uid.js +14 -0
  385. package/dist/utils/get-message-metadata.cjs +10 -0
  386. package/dist/utils/get-message-metadata.d.cts +8 -0
  387. package/dist/utils/get-message-metadata.d.ts +8 -0
  388. package/dist/utils/get-message-metadata.js +142 -0
  389. package/dist/utils/graphql-client.cjs +1 -0
  390. package/dist/utils/graphql-client.d.cts +8 -0
  391. package/dist/utils/graphql-client.d.ts +8 -0
  392. package/dist/utils/graphql-client.js +23 -0
  393. package/dist/utils/highlight-emphasis.cjs +1 -0
  394. package/dist/utils/highlight-emphasis.d.cts +4 -0
  395. package/dist/utils/highlight-emphasis.d.ts +4 -0
  396. package/dist/utils/highlight-emphasis.js +15 -0
  397. package/dist/utils/merge-props.cjs +1 -0
  398. package/dist/utils/merge-props.d.cts +7 -0
  399. package/dist/utils/merge-props.d.ts +7 -0
  400. package/dist/utils/merge-props.js +41 -0
  401. package/dist/utils/misc.cjs +1 -0
  402. package/dist/utils/misc.d.cts +13 -0
  403. package/dist/utils/misc.d.ts +13 -0
  404. package/dist/utils/misc.js +36 -0
  405. package/dist/utils/reset-query-params.cjs +1 -0
  406. package/dist/utils/reset-query-params.d.cts +1 -0
  407. package/dist/utils/reset-query-params.d.ts +1 -0
  408. package/dist/utils/reset-query-params.js +13 -0
  409. package/dist/utils/tools/links-schema.cjs +1 -0
  410. package/dist/utils/tools/links-schema.d.cts +64 -0
  411. package/dist/utils/tools/links-schema.d.ts +64 -0
  412. package/dist/utils/tools/links-schema.js +85 -0
  413. package/dist/utils/transform-source/breadcrumbs.cjs +1 -0
  414. package/dist/utils/transform-source/breadcrumbs.d.cts +2 -0
  415. package/dist/utils/transform-source/breadcrumbs.d.ts +2 -0
  416. package/dist/utils/transform-source/breadcrumbs.js +16 -0
  417. package/dist/utils/transform-source/common-words/long.cjs +1 -0
  418. package/dist/utils/transform-source/common-words/long.d.cts +1 -0
  419. package/dist/utils/transform-source/common-words/long.d.ts +1 -0
  420. package/dist/utils/transform-source/common-words/long.js +69 -0
  421. package/dist/utils/transform-source/common-words/lowercase.cjs +1 -0
  422. package/dist/utils/transform-source/common-words/lowercase.d.cts +1 -0
  423. package/dist/utils/transform-source/common-words/lowercase.d.ts +1 -0
  424. package/dist/utils/transform-source/common-words/lowercase.js +48 -0
  425. package/dist/utils/transform-source/common-words/short.cjs +1 -0
  426. package/dist/utils/transform-source/common-words/short.d.cts +1 -0
  427. package/dist/utils/transform-source/common-words/short.d.ts +1 -0
  428. package/dist/utils/transform-source/common-words/short.js +141 -0
  429. package/dist/utils/transform-source/description.cjs +1 -0
  430. package/dist/utils/transform-source/description.d.cts +2 -0
  431. package/dist/utils/transform-source/description.d.ts +2 -0
  432. package/dist/utils/transform-source/description.js +10 -0
  433. package/dist/utils/transform-source/icon.cjs +1 -0
  434. package/dist/utils/transform-source/icon.d.cts +2 -0
  435. package/dist/utils/transform-source/icon.d.ts +2 -0
  436. package/dist/utils/transform-source/icon.js +9 -0
  437. package/dist/utils/transform-source/index.cjs +1 -0
  438. package/dist/utils/transform-source/index.d.cts +2 -0
  439. package/dist/utils/transform-source/index.d.ts +2 -0
  440. package/dist/utils/transform-source/index.js +21 -0
  441. package/dist/utils/transform-source/tabs.cjs +1 -0
  442. package/dist/utils/transform-source/tabs.d.cts +2 -0
  443. package/dist/utils/transform-source/tabs.d.ts +2 -0
  444. package/dist/utils/transform-source/tabs.js +13 -0
  445. package/dist/utils/transform-source/title.cjs +1 -0
  446. package/dist/utils/transform-source/title.d.cts +2 -0
  447. package/dist/utils/transform-source/title.d.ts +2 -0
  448. package/dist/utils/transform-source/title.js +12 -0
  449. package/dist/utils/transform-source/utils/description-without-title.cjs +1 -0
  450. package/dist/utils/transform-source/utils/description-without-title.d.cts +11 -0
  451. package/dist/utils/transform-source/utils/description-without-title.d.ts +11 -0
  452. package/dist/utils/transform-source/utils/description-without-title.js +12 -0
  453. package/dist/utils/transform-source/utils/index.cjs +1 -0
  454. package/dist/utils/transform-source/utils/index.d.cts +6 -0
  455. package/dist/utils/transform-source/utils/index.d.ts +6 -0
  456. package/dist/utils/transform-source/utils/index.js +16 -0
  457. package/dist/utils/transform-source/utils/misc.cjs +1 -0
  458. package/dist/utils/transform-source/utils/misc.d.cts +2 -0
  459. package/dist/utils/transform-source/utils/misc.d.ts +2 -0
  460. package/dist/utils/transform-source/utils/misc.js +15 -0
  461. package/dist/utils/transform-source/utils/standardize-common-words.cjs +1 -0
  462. package/dist/utils/transform-source/utils/standardize-common-words.d.cts +1 -0
  463. package/dist/utils/transform-source/utils/standardize-common-words.d.ts +1 -0
  464. package/dist/utils/transform-source/utils/standardize-common-words.js +26 -0
  465. package/dist/utils/transform-source/utils/standardize-organization-display-name.cjs +1 -0
  466. package/dist/utils/transform-source/utils/standardize-organization-display-name.d.cts +8 -0
  467. package/dist/utils/transform-source/utils/standardize-organization-display-name.d.ts +8 -0
  468. package/dist/utils/transform-source/utils/standardize-organization-display-name.js +10 -0
  469. package/dist/utils/transform-source/utils/standardize-suffixes.cjs +1 -0
  470. package/dist/utils/transform-source/utils/standardize-suffixes.d.cts +5 -0
  471. package/dist/utils/transform-source/utils/standardize-suffixes.d.ts +5 -0
  472. package/dist/utils/transform-source/utils/standardize-suffixes.js +16 -0
  473. package/dist/utils/transform-source/utils/strip-branding-keywords.cjs +1 -0
  474. package/dist/utils/transform-source/utils/strip-branding-keywords.d.cts +17 -0
  475. package/dist/utils/transform-source/utils/strip-branding-keywords.d.ts +17 -0
  476. package/dist/utils/transform-source/utils/strip-branding-keywords.js +14 -0
  477. package/package.json +111 -0
@@ -0,0 +1,340 @@
1
+ "use client";
2
+ const a = {
3
+ icon: "icon",
4
+ // Only in styled
5
+ loadingIndicator__Text: "loadingIndicator__Text",
6
+ loadingIndicator__Dots: "loadingIndicator__Dots",
7
+ loadingIndicator__Dot: "loadingIndicator__Dot",
8
+ view_toggle: "view_toggle",
9
+ view_toggle_button: "view_toggle_button",
10
+ view_toggle_icon: "view_toggle_icon"
11
+ }, e = {
12
+ codeblockContainer: "codeblockContainer",
13
+ codeblockHeader: "codeblockHeader",
14
+ codeblockHeaderLanguage: "codeblockHeaderLanguage",
15
+ codeblockCopyButton: "codeblockCopyButton",
16
+ codeblockHighlighterWrapper: "codeblockHighlighterWrapper",
17
+ codeblockHighlighter: "codeblockHighlighter",
18
+ codeblockCode: "codeblockCode",
19
+ markdownH1: "markdownH1",
20
+ markdownH2: "markdownH2",
21
+ markdownP: "markdownP",
22
+ markdownLi: "markdownLi",
23
+ markdownUl: "markdownUl",
24
+ markdownOl: "markdownOl",
25
+ markdownLink: "markdownLink",
26
+ markdownSourceLink: "markdownSourceLink",
27
+ markdownTable: "markdownTable",
28
+ markdownTh: "markdownTh",
29
+ markdownTd: "markdownTd",
30
+ markdownCode: "markdownCode"
31
+ }, t = {
32
+ aiChatWrapper: "aiChatWrapper",
33
+ aiChatConversationLoading: "aiChatConversationLoading",
34
+ aiChatRoot: "aiChatRoot",
35
+ aiChatHeader: "aiChatHeader",
36
+ aiChatHeader__Toolbar: "aiChatHeader__Toolbar",
37
+ aiChatHeader__ToolbarHeader: "aiChatHeader__ToolbarHeader",
38
+ aiChatHeader__ToolbarHeaderWrapper: "aiChatHeader__ToolbarHeaderWrapper",
39
+ aiChatContent: "aiChatContent",
40
+ aiChatContentScrollArea: "aiChatContentScrollArea",
41
+ aiChatContentScrollArea__Viewport: "aiChatContentScrollArea__Viewport",
42
+ aiChatContentScrollArea__Scrollbar: "aiChatContentScrollArea__Scrollbar",
43
+ aiChatContentScrollArea__Thumb: "aiChatContentScrollArea__Thumb",
44
+ aiChatContentScrollArea__Corner: "aiChatContentScrollArea__Corner",
45
+ aiChatDisclaimer: "aiChatDisclaimer",
46
+ aiChatDisclaimerLabel: "aiChatDisclaimerLabel",
47
+ aiChatDisclaimerTrigger: "aiChatDisclaimerTrigger",
48
+ aiChatDisclaimerContent: "aiChatDisclaimerContent",
49
+ aiChatDisclaimerText: "aiChatDisclaimerText",
50
+ aiChatDisclaimerArrow: "aiChatDisclaimerArrow",
51
+ aiChatQuickQuestions: "aiChatQuickQuestions",
52
+ aiChatQuickQuestionsLabel: "aiChatQuickQuestionsLabel",
53
+ aiChatQuickQuestionsList: "aiChatQuickQuestionsList",
54
+ aiChatQuickQuestion: "aiChatQuickQuestion",
55
+ aiChatQuickQuestionButton: "aiChatQuickQuestionButton",
56
+ aiChatWorkflows: "aiChatWorkflows",
57
+ aiChatWorkflowsLabel: "aiChatWorkflowsLabel",
58
+ aiChatWorkflowsList: "aiChatWorkflowsList",
59
+ aiChatWorkflow: "aiChatWorkflow",
60
+ aiChatWorkflow__Icon: "aiChatWorkflow__Icon",
61
+ aiChatMessages: "aiChatMessages",
62
+ aiChatMessageWrapper: "aiChatMessageWrapper",
63
+ aiChatMessageHeader: "aiChatMessageHeader",
64
+ aiChatMessageLoading: "aiChatMessageLoading",
65
+ aiChatMessageAvatar: "aiChatMessageAvatar",
66
+ aiChatMessageAvatarFallback: "aiChatMessageAvatarFallback",
67
+ aiChatMessageAvatarImage: "aiChatMessageAvatarImage",
68
+ aiChatMessageAvatarContent: "aiChatMessageAvatarContent",
69
+ aiChatMessageName: "aiChatMessageName",
70
+ aiChatMessageContentWrapper: "aiChatMessageContentWrapper",
71
+ aiChatMessageContent: "aiChatMessageContent",
72
+ aiChatMessageAttachments: "aiChatMessageAttachments",
73
+ aiChatMessageAttachments__List: "aiChatMessageAttachments__List",
74
+ aiChatMessageAttachments__Item: "aiChatMessageAttachments__Item",
75
+ aiChatMessageAttachments__ItemIcon: "aiChatMessageAttachments__ItemIcon",
76
+ aiChatMessageAttachments__ItemTitle: "aiChatMessageAttachments__ItemTitle",
77
+ aiChatMessageAttachmentsPreview: "aiChatMessageAttachmentsPreview",
78
+ aiChatMessageAttachmentsPreview__Overlay: "aiChatMessageAttachmentsPreview__Overlay",
79
+ aiChatMessageAttachmentsPreview__Content: "aiChatMessageAttachmentsPreview__Content",
80
+ aiChatMessageAttachmentsPreview__Header: "aiChatMessageAttachmentsPreview__Header",
81
+ aiChatMessageAttachmentsPreview__Close: "aiChatMessageAttachmentsPreview__Close",
82
+ aiChatMessageAttachmentsPreview__Body: "aiChatMessageAttachmentsPreview__Body",
83
+ aiChatMessage: "aiChatMessage",
84
+ aiChatMessageActions: "aiChatMessageActions",
85
+ aiChatMessageToolActions: "aiChatMessageToolActions",
86
+ aiChatMessageToolAction: "aiChatMessageToolAction",
87
+ aiChatMessageAction: "aiChatMessageAction",
88
+ aiChatMessageSources: "aiChatMessageSources",
89
+ aiChatMessageSources__Header: "aiChatMessageSources__Header",
90
+ aiChatMessageSources__List: "aiChatMessageSources__List",
91
+ aiChatMessageSourceItem: "aiChatMessageSourceItem",
92
+ aiChatMessageSourceItem__Icon: "aiChatMessageSourceItem__Icon",
93
+ aiChatMessageSourceItem__Breadcrumbs: "aiChatMessageSourceItem__Breadcrumbs",
94
+ aiChatMessageSourceItem__Breadcrumb: "aiChatMessageSourceItem__Breadcrumb",
95
+ aiChatMessageSourceItem__BreadcrumbIcon: "aiChatMessageSourceItem__BreadcrumbIcon",
96
+ aiChatMessageSourceItem__Title: "aiChatMessageSourceItem__Title",
97
+ aiChatMessageSourceItem__Tag: "aiChatMessageSourceItem__Tag",
98
+ aiChatMessageSourceItem__Description: "aiChatMessageSourceItem__Description",
99
+ aiChatMessageSourceItem__DescriptionPart: "aiChatMessageSourceItem__DescriptionPart",
100
+ aiChatMessageSourceItem__Indicator: "aiChatMessageSourceItem__Indicator",
101
+ aiChatFooter: "aiChatFooter",
102
+ aiChatInput__Fieldset: "aiChatInput__Fieldset",
103
+ aiChatInput__Group: "aiChatInput__Group",
104
+ aiChatInput: "aiChatInput",
105
+ aiChatInput__SendButton: "aiChatInput__SendButton",
106
+ aiChatInput__SendButtonIcon: "aiChatInput__SendButtonIcon",
107
+ aiChatAttachmentsBar: "aiChatAttachmentsBar",
108
+ aiChatAttachmentsBar__List: "aiChatAttachmentsBar__List",
109
+ aiChatAttachmentsBar__Attachment: "aiChatAttachmentsBar__Attachment",
110
+ aiChatAttachmentsBar__AttachmentIcon: "aiChatAttachmentsBar__AttachmentIcon",
111
+ aiChatAttachmentsBar__AttachmentTitle: "aiChatAttachmentsBar__AttachmentTitle",
112
+ aiChatAttachmentsBar__AttachmentDelete: "aiChatAttachmentsBar__AttachmentDelete",
113
+ aiChatAttachmentsBar__Actions: "aiChatAttachmentsBar__Actions",
114
+ aiChatAttachmentsBar__InfoTip: "aiChatAttachmentsBar__InfoTip",
115
+ aiChatAttachmentsBar__InfoTipIcon: "aiChatAttachmentsBar__InfoTipIcon",
116
+ aiChatAttachmentsBar__InfoTipArrow: "aiChatAttachmentsBar__InfoTipArrow",
117
+ aiChatAttachmentsBar__InfoTipText: "aiChatAttachmentsBar__InfoTipText",
118
+ aiChatAttachmentsBar__Inputs: "aiChatAttachmentsBar__Inputs",
119
+ aiChatAttachmentsBar__Input: "aiChatAttachmentsBar__Input",
120
+ aiChatAttachmentsBar__InputIcon: "aiChatAttachmentsBar__InputIcon",
121
+ aiChatAttachmentsBar__Modal: "aiChatAttachmentsBar__Modal",
122
+ aiChatAttachmentsBar__ModalOverlay: "aiChatAttachmentsBar__ModalOverlay",
123
+ aiChatAttachmentsBar__ModalContent: "aiChatAttachmentsBar__ModalContent",
124
+ aiChatAttachmentsBar__ModalHeader: "aiChatAttachmentsBar__ModalHeader",
125
+ aiChatAttachmentsBar__ModalClose: "aiChatAttachmentsBar__ModalClose",
126
+ aiChatAttachmentsBar__ModalBody: "aiChatAttachmentsBar__ModalBody",
127
+ aiChatAttachmentsBar__ModalHeading: "aiChatAttachmentsBar__ModalHeading",
128
+ aiChatAttachmentsBar__ModalDescription: "aiChatAttachmentsBar__ModalDescription",
129
+ aiChatAttachmentsBar__ModalHelp: "aiChatAttachmentsBar__ModalHelp",
130
+ aiChatAttachmentsBar__Form: "aiChatAttachmentsBar__Form",
131
+ aiChatAttachmentsBar__FormTitle: "aiChatAttachmentsBar__FormTitle",
132
+ aiChatAttachmentsBar__FormTitleLabel: "aiChatAttachmentsBar__FormTitleLabel",
133
+ aiChatAttachmentsBar__FormTitleInput: "aiChatAttachmentsBar__FormTitleInput",
134
+ aiChatAttachmentsBar__FormTitleError: "aiChatAttachmentsBar__FormTitleError",
135
+ aiChatAttachmentsBar__FormContent: "aiChatAttachmentsBar__FormContent",
136
+ aiChatAttachmentsBar__FormContentLabel: "aiChatAttachmentsBar__FormContentLabel",
137
+ aiChatAttachmentsBar__FormContentInput: "aiChatAttachmentsBar__FormContentInput",
138
+ aiChatAttachmentsBar__FormContentError: "aiChatAttachmentsBar__FormContentError",
139
+ aiChatAttachmentsBar__FormSubmitButton: "aiChatAttachmentsBar__FormSubmitButton",
140
+ aiChatActionBar: "aiChatActionBar",
141
+ aiChat__ChatActions: "aiChat__ChatActions",
142
+ aiChat__ChatAction: "aiChat__ChatAction",
143
+ aiChat__ChatActionLabel: "aiChat__ChatActionLabel",
144
+ aiChat__ChatActionFeeback: "aiChat__ChatActionFeeback",
145
+ aiChatHelpActions: "aiChatHelpActions",
146
+ aiChatHelpAction: "aiChatHelpAction",
147
+ aiChatHelpActions__Trigger: "aiChatHelpActions__Trigger",
148
+ aiChatHelpActions__Menu: "aiChatHelpActions__Menu",
149
+ aiChatHelpActions__MenuArrow: "aiChatHelpActions__MenuArrow",
150
+ aiChatHelpActions__MenuItem: "aiChatHelpActions__MenuItem",
151
+ aiChatHelpActions_MenuItemIcon: "aiChatHelpActions_MenuItemIcon",
152
+ aiChatTagline__Container: "aiChatTagline__Container",
153
+ aiChatTagline__Text: "aiChatTagline__Text",
154
+ aiChatTagline__Logo: "aiChatTagline__Logo",
155
+ aiChatTagline__BrandName: "aiChatTagline__BrandName",
156
+ aiChatFeedbackModal: "aiChatFeedbackModal",
157
+ aiChatFeedbackModal__Overlay: "aiChatFeedbackModal__Overlay",
158
+ aiChatFeedbackModal__Content: "aiChatFeedbackModal__Content",
159
+ aiChatFeedbackModal__Header: "aiChatFeedbackModal__Header",
160
+ aiChatFeedbackModal__Close: "aiChatFeedbackModal__Close",
161
+ aiChatFeedbackModal__Body: "aiChatFeedbackModal__Body",
162
+ aiChatFeedbackForm: "aiChatFeedbackForm",
163
+ aiChatFeedbackItem: "aiChatFeedbackItem",
164
+ aiChatFeedbackItem__Checkbox: "aiChatFeedbackItem__Checkbox",
165
+ aiChatFeedbackItem__CheckboxIndicator: "aiChatFeedbackItem__CheckboxIndicator",
166
+ aiChatFeedbackItem__Label: "aiChatFeedbackItem__Label",
167
+ aiChatFeedbackItem__Description: "aiChatFeedbackItem__Description",
168
+ aiChatFeedbackForm__SubmitButton: "aiChatFeedbackForm__SubmitButton",
169
+ aiChatForm__Wrapper: "aiChatForm__Wrapper",
170
+ aiChatForm: "aiChatForm",
171
+ aiChatForm__Close: "aiChatForm__Close",
172
+ aiChatForm__Header: "aiChatForm__Header",
173
+ aiChatForm__Heading: "aiChatForm__Heading",
174
+ aiChatForm__Description: "aiChatForm__Description",
175
+ aiChatForm__Content: "aiChatForm__Content",
176
+ aiChatForm__Field: "aiChatForm__Field",
177
+ aiChatForm__FieldLabel: "aiChatForm__FieldLabel",
178
+ aiChatForm__FieldText: "aiChatForm__FieldText",
179
+ aiChatForm__FieldEmail: "aiChatForm__FieldEmail",
180
+ aiChatForm__FieldFile: "aiChatForm__FieldFile",
181
+ aiChatForm__FieldTextArea: "aiChatForm__FieldTextArea",
182
+ aiChatForm__FieldCheckbox: "aiChatForm__FieldCheckbox",
183
+ aiChatForm__FieldCheckboxIndicator: "aiChatForm__FieldCheckboxIndicator",
184
+ aiChatForm__FieldSelect: "aiChatForm__FieldSelect",
185
+ aiChatForm__FieldSelect__Trigger: "aiChatForm__FieldSelect__Trigger",
186
+ aiChatForm__FieldSelect__Value: "aiChatForm__FieldSelect__Value",
187
+ aiChatForm__FieldSelect__Icon: "aiChatForm__FieldSelect__Icon",
188
+ aiChatForm__FieldSelect__Content: "aiChatForm__FieldSelect__Content",
189
+ aiChatForm__FieldSelect__Viewport: "aiChatForm__FieldSelect__Viewport",
190
+ aiChatForm__FieldSelect__Item: "aiChatForm__FieldSelect__Item",
191
+ aiChatForm__FieldSelect__ItemIndicator: "aiChatForm__FieldSelect__ItemIndicator",
192
+ aiChatForm__FieldSelect__ItemText: "aiChatForm__FieldSelect__ItemText",
193
+ aiChatForm__FieldError: "aiChatForm__FieldError",
194
+ aiChatForm__Error: "aiChatForm__Error",
195
+ aiChatForm__Footer: "aiChatForm__Footer",
196
+ aiChatForm__Cancel: "aiChatForm__Cancel",
197
+ aiChatForm__Submit: "aiChatForm__Submit",
198
+ aiChatForm__Success: "aiChatForm__Success",
199
+ aiChatForm__SuccessHeading: "aiChatForm__SuccessHeading",
200
+ aiChatForm__SuccessMessage: "aiChatForm__SuccessMessage",
201
+ aiChatForm__SuccessButton: "aiChatForm__SuccessButton",
202
+ //
203
+ aiChatLink: "aiChatLink"
204
+ }, i = {
205
+ aiSearchWrapper: "aiSearchWrapper",
206
+ aiSearchRoot: "aiSearchRoot",
207
+ aiSearchContent: "aiSearchContent",
208
+ aiSearchInputGroup: "aiSearchInputGroup",
209
+ aiSearchInputIcon: "aiSearchInputIcon",
210
+ aiSearchInput: "aiSearchInput",
211
+ aiSearchLoading: "aiSearchLoading",
212
+ aiAskAITrigger: "aiAskAITrigger",
213
+ aiAskAITrigger__Icon: "aiAskAITrigger__Icon",
214
+ aiAskAITrigger__Label: "aiAskAITrigger__Label",
215
+ aiAskAITrigger__Indicator: "aiAskAITrigger__Indicator",
216
+ aiSearchResults: "aiSearchResults",
217
+ aiSearchResults__Loading: "aiSearchResults__Loading",
218
+ aiSearchResults__Empty: "aiSearchResults__Empty",
219
+ aiSearchResults__TabList: "aiSearchResults__TabList",
220
+ aiSearchResults__Tab: "aiSearchResults__Tab",
221
+ aiSearchResults__ScrollArea: "aiSearchResults__ScrollArea",
222
+ aiSearchResults__ScrollAreaViewport: "aiSearchResults__ScrollAreaViewport",
223
+ aiSearchResults__List: "aiSearchResults__List",
224
+ aiSearchResults__Item: "aiSearchResults__Item",
225
+ aiSearchResults__ItemIcon: "aiSearchResults__ItemIcon",
226
+ aiSearchResults__ItemBreadcrumbs: "aiSearchResults__ItemBreadcrumbs",
227
+ aiSearchResults__ItemBreadcrumb: "aiSearchResults__ItemBreadcrumb",
228
+ aiSearchResults__ItemBreadcrumbIcon: "aiSearchResults__ItemBreadcrumbIcon",
229
+ aiSearchResults__ItemTitle: "aiSearchResults__ItemTitle",
230
+ aiSearchResults__ItemTag: "aiSearchResults__ItemTag",
231
+ aiSearchResults__ItemDescription: "aiSearchResults__ItemDescription",
232
+ aiSearchResults__ItemDescriptionPart: "aiSearchResults__ItemDescriptionPart",
233
+ aiSearchResults__ItemIndicator: "aiSearchResults__ItemIndicator",
234
+ aiSearchResults__ScrollAreaScrollbar: "aiSearchResults__ScrollAreaScrollbar",
235
+ aiSearchResults__ScrollAreaThumb: "aiSearchResults__ScrollAreaThumb",
236
+ aiSearchResults__ScrollAreaCorner: "aiSearchResults__ScrollAreaCorner",
237
+ aiSearchFooter: "aiSearchFooter",
238
+ aiSearchTagline__Container: "aiSearchTagline__Container",
239
+ aiSearchTagline__Text: "aiSearchTagline__Text",
240
+ aiSearchTagline__Logo: "aiSearchTagline__Logo",
241
+ aiSearchTagline__BrandName: "aiSearchTagline__BrandName"
242
+ }, _ = {
243
+ modal: "modal",
244
+ modal__Overlay: "modal__Overlay",
245
+ modal__Content: "modal__Content",
246
+ modal__Close: "modal__Close"
247
+ }, r = {
248
+ chatButton__Text: "chatButton__Text",
249
+ chatButton__Button: "chatButton__Button",
250
+ chatButton__Container: "chatButton__Container",
251
+ chatButton__AvatarImage: "chatButton__AvatarImage",
252
+ chatButton__AvatarContent: "chatButton__AvatarContent"
253
+ }, o = {
254
+ intelligentForm__Root: "intelligentForm__Root",
255
+ intelligentForm__Heading: "intelligentForm__Heading",
256
+ intelligentForm__Content: "intelligentForm__Content",
257
+ intelligentForm__Content__ScrollArea: "intelligentForm__Content__ScrollArea",
258
+ intelligentForm__Content__ScrollAreaViewport: "intelligentForm__Content__ScrollAreaViewport",
259
+ intelligentForm__Content__ScrollAreaScrollbar: "intelligentForm__Content__ScrollAreaScrollbar",
260
+ intelligentForm__Content__ScrollAreaThumb: "intelligentForm__Content__ScrollAreaThumb",
261
+ intelligentForm__Content__ScrollAreaCorner: "intelligentForm__Content__ScrollAreaCorner",
262
+ intelligentForm__Success: "intelligentForm__Success",
263
+ intelligentForm__SuccessIcon: "intelligentForm__SuccessIcon",
264
+ intelligentForm__SuccessHeading: "intelligentForm__SuccessHeading",
265
+ intelligentForm__SuccessMessage: "intelligentForm__SuccessMessage",
266
+ intelligentForm__PrimaryForm: "intelligentForm__PrimaryForm",
267
+ intelligentForm__PrimaryForm__Description: "intelligentForm__PrimaryForm__Description",
268
+ intelligentForm__PrimaryFormFields: "intelligentForm__PrimaryFormFields",
269
+ intelligentForm__PrimaryFormSubmit: "intelligentForm__PrimaryFormSubmit",
270
+ intelligentForm__Field: "intelligentForm__Field",
271
+ intelligentForm__FieldLabel: "intelligentForm__FieldLabel",
272
+ intelligentForm__FieldText: "intelligentForm__FieldText",
273
+ intelligentForm__FieldEmail: "intelligentForm__FieldEmail",
274
+ intelligentForm__FieldFile: "intelligentForm__FieldFile",
275
+ intelligentForm__FieldTextArea: "intelligentForm__FieldTextArea",
276
+ intelligentForm__FieldCheckbox: "intelligentForm__FieldCheckbox",
277
+ intelligentForm__FieldCheckboxIndicator: "intelligentForm__FieldCheckboxIndicator",
278
+ intelligentForm__FieldSelect: "intelligentForm__FieldSelect",
279
+ intelligentForm__FieldSelect__Trigger: "intelligentForm__FieldSelect__Trigger",
280
+ intelligentForm__FieldSelect__Value: "intelligentForm__FieldSelect__Value",
281
+ intelligentForm__FieldSelect__Icon: "intelligentForm__FieldSelect__Icon",
282
+ intelligentForm__FieldSelect__Content: "intelligentForm__FieldSelect__Content",
283
+ intelligentForm__FieldSelect__Viewport: "intelligentForm__FieldSelect__Viewport",
284
+ intelligentForm__FieldSelect__Item: "intelligentForm__FieldSelect__Item",
285
+ intelligentForm__FieldSelect__ItemIndicator: "intelligentForm__FieldSelect__ItemIndicator",
286
+ intelligentForm__FieldSelect__ItemText: "intelligentForm__FieldSelect__ItemText",
287
+ intelligentForm__FieldError: "intelligentForm__FieldError",
288
+ intelligentForm__BotHeading: "intelligentForm__BotHeading",
289
+ intelligentForm__BotHeading__Icon: "intelligentForm__BotHeading__Icon",
290
+ intelligentForm__BotHeading__Name: "intelligentForm__BotHeading__Name",
291
+ intelligentForm__Loading: "intelligentForm__Loading",
292
+ intelligentForm__ConfidentResponse: "intelligentForm__ConfidentResponse",
293
+ intelligentForm__ConfidentAnswer: "intelligentForm__ConfidentAnswer",
294
+ intelligentForm__ConfidentResponseButton: "intelligentForm__ConfidentResponseButton",
295
+ intelligentForm__ConfidentResponseButton__Icon: "intelligentForm__ConfidentResponseButton__Icon",
296
+ intelligentForm__ConfidentResponseButton__Label: "intelligentForm__ConfidentResponseButton__Label",
297
+ intelligentForm__SecondaryForm: "intelligentForm__SecondaryForm",
298
+ intelligentForm__SecondaryForm__Description: "intelligentForm__SecondaryForm__Description",
299
+ intelligentForm__SecondaryFormFields: "intelligentForm__SecondaryFormFields",
300
+ intelligentForm__SecondaryFormSubmit: "intelligentForm__SecondaryFormSubmit",
301
+ intelligentForm__Error: "intelligentForm__Error",
302
+ intelligentForm__Sources: "intelligentForm__Sources",
303
+ intelligentForm__SourcesCaption: "intelligentForm__SourcesCaption",
304
+ intelligentForm__SourcesList: "intelligentForm__SourcesList",
305
+ intelligentForm__Source: "intelligentForm__Source",
306
+ intelligentForm__SourceIcon: "intelligentForm__SourceIcon",
307
+ intelligentForm__SourceTitle: "intelligentForm__SourceTitle"
308
+ }, n = {
309
+ searchBar__Container: "searchBar__Container",
310
+ searchBar__Button: "searchBar__Button",
311
+ searchBar__ContentWrapper: "searchBar__ContentWrapper",
312
+ searchBar__Text: "searchBar__Text",
313
+ searchBar__Icon: "searchBar__Icon",
314
+ searchBar__KbdWrapper: "searchBar__KbdWrapper",
315
+ searchBar__CmdIcon: "searchBar__CmdIcon",
316
+ searchBar__Ctrl: "searchBar__Ctrl",
317
+ searchBar__KbdShortcutKey: "searchBar__KbdShortcutKey"
318
+ }, l = {
319
+ //
320
+ //
321
+ ...e,
322
+ ...t,
323
+ ...i,
324
+ ..._,
325
+ ...r,
326
+ ...n,
327
+ ...o,
328
+ ...a
329
+ };
330
+ export {
331
+ n as SearchBarComponentIds,
332
+ t as aiChatComponentIds,
333
+ i as aiSearchComponentIds,
334
+ r as chatButtonComponentIds,
335
+ l as componentIDs,
336
+ o as intelligentFormComponentIds,
337
+ e as markDownComponentIds,
338
+ a as miscellanousComponentIds,
339
+ _ as modalComponentIds
340
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function o(t,n,{checkForDefaultPrevented:r=!0}={}){return function(e){if(t?.(e),r===!1||!e.defaultPrevented)return n?.(e)}}exports.composeEventHandlers=o;
@@ -0,0 +1,3 @@
1
+ export declare function composeEventHandlers<E>(originalEventHandler?: (event: E) => void, ourEventHandler?: (event: E) => void, { checkForDefaultPrevented }?: {
2
+ checkForDefaultPrevented?: boolean | undefined;
3
+ }): (event: E) => void;
@@ -0,0 +1,3 @@
1
+ export declare function composeEventHandlers<E>(originalEventHandler?: (event: E) => void, ourEventHandler?: (event: E) => void, { checkForDefaultPrevented }?: {
2
+ checkForDefaultPrevented?: boolean | undefined;
3
+ }): (event: E) => void;
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ function f(n, t, { checkForDefaultPrevented: r = !0 } = {}) {
3
+ return function(e) {
4
+ if (n?.(e), r === !1 || !e.defaultPrevented)
5
+ return t?.(e);
6
+ };
7
+ }
8
+ export {
9
+ f as composeEventHandlers
10
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const u=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const f=i(l);function r(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function s(...e){return t=>{let n=!1;const u=e.map(o=>{const c=r(o,t);return!n&&typeof c=="function"&&(n=!0),c});if(n)return()=>{for(let o=0;o<u.length;o++){const c=u[o];typeof c=="function"?c():r(e[o],null)}}}}function a(...e){return f.useCallback(s(...e),e)}exports.composeRefs=s;exports.useComposedRefs=a;
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ type PossibleRef<T> = React.Ref<T | null> | undefined;
3
+ declare function composeRefs<T>(...refs: PossibleRef<T>[]): (node: T | null) => void;
4
+ declare function useComposedRefs<T>(...refs: any): React.RefCallback<T>;
5
+ export { composeRefs, useComposedRefs };
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ type PossibleRef<T> = React.Ref<T | null> | undefined;
3
+ declare function composeRefs<T>(...refs: PossibleRef<T>[]): (node: T | null) => void;
4
+ declare function useComposedRefs<T>(...refs: any): React.RefCallback<T>;
5
+ export { composeRefs, useComposedRefs };
@@ -0,0 +1,30 @@
1
+ "use client";
2
+ import * as l from "react";
3
+ function i(n, o) {
4
+ if (typeof n == "function")
5
+ return n(o);
6
+ n != null && (n.current = o);
7
+ }
8
+ function f(...n) {
9
+ return (o) => {
10
+ let u = !1;
11
+ const c = n.map((t) => {
12
+ const e = i(t, o);
13
+ return !u && typeof e == "function" && (u = !0), e;
14
+ });
15
+ if (u)
16
+ return () => {
17
+ for (let t = 0; t < c.length; t++) {
18
+ const e = c[t];
19
+ typeof e == "function" ? e() : i(n[t], null);
20
+ }
21
+ };
22
+ };
23
+ }
24
+ function s(...n) {
25
+ return l.useCallback(f(...n), n);
26
+ }
27
+ export {
28
+ f as composeRefs,
29
+ s as useComposedRefs
30
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@inkeep/cxkit-theme"),t=require("./transform-source/index.cjs"),a=require("./tools/links-schema.cjs"),s={model:"inkeep-qa-expert",placeholder:"How do I get started?",botName:void 0,shouldOpenLinksInNewTab:!0,disclaimerSettings:{enabled:!1,label:"Usage policy"},isChatSharingEnabled:!1,isViewOnly:!1,quickQuestionsLabel:"Example questions",quickQuestions:[],shouldHighlightFirstQuickQuestion:!0,shouldShowCopyChatButton:!1,getHelpCallToActions:[],workflowsHeader:"Workflows",workflows:[],actionButtonLabels:{clearButtonLabel:"Clear",shareButtonLabel:"Share",getHelpButtonLabel:"Get help",stopButtonLabel:"Stop",copyChatButtonLabel:"Copy"},prompts:[],tools:[{type:"function",function:{name:"provideLinks",description:"Provides links",parameters:a.linksSchema}}]},l={env:"PRODUCTION",apiKey:"",baseUrl:"https://api.inkeep.com",analyticsBaseUrl:"https://api.analytics.inkeep.com",bypassChallenge:!1,analytics:{optOutAnalyticalCookies:!1,optOutAllAnalytics:!1,optOutFunctionalCookies:!1},tags:[],userProperties:{},primaryBrandColor:e.DEFAULT_PRIMARY_BRAND_COLOR,theme:{varsClassName:"inkeep-widget-vars",...e.theme},transformSource:t.defaultTransformSource},o={shouldOpenLinksInNewTab:!1,maximumHitsLimit:40,defaultQuery:"",debounceTime:0,tabs:["All","Publications","PDFs","GitHub","Forums","Discord","Slack","StackOverflow"],searchQueryParamKey:"q"};exports.defaultInkeepAIChatSettings=s;exports.defaultInkeepBaseSettings=l;exports.defaultInkeepSearchSettings=o;
@@ -0,0 +1,244 @@
1
+ import { InkeepBaseSettings, TransformSource } from '@inkeep/cxkit-types';
2
+ export declare const defaultInkeepAIChatSettings: {
3
+ model: "inkeep-qa-expert";
4
+ placeholder: string;
5
+ botName: undefined;
6
+ shouldOpenLinksInNewTab: true;
7
+ disclaimerSettings: {
8
+ enabled: false;
9
+ label: string;
10
+ };
11
+ isChatSharingEnabled: false;
12
+ isViewOnly: false;
13
+ quickQuestionsLabel: string;
14
+ quickQuestions: never[];
15
+ shouldHighlightFirstQuickQuestion: true;
16
+ shouldShowCopyChatButton: false;
17
+ getHelpCallToActions: never[];
18
+ workflowsHeader: string;
19
+ workflows: never[];
20
+ actionButtonLabels: {
21
+ clearButtonLabel: string;
22
+ shareButtonLabel: string;
23
+ getHelpButtonLabel: string;
24
+ stopButtonLabel: string;
25
+ copyChatButtonLabel: string;
26
+ };
27
+ prompts: never[];
28
+ tools: {
29
+ type: "function";
30
+ function: {
31
+ name: string;
32
+ description: string;
33
+ parameters: {
34
+ type: string;
35
+ properties: {
36
+ links: {
37
+ anyOf: ({
38
+ type: string;
39
+ items: {
40
+ type: string;
41
+ properties: {
42
+ label: {
43
+ type: string[];
44
+ };
45
+ url: {
46
+ type: string;
47
+ };
48
+ title: {
49
+ type: string[];
50
+ };
51
+ description: {
52
+ type: string[];
53
+ };
54
+ type: {
55
+ anyOf: ({
56
+ anyOf: ({
57
+ type: string;
58
+ enum: string[];
59
+ } | {
60
+ type: string;
61
+ enum?: undefined;
62
+ })[];
63
+ type?: undefined;
64
+ } | {
65
+ type: string;
66
+ anyOf?: undefined;
67
+ })[];
68
+ };
69
+ breadcrumbs: {
70
+ anyOf: ({
71
+ type: string;
72
+ items: {
73
+ type: string;
74
+ };
75
+ } | {
76
+ type: string;
77
+ items?: undefined;
78
+ })[];
79
+ };
80
+ };
81
+ required: string[];
82
+ additionalProperties: boolean;
83
+ };
84
+ } | {
85
+ type: string;
86
+ items?: undefined;
87
+ })[];
88
+ };
89
+ text: {
90
+ type: string;
91
+ };
92
+ };
93
+ required: string[];
94
+ additionalProperties: boolean;
95
+ $schema: string;
96
+ };
97
+ };
98
+ }[];
99
+ };
100
+ export declare const defaultInkeepBaseSettings: {
101
+ env: InkeepBaseSettings["env"];
102
+ apiKey: string;
103
+ baseUrl: string;
104
+ analyticsBaseUrl: string;
105
+ bypassChallenge: false;
106
+ analytics: {
107
+ optOutAnalyticalCookies: false;
108
+ optOutAllAnalytics: false;
109
+ optOutFunctionalCookies: false;
110
+ };
111
+ tags: never[];
112
+ userProperties: {};
113
+ primaryBrandColor: string;
114
+ theme: {
115
+ colors: {
116
+ whiteAlpha: {
117
+ 50: string;
118
+ 100: string;
119
+ 200: string;
120
+ 300: string;
121
+ 400: string;
122
+ 500: string;
123
+ 600: string;
124
+ 700: string;
125
+ 800: string;
126
+ 900: string;
127
+ 950: string;
128
+ 1000: string;
129
+ };
130
+ blackAlpha: {
131
+ 50: string;
132
+ 100: string;
133
+ 200: string;
134
+ 300: string;
135
+ 400: string;
136
+ 500: string;
137
+ 600: string;
138
+ 700: string;
139
+ 800: string;
140
+ 900: string;
141
+ 950: string;
142
+ 1000: string;
143
+ };
144
+ gray: {
145
+ 50: string;
146
+ 100: string;
147
+ 200: string;
148
+ 300: string;
149
+ 400: string;
150
+ 500: string;
151
+ 600: string;
152
+ 700: string;
153
+ 800: string;
154
+ 900: string;
155
+ 950: string;
156
+ 1000: string;
157
+ };
158
+ grayDark: {
159
+ 1000: string;
160
+ 950: string;
161
+ 900: string;
162
+ 800: string;
163
+ 700: string;
164
+ 600: string;
165
+ 500: string;
166
+ 400: string;
167
+ 300: string;
168
+ 200: string;
169
+ 100: string;
170
+ 50: string;
171
+ };
172
+ inkeepPrimary: {
173
+ textColorOnPrimary: string;
174
+ };
175
+ inkeepExpandedPrimary: {
176
+ "50": string;
177
+ "100": string;
178
+ "200": string;
179
+ "300": string;
180
+ "400": string;
181
+ "500": string;
182
+ "600": string;
183
+ "700": string;
184
+ "800": string;
185
+ "900": string;
186
+ "950": string;
187
+ "1000": string;
188
+ };
189
+ };
190
+ fontFamily: {
191
+ heading: string;
192
+ body: string;
193
+ mono: string;
194
+ };
195
+ fontSize: {
196
+ '3xs': string;
197
+ '2xs': string;
198
+ xs: string;
199
+ '1sm': string;
200
+ sm: string;
201
+ '2sm': string;
202
+ md: string;
203
+ lg: string;
204
+ xl: string;
205
+ '2xl': string;
206
+ '3xl': string;
207
+ '4xl': string;
208
+ '5xl': string;
209
+ '6xl': string;
210
+ '7xl': string;
211
+ '8xl': string;
212
+ '9xl': string;
213
+ };
214
+ zIndex: {
215
+ hide: number;
216
+ auto: string;
217
+ base: number;
218
+ start: number;
219
+ docked: number;
220
+ dropdown: number;
221
+ sticky: number;
222
+ banner: number;
223
+ overlay: number;
224
+ modal: number;
225
+ popover: number;
226
+ skipLink: number;
227
+ toast: number;
228
+ tooltip: number;
229
+ };
230
+ varsClassName: string;
231
+ };
232
+ transformSource: TransformSource;
233
+ };
234
+ export declare const defaultInkeepSearchSettings: {
235
+ shouldOpenLinksInNewTab: false;
236
+ maximumHitsLimit: number;
237
+ defaultQuery: string;
238
+ debounceTime: number;
239
+ tabs: string[];
240
+ searchQueryParamKey: string;
241
+ };
242
+ export type DefaultInkeepAIChatSettings = typeof defaultInkeepAIChatSettings;
243
+ export type DefaultInkeepBaseSettings = typeof defaultInkeepBaseSettings;
244
+ export type DefaultInkeepSearchSettings = typeof defaultInkeepSearchSettings;