@webitel/ui-sdk 23.12.41 → 23.12.44
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/favicon.ico +0 -0
- package/dist/img/sprite/index.js +148 -1
- package/dist/img/sprite/variable-select.svg +9 -0
- package/dist/plyr.svg +70 -0
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.mjs +22671 -0
- package/dist/ui-sdk.umd.js +37 -43322
- package/package.json +33 -41
- package/src/components/on-demand/wt-cc-agent-status-timers/wt-cc-agent-status-timers.vue +3 -3
- 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 +6 -5
- package/src/components/wt-app-header/wt-header-actions.vue +30 -14
- 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 +5 -3
- 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 +15 -48
- package/src/components/wt-chip/_variables.scss +25 -2
- package/src/components/wt-chip/wt-chip.scss +20 -17
- package/src/components/wt-chip/wt-chip.vue +10 -5
- 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 +14 -12
- package/src/components/wt-divider/wt-divider.vue +1 -1
- package/src/components/wt-dummy/wt-dummy.vue +6 -2
- package/src/components/wt-error-page/wt-error-page.vue +10 -4
- package/src/components/wt-expansion-panel/wt-expansion-panel.vue +4 -4
- package/src/components/wt-filters-panel-wrapper/wt-filters-panel-wrapper.vue +7 -4
- package/src/components/wt-headline/wt-headline.vue +4 -4
- package/src/components/wt-headline-nav/wt-headline-nav.vue +11 -4
- 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 +3 -2
- package/src/components/wt-indicator/wt-indicator.vue +6 -3
- package/src/components/wt-input/wt-input.vue +190 -199
- 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/_variables.scss +4 -2
- package/src/components/wt-label/wt-label.vue +5 -18
- package/src/components/wt-load-bar/wt-load-bar.vue +5 -2
- package/src/components/wt-loader/_internals/wt-loader--md.vue +11 -2
- package/src/components/wt-loader/_internals/wt-loader--sm.vue +9 -2
- package/src/components/wt-loader/wt-loader.vue +10 -3
- package/src/components/wt-navigation-bar/wt-navigation-bar.vue +16 -8
- package/src/components/wt-notification/wt-notification.vue +3 -3
- package/src/components/wt-notifications-bar/wt-notifications-bar.vue +9 -5
- package/src/components/wt-page-header/wt-page-header.vue +7 -8
- package/src/components/wt-page-wrapper/wt-page-wrapper.vue +8 -5
- package/src/components/wt-pagination/wt-pagination.vue +17 -15
- package/src/components/wt-player/wt-player.vue +16 -16
- package/src/components/wt-popup/_variables.scss +4 -3
- package/src/components/wt-popup/wt-popup.vue +18 -10
- package/src/components/wt-progress-bar/wt-progress-bar.vue +11 -7
- package/src/components/wt-radio/wt-radio.vue +15 -7
- 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 +6 -5
- package/src/components/wt-select/_multiselect.scss +48 -53
- package/src/components/wt-select/_variables.scss +0 -3
- package/src/components/wt-select/wt-select.vue +41 -40
- 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 +8 -6
- package/src/components/wt-switcher/_variables.scss +30 -7
- package/src/components/wt-switcher/wt-switcher.vue +56 -35
- package/src/components/wt-table/_variables.scss +8 -5
- package/src/components/wt-table/wt-table.vue +123 -90
- package/src/components/wt-table-actions/wt-table-actions.vue +14 -14
- package/src/components/wt-table-column-select/wt-table-column-select.vue +33 -28
- package/src/components/wt-tabs/_variables.scss +4 -4
- package/src/components/wt-tabs/wt-tabs.vue +15 -13
- package/src/components/wt-tags-input/wt-tags-input.vue +26 -35
- package/src/components/wt-textarea/wt-textarea.vue +21 -33
- package/src/components/wt-time-input/wt-time-input.vue +24 -54
- package/src/components/wt-timepicker/wt-timepicker.vue +19 -27
- package/src/components/wt-tooltip/__tests__/WtTooltip.spec.js +0 -10
- package/src/components/wt-tooltip/_internals/wt-tooltip-floating.vue +2 -2
- package/src/components/wt-tooltip/_variables.scss +2 -4
- package/src/components/wt-tooltip/wt-tooltip.vue +6 -18
- package/src/composables/useCachedInterval/__tests__/useCachedInterval.spec.js +5 -5
- package/src/css/styleguide/colors/_colors.scss +15 -14
- package/src/css/styleguide/colors/reusable/_text-field.scss +36 -0
- package/src/css/styleguide/placeholder/_placeholder.scss +9 -9
- package/src/locale/i18n.js +1 -1
- package/src/locale/kz/kz.js +74 -78
- 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 +11 -9
- package/src/modules/AgentStatusSelect/components/_internals/wt-cc-status-select-error-popup.vue +6 -5
- 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 +10 -6
- 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 +6 -5
- 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 +7 -4
- package/src/modules/AuditForm/components/questions/score/audit-form-question-score.vue +3 -3
- package/src/modules/CSVExport/__tests__/CSVExport.spec.js +5 -2
- package/src/modules/DeleteConfirmationPopup/__tests__/delete-confirmation-popup.spec.js +6 -6
- package/src/modules/DeleteConfirmationPopup/components/delete-confirmation-popup.vue +13 -6
- package/src/modules/FilesExport/__tests__/FilesExport.spec.js +6 -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 +6 -6
- 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 +12 -10
- 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 +7 -8
- package/src/modules/Userinfo/components/the-auth.vue +7 -4
- package/src/store/BaseStoreModules/__tests__/BaseStoreModule.spec.js +6 -6
- package/dist/demo.html +0 -1
- package/dist/ui-sdk.common.js +0 -43304
- package/dist/ui-sdk.common.js.map +0 -1
- package/dist/ui-sdk.umd.js.map +0 -1
- package/dist/ui-sdk.umd.min.js +0 -35
- package/dist/ui-sdk.umd.min.js.map +0 -1
- package/src/components/wt-button/Readme.md +0 -23
- package/src/components/wt-button-select/Readme.md +0 -13
- package/src/components/wt-headline-nav/Readme.md +0 -9
- package/src/components/wt-icon/Readme.md +0 -327
- 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-btn/Readme.md +0 -10
- package/src/components/wt-rounded-action/Readme.md +0 -68
- package/src/components/wt-tags-input/_variables.scss +0 -24
- package/src/validators/variableSearchValidator/Readme.md +0 -13
- package/src/validators/websocketValidator/Readme.md +0 -7
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
### Different colors:
|
|
2
|
-
```vue
|
|
3
|
-
<div style="display: grid; grid-template-columns: 140px; gap: var(--spacing-xs);">
|
|
4
|
-
<wt-button>Primary</wt-button>
|
|
5
|
-
<wt-button color="secondary">Secondary</wt-button>
|
|
6
|
-
<wt-button disabled>Disabled</wt-button>
|
|
7
|
-
<wt-button color="success">Success</wt-button>
|
|
8
|
-
<wt-button color="error">Error</wt-button>
|
|
9
|
-
<wt-button color="transfer">Transfer</wt-button>
|
|
10
|
-
<wt-button color="job">Job</wt-button>
|
|
11
|
-
<wt-button color="info">info</wt-button>
|
|
12
|
-
</div>
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
### Small button:
|
|
16
|
-
```vue
|
|
17
|
-
<wt-button size="sm">Small button</wt-button>
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
### Wide button:
|
|
21
|
-
```vue
|
|
22
|
-
<wt-button wide>Wide button</wt-button>
|
|
23
|
-
```
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
### Note: all buttons props are passed as "$attrs"
|
|
2
|
-
|
|
3
|
-
Different colors
|
|
4
|
-
|
|
5
|
-
```vue
|
|
6
|
-
const options = [{ text: 'lorem ipsum' }, { text: 'dolor sit amet' }, { text: 'consectetur adipiscing elit' }];
|
|
7
|
-
|
|
8
|
-
<div style="display: flex; gap: var(--spacing-xs);">
|
|
9
|
-
<wt-button-select :options="this.options">Primary</wt-button-select>
|
|
10
|
-
<wt-button-select color="secondary" :options="this.options">Secondary</wt-button-select>
|
|
11
|
-
<wt-button-select disabled :options="this.options">Disabled</wt-button-select>
|
|
12
|
-
</div>
|
|
13
|
-
```
|
|
@@ -1,327 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
```vue
|
|
3
|
-
<wt-icon icon="edit"></wt-icon>
|
|
4
|
-
```
|
|
5
|
-
|
|
6
|
-
Different color icons:
|
|
7
|
-
```vue
|
|
8
|
-
const colors = ['default', 'active', 'disabled', 'primary', 'error', 'success', 'warning', 'on-dark', 'on-light', 'on-primary', 'info', 'chat', 'transfer', 'job'];
|
|
9
|
-
|
|
10
|
-
<div
|
|
11
|
-
style="display: flex; align-items: center; gap: 5px;"
|
|
12
|
-
v-for="color of this.colors"
|
|
13
|
-
:key="color"
|
|
14
|
-
>
|
|
15
|
-
<wt-icon
|
|
16
|
-
icon="edit"
|
|
17
|
-
size="lg"
|
|
18
|
-
:color="color"
|
|
19
|
-
></wt-icon>
|
|
20
|
-
{{ color }}
|
|
21
|
-
</div>
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## How does it work?
|
|
25
|
-
|
|
26
|
-
Icons are located in <code>assets/icons/sprite</code> directory, in <code>SVG</code> format,
|
|
27
|
-
without <code>width</code> and <code>height</code> attributes, but with <code>
|
|
28
|
-
[viewBox](https://developer.mozilla.org/ru/docs/Web/SVG/Attribute/viewBox)
|
|
29
|
-
</code> attribute.
|
|
30
|
-
(<code>viewBox</code> is provided by designer in svg pic itself - so you just need to check it presence,
|
|
31
|
-
by the way check for `width` `height` absence).
|
|
32
|
-
|
|
33
|
-
For example:
|
|
34
|
-
|
|
35
|
-
```
|
|
36
|
-
const img = require('./docs/svg-icon-code-example.png');
|
|
37
|
-
<img :src="this.img" alt="svg icon code example">
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
At build stage, <code><a href="https://github.com/JetBrains/svg-sprite-loader#svg-sprite-loader">svg-sprite-loader</a></code>
|
|
41
|
-
collects all icons (looking for "All files`.svg` in all directories, which names include `sprite`,
|
|
42
|
-
). This rule is described in <code>vue.config.js:</code>
|
|
43
|
-
(from "Quick Start" icons installation section):
|
|
44
|
-
|
|
45
|
-
<pre class="language-javascript"><code>
|
|
46
|
-
config.module
|
|
47
|
-
.rule('svg')
|
|
48
|
-
.exclude.add(/^(.*sprite).*\.svg/); // same as in svg-sprite-loader
|
|
49
|
-
|
|
50
|
-
config.module
|
|
51
|
-
.rule('svg-sprite')
|
|
52
|
-
.test(/^(.*sprite).*\.svg/) // same as in svg-url-loader
|
|
53
|
-
.use('svg-sprite-loader')
|
|
54
|
-
.loader('svg-sprite-loader');
|
|
55
|
-
</code></pre>
|
|
56
|
-
|
|
57
|
-
So that, all these icons are collected in one sprite. This sprite is injected in <code>index.html</code>.
|
|
58
|
-
|
|
59
|
-
For example: (By the way, you can check it if you want to see, which icons were collected in this sprite):
|
|
60
|
-
|
|
61
|
-
```
|
|
62
|
-
const img = require('./docs/svg-sprite-in-dom.png');
|
|
63
|
-
<img :src="this.img" alt="svg-sprite-in-dom">
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
Then, these icons can be used as:
|
|
67
|
-
|
|
68
|
-
<pre class="language-html"><code>
|
|
69
|
-
<svg><use xlink:href="#attach"></use></svg>
|
|
70
|
-
// or, using wt-icon component:
|
|
71
|
-
<wt-icon icon="attach"></wt-icon>
|
|
72
|
-
</code></pre>
|
|
73
|
-
|
|
74
|
-
## How to install your custom icons to project?
|
|
75
|
-
|
|
76
|
-
`svg-sprite-loader` webpack rule in <code>vue.config.js</code> also collects all icons from `sprite`
|
|
77
|
-
directories in project and adds it to final sprite.
|
|
78
|
-
|
|
79
|
-
*In fact, webitel-ui icons are added to sprite just cause they're imported from
|
|
80
|
-
"sprite" directory - just in <code>node_modules</code>*
|
|
81
|
-
|
|
82
|
-
For stylistic purposes, it's recommended to allocate icons in <code>src/(app?)/assets/icons/sprite/*</code>,
|
|
83
|
-
So that developers and designer could find (and then check or update) them in any project.
|
|
84
|
-
|
|
85
|
-
All icons from this directory should be imported in <code>index.js</code> in this directory
|
|
86
|
-
(create `index.js` if it doesn't exist).
|
|
87
|
-
|
|
88
|
-
Then, `index.html` should be imported in `main.js`:
|
|
89
|
-
<pre class="language-javascript"><code>import './assets/icons/sprite';</code></pre>
|
|
90
|
-
|
|
91
|
-
And, then, if you put some new icons in this directory, and import them in `index.js`,
|
|
92
|
-
they automatically become available in project.
|
|
93
|
-
|
|
94
|
-
### Simple TODO:
|
|
95
|
-
* Create directory `src/(app?)/assets/icons/sprite/` (if doesn't exists)
|
|
96
|
-
* in this folder, create `index.js` (if doesn't exists)
|
|
97
|
-
* Import `index.js` to `>main.js` (if doesn't exists)
|
|
98
|
-
* Put icon to this directory, and import it to `index.js`
|
|
99
|
-
* That's all, you're awesome!
|
|
100
|
-
|
|
101
|
-
## Icon sprites naming convention:
|
|
102
|
-
|
|
103
|
-
App-specific icons are highly recommended to be named with the prefix corresponding to this application.
|
|
104
|
-
|
|
105
|
-
The reason is: when you see an icon usage, you will be able to distinguish `svg` location:
|
|
106
|
-
in this app, or library - and update it, if needed.
|
|
107
|
-
*For example, if you want to move this icon from app to library, you just need to remove `icon-prefix` prop
|
|
108
|
-
from all icon usages (and, of course, rename the icon file)*
|
|
109
|
-
|
|
110
|
-
### Icon prefix corresponding to application:
|
|
111
|
-
* **Webitel UI:** no prefix
|
|
112
|
-
* **Admin:** `adm-`
|
|
113
|
-
* **Workspace:** `ws-`
|
|
114
|
-
* **Supervisor:** `sv-`
|
|
115
|
-
* **History:** `hs-`
|
|
116
|
-
* **Webitel CC UI:** `cc-`
|
|
117
|
-
|
|
118
|
-
## How to clean up icons before adding them to project?
|
|
119
|
-
|
|
120
|
-
After export from Figma, icons should be cleaned up to avoid a few issues.
|
|
121
|
-
|
|
122
|
-
Use this checklist:
|
|
123
|
-
1. **Remove** `width` and `height` from svg-tag
|
|
124
|
-
```
|
|
125
|
-
const img = require('./docs/cleanup-svg-width-height.png');
|
|
126
|
-
<img :src="this.img" alt="Remove width and height">
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
2. **Check** `viewBox`: it's size should be square **(BUT DO NOT DELETE!)**
|
|
130
|
-
|
|
131
|
-
If there's an issue, contact the designer.
|
|
132
|
-
|
|
133
|
-
Incorrect:
|
|
134
|
-
```
|
|
135
|
-
const img = require('./docs/cleanup-svg-viewbox-incorrect.png');
|
|
136
|
-
<img :src="this.img" alt="viewBox is incorrect">
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
Correct:
|
|
140
|
-
```
|
|
141
|
-
const img = require('./docs/cleanup-svg-viewbox-correct.png');
|
|
142
|
-
<img :src="this.img" alt="viewBox is correct">
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
4. **Remove** `fill="none"` from svg-tag
|
|
146
|
-
```
|
|
147
|
-
const img = require('./docs/cleanup-svg-fill-none.png');
|
|
148
|
-
<img :src="this.img" alt="Remove "fill=none"">
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
5. **Remove** all `fill=""` with default color
|
|
152
|
-
|
|
153
|
-
*Default "fill" should be cleaned up, cause Figma adds it to icon by default, but we are
|
|
154
|
-
changing this fill in styles to suit our needs.
|
|
155
|
-
But! Specific colors should stay in svg-code. (for instance, red dot in `record` icon)*
|
|
156
|
-
|
|
157
|
-
```
|
|
158
|
-
const img = require('./docs/cleanup-svg-fill.png');
|
|
159
|
-
<img :src="this.img" alt="Remove this fill">
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
```vue
|
|
163
|
-
<template>
|
|
164
|
-
<div style="display: grid; grid-template-columns: repeat(auto-fit, 120px); grid-gap: var(--spacing-xs);">
|
|
165
|
-
<div
|
|
166
|
-
style="text-align: center; display: flex; flex-direction: column; align-items: center; gap: 5px;"
|
|
167
|
-
v-for="icon of this.icons"
|
|
168
|
-
:key="icon"
|
|
169
|
-
>
|
|
170
|
-
<wt-icon
|
|
171
|
-
:icon="icon"
|
|
172
|
-
size="xl"
|
|
173
|
-
></wt-icon>
|
|
174
|
-
{{ icon }}
|
|
175
|
-
</div>
|
|
176
|
-
</div>
|
|
177
|
-
</template>
|
|
178
|
-
|
|
179
|
-
<script setup>
|
|
180
|
-
const icons = [
|
|
181
|
-
'email',
|
|
182
|
-
'adfs',
|
|
183
|
-
'azure',
|
|
184
|
-
'instagram',
|
|
185
|
-
'zoom-in',
|
|
186
|
-
'zoom-out',
|
|
187
|
-
'send-arrow',
|
|
188
|
-
'close',
|
|
189
|
-
'close--filled',
|
|
190
|
-
'attach',
|
|
191
|
-
'mail',
|
|
192
|
-
'mail--color',
|
|
193
|
-
'telegram-bot',
|
|
194
|
-
'messenger-infobip',
|
|
195
|
-
'messenger-telegram',
|
|
196
|
-
'messenger-telegram--filled',
|
|
197
|
-
'messenger-facebook',
|
|
198
|
-
'messenger-facebook--filled',
|
|
199
|
-
'messenger-viber',
|
|
200
|
-
'messenger-viber--filled',
|
|
201
|
-
'messenger-web-chat',
|
|
202
|
-
'messenger-whatsapp',
|
|
203
|
-
'messenger-whatsapp--filled',
|
|
204
|
-
'messenger-messenger',
|
|
205
|
-
'meta',
|
|
206
|
-
'lock',
|
|
207
|
-
'move',
|
|
208
|
-
'queue-member',
|
|
209
|
-
'history',
|
|
210
|
-
'generate',
|
|
211
|
-
'google',
|
|
212
|
-
'rounded-info',
|
|
213
|
-
'copy',
|
|
214
|
-
'menu',
|
|
215
|
-
'clear',
|
|
216
|
-
'video-cam',
|
|
217
|
-
'video-cam-off',
|
|
218
|
-
'bell',
|
|
219
|
-
'bell-badged',
|
|
220
|
-
'star',
|
|
221
|
-
'star--filled',
|
|
222
|
-
'sound-on',
|
|
223
|
-
'sound-off',
|
|
224
|
-
'back',
|
|
225
|
-
'prompter',
|
|
226
|
-
'play',
|
|
227
|
-
'pause',
|
|
228
|
-
'stop',
|
|
229
|
-
'download',
|
|
230
|
-
'upload',
|
|
231
|
-
'filter',
|
|
232
|
-
'column-select',
|
|
233
|
-
'refresh',
|
|
234
|
-
'calendar',
|
|
235
|
-
'radio',
|
|
236
|
-
'radio--checked',
|
|
237
|
-
'checkbox',
|
|
238
|
-
'checkbox--checked',
|
|
239
|
-
'checkbox--checked--filled',
|
|
240
|
-
'eye--closed',
|
|
241
|
-
'eye--opened',
|
|
242
|
-
'numpad',
|
|
243
|
-
'settings',
|
|
244
|
-
'docs',
|
|
245
|
-
'logout',
|
|
246
|
-
'account',
|
|
247
|
-
'app-navigator',
|
|
248
|
-
'collapse',
|
|
249
|
-
'expand',
|
|
250
|
-
'bucket',
|
|
251
|
-
'tick',
|
|
252
|
-
'edit',
|
|
253
|
-
'plus',
|
|
254
|
-
'search',
|
|
255
|
-
'rec-off',
|
|
256
|
-
'rec',
|
|
257
|
-
'note',
|
|
258
|
-
'mic',
|
|
259
|
-
'mic-muted',
|
|
260
|
-
'hold',
|
|
261
|
-
'contacts',
|
|
262
|
-
'done',
|
|
263
|
-
'attention',
|
|
264
|
-
|
|
265
|
-
'call',
|
|
266
|
-
'call--filled',
|
|
267
|
-
'call-end',
|
|
268
|
-
'call-end--filled',
|
|
269
|
-
'call-transfer',
|
|
270
|
-
'call-transfer--filled',
|
|
271
|
-
'call-ringing',
|
|
272
|
-
'call-ringing--filled',
|
|
273
|
-
'call-missed',
|
|
274
|
-
'call-missed--filled',
|
|
275
|
-
'call-add-to',
|
|
276
|
-
'call-add-to--filled',
|
|
277
|
-
'call-disconnect',
|
|
278
|
-
'call-disconnect--filled',
|
|
279
|
-
'call-outbound',
|
|
280
|
-
'call-outbound--filled',
|
|
281
|
-
'call-inbound',
|
|
282
|
-
'call-inbound--filled',
|
|
283
|
-
|
|
284
|
-
'chat',
|
|
285
|
-
'chat--filled',
|
|
286
|
-
'chat-join',
|
|
287
|
-
'chat-transfer',
|
|
288
|
-
'chat-transfer--filled',
|
|
289
|
-
'chat-end',
|
|
290
|
-
'chat-end--filled',
|
|
291
|
-
'chat-group',
|
|
292
|
-
'chat-quick-response',
|
|
293
|
-
'chat-quick-response--filled',
|
|
294
|
-
'chat-send',
|
|
295
|
-
'chat-emoji',
|
|
296
|
-
'chat-reply',
|
|
297
|
-
'chat-message-status-sent',
|
|
298
|
-
'chat-message-status-read',
|
|
299
|
-
|
|
300
|
-
'job',
|
|
301
|
-
'job--accept',
|
|
302
|
-
'job--end',
|
|
303
|
-
|
|
304
|
-
'sort-arrow-down',
|
|
305
|
-
'sort-arrow-up',
|
|
306
|
-
'arrow-down',
|
|
307
|
-
'arrow-left',
|
|
308
|
-
'arrow-mix',
|
|
309
|
-
'arrow-right',
|
|
310
|
-
'arrow-up',
|
|
311
|
-
'tts-download',
|
|
312
|
-
'stt',
|
|
313
|
-
'stt-download',
|
|
314
|
-
'stt-search',
|
|
315
|
-
'scorecard',
|
|
316
|
-
'idle',
|
|
317
|
-
'pin',
|
|
318
|
-
'unpin',
|
|
319
|
-
'options',
|
|
320
|
-
|
|
321
|
-
'preview-tag-video',
|
|
322
|
-
'preview-tag-audio',
|
|
323
|
-
'preview-tag-application',
|
|
324
|
-
'preview-tag-image',
|
|
325
|
-
].sort();
|
|
326
|
-
</script>
|
|
327
|
-
```
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
### Different colors
|
|
2
|
-
|
|
3
|
-
```vue
|
|
4
|
-
<div class="example-wrapper" style="display: flex; gap: var(--spacing-xs);">
|
|
5
|
-
<wt-rounded-action icon="call" color="primary"></wt-rounded-action>
|
|
6
|
-
<wt-rounded-action icon="call" color="secondary"></wt-rounded-action>
|
|
7
|
-
<wt-rounded-action icon="call" disabled></wt-rounded-action>
|
|
8
|
-
<wt-rounded-action icon="call" color="success"></wt-rounded-action>
|
|
9
|
-
<wt-rounded-action icon="call" color="error"></wt-rounded-action>
|
|
10
|
-
<wt-rounded-action icon="call" color="transfer"></wt-rounded-action>
|
|
11
|
-
</div>
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
### Active (pressed) buttons
|
|
15
|
-
```vue
|
|
16
|
-
<div class="example-wrapper" style="display: flex; gap: var(--spacing-xs);">
|
|
17
|
-
<wt-rounded-action active icon="call" color="primary"></wt-rounded-action>
|
|
18
|
-
<wt-rounded-action active icon="call" color="secondary"></wt-rounded-action>
|
|
19
|
-
<wt-rounded-action active icon="call" disabled></wt-rounded-action>
|
|
20
|
-
<wt-rounded-action active icon="call" color="success"></wt-rounded-action>
|
|
21
|
-
<wt-rounded-action active icon="call" color="error"></wt-rounded-action>
|
|
22
|
-
<wt-rounded-action active icon="call" color="transfer"></wt-rounded-action>
|
|
23
|
-
</div>
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
### Wide buttons
|
|
27
|
-
```vue
|
|
28
|
-
<div class="example-wrapper" style="display: flex; gap: var(--spacing-xs);">
|
|
29
|
-
<wt-rounded-action wide icon="call" color="secondary"></wt-rounded-action>
|
|
30
|
-
<wt-rounded-action wide rounded icon="call" color="secondary"></wt-rounded-action>
|
|
31
|
-
</div>
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
### Rounded buttons
|
|
35
|
-
```vue
|
|
36
|
-
<div class="example-wrapper" style="display: flex; gap: var(--spacing-xs);">
|
|
37
|
-
<wt-rounded-action rounded icon="call" color="primary"></wt-rounded-action>
|
|
38
|
-
<wt-rounded-action rounded icon="call" color="secondary"></wt-rounded-action>
|
|
39
|
-
<wt-rounded-action rounded icon="call" disabled></wt-rounded-action>
|
|
40
|
-
<wt-rounded-action rounded icon="call" color="success"></wt-rounded-action>
|
|
41
|
-
<wt-rounded-action rounded icon="call" color="error"></wt-rounded-action>
|
|
42
|
-
<wt-rounded-action rounded icon="call" color="transfer"></wt-rounded-action>
|
|
43
|
-
</div>
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
### Small (sm) buttons
|
|
47
|
-
```vue
|
|
48
|
-
<div class="example-wrapper" style="display: flex; gap: var(--spacing-xs);">
|
|
49
|
-
<wt-rounded-action size="sm" icon="call" color="primary"></wt-rounded-action>
|
|
50
|
-
<wt-rounded-action size="sm" icon="call" color="secondary"></wt-rounded-action>
|
|
51
|
-
<wt-rounded-action size="sm" icon="call" disabled></wt-rounded-action>
|
|
52
|
-
<wt-rounded-action size="sm" icon="call" color="success"></wt-rounded-action>
|
|
53
|
-
<wt-rounded-action size="sm" icon="call" color="error"></wt-rounded-action>
|
|
54
|
-
<wt-rounded-action size="sm" icon="call" color="transfer"></wt-rounded-action>
|
|
55
|
-
</div>
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
### Loading-state buttons
|
|
59
|
-
```vue
|
|
60
|
-
<div class="example-wrapper" style="display: flex; gap: var(--spacing-xs);">
|
|
61
|
-
<wt-rounded-action size="sm" icon="call" color="primary" loading></wt-rounded-action>
|
|
62
|
-
<wt-rounded-action size="sm" icon="call" color="secondary" loading></wt-rounded-action>
|
|
63
|
-
<wt-rounded-action size="sm" icon="call" disabled loading></wt-rounded-action>
|
|
64
|
-
<wt-rounded-action size="sm" icon="call" color="success" loading></wt-rounded-action>
|
|
65
|
-
<wt-rounded-action size="sm" icon="call" color="error" loading></wt-rounded-action>
|
|
66
|
-
<wt-rounded-action size="sm" icon="call" color="transfer" loading></wt-rounded-action>
|
|
67
|
-
</div>
|
|
68
|
-
```
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
:root {
|
|
3
|
-
--tags-input-padding: var(--input-padding);
|
|
4
|
-
--tags-input-min-height: 40px; // 24px lh + paddings
|
|
5
|
-
--tags-input-border: var(--input-border);
|
|
6
|
-
--tags-input-border-color: var(--form-border-color);
|
|
7
|
-
|
|
8
|
-
--tags-input-tags-gap: var(--spacing-xs);
|
|
9
|
-
--tags-input-tag-text-color: var(--text-primary-color);
|
|
10
|
-
--tags-input-tag-bg-color: var(--accent-secondary-color);
|
|
11
|
-
--tags-input-tag-actions-margin-left: var(--spacing-2xs);
|
|
12
|
-
|
|
13
|
-
--tags-input-tag-text-color--deletion: var(--text-contrast-color);
|
|
14
|
-
--tags-input-tag-bg-color--deletion: var(--false-color);
|
|
15
|
-
|
|
16
|
-
--tags-input-autocomplete-max-height: 300px;
|
|
17
|
-
--tags-input-autocomplete-border: var(--input-border);
|
|
18
|
-
--tags-input-autocomplete-border-color: var(--form-border-color);
|
|
19
|
-
--tags-input-autocomplete-option-padding: var(--input-padding);
|
|
20
|
-
--tags-input-autocomplete-option--text-color: var(--form-placeholder-color);
|
|
21
|
-
|
|
22
|
-
--tags-input-option-bg-color--hover: var(--accent-secondary-color);
|
|
23
|
-
--tags-input-option-text-color--hover: var(--text-primary-color);
|
|
24
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
Validator for variable search string
|
|
2
|
-
```javascript
|
|
3
|
-
import variableSearchValidator from '@webitel/ui-sdk/src/validators/variableSearchValidator/variableSearchValidator';
|
|
4
|
-
|
|
5
|
-
isValidKeyValuePair("height=100"); // true
|
|
6
|
-
isValidKeyValuePair("1 1=2 2"); // true
|
|
7
|
-
isValidKeyValuePair("you height=5 feet 5½ inches (166 cm)"); // true
|
|
8
|
-
isValidKeyValuePair("expected_output=valid_number")); // true
|
|
9
|
-
isValidKeyValuePair("height= 100"); // false
|
|
10
|
-
isValidKeyValuePair("height =100"); // false
|
|
11
|
-
isValidKeyValuePair("height = 100"); // false
|
|
12
|
-
isValidKeyValuePair("height=5 feet 5½ inches (166 cm), age=1231, fin=123231"); // false
|
|
13
|
-
```
|