@muraai/mnl-chat 0.0.1

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 (88) hide show
  1. package/README.md +24 -0
  2. package/esm2020/lib/chat.module.mjs +87 -0
  3. package/esm2020/lib/components/ng-chat/ng-chat.component.mjs +588 -0
  4. package/esm2020/lib/components/ng-chat-friends-list/ng-chat-friends-list.component.mjs +128 -0
  5. package/esm2020/lib/components/ng-chat-options/ng-chat-options.component.mjs +29 -0
  6. package/esm2020/lib/components/ng-chat-window/ng-chat-window.component.mjs +247 -0
  7. package/esm2020/lib/core/chat-adapter.mjs +18 -0
  8. package/esm2020/lib/core/chat-controller.mjs +2 -0
  9. package/esm2020/lib/core/chat-group-adapter.mjs +2 -0
  10. package/esm2020/lib/core/chat-option.mjs +2 -0
  11. package/esm2020/lib/core/chat-participant-status-descriptor.mjs +6 -0
  12. package/esm2020/lib/core/chat-participant-status.enum.mjs +8 -0
  13. package/esm2020/lib/core/chat-participant-type.enum.mjs +6 -0
  14. package/esm2020/lib/core/chat-participant.mjs +2 -0
  15. package/esm2020/lib/core/default-file-upload-adapter.mjs +43 -0
  16. package/esm2020/lib/core/file-upload-adapter.mjs +2 -0
  17. package/esm2020/lib/core/group.mjs +14 -0
  18. package/esm2020/lib/core/guid.mjs +11 -0
  19. package/esm2020/lib/core/localization.mjs +2 -0
  20. package/esm2020/lib/core/message-counter.mjs +25 -0
  21. package/esm2020/lib/core/message-type.enum.mjs +7 -0
  22. package/esm2020/lib/core/message.mjs +7 -0
  23. package/esm2020/lib/core/paged-history-chat-adapter.mjs +9 -0
  24. package/esm2020/lib/core/participant-metadata.mjs +6 -0
  25. package/esm2020/lib/core/participant-response.mjs +3 -0
  26. package/esm2020/lib/core/scroll-direction.enum.mjs +6 -0
  27. package/esm2020/lib/core/theme.enum.mjs +7 -0
  28. package/esm2020/lib/core/user.mjs +7 -0
  29. package/esm2020/lib/core/window.mjs +20 -0
  30. package/esm2020/lib/firstLetter.pipe.mjs +20 -0
  31. package/esm2020/lib/material.module.mjs +50 -0
  32. package/esm2020/lib/pipes/emojify.pipe.mjs +41 -0
  33. package/esm2020/lib/pipes/group-message-display-name.pipe.mjs +24 -0
  34. package/esm2020/lib/pipes/linkfy.pipe.mjs +34 -0
  35. package/esm2020/lib/pipes/sanitize.pipe.mjs +21 -0
  36. package/esm2020/lib/services/chat.service.mjs +14 -0
  37. package/esm2020/muraai-mnl-chat.mjs +5 -0
  38. package/esm2020/public-api.mjs +25 -0
  39. package/fesm2015/muraai-mnl-chat.mjs +1426 -0
  40. package/fesm2015/muraai-mnl-chat.mjs.map +1 -0
  41. package/fesm2020/muraai-mnl-chat.mjs +1424 -0
  42. package/fesm2020/muraai-mnl-chat.mjs.map +1 -0
  43. package/index.d.ts +5 -0
  44. package/lib/chat.module.d.ts +24 -0
  45. package/lib/components/ng-chat/ng-chat.component.d.ts +130 -0
  46. package/lib/components/ng-chat-friends-list/ng-chat-friends-list.component.d.ts +45 -0
  47. package/lib/components/ng-chat-options/ng-chat-options.component.d.ts +12 -0
  48. package/lib/components/ng-chat-window/ng-chat-window.component.d.ts +65 -0
  49. package/lib/core/chat-adapter.d.ts +15 -0
  50. package/lib/core/chat-controller.d.ts +6 -0
  51. package/lib/core/chat-group-adapter.d.ts +4 -0
  52. package/lib/core/chat-option.d.ts +9 -0
  53. package/lib/core/chat-participant-status-descriptor.d.ts +3 -0
  54. package/lib/core/chat-participant-status.enum.d.ts +6 -0
  55. package/lib/core/chat-participant-type.enum.d.ts +4 -0
  56. package/lib/core/chat-participant.d.ts +9 -0
  57. package/lib/core/default-file-upload-adapter.d.ts +14 -0
  58. package/lib/core/file-upload-adapter.d.ts +5 -0
  59. package/lib/core/group.d.ts +13 -0
  60. package/lib/core/guid.d.ts +3 -0
  61. package/lib/core/localization.d.ts +15 -0
  62. package/lib/core/message-counter.d.ts +10 -0
  63. package/lib/core/message-type.enum.d.ts +5 -0
  64. package/lib/core/message.d.ts +10 -0
  65. package/lib/core/paged-history-chat-adapter.d.ts +10 -0
  66. package/lib/core/participant-metadata.d.ts +3 -0
  67. package/lib/core/participant-response.d.ts +6 -0
  68. package/lib/core/scroll-direction.enum.d.ts +4 -0
  69. package/lib/core/theme.enum.d.ts +5 -0
  70. package/lib/core/user.d.ts +10 -0
  71. package/lib/core/window.d.ts +13 -0
  72. package/lib/firstLetter.pipe.d.ts +7 -0
  73. package/lib/material.module.d.ts +14 -0
  74. package/lib/pipes/emojify.pipe.d.ts +7 -0
  75. package/lib/pipes/group-message-display-name.pipe.d.ts +9 -0
  76. package/lib/pipes/linkfy.pipe.d.ts +7 -0
  77. package/lib/pipes/sanitize.pipe.d.ts +10 -0
  78. package/lib/services/chat.service.d.ts +6 -0
  79. package/package.json +31 -0
  80. package/public-api.d.ts +21 -0
  81. package/src/assets/icons.css +140 -0
  82. package/src/assets/loading-spinner.css +59 -0
  83. package/src/assets/ng-chat.component.default.css +106 -0
  84. package/src/assets/notification.png +0 -0
  85. package/src/assets/notification.wav +0 -0
  86. package/src/assets/themes/ng-chat.theme.dark.scss +71 -0
  87. package/src/assets/themes/ng-chat.theme.default.scss +63 -0
  88. package/src/assets/user.png +0 -0
@@ -0,0 +1,71 @@
1
+ $primary-color: #565656;
2
+ $secondary-color: #444;
3
+ $text-color: #FFF;
4
+
5
+ %text-definition {
6
+ color: $text-color;
7
+ font-family: Arial, Helvetica, sans-serif;
8
+ }
9
+
10
+ #ng-chat.dark-theme
11
+ {
12
+ @extend %text-definition;
13
+
14
+ .primary-background
15
+ {
16
+ background-color: $primary-color;
17
+ }
18
+ .secondary-background
19
+ {
20
+ background-color: $secondary-color;
21
+ }
22
+ .primary-outline-color
23
+ {
24
+ border-color:#353535;
25
+ }
26
+ .primary-text
27
+ {
28
+ @extend %text-definition;
29
+ }
30
+ .friends-search-bar
31
+ {
32
+ background-color: $secondary-color;
33
+ border: 1px solid $secondary-color;
34
+ color: $text-color;
35
+ }
36
+ .unread-messages-counter-container, .ng-chat-people-action, .ng-chat-people-action > i
37
+ {
38
+ background-color: $text-color;
39
+ color: $secondary-color;
40
+ }
41
+ .load-history-action
42
+ {
43
+ background-color: $secondary-color;
44
+ }
45
+ .chat-window-input
46
+ {
47
+ background-color: $secondary-color;
48
+ color: $text-color;
49
+ }
50
+ .sent-chat-message-container, .file-message-container
51
+ {
52
+ border-color: $secondary-color;
53
+ background-color: $secondary-color;
54
+ }
55
+ .received-chat-message-container, .file-message-container.received
56
+ {
57
+ background-color: $primary-color;
58
+ border-color: $secondary-color;
59
+ }
60
+ .ng-chat-footer
61
+ {
62
+ background-color: $secondary-color;
63
+ }
64
+ .ng-chat-message a
65
+ {
66
+ color: $text-color;
67
+ }
68
+ }
69
+ body{
70
+ font-family: Roboto, "Helvetica Neue", sans-serif !important;
71
+ }
@@ -0,0 +1,63 @@
1
+ $primary-color: #FFF;
2
+ $secondary-color: #E3E3E3;
3
+ $text-color: #5C5C5C;
4
+
5
+ %text-definition {
6
+ color: #5C5C5C;
7
+ font-family: Arial, Helvetica, sans-serif;
8
+ }
9
+
10
+ #ng-chat.light-theme
11
+ {
12
+ @extend %text-definition;
13
+
14
+ .primary-background
15
+ {
16
+ background-color: $primary-color;
17
+ }
18
+ .secondary-background
19
+ {
20
+ background-color: #FAFAFA;
21
+ }
22
+ .primary-outline-color
23
+ {
24
+ border-color:#A3A3A3;
25
+ }
26
+ .primary-text
27
+ {
28
+ @extend %text-definition;
29
+ }
30
+ .friends-search-bar
31
+ {
32
+ background-color: $primary-color;
33
+ }
34
+ .unread-messages-counter-container, .ng-chat-people-action, .ng-chat-people-action > i
35
+ {
36
+ color: $text-color;
37
+ background-color: $secondary-color;
38
+ }
39
+ .load-history-action
40
+ {
41
+ background-color: $secondary-color;
42
+ }
43
+ .chat-window-input
44
+ {
45
+ background-color: $primary-color;
46
+ }
47
+ .sent-chat-message-container, .file-message-container
48
+ {
49
+ background-color:$secondary-color;
50
+ border-color: $secondary-color;
51
+ }
52
+ .received-chat-message-container, .file-message-container.received
53
+ {
54
+ background-color:$primary-color;
55
+ border-color: $secondary-color;
56
+ }
57
+ }
58
+ body{
59
+ font-family: Roboto, "Helvetica Neue", sans-serif !important;
60
+ }
61
+ *{
62
+ box-shadow: none !important;
63
+ }
Binary file