@chat21/chat21-ionic 3.0.61-rc4 → 3.0.61-rc8
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 +28 -0
- package/config.xml +5 -5
- package/deploy_pre.sh +10 -10
- package/deploy_prod.sh +5 -1
- package/package.json +6 -6
- 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.component.html +4 -3
- package/src/app/app.component.scss +2 -1
- package/src/app/app.component.ts +23 -12
- package/src/app/chatlib/list-conversations-component/ion-list-conversations/ion-list-conversations.component.ts +78 -15
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.html +9 -3
- package/src/app/components/conversation-detail/header-conversation-detail/header-conversation-detail.component.scss +2 -2
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.html +3 -3
- package/src/app/components/conversation-detail/message-text-area/message-text-area.component.ts +12 -2
- package/src/app/components/project-item/project-item.component.html +1 -1
- package/src/app/components/sidebar/sidebar.component.html +118 -66
- package/src/app/components/sidebar/sidebar.component.scss +49 -4
- package/src/app/components/sidebar/sidebar.component.ts +134 -41
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.html +13 -5
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.scss +35 -27
- package/src/app/components/sidebar-user-details/sidebar-user-details.component.ts +122 -57
- package/src/app/pages/conversation-detail/conversation-detail.module.ts +2 -1
- package/src/app/pages/conversation-detail/conversation-detail.page.html +5 -4
- package/src/app/pages/conversation-detail/conversation-detail.page.ts +1297 -783
- package/src/app/pages/conversations-list/conversations-list.module.ts +2 -1
- package/src/app/pages/conversations-list/conversations-list.page.html +4 -2
- package/src/app/pages/conversations-list/conversations-list.page.scss +9 -1
- package/src/app/pages/conversations-list/conversations-list.page.ts +44 -24
- package/src/app/pages/loader-preview/loader-preview.page.ts +235 -166
- package/src/app/pages/profile-info/profile-info.page.scss +1 -1
- package/src/app/services/tiledesk/tiledesk.service.ts +19 -0
- package/src/app/utils/scrollbar-theme.directive.ts +58 -24
- package/src/assets/i18n/de.json +9 -7
- package/src/assets/i18n/en.json +5 -3
- package/src/assets/i18n/es.json +4 -2
- package/src/assets/i18n/fr.json +7 -5
- package/src/assets/i18n/it.json +4 -2
- package/src/assets/i18n/pt.json +4 -2
- package/src/assets/i18n/ru.json +5 -3
- package/src/assets/i18n/sr.json +229 -0
- package/src/assets/i18n/tr.json +5 -4
- package/src/chat21-core/utils/constants.ts +4 -1
- package/src/global.scss +35 -105
- package/publish_pre.sh +0 -33
- package/publish_prod.sh +0 -33
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
|
|
@@ -650,9 +649,9 @@ select:-webkit-autofill:focus {
|
|
|
650
649
|
}
|
|
651
650
|
|
|
652
651
|
.small-sidebar-tiledesk-nav-user {
|
|
653
|
-
height:
|
|
654
|
-
min-height:
|
|
655
|
-
max-height:
|
|
652
|
+
height: 35px;
|
|
653
|
+
min-height: 35px;
|
|
654
|
+
max-height: 35px;
|
|
656
655
|
}
|
|
657
656
|
|
|
658
657
|
.user {
|
|
@@ -674,41 +673,41 @@ select:-webkit-autofill:focus {
|
|
|
674
673
|
display: none;
|
|
675
674
|
}
|
|
676
675
|
|
|
677
|
-
|
|
678
|
-
display: none;
|
|
679
|
-
}
|
|
676
|
+
|
|
680
677
|
|
|
681
678
|
.tiledesk-nav-avatar {
|
|
682
679
|
background-color: #2d323e !important;
|
|
683
680
|
color: #fff !important;
|
|
684
681
|
}
|
|
685
682
|
|
|
686
|
-
.avatar-container {
|
|
683
|
+
.sidebar-avatar-container {
|
|
687
684
|
text-align: center;
|
|
688
685
|
cursor: pointer;
|
|
689
686
|
position: absolute;
|
|
690
687
|
// top: 80px;
|
|
691
688
|
border-radius: 50%;
|
|
692
|
-
padding: 4px;
|
|
689
|
+
// padding: 4px;
|
|
693
690
|
-webkit-transform: translateX(-50%);
|
|
694
691
|
transform: translateX(-50%);
|
|
695
692
|
left: 50%;
|
|
693
|
+
width: 35px;
|
|
694
|
+
height: 35px;
|
|
696
695
|
}
|
|
697
696
|
|
|
698
|
-
.avatar-container .sidebar-avatar {
|
|
699
|
-
width:
|
|
700
|
-
height:
|
|
697
|
+
.sidebar-avatar-container .sidebar-avatar {
|
|
698
|
+
width: 35px;
|
|
699
|
+
height: 35px;
|
|
701
700
|
margin: 0;
|
|
702
701
|
border-radius: 50%;
|
|
703
702
|
-o-object-fit: cover;
|
|
704
703
|
object-fit: cover;
|
|
705
|
-
min-width:
|
|
706
|
-
max-width:
|
|
704
|
+
min-width: 35px;
|
|
705
|
+
max-width: 35px;
|
|
707
706
|
}
|
|
708
707
|
|
|
709
708
|
.small-sidebar-status-icon {
|
|
710
|
-
left:
|
|
711
|
-
bottom:
|
|
709
|
+
left: 26px !important;
|
|
710
|
+
bottom: -1px !important;
|
|
712
711
|
width: 12px !important;
|
|
713
712
|
height: 12px !important;
|
|
714
713
|
}
|
|
@@ -740,11 +739,11 @@ select:-webkit-autofill:focus {
|
|
|
740
739
|
}
|
|
741
740
|
|
|
742
741
|
.sidebar--isBusy-icon-wpr {
|
|
743
|
-
width:
|
|
744
|
-
height:
|
|
742
|
+
width: 12px;
|
|
743
|
+
height: 12px;
|
|
745
744
|
position: absolute;
|
|
746
|
-
top:
|
|
747
|
-
right:
|
|
745
|
+
top: -5px;
|
|
746
|
+
right: 25px;
|
|
748
747
|
}
|
|
749
748
|
|
|
750
749
|
@media (max-width: 991px) {
|
|
@@ -754,7 +753,7 @@ select:-webkit-autofill:focus {
|
|
|
754
753
|
}
|
|
755
754
|
|
|
756
755
|
.sidebar .nav {
|
|
757
|
-
margin-top:
|
|
756
|
+
margin-top: 0px;
|
|
758
757
|
}
|
|
759
758
|
|
|
760
759
|
.nav {
|
|
@@ -777,8 +776,9 @@ select:-webkit-autofill:focus {
|
|
|
777
776
|
margin-bottom: 5px;
|
|
778
777
|
}
|
|
779
778
|
|
|
780
|
-
.nav > li:hover {
|
|
781
|
-
background-color: #eee;
|
|
779
|
+
.nav > li:hover > a > i {
|
|
780
|
+
// background-color: #eee;
|
|
781
|
+
color: #a9afbb
|
|
782
782
|
}
|
|
783
783
|
|
|
784
784
|
.sidebar .nav li > a {
|
|
@@ -794,7 +794,7 @@ select:-webkit-autofill:focus {
|
|
|
794
794
|
|
|
795
795
|
.item-active {
|
|
796
796
|
height: 40px;
|
|
797
|
-
background-color: #3ea9f5;
|
|
797
|
+
// background-color: #3ea9f5;
|
|
798
798
|
color: #fff !important;
|
|
799
799
|
pointer-events: none;
|
|
800
800
|
}
|
|
@@ -810,7 +810,7 @@ select:-webkit-autofill:focus {
|
|
|
810
810
|
}
|
|
811
811
|
|
|
812
812
|
.logo {
|
|
813
|
-
background-color: #
|
|
813
|
+
background-color: #2d323e !important;
|
|
814
814
|
padding-bottom: 5px;
|
|
815
815
|
min-height: 60px;
|
|
816
816
|
width: 60px; // for SMALL SIDEBAR
|
|
@@ -844,25 +844,9 @@ select:-webkit-autofill:focus {
|
|
|
844
844
|
display: none;
|
|
845
845
|
}
|
|
846
846
|
|
|
847
|
-
.small-sidebar-status-icon {
|
|
848
|
-
left: 33px !important;
|
|
849
|
-
bottom: 4px !important;
|
|
850
|
-
width: 12px !important;
|
|
851
|
-
height: 12px !important;
|
|
852
|
-
}
|
|
853
847
|
|
|
854
|
-
.small-sidebar-status-text {
|
|
855
|
-
display: none;
|
|
856
|
-
}
|
|
857
848
|
|
|
858
|
-
.small-sidebar-userfullname {
|
|
859
|
-
display: none;
|
|
860
|
-
}
|
|
861
849
|
|
|
862
|
-
.small-sidebar-camera-icon {
|
|
863
|
-
// top: 86px !important;
|
|
864
|
-
top: 19px !important;
|
|
865
|
-
}
|
|
866
850
|
|
|
867
851
|
/* OVERWRITE THE DEFAULT STYLE */
|
|
868
852
|
.nav-mobile-menu {
|
|
@@ -871,26 +855,16 @@ select:-webkit-autofill:focus {
|
|
|
871
855
|
/* // NK end NEW: AVATAR ON THE SIDEBAR */
|
|
872
856
|
|
|
873
857
|
/* NK start CUSTOM SCROLL BAR */
|
|
874
|
-
|
|
858
|
+
|
|
875
859
|
::-webkit-scrollbar {
|
|
876
860
|
width: 3px;
|
|
877
861
|
}
|
|
878
|
-
|
|
879
|
-
/* Track */
|
|
880
862
|
::-webkit-scrollbar-track {
|
|
881
|
-
background: #
|
|
863
|
+
background-color: #1c2b45;
|
|
882
864
|
}
|
|
883
|
-
|
|
884
|
-
/* Handle */
|
|
885
865
|
::-webkit-scrollbar-thumb {
|
|
886
|
-
background: #
|
|
887
|
-
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
/* Handle on hover */
|
|
891
|
-
::-webkit-scrollbar-thumb:hover {
|
|
892
|
-
background: #555;
|
|
893
|
-
/* width: 10px !important; */
|
|
866
|
+
background-color: #3c485b;
|
|
867
|
+
border-radius: 3px;
|
|
894
868
|
}
|
|
895
869
|
/* NK end CUSTOM SCROLL BAR */
|
|
896
870
|
|
|
@@ -912,12 +886,7 @@ select:-webkit-autofill:focus {
|
|
|
912
886
|
margin-top: 0px;
|
|
913
887
|
}
|
|
914
888
|
|
|
915
|
-
|
|
916
|
-
background-color: #1e2129 !important;
|
|
917
|
-
padding-bottom: 5px;
|
|
918
|
-
min-height: 60px;
|
|
919
|
-
width: 60px; // for SMALL SIDEBAR
|
|
920
|
-
}
|
|
889
|
+
|
|
921
890
|
|
|
922
891
|
/* *** SMALL SIDEBAR STYLE *** */
|
|
923
892
|
.small-sidebar-tiledesk-nav-user {
|
|
@@ -926,32 +895,16 @@ select:-webkit-autofill:focus {
|
|
|
926
895
|
max-height: 40px;
|
|
927
896
|
}
|
|
928
897
|
.small-sidebar-avatar {
|
|
929
|
-
top:
|
|
930
|
-
}
|
|
931
|
-
|
|
932
|
-
.small-sidebar-email {
|
|
933
|
-
display: none;
|
|
898
|
+
top: 13px;
|
|
934
899
|
}
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
left: 33px !important;
|
|
938
|
-
bottom: 4px !important;
|
|
939
|
-
width: 12px !important;
|
|
940
|
-
height: 12px !important;
|
|
900
|
+
.small-sidebar-avatar-with-avatar {
|
|
901
|
+
top: 13px;
|
|
941
902
|
}
|
|
942
903
|
|
|
943
904
|
.small-sidebar-status-text {
|
|
944
905
|
display: none;
|
|
945
906
|
}
|
|
946
907
|
|
|
947
|
-
.small-sidebar-userfullname {
|
|
948
|
-
display: none;
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
.small-sidebar-camera-icon {
|
|
952
|
-
// top: 86px !important;
|
|
953
|
-
top: 19px !important;
|
|
954
|
-
}
|
|
955
908
|
|
|
956
909
|
/* OVERWRITE THE DEFAULT STYLE */
|
|
957
910
|
.nav-mobile-menu {
|
|
@@ -959,30 +912,6 @@ select:-webkit-autofill:focus {
|
|
|
959
912
|
}
|
|
960
913
|
/* // NK end NEW: AVATAR ON THE SIDEBAR */
|
|
961
914
|
|
|
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
915
|
/* SIDEBAR NAV ITEMS */
|
|
987
916
|
|
|
988
917
|
.item-active a {
|
|
@@ -1032,6 +961,7 @@ ul.dropdown-menu > li > a {
|
|
|
1032
961
|
// line-height: 30px;
|
|
1033
962
|
width: 60px;
|
|
1034
963
|
text-align: center;
|
|
1035
|
-
color: #a9afbb;
|
|
964
|
+
// color: #a9afbb;
|
|
965
|
+
color: #647491;
|
|
1036
966
|
padding-top: 10px;
|
|
1037
967
|
}
|
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
|