@webitel/ui-sdk 26.6.41 → 26.6.42

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.
@@ -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-B22ObVX2.js";
3
+ import "./components-DbrHvf-e.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-B22ObVX2.js";
1
+ import { c as e, i as t } from "./components-DbrHvf-e.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-DnDH-KUv.js";
4
+ import "./composables-DJxQeK6R.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-DnDH-KUv.js";
3
+ import { a as n, o as r } from "./composables-DJxQeK6R.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,4 +1,4 @@
1
- import { n as e } from "./components-B22ObVX2.js";
1
+ import { n as e } from "./components-DbrHvf-e.js";
2
2
  import { t } from "./vue-i18n-B8Px6VcD.js";
3
3
  import { n, r } from "./clients-D1HAMd56.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";
@@ -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-DnDH-KUv.js";
4
+ import { t as i } from "./composables-DJxQeK6R.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,4 +1,4 @@
1
- import { a as e, o as t, r as n, s as r } from "./components-B22ObVX2.js";
1
+ import { a as e, o as t, r as n, s as r } from "./components-DbrHvf-e.js";
2
2
  import { t as i } from "./enums-pbYAJNeb.js";
3
3
  import { t as a } from "./vue-i18n-B8Px6VcD.js";
4
4
  import { t as o } from "./clients-D1HAMd56.js";
@@ -1,4 +1,4 @@
1
- import { l as e } from "./components-B22ObVX2.js";
1
+ import { l as e } from "./components-DbrHvf-e.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.41",
3
+ "version": "26.6.42",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -114,7 +114,7 @@ export const useSelectOptions = ({
114
114
  searchParams.page === 1
115
115
  ? dedupeByKey(
116
116
  [
117
- ...selectedOptionsCache.value,
117
+ ...(!allowCustomValues.value ? selectedOptionsCache.value : []),
118
118
  ...toArray(selected.value).filter(
119
119
  (s) => s != null && typeof s === 'object',
120
120
  ),
@@ -146,7 +146,7 @@ export const useSelectOptions = ({
146
146
  filteredOptions.value = sortOptions(
147
147
  dedupeByKey(
148
148
  [
149
- ...selectedOptionsCache.value,
149
+ ...(!allowCustomValues.value ? selectedOptionsCache.value : []),
150
150
  ...matchingOptions,
151
151
  ],
152
152
  dataKey.value,