@webitel/ui-sdk 25.4.47 → 25.4.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +3 -3
- package/dist/ui-sdk.umd.cjs +2 -2
- package/package.json +64 -75
- package/src/api/clients/agents/agentChats.js +3 -2
- package/src/api/clients/buckets/buckets.js +1 -0
- package/src/api/clients/calendars/calendars.js +1 -0
- package/src/api/clients/casePriorities/casePriorities.js +2 -1
- package/src/api/clients/caseSources/caseSources.js +2 -2
- package/src/api/clients/catalog/catalog.js +1 -0
- package/src/api/clients/chatGateways/chatGateways.js +1 -0
- package/src/api/clients/communications/communications.js +1 -0
- package/src/api/clients/configurations/configurations.js +1 -0
- package/src/api/clients/flows/flow.js +1 -0
- package/src/api/clients/index.js +2 -0
- package/src/api/clients/lists/blacklists.js +1 -0
- package/src/api/clients/media/media.js +1 -0
- package/src/api/clients/queues/queues.js +1 -0
- package/src/api/clients/roles/roles.js +5 -0
- package/src/api/clients/skills/skills.js +1 -0
- package/src/api/clients/slas/slas.js +2 -1
- package/src/api/clients/teams/teams.js +1 -0
- package/src/api/clients/users/users.js +1 -0
- package/src/api/clients//321/201ontacts/contactChatMessagesHistory.js +3 -2
- package/src/api/clients//321/201ontacts/index.js +2 -2
- package/src/api/history/transcript/callTranscript.js +1 -0
- package/src/api/transformers/index.js +1 -1
- package/src/api/transformers/starToSearch/starToSearch.transformer.js +1 -0
- package/src/components/on-demand/wt-cc-agent-status-timers/__tests__/wt-cc-agent-status-timers.spec.js +1 -0
- package/src/components/on-demand/wt-navigation-menu/components/_internals/nav-menu-lvl-1.vue +1 -1
- package/src/components/on-demand/wt-save-failed-popup/__tests__/WtPopup.spec.js +1 -0
- package/src/components/on-demand/wt-start-page/components/wt-start-page.vue +1 -0
- package/src/components/transitions/__tests__/ExpandTransition.spec.js +1 -0
- package/src/components/wt-action-bar/__tests__/wt-action-bar.spec.js +1 -0
- package/src/components/wt-app-header/__tests__/WtAppHeader.spec.js +1 -0
- package/src/components/wt-app-header/__tests__/WtAppNavigator.spec.js +1 -0
- package/src/components/wt-app-header/__tests__/WtHeaderActions.spec.js +1 -0
- package/src/components/wt-avatar/__tests__/wt-avatar.spec.js +1 -0
- package/src/components/wt-avatar/wt-avatar.vue +1 -0
- package/src/components/wt-badge/__tests__/wt-badge.spec.js +1 -0
- package/src/components/wt-button/__tests__/WtButton.spec.js +1 -0
- package/src/components/wt-button-select/__tests__/WtButtonSelect.spec.js +1 -0
- package/src/components/wt-checkbox/__tests__/WtCheckbox.spec.js +1 -0
- package/src/components/wt-chip/__tests__/WtChip.spec.js +1 -0
- package/src/components/wt-context-menu/__tests__/WtContextMenu.spec.js +1 -0
- package/src/components/wt-copy-action/__tests__/WtCopyAction.spec.js +1 -0
- package/src/components/wt-datepicker/__tests__/WtDatepicker.spec.js +1 -0
- package/src/components/wt-divider/__tests__/WtDivider.spec.js +1 -0
- package/src/components/wt-dual-panel/__tests__/WtDualPanel.js +1 -0
- package/src/components/wt-dummy/__tests__/WtDummy.spec.js +1 -0
- package/src/components/wt-empty/__tests__/wt-empty.spec.js +1 -0
- package/src/components/wt-error-page/__tests__/wt-error-page.spec.js +1 -0
- package/src/components/wt-expansion-panel/__tests__/WtExpansionPanel.spec.js +1 -0
- package/src/components/wt-filters-panel-wrapper/__tests__/WtFiltersPanelWrapper.spec.js +1 -0
- package/src/components/wt-headline/__tests__/WtHeadline.spec.js +1 -0
- package/src/components/wt-headline-nav/__tests__/wt-headline-nav.spec.js +1 -0
- package/src/components/wt-hint/__tests__/WtHint.spec.js +1 -0
- package/src/components/wt-icon/__tests__/WtIcon.spec.js +1 -0
- package/src/components/wt-icon-action/__tests__/WtIconAction.spec.js +1 -0
- package/src/components/wt-icon-btn/__tests__/WtIconBtn.spec.js +1 -0
- package/src/components/wt-image/__tests__/wt-image.spec.js +1 -0
- package/src/components/wt-indicator/__tests__/WtIndicator.spec.js +1 -0
- package/src/components/wt-input/__tests__/WtInput.spec.js +1 -0
- package/src/components/wt-input-info/__tests__/WtInputInfo.spec.js +1 -0
- package/src/components/wt-intersection-observer/__tests__/WtIntersectionObserver.spec.js +1 -0
- package/src/components/wt-item-link/__tests__/WtItemLink.spec.js +1 -0
- package/src/components/wt-label/__tests__/WtLabel.spec.js +1 -0
- package/src/components/wt-load-bar/__tests__/WtLoadBar.spec.js +1 -0
- package/src/components/wt-loader/__tests__/WtLoader.spec.js +1 -0
- package/src/components/wt-logo/__tests__/wt-logo.spec.js +1 -0
- package/src/components/wt-navigation-bar/__tests__/WtNavigationBar.spec.js +1 -0
- package/src/components/wt-notification/__tests__/WtNotification.spec.js +1 -0
- package/src/components/wt-notifications-bar/__tests__/WtNotificationsBar.spec.js +1 -0
- package/src/components/wt-page-header/__tests__/wt-page-header.spec.js +1 -0
- package/src/components/wt-page-wrapper/__tests__/WtPageWrapper.spec.js +1 -0
- package/src/components/wt-pagination/__tests__/WtPagination.spec.js +1 -0
- package/src/components/wt-player/__tests__/WtPlayer.spec.js +1 -0
- package/src/components/wt-popup/__tests__/WtPopup.spec.js +1 -0
- package/src/components/wt-progress-bar/__tests__/WtProgressBar.spec.js +1 -0
- package/src/components/wt-radio/__tests__/WtRadio.spec.js +1 -0
- package/src/components/wt-rounded-action/__tests__/WtRoundedAction.spec.js +1 -0
- package/src/components/wt-search-bar/__tests__/WtSearchBar.spec.js +1 -0
- package/src/components/wt-select/__tests__/WtSelect.spec.js +1 -0
- package/src/components/wt-select/mixins/__tests__/multiselectMixin.spec.js +1 -0
- package/src/components/wt-slider/__tests__/WtSlider.spec.js +1 -0
- package/src/components/wt-status-select/__tests__/WtStatusSelect.spec.js +1 -0
- package/src/components/wt-stepper/__tests__/WtStepper.spec.vue.js +1 -0
- package/src/components/wt-switcher/__tests__/WtSwitcher.spec.js +1 -0
- package/src/components/wt-table/__tests__/WtTable.spec.js +1 -0
- package/src/components/wt-table-actions/__tests__/WtTableActions.spec.js +1 -0
- package/src/components/wt-tabs/__tests__/WtTabs.spec.js +1 -0
- package/src/components/wt-tags-input/__tests__/WtTagsInput.spec.js +1 -0
- package/src/components/wt-tags-input/mixin/__tests__/taggableMixin.spec.js +1 -0
- package/src/components/wt-textarea/__tests__/WtTextarea.spec.js +1 -0
- package/src/components/wt-time-input/__tests__/WtTimeInput.spec.js +1 -0
- package/src/components/wt-timepicker/__tests__/WtTimepicker.spec.js +1 -0
- package/src/components/wt-tooltip/__tests__/WtTooltip.spec.js +1 -0
- package/src/components/wt-tooltip/_internals/wt-tooltip-floating.vue +1 -0
- package/src/components/wt-tree/__tests__/WtTree.spec.js +1 -0
- package/src/composables/useCachedInterval/useCachedInterval.js +1 -0
- package/src/composables/useRepresentableAgentPauseCause/useRepresentableAgentPauseCause.js +1 -0
- package/src/locale/es/es.js +1 -0
- package/src/locale/i18n.js +1 -0
- package/src/locale/kz/kz.js +1 -0
- package/src/mixins/dataFilterMixins/__tests__/apiFilterMixin.spec.js +1 -0
- package/src/mixins/dataFilterMixins/__tests__/enumFilterMixin.spec.js +1 -0
- package/src/mixins/dataFilterMixins/__tests__/paginationFilterMixin.spec.js +1 -0
- package/src/mixins/dataFilterMixins/__tests__/sortFilterMixin.spec.js +1 -0
- package/src/mixins/dataFilterMixins/__tests__/urlControllerMixin.spec.js +1 -0
- package/src/mixins/validationMixin/__tests__/validationMixin.spec.js +1 -0
- package/src/modules/AgentStatusSelect/api/pause-cause.js +1 -0
- package/src/modules/AgentStatusSelect/components/__tests__/wt-cc-agent-status-select.spec.js +1 -0
- package/src/modules/AgentStatusSelect/components/__tests__/wt-cc-pause-cause-popup.spec.js +1 -0
- package/src/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue +1 -0
- package/src/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue +1 -0
- package/src/modules/Appearance/components/__tests__/wt-dark-mode-switcher.spec.js +1 -0
- package/src/modules/Appearance/components/wt-dark-mode-switcher.vue +1 -0
- package/src/modules/Appearance/store/__tests__/AppearanceStoreModule.spec.js +1 -0
- package/src/modules/AuditForm/components/__tests__/audit-form-question-read-wrapper.spec.js +1 -0
- package/src/modules/AuditForm/components/__tests__/audit-form-question-write-wrapper.spec.js +1 -0
- package/src/modules/AuditForm/components/__tests__/audit-form-question.spec.js +1 -0
- package/src/modules/AuditForm/components/__tests__/audit-form.spec.js +1 -0
- package/src/modules/AuditForm/components/audit-form-question-read-wrapper.vue +1 -0
- package/src/modules/AuditForm/components/audit-form-question-write-wrapper.vue +1 -2
- package/src/modules/AuditForm/components/audit-form-question.vue +1 -0
- package/src/modules/AuditForm/components/questions/options/__tests__/audit-form-question-options-write-row.spec.js +1 -0
- package/src/modules/AuditForm/components/questions/options/__tests__/audit-form-question-options.spec.js +1 -0
- package/src/modules/AuditForm/components/questions/options/audit-form-question-options-write-row.vue +1 -0
- package/src/modules/AuditForm/components/questions/score/__tests__/audit-form-question-score.spec.js +1 -0
- package/src/modules/AuditForm/components/questions/score/audit-form-question-score.vue +1 -0
- package/src/modules/CSVExport/CSVExport.js +1 -0
- package/src/modules/CSVExport/XLSExport.js +1 -0
- package/src/modules/CSVExport/__tests__/CSVExport.spec.js +3 -1
- package/src/modules/CardStoreModule/composables/useCardStore.js +1 -0
- package/src/modules/CardStoreModule/store/CardStoreModule.js +1 -0
- package/src/modules/DeleteConfirmationPopup/__tests__/delete-confirmation-popup.spec.js +1 -0
- package/src/modules/FilesExport/FilesExport.js +1 -0
- package/src/modules/FilesExport/__tests__/FilesExport.spec.js +3 -1
- package/src/modules/Filters/components/__tests__/filter-pagination.spec.js +1 -0
- package/src/modules/Filters/components/__tests__/filter-table-fields.spec.js +1 -0
- package/src/modules/Filters/components/filter-datetime.vue +1 -0
- package/src/modules/Filters/components/filter-search.vue +1 -0
- package/src/modules/Filters/components/filter-select.vue +1 -0
- package/src/modules/Filters/store/FiltersStoreModule.js +1 -0
- package/src/modules/Filters/store/__tests__/FiltersStoreModule.spec.js +1 -0
- package/src/modules/Filters/v2/filter-presets/components/_shared/input-fields/preset-description-field.vue +2 -1
- package/src/modules/Filters/v2/filter-presets/components/_shared/input-fields/preset-name-field.vue +2 -1
- package/src/modules/Filters/v2/filter-presets/components/apply-preset/apply-preset-action.vue +4 -4
- package/src/modules/Filters/v2/filter-presets/components/apply-preset/preset-preview.vue +5 -4
- package/src/modules/Filters/v2/filter-presets/components/save-preset/save-preset-action.vue +1 -1
- package/src/modules/Filters/v2/filter-presets/index.ts +3 -3
- package/src/modules/Filters/v2/filter-presets/stores/createFilterPresetsStore.ts +1 -0
- package/src/modules/Filters/v2/filters/components/filter-options/_shared/date-time-filter/date-time-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/filter-options/agent/agent-filter-value-preview.vue +2 -1
- package/src/modules/Filters/v2/filters/components/filter-options/assignee/assignee-filter-value-preview.vue +2 -1
- package/src/modules/Filters/v2/filters/components/filter-options/author/author-filter-value-preview.vue +2 -1
- package/src/modules/Filters/v2/filters/components/filter-options/close-reason-groups-case/close-reason-groups-case-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/filter-options/close-reason-groups-case/close-reason-groups-case-filter-value-preview.vue +2 -1
- package/src/modules/Filters/v2/filters/components/filter-options/contact/contact-filter-value-preview.vue +2 -1
- package/src/modules/Filters/v2/filters/components/filter-options/contact-group/contact-group-filter-value-preview.vue +1 -1
- package/src/modules/Filters/v2/filters/components/filter-options/gateway/gateway-filter-value-preview.vue +2 -1
- package/src/modules/Filters/v2/filters/components/filter-options/grantee/grantee-filter-value-preview.vue +2 -1
- package/src/modules/Filters/v2/filters/components/filter-options/impacted/impacted-filter-value-preview.vue +2 -1
- package/src/modules/Filters/v2/filters/components/filter-options/index.ts +1 -1
- package/src/modules/Filters/v2/filters/components/filter-options/priority-case/priority-case-filter-value-preview.vue +2 -1
- package/src/modules/Filters/v2/filters/components/filter-options/queue/queue-filter-value-preview.vue +2 -1
- package/src/modules/Filters/v2/filters/components/filter-options/rated-by/rated-by-filter-value-preview.vue +2 -1
- package/src/modules/Filters/v2/filters/components/filter-options/reporter/reporter-filter-value-preview.vue +2 -1
- package/src/modules/Filters/v2/filters/components/filter-options/service-case/config.js +1 -1
- package/src/modules/Filters/v2/filters/components/filter-options/sla/sla-filter-value-preview.vue +2 -1
- package/src/modules/Filters/v2/filters/components/filter-options/source-case/source-case-filter-value-preview.vue +2 -1
- package/src/modules/Filters/v2/filters/components/filter-options/status-case/config.js +1 -1
- package/src/modules/Filters/v2/filters/components/filter-options/status-case/status-case-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/filter-options/team/team-filter-value-preview.vue +2 -1
- package/src/modules/Filters/v2/filters/components/filter-options/user/user-filter-value-preview.vue +2 -1
- package/src/modules/Notifications/store/NotificationsStoreModule.js +2 -1
- package/src/modules/Notifications/store/__tests__/NotificationsStoreModule.actions.spec.js +2 -1
- package/src/modules/Notifications/store/__tests__/NotificationsStoreModule.mutations.spec.js +2 -1
- package/src/modules/ObjectPermissions/_internals/components/permissions-role-select.vue +1 -0
- package/src/modules/ObjectPermissions/_internals/components/permissions-tab-role-popup.vue +1 -0
- package/src/modules/ObjectPermissions/_internals/modules/filters/store/filters.store.js +1 -0
- package/src/modules/ObjectPermissions/_internals/store/modules/objectPermissionsStoreModule.js +1 -0
- package/src/modules/QueryFilters/components/__tests__/abstract-api-filter.spec.js +1 -0
- package/src/modules/QueryFilters/components/__tests__/abstract-enum-filter.spec.js +1 -0
- package/src/modules/QueryFilters/components/__tests__/filter-datetime.spec.js +1 -0
- package/src/modules/QueryFilters/components/__tests__/filter-from-to.spec.js +1 -0
- package/src/modules/QueryFilters/components/__tests__/filter-search.spec.js +1 -0
- package/src/modules/QueryFilters/mixins/__tests__/apiFilterMixin.spec.js +1 -0
- package/src/modules/QueryFilters/mixins/__tests__/enumFilterMixin.spec.js +1 -0
- package/src/modules/QueryFilters/mixins/__tests__/paginationFilterMixin.spec.js +1 -0
- package/src/modules/QueryFilters/mixins/__tests__/sortFilterMixin.spec.js +1 -0
- package/src/modules/QueryFilters/mixins/__tests__/urlControllerMixin.spec.js +1 -0
- package/src/modules/QueryFilters/mixins/sortFilterMixin.js +1 -1
- package/src/modules/TableComponentModule/composables/useTableEmpty.js +3 -2
- package/src/modules/TableStoreModule/composables/useTableStore.js +1 -0
- package/src/modules/TableStoreModule/store/__tests__/TableStoreModule.spec.js +1 -0
- package/src/plugins/breakpoint/breakpoint.plugin.js +1 -0
- package/src/scripts/index.js +41 -43
- package/src/store/new/index.js +2 -3
- package/src/store/new/modules/cardStoreModule/useCardStore.js +1 -0
- package/src/store/new/modules/tableStoreModule/__tests__/tableStoreModule.spec.js +1 -0
- package/src/store/new/modules/tableStoreModule/useTableStore.js +1 -0
- /package/src/api/clients/caseServiceCatalogs/{service-catalogs.js → serviceCatalogs.js} +0 -0
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import '../../../../tests/mocks/localStorageMock';
|
|
2
|
+
|
|
1
3
|
import { shallowMount } from '@vue/test-utils';
|
|
2
4
|
import * as fileSaver from 'file-saver-es';
|
|
3
5
|
import jszip from 'jszip';
|
|
4
6
|
import jszipUtils from 'jszip-utils';
|
|
7
|
+
|
|
5
8
|
import FilesExportMixin from '../mixins/exportFilesMixin.js';
|
|
6
|
-
import '../../../../tests/mocks/localStorageMock';
|
|
7
9
|
|
|
8
10
|
vi.mock('jszip');
|
|
9
11
|
vi.mock('jszip-utils');
|
|
@@ -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,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
|
-
|
|
21
|
+
|
|
22
|
+
import { WtLabel,WtTextarea } from '../../../../../../../components/index';
|
|
22
23
|
|
|
23
24
|
const model = defineModel<string>();
|
|
24
25
|
|
package/src/modules/Filters/v2/filter-presets/components/_shared/input-fields/preset-name-field.vue
CHANGED
|
@@ -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;
|
package/src/modules/Filters/v2/filter-presets/components/apply-preset/apply-preset-action.vue
CHANGED
|
@@ -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
|
|
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 {
|
|
5
|
+
export { ApplyPresetAction, createFilterPresetsStore, SavePresetAction };
|
|
@@ -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
|
}>();
|
|
@@ -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
|
}>();
|
|
@@ -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';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import ServiceCatalogsAPI from '../../../../../../../api/clients/caseServiceCatalogs/
|
|
1
|
+
import ServiceCatalogsAPI from '../../../../../../../api/clients/caseServiceCatalogs/serviceCatalogs.js';
|
|
2
2
|
import ServicesAPI from '../../../../../../../api/clients/caseServices/services.js';
|
|
3
3
|
|
|
4
4
|
export const searchMethod = ServiceCatalogsAPI.getList;
|
|
@@ -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 = {
|
|
@@ -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
|
|
package/src/modules/Notifications/store/__tests__/NotificationsStoreModule.mutations.spec.js
CHANGED
|
@@ -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 = {
|
|
@@ -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,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';
|