@chat21/chat21-web-widget 5.0.57-rc.5 → 5.0.57
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
package/package.json
CHANGED
package/src/app/component/conversation-detail/conversation-footer/conversation-footer.component.scss
CHANGED
|
@@ -305,7 +305,7 @@ textarea:active{
|
|
|
305
305
|
vertical-align: middle;
|
|
306
306
|
object-fit: contain;
|
|
307
307
|
filter: brightness(0) saturate(100%) invert(39%) sepia(12%) saturate(212%) hue-rotate(173deg) brightness(92%) contrast(88%);
|
|
308
|
-
padding-right:
|
|
308
|
+
padding-right: 5px;
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
311
|
b{
|
|
@@ -1197,6 +1197,13 @@
|
|
|
1197
1197
|
window.Tiledesk('restart')
|
|
1198
1198
|
}
|
|
1199
1199
|
|
|
1200
|
+
function onClickFileUploadAccept(){
|
|
1201
|
+
let text = document.getElementById('fileUploadAccept').value
|
|
1202
|
+
window.tiledeskSettings['fileUploadAccept'] = text
|
|
1203
|
+
console.log('onClickFileUploadAccept:', window.tiledeskSettings)
|
|
1204
|
+
window.Tiledesk('restart')
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1200
1207
|
function onClickShowAttachmentButton(){
|
|
1201
1208
|
let status = document.querySelector('input[name="showAttachmentButton"]:checked').value
|
|
1202
1209
|
window.tiledeskSettings['showAttachmentButton'] = stringToBoolean(status)
|
|
@@ -2193,6 +2200,15 @@
|
|
|
2193
2200
|
<button class="btn btn-light" onclick="onClickParticipants()">Test this setting <i class="fa fa-magic" aria-hidden="true"></i></button>
|
|
2194
2201
|
</div>
|
|
2195
2202
|
</div>
|
|
2203
|
+
<div class="row">
|
|
2204
|
+
<div class="col-md-5 formElement"><span><em><strong>fileUploadAccept</strong></em> (more<a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept#unique_file_type_specifiers"> here</a>)</span></div>
|
|
2205
|
+
<div class="col-md-5">
|
|
2206
|
+
<input class="form-control" type="text" id="fileUploadAccept" name="fileUploadAccept" placeholder="Set a comma separated string...">
|
|
2207
|
+
</div>
|
|
2208
|
+
<div class="col-md-2">
|
|
2209
|
+
<button class="btn btn-light" onclick="onClickFileUploadAccept()">Test this setting <i class="fa fa-magic" aria-hidden="true"></i></button>
|
|
2210
|
+
</div>
|
|
2211
|
+
</div>
|
|
2196
2212
|
<div class="row">
|
|
2197
2213
|
<div class="col-md-5 formElement"><span><em><strong>showAttachmentButton</strong></em></span></div>
|
|
2198
2214
|
<div class="col-md-5">
|