@cgi-learning-hub/ui 1.2.0-dev.1725451328 → 1.2.0-dev.1725543340
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/Box-2ZrLOc7U.cjs +1 -0
- package/dist/{Box-CONPkck2.js → Box-BJvmuM0Y.js} +30 -32
- package/dist/Button-HyZp1VKI.js +359 -0
- package/dist/Button-NhaA68Of.cjs +1 -0
- package/dist/ButtonBase-CnINN-P4.cjs +75 -0
- package/dist/ButtonBase-cOL6Mpcp.js +827 -0
- package/dist/CircularProgress-01RZzfpF.cjs +28 -0
- package/dist/CircularProgress-DO4r9-x8.js +217 -0
- package/dist/DatePicker-GTtXZK-p.cjs +19 -0
- package/dist/{DatePicker-wZ1VHlXF.js → DatePicker-vhA6Fe5s.js} +4373 -4518
- package/dist/DefaultButton-BMmuKPgA.cjs +1 -0
- package/dist/DefaultButton-CKY6tuni.js +258 -0
- package/dist/IconButton-3v-0zgZW.cjs +2 -0
- package/dist/IconButton-BBfmzBP6.js +184 -0
- package/dist/InputAdornment-DHmtETz3.cjs +1 -0
- package/dist/{InputAdornment-7ED2C-w1.js → InputAdornment-zaw7AFWU.js} +65 -81
- package/dist/InputBase-BpGQgBej.cjs +3 -0
- package/dist/InputBase-COUxfhh1.js +794 -0
- package/dist/Stack-D9IYPfJ8.cjs +1 -0
- package/dist/{Stack-BzF_6-v5.js → Stack-Dlgk5t_M.js} +60 -62
- package/dist/Tabs-Blo-8Ro5.js +1091 -0
- package/dist/Tabs-D0e7cB4l.cjs +4 -0
- package/dist/TextField-8AuRLRIK.cjs +12 -0
- package/dist/{TextField-G9MOGCdw.js → TextField-DG1754qQ.js} +2408 -3033
- package/dist/{Tooltip-D_4ANHAc.js → Tooltip-C7ZUZylZ.js} +3421 -4697
- package/dist/Tooltip-CFVJXplM.cjs +95 -0
- package/dist/TransitionGroupContext-BkoHK5Kx.js +14 -0
- package/dist/TransitionGroupContext-mYDSzffd.cjs +1 -0
- package/dist/Typography-DjrvRhOr.js +178 -0
- package/dist/Typography-YHooSvuR.cjs +1 -0
- package/dist/client-error-BUtdld5f.cjs +1 -0
- package/dist/client-error-B_-qjgAB.js +395 -0
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +3 -3
- package/dist/components/DatePicker/DatePicker.stories.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.stories.es.js +3 -3
- package/dist/components/DatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +1 -1
- package/dist/components/DefaultButton/DefaultButton.cjs.js +1 -1
- package/dist/components/DefaultButton/DefaultButton.es.js +2 -2
- package/dist/components/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
- package/dist/components/DefaultButton/DefaultButtonIcon.es.js +67 -108
- package/dist/components/DefaultButton/index.cjs.js +1 -1
- package/dist/components/DefaultButton/index.es.js +1 -1
- package/dist/components/Dropzone/Dropzone.cjs.js +5 -5
- package/dist/components/Dropzone/Dropzone.es.js +8 -8
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -0
- package/dist/components/EmptyState/EmptyState.d.ts +13 -0
- package/dist/components/EmptyState/EmptyState.es.js +31 -0
- package/dist/components/EmptyState/EmptyState.stories.cjs.js +1 -0
- package/dist/components/EmptyState/EmptyState.stories.d.ts +5 -0
- package/dist/components/EmptyState/EmptyState.stories.es.js +17 -0
- package/dist/components/EmptyState/index.cjs.js +1 -0
- package/dist/components/EmptyState/index.d.ts +2 -0
- package/dist/components/EmptyState/index.es.js +4 -0
- package/dist/components/FileList/FileList.cjs.js +1 -1
- package/dist/components/FileList/FileList.es.js +1 -1
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.es.js +11 -10
- package/dist/components/IconButton.stories.cjs.js +1 -1
- package/dist/components/IconButton.stories.es.js +14 -13
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/PaperHeader/PaperHeader.cjs.js +1 -1
- package/dist/components/PaperHeader/PaperHeader.d.ts +1 -3
- package/dist/components/PaperHeader/PaperHeader.es.js +28 -26
- package/dist/components/PaperHeader/PaperHeader.stories.cjs.js +1 -1
- package/dist/components/PaperHeader/PaperHeader.stories.es.js +7 -7
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +5 -5
- package/dist/components/PrimaryButton/PrimaryButton.cjs.js +1 -1
- package/dist/components/PrimaryButton/PrimaryButton.es.js +1 -1
- package/dist/components/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
- package/dist/components/PrimaryButton/PrimaryButton.stories.es.js +1 -1
- package/dist/components/QueryError/QueryError.cjs.js +1 -1
- package/dist/components/QueryError/QueryError.es.js +38 -14
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/SecondaryButton/SecondaryButton.cjs.js +1 -1
- package/dist/components/SecondaryButton/SecondaryButton.es.js +1 -1
- package/dist/components/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
- package/dist/components/SecondaryButton/SecondaryButton.stories.es.js +1 -1
- package/dist/components/TabList.stories.cjs.js +1 -1
- package/dist/components/TabList.stories.es.js +87 -100
- package/dist/components/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/TextInput/TextInput.es.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +1 -2
- package/dist/components/index.es.js +237 -243
- package/dist/createStyled--XbpooZB.js +142 -0
- package/dist/createStyled-CuYz_ckk.cjs +1 -0
- package/dist/createSvgIcon-CUiH3cta.cjs +1 -0
- package/dist/createSvgIcon-D29Io9jD.js +183 -0
- package/dist/createSvgIcon-DTc4Xvfk.cjs +2 -0
- package/dist/createSvgIcon-DvOXtgXV.js +76 -0
- package/dist/error-CRNeivL7.js +5 -0
- package/dist/error-Dk3o6ber.cjs +1 -0
- package/dist/{fr-EMw1nUC-.cjs → fr-C4bcUC-9.cjs} +1 -1
- package/dist/{fr-D92L3a1M.js → fr-CXEmlY0d.js} +13 -13
- package/dist/hooks/lazySvgImport.cjs.js +1 -0
- package/dist/hooks/lazySvgImport.d.ts +7 -0
- package/dist/hooks/lazySvgImport.es.js +34 -0
- package/dist/identifier-CAQ9PWqs.js +3046 -0
- package/dist/identifier-CWIj084w.cjs +50 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +236 -242
- package/dist/isHostComponent-PydJW4A4.cjs +1 -0
- package/dist/isHostComponent-kiaBvYVo.js +6 -0
- package/dist/{ownerWindow-BoRkeomM.js → ownerWindow-C7EH1lr6.js} +2 -2
- package/dist/{refType-YgbJS0xl.cjs → refType-D1DDOFsy.cjs} +1 -1
- package/dist/{refType-BnS1d2D8.js → refType-DiVIFcsY.js} +1 -1
- package/dist/server-error-CeAtUo4S.cjs +1 -0
- package/dist/server-error-DMyaPFs8.js +400 -0
- package/dist/styled-Bt4oYVnF.cjs +17 -0
- package/dist/styled-Co-8YWfm.js +533 -0
- package/dist/useControlled-DKpcyPsg.cjs +3 -0
- package/dist/useControlled-DoRrpN8o.js +48 -0
- package/dist/useId-BW-oWmul.js +19 -0
- package/dist/useId-Cw0TtD-8.cjs +1 -0
- package/dist/useIsFocusVisible-Bv_7uvif.cjs +1 -0
- package/dist/useIsFocusVisible-DhASXQ4o.js +69 -0
- package/dist/{useTheme-DzMeSzHc.js → useTheme-1gSw-INq.js} +5 -5
- package/dist/useTheme-Dm6RnXrf.cjs +1 -0
- package/dist/useTheme-HJhneR9g.js +99 -0
- package/dist/useTheme-T2P7WhLG.cjs +1 -0
- package/dist/useThemeProps-BKIVQv3E.js +17 -0
- package/dist/useThemeProps-BfZ3lLQs.js +27 -0
- package/dist/useThemeProps-BpFUkYqe.cjs +1 -0
- package/dist/useThemeProps-Co5ylM0H.cjs +1 -0
- package/dist/useTimeout-BdvDipeg.js +47 -0
- package/dist/useTimeout-XUWYBnl6.cjs +1 -0
- package/package.json +15 -15
- package/dist/Box-BDMtAH2P.cjs +0 -1
- package/dist/Button-By3A0teb.js +0 -454
- package/dist/Button-CBAa7bmK.cjs +0 -1
- package/dist/ButtonBase-D0vqeM8I.js +0 -890
- package/dist/ButtonBase-DePtV_m6.cjs +0 -75
- package/dist/CircularProgress-BRnSv2J2.cjs +0 -28
- package/dist/CircularProgress-BrfcRJbv.js +0 -251
- package/dist/DatePicker-Cw1xQ3Sn.cjs +0 -19
- package/dist/DefaultButton-B1wjXZO7.cjs +0 -1
- package/dist/DefaultButton-dbnwLtyd.js +0 -351
- package/dist/DefaultPropsProvider-B6IbLm7M.cjs +0 -17
- package/dist/DefaultPropsProvider-QV6PDjPd.js +0 -468
- package/dist/IconButton-BiLAYORS.js +0 -239
- package/dist/IconButton-DE-QtB3Q.cjs +0 -2
- package/dist/InputAdornment-CJbpwt2R.cjs +0 -1
- package/dist/InputBase-LZPaeC-A.cjs +0 -3
- package/dist/InputBase-jbXydPMc.js +0 -802
- package/dist/Stack-D6Kv6y1D.cjs +0 -1
- package/dist/Tabs-CV_eM5RY.js +0 -1222
- package/dist/Tabs-DcqpjpXb.cjs +0 -4
- package/dist/TextField-DAxS82qf.cjs +0 -12
- package/dist/Tooltip-Ma-NowZd.cjs +0 -100
- package/dist/TransitionGroupContext-B5aSBz0G.js +0 -64
- package/dist/TransitionGroupContext-gQFtuZSh.cjs +0 -1
- package/dist/Typography-4kqbsc6q.js +0 -258
- package/dist/Typography-CNQVeQXr.cjs +0 -1
- package/dist/composeClasses-B_ETVugV.cjs +0 -1
- package/dist/composeClasses-zmPRtZOg.js +0 -16
- package/dist/createSvgIcon-B6bEgasO.js +0 -249
- package/dist/createSvgIcon-C92jLZ0q.cjs +0 -2
- package/dist/createSvgIcon-Cdsg9tFu.js +0 -88
- package/dist/createSvgIcon-CrOALbij.cjs +0 -1
- package/dist/extendSxProp-BpSXIdup.js +0 -37
- package/dist/extendSxProp-DVE8Tgj8.cjs +0 -1
- package/dist/identifier-7NboR24y.cjs +0 -59
- package/dist/identifier-Bsv46xiT.js +0 -2930
- package/dist/index-C9spydU3.js +0 -89
- package/dist/index-DHDspyh-.cjs +0 -1
- package/dist/useControlled-Bf7_InaL.cjs +0 -3
- package/dist/useControlled-D59BLg1S.js +0 -48
- package/dist/useEventCallback-BgMlqKLP.js +0 -14
- package/dist/useEventCallback-CrCf96iG.cjs +0 -1
- package/dist/useId-CyGZMA-F.js +0 -19
- package/dist/useId-D5Txt-1B.cjs +0 -1
- package/dist/useTheme-A9inJAFh.cjs +0 -1
- package/dist/useTheme-C0nMwKpp.js +0 -128
- package/dist/useTheme-Zq6D7sUp.cjs +0 -1
- package/dist/useThemeProps-YFPF1eJp.js +0 -40
- package/dist/useThemeProps-r2yCksSx.cjs +0 -1
- package/dist/vite-env.d.cjs.js +0 -1
- package/dist/vite-env.d.es.js +0 -1
|
@@ -0,0 +1,1091 @@
|
|
|
1
|
+
import { v as me, w as ve, q as Le, m as b, _ as ae, y as k, P as o } from "./identifier-CAQ9PWqs.js";
|
|
2
|
+
import * as u from "react";
|
|
3
|
+
import { s as _, u as Se, c as ye, b as st } from "./styled-Co-8YWfm.js";
|
|
4
|
+
import { jsxs as Q, jsx as C } from "react/jsx-runtime";
|
|
5
|
+
import { B as ke } from "./ButtonBase-cOL6Mpcp.js";
|
|
6
|
+
import { u as at } from "./unsupportedProp-BuVD30Gh.js";
|
|
7
|
+
import { a as Fe, b as se, u as it } from "./useTheme-HJhneR9g.js";
|
|
8
|
+
import { u as ct } from "./useForkRef-DwN_Iz9R.js";
|
|
9
|
+
import { a as $e, d as Ae, o as dt } from "./ownerWindow-C7EH1lr6.js";
|
|
10
|
+
import { u as be } from "./useTimeout-BdvDipeg.js";
|
|
11
|
+
import { r as ut } from "./refType-DiVIFcsY.js";
|
|
12
|
+
import { c as De } from "./createSvgIcon-D29Io9jD.js";
|
|
13
|
+
let X;
|
|
14
|
+
function je() {
|
|
15
|
+
if (X)
|
|
16
|
+
return X;
|
|
17
|
+
const e = document.createElement("div"), t = document.createElement("div");
|
|
18
|
+
return t.style.width = "10px", t.style.height = "1px", e.appendChild(t), e.dir = "rtl", e.style.fontSize = "14px", e.style.width = "4px", e.style.height = "1px", e.style.position = "absolute", e.style.top = "-1000px", e.style.overflow = "scroll", document.body.appendChild(e), X = "reverse", e.scrollLeft > 0 ? X = "default" : (e.scrollLeft = 1, e.scrollLeft === 0 && (X = "negative")), document.body.removeChild(e), X;
|
|
19
|
+
}
|
|
20
|
+
function pt(e, t) {
|
|
21
|
+
const n = e.scrollLeft;
|
|
22
|
+
if (t !== "rtl")
|
|
23
|
+
return n;
|
|
24
|
+
switch (je()) {
|
|
25
|
+
case "negative":
|
|
26
|
+
return e.scrollWidth - e.clientWidth + n;
|
|
27
|
+
case "reverse":
|
|
28
|
+
return e.scrollWidth - e.clientWidth - n;
|
|
29
|
+
default:
|
|
30
|
+
return n;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
function ft(e) {
|
|
34
|
+
return me("MuiTab", e);
|
|
35
|
+
}
|
|
36
|
+
const bt = ve("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper"]), L = bt, ht = ["className", "disabled", "disableFocusRipple", "fullWidth", "icon", "iconPosition", "indicator", "label", "onChange", "onClick", "onFocus", "selected", "selectionFollowsFocus", "textColor", "value", "wrapped"], mt = (e) => {
|
|
37
|
+
const {
|
|
38
|
+
classes: t,
|
|
39
|
+
textColor: n,
|
|
40
|
+
fullWidth: c,
|
|
41
|
+
wrapped: i,
|
|
42
|
+
icon: d,
|
|
43
|
+
label: m,
|
|
44
|
+
selected: h,
|
|
45
|
+
disabled: p
|
|
46
|
+
} = e, y = {
|
|
47
|
+
root: ["root", d && m && "labelIcon", `textColor${Le(n)}`, c && "fullWidth", i && "wrapped", h && "selected", p && "disabled"],
|
|
48
|
+
iconWrapper: ["iconWrapper"]
|
|
49
|
+
};
|
|
50
|
+
return ye(y, ft, t);
|
|
51
|
+
}, vt = _(ke, {
|
|
52
|
+
name: "MuiTab",
|
|
53
|
+
slot: "Root",
|
|
54
|
+
overridesResolver: (e, t) => {
|
|
55
|
+
const {
|
|
56
|
+
ownerState: n
|
|
57
|
+
} = e;
|
|
58
|
+
return [t.root, n.label && n.icon && t.labelIcon, t[`textColor${Le(n.textColor)}`], n.fullWidth && t.fullWidth, n.wrapped && t.wrapped, {
|
|
59
|
+
[`& .${L.iconWrapper}`]: t.iconWrapper
|
|
60
|
+
}];
|
|
61
|
+
}
|
|
62
|
+
})(({
|
|
63
|
+
theme: e,
|
|
64
|
+
ownerState: t
|
|
65
|
+
}) => b({}, e.typography.button, {
|
|
66
|
+
maxWidth: 360,
|
|
67
|
+
minWidth: 90,
|
|
68
|
+
position: "relative",
|
|
69
|
+
minHeight: 48,
|
|
70
|
+
flexShrink: 0,
|
|
71
|
+
padding: "12px 16px",
|
|
72
|
+
overflow: "hidden",
|
|
73
|
+
whiteSpace: "normal",
|
|
74
|
+
textAlign: "center"
|
|
75
|
+
}, t.label && {
|
|
76
|
+
flexDirection: t.iconPosition === "top" || t.iconPosition === "bottom" ? "column" : "row"
|
|
77
|
+
}, {
|
|
78
|
+
lineHeight: 1.25
|
|
79
|
+
}, t.icon && t.label && {
|
|
80
|
+
minHeight: 72,
|
|
81
|
+
paddingTop: 9,
|
|
82
|
+
paddingBottom: 9,
|
|
83
|
+
[`& > .${L.iconWrapper}`]: b({}, t.iconPosition === "top" && {
|
|
84
|
+
marginBottom: 6
|
|
85
|
+
}, t.iconPosition === "bottom" && {
|
|
86
|
+
marginTop: 6
|
|
87
|
+
}, t.iconPosition === "start" && {
|
|
88
|
+
marginRight: e.spacing(1)
|
|
89
|
+
}, t.iconPosition === "end" && {
|
|
90
|
+
marginLeft: e.spacing(1)
|
|
91
|
+
})
|
|
92
|
+
}, t.textColor === "inherit" && {
|
|
93
|
+
color: "inherit",
|
|
94
|
+
opacity: 0.6,
|
|
95
|
+
// same opacity as theme.palette.text.secondary
|
|
96
|
+
[`&.${L.selected}`]: {
|
|
97
|
+
opacity: 1
|
|
98
|
+
},
|
|
99
|
+
[`&.${L.disabled}`]: {
|
|
100
|
+
opacity: (e.vars || e).palette.action.disabledOpacity
|
|
101
|
+
}
|
|
102
|
+
}, t.textColor === "primary" && {
|
|
103
|
+
color: (e.vars || e).palette.text.secondary,
|
|
104
|
+
[`&.${L.selected}`]: {
|
|
105
|
+
color: (e.vars || e).palette.primary.main
|
|
106
|
+
},
|
|
107
|
+
[`&.${L.disabled}`]: {
|
|
108
|
+
color: (e.vars || e).palette.text.disabled
|
|
109
|
+
}
|
|
110
|
+
}, t.textColor === "secondary" && {
|
|
111
|
+
color: (e.vars || e).palette.text.secondary,
|
|
112
|
+
[`&.${L.selected}`]: {
|
|
113
|
+
color: (e.vars || e).palette.secondary.main
|
|
114
|
+
},
|
|
115
|
+
[`&.${L.disabled}`]: {
|
|
116
|
+
color: (e.vars || e).palette.text.disabled
|
|
117
|
+
}
|
|
118
|
+
}, t.fullWidth && {
|
|
119
|
+
flexShrink: 1,
|
|
120
|
+
flexGrow: 1,
|
|
121
|
+
flexBasis: 0,
|
|
122
|
+
maxWidth: "none"
|
|
123
|
+
}, t.wrapped && {
|
|
124
|
+
fontSize: e.typography.pxToRem(12)
|
|
125
|
+
})), _e = /* @__PURE__ */ u.forwardRef(function(t, n) {
|
|
126
|
+
const c = Se({
|
|
127
|
+
props: t,
|
|
128
|
+
name: "MuiTab"
|
|
129
|
+
}), {
|
|
130
|
+
className: i,
|
|
131
|
+
disabled: d = !1,
|
|
132
|
+
disableFocusRipple: m = !1,
|
|
133
|
+
// eslint-disable-next-line react/prop-types
|
|
134
|
+
fullWidth: h,
|
|
135
|
+
icon: p,
|
|
136
|
+
iconPosition: y = "top",
|
|
137
|
+
// eslint-disable-next-line react/prop-types
|
|
138
|
+
indicator: w,
|
|
139
|
+
label: T,
|
|
140
|
+
onChange: v,
|
|
141
|
+
onClick: I,
|
|
142
|
+
onFocus: F,
|
|
143
|
+
// eslint-disable-next-line react/prop-types
|
|
144
|
+
selected: E,
|
|
145
|
+
// eslint-disable-next-line react/prop-types
|
|
146
|
+
selectionFollowsFocus: g,
|
|
147
|
+
// eslint-disable-next-line react/prop-types
|
|
148
|
+
textColor: H = "inherit",
|
|
149
|
+
value: N,
|
|
150
|
+
wrapped: ie = !1
|
|
151
|
+
} = c, V = ae(c, ht), Y = b({}, c, {
|
|
152
|
+
disabled: d,
|
|
153
|
+
disableFocusRipple: m,
|
|
154
|
+
selected: E,
|
|
155
|
+
icon: !!p,
|
|
156
|
+
iconPosition: y,
|
|
157
|
+
label: !!T,
|
|
158
|
+
fullWidth: h,
|
|
159
|
+
textColor: H,
|
|
160
|
+
wrapped: ie
|
|
161
|
+
}), U = mt(Y), $ = p && T && /* @__PURE__ */ u.isValidElement(p) ? /* @__PURE__ */ u.cloneElement(p, {
|
|
162
|
+
className: k(U.iconWrapper, p.props.className)
|
|
163
|
+
}) : p, Z = (M) => {
|
|
164
|
+
!E && v && v(M, N), I && I(M);
|
|
165
|
+
}, P = (M) => {
|
|
166
|
+
g && !E && v && v(M, N), F && F(M);
|
|
167
|
+
};
|
|
168
|
+
return /* @__PURE__ */ Q(vt, b({
|
|
169
|
+
focusRipple: !m,
|
|
170
|
+
className: k(U.root, i),
|
|
171
|
+
ref: n,
|
|
172
|
+
role: "tab",
|
|
173
|
+
"aria-selected": E,
|
|
174
|
+
disabled: d,
|
|
175
|
+
onClick: Z,
|
|
176
|
+
onFocus: P,
|
|
177
|
+
ownerState: Y,
|
|
178
|
+
tabIndex: E ? 0 : -1
|
|
179
|
+
}, V, {
|
|
180
|
+
children: [y === "top" || y === "start" ? /* @__PURE__ */ Q(u.Fragment, {
|
|
181
|
+
children: [$, T]
|
|
182
|
+
}) : /* @__PURE__ */ Q(u.Fragment, {
|
|
183
|
+
children: [T, $]
|
|
184
|
+
}), w]
|
|
185
|
+
}));
|
|
186
|
+
});
|
|
187
|
+
process.env.NODE_ENV !== "production" && (_e.propTypes = {
|
|
188
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
189
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
190
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
191
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
192
|
+
/**
|
|
193
|
+
* This prop isn't supported.
|
|
194
|
+
* Use the `component` prop if you need to change the children structure.
|
|
195
|
+
*/
|
|
196
|
+
children: at,
|
|
197
|
+
/**
|
|
198
|
+
* Override or extend the styles applied to the component.
|
|
199
|
+
*/
|
|
200
|
+
classes: o.object,
|
|
201
|
+
/**
|
|
202
|
+
* @ignore
|
|
203
|
+
*/
|
|
204
|
+
className: o.string,
|
|
205
|
+
/**
|
|
206
|
+
* If `true`, the component is disabled.
|
|
207
|
+
* @default false
|
|
208
|
+
*/
|
|
209
|
+
disabled: o.bool,
|
|
210
|
+
/**
|
|
211
|
+
* If `true`, the keyboard focus ripple is disabled.
|
|
212
|
+
* @default false
|
|
213
|
+
*/
|
|
214
|
+
disableFocusRipple: o.bool,
|
|
215
|
+
/**
|
|
216
|
+
* If `true`, the ripple effect is disabled.
|
|
217
|
+
*
|
|
218
|
+
* ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
|
|
219
|
+
* to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
|
|
220
|
+
* @default false
|
|
221
|
+
*/
|
|
222
|
+
disableRipple: o.bool,
|
|
223
|
+
/**
|
|
224
|
+
* The icon to display.
|
|
225
|
+
*/
|
|
226
|
+
icon: o.oneOfType([o.element, o.string]),
|
|
227
|
+
/**
|
|
228
|
+
* The position of the icon relative to the label.
|
|
229
|
+
* @default 'top'
|
|
230
|
+
*/
|
|
231
|
+
iconPosition: o.oneOf(["bottom", "end", "start", "top"]),
|
|
232
|
+
/**
|
|
233
|
+
* The label element.
|
|
234
|
+
*/
|
|
235
|
+
label: o.node,
|
|
236
|
+
/**
|
|
237
|
+
* @ignore
|
|
238
|
+
*/
|
|
239
|
+
onChange: o.func,
|
|
240
|
+
/**
|
|
241
|
+
* @ignore
|
|
242
|
+
*/
|
|
243
|
+
onClick: o.func,
|
|
244
|
+
/**
|
|
245
|
+
* @ignore
|
|
246
|
+
*/
|
|
247
|
+
onFocus: o.func,
|
|
248
|
+
/**
|
|
249
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
250
|
+
*/
|
|
251
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
252
|
+
/**
|
|
253
|
+
* You can provide your own value. Otherwise, we fallback to the child position index.
|
|
254
|
+
*/
|
|
255
|
+
value: o.any,
|
|
256
|
+
/**
|
|
257
|
+
* Tab labels appear in a single row.
|
|
258
|
+
* They can use a second line if needed.
|
|
259
|
+
* @default false
|
|
260
|
+
*/
|
|
261
|
+
wrapped: o.bool
|
|
262
|
+
});
|
|
263
|
+
const qt = _e, St = De(/* @__PURE__ */ C("path", {
|
|
264
|
+
d: "M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
|
|
265
|
+
}), "KeyboardArrowLeft"), yt = De(/* @__PURE__ */ C("path", {
|
|
266
|
+
d: "M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
|
|
267
|
+
}), "KeyboardArrowRight");
|
|
268
|
+
function gt(e) {
|
|
269
|
+
return (1 + Math.sin(Math.PI * e - Math.PI / 2)) / 2;
|
|
270
|
+
}
|
|
271
|
+
function Tt(e, t, n, c = {}, i = () => {
|
|
272
|
+
}) {
|
|
273
|
+
const {
|
|
274
|
+
ease: d = gt,
|
|
275
|
+
duration: m = 300
|
|
276
|
+
// standard
|
|
277
|
+
} = c;
|
|
278
|
+
let h = null;
|
|
279
|
+
const p = t[e];
|
|
280
|
+
let y = !1;
|
|
281
|
+
const w = () => {
|
|
282
|
+
y = !0;
|
|
283
|
+
}, T = (v) => {
|
|
284
|
+
if (y) {
|
|
285
|
+
i(new Error("Animation cancelled"));
|
|
286
|
+
return;
|
|
287
|
+
}
|
|
288
|
+
h === null && (h = v);
|
|
289
|
+
const I = Math.min(1, (v - h) / m);
|
|
290
|
+
if (t[e] = d(I) * (n - p) + p, I >= 1) {
|
|
291
|
+
requestAnimationFrame(() => {
|
|
292
|
+
i(null);
|
|
293
|
+
});
|
|
294
|
+
return;
|
|
295
|
+
}
|
|
296
|
+
requestAnimationFrame(T);
|
|
297
|
+
};
|
|
298
|
+
return p === n ? (i(new Error("Element already at target position")), w) : (requestAnimationFrame(T), w);
|
|
299
|
+
}
|
|
300
|
+
const xt = ["onChange"], Bt = {
|
|
301
|
+
width: 99,
|
|
302
|
+
height: 99,
|
|
303
|
+
position: "absolute",
|
|
304
|
+
top: -9999,
|
|
305
|
+
overflow: "scroll"
|
|
306
|
+
};
|
|
307
|
+
function He(e) {
|
|
308
|
+
const {
|
|
309
|
+
onChange: t
|
|
310
|
+
} = e, n = ae(e, xt), c = u.useRef(), i = u.useRef(null), d = () => {
|
|
311
|
+
c.current = i.current.offsetHeight - i.current.clientHeight;
|
|
312
|
+
};
|
|
313
|
+
return ct(() => {
|
|
314
|
+
const m = Ae(() => {
|
|
315
|
+
const p = c.current;
|
|
316
|
+
d(), p !== c.current && t(c.current);
|
|
317
|
+
}), h = $e(i.current);
|
|
318
|
+
return h.addEventListener("resize", m), () => {
|
|
319
|
+
m.clear(), h.removeEventListener("resize", m);
|
|
320
|
+
};
|
|
321
|
+
}, [t]), u.useEffect(() => {
|
|
322
|
+
d(), t(c.current);
|
|
323
|
+
}, [t]), /* @__PURE__ */ C("div", b({
|
|
324
|
+
style: Bt,
|
|
325
|
+
ref: i
|
|
326
|
+
}, n));
|
|
327
|
+
}
|
|
328
|
+
process.env.NODE_ENV !== "production" && (He.propTypes = {
|
|
329
|
+
onChange: o.func.isRequired
|
|
330
|
+
});
|
|
331
|
+
function Ct(e) {
|
|
332
|
+
return me("MuiTabScrollButton", e);
|
|
333
|
+
}
|
|
334
|
+
const wt = ve("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled"]), It = ["className", "slots", "slotProps", "direction", "orientation", "disabled"], Et = (e) => {
|
|
335
|
+
const {
|
|
336
|
+
classes: t,
|
|
337
|
+
orientation: n,
|
|
338
|
+
disabled: c
|
|
339
|
+
} = e;
|
|
340
|
+
return ye({
|
|
341
|
+
root: ["root", n, c && "disabled"]
|
|
342
|
+
}, Ct, t);
|
|
343
|
+
}, Ot = _(ke, {
|
|
344
|
+
name: "MuiTabScrollButton",
|
|
345
|
+
slot: "Root",
|
|
346
|
+
overridesResolver: (e, t) => {
|
|
347
|
+
const {
|
|
348
|
+
ownerState: n
|
|
349
|
+
} = e;
|
|
350
|
+
return [t.root, n.orientation && t[n.orientation]];
|
|
351
|
+
}
|
|
352
|
+
})(({
|
|
353
|
+
ownerState: e
|
|
354
|
+
}) => b({
|
|
355
|
+
width: 40,
|
|
356
|
+
flexShrink: 0,
|
|
357
|
+
opacity: 0.8,
|
|
358
|
+
[`&.${wt.disabled}`]: {
|
|
359
|
+
opacity: 0
|
|
360
|
+
}
|
|
361
|
+
}, e.orientation === "vertical" && {
|
|
362
|
+
width: "100%",
|
|
363
|
+
height: 40,
|
|
364
|
+
"& svg": {
|
|
365
|
+
transform: `rotate(${e.isRtl ? -90 : 90}deg)`
|
|
366
|
+
}
|
|
367
|
+
})), Ve = /* @__PURE__ */ u.forwardRef(function(t, n) {
|
|
368
|
+
var c, i;
|
|
369
|
+
const d = Se({
|
|
370
|
+
props: t,
|
|
371
|
+
name: "MuiTabScrollButton"
|
|
372
|
+
}), {
|
|
373
|
+
className: m,
|
|
374
|
+
slots: h = {},
|
|
375
|
+
slotProps: p = {},
|
|
376
|
+
direction: y
|
|
377
|
+
} = d, w = ae(d, It), T = Fe(), v = b({
|
|
378
|
+
isRtl: T
|
|
379
|
+
}, d), I = Et(v), F = (c = h.StartScrollButtonIcon) != null ? c : St, E = (i = h.EndScrollButtonIcon) != null ? i : yt, g = se({
|
|
380
|
+
elementType: F,
|
|
381
|
+
externalSlotProps: p.startScrollButtonIcon,
|
|
382
|
+
additionalProps: {
|
|
383
|
+
fontSize: "small"
|
|
384
|
+
},
|
|
385
|
+
ownerState: v
|
|
386
|
+
}), H = se({
|
|
387
|
+
elementType: E,
|
|
388
|
+
externalSlotProps: p.endScrollButtonIcon,
|
|
389
|
+
additionalProps: {
|
|
390
|
+
fontSize: "small"
|
|
391
|
+
},
|
|
392
|
+
ownerState: v
|
|
393
|
+
});
|
|
394
|
+
return /* @__PURE__ */ C(Ot, b({
|
|
395
|
+
component: "div",
|
|
396
|
+
className: k(I.root, m),
|
|
397
|
+
ref: n,
|
|
398
|
+
role: null,
|
|
399
|
+
ownerState: v,
|
|
400
|
+
tabIndex: null
|
|
401
|
+
}, w, {
|
|
402
|
+
children: y === "left" ? /* @__PURE__ */ C(F, b({}, g)) : /* @__PURE__ */ C(E, b({}, H))
|
|
403
|
+
}));
|
|
404
|
+
});
|
|
405
|
+
process.env.NODE_ENV !== "production" && (Ve.propTypes = {
|
|
406
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
407
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
408
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
409
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
410
|
+
/**
|
|
411
|
+
* The content of the component.
|
|
412
|
+
*/
|
|
413
|
+
children: o.node,
|
|
414
|
+
/**
|
|
415
|
+
* Override or extend the styles applied to the component.
|
|
416
|
+
*/
|
|
417
|
+
classes: o.object,
|
|
418
|
+
/**
|
|
419
|
+
* @ignore
|
|
420
|
+
*/
|
|
421
|
+
className: o.string,
|
|
422
|
+
/**
|
|
423
|
+
* The direction the button should indicate.
|
|
424
|
+
*/
|
|
425
|
+
direction: o.oneOf(["left", "right"]).isRequired,
|
|
426
|
+
/**
|
|
427
|
+
* If `true`, the component is disabled.
|
|
428
|
+
* @default false
|
|
429
|
+
*/
|
|
430
|
+
disabled: o.bool,
|
|
431
|
+
/**
|
|
432
|
+
* The component orientation (layout flow direction).
|
|
433
|
+
*/
|
|
434
|
+
orientation: o.oneOf(["horizontal", "vertical"]).isRequired,
|
|
435
|
+
/**
|
|
436
|
+
* The extra props for the slot components.
|
|
437
|
+
* You can override the existing props or add new ones.
|
|
438
|
+
* @default {}
|
|
439
|
+
*/
|
|
440
|
+
slotProps: o.shape({
|
|
441
|
+
endScrollButtonIcon: o.oneOfType([o.func, o.object]),
|
|
442
|
+
startScrollButtonIcon: o.oneOfType([o.func, o.object])
|
|
443
|
+
}),
|
|
444
|
+
/**
|
|
445
|
+
* The components used for each slot inside.
|
|
446
|
+
* @default {}
|
|
447
|
+
*/
|
|
448
|
+
slots: o.shape({
|
|
449
|
+
EndScrollButtonIcon: o.elementType,
|
|
450
|
+
StartScrollButtonIcon: o.elementType
|
|
451
|
+
}),
|
|
452
|
+
/**
|
|
453
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
454
|
+
*/
|
|
455
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
|
|
456
|
+
});
|
|
457
|
+
function Nt(e) {
|
|
458
|
+
return me("MuiTabs", e);
|
|
459
|
+
}
|
|
460
|
+
const Mt = ve("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVertical", "centered", "scroller", "fixed", "scrollableX", "scrollableY", "hideScrollbar", "scrollButtons", "scrollButtonsHideMobile", "indicator"]), he = Mt, Rt = ["aria-label", "aria-labelledby", "action", "centered", "children", "className", "component", "allowScrollButtonsMobile", "indicatorColor", "onChange", "orientation", "ScrollButtonComponent", "scrollButtons", "selectionFollowsFocus", "slots", "slotProps", "TabIndicatorProps", "TabScrollButtonProps", "textColor", "value", "variant", "visibleScrollbar"], Re = (e, t) => e === t ? e.firstChild : t && t.nextElementSibling ? t.nextElementSibling : e.firstChild, Pe = (e, t) => e === t ? e.lastChild : t && t.previousElementSibling ? t.previousElementSibling : e.lastChild, ne = (e, t, n) => {
|
|
461
|
+
let c = !1, i = n(e, t);
|
|
462
|
+
for (; i; ) {
|
|
463
|
+
if (i === e.firstChild) {
|
|
464
|
+
if (c)
|
|
465
|
+
return;
|
|
466
|
+
c = !0;
|
|
467
|
+
}
|
|
468
|
+
const d = i.disabled || i.getAttribute("aria-disabled") === "true";
|
|
469
|
+
if (!i.hasAttribute("tabindex") || d)
|
|
470
|
+
i = n(e, i);
|
|
471
|
+
else {
|
|
472
|
+
i.focus();
|
|
473
|
+
return;
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
}, Pt = (e) => {
|
|
477
|
+
const {
|
|
478
|
+
vertical: t,
|
|
479
|
+
fixed: n,
|
|
480
|
+
hideScrollbar: c,
|
|
481
|
+
scrollableX: i,
|
|
482
|
+
scrollableY: d,
|
|
483
|
+
centered: m,
|
|
484
|
+
scrollButtonsHideMobile: h,
|
|
485
|
+
classes: p
|
|
486
|
+
} = e;
|
|
487
|
+
return ye({
|
|
488
|
+
root: ["root", t && "vertical"],
|
|
489
|
+
scroller: ["scroller", n && "fixed", c && "hideScrollbar", i && "scrollableX", d && "scrollableY"],
|
|
490
|
+
flexContainer: ["flexContainer", t && "flexContainerVertical", m && "centered"],
|
|
491
|
+
indicator: ["indicator"],
|
|
492
|
+
scrollButtons: ["scrollButtons", h && "scrollButtonsHideMobile"],
|
|
493
|
+
scrollableX: [i && "scrollableX"],
|
|
494
|
+
hideScrollbar: [c && "hideScrollbar"]
|
|
495
|
+
}, Nt, p);
|
|
496
|
+
}, Wt = _("div", {
|
|
497
|
+
name: "MuiTabs",
|
|
498
|
+
slot: "Root",
|
|
499
|
+
overridesResolver: (e, t) => {
|
|
500
|
+
const {
|
|
501
|
+
ownerState: n
|
|
502
|
+
} = e;
|
|
503
|
+
return [{
|
|
504
|
+
[`& .${he.scrollButtons}`]: t.scrollButtons
|
|
505
|
+
}, {
|
|
506
|
+
[`& .${he.scrollButtons}`]: n.scrollButtonsHideMobile && t.scrollButtonsHideMobile
|
|
507
|
+
}, t.root, n.vertical && t.vertical];
|
|
508
|
+
}
|
|
509
|
+
})(({
|
|
510
|
+
ownerState: e,
|
|
511
|
+
theme: t
|
|
512
|
+
}) => b({
|
|
513
|
+
overflow: "hidden",
|
|
514
|
+
minHeight: 48,
|
|
515
|
+
// Add iOS momentum scrolling for iOS < 13.0
|
|
516
|
+
WebkitOverflowScrolling: "touch",
|
|
517
|
+
display: "flex"
|
|
518
|
+
}, e.vertical && {
|
|
519
|
+
flexDirection: "column"
|
|
520
|
+
}, e.scrollButtonsHideMobile && {
|
|
521
|
+
[`& .${he.scrollButtons}`]: {
|
|
522
|
+
[t.breakpoints.down("sm")]: {
|
|
523
|
+
display: "none"
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
})), zt = _("div", {
|
|
527
|
+
name: "MuiTabs",
|
|
528
|
+
slot: "Scroller",
|
|
529
|
+
overridesResolver: (e, t) => {
|
|
530
|
+
const {
|
|
531
|
+
ownerState: n
|
|
532
|
+
} = e;
|
|
533
|
+
return [t.scroller, n.fixed && t.fixed, n.hideScrollbar && t.hideScrollbar, n.scrollableX && t.scrollableX, n.scrollableY && t.scrollableY];
|
|
534
|
+
}
|
|
535
|
+
})(({
|
|
536
|
+
ownerState: e
|
|
537
|
+
}) => b({
|
|
538
|
+
position: "relative",
|
|
539
|
+
display: "inline-block",
|
|
540
|
+
flex: "1 1 auto",
|
|
541
|
+
whiteSpace: "nowrap"
|
|
542
|
+
}, e.fixed && {
|
|
543
|
+
overflowX: "hidden",
|
|
544
|
+
width: "100%"
|
|
545
|
+
}, e.hideScrollbar && {
|
|
546
|
+
// Hide dimensionless scrollbar on macOS
|
|
547
|
+
scrollbarWidth: "none",
|
|
548
|
+
// Firefox
|
|
549
|
+
"&::-webkit-scrollbar": {
|
|
550
|
+
display: "none"
|
|
551
|
+
// Safari + Chrome
|
|
552
|
+
}
|
|
553
|
+
}, e.scrollableX && {
|
|
554
|
+
overflowX: "auto",
|
|
555
|
+
overflowY: "hidden"
|
|
556
|
+
}, e.scrollableY && {
|
|
557
|
+
overflowY: "auto",
|
|
558
|
+
overflowX: "hidden"
|
|
559
|
+
})), Lt = _("div", {
|
|
560
|
+
name: "MuiTabs",
|
|
561
|
+
slot: "FlexContainer",
|
|
562
|
+
overridesResolver: (e, t) => {
|
|
563
|
+
const {
|
|
564
|
+
ownerState: n
|
|
565
|
+
} = e;
|
|
566
|
+
return [t.flexContainer, n.vertical && t.flexContainerVertical, n.centered && t.centered];
|
|
567
|
+
}
|
|
568
|
+
})(({
|
|
569
|
+
ownerState: e
|
|
570
|
+
}) => b({
|
|
571
|
+
display: "flex"
|
|
572
|
+
}, e.vertical && {
|
|
573
|
+
flexDirection: "column"
|
|
574
|
+
}, e.centered && {
|
|
575
|
+
justifyContent: "center"
|
|
576
|
+
})), kt = _("span", {
|
|
577
|
+
name: "MuiTabs",
|
|
578
|
+
slot: "Indicator",
|
|
579
|
+
overridesResolver: (e, t) => t.indicator
|
|
580
|
+
})(({
|
|
581
|
+
ownerState: e,
|
|
582
|
+
theme: t
|
|
583
|
+
}) => b({
|
|
584
|
+
position: "absolute",
|
|
585
|
+
height: 2,
|
|
586
|
+
bottom: 0,
|
|
587
|
+
width: "100%",
|
|
588
|
+
transition: t.transitions.create()
|
|
589
|
+
}, e.indicatorColor === "primary" && {
|
|
590
|
+
backgroundColor: (t.vars || t).palette.primary.main
|
|
591
|
+
}, e.indicatorColor === "secondary" && {
|
|
592
|
+
backgroundColor: (t.vars || t).palette.secondary.main
|
|
593
|
+
}, e.vertical && {
|
|
594
|
+
height: "100%",
|
|
595
|
+
width: 2,
|
|
596
|
+
right: 0
|
|
597
|
+
})), Ft = _(He)({
|
|
598
|
+
overflowX: "auto",
|
|
599
|
+
overflowY: "hidden",
|
|
600
|
+
// Hide dimensionless scrollbar on macOS
|
|
601
|
+
scrollbarWidth: "none",
|
|
602
|
+
// Firefox
|
|
603
|
+
"&::-webkit-scrollbar": {
|
|
604
|
+
display: "none"
|
|
605
|
+
// Safari + Chrome
|
|
606
|
+
}
|
|
607
|
+
}), We = {};
|
|
608
|
+
let ze = !1;
|
|
609
|
+
const Ue = /* @__PURE__ */ u.forwardRef(function(t, n) {
|
|
610
|
+
const c = Se({
|
|
611
|
+
props: t,
|
|
612
|
+
name: "MuiTabs"
|
|
613
|
+
}), i = it(), d = Fe(), {
|
|
614
|
+
"aria-label": m,
|
|
615
|
+
"aria-labelledby": h,
|
|
616
|
+
action: p,
|
|
617
|
+
centered: y = !1,
|
|
618
|
+
children: w,
|
|
619
|
+
className: T,
|
|
620
|
+
component: v = "div",
|
|
621
|
+
allowScrollButtonsMobile: I = !1,
|
|
622
|
+
indicatorColor: F = "primary",
|
|
623
|
+
onChange: E,
|
|
624
|
+
orientation: g = "horizontal",
|
|
625
|
+
ScrollButtonComponent: H = Ve,
|
|
626
|
+
scrollButtons: N = "auto",
|
|
627
|
+
selectionFollowsFocus: ie,
|
|
628
|
+
slots: V = {},
|
|
629
|
+
slotProps: Y = {},
|
|
630
|
+
TabIndicatorProps: U = {},
|
|
631
|
+
TabScrollButtonProps: $ = {},
|
|
632
|
+
textColor: Z = "primary",
|
|
633
|
+
value: P,
|
|
634
|
+
variant: M = "standard",
|
|
635
|
+
visibleScrollbar: ce = !1
|
|
636
|
+
} = c, Xe = ae(c, Rt), x = M === "scrollable", B = g === "vertical", K = B ? "scrollTop" : "scrollLeft", ee = B ? "top" : "left", te = B ? "bottom" : "right", de = B ? "clientHeight" : "clientWidth", q = B ? "height" : "width", A = b({}, c, {
|
|
637
|
+
component: v,
|
|
638
|
+
allowScrollButtonsMobile: I,
|
|
639
|
+
indicatorColor: F,
|
|
640
|
+
orientation: g,
|
|
641
|
+
vertical: B,
|
|
642
|
+
scrollButtons: N,
|
|
643
|
+
textColor: Z,
|
|
644
|
+
variant: M,
|
|
645
|
+
visibleScrollbar: ce,
|
|
646
|
+
fixed: !x,
|
|
647
|
+
hideScrollbar: x && !ce,
|
|
648
|
+
scrollableX: x && !B,
|
|
649
|
+
scrollableY: x && B,
|
|
650
|
+
centered: y && !x,
|
|
651
|
+
scrollButtonsHideMobile: !I
|
|
652
|
+
}), W = Pt(A), Ye = se({
|
|
653
|
+
elementType: V.StartScrollButtonIcon,
|
|
654
|
+
externalSlotProps: Y.startScrollButtonIcon,
|
|
655
|
+
ownerState: A
|
|
656
|
+
}), Ke = se({
|
|
657
|
+
elementType: V.EndScrollButtonIcon,
|
|
658
|
+
externalSlotProps: Y.endScrollButtonIcon,
|
|
659
|
+
ownerState: A
|
|
660
|
+
});
|
|
661
|
+
process.env.NODE_ENV !== "production" && y && x && console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');
|
|
662
|
+
const [ge, qe] = u.useState(!1), [D, Te] = u.useState(We), [xe, Ge] = u.useState(!1), [Be, Je] = u.useState(!1), [Ce, Qe] = u.useState(!1), [we, Ze] = u.useState({
|
|
663
|
+
overflow: "hidden",
|
|
664
|
+
scrollbarWidth: 0
|
|
665
|
+
}), oe = /* @__PURE__ */ new Map(), R = u.useRef(null), j = u.useRef(null), Ie = () => {
|
|
666
|
+
const r = R.current;
|
|
667
|
+
let l;
|
|
668
|
+
if (r) {
|
|
669
|
+
const a = r.getBoundingClientRect();
|
|
670
|
+
l = {
|
|
671
|
+
clientWidth: r.clientWidth,
|
|
672
|
+
scrollLeft: r.scrollLeft,
|
|
673
|
+
scrollTop: r.scrollTop,
|
|
674
|
+
scrollLeftNormalized: pt(r, d ? "rtl" : "ltr"),
|
|
675
|
+
scrollWidth: r.scrollWidth,
|
|
676
|
+
top: a.top,
|
|
677
|
+
bottom: a.bottom,
|
|
678
|
+
left: a.left,
|
|
679
|
+
right: a.right
|
|
680
|
+
};
|
|
681
|
+
}
|
|
682
|
+
let s;
|
|
683
|
+
if (r && P !== !1) {
|
|
684
|
+
const a = j.current.children;
|
|
685
|
+
if (a.length > 0) {
|
|
686
|
+
const f = a[oe.get(P)];
|
|
687
|
+
process.env.NODE_ENV !== "production" && (f || console.error(["MUI: The `value` provided to the Tabs component is invalid.", `None of the Tabs' children match with "${P}".`, oe.keys ? `You can provide one of the following values: ${Array.from(oe.keys()).join(", ")}.` : null].join(`
|
|
688
|
+
`))), s = f ? f.getBoundingClientRect() : null, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && !ze && s && s.width === 0 && s.height === 0 && // if the whole Tabs component is hidden, don't warn
|
|
689
|
+
l.clientWidth !== 0 && (l = null, console.error(["MUI: The `value` provided to the Tabs component is invalid.", `The Tab with this \`value\` ("${P}") is not part of the document layout.`, "Make sure the tab item is present in the document or that it's not `display: none`."].join(`
|
|
690
|
+
`)), ze = !0);
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
return {
|
|
694
|
+
tabsMeta: l,
|
|
695
|
+
tabMeta: s
|
|
696
|
+
};
|
|
697
|
+
}, G = be(() => {
|
|
698
|
+
const {
|
|
699
|
+
tabsMeta: r,
|
|
700
|
+
tabMeta: l
|
|
701
|
+
} = Ie();
|
|
702
|
+
let s = 0, a;
|
|
703
|
+
if (B)
|
|
704
|
+
a = "top", l && r && (s = l.top - r.top + r.scrollTop);
|
|
705
|
+
else if (a = d ? "right" : "left", l && r) {
|
|
706
|
+
const S = d ? r.scrollLeftNormalized + r.clientWidth - r.scrollWidth : r.scrollLeft;
|
|
707
|
+
s = (d ? -1 : 1) * (l[a] - r[a] + S);
|
|
708
|
+
}
|
|
709
|
+
const f = {
|
|
710
|
+
[a]: s,
|
|
711
|
+
// May be wrong until the font is loaded.
|
|
712
|
+
[q]: l ? l[q] : 0
|
|
713
|
+
};
|
|
714
|
+
if (isNaN(D[a]) || isNaN(D[q]))
|
|
715
|
+
Te(f);
|
|
716
|
+
else {
|
|
717
|
+
const S = Math.abs(D[a] - f[a]), O = Math.abs(D[q] - f[q]);
|
|
718
|
+
(S >= 1 || O >= 1) && Te(f);
|
|
719
|
+
}
|
|
720
|
+
}), ue = (r, {
|
|
721
|
+
animation: l = !0
|
|
722
|
+
} = {}) => {
|
|
723
|
+
l ? Tt(K, R.current, r, {
|
|
724
|
+
duration: i.transitions.duration.standard
|
|
725
|
+
}) : R.current[K] = r;
|
|
726
|
+
}, Ee = (r) => {
|
|
727
|
+
let l = R.current[K];
|
|
728
|
+
B ? l += r : (l += r * (d ? -1 : 1), l *= d && je() === "reverse" ? -1 : 1), ue(l);
|
|
729
|
+
}, Oe = () => {
|
|
730
|
+
const r = R.current[de];
|
|
731
|
+
let l = 0;
|
|
732
|
+
const s = Array.from(j.current.children);
|
|
733
|
+
for (let a = 0; a < s.length; a += 1) {
|
|
734
|
+
const f = s[a];
|
|
735
|
+
if (l + f[de] > r) {
|
|
736
|
+
a === 0 && (l = r);
|
|
737
|
+
break;
|
|
738
|
+
}
|
|
739
|
+
l += f[de];
|
|
740
|
+
}
|
|
741
|
+
return l;
|
|
742
|
+
}, et = () => {
|
|
743
|
+
Ee(-1 * Oe());
|
|
744
|
+
}, tt = () => {
|
|
745
|
+
Ee(Oe());
|
|
746
|
+
}, ot = u.useCallback((r) => {
|
|
747
|
+
Ze({
|
|
748
|
+
overflow: null,
|
|
749
|
+
scrollbarWidth: r
|
|
750
|
+
});
|
|
751
|
+
}, []), rt = () => {
|
|
752
|
+
const r = {};
|
|
753
|
+
r.scrollbarSizeListener = x ? /* @__PURE__ */ C(Ft, {
|
|
754
|
+
onChange: ot,
|
|
755
|
+
className: k(W.scrollableX, W.hideScrollbar)
|
|
756
|
+
}) : null;
|
|
757
|
+
const s = x && (N === "auto" && (xe || Be) || N === !0);
|
|
758
|
+
return r.scrollButtonStart = s ? /* @__PURE__ */ C(H, b({
|
|
759
|
+
slots: {
|
|
760
|
+
StartScrollButtonIcon: V.StartScrollButtonIcon
|
|
761
|
+
},
|
|
762
|
+
slotProps: {
|
|
763
|
+
startScrollButtonIcon: Ye
|
|
764
|
+
},
|
|
765
|
+
orientation: g,
|
|
766
|
+
direction: d ? "right" : "left",
|
|
767
|
+
onClick: et,
|
|
768
|
+
disabled: !xe
|
|
769
|
+
}, $, {
|
|
770
|
+
className: k(W.scrollButtons, $.className)
|
|
771
|
+
})) : null, r.scrollButtonEnd = s ? /* @__PURE__ */ C(H, b({
|
|
772
|
+
slots: {
|
|
773
|
+
EndScrollButtonIcon: V.EndScrollButtonIcon
|
|
774
|
+
},
|
|
775
|
+
slotProps: {
|
|
776
|
+
endScrollButtonIcon: Ke
|
|
777
|
+
},
|
|
778
|
+
orientation: g,
|
|
779
|
+
direction: d ? "left" : "right",
|
|
780
|
+
onClick: tt,
|
|
781
|
+
disabled: !Be
|
|
782
|
+
}, $, {
|
|
783
|
+
className: k(W.scrollButtons, $.className)
|
|
784
|
+
})) : null, r;
|
|
785
|
+
}, Ne = be((r) => {
|
|
786
|
+
const {
|
|
787
|
+
tabsMeta: l,
|
|
788
|
+
tabMeta: s
|
|
789
|
+
} = Ie();
|
|
790
|
+
if (!(!s || !l)) {
|
|
791
|
+
if (s[ee] < l[ee]) {
|
|
792
|
+
const a = l[K] + (s[ee] - l[ee]);
|
|
793
|
+
ue(a, {
|
|
794
|
+
animation: r
|
|
795
|
+
});
|
|
796
|
+
} else if (s[te] > l[te]) {
|
|
797
|
+
const a = l[K] + (s[te] - l[te]);
|
|
798
|
+
ue(a, {
|
|
799
|
+
animation: r
|
|
800
|
+
});
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
}), re = be(() => {
|
|
804
|
+
x && N !== !1 && Qe(!Ce);
|
|
805
|
+
});
|
|
806
|
+
u.useEffect(() => {
|
|
807
|
+
const r = Ae(() => {
|
|
808
|
+
R.current && G();
|
|
809
|
+
});
|
|
810
|
+
let l;
|
|
811
|
+
const s = (S) => {
|
|
812
|
+
S.forEach((O) => {
|
|
813
|
+
O.removedNodes.forEach((J) => {
|
|
814
|
+
var z;
|
|
815
|
+
(z = l) == null || z.unobserve(J);
|
|
816
|
+
}), O.addedNodes.forEach((J) => {
|
|
817
|
+
var z;
|
|
818
|
+
(z = l) == null || z.observe(J);
|
|
819
|
+
});
|
|
820
|
+
}), r(), re();
|
|
821
|
+
}, a = $e(R.current);
|
|
822
|
+
a.addEventListener("resize", r);
|
|
823
|
+
let f;
|
|
824
|
+
return typeof ResizeObserver < "u" && (l = new ResizeObserver(r), Array.from(j.current.children).forEach((S) => {
|
|
825
|
+
l.observe(S);
|
|
826
|
+
})), typeof MutationObserver < "u" && (f = new MutationObserver(s), f.observe(j.current, {
|
|
827
|
+
childList: !0
|
|
828
|
+
})), () => {
|
|
829
|
+
var S, O;
|
|
830
|
+
r.clear(), a.removeEventListener("resize", r), (S = f) == null || S.disconnect(), (O = l) == null || O.disconnect();
|
|
831
|
+
};
|
|
832
|
+
}, [G, re]), u.useEffect(() => {
|
|
833
|
+
const r = Array.from(j.current.children), l = r.length;
|
|
834
|
+
if (typeof IntersectionObserver < "u" && l > 0 && x && N !== !1) {
|
|
835
|
+
const s = r[0], a = r[l - 1], f = {
|
|
836
|
+
root: R.current,
|
|
837
|
+
threshold: 0.99
|
|
838
|
+
}, S = (fe) => {
|
|
839
|
+
Ge(!fe[0].isIntersecting);
|
|
840
|
+
}, O = new IntersectionObserver(S, f);
|
|
841
|
+
O.observe(s);
|
|
842
|
+
const J = (fe) => {
|
|
843
|
+
Je(!fe[0].isIntersecting);
|
|
844
|
+
}, z = new IntersectionObserver(J, f);
|
|
845
|
+
return z.observe(a), () => {
|
|
846
|
+
O.disconnect(), z.disconnect();
|
|
847
|
+
};
|
|
848
|
+
}
|
|
849
|
+
}, [x, N, Ce, w == null ? void 0 : w.length]), u.useEffect(() => {
|
|
850
|
+
qe(!0);
|
|
851
|
+
}, []), u.useEffect(() => {
|
|
852
|
+
G();
|
|
853
|
+
}), u.useEffect(() => {
|
|
854
|
+
Ne(We !== D);
|
|
855
|
+
}, [Ne, D]), u.useImperativeHandle(p, () => ({
|
|
856
|
+
updateIndicator: G,
|
|
857
|
+
updateScrollButtons: re
|
|
858
|
+
}), [G, re]);
|
|
859
|
+
const Me = /* @__PURE__ */ C(kt, b({}, U, {
|
|
860
|
+
className: k(W.indicator, U.className),
|
|
861
|
+
ownerState: A,
|
|
862
|
+
style: b({}, D, U.style)
|
|
863
|
+
}));
|
|
864
|
+
let le = 0;
|
|
865
|
+
const lt = u.Children.map(w, (r) => {
|
|
866
|
+
if (!/* @__PURE__ */ u.isValidElement(r))
|
|
867
|
+
return null;
|
|
868
|
+
process.env.NODE_ENV !== "production" && st.isFragment(r) && console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
869
|
+
`));
|
|
870
|
+
const l = r.props.value === void 0 ? le : r.props.value;
|
|
871
|
+
oe.set(l, le);
|
|
872
|
+
const s = l === P;
|
|
873
|
+
return le += 1, /* @__PURE__ */ u.cloneElement(r, b({
|
|
874
|
+
fullWidth: M === "fullWidth",
|
|
875
|
+
indicator: s && !ge && Me,
|
|
876
|
+
selected: s,
|
|
877
|
+
selectionFollowsFocus: ie,
|
|
878
|
+
onChange: E,
|
|
879
|
+
textColor: Z,
|
|
880
|
+
value: l
|
|
881
|
+
}, le === 1 && P === !1 && !r.props.tabIndex ? {
|
|
882
|
+
tabIndex: 0
|
|
883
|
+
} : {}));
|
|
884
|
+
}), nt = (r) => {
|
|
885
|
+
const l = j.current, s = dt(l).activeElement;
|
|
886
|
+
if (s.getAttribute("role") !== "tab")
|
|
887
|
+
return;
|
|
888
|
+
let f = g === "horizontal" ? "ArrowLeft" : "ArrowUp", S = g === "horizontal" ? "ArrowRight" : "ArrowDown";
|
|
889
|
+
switch (g === "horizontal" && d && (f = "ArrowRight", S = "ArrowLeft"), r.key) {
|
|
890
|
+
case f:
|
|
891
|
+
r.preventDefault(), ne(l, s, Pe);
|
|
892
|
+
break;
|
|
893
|
+
case S:
|
|
894
|
+
r.preventDefault(), ne(l, s, Re);
|
|
895
|
+
break;
|
|
896
|
+
case "Home":
|
|
897
|
+
r.preventDefault(), ne(l, null, Re);
|
|
898
|
+
break;
|
|
899
|
+
case "End":
|
|
900
|
+
r.preventDefault(), ne(l, null, Pe);
|
|
901
|
+
break;
|
|
902
|
+
}
|
|
903
|
+
}, pe = rt();
|
|
904
|
+
return /* @__PURE__ */ Q(Wt, b({
|
|
905
|
+
className: k(W.root, T),
|
|
906
|
+
ownerState: A,
|
|
907
|
+
ref: n,
|
|
908
|
+
as: v
|
|
909
|
+
}, Xe, {
|
|
910
|
+
children: [pe.scrollButtonStart, pe.scrollbarSizeListener, /* @__PURE__ */ Q(zt, {
|
|
911
|
+
className: W.scroller,
|
|
912
|
+
ownerState: A,
|
|
913
|
+
style: {
|
|
914
|
+
overflow: we.overflow,
|
|
915
|
+
[B ? `margin${d ? "Left" : "Right"}` : "marginBottom"]: ce ? void 0 : -we.scrollbarWidth
|
|
916
|
+
},
|
|
917
|
+
ref: R,
|
|
918
|
+
children: [/* @__PURE__ */ C(Lt, {
|
|
919
|
+
"aria-label": m,
|
|
920
|
+
"aria-labelledby": h,
|
|
921
|
+
"aria-orientation": g === "vertical" ? "vertical" : null,
|
|
922
|
+
className: W.flexContainer,
|
|
923
|
+
ownerState: A,
|
|
924
|
+
onKeyDown: nt,
|
|
925
|
+
ref: j,
|
|
926
|
+
role: "tablist",
|
|
927
|
+
children: lt
|
|
928
|
+
}), ge && Me]
|
|
929
|
+
}), pe.scrollButtonEnd]
|
|
930
|
+
}));
|
|
931
|
+
});
|
|
932
|
+
process.env.NODE_ENV !== "production" && (Ue.propTypes = {
|
|
933
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
934
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
935
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
936
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
937
|
+
/**
|
|
938
|
+
* Callback fired when the component mounts.
|
|
939
|
+
* This is useful when you want to trigger an action programmatically.
|
|
940
|
+
* It supports two actions: `updateIndicator()` and `updateScrollButtons()`
|
|
941
|
+
*
|
|
942
|
+
* @param {object} actions This object contains all possible actions
|
|
943
|
+
* that can be triggered programmatically.
|
|
944
|
+
*/
|
|
945
|
+
action: ut,
|
|
946
|
+
/**
|
|
947
|
+
* If `true`, the scroll buttons aren't forced hidden on mobile.
|
|
948
|
+
* By default the scroll buttons are hidden on mobile and takes precedence over `scrollButtons`.
|
|
949
|
+
* @default false
|
|
950
|
+
*/
|
|
951
|
+
allowScrollButtonsMobile: o.bool,
|
|
952
|
+
/**
|
|
953
|
+
* The label for the Tabs as a string.
|
|
954
|
+
*/
|
|
955
|
+
"aria-label": o.string,
|
|
956
|
+
/**
|
|
957
|
+
* An id or list of ids separated by a space that label the Tabs.
|
|
958
|
+
*/
|
|
959
|
+
"aria-labelledby": o.string,
|
|
960
|
+
/**
|
|
961
|
+
* If `true`, the tabs are centered.
|
|
962
|
+
* This prop is intended for large views.
|
|
963
|
+
* @default false
|
|
964
|
+
*/
|
|
965
|
+
centered: o.bool,
|
|
966
|
+
/**
|
|
967
|
+
* The content of the component.
|
|
968
|
+
*/
|
|
969
|
+
children: o.node,
|
|
970
|
+
/**
|
|
971
|
+
* Override or extend the styles applied to the component.
|
|
972
|
+
*/
|
|
973
|
+
classes: o.object,
|
|
974
|
+
/**
|
|
975
|
+
* @ignore
|
|
976
|
+
*/
|
|
977
|
+
className: o.string,
|
|
978
|
+
/**
|
|
979
|
+
* The component used for the root node.
|
|
980
|
+
* Either a string to use a HTML element or a component.
|
|
981
|
+
*/
|
|
982
|
+
component: o.elementType,
|
|
983
|
+
/**
|
|
984
|
+
* Determines the color of the indicator.
|
|
985
|
+
* @default 'primary'
|
|
986
|
+
*/
|
|
987
|
+
indicatorColor: o.oneOfType([o.oneOf(["primary", "secondary"]), o.string]),
|
|
988
|
+
/**
|
|
989
|
+
* Callback fired when the value changes.
|
|
990
|
+
*
|
|
991
|
+
* @param {React.SyntheticEvent} event The event source of the callback. **Warning**: This is a generic event not a change event.
|
|
992
|
+
* @param {any} value We default to the index of the child (number)
|
|
993
|
+
*/
|
|
994
|
+
onChange: o.func,
|
|
995
|
+
/**
|
|
996
|
+
* The component orientation (layout flow direction).
|
|
997
|
+
* @default 'horizontal'
|
|
998
|
+
*/
|
|
999
|
+
orientation: o.oneOf(["horizontal", "vertical"]),
|
|
1000
|
+
/**
|
|
1001
|
+
* The component used to render the scroll buttons.
|
|
1002
|
+
* @default TabScrollButton
|
|
1003
|
+
*/
|
|
1004
|
+
ScrollButtonComponent: o.elementType,
|
|
1005
|
+
/**
|
|
1006
|
+
* Determine behavior of scroll buttons when tabs are set to scroll:
|
|
1007
|
+
*
|
|
1008
|
+
* - `auto` will only present them when not all the items are visible.
|
|
1009
|
+
* - `true` will always present them.
|
|
1010
|
+
* - `false` will never present them.
|
|
1011
|
+
*
|
|
1012
|
+
* By default the scroll buttons are hidden on mobile.
|
|
1013
|
+
* This behavior can be disabled with `allowScrollButtonsMobile`.
|
|
1014
|
+
* @default 'auto'
|
|
1015
|
+
*/
|
|
1016
|
+
scrollButtons: o.oneOf(["auto", !1, !0]),
|
|
1017
|
+
/**
|
|
1018
|
+
* If `true` the selected tab changes on focus. Otherwise it only
|
|
1019
|
+
* changes on activation.
|
|
1020
|
+
*/
|
|
1021
|
+
selectionFollowsFocus: o.bool,
|
|
1022
|
+
/**
|
|
1023
|
+
* The extra props for the slot components.
|
|
1024
|
+
* You can override the existing props or add new ones.
|
|
1025
|
+
* @default {}
|
|
1026
|
+
*/
|
|
1027
|
+
slotProps: o.shape({
|
|
1028
|
+
endScrollButtonIcon: o.oneOfType([o.func, o.object]),
|
|
1029
|
+
startScrollButtonIcon: o.oneOfType([o.func, o.object])
|
|
1030
|
+
}),
|
|
1031
|
+
/**
|
|
1032
|
+
* The components used for each slot inside.
|
|
1033
|
+
* @default {}
|
|
1034
|
+
*/
|
|
1035
|
+
slots: o.shape({
|
|
1036
|
+
EndScrollButtonIcon: o.elementType,
|
|
1037
|
+
StartScrollButtonIcon: o.elementType
|
|
1038
|
+
}),
|
|
1039
|
+
/**
|
|
1040
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
1041
|
+
*/
|
|
1042
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
1043
|
+
/**
|
|
1044
|
+
* Props applied to the tab indicator element.
|
|
1045
|
+
* @default {}
|
|
1046
|
+
*/
|
|
1047
|
+
TabIndicatorProps: o.object,
|
|
1048
|
+
/**
|
|
1049
|
+
* Props applied to the [`TabScrollButton`](/material-ui/api/tab-scroll-button/) element.
|
|
1050
|
+
* @default {}
|
|
1051
|
+
*/
|
|
1052
|
+
TabScrollButtonProps: o.object,
|
|
1053
|
+
/**
|
|
1054
|
+
* Determines the color of the `Tab`.
|
|
1055
|
+
* @default 'primary'
|
|
1056
|
+
*/
|
|
1057
|
+
textColor: o.oneOf(["inherit", "primary", "secondary"]),
|
|
1058
|
+
/**
|
|
1059
|
+
* The value of the currently selected `Tab`.
|
|
1060
|
+
* If you don't want any selected `Tab`, you can set this prop to `false`.
|
|
1061
|
+
*/
|
|
1062
|
+
value: o.any,
|
|
1063
|
+
/**
|
|
1064
|
+
* Determines additional display behavior of the tabs:
|
|
1065
|
+
*
|
|
1066
|
+
* - `scrollable` will invoke scrolling properties and allow for horizontally
|
|
1067
|
+
* scrolling (or swiping) of the tab bar.
|
|
1068
|
+
* - `fullWidth` will make the tabs grow to use all the available space,
|
|
1069
|
+
* which should be used for small views, like on mobile.
|
|
1070
|
+
* - `standard` will render the default state.
|
|
1071
|
+
* @default 'standard'
|
|
1072
|
+
*/
|
|
1073
|
+
variant: o.oneOf(["fullWidth", "scrollable", "standard"]),
|
|
1074
|
+
/**
|
|
1075
|
+
* If `true`, the scrollbar is visible. It can be useful when displaying
|
|
1076
|
+
* a long vertical list of tabs.
|
|
1077
|
+
* @default false
|
|
1078
|
+
*/
|
|
1079
|
+
visibleScrollbar: o.bool
|
|
1080
|
+
});
|
|
1081
|
+
const Gt = Ue;
|
|
1082
|
+
export {
|
|
1083
|
+
yt as K,
|
|
1084
|
+
qt as T,
|
|
1085
|
+
Gt as a,
|
|
1086
|
+
he as b,
|
|
1087
|
+
Nt as c,
|
|
1088
|
+
St as d,
|
|
1089
|
+
ft as g,
|
|
1090
|
+
L as t
|
|
1091
|
+
};
|