@nuraly/lumenui 0.1.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 (755) hide show
  1. package/LICENSE +28 -0
  2. package/README.md +248 -0
  3. package/dist/nuralyui.bundle.js +29209 -0
  4. package/dist/nuralyui.bundle.js.gz +0 -0
  5. package/dist/src/components/alert/alert.component.d.ts +103 -0
  6. package/dist/src/components/alert/alert.component.js +225 -0
  7. package/dist/src/components/alert/alert.style.d.ts +14 -0
  8. package/dist/src/components/alert/alert.style.js +191 -0
  9. package/dist/src/components/alert/alert.types.d.ts +46 -0
  10. package/dist/src/components/alert/alert.types.js +7 -0
  11. package/dist/src/components/alert/bundle.js +231 -0
  12. package/dist/src/components/alert/bundle.js.gz +0 -0
  13. package/dist/src/components/alert/index.d.ts +8 -0
  14. package/dist/src/components/alert/index.js +8 -0
  15. package/dist/src/components/alert/react.d.ts +5 -0
  16. package/dist/src/components/alert/react.js +17 -0
  17. package/dist/src/components/badge/badge.component.d.ts +148 -0
  18. package/dist/src/components/badge/badge.component.js +270 -0
  19. package/dist/src/components/badge/badge.style.d.ts +14 -0
  20. package/dist/src/components/badge/badge.style.js +250 -0
  21. package/dist/src/components/badge/badge.types.d.ts +84 -0
  22. package/dist/src/components/badge/badge.types.js +7 -0
  23. package/dist/src/components/badge/bundle.js +277 -0
  24. package/dist/src/components/badge/bundle.js.gz +0 -0
  25. package/dist/src/components/badge/index.d.ts +2 -0
  26. package/dist/src/components/badge/index.js +2 -0
  27. package/dist/src/components/badge/react.d.ts +3 -0
  28. package/dist/src/components/badge/react.js +10 -0
  29. package/dist/src/components/breadcrumb/breadcrumb.component.d.ts +121 -0
  30. package/dist/src/components/breadcrumb/breadcrumb.component.js +257 -0
  31. package/dist/src/components/breadcrumb/breadcrumb.style.d.ts +14 -0
  32. package/dist/src/components/breadcrumb/breadcrumb.style.js +153 -0
  33. package/dist/src/components/breadcrumb/breadcrumb.types.d.ts +63 -0
  34. package/dist/src/components/breadcrumb/breadcrumb.types.js +7 -0
  35. package/dist/src/components/breadcrumb/bundle.js +213 -0
  36. package/dist/src/components/breadcrumb/bundle.js.gz +0 -0
  37. package/dist/src/components/breadcrumb/index.d.ts +2 -0
  38. package/dist/src/components/breadcrumb/index.js +2 -0
  39. package/dist/src/components/breadcrumb/react.d.ts +5 -0
  40. package/dist/src/components/breadcrumb/react.js +12 -0
  41. package/dist/src/components/button/bundle.js +606 -0
  42. package/dist/src/components/button/bundle.js.gz +0 -0
  43. package/dist/src/components/button/button.component.d.ts +96 -0
  44. package/dist/src/components/button/button.component.js +312 -0
  45. package/dist/src/components/button/button.style.d.ts +10 -0
  46. package/dist/src/components/button/button.style.js +535 -0
  47. package/dist/src/components/button/button.types.d.ts +57 -0
  48. package/dist/src/components/button/button.types.js +2 -0
  49. package/dist/src/components/button/index.d.ts +2 -0
  50. package/dist/src/components/button/index.js +2 -0
  51. package/dist/src/components/button/react.d.ts +5 -0
  52. package/dist/src/components/button/react.js +12 -0
  53. package/dist/src/components/canvas/base-canvas.component.d.ts +177 -0
  54. package/dist/src/components/canvas/base-canvas.component.js +865 -0
  55. package/dist/src/components/canvas/bundle.js +16664 -0
  56. package/dist/src/components/canvas/bundle.js.gz +0 -0
  57. package/dist/src/components/canvas/canvas.component.d.ts +2 -0
  58. package/dist/src/components/canvas/canvas.component.js +295 -0
  59. package/dist/src/components/canvas/canvas.constants.d.ts +66 -0
  60. package/dist/src/components/canvas/canvas.constants.js +61 -0
  61. package/dist/src/components/canvas/chatbot-panel.style.d.ts +11 -0
  62. package/dist/src/components/canvas/chatbot-panel.style.js +189 -0
  63. package/dist/src/components/canvas/index.d.ts +13 -0
  64. package/dist/src/components/canvas/index.js +21 -0
  65. package/dist/src/components/canvas/react.d.ts +354 -0
  66. package/dist/src/components/canvas/react.js +41 -0
  67. package/dist/src/components/canvas/whiteboard-canvas.component.d.ts +63 -0
  68. package/dist/src/components/canvas/whiteboard-canvas.component.js +356 -0
  69. package/dist/src/components/canvas/whiteboard-canvas.style.d.ts +7 -0
  70. package/dist/src/components/canvas/whiteboard-canvas.style.js +1011 -0
  71. package/dist/src/components/canvas/whiteboard-node.component.d.ts +87 -0
  72. package/dist/src/components/canvas/whiteboard-node.component.js +809 -0
  73. package/dist/src/components/canvas/whiteboard-node.style.d.ts +7 -0
  74. package/dist/src/components/canvas/whiteboard-node.style.js +775 -0
  75. package/dist/src/components/canvas/workflow-canvas.component.d.ts +150 -0
  76. package/dist/src/components/canvas/workflow-canvas.component.js +1468 -0
  77. package/dist/src/components/canvas/workflow-canvas.style.d.ts +8 -0
  78. package/dist/src/components/canvas/workflow-canvas.style.js +2903 -0
  79. package/dist/src/components/canvas/workflow-canvas.types.d.ts +710 -0
  80. package/dist/src/components/canvas/workflow-canvas.types.js +2305 -0
  81. package/dist/src/components/canvas/workflow-node.component.d.ts +96 -0
  82. package/dist/src/components/canvas/workflow-node.component.js +752 -0
  83. package/dist/src/components/canvas/workflow-node.style.d.ts +8 -0
  84. package/dist/src/components/canvas/workflow-node.style.js +1053 -0
  85. package/dist/src/components/card/bundle.js +69 -0
  86. package/dist/src/components/card/bundle.js.gz +0 -0
  87. package/dist/src/components/card/card.component.d.ts +30 -0
  88. package/dist/src/components/card/card.component.js +64 -0
  89. package/dist/src/components/card/card.style.d.ts +2 -0
  90. package/dist/src/components/card/card.style.js +62 -0
  91. package/dist/src/components/card/card.types.d.ts +17 -0
  92. package/dist/src/components/card/card.types.js +2 -0
  93. package/dist/src/components/card/index.d.ts +3 -0
  94. package/dist/src/components/card/index.js +3 -0
  95. package/dist/src/components/card/react.d.ts +5 -0
  96. package/dist/src/components/card/react.js +12 -0
  97. package/dist/src/components/carousel/bundle.js +96 -0
  98. package/dist/src/components/carousel/bundle.js.gz +0 -0
  99. package/dist/src/components/carousel/carousel.component.d.ts +19 -0
  100. package/dist/src/components/carousel/carousel.component.js +128 -0
  101. package/dist/src/components/carousel/carousel.style.d.ts +2 -0
  102. package/dist/src/components/carousel/carousel.style.js +68 -0
  103. package/dist/src/components/carousel/index.d.ts +2 -0
  104. package/dist/src/components/carousel/index.js +2 -0
  105. package/dist/src/components/carousel/react.d.ts +5 -0
  106. package/dist/src/components/carousel/react.js +12 -0
  107. package/dist/src/components/chatbot/bundle.js +2527 -0
  108. package/dist/src/components/chatbot/bundle.js.gz +0 -0
  109. package/dist/src/components/chatbot/chatbot.component.d.ts +215 -0
  110. package/dist/src/components/chatbot/chatbot.component.js +1097 -0
  111. package/dist/src/components/chatbot/chatbot.style.d.ts +3 -0
  112. package/dist/src/components/chatbot/chatbot.style.js +1638 -0
  113. package/dist/src/components/chatbot/chatbot.types.d.ts +246 -0
  114. package/dist/src/components/chatbot/chatbot.types.js +124 -0
  115. package/dist/src/components/chatbot/index.d.ts +13 -0
  116. package/dist/src/components/chatbot/index.js +20 -0
  117. package/dist/src/components/chatbot/react.d.ts +54 -0
  118. package/dist/src/components/chatbot/react.js +55 -0
  119. package/dist/src/components/checkbox/bundle.js +352 -0
  120. package/dist/src/components/checkbox/bundle.js.gz +0 -0
  121. package/dist/src/components/checkbox/checkbox.component.d.ts +62 -0
  122. package/dist/src/components/checkbox/checkbox.component.js +178 -0
  123. package/dist/src/components/checkbox/checkbox.style.d.ts +2 -0
  124. package/dist/src/components/checkbox/checkbox.style.js +323 -0
  125. package/dist/src/components/checkbox/checkbox.types.d.ts +6 -0
  126. package/dist/src/components/checkbox/checkbox.types.js +2 -0
  127. package/dist/src/components/checkbox/index.d.ts +2 -0
  128. package/dist/src/components/checkbox/index.js +2 -0
  129. package/dist/src/components/checkbox/react.d.ts +5 -0
  130. package/dist/src/components/checkbox/react.js +12 -0
  131. package/dist/src/components/code-editor/bundle.js +55 -0
  132. package/dist/src/components/code-editor/bundle.js.gz +0 -0
  133. package/dist/src/components/code-editor/code-editor.component.d.ts +119 -0
  134. package/dist/src/components/code-editor/code-editor.component.js +532 -0
  135. package/dist/src/components/code-editor/code-editor.style.d.ts +7 -0
  136. package/dist/src/components/code-editor/code-editor.style.js +39 -0
  137. package/dist/src/components/code-editor/code-editor.types.d.ts +39 -0
  138. package/dist/src/components/code-editor/code-editor.types.js +22 -0
  139. package/dist/src/components/code-editor/index.d.ts +9 -0
  140. package/dist/src/components/code-editor/index.js +9 -0
  141. package/dist/src/components/collapse/bundle.js +308 -0
  142. package/dist/src/components/collapse/bundle.js.gz +0 -0
  143. package/dist/src/components/collapse/collapse.component.d.ts +93 -0
  144. package/dist/src/components/collapse/collapse.component.js +322 -0
  145. package/dist/src/components/collapse/collapse.style.d.ts +11 -0
  146. package/dist/src/components/collapse/collapse.style.js +234 -0
  147. package/dist/src/components/collapse/collapse.type.d.ts +79 -0
  148. package/dist/src/components/collapse/collapse.type.js +11 -0
  149. package/dist/src/components/collapse/index.d.ts +2 -0
  150. package/dist/src/components/collapse/index.js +2 -0
  151. package/dist/src/components/collapse/react.d.ts +6 -0
  152. package/dist/src/components/collapse/react.js +13 -0
  153. package/dist/src/components/colorpicker/bundle.js +242 -0
  154. package/dist/src/components/colorpicker/bundle.js.gz +0 -0
  155. package/dist/src/components/colorpicker/color-holder.component.d.ts +50 -0
  156. package/dist/src/components/colorpicker/color-holder.component.js +116 -0
  157. package/dist/src/components/colorpicker/color-holder.style.d.ts +2 -0
  158. package/dist/src/components/colorpicker/color-holder.style.js +45 -0
  159. package/dist/src/components/colorpicker/color-picker.component.d.ts +178 -0
  160. package/dist/src/components/colorpicker/color-picker.component.js +374 -0
  161. package/dist/src/components/colorpicker/color-picker.style.d.ts +10 -0
  162. package/dist/src/components/colorpicker/color-picker.style.js +86 -0
  163. package/dist/src/components/colorpicker/color-picker.types.d.ts +60 -0
  164. package/dist/src/components/colorpicker/color-picker.types.js +2 -0
  165. package/dist/src/components/colorpicker/default-color-sets.component.d.ts +45 -0
  166. package/dist/src/components/colorpicker/default-color-sets.component.js +121 -0
  167. package/dist/src/components/colorpicker/default-color-sets.style.d.ts +2 -0
  168. package/dist/src/components/colorpicker/default-color-sets.style.js +34 -0
  169. package/dist/src/components/colorpicker/index.d.ts +3 -0
  170. package/dist/src/components/colorpicker/index.js +3 -0
  171. package/dist/src/components/colorpicker/react.d.ts +6 -0
  172. package/dist/src/components/colorpicker/react.js +13 -0
  173. package/dist/src/components/console/react.d.ts +340 -0
  174. package/dist/src/components/console/react.js +13 -0
  175. package/dist/src/components/container/bundle.js +161 -0
  176. package/dist/src/components/container/bundle.js.gz +0 -0
  177. package/dist/src/components/container/container.component.d.ts +85 -0
  178. package/dist/src/components/container/container.component.js +223 -0
  179. package/dist/src/components/container/container.style.d.ts +6 -0
  180. package/dist/src/components/container/container.style.js +146 -0
  181. package/dist/src/components/container/container.types.d.ts +67 -0
  182. package/dist/src/components/container/container.types.js +5 -0
  183. package/dist/src/components/container/index.d.ts +3 -0
  184. package/dist/src/components/container/index.js +3 -0
  185. package/dist/src/components/container/react.d.ts +3 -0
  186. package/dist/src/components/container/react.js +10 -0
  187. package/dist/src/components/datepicker/bundle.js +706 -0
  188. package/dist/src/components/datepicker/bundle.js.gz +0 -0
  189. package/dist/src/components/datepicker/datepicker.component.d.ts +190 -0
  190. package/dist/src/components/datepicker/datepicker.component.js +673 -0
  191. package/dist/src/components/datepicker/datepicker.constant.d.ts +60 -0
  192. package/dist/src/components/datepicker/datepicker.constant.js +60 -0
  193. package/dist/src/components/datepicker/datepicker.style.d.ts +17 -0
  194. package/dist/src/components/datepicker/datepicker.style.js +453 -0
  195. package/dist/src/components/datepicker/datepicker.style.variables.d.ts +2 -0
  196. package/dist/src/components/datepicker/datepicker.style.variables.js +119 -0
  197. package/dist/src/components/datepicker/datepicker.types.d.ts +142 -0
  198. package/dist/src/components/datepicker/datepicker.types.js +75 -0
  199. package/dist/src/components/datepicker/index.d.ts +4 -0
  200. package/dist/src/components/datepicker/index.js +4 -0
  201. package/dist/src/components/datepicker/react.d.ts +16 -0
  202. package/dist/src/components/datepicker/react.js +23 -0
  203. package/dist/src/components/db-connection-select/bundle.js +308 -0
  204. package/dist/src/components/db-connection-select/bundle.js.gz +0 -0
  205. package/dist/src/components/db-connection-select/db-connection-select.component.d.ts +105 -0
  206. package/dist/src/components/db-connection-select/db-connection-select.component.js +573 -0
  207. package/dist/src/components/db-connection-select/index.d.ts +7 -0
  208. package/dist/src/components/db-connection-select/index.js +7 -0
  209. package/dist/src/components/divider/bundle.js +143 -0
  210. package/dist/src/components/divider/bundle.js.gz +0 -0
  211. package/dist/src/components/divider/divider.component.d.ts +90 -0
  212. package/dist/src/components/divider/divider.component.js +168 -0
  213. package/dist/src/components/divider/divider.style.d.ts +3 -0
  214. package/dist/src/components/divider/divider.style.js +139 -0
  215. package/dist/src/components/divider/divider.types.d.ts +55 -0
  216. package/dist/src/components/divider/divider.types.js +6 -0
  217. package/dist/src/components/divider/index.d.ts +3 -0
  218. package/dist/src/components/divider/index.js +3 -0
  219. package/dist/src/components/divider/react.d.ts +3 -0
  220. package/dist/src/components/divider/react.js +10 -0
  221. package/dist/src/components/document/bundle.js +242 -0
  222. package/dist/src/components/document/bundle.js.gz +0 -0
  223. package/dist/src/components/document/document.component.d.ts +27 -0
  224. package/dist/src/components/document/document.component.js +136 -0
  225. package/dist/src/components/document/document.style.d.ts +3 -0
  226. package/dist/src/components/document/document.style.js +210 -0
  227. package/dist/src/components/document/document.types.d.ts +68 -0
  228. package/dist/src/components/document/document.types.js +7 -0
  229. package/dist/src/components/document/index.d.ts +3 -0
  230. package/dist/src/components/document/index.js +3 -0
  231. package/dist/src/components/document/react.d.ts +8 -0
  232. package/dist/src/components/document/react.js +15 -0
  233. package/dist/src/components/dropdown/bundle.js +528 -0
  234. package/dist/src/components/dropdown/bundle.js.gz +0 -0
  235. package/dist/src/components/dropdown/dropdown.component.d.ts +120 -0
  236. package/dist/src/components/dropdown/dropdown.component.js +390 -0
  237. package/dist/src/components/dropdown/dropdown.style.d.ts +2 -0
  238. package/dist/src/components/dropdown/dropdown.style.js +460 -0
  239. package/dist/src/components/dropdown/dropdown.types.d.ts +99 -0
  240. package/dist/src/components/dropdown/dropdown.types.js +2 -0
  241. package/dist/src/components/dropdown/index.d.ts +3 -0
  242. package/dist/src/components/dropdown/index.js +3 -0
  243. package/dist/src/components/dropdown/react.d.ts +7 -0
  244. package/dist/src/components/dropdown/react.js +14 -0
  245. package/dist/src/components/file-upload/bundle.js +472 -0
  246. package/dist/src/components/file-upload/bundle.js.gz +0 -0
  247. package/dist/src/components/file-upload/file-upload.component.d.ts +43 -0
  248. package/dist/src/components/file-upload/file-upload.component.js +398 -0
  249. package/dist/src/components/file-upload/index.d.ts +2 -0
  250. package/dist/src/components/file-upload/index.js +2 -0
  251. package/dist/src/components/file-upload/react.d.ts +7 -0
  252. package/dist/src/components/file-upload/react.js +14 -0
  253. package/dist/src/components/file-upload/styles.d.ts +2 -0
  254. package/dist/src/components/file-upload/styles.js +373 -0
  255. package/dist/src/components/file-upload/types.d.ts +11 -0
  256. package/dist/src/components/file-upload/types.js +2 -0
  257. package/dist/src/components/file-upload/utils.d.ts +6 -0
  258. package/dist/src/components/file-upload/utils.js +24 -0
  259. package/dist/src/components/flex/bundle.js +114 -0
  260. package/dist/src/components/flex/bundle.js.gz +0 -0
  261. package/dist/src/components/flex/flex.component.d.ts +89 -0
  262. package/dist/src/components/flex/flex.component.js +178 -0
  263. package/dist/src/components/flex/flex.style.d.ts +6 -0
  264. package/dist/src/components/flex/flex.style.js +101 -0
  265. package/dist/src/components/flex/flex.types.d.ts +63 -0
  266. package/dist/src/components/flex/flex.types.js +5 -0
  267. package/dist/src/components/flex/index.d.ts +3 -0
  268. package/dist/src/components/flex/index.js +3 -0
  269. package/dist/src/components/flex/react.d.ts +3 -0
  270. package/dist/src/components/flex/react.js +10 -0
  271. package/dist/src/components/form/bundle.js +98 -0
  272. package/dist/src/components/form/bundle.js.gz +0 -0
  273. package/dist/src/components/form/form.component.d.ts +279 -0
  274. package/dist/src/components/form/form.component.js +644 -0
  275. package/dist/src/components/form/form.style.d.ts +7 -0
  276. package/dist/src/components/form/form.style.js +68 -0
  277. package/dist/src/components/form/form.types.d.ts +92 -0
  278. package/dist/src/components/form/form.types.js +38 -0
  279. package/dist/src/components/form/index.d.ts +10 -0
  280. package/dist/src/components/form/index.js +13 -0
  281. package/dist/src/components/grid/bundle.js +202 -0
  282. package/dist/src/components/grid/bundle.js.gz +0 -0
  283. package/dist/src/components/grid/col.component.d.ts +103 -0
  284. package/dist/src/components/grid/col.component.js +253 -0
  285. package/dist/src/components/grid/col.style.d.ts +6 -0
  286. package/dist/src/components/grid/col.style.js +117 -0
  287. package/dist/src/components/grid/grid.types.d.ts +80 -0
  288. package/dist/src/components/grid/grid.types.js +16 -0
  289. package/dist/src/components/grid/index.d.ts +4 -0
  290. package/dist/src/components/grid/index.js +4 -0
  291. package/dist/src/components/grid/react.d.ts +5 -0
  292. package/dist/src/components/grid/react.js +17 -0
  293. package/dist/src/components/grid/row.component.d.ts +83 -0
  294. package/dist/src/components/grid/row.component.js +197 -0
  295. package/dist/src/components/grid/row.style.d.ts +6 -0
  296. package/dist/src/components/grid/row.style.js +68 -0
  297. package/dist/src/components/icon/bundle.js +340 -0
  298. package/dist/src/components/icon/bundle.js.gz +0 -0
  299. package/dist/src/components/icon/icon.component.d.ts +64 -0
  300. package/dist/src/components/icon/icon.component.js +207 -0
  301. package/dist/src/components/icon/icon.style.d.ts +2 -0
  302. package/dist/src/components/icon/icon.style.js +211 -0
  303. package/dist/src/components/icon/icon.types.d.ts +5 -0
  304. package/dist/src/components/icon/icon.types.js +2 -0
  305. package/dist/src/components/icon/icon.variables.d.ts +17 -0
  306. package/dist/src/components/icon/icon.variables.js +132 -0
  307. package/dist/src/components/icon/index.d.ts +2 -0
  308. package/dist/src/components/icon/index.js +2 -0
  309. package/dist/src/components/icon/react.d.ts +3 -0
  310. package/dist/src/components/icon/react.js +9 -0
  311. package/dist/src/components/iconpicker/bundle.js +2811 -0
  312. package/dist/src/components/iconpicker/bundle.js.gz +0 -0
  313. package/dist/src/components/iconpicker/icon-picker.component.d.ts +119 -0
  314. package/dist/src/components/iconpicker/icon-picker.component.js +337 -0
  315. package/dist/src/components/iconpicker/icon-picker.constant.d.ts +15 -0
  316. package/dist/src/components/iconpicker/icon-picker.constant.js +31 -0
  317. package/dist/src/components/iconpicker/icon-picker.style.d.ts +8 -0
  318. package/dist/src/components/iconpicker/icon-picker.style.js +216 -0
  319. package/dist/src/components/iconpicker/icon-picker.types.d.ts +49 -0
  320. package/dist/src/components/iconpicker/icon-picker.types.js +7 -0
  321. package/dist/src/components/iconpicker/index.d.ts +9 -0
  322. package/dist/src/components/iconpicker/index.js +9 -0
  323. package/dist/src/components/iconpicker/react.d.ts +14 -0
  324. package/dist/src/components/iconpicker/react.js +21 -0
  325. package/dist/src/components/image/bundle.js +98 -0
  326. package/dist/src/components/image/bundle.js.gz +0 -0
  327. package/dist/src/components/image/image.component.d.ts +31 -0
  328. package/dist/src/components/image/image.component.js +143 -0
  329. package/dist/src/components/image/image.style.d.ts +3 -0
  330. package/dist/src/components/image/image.style.js +83 -0
  331. package/dist/src/components/image/image.types.d.ts +68 -0
  332. package/dist/src/components/image/image.types.js +7 -0
  333. package/dist/src/components/image/index.d.ts +3 -0
  334. package/dist/src/components/image/index.js +3 -0
  335. package/dist/src/components/image/react.d.ts +8 -0
  336. package/dist/src/components/image/react.js +15 -0
  337. package/dist/src/components/input/bundle.js +930 -0
  338. package/dist/src/components/input/bundle.js.gz +0 -0
  339. package/dist/src/components/input/index.d.ts +3 -0
  340. package/dist/src/components/input/index.js +3 -0
  341. package/dist/src/components/input/input.component.d.ts +174 -0
  342. package/dist/src/components/input/input.component.js +490 -0
  343. package/dist/src/components/input/input.style.d.ts +2 -0
  344. package/dist/src/components/input/input.style.js +810 -0
  345. package/dist/src/components/input/input.types.d.ts +127 -0
  346. package/dist/src/components/input/input.types.js +75 -0
  347. package/dist/src/components/input/react.d.ts +9 -0
  348. package/dist/src/components/input/react.js +16 -0
  349. package/dist/src/components/input/validation.d.ts +3 -0
  350. package/dist/src/components/input/validation.js +3 -0
  351. package/dist/src/components/kv-secret-select/bundle.js +183 -0
  352. package/dist/src/components/kv-secret-select/bundle.js.gz +0 -0
  353. package/dist/src/components/kv-secret-select/index.d.ts +2 -0
  354. package/dist/src/components/kv-secret-select/index.js +2 -0
  355. package/dist/src/components/kv-secret-select/kv-secret-select.component.d.ts +83 -0
  356. package/dist/src/components/kv-secret-select/kv-secret-select.component.js +360 -0
  357. package/dist/src/components/label/bundle.js +104 -0
  358. package/dist/src/components/label/bundle.js.gz +0 -0
  359. package/dist/src/components/label/index.d.ts +2 -0
  360. package/dist/src/components/label/index.js +2 -0
  361. package/dist/src/components/label/label.component.d.ts +18 -0
  362. package/dist/src/components/label/label.component.js +64 -0
  363. package/dist/src/components/label/label.style.d.ts +3 -0
  364. package/dist/src/components/label/label.style.js +70 -0
  365. package/dist/src/components/label/label.style.variables.d.ts +2 -0
  366. package/dist/src/components/label/label.style.variables.js +35 -0
  367. package/dist/src/components/label/label.types.d.ts +42 -0
  368. package/dist/src/components/label/label.types.js +2 -0
  369. package/dist/src/components/label/react.d.ts +339 -0
  370. package/dist/src/components/label/react.js +12 -0
  371. package/dist/src/components/layout/bundle.js +220 -0
  372. package/dist/src/components/layout/bundle.js.gz +0 -0
  373. package/dist/src/components/layout/content.component.d.ts +35 -0
  374. package/dist/src/components/layout/content.component.js +47 -0
  375. package/dist/src/components/layout/content.style.d.ts +2 -0
  376. package/dist/src/components/layout/content.style.js +17 -0
  377. package/dist/src/components/layout/footer.component.d.ts +38 -0
  378. package/dist/src/components/layout/footer.component.js +60 -0
  379. package/dist/src/components/layout/footer.style.d.ts +2 -0
  380. package/dist/src/components/layout/footer.style.js +17 -0
  381. package/dist/src/components/layout/header.component.d.ts +39 -0
  382. package/dist/src/components/layout/header.component.js +61 -0
  383. package/dist/src/components/layout/header.style.d.ts +2 -0
  384. package/dist/src/components/layout/header.style.js +19 -0
  385. package/dist/src/components/layout/index.d.ts +8 -0
  386. package/dist/src/components/layout/index.js +7 -0
  387. package/dist/src/components/layout/layout.component.d.ts +50 -0
  388. package/dist/src/components/layout/layout.component.js +89 -0
  389. package/dist/src/components/layout/layout.style.d.ts +2 -0
  390. package/dist/src/components/layout/layout.style.js +23 -0
  391. package/dist/src/components/layout/layout.types.d.ts +75 -0
  392. package/dist/src/components/layout/layout.types.js +12 -0
  393. package/dist/src/components/layout/react.d.ts +14 -0
  394. package/dist/src/components/layout/react.js +37 -0
  395. package/dist/src/components/layout/sider.component.d.ts +116 -0
  396. package/dist/src/components/layout/sider.component.js +273 -0
  397. package/dist/src/components/layout/sider.style.d.ts +2 -0
  398. package/dist/src/components/layout/sider.style.js +104 -0
  399. package/dist/src/components/menu/bundle.js +520 -0
  400. package/dist/src/components/menu/bundle.js.gz +0 -0
  401. package/dist/src/components/menu/index.d.ts +4 -0
  402. package/dist/src/components/menu/index.js +2 -0
  403. package/dist/src/components/menu/menu.component.d.ts +87 -0
  404. package/dist/src/components/menu/menu.component.js +596 -0
  405. package/dist/src/components/menu/menu.constants.d.ts +12 -0
  406. package/dist/src/components/menu/menu.constants.js +14 -0
  407. package/dist/src/components/menu/menu.style.d.ts +2 -0
  408. package/dist/src/components/menu/menu.style.js +372 -0
  409. package/dist/src/components/menu/menu.types.d.ts +66 -0
  410. package/dist/src/components/menu/menu.types.js +7 -0
  411. package/dist/src/components/menu/react.d.ts +5 -0
  412. package/dist/src/components/menu/react.js +12 -0
  413. package/dist/src/components/modal/bundle.js +442 -0
  414. package/dist/src/components/modal/bundle.js.gz +0 -0
  415. package/dist/src/components/modal/index.d.ts +10 -0
  416. package/dist/src/components/modal/index.js +10 -0
  417. package/dist/src/components/modal/modal-manager.d.ts +72 -0
  418. package/dist/src/components/modal/modal-manager.js +170 -0
  419. package/dist/src/components/modal/modal.component.d.ts +121 -0
  420. package/dist/src/components/modal/modal.component.js +461 -0
  421. package/dist/src/components/modal/modal.style.d.ts +9 -0
  422. package/dist/src/components/modal/modal.style.js +369 -0
  423. package/dist/src/components/modal/modal.types.d.ts +105 -0
  424. package/dist/src/components/modal/modal.types.js +93 -0
  425. package/dist/src/components/modal/react.d.ts +9 -0
  426. package/dist/src/components/modal/react.js +16 -0
  427. package/dist/src/components/panel/bundle.js +1075 -0
  428. package/dist/src/components/panel/bundle.js.gz +0 -0
  429. package/dist/src/components/panel/index.d.ts +9 -0
  430. package/dist/src/components/panel/index.js +9 -0
  431. package/dist/src/components/panel/panel.component.d.ts +199 -0
  432. package/dist/src/components/panel/panel.component.js +720 -0
  433. package/dist/src/components/panel/panel.style.d.ts +7 -0
  434. package/dist/src/components/panel/panel.style.js +497 -0
  435. package/dist/src/components/panel/panel.types.d.ts +94 -0
  436. package/dist/src/components/panel/panel.types.js +50 -0
  437. package/dist/src/components/panel/react.d.ts +11 -0
  438. package/dist/src/components/panel/react.js +18 -0
  439. package/dist/src/components/popconfirm/bundle.js +438 -0
  440. package/dist/src/components/popconfirm/bundle.js.gz +0 -0
  441. package/dist/src/components/popconfirm/index.d.ts +4 -0
  442. package/dist/src/components/popconfirm/index.js +4 -0
  443. package/dist/src/components/popconfirm/popconfirm-manager.component.d.ts +129 -0
  444. package/dist/src/components/popconfirm/popconfirm-manager.component.js +372 -0
  445. package/dist/src/components/popconfirm/popconfirm-manager.style.d.ts +2 -0
  446. package/dist/src/components/popconfirm/popconfirm-manager.style.js +137 -0
  447. package/dist/src/components/popconfirm/popconfirm.component.d.ts +179 -0
  448. package/dist/src/components/popconfirm/popconfirm.component.js +409 -0
  449. package/dist/src/components/popconfirm/popconfirm.style.d.ts +2 -0
  450. package/dist/src/components/popconfirm/popconfirm.style.js +207 -0
  451. package/dist/src/components/popconfirm/popconfirm.types.d.ts +104 -0
  452. package/dist/src/components/popconfirm/popconfirm.types.js +2 -0
  453. package/dist/src/components/popconfirm/react.d.ts +7 -0
  454. package/dist/src/components/popconfirm/react.js +14 -0
  455. package/dist/src/components/radio/bundle.js +180 -0
  456. package/dist/src/components/radio/bundle.js.gz +0 -0
  457. package/dist/src/components/radio/index.d.ts +3 -0
  458. package/dist/src/components/radio/index.js +3 -0
  459. package/dist/src/components/radio/radio.component.d.ts +70 -0
  460. package/dist/src/components/radio/radio.component.js +187 -0
  461. package/dist/src/components/radio/radio.style.d.ts +7 -0
  462. package/dist/src/components/radio/radio.style.js +149 -0
  463. package/dist/src/components/radio/radio.types.d.ts +14 -0
  464. package/dist/src/components/radio/radio.types.js +15 -0
  465. package/dist/src/components/radio/react.d.ts +12 -0
  466. package/dist/src/components/radio/react.js +19 -0
  467. package/dist/src/components/radio-group/bundle.js +430 -0
  468. package/dist/src/components/radio-group/bundle.js.gz +0 -0
  469. package/dist/src/components/radio-group/index.d.ts +3 -0
  470. package/dist/src/components/radio-group/index.js +3 -0
  471. package/dist/src/components/radio-group/radio-group.component.d.ts +165 -0
  472. package/dist/src/components/radio-group/radio-group.component.js +437 -0
  473. package/dist/src/components/radio-group/radio-group.style.d.ts +7 -0
  474. package/dist/src/components/radio-group/radio-group.style.js +270 -0
  475. package/dist/src/components/radio-group/radio-group.types.d.ts +39 -0
  476. package/dist/src/components/radio-group/radio-group.types.js +29 -0
  477. package/dist/src/components/radio-group/radio.constant.d.ts +2 -0
  478. package/dist/src/components/radio-group/radio.constant.js +2 -0
  479. package/dist/src/components/radio-group/react.d.ts +10 -0
  480. package/dist/src/components/radio-group/react.js +17 -0
  481. package/dist/src/components/select/bundle.js +721 -0
  482. package/dist/src/components/select/bundle.js.gz +0 -0
  483. package/dist/src/components/select/index.d.ts +17 -0
  484. package/dist/src/components/select/index.js +20 -0
  485. package/dist/src/components/select/react.d.ts +19 -0
  486. package/dist/src/components/select/react.js +26 -0
  487. package/dist/src/components/select/select.component.d.ts +359 -0
  488. package/dist/src/components/select/select.component.js +775 -0
  489. package/dist/src/components/select/select.constant.d.ts +133 -0
  490. package/dist/src/components/select/select.constant.js +136 -0
  491. package/dist/src/components/select/select.style.d.ts +2 -0
  492. package/dist/src/components/select/select.style.js +533 -0
  493. package/dist/src/components/select/select.types.d.ts +100 -0
  494. package/dist/src/components/select/select.types.js +73 -0
  495. package/dist/src/components/skeleton/bundle.js +293 -0
  496. package/dist/src/components/skeleton/bundle.js.gz +0 -0
  497. package/dist/src/components/skeleton/index.d.ts +3 -0
  498. package/dist/src/components/skeleton/index.js +3 -0
  499. package/dist/src/components/skeleton/react.d.ts +3 -0
  500. package/dist/src/components/skeleton/react.js +10 -0
  501. package/dist/src/components/skeleton/skeleton.component.d.ts +165 -0
  502. package/dist/src/components/skeleton/skeleton.component.js +387 -0
  503. package/dist/src/components/skeleton/skeleton.style.d.ts +2 -0
  504. package/dist/src/components/skeleton/skeleton.style.js +224 -0
  505. package/dist/src/components/skeleton/skeleton.types.d.ts +82 -0
  506. package/dist/src/components/skeleton/skeleton.types.js +2 -0
  507. package/dist/src/components/slider-input/bundle.js +241 -0
  508. package/dist/src/components/slider-input/bundle.js.gz +0 -0
  509. package/dist/src/components/slider-input/index.d.ts +3 -0
  510. package/dist/src/components/slider-input/index.js +3 -0
  511. package/dist/src/components/slider-input/react.d.ts +340 -0
  512. package/dist/src/components/slider-input/react.js +13 -0
  513. package/dist/src/components/slider-input/slider-input.component.d.ts +38 -0
  514. package/dist/src/components/slider-input/slider-input.component.js +191 -0
  515. package/dist/src/components/slider-input/slider-input.style.d.ts +3 -0
  516. package/dist/src/components/slider-input/slider-input.style.js +171 -0
  517. package/dist/src/components/slider-input/slider-input.style.variables.d.ts +2 -0
  518. package/dist/src/components/slider-input/slider-input.style.variables.js +59 -0
  519. package/dist/src/components/slider-input/slider-input.types.d.ts +21 -0
  520. package/dist/src/components/slider-input/slider-input.types.js +6 -0
  521. package/dist/src/components/table/bundle.js +987 -0
  522. package/dist/src/components/table/bundle.js.gz +0 -0
  523. package/dist/src/components/table/index.d.ts +2 -0
  524. package/dist/src/components/table/index.js +2 -0
  525. package/dist/src/components/table/react.d.ts +7 -0
  526. package/dist/src/components/table/react.js +14 -0
  527. package/dist/src/components/table/table.component.d.ts +140 -0
  528. package/dist/src/components/table/table.component.js +433 -0
  529. package/dist/src/components/table/table.style.d.ts +3 -0
  530. package/dist/src/components/table/table.style.js +702 -0
  531. package/dist/src/components/table/table.types.d.ts +103 -0
  532. package/dist/src/components/table/table.types.js +2 -0
  533. package/dist/src/components/tabs/bundle.js +1782 -0
  534. package/dist/src/components/tabs/bundle.js.gz +0 -0
  535. package/dist/src/components/tabs/index.d.ts +9 -0
  536. package/dist/src/components/tabs/index.js +10 -0
  537. package/dist/src/components/tabs/react.d.ts +50 -0
  538. package/dist/src/components/tabs/react.js +50 -0
  539. package/dist/src/components/tabs/tabs.component.d.ts +100 -0
  540. package/dist/src/components/tabs/tabs.component.js +461 -0
  541. package/dist/src/components/tabs/tabs.constant.d.ts +20 -0
  542. package/dist/src/components/tabs/tabs.constant.js +21 -0
  543. package/dist/src/components/tabs/tabs.style.d.ts +9 -0
  544. package/dist/src/components/tabs/tabs.style.js +577 -0
  545. package/dist/src/components/tabs/tabs.types.d.ts +241 -0
  546. package/dist/src/components/tabs/tabs.types.js +13 -0
  547. package/dist/src/components/tag/bundle.js +108 -0
  548. package/dist/src/components/tag/bundle.js.gz +0 -0
  549. package/dist/src/components/tag/index.d.ts +2 -0
  550. package/dist/src/components/tag/index.js +2 -0
  551. package/dist/src/components/tag/react.d.ts +6 -0
  552. package/dist/src/components/tag/react.js +13 -0
  553. package/dist/src/components/tag/tag.component.d.ts +57 -0
  554. package/dist/src/components/tag/tag.component.js +157 -0
  555. package/dist/src/components/tag/tag.style.d.ts +7 -0
  556. package/dist/src/components/tag/tag.style.js +88 -0
  557. package/dist/src/components/tag/tag.types.d.ts +28 -0
  558. package/dist/src/components/tag/tag.types.js +7 -0
  559. package/dist/src/components/textarea/bundle.js +404 -0
  560. package/dist/src/components/textarea/bundle.js.gz +0 -0
  561. package/dist/src/components/textarea/index.d.ts +8 -0
  562. package/dist/src/components/textarea/index.js +7 -0
  563. package/dist/src/components/textarea/react.d.ts +9 -0
  564. package/dist/src/components/textarea/react.js +16 -0
  565. package/dist/src/components/textarea/textarea.component.d.ts +203 -0
  566. package/dist/src/components/textarea/textarea.component.js +657 -0
  567. package/dist/src/components/textarea/textarea.style.d.ts +59 -0
  568. package/dist/src/components/textarea/textarea.style.js +386 -0
  569. package/dist/src/components/textarea/textarea.types.d.ts +102 -0
  570. package/dist/src/components/textarea/textarea.types.js +14 -0
  571. package/dist/src/components/timeline/bundle.js +261 -0
  572. package/dist/src/components/timeline/bundle.js.gz +0 -0
  573. package/dist/src/components/timeline/index.d.ts +2 -0
  574. package/dist/src/components/timeline/index.js +2 -0
  575. package/dist/src/components/timeline/react.d.ts +3 -0
  576. package/dist/src/components/timeline/react.js +10 -0
  577. package/dist/src/components/timeline/timeline.component.d.ts +109 -0
  578. package/dist/src/components/timeline/timeline.component.js +214 -0
  579. package/dist/src/components/timeline/timeline.style.d.ts +14 -0
  580. package/dist/src/components/timeline/timeline.style.js +234 -0
  581. package/dist/src/components/timeline/timeline.types.d.ts +62 -0
  582. package/dist/src/components/timeline/timeline.types.js +7 -0
  583. package/dist/src/components/timepicker/bundle.js +810 -0
  584. package/dist/src/components/timepicker/bundle.js.gz +0 -0
  585. package/dist/src/components/timepicker/index.d.ts +12 -0
  586. package/dist/src/components/timepicker/index.js +12 -0
  587. package/dist/src/components/timepicker/timepicker.component.d.ts +115 -0
  588. package/dist/src/components/timepicker/timepicker.component.js +743 -0
  589. package/dist/src/components/timepicker/timepicker.constants.d.ts +85 -0
  590. package/dist/src/components/timepicker/timepicker.constants.js +85 -0
  591. package/dist/src/components/timepicker/timepicker.style.d.ts +7 -0
  592. package/dist/src/components/timepicker/timepicker.style.js +568 -0
  593. package/dist/src/components/timepicker/timepicker.style.variables.d.ts +2 -0
  594. package/dist/src/components/timepicker/timepicker.style.variables.js +122 -0
  595. package/dist/src/components/timepicker/timepicker.types.d.ts +161 -0
  596. package/dist/src/components/timepicker/timepicker.types.js +125 -0
  597. package/dist/src/components/toast/bundle.js +393 -0
  598. package/dist/src/components/toast/bundle.js.gz +0 -0
  599. package/dist/src/components/toast/index.d.ts +9 -0
  600. package/dist/src/components/toast/index.js +9 -0
  601. package/dist/src/components/toast/react.d.ts +7 -0
  602. package/dist/src/components/toast/react.js +19 -0
  603. package/dist/src/components/toast/toast.component.d.ts +152 -0
  604. package/dist/src/components/toast/toast.component.js +368 -0
  605. package/dist/src/components/toast/toast.style.d.ts +14 -0
  606. package/dist/src/components/toast/toast.style.js +338 -0
  607. package/dist/src/components/toast/toast.types.d.ts +124 -0
  608. package/dist/src/components/toast/toast.types.js +9 -0
  609. package/dist/src/components/tooltips/bundle.js +123 -0
  610. package/dist/src/components/tooltips/bundle.js.gz +0 -0
  611. package/dist/src/components/tooltips/index.d.ts +2 -0
  612. package/dist/src/components/tooltips/index.js +2 -0
  613. package/dist/src/components/tooltips/react.d.ts +1 -0
  614. package/dist/src/components/tooltips/react.js +2 -0
  615. package/dist/src/components/tooltips/tooltips.component.d.ts +33 -0
  616. package/dist/src/components/tooltips/tooltips.component.js +313 -0
  617. package/dist/src/components/tooltips/tooltips.constant.d.ts +13 -0
  618. package/dist/src/components/tooltips/tooltips.constant.js +15 -0
  619. package/dist/src/components/tooltips/tooltips.style.d.ts +2 -0
  620. package/dist/src/components/tooltips/tooltips.style.js +103 -0
  621. package/dist/src/components/tooltips/tooltips.variables.d.ts +2 -0
  622. package/dist/src/components/tooltips/tooltips.variables.js +14 -0
  623. package/dist/src/components/video/bundle.js +171 -0
  624. package/dist/src/components/video/bundle.js.gz +0 -0
  625. package/dist/src/components/video/index.d.ts +3 -0
  626. package/dist/src/components/video/index.js +3 -0
  627. package/dist/src/components/video/react.d.ts +10 -0
  628. package/dist/src/components/video/react.js +17 -0
  629. package/dist/src/components/video/video.component.d.ts +34 -0
  630. package/dist/src/components/video/video.component.js +184 -0
  631. package/dist/src/components/video/video.style.d.ts +3 -0
  632. package/dist/src/components/video/video.style.js +124 -0
  633. package/dist/src/components/video/video.types.d.ts +80 -0
  634. package/dist/src/components/video/video.types.js +7 -0
  635. package/package.json +215 -0
  636. package/packages/common/README.md +137 -0
  637. package/packages/common/dist/LICENSE +28 -0
  638. package/packages/common/dist/README.md +137 -0
  639. package/packages/common/dist/VERSIONS.md +4 -0
  640. package/packages/common/dist/constants/index.d.ts +2 -0
  641. package/packages/common/dist/constants/index.d.ts.map +1 -0
  642. package/packages/common/dist/constants/index.js +2 -0
  643. package/packages/common/dist/constants/index.js.map +1 -0
  644. package/packages/common/dist/constants.d.ts +17 -0
  645. package/packages/common/dist/constants.d.ts.map +1 -0
  646. package/packages/common/dist/constants.js +7 -0
  647. package/packages/common/dist/constants.js.map +1 -0
  648. package/packages/common/dist/controllers/index.d.ts +2 -0
  649. package/packages/common/dist/controllers/index.d.ts.map +1 -0
  650. package/packages/common/dist/controllers/index.js +2 -0
  651. package/packages/common/dist/controllers/index.js.map +1 -0
  652. package/packages/common/dist/controllers.d.ts +21 -0
  653. package/packages/common/dist/controllers.d.ts.map +1 -0
  654. package/packages/common/dist/controllers.js +22 -0
  655. package/packages/common/dist/controllers.js.map +1 -0
  656. package/packages/common/dist/index.d.ts +25 -0
  657. package/packages/common/dist/index.d.ts.map +1 -0
  658. package/packages/common/dist/index.js +27 -0
  659. package/packages/common/dist/index.js.map +1 -0
  660. package/packages/common/dist/mixins/index.d.ts +2 -0
  661. package/packages/common/dist/mixins/index.d.ts.map +1 -0
  662. package/packages/common/dist/mixins/index.js +3 -0
  663. package/packages/common/dist/mixins/index.js.map +1 -0
  664. package/packages/common/dist/mixins.d.ts +26 -0
  665. package/packages/common/dist/mixins.d.ts.map +1 -0
  666. package/packages/common/dist/mixins.js +29 -0
  667. package/packages/common/dist/mixins.js.map +1 -0
  668. package/packages/common/dist/shared/base-mixin.d.ts +42 -0
  669. package/packages/common/dist/shared/base-mixin.d.ts.map +1 -0
  670. package/packages/common/dist/shared/base-mixin.js +38 -0
  671. package/packages/common/dist/shared/base-mixin.js.map +1 -0
  672. package/packages/common/dist/shared/constants.d.ts +1 -0
  673. package/packages/common/dist/shared/constants.d.ts.map +1 -0
  674. package/packages/common/dist/shared/constants.js +2 -0
  675. package/packages/common/dist/shared/constants.js.map +1 -0
  676. package/packages/common/dist/shared/controllers/base-validation.controller.d.ts +81 -0
  677. package/packages/common/dist/shared/controllers/base-validation.controller.d.ts.map +1 -0
  678. package/packages/common/dist/shared/controllers/base-validation.controller.js +104 -0
  679. package/packages/common/dist/shared/controllers/base-validation.controller.js.map +1 -0
  680. package/packages/common/dist/shared/controllers/base.controller.d.ts +76 -0
  681. package/packages/common/dist/shared/controllers/base.controller.d.ts.map +1 -0
  682. package/packages/common/dist/shared/controllers/base.controller.js +129 -0
  683. package/packages/common/dist/shared/controllers/base.controller.js.map +1 -0
  684. package/packages/common/dist/shared/controllers/dropdown.controller.d.ts +77 -0
  685. package/packages/common/dist/shared/controllers/dropdown.controller.d.ts.map +1 -0
  686. package/packages/common/dist/shared/controllers/dropdown.controller.js +341 -0
  687. package/packages/common/dist/shared/controllers/dropdown.controller.js.map +1 -0
  688. package/packages/common/dist/shared/controllers/dropdown.interface.d.ts +37 -0
  689. package/packages/common/dist/shared/controllers/dropdown.interface.d.ts.map +1 -0
  690. package/packages/common/dist/shared/controllers/dropdown.interface.js +2 -0
  691. package/packages/common/dist/shared/controllers/dropdown.interface.js.map +1 -0
  692. package/packages/common/dist/shared/controllers/index.d.ts +6 -0
  693. package/packages/common/dist/shared/controllers/index.d.ts.map +1 -0
  694. package/packages/common/dist/shared/controllers/index.js +6 -0
  695. package/packages/common/dist/shared/controllers/index.js.map +1 -0
  696. package/packages/common/dist/shared/controllers/theme.controller.d.ts +48 -0
  697. package/packages/common/dist/shared/controllers/theme.controller.d.ts.map +1 -0
  698. package/packages/common/dist/shared/controllers/theme.controller.js +133 -0
  699. package/packages/common/dist/shared/controllers/theme.controller.js.map +1 -0
  700. package/packages/common/dist/shared/dependency-mixin.d.ts +37 -0
  701. package/packages/common/dist/shared/dependency-mixin.d.ts.map +1 -0
  702. package/packages/common/dist/shared/dependency-mixin.js +141 -0
  703. package/packages/common/dist/shared/dependency-mixin.js.map +1 -0
  704. package/packages/common/dist/shared/event-handler-mixin.d.ts +64 -0
  705. package/packages/common/dist/shared/event-handler-mixin.d.ts.map +1 -0
  706. package/packages/common/dist/shared/event-handler-mixin.js +95 -0
  707. package/packages/common/dist/shared/event-handler-mixin.js.map +1 -0
  708. package/packages/common/dist/shared/index.d.ts +13 -0
  709. package/packages/common/dist/shared/index.d.ts.map +1 -0
  710. package/packages/common/dist/shared/index.js +17 -0
  711. package/packages/common/dist/shared/index.js.map +1 -0
  712. package/packages/common/dist/shared/render-utils.d.ts +103 -0
  713. package/packages/common/dist/shared/render-utils.d.ts.map +1 -0
  714. package/packages/common/dist/shared/render-utils.js +132 -0
  715. package/packages/common/dist/shared/render-utils.js.map +1 -0
  716. package/packages/common/dist/shared/theme-mixin.d.ts +78 -0
  717. package/packages/common/dist/shared/theme-mixin.d.ts.map +1 -0
  718. package/packages/common/dist/shared/theme-mixin.js +194 -0
  719. package/packages/common/dist/shared/theme-mixin.js.map +1 -0
  720. package/packages/common/dist/shared/themes.d.ts +44 -0
  721. package/packages/common/dist/shared/themes.d.ts.map +1 -0
  722. package/packages/common/dist/shared/themes.js +85 -0
  723. package/packages/common/dist/shared/themes.js.map +1 -0
  724. package/packages/common/dist/shared/utils.d.ts +60 -0
  725. package/packages/common/dist/shared/utils.d.ts.map +1 -0
  726. package/packages/common/dist/shared/utils.js +85 -0
  727. package/packages/common/dist/shared/utils.js.map +1 -0
  728. package/packages/common/dist/shared/validation.types.d.ts +108 -0
  729. package/packages/common/dist/shared/validation.types.d.ts.map +1 -0
  730. package/packages/common/dist/shared/validation.types.js +17 -0
  731. package/packages/common/dist/shared/validation.types.js.map +1 -0
  732. package/packages/common/dist/themes/index.d.ts +2 -0
  733. package/packages/common/dist/themes/index.d.ts.map +1 -0
  734. package/packages/common/dist/themes/index.js +2 -0
  735. package/packages/common/dist/themes/index.js.map +1 -0
  736. package/packages/common/dist/themes.d.ts +22 -0
  737. package/packages/common/dist/themes.d.ts.map +1 -0
  738. package/packages/common/dist/themes.js +23 -0
  739. package/packages/common/dist/themes.js.map +1 -0
  740. package/packages/common/dist/utils/index.d.ts +2 -0
  741. package/packages/common/dist/utils/index.d.ts.map +1 -0
  742. package/packages/common/dist/utils/index.js +2 -0
  743. package/packages/common/dist/utils/index.js.map +1 -0
  744. package/packages/common/dist/utils.d.ts +22 -0
  745. package/packages/common/dist/utils.d.ts.map +1 -0
  746. package/packages/common/dist/utils.js +24 -0
  747. package/packages/common/dist/utils.js.map +1 -0
  748. package/packages/themes/README.md +146 -0
  749. package/packages/themes/dist/README.md +146 -0
  750. package/packages/themes/dist/carbon.css +2987 -0
  751. package/packages/themes/dist/default.css +2757 -0
  752. package/packages/themes/dist/editor.css +1063 -0
  753. package/packages/themes/dist/index.cjs +46 -0
  754. package/packages/themes/dist/index.js +46 -0
  755. package/packages/themes/dist/package.json +59 -0
@@ -0,0 +1,1097 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Nuraly, Laabidi Aymen
4
+ * SPDX-License-Identifier: MIT
5
+ */
6
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
7
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
9
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
10
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
11
+ };
12
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
13
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
14
+ return new (P || (P = Promise))(function (resolve, reject) {
15
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
16
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
17
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
18
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
19
+ });
20
+ };
21
+ import { html, LitElement, nothing } from 'lit';
22
+ import { customElement, property, state } from 'lit/decorators.js';
23
+ import { classMap } from 'lit/directives/class-map.js';
24
+ import { unsafeHTML } from 'lit/directives/unsafe-html.js';
25
+ import { localized, msg } from '@lit/localize';
26
+ import styles from './chatbot.style.js';
27
+ import { NuralyUIBaseMixin } from '@nuralyui/common/mixins';
28
+ import { ChatbotSender, ChatbotSize, ChatbotVariant, ChatbotLoadingType, EMPTY_STRING } from './chatbot.types.js';
29
+ import { renderChatbotMain, renderFilePreviewModal } from './templates/index.js';
30
+ /**
31
+ * Enhanced chatbot component powered by ChatbotCoreController.
32
+ *
33
+ * Requires an external ChatbotCoreController to function.
34
+ *
35
+ * @example With ChatbotCoreController
36
+ * ```javascript
37
+ * import { ChatbotCoreController, OpenAIProvider } from '@nuraly/chatbot';
38
+ *
39
+ * const controller = new ChatbotCoreController({
40
+ * provider: new OpenAIProvider(),
41
+ * ui: {
42
+ * onStateChange: (state) => {
43
+ * chatbot.messages = state.messages;
44
+ * chatbot.threads = state.threads;
45
+ * },
46
+ * onTypingStart: () => chatbot.isBotTyping = true,
47
+ * onTypingEnd: () => chatbot.isBotTyping = false
48
+ * }
49
+ * });
50
+ *
51
+ * chatbot.controller = controller;
52
+ * ```
53
+ *
54
+ * @fires nr-chatbot-message-sent - Message sent by user
55
+ * @fires nr-chatbot-input-changed - Input value changed
56
+ */
57
+ let NrChatbotElement = class NrChatbotElement extends NuralyUIBaseMixin(LitElement) {
58
+ constructor() {
59
+ super(...arguments);
60
+ this.requiredComponents = ['nr-input', 'nr-button', 'nr-icon', 'nr-dropdown', 'nr-select', 'nr-modal', 'nr-popconfirm'];
61
+ /** Array of chat messages (synced from controller) */
62
+ this.messages = [];
63
+ /** Current input value */
64
+ this.currentInput = EMPTY_STRING;
65
+ /** Bot typing indicator state */
66
+ this.isBotTyping = false;
67
+ /** Query running state (for stop button) */
68
+ this.isQueryRunning = false;
69
+ /** Array of suggestion objects */
70
+ this.suggestions = [];
71
+ /** Whether chat has started */
72
+ this.chatStarted = false;
73
+ /** Right-to-left text direction */
74
+ this.isRTL = false;
75
+ /** Chatbot size variant */
76
+ this.size = ChatbotSize.Medium;
77
+ /** Chatbot visual variant */
78
+ this.variant = ChatbotVariant.Default;
79
+ /** Loading indicator type */
80
+ this.loadingIndicator = ChatbotLoadingType.Dots;
81
+ /** Loading text message */
82
+ this.loadingText = msg('Agent is working...');
83
+ /** Disable input and interactions */
84
+ this.disabled = false;
85
+ /** Custom placeholder text */
86
+ this.placeholder = msg('Type your message...');
87
+ /** Show send button */
88
+ this.showSendButton = true;
89
+ /** Auto-scroll to new messages */
90
+ this.autoScroll = true;
91
+ /** Show thread sidebar */
92
+ this.showThreads = false;
93
+ /** Enable creation of new threads */
94
+ this.enableThreadCreation = false;
95
+ /** Array of conversation threads */
96
+ this.threads = [];
97
+ /** Chatbot mode (chat, assistant, etc.) */
98
+ this.mode = 'chat';
99
+ /** Enable boxed layout for large widths (ChatGPT-style) */
100
+ this.boxed = false;
101
+ /** Sync active thread ID to URL hash (e.g. #conversation/threadId) */
102
+ this.enableUrlSync = false;
103
+ /** Show messages area (set to false for input-only mode) */
104
+ this.showMessages = true;
105
+ /** Enable file upload functionality */
106
+ this.enableFileUpload = false;
107
+ /** Uploaded files (synced from controller) */
108
+ this.uploadedFiles = [];
109
+ /** Action buttons configuration */
110
+ this.actionButtons = [];
111
+ /** Enable module selection dropdown */
112
+ this.enableModuleSelection = false;
113
+ /** Available modules for selection */
114
+ this.modules = [];
115
+ /** Selected module IDs (for multi-select) */
116
+ this.selectedModules = [];
117
+ /** Module selection label */
118
+ this.moduleSelectionLabel = msg('Select Modules');
119
+ /** Enable artifact mode: code blocks collapse into cards with a preview panel */
120
+ this.enableArtifacts = false;
121
+ this.focused = false;
122
+ this.isArtifactPanelOpen = false;
123
+ this.selectedArtifact = null;
124
+ this.isThreadSidebarOpen = true;
125
+ this.isUrlModalOpen = false;
126
+ this.urlInput = '';
127
+ this.urlModalError = '';
128
+ this.isUrlLoading = false;
129
+ this.selectedUrlFileName = '';
130
+ this.isFilePreviewModalOpen = false;
131
+ this.previewFile = null;
132
+ // Keep track of controller event unsubscriptions
133
+ this.controllerUnsubscribes = [];
134
+ // Artifact panel resize state
135
+ this._artifactResizeBound = false;
136
+ this.toggleThreadSidebar = () => {
137
+ this.isThreadSidebarOpen = !this.isThreadSidebarOpen;
138
+ };
139
+ }
140
+ /** Convert modules to select options */
141
+ get moduleSelectOptions() {
142
+ return this.modules.map(module => ({
143
+ value: module.id,
144
+ label: module.name,
145
+ icon: module.icon,
146
+ disabled: module.enabled === false,
147
+ description: module.description
148
+ }));
149
+ }
150
+ connectedCallback() {
151
+ super.connectedCallback();
152
+ // Setup controller integration
153
+ if (this.controller) {
154
+ this.setupControllerIntegration();
155
+ }
156
+ this.setupUrlSync();
157
+ }
158
+ firstUpdated() {
159
+ var _a, _b, _c, _d;
160
+ // Event delegation for artifact card clicks (injected via unsafeHTML)
161
+ (_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.addEventListener('click', (e) => {
162
+ var _a, _b;
163
+ const target = (_b = (_a = e.target).closest) === null || _b === void 0 ? void 0 : _b.call(_a, '[data-artifact-id]');
164
+ if (target) {
165
+ const artifactId = target.dataset.artifactId;
166
+ if (artifactId)
167
+ this.handleArtifactClick(artifactId);
168
+ }
169
+ });
170
+ // Thread rename edit trigger
171
+ (_b = this.shadowRoot) === null || _b === void 0 ? void 0 : _b.addEventListener('nr-thread-edit', (e) => {
172
+ const detail = e.detail;
173
+ if (detail === null || detail === void 0 ? void 0 : detail.threadId) {
174
+ this._editingThreadId = detail.threadId;
175
+ this.requestUpdate();
176
+ // Focus the input after render
177
+ this.updateComplete.then(() => {
178
+ var _a;
179
+ const input = (_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.thread-item__rename-input');
180
+ if (input) {
181
+ input.focus();
182
+ input.select();
183
+ }
184
+ });
185
+ }
186
+ });
187
+ // Selection card click delegation
188
+ (_c = this.shadowRoot) === null || _c === void 0 ? void 0 : _c.addEventListener('click', (e) => {
189
+ var _a, _b;
190
+ const selTarget = (_b = (_a = e.target).closest) === null || _b === void 0 ? void 0 : _b.call(_a, '[data-selection-value]');
191
+ if (selTarget) {
192
+ const value = selTarget.dataset.selectionValue;
193
+ if (value && this.controller) {
194
+ this.controller.sendMessage(value);
195
+ }
196
+ }
197
+ });
198
+ // Keyboard support for artifact cards and selection cards
199
+ (_d = this.shadowRoot) === null || _d === void 0 ? void 0 : _d.addEventListener('keydown', (e) => {
200
+ var _a, _b, _c, _d;
201
+ const ke = e;
202
+ if (ke.key !== 'Enter' && ke.key !== ' ')
203
+ return;
204
+ const target = (_b = (_a = ke.target).closest) === null || _b === void 0 ? void 0 : _b.call(_a, '[data-artifact-id]');
205
+ if (target) {
206
+ ke.preventDefault();
207
+ const artifactId = target.dataset.artifactId;
208
+ if (artifactId)
209
+ this.handleArtifactClick(artifactId);
210
+ return;
211
+ }
212
+ const selTarget = (_d = (_c = ke.target).closest) === null || _d === void 0 ? void 0 : _d.call(_c, '[data-selection-value]');
213
+ if (selTarget) {
214
+ ke.preventDefault();
215
+ const value = selTarget.dataset.selectionValue;
216
+ if (value && this.controller) {
217
+ this.controller.sendMessage(value);
218
+ }
219
+ }
220
+ });
221
+ }
222
+ disconnectedCallback() {
223
+ var _a;
224
+ super.disconnectedCallback();
225
+ if (this.controller) {
226
+ this.cleanupControllerIntegration();
227
+ }
228
+ this.teardownUrlSync();
229
+ (_a = this._artifactResizeCleanup) === null || _a === void 0 ? void 0 : _a.call(this);
230
+ this._artifactResizeBound = false;
231
+ }
232
+ updated(changedProperties) {
233
+ super.updated(changedProperties);
234
+ // If controller property changed after first render, (re)wire integration
235
+ if (changedProperties.has('controller')) {
236
+ // Clean up listeners from previous controller instance (if any)
237
+ this.cleanupControllerIntegration();
238
+ if (this.controller) {
239
+ this.setupControllerIntegration();
240
+ // Sync current controller state into component immediately
241
+ try {
242
+ const state = this.controller.getState();
243
+ this.handleControllerStateChange(state);
244
+ }
245
+ catch (_a) {
246
+ // no-op if controller not fully ready yet
247
+ }
248
+ // Now that controller is available, resolve URL hash if enableUrlSync is on
249
+ if (this.enableUrlSync) {
250
+ this.handleHashChange();
251
+ }
252
+ }
253
+ }
254
+ // Handle enableUrlSync toggled after connectedCallback
255
+ if (changedProperties.has('enableUrlSync')) {
256
+ if (this.enableUrlSync) {
257
+ this.setupUrlSync();
258
+ }
259
+ else {
260
+ this.teardownUrlSync();
261
+ }
262
+ }
263
+ // When controller is present, ignore externally-set messages/suggestions/threads
264
+ // and always use controller state (prevents parent re-renders from overwriting state)
265
+ if (this.controller && !changedProperties.has('controller')) {
266
+ const dataPropsChanged = changedProperties.has('messages') ||
267
+ changedProperties.has('suggestions') ||
268
+ changedProperties.has('threads');
269
+ if (dataPropsChanged) {
270
+ try {
271
+ const state = this.controller.getState();
272
+ this.handleControllerStateChange(state);
273
+ }
274
+ catch (_b) {
275
+ // no-op if controller not ready
276
+ }
277
+ }
278
+ }
279
+ // Auto-scroll when messages are added or updated
280
+ if (changedProperties.has('messages') && this.autoScroll && this.messages.length > 0) {
281
+ this.scrollToLatestMessage();
282
+ }
283
+ // Attach/detach artifact panel resize handle
284
+ this.updateArtifactPanelResize();
285
+ }
286
+ /**
287
+ * Scroll messages container to the bottom to show the latest message
288
+ */
289
+ scrollToLatestMessage() {
290
+ requestAnimationFrame(() => {
291
+ var _a;
292
+ const messagesContainer = (_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.messages');
293
+ if (messagesContainer) {
294
+ messagesContainer.scrollTop = messagesContainer.scrollHeight;
295
+ }
296
+ });
297
+ }
298
+ setupControllerIntegration() {
299
+ if (!this.controller)
300
+ return;
301
+ // Subscribe to controller events and keep unsubscribe fns
302
+ this.controllerUnsubscribes.push(this.controller.on('state:changed', this.handleControllerStateChange.bind(this)), this.controller.on('message:sent', this.handleControllerMessageSent.bind(this)), this.controller.on('message:received', this.handleControllerMessageReceived.bind(this)), this.controller.on('error', this.handleControllerError.bind(this)));
303
+ }
304
+ cleanupControllerIntegration() {
305
+ // Unsubscribe from previous controller event listeners
306
+ if (this.controllerUnsubscribes.length) {
307
+ try {
308
+ this.controllerUnsubscribes.forEach(unsub => {
309
+ try {
310
+ unsub();
311
+ }
312
+ catch ( /* noop */_a) { /* noop */ }
313
+ });
314
+ }
315
+ finally {
316
+ this.controllerUnsubscribes = [];
317
+ }
318
+ }
319
+ }
320
+ /**
321
+ * Wire up the hashchange listener for URL sync.
322
+ * Safe to call multiple times — will not duplicate listeners.
323
+ */
324
+ setupUrlSync() {
325
+ if (!this.enableUrlSync || this._hashChangeHandler)
326
+ return;
327
+ this._hashChangeHandler = this.handleHashChange.bind(this);
328
+ window.addEventListener('hashchange', this._hashChangeHandler);
329
+ // Attempt to resolve hash immediately (will no-op if controller is not yet set)
330
+ this.handleHashChange();
331
+ }
332
+ /**
333
+ * Remove the hashchange listener for URL sync.
334
+ */
335
+ teardownUrlSync() {
336
+ if (this._hashChangeHandler) {
337
+ window.removeEventListener('hashchange', this._hashChangeHandler);
338
+ this._hashChangeHandler = undefined;
339
+ }
340
+ }
341
+ handleHashChange() {
342
+ const hash = window.location.hash;
343
+ const match = hash.match(/^#conversation\/(.+)$/);
344
+ if (match) {
345
+ const threadId = decodeURIComponent(match[1]);
346
+ if (threadId !== this.activeThreadId && this.controller) {
347
+ this.controller.switchThread(threadId);
348
+ }
349
+ }
350
+ }
351
+ handleControllerStateChange(state) {
352
+ var _a, _b, _c, _d, _e;
353
+ // Sync controller state to component properties
354
+ if (state.messages)
355
+ this.messages = state.messages;
356
+ if (state.threads)
357
+ this.threads = state.threads;
358
+ // Only overwrite suggestions if controller state has non-empty suggestions
359
+ if (state.suggestions && state.suggestions.length > 0) {
360
+ this.suggestions = state.suggestions;
361
+ }
362
+ if (state.currentThreadId)
363
+ this.activeThreadId = state.currentThreadId;
364
+ if (this.enableUrlSync && state.currentThreadId) {
365
+ const newHash = `#conversation/${encodeURIComponent(state.currentThreadId)}`;
366
+ if (window.location.hash !== newHash) {
367
+ history.replaceState(null, '', newHash);
368
+ }
369
+ }
370
+ this.chatStarted = ((_a = state.messages) === null || _a === void 0 ? void 0 : _a.length) > 0;
371
+ this.isBotTyping = state.isTyping || false;
372
+ this.statusText = state.statusText;
373
+ // Keep Stop button in sync with provider processing lifecycle
374
+ this.isQueryRunning = state.isProcessing || false;
375
+ // Sync uploaded files for display
376
+ if (state.uploadedFiles)
377
+ this.uploadedFiles = state.uploadedFiles;
378
+ // Reset artifact panel when switching to a conversation with no artifacts
379
+ if (this.enableArtifacts) {
380
+ const hasArtifacts = (_b = state.messages) === null || _b === void 0 ? void 0 : _b.some((m) => { var _a, _b; return ((_b = (_a = m.metadata) === null || _a === void 0 ? void 0 : _a.artifactIds) === null || _b === void 0 ? void 0 : _b.length) > 0; });
381
+ if (!hasArtifacts) {
382
+ this.isArtifactPanelOpen = false;
383
+ this.selectedArtifact = null;
384
+ }
385
+ }
386
+ // Auto-select the last artifact when a new one appears
387
+ if (this.enableArtifacts && ((_c = state.messages) === null || _c === void 0 ? void 0 : _c.length)) {
388
+ const lastBot = [...state.messages].reverse().find((m) => m.sender === 'bot');
389
+ const artifactIds = (_d = lastBot === null || lastBot === void 0 ? void 0 : lastBot.metadata) === null || _d === void 0 ? void 0 : _d.artifactIds;
390
+ if (artifactIds === null || artifactIds === void 0 ? void 0 : artifactIds.length) {
391
+ const lastId = artifactIds[artifactIds.length - 1];
392
+ if (((_e = this.selectedArtifact) === null || _e === void 0 ? void 0 : _e.id) !== lastId) {
393
+ const plugin = this.getArtifactPlugin();
394
+ const artifact = plugin === null || plugin === void 0 ? void 0 : plugin.getArtifact(lastId);
395
+ if (artifact) {
396
+ this.selectedArtifact = artifact;
397
+ this.isArtifactPanelOpen = true;
398
+ }
399
+ }
400
+ }
401
+ }
402
+ }
403
+ handleControllerMessageSent(_data) {
404
+ this.isQueryRunning = true;
405
+ this.isBotTyping = true;
406
+ }
407
+ handleControllerMessageReceived(_data) {
408
+ // Do not force-reset here; rely on state.isProcessing/isTyping updates
409
+ }
410
+ handleControllerError(data) {
411
+ this.isQueryRunning = false;
412
+ this.isBotTyping = false;
413
+ console.error('Controller error:', data.error);
414
+ }
415
+ render() {
416
+ var _a;
417
+ const templateData = {
418
+ boxed: this.boxed,
419
+ showMessages: this.showMessages,
420
+ messages: this.messages,
421
+ isTyping: this.isBotTyping,
422
+ loadingIndicator: this.loadingIndicator,
423
+ loadingText: this.statusText || this.loadingText,
424
+ chatStarted: this.chatStarted,
425
+ suggestions: this.suggestions,
426
+ inputBox: {
427
+ placeholder: this.placeholder,
428
+ disabled: this.disabled || this.isQueryRunning,
429
+ currentInput: this.currentInput,
430
+ uploadedFiles: this.uploadedFiles,
431
+ isQueryRunning: this.isQueryRunning,
432
+ showSendButton: this.showSendButton,
433
+ enableFileUpload: this.enableFileUpload,
434
+ fileUploadItems: [
435
+ { id: 'upload-file', label: 'Upload File', icon: 'upload' },
436
+ { id: 'upload-url', label: 'Upload from URL', icon: 'link' }
437
+ ],
438
+ enableModuleSelection: this.enableModuleSelection,
439
+ moduleOptions: this.moduleSelectOptions,
440
+ selectedModules: this.selectedModules,
441
+ moduleSelectionLabel: this.moduleSelectionLabel,
442
+ renderModuleDisplay: this.renderModuleSelectedDisplay.bind(this)
443
+ },
444
+ enableThreads: this.showThreads,
445
+ enableThreadCreation: this.enableThreadCreation,
446
+ isThreadSidebarOpen: this.showThreads && this.isThreadSidebarOpen,
447
+ threadSidebar: this.showThreads ? {
448
+ threads: this.threads,
449
+ activeThreadId: this.activeThreadId,
450
+ editingThreadId: this._editingThreadId
451
+ } : undefined,
452
+ isDragging: false,
453
+ enableArtifacts: this.enableArtifacts,
454
+ artifactPanel: this.enableArtifacts ? {
455
+ artifact: this.selectedArtifact,
456
+ isOpen: this.isArtifactPanelOpen,
457
+ renderContent: (_a = this.renderArtifactContent) !== null && _a !== void 0 ? _a : this.getPluginArtifactRenderer()
458
+ } : undefined,
459
+ urlModal: this.isUrlModalOpen ? {
460
+ isOpen: this.isUrlModalOpen,
461
+ urlInput: this.urlInput,
462
+ isLoading: this.isUrlLoading,
463
+ error: this.urlModalError,
464
+ selectedFileName: this.selectedUrlFileName
465
+ } : undefined
466
+ };
467
+ const templateHandlers = {
468
+ message: {
469
+ onRetry: this.handleRetry.bind(this),
470
+ onRetryKeydown: () => { },
471
+ onCopy: this.handleCopyMessage.bind(this),
472
+ onCopyKeydown: () => { },
473
+ onFileClick: this.handleFilePreview.bind(this)
474
+ },
475
+ suggestion: {
476
+ onClick: this.handleSuggestionClick.bind(this),
477
+ onKeydown: () => { }
478
+ },
479
+ inputBox: {
480
+ onInput: this.handleContentEditableInput.bind(this),
481
+ onKeydown: this.handleKeyDown.bind(this),
482
+ onFocus: this.handleInputFocus.bind(this),
483
+ onBlur: this.handleInputBlur.bind(this),
484
+ onSend: this.handleSendMessage.bind(this),
485
+ onStop: this.handleStopQuery.bind(this),
486
+ onSendKeydown: () => { },
487
+ onFileDropdownClick: this.handleFileDropdownClick.bind(this),
488
+ onModuleChange: this.handleModuleSelectionChange.bind(this),
489
+ onFileRemove: this.handleFileRemove.bind(this),
490
+ onFileClick: this.handleFilePreview.bind(this)
491
+ },
492
+ threadSidebar: this.showThreads ? {
493
+ onCreateNew: () => { var _a; (_a = this.controller) === null || _a === void 0 ? void 0 : _a.createThread('New Chat'); },
494
+ onSelectThread: (threadId) => {
495
+ var _a;
496
+ if (this.enableUrlSync) {
497
+ history.pushState(null, '', `#conversation/${encodeURIComponent(threadId)}`);
498
+ }
499
+ (_a = this.controller) === null || _a === void 0 ? void 0 : _a.switchThread(threadId);
500
+ },
501
+ onDeleteThread: (threadId) => { var _a; (_a = this.controller) === null || _a === void 0 ? void 0 : _a.deleteThread(threadId); },
502
+ onBookmarkThread: (threadId) => { var _a; (_a = this.controller) === null || _a === void 0 ? void 0 : _a.bookmarkThread(threadId); },
503
+ onRenameThread: (threadId, newTitle) => {
504
+ var _a;
505
+ (_a = this.controller) === null || _a === void 0 ? void 0 : _a.renameThread(threadId, newTitle);
506
+ this._editingThreadId = undefined;
507
+ }
508
+ } : undefined,
509
+ fileUploadArea: {
510
+ onDrop: () => { },
511
+ onDragOver: () => { },
512
+ onDragLeave: () => { }
513
+ },
514
+ urlModal: this.isUrlModalOpen ? {
515
+ onClose: this.handleUrlModalClose.bind(this),
516
+ onUrlInputChange: this.handleUrlInputChange.bind(this),
517
+ onUrlInputKeydown: this.handleUrlInputKeydown.bind(this),
518
+ onConfirm: this.handleUrlConfirm.bind(this),
519
+ onAttachFile: this.handleUrlAttachFile.bind(this)
520
+ } : undefined,
521
+ artifactPanel: this.enableArtifacts ? {
522
+ onClose: this.handleArtifactPanelClose.bind(this),
523
+ onCopy: this.handleArtifactCopy.bind(this)
524
+ } : undefined,
525
+ onToggleThreadSidebar: this.showThreads ? this.toggleThreadSidebar.bind(this) : undefined
526
+ };
527
+ return html `
528
+ <div
529
+ class="chat-container ${classMap({
530
+ 'chat-container--with-threads': this.showThreads,
531
+ 'chat-container--disabled': this.disabled,
532
+ 'chat-container--focused': this.focused,
533
+ 'chat-container--boxed': this.boxed
534
+ })}"
535
+ dir=${this.isRTL ? 'rtl' : 'ltr'}
536
+ data-size="${this.size}"
537
+ data-variant="${this.variant}"
538
+ data-theme="${this.currentTheme}"
539
+ data-mode="${this.mode}"
540
+ part="chat-container">
541
+
542
+ ${renderChatbotMain(templateData, templateHandlers)}
543
+ </div>
544
+
545
+ ${renderFilePreviewModal({
546
+ isOpen: this.isFilePreviewModalOpen,
547
+ file: this.previewFile
548
+ }, {
549
+ onClose: this.handleFilePreviewModalClose.bind(this)
550
+ })}
551
+ `;
552
+ }
553
+ renderModuleSelectedDisplay() {
554
+ const count = this.selectedModules.length;
555
+ if (count === 0) {
556
+ return html `<span class="module-display-placeholder">${this.moduleSelectionLabel}</span>`;
557
+ }
558
+ if (count === 1) {
559
+ const module = this.modules.find(m => m.id === this.selectedModules[0]);
560
+ return html `
561
+ <span class="module-display-single">
562
+ ${(module === null || module === void 0 ? void 0 : module.icon) ? html `<nr-icon name="${module.icon}" size="small"></nr-icon>` : nothing}
563
+ ${(module === null || module === void 0 ? void 0 : module.name) || this.selectedModules[0]}
564
+ </span>
565
+ `;
566
+ }
567
+ return html `
568
+ <span class="module-display-multiple">
569
+ ${count} ${msg('modules selected')}
570
+ </span>
571
+ `;
572
+ }
573
+ handleContentEditableInput(e) {
574
+ const target = e.target;
575
+ const input = target.textContent || '';
576
+ this.currentInput = input;
577
+ this.dispatchEventWithMetadata('nr-chatbot-input-changed', { metadata: { value: input } });
578
+ }
579
+ handleInputFocus(e) {
580
+ this.focused = true;
581
+ this.dispatchEventWithMetadata('nr-chatbot-input-focused', { metadata: { event: e } });
582
+ }
583
+ handleInputBlur(e) {
584
+ this.focused = false;
585
+ this.dispatchEventWithMetadata('nr-chatbot-input-blurred', { metadata: { event: e } });
586
+ }
587
+ clearInput() {
588
+ var _a;
589
+ this.currentInput = EMPTY_STRING;
590
+ const inputElement = (_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.input-box__input');
591
+ if (inputElement) {
592
+ inputElement.textContent = '';
593
+ }
594
+ }
595
+ /**
596
+ * Focus the input element (called by controller via UI callback)
597
+ */
598
+ focusInput() {
599
+ var _a;
600
+ const inputElement = (_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.input-box__input');
601
+ if (inputElement) {
602
+ inputElement.focus();
603
+ }
604
+ }
605
+ handleKeyDown(e) {
606
+ if (e.key === 'Enter' && !e.shiftKey) {
607
+ e.preventDefault();
608
+ this.handleSendMessage();
609
+ }
610
+ }
611
+ handleSendMessage() {
612
+ if (!this.currentInput.trim() || this.disabled)
613
+ return;
614
+ if (!this.controller) {
615
+ console.warn('nr-chatbot: No controller is attached; message will not be sent.');
616
+ return;
617
+ }
618
+ // Use controller to send message
619
+ const filesToAttach = this.uploadedFiles && this.uploadedFiles.length > 0 ? [...this.uploadedFiles] : undefined;
620
+ this.controller.sendMessage(this.currentInput.trim(), {
621
+ files: filesToAttach,
622
+ metadata: {
623
+ selectedModules: this.selectedModules
624
+ }
625
+ });
626
+ // Note: Don't clear files here - they need to be available in the context for buildPayload
627
+ // Files will be cleared after the message is successfully processed
628
+ this.clearInput();
629
+ this.chatStarted = true;
630
+ this.dispatchEventWithMetadata('nr-chatbot-message-sent', {
631
+ metadata: { text: this.currentInput }
632
+ });
633
+ }
634
+ handleStopQuery() {
635
+ var _a;
636
+ try {
637
+ (_a = this.controller) === null || _a === void 0 ? void 0 : _a.stop();
638
+ }
639
+ catch (e) {
640
+ console.warn('nr-chatbot: stop failed', e);
641
+ }
642
+ this.dispatchEventWithMetadata('nr-chatbot-query-stopped', {
643
+ metadata: { action: 'stop' }
644
+ });
645
+ }
646
+ handleRetry(message) {
647
+ if (message.text) {
648
+ this.currentInput = message.text;
649
+ this.handleSendMessage();
650
+ }
651
+ }
652
+ handleCopyMessage(message) {
653
+ const text = message.text;
654
+ if (!text)
655
+ return;
656
+ const onSuccess = () => {
657
+ this.dispatchEventWithMetadata('nr-chatbot-message-copied', {
658
+ metadata: { messageId: message.id }
659
+ });
660
+ };
661
+ if (navigator.clipboard) {
662
+ navigator.clipboard.writeText(text).then(onSuccess).catch(() => {
663
+ this.copyViaFallback(text, onSuccess);
664
+ });
665
+ }
666
+ else {
667
+ // Fallback for non-secure contexts (e.g. localhost, local domains without HTTPS)
668
+ this.copyViaFallback(text, onSuccess);
669
+ }
670
+ }
671
+ /**
672
+ * Fallback copy method for non-secure contexts where navigator.clipboard is unavailable.
673
+ * Uses a hidden textarea + execCommand('copy') which, while deprecated, is the only
674
+ * option when the Clipboard API is not available (HTTP origins, older browsers).
675
+ */
676
+ copyViaFallback(text, onSuccess) {
677
+ const textarea = document.createElement('textarea');
678
+ textarea.value = text;
679
+ textarea.style.position = 'fixed';
680
+ textarea.style.left = '-9999px';
681
+ textarea.style.top = '-9999px';
682
+ document.body.appendChild(textarea);
683
+ textarea.focus();
684
+ textarea.select();
685
+ try {
686
+ document.execCommand('copy'); // NOSONAR: required fallback for non-secure contexts
687
+ onSuccess();
688
+ }
689
+ catch (_a) {
690
+ // copy failed silently
691
+ }
692
+ textarea.remove();
693
+ }
694
+ handleSuggestionClick(suggestion) {
695
+ this.currentInput = suggestion.text;
696
+ this.handleSendMessage();
697
+ this.dispatchEventWithMetadata('nr-chatbot-suggestion-clicked', {
698
+ metadata: { suggestion }
699
+ });
700
+ }
701
+ handleModuleSelectionChange(e) {
702
+ const selectedValues = e.detail.value;
703
+ this.selectedModules = selectedValues;
704
+ this.dispatchEventWithMetadata('nr-chatbot-modules-selected', {
705
+ metadata: { modules: selectedValues }
706
+ });
707
+ }
708
+ handleFileDropdownClick(e) {
709
+ const item = e.detail.item;
710
+ const itemId = item.id;
711
+ if (itemId === 'upload-file') {
712
+ this.openFileDialog();
713
+ }
714
+ else if (itemId === 'upload-url') {
715
+ this.openUrlModal();
716
+ }
717
+ }
718
+ openFileDialog() {
719
+ const input = document.createElement('input');
720
+ input.type = 'file';
721
+ input.multiple = true;
722
+ // Accept common file types
723
+ input.accept = 'image/*,application/pdf,text/*,video/*,audio/*';
724
+ input.addEventListener('change', (e) => __awaiter(this, void 0, void 0, function* () {
725
+ var _a;
726
+ const target = e.target;
727
+ if (target.files && target.files.length > 0) {
728
+ const filesArray = Array.from(target.files);
729
+ yield ((_a = this.controller) === null || _a === void 0 ? void 0 : _a.uploadFiles(filesArray));
730
+ }
731
+ }));
732
+ input.click();
733
+ }
734
+ openUrlModal() {
735
+ this.isUrlModalOpen = true;
736
+ this.urlInput = '';
737
+ this.urlModalError = '';
738
+ this.selectedUrlFileName = '';
739
+ }
740
+ handleUrlModalClose() {
741
+ this.isUrlModalOpen = false;
742
+ this.urlInput = '';
743
+ this.urlModalError = '';
744
+ this.isUrlLoading = false;
745
+ this.selectedUrlFileName = '';
746
+ }
747
+ handleUrlInputChange(e) {
748
+ const target = e.target;
749
+ this.urlInput = target.value;
750
+ this.urlModalError = '';
751
+ }
752
+ handleUrlInputKeydown(e) {
753
+ if (e.key === 'Enter') {
754
+ e.preventDefault();
755
+ this.handleUrlAttachFile();
756
+ }
757
+ }
758
+ handleUrlConfirm() {
759
+ this.handleUrlModalClose();
760
+ }
761
+ handleUrlAttachFile() {
762
+ return __awaiter(this, void 0, void 0, function* () {
763
+ if (!this.urlInput.trim()) {
764
+ this.urlModalError = 'Please enter a URL';
765
+ return;
766
+ }
767
+ this.isUrlLoading = true;
768
+ this.urlModalError = '';
769
+ try {
770
+ const response = yield fetch(this.urlInput);
771
+ if (!response.ok) {
772
+ throw new Error(`Failed to fetch file: ${response.statusText}`);
773
+ }
774
+ const blob = yield response.blob();
775
+ const filename = this.urlInput.split('/').pop() || 'downloaded-file';
776
+ const file = new File([blob], filename, { type: blob.type });
777
+ this.selectedUrlFileName = filename;
778
+ // Upload the file through the controller
779
+ if (this.controller) {
780
+ yield this.controller.uploadFiles([file]);
781
+ }
782
+ this.isUrlLoading = false;
783
+ // Close modal after short delay to show success
784
+ setTimeout(() => {
785
+ this.handleUrlModalClose();
786
+ }, 1000);
787
+ }
788
+ catch (error) {
789
+ this.isUrlLoading = false;
790
+ this.urlModalError = error instanceof Error ? error.message : 'Failed to load file from URL';
791
+ }
792
+ });
793
+ }
794
+ handleFileRemove(fileId) {
795
+ var _a;
796
+ (_a = this.controller) === null || _a === void 0 ? void 0 : _a.removeFile(fileId);
797
+ }
798
+ handleFilePreview(file) {
799
+ this.previewFile = file;
800
+ this.isFilePreviewModalOpen = true;
801
+ }
802
+ handleArtifactClick(artifactId) {
803
+ if (!this.enableArtifacts || !this.controller)
804
+ return;
805
+ // Find the ArtifactPlugin instance on the controller
806
+ const plugin = this.getArtifactPlugin();
807
+ if (!plugin)
808
+ return;
809
+ const artifact = plugin.getArtifact(artifactId);
810
+ if (artifact) {
811
+ this.selectedArtifact = artifact;
812
+ this.isArtifactPanelOpen = true;
813
+ }
814
+ }
815
+ handleArtifactPanelClose() {
816
+ this.isArtifactPanelOpen = false;
817
+ this.selectedArtifact = null;
818
+ }
819
+ /** Attach drag-to-resize on the artifact panel's left edge handle. */
820
+ updateArtifactPanelResize() {
821
+ var _a, _b, _c;
822
+ const handle = (_a = this.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.artifact-panel__resize-handle');
823
+ const panel = (_b = this.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('.artifact-panel');
824
+ // Panel gone → clean up
825
+ if (!handle || !panel) {
826
+ (_c = this._artifactResizeCleanup) === null || _c === void 0 ? void 0 : _c.call(this);
827
+ this._artifactResizeBound = false;
828
+ return;
829
+ }
830
+ // Already wired to this handle → skip
831
+ if (this._artifactResizeBound)
832
+ return;
833
+ this._artifactResizeBound = true;
834
+ let dragging = false;
835
+ let startX = 0;
836
+ let startWidth = 0;
837
+ const onMouseMove = (e) => {
838
+ if (!dragging)
839
+ return;
840
+ // Dragging left makes the panel wider (negative dx → wider)
841
+ const dx = e.clientX - startX;
842
+ const container = panel.parentElement;
843
+ const maxWidth = container ? container.getBoundingClientRect().width * 0.85 : 1200;
844
+ const minWidth = Number.parseInt(getComputedStyle(panel).minWidth, 10) || 300;
845
+ const newWidth = Math.max(minWidth, Math.min(startWidth - dx, maxWidth));
846
+ panel.style.width = `${newWidth}px`;
847
+ };
848
+ const onMouseUp = () => {
849
+ if (!dragging)
850
+ return;
851
+ dragging = false;
852
+ handle.classList.remove('artifact-panel__resize-handle--active');
853
+ document.body.style.cursor = '';
854
+ document.body.style.userSelect = '';
855
+ document.removeEventListener('mousemove', onMouseMove);
856
+ document.removeEventListener('mouseup', onMouseUp);
857
+ };
858
+ const onMouseDown = (e) => {
859
+ e.preventDefault();
860
+ dragging = true;
861
+ startX = e.clientX;
862
+ startWidth = panel.getBoundingClientRect().width;
863
+ handle.classList.add('artifact-panel__resize-handle--active');
864
+ document.body.style.cursor = 'col-resize';
865
+ document.body.style.userSelect = 'none';
866
+ document.addEventListener('mousemove', onMouseMove);
867
+ document.addEventListener('mouseup', onMouseUp);
868
+ };
869
+ handle.addEventListener('mousedown', onMouseDown);
870
+ this._artifactResizeCleanup = () => {
871
+ handle.removeEventListener('mousedown', onMouseDown);
872
+ onMouseUp(); // release any in-flight drag
873
+ };
874
+ }
875
+ handleArtifactCopy(artifact) {
876
+ const text = artifact.content;
877
+ if (!text)
878
+ return;
879
+ if (navigator.clipboard) {
880
+ navigator.clipboard.writeText(text).catch(() => {
881
+ this.copyViaFallback(text, () => { });
882
+ });
883
+ }
884
+ else {
885
+ this.copyViaFallback(text, () => { });
886
+ }
887
+ }
888
+ getArtifactPlugin() {
889
+ var _a;
890
+ // Controller stores plugins as Map<string, ChatbotPlugin> in protected field
891
+ try {
892
+ const pluginsMap = (_a = this.controller) === null || _a === void 0 ? void 0 : _a.plugins;
893
+ if (pluginsMap && typeof pluginsMap.get === 'function') {
894
+ return pluginsMap.get('artifact');
895
+ }
896
+ return undefined;
897
+ }
898
+ catch (_b) {
899
+ return undefined;
900
+ }
901
+ }
902
+ /**
903
+ * Look through registered plugins for one that provides renderArtifactContent.
904
+ * Returns a TemplateResult wrapper if found, undefined otherwise.
905
+ * The wrapper returns undefined for artifacts the plugin doesn't handle,
906
+ * so the template falls back to the default renderer.
907
+ */
908
+ getPluginArtifactRenderer() {
909
+ var _a;
910
+ try {
911
+ const pluginsMap = (_a = this.controller) === null || _a === void 0 ? void 0 : _a.plugins;
912
+ if (!pluginsMap || typeof pluginsMap.values !== 'function')
913
+ return undefined;
914
+ for (const plugin of pluginsMap.values()) {
915
+ if (typeof plugin.renderArtifactContent === 'function') {
916
+ return (artifact) => {
917
+ const htmlStr = plugin.renderArtifactContent(artifact);
918
+ // Empty string → plugin doesn't handle this artifact → fall back to default
919
+ if (!htmlStr)
920
+ return undefined;
921
+ return html `${unsafeHTML(htmlStr)}`;
922
+ };
923
+ }
924
+ }
925
+ return undefined;
926
+ }
927
+ catch (_b) {
928
+ return undefined;
929
+ }
930
+ }
931
+ handleFilePreviewModalClose() {
932
+ this.isFilePreviewModalOpen = false;
933
+ this.previewFile = null;
934
+ }
935
+ /**
936
+ * Public API: Add a message to the chat
937
+ */
938
+ addMessage(message) {
939
+ var _a;
940
+ const fullMessage = Object.assign({ id: message.id || `msg-${Date.now()}`, sender: message.sender || ChatbotSender.User, text: message.text || '', timestamp: message.timestamp || new Date().toISOString() }, message);
941
+ (_a = this.controller) === null || _a === void 0 ? void 0 : _a.addMessage(fullMessage);
942
+ this.chatStarted = true;
943
+ return fullMessage;
944
+ }
945
+ /**
946
+ * Public API: Clear all messages
947
+ */
948
+ clearMessages() {
949
+ this.messages = [];
950
+ this.chatStarted = false;
951
+ }
952
+ };
953
+ NrChatbotElement.styles = styles;
954
+ __decorate([
955
+ property({ type: Array })
956
+ ], NrChatbotElement.prototype, "messages", void 0);
957
+ __decorate([
958
+ property({ type: String })
959
+ ], NrChatbotElement.prototype, "currentInput", void 0);
960
+ __decorate([
961
+ property({ type: Boolean })
962
+ ], NrChatbotElement.prototype, "isBotTyping", void 0);
963
+ __decorate([
964
+ property({ type: Boolean })
965
+ ], NrChatbotElement.prototype, "isQueryRunning", void 0);
966
+ __decorate([
967
+ property({ type: Array })
968
+ ], NrChatbotElement.prototype, "suggestions", void 0);
969
+ __decorate([
970
+ property({ type: Boolean })
971
+ ], NrChatbotElement.prototype, "chatStarted", void 0);
972
+ __decorate([
973
+ property({ type: Boolean })
974
+ ], NrChatbotElement.prototype, "isRTL", void 0);
975
+ __decorate([
976
+ property({ type: String })
977
+ ], NrChatbotElement.prototype, "size", void 0);
978
+ __decorate([
979
+ property({ type: String })
980
+ ], NrChatbotElement.prototype, "variant", void 0);
981
+ __decorate([
982
+ property({ type: String })
983
+ ], NrChatbotElement.prototype, "loadingIndicator", void 0);
984
+ __decorate([
985
+ property({ type: String })
986
+ ], NrChatbotElement.prototype, "loadingText", void 0);
987
+ __decorate([
988
+ property({ type: Boolean })
989
+ ], NrChatbotElement.prototype, "disabled", void 0);
990
+ __decorate([
991
+ property({ type: String })
992
+ ], NrChatbotElement.prototype, "placeholder", void 0);
993
+ __decorate([
994
+ property({ type: Boolean })
995
+ ], NrChatbotElement.prototype, "showSendButton", void 0);
996
+ __decorate([
997
+ property({ type: Boolean })
998
+ ], NrChatbotElement.prototype, "autoScroll", void 0);
999
+ __decorate([
1000
+ property({ type: Boolean })
1001
+ ], NrChatbotElement.prototype, "showThreads", void 0);
1002
+ __decorate([
1003
+ property({ type: Boolean })
1004
+ ], NrChatbotElement.prototype, "enableThreadCreation", void 0);
1005
+ __decorate([
1006
+ property({ type: Array })
1007
+ ], NrChatbotElement.prototype, "threads", void 0);
1008
+ __decorate([
1009
+ property({ type: String })
1010
+ ], NrChatbotElement.prototype, "activeThreadId", void 0);
1011
+ __decorate([
1012
+ property({ type: String })
1013
+ ], NrChatbotElement.prototype, "mode", void 0);
1014
+ __decorate([
1015
+ property({ type: Boolean, reflect: true })
1016
+ ], NrChatbotElement.prototype, "boxed", void 0);
1017
+ __decorate([
1018
+ property({ type: Boolean })
1019
+ ], NrChatbotElement.prototype, "enableUrlSync", void 0);
1020
+ __decorate([
1021
+ property({ type: Boolean })
1022
+ ], NrChatbotElement.prototype, "showMessages", void 0);
1023
+ __decorate([
1024
+ property({ type: Boolean })
1025
+ ], NrChatbotElement.prototype, "enableFileUpload", void 0);
1026
+ __decorate([
1027
+ property({ type: Array })
1028
+ ], NrChatbotElement.prototype, "uploadedFiles", void 0);
1029
+ __decorate([
1030
+ property({ type: Array })
1031
+ ], NrChatbotElement.prototype, "actionButtons", void 0);
1032
+ __decorate([
1033
+ property({ type: Boolean })
1034
+ ], NrChatbotElement.prototype, "enableModuleSelection", void 0);
1035
+ __decorate([
1036
+ property({ type: Array })
1037
+ ], NrChatbotElement.prototype, "modules", void 0);
1038
+ __decorate([
1039
+ property({ type: Array })
1040
+ ], NrChatbotElement.prototype, "selectedModules", void 0);
1041
+ __decorate([
1042
+ property({ type: String })
1043
+ ], NrChatbotElement.prototype, "moduleSelectionLabel", void 0);
1044
+ __decorate([
1045
+ property({ type: Boolean })
1046
+ ], NrChatbotElement.prototype, "enableArtifacts", void 0);
1047
+ __decorate([
1048
+ property({ type: Function })
1049
+ ], NrChatbotElement.prototype, "renderArtifactContent", void 0);
1050
+ __decorate([
1051
+ property({ type: Object })
1052
+ ], NrChatbotElement.prototype, "controller", void 0);
1053
+ __decorate([
1054
+ state()
1055
+ ], NrChatbotElement.prototype, "statusText", void 0);
1056
+ __decorate([
1057
+ state()
1058
+ ], NrChatbotElement.prototype, "focused", void 0);
1059
+ __decorate([
1060
+ state()
1061
+ ], NrChatbotElement.prototype, "isArtifactPanelOpen", void 0);
1062
+ __decorate([
1063
+ state()
1064
+ ], NrChatbotElement.prototype, "selectedArtifact", void 0);
1065
+ __decorate([
1066
+ state()
1067
+ ], NrChatbotElement.prototype, "isThreadSidebarOpen", void 0);
1068
+ __decorate([
1069
+ state()
1070
+ ], NrChatbotElement.prototype, "_editingThreadId", void 0);
1071
+ __decorate([
1072
+ state()
1073
+ ], NrChatbotElement.prototype, "isUrlModalOpen", void 0);
1074
+ __decorate([
1075
+ state()
1076
+ ], NrChatbotElement.prototype, "urlInput", void 0);
1077
+ __decorate([
1078
+ state()
1079
+ ], NrChatbotElement.prototype, "urlModalError", void 0);
1080
+ __decorate([
1081
+ state()
1082
+ ], NrChatbotElement.prototype, "isUrlLoading", void 0);
1083
+ __decorate([
1084
+ state()
1085
+ ], NrChatbotElement.prototype, "selectedUrlFileName", void 0);
1086
+ __decorate([
1087
+ state()
1088
+ ], NrChatbotElement.prototype, "isFilePreviewModalOpen", void 0);
1089
+ __decorate([
1090
+ state()
1091
+ ], NrChatbotElement.prototype, "previewFile", void 0);
1092
+ NrChatbotElement = __decorate([
1093
+ localized(),
1094
+ customElement('nr-chatbot')
1095
+ ], NrChatbotElement);
1096
+ export { NrChatbotElement };
1097
+ //# sourceMappingURL=chatbot.component.js.map