@webitel/ui-sdk 26.2.70 → 26.2.71
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.
- package/dist/{errors-DCJKAXTz.js → errors-CTL-RV3B.js} +1 -1
- package/dist/{index-cVwBpL1P.js → index-CLhoKzki.js} +1 -1
- package/dist/{index-B71drQtj.js → index-x2Djqp3W.js} +4 -4
- package/dist/{install-BEn6vjFW.js → install-Cp4KnSCI.js} +1102 -1220
- package/dist/{isObject-DB0eH0MA.js → isObject-C_1aA257.js} +1 -1
- package/dist/prod-BoQuiIB3.js +973 -0
- package/dist/srt-parser-CsN7bp5E.js +26 -0
- package/dist/ssa-parser-BJOOPeQF.js +200 -0
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +464 -482
- package/dist/vidstack-Bq6c3Bam-CeA9TvJ4.js +425 -0
- package/dist/vidstack-D2pY00kU-hPWR401d.js +135 -0
- package/dist/vidstack-DDXt6fpN-DEjXPjHx.js +50 -0
- package/dist/vidstack-D_-9AA6_-Bh2Pn0IA.js +20 -0
- package/dist/{vidstack-Dm1xEU9Q-qSXq3AI-.js → vidstack-Dm1xEU9Q-CXHNvShT.js} +10 -11
- package/dist/vidstack-DqAw8m9J-BSNVCj3S.js +22 -0
- package/dist/vidstack-audio-C3of4Q-I.js +28 -0
- package/dist/vidstack-dash-BD3CNy0Z.js +392 -0
- package/dist/vidstack-google-cast-DXLqBW30.js +382 -0
- package/dist/vidstack-hls-C6Az6tgn.js +309 -0
- package/dist/vidstack-krOAtKMi-C50BTxmn.js +28 -0
- package/dist/vidstack-video-CtScgimr.js +163 -0
- package/dist/vidstack-vimeo-dFXp7_Vx.js +451 -0
- package/dist/vidstack-youtube-BF0J2izd.js +232 -0
- package/dist/{vuex.esm-bundler-tZVctzTj.js → vuex.esm-bundler-D5BkZi23.js} +1 -1
- package/dist/{wt-action-bar-ColV1kXE.js → wt-action-bar-BrFf9y4i.js} +1 -1
- package/dist/{wt-button-select-CfoSEYMj.js → wt-button-select-BQOYl5Z5.js} +1 -1
- package/dist/{wt-chat-emoji-Bgv9Viz-.js → wt-chat-emoji-D9rZ4xfn.js} +6 -11
- package/dist/{wt-confirm-dialog-bVhuyR-Q.js → wt-confirm-dialog-DdRFwuNQ.js} +1 -1
- package/dist/{wt-context-menu-Cd8pgBRV.js → wt-context-menu-Dx-K-ACK.js} +1 -1
- package/dist/{wt-copy-action-jjp1mO2h.js → wt-copy-action-BPMZsUtG.js} +1 -1
- package/dist/wt-datepicker-PK3BgSmp.js +5660 -0
- package/dist/wt-display-chip-items-CAO8OLhX.js +46 -0
- package/dist/{wt-dual-panel-DJsiR6RF.js → wt-dual-panel-CAh5CMKO.js} +1 -1
- package/dist/{wt-dummy-O94iGdZS.js → wt-dummy-DMXuDlcb.js} +1 -1
- package/dist/{wt-error-page-xgSWJ65z.js → wt-error-page-UoX8GV8V.js} +1 -1
- package/dist/{wt-expansion-panel-vzG02b62.js → wt-expansion-panel-G7G1803j.js} +1 -1
- package/dist/{wt-filters-panel-wrapper-h-UaAMuF.js → wt-filters-panel-wrapper-GI9X-SaD.js} +1 -1
- package/dist/wt-galleria-DtJgf7Db.js +322 -0
- package/dist/{wt-navigation-menu-Cu5Y9kua.js → wt-navigation-menu-CrDo7Vpq.js} +2 -5
- package/dist/wt-notifications-bar-CmUZpffK.js +79 -0
- package/dist/{wt-page-header-DlRrRzG7.js → wt-page-header-C7JiNmsy.js} +1 -1
- package/dist/{wt-pagination-CW46I4u2.js → wt-pagination-CaOk680t.js} +1 -1
- package/dist/{wt-player-3qh_Jzm2.js → wt-player-Cs2dAT3H.js} +1 -1
- package/dist/{wt-popover-BTG5bUP0.js → wt-popover-U7JE0uoX.js} +19 -22
- package/dist/{wt-search-bar-CTsNf7bp.js → wt-search-bar-f1yQguL2.js} +25 -28
- package/dist/{wt-selection-popup-DvaUvY4O.js → wt-selection-popup-CwjvQZ77.js} +1 -1
- package/dist/{wt-start-page-CcN7JC_u.js → wt-start-page-CMGnK33r.js} +7 -7
- package/dist/{wt-status-select-C8t0cgTg.js → wt-status-select-C5RigMIl.js} +1 -1
- package/dist/{wt-stepper-BLb42q2I.js → wt-stepper-1gbY9rv5.js} +1 -1
- package/dist/{wt-table-9gmsV0Y9.js → wt-table-D6d0dRYQ.js} +111 -114
- package/dist/{wt-table-actions-BB7AH7sR.js → wt-table-actions-BsjrniPP.js} +1 -1
- package/dist/{wt-table-column-select-B3lrCEaV.js → wt-table-column-select-JiD5kd7i.js} +28 -31
- package/dist/{wt-tabs-CCHi_E1a.js → wt-tabs-DpxPfuRj.js} +1 -1
- package/dist/{wt-tags-input-DLicKjv3.js → wt-tags-input-CJpT_4mw.js} +56 -57
- package/dist/{wt-timepicker-B9ONDzNQ.js → wt-timepicker-CtH8MdN-.js} +1 -1
- package/dist/{wt-tree-cQlvJmh5.js → wt-tree-C99Qwdwn.js} +4 -5
- package/dist/{wt-tree-table-B89YKiMf.js → wt-tree-table-3qAoEJ7m.js} +5 -5
- package/dist/{wt-type-extension-value-input-Da8FXLDs.js → wt-type-extension-value-input-CfiVBG5u.js} +214 -218
- package/dist/wt-vidstack-player-B8Ilx2ml.js +10229 -0
- package/package.json +5 -5
- package/src/modules/Userinfo/classes/ApplicationsAccess.ts +36 -3
- package/src/modules/Userinfo/scripts/utils.ts +2 -22
- package/src/modules/Userinfo/stores/accessStore.ts +20 -5
- package/src/modules/Userinfo/types/UserAccess.d.ts +11 -3
- package/types/modules/Userinfo/classes/ApplicationsAccess.d.ts +34 -243
- package/types/modules/Userinfo/scripts/utils.d.ts +1 -2
- package/types/modules/Userinfo/stores/accessStore.d.ts +1 -1
- package/types/modules/Userinfo/stores/userinfoStore.d.ts +21 -9
- package/dist/prod-DTLJXtPo.js +0 -994
- package/dist/srt-parser-CWqahKwO.js +0 -27
- package/dist/ssa-parser-BqjjKy4M.js +0 -209
- package/dist/vidstack-Bq6c3Bam-w5y-QQDX.js +0 -413
- package/dist/vidstack-D2pY00kU-BI5rYx7p.js +0 -138
- package/dist/vidstack-DDXt6fpN-QZPrP2dy.js +0 -60
- package/dist/vidstack-D_-9AA6_-Bo1xPN-G.js +0 -20
- package/dist/vidstack-DqAw8m9J-DL7LzrFt.js +0 -29
- package/dist/vidstack-audio-lX1O0fza.js +0 -32
- package/dist/vidstack-dash-BQkRGWe_.js +0 -403
- package/dist/vidstack-google-cast-C39n-PU1.js +0 -377
- package/dist/vidstack-hls-BCLhCuNJ.js +0 -324
- package/dist/vidstack-krOAtKMi-B4IZWKdc.js +0 -29
- package/dist/vidstack-video-BgayrEIC.js +0 -181
- package/dist/vidstack-vimeo-Lpe7iySs.js +0 -437
- package/dist/vidstack-youtube-Dmcz0xVm.js +0 -236
- package/dist/wt-datepicker-Cs3xDzVq.js +0 -5789
- package/dist/wt-display-chip-items-IqNMxa_X.js +0 -52
- package/dist/wt-galleria-cDjsiOcp.js +0 -324
- package/dist/wt-notifications-bar-KNH47kZ7.js +0 -80
- 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-Cp4KnSCI.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-
|
|
2
|
+
import { _ as g } from "./install-Cp4KnSCI.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-C_1aA257.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-Cp4KnSCI.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-
|
|
2
|
+
import { _ as b } from "./install-Cp4KnSCI.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-
|
|
1
|
+
import { _ as p, D as _ } from "./install-Cp4KnSCI.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-
|
|
2
|
+
import { E as e, _ as x } from "./install-Cp4KnSCI.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
|
|
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:
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
|
30
|
-
toggle:
|
|
31
|
-
show:
|
|
32
|
-
hide:
|
|
33
|
-
}), (t,
|
|
34
|
-
const
|
|
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
|
-
|
|
37
|
-
B(
|
|
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:
|
|
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(
|
|
47
|
+
}, P(c(s))), {
|
|
51
48
|
default: w(() => [
|
|
52
|
-
|
|
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
|
|
2
|
-
import { z as P, D as R, _ as T } from "./install-
|
|
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-Cp4KnSCI.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
|
|
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
|
-
() =>
|
|
47
|
+
() => i.value ? "error" : "default"
|
|
48
48
|
), S = y(
|
|
49
|
-
() =>
|
|
49
|
+
() => c.value || c.searchMode || c.hint
|
|
50
50
|
), v = R((e) => {
|
|
51
|
-
|
|
51
|
+
a("search", e);
|
|
52
52
|
}, 1e3);
|
|
53
53
|
function u(e) {
|
|
54
|
-
|
|
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
|
-
|
|
60
|
+
a("update:search-mode", e), a("change:search-mode", e);
|
|
61
61
|
}
|
|
62
62
|
return (e, f) => {
|
|
63
|
-
const M =
|
|
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(
|
|
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:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
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:
|
|
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] = (
|
|
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:
|
|
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:
|
|
106
|
+
activator: n(({ toggle: r }) => [
|
|
110
107
|
H(p(w, {
|
|
111
|
-
color: h(
|
|
108
|
+
color: h(i) ? "error" : "default",
|
|
112
109
|
icon: "filter",
|
|
113
|
-
onClick:
|
|
110
|
+
onClick: r
|
|
114
111
|
}, null, 8, ["color", "onClick"]), [
|
|
115
112
|
[I, e.$t("webitelUI.searchBar.settingsHint")]
|
|
116
113
|
])
|
|
117
114
|
]),
|
|
118
|
-
option:
|
|
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) ===
|
|
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(
|
|
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-
|
|
2
|
+
import { _ as O, B as P } from "./install-Cp4KnSCI.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-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const S = Symbol(n.env.NODE_ENV !== "production" ? "router" : "");
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
import { L as n, _ as p } from "./install-Cp4KnSCI.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-
|
|
2
|
+
import { _ as h } from "./install-Cp4KnSCI.js";
|
|
3
3
|
const s = Object.freeze({
|
|
4
4
|
ONLINE: "online",
|
|
5
5
|
PAUSE: "pause",
|