@webitel/ui-sdk 26.8.122 → 26.8.123
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-ROdtCWmN.js → clients-1ncUWdgA.js} +20 -16
- package/dist/{components-nJSTQXrV.js → components-izCFF9JN.js} +474 -469
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +675 -675
- package/dist/{wt-chat-emoji-BW-5ELGp.js → wt-chat-emoji-DNf-J9oI.js} +1 -1
- package/dist/{wt-display-chip-items-CRFSUz5_.js → wt-display-chip-items-B7ERgiW7.js} +1 -1
- package/dist/{wt-send-message-popup-DkJvflTE.js → wt-send-message-popup-GLMO5r-R.js} +2 -2
- package/dist/{wt-type-extension-value-input-DpTrkIEp.js → wt-type-extension-value-input-D4_SL_GZ.js} +20 -2
- package/dist/{wt-vidstack-player-BYk6Qhow.js → wt-vidstack-player-B8buPWk7.js} +1 -1
- package/package.json +1 -1
- package/src/locale/en/en.js +4 -0
- package/src/locale/es/es.js +4 -0
- package/src/locale/kz/kz.js +4 -0
- package/src/locale/pl/pl.js +4 -0
- package/src/locale/ro/ro.js +4 -0
- package/src/locale/ru/ru.js +4 -0
- package/src/locale/uk/uk.js +4 -0
- package/src/locale/uz/uz.js +4 -0
- package/src/locale/vi/vi.js +4 -0
- package/types/.tsbuildinfo +1 -1
- package/types/locale/en/en.d.ts +4 -0
- package/types/locale/es/es.d.ts +5 -0
- package/types/locale/i18n.d.ts +36 -0
- package/types/locale/index.d.ts +36 -0
- package/types/locale/kz/kz.d.ts +5 -0
- package/types/locale/pl/pl.d.ts +5 -0
- package/types/locale/ro/ro.d.ts +5 -0
- package/types/locale/ru/ru.d.ts +5 -0
- package/types/locale/uk/uk.d.ts +5 -0
- package/types/locale/uz/uz.d.ts +5 -0
- package/types/locale/vi/vi.d.ts +5 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as e, r as t } from "./dist-EXdgfpvN.js";
|
|
2
2
|
import { a as n, i as r, n as i, t as a } from "./genClient-CvWlQ0TZ.js";
|
|
3
3
|
import { i as o, r as s } from "./caseConverters-DGri4uJo.js";
|
|
4
|
-
import { T as c } from "./components-
|
|
4
|
+
import { T as c } from "./components-izCFF9JN.js";
|
|
5
5
|
import { a as l, c as u, r as d, u as f } from "./convertDuration-BePVKvK7.js";
|
|
6
6
|
import { S as p, b as m } from "./enums-DxMEZrBG.js";
|
|
7
7
|
import { t as h } from "./deep-copy-BJdHBMNZ.js";
|
|
@@ -42191,20 +42191,24 @@ b.object({
|
|
|
42191
42191
|
...W("required")
|
|
42192
42192
|
});
|
|
42193
42193
|
});
|
|
42194
|
-
})
|
|
42194
|
+
});
|
|
42195
|
+
//#endregion
|
|
42196
|
+
//#region packages/api-services/src/validations/userToken/userToken.validations.ts
|
|
42197
|
+
var Lt = b.object({ usage: b.string().default("") });
|
|
42198
|
+
b.object({
|
|
42195
42199
|
key: b.string().min(1),
|
|
42196
42200
|
value: b.string().min(1)
|
|
42197
|
-
}), [...x(kt)], [...x(At)], [...x(Mt)], [...x(Nt)], [...x(Pt)], m.OFFLINE_QUEUE, m.INBOUND_QUEUE, m.OUTBOUND_IVR_QUEUE, m.PREVIEW_DIALER, m.PROGRESSIVE_DIALER, m.PREDICTIVE_DIALER, m.CHAT_INBOUND_QUEUE, m.IM_CHAT_QUEUE, m.INBOUND_JOB_QUEUE, m.OUTBOUND_JOB_QUEUE, x(Ot), { ...R("/call_center/queues") }, { ...R("/call_center/teams") }, i(), { ...R("/users") }, x(Ue), x(Ge), i();
|
|
42201
|
+
}), [...x(kt)], [...x(At)], [...x(Mt)], [...x(Nt)], [...x(Pt)], m.OFFLINE_QUEUE, m.INBOUND_QUEUE, m.OUTBOUND_IVR_QUEUE, m.PREVIEW_DIALER, m.PROGRESSIVE_DIALER, m.PREDICTIVE_DIALER, m.CHAT_INBOUND_QUEUE, m.IM_CHAT_QUEUE, m.INBOUND_JOB_QUEUE, m.OUTBOUND_JOB_QUEUE, x(Ot), { ...R("/call_center/queues") }, { ...R("/call_center/teams") }, i(), { ...R("/users") }, x(Lt), x(Ue), x(Ge), i();
|
|
42198
42202
|
//#endregion
|
|
42199
42203
|
//#region packages/api-services/src/api/clients/wtTypes/sysTypes/sysTypes.ts
|
|
42200
|
-
var
|
|
42201
|
-
let r =
|
|
42204
|
+
var Rt = i(), zt = /\{([^}]+)\}/g, Bt = (e, t) => t.split(".").reduce((e, t) => e?.[t], e), Vt = (e, t) => e.match(zt) ? e.replace(zt, (e, n) => {
|
|
42205
|
+
let r = Bt(t, n);
|
|
42202
42206
|
return r == null ? `{${n}}` : String(r);
|
|
42203
|
-
}) :
|
|
42207
|
+
}) : Bt(t, e), Ht = ({ display: e, primary: t }) => (n) => n.map((n) => ({
|
|
42204
42208
|
...n,
|
|
42205
42209
|
...t && { id: n[t] },
|
|
42206
|
-
...e && { name:
|
|
42207
|
-
})),
|
|
42210
|
+
...e && { name: Vt(e, n) }
|
|
42211
|
+
})), Ut = async ({ path: e, display: t, primary: n, filters: r = [], ...i }) => {
|
|
42208
42212
|
let a = T(i, [
|
|
42209
42213
|
A(w()),
|
|
42210
42214
|
I("search"),
|
|
@@ -42230,9 +42234,9 @@ var Lt = i(), Rt = /\{([^}]+)\}/g, zt = (e, t) => t.split(".").reduce((e, t) =>
|
|
|
42230
42234
|
te(r)
|
|
42231
42235
|
]);
|
|
42232
42236
|
try {
|
|
42233
|
-
let { data: e, items: r, next: i } = T((await
|
|
42237
|
+
let { data: e, items: r, next: i } = T((await Rt.get(a)).data, [A(C())]);
|
|
42234
42238
|
return {
|
|
42235
|
-
items: T(e || r || [], [
|
|
42239
|
+
items: T(e || r || [], [Ht({
|
|
42236
42240
|
display: t,
|
|
42237
42241
|
primary: n
|
|
42238
42242
|
})]) ?? [],
|
|
@@ -42241,9 +42245,9 @@ var Lt = i(), Rt = /\{([^}]+)\}/g, zt = (e, t) => t.split(".").reduce((e, t) =>
|
|
|
42241
42245
|
} catch (e) {
|
|
42242
42246
|
throw T(e, [N]);
|
|
42243
42247
|
}
|
|
42244
|
-
},
|
|
42245
|
-
getList:
|
|
42246
|
-
getLookup: (e) =>
|
|
42248
|
+
}, Wt = {
|
|
42249
|
+
getList: Ut,
|
|
42250
|
+
getLookup: (e) => Ut({
|
|
42247
42251
|
...e,
|
|
42248
42252
|
fields: e.fields || ["id", "name"]
|
|
42249
42253
|
})
|
|
@@ -42255,7 +42259,7 @@ Object.freeze({
|
|
|
42255
42259
|
VARIABLES: "variables",
|
|
42256
42260
|
DESTINATION: "destination"
|
|
42257
42261
|
});
|
|
42258
|
-
var
|
|
42259
|
-
x(de), [...x(fe)], [...x(me)], { ...R(
|
|
42262
|
+
var Gt = "/contacts";
|
|
42263
|
+
x(de), [...x(fe)], [...x(me)], { ...R(Gt) };
|
|
42260
42264
|
//#endregion
|
|
42261
|
-
export { O as a, Qe as i, rt as n, $e as r,
|
|
42265
|
+
export { O as a, Qe as i, rt as n, $e as r, Wt as t };
|