@chat21/chat21-ionic 3.0.61-rc2 → 3.0.61-rc21
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 +90 -0
- package/angular.json +2 -0
- package/config.xml +4 -5
- package/deploy_pre.sh +27 -27
- package/deploy_prod.sh +5 -1
- package/env.sample +1 -1
- package/package.json +8 -8
- package/resources/{Android → android}/icon/drawable-hdpi-icon.png +0 -0
- package/resources/{Android → android}/icon/drawable-ldpi-icon.png +0 -0
- package/resources/{Android → android}/icon/drawable-mdpi-icon.png +0 -0
- package/resources/{Android → android}/icon/drawable-xhdpi-icon.png +0 -0
- package/resources/{Android → android}/icon/drawable-xxhdpi-icon.png +0 -0
- package/resources/{Android → android}/icon/drawable-xxxhdpi-icon.png +0 -0
- package/resources/{Android → android}/icon.png +0 -0
- package/resources/{Android → android}/splash/drawable-land-hdpi-screen.png +0 -0
- package/resources/{Android → android}/splash/drawable-land-ldpi-screen.png +0 -0
- package/resources/{Android → android}/splash/drawable-land-mdpi-screen.png +0 -0
- package/resources/{Android → android}/splash/drawable-land-xhdpi-screen.png +0 -0
- package/resources/{Android → android}/splash/drawable-land-xxhdpi-screen.png +0 -0
- package/resources/{Android → android}/splash/drawable-land-xxxhdpi-screen.png +0 -0
- package/resources/{Android → android}/splash/drawable-port-hdpi-screen.png +0 -0
- package/resources/{Android → android}/splash/drawable-port-ldpi-screen.png +0 -0
- package/resources/{Android → android}/splash/drawable-port-mdpi-screen.png +0 -0
- package/resources/{Android → android}/splash/drawable-port-xhdpi-screen.png +0 -0
- package/resources/{Android → android}/splash/drawable-port-xxhdpi-screen.png +0 -0
- package/resources/{Android → android}/splash/drawable-port-xxxhdpi-screen.png +0 -0
- package/resources/{Android → android}/splash.png +0 -0
- package/src/app/app-routing.module.ts +15 -0
- package/src/app/app.component.html +4 -3
- package/src/app/app.component.scss +6 -1
- package/src/app/app.component.ts +29 -18
- package/src/app/app.module.ts +11 -3
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.html +36 -25
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.scss +160 -50
- package/src/app/chatlib/conversation-detail/ion-conversation-detail/ion-conversation-detail.component.ts +101 -18
- package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.html +21 -36
- package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.scss +19 -7
- package/src/app/chatlib/conversation-detail/message/bubble-message/bubble-message.component.ts +35 -40
- package/src/app/chatlib/conversation-detail/message/message-attachment/message-attachment.component.scss +1 -1
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.html +6 -1
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.ts +89 -21
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.html +37 -33
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.scss +7 -1
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.ts +148 -63
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.html +59 -22
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.scss +32 -9
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.ts +102 -23
- package/src/app/components/conversation-info/info-content/info-content.component.html +2 -2
- package/src/app/components/ddp-header/ddp-header.component.html +11 -4
- package/src/app/components/ddp-header/ddp-header.component.ts +94 -19
- package/src/app/components/project-item/project-item.component.html +2 -2
- package/src/app/components/project-item/project-item.component.scss +1 -1
- package/src/app/components/project-item/project-item.component.ts +1 -1
- package/src/app/components/sidebar/sidebar.component.html +151 -86
- package/src/app/components/sidebar/sidebar.component.scss +72 -4
- package/src/app/components/sidebar/sidebar.component.ts +211 -72
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.html +29 -10
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.scss +53 -29
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.ts +176 -97
- package/src/app/pages/conversation-detail/conversation-detail.module.ts +6 -1
- package/src/app/pages/conversation-detail/conversation-detail.page.html +20 -10
- package/src/app/pages/conversation-detail/conversation-detail.page.scss +28 -0
- package/src/app/pages/conversation-detail/conversation-detail.page.ts +1124 -777
- package/src/app/pages/conversations-list/conversations-list.module.ts +2 -1
- package/src/app/pages/conversations-list/conversations-list.page.html +9 -6
- package/src/app/pages/conversations-list/conversations-list.page.scss +9 -1
- package/src/app/pages/conversations-list/conversations-list.page.ts +724 -436
- package/src/app/pages/create-canned-response/create-canned-response-routing.module.ts +17 -0
- package/src/app/pages/create-canned-response/create-canned-response.module.ts +30 -0
- package/src/app/pages/create-canned-response/create-canned-response.page.html +150 -0
- package/src/app/pages/create-canned-response/create-canned-response.page.scss +55 -0
- package/src/app/pages/create-canned-response/create-canned-response.page.spec.ts +24 -0
- package/src/app/pages/create-canned-response/create-canned-response.page.ts +319 -0
- package/src/app/pages/create-requester/create-requester-routing.module.ts +17 -0
- package/src/app/pages/create-requester/create-requester.module.ts +28 -0
- package/src/app/pages/create-requester/create-requester.page.html +67 -0
- package/src/app/pages/create-requester/create-requester.page.scss +30 -0
- package/src/app/pages/create-requester/create-requester.page.spec.ts +24 -0
- package/src/app/pages/create-requester/create-requester.page.ts +138 -0
- package/src/app/pages/create-ticket/create-ticket-routing.module.ts +17 -0
- package/src/app/pages/create-ticket/create-ticket.module.ts +28 -0
- package/src/app/pages/create-ticket/create-ticket.page.html +171 -0
- package/src/app/pages/create-ticket/create-ticket.page.scss +52 -0
- package/src/app/pages/create-ticket/create-ticket.page.spec.ts +24 -0
- package/src/app/pages/create-ticket/create-ticket.page.ts +432 -0
- package/src/app/pages/loader-preview/loader-preview.page.ts +226 -166
- package/src/app/pages/profile-info/profile-info.page.html +2 -2
- package/src/app/pages/profile-info/profile-info.page.scss +13 -2
- package/src/app/services/tiledesk/tiledesk.service.ts +209 -0
- package/src/app/shared/shared.module.ts +1 -1
- package/src/app/utils/scrollbar-theme.directive.ts +58 -24
- package/src/assets/i18n/de.json +46 -7
- package/src/assets/i18n/en.json +42 -3
- package/src/assets/i18n/es.json +42 -3
- package/src/assets/i18n/fr.json +45 -6
- package/src/assets/i18n/it.json +42 -3
- package/src/assets/i18n/pt.json +42 -3
- package/src/assets/i18n/ru.json +43 -4
- package/src/assets/i18n/sr.json +265 -0
- package/src/assets/i18n/tr.json +42 -4
- package/src/assets/images/default-avatar-x-select.png +0 -0
- package/src/assets/images/language_flag/hr.png +0 -0
- package/src/assets/images/language_flag/sr.png +0 -0
- package/src/assets/images/priority_icons/high.svg +3 -0
- package/src/assets/images/priority_icons/high_v2.svg +14 -0
- package/src/assets/images/priority_icons/low.svg +10 -0
- package/src/assets/images/priority_icons/low_v2.svg +14 -0
- package/src/assets/images/priority_icons/medium.svg +16 -0
- package/src/assets/images/priority_icons/medium_v2.svg +11 -0
- package/src/assets/images/priority_icons/urgent.svg +4 -0
- package/src/assets/images/priority_icons/urgent_v2.svg +16 -0
- package/src/chat-config-pre-test.json +1 -1
- package/src/chat-config-template.json +1 -1
- package/src/chat-config.json +1 -1
- package/src/chat21-core/providers/firebase/firebase-conversation-handler.ts +8 -3
- package/src/chat21-core/utils/constants.ts +6 -1
- package/src/chat21-core/utils/utils-message.ts +19 -0
- package/src/global.scss +65 -111
- package/publish_pre.sh +0 -33
- package/publish_prod.sh +0 -33
|
@@ -1,134 +1,199 @@
|
|
|
1
1
|
<!-- *ngIf="project" -->
|
|
2
|
-
<div class="logo"
|
|
3
|
-
<a class="logo-img-wpr" [ngClass]="{'small-sidebar-logo-img-wpr' : SIDEBAR_IS_SMALL === true }">
|
|
2
|
+
<div class="logo">
|
|
3
|
+
<!-- <a class="logo-img-wpr" [ngClass]="{'small-sidebar-logo-img-wpr' : SIDEBAR_IS_SMALL === true }">
|
|
4
4
|
<div class="logo-img" (click)="goToHome()" style="cursor: pointer;">
|
|
5
5
|
<img class="small-sidebar__logo" src="assets/tiledesk-solo-logo.png" />
|
|
6
6
|
</div>
|
|
7
|
-
</a>
|
|
8
|
-
</div>
|
|
7
|
+
</a> -->
|
|
9
8
|
|
|
10
|
-
<div class="sidebar-wrapper">
|
|
11
|
-
<!-- // NK start NEW: AVATAR ON THE SIDEBAR -->
|
|
12
|
-
<div class="user tiledesk-nav-user" [ngClass]="{'small-sidebar-tiledesk-nav-user' : SIDEBAR_IS_SMALL === true }"
|
|
13
|
-
fxlayout="column" style="flex-direction: column; box-sizing: border-box; display: flex;">
|
|
14
|
-
<div class="h3 username" style="font-size: 16px;font-weight: 400;margin-top: 15px; margin-bottom: 5px;"
|
|
15
|
-
[ngClass]="{'small-sidebar-userfullname' : SIDEBAR_IS_SMALL === true }">
|
|
16
9
|
|
|
17
|
-
{{ user?.firstname }} {{ user?.lastname }}
|
|
18
|
-
</div>
|
|
19
|
-
<div class="h5 email hint-text mt-8"
|
|
20
|
-
style="color: rgba(255,255,255,.5)!important;font-size: 13px;margin-top: 0px!important;font-weight: 400;"
|
|
21
|
-
[ngClass]="{'small-sidebar-email' : SIDEBAR_IS_SMALL === true }">
|
|
22
|
-
{{ user?.email }}
|
|
23
|
-
</div>
|
|
24
10
|
|
|
11
|
+
<div id="sidebaravatar-img-wpr" class="sidebar-avatar-container tiledesk-nav-avatar" (click)="openUserDetailSidePanel()"
|
|
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}">
|
|
25
13
|
|
|
26
|
-
<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
<img id="sidebaravatar-img" class="sidebar-avatar" [src]="photo_profile_URL" onerror="this.src='assets/images/no_image_user.png'" />
|
|
14
|
+
<img *ngIf="USER_PHOTO_PROFILE_EXIST" id="sidebaravatar-img" class="sidebar-avatar" [src]="photo_profile_URL"
|
|
15
|
+
onerror="this.src='assets/images/no_image_user.png'" />
|
|
30
16
|
|
|
17
|
+
<div *ngIf="!USER_PHOTO_PROFILE_EXIST" id="sidebaravatar-no-img" class="sidebar-avatar"
|
|
18
|
+
[ngStyle]="{'background': 'linear-gradient(rgb(255,255,255) -125%,' + currentUser?.fillColour + ')'}">
|
|
19
|
+
<span id="sidebaravatar-altenative-user-avatar" class="sidebar-altenative-user-avatar">
|
|
20
|
+
{{ currentUser?.fullname_initial }}
|
|
21
|
+
</span>
|
|
22
|
+
</div>
|
|
31
23
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
24
|
+
<!-- matTooltipClass="custom-mat-tooltip" matTooltip="{{ tooltip_text_for_availability_status}}" #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" -->
|
|
25
|
+
<!-- (click)="changeAvailabilityState(IS_AVAILABLE = !IS_AVAILABLE)" -->
|
|
26
|
+
<div id="sidebaravatar-status-icon" class="status-icon"
|
|
27
|
+
[ngClass]="{'is-user-online' : IS_AVAILABLE === true, 'is-user-offline' : IS_AVAILABLE === false, 'small-sidebar-status-icon' : SIDEBAR_IS_SMALL === true }">
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<!-- matTooltipClass="custom-mat-tooltip" matTooltip="{{ 'Busy' | translate }}" #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" -->
|
|
31
|
+
<div id="sidebaravatar-isbusy-icon-wpr" class="sidebar--isBusy-icon-wpr" [ngClass]="{'sidebar--isBusy-icon-wpr-with-image': USER_PHOTO_PROFILE_EXIST}" *ngIf="IS_BUSY === true"
|
|
32
|
+
style="cursor:pointer">
|
|
33
|
+
<span id="sidebaravatar-isbusy-icon" class="material-icons sidebar-is-busy-icon">
|
|
34
|
+
access_time
|
|
35
|
+
</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
|
-
</div>
|
|
39
|
-
<!-- CAMERA ICONS OVER THE AVATAR -->
|
|
40
|
-
<!-- [ngClass]="{'hover-effect' : isOverAvar}" -->
|
|
41
|
-
<!-- <i class="material-icons is-over-camera"
|
|
42
|
-
[ngClass]="{'small-sidebar-camera-icon' : SIDEBAR_IS_SMALL === true, 'is-over-camera-decrease-top':IS_BUSY === true }">
|
|
43
|
-
camera_alt
|
|
44
|
-
</i> -->
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
<!-- matTooltipClass="custom-mat-tooltip" matTooltip="{{ 'Busy' | translate }}" #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" -->
|
|
48
|
-
<div id="sidebaravatar-isbusy-icon-wpr" class="sidebar--isBusy-icon-wpr" *ngIf="IS_BUSY === true" style="cursor:pointer">
|
|
49
|
-
<span id="sidebaravatar-isbusy-icon" class="material-icons sidebar-is-busy-icon">
|
|
50
|
-
access_time
|
|
51
|
-
</span>
|
|
52
|
-
</div>
|
|
53
38
|
</div>
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
<div class="sidebar-wrapper">
|
|
54
42
|
|
|
55
43
|
<div class="nav-container">
|
|
56
44
|
<!-- [ngClass]="{'is-desktop-menu' : IS_MOBILE_MENU === false, 'is-mobile-menu' : IS_MOBILE_MENU === true }" -->
|
|
57
|
-
|
|
45
|
+
<!-- padding-bottom: 65px; -->
|
|
46
|
+
<ul style="margin-top: 0px;" class="nav">
|
|
58
47
|
|
|
59
48
|
<!-- ------------------------------------------- -->
|
|
60
49
|
<!-- CHAT -->
|
|
61
50
|
<!-- ------------------------------------------- -->
|
|
62
51
|
<li class="item-active" style="cursor: unset;" matTooltipClass="custom-mat-tooltip" matTooltip="Chat"
|
|
63
|
-
#tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100">
|
|
64
|
-
<a class="customAncor">
|
|
65
|
-
<i class="material-icons sidebar-icons">chat</i>
|
|
52
|
+
#tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" style="text-align: center; ">
|
|
53
|
+
<a class="customAncor" style="margin-right: 0px !important">
|
|
54
|
+
<!-- <i class="material-icons sidebar-icons">chat</i> -->
|
|
55
|
+
<span id="openchat-span" style="position: relative;top: 9px;vertical-align: middle;">
|
|
56
|
+
<svg id="openchat-svg" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
|
57
|
+
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 23 21"
|
|
58
|
+
style="enable-background:new 0 0 23 21;" xml:space="preserve"
|
|
59
|
+
style="width:20px;height:20px; vertical-align: middle;">
|
|
60
|
+
<style type="text/css">
|
|
61
|
+
.chat21-icon {
|
|
62
|
+
fill: #fff;
|
|
63
|
+
}
|
|
64
|
+
</style>
|
|
65
|
+
<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
|
|
66
|
+
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
|
|
67
|
+
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" />
|
|
68
|
+
</svg>
|
|
69
|
+
</span>
|
|
66
70
|
</a>
|
|
67
71
|
</li>
|
|
68
72
|
|
|
69
73
|
<!-- ------------------------------------------- -->
|
|
70
|
-
<!-- HOME
|
|
74
|
+
<!-- HOME (click)="goToHome()"" -->
|
|
71
75
|
<!-- ------------------------------------------- -->
|
|
72
|
-
|
|
76
|
+
|
|
77
|
+
<li matTooltip="Home" #tooltip="matTooltip" matTooltipPosition='right'
|
|
73
78
|
matTooltipHideDelay="100" matTooltipClass="custom-mat-tooltip">
|
|
74
|
-
<a class="customAncor">
|
|
79
|
+
<a target="_self" href="{{ dashboard_home_url }}" class="customAncor">
|
|
75
80
|
<i class="material-icons sidebar-icons">
|
|
76
81
|
home
|
|
77
82
|
</i>
|
|
78
83
|
</a>
|
|
79
84
|
</li>
|
|
80
85
|
|
|
86
|
+
|
|
87
|
+
<!-- ---------------------------------- -->
|
|
88
|
+
<!-- Bot (click)="goToBots()" -->
|
|
89
|
+
<!-- ---------------------------------- -->
|
|
90
|
+
<ng-container *ngIf="USER_ROLE !== 'agent'">
|
|
91
|
+
<li id="bot-anchor-wpr" matTooltipClass="custom-mat-tooltip" matTooltip="Bots"
|
|
92
|
+
#tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" style="text-align: center;">
|
|
93
|
+
<a target="_self" href="{{ dashboard_bots_url }}" id="bot-anchor" #botbtn class="customAncor" style="height: 40px;margin-right: 0px !important;">
|
|
94
|
+
<span class="bot-icon-wpr">
|
|
95
|
+
<svg version="1.1" id="Objects" xmlns="http://www.w3.org/2000/svg"
|
|
96
|
+
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 30 30"
|
|
97
|
+
style="enable-background:new 0 0 30 30;" xml:space="preserve" style="width: 25px;height: 25px;margin-top: 7px;">
|
|
98
|
+
<g>
|
|
99
|
+
<g>
|
|
100
|
+
<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
|
|
101
|
+
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
|
|
102
|
+
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
|
|
103
|
+
C22.8,14.1,23.3,19.1,22,21.1z" />
|
|
104
|
+
<ellipse class="chat-bot-icon-st0" cx="11.9" cy="17.4" rx="0.7" ry="1.4" />
|
|
105
|
+
<ellipse class="chat-bot-icon-st0" cx="18.1" cy="17.4" rx="0.7" ry="1.4" />
|
|
106
|
+
<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
|
|
107
|
+
C14.1,4.8,14.2,5.1,14.5,5.3z" />
|
|
108
|
+
</g>
|
|
109
|
+
<rect class="chat-bot-icon-st1" width="30" height="30" />
|
|
110
|
+
</g>
|
|
111
|
+
</svg>
|
|
112
|
+
</span>
|
|
113
|
+
</a>
|
|
114
|
+
</li>
|
|
115
|
+
</ng-container>
|
|
116
|
+
|
|
81
117
|
<!-- ------------------------------------------- -->
|
|
82
|
-
<!--
|
|
118
|
+
<!-- Conversations (MONITOR) (click)="goToConversations()" -->
|
|
83
119
|
<!-- ------------------------------------------- -->
|
|
84
|
-
<
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
<
|
|
88
|
-
|
|
89
|
-
|
|
120
|
+
<ng-container *ngIf="USER_ROLE !== 'agent'">
|
|
121
|
+
<li matTooltipClass="custom-mat-tooltip" matTooltip="Monitor"
|
|
122
|
+
#tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" style="text-align: center;">
|
|
123
|
+
<a target="_self" href="{{ dashboard_convs_url }}" class="customAncor" style="height: 40px;margin-right: 0px !important;">
|
|
124
|
+
<!-- <i class="material-icons sidebar-icons">forum</i> -->
|
|
125
|
+
<span class="realtime-icon-wpr" >
|
|
126
|
+
|
|
127
|
+
<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"
|
|
128
|
+
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" style="width: 30px;height: 30px;margin-top: 5px;">
|
|
129
|
+
|
|
130
|
+
<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
|
|
131
|
+
l0.9,0c0.5-0.7,1-1.4,1.4-2L17.9,11.6z"/>
|
|
132
|
+
</svg>
|
|
133
|
+
</span>
|
|
134
|
+
|
|
135
|
+
</a>
|
|
136
|
+
</li>
|
|
137
|
+
</ng-container>
|
|
90
138
|
|
|
91
139
|
<!-- ------------------------------------------- -->
|
|
92
|
-
<!-- CONTACTS (LEADS) -->
|
|
140
|
+
<!-- CONTACTS (LEADS) (click)="goToContacts()" -->
|
|
93
141
|
<!-- ------------------------------------------- -->
|
|
94
|
-
<li
|
|
95
|
-
|
|
96
|
-
<a class="customAncor">
|
|
142
|
+
<li matTooltipClass="custom-mat-tooltip" matTooltip="{{ contacts_lbl }}"
|
|
143
|
+
#tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" style="text-align: center;">
|
|
144
|
+
<a target="_self" href="{{ dashboard_contacts_url }}" class="customAncor">
|
|
97
145
|
<i class="material-icons sidebar-icons">contacts</i>
|
|
98
146
|
</a>
|
|
99
147
|
</li>
|
|
100
148
|
|
|
101
149
|
<!-- ------------------------------------------- -->
|
|
102
|
-
<!-- APPS -->
|
|
150
|
+
<!-- APPS (click)="goToAppStore()" -->
|
|
103
151
|
<!-- ------------------------------------------- -->
|
|
104
152
|
<ng-container *ngIf="isVisibleAPP && USER_ROLE !== 'agent'">
|
|
105
|
-
<li
|
|
106
|
-
|
|
107
|
-
<a class="customAncor">
|
|
108
|
-
<i class="material-icons sidebar-icons">apps</i>
|
|
153
|
+
<li matTooltipClass="custom-mat-tooltip" matTooltip="{{ apps_lbl }}"
|
|
154
|
+
#tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" style="text-align: center;">
|
|
155
|
+
<a target="_self" href="{{ dashboard_app_url }}" class="customAncor" style="margin-right: 0px !important;">
|
|
156
|
+
<!-- <i class="material-icons sidebar-icons">apps</i> -->
|
|
157
|
+
<!-- <i class="material-icons sidebar-icons">dashboard_customize</i> -->
|
|
158
|
+
<span class="dashboard-customize-icon-wpr">
|
|
159
|
+
<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"
|
|
160
|
+
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" style="width: 20px;height: 20px;margin-top: 10px;">
|
|
161
|
+
<path class="dashboard_customize-st0" d="M0,0h24v24H0V0z"/>
|
|
162
|
+
<path class="dashboard_customize-st1" d="M3,3h8v8H3V3z M13,3h8v8h-8V3z M3,13h8v8H3V13z M18,13h-2v3h-3v2h3v3h2v-3h3v-2h-3V13z"/>
|
|
163
|
+
</svg>
|
|
164
|
+
</span>
|
|
109
165
|
</a>
|
|
110
166
|
</li>
|
|
111
167
|
</ng-container>
|
|
112
168
|
|
|
113
169
|
<!-- ------------------------------------------- -->
|
|
114
|
-
<!-- ANALYTICS -->
|
|
170
|
+
<!-- ANALYTICS (click)="goToAnalytics()" -->
|
|
115
171
|
<!-- ------------------------------------------- -->
|
|
116
172
|
<ng-container *ngIf="isVisibleANA && USER_ROLE !== 'agent'">
|
|
117
|
-
<li
|
|
118
|
-
|
|
119
|
-
<a class="customAncor">
|
|
120
|
-
<i class="material-icons sidebar-icons">trending_up</i>
|
|
173
|
+
<li matTooltipClass="custom-mat-tooltip" matTooltip="{{ analytics_lbl }}"
|
|
174
|
+
#tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" style="text-align: center;" >
|
|
175
|
+
<a target="_self" href="{{ dashboard_analytics_url }}" class="customAncor" style="margin-right: 0px !important;">
|
|
176
|
+
<!-- <i class="material-icons sidebar-icons">trending_up</i> -->
|
|
177
|
+
<!-- <i class="material-icons sidebar-icons"> analytics </i> -->
|
|
178
|
+
<!-- <i class="material-icons sidebar-icons"> bar_chart </i> -->
|
|
179
|
+
<span class="bar-chart-icon-wpr">
|
|
180
|
+
<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"
|
|
181
|
+
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" style="width: 20px;height: 20px;margin-top: 10px;">
|
|
182
|
+
<path class="bar-chart-icon-st0" d="M0,0h24v24H0V0z"/>
|
|
183
|
+
<path class="bar-chart-icon-st1" d="M5,9.2h3V19H5V9.2z M10.6,5h2.8v14h-2.8V5z M16.2,13H19v6h-2.8V13z"/>
|
|
184
|
+
</svg>
|
|
185
|
+
</span>
|
|
121
186
|
</a>
|
|
122
187
|
</li>
|
|
123
188
|
</ng-container>
|
|
124
189
|
|
|
125
190
|
<!-- ------------------------------------------- -->
|
|
126
|
-
<!-- ACTIVITIES -->
|
|
191
|
+
<!-- ACTIVITIES (click)="goToActivities()" -->
|
|
127
192
|
<!-- ------------------------------------------- -->
|
|
128
193
|
<ng-container *ngIf="isVisibleACT">
|
|
129
|
-
<li *ngIf="USER_ROLE !== 'agent'"
|
|
130
|
-
|
|
131
|
-
<a class="customAncor">
|
|
194
|
+
<li *ngIf="USER_ROLE !== 'agent'" matTooltipClass="custom-mat-tooltip"
|
|
195
|
+
matTooltip="{{ activities_lbl }}" #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" style="text-align: center;">
|
|
196
|
+
<a target="_self" href="{{ dashboard_activities_url }}" class="customAncor">
|
|
132
197
|
<i class="material-icons sidebar-icons">assignment</i>
|
|
133
198
|
</a>
|
|
134
199
|
</li>
|
|
@@ -136,21 +201,21 @@
|
|
|
136
201
|
|
|
137
202
|
|
|
138
203
|
<!-- ------------------------------------------- -->
|
|
139
|
-
<!-- REQUESTS HISTORY -->
|
|
204
|
+
<!-- REQUESTS HISTORY (click)="goToHistory()" -->
|
|
140
205
|
<!-- ------------------------------------------- -->
|
|
141
|
-
<li
|
|
142
|
-
|
|
143
|
-
<a class="customAncor">
|
|
206
|
+
<li matTooltipClass="custom-mat-tooltip" matTooltip="{{ history_lbl }}"
|
|
207
|
+
#tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" style="text-align: center;">
|
|
208
|
+
<a target="_self" href="{{ dashboard_history_url }}" class="customAncor">
|
|
144
209
|
<i class="material-icons sidebar-icons">history</i>
|
|
145
210
|
</a>
|
|
146
211
|
</li>
|
|
147
212
|
|
|
148
|
-
<!--
|
|
149
|
-
<!-- SETTINGS -->
|
|
150
|
-
<!--
|
|
151
|
-
<li *ngIf="USER_ROLE !== 'agent'"
|
|
152
|
-
|
|
153
|
-
<a class="customAncor">
|
|
213
|
+
<!-- ----------------------------------------------------------------------------------- -->
|
|
214
|
+
<!-- SETTINGS // old: goToSettings_CannedResponses() *ngIf="USER_ROLE !== 'agent'" (click)="goToWidgetSetUpOrToCannedResponses()" -->
|
|
215
|
+
<!-- ----------------------------------------------------------------------------------- -->
|
|
216
|
+
<li *ngIf="USER_ROLE !== 'agent'" matTooltipClass="custom-mat-tooltip"
|
|
217
|
+
matTooltip="{{ settings_lbl }}" #tooltip="matTooltip" matTooltipPosition='right' matTooltipHideDelay="100" style="text-align: center;">
|
|
218
|
+
<a target="_self" href="{{ dashboard_settings_url }}" class="customAncor">
|
|
154
219
|
<i class="material-icons sidebar-icons">settings</i>
|
|
155
220
|
</a>
|
|
156
221
|
</li>
|
|
@@ -161,12 +226,12 @@
|
|
|
161
226
|
[plan_type]="plan_type"
|
|
162
227
|
[isVisiblePAY]="isVisiblePAY"
|
|
163
228
|
[prjct_name]="prjct_name" -->
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
229
|
+
<!-- HAS_CLICKED_OPEN_USER_DETAIL {{ HAS_CLICKED_OPEN_USER_DETAIL }} -->
|
|
230
|
+
<!-- [HAS_CLICKED_OPEN_USER_DETAIL]='HAS_CLICKED_OPEN_USER_DETAIL' -->
|
|
231
|
+
<!-- tabindex="-1" style="z-index: 20001;" -->
|
|
167
232
|
|
|
168
233
|
|
|
169
|
-
|
|
234
|
+
<!-- <app-sidebar-user-details
|
|
170
235
|
(onCloseUserDetailsSidebar)='onCloseUserDetailsSidebar($event)'>
|
|
171
236
|
</app-sidebar-user-details> -->
|
|
172
237
|
|
|
@@ -1,11 +1,79 @@
|
|
|
1
1
|
::ng-deep .custom-mat-tooltip {
|
|
2
|
-
background-color: #2d323e;
|
|
3
|
-
font-size: 12px;
|
|
2
|
+
background-color: #2d323e !important;
|
|
3
|
+
font-size: 12px !important;
|
|
4
|
+
border-radius: 2px !important;
|
|
5
|
+
font-family: 'Poppins' !important;
|
|
4
6
|
}
|
|
5
7
|
|
|
6
8
|
.sidebar-is-busy-icon {
|
|
7
|
-
font-size:
|
|
9
|
+
font-size: 12px;
|
|
8
10
|
color: #feb92c;
|
|
9
11
|
background-color: #2d323e;
|
|
10
12
|
border-radius: 50%;
|
|
11
|
-
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.chat-bot-icon-st0 {
|
|
16
|
+
// fill: #a9afbb;
|
|
17
|
+
fill: #647491
|
|
18
|
+
}
|
|
19
|
+
.chat-bot-icon-st1 {
|
|
20
|
+
fill: none;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.realtime-icon-st3 {
|
|
24
|
+
fill: #647491
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.dashboard_customize-st0{
|
|
28
|
+
fill:none;
|
|
29
|
+
}
|
|
30
|
+
.dashboard_customize-st1{
|
|
31
|
+
fill:#647491;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.bar-chart-icon-st0{
|
|
35
|
+
fill:none;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.bar-chart-icon-st1{
|
|
39
|
+
fill:#647491;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
#bot-anchor-wpr:hover > #bot-anchor > .bot-icon-wpr > svg > g > g > .chat-bot-icon-st0 {
|
|
43
|
+
fill: #a9afbb ;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
li:hover > a > .realtime-icon-wpr > svg > path {
|
|
47
|
+
fill: #a9afbb;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
li:hover > a > .dashboard-customize-icon-wpr > svg > .dashboard_customize-st1 {
|
|
51
|
+
fill: #a9afbb;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
li:hover > a > .bar-chart-icon-wpr > svg > .bar-chart-icon-st1{
|
|
55
|
+
fill: #a9afbb;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
#sidebaravatar-altenative-user-avatar {
|
|
59
|
+
// line-height: 2.9;
|
|
60
|
+
font-weight: 400;
|
|
61
|
+
font-family: "Poppins";
|
|
62
|
+
left: 50%;
|
|
63
|
+
top: 50%;
|
|
64
|
+
-webkit-transform: translate(-50%, -50%);
|
|
65
|
+
transform: translate(-50%, -50%);
|
|
66
|
+
position: absolute;
|
|
67
|
+
font-size:14px
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// #sidebar_wrapper::-webkit-scrollbar {
|
|
71
|
+
// width: 6px;
|
|
72
|
+
// }
|
|
73
|
+
// #sidebar_wrapper::-webkit-scrollbar-track {
|
|
74
|
+
// background-color: #1c2b45;
|
|
75
|
+
// }
|
|
76
|
+
// #sidebar_wrapper::-webkit-scrollbar-thumb {
|
|
77
|
+
// background-color: #3c485b;
|
|
78
|
+
// border-radius: 3px;
|
|
79
|
+
// }
|