reneco-advanced-input-module 0.0.23 → 0.0.25

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 (68) hide show
  1. package/dist/cjs/{index-BTSzTkSZ.js → index-BtdDZbi5.js} +11 -4
  2. package/dist/cjs/index-BtdDZbi5.js.map +1 -0
  3. package/dist/cjs/loader.cjs.js +3 -4
  4. package/dist/cjs/loader.cjs.js.map +1 -1
  5. package/dist/cjs/ocr-file-uploader.cjs.entry.js +1 -1
  6. package/dist/cjs/voice-input-module.cjs.entry.js +43 -7
  7. package/dist/cjs/voice-input-module.cjs.entry.js.map +1 -1
  8. package/dist/cjs/voice-input-module.cjs.js +3 -4
  9. package/dist/cjs/voice-input-module.cjs.js.map +1 -1
  10. package/dist/cjs/voice-input-module.entry.cjs.js.map +1 -1
  11. package/dist/collection/components/voice-input-module/voice-input-module.css +34 -0
  12. package/dist/collection/components/voice-input-module/voice-input-module.js +43 -6
  13. package/dist/collection/components/voice-input-module/voice-input-module.js.map +1 -1
  14. package/dist/components/voice-input-module.js +43 -6
  15. package/dist/components/voice-input-module.js.map +1 -1
  16. package/dist/esm/{index-jmc2yzBp.js → index-a7QWC-5I.js} +11 -5
  17. package/dist/esm/index-a7QWC-5I.js.map +1 -0
  18. package/dist/esm/loader.js +3 -4
  19. package/dist/esm/loader.js.map +1 -1
  20. package/dist/esm/ocr-file-uploader.entry.js +1 -1
  21. package/dist/esm/voice-input-module.entry.js +43 -7
  22. package/dist/esm/voice-input-module.entry.js.map +1 -1
  23. package/dist/esm/voice-input-module.js +3 -4
  24. package/dist/esm/voice-input-module.js.map +1 -1
  25. package/dist/types/components/voice-input-module/voice-input-module.d.ts +3 -0
  26. package/dist/voice-input-module/loader.esm.js.map +1 -1
  27. package/dist/voice-input-module/{p-920964b2.entry.js → p-334644ec.entry.js} +3 -3
  28. package/dist/voice-input-module/p-334644ec.entry.js.map +1 -0
  29. package/dist/voice-input-module/p-a7QWC-5I.js +3 -0
  30. package/dist/voice-input-module/p-a7QWC-5I.js.map +1 -0
  31. package/dist/voice-input-module/{p-a5eeaf1c.entry.js → p-ba3d83d1.entry.js} +2 -2
  32. package/dist/voice-input-module/voice-input-module.css +6 -0
  33. package/dist/voice-input-module/voice-input-module.entry.esm.js.map +1 -1
  34. package/dist/voice-input-module/voice-input-module.esm.js +1 -1
  35. package/dist/voice-input-module/voice-input-module.esm.js.map +1 -1
  36. package/package.json +1 -1
  37. package/www/build/loader.esm.js.map +1 -1
  38. package/www/build/{p-920964b2.entry.js → p-334644ec.entry.js} +3 -3
  39. package/www/build/p-334644ec.entry.js.map +1 -0
  40. package/www/build/p-6cd2a3a1.css +6 -0
  41. package/www/build/p-a7QWC-5I.js +3 -0
  42. package/www/build/p-a7QWC-5I.js.map +1 -0
  43. package/www/build/{p-a5eeaf1c.entry.js → p-ba3d83d1.entry.js} +2 -2
  44. package/www/build/p-dfdcd9a6.js +2 -0
  45. package/www/build/voice-input-module.css +6 -0
  46. package/www/build/voice-input-module.entry.esm.js.map +1 -1
  47. package/www/build/voice-input-module.esm.js +1 -1
  48. package/www/build/voice-input-module.esm.js.map +1 -1
  49. package/www/index.html +1 -1
  50. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -8
  51. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +0 -1
  52. package/dist/cjs/index-BTSzTkSZ.js.map +0 -1
  53. package/dist/esm/app-globals-DQuL1Twl.js +0 -6
  54. package/dist/esm/app-globals-DQuL1Twl.js.map +0 -1
  55. package/dist/esm/index-jmc2yzBp.js.map +0 -1
  56. package/dist/voice-input-module/p-920964b2.entry.js.map +0 -1
  57. package/dist/voice-input-module/p-DQuL1Twl.js +0 -2
  58. package/dist/voice-input-module/p-DQuL1Twl.js.map +0 -1
  59. package/dist/voice-input-module/p-jmc2yzBp.js +0 -3
  60. package/dist/voice-input-module/p-jmc2yzBp.js.map +0 -1
  61. package/www/build/p-920964b2.entry.js.map +0 -1
  62. package/www/build/p-DQuL1Twl.js +0 -2
  63. package/www/build/p-DQuL1Twl.js.map +0 -1
  64. package/www/build/p-cbf8974a.js +0 -2
  65. package/www/build/p-jmc2yzBp.js +0 -3
  66. package/www/build/p-jmc2yzBp.js.map +0 -1
  67. /package/dist/voice-input-module/{p-a5eeaf1c.entry.js.map → p-ba3d83d1.entry.js.map} +0 -0
  68. /package/www/build/{p-a5eeaf1c.entry.js.map → p-ba3d83d1.entry.js.map} +0 -0
@@ -3,6 +3,9 @@
3
3
  const NAMESPACE = 'voice-input-module';
4
4
  const BUILD = /* voice-input-module */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true};
5
5
 
6
+ const globalScripts = () => {};
7
+ const globalStyles = "@keyframes pre-hydration-shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}voice-input-module:not(.hydrated){display:flex;align-items:center;justify-content:center;min-height:70px;padding:1rem;border:1px solid #e5e7eb;border-radius:0.5rem;background-color:#ffffff;box-sizing:border-box}voice-input-module:not(.hydrated)::before{content:'';display:block;width:50px;height:50px;border-radius:50%;background:linear-gradient(\n 90deg,\n #e2e8f0 25%,\n #f8fafc 50%,\n #e2e8f0 75%\n );background-size:200% 100%;animation:pre-hydration-shimmer 1.5s ease-in-out infinite}";
8
+
6
9
  /*
7
10
  Stencil Client Platform v4.36.2 | MIT Licensed | https://stenciljs.com
8
11
  */
@@ -208,7 +211,10 @@ var unwrapErr = (result) => {
208
211
 
209
212
  // src/utils/style.ts
210
213
  function createStyleSheetIfNeededAndSupported(styles2) {
211
- return void 0;
214
+ if (!supportsConstructableStylesheets) return void 0;
215
+ const sheet = new CSSStyleSheet();
216
+ sheet.replaceSync(styles2);
217
+ return sheet;
212
218
  }
213
219
 
214
220
  // src/utils/shadow-root.ts
@@ -216,7 +222,7 @@ var globalStyleSheet;
216
222
  function createShadowRoot(cmpMeta) {
217
223
  var _a;
218
224
  const shadowRoot = this.attachShadow({ mode: "open" });
219
- if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
225
+ if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported(globalStyles)) != null ? _a : null;
220
226
  if (globalStyleSheet) {
221
227
  if (supportsMutableAdoptedStyleSheets) {
222
228
  shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
@@ -1485,10 +1491,11 @@ var setNonce = (nonce) => plt.$nonce$ = nonce;
1485
1491
 
1486
1492
  exports.bootstrapLazy = bootstrapLazy;
1487
1493
  exports.createEvent = createEvent;
1494
+ exports.globalScripts = globalScripts;
1488
1495
  exports.h = h;
1489
1496
  exports.promiseResolve = promiseResolve;
1490
1497
  exports.registerInstance = registerInstance;
1491
1498
  exports.setNonce = setNonce;
1492
- //# sourceMappingURL=index-BTSzTkSZ.js.map
1499
+ //# sourceMappingURL=index-BtdDZbi5.js.map
1493
1500
 
1494
- //# sourceMappingURL=index-BTSzTkSZ.js.map
1501
+ //# sourceMappingURL=index-BtdDZbi5.js.map