@hybridcore/ui 1.3.4 → 1.3.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/{ButtonBase-DJz-TFGO.js → ButtonBase-D6qhsxB0.js} +7 -8
- package/dist/{CardContent-DZnCVGy9.js → CardContent-B8hqgH-I.js} +3 -3
- package/dist/{Checkbox-DzmWBCrt.js → Checkbox-BFWhj3s-.js} +6 -6
- package/dist/{Collapse-NqW0GIK_.js → Collapse-D_TjnyE5.js} +74 -67
- package/dist/DialogContent-BCYm_d1s.js +864 -0
- package/dist/{FormControl-aXQs42m6.js → FormControl-BMRUQKHh.js} +55 -55
- package/dist/{FormControlLabel-hDa-xf_q.js → FormControlLabel-DENNVXWL.js} +9 -9
- package/dist/{IconButton-SnBOFQ43.js → IconButton-D8bwME9t.js} +4 -4
- package/dist/{Input-CeVb6kjv.js → Input-Dxzguyp5.js} +5 -5
- package/dist/{InputAdornment-fM3loNyx.js → InputAdornment-B8ERE7Zv.js} +4 -4
- package/dist/{List-DLIiXc6r.js → List-DEWyK9IO.js} +5 -5
- package/dist/{MenuItem-BEW28T9O.js → MenuItem-DstAFfik.js} +12 -12
- package/dist/Modal-DNGEQJ1M.js +1267 -0
- package/dist/{OutlinedInput-DkzLHRTd.js → OutlinedInput-w2Cj9STF.js} +5 -5
- package/dist/{Paper-Dp3qO0cK.js → Paper-BseeergJ.js} +8 -8
- package/dist/{Select-Cdmu0dQ4.js → Select-NDq3WyLt.js} +51 -51
- package/dist/{Typography-CXe5ytr0.js → Typography-Dg-ROiTA.js} +3 -3
- package/dist/components/card/index.js +5 -5
- package/dist/components/card/styled.js +1 -1
- package/dist/components/collapsible-card/style.js +26 -26
- package/dist/components/confirm/dialog.js +5 -5
- package/dist/components/container/index.js +6 -6
- package/dist/components/context-menu/index.js +604 -191
- package/dist/components/data-management/instance-form/components/composite-list/index.js +1 -1
- package/dist/components/data-management/instance-form/components/variable/index.js +6 -6
- package/dist/components/data-management/instance-form/components/variables/index.js +1 -1
- package/dist/components/geometry-picker/index.js +3 -3
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/map/styled.js +1 -1
- package/dist/components/search-input/index.js +4 -4
- package/dist/components/template-property-filters/index.js +1 -1
- package/dist/components/template-property-filters/property.js +209 -10
- package/dist/components/tree-select/index.js +4 -4
- package/dist/components/treeview-filter/index.js +8 -8
- package/dist/components/treeview-filter/item/index.js +1 -1
- package/dist/components/treeview-filter/item-label/index.js +2 -2
- package/dist/{createStyled-liRRhQcN.js → createStyled-B96gjom1.js} +461 -484
- package/dist/createSvgIcon-B2WT0K4k.js +87 -0
- package/dist/{createSvgIcon-Cl8kMTkx.js → createSvgIcon-BNrb7rDY.js} +3 -3
- package/dist/{exactProp-CT2wqJXE.js → exactProp-CI_rjX83.js} +2 -2
- package/dist/{index-D9TdkXAs.js → index-B3Oj04nl.js} +5 -5
- package/dist/{index-DRy8nExS.js → index-CSfSVkKj.js} +5 -6
- package/dist/{listItemTextClasses-BrCbmCR1.js → listItemTextClasses-CFiI_U7B.js} +2 -2
- package/dist/main.js +150 -144
- package/dist/{styled-Dm8rXzIG.js → styled-cPJbqF0E.js} +24 -24
- package/dist/{useTheme-CTuK-wFF.js → useTheme-C-T6Qisa.js} +2 -2
- package/dist/{useThemeProps-BXn-nVhw.js → useThemeProps-DeftUmqJ.js} +14 -14
- package/dist/{utils-DY9Jk4Ah.js → utils-CCkxV0lZ.js} +15 -15
- package/package.json +1 -1
- package/dist/DialogContent-D51w7KVX.js +0 -2119
- package/dist/ListItem-BkxmqFI8.js +0 -428
- package/dist/createSvgIcon-B4TFefhd.js +0 -73
- package/dist/property-BsU8ijQF.js +0 -6857
- package/dist/requirePropFactory-BItwGLRQ.js +0 -18
- package/dist/unsupportedProp-BuVD30Gh.js +0 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as m, a as T } from "./extends-Cyw62AD_.js";
|
|
2
|
-
import { f as N, b as M,
|
|
2
|
+
import { f as N, b as M, h as q, d as J, s as K, e as X, j as G } from "./createStyled-B96gjom1.js";
|
|
3
3
|
const V = (e) => e, Y = () => {
|
|
4
4
|
let e = V;
|
|
5
5
|
return {
|
|
@@ -92,7 +92,7 @@ function F(e) {
|
|
|
92
92
|
let t = e.type === "hsl" || e.type === "hsla" ? O(ne(e)).values : e.values;
|
|
93
93
|
return t = t.map((r) => (e.type !== "color" && (r /= 255), r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function j(e, t) {
|
|
96
96
|
const r = F(e), n = F(t);
|
|
97
97
|
return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
|
|
98
98
|
}
|
|
@@ -211,7 +211,7 @@ const S = {
|
|
|
211
211
|
A200: "#448aff",
|
|
212
212
|
A400: "#2979ff",
|
|
213
213
|
A700: "#2962ff"
|
|
214
|
-
},
|
|
214
|
+
}, w = {
|
|
215
215
|
50: "#e1f5fe",
|
|
216
216
|
100: "#b3e5fc",
|
|
217
217
|
200: "#81d4fa",
|
|
@@ -226,7 +226,7 @@ const S = {
|
|
|
226
226
|
A200: "#40c4ff",
|
|
227
227
|
A400: "#00b0ff",
|
|
228
228
|
A700: "#0091ea"
|
|
229
|
-
},
|
|
229
|
+
}, k = {
|
|
230
230
|
50: "#e8f5e9",
|
|
231
231
|
100: "#c8e6c9",
|
|
232
232
|
200: "#a5d6a7",
|
|
@@ -241,7 +241,7 @@ const S = {
|
|
|
241
241
|
A200: "#69f0ae",
|
|
242
242
|
A400: "#00e676",
|
|
243
243
|
A700: "#00c853"
|
|
244
|
-
}, ce = ["mode", "contrastThreshold", "tonalOffset"],
|
|
244
|
+
}, ce = ["mode", "contrastThreshold", "tonalOffset"], R = {
|
|
245
245
|
// The colors used to style the text.
|
|
246
246
|
text: {
|
|
247
247
|
// The most important text.
|
|
@@ -342,27 +342,27 @@ function ue(e = "light") {
|
|
|
342
342
|
};
|
|
343
343
|
}
|
|
344
344
|
function le(e = "light") {
|
|
345
|
-
return e === "dark" ? {
|
|
346
|
-
main: k[400],
|
|
347
|
-
light: k[300],
|
|
348
|
-
dark: k[700]
|
|
349
|
-
} : {
|
|
350
|
-
main: k[700],
|
|
351
|
-
light: k[500],
|
|
352
|
-
dark: k[900]
|
|
353
|
-
};
|
|
354
|
-
}
|
|
355
|
-
function pe(e = "light") {
|
|
356
345
|
return e === "dark" ? {
|
|
357
346
|
main: w[400],
|
|
358
347
|
light: w[300],
|
|
359
348
|
dark: w[700]
|
|
360
349
|
} : {
|
|
361
|
-
main: w[
|
|
350
|
+
main: w[700],
|
|
362
351
|
light: w[500],
|
|
363
352
|
dark: w[900]
|
|
364
353
|
};
|
|
365
354
|
}
|
|
355
|
+
function pe(e = "light") {
|
|
356
|
+
return e === "dark" ? {
|
|
357
|
+
main: k[400],
|
|
358
|
+
light: k[300],
|
|
359
|
+
dark: k[700]
|
|
360
|
+
} : {
|
|
361
|
+
main: k[800],
|
|
362
|
+
light: k[500],
|
|
363
|
+
dark: k[900]
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
366
|
function ge(e = "light") {
|
|
367
367
|
return e === "dark" ? {
|
|
368
368
|
main: E[400],
|
|
@@ -382,9 +382,9 @@ function he(e) {
|
|
|
382
382
|
tonalOffset: n = 0.2
|
|
383
383
|
} = e, s = T(e, ce), d = e.primary || fe(t), i = e.secondary || de(t), p = e.error || ue(t), g = e.info || le(t), f = e.success || pe(t), u = e.warning || ge(t);
|
|
384
384
|
function h(a) {
|
|
385
|
-
const l =
|
|
385
|
+
const l = j(a, D.text.primary) >= r ? D.text.primary : R.text.primary;
|
|
386
386
|
if (process.env.NODE_ENV !== "production") {
|
|
387
|
-
const b =
|
|
387
|
+
const b = j(a, l);
|
|
388
388
|
b < 3 && console.error([`MUI: The contrast ratio of ${b}:1 for ${l} on ${a}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
389
389
|
`));
|
|
390
390
|
}
|
|
@@ -418,7 +418,7 @@ const theme2 = createTheme({ palette: {
|
|
|
418
418
|
return z(a, "light", I, n), z(a, "dark", C, n), a.contrastText || (a.contrastText = h(a.main)), a;
|
|
419
419
|
}, $ = {
|
|
420
420
|
dark: D,
|
|
421
|
-
light:
|
|
421
|
+
light: R
|
|
422
422
|
};
|
|
423
423
|
return process.env.NODE_ENV !== "production" && ($[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), M(m({
|
|
424
424
|
// A collection of common colors.
|
|
@@ -547,7 +547,7 @@ const $e = 0.2, Oe = 0.14, xe = 0.12;
|
|
|
547
547
|
function o(...e) {
|
|
548
548
|
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${$e})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Oe})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${xe})`].join(",");
|
|
549
549
|
}
|
|
550
|
-
const ve = ["none", o(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), o(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), o(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), o(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), o(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), o(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), o(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), o(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), o(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), o(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), o(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), o(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), o(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), o(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), o(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), o(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), o(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), o(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), o(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), o(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), o(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), o(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), o(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), o(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Ae = ["duration", "easing", "delay"],
|
|
550
|
+
const ve = ["none", o(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), o(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), o(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), o(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), o(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), o(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), o(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), o(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), o(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), o(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), o(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), o(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), o(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), o(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), o(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), o(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), o(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), o(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), o(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), o(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), o(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), o(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), o(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), o(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Ae = ["duration", "easing", "delay"], we = {
|
|
551
551
|
// This is the most common easing curve.
|
|
552
552
|
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
553
553
|
// Objects enter the screen at full velocity from off-screen and
|
|
@@ -557,7 +557,7 @@ const ve = ["none", o(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), o(0, 3, 1, -2, 0, 2,
|
|
|
557
557
|
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
558
558
|
// The sharp curve is used by objects that may return to the screen at any time.
|
|
559
559
|
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
560
|
-
},
|
|
560
|
+
}, ke = {
|
|
561
561
|
shortest: 150,
|
|
562
562
|
shorter: 200,
|
|
563
563
|
short: 250,
|
|
@@ -580,7 +580,7 @@ function Ee(e) {
|
|
|
580
580
|
return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
|
|
581
581
|
}
|
|
582
582
|
function Me(e) {
|
|
583
|
-
const t = m({},
|
|
583
|
+
const t = m({}, we, e.easing), r = m({}, ke, e.duration);
|
|
584
584
|
return m({
|
|
585
585
|
getAutoHeightDuration: Ee,
|
|
586
586
|
create: (s = ["all"], d = {}) => {
|
|
@@ -670,7 +670,7 @@ export {
|
|
|
670
670
|
Ve as b,
|
|
671
671
|
Ie as c,
|
|
672
672
|
Te as d,
|
|
673
|
-
|
|
673
|
+
ke as e,
|
|
674
674
|
ee as g,
|
|
675
675
|
_e as r,
|
|
676
676
|
Fe as s
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as o from "react";
|
|
2
|
-
import { d as r } from "./styled-
|
|
3
|
-
import {
|
|
2
|
+
import { d as r } from "./styled-cPJbqF0E.js";
|
|
3
|
+
import { d as t } from "./useThemeProps-DeftUmqJ.js";
|
|
4
4
|
function u() {
|
|
5
5
|
const e = t(r);
|
|
6
6
|
return process.env.NODE_ENV !== "production" && o.useDebugValue(e), e;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as
|
|
1
|
+
import { g as l, d as m } from "./styled-cPJbqF0E.js";
|
|
2
2
|
import { _ as i } from "./extends-Cyw62AD_.js";
|
|
3
3
|
import * as a from "react";
|
|
4
4
|
import { ThemeContext as g } from "@emotion/react";
|
|
5
|
-
import {
|
|
5
|
+
import { h as y } from "./createStyled-B96gjom1.js";
|
|
6
6
|
function f(e) {
|
|
7
7
|
var n, s, t = "";
|
|
8
8
|
if (typeof e == "string" || typeof e == "number") t += e;
|
|
@@ -10,16 +10,16 @@ function f(e) {
|
|
|
10
10
|
else for (n in e) e[n] && (t && (t += " "), t += n);
|
|
11
11
|
return t;
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function p() {
|
|
14
14
|
for (var e, n, s = 0, t = ""; s < arguments.length; ) (e = arguments[s++]) && (n = f(e)) && (t && (t += " "), t += n);
|
|
15
15
|
return t;
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function $(e, n) {
|
|
18
18
|
return process.env.NODE_ENV === "production" ? () => null : function(...t) {
|
|
19
19
|
return e(...t) || n(...t);
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function h(e, n) {
|
|
23
23
|
const s = i({}, n);
|
|
24
24
|
return Object.keys(e).forEach((t) => {
|
|
25
25
|
if (t.toString().match(/^(components|slots)$/))
|
|
@@ -27,12 +27,12 @@ function l(e, n) {
|
|
|
27
27
|
else if (t.toString().match(/^(componentsProps|slotProps)$/)) {
|
|
28
28
|
const r = e[t] || {}, o = n[t];
|
|
29
29
|
s[t] = {}, !o || !Object.keys(o) ? s[t] = r : !r || !Object.keys(r) ? s[t] = o : (s[t] = i({}, o), Object.keys(r).forEach((u) => {
|
|
30
|
-
s[t][u] =
|
|
30
|
+
s[t][u] = h(r[u], o[u]);
|
|
31
31
|
}));
|
|
32
32
|
} else s[t] === void 0 && (s[t] = e[t]);
|
|
33
33
|
}), s;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function k(e, n, s = void 0) {
|
|
36
36
|
const t = {};
|
|
37
37
|
return Object.keys(e).forEach(
|
|
38
38
|
// `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
|
|
@@ -51,7 +51,7 @@ function $(e, n, s = void 0) {
|
|
|
51
51
|
function S(e, n, s = "Mui") {
|
|
52
52
|
const t = {};
|
|
53
53
|
return n.forEach((r) => {
|
|
54
|
-
t[r] =
|
|
54
|
+
t[r] = l(e, r, s);
|
|
55
55
|
}), t;
|
|
56
56
|
}
|
|
57
57
|
function d(e) {
|
|
@@ -71,7 +71,7 @@ function O(e) {
|
|
|
71
71
|
name: s,
|
|
72
72
|
props: t
|
|
73
73
|
} = e;
|
|
74
|
-
return !n || !n.components || !n.components[s] || !n.components[s].defaultProps ? t :
|
|
74
|
+
return !n || !n.components || !n.components[s] || !n.components[s].defaultProps ? t : h(n.components[s].defaultProps, t);
|
|
75
75
|
}
|
|
76
76
|
function P({
|
|
77
77
|
props: e,
|
|
@@ -97,11 +97,11 @@ function _({
|
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
export {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
100
|
+
k as a,
|
|
101
|
+
$ as b,
|
|
102
|
+
p as c,
|
|
103
|
+
j as d,
|
|
104
104
|
S as g,
|
|
105
|
-
|
|
105
|
+
h as r,
|
|
106
106
|
_ as u
|
|
107
107
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as D } from "./extends-Cyw62AD_.js";
|
|
2
|
-
import { _ as C,
|
|
3
|
-
import { P as i } from "./createStyled-
|
|
2
|
+
import { _ as C, T as S } from "./ButtonBase-D6qhsxB0.js";
|
|
3
|
+
import { P as i } from "./createStyled-B96gjom1.js";
|
|
4
4
|
import v from "react";
|
|
5
5
|
import b from "react-dom";
|
|
6
6
|
const N = {
|
|
@@ -10,7 +10,8 @@ var R = process.env.NODE_ENV !== "production" ? i.oneOfType([i.number, i.shape({
|
|
|
10
10
|
enter: i.number,
|
|
11
11
|
exit: i.number,
|
|
12
12
|
appear: i.number
|
|
13
|
-
}).isRequired]) : null
|
|
13
|
+
}).isRequired]) : null;
|
|
14
|
+
process.env.NODE_ENV !== "production" && i.oneOfType([i.string, i.shape({
|
|
14
15
|
enter: i.string,
|
|
15
16
|
exit: i.string,
|
|
16
17
|
active: i.string
|
|
@@ -21,9 +22,10 @@ var R = process.env.NODE_ENV !== "production" ? i.oneOfType([i.number, i.shape({
|
|
|
21
22
|
exit: i.string,
|
|
22
23
|
exitDone: i.string,
|
|
23
24
|
exitActive: i.string
|
|
24
|
-
})])
|
|
25
|
+
})]);
|
|
26
|
+
var y = function(a) {
|
|
25
27
|
return a.scrollTop;
|
|
26
|
-
}, x = "unmounted", f = "exited", c = "entering", h = "entered",
|
|
28
|
+
}, x = "unmounted", f = "exited", c = "entering", h = "entered", T = "exiting", l = /* @__PURE__ */ function(u) {
|
|
27
29
|
C(a, u);
|
|
28
30
|
function a(r, e) {
|
|
29
31
|
var t;
|
|
@@ -46,7 +48,7 @@ var R = process.env.NODE_ENV !== "production" ? i.oneOfType([i.number, i.shape({
|
|
|
46
48
|
var t = null;
|
|
47
49
|
if (e !== this.props) {
|
|
48
50
|
var n = this.state.status;
|
|
49
|
-
this.props.in ? n !== c && n !== h && (t = c) : (n === c || n === h) && (t =
|
|
51
|
+
this.props.in ? n !== c && n !== h && (t = c) : (n === c || n === h) && (t = T);
|
|
50
52
|
}
|
|
51
53
|
this.updateStatus(!1, t);
|
|
52
54
|
}, o.componentWillUnmount = function() {
|
|
@@ -72,7 +74,7 @@ var R = process.env.NODE_ENV !== "production" ? i.oneOfType([i.number, i.shape({
|
|
|
72
74
|
status: x
|
|
73
75
|
});
|
|
74
76
|
}, o.performEnter = function(e) {
|
|
75
|
-
var t = this, n = this.props.enter, s = this.context ? this.context.isMounting : e, p = this.props.nodeRef ? [s] : [b.findDOMNode(this), s], d = p[0], m = p[1],
|
|
77
|
+
var t = this, n = this.props.enter, s = this.context ? this.context.isMounting : e, p = this.props.nodeRef ? [s] : [b.findDOMNode(this), s], d = p[0], m = p[1], g = this.getTimeouts(), O = s ? g.appear : g.enter;
|
|
76
78
|
if (!e && !n || N.disabled) {
|
|
77
79
|
this.safeSetState({
|
|
78
80
|
status: h
|
|
@@ -103,7 +105,7 @@ var R = process.env.NODE_ENV !== "production" ? i.oneOfType([i.number, i.shape({
|
|
|
103
105
|
return;
|
|
104
106
|
}
|
|
105
107
|
this.props.onExit(s), this.safeSetState({
|
|
106
|
-
status:
|
|
108
|
+
status: T
|
|
107
109
|
}, function() {
|
|
108
110
|
e.props.onExiting(s), e.onTransitionEnd(n.exit, function() {
|
|
109
111
|
e.safeSetState({
|
|
@@ -341,9 +343,9 @@ l.UNMOUNTED = x;
|
|
|
341
343
|
l.EXITED = f;
|
|
342
344
|
l.ENTERING = c;
|
|
343
345
|
l.ENTERED = h;
|
|
344
|
-
l.EXITING =
|
|
345
|
-
const
|
|
346
|
-
function
|
|
346
|
+
l.EXITING = T;
|
|
347
|
+
const P = (u) => u.scrollTop;
|
|
348
|
+
function U(u, a) {
|
|
347
349
|
var o, r;
|
|
348
350
|
const {
|
|
349
351
|
timeout: e,
|
|
@@ -358,8 +360,6 @@ function w(u, a) {
|
|
|
358
360
|
}
|
|
359
361
|
export {
|
|
360
362
|
l as T,
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
w as g,
|
|
364
|
-
U as r
|
|
363
|
+
U as g,
|
|
364
|
+
P as r
|
|
365
365
|
};
|