@chat21/chat21-ionic 3.0.85 → 3.0.86-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 +121 -4
- package/README.md +2 -2
- package/package.json +4 -3
- package/src/app/app-routing.module.ts +7 -2
- package/src/app/app.component.html +7 -1
- package/src/app/app.component.scss +20 -2
- package/src/app/app.component.ts +131 -20
- package/src/app/app.module.ts +8 -3
- package/src/app/chatlib/conversation-detail/conversation-content/conversation-content.component.ts +11 -4
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.html +86 -23
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.scss +188 -88
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.ts +42 -3
- package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.html +11 -24
- package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.scss +6 -10
- package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.spec.ts +2 -2
- package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.ts +16 -26
- 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/frame/frame.component.html +8 -2
- package/src/app/chatlib/conversation-detail/message/frame/frame.component.scss +36 -0
- package/src/app/chatlib/conversation-detail/message/frame/frame.component.ts +2 -2
- package/src/app/chatlib/conversation-detail/message/html/html.component.ts +0 -1
- package/src/app/chatlib/conversation-detail/message/image/image.component.html +3 -2
- package/src/app/chatlib/conversation-detail/message/image/image.component.scss +17 -5
- package/src/app/chatlib/conversation-detail/message/image/image.component.ts +1 -1
- package/src/app/chatlib/conversation-detail/message/info-message/info-message.component.scss +3 -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.scss +1 -3
- 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 +63 -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 +9 -9
- package/src/app/components/canned-response/canned-response.component.scss +14 -7
- package/src/app/components/canned-response/canned-response.component.ts +5 -4
- 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 +64 -47
- 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 +24 -44
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component_2.html +116 -0
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.html +39 -42
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.scss +67 -4
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.ts +82 -154
- package/src/app/components/conversation-info/info-content/info-content.component.html +23 -2
- package/src/app/components/conversation-info/info-content/info-content.component.ts +5 -6
- package/src/app/components/conversation-info/info-direct/info-direct.component.html +7 -14
- package/src/app/components/conversation-info/info-direct/info-direct.component.scss +23 -0
- package/src/app/components/conversation-info/info-direct/info-direct.component.ts +1 -6
- 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/conversation-info/info-support-group/info-support-group.component.html +2 -1
- package/src/app/components/conversation-info/info-support-group/info-support-group.component.ts +0 -1
- package/src/app/components/{ddp-header/ddp-header.component.html → conversations-list/header-conversations-list/header-conversations-list.component.html} +3 -3
- 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/{conversation-detail/bubble-my-message/bubble-my-message.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/navbar/navbar.component.html +103 -0
- package/src/app/components/navbar/navbar.component.scss +249 -0
- package/src/app/components/{ddp-header/ddp-header.component.spec.ts → navbar/navbar.component.spec.ts} +6 -6
- package/src/app/components/navbar/navbar.component.ts +195 -0
- package/src/app/components/project-item/project-item.component.html +98 -149
- package/src/app/components/project-item/project-item.component.scss +43 -35
- package/src/app/components/project-item/project-item.component.ts +16 -4
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.html +5 -5
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.ts +24 -13
- 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 → modals}/create-canned-response/create-canned-response-routing.module.ts +0 -0
- package/src/app/{pages → modals}/create-canned-response/create-canned-response.module.ts +0 -0
- package/src/app/{pages → modals}/create-canned-response/create-canned-response.page.html +0 -0
- package/src/app/{pages → modals}/create-canned-response/create-canned-response.page.scss +0 -0
- package/src/app/{pages → modals}/create-canned-response/create-canned-response.page.spec.ts +0 -0
- package/src/app/{pages → modals}/create-canned-response/create-canned-response.page.ts +13 -13
- package/src/app/{pages → modals}/loader-preview/loader-preview-routing.module.ts +0 -0
- package/src/app/{pages → modals}/loader-preview/loader-preview.module.ts +0 -0
- package/src/app/{pages → modals}/loader-preview/loader-preview.page.html +1 -1
- package/src/app/{pages → modals}/loader-preview/loader-preview.page.scss +4 -0
- package/src/app/{pages → modals}/loader-preview/loader-preview.page.spec.ts +0 -0
- package/src/app/{pages → modals}/loader-preview/loader-preview.page.ts +1 -2
- package/src/app/modals/send-email/send-email-routing.module.ts +17 -0
- package/src/app/modals/send-email/send-email.module.ts +31 -0
- package/src/app/modals/send-email/send-email.page.html +46 -0
- package/src/app/modals/send-email/send-email.page.scss +161 -0
- package/src/app/modals/send-email/send-email.page.spec.ts +24 -0
- package/src/app/modals/send-email/send-email.page.ts +89 -0
- package/src/app/pages/contacts-directory/contacts-directory.page.html +1 -1
- package/src/app/pages/contacts-directory/contacts-directory.page.scss +47 -0
- package/src/app/pages/contacts-directory/contacts-directory.page.ts +2 -0
- package/src/app/pages/conversation-detail/conversation-detail.module.ts +0 -8
- package/src/app/pages/conversation-detail/conversation-detail.page.html +48 -27
- package/src/app/pages/conversation-detail/conversation-detail.page.scss +45 -254
- package/src/app/pages/conversation-detail/conversation-detail.page.ts +330 -138
- package/src/app/pages/conversations-list/conversations-list.page.html +11 -8
- package/src/app/pages/conversations-list/conversations-list.page.scss +18 -2
- package/src/app/pages/conversations-list/conversations-list.page.ts +26 -24
- 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/services/canned-responses/canned-responses.service.ts +26 -0
- package/src/app/services/projects/projects.service.spec.ts +12 -0
- package/src/app/services/projects/projects.service.ts +43 -0
- package/src/app/services/tiledesk/tiledesk.service.ts +33 -17
- package/src/app/shared/shared.module.ts +24 -33
- package/src/app/utils/toast.spec.ts +7 -0
- package/src/app/utils/toast.ts +48 -0
- package/src/assets/i18n/ar.json +288 -265
- package/src/assets/i18n/az.json +24 -1
- package/src/assets/i18n/de.json +25 -2
- package/src/assets/i18n/en.json +25 -2
- package/src/assets/i18n/es.json +26 -3
- package/src/assets/i18n/fr.json +24 -1
- package/src/assets/i18n/it.json +24 -1
- package/src/assets/i18n/kk.json +25 -2
- package/src/assets/i18n/pt.json +25 -2
- package/src/assets/i18n/ru.json +24 -1
- package/src/assets/i18n/sr.json +287 -264
- package/src/assets/i18n/sv.json +25 -2
- package/src/assets/i18n/tr.json +25 -2
- package/src/assets/i18n/uk.json +25 -2
- package/src/assets/i18n/uz.json +24 -1
- package/src/assets/js/chat21client.js +1 -1
- package/src/assets/sounds/interface-start.mp3 +0 -0
- package/src/assets/sounds/wheep-wheep.mp3 +0 -0
- package/src/chat-config-mqtt-localhost.json +2 -2
- package/src/chat-config-native-mqtt.json +3 -0
- package/src/chat21-core/models/conversation.ts +0 -1
- package/src/chat21-core/models/projects.ts +27 -0
- package/src/chat21-core/providers/firebase/firebase-typing.service.ts +7 -9
- package/src/chat21-core/providers/logger/customLogger.ts +1 -1
- package/src/chat21-core/providers/mqtt/mqtt-auth-service.ts +7 -8
- package/src/chat21-core/utils/constants.ts +7 -1
- package/src/chat21-core/utils/convertRequestToConversation.ts +41 -0
- 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 +41 -11
- package/src/global.scss +59 -255
- package/src/index.html +0 -9
- package/src/variables.scss +30 -10
- package/src/app/components/conversation-detail/bubble-day-message/bubble-day-message.component.html +0 -3
- package/src/app/components/conversation-detail/bubble-day-message/bubble-day-message.component.scss +0 -21
- package/src/app/components/conversation-detail/bubble-day-message/bubble-day-message.component.spec.ts +0 -24
- package/src/app/components/conversation-detail/bubble-day-message/bubble-day-message.component.ts +0 -14
- package/src/app/components/conversation-detail/bubble-my-message/bubble-my-message.component.html +0 -54
- package/src/app/components/conversation-detail/bubble-my-message/bubble-my-message.component.scss +0 -98
- package/src/app/components/conversation-detail/bubble-my-message/bubble-my-message.component.ts +0 -84
- package/src/app/components/conversation-detail/bubble-others-message/bubble-others-message.component.html +0 -30
- package/src/app/components/conversation-detail/bubble-others-message/bubble-others-message.component.scss +0 -83
- package/src/app/components/conversation-detail/bubble-others-message/bubble-others-message.component.spec.ts +0 -24
- package/src/app/components/conversation-detail/bubble-others-message/bubble-others-message.component.ts +0 -68
- package/src/app/components/conversation-detail/bubble-system-message/bubble-system-message.component.html +0 -3
- package/src/app/components/conversation-detail/bubble-system-message/bubble-system-message.component.scss +0 -10
- package/src/app/components/conversation-detail/bubble-system-message/bubble-system-message.component.spec.ts +0 -24
- package/src/app/components/conversation-detail/bubble-system-message/bubble-system-message.component.ts +0 -14
- 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
|
@@ -1,23 +1,29 @@
|
|
|
1
1
|
<span *ngIf="conversationWith && loggedUser; then showConversation else showPlaceholder"></span>
|
|
2
2
|
<ng-template #showPlaceholder>
|
|
3
|
+
|
|
4
|
+
<ion-header no-border class="ion-no-border" [class.mobile]="isMobile">
|
|
5
|
+
<ion-toolbar [class.mobile]="isMobile">
|
|
6
|
+
|
|
7
|
+
</ion-toolbar>
|
|
8
|
+
</ion-header>
|
|
3
9
|
<!-- class="splash-page" -->
|
|
4
|
-
<ion-content padding>
|
|
10
|
+
<ion-content padding id="contentPlaceholder" [class.mobile]="isMobile">
|
|
5
11
|
<!-- <div padding class="image-splash-page"></div>
|
|
6
12
|
<div padding class="title-splash-page">
|
|
7
13
|
text new conversation + button
|
|
8
14
|
</div> -->
|
|
15
|
+
|
|
9
16
|
|
|
10
|
-
<ion-grid
|
|
11
|
-
<ion-row class="ion-justify-content-center ion-align-items-center" style="
|
|
17
|
+
<ion-grid class="grid_content" [class.mobile]="isMobile">
|
|
18
|
+
<ion-row class="row_content ion-justify-content-center ion-align-items-center" style="flex-direction: column">
|
|
12
19
|
<span *ngIf="isOnline === true && !showSpinner"
|
|
13
|
-
style="color: #92949c; font-size: 16px;line-height: 18px;
|
|
20
|
+
style="color: #92949c; font-size: 16px;line-height: 18px;">
|
|
14
21
|
<span *ngIf="conversation_count > 0 ">
|
|
15
22
|
{{'PleaseSelectChatToStartMessaging' | translate }}
|
|
16
23
|
</span>
|
|
17
24
|
<span *ngIf="conversation_count === 0" style="line-height: 1.2;color: #4b5258;
|
|
18
25
|
font-weight: 500;">
|
|
19
26
|
{{'ALL_CONVS_SERVED' | translate}}
|
|
20
|
-
|
|
21
27
|
</span>
|
|
22
28
|
|
|
23
29
|
</span>
|
|
@@ -37,15 +43,13 @@
|
|
|
37
43
|
[idLoggedUser]="loggedUser.uid"
|
|
38
44
|
[conversationUid]="conversationWith"
|
|
39
45
|
[conversationAvatar]="conversationAvatar"
|
|
40
|
-
[
|
|
41
|
-
[
|
|
42
|
-
[conv_type]="conv_type"
|
|
43
|
-
(eventOpenCloseInfoConversation)="returnOpenCloseInfoConversation($event)">
|
|
46
|
+
[translationsMap]="translationsHeaderMap"
|
|
47
|
+
[conv_type]="conv_type">
|
|
44
48
|
</app-header-conversation-detail>
|
|
45
49
|
|
|
46
|
-
<ion-content id="conv-details">
|
|
47
|
-
<ion-grid class="grid_content">
|
|
48
|
-
<ion-row class="row_content">
|
|
50
|
+
<ion-content id="conv-details" [class.mobile]="isMobile">
|
|
51
|
+
<ion-grid class="grid_content" [class.mobile]="isMobile">
|
|
52
|
+
<ion-row class="row_content" [class.mobile]="isMobile">
|
|
49
53
|
<ion-col id="chatArea" [class.mobile]="isMobile" [class.open]="openInfoConversation"
|
|
50
54
|
[ngClass]="{'chat-area-apps-sidebar-wide': appsidebarIsWide === true}">
|
|
51
55
|
|
|
@@ -98,10 +102,15 @@
|
|
|
98
102
|
</ng-template>
|
|
99
103
|
|
|
100
104
|
<ng-template #content_messages>
|
|
101
|
-
<ion-content #ionContentChatArea appScrollbarTheme class="ionContentChatArea"
|
|
102
|
-
(
|
|
103
|
-
(
|
|
104
|
-
(
|
|
105
|
+
<ion-content #ionContentChatArea appScrollbarTheme class="ionContentChatArea"
|
|
106
|
+
(drop)="drop($event)"
|
|
107
|
+
(dragover)="allowDrop($event)"
|
|
108
|
+
(dragleave)="drag($event)"
|
|
109
|
+
[scrollEvents]="true"
|
|
110
|
+
(ionScrollStart)="logScrollStart($event)"
|
|
111
|
+
(ionScroll)="logScrolling($event)"
|
|
112
|
+
(ionScrollEnd)="logScrollEnd($event)"
|
|
113
|
+
[class.active]="true">
|
|
105
114
|
|
|
106
115
|
<!-- ----------------------------------------------------------- -->
|
|
107
116
|
<!-- DROPZONE -->
|
|
@@ -125,7 +134,13 @@
|
|
|
125
134
|
[senderId]="loggedUser.uid"
|
|
126
135
|
[baseLocation]="window?.location?.origin"
|
|
127
136
|
[areVisibleCAR]="areVisibleCAR"
|
|
128
|
-
[supportMode]= "supportMode"
|
|
137
|
+
[supportMode]= "supportMode"
|
|
138
|
+
[isMobile]="isMobile"
|
|
139
|
+
[isTypings]="isTypings"
|
|
140
|
+
[openInfoConversation]="openInfoConversation"
|
|
141
|
+
[idUserTypingNow]="idUserTypingNow"
|
|
142
|
+
[nameUserTypingNow]="nameUserTypingNow"
|
|
143
|
+
[translationMap]="translationsContentMap"
|
|
129
144
|
[stylesMap]="styleMap"
|
|
130
145
|
(onBeforeMessageRender)="onBeforeMessageRenderFN($event)"
|
|
131
146
|
(onAfterMessageRender)="onAfterMessageRenderFN($event)"
|
|
@@ -133,7 +148,8 @@
|
|
|
133
148
|
(onScrollContent)="returnOnScrollContent($event)"
|
|
134
149
|
(onMenuOptionShow)="returnOnMenuOption($event)"
|
|
135
150
|
(onElementRendered)="onElementRenderedFN($event)"
|
|
136
|
-
(onAddUploadingBubble)="addUploadingBubbleEvent($event)"
|
|
151
|
+
(onAddUploadingBubble)="addUploadingBubbleEvent($event)"
|
|
152
|
+
(onOpenCloseInfoConversation)="onOpenCloseInfoConversation($event)">
|
|
137
153
|
</ion-conversation-detail>
|
|
138
154
|
|
|
139
155
|
</ion-content>
|
|
@@ -155,7 +171,8 @@
|
|
|
155
171
|
[conversationWith]="conversationWith"
|
|
156
172
|
[conversationWithFullname]="conversationWithFullname"
|
|
157
173
|
[currentString]="messageStr"
|
|
158
|
-
[
|
|
174
|
+
[stylesMap]="styleMap"
|
|
175
|
+
[translationMap]="translationsMap"
|
|
159
176
|
(onLoadedCannedResponses)="onLoadedCannedResponses($event)"
|
|
160
177
|
(onClickCanned)="replaceTagInMessage($event)"
|
|
161
178
|
(onClickAddCannedResponse)="presentCreateCannedResponseModal()">
|
|
@@ -205,21 +222,24 @@
|
|
|
205
222
|
<!-- [tagsCannedFilter]="tagsCannedFilter" -->
|
|
206
223
|
<!-- openInfoConversation {{openInfoConversation}} - isMobile {{isMobile}} -->
|
|
207
224
|
<app-message-text-area *ngIf="(openInfoConversation === false && isMobile === true) || (openInfoConversation === true && isMobile === false) || (openInfoConversation === false && isMobile === false)"
|
|
208
|
-
[tagsCannedCount]="tagsCannedCount"
|
|
209
|
-
[areVisibleCAR]="areVisibleCAR"
|
|
210
|
-
[supportMode]="supportMode"
|
|
211
225
|
[loggedUser]="loggedUser"
|
|
212
226
|
[conversationWith]="conversationWith"
|
|
227
|
+
[channelType]="channelType"
|
|
213
228
|
[tagsCannedFilter]="tagsCannedFilter"
|
|
214
|
-
[
|
|
229
|
+
[tagsCannedCount]="tagsCannedCount"
|
|
230
|
+
[areVisibleCAR]="areVisibleCAR"
|
|
231
|
+
[supportMode]="supportMode"
|
|
232
|
+
[leadInfo]="leadInfo"
|
|
215
233
|
[fileUploadAccept]="appConfigProvider.getConfig().fileUploadAccept"
|
|
216
|
-
[isOpenInfoConversation]="
|
|
234
|
+
[isOpenInfoConversation]="openInfoConversation"
|
|
235
|
+
[translationMap]="translationsMap"
|
|
217
236
|
[dropEvent]="dropEvent"
|
|
218
237
|
[disableTextarea]="disableTextarea"
|
|
219
238
|
(eventChangeTextArea)="returnChangeTextArea($event)"
|
|
220
239
|
(onClickOpenCannedResponses)="onClickOpenCannedResponses($event)"
|
|
221
240
|
(eventSendMessage)="returnSendMessage($event)"
|
|
222
|
-
(onPresentModalScrollToBottom)="onPresentModalScrollToBottom($event)"
|
|
241
|
+
(onPresentModalScrollToBottom)="onPresentModalScrollToBottom($event)"
|
|
242
|
+
(onOpenFooterSection)="onOpenFooterSection($event)">
|
|
223
243
|
</app-message-text-area>
|
|
224
244
|
<!-- [events]="eventsReplaceTexareaText.asObservable()" -->
|
|
225
245
|
</ion-row>
|
|
@@ -230,10 +250,11 @@
|
|
|
230
250
|
[ngClass]="{'info-convs-apps-sidebar-wide': appsidebarIsWide === true}">
|
|
231
251
|
<app-info-content
|
|
232
252
|
[openInfoConversation]="openInfoConversation"
|
|
233
|
-
[translationMap]="translationMap"
|
|
234
253
|
[loggedUser]="loggedUser"
|
|
235
254
|
[tenant]="tenant"
|
|
236
|
-
[groupDetail]="groupDetail"
|
|
255
|
+
[groupDetail]="groupDetail"
|
|
256
|
+
[isMobile]="isMobile"
|
|
257
|
+
[translationMap]="translationsMap">
|
|
237
258
|
</app-info-content>
|
|
238
259
|
</ion-col>
|
|
239
260
|
|
|
@@ -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,13 +86,21 @@ 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
|
}
|
|
317
100
|
// background-color: aquamarine;
|
|
318
101
|
}
|
|
319
102
|
.row_chat_area {
|
|
320
|
-
height: calc(100% -
|
|
103
|
+
height: calc(100% - 101px);
|
|
321
104
|
overflow: auto;
|
|
322
105
|
}
|
|
323
106
|
.row_message_text_area {
|
|
@@ -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 {
|
|
@@ -338,7 +121,7 @@ ion-content {
|
|
|
338
121
|
padding: 0;
|
|
339
122
|
&.open {
|
|
340
123
|
max-width: auto;
|
|
341
|
-
min-width: calc(100% -
|
|
124
|
+
min-width: calc(100% - 320px);
|
|
342
125
|
&.mobile {
|
|
343
126
|
max-width: 0;
|
|
344
127
|
width: 0;
|
|
@@ -358,8 +141,8 @@ ion-content {
|
|
|
358
141
|
display: block;
|
|
359
142
|
overflow: hidden;
|
|
360
143
|
&.open {
|
|
361
|
-
max-width:
|
|
362
|
-
min-width:
|
|
144
|
+
max-width: 320px;
|
|
145
|
+
min-width: 320px;
|
|
363
146
|
display: block;
|
|
364
147
|
-webkit-animation: slide-left 0.2s linear both;
|
|
365
148
|
animation: slide-left 0.2s linear both;
|
|
@@ -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
|
}
|
|
@@ -487,6 +277,7 @@ ion-content {
|
|
|
487
277
|
right: 0;
|
|
488
278
|
left: 0;
|
|
489
279
|
bottom: 0;
|
|
280
|
+
z-index: 2;
|
|
490
281
|
// z-index: 99998; // here plz remove this comma
|
|
491
282
|
}
|
|
492
283
|
|