@chat21/chat21-ionic 3.0.78-rc.4 → 3.0.79-rc.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/CHANGELOG.md +15 -0
- package/package.json +1 -1
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.scss +4 -0
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.scss +3 -2
- 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 +12 -7
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.scss +36 -33
- 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} +13 -5
- 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/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 +18 -11
- package/src/app/pages/conversation-detail/conversation-detail.page.scss +39 -247
- package/src/app/pages/conversation-detail/conversation-detail.page.ts +5 -6
- package/src/app/pages/conversations-list/conversations-list.page.html +9 -6
- package/src/app/pages/conversations-list/conversations-list.page.scss +8 -0
- package/src/app/pages/conversations-list/conversations-list.page.ts +14 -0
- package/src/app/pages/profile-info/profile-info.page.html +2 -4
- package/src/app/shared/shared.module.ts +24 -24
- package/src/assets/i18n/ar.json +269 -267
- package/src/assets/i18n/az.json +2 -0
- package/src/assets/i18n/de.json +2 -0
- package/src/assets/i18n/en.json +2 -0
- package/src/assets/i18n/es.json +2 -0
- package/src/assets/i18n/fr.json +2 -0
- package/src/assets/i18n/it.json +2 -0
- package/src/assets/i18n/kk.json +2 -0
- package/src/assets/i18n/pt.json +2 -0
- package/src/assets/i18n/ru.json +2 -0
- package/src/assets/i18n/sr.json +2 -0
- package/src/assets/i18n/sv.json +2 -0
- package/src/assets/i18n/tr.json +2 -0
- package/src/assets/i18n/uk.json +2 -0
- package/src/assets/i18n/uz.json +2 -0
- package/src/chat21-core/utils/utils.ts +4 -0
- package/src/variables.scss +7 -1
- 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
package/src/assets/i18n/de.json
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
"LABEL_AVAILABLE": "erhältlich",
|
|
6
6
|
"LABEL_NOT_AVAILABLE": "Nicht verfügbar",
|
|
7
7
|
"LABEL_INACTIVE":"inaktiv",
|
|
8
|
+
"LABEL_ONLINE":"online",
|
|
9
|
+
"LABEL_OFFLINE":"offline",
|
|
8
10
|
"LABEL_NO_MSG_HERE": "Hier noch keine Nachricht...",
|
|
9
11
|
"LABEL_TODAY": "heute",
|
|
10
12
|
"LABEL_TOMORROW": "gestern",
|
package/src/assets/i18n/en.json
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
"LABEL_AVAILABLE": "available",
|
|
6
6
|
"LABEL_NOT_AVAILABLE": "not available",
|
|
7
7
|
"LABEL_INACTIVE":"inactive",
|
|
8
|
+
"LABEL_ONLINE":"online",
|
|
9
|
+
"LABEL_OFFLINE":"offline",
|
|
8
10
|
"LABEL_NO_MSG_HERE": "Still no message here...",
|
|
9
11
|
"LABEL_TODAY": "today",
|
|
10
12
|
"LABEL_TOMORROW": "yesterday",
|
package/src/assets/i18n/es.json
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
"LABEL_AVAILABLE": "disponible",
|
|
6
6
|
"LABEL_NOT_AVAILABLE": "no disponible",
|
|
7
7
|
"LABEL_INACTIVE":"inactiva",
|
|
8
|
+
"LABEL_ONLINE":"en línea",
|
|
9
|
+
"LABEL_OFFLINE":"desconectado",
|
|
8
10
|
"LABEL_NO_MSG_HERE": "Todavía no hay mensajes...",
|
|
9
11
|
"LABEL_TODAY": "hoy",
|
|
10
12
|
"LABEL_TOMORROW": "ayer",
|
package/src/assets/i18n/fr.json
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
"LABEL_AVAILABLE": "disponible",
|
|
6
6
|
"LABEL_NOT_AVAILABLE": "indisponible",
|
|
7
7
|
"LABEL_INACTIVE":"inactif",
|
|
8
|
+
"LABEL_ONLINE":"en línea",
|
|
9
|
+
"LABEL_OFFLINE":"hors ligne",
|
|
8
10
|
"LABEL_NO_MSG_HERE": "Toujours pas de message ici...",
|
|
9
11
|
"LABEL_TODAY": "aujourd'hui",
|
|
10
12
|
"LABEL_TOMORROW": "hier",
|
package/src/assets/i18n/it.json
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
"LABEL_AVAILABLE": "disponibile",
|
|
6
6
|
"LABEL_NOT_AVAILABLE": "non disponibile",
|
|
7
7
|
"LABEL_INACTIVE":"inattivo",
|
|
8
|
+
"LABEL_ONLINE":"in linea",
|
|
9
|
+
"LABEL_OFFLINE":"disconnesso",
|
|
8
10
|
"LABEL_NO_MSG_HERE": "Ancora nessun messaggio qui...",
|
|
9
11
|
"LABEL_TODAY": "oggi",
|
|
10
12
|
"LABEL_TOMORROW": "ieri",
|
package/src/assets/i18n/kk.json
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
"LABEL_AVAILABLE": "қолжетімді",
|
|
6
6
|
"LABEL_NOT_AVAILABLE": "жоқ",
|
|
7
7
|
"LABEL_INACTIVE":"белсенді емес",
|
|
8
|
+
"LABEL_ONLINE":"желіде",
|
|
9
|
+
"LABEL_OFFLINE":"желіден тыс",
|
|
8
10
|
"LABEL_NO_MSG_HERE": "Бұл жерде әлі хабар жоқ...",
|
|
9
11
|
"LABEL_TODAY": "бүгін",
|
|
10
12
|
"LABEL_TOMORROW": "кеше",
|
package/src/assets/i18n/pt.json
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
"LABEL_AVAILABLE": "disponível",
|
|
6
6
|
"LABEL_NOT_AVAILABLE": "não disponível",
|
|
7
7
|
"LABEL_INACTIVE":"inativo",
|
|
8
|
+
"LABEL_ONLINE":"conectados",
|
|
9
|
+
"LABEL_OFFLINE":"desligada",
|
|
8
10
|
"LABEL_NO_MSG_HERE": "Ainda sem mensagem aqui...",
|
|
9
11
|
"LABEL_TODAY": "hoje",
|
|
10
12
|
"LABEL_TOMORROW": "ontem",
|
package/src/assets/i18n/ru.json
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
"LABEL_AVAILABLE": "имеется в наличии",
|
|
6
6
|
"LABEL_NOT_AVAILABLE": "недоступно",
|
|
7
7
|
"LABEL_INACTIVE":"неактивный",
|
|
8
|
+
"LABEL_ONLINE":"онлайн",
|
|
9
|
+
"LABEL_OFFLINE":"не в сети",
|
|
8
10
|
"LABEL_NO_MSG_HERE": "До сих пор нет сообщения здесь...",
|
|
9
11
|
"LABEL_TODAY": "сегодня",
|
|
10
12
|
"LABEL_TOMORROW": "вчерашний день",
|
package/src/assets/i18n/sr.json
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
"LABEL_AVAILABLE": "на располагању",
|
|
6
6
|
"LABEL_NOT_AVAILABLE": "није доступно",
|
|
7
7
|
"LABEL_INACTIVE":"неактиван",
|
|
8
|
+
"LABEL_ONLINE":"онлајн",
|
|
9
|
+
"LABEL_OFFLINE":"одсутан",
|
|
8
10
|
"LABEL_NO_MSG_HERE": "Још увек нема поруке овде...",
|
|
9
11
|
"LABEL_TODAY": "данас",
|
|
10
12
|
"LABEL_TOMORROW": "јуче",
|
package/src/assets/i18n/sv.json
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
"LABEL_AVAILABLE": "tillgängligt",
|
|
6
6
|
"LABEL_NOT_AVAILABLE": "inte tillgänglig",
|
|
7
7
|
"LABEL_INACTIVE":"inaktiv",
|
|
8
|
+
"LABEL_ONLINE":"uppkopplad",
|
|
9
|
+
"LABEL_OFFLINE":"off-line",
|
|
8
10
|
"LABEL_NO_MSG_HERE": "Fortfarande inget meddelande här...",
|
|
9
11
|
"LABEL_TODAY": "i dag",
|
|
10
12
|
"LABEL_TOMORROW": "i går",
|
package/src/assets/i18n/tr.json
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
"LABEL_AVAILABLE": "mevcut",
|
|
6
6
|
"LABEL_NOT_AVAILABLE": "müsait değil",
|
|
7
7
|
"LABEL_INACTIVE":"etkin değil",
|
|
8
|
+
"LABEL_ONLINE":"internet üzerinden",
|
|
9
|
+
"LABEL_OFFLINE":"çevrimdışı",
|
|
8
10
|
"LABEL_NO_MSG_HERE": "Hala mesaj yok...",
|
|
9
11
|
"LABEL_TODAY": "bugün",
|
|
10
12
|
"LABEL_TOMORROW": "dün",
|
package/src/assets/i18n/uk.json
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
"LABEL_AVAILABLE": "доступний",
|
|
6
6
|
"LABEL_NOT_AVAILABLE": "недоступний",
|
|
7
7
|
"LABEL_INACTIVE":"неактивний",
|
|
8
|
+
"LABEL_ONLINE":"онлайн",
|
|
9
|
+
"LABEL_OFFLINE":"офлайн",
|
|
8
10
|
"LABEL_NO_MSG_HERE": "Тут досі немає повідомлення...",
|
|
9
11
|
"LABEL_TODAY": "сьогодні",
|
|
10
12
|
"LABEL_TOMORROW": "вчора",
|
package/src/assets/i18n/uz.json
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
"LABEL_AVAILABLE": "mavjud",
|
|
7
7
|
"LABEL_NOT_AVAILABLE": "mavjud emas",
|
|
8
8
|
"LABEL_INACTIVE":"harakatsiz",
|
|
9
|
+
"LABEL_ONLINE":"onlayn",
|
|
10
|
+
"LABEL_OFFLINE":"oflayn",
|
|
9
11
|
"LABEL_NO_MSG_HERE": "Bu yerda hali xabar yo'q...",
|
|
10
12
|
"LABEL_TODAY": "Bugun",
|
|
11
13
|
"LABEL_TOMORROW": "kecha",
|
|
@@ -814,6 +814,10 @@ export function redirect2(router, IDConv, conversationSelected) {
|
|
|
814
814
|
/** */
|
|
815
815
|
export function checkPlatformIsMobile() {
|
|
816
816
|
// console.log('UTILS - checkPlatformIsMobile:: ', window.innerWidth);
|
|
817
|
+
// if (/Android|iPhone/i.test(window.navigator.userAgent)) {
|
|
818
|
+
// return true
|
|
819
|
+
// }
|
|
820
|
+
// return false
|
|
817
821
|
if (window.innerWidth < 768) {
|
|
818
822
|
return true;
|
|
819
823
|
}
|
package/src/variables.scss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
body {
|
|
2
2
|
/* Color palette */
|
|
3
3
|
--white: #ffffff;
|
|
4
4
|
--black: #000000;
|
|
@@ -33,6 +33,8 @@
|
|
|
33
33
|
--gray: #aaaaaa;
|
|
34
34
|
|
|
35
35
|
--header-height: 60px;
|
|
36
|
+
--list-bkg-color: #f8fafc;
|
|
37
|
+
--list-bkg-color-selected: rgba(24, 119, 242, 0.12); //rgba(24, 119, 242, 0.04);
|
|
36
38
|
|
|
37
39
|
--button-in-msg-font-size: 15px;
|
|
38
40
|
--buttonBackgroundColor: #ffffff;
|
|
@@ -40,5 +42,9 @@
|
|
|
40
42
|
--buttonHoverBackgroundColor: #2a6ac1;
|
|
41
43
|
--buttonHoverTextColor: #ffffff;
|
|
42
44
|
|
|
45
|
+
--padding-conversation-detail: 10px;
|
|
46
|
+
|
|
47
|
+
--border-radius-item: 16px;
|
|
48
|
+
--border-radius-content: 16px
|
|
43
49
|
|
|
44
50
|
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<ion-header no-border class="ion-no-border">
|
|
2
|
-
<ion-toolbar>
|
|
3
|
-
|
|
4
|
-
<ion-buttons slot="start">
|
|
5
|
-
<ion-button ion-button (click)="onBackButtonHandler()">
|
|
6
|
-
<ion-icon slot="icon-only" name="arrow-back-outline"></ion-icon>
|
|
7
|
-
</ion-button>
|
|
8
|
-
</ion-buttons>
|
|
9
|
-
|
|
10
|
-
<ion-title> {{headerTitle}}</ion-title>
|
|
11
|
-
|
|
12
|
-
</ion-toolbar>
|
|
13
|
-
</ion-header>
|
|
File without changes
|