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
|
@@ -235,7 +235,7 @@ class OpenAILLMService {
|
|
|
235
235
|
`${field.min && field.min !== "" ? ', min=' + field.min : ''}` +
|
|
236
236
|
`${field.max && field.max !== "" ? ', max=' + field.max : ''}` +
|
|
237
237
|
`)` +
|
|
238
|
-
`${field.options ? ` - options: ${field.options.join(', ')}` : ''}`;
|
|
238
|
+
`${field.options && field.options.length > 0 ? ` - options: ${field.options.join(', ')}` : ''}`;
|
|
239
239
|
}).join('\n');
|
|
240
240
|
}
|
|
241
241
|
async fillFormFromTranscription(transcription, schema) {
|
|
@@ -4149,8 +4149,8 @@ const VoiceFormRecorder = class {
|
|
|
4149
4149
|
name: child.Label || ((_a = child.Settings) === null || _a === void 0 ? void 0 : _a.Label) || child.System_Name,
|
|
4150
4150
|
type: this.mapFieldType(child.Type)
|
|
4151
4151
|
};
|
|
4152
|
-
// Add options for classification/select fields
|
|
4153
|
-
const selectTypes = ['InputClassification', 'select'];
|
|
4152
|
+
// Add options for classification/select/multiselect fields
|
|
4153
|
+
const selectTypes = ['InputClassification', 'select', 'multiselect', 'InputMultiSelect'];
|
|
4154
4154
|
if (selectTypes.includes(child.Type) && child.Children && child.Children.length > 0) {
|
|
4155
4155
|
fieldData.options = child.Children.map((option) => option.System_Name || option.Label || option.toString());
|
|
4156
4156
|
}
|
|
@@ -4470,7 +4470,7 @@ const VoiceFormRecorder = class {
|
|
|
4470
4470
|
return (index.h("div", { class: "debug-panel" }, index.h("div", { class: "debug-title" }, "Debug Information:"), index.h("div", { class: "debug-content" }, JSON.stringify(this.debugInfo, null, 2))));
|
|
4471
4471
|
}
|
|
4472
4472
|
render() {
|
|
4473
|
-
return (index.h("div", { key: '
|
|
4473
|
+
return (index.h("div", { key: '09a1e3443e1b4991fe95e9dc2e36fba0edda6f5e' }, index.h("div", { key: 'd99292380471e3f83dced2837c53dece966f1a77', class: "voice-recorder-container" + (this.debug || this.renderForm ? "-debug" : "") }, index.h("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() : "")));
|
|
4474
4474
|
}
|
|
4475
4475
|
static get watchers() { return {
|
|
4476
4476
|
"formJson": ["initializeServices"],
|