@webitel/ui-sdk 26.6.42 → 26.6.44

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 (22) hide show
  1. package/dist/{clients-D1HAMd56.js → clients-aQCH0OHp.js} +28 -12
  2. package/dist/{components-DbrHvf-e.js → components-C0M-1soD.js} +758 -750
  3. package/dist/{composables-DJxQeK6R.js → composables-C5OKo5yW.js} +4 -12
  4. package/dist/{engineCallFileType-D7QVFOac.js → engineCallFileType.zod-C-t93kQg.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 +373 -373
  8. package/dist/{wt-call-media-action-Bkyppnsm.js → wt-call-media-action-Bn2bGCWs.js} +1 -1
  9. package/dist/{wt-chat-emoji-DyyNVTDr.js → wt-chat-emoji-DuiKO7nU.js} +1 -1
  10. package/dist/{wt-display-chip-items-wjsobVBh.js → wt-display-chip-items-DUcN6Vny.js} +1 -1
  11. package/dist/{wt-expansion-card-DEqwyRq_.js → wt-expansion-card--JQgcTaF.js} +1 -1
  12. package/dist/{wt-galleria-Xt27edEP.js → wt-galleria-B1gOHiGe.js} +1 -1
  13. package/dist/{wt-screen-recordings-action-Dg7Ts2Jt.js → wt-screen-recordings-action-Dzzo0eqW.js} +1 -1
  14. package/dist/{wt-send-message-popup-SP9e0R_R.js → wt-send-message-popup-CSA7ukEd.js} +2 -2
  15. package/dist/{wt-table-TBeu10EU.js → wt-table--FlzjuAF.js} +1 -1
  16. package/dist/{wt-type-extension-value-input-KyKRXBn2.js → wt-type-extension-value-input-DRU_RX4Y.js} +2 -2
  17. package/dist/{wt-vidstack-player-B_GkmWiK.js → wt-vidstack-player-CkNUXibU.js} +1 -1
  18. package/package.json +1 -1
  19. package/src/components/_internals/composables/useSelect/useSelectOptions.ts +6 -5
  20. package/src/components/wt-multi-select/wt-multi-select.vue +12 -0
  21. package/src/components/wt-single-select/wt-single-select.vue +12 -1
  22. package/src/modules/CallSession/modules/VideoCall/video-call.vue +4 -0
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { t } from "./engineCallFileType-D7QVFOac.js";
2
+ import { t } from "./engineCallFileType.zod-C-t93kQg.js";
3
3
  import { computed as n, createBlock as r, createCommentVNode as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, openBlock as l, resolveComponent as u, toDisplayString as d, withCtx as f } from "vue";
4
4
  //#region src/components/on-demand/wt-call-media-action/wt-call-media-action.vue?vue&type=script&setup=true&lang.ts
5
5
  var p = { class: "wt-call-media-action__option" }, m = /*#__PURE__*/ e(/* @__PURE__ */ c({
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./chunk-CY3AvKd6.js";
2
2
  import { n as t, t as n } from "./dist-BYiYpK00.js";
3
- import "./components-DbrHvf-e.js";
3
+ import "./components-C0M-1soD.js";
4
4
  import { t as r } from "./_plugin-vue_export-helper-B3ysoDQm.js";
5
5
  import { c as i } from "./enums-pbYAJNeb.js";
6
6
  import { t as a } from "./wt-button-DENbrKdy.js";
@@ -1,4 +1,4 @@
1
- import { c as e, i as t } from "./components-DbrHvf-e.js";
1
+ import { c as e, i as t } from "./components-C0M-1soD.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,7 +1,7 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
2
  import { c as t } from "./enums-pbYAJNeb.js";
3
3
  import { t as n } from "./useExpansion-DVdIpoOn.js";
4
- import "./composables-DJxQeK6R.js";
4
+ import "./composables-C5OKo5yW.js";
5
5
  import { t as r } from "./wt-expand-transition-C2p9bR4j.js";
6
6
  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";
7
7
  //#region src/components/wt-expansion-card/wt-expansion-card.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 "./vue-i18n-B8Px6VcD.js";
3
- import { a as n, o as r } from "./composables-DJxQeK6R.js";
3
+ import { a as n, o as r } from "./composables-C5OKo5yW.js";
4
4
  import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, mergeModels as p, mergeProps as m, nextTick as h, normalizeClass as g, onMounted as _, onUnmounted as v, openBlock as y, ref as b, renderSlot as x, resolveComponent as S, toDisplayString as C, unref as w, useAttrs as T, useModel as E, vShow as D, watch as O, withCtx as k, withDirectives as A } from "vue";
5
5
  //#region src/modules/DeleteConfirmationPopup/composables/useDeleteConfirmationPopup.js
6
6
  var j = () => {
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { t } from "./engineCallFileType-D7QVFOac.js";
2
+ import { t } from "./engineCallFileType.zod-C-t93kQg.js";
3
3
  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";
4
4
  //#region src/components/on-demand/wt-screen-recordings-action/wt-screen-recordings-action.vue?vue&type=script&setup=true&lang.ts
5
5
  var h = { class: "wt-screen-recordings-action" }, g = { class: "wt-screen-recordings-action__option" }, _ = /*#__PURE__*/ e(/* @__PURE__ */ l({
@@ -1,6 +1,6 @@
1
- import { n as e } from "./components-DbrHvf-e.js";
1
+ import { n as e } from "./components-C0M-1soD.js";
2
2
  import { t } from "./vue-i18n-B8Px6VcD.js";
3
- import { n, r } from "./clients-D1HAMd56.js";
3
+ import { n, r } from "./clients-aQCH0OHp.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
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
2
  import { t } from "./vue-i18n-B8Px6VcD.js";
3
3
  import { n, t as r } from "./sortQueryAdapters-CyYXvnDN.js";
4
- import { t as i } from "./composables-DJxQeK6R.js";
4
+ import { t as i } from "./composables-C5OKo5yW.js";
5
5
  import { Fragment as ee, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createSlots as u, createTextVNode as d, createVNode as f, defineComponent as p, nextTick as m, normalizeStyle as h, onMounted as g, onUnmounted as _, openBlock as v, ref as y, renderList as b, renderSlot as x, resolveComponent as S, resolveDirective as C, toDisplayString as w, useSlots as T, useTemplateRef as E, withCtx as D, withDirectives as O, withModifiers as k } from "vue";
6
6
  //#region src/components/wt-table/wt-table.vue?vue&type=script&setup=true&lang.ts
7
7
  var A = { class: "wt-table__th__content typo-body-1-bold" }, j = { class: "wt-table__td__actions" }, M = 10, N = /*#__PURE__*/ e(/* @__PURE__ */ p({
@@ -1,7 +1,7 @@
1
- import { a as e, o as t, r as n, s as r } from "./components-DbrHvf-e.js";
1
+ import { a as e, o as t, r as n, s as r } from "./components-C0M-1soD.js";
2
2
  import { t as i } from "./enums-pbYAJNeb.js";
3
3
  import { t as a } from "./vue-i18n-B8Px6VcD.js";
4
- import { t as o } from "./clients-D1HAMd56.js";
4
+ import { t as o } from "./clients-aQCH0OHp.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,4 +1,4 @@
1
- import { l as e } from "./components-DbrHvf-e.js";
1
+ import { l as e } from "./components-C0M-1soD.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { c as n } from "./enums-pbYAJNeb.js";
4
4
  import "./wt-button-DENbrKdy.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.6.42",
3
+ "version": "26.6.44",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -110,14 +110,16 @@ export const useSelectOptions = ({
110
110
  search,
111
111
  page,
112
112
  });
113
+ const matchingCached = search
114
+ ? selectedOptionsCache.value.filter((option) =>
115
+ getOptionLabel(option).toLowerCase().includes(search.toLowerCase()),
116
+ )
117
+ : selectedOptionsCache.value;
113
118
  const baseOptions =
114
119
  searchParams.page === 1
115
120
  ? dedupeByKey(
116
121
  [
117
- ...(!allowCustomValues.value ? selectedOptionsCache.value : []),
118
- ...toArray(selected.value).filter(
119
- (s) => s != null && typeof s === 'object',
120
- ),
122
+ ...matchingCached,
121
123
  ...items,
122
124
  ],
123
125
  dataKey.value,
@@ -146,7 +148,6 @@ export const useSelectOptions = ({
146
148
  filteredOptions.value = sortOptions(
147
149
  dedupeByKey(
148
150
  [
149
- ...(!allowCustomValues.value ? selectedOptionsCache.value : []),
150
151
  ...matchingOptions,
151
152
  ],
152
153
  dataKey.value,
@@ -22,6 +22,7 @@
22
22
  :id="selectId"
23
23
  :show-clear="showClear"
24
24
  :focus-on-hover="false"
25
+ :auto-option-focus="true"
25
26
  :disabled="disabled"
26
27
  :placeholder="placeholder || label"
27
28
  :option-disabled="() => disabledOptions"
@@ -45,6 +46,17 @@
45
46
  @show="onDropdownShow"
46
47
  @hide="onDropdownHide"
47
48
  >
49
+ <template v-if="!chipsView" #value="{ value, placeholder }">
50
+ <span v-if="value && value.length">
51
+ <template v-if="value.length > MAX_SELECTED_LABELS">
52
+ {{ value.length }} {{ t('webitelUI.select.selectedItemsLabel') }}
53
+ </template>
54
+ <template v-else>
55
+ {{ value.map((v) => getOptionLabel(v)).join(', ') }}
56
+ </template>
57
+ </span>
58
+ <span v-else class="p-placeholder">{{ placeholder }}</span>
59
+ </template>
48
60
  <template #header>
49
61
  <wt-input-text
50
62
  v-if="filterable"
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="wt-single-select">
2
+ <div class="wt-single-select" :class="{ 'wt-single-select--has-value': model }">
3
3
  <wt-label
4
4
  v-if="hasLabel"
5
5
  :disabled="disabled"
@@ -235,6 +235,17 @@ onMounted(() => {
235
235
  min-width: 0;
236
236
  }
237
237
 
238
+ /*
239
+ @author @HlukhovYe
240
+
241
+ PrimeVue applies data-p="placeholder" to the label span when the selected item
242
+ is not found in visibleOptions (e.g. during search). Override the placeholder
243
+ color since our #value slot renders the correct label from the model directly.
244
+ */
245
+ .wt-single-select--has-value :deep(.p-select-label[data-p~='placeholder']) {
246
+ color: inherit;
247
+ }
248
+
238
249
  .wt-single-select__option-label {
239
250
  user-select: none;
240
251
  }
@@ -659,6 +659,10 @@ const senderVideoMutedIconSizes = {
659
659
  padding-bottom: calc(var(--p-player-control-bar-sm-height) + 24px);
660
660
  }
661
661
 
662
+ .video-call--pip .video-call-receiver--sm.video-call-receiver__fallback-screen {
663
+ justify-content: center;
664
+ }
665
+
662
666
  .video-call-sender {
663
667
  flex: 0 0 auto;
664
668
  }