@chat21/chat21-ionic 3.0.107-rc.3 → 3.0.107-rc.5

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.
Files changed (64) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/package.json +1 -1
  3. package/src/app/app.component.ts +73 -29
  4. package/src/app/chatlib/conversation-detail/conversation-content/conversation-content.component.scss +0 -1
  5. package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.scss +9 -9
  6. package/src/app/chatlib/conversation-detail/message/info-message/info-message.component.scss +5 -7
  7. package/src/app/chatlib/conversation-detail/message/options/options.component.scss +2 -2
  8. package/src/app/chatlib/conversation-detail/message/return-receipt/return-receipt.component.scss +1 -1
  9. package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.html +1 -1
  10. package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.scss +22 -55
  11. package/src/app/components/canned-response/canned-response.component.scss +9 -2
  12. package/src/app/components/contacts-directory/contacts-directory.component.scss +4 -56
  13. package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.scss +5 -6
  14. package/src/app/components/conversation-detail/message-text-area/message-text-area.component.scss +16 -5
  15. package/src/app/components/conversation-detail/message-text-area/message-text-area.component.ts +5 -0
  16. package/src/app/components/conversation-info/advanced-info-accordion/advanced-info-accordion.component.html +11 -19
  17. package/src/app/components/conversation-info/advanced-info-accordion/advanced-info-accordion.component.scss +15 -19
  18. package/src/app/components/conversation-info/info-direct/info-direct.component.scss +6 -5
  19. package/src/app/components/conversation-info/info-group/info-group.component.html +2 -2
  20. package/src/app/components/conversation-info/info-group/info-group.component.scss +11 -2
  21. package/src/app/components/conversation-info/info-support-group/info-support-group.component.html +2 -1
  22. package/src/app/components/conversation-info/info-support-group/info-support-group.component.ts +44 -1
  23. package/src/app/components/conversations-list/header-conversations-list/header-conversations-list.component.html +2 -1
  24. package/src/app/components/conversations-list/header-conversations-list/header-conversations-list.component.scss +3 -2
  25. package/src/app/components/conversations-list/header-conversations-list-archived/header-conversations-list-archived.component.scss +5 -3
  26. package/src/app/components/conversations-list/header-conversations-list-unassigned/header-conversations-list-unassigned.component.scss +5 -3
  27. package/src/app/components/navbar/navbar.component.html +10 -14
  28. package/src/app/components/navbar/navbar.component.scss +33 -17
  29. package/src/app/components/sidebar/sidebar.component.html +49 -67
  30. package/src/app/components/sidebar/sidebar.component.scss +44 -29
  31. package/src/app/components/sidebar-user-details/sidebar-user-details.component.html +5 -5
  32. package/src/app/components/sidebar-user-details/sidebar-user-details.component.scss +47 -93
  33. package/src/app/components/sidebar-user-details/sidebar-user-details.component.ts +11 -13
  34. package/src/app/modals/create-canned-response/create-canned-response.page.html +2 -20
  35. package/src/app/modals/create-canned-response/create-canned-response.page.scss +44 -27
  36. package/src/app/modals/create-ticket/create-ticket.page.html +4 -4
  37. package/src/app/modals/create-ticket/create-ticket.page.scss +34 -1
  38. package/src/app/modals/json-message/json-message.page.scss +15 -1
  39. package/src/app/modals/loader-preview/loader-preview.page.html +1 -1
  40. package/src/app/modals/loader-preview/loader-preview.page.scss +19 -1
  41. package/src/app/modals/maps/maps.page.scss +18 -0
  42. package/src/app/modals/send-email/send-email.page.scss +30 -7
  43. package/src/app/modals/send-whatsapp-template/send-whatsapp-template.page.html +1 -1
  44. package/src/app/modals/send-whatsapp-template/send-whatsapp-template.page.scss +18 -0
  45. package/src/app/pages/contacts-directory/contacts-directory.page.html +9 -10
  46. package/src/app/pages/contacts-directory/contacts-directory.page.scss +5 -3
  47. package/src/app/pages/contacts-directory/contacts-directory.page.ts +0 -15
  48. package/src/app/pages/conversation-detail/conversation-detail.page.scss +5 -5
  49. package/src/app/pages/conversation-detail/conversation-detail.page.ts +10 -10
  50. package/src/app/pages/conversations-list/conversations-list.page.html +0 -1
  51. package/src/app/pages/conversations-list/conversations-list.page.scss +6 -17
  52. package/src/app/pages/conversations-list/conversations-list.page.ts +9 -18
  53. package/src/app/pages/profile-info/profile-info.page.html +4 -4
  54. package/src/app/pages/profile-info/profile-info.page.scss +43 -25
  55. package/src/app/pages/profile-info/profile-info.page.ts +2 -1
  56. package/src/app/pages/unassigned-conversations/unassigned-conversations.page.html +5 -5
  57. package/src/app/pages/unassigned-conversations/unassigned-conversations.page.scss +2 -2
  58. package/src/assets/customStyle.css +18 -0
  59. package/src/assets/test.html +37 -4
  60. package/src/chat21-core/providers/tiledesk/tiledesk-auth.service.ts +21 -9
  61. package/src/global.scss +52 -137
  62. package/src/index.html +1 -1
  63. package/src/theme/variables.scss +276 -149
  64. package/src/variables.scss +115 -21
@@ -8,7 +8,7 @@
8
8
 
9
9
 
10
10
 
11
- <div id="sidebaravatar-img-wpr" class="sidebar-avatar-container tiledesk-nav-avatar" (click)="openUserDetailSidePanel()"
11
+ <div id="sidebaravatar-img-wpr" class="sidebar-avatar-container" (click)="openUserDetailSidePanel()"
12
12
  style="cursor: pointer;" [ngClass]="{'small-sidebar-avatar' : SIDEBAR_IS_SMALL === true, 'small-sidebar-avatar-with-avatar': SIDEBAR_IS_SMALL === true && !USER_PHOTO_PROFILE_EXIST}">
13
13
 
14
14
  <img *ngIf="USER_PHOTO_PROFILE_EXIST" id="sidebaravatar-img" class="sidebar-avatar" [src]="photo_profile_URL"
@@ -41,34 +41,23 @@
41
41
 
42
42
  <div class="sidebar-wrapper">
43
43
 
44
- <div class="nav-container">
45
44
  <!-- [ngClass]="{'is-desktop-menu' : IS_MOBILE_MENU === false, 'is-mobile-menu' : IS_MOBILE_MENU === true }" -->
46
45
  <!-- padding-bottom: 65px; -->
47
- <ul style="margin-top: 0px;" class="nav">
46
+ <ul class="nav">
48
47
 
49
48
  <!-- ------------------------------------------- -->
50
49
  <!-- CHAT -->
51
50
  <!-- ------------------------------------------- -->
52
- <li class="item-active" style="cursor: unset;" matTooltipClass="custom-mat-tooltip" matTooltip="Chat"
53
- #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" style="text-align: center; ">
54
- <a class="customAncor" style="margin-right: 0px !important">
51
+ <li class="item-active" matTooltipClass="custom-mat-tooltip" matTooltip="Chat"
52
+ #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100">
55
53
  <!-- <i class="material-icons sidebar-icons">chat</i> -->
56
- <span id="openchat-span" style="position: relative;top: 9px;vertical-align: middle;">
57
- <svg id="openchat-svg" version="1.1" xmlns="http://www.w3.org/2000/svg"
58
- xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 23 21"
59
- style="enable-background:new 0 0 23 21;" xml:space="preserve"
60
- style="width:20px;height:20px; vertical-align: middle;">
61
- <style type="text/css">
62
- .chat21-icon {
63
- fill: #fff;
64
- }
65
- </style>
66
- <path id="openchat-path" class="chat21-icon" d="M11.5,0.5C5.8,0.5,1.3,5,1.3,10.5c0,1.8,0.5,3.5,1.4,5l-0.8,4.3l4.4-0.8c1.5,0.9,3.3,1.4,5.3,1.4
54
+ <span id="openchat-span">
55
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 23 21" xml:space="preserve" width="20" height="20">
56
+ <path d="M11.5,0.5C5.8,0.5,1.3,5,1.3,10.5c0,1.8,0.5,3.5,1.4,5l-0.8,4.3l4.4-0.8c1.5,0.9,3.3,1.4,5.3,1.4
67
57
  c5.7,0,10.2-4.5,10.2-10S17.2,0.5,11.5,0.5z M11.5,17.2c-2.5,0-4.6-1.3-5.7-2.6c0.6-0.2,0.8-0.8,1.4-1c0.7,0.9,2.5,2.1,4.4,2.1
68
58
  c1.9,0,3.6-1.2,4.2-2.1c0.5,0.2,0.9,0.6,1.4,0.9C16.1,15.8,14,17.2,11.5,17.2z" />
69
59
  </svg>
70
60
  </span>
71
- </a>
72
61
  </li>
73
62
 
74
63
  <!-- ------------------------------------------- -->
@@ -90,25 +79,23 @@
90
79
  <!-- ---------------------------------- -->
91
80
  <ng-container *ngIf="USER_ROLE !== 'agent'">
92
81
  <li id="bot-anchor-wpr" matTooltipClass="custom-mat-tooltip" matTooltip="Bots"
93
- #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" style="text-align: center;">
94
- <a target="_self" href="{{ dashboard_bots_url }}" id="bot-anchor" #botbtn class="customAncor" style="height: 40px;margin-right: 0px !important;">
82
+ #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100">
83
+ <a target="_self" href="{{ dashboard_bots_url }}" id="bot-anchor" #botbtn class="customAncor">
95
84
  <span class="bot-icon-wpr">
96
- <svg version="1.1" id="Objects" xmlns="http://www.w3.org/2000/svg"
97
- xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 30 30"
98
- style="enable-background:new 0 0 30 30;" xml:space="preserve" style="width: 25px;height: 25px;margin-top: 7px;">
85
+ <svg xmlns="http://www.w3.org/2000/svg"
86
+ xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 30 30" width="25" height="25"
87
+ style="enable-background:new 0 0 30 30;" xml:space="preserve">
99
88
  <g>
100
- <g>
101
- <path class="chat-bot-icon-st0" d="M24.6,12.6c-0.1,0-0.2,0-0.3,0c-1.6-2.9-4.5-5.8-9.2-5.8c-4.7,0-7.6,2.9-9.2,5.8c-0.2,0-0.4-0.1-0.6-0.1
102
- c-2,0-3.5,2.3-3.5,5c0,2.8,1.6,5,3.5,5c0.1,0,0.3,0,0.4,0c2.3,3.6,7,3.9,9.4,3.9c2.3,0,6.9-0.5,9.2-3.9c0.1,0,0.1,0,0.2,0
103
- c2,0,3.5-2.3,3.5-5C28.1,14.8,26.6,12.6,24.6,12.6z M22,21.1c0,0-7.8,2.3-14.3-0.1c0,0-0.8-4.1-0.5-7.2c0,0,8.1-3.2,15.6,0.3
104
- C22.8,14.1,23.3,19.1,22,21.1z" />
105
- <ellipse class="chat-bot-icon-st0" cx="11.9" cy="17.4" rx="0.7" ry="1.4" />
106
- <ellipse class="chat-bot-icon-st0" cx="18.1" cy="17.4" rx="0.7" ry="1.4" />
107
- <path class="chat-bot-icon-st0" d="M14.5,5.3v1.1h1V5.3c0.3-0.2,0.5-0.5,0.5-0.8c0-0.5-0.4-0.9-1-0.9c-0.5,0-0.9,0.4-0.9,0.9
108
- C14.1,4.8,14.2,5.1,14.5,5.3z" />
109
- </g>
110
- <rect class="chat-bot-icon-st1" width="30" height="30" />
89
+ <path d="M24.6,12.6c-0.1,0-0.2,0-0.3,0c-1.6-2.9-4.5-5.8-9.2-5.8c-4.7,0-7.6,2.9-9.2,5.8c-0.2,0-0.4-0.1-0.6-0.1
90
+ c-2,0-3.5,2.3-3.5,5c0,2.8,1.6,5,3.5,5c0.1,0,0.3,0,0.4,0c2.3,3.6,7,3.9,9.4,3.9c2.3,0,6.9-0.5,9.2-3.9c0.1,0,0.1,0,0.2,0
91
+ c2,0,3.5-2.3,3.5-5C28.1,14.8,26.6,12.6,24.6,12.6z M22,21.1c0,0-7.8,2.3-14.3-0.1c0,0-0.8-4.1-0.5-7.2c0,0,8.1-3.2,15.6,0.3
92
+ C22.8,14.1,23.3,19.1,22,21.1z" />
93
+ <ellipse cx="11.9" cy="17.4" rx="0.7" ry="1.4" />
94
+ <ellipse cx="18.1" cy="17.4" rx="0.7" ry="1.4" />
95
+ <path d="M14.5,5.3v1.1h1V5.3c0.3-0.2,0.5-0.5,0.5-0.8c0-0.5-0.4-0.9-1-0.9c-0.5,0-0.9,0.4-0.9,0.9
96
+ C14.1,4.8,14.2,5.1,14.5,5.3z" />
111
97
  </g>
98
+
112
99
  </svg>
113
100
  </span>
114
101
  </a>
@@ -120,15 +107,13 @@
120
107
  <!-- ------------------------------------------- -->
121
108
  <!-- <ng-container *ngIf="USER_ROLE !== 'agent'"> -->
122
109
  <li matTooltipClass="custom-mat-tooltip" matTooltip="Monitor"
123
- #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" style="text-align: center;">
124
- <a target="_self" href="{{ dashboard_convs_url }}" class="customAncor" style="height: 40px;margin-right: 0px !important;">
110
+ #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100">
111
+ <a target="_self" href="{{ dashboard_convs_url }}" class="customAncor">
125
112
  <!-- <i class="material-icons sidebar-icons">forum</i> -->
126
113
  <span class="realtime-icon-wpr" >
127
-
128
114
  <svg version="1.1" id="Livello_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
129
115
  viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" style="width: 30px;height: 30px;margin-top: 5px;">
130
-
131
- <path class="realtime-icon-st3" d="M17.9,11.6l-1.4,1.9l-3.2-5.6l-1-2l-0.2,0.2l-3.7,6.4l-3-4.8L2.7,9.9v2.4l2.4-1.8L9,16.2l3.3-6.2l4,6.7l2.7-3.3
116
+ <path d="M17.9,11.6l-1.4,1.9l-3.2-5.6l-1-2l-0.2,0.2l-3.7,6.4l-3-4.8L2.7,9.9v2.4l2.4-1.8L9,16.2l3.3-6.2l4,6.7l2.7-3.3
132
117
  l0.9,0c0.5-0.7,1-1.4,1.4-2L17.9,11.6z"/>
133
118
  </svg>
134
119
  </span>
@@ -141,7 +126,7 @@
141
126
  <!-- CONTACTS (LEADS) (click)="goToContacts()" -->
142
127
  <!-- ------------------------------------------- -->
143
128
  <li matTooltipClass="custom-mat-tooltip" matTooltip="{{ contacts_lbl }}"
144
- #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" style="text-align: center;">
129
+ #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100">
145
130
  <a target="_self" href="{{ dashboard_contacts_url }}" class="customAncor">
146
131
  <i class="material-icons sidebar-icons">contacts</i>
147
132
  </a>
@@ -152,15 +137,14 @@
152
137
  <!-- ------------------------------------------- -->
153
138
  <ng-container *ngIf="isVisibleAPP && USER_ROLE !== 'agent'">
154
139
  <li matTooltipClass="custom-mat-tooltip" matTooltip="{{ apps_lbl }}"
155
- #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" style="text-align: center;">
156
- <a target="_self" href="{{ dashboard_app_url }}" class="customAncor" style="margin-right: 0px !important;">
140
+ #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100">
141
+ <a target="_self" href="{{ dashboard_app_url }}" class="customAncor">
157
142
  <!-- <i class="material-icons sidebar-icons">apps</i> -->
158
143
  <!-- <i class="material-icons sidebar-icons">dashboard_customize</i> -->
159
144
  <span class="dashboard-customize-icon-wpr">
160
145
  <svg version="1.1" id="Livello_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
161
- viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" style="width: 20px;height: 20px;margin-top: 10px;">
162
- <path class="dashboard_customize-st0" d="M0,0h24v24H0V0z"/>
163
- <path class="dashboard_customize-st1" d="M3,3h8v8H3V3z M13,3h8v8h-8V3z M3,13h8v8H3V13z M18,13h-2v3h-3v2h3v3h2v-3h3v-2h-3V13z"/>
146
+ viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" style="width: 20px;height: 20px;">
147
+ <path d="M3,3h8v8H3V3z M13,3h8v8h-8V3z M3,13h8v8H3V13z M18,13h-2v3h-3v2h3v3h2v-3h3v-2h-3V13z"/>
164
148
  </svg>
165
149
  </span>
166
150
  </a>
@@ -172,16 +156,15 @@
172
156
  <!-- ------------------------------------------- -->
173
157
  <ng-container *ngIf="isVisibleANA && USER_ROLE !== 'agent'">
174
158
  <li matTooltipClass="custom-mat-tooltip" matTooltip="{{ analytics_lbl }}"
175
- #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" style="text-align: center;" >
176
- <a target="_self" href="{{ dashboard_analytics_url }}" class="customAncor" style="margin-right: 0px !important;">
159
+ #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" >
160
+ <a target="_self" href="{{ dashboard_analytics_url }}" class="customAncor">
177
161
  <!-- <i class="material-icons sidebar-icons">trending_up</i> -->
178
162
  <!-- <i class="material-icons sidebar-icons"> analytics </i> -->
179
163
  <!-- <i class="material-icons sidebar-icons"> bar_chart </i> -->
180
164
  <span class="bar-chart-icon-wpr">
181
165
  <svg version="1.1" id="Livello_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
182
- viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" style="width: 20px;height: 20px;margin-top: 10px;">
183
- <path class="bar-chart-icon-st0" d="M0,0h24v24H0V0z"/>
184
- <path class="bar-chart-icon-st1" d="M5,9.2h3V19H5V9.2z M10.6,5h2.8v14h-2.8V5z M16.2,13H19v6h-2.8V13z"/>
166
+ viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" style="width: 20px;height: 20px">
167
+ <path d="M5,9.2h3V19H5V9.2z M10.6,5h2.8v14h-2.8V5z M16.2,13H19v6h-2.8V13z"/>
185
168
  </svg>
186
169
  </span>
187
170
  </a>
@@ -193,7 +176,7 @@
193
176
  <!-- ------------------------------------------- -->
194
177
  <ng-container *ngIf="isVisibleACT">
195
178
  <li *ngIf="USER_ROLE !== 'agent'" matTooltipClass="custom-mat-tooltip"
196
- matTooltip="{{ activities_lbl }}" #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" style="text-align: center;">
179
+ matTooltip="{{ activities_lbl }}" #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100">
197
180
  <a target="_self" href="{{ dashboard_activities_url }}" class="customAncor">
198
181
  <i class="material-icons sidebar-icons">assignment</i>
199
182
  </a>
@@ -205,7 +188,7 @@
205
188
  <!-- REQUESTS HISTORY (click)="goToHistory()" -->
206
189
  <!-- ------------------------------------------- -->
207
190
  <li matTooltipClass="custom-mat-tooltip" matTooltip="{{ history_lbl }}"
208
- #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" style="text-align: center;">
191
+ #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100">
209
192
  <a target="_self" href="{{ dashboard_history_url }}" class="customAncor">
210
193
  <i class="material-icons sidebar-icons">history</i>
211
194
  </a>
@@ -215,26 +198,13 @@
215
198
  <!-- SETTINGS // old: goToSettings_CannedResponses() *ngIf="USER_ROLE !== 'agent'" (click)="goToWidgetSetUpOrToCannedResponses()" -->
216
199
  <!-- ----------------------------------------------------------------------------------- -->
217
200
  <li *ngIf="USER_ROLE !== 'agent'" matTooltipClass="custom-mat-tooltip"
218
- matTooltip="{{ settings_lbl }}" #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" style="text-align: center;">
201
+ matTooltip="{{ settings_lbl }}" #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100">
219
202
  <a target="_self" href="{{ dashboard_settings_url }}" class="customAncor">
220
203
  <i class="material-icons sidebar-icons">settings</i>
221
204
  </a>
222
205
  </li>
223
206
 
224
207
 
225
- <!-- ------------------------------------------- -->
226
- <!-- LOGO TILEDESK (click)="goToOfficialSite()" -->
227
- <!-- ------------------------------------------- -->
228
- <li matTooltipClass="custom-mat-tooltip" matTooltip="Tiledesk" class="logo"
229
- #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" style="text-align: center;min-height:43px">
230
- <a target="_blank" href="{{ tiledesk_url }}" class="customAncor">
231
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="60px" height="30px" x="0px" y="0px" viewBox="0 0 60 60" xml:space="preserve">
232
- <path fill="#F18876" d="M51.8,28.2h-19c-1.7,0-3-1.3-3-3V6.4c0-1.7-1.3-3-3-3H8c-1.7,0-3,1.3-3,3v22v22c0,1.7,1.3,3,3,3H6.7h3.4 c0.8,0,1.3,0.2,1.9,0.8l2.3,2.3l2.1,2.1c0.8,0.8,1.7,0.8,2.4,0l2.1-2.1l2.3-2.3c0.6-0.6,1.1-0.8,1.9-0.8H52c1.7,0,3-1.3,3-3V31.2 C54.8,29.5,53.5,28.2,51.8,28.2"/>
233
- <path fill="#E5BBAD" d="M52,24.2H36.8c-1.5,0-2.8-1.3-2.8-2.8V6.2c0-1.5,1.3-2.8,2.8-2.8H52c1.5,0,2.8,1.3,2.8,2.8v15.2 C54.8,22.9,53.5,24.2,52,24.2"/>
234
- </svg>
235
- </a>
236
- </li>
237
-
238
208
 
239
209
  <!-- [_prjct_profile_name]="_prjct_profile_name" [plan_subscription_is_active]="plan_subscription_is_active"
240
210
  [plan_name]="plan_name"
@@ -251,5 +221,17 @@
251
221
  </app-sidebar-user-details> -->
252
222
 
253
223
  </ul>
254
- </div>
224
+
225
+ <div matTooltipClass="custom-mat-tooltip" matTooltip="Tiledesk" class="logoBrand"
226
+ #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100">
227
+ <!-- ------------------------------------------- -->
228
+ <!-- LOGO TILEDESK (click)="goToOfficialSite()" -->
229
+ <!-- ------------------------------------------- -->
230
+ <a target="_blank" href="{{ tiledesk_url }}" class="customAncor">
231
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="60px" height="30px" x="0px" y="0px" viewBox="0 0 60 60" xml:space="preserve">
232
+ <path d="M51.8,28.2h-19c-1.7,0-3-1.3-3-3V6.4c0-1.7-1.3-3-3-3H8c-1.7,0-3,1.3-3,3v22v22c0,1.7,1.3,3,3,3H6.7h3.4 c0.8,0,1.3,0.2,1.9,0.8l2.3,2.3l2.1,2.1c0.8,0.8,1.7,0.8,2.4,0l2.1-2.1l2.3-2.3c0.6-0.6,1.1-0.8,1.9-0.8H52c1.7,0,3-1.3,3-3V31.2 C54.8,29.5,53.5,28.2,51.8,28.2"/>
233
+ <path d="M52,24.2H36.8c-1.5,0-2.8-1.3-2.8-2.8V6.2c0-1.5,1.3-2.8,2.8-2.8H52c1.5,0,2.8,1.3,2.8,2.8v15.2 C54.8,22.9,53.5,24.2,52,24.2"/>
234
+ </svg>
235
+ </a>
236
+ </div>
255
237
  </div>
@@ -1,5 +1,7 @@
1
+
1
2
  ::ng-deep .custom-mat-tooltip {
2
- background-color: #2d323e !important;
3
+ background-color: var(--tooltip-bckground);
4
+ color: var(--tooltip-color) !important;
3
5
  font-size: 12px !important;
4
6
  border-radius: 2px !important;
5
7
  font-family: 'Poppins' !important;
@@ -12,47 +14,60 @@
12
14
  border-radius: 50%;
13
15
  }
14
16
 
15
- .chat-bot-icon-st0 {
16
- // fill: #a9afbb;
17
- fill: #647491
18
- }
19
- .chat-bot-icon-st1 {
20
- fill: none;
21
- }
22
17
 
23
- .realtime-icon-st3 {
24
- fill: #647491
18
+ .logo {
19
+ min-height: 60px;
20
+ width: 60px; // for SMALL SIDEBAR
25
21
  }
26
22
 
27
- .dashboard_customize-st0{
28
- fill:none;
29
- }
30
- .dashboard_customize-st1{
31
- fill:#647491;
32
- }
23
+ .logoBrand{
24
+ position: absolute;
25
+ bottom: 0;
26
+ display: flex;
27
+ height: 60px;
33
28
 
34
- .bar-chart-icon-st0{
35
- fill:none;
29
+ svg path:first-child {
30
+ fill: #F18876
31
+ }
32
+ svg path:nth-child(2){
33
+ fill: #E5BBAD
34
+ }
36
35
  }
37
36
 
38
- .bar-chart-icon-st1{
39
- fill:#647491;
40
- }
41
37
 
42
- #bot-anchor-wpr:hover > #bot-anchor > .bot-icon-wpr > svg > g > g > .chat-bot-icon-st0 {
43
- fill: #a9afbb ;
38
+ svg path,
39
+ svg ellipse {
40
+ fill: var(--sidebar-icon-color);
44
41
  }
45
42
 
46
- li:hover > a > .realtime-icon-wpr > svg > path {
47
- fill: #a9afbb;
43
+ li > a >i {
44
+ // font-size: 20px;
45
+ // float: left;
46
+ // margin-right: 15px;
47
+ // line-height: 30px;
48
+ width: 60px;
49
+ text-align: center;
50
+ // color: #a9afbb;
51
+ color: var(--sidebar-icon-color);
48
52
  }
49
53
 
50
- li:hover > a > .dashboard-customize-icon-wpr > svg > .dashboard_customize-st1 {
51
- fill: #a9afbb;
54
+
55
+
56
+ svg:hover path,
57
+ svg:hover ellipse {
58
+ fill: var(--sidebar-hover-icon-color);
59
+ }
60
+ li:hover > a > i {
61
+ // background-color: #eee;
62
+ color: var(--sidebar-hover-icon-color);
52
63
  }
53
64
 
54
- li:hover > a > .bar-chart-icon-wpr > svg > .bar-chart-icon-st1{
55
- fill: #a9afbb;
65
+ .item-active svg path,
66
+ .item-active svg ellipse{
67
+ height: 40px;
68
+ // background-color: #3ea9f5;
69
+ fill: var(--sidebar-active-icon) !important;
70
+ pointer-events: none;
56
71
  }
57
72
 
58
73
  #sidebaravatar-altenative-user-avatar {
@@ -2,7 +2,7 @@
2
2
 
3
3
  <div class="user-details-dshbrd-lang">
4
4
 
5
- <span class="user-details-dshbrd-lang-code" style="text-transform: uppercase;color: #647491;">
5
+ <span class="user-details-dshbrd-lang-code">
6
6
  {{chat_lang}}
7
7
  </span>
8
8
  <img *ngIf="flag_url" [src]="flag_url" width="19px" height="19px" style=" position: relative;top: 1px;">
@@ -96,17 +96,17 @@
96
96
  <span class="material-icons user-details-plan-icon">apps</span>
97
97
  <span>
98
98
  <div> {{project?.name}} </div>
99
- <div style="display: inline-block; margin-left: 26px;"> {{ profile_name_translated }} </div>
99
+ <div style="margin-left: 26px"> {{ profile_name_translated }} </div>
100
100
 
101
- <div *ngIf="project?.type === 'payment' && project?.isActiveSubscription === false"
101
+ <div *ngIf="project?.profile?.type === 'payment' && project?.isActiveSubscription === false"
102
102
  style="color:#f44336; position:relative; top: -1px;display: inline-block;">
103
- <i *ngIf="project?.plan_name !== 'enterprise'" class="material-icons" style="vertical-align: middle; color:#f44336; cursor:pointer;
103
+ <i *ngIf="project?.profile?.name !== 'enterprise'" class="material-icons" style="vertical-align: middle; color:#f44336; cursor:pointer;
104
104
  font-size: 16px;" matTooltipClass="custom-mat-tooltip"
105
105
  matTooltip="{{ translationsMap.get('SubscriptionPaymentProblem') }}" #tooltip="matTooltip" matTooltipPosition='right'
106
106
  matTooltipHideDelay="100">
107
107
  error_outline
108
108
  </i>
109
- <i *ngIf="project?.plan_name === 'enterprise'" class="material-icons" style="vertical-align: middle; color:#f44336; cursor:pointer;
109
+ <i *ngIf="project?.profile?.name === 'enterprise'" class="material-icons" style="vertical-align: middle; color:#f44336; cursor:pointer;
110
110
  font-size: 16px;" matTooltipClass="custom-mat-tooltip" matTooltip="{{ translationsMap.get('ThePlanHasExpired') }}"
111
111
  #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100">
112
112
  error_outline
@@ -1,7 +1,7 @@
1
1
  // @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');
2
2
  #user-details {
3
- background-color: #1e2129;
4
- color: #fff;
3
+ background-color: var(--sidebar-background-color);
4
+ color: var(--sidebar-color);
5
5
  // height: calc(100% - 60px);
6
6
  height: 100%;
7
7
  overflow-y: auto;
@@ -39,42 +39,26 @@
39
39
  left: 0px;
40
40
  }
41
41
 
42
- #user-details .user-details-btn-close svg {
43
- fill: #647491;
44
- }
45
-
46
- #user-details .user-details-btn-close {
47
- opacity: 1;
42
+ .user-details-btn-close {
48
43
  position: absolute;
49
44
  right: 16px;
50
45
  top: 20px;
51
- }
52
-
53
- button.user-details-btn-close {
54
46
  -webkit-appearance: none;
47
+ appearance: none;
55
48
  background: 0 0;
56
49
  border: 0;
57
50
  cursor: pointer;
58
- outline: none;
59
51
  padding: 0;
60
- }
61
52
 
62
- .user-details-btn-close {
63
- color: #000;
64
- float: right;
65
- font-size: 21px;
66
- font-weight: 700;
67
- line-height: 1;
68
- opacity: 0.2;
69
- }
53
+ svg {
54
+ fill: var(--sidebar-icon-color);
55
+ }
70
56
 
71
- .user-details-btn-close:hover {
72
- color: #000;
73
- cursor: pointer;
74
- opacity: 0.5 !important;
75
- text-decoration: none;
76
- }
57
+ &:hover {
58
+ opacity: 0.8 !important;
59
+ }
77
60
 
61
+ }
78
62
  .user-details-dshbrd-lang {
79
63
  position: absolute;
80
64
  top: 20px;
@@ -84,14 +68,9 @@ button.user-details-btn-close {
84
68
 
85
69
  .user-details-dshbrd-lang-code {
86
70
  text-transform: uppercase;
87
- color: #647491;
71
+ color: var(--sidebar-icon-color);
88
72
  position: relative;
89
73
  top: -3px;
90
- }
91
-
92
- .user-details-dshbrd-lang-code {
93
- text-transform: uppercase;
94
- color: #647491;
95
74
  font-family: "Roboto", sans-serif !important;
96
75
  font-size: 14px;
97
76
  }
@@ -101,23 +80,14 @@ button.user-details-btn-close {
101
80
  // cursor: pointer;
102
81
  position: absolute;
103
82
  top: 82px;
83
+ left: 0px;
84
+ right: 0px;
104
85
  border-radius: 50%;
105
86
  padding: 4px 4px 1px 4px;
106
- -webkit-transform: translateX(-50%);
107
- transform: translateX(-50%);
108
- left: 50%;
109
- background: #2d323e;
87
+ display: flex;
88
+ justify-content: center;
110
89
  }
111
90
 
112
- // width: 109px;
113
- // height: 109px;
114
- // margin: 0;
115
- // border-radius: 50%;
116
- // -o-object-fit: cover;
117
- // object-fit: cover;
118
- // position: relative;
119
- // top: 2px;
120
-
121
91
  .user-img-in-sidebar-user-details {
122
92
  width: 103px;
123
93
  height: 103px;
@@ -185,7 +155,7 @@ button.user-details-btn-close {
185
155
  text-align: center;
186
156
  margin-top: 5px;
187
157
  text-transform: uppercase;
188
- color: #a9afbb;
158
+ color: var(--sidebar-user-detail-color);
189
159
  font-weight: 500;
190
160
  font-family: "Roboto", sans-serif !important;
191
161
  margin-bottom: 8px !important;
@@ -193,18 +163,18 @@ button.user-details-btn-close {
193
163
 
194
164
  .user-details-view-profile {
195
165
  font-size: 14px;
196
- color: #00d5ff;
166
+ color: var(--sidebar-user-detail-profile-color);
197
167
  cursor: pointer;
168
+ &:hover {
169
+ text-decoration: underline;
170
+ }
198
171
  }
199
172
 
200
- .user-details-view-profile:hover {
201
- text-decoration: underline;
202
- }
203
173
 
204
174
  .availability-section {
205
175
  top: 320px;
206
176
  text-align: center;
207
- background-color: #2d323e;
177
+ background-color: var(--user-detail-select-background);
208
178
  padding: 4px 0px;
209
179
  width: 192px;
210
180
  border-radius: 4px;
@@ -218,28 +188,10 @@ button.user-details-btn-close {
218
188
  .first-divider {
219
189
  margin-top: 365px;
220
190
  border: 0;
221
- border-top: 1px solid rgba(255, 255, 255, 0.2);
191
+ border-top: 1px solid var(--border-color-base);
222
192
  margin-bottom: 20px;
223
193
  }
224
194
 
225
- .camera-on-hover {
226
- cursor: pointer;
227
- position: absolute;
228
- top: 80px;
229
- border-radius: 50%;
230
- -webkit-transform: translateX(-50%);
231
- transform: translateX(-50%);
232
- left: 50%;
233
- width: 90px;
234
- height: 90px;
235
- padding: 33px;
236
- background: rgba(45, 50, 62, 0.7);
237
- opacity: 0;
238
- }
239
-
240
- .camera-on-hover:hover {
241
- opacity: 1;
242
- }
243
195
  .user-details-user-isbusy {
244
196
  color: #feb92c;
245
197
  background-color: #2d323e;
@@ -261,7 +213,7 @@ button.user-details-btn-close {
261
213
  .user-details-plan-info {
262
214
  font-size: 13px;
263
215
  text-transform: capitalize;
264
- color: #a9afbb;
216
+ color: var(--sidebar-user-detail-color);
265
217
  font-weight: 500;
266
218
  line-height: 21px;
267
219
  }
@@ -273,15 +225,13 @@ button.user-details-btn-close {
273
225
  margin-right: 6px;
274
226
  }
275
227
 
276
-
277
-
278
228
  .user-details-help-center-icon {
279
- color: #a9afbb;
229
+ color: var(--sidebar-user-detail-color);
280
230
  font-size: 20px;
281
231
  vertical-align: middle;
282
232
  margin-right: 3px;
283
233
  svg{
284
- fill: #a9afbb
234
+ fill: var(--sidebar-user-detail-color);
285
235
  }
286
236
  }
287
237
 
@@ -289,15 +239,14 @@ button.user-details-btn-close {
289
239
  margin-top: 6px;
290
240
  font-size: 13px;
291
241
  font-weight: 500;
292
- color: #a9afbb;
242
+ color: var(--sidebar-user-detail-color);
293
243
  -webkit-font-smoothing: antialiased;
294
244
  vertical-align: middle;
295
245
  cursor: pointer;
296
- }
297
246
 
298
- .user-details-help-center:hover {
299
- color: #fff;
300
- text-decoration: underline;
247
+ &:hover {
248
+ text-decoration: underline;
249
+ }
301
250
  }
302
251
 
303
252
  .user-details-footer-section {
@@ -315,7 +264,10 @@ button.user-details-btn-close {
315
264
  z-index: 1;
316
265
  // bottom: 50px;
317
266
  // bottom: 55px;
318
-
267
+ :hover .user-details-logout-icon,
268
+ :hover .user-details-logout-text{
269
+ color: var(--sidebar-hover-icon-color);
270
+ }
319
271
  }
320
272
 
321
273
  .logout-btn-wpr {
@@ -326,15 +278,15 @@ button.user-details-btn-close {
326
278
  padding-top: 240px;
327
279
  }
328
280
  .user-details-logout-icon {
329
- color: #a9afbb;
281
+ color: var(--sidebar-icon-color);
330
282
  font-size: 30px;
331
283
  // margin-top: 30px;
284
+
332
285
  }
333
286
 
334
- .user-details-logout-icon:hover {
335
- color: #fff;
287
+ .user-details-logout-text{
288
+ color: var(--sidebar-icon-color);
336
289
  }
337
-
338
290
  .user-details-footer-chat-version {
339
291
  position: absolute;
340
292
  // bottom: 11px;
@@ -377,16 +329,18 @@ button.user-details-btn-close {
377
329
  color: #eee;
378
330
  }
379
331
 
380
- ::ng-deep .custom-mat-tooltip {
381
- background-color: #2d323e !important;
382
- font-size: 12px !important;
383
- border-radius: 2px !important;
384
- font-family: "Poppins" !important;
385
- }
386
-
387
332
  .sidebar-user-details-altenative-user-avatar {
388
333
  line-height: 3.2;
389
334
  font-weight: 400;
390
335
  font-family: "Poppins";
391
336
  font-size: 32px;
392
337
  }
338
+
339
+
340
+ ::ng-deep .custom-mat-tooltip {
341
+ background-color: var(--tooltip-bckground);
342
+ color: var(--tooltip-color) !important;
343
+ font-size: 12px !important;
344
+ border-radius: 2px !important;
345
+ font-family: 'Poppins' !important;
346
+ }