@webitel/ui-sdk 26.4.4 → 26.4.5
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/{index-BKbQznX7.js → index-Cgcp4KHr.js} +1 -1
- package/dist/{index-DWJ_okjR.js → index-DI_W4KfS.js} +1 -1
- package/dist/{install-CZhup3k-.js → install-BoPNhKqW.js} +34 -34
- package/dist/{isObject-BPPiQX4g.js → isObject-CtvBMJa_.js} +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +1 -1
- package/dist/{useVidstackSrc-B7BBXfwn.js → useVidstackSrc-CtW9VH2z.js} +1 -1
- package/dist/{vidstack-Bq6c3Bam-JAAg8peY.js → vidstack-Bq6c3Bam-BJmdMVCq.js} +3 -3
- package/dist/{vidstack-D2pY00kU-CG5VP5Ie.js → vidstack-D2pY00kU-B7nT-TwN.js} +3 -3
- package/dist/{vidstack-DDXt6fpN-DbhESmog.js → vidstack-DDXt6fpN-DwImOHMJ.js} +2 -2
- package/dist/{vidstack-D_-9AA6_-CWv2i8FQ.js → vidstack-D_-9AA6_-DlUxSDxe.js} +2 -2
- package/dist/{vidstack-DqAw8m9J-Bxu0iCgM.js → vidstack-DqAw8m9J-DJtW_are.js} +1 -1
- package/dist/{vidstack-audio-CYolGFz2.js → vidstack-audio-C2A8-vsm.js} +2 -2
- package/dist/{vidstack-dash-Dl9TRRIB.js → vidstack-dash-Diy859m8.js} +4 -4
- package/dist/{vidstack-google-cast-Bvwo7Dz2.js → vidstack-google-cast-B9PvGDA8.js} +4 -4
- package/dist/{vidstack-hls-CboIqEj6.js → vidstack-hls-CucwGvEb.js} +4 -4
- package/dist/{vidstack-video-DfcP1zEj.js → vidstack-video-DZR0V5cy.js} +3 -3
- package/dist/{vidstack-vimeo-CLYlzSe2.js → vidstack-vimeo-Cf-IjuCq.js} +4 -4
- package/dist/{vidstack-youtube-46mDm0WJ.js → vidstack-youtube-DEVjXaKp.js} +3 -3
- package/dist/{wt-action-bar-DTLUqsEO.js → wt-action-bar-CkYZftNc.js} +1 -1
- package/dist/{wt-button-select-9izCAP_C.js → wt-button-select-Dv2XxOmW.js} +1 -1
- package/dist/{wt-chat-emoji-B3yuOrxh.js → wt-chat-emoji-CJGKE8TK.js} +2 -2
- package/dist/{wt-confirm-dialog-Dv20hvq4.js → wt-confirm-dialog-7sv8-Vjt.js} +1 -1
- package/dist/{wt-context-menu-O0JR53Iw.js → wt-context-menu-Dd2Delbz.js} +1 -1
- package/dist/{wt-copy-action-J87mFYk8.js → wt-copy-action-BKa2l9J-.js} +1 -1
- package/dist/{wt-datepicker-B0CLvnqw.js → wt-datepicker-Dn0Kr3rX.js} +1 -1
- package/dist/{wt-display-chip-items-D_dBnko6.js → wt-display-chip-items-C3e1OTZH.js} +1 -1
- package/dist/{wt-dual-panel-DQhKZBtd.js → wt-dual-panel-bbVh5hTB.js} +1 -1
- package/dist/{wt-dummy-DcG6wffk.js → wt-dummy-dyEPSOOk.js} +1 -1
- package/dist/{wt-error-page-BFB4RUq3.js → wt-error-page-JP3bN_WV.js} +1 -1
- package/dist/{wt-expansion-card-9PyUrg9x.js → wt-expansion-card-Bqf15UeN.js} +1 -1
- package/dist/{wt-expansion-panel-DVdhcq58.js → wt-expansion-panel-B5WXSP0l.js} +1 -1
- package/dist/{wt-filters-panel-wrapper-IO69Ay79.js → wt-filters-panel-wrapper-CSullJKY.js} +1 -1
- package/dist/{wt-galleria-C-MLTNXM.js → wt-galleria-4KX2iC1T.js} +1 -1
- package/dist/{wt-navigation-menu-0V9oH6Az.js → wt-navigation-menu-D7fX3-PB.js} +1 -1
- package/dist/{wt-notifications-bar-C22hmr74.js → wt-notifications-bar-CHB0Q5HW.js} +2 -2
- package/dist/{wt-pagination-C6B3FAVJ.js → wt-pagination-YBF3VAud.js} +1 -1
- package/dist/{wt-player-Bv37IB4l.js → wt-player-7MSpqpRw.js} +2 -2
- package/dist/{wt-search-bar-C-lx0Qj_.js → wt-search-bar-CsjalkMG.js} +1 -1
- package/dist/{wt-selection-popup-Blv_TVFH.js → wt-selection-popup-DxJt9cRl.js} +1 -1
- package/dist/{wt-start-page-Cf4D3upc.js → wt-start-page-CKHON0lB.js} +1 -1
- package/dist/{wt-status-select-DEwKXvXE.js → wt-status-select-YDHfhdHE.js} +1 -1
- package/dist/{wt-stepper-DojTpurq.js → wt-stepper-D_fORRKh.js} +1 -1
- package/dist/{wt-table-zOj2wJCw.js → wt-table-ChmfC315.js} +1 -1
- package/dist/{wt-table-actions-Bl3bO5f8.js → wt-table-actions-DErZ2meS.js} +1 -1
- package/dist/{wt-table-column-select-PwQeanc8.js → wt-table-column-select-DvoTmARk.js} +2 -2
- package/dist/{wt-tabs-D8B97cyu.js → wt-tabs-DiSoTZvX.js} +1 -1
- package/dist/{wt-tags-input-CxZoDsqM.js → wt-tags-input-BimNXmHz.js} +2 -2
- package/dist/{wt-timepicker-CQhnba35.js → wt-timepicker-CKTOKp5Y.js} +1 -1
- package/dist/{wt-tree-D1Xmv-HC.js → wt-tree-McnftbMU.js} +2 -2
- package/dist/{wt-tree-table-CghTy-Tr.js → wt-tree-table-Dag1GoqV.js} +2 -2
- package/dist/{wt-type-extension-value-input-eMTpTBqX.js → wt-type-extension-value-input-BOFbpwML.js} +2 -2
- package/dist/{wt-vidstack-player-pBr5MGtV.js → wt-vidstack-player-DxMVJIvL.js} +10 -10
- package/package.json +1 -1
- package/src/components/wt-datetime-text/wt-datetime-text.vue +23 -10
- package/src/components/wt-tree-table/wt-tree-table.vue +80 -75
- package/types/components/wt-datetime-text/wt-datetime-text.vue.d.ts +17 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as lt, inject as ge, createElementBlock as mt, openBlock as G, normalizeClass as ye, unref as ot, createElementVNode as at, renderSlot as Wt, createVNode as U, useTemplateRef as qi, onMounted as _i, onBeforeUnmount as Ii, createBlock as Gt, createCommentVNode as Ut, toDisplayString as Vi, resolveComponent as Di, withCtx as _e, ref as us, provide as Ri, toRefs as Oi } from "vue";
|
|
2
|
-
import { a as q, c as ft, i as B, b as Ie, d as S, e as nt, f as Ve, l as O, s as Zt, g as Ds, E as Rs, D as L, h as Q, o as x, j as Ni, k as f, m as l, n as M, p as Os, q as Hi, r as oe, t as W, V as J, v as w, C as b, S as gt, w as It, x as p, y as rt, z, I as Ns, A as Fi, B as Bi, F as tt, G as Ge, H as Hs, J as ps, K as Ue, L as Fs, M as Tt, N as Ke, O as de, P as Gi, Q as xt, R as Ui, U as Ki, W as Qi, X as Wi, Y as zi, Z as ji, _ as Yi, $ as Xi, a0 as Ji, a1 as Bs, a2 as T, a3 as _, a4 as ce, a5 as Zi, a6 as Vt, a7 as K, a8 as ta, a9 as ea, aa as sa, ab as ia, ac as ms, ad as aa, ae as na, af as v, ag as y, ah as ra, ai as oa, T as ha, u as la } from "./useVidstackSrc-
|
|
3
|
-
import { T as da, U as ca, V as ua, X as pa, _ as dt, Q as zt, Y as ma, C as Y } from "./install-
|
|
2
|
+
import { a as q, c as ft, i as B, b as Ie, d as S, e as nt, f as Ve, l as O, s as Zt, g as Ds, E as Rs, D as L, h as Q, o as x, j as Ni, k as f, m as l, n as M, p as Os, q as Hi, r as oe, t as W, V as J, v as w, C as b, S as gt, w as It, x as p, y as rt, z, I as Ns, A as Fi, B as Bi, F as tt, G as Ge, H as Hs, J as ps, K as Ue, L as Fs, M as Tt, N as Ke, O as de, P as Gi, Q as xt, R as Ui, U as Ki, W as Qi, X as Wi, Y as zi, Z as ji, _ as Yi, $ as Xi, a0 as Ji, a1 as Bs, a2 as T, a3 as _, a4 as ce, a5 as Zi, a6 as Vt, a7 as K, a8 as ta, a9 as ea, aa as sa, ab as ia, ac as ms, ad as aa, ae as na, af as v, ag as y, ah as ra, ai as oa, T as ha, u as la } from "./useVidstackSrc-CtW9VH2z.js";
|
|
3
|
+
import { T as da, U as ca, V as ua, X as pa, _ as dt, Q as zt, Y as ma, C as Y } from "./install-BoPNhKqW.js";
|
|
4
4
|
import { _ as fa } from "./wt-slider.vue_vue_type_script_setup_true_lang-DlaRDHxo.js";
|
|
5
5
|
const Gs = ft();
|
|
6
6
|
function $() {
|
|
@@ -2070,7 +2070,7 @@ class cn {
|
|
|
2070
2070
|
return "audio";
|
|
2071
2071
|
}
|
|
2072
2072
|
async load(t) {
|
|
2073
|
-
return new (await import("./vidstack-audio-
|
|
2073
|
+
return new (await import("./vidstack-audio-C2A8-vsm.js")).AudioProvider(this.target, t);
|
|
2074
2074
|
}
|
|
2075
2075
|
}
|
|
2076
2076
|
class je {
|
|
@@ -2083,7 +2083,7 @@ class je {
|
|
|
2083
2083
|
return "video";
|
|
2084
2084
|
}
|
|
2085
2085
|
async load(t) {
|
|
2086
|
-
return new (await import("./vidstack-video-
|
|
2086
|
+
return new (await import("./vidstack-video-DZR0V5cy.js")).VideoProvider(this.target, t);
|
|
2087
2087
|
}
|
|
2088
2088
|
}
|
|
2089
2089
|
class Ye extends je {
|
|
@@ -2093,7 +2093,7 @@ class Ye extends je {
|
|
|
2093
2093
|
return Ye.supported && Ge(t);
|
|
2094
2094
|
}
|
|
2095
2095
|
async load(t) {
|
|
2096
|
-
return new (await import("./vidstack-hls-
|
|
2096
|
+
return new (await import("./vidstack-hls-CucwGvEb.js")).HLSProvider(this.target, t);
|
|
2097
2097
|
}
|
|
2098
2098
|
}
|
|
2099
2099
|
class Xe extends je {
|
|
@@ -2103,7 +2103,7 @@ class Xe extends je {
|
|
|
2103
2103
|
return Xe.supported && Ue(t);
|
|
2104
2104
|
}
|
|
2105
2105
|
async load(t) {
|
|
2106
|
-
return new (await import("./vidstack-dash-
|
|
2106
|
+
return new (await import("./vidstack-dash-Diy859m8.js")).DASHProvider(this.target, t);
|
|
2107
2107
|
}
|
|
2108
2108
|
}
|
|
2109
2109
|
class un {
|
|
@@ -2125,7 +2125,7 @@ class un {
|
|
|
2125
2125
|
return "video";
|
|
2126
2126
|
}
|
|
2127
2127
|
async load(t) {
|
|
2128
|
-
return new (await import("./vidstack-vimeo-
|
|
2128
|
+
return new (await import("./vidstack-vimeo-Cf-IjuCq.js")).VimeoProvider(this.target, t);
|
|
2129
2129
|
}
|
|
2130
2130
|
async loadPoster(t, e, s) {
|
|
2131
2131
|
const { resolveVimeoVideoId: i, getVimeoVideoInfo: n } = await import("./vidstack-krOAtKMi-C50BTxmn.js");
|
|
@@ -2157,7 +2157,7 @@ class pn {
|
|
|
2157
2157
|
return "video";
|
|
2158
2158
|
}
|
|
2159
2159
|
async load(t) {
|
|
2160
|
-
return new (await import("./vidstack-youtube-
|
|
2160
|
+
return new (await import("./vidstack-youtube-DEVjXaKp.js")).YouTubeProvider(this.target, t);
|
|
2161
2161
|
}
|
|
2162
2162
|
async loadPoster(t, e, s) {
|
|
2163
2163
|
const { findYouTubePoster: i, resolveYouTubeVideoId: n } = await import("./vidstack-Dm1xEU9Q-CXHNvShT.js"), r = S(t.src) && n(t.src);
|
|
@@ -2625,7 +2625,7 @@ class bn extends Pt {
|
|
|
2625
2625
|
throw i.code = "CAST_NOT_AVAILABLE", i;
|
|
2626
2626
|
}
|
|
2627
2627
|
if (te("https://www.gstatic.com"), !this.#v) {
|
|
2628
|
-
const i = await import("./vidstack-D2pY00kU-
|
|
2628
|
+
const i = await import("./vidstack-D2pY00kU-B7nT-TwN.js").then((n) => n.v);
|
|
2629
2629
|
this.#v = new i.GoogleCastLoader();
|
|
2630
2630
|
}
|
|
2631
2631
|
await this.#v.prompt(this.#s), t && this.#e.queue.enqueue("media-google-cast-request", t);
|
|
@@ -8022,7 +8022,7 @@ class Mr extends v(HTMLElement, ii) {
|
|
|
8022
8022
|
if (this.#e?.classList.contains("vds-google-cast"))
|
|
8023
8023
|
return this.#e;
|
|
8024
8024
|
const t = document.createElement("div");
|
|
8025
|
-
return t.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-
|
|
8025
|
+
return t.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-DlUxSDxe.js").then(({ insertContent: e }) => {
|
|
8026
8026
|
e(t, this.#t.$state);
|
|
8027
8027
|
}), t;
|
|
8028
8028
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-sdk",
|
|
3
|
-
"version": "26.4.
|
|
3
|
+
"version": "26.4.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run biome:format:all || true) && npm run publish-lib",
|
|
@@ -7,16 +7,29 @@ import { computed } from 'vue';
|
|
|
7
7
|
import { FormatDateMode } from '../../enums';
|
|
8
8
|
import { formatDate } from '../../utils';
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
)
|
|
10
|
+
interface Props {
|
|
11
|
+
/**
|
|
12
|
+
* Date/time value to display. Accepts a date string, Unix timestamp (ms), or Date object.
|
|
13
|
+
* @type {string | number | Date}
|
|
14
|
+
*/
|
|
15
|
+
datetime: string | number | Date;
|
|
16
|
+
/**
|
|
17
|
+
* Display format mode.
|
|
18
|
+
* @type {FormatDateMode}
|
|
19
|
+
* @default FormatDateMode.DATETIME (datetime)
|
|
20
|
+
* @values 'date', 'time', 'timeSec', 'datetime', 'datetimeShort'
|
|
21
|
+
*/
|
|
22
|
+
mode?: FormatDateMode;
|
|
23
|
+
/**
|
|
24
|
+
* IANA timezone identifier (e.g. 'Europe/Kyiv'). Falls back to the user's saved timezone or the browser timezone.
|
|
25
|
+
* @type {string}
|
|
26
|
+
*/
|
|
27
|
+
timezone?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
31
|
+
mode: FormatDateMode.DATETIME,
|
|
32
|
+
});
|
|
20
33
|
|
|
21
34
|
const formatted = computed(() =>
|
|
22
35
|
formatDate(props.datetime, props.mode, {
|
|
@@ -4,92 +4,92 @@
|
|
|
4
4
|
class="wt-tree-table-wrapper"
|
|
5
5
|
>
|
|
6
6
|
<thead class="wt-tree-table-head">
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
<tr class="wt-tree-table-tr wt-tree-table-tr-head">
|
|
8
|
+
<th
|
|
9
|
+
v-for="(col, key) of dataHeaders"
|
|
10
|
+
:key="String(key) + col?.sort"
|
|
11
|
+
:class="[
|
|
12
12
|
{
|
|
13
13
|
'wt-tree-table-th--sortable': isColSortable(col),
|
|
14
14
|
},
|
|
15
15
|
`wt-tree-table-th--sort-${col.sort}`,
|
|
16
16
|
]"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
/>
|
|
31
|
-
</div>
|
|
32
|
-
<div class="wt-tree-table-th__text">
|
|
33
|
-
{{ col.text }}
|
|
34
|
-
</div>
|
|
35
|
-
<wt-icon
|
|
36
|
-
v-if="sortable"
|
|
37
|
-
class="wt-tree-table-th-sort-arrow wt-tree-table-th-sort-arrow--asc"
|
|
38
|
-
icon="sort-arrow-up"
|
|
39
|
-
size="sm"
|
|
40
|
-
/>
|
|
41
|
-
<wt-icon
|
|
42
|
-
v-if="sortable"
|
|
43
|
-
class="wt-tree-table-th-sort-arrow wt-tree-table-th-sort-arrow--desc"
|
|
44
|
-
icon="sort-arrow-down"
|
|
45
|
-
size="sm"
|
|
17
|
+
:style="col.width ? `min-width:${col.width}` : ''"
|
|
18
|
+
class="wt-tree-table-th typo-body-1"
|
|
19
|
+
@click="sort(col, key)"
|
|
20
|
+
>
|
|
21
|
+
<div class="wt-tree-table-th__content"
|
|
22
|
+
:class="{'wt-tree-table-th__content--selectable': key === 0 && selectable}">
|
|
23
|
+
<div
|
|
24
|
+
v-if="key === 0 && selectable"
|
|
25
|
+
@click.stop
|
|
26
|
+
>
|
|
27
|
+
<wt-checkbox
|
|
28
|
+
:selected="isAllSelected"
|
|
29
|
+
@update:selected="selectAll"
|
|
46
30
|
/>
|
|
47
31
|
</div>
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
v-if="gridActions"
|
|
51
|
-
class="wt-tree-table-th__actions"
|
|
52
|
-
>
|
|
53
|
-
<div class="wt-tree-table-th__content">
|
|
54
|
-
<slot name="actions-header" />
|
|
32
|
+
<div class="wt-tree-table-th__text">
|
|
33
|
+
{{ col.text }}
|
|
55
34
|
</div>
|
|
56
|
-
|
|
57
|
-
|
|
35
|
+
<wt-icon
|
|
36
|
+
v-if="sortable"
|
|
37
|
+
class="wt-tree-table-th-sort-arrow wt-tree-table-th-sort-arrow--asc"
|
|
38
|
+
icon="sort-arrow-up"
|
|
39
|
+
size="sm"
|
|
40
|
+
/>
|
|
41
|
+
<wt-icon
|
|
42
|
+
v-if="sortable"
|
|
43
|
+
class="wt-tree-table-th-sort-arrow wt-tree-table-th-sort-arrow--desc"
|
|
44
|
+
icon="sort-arrow-down"
|
|
45
|
+
size="sm"
|
|
46
|
+
/>
|
|
47
|
+
</div>
|
|
48
|
+
</th>
|
|
49
|
+
<th
|
|
50
|
+
v-if="gridActions"
|
|
51
|
+
class="wt-tree-table-th__actions"
|
|
52
|
+
>
|
|
53
|
+
<div class="wt-tree-table-th__content">
|
|
54
|
+
<slot name="actions-header" />
|
|
55
|
+
</div>
|
|
56
|
+
</th>
|
|
57
|
+
</tr>
|
|
58
58
|
</thead>
|
|
59
59
|
|
|
60
60
|
<tbody class="wt-tree-table-body">
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
61
|
+
<wt-tree-table-row
|
|
62
|
+
v-for="(row, dataKey) of data"
|
|
63
|
+
:key="dataKey"
|
|
64
|
+
:row-position="dataKey"
|
|
65
|
+
:data-headers="dataHeaders"
|
|
66
|
+
:data="row"
|
|
67
|
+
:selectable="selectable"
|
|
68
|
+
:children-prop="childrenProp"
|
|
69
|
+
:selected-elements="selectedElements"
|
|
70
|
+
:searched-prop="searchedProp"
|
|
71
|
+
@update:selected="handleSelection($event.data, $event.select)"
|
|
72
|
+
>
|
|
73
|
+
<template #actions="{ item }">
|
|
74
|
+
<slot
|
|
75
|
+
name="actions"
|
|
76
|
+
:item="item"
|
|
77
|
+
/>
|
|
78
|
+
</template>
|
|
79
|
+
<template
|
|
80
|
+
v-for="(col, headerKey) of dataHeaders"
|
|
81
|
+
:key="headerKey"
|
|
82
|
+
#[col.value]="{ item }"
|
|
72
83
|
>
|
|
73
|
-
<
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
/>
|
|
78
|
-
</template>
|
|
79
|
-
<template
|
|
80
|
-
v-for="(col, headerKey) of dataHeaders"
|
|
81
|
-
:key="headerKey"
|
|
82
|
-
#[col.value]="{ item }"
|
|
84
|
+
<slot
|
|
85
|
+
:index="dataKey"
|
|
86
|
+
:item="item"
|
|
87
|
+
:name="col.value"
|
|
83
88
|
>
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
>
|
|
89
|
-
{{ item[col.value] }}
|
|
90
|
-
</slot>
|
|
91
|
-
</template>
|
|
92
|
-
</wt-tree-table-row>
|
|
89
|
+
{{ item[col.value] }}
|
|
90
|
+
</slot>
|
|
91
|
+
</template>
|
|
92
|
+
</wt-tree-table-row>
|
|
93
93
|
</tbody>
|
|
94
94
|
</table>
|
|
95
95
|
</div>
|
|
@@ -289,6 +289,11 @@ const handleSelection = (row, select) => {
|
|
|
289
289
|
background: var(--wt-tree-table-head-background-color);
|
|
290
290
|
}
|
|
291
291
|
|
|
292
|
+
.wt-tree-table-th__content {
|
|
293
|
+
display: flex;
|
|
294
|
+
align-items: center;
|
|
295
|
+
}
|
|
296
|
+
|
|
292
297
|
.wt-tree-table-th__content--selectable {
|
|
293
298
|
display: flex;
|
|
294
299
|
}
|
|
@@ -350,11 +355,11 @@ const handleSelection = (row, select) => {
|
|
|
350
355
|
margin-left: var(--wt-tree-table-head-sort-arrow-margin);
|
|
351
356
|
}
|
|
352
357
|
|
|
353
|
-
.wt-tree-table-th
|
|
358
|
+
.wt-tree-table-th--sort-asc .wt-tree-table-th-sort-arrow--asc {
|
|
354
359
|
display: block;
|
|
355
360
|
}
|
|
356
361
|
|
|
357
|
-
.wt-tree-table-th
|
|
362
|
+
.wt-tree-table-th--sort-desc .wt-tree-table-th-sort-arrow--desc {
|
|
358
363
|
display: block;
|
|
359
364
|
}
|
|
360
365
|
|
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
import { FormatDateMode } from '../../enums';
|
|
2
|
-
|
|
2
|
+
interface Props {
|
|
3
|
+
/**
|
|
4
|
+
* Date/time value to display. Accepts a date string, Unix timestamp (ms), or Date object.
|
|
5
|
+
* @type {string | number | Date}
|
|
6
|
+
*/
|
|
3
7
|
datetime: string | number | Date;
|
|
8
|
+
/**
|
|
9
|
+
* Display format mode.
|
|
10
|
+
* @type {FormatDateMode}
|
|
11
|
+
* @default FormatDateMode.DATETIME (datetime)
|
|
12
|
+
* @values 'date', 'time', 'timeSec', 'datetime', 'datetimeShort'
|
|
13
|
+
*/
|
|
4
14
|
mode?: FormatDateMode;
|
|
15
|
+
/**
|
|
16
|
+
* IANA timezone identifier (e.g. 'Europe/Kyiv'). Falls back to the user's saved timezone or the browser timezone.
|
|
17
|
+
* @type {string}
|
|
18
|
+
*/
|
|
5
19
|
timezone?: string;
|
|
6
|
-
}
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<
|
|
20
|
+
}
|
|
21
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
8
22
|
mode: FormatDateMode;
|
|
9
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
24
|
declare const _default: typeof __VLS_export;
|