@webitel/ui-sdk 26.2.72 → 26.2.74

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 (70) hide show
  1. package/dist/{index-DWA4o3XJ.js → index-C25GeqXL.js} +1 -1
  2. package/dist/{index-pMfSnCae.js → index-DfUXKq0t.js} +1 -1
  3. package/dist/{install-UIKG1ERr.js → install-sjFa8quX.js} +1838 -1835
  4. package/dist/{isObject-B3V85Sws.js → isObject-BnLNAO_N.js} +1 -1
  5. package/dist/ui-sdk.css +1 -1
  6. package/dist/ui-sdk.js +1 -1
  7. package/dist/ui-sdk.umd.cjs +233 -233
  8. package/dist/useExpansion-BrQ40HiR.js +24 -0
  9. package/dist/{vidstack-Bq6c3Bam-pb8Xltql.js → vidstack-Bq6c3Bam-BX_jbFY0.js} +2 -2
  10. package/dist/{vidstack-D2pY00kU-DiDeMWBZ.js → vidstack-D2pY00kU-vXynmFRD.js} +2 -2
  11. package/dist/{vidstack-DDXt6fpN-BJpO5v6W.js → vidstack-DDXt6fpN-8bIu1Enb.js} +1 -1
  12. package/dist/{vidstack-D_-9AA6_-D9IZ6RtF.js → vidstack-D_-9AA6_-Cgna7ol-.js} +1 -1
  13. package/dist/{vidstack-DqAw8m9J-R8izgrMK.js → vidstack-DqAw8m9J-C_SvtcOJ.js} +1 -1
  14. package/dist/{vidstack-audio-RReC5vyt.js → vidstack-audio-D9ACER72.js} +2 -2
  15. package/dist/{vidstack-dash-DW7Ue8Mf.js → vidstack-dash-BXu1aEtk.js} +3 -3
  16. package/dist/{vidstack-google-cast-C0U2wzqB.js → vidstack-google-cast-Cgdbg0Be.js} +3 -3
  17. package/dist/{vidstack-hls-BZgfDsGk.js → vidstack-hls-msJGTs3v.js} +3 -3
  18. package/dist/{vidstack-video-CI2rq89j.js → vidstack-video-BTRIQEsj.js} +2 -2
  19. package/dist/{vidstack-vimeo-CgwZpCSk.js → vidstack-vimeo-Dkk8BPua.js} +3 -3
  20. package/dist/{vidstack-youtube-BYXk8CK9.js → vidstack-youtube-s5YQTiIU.js} +2 -2
  21. package/dist/{wt-action-bar-DR8FqGoN.js → wt-action-bar-C09LbW74.js} +1 -1
  22. package/dist/{wt-button-select-DZ_mMZr7.js → wt-button-select-BiR97Gnz.js} +1 -1
  23. package/dist/{wt-chat-emoji-Bx7YenHF.js → wt-chat-emoji-Dsa0qaCP.js} +2 -2
  24. package/dist/{wt-confirm-dialog-Bmt7hVhO.js → wt-confirm-dialog-CvGk7x0V.js} +1 -1
  25. package/dist/{wt-context-menu-DEonPBI7.js → wt-context-menu-mBnrDISj.js} +1 -1
  26. package/dist/{wt-copy-action-DQZ5qUUm.js → wt-copy-action-c5UjMk78.js} +1 -1
  27. package/dist/{wt-datepicker-DRUiK--W.js → wt-datepicker-D1KnUsFX.js} +1 -1
  28. package/dist/{wt-display-chip-items-x25aFJxY.js → wt-display-chip-items-CPceIxPp.js} +1 -1
  29. package/dist/{wt-dual-panel-0fDOCrlS.js → wt-dual-panel-ycUnpd8Z.js} +1 -1
  30. package/dist/{wt-dummy-CFcLvVwn.js → wt-dummy-B2hAzqSH.js} +1 -1
  31. package/dist/{wt-error-page-CebFt3Gg.js → wt-error-page-D5e6HuzM.js} +1 -1
  32. package/dist/wt-expansion-card-HzSoWA5B.js +63 -0
  33. package/dist/wt-expansion-panel-DGU-Gu3-.js +54 -0
  34. package/dist/{wt-filters-panel-wrapper-4-k7czbS.js → wt-filters-panel-wrapper-bas6xYKp.js} +1 -1
  35. package/dist/{wt-galleria-Ds-HZvJq.js → wt-galleria-BblqUS4l.js} +1 -1
  36. package/dist/{wt-navigation-menu-DqnvQB3G.js → wt-navigation-menu-DYIRtC20.js} +1 -1
  37. package/dist/{wt-notifications-bar-Bmww4vJb.js → wt-notifications-bar-OC2_kmbR.js} +2 -2
  38. package/dist/{wt-page-header-6lJKDnEs.js → wt-page-header-GyIotNbK.js} +1 -1
  39. package/dist/{wt-pagination-D7BhUkrI.js → wt-pagination-DbK92dl9.js} +1 -1
  40. package/dist/{wt-player-Bx_9-9R6.js → wt-player-DW67qHo9.js} +1 -1
  41. package/dist/{wt-search-bar-BfHsofcU.js → wt-search-bar-8xKpr0rE.js} +1 -1
  42. package/dist/{wt-selection-popup-B5Wt1WQk.js → wt-selection-popup-BiWd0_Uy.js} +1 -1
  43. package/dist/{wt-start-page-8ywFCoUJ.js → wt-start-page-fSSfs4ZM.js} +1 -1
  44. package/dist/{wt-status-select-CFdNgbIP.js → wt-status-select-B27S066j.js} +1 -1
  45. package/dist/{wt-stepper-59a_rP7o.js → wt-stepper-Cf6uesmj.js} +1 -1
  46. package/dist/{wt-table-DuxjiiFi.js → wt-table-CzzvWLWs.js} +1 -1
  47. package/dist/{wt-table-actions-CsrvF6d8.js → wt-table-actions-Bi-Cf3Wl.js} +1 -1
  48. package/dist/{wt-table-column-select-Zga4Zyfd.js → wt-table-column-select-CxVI6DKa.js} +2 -2
  49. package/dist/{wt-tabs-CMMlNgqE.js → wt-tabs-CcFkMXLW.js} +1 -1
  50. package/dist/{wt-tags-input-O1wer3-w.js → wt-tags-input-B5LnwXF4.js} +2 -2
  51. package/dist/{wt-timepicker-BscP21YM.js → wt-timepicker-CSoDT40a.js} +1 -1
  52. package/dist/{wt-tree-BRPd5QbE.js → wt-tree-DWg6zwKE.js} +2 -2
  53. package/dist/{wt-tree-table-CZQ7xmja.js → wt-tree-table-DdO0iEy6.js} +1 -1
  54. package/dist/{wt-type-extension-value-input-DZqeSLGx.js → wt-type-extension-value-input-DmT9VyKh.js} +2 -2
  55. package/dist/{wt-vidstack-player-CA18U-L9.js → wt-vidstack-player-DVeEN5Gb.js} +9 -9
  56. package/package.json +1 -1
  57. package/src/components/index.js +5 -0
  58. package/src/components/wt-expansion-card/_variables.css +6 -0
  59. package/src/components/wt-expansion-card/wt-expansion-card.vue +114 -0
  60. package/src/components/wt-expansion-panel/wt-expansion-panel.vue +51 -68
  61. package/src/components/wt-galleria/wt-galleria.vue +20 -19
  62. package/src/composables/index.ts +1 -0
  63. package/src/composables/useExpansion/useExpansion.ts +34 -0
  64. package/types/components/wt-expansion-card/wt-expansion-card.vue.d.ts +45 -0
  65. package/types/components/wt-expansion-panel/wt-expansion-panel.vue.d.ts +52 -15
  66. package/types/components/wt-select/wt-select-v2.vue.d.ts +2 -2
  67. package/types/components/wt-select/wt-select.vue.d.ts +1 -1
  68. package/types/composables/index.d.ts +1 -0
  69. package/types/composables/useExpansion/useExpansion.d.ts +7 -0
  70. package/dist/wt-expansion-panel-cJWQaqAc.js +0 -82
@@ -0,0 +1,63 @@
1
+ import { defineComponent as x, toRef as C, resolveComponent as y, createElementBlock as z, openBlock as _, normalizeClass as r, createElementVNode as d, withDirectives as E, withKeys as l, unref as e, renderSlot as p, createVNode as c, withCtx as b, vShow as k, normalizeProps as $, guardReactiveProps as g } from "vue";
2
+ import { C as B, W as K, _ as S } from "./install-sjFa8quX.js";
3
+ import { u as D } from "./useExpansion-BrQ40HiR.js";
4
+ const N = { class: "wt-expansion-card-body" }, P = /* @__PURE__ */ x({
5
+ __name: "wt-expansion-card",
6
+ props: {
7
+ size: { default: B.MD },
8
+ collapsed: { type: Boolean, default: !1 }
9
+ },
10
+ emits: ["opened", "closed"],
11
+ setup(m, { emit: u }) {
12
+ const n = m, w = u, { opened: a, open: f, toggle: o } = D(C(n, "collapsed"), w);
13
+ return (i, t) => {
14
+ const v = y("wt-icon");
15
+ return _(), z("div", {
16
+ class: r([[`wt-expansion-card--${n.size}`], "wt-expansion-card"])
17
+ }, [
18
+ d("div", {
19
+ class: r([[n.size === "sm" ? "typo-subtitle-2" : "typo-subtitle-1"], "wt-expansion-card-header"]),
20
+ tabindex: "0",
21
+ onClick: t[0] || (t[0] = //@ts-ignore
22
+ (...s) => e(o) && e(o)(...s)),
23
+ onKeypress: t[1] || (t[1] = l(
24
+ //@ts-ignore
25
+ (...s) => e(o) && e(o)(...s),
26
+ ["enter"]
27
+ ))
28
+ }, [
29
+ p(i.$slots, "title", {}, void 0, !0)
30
+ ], 34),
31
+ E(c(K, null, {
32
+ default: b(() => [
33
+ d("div", N, [
34
+ p(i.$slots, "default", {}, void 0, !0)
35
+ ])
36
+ ], void 0, !0),
37
+ _: 3
38
+ }, 512), [
39
+ [k, e(a)]
40
+ ]),
41
+ d("div", {
42
+ class: "wt-expansion-card-actions",
43
+ onClick: t[2] || (t[2] = //@ts-ignore
44
+ (...s) => e(o) && e(o)(...s)),
45
+ onKeypress: t[3] || (t[3] = l(
46
+ //@ts-ignore
47
+ (...s) => e(o) && e(o)(...s),
48
+ ["enter"]
49
+ ))
50
+ }, [
51
+ p(i.$slots, "actions", $(g({ open: e(f), opened: e(a) })), void 0, !0),
52
+ c(v, {
53
+ class: r([{ "wt-expansion-card-arrow--opened": e(a) }, "wt-expansion-card-arrow"]),
54
+ icon: "arrow-down"
55
+ }, null, 8, ["class"])
56
+ ], 32)
57
+ ], 2);
58
+ };
59
+ }
60
+ }), I = /* @__PURE__ */ S(P, [["__scopeId", "data-v-5f6a574e"]]);
61
+ export {
62
+ I as default
63
+ };
@@ -0,0 +1,54 @@
1
+ import { defineComponent as v, toRef as x, resolveComponent as _, createElementBlock as C, openBlock as y, normalizeClass as p, createElementVNode as l, withDirectives as z, withKeys as b, unref as e, renderSlot as r, createVNode as d, normalizeProps as h, guardReactiveProps as E, withCtx as g, vShow as $ } from "vue";
2
+ import { u as k } from "./useExpansion-BrQ40HiR.js";
3
+ import { C as B, W as P, _ as S } from "./install-sjFa8quX.js";
4
+ const D = { class: "wt-expansion-panel-actions" }, K = { class: "wt-expansion-panel-body" }, N = /* @__PURE__ */ v({
5
+ __name: "wt-expansion-panel",
6
+ props: {
7
+ size: { default: B.MD },
8
+ collapsed: { type: Boolean, default: !1 }
9
+ },
10
+ emits: ["opened", "closed"],
11
+ setup(c, { emit: m }) {
12
+ const t = c, u = m, { opened: s, open: w, toggle: o } = k(x(t, "collapsed"), u);
13
+ return (a, n) => {
14
+ const f = _("wt-icon");
15
+ return y(), C("div", {
16
+ class: p([[`wt-expansion-panel--${t.size}`], "wt-expansion-panel"])
17
+ }, [
18
+ l("div", {
19
+ class: p([[t.size === "sm" ? "typo-subtitle-2" : "typo-subtitle-1"], "wt-expansion-panel-header"]),
20
+ tabindex: "0",
21
+ onClick: n[0] || (n[0] = //@ts-ignore
22
+ (...i) => e(o) && e(o)(...i)),
23
+ onKeypress: n[1] || (n[1] = b(
24
+ //@ts-ignore
25
+ (...i) => e(o) && e(o)(...i),
26
+ ["enter"]
27
+ ))
28
+ }, [
29
+ r(a.$slots, "title", {}, void 0, !0),
30
+ l("div", D, [
31
+ r(a.$slots, "actions", h(E({ open: e(w), opened: e(s) })), void 0, !0),
32
+ d(f, {
33
+ class: p([{ "wt-expansion-panel-arrow--opened": e(s) }, "wt-expansion-panel-arrow"]),
34
+ icon: "arrow-right"
35
+ }, null, 8, ["class"])
36
+ ])
37
+ ], 34),
38
+ z(d(P, null, {
39
+ default: g(() => [
40
+ l("div", K, [
41
+ r(a.$slots, "default", {}, void 0, !0)
42
+ ])
43
+ ], void 0, !0),
44
+ _: 3
45
+ }, 512), [
46
+ [$, e(s)]
47
+ ])
48
+ ], 2);
49
+ };
50
+ }
51
+ }), I = /* @__PURE__ */ S(N, [["__scopeId", "data-v-83dbc42f"]]);
52
+ export {
53
+ I as default
54
+ };
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as r, createElementBlock as l, openBlock as o, normalizeClass as i, createElementVNode as s, renderSlot as c, createVNode as p } from "vue";
2
- import { _ as d } from "./install-UIKG1ERr.js";
2
+ import { _ as d } from "./install-sjFa8quX.js";
3
3
  const f = {
4
4
  name: "FiltersPanelWrapper",
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ref as k, onMounted as P, onUnmounted as D, useAttrs as Z, computed as $, resolveComponent as w, createBlock as A, openBlock as y, mergeProps as j, unref as i, withCtx as s, createVNode as a, createTextVNode as x, toDisplayString as g, createElementVNode as m, renderSlot as J, defineComponent as K, mergeModels as B, useModel as S, watch as F, nextTick as Q, createElementBlock as L, Fragment as W, createCommentVNode as q, normalizeClass as M, withDirectives as X, vShow as Y } from "vue";
2
- import { _ as ee, B as te } from "./install-UIKG1ERr.js";
2
+ import { _ as ee, B as te } from "./install-sjFa8quX.js";
3
3
  const le = () => {
4
4
  const e = k(!1), c = () => {
5
5
  e.value ? l() : v();
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as h, createElementBlock as l, openBlock as c, Fragment as w, renderList as b, createElementVNode as p, withDirectives as N, normalizeClass as C, createVNode as _, createTextVNode as k, toDisplayString as $, renderSlot as S, vShow as E, withCtx as A, ref as L, computed as v } from "vue";
2
- import { _ as g } from "./install-UIKG1ERr.js";
2
+ import { _ as g } from "./install-sjFa8quX.js";
3
3
  const V = { class: "nav-menu__category nav-menu-lvl-1" }, B = ["onClick"], D = {
4
4
  __name: "nav-menu-lvl-1",
5
5
  props: {
@@ -1,6 +1,6 @@
1
- import { i as p, e as _ } from "./isObject-B3V85Sws.js";
1
+ import { i as p, e as _ } from "./isObject-BnLNAO_N.js";
2
2
  import { resolveComponent as v, createElementBlock as d, openBlock as c, createVNode as B, TransitionGroup as $, withCtx as w, Fragment as g, renderList as x, createBlock as N, createTextVNode as b, toDisplayString as y } from "vue";
3
- import { _ as k } from "./install-UIKG1ERr.js";
3
+ import { _ as k } from "./install-sjFa8quX.js";
4
4
  const C = (t) => p(t) && (t.entity || t.module), i = (t) => (o) => (...n) => {
5
5
  if (C(n[0])) {
6
6
  const u = n[0], { app: f = t, entity: s = "", module: r = "" } = u, e = /* @__PURE__ */ new Date(), a = window?.location?.href || "non-browser env";
@@ -1,5 +1,5 @@
1
1
  import { computed as f, resolveComponent as r, createBlock as i, openBlock as l, withCtx as a, renderSlot as n, createCommentVNode as c, createVNode as p, createTextVNode as s, toDisplayString as u } from "vue";
2
- import { _ as b } from "./install-UIKG1ERr.js";
2
+ import { _ as b } from "./install-sjFa8quX.js";
3
3
  const h = {
4
4
  __name: "wt-page-header",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as p, D as _ } from "./install-UIKG1ERr.js";
1
+ import { _ as p, D as _ } from "./install-sjFa8quX.js";
2
2
  import { resolveComponent as c, resolveDirective as u, createElementBlock as g, openBlock as h, createElementVNode as o, createVNode as a, toDisplayString as m, withDirectives as d } from "vue";
3
3
  const f = {
4
4
  name: "WtPagination",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as y, computed as m, watch as r, onMounted as w, createElementBlock as v, openBlock as B, normalizeClass as g, createElementVNode as s, createVNode as o } from "vue";
2
- import { E as e, _ as x } from "./install-UIKG1ERr.js";
2
+ import { E as e, _ as x } from "./install-sjFa8quX.js";
3
3
  const V = ["src", "loop", "autoplay"], _ = ["controls", "download"], b = /* @__PURE__ */ y({
4
4
  __name: "wt-player",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as O, toRefs as $, computed as y, resolveComponent as o, resolveDirective as A, createBlock as l, openBlock as s, unref as h, createSlots as E, withCtx as n, createVNode as p, createElementVNode as U, createCommentVNode as m, renderSlot as j, createTextVNode as K, toDisplayString as z, withDirectives as H } from "vue";
2
- import { z as P, D as R, _ as T } from "./install-UIKG1ERr.js";
2
+ import { z as P, D as R, _ as T } from "./install-sjFa8quX.js";
3
3
  const q = { class: "wt-search-bar__icon-controls" }, F = /* @__PURE__ */ O({
4
4
  __name: "wt-search-bar",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as i, resolveDirective as $, createBlock as r, openBlock as t, mergeProps as x, withCtx as c, createVNode as f, createTextVNode as a, toDisplayString as s, unref as w, createElementVNode as h, renderSlot as k, createElementBlock as d, Fragment as z, renderList as D, normalizeClass as E, createCommentVNode as p, withDirectives as I } from "vue";
2
- import { _ as O, B as P } from "./install-UIKG1ERr.js";
2
+ import { _ as O, B as P } from "./install-sjFa8quX.js";
3
3
  const j = { class: "wt-selection-popup__options" }, A = ["onClick"], F = { class: "wt-selection-popup__item-header typo-subtitle-2" }, L = {
4
4
  key: 1,
5
5
  class: "popup-options__item-text"
@@ -1,5 +1,5 @@
1
1
  import { inject as y, resolveComponent as _, createElementBlock as d, openBlock as a, createElementVNode as o, createBlock as u, createCommentVNode as h, createTextVNode as g, toDisplayString as l, createVNode as N, withCtx as f, defineComponent as w, computed as m, Fragment as E, renderList as k } from "vue";
2
- import { L as n, _ as p } from "./install-UIKG1ERr.js";
2
+ import { L as n, _ as p } from "./install-sjFa8quX.js";
3
3
  n.env.NODE_ENV;
4
4
  n.env.NODE_ENV;
5
5
  n.env.NODE_ENV;
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as u, createBlock as d, openBlock as f, withCtx as c, createVNode as i } from "vue";
2
- import { _ as h } from "./install-UIKG1ERr.js";
2
+ import { _ as h } from "./install-sjFa8quX.js";
3
3
  const s = Object.freeze({
4
4
  ONLINE: "online",
5
5
  PAUSE: "pause",
@@ -1,5 +1,5 @@
1
1
  import { computed as i, resolveComponent as w, createElementBlock as s, openBlock as p, createElementVNode as r, renderSlot as n, Fragment as h, renderList as f, createCommentVNode as y, createVNode as S, normalizeClass as C, withCtx as N, createTextVNode as V, toDisplayString as d } from "vue";
2
- import { _ as k } from "./install-UIKG1ERr.js";
2
+ import { _ as k } from "./install-sjFa8quX.js";
3
3
  const x = { class: "wt-stepper" }, b = { class: "wt-stepper-header" }, g = { class: "wt-stepper-steps" }, B = { class: "wt-stepper-steps__wrapper" }, E = { class: "wt-stepper-description" }, $ = {
4
4
  __name: "wt-stepper",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as ee, useSlots as te, useTemplateRef as oe, ref as H, computed as _, onMounted as le, onUnmounted as ae, resolveComponent as L, resolveDirective as re, createBlock as f, openBlock as c, createSlots as W, withCtx as i, createCommentVNode as b, createElementBlock as U, createVNode as q, withModifiers as ne, Fragment as se, renderList as de, createElementVNode as $, normalizeStyle as ie, renderSlot as h, createTextVNode as K, toDisplayString as V, withDirectives as ce, nextTick as ue } from "vue";
2
- import { B as pe, _ as fe } from "./install-UIKG1ERr.js";
2
+ import { B as pe, _ as fe } from "./install-sjFa8quX.js";
3
3
  import { g as me } from "./sortQueryAdapters-M9bNEM3P.js";
4
4
  const ye = (r, C) => {
5
5
  let o = null, p = null, w = null, d = !1;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as C, computed as l, resolveComponent as p, resolveDirective as g, createElementBlock as S, openBlock as n, renderSlot as y, withDirectives as r, createCommentVNode as u, createVNode as A, createBlock as a, withCtx as B, normalizeClass as I } from "vue";
2
- import { _ as O } from "./install-UIKG1ERr.js";
2
+ import { _ as O } from "./install-sjFa8quX.js";
3
3
  const R = { class: "wt-table-actions" }, U = /* @__PURE__ */ C({
4
4
  __name: "wt-table-actions",
5
5
  props: {
@@ -1,6 +1,6 @@
1
- import { d as C } from "./index-pMfSnCae.js";
1
+ import { d as C } from "./index-DfUXKq0t.js";
2
2
  import { resolveComponent as a, resolveDirective as g, createElementBlock as c, openBlock as r, withDirectives as v, createVNode as s, withCtx as n, createTextVNode as i, toDisplayString as p, createElementVNode as h, normalizeClass as S, Fragment as k, renderList as D, withModifiers as y } from "vue";
3
- import { _ as P } from "./install-UIKG1ERr.js";
3
+ import { _ as P } from "./install-sjFa8quX.js";
4
4
  const H = {
5
5
  name: "WtTableColumnSelect",
6
6
  model: {
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as n, openBlock as r, normalizeClass as o, createElementVNode as a, Fragment as c, renderList as d, renderSlot as h, normalizeProps as u, guardReactiveProps as f, toDisplayString as v, normalizeStyle as m } from "vue";
2
- import { _ as p } from "./install-UIKG1ERr.js";
2
+ import { _ as p } from "./install-sjFa8quX.js";
3
3
  const _ = {
4
4
  name: "WtTabs",
5
5
  model: {
@@ -1,5 +1,5 @@
1
- import { d as O } from "./index-DWA4o3XJ.js";
2
- import { F as h, _ as E, C as S, M as z, G as A, H as B } from "./install-UIKG1ERr.js";
1
+ import { d as O } from "./index-C25GeqXL.js";
2
+ import { F as h, _ as E, C as S, M as z, G as A, H as B } from "./install-sjFa8quX.js";
3
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
4
  const D = {
5
5
  props: {
@@ -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-UIKG1ERr.js";
2
+ import { B as W, z as X, C as Y, M as Z, _ as ee } from "./install-sjFa8quX.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-DWA4o3XJ.js";
3
- import { W as _, _ as R } from "./install-UIKG1ERr.js";
2
+ import { d as P } from "./index-C25GeqXL.js";
3
+ import { W as _, _ as R } from "./install-sjFa8quX.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: {
@@ -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-UIKG1ERr.js";
2
+ import { B as J, O as R, P as Q, _ as M } from "./install-sjFa8quX.js";
3
3
  import { g as X } from "./sortQueryAdapters-M9bNEM3P.js";
4
4
  const Y = ({ headers: e }) => {
5
5
  const { t: y } = J();
@@ -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-UIKG1ERr.js";
3
- import { d as xe } from "./index-pMfSnCae.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-sjFa8quX.js";
3
+ import { d as xe } from "./index-DfUXKq0t.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";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as qe, createElementBlock as Ie, openBlock as gt, createVNode as ie, useTemplateRef as ha, inject as nn, onMounted as ca, onBeforeUnmount as ua, normalizeClass as Xs, unref as Js, createElementVNode as yt, createBlock as is, createCommentVNode as ve, toDisplayString as da, renderSlot as os, ref as Ci, provide as pa, computed as Pi, withCtx as xi } from "vue";
2
- import { Q as fa, R as ma, S as ga, T as ya, P as Ce, _ as Oe, U as ba, C as at } from "./install-UIKG1ERr.js";
2
+ import { R as fa, S as ma, T as ga, U as ya, P as Ce, _ as Oe, V as ba, C as at } from "./install-sjFa8quX.js";
3
3
  const dt = /* @__PURE__ */ Symbol(0);
4
4
  let ls = !1, Fs = !1, ot = null, ee = null, et = null, X = 0, te = [], Zs = {};
5
5
  const $a = () => {
@@ -3263,7 +3263,7 @@ class To {
3263
3263
  return "audio";
3264
3264
  }
3265
3265
  async load(t) {
3266
- return new (await import("./vidstack-audio-RReC5vyt.js")).AudioProvider(this.target, t);
3266
+ return new (await import("./vidstack-audio-D9ACER72.js")).AudioProvider(this.target, t);
3267
3267
  }
3268
3268
  }
3269
3269
  class di {
@@ -3276,7 +3276,7 @@ class di {
3276
3276
  return "video";
3277
3277
  }
3278
3278
  async load(t) {
3279
- return new (await import("./vidstack-video-CI2rq89j.js")).VideoProvider(this.target, t);
3279
+ return new (await import("./vidstack-video-BTRIQEsj.js")).VideoProvider(this.target, t);
3280
3280
  }
3281
3281
  }
3282
3282
  class pi extends di {
@@ -3286,7 +3286,7 @@ class pi extends di {
3286
3286
  return pi.supported && De(t);
3287
3287
  }
3288
3288
  async load(t) {
3289
- return new (await import("./vidstack-hls-BZgfDsGk.js")).HLSProvider(this.target, t);
3289
+ return new (await import("./vidstack-hls-msJGTs3v.js")).HLSProvider(this.target, t);
3290
3290
  }
3291
3291
  }
3292
3292
  class fi extends di {
@@ -3296,7 +3296,7 @@ class fi extends di {
3296
3296
  return fi.supported && li(t);
3297
3297
  }
3298
3298
  async load(t) {
3299
- return new (await import("./vidstack-dash-DW7Ue8Mf.js")).DASHProvider(this.target, t);
3299
+ return new (await import("./vidstack-dash-BXu1aEtk.js")).DASHProvider(this.target, t);
3300
3300
  }
3301
3301
  }
3302
3302
  class So {
@@ -3318,7 +3318,7 @@ class So {
3318
3318
  return "video";
3319
3319
  }
3320
3320
  async load(t) {
3321
- return new (await import("./vidstack-vimeo-CgwZpCSk.js")).VimeoProvider(this.target, t);
3321
+ return new (await import("./vidstack-vimeo-Dkk8BPua.js")).VimeoProvider(this.target, t);
3322
3322
  }
3323
3323
  async loadPoster(t, e, s) {
3324
3324
  const { resolveVimeoVideoId: n, getVimeoVideoInfo: a } = await import("./vidstack-krOAtKMi-C50BTxmn.js");
@@ -3350,7 +3350,7 @@ class ko {
3350
3350
  return "video";
3351
3351
  }
3352
3352
  async load(t) {
3353
- return new (await import("./vidstack-youtube-BYXk8CK9.js")).YouTubeProvider(this.target, t);
3353
+ return new (await import("./vidstack-youtube-s5YQTiIU.js")).YouTubeProvider(this.target, t);
3354
3354
  }
3355
3355
  async loadPoster(t, e, s) {
3356
3356
  const { findYouTubePoster: n, resolveYouTubeVideoId: a } = await import("./vidstack-Dm1xEU9Q-CXHNvShT.js"), r = v(t.src) && a(t.src);
@@ -3818,7 +3818,7 @@ class Ao extends Qt {
3818
3818
  throw n.code = "CAST_NOT_AVAILABLE", n;
3819
3819
  }
3820
3820
  if (_e("https://www.gstatic.com"), !this.#$) {
3821
- const n = await import("./vidstack-D2pY00kU-DiDeMWBZ.js").then((a) => a.v);
3821
+ const n = await import("./vidstack-D2pY00kU-vXynmFRD.js").then((a) => a.v);
3822
3822
  this.#$ = new n.GoogleCastLoader();
3823
3823
  }
3824
3824
  await this.#$.prompt(this.#s), t && this.#e.queue.enqueue("media-google-cast-request", t);
@@ -5511,7 +5511,7 @@ class Bo extends $(HTMLElement, Hn) {
5511
5511
  if (this.#e?.classList.contains("vds-google-cast"))
5512
5512
  return this.#e;
5513
5513
  const t = document.createElement("div");
5514
- return t.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-D9IZ6RtF.js").then(({ insertContent: e }) => {
5514
+ return t.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-Cgna7ol-.js").then(({ insertContent: e }) => {
5515
5515
  e(t, this.#t.$state);
5516
5516
  }), t;
5517
5517
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.2.72",
3
+ "version": "26.2.74",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run biome:format:all || true) && npm run publish-lib",
@@ -72,6 +72,9 @@ const WtErrorPage = defineAsyncComponent(
72
72
  const WtExpansionPanel = defineAsyncComponent(
73
73
  () => import('./wt-expansion-panel/wt-expansion-panel.vue'),
74
74
  );
75
+ const WtExpansionCard = defineAsyncComponent(
76
+ () => import('./wt-expansion-card/wt-expansion-card.vue'),
77
+ );
75
78
  const WtFiltersPanelWrapper = defineAsyncComponent(
76
79
  () => import('./wt-filters-panel-wrapper/wt-filters-panel-wrapper.vue'),
77
80
  );
@@ -230,6 +233,7 @@ const Components = {
230
233
  WtGalleria,
231
234
  WtVidstackPlayer,
232
235
  WtChatEmoji,
236
+ WtExpansionCard,
233
237
  };
234
238
 
235
239
  export {
@@ -311,6 +315,7 @@ export {
311
315
  WtTreeTable,
312
316
  WtTypeExtensionValueInput,
313
317
  WtVidstackPlayer,
318
+ WtExpansionCard,
314
319
  };
315
320
 
316
321
  export default Components;
@@ -0,0 +1,6 @@
1
+ :root {
2
+ --wt-expansion-card-header-background-color: var(--content-wrapper-color);
3
+ --wt-expansion-card-header-title-color: var(--text-main-color);
4
+ --wt-expansion-card-content-background-color: var(--content-wrapper-color);
5
+ --wt-expansion-card-content-text-color: var(--text-main-color);
6
+ }
@@ -0,0 +1,114 @@
1
+ <template>
2
+ <div
3
+ :class="[`wt-expansion-card--${props.size}`]"
4
+ class="wt-expansion-card"
5
+ >
6
+ <div
7
+ :class="[props.size === 'sm' ? 'typo-subtitle-2' : 'typo-subtitle-1']"
8
+ class="wt-expansion-card-header"
9
+ tabindex="0"
10
+ @click="toggle"
11
+ @keypress.enter="toggle"
12
+ >
13
+ <slot name="title"></slot>
14
+ </div>
15
+
16
+ <wt-expand-transition v-show="opened">
17
+ <div class="wt-expansion-card-body">
18
+ <slot> </slot>
19
+ </div>
20
+ </wt-expand-transition>
21
+
22
+ <div
23
+ class="wt-expansion-card-actions"
24
+ @click="toggle"
25
+ @keypress.enter="toggle"
26
+ >
27
+ <slot name="actions" v-bind="{ open, opened }"></slot>
28
+ <wt-icon
29
+ :class="{ 'wt-expansion-card-arrow--opened': opened }"
30
+ class="wt-expansion-card-arrow"
31
+ icon="arrow-down"
32
+ />
33
+ </div>
34
+ </div>
35
+ </template>
36
+
37
+ <script setup lang="ts">
38
+ import { toRef } from 'vue';
39
+ import { useExpansion } from '../../composables';
40
+ import { ComponentSize } from '../../enums';
41
+ import WtExpandTransition from '../transitions/wt-expand-transition.vue';
42
+
43
+ const props = withDefaults(
44
+ defineProps<{
45
+ /**
46
+ * Size of the expansion panel
47
+ * @type {string}
48
+ * @default 'md'
49
+ * @options ['sm', 'md']
50
+ */
51
+ size?: ComponentSize;
52
+ /**
53
+ * Whether the expansion panel is initially collapsed. Also, can force expansion state, if changed
54
+ * @type {boolean}
55
+ * @default false
56
+ */
57
+ collapsed?: boolean;
58
+ }>(),
59
+ {
60
+ size: ComponentSize.MD,
61
+ collapsed: false,
62
+ },
63
+ );
64
+
65
+ const emit = defineEmits<{
66
+ opened: [];
67
+ closed: [];
68
+ }>();
69
+
70
+ const { opened, open, toggle } = useExpansion(toRef(props, 'collapsed'), emit);
71
+ </script>
72
+
73
+ <style scoped>
74
+ .wt-expansion-card {
75
+ display: flex;
76
+ flex-direction: column;
77
+ padding: var(--spacing-xs);
78
+ gap: var(--spacing-xs);
79
+ border-radius: var(--spacing-xs);
80
+ box-shadow: var(--elevation-10);
81
+ }
82
+
83
+ .wt-expansion-card-header {
84
+ display: flex;
85
+ flex-direction: column;
86
+ justify-content: space-between;
87
+ align-items: center;
88
+ cursor: pointer;
89
+ background-color: var(--wt-expansion-card-header-background-color);
90
+ color: var(--wt-expansion-card-header-title-color);
91
+ }
92
+
93
+ .wt-expansion-card-actions {
94
+ display: flex;
95
+ align-items: center;
96
+ justify-content: center;
97
+ gap: var(--spacing-xs);
98
+ }
99
+
100
+ .wt-expansion-card-arrow {
101
+ transition: var(--transition);
102
+ }
103
+
104
+ .wt-expansion-card-arrow--opened {
105
+ transform: rotate(180deg);
106
+ }
107
+
108
+ .wt-expansion-card-body {
109
+ background-color: var(--wt-expansion-card-content-background-color);
110
+ color: var(--wt-expansion-card-content-text-color);
111
+ }
112
+
113
+ </style>
114
+