@webitel/ui-sdk 3.2.123 → 3.2.125
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui-sdk.common.js +735 -729
- package/dist/ui-sdk.common.js.map +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.umd.js +737 -731
- package/dist/ui-sdk.umd.js.map +1 -1
- package/dist/ui-sdk.umd.min.js +1 -1
- package/dist/ui-sdk.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/index.js +56 -59
- package/src/components/{organisms/wt-app-header → wt-app-header}/__tests__/WtAppNavigator.spec.js +1 -1
- package/src/{css/components/organisms → components}/wt-app-header/_variables.scss +1 -1
- package/src/components/wt-app-header/wt-app-header.vue +26 -0
- package/src/components/{organisms/wt-app-header → wt-app-header}/wt-app-navigator.vue +9 -9
- package/src/{css/components/atoms → components}/wt-avatar/_variables.scss +1 -1
- package/src/components/{atoms/wt-avatar → wt-avatar}/wt-avatar.vue +4 -2
- package/src/components/{atoms/wt-badge → wt-badge}/wt-badge.vue +17 -13
- package/src/{css/components/atoms → components}/wt-button/_variables.scss +0 -1
- package/src/components/{atoms/wt-button → wt-button}/wt-button.vue +2 -0
- package/src/{css/components/molecules → components}/wt-button-select/_variables.scss +1 -1
- package/src/components/{molecules/wt-button-select → wt-button-select}/wt-button-select.vue +2 -0
- package/src/components/{molecules/wt-checkbox → wt-checkbox}/__tests__/WtCheckbox.spec.js +1 -1
- package/src/components/wt-checkbox/wt-checkbox.vue +182 -0
- package/src/components/wt-chip/wt-chip.vue +24 -0
- package/src/components/{atoms/wt-context-menu → wt-context-menu}/wt-context-menu.vue +2 -0
- package/src/components/{molecules/wt-datepicker → wt-datepicker}/__tests__/WtDatepicker.spec.js +1 -1
- package/src/components/{molecules/wt-datepicker → wt-datepicker}/wt-datepicker.vue +2 -0
- package/src/components/wt-divider/wt-divider.vue +27 -0
- package/src/components/{molecules/wt-dummy → wt-dummy}/wt-dummy.vue +1 -1
- package/src/components/{organisms/wt-error-page → wt-error-page}/wt-error-page.vue +2 -2
- package/src/components/{organisms/wt-headline → wt-headline}/wt-headline.vue +2 -0
- package/src/components/{organisms/wt-headline-nav → wt-headline-nav}/wt-headline-nav.vue +2 -0
- package/src/components/{atoms/wt-icon → wt-icon}/wt-icon.vue +17 -1
- package/src/components/{molecules/wt-icon-btn → wt-icon-btn}/__tests__/WtIconBtn.spec.js +1 -1
- package/src/components/{molecules/wt-icon-btn → wt-icon-btn}/wt-icon-btn.vue +1 -1
- package/src/components/{atoms/wt-indicator → wt-indicator}/wt-indicator.vue +2 -0
- package/src/components/{molecules/wt-input → wt-input}/wt-input.vue +3 -1
- package/src/components/wt-input-info/wt-input-info.vue +37 -0
- package/src/components/{molecules/wt-label → wt-label}/wt-label.vue +2 -0
- package/src/components/{molecules/wt-load-bar → wt-load-bar}/wt-load-bar.vue +2 -0
- package/src/components/{atoms/wt-loader → wt-loader}/wt-loader.vue +19 -17
- package/src/components/{organisms/wt-navigation-bar → wt-navigation-bar}/wt-navigation-bar.vue +15 -13
- package/src/components/{molecules/wt-notification → wt-notification}/__tests__/WtNotification.spec.js +1 -1
- package/src/components/wt-notification/wt-notification.vue +83 -0
- package/src/components/{organisms/wt-notifications-bar → wt-notifications-bar}/__tests__/WtNotificationsBar.spec.js +2 -2
- package/src/components/{organisms/wt-notifications-bar → wt-notifications-bar}/wt-notifications-bar.vue +2 -0
- package/src/components/{organisms/wt-page-header → wt-page-header}/wt-page-header.vue +1 -0
- package/src/components/{organisms/wt-page-wrapper → wt-page-wrapper}/wt-page-wrapper.vue +2 -0
- package/src/components/{organisms/wt-pagination → wt-pagination}/wt-pagination.vue +3 -1
- package/src/components/{organisms/wt-player → wt-player}/wt-player.vue +9 -4
- package/src/components/{molecules/wt-popup → wt-popup}/wt-popup.vue +2 -0
- package/src/components/{molecules/wt-progress-bar → wt-progress-bar}/wt-progress-bar.vue +9 -2
- package/src/components/{molecules/wt-radio → wt-radio}/__tests__/WtRadio.spec.js +1 -1
- package/src/components/wt-radio/wt-radio.vue +177 -0
- package/src/components/{atoms/wt-rounded-action → wt-rounded-action}/wt-rounded-action.vue +2 -0
- package/src/components/{molecules/wt-search-bar → wt-search-bar}/wt-search-bar.vue +3 -1
- package/src/{css/components/molecules → components}/wt-select/_multiselect.scss +1 -1
- package/src/components/{molecules/wt-select → wt-select}/mixins/multiselectMixin.js +3 -3
- package/src/components/{molecules/wt-select → wt-select}/wt-select.vue +2 -1
- package/src/components/{molecules/wt-slider → wt-slider}/wt-slider.vue +2 -0
- 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 +4 -2
- package/src/components/wt-switcher/wt-switcher.vue +185 -0
- package/src/components/{organisms/wt-table → wt-table}/__tests__/WtTable.spec.js +1 -1
- package/src/components/{organisms/wt-table → wt-table}/wt-table.vue +2 -0
- package/src/components/{organisms/wt-table-actions → wt-table-actions}/wt-table-actions.vue +2 -0
- package/src/components/{molecules/wt-tabs → wt-tabs}/wt-tabs.vue +2 -0
- package/src/components/{molecules/wt-tags-input → wt-tags-input}/wt-tags-input.vue +2 -1
- package/src/components/wt-textarea/wt-textarea.vue +217 -0
- package/src/components/{molecules/wt-time-input → wt-time-input}/wt-time-input.vue +1 -1
- package/src/components/{molecules/wt-timepicker → wt-timepicker}/wt-timepicker.vue +4 -2
- package/src/components/wt-tooltip/_variables.scss +11 -0
- package/src/components/{atoms/wt-tooltip → wt-tooltip}/wt-tooltip.vue +2 -0
- package/src/css/main.scss +0 -2
- package/src/modules/AuditForm/components/audit-form-question-read-wrapper.vue +1 -1
- package/src/modules/AuditForm/components/audit-form-question-write-wrapper.vue +5 -5
- package/src/modules/AuditForm/components/audit-form.vue +1 -1
- package/src/modules/AuditForm/components/questions/options/audit-form-question-options-write-row.vue +3 -3
- package/src/modules/AuditForm/components/questions/options/audit-form-question-options.vue +2 -2
- package/src/modules/AuditForm/components/questions/score/audit-form-question-score.vue +2 -2
- package/src/modules/CardStoreModule/composables/useCardStore.js +5 -0
- package/src/modules/CardStoreModule/store/CardStoreModule.js +3 -0
- 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-input-info/wt-input-info.vue +0 -35
- package/src/components/molecules/wt-checkbox/wt-checkbox.vue +0 -180
- package/src/components/molecules/wt-notification/wt-notification.vue +0 -75
- package/src/components/molecules/wt-radio/wt-radio.vue +0 -174
- 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/organisms/wt-app-header/wt-app-header.vue +0 -24
- package/src/css/components/_components.scss +0 -45
- package/src/css/components/atoms/wt-tooltip/_variables.scss +0 -29
- package/src/css/components/molecules/wt-icon-btn/_variables.scss +0 -3
- package/src/css/components/organisms/wt-icon-action/_variables.scss +0 -0
- /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}/__tests__/WtHeaderActions.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/components/{atoms/wt-button → wt-button}/__tests__/WtButton.spec.js +0 -0
- /package/src/components/{molecules/wt-button-select → wt-button-select}/__tests__/WtButtonSelect.spec.js +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/{css/components/atoms → components}/wt-chip/wt-chip.scss +0 -0
- /package/src/components/{atoms/wt-context-menu → wt-context-menu}/__tests__/WtContextMenu.spec.js +0 -0
- /package/src/{css/components/atoms → components}/wt-context-menu/_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/{css/components/molecules → components}/wt-datepicker/_variables.scss +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/{molecules/wt-dummy → wt-dummy}/__tests__/WtDummy.spec.js +0 -0
- /package/src/components/{organisms/wt-error-page → wt-error-page}/__tests__/wt-error-page.spec.js +0 -0
- /package/src/components/{organisms/wt-expansion-panel → wt-expansion-panel}/__tests__/WtExpansionPanel.spec.js +0 -0
- /package/src/components/{organisms/wt-expansion-panel → wt-expansion-panel}/wt-expansion-panel.vue +0 -0
- /package/src/components/{organisms/wt-filters-panel-wrapper → wt-filters-panel-wrapper}/__tests__/WtFiltersPanelWrapper.spec.js +0 -0
- /package/src/components/{organisms/wt-filters-panel-wrapper → wt-filters-panel-wrapper}/wt-filters-panel-wrapper.vue +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/{organisms/wt-headline-nav → wt-headline-nav}/__tests__/wt-headline-nav.spec.js +0 -0
- /package/src/{css/components/organisms → components}/wt-headline-nav/_variables.scss +0 -0
- /package/src/components/{molecules/wt-hint → wt-hint}/__tests__/WtHint.spec.js +0 -0
- /package/src/components/{molecules/wt-hint → wt-hint}/wt-hint.vue +0 -0
- /package/src/components/{atoms/wt-icon → wt-icon}/__tests__/WtIcon.spec.js +0 -0
- /package/src/{css/components/atoms → components}/wt-icon/_variables.scss +0 -0
- /package/src/components/{atoms/wt-icon-action → wt-icon-action}/__tests__/WtIconAction.spec.js +0 -0
- /package/src/components/{atoms/wt-icon-action → wt-icon-action}/_internals/__tests__/WtAddIconAction.spec.js +0 -0
- /package/src/components/{atoms/wt-icon-action → wt-icon-action}/_internals/__tests__/WtDeleteIconAction.spec.js +0 -0
- /package/src/components/{atoms/wt-icon-action → wt-icon-action}/_internals/__tests__/WtDownloadIconAction.spec.js +0 -0
- /package/src/components/{atoms/wt-icon-action → wt-icon-action}/_internals/__tests__/WtEditIconAction.spec.js +0 -0
- /package/src/components/{atoms/wt-icon-action → wt-icon-action}/_internals/__tests__/WtHistoryIconAction.spec.js +0 -0
- /package/src/components/{atoms/wt-icon-action → wt-icon-action}/_internals/__tests__/WtRefreshIconAction.spec.js +0 -0
- /package/src/components/{atoms/wt-icon-action → wt-icon-action}/_internals/wt-add-icon-action.vue +0 -0
- /package/src/components/{atoms/wt-icon-action → wt-icon-action}/_internals/wt-delete-icon-action.vue +0 -0
- /package/src/components/{atoms/wt-icon-action → wt-icon-action}/_internals/wt-download-icon-action.vue +0 -0
- /package/src/components/{atoms/wt-icon-action → wt-icon-action}/_internals/wt-edit-icon-action.vue +0 -0
- /package/src/components/{atoms/wt-icon-action → wt-icon-action}/_internals/wt-history-icon-action.vue +0 -0
- /package/src/components/{atoms/wt-icon-action → wt-icon-action}/_internals/wt-refresh-icon-action.vue +0 -0
- /package/src/components/{atoms/wt-icon-action → wt-icon-action}/wt-icon-action.vue +0 -0
- /package/src/components/{atoms/wt-indicator → wt-indicator}/__tests__/WtIndicator.spec.js +0 -0
- /package/src/{css/components/atoms → components}/wt-indicator/_variables.scss +0 -0
- /package/src/components/{molecules/wt-input → wt-input}/__tests__/WtInput.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/{css/components/atoms → components}/wt-input-info/_variables.scss +0 -0
- /package/src/components/{molecules/wt-item-link → wt-item-link}/__tests__/WtItemLink.spec.js +0 -0
- /package/src/components/{molecules/wt-item-link → wt-item-link}/wt-item-link.vue +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/atoms → components}/wt-loader/_variables.scss +0 -0
- /package/src/components/{organisms/wt-navigation-bar → wt-navigation-bar}/__tests__/WtNavigationBar.spec.js +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-header → wt-page-header}/__tests__/wt-page-header.spec.js +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/components/{organisms/wt-pagination → wt-pagination}/__tests__/WtPagination.spec.js +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/{css/components/organisms → components}/wt-player/_variables.scss +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/components/{molecules/wt-progress-bar → wt-progress-bar}/__tests__/WtProgressBar.spec.js +0 -0
- /package/src/{css/components/molecules → components}/wt-progress-bar/_variables.scss +0 -0
- /package/src/{css/components/molecules → components}/wt-radio/_variables.scss +0 -0
- /package/src/components/{atoms/wt-rounded-action → wt-rounded-action}/__tests__/WtRoundedAction.spec.js +0 -0
- /package/src/{css/components/atoms → components}/wt-rounded-action/_variables.scss +0 -0
- /package/src/components/{molecules/wt-search-bar → wt-search-bar}/__tests__/WtSearchBar.spec.js +0 -0
- /package/src/{css/components/molecules → components}/wt-search-bar/_variables.scss +0 -0
- /package/src/components/{molecules/wt-select → wt-select}/__tests__/WtSelect.spec.js +0 -0
- /package/src/{css/components/molecules → components}/wt-select/_variables.scss +0 -0
- /package/src/components/{molecules/wt-select → wt-select}/mixins/__tests__/multiselectMixin.spec.js +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/components/{organisms/wt-stepper → wt-stepper}/__tests__/WtStepper.spec.vue.js +0 -0
- /package/src/components/{organisms/wt-stepper → wt-stepper}/wt-stepper.vue +0 -0
- /package/src/components/{molecules/wt-switcher → wt-switcher}/__tests__/WtSwitcher.spec.js +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/components/{organisms/wt-table-column-select → wt-table-column-select}/__tests__/WtTableColumnSelect.spec.js +0 -0
- /package/src/components/{organisms/wt-table-column-select → wt-table-column-select}/wt-table-column-select.vue +0 -0
- /package/src/components/{molecules/wt-tabs → wt-tabs}/__tests__/WtTabs.spec.js +0 -0
- /package/src/{css/components/molecules → components}/wt-tabs/_variables.scss +0 -0
- /package/src/components/{molecules/wt-tags-input → wt-tags-input}/__tests__/WtTagsInput.spec.js +0 -0
- /package/src/{css/components/molecules → components}/wt-tags-input/_variables.scss +0 -0
- /package/src/components/{molecules/wt-textarea → wt-textarea}/__tests__/WtTextarea.spec.js +0 -0
- /package/src/{css/components/molecules → components}/wt-textarea/_variables.scss +0 -0
- /package/src/components/{molecules/wt-time-input → wt-time-input}/__tests__/WtTimeInput.spec.js +0 -0
- /package/src/components/{molecules/wt-timepicker → wt-timepicker}/__tests__/WtTimepicker.spec.js +0 -0
- /package/src/{css/components/molecules → components}/wt-timepicker/_variables.scss +0 -0
- /package/src/components/{atoms/wt-tooltip → wt-tooltip}/__tests__/WtTooltip.spec.js +0 -0
- /package/src/components/{atoms/wt-tooltip → wt-tooltip}/_internals/useTooltipTriggerSubscriptions.js +0 -0
- /package/src/components/{atoms/wt-tooltip → wt-tooltip}/_internals/wt-tooltip-floating.vue +0 -0
package/package.json
CHANGED
package/src/components/index.js
CHANGED
|
@@ -1,63 +1,60 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import WtIconAction from './atoms/wt-icon-action/wt-icon-action.vue';
|
|
57
|
-
import WtPageHeader from './organisms/wt-page-header/wt-page-header.vue';
|
|
58
|
-
import WtStepper from './organisms/wt-stepper/wt-stepper.vue';
|
|
1
|
+
import WtAvatar from './wt-avatar/wt-avatar.vue';
|
|
2
|
+
import WtBadge from './wt-badge/wt-badge.vue';
|
|
3
|
+
import WtIcon from './wt-icon/wt-icon.vue';
|
|
4
|
+
import WtIndicator from './wt-indicator/wt-indicator.vue';
|
|
5
|
+
import WtInputInfo from './wt-input-info/wt-input-info.vue';
|
|
6
|
+
import WtButton from './wt-button/wt-button.vue';
|
|
7
|
+
import WtChip from './wt-chip/wt-chip.vue';
|
|
8
|
+
import WtDivider from './wt-divider/wt-divider.vue';
|
|
9
|
+
import WtTooltip from './wt-tooltip/wt-tooltip.vue';
|
|
10
|
+
import WtRoundedAction from './wt-rounded-action/wt-rounded-action.vue';
|
|
11
|
+
import WtLoader from './wt-loader/wt-loader.vue';
|
|
12
|
+
import WtContextMenu from './wt-context-menu/wt-context-menu.vue';
|
|
13
|
+
import WtCheckbox from './wt-checkbox/wt-checkbox.vue';
|
|
14
|
+
import WtDatepicker from './wt-datepicker/wt-datepicker.vue';
|
|
15
|
+
import WtIconBtn from './wt-icon-btn/wt-icon-btn.vue';
|
|
16
|
+
import WtInput from './wt-input/wt-input.vue';
|
|
17
|
+
import WtNotification from './wt-notification/wt-notification.vue';
|
|
18
|
+
import WtPopup from './wt-popup/wt-popup.vue';
|
|
19
|
+
import WtProgressBar from './wt-progress-bar/wt-progress-bar.vue';
|
|
20
|
+
import WtRadio from './wt-radio/wt-radio.vue';
|
|
21
|
+
import WtSearchBar from './wt-search-bar/wt-search-bar.vue';
|
|
22
|
+
import WtSelect from './wt-select/wt-select.vue';
|
|
23
|
+
import WtSlider from './wt-slider/wt-slider.vue';
|
|
24
|
+
import WtSwitcher from './wt-switcher/wt-switcher.vue';
|
|
25
|
+
import WtTabs from './wt-tabs/wt-tabs.vue';
|
|
26
|
+
import WtTagsInput from './wt-tags-input/wt-tags-input.vue';
|
|
27
|
+
import WtTimeInput from './wt-time-input/wt-time-input.vue';
|
|
28
|
+
import WtTextarea from './wt-textarea/wt-textarea.vue';
|
|
29
|
+
import WtTimepicker from './wt-timepicker/wt-timepicker.vue';
|
|
30
|
+
import WtLabel from './wt-label/wt-label.vue';
|
|
31
|
+
import WtButtonSelect from './wt-button-select/wt-button-select.vue';
|
|
32
|
+
import WtHint from './wt-hint/wt-hint.vue';
|
|
33
|
+
import WtCopyAction from './wt-copy-action/wt-copy-action.vue';
|
|
34
|
+
import WtLoadBar from './wt-load-bar/wt-load-bar.vue';
|
|
35
|
+
import WtItemLink from './wt-item-link/wt-item-link.vue';
|
|
36
|
+
import WtDummy from './wt-dummy/wt-dummy.vue';
|
|
37
|
+
import WtAppHeader from './wt-app-header/wt-app-header.vue';
|
|
38
|
+
import WtAppNavigator from './wt-app-header/wt-app-navigator.vue';
|
|
39
|
+
import WtFiltersPanelWrapper from './wt-filters-panel-wrapper/wt-filters-panel-wrapper.vue';
|
|
40
|
+
import WtHeaderActions from './wt-app-header/wt-header-actions.vue';
|
|
41
|
+
import WtErrorPage from './wt-error-page/wt-error-page.vue';
|
|
42
|
+
import WtHeadline from './wt-headline/wt-headline.vue';
|
|
43
|
+
import WtHeadlineNav from './wt-headline-nav/wt-headline-nav.vue';
|
|
44
|
+
import WtNavigationBar from './wt-navigation-bar/wt-navigation-bar.vue';
|
|
45
|
+
import WtNotificationsBar from './wt-notifications-bar/wt-notifications-bar.vue';
|
|
46
|
+
import WtPageWrapper from './wt-page-wrapper/wt-page-wrapper.vue';
|
|
47
|
+
import WtPagination from './wt-pagination/wt-pagination.vue';
|
|
48
|
+
import WtPlayer from './wt-player/wt-player.vue';
|
|
49
|
+
import WtStatusSelect from './wt-status-select/wt-status-select.vue';
|
|
50
|
+
import WtTable from './wt-table/wt-table.vue';
|
|
51
|
+
import WtTableActions from './wt-table-actions/wt-table-actions.vue';
|
|
52
|
+
import WtTableColumnSelect from './wt-table-column-select/wt-table-column-select.vue';
|
|
53
|
+
import WtIconAction from './wt-icon-action/wt-icon-action.vue';
|
|
54
|
+
import WtPageHeader from './wt-page-header/wt-page-header.vue';
|
|
55
|
+
import WtStepper from './wt-stepper/wt-stepper.vue';
|
|
59
56
|
import WtExpansionPanel
|
|
60
|
-
from './
|
|
57
|
+
from './wt-expansion-panel/wt-expansion-panel.vue';
|
|
61
58
|
|
|
62
59
|
const Components = {
|
|
63
60
|
WtAvatar,
|
package/src/components/{organisms/wt-app-header → wt-app-header}/__tests__/WtAppNavigator.spec.js
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shallowMount } from '@vue/test-utils';
|
|
2
|
-
import WebitelApplications from '
|
|
2
|
+
import WebitelApplications from '../../../enums/WebitelApplications/WebitelApplications.enum';
|
|
3
3
|
import WtAppNavigator from '../wt-app-navigator.vue';
|
|
4
4
|
|
|
5
5
|
const apps = [
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<header class="wt-app-header">
|
|
3
|
+
<slot></slot>
|
|
4
|
+
</header>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
export default {
|
|
9
|
+
name: 'wt-app-header',
|
|
10
|
+
};
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<style lang="scss" scoped>
|
|
14
|
+
@import './variables.scss';
|
|
15
|
+
|
|
16
|
+
.wt-app-header {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: flex-end;
|
|
20
|
+
gap: var(--wt-app-header-content-gap);
|
|
21
|
+
min-height: var(--wt-app-header-min-height); // fixed height because anything can be put inside slot, so padding won't work properly
|
|
22
|
+
padding: var(--wt-app-header-padding);
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
background: var(--header-color);
|
|
25
|
+
}
|
|
26
|
+
</style>
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<img
|
|
37
37
|
:alt="`${[WebitelApplications.AGENT]}-pic`"
|
|
38
38
|
class="wt-app-navigator__card__img"
|
|
39
|
-
src="
|
|
39
|
+
src="../../assets/components/organisms/wt-app-header/app-navigator/app-agent.svg"
|
|
40
40
|
>
|
|
41
41
|
</a>
|
|
42
42
|
</li>
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
<img
|
|
56
56
|
:alt="`${[WebitelApplications.SUPERVISOR]}-pic`"
|
|
57
57
|
class="wt-app-navigator__card__img"
|
|
58
|
-
src="
|
|
58
|
+
src="../../assets/components/organisms/wt-app-header/app-navigator/app-supervisor.svg"
|
|
59
59
|
>
|
|
60
60
|
</a>
|
|
61
61
|
</li>
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
<img
|
|
75
75
|
:alt="`${[WebitelApplications.HISTORY]}-pic`"
|
|
76
76
|
class="wt-app-navigator__card__img"
|
|
77
|
-
src="
|
|
77
|
+
src="../../assets/components/organisms/wt-app-header/app-navigator/app-history.svg"
|
|
78
78
|
>
|
|
79
79
|
</a>
|
|
80
80
|
</li>
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
<img
|
|
94
94
|
:alt="`${[WebitelApplications.AUDIT]}-pic`"
|
|
95
95
|
class="wt-app-navigator__card__img"
|
|
96
|
-
src="
|
|
96
|
+
src="../../assets/components/organisms/wt-app-header/app-navigator/app-audit.svg"
|
|
97
97
|
>
|
|
98
98
|
</a>
|
|
99
99
|
</li>
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
<img
|
|
113
113
|
:alt="`${[WebitelApplications.ADMIN]}-pic`"
|
|
114
114
|
class="wt-app-navigator__card__img"
|
|
115
|
-
src="
|
|
115
|
+
src="../../assets/components/organisms/wt-app-header/app-navigator/app-admin.svg"
|
|
116
116
|
>
|
|
117
117
|
</a>
|
|
118
118
|
</li>
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
<img
|
|
132
132
|
:alt="`${[WebitelApplications.ANALYTICS]}-pic`"
|
|
133
133
|
class="wt-app-navigator__card__img"
|
|
134
|
-
src="
|
|
134
|
+
src="../../assets/components/organisms/wt-app-header/app-navigator/app-analytics.svg"
|
|
135
135
|
>
|
|
136
136
|
</a>
|
|
137
137
|
</li>
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
<img
|
|
151
151
|
:alt="`${[WebitelApplications.AUDIT]}-pic`"
|
|
152
152
|
class="wt-app-navigator__card__img"
|
|
153
|
-
src="
|
|
153
|
+
src="../../assets/components/organisms/wt-app-header/app-navigator/app-audit.svg"
|
|
154
154
|
>
|
|
155
155
|
</a>
|
|
156
156
|
</li>
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
<img
|
|
170
170
|
:alt="`${[WebitelApplications.CRM]}-pic`"
|
|
171
171
|
class="wt-app-navigator__card__img"
|
|
172
|
-
src="
|
|
172
|
+
src="../../assets/components/organisms/wt-app-header/app-navigator/app-crm.svg"
|
|
173
173
|
>
|
|
174
174
|
</a>
|
|
175
175
|
</li>
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
|
|
183
183
|
<script setup>
|
|
184
184
|
import { computed, ref } from 'vue';
|
|
185
|
-
import WebitelApplications from '
|
|
185
|
+
import WebitelApplications from '../../enums/WebitelApplications/WebitelApplications.enum';
|
|
186
186
|
|
|
187
187
|
const props = defineProps({
|
|
188
188
|
currentApp: {
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
|
|
27
27
|
<script setup>
|
|
28
28
|
import { computed } from 'vue';
|
|
29
|
-
import defaultAvatar from '
|
|
30
|
-
import AbstractUserStatus from '
|
|
29
|
+
import defaultAvatar from '../../assets/components/atoms/wt-avatar/default-avatar.svg';
|
|
30
|
+
import AbstractUserStatus from '../../enums/AbstractUserStatus/AbstractUserStatus.enum';
|
|
31
31
|
|
|
32
32
|
const props = defineProps({
|
|
33
33
|
src: {
|
|
@@ -103,6 +103,8 @@ const badgeColorVar = computed(() => {
|
|
|
103
103
|
</script>
|
|
104
104
|
|
|
105
105
|
<style lang="scss" scoped>
|
|
106
|
+
@import './variables.scss';
|
|
107
|
+
|
|
106
108
|
%wt-avatar-typo-sm {
|
|
107
109
|
font-size: 12px;
|
|
108
110
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
</template>
|
|
8
8
|
|
|
9
9
|
<script>
|
|
10
|
-
import BadgeDnd from '
|
|
10
|
+
import BadgeDnd from '../../assets/icons/badge-dnd.svg';
|
|
11
11
|
|
|
12
12
|
export default {
|
|
13
13
|
name: 'wt-badge',
|
|
@@ -28,8 +28,10 @@ export default {
|
|
|
28
28
|
computed: {
|
|
29
29
|
showIconBadge() {
|
|
30
30
|
switch (this.iconBadge) {
|
|
31
|
-
case 'dnd':
|
|
32
|
-
|
|
31
|
+
case 'dnd':
|
|
32
|
+
return BadgeDnd;
|
|
33
|
+
default:
|
|
34
|
+
return null;
|
|
33
35
|
}
|
|
34
36
|
},
|
|
35
37
|
},
|
|
@@ -37,16 +39,18 @@ export default {
|
|
|
37
39
|
</script>
|
|
38
40
|
|
|
39
41
|
<style lang="scss" scoped>
|
|
40
|
-
|
|
41
|
-
position: absolute;
|
|
42
|
-
top: 0;
|
|
43
|
-
right: 0;
|
|
44
|
-
width: var(--wt-badge-size);
|
|
45
|
-
height: var(--wt-badge-size);
|
|
46
|
-
border-radius: 50%;
|
|
42
|
+
@import './variables.scss';
|
|
47
43
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
.wt-badge {
|
|
45
|
+
position: absolute;
|
|
46
|
+
top: 0;
|
|
47
|
+
right: 0;
|
|
48
|
+
width: var(--wt-badge-size);
|
|
49
|
+
height: var(--wt-badge-size);
|
|
50
|
+
border-radius: 50%;
|
|
51
|
+
|
|
52
|
+
&--outside {
|
|
53
|
+
transform: translate(100%, -100%);
|
|
51
54
|
}
|
|
55
|
+
}
|
|
52
56
|
</style>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { shallowMount, mount } from '@vue/test-utils';
|
|
2
2
|
import WtCheckbox from '../wt-checkbox.vue';
|
|
3
3
|
import WtLabel from '../../wt-label/wt-label.vue';
|
|
4
|
-
import WtIcon from '
|
|
4
|
+
import WtIcon from '../../wt-icon/wt-icon.vue';
|
|
5
5
|
|
|
6
6
|
describe('WtCheckbox', () => {
|
|
7
7
|
it('renders a component', () => {
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
class="wt-checkbox"
|
|
4
|
+
:class="{
|
|
5
|
+
'wt-checkbox--active': isChecked,
|
|
6
|
+
'wt-checkbox--outline': outline,
|
|
7
|
+
'wt-checkbox--disabled': disabled,
|
|
8
|
+
}"
|
|
9
|
+
>
|
|
10
|
+
<wt-label class="wt-checkbox__wrapper" v-bind="labelProps">
|
|
11
|
+
<input
|
|
12
|
+
class="wt-checkbox__input"
|
|
13
|
+
type="checkbox"
|
|
14
|
+
:value="value"
|
|
15
|
+
:checked="isChecked"
|
|
16
|
+
:disabled="disabled"
|
|
17
|
+
@change="inputHandler"
|
|
18
|
+
>
|
|
19
|
+
<span class="wt-checkbox__checkmark">
|
|
20
|
+
<wt-icon
|
|
21
|
+
:icon="checkboxIcon"
|
|
22
|
+
:color="iconColor"
|
|
23
|
+
></wt-icon>
|
|
24
|
+
</span>
|
|
25
|
+
<!-- @slot Custom label markup -->
|
|
26
|
+
<slot name="label" v-bind="{ label, isChecked, disabled }">
|
|
27
|
+
<div v-if="label" class="wt-checkbox__label">{{ label }}</div>
|
|
28
|
+
</slot>
|
|
29
|
+
</wt-label>
|
|
30
|
+
</div>
|
|
31
|
+
</template>
|
|
32
|
+
|
|
33
|
+
<script>
|
|
34
|
+
export default {
|
|
35
|
+
name: 'wt-checkbox',
|
|
36
|
+
model: {
|
|
37
|
+
prop: 'selected',
|
|
38
|
+
event: 'change',
|
|
39
|
+
},
|
|
40
|
+
props: {
|
|
41
|
+
value: {
|
|
42
|
+
type: [String, Boolean],
|
|
43
|
+
default: '',
|
|
44
|
+
},
|
|
45
|
+
selected: {
|
|
46
|
+
type: [Array, Boolean],
|
|
47
|
+
default: () => [],
|
|
48
|
+
},
|
|
49
|
+
label: {
|
|
50
|
+
type: String,
|
|
51
|
+
default: '',
|
|
52
|
+
},
|
|
53
|
+
disabled: {
|
|
54
|
+
type: Boolean,
|
|
55
|
+
default: false,
|
|
56
|
+
},
|
|
57
|
+
outline: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
default: false,
|
|
60
|
+
},
|
|
61
|
+
labelProps: {
|
|
62
|
+
type: Object,
|
|
63
|
+
description: 'Object with props, passed down to wt-label as props',
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
emits: ['change'],
|
|
67
|
+
computed: {
|
|
68
|
+
isChecked() {
|
|
69
|
+
if (typeof this.selected === 'boolean') {
|
|
70
|
+
return this.selected;
|
|
71
|
+
}
|
|
72
|
+
return this.selected.includes(this.value);
|
|
73
|
+
},
|
|
74
|
+
checkboxIcon() {
|
|
75
|
+
return this.isChecked ? 'checkbox--checked' : 'checkbox';
|
|
76
|
+
},
|
|
77
|
+
iconColor() {
|
|
78
|
+
if (this.disabled) return 'disabled';
|
|
79
|
+
if (this.isChecked) return 'active';
|
|
80
|
+
return null;
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
methods: {
|
|
84
|
+
inputHandler() {
|
|
85
|
+
if (typeof this.selected === 'boolean') {
|
|
86
|
+
this.$emit('change', !this.selected);
|
|
87
|
+
} else {
|
|
88
|
+
let selected = [...this.selected];
|
|
89
|
+
if (selected.includes(this.value)) {
|
|
90
|
+
selected = selected.filter((value) => value !== this.value);
|
|
91
|
+
} else {
|
|
92
|
+
selected.push(this.value);
|
|
93
|
+
}
|
|
94
|
+
this.$emit('change', selected);
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
};
|
|
99
|
+
</script>
|
|
100
|
+
|
|
101
|
+
<style lang="scss" scoped>
|
|
102
|
+
@import './variables.scss';
|
|
103
|
+
|
|
104
|
+
.wt-checkbox {
|
|
105
|
+
@include width-fit-content;
|
|
106
|
+
box-sizing: border-box;
|
|
107
|
+
|
|
108
|
+
.wt-label {
|
|
109
|
+
cursor: pointer;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.wt-checkbox__wrapper {
|
|
114
|
+
position: relative;
|
|
115
|
+
display: flex;
|
|
116
|
+
align-items: center;
|
|
117
|
+
user-select: none;
|
|
118
|
+
|
|
119
|
+
.wt-checkbox__checkmark {
|
|
120
|
+
line-height: 0; // prevent icon height >> content
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.wt-checkbox__label {
|
|
125
|
+
margin-left: var(--checkbox-icon-margin);
|
|
126
|
+
transition: var(--transition);
|
|
127
|
+
cursor: pointer;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/* Hide the browser's default checkbox */
|
|
131
|
+
.wt-checkbox__input {
|
|
132
|
+
position: absolute;
|
|
133
|
+
width: 0;
|
|
134
|
+
height: 0;
|
|
135
|
+
opacity: 0;
|
|
136
|
+
pointer-events: none;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.wt-checkbox:hover {
|
|
140
|
+
.wt-checkbox__label {
|
|
141
|
+
color: var(--form-label--hover-color);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
::v-deep .wt-icon__icon {
|
|
145
|
+
fill: var(--icon-color--hover);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.wt-checkbox--active {
|
|
150
|
+
.wt-checkbox__label {
|
|
151
|
+
color: var(--form-label--active-color);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.wt-checkbox--outline {
|
|
156
|
+
.wt-checkbox__label {
|
|
157
|
+
color: var(--form-outline-label-color);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
::v-deep .wt-icon__icon {
|
|
161
|
+
fill: var(--icon-outline-color);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
&.wt-checkbox--active {
|
|
165
|
+
.wt-checkbox__label {
|
|
166
|
+
color: var(--form-label--active-color);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
::v-deep .wt-icon__icon {
|
|
170
|
+
fill: var(--icon-outline--active-color);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.wt-checkbox--disabled {
|
|
176
|
+
pointer-events: none;
|
|
177
|
+
|
|
178
|
+
.wt-checkbox__label {
|
|
179
|
+
color: var(--form-label--disabled-color);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
</style>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<span class="wt-chip" :class="`wt-chip--${color}-color`">
|
|
3
|
+
<slot></slot>
|
|
4
|
+
</span>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
export default {
|
|
9
|
+
name: 'wt-chip',
|
|
10
|
+
props: {
|
|
11
|
+
color: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: 'main',
|
|
14
|
+
options: ['main', 'outline', 'accent', 'secondary', 'secondary-50', 'success', 'danger', 'transfer'],
|
|
15
|
+
notes: '"main" and "outline" are chip-specific colors',
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<style lang="scss" scoped>
|
|
22
|
+
@import './wt-chip.scss';
|
|
23
|
+
@import './variables.scss';
|
|
24
|
+
</style>
|
package/src/components/{molecules/wt-datepicker → wt-datepicker}/__tests__/WtDatepicker.spec.js
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { shallowMount, mount } from '@vue/test-utils';
|
|
2
2
|
import WtDatepicker from '../wt-datepicker.vue';
|
|
3
3
|
import WtLabel from '../../wt-label/wt-label.vue';
|
|
4
|
-
import WtIcon from '
|
|
4
|
+
import WtIcon from '../../wt-icon/wt-icon.vue';
|
|
5
5
|
|
|
6
6
|
describe('WtDatepicker', () => {
|
|
7
7
|
it('renders a component', () => {
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<hr class="wt-divider">
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script>
|
|
6
|
+
export default {
|
|
7
|
+
name: 'wt-divider',
|
|
8
|
+
};
|
|
9
|
+
</script>
|
|
10
|
+
|
|
11
|
+
<style lang="scss" scoped>
|
|
12
|
+
@import './variables.scss';
|
|
13
|
+
|
|
14
|
+
.wt-divider {
|
|
15
|
+
display: block;
|
|
16
|
+
box-sizing: border-box;
|
|
17
|
+
width: 100%;
|
|
18
|
+
max-width: 100%;
|
|
19
|
+
height: 0;
|
|
20
|
+
max-height: 0;
|
|
21
|
+
padding: 0;
|
|
22
|
+
margin: 0;
|
|
23
|
+
border: var(--divider-border);
|
|
24
|
+
border-color: var(--divider-border-color);
|
|
25
|
+
border-top-width: thin;
|
|
26
|
+
}
|
|
27
|
+
</style>
|