@sisense/sdk-shared-ui 1.32.0 → 1.34.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/{Breadcrumbs-CQNCIJ2Y.js → Breadcrumbs-D4b_GQtd.js} +9 -9
- package/dist/{Breadcrumbs-B46ViOSv.cjs → Breadcrumbs-DHLUMk5g.cjs} +1 -1
- package/dist/{Button-D5ZAS_sd.js → Button-APrD1mzX.js} +2 -2
- package/dist/{Button-CoMaroSC.cjs → Button-DOVMisTd.cjs} +1 -1
- package/dist/{ButtonBase-Camgk6s8.cjs → ButtonBase-BS1IFUdV.cjs} +1 -1
- package/dist/{ButtonBase-DPVWpC8-.js → ButtonBase-DOZfyNZL.js} +2 -2
- package/dist/{CheckableList-BLLCGCKX.cjs → CheckableList-1Jq4spYu.cjs} +1 -1
- package/dist/{CheckableList-CC7iKnHq.js → CheckableList-DTTE9oEw.js} +1 -1
- package/dist/{Checkbox-oJOn5Vb9.cjs → Checkbox-Ckp-O85I.cjs} +1 -1
- package/dist/{Checkbox-3bG1OLg3.js → Checkbox-DFOHQKnj.js} +10 -10
- package/dist/{DEPRECATED_Button-D2XS1y1r.cjs → DEPRECATED_Button-CKGdJitl.cjs} +1 -1
- package/dist/{DEPRECATED_Button-m2ifXo3Q.js → DEPRECATED_Button-Dhs0ieAl.js} +2 -2
- package/dist/{DEPRECATED_Checkbox-DWtXr5K7.js → DEPRECATED_Checkbox-Be1l_Vce.js} +1 -1
- package/dist/{DEPRECATED_Checkbox-CYomxatm.cjs → DEPRECATED_Checkbox-BggU0HO5.cjs} +1 -1
- package/dist/{DEPRECATED_Icon-iUszZb09.cjs → DEPRECATED_Icon-DC1Hc9iB.cjs} +1 -1
- package/dist/Dropdown-D8rLKKcl.cjs +1 -0
- package/dist/{Dropdown-BxoUPsca.js → Dropdown-DtWYpFk8.js} +50 -50
- package/dist/{Icon-D0uZg6iJ.js → Icon-YfaQM06u.js} +6 -6
- package/dist/{Icon-CqoYg88-.cjs → Icon-gOwM-Vrv.cjs} +1 -1
- package/dist/{Input-BghWSV2Z.js → Input-CNvYE0Er.js} +2 -2
- package/dist/{Input-Cd6a2FUC.cjs → Input-_wNCDCdI.cjs} +1 -1
- package/dist/{Menu-BfAQOpHl.cjs → Menu-DkPO8bCf.cjs} +1 -1
- package/dist/{Menu-C5wQnuq6.js → Menu-EXiwd8T_.js} +57 -58
- package/dist/{Popover-Bp5g_ws9.cjs → Popover-BjgDIgO7.cjs} +1 -1
- package/dist/{Popover-0n4kd3ut.js → Popover-CiYeL2VE.js} +4 -4
- package/dist/{useSlot-7x9FkqBW.js → Portal-CLHtBz5i.js} +100 -100
- package/dist/{useSlot-B_P_o-pz.cjs → Portal-DCkmwdyF.cjs} +1 -1
- package/dist/{SvgIcon-DsAvI5iY.js → SvgIcon-DRiOiPzl.js} +1 -1
- package/dist/{SvgIcon-Dg-EBYZz.cjs → SvgIcon-DwrPxEJR.cjs} +1 -1
- package/dist/{TablePagination-DUkJaWJG.js → TablePagination-DMqJ2TDQ.js} +72 -72
- package/dist/{TablePagination-Yp8eKLZB.cjs → TablePagination-DxCn_NpI.cjs} +2 -2
- package/dist/{ThemeProvider-BjBWRt7C.cjs → ThemeProvider-CLfPqpv1.cjs} +27 -27
- package/dist/{ThemeProvider-BCsnqK18.js → ThemeProvider-idCYeHSk.js} +720 -720
- package/dist/{Tooltip-B0-7TF8b.js → Tooltip-DAxLCXwu.js} +10 -10
- package/dist/Tooltip-_QBcDSPT.cjs +7 -0
- package/dist/{Typography-BGFgTnYN.js → Typography-V0qAux0_.js} +20 -20
- package/dist/{Typography-CGsd6zC4.cjs → Typography-qWhZXZhp.cjs} +1 -1
- package/dist/{createSvgIcon-DDrcw4wZ.cjs → createSvgIcon-BECoGUSX.cjs} +1 -1
- package/dist/{createSvgIcon-rAujRRtd.js → createSvgIcon-BFO1uNry.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +46 -46
- package/dist/lib/Breadcrumbs/Breadcrumbs.cjs +1 -1
- package/dist/lib/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/lib/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/lib/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/lib/Breadcrumbs/index.d.ts +1 -1
- package/dist/lib/Breadcrumbs/index.d.ts.map +1 -1
- package/dist/lib/Breadcrumbs/themes/index.d.ts +1 -1
- package/dist/lib/Breadcrumbs/themes/index.d.ts.map +1 -1
- package/dist/lib/Button/Button.cjs +1 -1
- package/dist/lib/Button/Button.d.ts +1 -1
- package/dist/lib/Button/Button.d.ts.map +1 -1
- package/dist/lib/Button/Button.js +2 -2
- package/dist/lib/Button/index.d.ts +1 -1
- package/dist/lib/Button/index.d.ts.map +1 -1
- package/dist/lib/Button/themes/index.d.ts +1 -1
- package/dist/lib/Button/themes/index.d.ts.map +1 -1
- package/dist/lib/CheckableList/CheckableList.cjs +1 -1
- package/dist/lib/CheckableList/CheckableList.d.ts.map +1 -1
- package/dist/lib/CheckableList/CheckableList.js +1 -1
- package/dist/lib/Checkbox/Checkbox.cjs +1 -1
- package/dist/lib/Checkbox/Checkbox.d.ts +1 -1
- package/dist/lib/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/lib/Checkbox/Checkbox.js +1 -1
- package/dist/lib/Checkbox/themes/index.d.ts +1 -1
- package/dist/lib/Checkbox/themes/index.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.cjs +1 -1
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts +1 -1
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.js +1 -1
- package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.cjs +1 -1
- package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.js +1 -1
- package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.cjs +1 -1
- package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.js +1 -1
- package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts.map +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts +1 -1
- package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -1
- package/dist/lib/Dropdown/Dropdown.cjs +1 -1
- package/dist/lib/Dropdown/Dropdown.d.ts +1 -1
- package/dist/lib/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/lib/Dropdown/Dropdown.js +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButton.d.ts +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButton.d.ts.map +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts.map +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts.map +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts.map +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts +1 -1
- package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts.map +1 -1
- package/dist/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts +1 -1
- package/dist/lib/Icon/Icon.cjs +1 -1
- package/dist/lib/Icon/Icon.d.ts +1 -1
- package/dist/lib/Icon/Icon.d.ts.map +1 -1
- package/dist/lib/Icon/Icon.js +1 -1
- package/dist/lib/Icon/themes/index.d.ts +1 -1
- package/dist/lib/Icon/themes/index.d.ts.map +1 -1
- package/dist/lib/Input/Input.cjs +1 -1
- package/dist/lib/Input/Input.d.ts.map +1 -1
- package/dist/lib/Input/Input.js +1 -1
- package/dist/lib/Menu/Confirmation/Confirmation.d.ts.map +1 -1
- package/dist/lib/Menu/Menu.cjs +1 -1
- package/dist/lib/Menu/Menu.d.ts.map +1 -1
- package/dist/lib/Menu/Menu.js +2 -2
- package/dist/lib/Menu/MenuItem/MenuItem.d.ts.map +1 -1
- package/dist/lib/Menu/MenuItem/index.d.ts +2 -2
- package/dist/lib/Menu/MenuItem/index.d.ts.map +1 -1
- package/dist/lib/Menu/index.d.ts +2 -2
- package/dist/lib/Menu/index.d.ts.map +1 -1
- package/dist/lib/Popover/Popover.cjs +1 -1
- package/dist/lib/Popover/Popover.d.ts.map +1 -1
- package/dist/lib/Popover/Popover.js +1 -1
- package/dist/lib/RadioButton/RadioButton.d.ts.map +1 -1
- package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts +1 -1
- package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts.map +1 -1
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts +1 -1
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts.map +1 -1
- package/dist/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts.map +1 -1
- package/dist/lib/TablePagination/TablePagination.cjs +1 -1
- package/dist/lib/TablePagination/TablePagination.d.ts +1 -1
- package/dist/lib/TablePagination/TablePagination.d.ts.map +1 -1
- package/dist/lib/TablePagination/TablePagination.js +1 -1
- package/dist/lib/TablePagination/themes/index.d.ts +1 -1
- package/dist/lib/TablePagination/themes/index.d.ts.map +1 -1
- package/dist/lib/TablePagination/themes/tablePaginationTheme.d.ts.map +1 -1
- package/dist/lib/Tooltip/Tooltip.cjs +1 -1
- package/dist/lib/Tooltip/Tooltip.d.ts +1 -1
- package/dist/lib/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/lib/Tooltip/Tooltip.js +2 -2
- package/dist/lib/Tooltip/index.d.ts +1 -1
- package/dist/lib/Tooltip/index.d.ts.map +1 -1
- package/dist/lib/Tooltip/themes/index.d.ts +1 -1
- package/dist/lib/Tooltip/themes/index.d.ts.map +1 -1
- package/dist/lib/Tooltip/themes/tooltipTheme.d.ts.map +1 -1
- package/dist/lib/Typography/Typography.cjs +1 -1
- package/dist/lib/Typography/Typography.d.ts +1 -1
- package/dist/lib/Typography/Typography.d.ts.map +1 -1
- package/dist/lib/Typography/Typography.js +2 -2
- package/dist/lib/Typography/index.d.ts +1 -1
- package/dist/lib/Typography/index.d.ts.map +1 -1
- package/dist/lib/Typography/themes/index.d.ts +1 -1
- package/dist/lib/Typography/themes/index.d.ts.map +1 -1
- package/dist/lib/Typography/themes/typographyTheme.d.ts.map +1 -1
- package/dist/lib/index.d.ts +7 -7
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/themes/colors/siColors.d.ts +1 -1
- package/dist/lib/themes/index.d.ts +1 -1
- package/dist/lib/themes/themes.cjs +1 -1
- package/dist/lib/themes/themes.js +1 -1
- package/dist/package.json +4 -3
- package/dist/{useSlotProps-COvANhgg.cjs → useSlotProps-1DAAbdYI.cjs} +1 -1
- package/dist/{useSlotProps-BpXHXb21.js → useSlotProps-DHNviH4P.js} +2 -2
- package/dist/{useTheme-BN6DGaDZ.cjs → useTheme-CKptR5QM.cjs} +1 -1
- package/dist/{useTheme-eCVqNAnk.js → useTheme-CNirH-1O.js} +1 -1
- package/dist/useTimeout-DwkOFF8P.cjs +2 -0
- package/dist/{useTimeout-BG7TPjEm.js → useTimeout-Oe_jK-ia.js} +18 -18
- package/package.json +4 -3
- package/dist/Dropdown-BtZZ4fY6.cjs +0 -1
- package/dist/Tooltip-DE1hlnS3.cjs +0 -7
- package/dist/useTimeout-DQN9lwd_.cjs +0 -2
- package/dist/{DEPRECATED_Icon-BQ4AqiI1.js → DEPRECATED_Icon-Bgufd-9Q.js} +1 -1
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
import { jsxs as fe, jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { b as Z, g as te, s as $, m as X, e as ne, f as G, d as K, h as oe, t as fo, r as Ne, j as ie, v as Ut, q as Ot, w as Zo, x as It, y as Jo, z as Qo, a as bo, T as go } from "./ThemeProvider-idCYeHSk.js";
|
|
2
3
|
import * as d from "react";
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { siColors as ge, stEffects as ln } from "./lib/themes/themes.js";
|
|
4
|
+
import mo, { createElement as en, useLayoutEffect as tn, useEffect as on, useState as Vt, useMemo as nn, createContext as rn, useContext as sn } from "react";
|
|
5
|
+
import { I as Ze } from "./Icon-YfaQM06u.js";
|
|
6
|
+
import { siColors as ge, stEffects as an } from "./lib/themes/themes.js";
|
|
7
|
+
import { g as ln, T as it } from "./Typography-V0qAux0_.js";
|
|
8
8
|
import { P as e } from "./index-D0lMis-I.js";
|
|
9
|
-
import { c as je } from "./createSvgIcon-
|
|
9
|
+
import { c as je } from "./createSvgIcon-BFO1uNry.js";
|
|
10
10
|
import { c as Fe } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
11
|
-
import { e as vo, B as St } from "./ButtonBase-
|
|
12
|
-
import { u as ve, e as tt, r as Ae, d as Wt, c as vt } from "./useTimeout-
|
|
11
|
+
import { e as vo, B as St } from "./ButtonBase-DOZfyNZL.js";
|
|
12
|
+
import { u as ve, e as tt, r as Ae, d as Wt, c as vt } from "./useTimeout-Oe_jK-ia.js";
|
|
13
13
|
import { r as Et, i as Te } from "./integerPropType-B8hl-7D0.js";
|
|
14
|
-
import { o as me, g as Nt, e as Mt, c as cn, u as yo, T as pn, r as dn, d as Ht, b as Re, P as un, H as ct, G as fn, a as Pt } from "./
|
|
15
|
-
import { e as bn, u as _t } from "./useSlotProps-
|
|
14
|
+
import { o as me, g as Nt, e as Mt, c as cn, u as yo, T as pn, r as dn, d as Ht, b as Re, P as un, H as ct, G as fn, a as Pt } from "./Portal-CLHtBz5i.js";
|
|
15
|
+
import { e as bn, u as _t } from "./useSlotProps-DHNviH4P.js";
|
|
16
16
|
import { u as wt } from "./useControlled-BYdyS7Pn.js";
|
|
17
17
|
import { u as kt, F as gn } from "./useFormControl-CatNKXAi.js";
|
|
18
|
+
function pt(t) {
|
|
19
|
+
return typeof t == "string";
|
|
20
|
+
}
|
|
18
21
|
function qt(...t) {
|
|
19
22
|
return t.reduce((o, n) => n == null ? o : function(...s) {
|
|
20
23
|
o.apply(this, s), n.apply(this, s);
|
|
@@ -40,9 +43,6 @@ function xo(t = window) {
|
|
|
40
43
|
const o = t.document.documentElement.clientWidth;
|
|
41
44
|
return t.innerWidth - o;
|
|
42
45
|
}
|
|
43
|
-
function pt(t) {
|
|
44
|
-
return typeof t == "string";
|
|
45
|
-
}
|
|
46
46
|
function rt(t) {
|
|
47
47
|
return parseInt(t, 10) || 0;
|
|
48
48
|
}
|
|
@@ -388,7 +388,7 @@ const yt = (t, o) => {
|
|
|
388
388
|
}
|
|
389
389
|
}]
|
|
390
390
|
};
|
|
391
|
-
})), Xt =
|
|
391
|
+
})), Xt = ln({
|
|
392
392
|
"@keyframes mui-auto-fill": {
|
|
393
393
|
from: {
|
|
394
394
|
display: "block"
|
|
@@ -477,7 +477,7 @@ const yt = (t, o) => {
|
|
|
477
477
|
if (!Oe) {
|
|
478
478
|
const Ve = _.target || de.current;
|
|
479
479
|
if (Ve == null)
|
|
480
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." :
|
|
480
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : fo(1));
|
|
481
481
|
ye({
|
|
482
482
|
value: Ve.value
|
|
483
483
|
});
|
|
@@ -2494,7 +2494,7 @@ const Zn = (t) => {
|
|
|
2494
2494
|
"--Paper-overlay": (u = s.vars.overlays) == null ? void 0 : u[l]
|
|
2495
2495
|
},
|
|
2496
2496
|
...!s.vars && s.palette.mode === "dark" && {
|
|
2497
|
-
"--Paper-overlay": `linear-gradient(${ie("#fff",
|
|
2497
|
+
"--Paper-overlay": `linear-gradient(${ie("#fff", Ut(l))}, ${ie("#fff", Ut(l))})`
|
|
2498
2498
|
}
|
|
2499
2499
|
},
|
|
2500
2500
|
...h.style
|
|
@@ -3486,7 +3486,7 @@ const br = $($o, {
|
|
|
3486
3486
|
return [o.icon, n.variant && o[`icon${K(n.variant)}`], n.open && o.iconOpen];
|
|
3487
3487
|
}
|
|
3488
3488
|
})({}), mr = $("input", {
|
|
3489
|
-
shouldForwardProp: (t) =>
|
|
3489
|
+
shouldForwardProp: (t) => Zo(t) && t !== "classes",
|
|
3490
3490
|
name: "MuiSelect",
|
|
3491
3491
|
slot: "NativeInput",
|
|
3492
3492
|
overridesResolver: (t, o) => o.nativeInput
|
|
@@ -3654,7 +3654,7 @@ const yr = (t) => {
|
|
|
3654
3654
|
let D;
|
|
3655
3655
|
if (x) {
|
|
3656
3656
|
if (!Array.isArray(z))
|
|
3657
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." :
|
|
3657
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : fo(2));
|
|
3658
3658
|
D = z.some((ae) => io(ae, M.props.value)), D && De && pe.push(M.props.children);
|
|
3659
3659
|
} else
|
|
3660
3660
|
D = io(z, M.props.value), D && De && (ze = M.props.children);
|
|
@@ -5575,7 +5575,7 @@ const Dr = Z("MuiTableCell", ["root", "head", "body", "footer", "sizeSmall", "si
|
|
|
5575
5575
|
// Workaround for a rendering bug with spanned columns in Chrome 62.0.
|
|
5576
5576
|
// Removes the alpha (sets it to 1), and lightens or darkens the theme color.
|
|
5577
5577
|
borderBottom: t.vars ? `1px solid ${t.vars.palette.TableCell.border}` : `1px solid
|
|
5578
|
-
${t.palette.mode === "light" ?
|
|
5578
|
+
${t.palette.mode === "light" ? Jo(ie(t.palette.divider, 1), 0.88) : Qo(ie(t.palette.divider, 1), 0.68)}`,
|
|
5579
5579
|
textAlign: "left",
|
|
5580
5580
|
padding: 16,
|
|
5581
5581
|
variants: [{
|
|
@@ -6454,7 +6454,7 @@ const ls = (t) => {
|
|
|
6454
6454
|
icon: G(k.selectIcon, (F.classes || {}).icon)
|
|
6455
6455
|
},
|
|
6456
6456
|
disabled: h,
|
|
6457
|
-
children: c.map((j) => /* @__PURE__ */
|
|
6457
|
+
children: c.map((j) => /* @__PURE__ */ en(A, {
|
|
6458
6458
|
...!pt(A) && {
|
|
6459
6459
|
ownerState: O
|
|
6460
6460
|
},
|
|
@@ -6672,7 +6672,7 @@ process.env.NODE_ENV !== "production" && (_o.propTypes = {
|
|
|
6672
6672
|
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
6673
6673
|
});
|
|
6674
6674
|
var cs = function() {
|
|
6675
|
-
}, qo = typeof window < "u", ps = qo ?
|
|
6675
|
+
}, qo = typeof window < "u", ps = qo ? tn : on, Ko = {
|
|
6676
6676
|
x: 0,
|
|
6677
6677
|
y: 0,
|
|
6678
6678
|
width: 0,
|
|
@@ -6683,7 +6683,7 @@ var cs = function() {
|
|
|
6683
6683
|
right: 0
|
|
6684
6684
|
};
|
|
6685
6685
|
function ds() {
|
|
6686
|
-
var t =
|
|
6686
|
+
var t = Vt(null), o = t[0], n = t[1], r = Vt(Ko), s = r[0], a = r[1], i = nn(function() {
|
|
6687
6687
|
return new window.ResizeObserver(function(l) {
|
|
6688
6688
|
if (l[0]) {
|
|
6689
6689
|
var p = l[0].contentRect, f = p.x, h = p.y, T = p.width, R = p.height, u = p.top, b = p.left, w = p.bottom, y = p.right;
|
|
@@ -6700,18 +6700,12 @@ function ds() {
|
|
|
6700
6700
|
}
|
|
6701
6701
|
const us = qo && typeof window.ResizeObserver < "u" ? ds : function() {
|
|
6702
6702
|
return [cs, Ko];
|
|
6703
|
-
}
|
|
6704
|
-
|
|
6705
|
-
sm: 200,
|
|
6706
|
-
md: 439,
|
|
6707
|
-
lg: 600,
|
|
6708
|
-
xl: 1536
|
|
6709
|
-
}, bs = (t) => at(xe.xs, xe.sm, t) ? "xs" : at(xe.sm, xe.md, t) ? "sm" : at(xe.md, xe.lg, t) ? "md" : at(xe.lg, xe.xl, t) ? "lg" : "xl", at = (t, o, n) => n >= t && n < o;
|
|
6710
|
-
function gs(t) {
|
|
6703
|
+
};
|
|
6704
|
+
function fs(t) {
|
|
6711
6705
|
return te("MuiPagination", t);
|
|
6712
6706
|
}
|
|
6713
6707
|
Z("MuiPagination", ["root", "ul", "outlined", "text"]);
|
|
6714
|
-
function
|
|
6708
|
+
function bs(t = {}) {
|
|
6715
6709
|
const {
|
|
6716
6710
|
boundaryCount: o = 1,
|
|
6717
6711
|
componentName: n = "usePagination",
|
|
@@ -6807,19 +6801,19 @@ function ms(t = {}) {
|
|
|
6807
6801
|
...u
|
|
6808
6802
|
};
|
|
6809
6803
|
}
|
|
6810
|
-
function
|
|
6804
|
+
function gs(t) {
|
|
6811
6805
|
return te("MuiPaginationItem", t);
|
|
6812
6806
|
}
|
|
6813
|
-
const ce = Z("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "text", "textPrimary", "textSecondary", "outlined", "outlinedPrimary", "outlinedSecondary", "rounded", "ellipsis", "firstLast", "previousNext", "focusVisible", "disabled", "selected", "icon", "colorPrimary", "colorSecondary"]),
|
|
6807
|
+
const ce = Z("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "text", "textPrimary", "textSecondary", "outlined", "outlinedPrimary", "outlinedSecondary", "rounded", "ellipsis", "firstLast", "previousNext", "focusVisible", "disabled", "selected", "icon", "colorPrimary", "colorSecondary"]), ms = je(/* @__PURE__ */ m("path", {
|
|
6814
6808
|
d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
|
6815
|
-
}), "NavigateBefore"),
|
|
6809
|
+
}), "NavigateBefore"), vs = je(/* @__PURE__ */ m("path", {
|
|
6816
6810
|
d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
|
|
6817
|
-
}), "NavigateNext"),
|
|
6811
|
+
}), "NavigateNext"), Go = (t, o) => {
|
|
6818
6812
|
const {
|
|
6819
6813
|
ownerState: n
|
|
6820
6814
|
} = t;
|
|
6821
6815
|
return [o.root, o[n.variant], o[`size${K(n.size)}`], n.variant === "text" && o[`text${K(n.color)}`], n.variant === "outlined" && o[`outlined${K(n.color)}`], n.shape === "rounded" && o.rounded, n.type === "page" && o.page, (n.type === "start-ellipsis" || n.type === "end-ellipsis") && o.ellipsis, (n.type === "previous" || n.type === "next") && o.previousNext, (n.type === "first" || n.type === "last") && o.firstLast];
|
|
6822
|
-
},
|
|
6816
|
+
}, ys = (t) => {
|
|
6823
6817
|
const {
|
|
6824
6818
|
classes: o,
|
|
6825
6819
|
color: n,
|
|
@@ -6841,11 +6835,11 @@ const ce = Z("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "te
|
|
|
6841
6835
|
}[l]],
|
|
6842
6836
|
icon: ["icon"]
|
|
6843
6837
|
};
|
|
6844
|
-
return oe(f,
|
|
6845
|
-
},
|
|
6838
|
+
return oe(f, gs, o);
|
|
6839
|
+
}, hs = $("div", {
|
|
6846
6840
|
name: "MuiPaginationItem",
|
|
6847
6841
|
slot: "Root",
|
|
6848
|
-
overridesResolver:
|
|
6842
|
+
overridesResolver: Go
|
|
6849
6843
|
})(X(({
|
|
6850
6844
|
theme: t
|
|
6851
6845
|
}) => ({
|
|
@@ -6882,10 +6876,10 @@ const ce = Z("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "te
|
|
|
6882
6876
|
fontSize: t.typography.pxToRem(15)
|
|
6883
6877
|
}
|
|
6884
6878
|
}]
|
|
6885
|
-
}))),
|
|
6879
|
+
}))), xs = $(St, {
|
|
6886
6880
|
name: "MuiPaginationItem",
|
|
6887
6881
|
slot: "Root",
|
|
6888
|
-
overridesResolver:
|
|
6882
|
+
overridesResolver: Go
|
|
6889
6883
|
})(X(({
|
|
6890
6884
|
theme: t
|
|
6891
6885
|
}) => ({
|
|
@@ -7032,7 +7026,7 @@ const ce = Z("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "te
|
|
|
7032
7026
|
}
|
|
7033
7027
|
}
|
|
7034
7028
|
}))]
|
|
7035
|
-
}))),
|
|
7029
|
+
}))), Ts = $("div", {
|
|
7036
7030
|
name: "MuiPaginationItem",
|
|
7037
7031
|
slot: "Icon",
|
|
7038
7032
|
overridesResolver: (t, o) => o.icon
|
|
@@ -7084,7 +7078,7 @@ const ce = Z("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "te
|
|
|
7084
7078
|
size: R,
|
|
7085
7079
|
type: w,
|
|
7086
7080
|
variant: y
|
|
7087
|
-
}, c = Ot(), v =
|
|
7081
|
+
}, c = Ot(), v = ys(x), C = {
|
|
7088
7082
|
slots: {
|
|
7089
7083
|
previous: u.previous ?? l.previous,
|
|
7090
7084
|
next: u.next ?? l.next,
|
|
@@ -7093,11 +7087,11 @@ const ce = Z("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "te
|
|
|
7093
7087
|
},
|
|
7094
7088
|
slotProps: b
|
|
7095
7089
|
}, [S, I] = Re("previous", {
|
|
7096
|
-
elementType:
|
|
7090
|
+
elementType: ms,
|
|
7097
7091
|
externalForwardedProps: C,
|
|
7098
7092
|
ownerState: x
|
|
7099
7093
|
}), [E, P] = Re("next", {
|
|
7100
|
-
elementType:
|
|
7094
|
+
elementType: vs,
|
|
7101
7095
|
externalForwardedProps: C,
|
|
7102
7096
|
ownerState: x
|
|
7103
7097
|
}), [O, k] = Re("first", {
|
|
@@ -7124,19 +7118,19 @@ const ce = Z("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "te
|
|
|
7124
7118
|
first: k,
|
|
7125
7119
|
last: A
|
|
7126
7120
|
}[L];
|
|
7127
|
-
return w === "start-ellipsis" || w === "end-ellipsis" ? /* @__PURE__ */ m(
|
|
7121
|
+
return w === "start-ellipsis" || w === "end-ellipsis" ? /* @__PURE__ */ m(hs, {
|
|
7128
7122
|
ref: n,
|
|
7129
7123
|
ownerState: x,
|
|
7130
7124
|
className: G(v.root, s),
|
|
7131
7125
|
children: "…"
|
|
7132
|
-
}) : /* @__PURE__ */ fe(
|
|
7126
|
+
}) : /* @__PURE__ */ fe(xs, {
|
|
7133
7127
|
ref: n,
|
|
7134
7128
|
ownerState: x,
|
|
7135
7129
|
component: i,
|
|
7136
7130
|
disabled: p,
|
|
7137
7131
|
className: G(v.root, s),
|
|
7138
7132
|
...g,
|
|
7139
|
-
children: [w === "page" && f, B ? /* @__PURE__ */ m(
|
|
7133
|
+
children: [w === "page" && f, B ? /* @__PURE__ */ m(Ts, {
|
|
7140
7134
|
...N,
|
|
7141
7135
|
className: v.icon,
|
|
7142
7136
|
as: B
|
|
@@ -7246,7 +7240,7 @@ process.env.NODE_ENV !== "production" && (jt.propTypes = {
|
|
|
7246
7240
|
*/
|
|
7247
7241
|
variant: e.oneOfType([e.oneOf(["outlined", "text"]), e.string])
|
|
7248
7242
|
});
|
|
7249
|
-
const
|
|
7243
|
+
const Rs = (t) => {
|
|
7250
7244
|
const {
|
|
7251
7245
|
classes: o,
|
|
7252
7246
|
variant: n
|
|
@@ -7254,8 +7248,8 @@ const Ps = (t) => {
|
|
|
7254
7248
|
return oe({
|
|
7255
7249
|
root: ["root", n],
|
|
7256
7250
|
ul: ["ul"]
|
|
7257
|
-
},
|
|
7258
|
-
},
|
|
7251
|
+
}, fs, o);
|
|
7252
|
+
}, Cs = $("nav", {
|
|
7259
7253
|
name: "MuiPagination",
|
|
7260
7254
|
slot: "Root",
|
|
7261
7255
|
overridesResolver: (t, o) => {
|
|
@@ -7264,7 +7258,7 @@ const Ps = (t) => {
|
|
|
7264
7258
|
} = t;
|
|
7265
7259
|
return [o.root, o[n.variant]];
|
|
7266
7260
|
}
|
|
7267
|
-
})({}),
|
|
7261
|
+
})({}), Ps = $("ul", {
|
|
7268
7262
|
name: "MuiPagination",
|
|
7269
7263
|
slot: "Ul",
|
|
7270
7264
|
overridesResolver: (t, o) => o.ul
|
|
@@ -7276,10 +7270,10 @@ const Ps = (t) => {
|
|
|
7276
7270
|
margin: 0,
|
|
7277
7271
|
listStyle: "none"
|
|
7278
7272
|
});
|
|
7279
|
-
function
|
|
7273
|
+
function ws(t, o, n) {
|
|
7280
7274
|
return t === "page" ? `${n ? "" : "Go to "}page ${o}` : `Go to ${t} page`;
|
|
7281
7275
|
}
|
|
7282
|
-
const
|
|
7276
|
+
const Xo = /* @__PURE__ */ d.forwardRef(function(o, n) {
|
|
7283
7277
|
const r = ne({
|
|
7284
7278
|
props: o,
|
|
7285
7279
|
name: "MuiPagination"
|
|
@@ -7290,7 +7284,7 @@ const Yo = /* @__PURE__ */ d.forwardRef(function(o, n) {
|
|
|
7290
7284
|
count: l = 1,
|
|
7291
7285
|
defaultPage: p = 1,
|
|
7292
7286
|
disabled: f = !1,
|
|
7293
|
-
getItemAriaLabel: h =
|
|
7287
|
+
getItemAriaLabel: h = ws,
|
|
7294
7288
|
hideNextButton: T = !1,
|
|
7295
7289
|
hidePrevButton: R = !1,
|
|
7296
7290
|
onChange: u,
|
|
@@ -7307,7 +7301,7 @@ const Yo = /* @__PURE__ */ d.forwardRef(function(o, n) {
|
|
|
7307
7301
|
...S
|
|
7308
7302
|
} = r, {
|
|
7309
7303
|
items: I
|
|
7310
|
-
} =
|
|
7304
|
+
} = bs({
|
|
7311
7305
|
...r,
|
|
7312
7306
|
componentName: "Pagination"
|
|
7313
7307
|
}), E = {
|
|
@@ -7327,14 +7321,14 @@ const Yo = /* @__PURE__ */ d.forwardRef(function(o, n) {
|
|
|
7327
7321
|
siblingCount: c,
|
|
7328
7322
|
size: v,
|
|
7329
7323
|
variant: C
|
|
7330
|
-
}, P =
|
|
7331
|
-
return /* @__PURE__ */ m(
|
|
7324
|
+
}, P = Rs(E);
|
|
7325
|
+
return /* @__PURE__ */ m(Cs, {
|
|
7332
7326
|
"aria-label": "pagination navigation",
|
|
7333
7327
|
className: G(P.root, a),
|
|
7334
7328
|
ownerState: E,
|
|
7335
7329
|
ref: n,
|
|
7336
7330
|
...S,
|
|
7337
|
-
children: /* @__PURE__ */ m(
|
|
7331
|
+
children: /* @__PURE__ */ m(Ps, {
|
|
7338
7332
|
className: P.ul,
|
|
7339
7333
|
ownerState: E,
|
|
7340
7334
|
children: I.map((O, k) => /* @__PURE__ */ m("li", {
|
|
@@ -7350,7 +7344,7 @@ const Yo = /* @__PURE__ */ d.forwardRef(function(o, n) {
|
|
|
7350
7344
|
})
|
|
7351
7345
|
});
|
|
7352
7346
|
});
|
|
7353
|
-
process.env.NODE_ENV !== "production" && (
|
|
7347
|
+
process.env.NODE_ENV !== "production" && (Xo.propTypes = {
|
|
7354
7348
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
7355
7349
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
7356
7350
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -7464,7 +7458,7 @@ process.env.NODE_ENV !== "production" && (Yo.propTypes = {
|
|
|
7464
7458
|
*/
|
|
7465
7459
|
variant: e.oneOfType([e.oneOf(["outlined", "text"]), e.string])
|
|
7466
7460
|
});
|
|
7467
|
-
const po = "24px",
|
|
7461
|
+
const Yo = rn({}), po = "24px", Os = "24px", Is = bo({
|
|
7468
7462
|
components: {
|
|
7469
7463
|
MuiPagination: {
|
|
7470
7464
|
styleOverrides: {
|
|
@@ -7486,7 +7480,7 @@ const po = "24px", Ss = "24px", Es = go({
|
|
|
7486
7480
|
styleOverrides: {
|
|
7487
7481
|
root: {
|
|
7488
7482
|
height: po,
|
|
7489
|
-
minWidth:
|
|
7483
|
+
minWidth: Os,
|
|
7490
7484
|
margin: "0 2px",
|
|
7491
7485
|
"&.Mui-selected": {
|
|
7492
7486
|
border: `1px solid ${ge.StUiColors.default}`,
|
|
@@ -7519,11 +7513,11 @@ const po = "24px", Ss = "24px", Es = go({
|
|
|
7519
7513
|
}
|
|
7520
7514
|
}
|
|
7521
7515
|
}
|
|
7522
|
-
}), uo = 1,
|
|
7516
|
+
}), uo = 1, Ss = mo.forwardRef(
|
|
7523
7517
|
({ onPageChange: t, count: o, rowsPerPage: n, page: r }, s) => {
|
|
7524
|
-
const a =
|
|
7525
|
-
return /* @__PURE__ */ m(
|
|
7526
|
-
|
|
7518
|
+
const a = sn(Yo), i = (l, p) => t(null, p);
|
|
7519
|
+
return /* @__PURE__ */ m(go, { theme: Is, children: /* @__PURE__ */ m(
|
|
7520
|
+
Xo,
|
|
7527
7521
|
{
|
|
7528
7522
|
ref: s,
|
|
7529
7523
|
count: Math.ceil(o / n),
|
|
@@ -7575,7 +7569,13 @@ const po = "24px", Ss = "24px", Es = go({
|
|
|
7575
7569
|
}
|
|
7576
7570
|
) });
|
|
7577
7571
|
}
|
|
7578
|
-
),
|
|
7572
|
+
), Es = "responsive-table-pagination", xe = {
|
|
7573
|
+
xs: 0,
|
|
7574
|
+
sm: 200,
|
|
7575
|
+
md: 439,
|
|
7576
|
+
lg: 600,
|
|
7577
|
+
xl: 1536
|
|
7578
|
+
}, Ns = (t) => at(xe.xs, xe.sm, t) ? "xs" : at(xe.sm, xe.md, t) ? "sm" : at(xe.md, xe.lg, t) ? "md" : at(xe.lg, xe.xl, t) ? "lg" : "xl", at = (t, o, n) => n >= t && n < o, Ms = bo({
|
|
7579
7579
|
breakpoints: {
|
|
7580
7580
|
values: xe
|
|
7581
7581
|
},
|
|
@@ -7676,7 +7676,7 @@ const po = "24px", Ss = "24px", Es = go({
|
|
|
7676
7676
|
gap: "4px",
|
|
7677
7677
|
marginTop: "4px",
|
|
7678
7678
|
background: ge.StBackgroundColors.workspace,
|
|
7679
|
-
boxShadow:
|
|
7679
|
+
boxShadow: an.Shadows.level1,
|
|
7680
7680
|
borderRadius: "4px"
|
|
7681
7681
|
}
|
|
7682
7682
|
}
|
|
@@ -7690,7 +7690,7 @@ const po = "24px", Ss = "24px", Es = go({
|
|
|
7690
7690
|
}
|
|
7691
7691
|
}
|
|
7692
7692
|
}
|
|
7693
|
-
}), ks = 1, Xs =
|
|
7693
|
+
}), ks = 1, Xs = mo.forwardRef(
|
|
7694
7694
|
// eslint-disable-next-line max-lines-per-function
|
|
7695
7695
|
({
|
|
7696
7696
|
count: t,
|
|
@@ -7715,17 +7715,17 @@ const po = "24px", Ss = "24px", Es = go({
|
|
|
7715
7715
|
}) => {
|
|
7716
7716
|
const P = y ? `${S}-${I} / ${E}` : `${S}-${I} ${s.conjunction} ${E} ${s.result}`;
|
|
7717
7717
|
return /* @__PURE__ */ m(it, { variant: "bodyParagraph", sx: { color: ge.StTextColors.secondary }, children: P });
|
|
7718
|
-
}, x = (S, I) => a(I), c = (S) => r(Number(S.target.value)), v =
|
|
7718
|
+
}, x = (S, I) => a(I), c = (S) => r(Number(S.target.value)), v = Ns(w), C = {
|
|
7719
7719
|
siblingCount: y ? 0 : 1
|
|
7720
7720
|
};
|
|
7721
|
-
return /* @__PURE__ */ m(
|
|
7721
|
+
return /* @__PURE__ */ m(go, { theme: f, children: /* @__PURE__ */ m(Yo.Provider, { value: C, children: /* @__PURE__ */ m("div", { className: `${Es} ${v}`, ref: b, children: /* @__PURE__ */ m(
|
|
7722
7722
|
_o,
|
|
7723
7723
|
{
|
|
7724
7724
|
ref: u,
|
|
7725
7725
|
component: "div",
|
|
7726
7726
|
count: t,
|
|
7727
7727
|
page: o - ks,
|
|
7728
|
-
ActionsComponent:
|
|
7728
|
+
ActionsComponent: Ss,
|
|
7729
7729
|
onPageChange: x,
|
|
7730
7730
|
onRowsPerPageChange: c,
|
|
7731
7731
|
rowsPerPage: n,
|