@amateescu/portal-ui-components 0.0.47 → 0.0.49
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-DU079Glg.js +57 -0
- package/dist/{Button-Bx3LbSbV.js → Button-BgsadnaR.js} +13 -13
- package/dist/{ButtonBase-DV7q7wxh.js → ButtonBase-ugYh038t.js} +8 -8
- package/dist/{CheckBox-YBX2j1qt.js → CheckBox-D9YmAV-l.js} +1 -1
- package/dist/{CircularProgress-BXi3nXc9.js → CircularProgress-D1FWO7Cz.js} +1 -1
- package/dist/{Clear-Bz9hw2Wj.js → Clear-B32X2R1T.js} +1 -1
- package/dist/Close-IqnCWZPM.js +8 -0
- package/dist/{DefaultPropsProvider-ByENA_w0.js → DefaultPropsProvider-BQx1AiAq.js} +20 -19
- package/dist/ExpandMore-CHNJSd5N.js +8 -0
- package/dist/ListItem-1DiNy9oq.js +422 -0
- package/dist/ListItemText-VX0lo95z.js +434 -0
- package/dist/Modal-BnD35xWv.js +1325 -0
- package/dist/{Search-D_9Ptbky.js → Search-DnJ3yLMg.js} +1 -1
- package/dist/assets/PassportDateRangeWrapper.css +1 -1
- package/dist/assets/PassportFilter.css +1 -0
- package/dist/assets/PassportFilterDrawer.css +1 -0
- package/dist/assets/PassportFilterFreeTextFilter.css +1 -0
- package/dist/components/LoadingAnimation/LoadingAnimation.js +8 -60
- package/dist/components/Login/Login.js +1 -1
- package/dist/components/PassportButton/PassportButton.js +1 -1
- package/dist/components/PassportDatePicker/PassportDatePicker.js +21 -20
- package/dist/components/PassportDateTimePicker/PassportDateTimePicker.js +298 -291
- package/dist/components/PassportDatesFilter/PassportDatesFilter.js +24 -26
- package/dist/components/PassportFilter/PassportFilter.d.ts +5 -0
- package/dist/components/PassportFilter/PassportFilter.d.ts.map +1 -0
- package/dist/components/PassportFilter/PassportFilter.js +154 -0
- package/dist/components/PassportFilter/PassportFilter.stories.d.ts +13 -0
- package/dist/components/PassportFilter/PassportFilter.stories.d.ts.map +1 -0
- package/dist/components/PassportFilter/PassportFilter.types.d.ts +61 -0
- package/dist/components/PassportFilter/PassportFilter.types.d.ts.map +1 -0
- package/dist/components/PassportFilter/PassportFilter.types.js +5 -0
- package/dist/components/PassportFilter/PassportFilterDrawer/PassportFilterDrawer.d.ts +5 -0
- package/dist/components/PassportFilter/PassportFilterDrawer/PassportFilterDrawer.d.ts.map +1 -0
- package/dist/components/PassportFilter/PassportFilterDrawer/PassportFilterDrawer.js +756 -0
- package/dist/components/PassportFilter/PassportFilterDrawer/PassportFilterDrawer.types.d.ts +28 -0
- package/dist/components/PassportFilter/PassportFilterDrawer/PassportFilterDrawer.types.d.ts.map +1 -0
- package/dist/components/PassportFilter/PassportFilterDrawer/PassportFilterDrawer.types.js +1 -0
- package/dist/components/PassportFilter/PassportFilterFreeTextButtons/PassportFilterFreeTextButtons.d.ts +4 -0
- package/dist/components/PassportFilter/PassportFilterFreeTextButtons/PassportFilterFreeTextButtons.d.ts.map +1 -0
- package/dist/components/PassportFilter/PassportFilterFreeTextButtons/PassportFilterFreeTextButtons.js +94 -0
- package/dist/components/PassportFilter/PassportFilterFreeTextButtons/PassportFilterFreeTextButtons.types.d.ts +16 -0
- package/dist/components/PassportFilter/PassportFilterFreeTextButtons/PassportFilterFreeTextButtons.types.d.ts.map +1 -0
- package/dist/components/PassportFilter/PassportFilterFreeTextButtons/PassportFilterFreeTextButtons.types.js +1 -0
- package/dist/components/PassportFilter/PassportFilterFreeTextFilter/PassportFilterFreeTextFilter.d.ts +4 -0
- package/dist/components/PassportFilter/PassportFilterFreeTextFilter/PassportFilterFreeTextFilter.d.ts.map +1 -0
- package/dist/components/PassportFilter/PassportFilterFreeTextFilter/PassportFilterFreeTextFilter.js +736 -0
- package/dist/components/PassportFilter/PassportFilterFreeTextFilter/PassportFilterFreeTextFilter.types.d.ts +37 -0
- package/dist/components/PassportFilter/PassportFilterFreeTextFilter/PassportFilterFreeTextFilter.types.d.ts.map +1 -0
- package/dist/components/PassportFilter/PassportFilterFreeTextFilter/PassportFilterFreeTextFilter.types.js +1 -0
- package/dist/components/PassportFilter/PassportFilterSelectionList/PassportFilterSelectionList.d.ts +4 -0
- package/dist/components/PassportFilter/PassportFilterSelectionList/PassportFilterSelectionList.d.ts.map +1 -0
- package/dist/components/PassportFilter/PassportFilterSelectionList/PassportFilterSelectionList.js +180 -0
- package/dist/components/PassportFilter/PassportFilterSelectionList/PassportFilterSelectionList.types.d.ts +17 -0
- package/dist/components/PassportFilter/PassportFilterSelectionList/PassportFilterSelectionList.types.d.ts.map +1 -0
- package/dist/components/PassportFilter/PassportFilterSelectionList/PassportFilterSelectionList.types.js +1 -0
- package/dist/components/PassportInput/PassportInput.js +2 -2
- package/dist/components/PassportMultiSelect/PassportMultiSelect.js +1 -1
- package/dist/components/PassportPagination/PassportPagination.js +96 -94
- package/dist/components/PassportSearchableMultiSelect/PassportSearchableMultiSelect.js +1 -1
- package/dist/components/PassportSearchableMultiSelectDetailed/PassportSearchableMultiSelectDetailed.js +1 -1
- package/dist/components/PassportTreeSelect/PassportTreeSelect.js +82 -79
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +4 -2
- package/dist/{createSvgIcon-D5xeIEZ_.js → createSvgIcon-Crk7qT6j.js} +1 -1
- package/dist/{extendSxProp-BtJlbIOl.js → extendSxProp-BHclE0DL.js} +1 -1
- package/dist/getReactElementRef-CIbXfZbo.js +45 -0
- package/dist/index-DfCFE9GG.js +9 -0
- package/dist/listItemButtonClasses-BLTBU8Yh.js +476 -0
- package/dist/listItemIconClasses-B_UAYnw7.js +9 -0
- package/dist/listItemTextClasses-D5in-Wsc.js +9 -0
- package/dist/main.js +41 -37
- package/dist/portal-utils/arrays.d.ts +2 -0
- package/dist/portal-utils/arrays.d.ts.map +1 -0
- package/dist/portal-utils/arrays.js +10 -0
- package/dist/portal-utils/index.d.ts +1 -0
- package/dist/portal-utils/index.d.ts.map +1 -1
- package/dist/portal-utils/index.js +17 -15
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/useControlled-D1L5tREc.js +31 -0
- package/dist/useFormControl-Ivp9nwoj.js +53 -0
- package/dist/{useMobilePicker-CFsW9hUG.js → useMobilePicker-BombQ5QA.js} +5381 -7587
- package/dist/useSlot-B1oIMjd_.js +126 -0
- package/dist/useTheme-9dlwNzrD.js +10 -0
- package/dist/{useTheme-Cz8ZipjJ.js → useTheme-Dxbczges.js} +3 -3
- package/dist/useThemeProps-j6Er0aGl.js +27 -0
- package/dist/{useFormControl-MVwkyimi.js → utils-6k-H8qFR.js} +155 -231
- package/package.json +1 -1
- package/dist/useSlot-Bm5YJQBR.js +0 -160
|
@@ -2,18 +2,21 @@ import { jsx as v, jsxs as Y, Fragment as mn } from "react/jsx-runtime";
|
|
|
2
2
|
import * as M from "react";
|
|
3
3
|
import $e, { useState as We, useRef as gt, useMemo as Ke, useEffect as bt, useCallback as St } from "react";
|
|
4
4
|
import { FormControl as In, InputLabel as gn, OutlinedInput as bn, InputAdornment as yt, IconButton as Sn, Box as fe, Chip as xt, Collapse as yn, Paper as xn, TextField as En, Typography as Ue, Checkbox as Cn } from "@mui/material";
|
|
5
|
-
import { S as vn } from "../../Search-
|
|
6
|
-
import {
|
|
7
|
-
import { C as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { u as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
5
|
+
import { S as vn } from "../../Search-DnJ3yLMg.js";
|
|
6
|
+
import { E as wn } from "../../ExpandMore-CHNJSd5N.js";
|
|
7
|
+
import { C as Tn } from "../../Clear-B32X2R1T.js";
|
|
8
|
+
import { b as Be, c as S, f as kn, a as On, e as Mn, B as Pn, r as Rn } from "../../ButtonBase-ugYh038t.js";
|
|
9
|
+
import { b as Ee, g as Ce, P as i, s as G, f as ve, u as Kt, x as Ln, c as Q, m as Ut, e as ye, r as Ht, w as st, q as be } from "../../DefaultPropsProvider-BQx1AiAq.js";
|
|
10
|
+
import { u as Dn, b as te, c as _n, a as An } from "../../useFormControl-Ivp9nwoj.js";
|
|
11
|
+
import { u as Nn } from "../../index-DfCFE9GG.js";
|
|
12
|
+
import { u as Ie, e as re, r as Et } from "../../useSlot-B1oIMjd_.js";
|
|
13
|
+
import { c as we } from "../../createSvgIcon-Crk7qT6j.js";
|
|
14
|
+
import { u as Fn } from "../../useControlled-D1L5tREc.js";
|
|
15
|
+
import { c as Ct } from "../../createSimplePaletteValueFilter-Bz8RuRaa.js";
|
|
16
|
+
import { T as Vn, g as vt, m as zn } from "../../utils-6k-H8qFR.js";
|
|
17
|
+
import { C as jn } from "../../CircularProgress-D1FWO7Cz.js";
|
|
18
|
+
import { u as $n } from "../../useTheme-9dlwNzrD.js";
|
|
19
|
+
const wt = {};
|
|
17
20
|
function it(t, e) {
|
|
18
21
|
const n = M.useRef(wt);
|
|
19
22
|
return n.current === wt && (n.current = t(e)), n;
|
|
@@ -84,15 +87,15 @@ function et(t, e = "warning") {
|
|
|
84
87
|
Tt.has(n) || (Tt.add(n), e === "error" ? console.error(n) : console.warn(n));
|
|
85
88
|
}
|
|
86
89
|
function qt(t) {
|
|
87
|
-
return
|
|
90
|
+
return Dn;
|
|
88
91
|
}
|
|
89
92
|
function Un(t) {
|
|
90
|
-
return
|
|
93
|
+
return Ee("MuiSimpleTreeView", t);
|
|
91
94
|
}
|
|
92
|
-
|
|
93
|
-
const tt = Object.freeze([]),
|
|
95
|
+
Ce("MuiSimpleTreeView", ["root", "item", "itemContent", "itemGroupTransition", "itemIconContainer", "itemLabel", "itemCheckbox"]);
|
|
96
|
+
const tt = Object.freeze([]), Se = Object.freeze({}), lt = /* @__PURE__ */ M.createContext(null);
|
|
94
97
|
process.env.NODE_ENV !== "production" && (lt.displayName = "TreeViewContext");
|
|
95
|
-
const
|
|
98
|
+
const ge = () => {
|
|
96
99
|
const t = M.useContext(lt);
|
|
97
100
|
if (t == null)
|
|
98
101
|
throw new Error(["MUI X: Could not find the Tree View context.", "It looks like you rendered your component outside of a SimpleTreeView or RichTreeView parent component.", "This can also happen if you are bundling multiple versions of the Tree View."].join(`
|
|
@@ -170,9 +173,9 @@ function Gn(t) {
|
|
|
170
173
|
store: e,
|
|
171
174
|
apiRef: n,
|
|
172
175
|
rootRef: o,
|
|
173
|
-
classes: r =
|
|
174
|
-
slots: s =
|
|
175
|
-
slotProps: l =
|
|
176
|
+
classes: r = Se,
|
|
177
|
+
slots: s = Se,
|
|
178
|
+
slotProps: l = Se,
|
|
176
179
|
children: a
|
|
177
180
|
} = t, h = Hn({
|
|
178
181
|
store: e,
|
|
@@ -1352,7 +1355,7 @@ const Yt = Te((t) => t.selectedItems, (t) => Array.isArray(t) ? t : t != null ?
|
|
|
1352
1355
|
itemId: e
|
|
1353
1356
|
} = t, {
|
|
1354
1357
|
store: n
|
|
1355
|
-
} =
|
|
1358
|
+
} = ge(), o = W(n, N.isCheckboxSelectionEnabled), r = W(n, N.isFeatureEnabledForItem, e), s = W(n, N.canItemBeSelected, e), l = W(n, Lo, e);
|
|
1356
1359
|
return {
|
|
1357
1360
|
propsEnhancers: {
|
|
1358
1361
|
root: () => {
|
|
@@ -1514,7 +1517,7 @@ class No {
|
|
|
1514
1517
|
}
|
|
1515
1518
|
setSelectedItems = (e, n, o) => {
|
|
1516
1519
|
const {
|
|
1517
|
-
selectionPropagation: r =
|
|
1520
|
+
selectionPropagation: r = Se,
|
|
1518
1521
|
selectedItems: s,
|
|
1519
1522
|
onItemSelectionToggle: l,
|
|
1520
1523
|
onSelectedItemsChange: a
|
|
@@ -1735,7 +1738,7 @@ function pt(t) {
|
|
|
1735
1738
|
} = t, {
|
|
1736
1739
|
store: r,
|
|
1737
1740
|
rootRef: s
|
|
1738
|
-
} =
|
|
1741
|
+
} = ge(), l = M.useRef(/* @__PURE__ */ new Map());
|
|
1739
1742
|
M.useEffect(() => {
|
|
1740
1743
|
if (!s.current)
|
|
1741
1744
|
return;
|
|
@@ -1762,15 +1765,15 @@ process.env.NODE_ENV !== "production" && (pt.propTypes = {
|
|
|
1762
1765
|
children: i.node,
|
|
1763
1766
|
id: i.string
|
|
1764
1767
|
});
|
|
1765
|
-
const
|
|
1766
|
-
process.env.NODE_ENV !== "production" && (
|
|
1768
|
+
const xe = /* @__PURE__ */ M.createContext(() => -1);
|
|
1769
|
+
process.env.NODE_ENV !== "production" && (xe.displayName = "TreeViewItemDepthContext");
|
|
1767
1770
|
const jo = () => {
|
|
1768
1771
|
}, rt = typeof document < "u" ? M.useLayoutEffect : jo, $o = [];
|
|
1769
1772
|
function Bo(t) {
|
|
1770
1773
|
M.useEffect(t, $o);
|
|
1771
1774
|
}
|
|
1772
1775
|
function Wo(t, e) {
|
|
1773
|
-
const n =
|
|
1776
|
+
const n = Nn(), o = it(() => new t(S({}, e, {
|
|
1774
1777
|
isRtl: n
|
|
1775
1778
|
}))).current;
|
|
1776
1779
|
return rt(() => o.updateStateFromParameters(S({}, e, {
|
|
@@ -1837,7 +1840,7 @@ function on(t) {
|
|
|
1837
1840
|
disableSelection: t.disableSelection ?? !1,
|
|
1838
1841
|
multiSelect: t.multiSelect ?? !1,
|
|
1839
1842
|
checkboxSelection: t.checkboxSelection ?? !1,
|
|
1840
|
-
selectionPropagation: t.selectionPropagation ??
|
|
1843
|
+
selectionPropagation: t.selectionPropagation ?? Se
|
|
1841
1844
|
};
|
|
1842
1845
|
}
|
|
1843
1846
|
function zt(t, e, n) {
|
|
@@ -2340,7 +2343,7 @@ const Wt = {
|
|
|
2340
2343
|
const {
|
|
2341
2344
|
store: n,
|
|
2342
2345
|
publicAPI: o
|
|
2343
|
-
} =
|
|
2346
|
+
} = ge(), r = W(n, H.isItemExpandable, t), s = W(n, Wt.isItemLoading, t), l = W(n, Wt.itemHasError, t), a = ft(e) || r, h = W(n, H.isItemExpanded, t), d = W(n, de.isItemFocused, t), c = W(n, N.isItemSelected, t), p = W(n, y.isItemDisabled, t), f = W(n, me.isItemBeingEdited, t), u = W(n, me.isItemEditable, t), m = {
|
|
2344
2347
|
expandable: a,
|
|
2345
2348
|
expanded: h,
|
|
2346
2349
|
focused: d,
|
|
@@ -2405,7 +2408,7 @@ const Wt = {
|
|
|
2405
2408
|
}) => {
|
|
2406
2409
|
const {
|
|
2407
2410
|
store: o
|
|
2408
|
-
} =
|
|
2411
|
+
} = ge(), {
|
|
2409
2412
|
children: r,
|
|
2410
2413
|
disabled: s = !1,
|
|
2411
2414
|
disableSelection: l = !1,
|
|
@@ -2442,11 +2445,11 @@ const Wt = {
|
|
|
2442
2445
|
itemId: e,
|
|
2443
2446
|
idAttribute: n
|
|
2444
2447
|
}) => {
|
|
2445
|
-
const o = M.useContext(
|
|
2448
|
+
const o = M.useContext(xe);
|
|
2446
2449
|
return /* @__PURE__ */ v(pt, {
|
|
2447
2450
|
itemId: e,
|
|
2448
2451
|
idAttribute: n,
|
|
2449
|
-
children: /* @__PURE__ */ v(
|
|
2452
|
+
children: /* @__PURE__ */ v(xe.Provider, {
|
|
2450
2453
|
value: o + 1,
|
|
2451
2454
|
children: t
|
|
2452
2455
|
})
|
|
@@ -2538,7 +2541,7 @@ const ar = qt(), cr = (t) => {
|
|
|
2538
2541
|
const {
|
|
2539
2542
|
classes: e
|
|
2540
2543
|
} = t;
|
|
2541
|
-
return M.useMemo(() =>
|
|
2544
|
+
return M.useMemo(() => ve({
|
|
2542
2545
|
root: ["root"],
|
|
2543
2546
|
item: ["item"],
|
|
2544
2547
|
itemContent: ["itemContent"],
|
|
@@ -2588,7 +2591,7 @@ const ar = qt(), cr = (t) => {
|
|
|
2588
2591
|
children: /* @__PURE__ */ v(pt, {
|
|
2589
2592
|
itemId: null,
|
|
2590
2593
|
idAttribute: null,
|
|
2591
|
-
children: /* @__PURE__ */ v(
|
|
2594
|
+
children: /* @__PURE__ */ v(xe.Provider, {
|
|
2592
2595
|
value: 0,
|
|
2593
2596
|
children: /* @__PURE__ */ v(m, S({}, I))
|
|
2594
2597
|
})
|
|
@@ -2758,9 +2761,9 @@ process.env.NODE_ENV !== "production" && (ht.propTypes = {
|
|
|
2758
2761
|
sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object])
|
|
2759
2762
|
});
|
|
2760
2763
|
function ur(t) {
|
|
2761
|
-
return
|
|
2764
|
+
return Ee("MuiCollapse", t);
|
|
2762
2765
|
}
|
|
2763
|
-
|
|
2766
|
+
Ce("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidden", "wrapper", "wrapperInner"]);
|
|
2764
2767
|
const pr = (t) => {
|
|
2765
2768
|
const {
|
|
2766
2769
|
orientation: e,
|
|
@@ -2772,7 +2775,7 @@ const pr = (t) => {
|
|
|
2772
2775
|
wrapper: ["wrapper", `${e}`],
|
|
2773
2776
|
wrapperInner: ["wrapperInner", `${e}`]
|
|
2774
2777
|
};
|
|
2775
|
-
return
|
|
2778
|
+
return ve(o, ur, n);
|
|
2776
2779
|
}, fr = G("div", {
|
|
2777
2780
|
name: "MuiCollapse",
|
|
2778
2781
|
slot: "Root",
|
|
@@ -2873,15 +2876,15 @@ const pr = (t) => {
|
|
|
2873
2876
|
slots: w = {},
|
|
2874
2877
|
slotProps: _ = {},
|
|
2875
2878
|
style: R,
|
|
2876
|
-
timeout: F =
|
|
2879
|
+
timeout: F = Ln.standard,
|
|
2877
2880
|
// eslint-disable-next-line react/prop-types
|
|
2878
|
-
TransitionComponent: C =
|
|
2881
|
+
TransitionComponent: C = Vn,
|
|
2879
2882
|
...D
|
|
2880
2883
|
} = o, V = {
|
|
2881
2884
|
...o,
|
|
2882
2885
|
orientation: x,
|
|
2883
2886
|
collapsedSize: a
|
|
2884
|
-
}, j = pr(V), E =
|
|
2887
|
+
}, j = pr(V), E = $n(), k = kn(), O = M.useRef(null), A = M.useRef(), L = typeof a == "number" ? `${a}px` : a, $ = x === "horizontal", B = $ ? "width" : "height", J = M.useRef(null), Z = On(n, J), q = (z) => (ne) => {
|
|
2885
2888
|
if (z) {
|
|
2886
2889
|
const oe = J.current;
|
|
2887
2890
|
ne === void 0 ? z(oe) : z(oe, ne);
|
|
@@ -2894,7 +2897,7 @@ const pr = (t) => {
|
|
|
2894
2897
|
const {
|
|
2895
2898
|
duration: le,
|
|
2896
2899
|
easing: Me
|
|
2897
|
-
} =
|
|
2900
|
+
} = vt({
|
|
2898
2901
|
style: R,
|
|
2899
2902
|
timeout: F,
|
|
2900
2903
|
easing: d
|
|
@@ -2915,7 +2918,7 @@ const pr = (t) => {
|
|
|
2915
2918
|
const ne = ie(), {
|
|
2916
2919
|
duration: oe,
|
|
2917
2920
|
easing: le
|
|
2918
|
-
} =
|
|
2921
|
+
} = vt({
|
|
2919
2922
|
style: R,
|
|
2920
2923
|
timeout: F,
|
|
2921
2924
|
easing: d
|
|
@@ -3031,7 +3034,7 @@ process.env.NODE_ENV !== "production" && (je.propTypes = {
|
|
|
3031
3034
|
* The component used for the root node.
|
|
3032
3035
|
* Either a string to use a HTML element or a component.
|
|
3033
3036
|
*/
|
|
3034
|
-
component:
|
|
3037
|
+
component: Mn,
|
|
3035
3038
|
/**
|
|
3036
3039
|
* The transition timing function.
|
|
3037
3040
|
* You may specify a single easing or a object containing enter and exit values.
|
|
@@ -3114,9 +3117,9 @@ process.env.NODE_ENV !== "production" && (je.propTypes = {
|
|
|
3114
3117
|
});
|
|
3115
3118
|
je && (je.muiSupportAuto = !0);
|
|
3116
3119
|
function Ir(t) {
|
|
3117
|
-
return
|
|
3120
|
+
return Ee("PrivateSwitchBase", t);
|
|
3118
3121
|
}
|
|
3119
|
-
|
|
3122
|
+
Ce("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
|
|
3120
3123
|
const gr = (t) => {
|
|
3121
3124
|
const {
|
|
3122
3125
|
classes: e,
|
|
@@ -3124,11 +3127,11 @@ const gr = (t) => {
|
|
|
3124
3127
|
disabled: o,
|
|
3125
3128
|
edge: r
|
|
3126
3129
|
} = t, s = {
|
|
3127
|
-
root: ["root", n && "checked", o && "disabled", r && `edge${
|
|
3130
|
+
root: ["root", n && "checked", o && "disabled", r && `edge${ye(r)}`],
|
|
3128
3131
|
input: ["input"]
|
|
3129
3132
|
};
|
|
3130
|
-
return
|
|
3131
|
-
}, br = G(
|
|
3133
|
+
return ve(s, Ir, e);
|
|
3134
|
+
}, br = G(Pn, {
|
|
3132
3135
|
name: "MuiSwitchBase"
|
|
3133
3136
|
})({
|
|
3134
3137
|
padding: 9,
|
|
@@ -3205,12 +3208,12 @@ const gr = (t) => {
|
|
|
3205
3208
|
slots: D = {},
|
|
3206
3209
|
slotProps: V = {},
|
|
3207
3210
|
...j
|
|
3208
|
-
} = e, [E, k] =
|
|
3211
|
+
} = e, [E, k] = Fn({
|
|
3209
3212
|
controlled: r,
|
|
3210
3213
|
default: !!l,
|
|
3211
3214
|
name: "SwitchBase",
|
|
3212
3215
|
state: "checked"
|
|
3213
|
-
}), O =
|
|
3216
|
+
}), O = _n(), A = (K) => {
|
|
3214
3217
|
x && x(K), O && O.onFocus && O.onFocus(K);
|
|
3215
3218
|
}, L = (K) => {
|
|
3216
3219
|
I && I(K), O && O.onBlur && O.onBlur(K);
|
|
@@ -3353,7 +3356,7 @@ process.env.NODE_ENV !== "production" && (sn.propTypes = {
|
|
|
3353
3356
|
/**
|
|
3354
3357
|
* Pass a ref to the `input` element.
|
|
3355
3358
|
*/
|
|
3356
|
-
inputRef:
|
|
3359
|
+
inputRef: Rn,
|
|
3357
3360
|
/*
|
|
3358
3361
|
* @ignore
|
|
3359
3362
|
*/
|
|
@@ -3415,25 +3418,25 @@ process.env.NODE_ENV !== "production" && (sn.propTypes = {
|
|
|
3415
3418
|
*/
|
|
3416
3419
|
value: i.any
|
|
3417
3420
|
});
|
|
3418
|
-
const yr =
|
|
3421
|
+
const yr = we(/* @__PURE__ */ v("path", {
|
|
3419
3422
|
d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
|
3420
|
-
}), "CheckBoxOutlineBlank"), xr =
|
|
3423
|
+
}), "CheckBoxOutlineBlank"), xr = we(/* @__PURE__ */ v("path", {
|
|
3421
3424
|
d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
|
|
3422
|
-
}), "CheckBox"), Er =
|
|
3425
|
+
}), "CheckBox"), Er = we(/* @__PURE__ */ v("path", {
|
|
3423
3426
|
d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
|
|
3424
3427
|
}), "IndeterminateCheckBox");
|
|
3425
3428
|
function Cr(t) {
|
|
3426
|
-
return
|
|
3429
|
+
return Ee("MuiCheckbox", t);
|
|
3427
3430
|
}
|
|
3428
|
-
const Ye =
|
|
3431
|
+
const Ye = Ce("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]), vr = (t) => {
|
|
3429
3432
|
const {
|
|
3430
3433
|
classes: e,
|
|
3431
3434
|
indeterminate: n,
|
|
3432
3435
|
color: o,
|
|
3433
3436
|
size: r
|
|
3434
3437
|
} = t, s = {
|
|
3435
|
-
root: ["root", n && "indeterminate", `color${
|
|
3436
|
-
}, l =
|
|
3438
|
+
root: ["root", n && "indeterminate", `color${ye(o)}`, `size${ye(r)}`]
|
|
3439
|
+
}, l = ve(s, Cr, e);
|
|
3437
3440
|
return {
|
|
3438
3441
|
...e,
|
|
3439
3442
|
// forward the disabled and checked classes to the SwitchBase
|
|
@@ -3447,7 +3450,7 @@ const Ye = ve("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "c
|
|
|
3447
3450
|
const {
|
|
3448
3451
|
ownerState: n
|
|
3449
3452
|
} = t;
|
|
3450
|
-
return [e.root, n.indeterminate && e.indeterminate, e[`size${
|
|
3453
|
+
return [e.root, n.indeterminate && e.indeterminate, e[`size${ye(n.size)}`], n.color !== "default" && e[`color${ye(n.color)}`]];
|
|
3451
3454
|
}
|
|
3452
3455
|
})(Ut(({
|
|
3453
3456
|
theme: t
|
|
@@ -3463,7 +3466,7 @@ const Ye = ve("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "c
|
|
|
3463
3466
|
backgroundColor: t.alpha((t.vars || t).palette.action.active, (t.vars || t).palette.action.hoverOpacity)
|
|
3464
3467
|
}
|
|
3465
3468
|
}
|
|
3466
|
-
}, ...Object.entries(t.palette).filter(
|
|
3469
|
+
}, ...Object.entries(t.palette).filter(Ct()).map(([e]) => ({
|
|
3467
3470
|
props: {
|
|
3468
3471
|
color: e,
|
|
3469
3472
|
disableRipple: !1
|
|
@@ -3473,7 +3476,7 @@ const Ye = ve("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "c
|
|
|
3473
3476
|
backgroundColor: t.alpha((t.vars || t).palette[e].main, (t.vars || t).palette.action.hoverOpacity)
|
|
3474
3477
|
}
|
|
3475
3478
|
}
|
|
3476
|
-
})), ...Object.entries(t.palette).filter(
|
|
3479
|
+
})), ...Object.entries(t.palette).filter(Ct()).map(([e]) => ({
|
|
3477
3480
|
props: {
|
|
3478
3481
|
color: e
|
|
3479
3482
|
},
|
|
@@ -3544,7 +3547,7 @@ const Ye = ve("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "c
|
|
|
3544
3547
|
disableRipple: p,
|
|
3545
3548
|
slots: u,
|
|
3546
3549
|
slotProps: {
|
|
3547
|
-
input:
|
|
3550
|
+
input: zn(typeof R == "function" ? R(w) : R, {
|
|
3548
3551
|
"data-indeterminate": a
|
|
3549
3552
|
})
|
|
3550
3553
|
}
|
|
@@ -3674,7 +3677,7 @@ const Mr = (t, e, n) => typeof n == "function" ? n(t, e) : n, Pr = (t) => {
|
|
|
3674
3677
|
runItemPlugins: e,
|
|
3675
3678
|
publicAPI: n,
|
|
3676
3679
|
store: o
|
|
3677
|
-
} =
|
|
3680
|
+
} = ge(), r = M.useContext(xe), s = W(o, Mr, t.itemId, r), {
|
|
3678
3681
|
id: l,
|
|
3679
3682
|
itemId: a,
|
|
3680
3683
|
label: h,
|
|
@@ -3818,9 +3821,9 @@ const Mr = (t, e, n) => typeof n == "function" ? n(t, e) : n, Pr = (t) => {
|
|
|
3818
3821
|
};
|
|
3819
3822
|
};
|
|
3820
3823
|
function Rr(t) {
|
|
3821
|
-
return
|
|
3824
|
+
return Ee("MuiTreeItem", t);
|
|
3822
3825
|
}
|
|
3823
|
-
|
|
3826
|
+
Ce("MuiTreeItem", [
|
|
3824
3827
|
"root",
|
|
3825
3828
|
"content",
|
|
3826
3829
|
"groupTransition",
|
|
@@ -3839,9 +3842,9 @@ ve("MuiTreeItem", [
|
|
|
3839
3842
|
"editable",
|
|
3840
3843
|
"editing"
|
|
3841
3844
|
]);
|
|
3842
|
-
const Lr =
|
|
3845
|
+
const Lr = we(/* @__PURE__ */ v("path", {
|
|
3843
3846
|
d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
|
|
3844
|
-
}), "TreeViewExpandIcon"), Dr =
|
|
3847
|
+
}), "TreeViewExpandIcon"), Dr = we(/* @__PURE__ */ v("path", {
|
|
3845
3848
|
d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
|
|
3846
3849
|
}), "TreeViewCollapseIcon"), _r = ["ownerState"];
|
|
3847
3850
|
function Ze(t, e, n) {
|
|
@@ -3865,7 +3868,7 @@ function an(t) {
|
|
|
3865
3868
|
l?.icon ? a = "icon" : o.expandable ? o.expanded ? a = "collapseIcon" : a = "expandIcon" : a = "endIcon";
|
|
3866
3869
|
const h = l[a], d = te({
|
|
3867
3870
|
elementType: h,
|
|
3868
|
-
externalSlotProps: (p) => S({},
|
|
3871
|
+
externalSlotProps: (p) => S({}, Et(s[a], p), Et(n?.[a], p)),
|
|
3869
3872
|
// TODO: Add proper ownerState
|
|
3870
3873
|
ownerState: {}
|
|
3871
3874
|
}), c = Be(d, _r);
|
|
@@ -3919,7 +3922,7 @@ const Ar = G("div", {
|
|
|
3919
3922
|
style: {
|
|
3920
3923
|
marginLeft: "calc(var(--TreeView-indentMultiplier) * var(--TreeView-itemDepth))",
|
|
3921
3924
|
borderRadius: t.shape.borderRadius,
|
|
3922
|
-
backgroundColor: t.vars ? `rgba(${t.vars.palette.primary.darkChannel} / ${t.vars.palette.action.focusOpacity})` :
|
|
3925
|
+
backgroundColor: t.vars ? `rgba(${t.vars.palette.primary.darkChannel} / ${t.vars.palette.action.focusOpacity})` : be(t.palette.primary.dark, t.palette.action.focusOpacity)
|
|
3923
3926
|
}
|
|
3924
3927
|
}, {
|
|
3925
3928
|
props: {
|
|
@@ -3966,7 +3969,7 @@ function dn(t) {
|
|
|
3966
3969
|
} = t, {
|
|
3967
3970
|
wrapItem: r,
|
|
3968
3971
|
store: s
|
|
3969
|
-
} =
|
|
3972
|
+
} = ge(), l = W(s, ke.treeItemIdAttribute, n, o);
|
|
3970
3973
|
return /* @__PURE__ */ v(M.Fragment, {
|
|
3971
3974
|
children: r({
|
|
3972
3975
|
children: e,
|
|
@@ -4043,17 +4046,17 @@ const Nr = G("input", {
|
|
|
4043
4046
|
backgroundColor: (t.vars || t).palette.action.focus
|
|
4044
4047
|
},
|
|
4045
4048
|
"&[data-selected]": {
|
|
4046
|
-
backgroundColor: t.vars ? `rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})` :
|
|
4049
|
+
backgroundColor: t.vars ? `rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})` : be(t.palette.primary.main, t.palette.action.selectedOpacity),
|
|
4047
4050
|
"&:hover": {
|
|
4048
|
-
backgroundColor: t.vars ? `rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))` :
|
|
4051
|
+
backgroundColor: t.vars ? `rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))` : be(t.palette.primary.main, t.palette.action.selectedOpacity + t.palette.action.hoverOpacity),
|
|
4049
4052
|
// Reset on touch devices, it doesn't add specificity
|
|
4050
4053
|
"@media (hover: none)": {
|
|
4051
|
-
backgroundColor: t.vars ? `rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})` :
|
|
4054
|
+
backgroundColor: t.vars ? `rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})` : be(t.palette.primary.main, t.palette.action.selectedOpacity)
|
|
4052
4055
|
}
|
|
4053
4056
|
}
|
|
4054
4057
|
},
|
|
4055
4058
|
"&[data-selected][data-focused]": {
|
|
4056
|
-
backgroundColor: t.vars ? `rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))` :
|
|
4059
|
+
backgroundColor: t.vars ? `rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))` : be(t.palette.primary.main, t.palette.action.selectedOpacity + t.palette.action.focusOpacity)
|
|
4057
4060
|
}
|
|
4058
4061
|
})), Br = G("div", {
|
|
4059
4062
|
name: "MuiTreeItem",
|
|
@@ -4142,7 +4145,7 @@ const qr = (t) => {
|
|
|
4142
4145
|
errorIcon: Q(t?.errorIcon, e.itemErrorIcon),
|
|
4143
4146
|
loadingIcon: Q(t?.loadingIcon, e.itemLoadingIcon)
|
|
4144
4147
|
});
|
|
4145
|
-
return
|
|
4148
|
+
return ve({
|
|
4146
4149
|
root: ["root"],
|
|
4147
4150
|
content: ["content"],
|
|
4148
4151
|
iconContainer: ["iconContainer"],
|
|
@@ -4321,7 +4324,7 @@ process.env.NODE_ENV !== "production" && (mt.propTypes = {
|
|
|
4321
4324
|
* This prop isn't supported.
|
|
4322
4325
|
* Use the `onItemFocus` callback on the tree if you need to monitor an item's focus.
|
|
4323
4326
|
*/
|
|
4324
|
-
onFocus:
|
|
4327
|
+
onFocus: An,
|
|
4325
4328
|
/**
|
|
4326
4329
|
* Callback fired when a key is pressed on the keyboard and the tree is in focus.
|
|
4327
4330
|
*/
|
|
@@ -4350,7 +4353,7 @@ const he = (t, e) => {
|
|
|
4350
4353
|
}
|
|
4351
4354
|
}
|
|
4352
4355
|
};
|
|
4353
|
-
function
|
|
4356
|
+
function us({
|
|
4354
4357
|
label: t,
|
|
4355
4358
|
data: e,
|
|
4356
4359
|
handleChange: n,
|
|
@@ -4579,9 +4582,9 @@ function is({
|
|
|
4579
4582
|
}
|
|
4580
4583
|
),
|
|
4581
4584
|
endAdornment: /* @__PURE__ */ Y(yt, { position: "end", sx: { flexShrink: 0 }, children: [
|
|
4582
|
-
r.length > 0 && !s && /* @__PURE__ */ v(Sn, { size: "small", onClick: C, children: /* @__PURE__ */ v(
|
|
4585
|
+
r.length > 0 && !s && /* @__PURE__ */ v(Sn, { size: "small", onClick: C, children: /* @__PURE__ */ v(Tn, { fontSize: "small" }) }),
|
|
4583
4586
|
/* @__PURE__ */ v(
|
|
4584
|
-
|
|
4587
|
+
wn,
|
|
4585
4588
|
{
|
|
4586
4589
|
sx: {
|
|
4587
4590
|
transform: f ? "rotate(180deg)" : "rotate(0deg)",
|
|
@@ -4637,5 +4640,5 @@ function is({
|
|
|
4637
4640
|
);
|
|
4638
4641
|
}
|
|
4639
4642
|
export {
|
|
4640
|
-
|
|
4643
|
+
us as PassportTreeSelect
|
|
4641
4644
|
};
|
|
@@ -29,4 +29,5 @@ export { PassportNotification } from './PassportNotification/PassportNotificatio
|
|
|
29
29
|
export { PassportDateRangeWrapper } from './PassportDateRangeWrapper/PassportDateRangeWrapper';
|
|
30
30
|
export { PassportDatesFilter } from './PassportDatesFilter/PassportDatesFilter';
|
|
31
31
|
export { PassportDateRangePicker } from './PassportDateRangePicker/PassportDateRangePicker';
|
|
32
|
+
export { PassportFilter } from './PassportFilter/PassportFilter';
|
|
32
33
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AACjG,OAAO,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AACvG,OAAO,EAAE,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAC9F,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,kEAAkE,CAAC;AAC7G,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,MAAM,4DAA4D,CAAC;AACpG,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,0EAA0E,CAAC;AACzH,OAAO,EAAE,qCAAqC,EAAE,MAAM,0FAA0F,CAAC;AACjJ,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,sBAAsB,EAAE,MAAM,4DAA4D,CAAC;AACpG,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAC9F,OAAO,EAAE,wBAAwB,EAAE,MAAM,gEAAgE,CAAC;AAC1G,OAAO,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAC3F,OAAO,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AACjG,OAAO,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AACvG,OAAO,EAAE,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAC9F,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,kEAAkE,CAAC;AAC7G,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,MAAM,4DAA4D,CAAC;AACpG,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,0EAA0E,CAAC;AACzH,OAAO,EAAE,qCAAqC,EAAE,MAAM,0FAA0F,CAAC;AACjJ,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,sBAAsB,EAAE,MAAM,4DAA4D,CAAC;AACpG,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAC9F,OAAO,EAAE,wBAAwB,EAAE,MAAM,gEAAgE,CAAC;AAC1G,OAAO,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAC3F,OAAO,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AACvG,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC"}
|
package/dist/components/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { PassportConfirmationModal as u } from "./PassportConfirmationModal/Pass
|
|
|
9
9
|
import { PassportDatePicker as M } from "./PassportDatePicker/PassportDatePicker.js";
|
|
10
10
|
import { PassportDateTimePicker as g } from "./PassportDateTimePicker/PassportDateTimePicker.js";
|
|
11
11
|
import { PassportDropdown as T } from "./PassportDropdown/PassportDropdown.js";
|
|
12
|
-
import { PassportErrorModal as
|
|
12
|
+
import { PassportErrorModal as F } from "./PassportErrorModal/PassportErrorModal.js";
|
|
13
13
|
import { PassportFooter as h } from "./PassportFooter/PassportFooter.js";
|
|
14
14
|
import { PassportInactivityModal as B } from "./PassportInactivityModal/PassportInactivityModal.js";
|
|
15
15
|
import { PassportInfoModal as K } from "./PassportInfoModal/PassportInfoModal.js";
|
|
@@ -29,6 +29,7 @@ import { PassportNotification as to } from "./PassportNotification/PassportNotif
|
|
|
29
29
|
import { PassportDateRangeWrapper as po } from "./PassportDateRangeWrapper/PassportDateRangeWrapper.js";
|
|
30
30
|
import { PassportDatesFilter as so } from "./PassportDatesFilter/PassportDatesFilter.js";
|
|
31
31
|
import { PassportDateRangePicker as fo } from "./PassportDateRangePicker/PassportDateRangePicker.js";
|
|
32
|
+
import { PassportFilter as xo } from "./PassportFilter/PassportFilter.js";
|
|
32
33
|
import '../assets/index.css';export {
|
|
33
34
|
_ as DebouncedPassportInput,
|
|
34
35
|
t as LoadingAnimation,
|
|
@@ -42,7 +43,8 @@ import '../assets/index.css';export {
|
|
|
42
43
|
g as PassportDateTimePicker,
|
|
43
44
|
so as PassportDatesFilter,
|
|
44
45
|
T as PassportDropdown,
|
|
45
|
-
|
|
46
|
+
F as PassportErrorModal,
|
|
47
|
+
xo as PassportFilter,
|
|
46
48
|
h as PassportFooter,
|
|
47
49
|
B as PassportInactivityModal,
|
|
48
50
|
K as PassportInfoModal,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as a from "react";
|
|
2
2
|
import { jsxs as I, jsx as g } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
3
|
+
import { b as w, g as N, u as C, s as O, c as T, e as c, f as R, m as E, P as e } from "./DefaultPropsProvider-BQx1AiAq.js";
|
|
4
4
|
function j(o) {
|
|
5
5
|
return w("MuiSvgIcon", o);
|
|
6
6
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { P as a } from "./DefaultPropsProvider-BQx1AiAq.js";
|
|
2
|
+
import { a as s } from "./createSimplePaletteValueFilter-Bz8RuRaa.js";
|
|
3
|
+
import * as f from "react";
|
|
4
|
+
const m = "exact-prop: ";
|
|
5
|
+
function P(e) {
|
|
6
|
+
return process.env.NODE_ENV === "production" ? e : {
|
|
7
|
+
...e,
|
|
8
|
+
[m]: (n) => {
|
|
9
|
+
const o = Object.keys(n).filter((t) => !e.hasOwnProperty(t));
|
|
10
|
+
return o.length > 0 ? new Error(`The following props are not supported: ${o.map((t) => `\`${t}\``).join(", ")}. Please remove them.`) : null;
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
function g(e) {
|
|
15
|
+
return e && e.ownerDocument || document;
|
|
16
|
+
}
|
|
17
|
+
function d(e) {
|
|
18
|
+
const {
|
|
19
|
+
prototype: n = {}
|
|
20
|
+
} = e;
|
|
21
|
+
return !!n.isReactComponent;
|
|
22
|
+
}
|
|
23
|
+
function c(e, n, o, t, p) {
|
|
24
|
+
const i = e[n], l = p || n;
|
|
25
|
+
if (i == null || // When server-side rendering React doesn't warn either.
|
|
26
|
+
// This is not an accurate check for SSR.
|
|
27
|
+
// This is only in place for Emotion compat.
|
|
28
|
+
// TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
|
|
29
|
+
typeof window > "u")
|
|
30
|
+
return null;
|
|
31
|
+
let r;
|
|
32
|
+
const u = i.type;
|
|
33
|
+
return typeof u == "function" && !d(u) && (r = "Did you accidentally use a plain function component for an element instead?"), r !== void 0 ? new Error(`Invalid ${t} \`${l}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${r} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
34
|
+
}
|
|
35
|
+
const w = s(a.element, c);
|
|
36
|
+
w.isRequired = s(a.element.isRequired, c);
|
|
37
|
+
function R(e) {
|
|
38
|
+
return parseInt(f.version, 10) >= 19 ? e?.props?.ref || null : e?.ref || null;
|
|
39
|
+
}
|
|
40
|
+
export {
|
|
41
|
+
P as a,
|
|
42
|
+
w as e,
|
|
43
|
+
R as g,
|
|
44
|
+
g as o
|
|
45
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { P as o } from "./DefaultPropsProvider-BQx1AiAq.js";
|
|
3
|
+
import "react/jsx-runtime";
|
|
4
|
+
const t = /* @__PURE__ */ e.createContext();
|
|
5
|
+
process.env.NODE_ENV !== "production" && (o.node, o.bool);
|
|
6
|
+
const a = () => e.useContext(t) ?? !1;
|
|
7
|
+
export {
|
|
8
|
+
a as u
|
|
9
|
+
};
|