@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,7 +1,7 @@
1
- import { d as x } from "./index-B71drQtj.js";
2
- import { F as z, _ as F, C as G, M as U, G as W, H as J } from "./install-BEn6vjFW.js";
3
- import { resolveComponent as n, resolveDirective as K, createElementBlock as Q, openBlock as y, normalizeClass as X, createBlock as A, createCommentVNode as B, createVNode as r, mergeProps as R, withCtx as s, renderSlot as I, normalizeProps as P, guardReactiveProps as j, createTextVNode as b, toDisplayString as f, toHandlers as Y, createSlots as Z, withDirectives as q, createElementVNode as H, vShow as ii, withModifiers as ei } from "vue";
4
- const ti = {
1
+ import { d as O } from "./index-x2Djqp3W.js";
2
+ import { F as h, _ as E, C as S, M as z, G as A, H as B } from "./install-Cp4KnSCI.js";
3
+ import { resolveComponent as n, resolveDirective as R, createElementBlock as I, openBlock as v, normalizeClass as P, createBlock as p, createCommentVNode as c, createVNode as o, mergeProps as g, withCtx as a, renderSlot as b, normalizeProps as f, guardReactiveProps as $, createTextVNode as d, toDisplayString as r, toHandlers as j, createSlots as q, withDirectives as V, createElementVNode as w, vShow as H, withModifiers as N } from "vue";
4
+ const D = {
5
5
  props: {
6
6
  // validation rules
7
7
  v: {
@@ -20,32 +20,31 @@ const ti = {
20
20
  return this.isValidation && this.v.$error;
21
21
  },
22
22
  validationText() {
23
- var l, e, $, V, o, v, d, u, m, h, p, c, a, g, w, L, M, _, k, T, C, O, E, S;
24
23
  let i = "";
25
- this.isValidation && this.invalid && ((l = this.v.required) != null && l.$invalid ? i = this.$t("validation.required") : (e = this.v.numeric) != null && e.$invalid ? i = this.$t("validation.numeric") : ($ = this.v.email) != null && $.$invalid ? i = this.$t("validation.email") : (V = this.v.gatewayHostValidator) != null && V.$invalid ? i = this.$t("validation.gatewayHostValidator") : (o = this.v.ipValidator) != null && o.$invalid ? i = this.$t("validation.ipValidator") : (v = this.v.macValidator) != null && v.$invalid ? i = this.$t("validation.macValidator") : (d = this.v.minValue) != null && d.$invalid ? i = this.$t("validation.minValue", {
24
+ this.isValidation && this.invalid && (this.v.required?.$invalid ? i = this.$t("validation.required") : this.v.numeric?.$invalid ? i = this.$t("validation.numeric") : this.v.email?.$invalid ? i = this.$t("validation.email") : this.v.gatewayHostValidator?.$invalid ? i = this.$t("validation.gatewayHostValidator") : this.v.ipValidator?.$invalid ? i = this.$t("validation.ipValidator") : this.v.macValidator?.$invalid ? i = this.$t("validation.macValidator") : this.v.minValue?.$invalid ? i = this.$t("validation.minValue", {
26
25
  min: this.v.minValue.$params.min
27
- }) : (u = this.v.maxValue) != null && u.$invalid ? i = this.$t("validation.maxValue", {
26
+ }) : this.v.maxValue?.$invalid ? i = this.$t("validation.maxValue", {
28
27
  max: this.v.maxValue.$params.max
29
- }) : (m = this.v.sipAccountValidator) != null && m.$invalid ? i = this.$t("validation.sipAccountValidator") : (h = this.v.minLength) != null && h.$invalid ? i = this.$t("validation.minLength", {
28
+ }) : this.v.sipAccountValidator?.$invalid ? i = this.$t("validation.sipAccountValidator") : this.v.minLength?.$invalid ? i = this.$t("validation.minLength", {
30
29
  min: this.v.minLength.$params.min
31
- }) : (p = this.v.maxLength) != null && p.$invalid ? i = this.$t("validation.maxLength", {
30
+ }) : this.v.maxLength?.$invalid ? i = this.$t("validation.maxLength", {
32
31
  max: this.v.maxLength.$params.max
33
- }) : (c = this.v.url) != null && c.$invalid ? i = `${this.$t("validation.url")}` : (a = this.v.regExpValidator) != null && a.$invalid ? i = `${this.$t("validation.regExpValidator")}` : (g = this.v.sameAs) != null && g.$invalid ? i = `${this.$t("validation.sameAs")}` : (w = this.v.domainValidator) != null && w.$invalid ? i = `${this.$t("validation.domainValidator")}` : (L = this.v.decimalValidator) != null && L.$invalid ? i = `${this.$t("validation.decimalValidator")} ${this.v.decimalValidator.$params.count}` : (M = this.v.websocketValidator) != null && M.$invalid ? i = `${this.$t("validation.websocketValidator")}` : (_ = this.v.integer) != null && _.$invalid ? i = `${this.$t("validation.integer")}` : (k = this.v.isRegExpMatched) != null && k.$invalid && (i = ((C = (T = this.v.isRegExpMatched) == null ? void 0 : T.$params) == null ? void 0 : C.errorMessage) || `${t("validation.isRegExpMatched")} ${(E = (O = this.v.isRegExpMatched) == null ? void 0 : O.$params) == null ? void 0 : E.regExp}`));
34
- for (const { name: N, text: D } of this.customValidators)
35
- (S = this.v[N]) != null && S.$invalid && (i = D);
32
+ }) : this.v.url?.$invalid ? i = `${this.$t("validation.url")}` : this.v.regExpValidator?.$invalid ? i = `${this.$t("validation.regExpValidator")}` : this.v.sameAs?.$invalid ? i = `${this.$t("validation.sameAs")}` : this.v.domainValidator?.$invalid ? i = `${this.$t("validation.domainValidator")}` : this.v.decimalValidator?.$invalid ? i = `${this.$t("validation.decimalValidator")} ${this.v.decimalValidator.$params.count}` : this.v.websocketValidator?.$invalid ? i = `${this.$t("validation.websocketValidator")}` : this.v.integer?.$invalid ? i = `${this.$t("validation.integer")}` : this.v.isRegExpMatched?.$invalid && (i = this.v.isRegExpMatched?.$params?.errorMessage || `${t("validation.isRegExpMatched")} ${this.v.isRegExpMatched?.$params?.regExp}`));
33
+ for (const { name: l, text: e } of this.customValidators)
34
+ this.v[l]?.$invalid && (i = e);
36
35
  return i;
37
36
  },
38
37
  validationTextColor() {
39
- return this.invalid ? z.ERROR : z.SUCCESS;
38
+ return this.invalid ? h.ERROR : h.SUCCESS;
40
39
  }
41
40
  }
42
- }, ai = {
41
+ }, x = {
43
42
  name: "WtTagsInput",
44
43
  mixins: [
45
- ti,
46
- W,
44
+ D,
45
+ A,
47
46
  // taggableMixin is used to add custom select values, see [https://my.webitel.com/browse/WTEL-3181
48
- J
47
+ B
49
48
  ],
50
49
  /**
51
50
  * @emits {Array} input - Fires when tags value changes. Emits value array
@@ -121,8 +120,8 @@ const ti = {
121
120
  // Multiple value is needed in TaggableMixin mixin to correctly add custom values
122
121
  multiple: !0,
123
122
  // Expose enums to template
124
- MessageVariant: U,
125
- ComponentSize: G
123
+ MessageVariant: z,
124
+ ComponentSize: S
126
125
  }),
127
126
  created() {
128
127
  this.isApiMode || this.initializeOptions();
@@ -138,33 +137,33 @@ const ti = {
138
137
  initializeOptions() {
139
138
  if (!this.value)
140
139
  return [];
141
- const i = this.value.filter((l) => !this.options.find((e) => x(e, l)));
140
+ const i = this.value.filter((l) => !this.options.find((e) => O(e, l)));
142
141
  this.options.unshift(...i);
143
142
  }
144
143
  }
145
- }, li = { class: "multiselect__loading-wrapper" };
146
- function si(i, l, e, $, V, o) {
147
- const v = n("wt-label"), d = n("wt-icon-btn"), u = n("wt-chip"), m = n("wt-loader"), h = n("vue-multiselect"), p = n("wt-message"), c = K("observe-visibility");
148
- return y(), Q("div", {
149
- class: X([{
144
+ }, F = { class: "multiselect__loading-wrapper" };
145
+ function G(i, l, e, U, W, u) {
146
+ const y = n("wt-label"), m = n("wt-icon-btn"), L = n("wt-chip"), M = n("wt-loader"), _ = n("vue-multiselect"), k = n("wt-message"), T = R("observe-visibility");
147
+ return v(), I("div", {
148
+ class: P([{
150
149
  "wt-tags-input--disabled": i.disabled,
151
150
  "wt-tags-input--invalid": i.invalid,
152
151
  "wt-tags-input--loading": i.isLoading
153
152
  }, "wt-tags-input"])
154
153
  }, [
155
- i.hasLabel ? (y(), A(v, R({ key: 0 }, i.labelProps, {
154
+ i.hasLabel ? (v(), p(y, g({ key: 0 }, i.labelProps, {
156
155
  disabled: i.disabled,
157
156
  invalid: i.invalid,
158
157
  class: "wt-tags-input__label"
159
158
  }), {
160
- default: s(() => [
161
- I(i.$slots, "label", P(j({ label: i.label })), () => [
162
- b(f(i.requiredLabel), 1)
159
+ default: a(() => [
160
+ b(i.$slots, "label", f($({ label: i.label })), () => [
161
+ d(r(i.requiredLabel), 1)
163
162
  ], !0)
164
163
  ], void 0, !0),
165
164
  _: 3
166
- }, 16, ["disabled", "invalid"])) : B("", !0),
167
- r(h, R(i.$attrs, {
165
+ }, 16, ["disabled", "invalid"])) : c("", !0),
166
+ o(_, g(i.$attrs, {
168
167
  ref: "vue-multiselect",
169
168
  "close-on-select": !1,
170
169
  disabled: i.disabled,
@@ -178,68 +177,68 @@ function si(i, l, e, $, V, o) {
178
177
  taggable: e.taggable,
179
178
  "track-by": e.trackBy,
180
179
  class: "wt-tags-input__select"
181
- }, Y(i.listeners)), Z({
182
- tag: s(({ option: a, remove: g }) => [
183
- r(u, { class: "multiselect__custom-tag" }, {
184
- default: s(() => [
185
- b(f(o.getTagOptionLabel({ option: a, optionLabel: e.optionLabel })) + " ", 1),
186
- r(d, {
180
+ }, j(i.listeners)), q({
181
+ tag: a(({ option: s, remove: C }) => [
182
+ o(L, { class: "multiselect__custom-tag" }, {
183
+ default: a(() => [
184
+ d(r(u.getTagOptionLabel({ option: s, optionLabel: e.optionLabel })) + " ", 1),
185
+ o(m, {
187
186
  color: "on-primary",
188
187
  icon: "close--filled",
189
188
  size: "sm",
190
- onClick: (w) => g(a)
189
+ onClick: (J) => C(s)
191
190
  }, null, 8, ["onClick"])
192
191
  ], void 0, !0),
193
192
  _: 2
194
193
  }, 1024)
195
194
  ]),
196
- option: s(({ option: a }) => [
197
- I(i.$slots, "option", P(j({ option: a, optionLabel: e.optionLabel })), () => [
198
- b(f(o.getTagOptionLabel({ option: a, optionLabel: e.optionLabel })), 1)
195
+ option: a(({ option: s }) => [
196
+ b(i.$slots, "option", f($({ option: s, optionLabel: e.optionLabel })), () => [
197
+ d(r(u.getTagOptionLabel({ option: s, optionLabel: e.optionLabel })), 1)
199
198
  ], !0)
200
199
  ]),
201
- caret: s(({ toggle: a }) => [
202
- r(d, {
200
+ caret: a(({ toggle: s }) => [
201
+ o(m, {
203
202
  disabled: i.disabled,
204
203
  class: "multiselect__select",
205
204
  color: "active",
206
205
  icon: "arrow-down",
207
- onMousedown: ei(a, ["prevent", "stop"])
206
+ onMousedown: N(s, ["prevent", "stop"])
208
207
  }, null, 8, ["disabled", "onMousedown"])
209
208
  ]),
210
- beforeList: s(() => [
211
- q(H("div", li, [
212
- r(m, { size: "sm" })
209
+ beforeList: a(() => [
210
+ V(w("div", F, [
211
+ o(M, { size: "sm" })
213
212
  ], 512), [
214
- [ii, i.isLoading]
213
+ [H, i.isLoading]
215
214
  ])
216
215
  ]),
217
216
  _: 2
218
217
  }, [
219
218
  i.showIntersectionObserver ? {
220
219
  name: "afterList",
221
- fn: s(() => [
222
- q(H("div", null, null, 512), [
223
- [c, i.handleAfterListIntersect]
220
+ fn: a(() => [
221
+ V(w("div", null, null, 512), [
222
+ [T, i.handleAfterListIntersect]
224
223
  ])
225
224
  ]),
226
225
  key: "0"
227
226
  } : void 0
228
227
  ]), 1040, ["disabled", "internal-search", "label", "model-value", "multiple", "options", "placeholder", "taggable", "track-by"]),
229
- i.isValidation && i.validationText ? (y(), A(p, {
228
+ i.isValidation && i.validationText ? (v(), p(k, {
230
229
  key: 1,
231
230
  color: i.validationTextColor,
232
231
  variant: i.MessageVariant.SIMPLE,
233
232
  size: i.ComponentSize.SM
234
233
  }, {
235
- default: s(() => [
236
- b(f(i.validationText), 1)
234
+ default: a(() => [
235
+ d(r(i.validationText), 1)
237
236
  ], void 0, !0),
238
237
  _: 1
239
- }, 8, ["color", "variant", "size"])) : B("", !0)
238
+ }, 8, ["color", "variant", "size"])) : c("", !0)
240
239
  ], 2);
241
240
  }
242
- const ri = /* @__PURE__ */ F(ai, [["render", si], ["__scopeId", "data-v-ded5a365"]]);
241
+ const Y = /* @__PURE__ */ E(x, [["render", G], ["__scopeId", "data-v-ded5a365"]]);
243
242
  export {
244
- ri as default
243
+ Y as default
245
244
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as q, toRefs as R, computed as o, resolveComponent as w, createElementBlock as O, openBlock as d, normalizeClass as j, unref as t, createBlock as r, createCommentVNode as m, createElementVNode as A, mergeProps as F, withCtx as x, renderSlot as G, normalizeProps as J, guardReactiveProps as K, createTextVNode as S, toDisplayString as y, nextTick as Q } from "vue";
2
- import { B as W, z as X, C as Y, M as Z, _ as ee } from "./install-BEn6vjFW.js";
2
+ import { B as W, z as X, C as Y, M as Z, _ as ee } from "./install-Cp4KnSCI.js";
3
3
  const le = { class: "wt-timepicker__wrapper" }, c = 3600, M = 60, ae = /* @__PURE__ */ q({
4
4
  __name: "wt-timepicker",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as z, computed as L, ref as J, onMounted as K, watch as Q, resolveComponent as I, createElementBlock as v, openBlock as i, Fragment as x, createElementVNode as D, withDirectives as X, renderSlot as T, createBlock as w, createCommentVNode as b, renderList as A, normalizeClass as M, toDisplayString as O, createVNode as Y, withCtx as W, createSlots as U, normalizeProps as q, guardReactiveProps as F, vShow as Z, unref as N } from "vue";
2
- import { d as P } from "./index-B71drQtj.js";
3
- import { W as _, _ as R } from "./install-BEn6vjFW.js";
2
+ import { d as P } from "./index-x2Djqp3W.js";
3
+ import { W as _, _ as R } from "./install-Cp4KnSCI.js";
4
4
  const ee = { class: "wt-tree-line" }, te = { class: "wt-tree-line__icon-wrapper" }, ae = { class: "wt-tree-line__label typo-body-1" }, le = /* @__PURE__ */ z({
5
5
  __name: "wt-tree-line",
6
6
  props: {
@@ -81,9 +81,8 @@ const ee = { class: "wt-tree-line" }, te = { class: "wt-tree-line__icon-wrapper"
81
81
  ];
82
82
  d.splice(l, 1), u("update:modelValue", d);
83
83
  }, j = () => {
84
- var a, l;
85
84
  if (e.multiple) {
86
- (a = e.data[e.childrenProp]) != null && a.length ? k() : V();
85
+ e.data[e.childrenProp]?.length ? k() : V();
87
86
  return;
88
87
  }
89
88
  if (e.allowParent && !e.data[e.childrenProp])
@@ -91,7 +90,7 @@ const ee = { class: "wt-tree-line" }, te = { class: "wt-tree-line__icon-wrapper"
91
90
  "update:modelValue",
92
91
  e.itemData ? e.data[e.itemData] : e.data
93
92
  );
94
- if ((l = e.data[e.childrenProp]) != null && l.length) {
93
+ if (e.data[e.childrenProp]?.length) {
95
94
  p.value = !p.value;
96
95
  return;
97
96
  }
@@ -1,5 +1,5 @@
1
1
  import { computed as C, unref as B, defineComponent as z, ref as O, onMounted as D, resolveComponent as L, createElementBlock as d, openBlock as l, Fragment as $, createElementVNode as u, createCommentVNode as b, normalizeClass as T, renderList as m, renderSlot as p, createBlock as x, createTextVNode as U, toDisplayString as H, createSlots as W, withCtx as I, toRef as F, normalizeStyle as j, withModifiers as q, createVNode as G } from "vue";
2
- import { B as J, O as R, P as Q, _ as M } from "./install-BEn6vjFW.js";
2
+ import { B as J, O as R, P as Q, _ as M } from "./install-Cp4KnSCI.js";
3
3
  import { g as X } from "./sortQueryAdapters-M9bNEM3P.js";
4
4
  const Y = ({ headers: e }) => {
5
5
  const { t: y } = J();
@@ -134,7 +134,7 @@ const Y = ({ headers: e }) => {
134
134
  ], 64);
135
135
  };
136
136
  }
137
- }), ae = /* @__PURE__ */ M(te, [["__scopeId", "data-v-cc6e42bc"]]), se = { class: "wt-tree-table wt-scrollbar" }, le = { class: "wt-tree-table-wrapper" }, re = { class: "wt-tree-table-head" }, oe = { class: "wt-tree-table-tr wt-tree-table-tr-head" }, ne = ["onClick"], de = { class: "wt-tree-table-th__text" }, ce = {
137
+ }), ae = /* @__PURE__ */ M(te, [["__scopeId", "data-v-cc6e42bc"]]), le = { class: "wt-tree-table wt-scrollbar" }, se = { class: "wt-tree-table-wrapper" }, re = { class: "wt-tree-table-head" }, oe = { class: "wt-tree-table-tr wt-tree-table-tr-head" }, ne = ["onClick"], de = { class: "wt-tree-table-th__text" }, ce = {
138
138
  key: 0,
139
139
  class: "wt-tree-table-th__actions"
140
140
  }, ie = { class: "wt-tree-table-th__content" }, ue = { class: "wt-tree-table-body" }, he = /* @__PURE__ */ z({
@@ -196,12 +196,12 @@ const Y = ({ headers: e }) => {
196
196
  };
197
197
  return (t, o) => {
198
198
  const n = L("wt-icon");
199
- return l(), d("div", se, [
200
- u("table", le, [
199
+ return l(), d("div", le, [
200
+ u("table", se, [
201
201
  u("thead", re, [
202
202
  u("tr", oe, [
203
203
  (l(!0), d($, null, m(B(k), (s, v) => (l(), d("th", {
204
- key: String(v) + (s == null ? void 0 : s.sort),
204
+ key: String(v) + s?.sort,
205
205
  class: T([[
206
206
  {
207
207
  "wt-tree-table-th--sortable": c(s)