@webitel/ui-sdk 23.12.41 → 23.12.43

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 (144) hide show
  1. package/dist/favicon.ico +0 -0
  2. package/dist/img/sprite/index.js +147 -1
  3. package/dist/plyr.svg +70 -0
  4. package/dist/ui-sdk.css +1 -1
  5. package/dist/ui-sdk.mjs +22672 -0
  6. package/dist/ui-sdk.umd.js +37 -43322
  7. package/package.json +33 -41
  8. package/src/components/on-demand/wt-cc-agent-status-timers/wt-cc-agent-status-timers.vue +3 -3
  9. package/src/components/transitions/wt-expand-transition.vue +2 -2
  10. package/src/components/wt-app-header/wt-app-header.vue +2 -2
  11. package/src/components/wt-app-header/wt-app-navigator.vue +6 -5
  12. package/src/components/wt-app-header/wt-header-actions.vue +30 -14
  13. package/src/components/wt-avatar/wt-avatar.vue +2 -2
  14. package/src/components/wt-badge/wt-badge.vue +3 -3
  15. package/src/components/wt-button/wt-button.vue +5 -3
  16. package/src/components/wt-button-select/__tests__/WtButtonSelect.spec.js +4 -4
  17. package/src/components/wt-button-select/wt-button-select.vue +3 -3
  18. package/src/components/wt-checkbox/wt-checkbox.vue +12 -7
  19. package/src/components/wt-chip/wt-chip.vue +6 -3
  20. package/src/components/wt-context-menu/wt-context-menu.vue +4 -4
  21. package/src/components/wt-copy-action/wt-copy-action.vue +6 -6
  22. package/src/components/wt-datepicker/wt-datepicker.vue +14 -12
  23. package/src/components/wt-divider/wt-divider.vue +1 -1
  24. package/src/components/wt-dummy/wt-dummy.vue +6 -2
  25. package/src/components/wt-error-page/wt-error-page.vue +10 -4
  26. package/src/components/wt-expansion-panel/wt-expansion-panel.vue +4 -4
  27. package/src/components/wt-filters-panel-wrapper/wt-filters-panel-wrapper.vue +7 -4
  28. package/src/components/wt-headline/wt-headline.vue +4 -4
  29. package/src/components/wt-headline-nav/wt-headline-nav.vue +11 -4
  30. package/src/components/wt-hint/wt-hint.vue +4 -4
  31. package/src/components/wt-icon/wt-icon.vue +5 -5
  32. package/src/components/wt-icon-action/_internals/wt-add-icon-action.vue +2 -2
  33. package/src/components/wt-icon-action/_internals/wt-delete-icon-action.vue +2 -2
  34. package/src/components/wt-icon-action/_internals/wt-download-icon-action.vue +2 -2
  35. package/src/components/wt-icon-action/_internals/wt-edit-icon-action.vue +2 -2
  36. package/src/components/wt-icon-action/_internals/wt-history-icon-action.vue +2 -2
  37. package/src/components/wt-icon-action/_internals/wt-refresh-icon-action.vue +2 -2
  38. package/src/components/wt-icon-action/wt-icon-action.vue +1 -1
  39. package/src/components/wt-icon-btn/wt-icon-btn.vue +1 -1
  40. package/src/components/wt-indicator/wt-indicator.vue +6 -3
  41. package/src/components/wt-input/wt-input.vue +189 -198
  42. package/src/components/wt-input-info/wt-input-info.vue +2 -2
  43. package/src/components/wt-item-link/wt-item-link.vue +1 -1
  44. package/src/components/wt-label/_variables.scss +4 -2
  45. package/src/components/wt-label/wt-label.vue +5 -18
  46. package/src/components/wt-load-bar/wt-load-bar.vue +5 -2
  47. package/src/components/wt-loader/_internals/wt-loader--md.vue +11 -2
  48. package/src/components/wt-loader/_internals/wt-loader--sm.vue +9 -2
  49. package/src/components/wt-loader/wt-loader.vue +10 -3
  50. package/src/components/wt-navigation-bar/wt-navigation-bar.vue +16 -8
  51. package/src/components/wt-notification/wt-notification.vue +3 -3
  52. package/src/components/wt-notifications-bar/wt-notifications-bar.vue +9 -5
  53. package/src/components/wt-page-header/wt-page-header.vue +7 -8
  54. package/src/components/wt-page-wrapper/wt-page-wrapper.vue +8 -5
  55. package/src/components/wt-pagination/wt-pagination.vue +17 -15
  56. package/src/components/wt-player/wt-player.vue +16 -16
  57. package/src/components/wt-popup/wt-popup.vue +13 -7
  58. package/src/components/wt-progress-bar/wt-progress-bar.vue +11 -7
  59. package/src/components/wt-radio/wt-radio.vue +15 -7
  60. package/src/components/wt-rounded-action/wt-rounded-action.vue +2 -2
  61. package/src/components/wt-search-bar/__tests__/WtSearchBar.spec.js +1 -1
  62. package/src/components/wt-search-bar/wt-search-bar.vue +6 -5
  63. package/src/components/wt-select/_multiselect.scss +1 -2
  64. package/src/components/wt-select/wt-select.vue +33 -19
  65. package/src/components/wt-slider/wt-slider.vue +5 -5
  66. package/src/components/wt-status-select/wt-status-select.vue +9 -9
  67. package/src/components/wt-stepper/wt-stepper.vue +8 -6
  68. package/src/components/wt-switcher/wt-switcher.vue +12 -7
  69. package/src/components/wt-table/wt-table.vue +110 -72
  70. package/src/components/wt-table-actions/wt-table-actions.vue +14 -14
  71. package/src/components/wt-table-column-select/wt-table-column-select.vue +28 -26
  72. package/src/components/wt-tabs/wt-tabs.vue +7 -7
  73. package/src/components/wt-tags-input/wt-tags-input.vue +23 -15
  74. package/src/components/wt-textarea/wt-textarea.vue +16 -11
  75. package/src/components/wt-time-input/wt-time-input.vue +8 -5
  76. package/src/components/wt-timepicker/wt-timepicker.vue +20 -16
  77. package/src/components/wt-tooltip/_internals/wt-tooltip-floating.vue +2 -2
  78. package/src/components/wt-tooltip/wt-tooltip.vue +4 -4
  79. package/src/composables/useCachedInterval/__tests__/useCachedInterval.spec.js +5 -5
  80. package/src/css/styleguide/colors/_colors.scss +9 -8
  81. package/src/css/styleguide/colors/reusable/_text-field.scss +20 -0
  82. package/src/css/styleguide/placeholder/_placeholder.scss +6 -11
  83. package/src/locale/i18n.js +1 -1
  84. package/src/locale/kz/kz.js +74 -78
  85. package/src/mixins/validationMixin/useValidation.js +2 -2
  86. package/src/modules/AgentStatusSelect/components/__tests__/wt-cc-agent-status-select.spec.js +4 -4
  87. package/src/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue +11 -9
  88. package/src/modules/AgentStatusSelect/components/_internals/wt-cc-status-select-error-popup.vue +6 -5
  89. package/src/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue +3 -3
  90. package/src/modules/AuditForm/components/__tests__/audit-form.spec.js +1 -1
  91. package/src/modules/AuditForm/components/audit-form-question-read-wrapper.vue +10 -6
  92. package/src/modules/AuditForm/components/audit-form-question-write-wrapper.vue +8 -8
  93. package/src/modules/AuditForm/components/audit-form-question.vue +8 -8
  94. package/src/modules/AuditForm/components/audit-form.vue +6 -5
  95. package/src/modules/AuditForm/components/questions/options/audit-form-question-options-write-row.vue +4 -4
  96. package/src/modules/AuditForm/components/questions/options/audit-form-question-options.vue +7 -4
  97. package/src/modules/AuditForm/components/questions/score/audit-form-question-score.vue +3 -3
  98. package/src/modules/CSVExport/__tests__/CSVExport.spec.js +5 -2
  99. package/src/modules/DeleteConfirmationPopup/__tests__/delete-confirmation-popup.spec.js +6 -6
  100. package/src/modules/DeleteConfirmationPopup/components/delete-confirmation-popup.vue +13 -6
  101. package/src/modules/FilesExport/__tests__/FilesExport.spec.js +6 -3
  102. package/src/modules/Filters/components/filter-pagination.vue +1 -1
  103. package/src/modules/Filters/components/filter-table-fields.vue +1 -1
  104. package/src/modules/Notifications/store/__tests__/NotificationsStoreModule.actions.spec.js +6 -6
  105. package/src/modules/QueryFilters/classes/__tests__/ApiFilterSchema.spec.js +1 -1
  106. package/src/modules/QueryFilters/components/__tests__/abstract-api-filter.spec.js +4 -4
  107. package/src/modules/QueryFilters/components/__tests__/filter-datetime.spec.js +2 -2
  108. package/src/modules/QueryFilters/components/__tests__/filter-from-to.spec.js +4 -4
  109. package/src/modules/QueryFilters/components/__tests__/filter-search.spec.js +2 -2
  110. package/src/modules/QueryFilters/components/abstract-api-filter.vue +2 -2
  111. package/src/modules/QueryFilters/components/abstract-enum-filter.vue +2 -2
  112. package/src/modules/QueryFilters/components/filter-datetime.vue +2 -2
  113. package/src/modules/QueryFilters/components/filter-from-to.vue +12 -10
  114. package/src/modules/QueryFilters/components/filter-search.vue +2 -2
  115. package/src/modules/QueryFilters/components/filter-table-fields.vue +7 -7
  116. package/src/modules/QueryFilters/mixins/__tests__/apiFilterMixin.spec.js +1 -1
  117. package/src/modules/QueryFilters/mixins/__tests__/enumFilterMixin.spec.js +2 -2
  118. package/src/modules/QueryFilters/mixins/__tests__/paginationFilterMixin.spec.js +2 -2
  119. package/src/modules/QueryFilters/mixins/__tests__/sortFilterMixin.spec.js +1 -1
  120. package/src/modules/QueryFilters/store/__tests__/QueryFiltersStoreModule.spec.js +2 -2
  121. package/src/modules/Userinfo/components/__tests__/auth.spec.js +7 -8
  122. package/src/modules/Userinfo/components/the-auth.vue +7 -4
  123. package/src/store/BaseStoreModules/__tests__/BaseStoreModule.spec.js +6 -6
  124. package/dist/demo.html +0 -1
  125. package/dist/ui-sdk.common.js +0 -43304
  126. package/dist/ui-sdk.common.js.map +0 -1
  127. package/dist/ui-sdk.umd.js.map +0 -1
  128. package/dist/ui-sdk.umd.min.js +0 -35
  129. package/dist/ui-sdk.umd.min.js.map +0 -1
  130. package/src/components/wt-button/Readme.md +0 -23
  131. package/src/components/wt-button-select/Readme.md +0 -13
  132. package/src/components/wt-headline-nav/Readme.md +0 -9
  133. package/src/components/wt-icon/Readme.md +0 -327
  134. package/src/components/wt-icon/docs/cleanup-svg-fill-none.png +0 -0
  135. package/src/components/wt-icon/docs/cleanup-svg-fill.png +0 -0
  136. package/src/components/wt-icon/docs/cleanup-svg-viewbox-correct.png +0 -0
  137. package/src/components/wt-icon/docs/cleanup-svg-viewbox-incorrect.png +0 -0
  138. package/src/components/wt-icon/docs/cleanup-svg-width-height.png +0 -0
  139. package/src/components/wt-icon/docs/svg-icon-code-example.png +0 -0
  140. package/src/components/wt-icon/docs/svg-sprite-in-dom.png +0 -0
  141. package/src/components/wt-icon-btn/Readme.md +0 -10
  142. package/src/components/wt-rounded-action/Readme.md +0 -68
  143. package/src/validators/variableSearchValidator/Readme.md +0 -13
  144. package/src/validators/websocketValidator/Readme.md +0 -7
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div
3
3
  :class="[{'wt-expansion-panel--opened':open},
4
- `wt-expansion-panel--${props.size}`]"
4
+ `wt-expansion-panel--${props.size}`]"
5
5
  class="wt-expansion-panel"
6
6
  >
7
7
  <div
@@ -10,14 +10,14 @@
10
10
  @click="open = !open"
11
11
  @keypress.enter="open = !open"
12
12
  >
13
- <slot name="title"></slot>
13
+ <slot name="title" />
14
14
  <wt-icon
15
15
  icon="arrow-right"
16
- ></wt-icon>
16
+ />
17
17
  </div>
18
18
  <wt-expand-transition>
19
19
  <div v-show="open">
20
- <slot></slot>
20
+ <slot />
21
21
  </div>
22
22
  </wt-expand-transition>
23
23
  </div>
@@ -1,20 +1,23 @@
1
1
  <template>
2
- <article class="filters-panel-wrapper" :class="{ 'filters-panel-wrapper--opened': isOpened }">
2
+ <article
3
+ class="filters-panel-wrapper"
4
+ :class="{ 'filters-panel-wrapper--opened': isOpened }"
5
+ >
3
6
  <div class="filters-wrap">
4
- <slot></slot>
7
+ <slot />
5
8
  </div>
6
9
  <div class="actions-wrap">
7
10
  <wt-table-actions
8
11
  :icons="['filter-reset', 'settings']"
9
12
  @input="tableActionsHandler"
10
- ></wt-table-actions>
13
+ />
11
14
  </div>
12
15
  </article>
13
16
  </template>
14
17
 
15
18
  <script>
16
19
  export default {
17
- name: 'filters-panel-wrapper',
20
+ name: 'FiltersPanelWrapper',
18
21
  data: () => ({
19
22
  isOpened: false,
20
23
  filtersCount: 0,
@@ -3,12 +3,12 @@
3
3
  <slot>
4
4
  <slot name="title-wrapper">
5
5
  <h1 class="wt-headline__title">
6
- <slot name="title"></slot>
6
+ <slot name="title" />
7
7
  </h1>
8
8
  </slot>
9
9
  <div class="wt-headline__actions-wrapper">
10
- <slot name="search"></slot>
11
- <slot name="actions"></slot>
10
+ <slot name="search" />
11
+ <slot name="actions" />
12
12
  </div>
13
13
  </slot>
14
14
  </header>
@@ -16,7 +16,7 @@
16
16
 
17
17
  <script>
18
18
  export default {
19
- name: 'wt-headline',
19
+ name: 'WtHeadline',
20
20
  };
21
21
  </script>
22
22
 
@@ -5,15 +5,22 @@
5
5
  :key="key"
6
6
  class="wt-headline-nav__wrapper"
7
7
  >
8
- <span v-if="key !== 0" class="wt-headline-nav__indicator"></span>
8
+ <span
9
+ v-if="key !== 0"
10
+ class="wt-headline-nav__indicator"
11
+ />
9
12
  <h1 class="wt-headline-nav__title">
10
13
  <router-link
11
14
  v-if="singlePath.route"
12
15
  :to="singlePath.route"
13
16
  class="wt-headline-nav__text wt-headline-nav__text--link"
14
- >{{ singlePath.name }}
17
+ >
18
+ {{ singlePath.name }}
15
19
  </router-link>
16
- <span v-else class="wt-headline-nav__text">{{ singlePath.name }}</span>
20
+ <span
21
+ v-else
22
+ class="wt-headline-nav__text"
23
+ >{{ singlePath.name }}</span>
17
24
  </h1>
18
25
  </div>
19
26
  </nav>
@@ -77,7 +84,7 @@ const props = defineProps({
77
84
  }
78
85
 
79
86
  .wt-headline-nav__text {
80
- color: var(--main-text-color);
87
+ color: var(--text-main-color);
81
88
  }
82
89
 
83
90
  .wt-headline-nav__wrapper:last-child {
@@ -1,18 +1,18 @@
1
1
  <template>
2
2
  <wt-tooltip class="wt-hint">
3
- <template v-slot:activator>
3
+ <template #activator>
4
4
  <wt-icon-btn
5
5
  icon="rounded-info"
6
6
  :color="iconColor"
7
- ></wt-icon-btn>
7
+ />
8
8
  </template>
9
- <slot></slot>
9
+ <slot />
10
10
  </wt-tooltip>
11
11
  </template>
12
12
 
13
13
  <script>
14
14
  export default {
15
- name: 'wt-hint',
15
+ name: 'WtHint',
16
16
  props: {
17
17
  iconColor: {
18
18
  type: String,
@@ -2,13 +2,13 @@
2
2
  <i
3
3
  class="wt-icon"
4
4
  :class="[
5
- `wt-icon--size-${size}`,
6
- `wt-icon--color-${color}`,
7
- { 'wt-icon--disabled': disabled },
8
- ]"
5
+ `wt-icon--size-${size}`,
6
+ `wt-icon--color-${color}`,
7
+ { 'wt-icon--disabled': disabled },
8
+ ]"
9
9
  >
10
10
  <svg class="wt-icon__icon">
11
- <use :xlink:href="iconName"></use>
11
+ <use :xlink:href="iconName" />
12
12
  </svg>
13
13
  </i>
14
14
  </template>
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <wt-tooltip>
3
- <template v-slot:activator>
3
+ <template #activator>
4
4
  <wt-icon-btn
5
5
  icon="plus"
6
6
  :disabled="disabled"
7
7
  @click="emit('click')"
8
- ></wt-icon-btn>
8
+ />
9
9
  </template>
10
10
  {{ $t('webitelUI.iconAction.addActionHint') }}
11
11
  </wt-tooltip>
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <wt-tooltip>
3
- <template v-slot:activator>
3
+ <template #activator>
4
4
  <wt-icon-btn
5
5
  icon="bucket"
6
6
  :disabled="disabled"
7
7
  @click="emit('click')"
8
- ></wt-icon-btn>
8
+ />
9
9
  </template>
10
10
  {{ $t('webitelUI.iconAction.deleteActionHint') }}
11
11
  </wt-tooltip>
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <wt-tooltip>
3
- <template v-slot:activator>
3
+ <template #activator>
4
4
  <wt-icon-btn
5
5
  icon="download"
6
6
  :disabled="disabled"
7
7
  @click="emit('click')"
8
- ></wt-icon-btn>
8
+ />
9
9
  </template>
10
10
  {{ $t('webitelUI.iconAction.downloadActionHint') }}
11
11
  </wt-tooltip>
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <wt-tooltip>
3
- <template v-slot:activator>
3
+ <template #activator>
4
4
  <wt-icon-btn
5
5
  icon="edit"
6
6
  :disabled="disabled"
7
7
  @click="emit('click')"
8
- ></wt-icon-btn>
8
+ />
9
9
  </template>
10
10
  {{ $t('webitelUI.iconAction.editActionHint') }}
11
11
  </wt-tooltip>
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <wt-tooltip>
3
- <template v-slot:activator>
3
+ <template #activator>
4
4
  <wt-icon-btn
5
5
  icon="history"
6
6
  :disabled="disabled"
7
7
  @click="emit('click')"
8
- ></wt-icon-btn>
8
+ />
9
9
  </template>
10
10
  {{ $t('webitelUI.iconAction.historyActionHint') }}
11
11
  </wt-tooltip>
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <wt-tooltip>
3
- <template v-slot:activator>
3
+ <template #activator>
4
4
  <wt-icon-btn
5
5
  icon="refresh"
6
6
  :disabled="disabled"
7
7
  @click="emit('click')"
8
- ></wt-icon-btn>
8
+ />
9
9
  </template>
10
10
  {{ $t('reusable.refresh') }}
11
11
  </wt-tooltip>
@@ -3,7 +3,7 @@
3
3
  :is="actionComponent"
4
4
  :disabled="disabled"
5
5
  @click="emit('click')"
6
- ></component>
6
+ />
7
7
  </template>
8
8
 
9
9
  <script setup>
@@ -8,7 +8,7 @@
8
8
  <wt-icon
9
9
  v-bind="$attrs"
10
10
  :disabled="disabled"
11
- ></wt-icon>
11
+ />
12
12
  </button>
13
13
  </template>
14
14
 
@@ -10,8 +10,11 @@
10
10
  :class="[
11
11
  `wt-indicator__indicator--${color}`,
12
12
  ]"
13
- ></span>
14
- <div v-if="isText" class="wt-indicator__text">
13
+ />
14
+ <div
15
+ v-if="isText"
16
+ class="wt-indicator__text"
17
+ >
15
18
  {{ text }}
16
19
  </div>
17
20
  </div>
@@ -19,7 +22,7 @@
19
22
 
20
23
  <script>
21
24
  export default {
22
- name: 'wt-indicator',
25
+ name: 'WtIndicator',
23
26
  props: {
24
27
  color: {
25
28
  type: String,