@webitel/ui-sdk 26.6.60 → 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.
Files changed (26) hide show
  1. package/dist/{components-DOO_6hoi.js → components-GEKIa6Vp.js} +247 -242
  2. package/dist/ui-sdk.css +1 -1
  3. package/dist/ui-sdk.js +72 -52
  4. package/dist/ui-sdk.umd.cjs +373 -370
  5. package/dist/{wt-button-BgDPcxu9.js → wt-button-BDGLW4OG.js} +1 -1
  6. package/dist/{wt-chat-emoji-BnQcxXLU.js → wt-chat-emoji-CAn773-T.js} +3 -3
  7. package/dist/{wt-display-chip-items-qXM0MwuL.js → wt-display-chip-items-DAnyat0v.js} +1 -1
  8. package/dist/{wt-icon-BvXjK8Em.js → wt-icon-Bd8GvqIt.js} +1 -0
  9. package/dist/{wt-icon-btn-B6tKLQWp.js → wt-icon-btn-BL4UZ7Fv.js} +1 -1
  10. package/dist/{wt-notifications-bar-DcvWx8Qw.js → wt-notifications-bar-Tg1pDfMR.js} +1 -1
  11. package/dist/{wt-player-4BH0EIfk.js → wt-player-B2-wweFq.js} +2 -2
  12. package/dist/{wt-send-message-popup-MrXwTh6z.js → wt-send-message-popup-Clb-abg5.js} +1 -1
  13. package/dist/{wt-toast-CdwZ-muC.js → wt-toast-QzhZGeTp.js} +1 -1
  14. package/dist/{wt-tree-table-CTCLe3FC.js → wt-tree-table-DM_CRVQQ.js} +1 -1
  15. package/dist/{wt-type-extension-value-input-EKmzk5WF.js → wt-type-extension-value-input-CP-xZ065.js} +1 -1
  16. package/dist/{wt-vidstack-player-DK-S0uAl.js → wt-vidstack-player-CuQ_SOHI.js} +3 -3
  17. package/package.json +1 -1
  18. package/src/api/clients/users/__tests__/users.spec.js +1 -0
  19. package/src/api/clients/users/users.js +26 -2
  20. package/src/assets/icons/sprite/index.ts +2 -0
  21. package/src/assets/icons/sprite/shield-check.svg +3 -0
  22. package/src/components/index.js +3 -0
  23. package/src/components/wt-card/_variables.css +4 -0
  24. package/src/components/wt-card/wt-card.vue +13 -0
  25. package/src/css/components-variables.css +1 -0
  26. package/types/components/wt-card/wt-card.vue.d.ts +13 -0
@@ -1,4 +1,4 @@
1
- import { t as e } from "./wt-icon-BvXjK8Em.js";
1
+ import { t as e } from "./wt-icon-Bd8GvqIt.js";
2
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
@@ -1,8 +1,8 @@
1
- import "./components-DOO_6hoi.js";
1
+ import "./components-GEKIa6Vp.js";
2
2
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { l as t } from "./enums-BwgSueOO.js";
4
- import { t as n } from "./wt-button-BgDPcxu9.js";
5
- import { n as r } from "./wt-toast-CdwZ-muC.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,4 +1,4 @@
1
- import { c as e, i as t } from "./components-DOO_6hoi.js";
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";
@@ -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 { t as e } from "./wt-icon-BvXjK8Em.js";
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
1
  import { i as e } from "./enums-BwgSueOO.js";
2
- import { n as t, t as n } from "./wt-toast-CdwZ-muC.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-BvXjK8Em.js";
1
+ import { t as e } from "./wt-icon-Bd8GvqIt.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { l as n } from "./enums-BwgSueOO.js";
4
- import { t as r } from "./wt-button-BgDPcxu9.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,4 +1,4 @@
1
- import { n as e } from "./components-DOO_6hoi.js";
1
+ import { n as e } from "./components-GEKIa6Vp.js";
2
2
  import { t } from "./vue-i18n-lTFLGg_9.js";
3
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";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./wt-icon-BvXjK8Em.js";
1
+ import { t as e } from "./wt-icon-Bd8GvqIt.js";
2
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
@@ -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-B6tKLQWp.js";
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
@@ -1,4 +1,4 @@
1
- import { a as e, o as t, r as n, s as r } from "./components-DOO_6hoi.js";
1
+ import { a as e, o as t, r as n, s as r } from "./components-GEKIa6Vp.js";
2
2
  import { t as i } from "./enums-BwgSueOO.js";
3
3
  import { t as a } from "./vue-i18n-lTFLGg_9.js";
4
4
  import { t as o } from "./clients-DPvJvOx5.js";
@@ -1,8 +1,8 @@
1
- import { l as e } from "./components-DOO_6hoi.js";
1
+ import { l as e } from "./components-GEKIa6Vp.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { l as n } from "./enums-BwgSueOO.js";
4
- import "./wt-button-BgDPcxu9.js";
5
- import { t as r } from "./wt-icon-btn-B6tKLQWp.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.6.60",
3
+ "version": "26.6.61",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -95,6 +95,7 @@ describe('UsersAPI', () => {
95
95
  id: 1,
96
96
  device: {},
97
97
  devices: [],
98
+ generateDevice: false,
98
99
  license: [],
99
100
  roles: [],
100
101
  variables: [
@@ -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(baseUrl, item);
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
- const url = `${baseUrl}/${id}`;
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>
@@ -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';
@@ -249,6 +250,7 @@ const Components = {
249
250
  WtChatEmoji,
250
251
  WtExpansionCard,
251
252
  WtDatetimeText,
253
+ WtCard,
252
254
  WtSingleSelect,
253
255
  WtMultiSelect,
254
256
  WtScreenRecordingsAction,
@@ -270,6 +272,7 @@ export {
270
272
  WtButtonSelect,
271
273
  WtCallMediaAction,
272
274
  WtCallMediaMetric,
275
+ WtCard,
273
276
  WtChatEmoji,
274
277
  WtCheckbox,
275
278
  WtChip,
@@ -0,0 +1,4 @@
1
+ :root {
2
+ --wt-card-border-radius: var(--p-content-border-radius);
3
+ --wt-card-padding: var(--spacing-sm);
4
+ }
@@ -0,0 +1,13 @@
1
+ <template>
2
+ <div class="wt-card">
3
+ <slot />
4
+ </div>
5
+ </template>
6
+
7
+ <style lang="scss" scoped>
8
+ .wt-card {
9
+ border-radius: var(--wt-card-border-radius);
10
+ padding: var(--wt-card-padding);
11
+ box-shadow: var(--elevation-5);
12
+ }
13
+ </style>
@@ -7,6 +7,7 @@
7
7
  @import "../components/wt-breadcrumb/_variables.css";
8
8
  @import "../components/wt-button-select/_variables.css";
9
9
  @import "../components/wt-button/_variables.css";
10
+ @import "../components/wt-card/_variables.css";
10
11
  @import "../components/wt-checkbox/_variables.css";
11
12
  @import "../components/wt-chip/_variables.css";
12
13
  @import "../components/wt-context-menu/_variables.css";
@@ -0,0 +1,13 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };