@webitel/ui-sdk 26.6.114 → 26.6.116
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-CEzSTT35.js → components-2ckQ8xrZ.js} +5 -5
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +1 -1
- package/dist/{wt-chat-emoji-DVdHmB1F.js → wt-chat-emoji-Ze-5vJN9.js} +1 -1
- package/dist/{wt-display-chip-items-6h4A9tAJ.js → wt-display-chip-items-B5NinH8I.js} +1 -1
- package/dist/{wt-send-message-popup-4lS02kts.js → wt-send-message-popup-BfLE58p6.js} +1 -1
- package/dist/{wt-type-extension-value-input-BNd0fqvB.js → wt-type-extension-value-input-B6JYm-Sz.js} +1 -1
- package/dist/{wt-vidstack-player-aa4_EPDe.js → wt-vidstack-player-BSb0FwKB.js} +1 -1
- package/package.json +1 -1
- package/src/components/wt-input-text/wt-input-text.vue +7 -5
- package/src/locale/en/en.js +2 -2
- 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-2ckQ8xrZ.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-2ckQ8xrZ.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-BNd0fqvB.js → wt-type-extension-value-input-B6JYm-Sz.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-2ckQ8xrZ.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
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
</slot>
|
|
16
16
|
</wt-label>
|
|
17
17
|
<p-input-group>
|
|
18
|
-
<p-input-group-addon
|
|
19
|
-
v-if="$slots.prefix"
|
|
18
|
+
<p-input-group-addon
|
|
19
|
+
v-if="$slots.prefix"
|
|
20
20
|
class="wt-input-text__addon typo-body-1"
|
|
21
21
|
>
|
|
22
22
|
<slot name="prefix" />
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
:inputmode="type"
|
|
35
35
|
:size="primevueSizeMap[size]"
|
|
36
36
|
v-bind="$attrs"
|
|
37
|
-
v-on="$listeners"
|
|
37
|
+
v-on="$listeners"
|
|
38
38
|
@update:model-value="inputHandler"
|
|
39
39
|
@keyup="handleKeyup"
|
|
40
40
|
/>
|
|
@@ -155,7 +155,9 @@ const inputHandler = (value) => {
|
|
|
155
155
|
|
|
156
156
|
const isValueHidden = ref(props.hideInputValue);
|
|
157
157
|
|
|
158
|
-
const isInputMasked = computed(
|
|
158
|
+
const isInputMasked = computed(
|
|
159
|
+
() => !!model.value?.length && isValueHidden.value,
|
|
160
|
+
);
|
|
159
161
|
const hasSuffixAddon = computed(() => props.hideInputValue || slots.suffix);
|
|
160
162
|
|
|
161
163
|
const eyeIconName = computed(() =>
|
|
@@ -172,4 +174,4 @@ defineExpose({
|
|
|
172
174
|
font-family: 'text-security-disc', sans-serif;
|
|
173
175
|
-webkit-text-security: disc;
|
|
174
176
|
}
|
|
175
|
-
</style>
|
|
177
|
+
</style>
|
package/src/locale/en/en.js
CHANGED
|
@@ -447,7 +447,7 @@ export default deepmerge(
|
|
|
447
447
|
sameAs: 'Incorrect password',
|
|
448
448
|
requiredArrayValue: 'Array should not be empty',
|
|
449
449
|
minValue: ({ named }) => {
|
|
450
|
-
let text = 'Value
|
|
450
|
+
let text = 'Value cannot be less than';
|
|
451
451
|
if (named('min')) {
|
|
452
452
|
text += ` ${named('min')}`;
|
|
453
453
|
}
|
|
@@ -455,7 +455,7 @@ export default deepmerge(
|
|
|
455
455
|
return text;
|
|
456
456
|
},
|
|
457
457
|
maxValue: ({ named }) => {
|
|
458
|
-
let text = 'Value
|
|
458
|
+
let text = 'Value cannot be greater than';
|
|
459
459
|
if (named('max')) {
|
|
460
460
|
text += ` ${named('max')}`;
|
|
461
461
|
}
|