@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.
@@ -1,4 +1,4 @@
1
- import "./components-CEzSTT35.js";
1
+ import "./components-2ckQ8xrZ.js";
2
2
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { l as t } from "./enums-De8CDKZ1.js";
4
4
  import { t as n } from "./wt-button-dC4nOW56.js";
@@ -1,4 +1,4 @@
1
- import { C as e, i as t } from "./components-CEzSTT35.js";
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-CEzSTT35.js";
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
@@ -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-CEzSTT35.js";
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";
@@ -1,4 +1,4 @@
1
- import { w as e } from "./components-CEzSTT35.js";
1
+ import { w as e } from "./components-2ckQ8xrZ.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { l as n } from "./enums-De8CDKZ1.js";
4
4
  import "./wt-button-dC4nOW56.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.6.114",
3
+ "version": "26.6.116",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -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(() => model.value.length && isValueHidden.value);
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>
@@ -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 should be not less than';
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 should be not greater than';
458
+ let text = 'Value cannot be greater than';
459
459
  if (named('max')) {
460
460
  text += ` ${named('max')}`;
461
461
  }