@chat21/chat21-ionic 3.0.78 → 3.0.79-rc.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.
- package/CHANGELOG.md +41 -1
- package/package.json +1 -1
- package/src/app/app.component.scss +2 -1
- package/src/app/app.component.ts +52 -7
- package/src/app/chatlib/conversation-detail/conversation-content/conversation-content.component.ts +8 -1
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.html +36 -10
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.scss +110 -38
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.ts +15 -2
- package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.html +1 -1
- package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.ts +3 -1
- package/src/app/chatlib/conversation-detail/message/buttons/action-button/action-button.component.html +5 -1
- package/src/app/chatlib/conversation-detail/message/buttons/action-button/action-button.component.scss +22 -15
- package/src/app/chatlib/conversation-detail/message/buttons/action-button/action-button.component.ts +25 -5
- package/src/app/chatlib/conversation-detail/message/buttons/link-button/link-button.component.html +2 -1
- package/src/app/chatlib/conversation-detail/message/buttons/link-button/link-button.component.scss +14 -15
- package/src/app/chatlib/conversation-detail/message/buttons/link-button/link-button.component.ts +24 -5
- package/src/app/chatlib/conversation-detail/message/buttons/text-button/text-button.component.html +6 -1
- package/src/app/chatlib/conversation-detail/message/buttons/text-button/text-button.component.scss +12 -13
- package/src/app/chatlib/conversation-detail/message/buttons/text-button/text-button.component.ts +26 -5
- package/src/app/chatlib/conversation-detail/message/info-message/info-message.component.scss +2 -2
- package/src/app/chatlib/conversation-detail/message/message-attachment/message-attachment.component.html +16 -6
- package/src/app/chatlib/conversation-detail/message/message-attachment/message-attachment.component.ts +2 -0
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.html +78 -52
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.scss +62 -20
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.ts +14 -10
- package/src/app/components/canned-response/canned-response.component.html +4 -4
- package/src/app/components/canned-response/canned-response.component.scss +1 -1
- package/src/app/components/canned-response/canned-response.component.ts +1 -0
- package/src/app/components/contacts-directory/contacts-directory.component.html +22 -26
- package/src/app/components/contacts-directory/contacts-directory.component.scss +8 -6
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.html +61 -42
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.scss +98 -61
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.ts +9 -25
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.scss +4 -4
- package/src/app/components/conversation-info/info-content/info-content.component.html +2 -1
- package/src/app/components/conversation-info/info-content/info-content.component.ts +3 -2
- package/src/app/components/conversation-info/info-direct/info-direct.component.html +1 -9
- package/src/app/components/conversation-info/info-direct/info-direct.component.ts +0 -2
- package/src/app/components/conversation-info/info-group/info-group.component.html +44 -108
- package/src/app/components/conversation-info/info-group/info-group.component.scss +101 -61
- package/src/app/components/conversation-info/info-group/info-group.component.ts +1 -0
- package/src/app/components/{ddp-header/ddp-header.component.html → conversations-list/header-conversations-list/header-conversations-list.component.html} +2 -2
- package/src/app/components/{ddp-header/ddp-header.component.scss → conversations-list/header-conversations-list/header-conversations-list.component.scss} +16 -4
- package/src/app/components/{ddp-header/ddp-header.component.spec.ts → conversations-list/header-conversations-list/header-conversations-list.component.spec.ts} +6 -6
- package/src/app/components/{ddp-header/ddp-header.component.ts → conversations-list/header-conversations-list/header-conversations-list.component.ts} +7 -16
- package/src/app/components/conversations-list/header-conversations-list-archived/header-conversations-list-archived.component.html +12 -0
- package/src/app/components/conversations-list/header-conversations-list-archived/header-conversations-list-archived.component.scss +14 -0
- package/src/app/components/{conversation-detail/option-header/option-header.component.spec.ts → conversations-list/header-conversations-list-archived/header-conversations-list-archived.component.spec.ts} +5 -5
- package/src/app/components/{conversation-detail/option-header/option-header.component.ts → conversations-list/header-conversations-list-archived/header-conversations-list-archived.component.ts} +5 -4
- package/src/app/components/project-item/project-item.component.html +98 -149
- package/src/app/components/project-item/project-item.component.scss +39 -32
- package/src/app/components/project-item/project-item.component.ts +5 -3
- package/src/app/components/utils/user-presence/user-presence.component.html +7 -2
- package/src/app/components/utils/user-presence/user-presence.component.scss +35 -18
- package/src/app/components/utils/user-presence/user-presence.component.ts +6 -10
- package/src/app/pages/contacts-directory/contacts-directory.page.html +1 -1
- package/src/app/pages/contacts-directory/contacts-directory.page.scss +41 -0
- package/src/app/pages/contacts-directory/contacts-directory.page.ts +2 -0
- package/src/app/pages/conversation-detail/conversation-detail.page.html +40 -23
- package/src/app/pages/conversation-detail/conversation-detail.page.scss +40 -250
- package/src/app/pages/conversation-detail/conversation-detail.page.ts +165 -46
- package/src/app/pages/conversations-list/conversations-list.page.html +11 -8
- package/src/app/pages/conversations-list/conversations-list.page.scss +10 -2
- package/src/app/pages/conversations-list/conversations-list.page.ts +22 -17
- package/src/app/pages/loader-preview/loader-preview.page.html +1 -1
- package/src/app/pages/loader-preview/loader-preview.page.scss +4 -0
- package/src/app/pages/profile-info/profile-info.page.html +2 -4
- package/src/app/pages/unassigned-conversations/unassigned-conversations.page.html +1 -1
- package/src/app/pages/unassigned-conversations/unassigned-conversations.page.scss +42 -0
- package/src/app/pages/unassigned-conversations/unassigned-conversations.page.ts +1 -0
- package/src/app/shared/shared.module.ts +24 -24
- package/src/assets/i18n/ar.json +270 -265
- package/src/assets/i18n/az.json +5 -0
- package/src/assets/i18n/de.json +5 -0
- package/src/assets/i18n/en.json +5 -0
- package/src/assets/i18n/es.json +5 -0
- package/src/assets/i18n/fr.json +5 -0
- package/src/assets/i18n/it.json +5 -0
- package/src/assets/i18n/kk.json +5 -0
- package/src/assets/i18n/pt.json +5 -0
- package/src/assets/i18n/ru.json +5 -0
- package/src/assets/i18n/sr.json +5 -0
- package/src/assets/i18n/sv.json +5 -0
- package/src/assets/i18n/tr.json +5 -0
- package/src/assets/i18n/uk.json +5 -0
- package/src/assets/i18n/uz.json +5 -0
- package/src/assets/sounds/wheep-wheep.mp3 +0 -0
- package/src/chat21-core/providers/firebase/firebase-typing.service.ts +7 -9
- package/src/chat21-core/utils/constants.ts +5 -1
- package/src/chat21-core/utils/user-typing/user-typing.component.html +8 -5
- package/src/chat21-core/utils/user-typing/user-typing.component.scss +87 -17
- package/src/chat21-core/utils/user-typing/user-typing.component.ts +12 -94
- package/src/chat21-core/utils/utils.ts +9 -1
- package/src/global.scss +47 -43
- package/src/variables.scss +26 -9
- package/src/app/components/conversation-detail/option-header/option-header.component.html +0 -13
- package/src/app/components/conversation-detail/option-header/option-header.component.scss +0 -0
|
@@ -25,8 +25,6 @@
|
|
|
25
25
|
font-size: 24px;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
28
|
#canned > ion-list > ion-item.canned-item.add-canned-response-wpr:hover > span {
|
|
31
29
|
color: #1877f2;
|
|
32
30
|
}
|
|
@@ -38,259 +36,32 @@
|
|
|
38
36
|
color: #1877f2;
|
|
39
37
|
}
|
|
40
38
|
|
|
41
|
-
// ion-back-button{
|
|
42
|
-
// display: none!important;
|
|
43
|
-
// }
|
|
44
|
-
// @media (max-width: 767px) {
|
|
45
|
-
// /* Styles */
|
|
46
|
-
// ion-back-button{
|
|
47
|
-
// display: block!important;
|
|
48
|
-
// }
|
|
49
|
-
// }
|
|
50
|
-
|
|
51
|
-
// .halfscreen {
|
|
52
|
-
// width: calc(100% - 320px);
|
|
53
|
-
// min-width: 50%;
|
|
54
|
-
// }
|
|
55
|
-
|
|
56
|
-
// ion-header {
|
|
57
|
-
// border-bottom-style: solid;
|
|
58
|
-
// border-color: var(--light-gray);
|
|
59
|
-
// border-bottom-width: thin;
|
|
60
|
-
// ion-title {
|
|
61
|
-
// text-align: left;
|
|
62
|
-
// }
|
|
63
|
-
// ion-avatar {
|
|
64
|
-
// position: relative;
|
|
65
|
-
// display: inline-block;
|
|
66
|
-
// margin: 0 12px 0 0;
|
|
67
|
-
// padding: 0;
|
|
68
|
-
// height: 40px;
|
|
69
|
-
// width: 40px;
|
|
70
|
-
// min-width: 40px;
|
|
71
|
-
// min-height: 40px;
|
|
72
|
-
// line-height: 40px;
|
|
73
|
-
// vertical-align: middle;
|
|
74
|
-
// color: var(--white);
|
|
75
|
-
// .avatar-placeholder {
|
|
76
|
-
// position: absolute;
|
|
77
|
-
// top:0;
|
|
78
|
-
// left:0;
|
|
79
|
-
// width: 100%;
|
|
80
|
-
// height: 100%;
|
|
81
|
-
// border-radius: 50%;
|
|
82
|
-
// text-align: center;
|
|
83
|
-
// font-size: 16px;
|
|
84
|
-
// color: var(--withe);
|
|
85
|
-
// font-weight: 500;
|
|
86
|
-
// }
|
|
87
|
-
// .avatar-profile {
|
|
88
|
-
// position: relative;
|
|
89
|
-
// display: inline-block;
|
|
90
|
-
// width: 100%;
|
|
91
|
-
// height: 100%;
|
|
92
|
-
// background-color: transparent;
|
|
93
|
-
// background-size: cover;
|
|
94
|
-
// background-position: top center;
|
|
95
|
-
// border-radius: 50%;
|
|
96
|
-
// border-color: var(--basic-gray);
|
|
97
|
-
// border-style: solid;
|
|
98
|
-
// border-width: 0px;
|
|
99
|
-
// }
|
|
100
|
-
// }
|
|
101
|
-
// .tile-info-with {
|
|
102
|
-
// position: relative;
|
|
103
|
-
// display: inline-block;
|
|
104
|
-
// vertical-align: middle;
|
|
105
|
-
// // &.info-open {
|
|
106
|
-
// // max-width: calc(100% - 300px);
|
|
107
|
-
// // }
|
|
108
|
-
// }
|
|
109
|
-
// .tile-point {
|
|
110
|
-
// width: 10px;
|
|
111
|
-
// height: 10px;
|
|
112
|
-
// border-radius: 50%;
|
|
113
|
-
// display: inline-block;
|
|
114
|
-
// line-height: 10px;
|
|
115
|
-
// margin-right: 5px;
|
|
116
|
-
// vertical-align: middle;
|
|
117
|
-
// }
|
|
118
|
-
// .tile-username {
|
|
119
|
-
// display: inline-block;
|
|
120
|
-
// font-size: 15px;
|
|
121
|
-
// font-weight: bold;
|
|
122
|
-
// color: var(--black);
|
|
123
|
-
// margin: 0;
|
|
124
|
-
// padding: 0;
|
|
125
|
-
|
|
126
|
-
// }
|
|
127
|
-
// .tile-last-activity {
|
|
128
|
-
// color: var(--light-gray);
|
|
129
|
-
// font-size: 12px;
|
|
130
|
-
// font-weight: normal;
|
|
131
|
-
// margin-top: 2px;
|
|
132
|
-
// vertical-align: middle;
|
|
133
|
-
// position: relative;
|
|
134
|
-
// .tile-typing-now {
|
|
135
|
-
// color: var(--basic-blue);
|
|
136
|
-
// }
|
|
137
|
-
// }
|
|
138
|
-
// #tile-spinner {
|
|
139
|
-
// position: relative;
|
|
140
|
-
// left: 0;
|
|
141
|
-
// top: 0;
|
|
142
|
-
// margin: 0;
|
|
143
|
-
// &.active {
|
|
144
|
-
// display: inline-block;
|
|
145
|
-
// width: 30px;
|
|
146
|
-
// }
|
|
147
|
-
// }
|
|
148
|
-
// #tile-spinner > div {
|
|
149
|
-
// width: 6px;
|
|
150
|
-
// height: 6px;
|
|
151
|
-
// background-color: var(--basic-blue);
|
|
152
|
-
// }
|
|
153
|
-
// ion-buttons {
|
|
154
|
-
// button {
|
|
155
|
-
// max-width: 30px;
|
|
156
|
-
// padding: 0;
|
|
157
|
-
// margin-right: 20px;
|
|
158
|
-
// }
|
|
159
|
-
// }
|
|
160
|
-
// }
|
|
161
|
-
|
|
162
|
-
// ion-content {
|
|
163
39
|
|
|
164
|
-
// .row-day {
|
|
165
|
-
// padding: 0 10px;
|
|
166
|
-
// text-align: center;
|
|
167
|
-
// width: 100%;
|
|
168
|
-
// margin-top: 15px;
|
|
169
|
-
// margin-bottom: 5px;
|
|
170
|
-
// }
|
|
171
|
-
// .header-day {
|
|
172
|
-
// background-color: var(--transparent);
|
|
173
|
-
// padding-top: 4px;
|
|
174
|
-
// padding-bottom: 4px;
|
|
175
|
-
// padding-left: 12px;
|
|
176
|
-
// padding-right: 12px;
|
|
177
|
-
// vertical-align: middle;
|
|
178
|
-
// border-radius: 13px;
|
|
179
|
-
// font-size: 14px;
|
|
180
|
-
// font-weight: bold;
|
|
181
|
-
// color: var(--basic-gray);
|
|
182
|
-
// display: inline-block;
|
|
183
|
-
// }
|
|
184
|
-
// .message {
|
|
185
|
-
// .bubble-message {
|
|
186
|
-
// position: relative;
|
|
187
|
-
// border-radius: 15px;
|
|
188
|
-
// font-size: 15px;
|
|
189
|
-
// padding: 5px 10px 10px 10px;
|
|
190
|
-
// display: block;
|
|
191
|
-
// width: auto;
|
|
192
|
-
// max-width: 80%;
|
|
193
|
-
// line-height: 1.34;
|
|
194
|
-
// direction: ltr;
|
|
195
|
-
// }
|
|
196
|
-
// .message-content:after {
|
|
197
|
-
// content: "\00a0\00a0\00a0\00a0\00a0\00a0";
|
|
198
|
-
// }
|
|
199
|
-
// .timestamp-message {
|
|
200
|
-
// font-size: 10px;
|
|
201
|
-
// padding: 0px;
|
|
202
|
-
// position: absolute;
|
|
203
|
-
// bottom: 0px;
|
|
204
|
-
// right: 6px;
|
|
205
|
-
// line-height: 15px;
|
|
206
|
-
// }
|
|
207
|
-
// &.message-other {
|
|
208
|
-
// width: 100%;
|
|
209
|
-
// margin-top: 4px;
|
|
210
|
-
// .bubble-message {
|
|
211
|
-
// background-color: var(--light-gray);
|
|
212
|
-
// color: var(--black);
|
|
213
|
-
// margin-left: 24px;
|
|
214
|
-
// float: left;
|
|
215
|
-
// border-top-left-radius: 6px;
|
|
216
|
-
// border-bottom-left-radius: 6px;
|
|
217
|
-
// }
|
|
218
|
-
// .message-sender-fullname {
|
|
219
|
-
// margin: 0;
|
|
220
|
-
// font-size: 15px;
|
|
221
|
-
// color: var(--basic-gray);
|
|
222
|
-
// font-weight: bold;
|
|
223
|
-
// display: none;
|
|
224
|
-
// }
|
|
225
|
-
// .timestamp-message {
|
|
226
|
-
// color: var(--basic-gray);
|
|
227
|
-
// bottom: 2px;
|
|
228
|
-
// right: 10px;
|
|
229
|
-
// }
|
|
230
|
-
// &.first-message {
|
|
231
|
-
// margin-top: 10px;
|
|
232
|
-
// .bubble-message {
|
|
233
|
-
// border-top-left-radius: 12px;
|
|
234
|
-
// border-bottom-left-radius: 0px;
|
|
235
|
-
// }
|
|
236
|
-
// .message-sender-fullname {
|
|
237
|
-
// display: block;
|
|
238
|
-
// }
|
|
239
|
-
// }
|
|
240
|
-
// }
|
|
241
|
-
// &.message-mine {
|
|
242
|
-
// width: 100%;
|
|
243
|
-
// margin-top: 4px;
|
|
244
|
-
// .bubble-message {
|
|
245
|
-
// background-color: var(--bubble-blue);
|
|
246
|
-
// color: white;
|
|
247
|
-
// margin-right: 24px;
|
|
248
|
-
// float: right;
|
|
249
|
-
// border-top-right-radius: 6px;
|
|
250
|
-
// border-bottom-right-radius: 6px;
|
|
251
|
-
// }
|
|
252
|
-
// &.first-message {
|
|
253
|
-
// margin-top: 10px;
|
|
254
|
-
// .bubble-message {
|
|
255
|
-
// border-top-right-radius: 12px;
|
|
256
|
-
// border-bottom-right-radius: 0px;
|
|
257
|
-
// }
|
|
258
|
-
// }
|
|
259
|
-
// .timestamp-message {
|
|
260
|
-
// color: var(--white);
|
|
261
|
-
// }
|
|
262
|
-
// .attribute-message {
|
|
263
|
-
// position: absolute;
|
|
264
|
-
// width: 100%;
|
|
265
|
-
// background-color: transparent;
|
|
266
|
-
// bottom: 0;
|
|
267
|
-
// right: 0;
|
|
268
|
-
// .status-message {
|
|
269
|
-
// position: absolute;
|
|
270
|
-
// top: 0;
|
|
271
|
-
// right: 0;
|
|
272
|
-
// width: 15px;
|
|
273
|
-
// .material-icons {
|
|
274
|
-
// font-size: 15px;
|
|
275
|
-
// color: var(--basic-blue);
|
|
276
|
-
// position: absolute;
|
|
277
|
-
// bottom: 4px;
|
|
278
|
-
// right: 2px;
|
|
279
|
-
// }
|
|
280
|
-
// }
|
|
281
|
-
// }
|
|
282
|
-
// }
|
|
283
|
-
// }
|
|
284
|
-
|
|
285
|
-
// }
|
|
286
40
|
|
|
287
41
|
ion-header {
|
|
288
|
-
border
|
|
289
|
-
|
|
290
|
-
|
|
42
|
+
border: none;
|
|
43
|
+
&.mobile{
|
|
44
|
+
--ion-background-color: #fff;
|
|
45
|
+
border-bottom-style: solid;
|
|
46
|
+
border-color: var(--light-gray);
|
|
47
|
+
border-bottom-width: thin;
|
|
48
|
+
}
|
|
49
|
+
ion-toolbar{
|
|
50
|
+
height: var(--header-height);
|
|
51
|
+
&:not(.mobile){
|
|
52
|
+
--background: var(--list-bkg-color);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
291
55
|
}
|
|
292
56
|
|
|
293
57
|
ion-content {
|
|
58
|
+
|
|
59
|
+
&#contentPlaceholder:not(.mobile),
|
|
60
|
+
&#conv-details:not(.mobile){
|
|
61
|
+
--background: var(--list-bkg-color);
|
|
62
|
+
}
|
|
63
|
+
--background: white;
|
|
64
|
+
|
|
294
65
|
ion-item {
|
|
295
66
|
--padding-end: 0px;
|
|
296
67
|
--inner-padding-end: 0px;
|
|
@@ -302,6 +73,10 @@ ion-content {
|
|
|
302
73
|
padding: 0;
|
|
303
74
|
margin: 0;
|
|
304
75
|
overflow: hidden;
|
|
76
|
+
|
|
77
|
+
&:not(.mobile){
|
|
78
|
+
padding: var(--padding-conversation-detail);
|
|
79
|
+
}
|
|
305
80
|
}
|
|
306
81
|
.row_content {
|
|
307
82
|
width: 100%;
|
|
@@ -311,6 +86,14 @@ ion-content {
|
|
|
311
86
|
position: absolute;
|
|
312
87
|
top: 0;
|
|
313
88
|
overflow: hidden;
|
|
89
|
+
background-color: white;
|
|
90
|
+
|
|
91
|
+
&:not(.mobile){
|
|
92
|
+
border-radius: var(--border-radius-content);;
|
|
93
|
+
position: unset;
|
|
94
|
+
|
|
95
|
+
}
|
|
96
|
+
|
|
314
97
|
ion-col {
|
|
315
98
|
padding: 5px 0;
|
|
316
99
|
}
|
|
@@ -326,7 +109,7 @@ ion-content {
|
|
|
326
109
|
position: absolute;
|
|
327
110
|
bottom: 0;
|
|
328
111
|
width: calc(100% - 0px);
|
|
329
|
-
border-top: 1px solid #e2e2e2;
|
|
112
|
+
// border-top: 1px solid #e2e2e2;
|
|
330
113
|
}
|
|
331
114
|
|
|
332
115
|
#chatArea {
|
|
@@ -388,6 +171,12 @@ ion-content {
|
|
|
388
171
|
min-width: calc(100% - 600px) !important;
|
|
389
172
|
}
|
|
390
173
|
|
|
174
|
+
:host #conv-details .chat-area-apps-sidebar-wide ion-conversation-detail ::ng-deep {
|
|
175
|
+
div.manage_conversation_info_container{
|
|
176
|
+
right: calc(300px + 300px + var(--padding-conversation-detail));
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
391
180
|
.info-convs-apps-sidebar-wide {
|
|
392
181
|
max-width: 600px !important;
|
|
393
182
|
min-width: 600px !important;
|
|
@@ -440,6 +229,7 @@ ion-content {
|
|
|
440
229
|
|
|
441
230
|
.ionContentChatArea {
|
|
442
231
|
opacity: 0;
|
|
232
|
+
--background: white;
|
|
443
233
|
&.active {
|
|
444
234
|
opacity: 1;
|
|
445
235
|
}
|