@webitel/ui-sdk 26.2.70 → 26.2.72

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 (97) hide show
  1. package/dist/{errors-DCJKAXTz.js → errors-CTL-RV3B.js} +1 -1
  2. package/dist/{index-B71drQtj.js → index-DWA4o3XJ.js} +4 -4
  3. package/dist/{index-cVwBpL1P.js → index-pMfSnCae.js} +1 -1
  4. package/dist/{install-BEn6vjFW.js → install-UIKG1ERr.js} +9496 -8874
  5. package/dist/{isObject-DB0eH0MA.js → isObject-B3V85Sws.js} +1 -1
  6. package/dist/prod-BoQuiIB3.js +973 -0
  7. package/dist/srt-parser-CsN7bp5E.js +26 -0
  8. package/dist/ssa-parser-BJOOPeQF.js +200 -0
  9. package/dist/ui-sdk.css +1 -1
  10. package/dist/ui-sdk.js +1 -1
  11. package/dist/ui-sdk.umd.cjs +464 -482
  12. package/dist/vidstack-Bq6c3Bam-pb8Xltql.js +425 -0
  13. package/dist/vidstack-D2pY00kU-DiDeMWBZ.js +135 -0
  14. package/dist/vidstack-DDXt6fpN-BJpO5v6W.js +50 -0
  15. package/dist/vidstack-D_-9AA6_-D9IZ6RtF.js +20 -0
  16. package/dist/{vidstack-Dm1xEU9Q-qSXq3AI-.js → vidstack-Dm1xEU9Q-CXHNvShT.js} +10 -11
  17. package/dist/vidstack-DqAw8m9J-R8izgrMK.js +22 -0
  18. package/dist/vidstack-audio-RReC5vyt.js +28 -0
  19. package/dist/vidstack-dash-DW7Ue8Mf.js +392 -0
  20. package/dist/vidstack-google-cast-C0U2wzqB.js +382 -0
  21. package/dist/vidstack-hls-BZgfDsGk.js +309 -0
  22. package/dist/vidstack-krOAtKMi-C50BTxmn.js +28 -0
  23. package/dist/vidstack-video-CI2rq89j.js +163 -0
  24. package/dist/vidstack-vimeo-CgwZpCSk.js +451 -0
  25. package/dist/vidstack-youtube-BYXk8CK9.js +232 -0
  26. package/dist/{wt-action-bar-ColV1kXE.js → wt-action-bar-DR8FqGoN.js} +1 -1
  27. package/dist/{wt-button-select-CfoSEYMj.js → wt-button-select-DZ_mMZr7.js} +1 -1
  28. package/dist/{wt-chat-emoji-Bgv9Viz-.js → wt-chat-emoji-Bx7YenHF.js} +6 -11
  29. package/dist/{wt-confirm-dialog-bVhuyR-Q.js → wt-confirm-dialog-Bmt7hVhO.js} +1 -1
  30. package/dist/{wt-context-menu-Cd8pgBRV.js → wt-context-menu-DEonPBI7.js} +1 -1
  31. package/dist/{wt-copy-action-jjp1mO2h.js → wt-copy-action-DQZ5qUUm.js} +1 -1
  32. package/dist/wt-datepicker-DRUiK--W.js +5660 -0
  33. package/dist/wt-display-chip-items-x25aFJxY.js +46 -0
  34. package/dist/{wt-dual-panel-DJsiR6RF.js → wt-dual-panel-0fDOCrlS.js} +1 -1
  35. package/dist/{wt-dummy-O94iGdZS.js → wt-dummy-CFcLvVwn.js} +1 -1
  36. package/dist/{wt-error-page-xgSWJ65z.js → wt-error-page-CebFt3Gg.js} +1 -1
  37. package/dist/{wt-expansion-panel-vzG02b62.js → wt-expansion-panel-cJWQaqAc.js} +1 -1
  38. package/dist/{wt-filters-panel-wrapper-h-UaAMuF.js → wt-filters-panel-wrapper-4-k7czbS.js} +1 -1
  39. package/dist/wt-galleria-Ds-HZvJq.js +322 -0
  40. package/dist/{wt-navigation-menu-Cu5Y9kua.js → wt-navigation-menu-DqnvQB3G.js} +2 -5
  41. package/dist/wt-notifications-bar-Bmww4vJb.js +79 -0
  42. package/dist/{wt-page-header-DlRrRzG7.js → wt-page-header-6lJKDnEs.js} +1 -1
  43. package/dist/{wt-pagination-CW46I4u2.js → wt-pagination-D7BhUkrI.js} +1 -1
  44. package/dist/{wt-player-3qh_Jzm2.js → wt-player-Bx_9-9R6.js} +1 -1
  45. package/dist/{wt-popover-BTG5bUP0.js → wt-popover-U7JE0uoX.js} +19 -22
  46. package/dist/{wt-search-bar-CTsNf7bp.js → wt-search-bar-BfHsofcU.js} +25 -28
  47. package/dist/{wt-selection-popup-DvaUvY4O.js → wt-selection-popup-B5Wt1WQk.js} +1 -1
  48. package/dist/{wt-start-page-CcN7JC_u.js → wt-start-page-8ywFCoUJ.js} +7 -7
  49. package/dist/{wt-status-select-C8t0cgTg.js → wt-status-select-CFdNgbIP.js} +1 -1
  50. package/dist/{wt-stepper-BLb42q2I.js → wt-stepper-59a_rP7o.js} +1 -1
  51. package/dist/{wt-table-9gmsV0Y9.js → wt-table-DuxjiiFi.js} +111 -114
  52. package/dist/{wt-table-actions-BB7AH7sR.js → wt-table-actions-CsrvF6d8.js} +1 -1
  53. package/dist/{wt-table-column-select-B3lrCEaV.js → wt-table-column-select-Zga4Zyfd.js} +28 -31
  54. package/dist/{wt-tabs-CCHi_E1a.js → wt-tabs-CMMlNgqE.js} +1 -1
  55. package/dist/{wt-tags-input-DLicKjv3.js → wt-tags-input-O1wer3-w.js} +56 -57
  56. package/dist/{wt-timepicker-B9ONDzNQ.js → wt-timepicker-BscP21YM.js} +1 -1
  57. package/dist/{wt-tree-cQlvJmh5.js → wt-tree-BRPd5QbE.js} +4 -5
  58. package/dist/{wt-tree-table-B89YKiMf.js → wt-tree-table-CZQ7xmja.js} +5 -5
  59. package/dist/{wt-type-extension-value-input-Da8FXLDs.js → wt-type-extension-value-input-DZqeSLGx.js} +214 -218
  60. package/dist/wt-vidstack-player-CA18U-L9.js +10229 -0
  61. package/package.json +5 -5
  62. package/src/components/wt-button/wt-button.vue +9 -13
  63. package/src/install.ts +0 -1
  64. package/src/locale/i18n.js +1 -1
  65. package/src/modules/Notifications/store/NotificationsStoreModule.js +1 -1
  66. package/src/modules/Userinfo/classes/ApplicationsAccess.ts +36 -3
  67. package/src/modules/Userinfo/scripts/utils.ts +2 -22
  68. package/src/modules/Userinfo/stores/accessStore.ts +20 -5
  69. package/src/modules/Userinfo/types/UserAccess.d.ts +11 -3
  70. package/types/locale/i18n.d.ts +1 -1
  71. package/types/modules/Notifications/store/NotificationsStoreModule.d.ts +1 -1
  72. package/types/modules/Userinfo/classes/ApplicationsAccess.d.ts +34 -243
  73. package/types/modules/Userinfo/scripts/utils.d.ts +1 -2
  74. package/types/modules/Userinfo/stores/accessStore.d.ts +1 -1
  75. package/types/modules/Userinfo/stores/userinfoStore.d.ts +21 -9
  76. package/dist/prod-DTLJXtPo.js +0 -994
  77. package/dist/srt-parser-CWqahKwO.js +0 -27
  78. package/dist/ssa-parser-BqjjKy4M.js +0 -209
  79. package/dist/vidstack-Bq6c3Bam-w5y-QQDX.js +0 -413
  80. package/dist/vidstack-D2pY00kU-BI5rYx7p.js +0 -138
  81. package/dist/vidstack-DDXt6fpN-QZPrP2dy.js +0 -60
  82. package/dist/vidstack-D_-9AA6_-Bo1xPN-G.js +0 -20
  83. package/dist/vidstack-DqAw8m9J-DL7LzrFt.js +0 -29
  84. package/dist/vidstack-audio-lX1O0fza.js +0 -32
  85. package/dist/vidstack-dash-BQkRGWe_.js +0 -403
  86. package/dist/vidstack-google-cast-C39n-PU1.js +0 -377
  87. package/dist/vidstack-hls-BCLhCuNJ.js +0 -324
  88. package/dist/vidstack-krOAtKMi-B4IZWKdc.js +0 -29
  89. package/dist/vidstack-video-BgayrEIC.js +0 -181
  90. package/dist/vidstack-vimeo-Lpe7iySs.js +0 -437
  91. package/dist/vidstack-youtube-Dmcz0xVm.js +0 -236
  92. package/dist/vuex.esm-bundler-tZVctzTj.js +0 -950
  93. package/dist/wt-datepicker-Cs3xDzVq.js +0 -5789
  94. package/dist/wt-display-chip-items-IqNMxa_X.js +0 -52
  95. package/dist/wt-galleria-cDjsiOcp.js +0 -324
  96. package/dist/wt-notifications-bar-KNH47kZ7.js +0 -80
  97. package/dist/wt-vidstack-player-BzFbIwCa.js +0 -10250
@@ -0,0 +1,322 @@
1
+ import { ref as k, onMounted as P, onUnmounted as D, useAttrs as Z, computed as $, resolveComponent as w, createBlock as A, openBlock as y, mergeProps as j, unref as i, withCtx as s, createVNode as a, createTextVNode as x, toDisplayString as g, createElementVNode as m, renderSlot as J, defineComponent as K, mergeModels as B, useModel as S, watch as F, nextTick as Q, createElementBlock as L, Fragment as W, createCommentVNode as q, normalizeClass as M, withDirectives as X, vShow as Y } from "vue";
2
+ import { _ as ee, B as te } from "./install-UIKG1ERr.js";
3
+ const le = () => {
4
+ const e = k(!1), c = () => {
5
+ e.value ? l() : v();
6
+ }, t = () => {
7
+ e.value = !e.value;
8
+ }, v = () => {
9
+ const o = document.querySelector(".p-galleria");
10
+ o.requestFullscreen ? o.requestFullscreen() : o.mozRequestFullScreen ? o.mozRequestFullScreen() : o.webkitRequestFullscreen ? o.webkitRequestFullscreen() : o.msRequestFullscreen && o.msRequestFullscreen();
11
+ }, l = () => {
12
+ document.exitFullscreen ? document.exitFullscreen() : document.mozCancelFullScreen ? document.mozCancelFullScreen() : document.webkitExitFullscreen ? document.webkitExitFullscreen() : document.msExitFullscreen && document.msExitFullscreen();
13
+ }, n = () => {
14
+ document.addEventListener("fullscreenchange", t), document.addEventListener("mozfullscreenchange", t), document.addEventListener("webkitfullscreenchange", t), document.addEventListener("msfullscreenchange", t);
15
+ }, r = () => {
16
+ document.removeEventListener("fullscreenchange", t), document.removeEventListener("mozfullscreenchange", t), document.removeEventListener("webkitfullscreenchange", t), document.removeEventListener("msfullscreenchange", t);
17
+ };
18
+ return P(() => {
19
+ n();
20
+ }), D(() => {
21
+ r();
22
+ }), {
23
+ fullScreen: e,
24
+ toggleFullScreen: c
25
+ };
26
+ }, ne = (e) => {
27
+ const c = ({ target: l }) => {
28
+ l.classList.contains("p-galleria-mask") && (e.value = !1);
29
+ };
30
+ return {
31
+ listenMaskElementClick: () => {
32
+ document.querySelector(".p-galleria-mask")?.addEventListener("click", c);
33
+ },
34
+ removeMaskElementClick: () => {
35
+ document.querySelector(".p-galleria-mask")?.removeEventListener("click", c);
36
+ }
37
+ };
38
+ }, oe = () => {
39
+ const e = k(!1), c = k(null), t = k(null);
40
+ function v({ deleted: n, callback: r }) {
41
+ Array.isArray(n) ? c.value = n.length : c.value = 1, e.value = !0, t.value = r;
42
+ }
43
+ function l() {
44
+ e.value = !1;
45
+ }
46
+ return {
47
+ isVisible: e,
48
+ deleteCount: c,
49
+ deleteCallback: t,
50
+ askDeleteConfirmation: v,
51
+ closeDelete: l
52
+ };
53
+ }, ae = { class: "delete-confirmation-popup__content" }, ie = { class: "delete-confirmation-popup__message" }, se = {
54
+ __name: "delete-confirmation-popup",
55
+ props: {
56
+ deleteCount: {
57
+ type: Number,
58
+ required: !0
59
+ },
60
+ callback: {
61
+ type: Function,
62
+ required: !0
63
+ }
64
+ },
65
+ emits: [
66
+ "close"
67
+ ],
68
+ setup(e, { emit: c }) {
69
+ const t = e, v = Z(), { t: l } = te(), n = $(() => t.deleteCount === 0 ? l("webitelUI.deleteConfirmationPopup.tableAskingAlert", 2, null, {
70
+ count: l("webitelUI.deleteConfirmationPopup.deleteAll")
71
+ }) : l(
72
+ "webitelUI.deleteConfirmationPopup.tableAskingAlert",
73
+ {
74
+ count: t.deleteCount
75
+ },
76
+ null
77
+ ));
78
+ return (r, o) => {
79
+ const _ = w("wt-icon"), u = w("wt-button"), h = w("wt-confirm-dialog");
80
+ return y(), A(h, j(i(v), {
81
+ class: "delete-confirmation-popup",
82
+ title: r.$t("webitelUI.deleteConfirmationPopup.title"),
83
+ callback: e.callback,
84
+ onClose: o[0] || (o[0] = (b) => r.$emit("close"))
85
+ }), {
86
+ main: s(() => [
87
+ m("div", ae, [
88
+ a(_, {
89
+ color: "error",
90
+ icon: "attention"
91
+ }),
92
+ m("p", ie, [
93
+ J(r.$slots, "deleteMessage", {}, () => [
94
+ x(g(n.value), 1)
95
+ ], !0)
96
+ ])
97
+ ])
98
+ ]),
99
+ actions: s(({ isDeleting: b, close: C, confirm: I }) => [
100
+ a(u, {
101
+ loading: b,
102
+ onClick: I
103
+ }, {
104
+ default: s(() => [
105
+ x(g(r.$t("vocabulary.yes")), 1)
106
+ ], void 0, !0),
107
+ _: 1
108
+ }, 8, ["loading", "onClick"]),
109
+ a(u, {
110
+ disabled: b,
111
+ color: "secondary",
112
+ onClick: C
113
+ }, {
114
+ default: s(() => [
115
+ x(g(r.$t("vocabulary.no")), 1)
116
+ ], void 0, !0),
117
+ _: 1
118
+ }, 8, ["disabled", "onClick"])
119
+ ]),
120
+ _: 3
121
+ }, 16, ["title", "callback"]);
122
+ };
123
+ }
124
+ }, ce = /* @__PURE__ */ ee(se, [["__scopeId", "data-v-95c498c1"]]), re = ["src", "alt"], ue = ["src", "alt"], de = { class: "wt-galleria__footer" }, me = {
125
+ key: 0,
126
+ class: "wt-galleria__footer-info"
127
+ }, ve = { class: "wt-galleria__footer-actions" }, ge = /* @__PURE__ */ K({
128
+ __name: "wt-galleria",
129
+ props: /* @__PURE__ */ B({
130
+ value: {},
131
+ id: {},
132
+ activeIndex: {},
133
+ fullScreen: { type: Boolean },
134
+ visible: { type: Boolean },
135
+ numVisible: {},
136
+ responsiveOptions: {},
137
+ showItemNavigators: { type: Boolean },
138
+ showThumbnailNavigators: { type: Boolean },
139
+ showItemNavigatorsOnHover: { type: Boolean },
140
+ changeItemOnIndicatorHover: { type: Boolean },
141
+ circular: { type: Boolean },
142
+ autoPlay: { type: Boolean },
143
+ transitionInterval: {},
144
+ showThumbnails: { type: Boolean },
145
+ thumbnailsPosition: {},
146
+ verticalThumbnailViewPortHeight: {},
147
+ showIndicators: { type: Boolean },
148
+ showIndicatorsOnItem: { type: Boolean },
149
+ indicatorsPosition: {},
150
+ baseZIndex: {},
151
+ maskClass: {},
152
+ containerStyle: {},
153
+ containerClass: {},
154
+ containerProps: {},
155
+ prevButtonProps: {},
156
+ nextButtonProps: {},
157
+ ariaLabel: {},
158
+ ariaRoledescription: {},
159
+ dt: {},
160
+ pt: {},
161
+ ptOptions: {},
162
+ unstyled: { type: Boolean }
163
+ }, {
164
+ visible: { type: Boolean, required: !0 },
165
+ visibleModifiers: {},
166
+ activeIndex: {
167
+ default: 0,
168
+ required: !1
169
+ },
170
+ activeIndexModifiers: {}
171
+ }),
172
+ emits: /* @__PURE__ */ B([
173
+ "download",
174
+ "delete"
175
+ ], ["update:visible", "update:activeIndex"]),
176
+ setup(e, { emit: c }) {
177
+ const t = e, v = c, l = S(e, "visible"), n = S(e, "activeIndex"), r = $(() => t.value[n.value]), o = k(!0), _ = k(!0), { fullScreen: u, toggleFullScreen: h } = le(), { listenMaskElementClick: b, removeMaskElementClick: C } = ne(l), {
178
+ isVisible: I,
179
+ deleteCount: N,
180
+ deleteCallback: V,
181
+ askDeleteConfirmation: z,
182
+ closeDelete: R
183
+ } = oe(), T = () => {
184
+ _.value = !_.value;
185
+ }, U = () => {
186
+ o.value = !1;
187
+ }, O = () => {
188
+ u.value && h(), z({
189
+ deleteCount: 1,
190
+ callback: () => v("delete", n)
191
+ });
192
+ };
193
+ return F(
194
+ () => r.value,
195
+ (E, f) => {
196
+ E?.src != f?.src && (o.value = !0);
197
+ },
198
+ {
199
+ deep: !0
200
+ }
201
+ ), F(
202
+ () => l.value,
203
+ () => {
204
+ l.value ? Q(() => {
205
+ b();
206
+ }) : (n.value = 0, C());
207
+ }
208
+ ), F(
209
+ () => t.value,
210
+ () => {
211
+ t.value.length || (l.value = !1);
212
+ }
213
+ ), P(() => {
214
+ l.value && b();
215
+ }), D(() => {
216
+ C();
217
+ }), (E, f) => {
218
+ const H = w("wt-loader"), p = w("wt-icon"), G = w("p-galleria");
219
+ return y(), L(W, null, [
220
+ a(G, {
221
+ visible: l.value,
222
+ "onUpdate:visible": f[1] || (f[1] = (d) => l.value = d),
223
+ "active-index": n.value,
224
+ "onUpdate:activeIndex": f[2] || (f[2] = (d) => n.value = d),
225
+ value: e.value,
226
+ "show-thumbnails": _.value,
227
+ "full-screen": "",
228
+ circular: "",
229
+ "show-item-navigators": "",
230
+ "num-visible": 5,
231
+ pt: {
232
+ root: {
233
+ class: [{ "flex flex-col": i(u) }]
234
+ },
235
+ content: {
236
+ class: ["relative", { "wt-galleria__content--fullscreen": i(u) }]
237
+ },
238
+ thumbnails: "wt-galleria__thumbnails",
239
+ closeButton: {
240
+ style: { display: i(u) ? "none" : "block" }
241
+ }
242
+ }
243
+ }, {
244
+ item: s(({ item: d }) => [
245
+ m("div", {
246
+ class: M(["wt-galleria__image-container", { "wt-galleria__image-container--preview": !i(u) }])
247
+ }, [
248
+ o.value ? (y(), A(H, { key: 0 })) : q("", !0),
249
+ X(m("img", {
250
+ class: M(["wt-galleria__image", { "wt-galleria__image--fullscreen": i(u) }]),
251
+ src: d?.src,
252
+ alt: d?.title,
253
+ onLoad: U
254
+ }, null, 42, re), [
255
+ [Y, !o.value]
256
+ ])
257
+ ], 2)
258
+ ]),
259
+ thumbnail: s(({ item: d }) => [
260
+ m("img", {
261
+ src: d?.thumbnailSrc,
262
+ alt: d?.title,
263
+ class: "wt-galleria__thumbnail"
264
+ }, null, 8, ue)
265
+ ]),
266
+ closeicon: s(() => [
267
+ a(p, { icon: "close" })
268
+ ]),
269
+ previousitemicon: s(() => [
270
+ a(p, { icon: "arrow-left" })
271
+ ]),
272
+ nextitemicon: s(() => [
273
+ a(p, { icon: "arrow-right" })
274
+ ]),
275
+ previousthumbnailicon: s(() => [
276
+ a(p, { icon: "arrow-left" })
277
+ ]),
278
+ nextthumbnailicon: s(() => [
279
+ a(p, { icon: "arrow-right" })
280
+ ]),
281
+ footer: s(() => [
282
+ m("div", de, [
283
+ a(p, {
284
+ icon: "tile",
285
+ onClick: T
286
+ }),
287
+ e.value.length ? (y(), L("span", me, [
288
+ m("span", null, g(n.value + 1) + "/" + g(e.value.length), 1),
289
+ m("span", null, g(e.value[n.value].title), 1),
290
+ m("span", null, g(e.value[n.value].description), 1)
291
+ ])) : q("", !0),
292
+ m("div", ve, [
293
+ a(p, {
294
+ icon: "download",
295
+ onClick: f[0] || (f[0] = (d) => v("download", n.value))
296
+ }),
297
+ a(p, {
298
+ icon: "bucket",
299
+ onClick: O
300
+ }),
301
+ a(p, {
302
+ icon: i(u) ? "collapse" : "expand",
303
+ onClick: i(h)
304
+ }, null, 8, ["icon", "onClick"])
305
+ ])
306
+ ])
307
+ ]),
308
+ _: 1
309
+ }, 8, ["visible", "active-index", "value", "show-thumbnails", "pt"]),
310
+ a(ce, {
311
+ shown: i(I),
312
+ callback: i(V),
313
+ "delete-count": i(N),
314
+ onClose: i(R)
315
+ }, null, 8, ["shown", "callback", "delete-count", "onClose"])
316
+ ], 64);
317
+ };
318
+ }
319
+ });
320
+ export {
321
+ ge as default
322
+ };
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as h, createElementBlock as l, openBlock as c, Fragment as w, renderList as b, createElementVNode as p, withDirectives as N, normalizeClass as C, createVNode as _, createTextVNode as k, toDisplayString as $, renderSlot as S, vShow as E, withCtx as A, ref as L, computed as v } from "vue";
2
- import { _ as g } from "./install-BEn6vjFW.js";
2
+ import { _ as g } from "./install-UIKG1ERr.js";
3
3
  const V = { class: "nav-menu__category nav-menu-lvl-1" }, B = ["onClick"], D = {
4
4
  __name: "nav-menu-lvl-1",
5
5
  props: {
@@ -126,10 +126,7 @@ const V = { class: "nav-menu__category nav-menu-lvl-1" }, B = ["onClick"], D = {
126
126
  }), i = v(() => Array.from(u.value.values()).filter((e) => {
127
127
  const t = a.value.get(e.value);
128
128
  return t && t.length > 0;
129
- })), d = v(() => {
130
- var e;
131
- return a.value.get((e = o.value) == null ? void 0 : e.value) || [];
132
- }), o = v(() => u.value.get(s.value) || i.value[0]);
129
+ })), d = v(() => a.value.get(o.value?.value) || []), o = v(() => u.value.get(s.value) || i.value[0]);
133
130
  function f(e) {
134
131
  s.value = e.value;
135
132
  }
@@ -0,0 +1,79 @@
1
+ import { i as p, e as _ } from "./isObject-B3V85Sws.js";
2
+ import { resolveComponent as v, createElementBlock as d, openBlock as c, createVNode as B, TransitionGroup as $, withCtx as w, Fragment as g, renderList as x, createBlock as N, createTextVNode as b, toDisplayString as y } from "vue";
3
+ import { _ as k } from "./install-UIKG1ERr.js";
4
+ const C = (t) => p(t) && (t.entity || t.module), i = (t) => (o) => (...n) => {
5
+ if (C(n[0])) {
6
+ const u = n[0], { app: f = t, entity: s = "", module: r = "" } = u, e = /* @__PURE__ */ new Date(), a = window?.location?.href || "non-browser env";
7
+ return (...l) => {
8
+ const h = `@webitel/${f}:${s}:${r}:`, m = `[${e}][${a}]`;
9
+ return console[o](h, ...l, m);
10
+ };
11
+ }
12
+ return console[o](...n);
13
+ }, D = (t) => ({
14
+ info: i(t)("info"),
15
+ warn: i(t)("warn"),
16
+ error: i(t)("error"),
17
+ log: i(t)("log")
18
+ }), T = D("ui-sdk"), j = {
19
+ name: "WtNotificationsBar",
20
+ inject: [
21
+ "$eventBus"
22
+ ],
23
+ data: () => ({
24
+ notificationDuration: 4e3,
25
+ notifications: [],
26
+ eventBus: _
27
+ }),
28
+ created() {
29
+ this.$eventBus ? this.eventBus = this.$eventBus : T.warn({
30
+ entity: "component",
31
+ module: "wt-notification-bar"
32
+ })(
33
+ "no globally provided $eventBus found, using default webitel-ui eventBus"
34
+ ), this.eventBus.$on("notification", this.showNotification);
35
+ },
36
+ unmounted() {
37
+ this.eventBus.$off("notification", this.showNotification);
38
+ },
39
+ methods: {
40
+ showNotification(t) {
41
+ this.notifications.unshift(t), setTimeout(
42
+ () => this.closeNotification(t),
43
+ t.timeout * 1e3 || this.notificationDuration
44
+ );
45
+ },
46
+ closeNotification(t) {
47
+ const o = this.notifications.indexOf(t);
48
+ this.notifications.splice(o, 1);
49
+ }
50
+ }
51
+ }, L = { class: "wt-notifications-bar wt-scrollbar" };
52
+ function O(t, o, n, u, f, s) {
53
+ const r = v("wt-notification");
54
+ return c(), d("aside", L, [
55
+ B($, {
56
+ class: "wt-notifications-bar__wrapper",
57
+ name: "wt-notifications-transition",
58
+ tag: "div"
59
+ }, {
60
+ default: w(() => [
61
+ (c(!0), d(g, null, x(t.notifications, (e, a) => (c(), N(r, {
62
+ key: a + e.text,
63
+ type: e.type,
64
+ onClose: (l) => s.closeNotification(e)
65
+ }, {
66
+ default: w(() => [
67
+ b(y(e.text), 1)
68
+ ], void 0, !0),
69
+ _: 2
70
+ }, 1032, ["type", "onClose"]))), 128))
71
+ ], void 0, !0),
72
+ _: 1
73
+ })
74
+ ]);
75
+ }
76
+ const G = /* @__PURE__ */ k(j, [["render", O], ["__scopeId", "data-v-8f1de0c8"]]);
77
+ export {
78
+ G as default
79
+ };
@@ -1,5 +1,5 @@
1
1
  import { computed as f, resolveComponent as r, createBlock as i, openBlock as l, withCtx as a, renderSlot as n, createCommentVNode as c, createVNode as p, createTextVNode as s, toDisplayString as u } from "vue";
2
- import { _ as b } from "./install-BEn6vjFW.js";
2
+ import { _ as b } from "./install-UIKG1ERr.js";
3
3
  const h = {
4
4
  __name: "wt-page-header",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as p, D as _ } from "./install-BEn6vjFW.js";
1
+ import { _ as p, D as _ } from "./install-UIKG1ERr.js";
2
2
  import { resolveComponent as c, resolveDirective as u, createElementBlock as g, openBlock as h, createElementVNode as o, createVNode as a, toDisplayString as m, withDirectives as d } from "vue";
3
3
  const f = {
4
4
  name: "WtPagination",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as y, computed as m, watch as r, onMounted as w, createElementBlock as v, openBlock as B, normalizeClass as g, createElementVNode as s, createVNode as o } from "vue";
2
- import { E as e, _ as x } from "./install-BEn6vjFW.js";
2
+ import { E as e, _ as x } from "./install-UIKG1ERr.js";
3
3
  const V = ["src", "loop", "autoplay"], _ = ["controls", "download"], b = /* @__PURE__ */ y({
4
4
  __name: "wt-player",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { defineComponent as b, useAttrs as m, useTemplateRef as y, resolveComponent as x, createElementBlock as h, openBlock as k, renderSlot as r, createVNode as B, normalizeProps as i, guardReactiveProps as c, mergeProps as g, unref as f, toHandlers as P, withCtx as w } from "vue";
1
+ import { defineComponent as b, useAttrs as m, useTemplateRef as y, resolveComponent as x, createElementBlock as h, openBlock as k, renderSlot as u, createVNode as B, normalizeProps as r, guardReactiveProps as i, mergeProps as g, unref as c, toHandlers as P, withCtx as w } from "vue";
2
2
  const I = /* @__PURE__ */ b({
3
3
  __name: "wt-popover",
4
4
  props: {
@@ -15,28 +15,25 @@ const I = /* @__PURE__ */ b({
15
15
  closeOnEscape: { type: Boolean, default: !0 }
16
16
  },
17
17
  emits: ["show", "hide"],
18
- setup(e, { expose: v }) {
19
- const d = m(), a = y("innerPopover"), p = e, l = (t, o) => {
20
- var n;
21
- p.disabled || (n = a.value) == null || n.toggle(t, o ?? void 0);
22
- }, u = (t, o) => {
23
- var n;
24
- p.disabled || (n = a.value) == null || n.show(t, o ?? void 0);
25
- }, s = (t) => {
26
- var o;
27
- (o = a.value) == null || o.hide(t);
18
+ setup(e, { expose: f }) {
19
+ const s = m(), o = y("innerPopover"), d = e, a = (t, n) => {
20
+ d.disabled || o.value?.toggle(t, n ?? void 0);
21
+ }, p = (t, n) => {
22
+ d.disabled || o.value?.show(t, n ?? void 0);
23
+ }, l = (t) => {
24
+ o.value?.hide(t);
28
25
  };
29
- return v({
30
- toggle: l,
31
- show: u,
32
- hide: s
33
- }), (t, o) => {
34
- const n = x("p-popover");
26
+ return f({
27
+ toggle: a,
28
+ show: p,
29
+ hide: l
30
+ }), (t, n) => {
31
+ const v = x("p-popover");
35
32
  return k(), h("div", null, [
36
- r(t.$slots, "activator", i(c({ show: u, toggle: l, hide: s }))),
37
- B(n, g(f(d), {
33
+ u(t.$slots, "activator", r(i({ show: p, toggle: a, hide: l }))),
34
+ B(v, g(c(s), {
38
35
  ref_key: "innerPopover",
39
- ref: a
36
+ ref: o
40
37
  }, {
41
38
  "append-to": e.appendTo,
42
39
  "base-z-index": e.baseZIndex,
@@ -47,9 +44,9 @@ const I = /* @__PURE__ */ b({
47
44
  "pt-options": e.ptOptions,
48
45
  "close-on-escape": e.closeOnEscape,
49
46
  unstyled: e.unstyled
50
- }, P(f(d))), {
47
+ }, P(c(s))), {
51
48
  default: w(() => [
52
- r(t.$slots, "default", i(c({ hide: s, toggle: l })))
49
+ u(t.$slots, "default", r(i({ hide: l, toggle: a })))
53
50
  ], void 0, !0),
54
51
  _: 3
55
52
  }, 16, ["append-to", "base-z-index", "auto-z-index", "breakpoints", "dt", "pt", "pt-options", "close-on-escape", "unstyled"])
@@ -1,5 +1,5 @@
1
- import { defineComponent as O, toRefs as $, computed as y, resolveComponent as n, resolveDirective as A, createBlock as l, openBlock as s, unref as h, createSlots as E, withCtx as c, createVNode as p, createElementVNode as U, createCommentVNode as m, renderSlot as j, createTextVNode as K, toDisplayString as z, withDirectives as H } from "vue";
2
- import { z as P, D as R, _ as T } from "./install-BEn6vjFW.js";
1
+ import { defineComponent as O, toRefs as $, computed as y, resolveComponent as o, resolveDirective as A, createBlock as l, openBlock as s, unref as h, createSlots as E, withCtx as n, createVNode as p, createElementVNode as U, createCommentVNode as m, renderSlot as j, createTextVNode as K, toDisplayString as z, withDirectives as H } from "vue";
2
+ import { z as P, D as R, _ as T } from "./install-UIKG1ERr.js";
3
3
  const q = { class: "wt-search-bar__icon-controls" }, F = /* @__PURE__ */ O({
4
4
  __name: "wt-search-bar",
5
5
  props: {
@@ -40,63 +40,60 @@ const q = { class: "wt-search-bar__icon-controls" }, F = /* @__PURE__ */ O({
40
40
  },
41
41
  emits: ["input", "search", "enter", "update:search-mode", "change:search-mode"],
42
42
  setup(t, { emit: _ }) {
43
- const a = t, i = _, { v: b, customValidators: k } = $(a), { invalid: r } = P({
43
+ const c = t, a = _, { v: b, customValidators: k } = $(c), { invalid: i } = P({
44
44
  v: b,
45
45
  customValidators: k
46
46
  }), d = y(
47
- () => r.value ? "error" : "default"
47
+ () => i.value ? "error" : "default"
48
48
  ), S = y(
49
- () => a.value || a.searchMode || a.hint
49
+ () => c.value || c.searchMode || c.hint
50
50
  ), v = R((e) => {
51
- i("search", e);
51
+ a("search", e);
52
52
  }, 1e3);
53
53
  function u(e) {
54
- i("input", e), v(e);
54
+ a("input", e), v(e);
55
55
  }
56
56
  function g(e) {
57
57
  e.key === "Enter" ? (v(e.target.value), e.preventDefault()) : e.key === "Esc" && (u(""), e.preventDefault());
58
58
  }
59
59
  function x({ option: e }) {
60
- i("update:search-mode", e), i("change:search-mode", e);
60
+ a("update:search-mode", e), a("change:search-mode", e);
61
61
  }
62
62
  return (e, f) => {
63
- const M = n("wt-icon"), w = n("wt-icon-btn"), C = n("wt-hint"), V = n("wt-radio"), D = n("wt-context-menu"), B = n("wt-input-text"), I = A("tooltip");
63
+ const M = o("wt-icon"), w = o("wt-icon-btn"), C = o("wt-hint"), V = o("wt-radio"), D = o("wt-context-menu"), B = o("wt-input-text"), I = A("tooltip");
64
64
  return s(), l(B, {
65
65
  "model-value": t.value,
66
66
  placeholder: t.placeholder || e.$t("webitelUI.searchBar.placeholder"),
67
- invalid: h(r),
67
+ invalid: h(i),
68
68
  class: "wt-search-bar",
69
69
  type: "search",
70
70
  "onUpdate:modelValue": u,
71
71
  onKeyup: g
72
72
  }, E({
73
- prefix: c(() => {
74
- var o;
75
- return [
76
- p(M, {
77
- color: d.value,
78
- icon: ((o = t.searchMode) == null ? void 0 : o.icon) || "search"
79
- }, null, 8, ["color", "icon"])
80
- ];
81
- }),
73
+ prefix: n(() => [
74
+ p(M, {
75
+ color: d.value,
76
+ icon: t.searchMode?.icon || "search"
77
+ }, null, 8, ["color", "icon"])
78
+ ]),
82
79
  _: 2
83
80
  }, [
84
81
  S.value ? {
85
82
  name: "suffix",
86
- fn: c(() => [
83
+ fn: n(() => [
87
84
  U("div", q, [
88
85
  t.value ? (s(), l(w, {
89
86
  key: 0,
90
87
  color: d.value,
91
88
  class: "wt-search-bar__reset-icon-btn",
92
89
  icon: "close",
93
- onClick: f[0] || (f[0] = (o) => u(""))
90
+ onClick: f[0] || (f[0] = (r) => u(""))
94
91
  }, null, 8, ["color"])) : m("", !0),
95
92
  t.hint ? (s(), l(C, {
96
93
  key: 1,
97
94
  "icon-color": d.value
98
95
  }, {
99
- default: c(() => [
96
+ default: n(() => [
100
97
  K(z(t.hint), 1)
101
98
  ], void 0, !0),
102
99
  _: 1
@@ -106,25 +103,25 @@ const q = { class: "wt-search-bar__icon-controls" }, F = /* @__PURE__ */ O({
106
103
  options: t.searchModeOptions,
107
104
  onClick: x
108
105
  }, {
109
- activator: c(({ toggle: o }) => [
106
+ activator: n(({ toggle: r }) => [
110
107
  H(p(w, {
111
- color: h(r) ? "error" : "default",
108
+ color: h(i) ? "error" : "default",
112
109
  icon: "filter",
113
- onClick: o
110
+ onClick: r
114
111
  }, null, 8, ["color", "onClick"]), [
115
112
  [I, e.$t("webitelUI.searchBar.settingsHint")]
116
113
  ])
117
114
  ]),
118
- option: c(({ value: o, text: N }) => [
115
+ option: n(({ value: r, text: N }) => [
119
116
  p(V, {
120
117
  label: N,
121
- selected: (typeof t.searchMode == "string" ? t.searchMode : t.searchMode.value) === o,
118
+ selected: (typeof t.searchMode == "string" ? t.searchMode : t.searchMode.value) === r,
122
119
  value: !0
123
120
  }, null, 8, ["label", "selected"])
124
121
  ]),
125
122
  _: 1
126
123
  }, 8, ["options"])) : m("", !0),
127
- j(e.$slots, "additional-actions", { invalid: h(r) }, void 0, !0)
124
+ j(e.$slots, "additional-actions", { invalid: h(i) }, void 0, !0)
128
125
  ])
129
126
  ]),
130
127
  key: "0"
@@ -1,5 +1,5 @@
1
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-BEn6vjFW.js";
2
+ import { _ as O, B as P } from "./install-UIKG1ERr.js";
3
3
  const j = { class: "wt-selection-popup__options" }, A = ["onClick"], F = { class: "wt-selection-popup__item-header typo-subtitle-2" }, L = {
4
4
  key: 1,
5
5
  class: "popup-options__item-text"
@@ -1,11 +1,11 @@
1
1
  import { inject as y, resolveComponent as _, createElementBlock as d, openBlock as a, createElementVNode as o, createBlock as u, createCommentVNode as h, createTextVNode as g, toDisplayString as l, createVNode as N, withCtx as f, defineComponent as w, computed as m, Fragment as E, renderList as k } from "vue";
2
- import { L as n, _ as p } from "./install-BEn6vjFW.js";
3
- Symbol(n.env.NODE_ENV !== "production" ? "navigation failure" : "");
4
- Symbol(n.env.NODE_ENV !== "production" ? "router view location matched" : "");
5
- Symbol(n.env.NODE_ENV !== "production" ? "router view depth" : "");
6
- const S = Symbol(n.env.NODE_ENV !== "production" ? "router" : "");
7
- Symbol(n.env.NODE_ENV !== "production" ? "route location" : "");
8
- Symbol(n.env.NODE_ENV !== "production" ? "router view location" : "");
2
+ import { L as n, _ as p } from "./install-UIKG1ERr.js";
3
+ n.env.NODE_ENV;
4
+ n.env.NODE_ENV;
5
+ n.env.NODE_ENV;
6
+ const S = /* @__PURE__ */ Symbol(n.env.NODE_ENV !== "production" ? "router" : "");
7
+ n.env.NODE_ENV;
8
+ n.env.NODE_ENV;
9
9
  function V() {
10
10
  return y(S);
11
11
  }
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as u, createBlock as d, openBlock as f, withCtx as c, createVNode as i } from "vue";
2
- import { _ as h } from "./install-BEn6vjFW.js";
2
+ import { _ as h } from "./install-UIKG1ERr.js";
3
3
  const s = Object.freeze({
4
4
  ONLINE: "online",
5
5
  PAUSE: "pause",