@crestapps/ai-chat-ui 2.0.0-preview.162 → 2.0.0-preview.163
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/dist/chat-interaction.js +2 -2
- package/dist/chat-interaction.js.map +1 -1
- package/dist/chat-interaction.min.js +1 -1
- package/dist/chat-interaction.min.js.map +1 -1
- package/dist/realtime-audio.js +3 -3
- package/dist/realtime-audio.js.map +1 -1
- package/dist/realtime-audio.min.js +1 -1
- package/dist/realtime-audio.min.js.map +1 -1
- package/package.json +1 -1
package/dist/realtime-audio.js
CHANGED
|
@@ -855,7 +855,7 @@
|
|
|
855
855
|
if (realtimePttButton) {
|
|
856
856
|
realtimePttButton.classList.toggle('btn-danger', active);
|
|
857
857
|
realtimePttButton.classList.toggle('btn-outline-primary', !active);
|
|
858
|
-
realtimePttButton.innerHTML = active ? '<i class="
|
|
858
|
+
realtimePttButton.innerHTML = active ? '<i class="fa-solid fa-microphone me-1"></i> Listening…' : '<i class="fa-solid fa-microphone me-1"></i> Hold to talk';
|
|
859
859
|
}
|
|
860
860
|
}
|
|
861
861
|
|
|
@@ -871,7 +871,7 @@
|
|
|
871
871
|
var btn = document.createElement('button');
|
|
872
872
|
btn.type = 'button';
|
|
873
873
|
btn.className = 'btn btn-outline-primary btn-sm';
|
|
874
|
-
btn.innerHTML = '<i class="
|
|
874
|
+
btn.innerHTML = '<i class="fa-solid fa-microphone me-1"></i> Hold to talk';
|
|
875
875
|
var hint = document.createElement('div');
|
|
876
876
|
hint.className = 'form-text mt-1 mb-0';
|
|
877
877
|
hint.innerHTML = coarse ? 'Push-to-talk is on — press and hold the button to speak.' : 'Push-to-talk is on — hold <kbd>Space</kbd> or this button to speak.';
|
|
@@ -933,7 +933,7 @@
|
|
|
933
933
|
gear.className = 'btn btn-outline-secondary';
|
|
934
934
|
gear.title = localize('settingsTitle', 'Voice settings');
|
|
935
935
|
gear.setAttribute('aria-label', localize('settingsTitle', 'Voice settings'));
|
|
936
|
-
gear.innerHTML = '<i class="
|
|
936
|
+
gear.innerHTML = '<i class="fa-solid fa-gear"></i>';
|
|
937
937
|
var langs = [['en', 'English'], ['es', 'Spanish'], ['fr', 'French'], ['de', 'German'], ['it', 'Italian'], ['pt', 'Portuguese'], ['nl', 'Dutch'], ['zh', 'Chinese'], ['ja', 'Japanese'], ['ko', 'Korean'], ['ar', 'Arabic'], ['hi', 'Hindi'], ['ru', 'Russian']];
|
|
938
938
|
var langOptions = '<option value=""' + (prefs.language === '' ? ' selected' : '') + '>' + localize('languageAuto', 'Automatic') + '</option>' + langs.map(function (l) {
|
|
939
939
|
return '<option value="' + l[0] + '"' + (prefs.language === l[0] ? ' selected' : '') + '>' + l[1] + '</option>';
|