@webitel/ui-sdk 26.6.56 → 26.6.57
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-BylvVtUg.js → clients-Wwy51tyT.js} +1 -1
- package/dist/{components-Ceu_o5QZ.js → components-DfHInAL6.js} +2038 -1133
- package/dist/{enums-DW1oVune.js → enums-CBWwTuq7.js} +14 -10
- package/dist/ui-sdk.js +15 -15
- package/dist/ui-sdk.umd.cjs +676 -643
- package/dist/{useValidation-NX7UjlXi.js → useValidation-C43ysfVZ.js} +1 -1
- package/dist/{wt-action-bar-BHg0dHh-.js → wt-action-bar-B6AJf7QX.js} +2 -2
- package/dist/{wt-button-Cv7wRtF5.js → wt-button-BieXVsvP.js} +30 -30
- package/dist/wt-chat-emoji-CLfk3JVt.js +1347 -0
- package/dist/{wt-datepicker-DmmqWre1.js → wt-datepicker-BhOalZat.js} +2 -2
- package/dist/{wt-display-chip-items-CIW2Kmd1.js → wt-display-chip-items-BUWlvHn2.js} +1 -1
- package/dist/{wt-dual-panel-Cnzr4m-k.js → wt-dual-panel-C5LZm1Tr.js} +1 -1
- package/dist/{wt-expansion-card-B3J3dMdV.js → wt-expansion-card-CJr62Q0Q.js} +2 -2
- package/dist/{wt-expansion-panel-CYZR6tYG.js → wt-expansion-panel-Dvzj9PTk.js} +1 -1
- package/dist/{wt-galleria-AICD8wZ_.js → wt-galleria-B34y1Swo.js} +1 -1
- package/dist/{wt-icon-CqEgBu_3.js → wt-icon-0grToL89.js} +4 -1
- package/dist/{wt-icon-action-DlZx4RV6.js → wt-icon-action-D1Vq_ixS.js} +1 -1
- package/dist/{wt-icon-btn-B66HR8qM.js → wt-icon-btn-Czg40DXn.js} +1 -1
- package/dist/{wt-notifications-bar-Bbzp4mi1.js → wt-notifications-bar-OGD1cukw.js} +5 -6
- package/dist/{wt-player-CFL51-s6.js → wt-player-YrvPar8x.js} +3 -3
- package/dist/{wt-search-bar--ACLsoNo.js → wt-search-bar-gN_xHkW3.js} +4 -4
- package/dist/{wt-send-message-popup-D5_uap5F.js → wt-send-message-popup-pvipgSrX.js} +2 -2
- package/dist/{wt-table-2AC3hrK9.js → wt-table-DK0LjVC0.js} +1 -1
- package/dist/{wt-timepicker-DpZmWZdv.js → wt-timepicker-FhXfhuFl.js} +2 -2
- package/dist/wt-toast-DrD3sFlE.js +71 -0
- package/dist/{wt-tree-table-DkK3EyzZ.js → wt-tree-table-D1XoKDVw.js} +40 -40
- package/dist/{wt-type-extension-value-input-f5i8mReW.js → wt-type-extension-value-input-B2fSsZQc.js} +3 -3
- package/dist/{wt-vidstack-player-Ba6-mEdW.js → wt-vidstack-player-DwCYvtSh.js} +4 -4
- package/package.json +1 -1
- package/src/assets/icons/sprite/index.ts +7 -0
- package/src/assets/icons/sprite/ws-signal-high.svg +11 -0
- package/src/assets/icons/sprite/ws-signal-low.svg +11 -0
- package/src/assets/icons/sprite/ws-signal-medium.svg +11 -0
- package/src/components/index.js +3 -0
- package/src/components/wt-call-media-metric/wt-call-media-metric.vue +41 -0
- package/src/enums/ConnectionQualityLevel/ConnectionQualityLevel.enum.ts +8 -0
- package/src/enums/index.ts +6 -0
- package/src/locale/en/en.js +5 -0
- package/src/locale/es/es.js +5 -0
- package/src/locale/kz/kz.js +5 -0
- package/src/locale/pl/pl.js +5 -0
- package/src/locale/ro/ro.js +5 -0
- package/src/locale/ru/ru.js +5 -0
- package/src/locale/uk/uk.js +5 -0
- package/src/locale/uz/uz.js +5 -0
- package/src/locale/vi/vi.js +5 -0
- package/src/scripts/getConnectionQuality.ts +13 -0
- package/src/scripts/index.js +2 -0
- package/types/components/wt-call-media-metric/wt-call-media-metric.vue.d.ts +13 -0
- package/types/enums/ConnectionQualityLevel/ConnectionQualityLevel.enum.d.ts +6 -0
- package/types/enums/index.d.ts +3 -2
- package/types/locale/en/en.d.ts +5 -0
- package/types/locale/es/es.d.ts +5 -0
- package/types/locale/i18n.d.ts +45 -0
- package/types/locale/index.d.ts +45 -0
- package/types/locale/kz/kz.d.ts +5 -0
- package/types/locale/pl/pl.d.ts +5 -0
- package/types/locale/ro/ro.d.ts +5 -0
- package/types/locale/ru/ru.d.ts +5 -0
- package/types/locale/uk/uk.d.ts +5 -0
- package/types/locale/uz/uz.d.ts +5 -0
- package/types/locale/vi/vi.d.ts +5 -0
- package/types/modules/Flow/lookups/FlowTypeApplications.lookup.d.ts +5 -5
- package/types/scripts/getConnectionQuality.d.ts +2 -0
- package/types/scripts/index.d.ts +2 -1
- package/dist/eventBus-By3thVlR.js +0 -31
- package/dist/wt-chat-emoji-Dnu07Or5.js +0 -2226
- package/dist/wt-toast-gaZL33Am.js +0 -44
- package/dist/{composables-DJlgUtl5.js → composables-C2o78NEs.js} +1 -1
|
@@ -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-CBWwTuq7.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-D1Vq_ixS.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 {
|
|
1
|
+
import { t as e } from "./wt-icon-0grToL89.js";
|
|
2
|
+
import { d as t, f as n, l as r } from "./enums-CBWwTuq7.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
|
|
@@ -8,7 +8,7 @@ var w = /* @__PURE__ */ l({
|
|
|
8
8
|
props: {
|
|
9
9
|
value: { default: "" },
|
|
10
10
|
severity: { default: null },
|
|
11
|
-
size: { default:
|
|
11
|
+
size: { default: r.MD }
|
|
12
12
|
},
|
|
13
13
|
setup(e) {
|
|
14
14
|
let t = e;
|
|
@@ -35,7 +35,7 @@ var w = /* @__PURE__ */ l({
|
|
|
35
35
|
type: Boolean,
|
|
36
36
|
default: !1
|
|
37
37
|
},
|
|
38
|
-
size: { default:
|
|
38
|
+
size: { default: r.MD },
|
|
39
39
|
wide: {
|
|
40
40
|
type: Boolean,
|
|
41
41
|
default: !1
|
|
@@ -49,55 +49,55 @@ var w = /* @__PURE__ */ l({
|
|
|
49
49
|
badge: {},
|
|
50
50
|
badgeSeverity: {},
|
|
51
51
|
badgeAbsolutePosition: { type: Boolean },
|
|
52
|
-
variant: { default:
|
|
52
|
+
variant: { default: t.ACTIVE }
|
|
53
53
|
},
|
|
54
54
|
emits: ["click"],
|
|
55
|
-
setup(
|
|
55
|
+
setup(t, { emit: n }) {
|
|
56
56
|
let l = {
|
|
57
|
-
[
|
|
58
|
-
[
|
|
59
|
-
[
|
|
57
|
+
[r.XS]: "extra-small",
|
|
58
|
+
[r.SM]: "small",
|
|
59
|
+
[r.MD]: "medium"
|
|
60
60
|
}, E = {
|
|
61
|
-
[
|
|
62
|
-
[
|
|
63
|
-
[
|
|
64
|
-
}, D =
|
|
61
|
+
[r.XS]: "sm",
|
|
62
|
+
[r.SM]: "sm",
|
|
63
|
+
[r.MD]: "md"
|
|
64
|
+
}, D = t, O = n, k = b(), A = m(!1), j = i(() => ({ "wt-badge--absolute": D.badgeAbsolutePosition })), M = v(u("darkMode")), N = i(() => M.value ? "on-dark" : "on-light");
|
|
65
65
|
return x(() => D.loading, (e) => {
|
|
66
66
|
e ? A.value = !0 : setTimeout(() => {
|
|
67
67
|
A.value = e;
|
|
68
68
|
}, 1e3);
|
|
69
|
-
}, { immediate: !0 }), (
|
|
69
|
+
}, { immediate: !0 }), (n, i) => {
|
|
70
70
|
let u = g("wt-loader"), m = g("p-button");
|
|
71
71
|
return p(), a(m, d(y(k), {
|
|
72
72
|
class: [{
|
|
73
|
-
"p-button--width-by-content":
|
|
74
|
-
"p-button--wide":
|
|
73
|
+
"p-button--width-by-content": t.widthByContent || t.icon,
|
|
74
|
+
"p-button--wide": t.wide,
|
|
75
75
|
"p-button--with-badge": D.badge,
|
|
76
76
|
"p-button--loading": A.value,
|
|
77
|
-
"p-button--icon":
|
|
78
|
-
[`p-button--size-${
|
|
79
|
-
[`p-button--icon-${
|
|
77
|
+
"p-button--icon": t.icon,
|
|
78
|
+
[`p-button--size-${t.size}`]: !0,
|
|
79
|
+
[`p-button--icon-${t.variant} p-button--icon-${t.size}`]: t.icon
|
|
80
80
|
}, "wt-button typo-button typo-button"],
|
|
81
|
-
disabled:
|
|
81
|
+
disabled: t.disabled,
|
|
82
82
|
loading: A.value,
|
|
83
|
-
severity:
|
|
84
|
-
size: l[
|
|
85
|
-
variant:
|
|
83
|
+
severity: t.color,
|
|
84
|
+
size: l[t.size],
|
|
85
|
+
variant: t.variant
|
|
86
86
|
}, { onClick: i[0] ||= C((e) => O("click", e), ["prevent"]) }), {
|
|
87
87
|
default: S(() => [A.value ? (p(), a(u, {
|
|
88
88
|
key: 0,
|
|
89
89
|
color: N.value,
|
|
90
90
|
size: "sm"
|
|
91
91
|
}, null, 8, ["color"])) : o("", !0), s("div", T, [
|
|
92
|
-
|
|
92
|
+
t.icon ? o("", !0) : h(n.$slots, "default", { key: 0 }, () => [i[1] ||= c(" no content provided", -1)]),
|
|
93
93
|
D.badge ? (p(), a(w, {
|
|
94
94
|
key: 1,
|
|
95
95
|
value: D.badge,
|
|
96
96
|
severity: D.badgeSeverity,
|
|
97
97
|
class: f(j.value),
|
|
98
|
-
size: y(
|
|
98
|
+
size: y(r).MD
|
|
99
99
|
}, {
|
|
100
|
-
default: S(() => [h(
|
|
100
|
+
default: S(() => [h(n.$slots, "badge", {}, () => [c(_(D.badge), 1)])]),
|
|
101
101
|
_: 3
|
|
102
102
|
}, 8, [
|
|
103
103
|
"value",
|
|
@@ -105,12 +105,12 @@ var w = /* @__PURE__ */ l({
|
|
|
105
105
|
"class",
|
|
106
106
|
"size"
|
|
107
107
|
])) : o("", !0),
|
|
108
|
-
|
|
108
|
+
t.icon ? (p(), a(e, {
|
|
109
109
|
key: 2,
|
|
110
110
|
class: f({ "wt-button__icon--hidden": A.value }),
|
|
111
|
-
icon:
|
|
112
|
-
"icon-prefix":
|
|
113
|
-
size: E[
|
|
111
|
+
icon: t.icon,
|
|
112
|
+
"icon-prefix": t.iconPrefix,
|
|
113
|
+
size: E[t.size]
|
|
114
114
|
}, null, 8, [
|
|
115
115
|
"class",
|
|
116
116
|
"icon",
|