@webitel/ui-sdk 26.8.114 → 26.8.116
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/clients-BFB093fa.js +40882 -0
- package/dist/{components-DJVzkzrr.js → components-DSjkNfg7.js} +40 -40
- package/dist/{convertDuration-BOe9PsRT.js → convertDuration-CW5qzlwH.js} +10 -2
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +663 -663
- package/dist/{wt-chat-emoji-BATwPh2q.js → wt-chat-emoji-C-dTBZ_F.js} +1 -1
- package/dist/{wt-display-chip-items-N20vx27z.js → wt-display-chip-items-BX7cB5E4.js} +1 -1
- package/dist/{wt-send-message-popup-DSZ7srx4.js → wt-send-message-popup-BqE4XZke.js} +3 -3
- package/dist/{wt-status-select-Bgtu5WrX.js → wt-status-select-Lv7jWPLJ.js} +1 -1
- package/dist/{wt-type-extension-value-input-B1-ScgJm.js → wt-type-extension-value-input-B9KVFkOD.js} +9 -2
- package/dist/{wt-vidstack-player-C_EdEZ8v.js → wt-vidstack-player-RBadmXaK.js} +2 -2
- package/package.json +1 -1
- package/src/modules/Userinfo/mappings/lookupPathToScopeClass.ts +7 -0
- package/types/.tsbuildinfo +1 -1
- package/dist/clients-CWniSi77.js +0 -40850
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e, o as t } from "./dist-EXdgfpvN.js";
|
|
2
2
|
import { n, t as r } from "./dist-CnyqtIg9.js";
|
|
3
3
|
import { t as i } from "./wt-icon-B4wxzcVG.js";
|
|
4
|
-
import { a,
|
|
4
|
+
import { c as a, d as o, f as s, l as c, o as l, s as u, u as d } from "./convertDuration-CW5qzlwH.js";
|
|
5
5
|
import { i as f, n as p, t as m } from "./toZonedTime-B8L5kbse.js";
|
|
6
6
|
import { t as h } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
7
|
import { E as g, S as _, c as v, h as y, l as b, m as x, p as ee, r as S, u as C } from "./enums-CsINFPBu.js";
|
|
@@ -86,14 +86,14 @@ function ot(e) {
|
|
|
86
86
|
//#endregion
|
|
87
87
|
//#region node_modules/date-fns/_lib/normalizeDates.js
|
|
88
88
|
function st(e, ...t) {
|
|
89
|
-
let n =
|
|
89
|
+
let n = d.bind(null, e || t.find((e) => typeof e == "object"));
|
|
90
90
|
return t.map(n);
|
|
91
91
|
}
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region node_modules/date-fns/isSameWeek.js
|
|
94
94
|
function ct(e, t, n) {
|
|
95
95
|
let [r, i] = st(n?.in, e, t);
|
|
96
|
-
return +
|
|
96
|
+
return +u(r, n) == +u(i, n);
|
|
97
97
|
}
|
|
98
98
|
//#endregion
|
|
99
99
|
//#region node_modules/date-fns/locale/en-US/_lib/formatDistance.js
|
|
@@ -763,14 +763,14 @@ function Ct(e) {
|
|
|
763
763
|
}
|
|
764
764
|
var wt = {
|
|
765
765
|
lastWeek: (e, t, n) => {
|
|
766
|
-
let r =
|
|
766
|
+
let r = a(e), i = r.getDay();
|
|
767
767
|
return ct(r, t, n) ? St(i) : xt(i);
|
|
768
768
|
},
|
|
769
769
|
yesterday: "'вчора о' p",
|
|
770
770
|
today: "'сьогодні о' p",
|
|
771
771
|
tomorrow: "'завтра о' p",
|
|
772
772
|
nextWeek: (e, t, n) => {
|
|
773
|
-
let r =
|
|
773
|
+
let r = a(e), i = r.getDay();
|
|
774
774
|
return ct(r, t, n) ? St(i) : Ct(i);
|
|
775
775
|
},
|
|
776
776
|
other: "P"
|
|
@@ -1150,31 +1150,31 @@ var wt = {
|
|
|
1150
1150
|
//#endregion
|
|
1151
1151
|
//#region node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js
|
|
1152
1152
|
function Et(e) {
|
|
1153
|
-
let t =
|
|
1153
|
+
let t = a(e), n = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
|
|
1154
1154
|
return n.setUTCFullYear(t.getFullYear()), e - +n;
|
|
1155
1155
|
}
|
|
1156
1156
|
//#endregion
|
|
1157
1157
|
//#region node_modules/date-fns/differenceInCalendarDays.js
|
|
1158
1158
|
function Dt(e, t, n) {
|
|
1159
|
-
let [r, i] = st(n?.in, e, t),
|
|
1160
|
-
return Math.round((c -
|
|
1159
|
+
let [r, i] = st(n?.in, e, t), a = l(r), s = l(i), c = +a - Et(a), u = +s - Et(s);
|
|
1160
|
+
return Math.round((c - u) / o);
|
|
1161
1161
|
}
|
|
1162
1162
|
//#endregion
|
|
1163
1163
|
//#region node_modules/date-fns/startOfYear.js
|
|
1164
1164
|
function Ot(e, t) {
|
|
1165
|
-
let n =
|
|
1165
|
+
let n = a(e, t?.in);
|
|
1166
1166
|
return n.setFullYear(n.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
|
|
1167
1167
|
}
|
|
1168
1168
|
//#endregion
|
|
1169
1169
|
//#region node_modules/date-fns/getDayOfYear.js
|
|
1170
1170
|
function kt(e, t) {
|
|
1171
|
-
let n =
|
|
1171
|
+
let n = a(e, t?.in);
|
|
1172
1172
|
return Dt(n, Ot(n)) + 1;
|
|
1173
1173
|
}
|
|
1174
1174
|
//#endregion
|
|
1175
1175
|
//#region node_modules/date-fns/startOfISOWeek.js
|
|
1176
1176
|
function At(e, t) {
|
|
1177
|
-
return
|
|
1177
|
+
return u(e, {
|
|
1178
1178
|
...t,
|
|
1179
1179
|
weekStartsOn: 1
|
|
1180
1180
|
});
|
|
@@ -1182,45 +1182,45 @@ function At(e, t) {
|
|
|
1182
1182
|
//#endregion
|
|
1183
1183
|
//#region node_modules/date-fns/getISOWeekYear.js
|
|
1184
1184
|
function jt(e, t) {
|
|
1185
|
-
let n =
|
|
1185
|
+
let n = a(e, t?.in), r = n.getFullYear(), i = d(n, 0);
|
|
1186
1186
|
i.setFullYear(r + 1, 0, 4), i.setHours(0, 0, 0, 0);
|
|
1187
|
-
let
|
|
1188
|
-
|
|
1189
|
-
let
|
|
1190
|
-
return n.getTime() >=
|
|
1187
|
+
let o = At(i), s = d(n, 0);
|
|
1188
|
+
s.setFullYear(r, 0, 4), s.setHours(0, 0, 0, 0);
|
|
1189
|
+
let c = At(s);
|
|
1190
|
+
return n.getTime() >= o.getTime() ? r + 1 : n.getTime() >= c.getTime() ? r : r - 1;
|
|
1191
1191
|
}
|
|
1192
1192
|
//#endregion
|
|
1193
1193
|
//#region node_modules/date-fns/startOfISOWeekYear.js
|
|
1194
1194
|
function Mt(e, t) {
|
|
1195
|
-
let n = jt(e, t), r =
|
|
1195
|
+
let n = jt(e, t), r = d(t?.in || e, 0);
|
|
1196
1196
|
return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), At(r);
|
|
1197
1197
|
}
|
|
1198
1198
|
//#endregion
|
|
1199
1199
|
//#region node_modules/date-fns/getISOWeek.js
|
|
1200
1200
|
function Nt(e, t) {
|
|
1201
|
-
let n =
|
|
1201
|
+
let n = a(e, t?.in), r = At(n) - +Mt(n);
|
|
1202
1202
|
return Math.round(r / s) + 1;
|
|
1203
1203
|
}
|
|
1204
1204
|
//#endregion
|
|
1205
1205
|
//#region node_modules/date-fns/getWeekYear.js
|
|
1206
1206
|
function Pt(e, t) {
|
|
1207
|
-
let n =
|
|
1208
|
-
s.setFullYear(r + 1, 0,
|
|
1209
|
-
let
|
|
1210
|
-
f.setFullYear(r, 0,
|
|
1211
|
-
let p =
|
|
1212
|
-
return +n >= +
|
|
1207
|
+
let n = a(e, t?.in), r = n.getFullYear(), i = c(), o = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? i.firstWeekContainsDate ?? i.locale?.options?.firstWeekContainsDate ?? 1, s = d(t?.in || e, 0);
|
|
1208
|
+
s.setFullYear(r + 1, 0, o), s.setHours(0, 0, 0, 0);
|
|
1209
|
+
let l = u(s, t), f = d(t?.in || e, 0);
|
|
1210
|
+
f.setFullYear(r, 0, o), f.setHours(0, 0, 0, 0);
|
|
1211
|
+
let p = u(f, t);
|
|
1212
|
+
return +n >= +l ? r + 1 : +n >= +p ? r : r - 1;
|
|
1213
1213
|
}
|
|
1214
1214
|
//#endregion
|
|
1215
1215
|
//#region node_modules/date-fns/startOfWeekYear.js
|
|
1216
1216
|
function Ft(e, t) {
|
|
1217
|
-
let n =
|
|
1218
|
-
return a.setFullYear(i, 0, r), a.setHours(0, 0, 0, 0),
|
|
1217
|
+
let n = c(), r = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, i = Pt(e, t), a = d(t?.in || e, 0);
|
|
1218
|
+
return a.setFullYear(i, 0, r), a.setHours(0, 0, 0, 0), u(a, t);
|
|
1219
1219
|
}
|
|
1220
1220
|
//#endregion
|
|
1221
1221
|
//#region node_modules/date-fns/getWeek.js
|
|
1222
1222
|
function It(e, t) {
|
|
1223
|
-
let n =
|
|
1223
|
+
let n = a(e, t?.in), r = u(n, t) - +Ft(n, t);
|
|
1224
1224
|
return Math.round(r / s) + 1;
|
|
1225
1225
|
}
|
|
1226
1226
|
//#endregion
|
|
@@ -1706,15 +1706,15 @@ function $t(e) {
|
|
|
1706
1706
|
//#endregion
|
|
1707
1707
|
//#region node_modules/date-fns/isValid.js
|
|
1708
1708
|
function en(e) {
|
|
1709
|
-
return !(!$t(e) && typeof e != "number" || isNaN(+
|
|
1709
|
+
return !(!$t(e) && typeof e != "number" || isNaN(+a(e)));
|
|
1710
1710
|
}
|
|
1711
1711
|
//#endregion
|
|
1712
1712
|
//#region node_modules/date-fns/format.js
|
|
1713
1713
|
var tn = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, nn = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, rn = /^'([^]*?)'?$/, an = /''/g, on = /[a-zA-Z]/;
|
|
1714
1714
|
function sn(e, t, n) {
|
|
1715
|
-
let r =
|
|
1716
|
-
if (!en(
|
|
1717
|
-
let
|
|
1715
|
+
let r = c(), i = n?.locale ?? r.locale ?? ht, o = n?.firstWeekContainsDate ?? n?.locale?.options?.firstWeekContainsDate ?? r.firstWeekContainsDate ?? r.locale?.options?.firstWeekContainsDate ?? 1, s = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, l = a(e, n?.in);
|
|
1716
|
+
if (!en(l)) throw RangeError("Invalid time value");
|
|
1717
|
+
let u = t.match(nn).map((e) => {
|
|
1718
1718
|
let t = e[0];
|
|
1719
1719
|
if (t === "p" || t === "P") {
|
|
1720
1720
|
let n = Gt[t];
|
|
@@ -1741,18 +1741,18 @@ function sn(e, t, n) {
|
|
|
1741
1741
|
value: e
|
|
1742
1742
|
};
|
|
1743
1743
|
});
|
|
1744
|
-
i.localize.preprocessor && (
|
|
1744
|
+
i.localize.preprocessor && (u = i.localize.preprocessor(l, u));
|
|
1745
1745
|
let d = {
|
|
1746
|
-
firstWeekContainsDate:
|
|
1746
|
+
firstWeekContainsDate: o,
|
|
1747
1747
|
weekStartsOn: s,
|
|
1748
1748
|
locale: i
|
|
1749
1749
|
};
|
|
1750
|
-
return
|
|
1750
|
+
return u.map((r) => {
|
|
1751
1751
|
if (!r.isToken) return r.value;
|
|
1752
1752
|
let a = r.value;
|
|
1753
1753
|
(!n?.useAdditionalWeekYearTokens && Xt(a) || !n?.useAdditionalDayOfYearTokens && Yt(a)) && Zt(a, t, String(e));
|
|
1754
1754
|
let o = zt[a[0]];
|
|
1755
|
-
return o(
|
|
1755
|
+
return o(l, a, i.localize, d);
|
|
1756
1756
|
}).join("");
|
|
1757
1757
|
}
|
|
1758
1758
|
function cn(e) {
|
|
@@ -1762,7 +1762,7 @@ function cn(e) {
|
|
|
1762
1762
|
//#endregion
|
|
1763
1763
|
//#region node_modules/date-fns/getDefaultOptions.js
|
|
1764
1764
|
function ln() {
|
|
1765
|
-
return Object.assign({},
|
|
1765
|
+
return Object.assign({}, c());
|
|
1766
1766
|
}
|
|
1767
1767
|
//#endregion
|
|
1768
1768
|
//#region node_modules/date-fns-tz/dist/esm/_lib/tzIntlTimeZoneName/index.js
|
|
@@ -5742,9 +5742,9 @@ var vs = {
|
|
|
5742
5742
|
])), [[r, d]]) : E("", !0)], 2);
|
|
5743
5743
|
};
|
|
5744
5744
|
}
|
|
5745
|
-
}, [["__scopeId", "data-v-72aa56d0"]]), Cs = j(() => import("./wt-action-bar-TwclxZyb.js")), ws = j(() => import("./wt-button-select-BnRHgJ4i.js")), Ts = j(() => import("./wt-confirm-dialog-DCUitG2v.js")), Es = j(() => import("./wt-context-menu-yW52oF-2.js")), Ds = j(() => import("./wt-copy-action-d9gVzAsB.js")), Os = j(() => import("./wt-datepicker-C4wrYXt9.js")), ks = j(() => import("./wt-dual-panel-CjWwG7y6.js")), As = j(() => import("./wt-dummy-J18Wmsn6.js")), js = j(() => import("./wt-error-page-vhu4lIyF.js")), Ms = j(() => import("./wt-expansion-panel-3tx3DGUp.js")), Ns = j(() => import("./wt-expansion-card-vv5ctpfw.js")), Ps = j(() => import("./wt-filters-panel-wrapper-Cc9b3aci.js")), Fs = j(() => import("./wt-galleria-DcZRuekj.js")), Is = j(() => import("./wt-notifications-bar-BMV-0Vmo.js")), Ls = j(() => import("./wt-page-header-CDbd4aOh.js")), Rs = j(() => import("./wt-pagination-DLRMTDRV.js")), zs = j(() => import("./wt-player-DBsbjt_l.js")), Bs = j(() => import("./wt-popover-BI6YyXy0.js").then((e) => e.n)), Vs = j(() => import("./wt-search-bar-CFANAMNQ.js")), Hs = j(() => import("./wt-slider-x-Tch7RT.js").then((e) => e.n)), Us = j(() => import("./wt-status-select-
|
|
5746
|
-
j(() => import("./wt-type-extension-value-input-
|
|
5747
|
-
var oc = j(() => import("./wt-screen-recordings-action-D2PKGnNl.js")), sc = j(() => import("./wt-send-message-popup-
|
|
5745
|
+
}, [["__scopeId", "data-v-72aa56d0"]]), Cs = j(() => import("./wt-action-bar-TwclxZyb.js")), ws = j(() => import("./wt-button-select-BnRHgJ4i.js")), Ts = j(() => import("./wt-confirm-dialog-DCUitG2v.js")), Es = j(() => import("./wt-context-menu-yW52oF-2.js")), Ds = j(() => import("./wt-copy-action-d9gVzAsB.js")), Os = j(() => import("./wt-datepicker-C4wrYXt9.js")), ks = j(() => import("./wt-dual-panel-CjWwG7y6.js")), As = j(() => import("./wt-dummy-J18Wmsn6.js")), js = j(() => import("./wt-error-page-vhu4lIyF.js")), Ms = j(() => import("./wt-expansion-panel-3tx3DGUp.js")), Ns = j(() => import("./wt-expansion-card-vv5ctpfw.js")), Ps = j(() => import("./wt-filters-panel-wrapper-Cc9b3aci.js")), Fs = j(() => import("./wt-galleria-DcZRuekj.js")), Is = j(() => import("./wt-notifications-bar-BMV-0Vmo.js")), Ls = j(() => import("./wt-page-header-CDbd4aOh.js")), Rs = j(() => import("./wt-pagination-DLRMTDRV.js")), zs = j(() => import("./wt-player-DBsbjt_l.js")), Bs = j(() => import("./wt-popover-BI6YyXy0.js").then((e) => e.n)), Vs = j(() => import("./wt-search-bar-CFANAMNQ.js")), Hs = j(() => import("./wt-slider-x-Tch7RT.js").then((e) => e.n)), Us = j(() => import("./wt-status-select-Lv7jWPLJ.js")), Ws = j(() => import("./wt-stepper-B6zpd1Uh.js")), Gs = j(() => import("./wt-table-DMEjT0xF.js")), Ks = j(() => import("./wt-table-actions-D7harVHK.js")), qs = j(() => import("./wt-table-column-select-DzXaRs03.js")), Js = j(() => import("./wt-tabs-DuOgj-lZ.js")), Ys = j(() => import("./wt-time-input-Ds40EseE.js")), Xs = j(() => import("./wt-timepicker-B-ZZUyDZ.js")), Zs = j(() => import("./wt-tree-Cu_yRDjp.js")), Qs = j(() => import("./wt-tree-table-BET1GUgf.js")), $s = j(() => import("./wt-vidstack-player-RBadmXaK.js")), ec = j(() => import("./wt-call-media-action-Bkyppnsm.js")), tc = j(() => import("./wt-chat-emoji-C-dTBZ_F.js")), nc = j(() => import("./wt-display-chip-items-BX7cB5E4.js")), rc = j(() => import("./wt-navigation-menu-BMupOW07.js")), ic = j(() => import("./wt-selection-popup-Dei_JZah.js")), ac = j(() => import("./wt-start-page-2Bdzg5V5.js"));
|
|
5746
|
+
j(() => import("./wt-type-extension-value-input-B9KVFkOD.js"));
|
|
5747
|
+
var oc = j(() => import("./wt-screen-recordings-action-D2PKGnNl.js")), sc = j(() => import("./wt-send-message-popup-BqE4XZke.js")), cc = {
|
|
5748
5748
|
WtActionBar: Cs,
|
|
5749
5749
|
WtImage: Gr,
|
|
5750
5750
|
WtEmpty: Xr,
|
|
@@ -5832,4 +5832,4 @@ var oc = j(() => import("./wt-screen-recordings-action-D2PKGnNl.js")), sc = j(()
|
|
|
5832
5832
|
WtSendMessagePopup: sc
|
|
5833
5833
|
};
|
|
5834
5834
|
//#endregion
|
|
5835
|
-
export { Vr as C, ki as S, oa as _, as as a, ua as b, Ri as c, Yi as d, Xi as f, Qi as g, ra as h, Bs as i, Wi as l, $i as m, tc as n, rs as o, Zi as p, Os as r, Ia as s, cc as t, qi as u, Ji as v, yr as w, pi as x, na as y };
|
|
5835
|
+
export { Vr as C, ki as S, Dn as T, oa as _, as as a, ua as b, Ri as c, Yi as d, Xi as f, Qi as g, ra as h, Bs as i, Wi as l, $i as m, tc as n, rs as o, Zi as p, Os as r, Ia as s, cc as t, qi as u, Ji as v, yr as w, pi as x, na as y };
|
|
@@ -84,6 +84,14 @@ var v = (e) => `${e}`.padStart(2, "0"), y = (e, { alwaysShowHours: t = !0 } = {}
|
|
|
84
84
|
case e.ThisMonth: return m(Date.now()).getTime();
|
|
85
85
|
default: return Date.now();
|
|
86
86
|
}
|
|
87
|
-
}, S = (e, t = {}) => e == null ? 0 : typeof e == "number" ? e : b(e) ? x(e, t) : typeof e == "string" ? +e ? +e : 0 : Date.now(), C =
|
|
87
|
+
}, S = (e, t = {}) => e == null ? 0 : typeof e == "number" ? e : b(e) ? x(e, t) : typeof e == "string" ? +e ? +e : 0 : Date.now(), C = (e) => typeof e == "object" && !!e && ("from" in e || "to" in e), w = (e) => {
|
|
88
|
+
if (!(e == null || e === "")) return C(e) ? {
|
|
89
|
+
from: e.from == null || e.from === "" ? void 0 : S(e.from, { round: "start" }),
|
|
90
|
+
to: e.to == null || e.to === "" ? void 0 : S(e.to, { round: "end" })
|
|
91
|
+
} : {
|
|
92
|
+
from: S(e, { round: "start" }),
|
|
93
|
+
to: S(e, { round: "end" })
|
|
94
|
+
};
|
|
95
|
+
}, T = y;
|
|
88
96
|
//#endregion
|
|
89
|
-
export {
|
|
97
|
+
export { y as a, l as c, r as d, n as f, S as i, c as l, b as n, d as o, w as r, u as s, T as t, o as u };
|
package/dist/ui-sdk.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "./genClient-CvWlQ0TZ.js";
|
|
2
2
|
import { n as t } from "./wt-icon-B4wxzcVG.js";
|
|
3
|
-
import { S as n, _ as r, b as i, c as a, d as o, f as s, g as c, h as l, l as u, m as d, p as f, t as p, u as m, v as h, x as g, y as _ } from "./components-
|
|
3
|
+
import { S as n, _ as r, b as i, c as a, d as o, f as s, g as c, h as l, l as u, m as d, p as f, t as p, u as m, v as h, x as g, y as _ } from "./components-DSjkNfg7.js";
|
|
4
4
|
import { l as v, m as y } from "./enums-CsINFPBu.js";
|
|
5
5
|
import { t as b } from "./useEventBus-B-ZeklLu.js";
|
|
6
6
|
import { computed as x, reactive as S, shallowRef as C, watch as w } from "vue";
|