@webitel/ui-sdk 26.4.33 → 26.4.34

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 (62) hide show
  1. package/dist/{index-CvGa5rmw.js → index-7wsN-YZu.js} +1 -1
  2. package/dist/{index-BDgdQJdj.js → index-xIzFQNd0.js} +1 -1
  3. package/dist/{install-MwLwnvU6.js → install-D_goYtnz.js} +1653 -1650
  4. package/dist/{isObject-D3jo0fTl.js → isObject-Gt5Jm-Ug.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 +457 -457
  8. package/dist/{useVidstackSrc-DYb1DPie.js → useVidstackSrc-CTzsUo62.js} +1 -1
  9. package/dist/{vidstack-Bq6c3Bam-DNZccXBt.js → vidstack-Bq6c3Bam-BhMf-ZTn.js} +3 -3
  10. package/dist/{vidstack-D2pY00kU-iOQTy6WI.js → vidstack-D2pY00kU-gmAgDRVT.js} +3 -3
  11. package/dist/{vidstack-DDXt6fpN-f0upxo66.js → vidstack-DDXt6fpN-CmHiuC9m.js} +2 -2
  12. package/dist/{vidstack-D_-9AA6_-LUV4ot8A.js → vidstack-D_-9AA6_-BGfLCdlb.js} +2 -2
  13. package/dist/{vidstack-DqAw8m9J-D4l_CBtS.js → vidstack-DqAw8m9J-DO1SEzrd.js} +1 -1
  14. package/dist/{vidstack-audio-BCDiWP6e.js → vidstack-audio-Bk1wmJYd.js} +2 -2
  15. package/dist/{vidstack-dash-BzKYQPP9.js → vidstack-dash-fN-vPQlr.js} +4 -4
  16. package/dist/{vidstack-google-cast-_VGW2e2l.js → vidstack-google-cast-DzXyoIrl.js} +4 -4
  17. package/dist/{vidstack-hls-B3DkEUtV.js → vidstack-hls-BvsDlNoZ.js} +4 -4
  18. package/dist/{vidstack-video-B0YccQdG.js → vidstack-video-DVWLXMbZ.js} +3 -3
  19. package/dist/{vidstack-vimeo-CoYecsti.js → vidstack-vimeo-C43vDg2R.js} +4 -4
  20. package/dist/{vidstack-youtube-B4IL7ImC.js → vidstack-youtube-BqjBo21Z.js} +3 -3
  21. package/dist/{wt-action-bar-CgaGWhD-.js → wt-action-bar-C3ZOub4E.js} +1 -1
  22. package/dist/{wt-button-select-aC4JO7XO.js → wt-button-select-cHYjfQdz.js} +1 -1
  23. package/dist/{wt-chat-emoji-DYXEUfIV.js → wt-chat-emoji-CI3V_BeW.js} +2 -2
  24. package/dist/{wt-confirm-dialog-D6q1YHiE.js → wt-confirm-dialog-cSeWX-p6.js} +1 -1
  25. package/dist/{wt-context-menu-BvC0CepY.js → wt-context-menu-DLz_SzEn.js} +1 -1
  26. package/dist/{wt-copy-action-DcvapqvU.js → wt-copy-action-B8UQn0Ex.js} +1 -1
  27. package/dist/{wt-datepicker-CLB-xRka.js → wt-datepicker-BghFL7dG.js} +1 -1
  28. package/dist/{wt-display-chip-items-DoF7UKSg.js → wt-display-chip-items-BuPaJqOp.js} +1 -1
  29. package/dist/{wt-dual-panel-wgelkQ6M.js → wt-dual-panel-DSg_9Lq6.js} +1 -1
  30. package/dist/{wt-dummy-CjuwwVGB.js → wt-dummy-DztLsixT.js} +1 -1
  31. package/dist/{wt-error-page-nil4zmk5.js → wt-error-page-DdMotrHk.js} +1 -1
  32. package/dist/{wt-expansion-card-CYWWuotp.js → wt-expansion-card-DY8qL9Al.js} +1 -1
  33. package/dist/{wt-expansion-panel-CWpVdXzh.js → wt-expansion-panel-CTTDEN7q.js} +1 -1
  34. package/dist/{wt-filters-panel-wrapper-CP9v2NgW.js → wt-filters-panel-wrapper-DdcIsO1N.js} +1 -1
  35. package/dist/{wt-galleria-CISxmwmC.js → wt-galleria-CSbm0shh.js} +1 -1
  36. package/dist/wt-inline-add-panel-C_UyCvRw.js +49 -0
  37. package/dist/{wt-navigation-menu-DnbjYCbR.js → wt-navigation-menu-CfWKguu2.js} +1 -1
  38. package/dist/{wt-notifications-bar-c8gagwVi.js → wt-notifications-bar-Cgu2wc9v.js} +2 -2
  39. package/dist/{wt-pagination-CNwu_pbv.js → wt-pagination-DN335p2t.js} +1 -1
  40. package/dist/{wt-player-BbZvuEdb.js → wt-player-CnJGUlag.js} +2 -2
  41. package/dist/{wt-screen-recordings-action-CwrfjXDp.js → wt-screen-recordings-action-BcEdGu6w.js} +1 -1
  42. package/dist/{wt-search-bar-BXFWI64i.js → wt-search-bar-u8SuElvI.js} +1 -1
  43. package/dist/{wt-selection-popup-DQZzcMk7.js → wt-selection-popup-BB7pO3iT.js} +1 -1
  44. package/dist/{wt-start-page-wmYWrsnu.js → wt-start-page-DdRpXVdV.js} +1 -1
  45. package/dist/{wt-status-select-EDYuOVKB.js → wt-status-select-GO0gtD2B.js} +1 -1
  46. package/dist/{wt-stepper-C4i7jd7S.js → wt-stepper-DbaiOlK9.js} +1 -1
  47. package/dist/{wt-table-DfKqxtz8.js → wt-table-CAVQW_vc.js} +1 -1
  48. package/dist/{wt-table-actions-D1DhH5T0.js → wt-table-actions-DrT2ZxPE.js} +1 -1
  49. package/dist/{wt-table-column-select-C8cac1Bf.js → wt-table-column-select-HH02vVeu.js} +2 -2
  50. package/dist/{wt-tabs-D2cD4T3p.js → wt-tabs-B7kjsIG-.js} +1 -1
  51. package/dist/{wt-tags-input-wdDP3Q_y.js → wt-tags-input-C7PwjLAR.js} +2 -2
  52. package/dist/{wt-timepicker-4a-WappU.js → wt-timepicker-CjBjH-wE.js} +1 -1
  53. package/dist/{wt-tree-M-3tOdhH.js → wt-tree-X0IBoelv.js} +2 -2
  54. package/dist/{wt-tree-table-IKzY97S6.js → wt-tree-table-DQkfKejv.js} +1 -1
  55. package/dist/{wt-type-extension-value-input-C2CqgqO3.js → wt-type-extension-value-input-D6qSoXP6.js} +28 -30
  56. package/dist/{wt-vidstack-player-g30K82ZR.js → wt-vidstack-player-DJVlp2Go.js} +10 -10
  57. package/package.json +1 -1
  58. package/src/components/index.js +6 -0
  59. package/src/components/wt-inline-add-panel/__tests__/WtInlineAddPanel.spec.js +70 -0
  60. package/src/components/wt-inline-add-panel/wt-inline-add-panel.vue +69 -0
  61. package/types/components/wt-inline-add-panel/__tests__/WtInlineAddPanel.spec.d.ts +1 -0
  62. package/types/components/wt-inline-add-panel/wt-inline-add-panel.vue.d.ts +26 -0
@@ -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-MwLwnvU6.js";
2
+ import { _ as ee, B as te } from "./install-D_goYtnz.js";
3
3
  const le = () => {
4
4
  const e = k(!1), c = () => {
5
5
  e.value ? l() : v();
@@ -0,0 +1,49 @@
1
+ import { defineComponent as c, resolveComponent as r, createElementBlock as m, openBlock as p, withModifiers as u, normalizeClass as _, renderSlot as f, createElementVNode as b, createVNode as i } from "vue";
2
+ import { _ as w } from "./install-D_goYtnz.js";
3
+ const k = { class: "wt-inline-add-panel__actions" }, v = /* @__PURE__ */ c({
4
+ __name: "wt-inline-add-panel",
5
+ props: {
6
+ disabledAddAction: { type: Boolean, default: !1 },
7
+ direction: { default: "row" }
8
+ },
9
+ emits: [
10
+ "submit",
11
+ "reset"
12
+ ],
13
+ setup(d, { emit: s }) {
14
+ const e = d, t = s;
15
+ function n() {
16
+ t("submit");
17
+ }
18
+ function l() {
19
+ t("reset");
20
+ }
21
+ return (a, A) => {
22
+ const o = r("wt-button");
23
+ return p(), m("form", {
24
+ class: _(["wt-inline-add-panel", [`wt-inline-add-panel--${e.direction}`]]),
25
+ onSubmit: u(n, ["prevent"])
26
+ }, [
27
+ f(a.$slots, "default", {}, void 0, !0),
28
+ b("div", k, [
29
+ i(o, {
30
+ disabled: e.disabledAddAction,
31
+ icon: "tick",
32
+ color: "secondary",
33
+ outlined: "",
34
+ onClick: n
35
+ }, null, 8, ["disabled"]),
36
+ i(o, {
37
+ icon: "close",
38
+ outlined: "",
39
+ color: "secondary",
40
+ onClick: l
41
+ })
42
+ ])
43
+ ], 34);
44
+ };
45
+ }
46
+ }), y = /* @__PURE__ */ w(v, [["__scopeId", "data-v-478b9069"]]);
47
+ export {
48
+ y as default
49
+ };
@@ -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-MwLwnvU6.js";
2
+ import { _ as g } from "./install-D_goYtnz.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-D3jo0fTl.js";
1
+ import { i as p, e as _ } from "./isObject-Gt5Jm-Ug.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-MwLwnvU6.js";
3
+ import { _ as k } from "./install-D_goYtnz.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,4 +1,4 @@
1
- import { _ as u, D as h } from "./install-MwLwnvU6.js";
1
+ import { _ as u, D as h } from "./install-D_goYtnz.js";
2
2
  import { resolveComponent as r, resolveDirective as g, createElementBlock as m, openBlock as z, createElementVNode as o, createVNode as a, toDisplayString as b, withDirectives as d } from "vue";
3
3
  const t = 10, f = {
4
4
  name: "WtPagination",
@@ -1,6 +1,6 @@
1
1
  import { resolveComponent as w, createElementBlock as l, openBlock as t, createVNode as o, defineComponent as p, toRefs as k, unref as z, normalizeClass as C, createElementVNode as _, createBlock as y, createCommentVNode as u } from "vue";
2
- import { u as E, T as x } from "./useVidstackSrc-DYb1DPie.js";
3
- import { _ as i, E as f } from "./install-MwLwnvU6.js";
2
+ import { u as E, T as x } from "./useVidstackSrc-CTzsUo62.js";
3
+ import { _ as i, E as f } from "./install-D_goYtnz.js";
4
4
  import { _ as b } from "./wt-slider.vue_vue_type_script_setup_true_lang-DlaRDHxo.js";
5
5
  const S = {}, V = { class: "mute-button" };
6
6
  function M(n, d) {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as h, computed as x, resolveComponent as i, createElementBlock as y, openBlock as r, createVNode as a, createElementVNode as p, withCtx as l, createTextVNode as C, toDisplayString as _, createBlock as k, createCommentVNode as S, unref as T } from "vue";
2
2
  import { E } from "./displayText-Cbh4IOfM.js";
3
- import { _ as B } from "./install-MwLwnvU6.js";
3
+ import { _ as B } from "./install-D_goYtnz.js";
4
4
  const m = {
5
5
  FileTypeScreensharing: "file_type_screensharing"
6
6
  }, F = { class: "wt-screen-recordings-action" }, N = { class: "wt-screen-recordings-action__option" }, V = /* @__PURE__ */ h({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as O, toRefs as $, computed as _, resolveComponent as o, resolveDirective as A, createBlock as s, openBlock as d, unref as a, normalizeClass as E, createSlots as U, withCtx as n, createVNode as p, createElementVNode as j, createCommentVNode as m, renderSlot as z, createTextVNode as K, toDisplayString as W, withDirectives as H } from "vue";
2
- import { z as P, D as R, _ as T } from "./install-MwLwnvU6.js";
2
+ import { z as P, D as R, _ as T } from "./install-D_goYtnz.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-MwLwnvU6.js";
2
+ import { _ as O, B as P } from "./install-D_goYtnz.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 v, createTextVNode as g, toDisplayString as l, createVNode as N, withCtx as f, defineComponent as k, provide as w, computed as m, Fragment as E, renderList as S } from "vue";
2
- import { N as n, _ as p } from "./install-MwLwnvU6.js";
2
+ import { N as n, _ as p } from "./install-D_goYtnz.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-MwLwnvU6.js";
2
+ import { _ as h } from "./install-D_goYtnz.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-MwLwnvU6.js";
2
+ import { _ as k } from "./install-D_goYtnz.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 U, withCtx as i, createCommentVNode as b, createElementBlock as W, createVNode as V, withModifiers as ne, Fragment as se, renderList as de, createElementVNode as $, normalizeStyle as ie, renderSlot as h, createTextVNode as q, toDisplayString as K, withDirectives as ce, nextTick as ue } from "vue";
2
- import { B as pe, F as fe, _ as me } from "./install-MwLwnvU6.js";
2
+ import { B as pe, F as fe, _ as me } from "./install-D_goYtnz.js";
3
3
  const ye = (r, E) => {
4
4
  let o = null, p = null, w = null, d = !1;
5
5
  const v = () => {
@@ -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-MwLwnvU6.js";
2
+ import { _ as O } from "./install-D_goYtnz.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-CvGa5rmw.js";
1
+ import { d as C } from "./index-7wsN-YZu.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-MwLwnvU6.js";
3
+ import { _ as P } from "./install-D_goYtnz.js";
4
4
  const H = {
5
5
  name: "WtTableColumnSelect",
6
6
  model: {
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as s, openBlock as a, normalizeClass as o, createElementVNode as r, Fragment as c, renderList as d, renderSlot as u, normalizeProps as f, guardReactiveProps as h, toDisplayString as v, normalizeStyle as m } from "vue";
2
- import { _ as p } from "./install-MwLwnvU6.js";
2
+ import { _ as p } from "./install-D_goYtnz.js";
3
3
  const _ = {
4
4
  name: "WtTabs",
5
5
  model: {
@@ -1,5 +1,5 @@
1
- import { d as O } from "./index-BDgdQJdj.js";
2
- import { G as h, _ as E, C as S, M as z, H as A, J as B } from "./install-MwLwnvU6.js";
1
+ import { d as O } from "./index-xIzFQNd0.js";
2
+ import { G as h, _ as E, C as S, M as z, H as A, J as B } from "./install-D_goYtnz.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-MwLwnvU6.js";
2
+ import { B as W, z as X, C as Y, M as Z, _ as ee } from "./install-D_goYtnz.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-BDgdQJdj.js";
3
- import { W as _, _ as R } from "./install-MwLwnvU6.js";
2
+ import { d as P } from "./index-xIzFQNd0.js";
3
+ import { W as _, _ as R } from "./install-D_goYtnz.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 M, 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 O, normalizeStyle as Q, withModifiers as j, createVNode as q } from "vue";
2
- import { B as G, P as R, Q as J, _ as F, F as X } from "./install-MwLwnvU6.js";
2
+ import { B as G, P as R, Q as J, _ as F, F as X } from "./install-D_goYtnz.js";
3
3
  const Y = ({ headers: e }) => {
4
4
  const { t: y } = G();
5
5
  return {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as Re, mergeModels as Ae, useModel as we, computed as k, resolveComponent as $, createBlock as Z, renderSlot as P, createCommentVNode as De, unref as D, openBlock as ee, mergeProps as U, createVNode as F } from "vue";
2
- import { ag as ve, ah as Oe, O as Ee, ai as Ce, aj as Se, B as qe, ak as _e, al as te, am as ke } from "./install-MwLwnvU6.js";
3
- import { d as Ue } from "./index-CvGa5rmw.js";
2
+ import { ag as ve, ah as Oe, O as Ee, ai as Ce, aj as Se, B as qe, ak as _e, al as te, am as ke } from "./install-D_goYtnz.js";
3
+ import { d as Ue } from "./index-7wsN-YZu.js";
4
4
  import { get as xe, set as Be } from "lodash-es";
5
5
  import "@aliasedDeps/api-services/axios";
6
6
  import * as e from "zod";
@@ -44132,20 +44132,18 @@ e.object({
44132
44132
  Contains the generated message ID and list of recipients.`
44133
44133
  );
44134
44134
  e.object({
44135
- document: e.object({
44136
- body: e.string().optional(),
44137
- documents: e.array(
44138
- e.object({
44139
- fileName: e.string().optional(),
44140
- id: e.string().optional(),
44141
- mimeType: e.string().optional(),
44142
- sizeBytes: e.string().optional(),
44143
- url: e.string().optional()
44144
- }).describe(
44145
- "Represents `Document` message with necessary fields\nto process it into frequently used `document`\nentity in messaging systems."
44146
- )
44147
- ).optional()
44148
- }).optional(),
44135
+ body: e.string().optional(),
44136
+ documents: e.array(
44137
+ e.object({
44138
+ fileName: e.string().optional(),
44139
+ id: e.string().optional(),
44140
+ mimeType: e.string().optional(),
44141
+ sizeBytes: e.string().optional(),
44142
+ url: e.string().optional()
44143
+ }).describe(
44144
+ "Represents `Document` message with necessary fields\nto process it into frequently used `document`\nentity in messaging systems."
44145
+ )
44146
+ ).optional(),
44149
44147
  sendId: e.string().optional(),
44150
44148
  to: e.object({
44151
44149
  channelId: e.string().optional(),
@@ -44176,17 +44174,15 @@ It can be a user, chat, or channel.`
44176
44174
  )
44177
44175
  }).describe("Represents a response to send message with document.");
44178
44176
  e.object({
44179
- image: e.object({
44180
- body: e.string().optional(),
44181
- images: e.array(
44182
- e.object({
44183
- id: e.string().optional(),
44184
- link: e.string().optional(),
44185
- mimeType: e.string().optional(),
44186
- name: e.string().optional()
44187
- }).describe("Represents `Image` entity with\nnecessary fields.")
44188
- ).optional()
44189
- }).optional(),
44177
+ body: e.string().optional(),
44178
+ images: e.array(
44179
+ e.object({
44180
+ id: e.string().optional(),
44181
+ link: e.string().optional(),
44182
+ mimeType: e.string().optional(),
44183
+ name: e.string().optional()
44184
+ }).describe("Represents `Image` entity with\nnecessary fields.")
44185
+ ).optional(),
44190
44186
  sendId: e.string().optional(),
44191
44187
  to: e.object({
44192
44188
  channelId: e.string().optional(),
@@ -44682,7 +44678,7 @@ If empty, a default set of fields is returned.
44682
44678
  Used for response optimization.`
44683
44679
  ),
44684
44680
  ids: e.array(e.string()).optional().describe("Filter by specific thread IDs."),
44685
- kinds: e.array(
44681
+ types: e.array(
44686
44682
  e.enum([
44687
44683
  "UNKNOWN",
44688
44684
  "DIRECT",
@@ -44969,8 +44965,10 @@ e.object({
44969
44965
  });
44970
44966
  const ps = "ROLE_UNSPECIFIED";
44971
44967
  e.object({
44972
- contactSub: e.string().optional(),
44973
- contactIss: e.string().optional(),
44968
+ contact: e.object({
44969
+ iss: e.string().optional(),
44970
+ sub: e.string().optional()
44971
+ }).optional(),
44974
44972
  role: e.enum([
44975
44973
  "ROLE_UNSPECIFIED",
44976
44974
  "ROLE_MEMBER",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as lt, inject as ye, createElementBlock as ft, openBlock as G, normalizeClass as be, unref as ot, createElementVNode as at, renderSlot as pt, createVNode as U, useTemplateRef as _i, onMounted as Ii, onBeforeUnmount as Vi, createBlock as Ut, createCommentVNode as Kt, toDisplayString as Di, createSlots as Ds, withCtx as Qt, resolveComponent as Ri, ref as us, provide as Oi, toRefs as Ni } from "vue";
2
- import { a as q, c as gt, i as B, b as Ie, d as S, e as nt, f as Ve, l as O, s as te, g as Rs, E as Os, D as L, h as Q, o as P, j as Hi, k as f, m as l, n as M, p as Ns, q as Fi, r as he, t as W, V as J, v as w, C as b, S as yt, w as Vt, x as p, y as rt, z, I as Hs, A as Bi, B as Gi, F as tt, G as Ge, H as Fs, J as ps, K as Ue, L as Bs, M as kt, N as Ke, O as ce, P as Ui, Q as xt, R as Ki, U as Qi, W as Wi, X as zi, Y as ji, Z as Yi, _ as Xi, $ as Ji, a0 as Zi, a1 as Gs, a2 as T, a3 as _, a4 as ue, a5 as ta, a6 as Dt, a7 as K, a8 as ea, a9 as sa, aa as ia, ab as aa, ac as ms, ad as na, ae as ra, af as v, ag as y, ah as oa, ai as ha, T as la, u as da } from "./useVidstackSrc-DYb1DPie.js";
3
- import { T as ca, U as ua, V as pa, X as ma, _ as dt, Q as jt, Y as fa, C as Y } from "./install-MwLwnvU6.js";
2
+ import { a as q, c as gt, i as B, b as Ie, d as S, e as nt, f as Ve, l as O, s as te, g as Rs, E as Os, D as L, h as Q, o as P, j as Hi, k as f, m as l, n as M, p as Ns, q as Fi, r as he, t as W, V as J, v as w, C as b, S as yt, w as Vt, x as p, y as rt, z, I as Hs, A as Bi, B as Gi, F as tt, G as Ge, H as Fs, J as ps, K as Ue, L as Bs, M as kt, N as Ke, O as ce, P as Ui, Q as xt, R as Ki, U as Qi, W as Wi, X as zi, Y as ji, Z as Yi, _ as Xi, $ as Ji, a0 as Zi, a1 as Gs, a2 as T, a3 as _, a4 as ue, a5 as ta, a6 as Dt, a7 as K, a8 as ea, a9 as sa, aa as ia, ab as aa, ac as ms, ad as na, ae as ra, af as v, ag as y, ah as oa, ai as ha, T as la, u as da } from "./useVidstackSrc-CTzsUo62.js";
3
+ import { T as ca, U as ua, V as pa, X as ma, _ as dt, Q as jt, Y as fa, C as Y } from "./install-D_goYtnz.js";
4
4
  import { _ as ga } from "./wt-slider.vue_vue_type_script_setup_true_lang-DlaRDHxo.js";
5
5
  const Us = gt();
6
6
  function $() {
@@ -2070,7 +2070,7 @@ class un {
2070
2070
  return "audio";
2071
2071
  }
2072
2072
  async load(t) {
2073
- return new (await import("./vidstack-audio-BCDiWP6e.js")).AudioProvider(this.target, t);
2073
+ return new (await import("./vidstack-audio-Bk1wmJYd.js")).AudioProvider(this.target, t);
2074
2074
  }
2075
2075
  }
2076
2076
  class je {
@@ -2083,7 +2083,7 @@ class je {
2083
2083
  return "video";
2084
2084
  }
2085
2085
  async load(t) {
2086
- return new (await import("./vidstack-video-B0YccQdG.js")).VideoProvider(this.target, t);
2086
+ return new (await import("./vidstack-video-DVWLXMbZ.js")).VideoProvider(this.target, t);
2087
2087
  }
2088
2088
  }
2089
2089
  class Ye extends je {
@@ -2093,7 +2093,7 @@ class Ye extends je {
2093
2093
  return Ye.supported && Ge(t);
2094
2094
  }
2095
2095
  async load(t) {
2096
- return new (await import("./vidstack-hls-B3DkEUtV.js")).HLSProvider(this.target, t);
2096
+ return new (await import("./vidstack-hls-BvsDlNoZ.js")).HLSProvider(this.target, t);
2097
2097
  }
2098
2098
  }
2099
2099
  class Xe extends je {
@@ -2103,7 +2103,7 @@ class Xe extends je {
2103
2103
  return Xe.supported && Ue(t);
2104
2104
  }
2105
2105
  async load(t) {
2106
- return new (await import("./vidstack-dash-BzKYQPP9.js")).DASHProvider(this.target, t);
2106
+ return new (await import("./vidstack-dash-fN-vPQlr.js")).DASHProvider(this.target, t);
2107
2107
  }
2108
2108
  }
2109
2109
  class pn {
@@ -2125,7 +2125,7 @@ class pn {
2125
2125
  return "video";
2126
2126
  }
2127
2127
  async load(t) {
2128
- return new (await import("./vidstack-vimeo-CoYecsti.js")).VimeoProvider(this.target, t);
2128
+ return new (await import("./vidstack-vimeo-C43vDg2R.js")).VimeoProvider(this.target, t);
2129
2129
  }
2130
2130
  async loadPoster(t, e, s) {
2131
2131
  const { resolveVimeoVideoId: i, getVimeoVideoInfo: n } = await import("./vidstack-krOAtKMi-C50BTxmn.js");
@@ -2157,7 +2157,7 @@ class mn {
2157
2157
  return "video";
2158
2158
  }
2159
2159
  async load(t) {
2160
- return new (await import("./vidstack-youtube-B4IL7ImC.js")).YouTubeProvider(this.target, t);
2160
+ return new (await import("./vidstack-youtube-BqjBo21Z.js")).YouTubeProvider(this.target, t);
2161
2161
  }
2162
2162
  async loadPoster(t, e, s) {
2163
2163
  const { findYouTubePoster: i, resolveYouTubeVideoId: n } = await import("./vidstack-Dm1xEU9Q-CXHNvShT.js"), r = S(t.src) && n(t.src);
@@ -2625,7 +2625,7 @@ class vn extends Ct {
2625
2625
  throw i.code = "CAST_NOT_AVAILABLE", i;
2626
2626
  }
2627
2627
  if (ee("https://www.gstatic.com"), !this.#v) {
2628
- const i = await import("./vidstack-D2pY00kU-iOQTy6WI.js").then((n) => n.v);
2628
+ const i = await import("./vidstack-D2pY00kU-gmAgDRVT.js").then((n) => n.v);
2629
2629
  this.#v = new i.GoogleCastLoader();
2630
2630
  }
2631
2631
  await this.#v.prompt(this.#s), t && this.#e.queue.enqueue("media-google-cast-request", t);
@@ -8022,7 +8022,7 @@ class Lr extends v(HTMLElement, ai) {
8022
8022
  if (this.#e?.classList.contains("vds-google-cast"))
8023
8023
  return this.#e;
8024
8024
  const t = document.createElement("div");
8025
- return t.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-LUV4ot8A.js").then(({ insertContent: e }) => {
8025
+ return t.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-BGfLCdlb.js").then(({ insertContent: e }) => {
8026
8026
  e(t, this.#t.$state);
8027
8027
  }), t;
8028
8028
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.4.33",
3
+ "version": "26.4.34",
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",
@@ -162,6 +162,10 @@ const WtScreenRecordingsAction = defineAsyncComponent(
162
162
  ),
163
163
  );
164
164
 
165
+ const WtInlineAddPanel = defineAsyncComponent(
166
+ () => import('./wt-inline-add-panel/wt-inline-add-panel.vue'),
167
+ );
168
+
165
169
  const Components = {
166
170
  WtActionBar,
167
171
  WtImage,
@@ -243,6 +247,7 @@ const Components = {
243
247
  WtExpansionCard,
244
248
  WtDatetimeText,
245
249
  WtScreenRecordingsAction,
250
+ WtInlineAddPanel,
246
251
  };
247
252
 
248
253
  export {
@@ -281,6 +286,7 @@ export {
281
286
  WtIconBtn,
282
287
  WtImage,
283
288
  WtIndicator,
289
+ WtInlineAddPanel,
284
290
  WtInputNumber,
285
291
  WtInputText,
286
292
  WtIntersectionObserver,
@@ -0,0 +1,70 @@
1
+ import { shallowMount } from '@vue/test-utils';
2
+
3
+ import WtInlineAddPanel from '../wt-inline-add-panel.vue';
4
+
5
+ describe('WtInlineAddPanel', () => {
6
+ it('renders a component', () => {
7
+ const wrapper = shallowMount(WtInlineAddPanel);
8
+ expect(wrapper.classes('wt-inline-add-panel')).toBe(true);
9
+ });
10
+
11
+ it('renders default direction class "row"', () => {
12
+ const wrapper = shallowMount(WtInlineAddPanel);
13
+ expect(wrapper.classes('wt-inline-add-panel--row')).toBe(true);
14
+ });
15
+
16
+ it('renders "column" direction class when direction prop is "column"', () => {
17
+ const wrapper = shallowMount(WtInlineAddPanel, {
18
+ props: {
19
+ direction: 'column',
20
+ },
21
+ });
22
+ expect(wrapper.classes('wt-inline-add-panel--column')).toBe(true);
23
+ });
24
+
25
+ it('renders content via default slot', () => {
26
+ const content = 'slot content';
27
+ const wrapper = shallowMount(WtInlineAddPanel, {
28
+ slots: {
29
+ default: content,
30
+ },
31
+ });
32
+ expect(wrapper.text()).toContain(content);
33
+ });
34
+
35
+ it('emits "submit" on submit button click', async () => {
36
+ const wrapper = shallowMount(WtInlineAddPanel);
37
+ const buttons = wrapper.findAllComponents({
38
+ name: 'WtButton',
39
+ });
40
+ await buttons[0].trigger('click');
41
+ expect(wrapper.emitted('submit')).toBeTruthy();
42
+ });
43
+
44
+ it('emits "reset" on close button click', async () => {
45
+ const wrapper = shallowMount(WtInlineAddPanel);
46
+ const buttons = wrapper.findAllComponents({
47
+ name: 'WtButton',
48
+ });
49
+ await buttons[1].trigger('click');
50
+ expect(wrapper.emitted('reset')).toBeTruthy();
51
+ });
52
+
53
+ it('disables submit button when disabledAddAction is true', () => {
54
+ const wrapper = shallowMount(WtInlineAddPanel, {
55
+ props: {
56
+ disabledAddAction: true,
57
+ },
58
+ });
59
+ const submitButton = wrapper.findAllComponents({
60
+ name: 'WtButton',
61
+ })[0];
62
+ expect(submitButton.props('disabled')).toBe(true);
63
+ });
64
+
65
+ it('emits "submit" on form submit', async () => {
66
+ const wrapper = shallowMount(WtInlineAddPanel);
67
+ await wrapper.find('form').trigger('submit');
68
+ expect(wrapper.emitted('submit')).toBeTruthy();
69
+ });
70
+ });
@@ -0,0 +1,69 @@
1
+ <template>
2
+ <form
3
+ class="wt-inline-add-panel"
4
+ :class="[`wt-inline-add-panel--${props.direction}`]"
5
+ @submit.prevent="submit"
6
+ >
7
+ <slot />
8
+ <div class="wt-inline-add-panel__actions">
9
+ <wt-button
10
+ :disabled="props.disabledAddAction"
11
+ icon="tick"
12
+ color="secondary"
13
+ outlined
14
+ @click="submit"
15
+ />
16
+ <wt-button
17
+ icon="close"
18
+ outlined
19
+ color="secondary"
20
+ @click="reset"
21
+ />
22
+ </div>
23
+
24
+ </form>
25
+ </template>
26
+
27
+ <script lang="ts" setup>
28
+ interface WtInlineAddPanel {
29
+ disabledAddAction?: boolean;
30
+ direction?: 'row' | 'column';
31
+ }
32
+
33
+ const props = withDefaults(defineProps<WtInlineAddPanel>(), {
34
+ direction: 'row',
35
+ disabledAddAction: false,
36
+ });
37
+
38
+ const emit = defineEmits([
39
+ 'submit',
40
+ 'reset',
41
+ ]);
42
+
43
+ function submit() {
44
+ emit('submit');
45
+ }
46
+
47
+ function reset() {
48
+ emit('reset');
49
+ }
50
+ </script>
51
+
52
+ <style scoped>
53
+ .wt-inline-add-panel {
54
+ display: flex;
55
+ width: 100%;
56
+ gap: var(--spacing-xs);
57
+ }
58
+
59
+ .wt-inline-add-panel__actions {
60
+ display: flex;
61
+ align-items: flex-end;
62
+ justify-content: center;
63
+ gap: var(--spacing-xs);
64
+ }
65
+
66
+ .wt-inline-add-panel--column {
67
+ flex-direction: column;
68
+ }
69
+ </style>
@@ -0,0 +1,26 @@
1
+ interface WtInlineAddPanel {
2
+ disabledAddAction?: boolean;
3
+ direction?: 'row' | 'column';
4
+ }
5
+ declare var __VLS_1: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_1) => any;
8
+ };
9
+ declare const __VLS_base: import("vue").DefineComponent<WtInlineAddPanel, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ submit: (...args: any[]) => void;
11
+ reset: (...args: any[]) => void;
12
+ }, string, import("vue").PublicProps, Readonly<WtInlineAddPanel> & Readonly<{
13
+ onSubmit?: (...args: any[]) => any;
14
+ onReset?: (...args: any[]) => any;
15
+ }>, {
16
+ disabledAddAction: boolean;
17
+ direction: "row" | "column";
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
19
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };