@webitel/ui-sdk 26.6.107 → 26.6.109
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/{components--jBlnDLD.js → components-D-OqQDfD.js} +3 -3
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +1 -1
- package/dist/{wt-chat-emoji-RGvDu3oK.js → wt-chat-emoji-1hWR2L8o.js} +1 -1
- package/dist/{wt-display-chip-items-DOkxyvI3.js → wt-display-chip-items-CMaITt-I.js} +1 -1
- package/dist/{wt-send-message-popup-iyn0Eh2e.js → wt-send-message-popup-BtaPaXfM.js} +1 -1
- package/dist/{wt-timepicker-CHNPor19.js → wt-timepicker-Dj0y9-U_.js} +8 -3
- package/dist/{wt-type-extension-value-input-Q2qwunaW.js → wt-type-extension-value-input-D7dRKJ6S.js} +1 -1
- package/dist/{wt-vidstack-player-CnVeTmnM.js → wt-vidstack-player-C59T6heF.js} +1 -1
- package/package.json +1 -1
- package/src/components/wt-timepicker/wt-timepicker.vue +5 -2
- package/src/modules/TableComponentModule/composables/useTableEmpty.js +5 -1
- package/types/.tsbuildinfo +1 -1
- package/types/modules/TableComponentModule/composables/useTableEmpty.d.ts +12 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as e, i as t } from "./components
|
|
1
|
+
import { C as e, i as t } from "./components-D-OqQDfD.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 { n as e, r as t } from "./clients-DqzkR0RW.js";
|
|
2
|
-
import { n } from "./components
|
|
2
|
+
import { n } from "./components-D-OqQDfD.js";
|
|
3
3
|
import { t as r } from "./vue-i18n-Db_oYfO8.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
|
|
@@ -42,6 +42,7 @@ var w = { class: "wt-timepicker__wrapper" }, T = 3600, E = 60, D = /*#__PURE__*/
|
|
|
42
42
|
return D.dateMode ? (/* @__PURE__ */ new Date(+D.modelValue)).getHours() : Math.floor(+D.modelValue / T);
|
|
43
43
|
},
|
|
44
44
|
set(e) {
|
|
45
|
+
if (!Number.isFinite(+e)) return;
|
|
45
46
|
let t = D.dateMode ? (/* @__PURE__ */ new Date(+D.modelValue)).setHours(e) : Math.max(0, +D.modelValue - U.value * T + e * T);
|
|
46
47
|
O("update:modelValue", t);
|
|
47
48
|
}
|
|
@@ -50,6 +51,7 @@ var w = { class: "wt-timepicker__wrapper" }, T = 3600, E = 60, D = /*#__PURE__*/
|
|
|
50
51
|
return D.dateMode ? (/* @__PURE__ */ new Date(+D.modelValue)).getMinutes() : Math.floor(+D.modelValue / E % 60);
|
|
51
52
|
},
|
|
52
53
|
set(e) {
|
|
54
|
+
if (!Number.isFinite(+e)) return;
|
|
53
55
|
let t = D.dateMode ? (/* @__PURE__ */ new Date(+D.modelValue)).setMinutes(e) : Math.max(0, +D.modelValue - W.value * E + e * E);
|
|
54
56
|
O("update:modelValue", t);
|
|
55
57
|
}
|
|
@@ -58,6 +60,7 @@ var w = { class: "wt-timepicker__wrapper" }, T = 3600, E = 60, D = /*#__PURE__*/
|
|
|
58
60
|
return D.dateMode ? (/* @__PURE__ */ new Date(+D.modelValue)).getSeconds() : Math.floor(D.modelValue % 60);
|
|
59
61
|
},
|
|
60
62
|
set(e) {
|
|
63
|
+
if (!Number.isFinite(+e)) return;
|
|
61
64
|
let t = D.dateMode ? (/* @__PURE__ */ new Date(+D.modelValue)).setSeconds(e) : Math.max(0, +D.modelValue - G.value + +e);
|
|
62
65
|
O("update:modelValue", t);
|
|
63
66
|
}
|
|
@@ -96,7 +99,7 @@ var w = { class: "wt-timepicker__wrapper" }, T = 3600, E = 60, D = /*#__PURE__*/
|
|
|
96
99
|
"onUpdate:modelValue": i[1] ||= (e) => W.value = e,
|
|
97
100
|
disabled: e.disabled,
|
|
98
101
|
label: V.value,
|
|
99
|
-
"min-value": -1,
|
|
102
|
+
"min-value": U.value ? -1 : 0,
|
|
100
103
|
"max-value": 60,
|
|
101
104
|
v: S(A),
|
|
102
105
|
"hide-input-info": ""
|
|
@@ -104,6 +107,7 @@ var w = { class: "wt-timepicker__wrapper" }, T = 3600, E = 60, D = /*#__PURE__*/
|
|
|
104
107
|
"model-value",
|
|
105
108
|
"disabled",
|
|
106
109
|
"label",
|
|
110
|
+
"min-value",
|
|
107
111
|
"v"
|
|
108
112
|
])) : s("", !0),
|
|
109
113
|
z.value ? (_(), o(d, {
|
|
@@ -112,7 +116,7 @@ var w = { class: "wt-timepicker__wrapper" }, T = 3600, E = 60, D = /*#__PURE__*/
|
|
|
112
116
|
"onUpdate:modelValue": i[2] ||= (e) => G.value = e,
|
|
113
117
|
disabled: e.disabled,
|
|
114
118
|
label: H.value,
|
|
115
|
-
"min-value": -1,
|
|
119
|
+
"min-value": W.value ? -1 : 0,
|
|
116
120
|
"max-value": 60,
|
|
117
121
|
v: S(A),
|
|
118
122
|
"hide-input-info": ""
|
|
@@ -120,6 +124,7 @@ var w = { class: "wt-timepicker__wrapper" }, T = 3600, E = 60, D = /*#__PURE__*/
|
|
|
120
124
|
"model-value",
|
|
121
125
|
"disabled",
|
|
122
126
|
"label",
|
|
127
|
+
"min-value",
|
|
123
128
|
"v"
|
|
124
129
|
])) : s("", !0)
|
|
125
130
|
]),
|
|
@@ -139,6 +144,6 @@ var w = { class: "wt-timepicker__wrapper" }, T = 3600, E = 60, D = /*#__PURE__*/
|
|
|
139
144
|
], 2);
|
|
140
145
|
};
|
|
141
146
|
}
|
|
142
|
-
}), [["__scopeId", "data-v-
|
|
147
|
+
}), [["__scopeId", "data-v-3e79b83c"]]);
|
|
143
148
|
//#endregion
|
|
144
149
|
export { D as default };
|
package/dist/{wt-type-extension-value-input-Q2qwunaW.js → wt-type-extension-value-input-D7dRKJ6S.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./clients-DqzkR0RW.js";
|
|
2
|
-
import { a as t, o as n, r, s as i } from "./components
|
|
2
|
+
import { a as t, o as n, r, s as i } from "./components-D-OqQDfD.js";
|
|
3
3
|
import { t as a } from "./enums-De8CDKZ1.js";
|
|
4
4
|
import { t as o } from "./vue-i18n-Db_oYfO8.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";
|
package/package.json
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
v-model:model-value="min"
|
|
45
45
|
:disabled="disabled"
|
|
46
46
|
:label="labelMin"
|
|
47
|
-
:min-value="-1"
|
|
47
|
+
:min-value="hour ? -1 : 0"
|
|
48
48
|
:max-value="60"
|
|
49
49
|
:v="v"
|
|
50
50
|
hide-input-info
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
v-model:model-value="sec"
|
|
55
55
|
:disabled="disabled"
|
|
56
56
|
:label="labelSec"
|
|
57
|
-
:min-value="-1"
|
|
57
|
+
:min-value="min ? -1 : 0"
|
|
58
58
|
:max-value="60"
|
|
59
59
|
:v="v"
|
|
60
60
|
hide-input-info
|
|
@@ -212,6 +212,7 @@ const hour = computed({
|
|
|
212
212
|
// : Math.floor((this.value % SEC_IN_DAY) / SEC_IN_HOUR);
|
|
213
213
|
},
|
|
214
214
|
set(value: number) {
|
|
215
|
+
if (!Number.isFinite(+value)) return;
|
|
215
216
|
const newValue = props.dateMode
|
|
216
217
|
? new Date(+props.modelValue).setHours(value)
|
|
217
218
|
: Math.max(
|
|
@@ -229,6 +230,7 @@ const min = computed({
|
|
|
229
230
|
: Math.floor((+props.modelValue / SEC_IN_MIN) % 60);
|
|
230
231
|
},
|
|
231
232
|
set(value: number) {
|
|
233
|
+
if (!Number.isFinite(+value)) return;
|
|
232
234
|
const newValue = props.dateMode
|
|
233
235
|
? new Date(+props.modelValue).setMinutes(value)
|
|
234
236
|
: Math.max(
|
|
@@ -246,6 +248,7 @@ const sec = computed({
|
|
|
246
248
|
: Math.floor(+props.modelValue % 60);
|
|
247
249
|
},
|
|
248
250
|
set(value: number) {
|
|
251
|
+
if (!Number.isFinite(+value)) return;
|
|
249
252
|
const newValue = props.dateMode
|
|
250
253
|
? new Date(+props.modelValue).setSeconds(value)
|
|
251
254
|
: Math.max(0, +props.modelValue - sec.value + +value);
|
|
@@ -9,8 +9,12 @@ import EmptyFiltersLight from '../_internals/assets/empty-filters-light.svg';
|
|
|
9
9
|
import EmptyTableDark from '../_internals/assets/empty-table-dark.svg';
|
|
10
10
|
import EmptyTableLight from '../_internals/assets/empty-table-light.svg';
|
|
11
11
|
|
|
12
|
+
/**
|
|
13
|
+
* @param {{ dataList?: unknown; filters?: unknown; error?: unknown; isLoading?: unknown }} [source]
|
|
14
|
+
* @param {object} [overrides]
|
|
15
|
+
*/
|
|
12
16
|
export const useTableEmpty = (
|
|
13
|
-
{ dataList, filters, error, isLoading },
|
|
17
|
+
{ dataList, filters, error, isLoading } = {},
|
|
14
18
|
overrides = {},
|
|
15
19
|
) => {
|
|
16
20
|
const { t } = useI18n();
|