@webitel/ui-sdk 26.6.33 → 26.6.35

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 (177) hide show
  1. package/dist/AgentStatus.enum-C3IGHtvR.js +9 -0
  2. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
  3. package/dist/caseConverters-DXegZoCt.js +27 -0
  4. package/dist/chunk-CY3AvKd6.js +20 -0
  5. package/dist/clients-A6MHYfOX.js +36118 -0
  6. package/dist/components-B4aAS7wB.js +5391 -0
  7. package/dist/composables-DnDH-KUv.js +263 -0
  8. package/dist/convertDuration-1K7fuEpO.js +8 -0
  9. package/dist/debounce-DrmECuJ2.js +128 -0
  10. package/dist/deep-copy-CQw5yeEH.js +41 -0
  11. package/dist/displayText-CtaxzaBz.js +3 -0
  12. package/dist/dist-05Bf47Wg.js +87 -0
  13. package/dist/dist-BYiYpK00.js +7 -0
  14. package/dist/dist-Dz55hlwp.js +1371 -0
  15. package/dist/engineCallFileType-D7QVFOac.js +11 -0
  16. package/dist/enums-pbYAJNeb.js +158 -0
  17. package/dist/errors-SUXKojVW.js +69 -0
  18. package/dist/floating-ui.dom-n2j9PKCB.js +842 -0
  19. package/dist/generateInstance-ppTIeLX4.js +2582 -0
  20. package/dist/isObject-Dgs_L5xI.js +11 -0
  21. package/dist/logger-hl3ueNok.js +47 -0
  22. package/dist/prod-Cp0BjuxI.js +775 -0
  23. package/dist/prod-DSuxcp5t.js +2 -0
  24. package/dist/side-channel-Cyte-MzW.js +833 -0
  25. package/dist/sortQueryAdapters-CyYXvnDN.js +14 -0
  26. package/dist/srt-parser-DdH5U08c.js +21 -0
  27. package/dist/ssa-parser-Bjs7yDD1.js +184 -0
  28. package/dist/ui-sdk.css +2 -1
  29. package/dist/ui-sdk.js +34541 -4
  30. package/dist/ui-sdk.umd.cjs +7740 -7606
  31. package/dist/useExpansion-DVdIpoOn.js +24 -0
  32. package/dist/useValidation-DG0tifBv.js +37 -0
  33. package/dist/useVidstackSrc-DfNrFbOO.js +155 -0
  34. package/dist/useWtTable-tqmVOvve.js +12 -0
  35. package/dist/vidstack-B01xzxC4-DeYSgDZy.js +7 -0
  36. package/dist/vidstack-BGSTndAW-CyKM_CM4.js +957 -0
  37. package/dist/vidstack-BQlOPwOu-ChhdffAJ.js +43 -0
  38. package/dist/vidstack-Bq6c3Bam-3dCf_D36.js +398 -0
  39. package/dist/vidstack-C2US-gSO-DeIgENrW.js +127 -0
  40. package/dist/vidstack-C9vIqaYT-C1EgPq17.js +9 -0
  41. package/dist/vidstack-CTojmhKq-D7sZJxgm.js +30 -0
  42. package/dist/vidstack-ChQTHmIQ-nTO94M6P.js +51 -0
  43. package/dist/vidstack-Ci54COQW-CAAXpwzv.js +208 -0
  44. package/dist/vidstack-D2pY00kU-DoW028io.js +70 -0
  45. package/dist/vidstack-D5EzK014-DOe01V3H.js +14 -0
  46. package/dist/vidstack-DDXt6fpN-Don_e6LS.js +42 -0
  47. package/dist/vidstack-D_-9AA6_-Dq3APB0-.js +19 -0
  48. package/dist/vidstack-Dihypf8P-ibWMCHK-.js +12 -0
  49. package/dist/vidstack-Dm1xEU9Q-VlefmrP8.js +31 -0
  50. package/dist/vidstack-DqAw8m9J-Dk1GT3Oe.js +22 -0
  51. package/dist/vidstack-audio-B58bvsna.js +23 -0
  52. package/dist/vidstack-dash-CX-LTHx3.js +332 -0
  53. package/dist/vidstack-google-cast-Co5Q_rfL.js +361 -0
  54. package/dist/vidstack-hls-CLzdTFu6.js +269 -0
  55. package/dist/vidstack-krOAtKMi-DN1WZC3p.js +30 -0
  56. package/dist/vidstack-video-XtP8iTBc.js +151 -0
  57. package/dist/vidstack-vimeo-EzzPpggD.js +386 -0
  58. package/dist/vidstack-youtube-C1_NAfWa.js +205 -0
  59. package/dist/vue-i18n-B8Px6VcD.js +2201 -0
  60. package/dist/wt-action-bar-Ba1ZJjE_.js +85 -0
  61. package/dist/wt-button-DENbrKdy.js +785 -0
  62. package/dist/wt-button-select-BnRHgJ4i.js +80 -0
  63. package/dist/wt-call-media-action-Bkyppnsm.js +42 -0
  64. package/dist/wt-chat-emoji-wdBt1XzD.js +2208 -0
  65. package/dist/wt-confirm-dialog-DCUitG2v.js +70 -0
  66. package/dist/wt-context-menu-yW52oF-2.js +89 -0
  67. package/dist/wt-copy-action-d9gVzAsB.js +38 -0
  68. package/dist/wt-datepicker-Cnbarx_j.js +5774 -0
  69. package/dist/wt-display-chip-items-CvMM8WMk.js +34 -0
  70. package/dist/wt-dual-panel-DAhTYFS_.js +49 -0
  71. package/dist/wt-dummy-CLjhRWZ6.js +59 -0
  72. package/dist/wt-error-page-vhu4lIyF.js +62 -0
  73. package/dist/wt-expand-transition-C2p9bR4j.js +39 -0
  74. package/dist/wt-expansion-card-qsxvbtZm.js +47 -0
  75. package/dist/wt-expansion-panel-C_EXvx1d.js +40 -0
  76. package/dist/wt-filters-panel-wrapper-Cc9b3aci.js +51 -0
  77. package/dist/wt-galleria-CWXKuZTD.js +224 -0
  78. package/dist/wt-icon-action-CQlZHMDB.js +100 -0
  79. package/dist/wt-icon-btn-CjjI4cgE.js +107 -0
  80. package/dist/wt-icon-pxO7IjwV.js +1026 -0
  81. package/dist/wt-inline-add-panel-B0E4Vk2l.js +43 -0
  82. package/dist/wt-navigation-menu-CenQi_-T.js +126 -0
  83. package/dist/wt-notifications-bar-Ep1QuFZi.js +52 -0
  84. package/dist/wt-page-header-CDbd4aOh.js +59 -0
  85. package/dist/wt-pagination-BA_PZPIE.js +94 -0
  86. package/dist/wt-player-uidPXSTe.js +287 -0
  87. package/dist/wt-popover-CJZH3wMl.js +98 -0
  88. package/dist/wt-screen-recordings-action-Dg7Ts2Jt.js +37 -0
  89. package/dist/wt-search-bar-CWZdvAOf.js +123 -0
  90. package/dist/wt-selection-popup-B77UY7Yu.js +79 -0
  91. package/dist/wt-send-message-popup-D0GJMGni.js +77 -0
  92. package/dist/wt-slider-BS3SoGht.js +68 -0
  93. package/dist/wt-start-page-eN1PEokc.js +86 -0
  94. package/dist/wt-status-select-A5t6Vjm4.js +101 -0
  95. package/dist/wt-stepper-B6zpd1Uh.js +41 -0
  96. package/dist/wt-table-D0FynxIE.js +364 -0
  97. package/dist/wt-table-actions-4-peSVkc.js +63 -0
  98. package/dist/wt-table-column-select-DFF6z3a3.js +100 -0
  99. package/dist/wt-tabs-DuOgj-lZ.js +60 -0
  100. package/dist/wt-time-input-CO2cop3y.js +62 -0
  101. package/dist/wt-timepicker-BltFF1QD.js +145 -0
  102. package/dist/wt-tree-ZyoPrNOl.js +1206 -0
  103. package/dist/wt-tree-table-MLET4gIv.js +221 -0
  104. package/dist/wt-type-extension-value-input-fnNxJLsq.js +104 -0
  105. package/dist/wt-vidstack-player-DLTA9mBK.js +7440 -0
  106. package/package.json +5 -5
  107. package/src/components/wt-table-column-select/__tests__/WtTableColumnSelect.spec.js +3 -3
  108. package/src/components/wt-vidstack-player/wt-vidstack-player.vue +2 -2
  109. package/dist/contacts-C-FnP7wP.js +0 -49654
  110. package/dist/displayText-Cbh4IOfM.js +0 -5
  111. package/dist/engineCallFileType-yaadA7-2.js +0 -8
  112. package/dist/errors-CTL-RV3B.js +0 -70
  113. package/dist/index-BBLSS-t1.js +0 -50
  114. package/dist/install-DOSuNFtE.js +0 -53489
  115. package/dist/isObject-CMQJaQIp.js +0 -28
  116. package/dist/prod-BoQuiIB3.js +0 -973
  117. package/dist/srt-parser-CsN7bp5E.js +0 -26
  118. package/dist/ssa-parser-BJOOPeQF.js +0 -200
  119. package/dist/useExpansion-BrQ40HiR.js +0 -24
  120. package/dist/useVidstackSrc-MfWBq7Ef.js +0 -1341
  121. package/dist/vidstack-Bq6c3Bam-C_T8PkmG.js +0 -426
  122. package/dist/vidstack-D2pY00kU-CphVKcJq.js +0 -136
  123. package/dist/vidstack-DDXt6fpN-2lNfj8Ca.js +0 -51
  124. package/dist/vidstack-D_-9AA6_-Cyl8HzDm.js +0 -21
  125. package/dist/vidstack-Dm1xEU9Q-CXHNvShT.js +0 -30
  126. package/dist/vidstack-DqAw8m9J-C2p9K7Db.js +0 -22
  127. package/dist/vidstack-audio-BL-Sa_Ap.js +0 -28
  128. package/dist/vidstack-dash-mKhgfurw.js +0 -393
  129. package/dist/vidstack-google-cast-BGqSw2iP.js +0 -383
  130. package/dist/vidstack-hls-U5fTV3hj.js +0 -310
  131. package/dist/vidstack-krOAtKMi-C50BTxmn.js +0 -28
  132. package/dist/vidstack-video-Bxf7KDne.js +0 -164
  133. package/dist/vidstack-vimeo-MngSXtDR.js +0 -452
  134. package/dist/vidstack-youtube-Ctg91VeX.js +0 -233
  135. package/dist/wt-action-bar-DaDcqA4n.js +0 -102
  136. package/dist/wt-button-select-q_BITVhH.js +0 -105
  137. package/dist/wt-call-media-action-BkBcZN17.js +0 -60
  138. package/dist/wt-chat-emoji-BGuSgYi3.js +0 -2909
  139. package/dist/wt-confirm-dialog-C7-74ROm.js +0 -92
  140. package/dist/wt-context-menu-CzAHMaOj.js +0 -104
  141. package/dist/wt-copy-action-BpckAObd.js +0 -60
  142. package/dist/wt-datepicker-DauMnf2r.js +0 -5660
  143. package/dist/wt-display-chip-items-zcqxH89_.js +0 -47
  144. package/dist/wt-dual-panel-Cj79kJpk.js +0 -66
  145. package/dist/wt-dummy-BUHYAcsk.js +0 -104
  146. package/dist/wt-error-page-CNSqDA-o.js +0 -89
  147. package/dist/wt-expansion-card-CtcuXg6f.js +0 -56
  148. package/dist/wt-expansion-panel-BU2Hb-N2.js +0 -54
  149. package/dist/wt-filters-panel-wrapper-BlLlAixc.js +0 -75
  150. package/dist/wt-galleria-BQzGD6-3.js +0 -323
  151. package/dist/wt-inline-add-panel-fG58a6T3.js +0 -49
  152. package/dist/wt-navigation-menu-2ggfyrM_.js +0 -159
  153. package/dist/wt-notifications-bar-Epn_SA_R.js +0 -79
  154. package/dist/wt-page-header-DdsnoLgd.js +0 -115
  155. package/dist/wt-pagination-Byg79HfY.js +0 -144
  156. package/dist/wt-player-kjdJYVi3.js +0 -291
  157. package/dist/wt-popover-Di-7_rDL.js +0 -4
  158. package/dist/wt-popover.vue_vue_type_style_index_0_lang-DMDTlCgv.js +0 -81
  159. package/dist/wt-screen-recordings-action-Z3x-gI0n.js +0 -54
  160. package/dist/wt-search-bar-CxwSi-Xo.js +0 -144
  161. package/dist/wt-selection-popup-MdCfrgcd.js +0 -109
  162. package/dist/wt-send-message-popup-DklTgoGj.js +0 -579
  163. package/dist/wt-slider-BEkw4KGp.js +0 -4
  164. package/dist/wt-slider.vue_vue_type_script_setup_true_lang-DlaRDHxo.js +0 -55
  165. package/dist/wt-start-page-B59KbWqX.js +0 -99
  166. package/dist/wt-status-select-hOAr_xBg.js +0 -138
  167. package/dist/wt-stepper-CMeW3d6N.js +0 -65
  168. package/dist/wt-table-C5CLtnK5.js +0 -426
  169. package/dist/wt-table-actions-DgAfy-dd.js +0 -79
  170. package/dist/wt-table-column-select-BK5rozpI.js +0 -128
  171. package/dist/wt-tabs-Bn6rSg0s.js +0 -74
  172. package/dist/wt-time-input-DYiW0ijt.js +0 -42
  173. package/dist/wt-timepicker-CkjoLwXC.js +0 -118
  174. package/dist/wt-tree-CCvr4TTF.js +0 -2777
  175. package/dist/wt-tree-table-BWmGF3rE.js +0 -285
  176. package/dist/wt-type-extension-value-input-q5286OSO.js +0 -121
  177. package/dist/wt-vidstack-player-CTWna35Q.js +0 -9093
@@ -1,291 +0,0 @@
1
- import { defineComponent as f, computed as F, createElementBlock as u, openBlock as n, createElementVNode as y, createVNode as t, unref as d, withCtx as V, toDisplayString as I, Fragment as R, renderList as T, resolveComponent as x, createBlock as z, ref as N, toRefs as P, watch as U, normalizeClass as O, createCommentVNode as S } from "vue";
2
- import { E as $, C as c, F as h, _ as p } from "./install-DOSuNFtE.js";
3
- import { _ as D } from "./wt-popover.vue_vue_type_style_index_0_lang-DMDTlCgv.js";
4
- import { _ as E } from "./wt-slider.vue_vue_type_script_setup_true_lang-DlaRDHxo.js";
5
- import { u as j, T as G } from "./useVidstackSrc-MfWBq7Ef.js";
6
- const L = { class: "speed-settings" }, q = { class: "speed-settings__controls" }, A = { class: "speed-settings__label" }, H = { class: "speed-settings__presets" }, B = 0.25, C = 3, M = 0.25, J = /* @__PURE__ */ f({
7
- __name: "speed-settings",
8
- props: {
9
- modelValue: { default: 1 }
10
- },
11
- emits: ["update:modelValue"],
12
- setup(o, { emit: r }) {
13
- const e = o, i = r, b = [
14
- {
15
- speed: 0.5,
16
- icon: "playback-0.50"
17
- },
18
- {
19
- speed: 0.75,
20
- icon: "playback-0.75"
21
- },
22
- {
23
- speed: 1,
24
- icon: "playback-1.00"
25
- },
26
- {
27
- speed: 1.5,
28
- icon: "playback-1.50"
29
- },
30
- {
31
- speed: 1.75,
32
- icon: "playback-1.75"
33
- }
34
- ], m = F(() => `${e.modelValue.toFixed(2)}x`);
35
- function w() {
36
- const l = parseFloat((e.modelValue - M).toFixed(2)), a = Math.max(B, l);
37
- i("update:modelValue", a);
38
- }
39
- function v() {
40
- const l = parseFloat((e.modelValue + M).toFixed(2)), a = Math.min(C, l);
41
- i("update:modelValue", a);
42
- }
43
- return (l, a) => (n(), u("div", L, [
44
- y("div", q, [
45
- t($, {
46
- size: d(c).SM,
47
- disabled: o.modelValue <= B,
48
- class: "speed-settings__step-button",
49
- variant: "outlined",
50
- color: "secondary",
51
- onClick: w
52
- }, {
53
- default: V(() => [
54
- t(h, {
55
- icon: "minus",
56
- size: d(c).SM
57
- }, null, 8, ["size"])
58
- ]),
59
- _: 1
60
- }, 8, ["size", "disabled"]),
61
- y("span", A, I(m.value), 1),
62
- t($, {
63
- size: d(c).SM,
64
- disabled: o.modelValue >= C,
65
- class: "speed-settings__step-button",
66
- variant: "outlined",
67
- color: "secondary",
68
- onClick: v
69
- }, {
70
- default: V(() => [
71
- t(h, {
72
- icon: "plus",
73
- size: d(c).SM
74
- }, null, 8, ["size"])
75
- ]),
76
- _: 1
77
- }, 8, ["size", "disabled"])
78
- ]),
79
- t(E, {
80
- class: "speed-settings__slider",
81
- "model-value": o.modelValue,
82
- min: B,
83
- max: C,
84
- step: M,
85
- "onUpdate:modelValue": a[0] || (a[0] = (s) => l.$emit("update:modelValue", s))
86
- }, null, 8, ["model-value"]),
87
- y("div", H, [
88
- (n(), u(R, null, T(b, (s) => t($, {
89
- key: s.speed,
90
- size: d(c).SM,
91
- variant: "outlined",
92
- class: "speed-settings__preset-button",
93
- color: "secondary",
94
- onClick: (k) => l.$emit("update:modelValue", s.speed)
95
- }, {
96
- default: V(() => [
97
- t(h, {
98
- icon: s.icon,
99
- size: d(c).SM
100
- }, null, 8, ["icon", "size"])
101
- ]),
102
- _: 2
103
- }, 1032, ["size", "onClick"])), 64))
104
- ])
105
- ]));
106
- }
107
- }), K = /* @__PURE__ */ p(J, [["__scopeId", "data-v-8544c47d"]]), Q = ["onClick"], W = /* @__PURE__ */ f({
108
- __name: "settings-panel",
109
- props: {
110
- modelValue: { default: () => ({
111
- playbackRate: 1
112
- }) }
113
- },
114
- emits: ["update:modelValue"],
115
- setup(o, { emit: r }) {
116
- const e = o, i = r;
117
- function b(m) {
118
- i("update:modelValue", {
119
- ...e.modelValue,
120
- playbackRate: m
121
- });
122
- }
123
- return (m, w) => {
124
- const v = x("wt-icon-btn");
125
- return n(), z(D, { class: "settings-panel" }, {
126
- activator: V(({ toggle: l }) => [
127
- y("media-button", {
128
- class: "settings-panel__button",
129
- onClick: l
130
- }, [
131
- t(v, {
132
- icon: "plyr-settings",
133
- size: d(c).SM
134
- }, null, 8, ["size"])
135
- ], 8, Q)
136
- ]),
137
- default: V(() => [
138
- t(K, {
139
- "model-value": o.modelValue.playbackRate,
140
- "onUpdate:modelValue": b
141
- }, null, 8, ["model-value"])
142
- ], void 0, !0),
143
- _: 1
144
- });
145
- };
146
- }
147
- }), X = /* @__PURE__ */ p(W, [["__scopeId", "data-v-d152dae2"]]), Y = {}, Z = { class: "mute-button" };
148
- function ee(o, r) {
149
- const e = x("wt-icon");
150
- return n(), u("media-mute-button", Z, [
151
- t(e, {
152
- type: "mute",
153
- icon: "plyr-muted",
154
- class: "mute-icon",
155
- size: "sm"
156
- }),
157
- t(e, {
158
- type: "volume",
159
- icon: "plyr-volume",
160
- class: "volume-icon",
161
- size: "sm"
162
- })
163
- ]);
164
- }
165
- const te = /* @__PURE__ */ p(Y, [["render", ee], ["__scopeId", "data-v-45e5719d"]]), oe = { class: "play-button" }, se = /* @__PURE__ */ f({
166
- __name: "play-button",
167
- setup(o) {
168
- return (r, e) => (n(), u("media-play-button", oe, [
169
- t(h, {
170
- icon: "plyr-play",
171
- type: "play",
172
- class: "play-icon",
173
- size: "sm"
174
- }),
175
- t(h, {
176
- icon: "plyr-pause",
177
- type: "pause",
178
- class: "pause-icon",
179
- size: "sm"
180
- })
181
- ]));
182
- }
183
- }), ne = /* @__PURE__ */ p(se, [["__scopeId", "data-v-e6149485"]]), ae = { class: "time-slider media-slider" }, le = /* @__PURE__ */ f({
184
- __name: "time-slider",
185
- setup(o) {
186
- return (r, e) => (n(), u("media-time-slider", ae, [
187
- t(E, { class: "time-slider__slider" })
188
- ]));
189
- }
190
- }), de = /* @__PURE__ */ p(le, [["__scopeId", "data-v-e57a9871"]]), ie = { class: "volume-slider media-slider" }, ce = /* @__PURE__ */ f({
191
- __name: "volume-slider",
192
- setup(o) {
193
- return (r, e) => (n(), u("media-volume-slider", ie, [
194
- t(E, { class: "volume-slider__slider" })
195
- ]));
196
- }
197
- }), ue = /* @__PURE__ */ p(ce, [["__scopeId", "data-v-b92a4daf"]]), re = ["src", "loop", "autoplay", "playback-rate"], pe = { class: "controls-group" }, me = /* @__PURE__ */ f({
198
- __name: "wt-player",
199
- props: {
200
- src: {},
201
- id: {},
202
- fileName: {},
203
- autoplay: { type: Boolean, default: !0 },
204
- loop: { type: Boolean, default: !1 },
205
- download: { type: [String, Function, Boolean], default: () => (o) => o.replace("/stream", "/download") },
206
- resetOnEnd: { type: Boolean, default: !1 },
207
- countdownTimeMode: { type: Boolean },
208
- hideVolumeSlider: { type: Boolean, default: !1 },
209
- hideMuteButton: { type: Boolean, default: !1 },
210
- hideSettings: { type: Boolean, default: !1 },
211
- closable: { type: Boolean, default: !0 },
212
- position: { default: "sticky" },
213
- invertTime: { type: Boolean, default: !0 },
214
- resetVolume: { type: Boolean, default: !1 }
215
- },
216
- emits: ["initialized", "close"],
217
- setup(o, { emit: r }) {
218
- const e = o, i = N({
219
- playbackRate: 1
220
- }), { src: b } = P(e), { normalizedSrcObject: m } = j({
221
- src: b
222
- });
223
- function w() {
224
- const a = typeof e.src == "string" ? e.src : e.src?.src, s = typeof e.download == "function" ? e.download(a) : e.download, k = e.src?.type.split("/").pop(), g = e.fileName || e.id || "unknown", _ = document.createElement("a");
225
- _.style.display = "none", _.href = s, _.download = `${g}.${k}`, document.body.appendChild(_), _.click(), document.body.removeChild(_);
226
- }
227
- function v(a) {
228
- if (!e.resetOnEnd) return;
229
- const s = a.target;
230
- s.currentTime = 0;
231
- }
232
- function l() {
233
- i.value.playbackRate = 1;
234
- }
235
- return U(
236
- () => e.src,
237
- () => {
238
- l();
239
- }
240
- ), (a, s) => {
241
- const k = x("wt-icon-btn");
242
- return n(), u("media-player", {
243
- class: O(["wt-player", `wt-player--position-${e.position}`]),
244
- src: d(m),
245
- loop: e.loop,
246
- autoplay: o.autoplay,
247
- "playback-rate": i.value.playbackRate,
248
- onEnded: v
249
- }, [
250
- s[2] || (s[2] = y("media-provider", null, null, -1)),
251
- y("media-controls-group", pe, [
252
- t(ne),
253
- t(de),
254
- t(G, {
255
- countdown: e.countdownTimeMode
256
- }, null, 8, ["countdown"]),
257
- e.hideMuteButton ? S("", !0) : (n(), z(te, { key: 0 })),
258
- e.hideVolumeSlider ? S("", !0) : (n(), z(ue, { key: 1 })),
259
- e.hideSettings ? S("", !0) : (n(), z(X, {
260
- key: 2,
261
- "model-value": i.value,
262
- "onUpdate:modelValue": s[0] || (s[0] = (g) => i.value = g)
263
- }, null, 8, ["model-value"])),
264
- e.download ? (n(), u("media-button", {
265
- key: 3,
266
- class: "download-button",
267
- onClick: w
268
- }, [
269
- t(k, {
270
- icon: "plyr-download",
271
- size: d(c).SM
272
- }, null, 8, ["size"])
273
- ])) : S("", !0),
274
- e.closable ? (n(), u("media-button", {
275
- key: 4,
276
- class: "close-button",
277
- onClick: s[1] || (s[1] = (g) => a.$emit("close"))
278
- }, [
279
- t(k, {
280
- icon: "close",
281
- size: d(c).SM
282
- }, null, 8, ["size"])
283
- ])) : S("", !0)
284
- ])
285
- ], 42, re);
286
- };
287
- }
288
- }), ke = /* @__PURE__ */ p(me, [["__scopeId", "data-v-b4642a75"]]);
289
- export {
290
- ke as default
291
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./wt-popover.vue_vue_type_style_index_0_lang-DMDTlCgv.js";
2
- export {
3
- f as default
4
- };
@@ -1,81 +0,0 @@
1
- import { onMounted as m, onBeforeUnmount as y, defineComponent as b, useAttrs as k, useTemplateRef as x, resolveComponent as g, createElementBlock as h, openBlock as w, renderSlot as i, createVNode as B, normalizeProps as p, guardReactiveProps as c, mergeProps as E, unref as v, toHandlers as P, withCtx as L } from "vue";
2
- const z = (e) => {
3
- const a = (s) => {
4
- if (!s.target?.closest(".p-select-overlay, .p-multiselect-overlay")) return;
5
- const n = e.value?.outsideClickListener;
6
- n && (document.removeEventListener("click", n), document.addEventListener(
7
- "click",
8
- () => {
9
- document.addEventListener("click", n);
10
- },
11
- {
12
- once: !0,
13
- capture: !1
14
- }
15
- ));
16
- };
17
- m(
18
- () => document.addEventListener("pointerdown", a, !0)
19
- ), y(
20
- () => document.removeEventListener("pointerdown", a, !0)
21
- );
22
- }, C = /* @__PURE__ */ b({
23
- __name: "wt-popover",
24
- props: {
25
- disabled: { type: Boolean, default: !1 },
26
- dismissable: { type: Boolean },
27
- appendTo: { default: "body" },
28
- baseZIndex: { default: 0 },
29
- autoZIndex: { type: Boolean, default: !0 },
30
- breakpoints: { default: null },
31
- dt: { default: null },
32
- pt: { default: null },
33
- ptOptions: { default: null },
34
- unstyled: { type: Boolean, default: !1 },
35
- closeOnEscape: { type: Boolean, default: !0 }
36
- },
37
- emits: ["show", "hide"],
38
- setup(e, { expose: a }) {
39
- const s = k(), o = x("innerPopover"), n = e;
40
- z(o);
41
- const d = (t, l) => {
42
- n.disabled || o.value?.toggle(t, l ?? void 0);
43
- }, u = (t, l) => {
44
- n.disabled || o.value?.show(t, l ?? void 0);
45
- }, r = (t) => {
46
- o.value?.hide(t);
47
- };
48
- return a({
49
- toggle: d,
50
- show: u,
51
- hide: r
52
- }), (t, l) => {
53
- const f = g("p-popover");
54
- return w(), h("div", null, [
55
- i(t.$slots, "activator", p(c({ show: u, toggle: d, hide: r }))),
56
- B(f, E(v(s), {
57
- ref_key: "innerPopover",
58
- ref: o
59
- }, {
60
- "append-to": e.appendTo,
61
- "base-z-index": e.baseZIndex,
62
- "auto-z-index": e.autoZIndex,
63
- breakpoints: e.breakpoints,
64
- dt: e.dt,
65
- pt: e.pt,
66
- "pt-options": e.ptOptions,
67
- "close-on-escape": e.closeOnEscape,
68
- unstyled: e.unstyled
69
- }, P(v(s))), {
70
- default: L(() => [
71
- i(t.$slots, "default", p(c({ hide: r, toggle: d })))
72
- ], void 0, !0),
73
- _: 3
74
- }, 16, ["append-to", "base-z-index", "auto-z-index", "breakpoints", "dt", "pt", "pt-options", "close-on-escape", "unstyled"])
75
- ]);
76
- };
77
- }
78
- });
79
- export {
80
- C as _
81
- };
@@ -1,54 +0,0 @@
1
- import { defineComponent as x, computed as h, resolveComponent as i, createElementBlock as C, openBlock as r, createVNode as a, createElementVNode as p, withCtx as l, createTextVNode as k, toDisplayString as _, createBlock as y, createCommentVNode as E, unref as S } from "vue";
2
- import { E as m } from "./engineCallFileType-yaadA7-2.js";
3
- import { E as T } from "./displayText-Cbh4IOfM.js";
4
- import { _ as B } from "./install-DOSuNFtE.js";
5
- const N = { class: "wt-screen-recordings-action" }, V = { class: "wt-screen-recordings-action__option" }, F = /* @__PURE__ */ x({
6
- __name: "wt-screen-recordings-action",
7
- props: {
8
- files: {}
9
- },
10
- emits: ["set-video"],
11
- setup(d, { emit: u }) {
12
- const v = d, w = u, t = h(
13
- () => v?.files?.[m.FileTypeScreensharing]?.map(
14
- ({ name: e, id: s, mimeType: o, type: n }) => ({
15
- text: e,
16
- id: s,
17
- mimeType: o,
18
- type: n
19
- })
20
- )
21
- ), f = ({ option: e }) => {
22
- e.id && e.type === m.FileTypeScreensharing && w("set-video", e);
23
- };
24
- return (e, s) => {
25
- const o = i("wt-icon-btn"), n = i("wt-icon"), g = i("wt-context-menu");
26
- return r(), C("div", N, [
27
- a(g, {
28
- options: t.value,
29
- "max-width": "400px",
30
- onClick: f
31
- }, {
32
- activator: l(({ toggle: c }) => [
33
- t.value?.length ? (r(), y(o, {
34
- key: 0,
35
- icon: "preview-tag-video",
36
- onClick: c
37
- }, null, 8, ["onClick"])) : E("", !0)
38
- ]),
39
- option: l(({ text: c }) => [
40
- p("div", V, [
41
- a(n, { icon: "preview-tag-video" }),
42
- k(" " + _(c), 1)
43
- ])
44
- ]),
45
- _: 1
46
- }, 8, ["options"]),
47
- p("p", null, _(t.value?.length || S(T)), 1)
48
- ]);
49
- };
50
- }
51
- }), A = /* @__PURE__ */ B(F, [["__scopeId", "data-v-a1fa5099"]]);
52
- export {
53
- A as default
54
- };
@@ -1,144 +0,0 @@
1
- import { defineComponent as O, toRefs as $, computed as _, resolveComponent as o, resolveDirective as A, createBlock as s, openBlock as d, unref as a, normalizeClass as E, createSlots as U, withCtx as n, createVNode as p, createElementVNode as j, createCommentVNode as m, renderSlot as z, createTextVNode as K, toDisplayString as W, withDirectives as H } from "vue";
2
- import { z as P, D as R, _ as T } from "./install-DOSuNFtE.js";
3
- const q = { class: "wt-search-bar__icon-controls" }, F = /* @__PURE__ */ O({
4
- __name: "wt-search-bar",
5
- props: {
6
- v: {
7
- type: Object
8
- },
9
- customValidators: {
10
- type: Array,
11
- default: () => []
12
- },
13
- /**
14
- * Current search-bar value (`v-model`)
15
- */
16
- value: {
17
- type: String,
18
- default: ""
19
- },
20
- /**
21
- * search-bar placeholder
22
- */
23
- placeholder: {
24
- type: String
25
- },
26
- hint: {
27
- type: String,
28
- description: 'Adds hint icon + tooltip with text, passed as "hint" prop'
29
- },
30
- searchMode: {
31
- type: [
32
- String,
33
- Object
34
- ]
35
- },
36
- searchModeOptions: {
37
- type: Array,
38
- default: () => []
39
- },
40
- /**
41
- * When true, width is unset (parent controls width). When false, uses --wt-search-bar-width.
42
- */
43
- fullWidth: {
44
- type: Boolean,
45
- default: !1
46
- }
47
- },
48
- emits: ["input", "search", "enter", "update:search-mode", "change:search-mode"],
49
- setup(t, { emit: k }) {
50
- const c = t, l = k, { v: f, customValidators: v } = $(c), { invalid: i } = P({
51
- v: f,
52
- customValidators: v
53
- }), u = _(
54
- () => i.value ? "error" : "default"
55
- ), S = _(
56
- () => c.value || c.searchMode || c.hint
57
- ), w = R((e) => {
58
- l("search", e);
59
- }, 1e3);
60
- function h(e) {
61
- l("input", e), w(e);
62
- }
63
- function g(e) {
64
- e.key === "Enter" ? (w(e.target.value), e.preventDefault()) : e.key === "Esc" && (h(""), e.preventDefault());
65
- }
66
- function x({ option: e }) {
67
- l("update:search-mode", e), l("change:search-mode", e);
68
- }
69
- return (e, y) => {
70
- const C = o("wt-icon"), b = o("wt-icon-btn"), M = o("wt-hint"), V = o("wt-radio"), B = o("wt-context-menu"), D = o("wt-input-text"), I = A("tooltip");
71
- return d(), s(D, {
72
- "model-value": t.value,
73
- placeholder: t.placeholder || e.$t("webitelUI.searchBar.placeholder"),
74
- invalid: a(i),
75
- class: E(["wt-search-bar", { "wt-search-bar--full-width": t.fullWidth }]),
76
- type: "search",
77
- v: a(f),
78
- "custom-validators": a(v),
79
- "onUpdate:modelValue": h,
80
- onKeyup: g
81
- }, U({
82
- prefix: n(() => [
83
- p(C, {
84
- color: u.value,
85
- icon: t.searchMode?.icon || "search"
86
- }, null, 8, ["color", "icon"])
87
- ]),
88
- _: 2
89
- }, [
90
- S.value ? {
91
- name: "suffix",
92
- fn: n(() => [
93
- j("div", q, [
94
- t.value ? (d(), s(b, {
95
- key: 0,
96
- color: u.value,
97
- class: "wt-search-bar__reset-icon-btn",
98
- icon: "close",
99
- onClick: y[0] || (y[0] = (r) => h(""))
100
- }, null, 8, ["color"])) : m("", !0),
101
- t.hint ? (d(), s(M, {
102
- key: 1,
103
- "icon-color": u.value
104
- }, {
105
- default: n(() => [
106
- K(W(t.hint), 1)
107
- ], void 0, !0),
108
- _: 1
109
- }, 8, ["icon-color"])) : m("", !0),
110
- t.searchMode ? (d(), s(B, {
111
- key: 2,
112
- options: t.searchModeOptions,
113
- onClick: x
114
- }, {
115
- activator: n(({ toggle: r }) => [
116
- H(p(b, {
117
- color: a(i) ? "error" : "default",
118
- icon: "filter",
119
- onClick: r
120
- }, null, 8, ["color", "onClick"]), [
121
- [I, e.$t("webitelUI.searchBar.settingsHint")]
122
- ])
123
- ]),
124
- option: n(({ value: r, text: N }) => [
125
- p(V, {
126
- label: N,
127
- selected: (typeof t.searchMode == "string" ? t.searchMode : t.searchMode.value) === r,
128
- value: !0
129
- }, null, 8, ["label", "selected"])
130
- ]),
131
- _: 1
132
- }, 8, ["options"])) : m("", !0),
133
- z(e.$slots, "additional-actions", { invalid: a(i) }, void 0, !0)
134
- ])
135
- ]),
136
- key: "0"
137
- } : void 0
138
- ]), 1032, ["model-value", "placeholder", "invalid", "class", "v", "custom-validators"]);
139
- };
140
- }
141
- }), L = /* @__PURE__ */ T(F, [["__scopeId", "data-v-0b6f18a7"]]);
142
- export {
143
- L as default
144
- };
@@ -1,109 +0,0 @@
1
- import { resolveComponent as i, resolveDirective as $, createBlock as r, openBlock as t, mergeProps as x, withCtx as c, createVNode as f, createTextVNode as a, toDisplayString as s, unref as w, createElementVNode as h, renderSlot as k, createElementBlock as d, Fragment as z, renderList as D, normalizeClass as E, createCommentVNode as p, withDirectives as I } from "vue";
2
- import { _ as O, B as P } from "./install-DOSuNFtE.js";
3
- const j = { class: "wt-selection-popup__options" }, A = ["onClick"], F = { class: "wt-selection-popup__item-header typo-subtitle-2" }, L = {
4
- key: 1,
5
- class: "popup-options__item-text"
6
- }, T = {
7
- __name: "wt-selection-popup",
8
- props: {
9
- /**
10
- * Popup title
11
- */
12
- title: {
13
- type: String
14
- },
15
- /**
16
- * Selected value. The scheme repeats attribute `option` from `options`
17
- */
18
- selected: {
19
- type: Object
20
- },
21
- /**
22
- * All displayed values. Should have following schema: `{ value: '', title: '', description: '', icon: ''}`
23
- */
24
- options: {
25
- type: Array,
26
- default: () => []
27
- }
28
- },
29
- emits: [
30
- "change",
31
- "add",
32
- "close"
33
- ],
34
- setup(o, { emit: v }) {
35
- const y = o, l = v, { t: u } = P();
36
- function b() {
37
- l("add", y.selected);
38
- }
39
- function _() {
40
- l("close");
41
- }
42
- function C(n) {
43
- l("change", n);
44
- }
45
- return (n, q) => {
46
- const g = i("wt-icon"), B = i("wt-icon-btn"), m = i("wt-button"), N = i("wt-popup"), S = $("tooltip");
47
- return t(), r(N, x(n.$attrs, {
48
- class: "wt-selection-popup",
49
- overflow: "",
50
- size: "sm"
51
- }, { onClose: _ }), {
52
- title: c(() => [
53
- a(s(o.title), 1)
54
- ]),
55
- main: c(() => [
56
- h("ul", j, [
57
- (t(!0), d(z, null, D(o.options, (e, V) => (t(), d("li", {
58
- key: V,
59
- class: E([{ active: e.value === o.selected.value }, "wt-selection-popup__item-wrapper"]),
60
- onClick: (G) => C(e)
61
- }, [
62
- k(n.$slots, "option", { option: e }, () => [
63
- e.icon ? (t(), r(g, {
64
- key: 0,
65
- icon: e.icon,
66
- size: "sm"
67
- }, null, 8, ["icon"])) : p("", !0),
68
- h("h4", F, s(e.title), 1),
69
- e.description ? (t(), d("p", L, s(e.description), 1)) : p("", !0),
70
- e.description ? I((t(), r(B, {
71
- key: 2,
72
- color: "info",
73
- icon: "rounded-info"
74
- }, null, 512)), [
75
- [S, e.description]
76
- ]) : p("", !0)
77
- ], !0)
78
- ], 10, A))), 128))
79
- ]),
80
- k(n.$slots, "after-section", {}, void 0, !0)
81
- ]),
82
- actions: c(() => [
83
- f(m, {
84
- disabled: !o.selected,
85
- onClick: b
86
- }, {
87
- default: c(() => [
88
- a(s(w(u)("reusable.create")), 1)
89
- ], void 0, !0),
90
- _: 1
91
- }, 8, ["disabled"]),
92
- f(m, {
93
- color: "secondary",
94
- onClick: _
95
- }, {
96
- default: c(() => [
97
- a(s(w(u)("reusable.close")), 1)
98
- ], void 0, !0),
99
- _: 1
100
- })
101
- ]),
102
- _: 3
103
- }, 16);
104
- };
105
- }
106
- }, K = /* @__PURE__ */ O(T, [["__scopeId", "data-v-d7ed7032"]]);
107
- export {
108
- K as default
109
- };