@webitel/ui-sdk 24.12.125 → 24.12.126
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/dist/img/sprite/index.js +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +2925 -2925
- package/dist/ui-sdk.umd.cjs +15 -15
- package/package.json +1 -1
- package/src/api/clients/_shared/generatePermissionsApi.js +2 -2
- package/src/api/clients/agents/agentChats.js +3 -3
- package/src/api/clients/agents/agents.js +3 -3
- package/src/api/clients/buckets/buckets.js +2 -2
- package/src/api/clients/calendars/calendars.js +2 -2
- package/src/api/clients/caseCloseReasonGroups/caseCloseReasonGroups.js +2 -2
- package/src/api/clients/caseCloseReasons/caseCloseReasons.js +2 -2
- package/src/api/clients/casePriorities/casePriorities.js +2 -2
- package/src/api/clients/caseServiceCatalogs/service-catalogs.js +2 -2
- package/src/api/clients/caseServices/services.js +2 -2
- package/src/api/clients/caseSources/caseSources.js +2 -2
- package/src/api/clients/caseStatusConditions/caseStatusConditions.js +2 -2
- package/src/api/clients/caseStatuses/caseStatuses.js +2 -2
- package/src/api/clients/catalog/catalog.js +2 -2
- package/src/api/clients/chatGateways/chatGateways.js +4 -4
- package/src/api/clients/chatGateways/defaults/defaultChatGateway.js +1 -1
- package/src/api/clients/chatGateways/defaults/webChatGateway.js +3 -3
- package/src/api/clients/communications/communications.js +2 -2
- package/src/api/clients/configurations/configurations.js +2 -2
- package/src/api/clients/contactGroups/contactGroups.js +3 -3
- package/src/api/clients/flows/flow.js +2 -2
- package/src/api/clients/gateways/defaults/registerGateway.js +1 -1
- package/src/api/clients/gateways/defaults/trunkingGateway.js +1 -1
- package/src/api/clients/gateways/gateways.js +4 -4
- package/src/api/clients/index.js +26 -26
- package/src/api/clients/lists/blacklists.js +2 -2
- package/src/api/clients/media/media.js +2 -2
- package/src/api/clients/queues/queues.js +4 -4
- package/src/api/clients/roles/roles.js +3 -3
- package/src/api/clients/skills/skills.js +2 -2
- package/src/api/clients/slaConditions/slaConditions.js +2 -2
- package/src/api/clients/slas/slas.js +2 -2
- package/src/api/clients/teams/teams.js +2 -2
- package/src/api/clients/users/__tests__/users.spec.js +12 -12
- package/src/api/clients/users/users.js +3 -3
- package/src/api/clients//321/201ontacts/contactChatMessagesHistory.js +3 -3
- package/src/api/clients//321/201ontacts/contacts.js +3 -3
- package/src/api/clients//321/201ontacts/index.js +2 -2
- package/src/api/defaults/getDefaultInstance/getDefaultInstance.js +3 -3
- package/src/api/defaults/index.js +4 -4
- package/src/api/history/index.js +1 -1
- package/src/api/history/transcript/callTranscript.js +2 -2
- package/src/api/transformers/camelToSnake/camelToSnake.transformer.js +1 -1
- package/src/api/transformers/index.js +10 -10
- package/src/api/transformers/notify/notify.transformer.js +1 -1
- package/src/api/transformers/snakeToCamel/snakeToCamel.transformer.js +1 -1
- package/src/api/transformers/starToSearch/starToSearch.transformer.js +2 -2
- package/src/api/websocket/WebSocketClientController.js +3 -3
- package/src/api/websocket/websocketErrorEventHandler.js +2 -2
- package/src/assets/icons/sprite/index.js +1 -1
- package/src/components/wt-action-bar/WtActionBarActionsOrder.js +1 -1
- package/src/components/wt-action-bar/wt-action-bar.vue +2 -2
- package/src/components/wt-app-header/__tests__/WtAppNavigator.spec.js +1 -1
- package/src/components/wt-app-header/wt-app-navigator.vue +1 -1
- package/src/components/wt-avatar/wt-avatar.vue +1 -1
- package/src/components/wt-badge/wt-badge.vue +1 -1
- package/src/components/wt-icon-action/wt-icon-action.vue +2 -2
- package/src/components/wt-input/wt-input.vue +1 -1
- package/src/components/wt-navigation-bar/wt-navigation-bar.vue +1 -1
- package/src/components/wt-notifications-bar/__tests__/WtNotificationsBar.spec.js +1 -1
- package/src/components/wt-notifications-bar/wt-notifications-bar.vue +2 -2
- package/src/components/wt-pagination/wt-pagination.vue +1 -1
- package/src/components/wt-search-bar/__tests__/WtSearchBar.spec.js +1 -1
- package/src/components/wt-search-bar/wt-search-bar.vue +2 -2
- package/src/components/wt-select/mixins/__tests__/multiselectMixin.spec.js +1 -1
- package/src/components/wt-select/mixins/multiselectMixin.js +4 -4
- package/src/components/wt-select/wt-select.vue +3 -3
- package/src/components/wt-status-select/_internals/StatusOptions.lookup.js +1 -1
- package/src/components/wt-status-select/wt-status-select.vue +3 -3
- package/src/components/wt-table/wt-table.vue +1 -1
- package/src/components/wt-tags-input/__tests__/WtTagsInput.spec.js +4 -4
- package/src/components/wt-tags-input/mixin/__tests__/taggableMixin.spec.js +1 -1
- package/src/components/wt-tags-input/wt-tags-input.vue +2 -2
- package/src/components/wt-textarea/wt-textarea.vue +1 -1
- package/src/components/wt-time-input/wt-time-input.vue +1 -1
- package/src/components/wt-timepicker/wt-timepicker.vue +1 -1
- package/src/components/wt-tooltip/_internals/wt-tooltip-floating.vue +1 -1
- package/src/components/wt-tooltip/wt-tooltip.vue +1 -1
- package/src/composables/useCachedInterval/__tests__/useCachedInterval.spec.js +1 -1
- package/src/composables/useCachedInterval/useCachedInterval.js +1 -1
- package/src/composables/useCachedItemInstanceName/useCachedItemInstanceName.js +1 -1
- package/src/composables/useCard/useCardComponent.js +1 -1
- package/src/composables/useRepresentableAgentPauseCause/__tests__/useRepresentableAgentPauseCause.spec.js +1 -1
- package/src/composables/useRepresentableAgentPauseCause/useRepresentableAgentPauseCause.js +1 -1
- package/src/directives/index.js +1 -1
- package/src/enums/ChatGatewayProvider/ProviderIconType.enum.js +1 -1
- package/src/enums/WebitelApplications/AdminSections.enum.js +1 -1
- package/src/enums/WebitelApplications/AuditorSections.enum.js +1 -1
- package/src/enums/WebitelApplications/CrmSections.enum.js +1 -1
- package/src/enums/WebitelApplications/WebitelApplications.enum.js +1 -1
- package/src/enums/index.ts +7 -7
- package/src/install.ts +4 -4
- package/src/locale/en/en.js +9 -9
- package/src/locale/es/es.js +6 -6
- package/src/locale/i18n.js +5 -5
- package/src/locale/kz/kz.js +6 -6
- package/src/locale/ru/ru.js +9 -9
- package/src/locale/ua/ua.js +9 -9
- package/src/mixins/dataFilterMixins/__tests__/apiFilterMixin.spec.js +1 -1
- package/src/mixins/dataFilterMixins/__tests__/enumFilterMixin.spec.js +1 -1
- package/src/mixins/dataFilterMixins/__tests__/paginationFilterMixin.spec.js +1 -1
- package/src/mixins/dataFilterMixins/__tests__/sortFilterMixin.spec.js +1 -1
- package/src/mixins/dataFilterMixins/__tests__/urlControllerMixin.spec.js +1 -1
- package/src/mixins/dataFilterMixins/apiFilterMixin.js +1 -1
- package/src/mixins/dataFilterMixins/baseFilterMixin/baseFilterMixin.js +1 -1
- package/src/mixins/dataFilterMixins/enumFilterMixin.js +1 -1
- package/src/mixins/dataFilterMixins/paginationFilterMixin.js +1 -1
- package/src/mixins/dataFilterMixins/sortFilterMixin.js +1 -1
- package/src/mixins/validationMixin/__tests__/validationMixin.spec.js +1 -1
- package/src/modules/AgentStatusSelect/api/pause-cause.js +2 -2
- package/src/modules/AgentStatusSelect/components/__tests__/wt-cc-agent-status-select.spec.js +3 -3
- package/src/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue +1 -1
- package/src/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue +3 -3
- package/src/modules/Appearance/components/__tests__/wt-dark-mode-switcher.spec.js +1 -1
- package/src/modules/Appearance/store/AppearanceStoreModule.js +1 -1
- package/src/modules/Appearance/store/__tests__/AppearanceStoreModule.spec.js +1 -1
- package/src/modules/AuditForm/components/__tests__/audit-form-question-write-wrapper.spec.js +3 -3
- package/src/modules/AuditForm/components/__tests__/audit-form.spec.js +3 -3
- package/src/modules/AuditForm/components/audit-form-question-read-wrapper.vue +1 -1
- package/src/modules/AuditForm/components/audit-form-question-write-wrapper.vue +4 -4
- package/src/modules/AuditForm/components/audit-form-question.vue +2 -2
- package/src/modules/AuditForm/components/audit-form.vue +3 -3
- package/src/modules/AuditForm/components/questions/options/audit-form-question-options-write-row.vue +1 -1
- package/src/modules/AuditForm/components/questions/options/audit-form-question-options.vue +2 -2
- package/src/modules/AuditForm/components/questions/score/audit-form-question-score.vue +2 -2
- package/src/modules/AuditForm/schemas/AuditFormQuestionSchema.js +1 -1
- package/src/modules/CSVExport/CSVExport.js +2 -2
- package/src/modules/CSVExport/XLSExport.js +1 -1
- package/src/modules/CSVExport/__tests__/CSVExport.spec.js +4 -4
- package/src/modules/CSVExport/mixins/exportCSVMixin.js +1 -1
- package/src/modules/CSVExport/mixins/exportXLSMixin.js +1 -1
- package/src/modules/CardStoreModule/composables/useCardStore.js +1 -1
- package/src/modules/CardStoreModule/store/CardStoreModule.js +2 -2
- package/src/modules/DeleteConfirmationPopup/__tests__/delete-confirmation-popup.spec.js +2 -2
- package/src/modules/FilesExport/FilesExport.js +2 -2
- package/src/modules/FilesExport/__tests__/FilesExport.spec.js +1 -1
- package/src/modules/FilesExport/mixins/exportFilesMixin.js +1 -1
- package/src/modules/Filters/classes/BaseFilterSchema.js +3 -3
- package/src/modules/Filters/components/__tests__/filter-pagination.spec.js +1 -1
- package/src/modules/Filters/components/__tests__/filter-table-fields.spec.js +1 -1
- package/src/modules/Filters/components/filter-datetime.vue +1 -1
- package/src/modules/Filters/components/filter-search.vue +1 -1
- package/src/modules/Filters/components/filter-select.vue +2 -2
- package/src/modules/Filters/scripts/getters/index.js +3 -3
- package/src/modules/Filters/scripts/restores/index.js +2 -2
- package/src/modules/Filters/scripts/restores/localStorageRestore.js +1 -1
- package/src/modules/Filters/scripts/restores/queryRestore.js +1 -1
- package/src/modules/Filters/scripts/setters/index.js +3 -3
- package/src/modules/Filters/scripts/setters/querySetter.js +1 -1
- package/src/modules/Filters/store/FiltersStoreModule.js +4 -4
- package/src/modules/Filters/store/__tests__/FiltersStoreModule.spec.js +4 -4
- package/src/modules/Filters/v2/filters/components/enums/boolean-options.ts +1 -1
- package/src/modules/Filters/v2/filters/components/enums/tag-options.ts +1 -1
- package/src/modules/Filters/v2/filters/components/values/agent/agent-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/agent/agent-filter-value-preview.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/agent/config.js +1 -1
- package/src/modules/Filters/v2/filters/components/values/assignee/assignee-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/assignee/assignee-filter-value-preview.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/assignee/config.js +1 -1
- package/src/modules/Filters/v2/filters/components/values/author/author-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/author/author-filter-value-preview.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/author/config.js +1 -1
- package/src/modules/Filters/v2/filters/components/values/close-reason-groups-case/close-reason-groups-case-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/close-reason-groups-case/config.js +2 -2
- package/src/modules/Filters/v2/filters/components/values/contact/config.js +1 -1
- package/src/modules/Filters/v2/filters/components/values/contact/contact-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/contact/contact-filter-value-preview.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/contact-group/config.js +1 -1
- package/src/modules/Filters/v2/filters/components/values/contact-group/contact-group-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/contact-group/contact-group-filter-value-preview.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/gateway/config.js +1 -1
- package/src/modules/Filters/v2/filters/components/values/gateway/gateway-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/gateway/gateway-filter-value-preview.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/grantee/config.js +1 -1
- package/src/modules/Filters/v2/filters/components/values/grantee/grantee-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/grantee/grantee-filter-value-preview.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/impacted/config.js +1 -1
- package/src/modules/Filters/v2/filters/components/values/impacted/impacted-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/impacted/impacted-filter-value-preview.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/priority-case/config.js +1 -1
- package/src/modules/Filters/v2/filters/components/values/priority-case/priority-case-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/priority-case/priority-case-filter-value-preview.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/queue/config.js +1 -1
- package/src/modules/Filters/v2/filters/components/values/queue/queue-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/queue/queue-filter-value-preview.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/rated-by/config.js +1 -1
- package/src/modules/Filters/v2/filters/components/values/rated-by/rated-by-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/rated-by/rated-by-filter-value-preview.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/reporter/config.js +1 -1
- package/src/modules/Filters/v2/filters/components/values/reporter/reporter-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/reporter/reporter-filter-value-preview.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/service-case/config.js +2 -2
- package/src/modules/Filters/v2/filters/components/values/service-case/service-case-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/sla/config.js +1 -1
- package/src/modules/Filters/v2/filters/components/values/sla/sla-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/sla/sla-filter-value-preview.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/sla-condition/config.js +2 -2
- package/src/modules/Filters/v2/filters/components/values/sla-condition/sla-condition-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/sla-condition/sla-condition-filter-value-preview.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/source-case/config.js +1 -1
- package/src/modules/Filters/v2/filters/components/values/source-case/source-case-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/source-case/source-case-filter-value-preview.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/status-case/config.js +2 -2
- package/src/modules/Filters/v2/filters/components/values/status-case/status-case-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/status-case/status-case-filter-value-preview.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/team/config.js +1 -1
- package/src/modules/Filters/v2/filters/components/values/team/team-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/team/team-filter-value-preview.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/user/config.js +1 -1
- package/src/modules/Filters/v2/filters/components/values/user/user-filter-value-field.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/user/user-filter-value-preview.vue +1 -1
- package/src/modules/Filters/v2/filters/components/values/variable/variable-filter-value-field.vue +1 -1
- package/src/modules/Notifications/store/NotificationsStoreModule.js +3 -3
- package/src/modules/Notifications/store/__tests__/NotificationsStoreModule.mutations.spec.js +2 -2
- package/src/modules/ObjectPermissions/_internals/components/permissions-tab-role-popup.vue +2 -2
- package/src/modules/ObjectPermissions/_internals/store/helpers/createObjectPermissionsStoreModule.js +2 -2
- package/src/modules/ObjectPermissions/_internals/store/modules/headers.js +1 -1
- package/src/modules/ObjectPermissions/_internals/store/modules/objectPermissionsStoreModule.js +3 -3
- package/src/modules/ObjectPermissions/components/permissions-tab.vue +5 -5
- package/src/modules/ObjectPermissions/store/index.js +1 -1
- package/src/modules/QueryFilters/api/__tests__/defaults.spec.js +1 -1
- package/src/modules/QueryFilters/classes/ApiFilterSchema.js +1 -1
- package/src/modules/QueryFilters/classes/EnumFilterSchema.js +1 -1
- package/src/modules/QueryFilters/classes/__tests__/ApiFilterSchema.spec.js +1 -1
- package/src/modules/QueryFilters/components/__tests__/abstract-api-filter.spec.js +1 -1
- package/src/modules/QueryFilters/components/__tests__/abstract-enum-filter.spec.js +1 -1
- package/src/modules/QueryFilters/components/__tests__/filter-datetime.spec.js +2 -2
- package/src/modules/QueryFilters/components/__tests__/filter-from-to.spec.js +2 -2
- package/src/modules/QueryFilters/components/__tests__/filter-search.spec.js +2 -2
- package/src/modules/QueryFilters/components/abstract-api-filter.vue +1 -1
- package/src/modules/QueryFilters/components/abstract-enum-filter.vue +1 -1
- package/src/modules/QueryFilters/components/filter-datetime.vue +1 -1
- package/src/modules/QueryFilters/components/filter-from-to.vue +2 -2
- package/src/modules/QueryFilters/components/filter-search.vue +1 -1
- package/src/modules/QueryFilters/components/filter-table-fields.vue +1 -1
- package/src/modules/QueryFilters/mixins/__tests__/apiFilterMixin.spec.js +2 -2
- package/src/modules/QueryFilters/mixins/__tests__/enumFilterMixin.spec.js +1 -1
- package/src/modules/QueryFilters/mixins/__tests__/sortFilterMixin.spec.js +1 -1
- package/src/modules/QueryFilters/mixins/__tests__/urlControllerMixin.spec.js +1 -1
- package/src/modules/QueryFilters/mixins/apiFilterMixin.js +1 -1
- package/src/modules/QueryFilters/mixins/baseFilterMixin/baseFilterMixin.js +2 -2
- package/src/modules/QueryFilters/mixins/enumFilterMixin.js +1 -1
- package/src/modules/QueryFilters/mixins/paginationFilterMixin.js +1 -1
- package/src/modules/QueryFilters/mixins/sortFilterMixin.js +2 -2
- package/src/modules/QueryFilters/store/QueryFiltersStoreModule.js +2 -2
- package/src/modules/QueryFilters/store/__tests__/QueryFiltersStoreModule.spec.js +1 -1
- package/src/modules/QueryFilters/store/queryFilters.js +1 -1
- package/src/modules/TableComponentModule/composables/useTableEmpty.js +1 -1
- package/src/modules/TableStoreModule/composables/useTableStore.js +1 -1
- package/src/modules/TableStoreModule/store/TableStoreModule.js +3 -3
- package/src/modules/TableStoreModule/store/__tests__/TableStoreModule.spec.js +4 -4
- package/src/modules/Userinfo/classes/ApplicationsAccess.js +5 -5
- package/src/modules/Userinfo/store/UserinfoStoreModule.js +4 -4
- package/src/modules/Userinfo/v2/api/UserinfoAPI.ts +1 -1
- package/src/plugins/breakpoint/breakpoint.plugin.js +1 -1
- package/src/scripts/__tests__/caseConverters.spec.js +1 -1
- package/src/scripts/__tests__/convertDuration.spec.js +1 -1
- package/src/scripts/__tests__/debounce.spec.js +1 -1
- package/src/scripts/__tests__/editProxy.spec.js +1 -1
- package/src/scripts/__tests__/isEmpty.spec.js +1 -1
- package/src/scripts/__tests__/prettifyFileSize.spec.js +1 -1
- package/src/scripts/__tests__/prettifyTime.spec.js +1 -1
- package/src/scripts/__tests__/preventHiddenPageCallsDecorator.spec.js +1 -1
- package/src/scripts/__tests__/sortQueryAdapters.spec.js +1 -1
- package/src/scripts/__tests__/updateObject.spec.js +1 -1
- package/src/scripts/debounce.js +1 -1
- package/src/scripts/index.js +12 -12
- package/src/scripts/logger.js +1 -1
- package/src/scripts/updateObject.js +2 -2
- package/src/store/BaseStoreModules/ApiStoreModule.js +1 -1
- package/src/store/BaseStoreModules/BaseStoreModule.js +1 -1
- package/src/store/BaseStoreModules/__tests__/BaseStoreModule.spec.js +1 -1
- package/src/store/ReactiveNowStoreModule/ReactiveNowStoreModule.js +1 -1
- package/src/store/helpers/__tests__/getNamespacedState.spec.js +1 -1
- package/src/store/new/helpers/createApiStoreModule.js +2 -2
- package/src/store/new/helpers/createBaseStoreModule.js +2 -2
- package/src/store/new/helpers/createCardStoreModule.js +2 -2
- package/src/store/new/helpers/createStoreModule.js +1 -1
- package/src/store/new/helpers/createTableStoreModule.js +2 -2
- package/src/store/new/index.js +6 -6
- package/src/store/new/modules/baseStoreModule/baseStoreModule.js +1 -1
- package/src/store/new/modules/cardStoreModule/cardStoreModule.js +1 -1
- package/src/store/new/modules/cardStoreModule/useCardStore.js +1 -1
- package/src/store/new/modules/tableStoreModule/__tests__/tableStoreModule.spec.js +4 -4
- package/src/store/new/modules/tableStoreModule/tableStoreModule.js +2 -2
- package/src/store/new/modules/tableStoreModule/useTableStore.js +1 -1
- package/src/validators/variableSearchValidator/__tests__/variableSearchValidator.spec.js +1 -1
- package/src/validators/websocketValidator/__tests__/websocketValidator.spec.js +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed } from 'vue';
|
|
2
2
|
import { useStore } from 'vuex';
|
|
3
|
-
import getNamespacedState from '../../../store/helpers/getNamespacedState';
|
|
3
|
+
import getNamespacedState from '../../../store/helpers/getNamespacedState.js';
|
|
4
4
|
|
|
5
5
|
// eslint-disable-next-line import/prefer-default-export
|
|
6
6
|
export const useCardStore = (namespace) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import deepCopy from 'deep-copy';
|
|
2
|
-
import set from 'lodash/set';
|
|
3
|
-
import BaseStoreModule from '../../../store/BaseStoreModules/BaseStoreModule';
|
|
2
|
+
import set from 'lodash/set.js';
|
|
3
|
+
import BaseStoreModule from '../../../store/BaseStoreModules/BaseStoreModule.js';
|
|
4
4
|
|
|
5
5
|
export default class CardStoreModule extends BaseStoreModule {
|
|
6
6
|
state = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { mount, shallowMount } from '@vue/test-utils';
|
|
2
2
|
import { ref } from 'vue';
|
|
3
|
-
import { useValidation } from '../../../mixins/validationMixin/useValidation';
|
|
3
|
+
import { useValidation } from '../../../mixins/validationMixin/useValidation.js';
|
|
4
4
|
import DeleteConfirmationPopup from '../components/delete-confirmation-popup.vue';
|
|
5
5
|
|
|
6
|
-
vi.mock('../../../mixins/validationMixin/useValidation');
|
|
6
|
+
vi.mock('../../../mixins/validationMixin/useValidation.js');
|
|
7
7
|
|
|
8
8
|
useValidation.mockImplementation(() => ({
|
|
9
9
|
isValidation: ref(false),
|
|
@@ -2,8 +2,8 @@ import { saveAs } from 'file-saver-es';
|
|
|
2
2
|
import JSZip from 'jszip';
|
|
3
3
|
import jszipUtils from 'jszip-utils';
|
|
4
4
|
import path from 'path-browserify';
|
|
5
|
-
import { _wtUiLog } from '../../scripts/logger';
|
|
6
|
-
import generateMediaURL from './scripts/generateMediaURL';
|
|
5
|
+
import { _wtUiLog } from '../../scripts/logger.js';
|
|
6
|
+
import generateMediaURL from './scripts/generateMediaURL.js';
|
|
7
7
|
|
|
8
8
|
export default class FilesExport {
|
|
9
9
|
filename = 'files';
|
|
@@ -2,7 +2,7 @@ import { shallowMount } from '@vue/test-utils';
|
|
|
2
2
|
import * as fileSaver from 'file-saver-es';
|
|
3
3
|
import jszip from 'jszip';
|
|
4
4
|
import jszipUtils from 'jszip-utils';
|
|
5
|
-
import FilesExportMixin from '../mixins/exportFilesMixin';
|
|
5
|
+
import FilesExportMixin from '../mixins/exportFilesMixin.js';
|
|
6
6
|
import '../../../../tests/mocks/localStorageMock';
|
|
7
7
|
|
|
8
8
|
vi.mock('jszip');
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
localStorageGetter,
|
|
3
3
|
queryGetter,
|
|
4
4
|
valueGetter,
|
|
5
|
-
} from '../scripts/getters/index';
|
|
5
|
+
} from '../scripts/getters/index.js';
|
|
6
6
|
import {
|
|
7
7
|
localStorageRestore,
|
|
8
8
|
queryRestore,
|
|
9
|
-
} from '../scripts/restores/index';
|
|
9
|
+
} from '../scripts/restores/index.js';
|
|
10
10
|
import {
|
|
11
11
|
localStorageSetter,
|
|
12
12
|
querySetter,
|
|
13
13
|
valueSetter,
|
|
14
|
-
} from '../scripts/setters/index';
|
|
14
|
+
} from '../scripts/setters/index.js';
|
|
15
15
|
|
|
16
16
|
const convertGetterArray = (context) => (getters) => {
|
|
17
17
|
const availableGetters = ['value', 'query', 'localStorage'];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { mount } from '@vue/test-utils';
|
|
2
2
|
import { createStore } from 'vuex';
|
|
3
|
-
import FiltersStoreModule from '../../store/FiltersStoreModule';
|
|
3
|
+
import FiltersStoreModule from '../../store/FiltersStoreModule.js';
|
|
4
4
|
import FilterPagination from '../filter-pagination.vue';
|
|
5
5
|
|
|
6
6
|
const filtersSchema = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { mount } from '@vue/test-utils';
|
|
2
2
|
import { createStore } from 'vuex';
|
|
3
|
-
import FiltersStoreModule from '../../store/FiltersStoreModule';
|
|
3
|
+
import FiltersStoreModule from '../../store/FiltersStoreModule.js';
|
|
4
4
|
import FilterTableFields from '../filter-table-fields.vue';
|
|
5
5
|
|
|
6
6
|
const filterSchema = {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<script setup>
|
|
11
11
|
import { computed } from 'vue';
|
|
12
12
|
import { useStore } from 'vuex';
|
|
13
|
-
import getNamespacedState from '../../../store/helpers/getNamespacedState';
|
|
13
|
+
import getNamespacedState from '../../../store/helpers/getNamespacedState.js';
|
|
14
14
|
|
|
15
15
|
const props = defineProps({
|
|
16
16
|
namespace: {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import { useVuelidate } from '@vuelidate/core';
|
|
17
17
|
import { computed, ref, watch } from 'vue';
|
|
18
18
|
import { useStore } from 'vuex';
|
|
19
|
-
import FilterEvent from '../enums/FilterEvent.enum';
|
|
19
|
+
import FilterEvent from '../enums/FilterEvent.enum.js';
|
|
20
20
|
|
|
21
21
|
const props = defineProps({
|
|
22
22
|
namespace: {
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
import { computed, reactive, useAttrs } from 'vue';
|
|
16
16
|
import { useI18n } from 'vue-i18n';
|
|
17
17
|
import { useStore } from 'vuex';
|
|
18
|
-
import isEmpty from '../../../scripts/isEmpty';
|
|
19
|
-
import getNamespacedState from '../../../store/helpers/getNamespacedState';
|
|
18
|
+
import isEmpty from '../../../scripts/isEmpty.js';
|
|
19
|
+
import getNamespacedState from '../../../store/helpers/getNamespacedState.js';
|
|
20
20
|
|
|
21
21
|
const props = defineProps({
|
|
22
22
|
namespace: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import localStorageGetter from './localStorageGetter';
|
|
2
|
-
import queryGetter from './queryGetter';
|
|
3
|
-
import valueGetter from './valueGetter';
|
|
1
|
+
import localStorageGetter from './localStorageGetter.js';
|
|
2
|
+
import queryGetter from './queryGetter.js';
|
|
3
|
+
import valueGetter from './valueGetter.js';
|
|
4
4
|
|
|
5
5
|
export { localStorageGetter, queryGetter, valueGetter };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import localStorageSetter from './localStorageSetter';
|
|
2
|
-
import querySetter from './querySetter';
|
|
3
|
-
import valueSetter from './valueSetter';
|
|
1
|
+
import localStorageSetter from './localStorageSetter.js';
|
|
2
|
+
import querySetter from './querySetter.js';
|
|
3
|
+
import valueSetter from './valueSetter.js';
|
|
4
4
|
|
|
5
5
|
export { localStorageSetter, querySetter, valueSetter };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import mitt from 'mitt';
|
|
2
|
-
import isEmpty from '../../../scripts/isEmpty';
|
|
3
|
-
import BaseStoreModule from '../../../store/BaseStoreModules/BaseStoreModule';
|
|
4
|
-
import BaseFilterSchema from '../classes/BaseFilterSchema';
|
|
5
|
-
import FilterEvent from '../enums/FilterEvent.enum';
|
|
2
|
+
import isEmpty from '../../../scripts/isEmpty.js';
|
|
3
|
+
import BaseStoreModule from '../../../store/BaseStoreModules/BaseStoreModule.js';
|
|
4
|
+
import BaseFilterSchema from '../classes/BaseFilterSchema.js';
|
|
5
|
+
import FilterEvent from '../enums/FilterEvent.enum.js';
|
|
6
6
|
|
|
7
7
|
export default class FiltersStoreModule extends BaseStoreModule {
|
|
8
8
|
state = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createRouter, createWebHistory } from 'vue-router';
|
|
2
2
|
import { createStore } from 'vuex';
|
|
3
|
-
import { valueGetter } from '../../scripts/getters/index';
|
|
4
|
-
import { queryRestore } from '../../scripts/restores/index';
|
|
5
|
-
import { querySetter, valueSetter } from '../../scripts/setters/index';
|
|
6
|
-
import FiltersStoreModule from '../FiltersStoreModule';
|
|
3
|
+
import { valueGetter } from '../../scripts/getters/index.js';
|
|
4
|
+
import { queryRestore } from '../../scripts/restores/index.js';
|
|
5
|
+
import { querySetter, valueSetter } from '../../scripts/setters/index.js';
|
|
6
|
+
import FiltersStoreModule from '../FiltersStoreModule.js';
|
|
7
7
|
|
|
8
8
|
describe('FiltersStoreModule', () => {
|
|
9
9
|
it('get/sets primitive type filter', async () => {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
values are strings instead of booleans because restoration from url query
|
|
3
3
|
returns string for any type of value [DEV-3924]
|
|
4
4
|
*/
|
|
5
|
-
import { FilterEnumOption } from '../../types/Filter';
|
|
5
|
+
import { FilterEnumOption } from '../../types/Filter.js';
|
|
6
6
|
|
|
7
7
|
export const BooleanOptions: Array<FilterEnumOption> = [
|
|
8
8
|
{
|
|
@@ -18,7 +18,7 @@ import { computed, watch } from 'vue';
|
|
|
18
18
|
import { useI18n } from 'vue-i18n';
|
|
19
19
|
|
|
20
20
|
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
21
|
-
import { searchMethod } from './config';
|
|
21
|
+
import { searchMethod } from './config.js';
|
|
22
22
|
|
|
23
23
|
type ModelValue = number[];
|
|
24
24
|
|
package/src/modules/Filters/v2/filters/components/values/assignee/assignee-filter-value-field.vue
CHANGED
|
@@ -25,7 +25,7 @@ import { computed, watch, onMounted } from 'vue';
|
|
|
25
25
|
import { useI18n } from 'vue-i18n';
|
|
26
26
|
|
|
27
27
|
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
28
|
-
import { searchMethod } from './config';
|
|
28
|
+
import { searchMethod } from './config.js';
|
|
29
29
|
import WtCheckbox from "../../../../../../../components/wt-checkbox/wt-checkbox.vue";
|
|
30
30
|
|
|
31
31
|
type ModelValue = {
|
package/src/modules/Filters/v2/filters/components/values/author/author-filter-value-field.vue
CHANGED
|
@@ -17,7 +17,7 @@ import { computed, watch } from 'vue';
|
|
|
17
17
|
import { useI18n } from 'vue-i18n';
|
|
18
18
|
|
|
19
19
|
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
20
|
-
import { searchMethod } from './config';
|
|
20
|
+
import { searchMethod } from './config.js';
|
|
21
21
|
|
|
22
22
|
type ModelValue = number[];
|
|
23
23
|
|
|
@@ -35,7 +35,7 @@ import {computed, onMounted, ref, watch} from 'vue';
|
|
|
35
35
|
import { useI18n } from 'vue-i18n';
|
|
36
36
|
|
|
37
37
|
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
38
|
-
import { caseCloseReasonsSearchMethod, caseCloseReasonsGroupsSearchMethod } from './config';
|
|
38
|
+
import { caseCloseReasonsSearchMethod, caseCloseReasonsGroupsSearchMethod } from './config.js';
|
|
39
39
|
|
|
40
40
|
type ModelValue = {
|
|
41
41
|
selection: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import CaseCloseReasonGroupsAPI from '../../../../../../../api/clients/caseCloseReasonGroups/caseCloseReasonGroups';
|
|
2
|
-
import CaseCloseReasonsAPI from '../../../../../../../api/clients/caseCloseReasons/caseCloseReasons';
|
|
1
|
+
import CaseCloseReasonGroupsAPI from '../../../../../../../api/clients/caseCloseReasonGroups/caseCloseReasonGroups.js';
|
|
2
|
+
import CaseCloseReasonsAPI from '../../../../../../../api/clients/caseCloseReasons/caseCloseReasons.js';
|
|
3
3
|
|
|
4
4
|
export const caseCloseReasonsGroupsSearchMethod = CaseCloseReasonGroupsAPI.getLookup;
|
|
5
5
|
export const caseCloseReasonsSearchMethod = CaseCloseReasonsAPI.getLookup;
|
package/src/modules/Filters/v2/filters/components/values/contact/contact-filter-value-field.vue
CHANGED
|
@@ -18,7 +18,7 @@ import { computed, watch } from 'vue';
|
|
|
18
18
|
import { useI18n } from 'vue-i18n';
|
|
19
19
|
|
|
20
20
|
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
21
|
-
import { searchMethod } from './config';
|
|
21
|
+
import { searchMethod } from './config.js';
|
|
22
22
|
|
|
23
23
|
type ModelValue = number[];
|
|
24
24
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import ContactGroupsAPI from '../../../../../../../api/clients/contactGroups/contactGroups';
|
|
1
|
+
import ContactGroupsAPI from '../../../../../../../api/clients/contactGroups/contactGroups.js';
|
|
2
2
|
|
|
3
3
|
export const searchMethod = ContactGroupsAPI.getLookup;
|
|
4
4
|
export const localePath = '';
|
|
@@ -25,7 +25,7 @@ import { computed, watch, onMounted } from 'vue';
|
|
|
25
25
|
import { useI18n } from 'vue-i18n';
|
|
26
26
|
|
|
27
27
|
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
28
|
-
import { searchMethod } from './config';
|
|
28
|
+
import { searchMethod } from './config.js';
|
|
29
29
|
import WtCheckbox from "../../../../../../../components/wt-checkbox/wt-checkbox.vue";
|
|
30
30
|
|
|
31
31
|
type ModelValue = {
|
package/src/modules/Filters/v2/filters/components/values/gateway/gateway-filter-value-field.vue
CHANGED
|
@@ -18,7 +18,7 @@ import { computed, watch } from 'vue';
|
|
|
18
18
|
import { useI18n } from 'vue-i18n';
|
|
19
19
|
|
|
20
20
|
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
21
|
-
import { searchMethod } from './config';
|
|
21
|
+
import { searchMethod } from './config.js';
|
|
22
22
|
|
|
23
23
|
type ModelValue = number[];
|
|
24
24
|
|
package/src/modules/Filters/v2/filters/components/values/grantee/grantee-filter-value-field.vue
CHANGED
|
@@ -18,7 +18,7 @@ import { computed, watch } from 'vue';
|
|
|
18
18
|
import { useI18n } from 'vue-i18n';
|
|
19
19
|
|
|
20
20
|
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
21
|
-
import { searchMethod } from './config';
|
|
21
|
+
import { searchMethod } from './config.js';
|
|
22
22
|
|
|
23
23
|
type ModelValue = number[];
|
|
24
24
|
|
package/src/modules/Filters/v2/filters/components/values/impacted/impacted-filter-value-field.vue
CHANGED
|
@@ -17,7 +17,7 @@ import { computed, watch } from 'vue';
|
|
|
17
17
|
import { useI18n } from 'vue-i18n';
|
|
18
18
|
|
|
19
19
|
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
20
|
-
import { searchMethod } from './config';
|
|
20
|
+
import { searchMethod } from './config.js';
|
|
21
21
|
|
|
22
22
|
type ModelValue = number[];
|
|
23
23
|
|
|
@@ -17,7 +17,7 @@ import { computed, watch } from 'vue';
|
|
|
17
17
|
import { useI18n } from 'vue-i18n';
|
|
18
18
|
|
|
19
19
|
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
20
|
-
import { searchMethod } from './config';
|
|
20
|
+
import { searchMethod } from './config.js';
|
|
21
21
|
|
|
22
22
|
type ModelValue = number[];
|
|
23
23
|
|
|
@@ -18,7 +18,7 @@ import { computed, watch } from 'vue';
|
|
|
18
18
|
import { useI18n } from 'vue-i18n';
|
|
19
19
|
|
|
20
20
|
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
21
|
-
import { searchMethod } from './config';
|
|
21
|
+
import { searchMethod } from './config.js';
|
|
22
22
|
|
|
23
23
|
type ModelValue = number[];
|
|
24
24
|
|
package/src/modules/Filters/v2/filters/components/values/rated-by/rated-by-filter-value-field.vue
CHANGED
|
@@ -18,7 +18,7 @@ import { computed, watch } from 'vue';
|
|
|
18
18
|
import { useI18n } from 'vue-i18n';
|
|
19
19
|
|
|
20
20
|
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
21
|
-
import { searchMethod } from './config';
|
|
21
|
+
import { searchMethod } from './config.js';
|
|
22
22
|
|
|
23
23
|
type ModelValue = number[];
|
|
24
24
|
|
package/src/modules/Filters/v2/filters/components/values/reporter/reporter-filter-value-field.vue
CHANGED
|
@@ -17,7 +17,7 @@ import { computed, watch } from 'vue';
|
|
|
17
17
|
import { useI18n } from 'vue-i18n';
|
|
18
18
|
|
|
19
19
|
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
20
|
-
import { searchMethod } from './config';
|
|
20
|
+
import { searchMethod } from './config.js';
|
|
21
21
|
|
|
22
22
|
type ModelValue = number[];
|
|
23
23
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import ServiceCatalogsAPI from '../../../../../../../api/clients/caseServiceCatalogs/service-catalogs';
|
|
2
|
-
import ServicesAPI from '../../../../../../../api/clients/caseServices/services';
|
|
1
|
+
import ServiceCatalogsAPI from '../../../../../../../api/clients/caseServiceCatalogs/service-catalogs.js';
|
|
2
|
+
import ServicesAPI from '../../../../../../../api/clients/caseServices/services.js';
|
|
3
3
|
|
|
4
4
|
export const servicesSearchMethod = ServicesAPI.getLookup;
|
|
5
5
|
export const serviceCatalogsSearchMethod = ServiceCatalogsAPI.getLookup;
|
|
@@ -34,7 +34,7 @@ import { computed, onMounted, ref, watch } from 'vue';
|
|
|
34
34
|
import { useI18n } from 'vue-i18n';
|
|
35
35
|
|
|
36
36
|
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
37
|
-
import { serviceCatalogsSearchMethod, servicesSearchMethod } from './config';
|
|
37
|
+
import { serviceCatalogsSearchMethod, servicesSearchMethod } from './config.js';
|
|
38
38
|
|
|
39
39
|
type ModelValue = {
|
|
40
40
|
selection: string;
|