@aakash58/chatbot 1.1.21 → 1.1.24

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 (351) hide show
  1. package/README.md +22 -298
  2. package/esm2022/aakash58-chatbot.mjs +5 -0
  3. package/esm2022/lib/app/chat/chat-ui-state.service.mjs +170 -0
  4. package/esm2022/lib/app/chat/chat.service.mjs +445 -0
  5. package/esm2022/lib/app/chat/components/chat-button/chat-button.component.mjs +50 -0
  6. package/esm2022/lib/app/chat/components/chat-footer/chat-footer.component.mjs +12 -0
  7. package/esm2022/lib/app/chat/components/chat-header/chat-header.component.mjs +66 -0
  8. package/esm2022/lib/app/chat/components/chat-history-sidebar/chat-history-sidebar.component.mjs +186 -0
  9. package/esm2022/lib/app/chat/components/chat-window/chat-window.component.mjs +312 -0
  10. package/esm2022/lib/app/chat/components/message-input/message-input.component.mjs +36 -0
  11. package/esm2022/lib/app/chat/components/message-list/message-list.component.mjs +115 -0
  12. package/esm2022/lib/app/chat/model/chat-history.model.mjs +2 -0
  13. package/esm2022/lib/app/chat/model/chat-request.model.mjs +2 -0
  14. package/esm2022/lib/app/chat/model/chat-response.model.mjs +2 -0
  15. package/esm2022/lib/app/chat/model/chat-session.model.mjs +2 -0
  16. package/esm2022/lib/app/chat/model/chat-stream-message.model.mjs +2 -0
  17. package/esm2022/lib/app/chat/model/chat-stream-response.model.mjs +2 -0
  18. package/esm2022/lib/app/chat/services/chat-api.service.mjs +61 -0
  19. package/esm2022/lib/app/chat/services/chat-audio.service.mjs +50 -0
  20. package/esm2022/lib/app/chat/services/chat-history.service.mjs +252 -0
  21. package/esm2022/lib/app/login/login-form.component.mjs +46 -0
  22. package/esm2022/lib/app/personalization/personalization-dialog.component.mjs +194 -0
  23. package/esm2022/lib/app/personalization/personalization.service.mjs +149 -0
  24. package/esm2022/lib/app/personalization/sections/account/account-section.component.mjs +122 -0
  25. package/esm2022/lib/app/personalization/sections/preferences/color-picker-dialog.component.mjs +86 -0
  26. package/esm2022/lib/app/personalization/sections/preferences/preferences-section.component.mjs +115 -0
  27. package/esm2022/lib/app/personalization/sections/profile/profile-section.component.mjs +29 -0
  28. package/esm2022/lib/app/personalization/sections/settings/setting-section.component.mjs +30 -0
  29. package/esm2022/lib/app/personalization/sections/terms/terms-section.component.mjs +12 -0
  30. package/esm2022/lib/constant/doohbot-constant.mjs +28 -0
  31. package/esm2022/lib/constant/html-entities.mjs +9 -0
  32. package/esm2022/lib/constant/utf8.mjs +10 -0
  33. package/esm2022/lib/core/app-const.mjs +61 -0
  34. package/esm2022/lib/core/auth/account-api.service.mjs +40 -0
  35. package/esm2022/lib/core/auth/auth.service.mjs +391 -0
  36. package/esm2022/lib/core/auth/models/auth-result.model.mjs +3 -0
  37. package/esm2022/lib/core/auth/models/federated-login-request.model.mjs +6 -0
  38. package/esm2022/lib/core/auth/models/login-request.model.mjs +6 -0
  39. package/esm2022/lib/core/auth/storage.service.mjs +110 -0
  40. package/esm2022/lib/core/directives/draggable/draggable-dialog.directive.mjs +112 -0
  41. package/esm2022/lib/core/directives/fullscreen/fullscreen.directive.mjs +55 -0
  42. package/esm2022/lib/core/directives/resizable/resizable-dialog.directive.mjs +179 -0
  43. package/esm2022/lib/core/environments/environment.mjs +15 -0
  44. package/esm2022/lib/core/environments/environment.prod.mjs +15 -0
  45. package/esm2022/lib/core/helpers/crypto-helper.service.mjs +52 -0
  46. package/esm2022/lib/core/http/http-stream.service.mjs +97 -0
  47. package/esm2022/lib/core/http/http.service.mjs +103 -0
  48. package/esm2022/lib/core/interceptors/auth.interceptor.mjs +96 -0
  49. package/esm2022/lib/core/interceptors/license.interceptor.mjs +44 -0
  50. package/esm2022/lib/core/models/api-config.model.mjs +18 -0
  51. package/esm2022/lib/core/models/api-request.model.mjs +2 -0
  52. package/esm2022/lib/core/models/api-response.model.mjs +8 -0
  53. package/esm2022/lib/core/models/doohbot-config.model.mjs +18 -0
  54. package/esm2022/lib/core/models/license.model.mjs +2 -0
  55. package/esm2022/lib/core/models/message.mjs +2 -0
  56. package/esm2022/lib/core/models/theme-config.model.mjs +2 -0
  57. package/esm2022/lib/core/services/core-config.service.mjs +52 -0
  58. package/esm2022/lib/core/services/license.service.mjs +145 -0
  59. package/esm2022/lib/core/services/markdown.service.mjs +64 -0
  60. package/esm2022/lib/core/services/theme.service.mjs +248 -0
  61. package/esm2022/lib/core/types/auth-mode.type.mjs +2 -0
  62. package/esm2022/lib/core/types/auth-status.type.mjs +5 -0
  63. package/esm2022/lib/core/types/chat-stream.type.mjs +2 -0
  64. package/esm2022/lib/core/types/message-role.type.mjs +2 -0
  65. package/esm2022/lib/core/types/prompt-mode.type.mjs +5 -0
  66. package/esm2022/lib/core/types/snackbar-error.type.mjs +5 -0
  67. package/esm2022/lib/core/types/tenant-resolution-strategy.type.mjs +2 -0
  68. package/esm2022/lib/core/utils/logger.service.mjs +42 -0
  69. package/esm2022/lib/doohbot-input.mjs +20 -0
  70. package/esm2022/lib/doohbot.component.mjs +444 -0
  71. package/esm2022/lib/predefined_messages.mjs +15 -0
  72. package/esm2022/lib/shared/chips/chips.component.mjs +28 -0
  73. package/esm2022/lib/shared/dialog/dialog.component.mjs +36 -0
  74. package/esm2022/lib/shared/dialog/dialog.service.mjs +64 -0
  75. package/esm2022/lib/shared/dialog/dialog.utils.mjs +85 -0
  76. package/esm2022/lib/shared/dropdown-menu/dropdown-menu.component.mjs +29 -0
  77. package/esm2022/lib/shared/input-dialog/input-dialog.component.mjs +38 -0
  78. package/esm2022/lib/shared/menu-item/menu-item.component.mjs +24 -0
  79. package/esm2022/lib/shared/pipes/simple-markdown.pipe.mjs +27 -0
  80. package/esm2022/lib/shared/snackbar/snackbar.component.mjs +43 -0
  81. package/esm2022/lib/shared/snackbar/snackbar.service.mjs +46 -0
  82. package/esm2022/lib/shared/snackbar/snackbar.utils.mjs +43 -0
  83. package/esm2022/public-api.mjs +37 -0
  84. package/fesm2022/aakash58-chatbot.mjs +5193 -0
  85. package/fesm2022/aakash58-chatbot.mjs.map +1 -0
  86. package/index.d.ts +5 -0
  87. package/lib/app/chat/chat-ui-state.service.d.ts +96 -0
  88. package/lib/app/chat/chat.service.d.ts +88 -0
  89. package/lib/app/chat/components/chat-button/chat-button.component.d.ts +16 -0
  90. package/lib/app/chat/components/chat-footer/chat-footer.component.d.ts +5 -0
  91. package/lib/app/chat/components/chat-header/chat-header.component.d.ts +24 -0
  92. package/lib/app/chat/components/chat-history-sidebar/chat-history-sidebar.component.d.ts +49 -0
  93. package/lib/app/chat/components/chat-window/chat-window.component.d.ts +107 -0
  94. package/lib/app/chat/components/message-input/message-input.component.d.ts +12 -0
  95. package/lib/app/chat/components/message-list/message-list.component.d.ts +40 -0
  96. package/lib/app/chat/model/chat-history.model.d.ts +51 -0
  97. package/lib/app/chat/model/chat-request.model.d.ts +10 -0
  98. package/lib/app/chat/model/chat-response.model.d.ts +9 -0
  99. package/lib/app/chat/model/chat-session.model.d.ts +12 -0
  100. package/{projects/doohbot/src/lib/app/chat/model/chat-stream-message.model.ts → lib/app/chat/model/chat-stream-message.model.d.ts} +5 -6
  101. package/lib/app/chat/model/chat-stream-response.model.d.ts +10 -0
  102. package/lib/app/chat/services/chat-api.service.d.ts +30 -0
  103. package/lib/app/chat/services/chat-audio.service.d.ts +19 -0
  104. package/lib/app/chat/services/chat-history.service.d.ts +53 -0
  105. package/lib/app/login/login-form.component.d.ts +20 -0
  106. package/lib/app/personalization/personalization-dialog.component.d.ts +53 -0
  107. package/lib/app/personalization/personalization.service.d.ts +66 -0
  108. package/lib/app/personalization/sections/account/account-section.component.d.ts +30 -0
  109. package/lib/app/personalization/sections/preferences/color-picker-dialog.component.d.ts +17 -0
  110. package/lib/app/personalization/sections/preferences/preferences-section.component.d.ts +27 -0
  111. package/lib/app/personalization/sections/profile/profile-section.component.d.ts +17 -0
  112. package/lib/app/personalization/sections/settings/setting-section.component.d.ts +10 -0
  113. package/lib/app/personalization/sections/terms/terms-section.component.d.ts +5 -0
  114. package/lib/constant/doohbot-constant.d.ts +12 -0
  115. package/lib/constant/html-entities.d.ts +8 -0
  116. package/lib/constant/utf8.d.ts +9 -0
  117. package/lib/core/app-const.d.ts +11 -0
  118. package/lib/core/auth/account-api.service.d.ts +20 -0
  119. package/lib/core/auth/auth.service.d.ts +90 -0
  120. package/lib/core/auth/models/auth-result.model.d.ts +4 -0
  121. package/lib/core/auth/models/federated-login-request.model.d.ts +5 -0
  122. package/lib/core/auth/models/login-request.model.d.ts +6 -0
  123. package/lib/core/auth/storage.service.d.ts +21 -0
  124. package/lib/core/directives/draggable/draggable-dialog.directive.d.ts +23 -0
  125. package/lib/core/directives/fullscreen/fullscreen.directive.d.ts +14 -0
  126. package/lib/core/directives/resizable/resizable-dialog.directive.d.ts +30 -0
  127. package/lib/core/environments/environment.d.ts +7 -0
  128. package/lib/core/environments/environment.prod.d.ts +7 -0
  129. package/lib/core/helpers/crypto-helper.service.d.ts +12 -0
  130. package/lib/core/http/http-stream.service.d.ts +18 -0
  131. package/lib/core/http/http.service.d.ts +20 -0
  132. package/lib/core/interceptors/auth.interceptor.d.ts +18 -0
  133. package/lib/core/interceptors/license.interceptor.d.ts +11 -0
  134. package/lib/core/models/api-config.model.d.ts +58 -0
  135. package/lib/core/models/api-request.model.d.ts +77 -0
  136. package/lib/core/models/api-response.model.d.ts +6 -0
  137. package/lib/core/models/doohbot-config.model.d.ts +81 -0
  138. package/{projects/doohbot/src/lib/core/models/license.model.ts → lib/core/models/license.model.d.ts} +23 -27
  139. package/lib/core/models/message.d.ts +16 -0
  140. package/lib/core/models/theme-config.model.d.ts +28 -0
  141. package/lib/core/services/core-config.service.d.ts +23 -0
  142. package/lib/core/services/license.service.d.ts +33 -0
  143. package/lib/core/services/markdown.service.d.ts +8 -0
  144. package/lib/core/services/theme.service.d.ts +40 -0
  145. package/{projects/doohbot/src/lib/core/types/auth-mode.type.ts → lib/core/types/auth-mode.type.d.ts} +4 -4
  146. package/{projects/doohbot/src/lib/core/types/auth-status.type.ts → lib/core/types/auth-status.type.d.ts} +4 -5
  147. package/{projects/doohbot/src/lib/core/types/chat-stream.type.ts → lib/core/types/chat-stream.type.d.ts} +4 -4
  148. package/{projects/doohbot/src/lib/core/types/message-role.type.ts → lib/core/types/message-role.type.d.ts} +4 -4
  149. package/{projects/doohbot/src/lib/core/types/prompt-mode.type.ts → lib/core/types/prompt-mode.type.d.ts} +4 -5
  150. package/{projects/doohbot/src/lib/core/types/snackbar-error.type.ts → lib/core/types/snackbar-error.type.d.ts} +4 -5
  151. package/{projects/doohbot/src/lib/core/types/tenant-resolution-strategy.type.ts → lib/core/types/tenant-resolution-strategy.type.d.ts} +4 -4
  152. package/lib/core/utils/logger.service.d.ts +11 -0
  153. package/lib/doohbot-input.d.ts +19 -0
  154. package/lib/doohbot.component.d.ts +108 -0
  155. package/lib/predefined_messages.d.ts +2 -0
  156. package/lib/shared/chips/chips.component.d.ts +10 -0
  157. package/lib/shared/dialog/dialog.component.d.ts +19 -0
  158. package/lib/shared/dialog/dialog.service.d.ts +29 -0
  159. package/lib/shared/dialog/dialog.utils.d.ts +41 -0
  160. package/lib/shared/dropdown-menu/dropdown-menu.component.d.ts +11 -0
  161. package/lib/shared/input-dialog/input-dialog.component.d.ts +20 -0
  162. package/lib/shared/menu-item/menu-item.component.d.ts +9 -0
  163. package/lib/shared/pipes/simple-markdown.pipe.d.ts +10 -0
  164. package/lib/shared/snackbar/snackbar.component.d.ts +14 -0
  165. package/lib/shared/snackbar/snackbar.service.d.ts +19 -0
  166. package/{projects/doohbot/src/lib/shared/snackbar/snackbar.utils.ts → lib/shared/snackbar/snackbar.utils.d.ts} +33 -49
  167. package/package.json +29 -75
  168. package/public-api.d.ts +11 -0
  169. package/.editorconfig +0 -17
  170. package/.vscode/extensions.json +0 -4
  171. package/.vscode/launch.json +0 -41
  172. package/.vscode/settings.json +0 -14
  173. package/.vscode/tasks.json +0 -60
  174. package/angular.json +0 -132
  175. package/docs/PUBLISHING_GUIDE.md +0 -104
  176. package/projects/app-doohbot/public/assets/const/app-const.json +0 -15
  177. package/projects/app-doohbot/public/assets/const/doohclick_license.json +0 -6
  178. package/projects/app-doohbot/public/favicon.ico +0 -0
  179. package/projects/app-doohbot/src/app/app.config.ts +0 -13
  180. package/projects/app-doohbot/src/app/app.html +0 -31
  181. package/projects/app-doohbot/src/app/app.routes.ts +0 -3
  182. package/projects/app-doohbot/src/app/app.scss +0 -279
  183. package/projects/app-doohbot/src/app/app.spec.ts +0 -23
  184. package/projects/app-doohbot/src/app/app.ts +0 -72
  185. package/projects/app-doohbot/src/index.html +0 -15
  186. package/projects/app-doohbot/src/main.ts +0 -6
  187. package/projects/app-doohbot/src/styles.scss +0 -15
  188. package/projects/app-doohbot/tsconfig.app.json +0 -15
  189. package/projects/app-doohbot/tsconfig.spec.json +0 -14
  190. package/projects/doohbot/README.md +0 -64
  191. package/projects/doohbot/docs/README.md +0 -140
  192. package/projects/doohbot/ng-package.json +0 -10
  193. package/projects/doohbot/package.json +0 -16
  194. package/projects/doohbot/src/lib/app/chat/chat-ui-state.service.ts +0 -194
  195. package/projects/doohbot/src/lib/app/chat/chat.service.ts +0 -547
  196. package/projects/doohbot/src/lib/app/chat/components/chat-button/chat-button.component.html +0 -27
  197. package/projects/doohbot/src/lib/app/chat/components/chat-button/chat-button.component.scss +0 -115
  198. package/projects/doohbot/src/lib/app/chat/components/chat-button/chat-button.component.ts +0 -35
  199. package/projects/doohbot/src/lib/app/chat/components/chat-footer/chat-footer.component.html +0 -3
  200. package/projects/doohbot/src/lib/app/chat/components/chat-footer/chat-footer.component.scss +0 -20
  201. package/projects/doohbot/src/lib/app/chat/components/chat-footer/chat-footer.component.ts +0 -12
  202. package/projects/doohbot/src/lib/app/chat/components/chat-header/chat-header.component.html +0 -34
  203. package/projects/doohbot/src/lib/app/chat/components/chat-header/chat-header.component.scss +0 -78
  204. package/projects/doohbot/src/lib/app/chat/components/chat-header/chat-header.component.ts +0 -52
  205. package/projects/doohbot/src/lib/app/chat/components/chat-history-sidebar/chat-history-sidebar.component.html +0 -77
  206. package/projects/doohbot/src/lib/app/chat/components/chat-history-sidebar/chat-history-sidebar.component.scss +0 -346
  207. package/projects/doohbot/src/lib/app/chat/components/chat-history-sidebar/chat-history-sidebar.component.ts +0 -188
  208. package/projects/doohbot/src/lib/app/chat/components/chat-window/chat-window.component.html +0 -146
  209. package/projects/doohbot/src/lib/app/chat/components/chat-window/chat-window.component.scss +0 -187
  210. package/projects/doohbot/src/lib/app/chat/components/chat-window/chat-window.component.ts +0 -256
  211. package/projects/doohbot/src/lib/app/chat/components/message-input/message-input.component.html +0 -17
  212. package/projects/doohbot/src/lib/app/chat/components/message-input/message-input.component.scss +0 -59
  213. package/projects/doohbot/src/lib/app/chat/components/message-input/message-input.component.ts +0 -28
  214. package/projects/doohbot/src/lib/app/chat/components/message-list/message-list.component.html +0 -138
  215. package/projects/doohbot/src/lib/app/chat/components/message-list/message-list.component.scss +0 -436
  216. package/projects/doohbot/src/lib/app/chat/components/message-list/message-list.component.ts +0 -106
  217. package/projects/doohbot/src/lib/app/chat/model/chat-history.model.ts +0 -57
  218. package/projects/doohbot/src/lib/app/chat/model/chat-request.model.ts +0 -17
  219. package/projects/doohbot/src/lib/app/chat/model/chat-response.model.ts +0 -9
  220. package/projects/doohbot/src/lib/app/chat/model/chat-session.model.ts +0 -14
  221. package/projects/doohbot/src/lib/app/chat/model/chat-stream-response.model.ts +0 -12
  222. package/projects/doohbot/src/lib/app/chat/services/chat-api.service.ts +0 -82
  223. package/projects/doohbot/src/lib/app/chat/services/chat-audio.service.ts +0 -44
  224. package/projects/doohbot/src/lib/app/chat/services/chat-history.service.ts +0 -303
  225. package/projects/doohbot/src/lib/app/login/login-form.component.html +0 -80
  226. package/projects/doohbot/src/lib/app/login/login-form.component.scss +0 -189
  227. package/projects/doohbot/src/lib/app/login/login-form.component.ts +0 -45
  228. package/projects/doohbot/src/lib/app/personalization/personalization-dialog.component.html +0 -81
  229. package/projects/doohbot/src/lib/app/personalization/personalization-dialog.component.scss +0 -179
  230. package/projects/doohbot/src/lib/app/personalization/personalization-dialog.component.ts +0 -217
  231. package/projects/doohbot/src/lib/app/personalization/personalization.service.ts +0 -197
  232. package/projects/doohbot/src/lib/app/personalization/sections/account/account-section.component.html +0 -111
  233. package/projects/doohbot/src/lib/app/personalization/sections/account/account-section.component.scss +0 -218
  234. package/projects/doohbot/src/lib/app/personalization/sections/account/account-section.component.ts +0 -121
  235. package/projects/doohbot/src/lib/app/personalization/sections/instructions/instructions-section.component.html +0 -46
  236. package/projects/doohbot/src/lib/app/personalization/sections/instructions/instructions-section.component.scss +0 -138
  237. package/projects/doohbot/src/lib/app/personalization/sections/instructions/instructions-section.component.ts +0 -28
  238. package/projects/doohbot/src/lib/app/personalization/sections/preferences/color-picker-dialog.component.ts +0 -92
  239. package/projects/doohbot/src/lib/app/personalization/sections/preferences/preferences-section.component.html +0 -198
  240. package/projects/doohbot/src/lib/app/personalization/sections/preferences/preferences-section.component.scss +0 -107
  241. package/projects/doohbot/src/lib/app/personalization/sections/preferences/preferences-section.component.ts +0 -103
  242. package/projects/doohbot/src/lib/app/personalization/sections/profile/profile-section.component.html +0 -46
  243. package/projects/doohbot/src/lib/app/personalization/sections/profile/profile-section.component.scss +0 -131
  244. package/projects/doohbot/src/lib/app/personalization/sections/profile/profile-section.component.ts +0 -23
  245. package/projects/doohbot/src/lib/app/personalization/sections/settings/setting-section.component.html +0 -33
  246. package/projects/doohbot/src/lib/app/personalization/sections/settings/setting-section.component.scss +0 -61
  247. package/projects/doohbot/src/lib/app/personalization/sections/settings/setting-section.component.ts +0 -20
  248. package/projects/doohbot/src/lib/app/personalization/sections/terms/terms-section.component.html +0 -30
  249. package/projects/doohbot/src/lib/app/personalization/sections/terms/terms-section.component.scss +0 -59
  250. package/projects/doohbot/src/lib/app/personalization/sections/terms/terms-section.component.ts +0 -12
  251. package/projects/doohbot/src/lib/constant/doohbot-constant.ts +0 -40
  252. package/projects/doohbot/src/lib/constant/html-entities.ts +0 -8
  253. package/projects/doohbot/src/lib/constant/utf8.ts +0 -9
  254. package/projects/doohbot/src/lib/core/app-const.ts +0 -63
  255. package/projects/doohbot/src/lib/core/auth/account-api.service.ts +0 -53
  256. package/projects/doohbot/src/lib/core/auth/auth.service.ts +0 -478
  257. package/projects/doohbot/src/lib/core/auth/models/auth-result.model.ts +0 -4
  258. package/projects/doohbot/src/lib/core/auth/models/federated-login-request.model.ts +0 -5
  259. package/projects/doohbot/src/lib/core/auth/models/login-request.model.ts +0 -6
  260. package/projects/doohbot/src/lib/core/auth/storage.service.ts +0 -113
  261. package/projects/doohbot/src/lib/core/directives/draggable/draggable-dialog.directive.ts +0 -123
  262. package/projects/doohbot/src/lib/core/directives/draggable/draggable-dialog.module.ts +0 -9
  263. package/projects/doohbot/src/lib/core/directives/fullscreen/fullscreen.directive.ts +0 -58
  264. package/projects/doohbot/src/lib/core/directives/fullscreen/fullscreen.module.ts +0 -9
  265. package/projects/doohbot/src/lib/core/directives/popout/popout.directive.ts +0 -169
  266. package/projects/doohbot/src/lib/core/directives/popout/popout.module.ts +0 -9
  267. package/projects/doohbot/src/lib/core/directives/resizable/resizable-dialog.directive.ts +0 -197
  268. package/projects/doohbot/src/lib/core/directives/resizable/resizable-dialog.module.ts +0 -9
  269. package/projects/doohbot/src/lib/core/enums/api-request-state.enum.ts +0 -9
  270. package/projects/doohbot/src/lib/core/environments/environment.prod.ts +0 -14
  271. package/projects/doohbot/src/lib/core/environments/environment.ts +0 -14
  272. package/projects/doohbot/src/lib/core/helpers/crypto-helper.service.ts +0 -72
  273. package/projects/doohbot/src/lib/core/http/http-stream.service.ts +0 -105
  274. package/projects/doohbot/src/lib/core/http/http.service.ts +0 -148
  275. package/projects/doohbot/src/lib/core/interceptors/auth.interceptor.ts +0 -118
  276. package/projects/doohbot/src/lib/core/interceptors/license.interceptor.ts +0 -50
  277. package/projects/doohbot/src/lib/core/models/api-config.model.ts +0 -82
  278. package/projects/doohbot/src/lib/core/models/api-request.model.ts +0 -92
  279. package/projects/doohbot/src/lib/core/models/api-response.model.ts +0 -13
  280. package/projects/doohbot/src/lib/core/models/doohbot-config.model.ts +0 -109
  281. package/projects/doohbot/src/lib/core/models/message.ts +0 -18
  282. package/projects/doohbot/src/lib/core/models/theme-config.model.ts +0 -48
  283. package/projects/doohbot/src/lib/core/services/core-config.service.ts +0 -53
  284. package/projects/doohbot/src/lib/core/services/doohbot-api.service.ts +0 -207
  285. package/projects/doohbot/src/lib/core/services/license.service.ts +0 -171
  286. package/projects/doohbot/src/lib/core/services/markdown.service.ts +0 -73
  287. package/projects/doohbot/src/lib/core/services/theme.service.ts +0 -305
  288. package/projects/doohbot/src/lib/core/utils/error-handler.util.ts +0 -31
  289. package/projects/doohbot/src/lib/core/utils/logger.service.ts +0 -45
  290. package/projects/doohbot/src/lib/doohbot-input.ts +0 -19
  291. package/projects/doohbot/src/lib/doohbot.component.html +0 -34
  292. package/projects/doohbot/src/lib/doohbot.component.scss +0 -17
  293. package/projects/doohbot/src/lib/doohbot.component.spec.ts +0 -31
  294. package/projects/doohbot/src/lib/doohbot.component.ts +0 -545
  295. package/projects/doohbot/src/lib/elements.ts +0 -25
  296. package/projects/doohbot/src/lib/predefined_messages.ts +0 -14
  297. package/projects/doohbot/src/lib/shared/chips/chips.component.html +0 -9
  298. package/projects/doohbot/src/lib/shared/chips/chips.component.scss +0 -29
  299. package/projects/doohbot/src/lib/shared/chips/chips.component.spec.ts +0 -22
  300. package/projects/doohbot/src/lib/shared/chips/chips.component.ts +0 -20
  301. package/projects/doohbot/src/lib/shared/dialog/dialog.component.html +0 -29
  302. package/projects/doohbot/src/lib/shared/dialog/dialog.component.scss +0 -100
  303. package/projects/doohbot/src/lib/shared/dialog/dialog.component.ts +0 -42
  304. package/projects/doohbot/src/lib/shared/dialog/dialog.service.ts +0 -62
  305. package/projects/doohbot/src/lib/shared/dialog/dialog.utils.ts +0 -102
  306. package/projects/doohbot/src/lib/shared/dropdown-menu/dropdown-menu.component.html +0 -30
  307. package/projects/doohbot/src/lib/shared/dropdown-menu/dropdown-menu.component.scss +0 -53
  308. package/projects/doohbot/src/lib/shared/dropdown-menu/dropdown-menu.component.spec.ts +0 -22
  309. package/projects/doohbot/src/lib/shared/dropdown-menu/dropdown-menu.component.ts +0 -35
  310. package/projects/doohbot/src/lib/shared/input-dialog/input-dialog.component.html +0 -16
  311. package/projects/doohbot/src/lib/shared/input-dialog/input-dialog.component.scss +0 -45
  312. package/projects/doohbot/src/lib/shared/input-dialog/input-dialog.component.ts +0 -46
  313. package/projects/doohbot/src/lib/shared/menu-item/menu-item.component.html +0 -5
  314. package/projects/doohbot/src/lib/shared/menu-item/menu-item.component.scss +0 -0
  315. package/projects/doohbot/src/lib/shared/menu-item/menu-item.component.spec.ts +0 -22
  316. package/projects/doohbot/src/lib/shared/menu-item/menu-item.component.ts +0 -20
  317. package/projects/doohbot/src/lib/shared/pipes/simple-markdown.pipe.ts +0 -19
  318. package/projects/doohbot/src/lib/shared/popout/popout.html +0 -1
  319. package/projects/doohbot/src/lib/shared/popout/popout.scss +0 -0
  320. package/projects/doohbot/src/lib/shared/popout/popout.spec.ts +0 -23
  321. package/projects/doohbot/src/lib/shared/popout/popout.ts +0 -11
  322. package/projects/doohbot/src/lib/shared/snackbar/snackbar.component.html +0 -7
  323. package/projects/doohbot/src/lib/shared/snackbar/snackbar.component.scss +0 -125
  324. package/projects/doohbot/src/lib/shared/snackbar/snackbar.component.spec.ts +0 -21
  325. package/projects/doohbot/src/lib/shared/snackbar/snackbar.component.ts +0 -44
  326. package/projects/doohbot/src/lib/shared/snackbar/snackbar.service.ts +0 -54
  327. package/projects/doohbot/src/lib/styles/_theme.scss +0 -132
  328. package/projects/doohbot/src/lib/styles/material-override.scss +0 -302
  329. package/projects/doohbot/src/lib/styles/utility.scss +0 -588
  330. package/projects/doohbot/src/public-api.ts +0 -42
  331. package/projects/doohbot/tsconfig.lib.json +0 -15
  332. package/projects/doohbot/tsconfig.lib.prod.json +0 -11
  333. package/projects/doohbot/tsconfig.spec.json +0 -10
  334. package/proxy.conf.json +0 -8
  335. package/publish.config.js +0 -25
  336. package/scripts/publishing/index.ts +0 -67
  337. package/scripts/publishing/pipeline/01-clean.ts +0 -11
  338. package/scripts/publishing/pipeline/02-validate-pre.ts +0 -8
  339. package/scripts/publishing/pipeline/03-build.ts +0 -7
  340. package/scripts/publishing/pipeline/04-validate-post.ts +0 -8
  341. package/scripts/publishing/pipeline/05-prepare-package.ts +0 -29
  342. package/scripts/publishing/pipeline/06-version.ts +0 -23
  343. package/scripts/publishing/pipeline/07-publish.ts +0 -14
  344. package/scripts/publishing/pipeline/08-cleanup.ts +0 -5
  345. package/scripts/publishing/types.ts +0 -36
  346. package/scripts/publishing/utils/command.ts +0 -15
  347. package/scripts/publishing/utils/config.ts +0 -17
  348. package/scripts/validate.ts +0 -166
  349. package/tsconfig.json +0 -45
  350. package/tsconfig.scripts.json +0 -15
  351. /package/{projects/doohbot/src → src}/assets/bot.mp3 +0 -0
@@ -0,0 +1,108 @@
1
+ import { ElementRef, OnDestroy, OnInit, Renderer2, SimpleChanges } from '@angular/core';
2
+ import { LoginRequest } from './core/auth/models/login-request.model';
3
+ import { DoohbotInput } from './doohbot-input';
4
+ import { DoohbotApiConfig } from './core/models/api-config.model';
5
+ import { DoohbotThemeConfig } from './core/models/theme-config.model';
6
+ import { FullscreenDirective } from './core/directives/fullscreen/fullscreen.directive';
7
+ import { ChatSession } from './app/chat/model/chat-session.model';
8
+ import { AuthStatus } from './core/types/auth-status.type';
9
+ import * as i0 from "@angular/core";
10
+ export declare class Doohbot extends DoohbotInput implements OnInit, OnDestroy {
11
+ private elementRef;
12
+ private renderer;
13
+ config: DoohbotInput;
14
+ buttonStyle?: 'fab' | 'sidebar' | 'sidebar-top' | 'sidebar-bottom';
15
+ enableDrag: boolean;
16
+ enableResize: boolean;
17
+ apiConfig?: DoohbotApiConfig;
18
+ themeConfig: DoohbotThemeConfig | undefined;
19
+ private chatHistory;
20
+ private uiState;
21
+ private themeService;
22
+ private authService;
23
+ private chatService;
24
+ private dialogService;
25
+ private snackbarService;
26
+ private personalization;
27
+ private licenseService;
28
+ isChatOpen: import("@angular/core").WritableSignal<boolean>;
29
+ isHistorySidebarOpen: import("@angular/core").WritableSignal<boolean>;
30
+ isFullScreen: import("@angular/core").WritableSignal<boolean>;
31
+ unreadCount: import("@angular/core").Signal<number>;
32
+ messages: import("@angular/core").WritableSignal<import("./core/models/message").Message[]>;
33
+ isBotTyping: import("@angular/core").WritableSignal<boolean>;
34
+ isStreaming: import("@angular/core").WritableSignal<boolean>;
35
+ messageError: import("@angular/core").Signal<string | null>;
36
+ showSuggestionChips: import("@angular/core").Signal<boolean>;
37
+ chatSessions: import("@angular/core").WritableSignal<ChatSession[]>;
38
+ hasMoreHistory: import("@angular/core").WritableSignal<boolean>;
39
+ isLoadingMore: import("@angular/core").WritableSignal<boolean>;
40
+ isLoadingSessions: import("@angular/core").WritableSignal<boolean>;
41
+ processingSessionId: import("@angular/core").WritableSignal<string | null>;
42
+ isLoggingIn: import("@angular/core").WritableSignal<boolean>;
43
+ authError: import("@angular/core").WritableSignal<string | null>;
44
+ authSuccess: import("@angular/core").WritableSignal<string | null>;
45
+ activeButtonStyle: import("@angular/core").Signal<"fab" | "sidebar" | "sidebar-top" | "sidebar-bottom">;
46
+ userName: string;
47
+ predefinedMessages: string[];
48
+ suggestedMessages: string[];
49
+ maxMessageLength: number;
50
+ readonly DoohbotConst: {
51
+ appTitle: string;
52
+ appSubtitle: string;
53
+ welcomeDescription: string;
54
+ hintText: string;
55
+ errorMessage: string;
56
+ appLogo: string;
57
+ appTextLogo: string;
58
+ appHeaderLogo: string;
59
+ userAvatar: string;
60
+ botAvatar: string;
61
+ };
62
+ private contextCleanup?;
63
+ authStatus: import("@angular/core").WritableSignal<AuthStatus>;
64
+ isAuthenticated: import("@angular/core").WritableSignal<boolean>;
65
+ chatWindowRef: ElementRef;
66
+ fullscreenDirective: FullscreenDirective;
67
+ constructor(elementRef: ElementRef, renderer: Renderer2);
68
+ ngOnInit(): Promise<void>;
69
+ private canAttemptFederatedLogin;
70
+ private initializeUI;
71
+ ngOnChanges(changes: SimpleChanges): void;
72
+ onNormalLogin(credentials: LoginRequest): void;
73
+ onFederatedLogin(token?: string): Promise<void>;
74
+ performLogout(): void;
75
+ toggleChat(): void;
76
+ sendMessage(text: string): Promise<void>;
77
+ onStopRequest(): void;
78
+ clearChat(): void;
79
+ clearMessageError(): void;
80
+ toggleHistorySidebar(): void;
81
+ loadChatSession(session: ChatSession): void;
82
+ deleteSession(sessionId: string): void;
83
+ deleteAllSessions(): void;
84
+ renameSession(event: {
85
+ sessionId: string;
86
+ newTitle: string;
87
+ }): void;
88
+ private loadUserSessions;
89
+ /**
90
+ * Load more sessions for infinite scroll
91
+ */
92
+ loadMoreHistory(): void;
93
+ /**
94
+ * Manually refresh history
95
+ */
96
+ refreshHistory(): void;
97
+ toggleFullScreen(): void;
98
+ trackByMessageId(index: number, item: any): string;
99
+ /**
100
+ * Resolve and update the username from all available sources
101
+ */
102
+ private updateUserName;
103
+ userAvatarUrl(): string;
104
+ ngOnDestroy(): void;
105
+ static ɵfac: i0.ɵɵFactoryDeclaration<Doohbot, never>;
106
+ static ɵcmp: i0.ɵɵComponentDeclaration<Doohbot, "app-doohbot", never, { "config": { "alias": "config"; "required": false; }; "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "enableDrag": { "alias": "enableDrag"; "required": false; }; "enableResize": { "alias": "enableResize"; "required": false; }; "apiConfig": { "alias": "apiConfig"; "required": false; }; "themeConfig": { "alias": "themeConfig"; "required": false; }; }, {}, never, never, true, never>;
107
+ }
108
+ export declare function initializeApp(): Promise<any>;
@@ -0,0 +1,2 @@
1
+ export declare const PredefinedMessages: string[];
2
+ export declare const SuggestedMessages: string[];
@@ -0,0 +1,10 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class Chips {
4
+ messages: string[];
5
+ disabled: boolean;
6
+ chipClick: EventEmitter<string>;
7
+ onChipClick(msg: string): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<Chips, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<Chips, "app-chips", never, { "messages": { "alias": "messages"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "chipClick": "chipClick"; }, never, never, true, never>;
10
+ }
@@ -0,0 +1,19 @@
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import * as i0 from "@angular/core";
3
+ export interface DialogData {
4
+ title: string;
5
+ message: string;
6
+ confirmText?: string;
7
+ cancelText?: string;
8
+ confirmButtonColor?: 'primary' | 'accent' | 'warn';
9
+ icon?: string;
10
+ }
11
+ export declare class DialogComponent {
12
+ dialogRef: MatDialogRef<DialogComponent>;
13
+ data: DialogData;
14
+ constructor(dialogRef: MatDialogRef<DialogComponent>, data: DialogData);
15
+ onCancel(): void;
16
+ onConfirm(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "app-dialog", never, {}, {}, never, never, true, never>;
19
+ }
@@ -0,0 +1,29 @@
1
+ import { MatDialog } from '@angular/material/dialog';
2
+ import { Observable } from 'rxjs';
3
+ import { DialogData } from './dialog.component';
4
+ import { InputDialogData } from '../input-dialog/input-dialog.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare class DialogService {
7
+ private dialog;
8
+ constructor(dialog: MatDialog);
9
+ /**
10
+ * Opens a confirmation dialog with customizable options
11
+ * @param data Configuration for the dialog
12
+ * @returns Observable that emits true if confirmed, false if cancelled
13
+ */
14
+ open(data: DialogData): Observable<boolean>;
15
+ /**
16
+ * Convenience method for delete confirmation dialogs
17
+ * @param itemName Name of the item being deleted
18
+ * @returns Observable that emits true if confirmed, false if cancelled
19
+ */
20
+ confirmDelete(itemName?: string): Observable<boolean>;
21
+ /**
22
+ * Opens a dialog with an input field
23
+ * @param data Configuration for the input dialog
24
+ * @returns Observable that emits the input value if confirmed, null if cancelled
25
+ */
26
+ openInput(data: InputDialogData): Observable<string | null>;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
28
+ static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
29
+ }
@@ -0,0 +1,41 @@
1
+ import { DialogService } from './dialog.service';
2
+ import { Observable } from 'rxjs';
3
+ /**
4
+ * Utility class for common dialog operations
5
+ * Provides reusable dialog configurations for consistency across the application
6
+ */
7
+ export declare class DialogUtils {
8
+ /**
9
+ * Show a logout confirmation dialog
10
+ * @param dialogService The DialogService instance
11
+ * @returns Observable that emits true if confirmed, false if cancelled
12
+ */
13
+ static confirmLogout(dialogService: DialogService): Observable<boolean>;
14
+ /**
15
+ * Show a reset confirmation dialog
16
+ * @param dialogService The DialogService instance
17
+ * @param itemName Optional name of what is being reset (default: 'preferences')
18
+ * @returns Observable that emits true if confirmed, false if cancelled
19
+ */
20
+ static confirmReset(dialogService: DialogService, itemName?: string): Observable<boolean>;
21
+ /**
22
+ * Show a delete confirmation dialog
23
+ * @param dialogService The DialogService instance
24
+ * @param itemName Name of the item being deleted
25
+ * @returns Observable that emits true if confirmed, false if cancelled
26
+ */
27
+ static confirmDelete(dialogService: DialogService, itemName?: string): Observable<boolean>;
28
+ /**
29
+ * Show a clear all confirmation dialog
30
+ * @param dialogService The DialogService instance
31
+ * @param itemName Name of what is being cleared (e.g., 'chat history', 'all sessions')
32
+ * @returns Observable that emits true if confirmed, false if cancelled
33
+ */
34
+ static confirmClearAll(dialogService: DialogService, itemName?: string): Observable<boolean>;
35
+ /**
36
+ * Show a discard changes confirmation dialog
37
+ * @param dialogService The DialogService instance
38
+ * @returns Observable that emits true if confirmed, false if cancelled
39
+ */
40
+ static confirmDiscardChanges(dialogService: DialogService): Observable<boolean>;
41
+ }
@@ -0,0 +1,11 @@
1
+ import { AfterContentInit, ElementRef, QueryList } from '@angular/core';
2
+ import { MenuItem } from '../menu-item/menu-item.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DropdownMenu implements AfterContentInit {
5
+ detailsRef: ElementRef<HTMLDetailsElement>;
6
+ menuItems: QueryList<MenuItem>;
7
+ ngAfterContentInit(): void;
8
+ close(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMenu, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownMenu, "app-dropdown-menu", never, {}, {}, ["menuItems"], ["[trigger]", "*"], true, never>;
11
+ }
@@ -0,0 +1,20 @@
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import * as i0 from "@angular/core";
3
+ export interface InputDialogData {
4
+ title: string;
5
+ message: string;
6
+ initialValue: string;
7
+ placeholder?: string;
8
+ confirmText?: string;
9
+ cancelText?: string;
10
+ }
11
+ export declare class InputDialogComponent {
12
+ dialogRef: MatDialogRef<InputDialogComponent>;
13
+ data: InputDialogData;
14
+ value: string;
15
+ constructor(dialogRef: MatDialogRef<InputDialogComponent>, data: InputDialogData);
16
+ onCancel(): void;
17
+ onConfirm(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputDialogComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputDialogComponent, "app-input-dialog", never, {}, {}, never, never, true, never>;
20
+ }
@@ -0,0 +1,9 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MenuItem {
4
+ href: string;
5
+ selected: EventEmitter<void>;
6
+ onClick(event: Event): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuItem, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<MenuItem, "app-menu-item", never, { "href": { "alias": "href"; "required": false; }; }, { "selected": "selected"; }, never, ["*"], true, never>;
9
+ }
@@ -0,0 +1,10 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { SafeHtml } from '@angular/platform-browser';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MarkdownPipe implements PipeTransform {
5
+ private markdownService;
6
+ private sanitizer;
7
+ transform(value: string | undefined | null): SafeHtml;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<MarkdownPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<MarkdownPipe, "Markdown", true>;
10
+ }
@@ -0,0 +1,14 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { SnackBarError } from '../../core/types/snackbar-error.type';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SnackBar implements OnInit {
5
+ private snackBarRef;
6
+ private data;
7
+ message: string | null;
8
+ type: SnackBarError;
9
+ ngOnInit(): void;
10
+ close(): void;
11
+ get icon(): string;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SnackBar, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<SnackBar, "app-snackbar", never, {}, {}, never, never, true, never>;
14
+ }
@@ -0,0 +1,19 @@
1
+ import { SnackBarError } from '../../core/types/snackbar-error.type';
2
+ import * as i0 from "@angular/core";
3
+ export interface SnackbarConfig {
4
+ message: string;
5
+ duration?: number;
6
+ type: SnackBarError;
7
+ }
8
+ export declare class SnackbarService {
9
+ private snackBar;
10
+ constructor();
11
+ private show;
12
+ success(message: string, duration?: number): void;
13
+ warn(message: string, duration?: number): void;
14
+ error(message: string, duration?: number): void;
15
+ info(message: string, duration?: number): void;
16
+ clear(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarService, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<SnackbarService>;
19
+ }
@@ -1,49 +1,33 @@
1
- import { SnackbarService } from './snackbar.service';
2
-
3
- /**
4
- * Utility class for common snackbar operations
5
- * Provides reusable snackbar configurations for consistency across the application
6
- */
7
- export class SnackbarUtils {
8
- private static service: SnackbarService | null = null;
9
-
10
- /**
11
- * Initialize the utility with a SnackbarService instance
12
- * @param service The SnackbarService instance
13
- */
14
- static init(service: SnackbarService): void {
15
- this.service = service;
16
- }
17
-
18
- /**
19
- * Show a success snackbar
20
- * @param message The message to show
21
- */
22
- static success(message: string): void {
23
- this.service?.success(message);
24
- }
25
-
26
- /**
27
- * Show an error snackbar
28
- * @param message The message to show
29
- */
30
- static error(message: string): void {
31
- this.service?.error(message);
32
- }
33
-
34
- /**
35
- * Show a warning snackbar
36
- * @param message The message to show
37
- */
38
- static warn(message: string): void {
39
- this.service?.warn(message);
40
- }
41
-
42
- /**
43
- * Show an info snackbar
44
- * @param message The message to show
45
- */
46
- static info(message: string): void {
47
- this.service?.info(message);
48
- }
49
- }
1
+ import { SnackbarService } from './snackbar.service';
2
+ /**
3
+ * Utility class for common snackbar operations
4
+ * Provides reusable snackbar configurations for consistency across the application
5
+ */
6
+ export declare class SnackbarUtils {
7
+ private static service;
8
+ /**
9
+ * Initialize the utility with a SnackbarService instance
10
+ * @param service The SnackbarService instance
11
+ */
12
+ static init(service: SnackbarService): void;
13
+ /**
14
+ * Show a success snackbar
15
+ * @param message The message to show
16
+ */
17
+ static success(message: string): void;
18
+ /**
19
+ * Show an error snackbar
20
+ * @param message The message to show
21
+ */
22
+ static error(message: string): void;
23
+ /**
24
+ * Show a warning snackbar
25
+ * @param message The message to show
26
+ */
27
+ static warn(message: string): void;
28
+ /**
29
+ * Show an info snackbar
30
+ * @param message The message to show
31
+ */
32
+ static info(message: string): void;
33
+ }
package/package.json CHANGED
@@ -1,76 +1,30 @@
1
- {
2
- "name": "@aakash58/chatbot",
3
- "version": "1.1.21",
4
- "scripts": {
5
- "ng": "ng",
6
- "start": "ng serve",
7
- "build": "ng build",
8
- "watch": "ng build --watch --configuration development",
9
- "test": "ng test",
10
- "dev": "ng build doohbot && ng serve app-doohbot",
11
- "version-patch": "npm --prefix projects/doohbot version patch",
12
- "version-minor": "npm --prefix projects/doohbot version minor",
13
- "version-major": "npm --prefix projects/doohbot version major",
14
- "build-lib": "ng build doohbot --doohbot",
15
- "validate": "ts-node -P tsconfig.scripts.json scripts/validate.ts",
16
- "validate:root": "ts-node -P tsconfig.scripts.json scripts/validate.ts --root",
17
- "publish": "ts-node -P tsconfig.scripts.json scripts/publishing/index.ts",
18
- "publish:root": "ts-node -P tsconfig.scripts.json scripts/publishing/index.ts --root"
19
- },
20
- "prettier": {
21
- "printWidth": 100,
22
- "singleQuote": true,
23
- "overrides": [
24
- {
25
- "files": "*.html",
26
- "options": {
27
- "parser": "angular"
28
- }
29
- }
30
- ]
31
- },
32
- "private": false,
33
- "dependencies": {
34
- "@angular/animations": "^17.0.0",
35
- "@angular/cdk": "^17.0.0",
36
- "@angular/common": "^17.0.0",
37
- "@angular/compiler": "^17.0.0",
38
- "@angular/core": "^17.0.0",
39
- "@angular/elements": "^17.0.0",
40
- "@angular/forms": "^17.0.0",
41
- "@angular/material": "^17.0.0",
42
- "@angular/platform-browser": "^17.0.0",
43
- "@angular/router": "^17.0.0",
44
- "@auth0/angular-jwt": "^5.2.0",
45
- "@webcomponents/custom-elements": "^1.6.0",
46
- "crypto-js": "^4.2.0",
47
- "rxjs": "~7.8.0",
48
- "tslib": "^2.3.0",
49
- "zone.js": "~0.15.0"
50
- },
51
- "devDependencies": {
52
- "@angular-devkit/build-angular": "^17.0.0",
53
- "@angular/cli": "^17.0.0",
54
- "@angular/compiler": "^17.0.0",
55
- "@angular/compiler-cli": "^17.0.0",
56
- "@types/crypto-js": "^4.2.2",
57
- "@types/jasmine": "~5.1.0",
58
- "@types/node": "^24.10.0",
59
- "jasmine-core": "~5.9.0",
60
- "karma": "~6.4.0",
61
- "karma-chrome-launcher": "~3.2.0",
62
- "karma-coverage": "~2.2.0",
63
- "karma-jasmine": "~5.1.0",
64
- "karma-jasmine-html-reporter": "~2.1.0",
65
- "ng-packagr": "^20.3.0",
66
- "prettier": "^3.6.2",
67
- "ts-node": "^10.9.2",
68
- "typescript": "~5.9.2"
69
- },
70
- "peerDependencies": {
71
- "@angular/common": ">=17.0.0",
72
- "@angular/core": ">=17.0.0",
73
- "@angular/material": ">=17.0.0",
74
- "@angular/cdk": ">=17.0.0"
75
- }
1
+ {
2
+ "name": "@aakash58/chatbot",
3
+ "version": "1.1.24",
4
+ "description": "version support 17+",
5
+ "peerDependencies": {
6
+ "@angular/common": ">=17.0.0",
7
+ "@angular/core": ">=17.0.0",
8
+ "@angular/material": ">=17.0.0",
9
+ "@angular/cdk": ">=17.0.0"
10
+ },
11
+ "dependencies": {
12
+ "crypto-js": "^4.2.0",
13
+ "@auth0/angular-jwt": "^5.2.0",
14
+ "tslib": "^2.3.0"
15
+ },
16
+ "sideEffects": false,
17
+ "module": "fesm2022/aakash58-chatbot.mjs",
18
+ "typings": "index.d.ts",
19
+ "exports": {
20
+ "./package.json": {
21
+ "default": "./package.json"
22
+ },
23
+ ".": {
24
+ "types": "./index.d.ts",
25
+ "esm2022": "./esm2022/aakash58-chatbot.mjs",
26
+ "esm": "./esm2022/aakash58-chatbot.mjs",
27
+ "default": "./fesm2022/aakash58-chatbot.mjs"
28
+ }
29
+ }
76
30
  }
@@ -0,0 +1,11 @@
1
+ export * from './lib/doohbot.component';
2
+ export * from './lib/doohbot-input';
3
+ export * from './lib/core/models/api-config.model';
4
+ export * from './lib/constant/doohbot-constant';
5
+ export * from './lib/core/models/theme-config.model';
6
+ export * from './lib/shared/dialog/dialog.component';
7
+ export * from './lib/shared/dialog/dialog.service';
8
+ export * from './lib/shared/chips/chips.component';
9
+ export * from './lib/shared/snackbar/snackbar.component';
10
+ export * from './lib/shared/dropdown-menu/dropdown-menu.component';
11
+ export * from './lib/shared/menu-item/menu-item.component';
package/.editorconfig DELETED
@@ -1,17 +0,0 @@
1
- # Editor configuration, see https://editorconfig.org
2
- root = true
3
-
4
- [*]
5
- charset = utf-8
6
- indent_style = space
7
- indent_size = 2
8
- insert_final_newline = true
9
- trim_trailing_whitespace = true
10
-
11
- [*.ts]
12
- quote_type = single
13
- ij_typescript_use_double_quotes = false
14
-
15
- [*.md]
16
- max_line_length = off
17
- trim_trailing_whitespace = false
@@ -1,4 +0,0 @@
1
- {
2
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
3
- "recommendations": ["angular.ng-template"]
4
- }
@@ -1,41 +0,0 @@
1
- {
2
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
3
- "version": "0.2.0",
4
- "configurations": [
5
- {
6
- "name": "ng serve",
7
- "type": "chrome",
8
- "request": "launch",
9
- "preLaunchTask": "npm: start",
10
- "url": "http://localhost:4200/",
11
- "webRoot": "${workspaceFolder}",
12
- "sourceMaps": true,
13
- "sourceMapPathOverrides": {
14
- "webpack:///src/*": "${webRoot}/src/*",
15
- "webpack:///projects/*": "${webRoot}/projects/*"
16
- }
17
- },
18
- {
19
- "name": "Run Dev",
20
- "type": "chrome",
21
- "request": "launch",
22
- "preLaunchTask": "npm: dev",
23
- "url": "http://localhost:4200/",
24
- "webRoot": "${workspaceFolder}",
25
- "sourceMaps": true,
26
- "sourceMapPathOverrides": {
27
- "webpack:///src/*": "${webRoot}/src/*",
28
- "webpack:///projects/*": "${webRoot}/projects/*"
29
- }
30
- },
31
-
32
- {
33
- "name": "ng test",
34
- "type": "chrome",
35
- "request": "launch",
36
- "preLaunchTask": "npm: test",
37
- "url": "http://localhost:9876/debug.html",
38
- "webRoot": "${workspaceFolder}"
39
- }
40
- ]
41
- }
@@ -1,14 +0,0 @@
1
- {
2
- "cSpell.words": [
3
- "adzen",
4
- "Bottomsheet",
5
- "conditons",
6
- "contenteditable",
7
- "Doohbot",
8
- "packagr",
9
- "Pannel",
10
- "spinbutton",
11
- "thum"
12
- ],
13
- "todo-tree.tree.scanMode": "workspace"
14
- }
@@ -1,60 +0,0 @@
1
- {
2
- // For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
3
- "version": "2.0.0",
4
- "tasks": [
5
- {
6
- "type": "npm",
7
- "script": "start",
8
- "isBackground": true,
9
- "problemMatcher": {
10
- "owner": "typescript",
11
- "pattern": "$tsc",
12
- "background": {
13
- "activeOnStart": true,
14
- "beginsPattern": {
15
- "regexp": "(.*?)"
16
- },
17
- "endsPattern": {
18
- "regexp": "bundle generation complete"
19
- }
20
- }
21
- }
22
- },
23
- {
24
- "type": "npm",
25
- "script": "dev",
26
- "isBackground": true,
27
- "problemMatcher": {
28
- "owner": "typescript",
29
- "pattern": "$tsc",
30
- "background": {
31
- "activeOnStart": true,
32
- "beginsPattern": {
33
- "regexp": "(.*?)"
34
- },
35
- "endsPattern": {
36
- "regexp": "bundle generation complete"
37
- }
38
- }
39
- }
40
- },
41
- {
42
- "type": "npm",
43
- "script": "test",
44
- "isBackground": true,
45
- "problemMatcher": {
46
- "owner": "typescript",
47
- "pattern": "$tsc",
48
- "background": {
49
- "activeOnStart": true,
50
- "beginsPattern": {
51
- "regexp": "(.*?)"
52
- },
53
- "endsPattern": {
54
- "regexp": "bundle generation complete"
55
- }
56
- }
57
- }
58
- }
59
- ]
60
- }