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
@@ -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: '2eddc02481849fda4e6d9e245d4c3c668938b84c' }, index.h("div", { key: 'eb1bc3cfcf0a19c54f5b2ab1ce488fa289a0dc68', class: "voice-recorder-container" + (this.debug || this.renderForm ? "-debug" : "") }, index.h("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() : "")));
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"],