asma-ui-core 3.53.0 → 3.54.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.
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { cn as R } from "../../../helpers/cn.js";
|
|
2
|
+
import { ChevronDownIcon as B } from "../../icons/chevron-down-icon/ChevronDownIcon.js";
|
|
3
|
+
import { ChevronUpIcon as E } from "../../icons/chevron-up-icon/ChevronUpIcon.js";
|
|
4
|
+
import { useCallback as x, useEffect as k, useLayoutEffect as F, useMemo as y, useRef as g, useState as C, useSyncExternalStore as L } from "react";
|
|
5
|
+
import { Fragment as O, jsx as e, jsxs as b } from "react/jsx-runtime";
|
|
6
|
+
var j = typeof window < "u" ? F : k;
|
|
7
|
+
function D() {
|
|
8
|
+
const [n, t] = C(null), o = x((r) => {
|
|
9
|
+
t(r);
|
|
10
|
+
}, []), i = x(() => n ? Math.floor(n.getBoundingClientRect().width) : 0, [n]);
|
|
11
|
+
return {
|
|
12
|
+
ref: o,
|
|
13
|
+
width: L(x((r) => {
|
|
14
|
+
if (!n || typeof ResizeObserver > "u") return () => {
|
|
15
|
+
console.log("Node is missing or ResizeObserver is undefined");
|
|
16
|
+
};
|
|
17
|
+
let c = 0;
|
|
18
|
+
const d = new ResizeObserver(() => {
|
|
19
|
+
cancelAnimationFrame(c), c = requestAnimationFrame(r);
|
|
20
|
+
});
|
|
21
|
+
return d.observe(n), () => {
|
|
22
|
+
cancelAnimationFrame(c), d.disconnect();
|
|
23
|
+
};
|
|
24
|
+
}, [n]), i, () => 0)
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function I(n) {
|
|
28
|
+
return [...n].sort((t, o) => {
|
|
29
|
+
const i = t.order ?? 0, r = o.order ?? 0;
|
|
30
|
+
return i !== r ? i - r : t.id.localeCompare(o.id);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function P(n) {
|
|
34
|
+
const { items: t, leadSlot: o, actionSlot: i } = n, r = g({}), c = g(null), d = g(null), [l, p] = C({
|
|
35
|
+
itemWidths: {},
|
|
36
|
+
leadWidth: 0,
|
|
37
|
+
actionWidth: 0
|
|
38
|
+
}), h = g(l);
|
|
39
|
+
k(() => {
|
|
40
|
+
h.current = l;
|
|
41
|
+
}, [l]);
|
|
42
|
+
const f = x((a) => (m) => {
|
|
43
|
+
r.current[a] = m;
|
|
44
|
+
}, []);
|
|
45
|
+
return j(() => {
|
|
46
|
+
const a = {};
|
|
47
|
+
for (const u of t) {
|
|
48
|
+
const W = r.current[u.id], s = Math.ceil(W?.getBoundingClientRect().width ?? u.estimatedWidth ?? 0);
|
|
49
|
+
a[u.id] = s;
|
|
50
|
+
}
|
|
51
|
+
const m = o ? Math.ceil(c.current?.getBoundingClientRect().width ?? 0) : 0, w = i ? Math.ceil(d.current?.getBoundingClientRect().width ?? 0) : 0, v = h.current;
|
|
52
|
+
(!(Object.keys(v.itemWidths).length === Object.keys(a).length && t.every((u) => v.itemWidths[u.id] === a[u.id])) || v.leadWidth !== m || v.actionWidth !== w) && p({
|
|
53
|
+
itemWidths: a,
|
|
54
|
+
leadWidth: m,
|
|
55
|
+
actionWidth: w
|
|
56
|
+
});
|
|
57
|
+
}, [
|
|
58
|
+
t,
|
|
59
|
+
o,
|
|
60
|
+
i
|
|
61
|
+
]), {
|
|
62
|
+
measurements: l,
|
|
63
|
+
registerItemRef: f,
|
|
64
|
+
leadRef: c,
|
|
65
|
+
actionRef: d
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
function q(n) {
|
|
69
|
+
const { items: t, availableWidth: o, gapPx: i, itemWidths: r } = n, c = [];
|
|
70
|
+
let d = 0;
|
|
71
|
+
for (const l of I(t)) {
|
|
72
|
+
const p = Math.max(0, r[l.id] ?? l.estimatedWidth ?? 0), h = c.length === 0 ? p : d + i + p;
|
|
73
|
+
if (h > o) break;
|
|
74
|
+
c.push(l), d = h;
|
|
75
|
+
}
|
|
76
|
+
return c;
|
|
77
|
+
}
|
|
78
|
+
function N({ item: n, compact: t }) {
|
|
79
|
+
return /* @__PURE__ */ e(O, { children: n.render({ compact: t }) });
|
|
80
|
+
}
|
|
81
|
+
function J({ items: n, expanded: t, onToggleExpanded: o, leadSlot: i, actionSlot: r, className: c, leadReservePx: d = 140, actionReservePx: l = 44 }) {
|
|
82
|
+
const { ref: p, width: h } = D(), f = !t, a = y(() => I(n), [n]), { measurements: m, registerItemRef: w, leadRef: v, actionRef: u } = P({
|
|
83
|
+
items: a,
|
|
84
|
+
leadSlot: i,
|
|
85
|
+
actionSlot: r
|
|
86
|
+
}), W = y(() => {
|
|
87
|
+
if (t) return a;
|
|
88
|
+
const s = 24, M = 40, z = i ? Math.max(d, m.leadWidth + 12) : 0, A = r ? Math.max(l, m.actionWidth) : 0;
|
|
89
|
+
return q({
|
|
90
|
+
items: a,
|
|
91
|
+
availableWidth: Math.max(0, h - s - M - z - A - 24),
|
|
92
|
+
gapPx: 12,
|
|
93
|
+
itemWidths: m.itemWidths
|
|
94
|
+
});
|
|
95
|
+
}, [
|
|
96
|
+
t,
|
|
97
|
+
a,
|
|
98
|
+
h,
|
|
99
|
+
i,
|
|
100
|
+
r,
|
|
101
|
+
d,
|
|
102
|
+
l,
|
|
103
|
+
m
|
|
104
|
+
]);
|
|
105
|
+
return /* @__PURE__ */ b("div", {
|
|
106
|
+
ref: p,
|
|
107
|
+
className: R("relative border-2 border-solid border-gama-300 bg-gama-25 transition-all duration-300 ease-in-out", "rounded-[8px] min-[744px]:rounded-[100px]", f ? "overflow-hidden" : "overflow-visible", c),
|
|
108
|
+
"aria-expanded": t,
|
|
109
|
+
role: "button",
|
|
110
|
+
tabIndex: 0,
|
|
111
|
+
onClick: o,
|
|
112
|
+
onKeyDown: (s) => {
|
|
113
|
+
(s.key === "Enter" || s.key === " ") && (s.preventDefault(), o());
|
|
114
|
+
},
|
|
115
|
+
children: [
|
|
116
|
+
/* @__PURE__ */ b("div", {
|
|
117
|
+
className: R("flex min-w-0 items-center p-2", f ? "gap-y-0" : "gap-y-2"),
|
|
118
|
+
children: [i ? /* @__PURE__ */ e("div", {
|
|
119
|
+
className: "shrink-0",
|
|
120
|
+
children: i
|
|
121
|
+
}) : null, /* @__PURE__ */ e("div", {
|
|
122
|
+
className: "min-w-0 flex-1 px-4",
|
|
123
|
+
children: f ? /* @__PURE__ */ e("div", {
|
|
124
|
+
className: "flex min-w-0 flex-nowrap items-center gap-x-4 overflow-hidden whitespace-nowrap",
|
|
125
|
+
children: W.map((s) => /* @__PURE__ */ e("div", {
|
|
126
|
+
className: "shrink-0 whitespace-nowrap",
|
|
127
|
+
children: /* @__PURE__ */ e(N, {
|
|
128
|
+
item: s,
|
|
129
|
+
compact: f
|
|
130
|
+
})
|
|
131
|
+
}, s.id))
|
|
132
|
+
}) : /* @__PURE__ */ e("div", {
|
|
133
|
+
className: "flex min-w-0 flex-wrap items-center gap-x-3 gap-y-2 overflow-visible",
|
|
134
|
+
children: a.map((s) => /* @__PURE__ */ e("div", {
|
|
135
|
+
className: "shrink-0 whitespace-nowrap",
|
|
136
|
+
children: /* @__PURE__ */ e(N, {
|
|
137
|
+
item: s,
|
|
138
|
+
compact: f
|
|
139
|
+
})
|
|
140
|
+
}, s.id))
|
|
141
|
+
})
|
|
142
|
+
})]
|
|
143
|
+
}),
|
|
144
|
+
/* @__PURE__ */ e("div", {
|
|
145
|
+
className: "absolute right-4 top-1/2 z-20 flex-shrink-0 -translate-y-1/2 text-delta-700",
|
|
146
|
+
children: t ? /* @__PURE__ */ e(E, { className: "size-6" }) : /* @__PURE__ */ e(B, { className: "size-6" })
|
|
147
|
+
}),
|
|
148
|
+
/* @__PURE__ */ e("div", {
|
|
149
|
+
"aria-hidden": !0,
|
|
150
|
+
className: "pointer-events-none absolute left-0 top-0 -z-10 opacity-0",
|
|
151
|
+
children: /* @__PURE__ */ b("div", {
|
|
152
|
+
className: "flex min-w-0 flex-nowrap items-center gap-x-3 whitespace-nowrap",
|
|
153
|
+
children: [
|
|
154
|
+
i ? /* @__PURE__ */ e("div", {
|
|
155
|
+
className: "mr-3 shrink-0 pt-0.5",
|
|
156
|
+
children: /* @__PURE__ */ e("div", {
|
|
157
|
+
ref: v,
|
|
158
|
+
children: i
|
|
159
|
+
})
|
|
160
|
+
}) : null,
|
|
161
|
+
a.map((s) => /* @__PURE__ */ e("div", {
|
|
162
|
+
ref: w(s.id),
|
|
163
|
+
className: "shrink-0 whitespace-nowrap",
|
|
164
|
+
children: /* @__PURE__ */ e(N, {
|
|
165
|
+
item: s,
|
|
166
|
+
compact: !0
|
|
167
|
+
})
|
|
168
|
+
}, s.id)),
|
|
169
|
+
r ? /* @__PURE__ */ e("div", {
|
|
170
|
+
className: "shrink-0",
|
|
171
|
+
children: /* @__PURE__ */ e("div", {
|
|
172
|
+
ref: u,
|
|
173
|
+
children: r
|
|
174
|
+
})
|
|
175
|
+
}) : null
|
|
176
|
+
]
|
|
177
|
+
})
|
|
178
|
+
})
|
|
179
|
+
]
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
export {
|
|
183
|
+
J as PathfinderCard
|
|
184
|
+
};
|
|
@@ -1,39 +1,41 @@
|
|
|
1
|
-
import { cn as
|
|
2
|
-
import { resolveSx as
|
|
3
|
-
import { TOP_LAYER_PROPS as
|
|
4
|
-
import { useEffect as
|
|
5
|
-
import { jsx as
|
|
6
|
-
import { FloatingPortal as
|
|
7
|
-
var
|
|
1
|
+
import { cn as O } from "../../../helpers/cn.js";
|
|
2
|
+
import { resolveSx as c } from "../../../helpers/sx.js";
|
|
3
|
+
import { TOP_LAYER_PROPS as L, TOP_LAYER_RESET_STYLE as M, getOpenModalDialogAncestor as z, useTopLayerRef as D } from "../../../hooks/useTopLayer.hook.js";
|
|
4
|
+
import { useEffect as N, useMemo as k, useState as d } from "react";
|
|
5
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
6
|
+
import { FloatingPortal as C, autoUpdate as U, flip as Y, offset as H, shift as K, useDismiss as $, useFloating as j, useInteractions as I, useMergeRefs as q } from "@floating-ui/react";
|
|
7
|
+
var B = {
|
|
8
8
|
vertical: "bottom",
|
|
9
9
|
horizontal: "left"
|
|
10
|
-
},
|
|
10
|
+
}, G = {
|
|
11
11
|
vertical: "top",
|
|
12
12
|
horizontal: "left"
|
|
13
|
-
},
|
|
14
|
-
const
|
|
15
|
-
e && !
|
|
16
|
-
const
|
|
13
|
+
}, J = (e, o) => `${o.vertical === "bottom" ? "top" : o.vertical === "top" ? "bottom" : e.vertical === "top" ? "top" : "bottom"}${e.horizontal === "left" ? "-start" : e.horizontal === "right" ? "-end" : ""}`, te = ({ open: e, anchorEl: o, onClose: m, anchorOrigin: l = B, transformOrigin: n = G, id: v, className: g, sx: h, slotProps: r, onClick: y, children: R, keepMounted: P = !1 }) => {
|
|
14
|
+
const _ = k(() => J(l, n), [l, n]), [p, x] = d(e);
|
|
15
|
+
e && !p && x(!0);
|
|
16
|
+
const a = e || P && p, s = z(o), [f, w] = d(s);
|
|
17
|
+
o && f !== s && w(s);
|
|
18
|
+
const { refs: i, floatingStyles: S, context: T } = j({
|
|
17
19
|
open: e,
|
|
18
|
-
placement:
|
|
20
|
+
placement: _,
|
|
19
21
|
strategy: "fixed",
|
|
20
|
-
whileElementsMounted:
|
|
22
|
+
whileElementsMounted: U,
|
|
21
23
|
elements: { reference: o ?? void 0 },
|
|
22
24
|
middleware: [
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
H(4),
|
|
26
|
+
Y({ padding: 8 }),
|
|
27
|
+
K({ padding: 8 })
|
|
26
28
|
],
|
|
27
|
-
onOpenChange: (t,
|
|
28
|
-
t ||
|
|
29
|
+
onOpenChange: (t, E, F) => {
|
|
30
|
+
t || m?.(E ?? {}, F === "escape-key" ? "escapeKeyDown" : "backdropClick");
|
|
29
31
|
}
|
|
30
|
-
}), { getFloatingProps:
|
|
32
|
+
}), { getFloatingProps: b } = I([$(T, {
|
|
31
33
|
outsidePress: !0,
|
|
32
34
|
escapeKey: !0
|
|
33
|
-
})]),
|
|
34
|
-
return
|
|
35
|
-
if (!
|
|
36
|
-
const t =
|
|
35
|
+
})]), A = q([D(i.setFloating)]);
|
|
36
|
+
return N(() => {
|
|
37
|
+
if (!a) return;
|
|
38
|
+
const t = i.floating.current;
|
|
37
39
|
if (!(!t || typeof t.showPopover != "function"))
|
|
38
40
|
try {
|
|
39
41
|
e && !t.matches(":popover-open") && t.showPopover(), !e && t.matches(":popover-open") && t.hidePopover();
|
|
@@ -41,28 +43,28 @@ var I = {
|
|
|
41
43
|
}
|
|
42
44
|
}, [
|
|
43
45
|
e,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
]),
|
|
47
|
-
root:
|
|
48
|
-
children: /* @__PURE__ */
|
|
49
|
-
ref:
|
|
50
|
-
id:
|
|
51
|
-
...
|
|
46
|
+
a,
|
|
47
|
+
i.floating
|
|
48
|
+
]), a ? /* @__PURE__ */ u(C, {
|
|
49
|
+
root: f,
|
|
50
|
+
children: /* @__PURE__ */ u("div", {
|
|
51
|
+
ref: A,
|
|
52
|
+
id: v,
|
|
53
|
+
...L,
|
|
52
54
|
style: {
|
|
53
|
-
...
|
|
54
|
-
...e ?
|
|
55
|
-
...
|
|
56
|
-
...
|
|
57
|
-
...
|
|
55
|
+
...M,
|
|
56
|
+
...e ? S : {},
|
|
57
|
+
...c(h),
|
|
58
|
+
...c(r?.paper?.sx),
|
|
59
|
+
...r?.paper?.style,
|
|
58
60
|
...e ? null : { display: "none" }
|
|
59
61
|
},
|
|
60
|
-
...e ?
|
|
61
|
-
className:
|
|
62
|
-
children:
|
|
62
|
+
...e ? b({ onClick: y }) : {},
|
|
63
|
+
className: O("z-[1300] overflow-auto rounded bg-white shadow-[0px_1px_12px_0px_rgba(0,0,0,0.15)]", g ?? "my-1", r?.paper?.className),
|
|
64
|
+
children: R
|
|
63
65
|
})
|
|
64
66
|
}) : null;
|
|
65
67
|
};
|
|
66
68
|
export {
|
|
67
|
-
|
|
69
|
+
te as StyledPopover
|
|
68
70
|
};
|
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { ChevronLeftIcon as C } from "./components/icons/chevron-left-icon/Chevr
|
|
|
11
11
|
import { ChevronDoubleLeftIcon as g } from "./components/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.js";
|
|
12
12
|
import { ChevronDoubleRightIcon as h } from "./components/icons/chevron-double-right-icon/ChevronDoubleRightIcon.js";
|
|
13
13
|
import { QnrIcon as k } from "./components/icons/qnr-icon/QnrIcon.js";
|
|
14
|
-
import { PdfIcon as
|
|
14
|
+
import { PdfIcon as P } from "./components/icons/pdf-icon/PdfIcon.js";
|
|
15
15
|
import { DashboardViewIcon as F } from "./components/icons/dashboard-view-icon/DashboardViewIcon.js";
|
|
16
16
|
import { DashboardViewOutlineIcon as R } from "./components/icons/dashboard-view-outline-icon/DashboardViewOutlineIcon.js";
|
|
17
17
|
import { PeopleOutlineIcon as v } from "./components/icons/people-outline-icon/PeopleOutlineIcon.js";
|
|
@@ -38,7 +38,7 @@ import { PersonIcon as Oo } from "./components/icons/person-icon/PersonIcon.js";
|
|
|
38
38
|
import { PersonOutlineIcon as Do } from "./components/icons/person-outline-icon/PersonOutlineIcon.js";
|
|
39
39
|
import { DotsVerticalIcon as bo } from "./components/icons/dots-vertical-icon/DotsVerticalIcon.js";
|
|
40
40
|
import { SearchIcon as Lo } from "./components/icons/search-icon/SearchIcon.js";
|
|
41
|
-
import { LoadingIcon as
|
|
41
|
+
import { LoadingIcon as To } from "./components/icons/loading-icon/LoadingIcon.js";
|
|
42
42
|
import { DropUpIcon as Ao } from "./components/icons/drop-up-icon/DropUpIcon.js";
|
|
43
43
|
import { DropDownIcon as Mo } from "./components/icons/drop-down-icon/DropDownIcon.js";
|
|
44
44
|
import { ArchiveIcon as wo } from "./components/icons/archive-icon/ArchiveIcon.js";
|
|
@@ -65,7 +65,7 @@ import { ErrorOutlineIcon as Or } from "./components/icons/error-outline-icon/Er
|
|
|
65
65
|
import { ReplayIcon as Dr } from "./components/icons/replay-icon/ReplayIcon.js";
|
|
66
66
|
import { CalendarBlankOutlineIcon as br } from "./components/icons/calendar-blank-outline-icon/CalendarBlankOutlineIcon.js";
|
|
67
67
|
import { LinkOutlineIcon as Lr } from "./components/icons/link-outline-icon/LinkOutlineIcon.js";
|
|
68
|
-
import { FastCheckOutlineIcon as
|
|
68
|
+
import { FastCheckOutlineIcon as Tr } from "./components/icons/fast-check-outline-icon/FastCheckOutlineIcon.js";
|
|
69
69
|
import { UnknownDocumentOutlineRoundedIcon as Ar } from "./components/icons/unknown-document-outline-rounded-icon/UnknownDocumentOutlineRoundedIcon.js";
|
|
70
70
|
import { ListStatusIcon as Mr } from "./components/icons/list-status-icon/ListStatusIcon.js";
|
|
71
71
|
import { ListViewOutlineIcon as wr } from "./components/icons/list-view-outline-icon/ListViewOutlineIcon.js";
|
|
@@ -92,7 +92,7 @@ import { LocationIcon as Om } from "./components/icons/location-icon/LocationIco
|
|
|
92
92
|
import { FormIcon as Dm } from "./components/icons/form-icon/FormIcon.js";
|
|
93
93
|
import { RepeatOutlineIcon as bm } from "./components/icons/repeat-outline-icon/RepeatOutlineIcon.js";
|
|
94
94
|
import { ClockOutlineIcon as Lm } from "./components/icons/clock-outline-icon/ClockOutlineIcon.js";
|
|
95
|
-
import { TodayIcon as
|
|
95
|
+
import { TodayIcon as Tm } from "./components/icons/today-icon/TodayIcon.js";
|
|
96
96
|
import { MicrosoftOutlookIcon as Am } from "./components/icons/microsoft-outlook-icon/MicrosoftOutlookIcon.js";
|
|
97
97
|
import { LoginIcon as Mm } from "./components/icons/login-logout-icons/LoginIcon.js";
|
|
98
98
|
import { LogoutIcon as wm } from "./components/icons/login-logout-icons/LogoutIcon.js";
|
|
@@ -119,7 +119,7 @@ import { ContentPasteIcon as Ot } from "./components/icons/content-paste-icon/Co
|
|
|
119
119
|
import { ContentCopyOutlineIcon as Dt } from "./components/icons/content-copy-outline-icon/ContentCopyOutlineIcon.js";
|
|
120
120
|
import { RefreshIcon as bt } from "./components/icons/refresh-icon/RefreshIcon.js";
|
|
121
121
|
import { SettingsNoteIcon as Lt } from "./components/icons/settings-note-icon/SettingsNoteIcon.js";
|
|
122
|
-
import { InheritancePointerIcon as
|
|
122
|
+
import { InheritancePointerIcon as Tt } from "./components/icons/inheritance-pointer-icon/InheritancePointerIcon.js";
|
|
123
123
|
import { CloudDoneOutlineIcon as At } from "./components/icons/cloud-done-outline-icon/CloudDoneOutlineIcon.js";
|
|
124
124
|
import { CloudIcon as Mt } from "./components/icons/cloud-icon/CloudIcon.js";
|
|
125
125
|
import { AttachFileIcon as wt } from "./components/icons/attach-file-icon/AttachFileIcon.js";
|
|
@@ -146,7 +146,7 @@ import { UploadIcon as Oi } from "./components/icons/upload-icon/UploadIcon.js";
|
|
|
146
146
|
import { CancelOutlineIcon as Di } from "./components/icons/cancel-outline-icon/CancelOutlineIcon.js";
|
|
147
147
|
import { InfoOutlineIcon as bi } from "./components/icons/info-outline-icon/InfoOutlineIcon.js";
|
|
148
148
|
import { TuneIcon as Li } from "./components/icons/tune-icon/TuneIcon.js";
|
|
149
|
-
import { FileDocIcon as
|
|
149
|
+
import { FileDocIcon as Ti } from "./components/icons/file-doc-icon/FileDocIcon.js";
|
|
150
150
|
import { DvrIconOutline as Ai } from "./components/icons/dvr-icon-outline/DvrIconOutline.js";
|
|
151
151
|
import { BackupIcon as Mi } from "./components/icons/backup-icon/BackupIcon.js";
|
|
152
152
|
import { DownloadTrayIcon as wi } from "./components/icons/download-tray-icon/DownloadTrayIcon.js";
|
|
@@ -173,7 +173,7 @@ import { FileXlsIcon as Oe } from "./components/icons/file-xls-icon/FileXlsIcon.
|
|
|
173
173
|
import { FileImageIcon as De } from "./components/icons/file-image-icon/FileImageIcon.js";
|
|
174
174
|
import { DrawIcon as be } from "./components/icons/draw-icon/DrawIcon.js";
|
|
175
175
|
import { ArrowShrinkIcon as Le } from "./components/icons/arrow-shrink-icon/ArrowShrinkIcon.js";
|
|
176
|
-
import { IndeterminateIcon as
|
|
176
|
+
import { IndeterminateIcon as Te } from "./components/icons/indeterminate-icon/IndeterminateIcon.js";
|
|
177
177
|
import { ManageSearchIcon as Ae } from "./components/icons/manage-search-icon/ManageSearchIcon.js";
|
|
178
178
|
import { HubIcon as Me } from "./components/icons/hub-icon/HubIcon.js";
|
|
179
179
|
import { HubIconFilled as we } from "./components/icons/hub-icon/HubIconFilled.js";
|
|
@@ -199,7 +199,7 @@ import { StyledDialogContent as Cn } from "./components/feedback/dialog/StyledDi
|
|
|
199
199
|
import { StyledDialogTitle as gn } from "./components/feedback/dialog/StyledDialogTitle.js";
|
|
200
200
|
import { StyledEmptyPage as hn } from "./components/feedback/empty-page/StyledEmptyPage.js";
|
|
201
201
|
import { StyledFilteredEmptyState as kn } from "./components/feedback/filtered-empty-state/StyledFilteredEmptyState.js";
|
|
202
|
-
import { StyledLoading as
|
|
202
|
+
import { StyledLoading as Pn } from "./components/feedback/loading/StyledLoading.js";
|
|
203
203
|
import { StyledAlert as Fn } from "./components/feedback/snack-bar/StyledAlert.js";
|
|
204
204
|
import { SnackbarProvider as Rn } from "./components/feedback/snack-bar/SnackbarProvider.js";
|
|
205
205
|
import { StyledSnackbar as vn } from "./components/feedback/snack-bar/StyledSnackbar.js";
|
|
@@ -224,7 +224,7 @@ import { StyledPopover as sp } from "./components/utils/popover/StyledPopover.js
|
|
|
224
224
|
import { StyledFormControl as Cp } from "./components/miscellaneous/StyledFormControl.js";
|
|
225
225
|
import { StyledDrawer as gp } from "./components/navigation/drawer/StyledDrawer.js";
|
|
226
226
|
import { StyledDatePicker as hp } from "./datetime/components/date-picker/StyledDatePicker.js";
|
|
227
|
-
import { PopupState as kp, bindPopover as Lp, bindPopper as
|
|
227
|
+
import { PopupState as kp, bindPopover as Lp, bindPopper as Pp, bindTrigger as Tp, usePopupState as Fp } from "./hooks/usePopupState.js";
|
|
228
228
|
import { ClickAwayListener as Rp } from "./components/mui-compat/ClickAwayListener.js";
|
|
229
229
|
import { Paper as vp } from "./components/mui-compat/Paper.js";
|
|
230
230
|
import { Stack as Bp } from "./components/mui-compat/Stack.js";
|
|
@@ -249,7 +249,7 @@ import { Listbox as Cf } from "./components/navigation/listbox/Listbox.js";
|
|
|
249
249
|
import { StyledAccordion as gf } from "./components/utils/accordion/base-ui/StyledAccordion.js";
|
|
250
250
|
import { StyledAccordionSummary as hf } from "./components/utils/accordion/base-ui/StyledAccordionSummary.js";
|
|
251
251
|
import { StyledAccordionDetails as kf } from "./components/utils/accordion/base-ui/StyledAccordionDetails.js";
|
|
252
|
-
import { ACTIONS_COLUMN_ID as
|
|
252
|
+
import { ACTIONS_COLUMN_ID as Pf, DND_HANDLE_COLUMN_ID as Tf, EXPAND_COLUMN_ID as Ff, INTERNAL_COLUMN_IDS as Af, SELECT_COLUMN_ID as Rf, SHOW_FULL_TEXT_ID as Mf, isCustomAction as vf } from "./table/types.js";
|
|
253
253
|
import { RowDragHandleCell as Bf } from "./table/components/columns/dndHandleColumn.js";
|
|
254
254
|
import { StyledTable as xf } from "./table/components/StyledTableIndex.js";
|
|
255
255
|
import { createColumnHelper as Hf } from "./table/index.js";
|
|
@@ -268,8 +268,9 @@ import { DynamicToolbar as uc } from "./components/custom/module/header-layout/D
|
|
|
268
268
|
import { MinimizableDialog as sc } from "./components/feedback/minimizable-dialog/MinimizableDialog.js";
|
|
269
269
|
import { MinimizableDialogV2 as Cc } from "./components/feedback/minimizable-dialog/v2/MinimizableDialogV2.js";
|
|
270
270
|
import { createDialogStack as gc } from "./components/feedback/minimizable-dialog/stack/createDialogStack.js";
|
|
271
|
+
import { PathfinderCard as hc } from "./components/custom/pathfinder-card/PathfinderCard.js";
|
|
271
272
|
export {
|
|
272
|
-
|
|
273
|
+
Pf as ACTIONS_COLUMN_ID,
|
|
273
274
|
pc as ACTION_GAP_PX,
|
|
274
275
|
zi as AppRegistrationIcon,
|
|
275
276
|
wo as ArchiveIcon,
|
|
@@ -321,7 +322,7 @@ export {
|
|
|
321
322
|
ri as ConversionPathIcon,
|
|
322
323
|
Kf as CopyButton,
|
|
323
324
|
Zf as CopyWrapper,
|
|
324
|
-
|
|
325
|
+
Tf as DND_HANDLE_COLUMN_ID,
|
|
325
326
|
F as DashboardViewIcon,
|
|
326
327
|
R as DashboardViewOutlineIcon,
|
|
327
328
|
cr as DeleteOutlineIcon,
|
|
@@ -350,8 +351,8 @@ export {
|
|
|
350
351
|
Si as EnvelopeIcon,
|
|
351
352
|
Or as ErrorOutlineIcon,
|
|
352
353
|
Gp as Fade,
|
|
353
|
-
|
|
354
|
-
|
|
354
|
+
Tr as FastCheckOutlineIcon,
|
|
355
|
+
Ti as FileDocIcon,
|
|
355
356
|
De as FileImageIcon,
|
|
356
357
|
pr as FilePdfIcon,
|
|
357
358
|
_i as FileRtfIcon,
|
|
@@ -380,9 +381,9 @@ export {
|
|
|
380
381
|
Af as INTERNAL_COLUMN_IDS,
|
|
381
382
|
Jo as InboxOutboxIcon,
|
|
382
383
|
$o as InboxOutboxOutlineIcon,
|
|
383
|
-
|
|
384
|
+
Te as IndeterminateIcon,
|
|
384
385
|
bi as InfoOutlineIcon,
|
|
385
|
-
|
|
386
|
+
Tt as InheritancePointerIcon,
|
|
386
387
|
$r as KeyboardCapslockIcon,
|
|
387
388
|
Ei as LinkOffIcon,
|
|
388
389
|
Lr as LinkOutlineIcon,
|
|
@@ -392,7 +393,7 @@ export {
|
|
|
392
393
|
wr as ListViewOutlineIcon,
|
|
393
394
|
Cf as Listbox,
|
|
394
395
|
Ue as LoadCurrentIcon,
|
|
395
|
-
|
|
396
|
+
To as LoadingIcon,
|
|
396
397
|
Om as LocationIcon,
|
|
397
398
|
Sr as LockIcon,
|
|
398
399
|
Mm as LoginIcon,
|
|
@@ -416,7 +417,8 @@ export {
|
|
|
416
417
|
Jt as OutlineCheckboxIconIndeterminate,
|
|
417
418
|
zt as OutlineNotificationsIcon,
|
|
418
419
|
vp as Paper,
|
|
419
|
-
|
|
420
|
+
hc as PathfinderCard,
|
|
421
|
+
P as PdfIcon,
|
|
420
422
|
zr as PencilOutlineIcon,
|
|
421
423
|
B as PeopleIcon,
|
|
422
424
|
v as PeopleOutlineIcon,
|
|
@@ -488,7 +490,7 @@ export {
|
|
|
488
490
|
$e as StyledInteractiveChip,
|
|
489
491
|
ap as StyledLabel,
|
|
490
492
|
af as StyledLink,
|
|
491
|
-
|
|
493
|
+
Pn as StyledLoading,
|
|
492
494
|
ff as StyledMenu,
|
|
493
495
|
lf as StyledMenuItem,
|
|
494
496
|
nf as StyledMenuList,
|
|
@@ -518,7 +520,7 @@ export {
|
|
|
518
520
|
Nr as TextBoxCheckOutlineIcon,
|
|
519
521
|
pe as TimelapseOutlineIcon,
|
|
520
522
|
Nm as TimerIcon,
|
|
521
|
-
|
|
523
|
+
Tm as TodayIcon,
|
|
522
524
|
rr as TopicIcon,
|
|
523
525
|
Li as TuneIcon,
|
|
524
526
|
Ar as UnknownDocumentOutlineRoundedIcon,
|
|
@@ -534,8 +536,8 @@ export {
|
|
|
534
536
|
_e as WidgetIconFilled,
|
|
535
537
|
ym as WorkIcon,
|
|
536
538
|
Lp as bindPopover,
|
|
537
|
-
|
|
538
|
-
|
|
539
|
+
Pp as bindPopper,
|
|
540
|
+
Tp as bindTrigger,
|
|
539
541
|
Vn as closeSnackbar,
|
|
540
542
|
m as cn,
|
|
541
543
|
Hf as createColumnHelper,
|
package/dist/src/index.d.ts
CHANGED
|
@@ -51,5 +51,6 @@ export * from './components/custom/widget/widget/StyledWidget';
|
|
|
51
51
|
export * from './components/custom/module/module-title/StyledModuleTitle';
|
|
52
52
|
export * from './components/custom/module/header-layout';
|
|
53
53
|
export * from './components/feedback/minimizable-dialog';
|
|
54
|
+
export * from './components/custom/pathfinder-card/PathfinderCard';
|
|
54
55
|
export * from './hooks/usePopupState';
|
|
55
56
|
export { Paper, ClickAwayListener, Avatar, Skeleton, Container, Stack, FormLabel, Fade, Popper, } from './components/mui-compat';
|