@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
|
@@ -18,11 +18,11 @@ import { ConversationHandlerService } from '../abstract/conversation-handler.ser
|
|
|
18
18
|
import { LoggerService } from '../abstract/logger.service';
|
|
19
19
|
import { LoggerInstance } from '../logger/loggerInstance';
|
|
20
20
|
// utils
|
|
21
|
-
import { MSG_STATUS_RECEIVED, CHAT_REOPENED, CHAT_CLOSED, MEMBER_JOINED_GROUP, TYPE_DIRECT, MESSAGE_TYPE_INFO
|
|
21
|
+
import { MSG_STATUS_RECEIVED, CHAT_REOPENED, CHAT_CLOSED, MEMBER_JOINED_GROUP, TYPE_DIRECT, MESSAGE_TYPE_INFO, TOUCHING_OPERATOR } from '../../utils/constants';
|
|
22
22
|
import { compareValues, searchIndexInArrayForUid, conversationMessagesRef } from '../../utils/utils';
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
import { messageType } from 'src/chat21-core/utils/utils-message';
|
|
25
|
+
import { messageType, isEmojii } from 'src/chat21-core/utils/utils-message';
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
@@ -156,7 +156,8 @@ export class FirebaseConversationHandler extends ConversationHandlerService {
|
|
|
156
156
|
typeMsg,
|
|
157
157
|
attributes,
|
|
158
158
|
channelType,
|
|
159
|
-
false
|
|
159
|
+
false,
|
|
160
|
+
isEmojii(msg)
|
|
160
161
|
);
|
|
161
162
|
const messageRef = firebaseMessagesCustomUid.push({
|
|
162
163
|
language: lang,
|
|
@@ -288,6 +289,10 @@ export class FirebaseConversationHandler extends ConversationHandlerService {
|
|
|
288
289
|
|
|
289
290
|
// verifico che il sender è il logged user
|
|
290
291
|
msg.isSender = this.isSender(msg.sender, this.loggedUser.uid);
|
|
292
|
+
|
|
293
|
+
//check if message contains only an emojii
|
|
294
|
+
msg.emoticon = isEmojii(msg.text)
|
|
295
|
+
|
|
291
296
|
// traduco messaggi se sono del server
|
|
292
297
|
if (msg.attributes && msg.attributes.subtype) {
|
|
293
298
|
if (msg.attributes.subtype === 'info' || msg.attributes.subtype === 'info/support') {
|
|
@@ -85,6 +85,25 @@ export function messageType(msgType: string, message: any) {
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
export function isEmojii(message: any){
|
|
89
|
+
if (message.length > 2) {
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
let fistChar = '';
|
|
93
|
+
try {
|
|
94
|
+
fistChar = message.trim(); // .charAt(0);
|
|
95
|
+
} catch (e) {
|
|
96
|
+
return false;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
const ranges = ['(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff]|[\u0023-\u0039]\ufe0f?\u20e3|\u3299|\u3297|\u303d|\u3030|\u24c2|\ud83c[\udd70-\udd71]|\ud83c[\udd7e-\udd7f]|\ud83c\udd8e|\ud83c[\udd91-\udd9a]|\ud83c[\udde6-\uddff]|[\ud83c[\ude01-\ude02]|\ud83c\ude1a|\ud83c\ude2f|[\ud83c[\ude32-\ude3a]|[\ud83c[\ude50-\ude51]|\u203c|\u2049|[\u25aa-\u25ab]|\u25b6|\u25c0|[\u25fb-\u25fe]|\u00a9|\u00ae|\u2122|\u2139|\ud83c\udc04|[\u2600-\u26FF]|\u2b05|\u2b06|\u2b07|\u2b1b|\u2b1c|\u2b50|\u2b55|\u231a|\u231b|\u2328|\u23cf|[\u23e9-\u23f3]|[\u23f8-\u23fa]|\ud83c\udccf|\u2934|\u2935|[\u2190-\u21ff])'];
|
|
100
|
+
if (fistChar.match(ranges.join('|'))) {
|
|
101
|
+
return true;
|
|
102
|
+
} else {
|
|
103
|
+
return false;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
88
107
|
/** */
|
|
89
108
|
export function getSizeImg(message: any, maxWidthImage?: number): any {
|
|
90
109
|
try {
|
package/src/global.scss
CHANGED
|
@@ -58,7 +58,6 @@ body {
|
|
|
58
58
|
// -webkit-font-smoothing: subpixel-antialiased !important;
|
|
59
59
|
// text-shadow: 0px 0px 0px !important;
|
|
60
60
|
// -webkit-text-stroke-width: 0.01px !important;
|
|
61
|
-
|
|
62
61
|
}
|
|
63
62
|
|
|
64
63
|
// Ionic 'Split Pane' styles need to be tweaked to
|
|
@@ -543,6 +542,14 @@ select:-webkit-autofill:focus {
|
|
|
543
542
|
color: #f44336;
|
|
544
543
|
}
|
|
545
544
|
|
|
545
|
+
#canned > ion-list > ion-item > div > div.no-canned-available-text {
|
|
546
|
+
color: #1877f2 !important;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
#canned > ion-list > ion-item > div > div.no-canned-available-text:hover {
|
|
550
|
+
text-decoration: underline;
|
|
551
|
+
}
|
|
552
|
+
|
|
546
553
|
.highlight-search-string {
|
|
547
554
|
color: #1877f2 !important;
|
|
548
555
|
}
|
|
@@ -650,9 +657,9 @@ select:-webkit-autofill:focus {
|
|
|
650
657
|
}
|
|
651
658
|
|
|
652
659
|
.small-sidebar-tiledesk-nav-user {
|
|
653
|
-
height:
|
|
654
|
-
min-height:
|
|
655
|
-
max-height:
|
|
660
|
+
height: 35px;
|
|
661
|
+
min-height: 35px;
|
|
662
|
+
max-height: 35px;
|
|
656
663
|
}
|
|
657
664
|
|
|
658
665
|
.user {
|
|
@@ -674,41 +681,41 @@ select:-webkit-autofill:focus {
|
|
|
674
681
|
display: none;
|
|
675
682
|
}
|
|
676
683
|
|
|
677
|
-
|
|
678
|
-
display: none;
|
|
679
|
-
}
|
|
684
|
+
|
|
680
685
|
|
|
681
686
|
.tiledesk-nav-avatar {
|
|
682
687
|
background-color: #2d323e !important;
|
|
683
688
|
color: #fff !important;
|
|
684
689
|
}
|
|
685
690
|
|
|
686
|
-
.avatar-container {
|
|
691
|
+
.sidebar-avatar-container {
|
|
687
692
|
text-align: center;
|
|
688
693
|
cursor: pointer;
|
|
689
694
|
position: absolute;
|
|
690
695
|
// top: 80px;
|
|
691
696
|
border-radius: 50%;
|
|
692
|
-
padding: 4px;
|
|
697
|
+
// padding: 4px;
|
|
693
698
|
-webkit-transform: translateX(-50%);
|
|
694
699
|
transform: translateX(-50%);
|
|
695
700
|
left: 50%;
|
|
701
|
+
width: 35px;
|
|
702
|
+
height: 35px;
|
|
696
703
|
}
|
|
697
704
|
|
|
698
|
-
.avatar-container .sidebar-avatar {
|
|
699
|
-
width:
|
|
700
|
-
height:
|
|
705
|
+
.sidebar-avatar-container .sidebar-avatar {
|
|
706
|
+
width: 35px;
|
|
707
|
+
height: 35px;
|
|
701
708
|
margin: 0;
|
|
702
709
|
border-radius: 50%;
|
|
703
710
|
-o-object-fit: cover;
|
|
704
711
|
object-fit: cover;
|
|
705
|
-
min-width:
|
|
706
|
-
max-width:
|
|
712
|
+
min-width: 35px;
|
|
713
|
+
max-width: 35px;
|
|
707
714
|
}
|
|
708
715
|
|
|
709
716
|
.small-sidebar-status-icon {
|
|
710
|
-
left:
|
|
711
|
-
bottom:
|
|
717
|
+
left: 26px !important;
|
|
718
|
+
bottom: -1px !important;
|
|
712
719
|
width: 12px !important;
|
|
713
720
|
height: 12px !important;
|
|
714
721
|
}
|
|
@@ -740,11 +747,11 @@ select:-webkit-autofill:focus {
|
|
|
740
747
|
}
|
|
741
748
|
|
|
742
749
|
.sidebar--isBusy-icon-wpr {
|
|
743
|
-
width:
|
|
744
|
-
height:
|
|
750
|
+
width: 12px;
|
|
751
|
+
height: 12px;
|
|
745
752
|
position: absolute;
|
|
746
|
-
top:
|
|
747
|
-
right:
|
|
753
|
+
top: -5px;
|
|
754
|
+
right: 25px;
|
|
748
755
|
}
|
|
749
756
|
|
|
750
757
|
@media (max-width: 991px) {
|
|
@@ -754,7 +761,7 @@ select:-webkit-autofill:focus {
|
|
|
754
761
|
}
|
|
755
762
|
|
|
756
763
|
.sidebar .nav {
|
|
757
|
-
margin-top:
|
|
764
|
+
margin-top: 0px;
|
|
758
765
|
}
|
|
759
766
|
|
|
760
767
|
.nav {
|
|
@@ -777,8 +784,9 @@ select:-webkit-autofill:focus {
|
|
|
777
784
|
margin-bottom: 5px;
|
|
778
785
|
}
|
|
779
786
|
|
|
780
|
-
.nav > li:hover {
|
|
781
|
-
background-color: #eee;
|
|
787
|
+
.nav > li:hover > a > i {
|
|
788
|
+
// background-color: #eee;
|
|
789
|
+
color: #a9afbb
|
|
782
790
|
}
|
|
783
791
|
|
|
784
792
|
.sidebar .nav li > a {
|
|
@@ -794,7 +802,7 @@ select:-webkit-autofill:focus {
|
|
|
794
802
|
|
|
795
803
|
.item-active {
|
|
796
804
|
height: 40px;
|
|
797
|
-
background-color: #3ea9f5;
|
|
805
|
+
// background-color: #3ea9f5;
|
|
798
806
|
color: #fff !important;
|
|
799
807
|
pointer-events: none;
|
|
800
808
|
}
|
|
@@ -810,7 +818,7 @@ select:-webkit-autofill:focus {
|
|
|
810
818
|
}
|
|
811
819
|
|
|
812
820
|
.logo {
|
|
813
|
-
background-color: #
|
|
821
|
+
background-color: #2d323e !important;
|
|
814
822
|
padding-bottom: 5px;
|
|
815
823
|
min-height: 60px;
|
|
816
824
|
width: 60px; // for SMALL SIDEBAR
|
|
@@ -844,55 +852,39 @@ select:-webkit-autofill:focus {
|
|
|
844
852
|
display: none;
|
|
845
853
|
}
|
|
846
854
|
|
|
847
|
-
.small-sidebar-status-icon {
|
|
848
|
-
left: 33px !important;
|
|
849
|
-
bottom: 4px !important;
|
|
850
|
-
width: 12px !important;
|
|
851
|
-
height: 12px !important;
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
.small-sidebar-status-text {
|
|
855
|
-
display: none;
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
.small-sidebar-userfullname {
|
|
859
|
-
display: none;
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
.small-sidebar-camera-icon {
|
|
863
|
-
// top: 86px !important;
|
|
864
|
-
top: 19px !important;
|
|
865
|
-
}
|
|
866
855
|
|
|
867
856
|
/* OVERWRITE THE DEFAULT STYLE */
|
|
868
857
|
.nav-mobile-menu {
|
|
869
858
|
margin-top: 45px !important;
|
|
870
859
|
}
|
|
871
|
-
/* // NK end NEW: AVATAR ON THE SIDEBAR */
|
|
872
860
|
|
|
873
|
-
|
|
874
|
-
/*
|
|
875
|
-
::-webkit-scrollbar {
|
|
861
|
+
|
|
862
|
+
/* CUSTOM SCROLL BAR FOR LEFT SIDEBAR */
|
|
863
|
+
.sidebar-wrapper::-webkit-scrollbar {
|
|
876
864
|
width: 3px;
|
|
877
865
|
}
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
866
|
+
.sidebar-wrapper::-webkit-scrollbar-track {
|
|
867
|
+
background-color: #1c2b45;
|
|
868
|
+
}
|
|
869
|
+
.sidebar-wrapper::-webkit-scrollbar-thumb {
|
|
870
|
+
background-color: #3c485b;
|
|
871
|
+
border-radius: 3px;
|
|
882
872
|
}
|
|
883
873
|
|
|
884
|
-
/*
|
|
885
|
-
::-webkit-scrollbar
|
|
886
|
-
|
|
887
|
-
/* border-radius: 6px; */
|
|
874
|
+
/* CUSTOM SCROLL BAR FOR USER DETAILS DRAWER */
|
|
875
|
+
#user-details::-webkit-scrollbar {
|
|
876
|
+
width: 3px;
|
|
888
877
|
}
|
|
889
878
|
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
background: #555;
|
|
893
|
-
/* width: 10px !important; */
|
|
879
|
+
#user-details::-webkit-scrollbar-track {
|
|
880
|
+
background-color: #1c2b45;
|
|
894
881
|
}
|
|
895
|
-
|
|
882
|
+
#user-details::-webkit-scrollbar-thumb {
|
|
883
|
+
background-color: #3c485b;
|
|
884
|
+
border-radius: 3px;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
/* end CUSTOM SCROLL BAR */
|
|
896
888
|
|
|
897
889
|
/* SIDEBAR NAV ITEMS */
|
|
898
890
|
|
|
@@ -912,12 +904,7 @@ select:-webkit-autofill:focus {
|
|
|
912
904
|
margin-top: 0px;
|
|
913
905
|
}
|
|
914
906
|
|
|
915
|
-
|
|
916
|
-
background-color: #1e2129 !important;
|
|
917
|
-
padding-bottom: 5px;
|
|
918
|
-
min-height: 60px;
|
|
919
|
-
width: 60px; // for SMALL SIDEBAR
|
|
920
|
-
}
|
|
907
|
+
|
|
921
908
|
|
|
922
909
|
/* *** SMALL SIDEBAR STYLE *** */
|
|
923
910
|
.small-sidebar-tiledesk-nav-user {
|
|
@@ -926,32 +913,16 @@ select:-webkit-autofill:focus {
|
|
|
926
913
|
max-height: 40px;
|
|
927
914
|
}
|
|
928
915
|
.small-sidebar-avatar {
|
|
929
|
-
top:
|
|
916
|
+
top: 13px;
|
|
930
917
|
}
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
display: none;
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
.small-sidebar-status-icon {
|
|
937
|
-
left: 33px !important;
|
|
938
|
-
bottom: 4px !important;
|
|
939
|
-
width: 12px !important;
|
|
940
|
-
height: 12px !important;
|
|
918
|
+
.small-sidebar-avatar-with-avatar {
|
|
919
|
+
top: 13px;
|
|
941
920
|
}
|
|
942
921
|
|
|
943
922
|
.small-sidebar-status-text {
|
|
944
923
|
display: none;
|
|
945
924
|
}
|
|
946
925
|
|
|
947
|
-
.small-sidebar-userfullname {
|
|
948
|
-
display: none;
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
.small-sidebar-camera-icon {
|
|
952
|
-
// top: 86px !important;
|
|
953
|
-
top: 19px !important;
|
|
954
|
-
}
|
|
955
926
|
|
|
956
927
|
/* OVERWRITE THE DEFAULT STYLE */
|
|
957
928
|
.nav-mobile-menu {
|
|
@@ -959,30 +930,6 @@ select:-webkit-autofill:focus {
|
|
|
959
930
|
}
|
|
960
931
|
/* // NK end NEW: AVATAR ON THE SIDEBAR */
|
|
961
932
|
|
|
962
|
-
/* NK start CUSTOM SCROLL BAR */
|
|
963
|
-
/* width */
|
|
964
|
-
::-webkit-scrollbar {
|
|
965
|
-
width: 8px;
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
/* Track */
|
|
969
|
-
::-webkit-scrollbar-track {
|
|
970
|
-
background: #f1f1f1;
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
/* Handle */
|
|
974
|
-
::-webkit-scrollbar-thumb {
|
|
975
|
-
background: #888;
|
|
976
|
-
/* border-radius: 6px; */
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
/* Handle on hover */
|
|
980
|
-
::-webkit-scrollbar-thumb:hover {
|
|
981
|
-
background: #555;
|
|
982
|
-
/* width: 10px !important; */
|
|
983
|
-
}
|
|
984
|
-
/* NK end CUSTOM SCROLL BAR */
|
|
985
|
-
|
|
986
933
|
/* SIDEBAR NAV ITEMS */
|
|
987
934
|
|
|
988
935
|
.item-active a {
|
|
@@ -1032,6 +979,13 @@ ul.dropdown-menu > li > a {
|
|
|
1032
979
|
// line-height: 30px;
|
|
1033
980
|
width: 60px;
|
|
1034
981
|
text-align: center;
|
|
1035
|
-
color: #a9afbb;
|
|
982
|
+
// color: #a9afbb;
|
|
983
|
+
color: #647491;
|
|
1036
984
|
padding-top: 10px;
|
|
1037
985
|
}
|
|
986
|
+
|
|
987
|
+
// ng-select custom class in Create ticket modal
|
|
988
|
+
.ng-select.create-ticket-custom-select {
|
|
989
|
+
margin-top: 5px !important;
|
|
990
|
+
}
|
|
991
|
+
|
package/publish_pre.sh
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
npm version patch
|
|
2
|
-
version=`node -e 'console.log(require("./package.json").version)'`
|
|
3
|
-
echo "version $version"
|
|
4
|
-
|
|
5
|
-
URL_VER=${version//[.]//}
|
|
6
|
-
echo 'URL_VER: ---->'$URL_VER
|
|
7
|
-
|
|
8
|
-
# if [ "$version" != "" ]; then
|
|
9
|
-
# git tag -a "$version" -m "`git log -1 --format=%s`"
|
|
10
|
-
# echo "Created a new tag, $version"
|
|
11
|
-
# git push --tags
|
|
12
|
-
# npm publish
|
|
13
|
-
# fi
|
|
14
|
-
|
|
15
|
-
# sed -i -e "s/$start$ver.$build/$start$NEW_VER.$NEW_BUILD/g" src/utils/constants.ts
|
|
16
|
-
sed -i -e "s/$URL_VER/g" src/utils/constants.ts
|
|
17
|
-
ionic cordova platform add browser --save
|
|
18
|
-
#ionic cordova build --env=prod browser -- --base-href /www/ --prod
|
|
19
|
-
ionic cordova build --env=prod browser --prod
|
|
20
|
-
cp -p src/firebase-messaging-sw.js platforms/browser/www/
|
|
21
|
-
cp -p src/manifest.json platforms/browser/www/
|
|
22
|
-
cp -p src/chat-config.json platforms/browser/www/
|
|
23
|
-
|
|
24
|
-
cd platforms/browser/www
|
|
25
|
-
#aws s3 sync . s3://tiledesk-dashboard/chat/
|
|
26
|
-
aws s3 sync . s3://tiledesk-console/v2/chat-ionic5/
|
|
27
|
-
aws s3 sync . s3://tiledesk-console/v2/chat-ionic5/$version/
|
|
28
|
-
cd ../../../
|
|
29
|
-
# aws cloudfront create-invalidation --distribution-id E2DTAKWHWQ7C3J --paths "/*"
|
|
30
|
-
|
|
31
|
-
# echo new version deployed on s3://tiledesk-dashboard/chat/$NEW_BUILD/
|
|
32
|
-
echo new version deployed on s3://tiledesk-console/v2/chat-ionic5/$version/
|
|
33
|
-
echo available on https://console.tiledesk.com/v2/chat-ionic5/$version/index.html
|
package/publish_prod.sh
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
npm version patch
|
|
2
|
-
version=`node -e 'console.log(require("./package.json").version)'`
|
|
3
|
-
echo "version $version"
|
|
4
|
-
|
|
5
|
-
URL_VER=${version//[.]//}
|
|
6
|
-
echo 'URL_VER: ---->'$URL_VER
|
|
7
|
-
|
|
8
|
-
# if [ "$version" != "" ]; then
|
|
9
|
-
# git tag -a "$version" -m "`git log -1 --format=%s`"
|
|
10
|
-
# echo "Created a new tag, $version"
|
|
11
|
-
# git push --tags
|
|
12
|
-
# npm publish
|
|
13
|
-
# fi
|
|
14
|
-
|
|
15
|
-
# sed -i -e "s/$start$ver.$build/$start$NEW_VER.$NEW_BUILD/g" src/utils/constants.ts
|
|
16
|
-
sed -i -e "s/$URL_VER/g" src/utils/constants.ts
|
|
17
|
-
ionic cordova platform add browser --save
|
|
18
|
-
#ionic cordova build --env=prod browser -- --base-href /www/ --prod
|
|
19
|
-
ionic cordova build --env=prod browser --prod
|
|
20
|
-
cp -p src/firebase-messaging-sw.js platforms/browser/www/
|
|
21
|
-
cp -p src/manifest.json platforms/browser/www/
|
|
22
|
-
cp -p src/chat-config.json platforms/browser/www/
|
|
23
|
-
|
|
24
|
-
cd platforms/browser/www
|
|
25
|
-
#aws s3 sync . s3://tiledesk-dashboard/chat/
|
|
26
|
-
aws s3 sync . s3://tiledesk-console/v2/chat-ionic5/
|
|
27
|
-
aws s3 sync . s3://tiledesk-console/v2/chat-ionic5/$version/
|
|
28
|
-
cd ../../../
|
|
29
|
-
# aws cloudfront create-invalidation --distribution-id E2DTAKWHWQ7C3J --paths "/*"
|
|
30
|
-
|
|
31
|
-
# echo new version deployed on s3://tiledesk-dashboard/chat/$NEW_BUILD/
|
|
32
|
-
echo new version deployed on s3://tiledesk-console/v2/chat-ionic5/$version/
|
|
33
|
-
echo available on https://console.tiledesk.com/v2/chat-ionic5/$version/index.html
|