@adzen/doohbot 1.0.0 → 1.0.2

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 (91) hide show
  1. package/README.md +20 -14
  2. package/fesm2022/adzen-doohbot.mjs +4622 -0
  3. package/fesm2022/adzen-doohbot.mjs.map +1 -0
  4. package/index.d.ts +1301 -0
  5. package/index.d.ts.map +1 -0
  6. package/package.json +29 -57
  7. package/src/lib/app/chat/components/chat-button/chat-button.component.scss +115 -0
  8. package/src/lib/app/chat/components/chat-footer/chat-footer.component.scss +14 -0
  9. package/src/lib/app/chat/components/chat-header/chat-header.component.scss +82 -0
  10. package/src/lib/app/chat/components/chat-history-sidebar/chat-history-sidebar.component.scss +369 -0
  11. package/src/lib/app/chat/components/chat-message/chat-message.component.scss +235 -0
  12. package/src/lib/app/chat/components/chat-window/chat-window.component.scss +194 -0
  13. package/src/lib/app/chat/components/message-input/message-input.component.scss +59 -0
  14. package/src/lib/app/chat/components/message-list/message-list.component.scss +258 -0
  15. package/src/lib/app/login/login-form.component.scss +213 -0
  16. package/src/lib/app/personalization/personalization-dialog.component.scss +177 -0
  17. package/src/lib/app/personalization/sections/account/account-section.component.scss +209 -0
  18. package/src/lib/app/personalization/sections/instruction/instruction-section.component.scss +63 -0
  19. package/src/lib/app/personalization/sections/preferences/preferences-section.component.scss +199 -0
  20. package/src/lib/app/personalization/sections/terms/terms-section.component.scss +74 -0
  21. package/src/lib/doohbot.component.scss +18 -0
  22. package/{projects/doohbot/src/lib/shared/chips/chips.scss → src/lib/shared/chips/chips.component.scss} +3 -1
  23. package/src/lib/shared/dialog/dialog.component.scss +90 -0
  24. package/src/lib/shared/dropdown-menu/dropdown-menu.component.scss +53 -0
  25. package/src/lib/shared/input-dialog/input-dialog.component.scss +71 -0
  26. package/src/lib/shared/popout/popout.scss +0 -0
  27. package/src/lib/shared/snackbar/snackbar.component.scss +125 -0
  28. package/src/lib/styles/_theme.scss +69 -0
  29. package/src/lib/styles/material-override.scss +338 -0
  30. package/{projects/doohbot/src/lib/utils → src/lib/styles}/utility.scss +85 -33
  31. package/src/lib/theme/index.scss +8 -0
  32. package/src/lib/theme/palettes/aqua.scss +88 -0
  33. package/src/lib/theme/palettes/candy.scss +88 -0
  34. package/src/lib/theme/palettes/doohbot.scss +88 -0
  35. package/src/lib/theme/palettes/forest.scss +88 -0
  36. package/src/lib/theme/palettes/midnight.scss +88 -0
  37. package/src/lib/theme/palettes/slate.scss +88 -0
  38. package/src/lib/theme/palettes/sunset.scss +86 -0
  39. package/src/lib/theme/themes.scss +7 -0
  40. package/src/lib/theme/tokens/semantic.scss +102 -0
  41. package/.editorconfig +0 -17
  42. package/.vscode/extensions.json +0 -4
  43. package/.vscode/launch.json +0 -26
  44. package/.vscode/settings.json +0 -13
  45. package/.vscode/tasks.json +0 -42
  46. package/adzen-doohbot-0.0.1.tgz +0 -0
  47. package/adzen-doohbot-1.0.0.tgz +0 -0
  48. package/angular.json +0 -119
  49. package/projects/doohbot/README.md +0 -63
  50. package/projects/doohbot/ng-package.json +0 -16
  51. package/projects/doohbot/package.json +0 -12
  52. package/projects/doohbot/src/lib/directives/draggable/draggable-dialog.directive.ts +0 -62
  53. package/projects/doohbot/src/lib/directives/draggable/draggable-dialog.module.ts +0 -9
  54. package/projects/doohbot/src/lib/directives/resizable/resizable-dialog.directive.ts +0 -163
  55. package/projects/doohbot/src/lib/directives/resizable/resizable-dialog.module.ts +0 -9
  56. package/projects/doohbot/src/lib/doohbot.html +0 -216
  57. package/projects/doohbot/src/lib/doohbot.scss +0 -568
  58. package/projects/doohbot/src/lib/doohbot.spec.ts +0 -21
  59. package/projects/doohbot/src/lib/doohbot.ts +0 -345
  60. package/projects/doohbot/src/lib/elements/elements.ts +0 -25
  61. package/projects/doohbot/src/lib/helpers/predefined_messages.ts +0 -2
  62. package/projects/doohbot/src/lib/inputs/doohbot-input.ts +0 -25
  63. package/projects/doohbot/src/lib/model/doohbot.intents.ts +0 -24
  64. package/projects/doohbot/src/lib/model/message.ts +0 -13
  65. package/projects/doohbot/src/lib/model/token.ts +0 -3
  66. package/projects/doohbot/src/lib/services/messaging.service.ts +0 -76
  67. package/projects/doohbot/src/lib/shared/chips/chips.html +0 -9
  68. package/projects/doohbot/src/lib/shared/chips/chips.spec.ts +0 -23
  69. package/projects/doohbot/src/lib/shared/chips/chips.ts +0 -18
  70. package/projects/doohbot/src/lib/shared/snackbar/snackbar.html +0 -7
  71. package/projects/doohbot/src/lib/shared/snackbar/snackbar.scss +0 -73
  72. package/projects/doohbot/src/lib/shared/snackbar/snackbar.spec.ts +0 -21
  73. package/projects/doohbot/src/lib/shared/snackbar/snackbar.ts +0 -44
  74. package/projects/doohbot/src/lib/utils/material-override.scss +0 -312
  75. package/projects/doohbot/src/public-api.ts +0 -5
  76. package/projects/doohbot/tsconfig.lib.json +0 -19
  77. package/projects/doohbot/tsconfig.lib.prod.json +0 -11
  78. package/projects/doohbot/tsconfig.spec.json +0 -14
  79. package/projects/doohbot-element/public/favicon.ico +0 -0
  80. package/projects/doohbot-element/src/app/app.config.ts +0 -12
  81. package/projects/doohbot-element/src/app/app.html +0 -1
  82. package/projects/doohbot-element/src/app/app.routes.ts +0 -3
  83. package/projects/doohbot-element/src/app/app.spec.ts +0 -23
  84. package/projects/doohbot-element/src/app/app.ts +0 -10
  85. package/projects/doohbot-element/src/index.html +0 -15
  86. package/projects/doohbot-element/src/main.ts +0 -6
  87. package/projects/doohbot-element/src/styles.scss +0 -15
  88. package/projects/doohbot-element/tsconfig.app.json +0 -15
  89. package/projects/doohbot-element/tsconfig.spec.json +0 -14
  90. package/tsconfig.json +0 -43
  91. /package/{projects/doohbot-element/src/app/app.scss → src/lib/shared/menu-item/menu-item.component.scss} +0 -0
package/README.md CHANGED
@@ -1,15 +1,6 @@
1
- # DoohBot
2
- This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 20.3.7.
1
+ # Doohbot
3
2
 
4
- ## Development server
5
-
6
- To start a local development server, run:
7
-
8
- ```bash
9
- ng serve
10
- ```
11
-
12
- Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files.
3
+ This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 20.3.0.
13
4
 
14
5
  ## Code scaffolding
15
6
 
@@ -27,13 +18,28 @@ ng generate --help
27
18
 
28
19
  ## Building
29
20
 
30
- To build the project run:
21
+ To build the library, run:
31
22
 
32
23
  ```bash
33
- ng build
24
+ ng build doohbot
34
25
  ```
35
26
 
36
- This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed.
27
+ This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
28
+
29
+ ### Publishing the Library
30
+
31
+ Once the project is built, you can publish your library by following these steps:
32
+
33
+ 1. Navigate to the `dist` directory:
34
+
35
+ ```bash
36
+ cd dist/doohbot
37
+ ```
38
+
39
+ 2. Run the `npm publish` command to publish your library to the npm registry:
40
+ ```bash
41
+ npm publish
42
+ ```
37
43
 
38
44
  ## Running unit tests
39
45