@webitel/ui-sdk 24.12.124 → 24.12.125
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 +6 -0
- 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,8 +1,8 @@
|
|
|
1
|
-
import axiosMock from '../../../../tests/mocks/axiosMock
|
|
1
|
+
import axiosMock from '../../../../tests/mocks/axiosMock';
|
|
2
2
|
|
|
3
3
|
const instanceMock = axiosMock()().default;
|
|
4
4
|
|
|
5
|
-
vi.doMock('../../../defaults/getDefaultInstance/getDefaultInstance
|
|
5
|
+
vi.doMock('../../../defaults/getDefaultInstance/getDefaultInstance', () => ({
|
|
6
6
|
default: () => instanceMock,
|
|
7
7
|
}));
|
|
8
8
|
|
|
@@ -20,7 +20,7 @@ describe('UsersAPI', () => {
|
|
|
20
20
|
|
|
21
21
|
instanceMock.get = get;
|
|
22
22
|
|
|
23
|
-
const UsersAPI = (await import('../users
|
|
23
|
+
const UsersAPI = (await import('../users')).default;
|
|
24
24
|
|
|
25
25
|
const inputParams = {
|
|
26
26
|
fields: ['id', 'name', 'vitest'],
|
|
@@ -56,7 +56,7 @@ describe('UsersAPI', () => {
|
|
|
56
56
|
|
|
57
57
|
instanceMock.get = get;
|
|
58
58
|
|
|
59
|
-
const UsersAPI = (await import('../users
|
|
59
|
+
const UsersAPI = (await import('../users')).default;
|
|
60
60
|
|
|
61
61
|
expect(await UsersAPI.getList({})).toEqual(output);
|
|
62
62
|
});
|
|
@@ -75,7 +75,7 @@ describe('UsersAPI', () => {
|
|
|
75
75
|
|
|
76
76
|
instanceMock.get = get;
|
|
77
77
|
|
|
78
|
-
const UsersAPI = (await import('../users
|
|
78
|
+
const UsersAPI = (await import('../users')).default;
|
|
79
79
|
|
|
80
80
|
await UsersAPI.get(inputParams);
|
|
81
81
|
expect(get).toHaveBeenCalledWith(url);
|
|
@@ -106,7 +106,7 @@ describe('UsersAPI', () => {
|
|
|
106
106
|
|
|
107
107
|
instanceMock.get = get;
|
|
108
108
|
|
|
109
|
-
const UsersAPI = (await import('../users
|
|
109
|
+
const UsersAPI = (await import('../users')).default;
|
|
110
110
|
|
|
111
111
|
expect(await UsersAPI.get({})).toEqual(output);
|
|
112
112
|
});
|
|
@@ -133,7 +133,7 @@ describe('UsersAPI', () => {
|
|
|
133
133
|
|
|
134
134
|
instanceMock.post = post;
|
|
135
135
|
|
|
136
|
-
const UsersAPI = (await import('../users
|
|
136
|
+
const UsersAPI = (await import('../users')).default;
|
|
137
137
|
|
|
138
138
|
await UsersAPI.add(input);
|
|
139
139
|
expect(post).toHaveBeenCalledWith(url, body);
|
|
@@ -156,7 +156,7 @@ describe('UsersAPI', () => {
|
|
|
156
156
|
|
|
157
157
|
instanceMock.post = post;
|
|
158
158
|
|
|
159
|
-
const UsersAPI = (await import('../users
|
|
159
|
+
const UsersAPI = (await import('../users')).default;
|
|
160
160
|
|
|
161
161
|
expect(await UsersAPI.add({ itemInstance: {} })).toEqual(output);
|
|
162
162
|
});
|
|
@@ -184,7 +184,7 @@ describe('UsersAPI', () => {
|
|
|
184
184
|
|
|
185
185
|
instanceMock.put = put;
|
|
186
186
|
|
|
187
|
-
const UsersAPI = (await import('../users
|
|
187
|
+
const UsersAPI = (await import('../users')).default;
|
|
188
188
|
|
|
189
189
|
await UsersAPI.update(input);
|
|
190
190
|
expect(put).toHaveBeenCalledWith(url, body);
|
|
@@ -207,7 +207,7 @@ describe('UsersAPI', () => {
|
|
|
207
207
|
|
|
208
208
|
instanceMock.put = put;
|
|
209
209
|
|
|
210
|
-
const UsersAPI = (await import('../users
|
|
210
|
+
const UsersAPI = (await import('../users')).default;
|
|
211
211
|
|
|
212
212
|
expect(await UsersAPI.update({ itemInstance: {}, itemId: 1 })).toEqual(
|
|
213
213
|
output,
|
|
@@ -236,7 +236,7 @@ describe('UsersAPI', () => {
|
|
|
236
236
|
|
|
237
237
|
instanceMock.patch = patch;
|
|
238
238
|
|
|
239
|
-
const UsersAPI = (await import('../users
|
|
239
|
+
const UsersAPI = (await import('../users')).default;
|
|
240
240
|
|
|
241
241
|
await UsersAPI.patch(input);
|
|
242
242
|
expect(patch).toHaveBeenCalledWith(url, body);
|
|
@@ -257,7 +257,7 @@ describe('UsersAPI', () => {
|
|
|
257
257
|
|
|
258
258
|
instanceMock.delete = _delete;
|
|
259
259
|
|
|
260
|
-
const UsersAPI = (await import('../users
|
|
260
|
+
const UsersAPI = (await import('../users')).default;
|
|
261
261
|
|
|
262
262
|
await UsersAPI.delete(input);
|
|
263
263
|
expect(_delete).toHaveBeenCalledWith(url);
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
getDefaultGetListResponse,
|
|
4
4
|
getDefaultGetParams,
|
|
5
5
|
getDefaultInstance,
|
|
6
|
-
} from '../../defaults/index
|
|
6
|
+
} from '../../defaults/index';
|
|
7
7
|
import applyTransform, {
|
|
8
8
|
camelToSnake,
|
|
9
9
|
generateUrl,
|
|
@@ -12,8 +12,8 @@ import applyTransform, {
|
|
|
12
12
|
notify,
|
|
13
13
|
sanitize,
|
|
14
14
|
snakeToCamel,
|
|
15
|
-
} from '../../transformers/index
|
|
16
|
-
import { generatePermissionsApi } from '../_shared/generatePermissionsApi
|
|
15
|
+
} from '../../transformers/index';
|
|
16
|
+
import { generatePermissionsApi } from '../_shared/generatePermissionsApi';
|
|
17
17
|
|
|
18
18
|
const instance = getDefaultInstance();
|
|
19
19
|
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
getDefaultGetListResponse,
|
|
4
4
|
getDefaultInstance,
|
|
5
5
|
getDefaultOpenAPIConfig,
|
|
6
|
-
} from '../../defaults/index
|
|
6
|
+
} from '../../defaults/index';
|
|
7
7
|
import applyTransform, {
|
|
8
8
|
notify,
|
|
9
9
|
snakeToCamel,
|
|
10
10
|
merge,
|
|
11
|
-
} from '../../transformers/index
|
|
12
|
-
import i18n from '../../../locale/i18n
|
|
11
|
+
} from '../../transformers/index';
|
|
12
|
+
import i18n from '../../../locale/i18n';
|
|
13
13
|
|
|
14
14
|
const { t } = i18n.global;
|
|
15
15
|
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
getDefaultGetParams,
|
|
6
6
|
getDefaultInstance,
|
|
7
7
|
getDefaultOpenAPIConfig,
|
|
8
|
-
} from '../../defaults/index
|
|
8
|
+
} from '../../defaults/index';
|
|
9
9
|
import applyTransform, {
|
|
10
10
|
camelToSnake,
|
|
11
11
|
merge,
|
|
12
12
|
notify,
|
|
13
13
|
sanitize,
|
|
14
14
|
snakeToCamel,
|
|
15
|
-
} from '../../transformers/index
|
|
16
|
-
import ContactsSearchMode from './enums/ContactsSearchMode
|
|
15
|
+
} from '../../transformers/index';
|
|
16
|
+
import ContactsSearchMode from './enums/ContactsSearchMode';
|
|
17
17
|
|
|
18
18
|
const instance = getDefaultInstance();
|
|
19
19
|
const configuration = getDefaultOpenAPIConfig();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import contacts from './contacts
|
|
2
|
-
import contactChatMessagesHistory from './contactChatMessagesHistory
|
|
1
|
+
import contacts from './contacts';
|
|
2
|
+
import contactChatMessagesHistory from './contactChatMessagesHistory';
|
|
3
3
|
|
|
4
4
|
export { contacts, contactChatMessagesHistory };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import generateInstance from '../../axios/generateInstance
|
|
2
|
-
import updateTokenInterceptor from '../../interceptors/request/updateToken.interceptor
|
|
3
|
-
import handleUnauthorizedInterceptor from '../../interceptors/response/handleUnauthorized.interceptor
|
|
1
|
+
import generateInstance from '../../axios/generateInstance';
|
|
2
|
+
import updateTokenInterceptor from '../../interceptors/request/updateToken.interceptor';
|
|
3
|
+
import handleUnauthorizedInterceptor from '../../interceptors/response/handleUnauthorized.interceptor';
|
|
4
4
|
|
|
5
5
|
const getDefaultInstance = () => {
|
|
6
6
|
return generateInstance({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import getDefaultGetListResponse from './getDefaultGetListResponse/getDefaultGetListResponse
|
|
2
|
-
import getDefaultGetParams from './getDefaultGetParams/getDefaultGetParams
|
|
3
|
-
import getDefaultInstance from './getDefaultInstance/getDefaultInstance
|
|
4
|
-
import getDefaultOpenAPIConfig from './getDefaultOpenAPIConfig/getDefaultOpenAPIConfig
|
|
1
|
+
import getDefaultGetListResponse from './getDefaultGetListResponse/getDefaultGetListResponse';
|
|
2
|
+
import getDefaultGetParams from './getDefaultGetParams/getDefaultGetParams';
|
|
3
|
+
import getDefaultInstance from './getDefaultInstance/getDefaultInstance';
|
|
4
|
+
import getDefaultOpenAPIConfig from './getDefaultOpenAPIConfig/getDefaultOpenAPIConfig';
|
|
5
5
|
|
|
6
6
|
export {
|
|
7
7
|
getDefaultGetListResponse,
|
package/src/api/history/index.js
CHANGED
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
getDefaultGetListResponse,
|
|
4
4
|
getDefaultInstance,
|
|
5
5
|
getDefaultOpenAPIConfig,
|
|
6
|
-
} from '../../defaults/index
|
|
6
|
+
} from '../../defaults/index';
|
|
7
7
|
import applyTransform, {
|
|
8
8
|
camelToSnake,
|
|
9
9
|
merge,
|
|
10
10
|
notify,
|
|
11
11
|
snakeToCamel,
|
|
12
|
-
} from '../../transformers/index
|
|
12
|
+
} from '../../transformers/index';
|
|
13
13
|
|
|
14
14
|
const instance = getDefaultInstance();
|
|
15
15
|
const configuration = getDefaultOpenAPIConfig();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import applyTransform from './applyTransform
|
|
2
|
-
import camelToSnake from './camelToSnake/camelToSnake.transformer
|
|
3
|
-
import generateUrl from './generateUrl/generateUrl.transformer
|
|
4
|
-
import log from './log/log.transformer
|
|
5
|
-
import merge from './merge/merge.transformer
|
|
6
|
-
import mergeEach from './mergeEach/mergeEach.transformer
|
|
7
|
-
import notify from './notify/notify.transformer
|
|
8
|
-
import sanitize from './sanitize/sanitize.transformer
|
|
9
|
-
import snakeToCamel from './snakeToCamel/snakeToCamel.transformer
|
|
10
|
-
import starToSearch from './starToSearch/starToSearch.transformer
|
|
1
|
+
import applyTransform from './applyTransform';
|
|
2
|
+
import camelToSnake from './camelToSnake/camelToSnake.transformer';
|
|
3
|
+
import generateUrl from './generateUrl/generateUrl.transformer';
|
|
4
|
+
import log from './log/log.transformer';
|
|
5
|
+
import merge from './merge/merge.transformer';
|
|
6
|
+
import mergeEach from './mergeEach/mergeEach.transformer';
|
|
7
|
+
import notify from './notify/notify.transformer';
|
|
8
|
+
import sanitize from './sanitize/sanitize.transformer';
|
|
9
|
+
import snakeToCamel from './snakeToCamel/snakeToCamel.transformer';
|
|
10
|
+
import starToSearch from './starToSearch/starToSearch.transformer';
|
|
11
11
|
|
|
12
12
|
export default applyTransform;
|
|
13
13
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import deepcopy from 'deep-copy';
|
|
2
|
-
import get from 'lodash/get
|
|
3
|
-
import updateObject from '../../../scripts/updateObject
|
|
2
|
+
import get from 'lodash/get';
|
|
3
|
+
import updateObject from '../../../scripts/updateObject';
|
|
4
4
|
|
|
5
5
|
const starToSearchTransformer =
|
|
6
6
|
(path = 'search') =>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { markRaw, reactive, shallowReactive } from 'vue';
|
|
2
2
|
import { Client } from 'webitel-sdk';
|
|
3
3
|
|
|
4
|
-
import eventBus from '../../scripts/eventBus
|
|
5
|
-
import { endpoint, getConfig } from './config
|
|
6
|
-
import websocketErrorEventHandler from './websocketErrorEventHandler
|
|
4
|
+
import eventBus from '../../scripts/eventBus';
|
|
5
|
+
import { endpoint, getConfig } from './config';
|
|
6
|
+
import websocketErrorEventHandler from './websocketErrorEventHandler';
|
|
7
7
|
|
|
8
8
|
const WebSocketClientEvent = Object.freeze({
|
|
9
9
|
AFTER_AUTH: 'afterAuth',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import i18n from '../../locale/i18n
|
|
2
|
-
import eventBus from '../../scripts/eventBus
|
|
1
|
+
import i18n from '../../locale/i18n';
|
|
2
|
+
import eventBus from '../../scripts/eventBus';
|
|
3
3
|
|
|
4
4
|
const websocketErrorEventHandler = (error) => {
|
|
5
5
|
const errLocale = `error.websocket.${error.id?.replaceAll('.', '_')}`;
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
<script setup>
|
|
34
34
|
import { computed } from 'vue';
|
|
35
35
|
|
|
36
|
-
import IconAction from '../../enums/IconAction/IconAction.enum
|
|
36
|
+
import IconAction from '../../enums/IconAction/IconAction.enum';
|
|
37
37
|
import WtIconAction from '../wt-icon-action/wt-icon-action.vue';
|
|
38
38
|
import {
|
|
39
39
|
sectionActionsOrder,
|
|
40
40
|
tableActionsOrder,
|
|
41
|
-
} from './WtActionBarActionsOrder
|
|
41
|
+
} from './WtActionBarActionsOrder';
|
|
42
42
|
|
|
43
43
|
const props = defineProps({
|
|
44
44
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shallowMount } from '@vue/test-utils';
|
|
2
|
-
import WebitelApplications from '../../../enums/WebitelApplications/WebitelApplications.enum
|
|
2
|
+
import WebitelApplications from '../../../enums/WebitelApplications/WebitelApplications.enum';
|
|
3
3
|
import WtAppNavigator from '../wt-app-navigator.vue';
|
|
4
4
|
|
|
5
5
|
const apps = [
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
<script setup>
|
|
56
56
|
import { computed, ref } from 'vue';
|
|
57
57
|
|
|
58
|
-
import WebitelApplications from '../../enums/WebitelApplications/WebitelApplications.enum
|
|
58
|
+
import WebitelApplications from '../../enums/WebitelApplications/WebitelApplications.enum';
|
|
59
59
|
import AdminDark from './assets/admin-dark.svg';
|
|
60
60
|
import AdminLight from './assets/admin-light.svg';
|
|
61
61
|
import AgentDark from './assets/agent-dark.svg';
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<script setup>
|
|
28
28
|
import { computed } from 'vue';
|
|
29
29
|
import defaultAvatar from '../../assets/components/atoms/wt-avatar/default-avatar.svg';
|
|
30
|
-
import AbstractUserStatus from '../../enums/AbstractUserStatus/AbstractUserStatus.enum
|
|
30
|
+
import AbstractUserStatus from '../../enums/AbstractUserStatus/AbstractUserStatus.enum';
|
|
31
31
|
|
|
32
32
|
const props = defineProps({
|
|
33
33
|
src: {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
import BadgeDnd from '../../assets/icons/badge-dnd.svg';
|
|
28
28
|
import BadgeOnline from '../../assets/icons/badge-online.svg';
|
|
29
29
|
import BadgePause from '../../assets/icons/badge-pause.svg';
|
|
30
|
-
import AbstractUserStatus from '../../enums/AbstractUserStatus/AbstractUserStatus.enum
|
|
30
|
+
import AbstractUserStatus from '../../enums/AbstractUserStatus/AbstractUserStatus.enum';
|
|
31
31
|
|
|
32
32
|
export default {
|
|
33
33
|
name: 'WtBadge',
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
import { computed } from 'vue';
|
|
16
16
|
import { useI18n } from 'vue-i18n';
|
|
17
17
|
|
|
18
|
-
import IconAction from '../../enums/IconAction/IconAction.enum
|
|
19
|
-
import { WtIconActionIconMappings } from './iconMappings
|
|
18
|
+
import IconAction from '../../enums/IconAction/IconAction.enum';
|
|
19
|
+
import { WtIconActionIconMappings } from './iconMappings';
|
|
20
20
|
|
|
21
21
|
const props = defineProps({
|
|
22
22
|
/**
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
<script setup>
|
|
73
73
|
import { computed, onMounted, ref, toRefs, useSlots } from 'vue';
|
|
74
74
|
|
|
75
|
-
import { useValidation } from '../../mixins/validationMixin/useValidation
|
|
75
|
+
import { useValidation } from '../../mixins/validationMixin/useValidation';
|
|
76
76
|
|
|
77
77
|
/*
|
|
78
78
|
* IMPORTANT: WT-INPUT SHOULD SUPPORT VUE 3 AND VUE 2 V-MODEL INTERFACES SO THAT THERE'S
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
</template>
|
|
105
105
|
|
|
106
106
|
<script lang="ts">
|
|
107
|
-
import WebitelApplications from '../../enums/WebitelApplications/WebitelApplications.enum
|
|
107
|
+
import WebitelApplications from '../../enums/WebitelApplications/WebitelApplications.enum';
|
|
108
108
|
import ExpandTransition from '../transitions/wt-expand-transition.vue';
|
|
109
109
|
import AdminDark from './assets/dark/app-logo-dark-admin.svg';
|
|
110
110
|
import AuditDark from './assets/dark/app-logo-dark-audit.svg';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shallowMount } from '@vue/test-utils';
|
|
2
|
-
import eventBus from '../../../scripts/eventBus
|
|
2
|
+
import eventBus from '../../../scripts/eventBus';
|
|
3
3
|
import WtNotification from '../../wt-notification/wt-notification.vue';
|
|
4
4
|
import WtNotificationsBar from '../wt-notifications-bar.vue';
|
|
5
5
|
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
</template>
|
|
18
18
|
|
|
19
19
|
<script>
|
|
20
|
-
import defaultEventBus from '../../scripts/eventBus
|
|
21
|
-
import { _wtUiLog as loggr } from '../../scripts/logger
|
|
20
|
+
import defaultEventBus from '../../scripts/eventBus';
|
|
21
|
+
import { _wtUiLog as loggr } from '../../scripts/logger';
|
|
22
22
|
|
|
23
23
|
export default {
|
|
24
24
|
name: 'WtNotificationsBar',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { 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';
|
|
4
4
|
import WtSearchBar from '../wt-search-bar.vue';
|
|
5
5
|
|
|
6
6
|
vi.mock('../../../mixins/validationMixin/useValidation');
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
<script setup>
|
|
82
82
|
import { computed, toRefs } from 'vue';
|
|
83
83
|
|
|
84
|
-
import { useValidation } from '../../mixins/validationMixin/useValidation
|
|
85
|
-
import debounce from '../../scripts/debounce
|
|
84
|
+
import { useValidation } from '../../mixins/validationMixin/useValidation';
|
|
85
|
+
import debounce from '../../scripts/debounce';
|
|
86
86
|
|
|
87
87
|
const props = defineProps({
|
|
88
88
|
v: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import VueMultiselect from 'vue-multiselect';
|
|
2
2
|
import { ObserveVisibility } from 'vue-observe-visibility';
|
|
3
3
|
|
|
4
|
-
import validationMixin from '../../../mixins/validationMixin/validationMixin
|
|
5
|
-
import debounce from '../../../scripts/debounce
|
|
6
|
-
import isEmpty from '../../../scripts/isEmpty
|
|
7
|
-
import labelUsageMixin from '../../wt-label/mixins/labelUsageMixin
|
|
4
|
+
import validationMixin from '../../../mixins/validationMixin/validationMixin';
|
|
5
|
+
import debounce from '../../../scripts/debounce';
|
|
6
|
+
import isEmpty from '../../../scripts/isEmpty';
|
|
7
|
+
import labelUsageMixin from '../../wt-label/mixins/labelUsageMixin';
|
|
8
8
|
|
|
9
9
|
export default {
|
|
10
10
|
mixins: [validationMixin, labelUsageMixin],
|
|
@@ -146,9 +146,9 @@
|
|
|
146
146
|
</template>
|
|
147
147
|
|
|
148
148
|
<script>
|
|
149
|
-
import isEmpty from '../../scripts/isEmpty
|
|
150
|
-
import taggableMixin from '../wt-tags-input/mixin/taggableMixin
|
|
151
|
-
import multiselectMixin from './mixins/multiselectMixin
|
|
149
|
+
import isEmpty from '../../scripts/isEmpty';
|
|
150
|
+
import taggableMixin from '../wt-tags-input/mixin/taggableMixin';
|
|
151
|
+
import multiselectMixin from './mixins/multiselectMixin';
|
|
152
152
|
|
|
153
153
|
export default {
|
|
154
154
|
name: 'WtSelect',
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
</template>
|
|
26
26
|
|
|
27
27
|
<script>
|
|
28
|
-
import AgentStatus from '../../enums/AgentStatus/AgentStatus.enum
|
|
29
|
-
import convertDuration from '../../scripts/convertDuration
|
|
30
|
-
import StatusOptions from './_internals/StatusOptions.lookup
|
|
28
|
+
import AgentStatus from '../../enums/AgentStatus/AgentStatus.enum';
|
|
29
|
+
import convertDuration from '../../scripts/convertDuration';
|
|
30
|
+
import StatusOptions from './_internals/StatusOptions.lookup';
|
|
31
31
|
|
|
32
32
|
export default {
|
|
33
33
|
name: 'WtStatusSelect',
|
|
@@ -32,11 +32,11 @@ describe('WtTagsInput', () => {
|
|
|
32
32
|
const wrapper = mount(WtTagsInput, {
|
|
33
33
|
props: {
|
|
34
34
|
value: [
|
|
35
|
-
{ label: 'Vue
|
|
36
|
-
{ label: 'Vue2
|
|
37
|
-
{ label: 'Vue3
|
|
35
|
+
{ label: 'Vue', text: 'JavaScript' },
|
|
36
|
+
{ label: 'Vue2', text: 'JavaScript' },
|
|
37
|
+
{ label: 'Vue3', text: 'JavaScript' },
|
|
38
38
|
],
|
|
39
|
-
options: [{ label: 'Vue
|
|
39
|
+
options: [{ label: 'Vue', text: 'JavaScript' }],
|
|
40
40
|
},
|
|
41
41
|
});
|
|
42
42
|
expect(
|
|
@@ -104,8 +104,8 @@
|
|
|
104
104
|
<script>
|
|
105
105
|
import deepEqual from 'deep-equal';
|
|
106
106
|
|
|
107
|
-
import multiselectMixin from '../wt-select/mixins/multiselectMixin
|
|
108
|
-
import taggableMixin from './mixin/taggableMixin
|
|
107
|
+
import multiselectMixin from '../wt-select/mixins/multiselectMixin';
|
|
108
|
+
import taggableMixin from './mixin/taggableMixin';
|
|
109
109
|
|
|
110
110
|
export default {
|
|
111
111
|
name: 'WtTagsInput',
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
</template>
|
|
69
69
|
|
|
70
70
|
<script>
|
|
71
|
-
import validationMixin from '../../mixins/validationMixin/validationMixin
|
|
71
|
+
import validationMixin from '../../mixins/validationMixin/validationMixin';
|
|
72
72
|
|
|
73
73
|
const SEC_IN_DAY = 60 * 60 * 24;
|
|
74
74
|
const SEC_IN_HOUR = 60 * 60;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* */
|
|
19
19
|
|
|
20
20
|
import { ref } from 'vue';
|
|
21
|
-
import { useTooltipTriggerSubscriptions } from './useTooltipTriggerSubscriptions
|
|
21
|
+
import { useTooltipTriggerSubscriptions } from './useTooltipTriggerSubscriptions';
|
|
22
22
|
|
|
23
23
|
const props = defineProps({
|
|
24
24
|
triggers: {
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
} from '@floating-ui/vue';
|
|
44
44
|
import { onBeforeUnmount, onMounted, ref, useTemplateRef, watch } from 'vue';
|
|
45
45
|
|
|
46
|
-
import { useTooltipTriggerSubscriptions } from './_internals/useTooltipTriggerSubscriptions
|
|
46
|
+
import { useTooltipTriggerSubscriptions } from './_internals/useTooltipTriggerSubscriptions';
|
|
47
47
|
import WtTooltipFloating from './_internals/wt-tooltip-floating.vue';
|
|
48
48
|
|
|
49
49
|
const props = defineProps({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { onBeforeUnmount } from 'vue';
|
|
2
|
-
import preventHiddenPageCallsDecorator from '../../scripts/preventHiddenPageCallsDecorator
|
|
2
|
+
import preventHiddenPageCallsDecorator from '../../scripts/preventHiddenPageCallsDecorator';
|
|
3
3
|
|
|
4
4
|
// eslint-disable-next-line import/prefer-default-export
|
|
5
5
|
export const useCachedInterval = ({
|