@chat21/chat21-web-widget 5.0.43-rc.1 → 5.0.43

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chat21/chat21-web-widget",
3
3
  "author": "Tiledesk SRL",
4
- "version": "5.0.43-rc.1",
4
+ "version": "5.0.43",
5
5
  "license": "MIT License",
6
6
  "homepage": "https://www.tiledesk.com",
7
7
  "repository": {
@@ -82,7 +82,7 @@
82
82
  **************** STEP 2 *******************
83
83
  [class.active]="g.isOpenPrechatForm === true"
84
84
  -->
85
- <div *ngIf="g.isOpenPrechatForm" class="modal-page prechat-form active">
85
+ <div *ngIf="g.isOpenPrechatForm && g.senderId" class="modal-page prechat-form active">
86
86
  <chat-prechat-form
87
87
  [stylesMap]="styleMapConversation"
88
88
  (onClosePage)="onCloseModalPrechatForm()"
@@ -34,6 +34,7 @@ input[type="checkbox"] {
34
34
  -webkit-border-radius:3px;
35
35
  -webkit-appearance: none;
36
36
  -webkit-transition: box-shadow 200ms;
37
+ transition: box-shadow 200ms;
37
38
 
38
39
  }
39
40
 
@@ -39,10 +39,6 @@ export class FormTextComponent implements OnInit {
39
39
  }
40
40
  if(this.stylesMap && this.stylesMap.get('themeColor')) this.elementRef.nativeElement.style.setProperty('--themeColor', this.stylesMap.get('themeColor'));
41
41
  if(this.stylesMap && this.stylesMap.get('foregroundColor')) this.elementRef.nativeElement.style.setProperty('--foregroundColor', this.stylesMap.get('foregroundColor'));
42
- // if(this.hasSubmitted){
43
- // this.input.nativeElement.classList.add('is-focused')
44
- // this.setFormStyle()
45
- // }
46
42
  }
47
43
 
48
44
  onFocusOut(){