@webitel/ui-sdk 24.6.16 → 24.6.18
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/plyr.svg +77 -68
- package/dist/img/sprite/account.svg +4 -2
- package/dist/img/sprite/adfs.svg +7 -3
- package/dist/img/sprite/agent.svg +4 -3
- package/dist/img/sprite/app-navigator.svg +9 -9
- package/dist/img/sprite/arrow-down.svg +2 -1
- package/dist/img/sprite/arrow-left.svg +2 -1
- package/dist/img/sprite/arrow-mix.svg +3 -3
- package/dist/img/sprite/arrow-right.svg +2 -1
- package/dist/img/sprite/arrow-up.svg +2 -1
- package/dist/img/sprite/attach.svg +2 -1
- package/dist/img/sprite/attention.svg +2 -1
- package/dist/img/sprite/azure.svg +25 -17
- package/dist/img/sprite/back.svg +2 -2
- package/dist/img/sprite/bot.svg +4 -3
- package/dist/img/sprite/bucket.svg +2 -1
- package/dist/img/sprite/calendar.svg +2 -1
- package/dist/img/sprite/call--filled.svg +1 -1
- package/dist/img/sprite/call-add-to--filled.svg +2 -2
- package/dist/img/sprite/call-add-to.svg +3 -2
- package/dist/img/sprite/call-disconnect--filled.svg +2 -1
- package/dist/img/sprite/call-disconnect.svg +2 -1
- package/dist/img/sprite/call-end--filled.svg +2 -1
- package/dist/img/sprite/call-end.svg +2 -1
- package/dist/img/sprite/call-inbound--filled.svg +3 -2
- package/dist/img/sprite/call-inbound.svg +2 -1
- package/dist/img/sprite/call-missed--filled.svg +2 -2
- package/dist/img/sprite/call-missed.svg +2 -1
- package/dist/img/sprite/call-outbound--filled.svg +2 -1
- package/dist/img/sprite/call-outbound.svg +2 -1
- package/dist/img/sprite/call-ringing--filled.svg +4 -3
- package/dist/img/sprite/call-ringing.svg +2 -1
- package/dist/img/sprite/call-transfer--filled.svg +2 -2
- package/dist/img/sprite/call-transfer.svg +2 -1
- package/dist/img/sprite/call.svg +2 -1
- package/dist/img/sprite/chat--filled.svg +1 -1
- package/dist/img/sprite/chat-emoji.svg +2 -1
- package/dist/img/sprite/chat-end--filled.svg +2 -1
- package/dist/img/sprite/chat-end.svg +3 -2
- package/dist/img/sprite/chat-group.svg +5 -3
- package/dist/img/sprite/chat-join.svg +3 -2
- package/dist/img/sprite/chat-message-status-read.svg +2 -1
- package/dist/img/sprite/chat-message-status-sent.svg +2 -1
- package/dist/img/sprite/chat-quick-response--filled.svg +2 -1
- package/dist/img/sprite/chat-quick-response.svg +2 -1
- package/dist/img/sprite/chat-reply.svg +2 -1
- package/dist/img/sprite/chat-send.svg +5 -4
- package/dist/img/sprite/chat-transfer--filled.svg +2 -1
- package/dist/img/sprite/chat-transfer.svg +3 -2
- package/dist/img/sprite/chat.svg +2 -1
- package/dist/img/sprite/checkbox--checked--filled.svg +2 -1
- package/dist/img/sprite/checkbox--checked.svg +2 -1
- package/dist/img/sprite/checkbox.svg +2 -1
- package/dist/img/sprite/clear.svg +2 -1
- package/dist/img/sprite/close--filled.svg +2 -1
- package/dist/img/sprite/close.svg +1 -1
- package/dist/img/sprite/collapse.svg +4 -3
- package/dist/img/sprite/column-select.svg +3 -2
- package/dist/img/sprite/conference.svg +9 -6
- package/dist/img/sprite/contacts.svg +2 -1
- package/dist/img/sprite/copy.svg +2 -1
- package/dist/img/sprite/custom-chat-gateway.svg +8 -3
- package/dist/img/sprite/dark-mode.svg +5 -3
- package/dist/img/sprite/docs.svg +5 -4
- package/dist/img/sprite/done.svg +3 -2
- package/dist/img/sprite/download.svg +4 -3
- package/dist/img/sprite/edit.svg +2 -1
- package/dist/img/sprite/elevenlabs.svg +3 -3
- package/dist/img/sprite/email.svg +2 -1
- package/dist/img/sprite/expand.svg +4 -3
- package/dist/img/sprite/eye--closed.svg +2 -1
- package/dist/img/sprite/eye--opened.svg +4 -2
- package/dist/img/sprite/filter.svg +3 -3
- package/dist/img/sprite/flows.svg +2 -1
- package/dist/img/sprite/generate.svg +3 -2
- package/dist/img/sprite/google.svg +8 -4
- package/dist/img/sprite/history.svg +2 -2
- package/dist/img/sprite/hold.svg +2 -1
- package/dist/img/sprite/idle.svg +3 -2
- package/dist/img/sprite/instagram.svg +31 -26
- package/dist/img/sprite/job--accept.svg +3 -2
- package/dist/img/sprite/job--end.svg +3 -2
- package/dist/img/sprite/job.svg +5 -3
- package/dist/img/sprite/lock.svg +2 -1
- package/dist/img/sprite/logout.svg +2 -1
- package/dist/img/sprite/mail--color.svg +3 -1
- package/dist/img/sprite/mail.svg +3 -1
- package/dist/img/sprite/menu.svg +2 -1
- package/dist/img/sprite/messenger-facebook--filled.svg +2 -1
- package/dist/img/sprite/messenger-facebook.svg +8 -7
- package/dist/img/sprite/messenger-infobip.svg +8 -3
- package/dist/img/sprite/messenger-messenger.svg +12 -9
- package/dist/img/sprite/messenger-telegram--filled.svg +3 -1
- package/dist/img/sprite/messenger-telegram.svg +10 -7
- package/dist/img/sprite/messenger-viber--filled.svg +3 -1
- package/dist/img/sprite/messenger-viber.svg +3 -1
- package/dist/img/sprite/messenger-web-chat.svg +6 -2
- package/dist/img/sprite/messenger-whatsapp--filled.svg +6 -2
- package/dist/img/sprite/messenger-whatsapp.svg +9 -7
- package/dist/img/sprite/meta.svg +20 -15
- package/dist/img/sprite/mic-muted.svg +5 -4
- package/dist/img/sprite/mic.svg +3 -2
- package/dist/img/sprite/microsoft.svg +5 -5
- package/dist/img/sprite/move.svg +4 -4
- package/dist/img/sprite/note.svg +2 -1
- package/dist/img/sprite/numpad.svg +24 -22
- package/dist/img/sprite/options.svg +3 -3
- package/dist/img/sprite/pause.svg +2 -1
- package/dist/img/sprite/pin.svg +2 -1
- package/dist/img/sprite/play.svg +3 -2
- package/dist/img/sprite/plus.svg +2 -1
- package/dist/img/sprite/preview-tag-application.svg +5 -4
- package/dist/img/sprite/preview-tag-audio.svg +4 -2
- package/dist/img/sprite/preview-tag-image.svg +4 -2
- package/dist/img/sprite/preview-tag-video.svg +4 -2
- package/dist/img/sprite/prompter.svg +2 -1
- package/dist/img/sprite/queue-member.svg +2 -1
- package/dist/img/sprite/radio--checked.svg +3 -2
- package/dist/img/sprite/radio.svg +2 -1
- package/dist/img/sprite/rec-off.svg +1 -1
- package/dist/img/sprite/rec.svg +3 -2
- package/dist/img/sprite/refresh.svg +2 -2
- package/dist/img/sprite/role.svg +2 -1
- package/dist/img/sprite/rounded-info.svg +2 -1
- package/dist/img/sprite/scorecard.svg +3 -2
- package/dist/img/sprite/search.svg +2 -1
- package/dist/img/sprite/select-custom-value-enter.svg +1 -1
- package/dist/img/sprite/send-arrow.svg +2 -2
- package/dist/img/sprite/settings.svg +2 -1
- package/dist/img/sprite/sort-arrow-down.svg +2 -2
- package/dist/img/sprite/sort-arrow-up.svg +2 -2
- package/dist/img/sprite/sound-off.svg +3 -2
- package/dist/img/sprite/sound-on.svg +2 -1
- package/dist/img/sprite/star--filled.svg +2 -1
- package/dist/img/sprite/star.svg +2 -1
- package/dist/img/sprite/stop.svg +4 -2
- package/dist/img/sprite/stt-download.svg +3 -2
- package/dist/img/sprite/stt-search.svg +2 -1
- package/dist/img/sprite/stt.svg +4 -2
- package/dist/img/sprite/telegram-bot.svg +6 -2
- package/dist/img/sprite/tick.svg +2 -1
- package/dist/img/sprite/tts-download.svg +4 -3
- package/dist/img/sprite/unpin.svg +3 -3
- package/dist/img/sprite/upload.svg +4 -3
- package/dist/img/sprite/user.svg +2 -1
- package/dist/img/sprite/video-cam-off.svg +4 -2
- package/dist/img/sprite/video-cam.svg +2 -1
- package/dist/img/sprite/zoom-in.svg +2 -1
- package/dist/img/sprite/zoom-out.svg +3 -2
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +13200 -13195
- package/dist/ui-sdk.umd.cjs +11 -11
- package/package.json +5 -5
- package/src/api/clients/agents/agents.js +4 -4
- package/src/api/clients/buckets/buckets.js +3 -3
- package/src/api/clients/calendars/calendars.js +5 -5
- package/src/api/clients/chatGateways/chatGateways.js +9 -8
- package/src/api/clients/chatGateways/defaults/defaultChatGateway.js +1 -1
- package/src/api/clients/chatGateways/defaults/webChatGateway.js +4 -3
- package/src/api/clients/communications/communications.js +6 -5
- 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 +12 -12
- package/src/api/clients/lists/blacklists.js +6 -4
- package/src/api/clients/media/media.js +2 -2
- package/src/api/clients/queues/queues.js +10 -10
- package/src/api/clients/roles/roles.js +4 -4
- package/src/api/clients/users/__tests__/users.spec.js +1 -1
- package/src/api/clients/users/users.js +7 -6
- package/src/api/defaults/getDefaultGetParams/getDefaultGetParams.js +2 -2
- package/src/api/defaults/getDefaultInstance/getDefaultInstance.js +3 -3
- package/src/api/defaults/index.js +6 -4
- 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 +7 -3
- package/src/api/transformers/snakeToCamel/snakeToCamel.transformer.js +1 -1
- package/src/api/transformers/starToSearch/starToSearch.transformer.js +1 -1
- package/src/components/index.js +40 -38
- package/src/components/on-demand/wt-cc-agent-status-timers/__tests__/wt-cc-agent-status-timers.spec.js +2 -2
- package/src/components/on-demand/wt-cc-agent-status-timers/wt-cc-agent-status-timers.vue +6 -6
- package/src/components/on-demand/wt-save-failed-popup/wt-save-failed-popup.vue +1 -1
- package/src/components/transitions/wt-expand-transition.vue +6 -7
- package/src/components/wt-app-header/__tests__/WtAppNavigator.spec.js +2 -1
- package/src/components/wt-app-header/__tests__/WtHeaderActions.spec.js +2 -1
- package/src/components/wt-app-header/assets/admin-dark.svg +42 -34
- package/src/components/wt-app-header/assets/admin-light.svg +42 -34
- package/src/components/wt-app-header/assets/agent-dark.svg +124 -124
- package/src/components/wt-app-header/assets/agent-light.svg +124 -124
- package/src/components/wt-app-header/assets/analytics-dark.svg +96 -58
- package/src/components/wt-app-header/assets/analytics-light.svg +96 -58
- package/src/components/wt-app-header/assets/audit-dark.svg +39 -33
- package/src/components/wt-app-header/assets/audit-light.svg +39 -33
- package/src/components/wt-app-header/assets/crm-dark.svg +22 -22
- package/src/components/wt-app-header/assets/crm-light.svg +22 -22
- package/src/components/wt-app-header/assets/history-dark.svg +246 -134
- package/src/components/wt-app-header/assets/history-light.svg +246 -134
- package/src/components/wt-app-header/assets/supervisor-dark.svg +72 -72
- package/src/components/wt-app-header/assets/supervisor-light.svg +72 -72
- package/src/components/wt-app-header/wt-app-header.vue +2 -2
- package/src/components/wt-app-header/wt-app-navigator.vue +1 -1
- package/src/components/wt-app-header/wt-header-actions.vue +1 -1
- package/src/components/wt-avatar/wt-avatar.vue +6 -6
- package/src/components/wt-badge/wt-badge.vue +4 -4
- package/src/components/wt-button/__tests__/WtButton.spec.js +1 -1
- package/src/components/wt-button/wt-button.vue +9 -9
- package/src/components/wt-button-select/__tests__/WtButtonSelect.spec.js +5 -3
- package/src/components/wt-button-select/wt-button-select.vue +2 -2
- package/src/components/wt-checkbox/__tests__/WtCheckbox.spec.js +3 -3
- package/src/components/wt-checkbox/wt-checkbox.vue +9 -9
- package/src/components/wt-chip/wt-chip.scss +7 -7
- package/src/components/wt-chip/wt-chip.vue +1 -1
- package/src/components/wt-context-menu/wt-context-menu.vue +8 -8
- package/src/components/wt-copy-action/wt-copy-action.vue +1 -1
- package/src/components/wt-datepicker/__tests__/WtDatepicker.spec.js +3 -3
- package/src/components/wt-datepicker/wt-datepicker.vue +8 -8
- package/src/components/wt-divider/wt-divider.vue +1 -1
- package/src/components/wt-error-page/wt-error-page.vue +5 -5
- package/src/components/wt-expansion-panel/wt-expansion-panel.vue +1 -1
- package/src/components/wt-filters-panel-wrapper/__tests__/WtFiltersPanelWrapper.spec.js +4 -2
- package/src/components/wt-filters-panel-wrapper/wt-filters-panel-wrapper.vue +3 -3
- package/src/components/wt-headline/_variables.scss +1 -1
- package/src/components/wt-headline/wt-headline.vue +4 -4
- package/src/components/wt-hint/wt-hint.vue +1 -1
- package/src/components/wt-icon/wt-icon.vue +16 -3
- package/src/components/wt-icon-action/_internals/wt-add-icon-action.vue +1 -1
- package/src/components/wt-icon-action/_internals/wt-delete-icon-action.vue +1 -1
- package/src/components/wt-icon-action/_internals/wt-download-icon-action.vue +1 -1
- package/src/components/wt-icon-action/_internals/wt-edit-icon-action.vue +1 -1
- package/src/components/wt-icon-action/_internals/wt-history-icon-action.vue +1 -1
- package/src/components/wt-icon-action/_internals/wt-refresh-icon-action.vue +1 -1
- package/src/components/wt-icon-action/wt-icon-action.vue +2 -2
- package/src/components/wt-icon-btn/__tests__/WtIconBtn.spec.js +1 -1
- package/src/components/wt-icon-btn/wt-icon-btn.vue +4 -4
- package/src/components/wt-indicator/__tests__/WtIndicator.spec.js +1 -1
- package/src/components/wt-indicator/wt-indicator.vue +6 -3
- package/src/components/wt-input/__tests__/WtInput.spec.js +2 -2
- package/src/components/wt-input/wt-input.vue +3 -5
- package/src/components/wt-input-info/wt-input-info.vue +2 -2
- package/src/components/wt-label/wt-label.vue +3 -3
- package/src/components/wt-loader/_internals/wt-loader--md.vue +62 -63
- package/src/components/wt-loader/_internals/wt-loader--sm.vue +8 -4
- package/src/components/wt-loader/wt-loader.vue +2 -2
- package/src/components/wt-logo/assets/logo-dark.svg +51 -25
- package/src/components/wt-logo/assets/logo-light.svg +51 -25
- package/src/components/wt-logo/wt-logo.vue +2 -2
- package/src/components/wt-navigation-bar/__tests__/WtNavigationBar.spec.js +10 -8
- package/src/components/wt-navigation-bar/assets/dark/app-logo-dark-admin.svg +12 -6
- package/src/components/wt-navigation-bar/assets/dark/app-logo-dark-analytics.svg +19 -11
- package/src/components/wt-navigation-bar/assets/dark/app-logo-dark-audit.svg +10 -6
- package/src/components/wt-navigation-bar/assets/dark/app-logo-dark-crm.svg +7 -4
- package/src/components/wt-navigation-bar/assets/dark/app-logo-dark-history.svg +14 -7
- package/src/components/wt-navigation-bar/assets/dark/app-logo-dark-supervisor.svg +20 -11
- package/src/components/wt-navigation-bar/assets/dark/app-logo-dark-workspace.svg +20 -10
- package/src/components/wt-navigation-bar/assets/light/app-logo-light-admin.svg +12 -6
- package/src/components/wt-navigation-bar/assets/light/app-logo-light-analytics.svg +19 -11
- package/src/components/wt-navigation-bar/assets/light/app-logo-light-audit.svg +10 -6
- package/src/components/wt-navigation-bar/assets/light/app-logo-light-crm.svg +7 -4
- package/src/components/wt-navigation-bar/assets/light/app-logo-light-history.svg +14 -7
- package/src/components/wt-navigation-bar/assets/light/app-logo-light-supervisor.svg +20 -11
- package/src/components/wt-navigation-bar/assets/light/app-logo-light-workspace.svg +20 -10
- package/src/components/wt-navigation-bar/wt-navigation-bar.vue +13 -12
- package/src/components/wt-notification/__tests__/WtNotification.spec.js +1 -1
- package/src/components/wt-notification/wt-notification.vue +5 -5
- package/src/components/wt-notifications-bar/__tests__/WtNotificationsBar.spec.js +2 -2
- package/src/components/wt-notifications-bar/wt-notifications-bar.vue +4 -4
- package/src/components/wt-page-header/wt-page-header.vue +1 -1
- package/src/components/wt-page-wrapper/__tests__/WtPageWrapper.spec.js +2 -1
- package/src/components/wt-page-wrapper/wt-page-wrapper.vue +2 -2
- package/src/components/wt-pagination/__tests__/WtPagination.spec.js +1 -1
- package/src/components/wt-pagination/wt-pagination.vue +1 -1
- package/src/components/wt-player/scripts/__tests__/createPlyrURL.spec.js +1 -1
- package/src/components/wt-player/scripts/createPlyrURL.js +5 -2
- package/src/components/wt-player/wt-player.vue +8 -8
- package/src/components/wt-popup/__tests__/WtPopup.spec.js +1 -1
- package/src/components/wt-popup/wt-popup.vue +3 -0
- package/src/components/wt-progress-bar/__tests__/WtProgressBar.spec.js +12 -2
- package/src/components/wt-progress-bar/wt-progress-bar.vue +7 -7
- package/src/components/wt-radio/__tests__/WtRadio.spec.js +2 -2
- package/src/components/wt-radio/wt-radio.vue +8 -8
- package/src/components/wt-rounded-action/wt-rounded-action.vue +10 -8
- package/src/components/wt-search-bar/__tests__/WtSearchBar.spec.js +2 -2
- package/src/components/wt-search-bar/_variables.scss +2 -6
- package/src/components/wt-search-bar/wt-search-bar.vue +3 -3
- package/src/components/wt-select/__tests__/WtSelect.spec.js +1 -1
- package/src/components/wt-select/_variables.scss +1 -1
- package/src/components/wt-select/mixins/__tests__/multiselectMixin.spec.js +1 -1
- package/src/components/wt-select/mixins/multiselectMixin.js +8 -7
- package/src/components/wt-select/wt-select.vue +7 -8
- package/src/components/wt-slider/wt-slider.vue +3 -3
- package/src/components/wt-status-select/__tests__/WtStatusSelect.spec.js +1 -1
- package/src/components/wt-status-select/_internals/StatusOptions.lookup.js +1 -1
- package/src/components/wt-status-select/wt-status-select.vue +15 -15
- package/src/components/wt-stepper/wt-stepper.vue +6 -6
- package/src/components/wt-switcher/__tests__/WtSwitcher.spec.js +2 -2
- package/src/components/wt-table/__tests__/WtTable.spec.js +7 -5
- package/src/components/wt-table/wt-table.vue +104 -104
- package/src/components/wt-table-column-select/wt-table-column-select.vue +9 -8
- package/src/components/wt-tabs/wt-tabs.vue +2 -2
- package/src/components/wt-tags-input/__tests__/WtTagsInput.spec.js +2 -2
- package/src/components/wt-tags-input/mixin/__tests__/taggableMixin.spec.js +3 -3
- package/src/components/wt-tags-input/wt-tags-input.vue +2 -2
- package/src/components/wt-textarea/__tests__/WtTextarea.spec.js +5 -3
- package/src/components/wt-textarea/wt-textarea.vue +3 -3
- package/src/components/wt-time-input/__tests__/WtTimeInput.spec.js +2 -2
- package/src/components/wt-time-input/wt-time-input.vue +12 -11
- package/src/components/wt-timepicker/__tests__/WtTimepicker.spec.js +2 -2
- package/src/components/wt-timepicker/wt-timepicker.vue +12 -12
- package/src/components/wt-tooltip/_internals/wt-tooltip-floating.vue +1 -1
- package/src/components/wt-tooltip/wt-tooltip.vue +7 -11
- package/src/composables/useCachedInterval/__tests__/useCachedInterval.spec.js +1 -1
- package/src/composables/useCachedInterval/useCachedInterval.js +6 -5
- package/src/composables/useDestroyableSortable/useDestroyableSortable.js +1 -6
- package/src/composables/useRepresentableAgentPauseCause/__tests__/useRepresentableAgentPauseCause.spec.js +4 -5
- package/src/composables/useRepresentableAgentPauseCause/useRepresentableAgentPauseCause.js +1 -1
- package/src/css/main.scss +6 -6
- package/src/css/styleguide/colors/_deprecated.scss +1 -1
- package/src/css/styleguide/fonts/_fonts.scss +0 -1
- package/src/css/styleguide/placeholder/_placeholder.scss +1 -1
- package/src/css/styleguide/scroll.scss +6 -5
- package/src/css/styleguide/typography/_typography.scss +1 -1
- package/src/directives/index.js +1 -1
- package/src/enums/WebitelApplications/AdminSections.enum.js +0 -2
- package/src/locale/en/en.js +6 -6
- package/src/locale/es/es.js +5 -5
- package/src/locale/i18n.js +5 -6
- package/src/locale/kz/kz.js +5 -5
- package/src/locale/ru/ru.js +6 -6
- package/src/locale/ua/ua.js +6 -6
- package/src/mixins/dataFilterMixins/__tests__/apiFilterMixin.spec.js +1 -1
- package/src/mixins/dataFilterMixins/__tests__/enumFilterMixin.spec.js +5 -3
- package/src/mixins/dataFilterMixins/__tests__/paginationFilterMixin.spec.js +1 -1
- package/src/mixins/dataFilterMixins/__tests__/sortFilterMixin.spec.js +27 -24
- 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 +3 -2
- package/src/mixins/dataFilterMixins/enumFilterMixin.js +5 -3
- package/src/mixins/dataFilterMixins/paginationFilterMixin.js +1 -1
- package/src/mixins/dataFilterMixins/sortFilterMixin.js +26 -13
- package/src/mixins/validationMixin/__tests__/validationMixin.spec.js +1 -1
- package/src/mixins/validationMixin/useValidation.js +8 -4
- package/src/mixins/validationMixin/validationMixin.js +1 -1
- package/src/modules/AgentStatusSelect/api/pause-cause.js +5 -3
- package/src/modules/AgentStatusSelect/components/__tests__/wt-cc-agent-status-select.spec.js +10 -7
- package/src/modules/AgentStatusSelect/components/__tests__/wt-cc-pause-cause-popup.spec.js +2 -2
- package/src/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue +6 -4
- package/src/modules/AgentStatusSelect/components/_internals/wt-cc-status-select-error-popup.vue +2 -2
- 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 +5 -5
- package/src/modules/Appearance/store/__tests__/AppearanceStoreModule.spec.js +1 -1
- package/src/modules/AuditForm/components/__tests__/audit-form-question-read-wrapper.spec.js +2 -1
- package/src/modules/AuditForm/components/__tests__/audit-form-question-write-wrapper.spec.js +16 -7
- package/src/modules/AuditForm/components/__tests__/audit-form.spec.js +16 -8
- package/src/modules/AuditForm/components/audit-form-question-read-wrapper.vue +8 -7
- package/src/modules/AuditForm/components/audit-form-question-write-wrapper.vue +18 -18
- package/src/modules/AuditForm/components/audit-form-question.vue +3 -2
- package/src/modules/AuditForm/components/audit-form.vue +10 -13
- package/src/modules/AuditForm/components/questions/options/__tests__/audit-form-question-options-write-row.spec.js +3 -2
- package/src/modules/AuditForm/components/questions/options/__tests__/audit-form-question-options.spec.js +4 -2
- package/src/modules/AuditForm/components/questions/options/audit-form-question-options-write-row.vue +5 -5
- package/src/modules/AuditForm/components/questions/options/audit-form-question-options.vue +5 -5
- package/src/modules/AuditForm/components/questions/score/audit-form-question-score.vue +16 -16
- package/src/modules/AuditForm/schemas/AuditFormQuestionSchema.js +1 -1
- package/src/modules/CSVExport/CSVExport.js +8 -6
- package/src/modules/CSVExport/__tests__/CSVExport.spec.js +3 -3
- package/src/modules/CSVExport/mixins/exportCSVMixin.js +5 -4
- 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 +11 -7
- package/src/modules/DeleteConfirmationPopup/components/delete-confirmation-popup.vue +4 -4
- package/src/modules/FilesExport/FilesExport.js +2 -3
- package/src/modules/FilesExport/__tests__/FilesExport.spec.js +18 -6
- package/src/modules/FilesExport/mixins/exportFilesMixin.js +7 -3
- package/src/modules/FilesExport/scripts/generateMediaURL.js +2 -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 +2 -2
- package/src/modules/Filters/components/filter-pagination.vue +1 -1
- package/src/modules/Filters/components/filter-table-fields.vue +0 -2
- package/src/modules/Filters/scripts/getters/index.js +3 -3
- package/src/modules/Filters/scripts/getters/localStorageGetter.js +1 -1
- package/src/modules/Filters/scripts/getters/queryGetter.js +0 -1
- package/src/modules/Filters/scripts/getters/valueGetter.js +1 -1
- 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/localStorageSetter.js +1 -1
- package/src/modules/Filters/scripts/setters/querySetter.js +1 -1
- package/src/modules/Filters/scripts/setters/valueSetter.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/Notifications/store/NotificationsStoreModule.js +17 -15
- package/src/modules/Notifications/store/__tests__/NotificationsStoreModule.actions.spec.js +6 -3
- package/src/modules/Notifications/store/__tests__/NotificationsStoreModule.mutations.spec.js +2 -2
- 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 +3 -3
- package/src/modules/QueryFilters/components/__tests__/abstract-enum-filter.spec.js +3 -3
- package/src/modules/QueryFilters/components/__tests__/filter-datetime.spec.js +5 -4
- package/src/modules/QueryFilters/components/__tests__/filter-from-to.spec.js +3 -3
- package/src/modules/QueryFilters/components/__tests__/filter-search.spec.js +7 -5
- package/src/modules/QueryFilters/components/abstract-api-filter.vue +6 -6
- package/src/modules/QueryFilters/components/abstract-enum-filter.vue +7 -7
- package/src/modules/QueryFilters/components/filter-datetime.vue +2 -2
- package/src/modules/QueryFilters/components/filter-from-to.vue +8 -8
- package/src/modules/QueryFilters/components/filter-search.vue +2 -2
- package/src/modules/QueryFilters/components/filter-table-fields.vue +1 -1
- package/src/modules/QueryFilters/mixins/__tests__/apiFilterMixin.spec.js +7 -3
- package/src/modules/QueryFilters/mixins/__tests__/enumFilterMixin.spec.js +18 -11
- package/src/modules/QueryFilters/mixins/__tests__/sortFilterMixin.spec.js +27 -23
- package/src/modules/QueryFilters/mixins/__tests__/urlControllerMixin.spec.js +1 -1
- package/src/modules/QueryFilters/mixins/apiFilterMixin.js +5 -2
- package/src/modules/QueryFilters/mixins/baseFilterMixin/baseFilterMixin.js +2 -2
- package/src/modules/QueryFilters/mixins/enumFilterMixin.js +13 -11
- package/src/modules/QueryFilters/mixins/paginationFilterMixin.js +5 -3
- package/src/modules/QueryFilters/mixins/sortFilterMixin.js +18 -7
- package/src/modules/QueryFilters/store/QueryFiltersStoreModule.js +2 -2
- package/src/modules/QueryFilters/store/__tests__/QueryFiltersStoreModule.spec.js +17 -9
- package/src/modules/QueryFilters/store/queryFilters.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 +6 -5
- package/src/modules/Userinfo/api/userinfo.js +2 -2
- package/src/modules/Userinfo/classes/ApplicationsAccess.js +18 -13
- package/src/modules/Userinfo/store/UserinfoStoreModule.js +28 -15
- package/src/plugins/breakpoint/breakpoint.plugin.js +1 -2
- package/src/scripts/__tests__/caseConverters.spec.js +6 -3
- 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 +2 -1
- package/src/scripts/__tests__/sortQueryAdapters.spec.js +1 -1
- package/src/scripts/__tests__/updateObject.spec.js +5 -3
- package/src/scripts/caseConverters.js +34 -28
- package/src/scripts/debounce.js +5 -1
- package/src/scripts/preventHiddenPageCallsDecorator.js +4 -2
- package/src/scripts/sortQueryAdapters.js +12 -6
- package/src/scripts/updateObject.js +1 -1
- package/src/store/BaseStoreModules/ApiStoreModule.js +1 -1
- package/src/store/BaseStoreModules/BaseStoreModule.js +16 -4
- package/src/store/BaseStoreModules/__tests__/BaseStoreModule.spec.js +27 -23
- package/src/store/ReactiveNowStoreModule/ReactiveNowStoreModule.js +1 -1
- package/src/store/helpers/__tests__/getNamespacedState.spec.js +1 -1
- package/src/store/helpers/getNamespacedState.js +2 -1
- package/src/tests/mocks/axiosMock.js +16 -16
- package/src/validators/decimalValidator.js +3 -2
- package/src/validators/variableSearchValidator/__tests__/variableSearchValidator.spec.js +2 -2
- package/src/validators/websocketValidator/__tests__/websocketValidator.spec.js +3 -2
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
|
-
class="wt-checkbox"
|
|
4
3
|
:class="{
|
|
5
4
|
'wt-checkbox--active': isChecked,
|
|
6
5
|
'wt-checkbox--disabled': disabled,
|
|
7
6
|
}"
|
|
7
|
+
class="wt-checkbox"
|
|
8
8
|
>
|
|
9
9
|
<wt-label
|
|
10
|
-
v-bind="labelProps"
|
|
11
10
|
:disabled="disabled"
|
|
12
11
|
class="wt-checkbox__wrapper"
|
|
12
|
+
v-bind="labelProps"
|
|
13
13
|
>
|
|
14
14
|
<input
|
|
15
|
-
class="wt-checkbox__input"
|
|
16
|
-
type="checkbox"
|
|
17
|
-
:value="value"
|
|
18
15
|
:checked="isChecked"
|
|
19
16
|
:disabled="disabled"
|
|
17
|
+
:value="value"
|
|
18
|
+
class="wt-checkbox__input"
|
|
19
|
+
type="checkbox"
|
|
20
20
|
@change="inputHandler"
|
|
21
21
|
>
|
|
22
22
|
<span class="wt-checkbox__checkmark">
|
|
23
23
|
<wt-icon
|
|
24
|
-
:icon="checkboxIcon"
|
|
25
24
|
:color="iconColor"
|
|
25
|
+
:icon="checkboxIcon"
|
|
26
26
|
/>
|
|
27
27
|
</span>
|
|
28
28
|
<!-- @slot Custom label markup -->
|
|
29
29
|
<slot
|
|
30
|
-
v-bind="{ label, isChecked, disabled }"
|
|
31
30
|
name="label"
|
|
31
|
+
v-bind="{ label, isChecked, disabled }"
|
|
32
32
|
>
|
|
33
33
|
<div
|
|
34
34
|
v-if="label"
|
|
@@ -133,8 +133,8 @@ export default {
|
|
|
133
133
|
|
|
134
134
|
.wt-checkbox__label {
|
|
135
135
|
margin-left: var(--checkbox-icon-margin);
|
|
136
|
-
transition: var(--transition);
|
|
137
136
|
cursor: pointer;
|
|
137
|
+
transition: var(--transition);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
/* Hide the browser's default checkbox */
|
|
@@ -142,8 +142,8 @@ export default {
|
|
|
142
142
|
position: absolute;
|
|
143
143
|
width: 0;
|
|
144
144
|
height: 0;
|
|
145
|
-
opacity: 0;
|
|
146
145
|
pointer-events: none;
|
|
146
|
+
opacity: 0;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
.wt-checkbox:hover {
|
|
@@ -8,37 +8,37 @@
|
|
|
8
8
|
background: var(--wt-chip-main-background-color);
|
|
9
9
|
|
|
10
10
|
&--main-color {
|
|
11
|
-
background: var(--wt-chip-main-background-color);
|
|
12
11
|
color: var(--wt-chip-main-text-color);
|
|
12
|
+
background: var(--wt-chip-main-background-color);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
&--primary-color {
|
|
16
|
-
background: var(--wt-chip-primary-background-color);
|
|
17
16
|
color: var(--wt-chip-primary-text-color);
|
|
17
|
+
background: var(--wt-chip-primary-background-color);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
&--secondary-color {
|
|
21
|
-
background: var(--wt-chip-secondary-background-color);
|
|
22
21
|
color: var(--wt-chip-secondary-text-color);
|
|
22
|
+
background: var(--wt-chip-secondary-background-color);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
&--success-color {
|
|
26
|
-
background: var(--wt-chip-success-background-color);
|
|
27
26
|
color: var(--wt-chip-success-text-color);
|
|
27
|
+
background: var(--wt-chip-success-background-color);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
&--warning-color {
|
|
31
|
-
background: var(--wt-chip-warning-background-color);
|
|
32
31
|
color: var(--wt-chip-warning-text-color);
|
|
32
|
+
background: var(--wt-chip-warning-background-color);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
&--error-color {
|
|
36
|
-
background: var(--wt-chip-error-background-color);
|
|
37
36
|
color: var(--wt-chip-error-text-color);
|
|
37
|
+
background: var(--wt-chip-error-background-color);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
&--transfer-color {
|
|
41
|
-
background: var(--wt-chip-transfer-background-color);
|
|
42
41
|
color: var(--wt-chip-transfer-text-color);
|
|
42
|
+
background: var(--wt-chip-transfer-background-color);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<wt-tooltip
|
|
3
|
-
class="wt-context-menu"
|
|
4
|
-
:visible="visible"
|
|
5
3
|
:triggers="['click', 'touch']"
|
|
4
|
+
:visible="visible"
|
|
5
|
+
class="wt-context-menu"
|
|
6
6
|
placement="bottom-end"
|
|
7
7
|
popper-class="wt-context-menu__floating-wrapper"
|
|
8
8
|
>
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
</template>
|
|
12
12
|
<template #default="{ hide }">
|
|
13
13
|
<ul
|
|
14
|
-
class="wt-context-menu__menu"
|
|
15
14
|
:style="`width: ${width}; min-width: ${minWidth}; max-width: ${maxWidth};`"
|
|
15
|
+
class="wt-context-menu__menu"
|
|
16
16
|
>
|
|
17
17
|
<li
|
|
18
18
|
v-for="(option, index) of options"
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
@click.prevent="handleOptionClick({ option, index, hide })"
|
|
30
30
|
>
|
|
31
31
|
<slot
|
|
32
|
-
v-bind="option"
|
|
33
32
|
name="option"
|
|
33
|
+
v-bind="option"
|
|
34
34
|
>
|
|
35
35
|
{{ option.text || option }}
|
|
36
36
|
</slot>
|
|
@@ -92,11 +92,11 @@ function handleOptionClick({ option, index, hide }) {
|
|
|
92
92
|
|
|
93
93
|
.wt-context-menu__menu {
|
|
94
94
|
@extend %typo-body-2;
|
|
95
|
-
|
|
95
|
+
z-index: 1;
|
|
96
|
+
transition: var(--transition);
|
|
96
97
|
border-radius: var(--border-radius);
|
|
98
|
+
background-color: var(--wt-context-menu-background-color);
|
|
97
99
|
box-shadow: var(--box-shadow);
|
|
98
|
-
transition: var(--transition);
|
|
99
|
-
z-index: 1;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.wt-context-menu__option-wrapper {
|
|
@@ -117,8 +117,8 @@ function handleOptionClick({ option, index, hide }) {
|
|
|
117
117
|
display: block;
|
|
118
118
|
padding: var(--wt-context-menu-option-padding);
|
|
119
119
|
cursor: pointer;
|
|
120
|
-
color: var(--wt-context-menu-option-text-color);
|
|
121
120
|
transition: var(--transition);
|
|
121
|
+
color: var(--wt-context-menu-option-text-color);
|
|
122
122
|
|
|
123
123
|
&:hover {
|
|
124
124
|
background-color: var(--wt-context-menu-option-background-hover-color);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import WtDatepicker from '../wt-datepicker.vue';
|
|
3
|
-
import WtLabel from '../../wt-label/wt-label.vue';
|
|
1
|
+
import { mount, shallowMount } from '@vue/test-utils';
|
|
4
2
|
import WtIcon from '../../wt-icon/wt-icon.vue';
|
|
3
|
+
import WtLabel from '../../wt-label/wt-label.vue';
|
|
4
|
+
import WtDatepicker from '../wt-datepicker.vue';
|
|
5
5
|
|
|
6
6
|
describe('WtDatepicker', () => {
|
|
7
7
|
it('renders a component', () => {
|
|
@@ -6,27 +6,27 @@
|
|
|
6
6
|
class="wt-datepicker"
|
|
7
7
|
>
|
|
8
8
|
<wt-label
|
|
9
|
-
v-bind="labelProps"
|
|
10
9
|
:disabled="disabled"
|
|
10
|
+
v-bind="labelProps"
|
|
11
11
|
>
|
|
12
12
|
<!-- @slot Custom input label -->
|
|
13
13
|
<slot
|
|
14
|
-
v-bind="{ label }"
|
|
15
14
|
name="label"
|
|
15
|
+
v-bind="{ label }"
|
|
16
16
|
>
|
|
17
17
|
{{ label }}
|
|
18
18
|
</slot>
|
|
19
19
|
</wt-label>
|
|
20
20
|
<vue-datepicker
|
|
21
|
-
v-bind="{ ...$attrs, ...$props }"
|
|
22
21
|
ref="datepicker"
|
|
22
|
+
:close-on-auto-apply="false"
|
|
23
|
+
:format="isDateTime ? 'dd/MM/yyyy HH:mm' : 'dd/MM/yyyy'"
|
|
23
24
|
:locale="$i18n.locale === 'ua' ? 'uk' : $i18n.locale"
|
|
24
25
|
:model-value="+value"
|
|
25
26
|
:placeholder="label || placeholder"
|
|
26
|
-
class="wt-datepicker__datepicker"
|
|
27
|
-
:format="isDateTime ? 'dd/MM/yyyy HH:mm' : 'dd/MM/yyyy'"
|
|
28
|
-
:close-on-auto-apply="false"
|
|
29
27
|
auto-apply
|
|
28
|
+
class="wt-datepicker__datepicker"
|
|
29
|
+
v-bind="{ ...$attrs, ...$props }"
|
|
30
30
|
@closed="isOpened = false"
|
|
31
31
|
@open="isOpened = true"
|
|
32
32
|
@update:model-value="emit('input', $event.getTime())"
|
|
@@ -172,8 +172,8 @@ const isDateTime = props.mode === 'datetime';
|
|
|
172
172
|
|
|
173
173
|
.dp__menu {
|
|
174
174
|
box-sizing: border-box;
|
|
175
|
-
min-width: 196px;
|
|
176
175
|
width: 196px;
|
|
176
|
+
min-width: 196px;
|
|
177
177
|
padding: var(--spacing-xs);
|
|
178
178
|
border-radius: var(--border-radius);
|
|
179
179
|
box-shadow: var(--elevation-10);
|
|
@@ -224,8 +224,8 @@ const isDateTime = props.mode === 'datetime';
|
|
|
224
224
|
.datepicker__timepicker {
|
|
225
225
|
display: flex;
|
|
226
226
|
align-items: center;
|
|
227
|
-
gap: var(--spacing-xs);
|
|
228
227
|
margin-top: var(--spacing-xs);
|
|
228
|
+
gap: var(--spacing-xs);
|
|
229
229
|
|
|
230
230
|
.wt-time-input {
|
|
231
231
|
flex-grow: 1;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
<section class="wt-error-page">
|
|
3
3
|
<article class="wt-error-page__wrapper">
|
|
4
4
|
<img
|
|
5
|
-
class="wt-error-page__img"
|
|
6
|
-
:src="errorPic.src"
|
|
7
5
|
:alt="errorPic.alt"
|
|
6
|
+
:src="errorPic.src"
|
|
7
|
+
class="wt-error-page__img"
|
|
8
8
|
>
|
|
9
9
|
<h2
|
|
10
10
|
class="wt-error-page__title"
|
|
@@ -74,10 +74,10 @@ export default {
|
|
|
74
74
|
|
|
75
75
|
<style lang="scss" scoped>
|
|
76
76
|
.wt-error-page {
|
|
77
|
-
box-sizing: border-box;
|
|
78
77
|
display: flex;
|
|
79
78
|
align-items: center;
|
|
80
79
|
justify-content: center;
|
|
80
|
+
box-sizing: border-box;
|
|
81
81
|
min-width: 100vw;
|
|
82
82
|
min-height: 100vh;
|
|
83
83
|
padding: 90px;
|
|
@@ -89,14 +89,14 @@ export default {
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
&__img {
|
|
92
|
-
max-width: 65vw;
|
|
93
92
|
width: 778px;
|
|
93
|
+
max-width: 65vw;
|
|
94
94
|
user-select: none;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
&__title {
|
|
98
|
-
text-transform: uppercase;
|
|
99
98
|
margin-top: 69px;
|
|
99
|
+
text-transform: uppercase;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
&__text {
|
|
@@ -15,10 +15,12 @@ describe('Filters Panel Wrapper', () => {
|
|
|
15
15
|
it(`toggles "filters-panel-wrapper--opened" class at
|
|
16
16
|
wt-table-actions "settings" event`, async () => {
|
|
17
17
|
const wrapper = shallowMount(FiltersPanelWrapper);
|
|
18
|
-
expect(wrapper.classes().includes('filters-panel-wrapper--opened'))
|
|
18
|
+
expect(wrapper.classes().includes('filters-panel-wrapper--opened'))
|
|
19
|
+
.toBe(false);
|
|
19
20
|
wrapper.findComponent({ name: 'wt-table-actions' })
|
|
20
21
|
.vm.$emit('input', 'settings');
|
|
21
22
|
await wrapper.vm.$nextTick();
|
|
22
|
-
expect(wrapper.classes().includes('filters-panel-wrapper--opened'))
|
|
23
|
+
expect(wrapper.classes().includes('filters-panel-wrapper--opened'))
|
|
24
|
+
.toBe(true);
|
|
23
25
|
});
|
|
24
26
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<article
|
|
3
|
-
class="filters-panel-wrapper"
|
|
4
3
|
:class="{ 'filters-panel-wrapper--opened': isOpened }"
|
|
4
|
+
class="filters-panel-wrapper"
|
|
5
5
|
>
|
|
6
6
|
<div class="filters-wrap">
|
|
7
7
|
<slot />
|
|
@@ -56,9 +56,9 @@ $actions-width: calc(2 * (var(--icon-md-size) + var(--table-actions-icon-gap)));
|
|
|
56
56
|
|
|
57
57
|
.actions-wrap {
|
|
58
58
|
display: flex;
|
|
59
|
-
margin-left: auto;
|
|
60
|
-
margin-top: 24px;
|
|
61
59
|
flex: 0 0 $actions-width;
|
|
60
|
+
margin-top: 24px;
|
|
61
|
+
margin-left: auto;
|
|
62
62
|
|
|
63
63
|
.wt-table-actions {
|
|
64
64
|
height: fit-content;
|
|
@@ -29,12 +29,12 @@ export default {
|
|
|
29
29
|
.wt-headline {
|
|
30
30
|
display: flex;
|
|
31
31
|
align-items: center;
|
|
32
|
-
justify-content: space-between;
|
|
33
32
|
flex-wrap: wrap;
|
|
34
|
-
|
|
33
|
+
justify-content: space-between;
|
|
35
34
|
box-sizing: border-box;
|
|
36
|
-
|
|
35
|
+
min-height: var(--headline-min-height);
|
|
37
36
|
border-radius: var(--border-radius);
|
|
37
|
+
background: var(--wt-headline-background-color);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.wt-headline__title {
|
|
@@ -43,8 +43,8 @@ export default {
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
.wt-headline__actions-wrapper {
|
|
46
|
+
position: relative;
|
|
46
47
|
display: flex;
|
|
47
48
|
align-items: center;
|
|
48
|
-
position: relative;
|
|
49
49
|
}
|
|
50
50
|
</style>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<i
|
|
3
|
-
class="wt-icon"
|
|
4
3
|
:class="[
|
|
5
4
|
`wt-icon--size-${size}`,
|
|
6
5
|
`wt-icon--color-${color}`,
|
|
7
6
|
{ 'wt-icon--disabled': disabled },
|
|
8
7
|
]"
|
|
8
|
+
class="wt-icon"
|
|
9
9
|
>
|
|
10
10
|
<svg class="wt-icon__icon">
|
|
11
11
|
<use :xlink:href="iconName" />
|
|
@@ -69,8 +69,8 @@ const iconName = computed(() => {
|
|
|
69
69
|
<style lang="scss" scoped>
|
|
70
70
|
.wt-icon {
|
|
71
71
|
display: inline-flex;
|
|
72
|
-
justify-content: center;
|
|
73
72
|
align-items: center;
|
|
73
|
+
justify-content: center;
|
|
74
74
|
transition: var(--transition);
|
|
75
75
|
}
|
|
76
76
|
|
|
@@ -79,51 +79,64 @@ svg {
|
|
|
79
79
|
display: block;
|
|
80
80
|
width: 100%;
|
|
81
81
|
height: 100%;
|
|
82
|
+
transition: var(--transition);
|
|
82
83
|
stroke-width: 0;
|
|
83
84
|
fill: var(--icon-color);
|
|
84
|
-
transition: var(--transition);
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.wt-icon--color {
|
|
88
88
|
&-default .wt-icon__icon {
|
|
89
89
|
fill: var(--icon-color);
|
|
90
90
|
}
|
|
91
|
+
|
|
91
92
|
&-active .wt-icon__icon {
|
|
92
93
|
fill: var(--icon-active-color);
|
|
93
94
|
}
|
|
95
|
+
|
|
94
96
|
&-primary .wt-icon__icon {
|
|
95
97
|
fill: var(--icon-primary-color);
|
|
96
98
|
}
|
|
99
|
+
|
|
97
100
|
&-error .wt-icon__icon {
|
|
98
101
|
fill: var(--icon-error-color);
|
|
99
102
|
}
|
|
103
|
+
|
|
100
104
|
&-success .wt-icon__icon {
|
|
101
105
|
fill: var(--icon-success-color);
|
|
102
106
|
}
|
|
107
|
+
|
|
103
108
|
&-warning .wt-icon__icon {
|
|
104
109
|
fill: var(--icon-warning-color);
|
|
105
110
|
}
|
|
111
|
+
|
|
106
112
|
&-on-dark .wt-icon__icon {
|
|
107
113
|
fill: var(--icon-on-dark-color);
|
|
108
114
|
}
|
|
115
|
+
|
|
109
116
|
&-on-light .wt-icon__icon {
|
|
110
117
|
fill: var(--icon-on-light-color);
|
|
111
118
|
}
|
|
119
|
+
|
|
112
120
|
&-on-primary .wt-icon__icon {
|
|
113
121
|
fill: var(--icon-on-primary-color);
|
|
114
122
|
}
|
|
123
|
+
|
|
115
124
|
&-info .wt-icon__icon {
|
|
116
125
|
fill: var(--icon-info-color);
|
|
117
126
|
}
|
|
127
|
+
|
|
118
128
|
&-chat .wt-icon__icon {
|
|
119
129
|
fill: var(--icon-chat-color);
|
|
120
130
|
}
|
|
131
|
+
|
|
121
132
|
&-transfer .wt-icon__icon {
|
|
122
133
|
fill: var(--icon-transfer-color);
|
|
123
134
|
}
|
|
135
|
+
|
|
124
136
|
&-job .wt-icon__icon {
|
|
125
137
|
fill: var(--icon-job-color);
|
|
126
138
|
}
|
|
139
|
+
|
|
127
140
|
&-disabled .wt-icon__icon {
|
|
128
141
|
fill: var(--icon-disabled-color);
|
|
129
142
|
}
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
|
|
9
9
|
<script setup>
|
|
10
10
|
import { computed } from 'vue';
|
|
11
|
+
import WtAddIconAction from './_internals/wt-add-icon-action.vue';
|
|
11
12
|
import WtDeleteIconAction from './_internals/wt-delete-icon-action.vue';
|
|
13
|
+
import WtDownloadIconAction from './_internals/wt-download-icon-action.vue';
|
|
12
14
|
import WtEditIconAction from './_internals/wt-edit-icon-action.vue';
|
|
13
|
-
import WtAddIconAction from './_internals/wt-add-icon-action.vue';
|
|
14
15
|
import WtHistoryIconAction from './_internals/wt-history-icon-action.vue';
|
|
15
|
-
import WtDownloadIconAction from './_internals/wt-download-icon-action.vue';
|
|
16
16
|
import WtRefreshIconAction from './_internals/wt-refresh-icon-action.vue';
|
|
17
17
|
|
|
18
18
|
const props = defineProps({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<button
|
|
3
|
-
class="wt-icon-btn"
|
|
4
3
|
:class="{ 'wt-icon-btn--disabled': disabled }"
|
|
4
|
+
class="wt-icon-btn"
|
|
5
5
|
type="button"
|
|
6
|
-
@mousedown="emit('mousedown', $event)"
|
|
7
6
|
@click="emit('click', $event)"
|
|
7
|
+
@mousedown="emit('mousedown', $event)"
|
|
8
8
|
>
|
|
9
|
-
<!-- prevent icon-btn classes to fall to wt-icon -->
|
|
9
|
+
<!-- prevent icon-btn classes to fall to wt-icon -->
|
|
10
10
|
<wt-icon
|
|
11
|
-
v-bind="{ ...$attrs, class: '' }"
|
|
12
11
|
:disabled="disabled"
|
|
12
|
+
v-bind="{ ...$attrs, class: '' }"
|
|
13
13
|
/>
|
|
14
14
|
</button>
|
|
15
15
|
</template>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
|
-
class="wt-indicator"
|
|
4
3
|
:class="[
|
|
5
4
|
`wt-indicator--size-${size}`
|
|
6
5
|
]"
|
|
6
|
+
class="wt-indicator"
|
|
7
7
|
>
|
|
8
8
|
<span
|
|
9
|
-
class="wt-indicator__indicator"
|
|
10
9
|
:class="[
|
|
11
10
|
`wt-indicator__indicator--${color}`,
|
|
12
11
|
]"
|
|
12
|
+
class="wt-indicator__indicator"
|
|
13
13
|
/>
|
|
14
14
|
<div
|
|
15
15
|
v-if="isText"
|
|
@@ -68,8 +68,8 @@ export default {
|
|
|
68
68
|
min-width: var(--wt-indicator-dot-size);
|
|
69
69
|
height: var(--wt-indicator-dot-size);
|
|
70
70
|
margin: var(--wt-indicator-dot-offset);
|
|
71
|
-
background: var(--wt-indicator-disabled-color);
|
|
72
71
|
border-radius: 50%;
|
|
72
|
+
background: var(--wt-indicator-disabled-color);
|
|
73
73
|
|
|
74
74
|
&--primary {
|
|
75
75
|
background: var(--wt-indicator-primary-color);
|
|
@@ -110,15 +110,18 @@ export default {
|
|
|
110
110
|
min-width: var(--wt-indicator-dot-size--size-sm);
|
|
111
111
|
height: var(--wt-indicator-dot-size--size-sm);
|
|
112
112
|
}
|
|
113
|
+
|
|
113
114
|
.wt-indicator__text {
|
|
114
115
|
@extend %typo-caption;
|
|
115
116
|
}
|
|
116
117
|
}
|
|
118
|
+
|
|
117
119
|
&-md {
|
|
118
120
|
.wt-indicator__indicator {
|
|
119
121
|
min-width: var(--wt-indicator-dot-size--size-md);
|
|
120
122
|
height: var(--wt-indicator-dot-size--size-md);
|
|
121
123
|
}
|
|
124
|
+
|
|
122
125
|
.wt-indicator__text {
|
|
123
126
|
@extend %typo-body-1;
|
|
124
127
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import WtInput from '../wt-input.vue';
|
|
1
|
+
import { mount, shallowMount } from '@vue/test-utils';
|
|
3
2
|
import WtLabel from '../../wt-label/wt-label.vue';
|
|
3
|
+
import WtInput from '../wt-input.vue';
|
|
4
4
|
|
|
5
5
|
describe('WtInput', () => {
|
|
6
6
|
it('renders a component', () => {
|