@chat21/chat21-ionic 3.0.5-8.1 → 3.0.6-2.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 +300 -0
- package/LICENSE +661 -21
- package/README.md +21 -0
- package/angular.json +4 -0
- package/config.xml +6 -7
- package/deploy_pre.sh +44 -5
- package/deploy_prod.sh +36 -7
- package/env.sample +7 -3
- package/package.json +12 -8
- package/resources/{Android → android}/icon/drawable-hdpi-icon.png +0 -0
- package/resources/{Android → android}/icon/drawable-ldpi-icon.png +0 -0
- package/resources/{Android → android}/icon/drawable-mdpi-icon.png +0 -0
- package/resources/{Android → android}/icon/drawable-xhdpi-icon.png +0 -0
- package/resources/{Android → android}/icon/drawable-xxhdpi-icon.png +0 -0
- package/resources/{Android → android}/icon/drawable-xxxhdpi-icon.png +0 -0
- package/resources/{Android → android}/icon.png +0 -0
- package/resources/android/splash/drawable-land-hdpi-screen.png +0 -0
- package/resources/android/splash/drawable-land-ldpi-screen.png +0 -0
- package/resources/android/splash/drawable-land-mdpi-screen.png +0 -0
- package/resources/android/splash/drawable-land-xhdpi-screen.png +0 -0
- package/resources/android/splash/drawable-land-xxhdpi-screen.png +0 -0
- package/resources/android/splash/drawable-land-xxxhdpi-screen.png +0 -0
- package/resources/android/splash/drawable-port-hdpi-screen.png +0 -0
- package/resources/android/splash/drawable-port-ldpi-screen.png +0 -0
- package/resources/android/splash/drawable-port-mdpi-screen.png +0 -0
- package/resources/android/splash/drawable-port-xhdpi-screen.png +0 -0
- package/resources/android/splash/drawable-port-xxhdpi-screen.png +0 -0
- package/resources/android/splash/drawable-port-xxxhdpi-screen.png +0 -0
- package/resources/android/splash.png +0 -0
- package/src/app/app-routing.module.ts +36 -17
- package/src/app/app.component.html +18 -5
- package/src/app/app.component.scss +27 -5
- package/src/app/app.component.ts +526 -175
- package/src/app/app.module.ts +29 -12
- package/src/app/chatlib/conversation-detail/conversation-content/conversation-content.component.html +1 -1
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.html +35 -24
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.scss +166 -50
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.ts +113 -18
- package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.html +23 -33
- package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.scss +19 -7
- package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.ts +73 -7
- package/src/app/chatlib/conversation-detail/message/image/image.component.html +7 -6
- package/src/app/chatlib/conversation-detail/message/image/image.component.ts +20 -1
- package/src/app/chatlib/conversation-detail/message/message-attachment/message-attachment.component.scss +1 -1
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.html +46 -11
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.scss +8 -144
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.ts +149 -32
- package/src/app/chatlib/list-conversations-component/list-conversations/list-conversations.component.html +1 -1
- package/src/app/chatlib/list-conversations-component/list-conversations/list-conversations.component.ts +13 -10
- package/src/app/components/authentication/login/login.component.html +10 -10
- package/src/app/components/authentication/login/login.component.ts +2 -1
- package/src/app/components/conversation-detail/bubble-my-message/bubble-my-message.component.ts +1 -1
- package/src/app/components/conversation-detail/bubble-others-message/bubble-others-message.component.ts +1 -1
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.html +45 -39
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.scss +19 -1
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.ts +160 -54
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.html +101 -38
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.scss +95 -19
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.ts +209 -98
- package/src/app/components/ddp-header/ddp-header.component.html +20 -6
- package/src/app/components/ddp-header/ddp-header.component.scss +4 -0
- package/src/app/components/ddp-header/ddp-header.component.ts +107 -11
- package/src/app/components/image-viewer/image-viewer.component.html +23 -0
- package/src/app/components/image-viewer/image-viewer.component.scss +107 -0
- package/src/app/components/image-viewer/image-viewer.component.spec.ts +24 -0
- package/src/app/components/image-viewer/image-viewer.component.ts +38 -0
- package/src/app/components/project-item/project-item.component.html +170 -0
- package/src/app/components/project-item/project-item.component.scss +751 -0
- package/src/app/components/project-item/project-item.component.spec.ts +24 -0
- package/src/app/components/project-item/project-item.component.ts +384 -0
- package/src/app/components/sidebar/sidebar.component.html +275 -0
- package/src/app/components/sidebar/sidebar.component.scss +79 -0
- package/src/app/components/sidebar/sidebar.component.spec.ts +24 -0
- package/src/app/components/sidebar/sidebar.component.ts +541 -0
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.html +121 -0
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.scss +343 -0
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.spec.ts +24 -0
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.ts +502 -0
- package/src/app/components/utils/avatar-profile/avatar-profile.component.html +7 -0
- package/src/app/components/utils/avatar-profile/avatar-profile.component.ts +22 -5
- package/src/app/pages/authentication/login/login.page.html +1 -2
- package/src/app/pages/authentication/login/login.page.ts +1 -1
- package/src/app/pages/conversation-detail/conversation-detail.module.ts +9 -2
- package/src/app/pages/conversation-detail/conversation-detail.page.html +55 -49
- package/src/app/pages/conversation-detail/conversation-detail.page.scss +28 -0
- package/src/app/pages/conversation-detail/conversation-detail.page.ts +1285 -688
- package/src/app/pages/conversations-list/conversations-list.module.ts +2 -1
- package/src/app/pages/conversations-list/conversations-list.page.html +55 -21
- package/src/app/pages/conversations-list/conversations-list.page.scss +309 -127
- package/src/app/pages/conversations-list/conversations-list.page.ts +833 -358
- package/src/app/pages/create-canned-response/create-canned-response-routing.module.ts +17 -0
- package/src/app/pages/create-canned-response/create-canned-response.module.ts +30 -0
- package/src/app/pages/create-canned-response/create-canned-response.page.html +150 -0
- package/src/app/pages/create-canned-response/create-canned-response.page.scss +55 -0
- package/src/app/pages/create-canned-response/create-canned-response.page.spec.ts +24 -0
- package/src/app/pages/create-canned-response/create-canned-response.page.ts +319 -0
- package/src/app/pages/create-requester/create-requester-routing.module.ts +17 -0
- package/src/app/pages/create-requester/create-requester.module.ts +28 -0
- package/src/app/pages/create-requester/create-requester.page.html +67 -0
- package/src/app/pages/create-requester/create-requester.page.scss +30 -0
- package/src/app/pages/create-requester/create-requester.page.spec.ts +24 -0
- package/src/app/pages/create-requester/create-requester.page.ts +138 -0
- package/src/app/pages/create-ticket/create-ticket-routing.module.ts +17 -0
- package/src/app/pages/create-ticket/create-ticket.module.ts +28 -0
- package/src/app/pages/create-ticket/create-ticket.page.html +171 -0
- package/src/app/pages/create-ticket/create-ticket.page.scss +52 -0
- package/src/app/pages/create-ticket/create-ticket.page.spec.ts +24 -0
- package/src/app/pages/create-ticket/create-ticket.page.ts +432 -0
- package/src/app/pages/loader-preview/loader-preview.page.ts +226 -166
- package/src/app/pages/profile-info/profile-info.page.html +4 -4
- package/src/app/pages/profile-info/profile-info.page.scss +13 -2
- package/src/app/pages/profile-info/profile-info.page.ts +23 -21
- package/src/app/pages/unassigned-conversations/unassigned-conversations-routing.module.ts +17 -0
- package/src/app/pages/unassigned-conversations/unassigned-conversations.module.ts +22 -0
- package/src/app/pages/unassigned-conversations/unassigned-conversations.page.html +27 -0
- package/src/app/pages/unassigned-conversations/unassigned-conversations.page.scss +173 -0
- package/src/app/pages/unassigned-conversations/unassigned-conversations.page.spec.ts +24 -0
- package/src/app/pages/unassigned-conversations/unassigned-conversations.page.ts +151 -0
- package/src/app/services/app-config.ts +77 -5
- package/src/app/services/nav-proxy.service.ts +1 -1
- package/src/app/services/tiledesk/tiledesk.service.ts +231 -1
- package/src/app/services/websocket/websocket-js.ts +560 -0
- package/src/app/services/websocket/websocket.service.spec.ts +12 -0
- package/src/app/services/websocket/websocket.service.ts +292 -0
- package/src/app/shared/shared.module.ts +28 -8
- package/src/app/utils/scrollbar-theme.directive.ts +58 -24
- package/src/assets/i18n/de.json +265 -0
- package/src/assets/i18n/en.json +89 -7
- package/src/assets/i18n/es.json +265 -0
- package/src/assets/i18n/fr.json +265 -0
- package/src/assets/i18n/it.json +108 -34
- package/src/assets/i18n/pt.json +265 -0
- package/src/assets/i18n/ru.json +265 -0
- package/src/assets/i18n/sr.json +265 -0
- package/src/assets/i18n/tr.json +265 -0
- package/src/assets/images/default-avatar-x-select.png +0 -0
- package/src/assets/images/language_flag/ar.png +0 -0
- package/src/assets/images/language_flag/bg.png +0 -0
- package/src/assets/images/language_flag/ca.png +0 -0
- package/src/assets/images/language_flag/cs.png +0 -0
- package/src/assets/images/language_flag/da.png +0 -0
- package/src/assets/images/language_flag/de.png +0 -0
- package/src/assets/images/language_flag/el.png +0 -0
- package/src/assets/images/language_flag/en.png +0 -0
- package/src/assets/images/language_flag/es.png +0 -0
- package/src/assets/images/language_flag/fa.png +0 -0
- package/src/assets/images/language_flag/fi.png +0 -0
- package/src/assets/images/language_flag/fr.png +0 -0
- package/src/assets/images/language_flag/he.png +0 -0
- package/src/assets/images/language_flag/hi.png +0 -0
- package/src/assets/images/language_flag/hr.png +0 -0
- package/src/assets/images/language_flag/hu.png +0 -0
- package/src/assets/images/language_flag/id.png +0 -0
- package/src/assets/images/language_flag/it.png +0 -0
- package/src/assets/images/language_flag/ja.png +0 -0
- package/src/assets/images/language_flag/ko.png +0 -0
- package/src/assets/images/language_flag/ml-IN.png +0 -0
- package/src/assets/images/language_flag/ne-NP.png +0 -0
- package/src/assets/images/language_flag/nl.png +0 -0
- package/src/assets/images/language_flag/no.png +0 -0
- package/src/assets/images/language_flag/pl.png +0 -0
- package/src/assets/images/language_flag/pt-BR.png +0 -0
- package/src/assets/images/language_flag/pt.png +0 -0
- package/src/assets/images/language_flag/ro.png +0 -0
- package/src/assets/images/language_flag/ru.png +0 -0
- package/src/assets/images/language_flag/sk.png +0 -0
- package/src/assets/images/language_flag/sl.png +0 -0
- package/src/assets/images/language_flag/sr.png +0 -0
- package/src/assets/images/language_flag/sv-SE.png +0 -0
- package/src/assets/images/language_flag/ta.png +0 -0
- package/src/assets/images/language_flag/th.png +0 -0
- package/src/assets/images/language_flag/tr.png +0 -0
- package/src/assets/images/language_flag/uk.png +0 -0
- package/src/assets/images/language_flag/vi.png +0 -0
- package/src/assets/images/language_flag/zh-CN.png +0 -0
- package/src/assets/images/language_flag/zh-TW.png +0 -0
- package/src/assets/images/no_image_user.png +0 -0
- package/src/assets/images/priority_icons/high.svg +3 -0
- package/src/assets/images/priority_icons/high_v2.svg +14 -0
- package/src/assets/images/priority_icons/low.svg +10 -0
- package/src/assets/images/priority_icons/low_v2.svg +14 -0
- package/src/assets/images/priority_icons/medium.svg +16 -0
- package/src/assets/images/priority_icons/medium_v2.svg +11 -0
- package/src/assets/images/priority_icons/urgent.svg +4 -0
- package/src/assets/images/priority_icons/urgent_v2.svg +16 -0
- package/src/assets/js/chat21client.js +159 -84
- package/src/assets/logo.png +0 -0
- package/src/assets/tiledesk-solo-logo.png +0 -0
- package/src/assets/transparent.png +0 -0
- package/src/chat-config-mqtt.json +27 -17
- package/src/chat-config-pre-test.json +6 -2
- package/src/chat-config-template.json +8 -1
- package/src/chat-config.json +8 -1
- package/src/chat21-core/providers/chat-manager.ts +3 -3
- package/src/chat21-core/providers/firebase/firebase-archivedconversations-handler.ts +2 -2
- package/src/chat21-core/providers/firebase/firebase-auth-service.ts +6 -6
- package/src/chat21-core/providers/firebase/firebase-conversation-handler.ts +61 -45
- package/src/chat21-core/providers/firebase/firebase-conversations-handler.ts +24 -1
- package/src/chat21-core/providers/firebase/firebase-notifications.ts +32 -24
- package/src/chat21-core/providers/firebase/firebase-presence.service.ts +2 -2
- package/src/chat21-core/providers/firebase/firebase-typing.service.ts +1 -1
- package/src/chat21-core/providers/firebase/firebase-upload.service.ts +1 -1
- package/src/chat21-core/providers/mqtt/mqtt-archivedconversations-handler.ts +1 -1
- package/src/chat21-core/providers/mqtt/mqtt-conversation-handler.ts +3 -5
- package/src/chat21-core/providers/mqtt/mqtt-conversations-handler.ts +13 -5
- package/src/chat21-core/providers/mqtt/mqtt-notifications.ts +101 -11
- package/src/chat21-core/providers/tiledesk/tiledesk-auth.service.ts +13 -4
- package/src/chat21-core/utils/constants.ts +8 -1
- package/src/chat21-core/utils/utils-message.ts +21 -2
- package/src/chat21-core/utils/utils.ts +13 -2
- package/src/firebase-messaging-sw-template.js +1 -1
- package/src/global.scss +408 -2
- package/src/index.html +7 -0
- package/publish_pre.sh +0 -33
- package/publish_prod.sh +0 -33
- package/resources/Android/splash/drawable-land-hdpi-screen.png +0 -0
- package/resources/Android/splash/drawable-land-ldpi-screen.png +0 -0
- package/resources/Android/splash/drawable-land-mdpi-screen.png +0 -0
- package/resources/Android/splash/drawable-land-xhdpi-screen.png +0 -0
- package/resources/Android/splash/drawable-land-xxhdpi-screen.png +0 -0
- package/resources/Android/splash/drawable-land-xxxhdpi-screen.png +0 -0
- package/resources/Android/splash/drawable-port-hdpi-screen.png +0 -0
- package/resources/Android/splash/drawable-port-ldpi-screen.png +0 -0
- package/resources/Android/splash/drawable-port-mdpi-screen.png +0 -0
- package/resources/Android/splash/drawable-port-xhdpi-screen.png +0 -0
- package/resources/Android/splash/drawable-port-xxhdpi-screen.png +0 -0
- package/resources/Android/splash/drawable-port-xxxhdpi-screen.png +0 -0
- package/resources/Android/splash.png +0 -0
- package/src/assets/images/tiledesk_logo_50x50.png +0 -0
|
@@ -18,7 +18,7 @@ import { ContactsDirectoryPageModule } from '../contacts-directory/contacts-dire
|
|
|
18
18
|
import { ProfileInfoPageModule } from '../profile-info/profile-info.module';
|
|
19
19
|
// import { ConversationDetailPageModule } from '../conversation-detail/conversation-detail.module';
|
|
20
20
|
import { SharedModule } from 'src/app/shared/shared.module';
|
|
21
|
-
|
|
21
|
+
import { ScrollbarThemeModule } from '../../utils/scrollbar-theme.directive';
|
|
22
22
|
@NgModule({
|
|
23
23
|
imports: [
|
|
24
24
|
CommonModule,
|
|
@@ -28,6 +28,7 @@ import { SharedModule } from 'src/app/shared/shared.module';
|
|
|
28
28
|
// ConversationDetailPageModule,
|
|
29
29
|
ContactsDirectoryPageModule,
|
|
30
30
|
ProfileInfoPageModule,
|
|
31
|
+
ScrollbarThemeModule,
|
|
31
32
|
TranslateModule.forChild({
|
|
32
33
|
loader: {
|
|
33
34
|
provide: TranslateLoader,
|
|
@@ -1,51 +1,85 @@
|
|
|
1
|
-
|
|
2
1
|
<ion-header no-border class="ion-no-border">
|
|
3
2
|
<app-ddp-header *ngIf="conversationType ==='active'"
|
|
4
3
|
[numberOpenConv]="numberOpenConv"
|
|
5
4
|
[supportMode]="supportMode"
|
|
5
|
+
[archived_btn]="archived_btn"
|
|
6
|
+
[writeto_btn]="writeto_btn"
|
|
6
7
|
(openContactsDirectory)=openContactsDirectory($event)
|
|
7
8
|
(openProfileInfo)=openProfileInfo($event)>
|
|
8
9
|
</app-ddp-header>
|
|
9
10
|
|
|
10
|
-
<app-option-header *ngIf="conversationType !=='active'"
|
|
11
|
+
<app-option-header *ngIf="conversationType !=='active'"
|
|
12
|
+
[headerTitle]=headerTitle
|
|
11
13
|
(onBackButton)=onBackButtonFN($event)>
|
|
12
14
|
</app-option-header>
|
|
13
15
|
</ion-header>
|
|
14
16
|
|
|
15
|
-
<ion-content #ioncontentconvlist class="list-avatar-page" appScrollbarTheme>
|
|
16
|
-
|
|
17
|
+
<ion-content id="convs-list" #ioncontentconvlist class="list-avatar-page" appScrollbarTheme>
|
|
18
|
+
<!-- class="ps" style="position: relative; max-width: 600px; max-height: 100%;" [perfectScrollbar]="config" -->
|
|
17
19
|
<div id="scrollbar2">
|
|
18
20
|
<ion-list>
|
|
19
21
|
|
|
22
|
+
<!-- -------------------------------------------------------------------------- -->
|
|
23
|
+
<!-- New <ion-spinner class="spinner-middle" style="margin-left: 19px;"></ion-spinner> -->
|
|
24
|
+
<!-- -------------------------------------------------------------------------- -->
|
|
25
|
+
<ion-item *ngIf="isOnline === false" style="padding-left:0px!important ;padding-right:0px!important" button="true" lines="none" class="ion-no-padding waiting-for-connection">
|
|
26
|
+
<div tabindex="0"></div>
|
|
27
|
+
<ion-avatar item-start>
|
|
28
|
+
<div class="sk-fading-circle">
|
|
29
|
+
<div class="sk-circle1 sk-circle"></div>
|
|
30
|
+
<div class="sk-circle2 sk-circle"></div>
|
|
31
|
+
<div class="sk-circle3 sk-circle"></div>
|
|
32
|
+
<div class="sk-circle4 sk-circle"></div>
|
|
33
|
+
<div class="sk-circle5 sk-circle"></div>
|
|
34
|
+
<div class="sk-circle6 sk-circle"></div>
|
|
35
|
+
<div class="sk-circle7 sk-circle"></div>
|
|
36
|
+
<div class="sk-circle8 sk-circle"></div>
|
|
37
|
+
<div class="sk-circle9 sk-circle"></div>
|
|
38
|
+
<div class="sk-circle10 sk-circle"></div>
|
|
39
|
+
<div class="sk-circle11 sk-circle"></div>
|
|
40
|
+
<div class="sk-circle12 sk-circle"></div>
|
|
41
|
+
</div>
|
|
42
|
+
</ion-avatar>
|
|
43
|
+
<ion-label part="message-text" class="waiting-for-network-msg"> Waiting for network</ion-label>
|
|
44
|
+
</ion-item>
|
|
45
|
+
<!-- supportMode && -->
|
|
46
|
+
<ion-item *ngIf="displayNewConvsItem && conversationType !=='archived'" class="ion-no-padding open-iframe-item">
|
|
47
|
+
<div tabindex="0"></div>
|
|
48
|
+
<!-- <ion-note class="pinned-project">
|
|
49
|
+
{{ 'PINNED_PROJECT' | translate }}
|
|
50
|
+
</ion-note> -->
|
|
51
|
+
|
|
52
|
+
<app-project-item style="width: 100%;"
|
|
53
|
+
(openUnsevedConvsEvent)="openUnsevedConversationIframe($event)"
|
|
54
|
+
(projectIdEvent)="getLastProjectId($event)">
|
|
55
|
+
</app-project-item>
|
|
56
|
+
</ion-item>
|
|
57
|
+
|
|
20
58
|
<span
|
|
21
59
|
*ngIf="(conversations.length > 0 && conversationType ==='active') || (archivedConversations.length > 0 && conversationType ==='archived');then contentConversations else contentMessageWelcome">
|
|
22
60
|
here is ignored
|
|
23
61
|
</span>
|
|
24
62
|
|
|
63
|
+
|
|
64
|
+
|
|
25
65
|
<ng-template #contentConversations>
|
|
26
66
|
<!-- ---------------------------------- -->
|
|
27
67
|
<!-- ACTIVE CONVERSATION LIST -->
|
|
28
68
|
<!-- ---------------------------------- -->
|
|
29
|
-
<ion-list-conversations *ngIf="conversationType ==='active'"
|
|
30
|
-
[
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
[
|
|
34
|
-
(
|
|
35
|
-
(onImageLoaded)="onImageLoaded($event)"
|
|
36
|
-
(onConversationLoaded)="onConversationLoaded($event)"
|
|
37
|
-
(onCloseConversation)="onCloseConversation($event)">
|
|
69
|
+
<ion-list-conversations *ngIf="conversationType ==='active'" [uidConvSelected]="uidConvSelected"
|
|
70
|
+
[listConversations]="conversations" [stylesMap]="stylesMap" [translationMap]="translationMapConversation"
|
|
71
|
+
(onConversationSelected)=onConversationSelected($event) (onImageLoaded)="onImageLoaded($event)"
|
|
72
|
+
(onConversationLoaded)="onConversationLoaded($event)" (onCloseConversation)="onCloseConversation($event)"
|
|
73
|
+
[archiveActionNotAllowed]="archiveActionNotAllowed"
|
|
74
|
+
(onCloseAlert)="onCloseAlert($event)">
|
|
38
75
|
</ion-list-conversations>
|
|
39
76
|
|
|
40
77
|
<!-- ---------------------------------- -->
|
|
41
78
|
<!-- ARCHIVED CONVERSATION LIST -->
|
|
42
79
|
<!-- ---------------------------------- -->
|
|
43
|
-
<ion-list-conversations *ngIf="conversationType ==='archived'"
|
|
44
|
-
[
|
|
45
|
-
|
|
46
|
-
[translationMap]="translationMapConversation"
|
|
47
|
-
(onConversationSelected)=onConversationSelected($event)
|
|
48
|
-
(onImageLoaded)="onImageLoaded($event)"
|
|
80
|
+
<ion-list-conversations *ngIf="conversationType ==='archived'" [listConversations]="archivedConversations"
|
|
81
|
+
[stylesMap]="stylesMap" [translationMap]="translationMapConversation"
|
|
82
|
+
(onConversationSelected)=onConversationSelected($event) (onImageLoaded)="onImageLoaded($event)"
|
|
49
83
|
(onConversationLoaded)="onConversationLoaded($event)">
|
|
50
84
|
</ion-list-conversations>
|
|
51
85
|
</ng-template>
|
|
@@ -84,8 +118,8 @@
|
|
|
84
118
|
</ion-label>
|
|
85
119
|
</ion-item>
|
|
86
120
|
</div>
|
|
87
|
-
|
|
121
|
+
|
|
88
122
|
</ng-template>
|
|
89
123
|
</ion-list>
|
|
90
124
|
</div>
|
|
91
|
-
</ion-content>
|
|
125
|
+
</ion-content>
|
|
@@ -1,139 +1,321 @@
|
|
|
1
|
+
@import '~perfect-scrollbar/css/perfect-scrollbar.css';
|
|
2
|
+
|
|
1
3
|
ion-header {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
border-bottom-style: solid;
|
|
5
|
+
border-color: var(--light-gray);
|
|
6
|
+
border-bottom-width: thin;
|
|
5
7
|
}
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
|
|
9
9
|
ion-list {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
display: block;
|
|
11
|
+
margin-block-start: 1em;
|
|
12
|
+
margin-block-end: 1em;
|
|
13
|
+
margin-inline-start: 0px;
|
|
14
|
+
margin-inline-end: 0px;
|
|
15
|
+
padding-inline-start: 40px;
|
|
16
|
+
list-style-type: none;
|
|
17
|
+
margin: 0;
|
|
18
|
+
padding: 0;
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
ion-item {
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
height: 64px;
|
|
23
|
+
position: relative;
|
|
24
|
+
display: flex;
|
|
25
|
+
text-decoration: none;
|
|
26
|
+
padding-left: 8px;
|
|
27
|
+
padding-right: 8px;
|
|
28
|
+
--padding-start: 0;
|
|
29
|
+
--inner-padding-end: 0;
|
|
30
|
+
.selected {
|
|
31
|
+
border-radius: 10px;
|
|
32
|
+
padding-left: 8px;
|
|
33
|
+
padding-right: 8px;
|
|
34
|
+
position: absolute;
|
|
35
|
+
width: 100%;
|
|
36
|
+
height: 100%;
|
|
37
|
+
z-index: -1;
|
|
38
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
39
|
+
}
|
|
40
|
+
ion-avatar {
|
|
41
|
+
position: relative;
|
|
42
|
+
padding: 0;
|
|
43
|
+
margin: 0 12px 0 8px;
|
|
44
|
+
height: 50px;
|
|
45
|
+
width: 50px;
|
|
46
|
+
min-width: 50px;
|
|
47
|
+
min-height: 50px;
|
|
48
|
+
line-height: 50px;
|
|
49
|
+
.avatar-placeholder {
|
|
50
|
+
position: absolute;
|
|
51
|
+
top: 0;
|
|
52
|
+
left: 0;
|
|
53
|
+
width: 100%;
|
|
54
|
+
height: 100%;
|
|
55
|
+
border-radius: 50%;
|
|
56
|
+
text-align: center;
|
|
57
|
+
font-size: 20px;
|
|
58
|
+
color: #ffffff;
|
|
59
|
+
font-weight: 500;
|
|
60
|
+
}
|
|
61
|
+
.avatar-profile {
|
|
23
62
|
position: relative;
|
|
24
|
-
display:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
font-weight: 500;
|
|
60
|
-
}
|
|
61
|
-
.avatar-profile {
|
|
62
|
-
position: relative;
|
|
63
|
-
display: inline-block;
|
|
64
|
-
width: 100%;
|
|
65
|
-
height: 100%;
|
|
66
|
-
background-color: transparent;
|
|
67
|
-
background-size: cover;
|
|
68
|
-
background-position: top center;
|
|
69
|
-
border-radius: 50%;
|
|
70
|
-
border-color: #c3c3c3;
|
|
71
|
-
border-style: solid;
|
|
72
|
-
border-width: 0px;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
ion-label {
|
|
76
|
-
flex: 1 1 0px;
|
|
77
|
-
justify-content: center;
|
|
78
|
-
min-width: 0;
|
|
79
|
-
padding: 0;
|
|
80
|
-
font-family: Helvetica, Helvetica, Arial, sans-serif;
|
|
81
|
-
line-height: 1.28;
|
|
82
|
-
text-rendering: optimizeLegibility;
|
|
83
|
-
.conversation_with {
|
|
84
|
-
color: rgba(0, 0, 0, 1);
|
|
85
|
-
font-size: 15px;
|
|
86
|
-
font-weight: 400;
|
|
87
|
-
line-height: 1.4;
|
|
88
|
-
}
|
|
89
|
-
.conversation_message {
|
|
90
|
-
p {
|
|
91
|
-
color: rgba(153, 153, 153, 1);
|
|
92
|
-
font-size: 13px;
|
|
93
|
-
font-weight: 400;
|
|
94
|
-
height: 18px;
|
|
95
|
-
&.not-read {
|
|
96
|
-
font-weight:bold;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
}
|
|
103
|
-
ion-note {
|
|
104
|
-
position: absolute;
|
|
105
|
-
right: 8px;
|
|
106
|
-
top: 4px;
|
|
107
|
-
font-size: 10px;
|
|
63
|
+
display: inline-block;
|
|
64
|
+
width: 100%;
|
|
65
|
+
height: 100%;
|
|
66
|
+
background-color: transparent;
|
|
67
|
+
background-size: cover;
|
|
68
|
+
background-position: top center;
|
|
69
|
+
border-radius: 50%;
|
|
70
|
+
border-color: #c3c3c3;
|
|
71
|
+
border-style: solid;
|
|
72
|
+
border-width: 0px;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
ion-label {
|
|
76
|
+
flex: 1 1 0px;
|
|
77
|
+
justify-content: center;
|
|
78
|
+
min-width: 0;
|
|
79
|
+
padding: 0;
|
|
80
|
+
font-family: Helvetica, Helvetica, Arial, sans-serif;
|
|
81
|
+
line-height: 1.28;
|
|
82
|
+
text-rendering: optimizeLegibility;
|
|
83
|
+
.conversation_with {
|
|
84
|
+
color: rgba(0, 0, 0, 1);
|
|
85
|
+
font-size: 15px;
|
|
86
|
+
font-weight: 400;
|
|
87
|
+
line-height: 1.4;
|
|
88
|
+
}
|
|
89
|
+
.conversation_message {
|
|
90
|
+
p {
|
|
91
|
+
color: rgba(153, 153, 153, 1);
|
|
92
|
+
font-size: 13px;
|
|
93
|
+
font-weight: 400;
|
|
94
|
+
height: 18px;
|
|
95
|
+
&.not-read {
|
|
96
|
+
font-weight: bold;
|
|
97
|
+
}
|
|
108
98
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
ion-note {
|
|
102
|
+
position: absolute;
|
|
103
|
+
right: 8px;
|
|
104
|
+
top: 4px;
|
|
105
|
+
font-size: 10px;
|
|
106
|
+
}
|
|
107
|
+
ion-buttons {
|
|
108
|
+
margin: 0;
|
|
109
|
+
ion-button {
|
|
110
|
+
padding: 0;
|
|
111
|
+
margin: 0;
|
|
112
|
+
height: 24px;
|
|
113
|
+
width: 24px;
|
|
114
|
+
font-size: 10px;
|
|
115
|
+
--padding-start: 0px;
|
|
116
|
+
--padding-end: 0px;
|
|
117
|
+
color: rgba(153, 153, 153, 1);
|
|
118
|
+
background-color: transparent;
|
|
119
|
+
&:hover {
|
|
120
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
125
121
|
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
126
124
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
}
|
|
125
|
+
.notification_point {
|
|
126
|
+
width: 10px;
|
|
127
|
+
height: 10px;
|
|
128
|
+
border-radius: 50%;
|
|
129
|
+
background-color: #0b5c89;
|
|
130
|
+
position: absolute;
|
|
131
|
+
right: 6px;
|
|
132
|
+
bottom: 8px;
|
|
136
133
|
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.waiting-for-connection {
|
|
138
|
+
--background: #fdd764;
|
|
139
|
+
--min-height: 70px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
// -------------------------------
|
|
143
|
+
// Spinner
|
|
144
|
+
// -------------------------------
|
|
145
|
+
.sk-fading-circle {
|
|
146
|
+
// margin: 100px auto;
|
|
147
|
+
width: 25px;
|
|
148
|
+
height: 25px;
|
|
149
|
+
position: relative;
|
|
150
|
+
margin-left: 10px;
|
|
151
|
+
margin-top: 13px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.sk-fading-circle .sk-circle {
|
|
155
|
+
width: 100%;
|
|
156
|
+
height: 100%;
|
|
157
|
+
position: absolute;
|
|
158
|
+
left: 0;
|
|
159
|
+
top: 0;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.sk-fading-circle .sk-circle:before {
|
|
163
|
+
content: "";
|
|
164
|
+
display: block;
|
|
165
|
+
margin: 0 auto;
|
|
166
|
+
width: 15%;
|
|
167
|
+
height: 15%;
|
|
168
|
+
background-color: #333;
|
|
169
|
+
border-radius: 100%;
|
|
170
|
+
-webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
|
|
171
|
+
animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
|
|
172
|
+
}
|
|
173
|
+
.sk-fading-circle .sk-circle2 {
|
|
174
|
+
-webkit-transform: rotate(30deg);
|
|
175
|
+
-ms-transform: rotate(30deg);
|
|
176
|
+
transform: rotate(30deg);
|
|
177
|
+
}
|
|
178
|
+
.sk-fading-circle .sk-circle3 {
|
|
179
|
+
-webkit-transform: rotate(60deg);
|
|
180
|
+
-ms-transform: rotate(60deg);
|
|
181
|
+
transform: rotate(60deg);
|
|
182
|
+
}
|
|
183
|
+
.sk-fading-circle .sk-circle4 {
|
|
184
|
+
-webkit-transform: rotate(90deg);
|
|
185
|
+
-ms-transform: rotate(90deg);
|
|
186
|
+
transform: rotate(90deg);
|
|
187
|
+
}
|
|
188
|
+
.sk-fading-circle .sk-circle5 {
|
|
189
|
+
-webkit-transform: rotate(120deg);
|
|
190
|
+
-ms-transform: rotate(120deg);
|
|
191
|
+
transform: rotate(120deg);
|
|
192
|
+
}
|
|
193
|
+
.sk-fading-circle .sk-circle6 {
|
|
194
|
+
-webkit-transform: rotate(150deg);
|
|
195
|
+
-ms-transform: rotate(150deg);
|
|
196
|
+
transform: rotate(150deg);
|
|
197
|
+
}
|
|
198
|
+
.sk-fading-circle .sk-circle7 {
|
|
199
|
+
-webkit-transform: rotate(180deg);
|
|
200
|
+
-ms-transform: rotate(180deg);
|
|
201
|
+
transform: rotate(180deg);
|
|
202
|
+
}
|
|
203
|
+
.sk-fading-circle .sk-circle8 {
|
|
204
|
+
-webkit-transform: rotate(210deg);
|
|
205
|
+
-ms-transform: rotate(210deg);
|
|
206
|
+
transform: rotate(210deg);
|
|
207
|
+
}
|
|
208
|
+
.sk-fading-circle .sk-circle9 {
|
|
209
|
+
-webkit-transform: rotate(240deg);
|
|
210
|
+
-ms-transform: rotate(240deg);
|
|
211
|
+
transform: rotate(240deg);
|
|
212
|
+
}
|
|
213
|
+
.sk-fading-circle .sk-circle10 {
|
|
214
|
+
-webkit-transform: rotate(270deg);
|
|
215
|
+
-ms-transform: rotate(270deg);
|
|
216
|
+
transform: rotate(270deg);
|
|
217
|
+
}
|
|
218
|
+
.sk-fading-circle .sk-circle11 {
|
|
219
|
+
-webkit-transform: rotate(300deg);
|
|
220
|
+
-ms-transform: rotate(300deg);
|
|
221
|
+
transform: rotate(300deg);
|
|
222
|
+
}
|
|
223
|
+
.sk-fading-circle .sk-circle12 {
|
|
224
|
+
-webkit-transform: rotate(330deg);
|
|
225
|
+
-ms-transform: rotate(330deg);
|
|
226
|
+
transform: rotate(330deg);
|
|
227
|
+
}
|
|
228
|
+
.sk-fading-circle .sk-circle2:before {
|
|
229
|
+
-webkit-animation-delay: -1.1s;
|
|
230
|
+
animation-delay: -1.1s;
|
|
231
|
+
}
|
|
232
|
+
.sk-fading-circle .sk-circle3:before {
|
|
233
|
+
-webkit-animation-delay: -1s;
|
|
234
|
+
animation-delay: -1s;
|
|
235
|
+
}
|
|
236
|
+
.sk-fading-circle .sk-circle4:before {
|
|
237
|
+
-webkit-animation-delay: -0.9s;
|
|
238
|
+
animation-delay: -0.9s;
|
|
239
|
+
}
|
|
240
|
+
.sk-fading-circle .sk-circle5:before {
|
|
241
|
+
-webkit-animation-delay: -0.8s;
|
|
242
|
+
animation-delay: -0.8s;
|
|
243
|
+
}
|
|
244
|
+
.sk-fading-circle .sk-circle6:before {
|
|
245
|
+
-webkit-animation-delay: -0.7s;
|
|
246
|
+
animation-delay: -0.7s;
|
|
247
|
+
}
|
|
248
|
+
.sk-fading-circle .sk-circle7:before {
|
|
249
|
+
-webkit-animation-delay: -0.6s;
|
|
250
|
+
animation-delay: -0.6s;
|
|
251
|
+
}
|
|
252
|
+
.sk-fading-circle .sk-circle8:before {
|
|
253
|
+
-webkit-animation-delay: -0.5s;
|
|
254
|
+
animation-delay: -0.5s;
|
|
255
|
+
}
|
|
256
|
+
.sk-fading-circle .sk-circle9:before {
|
|
257
|
+
-webkit-animation-delay: -0.4s;
|
|
258
|
+
animation-delay: -0.4s;
|
|
259
|
+
}
|
|
260
|
+
.sk-fading-circle .sk-circle10:before {
|
|
261
|
+
-webkit-animation-delay: -0.3s;
|
|
262
|
+
animation-delay: -0.3s;
|
|
263
|
+
}
|
|
264
|
+
.sk-fading-circle .sk-circle11:before {
|
|
265
|
+
-webkit-animation-delay: -0.2s;
|
|
266
|
+
animation-delay: -0.2s;
|
|
267
|
+
}
|
|
268
|
+
.sk-fading-circle .sk-circle12:before {
|
|
269
|
+
-webkit-animation-delay: -0.1s;
|
|
270
|
+
animation-delay: -0.1s;
|
|
271
|
+
}
|
|
137
272
|
|
|
138
|
-
|
|
273
|
+
@-webkit-keyframes sk-circleFadeDelay {
|
|
274
|
+
0%,
|
|
275
|
+
39%,
|
|
276
|
+
100% {
|
|
277
|
+
opacity: 0;
|
|
278
|
+
}
|
|
279
|
+
40% {
|
|
280
|
+
opacity: 1;
|
|
281
|
+
}
|
|
139
282
|
}
|
|
283
|
+
|
|
284
|
+
@keyframes sk-circleFadeDelay {
|
|
285
|
+
0%,
|
|
286
|
+
39%,
|
|
287
|
+
100% {
|
|
288
|
+
opacity: 0;
|
|
289
|
+
}
|
|
290
|
+
40% {
|
|
291
|
+
opacity: 1;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
#no-convs-wpr {
|
|
296
|
+
margin: 100px auto;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.open-iframe-item {
|
|
300
|
+
padding-left: 0px !important ;
|
|
301
|
+
padding-right: 0px !important;
|
|
302
|
+
// height: 55px !important;
|
|
303
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
304
|
+
--background-hover: #ffffff;
|
|
305
|
+
cursor:default !important;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.pinned-project {
|
|
309
|
+
color: #3880ff;
|
|
310
|
+
position: absolute;
|
|
311
|
+
right: 8px;
|
|
312
|
+
top: 2px;
|
|
313
|
+
// font-size: 12px !important;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
// #convs-list {
|
|
317
|
+
// overflow: hidden;
|
|
318
|
+
// }
|
|
319
|
+
// #convs-list:hover {
|
|
320
|
+
// overflow-y: scroll;
|
|
321
|
+
// }
|