@chat21/chat21-ionic 3.0.108 → 3.0.109-rc.2
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 +6 -0
- package/package.json +1 -1
- package/src/app/modals/send-email/send-email.page.html +4 -3
- package/src/app/modals/send-email/send-email.page.scss +8 -1
- package/src/app/pages/authentication/login/login.page.ts +1 -1
- package/src/app/services/brand/brand.service.ts +1 -0
- package/src/app/utils/BrandResources.ts +2 -2
- package/src/app/utils/utils-resources.ts +13 -11
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -29,12 +29,13 @@
|
|
|
29
29
|
formControlName="text"
|
|
30
30
|
autosize="false"
|
|
31
31
|
auto-grow="true"
|
|
32
|
-
autofocus="true"
|
|
32
|
+
autofocus="true"
|
|
33
|
+
rows="2"
|
|
33
34
|
placeholder="{{translationMap?.get('EMAIL.MESSAGE_PLACEHOLDER')}}">
|
|
34
35
|
</ion-textarea>
|
|
35
|
-
<div class="info-wrapper">
|
|
36
|
+
<div class="info-wrapper" *ngIf="LOGOS_ITEMS['BASE_LOGO_GRAY'].icon">
|
|
36
37
|
<ion-label>Powered by</ion-label>
|
|
37
|
-
<img [src]="LOGOS_ITEMS['
|
|
38
|
+
<img [src]="LOGOS_ITEMS['BASE_LOGO_GRAY'].icon">
|
|
38
39
|
</div>
|
|
39
40
|
</div>
|
|
40
41
|
|
|
@@ -33,6 +33,10 @@ ion-content{
|
|
|
33
33
|
ion-textarea{
|
|
34
34
|
min-height: calc(100% - 50px);
|
|
35
35
|
max-height: calc(100% - 50px);
|
|
36
|
+
|
|
37
|
+
&::ng-deep textarea {
|
|
38
|
+
height: unset !important;
|
|
39
|
+
}
|
|
36
40
|
}
|
|
37
41
|
}
|
|
38
42
|
|
|
@@ -138,6 +142,10 @@ ion-input{
|
|
|
138
142
|
min-height: 184px;
|
|
139
143
|
max-height: 184px;
|
|
140
144
|
color: rgb(98, 112, 139);
|
|
145
|
+
|
|
146
|
+
&::ng-deep textarea {
|
|
147
|
+
height: unset !important;
|
|
148
|
+
}
|
|
141
149
|
}
|
|
142
150
|
}
|
|
143
151
|
|
|
@@ -162,7 +170,6 @@ ion-label.message-placeholder{
|
|
|
162
170
|
img{
|
|
163
171
|
max-width: 35%;
|
|
164
172
|
max-height: 50px;
|
|
165
|
-
filter: brightness(0) saturate(100%) invert(64%) sepia(1%) saturate(46%) hue-rotate(314deg) brightness(103%) contrast(99%);
|
|
166
173
|
}
|
|
167
174
|
}
|
|
168
175
|
|
|
@@ -63,7 +63,7 @@ export class LoginPage implements OnInit {
|
|
|
63
63
|
/** */
|
|
64
64
|
initialize() {
|
|
65
65
|
this.companyLogoBlackUrl = LOGOS_ITEMS['BASE_LOGO'].icon;
|
|
66
|
-
this.companyName = BRAND_BASE_INFO['
|
|
66
|
+
this.companyName = BRAND_BASE_INFO['BRAND_NAME']; // this.chatManager.getTenant();
|
|
67
67
|
this.companySiteUrl = BRAND_BASE_INFO['COMPANY_SITE_URL']
|
|
68
68
|
this.translations();
|
|
69
69
|
this.events.subscribe('sign-in', this.signIn);
|
|
@@ -74,6 +74,7 @@ export class BrandService {
|
|
|
74
74
|
BASE_LOGO_WHITE: "assets/logos/tiledesk-logo_new_white.svg",
|
|
75
75
|
BASE_LOGO_WHITE_NO_TEXT:"",
|
|
76
76
|
COMPANY_NAME: "Tiledesk",
|
|
77
|
+
BRAND_NAME: "Tiledesk",
|
|
77
78
|
COMPANY_SITE_NAME:"tiledesk.com",
|
|
78
79
|
COMPANY_SITE_URL:"https://www.tiledesk.com",
|
|
79
80
|
CONTACT_US_EMAIL: "support@tiledesk.com",
|
|
@@ -21,7 +21,7 @@ export class BrandResources {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
/** META TITLE and FAVICON */
|
|
24
|
-
document.title = this.brand['
|
|
24
|
+
document.title = this.brand['BRAND_NAME'] + ' ' + this.brand['META_TITLE']
|
|
25
25
|
var icon = document.querySelector("link[rel~='icon']") as HTMLElement;
|
|
26
26
|
icon.setAttribute('href', this.brand['FAVICON_URL'])
|
|
27
27
|
|
|
@@ -29,7 +29,7 @@ export class BrandResources {
|
|
|
29
29
|
document.body.style.setProperty('--base-brand-color', this.brand['BRAND_COLOR']);
|
|
30
30
|
|
|
31
31
|
/** LOGOS_ITEMS */
|
|
32
|
-
Object.keys(LOGOS_ITEMS).forEach(key => { LOGOS_ITEMS[key].icon = this.brand[key];
|
|
32
|
+
Object.keys(LOGOS_ITEMS).forEach(key => { LOGOS_ITEMS[key].icon = this.brand[key];})
|
|
33
33
|
|
|
34
34
|
/** BRAND_BASE_INFO */
|
|
35
35
|
Object.keys(BRAND_BASE_INFO).forEach(key => BRAND_BASE_INFO[key] = this.brand[key])
|
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
export const
|
|
2
|
-
COMPANY_LOGO: {label: 'Tiledesk', icon: 'assets/logos/tiledesk_logo.svg'},
|
|
3
|
-
COMPANY_LOGO_NO_TEXT: {label: 'Tiledesk', icon: 'assets/logos/tiledesk_logo_no_text.svg'},
|
|
4
|
-
BASE_LOGO: {label: 'Tiledesk', icon: 'assets/logos/tiledesk_logo.svg'},
|
|
5
|
-
BASE_LOGO_NO_TEXT: {label: 'Tiledesk', icon: 'assets/logos/tiledesk_logo_no_text.svg'},
|
|
6
|
-
BASE_LOGO_WHITE: { label: 'Tiledesk', icon: '"assets/logos/tiledesk-logo_new_white.svg'},
|
|
7
|
-
BASE_LOGO_WHITE_NO_TEXT: { label: 'Tiledesk', icon: '"assets/logos/tiledesk-logo_new_white.svg'}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export const BRAND_BASE_INFO: { [key: string] : any} ={
|
|
1
|
+
export const BRAND_BASE_INFO: { [key: string] : string} ={
|
|
11
2
|
COMPANY_NAME: "Tiledesk",
|
|
3
|
+
BRAND_NAME: "Tiledesk",
|
|
12
4
|
COMPANY_SITE_NAME:"tiledesk.com",
|
|
13
5
|
COMPANY_SITE_URL:"https://www.tiledesk.com",
|
|
14
6
|
CONTACT_US_EMAIL: "support@tiledesk.com",
|
|
15
7
|
FAVICON: "https://tiledesk.com/wp-content/uploads/2022/07/tiledesk_v13-300x300.png",
|
|
16
|
-
META_TITLE:"
|
|
8
|
+
META_TITLE:"Tiledesk - Open Source Live Chat"
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const LOGOS_ITEMS: { [key: string] : { label: string, icon: string }} ={
|
|
12
|
+
COMPANY_LOGO: {label: BRAND_BASE_INFO.COMPANY_NAME, icon: 'assets/logos/tiledesk_logo.svg'},
|
|
13
|
+
COMPANY_LOGO_NO_TEXT: {label: BRAND_BASE_INFO.COMPANY_NAME, icon: 'assets/logos/tiledesk_logo_no_text.svg'},
|
|
14
|
+
BASE_LOGO: {label: BRAND_BASE_INFO.BRAND_NAME, icon: 'assets/logos/tiledesk_logo.svg'},
|
|
15
|
+
BASE_LOGO_NO_TEXT: {label: BRAND_BASE_INFO.BRAND_NAME, icon: 'assets/logos/tiledesk_logo_no_text.svg'},
|
|
16
|
+
BASE_LOGO_WHITE: { label: BRAND_BASE_INFO.BRAND_NAME, icon: '"assets/logos/tiledesk-logo_new_white.svg'},
|
|
17
|
+
BASE_LOGO_WHITE_NO_TEXT: { label: BRAND_BASE_INFO.BRAND_NAME, icon: '"assets/logos/tiledesk-logo_new_white.svg'},
|
|
18
|
+
BASE_LOGO_GRAY: { label: BRAND_BASE_INFO.BRAND_NAME, icon: 'https://support-pre.tiledesk.com/dashboard/assets/img/logos/tiledesk-logo_new_gray.svg'}
|
|
17
19
|
}
|
|
18
20
|
|
|
19
21
|
export const MEDIA: { [key: string]: { src: string, text: string, description: string}}= {
|