@webitel/ui-sdk 26.6.27 → 26.6.29
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/{contacts-DSkMbpCC.js → contacts-C-FnP7wP.js} +2 -2
- package/dist/{index--tI6yyEE.js → index-BBLSS-t1.js} +1 -1
- package/dist/{install-ceMCd5_G.js → install-DOSuNFtE.js} +3803 -3736
- package/dist/{isObject-LiccjLvW.js → isObject-CMQJaQIp.js} +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +248 -224
- package/dist/{useVidstackSrc-DSo-Z-HQ.js → useVidstackSrc-MfWBq7Ef.js} +1 -1
- package/dist/{vidstack-Bq6c3Bam-Dxa6Uf3X.js → vidstack-Bq6c3Bam-C_T8PkmG.js} +3 -3
- package/dist/{vidstack-D2pY00kU-yL5QC8d9.js → vidstack-D2pY00kU-CphVKcJq.js} +3 -3
- package/dist/{vidstack-DDXt6fpN-Dl6hyDys.js → vidstack-DDXt6fpN-2lNfj8Ca.js} +2 -2
- package/dist/{vidstack-D_-9AA6_-DfUU-csq.js → vidstack-D_-9AA6_-Cyl8HzDm.js} +2 -2
- package/dist/{vidstack-DqAw8m9J-Dsx9jnEU.js → vidstack-DqAw8m9J-C2p9K7Db.js} +1 -1
- package/dist/{vidstack-audio-bvI6IXPQ.js → vidstack-audio-BL-Sa_Ap.js} +2 -2
- package/dist/{vidstack-dash-Dj_H5loF.js → vidstack-dash-mKhgfurw.js} +4 -4
- package/dist/{vidstack-google-cast-BjbhHW6e.js → vidstack-google-cast-BGqSw2iP.js} +4 -4
- package/dist/{vidstack-hls-CDM_NK_O.js → vidstack-hls-U5fTV3hj.js} +4 -4
- package/dist/{vidstack-video-C_x4J7Tc.js → vidstack-video-Bxf7KDne.js} +3 -3
- package/dist/{vidstack-vimeo-Big8qvs2.js → vidstack-vimeo-MngSXtDR.js} +4 -4
- package/dist/{vidstack-youtube-CI8OkYi9.js → vidstack-youtube-Ctg91VeX.js} +3 -3
- package/dist/{wt-action-bar-D8Ohpv_P.js → wt-action-bar-DaDcqA4n.js} +1 -1
- package/dist/{wt-button-select-BDBwo7gN.js → wt-button-select-q_BITVhH.js} +1 -1
- package/dist/{wt-call-media-action-CHwokshE.js → wt-call-media-action-BkBcZN17.js} +1 -1
- package/dist/{wt-chat-emoji-rZ2_7sRF.js → wt-chat-emoji-BGuSgYi3.js} +2 -2
- package/dist/{wt-confirm-dialog-BJecuNae.js → wt-confirm-dialog-C7-74ROm.js} +1 -1
- package/dist/{wt-context-menu-DvZ5NWBL.js → wt-context-menu-CzAHMaOj.js} +1 -1
- package/dist/{wt-copy-action-BmTMy_Nq.js → wt-copy-action-BpckAObd.js} +1 -1
- package/dist/{wt-datepicker-sX464z7h.js → wt-datepicker-DauMnf2r.js} +1 -1
- package/dist/{wt-display-chip-items-B_LdfC6I.js → wt-display-chip-items-zcqxH89_.js} +1 -1
- package/dist/{wt-dual-panel-DLYSup0u.js → wt-dual-panel-Cj79kJpk.js} +1 -1
- package/dist/{wt-dummy-CJ73hDxw.js → wt-dummy-BUHYAcsk.js} +1 -1
- package/dist/{wt-error-page-C6GlvcqE.js → wt-error-page-CNSqDA-o.js} +1 -1
- package/dist/{wt-expansion-card-B_nm4ttX.js → wt-expansion-card-CtcuXg6f.js} +1 -1
- package/dist/{wt-expansion-panel-DvRcvbXt.js → wt-expansion-panel-BU2Hb-N2.js} +1 -1
- package/dist/{wt-filters-panel-wrapper-CMJ2N5eQ.js → wt-filters-panel-wrapper-BlLlAixc.js} +1 -1
- package/dist/{wt-galleria-DNv1hLO3.js → wt-galleria-BQzGD6-3.js} +1 -1
- package/dist/{wt-inline-add-panel-Bdi92NVK.js → wt-inline-add-panel-fG58a6T3.js} +1 -1
- package/dist/{wt-navigation-menu-zZ6YxmbR.js → wt-navigation-menu-2ggfyrM_.js} +1 -1
- package/dist/{wt-notifications-bar-DuU8LHyQ.js → wt-notifications-bar-Epn_SA_R.js} +2 -2
- package/dist/{wt-pagination-BVELz78t.js → wt-pagination-Byg79HfY.js} +1 -1
- package/dist/{wt-player-CstNIryj.js → wt-player-kjdJYVi3.js} +2 -2
- package/dist/{wt-screen-recordings-action-Cso_iBUz.js → wt-screen-recordings-action-Z3x-gI0n.js} +1 -1
- package/dist/{wt-search-bar-CCzQST2m.js → wt-search-bar-CxwSi-Xo.js} +1 -1
- package/dist/{wt-selection-popup-551Ec8vp.js → wt-selection-popup-MdCfrgcd.js} +1 -1
- package/dist/{wt-send-message-popup-CHToeQ_o.js → wt-send-message-popup-DklTgoGj.js} +3 -3
- package/dist/{wt-start-page-DNJz8CBR.js → wt-start-page-B59KbWqX.js} +1 -1
- package/dist/{wt-status-select-CICx7BaH.js → wt-status-select-hOAr_xBg.js} +1 -1
- package/dist/{wt-stepper-DbtXRT63.js → wt-stepper-CMeW3d6N.js} +1 -1
- package/dist/{wt-table-Cz4RQ0Dt.js → wt-table-C5CLtnK5.js} +1 -1
- package/dist/{wt-table-actions-Bb1F_VBG.js → wt-table-actions-DgAfy-dd.js} +1 -1
- package/dist/{wt-table-column-select-CkTivU0i.js → wt-table-column-select-BK5rozpI.js} +2 -2
- package/dist/{wt-tabs-CImXyfVD.js → wt-tabs-Bn6rSg0s.js} +1 -1
- package/dist/{wt-timepicker-h3aGNrhX.js → wt-timepicker-CkjoLwXC.js} +1 -1
- package/dist/{wt-tree-vxZ2m37h.js → wt-tree-CCvr4TTF.js} +1 -1
- package/dist/{wt-tree-table-DKbjXc57.js → wt-tree-table-BWmGF3rE.js} +1 -1
- package/dist/{wt-type-extension-value-input-77CLK06k.js → wt-type-extension-value-input-q5286OSO.js} +3 -3
- package/dist/{wt-vidstack-player-DvVPlmdc.js → wt-vidstack-player-CTWna35Q.js} +10 -10
- package/package.json +1 -1
- package/src/components/_internals/composables/useSelect/useSelect.ts +4 -0
- package/src/components/_internals/composables/useSelect/useSelectLoader.ts +21 -0
- package/src/components/wt-input-text/wt-input-text.vue +8 -0
- package/src/components/wt-multi-select/wt-multi-select.vue +25 -2
- package/src/components/wt-single-select/wt-single-select.vue +25 -2
- package/src/plugins/primevue/theme/components/input-group/input-group.js +26 -2
- package/types/components/_internals/composables/useSelect/useSelect.d.ts +1 -0
- package/types/components/_internals/composables/useSelect/useSelectLoader.d.ts +4 -0
- package/types/components/wt-input-text/wt-input-text.vue.d.ts +2 -0
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
:invalid="invalid"
|
|
22
22
|
:id="selectId"
|
|
23
23
|
:show-clear="showClear"
|
|
24
|
+
:focus-on-hover="false"
|
|
24
25
|
:disabled="disabled"
|
|
25
26
|
:placeholder="placeholder || label"
|
|
26
27
|
:option-disabled="() => disabledOptions"
|
|
27
28
|
:options="filteredOptions"
|
|
28
29
|
:option-label="(option) => getOptionLabel(option)"
|
|
29
30
|
:option-value="optionValue"
|
|
30
|
-
:loading="isLoading"
|
|
31
31
|
:max-selected-labels="MAX_SELECTED_LABELS"
|
|
32
32
|
:selectedItemsLabel="`${model.length} ${t('webitelUI.select.selectedItemsLabel')}`"
|
|
33
33
|
:data-key="dataKey"
|
|
@@ -46,7 +46,9 @@
|
|
|
46
46
|
<wt-input-text
|
|
47
47
|
v-if="filterable"
|
|
48
48
|
ref="filterInput"
|
|
49
|
+
class="wt-multi-select__input"
|
|
49
50
|
:model-value="filterText"
|
|
51
|
+
:size="ComponentSize.SM"
|
|
50
52
|
@update:model-value="filterOptions($event)"
|
|
51
53
|
@keydown.enter.stop="onInputKeydown"
|
|
52
54
|
>
|
|
@@ -92,6 +94,11 @@
|
|
|
92
94
|
{{ getOptionLabel(value) }}
|
|
93
95
|
</wt-chip>
|
|
94
96
|
</template>
|
|
97
|
+
<template #footer v-if="showFooterLoader">
|
|
98
|
+
<div class="wt-multi-select__footer">
|
|
99
|
+
<wt-loader :size="ComponentSize.SM" />
|
|
100
|
+
</div>
|
|
101
|
+
</template>
|
|
95
102
|
</p-multi-select>
|
|
96
103
|
<wt-message
|
|
97
104
|
v-if="isValidation && validationText"
|
|
@@ -190,7 +197,7 @@ const emit = defineEmits<{
|
|
|
190
197
|
}>();
|
|
191
198
|
|
|
192
199
|
const {
|
|
193
|
-
|
|
200
|
+
showFooterLoader,
|
|
194
201
|
isDropdownOpen,
|
|
195
202
|
filterText,
|
|
196
203
|
filteredOptions,
|
|
@@ -256,4 +263,20 @@ onMounted(() => {
|
|
|
256
263
|
.wt-multi-select__option-checkbox {
|
|
257
264
|
pointer-events: none;
|
|
258
265
|
}
|
|
266
|
+
|
|
267
|
+
.wt-multi-select__input {
|
|
268
|
+
padding: var(--spacing-xs);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.wt-multi-select__footer {
|
|
272
|
+
position: absolute;
|
|
273
|
+
width: 100%;
|
|
274
|
+
transform: translateY(-100%);
|
|
275
|
+
background: var(--p-multiselect-overlay-background);
|
|
276
|
+
border-bottom-left-radius: var(--p-multiselect-overlay-border-radius);
|
|
277
|
+
border-bottom-right-radius: var(--p-multiselect-overlay-border-radius);
|
|
278
|
+
display: flex;
|
|
279
|
+
justify-content: center;
|
|
280
|
+
padding: var(--spacing-xs) 0;
|
|
281
|
+
}
|
|
259
282
|
</style>
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
:invalid="invalid"
|
|
20
20
|
:id="selectId"
|
|
21
21
|
:show-clear="showClear"
|
|
22
|
+
:focus-on-hover="false"
|
|
22
23
|
:disabled="disabled"
|
|
23
24
|
:placeholder="placeholder || label"
|
|
24
25
|
:option-disabled="() => disabledOptions"
|
|
25
26
|
:options="filteredOptions"
|
|
26
27
|
:option-label="(option) => getOptionLabel(option)"
|
|
27
28
|
:option-value="optionValue"
|
|
28
|
-
:loading="isLoading"
|
|
29
29
|
:data-key="dataKey"
|
|
30
30
|
v-bind="$attrs"
|
|
31
31
|
@before-show="onDropdownBeforeShow"
|
|
@@ -37,7 +37,9 @@
|
|
|
37
37
|
<wt-input-text
|
|
38
38
|
v-if="filterable"
|
|
39
39
|
ref="filterInput"
|
|
40
|
+
class="wt-single-select__input"
|
|
40
41
|
:model-value="filterText"
|
|
42
|
+
:size="ComponentSize.SM"
|
|
41
43
|
@update:model-value="filterOptions($event)"
|
|
42
44
|
@keydown.enter.stop="onInputKeydown"
|
|
43
45
|
>
|
|
@@ -79,6 +81,11 @@
|
|
|
79
81
|
<template #loadingicon>
|
|
80
82
|
<wt-loader :size="ComponentSize.SM" />
|
|
81
83
|
</template>
|
|
84
|
+
<template #footer v-if="showFooterLoader">
|
|
85
|
+
<div class="wt-single-select__footer">
|
|
86
|
+
<wt-loader :size="ComponentSize.SM" />
|
|
87
|
+
</div>
|
|
88
|
+
</template>
|
|
82
89
|
</p-select>
|
|
83
90
|
<wt-message
|
|
84
91
|
v-if="isValidation && validationText"
|
|
@@ -165,7 +172,7 @@ const filterInput = useTemplateRef('filterInput');
|
|
|
165
172
|
const selectRef = useTemplateRef('selectRef');
|
|
166
173
|
|
|
167
174
|
const {
|
|
168
|
-
|
|
175
|
+
showFooterLoader,
|
|
169
176
|
isDropdownOpen,
|
|
170
177
|
filterText,
|
|
171
178
|
filteredOptions,
|
|
@@ -226,4 +233,20 @@ onMounted(() => {
|
|
|
226
233
|
.wt-single-select__option-label {
|
|
227
234
|
user-select: none;
|
|
228
235
|
}
|
|
236
|
+
|
|
237
|
+
.wt-single-select__input {
|
|
238
|
+
padding: var(--spacing-xs);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.wt-single-select__footer {
|
|
242
|
+
position: absolute;
|
|
243
|
+
width: 100%;
|
|
244
|
+
transform: translateY(-100%);
|
|
245
|
+
background: var(--p-select-overlay-background);
|
|
246
|
+
border-bottom-left-radius: var(--p-select-overlay-border-radius);
|
|
247
|
+
border-bottom-right-radius: var(--p-select-overlay-border-radius);
|
|
248
|
+
display: flex;
|
|
249
|
+
justify-content: center;
|
|
250
|
+
padding: var(--spacing-xs) 0;
|
|
251
|
+
}
|
|
229
252
|
</style>
|
|
@@ -27,13 +27,37 @@ const inputGroup = {
|
|
|
27
27
|
box-shadow ${dt('inputtext.transition.duration')};
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
.p-inputgroup:has(.p-inputtext-sm) .p-inputgroupaddon {
|
|
31
|
+
font-size: var(--p-inputtext-sm-font-size);
|
|
32
|
+
padding-top: var(--p-inputtext-sm-padding-y);
|
|
33
|
+
padding-bottom: var(--p-inputtext-sm-padding-y);
|
|
34
|
+
padding-left: var(--p-inputtext-sm-padding-x);
|
|
35
|
+
padding-right: var(--p-inputtext-sm-padding-x);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.p-inputgroup:has(.p-inputtext-lg) .p-inputgroupaddon {
|
|
39
|
+
font-size: var(--p-inputtext-lg-font-size);
|
|
40
|
+
padding-top: var(--p-inputtext-lg-padding-y);
|
|
41
|
+
padding-bottom: var(--p-inputtext-lg-padding-y);
|
|
42
|
+
padding-left: var(--p-inputtext-lg-padding-x);
|
|
43
|
+
padding-right: var(--p-inputtext-lg-padding-x);
|
|
44
|
+
}
|
|
45
|
+
|
|
30
46
|
.p-inputtext ~ .p-inputgroupaddon,
|
|
31
|
-
*:has(.p-inputtext) ~ .p-inputgroupaddon
|
|
47
|
+
*:has(.p-inputtext) ~ .p-inputgroupaddon,
|
|
48
|
+
.p-inputgroup:has(.p-inputtext-sm) .p-inputtext ~ .p-inputgroupaddon,
|
|
49
|
+
.p-inputgroup:has(.p-inputtext-sm) *:has(.p-inputtext) ~ .p-inputgroupaddon,
|
|
50
|
+
.p-inputgroup:has(.p-inputtext-lg) .p-inputtext ~ .p-inputgroupaddon,
|
|
51
|
+
.p-inputgroup:has(.p-inputtext-lg) *:has(.p-inputtext) ~ .p-inputgroupaddon {
|
|
32
52
|
padding-left: 0;
|
|
33
53
|
}
|
|
34
54
|
|
|
35
55
|
.p-inputgroupaddon:has(~ .p-inputtext),
|
|
36
|
-
.p-inputgroupaddon:has(~ * .p-inputtext)
|
|
56
|
+
.p-inputgroupaddon:has(~ * .p-inputtext),
|
|
57
|
+
.p-inputgroup:has(.p-inputtext-sm) .p-inputgroupaddon:has(~ .p-inputtext),
|
|
58
|
+
.p-inputgroup:has(.p-inputtext-sm) .p-inputgroupaddon:has(~ * .p-inputtext),
|
|
59
|
+
.p-inputgroup:has(.p-inputtext-lg) .p-inputgroupaddon:has(~ .p-inputtext),
|
|
60
|
+
.p-inputgroup:has(.p-inputtext-lg) .p-inputgroupaddon:has(~ * .p-inputtext) {
|
|
37
61
|
padding-right: 0;
|
|
38
62
|
}
|
|
39
63
|
|
|
@@ -14,6 +14,7 @@ export declare const useSelect: ({ selected, options, optionLabel, optionValue,
|
|
|
14
14
|
emit?: () => void;
|
|
15
15
|
}) => {
|
|
16
16
|
isLoading: import("vue").Ref<boolean, boolean>;
|
|
17
|
+
showFooterLoader: import("vue").Ref<boolean, boolean>;
|
|
17
18
|
isDropdownOpen: import("vue").Ref<boolean, boolean>;
|
|
18
19
|
filterText: import("vue").Ref<string, string>;
|
|
19
20
|
filteredOptions: import("vue").Ref<any, any>;
|
|
@@ -4,6 +4,7 @@ interface WtInputTextProps extends /* @vue-ignore */ InputTextProps {
|
|
|
4
4
|
label?: string;
|
|
5
5
|
labelProps?: Record<string, unknown>;
|
|
6
6
|
type?: string;
|
|
7
|
+
size?: string | null;
|
|
7
8
|
placeholder?: string;
|
|
8
9
|
disabled?: boolean;
|
|
9
10
|
required?: boolean;
|
|
@@ -39,6 +40,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
39
40
|
required: boolean;
|
|
40
41
|
label: string;
|
|
41
42
|
disabled: boolean;
|
|
43
|
+
size: string | null;
|
|
42
44
|
placeholder: string;
|
|
43
45
|
customValidators: unknown[];
|
|
44
46
|
v: Record<string, unknown>;
|