mimir-ui-kit 1.57.1 → 1.58.1
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/assets/Chip.css +1 -1
- package/dist/components/Chip/Chip.js +34 -33
- package/dist/components/Chip/constants.d.ts +2 -1
- package/dist/components/Chip/constants.js +1 -1
- package/dist/components/TabTrail/TabTrail.d.ts +4 -0
- package/dist/components/TabTrail/TabTrail.js +171 -164
- package/package.json +1 -1
package/dist/assets/Chip.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._chip_1ezrc_2{--chip-cursor: default;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:var(--chip-height);color:var(--chip-color);font-size:var(--chip-font-size);line-height:var(--chip-line-height);-webkit-column-gap:var(--mimir-space-2xs);-moz-column-gap:var(--mimir-space-2xs);column-gap:var(--mimir-space-2xs);background-color:var(--chip-bg-color);border-radius:var(--chip-border-radius);cursor:default;cursor:var(--chip-cursor);-webkit-transition:background-color .3s ease,border-color .15s ease,color .15s ease,fill .15s ease,-webkit-box-shadow .15s ease;transition:background-color .3s ease,border-color .15s ease,color .15s ease,fill .15s ease,-webkit-box-shadow .15s ease;transition:background-color .3s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease,fill .15s ease;transition:background-color .3s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease,fill .15s ease,-webkit-box-shadow .15s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-left:var(--chip-space);padding-right:var(--chip-space);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._chip_1ezrc_2._with-action_1ezrc_19,._chip_1ezrc_2._with-interactive_1ezrc_19{--chip-cursor: pointer}._chip_1ezrc_2._with-action_1ezrc_19:hover,._chip_1ezrc_2._with-interactive_1ezrc_19:hover{color:var(--chip-color-hover);background-color:var(--chip-bg-color-hover)}._chip_1ezrc_2._with-action_1ezrc_19:active,._chip_1ezrc_2._with-interactive_1ezrc_19:active{color:var(--chip-color-active);background-color:var(--chip-bg-color-active)}._chip_1ezrc_2._with-action_1ezrc_19:focus-visible,._chip_1ezrc_2._with-interactive_1ezrc_19:focus-visible{-webkit-box-shadow:0 0 2px var(--sapphire-normal);box-shadow:0 0 2px var(--sapphire-normal)}._chip_1ezrc_2._with-action_1ezrc_19 svg,._chip_1ezrc_2._with-interactive_1ezrc_19 svg{color:currentcolor;fill:currentcolor}._chip_1ezrc_2._with-action_1ezrc_19 svg path,._chip_1ezrc_2._with-interactive_1ezrc_19 svg path{color:currentcolor;fill:currentcolor}._chip_1ezrc_2._disabled_1ezrc_41{--chip-color: var(--light-text);--chip-bg-color: var(--disabled);--chip-bg-color-hover: var(--disabled-color);--chip-bg-color-active: var(--disabled-color);--chip-cursor: not-allowed}._chip_1ezrc_2._disabled_1ezrc_41:focus-visible{-webkit-box-shadow:none;box-shadow:none}._chip_1ezrc_2._squareBorder_1ezrc_51{--chip-border-radius: var(--mimir-control-radius)}._xs_1ezrc_55{--chip-font-size: var(--mimir-size-text-s);--chip-line-height: var(--mimir-line-height-text-xs);--chip-border-radius: var(--mimir-control-radius-m-s);--chip-height: 24px;--chip-space: var(--mimir-space-xs)}._s_1ezrc_51{--chip-font-size: var(--mimir-size-text-l);--chip-line-height: var(--mimir-line-height-text-xs);--chip-border-radius: var(--mimir-control-radius-m-s);--chip-height: 28px;--chip-space: var(--mimir-space-s)}._sm_1ezrc_71{--chip-font-size: var(--mimir-size-text-l);--chip-line-height: var(--mimir-line-height-text-xs);--chip-border-radius: var(--mimir-control-radius-m);--chip-height: 34px;--chip-space: var(--mimir-space-s)}._m_1ezrc_79{--chip-font-size: var(--mimir-size-text-m);--chip-line-height: var(--mimir-line-height-text-xs);--chip-border-radius: var(--mimir-control-radius-m);--chip-height: 40px;--chip-space: var(--mimir-space-m)}._sapphire_1ezrc_87{--chip-color: var(--light-text);--chip-color-hover: var(--light-text);--chip-color-active: var(--light-text);--chip-bg-color: var(--sapphire-normal);--chip-bg-color-hover: var(--sapphire-hover);--chip-bg-color-active: var(--sapphire-active)}._citrine_1ezrc_96{--chip-color: var(--light-text);--chip-color-hover: var(--light-text);--chip-color-active: var(--light-text);--chip-bg-color: var(--citrine-normal);--chip-bg-color-hover: var(--citrine-hover);--chip-bg-color-active: var(--citrine-active)}._asphalt_1ezrc_105{--chip-color: var(--light-text);--chip-color-hover: var(--light-text);--chip-color-active: var(--light-text);--chip-bg-color: var(--asphalt-normal);--chip-bg-color-hover: var(--asphalt-hover);--chip-bg-color-active: var(--asphalt-active)}._gray_1ezrc_114{--chip-color: var(--dark-text);--chip-color-hover: var(--sapphire-normal);--chip-color-active: var(--light-text);--chip-bg-color: var(--gray-normal);--chip-bg-color-hover: var(--gray-normal);--chip-bg-color-active: var(--gray-active)}._white_1ezrc_123{--chip-color: var(--dark-text);--chip-color-hover: var(--sapphire-normal);--chip-color-active: var(--light-text);--chip-bg-color: var(--white-normal);--chip-bg-color-hover: var(--white-normal);--chip-bg-color-active: var(--white-active)}._green_1ezrc_132{--chip-color: var(--light-text);--chip-color-hover: var(--light-text);--chip-color-active: var(--light-text);--chip-bg-color: var(--green-normal);--chip-bg-color-hover: var(--green-hover);--chip-bg-color-active: var(--green-active)}._green-light_1ezrc_141{--chip-color: var(--green);--chip-color-hover: var(--green);--chip-color-active: var(--green);--chip-bg-color: var(--success-bg-active);--chip-bg-color-hover: var(--success-bg-active);--chip-bg-color-active: var(--success-bg-active)}._green-light_1ezrc_141._xs_1ezrc_55{--chip-space: var(--mimir-space-xs);--chip-font-size: var(--mimir-size-text-s);--chip-line-height: var(--mimir-line-height-text-xss1);padding:var(--mimir-space-2xs) var(--mimir-space-xs)}._green-light_1ezrc_141._sm_1ezrc_71{--chip-color: var(--success-normal);--chip-color-hover: var(--success-normal);--chip-color-active: var(--success-normal);--chip-font-size: var(--mimir-size-text-l);--chip-line-height: var(--mimir-line-height-text-xss);padding:var(--mimir-space-xs)}._orange-light_1ezrc_164{--chip-color: var(--citrine-100);--chip-color-hover: var(--citrine-100);--chip-color-active: var(--citrine-100);--chip-bg-color: var(--citrine-20);--chip-bg-color-hover: var(--citrine-20);--chip-bg-color-active: var(--citrine-20)}._orange-light_1ezrc_164._xs_1ezrc_55{--chip-space: var(--mimir-space-xs);--chip-font-size: var(--mimir-size-text-s);--chip-line-height: var(--mimir-line-height-text-xss1);padding:var(--mimir-space-2xs) var(--mimir-space-xs)}._yellow-light_1ezrc_179{--chip-color: var(--citrine-100);--chip-color-hover: var(--citrine-100);--chip-color-active: var(--citrine-100);--chip-bg-color: var(--alarm-bg-active);--chip-bg-color-hover: var(--alarm-bg-active);--chip-bg-color-active: var(--alarm-bg-active)}._yellow-light_1ezrc_179._sm_1ezrc_71{--chip-font-size: var(--mimir-size-text-l);--chip-line-height: var(--mimir-line-height-text-xss);padding:var(--mimir-space-xs)}._red-light_1ezrc_193{--chip-color: var(--error-normal);--chip-color-hover: var(--error-normal);--chip-color-active: var(--error-normal);--chip-bg-color: var(--error-bg-active);--chip-bg-color-hover: var(--error-bg-active);--chip-bg-color-active: var(--error-bg-active)}._red-light_1ezrc_193._sm_1ezrc_71{--chip-font-size: var(--mimir-size-text-l);--chip-line-height: var(--mimir-line-height-text-xss);padding:var(--mimir-space-xs)}
|
|
@@ -1,58 +1,59 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { c as
|
|
1
|
+
import { jsxs as z, jsx as g } from "react/jsx-runtime";
|
|
2
|
+
import { c as w } from "../../index-DIxK0V-G.js";
|
|
3
3
|
import { forwardRef as u } from "react";
|
|
4
4
|
import { EChipSize as f, EChipVariant as x } from "./constants.js";
|
|
5
5
|
import { Button as B } from "../Button/Button.js";
|
|
6
|
-
import '../../assets/Chip.css';const C = "
|
|
6
|
+
import '../../assets/Chip.css';const C = "_chip_1ezrc_2", v = "_disabled_1ezrc_41", b = "_squareBorder_1ezrc_51", q = "_xs_1ezrc_55", y = "_s_1ezrc_51", N = "_sm_1ezrc_71", j = "_m_1ezrc_79", E = "_sapphire_1ezrc_87", I = "_citrine_1ezrc_96", S = "_asphalt_1ezrc_105", k = "_gray_1ezrc_114", A = "_white_1ezrc_123", M = "_green_1ezrc_132", e = {
|
|
7
7
|
chip: C,
|
|
8
|
-
"with-action": "_with-
|
|
9
|
-
"with-interactive": "_with-
|
|
10
|
-
disabled:
|
|
11
|
-
squareBorder:
|
|
12
|
-
xs:
|
|
13
|
-
s:
|
|
14
|
-
sm:
|
|
15
|
-
m:
|
|
8
|
+
"with-action": "_with-action_1ezrc_19",
|
|
9
|
+
"with-interactive": "_with-interactive_1ezrc_19",
|
|
10
|
+
disabled: v,
|
|
11
|
+
squareBorder: b,
|
|
12
|
+
xs: q,
|
|
13
|
+
s: y,
|
|
14
|
+
sm: N,
|
|
15
|
+
m: j,
|
|
16
16
|
sapphire: E,
|
|
17
17
|
citrine: I,
|
|
18
18
|
asphalt: S,
|
|
19
19
|
gray: k,
|
|
20
20
|
white: A,
|
|
21
21
|
green: M,
|
|
22
|
-
"green-light": "_green-
|
|
23
|
-
"orange-light": "_orange-
|
|
24
|
-
"yellow-light": "_yellow-
|
|
22
|
+
"green-light": "_green-light_1ezrc_141",
|
|
23
|
+
"orange-light": "_orange-light_1ezrc_164",
|
|
24
|
+
"yellow-light": "_yellow-light_1ezrc_179",
|
|
25
|
+
"red-light": "_red-light_1ezrc_193"
|
|
25
26
|
}, G = u(
|
|
26
|
-
(
|
|
27
|
+
(t, i) => {
|
|
27
28
|
const {
|
|
28
|
-
as:
|
|
29
|
-
size:
|
|
29
|
+
as: s = "div",
|
|
30
|
+
size: c = f.M,
|
|
30
31
|
variant: _ = x.Sapphire,
|
|
31
|
-
className:
|
|
32
|
+
className: o,
|
|
32
33
|
disabled: a,
|
|
33
|
-
withAction:
|
|
34
|
+
withAction: r,
|
|
34
35
|
children: n,
|
|
35
|
-
onClose:
|
|
36
|
+
onClose: h,
|
|
36
37
|
squareBorder: l = !1,
|
|
37
|
-
isInteractive:
|
|
38
|
-
...
|
|
39
|
-
} =
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
isInteractive: p = !1,
|
|
39
|
+
...d
|
|
40
|
+
} = t, m = w(
|
|
41
|
+
e.chip,
|
|
42
|
+
o,
|
|
42
43
|
{
|
|
43
|
-
[
|
|
44
|
-
[
|
|
45
|
-
[
|
|
44
|
+
[e["with-action"]]: r,
|
|
45
|
+
[e["with-interactive"]]: p,
|
|
46
|
+
[e.disabled]: a
|
|
46
47
|
},
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
e[_],
|
|
49
|
+
e[c],
|
|
49
50
|
{
|
|
50
|
-
[
|
|
51
|
+
[e.squareBorder]: l
|
|
51
52
|
}
|
|
52
53
|
);
|
|
53
|
-
return /* @__PURE__ */
|
|
54
|
+
return /* @__PURE__ */ z(s, { ref: i, className: m, ...d, children: [
|
|
54
55
|
n,
|
|
55
|
-
|
|
56
|
+
r && /* @__PURE__ */ g(B, { isIconButton: !0, iconName: "Close16px", onClick: h, clear: !0 })
|
|
56
57
|
] });
|
|
57
58
|
}
|
|
58
59
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var g = /* @__PURE__ */ ((e) => (e.XS = "xs", e.S = "s", e.SM = "sm", e.M = "m", e))(g || {}), r = /* @__PURE__ */ ((e) => (e.Sapphire = "sapphire", e.Citrine = "citrine", e.Asphalt = "asphalt", e.Gray = "gray", e.White = "white", e.Green = "green", e.GreenLight = "green-light", e.OrangeLight = "orange-light", e.YellowLight = "yellow-light", e))(r || {});
|
|
1
|
+
var g = /* @__PURE__ */ ((e) => (e.XS = "xs", e.S = "s", e.SM = "sm", e.M = "m", e))(g || {}), r = /* @__PURE__ */ ((e) => (e.Sapphire = "sapphire", e.Citrine = "citrine", e.Asphalt = "asphalt", e.Gray = "gray", e.White = "white", e.Green = "green", e.GreenLight = "green-light", e.OrangeLight = "orange-light", e.YellowLight = "yellow-light", e.RedLight = "red-light", e))(r || {});
|
|
2
2
|
export {
|
|
3
3
|
g as EChipSize,
|
|
4
4
|
r as EChipVariant
|
|
@@ -27,6 +27,10 @@ export type TCategoryTab = {
|
|
|
27
27
|
* Цвет нижней границы для detailed варианта таба.
|
|
28
28
|
*/
|
|
29
29
|
borderColor?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Цвет нижней границы по дефолту для detailed варианта таба.
|
|
32
|
+
*/
|
|
33
|
+
defaultActive?: boolean;
|
|
30
34
|
};
|
|
31
35
|
export type TTabTrailProps = {
|
|
32
36
|
/**
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { c as
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
5
|
-
import { ETabTrailSize as
|
|
6
|
-
import { TabButtons as
|
|
7
|
-
import { ETabTrailButtonVariant as
|
|
1
|
+
import { jsxs as j, jsx as h, Fragment as Se } from "react/jsx-runtime";
|
|
2
|
+
import { c as I } from "../../index-DIxK0V-G.js";
|
|
3
|
+
import * as q from "react";
|
|
4
|
+
import V, { useState as ae, createContext as ve, useReducer as Ae, useMemo as C, useId as he, useRef as se, useContext as xe, forwardRef as Fe, useEffect as ue } from "react";
|
|
5
|
+
import { ETabTrailSize as ke } from "./constants.js";
|
|
6
|
+
import { TabButtons as De } from "./TabButtons/TabButtons.js";
|
|
7
|
+
import { ETabTrailButtonVariant as Re } from "./TabButtons/constants.js";
|
|
8
8
|
import { Icon as be } from "../../icons/Icon.js";
|
|
9
|
-
import { NotificationBadge as
|
|
10
|
-
import { M as me, W as
|
|
11
|
-
import { w as
|
|
12
|
-
import { e as
|
|
13
|
-
import { f as
|
|
14
|
-
import { T as Te, s as
|
|
15
|
-
import { _ as
|
|
16
|
-
import '../../assets/TabTrail.css';function
|
|
17
|
-
let [t, n] =
|
|
18
|
-
return t ?
|
|
9
|
+
import { NotificationBadge as Le } from "../NotificationBadge/NotificationBadge.js";
|
|
10
|
+
import { M as me, W as Y, s as re, y as Q, o as W, n as le, H as X, $ as ge, b as Oe, D as _e, a as K, u as Me, c as N, e as Be } from "../../keyboard-wis2TUql.js";
|
|
11
|
+
import { w as We } from "../../use-active-press-CnDeVvQq.js";
|
|
12
|
+
import { e as Ce } from "../../use-resolve-button-type-DhFdPxnv.js";
|
|
13
|
+
import { f as Ge } from "../../use-is-mounted-MBU4fiLr.js";
|
|
14
|
+
import { T as Te, s as Ue } from "../../hidden-CkTYbiNM.js";
|
|
15
|
+
import { _ as J, T as ne, P as z, F as S } from "../../focus-management-BAl0GmRk.js";
|
|
16
|
+
import '../../assets/TabTrail.css';function ze({ onFocus: e }) {
|
|
17
|
+
let [t, n] = ae(!0), r = Ge();
|
|
18
|
+
return t ? V.createElement(Te, { as: "button", type: "button", features: Ue.Focusable, onFocus: (a) => {
|
|
19
19
|
a.preventDefault();
|
|
20
|
-
let s,
|
|
20
|
+
let s, i = 50;
|
|
21
21
|
function f() {
|
|
22
|
-
if (
|
|
22
|
+
if (i-- <= 0) {
|
|
23
23
|
s && cancelAnimationFrame(s);
|
|
24
24
|
return;
|
|
25
25
|
}
|
|
@@ -33,8 +33,8 @@ import '../../assets/TabTrail.css';function Ue({ onFocus: e }) {
|
|
|
33
33
|
s = requestAnimationFrame(f);
|
|
34
34
|
} }) : null;
|
|
35
35
|
}
|
|
36
|
-
const Ie =
|
|
37
|
-
function
|
|
36
|
+
const Ie = q.createContext(null);
|
|
37
|
+
function Ve() {
|
|
38
38
|
return { groups: /* @__PURE__ */ new Map(), get(e, t) {
|
|
39
39
|
var n;
|
|
40
40
|
let r = this.groups.get(e);
|
|
@@ -42,57 +42,57 @@ function ze() {
|
|
|
42
42
|
let a = (n = r.get(t)) != null ? n : 0;
|
|
43
43
|
r.set(t, a + 1);
|
|
44
44
|
let s = Array.from(r.keys()).indexOf(t);
|
|
45
|
-
function
|
|
45
|
+
function i() {
|
|
46
46
|
let f = r.get(t);
|
|
47
47
|
f > 1 ? r.set(t, f - 1) : r.delete(t);
|
|
48
48
|
}
|
|
49
|
-
return [s,
|
|
49
|
+
return [s, i];
|
|
50
50
|
} };
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
let t =
|
|
54
|
-
return
|
|
52
|
+
function qe({ children: e }) {
|
|
53
|
+
let t = q.useRef(Ve());
|
|
54
|
+
return q.createElement(Ie.Provider, { value: t }, e);
|
|
55
55
|
}
|
|
56
56
|
function Pe(e) {
|
|
57
|
-
let t =
|
|
57
|
+
let t = q.useContext(Ie);
|
|
58
58
|
if (!t) throw new Error("You must wrap your component in a <StableCollection>");
|
|
59
|
-
let n =
|
|
60
|
-
return
|
|
59
|
+
let n = q.useId(), [r, a] = t.current.get(e, n);
|
|
60
|
+
return q.useEffect(() => a, []), r;
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
let
|
|
62
|
+
var He = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(He || {}), je = ((e) => (e[e.Less = -1] = "Less", e[e.Equal = 0] = "Equal", e[e.Greater = 1] = "Greater", e))(je || {}), Je = ((e) => (e[e.SetSelectedIndex = 0] = "SetSelectedIndex", e[e.RegisterTab = 1] = "RegisterTab", e[e.UnregisterTab = 2] = "UnregisterTab", e[e.RegisterPanel = 3] = "RegisterPanel", e[e.UnregisterPanel = 4] = "UnregisterPanel", e))(Je || {});
|
|
63
|
+
let Ke = { 0(e, t) {
|
|
64
64
|
var n;
|
|
65
|
-
let r =
|
|
65
|
+
let r = J(e.tabs, (d) => d.current), a = J(e.panels, (d) => d.current), s = r.filter((d) => {
|
|
66
66
|
var x;
|
|
67
67
|
return !((x = d.current) != null && x.hasAttribute("disabled"));
|
|
68
|
-
}),
|
|
68
|
+
}), i = { ...e, tabs: r, panels: a };
|
|
69
69
|
if (t.index < 0 || t.index > r.length - 1) {
|
|
70
|
-
let d =
|
|
71
|
-
if (s.length === 0) return
|
|
72
|
-
let x =
|
|
73
|
-
return { ...
|
|
70
|
+
let d = K(Math.sign(t.index - e.selectedIndex), { [-1]: () => 1, 0: () => K(Math.sign(t.index), { [-1]: () => 0, 0: () => 0, 1: () => 1 }), 1: () => 0 });
|
|
71
|
+
if (s.length === 0) return i;
|
|
72
|
+
let x = K(d, { 0: () => r.indexOf(s[0]), 1: () => r.indexOf(s[s.length - 1]) });
|
|
73
|
+
return { ...i, selectedIndex: x === -1 ? e.selectedIndex : x };
|
|
74
74
|
}
|
|
75
|
-
let f = r.slice(0, t.index),
|
|
76
|
-
if (!
|
|
77
|
-
let v = (n = r.indexOf(
|
|
78
|
-
return v === -1 && (v = e.selectedIndex), { ...
|
|
75
|
+
let f = r.slice(0, t.index), P = [...r.slice(t.index), ...f].find((d) => s.includes(d));
|
|
76
|
+
if (!P) return i;
|
|
77
|
+
let v = (n = r.indexOf(P)) != null ? n : e.selectedIndex;
|
|
78
|
+
return v === -1 && (v = e.selectedIndex), { ...i, selectedIndex: v };
|
|
79
79
|
}, 1(e, t) {
|
|
80
80
|
if (e.tabs.includes(t.tab)) return e;
|
|
81
|
-
let n = e.tabs[e.selectedIndex], r =
|
|
81
|
+
let n = e.tabs[e.selectedIndex], r = J([...e.tabs, t.tab], (s) => s.current), a = e.selectedIndex;
|
|
82
82
|
return e.info.current.isControlled || (a = r.indexOf(n), a === -1 && (a = e.selectedIndex)), { ...e, tabs: r, selectedIndex: a };
|
|
83
83
|
}, 2(e, t) {
|
|
84
84
|
return { ...e, tabs: e.tabs.filter((n) => n !== t.tab) };
|
|
85
85
|
}, 3(e, t) {
|
|
86
|
-
return e.panels.includes(t.panel) ? e : { ...e, panels:
|
|
86
|
+
return e.panels.includes(t.panel) ? e : { ...e, panels: J([...e.panels, t.panel], (n) => n.current) };
|
|
87
87
|
}, 4(e, t) {
|
|
88
88
|
return { ...e, panels: e.panels.filter((n) => n !== t.panel) };
|
|
89
89
|
} }, de = ve(null);
|
|
90
90
|
de.displayName = "TabsDataContext";
|
|
91
|
-
function
|
|
91
|
+
function H(e) {
|
|
92
92
|
let t = xe(de);
|
|
93
93
|
if (t === null) {
|
|
94
94
|
let n = new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);
|
|
95
|
-
throw Error.captureStackTrace && Error.captureStackTrace(n,
|
|
95
|
+
throw Error.captureStackTrace && Error.captureStackTrace(n, H), n;
|
|
96
96
|
}
|
|
97
97
|
return t;
|
|
98
98
|
}
|
|
@@ -106,124 +106,124 @@ function pe(e) {
|
|
|
106
106
|
}
|
|
107
107
|
return t;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
110
|
-
return
|
|
109
|
+
function Ye(e, t) {
|
|
110
|
+
return K(t.type, Ke, e, t);
|
|
111
111
|
}
|
|
112
|
-
let
|
|
113
|
-
function
|
|
114
|
-
let { defaultIndex: n = 0, vertical: r = !1, manual: a = !1, onChange: s, selectedIndex:
|
|
115
|
-
const
|
|
116
|
-
let d =
|
|
117
|
-
})), y =
|
|
112
|
+
let Qe = "div";
|
|
113
|
+
function Xe(e, t) {
|
|
114
|
+
let { defaultIndex: n = 0, vertical: r = !1, manual: a = !1, onChange: s, selectedIndex: i = null, ...f } = e;
|
|
115
|
+
const P = r ? "vertical" : "horizontal", v = a ? "manual" : "auto";
|
|
116
|
+
let d = i !== null, x = re({ isControlled: d }), A = Q(t), [p, u] = Ae(Ye, { info: x, selectedIndex: i ?? n, tabs: [], panels: [] }), D = C(() => ({ selectedIndex: p.selectedIndex }), [p.selectedIndex]), R = re(s || (() => {
|
|
117
|
+
})), y = re(p.tabs), b = C(() => ({ orientation: P, activation: v, ...p }), [P, v, p]), F = W((o) => (u({ type: 1, tab: o }), () => u({ type: 2, tab: o }))), L = W((o) => (u({ type: 3, panel: o }), () => u({ type: 4, panel: o }))), g = W((o) => {
|
|
118
118
|
_.current !== o && R.current(o), d || u({ type: 0, index: o });
|
|
119
|
-
}), _ =
|
|
120
|
-
|
|
121
|
-
u({ type: 0, index:
|
|
122
|
-
}, [
|
|
119
|
+
}), _ = re(d ? e.selectedIndex : p.selectedIndex), O = C(() => ({ registerTab: F, registerPanel: L, change: g }), []);
|
|
120
|
+
le(() => {
|
|
121
|
+
u({ type: 0, index: i ?? n });
|
|
122
|
+
}, [i]), le(() => {
|
|
123
123
|
if (_.current === void 0 || p.tabs.length <= 0) return;
|
|
124
|
-
let o =
|
|
124
|
+
let o = J(p.tabs, (E) => E.current);
|
|
125
125
|
o.some((E, k) => p.tabs[k] !== E) && g(o.indexOf(p.tabs[_.current]));
|
|
126
126
|
});
|
|
127
127
|
let T = { ref: A };
|
|
128
|
-
return
|
|
128
|
+
return V.createElement(qe, null, V.createElement(fe.Provider, { value: O }, V.createElement(de.Provider, { value: b }, b.tabs.length <= 0 && V.createElement(ze, { onFocus: () => {
|
|
129
129
|
var o, E;
|
|
130
130
|
for (let k of y.current) if (((o = k.current) == null ? void 0 : o.tabIndex) === 0) return (E = k.current) == null || E.focus(), !0;
|
|
131
131
|
return !1;
|
|
132
|
-
} }),
|
|
132
|
+
} }), X({ ourProps: T, theirProps: f, slot: D, defaultTag: Qe, name: "Tabs" }))));
|
|
133
133
|
}
|
|
134
|
-
let
|
|
135
|
-
function
|
|
136
|
-
let { orientation: n, selectedIndex: r } =
|
|
137
|
-
return
|
|
134
|
+
let Ze = "div";
|
|
135
|
+
function et(e, t) {
|
|
136
|
+
let { orientation: n, selectedIndex: r } = H("Tab.List"), a = Q(t), s = C(() => ({ selectedIndex: r }), [r]);
|
|
137
|
+
return X({ ourProps: { ref: a, role: "tablist", "aria-orientation": n }, theirProps: e, slot: s, defaultTag: Ze, name: "Tabs.List" });
|
|
138
138
|
}
|
|
139
|
-
let
|
|
140
|
-
function
|
|
139
|
+
let tt = "button";
|
|
140
|
+
function rt(e, t) {
|
|
141
141
|
var n, r;
|
|
142
|
-
let a = he(), { id: s = `headlessui-tabs-tab-${a}`, disabled:
|
|
143
|
-
|
|
142
|
+
let a = he(), { id: s = `headlessui-tabs-tab-${a}`, disabled: i = !1, autoFocus: f = !1, ...P } = e, { orientation: v, activation: d, selectedIndex: x, tabs: A, panels: p } = H("Tab"), u = pe("Tab"), D = H("Tab"), [R, y] = ae(null), b = se(null), F = Q(b, t, y);
|
|
143
|
+
le(() => u.registerTab(b), [u, b]);
|
|
144
144
|
let L = Pe("tabs"), g = A.indexOf(b);
|
|
145
145
|
g === -1 && (g = L);
|
|
146
|
-
let _ = g === x, O = W((
|
|
147
|
-
var
|
|
148
|
-
let B =
|
|
149
|
-
if (B ===
|
|
150
|
-
let
|
|
151
|
-
|
|
146
|
+
let _ = g === x, O = W((l) => {
|
|
147
|
+
var $;
|
|
148
|
+
let B = l();
|
|
149
|
+
if (B === ne.Success && d === "auto") {
|
|
150
|
+
let ee = ($ = Me(b)) == null ? void 0 : $.activeElement, U = D.tabs.findIndex((te) => te.current === ee);
|
|
151
|
+
U !== -1 && u.change(U);
|
|
152
152
|
}
|
|
153
153
|
return B;
|
|
154
|
-
}), T = W((
|
|
155
|
-
let
|
|
156
|
-
if (
|
|
157
|
-
|
|
154
|
+
}), T = W((l) => {
|
|
155
|
+
let $ = A.map((B) => B.current).filter(Boolean);
|
|
156
|
+
if (l.key === N.Space || l.key === N.Enter) {
|
|
157
|
+
l.preventDefault(), l.stopPropagation(), u.change(g);
|
|
158
158
|
return;
|
|
159
159
|
}
|
|
160
|
-
switch (
|
|
160
|
+
switch (l.key) {
|
|
161
161
|
case N.Home:
|
|
162
162
|
case N.PageUp:
|
|
163
|
-
return
|
|
163
|
+
return l.preventDefault(), l.stopPropagation(), O(() => z($, S.First));
|
|
164
164
|
case N.End:
|
|
165
165
|
case N.PageDown:
|
|
166
|
-
return
|
|
166
|
+
return l.preventDefault(), l.stopPropagation(), O(() => z($, S.Last));
|
|
167
167
|
}
|
|
168
|
-
if (O(() =>
|
|
169
|
-
return
|
|
168
|
+
if (O(() => K(v, { vertical() {
|
|
169
|
+
return l.key === N.ArrowUp ? z($, S.Previous | S.WrapAround) : l.key === N.ArrowDown ? z($, S.Next | S.WrapAround) : ne.Error;
|
|
170
170
|
}, horizontal() {
|
|
171
|
-
return
|
|
172
|
-
} })) ===
|
|
173
|
-
}), o =
|
|
174
|
-
var
|
|
175
|
-
o.current || (o.current = !0, (
|
|
171
|
+
return l.key === N.ArrowLeft ? z($, S.Previous | S.WrapAround) : l.key === N.ArrowRight ? z($, S.Next | S.WrapAround) : ne.Error;
|
|
172
|
+
} })) === ne.Success) return l.preventDefault();
|
|
173
|
+
}), o = se(!1), E = W(() => {
|
|
174
|
+
var l;
|
|
175
|
+
o.current || (o.current = !0, (l = b.current) == null || l.focus({ preventScroll: !0 }), u.change(g), Be(() => {
|
|
176
176
|
o.current = !1;
|
|
177
177
|
}));
|
|
178
|
-
}), k = W((
|
|
179
|
-
|
|
180
|
-
}), { isFocusVisible: M, focusProps:
|
|
181
|
-
return
|
|
178
|
+
}), k = W((l) => {
|
|
179
|
+
l.preventDefault();
|
|
180
|
+
}), { isFocusVisible: M, focusProps: ie } = ge({ autoFocus: f }), { isHovered: G, hoverProps: oe } = Oe({ isDisabled: i }), { pressed: Z, pressProps: ce } = We({ disabled: i }), c = C(() => ({ selected: _, hover: G, active: Z, focus: M, autofocus: f, disabled: i }), [_, G, M, Z, f, i]), w = _e({ ref: F, onKeyDown: T, onMouseDown: k, onClick: E, id: s, role: "tab", type: Ce(e, R), "aria-controls": (r = (n = p[g]) == null ? void 0 : n.current) == null ? void 0 : r.id, "aria-selected": _, tabIndex: _ ? 0 : -1, disabled: i || void 0, autoFocus: f }, ie, oe, ce);
|
|
181
|
+
return X({ ourProps: w, theirProps: P, slot: c, defaultTag: tt, name: "Tabs.Tab" });
|
|
182
182
|
}
|
|
183
|
-
let
|
|
184
|
-
function
|
|
185
|
-
let { selectedIndex: n } =
|
|
186
|
-
return
|
|
183
|
+
let nt = "div";
|
|
184
|
+
function at(e, t) {
|
|
185
|
+
let { selectedIndex: n } = H("Tab.Panels"), r = Q(t), a = C(() => ({ selectedIndex: n }), [n]);
|
|
186
|
+
return X({ ourProps: { ref: r }, theirProps: e, slot: a, defaultTag: nt, name: "Tabs.Panels" });
|
|
187
187
|
}
|
|
188
|
-
let
|
|
189
|
-
function
|
|
188
|
+
let st = "div", lt = me.RenderStrategy | me.Static;
|
|
189
|
+
function it(e, t) {
|
|
190
190
|
var n, r, a, s;
|
|
191
|
-
let
|
|
192
|
-
|
|
191
|
+
let i = he(), { id: f = `headlessui-tabs-panel-${i}`, tabIndex: P = 0, ...v } = e, { selectedIndex: d, tabs: x, panels: A } = H("Tab.Panel"), p = pe("Tab.Panel"), u = se(null), D = Q(u, t);
|
|
192
|
+
le(() => p.registerPanel(u), [p, u]);
|
|
193
193
|
let R = Pe("panels"), y = A.indexOf(u);
|
|
194
194
|
y === -1 && (y = R);
|
|
195
|
-
let b = y === d, { isFocusVisible: F, focusProps: L } = ge(), g = C(() => ({ selected: b, focus: F }), [b, F]), _ = _e({ ref: D, id: f, role: "tabpanel", "aria-labelledby": (r = (n = x[y]) == null ? void 0 : n.current) == null ? void 0 : r.id, tabIndex: b ?
|
|
196
|
-
return !b && ((a = v.unmount) == null || a) && !((s = v.static) != null && s) ?
|
|
195
|
+
let b = y === d, { isFocusVisible: F, focusProps: L } = ge(), g = C(() => ({ selected: b, focus: F }), [b, F]), _ = _e({ ref: D, id: f, role: "tabpanel", "aria-labelledby": (r = (n = x[y]) == null ? void 0 : n.current) == null ? void 0 : r.id, tabIndex: b ? P : -1 }, L);
|
|
196
|
+
return !b && ((a = v.unmount) == null || a) && !((s = v.static) != null && s) ? V.createElement(Te, { "aria-hidden": "true", ..._ }) : X({ ourProps: _, theirProps: v, slot: g, defaultTag: st, features: lt, visible: b, name: "Tabs.Panel" });
|
|
197
197
|
}
|
|
198
|
-
let
|
|
199
|
-
const
|
|
200
|
-
container:
|
|
201
|
-
group:
|
|
198
|
+
let ot = Y(rt), we = Y(Xe), $e = Y(et), ye = Y(at), Ee = Y(it), ct = Object.assign(ot, { Group: we, List: $e, Panels: ye, Panel: Ee });
|
|
199
|
+
const ut = "_container_14t2i_2", dt = "_group_14t2i_6", ft = "_tab_14t2i_17", pt = "_list_14t2i_55", bt = "_tabs_14t2i_66", mt = "_buttons_14t2i_72", vt = "_m_14t2i_79", ht = "_s_14t2i_87", xt = "_detailed_14t2i_95", m = {
|
|
200
|
+
container: ut,
|
|
201
|
+
group: dt,
|
|
202
202
|
"group-inner": "_group-inner_14t2i_10",
|
|
203
|
-
tab:
|
|
204
|
-
list:
|
|
205
|
-
tabs:
|
|
206
|
-
buttons:
|
|
207
|
-
m:
|
|
208
|
-
s:
|
|
209
|
-
detailed:
|
|
203
|
+
tab: ft,
|
|
204
|
+
list: pt,
|
|
205
|
+
tabs: bt,
|
|
206
|
+
buttons: mt,
|
|
207
|
+
m: vt,
|
|
208
|
+
s: ht,
|
|
209
|
+
detailed: xt,
|
|
210
210
|
"tab-content": "_tab-content_14t2i_123",
|
|
211
211
|
"tab-value": "_tab-value_14t2i_131",
|
|
212
212
|
"tab-name": "_tab-name_14t2i_140",
|
|
213
213
|
"tab-header": "_tab-header_14t2i_149",
|
|
214
214
|
"tab-text": "_tab-text_14t2i_155",
|
|
215
215
|
"tab-icon": "_tab-icon_14t2i_162"
|
|
216
|
-
},
|
|
216
|
+
}, Dt = Fe(
|
|
217
217
|
({
|
|
218
218
|
categories: e,
|
|
219
|
-
size: t =
|
|
219
|
+
size: t = ke.M,
|
|
220
220
|
showButtons: n = !0,
|
|
221
221
|
className: r,
|
|
222
222
|
selectedTabIndex: a,
|
|
223
223
|
onTabChange: s,
|
|
224
|
-
buttonsVariant:
|
|
224
|
+
buttonsVariant: i = Re.WHITE,
|
|
225
225
|
autoShowButtons: f = !1,
|
|
226
|
-
tabClassName:
|
|
226
|
+
tabClassName: P,
|
|
227
227
|
listClassName: v,
|
|
228
228
|
panelClassName: d,
|
|
229
229
|
buttonsClassName: x,
|
|
@@ -239,7 +239,7 @@ const ct = "_container_14t2i_2", ut = "_group_14t2i_6", dt = "_tab_14t2i_17", ft
|
|
|
239
239
|
tabsClassName: g,
|
|
240
240
|
groupInnerClassName: _
|
|
241
241
|
}, O) => {
|
|
242
|
-
const [T, o] =
|
|
242
|
+
const [T, o] = ae(a || 0), [E, k] = ae(!1), M = se(null), ie = {
|
|
243
243
|
...A && { "--tab-indicator-color": A }
|
|
244
244
|
};
|
|
245
245
|
ue(() => {
|
|
@@ -247,16 +247,16 @@ const ct = "_container_14t2i_2", ut = "_group_14t2i_6", dt = "_tab_14t2i_17", ft
|
|
|
247
247
|
}, [T, a]);
|
|
248
248
|
const G = (c) => {
|
|
249
249
|
o(c), s == null || s(c);
|
|
250
|
-
},
|
|
250
|
+
}, oe = () => {
|
|
251
251
|
const c = (T + 1) % e.length;
|
|
252
252
|
G(c);
|
|
253
|
-
},
|
|
253
|
+
}, Z = () => {
|
|
254
254
|
const c = (T - 1 + e.length) % e.length;
|
|
255
255
|
G(c);
|
|
256
256
|
};
|
|
257
257
|
ue(() => {
|
|
258
|
-
var
|
|
259
|
-
const c = (
|
|
258
|
+
var w;
|
|
259
|
+
const c = (w = M.current) == null ? void 0 : w.querySelector(
|
|
260
260
|
`.${m.tab}[data-active="true"]`
|
|
261
261
|
);
|
|
262
262
|
c && typeof c.scrollIntoView == "function" && c.scrollIntoView({
|
|
@@ -267,18 +267,18 @@ const ct = "_container_14t2i_2", ut = "_group_14t2i_6", dt = "_tab_14t2i_17", ft
|
|
|
267
267
|
}, [T]), ue(() => {
|
|
268
268
|
const c = () => {
|
|
269
269
|
if (M.current) {
|
|
270
|
-
const { scrollWidth:
|
|
271
|
-
k(
|
|
270
|
+
const { scrollWidth: w, clientWidth: l } = M.current;
|
|
271
|
+
k(w > l);
|
|
272
272
|
}
|
|
273
273
|
};
|
|
274
274
|
return c(), window.addEventListener("resize", c), () => window.removeEventListener("resize", c);
|
|
275
275
|
}, [e]);
|
|
276
|
-
const
|
|
277
|
-
return /* @__PURE__ */
|
|
276
|
+
const ce = f ? E : n;
|
|
277
|
+
return /* @__PURE__ */ j(
|
|
278
278
|
we,
|
|
279
279
|
{
|
|
280
280
|
ref: O,
|
|
281
|
-
className:
|
|
281
|
+
className: I(
|
|
282
282
|
m.group,
|
|
283
283
|
m[t],
|
|
284
284
|
u === "detailed" && m.detailed,
|
|
@@ -286,49 +286,56 @@ const ct = "_container_14t2i_2", ut = "_group_14t2i_6", dt = "_tab_14t2i_17", ft
|
|
|
286
286
|
),
|
|
287
287
|
selectedIndex: T,
|
|
288
288
|
onChange: G,
|
|
289
|
-
style:
|
|
289
|
+
style: ie,
|
|
290
290
|
children: [
|
|
291
|
-
/* @__PURE__ */
|
|
291
|
+
/* @__PURE__ */ j("div", { className: I(m["group-inner"], _), children: [
|
|
292
292
|
/* @__PURE__ */ h(
|
|
293
293
|
$e,
|
|
294
294
|
{
|
|
295
295
|
ref: M,
|
|
296
|
-
className:
|
|
297
|
-
children: /* @__PURE__ */ h("div", { className:
|
|
298
|
-
({
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
296
|
+
className: I(m.list, v),
|
|
297
|
+
children: /* @__PURE__ */ h("div", { className: I(m.tabs, g), children: e.map(
|
|
298
|
+
({
|
|
299
|
+
name: c,
|
|
300
|
+
defaultActive: w,
|
|
301
|
+
notificationCount: l,
|
|
302
|
+
value: $,
|
|
303
|
+
valueColor: B,
|
|
304
|
+
borderColor: ee
|
|
305
|
+
}, U) => {
|
|
306
|
+
const te = p[U], Ne = u === "detailed" ? {
|
|
303
307
|
...B && {
|
|
304
|
-
"--detailed-
|
|
308
|
+
"--detailed-value-color": B
|
|
309
|
+
},
|
|
310
|
+
...ee && {
|
|
311
|
+
"--detailed-border-color": ee
|
|
305
312
|
}
|
|
306
313
|
} : void 0;
|
|
307
314
|
return /* @__PURE__ */ h(
|
|
308
|
-
|
|
315
|
+
ct,
|
|
309
316
|
{
|
|
310
|
-
className: `${m.tab} ${T ===
|
|
311
|
-
"data-active": T ===
|
|
312
|
-
style:
|
|
317
|
+
className: `${m.tab} ${w || T === U ? 'data-active="true"' : ""} ${P || ""}`,
|
|
318
|
+
"data-active": w || T === U,
|
|
319
|
+
style: Ne,
|
|
313
320
|
children: u === "detailed" ? /* @__PURE__ */ h(
|
|
314
321
|
"div",
|
|
315
322
|
{
|
|
316
|
-
className:
|
|
323
|
+
className: I(
|
|
317
324
|
m["tab-content"],
|
|
318
325
|
D
|
|
319
326
|
),
|
|
320
|
-
children: /* @__PURE__ */
|
|
327
|
+
children: /* @__PURE__ */ j(
|
|
321
328
|
"div",
|
|
322
329
|
{
|
|
323
|
-
className:
|
|
330
|
+
className: I(
|
|
324
331
|
m["tab-header"],
|
|
325
332
|
R
|
|
326
333
|
),
|
|
327
334
|
children: [
|
|
328
|
-
/* @__PURE__ */
|
|
335
|
+
/* @__PURE__ */ j(
|
|
329
336
|
"div",
|
|
330
337
|
{
|
|
331
|
-
className:
|
|
338
|
+
className: I(
|
|
332
339
|
m["tab-text"],
|
|
333
340
|
y
|
|
334
341
|
),
|
|
@@ -336,17 +343,17 @@ const ct = "_container_14t2i_2", ut = "_group_14t2i_6", dt = "_tab_14t2i_17", ft
|
|
|
336
343
|
/* @__PURE__ */ h(
|
|
337
344
|
"div",
|
|
338
345
|
{
|
|
339
|
-
className:
|
|
346
|
+
className: I(
|
|
340
347
|
m["tab-value"],
|
|
341
348
|
b
|
|
342
349
|
),
|
|
343
|
-
children:
|
|
350
|
+
children: $
|
|
344
351
|
}
|
|
345
352
|
),
|
|
346
353
|
/* @__PURE__ */ h(
|
|
347
354
|
"div",
|
|
348
355
|
{
|
|
349
|
-
className:
|
|
356
|
+
className: I(
|
|
350
357
|
m["tab-name"],
|
|
351
358
|
F
|
|
352
359
|
),
|
|
@@ -359,7 +366,7 @@ const ct = "_container_14t2i_2", ut = "_group_14t2i_6", dt = "_tab_14t2i_17", ft
|
|
|
359
366
|
/* @__PURE__ */ h(
|
|
360
367
|
"div",
|
|
361
368
|
{
|
|
362
|
-
className:
|
|
369
|
+
className: I(
|
|
363
370
|
m["tab-icon"],
|
|
364
371
|
L
|
|
365
372
|
),
|
|
@@ -370,13 +377,13 @@ const ct = "_container_14t2i_2", ut = "_group_14t2i_6", dt = "_tab_14t2i_17", ft
|
|
|
370
377
|
}
|
|
371
378
|
)
|
|
372
379
|
}
|
|
373
|
-
) : /* @__PURE__ */
|
|
374
|
-
|
|
380
|
+
) : /* @__PURE__ */ j(Se, { children: [
|
|
381
|
+
te && /* @__PURE__ */ h(be, { iconName: te }),
|
|
375
382
|
c,
|
|
376
|
-
|
|
377
|
-
|
|
383
|
+
l && /* @__PURE__ */ h(
|
|
384
|
+
Le,
|
|
378
385
|
{
|
|
379
|
-
count:
|
|
386
|
+
count: l,
|
|
380
387
|
size: "m"
|
|
381
388
|
}
|
|
382
389
|
)
|
|
@@ -388,20 +395,20 @@ const ct = "_container_14t2i_2", ut = "_group_14t2i_6", dt = "_tab_14t2i_17", ft
|
|
|
388
395
|
) })
|
|
389
396
|
}
|
|
390
397
|
),
|
|
391
|
-
|
|
392
|
-
|
|
398
|
+
ce && /* @__PURE__ */ h("div", { className: I(m.buttons, x), children: /* @__PURE__ */ h(
|
|
399
|
+
De,
|
|
393
400
|
{
|
|
394
|
-
handlePrevTab:
|
|
395
|
-
handleNextTab:
|
|
396
|
-
buttonsVariant:
|
|
401
|
+
handlePrevTab: Z,
|
|
402
|
+
handleNextTab: oe,
|
|
403
|
+
buttonsVariant: i
|
|
397
404
|
}
|
|
398
405
|
) })
|
|
399
406
|
] }),
|
|
400
|
-
/* @__PURE__ */ h(ye, { className: m.panels, children: e.map(({ name: c, content:
|
|
407
|
+
/* @__PURE__ */ h(ye, { className: m.panels, children: e.map(({ name: c, content: w }) => /* @__PURE__ */ h(
|
|
401
408
|
Ee,
|
|
402
409
|
{
|
|
403
|
-
className:
|
|
404
|
-
children:
|
|
410
|
+
className: I(m.panel, d),
|
|
411
|
+
children: w
|
|
405
412
|
},
|
|
406
413
|
c
|
|
407
414
|
)) })
|
|
@@ -411,5 +418,5 @@ const ct = "_container_14t2i_2", ut = "_group_14t2i_6", dt = "_tab_14t2i_17", ft
|
|
|
411
418
|
}
|
|
412
419
|
);
|
|
413
420
|
export {
|
|
414
|
-
|
|
421
|
+
Dt as TabTrail
|
|
415
422
|
};
|