@webitel/ui-sdk 26.8.86 → 26.8.87

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 (59) hide show
  1. package/dist/{clients-CkhN_A5L.js → clients-BOVhef1Q.js} +6 -6
  2. package/dist/{components-CV6dUJR6.js → components-DhOeTGOI.js} +1065 -1853
  3. package/dist/{composables-BtWSAI5D.js → composables-OP5kSvlh.js} +3 -3
  4. package/dist/debounce-A4B4PTkL.js +5 -0
  5. package/dist/{deep-copy-CTgLtgMO.js → deep-copy-7O5ej7vT.js} +1 -1
  6. package/dist/dist-DB8lC4KJ.js +112 -0
  7. package/dist/{dist-CAOIU8xq.js → dist-DJZOILzq.js} +1 -1
  8. package/dist/{genClient-HHiOUj56.js → genClient-5JkKKac8.js} +6 -7
  9. package/dist/ui-sdk.css +1 -1
  10. package/dist/ui-sdk.js +2 -2
  11. package/dist/ui-sdk.umd.cjs +675 -675
  12. package/dist/{useValidation-CEed9cxY.js → useValidation-Dmm2xos_.js} +1 -1
  13. package/dist/{useWtTable-DLWucXPx.js → useWtTable-CUpN0LZ5.js} +1 -1
  14. package/dist/{vue-i18n-Db_oYfO8.js → vue-i18n-B88GcHzn.js} +215 -215
  15. package/dist/{vue-router-Dwey8MMv.js → vue-router-CobN9tLi.js} +1 -1
  16. package/dist/{wt-action-bar-DtAECixF.js → wt-action-bar-BpuER6TA.js} +1 -1
  17. package/dist/{wt-chat-emoji-CPKosJ8P.js → wt-chat-emoji-D6mlvxYh.js} +1 -1
  18. package/dist/{wt-datepicker-BgjjbOMX.js → wt-datepicker-BS3przUJ.js} +2 -2
  19. package/dist/{wt-display-chip-items-CK-cnYdD.js → wt-display-chip-items-CjoOIGEn.js} +1 -1
  20. package/dist/{wt-expansion-card-BT586Mul.js → wt-expansion-card-8YzHs8F1.js} +1 -1
  21. package/dist/{wt-galleria-DMCgiiju.js → wt-galleria-CmaNfz7E.js} +2 -2
  22. package/dist/{wt-icon-action-DJzm0kEk.js → wt-icon-action-B8vuj9cC.js} +1 -1
  23. package/dist/{wt-pagination-G2ZGU4Pi.js → wt-pagination-DLRMTDRV.js} +1 -1
  24. package/dist/{wt-player-CFrKSilF.js → wt-player-CqjIR3Q-.js} +2 -2
  25. package/dist/{wt-popover-BCYPu5NC.js → wt-popover-DuZFw3bg.js} +1 -1
  26. package/dist/{wt-search-bar-DosqJLXT.js → wt-search-bar-CE4WhuJ6.js} +2 -2
  27. package/dist/{wt-selection-popup-CjYw4ppb.js → wt-selection-popup-Bd4EuLl-.js} +1 -1
  28. package/dist/{wt-send-message-popup-C4XEqrKj.js → wt-send-message-popup-ClhnL3uM.js} +287 -306
  29. package/dist/{wt-slider-BPzRTeYU.js → wt-slider-Co6hZQu_.js} +1 -1
  30. package/dist/{wt-start-page-BFQExFUj.js → wt-start-page-Bp7b0ir-.js} +1 -1
  31. package/dist/{wt-status-select-Dnv9tj7o.js → wt-status-select-z4n_FL2z.js} +1 -1
  32. package/dist/{wt-table-PR_Kx7Sv.js → wt-table-C-DMIrud.js} +2 -2
  33. package/dist/{wt-table-column-select-CmbjLO9b.js → wt-table-column-select-CHzqRfXf.js} +3 -3
  34. package/dist/{wt-timepicker-B4MOaSEZ.js → wt-timepicker-D-tnO-gX.js} +2 -2
  35. package/dist/{wt-tree-BYk31Ees.js → wt-tree-BH2o2iCt.js} +843 -844
  36. package/dist/{wt-tree-table-ZJSw_3hx.js → wt-tree-table-D4nCNUq_.js} +1 -1
  37. package/dist/{wt-type-extension-value-input-CuxKUgu-.js → wt-type-extension-value-input-69hTFde6.js} +3 -3
  38. package/dist/{wt-vidstack-player-O1Xcyw-A.js → wt-vidstack-player-BjO98yMg.js} +997 -991
  39. package/package.json +2 -2
  40. package/src/api/transformers/starToSearch/starToSearch.transformer.js +1 -1
  41. package/src/components/wt-textarea/wt-textarea.vue +12 -1
  42. package/src/components/wt-vidstack-player/wt-vidstack-player.vue +16 -0
  43. package/src/composables/useCachedItemInstanceName/useCachedItemInstanceName.js +1 -1
  44. package/src/modules/AuditForm/components/audit-form.vue +1 -1
  45. package/src/modules/CardStoreModule/store/CardStoreModule.js +1 -1
  46. package/src/modules/Userinfo/mappings/mappings.ts +1 -1
  47. package/src/modules/Userinfo/stores/userinfoStore.ts +1 -1
  48. package/src/scripts/debounce.js +1 -1
  49. package/src/scripts/logger.js +1 -1
  50. package/src/scripts/updateObject.js +1 -2
  51. package/src/store/BaseStoreModules/BaseStoreModule.js +1 -1
  52. package/src/store/new/helpers/createStoreModule.js +1 -1
  53. package/src/store/new/modules/baseStoreModule/baseStoreModule.js +1 -1
  54. package/src/store/new/modules/cardStoreModule/cardStoreModule.js +1 -1
  55. package/types/.tsbuildinfo +1 -1
  56. package/types/components/wt-textarea/wt-textarea.vue.d.ts +11 -0
  57. package/dist/debounce-Bp3jy7S5.js +0 -133
  58. package/dist/dist-Crpfx4FA.js +0 -87
  59. package/dist/rolldown-runtime-BEcgMyyN.js +0 -27
@@ -62,6 +62,16 @@ interface Props extends /* @vue-ignore */ TextareaProps {
62
62
  * @default false
63
63
  */
64
64
  autoresize?: boolean;
65
+ /**
66
+ * @author PolinaSukhorukova-webitel
67
+ *
68
+ * [WTEL-10388](https://webitel.atlassian.net/browse/WTEL-10388)
69
+ * Decouples submit-on-Enter from `autoresize` so a consumer can keep
70
+ * auto-height while Enter inserts a newline (e.g. mobile chat).
71
+ * @type {boolean}
72
+ * @default true
73
+ */
74
+ submitOnEnter?: boolean;
65
75
  /**
66
76
  * Validation rules
67
77
  */
@@ -104,6 +114,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
104
114
  labelProps: Record<string, unknown>;
105
115
  rows: number;
106
116
  autoresize: boolean;
117
+ submitOnEnter: boolean;
107
118
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
108
119
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
109
120
  declare const _default: typeof __VLS_export;
@@ -1,133 +0,0 @@
1
- import { a as e, t } from "./rolldown-runtime-BEcgMyyN.js";
2
- import { n, t as r } from "./dist-CAOIU8xq.js";
3
- //#region node_modules/lodash/isObject.js
4
- var i = /* @__PURE__ */ t(((e, t) => {
5
- function n(e) {
6
- var t = typeof e;
7
- return e != null && (t == "object" || t == "function");
8
- }
9
- t.exports = n;
10
- })), a = /* @__PURE__ */ t(((e, t) => {
11
- n(), t.exports = typeof r == "object" && r && r.Object === Object && r;
12
- })), o = /* @__PURE__ */ t(((e, t) => {
13
- var n = a(), r = typeof self == "object" && self && self.Object === Object && self;
14
- t.exports = n || r || Function("return this")();
15
- })), s = /* @__PURE__ */ t(((e, t) => {
16
- var n = o();
17
- t.exports = function() {
18
- return n.Date.now();
19
- };
20
- })), c = /* @__PURE__ */ t(((e, t) => {
21
- var n = /\s/;
22
- function r(e) {
23
- for (var t = e.length; t-- && n.test(e.charAt(t)););
24
- return t;
25
- }
26
- t.exports = r;
27
- })), l = /* @__PURE__ */ t(((e, t) => {
28
- var n = c(), r = /^\s+/;
29
- function i(e) {
30
- return e && e.slice(0, n(e) + 1).replace(r, "");
31
- }
32
- t.exports = i;
33
- })), u = /* @__PURE__ */ t(((e, t) => {
34
- t.exports = o().Symbol;
35
- })), d = /* @__PURE__ */ t(((e, t) => {
36
- var n = u(), r = Object.prototype, i = r.hasOwnProperty, a = r.toString, o = n ? n.toStringTag : void 0;
37
- function s(e) {
38
- var t = i.call(e, o), n = e[o];
39
- try {
40
- e[o] = void 0;
41
- var r = !0;
42
- } catch {}
43
- var s = a.call(e);
44
- return r && (t ? e[o] = n : delete e[o]), s;
45
- }
46
- t.exports = s;
47
- })), f = /* @__PURE__ */ t(((e, t) => {
48
- var n = Object.prototype.toString;
49
- function r(e) {
50
- return n.call(e);
51
- }
52
- t.exports = r;
53
- })), p = /* @__PURE__ */ t(((e, t) => {
54
- var n = u(), r = d(), i = f(), a = "[object Null]", o = "[object Undefined]", s = n ? n.toStringTag : void 0;
55
- function c(e) {
56
- return e == null ? e === void 0 ? o : a : s && s in Object(e) ? r(e) : i(e);
57
- }
58
- t.exports = c;
59
- })), m = /* @__PURE__ */ t(((e, t) => {
60
- function n(e) {
61
- return typeof e == "object" && !!e;
62
- }
63
- t.exports = n;
64
- })), h = /* @__PURE__ */ t(((e, t) => {
65
- var n = p(), r = m(), i = "[object Symbol]";
66
- function a(e) {
67
- return typeof e == "symbol" || r(e) && n(e) == i;
68
- }
69
- t.exports = a;
70
- })), g = /* @__PURE__ */ t(((e, t) => {
71
- var n = l(), r = i(), a = h(), o = NaN, s = /^[-+]0x[0-9a-f]+$/i, c = /^0b[01]+$/i, u = /^0o[0-7]+$/i, d = parseInt;
72
- function f(e) {
73
- if (typeof e == "number") return e;
74
- if (a(e)) return o;
75
- if (r(e)) {
76
- var t = typeof e.valueOf == "function" ? e.valueOf() : e;
77
- e = r(t) ? t + "" : t;
78
- }
79
- if (typeof e != "string") return e === 0 ? e : +e;
80
- e = n(e);
81
- var i = c.test(e);
82
- return i || u.test(e) ? d(e.slice(2), i ? 2 : 8) : s.test(e) ? o : +e;
83
- }
84
- t.exports = f;
85
- })), _ = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
86
- var n = i(), r = s(), a = g(), o = "Expected a function", c = Math.max, l = Math.min;
87
- function u(e, t, i) {
88
- var s, u, d, f, p, m, h = 0, g = !1, _ = !1, v = !0;
89
- if (typeof e != "function") throw TypeError(o);
90
- t = a(t) || 0, n(i) && (g = !!i.leading, _ = "maxWait" in i, d = _ ? c(a(i.maxWait) || 0, t) : d, v = "trailing" in i ? !!i.trailing : v);
91
- function y(t) {
92
- var n = s, r = u;
93
- return s = u = void 0, h = t, f = e.apply(r, n), f;
94
- }
95
- function b(e) {
96
- return h = e, p = setTimeout(C, t), g ? y(e) : f;
97
- }
98
- function x(e) {
99
- var n = e - m, r = e - h, i = t - n;
100
- return _ ? l(i, d - r) : i;
101
- }
102
- function S(e) {
103
- var n = e - m, r = e - h;
104
- return m === void 0 || n >= t || n < 0 || _ && r >= d;
105
- }
106
- function C() {
107
- var e = r();
108
- if (S(e)) return w(e);
109
- p = setTimeout(C, x(e));
110
- }
111
- function w(e) {
112
- return p = void 0, v && s ? y(e) : (s = u = void 0, f);
113
- }
114
- function T() {
115
- p !== void 0 && clearTimeout(p), h = 0, s = m = u = p = void 0;
116
- }
117
- function E() {
118
- return p === void 0 ? f : w(r());
119
- }
120
- function D() {
121
- var e = r(), n = S(e);
122
- if (s = arguments, u = this, m = e, n) {
123
- if (p === void 0) return b(m);
124
- if (_) return clearTimeout(p), p = setTimeout(C, t), y(m);
125
- }
126
- return p === void 0 && (p = setTimeout(C, t)), f;
127
- }
128
- return D.cancel = T, D.flush = E, D;
129
- }
130
- t.exports = u;
131
- })))(), 1), v = (e, t, n = 1e3) => (0, _.default)(e, n, t);
132
- //#endregion
133
- export { u as a, i as c, p as i, h as n, o, m as r, a as s, v as t };
@@ -1,87 +0,0 @@
1
- import { n as e } from "./rolldown-runtime-BEcgMyyN.js";
2
- //#region node_modules/vite-plugin-node-polyfills/shims/process/dist/index.js
3
- function t(e) {
4
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
5
- }
6
- function n() {
7
- throw Error("setTimeout has not been defined");
8
- }
9
- function r() {
10
- throw Error("clearTimeout has not been defined");
11
- }
12
- function i(e) {
13
- if (f === setTimeout) return setTimeout(e, 0);
14
- if ((f === n || !f) && setTimeout) return f = setTimeout, setTimeout(e, 0);
15
- try {
16
- return f(e, 0);
17
- } catch {
18
- try {
19
- return f.call(null, e, 0);
20
- } catch {
21
- return f.call(this, e, 0);
22
- }
23
- }
24
- }
25
- function a(e) {
26
- if (p === clearTimeout) return clearTimeout(e);
27
- if ((p === r || !p) && clearTimeout) return p = clearTimeout, clearTimeout(e);
28
- try {
29
- return p(e);
30
- } catch {
31
- try {
32
- return p.call(null, e);
33
- } catch {
34
- return p.call(this, e);
35
- }
36
- }
37
- }
38
- function o() {
39
- !h || !g || (h = !1, g.length ? m = g.concat(m) : _ = -1, m.length && s());
40
- }
41
- function s() {
42
- if (!h) {
43
- var e = i(o);
44
- h = !0;
45
- for (var t = m.length; t;) {
46
- for (g = m, m = []; ++_ < t;) g && g[_].run();
47
- _ = -1, t = m.length;
48
- }
49
- g = null, h = !1, a(e);
50
- }
51
- }
52
- function c(e, t) {
53
- this.fun = e, this.array = t;
54
- }
55
- function l() {}
56
- var u, d, f, p, m, h, g, _, v, y, b = e((() => {
57
- u = { exports: {} }, d = u.exports = {}, (function() {
58
- try {
59
- f = typeof setTimeout == "function" ? setTimeout : n;
60
- } catch {
61
- f = n;
62
- }
63
- try {
64
- p = typeof clearTimeout == "function" ? clearTimeout : r;
65
- } catch {
66
- p = r;
67
- }
68
- })(), m = [], h = !1, _ = -1, d.nextTick = function(e) {
69
- var t = Array(arguments.length - 1);
70
- if (arguments.length > 1) for (var n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
71
- m.push(new c(e, t)), m.length === 1 && !h && i(s);
72
- }, c.prototype.run = function() {
73
- this.fun.apply(null, this.array);
74
- }, d.title = "browser", d.browser = !0, d.env = {}, d.argv = [], d.version = "", d.versions = {}, d.on = l, d.addListener = l, d.once = l, d.off = l, d.removeListener = l, d.removeAllListeners = l, d.emit = l, d.prependListener = l, d.prependOnceListener = l, d.listeners = function(e) {
75
- return [];
76
- }, d.binding = function(e) {
77
- throw Error("process.binding is not supported");
78
- }, d.cwd = function() {
79
- return "/";
80
- }, d.chdir = function(e) {
81
- throw Error("process.chdir is not supported");
82
- }, d.umask = function() {
83
- return 0;
84
- }, v = u.exports, y = /*@__PURE__*/ t(v);
85
- }));
86
- //#endregion
87
- export { y as n, b as t };
@@ -1,27 +0,0 @@
1
- //#region \0rolldown/runtime.js
2
- var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t, n) => () => {
3
- if (n) throw n[0];
4
- try {
5
- return e && (t = e(e = 0)), t;
6
- } catch (e) {
7
- throw n = [e], e;
8
- }
9
- }, s = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), c = (e, n) => {
10
- let r = {};
11
- for (var i in e) t(r, i, {
12
- get: e[i],
13
- enumerable: !0
14
- });
15
- return n || t(r, Symbol.toStringTag, { value: "Module" }), r;
16
- }, l = (e, i, o, s) => {
17
- if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
18
- get: ((e) => i[e]).bind(null, d),
19
- enumerable: !(s = n(i, d)) || s.enumerable
20
- });
21
- return e;
22
- }, u = (e, t, n) => (l(e, t, "default"), n && l(n, t, "default")), d = (n, r, a) => (a = n == null ? {} : e(i(n)), l(r || !n || !n.__esModule ? t(a, "default", {
23
- value: n,
24
- enumerable: !0
25
- }) : a, n));
26
- //#endregion
27
- export { d as a, u as i, o as n, c as r, s as t };