@chat21/chat21-web-widget 5.0.82-rc.2 → 5.0.82-rc.4
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/component/conversation-detail/conversation-header/conversation-header.component.html +6 -1
- package/src/app/component/home/home.component.html +5 -1
- package/src/app/component/message/carousel/carousel.component.html +1 -1
- package/src/launch_template.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
### **Copyrigth**:
|
|
7
7
|
*Tiledesk SRL*
|
|
8
8
|
|
|
9
|
+
# 5.0.82-rc.4
|
|
10
|
+
- **bug-fixed**: action buttons inside gallery not works
|
|
11
|
+
|
|
12
|
+
# 5.0.82-rc.3
|
|
13
|
+
- **changed**: close icon into home and conversation-detail components
|
|
14
|
+
|
|
9
15
|
# 5.0.82-rc.2
|
|
10
16
|
- **added**: automatically start widget after 5s
|
|
11
17
|
|
package/package.json
CHANGED
package/src/app/component/conversation-detail/conversation-header/conversation-header.component.html
CHANGED
|
@@ -8,11 +8,16 @@
|
|
|
8
8
|
|
|
9
9
|
<!-- ICON CLOSE CHAT -->
|
|
10
10
|
<button [attr.disabled]="(isButtonsDisabled)?true:null" tabindex="-1" class="c21-header-button c21-right c21-close c21-button-clean" [ngStyle]="{'display': (hideHeaderCloseButton)?'none':'flex'}" (click)="closeWidget()">
|
|
11
|
-
<svg role="img" aria-labelledby="altIconTitle" [ngStyle]="{'fill': stylesMap?.get('foregroundColor') }" xmlns="http://www.w3.org/2000/svg"
|
|
11
|
+
<!-- <svg role="img" aria-labelledby="altIconTitle" [ngStyle]="{'fill': stylesMap?.get('foregroundColor') }" xmlns="http://www.w3.org/2000/svg"
|
|
12
12
|
width="24px" height="24px" viewBox="0 0 24 24">
|
|
13
13
|
<path fill="none" d="M0 0h24v24H0V0z" />
|
|
14
14
|
<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z" />
|
|
15
15
|
<title id="altIconTitle">{{ translationMap?.get('BUTTON_CLOSE_TO_ICON') }}</title>
|
|
16
|
+
</svg> -->
|
|
17
|
+
<svg role="img" aria-labelledby="altIconTitle" [ngStyle]="{'fill': stylesMap?.get('foregroundColor') }" xmlns="http://www.w3.org/2000/svg"
|
|
18
|
+
width="24px" height="24px" viewBox="0 0 24 24">
|
|
19
|
+
<path d="M19.35,9.21c.2-.2.2-.51,0-.71l-.71-.71c-.2-.2-.51-.2-.71,0l-5.94,5.94-5.94-5.94c-.2-.2-.51-.2-.71,0l-.71.71c-.2.2-.2.51,0,.71l7,7c.2.2.51.2.71,0l7-7Z"/>
|
|
20
|
+
<title id="altIconTitle">{{ translationMap?.get('BUTTON_CLOSE_TO_ICON') }}</title>
|
|
16
21
|
</svg>
|
|
17
22
|
</button>
|
|
18
23
|
|
|
@@ -10,10 +10,14 @@
|
|
|
10
10
|
<div class="c21-header-button" [ngStyle]="{'display': (g.hideHeaderCloseButton)?'none':'block'}">
|
|
11
11
|
<div class="c21-close-button">
|
|
12
12
|
<button tabindex="2001" aria-label=" chiudi chat" class="c21-close-button-body" (click)="f21_close()">
|
|
13
|
-
<svg role="img" aria-labelledby="altIconTitle" [ngStyle]="{'fill': g.themeForegroundColor }" xmlns="http://www.w3.org/2000/svg" width="20px" height="20px" viewBox="0 0 24 24">
|
|
13
|
+
<!-- <svg role="img" aria-labelledby="altIconTitle" [ngStyle]="{'fill': g.themeForegroundColor }" xmlns="http://www.w3.org/2000/svg" width="20px" height="20px" viewBox="0 0 24 24">
|
|
14
14
|
<path fill="none" d="M0 0h24v24H0V0z"/>
|
|
15
15
|
<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/>
|
|
16
16
|
<title id="altIconTitle">{{translationMapHeader?.get('BUTTON_CLOSE_TO_ICON')}}</title>
|
|
17
|
+
</svg> -->
|
|
18
|
+
<svg role="img" aria-labelledby="altIconTitle" [ngStyle]="{'fill': g.themeForegroundColor }" xmlns="http://www.w3.org/2000/svg" width="20px" height="20px" viewBox="0 0 24 24">
|
|
19
|
+
<path d="M19.35,9.21c.2-.2.2-.51,0-.71l-.71-.71c-.2-.2-.51-.2-.71,0l-5.94,5.94-5.94-5.94c-.2-.2-.51-.2-.71,0l-.71.71c-.2.2-.2.51,0,.71l7,7c.2.2.51.2.71,0l7-7Z"/>
|
|
20
|
+
<title id="altIconTitle">{{translationMapHeader?.get('BUTTON_CLOSE_TO_ICON')}}</title>
|
|
17
21
|
</svg>
|
|
18
22
|
</button>
|
|
19
23
|
</div>
|
|
@@ -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>
|