reneco-advanced-input-module 0.0.1 → 0.0.2

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 (121) hide show
  1. package/dist/types/components/voice-input-module/voice-input-module.d.ts +9 -1
  2. package/dist/types/components.d.ts +8 -31
  3. package/dist/types/services/speech-to-text.service.d.ts +1 -1
  4. package/dist/voice-input-module/index-Lt4F-TYq.js +4334 -0
  5. package/dist/voice-input-module/index-Lt4F-TYq.js.map +1 -0
  6. package/dist/voice-input-module/index.esm.js +12 -0
  7. package/dist/voice-input-module/index.esm.js.map +1 -1
  8. package/dist/voice-input-module/loader.esm.js.map +1 -1
  9. package/dist/voice-input-module/ocr-file-uploader.entry.esm.js.map +1 -0
  10. package/dist/{components/file-uploader2.js → voice-input-module/ocr-file-uploader.entry.js} +14 -29
  11. package/dist/voice-input-module/ocr-file-uploader.entry.js.map +1 -0
  12. package/dist/voice-input-module/voice-input-module.entry.esm.js.map +1 -0
  13. package/dist/voice-input-module/voice-input-module.entry.js +4467 -0
  14. package/dist/voice-input-module/voice-input-module.entry.js.map +1 -0
  15. package/dist/voice-input-module/voice-input-module.esm.js +49 -1
  16. package/dist/voice-input-module/voice-input-module.esm.js.map +1 -1
  17. package/loader/cdn.js +1 -0
  18. package/loader/index.cjs.js +1 -0
  19. package/loader/index.d.ts +24 -0
  20. package/loader/index.es2017.js +1 -0
  21. package/loader/index.js +2 -0
  22. package/package.json +7 -3
  23. package/www/build/index-Lt4F-TYq.js +4334 -0
  24. package/www/build/index-Lt4F-TYq.js.map +1 -0
  25. package/{src/index.ts → www/build/index.esm.js} +14 -12
  26. package/www/build/index.esm.js.map +1 -0
  27. package/{dist/cjs/loader.cjs.js.map → www/build/loader.esm.js.map} +1 -1
  28. package/www/build/ocr-file-uploader.entry.esm.js.map +1 -0
  29. package/{dist/collection/components/file-uploader/file-uploader.js → www/build/ocr-file-uploader.entry.js} +18 -65
  30. package/www/build/ocr-file-uploader.entry.js.map +1 -0
  31. package/www/build/voice-input-module.entry.esm.js.map +1 -0
  32. package/www/build/voice-input-module.entry.js +4467 -0
  33. package/www/build/voice-input-module.entry.js.map +1 -0
  34. package/www/build/voice-input-module.esm.js +50 -0
  35. package/{dist/cjs/voice-input-module.cjs.js.map → www/build/voice-input-module.esm.js.map} +1 -1
  36. package/www/build/voice-input-module.js +33 -0
  37. package/www/host.config.json +15 -0
  38. package/www/index.html +1671 -0
  39. package/.editorconfig +0 -15
  40. package/.prettierrc.json +0 -13
  41. package/api-key-inject.js +0 -46
  42. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -8
  43. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +0 -1
  44. package/dist/cjs/file-uploader.voice-input-module.entry.cjs.js.map +0 -1
  45. package/dist/cjs/file-uploader_2.cjs.entry.js +0 -1319
  46. package/dist/cjs/file-uploader_2.cjs.entry.js.map +0 -1
  47. package/dist/cjs/index-BTSzTkSZ.js +0 -1494
  48. package/dist/cjs/index-BTSzTkSZ.js.map +0 -1
  49. package/dist/cjs/index.cjs.js +0 -5
  50. package/dist/cjs/index.cjs.js.map +0 -1
  51. package/dist/cjs/loader.cjs.js +0 -16
  52. package/dist/cjs/voice-input-module.cjs.js +0 -28
  53. package/dist/collection/collection-manifest.json +0 -13
  54. package/dist/collection/components/file-uploader/file-uploader.css +0 -26
  55. package/dist/collection/components/file-uploader/file-uploader.js.map +0 -1
  56. package/dist/collection/components/voice-input-module/voice-input-module.css +0 -251
  57. package/dist/collection/components/voice-input-module/voice-input-module.js +0 -875
  58. package/dist/collection/components/voice-input-module/voice-input-module.js.map +0 -1
  59. package/dist/collection/index.js +0 -12
  60. package/dist/collection/index.js.map +0 -1
  61. package/dist/collection/services/audio-recorder.service.js +0 -66
  62. package/dist/collection/services/audio-recorder.service.js.map +0 -1
  63. package/dist/collection/services/llm.service.js +0 -193
  64. package/dist/collection/services/llm.service.js.map +0 -1
  65. package/dist/collection/services/speech-to-text.service.js +0 -62
  66. package/dist/collection/services/speech-to-text.service.js.map +0 -1
  67. package/dist/collection/types/form-schema.types.js +0 -2
  68. package/dist/collection/types/form-schema.types.js.map +0 -1
  69. package/dist/collection/types/service-providers.types.js +0 -2
  70. package/dist/collection/types/service-providers.types.js.map +0 -1
  71. package/dist/collection/utils/schema-converter.js +0 -422
  72. package/dist/collection/utils/schema-converter.js.map +0 -1
  73. package/dist/components/file-uploader.d.ts +0 -11
  74. package/dist/components/file-uploader.js +0 -9
  75. package/dist/components/file-uploader.js.map +0 -1
  76. package/dist/components/file-uploader2.js.map +0 -1
  77. package/dist/components/index.js +0 -4
  78. package/dist/components/index.js.map +0 -1
  79. package/dist/components/voice-input-module.js +0 -1292
  80. package/dist/components/voice-input-module.js.map +0 -1
  81. package/dist/esm/app-globals-DQuL1Twl.js +0 -6
  82. package/dist/esm/app-globals-DQuL1Twl.js.map +0 -1
  83. package/dist/esm/file-uploader.voice-input-module.entry.js.map +0 -1
  84. package/dist/esm/file-uploader_2.entry.js +0 -1316
  85. package/dist/esm/file-uploader_2.entry.js.map +0 -1
  86. package/dist/esm/index-jmc2yzBp.js +0 -1487
  87. package/dist/esm/index-jmc2yzBp.js.map +0 -1
  88. package/dist/esm/index.js +0 -4
  89. package/dist/esm/index.js.map +0 -1
  90. package/dist/esm/loader.js +0 -14
  91. package/dist/esm/loader.js.map +0 -1
  92. package/dist/esm/voice-input-module.js +0 -24
  93. package/dist/esm/voice-input-module.js.map +0 -1
  94. package/dist/index.cjs.js +0 -1
  95. package/dist/index.js +0 -1
  96. package/dist/types/components/file-uploader/file-uploader.d.ts +0 -8
  97. package/dist/voice-input-module/file-uploader.voice-input-module.entry.esm.js.map +0 -1
  98. package/dist/voice-input-module/p-7b4f33ba.entry.js +0 -2
  99. package/dist/voice-input-module/p-7b4f33ba.entry.js.map +0 -1
  100. package/dist/voice-input-module/p-DQuL1Twl.js +0 -2
  101. package/dist/voice-input-module/p-DQuL1Twl.js.map +0 -1
  102. package/dist/voice-input-module/p-jmc2yzBp.js +0 -3
  103. package/dist/voice-input-module/p-jmc2yzBp.js.map +0 -1
  104. package/env-config.js +0 -4
  105. package/inject-env.js +0 -20
  106. package/src/components/file-uploader/file-uploader.css +0 -26
  107. package/src/components/file-uploader/file-uploader.tsx +0 -100
  108. package/src/components/file-uploader/readme.md +0 -31
  109. package/src/components/voice-input-module/readme.md +0 -114
  110. package/src/components/voice-input-module/voice-input-module.css +0 -251
  111. package/src/components/voice-input-module/voice-input-module.tsx +0 -731
  112. package/src/components.d.ts +0 -158
  113. package/src/index.html +0 -663
  114. package/src/services/audio-recorder.service.ts +0 -74
  115. package/src/services/llm.service.ts +0 -221
  116. package/src/services/speech-to-text.service.ts +0 -72
  117. package/src/types/form-schema.types.ts +0 -78
  118. package/src/types/service-providers.types.ts +0 -22
  119. package/src/utils/schema-converter.ts +0 -494
  120. package/stencil.config.ts +0 -24
  121. package/tsconfig.json +0 -30
@@ -1,2 +1,50 @@
1
- import{p as o,b as e}from"./p-jmc2yzBp.js";export{s as setNonce}from"./p-jmc2yzBp.js";import{g as r}from"./p-DQuL1Twl.js";var i=()=>{const e=import.meta.url;const r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return o(r)};i().then((async o=>{await r();return e([["p-7b4f33ba",[[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],voiceOrOcr:[1,"voice-or-ocr"],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,"file-uploader",{batch:[4],callback:[16]}]]]],o)}));
1
+ import { B as BUILD, c as consoleDevInfo, H, w as win, N as NAMESPACE, p as promiseResolve, g as globalScripts, b as bootstrapLazy } from './index-Lt4F-TYq.js';
2
+ export { s as setNonce } from './index-Lt4F-TYq.js';
3
+
4
+ /*
5
+ Stencil Client Patch Browser v4.36.2 | MIT Licensed | https://stenciljs.com
6
+ */
7
+
8
+ var patchBrowser = () => {
9
+ if (BUILD.isDev && !BUILD.isTesting) {
10
+ consoleDevInfo("Running in development mode.");
11
+ }
12
+ if (BUILD.cloneNodeFix) {
13
+ patchCloneNodeFix(H.prototype);
14
+ }
15
+ const scriptElm = BUILD.scriptDataOpts ? win.document && Array.from(win.document.querySelectorAll("script")).find(
16
+ (s) => new RegExp(`/${NAMESPACE}(\\.esm)?\\.js($|\\?|#)`).test(s.src) || s.getAttribute("data-stencil-namespace") === NAMESPACE
17
+ ) : null;
18
+ const importMeta = import.meta.url;
19
+ const opts = BUILD.scriptDataOpts ? (scriptElm || {})["data-opts"] || {} : {};
20
+ if (importMeta !== "") {
21
+ opts.resourcesUrl = new URL(".", importMeta).href;
22
+ }
23
+ return promiseResolve(opts);
24
+ };
25
+ var patchCloneNodeFix = (HTMLElementPrototype) => {
26
+ const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;
27
+ HTMLElementPrototype.cloneNode = function(deep) {
28
+ if (this.nodeName === "TEMPLATE") {
29
+ return nativeCloneNodeFn.call(this, deep);
30
+ }
31
+ const clonedNode = nativeCloneNodeFn.call(this, false);
32
+ const srcChildNodes = this.childNodes;
33
+ if (deep) {
34
+ for (let i = 0; i < srcChildNodes.length; i++) {
35
+ if (srcChildNodes[i].nodeType !== 2) {
36
+ clonedNode.appendChild(srcChildNodes[i].cloneNode(true));
37
+ }
38
+ }
39
+ }
40
+ return clonedNode;
41
+ };
42
+ };
43
+
44
+ patchBrowser().then(async (options) => {
45
+ await globalScripts();
46
+ return bootstrapLazy([["ocr-file-uploader",[[257,"ocr-file-uploader",{"batch":[4],"callback":[16],"jsonSchema":[1,"json-schema"]}]]],["voice-input-module",[[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"]}]]]], options);
47
+ });
48
+ //# sourceMappingURL=voice-input-module.esm.js.map
49
+
2
50
  //# sourceMappingURL=voice-input-module.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"voice-input-module.esm.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]}
1
+ {"version":3,"file":"voice-input-module.esm.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;AACzB,EAAE,IAAI,KAAK,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE;AACvC,IAAI,cAAc,CAAC,8BAA8B,CAAC;AAClD;AACA,EAAE,IAAI,KAAK,CAAC,YAAY,EAAE;AAC1B,IAAI,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;AAClC;AACA,EAAE,MAAM,SAAS,GAAG,KAAK,CAAC,cAAc,GAAG,GAAG,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI;AACnH,IAAI,CAAC,CAAC,KAAK,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,uBAAuB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,YAAY,CAAC,wBAAwB,CAAC,KAAK;AAC1H,GAAG,GAAG,IAAI;AACV,EAAE,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG;AACpC,EAAE,MAAM,IAAI,GAAG,KAAK,CAAC,cAAc,GAAG,CAAC,SAAS,IAAI,EAAE,EAAE,WAAW,CAAC,IAAI,EAAE,GAAG,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;AACD,IAAI,iBAAiB,GAAG,CAAC,oBAAoB,KAAK;AAClD,EAAE,MAAM,iBAAiB,GAAG,oBAAoB,CAAC,SAAS;AAC1D,EAAE,oBAAoB,CAAC,SAAS,GAAG,SAAS,IAAI,EAAE;AAClD,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,UAAU,EAAE;AACtC,MAAM,OAAO,iBAAiB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;AAC/C;AACA,IAAI,MAAM,UAAU,GAAG,iBAAiB,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC;AAC1D,IAAI,MAAM,aAAa,GAAG,IAAI,CAAC,UAAU;AACzC,IAAI,IAAI,IAAI,EAAE;AACd,MAAM,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,aAAa,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AACrD,QAAQ,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,EAAE;AAC7C,UAAU,UAAU,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;AAClE;AACA;AACA;AACA,IAAI,OAAO,UAAU;AACrB,GAAG;AACH,CAAC;;ACrCD,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]}
package/loader/cdn.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('../dist/cjs/loader.cjs.js');
@@ -0,0 +1 @@
1
+ module.exports = require('../dist/cjs/loader.cjs.js');
@@ -0,0 +1,24 @@
1
+ export * from '../dist/types/components';
2
+ export interface CustomElementsDefineOptions {
3
+ exclude?: string[];
4
+ resourcesUrl?: string;
5
+ syncQueue?: boolean;
6
+ jmp?: (c: Function) => any;
7
+ raf?: (c: FrameRequestCallback) => number;
8
+ ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
9
+ rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
10
+ }
11
+ export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): void;
12
+ /**
13
+ * @deprecated
14
+ */
15
+ export declare function applyPolyfills(): Promise<void>;
16
+
17
+ /**
18
+ * Used to specify a nonce value that corresponds with an application's CSP.
19
+ * When set, the nonce will be added to all dynamically created script and style tags at runtime.
20
+ * Alternatively, the nonce value can be set on a meta tag in the DOM head
21
+ * (<meta name="csp-nonce" content="{ nonce value here }" />) which
22
+ * will result in the same behavior.
23
+ */
24
+ export declare function setNonce(nonce: string): void;
@@ -0,0 +1 @@
1
+ export * from '../dist/esm/loader.js';
@@ -0,0 +1,2 @@
1
+ (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
2
+ export * from '../dist/esm/loader.js';
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "reneco-advanced-input-module",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Component to input data into forms by voice",
5
5
  "keywords": [],
6
6
  "author": "Natural Solutions",
7
7
  "license": "MIT",
8
-
9
8
  "scripts": {
10
9
  "build": "npm test && stencil build --docs",
11
10
  "start": "node inject-env.js && stencil build --dev --watch --serve",
@@ -19,6 +18,7 @@
19
18
  "@stencil/core": "^4.36.2",
20
19
  "@stencil/router": "^1.0.1",
21
20
  "@types/node": "^24.2.0",
21
+ "ocr-file-uploader": "0.0.3",
22
22
  "openai": "^5.11.0",
23
23
  "typescript": "^5.9.2"
24
24
  },
@@ -27,7 +27,11 @@
27
27
  "jest": "^29.7.0",
28
28
  "jest-cli": "^29.7.0"
29
29
  },
30
-
30
+ "files": [
31
+ "dist/",
32
+ "loader/",
33
+ "www/"
34
+ ],
31
35
  "main": "dist/index.cjs.js",
32
36
  "module": "dist/custom-elements/index.js",
33
37
  "es2015": "dist/esm/index.mjs",