@webitel/ui-sdk 25.10.52 → 25.10.53

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.
@@ -64203,8 +64203,9 @@ const Ok = /* @__PURE__ */ ze(_Q, [["render", RQ], ["__scopeId", "data-v-b3881b3
64203
64203
  overlayIcon: {},
64204
64204
  overlayIconPrefix: {}
64205
64205
  },
64206
- setup(i) {
64207
- const o = {
64206
+ emits: ["click"],
64207
+ setup(i, { emit: o }) {
64208
+ const n = {
64208
64209
  "3xs": "32px",
64209
64210
  "2xs": "64px",
64210
64211
  xs: "92px",
@@ -64214,37 +64215,38 @@ const Ok = /* @__PURE__ */ ze(_Q, [["render", RQ], ["__scopeId", "data-v-b3881b3
64214
64215
  xl: "380px",
64215
64216
  "2xl": "512px",
64216
64217
  "3xl": "600px"
64217
- }, n = i, r = he(() => {
64218
- const s = n.size ? o[n.size] : n.width;
64219
- return +s ? `${s}px` : s;
64220
- }), l = he(() => {
64221
- const s = n.size ? o[n.size] : n.height;
64222
- return +s ? `${s}px` : s;
64218
+ }, r = i, l = o, s = he(() => {
64219
+ const p = r.size ? n[r.size] : r.width;
64220
+ return +p ? `${p}px` : p;
64221
+ }), d = he(() => {
64222
+ const p = r.size ? n[r.size] : r.height;
64223
+ return +p ? `${p}px` : p;
64223
64224
  });
64224
- return (s, d) => {
64225
- const p = de("p-image"), f = de("wt-icon");
64225
+ return (p, f) => {
64226
+ const m = de("p-image"), b = de("wt-icon");
64226
64227
  return C(), R("div", {
64227
64228
  class: "wt-image",
64228
64229
  style: ro({
64229
- width: r.value,
64230
- height: l.value,
64231
- minWidth: s.minWidth,
64232
- minHeight: s.minHeight,
64233
- maxWidth: s.maxWidth,
64234
- maxHeight: s.maxHeight,
64235
- cursor: s.overlayIcon ? "pointer" : "auto"
64236
- })
64230
+ width: s.value,
64231
+ height: d.value,
64232
+ minWidth: p.minWidth,
64233
+ minHeight: p.minHeight,
64234
+ maxWidth: p.maxWidth,
64235
+ maxHeight: p.maxHeight,
64236
+ cursor: p.overlayIcon ? "pointer" : "auto"
64237
+ }),
64238
+ onClick: f[0] || (f[0] = (g) => l("click", g))
64237
64239
  }, [
64238
- K(s.$slots, "default", tt(ht({ alt: s.alt, src: s.src })), () => [
64239
- be(p, {
64240
- alt: s.alt,
64241
- src: s.src,
64240
+ K(p.$slots, "default", tt(ht({ alt: p.alt, src: p.src })), () => [
64241
+ be(m, {
64242
+ alt: p.alt,
64243
+ src: p.src,
64242
64244
  class: "wt-image__img"
64243
64245
  }, null, 8, ["alt", "src"]),
64244
- s.overlayIcon ? (C(), R("div", JQ, [
64245
- be(f, {
64246
- icon: s.overlayIcon,
64247
- "icon-prefix": s.overlayIconPrefix,
64246
+ p.overlayIcon ? (C(), R("div", JQ, [
64247
+ be(b, {
64248
+ icon: p.overlayIcon,
64249
+ "icon-prefix": p.overlayIconPrefix,
64248
64250
  color: ie(VC).ON_DARK
64249
64251
  }, null, 8, ["icon", "icon-prefix", "color"])
64250
64252
  ])) : F("", !0)
@@ -64252,7 +64254,7 @@ const Ok = /* @__PURE__ */ ze(_Q, [["render", RQ], ["__scopeId", "data-v-b3881b3
64252
64254
  ], 4);
64253
64255
  };
64254
64256
  }
64255
- }), _k = /* @__PURE__ */ ze(eJ, [["__scopeId", "data-v-42cb98b1"]]), tJ = {
64257
+ }), _k = /* @__PURE__ */ ze(eJ, [["__scopeId", "data-v-ecc1d5ae"]]), tJ = {
64256
64258
  key: 0,
64257
64259
  class: "wt-empty__media"
64258
64260
  }, oJ = {
@@ -77055,7 +77057,7 @@ class qse {
77055
77057
  return "audio";
77056
77058
  }
77057
77059
  async load(o) {
77058
- return new (await import("./vidstack-audio-CFFRqrJ3.js")).AudioProvider(this.target, o);
77060
+ return new (await import("./vidstack-audio-BEcEzkeF.js")).AudioProvider(this.target, o);
77059
77061
  }
77060
77062
  }
77061
77063
  class bb {
@@ -77069,7 +77071,7 @@ class bb {
77069
77071
  return "video";
77070
77072
  }
77071
77073
  async load(o) {
77072
- return new (await import("./vidstack-video-BlmYiw-x.js")).VideoProvider(this.target, o);
77074
+ return new (await import("./vidstack-video-1erl9Gbe.js")).VideoProvider(this.target, o);
77073
77075
  }
77074
77076
  }
77075
77077
  const xp = class xp extends bb {
@@ -77080,7 +77082,7 @@ const xp = class xp extends bb {
77080
77082
  return xp.supported && pb(o);
77081
77083
  }
77082
77084
  async load(o) {
77083
- return new (await import("./vidstack-dash-BDtu3f4j.js")).DASHProvider(this.target, o);
77085
+ return new (await import("./vidstack-dash-D8SZVGUN.js")).DASHProvider(this.target, o);
77084
77086
  }
77085
77087
  };
77086
77088
  xp.supported = zle();
@@ -77093,7 +77095,7 @@ const Ip = class Ip extends bb {
77093
77095
  return Ip.supported && Md(o);
77094
77096
  }
77095
77097
  async load(o) {
77096
- return new (await import("./vidstack-hls-BLyFYePL.js")).HLSProvider(this.target, o);
77098
+ return new (await import("./vidstack-hls-C5jjqF8L.js")).HLSProvider(this.target, o);
77097
77099
  }
77098
77100
  };
77099
77101
  Ip.supported = cb();
@@ -77118,7 +77120,7 @@ class Fse {
77118
77120
  return "video";
77119
77121
  }
77120
77122
  async load(o) {
77121
- return new (await import("./vidstack-vimeo-DhWdWK51.js")).VimeoProvider(this.target, o);
77123
+ return new (await import("./vidstack-vimeo-BSb58vEP.js")).VimeoProvider(this.target, o);
77122
77124
  }
77123
77125
  async loadPoster(o, n, r) {
77124
77126
  const { resolveVimeoVideoId: l, getVimeoVideoInfo: s } = await import("./vidstack-BTBUzdbF-BuhaE3ef.js");
@@ -77152,7 +77154,7 @@ class Nse {
77152
77154
  return "video";
77153
77155
  }
77154
77156
  async load(o) {
77155
- return new (await import("./vidstack-youtube-l9Si5Vl-.js")).YouTubeProvider(this.target, o);
77157
+ return new (await import("./vidstack-youtube-BeeLfeYv.js")).YouTubeProvider(this.target, o);
77156
77158
  }
77157
77159
  async loadPoster(o, n, r) {
77158
77160
  const { findYouTubePoster: l, resolveYouTubeVideoId: s } = await import("./vidstack-DscYSLiW-Dk1undJ-.js"), d = Ct(o.src) && s(o.src);
@@ -77620,7 +77622,7 @@ class Wse extends Dr {
77620
77622
  throw l.code = "CAST_NOT_AVAILABLE", l;
77621
77623
  }
77622
77624
  if (jd("https://www.gstatic.com"), !this.qd) {
77623
- const l = await import("./vidstack-54Jpr2Lq-B-3uagaf.js").then((s) => s.v);
77625
+ const l = await import("./vidstack-54Jpr2Lq-B2le6Uto.js").then((s) => s.v);
77624
77626
  this.qd = new l.GoogleCastLoader();
77625
77627
  }
77626
77628
  await this.qd.prompt(this.a), o && this.g.i.k("media-google-cast-request", o);
@@ -83031,7 +83033,7 @@ const C4 = class C4 extends ct(HTMLElement, sp) {
83031
83033
  if ((n = this.G) != null && n.classList.contains("vds-google-cast"))
83032
83034
  return this.G;
83033
83035
  const o = document.createElement("div");
83034
- return o.classList.add("vds-google-cast"), import("./vidstack-BP-l85ST-cd089zs4.js").then(({ insertContent: r }) => {
83036
+ return o.classList.add("vds-google-cast"), import("./vidstack-BP-l85ST-CTFw3KUN.js").then(({ insertContent: r }) => {
83035
83037
  r(o, this.a.$state);
83036
83038
  }), o;
83037
83039
  }