@chat21/chat21-ionic 3.0.107-rc.3 → 3.0.107-rc.7
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 +14 -0
- package/package.json +1 -1
- package/src/app/app.component.ts +99 -29
- package/src/app/chatlib/conversation-detail/conversation-content/conversation-content.component.scss +0 -1
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.scss +9 -9
- package/src/app/chatlib/conversation-detail/message/info-message/info-message.component.scss +5 -7
- package/src/app/chatlib/conversation-detail/message/options/options.component.scss +2 -2
- package/src/app/chatlib/conversation-detail/message/return-receipt/return-receipt.component.scss +1 -1
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.html +1 -1
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.scss +22 -55
- package/src/app/components/canned-response/canned-response.component.scss +9 -2
- package/src/app/components/contacts-directory/contacts-directory.component.scss +4 -56
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.scss +5 -6
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.scss +16 -5
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.ts +5 -0
- package/src/app/components/conversation-info/advanced-info-accordion/advanced-info-accordion.component.html +11 -19
- package/src/app/components/conversation-info/advanced-info-accordion/advanced-info-accordion.component.scss +15 -19
- package/src/app/components/conversation-info/info-direct/info-direct.component.scss +6 -5
- package/src/app/components/conversation-info/info-group/info-group.component.html +2 -2
- package/src/app/components/conversation-info/info-group/info-group.component.scss +11 -2
- 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 +46 -3
- package/src/app/components/conversations-list/header-conversations-list/header-conversations-list.component.html +2 -1
- package/src/app/components/conversations-list/header-conversations-list/header-conversations-list.component.scss +3 -2
- package/src/app/components/conversations-list/header-conversations-list-archived/header-conversations-list-archived.component.scss +5 -3
- package/src/app/components/conversations-list/header-conversations-list-unassigned/header-conversations-list-unassigned.component.scss +5 -3
- package/src/app/components/navbar/navbar.component.html +10 -14
- package/src/app/components/navbar/navbar.component.scss +33 -17
- package/src/app/components/sidebar/sidebar.component.html +49 -67
- package/src/app/components/sidebar/sidebar.component.scss +44 -29
- 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.scss +47 -93
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.ts +11 -13
- package/src/app/modals/create-canned-response/create-canned-response.page.html +2 -20
- package/src/app/modals/create-canned-response/create-canned-response.page.scss +44 -27
- package/src/app/modals/create-ticket/create-ticket.page.html +4 -4
- package/src/app/modals/create-ticket/create-ticket.page.scss +34 -1
- package/src/app/modals/json-message/json-message.page.scss +15 -1
- package/src/app/modals/loader-preview/loader-preview.page.html +1 -1
- package/src/app/modals/loader-preview/loader-preview.page.scss +19 -1
- package/src/app/modals/maps/maps.page.scss +18 -0
- package/src/app/modals/send-email/send-email.page.scss +30 -7
- package/src/app/modals/send-whatsapp-template/send-whatsapp-template.page.html +1 -1
- package/src/app/modals/send-whatsapp-template/send-whatsapp-template.page.scss +18 -0
- package/src/app/pages/contacts-directory/contacts-directory.page.html +9 -10
- package/src/app/pages/contacts-directory/contacts-directory.page.scss +5 -3
- package/src/app/pages/contacts-directory/contacts-directory.page.ts +0 -15
- package/src/app/pages/conversation-detail/conversation-detail.page.scss +5 -5
- package/src/app/pages/conversation-detail/conversation-detail.page.ts +10 -11
- package/src/app/pages/conversations-list/conversations-list.page.html +0 -1
- package/src/app/pages/conversations-list/conversations-list.page.scss +6 -17
- package/src/app/pages/conversations-list/conversations-list.page.ts +9 -18
- package/src/app/pages/profile-info/profile-info.page.html +4 -4
- package/src/app/pages/profile-info/profile-info.page.scss +43 -25
- package/src/app/pages/profile-info/profile-info.page.ts +2 -1
- package/src/app/pages/unassigned-conversations/unassigned-conversations.page.html +5 -5
- package/src/app/pages/unassigned-conversations/unassigned-conversations.page.scss +2 -2
- package/src/app/pages/unassigned-conversations/unassigned-conversations.page.ts +48 -1
- package/src/assets/customStyle.css +39 -0
- package/src/assets/test.html +38 -4
- package/src/chat21-core/providers/firebase/firebase-conversations-handler.ts +1 -0
- package/src/chat21-core/providers/mqtt/mqtt-conversations-handler.ts +2 -1
- package/src/chat21-core/providers/native/native-upload-service.ts +1 -1
- package/src/chat21-core/providers/tiledesk/tiledesk-auth.service.ts +21 -9
- package/src/global.scss +52 -137
- package/src/index.html +1 -1
- package/src/theme/variables.scss +276 -149
- package/src/variables.scss +115 -21
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
padding-top: 5px;
|
|
3
3
|
z-index: 1;
|
|
4
4
|
padding-bottom: 5px;
|
|
5
|
-
border-bottom: 1px solid
|
|
5
|
+
border-bottom: 1px solid var(--border-color-base);
|
|
6
6
|
-webkit-font-smoothing: auto;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.navbar{
|
|
10
|
-
background-color:
|
|
11
|
-
color:
|
|
10
|
+
background-color: var(--navbar-background);
|
|
11
|
+
color: var(--text-base-color);
|
|
12
12
|
min-height: var(--nav-bar-heigth);
|
|
13
13
|
transition: all 150ms ease 0s;
|
|
14
14
|
}
|
|
@@ -62,10 +62,10 @@ ion-navbar{
|
|
|
62
62
|
border-radius: 30px;
|
|
63
63
|
font-family: 'Poppins';
|
|
64
64
|
|
|
65
|
-
box-shadow: unset
|
|
66
|
-
text-transform: none
|
|
67
|
-
background:
|
|
68
|
-
color:
|
|
65
|
+
box-shadow: unset;
|
|
66
|
+
text-transform: none;
|
|
67
|
+
background: var(--simulate-btn-background);
|
|
68
|
+
color: var(--simulate-btn-color);
|
|
69
69
|
|
|
70
70
|
}
|
|
71
71
|
|
|
@@ -83,7 +83,7 @@ ion-navbar{
|
|
|
83
83
|
|
|
84
84
|
.dropdown-toggle, .volume{
|
|
85
85
|
background-color: transparent;
|
|
86
|
-
color:
|
|
86
|
+
color: var(--icon-color);
|
|
87
87
|
|
|
88
88
|
padding: 0px 15px;
|
|
89
89
|
font-weight: 400;
|
|
@@ -119,7 +119,7 @@ li{
|
|
|
119
119
|
font-size: 14px;
|
|
120
120
|
text-align: left;
|
|
121
121
|
list-style: none;
|
|
122
|
-
background-color:
|
|
122
|
+
background-color: var(--dropdown-menu-background);
|
|
123
123
|
-webkit-background-clip: padding-box;
|
|
124
124
|
background-clip: padding-box;
|
|
125
125
|
}
|
|
@@ -146,13 +146,30 @@ li{
|
|
|
146
146
|
position: relative;
|
|
147
147
|
|
|
148
148
|
.li-selected{
|
|
149
|
-
color:
|
|
150
|
-
background-color:
|
|
149
|
+
color: var(--dropdown-menu-selected-color);
|
|
150
|
+
background-color: var(--dropdown-menu-selected-background);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&.all-projects,
|
|
154
|
+
&.add-project{
|
|
155
|
+
color: var(--dropdown-menu-item-color);
|
|
156
|
+
i{
|
|
157
|
+
padding-right: 5px;
|
|
158
|
+
margin-bottom: 2px;
|
|
159
|
+
font-size: 20px
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
&.section-title{
|
|
164
|
+
padding-left: 24px;
|
|
165
|
+
font-size: 12px;
|
|
166
|
+
color: var(--dropdown-section-title);
|
|
167
|
+
font-weight: 400
|
|
151
168
|
}
|
|
152
169
|
}
|
|
153
170
|
|
|
154
171
|
.dropdown-menu .divider{
|
|
155
|
-
background-color:
|
|
172
|
+
background-color: var(--dropdown-divider-color);
|
|
156
173
|
margin: 5px 0;
|
|
157
174
|
|
|
158
175
|
height: 1px;
|
|
@@ -170,10 +187,9 @@ li{
|
|
|
170
187
|
clear: both;
|
|
171
188
|
font-weight: 400;
|
|
172
189
|
line-height: 1.42857143;
|
|
173
|
-
color:
|
|
190
|
+
color: var(--dropdown-menu-color);
|
|
174
191
|
white-space: nowrap;
|
|
175
192
|
text-decoration: none;
|
|
176
|
-
|
|
177
193
|
cursor: pointer;
|
|
178
194
|
|
|
179
195
|
.material-icons {
|
|
@@ -181,9 +197,9 @@ li{
|
|
|
181
197
|
}
|
|
182
198
|
|
|
183
199
|
&:hover{
|
|
184
|
-
background-color:
|
|
185
|
-
color:
|
|
186
|
-
box-shadow: 0 12px 20px -10px rgba(
|
|
200
|
+
background-color: var(--dropdown-menu-hover-background);
|
|
201
|
+
color: var(--dropdown-menu-hover-color);
|
|
202
|
+
box-shadow: 0 12px 20px -10px rgba(var(--dropdown-menu-hover-color), 0.28), 0 4px 20px 0 rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(var(--dropdown-menu-hover-color), 0.2);
|
|
187
203
|
}
|
|
188
204
|
}
|
|
189
205
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
<div id="sidebaravatar-img-wpr" class="sidebar-avatar-container
|
|
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
|
|
46
|
+
<ul class="nav">
|
|
48
47
|
|
|
49
48
|
<!-- ------------------------------------------- -->
|
|
50
49
|
<!-- CHAT -->
|
|
51
50
|
<!-- ------------------------------------------- -->
|
|
52
|
-
<li class="item-active"
|
|
53
|
-
#tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100"
|
|
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"
|
|
57
|
-
<svg
|
|
58
|
-
|
|
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"
|
|
94
|
-
<a target="_self" href="{{ dashboard_bots_url }}" id="bot-anchor" #botbtn class="customAncor"
|
|
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
|
|
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"
|
|
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
|
-
<
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
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"
|
|
124
|
-
<a target="_self" href="{{ dashboard_convs_url }}" class="customAncor"
|
|
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"
|
|
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"
|
|
156
|
-
<a target="_self" href="{{ dashboard_app_url }}" class="customAncor"
|
|
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;
|
|
162
|
-
<path
|
|
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"
|
|
176
|
-
<a target="_self" href="{{ dashboard_analytics_url }}" class="customAncor"
|
|
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
|
|
183
|
-
<path
|
|
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"
|
|
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"
|
|
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"
|
|
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
|
-
|
|
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:
|
|
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
|
-
.
|
|
24
|
-
|
|
18
|
+
.logo {
|
|
19
|
+
min-height: 60px;
|
|
20
|
+
width: 60px; // for SMALL SIDEBAR
|
|
25
21
|
}
|
|
26
22
|
|
|
27
|
-
.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
23
|
+
.logoBrand{
|
|
24
|
+
position: absolute;
|
|
25
|
+
bottom: 0;
|
|
26
|
+
display: flex;
|
|
27
|
+
height: 60px;
|
|
33
28
|
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
|
|
43
|
-
|
|
38
|
+
svg path,
|
|
39
|
+
svg ellipse {
|
|
40
|
+
fill: var(--sidebar-icon-color);
|
|
44
41
|
}
|
|
45
42
|
|
|
46
|
-
li
|
|
47
|
-
|
|
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
|
-
|
|
51
|
-
|
|
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
|
-
|
|
55
|
-
|
|
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"
|
|
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="
|
|
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?.
|
|
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?.
|
|
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
|