@innovastudio/contentbuilder 1.5.150 → 1.5.152
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
@@ -83847,6 +83847,7 @@ class Dictation {
|
|
83847
83847
|
if (localStorage.getItem('_dictation') !== null) {
|
83848
83848
|
if (localStorage.getItem('_dictation') === '1') {
|
83849
83849
|
this.modalCommand.classList.add('active');
|
83850
|
+
this.modalCommand.setAttribute('aria-hidden', 'false');
|
83850
83851
|
this.doOpen();
|
83851
83852
|
if (localStorage.getItem('_mic') !== null) {
|
83852
83853
|
if (localStorage.getItem('_mic') === '1') {
|
@@ -84095,7 +84096,11 @@ class Dictation {
|
|
84095
84096
|
});
|
84096
84097
|
const btnClose = this.modalCommand.querySelector('.is-modal-close');
|
84097
84098
|
btnClose.addEventListener('click', () => {
|
84099
|
+
if (document.activeElement && this.modalCommand.contains(document.activeElement)) {
|
84100
|
+
document.activeElement.blur();
|
84101
|
+
}
|
84098
84102
|
this.modalCommand.classList.remove('active');
|
84103
|
+
this.modalCommand.setAttribute('aria-hidden', 'true');
|
84099
84104
|
this.stopDictation();
|
84100
84105
|
localStorage.setItem('_dictation', '0');
|
84101
84106
|
});
|
@@ -87396,6 +87401,7 @@ ${answer}
|
|
87396
87401
|
temperature,
|
87397
87402
|
topP,
|
87398
87403
|
num,
|
87404
|
+
customData: this.builder.settings.customData,
|
87399
87405
|
metadata: this.builder.settings.metadata || {}
|
87400
87406
|
};
|
87401
87407
|
|
@@ -98606,10 +98612,9 @@ Please obtain a license at: https://innovastudio.com/contentbox`);
|
|
98606
98612
|
let inputCheckStatus = {
|
98607
98613
|
model: modelId,
|
98608
98614
|
endpoint: statusEndpoint,
|
98609
|
-
request_id: requestId
|
98610
|
-
|
98615
|
+
request_id: requestId,
|
98616
|
+
customData: this.customData
|
98611
98617
|
};
|
98612
|
-
|
98613
98618
|
let status;
|
98614
98619
|
do {
|
98615
98620
|
const response = await fetch(this.checkRequestStatusUrl_Fal, {
|