@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.
- package/README.md +24 -0
- package/esm2020/lib/chat.module.mjs +87 -0
- package/esm2020/lib/components/ng-chat/ng-chat.component.mjs +588 -0
- package/esm2020/lib/components/ng-chat-friends-list/ng-chat-friends-list.component.mjs +128 -0
- package/esm2020/lib/components/ng-chat-options/ng-chat-options.component.mjs +29 -0
- package/esm2020/lib/components/ng-chat-window/ng-chat-window.component.mjs +247 -0
- package/esm2020/lib/core/chat-adapter.mjs +18 -0
- package/esm2020/lib/core/chat-controller.mjs +2 -0
- package/esm2020/lib/core/chat-group-adapter.mjs +2 -0
- package/esm2020/lib/core/chat-option.mjs +2 -0
- package/esm2020/lib/core/chat-participant-status-descriptor.mjs +6 -0
- package/esm2020/lib/core/chat-participant-status.enum.mjs +8 -0
- package/esm2020/lib/core/chat-participant-type.enum.mjs +6 -0
- package/esm2020/lib/core/chat-participant.mjs +2 -0
- package/esm2020/lib/core/default-file-upload-adapter.mjs +43 -0
- package/esm2020/lib/core/file-upload-adapter.mjs +2 -0
- package/esm2020/lib/core/group.mjs +14 -0
- package/esm2020/lib/core/guid.mjs +11 -0
- package/esm2020/lib/core/localization.mjs +2 -0
- package/esm2020/lib/core/message-counter.mjs +25 -0
- package/esm2020/lib/core/message-type.enum.mjs +7 -0
- package/esm2020/lib/core/message.mjs +7 -0
- package/esm2020/lib/core/paged-history-chat-adapter.mjs +9 -0
- package/esm2020/lib/core/participant-metadata.mjs +6 -0
- package/esm2020/lib/core/participant-response.mjs +3 -0
- package/esm2020/lib/core/scroll-direction.enum.mjs +6 -0
- package/esm2020/lib/core/theme.enum.mjs +7 -0
- package/esm2020/lib/core/user.mjs +7 -0
- package/esm2020/lib/core/window.mjs +20 -0
- package/esm2020/lib/firstLetter.pipe.mjs +20 -0
- package/esm2020/lib/material.module.mjs +50 -0
- package/esm2020/lib/pipes/emojify.pipe.mjs +41 -0
- package/esm2020/lib/pipes/group-message-display-name.pipe.mjs +24 -0
- package/esm2020/lib/pipes/linkfy.pipe.mjs +34 -0
- package/esm2020/lib/pipes/sanitize.pipe.mjs +21 -0
- package/esm2020/lib/services/chat.service.mjs +14 -0
- package/esm2020/muraai-mnl-chat.mjs +5 -0
- package/esm2020/public-api.mjs +25 -0
- package/fesm2015/muraai-mnl-chat.mjs +1426 -0
- package/fesm2015/muraai-mnl-chat.mjs.map +1 -0
- package/fesm2020/muraai-mnl-chat.mjs +1424 -0
- package/fesm2020/muraai-mnl-chat.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/chat.module.d.ts +24 -0
- package/lib/components/ng-chat/ng-chat.component.d.ts +130 -0
- package/lib/components/ng-chat-friends-list/ng-chat-friends-list.component.d.ts +45 -0
- package/lib/components/ng-chat-options/ng-chat-options.component.d.ts +12 -0
- package/lib/components/ng-chat-window/ng-chat-window.component.d.ts +65 -0
- package/lib/core/chat-adapter.d.ts +15 -0
- package/lib/core/chat-controller.d.ts +6 -0
- package/lib/core/chat-group-adapter.d.ts +4 -0
- package/lib/core/chat-option.d.ts +9 -0
- package/lib/core/chat-participant-status-descriptor.d.ts +3 -0
- package/lib/core/chat-participant-status.enum.d.ts +6 -0
- package/lib/core/chat-participant-type.enum.d.ts +4 -0
- package/lib/core/chat-participant.d.ts +9 -0
- package/lib/core/default-file-upload-adapter.d.ts +14 -0
- package/lib/core/file-upload-adapter.d.ts +5 -0
- package/lib/core/group.d.ts +13 -0
- package/lib/core/guid.d.ts +3 -0
- package/lib/core/localization.d.ts +15 -0
- package/lib/core/message-counter.d.ts +10 -0
- package/lib/core/message-type.enum.d.ts +5 -0
- package/lib/core/message.d.ts +10 -0
- package/lib/core/paged-history-chat-adapter.d.ts +10 -0
- package/lib/core/participant-metadata.d.ts +3 -0
- package/lib/core/participant-response.d.ts +6 -0
- package/lib/core/scroll-direction.enum.d.ts +4 -0
- package/lib/core/theme.enum.d.ts +5 -0
- package/lib/core/user.d.ts +10 -0
- package/lib/core/window.d.ts +13 -0
- package/lib/firstLetter.pipe.d.ts +7 -0
- package/lib/material.module.d.ts +14 -0
- package/lib/pipes/emojify.pipe.d.ts +7 -0
- package/lib/pipes/group-message-display-name.pipe.d.ts +9 -0
- package/lib/pipes/linkfy.pipe.d.ts +7 -0
- package/lib/pipes/sanitize.pipe.d.ts +10 -0
- package/lib/services/chat.service.d.ts +6 -0
- package/package.json +31 -0
- package/public-api.d.ts +21 -0
- package/src/assets/icons.css +140 -0
- package/src/assets/loading-spinner.css +59 -0
- package/src/assets/ng-chat.component.default.css +106 -0
- package/src/assets/notification.png +0 -0
- package/src/assets/notification.wav +0 -0
- package/src/assets/themes/ng-chat.theme.dark.scss +71 -0
- package/src/assets/themes/ng-chat.theme.default.scss +63 -0
- 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
|