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.
Files changed (25) hide show
  1. package/dist/cjs/ocr-file-uploader.voice-input-module.entry.cjs.js.map +1 -1
  2. package/dist/cjs/ocr-file-uploader_2.cjs.entry.js +4 -4
  3. package/dist/cjs/ocr-file-uploader_2.cjs.entry.js.map +1 -1
  4. package/dist/collection/components/voice-input-module/voice-input-module.js +3 -3
  5. package/dist/collection/components/voice-input-module/voice-input-module.js.map +1 -1
  6. package/dist/collection/services/llm.service.js +1 -1
  7. package/dist/collection/services/llm.service.js.map +1 -1
  8. package/dist/components/voice-input-module.js +4 -4
  9. package/dist/components/voice-input-module.js.map +1 -1
  10. package/dist/esm/ocr-file-uploader.voice-input-module.entry.js.map +1 -1
  11. package/dist/esm/ocr-file-uploader_2.entry.js +4 -4
  12. package/dist/esm/ocr-file-uploader_2.entry.js.map +1 -1
  13. package/dist/voice-input-module/ocr-file-uploader.voice-input-module.entry.esm.js.map +1 -1
  14. package/dist/voice-input-module/{p-37de1da2.entry.js → p-21d2e52b.entry.js} +3 -3
  15. package/dist/voice-input-module/p-21d2e52b.entry.js.map +1 -0
  16. package/dist/voice-input-module/voice-input-module.esm.js +1 -1
  17. package/package.json +1 -1
  18. package/www/build/ocr-file-uploader.voice-input-module.entry.esm.js.map +1 -1
  19. package/www/build/{p-37de1da2.entry.js → p-21d2e52b.entry.js} +3 -3
  20. package/www/build/p-21d2e52b.entry.js.map +1 -0
  21. package/www/build/{p-6438474d.js → p-b680b1be.js} +1 -1
  22. package/www/build/voice-input-module.esm.js +1 -1
  23. package/www/index.html +6 -6
  24. package/dist/voice-input-module/p-37de1da2.entry.js.map +0 -1
  25. 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: '2eddc02481849fda4e6d9e245d4c3c668938b84c' }, h$1("div", { key: 'eb1bc3cfcf0a19c54f5b2ab1ce488fa289a0dc68', class: "voice-recorder-container" + (this.debug || this.renderForm ? "-debug" : "") }, h$1("div", { key: 'b93900dce4b0de5d830f4f8517d4e56dc746efbb', class: "row-audio-area" }, this.renderRecordButton(), this.renderUploadRecordButton()), this.displayStatus ? this.renderStatusMessage() : "", this.renderUploadButton(), this.renderForm ? this.renderFormPreview() : "", this.debug ? this.renderDebugPanel() : "")));
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"],