@webitel/ui-sdk 26.6.58 → 26.6.60

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 (53) hide show
  1. package/dist/{clients-CX7SniM1.js → clients-DPvJvOx5.js} +2 -2
  2. package/dist/{components-reoSYpZx.js → components-DOO_6hoi.js} +1133 -2403
  3. package/dist/{enums-CBWwTuq7.js → enums-BwgSueOO.js} +32 -28
  4. package/dist/{generateInstance-DpLUt03M.js → generateInstance-C9d7J_TX.js} +1134 -866
  5. package/dist/ui-sdk.css +1 -1
  6. package/dist/ui-sdk.js +4 -4
  7. package/dist/ui-sdk.umd.cjs +540 -541
  8. package/dist/{useValidation-B0voza7s.js → useValidation-Hdk6hzmc.js} +1 -1
  9. package/dist/{wt-action-bar-B17FBHD7.js → wt-action-bar-Dbt6CgEp.js} +2 -2
  10. package/dist/{wt-button-0kP5bPMs.js → wt-button-BgDPcxu9.js} +2 -2
  11. package/dist/{wt-chat-emoji-C_fb9LZF.js → wt-chat-emoji-BnQcxXLU.js} +4 -4
  12. package/dist/{wt-datepicker-baNcFWZ1.js → wt-datepicker-BjbWDS8B.js} +2 -2
  13. package/dist/{wt-display-chip-items-CgrbKQ5R.js → wt-display-chip-items-qXM0MwuL.js} +1 -1
  14. package/dist/{wt-dual-panel-C5LZm1Tr.js → wt-dual-panel-C54Hwdwc.js} +1 -1
  15. package/dist/{wt-expansion-card-C2qETdn0.js → wt-expansion-card-CVPU9twV.js} +1 -1
  16. package/dist/{wt-expansion-panel-Dvzj9PTk.js → wt-expansion-panel-B1u06Hz8.js} +1 -1
  17. package/dist/{wt-icon-DIdpwmpC.js → wt-icon-BvXjK8Em.js} +1 -1
  18. package/dist/{wt-icon-action-C8WN2oVD.js → wt-icon-action-mNjxBL1c.js} +1 -1
  19. package/dist/{wt-icon-btn-BLnhJADA.js → wt-icon-btn-B6tKLQWp.js} +1 -1
  20. package/dist/{wt-notifications-bar-Dx1YPqFu.js → wt-notifications-bar-DcvWx8Qw.js} +2 -2
  21. package/dist/{wt-player-CCwEyUzv.js → wt-player-4BH0EIfk.js} +3 -3
  22. package/dist/{wt-search-bar-CiQJ9ViN.js → wt-search-bar-CPfD4657.js} +1 -1
  23. package/dist/{wt-send-message-popup-CIH2cusg.js → wt-send-message-popup-MrXwTh6z.js} +2 -2
  24. package/dist/wt-status-select-DCiMHd9K.js +77 -0
  25. package/dist/{wt-timepicker-DyM1OQX4.js → wt-timepicker-4bwYBaKQ.js} +2 -2
  26. package/dist/{wt-toast-KTAx-8zA.js → wt-toast-CdwZ-muC.js} +2 -2
  27. package/dist/{wt-tree-table-BlZEw4tr.js → wt-tree-table-CTCLe3FC.js} +1 -1
  28. package/dist/{wt-type-extension-value-input-Dw24yOLg.js → wt-type-extension-value-input-EKmzk5WF.js} +3 -3
  29. package/dist/{wt-vidstack-player-CLtfGaGj.js → wt-vidstack-player-DK-S0uAl.js} +4 -4
  30. package/package.json +2 -2
  31. package/src/components/index.js +0 -3
  32. package/src/components/wt-indicator/_variables.css +7 -2
  33. package/src/components/wt-single-select/wt-single-select.vue +7 -0
  34. package/src/components/wt-status-select/__tests__/WtStatusSelect.spec.js +3 -3
  35. package/src/components/wt-status-select/_internals/StatusOptions.lookup.js +1 -1
  36. package/src/components/wt-status-select/wt-status-select.vue +80 -139
  37. package/src/css/components-variables.css +0 -1
  38. package/types/components/wt-single-select/wt-single-select.vue.d.ts +1 -0
  39. package/types/components/wt-status-select/wt-status-select.vue.d.ts +21 -1
  40. package/dist/AgentStatus.enum-C3IGHtvR.js +0 -9
  41. package/dist/wt-status-select-A5t6Vjm4.js +0 -101
  42. package/src/components/wt-select/__tests__/WtSelect.spec.js +0 -30
  43. package/src/components/wt-select/_variables.css +0 -12
  44. package/src/components/wt-select/mixins/__tests__/multiselectMixin.spec.js +0 -50
  45. package/src/components/wt-select/mixins/multiselectMixin.js +0 -279
  46. package/src/components/wt-select/multiselect.css +0 -239
  47. package/src/components/wt-select/wt-select.vue +0 -386
  48. package/src/components/wt-tags-input/mixin/taggableMixin.js +0 -43
  49. package/types/components/wt-select/__tests__/WtSelect.spec.d.ts +0 -1
  50. package/types/components/wt-select/mixins/__tests__/multiselectMixin.spec.d.ts +0 -1
  51. package/types/components/wt-select/mixins/multiselectMixin.d.ts +0 -129
  52. package/types/components/wt-select/wt-select.vue.d.ts +0 -229
  53. package/types/components/wt-tags-input/mixin/taggableMixin.d.ts +0 -7
@@ -1,4 +1,4 @@
1
- import { i as e } from "./enums-CBWwTuq7.js";
1
+ import { i as e } from "./enums-BwgSueOO.js";
2
2
  import { t } from "./vue-i18n-lTFLGg_9.js";
3
3
  import { computed as n, isReactive as r } from "vue";
4
4
  //#region src/mixins/validationMixin/regle/useRegleValidation.ts
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./caseConverters-DXegZoCt.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { o as n } from "./enums-CBWwTuq7.js";
3
+ import { o as n } from "./enums-BwgSueOO.js";
4
4
  import { t as r } from "./sortQueryAdapters-CyYXvnDN.js";
5
- import { t as i } from "./wt-icon-action-C8WN2oVD.js";
5
+ import { t as i } from "./wt-icon-action-mNjxBL1c.js";
6
6
  import { Fragment as a, computed as o, createElementBlock as s, createVNode as c, guardReactiveProps as l, mergeProps as u, normalizeProps as d, openBlock as f, renderList as p, renderSlot as m, unref as h } from "vue";
7
7
  //#region src/components/wt-action-bar/WtActionBarActionsOrder.js
8
8
  var g = [
@@ -1,5 +1,5 @@
1
- import { t as e } from "./wt-icon-DIdpwmpC.js";
2
- import { d as t, f as n, l as r } from "./enums-CBWwTuq7.js";
1
+ import { t as e } from "./wt-icon-BvXjK8Em.js";
2
+ import { d as t, f as n, l as r } from "./enums-BwgSueOO.js";
3
3
  import { computed as i, createBlock as a, createCommentVNode as o, createElementVNode as s, createTextVNode as c, defineComponent as l, inject as u, mergeProps as d, normalizeClass as f, openBlock as p, ref as m, renderSlot as h, resolveComponent as g, toDisplayString as _, toRef as v, unref as y, useAttrs as b, watch as x, withCtx as S, withModifiers as C } from "vue";
4
4
  //#endregion
5
5
  //#region src/components/wt-badge-new/wt-badge.vue
@@ -1,8 +1,8 @@
1
- import "./components-reoSYpZx.js";
1
+ import "./components-DOO_6hoi.js";
2
2
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { l as t } from "./enums-CBWwTuq7.js";
4
- import { t as n } from "./wt-button-0kP5bPMs.js";
5
- import { n as r } from "./wt-toast-KTAx-8zA.js";
3
+ import { l as t } from "./enums-BwgSueOO.js";
4
+ import { t as n } from "./wt-button-BgDPcxu9.js";
5
+ import { n as r } from "./wt-toast-CdwZ-muC.js";
6
6
  import { Teleport as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createVNode as l, nextTick as u, onBeforeUnmount as d, openBlock as f, ref as p, resolveDirective as m, unref as h, withDirectives as g } from "vue";
7
7
  //#region node_modules/emoji-picker-element/database.js
8
8
  function _(e) {
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { l as t, r as n } from "./enums-CBWwTuq7.js";
2
+ import { l as t, r as n } from "./enums-BwgSueOO.js";
3
3
  import { A as r, C as i, D as a, E as o, F as s, I as c, L as l, M as u, N as d, O as f, P as p, R as m, S as h, T as g, _, b as v, j as y, k as ee, m as b, v as x, w as S, x as C, y as w, z as T } from "./dist-uCh8HaP3.js";
4
- import { t as te } from "./useValidation-B0voza7s.js";
4
+ import { t as te } from "./useValidation-Hdk6hzmc.js";
5
5
  import { Fragment as E, Teleport as ne, Transition as re, computed as D, createBlock as O, createCommentVNode as k, createElementBlock as A, createElementVNode as j, createSlots as M, createTextVNode as N, createVNode as P, defineComponent as F, getCurrentScope as ie, guardReactiveProps as ae, isRef as oe, mergeProps as se, nextTick as ce, normalizeClass as I, normalizeProps as le, normalizeStyle as ue, onBeforeUpdate as de, onMounted as fe, onScopeDispose as pe, onUnmounted as me, openBlock as L, reactive as he, ref as R, renderList as z, renderSlot as B, resolveComponent as ge, resolveDynamicComponent as _e, toDisplayString as ve, toRef as ye, toRefs as be, unref as V, useSlots as xe, vShow as Se, watch as Ce, withCtx as H, withDirectives as we, withKeys as U, withModifiers as Te } from "vue";
6
6
  //#region node_modules/date-fns/addDays.js
7
7
  function Ee(e, t, n) {
@@ -1,4 +1,4 @@
1
- import { c as e, i as t } from "./components-reoSYpZx.js";
1
+ import { c as e, i as t } from "./components-DOO_6hoi.js";
2
2
  import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { t as r } from "./displayText-CtaxzaBz.js";
4
4
  import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createTextVNode as c, createVNode as l, defineComponent as u, openBlock as d, renderList as f, renderSlot as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { l as t, o as n } from "./enums-CBWwTuq7.js";
2
+ import { l as t, o as n } from "./enums-BwgSueOO.js";
3
3
  import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, normalizeClass as c, openBlock as l, ref as u, renderSlot as d, resolveComponent as f, unref as p } from "vue";
4
4
  //#region src/components/wt-dual-panel/wt-dual-panel.vue
5
5
  var m = { class: "wt-dual-panel" }, h = {
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { l as t } from "./enums-CBWwTuq7.js";
2
+ import { l as t } from "./enums-BwgSueOO.js";
3
3
  import { t as n } from "./useExpansion-DVdIpoOn.js";
4
4
  import "./composables-Ckg9IFyC.js";
5
5
  import { t as r } from "./wt-expand-transition-C2p9bR4j.js";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { l as t } from "./enums-CBWwTuq7.js";
2
+ import { l as t } from "./enums-BwgSueOO.js";
3
3
  import { t as n } from "./useExpansion-DVdIpoOn.js";
4
4
  import { t as r } from "./wt-expand-transition-C2p9bR4j.js";
5
5
  import { createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, guardReactiveProps as c, normalizeClass as l, normalizeProps as u, openBlock as d, renderSlot as f, resolveComponent as p, toRef as m, unref as h, vShow as g, withCtx as _, withDirectives as v, withKeys as y } from "vue";
@@ -1,5 +1,5 @@
1
1
  import { n as e } from "./caseConverters-DXegZoCt.js";
2
- import { a as t, l as n } from "./enums-CBWwTuq7.js";
2
+ import { a as t, l as n } from "./enums-BwgSueOO.js";
3
3
  import { computed as r, createElementBlock as i, defineComponent as a, normalizeClass as o, openBlock as s } from "vue";
4
4
  //#region node_modules/dompurify/dist/purify.es.mjs
5
5
  function c(e, t) {
@@ -1,4 +1,4 @@
1
- import { o as e } from "./enums-CBWwTuq7.js";
1
+ import { o as e } from "./enums-BwgSueOO.js";
2
2
  import { t } from "./vue-i18n-lTFLGg_9.js";
3
3
  import { t as n } from "./sortQueryAdapters-CyYXvnDN.js";
4
4
  import { computed as r, createBlock as i, openBlock as a, resolveComponent as o, resolveDirective as s, unref as c, withDirectives as l } from "vue";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./wt-icon-DIdpwmpC.js";
1
+ import { t as e } from "./wt-icon-BvXjK8Em.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, guardReactiveProps as l, mergeModels as u, mergeProps as d, normalizeClass as f, normalizeProps as p, openBlock as m, renderSlot as h, resolveComponent as g, toDisplayString as _, useModel as v, useSlots as y, withCtx as b } from "vue";
4
4
  //#region src/components/wt-checkbox/wt-checkbox.vue?vue&type=script&setup=true&lang.ts
@@ -1,5 +1,5 @@
1
- import { i as e } from "./enums-CBWwTuq7.js";
2
- import { n as t, t as n } from "./wt-toast-KTAx-8zA.js";
1
+ import { i as e } from "./enums-BwgSueOO.js";
2
+ import { n as t, t as n } from "./wt-toast-CdwZ-muC.js";
3
3
  import { createBlock as r, inject as i, onUnmounted as a, openBlock as o } from "vue";
4
4
  import { useToast as s } from "primevue/usetoast";
5
5
  //#region src/components/wt-toast/types/index.ts
@@ -1,7 +1,7 @@
1
- import { t as e } from "./wt-icon-DIdpwmpC.js";
1
+ import { t as e } from "./wt-icon-BvXjK8Em.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { l as n } from "./enums-CBWwTuq7.js";
4
- import { t as r } from "./wt-button-0kP5bPMs.js";
3
+ import { l as n } from "./enums-BwgSueOO.js";
4
+ import { t as r } from "./wt-button-BgDPcxu9.js";
5
5
  import { n as i, t as a } from "./useVidstackSrc-epUQZhkL.js";
6
6
  import { t as o } from "./wt-popover-BdwrokVy.js";
7
7
  import { t as s } from "./wt-slider-BPzRTeYU.js";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
2
  import { t } from "./debounce-Bp3jy7S5.js";
3
- import { t as n } from "./useValidation-B0voza7s.js";
3
+ import { t as n } from "./useValidation-Hdk6hzmc.js";
4
4
  import { computed as r, createBlock as i, createCommentVNode as a, createElementVNode as o, createSlots as s, createTextVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, openBlock as f, renderSlot as p, resolveComponent as m, resolveDirective as h, toDisplayString as g, toRefs as _, unref as v, withCtx as y, withDirectives as b } from "vue";
5
5
  //#region src/components/wt-search-bar/wt-search-bar.vue?vue&type=script&setup=true&lang.ts
6
6
  var x = { class: "wt-search-bar__icon-controls" }, S = /*#__PURE__*/ e(/* @__PURE__ */ u({
@@ -1,6 +1,6 @@
1
- import { n as e } from "./components-reoSYpZx.js";
1
+ import { n as e } from "./components-DOO_6hoi.js";
2
2
  import { t } from "./vue-i18n-lTFLGg_9.js";
3
- import { n, r } from "./clients-CX7SniM1.js";
3
+ import { n, r } from "./clients-DPvJvOx5.js";
4
4
  import { createBlock as i, createTextVNode as a, createVNode as o, defineComponent as s, inject as c, mergeProps as l, onMounted as u, openBlock as d, ref as f, resolveComponent as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
5
5
  //#endregion
6
6
  //#region src/components/on-demand/wt-send-message-popup/wt-send-message-popup.vue
@@ -0,0 +1,77 @@
1
+ import { l as e, p as t } from "./enums-BwgSueOO.js";
2
+ import { t as n } from "./vue-i18n-lTFLGg_9.js";
3
+ import { t as r } from "./convertDuration-1K7fuEpO.js";
4
+ import { computed as i, createBlock as a, createVNode as o, defineComponent as s, openBlock as c, resolveComponent as l, unref as u, withCtx as d } from "vue";
5
+ //#region src/components/wt-status-select/_internals/StatusOptions.lookup.js
6
+ var f = [
7
+ {
8
+ locale: "webitelUI.statusSelect.online",
9
+ color: "success",
10
+ value: t.ONLINE
11
+ },
12
+ {
13
+ locale: "webitelUI.statusSelect.pause",
14
+ color: "primary",
15
+ value: t.PAUSE
16
+ },
17
+ {
18
+ locale: "webitelUI.statusSelect.offline",
19
+ color: "secondary",
20
+ value: t.OFFLINE
21
+ },
22
+ {
23
+ locale: "webitelUI.statusSelect.breakOut",
24
+ color: "break-out",
25
+ value: t.BREAK_OUT
26
+ }
27
+ ], p = /* @__PURE__ */ s({
28
+ __name: "wt-status-select",
29
+ props: {
30
+ status: { default: t.OFFLINE },
31
+ statusDuration: { default: 0 },
32
+ options: {}
33
+ },
34
+ emits: ["change", "closed"],
35
+ setup(s, { emit: p }) {
36
+ let m = s, h = p, { t: g } = n(), _ = i(() => m.options ? m.options : f.map((e) => ({
37
+ ...e,
38
+ text: g(e.locale)
39
+ }))), v = i(() => _.value.find((e) => e.value === m.status)), y = i(() => _.value.reduce((e, n) => (m.status === n.value && n.value !== t.PAUSE || n.value === t.BREAK_OUT || e.push(n), e), [])), b = i(() => typeof m.statusDuration == "string" ? m.statusDuration : m.statusDuration === void 0 ? v.value?.text ?? "" : r(m.statusDuration));
40
+ function x(e) {
41
+ h("change", e.value);
42
+ }
43
+ function S(e) {
44
+ h("closed", e);
45
+ }
46
+ return (t, n) => {
47
+ let r = l("wt-indicator"), i = l("wt-single-select");
48
+ return c(), a(i, {
49
+ "show-clear": !1,
50
+ options: y.value,
51
+ filterable: !1,
52
+ "model-value": v.value,
53
+ class: "wt-status-select",
54
+ "data-key": "value",
55
+ size: u(e).SM,
56
+ onClosed: S,
57
+ "onUpdate:modelValue": x
58
+ }, {
59
+ value: d(({ value: e }) => [o(r, {
60
+ color: e.color,
61
+ text: b.value
62
+ }, null, 8, ["color", "text"])]),
63
+ option: d(({ option: e }) => [o(r, {
64
+ color: e.color,
65
+ text: e.text
66
+ }, null, 8, ["color", "text"])]),
67
+ _: 1
68
+ }, 8, [
69
+ "options",
70
+ "model-value",
71
+ "size"
72
+ ]);
73
+ };
74
+ }
75
+ });
76
+ //#endregion
77
+ export { p as default };
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { l as t, r as n } from "./enums-CBWwTuq7.js";
2
+ import { l as t, r as n } from "./enums-BwgSueOO.js";
3
3
  import { t as r } from "./vue-i18n-lTFLGg_9.js";
4
- import { t as i } from "./useValidation-B0voza7s.js";
4
+ import { t as i } from "./useValidation-Hdk6hzmc.js";
5
5
  import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, defineComponent as d, guardReactiveProps as f, mergeProps as p, nextTick as m, normalizeClass as h, normalizeProps as g, openBlock as _, renderSlot as v, resolveComponent as y, toDisplayString as b, toRefs as x, unref as S, withCtx as C } from "vue";
6
6
  //#region src/components/wt-timepicker/wt-timepicker.vue?vue&type=script&setup=true&lang.ts
7
7
  var w = { class: "wt-timepicker__wrapper" }, T = 3600, E = 60, D = /*#__PURE__*/ e(/* @__PURE__ */ d({
@@ -1,5 +1,5 @@
1
- import { t as e } from "./wt-icon-DIdpwmpC.js";
2
- import { i as t, l as n } from "./enums-CBWwTuq7.js";
1
+ import { t as e } from "./wt-icon-BvXjK8Em.js";
2
+ import { i as t, l as n } from "./enums-BwgSueOO.js";
3
3
  import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, guardReactiveProps as u, normalizeProps as d, openBlock as f, resolveComponent as p, toDisplayString as m, unref as h, useAttrs as g, withCtx as _ } from "vue";
4
4
  //#region node_modules/mitt/dist/mitt.mjs
5
5
  function v(e) {
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
2
  import { n as t } from "./sortQueryAdapters-CyYXvnDN.js";
3
- import { n, t as r } from "./wt-icon-btn-BLnhJADA.js";
3
+ import { n, t as r } from "./wt-icon-btn-B6tKLQWp.js";
4
4
  import { t as i } from "./useWtTable-DrrvvB6k.js";
5
5
  import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createSlots as d, createTextVNode as f, createVNode as p, defineComponent as m, normalizeClass as h, normalizeStyle as g, onMounted as _, openBlock as v, ref as y, renderList as b, renderSlot as x, resolveComponent as S, toDisplayString as C, toRef as w, unref as T, withCtx as E, withModifiers as D } from "vue";
6
6
  //#region src/components/wt-tree-table-row/wt-tree-table-row.vue?vue&type=script&setup=true&lang.ts
@@ -1,7 +1,7 @@
1
- import { a as e, o as t, r as n, s as r } from "./components-reoSYpZx.js";
2
- import { t as i } from "./enums-CBWwTuq7.js";
1
+ import { a as e, o as t, r as n, s as r } from "./components-DOO_6hoi.js";
2
+ import { t as i } from "./enums-BwgSueOO.js";
3
3
  import { t as a } from "./vue-i18n-lTFLGg_9.js";
4
- import { t as o } from "./clients-CX7SniM1.js";
4
+ import { t as o } from "./clients-DPvJvOx5.js";
5
5
  import { computed as s, createBlock as c, createCommentVNode as l, createVNode as u, defineComponent as d, mergeModels as f, mergeProps as p, openBlock as m, renderSlot as h, resolveComponent as g, unref as _, useModel as v } from "vue";
6
6
  //#endregion
7
7
  //#region src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue
@@ -1,8 +1,8 @@
1
- import { l as e } from "./components-reoSYpZx.js";
1
+ import { l as e } from "./components-DOO_6hoi.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { l as n } from "./enums-CBWwTuq7.js";
4
- import "./wt-button-0kP5bPMs.js";
5
- import { t as r } from "./wt-icon-btn-BLnhJADA.js";
3
+ import { l as n } from "./enums-BwgSueOO.js";
4
+ import "./wt-button-BgDPcxu9.js";
5
+ import { t as r } from "./wt-icon-btn-B6tKLQWp.js";
6
6
  import { $ as i, C as a, D as o, F as s, G as c, H as l, I as u, J as d, K as f, L as p, M as m, N as h, O as ee, P as te, Q as g, R as ne, S as _, U as re, V as v, W as y, X as b, Y as ie, Z as x, _ as S, a as ae, b as oe, c as se, d as ce, et as le, f as ue, g as de, h as fe, i as C, it as pe, j as me, k as he, l as w, m as ge, n as T, nt as E, o as D, ot as _e, p as O, q as k, r as A, rt as ve, t as ye, tt as be, u as xe, v as j, w as Se, y as Ce, z as we } from "./vidstack-D9mvYVIz-DesuYgKV.js";
7
7
  import { _ as M, a as Te, c as Ee, d as De, f as Oe, g as ke, h as Ae, i as je, l as Me, m as Ne, n as Pe, o as Fe, p as Ie, r as Le, s as Re, t as N, u as ze } from "./vidstack-CgfrU1hS-CNTJkyzm.js";
8
8
  import { _ as Be, a as Ve, c as He, f as Ue, g as We, h as Ge, i as Ke, l as qe, n as Je, r as Ye, s as Xe, t as Ze, u as Qe, v as $e, x as et, y as tt } from "./useVidstackSrc-epUQZhkL.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.6.58",
3
+ "version": "26.6.60",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -81,7 +81,7 @@
81
81
  "@vuelidate/validators": "^2.0.4",
82
82
  "@webitel/api-services": ">=0.0.105",
83
83
  "@webitel/styleguide": "~26.2",
84
- "axios": "^1.15.2",
84
+ "axios": "^1.18.1",
85
85
  "date-fns": "^4.1.0",
86
86
  "deep-copy": "^1.4.2",
87
87
  "deep-equal": "^2.2.3",
@@ -40,7 +40,6 @@ import WtPopup from './wt-popup/wt-popup.vue';
40
40
  import WtProgressBar from './wt-progress-bar/wt-progress-bar.vue';
41
41
  import WtRadio from './wt-radio/wt-radio.vue';
42
42
  import WtRoundedAction from './wt-rounded-action/wt-rounded-action.vue';
43
- import WtSelect from './wt-select/wt-select.vue';
44
43
  import WtSingleSelect from './wt-single-select/wt-single-select.vue';
45
44
  import WtSwitcher from './wt-switcher/wt-switcher.vue';
46
45
  import WtTextarea from './wt-textarea/wt-textarea.vue';
@@ -204,7 +203,6 @@ const Components = {
204
203
  WtProgressBar,
205
204
  WtRadio,
206
205
  WtSearchBar,
207
- WtSelect,
208
206
  WtSlider,
209
207
  WtSwitcher,
210
208
  WtTabs,
@@ -325,7 +323,6 @@ export {
325
323
  WtRoundedAction,
326
324
  WtScreenRecordingsAction,
327
325
  WtSearchBar,
328
- WtSelect,
329
326
  WtSelectionPopup,
330
327
  WtSendMessagePopup,
331
328
  WtSingleSelect,
@@ -8,8 +8,8 @@
8
8
 
9
9
  --wt-indicator-text-color: var(--text-main-color);
10
10
  --wt-indicator-primary-color: var(--primary-color);
11
- --wt-indicator-secondary-color: var(--dp-1-surface-color);
12
- --wt-indicator-disabled-color: var(--dp-10-surface-color);
11
+ --wt-indicator-secondary-color: var(--grey-lighten-3);
12
+ --wt-indicator-disabled-color: var(--grey-lighten-4);
13
13
  --wt-indicator-success-color: var(--success-color);
14
14
  --wt-indicator-error-color: var(--error-color);
15
15
  --wt-indicator-transfer-color: var(--transfer-color);
@@ -19,3 +19,8 @@
19
19
  --wt-indicator-initial-status-color: var(--red-accent-2);
20
20
  --wt-indicator-other-status-color: var(--orange-accent-2);
21
21
  }
22
+
23
+ :root.theme--dark {
24
+ --wt-indicator-secondary-color: var(--grey-darken-1);
25
+ --wt-indicator-disabled-color: var(--grey-darken-2);
26
+ }
@@ -27,6 +27,7 @@
27
27
  :option-label="(option) => getOptionLabel(option)"
28
28
  :option-value="optionValue"
29
29
  :data-key="dataKey"
30
+ :size="primevueSizeMap[size]"
30
31
  v-bind="$attrs"
31
32
  :pt="{
32
33
  listContainer: {
@@ -115,6 +116,7 @@ interface Props extends SelectProps {
115
116
  placeholder?: string;
116
117
  required?: boolean;
117
118
  disabled?: boolean;
119
+ size?: string | null;
118
120
  /**
119
121
  * true disables all options but keeps dropdown visible
120
122
  */
@@ -158,6 +160,11 @@ const props = withDefaults(defineProps<Props>(), {
158
160
  customValidators: () => [],
159
161
  });
160
162
 
163
+ const primevueSizeMap = {
164
+ [ComponentSize.SM]: 'small',
165
+ [ComponentSize.LG]: 'large',
166
+ };
167
+
161
168
  const model = defineModel<string>({
162
169
  default: '',
163
170
  get: (value) => {
@@ -1,13 +1,13 @@
1
1
  import { shallowMount } from '@vue/test-utils';
2
2
 
3
- import WtSelect from '../../wt-select/wt-select.vue';
3
+ import WtSingleSelect from '../../wt-single-select/wt-single-select.vue';
4
4
  import WtStatusSelect from '../wt-status-select.vue';
5
5
 
6
6
  describe('WtStatusSelect', () => {
7
7
  it('renders a component', () => {
8
8
  const wrapper = shallowMount(WtStatusSelect, {
9
9
  stubs: {
10
- WtSelect,
10
+ WtSingleSelect,
11
11
  },
12
12
  });
13
13
  expect(wrapper.classes('wt-status-select')).toBe(true);
@@ -16,7 +16,7 @@ describe('WtStatusSelect', () => {
16
16
  it('correctly represents duration', () => {
17
17
  const wrapper = shallowMount(WtStatusSelect, {
18
18
  stubs: {
19
- WtSelect,
19
+ WtSingleSelect,
20
20
  },
21
21
  });
22
22
  expect(wrapper.vm.duration).toBe('00:00:00');
@@ -13,7 +13,7 @@ export default [
13
13
  },
14
14
  {
15
15
  locale: 'webitelUI.statusSelect.offline',
16
- color: 'disabled',
16
+ color: 'secondary',
17
17
  value: AgentStatus.OFFLINE,
18
18
  },
19
19
  {