@webitel/ui-sdk 26.6.59 → 26.6.61
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/{clients-BDtL1Ajm.js → clients-DPvJvOx5.js} +1 -1
- package/dist/{components-CK9vGYUg.js → components-GEKIa6Vp.js} +1141 -2406
- package/dist/{enums-CBWwTuq7.js → enums-BwgSueOO.js} +32 -28
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +73 -53
- package/dist/ui-sdk.umd.cjs +543 -541
- package/dist/{useValidation-B0voza7s.js → useValidation-Hdk6hzmc.js} +1 -1
- package/dist/{wt-action-bar-B17FBHD7.js → wt-action-bar-Dbt6CgEp.js} +2 -2
- package/dist/{wt-button-0kP5bPMs.js → wt-button-BDGLW4OG.js} +2 -2
- package/dist/{wt-chat-emoji-BiPhHNuw.js → wt-chat-emoji-CAn773-T.js} +4 -4
- package/dist/{wt-datepicker-baNcFWZ1.js → wt-datepicker-BjbWDS8B.js} +2 -2
- package/dist/{wt-display-chip-items-xm8cHws_.js → wt-display-chip-items-DAnyat0v.js} +1 -1
- package/dist/{wt-dual-panel-C5LZm1Tr.js → wt-dual-panel-C54Hwdwc.js} +1 -1
- package/dist/{wt-expansion-card-C2qETdn0.js → wt-expansion-card-CVPU9twV.js} +1 -1
- package/dist/{wt-expansion-panel-Dvzj9PTk.js → wt-expansion-panel-B1u06Hz8.js} +1 -1
- package/dist/{wt-icon-DIdpwmpC.js → wt-icon-Bd8GvqIt.js} +2 -1
- package/dist/{wt-icon-action-C8WN2oVD.js → wt-icon-action-mNjxBL1c.js} +1 -1
- package/dist/{wt-icon-btn-BLnhJADA.js → wt-icon-btn-BL4UZ7Fv.js} +1 -1
- package/dist/{wt-notifications-bar-Dx1YPqFu.js → wt-notifications-bar-Tg1pDfMR.js} +2 -2
- package/dist/{wt-player-CCwEyUzv.js → wt-player-B2-wweFq.js} +3 -3
- package/dist/{wt-search-bar-CiQJ9ViN.js → wt-search-bar-CPfD4657.js} +1 -1
- package/dist/{wt-send-message-popup-D07uZ7eL.js → wt-send-message-popup-Clb-abg5.js} +2 -2
- package/dist/wt-status-select-DCiMHd9K.js +77 -0
- package/dist/{wt-timepicker-DyM1OQX4.js → wt-timepicker-4bwYBaKQ.js} +2 -2
- package/dist/{wt-toast-KTAx-8zA.js → wt-toast-QzhZGeTp.js} +2 -2
- package/dist/{wt-tree-table-BlZEw4tr.js → wt-tree-table-DM_CRVQQ.js} +1 -1
- package/dist/{wt-type-extension-value-input-Tlnn-d1W.js → wt-type-extension-value-input-CP-xZ065.js} +3 -3
- package/dist/{wt-vidstack-player-Dvto6FG2.js → wt-vidstack-player-CuQ_SOHI.js} +4 -4
- package/package.json +1 -1
- package/src/api/clients/users/__tests__/users.spec.js +1 -0
- package/src/api/clients/users/users.js +26 -2
- package/src/assets/icons/sprite/index.ts +2 -0
- package/src/assets/icons/sprite/shield-check.svg +3 -0
- package/src/components/index.js +3 -3
- package/src/components/wt-card/_variables.css +4 -0
- package/src/components/wt-card/wt-card.vue +13 -0
- package/src/components/wt-indicator/_variables.css +7 -2
- package/src/components/wt-single-select/wt-single-select.vue +7 -0
- package/src/components/wt-status-select/__tests__/WtStatusSelect.spec.js +3 -3
- package/src/components/wt-status-select/_internals/StatusOptions.lookup.js +1 -1
- package/src/components/wt-status-select/wt-status-select.vue +80 -139
- package/src/css/components-variables.css +1 -1
- package/types/components/wt-card/wt-card.vue.d.ts +13 -0
- package/types/components/wt-single-select/wt-single-select.vue.d.ts +1 -0
- package/types/components/wt-status-select/wt-status-select.vue.d.ts +21 -1
- package/dist/AgentStatus.enum-C3IGHtvR.js +0 -9
- package/dist/wt-status-select-A5t6Vjm4.js +0 -101
- package/src/components/wt-select/__tests__/WtSelect.spec.js +0 -30
- package/src/components/wt-select/_variables.css +0 -12
- package/src/components/wt-select/mixins/__tests__/multiselectMixin.spec.js +0 -50
- package/src/components/wt-select/mixins/multiselectMixin.js +0 -279
- package/src/components/wt-select/multiselect.css +0 -239
- package/src/components/wt-select/wt-select.vue +0 -386
- package/src/components/wt-tags-input/mixin/taggableMixin.js +0 -43
- package/types/components/wt-select/__tests__/WtSelect.spec.d.ts +0 -1
- package/types/components/wt-select/mixins/__tests__/multiselectMixin.spec.d.ts +0 -1
- package/types/components/wt-select/mixins/multiselectMixin.d.ts +0 -129
- package/types/components/wt-select/wt-select.vue.d.ts +0 -229
- package/types/components/wt-tags-input/mixin/taggableMixin.d.ts +0 -7
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./caseConverters-DXegZoCt.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { o as n } from "./enums-
|
|
3
|
+
import { o as n } from "./enums-BwgSueOO.js";
|
|
4
4
|
import { t as r } from "./sortQueryAdapters-CyYXvnDN.js";
|
|
5
|
-
import { t as i } from "./wt-icon-action-
|
|
5
|
+
import { t as i } from "./wt-icon-action-mNjxBL1c.js";
|
|
6
6
|
import { Fragment as a, computed as o, createElementBlock as s, createVNode as c, guardReactiveProps as l, mergeProps as u, normalizeProps as d, openBlock as f, renderList as p, renderSlot as m, unref as h } from "vue";
|
|
7
7
|
//#region src/components/wt-action-bar/WtActionBarActionsOrder.js
|
|
8
8
|
var g = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./wt-icon-
|
|
2
|
-
import { d as t, f as n, l as r } from "./enums-
|
|
1
|
+
import { t as e } from "./wt-icon-Bd8GvqIt.js";
|
|
2
|
+
import { d as t, f as n, l as r } from "./enums-BwgSueOO.js";
|
|
3
3
|
import { computed as i, createBlock as a, createCommentVNode as o, createElementVNode as s, createTextVNode as c, defineComponent as l, inject as u, mergeProps as d, normalizeClass as f, openBlock as p, ref as m, renderSlot as h, resolveComponent as g, toDisplayString as _, toRef as v, unref as y, useAttrs as b, watch as x, withCtx as S, withModifiers as C } from "vue";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/components/wt-badge-new/wt-badge.vue
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./components-
|
|
1
|
+
import "./components-GEKIa6Vp.js";
|
|
2
2
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { l as t } from "./enums-
|
|
4
|
-
import { t as n } from "./wt-button-
|
|
5
|
-
import { n as r } from "./wt-toast-
|
|
3
|
+
import { l as t } from "./enums-BwgSueOO.js";
|
|
4
|
+
import { t as n } from "./wt-button-BDGLW4OG.js";
|
|
5
|
+
import { n as r } from "./wt-toast-QzhZGeTp.js";
|
|
6
6
|
import { Teleport as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createVNode as l, nextTick as u, onBeforeUnmount as d, openBlock as f, ref as p, resolveDirective as m, unref as h, withDirectives as g } from "vue";
|
|
7
7
|
//#region node_modules/emoji-picker-element/database.js
|
|
8
8
|
function _(e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { l as t, r as n } from "./enums-
|
|
2
|
+
import { l as t, r as n } from "./enums-BwgSueOO.js";
|
|
3
3
|
import { A as r, C as i, D as a, E as o, F as s, I as c, L as l, M as u, N as d, O as f, P as p, R as m, S as h, T as g, _, b as v, j as y, k as ee, m as b, v as x, w as S, x as C, y as w, z as T } from "./dist-uCh8HaP3.js";
|
|
4
|
-
import { t as te } from "./useValidation-
|
|
4
|
+
import { t as te } from "./useValidation-Hdk6hzmc.js";
|
|
5
5
|
import { Fragment as E, Teleport as ne, Transition as re, computed as D, createBlock as O, createCommentVNode as k, createElementBlock as A, createElementVNode as j, createSlots as M, createTextVNode as N, createVNode as P, defineComponent as F, getCurrentScope as ie, guardReactiveProps as ae, isRef as oe, mergeProps as se, nextTick as ce, normalizeClass as I, normalizeProps as le, normalizeStyle as ue, onBeforeUpdate as de, onMounted as fe, onScopeDispose as pe, onUnmounted as me, openBlock as L, reactive as he, ref as R, renderList as z, renderSlot as B, resolveComponent as ge, resolveDynamicComponent as _e, toDisplayString as ve, toRef as ye, toRefs as be, unref as V, useSlots as xe, vShow as Se, watch as Ce, withCtx as H, withDirectives as we, withKeys as U, withModifiers as Te } from "vue";
|
|
6
6
|
//#region node_modules/date-fns/addDays.js
|
|
7
7
|
function Ee(e, t, n) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as e, i as t } from "./components-
|
|
1
|
+
import { c as e, i as t } from "./components-GEKIa6Vp.js";
|
|
2
2
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
import { t as r } from "./displayText-CtaxzaBz.js";
|
|
4
4
|
import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createTextVNode as c, createVNode as l, defineComponent as u, openBlock as d, renderList as f, renderSlot as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { l as t, o as n } from "./enums-
|
|
2
|
+
import { l as t, o as n } from "./enums-BwgSueOO.js";
|
|
3
3
|
import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, normalizeClass as c, openBlock as l, ref as u, renderSlot as d, resolveComponent as f, unref as p } from "vue";
|
|
4
4
|
//#region src/components/wt-dual-panel/wt-dual-panel.vue
|
|
5
5
|
var m = { class: "wt-dual-panel" }, h = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { l as t } from "./enums-
|
|
2
|
+
import { l as t } from "./enums-BwgSueOO.js";
|
|
3
3
|
import { t as n } from "./useExpansion-DVdIpoOn.js";
|
|
4
4
|
import "./composables-Ckg9IFyC.js";
|
|
5
5
|
import { t as r } from "./wt-expand-transition-C2p9bR4j.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { l as t } from "./enums-
|
|
2
|
+
import { l as t } from "./enums-BwgSueOO.js";
|
|
3
3
|
import { t as n } from "./useExpansion-DVdIpoOn.js";
|
|
4
4
|
import { t as r } from "./wt-expand-transition-C2p9bR4j.js";
|
|
5
5
|
import { createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, guardReactiveProps as c, normalizeClass as l, normalizeProps as u, openBlock as d, renderSlot as f, resolveComponent as p, toRef as m, unref as h, vShow as g, withCtx as _, withDirectives as v, withKeys as y } from "vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e } from "./caseConverters-DXegZoCt.js";
|
|
2
|
-
import { a as t, l as n } from "./enums-
|
|
2
|
+
import { a as t, l as n } from "./enums-BwgSueOO.js";
|
|
3
3
|
import { computed as r, createElementBlock as i, defineComponent as a, normalizeClass as o, openBlock as s } from "vue";
|
|
4
4
|
//#region node_modules/dompurify/dist/purify.es.mjs
|
|
5
5
|
function c(e, t) {
|
|
@@ -761,6 +761,7 @@ var Je = qe(), Ye = e({
|
|
|
761
761
|
calendar: "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n d=\"M7.79615 1.56818C7.98648 1.31684 8.34564 1 8.88327 1C9.43555 1 9.88327 1.44772 9.88327 2C9.88327 2.3825 9.66852 2.71484 9.35301 2.88303L9.34559 2.90747C9.33705 2.93646 9.32883 2.96736 9.32096 3H14.0676C14.1004 2.76997 14.146 2.5473 14.2063 2.34253C14.2778 2.09969 14.3893 1.814 14.5754 1.56818C14.7658 1.31684 15.1249 1 15.6626 1C16.2148 1 16.6626 1.44772 16.6626 2C16.6626 2.3825 16.4478 2.71484 16.1323 2.88303L16.1249 2.90747C16.1163 2.93646 16.1081 2.96736 16.1003 3H18C20.2091 3 22 4.79086 22 7V18C22 20.2091 20.2091 22 18 22H6C3.79086 22 2 20.2091 2 18V7C2 4.79086 3.79086 3 6 3H7.28829C7.32111 2.76997 7.36674 2.5473 7.42704 2.34253C7.49854 2.09969 7.61 1.814 7.79615 1.56818ZM14.0676 5C14.1005 5.23004 14.1461 5.45271 14.2064 5.65749C14.2779 5.90031 14.3894 6.18597 14.5755 6.43178C14.7657 6.68306 15.1249 7 15.6626 7C16.2148 7 16.6626 6.55228 16.6626 6C16.6626 5.61753 16.4478 5.28522 16.1324 5.11701L16.1249 5.09251C16.1164 5.06353 16.1082 5.03264 16.1003 5H18C19.1046 5 20 5.89543 20 7V8H4V7C4 5.89543 4.89543 5 6 5H7.28834C7.32116 5.23004 7.3668 5.45271 7.4271 5.65749C7.49861 5.90031 7.61006 6.18597 7.79617 6.43178C7.98644 6.68306 8.34558 7 8.88327 7C9.43555 7 9.88327 6.55228 9.88327 6C9.88327 5.61753 9.66855 5.28522 9.35309 5.11701L9.34565 5.09251C9.33711 5.06353 9.32889 5.03264 9.32102 5H14.0676ZM20 10V18C20 19.1046 19.1046 20 18 20H6C4.89543 20 4 19.1046 4 18V10H20Z\"/>\n</svg>\n",
|
|
762
762
|
dislike: "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M16.0872 16.7802L13.5626 20.9277C11.9858 23.5182 8 22.4005 8 19.3679L8 17.0001C8 16.4478 7.55228 16.0001 7 16.0001L5.82843 16.0001C5.03278 16.0001 4.26971 15.6841 3.70711 15.1214L3.14859 14.5629C2.3595 13.7738 2.07361 12.6119 2.40647 11.5468L4.10694 6.1053C4.49832 4.85287 5.65823 4.00012 6.97038 4.00012L12.7984 4.00012C13.4797 4.00012 14.1406 4.23197 14.6725 4.65752L15.7005 5.47987C16.05 5.1808 16.5039 5.00018 17 5.00018L20 5.00018C21.1046 5.00018 22 5.89561 22 7.00018L22 15.0002C22 16.1047 21.1046 17.0002 20 17.0002L17 17.0002C16.6711 17.0002 16.3608 16.9208 16.0872 16.7802ZM11.8542 19.8878C11.3286 20.7513 10 20.3787 10 19.3679L10 17.0001C10 15.3433 8.65685 14.0001 7 14.0001L5.82843 14.0001C5.56321 14.0001 5.30886 13.8948 5.12132 13.7072L4.56281 13.1487C4.29977 12.8857 4.20448 12.4984 4.31544 12.1433L6.0159 6.70185C6.14636 6.28437 6.533 6.00012 6.97038 6.00012L12.7984 6.00012C13.0255 6.00012 13.2458 6.0774 13.4231 6.21925L14.6247 7.1805C14.8619 7.37027 15 7.65759 15 7.96137L15 14.4393C15 14.6227 14.9496 14.8026 14.8542 14.9592L11.8542 19.8878ZM17 15.0002L20 15.0002L20 7.00018L17 7.00018L17 15.0002Z\"/>\n</svg>\n",
|
|
763
763
|
darkMode: "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n d=\"M10.2038 2.81291C10.6138 3.422 10.7074 4.27712 10.3383 5.02658C9.77883 6.16265 9.4624 7.44963 9.4624 8.81658C9.4624 13.4678 13.1179 17.1885 17.5665 17.1885C18.1791 17.1885 18.6649 17.5619 18.8776 18.0339C19.0997 18.5269 19.0445 19.199 18.5134 19.6468C16.7722 21.1148 14.5391 22.0001 12.1041 22.0001C6.49663 22.0001 2 17.3289 2 11.6281C2 7.43409 4.42789 3.80761 7.94053 2.17515C8.36429 1.97822 8.82559 1.94044 9.2585 2.08275C9.67724 2.22039 9.99384 2.50092 10.2038 2.81291ZM8.56141 4.09626C5.86947 5.45049 4 8.30692 4 11.6281C4 16.2794 7.65546 20.0001 12.1041 20.0001C13.4629 20.0001 14.7439 19.6551 15.87 19.0433C11.079 18.2136 7.4624 13.9291 7.4624 8.81658C7.4624 7.13811 7.85151 5.54932 8.54404 4.14301C8.55152 4.12782 8.55729 4.11217 8.56141 4.09626Z\"/>\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n d=\"M15 4.00006C15.5523 4.00006 16 4.44778 16 5.00006C16 6.10463 16.8954 7.00006 18 7.00006C18.5523 7.00006 19 7.44778 19 8.00006C19 8.55235 18.5523 9.00006 18 9.00006C16.8954 9.00006 16 9.89549 16 11.0001C16 11.5523 15.5523 12.0001 15 12.0001C14.4477 12.0001 14 11.5523 14 11.0001C14 9.89549 13.1046 9.00006 12 9.00006C11.4477 9.00006 11 8.55235 11 8.00006C11 7.44778 11.4477 7.00006 12 7.00006C13.1046 7.00006 14 6.10463 14 5.00006C14 4.44778 14.4477 4.00006 15 4.00006ZM15 7.64589C14.8894 7.77117 14.7711 7.88948 14.6458 8.00006C14.7711 8.11064 14.8894 8.22895 15 8.35424C15.1106 8.22895 15.2289 8.11064 15.3542 8.00006C15.2289 7.88948 15.1106 7.77117 15 7.64589Z\"/>\n <path d=\"M20 11.0001C20 10.4478 19.5523 10.0001 19 10.0001C18.4477 10.0001 18 10.4478 18 11.0001C18 11.5523 17.5523 12.0001 17 12.0001C16.4477 12.0001 16 12.4478 16 13.0001C16 13.5523 16.4477 14.0001 17 14.0001C17.5523 14.0001 18 14.4478 18 15.0001C18 15.5523 18.4477 16.0001 19 16.0001C19.5523 16.0001 20 15.5523 20 15.0001C20 14.4478 20.4477 14.0001 21 14.0001C21.5523 14.0001 22 13.5523 22 13.0001C22 12.4478 21.5523 12.0001 21 12.0001C20.4477 12.0001 20 11.5523 20 11.0001Z\"/>\n</svg>\n",
|
|
764
|
+
shieldCheck: "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.30424 6.45103L10.6508 4.2235C11.5596 3.9255 12.4404 3.9255 13.3492 4.2235L18.6957 6.45102C18.7121 6.45784 18.7286 6.46441 18.745 6.4707C18.8612 6.5152 18.9209 6.57326 18.9516 6.61687C18.983 6.66161 19 6.7136 19 6.77325V10.8281C19 14.9062 16.0324 18.8709 12 19.9676C7.96763 18.8709 5 14.9062 5 10.8281V6.77325C5 6.7136 5.017 6.66161 5.04844 6.61687C5.07909 6.57326 5.13872 6.51522 5.25497 6.47072C5.27144 6.46441 5.28789 6.45784 5.30424 6.45103ZM14.0175 2.338C12.6737 1.88733 11.3263 1.88733 9.98255 2.338C9.96006 2.34554 9.93784 2.35388 9.91594 2.36301L4.53746 4.60385C3.58437 4.96978 3 5.81925 3 6.77325V10.8281C3 15.8921 6.69995 20.7472 11.765 21.972C11.9194 22.0093 12.0806 22.0093 12.235 21.972C17.3 20.7472 21 15.8921 21 10.8281V6.77325C21 5.81925 20.4156 4.96979 19.4625 4.60386L14.0841 2.36301C14.0622 2.35389 14.0399 2.34554 14.0175 2.338ZM17.5 9.9142C17.8905 9.52367 17.8905 8.89051 17.5 8.49999C17.1095 8.10946 16.4763 8.10946 16.0858 8.49999L10.8536 14.0251C10.6583 14.2203 10.3417 14.2203 10.1465 14.0251L8.70711 12.6109C8.31658 12.2203 7.68342 12.2203 7.29289 12.6109C6.90237 13.0014 6.90237 13.6346 7.29289 14.0251L9.08579 15.7929C9.86684 16.5739 11.1332 16.5739 11.9142 15.7929L17.5 9.9142Z\"/>\n</svg>\n",
|
|
764
765
|
call: "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n d=\"M4.12302 3.10133C5.60827 1.63289 7.91438 1.63289 9.39964 3.10133L10.6027 4.29076C11.2259 4.9069 11.5869 5.73865 11.5575 6.63726C11.5284 7.52905 11.1223 8.33214 10.5024 8.94495L10.1724 9.27129C10.5972 10.1021 11.2447 10.9718 12.1065 11.8238C12.8562 12.5651 13.7961 13.2183 14.7373 13.7196L15.151 13.3106C16.4357 12.0404 18.4411 12.0404 19.7258 13.3106L20.9289 14.5001C20.9565 14.5273 20.9832 14.5555 21.0089 14.5846C21.6712 15.333 21.9552 16.2553 21.9954 17.0906C22.0353 17.9188 21.8437 18.8023 21.3775 19.5396C21.3067 19.6516 21.2235 19.7551 21.1294 19.8481L20.4276 20.5419C19.2103 21.7455 17.6267 22.2099 15.9741 21.9128L15.9567 21.9097C12.9525 21.3385 9.7479 19.5567 7.14329 16.9861C4.41754 14.3941 2.73098 11.2318 2.14584 8.298C1.69091 6.54212 2.35115 4.85314 3.42124 3.79517L4.12302 3.10133ZM7.9935 4.52357C7.28741 3.82548 6.23525 3.82548 5.52916 4.52357L4.82738 5.21741C4.18471 5.85279 3.82621 6.83916 4.08694 7.81548C4.09266 7.83692 4.09767 7.85854 4.10196 7.88032C4.59644 10.3918 6.06806 13.2061 8.52787 15.5428L8.54193 15.5565C10.9164 17.9022 13.7769 19.4581 16.3254 19.9439L16.3279 19.9444C17.3568 20.1293 18.279 19.8537 19.0215 19.1197L19.7019 18.447C19.9107 18.104 20.02 17.6492 19.9978 17.1868C19.9752 16.7174 19.818 16.2601 19.5166 15.9162L18.3197 14.7329C17.8141 14.233 17.0627 14.233 16.5571 14.7329L15.6549 15.6249C15.5539 15.7248 15.4416 15.7973 15.3302 15.8463C15.0674 15.9619 14.7675 15.959 14.5069 15.8383C13.2047 15.2347 11.8074 14.3406 10.7004 13.2461C9.48869 12.0481 8.56777 10.7419 8.04775 9.4224C7.96653 9.2163 7.95604 8.98907 8.01793 8.77636C8.06828 8.60332 8.16411 8.44433 8.29426 8.31566L9.0963 7.52271C9.40888 7.21366 9.54863 6.8778 9.5586 6.57204C9.56854 6.26744 9.45095 5.96452 9.19655 5.713L7.9935 4.52357Z\"/>\n</svg>\n",
|
|
765
766
|
"call--filled": "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M21.9908 18.4655C21.916 17.6769 21.3984 16.8998 20.4083 16.0895C19.2434 15.136 18.344 14.6741 17.5779 14.636C16.6212 14.5883 16.0452 15.1809 15.4354 15.8084C15.3732 15.8725 15.3099 15.9374 15.2451 16.0032C15.2076 16.0411 15.1467 16.0838 15.0072 16.0769C14.6014 16.0567 13.5347 15.638 10.9498 13.062C9.82891 11.9442 9.00313 10.9991 8.49538 10.253C7.99078 9.51145 7.80141 8.95575 7.98903 8.76611C8.05344 8.70092 8.11741 8.63718 8.18036 8.57454C8.73424 8.02282 9.25737 7.50173 9.32609 6.70701C9.39903 5.86306 8.94686 4.89871 7.8603 3.58045C7.02003 2.55901 6.21778 2.04284 5.4076 2.00248C4.3082 1.94772 3.50362 2.8101 2.85722 3.50299C2.74336 3.62517 2.63577 3.74046 2.53085 3.84688C1.74844 4.63808 1.83519 6.42358 2.7628 8.62304C3.76758 11.0056 5.6388 13.6318 8.03171 16.0179C12.2903 20.2636 16.226 21.8909 18.3023 21.9943C19.1414 22.0361 19.7923 21.848 20.1849 21.4503C20.2908 21.3429 20.4053 21.2331 20.5264 21.1169C21.2271 20.4449 22.0992 19.6086 21.9908 18.4655Z\"/>\n</svg>\n",
|
|
766
767
|
callAddTo: "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n d=\"M9.39964 3.10134C7.91438 1.6329 5.60827 1.6329 4.12302 3.10134L3.42124 3.79518C2.35115 4.85315 1.69091 6.54213 2.14584 8.29802C2.73098 11.2318 4.41754 14.3941 7.14329 16.9861C9.7479 19.5568 12.9525 21.3385 15.9567 21.9097L15.9741 21.9128C17.6267 22.2099 19.2103 21.7455 20.4276 20.5419L21.1294 19.8481C21.2235 19.7551 21.3067 19.6516 21.3775 19.5396C21.8437 18.8023 22.0353 17.9188 21.9954 17.0906C21.9552 16.2554 21.6712 15.333 21.0089 14.5846C20.9832 14.5555 20.9565 14.5273 20.9289 14.5001L19.7258 13.3106C18.4411 12.0404 16.4357 12.0404 15.151 13.3106L14.7373 13.7196C13.7961 13.2183 12.8562 12.5651 12.1065 11.8238C11.2447 10.9718 10.5972 10.1021 10.1724 9.27131L10.5024 8.94496C11.1223 8.33215 11.5284 7.52907 11.5575 6.63728C11.5869 5.73866 11.2259 4.90692 10.6027 4.29078L9.39964 3.10134ZM5.52916 4.52359C6.23525 3.82549 7.28741 3.82549 7.9935 4.52359L9.19655 5.71302C9.45095 5.96453 9.56854 6.26745 9.5586 6.57206C9.54863 6.87782 9.40888 7.21368 9.0963 7.52272L8.29426 8.31568C8.16411 8.44435 8.06828 8.60333 8.01793 8.77637C7.95604 8.98908 7.96653 9.21632 8.04775 9.42241C8.56777 10.7419 9.48869 12.0481 10.7004 13.2461C11.8074 14.3406 13.2047 15.2347 14.5069 15.8383C14.7675 15.959 15.0674 15.962 15.3302 15.8463C15.4416 15.7973 15.5539 15.7248 15.6549 15.625L16.5571 14.7329C17.0627 14.233 17.8141 14.233 18.3197 14.7329L19.5166 15.9162C19.818 16.2601 19.9752 16.7174 19.9978 17.1868C20.02 17.6492 19.9107 18.104 19.7019 18.447L19.0215 19.1197C18.279 19.8537 17.3568 20.1293 16.3279 19.9444L16.3254 19.9439C13.7769 19.4581 10.9164 17.9023 8.54193 15.5565L8.52787 15.5428C6.06806 13.2062 4.59644 10.3919 4.10196 7.88033C4.09767 7.85856 4.09266 7.83693 4.08694 7.81549C3.82621 6.83917 4.18471 5.85281 4.82738 5.21742L5.52916 4.52359Z\"/>\n <path d=\"M20.0075 3.99254L20.0063 2.17989C20.006 1.62461 19.5555 1.17418 19.0003 1.17383C18.445 1.17348 17.9951 1.62333 17.9955 2.17861L17.9966 3.99769L16.1797 3.99654C15.6244 3.99619 15.1745 4.44605 15.1749 5.00133C15.1752 5.55661 15.6257 6.00704 16.1809 6.00739L17.9915 6.00853L17.9926 7.81908C17.993 8.37436 18.4434 8.82478 18.9987 8.82513C19.554 8.82549 20.0038 8.37563 20.0035 7.82035L20.0023 6.00338L21.8214 6.00453C22.3767 6.00488 22.8265 5.55502 22.8262 4.99975C22.8258 4.44447 22.3754 3.99404 21.8201 3.99369L20.0075 3.99254Z\"/>\n</svg>\n",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as e } from "./enums-
|
|
1
|
+
import { o as e } from "./enums-BwgSueOO.js";
|
|
2
2
|
import { t } from "./vue-i18n-lTFLGg_9.js";
|
|
3
3
|
import { t as n } from "./sortQueryAdapters-CyYXvnDN.js";
|
|
4
4
|
import { computed as r, createBlock as i, openBlock as a, resolveComponent as o, resolveDirective as s, unref as c, withDirectives as l } from "vue";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./wt-icon-
|
|
1
|
+
import { t as e } from "./wt-icon-Bd8GvqIt.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
3
|
import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, guardReactiveProps as l, mergeModels as u, mergeProps as d, normalizeClass as f, normalizeProps as p, openBlock as m, renderSlot as h, resolveComponent as g, toDisplayString as _, useModel as v, useSlots as y, withCtx as b } from "vue";
|
|
4
4
|
//#region src/components/wt-checkbox/wt-checkbox.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e } from "./enums-
|
|
2
|
-
import { n as t, t as n } from "./wt-toast-
|
|
1
|
+
import { i as e } from "./enums-BwgSueOO.js";
|
|
2
|
+
import { n as t, t as n } from "./wt-toast-QzhZGeTp.js";
|
|
3
3
|
import { createBlock as r, inject as i, onUnmounted as a, openBlock as o } from "vue";
|
|
4
4
|
import { useToast as s } from "primevue/usetoast";
|
|
5
5
|
//#region src/components/wt-toast/types/index.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "./wt-icon-
|
|
1
|
+
import { t as e } from "./wt-icon-Bd8GvqIt.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { l as n } from "./enums-
|
|
4
|
-
import { t as r } from "./wt-button-
|
|
3
|
+
import { l as n } from "./enums-BwgSueOO.js";
|
|
4
|
+
import { t as r } from "./wt-button-BDGLW4OG.js";
|
|
5
5
|
import { n as i, t as a } from "./useVidstackSrc-epUQZhkL.js";
|
|
6
6
|
import { t as o } from "./wt-popover-BdwrokVy.js";
|
|
7
7
|
import { t as s } from "./wt-slider-BPzRTeYU.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { t } from "./debounce-Bp3jy7S5.js";
|
|
3
|
-
import { t as n } from "./useValidation-
|
|
3
|
+
import { t as n } from "./useValidation-Hdk6hzmc.js";
|
|
4
4
|
import { computed as r, createBlock as i, createCommentVNode as a, createElementVNode as o, createSlots as s, createTextVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, openBlock as f, renderSlot as p, resolveComponent as m, resolveDirective as h, toDisplayString as g, toRefs as _, unref as v, withCtx as y, withDirectives as b } from "vue";
|
|
5
5
|
//#region src/components/wt-search-bar/wt-search-bar.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var x = { class: "wt-search-bar__icon-controls" }, S = /*#__PURE__*/ e(/* @__PURE__ */ u({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./components-
|
|
1
|
+
import { n as e } from "./components-GEKIa6Vp.js";
|
|
2
2
|
import { t } from "./vue-i18n-lTFLGg_9.js";
|
|
3
|
-
import { n, r } from "./clients-
|
|
3
|
+
import { n, r } from "./clients-DPvJvOx5.js";
|
|
4
4
|
import { createBlock as i, createTextVNode as a, createVNode as o, defineComponent as s, inject as c, mergeProps as l, onMounted as u, openBlock as d, ref as f, resolveComponent as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/components/on-demand/wt-send-message-popup/wt-send-message-popup.vue
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { l as e, p as t } from "./enums-BwgSueOO.js";
|
|
2
|
+
import { t as n } from "./vue-i18n-lTFLGg_9.js";
|
|
3
|
+
import { t as r } from "./convertDuration-1K7fuEpO.js";
|
|
4
|
+
import { computed as i, createBlock as a, createVNode as o, defineComponent as s, openBlock as c, resolveComponent as l, unref as u, withCtx as d } from "vue";
|
|
5
|
+
//#region src/components/wt-status-select/_internals/StatusOptions.lookup.js
|
|
6
|
+
var f = [
|
|
7
|
+
{
|
|
8
|
+
locale: "webitelUI.statusSelect.online",
|
|
9
|
+
color: "success",
|
|
10
|
+
value: t.ONLINE
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
locale: "webitelUI.statusSelect.pause",
|
|
14
|
+
color: "primary",
|
|
15
|
+
value: t.PAUSE
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
locale: "webitelUI.statusSelect.offline",
|
|
19
|
+
color: "secondary",
|
|
20
|
+
value: t.OFFLINE
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
locale: "webitelUI.statusSelect.breakOut",
|
|
24
|
+
color: "break-out",
|
|
25
|
+
value: t.BREAK_OUT
|
|
26
|
+
}
|
|
27
|
+
], p = /* @__PURE__ */ s({
|
|
28
|
+
__name: "wt-status-select",
|
|
29
|
+
props: {
|
|
30
|
+
status: { default: t.OFFLINE },
|
|
31
|
+
statusDuration: { default: 0 },
|
|
32
|
+
options: {}
|
|
33
|
+
},
|
|
34
|
+
emits: ["change", "closed"],
|
|
35
|
+
setup(s, { emit: p }) {
|
|
36
|
+
let m = s, h = p, { t: g } = n(), _ = i(() => m.options ? m.options : f.map((e) => ({
|
|
37
|
+
...e,
|
|
38
|
+
text: g(e.locale)
|
|
39
|
+
}))), v = i(() => _.value.find((e) => e.value === m.status)), y = i(() => _.value.reduce((e, n) => (m.status === n.value && n.value !== t.PAUSE || n.value === t.BREAK_OUT || e.push(n), e), [])), b = i(() => typeof m.statusDuration == "string" ? m.statusDuration : m.statusDuration === void 0 ? v.value?.text ?? "" : r(m.statusDuration));
|
|
40
|
+
function x(e) {
|
|
41
|
+
h("change", e.value);
|
|
42
|
+
}
|
|
43
|
+
function S(e) {
|
|
44
|
+
h("closed", e);
|
|
45
|
+
}
|
|
46
|
+
return (t, n) => {
|
|
47
|
+
let r = l("wt-indicator"), i = l("wt-single-select");
|
|
48
|
+
return c(), a(i, {
|
|
49
|
+
"show-clear": !1,
|
|
50
|
+
options: y.value,
|
|
51
|
+
filterable: !1,
|
|
52
|
+
"model-value": v.value,
|
|
53
|
+
class: "wt-status-select",
|
|
54
|
+
"data-key": "value",
|
|
55
|
+
size: u(e).SM,
|
|
56
|
+
onClosed: S,
|
|
57
|
+
"onUpdate:modelValue": x
|
|
58
|
+
}, {
|
|
59
|
+
value: d(({ value: e }) => [o(r, {
|
|
60
|
+
color: e.color,
|
|
61
|
+
text: b.value
|
|
62
|
+
}, null, 8, ["color", "text"])]),
|
|
63
|
+
option: d(({ option: e }) => [o(r, {
|
|
64
|
+
color: e.color,
|
|
65
|
+
text: e.text
|
|
66
|
+
}, null, 8, ["color", "text"])]),
|
|
67
|
+
_: 1
|
|
68
|
+
}, 8, [
|
|
69
|
+
"options",
|
|
70
|
+
"model-value",
|
|
71
|
+
"size"
|
|
72
|
+
]);
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
//#endregion
|
|
77
|
+
export { p as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { l as t, r as n } from "./enums-
|
|
2
|
+
import { l as t, r as n } from "./enums-BwgSueOO.js";
|
|
3
3
|
import { t as r } from "./vue-i18n-lTFLGg_9.js";
|
|
4
|
-
import { t as i } from "./useValidation-
|
|
4
|
+
import { t as i } from "./useValidation-Hdk6hzmc.js";
|
|
5
5
|
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, defineComponent as d, guardReactiveProps as f, mergeProps as p, nextTick as m, normalizeClass as h, normalizeProps as g, openBlock as _, renderSlot as v, resolveComponent as y, toDisplayString as b, toRefs as x, unref as S, withCtx as C } from "vue";
|
|
6
6
|
//#region src/components/wt-timepicker/wt-timepicker.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var w = { class: "wt-timepicker__wrapper" }, T = 3600, E = 60, D = /*#__PURE__*/ e(/* @__PURE__ */ d({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./wt-icon-
|
|
2
|
-
import { i as t, l as n } from "./enums-
|
|
1
|
+
import { t as e } from "./wt-icon-Bd8GvqIt.js";
|
|
2
|
+
import { i as t, l as n } from "./enums-BwgSueOO.js";
|
|
3
3
|
import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, guardReactiveProps as u, normalizeProps as d, openBlock as f, resolveComponent as p, toDisplayString as m, unref as h, useAttrs as g, withCtx as _ } from "vue";
|
|
4
4
|
//#region node_modules/mitt/dist/mitt.mjs
|
|
5
5
|
function v(e) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { n as t } from "./sortQueryAdapters-CyYXvnDN.js";
|
|
3
|
-
import { n, t as r } from "./wt-icon-btn-
|
|
3
|
+
import { n, t as r } from "./wt-icon-btn-BL4UZ7Fv.js";
|
|
4
4
|
import { t as i } from "./useWtTable-DrrvvB6k.js";
|
|
5
5
|
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createSlots as d, createTextVNode as f, createVNode as p, defineComponent as m, normalizeClass as h, normalizeStyle as g, onMounted as _, openBlock as v, ref as y, renderList as b, renderSlot as x, resolveComponent as S, toDisplayString as C, toRef as w, unref as T, withCtx as E, withModifiers as D } from "vue";
|
|
6
6
|
//#region src/components/wt-tree-table-row/wt-tree-table-row.vue?vue&type=script&setup=true&lang.ts
|
package/dist/{wt-type-extension-value-input-Tlnn-d1W.js → wt-type-extension-value-input-CP-xZ065.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as e, o as t, r as n, s as r } from "./components-
|
|
2
|
-
import { t as i } from "./enums-
|
|
1
|
+
import { a as e, o as t, r as n, s as r } from "./components-GEKIa6Vp.js";
|
|
2
|
+
import { t as i } from "./enums-BwgSueOO.js";
|
|
3
3
|
import { t as a } from "./vue-i18n-lTFLGg_9.js";
|
|
4
|
-
import { t as o } from "./clients-
|
|
4
|
+
import { t as o } from "./clients-DPvJvOx5.js";
|
|
5
5
|
import { computed as s, createBlock as c, createCommentVNode as l, createVNode as u, defineComponent as d, mergeModels as f, mergeProps as p, openBlock as m, renderSlot as h, resolveComponent as g, unref as _, useModel as v } from "vue";
|
|
6
6
|
//#endregion
|
|
7
7
|
//#region src/components/on-demand/wt-type-extension-value-input/wt-type-extension-value-input.vue
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as e } from "./components-
|
|
1
|
+
import { l as e } from "./components-GEKIa6Vp.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { l as n } from "./enums-
|
|
4
|
-
import "./wt-button-
|
|
5
|
-
import { t as r } from "./wt-icon-btn-
|
|
3
|
+
import { l as n } from "./enums-BwgSueOO.js";
|
|
4
|
+
import "./wt-button-BDGLW4OG.js";
|
|
5
|
+
import { t as r } from "./wt-icon-btn-BL4UZ7Fv.js";
|
|
6
6
|
import { $ as i, C as a, D as o, F as s, G as c, H as l, I as u, J as d, K as f, L as p, M as m, N as h, O as ee, P as te, Q as g, R as ne, S as _, U as re, V as v, W as y, X as b, Y as ie, Z as x, _ as S, a as ae, b as oe, c as se, d as ce, et as le, f as ue, g as de, h as fe, i as C, it as pe, j as me, k as he, l as w, m as ge, n as T, nt as E, o as D, ot as _e, p as O, q as k, r as A, rt as ve, t as ye, tt as be, u as xe, v as j, w as Se, y as Ce, z as we } from "./vidstack-D9mvYVIz-DesuYgKV.js";
|
|
7
7
|
import { _ as M, a as Te, c as Ee, d as De, f as Oe, g as ke, h as Ae, i as je, l as Me, m as Ne, n as Pe, o as Fe, p as Ie, r as Le, s as Re, t as N, u as ze } from "./vidstack-CgfrU1hS-CNTJkyzm.js";
|
|
8
8
|
import { _ as Be, a as Ve, c as He, f as Ue, g as We, h as Ge, i as Ke, l as qe, n as Je, r as Ye, s as Xe, t as Ze, u as Qe, v as $e, x as et, y as tt } from "./useVidstackSrc-epUQZhkL.js";
|
package/package.json
CHANGED
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
getDefaultInstance,
|
|
7
7
|
} from '../../defaults/index.js';
|
|
8
8
|
import applyTransform, {
|
|
9
|
+
addQueryParamsToUrl,
|
|
9
10
|
camelToSnake,
|
|
10
11
|
generateUrl,
|
|
11
12
|
merge,
|
|
@@ -91,6 +92,7 @@ const getUser = async ({ itemId: id }) => {
|
|
|
91
92
|
license: [],
|
|
92
93
|
devices: [],
|
|
93
94
|
device: {},
|
|
95
|
+
generateDevice: false,
|
|
94
96
|
variables: [
|
|
95
97
|
{
|
|
96
98
|
key: '',
|
|
@@ -177,8 +179,20 @@ const addUser = async ({ itemInstance }) => {
|
|
|
177
179
|
'profile',
|
|
178
180
|
]),
|
|
179
181
|
]);
|
|
182
|
+
// WTEL-9735 Підзадача 0: за прапорцем itemInstance.generateDevice додаємо
|
|
183
|
+
// query ?generate_device=true. Прапорець не входить у fieldsToSend, тож у
|
|
184
|
+
// тіло не потрапляє — лише в query. Без прапорця URL не змінюється.
|
|
185
|
+
const url = applyTransform(baseUrl, [
|
|
186
|
+
addQueryParamsToUrl(
|
|
187
|
+
itemInstance.generateDevice
|
|
188
|
+
? [
|
|
189
|
+
'generate_device=true',
|
|
190
|
+
]
|
|
191
|
+
: [],
|
|
192
|
+
),
|
|
193
|
+
]);
|
|
180
194
|
try {
|
|
181
|
-
const response = await instance.post(
|
|
195
|
+
const response = await instance.post(url, item);
|
|
182
196
|
return applyTransform(response.data, [
|
|
183
197
|
snakeToCamel([
|
|
184
198
|
'profile',
|
|
@@ -200,7 +214,17 @@ const updateUser = async ({ itemInstance, itemId: id }) => {
|
|
|
200
214
|
]),
|
|
201
215
|
]);
|
|
202
216
|
|
|
203
|
-
|
|
217
|
+
// WTEL-9735 Підзадача 0: генерація пристрою і на edit (PUT) — той самий
|
|
218
|
+
// прапорець itemInstance.generateDevice; query додається лише коли він true
|
|
219
|
+
const url = applyTransform(`${baseUrl}/${id}`, [
|
|
220
|
+
addQueryParamsToUrl(
|
|
221
|
+
itemInstance.generateDevice
|
|
222
|
+
? [
|
|
223
|
+
'generate_device=true',
|
|
224
|
+
]
|
|
225
|
+
: [],
|
|
226
|
+
),
|
|
227
|
+
]);
|
|
204
228
|
try {
|
|
205
229
|
const response = await instance.put(url, item);
|
|
206
230
|
return applyTransform(response.data, [
|
|
@@ -201,6 +201,7 @@ import selectCustomValueEnter from './select-custom-value-enter.svg?raw';
|
|
|
201
201
|
import sendArrow from './send-arrow.svg?raw';
|
|
202
202
|
import settings from './settings.svg?raw';
|
|
203
203
|
import sharingEnd from './sharing-end.svg?raw';
|
|
204
|
+
import shieldCheck from './shield-check.svg?raw';
|
|
204
205
|
import socialMedia from './social-media.svg?raw';
|
|
205
206
|
import sortArrowDown from './sort-arrow-down.svg?raw';
|
|
206
207
|
import sortArrowUp from './sort-arrow-up.svg?raw';
|
|
@@ -275,6 +276,7 @@ export default objCamelToKebab({
|
|
|
275
276
|
calendar,
|
|
276
277
|
dislike,
|
|
277
278
|
darkMode,
|
|
279
|
+
shieldCheck,
|
|
278
280
|
|
|
279
281
|
call,
|
|
280
282
|
'call--filled': callFilled,
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.30424 6.45103L10.6508 4.2235C11.5596 3.9255 12.4404 3.9255 13.3492 4.2235L18.6957 6.45102C18.7121 6.45784 18.7286 6.46441 18.745 6.4707C18.8612 6.5152 18.9209 6.57326 18.9516 6.61687C18.983 6.66161 19 6.7136 19 6.77325V10.8281C19 14.9062 16.0324 18.8709 12 19.9676C7.96763 18.8709 5 14.9062 5 10.8281V6.77325C5 6.7136 5.017 6.66161 5.04844 6.61687C5.07909 6.57326 5.13872 6.51522 5.25497 6.47072C5.27144 6.46441 5.28789 6.45784 5.30424 6.45103ZM14.0175 2.338C12.6737 1.88733 11.3263 1.88733 9.98255 2.338C9.96006 2.34554 9.93784 2.35388 9.91594 2.36301L4.53746 4.60385C3.58437 4.96978 3 5.81925 3 6.77325V10.8281C3 15.8921 6.69995 20.7472 11.765 21.972C11.9194 22.0093 12.0806 22.0093 12.235 21.972C17.3 20.7472 21 15.8921 21 10.8281V6.77325C21 5.81925 20.4156 4.96979 19.4625 4.60386L14.0841 2.36301C14.0622 2.35389 14.0399 2.34554 14.0175 2.338ZM17.5 9.9142C17.8905 9.52367 17.8905 8.89051 17.5 8.49999C17.1095 8.10946 16.4763 8.10946 16.0858 8.49999L10.8536 14.0251C10.6583 14.2203 10.3417 14.2203 10.1465 14.0251L8.70711 12.6109C8.31658 12.2203 7.68342 12.2203 7.29289 12.6109C6.90237 13.0014 6.90237 13.6346 7.29289 14.0251L9.08579 15.7929C9.86684 16.5739 11.1332 16.5739 11.9142 15.7929L17.5 9.9142Z"/>
|
|
3
|
+
</svg>
|
package/src/components/index.js
CHANGED
|
@@ -10,6 +10,7 @@ import WtBadgeNew from './wt-badge-new/wt-badge.vue';
|
|
|
10
10
|
import WtBreadcrumb from './wt-breadcrumb/wt-breadcrumb.vue';
|
|
11
11
|
import WtButton from './wt-button/wt-button.vue';
|
|
12
12
|
import WtCallMediaMetric from './wt-call-media-metric/wt-call-media-metric.vue';
|
|
13
|
+
import WtCard from './wt-card/wt-card.vue';
|
|
13
14
|
import WtCheckbox from './wt-checkbox/wt-checkbox.vue';
|
|
14
15
|
import WtChip from './wt-chip/wt-chip.vue';
|
|
15
16
|
import WtDatetimeText from './wt-datetime-text/wt-datetime-text.vue';
|
|
@@ -40,7 +41,6 @@ import WtPopup from './wt-popup/wt-popup.vue';
|
|
|
40
41
|
import WtProgressBar from './wt-progress-bar/wt-progress-bar.vue';
|
|
41
42
|
import WtRadio from './wt-radio/wt-radio.vue';
|
|
42
43
|
import WtRoundedAction from './wt-rounded-action/wt-rounded-action.vue';
|
|
43
|
-
import WtSelect from './wt-select/wt-select.vue';
|
|
44
44
|
import WtSingleSelect from './wt-single-select/wt-single-select.vue';
|
|
45
45
|
import WtSwitcher from './wt-switcher/wt-switcher.vue';
|
|
46
46
|
import WtTextarea from './wt-textarea/wt-textarea.vue';
|
|
@@ -204,7 +204,6 @@ const Components = {
|
|
|
204
204
|
WtProgressBar,
|
|
205
205
|
WtRadio,
|
|
206
206
|
WtSearchBar,
|
|
207
|
-
WtSelect,
|
|
208
207
|
WtSlider,
|
|
209
208
|
WtSwitcher,
|
|
210
209
|
WtTabs,
|
|
@@ -251,6 +250,7 @@ const Components = {
|
|
|
251
250
|
WtChatEmoji,
|
|
252
251
|
WtExpansionCard,
|
|
253
252
|
WtDatetimeText,
|
|
253
|
+
WtCard,
|
|
254
254
|
WtSingleSelect,
|
|
255
255
|
WtMultiSelect,
|
|
256
256
|
WtScreenRecordingsAction,
|
|
@@ -272,6 +272,7 @@ export {
|
|
|
272
272
|
WtButtonSelect,
|
|
273
273
|
WtCallMediaAction,
|
|
274
274
|
WtCallMediaMetric,
|
|
275
|
+
WtCard,
|
|
275
276
|
WtChatEmoji,
|
|
276
277
|
WtCheckbox,
|
|
277
278
|
WtChip,
|
|
@@ -325,7 +326,6 @@ export {
|
|
|
325
326
|
WtRoundedAction,
|
|
326
327
|
WtScreenRecordingsAction,
|
|
327
328
|
WtSearchBar,
|
|
328
|
-
WtSelect,
|
|
329
329
|
WtSelectionPopup,
|
|
330
330
|
WtSendMessagePopup,
|
|
331
331
|
WtSingleSelect,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
--wt-indicator-text-color: var(--text-main-color);
|
|
10
10
|
--wt-indicator-primary-color: var(--primary-color);
|
|
11
|
-
--wt-indicator-secondary-color: var(--
|
|
12
|
-
--wt-indicator-disabled-color: var(--
|
|
11
|
+
--wt-indicator-secondary-color: var(--grey-lighten-3);
|
|
12
|
+
--wt-indicator-disabled-color: var(--grey-lighten-4);
|
|
13
13
|
--wt-indicator-success-color: var(--success-color);
|
|
14
14
|
--wt-indicator-error-color: var(--error-color);
|
|
15
15
|
--wt-indicator-transfer-color: var(--transfer-color);
|
|
@@ -19,3 +19,8 @@
|
|
|
19
19
|
--wt-indicator-initial-status-color: var(--red-accent-2);
|
|
20
20
|
--wt-indicator-other-status-color: var(--orange-accent-2);
|
|
21
21
|
}
|
|
22
|
+
|
|
23
|
+
:root.theme--dark {
|
|
24
|
+
--wt-indicator-secondary-color: var(--grey-darken-1);
|
|
25
|
+
--wt-indicator-disabled-color: var(--grey-darken-2);
|
|
26
|
+
}
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
:option-label="(option) => getOptionLabel(option)"
|
|
28
28
|
:option-value="optionValue"
|
|
29
29
|
:data-key="dataKey"
|
|
30
|
+
:size="primevueSizeMap[size]"
|
|
30
31
|
v-bind="$attrs"
|
|
31
32
|
:pt="{
|
|
32
33
|
listContainer: {
|
|
@@ -115,6 +116,7 @@ interface Props extends SelectProps {
|
|
|
115
116
|
placeholder?: string;
|
|
116
117
|
required?: boolean;
|
|
117
118
|
disabled?: boolean;
|
|
119
|
+
size?: string | null;
|
|
118
120
|
/**
|
|
119
121
|
* true disables all options but keeps dropdown visible
|
|
120
122
|
*/
|
|
@@ -158,6 +160,11 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
158
160
|
customValidators: () => [],
|
|
159
161
|
});
|
|
160
162
|
|
|
163
|
+
const primevueSizeMap = {
|
|
164
|
+
[ComponentSize.SM]: 'small',
|
|
165
|
+
[ComponentSize.LG]: 'large',
|
|
166
|
+
};
|
|
167
|
+
|
|
161
168
|
const model = defineModel<string>({
|
|
162
169
|
default: '',
|
|
163
170
|
get: (value) => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { shallowMount } from '@vue/test-utils';
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import WtSingleSelect from '../../wt-single-select/wt-single-select.vue';
|
|
4
4
|
import WtStatusSelect from '../wt-status-select.vue';
|
|
5
5
|
|
|
6
6
|
describe('WtStatusSelect', () => {
|
|
7
7
|
it('renders a component', () => {
|
|
8
8
|
const wrapper = shallowMount(WtStatusSelect, {
|
|
9
9
|
stubs: {
|
|
10
|
-
|
|
10
|
+
WtSingleSelect,
|
|
11
11
|
},
|
|
12
12
|
});
|
|
13
13
|
expect(wrapper.classes('wt-status-select')).toBe(true);
|
|
@@ -16,7 +16,7 @@ describe('WtStatusSelect', () => {
|
|
|
16
16
|
it('correctly represents duration', () => {
|
|
17
17
|
const wrapper = shallowMount(WtStatusSelect, {
|
|
18
18
|
stubs: {
|
|
19
|
-
|
|
19
|
+
WtSingleSelect,
|
|
20
20
|
},
|
|
21
21
|
});
|
|
22
22
|
expect(wrapper.vm.duration).toBe('00:00:00');
|