@webitel/ui-sdk 26.8.105 → 26.8.106

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 (42) hide show
  1. package/dist/{clients-BZ1QzRFi.js → clients-Dm3JLACL.js} +2 -2
  2. package/dist/{components-D574RP8y.js → components-CRmvV0ze.js} +14 -14
  3. package/dist/{convertDuration-CGW5IDMW.js → convertDuration-heRoQzks.js} +8 -8
  4. package/dist/{enums-Bd-8yrmg.js → enums-BDtfwdQu.js} +1 -0
  5. package/dist/ui-sdk.css +1 -1
  6. package/dist/ui-sdk.js +19 -3
  7. package/dist/ui-sdk.umd.cjs +611 -610
  8. package/dist/{useValidation-CtEfmUkB.js → useValidation-B4q8qUvG.js} +1 -1
  9. package/dist/{utils-B_8uwL9P.js → utils-DaacyMAw.js} +1 -1
  10. package/dist/{wt-action-bar-B4rcG26w.js → wt-action-bar-ChLl_-jR.js} +2 -2
  11. package/dist/{wt-badge-lFnfK2an.js → wt-badge-C8O4Oarp.js} +1 -1
  12. package/dist/{wt-button-BzYDkfhK.js → wt-button-C-BRwWdy.js} +2 -2
  13. package/dist/{wt-chat-emoji-D1RzspYn.js → wt-chat-emoji-DUYgD7x0.js} +4 -4
  14. package/dist/{wt-datepicker-D_O49-Ab.js → wt-datepicker-C1kACub3.js} +2 -2
  15. package/dist/{wt-display-chip-items-D9E7qoJ8.js → wt-display-chip-items-Dm6I2JFC.js} +2 -2
  16. package/dist/{wt-dual-panel-B0inNxRm.js → wt-dual-panel-D5TCilWN.js} +1 -1
  17. package/dist/{wt-expansion-card-DzZYhwnW.js → wt-expansion-card-2wdr_Hpi.js} +1 -1
  18. package/dist/{wt-expansion-panel-tqCCM3go.js → wt-expansion-panel-DP8zz2tS.js} +1 -1
  19. package/dist/{wt-icon-DFtSR4bO.js → wt-icon-B8nQuJZu.js} +1 -1
  20. package/dist/{wt-icon-action-DUAnoMrj.js → wt-icon-action-g26vM7fD.js} +1 -1
  21. package/dist/{wt-icon-btn-CeGGT2PO.js → wt-icon-btn-BFRfANYh.js} +1 -1
  22. package/dist/{wt-notifications-bar-DWME3pmb.js → wt-notifications-bar-BnCbODMe.js} +2 -2
  23. package/dist/{wt-player-DXCQLKch.js → wt-player-DnoC6Gci.js} +3 -3
  24. package/dist/{wt-screen-recordings-action-Cx7-2gDE.js → wt-screen-recordings-action-biHVl6lR.js} +1 -1
  25. package/dist/{wt-search-bar-BkopW1qp.js → wt-search-bar-ByF2Wjsg.js} +1 -1
  26. package/dist/{wt-send-message-popup-C_6OHIhY.js → wt-send-message-popup-afA26_0Q.js} +3 -3
  27. package/dist/{wt-status-select-DnaJ04Gw.js → wt-status-select-BOmAd__4.js} +2 -2
  28. package/dist/{wt-table-_qNHChZt.js → wt-table-C_91bkNX.js} +3 -3
  29. package/dist/{wt-timepicker-C0DHJSeR.js → wt-timepicker-C4kMPkNd.js} +2 -2
  30. package/dist/{wt-toast-Lge1Y6IO.js → wt-toast-CBQIP-YS.js} +2 -2
  31. package/dist/{wt-tree-table-BTHxl_MY.js → wt-tree-table-DMK0J0Jx.js} +1 -1
  32. package/dist/{wt-type-extension-value-input-C9aMICVN.js → wt-type-extension-value-input-CEX06xVC.js} +3 -3
  33. package/dist/{wt-vidstack-player-CLimONj6.js → wt-vidstack-player-1Z1fEhkA.js} +5 -5
  34. package/package.json +1 -1
  35. package/src/components/wt-chip/wt-chip.vue +4 -2
  36. package/src/enums/ChipColor/ChipColor.ts +1 -0
  37. package/src/plugins/primevue/theme/components/chip/chip.js +4 -0
  38. package/src/scripts/__tests__/convertDuration.spec.js +32 -0
  39. package/types/.tsbuildinfo +1 -1
  40. package/types/components/wt-chip/wt-chip.vue.d.ts +4 -2
  41. package/types/enums/ChipColor/ChipColor.d.ts +1 -0
  42. package/types/plugins/primevue/theme/components/chip/chip.d.ts +12 -0
@@ -1,4 +1,4 @@
1
- import { i as e } from "./enums-Bd-8yrmg.js";
1
+ import { i as e } from "./enums-BDtfwdQu.js";
2
2
  import { t } from "./vue-i18n-B88GcHzn.js";
3
3
  import { computed as n, isReactive as r, isRef as i, unref as a } from "vue";
4
4
  //#region src/mixins/validationMixin/regle/useRegleValidation.ts
@@ -1,4 +1,4 @@
1
- import "./enums-Bd-8yrmg.js";
1
+ import "./enums-BDtfwdQu.js";
2
2
  var e = (e) => e || "-";
3
3
  //#endregion
4
4
  export { e as t };
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./caseConverters-6cy_SaV5.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { o as n } from "./enums-Bd-8yrmg.js";
4
- import { t as r } from "./wt-icon-action-DUAnoMrj.js";
3
+ import { o as n } from "./enums-BDtfwdQu.js";
4
+ import { t as r } from "./wt-icon-action-g26vM7fD.js";
5
5
  import { Fragment as i, computed as a, createElementBlock as o, createVNode as s, defineComponent as c, guardReactiveProps as l, mergeProps as u, normalizeProps as d, openBlock as f, renderList as p, renderSlot as m } from "vue";
6
6
  //#region src/components/wt-action-bar/WtActionBarActionsOrder.ts
7
7
  var h = [
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { y as t } from "./enums-Bd-8yrmg.js";
2
+ import { y as t } from "./enums-BDtfwdQu.js";
3
3
  import { createCommentVNode as n, createElementBlock as r, createElementVNode as i, normalizeClass as a, normalizeStyle as o, openBlock as s, renderSlot as c, vShow as l, withDirectives as u } from "vue";
4
4
  //#region src/components/wt-badge/assets/badge-dnd.svg
5
5
  var d = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4'%20cy='4'%20r='4'%20fill='%23FFC000'/%3e%3crect%20x='2'%20y='3'%20width='4'%20height='2'%20fill='%23F7F7F7'/%3e%3c/svg%3e", f = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='8'%20cy='8'%20r='8'%20fill='%23169C18'/%3e%3cpath%20d='M5%204.80433L5%2011.1958C5%2011.9813%205.86395%2012.4601%206.53%2012.0438L11.6432%208.84808C12.2699%208.45642%2012.2699%207.54376%2011.6432%207.15209L6.53%203.95634C5.86395%203.54005%205%204.0189%205%204.80433Z'%20fill='white'/%3e%3c/svg%3e", p = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='8'%20cy='8'%20r='8'%20fill='%23F6AB55'/%3e%3cpath%20d='M6%204C6.55228%204%207%204.44772%207%205L7%2011C7%2011.5523%206.55228%2012%206%2012H5C4.44772%2012%204%2011.5523%204%2011L4%205C4%204.44772%204.44772%204%205%204L6%204Z'%20fill='white'/%3e%3cpath%20d='M11%204C11.5523%204%2012%204.44772%2012%205V11C12%2011.5523%2011.5523%2012%2011%2012H10C9.44772%2012%209%2011.5523%209%2011L9%205C9%204.44772%209.44772%204%2010%204L11%204Z'%20fill='white'/%3e%3c/svg%3e", m = {
@@ -1,5 +1,5 @@
1
- import { t as e } from "./wt-icon-DFtSR4bO.js";
2
- import { _ as t, c as n, g as r } from "./enums-Bd-8yrmg.js";
1
+ import { t as e } from "./wt-icon-B8nQuJZu.js";
2
+ import { _ as t, c as n, g as r } from "./enums-BDtfwdQu.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-D574RP8y.js";
1
+ import "./components-CRmvV0ze.js";
2
2
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { c as t } from "./enums-Bd-8yrmg.js";
4
- import { t as n } from "./wt-button-BzYDkfhK.js";
5
- import { n as r } from "./wt-toast-Lge1Y6IO.js";
3
+ import { c as t } from "./enums-BDtfwdQu.js";
4
+ import { t as n } from "./wt-button-C-BRwWdy.js";
5
+ import { n as r } from "./wt-toast-CBQIP-YS.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,8 +1,8 @@
1
1
  import { a as e, i as t, n, r, t as i } from "./toZonedTime-B8L5kbse.js";
2
2
  import { t as a } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { _ as o, c as s, g as c, r as l } from "./enums-Bd-8yrmg.js";
3
+ import { _ as o, c as s, g as c, r as l } from "./enums-BDtfwdQu.js";
4
4
  import { t as u } from "./vue-i18n-B88GcHzn.js";
5
- import { t as d } from "./useValidation-CtEfmUkB.js";
5
+ import { t as d } from "./useValidation-B4q8qUvG.js";
6
6
  import { computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, guardReactiveProps as b, mergeModels as x, mergeProps as S, nextTick as C, normalizeProps as w, onMounted as T, onUnmounted as E, openBlock as D, renderSlot as O, resolveComponent as k, toDisplayString as A, toRefs as j, unref as M, useModel as N, useTemplateRef as P, vShow as F, withCtx as I, withDirectives as ee } from "vue";
7
7
  import te from "primevue/datepicker";
8
8
  //#region node_modules/date-fns-tz/dist/esm/fromZonedTime/index.js
@@ -1,6 +1,6 @@
1
- import { C as e, i as t } from "./components-D574RP8y.js";
1
+ import { C as e, i as t } from "./components-CRmvV0ze.js";
2
2
  import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { t as r } from "./utils-B_8uwL9P.js";
3
+ import { t as r } from "./utils-DaacyMAw.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";
5
5
  //#region src/components/on-demand/wt-display-chip-items/wt-display-chip-items.vue?vue&type=script&setup=true&lang.ts
6
6
  var _ = { class: "wt-display-chip-items" }, v = { key: 0 }, y = ["onClick"], b = /*#__PURE__*/ n(/* @__PURE__ */ u({
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { c as t, o as n } from "./enums-Bd-8yrmg.js";
2
+ import { c as t, o as n } from "./enums-BDtfwdQu.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 { c as t } from "./enums-Bd-8yrmg.js";
2
+ import { c as t } from "./enums-BDtfwdQu.js";
3
3
  import { t as n } from "./useExpansion-DVdIpoOn.js";
4
4
  import "./composables-Vg-QfE_2.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 { c as t } from "./enums-Bd-8yrmg.js";
2
+ import { c as t } from "./enums-BDtfwdQu.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-6cy_SaV5.js";
2
- import { a as t, c as n } from "./enums-Bd-8yrmg.js";
2
+ import { a as t, c as n } from "./enums-BDtfwdQu.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-Bd-8yrmg.js";
1
+ import { o as e } from "./enums-BDtfwdQu.js";
2
2
  import { t } from "./vue-i18n-B88GcHzn.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-DFtSR4bO.js";
1
+ import { t as e } from "./wt-icon-B8nQuJZu.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { createElementBlock as n, createVNode as r, defineComponent as i, mergeProps as a, normalizeClass as o, openBlock as s } from "vue";
4
4
  //#endregion
@@ -1,5 +1,5 @@
1
- import { i as e } from "./enums-Bd-8yrmg.js";
2
- import { n as t, t as n } from "./wt-toast-Lge1Y6IO.js";
1
+ import { i as e } from "./enums-BDtfwdQu.js";
2
+ import { n as t, t as n } from "./wt-toast-CBQIP-YS.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-DFtSR4bO.js";
1
+ import { t as e } from "./wt-icon-B8nQuJZu.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { c as n } from "./enums-Bd-8yrmg.js";
4
- import { t as r } from "./wt-button-BzYDkfhK.js";
3
+ import { c as n } from "./enums-BDtfwdQu.js";
4
+ import { t as r } from "./wt-button-C-BRwWdy.js";
5
5
  import { n as i, t as a } from "./useVidstackSrc-aQcqC_v0.js";
6
6
  import { t as o } from "./wt-popover-DuZFw3bg.js";
7
7
  import { t as s } from "./wt-slider-Co6hZQu_.js";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import "./utils-B_8uwL9P.js";
2
+ import "./utils-DaacyMAw.js";
3
3
  import { t } from "./engineCallFileType-D7QVFOac.js";
4
4
  import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, openBlock as u, resolveComponent as d, toDisplayString as f, unref as p, withCtx as m } from "vue";
5
5
  //#region src/components/on-demand/wt-screen-recordings-action/wt-screen-recordings-action.vue?vue&type=script&setup=true&lang.ts
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
2
  import { t } from "./debounce-A4B4PTkL.js";
3
- import { t as n } from "./useValidation-CtEfmUkB.js";
3
+ import { t as n } from "./useValidation-B4q8qUvG.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-D574RP8y.js";
2
- import "./convertDuration-CGW5IDMW.js";
3
- import { n as t, r as n } from "./clients-BZ1QzRFi.js";
1
+ import { n as e } from "./components-CRmvV0ze.js";
2
+ import "./convertDuration-heRoQzks.js";
3
+ import { n as t, r as n } from "./clients-Dm3JLACL.js";
4
4
  import { t as r } from "./vue-i18n-B88GcHzn.js";
5
5
  import { n as i } from "./useEventBus-B-ZeklLu.js";
6
6
  import { createBlock as a, createTextVNode as o, createVNode as s, defineComponent 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";
@@ -1,5 +1,5 @@
1
- import { t as e } from "./convertDuration-CGW5IDMW.js";
2
- import { c as t, v as n } from "./enums-Bd-8yrmg.js";
1
+ import { t as e } from "./convertDuration-heRoQzks.js";
2
+ import { c as t, v as n } from "./enums-BDtfwdQu.js";
3
3
  import { t as r } from "./vue-i18n-B88GcHzn.js";
4
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
5
  //#region src/components/wt-status-select/_internals/StatusOptions.lookup.js
@@ -1,9 +1,9 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { c as t } from "./enums-Bd-8yrmg.js";
3
- import { t as n } from "./wt-badge-lFnfK2an.js";
2
+ import { c as t } from "./enums-BDtfwdQu.js";
3
+ import { t as n } from "./wt-badge-C8O4Oarp.js";
4
4
  import { t as r } from "./vue-i18n-B88GcHzn.js";
5
5
  import { n as i, t as a } from "./sortQueryAdapters-CyYXvnDN.js";
6
- import { t as o } from "./wt-icon-btn-CeGGT2PO.js";
6
+ import { t as o } from "./wt-icon-btn-BFRfANYh.js";
7
7
  import { t as s } from "./composables-Vg-QfE_2.js";
8
8
  import { t as c } from "./wt-popover-DuZFw3bg.js";
9
9
  import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as h, createTextVNode as g, createVNode as _, defineComponent as v, guardReactiveProps as y, nextTick as b, normalizeClass as x, normalizeProps as S, normalizeStyle as C, onMounted as w, onUnmounted as T, openBlock as E, ref as D, renderList as ee, renderSlot as O, resolveComponent as k, resolveDirective as te, toDisplayString as A, unref as j, useSlots as M, useTemplateRef as ne, withCtx as N, withDirectives as P, withModifiers as F } from "vue";
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { c as t, r as n } from "./enums-Bd-8yrmg.js";
2
+ import { c as t, r as n } from "./enums-BDtfwdQu.js";
3
3
  import { t as r } from "./vue-i18n-B88GcHzn.js";
4
- import { t as i } from "./useValidation-CtEfmUkB.js";
4
+ import { t as i } from "./useValidation-B4q8qUvG.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-DFtSR4bO.js";
2
- import { c as t, i as n } from "./enums-Bd-8yrmg.js";
1
+ import { t as e } from "./wt-icon-B8nQuJZu.js";
2
+ import { c as t, i as n } from "./enums-BDtfwdQu.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, normalizeStyle as f, openBlock as p, resolveComponent as m, toDisplayString as h, unref as g, useAttrs as _, withCtx as v } from "vue";
4
4
  //#region node_modules/mitt/dist/mitt.mjs
5
5
  function y(e) {
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
2
  import { n as t } from "./sortQueryAdapters-CyYXvnDN.js";
3
3
  import { t as n } from "./wt-checkbox-BBdi-1oS.js";
4
- import { t as r } from "./wt-icon-btn-CeGGT2PO.js";
4
+ import { t as r } from "./wt-icon-btn-BFRfANYh.js";
5
5
  import { t as i } from "./useWtTable-CUpN0LZ5.js";
6
6
  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";
7
7
  //#region src/components/wt-tree-table-row/wt-tree-table-row.vue?vue&type=script&setup=true&lang.ts
@@ -1,6 +1,6 @@
1
- import { a as e, o as t, r as n, s as r } from "./components-D574RP8y.js";
2
- import { t as i } from "./clients-BZ1QzRFi.js";
3
- import { t as a } from "./enums-Bd-8yrmg.js";
1
+ import { a as e, o as t, r as n, s as r } from "./components-CRmvV0ze.js";
2
+ import { t as i } from "./clients-Dm3JLACL.js";
3
+ import { t as a } from "./enums-BDtfwdQu.js";
4
4
  import { t as o } from "./vue-i18n-B88GcHzn.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
@@ -1,9 +1,9 @@
1
- import { w as e } from "./components-D574RP8y.js";
2
- import "./convertDuration-CGW5IDMW.js";
1
+ import { w as e } from "./components-CRmvV0ze.js";
2
+ import "./convertDuration-heRoQzks.js";
3
3
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
4
- import { c as n } from "./enums-Bd-8yrmg.js";
5
- import "./wt-button-BzYDkfhK.js";
6
- import { t as r } from "./wt-icon-btn-CeGGT2PO.js";
4
+ import { c as n } from "./enums-BDtfwdQu.js";
5
+ import "./wt-button-C-BRwWdy.js";
6
+ import { t as r } from "./wt-icon-btn-BFRfANYh.js";
7
7
  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 g, P as ee, Q as _, R as te, S as v, U as ne, V as y, W as b, X as x, Y as re, Z as S, _ as C, a as ie, b as ae, c as oe, d as se, et as ce, f as le, g as ue, h as de, i as w, it as fe, j as pe, k as me, l as T, m as he, n as E, nt as D, o as O, ot as ge, p as k, q as A, r as j, rt as _e, t as ve, tt as ye, u as be, v as M, w as xe, y as Se, z as Ce } from "./vidstack-D9mvYVIz-DesuYgKV.js";
8
8
  import { _ as N, a as we, c as Te, d as Ee, f as De, g as Oe, h as ke, i as Ae, l as je, m as Me, n as Ne, o as Pe, p as Fe, r as Ie, s as Le, t as P, u as Re } from "./vidstack-CgfrU1hS-CNTJkyzm.js";
9
9
  import { _ as ze, a as Be, c as Ve, f as He, g as Ue, h as We, i as Ge, l as Ke, n as qe, r as Je, s as Ye, t as Xe, u as Ze, v as Qe, x as $e, y as et } from "./useVidstackSrc-aQcqC_v0.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.8.105",
3
+ "version": "26.8.106",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -31,10 +31,12 @@ import { ChipColor, ComponentSize } from '../../enums';
31
31
 
32
32
  interface WtProps extends ChipProps {
33
33
  /**
34
- * Chip color. "main" and "outline" are chip-specific colors
34
+ * Chip color. "main" and "transfer" are chip-specific colors; the rest follow
35
+ * the semantic scheme. "info" renders as a light tint with dark text, like
36
+ * "main", rather than a solid fill.
35
37
  * @type {ChipColor}
36
38
  * @default ChipColor.MAIN
37
- * @options ['main', 'outline', 'accent', 'secondary', 'secondary-50', 'success', 'danger', 'transfer']
39
+ * @options ['main', 'primary', 'on-primary', 'secondary', 'success', 'warning', 'error', 'info', 'transfer']
38
40
  */
39
41
  color?: ChipColor;
40
42
  /**
@@ -6,6 +6,7 @@ export const ChipColor = {
6
6
  SUCCESS: 'success',
7
7
  WARNING: 'warning',
8
8
  ERROR: 'error',
9
+ INFO: 'info',
9
10
  TRANSFER: 'transfer',
10
11
  } as const;
11
12
 
@@ -46,6 +46,10 @@ const chip = {
46
46
  colorName: 'error',
47
47
  dt,
48
48
  })}
49
+ ${generateCustomColorCss({
50
+ colorName: 'info',
51
+ dt,
52
+ })}
49
53
  ${generateCustomColorCss({
50
54
  colorName: 'transfer',
51
55
  dt,
@@ -18,4 +18,36 @@ describe('Case converters', () => {
18
18
  const duration = '00:00:00';
19
19
  expect(convertDuration(time)).toBe(duration);
20
20
  });
21
+
22
+ describe('alwaysShowHours: false', () => {
23
+ it('drops the hours segment below an hour', () => {
24
+ expect(
25
+ convertDuration(111, {
26
+ alwaysShowHours: false,
27
+ }),
28
+ ).toBe('01:51');
29
+ });
30
+
31
+ it('keeps the hours segment once there are hours to show', () => {
32
+ expect(
33
+ convertDuration(3725, {
34
+ alwaysShowHours: false,
35
+ }),
36
+ ).toBe('01:02:05');
37
+ });
38
+
39
+ it('drops the hours segment for a false value too', () => {
40
+ expect(
41
+ convertDuration(null, {
42
+ alwaysShowHours: false,
43
+ }),
44
+ ).toBe('00:00');
45
+ });
46
+ });
47
+
48
+ // live timers rely on the width staying fixed as they tick past an hour
49
+ it('keeps the hours segment by default', () => {
50
+ expect(convertDuration(111)).toBe('00:01:51');
51
+ expect(convertDuration(111, {})).toBe('00:01:51');
52
+ });
21
53
  });