@webitel/ui-sdk 25.4.47 → 25.4.48

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 (201) hide show
  1. package/CHANGELOG.md +9 -1
  2. package/dist/ui-sdk.css +1 -1
  3. package/dist/ui-sdk.js +3 -3
  4. package/dist/ui-sdk.umd.cjs +2 -2
  5. package/package.json +64 -75
  6. package/src/api/clients/agents/agentChats.js +3 -2
  7. package/src/api/clients/buckets/buckets.js +1 -0
  8. package/src/api/clients/calendars/calendars.js +1 -0
  9. package/src/api/clients/casePriorities/casePriorities.js +2 -1
  10. package/src/api/clients/caseSources/caseSources.js +2 -2
  11. package/src/api/clients/catalog/catalog.js +1 -0
  12. package/src/api/clients/chatGateways/chatGateways.js +1 -0
  13. package/src/api/clients/communications/communications.js +1 -0
  14. package/src/api/clients/configurations/configurations.js +1 -0
  15. package/src/api/clients/flows/flow.js +1 -0
  16. package/src/api/clients/lists/blacklists.js +1 -0
  17. package/src/api/clients/media/media.js +1 -0
  18. package/src/api/clients/queues/queues.js +1 -0
  19. package/src/api/clients/roles/roles.js +1 -0
  20. package/src/api/clients/skills/skills.js +1 -0
  21. package/src/api/clients/slas/slas.js +2 -1
  22. package/src/api/clients/teams/teams.js +1 -0
  23. package/src/api/clients/users/users.js +1 -0
  24. package/src/api/clients//321/201ontacts/contactChatMessagesHistory.js +3 -2
  25. package/src/api/clients//321/201ontacts/index.js +2 -2
  26. package/src/api/history/transcript/callTranscript.js +1 -0
  27. package/src/api/transformers/index.js +1 -1
  28. package/src/api/transformers/starToSearch/starToSearch.transformer.js +1 -0
  29. package/src/components/on-demand/wt-cc-agent-status-timers/__tests__/wt-cc-agent-status-timers.spec.js +1 -0
  30. package/src/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-1.vue +1 -1
  31. package/src/components/on-demand/wt-save-failed-popup/__tests__/WtPopup.spec.js +1 -0
  32. package/src/components/on-demand/wt-start-page/components/wt-start-page.vue +1 -0
  33. package/src/components/transitions/__tests__/ExpandTransition.spec.js +1 -0
  34. package/src/components/wt-action-bar/__tests__/wt-action-bar.spec.js +1 -0
  35. package/src/components/wt-app-header/__tests__/WtAppHeader.spec.js +1 -0
  36. package/src/components/wt-app-header/__tests__/WtAppNavigator.spec.js +1 -0
  37. package/src/components/wt-app-header/__tests__/WtHeaderActions.spec.js +1 -0
  38. package/src/components/wt-avatar/__tests__/wt-avatar.spec.js +1 -0
  39. package/src/components/wt-avatar/wt-avatar.vue +1 -0
  40. package/src/components/wt-badge/__tests__/wt-badge.spec.js +1 -0
  41. package/src/components/wt-button/__tests__/WtButton.spec.js +1 -0
  42. package/src/components/wt-button-select/__tests__/WtButtonSelect.spec.js +1 -0
  43. package/src/components/wt-checkbox/__tests__/WtCheckbox.spec.js +1 -0
  44. package/src/components/wt-chip/__tests__/WtChip.spec.js +1 -0
  45. package/src/components/wt-context-menu/__tests__/WtContextMenu.spec.js +1 -0
  46. package/src/components/wt-copy-action/__tests__/WtCopyAction.spec.js +1 -0
  47. package/src/components/wt-datepicker/__tests__/WtDatepicker.spec.js +1 -0
  48. package/src/components/wt-divider/__tests__/WtDivider.spec.js +1 -0
  49. package/src/components/wt-dual-panel/__tests__/WtDualPanel.js +1 -0
  50. package/src/components/wt-dummy/__tests__/WtDummy.spec.js +1 -0
  51. package/src/components/wt-empty/__tests__/wt-empty.spec.js +1 -0
  52. package/src/components/wt-error-page/__tests__/wt-error-page.spec.js +1 -0
  53. package/src/components/wt-expansion-panel/__tests__/WtExpansionPanel.spec.js +1 -0
  54. package/src/components/wt-filters-panel-wrapper/__tests__/WtFiltersPanelWrapper.spec.js +1 -0
  55. package/src/components/wt-headline/__tests__/WtHeadline.spec.js +1 -0
  56. package/src/components/wt-headline-nav/__tests__/wt-headline-nav.spec.js +1 -0
  57. package/src/components/wt-hint/__tests__/WtHint.spec.js +1 -0
  58. package/src/components/wt-icon/__tests__/WtIcon.spec.js +1 -0
  59. package/src/components/wt-icon-action/__tests__/WtIconAction.spec.js +1 -0
  60. package/src/components/wt-icon-btn/__tests__/WtIconBtn.spec.js +1 -0
  61. package/src/components/wt-image/__tests__/wt-image.spec.js +1 -0
  62. package/src/components/wt-indicator/__tests__/WtIndicator.spec.js +1 -0
  63. package/src/components/wt-input/__tests__/WtInput.spec.js +1 -0
  64. package/src/components/wt-input-info/__tests__/WtInputInfo.spec.js +1 -0
  65. package/src/components/wt-intersection-observer/__tests__/WtIntersectionObserver.spec.js +1 -0
  66. package/src/components/wt-item-link/__tests__/WtItemLink.spec.js +1 -0
  67. package/src/components/wt-label/__tests__/WtLabel.spec.js +1 -0
  68. package/src/components/wt-load-bar/__tests__/WtLoadBar.spec.js +1 -0
  69. package/src/components/wt-loader/__tests__/WtLoader.spec.js +1 -0
  70. package/src/components/wt-logo/__tests__/wt-logo.spec.js +1 -0
  71. package/src/components/wt-navigation-bar/__tests__/WtNavigationBar.spec.js +1 -0
  72. package/src/components/wt-notification/__tests__/WtNotification.spec.js +1 -0
  73. package/src/components/wt-notifications-bar/__tests__/WtNotificationsBar.spec.js +1 -0
  74. package/src/components/wt-page-header/__tests__/wt-page-header.spec.js +1 -0
  75. package/src/components/wt-page-wrapper/__tests__/WtPageWrapper.spec.js +1 -0
  76. package/src/components/wt-pagination/__tests__/WtPagination.spec.js +1 -0
  77. package/src/components/wt-player/__tests__/WtPlayer.spec.js +1 -0
  78. package/src/components/wt-popup/__tests__/WtPopup.spec.js +1 -0
  79. package/src/components/wt-progress-bar/__tests__/WtProgressBar.spec.js +1 -0
  80. package/src/components/wt-radio/__tests__/WtRadio.spec.js +1 -0
  81. package/src/components/wt-rounded-action/__tests__/WtRoundedAction.spec.js +1 -0
  82. package/src/components/wt-search-bar/__tests__/WtSearchBar.spec.js +1 -0
  83. package/src/components/wt-select/__tests__/WtSelect.spec.js +1 -0
  84. package/src/components/wt-select/mixins/__tests__/multiselectMixin.spec.js +1 -0
  85. package/src/components/wt-slider/__tests__/WtSlider.spec.js +1 -0
  86. package/src/components/wt-status-select/__tests__/WtStatusSelect.spec.js +1 -0
  87. package/src/components/wt-stepper/__tests__/WtStepper.spec.vue.js +1 -0
  88. package/src/components/wt-switcher/__tests__/WtSwitcher.spec.js +1 -0
  89. package/src/components/wt-table/__tests__/WtTable.spec.js +1 -0
  90. package/src/components/wt-table-actions/__tests__/WtTableActions.spec.js +1 -0
  91. package/src/components/wt-tabs/__tests__/WtTabs.spec.js +1 -0
  92. package/src/components/wt-tags-input/__tests__/WtTagsInput.spec.js +1 -0
  93. package/src/components/wt-tags-input/mixin/__tests__/taggableMixin.spec.js +1 -0
  94. package/src/components/wt-textarea/__tests__/WtTextarea.spec.js +1 -0
  95. package/src/components/wt-time-input/__tests__/WtTimeInput.spec.js +1 -0
  96. package/src/components/wt-timepicker/__tests__/WtTimepicker.spec.js +1 -0
  97. package/src/components/wt-tooltip/__tests__/WtTooltip.spec.js +1 -0
  98. package/src/components/wt-tooltip/_internals/wt-tooltip-floating.vue +1 -0
  99. package/src/components/wt-tree/__tests__/WtTree.spec.js +1 -0
  100. package/src/composables/useCachedInterval/useCachedInterval.js +1 -0
  101. package/src/composables/useRepresentableAgentPauseCause/useRepresentableAgentPauseCause.js +1 -0
  102. package/src/locale/es/es.js +1 -0
  103. package/src/locale/i18n.js +1 -0
  104. package/src/locale/kz/kz.js +1 -0
  105. package/src/mixins/dataFilterMixins/__tests__/apiFilterMixin.spec.js +1 -0
  106. package/src/mixins/dataFilterMixins/__tests__/enumFilterMixin.spec.js +1 -0
  107. package/src/mixins/dataFilterMixins/__tests__/paginationFilterMixin.spec.js +1 -0
  108. package/src/mixins/dataFilterMixins/__tests__/sortFilterMixin.spec.js +1 -0
  109. package/src/mixins/dataFilterMixins/__tests__/urlControllerMixin.spec.js +1 -0
  110. package/src/mixins/validationMixin/__tests__/validationMixin.spec.js +1 -0
  111. package/src/modules/AgentStatusSelect/api/pause-cause.js +1 -0
  112. package/src/modules/AgentStatusSelect/components/__tests__/wt-cc-agent-status-select.spec.js +1 -0
  113. package/src/modules/AgentStatusSelect/components/__tests__/wt-cc-pause-cause-popup.spec.js +1 -0
  114. package/src/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue +1 -0
  115. package/src/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue +1 -0
  116. package/src/modules/Appearance/components/__tests__/wt-dark-mode-switcher.spec.js +1 -0
  117. package/src/modules/Appearance/components/wt-dark-mode-switcher.vue +1 -0
  118. package/src/modules/Appearance/store/__tests__/AppearanceStoreModule.spec.js +1 -0
  119. package/src/modules/AuditForm/components/__tests__/audit-form-question-read-wrapper.spec.js +1 -0
  120. package/src/modules/AuditForm/components/__tests__/audit-form-question-write-wrapper.spec.js +1 -0
  121. package/src/modules/AuditForm/components/__tests__/audit-form-question.spec.js +1 -0
  122. package/src/modules/AuditForm/components/__tests__/audit-form.spec.js +1 -0
  123. package/src/modules/AuditForm/components/audit-form-question-read-wrapper.vue +1 -0
  124. package/src/modules/AuditForm/components/audit-form-question-write-wrapper.vue +1 -2
  125. package/src/modules/AuditForm/components/audit-form-question.vue +1 -0
  126. package/src/modules/AuditForm/components/questions/options/__tests__/audit-form-question-options-write-row.spec.js +1 -0
  127. package/src/modules/AuditForm/components/questions/options/__tests__/audit-form-question-options.spec.js +1 -0
  128. package/src/modules/AuditForm/components/questions/options/audit-form-question-options-write-row.vue +1 -0
  129. package/src/modules/AuditForm/components/questions/score/__tests__/audit-form-question-score.spec.js +1 -0
  130. package/src/modules/AuditForm/components/questions/score/audit-form-question-score.vue +1 -0
  131. package/src/modules/CSVExport/CSVExport.js +1 -0
  132. package/src/modules/CSVExport/XLSExport.js +1 -0
  133. package/src/modules/CSVExport/__tests__/CSVExport.spec.js +3 -1
  134. package/src/modules/CardStoreModule/composables/useCardStore.js +1 -0
  135. package/src/modules/CardStoreModule/store/CardStoreModule.js +1 -0
  136. package/src/modules/DeleteConfirmationPopup/__tests__/delete-confirmation-popup.spec.js +1 -0
  137. package/src/modules/FilesExport/FilesExport.js +1 -0
  138. package/src/modules/FilesExport/__tests__/FilesExport.spec.js +3 -1
  139. package/src/modules/Filters/components/__tests__/filter-pagination.spec.js +1 -0
  140. package/src/modules/Filters/components/__tests__/filter-table-fields.spec.js +1 -0
  141. package/src/modules/Filters/components/filter-datetime.vue +1 -0
  142. package/src/modules/Filters/components/filter-search.vue +1 -0
  143. package/src/modules/Filters/components/filter-select.vue +1 -0
  144. package/src/modules/Filters/store/FiltersStoreModule.js +1 -0
  145. package/src/modules/Filters/store/__tests__/FiltersStoreModule.spec.js +1 -0
  146. package/src/modules/Filters/v2/filter-presets/components/_shared/input-fields/preset-description-field.vue +2 -1
  147. package/src/modules/Filters/v2/filter-presets/components/_shared/input-fields/preset-name-field.vue +2 -1
  148. package/src/modules/Filters/v2/filter-presets/components/apply-preset/apply-preset-action.vue +4 -4
  149. package/src/modules/Filters/v2/filter-presets/components/apply-preset/preset-preview.vue +5 -4
  150. package/src/modules/Filters/v2/filter-presets/components/save-preset/save-preset-action.vue +1 -1
  151. package/src/modules/Filters/v2/filter-presets/index.ts +3 -3
  152. package/src/modules/Filters/v2/filter-presets/stores/createFilterPresetsStore.ts +1 -0
  153. package/src/modules/Filters/v2/filters/components/filter-options/_shared/date-time-filter/date-time-filter-value-field.vue +1 -1
  154. package/src/modules/Filters/v2/filters/components/filter-options/agent/agent-filter-value-preview.vue +2 -1
  155. package/src/modules/Filters/v2/filters/components/filter-options/assignee/assignee-filter-value-preview.vue +2 -1
  156. package/src/modules/Filters/v2/filters/components/filter-options/author/author-filter-value-preview.vue +2 -1
  157. package/src/modules/Filters/v2/filters/components/filter-options/close-reason-groups-case/close-reason-groups-case-filter-value-field.vue +1 -1
  158. package/src/modules/Filters/v2/filters/components/filter-options/close-reason-groups-case/close-reason-groups-case-filter-value-preview.vue +2 -1
  159. package/src/modules/Filters/v2/filters/components/filter-options/contact/contact-filter-value-preview.vue +2 -1
  160. package/src/modules/Filters/v2/filters/components/filter-options/contact-group/contact-group-filter-value-preview.vue +1 -1
  161. package/src/modules/Filters/v2/filters/components/filter-options/gateway/gateway-filter-value-preview.vue +2 -1
  162. package/src/modules/Filters/v2/filters/components/filter-options/grantee/grantee-filter-value-preview.vue +2 -1
  163. package/src/modules/Filters/v2/filters/components/filter-options/impacted/impacted-filter-value-preview.vue +2 -1
  164. package/src/modules/Filters/v2/filters/components/filter-options/index.ts +1 -1
  165. package/src/modules/Filters/v2/filters/components/filter-options/priority-case/priority-case-filter-value-preview.vue +2 -1
  166. package/src/modules/Filters/v2/filters/components/filter-options/queue/queue-filter-value-preview.vue +2 -1
  167. package/src/modules/Filters/v2/filters/components/filter-options/rated-by/rated-by-filter-value-preview.vue +2 -1
  168. package/src/modules/Filters/v2/filters/components/filter-options/reporter/reporter-filter-value-preview.vue +2 -1
  169. package/src/modules/Filters/v2/filters/components/filter-options/sla/sla-filter-value-preview.vue +2 -1
  170. package/src/modules/Filters/v2/filters/components/filter-options/source-case/source-case-filter-value-preview.vue +2 -1
  171. package/src/modules/Filters/v2/filters/components/filter-options/status-case/config.js +1 -1
  172. package/src/modules/Filters/v2/filters/components/filter-options/status-case/status-case-filter-value-field.vue +1 -1
  173. package/src/modules/Filters/v2/filters/components/filter-options/team/team-filter-value-preview.vue +2 -1
  174. package/src/modules/Filters/v2/filters/components/filter-options/user/user-filter-value-preview.vue +2 -1
  175. package/src/modules/Notifications/store/NotificationsStoreModule.js +2 -1
  176. package/src/modules/Notifications/store/__tests__/NotificationsStoreModule.actions.spec.js +2 -1
  177. package/src/modules/Notifications/store/__tests__/NotificationsStoreModule.mutations.spec.js +2 -1
  178. package/src/modules/ObjectPermissions/_internals/components/permissions-role-select.vue +1 -0
  179. package/src/modules/ObjectPermissions/_internals/components/permissions-tab-role-popup.vue +1 -0
  180. package/src/modules/ObjectPermissions/_internals/modules/filters/store/filters.store.js +1 -0
  181. package/src/modules/ObjectPermissions/_internals/store/modules/objectPermissionsStoreModule.js +1 -0
  182. package/src/modules/QueryFilters/components/__tests__/abstract-api-filter.spec.js +1 -0
  183. package/src/modules/QueryFilters/components/__tests__/abstract-enum-filter.spec.js +1 -0
  184. package/src/modules/QueryFilters/components/__tests__/filter-datetime.spec.js +1 -0
  185. package/src/modules/QueryFilters/components/__tests__/filter-from-to.spec.js +1 -0
  186. package/src/modules/QueryFilters/components/__tests__/filter-search.spec.js +1 -0
  187. package/src/modules/QueryFilters/mixins/__tests__/apiFilterMixin.spec.js +1 -0
  188. package/src/modules/QueryFilters/mixins/__tests__/enumFilterMixin.spec.js +1 -0
  189. package/src/modules/QueryFilters/mixins/__tests__/paginationFilterMixin.spec.js +1 -0
  190. package/src/modules/QueryFilters/mixins/__tests__/sortFilterMixin.spec.js +1 -0
  191. package/src/modules/QueryFilters/mixins/__tests__/urlControllerMixin.spec.js +1 -0
  192. package/src/modules/QueryFilters/mixins/sortFilterMixin.js +1 -1
  193. package/src/modules/TableComponentModule/composables/useTableEmpty.js +3 -2
  194. package/src/modules/TableStoreModule/composables/useTableStore.js +1 -0
  195. package/src/modules/TableStoreModule/store/__tests__/TableStoreModule.spec.js +1 -0
  196. package/src/plugins/breakpoint/breakpoint.plugin.js +1 -0
  197. package/src/scripts/index.js +41 -43
  198. package/src/store/new/index.js +2 -3
  199. package/src/store/new/modules/cardStoreModule/useCardStore.js +1 -0
  200. package/src/store/new/modules/tableStoreModule/__tests__/tableStoreModule.spec.js +1 -0
  201. package/src/store/new/modules/tableStoreModule/useTableStore.js +1 -0
@@ -1,5 +1,6 @@
1
1
  import { mount } from '@vue/test-utils';
2
2
  import { createStore } from 'vuex';
3
+
3
4
  import FiltersStoreModule from '../../store/FiltersStoreModule.js';
4
5
  import FilterPagination from '../filter-pagination.vue';
5
6
 
@@ -1,5 +1,6 @@
1
1
  import { mount } from '@vue/test-utils';
2
2
  import { createStore } from 'vuex';
3
+
3
4
  import FiltersStoreModule from '../../store/FiltersStoreModule.js';
4
5
  import FilterTableFields from '../filter-table-fields.vue';
5
6
 
@@ -10,6 +10,7 @@
10
10
  <script setup>
11
11
  import { computed } from 'vue';
12
12
  import { useStore } from 'vuex';
13
+
13
14
  import getNamespacedState from '../../../store/helpers/getNamespacedState.js';
14
15
 
15
16
  const props = defineProps({
@@ -16,6 +16,7 @@
16
16
  import { useVuelidate } from '@vuelidate/core';
17
17
  import { computed, ref, watch } from 'vue';
18
18
  import { useStore } from 'vuex';
19
+
19
20
  import FilterEvent from '../enums/FilterEvent.enum.js';
20
21
 
21
22
  const props = defineProps({
@@ -15,6 +15,7 @@
15
15
  import { computed, reactive, useAttrs } from 'vue';
16
16
  import { useI18n } from 'vue-i18n';
17
17
  import { useStore } from 'vuex';
18
+
18
19
  import isEmpty from '../../../scripts/isEmpty.js';
19
20
  import getNamespacedState from '../../../store/helpers/getNamespacedState.js';
20
21
 
@@ -1,4 +1,5 @@
1
1
  import mitt from 'mitt';
2
+
2
3
  import isEmpty from '../../../scripts/isEmpty.js';
3
4
  import BaseStoreModule from '../../../store/BaseStoreModules/BaseStoreModule.js';
4
5
  import BaseFilterSchema from '../classes/BaseFilterSchema.js';
@@ -1,5 +1,6 @@
1
1
  import { createRouter, createWebHistory } from 'vue-router';
2
2
  import { createStore } from 'vuex';
3
+
3
4
  import { valueGetter } from '../../scripts/getters/index.js';
4
5
  import { queryRestore } from '../../scripts/restores/index.js';
5
6
  import { querySetter, valueSetter } from '../../scripts/setters/index.js';
@@ -18,7 +18,8 @@
18
18
 
19
19
  <script setup lang="ts">
20
20
  import { useI18n } from 'vue-i18n';
21
- import { WtTextarea, WtLabel } from '../../../../../../../components/index';
21
+
22
+ import { WtLabel,WtTextarea } from '../../../../../../../components/index';
22
23
 
23
24
  const model = defineModel<string>();
24
25
 
@@ -8,8 +8,9 @@
8
8
  </template>
9
9
 
10
10
  <script setup lang="ts">
11
- import { useI18n } from 'vue-i18n';
12
11
  import { Validation } from '@vuelidate/core';
12
+ import { useI18n } from 'vue-i18n';
13
+
13
14
  import { WtInput } from '../../../../../../../components/index';
14
15
 
15
16
  type ModelValue = string;
@@ -69,21 +69,21 @@
69
69
 
70
70
  <script lang="ts" setup>
71
71
  import { type StoreDefinition, storeToRefs } from 'pinia';
72
- import { computed, inject, ref, watch, onUnmounted } from 'vue';
72
+ import { computed, inject, onUnmounted,ref, watch } from 'vue';
73
73
  import { useI18n } from 'vue-i18n';
74
+ import { EnginePresetQuery } from 'webitel-sdk';
74
75
 
75
76
  import {
76
77
  WtButton,
77
78
  WtEmpty,
79
+ WtIconAction,
78
80
  WtPopup,
79
81
  WtSearchBar,
80
- WtIconAction,
81
82
  } from '../../../../../../components/index';
82
- import { useTableEmpty } from '../../../../../TableComponentModule/composables/useTableEmpty';
83
83
  import { IconAction } from '../../../../../../enums';
84
+ import { useTableEmpty } from '../../../../../TableComponentModule/composables/useTableEmpty';
84
85
  import PresetQueryAPI from '../../api/PresetQuery.api.ts';
85
86
  import PresetPreview from './preset-preview.vue';
86
- import { EnginePresetQuery } from 'webitel-sdk';
87
87
 
88
88
  const props = defineProps<{
89
89
  /**
@@ -74,20 +74,21 @@
74
74
  </template>
75
75
 
76
76
  <script lang="ts" setup>
77
- import { EnginePresetQuery } from 'webitel-sdk';
78
- import { computed, ref } from 'vue';
79
77
  import { useVuelidate } from '@vuelidate/core';
80
78
  import { required } from '@vuelidate/validators';
81
79
  import { AxiosError } from 'axios';
80
+ import { computed, ref } from 'vue';
81
+ import { EnginePresetQuery } from 'webitel-sdk';
82
+
82
83
  import {
83
84
  WtExpansionPanel,
84
85
  WtIconAction,
85
86
  WtRadio,
86
87
  } from '../../../../../../components/index';
87
88
  import { createFiltersManager } from '../../../filters/index';
88
- import PresetFiltersPreview from '../_shared/preset-filters-preview.vue';
89
- import PresetNameField from '../_shared/input-fields/preset-name-field.vue';
90
89
  import PresetDescriptionField from '../_shared/input-fields/preset-description-field.vue';
90
+ import PresetNameField from '../_shared/input-fields/preset-name-field.vue';
91
+ import PresetFiltersPreview from '../_shared/preset-filters-preview.vue';
91
92
 
92
93
  type Props = {
93
94
  preset: EnginePresetQuery;
@@ -35,6 +35,7 @@ import { useI18n } from 'vue-i18n';
35
35
  import { EnginePresetQuery } from 'webitel-sdk';
36
36
 
37
37
  import { WtIconAction } from '../../../../../../components/index';
38
+ import { IconAction } from '../../../../../../enums';
38
39
  import { IFiltersManager } from '../../../filters/index';
39
40
  import {
40
41
  addPreset,
@@ -42,7 +43,6 @@ import {
42
43
  updatePreset,
43
44
  } from '../../api/PresetQuery.api.ts';
44
45
  import OverwritePresetPopup from './overwrite-preset-popup.vue';
45
- import { IconAction } from '../../../../../../enums';
46
46
  import SavePresetPopup, { SubmitConfig } from './save-preset-popup.vue';
47
47
 
48
48
  const props = defineProps<{
@@ -1,5 +1,5 @@
1
- import { createFilterPresetsStore } from './stores/createFilterPresetsStore.ts';
2
- import SavePresetAction from './components/save-preset/save-preset-action.vue';
3
1
  import ApplyPresetAction from './components/apply-preset/apply-preset-action.vue';
2
+ import SavePresetAction from './components/save-preset/save-preset-action.vue';
3
+ import { createFilterPresetsStore } from './stores/createFilterPresetsStore.ts';
4
4
 
5
- export { SavePresetAction, ApplyPresetAction, createFilterPresetsStore };
5
+ export { ApplyPresetAction, createFilterPresetsStore, SavePresetAction };
@@ -1,4 +1,5 @@
1
1
  import { EnginePresetQuery } from 'webitel-sdk';
2
+
2
3
  import { createTableStore } from '../../table/createTableStore.store.ts';
3
4
  import PresetQueryAPI from '../api/PresetQuery.api.ts';
4
5
  import { headers } from './headers/headers.ts';
@@ -20,8 +20,8 @@
20
20
 
21
21
  <script lang="ts" setup>
22
22
  import { endOfToday, startOfToday } from 'date-fns';
23
- import { useI18n } from 'vue-i18n';
24
23
  import { onMounted } from 'vue';
24
+ import { useI18n } from 'vue-i18n';
25
25
 
26
26
  type ModelValue = {
27
27
  from: number;
@@ -10,9 +10,10 @@
10
10
  </template>
11
11
 
12
12
  <script lang="ts" setup>
13
- import { searchMethod } from './config.js';
14
13
  import { ref } from 'vue';
15
14
 
15
+ import { searchMethod } from './config.js';
16
+
16
17
  const props = defineProps<{
17
18
  value: number[];
18
19
  }>();
@@ -13,10 +13,11 @@
13
13
  </template>
14
14
 
15
15
  <script lang="ts" setup>
16
- import { searchMethod } from './config.js';
17
16
  import { ref } from 'vue';
18
17
  import { useI18n } from 'vue-i18n';
19
18
 
19
+ import { searchMethod } from './config.js';
20
+
20
21
  const props = defineProps<{
21
22
  value: number[];
22
23
  }>();
@@ -10,9 +10,10 @@
10
10
  </template>
11
11
 
12
12
  <script lang="ts" setup>
13
- import { searchMethod } from './config.js';
14
13
  import { ref } from 'vue';
15
14
 
15
+ import { searchMethod } from './config.js';
16
+
16
17
  const props = defineProps<{
17
18
  value: number[];
18
19
  }>();
@@ -36,8 +36,8 @@ import { useI18n } from 'vue-i18n';
36
36
 
37
37
  import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
38
38
  import {
39
- caseCloseReasonsSearchMethod,
40
39
  caseCloseReasonsGroupsSearchMethod,
40
+ caseCloseReasonsSearchMethod,
41
41
  } from './config.js';
42
42
 
43
43
  type ModelValue = {
@@ -10,9 +10,10 @@
10
10
  </template>
11
11
 
12
12
  <script lang="ts" setup>
13
- import { caseCloseReasonsSearchMethod } from './config';
14
13
  import { ref } from 'vue';
15
14
 
15
+ import { caseCloseReasonsSearchMethod } from './config';
16
+
16
17
  const props = defineProps<{
17
18
  value: number[];
18
19
  }>();
@@ -10,9 +10,10 @@
10
10
  </template>
11
11
 
12
12
  <script lang="ts" setup>
13
- import { searchMethod } from './config.js';
14
13
  import { ref } from 'vue';
15
14
 
15
+ import { searchMethod } from './config.js';
16
+
16
17
  const props = defineProps<{
17
18
  value: number[];
18
19
  }>();
@@ -14,9 +14,9 @@
14
14
 
15
15
  <script lang="ts" setup>
16
16
  import { ref } from 'vue';
17
+ import { useI18n } from 'vue-i18n';
17
18
 
18
19
  import { searchMethod } from './config.js';
19
- import { useI18n } from 'vue-i18n';
20
20
 
21
21
  const props = defineProps<{
22
22
  value: number[];
@@ -10,9 +10,10 @@
10
10
  </template>
11
11
 
12
12
  <script lang="ts" setup>
13
- import { searchMethod } from './config.js';
14
13
  import { ref } from 'vue';
15
14
 
15
+ import { searchMethod } from './config.js';
16
+
16
17
  const props = defineProps<{
17
18
  value: number[];
18
19
  }>();
@@ -10,9 +10,10 @@
10
10
  </template>
11
11
 
12
12
  <script lang="ts" setup>
13
- import { searchMethod } from './config.js';
14
13
  import { ref } from 'vue';
15
14
 
15
+ import { searchMethod } from './config.js';
16
+
16
17
  const props = defineProps<{
17
18
  value: number[];
18
19
  }>();
@@ -10,9 +10,10 @@
10
10
  </template>
11
11
 
12
12
  <script lang="ts" setup>
13
- import { searchMethod } from './config.js';
14
13
  import { ref } from 'vue';
15
14
 
15
+ import { searchMethod } from './config.js';
16
+
16
17
  const props = defineProps<{
17
18
  value: number[];
18
19
  }>();
@@ -1,5 +1,6 @@
1
1
  import type { Component } from 'vue';
2
2
 
3
+ import { FilterOption } from '../../enums/FilterOption';
3
4
  import ActualReactionTimeFilter from './actual-reaction-time/actual-reaction-time-filter-value-field.vue';
4
5
  import ActualReactionTimeFilterPreview from './actual-reaction-time/actual-reaction-time-filter-value-preview.vue';
5
6
  import ActualResolutionTimeFilter from './actual-resolution-time/actual-resolution-time-filter-value-field.vue';
@@ -26,7 +27,6 @@ import CreatedAtToFilter from './created-at-to/created-at-to-filter-value-field.
26
27
  import CreatedAtToFilterPreview from './created-at-to/created-at-to-filter-value-preview.vue';
27
28
  import DirectionFilter from './direction/direction-filter-value-field.vue';
28
29
  import DirectionFilterPreview from './direction/direction-filter-value-preview.vue';
29
- import { FilterOption } from '../../enums/FilterOption';
30
30
  import GatewayFilter from './gateway/gateway-filter-value-field.vue';
31
31
  import GatewayFilterPreview from './gateway/gateway-filter-value-preview.vue';
32
32
  import GranteeFilter from './grantee/grantee-filter-value-field.vue';
@@ -10,9 +10,10 @@
10
10
  </template>
11
11
 
12
12
  <script lang="ts" setup>
13
- import { searchMethod } from './config.js';
14
13
  import { ref } from 'vue';
15
14
 
15
+ import { searchMethod } from './config.js';
16
+
16
17
  const props = defineProps<{
17
18
  value: number[];
18
19
  }>();
@@ -10,9 +10,10 @@
10
10
  </template>
11
11
 
12
12
  <script lang="ts" setup>
13
- import { searchMethod } from './config.js';
14
13
  import { ref } from 'vue';
15
14
 
15
+ import { searchMethod } from './config.js';
16
+
16
17
  const props = defineProps<{
17
18
  value: number[];
18
19
  }>();
@@ -10,9 +10,10 @@
10
10
  </template>
11
11
 
12
12
  <script lang="ts" setup>
13
- import { searchMethod } from './config.js';
14
13
  import { ref } from 'vue';
15
14
 
15
+ import { searchMethod } from './config.js';
16
+
16
17
  const props = defineProps<{
17
18
  value: number[];
18
19
  }>();
@@ -10,9 +10,10 @@
10
10
  </template>
11
11
 
12
12
  <script lang="ts" setup>
13
- import { searchMethod } from './config.js';
14
13
  import { ref } from 'vue';
15
14
 
15
+ import { searchMethod } from './config.js';
16
+
16
17
  const props = defineProps<{
17
18
  value: number[];
18
19
  }>();
@@ -10,9 +10,10 @@
10
10
  </template>
11
11
 
12
12
  <script lang="ts" setup>
13
- import { searchMethod } from './config.js';
14
13
  import { ref } from 'vue';
15
14
 
15
+ import { searchMethod } from './config.js';
16
+
16
17
  const props = defineProps<{
17
18
  value: number[];
18
19
  }>();
@@ -10,9 +10,10 @@
10
10
  </template>
11
11
 
12
12
  <script lang="ts" setup>
13
- import { searchMethod } from './config.js';
14
13
  import { ref } from 'vue';
15
14
 
15
+ import { searchMethod } from './config.js';
16
+
16
17
  const props = defineProps<{
17
18
  value: number[];
18
19
  }>();
@@ -1,5 +1,5 @@
1
- import CaseStatusesApi from '../../../../../../../api/clients/caseStatuses/caseStatuses.js';
2
1
  import CaseStatusConditionsAPI from '../../../../../../../api/clients/caseStatusConditions/caseStatusConditions.js';
2
+ import CaseStatusesApi from '../../../../../../../api/clients/caseStatuses/caseStatuses.js';
3
3
 
4
4
  export const caseStatusesSearchMethod = CaseStatusesApi.getLookup;
5
5
  export const caseStatusConditionsSearchMethod =
@@ -36,8 +36,8 @@ import { useI18n } from 'vue-i18n';
36
36
 
37
37
  import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
38
38
  import {
39
- caseStatusesSearchMethod,
40
39
  caseStatusConditionsSearchMethod,
40
+ caseStatusesSearchMethod,
41
41
  } from './config.js';
42
42
 
43
43
  type ModelValue = {
@@ -10,9 +10,10 @@
10
10
  </template>
11
11
 
12
12
  <script lang="ts" setup>
13
- import { searchMethod } from './config.js';
14
13
  import { ref } from 'vue';
15
14
 
15
+ import { searchMethod } from './config.js';
16
+
16
17
  const props = defineProps<{
17
18
  value: number[];
18
19
  }>();
@@ -10,9 +10,10 @@
10
10
  </template>
11
11
 
12
12
  <script lang="ts" setup>
13
- import { searchMethod } from './config.js';
14
13
  import { ref } from 'vue';
15
14
 
15
+ import { searchMethod } from './config.js';
16
+
16
17
  const props = defineProps<{
17
18
  value: number[];
18
19
  }>();
@@ -1,11 +1,12 @@
1
1
  import { CallActions, ChatActions, JobState } from 'webitel-sdk';
2
+
2
3
  import i18n from '../../../locale/i18n.js';
3
4
  import BaseStoreModule from '../../../store/BaseStoreModules/BaseStoreModule.js';
4
- import triggerSound from '../assets/audio/triggerSound.js';
5
5
  import endChatSound from '../assets/audio/end-chat.wav';
6
6
  import newChatSound from '../assets/audio/new-chat.wav';
7
7
  import newMessageSound from '../assets/audio/new-message.wav';
8
8
  import ringingSound from '../assets/audio/ringing.mp3';
9
+ import triggerSound from '../assets/audio/triggerSound.js';
9
10
  import notificationIcon from '../assets/img/notification-icon.png';
10
11
 
11
12
  const NOTIFICATION_VISIBLE_INTERVAL = 2000;
@@ -1,6 +1,7 @@
1
+ import '../../../../../tests/mocks/broadcastChannelMock';
2
+
1
3
  import audio from '../../assets/audio/new-message.wav';
2
4
  import NotificationsStoreModule from '../NotificationsStoreModule';
3
- import '../../../../../tests/mocks/broadcastChannelMock';
4
5
 
5
6
  const notificationsModule = new NotificationsStoreModule().getModule();
6
7
 
@@ -1,6 +1,7 @@
1
- import NotificationsStoreModule from '../NotificationsStoreModule.js';
2
1
  import '../../../../../tests/mocks/broadcastChannelMock.js';
3
2
 
3
+ import NotificationsStoreModule from '../NotificationsStoreModule.js';
4
+
4
5
  const notificationsModule = new NotificationsStoreModule().getModule();
5
6
 
6
7
  const state = {
@@ -22,6 +22,7 @@
22
22
 
23
23
  <script setup>
24
24
  import { useAttrs } from 'vue';
25
+
25
26
  import RoleRow from './permissions-role-row.vue';
26
27
 
27
28
  const attrs = useAttrs();
@@ -42,6 +42,7 @@ import { computed, ref, useAttrs } from 'vue';
42
42
  import { useI18n } from 'vue-i18n';
43
43
  import { useRoute, useRouter } from 'vue-router';
44
44
  import { useStore } from 'vuex';
45
+
45
46
  import RolesAPI from '../../../../api/clients/roles/roles.js';
46
47
  import getNamespacedState from '../../../../store/helpers/getNamespacedState.js';
47
48
  import PermissionsRoleSelect from './permissions-role-select.vue';
@@ -1,4 +1,5 @@
1
1
  import deepCopy from 'deep-copy';
2
+
2
3
  import FiltersStoreModule from '../../../../../Filters/store/FiltersStoreModule';
3
4
 
4
5
  const filtersList = [
@@ -1,4 +1,5 @@
1
1
  import deepCopy from 'deep-copy';
2
+
2
3
  import { AccessMode } from '../../enums/AccessMode.enum.js';
3
4
  import generateFilters from '../../modules/filters/store/filters.store.js';
4
5
  import headers from './headers.js';
@@ -1,6 +1,7 @@
1
1
  import { shallowMount } from '@vue/test-utils';
2
2
  import { createRouter, createWebHistory } from 'vue-router';
3
3
  import { createStore } from 'vuex';
4
+
4
5
  import ApiFilterSchema from '../../classes/ApiFilterSchema.js';
5
6
  import AbstractApiFilter from '../abstract-api-filter.vue';
6
7
 
@@ -1,6 +1,7 @@
1
1
  import { shallowMount } from '@vue/test-utils';
2
2
  import { createRouter, createWebHistory } from 'vue-router';
3
3
  import { createStore } from 'vuex';
4
+
4
5
  import EnumFilterSchema from '../../classes/EnumFilterSchema.js';
5
6
  import AbstractEnumFilter from '../abstract-enum-filter.vue';
6
7
 
@@ -1,6 +1,7 @@
1
1
  import { shallowMount } from '@vue/test-utils';
2
2
  import { createRouter, createWebHistory } from 'vue-router';
3
3
  import { createStore } from 'vuex';
4
+
4
5
  import BaseFilterSchema from '../../classes/BaseFilterSchema.js';
5
6
  import baseFilterMixin from '../../mixins/baseFilterMixin/baseFilterMixin.js';
6
7
  import DatetimeFilter from '../filter-datetime.vue';
@@ -1,6 +1,7 @@
1
1
  import { shallowMount } from '@vue/test-utils';
2
2
  import { createRouter, createWebHistory } from 'vue-router';
3
3
  import { createStore } from 'vuex';
4
+
4
5
  import BaseFilterSchema from '../../classes/BaseFilterSchema.js';
5
6
  import baseFilterMixin from '../../mixins/baseFilterMixin/baseFilterMixin.js';
6
7
  import FilterFromTo from '../filter-from-to.vue';
@@ -1,6 +1,7 @@
1
1
  import { shallowMount } from '@vue/test-utils';
2
2
  import { createRouter, createWebHistory } from 'vue-router';
3
3
  import { createStore } from 'vuex';
4
+
4
5
  import BaseFilterSchema from '../../classes/BaseFilterSchema.js';
5
6
  import baseFilterMixin from '../../mixins/baseFilterMixin/baseFilterMixin.js';
6
7
  import SearchFilter from '../filter-search.vue';
@@ -1,5 +1,6 @@
1
1
  import { shallowMount } from '@vue/test-utils';
2
2
  import { createRouter, createWebHistory } from 'vue-router';
3
+
3
4
  import ApiFilterSchema from '../../classes/ApiFilterSchema.js';
4
5
  import apiFilterMixin from '../apiFilterMixin.js';
5
6
 
@@ -1,5 +1,6 @@
1
1
  import { shallowMount } from '@vue/test-utils';
2
2
  import { createRouter, createWebHistory } from 'vue-router';
3
+
3
4
  import enumFilterMixin from '../enumFilterMixin.js';
4
5
 
5
6
  const options = [
@@ -1,5 +1,6 @@
1
1
  import { shallowMount } from '@vue/test-utils';
2
2
  import { createRouter, createWebHistory } from 'vue-router';
3
+
3
4
  import paginationFilterMixin from '../paginationFilterMixin';
4
5
 
5
6
  const router = createRouter({
@@ -1,5 +1,6 @@
1
1
  import { shallowMount } from '@vue/test-utils';
2
2
  import { createRouter, createWebHistory } from 'vue-router';
3
+
3
4
  import sortFilterMixin from '../sortFilterMixin.js';
4
5
 
5
6
  const router = createRouter({
@@ -1,5 +1,6 @@
1
1
  import { shallowMount } from '@vue/test-utils';
2
2
  import { createRouter, createWebHistory } from 'vue-router';
3
+
3
4
  import _urlControllerMixin from '../_urlControllerMixin/_urlControllerMixin.js';
4
5
 
5
6
  const router = createRouter({
@@ -1,6 +1,6 @@
1
1
  import {
2
- SortSymbols,
3
2
  queryToSortAdapter,
3
+ SortSymbols,
4
4
  sortToQueryAdapter,
5
5
  } from '../../../scripts/sortQueryAdapters.js';
6
6
  import baseFilterMixin from './baseFilterMixin/baseFilterMixin.js';
@@ -2,11 +2,12 @@ import deepmerge from 'deepmerge';
2
2
  import { computed, inject } from 'vue';
3
3
  import { useI18n } from 'vue-i18n';
4
4
  import { useStore } from 'vuex';
5
+
5
6
  import { isEmpty } from '../../../scripts/index.js';
6
- import EmptyTableDark from '../_internals/assets/empty-table-dark.svg';
7
- import EmptyTableLight from '../_internals/assets/empty-table-light.svg';
8
7
  import EmptyFiltersDark from '../_internals/assets/empty-filters-dark.svg';
9
8
  import EmptyFiltersLight from '../_internals/assets/empty-filters-light.svg';
9
+ import EmptyTableDark from '../_internals/assets/empty-table-dark.svg';
10
+ import EmptyTableLight from '../_internals/assets/empty-table-light.svg';
10
11
 
11
12
  export const useTableEmpty = (
12
13
  { dataList, filters, error, isLoading },