@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.
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +6982 -7018
- package/dist/ui-sdk.umd.cjs +559 -559
- package/package.json +10 -1
- package/src/components/index.js +3 -0
- package/src/components/on-demand/wt-display-chip-items/wt-display-chip-items.vue +67 -0
- package/src/components/on-demand/wt-selection-popup/wt-selection-popup.vue +7 -10
- package/src/components/wt-app-header/wt-app-navigator.vue +7 -11
- package/src/components/wt-app-header/wt-header-actions.vue +8 -12
- package/src/components/wt-context-menu/wt-context-menu.vue +40 -36
- package/src/components/wt-copy-action/wt-copy-action.vue +7 -11
- package/src/components/wt-icon-action/wt-icon-action.vue +8 -12
- package/src/components/wt-label/wt-label.vue +2 -1
- package/src/components/wt-pagination/wt-pagination.vue +15 -22
- package/src/components/wt-popover/wt-popover.vue +36 -18
- package/src/components/wt-search-bar/wt-search-bar.vue +5 -9
- package/src/components/wt-select/wt-select.vue +16 -15
- package/src/components/wt-table-actions/wt-table-actions.vue +43 -55
- package/src/components/wt-table-column-select/wt-table-column-select.vue +6 -9
- package/src/locale/en/en.js +24 -3
- package/src/locale/es/es.js +23 -6
- package/src/locale/kz/kz.js +324 -294
- package/src/locale/pl/pl.js +23 -6
- package/src/locale/ro/ro.js +23 -6
- package/src/locale/ru/ru.js +28 -4
- package/src/locale/uk/uk.js +28 -4
- package/src/locale/uz/uz.js +23 -6
- package/src/locale/vi/vi.js +23 -6
- package/src/mixins/validationMixin/validationMixin.js +5 -3
- package/src/mixins/validationMixin/vuelidate/useVuelidateValidation.ts +5 -5
- package/src/modules/AuditForm/components/audit-form-question-write-wrapper.vue +12 -19
- package/src/modules/AuditForm/components/form-questions/options/audit-form-question-options-write-row.vue +7 -10
- package/src/modules/Userinfo/v2/enums/GlobalActions/GlobalActions.ts +1 -0
- package/src/utils/displayText.ts +3 -0
- package/src/utils/index.ts +1 -0
- package/src/validations/config/errors/customZodErrorsHandler.ts +19 -2
- package/types/components/index.d.ts +3 -1
- package/types/components/on-demand/wt-display-chip-items/wt-display-chip-items.vue.d.ts +38 -0
- package/types/components/on-demand/wt-navigation-menu/components/wt-navigation-menu.vue.d.ts +2 -2
- package/types/components/on-demand/wt-selection-popup/wt-selection-popup.vue.d.ts +2 -2
- package/types/components/wt-checkbox/wt-checkbox.vue.d.ts +5 -5
- package/types/components/wt-context-menu/wt-context-menu.vue.d.ts +4 -1
- package/types/components/wt-datepicker/wt-datepicker.vue.d.ts +2 -2
- package/types/components/wt-input/wt-input.vue.d.ts +2 -2
- package/types/components/wt-item-link/wt-item-link.vue.d.ts +2 -2
- package/types/components/wt-player/wt-player.vue.d.ts +2 -2
- package/types/components/wt-popover/wt-popover.vue.d.ts +32 -15
- package/types/components/wt-radio/wt-radio.vue.d.ts +6 -6
- package/types/components/wt-search-bar/wt-search-bar.vue.d.ts +6 -6
- package/types/components/wt-slider/wt-slider.vue.d.ts +2 -2
- package/types/components/wt-textarea/wt-textarea.vue.d.ts +2 -2
- package/types/components/wt-time-input/wt-time-input.vue.d.ts +1 -1
- package/types/components/wt-timepicker/wt-timepicker.vue.d.ts +1 -1
- package/types/components/wt-tooltip/_internals/wt-tooltip-floating.vue.d.ts +1 -1
- package/types/components/wt-tooltip/wt-tooltip.vue.d.ts +2 -2
- package/types/locale/en/en.d.ts +9 -3
- package/types/locale/es/es.d.ts +11 -5
- package/types/locale/i18n.d.ts +102 -36
- package/types/locale/index.d.ts +103 -37
- package/types/locale/kz/kz.d.ts +14 -0
- package/types/locale/pl/pl.d.ts +11 -5
- package/types/locale/ro/ro.d.ts +11 -5
- package/types/locale/ru/ru.d.ts +12 -4
- package/types/locale/uk/uk.d.ts +12 -4
- package/types/locale/uz/uz.d.ts +11 -5
- package/types/locale/vi/vi.d.ts +11 -5
- package/types/modules/Userinfo/v2/enums/GlobalActions/GlobalActions.d.ts +1 -0
- package/types/scripts/sortQueryAdapters.d.ts +1 -1
- package/types/utils/displayText.d.ts +2 -0
- package/types/utils/index.d.ts +1 -0
package/src/locale/en/en.js
CHANGED
|
@@ -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:',
|
package/src/locale/es/es.js
CHANGED
|
@@ -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:
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
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:',
|