@webitel/ui-sdk 25.4.79 → 25.4.81
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/img/sprite/add-contact.svg +3 -0
- package/dist/img/sprite/index.js +2 -0
- package/dist/types/components/on-demand/wt-navigation-menu/components/wt-navigation-menu.vue.d.ts +2 -2
- package/dist/types/components/on-demand/wt-selection-popup/wt-selection-popup.vue.d.ts +1 -1
- package/dist/types/components/on-demand/wt-start-page/components/start-page-card.vue.d.ts +1 -1
- package/dist/types/components/on-demand/wt-start-page/components/start-page-logo.vue.d.ts +1 -1
- package/dist/types/components/on-demand/wt-start-page/components/wt-start-page.vue.d.ts +2 -2
- package/dist/types/components/wt-avatar/wt-avatar.vue.d.ts +2 -2
- package/dist/types/components/wt-button-select/wt-button-select.vue.d.ts +2 -2
- package/dist/types/components/wt-confirm-dialog/wt-confirm-dialog.vue.d.ts +3 -3
- package/dist/types/components/wt-context-menu/wt-context-menu.vue.d.ts +2 -2
- package/dist/types/components/wt-datepicker/wt-datepicker.vue.d.ts +2 -2
- package/dist/types/components/wt-empty/wt-empty.vue.d.ts +2 -2
- package/dist/types/components/wt-error-page/wt-error-page.vue.d.ts +2 -2
- package/dist/types/components/wt-headline-nav/wt-headline-nav.vue.d.ts +1 -1
- package/dist/types/components/wt-icon/wt-icon.vue.d.ts +2 -2
- package/dist/types/components/wt-icon-action/wt-icon-action.vue.d.ts +1 -1
- package/dist/types/components/wt-image/wt-image.vue.d.ts +2 -2
- package/dist/types/components/wt-input/wt-input.vue.d.ts +4 -4
- package/dist/types/components/wt-intersection-observer/wt-intersection-observer.vue.d.ts +2 -2
- package/dist/types/components/wt-radio/wt-radio.vue.d.ts +1 -1
- package/dist/types/components/wt-rounded-action/wt-rounded-action.vue.d.ts +2 -2
- package/dist/types/components/wt-search-bar/wt-search-bar.vue.d.ts +1 -1
- package/dist/types/components/wt-slider/wt-slider.vue.d.ts +1 -1
- package/dist/types/components/wt-table-column-select/wt-table-column-select.vue.d.ts +2 -2
- package/dist/types/components/wt-time-input/wt-time-input.vue.d.ts +1 -1
- package/dist/types/components/wt-timepicker/wt-timepicker.vue.d.ts +1 -1
- package/dist/types/components/wt-tree-line/wt-tree-line.vue.d.ts +1 -1
- package/dist/types/modules/AgentStatusSelect/components/_internals/wt-cc-status-select-error-popup.vue.d.ts +1 -1
- package/dist/types/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue.d.ts +2 -2
- package/dist/types/modules/AuditForm/components/audit-form-question-read-wrapper.vue.d.ts +4 -4
- package/dist/types/modules/AuditForm/components/audit-form-question-write-wrapper.vue.d.ts +2 -2
- package/dist/types/modules/AuditForm/components/audit-form-question.vue.d.ts +2 -2
- package/dist/types/modules/AuditForm/components/audit-form.vue.d.ts +4 -4
- package/dist/types/modules/AuditForm/components/questions/options/audit-form-question-options-write-row.vue.d.ts +2 -2
- package/dist/types/modules/AuditForm/components/questions/options/audit-form-question-options.vue.d.ts +1 -1
- package/dist/types/modules/AuditForm/components/questions/score/audit-form-question-score.vue.d.ts +1 -1
- package/dist/types/modules/DeleteConfirmationPopup/components/delete-confirmation-popup.vue.d.ts +2 -2
- package/dist/types/modules/Filters/components/filter-datetime.vue.d.ts +2 -2
- package/dist/types/modules/Filters/components/filter-pagination.vue.d.ts +2 -2
- package/dist/types/modules/Filters/components/filter-search.vue.d.ts +2 -2
- package/dist/types/modules/Filters/components/filter-select.vue.d.ts +2 -2
- package/dist/types/modules/Filters/components/filter-table-fields.vue.d.ts +3 -3
- package/dist/types/modules/ObjectPermissions/_internals/components/permissions-role-row.vue.d.ts +1 -1
- package/dist/types/modules/ObjectPermissions/_internals/components/permissions-tab-role-popup.vue.d.ts +1 -1
- package/dist/types/modules/ObjectPermissions/components/permissions-tab.vue.d.ts +1 -1
- package/dist/types/modules/QueryFilters/components/abstract-api-filter.vue.d.ts +2 -2
- package/dist/types/modules/QueryFilters/components/abstract-enum-filter.vue.d.ts +2 -2
- package/dist/types/modules/QueryFilters/components/filter-datetime.vue.d.ts +2 -2
- package/dist/types/modules/QueryFilters/components/filter-from-to.vue.d.ts +2 -2
- package/dist/types/modules/QueryFilters/components/filter-table-fields.vue.d.ts +4 -4
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +2142 -2135
- package/dist/ui-sdk.umd.cjs +16 -16
- package/package.json +1 -1
- package/src/assets/icons/sprite/add-contact.svg +3 -0
- package/src/assets/icons/sprite/index.js +2 -0
- package/src/components/wt-action-bar/WtActionBarActionsOrder.js +1 -0
- package/src/components/wt-icon-action/iconMappings.js +1 -0
- package/src/components/wt-icon-action/wt-icon-action.vue +1 -0
- package/src/components/wt-select/wt-select.vue +20 -19
- package/src/enums/IconAction/IconAction.enum.js +1 -0
- package/src/locale/en/en.js +3 -0
- package/src/locale/ru/ru.js +3 -0
- package/src/locale/ua/ua.js +3 -0
package/package.json
CHANGED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M10 15C11.8019 15 13.4821 15.4239 14.7461 16.1611C15.9856 16.8842 17 18.0302 17 19.5C17 20.0523 16.5523 20.5 16 20.5C15.4477 20.5 15 20.0523 15 19.5C15 19.0369 14.6711 18.4323 13.7393 17.8887C12.8317 17.3593 11.5116 17 10 17C8.48863 17 7.16922 17.3594 6.26172 17.8887C5.32965 18.4324 5 19.0368 5 19.5C5 20.0523 4.55228 20.5 4 20.5C3.44772 20.5 3 20.0523 3 19.5C3 18.0302 4.0144 16.8842 5.25391 16.1611C6.51791 15.4239 8.19811 15 10 15ZM10 6C12.2091 6 14 7.79086 14 10C14 12.2091 12.2091 14 10 14C7.79086 14 6 12.2091 6 10C6 7.79086 7.79086 6 10 6ZM10 8C8.89543 8 8 8.89543 8 10C8 11.1046 8.89543 12 10 12C11.1046 12 12 11.1046 12 10C12 8.89543 11.1046 8 10 8ZM18 3C18.5523 3 19 3.44772 19 4V5H20C20.5523 5 21 5.44772 21 6C21 6.55228 20.5523 7 20 7H19V8C19 8.55228 18.5523 9 18 9C17.4477 9 17 8.55228 17 8V7H16C15.4477 7 15 6.55228 15 6C15 5.44772 15.4477 5 16 5H17V4C17 3.44772 17.4477 3 18 3Z" />
|
|
3
|
+
</svg>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { objCamelToKebab } from '../../../scripts/caseConverters.js';
|
|
2
2
|
import account from './account.svg';
|
|
3
|
+
import addContact from './add-contact.svg';
|
|
3
4
|
import addFilter from './add-filter.svg';
|
|
4
5
|
import adfs from './adfs.svg';
|
|
5
6
|
import agent from './agent.svg';
|
|
@@ -219,6 +220,7 @@ export default objCamelToKebab({
|
|
|
219
220
|
attention,
|
|
220
221
|
azure,
|
|
221
222
|
addFilter,
|
|
223
|
+
addContact,
|
|
222
224
|
back,
|
|
223
225
|
bell,
|
|
224
226
|
bellBadged,
|
|
@@ -149,7 +149,12 @@
|
|
|
149
149
|
v-if="showIntersectionObserver"
|
|
150
150
|
#afterList
|
|
151
151
|
>
|
|
152
|
-
|
|
152
|
+
<!-- @author @Lera24-->
|
|
153
|
+
<!-- [WTEL-6818](https://webitel.atlassian.net/browse/WTEL-6818)-->
|
|
154
|
+
<!-- When changing the page scale, vue-observe-visibility works unstable and does not see the changes. -->
|
|
155
|
+
<!-- The minimum height ensures additional data loading if the search method is used-->
|
|
156
|
+
|
|
157
|
+
<div v-observe-visibility="handleAfterListIntersect" style="height: 1px"/>
|
|
153
158
|
</template>
|
|
154
159
|
</vue-multiselect>
|
|
155
160
|
<wt-input-info
|
|
@@ -331,10 +336,10 @@ export default {
|
|
|
331
336
|
.multiselect__single-label {
|
|
332
337
|
// text overflow 3 dots
|
|
333
338
|
display: block;
|
|
334
|
-
max-width: 100%;
|
|
335
339
|
overflow: hidden;
|
|
336
|
-
|
|
340
|
+
max-width: 100%;
|
|
337
341
|
white-space: nowrap;
|
|
342
|
+
text-overflow: ellipsis;
|
|
338
343
|
}
|
|
339
344
|
}
|
|
340
345
|
|
|
@@ -352,12 +357,10 @@ export default {
|
|
|
352
357
|
// all is fine
|
|
353
358
|
:deep(.multiselect) {
|
|
354
359
|
.multiselect__tags {
|
|
355
|
-
padding: var(--input-padding)
|
|
356
|
-
calc(
|
|
360
|
+
padding: var(--input-padding) calc(
|
|
357
361
|
var(--input-padding) + var(--icon-md-size) +
|
|
358
362
|
var(--select-caret-right-pos)
|
|
359
|
-
)
|
|
360
|
-
var(--input-padding) var(--input-padding);
|
|
363
|
+
) var(--input-padding) var(--input-padding);
|
|
361
364
|
}
|
|
362
365
|
}
|
|
363
366
|
}
|
|
@@ -366,14 +369,14 @@ export default {
|
|
|
366
369
|
.wt-select.wt-select--multiple:not(.wt-select--clearable) {
|
|
367
370
|
:deep(.multiselect) {
|
|
368
371
|
$multiselect-limit-right-pos: calc(
|
|
369
|
-
var(--select-caret-right-pos)
|
|
370
|
-
+ var(--icon-md-size)
|
|
372
|
+
var(--select-caret-right-pos)// caret offet from border
|
|
373
|
+
+ var(--icon-md-size)// caret size
|
|
371
374
|
+ var(--input-padding) // caret-to-chip offset
|
|
372
375
|
);
|
|
373
376
|
|
|
374
377
|
.multiselect__tags {
|
|
375
378
|
padding-right: calc(
|
|
376
|
-
$multiselect-limit-right-pos + 50px
|
|
379
|
+
$multiselect-limit-right-pos + 50px// chip
|
|
377
380
|
+ var(--input-padding) // chip-to-content offset
|
|
378
381
|
);
|
|
379
382
|
}
|
|
@@ -388,14 +391,14 @@ export default {
|
|
|
388
391
|
.wt-select.wt-select--clearable:not(.wt-select--multiple) {
|
|
389
392
|
:deep(.multiselect) {
|
|
390
393
|
$multiselect-clear-right-pos: calc(
|
|
391
|
-
var(--select-caret-right-pos)
|
|
392
|
-
+ var(--icon-md-size)
|
|
394
|
+
var(--select-caret-right-pos)// caret offset from border
|
|
395
|
+
+ var(--icon-md-size)// caret size
|
|
393
396
|
+ var(--input-padding) // caret-to-chip offset
|
|
394
397
|
);
|
|
395
398
|
|
|
396
399
|
.multiselect__tags {
|
|
397
400
|
padding-right: calc(
|
|
398
|
-
$multiselect-clear-right-pos + var(--icon-md-size)
|
|
401
|
+
$multiselect-clear-right-pos + var(--icon-md-size)// clear
|
|
399
402
|
+ var(--input-padding) // clear-to-content offset
|
|
400
403
|
);
|
|
401
404
|
}
|
|
@@ -410,20 +413,18 @@ export default {
|
|
|
410
413
|
.wt-select.wt-select--multiple.wt-select--clearable {
|
|
411
414
|
:deep(.multiselect) {
|
|
412
415
|
$multiselect-clear-right-pos: calc(
|
|
413
|
-
var(--select-caret-right-pos)
|
|
414
|
-
+ var(--icon-md-size)
|
|
416
|
+
var(--select-caret-right-pos)// caret offet from border
|
|
417
|
+
+ var(--icon-md-size)// caret size
|
|
415
418
|
+ var(--input-padding) // caret-to-chip offset
|
|
416
419
|
);
|
|
417
420
|
|
|
418
421
|
$multiselect-limit-right-pos: calc(
|
|
419
|
-
$multiselect-clear-right-pos + /* clear offet from border */
|
|
420
|
-
var(--icon-md-size) /* clear size */ + var(--input-padding)
|
|
421
|
-
/* cleat-to-chip offset */
|
|
422
|
+
$multiselect-clear-right-pos + /* clear offet from border */var(--icon-md-size)/* clear size */ + var(--input-padding) /* cleat-to-chip offset */
|
|
422
423
|
);
|
|
423
424
|
|
|
424
425
|
.multiselect__tags {
|
|
425
426
|
padding-right: calc(
|
|
426
|
-
$multiselect-limit-right-pos + 50px
|
|
427
|
+
$multiselect-limit-right-pos + 50px// chip
|
|
427
428
|
+ var(--input-padding) // chip-to-content offset
|
|
428
429
|
);
|
|
429
430
|
}
|
package/src/locale/en/en.js
CHANGED
package/src/locale/ru/ru.js
CHANGED
|
@@ -436,6 +436,9 @@ export default {
|
|
|
436
436
|
[IconAction.APPLY_PRESET]: ({ linked }) => {
|
|
437
437
|
return `${linked('vocabulary.apply')} ${linked('webitelUI.filters.presets.preset').toLowerCase()}`;
|
|
438
438
|
},
|
|
439
|
+
[IconAction.ADD_CONTACT]: ({ linked }) => {
|
|
440
|
+
return `${linked('reusable.add')} контакты`;
|
|
441
|
+
},
|
|
439
442
|
},
|
|
440
443
|
},
|
|
441
444
|
errorPages: {
|
package/src/locale/ua/ua.js
CHANGED
|
@@ -436,6 +436,9 @@ export default {
|
|
|
436
436
|
[IconAction.APPLY_PRESET]: ({ linked }) => {
|
|
437
437
|
return `${linked('vocabulary.apply')} ${linked('webitelUI.filters.presets.preset').toLowerCase()}`;
|
|
438
438
|
},
|
|
439
|
+
[IconAction.ADD_CONTACT]: ({ linked }) => {
|
|
440
|
+
return `${linked('reusable.add')} контакти`;
|
|
441
|
+
},
|
|
439
442
|
},
|
|
440
443
|
},
|
|
441
444
|
errorPages: {
|