@webitel/ui-sdk 23.12.39-vite-6 → 23.12.40
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/demo.html +1 -0
- package/dist/img/sprite/index.js +1 -147
- package/dist/ui-sdk.common.js +43304 -0
- package/dist/ui-sdk.common.js.map +1 -0
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.umd.js +43303 -18
- package/dist/ui-sdk.umd.js.map +1 -0
- package/dist/ui-sdk.umd.min.js +35 -0
- package/dist/ui-sdk.umd.min.js.map +1 -0
- package/package.json +38 -20
- package/src/components/on-demand/wt-cc-agent-status-timers/wt-cc-agent-status-timers.vue +3 -3
- package/src/components/on-demand/wt-save-failed-popup/__tests__/WtPopup.spec.js +9 -0
- package/src/components/on-demand/wt-save-failed-popup/wt-save-failed-popup.vue +70 -0
- package/src/components/transitions/wt-expand-transition.vue +2 -2
- package/src/components/wt-app-header/wt-app-header.vue +2 -2
- package/src/components/wt-app-header/wt-app-navigator.vue +5 -6
- package/src/components/wt-app-header/wt-header-actions.vue +14 -30
- package/src/components/wt-avatar/wt-avatar.vue +2 -2
- package/src/components/wt-badge/wt-badge.vue +3 -3
- package/src/components/wt-button/wt-button.vue +3 -5
- package/src/components/wt-button-select/__tests__/WtButtonSelect.spec.js +4 -4
- package/src/components/wt-button-select/wt-button-select.vue +3 -3
- package/src/components/wt-checkbox/wt-checkbox.vue +7 -12
- package/src/components/wt-chip/wt-chip.vue +3 -6
- package/src/components/wt-context-menu/wt-context-menu.vue +4 -4
- package/src/components/wt-copy-action/wt-copy-action.vue +6 -6
- package/src/components/wt-datepicker/wt-datepicker.vue +12 -14
- package/src/components/wt-divider/wt-divider.vue +1 -1
- package/src/components/wt-dummy/wt-dummy.vue +2 -6
- package/src/components/wt-error-page/wt-error-page.vue +4 -10
- package/src/components/wt-expansion-panel/wt-expansion-panel.vue +4 -4
- package/src/components/wt-filters-panel-wrapper/wt-filters-panel-wrapper.vue +4 -7
- package/src/components/wt-headline/wt-headline.vue +4 -4
- package/src/components/wt-headline-nav/wt-headline-nav.vue +4 -11
- package/src/components/wt-hint/wt-hint.vue +4 -4
- package/src/components/wt-icon/wt-icon.vue +5 -5
- package/src/components/wt-icon-action/_internals/wt-add-icon-action.vue +2 -2
- package/src/components/wt-icon-action/_internals/wt-delete-icon-action.vue +2 -2
- package/src/components/wt-icon-action/_internals/wt-download-icon-action.vue +2 -2
- package/src/components/wt-icon-action/_internals/wt-edit-icon-action.vue +2 -2
- package/src/components/wt-icon-action/_internals/wt-history-icon-action.vue +2 -2
- package/src/components/wt-icon-action/_internals/wt-refresh-icon-action.vue +2 -2
- package/src/components/wt-icon-action/wt-icon-action.vue +1 -1
- package/src/components/wt-icon-btn/wt-icon-btn.vue +1 -1
- package/src/components/wt-indicator/wt-indicator.vue +3 -6
- package/src/components/wt-input/wt-input.vue +182 -193
- package/src/components/wt-input-info/wt-input-info.vue +2 -2
- package/src/components/wt-item-link/wt-item-link.vue +1 -1
- package/src/components/wt-label/wt-label.vue +2 -2
- package/src/components/wt-load-bar/wt-load-bar.vue +2 -5
- package/src/components/wt-loader/_internals/wt-loader--md.vue +2 -11
- package/src/components/wt-loader/_internals/wt-loader--sm.vue +2 -9
- package/src/components/wt-loader/wt-loader.vue +3 -10
- package/src/components/wt-navigation-bar/wt-navigation-bar.vue +8 -16
- package/src/components/wt-notification/wt-notification.vue +3 -3
- package/src/components/wt-notifications-bar/wt-notifications-bar.vue +5 -9
- package/src/components/wt-page-header/wt-page-header.vue +8 -7
- package/src/components/wt-page-wrapper/wt-page-wrapper.vue +5 -8
- package/src/components/wt-pagination/wt-pagination.vue +15 -17
- package/src/components/wt-player/wt-player.vue +16 -16
- package/src/components/wt-popup/wt-popup.vue +7 -13
- package/src/components/wt-progress-bar/wt-progress-bar.vue +7 -11
- package/src/components/wt-radio/wt-radio.vue +7 -15
- package/src/components/wt-rounded-action/wt-rounded-action.vue +2 -2
- package/src/components/wt-search-bar/__tests__/WtSearchBar.spec.js +1 -1
- package/src/components/wt-search-bar/wt-search-bar.vue +5 -6
- package/src/components/wt-select/_multiselect.scss +1 -0
- package/src/components/wt-select/wt-select.vue +19 -33
- package/src/components/wt-slider/wt-slider.vue +5 -5
- package/src/components/wt-status-select/wt-status-select.vue +9 -9
- package/src/components/wt-stepper/wt-stepper.vue +6 -8
- package/src/components/wt-switcher/wt-switcher.vue +7 -12
- package/src/components/wt-table/wt-table.vue +72 -110
- package/src/components/wt-table-actions/wt-table-actions.vue +14 -14
- package/src/components/wt-table-column-select/wt-table-column-select.vue +26 -28
- package/src/components/wt-tabs/wt-tabs.vue +7 -7
- package/src/components/wt-tags-input/wt-tags-input.vue +15 -23
- package/src/components/wt-textarea/wt-textarea.vue +10 -15
- package/src/components/wt-time-input/wt-time-input.vue +4 -7
- package/src/components/wt-timepicker/wt-timepicker.vue +15 -19
- package/src/components/wt-tooltip/_internals/wt-tooltip-floating.vue +2 -2
- package/src/components/wt-tooltip/wt-tooltip.vue +4 -4
- package/src/composables/useCachedInterval/__tests__/useCachedInterval.spec.js +5 -5
- package/src/css/styleguide/colors/_colors.scss +8 -9
- package/src/locale/en/en.js +5 -0
- package/src/locale/i18n.js +1 -1
- package/src/locale/kz/kz.js +5 -0
- package/src/locale/ru/ru.js +5 -0
- package/src/locale/ua/ua.js +5 -0
- package/src/mixins/validationMixin/useValidation.js +2 -2
- package/src/modules/AgentStatusSelect/components/__tests__/wt-cc-agent-status-select.spec.js +4 -4
- package/src/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue +9 -11
- package/src/modules/AgentStatusSelect/components/_internals/wt-cc-status-select-error-popup.vue +5 -6
- package/src/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue +3 -3
- package/src/modules/AuditForm/components/__tests__/audit-form.spec.js +1 -1
- package/src/modules/AuditForm/components/audit-form-question-read-wrapper.vue +6 -10
- package/src/modules/AuditForm/components/audit-form-question-write-wrapper.vue +8 -8
- package/src/modules/AuditForm/components/audit-form-question.vue +8 -8
- package/src/modules/AuditForm/components/audit-form.vue +5 -6
- package/src/modules/AuditForm/components/questions/options/audit-form-question-options-write-row.vue +4 -4
- package/src/modules/AuditForm/components/questions/options/audit-form-question-options.vue +4 -7
- package/src/modules/AuditForm/components/questions/score/audit-form-question-score.vue +3 -3
- package/src/modules/CSVExport/__tests__/CSVExport.spec.js +2 -2
- package/src/modules/DeleteConfirmationPopup/__tests__/delete-confirmation-popup.spec.js +6 -6
- package/src/modules/DeleteConfirmationPopup/components/delete-confirmation-popup.vue +6 -13
- package/src/modules/FilesExport/__tests__/FilesExport.spec.js +3 -3
- package/src/modules/Filters/components/filter-pagination.vue +1 -1
- package/src/modules/Filters/components/filter-table-fields.vue +1 -1
- package/src/modules/Notifications/store/__tests__/NotificationsStoreModule.actions.spec.js +3 -3
- package/src/modules/QueryFilters/classes/__tests__/ApiFilterSchema.spec.js +1 -1
- package/src/modules/QueryFilters/components/__tests__/abstract-api-filter.spec.js +4 -4
- package/src/modules/QueryFilters/components/__tests__/filter-datetime.spec.js +2 -2
- package/src/modules/QueryFilters/components/__tests__/filter-from-to.spec.js +4 -4
- package/src/modules/QueryFilters/components/__tests__/filter-search.spec.js +2 -2
- package/src/modules/QueryFilters/components/abstract-api-filter.vue +2 -2
- package/src/modules/QueryFilters/components/abstract-enum-filter.vue +2 -2
- package/src/modules/QueryFilters/components/filter-datetime.vue +2 -2
- package/src/modules/QueryFilters/components/filter-from-to.vue +10 -12
- package/src/modules/QueryFilters/components/filter-search.vue +2 -2
- package/src/modules/QueryFilters/components/filter-table-fields.vue +7 -7
- package/src/modules/QueryFilters/mixins/__tests__/apiFilterMixin.spec.js +1 -1
- package/src/modules/QueryFilters/mixins/__tests__/enumFilterMixin.spec.js +2 -2
- package/src/modules/QueryFilters/mixins/__tests__/paginationFilterMixin.spec.js +2 -2
- package/src/modules/QueryFilters/mixins/__tests__/sortFilterMixin.spec.js +1 -1
- package/src/modules/QueryFilters/store/__tests__/QueryFiltersStoreModule.spec.js +2 -2
- package/src/modules/Userinfo/components/__tests__/auth.spec.js +4 -4
- package/src/modules/Userinfo/components/the-auth.vue +4 -7
- package/src/scripts/saveAsJSON.js +7 -0
- package/src/store/BaseStoreModules/__tests__/BaseStoreModule.spec.js +6 -6
- package/dist/favicon.ico +0 -0
- package/dist/plyr.svg +0 -70
- package/dist/ui-sdk.mjs +0 -22678
- package/src/components/wt-input/Readme.md +0 -96
- package/src/css/styleguide/colors/reusable/_text-field.scss +0 -20
- package/src/locale/.DS_Store +0 -0
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
```vue
|
|
2
|
-
<template>
|
|
3
|
-
<div>
|
|
4
|
-
<wt-input
|
|
5
|
-
:value="this.value"
|
|
6
|
-
label="Input"
|
|
7
|
-
name="label-input"
|
|
8
|
-
@input="this.handler"
|
|
9
|
-
></wt-input>
|
|
10
|
-
|
|
11
|
-
value: {{ this.value }}
|
|
12
|
-
</div>
|
|
13
|
-
</template>
|
|
14
|
-
|
|
15
|
-
<script setup>
|
|
16
|
-
import { ref } from 'vue';
|
|
17
|
-
|
|
18
|
-
const value = ref('');
|
|
19
|
-
|
|
20
|
-
const handler = (e) => {
|
|
21
|
-
value.value = e;
|
|
22
|
-
};
|
|
23
|
-
</script>
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
```vue
|
|
27
|
-
<template>
|
|
28
|
-
<wt-input
|
|
29
|
-
:value="this.value"
|
|
30
|
-
disabled
|
|
31
|
-
has-show-password
|
|
32
|
-
label="Disabled"
|
|
33
|
-
name="disabled-input"
|
|
34
|
-
type="password"
|
|
35
|
-
@input="this.handler"
|
|
36
|
-
></wt-input>
|
|
37
|
-
</template>
|
|
38
|
-
|
|
39
|
-
<script setup>
|
|
40
|
-
import { ref } from 'vue';
|
|
41
|
-
|
|
42
|
-
const value = ref('disabled value');
|
|
43
|
-
|
|
44
|
-
const handler = (e) => {
|
|
45
|
-
value.value = e;
|
|
46
|
-
};
|
|
47
|
-
</script>
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
```vue
|
|
51
|
-
<wt-input
|
|
52
|
-
v-model="value"
|
|
53
|
-
:v="vValid"
|
|
54
|
-
has-show-password
|
|
55
|
-
label="Password"
|
|
56
|
-
name="password-input"
|
|
57
|
-
type="password"
|
|
58
|
-
></wt-input>
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
```vue
|
|
62
|
-
<wt-input
|
|
63
|
-
v-model="value"
|
|
64
|
-
:v="vInvalid"
|
|
65
|
-
label="Invalid input"
|
|
66
|
-
name="invalid-input"
|
|
67
|
-
></wt-input>
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
```vue
|
|
71
|
-
|
|
72
|
-
<template>
|
|
73
|
-
<wt-input
|
|
74
|
-
:value="this.value"
|
|
75
|
-
label="After input slot usage"
|
|
76
|
-
@input="this.handler"
|
|
77
|
-
>
|
|
78
|
-
<template v-slot:after-input>
|
|
79
|
-
<wt-icon-btn icon="edit"></wt-icon-btn>
|
|
80
|
-
<wt-icon-btn icon="edit" size="sm"></wt-icon-btn>
|
|
81
|
-
<wt-icon-btn icon="edit"></wt-icon-btn>
|
|
82
|
-
<wt-icon-btn icon="edit" size="sm"></wt-icon-btn>
|
|
83
|
-
</template>
|
|
84
|
-
</wt-input>
|
|
85
|
-
</template>
|
|
86
|
-
|
|
87
|
-
<script setup>
|
|
88
|
-
import { ref } from 'vue';
|
|
89
|
-
|
|
90
|
-
const value = ref('loooooooooooooooooooooooooooooooooooooooooong value');
|
|
91
|
-
|
|
92
|
-
const handler = (e) => {
|
|
93
|
-
value.value = e;
|
|
94
|
-
};
|
|
95
|
-
</script>
|
|
96
|
-
```
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// shared text field colors
|
|
2
|
-
|
|
3
|
-
:root {
|
|
4
|
-
// TODO: move to separate helper-text component
|
|
5
|
-
--wt-helper-text-color: var(--text-main-color);
|
|
6
|
-
--wt-helper-text-disabled-color: var(--text-disabled-color);
|
|
7
|
-
|
|
8
|
-
--wt-text-field-error-text-color: var(--error-color);
|
|
9
|
-
--wt-text-field-placeholder-color: var(--text-main-color);
|
|
10
|
-
--wt-text-field-placeholder-error-color: var(--error-color);
|
|
11
|
-
--wt-text-field-placeholder-disabled-color: var(--text-disabled-color);
|
|
12
|
-
|
|
13
|
-
--wt-text-field-input-border-color: var(--grey-darken-1);
|
|
14
|
-
--wt-text-field-input-border-disabled-color: var(--dp-16-surface-color);
|
|
15
|
-
--wt-text-field-input-border-error-color: var(--error-color);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
:root.theme--dark {
|
|
19
|
-
--wt-text-field-input-border-color: var(--grey-lighten-1);
|
|
20
|
-
}
|
package/src/locale/.DS_Store
DELETED
|
Binary file
|