@webitel/ui-sdk 26.8.126 → 26.8.128

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.
@@ -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-BAjXjwgz.js";
4
+ import { T as c } from "./components-ClBeAarp.js";
5
5
  import { a as l, c as u, r as d, u as f } from "./convertDuration-B5bq1uxb.js";
6
6
  import { C as p, _ as m, x as h } from "./enums-Xag5PrU-.js";
7
7
  import { t as g } from "./deep-copy-BJdHBMNZ.js";
@@ -3893,68 +3893,68 @@ var ha = /*#__PURE__*/ _(/* @__PURE__ */ M({
3893
3893
  },
3894
3894
  emits: ["resize"],
3895
3895
  setup(e, { emit: t }) {
3896
- let n = e, r = t, i = Ze("root"), a = R(n.defaultWidth), o = R(!1);
3896
+ let n = e, r = t, i = {
3897
+ ArrowLeft: -1,
3898
+ ArrowRight: 1
3899
+ }, a = Ze("root"), o = R(n.defaultWidth), { width: s } = ta(a, void 0, { box: "border-box" }), c = R(!1);
3897
3900
  G(() => n.defaultWidth, (e) => {
3898
- a.value = e;
3901
+ o.value = e;
3899
3902
  });
3900
- let s = () => {
3901
- let e = i.value, t = e.getBoundingClientRect().width, r = Number.parseFloat(getComputedStyle(e).minWidth) || 0, a = n.resizeEdge === "end" ? e.nextElementSibling : e.previousElementSibling;
3902
- if (!(a instanceof HTMLElement)) return {
3903
+ let l = () => {
3904
+ let e = a.value, t = e.getBoundingClientRect().width, r = Number.parseFloat(getComputedStyle(e).minWidth) || 0, i = n.resizeEdge === "end" ? e.nextElementSibling : e.previousElementSibling;
3905
+ if (!(i instanceof HTMLElement)) return {
3903
3906
  current: t,
3904
3907
  min: r,
3905
3908
  max: Infinity
3906
3909
  };
3907
- let o = Number.parseFloat(getComputedStyle(a).minWidth) || 0, s = t + a.getBoundingClientRect().width - o;
3910
+ let o = Number.parseFloat(getComputedStyle(i).minWidth) || 0, s = t + i.getBoundingClientRect().width - o;
3908
3911
  return {
3909
3912
  current: t,
3910
3913
  min: r,
3911
3914
  max: Math.max(r, s)
3912
3915
  };
3913
- }, c = (e, t, n) => Math.min(Math.max(e, t), n), l = null, u = (e) => {
3914
- if (!i.value || e.button !== 0) return;
3916
+ }, u = (e, t, n) => Math.min(Math.max(e, t), n), d = null, f = (e) => {
3917
+ if (!a.value || e.button !== 0) return;
3915
3918
  e.preventDefault();
3916
- let { current: t, min: u, max: d } = s(), f = e.clientX, p = n.resizeEdge === "end" ? 1 : -1;
3917
- a.value = t, o.value = !0;
3919
+ let { current: t, min: i, max: s } = l(), f = e.clientX, p = n.resizeEdge === "end" ? 1 : -1;
3920
+ o.value = t, c.value = !0;
3918
3921
  let m = (e) => {
3919
3922
  let n = (e.clientX - f) * p;
3920
- a.value = c(t + n, u, d);
3923
+ o.value = u(t + n, i, s);
3921
3924
  }, h = () => {
3922
- l?.(), r("resize", a.value);
3925
+ d?.(), r("resize", o.value);
3923
3926
  };
3924
- l = () => {
3925
- window.removeEventListener("pointermove", m), window.removeEventListener("pointerup", h), window.removeEventListener("pointercancel", h), o.value = !1, l = null;
3927
+ d = () => {
3928
+ window.removeEventListener("pointermove", m), window.removeEventListener("pointerup", h), window.removeEventListener("pointercancel", h), c.value = !1, d = null;
3926
3929
  }, window.addEventListener("pointermove", m), window.addEventListener("pointerup", h), window.addEventListener("pointercancel", h);
3927
- }, d = (e) => {
3928
- if (!i.value) return;
3929
- let t = {
3930
- ArrowLeft: -1,
3931
- ArrowRight: 1
3932
- }[e.key];
3930
+ }, p = (e) => {
3931
+ if (!a.value) return;
3932
+ let t = i[e.key];
3933
3933
  if (!t) return;
3934
3934
  e.preventDefault();
3935
- let { current: o, min: l, max: u } = s(), d = n.resizeEdge === "end" ? 1 : -1;
3936
- a.value = c(o + t * d * va, l, u), r("resize", a.value);
3935
+ let { current: s, min: c, max: d } = l(), f = n.resizeEdge === "end" ? 1 : -1;
3936
+ o.value = u(s + t * f * va, c, d), r("resize", o.value);
3937
3937
  };
3938
- return Le(() => l?.()), (t, n) => (L(), D("section", {
3938
+ return Le(() => d?.()), (t, n) => (L(), D("section", {
3939
3939
  ref_key: "root",
3940
- ref: i,
3940
+ ref: a,
3941
3941
  class: F([{
3942
- "wt-layout--fixed": a.value !== void 0,
3943
- "wt-layout--resizing": o.value
3942
+ "wt-layout--fixed": o.value !== void 0,
3943
+ "wt-layout--resizing": c.value
3944
3944
  }, "wt-layout"]),
3945
- style: Ie(a.value === void 0 ? void 0 : { flexBasis: `${a.value}px` })
3945
+ style: Ie(o.value === void 0 ? void 0 : { flexBasis: `${o.value}px` })
3946
3946
  }, [z(t.$slots, "default", {}, void 0, !0), e.resizable ? (L(), D("div", {
3947
3947
  key: 0,
3948
- "aria-valuenow": a.value,
3948
+ "aria-valuenow": Math.round(W(s)),
3949
3949
  class: F([`wt-layout__resizer--${e.resizeEdge}`, "wt-layout__resizer"]),
3950
3950
  "aria-orientation": "vertical",
3951
3951
  role: "separator",
3952
3952
  tabindex: "0",
3953
- onKeydown: d,
3954
- onPointerdown: u
3953
+ onKeydown: p,
3954
+ onPointerdown: f
3955
3955
  }, null, 42, _a)) : E("", !0)], 6));
3956
3956
  }
3957
- }), [["__scopeId", "data-v-c5be9f56"]]), ba = {
3957
+ }), [["__scopeId", "data-v-94c2f17d"]]), ba = {
3958
3958
  name: "WtLoadBar",
3959
3959
  props: {
3960
3960
  max: {
@@ -5821,13 +5821,13 @@ var Os = {
5821
5821
  ])), [[r, d]]) : E("", !0)], 2);
5822
5822
  };
5823
5823
  }
5824
- }, [["__scopeId", "data-v-72aa56d0"]]), Ns = j(() => import("./wt-action-bar-BAkn5Om9.js")), Ps = j(() => import("./wt-button-select-BnRHgJ4i.js")), Fs = j(() => import("./wt-confirm-dialog-DCUitG2v.js")), Is = j(() => import("./wt-context-menu-yW52oF-2.js")), Ls = j(() => import("./wt-copy-action-d9gVzAsB.js")), Rs = j(() => import("./wt-datepicker-D5qEc5xY.js")), zs = j(() => import("./wt-dual-panel-ruU3Urks.js")), Bs = j(() => import("./wt-dummy-J18Wmsn6.js")), Vs = j(() => import("./wt-error-page-vhu4lIyF.js")), Hs = j(() => import("./wt-expansion-panel-DfhgRSs4.js")), Us = j(() => import("./wt-expansion-card-DLGj2407.js")), Ws = j(() => import("./wt-filters-panel-wrapper-Cc9b3aci.js")), Gs = j(() => import("./wt-galleria-BIczN4CP.js")), Ks = j(() => import("./wt-notifications-bar-B20L-XMV.js")), qs = j(() => import("./wt-page-header-CDbd4aOh.js")), Js = j(() => import("./wt-pagination-DLRMTDRV.js")), Ys = j(() => import("./wt-player-68WtJY5v.js")), Xs = j(() => import("./wt-popover-BI6YyXy0.js").then((e) => e.n)), Zs = j(() => import("./wt-search-bar-CxMHtUb-.js")), Qs = j(() => import("./wt-slider-x-Tch7RT.js").then((e) => e.n)), $s = j(() => import("./wt-status-select-3qvqcdaM.js")), ec = j(() => import("./wt-stepper-B6zpd1Uh.js")), tc = j(() => import("./wt-table-BDJXh1rJ.js")), nc = j(() => import("./wt-table-actions-D7harVHK.js")), rc = j(() => import("./wt-table-column-select-DzXaRs03.js")), ic = j(() => import("./wt-tabs-DuOgj-lZ.js")), ac = j(() => import("./wt-time-input-Ds40EseE.js")), oc = j(() => import("./wt-timepicker-BtjKfsPX.js")), sc = j(() => import("./wt-tree-Cu_yRDjp.js")), cc = j(() => import("./wt-tree-table-B4N6HMgm.js")), lc = j(() => import("./wt-vidstack-player-Zns27bwa.js")), uc = j(() => import("./wt-call-media-action-Bkyppnsm.js")), dc = j(() => import("./wt-chat-emoji-DUrA-v1_.js")), fc = j(() => import("./wt-display-chip-items-CZvSZVP_.js")), pc = j(() => import("./wt-navigation-menu-BMupOW07.js")), mc = j({
5824
+ }, [["__scopeId", "data-v-72aa56d0"]]), Ns = j(() => import("./wt-action-bar-BAkn5Om9.js")), Ps = j(() => import("./wt-button-select-BnRHgJ4i.js")), Fs = j(() => import("./wt-confirm-dialog-DCUitG2v.js")), Is = j(() => import("./wt-context-menu-yW52oF-2.js")), Ls = j(() => import("./wt-copy-action-d9gVzAsB.js")), Rs = j(() => import("./wt-datepicker-D5qEc5xY.js")), zs = j(() => import("./wt-dual-panel-ruU3Urks.js")), Bs = j(() => import("./wt-dummy-J18Wmsn6.js")), Vs = j(() => import("./wt-error-page-vhu4lIyF.js")), Hs = j(() => import("./wt-expansion-panel-DfhgRSs4.js")), Us = j(() => import("./wt-expansion-card-DLGj2407.js")), Ws = j(() => import("./wt-filters-panel-wrapper-Cc9b3aci.js")), Gs = j(() => import("./wt-galleria-BIczN4CP.js")), Ks = j(() => import("./wt-notifications-bar-B20L-XMV.js")), qs = j(() => import("./wt-page-header-CDbd4aOh.js")), Js = j(() => import("./wt-pagination-DLRMTDRV.js")), Ys = j(() => import("./wt-player-68WtJY5v.js")), Xs = j(() => import("./wt-popover-BI6YyXy0.js").then((e) => e.n)), Zs = j(() => import("./wt-search-bar-CxMHtUb-.js")), Qs = j(() => import("./wt-slider-x-Tch7RT.js").then((e) => e.n)), $s = j(() => import("./wt-status-select-3qvqcdaM.js")), ec = j(() => import("./wt-stepper-B6zpd1Uh.js")), tc = j(() => import("./wt-table-BDJXh1rJ.js")), nc = j(() => import("./wt-table-actions-D7harVHK.js")), rc = j(() => import("./wt-table-column-select-DzXaRs03.js")), ic = j(() => import("./wt-tabs-DuOgj-lZ.js")), ac = j(() => import("./wt-time-input-Ds40EseE.js")), oc = j(() => import("./wt-timepicker-BtjKfsPX.js")), sc = j(() => import("./wt-tree-Cu_yRDjp.js")), cc = j(() => import("./wt-tree-table-B4N6HMgm.js")), lc = j(() => import("./wt-vidstack-player-C_miJ8JF.js")), uc = j(() => import("./wt-call-media-action-Bkyppnsm.js")), dc = j(() => import("./wt-chat-emoji-DScnZq3L.js")), fc = j(() => import("./wt-display-chip-items-T7QK4gFh.js")), pc = j(() => import("./wt-navigation-menu-BMupOW07.js")), mc = j({
5825
5825
  loader: () => import("./wt-rich-text-editor-DyGnGabB.js"),
5826
5826
  loadingComponent: h,
5827
5827
  delay: 0
5828
5828
  }), hc = j(() => import("./wt-selection-popup-Dei_JZah.js")), gc = j(() => import("./wt-start-page-2Bdzg5V5.js"));
5829
- j(() => import("./wt-type-extension-value-input-BjmJrhU5.js"));
5830
- var _c = j(() => import("./wt-screen-recordings-action-Yx0duVey.js")), vc = j(() => import("./wt-send-message-popup-DphWte4I.js")), yc = {
5829
+ j(() => import("./wt-type-extension-value-input-BsIDJ-6K.js"));
5830
+ var _c = j(() => import("./wt-screen-recordings-action-Yx0duVey.js")), vc = j(() => import("./wt-send-message-popup-DXWOn8eg.js")), yc = {
5831
5831
  WtActionBar: Ns,
5832
5832
  WtImage: Yr,
5833
5833
  WtEmpty: ei,