@amateescu/portal-ui-components 0.0.7-beta2 → 0.0.7-beta4

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.
@@ -1,132 +1,376 @@
1
- import { jsx as f, jsxs as Z } from "react/jsx-runtime";
2
- import { u as aa, c as E, a as oa, L as S, F, i as M, G as ta, b as ea, d as G, g as na, e as sa, f as ia } from "../../GridPagination-DX1ANwBF.js";
3
- import { _, a as c } from "../../index-kNWC7pFF.js";
4
- import * as D from "react";
5
- import { g as w, a as q, u as H, c as I, b as J, s as A, d as W, m as B, P as t } from "../../generateUtilityClasses-BzhjuzcK.js";
6
- import { B as ra } from "../../ButtonBase-CHdm_9Jj.js";
7
- function la(a) {
8
- return w("MuiPagination", a);
1
+ import { jsxs as Q, jsx as b } from "react/jsx-runtime";
2
+ import { GridPagination as ne } from "@mui/x-data-grid";
3
+ import { _ as w, a as f } from "../../index-kNWC7pFF.js";
4
+ import * as m from "react";
5
+ import { P as t, g as U, a as D, u as F, c as O, b as W, s as B, f as V, e as S } from "../../generateUtilityClasses-DHfaG5wY.js";
6
+ import { B as ae } from "../../ButtonBase-BGF0RYEt.js";
7
+ function ie({
8
+ controlled: e,
9
+ default: o,
10
+ name: n,
11
+ state: a = "value"
12
+ }) {
13
+ const {
14
+ current: i
15
+ } = m.useRef(e !== void 0), [l, u] = m.useState(o), s = i ? e : l;
16
+ if (process.env.NODE_ENV !== "production") {
17
+ m.useEffect(() => {
18
+ i !== (e !== void 0) && console.error([`MUI: A component is changing the ${i ? "" : "un"}controlled ${a} state of ${n} to be ${i ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join(`
19
+ `));
20
+ }, [a, n, e]);
21
+ const {
22
+ current: c
23
+ } = m.useRef(o);
24
+ m.useEffect(() => {
25
+ !i && !Object.is(c, o) && console.error([`MUI: A component is changing the default ${a} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join(`
26
+ `));
27
+ }, [JSON.stringify(o)]);
28
+ }
29
+ const g = m.useCallback((c) => {
30
+ i || u(c);
31
+ }, []);
32
+ return [s, g];
33
+ }
34
+ function re(e) {
35
+ const o = typeof e;
36
+ switch (o) {
37
+ case "number":
38
+ return Number.isNaN(e) ? "NaN" : Number.isFinite(e) ? e !== Math.floor(e) ? "float" : "number" : "Infinity";
39
+ case "object":
40
+ return e === null ? "null" : e.constructor.name;
41
+ default:
42
+ return o;
43
+ }
44
+ }
45
+ function se(e) {
46
+ return typeof e == "number" && isFinite(e) && Math.floor(e) === e;
47
+ }
48
+ const le = Number.isInteger || se;
49
+ function X(e, o, n, a) {
50
+ const i = e[o];
51
+ if (i == null || !le(i)) {
52
+ const l = re(i);
53
+ return new RangeError(`Invalid ${a} \`${o}\` of type \`${l}\` supplied to \`${n}\`, expected \`integer\`.`);
54
+ }
55
+ return null;
56
+ }
57
+ function Y(e, o, ...n) {
58
+ return e[o] === void 0 ? null : X(e, o, ...n);
59
+ }
60
+ function j() {
61
+ return null;
62
+ }
63
+ Y.isRequired = X;
64
+ j.isRequired = j;
65
+ const L = process.env.NODE_ENV === "production" ? j : Y, ce = /* @__PURE__ */ m.createContext();
66
+ process.env.NODE_ENV !== "production" && (t.node, t.bool);
67
+ const de = () => {
68
+ const e = m.useContext(ce);
69
+ return e ?? !1;
70
+ };
71
+ function pe(e) {
72
+ return U("MuiSvgIcon", e);
73
+ }
74
+ D("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
75
+ const ue = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], ge = (e) => {
76
+ const {
77
+ color: o,
78
+ fontSize: n,
79
+ classes: a
80
+ } = e, i = {
81
+ root: ["root", o !== "inherit" && `color${O(o)}`, `fontSize${O(n)}`]
82
+ };
83
+ return W(i, pe, a);
84
+ }, fe = B("svg", {
85
+ name: "MuiSvgIcon",
86
+ slot: "Root",
87
+ overridesResolver: (e, o) => {
88
+ const {
89
+ ownerState: n
90
+ } = e;
91
+ return [o.root, n.color !== "inherit" && o[`color${O(n.color)}`], o[`fontSize${O(n.fontSize)}`]];
92
+ }
93
+ })(({
94
+ theme: e,
95
+ ownerState: o
96
+ }) => {
97
+ var n, a, i, l, u, s, g, c, y, x, v, d, r;
98
+ return {
99
+ userSelect: "none",
100
+ width: "1em",
101
+ height: "1em",
102
+ display: "inline-block",
103
+ // the <svg> will define the property that has `currentColor`
104
+ // for example heroicons uses fill="none" and stroke="currentColor"
105
+ fill: o.hasSvgAsChild ? void 0 : "currentColor",
106
+ flexShrink: 0,
107
+ transition: (n = e.transitions) == null || (a = n.create) == null ? void 0 : a.call(n, "fill", {
108
+ duration: (i = e.transitions) == null || (i = i.duration) == null ? void 0 : i.shorter
109
+ }),
110
+ fontSize: {
111
+ inherit: "inherit",
112
+ small: ((l = e.typography) == null || (u = l.pxToRem) == null ? void 0 : u.call(l, 20)) || "1.25rem",
113
+ medium: ((s = e.typography) == null || (g = s.pxToRem) == null ? void 0 : g.call(s, 24)) || "1.5rem",
114
+ large: ((c = e.typography) == null || (y = c.pxToRem) == null ? void 0 : y.call(c, 35)) || "2.1875rem"
115
+ }[o.fontSize],
116
+ // TODO v5 deprecate, v6 remove for sx
117
+ color: (x = (v = (e.vars || e).palette) == null || (v = v[o.color]) == null ? void 0 : v.main) != null ? x : {
118
+ action: (d = (e.vars || e).palette) == null || (d = d.action) == null ? void 0 : d.active,
119
+ disabled: (r = (e.vars || e).palette) == null || (r = r.action) == null ? void 0 : r.disabled,
120
+ inherit: void 0
121
+ }[o.color]
122
+ };
123
+ }), E = /* @__PURE__ */ m.forwardRef(function(o, n) {
124
+ const a = F({
125
+ props: o,
126
+ name: "MuiSvgIcon"
127
+ }), {
128
+ children: i,
129
+ className: l,
130
+ color: u = "inherit",
131
+ component: s = "svg",
132
+ fontSize: g = "medium",
133
+ htmlColor: c,
134
+ inheritViewBox: y = !1,
135
+ titleAccess: x,
136
+ viewBox: v = "0 0 24 24"
137
+ } = a, d = w(a, ue), r = /* @__PURE__ */ m.isValidElement(i) && i.type === "svg", P = f({}, a, {
138
+ color: u,
139
+ component: s,
140
+ fontSize: g,
141
+ instanceFontSize: o.fontSize,
142
+ inheritViewBox: y,
143
+ viewBox: v,
144
+ hasSvgAsChild: r
145
+ }), N = {};
146
+ y || (N.viewBox = v);
147
+ const h = ge(P);
148
+ return /* @__PURE__ */ Q(fe, f({
149
+ as: s,
150
+ className: V(h.root, l),
151
+ focusable: "false",
152
+ color: c,
153
+ "aria-hidden": x ? void 0 : !0,
154
+ role: x ? "img" : void 0,
155
+ ref: n
156
+ }, N, d, r && i.props, {
157
+ ownerState: P,
158
+ children: [r ? i.props.children : i, x ? /* @__PURE__ */ b("title", {
159
+ children: x
160
+ }) : null]
161
+ }));
162
+ });
163
+ process.env.NODE_ENV !== "production" && (E.propTypes = {
164
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
165
+ // │ These PropTypes are generated from the TypeScript type definitions. │
166
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
167
+ // └─────────────────────────────────────────────────────────────────────┘
168
+ /**
169
+ * Node passed into the SVG element.
170
+ */
171
+ children: t.node,
172
+ /**
173
+ * Override or extend the styles applied to the component.
174
+ */
175
+ classes: t.object,
176
+ /**
177
+ * @ignore
178
+ */
179
+ className: t.string,
180
+ /**
181
+ * The color of the component.
182
+ * It supports both default and custom theme colors, which can be added as shown in the
183
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
184
+ * You can use the `htmlColor` prop to apply a color attribute to the SVG element.
185
+ * @default 'inherit'
186
+ */
187
+ color: t.oneOfType([t.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), t.string]),
188
+ /**
189
+ * The component used for the root node.
190
+ * Either a string to use a HTML element or a component.
191
+ */
192
+ component: t.elementType,
193
+ /**
194
+ * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
195
+ * @default 'medium'
196
+ */
197
+ fontSize: t.oneOfType([t.oneOf(["inherit", "large", "medium", "small"]), t.string]),
198
+ /**
199
+ * Applies a color attribute to the SVG element.
200
+ */
201
+ htmlColor: t.string,
202
+ /**
203
+ * If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
204
+ * prop will be ignored.
205
+ * Useful when you want to reference a custom `component` and have `SvgIcon` pass that
206
+ * `component`'s viewBox to the root node.
207
+ * @default false
208
+ */
209
+ inheritViewBox: t.bool,
210
+ /**
211
+ * The shape-rendering attribute. The behavior of the different options is described on the
212
+ * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).
213
+ * If you are having issues with blurry icons you should investigate this prop.
214
+ */
215
+ shapeRendering: t.string,
216
+ /**
217
+ * The system prop that allows defining system overrides as well as additional CSS styles.
218
+ */
219
+ sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
220
+ /**
221
+ * Provides a human-readable title for the element that contains it.
222
+ * https://www.w3.org/TR/SVG-access/#Equivalent
223
+ */
224
+ titleAccess: t.string,
225
+ /**
226
+ * Allows you to redefine what the coordinates without units mean inside an SVG element.
227
+ * For example, if the SVG element is 500 (width) by 200 (height),
228
+ * and you pass viewBox="0 0 50 20",
229
+ * this means that the coordinates inside the SVG will go from the top left corner (0,0)
230
+ * to bottom right (50,20) and each unit will be worth 10px.
231
+ * @default '0 0 24 24'
232
+ */
233
+ viewBox: t.string
234
+ });
235
+ E.muiName = "SvgIcon";
236
+ function A(e, o) {
237
+ function n(a, i) {
238
+ return /* @__PURE__ */ b(E, f({
239
+ "data-testid": `${o}Icon`,
240
+ ref: i
241
+ }, a, {
242
+ children: e
243
+ }));
244
+ }
245
+ return process.env.NODE_ENV !== "production" && (n.displayName = `${o}Icon`), n.muiName = E.muiName, /* @__PURE__ */ m.memo(/* @__PURE__ */ m.forwardRef(n));
9
246
  }
10
- q("MuiPagination", ["root", "ul", "outlined", "text"]);
11
- const ca = ["boundaryCount", "componentName", "count", "defaultPage", "disabled", "hideNextButton", "hidePrevButton", "onChange", "page", "showFirstButton", "showLastButton", "siblingCount"];
12
- function pa(a = {}) {
247
+ function ve(e) {
248
+ return U("MuiPagination", e);
249
+ }
250
+ D("MuiPagination", ["root", "ul", "outlined", "text"]);
251
+ const be = ["boundaryCount", "componentName", "count", "defaultPage", "disabled", "hideNextButton", "hidePrevButton", "onChange", "page", "showFirstButton", "showLastButton", "siblingCount"];
252
+ function ye(e = {}) {
13
253
  const {
14
254
  boundaryCount: o = 1,
15
- componentName: e = "usePagination",
16
- count: n = 1,
17
- defaultPage: p = 1,
18
- disabled: u = !1,
19
- hideNextButton: v = !1,
20
- hidePrevButton: l = !1,
21
- onChange: d,
22
- page: b,
23
- showFirstButton: P = !1,
24
- showLastButton: $ = !1,
25
- siblingCount: y = 1
26
- } = a, r = _(a, ca), [i, R] = aa({
27
- controlled: b,
28
- default: p,
29
- name: e,
255
+ componentName: n = "usePagination",
256
+ count: a = 1,
257
+ defaultPage: i = 1,
258
+ disabled: l = !1,
259
+ hideNextButton: u = !1,
260
+ hidePrevButton: s = !1,
261
+ onChange: g,
262
+ page: c,
263
+ showFirstButton: y = !1,
264
+ showLastButton: x = !1,
265
+ siblingCount: v = 1
266
+ } = e, d = w(e, be), [r, P] = ie({
267
+ controlled: c,
268
+ default: i,
269
+ name: n,
30
270
  state: "page"
31
- }), N = (s, O) => {
32
- b || R(O), d && d(s, O);
33
- }, x = (s, O) => {
34
- const X = O - s + 1;
271
+ }), N = (p, I) => {
272
+ c || P(I), g && g(p, I);
273
+ }, h = (p, I) => {
274
+ const oe = I - p + 1;
35
275
  return Array.from({
36
- length: X
37
- }, (za, Y) => s + Y);
38
- }, T = x(1, Math.min(o, n)), C = x(Math.max(n - o + 1, o + 1), n), k = Math.max(
276
+ length: oe
277
+ }, (Se, te) => p + te);
278
+ }, R = h(1, Math.min(o, a)), C = h(Math.max(a - o + 1, o + 1), a), M = Math.max(
39
279
  Math.min(
40
280
  // Natural start
41
- i - y,
281
+ r - v,
42
282
  // Lower boundary when page is high
43
- n - o - y * 2 - 1
283
+ a - o - v * 2 - 1
44
284
  ),
45
285
  // Greater than startPages
46
286
  o + 2
47
- ), z = Math.min(
287
+ ), T = Math.min(
48
288
  Math.max(
49
289
  // Natural end
50
- i + y,
290
+ r + v,
51
291
  // Upper boundary when page is low
52
- o + y * 2 + 2
292
+ o + v * 2 + 2
53
293
  ),
54
294
  // Less than endPages
55
- C.length > 0 ? C[0] - 2 : n - 1
56
- ), h = [
57
- ...P ? ["first"] : [],
58
- ...l ? [] : ["previous"],
59
- ...T,
295
+ C.length > 0 ? C[0] - 2 : a - 1
296
+ ), _ = [
297
+ ...y ? ["first"] : [],
298
+ ...s ? [] : ["previous"],
299
+ ...R,
60
300
  // Start ellipsis
61
301
  // eslint-disable-next-line no-nested-ternary
62
- ...k > o + 2 ? ["start-ellipsis"] : o + 1 < n - o ? [o + 1] : [],
302
+ ...M > o + 2 ? ["start-ellipsis"] : o + 1 < a - o ? [o + 1] : [],
63
303
  // Sibling pages
64
- ...x(k, z),
304
+ ...h(M, T),
65
305
  // End ellipsis
66
306
  // eslint-disable-next-line no-nested-ternary
67
- ...z < n - o - 1 ? ["end-ellipsis"] : n - o > o ? [n - o] : [],
307
+ ...T < a - o - 1 ? ["end-ellipsis"] : a - o > o ? [a - o] : [],
68
308
  ...C,
69
- ...v ? [] : ["next"],
70
- ...$ ? ["last"] : []
71
- ], L = (s) => {
72
- switch (s) {
309
+ ...u ? [] : ["next"],
310
+ ...x ? ["last"] : []
311
+ ], k = (p) => {
312
+ switch (p) {
73
313
  case "first":
74
314
  return 1;
75
315
  case "previous":
76
- return i - 1;
316
+ return r - 1;
77
317
  case "next":
78
- return i + 1;
318
+ return r + 1;
79
319
  case "last":
80
- return n;
320
+ return a;
81
321
  default:
82
322
  return null;
83
323
  }
84
- }, m = h.map((s) => typeof s == "number" ? {
85
- onClick: (O) => {
86
- N(O, s);
324
+ }, z = _.map((p) => typeof p == "number" ? {
325
+ onClick: (I) => {
326
+ N(I, p);
87
327
  },
88
328
  type: "page",
89
- page: s,
90
- selected: s === i,
91
- disabled: u,
92
- "aria-current": s === i ? "true" : void 0
329
+ page: p,
330
+ selected: p === r,
331
+ disabled: l,
332
+ "aria-current": p === r ? "true" : void 0
93
333
  } : {
94
- onClick: (O) => {
95
- N(O, L(s));
334
+ onClick: (I) => {
335
+ N(I, k(p));
96
336
  },
97
- type: s,
98
- page: L(s),
337
+ type: p,
338
+ page: k(p),
99
339
  selected: !1,
100
- disabled: u || s.indexOf("ellipsis") === -1 && (s === "next" || s === "last" ? i >= n : i <= 1)
340
+ disabled: l || p.indexOf("ellipsis") === -1 && (p === "next" || p === "last" ? r >= a : r <= 1)
101
341
  });
102
- return c({
103
- items: m
104
- }, r);
342
+ return f({
343
+ items: z
344
+ }, d);
105
345
  }
106
- function da(a) {
107
- return w("MuiPaginationItem", a);
346
+ function me(e) {
347
+ return U("MuiPaginationItem", e);
108
348
  }
109
- const g = q("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "text", "textPrimary", "textSecondary", "outlined", "outlinedPrimary", "outlinedSecondary", "rounded", "ellipsis", "firstLast", "previousNext", "focusVisible", "disabled", "selected", "icon", "colorPrimary", "colorSecondary"]), U = E(/* @__PURE__ */ f("path", {
349
+ const $ = D("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "text", "textPrimary", "textSecondary", "outlined", "outlinedPrimary", "outlinedSecondary", "rounded", "ellipsis", "firstLast", "previousNext", "focusVisible", "disabled", "selected", "icon", "colorPrimary", "colorSecondary"]), q = A(/* @__PURE__ */ b("path", {
350
+ d: "M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"
351
+ }), "FirstPage"), H = A(/* @__PURE__ */ b("path", {
352
+ d: "M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"
353
+ }), "LastPage"), J = A(/* @__PURE__ */ b("path", {
110
354
  d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
111
- }), "NavigateBefore"), V = E(/* @__PURE__ */ f("path", {
355
+ }), "NavigateBefore"), K = A(/* @__PURE__ */ b("path", {
112
356
  d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
113
- }), "NavigateNext"), ua = ["className", "color", "component", "components", "disabled", "page", "selected", "shape", "size", "slots", "type", "variant"], K = (a, o) => {
357
+ }), "NavigateNext"), xe = ["className", "color", "component", "components", "disabled", "page", "selected", "shape", "size", "slots", "type", "variant"], Z = (e, o) => {
114
358
  const {
115
- ownerState: e
116
- } = a;
117
- return [o.root, o[e.variant], o[`size${I(e.size)}`], e.variant === "text" && o[`text${I(e.color)}`], e.variant === "outlined" && o[`outlined${I(e.color)}`], e.shape === "rounded" && o.rounded, e.type === "page" && o.page, (e.type === "start-ellipsis" || e.type === "end-ellipsis") && o.ellipsis, (e.type === "previous" || e.type === "next") && o.previousNext, (e.type === "first" || e.type === "last") && o.firstLast];
118
- }, ga = (a) => {
359
+ ownerState: n
360
+ } = e;
361
+ return [o.root, o[n.variant], o[`size${O(n.size)}`], n.variant === "text" && o[`text${O(n.color)}`], n.variant === "outlined" && o[`outlined${O(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];
362
+ }, he = (e) => {
119
363
  const {
120
364
  classes: o,
121
- color: e,
122
- disabled: n,
123
- selected: p,
124
- size: u,
125
- shape: v,
126
- type: l,
127
- variant: d
128
- } = a, b = {
129
- root: ["root", `size${I(u)}`, d, v, e !== "standard" && `color${I(e)}`, e !== "standard" && `${d}${I(e)}`, n && "disabled", p && "selected", {
365
+ color: n,
366
+ disabled: a,
367
+ selected: i,
368
+ size: l,
369
+ shape: u,
370
+ type: s,
371
+ variant: g
372
+ } = e, c = {
373
+ root: ["root", `size${O(l)}`, g, u, n !== "standard" && `color${O(n)}`, n !== "standard" && `${g}${O(n)}`, a && "disabled", i && "selected", {
130
374
  page: "page",
131
375
  first: "firstLast",
132
376
  last: "firstLast",
@@ -134,28 +378,28 @@ const g = q("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
134
378
  "end-ellipsis": "ellipsis",
135
379
  previous: "previousNext",
136
380
  next: "previousNext"
137
- }[l]],
381
+ }[s]],
138
382
  icon: ["icon"]
139
383
  };
140
- return J(b, da, o);
141
- }, fa = A("div", {
384
+ return W(c, me, o);
385
+ }, $e = B("div", {
142
386
  name: "MuiPaginationItem",
143
387
  slot: "Root",
144
- overridesResolver: K
388
+ overridesResolver: Z
145
389
  })(({
146
- theme: a,
390
+ theme: e,
147
391
  ownerState: o
148
- }) => c({}, a.typography.body2, {
392
+ }) => f({}, e.typography.body2, {
149
393
  borderRadius: 32 / 2,
150
394
  textAlign: "center",
151
395
  boxSizing: "border-box",
152
396
  minWidth: 32,
153
397
  padding: "0 6px",
154
398
  margin: "0 3px",
155
- color: (a.vars || a).palette.text.primary,
399
+ color: (e.vars || e).palette.text.primary,
156
400
  height: "auto",
157
- [`&.${g.disabled}`]: {
158
- opacity: (a.vars || a).palette.action.disabledOpacity
401
+ [`&.${$.disabled}`]: {
402
+ opacity: (e.vars || e).palette.action.disabledOpacity
159
403
  }
160
404
  }, o.size === "small" && {
161
405
  minWidth: 26,
@@ -166,15 +410,15 @@ const g = q("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
166
410
  minWidth: 40,
167
411
  borderRadius: 40 / 2,
168
412
  padding: "0 10px",
169
- fontSize: a.typography.pxToRem(15)
170
- })), va = A(ra, {
413
+ fontSize: e.typography.pxToRem(15)
414
+ })), Ce = B(ae, {
171
415
  name: "MuiPaginationItem",
172
416
  slot: "Root",
173
- overridesResolver: K
417
+ overridesResolver: Z
174
418
  })(({
175
- theme: a,
419
+ theme: e,
176
420
  ownerState: o
177
- }) => c({}, a.typography.body2, {
421
+ }) => f({}, e.typography.body2, {
178
422
  borderRadius: 32 / 2,
179
423
  textAlign: "center",
180
424
  boxSizing: "border-box",
@@ -182,39 +426,39 @@ const g = q("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
182
426
  height: 32,
183
427
  padding: "0 6px",
184
428
  margin: "0 3px",
185
- color: (a.vars || a).palette.text.primary,
186
- [`&.${g.focusVisible}`]: {
187
- backgroundColor: (a.vars || a).palette.action.focus
429
+ color: (e.vars || e).palette.text.primary,
430
+ [`&.${$.focusVisible}`]: {
431
+ backgroundColor: (e.vars || e).palette.action.focus
188
432
  },
189
- [`&.${g.disabled}`]: {
190
- opacity: (a.vars || a).palette.action.disabledOpacity
433
+ [`&.${$.disabled}`]: {
434
+ opacity: (e.vars || e).palette.action.disabledOpacity
191
435
  },
192
- transition: a.transitions.create(["color", "background-color"], {
193
- duration: a.transitions.duration.short
436
+ transition: e.transitions.create(["color", "background-color"], {
437
+ duration: e.transitions.duration.short
194
438
  }),
195
439
  "&:hover": {
196
- backgroundColor: (a.vars || a).palette.action.hover,
440
+ backgroundColor: (e.vars || e).palette.action.hover,
197
441
  // Reset on touch devices, it doesn't add specificity
198
442
  "@media (hover: none)": {
199
443
  backgroundColor: "transparent"
200
444
  }
201
445
  },
202
- [`&.${g.selected}`]: {
203
- backgroundColor: (a.vars || a).palette.action.selected,
446
+ [`&.${$.selected}`]: {
447
+ backgroundColor: (e.vars || e).palette.action.selected,
204
448
  "&:hover": {
205
- backgroundColor: a.vars ? `rgba(${a.vars.palette.action.selectedChannel} / calc(${a.vars.palette.action.selectedOpacity} + ${a.vars.palette.action.hoverOpacity}))` : B(a.palette.action.selected, a.palette.action.selectedOpacity + a.palette.action.hoverOpacity),
449
+ backgroundColor: e.vars ? `rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))` : S(e.palette.action.selected, e.palette.action.selectedOpacity + e.palette.action.hoverOpacity),
206
450
  // Reset on touch devices, it doesn't add specificity
207
451
  "@media (hover: none)": {
208
- backgroundColor: (a.vars || a).palette.action.selected
452
+ backgroundColor: (e.vars || e).palette.action.selected
209
453
  }
210
454
  },
211
- [`&.${g.focusVisible}`]: {
212
- backgroundColor: a.vars ? `rgba(${a.vars.palette.action.selectedChannel} / calc(${a.vars.palette.action.selectedOpacity} + ${a.vars.palette.action.focusOpacity}))` : B(a.palette.action.selected, a.palette.action.selectedOpacity + a.palette.action.focusOpacity)
455
+ [`&.${$.focusVisible}`]: {
456
+ backgroundColor: e.vars ? `rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))` : S(e.palette.action.selected, e.palette.action.selectedOpacity + e.palette.action.focusOpacity)
213
457
  },
214
- [`&.${g.disabled}`]: {
458
+ [`&.${$.disabled}`]: {
215
459
  opacity: 1,
216
- color: (a.vars || a).palette.action.disabled,
217
- backgroundColor: (a.vars || a).palette.action.selected
460
+ color: (e.vars || e).palette.action.disabled,
461
+ backgroundColor: (e.vars || e).palette.action.selected
218
462
  }
219
463
  }
220
464
  }, o.size === "small" && {
@@ -228,123 +472,123 @@ const g = q("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
228
472
  height: 40,
229
473
  borderRadius: 40 / 2,
230
474
  padding: "0 10px",
231
- fontSize: a.typography.pxToRem(15)
475
+ fontSize: e.typography.pxToRem(15)
232
476
  }, o.shape === "rounded" && {
233
- borderRadius: (a.vars || a).shape.borderRadius
477
+ borderRadius: (e.vars || e).shape.borderRadius
234
478
  }), ({
235
- theme: a,
479
+ theme: e,
236
480
  ownerState: o
237
- }) => c({}, o.variant === "text" && {
238
- [`&.${g.selected}`]: c({}, o.color !== "standard" && {
239
- color: (a.vars || a).palette[o.color].contrastText,
240
- backgroundColor: (a.vars || a).palette[o.color].main,
481
+ }) => f({}, o.variant === "text" && {
482
+ [`&.${$.selected}`]: f({}, o.color !== "standard" && {
483
+ color: (e.vars || e).palette[o.color].contrastText,
484
+ backgroundColor: (e.vars || e).palette[o.color].main,
241
485
  "&:hover": {
242
- backgroundColor: (a.vars || a).palette[o.color].dark,
486
+ backgroundColor: (e.vars || e).palette[o.color].dark,
243
487
  // Reset on touch devices, it doesn't add specificity
244
488
  "@media (hover: none)": {
245
- backgroundColor: (a.vars || a).palette[o.color].main
489
+ backgroundColor: (e.vars || e).palette[o.color].main
246
490
  }
247
491
  },
248
- [`&.${g.focusVisible}`]: {
249
- backgroundColor: (a.vars || a).palette[o.color].dark
492
+ [`&.${$.focusVisible}`]: {
493
+ backgroundColor: (e.vars || e).palette[o.color].dark
250
494
  }
251
495
  }, {
252
- [`&.${g.disabled}`]: {
253
- color: (a.vars || a).palette.action.disabled
496
+ [`&.${$.disabled}`]: {
497
+ color: (e.vars || e).palette.action.disabled
254
498
  }
255
499
  })
256
500
  }, o.variant === "outlined" && {
257
- border: a.vars ? `1px solid rgba(${a.vars.palette.common.onBackgroundChannel} / 0.23)` : `1px solid ${a.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)"}`,
258
- [`&.${g.selected}`]: c({}, o.color !== "standard" && {
259
- color: (a.vars || a).palette[o.color].main,
260
- border: `1px solid ${a.vars ? `rgba(${a.vars.palette[o.color].mainChannel} / 0.5)` : B(a.palette[o.color].main, 0.5)}`,
261
- backgroundColor: a.vars ? `rgba(${a.vars.palette[o.color].mainChannel} / ${a.vars.palette.action.activatedOpacity})` : B(a.palette[o.color].main, a.palette.action.activatedOpacity),
501
+ border: e.vars ? `1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)` : `1px solid ${e.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)"}`,
502
+ [`&.${$.selected}`]: f({}, o.color !== "standard" && {
503
+ color: (e.vars || e).palette[o.color].main,
504
+ border: `1px solid ${e.vars ? `rgba(${e.vars.palette[o.color].mainChannel} / 0.5)` : S(e.palette[o.color].main, 0.5)}`,
505
+ backgroundColor: e.vars ? `rgba(${e.vars.palette[o.color].mainChannel} / ${e.vars.palette.action.activatedOpacity})` : S(e.palette[o.color].main, e.palette.action.activatedOpacity),
262
506
  "&:hover": {
263
- backgroundColor: a.vars ? `rgba(${a.vars.palette[o.color].mainChannel} / calc(${a.vars.palette.action.activatedOpacity} + ${a.vars.palette.action.focusOpacity}))` : B(a.palette[o.color].main, a.palette.action.activatedOpacity + a.palette.action.focusOpacity),
507
+ backgroundColor: e.vars ? `rgba(${e.vars.palette[o.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))` : S(e.palette[o.color].main, e.palette.action.activatedOpacity + e.palette.action.focusOpacity),
264
508
  // Reset on touch devices, it doesn't add specificity
265
509
  "@media (hover: none)": {
266
510
  backgroundColor: "transparent"
267
511
  }
268
512
  },
269
- [`&.${g.focusVisible}`]: {
270
- backgroundColor: a.vars ? `rgba(${a.vars.palette[o.color].mainChannel} / calc(${a.vars.palette.action.activatedOpacity} + ${a.vars.palette.action.focusOpacity}))` : B(a.palette[o.color].main, a.palette.action.activatedOpacity + a.palette.action.focusOpacity)
513
+ [`&.${$.focusVisible}`]: {
514
+ backgroundColor: e.vars ? `rgba(${e.vars.palette[o.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))` : S(e.palette[o.color].main, e.palette.action.activatedOpacity + e.palette.action.focusOpacity)
271
515
  }
272
516
  }, {
273
- [`&.${g.disabled}`]: {
274
- borderColor: (a.vars || a).palette.action.disabledBackground,
275
- color: (a.vars || a).palette.action.disabled
517
+ [`&.${$.disabled}`]: {
518
+ borderColor: (e.vars || e).palette.action.disabledBackground,
519
+ color: (e.vars || e).palette.action.disabled
276
520
  }
277
521
  })
278
- })), ba = A("div", {
522
+ })), Oe = B("div", {
279
523
  name: "MuiPaginationItem",
280
524
  slot: "Icon",
281
- overridesResolver: (a, o) => o.icon
525
+ overridesResolver: (e, o) => o.icon
282
526
  })(({
283
- theme: a,
527
+ theme: e,
284
528
  ownerState: o
285
- }) => c({
286
- fontSize: a.typography.pxToRem(20),
529
+ }) => f({
530
+ fontSize: e.typography.pxToRem(20),
287
531
  margin: "0 -8px"
288
532
  }, o.size === "small" && {
289
- fontSize: a.typography.pxToRem(18)
533
+ fontSize: e.typography.pxToRem(18)
290
534
  }, o.size === "large" && {
291
- fontSize: a.typography.pxToRem(22)
292
- })), j = /* @__PURE__ */ D.forwardRef(function(o, e) {
293
- const n = H({
535
+ fontSize: e.typography.pxToRem(22)
536
+ })), G = /* @__PURE__ */ m.forwardRef(function(o, n) {
537
+ const a = F({
294
538
  props: o,
295
539
  name: "MuiPaginationItem"
296
540
  }), {
297
- className: p,
298
- color: u = "standard",
299
- component: v,
300
- components: l = {},
301
- disabled: d = !1,
302
- page: b,
303
- selected: P = !1,
304
- shape: $ = "circular",
305
- size: y = "medium",
306
- slots: r = {},
307
- type: i = "page",
308
- variant: R = "text"
309
- } = n, N = _(n, ua), x = c({}, n, {
310
- color: u,
311
- disabled: d,
312
- selected: P,
313
- shape: $,
314
- size: y,
315
- type: i,
316
- variant: R
317
- }), T = oa(), C = ga(x), z = (T ? {
318
- previous: r.next || l.next || V,
319
- next: r.previous || l.previous || U,
320
- last: r.first || l.first || F,
321
- first: r.last || l.last || S
541
+ className: i,
542
+ color: l = "standard",
543
+ component: u,
544
+ components: s = {},
545
+ disabled: g = !1,
546
+ page: c,
547
+ selected: y = !1,
548
+ shape: x = "circular",
549
+ size: v = "medium",
550
+ slots: d = {},
551
+ type: r = "page",
552
+ variant: P = "text"
553
+ } = a, N = w(a, xe), h = f({}, a, {
554
+ color: l,
555
+ disabled: g,
556
+ selected: y,
557
+ shape: x,
558
+ size: v,
559
+ type: r,
560
+ variant: P
561
+ }), R = de(), C = he(h), T = (R ? {
562
+ previous: d.next || s.next || K,
563
+ next: d.previous || s.previous || J,
564
+ last: d.first || s.first || q,
565
+ first: d.last || s.last || H
322
566
  } : {
323
- previous: r.previous || l.previous || U,
324
- next: r.next || l.next || V,
325
- first: r.first || l.first || F,
326
- last: r.last || l.last || S
327
- })[i];
328
- return i === "start-ellipsis" || i === "end-ellipsis" ? /* @__PURE__ */ f(fa, {
329
- ref: e,
330
- ownerState: x,
331
- className: W(C.root, p),
567
+ previous: d.previous || s.previous || J,
568
+ next: d.next || s.next || K,
569
+ first: d.first || s.first || q,
570
+ last: d.last || s.last || H
571
+ })[r];
572
+ return r === "start-ellipsis" || r === "end-ellipsis" ? /* @__PURE__ */ b($e, {
573
+ ref: n,
574
+ ownerState: h,
575
+ className: V(C.root, i),
332
576
  children: "…"
333
- }) : /* @__PURE__ */ Z(va, c({
334
- ref: e,
335
- ownerState: x,
336
- component: v,
337
- disabled: d,
338
- className: W(C.root, p)
577
+ }) : /* @__PURE__ */ Q(Ce, f({
578
+ ref: n,
579
+ ownerState: h,
580
+ component: u,
581
+ disabled: g,
582
+ className: V(C.root, i)
339
583
  }, N, {
340
- children: [i === "page" && b, z ? /* @__PURE__ */ f(ba, {
341
- as: z,
342
- ownerState: x,
584
+ children: [r === "page" && c, T ? /* @__PURE__ */ b(Oe, {
585
+ as: T,
586
+ ownerState: h,
343
587
  className: C.icon
344
588
  }) : null]
345
589
  }));
346
590
  });
347
- process.env.NODE_ENV !== "production" && (j.propTypes = {
591
+ process.env.NODE_ENV !== "production" && (G.propTypes = {
348
592
  // ┌────────────────────────────── Warning ──────────────────────────────┐
349
593
  // │ These PropTypes are generated from the TypeScript type definitions. │
350
594
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -439,28 +683,28 @@ process.env.NODE_ENV !== "production" && (j.propTypes = {
439
683
  */
440
684
  variant: t.oneOfType([t.oneOf(["outlined", "text"]), t.string])
441
685
  });
442
- const ya = ["boundaryCount", "className", "color", "count", "defaultPage", "disabled", "getItemAriaLabel", "hideNextButton", "hidePrevButton", "onChange", "page", "renderItem", "shape", "showFirstButton", "showLastButton", "siblingCount", "size", "variant"], xa = (a) => {
686
+ const Ne = ["boundaryCount", "className", "color", "count", "defaultPage", "disabled", "getItemAriaLabel", "hideNextButton", "hidePrevButton", "onChange", "page", "renderItem", "shape", "showFirstButton", "showLastButton", "siblingCount", "size", "variant"], Pe = (e) => {
443
687
  const {
444
688
  classes: o,
445
- variant: e
446
- } = a;
447
- return J({
448
- root: ["root", e],
689
+ variant: n
690
+ } = e;
691
+ return W({
692
+ root: ["root", n],
449
693
  ul: ["ul"]
450
- }, la, o);
451
- }, Ca = A("nav", {
694
+ }, ve, o);
695
+ }, ze = B("nav", {
452
696
  name: "MuiPagination",
453
697
  slot: "Root",
454
- overridesResolver: (a, o) => {
698
+ overridesResolver: (e, o) => {
455
699
  const {
456
- ownerState: e
457
- } = a;
458
- return [o.root, o[e.variant]];
700
+ ownerState: n
701
+ } = e;
702
+ return [o.root, o[n.variant]];
459
703
  }
460
- })({}), Pa = A("ul", {
704
+ })({}), Ie = B("ul", {
461
705
  name: "MuiPagination",
462
706
  slot: "Ul",
463
- overridesResolver: (a, o) => o.ul
707
+ overridesResolver: (e, o) => o.ul
464
708
  })({
465
709
  display: "flex",
466
710
  flexWrap: "wrap",
@@ -469,73 +713,73 @@ const ya = ["boundaryCount", "className", "color", "count", "defaultPage", "disa
469
713
  margin: 0,
470
714
  listStyle: "none"
471
715
  });
472
- function ma(a, o, e) {
473
- return a === "page" ? `${e ? "" : "Go to "}page ${o}` : `Go to ${a} page`;
716
+ function Te(e, o, n) {
717
+ return e === "page" ? `${n ? "" : "Go to "}page ${o}` : `Go to ${e} page`;
474
718
  }
475
- const Q = /* @__PURE__ */ D.forwardRef(function(o, e) {
476
- const n = H({
719
+ const ee = /* @__PURE__ */ m.forwardRef(function(o, n) {
720
+ const a = F({
477
721
  props: o,
478
722
  name: "MuiPagination"
479
723
  }), {
480
- boundaryCount: p = 1,
481
- className: u,
482
- color: v = "standard",
483
- count: l = 1,
484
- defaultPage: d = 1,
485
- disabled: b = !1,
486
- getItemAriaLabel: P = ma,
487
- hideNextButton: $ = !1,
488
- hidePrevButton: y = !1,
489
- renderItem: r = (m) => /* @__PURE__ */ f(j, c({}, m)),
490
- shape: i = "circular",
491
- showFirstButton: R = !1,
724
+ boundaryCount: i = 1,
725
+ className: l,
726
+ color: u = "standard",
727
+ count: s = 1,
728
+ defaultPage: g = 1,
729
+ disabled: c = !1,
730
+ getItemAriaLabel: y = Te,
731
+ hideNextButton: x = !1,
732
+ hidePrevButton: v = !1,
733
+ renderItem: d = (z) => /* @__PURE__ */ b(G, f({}, z)),
734
+ shape: r = "circular",
735
+ showFirstButton: P = !1,
492
736
  showLastButton: N = !1,
493
- siblingCount: x = 1,
494
- size: T = "medium",
737
+ siblingCount: h = 1,
738
+ size: R = "medium",
495
739
  variant: C = "text"
496
- } = n, k = _(n, ya), {
497
- items: z
498
- } = pa(c({}, n, {
740
+ } = a, M = w(a, Ne), {
741
+ items: T
742
+ } = ye(f({}, a, {
499
743
  componentName: "Pagination"
500
- })), h = c({}, n, {
501
- boundaryCount: p,
502
- color: v,
503
- count: l,
504
- defaultPage: d,
505
- disabled: b,
506
- getItemAriaLabel: P,
507
- hideNextButton: $,
508
- hidePrevButton: y,
509
- renderItem: r,
510
- shape: i,
511
- showFirstButton: R,
744
+ })), _ = f({}, a, {
745
+ boundaryCount: i,
746
+ color: u,
747
+ count: s,
748
+ defaultPage: g,
749
+ disabled: c,
750
+ getItemAriaLabel: y,
751
+ hideNextButton: x,
752
+ hidePrevButton: v,
753
+ renderItem: d,
754
+ shape: r,
755
+ showFirstButton: P,
512
756
  showLastButton: N,
513
- siblingCount: x,
514
- size: T,
757
+ siblingCount: h,
758
+ size: R,
515
759
  variant: C
516
- }), L = xa(h);
517
- return /* @__PURE__ */ f(Ca, c({
760
+ }), k = Pe(_);
761
+ return /* @__PURE__ */ b(ze, f({
518
762
  "aria-label": "pagination navigation",
519
- className: W(L.root, u),
520
- ownerState: h,
521
- ref: e
522
- }, k, {
523
- children: /* @__PURE__ */ f(Pa, {
524
- className: L.ul,
525
- ownerState: h,
526
- children: z.map((m, s) => /* @__PURE__ */ f("li", {
527
- children: r(c({}, m, {
528
- color: v,
529
- "aria-label": P(m.type, m.page, m.selected),
530
- shape: i,
531
- size: T,
763
+ className: V(k.root, l),
764
+ ownerState: _,
765
+ ref: n
766
+ }, M, {
767
+ children: /* @__PURE__ */ b(Ie, {
768
+ className: k.ul,
769
+ ownerState: _,
770
+ children: T.map((z, p) => /* @__PURE__ */ b("li", {
771
+ children: d(f({}, z, {
772
+ color: u,
773
+ "aria-label": y(z.type, z.page, z.selected),
774
+ shape: r,
775
+ size: R,
532
776
  variant: C
533
777
  }))
534
- }, s))
778
+ }, p))
535
779
  })
536
780
  }));
537
781
  });
538
- process.env.NODE_ENV !== "production" && (Q.propTypes = {
782
+ process.env.NODE_ENV !== "production" && (ee.propTypes = {
539
783
  // ┌────────────────────────────── Warning ──────────────────────────────┐
540
784
  // │ These PropTypes are generated from the TypeScript type definitions. │
541
785
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -544,7 +788,7 @@ process.env.NODE_ENV !== "production" && (Q.propTypes = {
544
788
  * Number of always visible pages at the beginning and end.
545
789
  * @default 1
546
790
  */
547
- boundaryCount: M,
791
+ boundaryCount: L,
548
792
  /**
549
793
  * Override or extend the styles applied to the component.
550
794
  */
@@ -564,12 +808,12 @@ process.env.NODE_ENV !== "production" && (Q.propTypes = {
564
808
  * The total number of pages.
565
809
  * @default 1
566
810
  */
567
- count: M,
811
+ count: L,
568
812
  /**
569
813
  * The page selected by default when the component is uncontrolled.
570
814
  * @default 1
571
815
  */
572
- defaultPage: M,
816
+ defaultPage: L,
573
817
  /**
574
818
  * If `true`, the component is disabled.
575
819
  * @default false
@@ -606,7 +850,7 @@ process.env.NODE_ENV !== "production" && (Q.propTypes = {
606
850
  /**
607
851
  * The current page. Unlike `TablePagination`, which starts numbering from `0`, this pagination starts from `1`.
608
852
  */
609
- page: M,
853
+ page: L,
610
854
  /**
611
855
  * Render the item.
612
856
  * @param {PaginationRenderItemParams} params The props to spread on a PaginationItem.
@@ -633,7 +877,7 @@ process.env.NODE_ENV !== "production" && (Q.propTypes = {
633
877
  * Number of always visible pages before and after the current page.
634
878
  * @default 1
635
879
  */
636
- siblingCount: M,
880
+ siblingCount: L,
637
881
  /**
638
882
  * The size of the component.
639
883
  * @default 'medium'
@@ -649,36 +893,35 @@ process.env.NODE_ENV !== "production" && (Q.propTypes = {
649
893
  */
650
894
  variant: t.oneOfType([t.oneOf(["outlined", "text"]), t.string])
651
895
  });
652
- const Oa = (a, o) => o > 0 && a > 0 ? Math.ceil(a / o) : 0;
653
- function $a({
654
- isRtl: a,
655
- arrowFirstIcon: o,
656
- arrowLastIcon: e,
657
- nextIcon: n,
658
- previousIcon: p,
896
+ function Re({
897
+ isRtl: e,
898
+ pageCount: o,
899
+ arrowFirstIcon: n,
900
+ arrowLastIcon: a,
901
+ nextIcon: i,
902
+ previousIcon: l,
659
903
  page: u,
660
- onPageChange: v,
661
- className: l
904
+ onPageChange: s,
905
+ className: g
662
906
  }) {
663
- const d = ea(), b = G(d, na), P = G(d, sa), $ = ia(), y = Oa($.rowCount ?? P, b);
664
- return /* @__PURE__ */ f(
665
- Q,
907
+ return /* @__PURE__ */ b(
908
+ ee,
666
909
  {
667
910
  showFirstButton: !0,
668
911
  showLastButton: !0,
669
- className: l,
670
- count: y,
912
+ className: g,
913
+ count: o,
671
914
  page: u + 1,
672
- onChange: (r, i) => {
673
- v(r, i - 1);
915
+ onChange: (c, y) => {
916
+ s(c, y - 1);
674
917
  },
675
918
  boundaryCount: 0,
676
919
  siblingCount: 1,
677
- renderItem: (r) => /* @__PURE__ */ f(
678
- j,
920
+ renderItem: (c) => /* @__PURE__ */ b(
921
+ G,
679
922
  {
680
- slots: { previous: a ? n : p, next: a ? p : n, first: a ? e : o, last: a ? o : e },
681
- ...r
923
+ slots: { previous: e ? i : l, next: e ? l : i, first: e ? a : n, last: e ? n : a },
924
+ ...c
682
925
  }
683
926
  ),
684
927
  sx: {
@@ -697,9 +940,9 @@ function $a({
697
940
  }
698
941
  );
699
942
  }
700
- function ka({ isRtl: a, arrowFirstIcon: o, arrowLastIcon: e, nextIcon: n, previousIcon: p }) {
701
- return /* @__PURE__ */ f(ta, { ActionsComponent: (u) => /* @__PURE__ */ f($a, { isRtl: a, arrowFirstIcon: o, arrowLastIcon: e, nextIcon: n, previousIcon: p, ...u }) });
943
+ function Ve({ isRtl: e, pageCount: o, arrowFirstIcon: n, arrowLastIcon: a, nextIcon: i, previousIcon: l }) {
944
+ return /* @__PURE__ */ b(ne, { ActionsComponent: (u) => /* @__PURE__ */ b(Re, { isRtl: e, pageCount: o, arrowFirstIcon: n, arrowLastIcon: a, nextIcon: i, previousIcon: l, ...u }) });
702
945
  }
703
946
  export {
704
- ka as CustomPagination
947
+ Ve as CustomPagination
705
948
  };