@webitel/ui-sdk 0.1.3-vue3 → 0.1.4-vite
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/README.md +1 -1
- package/dist/img/sprite/arrow-mix.svg +5 -0
- package/dist/img/sprite/azure.svg +19 -0
- package/dist/img/sprite/email.svg +3 -0
- package/dist/img/sprite/index.js +1 -1
- package/dist/img/sprite/meta.svg +17 -0
- package/dist/img/sprite/options.svg +5 -0
- package/dist/img/sprite/role.svg +3 -0
- package/dist/img/sprite/scorecard.svg +4 -0
- package/dist/img/sprite/user.svg +3 -0
- package/dist/ui-sdk.common.js +36397 -11631
- package/dist/ui-sdk.common.js.map +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.umd.js +36402 -11636
- package/dist/ui-sdk.umd.js.map +1 -1
- package/dist/ui-sdk.umd.min.js +27 -4
- package/dist/ui-sdk.umd.min.js.map +1 -1
- package/package.json +24 -8
- package/src/api/axios/generateInstance.js +25 -0
- package/src/api/defaults/getDefaultGetListResponse/getDefaultGetListResponse.js +6 -0
- package/src/api/defaults/getDefaultGetParams/getDefaultGetParams.js +9 -0
- package/src/api/defaults/index.js +7 -0
- package/src/api/interceptors/request/updateToken.interceptor.js +10 -0
- package/src/api/interceptors/response/handleUnauthorized.interceptor.js +12 -0
- package/src/api/transformers/applyTransform.js +8 -0
- package/src/api/transformers/camelToSnake/camelToSnake.transformer.js +4 -0
- package/src/api/transformers/generateUrl/generateUrl.transformer.js +13 -0
- package/src/api/transformers/index.js +23 -0
- package/src/api/transformers/log/log.transformer.js +6 -0
- package/src/api/transformers/merge/merge.transformer.js +5 -0
- package/src/api/transformers/mergeEach/mergeEach.transformer.js +8 -0
- package/src/api/transformers/notify/notify.transformer.js +32 -0
- package/src/api/transformers/sanitize/sanitize.transformer.js +12 -0
- package/src/api/transformers/snakeToCamel/snakeToCamel.transformer.js +4 -0
- package/src/api/transformers/starToSearch/starToSearch.transformer.js +12 -0
- package/src/components/index.js +63 -55
- package/src/components/on-demand/wt-cc-agent-status-timers/__tests__/wt-cc-agent-status-timers.spec.js +25 -0
- package/src/components/on-demand/wt-cc-agent-status-timers/wt-cc-agent-status-timers.vue +48 -0
- package/src/components/transitions/wt-expand-transition.vue +41 -39
- package/src/components/{organisms/wt-app-header → wt-app-header}/__tests__/WtAppNavigator.spec.js +2 -2
- package/src/components/{organisms/wt-app-header → wt-app-header}/__tests__/WtHeaderActions.spec.js +1 -1
- package/src/{css/components/organisms → components}/wt-app-header/_variables.scss +3 -2
- package/src/components/wt-app-header/wt-app-header.vue +29 -0
- package/src/components/{organisms/wt-app-header → wt-app-header}/wt-app-navigator.vue +69 -40
- package/src/components/wt-avatar/_variables.scss +32 -0
- package/src/components/wt-avatar/wt-avatar.vue +187 -0
- package/src/components/{atoms/wt-badge → wt-badge}/wt-badge.vue +20 -13
- package/src/components/wt-button/Readme.md +23 -0
- package/src/components/{atoms/wt-button → wt-button}/__tests__/WtButton.spec.js +1 -1
- package/src/components/wt-button/_variables.scss +41 -0
- package/src/components/wt-button/wt-button.vue +205 -0
- package/src/components/wt-button-select/Readme.md +13 -0
- package/src/components/{molecules/wt-button-select → wt-button-select}/__tests__/WtButtonSelect.spec.js +16 -5
- package/src/components/wt-button-select/_variables.scss +7 -0
- package/src/components/wt-button-select/wt-button-select.vue +130 -0
- package/src/components/{molecules/wt-checkbox → wt-checkbox}/__tests__/WtCheckbox.spec.js +6 -6
- package/src/components/wt-checkbox/wt-checkbox.vue +191 -0
- package/src/{css/components/atoms → components}/wt-chip/wt-chip.scss +1 -1
- package/src/components/wt-chip/wt-chip.vue +24 -0
- package/src/components/{atoms/wt-context-menu → wt-context-menu}/__tests__/WtContextMenu.spec.js +1 -1
- package/src/{css/components/atoms → components}/wt-context-menu/_variables.scss +2 -0
- package/src/components/{atoms/wt-context-menu → wt-context-menu}/wt-context-menu.vue +68 -42
- package/src/components/{molecules/wt-datepicker → wt-datepicker}/__tests__/WtDatepicker.spec.js +4 -4
- package/src/components/wt-datepicker/_variables.scss +56 -0
- package/src/components/wt-datepicker/wt-datepicker.vue +240 -0
- package/src/components/wt-divider/wt-divider.vue +30 -0
- package/src/components/wt-dummy/__tests__/WtDummy.spec.js +9 -0
- package/src/components/wt-dummy/wt-dummy.vue +73 -0
- package/src/components/{organisms/wt-error-page → wt-error-page}/__tests__/wt-error-page.spec.js +3 -3
- package/src/components/{organisms/wt-error-page → wt-error-page}/wt-error-page.vue +2 -2
- package/src/components/wt-expansion-panel/__tests__/WtExpansionPanel.spec.js +9 -0
- package/src/components/wt-expansion-panel/wt-expansion-panel.vue +67 -0
- package/src/components/{organisms/wt-filters-panel-wrapper → wt-filters-panel-wrapper}/wt-filters-panel-wrapper.vue +6 -6
- package/src/components/{organisms/wt-headline → wt-headline}/wt-headline.vue +5 -0
- package/src/components/wt-headline-nav/Readme.md +9 -0
- package/src/components/{organisms/wt-headline-nav → wt-headline-nav}/__tests__/wt-headline-nav.spec.js +1 -1
- package/src/components/wt-headline-nav/_variables.scss +8 -0
- package/src/components/{organisms/wt-headline-nav → wt-headline-nav}/wt-headline-nav.vue +41 -29
- package/src/components/{molecules/wt-hint → wt-hint}/wt-hint.vue +7 -1
- package/src/components/wt-icon/Readme.md +327 -0
- package/src/components/{atoms/wt-icon → wt-icon}/__tests__/WtIcon.spec.js +2 -2
- package/src/components/wt-icon/_variables.scss +31 -0
- package/src/components/wt-icon/docs/cleanup-svg-fill-none.png +0 -0
- package/src/components/wt-icon/docs/cleanup-svg-fill.png +0 -0
- package/src/components/wt-icon/docs/cleanup-svg-viewbox-correct.png +0 -0
- package/src/components/wt-icon/docs/cleanup-svg-viewbox-incorrect.png +0 -0
- package/src/components/wt-icon/docs/cleanup-svg-width-height.png +0 -0
- package/src/components/wt-icon/docs/svg-icon-code-example.png +0 -0
- package/src/components/wt-icon/docs/svg-sprite-in-dom.png +0 -0
- package/src/components/wt-icon/wt-icon.vue +172 -0
- package/src/components/wt-icon-action/__tests__/WtIconAction.spec.js +9 -0
- package/src/components/wt-icon-action/_internals/__tests__/WtAddIconAction.spec.js +9 -0
- package/src/components/wt-icon-action/_internals/__tests__/WtDeleteIconAction.spec.js +9 -0
- package/src/components/wt-icon-action/_internals/__tests__/WtDownloadIconAction.spec.js +9 -0
- package/src/components/wt-icon-action/_internals/__tests__/WtEditIconAction.spec.js +9 -0
- package/src/components/wt-icon-action/_internals/__tests__/WtHistoryIconAction.spec.js +9 -0
- package/src/components/wt-icon-action/_internals/__tests__/WtRefreshIconAction.spec.js +9 -0
- package/src/components/wt-icon-action/_internals/wt-add-icon-action.vue +27 -0
- package/src/components/wt-icon-action/_internals/wt-delete-icon-action.vue +27 -0
- package/src/components/wt-icon-action/_internals/wt-download-icon-action.vue +27 -0
- package/src/components/wt-icon-action/_internals/wt-edit-icon-action.vue +27 -0
- package/src/components/wt-icon-action/_internals/wt-history-icon-action.vue +27 -0
- package/src/components/wt-icon-action/_internals/wt-refresh-icon-action.vue +27 -0
- package/src/components/wt-icon-action/wt-icon-action.vue +54 -0
- package/src/components/wt-icon-btn/Readme.md +10 -0
- package/src/components/{molecules/wt-icon-btn → wt-icon-btn}/__tests__/WtIconBtn.spec.js +2 -2
- package/src/components/wt-icon-btn/_variables.scss +9 -0
- package/src/components/wt-icon-btn/wt-icon-btn.vue +47 -0
- package/src/components/{atoms/wt-indicator → wt-indicator}/__tests__/WtIndicator.spec.js +2 -2
- package/src/{css/components/atoms → components}/wt-indicator/_variables.scss +3 -3
- package/src/components/{atoms/wt-indicator → wt-indicator}/wt-indicator.vue +5 -0
- package/src/components/{molecules/wt-input → wt-input}/__tests__/WtInput.spec.js +3 -3
- package/src/components/{molecules/wt-input → wt-input}/wt-input.vue +40 -20
- package/src/{css/components/atoms → components}/wt-input-info/_variables.scss +2 -2
- package/src/components/wt-input-info/wt-input-info.vue +40 -0
- package/src/components/wt-item-link/__tests__/WtItemLink.spec.js +9 -0
- package/src/components/wt-item-link/wt-item-link.vue +57 -0
- package/src/components/{molecules/wt-label → wt-label}/wt-label.vue +5 -0
- package/src/components/{molecules/wt-load-bar → wt-load-bar}/wt-load-bar.vue +7 -2
- package/src/{css/components/atoms → components}/wt-loader/_variables.scss +2 -2
- package/src/components/{atoms/wt-loader → wt-loader}/wt-loader.vue +22 -17
- package/src/components/{organisms/wt-navigation-bar → wt-navigation-bar}/__tests__/WtNavigationBar.spec.js +22 -18
- package/src/components/{organisms/wt-navigation-bar → wt-navigation-bar}/wt-navigation-bar.vue +27 -16
- package/src/components/{molecules/wt-notification → wt-notification}/__tests__/WtNotification.spec.js +1 -1
- package/src/components/wt-notification/wt-notification.vue +86 -0
- package/src/components/{organisms/wt-notifications-bar → wt-notifications-bar}/__tests__/WtNotificationsBar.spec.js +6 -6
- package/src/components/wt-notifications-bar/wt-notifications-bar.vue +78 -0
- package/src/components/wt-page-header/__tests__/wt-page-header.spec.js +9 -0
- package/src/components/wt-page-header/wt-page-header.vue +83 -0
- package/src/components/{organisms/wt-page-wrapper → wt-page-wrapper}/wt-page-wrapper.vue +6 -0
- package/src/components/{organisms/wt-pagination → wt-pagination}/__tests__/WtPagination.spec.js +2 -1
- package/src/components/{organisms/wt-pagination → wt-pagination}/wt-pagination.vue +7 -1
- package/src/{css/components/organisms → components}/wt-player/_variables.scss +1 -1
- package/src/components/{organisms/wt-player → wt-player}/wt-player.vue +10 -5
- package/src/components/{molecules/wt-popup → wt-popup}/wt-popup.vue +5 -0
- package/src/components/{molecules/wt-progress-bar → wt-progress-bar}/__tests__/WtProgressBar.spec.js +2 -2
- package/src/{css/components/molecules → components}/wt-progress-bar/_variables.scss +2 -2
- package/src/components/{molecules/wt-progress-bar → wt-progress-bar}/wt-progress-bar.vue +13 -3
- package/src/components/{molecules/wt-radio → wt-radio}/__tests__/WtRadio.spec.js +6 -6
- package/src/components/wt-radio/wt-radio.vue +180 -0
- package/src/components/wt-rounded-action/Readme.md +68 -0
- package/src/components/{atoms/wt-rounded-action → wt-rounded-action}/__tests__/WtRoundedAction.spec.js +1 -1
- package/src/components/wt-rounded-action/_variables.scss +14 -0
- package/src/components/wt-rounded-action/wt-rounded-action.vue +139 -0
- package/src/components/{molecules/wt-search-bar → wt-search-bar}/__tests__/WtSearchBar.spec.js +9 -0
- package/src/components/wt-search-bar/wt-search-bar.vue +222 -0
- package/src/components/{molecules/wt-select → wt-select}/__tests__/WtSelect.spec.js +3 -3
- package/src/components/{molecules/wt-select → wt-select}/mixins/__tests__/multiselectMixin.spec.js +4 -4
- package/src/components/{molecules/wt-select → wt-select}/mixins/multiselectMixin.js +9 -4
- package/src/components/{molecules/wt-select → wt-select}/wt-select.vue +23 -9
- package/src/components/{molecules/wt-slider → wt-slider}/wt-slider.vue +8 -3
- package/src/components/{organisms/wt-status-select → wt-status-select}/__tests__/WtStatusSelect.spec.js +1 -1
- package/src/components/{organisms/wt-status-select → wt-status-select}/_internals/StatusOptions.lookup.js +1 -1
- package/src/components/{organisms/wt-status-select → wt-status-select}/wt-status-select.vue +27 -23
- package/src/components/wt-stepper/__tests__/WtStepper.spec.vue.js +18 -0
- package/src/components/wt-stepper/wt-stepper.vue +89 -0
- package/src/components/{molecules/wt-switcher → wt-switcher}/__tests__/WtSwitcher.spec.js +5 -5
- package/src/components/wt-switcher/wt-switcher.vue +191 -0
- package/src/components/{organisms/wt-table → wt-table}/__tests__/WtTable.spec.js +11 -11
- package/src/components/{organisms/wt-table → wt-table}/wt-table.vue +20 -3
- package/src/components/{organisms/wt-table-actions → wt-table-actions}/wt-table-actions.vue +5 -0
- package/src/components/{organisms/wt-table-column-select → wt-table-column-select}/__tests__/WtTableColumnSelect.spec.js +3 -3
- package/src/components/wt-table-column-select/wt-table-column-select.vue +178 -0
- package/src/components/{molecules/wt-tabs → wt-tabs}/__tests__/WtTabs.spec.js +3 -3
- package/src/{css/components/molecules → components}/wt-tabs/_variables.scss +1 -1
- package/src/components/{molecules/wt-tabs → wt-tabs}/wt-tabs.vue +9 -1
- package/src/components/{molecules/wt-tags-input → wt-tags-input}/__tests__/WtTagsInput.spec.js +7 -7
- package/src/components/{molecules/wt-tags-input → wt-tags-input}/wt-tags-input.vue +18 -7
- package/src/components/{molecules/wt-textarea → wt-textarea}/__tests__/WtTextarea.spec.js +4 -4
- package/src/components/wt-textarea/wt-textarea.vue +223 -0
- package/src/components/{molecules/wt-time-input → wt-time-input}/__tests__/WtTimeInput.spec.js +3 -3
- package/src/components/wt-time-input/wt-time-input.vue +187 -0
- package/src/components/{molecules/wt-timepicker → wt-timepicker}/__tests__/WtTimepicker.spec.js +13 -13
- package/src/components/{molecules/wt-timepicker → wt-timepicker}/wt-timepicker.vue +13 -5
- package/src/components/{atoms/wt-tooltip → wt-tooltip}/__tests__/WtTooltip.spec.js +1 -1
- package/src/components/wt-tooltip/_internals/useTooltipTriggerSubscriptions.js +68 -0
- package/src/components/wt-tooltip/_internals/wt-tooltip-floating.vue +48 -0
- package/src/components/wt-tooltip/_variables.scss +11 -0
- package/src/components/wt-tooltip/wt-tooltip.vue +150 -0
- package/src/composables/useCachedInterval/__tests__/useCachedInterval.spec.js +14 -0
- package/src/composables/useCachedInterval/useCachedInterval.js +21 -0
- package/src/composables/useDestroyableSortable/useDestroyableSortable.js +66 -0
- package/src/composables/useRepresentableAgentPauseCause/__tests__/useRepresentableAgentPauseCause.spec.js +83 -0
- package/src/composables/useRepresentableAgentPauseCause/useRepresentableAgentPauseCause.js +37 -0
- package/src/css/main.scss +0 -3
- package/src/css/styleguide/colors/_colors.scss +177 -147
- package/src/css/styleguide/colors/_deprecated.scss +151 -0
- package/src/css/styleguide/colors/_palette.scss +358 -0
- package/src/directives/clickaway/clickaway.js +3 -0
- package/src/directives/index.js +7 -0
- package/src/enums/WebitelApplications/AdminSections.enum.js +4 -0
- package/src/enums/WebitelApplications/AuditorSections.enum.js +5 -0
- package/src/enums/WebitelApplications/CrmSections.enum.js +5 -0
- package/src/enums/WebitelApplications/WebitelApplications.enum.js +1 -0
- package/src/locale/.DS_Store +0 -0
- package/src/locale/en/en.js +96 -13
- package/src/locale/es/es.js +282 -0
- package/src/locale/i18n.js +4 -0
- package/src/locale/ru/ru.js +97 -12
- package/src/locale/ua/ua.js +98 -13
- package/src/mixins/dataFilterMixins/__tests__/apiFilterMixin.spec.js +5 -7
- package/src/mixins/dataFilterMixins/__tests__/enumFilterMixin.spec.js +17 -13
- package/src/mixins/dataFilterMixins/__tests__/paginationFilterMixin.spec.js +23 -31
- package/src/mixins/dataFilterMixins/__tests__/sortFilterMixin.spec.js +12 -15
- package/src/mixins/dataFilterMixins/__tests__/urlControllerMixin.spec.js +12 -12
- package/src/mixins/dataFilterMixins/_urlControllerMixin/_urlControllerMixin.js +2 -2
- package/src/mixins/dataFilterMixins/paginationFilterMixin.js +3 -3
- package/src/mixins/dataFilterMixins/sortFilterMixin.js +2 -2
- package/src/mixins/validationMixin/__tests__/validationMixin.spec.js +5 -5
- package/src/mixins/validationMixin/useValidation.js +41 -0
- package/src/mixins/validationMixin/validationMixin.js +17 -12
- package/src/modules/AgentStatusSelect/api/agent-status.js +24 -0
- package/src/modules/AgentStatusSelect/api/pause-cause.js +47 -0
- package/src/modules/AgentStatusSelect/components/__tests__/wt-cc-agent-status-select.spec.js +83 -0
- package/src/modules/AgentStatusSelect/components/__tests__/wt-cc-pause-cause-popup.spec.js +18 -0
- package/src/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue +122 -0
- package/src/modules/AgentStatusSelect/components/_internals/wt-cc-status-select-error-popup.vue +55 -0
- package/src/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue +107 -0
- package/src/modules/AuditForm/components/__tests__/audit-form-question-read-wrapper.spec.js +14 -0
- package/src/modules/AuditForm/components/__tests__/audit-form-question-write-wrapper.spec.js +60 -0
- package/src/modules/AuditForm/components/__tests__/audit-form-question.spec.js +14 -0
- package/src/modules/AuditForm/components/__tests__/audit-form.spec.js +70 -0
- package/src/modules/AuditForm/components/audit-form-question-read-wrapper.vue +132 -0
- package/src/modules/AuditForm/components/audit-form-question-write-wrapper.vue +154 -0
- package/src/modules/AuditForm/components/audit-form-question.vue +136 -0
- package/src/modules/AuditForm/components/audit-form.vue +183 -0
- package/src/modules/AuditForm/components/questions/options/__tests__/audit-form-question-options-write-row.spec.js +24 -0
- package/src/modules/AuditForm/components/questions/options/__tests__/audit-form-question-options.spec.js +45 -0
- package/src/modules/AuditForm/components/questions/options/audit-form-question-options-write-row.vue +89 -0
- package/src/modules/AuditForm/components/questions/options/audit-form-question-options.vue +97 -0
- package/src/modules/AuditForm/components/questions/score/__tests__/audit-form-question-score.spec.js +30 -0
- package/src/modules/AuditForm/components/questions/score/audit-form-question-score.vue +132 -0
- package/src/modules/AuditForm/schemas/AuditFormQuestionOptionsSchema.js +13 -0
- package/src/modules/AuditForm/schemas/AuditFormQuestionSchema.js +8 -0
- package/src/modules/AuditForm/schemas/AuditFormQuestionScoreSchema.js +8 -0
- package/src/modules/CardStoreModule/composables/useCardStore.js +55 -0
- package/src/modules/CardStoreModule/store/CardStoreModule.js +84 -0
- package/src/modules/DeleteConfirmationPopup/components/delete-confirmation-popup.vue +87 -0
- package/src/modules/DeleteConfirmationPopup/composables/useDeleteConfirmationPopup.js +28 -0
- package/src/modules/FilesExport/FilesExport.js +4 -1
- package/src/modules/FilesExport/scripts/generateMediaURL.js +1 -1
- package/src/modules/Filters/classes/BaseFilterSchema.js +13 -0
- package/src/modules/Filters/components/filter-pagination.vue +61 -0
- package/src/modules/Filters/components/filter-table-fields.vue +61 -0
- package/src/modules/Filters/composables/useTableFilters.js +17 -0
- package/src/modules/Filters/restores/filterFieldsRestore.js +9 -0
- package/src/modules/Filters/restores/readme.md +1 -0
- package/src/modules/Filters/store/FiltersStoreModule.js +181 -0
- package/src/modules/QueryFilters/components/__tests__/abstract-api-filter.spec.js +10 -12
- package/src/modules/QueryFilters/components/__tests__/abstract-enum-filter.spec.js +10 -12
- package/src/modules/QueryFilters/components/__tests__/filter-datetime.spec.js +12 -12
- package/src/modules/QueryFilters/components/__tests__/filter-from-to.spec.js +10 -12
- package/src/modules/QueryFilters/components/__tests__/filter-search.spec.js +10 -12
- 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 +4 -3
- package/src/modules/QueryFilters/components/filter-from-to.vue +15 -8
- package/src/modules/QueryFilters/components/filter-table-fields.vue +101 -0
- package/src/modules/QueryFilters/mixins/__tests__/apiFilterMixin.spec.js +11 -11
- package/src/modules/QueryFilters/mixins/__tests__/enumFilterMixin.spec.js +11 -13
- package/src/modules/QueryFilters/mixins/__tests__/paginationFilterMixin.spec.js +18 -25
- package/src/modules/QueryFilters/mixins/__tests__/sortFilterMixin.spec.js +14 -9
- package/src/modules/QueryFilters/mixins/__tests__/urlControllerMixin.spec.js +12 -14
- package/src/modules/QueryFilters/mixins/_urlControllerMixin/_urlControllerMixin.js +2 -2
- package/src/modules/QueryFilters/mixins/paginationFilterMixin.js +4 -4
- package/src/modules/QueryFilters/store/QueryFiltersStoreModule.js +21 -8
- package/src/modules/TableStoreModule/composables/useTableStore.js +58 -0
- package/src/modules/TableStoreModule/store/TableStoreModule.js +207 -0
- package/src/modules/Userinfo/api/auth.js +6 -4
- package/src/modules/Userinfo/api/userinfo.js +16 -4
- package/src/modules/Userinfo/classes/ApplicationsAccess.js +27 -0
- package/src/modules/Userinfo/components/__tests__/auth.spec.js +11 -12
- package/src/modules/Userinfo/components/the-auth.vue +1 -1
- package/src/modules/Userinfo/enums/Permissions.enum.js +7 -0
- package/src/modules/Userinfo/store/UserinfoStoreModule.js +41 -1
- package/src/plugins/breakpoint/breakpoint.plugin.js +5 -4
- package/src/scripts/__tests__/updateObject.spec.js +19 -0
- package/src/scripts/caseConverters.js +2 -2
- package/src/scripts/debounce.js +3 -9
- package/src/scripts/eventBus.js +7 -3
- package/src/scripts/updateObject.js +6 -0
- package/src/store/BaseStoreModules/ApiStoreModule.js +93 -0
- package/src/store/ReactiveNowStoreModule/ReactiveNowStoreModule.js +27 -0
- package/src/validators/decimalValidator.js +9 -0
- package/src/validators/domainValidator.js +5 -0
- package/src/components/atoms/wt-avatar/wt-avatar.vue +0 -102
- package/src/components/atoms/wt-button/wt-button.vue +0 -288
- package/src/components/atoms/wt-chip/wt-chip.vue +0 -23
- package/src/components/atoms/wt-divider/wt-divider.vue +0 -25
- package/src/components/atoms/wt-icon/wt-icon.vue +0 -150
- package/src/components/atoms/wt-input-info/wt-input-info.vue +0 -35
- package/src/components/atoms/wt-rounded-action/wt-rounded-action.vue +0 -156
- package/src/components/atoms/wt-tooltip/wt-tooltip.vue +0 -48
- package/src/components/molecules/wt-button-select/wt-button-select.vue +0 -184
- package/src/components/molecules/wt-checkbox/wt-checkbox.vue +0 -179
- package/src/components/molecules/wt-datepicker/wt-datepicker.vue +0 -203
- package/src/components/molecules/wt-datetimepicker/__tests__/WtDatetimepicker.spec.js +0 -79
- package/src/components/molecules/wt-datetimepicker/wt-datetimepicker.vue +0 -300
- package/src/components/molecules/wt-icon-btn/wt-icon-btn.vue +0 -75
- package/src/components/molecules/wt-notification/wt-notification.vue +0 -75
- package/src/components/molecules/wt-radio/wt-radio.vue +0 -170
- package/src/components/molecules/wt-search-bar/wt-search-bar.vue +0 -194
- package/src/components/molecules/wt-switcher/wt-switcher.vue +0 -182
- package/src/components/molecules/wt-textarea/wt-textarea.vue +0 -215
- package/src/components/molecules/wt-time-input/wt-time-input.vue +0 -190
- package/src/components/organisms/wt-app-header/wt-app-header.vue +0 -24
- package/src/components/organisms/wt-notifications-bar/wt-notifications-bar.vue +0 -71
- package/src/components/organisms/wt-table/__tests__/WtTableDeleteAction.spec.js +0 -9
- package/src/components/organisms/wt-table/__tests__/WtTableEditAction.spec.js +0 -9
- package/src/components/organisms/wt-table/table-cells/wt-table-delete-action.vue +0 -21
- package/src/components/organisms/wt-table/table-cells/wt-table-edit-action.vue +0 -22
- package/src/components/organisms/wt-table-column-select/wt-table-column-select.vue +0 -120
- package/src/css/components/_components.scss +0 -45
- package/src/css/components/atoms/wt-avatar/_variables.scss +0 -14
- package/src/css/components/atoms/wt-button/_variables.scss +0 -47
- package/src/css/components/atoms/wt-icon/_variables.scss +0 -8
- package/src/css/components/atoms/wt-rounded-action/_variables.scss +0 -7
- package/src/css/components/atoms/wt-tooltip/_variables.scss +0 -29
- package/src/css/components/molecules/wt-button-select/_variables.scss +0 -18
- package/src/css/components/molecules/wt-datepicker/_variables.scss +0 -21
- package/src/css/components/molecules/wt-datepicker/datepicker-calendar.scss +0 -90
- package/src/css/components/molecules/wt-datetimepicker/_variables.scss +0 -11
- package/src/css/components/molecules/wt-icon-btn/_variables.scss +0 -3
- package/src/css/components/organisms/wt-headline-nav/_variables.scss +0 -5
- /package/src/components/{organisms/wt-app-header → wt-app-header}/__tests__/WtAppHeader.spec.js +0 -0
- /package/src/components/{organisms/wt-app-header → wt-app-header}/wt-header-actions.vue +0 -0
- /package/src/components/{atoms/wt-avatar → wt-avatar}/__tests__/wt-avatar.spec.js +0 -0
- /package/src/components/{atoms/wt-badge → wt-badge}/__tests__/wt-badge.spec.js +0 -0
- /package/src/{css/components/atoms → components}/wt-badge/_variables.scss +0 -0
- /package/src/{css/components/molecules → components}/wt-checkbox/_variables.scss +0 -0
- /package/src/components/{atoms/wt-chip → wt-chip}/__tests__/WtChip.spec.js +0 -0
- /package/src/{css/components/atoms → components}/wt-chip/_variables.scss +0 -0
- /package/src/components/{molecules/wt-copy-action → wt-copy-action}/__tests__/WtCopyAction.spec.js +0 -0
- /package/src/components/{molecules/wt-copy-action → wt-copy-action}/wt-copy-action.vue +0 -0
- /package/src/components/{atoms/wt-divider → wt-divider}/__tests__/WtDivider.spec.js +0 -0
- /package/src/{css/components/atoms → components}/wt-divider/_variables.scss +0 -0
- /package/src/components/{organisms/wt-filters-panel-wrapper/__tests__/wt-filters-panel-wrapper.spec.js → wt-filters-panel-wrapper/__tests__/WtFiltersPanelWrapper.spec.js} +0 -0
- /package/src/components/{organisms/wt-headline → wt-headline}/__tests__/WtHeadline.spec.js +0 -0
- /package/src/{css/components/organisms → components}/wt-headline/_variables.scss +0 -0
- /package/src/components/{molecules/wt-hint → wt-hint}/__tests__/WtHint.spec.js +0 -0
- /package/src/{css/components/molecules → components}/wt-input/_variables.scss +0 -0
- /package/src/components/{atoms/wt-input-info → wt-input-info}/__tests__/WtInputInfo.spec.js +0 -0
- /package/src/components/{molecules/wt-label → wt-label}/__tests__/WtLabel.spec.js +0 -0
- /package/src/{css/components/atoms → components}/wt-label/_variables.scss +0 -0
- /package/src/components/{molecules/wt-label → wt-label}/mixins/labelUsageMixin.js +0 -0
- /package/src/components/{molecules/wt-load-bar → wt-load-bar}/__tests__/WtLoadBar.spec.js +0 -0
- /package/src/{css/components/molecules → components}/wt-load-bar/_variables.scss +0 -0
- /package/src/components/{atoms/wt-loader → wt-loader}/__tests__/WtLoader.spec.js +0 -0
- /package/src/components/{atoms/wt-loader → wt-loader}/_internals/wt-loader--md.vue +0 -0
- /package/src/components/{atoms/wt-loader → wt-loader}/_internals/wt-loader--sm.vue +0 -0
- /package/src/{css/components/organisms → components}/wt-navigation-bar/_variables.scss +0 -0
- /package/src/{css/components/molecules → components}/wt-notification/_variables.scss +0 -0
- /package/src/{css/components/organisms → components}/wt-notifications-bar/_variables.scss +0 -0
- /package/src/components/{organisms/wt-page-wrapper → wt-page-wrapper}/__tests__/WtPageWrapper.spec.js +0 -0
- /package/src/{css/components/organisms → components}/wt-page-wrapper/_variables.scss +0 -0
- /package/src/{css/components/organisms → components}/wt-pagination/_variables.scss +0 -0
- /package/src/components/{organisms/wt-player → wt-player}/__tests__/WtPlayer.spec.js +0 -0
- /package/src/components/{molecules/wt-popup → wt-popup}/__tests__/WtPopup.spec.js +0 -0
- /package/src/{css/components/molecules → components}/wt-popup/_variables.scss +0 -0
- /package/src/{css/components/molecules → components}/wt-radio/_variables.scss +0 -0
- /package/src/{css/components/molecules → components}/wt-search-bar/_variables.scss +0 -0
- /package/src/{css/components/molecules → components}/wt-select/_multiselect.scss +0 -0
- /package/src/{css/components/molecules → components}/wt-select/_variables.scss +0 -0
- /package/src/components/{molecules/wt-slider → wt-slider}/__tests__/WtSlider.spec.js +0 -0
- /package/src/{css/components/molecules → components}/wt-slider/_variables.scss +0 -0
- /package/src/{css/components/organisms → components}/wt-status-select/_variables.scss +0 -0
- /package/src/{css/components/molecules → components}/wt-switcher/_variables.scss +0 -0
- /package/src/components/{organisms/wt-table → wt-table}/_internals/getSortOrder.js +0 -0
- /package/src/{css/components/organisms → components}/wt-table/_variables.scss +0 -0
- /package/src/components/{organisms/wt-table-actions → wt-table-actions}/__tests__/WtTableActions.spec.js +0 -0
- /package/src/{css/components/organisms → components}/wt-table-actions/_variables.scss +0 -0
- /package/src/{css/components/molecules → components}/wt-tags-input/_variables.scss +0 -0
- /package/src/{css/components/molecules → components}/wt-textarea/_variables.scss +0 -0
- /package/src/{css/components/molecules → components}/wt-timepicker/_variables.scss +0 -0
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AgentStatus,
|
|
3
|
+
CallDirection,
|
|
4
|
+
ChannelState,
|
|
5
|
+
ChannelType,
|
|
6
|
+
EngineRoutingSchemaType,
|
|
7
|
+
} from 'webitel-sdk';
|
|
8
|
+
import { QueueType } from 'webitel-sdk/esm2015/enums';
|
|
9
|
+
import AdminSections from '../../enums/WebitelApplications/AdminSections.enum';
|
|
10
|
+
import AuditorSections
|
|
11
|
+
from '../../enums/WebitelApplications/AuditorSections.enum';
|
|
12
|
+
import SupervisorSections
|
|
13
|
+
from '../../enums/WebitelApplications/SupervisorSections.enum';
|
|
14
|
+
import WebitelApplications
|
|
15
|
+
from '../../enums/WebitelApplications/WebitelApplications.enum';
|
|
16
|
+
import { snakeToCamel } from '../../scripts/caseConverters';
|
|
17
|
+
|
|
18
|
+
export default {
|
|
19
|
+
// describes reusable buttons, actions, default titles, and other ui elements
|
|
20
|
+
reusable: {
|
|
21
|
+
total: 'Total',
|
|
22
|
+
ok: 'Ok',
|
|
23
|
+
save: 'Guardar',
|
|
24
|
+
close: 'Cerrar',
|
|
25
|
+
add: 'Agregar',
|
|
26
|
+
cancel: 'Cancelar',
|
|
27
|
+
import: 'Importación',
|
|
28
|
+
export: 'Exportación',
|
|
29
|
+
true: 'Sí',
|
|
30
|
+
delete: 'Eliminar',
|
|
31
|
+
search: 'Búsqueda',
|
|
32
|
+
open: 'Abrir',
|
|
33
|
+
name: 'Nombre',
|
|
34
|
+
expand: 'Expandir',
|
|
35
|
+
collapse: 'Reducir',
|
|
36
|
+
generate: 'Generar',
|
|
37
|
+
lang: {
|
|
38
|
+
en: 'English',
|
|
39
|
+
es: 'Español',
|
|
40
|
+
ru: 'Русский',
|
|
41
|
+
ua: 'Українська',
|
|
42
|
+
},
|
|
43
|
+
from: 'De',
|
|
44
|
+
to: 'Hasta',
|
|
45
|
+
tts: 'Text-to-Speech',
|
|
46
|
+
state: 'Estado',
|
|
47
|
+
refresh: 'Actualizar',
|
|
48
|
+
retry: 'Repetir',
|
|
49
|
+
reset: 'Reiniciar',
|
|
50
|
+
downloadAll: 'Descargar todo',
|
|
51
|
+
warning: 'Aviso',
|
|
52
|
+
doNotSave: 'No guardar',
|
|
53
|
+
},
|
|
54
|
+
vocabulary: {
|
|
55
|
+
language: 'Idioma',
|
|
56
|
+
voice: 'Voz',
|
|
57
|
+
format: 'Formáto',
|
|
58
|
+
text: 'Texto',
|
|
59
|
+
yes: 'Sí',
|
|
60
|
+
no: 'No',
|
|
61
|
+
description: 'Descripción',
|
|
62
|
+
login: 'Acceso',
|
|
63
|
+
host: 'Host',
|
|
64
|
+
time: 'Tiempo',
|
|
65
|
+
channel: 'Canal',
|
|
66
|
+
file: 'Archivo',
|
|
67
|
+
logout: 'Salir',
|
|
68
|
+
priority: 'Prioridad',
|
|
69
|
+
variables: 'Intercambiable | Intercambiables',
|
|
70
|
+
type: 'Tipo',
|
|
71
|
+
tag: 'Etiqueta | Etiquetas',
|
|
72
|
+
output: 'Salida | Salidas',
|
|
73
|
+
values: 'Valor | Valores',
|
|
74
|
+
keys: 'Clave | Claves',
|
|
75
|
+
duration: 'Duración',
|
|
76
|
+
errors: 'Error | Errores',
|
|
77
|
+
},
|
|
78
|
+
// date-related texts
|
|
79
|
+
date: {
|
|
80
|
+
sec: 'Seg',
|
|
81
|
+
timezone: 'Zona horaria | Zonas horarias',
|
|
82
|
+
},
|
|
83
|
+
// describes Webitel system entities
|
|
84
|
+
objects: {
|
|
85
|
+
team: 'Equipo | Equipos',
|
|
86
|
+
supervisor: 'Supervisor | Supervisores',
|
|
87
|
+
auditor: 'Auditor | Auditores',
|
|
88
|
+
region: 'Región | Regiones',
|
|
89
|
+
queue: {
|
|
90
|
+
type: {
|
|
91
|
+
[QueueType.INBOUND_QUEUE]: 'Cola entrante',
|
|
92
|
+
[QueueType.OFFLINE_QUEUE]: 'Cola fuera de línea',
|
|
93
|
+
[QueueType.OUTBOUND_IVR_QUEUE]: 'IVR saliente',
|
|
94
|
+
[QueueType.PREDICTIVE_DIALER]: 'Marcador predictivo',
|
|
95
|
+
[QueueType.PROGRESSIVE_DIALER]: 'Marcador progresivo',
|
|
96
|
+
[QueueType.PREVIEW_DIALER]: 'Vista previa de llamadas',
|
|
97
|
+
[QueueType.CHAT_INBOUND_QUEUE]: 'Cola de chats',
|
|
98
|
+
[QueueType.INBOUND_JOB_QUEUE]: 'Cola de tareas entrante',
|
|
99
|
+
[QueueType.OUTBOUND_JOB_QUEUE]: 'Cola de tareas saliente',
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
agent: {
|
|
103
|
+
status: {
|
|
104
|
+
[AgentStatus.Online]: 'En línea',
|
|
105
|
+
[AgentStatus.Pause]: 'Pausa',
|
|
106
|
+
[AgentStatus.Offline]: 'Desconectado',
|
|
107
|
+
[snakeToCamel(AgentStatus.BreakOut)]: 'Pausa forzada',
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
flow: {
|
|
111
|
+
type: {
|
|
112
|
+
[EngineRoutingSchemaType.Chat]: 'Chat',
|
|
113
|
+
[EngineRoutingSchemaType.Voice]: 'Voz',
|
|
114
|
+
[EngineRoutingSchemaType.Service]: 'Servicio',
|
|
115
|
+
[EngineRoutingSchemaType.Processing]: 'Procesamiento',
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
channel: {
|
|
120
|
+
state: {
|
|
121
|
+
[ChannelState.Waiting]: 'Espera',
|
|
122
|
+
[ChannelState.Distribute]: 'Reservado',
|
|
123
|
+
[ChannelState.Offering]: 'Distribución',
|
|
124
|
+
[ChannelState.Answered]: 'Respondida',
|
|
125
|
+
[ChannelState.Active]: 'Activo',
|
|
126
|
+
[ChannelState.Bridged]: 'Conectado',
|
|
127
|
+
[ChannelState.Hold]: 'Espera',
|
|
128
|
+
[ChannelState.Missed]: 'Perdida',
|
|
129
|
+
[snakeToCamel(ChannelState.WrapTime)]: 'Post-procesamiento',
|
|
130
|
+
[ChannelState.Processing]: 'Procesamiento',
|
|
131
|
+
[ChannelState.Transfer]: 'Transferencia',
|
|
132
|
+
},
|
|
133
|
+
type: {
|
|
134
|
+
[ChannelType.Call]: 'Llamada',
|
|
135
|
+
[ChannelType.Email]: 'Correo electrónico',
|
|
136
|
+
[ChannelType.Chat]: 'Chat',
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
calls: {
|
|
140
|
+
direction: {
|
|
141
|
+
[CallDirection.Inbound]: 'Entrante | Entrantes',
|
|
142
|
+
[CallDirection.Outbound]: 'Saliente | Salientes',
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
// describes Webitel FRONTEND applications + their navs
|
|
146
|
+
WebitelApplications: {
|
|
147
|
+
[WebitelApplications.AGENT]: { name: 'Agent Workspace' },
|
|
148
|
+
[WebitelApplications.AUDIT]: {
|
|
149
|
+
name: 'Audit',
|
|
150
|
+
sections: {
|
|
151
|
+
[AuditorSections.SCORECARDS]: 'Formularios',
|
|
152
|
+
},
|
|
153
|
+
},
|
|
154
|
+
[WebitelApplications.HISTORY]: { name: 'Call History' },
|
|
155
|
+
[WebitelApplications.ANALYTICS]: { name: 'Data Visualisation Tool' },
|
|
156
|
+
[WebitelApplications.SUPERVISOR]: {
|
|
157
|
+
name: 'Supervisor Workspace',
|
|
158
|
+
sections: {
|
|
159
|
+
[SupervisorSections.QUEUES]: 'Colas',
|
|
160
|
+
[SupervisorSections.AGENTS]: 'Operadores',
|
|
161
|
+
[SupervisorSections.ACTIVE_CALLS]: 'Llamadas activas',
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
[WebitelApplications.ADMIN]: {
|
|
165
|
+
name: 'Admin',
|
|
166
|
+
sections: {
|
|
167
|
+
[AdminSections.USERS]: 'Usuarios',
|
|
168
|
+
[AdminSections.LICENSE]: 'Licencias',
|
|
169
|
+
[AdminSections.DEVICES]: 'Dispositivos',
|
|
170
|
+
[AdminSections.FLOW]: 'Esquemas',
|
|
171
|
+
[AdminSections.DIALPLAN]: 'Reglas de la marcación saliente',
|
|
172
|
+
[AdminSections.GATEWAYS]: 'Puertas de enlace',
|
|
173
|
+
[AdminSections.CHATPLAN]: 'Reglas de enrutamiento de mensajes de texto',
|
|
174
|
+
[AdminSections.CHAT_GATEWAYS]: 'Puertas de enlace de texto',
|
|
175
|
+
[AdminSections.SKILLS]: 'Habilidades del operador',
|
|
176
|
+
[AdminSections.BUCKETS]: 'Cestas',
|
|
177
|
+
[AdminSections.MEDIA]: 'Archivos multimedia',
|
|
178
|
+
[AdminSections.BLACKLIST]: 'Listas de llamadas',
|
|
179
|
+
[AdminSections.CALENDARS]: 'Calendarios',
|
|
180
|
+
[AdminSections.REGIONS]: 'Ubicación',
|
|
181
|
+
[AdminSections.COMMUNICATIONS]: 'Tipos de comunicación',
|
|
182
|
+
[AdminSections.PAUSE_CAUSE]: 'Estados del operador',
|
|
183
|
+
[AdminSections.AGENTS]: 'Operadores',
|
|
184
|
+
[AdminSections.TEAMS]: 'Equipos',
|
|
185
|
+
[AdminSections.RESOURCES]: 'Recursos',
|
|
186
|
+
[AdminSections.RESOURCE_GROUPS]: 'Grupos de recursos',
|
|
187
|
+
[AdminSections.QUEUES]: 'Colas',
|
|
188
|
+
[AdminSections.STORAGE]: 'Almacenamiento',
|
|
189
|
+
[AdminSections.COGNITIVE_PROFILES]: 'Perfiles de voz',
|
|
190
|
+
[AdminSections.EMAIL_PROFILES]: 'Perfiles de correo electrónico',
|
|
191
|
+
[AdminSections.IMPORT_CSV]: 'Importación de datos de archivos CSV',
|
|
192
|
+
[AdminSections.TRIGGERS]: 'Activadores',
|
|
193
|
+
[AdminSections.ROLES]: 'Funciones',
|
|
194
|
+
[AdminSections.OBJECTS]: 'Secciones',
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
validation: {
|
|
199
|
+
required: 'Campo requerido',
|
|
200
|
+
numeric: 'Valores numéricos requeridos',
|
|
201
|
+
email: 'Correo electrónico requerido',
|
|
202
|
+
gatewayHostValidator: 'IPv4 o FQDN requerido',
|
|
203
|
+
sipAccountValidator: 'Cuenta SIP requerida',
|
|
204
|
+
ipValidator: 'IPv4 requerido',
|
|
205
|
+
macValidator: 'dirección MAC requerida',
|
|
206
|
+
minValue: 'El valor no debe ser menor que',
|
|
207
|
+
maxValue: 'El valor no debe ser mayor que',
|
|
208
|
+
sameAs: 'Contraseña no válida',
|
|
209
|
+
requiredArrayValue: 'El campo no debe estar vacío',
|
|
210
|
+
minLength: 'El número de caracteres no debe ser menor que',
|
|
211
|
+
url: 'Se debe ingresar una URL válida',
|
|
212
|
+
},
|
|
213
|
+
webitelUI: {
|
|
214
|
+
searchBar: {
|
|
215
|
+
placeholder: 'Búsqueda',
|
|
216
|
+
},
|
|
217
|
+
timepicker: {
|
|
218
|
+
hour: 'Hora:',
|
|
219
|
+
min: 'Min:',
|
|
220
|
+
sec: 'Seg:',
|
|
221
|
+
},
|
|
222
|
+
datetimepicker: {
|
|
223
|
+
lastHour: 'Última hora',
|
|
224
|
+
lastDay: 'Último día',
|
|
225
|
+
},
|
|
226
|
+
pagination: {
|
|
227
|
+
sizeText: 'Registros en la página:',
|
|
228
|
+
prev: 'Atrás',
|
|
229
|
+
next: 'Adelante',
|
|
230
|
+
},
|
|
231
|
+
appNavigator: {
|
|
232
|
+
title: 'Aplicaciones de Webitel',
|
|
233
|
+
admin: 'Admin',
|
|
234
|
+
agent: 'Agent Workspace',
|
|
235
|
+
supervisor: 'Supervisor Workspace',
|
|
236
|
+
audit: 'Audit',
|
|
237
|
+
history: 'Call History',
|
|
238
|
+
grafana: 'Grafana',
|
|
239
|
+
},
|
|
240
|
+
headerActions: {
|
|
241
|
+
account: 'Cuenta',
|
|
242
|
+
docs: 'Documentación',
|
|
243
|
+
settings: 'Ajustes',
|
|
244
|
+
logout: 'Salir',
|
|
245
|
+
buildVersion: 'Versión de compilación',
|
|
246
|
+
},
|
|
247
|
+
tableActions: {
|
|
248
|
+
filterReset: 'Reiniciar filtros',
|
|
249
|
+
columnSelect: 'Agregar columnas',
|
|
250
|
+
refreshTable: 'Actualizar',
|
|
251
|
+
expandFilters: 'Expandir filtros',
|
|
252
|
+
},
|
|
253
|
+
tableColumnSelect: {
|
|
254
|
+
title: 'Seleccione columnas mostradas',
|
|
255
|
+
},
|
|
256
|
+
statusSelect: {
|
|
257
|
+
online: 'En línea',
|
|
258
|
+
pause: 'Pausa',
|
|
259
|
+
offline: 'Desconectado',
|
|
260
|
+
breakOut: 'Pausa forzada',
|
|
261
|
+
},
|
|
262
|
+
iconAction: {
|
|
263
|
+
deleteActionHint: 'Eliminar',
|
|
264
|
+
editActionHint: 'Editar',
|
|
265
|
+
},
|
|
266
|
+
errorPages: {
|
|
267
|
+
goBack: 'Regresar',
|
|
268
|
+
page403: {
|
|
269
|
+
title: 'Sin acceso',
|
|
270
|
+
text: 'Lo sentimos, no tiene suficientes derechos de acceso para ver esta página',
|
|
271
|
+
},
|
|
272
|
+
page404: {
|
|
273
|
+
title: 'Parece que se ha perdido',
|
|
274
|
+
text: 'Lo sentimos, no podemos encontrar lo que está buscando',
|
|
275
|
+
},
|
|
276
|
+
},
|
|
277
|
+
copyAction: {
|
|
278
|
+
copy: 'Copiar',
|
|
279
|
+
copied: '¡Copiado!',
|
|
280
|
+
},
|
|
281
|
+
},
|
|
282
|
+
};
|
package/src/locale/i18n.js
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
import { createI18n } from 'vue-i18n';
|
|
2
2
|
import en from './en/en';
|
|
3
|
+
import es from './es/es';
|
|
3
4
|
import ru from './ru/ru';
|
|
4
5
|
import ua from './ua/ua';
|
|
5
6
|
|
|
6
7
|
const messages = {
|
|
7
8
|
en,
|
|
9
|
+
es,
|
|
8
10
|
ru,
|
|
9
11
|
ua,
|
|
10
12
|
};
|
|
11
13
|
|
|
12
14
|
// eslint-disable-next-line new-cap
|
|
13
15
|
export default new createI18n({
|
|
16
|
+
// legacy: false,
|
|
14
17
|
locale: 'en',
|
|
18
|
+
allowComposition: true,
|
|
15
19
|
fallbackLocale: 'en',
|
|
16
20
|
messages,
|
|
17
21
|
});
|
package/src/locale/ru/ru.js
CHANGED
|
@@ -2,12 +2,18 @@ import {
|
|
|
2
2
|
AgentStatus,
|
|
3
3
|
CallDirection,
|
|
4
4
|
ChannelState,
|
|
5
|
-
ChannelType,
|
|
5
|
+
ChannelType,
|
|
6
|
+
EngineRoutingSchemaType,
|
|
6
7
|
} from 'webitel-sdk';
|
|
7
8
|
import { QueueType } from 'webitel-sdk/esm2015/enums';
|
|
8
9
|
import AdminSections from '../../enums/WebitelApplications/AdminSections.enum';
|
|
9
|
-
import
|
|
10
|
-
|
|
10
|
+
import AuditorSections
|
|
11
|
+
from '../../enums/WebitelApplications/AuditorSections.enum';
|
|
12
|
+
import CrmSections from '../../enums/WebitelApplications/CrmSections.enum';
|
|
13
|
+
import SupervisorSections
|
|
14
|
+
from '../../enums/WebitelApplications/SupervisorSections.enum';
|
|
15
|
+
import WebitelApplications
|
|
16
|
+
from '../../enums/WebitelApplications/WebitelApplications.enum';
|
|
11
17
|
import { snakeToCamel } from '../../scripts/caseConverters';
|
|
12
18
|
|
|
13
19
|
export default {
|
|
@@ -16,6 +22,10 @@ export default {
|
|
|
16
22
|
total: 'Всего',
|
|
17
23
|
ok: 'Ок',
|
|
18
24
|
save: 'Сохранить',
|
|
25
|
+
saveAs: 'Сохранить как',
|
|
26
|
+
saved: 'Сохранено',
|
|
27
|
+
send: 'Отправить',
|
|
28
|
+
start: 'Начать',
|
|
19
29
|
close: 'Закрыть',
|
|
20
30
|
add: 'Добавить',
|
|
21
31
|
cancel: 'Отменить',
|
|
@@ -25,12 +35,13 @@ export default {
|
|
|
25
35
|
delete: 'Удалить',
|
|
26
36
|
search: 'Поиск',
|
|
27
37
|
open: 'Открыть',
|
|
28
|
-
name: '
|
|
38
|
+
name: 'Название',
|
|
29
39
|
expand: 'Развернуть',
|
|
30
40
|
collapse: 'Свернуть',
|
|
31
41
|
generate: 'Сгенерировать',
|
|
32
42
|
lang: {
|
|
33
43
|
en: 'English',
|
|
44
|
+
es: 'Español',
|
|
34
45
|
ru: 'Русский',
|
|
35
46
|
ua: 'Українська',
|
|
36
47
|
},
|
|
@@ -43,6 +54,20 @@ export default {
|
|
|
43
54
|
downloadAll: 'Скачать всё',
|
|
44
55
|
warning: 'Предупреждение',
|
|
45
56
|
doNotSave: 'Не сохранять',
|
|
57
|
+
required: 'Обязательное',
|
|
58
|
+
copy: 'Скопировать',
|
|
59
|
+
new: 'Новый',
|
|
60
|
+
createdAt: 'Создано',
|
|
61
|
+
createdBy: 'Кем создано',
|
|
62
|
+
modifiedAt: 'Изменено',
|
|
63
|
+
modifiedBy: 'Кем изменено',
|
|
64
|
+
general: 'Общее',
|
|
65
|
+
generalInfo: 'Общая информация',
|
|
66
|
+
all: 'Все {entity}',
|
|
67
|
+
upload: 'Загрузить',
|
|
68
|
+
edit: 'Редактировать',
|
|
69
|
+
back: 'Назад',
|
|
70
|
+
step: 'Шаг { count }',
|
|
46
71
|
},
|
|
47
72
|
vocabulary: {
|
|
48
73
|
language: 'Язык',
|
|
@@ -68,6 +93,13 @@ export default {
|
|
|
68
93
|
duration: 'Длительность',
|
|
69
94
|
reset: 'Сбросить',
|
|
70
95
|
errors: 'Ошибка | Ошибки',
|
|
96
|
+
labels: 'Метка | Метки',
|
|
97
|
+
permissions: 'Разрешение | Разрешения',
|
|
98
|
+
options: 'Опция | Опции',
|
|
99
|
+
emails: 'Электронный адрес | Электронные адреса',
|
|
100
|
+
phones: 'Телефон | Телефоны',
|
|
101
|
+
messaging: 'Сообщения',
|
|
102
|
+
emptyResultSearch: 'Поиск не дал результатов',
|
|
71
103
|
},
|
|
72
104
|
// date-related texts
|
|
73
105
|
date: {
|
|
@@ -80,6 +112,8 @@ export default {
|
|
|
80
112
|
supervisor: 'Супервизор | Супервизоры',
|
|
81
113
|
auditor: 'Аудитор | Аудиторы',
|
|
82
114
|
region: 'Регион | Регионы',
|
|
115
|
+
communicationType: 'Тип связи | Типы связи',
|
|
116
|
+
grantee: 'Получатель | Получатели',
|
|
83
117
|
queue: {
|
|
84
118
|
type: {
|
|
85
119
|
[QueueType.INBOUND_QUEUE]: 'Входящая очередь',
|
|
@@ -139,7 +173,18 @@ export default {
|
|
|
139
173
|
// describes Webitel FRONTEND applications + their navs
|
|
140
174
|
WebitelApplications: {
|
|
141
175
|
[WebitelApplications.AGENT]: { name: 'Agent Workspace' },
|
|
142
|
-
[WebitelApplications.AUDIT]: {
|
|
176
|
+
[WebitelApplications.AUDIT]: {
|
|
177
|
+
name: 'Audit',
|
|
178
|
+
sections: {
|
|
179
|
+
[AuditorSections.SCORECARDS]: 'Анкеты',
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
[WebitelApplications.CRM]: {
|
|
183
|
+
name: 'CRM',
|
|
184
|
+
sections: {
|
|
185
|
+
[CrmSections.CONTACTS]: 'Контакты',
|
|
186
|
+
},
|
|
187
|
+
},
|
|
143
188
|
[WebitelApplications.HISTORY]: { name: 'Call History' },
|
|
144
189
|
[WebitelApplications.ANALYTICS]: { name: 'Data Visualisation Tool' },
|
|
145
190
|
[WebitelApplications.SUPERVISOR]: {
|
|
@@ -164,7 +209,7 @@ export default {
|
|
|
164
209
|
[AdminSections.SKILLS]: 'Навыки оператора',
|
|
165
210
|
[AdminSections.BUCKETS]: 'Корзины',
|
|
166
211
|
[AdminSections.MEDIA]: 'Медиафайлы',
|
|
167
|
-
[AdminSections.BLACKLIST]: 'Cписки
|
|
212
|
+
[AdminSections.BLACKLIST]: 'Cписки',
|
|
168
213
|
[AdminSections.CALENDARS]: 'Календари',
|
|
169
214
|
[AdminSections.COMMUNICATIONS]: 'Типы связи',
|
|
170
215
|
[AdminSections.REGIONS]: 'Площадки',
|
|
@@ -181,6 +226,8 @@ export default {
|
|
|
181
226
|
[AdminSections.TRIGGERS]: 'Триггеры',
|
|
182
227
|
[AdminSections.ROLES]: 'Роли',
|
|
183
228
|
[AdminSections.OBJECTS]: 'Разделы',
|
|
229
|
+
[AdminSections.CHANGELOGS]: 'Журнал изменений',
|
|
230
|
+
[AdminSections.SETTINGS]: 'Настройки',
|
|
184
231
|
},
|
|
185
232
|
},
|
|
186
233
|
},
|
|
@@ -198,10 +245,15 @@ export default {
|
|
|
198
245
|
requiredArrayValue: 'Поле не должно быть пустым',
|
|
199
246
|
minLength: 'Количество символов не должно быть меньше, чем',
|
|
200
247
|
url: 'Необходимо ввести корректный url-адрес',
|
|
248
|
+
regExpValidator: 'Не правильное регулярное выражение',
|
|
249
|
+
domainValidator: 'Неправильный домен',
|
|
250
|
+
decimalValidator: 'Количество десятичных знаков не должно быть больше { count }',
|
|
251
|
+
integer: 'Поле должно содержать только целые числа',
|
|
201
252
|
},
|
|
202
253
|
webitelUI: {
|
|
203
254
|
searchBar: {
|
|
204
255
|
placeholder: 'Поиск',
|
|
256
|
+
settingsHint: 'Настройки поиска',
|
|
205
257
|
},
|
|
206
258
|
timepicker: {
|
|
207
259
|
hour: 'Час:',
|
|
@@ -215,7 +267,7 @@ export default {
|
|
|
215
267
|
pagination: {
|
|
216
268
|
sizeText: 'Записей на странице:',
|
|
217
269
|
prev: 'Назад',
|
|
218
|
-
next: '
|
|
270
|
+
next: 'Далее',
|
|
219
271
|
},
|
|
220
272
|
appNavigator: {
|
|
221
273
|
title: 'Приложения Webitel',
|
|
@@ -248,11 +300,12 @@ export default {
|
|
|
248
300
|
offline: 'Оффлайн',
|
|
249
301
|
breakOut: 'Принудительный перерыв',
|
|
250
302
|
},
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
303
|
+
iconAction: {
|
|
304
|
+
deleteActionHint: 'Удалить',
|
|
305
|
+
editActionHint: 'Редактировать',
|
|
306
|
+
addActionHint: 'Добавить',
|
|
307
|
+
historyActionHint: 'История',
|
|
308
|
+
downloadActionHint: 'Скачать',
|
|
256
309
|
},
|
|
257
310
|
errorPages: {
|
|
258
311
|
goBack: 'Вернуться назад',
|
|
@@ -269,5 +322,37 @@ export default {
|
|
|
269
322
|
copy: 'Копировать',
|
|
270
323
|
copied: 'Скопировано!',
|
|
271
324
|
},
|
|
325
|
+
auditForm: {
|
|
326
|
+
question: 'Критерий',
|
|
327
|
+
option: 'Вариант | Варианты',
|
|
328
|
+
score: 'Бал | Балы',
|
|
329
|
+
addQuestion: 'Добавить критерий',
|
|
330
|
+
answerType: 'Тип ответа',
|
|
331
|
+
type: {
|
|
332
|
+
options: 'Вариант',
|
|
333
|
+
score: 'Бал',
|
|
334
|
+
},
|
|
335
|
+
clearSelection: 'Очистить выбор',
|
|
336
|
+
},
|
|
337
|
+
deleteConfirmationPopup: {
|
|
338
|
+
title: 'Подтвердите удаление',
|
|
339
|
+
askingAlert: 'Вы уверенны, что хотите удалить {count} запись? | Вы уверенны, что хотите удалить {count} записей?',
|
|
340
|
+
undoneActionAlert: 'Это действие не может быть отменено.',
|
|
341
|
+
deleteAll: 'ВСЕ',
|
|
342
|
+
},
|
|
343
|
+
dummy: {
|
|
344
|
+
text: 'Записи в разделе еще не созданы',
|
|
345
|
+
},
|
|
346
|
+
agentStatusSelect: {
|
|
347
|
+
pauseCausePopup: {
|
|
348
|
+
title: 'Выберите причину паузы',
|
|
349
|
+
min: 'Мин',
|
|
350
|
+
unlimited: 'Безлимит',
|
|
351
|
+
},
|
|
352
|
+
statusSelectErrorPopup: {
|
|
353
|
+
title: 'Внимание',
|
|
354
|
+
message: 'Лимит операторов в паузе превышен. Перерыв сейчас недоступен.',
|
|
355
|
+
},
|
|
356
|
+
},
|
|
272
357
|
},
|
|
273
358
|
};
|