@webitel/ui-sdk 26.6.70 → 26.6.71
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-DjB6nJHf.js +36735 -0
- package/dist/{components-BGDAdIES.js → components-CXf44HOY.js} +324 -325
- package/dist/{composables-Bo5trL7l.js → composables-CmpLKArq.js} +6 -6
- package/dist/ui-sdk.js +773 -566
- package/dist/ui-sdk.umd.cjs +649 -575
- package/dist/{useValidation-CBCP45gh.js → useValidation-DMp_AiNP.js} +1 -1
- package/dist/{useWtTable-DrrvvB6k.js → useWtTable-D_PxqVHO.js} +1 -1
- package/dist/{vue-i18n-lTFLGg_9.js → vue-i18n-Db_oYfO8.js} +14 -8
- package/dist/{wt-action-bar-2y3MlEvJ.js → wt-action-bar-CSdnxT_s.js} +1 -1
- package/dist/{wt-button-uY5Q1GAg.js → wt-button-BVX4GDCP.js} +1 -1
- package/dist/{wt-chat-emoji-CIzpVaAo.js → wt-chat-emoji-BdKDyZmY.js} +14 -9
- package/dist/{wt-datepicker-OeVFA-Z3.js → wt-datepicker-CJXKrxBh.js} +4 -3
- package/dist/{wt-display-chip-items-DwXiAC9Q.js → wt-display-chip-items-BIw3LDyc.js} +1 -1
- package/dist/{wt-expansion-card-Ket3vepN.js → wt-expansion-card-C4ratcs-.js} +1 -1
- package/dist/{wt-galleria-C-0duByw.js → wt-galleria-BiVy4aMN.js} +2 -2
- package/dist/{wt-icon-CU2jtYw1.js → wt-icon-CXZgq3LL.js} +6 -3
- package/dist/{wt-icon-action-DH_n0oGT.js → wt-icon-action-SuNhSnx4.js} +1 -1
- package/dist/{wt-icon-btn-eDHK__L_.js → wt-icon-btn-gkyWWthY.js} +1 -1
- package/dist/{wt-notifications-bar-BXO9pr7l.js → wt-notifications-bar-kewyyshr.js} +1 -1
- package/dist/{wt-player-CZ1X2qkK.js → wt-player-CP_9u3G3.js} +2 -2
- package/dist/{wt-search-bar-CxrtffQv.js → wt-search-bar-DmwAjznv.js} +1 -1
- package/dist/{wt-selection-popup-Bh9D7VtA.js → wt-selection-popup-CjYw4ppb.js} +1 -1
- package/dist/{wt-send-message-popup-Ca0k3qYD.js → wt-send-message-popup-C83QgUfa.js} +3 -3
- package/dist/{wt-status-select-DEbX08g3.js → wt-status-select-D20EwR17.js} +1 -1
- package/dist/{wt-table-B4zb6RDo.js → wt-table-B7rn2iAF.js} +94 -92
- package/dist/{wt-table-column-select-C3ma6jxK.js → wt-table-column-select-CgEh5BAF.js} +1 -1
- package/dist/{wt-timepicker-BEj18WiL.js → wt-timepicker-BivkZpXq.js} +8 -5
- package/dist/{wt-toast-CS54GhLJ.js → wt-toast-Dufgfee5.js} +22 -22
- package/dist/{wt-tree-table-4C0-68hY.js → wt-tree-table-BFvSXadM.js} +5 -3
- package/dist/{wt-type-extension-value-input-i4J1iGaf.js → wt-type-extension-value-input-DdGZn73d.js} +3 -3
- package/dist/{wt-vidstack-player-DaImpTZt.js → wt-vidstack-player-B4lxjSc4.js} +464 -464
- package/package.json +1 -1
- package/src/assets/icons/sprite/error.svg +3 -3
- package/src/components/wt-toast/wt-toast.vue +4 -1
- package/src/plugins/primevue/theme/components/toast/toast.js +1 -1
- package/types/plugins/primevue/theme/components/toast/toast.d.ts +12 -0
- package/dist/clients-B1AOAvEK.js +0 -36702
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { l as t, r as n } from "./enums-CoY-pIuZ.js";
|
|
3
|
-
import { t as r } from "./vue-i18n-
|
|
4
|
-
import { t as i } from "./useValidation-
|
|
3
|
+
import { t as r } from "./vue-i18n-Db_oYfO8.js";
|
|
4
|
+
import { t as i } from "./useValidation-DMp_AiNP.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({
|
|
@@ -46,21 +46,24 @@ var w = { class: "wt-timepicker__wrapper" }, T = 3600, E = 60, D = /*#__PURE__*/
|
|
|
46
46
|
return D.dateMode ? (/* @__PURE__ */ new Date(+D.modelValue)).getHours() : Math.floor(+D.modelValue / T);
|
|
47
47
|
},
|
|
48
48
|
set(e) {
|
|
49
|
-
|
|
49
|
+
let t = D.dateMode ? (/* @__PURE__ */ new Date(+D.modelValue)).setHours(e) : +D.modelValue - W.value * T + e * T;
|
|
50
|
+
O("update:modelValue", t);
|
|
50
51
|
}
|
|
51
52
|
}), G = a({
|
|
52
53
|
get() {
|
|
53
54
|
return D.dateMode ? (/* @__PURE__ */ new Date(+D.modelValue)).getMinutes() : Math.floor(+D.modelValue / E % 60);
|
|
54
55
|
},
|
|
55
56
|
set(e) {
|
|
56
|
-
|
|
57
|
+
let t = D.dateMode ? (/* @__PURE__ */ new Date(+D.modelValue)).setMinutes(e) : +D.modelValue - G.value * E + e * E;
|
|
58
|
+
O("update:modelValue", t);
|
|
57
59
|
}
|
|
58
60
|
}), K = a({
|
|
59
61
|
get() {
|
|
60
62
|
return D.dateMode ? (/* @__PURE__ */ new Date(+D.modelValue)).getSeconds() : Math.floor(D.modelValue % 60);
|
|
61
63
|
},
|
|
62
64
|
set(e) {
|
|
63
|
-
|
|
65
|
+
let t = D.dateMode ? (/* @__PURE__ */ new Date(+D.modelValue)).setSeconds(e) : +D.modelValue - K.value + +e;
|
|
66
|
+
O("update:modelValue", t);
|
|
64
67
|
}
|
|
65
68
|
}), q = a(() => D.required ? `${D.label} (${D.format})*` : `${D.label} (${D.format})`), J = () => {
|
|
66
69
|
let e = D.dateMode ? (/* @__PURE__ */ new Date(+D.modelValue)).setHours(W.value) : +D.modelValue - W.value * T + W.value * T;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as e } from "./wt-icon-
|
|
1
|
+
import { t as e } from "./wt-icon-CXZgq3LL.js";
|
|
2
2
|
import { i as t, l as n } from "./enums-CoY-pIuZ.js";
|
|
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,
|
|
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, normalizeStyle as f, openBlock as p, resolveComponent as m, toDisplayString as h, unref as g, useAttrs as _, withCtx as v } from "vue";
|
|
4
4
|
//#region node_modules/mitt/dist/mitt.mjs
|
|
5
|
-
function
|
|
5
|
+
function y(e) {
|
|
6
6
|
return {
|
|
7
7
|
all: e ||= /* @__PURE__ */ new Map(),
|
|
8
8
|
on: function(t, n) {
|
|
@@ -25,42 +25,42 @@ function v(e) {
|
|
|
25
25
|
}
|
|
26
26
|
//#endregion
|
|
27
27
|
//#region src/scripts/eventBus.js
|
|
28
|
-
var
|
|
29
|
-
$on: (...e) =>
|
|
30
|
-
$off: (...e) =>
|
|
31
|
-
$emit: (...e) =>
|
|
32
|
-
},
|
|
28
|
+
var b = y(), x = {
|
|
29
|
+
$on: (...e) => b.on(...e),
|
|
30
|
+
$off: (...e) => b.off(...e),
|
|
31
|
+
$emit: (...e) => b.emit(...e)
|
|
32
|
+
}, S = { class: "p-toast-message-text" }, C = { class: "p-toast-summary" }, w = {
|
|
33
33
|
key: 0,
|
|
34
34
|
class: "p-toast-detail"
|
|
35
|
-
},
|
|
35
|
+
}, T = /* @__PURE__ */ l({
|
|
36
36
|
name: "WtToast",
|
|
37
37
|
inheritAttrs: !1,
|
|
38
38
|
__name: "wt-toast",
|
|
39
39
|
setup(l) {
|
|
40
|
-
let
|
|
40
|
+
let y = _(), b = {
|
|
41
41
|
success: "done",
|
|
42
42
|
info: "rounded-info",
|
|
43
43
|
warn: "warning",
|
|
44
44
|
error: "error"
|
|
45
|
-
},
|
|
45
|
+
}, x = {
|
|
46
46
|
success: t.SUCCESS,
|
|
47
47
|
info: t.INFO,
|
|
48
48
|
warn: t.WARN,
|
|
49
49
|
error: t.ERROR,
|
|
50
50
|
contrast: t.CONTRAST,
|
|
51
51
|
secondary: t.SECONDARY
|
|
52
|
-
}
|
|
53
|
-
return (
|
|
54
|
-
let
|
|
55
|
-
return
|
|
56
|
-
message:
|
|
57
|
-
icon:
|
|
58
|
-
|
|
52
|
+
}, T = (e) => `fill: var(--p-toast-${x[e.severity]}-icon-color)`;
|
|
53
|
+
return (t, l) => {
|
|
54
|
+
let _ = m("p-toast");
|
|
55
|
+
return p(), i(_, d(u(g(y))), {
|
|
56
|
+
message: v(({ message: t }) => [t ? (p(), o(r, { key: 0 }, [c(e, {
|
|
57
|
+
icon: b[t.severity] ?? "",
|
|
58
|
+
style: f(T(t)),
|
|
59
59
|
class: "p-toast-message-icon"
|
|
60
|
-
}, null, 8, ["icon", "
|
|
61
|
-
closeicon:
|
|
60
|
+
}, null, 8, ["icon", "style"]), s("div", S, [s("span", C, h(t.summary), 1), t.detail ? (p(), o("div", w, h(t.detail), 1)) : a("", !0)])], 64)) : a("", !0)]),
|
|
61
|
+
closeicon: v(() => [c(e, {
|
|
62
62
|
icon: "close",
|
|
63
|
-
size:
|
|
63
|
+
size: g(n).SM
|
|
64
64
|
}, null, 8, ["size"])]),
|
|
65
65
|
_: 1
|
|
66
66
|
}, 16);
|
|
@@ -68,4 +68,4 @@ var y = v(), b = {
|
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
70
|
//#endregion
|
|
71
|
-
export {
|
|
71
|
+
export { x as n, T as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
4
|
-
import { t as i } from "./useWtTable-
|
|
3
|
+
import { n, t as r } from "./wt-icon-btn-gkyWWthY.js";
|
|
4
|
+
import { t as i } from "./useWtTable-D_PxqVHO.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
|
|
7
7
|
var O = { class: "wt-tree-table-td__content" }, k = {
|
|
@@ -148,7 +148,9 @@ var O = { class: "wt-tree-table-td__content" }, k = {
|
|
|
148
148
|
};
|
|
149
149
|
return e.forEach(n), t;
|
|
150
150
|
}, A = o(() => m.selected || O(m.data)), j = o(() => A.value.length === k(m.data).length && k(m.data).length > 0), { tableHeaders: H } = i({ headers: w(m, "headers") }), U = ({ sort: e }) => m.sortable && e !== void 0, W = (e) => {
|
|
151
|
-
|
|
151
|
+
if (!U(e)) return;
|
|
152
|
+
let n = t(e.sort);
|
|
153
|
+
_("sort", e, n);
|
|
152
154
|
}, G = (e, t) => {
|
|
153
155
|
e.forEach((e) => {
|
|
154
156
|
e._isSelected = t, y(e) && G(e[m.childrenProp], t);
|
package/dist/{wt-type-extension-value-input-i4J1iGaf.js → wt-type-extension-value-input-DdGZn73d.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as e, o as t, r as n, s as r } from "./components-
|
|
1
|
+
import { a as e, o as t, r as n, s as r } from "./components-CXf44HOY.js";
|
|
2
2
|
import { t as i } from "./enums-CoY-pIuZ.js";
|
|
3
|
-
import { t as a } from "./vue-i18n-
|
|
4
|
-
import { t as o } from "./clients-
|
|
3
|
+
import { t as a } from "./vue-i18n-Db_oYfO8.js";
|
|
4
|
+
import { t as o } from "./clients-DjB6nJHf.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
|