@webitel/ui-sdk 25.4.37 → 25.4.39

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 (182) hide show
  1. package/CHANGELOG.md +391 -238
  2. package/dist/ui-sdk.css +1 -1
  3. package/dist/ui-sdk.js +8737 -8361
  4. package/dist/ui-sdk.umd.cjs +20 -17
  5. package/package.json +42 -37
  6. package/src/api/clients/casePriorities/casePriorities.js +13 -3
  7. package/src/api/clients/caseSources/caseSources.js +13 -24
  8. package/src/api/clients/slas/slas.js +16 -26
  9. package/src/api/clients//321/201ontacts/contacts.js +1 -0
  10. package/src/api/transformers/skipIf/skipIf.ts +8 -3
  11. package/src/api/websocket/WebSocketClientController.js +21 -14
  12. package/src/api/websocket/config.js +5 -4
  13. package/src/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-1.vue +2 -2
  14. package/src/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-2.vue +4 -4
  15. package/src/components/on-demand/wt-navigation-menu/components/wt-navigation-menu.vue +5 -5
  16. package/src/components/on-demand/wt-navigation-menu/css/_nav-menu.scss +5 -5
  17. package/src/components/on-demand/wt-save-failed-popup/wt-save-failed-popup.vue +1 -1
  18. package/src/components/on-demand/wt-selection-popup/wt-selection-popup.vue +3 -3
  19. package/src/components/on-demand/wt-start-page/components/start-page-card.vue +6 -6
  20. package/src/components/on-demand/wt-start-page/components/start-page-logo.vue +1 -1
  21. package/src/components/on-demand/wt-start-page/components/wt-start-page.vue +2 -2
  22. package/src/components/transitions/wt-expand-transition.vue +1 -1
  23. package/src/components/wt-action-bar/wt-action-bar.vue +1 -1
  24. package/src/components/wt-app-header/wt-app-header.vue +4 -4
  25. package/src/components/wt-app-header/wt-app-navigator.vue +14 -14
  26. package/src/components/wt-app-header/wt-header-actions.vue +19 -14
  27. package/src/components/wt-avatar/wt-avatar.vue +4 -4
  28. package/src/components/wt-badge/wt-badge.vue +1 -1
  29. package/src/components/wt-button/wt-button.vue +18 -18
  30. package/src/components/wt-button-select/wt-button-select.vue +4 -4
  31. package/src/components/wt-checkbox/wt-checkbox.vue +4 -4
  32. package/src/components/wt-chip/wt-chip.scss +9 -9
  33. package/src/components/wt-confirm-dialog/wt-confirm-dialog.vue +2 -2
  34. package/src/components/wt-context-menu/wt-context-menu.vue +4 -4
  35. package/src/components/wt-datepicker/wt-datepicker.vue +4 -4
  36. package/src/components/wt-divider/wt-divider.vue +11 -11
  37. package/src/components/wt-dual-panel/wt-dual-panel.vue +11 -11
  38. package/src/components/wt-dummy/wt-dummy.vue +2 -2
  39. package/src/components/wt-empty/wt-empty.vue +9 -9
  40. package/src/components/wt-error-page/wt-error-page.vue +4 -4
  41. package/src/components/wt-expansion-panel/wt-expansion-panel.vue +4 -4
  42. package/src/components/wt-headline/wt-headline.vue +4 -4
  43. package/src/components/wt-headline-nav/wt-headline-nav.vue +4 -4
  44. package/src/components/wt-icon/wt-icon.vue +2 -2
  45. package/src/components/wt-icon-action/wt-icon-action.vue +1 -1
  46. package/src/components/wt-icon-btn/wt-icon-btn.vue +1 -1
  47. package/src/components/wt-image/wt-image.vue +1 -1
  48. package/src/components/wt-indicator/wt-indicator.vue +2 -2
  49. package/src/components/wt-input/wt-input.vue +10 -10
  50. package/src/components/wt-input-info/wt-input-info.vue +1 -1
  51. package/src/components/wt-item-link/wt-item-link.vue +1 -1
  52. package/src/components/wt-label/wt-label.vue +1 -1
  53. package/src/components/wt-load-bar/wt-load-bar.vue +5 -5
  54. package/src/components/wt-loader/_internals/wt-loader--md.vue +5 -5
  55. package/src/components/wt-loader/_internals/wt-loader--sm.vue +1 -1
  56. package/src/components/wt-logo/wt-logo.vue +13 -4
  57. package/src/components/wt-navigation-bar/types/WtNavigationBar.d.ts +8 -9
  58. package/src/components/wt-navigation-bar/wt-navigation-bar.vue +17 -17
  59. package/src/components/wt-notification/wt-notification.vue +7 -7
  60. package/src/components/wt-notifications-bar/wt-notifications-bar.vue +2 -2
  61. package/src/components/wt-page-wrapper/wt-page-wrapper.vue +4 -4
  62. package/src/components/wt-player/wt-player.vue +6 -6
  63. package/src/components/wt-popup/wt-popup.vue +18 -18
  64. package/src/components/wt-progress-bar/wt-progress-bar.vue +6 -6
  65. package/src/components/wt-radio/wt-radio.vue +3 -3
  66. package/src/components/wt-rounded-action/wt-rounded-action.vue +3 -3
  67. package/src/components/wt-search-bar/wt-search-bar.vue +9 -9
  68. package/src/components/wt-select/_multiselect.scss +18 -18
  69. package/src/components/wt-select/wt-select.vue +3 -3
  70. package/src/components/wt-slider/wt-slider.vue +12 -12
  71. package/src/components/wt-status-select/wt-status-select.vue +4 -4
  72. package/src/components/wt-stepper/wt-stepper.vue +2 -2
  73. package/src/components/wt-switcher/wt-switcher.vue +8 -8
  74. package/src/components/wt-table/wt-table.vue +5 -5
  75. package/src/components/wt-table-actions/wt-table-actions.vue +1 -1
  76. package/src/components/wt-table-column-select/wt-table-column-select.vue +4 -4
  77. package/src/components/wt-tabs/wt-tabs.vue +9 -9
  78. package/src/components/wt-tags-input/wt-tags-input.vue +8 -8
  79. package/src/components/wt-textarea/wt-textarea.vue +11 -11
  80. package/src/components/wt-time-input/wt-time-input.vue +6 -6
  81. package/src/components/wt-timepicker/wt-timepicker.vue +1 -1
  82. package/src/components/wt-tooltip/wt-tooltip.vue +4 -4
  83. package/src/components/wt-tree/types/WtTreeMode.js +2 -2
  84. package/src/components/wt-tree/wt-tree.vue +9 -9
  85. package/src/components/wt-tree-line/_variables.scss +0 -1
  86. package/src/components/wt-tree-line/types/wt-tree-nested-icons.ts +3 -3
  87. package/src/components/wt-tree-line/wt-tree-line.vue +2 -2
  88. package/src/components/wt-tree-table/wt-tree-table.vue +3 -3
  89. package/src/components/wt-tree-table-row/wt-tree-table-row.vue +1 -1
  90. package/src/composables/useAccessControl/v2/createUserAccessControl.ts +7 -4
  91. package/src/composables/useAccessControl/v2/types/CreateUserAccessControl.d.ts +6 -4
  92. package/src/composables/useWtTable/useWtTable.js +20 -19
  93. package/src/css/main.scss +6 -6
  94. package/src/css/pages/card-page.scss +6 -6
  95. package/src/css/pages/table-page.scss +5 -5
  96. package/src/enums/ComponentSize/ComponentSize.js +9 -9
  97. package/src/enums/CrudAction/CrudAction.js +4 -4
  98. package/src/enums/WebitelApplications/AdminSections.js +37 -37
  99. package/src/enums/WebitelApplications/AuditorSections.js +1 -1
  100. package/src/enums/WebitelApplications/CrmSections.enum.js +2 -1
  101. package/src/enums/WebitelApplications/CrmSections.js +12 -12
  102. package/src/enums/WebitelApplications/CrmSections.ts +13 -13
  103. package/src/enums/WebitelApplications/SupervisorSections.js +3 -3
  104. package/src/enums/WebitelApplications/WtApplication.js +7 -7
  105. package/src/enums/index.js +17 -1
  106. package/src/locale/ru/ru.js +2 -1
  107. package/src/locale/ua/ua.js +2 -1
  108. package/src/mixins/validationMixin/useValidation.js +3 -1
  109. package/src/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue +1 -1
  110. package/src/modules/AgentStatusSelect/components/_internals/wt-cc-status-select-error-popup.vue +1 -1
  111. package/src/modules/AuditForm/components/audit-form-question-read-wrapper.vue +3 -3
  112. package/src/modules/AuditForm/components/audit-form-question-write-wrapper.vue +4 -4
  113. package/src/modules/AuditForm/components/audit-form-question.vue +2 -2
  114. package/src/modules/AuditForm/components/questions/score/audit-form-question-score.vue +1 -1
  115. package/src/modules/DeleteConfirmationPopup/components/delete-confirmation-popup.vue +1 -1
  116. package/src/modules/Filters/v2/filter-presets/components/_shared/input-fields/preset-description-field.vue +3 -7
  117. package/src/modules/Filters/v2/filter-presets/components/_shared/input-fields/preset-name-field.vue +3 -6
  118. package/src/modules/Filters/v2/filter-presets/components/_shared/preset-filters-preview.vue +8 -15
  119. package/src/modules/Filters/v2/filter-presets/components/apply-preset/apply-preset-action.vue +55 -49
  120. package/src/modules/Filters/v2/filter-presets/components/apply-preset/preset-preview.vue +39 -27
  121. package/src/modules/Filters/v2/filter-presets/components/save-preset/overwrite-preset-popup.vue +3 -1
  122. package/src/modules/Filters/v2/filter-presets/components/save-preset/save-preset-action.vue +40 -24
  123. package/src/modules/Filters/v2/filter-presets/components/save-preset/save-preset-popup.vue +2 -2
  124. package/src/modules/Filters/v2/filter-presets/index.ts +3 -8
  125. package/src/modules/Filters/v2/filter-presets/stores/createFilterPresetsStore.ts +11 -9
  126. package/src/modules/Filters/v2/filter-presets/stores/headers/headers.ts +21 -21
  127. package/src/modules/Filters/v2/filters/components/config/dynamic-filter-config-form.vue +2 -2
  128. package/src/modules/Filters/v2/filters/components/dynamic-filter-add-action.vue +3 -3
  129. package/src/modules/Filters/v2/filters/components/dynamic-filter-panel-wrapper.vue +10 -7
  130. package/src/modules/Filters/v2/filters/components/filter-options/_shared/composables/booleanFilterToolkit.ts +30 -24
  131. package/src/modules/Filters/v2/filters/components/filter-options/_shared/composables/useFromToSecToPreviewTime.ts +28 -28
  132. package/src/modules/Filters/v2/filters/components/filter-options/_shared/date-time-filter/date-time-filter-value-field.vue +9 -6
  133. package/src/modules/Filters/v2/filters/components/filter-options/_shared/has-options/has-option-filter-value-field.vue +2 -2
  134. package/src/modules/Filters/v2/filters/components/filter-options/agent/agent-filter-value-preview.vue +4 -6
  135. package/src/modules/Filters/v2/filters/components/filter-options/amd-result/amd-result-filter-value-preview.vue +0 -2
  136. package/src/modules/Filters/v2/filters/components/filter-options/assignee/assignee-filter-value-preview.vue +8 -13
  137. package/src/modules/Filters/v2/filters/components/filter-options/author/author-filter-value-preview.vue +4 -6
  138. package/src/modules/Filters/v2/filters/components/filter-options/cause/cause-filter-value-preview.vue +0 -1
  139. package/src/modules/Filters/v2/filters/components/filter-options/close-reason-groups-case/close-reason-groups-case-filter-value-field.vue +7 -4
  140. package/src/modules/Filters/v2/filters/components/filter-options/close-reason-groups-case/close-reason-groups-case-filter-value-preview.vue +6 -7
  141. package/src/modules/Filters/v2/filters/components/filter-options/close-reason-groups-case/config.js +2 -1
  142. package/src/modules/Filters/v2/filters/components/filter-options/contact/contact-filter-value-preview.vue +4 -6
  143. package/src/modules/Filters/v2/filters/components/filter-options/contact-group/contact-group-filter-value-preview.vue +5 -10
  144. package/src/modules/Filters/v2/filters/components/filter-options/created-at-from/created-at-from-filter-value-preview.vue +1 -1
  145. package/src/modules/Filters/v2/filters/components/filter-options/created-at-to/created-at-to-filter-value-preview.vue +1 -1
  146. package/src/modules/Filters/v2/filters/components/filter-options/direction/direction-filter-value-preview.vue +1 -1
  147. package/src/modules/Filters/v2/filters/components/filter-options/gateway/gateway-filter-value-preview.vue +4 -6
  148. package/src/modules/Filters/v2/filters/components/filter-options/grantee/grantee-filter-value-preview.vue +4 -6
  149. package/src/modules/Filters/v2/filters/components/filter-options/has-attachment/has-attachment-filter-value-preview.vue +3 -1
  150. package/src/modules/Filters/v2/filters/components/filter-options/has-file/has-file-filter-value-field.vue +1 -1
  151. package/src/modules/Filters/v2/filters/components/filter-options/has-file/has-file-filter-value-preview.vue +2 -4
  152. package/src/modules/Filters/v2/filters/components/filter-options/has-rating/has-rating-filter-value-field.vue +2 -2
  153. package/src/modules/Filters/v2/filters/components/filter-options/has-rating/has-rating-filter-value-preview.vue +2 -4
  154. package/src/modules/Filters/v2/filters/components/filter-options/has-transcription/has-transcription-filter-value-field.vue +2 -3
  155. package/src/modules/Filters/v2/filters/components/filter-options/has-transcription/has-transcription-filter-value-preview.vue +2 -4
  156. package/src/modules/Filters/v2/filters/components/filter-options/impacted/impacted-filter-value-preview.vue +4 -6
  157. package/src/modules/Filters/v2/filters/components/filter-options/index.ts +48 -44
  158. package/src/modules/Filters/v2/filters/components/filter-options/priority-case/config.js +1 -2
  159. package/src/modules/Filters/v2/filters/components/filter-options/priority-case/priority-case-filter-value-preview.vue +4 -6
  160. package/src/modules/Filters/v2/filters/components/filter-options/queue/queue-filter-value-preview.vue +4 -6
  161. package/src/modules/Filters/v2/filters/components/filter-options/rated-by/rated-by-filter-value-preview.vue +4 -6
  162. package/src/modules/Filters/v2/filters/components/filter-options/reporter/reporter-filter-value-preview.vue +4 -6
  163. package/src/modules/Filters/v2/filters/components/filter-options/score/score-from-to-filter-value-field.vue +1 -1
  164. package/src/modules/Filters/v2/filters/components/filter-options/service-case/service-case-filter-value-field.vue +5 -5
  165. package/src/modules/Filters/v2/filters/components/filter-options/sla/sla-filter-value-preview.vue +4 -6
  166. package/src/modules/Filters/v2/filters/components/filter-options/source-case/config.js +1 -2
  167. package/src/modules/Filters/v2/filters/components/filter-options/source-case/source-case-filter-value-preview.vue +4 -6
  168. package/src/modules/Filters/v2/filters/components/filter-options/status-case/config.js +2 -1
  169. package/src/modules/Filters/v2/filters/components/filter-options/status-case/status-case-filter-value-field.vue +7 -4
  170. package/src/modules/Filters/v2/filters/components/filter-options/talk-duration/TalkDurationFilter.d.ts +2 -2
  171. package/src/modules/Filters/v2/filters/components/filter-options/team/team-filter-value-preview.vue +4 -6
  172. package/src/modules/Filters/v2/filters/components/filter-options/total-duration/TotalDurationFilter.d.ts +2 -2
  173. package/src/modules/Filters/v2/filters/components/filter-options/user/user-filter-value-preview.vue +4 -6
  174. package/src/modules/Filters/v2/filters/components/filter-options/variable/variable-filter-value-field.vue +1 -2
  175. package/src/modules/Filters/v2/filters/components/preview/dynamic-filter-preview.vue +4 -6
  176. package/src/modules/Filters/v2/filters/enums/FilterOption.ts +40 -40
  177. package/src/modules/ObjectPermissions/_internals/components/permissions-role-row.vue +1 -1
  178. package/src/modules/ObjectPermissions/components/permissions-tab.vue +56 -57
  179. package/src/modules/TableComponentModule/composables/useTableEmpty.js +1 -1
  180. package/src/modules/Userinfo/v2/stores/__tests__/accessStore.spec.ts +16 -16
  181. package/src/scripts/compareSize.js +9 -9
  182. package/src/scripts/prettifyFileSize.js +0 -1
@@ -176,15 +176,15 @@ watch(wrapperShown, (value) => {
176
176
  @use '@webitel/styleguide/scroll' as *;
177
177
 
178
178
  .wt-popup {
179
+ display: flex;
179
180
  position: fixed;
180
- z-index: var(--popup-wrapper-z-index);
181
181
  top: 0;
182
182
  right: 0;
183
183
  bottom: 0;
184
184
  left: 0;
185
- display: flex;
186
- align-items: center;
187
185
  justify-content: center;
186
+ align-items: center;
187
+ z-index: var(--popup-wrapper-z-index);
188
188
  background: var(--wt-popup-shadow-color);
189
189
 
190
190
  &--size {
@@ -215,29 +215,29 @@ watch(wrapperShown, (value) => {
215
215
  }
216
216
 
217
217
  .wt-popup__popup {
218
- z-index: 1;
219
218
  display: flex;
220
219
  flex-direction: column;
221
- max-height: var(--popup-max-height);
220
+ gap: var(--popup-sections-gap);
221
+ z-index: 1;
222
222
  margin: var(--popup-padding);
223
- padding: var(--popup-padding);
223
+ box-shadow: var(--elevation-10);
224
224
  border-radius: var(--border-radius);
225
225
  background: var(--wt-popup-background-color);
226
- box-shadow: var(--elevation-10);
227
- gap: var(--popup-sections-gap);
226
+ padding: var(--popup-padding);
227
+ max-height: var(--popup-max-height);
228
228
  }
229
229
 
230
230
  .wt-popup__header {
231
231
  @extend %typo-subtitle-1;
232
- position: relative;
233
232
  display: flex;
234
- align-items: center;
233
+ position: relative;
235
234
  justify-content: space-between;
236
- padding: var(--popup-header-padding);
237
- color: var(--wt-popup-header-text-color);
235
+ align-items: center;
236
+ gap: var(--popup-header-padding);
238
237
  border-radius: var(--border-radius);
239
238
  background: var(--wt-popup-header-background-color);
240
- gap: var(--popup-header-padding);
239
+ padding: var(--popup-header-padding);
240
+ color: var(--wt-popup-header-text-color);
241
241
 
242
242
  .wt-popup__title {
243
243
  flex-grow: 1;
@@ -252,18 +252,18 @@ watch(wrapperShown, (value) => {
252
252
  .wt-popup__main {
253
253
  @extend %wt-scrollbar;
254
254
  @extend %typo-body-1;
255
- overflow-y: auto;
256
255
  flex-grow: 1;
257
- min-height: 0;
258
256
  padding-right: var(--popup-main-section-padding-right);
257
+ min-height: 0;
258
+ overflow-y: auto;
259
259
  }
260
260
 
261
261
  .wt-popup__actions {
262
262
  display: flex;
263
- align-items: center;
264
263
  justify-content: center;
265
- padding: var(--popup-actions-padding);
264
+ align-items: center;
266
265
  gap: var(--popup-actions-padding);
266
+ padding: var(--popup-actions-padding);
267
267
  }
268
268
 
269
269
  .wt-popup--overflow {
@@ -272,8 +272,8 @@ watch(wrapperShown, (value) => {
272
272
  }
273
273
 
274
274
  .wt-popup__main {
275
- overflow: visible;
276
275
  padding-right: 0;
276
+ overflow: visible;
277
277
  }
278
278
  }
279
279
  </style>
@@ -55,22 +55,22 @@ export default {
55
55
  .wt-progress-bar {
56
56
  position: relative;
57
57
  box-sizing: border-box;
58
- width: 100%;
59
- padding: var(--wt-progress-bar-padding);
60
- line-height: 0;
58
+ box-shadow: var(--elevation-1);
61
59
  border-radius: var(--border-radius);
62
60
  background: var(--wt-progress-bar-background-color);
63
- box-shadow: var(--elevation-1);
61
+ padding: var(--wt-progress-bar-padding);
62
+ width: 100%;
63
+ line-height: 0;
64
64
  }
65
65
 
66
66
  .wt-progress-bar__progress {
67
67
  display: inline-block;
68
- height: var(--wt-progress-bar-height);
69
68
  transition: var(--transition);
69
+ will-change: width;
70
70
  border-radius: var(--wt-progress-bar-border-radius) 0 0
71
71
  var(--wt-progress-bar-border-radius);
72
72
  background: var(--wt-progress-bar-background-primary-color);
73
- will-change: width;
73
+ height: var(--wt-progress-bar-height);
74
74
  }
75
75
 
76
76
  .wt-progress-bar--primary .wt-progress-bar__progress {
@@ -104,25 +104,25 @@ export default {
104
104
  }
105
105
 
106
106
  .wt-radio__wrapper {
107
- position: relative;
108
107
  display: flex;
108
+ position: relative;
109
109
  align-items: center;
110
110
  cursor: pointer;
111
111
  user-select: none;
112
112
  }
113
113
 
114
114
  .wt-radio__label {
115
- margin-left: var(--radio-icon-margin);
116
115
  transition: var(--transition);
116
+ margin-left: var(--radio-icon-margin);
117
117
  }
118
118
 
119
119
  /* Hide the browser's default radio button */
120
120
  .wt-radio__input {
121
121
  position: absolute;
122
+ opacity: 0;
122
123
  width: 0;
123
124
  height: 0;
124
125
  pointer-events: none;
125
- opacity: 0;
126
126
  }
127
127
 
128
128
  .wt-radio__icon {
@@ -92,14 +92,14 @@ const iColor = computed(() => {
92
92
  <style lang="scss" scoped>
93
93
  .wt-rounded-action {
94
94
  display: block;
95
- width: fit-content;
96
- padding: var(--rounded-action-padding);
97
95
  transition: var(--transition);
98
- line-height: 0;
99
96
  border: var(--rounded-action-border-size) solid;
100
97
  border-color: var(--rounded-action-bg-color);
101
98
  border-radius: var(--border-radius);
102
99
  background: var(--rounded-action-bg-color);
100
+ padding: var(--rounded-action-padding);
101
+ width: fit-content;
102
+ line-height: 0;
103
103
 
104
104
  &:hover {
105
105
  border-color: var(--rounded-action-bg-hover-color);
@@ -174,8 +174,8 @@ function updateSearchMode({ option }) {
174
174
 
175
175
  &.wt-search-bar--invalid {
176
176
  .wt-search-bar__wrapper {
177
- border-color: var(--wt-text-field-input-border-error-color);
178
177
  outline: none; // prevent outline overlapping false color
178
+ border-color: var(--wt-text-field-input-border-error-color);
179
179
  }
180
180
 
181
181
  .wt-search-bar__input {
@@ -187,11 +187,11 @@ function updateSearchMode({ option }) {
187
187
  .wt-search-bar__wrapper {
188
188
  display: flex;
189
189
  align-items: center;
190
- padding: calc(var(--spacing-xs) - 1px) var(--spacing-xs);
190
+ gap: var(--spacing-xs);
191
191
  border: var(--input-border);
192
192
  border-color: var(--wt-text-field-input-border-color);
193
193
  border-radius: var(--border-radius);
194
- gap: var(--spacing-xs);
194
+ padding: calc(var(--spacing-xs) - 1px) var(--spacing-xs);
195
195
  }
196
196
 
197
197
  .wt-search-bar__search-icon {
@@ -200,8 +200,8 @@ function updateSearchMode({ option }) {
200
200
 
201
201
  .wt-search-bar__reset-icon-btn {
202
202
  .wt-search-bar:not(:focus-within) & {
203
- pointer-events: none;
204
203
  opacity: 0;
204
+ pointer-events: none;
205
205
  }
206
206
  }
207
207
 
@@ -210,14 +210,14 @@ function updateSearchMode({ option }) {
210
210
  @include wt-placeholder;
211
211
 
212
212
  display: block;
213
- box-sizing: border-box;
214
- width: 100%;
215
- padding: 0;
216
213
  transition: var(--transition);
217
- color: var(--wt-text-field-text-color);
218
- border: none;
214
+ box-sizing: border-box;
219
215
  outline: none;
216
+ border: none;
220
217
  background: transparent;
218
+ padding: 0;
219
+ width: 100%;
220
+ color: var(--wt-text-field-text-color);
221
221
  }
222
222
 
223
223
  /* clears the 'X' from Internet Explorer */
@@ -8,11 +8,11 @@
8
8
  position: absolute;
9
9
  top: var(--select-icon-top-pos);
10
10
  right: var(--select-caret-right-pos);
11
- width: fit-content; // reset default
12
- height: fit-content; // reset default
13
- padding: 0; // reset default
14
11
  transition: var(--transition);
15
12
  background: transparent;
13
+ padding: 0; // reset default
14
+ width: fit-content; // reset default
15
+ height: fit-content; // reset default
16
16
 
17
17
  &:before {
18
18
  display: none; // reset default
@@ -26,17 +26,17 @@
26
26
 
27
27
  .multiselect__clear {
28
28
  position: absolute;
29
- z-index: 1;
30
29
  top: var(--select-icon-top-pos);
30
+ z-index: 1;
31
31
  }
32
32
 
33
33
  // visible select input wrapper
34
34
  .multiselect__tags {
35
- padding: calc(var(--spacing-xs) - 1px); // borders
36
35
  border: var(--select-tags-border);
37
36
  border-color: var(--wt-text-field-input-border-color);
38
37
  border-radius: var(--border-radius);
39
38
  background: transparent;
39
+ padding: calc(var(--spacing-xs) - 1px); // borders
40
40
  }
41
41
 
42
42
  .multiselect__input,
@@ -45,9 +45,9 @@
45
45
  @extend %typo-body-1;
46
46
  @include wt-placeholder;
47
47
  margin: 0; // reset default
48
+ background: transparent;
48
49
  padding: 0; // reset default
49
50
  color: var(--wt-text-field-text-color);
50
- background: transparent;
51
51
  }
52
52
 
53
53
  .multiselect__custom-tag,
@@ -58,46 +58,46 @@
58
58
  .multiselect__placeholder {
59
59
  @extend %wt-placeholder;
60
60
  display: block;
61
- overflow: hidden;
62
61
  max-width: 100%;
62
+ overflow: hidden;
63
63
  color: var(--wt-text-field-placeholder-color);
64
+ text-overflow: ellipsis;
64
65
 
65
66
  // text overflow 3 dots
66
67
  white-space: nowrap;
67
- text-overflow: ellipsis;
68
68
  }
69
69
 
70
70
  // select options wrapper
71
71
  .multiselect__content-wrapper {
72
72
  @extend %wt-distant-scrollbar;
73
73
  transition: var(--transition);
74
+ box-shadow: var(--elevation-10);
74
75
  border: var(--select-tags-border);
75
76
  border-color: var(--wt-text-field-select-option-wrapper-border-color);
76
77
  border-radius: var(--border-radius);
77
78
  background: transparent;
78
- box-shadow: var(--elevation-10);
79
79
  }
80
80
 
81
81
  // select options
82
82
  .multiselect__option {
83
83
  @extend %typo-body-1;
84
+ background: var(--wt-text-field-select-option-background-color);
84
85
  padding: var(--select-options-padding);
85
86
  color: var(--wt-text-field-select-option-text-color);
86
- background: var(--wt-text-field-select-option-background-color);
87
87
 
88
88
  &:after {
89
89
  display: none;
90
90
  }
91
91
 
92
92
  &--highlight {
93
- color: var(--wt-text-field-select-option-text-hover-color);
94
93
  background: var(--wt-text-field-select-option-background-hover-color);
94
+ color: var(--wt-text-field-select-option-text-hover-color);
95
95
  }
96
96
 
97
97
  &--selected {
98
- font-weight: normal; // reset
99
- color: var(--wt-text-field-select-option-text-selected-color);
100
98
  background: var(--wt-text-field-select-option-background-selected-color);
99
+ color: var(--wt-text-field-select-option-text-selected-color);
100
+ font-weight: normal; // reset
101
101
  }
102
102
  }
103
103
  }
@@ -120,16 +120,16 @@
120
120
  }
121
121
 
122
122
  .multiselect__loading-wrapper {
123
+ display: flex;
123
124
  position: sticky;
124
- z-index: 1;
125
125
  top: 0;
126
126
  left: 0;
127
- display: flex;
128
- align-items: center;
129
127
  justify-content: center;
128
+ align-items: center;
129
+ z-index: 1;
130
+ backdrop-filter: blur(4px);
130
131
  width: 100%;
131
132
  height: 300px; // max dropdown panel height
132
- backdrop-filter: blur(4px);
133
133
  }
134
134
  }
135
135
  }
@@ -138,8 +138,8 @@
138
138
  .wt-tags-input.wt-tags-input--invalid {
139
139
  :deep(.multiselect) {
140
140
  .multiselect__tags {
141
- border-color: var(--wt-text-field-input-border-error-color);
142
141
  outline: none; // prevent outline overlapping false color
142
+ border-color: var(--wt-text-field-input-border-error-color);
143
143
  }
144
144
 
145
145
  .multiselect__custom-tag,
@@ -52,7 +52,7 @@
52
52
  v-if="!isOpened"
53
53
  #limit
54
54
  >
55
- <wt-chip class="multiselect__limit"> +{{ value.length - 1 }}</wt-chip>
55
+ <wt-chip class="multiselect__limit"> +{{ value.length - 1 }} </wt-chip>
56
56
  </template>
57
57
 
58
58
  <!-- Slot that is used for all selected options (tags)-->
@@ -304,10 +304,10 @@ export default {
304
304
  .multiselect__single-label {
305
305
  // text overflow 3 dots
306
306
  display: block;
307
- overflow: hidden;
308
307
  max-width: 100%;
309
- white-space: nowrap;
308
+ overflow: hidden;
310
309
  text-overflow: ellipsis;
310
+ white-space: nowrap;
311
311
  }
312
312
  }
313
313
 
@@ -111,24 +111,24 @@ export default {
111
111
  }
112
112
 
113
113
  .wt-slider__slider {
114
+ -webkit-appearance: none;
115
+ -moz-appearance: none;
116
+ cursor: pointer;
114
117
  box-sizing: border-box;
115
- width: var(--wt-slider-width);
116
- height: var(--wt-slider-input-height);
117
118
  margin: 0;
118
- cursor: pointer;
119
119
  border: var(--wt-slider-border);
120
120
  border-radius: var(--border-radius);
121
- -webkit-appearance: none;
122
- -moz-appearance: none;
121
+ width: var(--wt-slider-width);
122
+ height: var(--wt-slider-input-height);
123
123
 
124
124
  &::-webkit-slider-thumb {
125
- width: var(--wt-slider-pointer-size);
126
- height: var(--wt-slider-pointer-size);
125
+ -webkit-appearance: none;
127
126
  transition: var(--transition);
128
127
  border: var(--wt-slider-border);
129
128
  border-radius: var(--wt-slider-pointer-radius);
130
129
  background: var(--wt-slider-pointer-background-color);
131
- -webkit-appearance: none;
130
+ width: var(--wt-slider-pointer-size);
131
+ height: var(--wt-slider-pointer-size);
132
132
  }
133
133
 
134
134
  &::-webkit-slider-runnable-track {
@@ -136,14 +136,14 @@ export default {
136
136
  }
137
137
 
138
138
  &::-moz-range-thumb {
139
- width: var(--wt-slider-pointer-size);
140
- height: var(--wt-slider-pointer-size);
139
+ -moz-appearance: none;
141
140
  transition: var(--transition);
142
141
  border: var(--wt-slider-border);
143
142
  border-color: var(--wt-slider-pointer-border-color);
144
143
  border-radius: var(--wt-slider-pointer-radius);
145
144
  background: var(--wt-slider-pointer-background-color);
146
- -moz-appearance: none;
145
+ width: var(--wt-slider-pointer-size);
146
+ height: var(--wt-slider-pointer-size);
147
147
  }
148
148
 
149
149
  &::-moz-range-track {
@@ -186,8 +186,8 @@ export default {
186
186
  }
187
187
 
188
188
  .wt-slider--vertical {
189
- width: var(--wt-slider-height);
190
189
  transform: var(--wt-slider-vertical-container-translation);
190
+ width: var(--wt-slider-height);
191
191
 
192
192
  .wt-slider__wrapper {
193
193
  transform: var(--wt-slider-vertical-transform);
@@ -115,10 +115,10 @@ export default {
115
115
  min-height: 0;
116
116
 
117
117
  .multiselect__tags {
118
- min-height: 0;
119
- padding: var(--wt-status-select-padding);
120
118
  border: none;
121
119
  background: var(--wt-status-select-background-color);
120
+ padding: var(--wt-status-select-padding);
121
+ min-height: 0;
122
122
  }
123
123
 
124
124
  .multiselect__select {
@@ -131,10 +131,10 @@ export default {
131
131
  background: transparent;
132
132
 
133
133
  .multiselect__option {
134
- min-height: 0;
134
+ background: var(--wt-status-select-option-background-color);
135
135
  padding: 0;
136
+ min-height: 0;
136
137
  color: var(--wt-status-select-option-text-color);
137
- background: var(--wt-status-select-option-background-color);
138
138
  }
139
139
 
140
140
  .multiselect__option--highlight {
@@ -67,8 +67,8 @@ const stepWithCompleted = computed(() =>
67
67
  .wt-stepper-header {
68
68
  display: flex;
69
69
  flex-direction: column;
70
- margin-bottom: var(--spacing-lg);
71
70
  gap: var(--spacing-lg);
71
+ margin-bottom: var(--spacing-lg);
72
72
  }
73
73
 
74
74
  .wt-stepper-steps {
@@ -81,8 +81,8 @@ const stepWithCompleted = computed(() =>
81
81
 
82
82
  &__divider {
83
83
  flex: 1 1 auto;
84
- height: 1px;
85
84
  background: var(--wt-stepper-divider-background-color);
85
+ height: 1px;
86
86
 
87
87
  &--completed {
88
88
  background-color: var(--wt-stepper-divider-background-completed-color);
@@ -91,8 +91,8 @@ export default {
91
91
  }
92
92
 
93
93
  .wt-switcher__wrapper {
94
- position: relative;
95
94
  display: flex;
95
+ position: relative;
96
96
  align-items: center;
97
97
  cursor: pointer;
98
98
  user-select: none;
@@ -103,8 +103,8 @@ export default {
103
103
  }
104
104
 
105
105
  .wt-switcher__label {
106
- margin-left: var(--switcher-icon-margin);
107
106
  transition: var(--transition);
107
+ margin-left: var(--switcher-icon-margin);
108
108
 
109
109
  .wt-switcher__wrapper--label-left & {
110
110
  margin-right: var(--switcher-icon-margin);
@@ -114,30 +114,30 @@ export default {
114
114
 
115
115
  .wt-switcher__input {
116
116
  position: absolute;
117
+ opacity: 0;
117
118
  width: 0;
118
119
  height: 0;
119
120
  pointer-events: none;
120
- opacity: 0;
121
121
  }
122
122
 
123
123
  .wt-switcher__checkmark {
124
- position: relative;
125
124
  display: block;
125
+ position: relative;
126
126
  flex: 0 0 var(--switcher-width);
127
- width: var(--switcher-width);
128
- height: var(--switcher-height);
129
127
  transition: var(--transition);
130
128
  border-radius: var(--switcher-border-radius);
129
+ width: var(--switcher-width);
130
+ height: var(--switcher-height);
131
131
 
132
132
  &:before {
133
133
  position: absolute;
134
134
  bottom: var(--switcher-cicle-margin);
135
135
  left: var(--switcher-cicle-margin);
136
+ transition: var(--transition);
137
+ border-radius: 50%;
136
138
  width: var(--switcher-cicle-size);
137
139
  height: var(--switcher-cicle-size);
138
140
  content: '';
139
- transition: var(--transition);
140
- border-radius: 50%;
141
141
  }
142
142
  }
143
143
 
@@ -326,8 +326,8 @@ export default {
326
326
  }
327
327
 
328
328
  .wt-table__table {
329
- width: 100%;
330
329
  border-collapse: collapse;
330
+ width: 100%;
331
331
 
332
332
  &--fixed-actions {
333
333
  // make action icons fixed to right
@@ -350,10 +350,10 @@ export default {
350
350
 
351
351
  .wt-table__tr {
352
352
  display: grid;
353
- padding: var(--table-row-padding);
353
+ grid-template-columns: repeat(auto-fit, var(--table-col-min-width));
354
354
  transition: var(--transition);
355
355
  background: var(--wt-table-primary-color);
356
- grid-template-columns: repeat(auto-fit, var(--table-col-min-width));
356
+ padding: var(--table-row-padding);
357
357
  grid-column-gap: var(--table-column-gap);
358
358
 
359
359
  &:nth-child(2n) {
@@ -373,18 +373,18 @@ export default {
373
373
  @extend %typo-body-1;
374
374
  display: flex;
375
375
  align-items: center;
376
+ padding: 0;
376
377
  width: 100%;
377
378
  max-width: 100%;
378
379
  height: fit-content;
379
380
  min-height: var(--table-min-height);
380
- padding: 0;
381
381
  word-break: break-all;
382
382
  overflow-wrap: break-word;
383
383
 
384
384
  &__actions {
385
385
  display: flex;
386
- align-items: flex-start;
387
386
  justify-content: flex-end;
387
+ align-items: flex-start;
388
388
  gap: var(--spacing-xs);
389
389
  }
390
390
  }
@@ -103,7 +103,7 @@ export default {
103
103
  .wt-table-actions {
104
104
  display: flex;
105
105
  align-items: center;
106
- padding: var(--table-actions-padding);
107
106
  gap: var(--table-actions-icon-gap);
107
+ padding: var(--table-actions-padding);
108
108
  }
109
109
  </style>
@@ -157,26 +157,26 @@ $list-width-md: calc(
157
157
  &__popup-list {
158
158
  @extend %wt-scrollbar;
159
159
  display: flex;
160
- overflow-x: hidden;
161
160
  flex-direction: column;
162
161
  flex-wrap: wrap;
163
162
  width: $list-width-sm;
164
163
  max-height: $list-height;
164
+ overflow-x: hidden;
165
165
 
166
166
  // for 10-30 items
167
167
  &--md {
168
168
  display: block;
169
- width: $list-width-md;
170
169
  column-count: 2;
170
+ width: $list-width-md;
171
171
  }
172
172
 
173
173
  // for 30+ items
174
174
  &--lg {
175
175
  display: block;
176
- overflow-y: auto;
176
+ column-count: 3;
177
177
  width: $list-width-md;
178
178
  max-height: none;
179
- column-count: 3;
179
+ overflow-y: auto;
180
180
  }
181
181
  }
182
182
 
@@ -90,8 +90,8 @@ export default {
90
90
  @use '@webitel/styleguide/typography' as *;
91
91
 
92
92
  .wt-tabs {
93
- position: relative;
94
93
  display: flex;
94
+ position: relative;
95
95
  flex-wrap: nowrap;
96
96
  gap: var(--tab-gap);
97
97
 
@@ -105,36 +105,36 @@ export default {
105
105
 
106
106
  .wt-tab {
107
107
  @extend %typo-body-1;
108
+ display: inline-block;
108
109
  position: relative;
109
110
  z-index: var(--tab-z-index);
110
- display: inline-block;
111
- padding-bottom: var(--tab-padding);
112
- cursor: pointer;
113
111
  transition: var(--transition);
114
- color: var(--wt-tabs-text-color);
112
+ cursor: pointer;
113
+ outline: none;
115
114
  border: none;
116
115
  border-bottom: var(--tab-border);
117
116
  border-bottom-color: transparent;
118
- outline: none;
119
117
  background: transparent;
118
+ padding-bottom: var(--tab-padding);
119
+ color: var(--wt-tabs-text-color);
120
120
 
121
121
  &:hover,
122
122
  &:focus {
123
- color: var(--wt-tabs-text-hover-color);
124
123
  border-bottom-color: var(--wt-tabs-underline-active-color);
124
+ color: var(--wt-tabs-text-hover-color);
125
125
  }
126
126
 
127
127
  &.wt-tab--highlight {
128
- color: var(--wt-tabs-text-active-color);
129
128
  border-bottom-color: var(--wt-tabs-underline-active-color);
129
+ color: var(--wt-tabs-text-active-color);
130
130
  }
131
131
 
132
132
  //// disables bold font resize on hover
133
133
  &:after {
134
134
  display: block;
135
135
  visibility: hidden;
136
- overflow: hidden;
137
136
  height: 0;
137
+ overflow: hidden;
138
138
  content: attr(value);
139
139
  font-weight: bold;
140
140
  }