@absolutejs/voice 0.0.22-beta.527 → 0.0.22-beta.529

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 (35) hide show
  1. package/dist/angular/index.js +3 -1
  2. package/dist/client/htmxBootstrap.js +3 -1
  3. package/dist/client/index.js +290 -304
  4. package/dist/embed/index.js +3 -1
  5. package/dist/embed/voice-widget.js +7 -7
  6. package/dist/index.d.ts +4 -6
  7. package/dist/index.js +525 -905
  8. package/dist/internal/html.d.ts +6 -0
  9. package/dist/internal/status.d.ts +9 -0
  10. package/dist/react/index.js +287 -300
  11. package/dist/svelte/index.js +181 -198
  12. package/dist/testing/index.js +69 -69
  13. package/dist/vue/index.d.ts +1 -1
  14. package/dist/vue/index.js +231 -239
  15. package/package.json +2 -3
  16. package/dist/generated/htmxBootstrapBundle.d.ts +0 -1
  17. package/fixtures/README.md +0 -57
  18. package/fixtures/manifest.json +0 -358
  19. package/fixtures/pcm/dialogue-three-clean.pcm +0 -0
  20. package/fixtures/pcm/dialogue-three-mixed.pcm +0 -0
  21. package/fixtures/pcm/dialogue-two-clean.pcm +0 -0
  22. package/fixtures/pcm/dialogue-two-noisy.pcm +0 -0
  23. package/fixtures/pcm/multiturn-three-mixed.pcm +0 -0
  24. package/fixtures/pcm/multiturn-two-clean.pcm +0 -0
  25. package/fixtures/pcm/quietly-alone-clean.pcm +0 -0
  26. package/fixtures/pcm/rainstorms-noisy.pcm +0 -0
  27. package/fixtures/pcm/stella-bulgaria-bulgarian20.pcm +0 -0
  28. package/fixtures/pcm/stella-ghana-english507.pcm +0 -0
  29. package/fixtures/pcm/stella-india-english37.pcm +0 -0
  30. package/fixtures/pcm/stella-jamaica-jamaican-creole-english1.pcm +0 -0
  31. package/fixtures/pcm/stella-liberia-liberian-pidgin-english2.pcm +0 -0
  32. package/fixtures/pcm/stella-pakistan-english519.pcm +0 -0
  33. package/fixtures/pcm/stella-sierra-leone-krio5.pcm +0 -0
  34. package/fixtures/pcm/stella-singapore-english655.pcm +0 -0
  35. package/fixtures/pcm/traveled-back-route-clean.pcm +0 -0
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Escape a value for safe interpolation into HTML text/attributes. Accepts any
3
+ * value (non-strings are stringified) and escapes the five HTML-significant
4
+ * characters.
5
+ */
6
+ export declare const escapeHtml: (value: unknown) => string;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * The shared three-level health status used across voice reports. Severity
3
+ * order is fail > warn > pass.
4
+ */
5
+ export type VoiceStatus = "fail" | "pass" | "warn";
6
+ /** Severity rank for a status (fail=2, warn=1, pass=0). Higher is worse. */
7
+ export declare const voiceStatusRank: (status: VoiceStatus) => number;
8
+ /** Reduce a set of statuses to the worst one (fail > warn > pass). */
9
+ export declare const worstVoiceStatus: (statuses: Iterable<VoiceStatus>) => VoiceStatus;