@webitel/ui-sdk 26.2.69 → 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.
Files changed (92) hide show
  1. package/dist/{errors-DCJKAXTz.js → errors-CTL-RV3B.js} +1 -1
  2. package/dist/{index-cVwBpL1P.js → index-CLhoKzki.js} +1 -1
  3. package/dist/{index-B71drQtj.js → index-x2Djqp3W.js} +4 -4
  4. package/dist/{install-BEn6vjFW.js → install-Cp4KnSCI.js} +1102 -1220
  5. package/dist/{isObject-DB0eH0MA.js → isObject-C_1aA257.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-CeA9TvJ4.js +425 -0
  13. package/dist/vidstack-D2pY00kU-hPWR401d.js +135 -0
  14. package/dist/vidstack-DDXt6fpN-DEjXPjHx.js +50 -0
  15. package/dist/vidstack-D_-9AA6_-Bh2Pn0IA.js +20 -0
  16. package/dist/{vidstack-Dm1xEU9Q-qSXq3AI-.js → vidstack-Dm1xEU9Q-CXHNvShT.js} +10 -11
  17. package/dist/vidstack-DqAw8m9J-BSNVCj3S.js +22 -0
  18. package/dist/vidstack-audio-C3of4Q-I.js +28 -0
  19. package/dist/vidstack-dash-BD3CNy0Z.js +392 -0
  20. package/dist/vidstack-google-cast-DXLqBW30.js +382 -0
  21. package/dist/vidstack-hls-C6Az6tgn.js +309 -0
  22. package/dist/vidstack-krOAtKMi-C50BTxmn.js +28 -0
  23. package/dist/vidstack-video-CtScgimr.js +163 -0
  24. package/dist/vidstack-vimeo-dFXp7_Vx.js +451 -0
  25. package/dist/vidstack-youtube-BF0J2izd.js +232 -0
  26. package/dist/{vuex.esm-bundler-tZVctzTj.js → vuex.esm-bundler-D5BkZi23.js} +1 -1
  27. package/dist/{wt-action-bar-ColV1kXE.js → wt-action-bar-BrFf9y4i.js} +1 -1
  28. package/dist/{wt-button-select-CfoSEYMj.js → wt-button-select-BQOYl5Z5.js} +1 -1
  29. package/dist/{wt-chat-emoji-Bgv9Viz-.js → wt-chat-emoji-D9rZ4xfn.js} +6 -11
  30. package/dist/{wt-confirm-dialog-bVhuyR-Q.js → wt-confirm-dialog-DdRFwuNQ.js} +1 -1
  31. package/dist/{wt-context-menu-Cd8pgBRV.js → wt-context-menu-Dx-K-ACK.js} +1 -1
  32. package/dist/{wt-copy-action-jjp1mO2h.js → wt-copy-action-BPMZsUtG.js} +1 -1
  33. package/dist/wt-datepicker-PK3BgSmp.js +5660 -0
  34. package/dist/wt-display-chip-items-CAO8OLhX.js +46 -0
  35. package/dist/{wt-dual-panel-DJsiR6RF.js → wt-dual-panel-CAh5CMKO.js} +1 -1
  36. package/dist/{wt-dummy-O94iGdZS.js → wt-dummy-DMXuDlcb.js} +1 -1
  37. package/dist/{wt-error-page-xgSWJ65z.js → wt-error-page-UoX8GV8V.js} +1 -1
  38. package/dist/{wt-expansion-panel-vzG02b62.js → wt-expansion-panel-G7G1803j.js} +1 -1
  39. package/dist/{wt-filters-panel-wrapper-h-UaAMuF.js → wt-filters-panel-wrapper-GI9X-SaD.js} +1 -1
  40. package/dist/wt-galleria-DtJgf7Db.js +322 -0
  41. package/dist/{wt-navigation-menu-Cu5Y9kua.js → wt-navigation-menu-CrDo7Vpq.js} +2 -5
  42. package/dist/wt-notifications-bar-CmUZpffK.js +79 -0
  43. package/dist/{wt-page-header-DlRrRzG7.js → wt-page-header-C7JiNmsy.js} +1 -1
  44. package/dist/{wt-pagination-CW46I4u2.js → wt-pagination-CaOk680t.js} +1 -1
  45. package/dist/{wt-player-3qh_Jzm2.js → wt-player-Cs2dAT3H.js} +1 -1
  46. package/dist/{wt-popover-BTG5bUP0.js → wt-popover-U7JE0uoX.js} +19 -22
  47. package/dist/{wt-search-bar-CTsNf7bp.js → wt-search-bar-f1yQguL2.js} +25 -28
  48. package/dist/{wt-selection-popup-DvaUvY4O.js → wt-selection-popup-CwjvQZ77.js} +1 -1
  49. package/dist/{wt-start-page-CcN7JC_u.js → wt-start-page-CMGnK33r.js} +7 -7
  50. package/dist/{wt-status-select-C8t0cgTg.js → wt-status-select-C5RigMIl.js} +1 -1
  51. package/dist/{wt-stepper-BLb42q2I.js → wt-stepper-1gbY9rv5.js} +1 -1
  52. package/dist/{wt-table-9gmsV0Y9.js → wt-table-D6d0dRYQ.js} +111 -114
  53. package/dist/{wt-table-actions-BB7AH7sR.js → wt-table-actions-BsjrniPP.js} +1 -1
  54. package/dist/{wt-table-column-select-B3lrCEaV.js → wt-table-column-select-JiD5kd7i.js} +28 -31
  55. package/dist/{wt-tabs-CCHi_E1a.js → wt-tabs-DpxPfuRj.js} +1 -1
  56. package/dist/{wt-tags-input-DLicKjv3.js → wt-tags-input-CJpT_4mw.js} +56 -57
  57. package/dist/{wt-timepicker-B9ONDzNQ.js → wt-timepicker-CtH8MdN-.js} +1 -1
  58. package/dist/{wt-tree-cQlvJmh5.js → wt-tree-C99Qwdwn.js} +4 -5
  59. package/dist/{wt-tree-table-B89YKiMf.js → wt-tree-table-3qAoEJ7m.js} +5 -5
  60. package/dist/{wt-type-extension-value-input-Da8FXLDs.js → wt-type-extension-value-input-CfiVBG5u.js} +214 -218
  61. package/dist/wt-vidstack-player-B8Ilx2ml.js +10229 -0
  62. package/package.json +5 -5
  63. package/src/modules/Userinfo/classes/ApplicationsAccess.ts +36 -3
  64. package/src/modules/Userinfo/scripts/utils.ts +2 -22
  65. package/src/modules/Userinfo/stores/accessStore.ts +20 -5
  66. package/src/modules/Userinfo/stores/userinfoStore.ts +1 -0
  67. package/src/modules/Userinfo/types/UserAccess.d.ts +11 -3
  68. package/types/modules/Userinfo/classes/ApplicationsAccess.d.ts +34 -243
  69. package/types/modules/Userinfo/scripts/utils.d.ts +1 -2
  70. package/types/modules/Userinfo/stores/accessStore.d.ts +1 -1
  71. package/types/modules/Userinfo/stores/userinfoStore.d.ts +21 -9
  72. package/dist/prod-DTLJXtPo.js +0 -994
  73. package/dist/srt-parser-CWqahKwO.js +0 -27
  74. package/dist/ssa-parser-BqjjKy4M.js +0 -209
  75. package/dist/vidstack-Bq6c3Bam-w5y-QQDX.js +0 -413
  76. package/dist/vidstack-D2pY00kU-BI5rYx7p.js +0 -138
  77. package/dist/vidstack-DDXt6fpN-QZPrP2dy.js +0 -60
  78. package/dist/vidstack-D_-9AA6_-Bo1xPN-G.js +0 -20
  79. package/dist/vidstack-DqAw8m9J-DL7LzrFt.js +0 -29
  80. package/dist/vidstack-audio-lX1O0fza.js +0 -32
  81. package/dist/vidstack-dash-BQkRGWe_.js +0 -403
  82. package/dist/vidstack-google-cast-C39n-PU1.js +0 -377
  83. package/dist/vidstack-hls-BCLhCuNJ.js +0 -324
  84. package/dist/vidstack-krOAtKMi-B4IZWKdc.js +0 -29
  85. package/dist/vidstack-video-BgayrEIC.js +0 -181
  86. package/dist/vidstack-vimeo-Lpe7iySs.js +0 -437
  87. package/dist/vidstack-youtube-Dmcz0xVm.js +0 -236
  88. package/dist/wt-datepicker-Cs3xDzVq.js +0 -5789
  89. package/dist/wt-display-chip-items-IqNMxa_X.js +0 -52
  90. package/dist/wt-galleria-cDjsiOcp.js +0 -324
  91. package/dist/wt-notifications-bar-KNH47kZ7.js +0 -80
  92. package/dist/wt-vidstack-player-BzFbIwCa.js +0 -10250
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as Ae, mergeModels as Te, useModel as De, computed as _, resolveComponent as J, createBlock as Z, renderSlot as N, createCommentVNode as we, unref as w, openBlock as ee, mergeProps as x, createVNode as P } from "vue";
2
- import { ae as ve, af as Oe, N as qe, ag as ke, ah as Ee, B as Se, ai as Ce, aj as te, ak as _e } from "./install-BEn6vjFW.js";
3
- import { d as xe } from "./index-cVwBpL1P.js";
2
+ import { ae as ve, af as Oe, N as qe, ag as ke, ah as Ee, B as Se, ai as Ce, aj as te, ak as _e } from "./install-Cp4KnSCI.js";
3
+ import { d as xe } from "./index-CLhoKzki.js";
4
4
  import { get as Ue, set as Le } from "lodash-es";
5
5
  import "@aliasedDeps/api-services/axios";
6
6
  import * as e from "zod";
@@ -32,19 +32,19 @@ const k = {
32
32
  for (let t = 0; t < 256; ++t)
33
33
  o.push("%" + ((t < 16 ? "0" : "") + t.toString(16)).toUpperCase());
34
34
  return o;
35
- })(), Y = 1024, Me = function(t, r, i, d, f) {
35
+ })(), Y = 1024, Me = function(t, a, i, g, f) {
36
36
  if (t.length === 0)
37
37
  return t;
38
38
  let s = t;
39
39
  if (typeof t == "symbol" ? s = Symbol.prototype.toString.call(t) : typeof t != "string" && (s = String(t)), i === "iso-8859-1")
40
- return escape(s).replace(/%u[0-9a-f]{4}/gi, function(m) {
41
- return "%26%23" + parseInt(m.slice(2), 16) + "%3B";
40
+ return escape(s).replace(/%u[0-9a-f]{4}/gi, function(y) {
41
+ return "%26%23" + parseInt(y.slice(2), 16) + "%3B";
42
42
  });
43
43
  let c = "";
44
- for (let m = 0; m < s.length; m += Y) {
45
- const u = s.length >= Y ? s.slice(m, m + Y) : s, b = [];
46
- for (let j = 0; j < u.length; ++j) {
47
- let l = u.charCodeAt(j);
44
+ for (let y = 0; y < s.length; y += Y) {
45
+ const u = s.length >= Y ? s.slice(y, y + Y) : s, d = [];
46
+ for (let h = 0; h < u.length; ++h) {
47
+ let l = u.charCodeAt(h);
48
48
  if (l === 45 || // -
49
49
  l === 46 || // .
50
50
  l === 95 || // _
@@ -53,43 +53,43 @@ const k = {
53
53
  l >= 65 && l <= 90 || // a-z
54
54
  l >= 97 && l <= 122 || // A-Z
55
55
  f === Pe && (l === 40 || l === 41)) {
56
- b[b.length] = u.charAt(j);
56
+ d[d.length] = u.charAt(h);
57
57
  continue;
58
58
  }
59
59
  if (l < 128) {
60
- b[b.length] = E[l];
60
+ d[d.length] = E[l];
61
61
  continue;
62
62
  }
63
63
  if (l < 2048) {
64
- b[b.length] = E[192 | l >> 6] + E[128 | l & 63];
64
+ d[d.length] = E[192 | l >> 6] + E[128 | l & 63];
65
65
  continue;
66
66
  }
67
67
  if (l < 55296 || l >= 57344) {
68
- b[b.length] = E[224 | l >> 12] + E[128 | l >> 6 & 63] + E[128 | l & 63];
68
+ d[d.length] = E[224 | l >> 12] + E[128 | l >> 6 & 63] + E[128 | l & 63];
69
69
  continue;
70
70
  }
71
- j += 1, l = 65536 + ((l & 1023) << 10 | u.charCodeAt(j) & 1023), b[b.length] = E[240 | l >> 18] + E[128 | l >> 12 & 63] + E[128 | l >> 6 & 63] + E[128 | l & 63];
71
+ h += 1, l = 65536 + ((l & 1023) << 10 | u.charCodeAt(h) & 1023), d[d.length] = E[240 | l >> 18] + E[128 | l >> 12 & 63] + E[128 | l >> 6 & 63] + E[128 | l & 63];
72
72
  }
73
- c += b.join("");
73
+ c += d.join("");
74
74
  }
75
75
  return c;
76
76
  }, ze = function(t) {
77
77
  return !t || typeof t != "object" ? !1 : !!(t.constructor && t.constructor.isBuffer && t.constructor.isBuffer(t));
78
- }, oe = function(t, r) {
78
+ }, oe = function(t, a) {
79
79
  if (Fe(t)) {
80
80
  const i = [];
81
- for (let d = 0; d < t.length; d += 1)
82
- i.push(r(t[d]));
81
+ for (let g = 0; g < t.length; g += 1)
82
+ i.push(a(t[g]));
83
83
  return i;
84
84
  }
85
- return r(t);
85
+ return a(t);
86
86
  }, Ye = Object.prototype.hasOwnProperty, de = {
87
87
  brackets: function(t) {
88
88
  return t + "[]";
89
89
  },
90
90
  comma: "comma",
91
- indices: function(t, r) {
92
- return t + "[" + r + "]";
91
+ indices: function(t, a) {
92
+ return t + "[" + a + "]";
93
93
  },
94
94
  repeat: function(t) {
95
95
  return t;
@@ -119,7 +119,7 @@ const k = {
119
119
  strictNullHandling: !1
120
120
  }, He = function(t) {
121
121
  return typeof t == "string" || typeof t == "number" || typeof t == "boolean" || typeof t == "symbol" || typeof t == "bigint";
122
- }, V = {}, ge = function(t, r, i, d, f, s, c, m, u, b, j, l, v, h, A, O, a, p) {
122
+ }, V = {}, ge = function(t, a, i, g, f, s, c, y, u, d, h, l, v, j, A, O, r, p) {
123
123
  let n = t, T = p, I = 0, L = !1;
124
124
  for (; (T = T.get(V)) !== void 0 && !L; ) {
125
125
  const D = T.get(t);
@@ -130,21 +130,21 @@ const k = {
130
130
  }
131
131
  typeof T.get(V) > "u" && (I = 0);
132
132
  }
133
- if (typeof b == "function" ? n = b(r, n) : n instanceof Date ? n = v(n) : i === "comma" && S(n) && (n = oe(n, function(D) {
133
+ if (typeof d == "function" ? n = d(a, n) : n instanceof Date ? n = v(n) : i === "comma" && S(n) && (n = oe(n, function(D) {
134
134
  return D instanceof Date ? v(D) : D;
135
135
  })), n === null) {
136
136
  if (s)
137
- return u && !O ? u(r, R.encoder, a, "key", h) : r;
137
+ return u && !O ? u(a, R.encoder, r, "key", j) : a;
138
138
  n = "";
139
139
  }
140
140
  if (He(n) || ze(n)) {
141
141
  if (u) {
142
- const D = O ? r : u(r, R.encoder, a, "key", h);
142
+ const D = O ? a : u(a, R.encoder, r, "key", j);
143
143
  return [
144
- A(D) + "=" + A(u(n, R.encoder, a, "value", h))
144
+ A(D) + "=" + A(u(n, R.encoder, r, "value", j))
145
145
  ];
146
146
  }
147
- return [A(r) + "=" + A(String(n))];
147
+ return [A(a) + "=" + A(String(n))];
148
148
  }
149
149
  const M = [];
150
150
  if (typeof n > "u")
@@ -152,20 +152,20 @@ const k = {
152
152
  let U;
153
153
  if (i === "comma" && S(n))
154
154
  O && u && (n = oe(n, u)), U = [{ value: n.length > 0 ? n.join(",") || null : void 0 }];
155
- else if (S(b))
156
- U = b;
155
+ else if (S(d))
156
+ U = d;
157
157
  else {
158
158
  const D = Object.keys(n);
159
- U = j ? D.sort(j) : D;
159
+ U = h ? D.sort(h) : D;
160
160
  }
161
- const Q = m ? r.replace(/\./g, "%2E") : r, B = d && S(n) && n.length === 1 ? Q + "[]" : Q;
161
+ const Q = y ? a.replace(/\./g, "%2E") : a, B = g && S(n) && n.length === 1 ? Q + "[]" : Q;
162
162
  if (f && S(n) && n.length === 0)
163
163
  return B + "[]";
164
164
  for (let D = 0; D < U.length; ++D) {
165
165
  const C = U[D], X = typeof C == "object" && typeof C.value < "u" ? C.value : n[C];
166
166
  if (c && X === null)
167
167
  continue;
168
- const z = l && m ? C.replace(/\./g, "%2E") : C, Re = S(n) ? typeof i == "function" ? i(B, z) : B : B + (l ? "." + z : "[" + z + "]");
168
+ const z = l && y ? C.replace(/\./g, "%2E") : C, Re = S(n) ? typeof i == "function" ? i(B, z) : B : B + (l ? "." + z : "[" + z + "]");
169
169
  p.set(t, I);
170
170
  const $ = /* @__PURE__ */ new WeakMap();
171
171
  $.set(V, p), be(
@@ -174,20 +174,20 @@ const k = {
174
174
  X,
175
175
  Re,
176
176
  i,
177
- d,
177
+ g,
178
178
  f,
179
179
  s,
180
180
  c,
181
- m,
181
+ y,
182
182
  i === "comma" && O && S(n) ? null : u,
183
- b,
184
- j,
183
+ d,
184
+ h,
185
185
  l,
186
186
  v,
187
- h,
187
+ j,
188
188
  A,
189
189
  O,
190
- a,
190
+ r,
191
191
  $
192
192
  )
193
193
  );
@@ -202,7 +202,7 @@ const k = {
202
202
  throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
203
203
  if (t.encoder !== null && typeof t.encoder < "u" && typeof t.encoder != "function")
204
204
  throw new TypeError("Encoder has to be a function.");
205
- const r = t.charset || R.charset;
205
+ const a = t.charset || R.charset;
206
206
  if (typeof t.charset < "u" && t.charset !== "utf-8" && t.charset !== "iso-8859-1")
207
207
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
208
208
  let i = ce;
@@ -211,7 +211,7 @@ const k = {
211
211
  throw new TypeError("Unknown format option provided.");
212
212
  i = t.format;
213
213
  }
214
- const d = H[i];
214
+ const g = H[i];
215
215
  let f = R.filter;
216
216
  (typeof t.filter == "function" || S(t.filter)) && (f = t.filter);
217
217
  let s;
@@ -223,7 +223,7 @@ const k = {
223
223
  allowDots: c,
224
224
  allowEmptyArrays: typeof t.allowEmptyArrays == "boolean" ? !!t.allowEmptyArrays : R.allowEmptyArrays,
225
225
  arrayFormat: s,
226
- charset: r,
226
+ charset: a,
227
227
  charsetSentinel: typeof t.charsetSentinel == "boolean" ? t.charsetSentinel : R.charsetSentinel,
228
228
  commaRoundTrip: t.commaRoundTrip,
229
229
  delimiter: typeof t.delimiter > "u" ? R.delimiter : t.delimiter,
@@ -233,7 +233,7 @@ const k = {
233
233
  encodeValuesOnly: typeof t.encodeValuesOnly == "boolean" ? t.encodeValuesOnly : R.encodeValuesOnly,
234
234
  filter: f,
235
235
  format: i,
236
- formatter: d,
236
+ formatter: g,
237
237
  serializeDate: typeof t.serializeDate == "function" ? t.serializeDate : R.serializeDate,
238
238
  skipNulls: typeof t.skipNulls == "boolean" ? t.skipNulls : R.skipNulls,
239
239
  sort: typeof t.sort == "function" ? t.sort : null,
@@ -241,25 +241,25 @@ const k = {
241
241
  };
242
242
  };
243
243
  function ue(o, t) {
244
- let r = o;
244
+ let a = o;
245
245
  const i = Ke(t);
246
- let d, f;
247
- typeof i.filter == "function" ? (f = i.filter, r = f("", r)) : S(i.filter) && (f = i.filter, d = f);
246
+ let g, f;
247
+ typeof i.filter == "function" ? (f = i.filter, a = f("", a)) : S(i.filter) && (f = i.filter, g = f);
248
248
  const s = [];
249
- if (typeof r != "object" || r === null)
249
+ if (typeof a != "object" || a === null)
250
250
  return "";
251
- const c = de[i.arrayFormat], m = c === "comma" && i.commaRoundTrip;
252
- d || (d = Object.keys(r)), i.sort && d.sort(i.sort);
251
+ const c = de[i.arrayFormat], y = c === "comma" && i.commaRoundTrip;
252
+ g || (g = Object.keys(a)), i.sort && g.sort(i.sort);
253
253
  const u = /* @__PURE__ */ new WeakMap();
254
- for (let l = 0; l < d.length; ++l) {
255
- const v = d[l];
256
- i.skipNulls && r[v] === null || be(
254
+ for (let l = 0; l < g.length; ++l) {
255
+ const v = g[l];
256
+ i.skipNulls && a[v] === null || be(
257
257
  s,
258
258
  ge(
259
- r[v],
259
+ a[v],
260
260
  v,
261
261
  c,
262
- m,
262
+ y,
263
263
  i.allowEmptyArrays,
264
264
  i.strictNullHandling,
265
265
  i.skipNulls,
@@ -277,9 +277,9 @@ function ue(o, t) {
277
277
  )
278
278
  );
279
279
  }
280
- const b = s.join(i.delimiter);
281
- let j = i.addQueryPrefix === !0 ? "?" : "";
282
- return i.charsetSentinel && (i.charset === "iso-8859-1" ? j += "utf8=%26%2310003%3B&" : j += "utf8=%E2%9C%93&"), b.length > 0 ? j + b : "";
280
+ const d = s.join(i.delimiter);
281
+ let h = i.addQueryPrefix === !0 ? "?" : "";
282
+ return i.charsetSentinel && (i.charset === "iso-8859-1" ? h += "utf8=%26%2310003%3B&" : h += "utf8=%E2%9C%93&"), d.length > 0 ? h + d : "";
283
283
  }
284
284
  const We = [
285
285
  (o) => (o.headers["X-Webitel-Access"] = localStorage.getItem("access-token") || "", o),
@@ -288,12 +288,12 @@ const We = [
288
288
  (o) => o,
289
289
  (o) => {
290
290
  if (o.response && o.response.status === 401) {
291
- const t = encodeURIComponent(window.location.href), r = void 0;
292
- window.location.href = `${r}?redirectTo=${t}`;
291
+ const t = encodeURIComponent(window.location.href), a = void 0;
292
+ window.location.href = `${a}?redirectTo=${t}`;
293
293
  }
294
294
  return Promise.reject(o);
295
295
  }
296
- ], g = () => {
296
+ ], b = () => {
297
297
  const o = {
298
298
  arrayFormat: "repeat"
299
299
  };
@@ -311,11 +311,11 @@ class Xe {
311
311
  this.apiKey = t.apiKey, this.username = t.username, this.password = t.password, this.accessToken = t.accessToken, this.basePath = t.basePath, this.baseOptions = t.baseOptions;
312
312
  }
313
313
  }
314
- const y = () => new Xe({
314
+ const m = () => new Xe({
315
315
  basePath: "/api",
316
316
  apiKey: localStorage.getItem("access-key") || "",
317
317
  accessToken: localStorage.getItem("access-key") || ""
318
- }), q = (o, t, { debug: r = !1, withContext: i = null } = {}) => t.reduce((d, f, s) => (r && console.info(`applyTransform debug on step ${s}`, d), i ? f(d, i) : f(d)), o), K = (o = []) => (t) => Oe(t, o), me = (o) => (t) => `${o}?${ue(t, {
318
+ }), q = (o, t, { debug: a = !1, withContext: i = null } = {}) => t.reduce((g, f, s) => (a && console.info(`applyTransform debug on step ${s}`, g), i ? f(g, i) : f(g)), o), K = (o = []) => (t) => Oe(t, o), me = (o) => (t) => `${o}?${ue(t, {
319
319
  skipEmptyString: !0,
320
320
  skipNull: !0,
321
321
  arrayFormat: "repeat"
@@ -325,66 +325,66 @@ function $e() {
325
325
  if (ne) return G;
326
326
  ne = 1;
327
327
  var o = function(p) {
328
- return t(p) && !r(p);
328
+ return t(p) && !a(p);
329
329
  };
330
- function t(a) {
331
- return !!a && typeof a == "object";
330
+ function t(r) {
331
+ return !!r && typeof r == "object";
332
332
  }
333
- function r(a) {
334
- var p = Object.prototype.toString.call(a);
335
- return p === "[object RegExp]" || p === "[object Date]" || f(a);
333
+ function a(r) {
334
+ var p = Object.prototype.toString.call(r);
335
+ return p === "[object RegExp]" || p === "[object Date]" || f(r);
336
336
  }
337
- var i = typeof Symbol == "function" && Symbol.for, d = i ? Symbol.for("react.element") : 60103;
338
- function f(a) {
339
- return a.$$typeof === d;
337
+ var i = typeof Symbol == "function" && Symbol.for, g = i ? /* @__PURE__ */ Symbol.for("react.element") : 60103;
338
+ function f(r) {
339
+ return r.$$typeof === g;
340
340
  }
341
- function s(a) {
342
- return Array.isArray(a) ? [] : {};
341
+ function s(r) {
342
+ return Array.isArray(r) ? [] : {};
343
343
  }
344
- function c(a, p) {
345
- return p.clone !== !1 && p.isMergeableObject(a) ? A(s(a), a, p) : a;
344
+ function c(r, p) {
345
+ return p.clone !== !1 && p.isMergeableObject(r) ? A(s(r), r, p) : r;
346
346
  }
347
- function m(a, p, n) {
348
- return a.concat(p).map(function(T) {
347
+ function y(r, p, n) {
348
+ return r.concat(p).map(function(T) {
349
349
  return c(T, n);
350
350
  });
351
351
  }
352
- function u(a, p) {
352
+ function u(r, p) {
353
353
  if (!p.customMerge)
354
354
  return A;
355
- var n = p.customMerge(a);
355
+ var n = p.customMerge(r);
356
356
  return typeof n == "function" ? n : A;
357
357
  }
358
- function b(a) {
359
- return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(a).filter(function(p) {
360
- return Object.propertyIsEnumerable.call(a, p);
358
+ function d(r) {
359
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(r).filter(function(p) {
360
+ return Object.propertyIsEnumerable.call(r, p);
361
361
  }) : [];
362
362
  }
363
- function j(a) {
364
- return Object.keys(a).concat(b(a));
363
+ function h(r) {
364
+ return Object.keys(r).concat(d(r));
365
365
  }
366
- function l(a, p) {
366
+ function l(r, p) {
367
367
  try {
368
- return p in a;
368
+ return p in r;
369
369
  } catch {
370
370
  return !1;
371
371
  }
372
372
  }
373
- function v(a, p) {
374
- return l(a, p) && !(Object.hasOwnProperty.call(a, p) && Object.propertyIsEnumerable.call(a, p));
373
+ function v(r, p) {
374
+ return l(r, p) && !(Object.hasOwnProperty.call(r, p) && Object.propertyIsEnumerable.call(r, p));
375
375
  }
376
- function h(a, p, n) {
376
+ function j(r, p, n) {
377
377
  var T = {};
378
- return n.isMergeableObject(a) && j(a).forEach(function(I) {
379
- T[I] = c(a[I], n);
380
- }), j(p).forEach(function(I) {
381
- v(a, I) || (l(a, I) && n.isMergeableObject(p[I]) ? T[I] = u(I, n)(a[I], p[I], n) : T[I] = c(p[I], n));
378
+ return n.isMergeableObject(r) && h(r).forEach(function(I) {
379
+ T[I] = c(r[I], n);
380
+ }), h(p).forEach(function(I) {
381
+ v(r, I) || (l(r, I) && n.isMergeableObject(p[I]) ? T[I] = u(I, n)(r[I], p[I], n) : T[I] = c(p[I], n));
382
382
  }), T;
383
383
  }
384
- function A(a, p, n) {
385
- n = n || {}, n.arrayMerge = n.arrayMerge || m, n.isMergeableObject = n.isMergeableObject || o, n.cloneUnlessOtherwiseSpecified = c;
386
- var T = Array.isArray(p), I = Array.isArray(a), L = T === I;
387
- return L ? T ? n.arrayMerge(a, p, n) : h(a, p, n) : c(p, n);
384
+ function A(r, p, n) {
385
+ n = n || {}, n.arrayMerge = n.arrayMerge || y, n.isMergeableObject = n.isMergeableObject || o, n.cloneUnlessOtherwiseSpecified = c;
386
+ var T = Array.isArray(p), I = Array.isArray(r), L = T === I;
387
+ return L ? T ? n.arrayMerge(r, p, n) : j(r, p, n) : c(p, n);
388
388
  }
389
389
  A.all = function(p, n) {
390
390
  if (!Array.isArray(p))
@@ -397,24 +397,23 @@ function $e() {
397
397
  return G = O, G;
398
398
  }
399
399
  var Je = $e();
400
- const fe = /* @__PURE__ */ qe(Je), F = (...o) => (t) => fe.all([...o, t]), Ze = (...o) => (t) => t.map((r) => fe.all([...o, r])), et = {
400
+ const fe = /* @__PURE__ */ qe(Je), F = (...o) => (t) => fe.all([...o, t]), Ze = (...o) => (t) => t.map((a) => fe.all([...o, a])), et = {
401
401
  eventBus: null
402
402
  }, W = (o) => {
403
- var t, r, i, d, f, s;
404
403
  if (typeof o == "function") {
405
- const c = ({ type: m, text: u }) => et.eventBus.$emit("notification", {
406
- type: m,
407
- text: u
404
+ const t = ({ type: a, text: i }) => et.eventBus.$emit("notification", {
405
+ type: a,
406
+ text: i
408
407
  });
409
- return (m) => (o({ callback: c }), m);
408
+ return (a) => (o({ callback: t }), a);
410
409
  }
411
- return o instanceof Error && ((r = (t = o.response) == null ? void 0 : t.data) != null && r.translation || (d = (i = o.response) == null ? void 0 : i.data) != null && d.detail || (s = (f = o.response) == null ? void 0 : f.data) != null && s.message), o;
412
- }, ye = (o) => (t) => Object.keys(t).reduce((r, i) => o.indexOf(i) === -1 ? r : {
413
- ...r,
410
+ return o instanceof Error && (o.response?.data?.translation || o.response?.data?.detail || o.response?.data?.message), o;
411
+ }, ye = (o) => (t) => Object.keys(t).reduce((a, i) => o.indexOf(i) === -1 ? a : {
412
+ ...a,
414
413
  [i]: t[i]
415
414
  }, {}), ae = (o = []) => (t) => ke(t, o), he = (o = "search") => (t) => {
416
- const r = xe(t), i = Ue(r, o);
417
- return !i || i.slice(-1) === "*" ? r : Le(r, o, `${i}*`);
415
+ const a = xe(t), i = Ue(a, o);
416
+ return !i || i.slice(-1) === "*" ? a : Le(a, o, `${i}*`);
418
417
  }, re = "acl", tt = (o) => o.map((t) => ({
419
418
  ...t,
420
419
  access: {
@@ -436,12 +435,12 @@ const fe = /* @__PURE__ */ qe(Je), F = (...o) => (t) => fe.all([...o, t]), Ze =
436
435
  }
437
436
  }
438
437
  })), je = (o) => {
439
- const t = g();
438
+ const t = b();
440
439
  return {
441
- getPermissionsList: async ({ parentId: d, ...f }) => {
440
+ getPermissionsList: async ({ parentId: g, ...f }) => {
442
441
  const s = ["page", "size", "q", "sort", "fields", "id"], c = {
443
442
  user: !1
444
- }, m = q(f, [
443
+ }, y = q(f, [
445
444
  F(le()),
446
445
  he("search"),
447
446
  (u) => ({
@@ -450,31 +449,31 @@ const fe = /* @__PURE__ */ qe(Je), F = (...o) => (t) => fe.all([...o, t]), Ze =
450
449
  }),
451
450
  ye(s),
452
451
  K(),
453
- me(`${o}/${d}/${re}`)
452
+ me(`${o}/${g}/${re}`)
454
453
  ]);
455
454
  try {
456
- const u = await t.get(m), { items: b, next: j } = q(u.data, [
455
+ const u = await t.get(y), { items: d, next: h } = q(u.data, [
457
456
  ae(),
458
457
  F(se())
459
458
  ]);
460
459
  return {
461
- items: q(b, [
460
+ items: q(d, [
462
461
  Ze(c),
463
462
  tt
464
463
  ]),
465
- next: j
464
+ next: h
466
465
  };
467
466
  } catch (u) {
468
467
  throw q(u, [W]);
469
468
  }
470
469
  },
471
- patchPermissions: async ({ changes: d, id: f }) => {
472
- const s = q(d, [K()]), c = `${o}/${f}/${re}`;
470
+ patchPermissions: async ({ changes: g, id: f }) => {
471
+ const s = q(g, [K()]), c = `${o}/${f}/${re}`;
473
472
  try {
474
- const m = await t.patch(c, s);
475
- return q(m.data, [ae()]);
476
- } catch (m) {
477
- throw q(m, [W]);
473
+ const y = await t.patch(c, s);
474
+ return q(y.data, [ae()]);
475
+ } catch (y) {
476
+ throw q(y, [W]);
478
477
  }
479
478
  }
480
479
  };
@@ -45472,73 +45471,73 @@ e.object({
45472
45471
  }).optional()
45473
45472
  }).optional()
45474
45473
  });
45475
- g();
45476
- y();
45477
- g();
45478
- y();
45479
- g();
45480
- y();
45481
- g();
45482
- y();
45483
- g();
45484
- y();
45485
- g();
45486
- y();
45487
- g();
45488
- y();
45489
- g();
45490
- y();
45491
- g();
45492
- y();
45493
- g();
45494
- g();
45495
- y();
45496
- g();
45497
- y();
45498
- g();
45499
- y();
45474
+ b();
45475
+ m();
45476
+ b();
45477
+ m();
45478
+ b();
45479
+ m();
45480
+ b();
45481
+ m();
45482
+ b();
45483
+ m();
45484
+ b();
45485
+ m();
45486
+ b();
45487
+ m();
45488
+ b();
45489
+ m();
45490
+ b();
45491
+ m();
45492
+ b();
45493
+ b();
45494
+ m();
45495
+ b();
45496
+ m();
45497
+ b();
45498
+ m();
45500
45499
  const jr = "/contacts/groups";
45501
45500
  ({
45502
45501
  ...je(jr)
45503
45502
  });
45504
- g();
45505
- y();
45506
- g();
45507
- g();
45508
- y();
45509
- g();
45510
- y();
45511
- g();
45512
- y();
45513
- g();
45514
- y();
45503
+ b();
45504
+ m();
45505
+ b();
45506
+ b();
45507
+ m();
45508
+ b();
45509
+ m();
45510
+ b();
45511
+ m();
45512
+ b();
45513
+ m();
45515
45514
  localStorage.getItem("access-token");
45516
45515
  Ee.create({
45517
45516
  headers: {
45518
45517
  "content-type": "multipart/form-data"
45519
45518
  }
45520
45519
  });
45521
- g();
45522
- y();
45523
- g();
45524
- y();
45525
- g();
45526
- y();
45527
- g();
45528
- y();
45529
- g();
45530
- y();
45531
- g();
45532
- y();
45533
- g();
45534
- y();
45535
- g();
45520
+ b();
45521
+ m();
45522
+ b();
45523
+ m();
45524
+ b();
45525
+ m();
45526
+ b();
45527
+ m();
45528
+ b();
45529
+ m();
45530
+ b();
45531
+ m();
45532
+ b();
45533
+ m();
45534
+ b();
45536
45535
  const Ir = "/users";
45537
45536
  ({
45538
45537
  ...je(Ir)
45539
45538
  });
45540
- const Rr = g(), Ie = async ({ path: o, display: t, primary: r, ...i }) => {
45541
- const d = ["page", "size", "q", "sort", "fields", "id", "ids"], f = q(i, [
45539
+ const Rr = b(), Ie = async ({ path: o, display: t, primary: a, ...i }) => {
45540
+ const g = ["page", "size", "q", "sort", "fields", "id", "ids"], f = q(i, [
45542
45541
  F(le()),
45543
45542
  he("search"),
45544
45543
  (s) => ({ ...s, q: s.search }),
@@ -45546,17 +45545,17 @@ const Rr = g(), Ie = async ({ path: o, display: t, primary: r, ...i }) => {
45546
45545
  ...s,
45547
45546
  ids: s.id
45548
45547
  }),
45549
- ye(d),
45548
+ ye(g),
45550
45549
  K(),
45551
45550
  me(o)
45552
45551
  ]);
45553
45552
  try {
45554
- const s = await Rr.get(f), { data: c, items: m, next: u } = q(s.data, [
45553
+ const s = await Rr.get(f), { data: c, items: y, next: u } = q(s.data, [
45555
45554
  F(se())
45556
45555
  ]);
45557
45556
  return {
45558
45557
  // Some endpoints return data, some return items so we need to check for both of them
45559
- items: q(c || m, [
45558
+ items: q(c || y, [
45560
45559
  // transformItemsForSelect({ display, primary }),
45561
45560
  ]) ?? [],
45562
45561
  next: u
@@ -45571,12 +45570,12 @@ const Rr = g(), Ie = async ({ path: o, display: t, primary: r, ...i }) => {
45571
45570
  getList: Ie,
45572
45571
  getLookup: Ar
45573
45572
  };
45574
- g();
45575
- y();
45576
- g();
45577
- y();
45578
- g();
45579
- y();
45573
+ b();
45574
+ m();
45575
+ b();
45576
+ m();
45577
+ b();
45578
+ m();
45580
45579
  const kr = /* @__PURE__ */ Ae({
45581
45580
  __name: "wt-type-extension-value-input",
45582
45581
  props: /* @__PURE__ */ Te({
@@ -45589,74 +45588,71 @@ const kr = /* @__PURE__ */ Ae({
45589
45588
  }),
45590
45589
  emits: ["update:modelValue"],
45591
45590
  setup(o) {
45592
- const t = De(o, "modelValue"), r = o, { t: i } = Se(), d = _(() => {
45593
- var h;
45594
- return i(((h = r.field) == null ? void 0 : h.name) || "vocabulary.labels");
45595
- }), f = _(() => r.required || r.field.required), s = _(() => t.value), c = _(() => ({
45596
- label: d.value,
45591
+ const t = De(o, "modelValue"), a = o, { t: i } = Se(), g = _(() => i(a.field?.name || "vocabulary.labels")), f = _(() => a.required || a.field.required), s = _(() => t.value), c = _(() => ({
45592
+ label: g.value,
45597
45593
  required: f.value,
45598
- v: r.v
45599
- })), m = _(() => ({
45594
+ v: a.v
45595
+ })), y = _(() => ({
45600
45596
  clearable: !0,
45601
45597
  trackBy: "id",
45602
- searchMethod: () => j(r.field.lookup)
45598
+ searchMethod: () => h(a.field.lookup)
45603
45599
  })), u = _(() => ({
45604
- ...m.value,
45600
+ ...y.value,
45605
45601
  multiple: !0
45606
- })), b = (h) => {
45607
- t.value = h;
45608
- }, j = ({ path: h, display: A, primary: O }) => (a) => Tr.getSysTypeRecordsLookup({
45609
- ...a,
45610
- path: h,
45602
+ })), d = (j) => {
45603
+ t.value = j;
45604
+ }, h = ({ path: j, display: A, primary: O }) => (r) => Tr.getSysTypeRecordsLookup({
45605
+ ...r,
45606
+ path: j,
45611
45607
  display: A,
45612
45608
  primary: O
45613
- }), l = (h) => {
45614
- if (Object.values(h).length === 0)
45615
- return b(null);
45616
- b({
45617
- id: h.id,
45618
- name: h.name
45609
+ }), l = (j) => {
45610
+ if (Object.values(j).length === 0)
45611
+ return d(null);
45612
+ d({
45613
+ id: j.id,
45614
+ name: j.name
45619
45615
  });
45620
- }, v = (h) => {
45621
- b(
45622
- h.map((A) => ({
45616
+ }, v = (j) => {
45617
+ d(
45618
+ j.map((A) => ({
45623
45619
  id: A.id,
45624
45620
  name: A.name
45625
45621
  }))
45626
45622
  );
45627
45623
  };
45628
- return (h, A) => {
45629
- const O = J("wt-input-text"), a = J("wt-input-number");
45624
+ return (j, A) => {
45625
+ const O = J("wt-input-text"), r = J("wt-input-number");
45630
45626
  return o.field.kind === w(k).Text ? (ee(), Z(O, x({ key: 0 }, c.value, {
45631
45627
  "model-value": s.value,
45632
- "onUpdate:modelValue": b
45633
- }), null, 16, ["model-value"])) : o.field.kind === w(k).Number ? (ee(), Z(a, x({ key: 1 }, c.value, {
45628
+ "onUpdate:modelValue": d
45629
+ }), null, 16, ["model-value"])) : o.field.kind === w(k).Number ? (ee(), Z(r, x({ key: 1 }, c.value, {
45634
45630
  "model-value": s.value,
45635
- "onUpdate:modelValue": b
45636
- }), null, 16, ["model-value"])) : o.field.kind === w(k).Boolean ? N(h.$slots, w(k).Boolean, {
45631
+ "onUpdate:modelValue": d
45632
+ }), null, 16, ["model-value"])) : o.field.kind === w(k).Boolean ? N(j.$slots, w(k).Boolean, {
45637
45633
  key: 2,
45638
45634
  defaultProps: { ...c.value }
45639
45635
  }, () => [
45640
45636
  P(w(Ce), x(c.value, {
45641
45637
  "model-value": s.value,
45642
- "onUpdate:modelValue": b
45638
+ "onUpdate:modelValue": d
45643
45639
  }), null, 16, ["model-value"])
45644
- ]) : o.field.kind === w(k).Select ? N(h.$slots, w(k).Select, {
45640
+ ]) : o.field.kind === w(k).Select ? N(j.$slots, w(k).Select, {
45645
45641
  key: 3,
45646
45642
  defaultProps: {
45647
45643
  ...c.value,
45648
- ...m.value,
45644
+ ...y.value,
45649
45645
  value: s.value
45650
45646
  }
45651
45647
  }, () => [
45652
45648
  P(w(te), x(c.value, {
45653
45649
  value: s.value,
45654
- "search-method": j(o.field.lookup),
45650
+ "search-method": h(o.field.lookup),
45655
45651
  "track-by": "id",
45656
45652
  clearable: "",
45657
45653
  onInput: l
45658
45654
  }), null, 16, ["value", "search-method"])
45659
- ]) : o.field.kind === w(k).Multiselect ? N(h.$slots, w(k).Multiselect, {
45655
+ ]) : o.field.kind === w(k).Multiselect ? N(j.$slots, w(k).Multiselect, {
45660
45656
  key: 4,
45661
45657
  defaultProps: {
45662
45658
  ...c.value,
@@ -45668,7 +45664,7 @@ const kr = /* @__PURE__ */ Ae({
45668
45664
  value: s.value,
45669
45665
  onInput: v
45670
45666
  }), null, 16, ["value"])
45671
- ]) : o.field.kind === w(k).Calendar ? N(h.$slots, w(k).Calendar, {
45667
+ ]) : o.field.kind === w(k).Calendar ? N(j.$slots, w(k).Calendar, {
45672
45668
  key: 5,
45673
45669
  defaultProps: {
45674
45670
  ...c.value,
@@ -45678,7 +45674,7 @@ const kr = /* @__PURE__ */ Ae({
45678
45674
  P(w(_e), x(c.value, {
45679
45675
  value: s.value,
45680
45676
  mode: "datetime",
45681
- onInput: b
45677
+ onInput: d
45682
45678
  }), null, 16, ["value"])
45683
45679
  ]) : we("", !0);
45684
45680
  };