@webitel/ui-sdk 24.10.27 → 24.10.28
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/img/sprite/copy.svg +5 -2
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +3445 -3440
- package/dist/ui-sdk.umd.cjs +15 -15
- package/package.json +1 -1
- package/src/components/wt-input/wt-input.vue +8 -0
package/package.json
CHANGED
|
@@ -259,9 +259,17 @@ function updateInputPaddings() {
|
|
|
259
259
|
inputEl.style.paddingRight = `calc(${defaultInputPadding} * 2 + ${afterWrapperWidth}px)`;
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
+
function focus () {
|
|
263
|
+
WtInput.value.focus();
|
|
264
|
+
}
|
|
265
|
+
|
|
262
266
|
onMounted(() => {
|
|
263
267
|
updateInputPaddings();
|
|
264
268
|
});
|
|
269
|
+
|
|
270
|
+
defineExpose({
|
|
271
|
+
focus,
|
|
272
|
+
});
|
|
265
273
|
</script>
|
|
266
274
|
|
|
267
275
|
<style lang="scss">
|