@webitel/ui-sdk 25.8.31 → 25.8.33

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.
Files changed (70) hide show
  1. package/dist/ui-sdk.css +1 -1
  2. package/dist/ui-sdk.js +6982 -7018
  3. package/dist/ui-sdk.umd.cjs +559 -559
  4. package/package.json +10 -1
  5. package/src/components/index.js +3 -0
  6. package/src/components/on-demand/wt-display-chip-items/wt-display-chip-items.vue +67 -0
  7. package/src/components/on-demand/wt-selection-popup/wt-selection-popup.vue +7 -10
  8. package/src/components/wt-app-header/wt-app-navigator.vue +7 -11
  9. package/src/components/wt-app-header/wt-header-actions.vue +8 -12
  10. package/src/components/wt-context-menu/wt-context-menu.vue +40 -36
  11. package/src/components/wt-copy-action/wt-copy-action.vue +7 -11
  12. package/src/components/wt-icon-action/wt-icon-action.vue +8 -12
  13. package/src/components/wt-label/wt-label.vue +2 -1
  14. package/src/components/wt-pagination/wt-pagination.vue +15 -22
  15. package/src/components/wt-popover/wt-popover.vue +36 -18
  16. package/src/components/wt-search-bar/wt-search-bar.vue +5 -9
  17. package/src/components/wt-select/wt-select.vue +16 -15
  18. package/src/components/wt-table-actions/wt-table-actions.vue +43 -55
  19. package/src/components/wt-table-column-select/wt-table-column-select.vue +6 -9
  20. package/src/locale/en/en.js +24 -3
  21. package/src/locale/es/es.js +23 -6
  22. package/src/locale/kz/kz.js +324 -294
  23. package/src/locale/pl/pl.js +23 -6
  24. package/src/locale/ro/ro.js +23 -6
  25. package/src/locale/ru/ru.js +28 -4
  26. package/src/locale/uk/uk.js +28 -4
  27. package/src/locale/uz/uz.js +23 -6
  28. package/src/locale/vi/vi.js +23 -6
  29. package/src/mixins/validationMixin/validationMixin.js +5 -3
  30. package/src/mixins/validationMixin/vuelidate/useVuelidateValidation.ts +5 -5
  31. package/src/modules/AuditForm/components/audit-form-question-write-wrapper.vue +12 -19
  32. package/src/modules/AuditForm/components/form-questions/options/audit-form-question-options-write-row.vue +7 -10
  33. package/src/modules/Userinfo/v2/enums/GlobalActions/GlobalActions.ts +1 -0
  34. package/src/utils/displayText.ts +3 -0
  35. package/src/utils/index.ts +1 -0
  36. package/src/validations/config/errors/customZodErrorsHandler.ts +19 -2
  37. package/types/components/index.d.ts +3 -1
  38. package/types/components/on-demand/wt-display-chip-items/wt-display-chip-items.vue.d.ts +38 -0
  39. package/types/components/on-demand/wt-navigation-menu/components/wt-navigation-menu.vue.d.ts +2 -2
  40. package/types/components/on-demand/wt-selection-popup/wt-selection-popup.vue.d.ts +2 -2
  41. package/types/components/wt-checkbox/wt-checkbox.vue.d.ts +5 -5
  42. package/types/components/wt-context-menu/wt-context-menu.vue.d.ts +4 -1
  43. package/types/components/wt-datepicker/wt-datepicker.vue.d.ts +2 -2
  44. package/types/components/wt-input/wt-input.vue.d.ts +2 -2
  45. package/types/components/wt-item-link/wt-item-link.vue.d.ts +2 -2
  46. package/types/components/wt-player/wt-player.vue.d.ts +2 -2
  47. package/types/components/wt-popover/wt-popover.vue.d.ts +32 -15
  48. package/types/components/wt-radio/wt-radio.vue.d.ts +6 -6
  49. package/types/components/wt-search-bar/wt-search-bar.vue.d.ts +6 -6
  50. package/types/components/wt-slider/wt-slider.vue.d.ts +2 -2
  51. package/types/components/wt-textarea/wt-textarea.vue.d.ts +2 -2
  52. package/types/components/wt-time-input/wt-time-input.vue.d.ts +1 -1
  53. package/types/components/wt-timepicker/wt-timepicker.vue.d.ts +1 -1
  54. package/types/components/wt-tooltip/_internals/wt-tooltip-floating.vue.d.ts +1 -1
  55. package/types/components/wt-tooltip/wt-tooltip.vue.d.ts +2 -2
  56. package/types/locale/en/en.d.ts +9 -3
  57. package/types/locale/es/es.d.ts +11 -5
  58. package/types/locale/i18n.d.ts +102 -36
  59. package/types/locale/index.d.ts +103 -37
  60. package/types/locale/kz/kz.d.ts +14 -0
  61. package/types/locale/pl/pl.d.ts +11 -5
  62. package/types/locale/ro/ro.d.ts +11 -5
  63. package/types/locale/ru/ru.d.ts +12 -4
  64. package/types/locale/uk/uk.d.ts +12 -4
  65. package/types/locale/uz/uz.d.ts +11 -5
  66. package/types/locale/vi/vi.d.ts +11 -5
  67. package/types/modules/Userinfo/v2/enums/GlobalActions/GlobalActions.d.ts +1 -0
  68. package/types/scripts/sortQueryAdapters.d.ts +1 -1
  69. package/types/utils/displayText.d.ts +2 -0
  70. package/types/utils/index.d.ts +1 -0
@@ -352,11 +352,24 @@ export default {
352
352
  sipAccountValidator: 'Should look like SIP account',
353
353
  ipValidator: 'Should look like IPv4',
354
354
  macValidator: 'Should look like MAC',
355
- minValue: 'Value should be not less than',
356
- maxValue: 'Value should be not much than',
357
- maxLength: 'The length should not be greater than',
358
355
  sameAs: 'Incorrect password',
359
356
  requiredArrayValue: 'Array should not be empty',
357
+ minValue: ({ named }) => {
358
+ let text = 'Value should be not less than';
359
+ if (named('min')) {
360
+ text += ` ${named('min')}`;
361
+ }
362
+
363
+ return text;
364
+ },
365
+ maxValue: ({ named }) => {
366
+ let text = 'Value should be not greater than';
367
+ if (named('max')) {
368
+ text += ` ${named('max')}`;
369
+ }
370
+ return text;
371
+ },
372
+
360
373
  minLength: ({ named }) => {
361
374
  let text = 'The length should not be less than';
362
375
  if (named('min')) {
@@ -365,6 +378,14 @@ export default {
365
378
 
366
379
  return text;
367
380
  },
381
+ maxLength: ({ named }) => {
382
+ let text = 'The length should not be greater than';
383
+ if (named('max')) {
384
+ text += ` ${named('max')}`;
385
+ }
386
+
387
+ return text;
388
+ },
368
389
  url: 'Should look like URL',
369
390
  websocketValidator: 'Should look like WebSocket url',
370
391
  isRegExpMatched: 'Password must match the regular expression:',
@@ -348,19 +348,36 @@ export default {
348
348
  sipAccountValidator: 'Debe parecer una cuenta SIP',
349
349
  ipValidator: 'Debe parecer una IPv4',
350
350
  macValidator: 'Debe parecer una MAC',
351
- minValue: 'El valor no debe ser menor que',
352
- maxValue: 'El valor no debe ser mayor que',
353
- maxLength: 'La longitud no debe ser mayor que',
354
- sameAs: 'Contraseña incorrecta',
355
- requiredArrayValue: 'El arreglo no debe estar vacío',
351
+ minValue: ({ named }) => {
352
+ let text = 'El valor no debe ser menor que';
353
+ if (named('min')) {
354
+ text += ` ${named('min')}`;
355
+ }
356
+ return text;
357
+ },
358
+ maxValue: ({ named }) => {
359
+ let text = 'El valor no debe ser mayor que';
360
+ if (named('max')) {
361
+ text += ` ${named('max')}`;
362
+ }
363
+ return text;
364
+ },
356
365
  minLength: ({ named }) => {
357
366
  let text = 'La longitud no debe ser menor que';
358
367
  if (named('min')) {
359
368
  text += ` ${named('min')}`;
360
369
  }
361
-
362
370
  return text;
363
371
  },
372
+ maxLength: ({ named }) => {
373
+ let text = 'La longitud no debe ser mayor que';
374
+ if (named('max')) {
375
+ text += ` ${named('max')}`;
376
+ }
377
+ return text;
378
+ },
379
+ sameAs: 'Contraseña incorrecta',
380
+ requiredArrayValue: 'El arreglo no debe estar vacío',
364
381
  url: 'Debe parecer una URL',
365
382
  websocketValidator: 'Debe parecer una URL de WebSocket',
366
383
  isRegExpMatched: 'La contraseña debe coincidir con la expresión regular:',