reneco-advanced-input-module 0.0.2 → 0.0.3

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 (94) hide show
  1. package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
  2. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
  3. package/dist/cjs/index-BTSzTkSZ.js +1494 -0
  4. package/dist/cjs/index-BTSzTkSZ.js.map +1 -0
  5. package/dist/cjs/index.cjs.js +5 -0
  6. package/dist/cjs/index.cjs.js.map +1 -0
  7. package/dist/cjs/loader.cjs.js +16 -0
  8. package/dist/cjs/loader.cjs.js.map +1 -0
  9. package/dist/cjs/ocr-file-uploader.voice-input-module.entry.cjs.js.map +1 -0
  10. package/dist/cjs/ocr-file-uploader_2.cjs.entry.js +4486 -0
  11. package/dist/cjs/ocr-file-uploader_2.cjs.entry.js.map +1 -0
  12. package/dist/cjs/voice-input-module.cjs.js +28 -0
  13. package/dist/cjs/voice-input-module.cjs.js.map +1 -0
  14. package/dist/collection/collection-manifest.json +19 -0
  15. package/dist/collection/components/voice-input-module/voice-input-module.css +327 -0
  16. package/dist/collection/components/voice-input-module/voice-input-module.js +1021 -0
  17. package/dist/collection/components/voice-input-module/voice-input-module.js.map +1 -0
  18. package/dist/collection/index.js +12 -0
  19. package/dist/collection/index.js.map +1 -0
  20. package/dist/collection/services/audio-recorder.service.js +66 -0
  21. package/dist/collection/services/audio-recorder.service.js.map +1 -0
  22. package/dist/collection/services/llm.service.js +193 -0
  23. package/dist/collection/services/llm.service.js.map +1 -0
  24. package/dist/collection/services/speech-to-text.service.js +60 -0
  25. package/dist/collection/services/speech-to-text.service.js.map +1 -0
  26. package/dist/collection/types/form-schema.types.js +2 -0
  27. package/dist/collection/types/form-schema.types.js.map +1 -0
  28. package/dist/collection/types/service-providers.types.js +2 -0
  29. package/dist/collection/types/service-providers.types.js.map +1 -0
  30. package/dist/collection/utils/schema-converter.js +422 -0
  31. package/dist/collection/utils/schema-converter.js.map +1 -0
  32. package/dist/components/index.js +4 -0
  33. package/dist/components/index.js.map +1 -0
  34. package/dist/components/ocr-file-uploader.js +9 -0
  35. package/dist/components/ocr-file-uploader.js.map +1 -0
  36. package/{www/build/ocr-file-uploader.entry.js → dist/components/ocr-file-uploader2.js} +28 -9
  37. package/dist/components/ocr-file-uploader2.js.map +1 -0
  38. package/{www/build/voice-input-module.entry.js → dist/components/voice-input-module.js} +64 -75
  39. package/dist/components/voice-input-module.js.map +1 -0
  40. package/dist/esm/app-globals-DQuL1Twl.js +6 -0
  41. package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
  42. package/dist/esm/index-jmc2yzBp.js +1487 -0
  43. package/dist/esm/index-jmc2yzBp.js.map +1 -0
  44. package/dist/esm/index.js +4 -0
  45. package/dist/esm/index.js.map +1 -0
  46. package/dist/esm/loader.js +14 -0
  47. package/dist/esm/loader.js.map +1 -0
  48. package/dist/esm/ocr-file-uploader.voice-input-module.entry.js.map +1 -0
  49. package/dist/{voice-input-module/voice-input-module.entry.js → esm/ocr-file-uploader_2.entry.js} +89 -73
  50. package/dist/esm/ocr-file-uploader_2.entry.js.map +1 -0
  51. package/dist/esm/voice-input-module.js +24 -0
  52. package/dist/esm/voice-input-module.js.map +1 -0
  53. package/dist/index.cjs.js +1 -0
  54. package/dist/index.js +1 -0
  55. package/dist/voice-input-module/index.esm.js +0 -12
  56. package/dist/voice-input-module/index.esm.js.map +1 -1
  57. package/dist/voice-input-module/loader.esm.js.map +1 -1
  58. package/dist/voice-input-module/ocr-file-uploader.voice-input-module.entry.esm.js.map +1 -0
  59. package/dist/voice-input-module/p-37de1da2.entry.js +3 -0
  60. package/dist/voice-input-module/p-37de1da2.entry.js.map +1 -0
  61. package/dist/voice-input-module/p-DQuL1Twl.js +2 -0
  62. package/dist/voice-input-module/p-DQuL1Twl.js.map +1 -0
  63. package/dist/voice-input-module/p-jmc2yzBp.js +3 -0
  64. package/dist/voice-input-module/p-jmc2yzBp.js.map +1 -0
  65. package/dist/voice-input-module/voice-input-module.esm.js +1 -49
  66. package/dist/voice-input-module/voice-input-module.esm.js.map +1 -1
  67. package/package.json +1 -1
  68. package/www/build/index.esm.js +0 -12
  69. package/www/build/index.esm.js.map +1 -1
  70. package/www/build/loader.esm.js.map +1 -1
  71. package/www/build/ocr-file-uploader.voice-input-module.entry.esm.js.map +1 -0
  72. package/www/build/p-37de1da2.entry.js +3 -0
  73. package/www/build/p-37de1da2.entry.js.map +1 -0
  74. package/www/build/p-6438474d.js +2 -0
  75. package/www/build/p-DQuL1Twl.js +2 -0
  76. package/www/build/p-DQuL1Twl.js.map +1 -0
  77. package/www/build/p-jmc2yzBp.js +3 -0
  78. package/www/build/p-jmc2yzBp.js.map +1 -0
  79. package/www/build/voice-input-module.esm.js +1 -49
  80. package/www/build/voice-input-module.esm.js.map +1 -1
  81. package/www/index.html +2 -11
  82. package/dist/voice-input-module/index-Lt4F-TYq.js +0 -4334
  83. package/dist/voice-input-module/index-Lt4F-TYq.js.map +0 -1
  84. package/dist/voice-input-module/ocr-file-uploader.entry.esm.js.map +0 -1
  85. package/dist/voice-input-module/ocr-file-uploader.entry.js +0 -83
  86. package/dist/voice-input-module/ocr-file-uploader.entry.js.map +0 -1
  87. package/dist/voice-input-module/voice-input-module.entry.esm.js.map +0 -1
  88. package/dist/voice-input-module/voice-input-module.entry.js.map +0 -1
  89. package/www/build/index-Lt4F-TYq.js +0 -4334
  90. package/www/build/index-Lt4F-TYq.js.map +0 -1
  91. package/www/build/ocr-file-uploader.entry.esm.js.map +0 -1
  92. package/www/build/ocr-file-uploader.entry.js.map +0 -1
  93. package/www/build/voice-input-module.entry.esm.js.map +0 -1
  94. package/www/build/voice-input-module.entry.js.map +0 -1
@@ -0,0 +1,24 @@
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-jmc2yzBp.js';
2
+ export { s as setNonce } from './index-jmc2yzBp.js';
3
+ import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
+
5
+ /*
6
+ Stencil Client Patch Browser v4.36.2 | MIT Licensed | https://stenciljs.com
7
+ */
8
+
9
+ var patchBrowser = () => {
10
+ const importMeta = import.meta.url;
11
+ const opts = {};
12
+ if (importMeta !== "") {
13
+ opts.resourcesUrl = new URL(".", importMeta).href;
14
+ }
15
+ return promiseResolve(opts);
16
+ };
17
+
18
+ patchBrowser().then(async (options) => {
19
+ await globalScripts();
20
+ return bootstrapLazy([["ocr-file-uploader_2",[[257,"voice-input-module",{"formJson":[1,"form-json"],"serviceConfig":[1,"service-config"],"apiKey":[1,"api-key"],"context":[1],"classificationRootUrl":[1,"classification-root-url"],"language":[1],"inputTypes":[1,"input-types"],"debug":[4],"renderForm":[4,"render-form"],"displayStatus":[4,"display-status"],"isRecording":[32],"isProcessing":[32],"statusMessage":[32],"hasError":[32],"transcription":[32],"filledData":[32],"debugInfo":[32],"isReadonlyMode":[32],"convertXmlToJson":[64],"convertJsonToXml":[64],"convertXmlToJsonLegacy":[64],"convertJsonToXmlLegacy":[64]},null,{"formJson":["initializeServices"],"serviceConfig":["initializeServices"]}],[257,"ocr-file-uploader",{"batch":[4],"callback":[16],"jsonSchema":[1,"json-schema"]}]]]], options);
21
+ });
22
+ //# sourceMappingURL=voice-input-module.js.map
23
+
24
+ //# sourceMappingURL=voice-input-module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"voice-input-module.js","sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.36.2 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, H, promiseResolve, win } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? win.document && Array.from(win.document.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"names":[],"mappings":";;;;AAAA;AACA;AACA;;AAKA,IAAI,YAAY,GAAG,MAAM;AAUzB,EAAE,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG;AACpC,EAAE,MAAM,IAAI,GAAiE,EAAE;AAC/E,EAAE,IAAI,UAAU,KAAK,EAAE,EAAE;AACzB,IAAI,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI;AACrD;AACA,EAAE,OAAO,cAAc,CAAC,IAAI,CAAC;AAC7B,CAAC;;ACnBD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,OAAO,KAAK;AACvC,EAAE,MAAM,aAAa,EAAE;AACvB,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC;AAC7D,CAAC,CAAC","x_google_ignoreList":[0]}
@@ -0,0 +1 @@
1
+ module.exports = require('./cjs/index.cjs.js');
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from './esm/index.js';
@@ -1,14 +1,2 @@
1
- /**
2
- * @fileoverview entry point for your component library
3
- *
4
- * This is the entry point for your component library. Use this file to export utilities,
5
- * constants or data structure that accompany your components.
6
- *
7
- * DO NOT use this file to export your components. Instead, use the recommended approaches
8
- * to consume components of this package as outlined in the `README.md`.
9
- */
10
- // export { format } from './utils/utils';
11
- // export type * from './components.d.ts';
12
- //# sourceMappingURL=index.esm.js.map
13
1
 
14
2
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":["src/index.ts"],"sourcesContent":["/**\r\n * @fileoverview entry point for your component library\r\n *\r\n * This is the entry point for your component library. Use this file to export utilities,\r\n * constants or data structure that accompany your components.\r\n *\r\n * DO NOT use this file to export your components. Instead, use the recommended approaches\r\n * to consume components of this package as outlined in the `README.md`.\r\n */\r\n\r\n// export { format } from './utils/utils';\r\n// export type * from './components.d.ts';\r\n"],"names":[],"mappings":"AAAA;;;;;;;;AAQG;AAEH;AACA"}
1
+ {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"loader.esm.js","sources":["@lazy-external-entrypoint?app-data=conditional"],"sourcesContent":["export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\nexport const defineCustomElements = async (win, options) => {\n if (typeof window === 'undefined') return undefined;\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n};\n"],"names":[],"mappings":";;;AAGY,MAAC,oBAAoB,GAAG,OAAO,GAAG,EAAE,OAAO,KAAK;AAC5D,EAAE,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,OAAO,SAAS;AACrD,EAAE,MAAM,aAAa,EAAE;AACvB,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC;AAC7D;;;;"}
1
+ {"version":3,"file":"loader.esm.js","sources":["@lazy-external-entrypoint?app-data=conditional"],"sourcesContent":["export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\nexport const defineCustomElements = async (win, options) => {\n if (typeof window === 'undefined') return undefined;\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n};\n"],"names":[],"mappings":";;;;AAGY,MAAC,oBAAoB,GAAG,OAAO,GAAG,EAAE,OAAO,KAAK;AAC5D,EAAE,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,OAAO,SAAS;AACrD,EAAE,MAAM,aAAa,EAAE;AACvB,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC;AAC7D;;;;"}