@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
@@ -472,14 +472,20 @@ export declare const messages: {
472
472
  sipAccountValidator: string;
473
473
  ipValidator: string;
474
474
  macValidator: string;
475
- minValue: string;
476
- maxValue: string;
477
- maxLength: string;
478
475
  sameAs: string;
479
476
  requiredArrayValue: string;
477
+ minValue: ({ named }: {
478
+ named: any;
479
+ }) => string;
480
+ maxValue: ({ named }: {
481
+ named: any;
482
+ }) => string;
480
483
  minLength: ({ named }: {
481
484
  named: any;
482
485
  }) => string;
486
+ maxLength: ({ named }: {
487
+ named: any;
488
+ }) => string;
483
489
  url: string;
484
490
  websocketValidator: string;
485
491
  isRegExpMatched: string;
@@ -1309,14 +1315,20 @@ export declare const messages: {
1309
1315
  sipAccountValidator: string;
1310
1316
  ipValidator: string;
1311
1317
  macValidator: string;
1312
- minValue: string;
1313
- maxValue: string;
1314
- maxLength: string;
1315
- sameAs: string;
1316
- requiredArrayValue: string;
1318
+ minValue: ({ named }: {
1319
+ named: any;
1320
+ }) => string;
1321
+ maxValue: ({ named }: {
1322
+ named: any;
1323
+ }) => string;
1317
1324
  minLength: ({ named }: {
1318
1325
  named: any;
1319
1326
  }) => string;
1327
+ maxLength: ({ named }: {
1328
+ named: any;
1329
+ }) => string;
1330
+ sameAs: string;
1331
+ requiredArrayValue: string;
1320
1332
  url: string;
1321
1333
  websocketValidator: string;
1322
1334
  isRegExpMatched: string;
@@ -2144,12 +2156,20 @@ export declare const messages: {
2144
2156
  sipAccountValidator: string;
2145
2157
  ipValidator: string;
2146
2158
  macValidator: string;
2147
- minValue: string;
2148
- maxValue: string;
2149
- maxLength: string;
2159
+ minValue: ({ named }: {
2160
+ named: any;
2161
+ }) => string;
2162
+ maxValue: ({ named }: {
2163
+ named: any;
2164
+ }) => string;
2165
+ maxLength: ({ named }: {
2166
+ named: any;
2167
+ }) => string;
2150
2168
  sameAs: string;
2151
2169
  requiredArrayValue: string;
2152
- minLength: string;
2170
+ minLength: ({ named }: {
2171
+ named: any;
2172
+ }) => string;
2153
2173
  url: string;
2154
2174
  websocketValidator: string;
2155
2175
  isRegExpMatched: string;
@@ -2979,14 +2999,20 @@ export declare const messages: {
2979
2999
  sipAccountValidator: string;
2980
3000
  ipValidator: string;
2981
3001
  macValidator: string;
2982
- minValue: string;
2983
- maxValue: string;
2984
- maxLength: string;
2985
- sameAs: string;
2986
- requiredArrayValue: string;
3002
+ minValue: ({ named }: {
3003
+ named: any;
3004
+ }) => string;
3005
+ maxValue: ({ named }: {
3006
+ named: any;
3007
+ }) => string;
2987
3008
  minLength: ({ named }: {
2988
3009
  named: any;
2989
3010
  }) => string;
3011
+ maxLength: ({ named }: {
3012
+ named: any;
3013
+ }) => string;
3014
+ sameAs: string;
3015
+ requiredArrayValue: string;
2990
3016
  url: string;
2991
3017
  websocketValidator: string;
2992
3018
  isRegExpMatched: string;
@@ -3814,12 +3840,20 @@ export declare const messages: {
3814
3840
  sipAccountValidator: string;
3815
3841
  ipValidator: string;
3816
3842
  macValidator: string;
3817
- minValue: string;
3818
- maxValue: string;
3819
- maxLength: string;
3843
+ minValue: ({ named }: {
3844
+ named: any;
3845
+ }) => string;
3846
+ maxValue: ({ named }: {
3847
+ named: any;
3848
+ }) => string;
3849
+ maxLength: ({ named }: {
3850
+ named: any;
3851
+ }) => string;
3820
3852
  sameAs: string;
3821
3853
  requiredArrayValue: string;
3822
- minLength: string;
3854
+ minLength: ({ named }: {
3855
+ named: any;
3856
+ }) => string;
3823
3857
  url: string;
3824
3858
  websocketValidator: string;
3825
3859
  isRegExpMatched: string;
@@ -4609,6 +4643,20 @@ export declare const messages: {
4609
4643
  };
4610
4644
  };
4611
4645
  };
4646
+ validation: {
4647
+ minValue: ({ named }: {
4648
+ named: any;
4649
+ }) => string;
4650
+ maxValue: ({ named }: {
4651
+ named: any;
4652
+ }) => string;
4653
+ minLength: ({ named }: {
4654
+ named: any;
4655
+ }) => string;
4656
+ maxLength: ({ named }: {
4657
+ named: any;
4658
+ }) => string;
4659
+ };
4612
4660
  systemNotifications: {
4613
4661
  success: {
4614
4662
  update: ({ named }: {
@@ -5091,14 +5139,20 @@ export declare const messages: {
5091
5139
  sipAccountValidator: string;
5092
5140
  ipValidator: string;
5093
5141
  macValidator: string;
5094
- minValue: string;
5095
- maxValue: string;
5096
- maxLength: string;
5097
- sameAs: string;
5098
- requiredArrayValue: string;
5142
+ minValue: ({ named }: {
5143
+ named: any;
5144
+ }) => string;
5145
+ maxValue: ({ named }: {
5146
+ named: any;
5147
+ }) => string;
5099
5148
  minLength: ({ named }: {
5100
5149
  named: any;
5101
5150
  }) => string;
5151
+ maxLength: ({ named }: {
5152
+ named: any;
5153
+ }) => string;
5154
+ sameAs: string;
5155
+ requiredArrayValue: string;
5102
5156
  url: string;
5103
5157
  websocketValidator: string;
5104
5158
  isRegExpMatched: string;
@@ -5928,14 +5982,20 @@ export declare const messages: {
5928
5982
  sipAccountValidator: string;
5929
5983
  ipValidator: string;
5930
5984
  macValidator: string;
5931
- minValue: string;
5932
- maxValue: string;
5933
- maxLength: string;
5934
- sameAs: string;
5935
- requiredArrayValue: string;
5985
+ minValue: ({ named }: {
5986
+ named: any;
5987
+ }) => string;
5988
+ maxValue: ({ named }: {
5989
+ named: any;
5990
+ }) => string;
5936
5991
  minLength: ({ named }: {
5937
5992
  named: any;
5938
5993
  }) => string;
5994
+ maxLength: ({ named }: {
5995
+ named: any;
5996
+ }) => string;
5997
+ sameAs: string;
5998
+ requiredArrayValue: string;
5939
5999
  url: string;
5940
6000
  websocketValidator: string;
5941
6001
  isRegExpMatched: string;
@@ -6765,14 +6825,20 @@ export declare const messages: {
6765
6825
  sipAccountValidator: string;
6766
6826
  ipValidator: string;
6767
6827
  macValidator: string;
6768
- minValue: string;
6769
- maxValue: string;
6770
- maxLength: string;
6771
- sameAs: string;
6772
- requiredArrayValue: string;
6828
+ minValue: ({ named }: {
6829
+ named: any;
6830
+ }) => string;
6831
+ maxValue: ({ named }: {
6832
+ named: any;
6833
+ }) => string;
6773
6834
  minLength: ({ named }: {
6774
6835
  named: any;
6775
6836
  }) => string;
6837
+ maxLength: ({ named }: {
6838
+ named: any;
6839
+ }) => string;
6840
+ sameAs: string;
6841
+ requiredArrayValue: string;
6776
6842
  url: string;
6777
6843
  websocketValidator: string;
6778
6844
  isRegExpMatched: string;
@@ -7139,4 +7205,4 @@ export declare const messages: {
7139
7205
  };
7140
7206
  };
7141
7207
  };
7142
- export { en, es, ru, ro, uk, kz, pl, uz, vi, };
7208
+ export { en, es, kz, pl, ro, ru, uk, uz, vi, };
@@ -456,6 +456,20 @@ declare namespace _default {
456
456
  }
457
457
  }
458
458
  export { filters_1 as filters };
459
+ export namespace validation {
460
+ function minValue({ named }: {
461
+ named: any;
462
+ }): string;
463
+ function maxValue({ named }: {
464
+ named: any;
465
+ }): string;
466
+ function minLength({ named }: {
467
+ named: any;
468
+ }): string;
469
+ function maxLength({ named }: {
470
+ named: any;
471
+ }): string;
472
+ }
459
473
  export namespace systemNotifications {
460
474
  export namespace success_1 {
461
475
  export function update_2({ named }: {
@@ -485,14 +485,20 @@ declare namespace _default {
485
485
  export let sipAccountValidator: string;
486
486
  export let ipValidator: string;
487
487
  export let macValidator: string;
488
- export let minValue: string;
489
- export let maxValue: string;
490
- export let maxLength: string;
491
- export let sameAs: string;
492
- export let requiredArrayValue: string;
488
+ export function minValue({ named }: {
489
+ named: any;
490
+ }): string;
491
+ export function maxValue({ named }: {
492
+ named: any;
493
+ }): string;
493
494
  export function minLength({ named }: {
494
495
  named: any;
495
496
  }): string;
497
+ export function maxLength({ named }: {
498
+ named: any;
499
+ }): string;
500
+ export let sameAs: string;
501
+ export let requiredArrayValue: string;
496
502
  export let url: string;
497
503
  export let websocketValidator: string;
498
504
  export let isRegExpMatched: string;
@@ -485,14 +485,20 @@ declare namespace _default {
485
485
  export let sipAccountValidator: string;
486
486
  export let ipValidator: string;
487
487
  export let macValidator: string;
488
- export let minValue: string;
489
- export let maxValue: string;
490
- export let maxLength: string;
491
- export let sameAs: string;
492
- export let requiredArrayValue: string;
488
+ export function minValue({ named }: {
489
+ named: any;
490
+ }): string;
491
+ export function maxValue({ named }: {
492
+ named: any;
493
+ }): string;
493
494
  export function minLength({ named }: {
494
495
  named: any;
495
496
  }): string;
497
+ export function maxLength({ named }: {
498
+ named: any;
499
+ }): string;
500
+ export let sameAs: string;
501
+ export let requiredArrayValue: string;
496
502
  export let url: string;
497
503
  export let websocketValidator: string;
498
504
  export let isRegExpMatched: string;
@@ -483,12 +483,20 @@ declare namespace _default {
483
483
  export let sipAccountValidator: string;
484
484
  export let ipValidator: string;
485
485
  export let macValidator: string;
486
- export let minValue: string;
487
- export let maxValue: string;
488
- export let maxLength: string;
486
+ export function minValue({ named }: {
487
+ named: any;
488
+ }): string;
489
+ export function maxValue({ named }: {
490
+ named: any;
491
+ }): string;
492
+ export function maxLength({ named }: {
493
+ named: any;
494
+ }): string;
489
495
  export let sameAs: string;
490
496
  export let requiredArrayValue: string;
491
- export let minLength: string;
497
+ export function minLength({ named }: {
498
+ named: any;
499
+ }): string;
492
500
  export let url: string;
493
501
  export let websocketValidator: string;
494
502
  export let isRegExpMatched: string;
@@ -483,12 +483,20 @@ declare namespace _default {
483
483
  export let sipAccountValidator: string;
484
484
  export let ipValidator: string;
485
485
  export let macValidator: string;
486
- export let minValue: string;
487
- export let maxValue: string;
488
- export let maxLength: string;
486
+ export function minValue({ named }: {
487
+ named: any;
488
+ }): string;
489
+ export function maxValue({ named }: {
490
+ named: any;
491
+ }): string;
492
+ export function maxLength({ named }: {
493
+ named: any;
494
+ }): string;
489
495
  export let sameAs: string;
490
496
  export let requiredArrayValue: string;
491
- export let minLength: string;
497
+ export function minLength({ named }: {
498
+ named: any;
499
+ }): string;
492
500
  export let url: string;
493
501
  export let websocketValidator: string;
494
502
  export let isRegExpMatched: string;
@@ -485,14 +485,20 @@ declare namespace _default {
485
485
  export let sipAccountValidator: string;
486
486
  export let ipValidator: string;
487
487
  export let macValidator: string;
488
- export let minValue: string;
489
- export let maxValue: string;
490
- export let maxLength: string;
491
- export let sameAs: string;
492
- export let requiredArrayValue: string;
488
+ export function minValue({ named }: {
489
+ named: any;
490
+ }): string;
491
+ export function maxValue({ named }: {
492
+ named: any;
493
+ }): string;
493
494
  export function minLength({ named }: {
494
495
  named: any;
495
496
  }): string;
497
+ export function maxLength({ named }: {
498
+ named: any;
499
+ }): string;
500
+ export let sameAs: string;
501
+ export let requiredArrayValue: string;
496
502
  export let url: string;
497
503
  export let websocketValidator: string;
498
504
  export let isRegExpMatched: string;
@@ -485,14 +485,20 @@ declare namespace _default {
485
485
  export let sipAccountValidator: string;
486
486
  export let ipValidator: string;
487
487
  export let macValidator: string;
488
- export let minValue: string;
489
- export let maxValue: string;
490
- export let maxLength: string;
491
- export let sameAs: string;
492
- export let requiredArrayValue: string;
488
+ export function minValue({ named }: {
489
+ named: any;
490
+ }): string;
491
+ export function maxValue({ named }: {
492
+ named: any;
493
+ }): string;
493
494
  export function minLength({ named }: {
494
495
  named: any;
495
496
  }): string;
497
+ export function maxLength({ named }: {
498
+ named: any;
499
+ }): string;
500
+ export let sameAs: string;
501
+ export let requiredArrayValue: string;
496
502
  export let url: string;
497
503
  export let websocketValidator: string;
498
504
  export let isRegExpMatched: string;
@@ -30,5 +30,6 @@ export declare const SpecialGlobalAction: {
30
30
  readonly ViewCdrPhoneNumbers: "view_cdr_phone_numbers";
31
31
  readonly ChangeUserPassword: "change_user_password";
32
32
  readonly EavesdropCall: "eavesdrop_call";
33
+ readonly ControlAgentScreen: "control_agent_screen";
33
34
  };
34
35
  export type SpecialGlobalAction = (typeof SpecialGlobalAction)[keyof typeof SpecialGlobalAction];
@@ -3,6 +3,6 @@ export const SortSymbols: Readonly<{
3
3
  DESC: "desc";
4
4
  NONE: any;
5
5
  }>;
6
- export function sortToQueryAdapter(order: any): "" | "+" | "-";
6
+ export function sortToQueryAdapter(order: any): "-" | "" | "+";
7
7
  export function queryToSortAdapter(order: any): any;
8
8
  export function getNextSortOrder(sort: any): any;
@@ -0,0 +1,2 @@
1
+ export declare const EMPTY_SYMBOL = "-";
2
+ export declare const displayText: (text: string) => string;
@@ -0,0 +1 @@
1
+ export * from './displayText';