@webitel/ui-sdk 26.6.111 → 26.6.112
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.
- package/dist/{components-D4d_Zcfc.js → components-BPutYJuu.js} +187 -180
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +210 -210
- package/dist/{wt-chat-emoji-DJSa3MA_.js → wt-chat-emoji-Bf0_kQrm.js} +1 -1
- package/dist/{wt-display-chip-items-DO5_TTGi.js → wt-display-chip-items-Cqc__zsq.js} +1 -1
- package/dist/{wt-send-message-popup-DsEKdBWT.js → wt-send-message-popup-D5icNrbv.js} +1 -1
- package/dist/{wt-type-extension-value-input-BzjijnyS.js → wt-type-extension-value-input-rlKOUzUe.js} +1 -1
- package/dist/{wt-vidstack-player-BJELcGtw.js → wt-vidstack-player-aiRwc_wV.js} +1 -1
- package/package.json +1 -1
- package/src/components/wt-multi-select/wt-multi-select.vue +10 -1
- package/src/components/wt-single-select/wt-single-select.vue +7 -0
- package/types/.tsbuildinfo +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as e, i as t } from "./components-
|
|
1
|
+
import { C as e, i as t } from "./components-BPutYJuu.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 { n as e, r as t } from "./clients-DqzkR0RW.js";
|
|
2
|
-
import { n } from "./components-
|
|
2
|
+
import { n } from "./components-BPutYJuu.js";
|
|
3
3
|
import { t as r } from "./vue-i18n-Db_oYfO8.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
|
package/dist/{wt-type-extension-value-input-BzjijnyS.js → wt-type-extension-value-input-rlKOUzUe.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./clients-DqzkR0RW.js";
|
|
2
|
-
import { a as t, o as n, r, s as i } from "./components-
|
|
2
|
+
import { a as t, o as n, r, s as i } from "./components-BPutYJuu.js";
|
|
3
3
|
import { t as a } from "./enums-De8CDKZ1.js";
|
|
4
4
|
import { t as o } from "./vue-i18n-Db_oYfO8.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";
|
package/package.json
CHANGED
|
@@ -47,7 +47,11 @@
|
|
|
47
47
|
@hide="handleDropdownHide"
|
|
48
48
|
>
|
|
49
49
|
<template v-if="!chipsView" #value="{ value, placeholder }">
|
|
50
|
-
<span
|
|
50
|
+
<span
|
|
51
|
+
v-if="value && value.length"
|
|
52
|
+
class="wt-multi-select__value"
|
|
53
|
+
@mousedown.stop
|
|
54
|
+
>
|
|
51
55
|
<template v-if="value.length > MAX_SELECTED_LABELS">
|
|
52
56
|
{{ value.length }} {{ t('webitelUI.select.selectedItemsLabel') }}
|
|
53
57
|
</template>
|
|
@@ -279,6 +283,11 @@ const handleDropdownHide = () => {
|
|
|
279
283
|
min-width: 0;
|
|
280
284
|
}
|
|
281
285
|
|
|
286
|
+
.wt-multi-select__value {
|
|
287
|
+
cursor: text;
|
|
288
|
+
user-select: text;
|
|
289
|
+
}
|
|
290
|
+
|
|
282
291
|
.wt-multi-select__option-label {
|
|
283
292
|
user-select: none;
|
|
284
293
|
}
|
|
@@ -59,6 +59,8 @@
|
|
|
59
59
|
<slot name="value" v-bind="{ value, getOptionLabel, placeholder }">
|
|
60
60
|
<span
|
|
61
61
|
v-tooltip="getOptionLabel(value)"
|
|
62
|
+
class="wt-single-select__value"
|
|
63
|
+
@mousedown.stop
|
|
62
64
|
>
|
|
63
65
|
{{ getOptionLabel(value) || placeholder }}
|
|
64
66
|
</span>
|
|
@@ -268,6 +270,11 @@ const handleDropdownHide = () => {
|
|
|
268
270
|
white-space: nowrap;
|
|
269
271
|
}
|
|
270
272
|
|
|
273
|
+
.wt-single-select__value {
|
|
274
|
+
cursor: text;
|
|
275
|
+
user-select: text;
|
|
276
|
+
}
|
|
277
|
+
|
|
271
278
|
.wt-single-select__input {
|
|
272
279
|
padding: var(--spacing-xs);
|
|
273
280
|
}
|