@dskripchenko/ui 1.14.0 → 1.15.0

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 (43) hide show
  1. package/README.md +5 -2
  2. package/dist/components/Audio/UidAudio.vue.d.ts +127 -0
  3. package/dist/components/Audio/index.d.ts +2 -0
  4. package/dist/components/Gauge/UidGauge.vue.d.ts +1 -1
  5. package/dist/components/Grid/UidGrid.vue.d.ts +1 -1
  6. package/dist/components/Media/UidMediaMenu.vue.d.ts +63 -0
  7. package/dist/components/Media/UidMediaScrubber.vue.d.ts +38 -0
  8. package/dist/components/Media/index.d.ts +6 -0
  9. package/dist/components/Media/mediaUtils.d.ts +47 -0
  10. package/dist/components/Media/useMediaController.d.ts +80 -0
  11. package/dist/components/Media/useMediaLocale.d.ts +3 -0
  12. package/dist/components/Media/waveform.d.ts +27 -0
  13. package/dist/components/Menu/UidMenu.vue.d.ts +17 -3
  14. package/dist/components/Pagination/UidPaginationCursor.vue.d.ts +2 -2
  15. package/dist/components/Progress/UidProgress.vue.d.ts +1 -1
  16. package/dist/components/ProgressRing/UidProgressRing.vue.d.ts +1 -1
  17. package/dist/components/Stack/UidStack.vue.d.ts +1 -1
  18. package/dist/components/Video/UidVideo.vue.d.ts +106 -0
  19. package/dist/components/Video/index.d.ts +2 -0
  20. package/dist/composables/useLocale.d.ts +2 -1
  21. package/dist/hls/abr.d.ts +36 -0
  22. package/dist/hls/aes.d.ts +5 -0
  23. package/dist/hls/engine.d.ts +86 -0
  24. package/dist/hls/index.cjs +3 -0
  25. package/dist/hls/index.d.ts +11 -0
  26. package/dist/hls/index.mjs +1500 -0
  27. package/dist/hls/mp4.d.ts +21 -0
  28. package/dist/hls/playlist.d.ts +76 -0
  29. package/dist/hls/transmux.d.ts +27 -0
  30. package/dist/hls/ts/adts.d.ts +16 -0
  31. package/dist/hls/ts/demux.d.ts +26 -0
  32. package/dist/hls/ts/h264.d.ts +30 -0
  33. package/dist/hls/ts/id3.d.ts +10 -0
  34. package/dist/hls/ts/mp4mux.d.ts +32 -0
  35. package/dist/hls/ts/transmuxer.d.ts +22 -0
  36. package/dist/index.cjs +10 -6
  37. package/dist/index.d.ts +7 -1
  38. package/dist/index.mjs +4499 -2417
  39. package/dist/locales/index.d.ts +1 -1
  40. package/dist/locales/types.d.ts +46 -0
  41. package/dist/styles/all.css +1 -1
  42. package/dist/styles/index.css +1 -1
  43. package/package.json +9 -1
@@ -1,3 +1,3 @@
1
- export type { UidLocale, UidPartialLocale } from './types.js';
1
+ export type { UidLocale, UidPartialLocale, UidMediaLocale } from './types.js';
2
2
  export { ru } from './ru.js';
3
3
  export { en } from './en.js';
@@ -104,6 +104,8 @@ export interface UidLocale {
104
104
  preview: string;
105
105
  error: string;
106
106
  };
107
+ /** Video and audio players (UidVideo, UidAudio). */
108
+ media?: UidMediaLocale;
107
109
  breadcrumb?: {
108
110
  /** Accessible name of the "…" button that lists the collapsed crumbs. */
109
111
  showHidden: string;
@@ -226,3 +228,47 @@ export interface UidLocale {
226
228
  export type UidPartialLocale = {
227
229
  [K in keyof UidLocale]?: Partial<UidLocale[K]>;
228
230
  };
231
+ export interface UidMediaLocale {
232
+ play: string;
233
+ pause: string;
234
+ replay: string;
235
+ mute: string;
236
+ unmute: string;
237
+ volume: string;
238
+ seek: string;
239
+ /** Value text of the scrub bar: "1:05 of 3:20". */
240
+ timeOf: (current: string, total: string) => string;
241
+ speed: string;
242
+ normalSpeed: string;
243
+ quality: string;
244
+ audioTrack: string;
245
+ auto: string;
246
+ captions: string;
247
+ captionsOff: string;
248
+ settings: string;
249
+ fullscreen: string;
250
+ exitFullscreen: string;
251
+ pip: string;
252
+ exitPip: string;
253
+ live: string;
254
+ goLive: string;
255
+ next: string;
256
+ prev: string;
257
+ playlist: string;
258
+ forward: (s: number) => string;
259
+ backward: (s: number) => string;
260
+ chapter: string;
261
+ loading: string;
262
+ retry: string;
263
+ errors: {
264
+ aborted: string;
265
+ network: string;
266
+ decode: string;
267
+ unsupported: string;
268
+ mse: string;
269
+ manifest: string;
270
+ encrypted: string;
271
+ codec: string;
272
+ unknown: string;
273
+ };
274
+ }