asma-ui-core 3.62.0 → 3.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/feedback/dialog/StyledDialog.js +32 -30
- package/dist/components/feedback/snack-bar/SnackbarProvider.js +38 -24
- package/dist/components/feedback/snack-bar/StyledSnackbar.js +23 -18
- package/dist/components/icons/call-icon/CallIcon.js +21 -0
- package/dist/components/icons/call-icon/index.js +1 -0
- package/dist/components/icons/index.js +1 -0
- package/dist/hooks/useTopLayer.hook.js +54 -18
- package/dist/index.js +193 -191
- package/dist/src/components/icons/call-icon/CallIcon.d.ts +9 -0
- package/dist/src/components/icons/call-icon/index.d.ts +1 -0
- package/dist/src/components/icons/index.d.ts +1 -0
- package/dist/src/hooks/useTopLayer.hook.d.ts +28 -0
- package/dist/src/hooks/useTopLayer.hook.test.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
import { cn as f } from "../../../helpers/cn.js";
|
|
2
|
-
import { resolveSx as
|
|
2
|
+
import { resolveSx as D } from "../../../helpers/sx.js";
|
|
3
3
|
import { CloseIcon as X } from "../../icons/close-icon/CloseIcon.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import P from "
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
|
|
4
|
+
import { registerOpenModalDialog as B } from "../../../hooks/useTopLayer.hook.js";
|
|
5
|
+
import { StyledButton as G } from "../../inputs/button/StyledButton.js";
|
|
6
|
+
import { useMobileMediaQuery as P } from "../../../hooks/useMediaQuery.hook.js";
|
|
7
|
+
import Q from "./StyledDialog.module.js";
|
|
8
|
+
import { useEffect as S, useLayoutEffect as $, useRef as u } from "react";
|
|
9
|
+
import { jsx as r, jsxs as l } from "react/jsx-runtime";
|
|
10
|
+
var J = {
|
|
10
11
|
xs: 444,
|
|
11
12
|
sm: 600,
|
|
12
13
|
md: 900,
|
|
13
14
|
lg: 1200,
|
|
14
15
|
xl: 1536
|
|
15
|
-
},
|
|
16
|
-
const
|
|
17
|
-
|
|
16
|
+
}, le = ({ open: t, onClose: a, children: _, dataTest: i, maxWidth: x = "sm", fullWidth: C, fullScreen: E, scroll: p = "paper", disableEscapeKeyDown: h, className: H, style: j, sx: M, classes: y, PaperProps: O, slotProps: o, onCloseText: w, showCloseIcon: v = !0, dialogLabel: d, dialogTitle: s, dialogHeaderNode: R }) => {
|
|
17
|
+
const W = P(), b = u(null), c = u(!1), g = u(t), n = E ?? W;
|
|
18
|
+
S(() => {
|
|
18
19
|
g.current && !t && o?.transition?.onExited?.(), g.current = t;
|
|
19
|
-
}, [t, o]),
|
|
20
|
+
}, [t, o]), $(() => {
|
|
20
21
|
const e = b.current;
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
if (!(!e || !t))
|
|
23
|
+
return e.open || (e.showModal(), e.focus({ preventScroll: !0 }), requestAnimationFrame(() => e.open && e.focus({ preventScroll: !0 }))), B(e);
|
|
24
|
+
}, [t]), S(() => {
|
|
23
25
|
if (!t) return;
|
|
24
26
|
const e = document.body.style.overflow, K = document.documentElement.style.overflow;
|
|
25
27
|
return document.body.style.overflow = "hidden", document.documentElement.style.overflow = "hidden", () => {
|
|
@@ -27,16 +29,16 @@ var $ = {
|
|
|
27
29
|
};
|
|
28
30
|
}, [t]);
|
|
29
31
|
const m = {
|
|
30
|
-
...
|
|
32
|
+
...O,
|
|
31
33
|
...o?.paper
|
|
32
|
-
}, k = x === !1 ? void 0 :
|
|
34
|
+
}, k = x === !1 ? void 0 : J[x], { className: I, style: z, onClick: q, ...A } = o?.backdrop ?? {}, N = (e) => {
|
|
33
35
|
c.current || (c.current = !0, window.setTimeout(() => {
|
|
34
36
|
c.current = !1;
|
|
35
37
|
}, 0), a?.(e, "escapeKeyDown"));
|
|
36
38
|
}, F = (e) => {
|
|
37
39
|
e.preventDefault(), h || N(e);
|
|
38
40
|
};
|
|
39
|
-
return t ? /* @__PURE__ */
|
|
41
|
+
return t ? /* @__PURE__ */ l("dialog", {
|
|
40
42
|
ref: b,
|
|
41
43
|
tabIndex: -1,
|
|
42
44
|
"data-testid": i,
|
|
@@ -45,20 +47,20 @@ var $ = {
|
|
|
45
47
|
onKeyDown: (e) => {
|
|
46
48
|
e.key !== "Escape" || h || (e.preventDefault(), N(e));
|
|
47
49
|
},
|
|
48
|
-
className: f(
|
|
50
|
+
className: f(Q.StyledDialog, "fixed inset-0 m-0 h-full max-h-none w-full max-w-none items-center justify-center overflow-hidden border-0 bg-transparent p-0 outline-none open:flex", p === "body" && "overflow-y-auto", H, y?.root),
|
|
49
51
|
style: {
|
|
50
52
|
zIndex: 999,
|
|
51
|
-
...
|
|
53
|
+
...D(M),
|
|
52
54
|
...j
|
|
53
55
|
},
|
|
54
|
-
children: [/* @__PURE__ */
|
|
56
|
+
children: [/* @__PURE__ */ r("div", {
|
|
55
57
|
...A,
|
|
56
|
-
className: f("absolute inset-0 bg-[#626e7eb2]",
|
|
58
|
+
className: f("absolute inset-0 bg-[#626e7eb2]", I),
|
|
57
59
|
style: z,
|
|
58
60
|
onClick: (e) => {
|
|
59
61
|
q?.(e), e.defaultPrevented || a?.(e, "backdropClick");
|
|
60
62
|
}
|
|
61
|
-
}), /* @__PURE__ */
|
|
63
|
+
}), /* @__PURE__ */ l("div", {
|
|
62
64
|
className: f("relative z-[1] flex overflow-hidden rounded-lg border-0 bg-white p-0 text-delta-800 shadow-[0px_4px_40px_0px_#22213366]", p === "paper" && "flex-col", n && "rounded-none", m.className, y?.paper),
|
|
63
65
|
style: {
|
|
64
66
|
minWidth: 0,
|
|
@@ -73,7 +75,7 @@ var $ = {
|
|
|
73
75
|
width: C ? "calc(100% - 64px)" : "auto",
|
|
74
76
|
maxHeight: "100%"
|
|
75
77
|
},
|
|
76
|
-
...
|
|
78
|
+
...D(m.sx),
|
|
77
79
|
...m.style,
|
|
78
80
|
...n ? {
|
|
79
81
|
width: "100%",
|
|
@@ -82,25 +84,25 @@ var $ = {
|
|
|
82
84
|
maxHeight: "100%"
|
|
83
85
|
} : { maxHeight: "calc(100% - 64px)" }
|
|
84
86
|
},
|
|
85
|
-
children: [(!!d || !!s || v) && /* @__PURE__ */
|
|
87
|
+
children: [(!!d || !!s || v) && /* @__PURE__ */ l("div", {
|
|
86
88
|
className: "box-border flex w-full min-w-0 max-w-full justify-between px-4 pt-4",
|
|
87
|
-
children: [/* @__PURE__ */
|
|
89
|
+
children: [/* @__PURE__ */ l("div", {
|
|
88
90
|
className: "flex min-w-0 flex-1 flex-col justify-start gap-0.5",
|
|
89
|
-
children: [d && /* @__PURE__ */
|
|
91
|
+
children: [d && /* @__PURE__ */ r("div", {
|
|
90
92
|
className: "flex h-8 items-center text-sm font-normal leading-5 text-delta-600",
|
|
91
93
|
children: d
|
|
92
|
-
}), s && /* @__PURE__ */
|
|
94
|
+
}), s && /* @__PURE__ */ r("div", {
|
|
93
95
|
className: "flex text-2xl font-semibold leading-8 text-delta-800",
|
|
94
96
|
children: s
|
|
95
97
|
})]
|
|
96
|
-
}), v && /* @__PURE__ */
|
|
98
|
+
}), v && /* @__PURE__ */ l("div", {
|
|
97
99
|
className: "flex min-w-0 max-w-full shrink-0 justify-end gap-2",
|
|
98
|
-
children: [
|
|
100
|
+
children: [R, /* @__PURE__ */ r(G, {
|
|
99
101
|
dataTest: `close-button-${i}`,
|
|
100
102
|
"aria-label": w ? void 0 : "Close",
|
|
101
103
|
variant: "textGray",
|
|
102
104
|
size: "small",
|
|
103
|
-
endIcon: /* @__PURE__ */
|
|
105
|
+
endIcon: /* @__PURE__ */ r(X, {
|
|
104
106
|
width: 20,
|
|
105
107
|
height: 20
|
|
106
108
|
}),
|
|
@@ -119,5 +121,5 @@ var $ = {
|
|
|
119
121
|
}) : null;
|
|
120
122
|
};
|
|
121
123
|
export {
|
|
122
|
-
|
|
124
|
+
le as StyledDialog
|
|
123
125
|
};
|
|
@@ -1,26 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
import { useTopmostOpenModalDialog as a } from "../../../hooks/useTopLayer.hook.js";
|
|
2
|
+
import { StyledAlertSnackbar as n } from "./StyledAlertSnackbar.js";
|
|
3
|
+
import { StyledDefaultSnackbar as i } from "./components/StyledDefaultSnackbar.js";
|
|
4
|
+
import { StyledInfoSnackbar as m } from "./components/StyledInfoSnackbar.js";
|
|
5
|
+
import { useLayoutEffect as e, useState as s } from "react";
|
|
6
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
7
|
+
import { SnackbarProvider as l } from "notistack";
|
|
8
|
+
var d = () => {
|
|
9
|
+
const [t] = s(() => {
|
|
10
|
+
const o = document.createElement("div");
|
|
11
|
+
return o.style.display = "contents", o.setAttribute("data-asma-snackbar-host", ""), o;
|
|
12
|
+
}), r = a();
|
|
13
|
+
return e(() => {
|
|
14
|
+
const o = r ?? document.body;
|
|
15
|
+
t.parentElement !== o && o.appendChild(t);
|
|
16
|
+
}, [t, r]), e(() => () => t.remove(), [t]), t;
|
|
17
|
+
}, v = (t) => {
|
|
18
|
+
const r = d();
|
|
19
|
+
return /* @__PURE__ */ c(l, {
|
|
20
|
+
...t,
|
|
21
|
+
Components: {
|
|
22
|
+
alert: n,
|
|
23
|
+
info: m,
|
|
24
|
+
default: i
|
|
25
|
+
},
|
|
26
|
+
autoHideDuration: 6e3,
|
|
27
|
+
anchorOrigin: {
|
|
28
|
+
vertical: "top",
|
|
29
|
+
horizontal: "right"
|
|
30
|
+
},
|
|
31
|
+
domRoot: r,
|
|
32
|
+
maxSnack: 3,
|
|
33
|
+
classes: { root: "min-w-fit flex justify-center" },
|
|
34
|
+
className: "w-fit min-w-fit max-w-fit",
|
|
35
|
+
children: t.children
|
|
36
|
+
});
|
|
37
|
+
};
|
|
24
38
|
export {
|
|
25
|
-
|
|
39
|
+
v as SnackbarProvider
|
|
26
40
|
};
|
|
@@ -1,36 +1,41 @@
|
|
|
1
1
|
import { cn as c } from "../../../helpers/cn.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
2
|
+
import { useTopmostOpenModalDialog as x } from "../../../hooks/useTopLayer.hook.js";
|
|
3
|
+
import { useEffect as d } from "react";
|
|
4
|
+
import { jsx as l, jsxs as h } from "react/jsx-runtime";
|
|
5
|
+
import { FloatingPortal as b } from "@floating-ui/react";
|
|
6
|
+
var g = {
|
|
6
7
|
"top-left": "top-6 left-6",
|
|
7
8
|
"top-center": "top-6 left-1/2 -translate-x-1/2",
|
|
8
9
|
"top-right": "top-6 right-6",
|
|
9
10
|
"bottom-left": "bottom-6 left-6",
|
|
10
11
|
"bottom-center": "bottom-6 left-1/2 -translate-x-1/2",
|
|
11
12
|
"bottom-right": "bottom-6 right-6"
|
|
12
|
-
},
|
|
13
|
+
}, N = ({ open: t = !1, autoHideDuration: e = 3e3, onClose: o, anchorOrigin: r = {
|
|
13
14
|
vertical: "bottom",
|
|
14
15
|
horizontal: "left"
|
|
15
|
-
}, message:
|
|
16
|
-
|
|
16
|
+
}, message: m, action: i, children: a, className: s }) => {
|
|
17
|
+
const f = x();
|
|
18
|
+
if (d(() => {
|
|
17
19
|
if (!t || e == null) return;
|
|
18
|
-
const
|
|
19
|
-
return () => clearTimeout(
|
|
20
|
+
const p = setTimeout(() => o?.(null, "timeout"), e);
|
|
21
|
+
return () => clearTimeout(p);
|
|
20
22
|
}, [
|
|
21
23
|
t,
|
|
22
24
|
e,
|
|
23
|
-
|
|
25
|
+
o
|
|
24
26
|
]), !t) return null;
|
|
25
|
-
const n =
|
|
26
|
-
return /* @__PURE__ */ l(
|
|
27
|
-
|
|
28
|
-
children:
|
|
29
|
-
className: "flex items-center gap-2
|
|
30
|
-
children:
|
|
27
|
+
const n = g[`${r.vertical}-${r.horizontal}`];
|
|
28
|
+
return /* @__PURE__ */ l(b, {
|
|
29
|
+
root: f,
|
|
30
|
+
children: /* @__PURE__ */ l("div", {
|
|
31
|
+
className: c("fixed z-[1400] flex items-center gap-2", n, s),
|
|
32
|
+
children: a ?? /* @__PURE__ */ h("div", {
|
|
33
|
+
className: "flex items-center gap-2 rounded bg-delta-800 px-4 py-3 text-sm text-white shadow-lg",
|
|
34
|
+
children: [m, i]
|
|
35
|
+
})
|
|
31
36
|
})
|
|
32
|
-
})
|
|
37
|
+
});
|
|
33
38
|
};
|
|
34
39
|
export {
|
|
35
|
-
|
|
40
|
+
N as StyledSnackbar
|
|
36
41
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as C, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
function n(l) {
|
|
3
|
+
return /* @__PURE__ */ r("svg", {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
width: "24",
|
|
6
|
+
height: "24",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
fill: "none",
|
|
9
|
+
...l,
|
|
10
|
+
children: [/* @__PURE__ */ C("title", { children: "CallIcon" }), /* @__PURE__ */ C("g", {
|
|
11
|
+
transform: "translate(3 3) scale(1.2)",
|
|
12
|
+
children: /* @__PURE__ */ C("path", {
|
|
13
|
+
d: "M14.125 15C12.3889 15 10.6736 14.6215 8.97917 13.8646C7.28472 13.1076 5.74306 12.0347 4.35417 10.6458C2.96528 9.25694 1.89236 7.71528 1.13542 6.02083C0.378472 4.32639 0 2.61111 0 0.875C0 0.625 0.0833333 0.416667 0.25 0.25C0.416667 0.0833333 0.625 0 0.875 0H4.25C4.44444 0 4.61806 0.0659722 4.77083 0.197917C4.92361 0.329861 5.01389 0.486111 5.04167 0.666667L5.58333 3.58333C5.61111 3.80556 5.60417 3.99306 5.5625 4.14583C5.52083 4.29861 5.44444 4.43056 5.33333 4.54167L3.3125 6.58333C3.59028 7.09722 3.92014 7.59375 4.30208 8.07292C4.68403 8.55208 5.10417 9.01389 5.5625 9.45833C5.99306 9.88889 6.44444 10.2882 6.91667 10.6563C7.38889 11.0243 7.88889 11.3611 8.41667 11.6667L10.375 9.70833C10.5 9.58333 10.6632 9.48958 10.8646 9.42708C11.066 9.36458 11.2639 9.34722 11.4583 9.375L14.3333 9.95833C14.5278 10.0139 14.6875 10.1146 14.8125 10.2604C14.9375 10.4062 15 10.5694 15 10.75V14.125C15 14.375 14.9167 14.5833 14.75 14.75C14.5833 14.9167 14.375 15 14.125 15ZM2.52083 5L3.89583 3.625L3.54167 1.66667H1.6875C1.75694 2.23611 1.85417 2.79861 1.97917 3.35417C2.10417 3.90972 2.28472 4.45833 2.52083 5ZM9.97917 12.4583C10.5208 12.6944 11.0729 12.8819 11.6354 13.0208C12.1979 13.1597 12.7639 13.25 13.3333 13.2917V11.4583L11.375 11.0625L9.97917 12.4583Z",
|
|
14
|
+
fill: "currentColor"
|
|
15
|
+
})
|
|
16
|
+
})]
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
n as CallIcon
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './CallIcon.js'
|
|
@@ -1,29 +1,65 @@
|
|
|
1
|
-
import { useCallback as
|
|
2
|
-
var
|
|
1
|
+
import { useCallback as r, useSyncExternalStore as s } from "react";
|
|
2
|
+
var c = { popover: "manual" }, p = {
|
|
3
3
|
margin: 0,
|
|
4
4
|
inset: "auto"
|
|
5
5
|
};
|
|
6
|
-
function
|
|
7
|
-
if (!(
|
|
8
|
-
const
|
|
9
|
-
return
|
|
6
|
+
function f(e) {
|
|
7
|
+
if (!(e instanceof Element)) return;
|
|
8
|
+
const o = e.closest("dialog");
|
|
9
|
+
return o instanceof HTMLDialogElement && o.open ? o : void 0;
|
|
10
10
|
}
|
|
11
|
-
function
|
|
12
|
-
return
|
|
11
|
+
function t() {
|
|
12
|
+
if (typeof window > "u") return a ??= {
|
|
13
|
+
dialogs: [],
|
|
14
|
+
listeners: /* @__PURE__ */ new Set()
|
|
15
|
+
};
|
|
16
|
+
const e = window.rawWindow ?? document.defaultView ?? window;
|
|
17
|
+
return e.__asmaOpenModalDialogRegistry__ ??= {
|
|
18
|
+
dialogs: [],
|
|
19
|
+
listeners: /* @__PURE__ */ new Set()
|
|
20
|
+
};
|
|
13
21
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
22
|
+
var a, i = () => {
|
|
23
|
+
for (const e of [...t().listeners]) e();
|
|
24
|
+
};
|
|
25
|
+
function g(e) {
|
|
26
|
+
return t().dialogs.push(e), i(), () => {
|
|
27
|
+
const { dialogs: o } = t(), n = o.indexOf(e);
|
|
28
|
+
n !== -1 && (o.splice(n, 1), i());
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function l() {
|
|
32
|
+
const { dialogs: e } = t();
|
|
33
|
+
for (let o = e.length - 1; o >= 0; o -= 1) {
|
|
34
|
+
const n = e[o];
|
|
35
|
+
if (n?.isConnected && n.open) return n;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
var u = (e) => (t().listeners.add(e), () => {
|
|
39
|
+
t().listeners.delete(e);
|
|
40
|
+
});
|
|
41
|
+
function w() {
|
|
42
|
+
return s(u, l, () => {
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
function v(e) {
|
|
46
|
+
return e == null;
|
|
47
|
+
}
|
|
48
|
+
function O(e, o = !0) {
|
|
49
|
+
return r((n) => {
|
|
50
|
+
if (e(n), !(!n || !o))
|
|
17
51
|
try {
|
|
18
|
-
typeof
|
|
52
|
+
typeof n.showPopover == "function" && !n.matches(":popover-open") && n.showPopover();
|
|
19
53
|
} catch {
|
|
20
54
|
}
|
|
21
|
-
}, [
|
|
55
|
+
}, [e, o]);
|
|
22
56
|
}
|
|
23
57
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
58
|
+
c as TOP_LAYER_PROPS,
|
|
59
|
+
p as TOP_LAYER_RESET_STYLE,
|
|
60
|
+
f as getOpenModalDialogAncestor,
|
|
61
|
+
g as registerOpenModalDialog,
|
|
62
|
+
v as shouldUsePopoverTopLayer,
|
|
63
|
+
O as useTopLayerRef,
|
|
64
|
+
w as useTopmostOpenModalDialog
|
|
29
65
|
};
|
package/dist/index.js
CHANGED
|
@@ -183,95 +183,96 @@ import { RocketLaunchIcon as Ee } from "./components/icons/rocket-launch-icon/Ro
|
|
|
183
183
|
import { LoadCurrentIcon as Ue } from "./components/icons/load-current-icon/LoadCurrentIcon.js";
|
|
184
184
|
import { RotateAutoIcon as ze } from "./components/icons/rotate-auto-icon/RotateAutoIcon.js";
|
|
185
185
|
import { MoveUpIcon as Xe } from "./components/icons/move-up-icon/MoveUpIcon.js";
|
|
186
|
-
import {
|
|
187
|
-
import {
|
|
188
|
-
import {
|
|
189
|
-
import {
|
|
190
|
-
import {
|
|
191
|
-
import {
|
|
192
|
-
import {
|
|
193
|
-
import {
|
|
194
|
-
import {
|
|
195
|
-
import {
|
|
196
|
-
import {
|
|
197
|
-
import {
|
|
198
|
-
import {
|
|
199
|
-
import {
|
|
200
|
-
import {
|
|
201
|
-
import {
|
|
202
|
-
import {
|
|
203
|
-
import {
|
|
204
|
-
import {
|
|
205
|
-
import {
|
|
206
|
-
import {
|
|
207
|
-
import {
|
|
208
|
-
import {
|
|
209
|
-
import {
|
|
210
|
-
import {
|
|
211
|
-
import {
|
|
212
|
-
import {
|
|
213
|
-
import {
|
|
214
|
-
import {
|
|
215
|
-
import {
|
|
216
|
-
import {
|
|
217
|
-
import {
|
|
218
|
-
import {
|
|
219
|
-
import {
|
|
220
|
-
import {
|
|
221
|
-
import {
|
|
222
|
-
import {
|
|
223
|
-
import {
|
|
224
|
-
import {
|
|
225
|
-
import {
|
|
226
|
-
import {
|
|
227
|
-
import {
|
|
228
|
-
import {
|
|
229
|
-
import {
|
|
230
|
-
import {
|
|
231
|
-
import {
|
|
232
|
-
import {
|
|
233
|
-
import {
|
|
234
|
-
import {
|
|
235
|
-
import {
|
|
236
|
-
import {
|
|
237
|
-
import {
|
|
238
|
-
import {
|
|
239
|
-
import {
|
|
240
|
-
import {
|
|
241
|
-
import {
|
|
242
|
-
import {
|
|
243
|
-
import {
|
|
244
|
-
import {
|
|
245
|
-
import {
|
|
246
|
-
import {
|
|
247
|
-
import {
|
|
248
|
-
import {
|
|
249
|
-
import {
|
|
250
|
-
import {
|
|
251
|
-
import {
|
|
252
|
-
import {
|
|
253
|
-
import {
|
|
254
|
-
import {
|
|
255
|
-
import {
|
|
256
|
-
import {
|
|
257
|
-
import {
|
|
258
|
-
import {
|
|
259
|
-
import {
|
|
260
|
-
import {
|
|
261
|
-
import {
|
|
262
|
-
import {
|
|
263
|
-
import {
|
|
264
|
-
import {
|
|
265
|
-
import {
|
|
266
|
-
import {
|
|
267
|
-
import {
|
|
268
|
-
import {
|
|
269
|
-
import {
|
|
270
|
-
import {
|
|
271
|
-
import {
|
|
186
|
+
import { CallIcon as Ke } from "./components/icons/call-icon/CallIcon.js";
|
|
187
|
+
import { StyledChip as Ze } from "./components/data-display/chip/StyledChip.js";
|
|
188
|
+
import { StyledCheckbox as Je } from "./components/inputs/checkbox/base-ui/StyledCheckbox.js";
|
|
189
|
+
import { StyledRadio as $e } from "./components/inputs/radio-button/base-ui/StyledRadio.js";
|
|
190
|
+
import { StyledInteractiveChip as rn } from "./components/data-display/interactive-chip/StyledInteractiveChip.js";
|
|
191
|
+
import { StyledTooltip as tn } from "./components/data-display/tooltip/StyledTooltip.js";
|
|
192
|
+
import { VirtualizedList as nn } from "./components/data-display/virtualized-list/VirtualizedList.js";
|
|
193
|
+
import { StyledTypography as fn } from "./components/data-display/typography/StyledTypography.js";
|
|
194
|
+
import { StyledFormLabel as ln } from "./components/data-display/form-label/components/StyledFormLabel.js";
|
|
195
|
+
import { StyledAIDisclosure as an } from "./components/data-display/ai-disclosure/StyledAIDisclosure.js";
|
|
196
|
+
import { StyledButton as un } from "./components/inputs/button/StyledButton.js";
|
|
197
|
+
import { StyledDialog as sn } from "./components/feedback/dialog/StyledDialog.js";
|
|
198
|
+
import { StyledDialogActions as Cn } from "./components/feedback/dialog/StyledDialogActions.js";
|
|
199
|
+
import { StyledDialogContent as gn } from "./components/feedback/dialog/StyledDialogContent.js";
|
|
200
|
+
import { StyledDialogTitle as hn } from "./components/feedback/dialog/StyledDialogTitle.js";
|
|
201
|
+
import { StyledEmptyPage as kn } from "./components/feedback/empty-page/StyledEmptyPage.js";
|
|
202
|
+
import { StyledFilteredEmptyState as Pn } from "./components/feedback/filtered-empty-state/StyledFilteredEmptyState.js";
|
|
203
|
+
import { StyledLoading as Fn } from "./components/feedback/loading/StyledLoading.js";
|
|
204
|
+
import { StyledAlert as Rn } from "./components/feedback/snack-bar/StyledAlert.js";
|
|
205
|
+
import { SnackbarProvider as vn } from "./components/feedback/snack-bar/SnackbarProvider.js";
|
|
206
|
+
import { StyledSnackbar as Bn } from "./components/feedback/snack-bar/StyledSnackbar.js";
|
|
207
|
+
import { processAlertSnackBar as xn } from "./components/feedback/snack-bar/processAlertSnackBar.js";
|
|
208
|
+
import { processDefaultSnackbar as Hn } from "./components/feedback/snack-bar/processDefaultSnackbar.js";
|
|
209
|
+
import { processInfoSnackbar as Wn } from "./components/feedback/snack-bar/processInfoSnackbar.js";
|
|
210
|
+
import { message as Vn } from "./components/feedback/snack-bar/message.js";
|
|
211
|
+
import { closeSnackbar as Gn, enqueueSnackbar as Xn, useSnackbar as qn } from "./components/feedback/snack-bar/index.js";
|
|
212
|
+
import { StyledInputField as Qn } from "./components/inputs/input-field/StyledInputField.js";
|
|
213
|
+
import { StyledSearchField as jn } from "./components/inputs/search-field/StyledSearchField.js";
|
|
214
|
+
import { StyledTextarea as Yn } from "./components/inputs/textarea/StyledTextarea.js";
|
|
215
|
+
import { StyledFormHelperText as op } from "./components/miscellaneous/StyledFormHelperText.js";
|
|
216
|
+
import { StyledSelect as mp } from "./components/inputs/select/StyledSelect.js";
|
|
217
|
+
import { StyledSelectItem as ip } from "./components/inputs/select/StyledSelectItem.js";
|
|
218
|
+
import { StyledSelectAutocomplete as np } from "./components/inputs/select-autocomplete/StyledSelectAutocomplete.js";
|
|
219
|
+
import { StyledSlider as fp } from "./components/inputs/slider/StyledSlider.js";
|
|
220
|
+
import { StyledSwitch as lp } from "./components/inputs/switch/base-ui/StyledSwitch.js";
|
|
221
|
+
import { StyledRadioGroup as ap } from "./components/inputs/radio-button/base-ui/StyledRadioGroup.js";
|
|
222
|
+
import { StyledLabel as up } from "./components/inputs/label/StyledLabel.js";
|
|
223
|
+
import { StyledDynamicSelect as sp } from "./components/inputs/dynamic-select/StyledDynamicSelect.js";
|
|
224
|
+
import { StyledPopover as Cp } from "./components/utils/popover/StyledPopover.js";
|
|
225
|
+
import { StyledFormControl as gp } from "./components/miscellaneous/StyledFormControl.js";
|
|
226
|
+
import { StyledDrawer as hp } from "./components/navigation/drawer/StyledDrawer.js";
|
|
227
|
+
import { StyledDatePicker as kp } from "./datetime/components/date-picker/StyledDatePicker.js";
|
|
228
|
+
import { PopupState as Pp, bindPopover as Tp, bindPopper as Fp, bindTrigger as Ap, usePopupState as Rp } from "./hooks/usePopupState.js";
|
|
229
|
+
import { ClickAwayListener as vp } from "./components/mui-compat/ClickAwayListener.js";
|
|
230
|
+
import { Paper as Bp } from "./components/mui-compat/Paper.js";
|
|
231
|
+
import { Stack as xp } from "./components/mui-compat/Stack.js";
|
|
232
|
+
import { Container as Hp } from "./components/mui-compat/Container.js";
|
|
233
|
+
import { Avatar as Wp } from "./components/mui-compat/Avatar.js";
|
|
234
|
+
import { Skeleton as Vp } from "./components/mui-compat/Skeleton.js";
|
|
235
|
+
import { FormLabel as Gp } from "./components/mui-compat/FormLabel.js";
|
|
236
|
+
import { Fade as qp } from "./components/mui-compat/Fade.js";
|
|
237
|
+
import { Popper as Qp } from "./components/mui-compat/Popper.js";
|
|
238
|
+
import { StyledTimePicker as jp } from "./datetime/components/time-picker/StyledTimePicker.js";
|
|
239
|
+
import { setMidnightTime as Yp, setZeroTime as $p } from "./datetime/helpers/date.helper.js";
|
|
240
|
+
import { StyledFormControlLabel as rf } from "./components/miscellaneous/StyledFormControlLabel.js";
|
|
241
|
+
import { StyledInputLabel as tf } from "./components/miscellaneous/StyledInputLabel.js";
|
|
242
|
+
import { StyledFormGroup as nf } from "./components/miscellaneous/StyledFormGroup.js";
|
|
243
|
+
import { StyledMenuList as ff } from "./components/navigation/menu/StyledMenuList.js";
|
|
244
|
+
import { StyledMenu as lf } from "./components/navigation/menu/StyledMenu.js";
|
|
245
|
+
import { StyledMenuItem as af } from "./components/navigation/menu/StyledMenuItem.js";
|
|
246
|
+
import { StyledLink as uf } from "./components/navigation/link/StyledLink.js";
|
|
247
|
+
import { StyledTab as sf } from "./components/navigation/tabs/StyledTab.js";
|
|
248
|
+
import { StyledTabs as Cf } from "./components/navigation/tabs/StyledTabs.js";
|
|
249
|
+
import { Listbox as gf } from "./components/navigation/listbox/Listbox.js";
|
|
250
|
+
import { StyledAccordion as hf } from "./components/utils/accordion/base-ui/StyledAccordion.js";
|
|
251
|
+
import { StyledAccordionSummary as kf } from "./components/utils/accordion/base-ui/StyledAccordionSummary.js";
|
|
252
|
+
import { StyledAccordionDetails as Pf } from "./components/utils/accordion/base-ui/StyledAccordionDetails.js";
|
|
253
|
+
import { ACTIONS_COLUMN_ID as Ff, DND_HANDLE_COLUMN_ID as Af, EXPAND_COLUMN_ID as Rf, INTERNAL_COLUMN_IDS as Mf, SELECT_COLUMN_ID as vf, SHOW_FULL_TEXT_ID as wf, isCustomAction as Bf } from "./table/types.js";
|
|
254
|
+
import { RowDragHandleCell as xf } from "./table/components/columns/dndHandleColumn.js";
|
|
255
|
+
import { StyledTable as Hf } from "./table/components/StyledTableIndex.js";
|
|
256
|
+
import { createColumnHelper as Wf } from "./table/index.js";
|
|
257
|
+
import { DynamicToolbarLayoutContext as Vf, useDynamicToolbarLayout as zf } from "./components/custom/module/header-layout/DynamicToolbarLayoutContext.js";
|
|
258
|
+
import { StyledFilterButton as Xf } from "./components/utils/filter-menu/StyledFilterButton.js";
|
|
259
|
+
import { StyledFilterMenu as Kf } from "./components/utils/filter-menu/StyledFilterMenu.js";
|
|
260
|
+
import { CopyButton as Zf } from "./components/utils/copy-wrapper/CopyButton.js";
|
|
261
|
+
import { CopyWrapper as Jf } from "./components/utils/copy-wrapper/CopyWrapper.js";
|
|
262
|
+
import { VirtualList as $f } from "./components/utils/virtual-list/VirtualList.js";
|
|
263
|
+
import { StyledWidgetTitle as rc } from "./components/custom/widget/widget-title/StyledWidgetTitle.js";
|
|
264
|
+
import { StyledWidgetHeader as tc } from "./components/custom/widget/widget-header/StyledWidgetHeader.js";
|
|
265
|
+
import { StyledWidget as ec } from "./components/custom/widget/widget/StyledWidget.js";
|
|
266
|
+
import { StyledModuleTitle as pc } from "./components/custom/module/module-title/StyledModuleTitle.js";
|
|
267
|
+
import { ACTION_GAP_PX as cc, MORE_BUTTON_PX as lc, estimateToolbarActionWidth as Ic, planBulkToolbarActions as ac, planToolbarActions as dc, resolveToolbarActionWidth as uc } from "./components/custom/module/header-layout/planToolbarActions.js";
|
|
268
|
+
import { DynamicToolbar as sc } from "./components/custom/module/header-layout/DynamicToolbar.js";
|
|
269
|
+
import { MinimizableDialog as Cc } from "./components/feedback/minimizable-dialog/MinimizableDialog.js";
|
|
270
|
+
import { MinimizableDialogV2 as gc } from "./components/feedback/minimizable-dialog/v2/MinimizableDialogV2.js";
|
|
271
|
+
import { createDialogStack as hc } from "./components/feedback/minimizable-dialog/stack/createDialogStack.js";
|
|
272
|
+
import { PathfinderCard as kc } from "./components/custom/pathfinder-card/PathfinderCard.js";
|
|
272
273
|
export {
|
|
273
|
-
|
|
274
|
-
|
|
274
|
+
Ff as ACTIONS_COLUMN_ID,
|
|
275
|
+
cc as ACTION_GAP_PX,
|
|
275
276
|
zi as AppRegistrationIcon,
|
|
276
277
|
wo as ArchiveIcon,
|
|
277
278
|
Xi as ArrowExpandIcon,
|
|
@@ -280,7 +281,7 @@ export {
|
|
|
280
281
|
j as AssignmentIcon,
|
|
281
282
|
Y as AssignmentOutlineIcon,
|
|
282
283
|
wt as AttachFileIcon,
|
|
283
|
-
|
|
284
|
+
Wp as Avatar,
|
|
284
285
|
_m as BackIcon,
|
|
285
286
|
Mi as BackupIcon,
|
|
286
287
|
tm as BadgeIcon,
|
|
@@ -290,6 +291,7 @@ export {
|
|
|
290
291
|
V as CalendarIcon,
|
|
291
292
|
q as CalendarRangeIcon,
|
|
292
293
|
Q as CalendarRangeOutlineIcon,
|
|
294
|
+
Ke as CallIcon,
|
|
293
295
|
Di as CancelOutlineIcon,
|
|
294
296
|
_t as CardIdIcon,
|
|
295
297
|
Ut as CardIdIconOutlined,
|
|
@@ -307,22 +309,22 @@ export {
|
|
|
307
309
|
s as ChevronRightIcon,
|
|
308
310
|
Uo as ChevronUpIcon,
|
|
309
311
|
Ui as CircleWarningOutlineIcon,
|
|
310
|
-
|
|
312
|
+
vp as ClickAwayListener,
|
|
311
313
|
Lm as ClockOutlineIcon,
|
|
312
314
|
zo as CloseIcon,
|
|
313
315
|
At as CloudDoneOutlineIcon,
|
|
314
316
|
Mt as CloudIcon,
|
|
315
317
|
Ji as CloudOffOutlineIcon,
|
|
316
318
|
Zr as ConsentsIcon,
|
|
317
|
-
|
|
319
|
+
Hp as Container,
|
|
318
320
|
St as ContentCopyIcon,
|
|
319
321
|
Dt as ContentCopyOutlineIcon,
|
|
320
322
|
yt as ContentCutIcon,
|
|
321
323
|
Ot as ContentPasteIcon,
|
|
322
324
|
ri as ConversionPathIcon,
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
325
|
+
Zf as CopyButton,
|
|
326
|
+
Jf as CopyWrapper,
|
|
327
|
+
Af as DND_HANDLE_COLUMN_ID,
|
|
326
328
|
F as DashboardViewIcon,
|
|
327
329
|
R as DashboardViewOutlineIcon,
|
|
328
330
|
cr as DeleteOutlineIcon,
|
|
@@ -341,16 +343,16 @@ export {
|
|
|
341
343
|
Ao as DropUpIcon,
|
|
342
344
|
yr as DvrIcon,
|
|
343
345
|
Ai as DvrIconOutline,
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
346
|
+
sc as DynamicToolbar,
|
|
347
|
+
Vf as DynamicToolbarLayoutContext,
|
|
348
|
+
Rf as EXPAND_COLUMN_ID,
|
|
347
349
|
Er as EarthIcon,
|
|
348
350
|
ye as EditNotesIcon,
|
|
349
351
|
em as EditSquareIcon,
|
|
350
352
|
tr as EmptyPageIcon,
|
|
351
353
|
Si as EnvelopeIcon,
|
|
352
354
|
Or as ErrorOutlineIcon,
|
|
353
|
-
|
|
355
|
+
qp as Fade,
|
|
354
356
|
Tr as FastCheckOutlineIcon,
|
|
355
357
|
Ti as FileDocIcon,
|
|
356
358
|
De as FileImageIcon,
|
|
@@ -363,7 +365,7 @@ export {
|
|
|
363
365
|
yo as FindReplacePeopleIcon,
|
|
364
366
|
yi as FingerprintIcon,
|
|
365
367
|
Dm as FormIcon,
|
|
366
|
-
|
|
368
|
+
Gp as FormLabel,
|
|
367
369
|
tt as FormatListBulletedIcon,
|
|
368
370
|
et as FormatListBulletedOutlineIcon,
|
|
369
371
|
ti as GraphIcon,
|
|
@@ -378,7 +380,7 @@ export {
|
|
|
378
380
|
de as HistoryToggleOffIcon,
|
|
379
381
|
Me as HubIcon,
|
|
380
382
|
we as HubIconFilled,
|
|
381
|
-
|
|
383
|
+
Mf as INTERNAL_COLUMN_IDS,
|
|
382
384
|
Jo as InboxOutboxIcon,
|
|
383
385
|
$o as InboxOutboxOutlineIcon,
|
|
384
386
|
Te as IndeterminateIcon,
|
|
@@ -391,21 +393,21 @@ export {
|
|
|
391
393
|
_r as ListSettingsLineIcon,
|
|
392
394
|
Mr as ListStatusIcon,
|
|
393
395
|
wr as ListViewOutlineIcon,
|
|
394
|
-
|
|
396
|
+
gf as Listbox,
|
|
395
397
|
Ue as LoadCurrentIcon,
|
|
396
398
|
To as LoadingIcon,
|
|
397
399
|
Om as LocationIcon,
|
|
398
400
|
Sr as LockIcon,
|
|
399
401
|
Mm as LoginIcon,
|
|
400
402
|
wm as LogoutIcon,
|
|
401
|
-
|
|
403
|
+
lc as MORE_BUTTON_PX,
|
|
402
404
|
Ae as ManageSearchIcon,
|
|
403
405
|
mo as MessageProcessingIcon,
|
|
404
406
|
io as MessageProcessingOutlineIcon,
|
|
405
407
|
rm as MessageReplyIcon,
|
|
406
408
|
Am as MicrosoftOutlookIcon,
|
|
407
|
-
|
|
408
|
-
|
|
409
|
+
Cc as MinimizableDialog,
|
|
410
|
+
gc as MinimizableDialogV2,
|
|
409
411
|
Jr as MinimizeIcon,
|
|
410
412
|
Xe as MoveUpIcon,
|
|
411
413
|
G as NewCalendarIcon,
|
|
@@ -416,8 +418,8 @@ export {
|
|
|
416
418
|
Kt as OutlineCheckboxIconChecked,
|
|
417
419
|
Jt as OutlineCheckboxIconIndeterminate,
|
|
418
420
|
zt as OutlineNotificationsIcon,
|
|
419
|
-
|
|
420
|
-
|
|
421
|
+
Bp as Paper,
|
|
422
|
+
kc as PathfinderCard,
|
|
421
423
|
P as PdfIcon,
|
|
422
424
|
zr as PencilOutlineIcon,
|
|
423
425
|
B as PeopleIcon,
|
|
@@ -431,8 +433,8 @@ export {
|
|
|
431
433
|
Sm as PinIcon,
|
|
432
434
|
pm as PlusIcon,
|
|
433
435
|
cm as PlusIconCircle,
|
|
434
|
-
|
|
435
|
-
|
|
436
|
+
Qp as Popper,
|
|
437
|
+
Pp as PopupState,
|
|
436
438
|
k as QnrIcon,
|
|
437
439
|
bt as RefreshIcon,
|
|
438
440
|
di as RemoveIcon,
|
|
@@ -443,11 +445,11 @@ export {
|
|
|
443
445
|
Ie as ResetSettingsIcon,
|
|
444
446
|
Ee as RocketLaunchIcon,
|
|
445
447
|
ze as RotateAutoIcon,
|
|
446
|
-
|
|
448
|
+
xf as RowDragHandleCell,
|
|
447
449
|
It as RuleIcon,
|
|
448
450
|
dt as RuleOutlineIcon,
|
|
449
|
-
|
|
450
|
-
|
|
451
|
+
vf as SELECT_COLUMN_ID,
|
|
452
|
+
wf as SHOW_FULL_TEXT_ID,
|
|
451
453
|
Ii as SaveIcon,
|
|
452
454
|
Lo as SearchIcon,
|
|
453
455
|
Nt as SendIcon,
|
|
@@ -456,65 +458,65 @@ export {
|
|
|
456
458
|
Lt as SettingsNoteIcon,
|
|
457
459
|
ao as SettingsOutlineIcon,
|
|
458
460
|
Ki as ShareIcon,
|
|
459
|
-
|
|
461
|
+
Vp as Skeleton,
|
|
460
462
|
te as SmsIcon,
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
463
|
+
vn as SnackbarProvider,
|
|
464
|
+
xp as Stack,
|
|
465
|
+
an as StyledAIDisclosure,
|
|
466
|
+
hf as StyledAccordion,
|
|
467
|
+
Pf as StyledAccordionDetails,
|
|
468
|
+
kf as StyledAccordionSummary,
|
|
469
|
+
Rn as StyledAlert,
|
|
468
470
|
f as StyledBadge,
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
471
|
+
un as StyledButton,
|
|
472
|
+
Je as StyledCheckbox,
|
|
473
|
+
Ze as StyledChip,
|
|
474
|
+
kp as StyledDatePicker,
|
|
475
|
+
sn as StyledDialog,
|
|
476
|
+
Cn as StyledDialogActions,
|
|
477
|
+
gn as StyledDialogContent,
|
|
478
|
+
hn as StyledDialogTitle,
|
|
479
|
+
hp as StyledDrawer,
|
|
480
|
+
sp as StyledDynamicSelect,
|
|
481
|
+
kn as StyledEmptyPage,
|
|
482
|
+
Xf as StyledFilterButton,
|
|
483
|
+
Kf as StyledFilterMenu,
|
|
484
|
+
Pn as StyledFilteredEmptyState,
|
|
485
|
+
gp as StyledFormControl,
|
|
486
|
+
rf as StyledFormControlLabel,
|
|
487
|
+
nf as StyledFormGroup,
|
|
488
|
+
op as StyledFormHelperText,
|
|
489
|
+
ln as StyledFormLabel,
|
|
490
|
+
Qn as StyledInputField,
|
|
491
|
+
tf as StyledInputLabel,
|
|
492
|
+
rn as StyledInteractiveChip,
|
|
493
|
+
up as StyledLabel,
|
|
494
|
+
uf as StyledLink,
|
|
495
|
+
Fn as StyledLoading,
|
|
496
|
+
lf as StyledMenu,
|
|
497
|
+
af as StyledMenuItem,
|
|
498
|
+
ff as StyledMenuList,
|
|
499
|
+
pc as StyledModuleTitle,
|
|
500
|
+
Cp as StyledPopover,
|
|
501
|
+
$e as StyledRadio,
|
|
502
|
+
ap as StyledRadioGroup,
|
|
503
|
+
jn as StyledSearchField,
|
|
504
|
+
mp as StyledSelect,
|
|
505
|
+
np as StyledSelectAutocomplete,
|
|
506
|
+
ip as StyledSelectItem,
|
|
507
|
+
fp as StyledSlider,
|
|
508
|
+
Bn as StyledSnackbar,
|
|
509
|
+
lp as StyledSwitch,
|
|
510
|
+
sf as StyledTab,
|
|
511
|
+
Hf as StyledTable,
|
|
512
|
+
Cf as StyledTabs,
|
|
513
|
+
Yn as StyledTextarea,
|
|
514
|
+
jp as StyledTimePicker,
|
|
515
|
+
tn as StyledTooltip,
|
|
516
|
+
fn as StyledTypography,
|
|
517
|
+
ec as StyledWidget,
|
|
518
|
+
tc as StyledWidgetHeader,
|
|
519
|
+
rc as StyledWidgetTitle,
|
|
518
520
|
Xt as SyncIcon,
|
|
519
521
|
Zi as SyncSavedLocallyIcon,
|
|
520
522
|
Nr as TextBoxCheckOutlineIcon,
|
|
@@ -526,8 +528,8 @@ export {
|
|
|
526
528
|
Ar as UnknownDocumentOutlineRoundedIcon,
|
|
527
529
|
Km as UnlockIcon,
|
|
528
530
|
Oi as UploadIcon,
|
|
529
|
-
|
|
530
|
-
|
|
531
|
+
$f as VirtualList,
|
|
532
|
+
nn as VirtualizedList,
|
|
531
533
|
re as VisibilityOffOutlineIcon,
|
|
532
534
|
$i as VisibilityOutlineIcon,
|
|
533
535
|
ce as WandStarsIcon,
|
|
@@ -535,28 +537,28 @@ export {
|
|
|
535
537
|
Ne as WidgetIcon,
|
|
536
538
|
_e as WidgetIconFilled,
|
|
537
539
|
ym as WorkIcon,
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
540
|
+
Tp as bindPopover,
|
|
541
|
+
Fp as bindPopper,
|
|
542
|
+
Ap as bindTrigger,
|
|
543
|
+
Gn as closeSnackbar,
|
|
542
544
|
m as cn,
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
545
|
+
Wf as createColumnHelper,
|
|
546
|
+
hc as createDialogStack,
|
|
547
|
+
Xn as enqueueSnackbar,
|
|
548
|
+
Ic as estimateToolbarActionWidth,
|
|
549
|
+
Bf as isCustomAction,
|
|
550
|
+
Vn as message,
|
|
549
551
|
i as omit,
|
|
550
|
-
|
|
551
|
-
|
|
552
|
+
ac as planBulkToolbarActions,
|
|
553
|
+
dc as planToolbarActions,
|
|
552
554
|
n as prepareForSlot,
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
555
|
+
xn as processAlertSnackBar,
|
|
556
|
+
Hn as processDefaultSnackbar,
|
|
557
|
+
Wn as processInfoSnackbar,
|
|
558
|
+
uc as resolveToolbarActionWidth,
|
|
559
|
+
Yp as setMidnightTime,
|
|
560
|
+
$p as setZeroTime,
|
|
561
|
+
zf as useDynamicToolbarLayout,
|
|
562
|
+
Rp as usePopupState,
|
|
563
|
+
qn as useSnackbar
|
|
562
564
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @figmaNode wXrXt5uKNNzV2DnQCgyYZH#33057-232886 (Design-System · "call")
|
|
4
|
+
*
|
|
5
|
+
* Material Symbols "call" (outlined). The exported glyph is 15×15 inside a 20px icon frame
|
|
6
|
+
* (12.5% inset), so it is placed on the shared 24×24 grid via `translate(3 3) scale(1.2)` —
|
|
7
|
+
* 15 × 1.2 = 18 units of glyph with a 3-unit inset, preserving the designed proportions.
|
|
8
|
+
*/
|
|
9
|
+
export declare function CallIcon(props: SVGProps<SVGSVGElement>): JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './CallIcon';
|
|
@@ -44,6 +44,34 @@ export declare const TOP_LAYER_RESET_STYLE: CSSProperties;
|
|
|
44
44
|
* body portal.
|
|
45
45
|
*/
|
|
46
46
|
export declare function getOpenModalDialogAncestor(node: unknown): HTMLElement | undefined;
|
|
47
|
+
declare global {
|
|
48
|
+
interface Window {
|
|
49
|
+
rawWindow?: Window;
|
|
50
|
+
__asmaOpenModalDialogRegistry__?: OpenModalDialogRegistry;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
interface OpenModalDialogRegistry {
|
|
54
|
+
dialogs: HTMLDialogElement[];
|
|
55
|
+
listeners: Set<() => void>;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Publish an open modal `<dialog>` as the current top-layer occupant. Call right after
|
|
59
|
+
* `showModal()`; the returned unregister must run before/as the dialog closes. `StyledDialog` wires
|
|
60
|
+
* this from the same layout effect that opens the dialog.
|
|
61
|
+
*/
|
|
62
|
+
export declare function registerOpenModalDialog(dialog: HTMLDialogElement): () => void;
|
|
63
|
+
/**
|
|
64
|
+
* The modal `<dialog>` currently at the top of the browser top layer, or `undefined` when no ui-core
|
|
65
|
+
* modal is open. Stale entries (a dialog torn down without its cleanup running) are skipped rather
|
|
66
|
+
* than trusted, so a missed unregister can never strand an overlay in a detached subtree.
|
|
67
|
+
*/
|
|
68
|
+
export declare function getTopmostOpenModalDialog(): HTMLDialogElement | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* Reactive {@link getTopmostOpenModalDialog} — re-renders the caller when a modal `<dialog>` opens or
|
|
71
|
+
* closes. Use as the portal root for an **anchorless** overlay that must clear an open modal
|
|
72
|
+
* (`SnackbarProvider`, `StyledSnackbar`); anchored overlays use {@link getOpenModalDialogAncestor}.
|
|
73
|
+
*/
|
|
74
|
+
export declare function useTopmostOpenModalDialog(): HTMLDialogElement | undefined;
|
|
47
75
|
/**
|
|
48
76
|
* `true` when the floating node should join the top layer via the Popover API.
|
|
49
77
|
* `false` when it is (or will be) portalled into an open modal `<dialog>` — see hook docs.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|