@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,66 @@
|
|
|
1
|
+
import Sortable from 'sortablejs';
|
|
2
|
+
import {
|
|
3
|
+
ref,
|
|
4
|
+
nextTick,
|
|
5
|
+
onMounted,
|
|
6
|
+
onUnmounted,
|
|
7
|
+
} from 'vue';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @param elRef
|
|
11
|
+
* @param options
|
|
12
|
+
* @returns {{reloadSortable: Ref<UnwrapRef<boolean>>}}
|
|
13
|
+
*
|
|
14
|
+
* @description initializes Sortable on passed element ref and reinitializes it after each reorder
|
|
15
|
+
*
|
|
16
|
+
* WHY TO REINITIALIZE SORTABLE AFTER EACH ARRAY REORDER?
|
|
17
|
+
* Sortable and Vue both changing DOM so that there are collisions
|
|
18
|
+
* because both Vue and Sortable try to put element to the position. So element is put incorrectly.
|
|
19
|
+
*
|
|
20
|
+
* There are 2 vue packages for sortable (vue 2 and vue 3), but I had encountered issues when tried to use them.
|
|
21
|
+
* Also, it seems to me that they aren't supported now :(
|
|
22
|
+
*
|
|
23
|
+
* So that I decided to reinitialize Sortable each time order changes to represent it correctly.
|
|
24
|
+
* Bad decision, but I haven't come up with a better one
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
// eslint-disable-next-line import/prefer-default-export
|
|
28
|
+
export function useDestroyableSortable(elRef, options) {
|
|
29
|
+
let sortable = null;
|
|
30
|
+
|
|
31
|
+
const reloadSortable = ref(false);
|
|
32
|
+
|
|
33
|
+
function destroySortable() {
|
|
34
|
+
return sortable.destroy();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function initSortable() {
|
|
38
|
+
const replaceSortable = async () => {
|
|
39
|
+
if (!sortable) return;
|
|
40
|
+
destroySortable();
|
|
41
|
+
reloadSortable.value = true;
|
|
42
|
+
await nextTick();
|
|
43
|
+
reloadSortable.value = false;
|
|
44
|
+
await nextTick();
|
|
45
|
+
initSortable();
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
sortable = Sortable.create(elRef.value, {
|
|
49
|
+
...options,
|
|
50
|
+
onEnd: async (e) => {
|
|
51
|
+
if (options.onEnd) options.onEnd(e);
|
|
52
|
+
await replaceSortable();
|
|
53
|
+
},
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
onMounted(() => {
|
|
58
|
+
initSortable();
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
onUnmounted(() => {
|
|
62
|
+
destroySortable();
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
return { reloadSortable };
|
|
66
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useRepresentableAgentPauseCause,
|
|
3
|
+
} from '../useRepresentableAgentPauseCause';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
describe('useRepresentableAgentPauseCause', () => {
|
|
7
|
+
it('correctly computes duration', () => {
|
|
8
|
+
const pauseCauses = { value: [{ durationMin: 10, limitMin: 12 }] };
|
|
9
|
+
const {
|
|
10
|
+
representablePauseCause,
|
|
11
|
+
} = useRepresentableAgentPauseCause(pauseCauses);
|
|
12
|
+
expect(representablePauseCause.value[0].duration).toBe('00:10');
|
|
13
|
+
});
|
|
14
|
+
it('isOverflow with limit = 0 returns false', () => {
|
|
15
|
+
const pauseCauses = { value: [{ durationMin: 10, limitMin: 0 }] };
|
|
16
|
+
const {
|
|
17
|
+
representablePauseCause,
|
|
18
|
+
} = useRepresentableAgentPauseCause(pauseCauses);
|
|
19
|
+
expect(representablePauseCause.value[0].isOverflow).toBe(false);
|
|
20
|
+
});
|
|
21
|
+
it('isOverflow with duration < limit returns false', () => {
|
|
22
|
+
const pauseCauses = { value: [{ durationMin: 10, limitMin: 12 }] };
|
|
23
|
+
const {
|
|
24
|
+
representablePauseCause,
|
|
25
|
+
} = useRepresentableAgentPauseCause(pauseCauses);
|
|
26
|
+
expect(representablePauseCause.value[0].isOverflow).toBe(false);
|
|
27
|
+
});
|
|
28
|
+
it('isOverflow with duration > limit returns true', () => {
|
|
29
|
+
const pauseCauses = { value: [{ durationMin: 14, limitMin: 12 }] };
|
|
30
|
+
const {
|
|
31
|
+
representablePauseCause,
|
|
32
|
+
} = useRepresentableAgentPauseCause(pauseCauses);
|
|
33
|
+
expect(representablePauseCause.value[0].isOverflow).toBe(true);
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
it('isOverflow with duration = limit returns false', () => {
|
|
37
|
+
const pauseCauses = { value: [{ durationMin: 12, limitMin: 12 }] };
|
|
38
|
+
const {
|
|
39
|
+
representablePauseCause,
|
|
40
|
+
} = useRepresentableAgentPauseCause(pauseCauses);
|
|
41
|
+
expect(representablePauseCause.value[0].isOverflow).toBe(false);
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
it('correctly computes progressColor', () => {
|
|
45
|
+
const pauseCauses = { value: [{ durationMin: 10, limitMin: 12 }] };
|
|
46
|
+
const {
|
|
47
|
+
representablePauseCause,
|
|
48
|
+
} = useRepresentableAgentPauseCause(pauseCauses);
|
|
49
|
+
expect(representablePauseCause.value[0].progressColor).toBe('primary');
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
it('correctly computes progressColor with duration > limit', () => {
|
|
53
|
+
const pauseCauses = { value: [{ durationMin: 14, limitMin: 12 }] };
|
|
54
|
+
const {
|
|
55
|
+
representablePauseCause,
|
|
56
|
+
} = useRepresentableAgentPauseCause(pauseCauses);
|
|
57
|
+
expect(representablePauseCause.value[0].progressColor).toBe('danger');
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
it('correctly computes progressColor with duration < limit', () => {
|
|
61
|
+
const pauseCauses = { value: [{ durationMin: 3, limitMin: 12 }] };
|
|
62
|
+
const {
|
|
63
|
+
representablePauseCause,
|
|
64
|
+
} = useRepresentableAgentPauseCause(pauseCauses);
|
|
65
|
+
expect(representablePauseCause.value[0].progressColor).toBe('success');
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
it('correctly computes progressColor with duration = limit', () => {
|
|
69
|
+
const pauseCauses = { value: [{ durationMin: 12, limitMin: 12 }] };
|
|
70
|
+
const {
|
|
71
|
+
representablePauseCause,
|
|
72
|
+
} = useRepresentableAgentPauseCause(pauseCauses);
|
|
73
|
+
expect(representablePauseCause.value[0].progressColor).toBe('primary');
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
it('correctly computes limit', () => {
|
|
77
|
+
const pauseCauses = { value: [{ durationMin: 12, limitMin: 12 }] };
|
|
78
|
+
const {
|
|
79
|
+
representablePauseCause,
|
|
80
|
+
} = useRepresentableAgentPauseCause(pauseCauses);
|
|
81
|
+
expect(representablePauseCause.value[0].limit).toBe('00:12');
|
|
82
|
+
});
|
|
83
|
+
});
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { computed } from 'vue';
|
|
2
|
+
import convertDuration from '../../scripts/convertDuration';
|
|
3
|
+
|
|
4
|
+
const prettifyPauseCauseDuration = (min) => {
|
|
5
|
+
const SEC_IN_MIN = 60;
|
|
6
|
+
const secDuration = convertDuration(min * SEC_IN_MIN);
|
|
7
|
+
return secDuration.slice(0, -3);
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const isDurationOverflow = ({ durationMin, limitMin }) => {
|
|
11
|
+
return (durationMin > limitMin) && limitMin !== 0;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const duration = ({ durationMin, limitMin }) => {
|
|
15
|
+
return isDurationOverflow({ durationMin, limitMin })
|
|
16
|
+
? `-${prettifyPauseCauseDuration(durationMin - limitMin)}`
|
|
17
|
+
: prettifyPauseCauseDuration(durationMin);
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
const pauseCauseProgressColor = ({ durationMin, limitMin }) => {
|
|
21
|
+
if (isDurationOverflow({ durationMin, limitMin })) return 'danger';
|
|
22
|
+
if (durationMin <= (limitMin * 0.75)) return 'success';
|
|
23
|
+
return 'primary';
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
// eslint-disable-next-line import/prefer-default-export
|
|
27
|
+
export const useRepresentableAgentPauseCause = (pauseCauses) => {
|
|
28
|
+
const representablePauseCause = computed(() => pauseCauses.value.map((pauseCause) => ({
|
|
29
|
+
...pauseCause,
|
|
30
|
+
duration: duration(pauseCause),
|
|
31
|
+
progressColor: pauseCauseProgressColor(pauseCause),
|
|
32
|
+
isOverflow: isDurationOverflow(pauseCause),
|
|
33
|
+
limit: prettifyPauseCauseDuration(pauseCause.limitMin),
|
|
34
|
+
})));
|
|
35
|
+
|
|
36
|
+
return { representablePauseCause };
|
|
37
|
+
};
|
package/src/css/main.scss
CHANGED
|
@@ -1,150 +1,180 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
--_accent-color-hue: 42;
|
|
4
|
-
--_secondary-color-hue: 202;
|
|
5
|
-
--_page-bg-color-hue: 209;
|
|
6
|
-
--_icon-color-hue: 202;
|
|
7
|
-
--_positive-color-hue: 119;
|
|
8
|
-
--_negative-color-hue: 11;
|
|
9
|
-
|
|
10
|
-
--_hold-color-hue: 54;
|
|
11
|
-
--_transfer-color-hue: 227;
|
|
12
|
-
--_job-color-hue: 209;
|
|
13
|
-
|
|
14
|
-
// DEFAULT STATES OPACITY
|
|
15
|
-
--_opacity--default: 0.8;
|
|
16
|
-
--_opacity--hover: 1;
|
|
17
|
-
--_opacity--active: 1;
|
|
18
|
-
--_opacity--focus: 0.8;
|
|
19
|
-
--_opacity--disabled: 0.4;
|
|
20
|
-
|
|
21
|
-
// BASIC HSL COLORS VALUES
|
|
22
|
-
--_accent-color: var(--_accent-color-hue), 100%, 50%;
|
|
23
|
-
--_main-color: var(--_accent-color-hue), 20%, 99%;
|
|
24
|
-
--_contrast-color: var(--_accent-color-hue), 20%, 1%;
|
|
25
|
-
--_secondary-color: var(--_secondary-color-hue), 20%, 90%;
|
|
26
|
-
--_secondary-color-50: var(--_secondary-color-hue), 22%, 96%;
|
|
27
|
-
--_page-bg-color: var(--_page-bg-color-hue), 20%, 95%;
|
|
28
|
-
--_header-color: var(--_page-bg-color-hue), 20%, 90%;
|
|
29
|
-
--_positive-color: var(--_positive-color-hue), 60%, 40%;
|
|
30
|
-
--_negative-color: var(--_negative-color-hue) , 80%, 50%;
|
|
31
|
-
--_icon-color: var(--_icon-color-hue), 100%, 15%;
|
|
32
|
-
|
|
33
|
-
--_hold-color: var(--_hold-color-hue), 80%, 50%;
|
|
34
|
-
--_transfer-color: var(--_transfer-color-hue), 80%, 50%;
|
|
35
|
-
--_job-color: var(--_job-color-hue), 96%, 57%;
|
|
36
|
-
|
|
37
|
-
// MAIN COLORS
|
|
38
|
-
--accent-color: hsla(var(--_accent-color), 1);
|
|
39
|
-
|
|
40
|
-
--main-color: hsla(var(--_main-color), 1);
|
|
41
|
-
|
|
42
|
-
--contrast-color: hsla(var(--_contrast-color), 1);
|
|
43
|
-
|
|
44
|
-
--secondary-color: hsla(var(--_secondary-color), 1);
|
|
45
|
-
--secondary-color-50: hsla(var(--_secondary-color-50), 1);
|
|
46
|
-
|
|
47
|
-
// ICON COLORS
|
|
48
|
-
--icon-color: hsla(var(--_icon-color), var(--_opacity--default));
|
|
49
|
-
--icon-color-secondary: hsla(var(--_icon-color), 0.25);
|
|
50
|
-
|
|
51
|
-
--icon-color--hover: hsla(var(--_icon-color), var(--_opacity--hover));
|
|
52
|
-
|
|
53
|
-
--icon-color-accent: var(--accent-color);
|
|
54
|
-
--icon-color-contrast: hsla(var(--_main-color), var(--_opacity--default));
|
|
55
|
-
--icon-color-active: var(--icon-color--hover);
|
|
56
|
-
--icon-color-disabled: hsla(var(--_icon-color), var(--_opacity--disabled));
|
|
57
|
-
--icon-color-success: var(--true-color);
|
|
58
|
-
--icon-color-danger: var(--false-color);
|
|
59
|
-
--icon-color-transfer: var(--transfer-color);
|
|
60
|
-
--icon-color-hold: var(--hold-color);
|
|
61
|
-
--icon-color-secondary-50: var(--secondary-color-50);
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
--page-bg-color: hsla(var(--_page-bg-color), 1);
|
|
65
|
-
--header-color: hsla(var(--_header-color), 1);
|
|
66
|
-
|
|
67
|
-
--accent-secondary-color: hsla(var(--_accent-color), 0.3);
|
|
68
|
-
|
|
69
|
-
// SEMANTIC COLORS
|
|
70
|
-
--disabled-color: hsl(var(--_contrast-color), var(--_opacity--disabled));
|
|
71
|
-
|
|
72
|
-
--true-color: hsla(var(--_positive-color), var(--_opacity--default));
|
|
73
|
-
--true--hover-color: hsla(var(--_positive-color), var(--_opacity--hover));
|
|
74
|
-
|
|
75
|
-
--false-color: hsla(var(--_negative-color), var(--_opacity--default));
|
|
76
|
-
--false--hover-color: hsla(var(--_negative-color), var(--_opacity--hover));
|
|
77
|
-
|
|
78
|
-
--hold-color: hsla(var(--_hold-color), var(--_opacity--default));
|
|
79
|
-
--hold--hover-color: hsla(var(--_hold-color), var(--_opacity--hover));
|
|
80
|
-
|
|
81
|
-
--transfer-color: hsla(var(--_transfer-color), var(--_opacity--default));
|
|
82
|
-
--transfer--hover-color: hsla(var(--_transfer-color), var(--_opacity--hover));
|
|
83
|
-
|
|
84
|
-
--job-color: hsla(var(--_job-color), var(--_opacity--default));
|
|
85
|
-
--job--hover-color: hsla(var(--_job-color), var(--_opacity--hover));
|
|
86
|
-
|
|
87
|
-
--link-color: hsla(205, 90%, 45%, 1);
|
|
88
|
-
--link--hover-color: hsla(205, 90%, 60%, 1);
|
|
89
|
-
|
|
90
|
-
// SUBORDINATE COLORS
|
|
91
|
-
--tag-bg-color: var(--accent-secondary-color);
|
|
92
|
-
|
|
93
|
-
// FORM STATES OPACITY
|
|
94
|
-
--form-opacity--default: var(--_opacity--default);
|
|
95
|
-
--form-opacity--hover: var(--_opacity--hover);
|
|
96
|
-
--form-opacity--active: var(--_opacity--active);
|
|
97
|
-
--form-opacity--focus: var(--_opacity--focus);
|
|
98
|
-
--form-opacity--disabled: var(--_opacity--disabled);
|
|
99
|
-
|
|
100
|
-
--form-placeholder-opacity: 0.6;
|
|
101
|
-
--form-placeholder-opacity--focus: 0.4;
|
|
102
|
-
--form-border-opacity--disabled: 0.05;
|
|
103
|
-
|
|
104
|
-
--form-opacity--ouline--default: 0.4;
|
|
105
|
-
--form-opacity--ouline--hover: 0.7;
|
|
106
|
-
|
|
107
|
-
// FORM COLORS
|
|
108
|
-
--form-input-color: var(--contrast-color); // user input color
|
|
109
|
-
|
|
110
|
-
--form-label-color: hsla(var(--_contrast-color), var(--form-opacity--default));
|
|
111
|
-
--form-label--hover-color: hsla(var(--_contrast-color), var(--form-opacity--hover));
|
|
112
|
-
--form-label--active-color: hsla(var(--_contrast-color), var(--form-opacity--active));
|
|
113
|
-
--form-label--disabled-color: hsla(var(--_contrast-color), var(--form-opacity--disabled));
|
|
114
|
-
|
|
115
|
-
--form-border-color: hsla(var(--_contrast-color), var(--form-opacity--default));
|
|
116
|
-
--form-border--hover-color: hsla(var(--_contrast-color), var(--form-opacity--hover));
|
|
117
|
-
--form-border--disabled-color: hsla(var(--_contrast-color), var(--form-border-opacity--disabled));
|
|
1
|
+
@import './deprecated';
|
|
2
|
+
@import './palette';
|
|
118
3
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
--
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
--
|
|
125
|
-
|
|
126
|
-
--
|
|
127
|
-
--
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
--
|
|
131
|
-
--
|
|
132
|
-
--
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
--
|
|
136
|
-
--
|
|
137
|
-
--
|
|
138
|
-
--
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
--
|
|
142
|
-
--
|
|
143
|
-
--
|
|
144
|
-
--
|
|
4
|
+
:root {
|
|
5
|
+
// dp colors
|
|
6
|
+
--dp-24-surface-color: hsl(0, 0%, 100%);
|
|
7
|
+
--dp-23-surface-color: hsl(225, 20%, 99%);
|
|
8
|
+
--dp-22-surface-color: hsl(225, 20%, 98%);
|
|
9
|
+
--dp-21-surface-color: hsl(225, 20%, 97%);
|
|
10
|
+
--dp-20-surface-color: hsl(225, 20%, 96%);
|
|
11
|
+
--dp-19-surface-color: hsl(225, 20%, 95%);
|
|
12
|
+
--dp-18-surface-color: hsl(225, 20%, 94%);
|
|
13
|
+
--dp-17-surface-color: hsl(225, 20%, 93%);
|
|
14
|
+
--dp-16-surface-color: hsl(225, 20%, 92%);
|
|
15
|
+
--dp-15-surface-color: hsl(225, 20%, 91%);
|
|
16
|
+
--dp-14-surface-color: hsl(225, 20%, 90%);
|
|
17
|
+
--dp-13-surface-color: hsl(225, 20%, 89%);
|
|
18
|
+
--dp-12-surface-color: hsl(225, 20%, 88%);
|
|
19
|
+
--dp-11-surface-color: hsl(225, 20%, 87%);
|
|
20
|
+
--dp-10-surface-color: hsl(225, 20%, 86%);
|
|
21
|
+
--dp-9-surface-color: hsl(225, 20%, 85%);
|
|
22
|
+
--dp-8-surface-color: hsl(225, 20%, 84%);
|
|
23
|
+
--dp-7-surface-color: hsl(225, 20%, 83%);
|
|
24
|
+
--dp-6-surface-color: hsl(225, 20%, 82%);
|
|
25
|
+
--dp-5-surface-color: hsl(225, 20%, 81%);
|
|
26
|
+
--dp-4-surface-color: hsl(225, 20%, 80%);
|
|
27
|
+
--dp-3-surface-color: hsl(225, 20%, 79%);
|
|
28
|
+
--dp-2-surface-color: hsl(225, 20%, 78%);
|
|
29
|
+
--dp-1-surface-color: hsl(225, 20%, 77%);
|
|
30
|
+
|
|
31
|
+
// content wrapper
|
|
32
|
+
--content-wrapper-color: var(--dp-24-surface-color);
|
|
33
|
+
|
|
34
|
+
// success colors
|
|
35
|
+
--success-color: var(--green-darken-4);
|
|
36
|
+
--success-hover-color: var(--green-darken-3);
|
|
37
|
+
--success-light-color: var(--green-lighten-4);
|
|
38
|
+
--on-success-color: var(--black);
|
|
39
|
+
|
|
40
|
+
// warning colors
|
|
41
|
+
--warning-color: var(--orange-accent-2);
|
|
42
|
+
--warning-hover-color: var(--orange-accent-1);
|
|
43
|
+
--warning-light-color: var(--orange-lighten-4);
|
|
44
|
+
--on-warning-color: var(--black);
|
|
45
|
+
|
|
46
|
+
// error colors
|
|
47
|
+
--error-color: var(--red-accent-2);
|
|
48
|
+
--error-hover-color: var(--red-lighten-2);
|
|
49
|
+
--error-light-color: var(--red-lighten-4);
|
|
50
|
+
--on-error-color: var(--black);
|
|
51
|
+
|
|
52
|
+
// info colors
|
|
53
|
+
--info-color: var(--blue-darken-1);
|
|
54
|
+
--info-hover-color: var(--blue-lighten-1);
|
|
55
|
+
--info-light-color: var(--blue-lighten-4);
|
|
56
|
+
--on-info-color: var(--black);
|
|
57
|
+
|
|
58
|
+
// job colors
|
|
59
|
+
--job-color: var(--blue-darken-1);
|
|
60
|
+
--job-hover-color: var(--blue-lighten-1);
|
|
61
|
+
--job-light-color: var(--blue-lighten-4);
|
|
62
|
+
--on-job-color: var(--black);
|
|
63
|
+
|
|
64
|
+
// chat colors
|
|
65
|
+
--chat-color: var(--indigo-accent-2);
|
|
66
|
+
--chat-hover-color: var(--indigo-accent-2);
|
|
67
|
+
--chat-light-color: var(--indigo-lighten-4);
|
|
68
|
+
--on-chat-color: var(--black);
|
|
69
|
+
|
|
70
|
+
// transfer colors
|
|
71
|
+
--transfer-color: var(--indigo-lighten-1);
|
|
72
|
+
--transfer-hover-color: var(--indigo-lighten-2);
|
|
73
|
+
--transfer-light-color: var(--indigo-lighten-4);
|
|
74
|
+
--on-transfer-color: var(--white);
|
|
75
|
+
|
|
76
|
+
// primary colors
|
|
77
|
+
--primary-color: var(--amber-accent-3);
|
|
78
|
+
--primary-hover-color: var(--amber-accent-2);
|
|
79
|
+
--primary-light-color: var(--amber-lighten-4);
|
|
80
|
+
--on-primary-color: var(--black);
|
|
81
|
+
|
|
82
|
+
// accent colors
|
|
83
|
+
--accent-color: var(--purple-lighten-1);
|
|
84
|
+
--sub-accent-color: var(--indigo-darken-3);
|
|
85
|
+
|
|
86
|
+
// typography colors
|
|
87
|
+
--main-text-color: var(--grey-darken-3);
|
|
88
|
+
--main-text-disabled-color: var(--grey-lighten-1);
|
|
89
|
+
--negative-text-color: var(--error-color);
|
|
90
|
+
--link-color: var(--info-color);
|
|
91
|
+
}
|
|
145
92
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
--
|
|
149
|
-
--
|
|
93
|
+
:root.theme--dark {
|
|
94
|
+
// dp colors
|
|
95
|
+
--dp-24-surface-color: hsl(0, 0%, 25%);
|
|
96
|
+
--dp-23-surface-color: hsl(225, 20%, 24%);
|
|
97
|
+
--dp-22-surface-color: hsl(225, 20%, 23%);
|
|
98
|
+
--dp-21-surface-color: hsl(225, 20%, 22%);
|
|
99
|
+
--dp-20-surface-color: hsl(225, 20%, 21%);
|
|
100
|
+
--dp-19-surface-color: hsl(225, 20%, 20%);
|
|
101
|
+
--dp-18-surface-color: hsl(225, 20%, 19%);
|
|
102
|
+
--dp-17-surface-color: hsl(225, 20%, 18%);
|
|
103
|
+
--dp-16-surface-color: hsl(225, 20%, 17%);
|
|
104
|
+
--dp-15-surface-color: hsl(225, 20%, 16%);
|
|
105
|
+
--dp-14-surface-color: hsl(225, 20%, 15%);
|
|
106
|
+
--dp-13-surface-color: hsl(225, 20%, 14%);
|
|
107
|
+
--dp-12-surface-color: hsl(225, 20%, 13%);
|
|
108
|
+
--dp-11-surface-color: hsl(225, 20%, 12%);
|
|
109
|
+
--dp-10-surface-color: hsl(225, 20%, 11%);
|
|
110
|
+
--dp-9-surface-color: hsl(225, 20%, 10%);
|
|
111
|
+
--dp-8-surface-color: hsl(225, 20%, 9%);
|
|
112
|
+
--dp-7-surface-color: hsl(225, 20%, 8%);
|
|
113
|
+
--dp-6-surface-color: hsl(225, 20%, 7%);
|
|
114
|
+
--dp-5-surface-color: hsl(225, 20%, 6%);
|
|
115
|
+
--dp-4-surface-color: hsl(225, 20%, 5%);
|
|
116
|
+
--dp-3-surface-color: hsl(225, 20%, 4%);
|
|
117
|
+
--dp-2-surface-color: hsl(225, 20%, 3%);
|
|
118
|
+
--dp-1-surface-color: hsl(225, 20%, 2%);
|
|
119
|
+
|
|
120
|
+
// content wrapper
|
|
121
|
+
--content-wrapper-color: var(--dp-24-surface-color);
|
|
122
|
+
|
|
123
|
+
// success colors
|
|
124
|
+
--success-color: var(--green-darken-4);
|
|
125
|
+
--success-hover-color: var(--green-darken-3);
|
|
126
|
+
--success-light-color: var(--green-lighten-3);
|
|
127
|
+
--on-success-color: var(--white);
|
|
128
|
+
|
|
129
|
+
// warning colors
|
|
130
|
+
--warning-color: var(--orange-accent-2);
|
|
131
|
+
--warning-hover-color: var(--orange-accent-1);
|
|
132
|
+
--warning-light-color: var(--orange-lighten-3);
|
|
133
|
+
--on-warning-color: var(--white);
|
|
134
|
+
|
|
135
|
+
// error colors
|
|
136
|
+
--error-color: var(--red-accent-2);
|
|
137
|
+
--error-hover-color: var(--red-lighten-2);
|
|
138
|
+
--error-light-color: var(--red-lighten-3);
|
|
139
|
+
--on-error-color: var(--white);
|
|
140
|
+
|
|
141
|
+
// info colors
|
|
142
|
+
--info-color: var(--blue-darken-1);
|
|
143
|
+
--info-hover-color: var(--blue-lighten-1);
|
|
144
|
+
--info-light-color: var(--blue-lighten-3);
|
|
145
|
+
--on-info-color: var(--white);
|
|
146
|
+
|
|
147
|
+
// job colors
|
|
148
|
+
--job-color: var(--blue-darken-1);
|
|
149
|
+
--job-hover-color: var(--blue-lighten-1);
|
|
150
|
+
--job-light-color: var(--blue-lighten-3);
|
|
151
|
+
--on-job-color: var(--white);
|
|
152
|
+
|
|
153
|
+
// chat colors
|
|
154
|
+
--chat-color: var(--indigo-accent-2);
|
|
155
|
+
--chat-hover-color: var(--indigo-accent-2);
|
|
156
|
+
--chat-light-color: var(--indigo-lighten-3);
|
|
157
|
+
--on-chat-color: var(--white);
|
|
158
|
+
|
|
159
|
+
// transfer colors
|
|
160
|
+
--transfer-color: var(--indigo-darken-1);
|
|
161
|
+
--transfer-hover-color: var(--indigo-lighten-1);
|
|
162
|
+
--transfer-light-color: var(--indigo-lighten-4);
|
|
163
|
+
--on-transfer-color: var(--white);
|
|
164
|
+
|
|
165
|
+
// primary colors
|
|
166
|
+
--primary-color: var(--amber-accent-2);
|
|
167
|
+
--primary-hover-color: var(--amber-accent-3);
|
|
168
|
+
--primary-light-color: var(--amber-lighten-4);
|
|
169
|
+
--on-primary-color: var(--black);
|
|
170
|
+
|
|
171
|
+
// accent colors
|
|
172
|
+
--accent-color: var(--purple-lighten-1);
|
|
173
|
+
--sub-accent-color: var(--indigo-darken-3);
|
|
174
|
+
|
|
175
|
+
// typography colors
|
|
176
|
+
--main-text-color: var(--grey-lighten-3);
|
|
177
|
+
--main-text-disabled-color: var(--grey-darken-1);
|
|
178
|
+
--negative-text-color: var(--error-color);
|
|
179
|
+
--link-color: var(--info-color);
|
|
150
180
|
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
@import './palette';
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
// HSL COLORS HUE VALUE
|
|
5
|
+
--_accent-color-hue: 42;
|
|
6
|
+
--_secondary-color-hue: 202;
|
|
7
|
+
--_page-bg-color-hue: 209;
|
|
8
|
+
--_icon-color-hue: 202;
|
|
9
|
+
--_positive-color-hue: 119;
|
|
10
|
+
--_negative-color-hue: 11;
|
|
11
|
+
|
|
12
|
+
--_hold-color-hue: 54;
|
|
13
|
+
--_transfer-color-hue: 227;
|
|
14
|
+
--_job-color-hue: 209;
|
|
15
|
+
|
|
16
|
+
// DEFAULT STATES OPACITY
|
|
17
|
+
--_opacity--default: 0.8;
|
|
18
|
+
--_opacity--hover: 1;
|
|
19
|
+
--_opacity--active: 1;
|
|
20
|
+
--_opacity--focus: 0.8;
|
|
21
|
+
--_opacity--disabled: 0.4;
|
|
22
|
+
|
|
23
|
+
// BASIC HSL COLORS VALUES
|
|
24
|
+
--_accent-color: var(--_accent-color-hue), 100%, 50%;
|
|
25
|
+
--_main-color: var(--_accent-color-hue), 20%, 99%;
|
|
26
|
+
--_contrast-color: var(--_accent-color-hue), 20%, 1%;
|
|
27
|
+
--_secondary-color: var(--_secondary-color-hue), 20%, 90%;
|
|
28
|
+
--_secondary-color-50: var(--_secondary-color-hue), 22%, 96%;
|
|
29
|
+
--_page-bg-color: var(--_page-bg-color-hue), 20%, 95%;
|
|
30
|
+
--_header-color: var(--_page-bg-color-hue), 20%, 90%;
|
|
31
|
+
--_positive-color: var(--_positive-color-hue), 60%, 40%;
|
|
32
|
+
--_negative-color: var(--_negative-color-hue) , 80%, 50%;
|
|
33
|
+
--_icon-color: var(--_icon-color-hue), 100%, 15%;
|
|
34
|
+
|
|
35
|
+
--_hold-color: var(--_hold-color-hue), 80%, 50%;
|
|
36
|
+
--_transfer-color: var(--_transfer-color-hue), 80%, 50%;
|
|
37
|
+
--_job-color: var(--_job-color-hue), 96%, 57%;
|
|
38
|
+
|
|
39
|
+
// MAIN COLORS
|
|
40
|
+
--accent-color: hsla(var(--_accent-color), 1);
|
|
41
|
+
|
|
42
|
+
--main-color: hsla(var(--_main-color), 1);
|
|
43
|
+
|
|
44
|
+
--contrast-color: hsla(var(--_contrast-color), 1);
|
|
45
|
+
|
|
46
|
+
--secondary-color: hsla(var(--_secondary-color), 1);
|
|
47
|
+
--secondary-color-50: hsla(var(--_secondary-color-50), 1);
|
|
48
|
+
|
|
49
|
+
// ICON COLORS
|
|
50
|
+
--icon-color-secondary: hsla(var(--_icon-color), 0.25);
|
|
51
|
+
|
|
52
|
+
--icon-color--hover: hsla(var(--_icon-color), var(--_opacity--hover));
|
|
53
|
+
|
|
54
|
+
--icon-color-accent: var(--accent-color);
|
|
55
|
+
--icon-color-contrast: hsla(var(--_main-color), var(--_opacity--default));
|
|
56
|
+
--icon-color-active: var(--icon-color--hover);
|
|
57
|
+
--icon-color-disabled: hsla(var(--_icon-color), var(--_opacity--disabled));
|
|
58
|
+
--icon-color-success: var(--true-color);
|
|
59
|
+
--icon-color-danger: var(--false-color);
|
|
60
|
+
--icon-color-transfer: var(--transfer-color);
|
|
61
|
+
--icon-color-hold: var(--hold-color);
|
|
62
|
+
--icon-color-secondary-50: var(--secondary-color-50);
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
--page-bg-color: hsla(var(--_page-bg-color), 1);
|
|
66
|
+
--header-color: hsla(var(--_header-color), 1);
|
|
67
|
+
|
|
68
|
+
--accent-secondary-color: hsla(var(--_accent-color), 0.3);
|
|
69
|
+
|
|
70
|
+
// SEMANTIC COLORS
|
|
71
|
+
--disabled-color: hsl(var(--_contrast-color), var(--_opacity--disabled));
|
|
72
|
+
|
|
73
|
+
--true-color: hsla(var(--_positive-color), var(--_opacity--default));
|
|
74
|
+
--true--hover-color: hsla(var(--_positive-color), var(--_opacity--hover));
|
|
75
|
+
|
|
76
|
+
--false-color: hsla(var(--_negative-color), var(--_opacity--default));
|
|
77
|
+
--false--hover-color: hsla(var(--_negative-color), var(--_opacity--hover));
|
|
78
|
+
|
|
79
|
+
--hold-color: hsla(var(--_hold-color), var(--_opacity--default));
|
|
80
|
+
--hold--hover-color: hsla(var(--_hold-color), var(--_opacity--hover));
|
|
81
|
+
|
|
82
|
+
--transfer-color: hsla(var(--_transfer-color), var(--_opacity--default));
|
|
83
|
+
--transfer--hover-color: hsla(var(--_transfer-color), var(--_opacity--hover));
|
|
84
|
+
|
|
85
|
+
--job-color: hsla(var(--_job-color), var(--_opacity--default));
|
|
86
|
+
--job--hover-color: hsla(var(--_job-color), var(--_opacity--hover));
|
|
87
|
+
|
|
88
|
+
--link-color: hsla(205, 90%, 45%, 1);
|
|
89
|
+
--link--hover-color: hsla(205, 90%, 60%, 1);
|
|
90
|
+
|
|
91
|
+
// SUBORDINATE COLORS
|
|
92
|
+
--tag-bg-color: var(--accent-secondary-color);
|
|
93
|
+
|
|
94
|
+
// FORM STATES OPACITY
|
|
95
|
+
--form-opacity--default: var(--_opacity--default);
|
|
96
|
+
--form-opacity--hover: var(--_opacity--hover);
|
|
97
|
+
--form-opacity--active: var(--_opacity--active);
|
|
98
|
+
--form-opacity--focus: var(--_opacity--focus);
|
|
99
|
+
--form-opacity--disabled: var(--_opacity--disabled);
|
|
100
|
+
|
|
101
|
+
--form-placeholder-opacity: 0.6;
|
|
102
|
+
--form-placeholder-opacity--focus: 0.4;
|
|
103
|
+
--form-border-opacity--disabled: 0.05;
|
|
104
|
+
|
|
105
|
+
--form-opacity--ouline--default: 0.4;
|
|
106
|
+
--form-opacity--ouline--hover: 0.7;
|
|
107
|
+
|
|
108
|
+
// FORM COLORS
|
|
109
|
+
--form-input-color: var(--contrast-color); // user input color
|
|
110
|
+
|
|
111
|
+
--form-label-color: hsla(var(--_contrast-color), var(--form-opacity--default));
|
|
112
|
+
--form-label--hover-color: hsla(var(--_contrast-color), var(--form-opacity--hover));
|
|
113
|
+
--form-label--active-color: hsla(var(--_contrast-color), var(--form-opacity--active));
|
|
114
|
+
--form-label--disabled-color: hsla(var(--_contrast-color), var(--form-opacity--disabled));
|
|
115
|
+
|
|
116
|
+
--form-border-color: hsla(var(--_contrast-color), var(--form-opacity--default));
|
|
117
|
+
--form-border--hover-color: hsla(var(--_contrast-color), var(--form-opacity--hover));
|
|
118
|
+
--form-border--disabled-color: hsla(var(--_contrast-color), var(--form-border-opacity--disabled));
|
|
119
|
+
|
|
120
|
+
--form-placeholder-color: hsla(var(--_contrast-color), var(--form-placeholder-opacity));
|
|
121
|
+
--form-placeholder-color--focus: hsla(var(--_contrast-color), var(--form-placeholder-opacity--focus));
|
|
122
|
+
--form-placeholder-color--disabled: hsla(var(--_contrast-color), var(--form-opacity--disabled));
|
|
123
|
+
|
|
124
|
+
// outline
|
|
125
|
+
--form-outline-label-color: hsla(var(--_contrast-color), var(--form-opacity--default));
|
|
126
|
+
|
|
127
|
+
--form-outline-border-color: hsla(var(--_contrast-color), var(--form-opacity--ouline--default));
|
|
128
|
+
--form-outline-border--hover-color: hsla(var(--_contrast-color), var(--form-opacity--ouline--hover));
|
|
129
|
+
|
|
130
|
+
// TEXT OPACITY
|
|
131
|
+
--text-opacity--default: var(--_opacity--default);
|
|
132
|
+
--text-opacity----outline--default: 0.7;
|
|
133
|
+
--text-opacity--disabled: 0.5;
|
|
134
|
+
|
|
135
|
+
// TEXT COLORS
|
|
136
|
+
--text-primary-color: hsla(var(--_contrast-color), var(--text-opacity--default));
|
|
137
|
+
--text-outline-color: hsla(var(--_contrast-color), var(--text-opacity----outline--default));
|
|
138
|
+
--text-contrast-color: hsla(var(--_main-color), var(--text-opacity--default));
|
|
139
|
+
--text--disabled-color: hsla(var(--_contrast-color), var(--text-opacity--disabled));
|
|
140
|
+
|
|
141
|
+
// CHAT COLORS
|
|
142
|
+
--_chat-client-color: var(--_accent-color);
|
|
143
|
+
--_chat-client-opacity: 0.2;
|
|
144
|
+
--_chat-agent-color: var(--_secondary-color-50);
|
|
145
|
+
--_chat-agent-opacity: 1;
|
|
146
|
+
|
|
147
|
+
--chat-client-message-bg-color: hsla(var(--_chat-client-color), var(--_chat-client-opacity));
|
|
148
|
+
--chat-agent-message-bg-color: hsla(var(--_chat-agent-color), var(--_chat-agent-opacity));
|
|
149
|
+
--chat-client-attachment-bg-color: hsla(var(--_chat-client-color), var(--_chat-client-opacity));
|
|
150
|
+
--chat-agent-attachment-bg-color: hsla(var(--_chat-agent-color), var(--_chat-agent-opacity));
|
|
151
|
+
}
|