@webitel/ui-sdk 26.6.8 → 26.6.10

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 (77) hide show
  1. package/dist/{contacts-D5U72a9m.js → contacts-Ce2Xkpk0.js} +2 -2
  2. package/dist/{index-DS0XRFUa.js → index-CInTafcj.js} +59 -59
  3. package/dist/{index-C7YsoP7b.js → index-CMFdV-0C.js} +1 -1
  4. package/dist/{install-CrhatfOO.js → install-DG3Vb8gz.js} +3792 -3761
  5. package/dist/{isObject-R0qmxf8H.js → isObject-Bbh5eNoL.js} +1 -1
  6. package/dist/ui-sdk.css +1 -1
  7. package/dist/ui-sdk.js +3 -3
  8. package/dist/ui-sdk.umd.cjs +300 -275
  9. package/dist/{useVidstackSrc-6MX1IOwT.js → useVidstackSrc-BDr0pjff.js} +1 -1
  10. package/dist/{vidstack-Bq6c3Bam-rXbDiZtI.js → vidstack-Bq6c3Bam-C0UvIUxs.js} +3 -3
  11. package/dist/{vidstack-D2pY00kU-Ct0S_jAc.js → vidstack-D2pY00kU-BIiell5z.js} +3 -3
  12. package/dist/{vidstack-DDXt6fpN-C0zdr20i.js → vidstack-DDXt6fpN-Cq-OVONO.js} +2 -2
  13. package/dist/{vidstack-D_-9AA6_-CX-CMxXR.js → vidstack-D_-9AA6_-BKMs63U_.js} +2 -2
  14. package/dist/{vidstack-DqAw8m9J-Dy8SZiM-.js → vidstack-DqAw8m9J-DB_jJsQi.js} +1 -1
  15. package/dist/{vidstack-audio-BMocFppz.js → vidstack-audio-CU-RScBZ.js} +2 -2
  16. package/dist/{vidstack-dash-C3BuY7GK.js → vidstack-dash-DABZ0hNt.js} +4 -4
  17. package/dist/{vidstack-google-cast-DlhXEz6F.js → vidstack-google-cast-0ugJx219.js} +4 -4
  18. package/dist/{vidstack-hls-COAkdUyc.js → vidstack-hls-DZ_8ee3w.js} +4 -4
  19. package/dist/{vidstack-video-CbSdoKZV.js → vidstack-video-DMVd9jPV.js} +3 -3
  20. package/dist/{vidstack-vimeo-BEPBgLUA.js → vidstack-vimeo-D8V_lECY.js} +4 -4
  21. package/dist/{vidstack-youtube-o8duODhC.js → vidstack-youtube-ytyeMTdk.js} +3 -3
  22. package/dist/{wt-action-bar-DQ6DVWKK.js → wt-action-bar-C-FhMdoS.js} +1 -1
  23. package/dist/{wt-button-select-BMsKPdsY.js → wt-button-select-DM7H9_Qq.js} +1 -1
  24. package/dist/{wt-call-media-action-DtG2yKhK.js → wt-call-media-action-BktveywS.js} +1 -1
  25. package/dist/{wt-chat-emoji-BEPJGh0L.js → wt-chat-emoji-BVVHukIE.js} +52 -52
  26. package/dist/{wt-confirm-dialog-BWUnZUPw.js → wt-confirm-dialog-BKrqKCNl.js} +1 -1
  27. package/dist/{wt-context-menu-CEGRNk8H.js → wt-context-menu-STccjfZa.js} +1 -1
  28. package/dist/{wt-copy-action-Cvq86rpN.js → wt-copy-action-_slFIJr2.js} +1 -1
  29. package/dist/{wt-datepicker-CG6vrWum.js → wt-datepicker-CeUZ68BR.js} +1 -1
  30. package/dist/wt-display-chip-items-4Qq6XAXb.js +47 -0
  31. package/dist/{wt-dual-panel-ClS2sXTO.js → wt-dual-panel-DD25F1h8.js} +1 -1
  32. package/dist/{wt-dummy-TCGzXQUx.js → wt-dummy-jL-TifzB.js} +1 -1
  33. package/dist/{wt-error-page-Bfzt7YQO.js → wt-error-page-BaAY3DEc.js} +1 -1
  34. package/dist/{wt-expansion-card-D3qmt2Lx.js → wt-expansion-card-Bi55mx83.js} +1 -1
  35. package/dist/{wt-expansion-panel-Cn5r8dhf.js → wt-expansion-panel-SvPaiXAp.js} +1 -1
  36. package/dist/{wt-filters-panel-wrapper-CvVU4E7e.js → wt-filters-panel-wrapper-IHgYrIqi.js} +1 -1
  37. package/dist/{wt-galleria-Bg8QSKz4.js → wt-galleria-0Cu5EceM.js} +1 -1
  38. package/dist/{wt-inline-add-panel-C2e4AeS3.js → wt-inline-add-panel-5mHSPwop.js} +1 -1
  39. package/dist/{wt-navigation-menu-D4E9M79t.js → wt-navigation-menu-BYwOi0sw.js} +1 -1
  40. package/dist/{wt-notifications-bar-Del4fQi_.js → wt-notifications-bar-MHodFa-z.js} +2 -2
  41. package/dist/{wt-pagination-nHRSb5U7.js → wt-pagination-C-LZY5Gf.js} +1 -1
  42. package/dist/wt-player-CiUgE7lO.js +282 -0
  43. package/dist/{wt-screen-recordings-action-BT0ZgQLH.js → wt-screen-recordings-action-wa_Q_P9k.js} +1 -1
  44. package/dist/{wt-search-bar-pqA6zOXa.js → wt-search-bar-BYirzbSP.js} +1 -1
  45. package/dist/{wt-selection-popup-Do59gRfY.js → wt-selection-popup-CPSdKkvP.js} +1 -1
  46. package/dist/{wt-send-message-popup-D3AKRqgu.js → wt-send-message-popup-cry3UeLs.js} +3 -3
  47. package/dist/{wt-start-page-D4nLxaXj.js → wt-start-page-CCR2SYuG.js} +4 -4
  48. package/dist/{wt-status-select-CMwkUaIs.js → wt-status-select-Db32cviK.js} +1 -1
  49. package/dist/{wt-stepper-Fphla9uV.js → wt-stepper-7lg1b2tv.js} +1 -1
  50. package/dist/{wt-table-uCSY0BvC.js → wt-table-CJdVo7t9.js} +10 -10
  51. package/dist/{wt-table-actions-B4inajPG.js → wt-table-actions--i971251.js} +1 -1
  52. package/dist/{wt-table-column-select-DHEaw92W.js → wt-table-column-select-C9UkoHgS.js} +2 -2
  53. package/dist/{wt-tabs-DYV1SQZj.js → wt-tabs-BmJsgBhy.js} +1 -1
  54. package/dist/{wt-tags-input-DNpyTlG_.js → wt-tags-input-qCbdSUeX.js} +12 -12
  55. package/dist/{wt-timepicker-D73auwVG.js → wt-timepicker-ZWMcU2fB.js} +1 -1
  56. package/dist/{wt-tree-BPdJBRh5.js → wt-tree-DLBVmW7r.js} +2 -2
  57. package/dist/{wt-tree-table-BeyiGp9p.js → wt-tree-table-DrsM7KGN.js} +26 -26
  58. package/dist/{wt-type-extension-value-input-Bj7JR6iO.js → wt-type-extension-value-input-PBoLIWfP.js} +3 -3
  59. package/dist/{wt-vidstack-player-CYokOVIB.js → wt-vidstack-player-Xs3Xo-J8.js} +10 -10
  60. package/package.json +1 -1
  61. package/src/assets/icons/sprite/index.ts +10 -0
  62. package/src/assets/icons/sprite/playback-0.50.svg +5 -0
  63. package/src/assets/icons/sprite/playback-0.75.svg +6 -0
  64. package/src/assets/icons/sprite/playback-1.00.svg +3 -0
  65. package/src/assets/icons/sprite/playback-1.50.svg +5 -0
  66. package/src/assets/icons/sprite/playback-1.75.svg +6 -0
  67. package/src/components/_shared/settings-panel/components/speed-settings/speed-settings.vue +162 -0
  68. package/src/components/_shared/settings-panel/settings-panel.vue +62 -0
  69. package/src/components/wt-button/wt-button.vue +4 -4
  70. package/src/components/wt-player/src/components/buttons/play-button.vue +1 -1
  71. package/src/components/wt-player/wt-player.vue +24 -4
  72. package/src/modules/CSVExport/CSVExport.js +6 -1
  73. package/types/components/_shared/settings-panel/components/speed-settings/speed-settings.vue.d.ts +12 -0
  74. package/types/components/_shared/settings-panel/settings-panel.vue.d.ts +15 -0
  75. package/types/components/wt-player/wt-player.vue.d.ts +7 -0
  76. package/dist/wt-display-chip-items-CxRvP3Ey.js +0 -47
  77. package/dist/wt-player-DB0Rpbiz.js +0 -132
@@ -0,0 +1,62 @@
1
+ <template>
2
+ <wt-popover class="settings-panel">
3
+ <template #activator="{ toggle }">
4
+ <media-button class="settings-panel__button" @click="toggle">
5
+ <wt-icon-btn
6
+ icon="plyr-settings"
7
+ :size="ComponentSize.SM"
8
+ />
9
+ </media-button>
10
+ </template>
11
+
12
+ <speed-settings
13
+ :model-value="modelValue.playbackRate"
14
+ @update:model-value="handlePlaybackRateUpdate"
15
+ />
16
+ </wt-popover>
17
+ </template>
18
+
19
+ <script setup lang="ts">
20
+ import { WtPopover } from '../../../components';
21
+ import { ComponentSize } from '../../../enums';
22
+ import SpeedSettings from './components/speed-settings/speed-settings.vue';
23
+
24
+ export interface MediaSettings {
25
+ playbackRate: number;
26
+ }
27
+
28
+ interface Props {
29
+ modelValue: MediaSettings;
30
+ }
31
+
32
+ const props = withDefaults(defineProps<Props>(), {
33
+ modelValue: () => ({
34
+ playbackRate: 1,
35
+ }),
36
+ });
37
+
38
+ const emit = defineEmits<{
39
+ 'update:modelValue': [
40
+ value: MediaSettings,
41
+ ];
42
+ }>();
43
+
44
+ function handlePlaybackRateUpdate(playbackRate: number) {
45
+ emit('update:modelValue', {
46
+ ...props.modelValue,
47
+ playbackRate,
48
+ });
49
+ }
50
+ </script>
51
+
52
+ <style scoped>
53
+ .settings-panel {
54
+ display: flex;
55
+ }
56
+
57
+ .settings-panel__button {
58
+ display: flex;
59
+ align-items: center;
60
+ cursor: pointer;
61
+ }
62
+ </style>
@@ -42,7 +42,7 @@
42
42
 
43
43
  <wt-icon
44
44
  v-if="icon"
45
- :class="{ 'wt-button__icon--hidden': showLoader }"
45
+ :class="{ 'wt-button__icon--hidden': showLoader }"
46
46
  :icon="icon"
47
47
  :icon-prefix="iconPrefix"
48
48
  :size="iconButtonSizeMap[size]"
@@ -166,7 +166,7 @@ watch(
166
166
 
167
167
  <style>
168
168
  .wt-button {
169
- position: relative;
169
+ position: relative;
170
170
  }
171
171
 
172
172
  .p-button--with-badge {
@@ -177,9 +177,9 @@ watch(
177
177
  display: contents;
178
178
  }
179
179
 
180
- /*
180
+ /*
181
181
  @author HlukhovYe
182
- Hides the icon instantly when the loader is shown.
182
+ Hides the icon instantly when the loader is shown.
183
183
  */
184
184
  .wt-button__icon--hidden {
185
185
  opacity: 0;
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <media-play-button class="play-button">
3
- <wt-icon icon="plyr-play" type="play" class="play-icon" size="sm"/>
3
+ <wt-icon icon="plyr-play" type="play" class="play-icon" size="sm" />
4
4
  <wt-icon icon="plyr-pause" type="pause" class="pause-icon" size="sm" />
5
5
  </media-play-button>
6
6
  </template>
@@ -5,6 +5,7 @@
5
5
  :src="normalizedSrcObject"
6
6
  :loop="props.loop"
7
7
  :autoplay="autoplay"
8
+ :playback-rate="playerSettings.playbackRate"
8
9
  @ended="handleEnded"
9
10
  >
10
11
 
@@ -18,6 +19,11 @@
18
19
  <mute-button v-if="!props.hideMuteButton" />
19
20
  <volume-slider v-if="!props.hideVolumeSlider" />
20
21
 
22
+ <settings-panel
23
+ v-if="!props.hideSettings"
24
+ v-model:model-value="playerSettings"
25
+ />
26
+
21
27
  <media-button
22
28
  v-if="props.download"
23
29
  class="download-button"
@@ -25,7 +31,7 @@
25
31
  >
26
32
  <wt-icon-btn
27
33
  icon="plyr-download"
28
- size="sm"
34
+ :size="ComponentSize.SM"
29
35
  />
30
36
  </media-button>
31
37
 
@@ -36,7 +42,7 @@
36
42
  >
37
43
  <wt-icon-btn
38
44
  icon="close"
39
- size="sm"
45
+ :size="ComponentSize.SM"
40
46
  />
41
47
  </media-button>
42
48
 
@@ -50,8 +56,11 @@
50
56
  >
51
57
  import 'vidstack/bundle';
52
58
  import type { MediaSrc } from 'vidstack';
53
- import { computed, toRefs } from 'vue';
54
-
59
+ import { ref, toRefs } from 'vue';
60
+ import { ComponentSize } from '../../enums';
61
+ import SettingsPanel, {
62
+ type MediaSettings,
63
+ } from '../_shared/settings-panel/settings-panel.vue';
55
64
  import TimeGroup from '../wt-vidstack-player/components/panels/playback-controls-panel/components/time-group.vue';
56
65
  import { useVidstackSrc } from '../wt-vidstack-player/composables/useVidstackSrc';
57
66
  import MuteButton from './src/components/buttons/mute-button.vue';
@@ -117,6 +126,12 @@ interface Props {
117
126
  * @default false
118
127
  */
119
128
  hideMuteButton?: boolean;
129
+ /**
130
+ * Hide settings button
131
+ * @type {boolean}
132
+ * @default false
133
+ */
134
+ hideSettings?: boolean;
120
135
  /**
121
136
  * Shows close button
122
137
  * @type {boolean}
@@ -141,6 +156,7 @@ const props = withDefaults(defineProps<Props>(), {
141
156
  invertTime: true,
142
157
  hideVolumeSlider: false,
143
158
  hideMuteButton: false,
159
+ hideSettings: false,
144
160
  resetVolume: false,
145
161
  closable: true,
146
162
  position: 'sticky',
@@ -151,6 +167,10 @@ const emit = defineEmits<{
151
167
  close: [];
152
168
  }>();
153
169
 
170
+ const playerSettings = ref<MediaSettings>({
171
+ playbackRate: 1,
172
+ });
173
+
154
174
  const { src: srcRef } = toRefs(props);
155
175
 
156
176
  const { normalizedSrcObject } = useVidstackSrc({
@@ -85,7 +85,12 @@ export default class CSVExport {
85
85
  ...params,
86
86
  page,
87
87
  });
88
- if (!columns.length && items.length) columns = Object.keys(items[0]);
88
+ if (!columns.length && items.length) {
89
+ const keySet = new Set(items.flatMap(Object.keys));
90
+ columns = [
91
+ ...keySet,
92
+ ].filter((key) => !key.startsWith('_'));
93
+ }
89
94
 
90
95
  const options = {
91
96
  ...CSVExport._getStringifyOptions(params.delimiter),
@@ -0,0 +1,12 @@
1
+ interface Props {
2
+ modelValue?: number;
3
+ }
4
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ "update:modelValue": (value: number) => any;
6
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
7
+ "onUpdate:modelValue"?: (value: number) => any;
8
+ }>, {
9
+ modelValue: number;
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
@@ -0,0 +1,15 @@
1
+ export interface MediaSettings {
2
+ playbackRate: number;
3
+ }
4
+ interface Props {
5
+ modelValue: MediaSettings;
6
+ }
7
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ "update:modelValue": (value: MediaSettings) => any;
9
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
10
+ "onUpdate:modelValue"?: (value: MediaSettings) => any;
11
+ }>, {
12
+ modelValue: MediaSettings;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
@@ -58,6 +58,12 @@ interface Props {
58
58
  * @default false
59
59
  */
60
60
  hideMuteButton?: boolean;
61
+ /**
62
+ * Hide settings button
63
+ * @type {boolean}
64
+ * @default false
65
+ */
66
+ hideSettings?: boolean;
61
67
  /**
62
68
  * Shows close button
63
69
  * @type {boolean}
@@ -87,6 +93,7 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
87
93
  resetOnEnd: boolean;
88
94
  hideVolumeSlider: boolean;
89
95
  hideMuteButton: boolean;
96
+ hideSettings: boolean;
90
97
  position: string;
91
98
  invertTime: boolean;
92
99
  resetVolume: boolean;
@@ -1,47 +0,0 @@
1
- import { defineComponent as _, computed as c, createElementBlock as t, openBlock as s, createCommentVNode as l, renderSlot as n, createVNode as d, toDisplayString as o, createTextVNode as f, unref as m, withCtx as u, Fragment as v, renderList as k } from "vue";
2
- import { af as C, ag as I, _ as g } from "./install-CrhatfOO.js";
3
- import { E as B, d as E } from "./displayText-Cbh4IOfM.js";
4
- const S = { class: "wt-display-chip-items" }, b = { key: 0 }, w = ["onClick"], F = /* @__PURE__ */ _({
5
- __name: "wt-display-chip-items",
6
- props: {
7
- hideFirstItem: { type: Boolean },
8
- useEmptySymbol: { type: Boolean },
9
- title: {},
10
- items: {}
11
- },
12
- setup(p) {
13
- const e = p, h = c(() => e.items?.length ? e.items[0]?.name : e.useEmptySymbol ? B : ""), i = c(() => e.items?.length ? e.hideFirstItem ? e.items : e.items.slice(1) : []);
14
- return (a, N) => (s(), t("div", S, [
15
- e.title ? (s(), t("p", b, o(p.title) + ":", 1)) : l("", !0),
16
- e.hideFirstItem ? l("", !0) : n(a.$slots, "first-item", { key: 1 }, () => [
17
- f(o(m(E)(h.value)), 1)
18
- ], !0),
19
- d(m(C), null, {
20
- activator: u(({ toggle: r }) => [
21
- n(a.$slots, "activator", { toggle: r }, () => [
22
- i.value.length ? (s(), t("div", {
23
- key: 0,
24
- onClick: r
25
- }, [
26
- d(m(I), null, {
27
- default: u(() => [
28
- f(" +" + o(i.value.length), 1)
29
- ], void 0, !0),
30
- _: 1
31
- })
32
- ], 8, w)) : l("", !0)
33
- ], !0)
34
- ]),
35
- default: u(() => [
36
- n(a.$slots, "items", { items: i.value }, () => [
37
- (s(!0), t(v, null, k(i.value, ({ name: r, id: y }) => (s(), t("div", { key: y }, o(r), 1))), 128))
38
- ], !0)
39
- ]),
40
- _: 3
41
- })
42
- ]));
43
- }
44
- }), V = /* @__PURE__ */ g(F, [["__scopeId", "data-v-4c67fbb7"]]);
45
- export {
46
- V as default
47
- };
@@ -1,132 +0,0 @@
1
- import { resolveComponent as w, createElementBlock as l, openBlock as t, createVNode as o, defineComponent as p, toRefs as k, unref as z, normalizeClass as C, createElementVNode as _, createBlock as y, createCommentVNode as u } from "vue";
2
- import { u as E, T as V } from "./useVidstackSrc-6MX1IOwT.js";
3
- import { _ as i, E as f } from "./install-CrhatfOO.js";
4
- import { _ as b } from "./wt-slider.vue_vue_type_script_setup_true_lang-DlaRDHxo.js";
5
- const x = {}, S = { class: "mute-button" };
6
- function T(n, r) {
7
- const e = w("wt-icon");
8
- return t(), l("media-mute-button", S, [
9
- o(e, {
10
- type: "mute",
11
- icon: "plyr-muted",
12
- class: "mute-icon",
13
- size: "sm"
14
- }),
15
- o(e, {
16
- type: "volume",
17
- icon: "plyr-volume",
18
- class: "volume-icon",
19
- size: "sm"
20
- })
21
- ]);
22
- }
23
- const M = /* @__PURE__ */ i(x, [["render", T], ["__scopeId", "data-v-45e5719d"]]), g = { class: "play-button" }, I = /* @__PURE__ */ p({
24
- __name: "play-button",
25
- setup(n) {
26
- return (r, e) => (t(), l("media-play-button", g, [
27
- o(f, {
28
- icon: "plyr-play",
29
- type: "play",
30
- class: "play-icon",
31
- size: "sm"
32
- }),
33
- o(f, {
34
- icon: "plyr-pause",
35
- type: "pause",
36
- class: "pause-icon",
37
- size: "sm"
38
- })
39
- ]));
40
- }
41
- }), N = /* @__PURE__ */ i(I, [["__scopeId", "data-v-e79e3bf5"]]), O = { class: "time-slider media-slider" }, P = /* @__PURE__ */ p({
42
- __name: "time-slider",
43
- setup(n) {
44
- return (r, e) => (t(), l("media-time-slider", O, [
45
- o(b, { class: "time-slider__slider" })
46
- ]));
47
- }
48
- }), R = /* @__PURE__ */ i(P, [["__scopeId", "data-v-e57a9871"]]), j = { class: "volume-slider media-slider" }, F = /* @__PURE__ */ p({
49
- __name: "volume-slider",
50
- setup(n) {
51
- return (r, e) => (t(), l("media-volume-slider", j, [
52
- o(b, { class: "volume-slider__slider" })
53
- ]));
54
- }
55
- }), G = /* @__PURE__ */ i(F, [["__scopeId", "data-v-b92a4daf"]]), q = ["src", "loop", "autoplay"], A = { class: "controls-group" }, D = /* @__PURE__ */ p({
56
- __name: "wt-player",
57
- props: {
58
- src: {},
59
- id: {},
60
- fileName: {},
61
- autoplay: { type: Boolean, default: !0 },
62
- loop: { type: Boolean, default: !1 },
63
- download: { type: [String, Function, Boolean], default: () => (n) => n.replace("/stream", "/download") },
64
- resetOnEnd: { type: Boolean, default: !1 },
65
- countdownTimeMode: { type: Boolean },
66
- hideVolumeSlider: { type: Boolean, default: !1 },
67
- hideMuteButton: { type: Boolean, default: !1 },
68
- closable: { type: Boolean, default: !0 },
69
- position: { default: "sticky" },
70
- invertTime: { type: Boolean, default: !0 },
71
- resetVolume: { type: Boolean, default: !1 }
72
- },
73
- emits: ["initialized", "close"],
74
- setup(n, { emit: r }) {
75
- const e = n, { src: v } = k(e), { normalizedSrcObject: B } = E({
76
- src: v
77
- });
78
- function h() {
79
- const c = typeof e.src == "string" ? e.src : e.src?.src, s = typeof e.download == "function" ? e.download(c) : e.download, d = e.src?.type.split("/").pop(), m = e.fileName || e.id || "unknown", a = document.createElement("a");
80
- a.style.display = "none", a.href = s, a.download = `${m}.${d}`, document.body.appendChild(a), a.click(), document.body.removeChild(a);
81
- }
82
- function $(c) {
83
- if (!e.resetOnEnd) return;
84
- const s = c.target;
85
- s.currentTime = 0;
86
- }
87
- return (c, s) => {
88
- const d = w("wt-icon-btn");
89
- return t(), l("media-player", {
90
- class: C(["wt-player", `wt-player--position-${e.position}`]),
91
- src: z(B),
92
- loop: e.loop,
93
- autoplay: n.autoplay,
94
- onEnded: $
95
- }, [
96
- s[1] || (s[1] = _("media-provider", null, null, -1)),
97
- _("media-controls-group", A, [
98
- o(N),
99
- o(R),
100
- o(V, {
101
- countdown: e.countdownTimeMode
102
- }, null, 8, ["countdown"]),
103
- e.hideMuteButton ? u("", !0) : (t(), y(M, { key: 0 })),
104
- e.hideVolumeSlider ? u("", !0) : (t(), y(G, { key: 1 })),
105
- e.download ? (t(), l("media-button", {
106
- key: 2,
107
- class: "download-button",
108
- onClick: h
109
- }, [
110
- o(d, {
111
- icon: "plyr-download",
112
- size: "sm"
113
- })
114
- ])) : u("", !0),
115
- e.closable ? (t(), l("media-button", {
116
- key: 3,
117
- class: "close-button",
118
- onClick: s[0] || (s[0] = (m) => c.$emit("close"))
119
- }, [
120
- o(d, {
121
- icon: "close",
122
- size: "sm"
123
- })
124
- ])) : u("", !0)
125
- ])
126
- ], 42, q);
127
- };
128
- }
129
- }), Q = /* @__PURE__ */ i(D, [["__scopeId", "data-v-f2c0e378"]]);
130
- export {
131
- Q as default
132
- };