@chat21/chat21-web-widget 5.0.82-rc.3 → 5.0.82

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 CHANGED
@@ -6,6 +6,11 @@
6
6
  ### **Copyrigth**:
7
7
  *Tiledesk SRL*
8
8
 
9
+ # 5.0.82 in PROD
10
+
11
+ # 5.0.82-rc.4
12
+ - **bug-fixed**: action buttons inside gallery not works
13
+
9
14
  # 5.0.82-rc.3
10
15
  - **changed**: close icon into home and conversation-detail components
11
16
 
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.82-rc.3",
4
+ "version": "5.0.82",
5
5
  "license": "MIT",
6
6
  "homepage": "https://www.tiledesk.com",
7
7
  "repository": {
@@ -22,7 +22,7 @@
22
22
  <div class="buttons" *ngIf="card?.buttons && card?.buttons.length > 0">
23
23
  <div *ngFor="let button of card?.buttons"
24
24
  class="single-button action"
25
- [ngClass]="{'disabled': (isConversationArchived || button.type !== TYPE_BUTTON.URL), 'active': button?.active}"
25
+ [ngClass]="{'disabled': (isConversationArchived || (!isLastMessage && button.type !== TYPE_BUTTON.URL)), 'active': button?.active}"
26
26
  (click)="actionButtonClick($event, button, i)" >
27
27
  {{button.value}}
28
28
  </div>
@@ -496,10 +496,6 @@
496
496
  fjs.parentNode.insertBefore(js, fjs);
497
497
  }(document, 'script', 'tiledesk-jssdk'));
498
498
 
499
- window.addEventListener('load', (event)=> {
500
- document.dispatchEvent(new Event('mousemove'))
501
- })
502
-
503
499
  window.Tiledesk('onLoadParams', function(event_data) {
504
500
  console.log("onLoadParams Tiledesk FN", event_data);
505
501
  // window.tiledesk.open();