reneco-advanced-input-module 0.0.3 → 0.0.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/dist/cjs/ocr-file-uploader.voice-input-module.entry.cjs.js.map +1 -1
- package/dist/cjs/ocr-file-uploader_2.cjs.entry.js +4 -4
- package/dist/cjs/ocr-file-uploader_2.cjs.entry.js.map +1 -1
- package/dist/collection/components/voice-input-module/voice-input-module.js +3 -3
- package/dist/collection/components/voice-input-module/voice-input-module.js.map +1 -1
- package/dist/collection/services/llm.service.js +1 -1
- package/dist/collection/services/llm.service.js.map +1 -1
- package/dist/components/voice-input-module.js +4 -4
- package/dist/components/voice-input-module.js.map +1 -1
- package/dist/esm/ocr-file-uploader.voice-input-module.entry.js.map +1 -1
- package/dist/esm/ocr-file-uploader_2.entry.js +4 -4
- package/dist/esm/ocr-file-uploader_2.entry.js.map +1 -1
- package/dist/voice-input-module/ocr-file-uploader.voice-input-module.entry.esm.js.map +1 -1
- package/dist/voice-input-module/{p-37de1da2.entry.js → p-21d2e52b.entry.js} +3 -3
- package/dist/voice-input-module/p-21d2e52b.entry.js.map +1 -0
- package/dist/voice-input-module/voice-input-module.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/ocr-file-uploader.voice-input-module.entry.esm.js.map +1 -1
- package/www/build/{p-37de1da2.entry.js → p-21d2e52b.entry.js} +3 -3
- package/www/build/p-21d2e52b.entry.js.map +1 -0
- package/www/build/{p-6438474d.js → p-b680b1be.js} +1 -1
- package/www/build/voice-input-module.esm.js +1 -1
- package/www/index.html +6 -6
- package/dist/voice-input-module/p-37de1da2.entry.js.map +0 -1
- package/www/build/p-37de1da2.entry.js.map +0 -1
|
@@ -233,7 +233,7 @@ class OpenAILLMService {
|
|
|
233
233
|
`${field.min && field.min !== "" ? ', min=' + field.min : ''}` +
|
|
234
234
|
`${field.max && field.max !== "" ? ', max=' + field.max : ''}` +
|
|
235
235
|
`)` +
|
|
236
|
-
`${field.options ? ` - options: ${field.options.join(', ')}` : ''}`;
|
|
236
|
+
`${field.options && field.options.length > 0 ? ` - options: ${field.options.join(', ')}` : ''}`;
|
|
237
237
|
}).join('\n');
|
|
238
238
|
}
|
|
239
239
|
async fillFormFromTranscription(transcription, schema) {
|
|
@@ -4147,8 +4147,8 @@ const VoiceFormRecorder = class {
|
|
|
4147
4147
|
name: child.Label || ((_a = child.Settings) === null || _a === void 0 ? void 0 : _a.Label) || child.System_Name,
|
|
4148
4148
|
type: this.mapFieldType(child.Type)
|
|
4149
4149
|
};
|
|
4150
|
-
// Add options for classification/select fields
|
|
4151
|
-
const selectTypes = ['InputClassification', 'select'];
|
|
4150
|
+
// Add options for classification/select/multiselect fields
|
|
4151
|
+
const selectTypes = ['InputClassification', 'select', 'multiselect', 'InputMultiSelect'];
|
|
4152
4152
|
if (selectTypes.includes(child.Type) && child.Children && child.Children.length > 0) {
|
|
4153
4153
|
fieldData.options = child.Children.map((option) => option.System_Name || option.Label || option.toString());
|
|
4154
4154
|
}
|
|
@@ -4468,7 +4468,7 @@ const VoiceFormRecorder = class {
|
|
|
4468
4468
|
return (h$1("div", { class: "debug-panel" }, h$1("div", { class: "debug-title" }, "Debug Information:"), h$1("div", { class: "debug-content" }, JSON.stringify(this.debugInfo, null, 2))));
|
|
4469
4469
|
}
|
|
4470
4470
|
render() {
|
|
4471
|
-
return (h$1("div", { key: '
|
|
4471
|
+
return (h$1("div", { key: '09a1e3443e1b4991fe95e9dc2e36fba0edda6f5e' }, h$1("div", { key: 'd99292380471e3f83dced2837c53dece966f1a77', class: "voice-recorder-container" + (this.debug || this.renderForm ? "-debug" : "") }, h$1("div", { key: '13834aed3e29c9e0057aa9a0ee74d70d6fb64259', class: "row-audio-area" }, this.renderRecordButton(), this.renderUploadRecordButton()), this.displayStatus ? this.renderStatusMessage() : "", this.renderUploadButton(), this.renderForm ? this.renderFormPreview() : "", this.debug ? this.renderDebugPanel() : "")));
|
|
4472
4472
|
}
|
|
4473
4473
|
static get watchers() { return {
|
|
4474
4474
|
"formJson": ["initializeServices"],
|