@webitel/ui-sdk 26.8.33 → 26.8.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 (47) hide show
  1. package/dist/{clients-DYgSupBB.js → clients-BwMBivjN.js} +104 -104
  2. package/dist/{components-BDKAbff7.js → components-MVLdxZ5u.js} +17 -16
  3. package/dist/ui-sdk.css +1 -1
  4. package/dist/ui-sdk.js +1 -1
  5. package/dist/ui-sdk.umd.cjs +620 -620
  6. package/dist/{useValidation-C_F39G5j.js → useValidation-D6P-wRwq.js} +12 -7
  7. package/dist/{wt-chat-emoji-BDckjRW9.js → wt-chat-emoji-B-Sol73Z.js} +1 -1
  8. package/dist/{wt-datepicker-BwjMwR9-.js → wt-datepicker-C5LuZK-R.js} +1 -1
  9. package/dist/{wt-display-chip-items-BxQrYGag.js → wt-display-chip-items-DgLG0ozO.js} +1 -1
  10. package/dist/{wt-search-bar-DaBSWvlP.js → wt-search-bar-Dnjkgro3.js} +10 -8
  11. package/dist/{wt-send-message-popup-BQmQ764a.js → wt-send-message-popup-DzDfWlvV.js} +2 -2
  12. package/dist/{wt-timepicker-CS5S9HHJ.js → wt-timepicker-CAkO0jFY.js} +1 -1
  13. package/dist/{wt-type-extension-value-input-BPhqY-_e.js → wt-type-extension-value-input-BFm1OPEE.js} +2 -2
  14. package/dist/{wt-vidstack-player-Byw50ZoQ.js → wt-vidstack-player-jTPSvIQM.js} +1 -1
  15. package/package.json +1 -1
  16. package/src/components/wt-input-text/wt-input-text.vue +10 -4
  17. package/src/components/wt-search-bar/wt-search-bar.vue +7 -0
  18. package/src/composables/useCard/useCardTabs.js +2 -3
  19. package/src/locale/en/en.js +3 -0
  20. package/src/locale/es/es.js +5 -0
  21. package/src/locale/kz/kz.js +5 -0
  22. package/src/locale/pl/pl.js +4 -0
  23. package/src/locale/ro/ro.js +5 -0
  24. package/src/locale/ru/ru.js +4 -0
  25. package/src/locale/uk/uk.js +3 -0
  26. package/src/locale/uz/uz.js +5 -0
  27. package/src/locale/vi/vi.js +4 -0
  28. package/src/mixins/validationMixin/regle/useRegleValidation.ts +17 -1
  29. package/src/modules/ObjectPermissions/headers/headers.ts +5 -0
  30. package/src/validations/config/errors/__tests__/customZodErrorsHandler.spec.ts +103 -0
  31. package/src/validations/config/errors/customZodErrorsHandler.ts +14 -0
  32. package/types/.tsbuildinfo +1 -1
  33. package/types/components/wt-input-text/wt-input-text.vue.d.ts +4 -2
  34. package/types/components/wt-search-bar/wt-search-bar.vue.d.ts +4 -2
  35. package/types/composables/useCard/useCardTabs.d.ts +1 -1
  36. package/types/locale/en/en.d.ts +3 -0
  37. package/types/locale/es/es.d.ts +3 -0
  38. package/types/locale/i18n.d.ts +27 -0
  39. package/types/locale/index.d.ts +27 -0
  40. package/types/locale/kz/kz.d.ts +3 -0
  41. package/types/locale/pl/pl.d.ts +3 -0
  42. package/types/locale/ro/ro.d.ts +3 -0
  43. package/types/locale/ru/ru.d.ts +3 -0
  44. package/types/locale/uk/uk.d.ts +3 -0
  45. package/types/locale/uz/uz.d.ts +3 -0
  46. package/types/locale/vi/vi.d.ts +3 -0
  47. package/types/modules/ObjectPermissions/headers/headers.d.ts +5 -0
@@ -201,23 +201,23 @@ function V(e, t) {
201
201
  }
202
202
  //#endregion
203
203
  //#region packages/api-services/src/api/interceptors/request/updateToken.interceptor.ts
204
- var H = [(e) => (e.headers["X-Webitel-Access"] = localStorage.getItem("access-token") || "", e), (e) => Promise.reject(e)], U = [(e) => e, (e) => {
204
+ var te = [(e) => (e.headers["X-Webitel-Access"] = localStorage.getItem("access-token") || "", e), (e) => Promise.reject(e)], H = [(e) => e, (e) => {
205
205
  if (e.response && e.response.status === 401) {
206
206
  let e = encodeURIComponent(window.location.href);
207
207
  window.location.href = `undefined?redirectTo=${e}`;
208
208
  }
209
209
  return Promise.reject(e);
210
- }], W = () => {
210
+ }], U = () => {
211
211
  let e = { arrayFormat: "repeat" };
212
212
  return a({
213
213
  interceptors: {
214
- request: [H],
215
- response: [U]
214
+ request: [te],
215
+ response: [H]
216
216
  },
217
217
  baseURL: "/api",
218
218
  paramsSerializer: (t) => V(t, e)
219
219
  });
220
- }, te = /* @__PURE__ */ t(((e, t) => {
220
+ }, ne = /* @__PURE__ */ t(((e, t) => {
221
221
  (function(n) {
222
222
  var i = typeof e == "object" && e && !e.nodeType && e, a = typeof t == "object" && t && !t.nodeType && t, o = typeof r == "object" && r;
223
223
  (o.global === o || o.window === o || o.self === o) && (n = o);
@@ -309,7 +309,7 @@ var H = [(e) => (e.headers["X-Webitel-Access"] = localStorage.getItem("access-to
309
309
  else for (w in s) s.hasOwnProperty(w) && (i[w] = s[w]);
310
310
  else n.punycode = s;
311
311
  })(e);
312
- })), ne = /* @__PURE__ */ t(((e, t) => {
312
+ })), re = /* @__PURE__ */ t(((e, t) => {
313
313
  var n = String.prototype.replace, r = /%20/g, i = {
314
314
  RFC1738: "RFC1738",
315
315
  RFC3986: "RFC3986"
@@ -327,8 +327,8 @@ var H = [(e) => (e.headers["X-Webitel-Access"] = localStorage.getItem("access-to
327
327
  RFC1738: i.RFC1738,
328
328
  RFC3986: i.RFC3986
329
329
  };
330
- })), re = /* @__PURE__ */ t(((e, t) => {
331
- var n = ne(), r = l(), i = c(), a = Object.prototype.hasOwnProperty, o = Array.isArray, s = r(), u = function(e, t) {
330
+ })), ie = /* @__PURE__ */ t(((e, t) => {
331
+ var n = re(), r = l(), i = c(), a = Object.prototype.hasOwnProperty, o = Array.isArray, s = r(), u = function(e, t) {
332
332
  return s.set(e, t), e;
333
333
  }, d = function(e) {
334
334
  return s.has(e);
@@ -510,8 +510,8 @@ var H = [(e) => (e.headers["X-Webitel-Access"] = localStorage.getItem("access-to
510
510
  },
511
511
  merge: v
512
512
  };
513
- })), ie = /* @__PURE__ */ t(((e, t) => {
514
- var n = l(), r = re(), i = ne(), a = Object.prototype.hasOwnProperty, o = {
513
+ })), ae = /* @__PURE__ */ t(((e, t) => {
514
+ var n = l(), r = ie(), i = re(), a = Object.prototype.hasOwnProperty, o = {
515
515
  brackets: function(e) {
516
516
  return e + "[]";
517
517
  },
@@ -643,8 +643,8 @@ var H = [(e) => (e.headers["X-Webitel-Access"] = localStorage.getItem("access-to
643
643
  var y = l.join(i.delimiter), b = i.addQueryPrefix === !0 ? "?" : "";
644
644
  return i.charsetSentinel && (i.charset === "iso-8859-1" ? b += "utf8=%26%2310003%3B" + i.delimiter : b += "utf8=%E2%9C%93" + i.delimiter), y.length > 0 ? b + y : "";
645
645
  };
646
- })), ae = /* @__PURE__ */ t(((e, t) => {
647
- var n = re(), r = Object.prototype.hasOwnProperty, i = Array.isArray, a = {
646
+ })), oe = /* @__PURE__ */ t(((e, t) => {
647
+ var n = ie(), r = Object.prototype.hasOwnProperty, i = Array.isArray, a = {
648
648
  allowDots: !1,
649
649
  allowEmptyArrays: !1,
650
650
  allowPrototypes: !1,
@@ -789,16 +789,16 @@ var H = [(e) => (e.headers["X-Webitel-Access"] = localStorage.getItem("access-to
789
789
  }
790
790
  return r.allowSparse === !0 ? a : n.compact(a);
791
791
  };
792
- })), oe = /* @__PURE__ */ t(((e, t) => {
793
- var n = ie(), r = ae();
792
+ })), se = /* @__PURE__ */ t(((e, t) => {
793
+ var n = ae(), r = oe();
794
794
  t.exports = {
795
- formats: ne(),
795
+ formats: re(),
796
796
  parse: r,
797
797
  stringify: n
798
798
  };
799
799
  }));
800
800
  (/* @__PURE__ */ t(((e) => {
801
- var t = te();
801
+ var t = ne();
802
802
  function n() {
803
803
  this.protocol = null, this.slashes = null, this.auth = null, this.host = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.query = null, this.pathname = null, this.path = null, this.href = null;
804
804
  }
@@ -845,7 +845,7 @@ var H = [(e) => (e.headers["X-Webitel-Access"] = localStorage.getItem("access-to
845
845
  "ftp:": !0,
846
846
  "gopher:": !0,
847
847
  "file:": !0
848
- }, h = oe();
848
+ }, h = se();
849
849
  function g(e, t, r) {
850
850
  if (e && typeof e == "object" && e instanceof n) return e;
851
851
  var i = new n();
@@ -905,12 +905,12 @@ var H = [(e) => (e.headers["X-Webitel-Access"] = localStorage.getItem("access-to
905
905
  V === B && (V = escape(B)), y = y.split(B).join(V);
906
906
  }
907
907
  }
908
- var H = y.indexOf("#");
909
- H !== -1 && (this.hash = y.substr(H), y = y.slice(0, H));
910
- var U = y.indexOf("?");
911
- if (U === -1 ? n && (this.search = "", this.query = {}) : (this.search = y.substr(U), this.query = y.substr(U + 1), n && (this.query = h.parse(this.query)), y = y.slice(0, U)), y && (this.pathname = y), m[S] && this.hostname && !this.pathname && (this.pathname = "/"), this.pathname || this.search) {
912
- var z = this.pathname || "", W = this.search || "";
913
- this.path = z + W;
908
+ var te = y.indexOf("#");
909
+ te !== -1 && (this.hash = y.substr(te), y = y.slice(0, te));
910
+ var H = y.indexOf("?");
911
+ if (H === -1 ? n && (this.search = "", this.query = {}) : (this.search = y.substr(H), this.query = y.substr(H + 1), n && (this.query = h.parse(this.query)), y = y.slice(0, H)), y && (this.pathname = y), m[S] && this.hostname && !this.pathname && (this.pathname = "/"), this.pathname || this.search) {
912
+ var z = this.pathname || "", U = this.search || "";
913
+ this.path = z + U;
914
914
  }
915
915
  return this.href = this.format(), this;
916
916
  };
@@ -991,19 +991,19 @@ var H = [(e) => (e.headers["X-Webitel-Access"] = localStorage.getItem("access-to
991
991
  })))(), "https://dev.webitel.com/api".replace(/\/+$/, "");
992
992
  //#endregion
993
993
  //#region node_modules/url/node_modules/punycode/punycode.js
994
- var se = class {
994
+ var ce = class {
995
995
  constructor(e = {}) {
996
996
  this.apiKey = e.apiKey, this.username = e.username, this.password = e.password, this.accessToken = e.accessToken, this.basePath = e.basePath, this.baseOptions = e.baseOptions;
997
997
  }
998
- }, G = () => new se({
998
+ }, W = () => new ce({
999
999
  basePath: "/api",
1000
1000
  apiKey: localStorage.getItem("access-key") || "",
1001
1001
  accessToken: localStorage.getItem("access-key") || ""
1002
- }), K = (e, t, { debug: n = !1, withContext: r = null } = {}) => t.reduce((e, t, i) => (n && console.info(`applyTransform debug on step ${i}`, e), r ? t(e, r) : t(e)), e), q = (e = []) => (t) => s(t, e), ce = (e) => (t) => `${e}?${V(t, {
1002
+ }), G = (e, t, { debug: n = !1, withContext: r = null } = {}) => t.reduce((e, t, i) => (n && console.info(`applyTransform debug on step ${i}`, e), r ? t(e, r) : t(e)), e), K = (e = []) => (t) => s(t, e), le = (e) => (t) => `${e}?${V(t, {
1003
1003
  skipEmptyString: !0,
1004
1004
  skipNull: !0,
1005
1005
  arrayFormat: "repeat"
1006
- })}`, le = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
1006
+ })}`, ue = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
1007
1007
  var n = function(e) {
1008
1008
  return r(e) && !i(e);
1009
1009
  };
@@ -1071,15 +1071,15 @@ var se = class {
1071
1071
  return g(e, n, t);
1072
1072
  }, {});
1073
1073
  }, t.exports = g;
1074
- })))(), 1), J = (...e) => (t) => le.default.all([...e, t]), ue = (...e) => (t) => t.map((t) => le.default.all([...e, t])), de = {
1074
+ })))(), 1), q = (...e) => (t) => ue.default.all([...e, t]), de = (...e) => (t) => t.map((t) => ue.default.all([...e, t])), fe = {
1075
1075
  eventBus: null,
1076
1076
  i18n: null
1077
1077
  };
1078
1078
  //#endregion
1079
1079
  //#region packages/api-services/src/api/transformers/notify/notify.transformer.ts
1080
- function Y(e) {
1080
+ function J(e) {
1081
1081
  if (typeof e == "function") {
1082
- let t = ({ type: e, text: t }) => de.eventBus?.$emit("notification", {
1082
+ let t = ({ type: e, text: t }) => fe.eventBus?.$emit("notification", {
1083
1083
  type: e,
1084
1084
  text: t
1085
1085
  });
@@ -1087,7 +1087,7 @@ function Y(e) {
1087
1087
  }
1088
1088
  if (e instanceof Error) {
1089
1089
  let { response: t } = e, n = t?.data?.translation || t?.data?.detail || t?.data?.message || e;
1090
- de.eventBus?.$emit("notification", {
1090
+ fe.eventBus?.$emit("notification", {
1091
1091
  type: "error",
1092
1092
  text: n
1093
1093
  });
@@ -1096,10 +1096,10 @@ function Y(e) {
1096
1096
  }
1097
1097
  //#endregion
1098
1098
  //#region packages/api-services/src/api/transformers/sanitize/sanitize.transformer.ts
1099
- var X = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n[r] = t[r]), n), {}), Z = (e = []) => (t) => o(t, e), fe = /* @__PURE__ */ e(u(), 1), Q = (e = "search") => (t) => {
1100
- let n = (0, fe.default)(t), r = d(n, e);
1099
+ var Y = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n[r] = t[r]), n), {}), X = (e = []) => (t) => o(t, e), pe = /* @__PURE__ */ e(u(), 1), Z = (e = "search") => (t) => {
1100
+ let n = (0, pe.default)(t), r = d(n, e);
1101
1101
  return !r || r.slice(-1) === "*" ? n : f(n, e, `${r}*`);
1102
- }, pe = "acl", me = (e) => e.map((e) => ({
1102
+ }, me = "acl", he = (e) => e.map((e) => ({
1103
1103
  ...e,
1104
1104
  access: {
1105
1105
  x: {
@@ -1119,8 +1119,8 @@ var X = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n
1119
1119
  rule: "d".repeat((e.granted.match(/d/g) || []).length)
1120
1120
  }
1121
1121
  }
1122
- })), he = (e) => {
1123
- let t = W();
1122
+ })), Q = (e) => {
1123
+ let t = U();
1124
1124
  return {
1125
1125
  getPermissionsList: async ({ parentId: n, ...r }) => {
1126
1126
  let i = [
@@ -1130,33 +1130,33 @@ var X = (e) => (t) => Object.keys(t).reduce((n, r) => (e.indexOf(r) === -1 || (n
1130
1130
  "sort",
1131
1131
  "fields",
1132
1132
  "id"
1133
- ], a = { user: !1 }, o = K(r, [
1134
- J(_()),
1135
- Q("search"),
1133
+ ], a = { user: !1 }, o = G(r, [
1134
+ q(_()),
1135
+ Z("search"),
1136
1136
  (e) => ({
1137
1137
  ...e,
1138
1138
  q: e.search
1139
1139
  }),
1140
- X(i),
1141
- q(),
1142
- ce(`${e}/${n}/${pe}`)
1140
+ Y(i),
1141
+ K(),
1142
+ le(`${e}/${n}/${me}`)
1143
1143
  ]);
1144
1144
  try {
1145
- let { items: e, next: n } = K((await t.get(o)).data, [Z(), J(g())]);
1145
+ let { items: e, next: n } = G((await t.get(o)).data, [X(), q(g())]);
1146
1146
  return {
1147
- items: K(e, [ue(a), me]),
1147
+ items: G(e, [de(a), he]),
1148
1148
  next: n
1149
1149
  };
1150
1150
  } catch (e) {
1151
- throw K(e, [Y]);
1151
+ throw G(e, [J]);
1152
1152
  }
1153
1153
  },
1154
1154
  patchPermissions: async ({ changes: n, id: r }) => {
1155
- let i = K(n, [q()]), a = `${e}/${r}/${pe}`;
1155
+ let i = G(n, [K()]), a = `${e}/${r}/${me}`;
1156
1156
  try {
1157
- return K((await t.patch(a, i)).data, [Z()]);
1157
+ return G((await t.patch(a, i)).data, [X()]);
1158
1158
  } catch (e) {
1159
- throw K(e, [Y]);
1159
+ throw G(e, [J]);
1160
1160
  }
1161
1161
  }
1162
1162
  };
@@ -38488,14 +38488,14 @@ var Ue = (e) => {
38488
38488
  let t = (e) => e.map((e) => ({
38489
38489
  ...e,
38490
38490
  statusDuration: We(e.statusDuration)
38491
- })), n = K(e, [
38492
- q(),
38493
- J(g()),
38491
+ })), n = G(e, [
38492
+ K(),
38493
+ q(g()),
38494
38494
  (e) => ({
38495
38495
  ...e,
38496
38496
  q: e.search
38497
38497
  }),
38498
- X([
38498
+ Y([
38499
38499
  "page",
38500
38500
  "size",
38501
38501
  "q",
@@ -38518,13 +38518,13 @@ var Ue = (e) => {
38518
38518
  ])
38519
38519
  ]);
38520
38520
  try {
38521
- let { items: e, next: r } = K((await $().searchAgent(n)).data, [Z(), J(g())]);
38521
+ let { items: e, next: r } = G((await $().searchAgent(n)).data, [X(), q(g())]);
38522
38522
  return {
38523
- items: K(e, [t]),
38523
+ items: G(e, [t]),
38524
38524
  next: r
38525
38525
  };
38526
38526
  } catch (e) {
38527
- throw K(e, [Y]);
38527
+ throw G(e, [J]);
38528
38528
  }
38529
38529
  }, Ke = async ({ itemId: e }) => {
38530
38530
  let t = {
@@ -38541,9 +38541,9 @@ var Ue = (e) => {
38541
38541
  greetingMedia: {}
38542
38542
  };
38543
38543
  try {
38544
- return K((await $().readAgent(String(e))).data, [Z(), J(t)]);
38544
+ return G((await $().readAgent(String(e))).data, [X(), q(t)]);
38545
38545
  } catch (e) {
38546
- throw K(e, [Y]);
38546
+ throw G(e, [J]);
38547
38547
  }
38548
38548
  }, qe = [
38549
38549
  "user",
@@ -38560,34 +38560,34 @@ var Ue = (e) => {
38560
38560
  getList: Ge,
38561
38561
  get: Ke,
38562
38562
  add: async ({ itemInstance: e }) => {
38563
- let t = K(e, [X(qe), q()]);
38563
+ let t = G(e, [Y(qe), K()]);
38564
38564
  try {
38565
- return K((await $().createAgent(t)).data, [Z()]);
38565
+ return G((await $().createAgent(t)).data, [X()]);
38566
38566
  } catch (e) {
38567
- throw K(e, [Y]);
38567
+ throw G(e, [J]);
38568
38568
  }
38569
38569
  },
38570
38570
  patch: async ({ changes: e, id: t }) => {
38571
- let n = K(e, [X(qe), q()]);
38571
+ let n = G(e, [Y(qe), K()]);
38572
38572
  try {
38573
- return K((await $().patchAgent(String(t), n)).data, [Z()]);
38573
+ return G((await $().patchAgent(String(t), n)).data, [X()]);
38574
38574
  } catch (e) {
38575
- throw K(e, [Y]);
38575
+ throw G(e, [J]);
38576
38576
  }
38577
38577
  },
38578
38578
  update: async ({ itemInstance: e, itemId: t }) => {
38579
- let n = K(e, [X(qe), q()]);
38579
+ let n = G(e, [Y(qe), K()]);
38580
38580
  try {
38581
- return K((await $().updateAgent(String(t), n)).data, [Z()]);
38581
+ return G((await $().updateAgent(String(t), n)).data, [X()]);
38582
38582
  } catch (e) {
38583
- throw K(e, [Y]);
38583
+ throw G(e, [J]);
38584
38584
  }
38585
38585
  },
38586
38586
  delete: async ({ id: e }) => {
38587
38587
  try {
38588
- return K((await $().deleteAgent(String(e))).data, []);
38588
+ return G((await $().deleteAgent(String(e))).data, []);
38589
38589
  } catch (e) {
38590
- throw K(e, [Y]);
38590
+ throw G(e, [J]);
38591
38591
  }
38592
38592
  },
38593
38593
  getLookup: (e) => Ge({
@@ -38595,9 +38595,9 @@ var Ue = (e) => {
38595
38595
  fields: e.fields || ["id", "name"]
38596
38596
  }),
38597
38597
  getAgentHistory: async (e) => {
38598
- let { parentId: t, from: n, to: r, page: i, size: a, sort: o = "-joined_at" } = K(e, [J(_()), Q("search")]);
38598
+ let { parentId: t, from: n, to: r, page: i, size: a, sort: o = "-joined_at" } = G(e, [q(_()), Z("search")]);
38599
38599
  try {
38600
- let { items: e, next: s } = K((await $().searchAgentStateHistory({
38600
+ let { items: e, next: s } = G((await $().searchAgentStateHistory({
38601
38601
  page: i,
38602
38602
  size: a,
38603
38603
  agentId: t ? [t] : void 0,
@@ -38605,13 +38605,13 @@ var Ue = (e) => {
38605
38605
  }, { params: {
38606
38606
  "joined_at.from": n,
38607
38607
  "joined_at.to": r
38608
- } })).data, [Z(), J(g())]);
38608
+ } })).data, [X(), q(g())]);
38609
38609
  return {
38610
38610
  items: e,
38611
38611
  next: s
38612
38612
  };
38613
38613
  } catch (e) {
38614
- throw K(e, [Y]);
38614
+ throw G(e, [J]);
38615
38615
  }
38616
38616
  },
38617
38617
  getRegularAgentsOptions: async (e) => Ge({
@@ -38619,19 +38619,19 @@ var Ue = (e) => {
38619
38619
  isNotSupervisor: !0
38620
38620
  }),
38621
38621
  getAgentUsersOptions: async (e) => {
38622
- let { page: t, size: n, search: r } = K(e, [J(_()), Q("search")]);
38622
+ let { page: t, size: n, search: r } = G(e, [q(_()), Z("search")]);
38623
38623
  try {
38624
- let { items: e, next: i } = K((await $().searchLookupUsersAgentNotExists({
38624
+ let { items: e, next: i } = G((await $().searchLookupUsersAgentNotExists({
38625
38625
  page: t,
38626
38626
  size: n,
38627
38627
  q: r
38628
- })).data, [Z(), J(g())]);
38628
+ })).data, [X(), q(g())]);
38629
38629
  return {
38630
38630
  items: e,
38631
38631
  next: i
38632
38632
  };
38633
38633
  } catch (e) {
38634
- throw K(e, [Y]);
38634
+ throw G(e, [J]);
38635
38635
  }
38636
38636
  },
38637
38637
  getSupervisorOptions: async (e) => Ge({
@@ -38639,15 +38639,15 @@ var Ue = (e) => {
38639
38639
  isSupervisor: !0
38640
38640
  }),
38641
38641
  getUsersStatus: async (e) => {
38642
- let t = K(e, [
38643
- q(),
38644
- J(_()),
38645
- Q("search"),
38642
+ let t = G(e, [
38643
+ K(),
38644
+ q(_()),
38645
+ Z("search"),
38646
38646
  (e) => ({
38647
38647
  ...e,
38648
38648
  q: e.search
38649
38649
  }),
38650
- X([
38650
+ Y([
38651
38651
  "page",
38652
38652
  "size",
38653
38653
  "q",
@@ -38657,53 +38657,53 @@ var Ue = (e) => {
38657
38657
  ])
38658
38658
  ]);
38659
38659
  try {
38660
- let { items: e, next: n } = K((await $().searchUserStatus(t)).data, [Z(), J(g())]);
38660
+ let { items: e, next: n } = G((await $().searchUserStatus(t)).data, [X(), q(g())]);
38661
38661
  return {
38662
38662
  items: e,
38663
38663
  next: n
38664
38664
  };
38665
38665
  } catch (e) {
38666
- throw K(e, [Y]);
38666
+ throw G(e, [J]);
38667
38667
  }
38668
38668
  }
38669
38669
  };
38670
- W(), G(), W(), G(), W(), G(), W(), G(), W(), G(), W(), G(), W(), G(), W(), G(), W(), G(), Object.freeze({
38670
+ U(), W(), { ...Q("/calendars") }, U(), W(), U(), W(), U(), W(), U(), W(), U(), W(), U(), W(), U(), W(), Object.freeze({
38671
38671
  VIBER: "viber",
38672
38672
  WHATSAPP: "whatsapp",
38673
38673
  TELEGRAM: "telegram",
38674
38674
  MESSENGER: "messenger",
38675
38675
  EMAIL: "email"
38676
- }), W(), W(), G(), W(), G(), W(), G(), { ...he("/contacts/groups") }, W(), G(), W(), W(), G(), W(), G(), W(), G(), W(), G(), localStorage.getItem("access-token"), i.create({ headers: { "content-type": "multipart/form-data" } });
38676
+ }), U(), U(), W(), U(), W(), U(), W(), { ...Q("/contacts/groups") }, U(), W(), U(), U(), W(), U(), W(), U(), W(), U(), W(), localStorage.getItem("access-token"), i.create({ headers: { "content-type": "multipart/form-data" } });
38677
38677
  var Ye = {
38678
38678
  patch: async (e) => {
38679
- let t = K(e, [q()]);
38679
+ let t = G(e, [K()]);
38680
38680
  try {
38681
- return K((await je().messagesServiceBroadcastMessage(t)).data, [Z()]);
38681
+ return G((await je().messagesServiceBroadcastMessage(t)).data, [X()]);
38682
38682
  } catch (e) {
38683
- throw K(e, [Y]);
38683
+ throw G(e, [J]);
38684
38684
  }
38685
38685
  },
38686
38686
  getChatHistory: async ({ chatId: e, ...t }) => {
38687
- let n = K(t, [J(_()), q()]);
38687
+ let n = G(t, [q(_()), K()]);
38688
38688
  try {
38689
- let { messages: t, peers: r, next: i } = K((await je().catalogGetHistory(String(e), n)).data, [Z(), J(g())]);
38689
+ let { messages: t, peers: r, next: i } = G((await je().catalogGetHistory(String(e), n)).data, [X(), q(g())]);
38690
38690
  return {
38691
38691
  messages: t,
38692
38692
  peers: r,
38693
38693
  next: i
38694
38694
  };
38695
38695
  } catch (e) {
38696
- throw K(e, [Y]);
38696
+ throw G(e, [J]);
38697
38697
  }
38698
38698
  }
38699
38699
  };
38700
- h(Me), { ...he("/oauth/apps") }, W(), G(), W(), G(), W(), G(), W(), G(), W(), G(), W(), G(), W(), G(), W(), { ...he("/users") }, W();
38700
+ h(Me), { ...Q("/oauth/apps") }, U(), W(), U(), W(), U(), W(), U(), W(), U(), W(), U(), W(), U(), W(), U(), { ...Q("/users") }, U();
38701
38701
  //#endregion
38702
38702
  //#region packages/api-services/src/api/clients/wtTypes/sysTypes/sysTypes.ts
38703
- var Xe = W(), Ze = async ({ path: e, display: t, primary: n, ...r }) => {
38704
- let i = K(r, [
38705
- J(_()),
38706
- Q("search"),
38703
+ var Xe = U(), Ze = async ({ path: e, display: t, primary: n, ...r }) => {
38704
+ let i = G(r, [
38705
+ q(_()),
38706
+ Z("search"),
38707
38707
  (e) => ({
38708
38708
  ...e,
38709
38709
  q: e.search
@@ -38712,7 +38712,7 @@ var Xe = W(), Ze = async ({ path: e, display: t, primary: n, ...r }) => {
38712
38712
  ...e,
38713
38713
  ids: e.id
38714
38714
  }),
38715
- X([
38715
+ Y([
38716
38716
  "page",
38717
38717
  "size",
38718
38718
  "q",
@@ -38721,17 +38721,17 @@ var Xe = W(), Ze = async ({ path: e, display: t, primary: n, ...r }) => {
38721
38721
  "id",
38722
38722
  "ids"
38723
38723
  ]),
38724
- q(),
38725
- ce(e)
38724
+ K(),
38725
+ le(e)
38726
38726
  ]);
38727
38727
  try {
38728
- let { data: e, items: t, next: n } = K((await Xe.get(i)).data, [J(g())]);
38728
+ let { data: e, items: t, next: n } = G((await Xe.get(i)).data, [q(g())]);
38729
38729
  return {
38730
- items: K(e || t, []) ?? [],
38730
+ items: G(e || t, []) ?? [],
38731
38731
  next: n
38732
38732
  };
38733
38733
  } catch (e) {
38734
- throw K(e, [Y]);
38734
+ throw G(e, [J]);
38735
38735
  }
38736
38736
  }, Qe = {
38737
38737
  getList: Ze,
@@ -38740,12 +38740,12 @@ var Xe = W(), Ze = async ({ path: e, display: t, primary: n, ...r }) => {
38740
38740
  fields: e.fields || ["id", "name"]
38741
38741
  })
38742
38742
  };
38743
- W(), G(), W(), G(), Object.freeze({
38743
+ U(), W(), U(), W(), Object.freeze({
38744
38744
  NAME: "name",
38745
38745
  LABELS: "labels",
38746
38746
  ABOUT: "about",
38747
38747
  VARIABLES: "variables",
38748
38748
  DESTINATION: "destination"
38749
- }), W(), G(), { ...he("/contacts") };
38749
+ }), U(), W(), { ...Q("/contacts") };
38750
38750
  //#endregion
38751
38751
  export { Ye as n, Je as r, Qe as t };
@@ -11,7 +11,7 @@ import { t as ae } from "./wt-toast-DrfbAfTj.js";
11
11
  import "./sortQueryAdapters-CyYXvnDN.js";
12
12
  import { n as T, t as E } from "./wt-icon-btn-DvrrxhWx.js";
13
13
  import { t as oe } from "./wt-icon-action-BBmutGsL.js";
14
- import { t as se } from "./useValidation-C_F39G5j.js";
14
+ import { t as se } from "./useValidation-D6P-wRwq.js";
15
15
  import { i as ce, n as le, r as ue } from "./composables-BtWSAI5D.js";
16
16
  import { t as de } from "./wt-expand-transition-C2p9bR4j.js";
17
17
  import { a as fe, c as pe, i as me, n as he, o as ge, r as _e, s as ve, t as ye } from "./floating-ui.dom-Ch9ml4Rx.js";
@@ -3814,7 +3814,7 @@ var Ao = /*#__PURE__*/ s(Oo, [["render", ko], ["__scopeId", "data-v-4a646a2c"]])
3814
3814
  modelValue: { default: "" },
3815
3815
  modelModifiers: {}
3816
3816
  }),
3817
- emits: /*@__PURE__*/ Ae(["update:modelValue"], ["update:modelValue"]),
3817
+ emits: /*@__PURE__*/ Ae(["focus"], ["update:modelValue"]),
3818
3818
  setup(e, { expose: t, emit: n }) {
3819
3819
  let r = e, i = {
3820
3820
  [d.SM]: "small",
@@ -3825,10 +3825,10 @@ var Ao = /*#__PURE__*/ s(Oo, [["render", ko], ["__scopeId", "data-v-4a646a2c"]])
3825
3825
  regleValidation: p
3826
3826
  }), { focus: y, handleKeyup: b } = ce(o), ee = D(() => r.label || l.label), x = D(() => r.required || r.v && "required" in r.v ? `${r.label}*` : r.label), S = (e) => {
3827
3827
  let t = r.preventTrim ? e : e.trim();
3828
- c("update:modelValue", t);
3828
+ a.value = t;
3829
3829
  }, C = Be(r.hideInputValue), te = D(() => !!a.value?.length && C.value), ne = D(() => C.value ? "eye--opened" : "eye--closed");
3830
3830
  return t({ focus: y }), (t, n) => {
3831
- let r = V("wt-label"), c = V("p-input-group-addon"), l = V("p-input-text"), u = V("wt-icon-btn"), f = V("p-input-group"), p = V("wt-message");
3831
+ let r = V("wt-label"), l = V("p-input-group-addon"), u = V("p-input-text"), f = V("wt-icon-btn"), p = V("p-input-group"), y = V("wt-message");
3832
3832
  return z(), A("div", No, [
3833
3833
  ee.value ? (z(), O(r, je({ key: 0 }, e.labelProps, {
3834
3834
  disabled: e.disabled,
@@ -3838,16 +3838,16 @@ var Ao = /*#__PURE__*/ s(Oo, [["render", ko], ["__scopeId", "data-v-4a646a2c"]])
3838
3838
  default: q(() => [B(t.$slots, "label", R(I({ label: e.label })), () => [M(U(x.value), 1)], !0)], void 0, !0),
3839
3839
  _: 3
3840
3840
  }, 16, ["disabled", "invalid"])) : k("", !0),
3841
- N(f, null, {
3841
+ N(p, null, {
3842
3842
  default: q(() => [
3843
- t.$slots.prefix ? (z(), O(c, {
3843
+ t.$slots.prefix ? (z(), O(l, {
3844
3844
  key: 0,
3845
3845
  class: "wt-input-text__addon typo-body-1"
3846
3846
  }, {
3847
3847
  default: q(() => [B(t.$slots, "prefix", {}, void 0, !0)], void 0, !0),
3848
3848
  _: 3
3849
3849
  })) : k("", !0),
3850
- N(l, je(t.$attrs, {
3850
+ N(u, je(t.$attrs, {
3851
3851
  id: s,
3852
3852
  ref_key: "inputText",
3853
3853
  ref: o,
@@ -3860,7 +3860,8 @@ var Ao = /*#__PURE__*/ s(Oo, [["render", ko], ["__scopeId", "data-v-4a646a2c"]])
3860
3860
  size: e.size ? i[e.size] : void 0
3861
3861
  }, {
3862
3862
  "onUpdate:modelValue": S,
3863
- onKeyup: G(b)
3863
+ onKeyup: G(b),
3864
+ onFocus: n[0] ||= (e) => c("focus", e)
3864
3865
  }), null, 16, [
3865
3866
  "model-value",
3866
3867
  "disabled",
@@ -3871,22 +3872,22 @@ var Ao = /*#__PURE__*/ s(Oo, [["render", ko], ["__scopeId", "data-v-4a646a2c"]])
3871
3872
  "size",
3872
3873
  "onKeyup"
3873
3874
  ]),
3874
- e.hideInputValue || t.$slots.suffix ? (z(), O(c, {
3875
+ e.hideInputValue || t.$slots.suffix ? (z(), O(l, {
3875
3876
  key: 1,
3876
3877
  class: "wt-input-text__addon typo-body-1"
3877
3878
  }, {
3878
- default: q(() => [e.hideInputValue ? (z(), O(u, {
3879
+ default: q(() => [e.hideInputValue ? (z(), O(f, {
3879
3880
  key: 0,
3880
3881
  icon: ne.value,
3881
3882
  disabled: e.disabled,
3882
- onClick: n[0] ||= (e) => C.value = !C.value
3883
+ onClick: n[1] ||= (e) => C.value = !C.value
3883
3884
  }, null, 8, ["icon", "disabled"])) : k("", !0), B(t.$slots, "suffix", {}, void 0, !0)], void 0, !0),
3884
3885
  _: 3
3885
3886
  })) : k("", !0)
3886
3887
  ], void 0, !0),
3887
3888
  _: 3
3888
3889
  }),
3889
- G(h) && G(_) && !e.hideInputInfo ? (z(), O(p, {
3890
+ G(h) && G(_) && !e.hideInputInfo ? (z(), O(y, {
3890
3891
  key: 1,
3891
3892
  color: G(v),
3892
3893
  variant: G(m).SIMPLE,
@@ -3902,7 +3903,7 @@ var Ao = /*#__PURE__*/ s(Oo, [["render", ko], ["__scopeId", "data-v-4a646a2c"]])
3902
3903
  ]);
3903
3904
  };
3904
3905
  }
3905
- }), [["__scopeId", "data-v-17f6eb50"]]);
3906
+ }), [["__scopeId", "data-v-da13ccfb"]]);
3906
3907
  //#endregion
3907
3908
  //#region node_modules/@vueuse/shared/dist/index.js
3908
3909
  function Fo(e = {}) {
@@ -6600,9 +6601,9 @@ var zl = {
6600
6601
  ])), [[r, d]]) : k("", !0)], 2);
6601
6602
  };
6602
6603
  }
6603
- }, [["__scopeId", "data-v-72aa56d0"]]), Wl = P(() => import("./wt-action-bar-HBm22ay5.js")), Gl = P(() => import("./wt-button-select-BnRHgJ4i.js")), Kl = P(() => import("./wt-confirm-dialog-DCUitG2v.js")), ql = P(() => import("./wt-context-menu-yW52oF-2.js")), Jl = P(() => import("./wt-copy-action-d9gVzAsB.js")), Yl = P(() => import("./wt-datepicker-BwjMwR9-.js")), Xl = P(() => import("./wt-dual-panel-BEGLGU7F.js")), Zl = P(() => import("./wt-dummy-CLjhRWZ6.js")), Ql = P(() => import("./wt-error-page-vhu4lIyF.js")), $l = P(() => import("./wt-expansion-panel-Br7JPc5X.js")), eu = P(() => import("./wt-expansion-card-CpmnVJ03.js")), tu = P(() => import("./wt-filters-panel-wrapper-Cc9b3aci.js")), nu = P(() => import("./wt-galleria-DMCgiiju.js")), ru = P(() => import("./wt-notifications-bar-0o0yhR7P.js")), iu = P(() => import("./wt-page-header-CDbd4aOh.js")), au = P(() => import("./wt-pagination-G2ZGU4Pi.js")), ou = P(() => import("./wt-player-D_kVPIdJ.js")), su = P(() => import("./wt-popover-lP-AhF8l.js").then((e) => e.n)), cu = P(() => import("./wt-search-bar-DaBSWvlP.js")), lu = P(() => import("./wt-slider-BPzRTeYU.js").then((e) => e.n)), uu = P(() => import("./wt-status-select-B-N9Fvz4.js")), du = P(() => import("./wt-stepper-B6zpd1Uh.js")), fu = P(() => import("./wt-table-C4PZJ3rP.js")), pu = P(() => import("./wt-table-actions-4-peSVkc.js")), mu = P(() => import("./wt-table-column-select-D4c56HPB.js")), hu = P(() => import("./wt-tabs-DuOgj-lZ.js")), gu = P(() => import("./wt-time-input-BEBrSugB.js")), _u = P(() => import("./wt-timepicker-CS5S9HHJ.js")), vu = P(() => import("./wt-tree-CMIpbXBo.js")), yu = P(() => import("./wt-tree-table-DJGISZ65.js")), bu = P(() => import("./wt-vidstack-player-Byw50ZoQ.js")), xu = P(() => import("./wt-call-media-action-Bn2bGCWs.js")), Su = P(() => import("./wt-chat-emoji-BDckjRW9.js")), Cu = P(() => import("./wt-display-chip-items-BxQrYGag.js")), wu = P(() => import("./wt-navigation-menu-BMupOW07.js")), Tu = P(() => import("./wt-selection-popup-CjYw4ppb.js")), Eu = P(() => import("./wt-start-page-BFQExFUj.js"));
6604
- P(() => import("./wt-type-extension-value-input-BPhqY-_e.js"));
6605
- var Du = P(() => import("./wt-screen-recordings-action-Dj6ITuhE.js")), Ou = P(() => import("./wt-send-message-popup-BQmQ764a.js")), ku = {
6604
+ }, [["__scopeId", "data-v-72aa56d0"]]), Wl = P(() => import("./wt-action-bar-HBm22ay5.js")), Gl = P(() => import("./wt-button-select-BnRHgJ4i.js")), Kl = P(() => import("./wt-confirm-dialog-DCUitG2v.js")), ql = P(() => import("./wt-context-menu-yW52oF-2.js")), Jl = P(() => import("./wt-copy-action-d9gVzAsB.js")), Yl = P(() => import("./wt-datepicker-C5LuZK-R.js")), Xl = P(() => import("./wt-dual-panel-BEGLGU7F.js")), Zl = P(() => import("./wt-dummy-CLjhRWZ6.js")), Ql = P(() => import("./wt-error-page-vhu4lIyF.js")), $l = P(() => import("./wt-expansion-panel-Br7JPc5X.js")), eu = P(() => import("./wt-expansion-card-CpmnVJ03.js")), tu = P(() => import("./wt-filters-panel-wrapper-Cc9b3aci.js")), nu = P(() => import("./wt-galleria-DMCgiiju.js")), ru = P(() => import("./wt-notifications-bar-0o0yhR7P.js")), iu = P(() => import("./wt-page-header-CDbd4aOh.js")), au = P(() => import("./wt-pagination-G2ZGU4Pi.js")), ou = P(() => import("./wt-player-D_kVPIdJ.js")), su = P(() => import("./wt-popover-lP-AhF8l.js").then((e) => e.n)), cu = P(() => import("./wt-search-bar-Dnjkgro3.js")), lu = P(() => import("./wt-slider-BPzRTeYU.js").then((e) => e.n)), uu = P(() => import("./wt-status-select-B-N9Fvz4.js")), du = P(() => import("./wt-stepper-B6zpd1Uh.js")), fu = P(() => import("./wt-table-C4PZJ3rP.js")), pu = P(() => import("./wt-table-actions-4-peSVkc.js")), mu = P(() => import("./wt-table-column-select-D4c56HPB.js")), hu = P(() => import("./wt-tabs-DuOgj-lZ.js")), gu = P(() => import("./wt-time-input-BEBrSugB.js")), _u = P(() => import("./wt-timepicker-CAkO0jFY.js")), vu = P(() => import("./wt-tree-CMIpbXBo.js")), yu = P(() => import("./wt-tree-table-DJGISZ65.js")), bu = P(() => import("./wt-vidstack-player-jTPSvIQM.js")), xu = P(() => import("./wt-call-media-action-Bn2bGCWs.js")), Su = P(() => import("./wt-chat-emoji-B-Sol73Z.js")), Cu = P(() => import("./wt-display-chip-items-DgLG0ozO.js")), wu = P(() => import("./wt-navigation-menu-BMupOW07.js")), Tu = P(() => import("./wt-selection-popup-CjYw4ppb.js")), Eu = P(() => import("./wt-start-page-BFQExFUj.js"));
6605
+ P(() => import("./wt-type-extension-value-input-BFm1OPEE.js"));
6606
+ var Du = P(() => import("./wt-screen-recordings-action-Dj6ITuhE.js")), Ou = P(() => import("./wt-send-message-popup-DzDfWlvV.js")), ku = {
6606
6607
  WtActionBar: Wl,
6607
6608
  WtImage: po,
6608
6609
  WtEmpty: vo,