@amateescu/portal-ui-components 0.0.34 → 0.0.37

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.
Files changed (266) hide show
  1. package/README.md +113 -0
  2. package/dist/{Button-xgiLW4_3.js → Button-BM72-1G6.js} +107 -106
  3. package/dist/ButtonBase-D6nf3ymf.js +990 -0
  4. package/dist/{CircularProgress-Dq_bUtxt.js → CircularProgress-BlQFR6DW.js} +107 -80
  5. package/dist/Clear-BauR3cPE.js +8 -0
  6. package/dist/DefaultPropsProvider-BtPfTrMq.js +3449 -0
  7. package/dist/UserInfoDropdown-rBF0pwlq.js +23 -0
  8. package/dist/assets/KpiCard.css +1 -1
  9. package/dist/assets/PassportConfirmationModal.css +1 -0
  10. package/dist/assets/PassportErrorModal.css +1 -0
  11. package/dist/assets/PassportKpiCard.css +1 -0
  12. package/dist/assets/PassportTabHeader.css +1 -0
  13. package/dist/assets/index.css +1 -0
  14. package/dist/components/ConfirmationModal/ConfirmationModal.d.ts +2 -1
  15. package/dist/components/ConfirmationModal/ConfirmationModal.d.ts.map +1 -0
  16. package/dist/components/ConfirmationModal/ConfirmationModal.js +10 -2
  17. package/dist/components/ConfirmationModal/ConfirmationModal.stories.d.ts +1 -0
  18. package/dist/components/ConfirmationModal/ConfirmationModal.stories.d.ts.map +1 -0
  19. package/dist/components/ConfirmationModal/ConfirmationModal.types.d.ts +1 -0
  20. package/dist/components/ConfirmationModal/ConfirmationModal.types.d.ts.map +1 -0
  21. package/dist/components/DebouncedPassportInput/DebouncedPassportInput.d.ts +3 -0
  22. package/dist/components/DebouncedPassportInput/DebouncedPassportInput.d.ts.map +1 -0
  23. package/dist/components/DebouncedPassportInput/DebouncedPassportInput.js +31 -0
  24. package/dist/components/DebouncedPassportInput/DebouncedPassportInput.stories.d.ts +23 -0
  25. package/dist/components/DebouncedPassportInput/DebouncedPassportInput.stories.d.ts.map +1 -0
  26. package/dist/components/DebouncedPassportInput/DebouncedPassportInput.types.d.ts +8 -0
  27. package/dist/components/DebouncedPassportInput/DebouncedPassportInput.types.d.ts.map +1 -0
  28. package/dist/components/ErrorModal/ErrorModal.d.ts +2 -1
  29. package/dist/components/ErrorModal/ErrorModal.d.ts.map +1 -0
  30. package/dist/components/ErrorModal/ErrorModal.js +11 -5
  31. package/dist/components/ErrorModal/ErrorModal.stories.d.ts +1 -0
  32. package/dist/components/ErrorModal/ErrorModal.stories.d.ts.map +1 -0
  33. package/dist/components/ErrorModal/ErrorModal.types.d.ts +1 -0
  34. package/dist/components/ErrorModal/ErrorModal.types.d.ts.map +1 -0
  35. package/dist/components/InfoModal/InfoModal.d.ts +2 -1
  36. package/dist/components/InfoModal/InfoModal.d.ts.map +1 -0
  37. package/dist/components/InfoModal/InfoModal.js +15 -3
  38. package/dist/components/InfoModal/InfoModal.stories.d.ts +1 -0
  39. package/dist/components/InfoModal/InfoModal.stories.d.ts.map +1 -0
  40. package/dist/components/InfoModal/InfoModal.types.d.ts +1 -0
  41. package/dist/components/InfoModal/InfoModal.types.d.ts.map +1 -0
  42. package/dist/components/KpiCard/KpiCard.d.ts +1 -0
  43. package/dist/components/KpiCard/KpiCard.d.ts.map +1 -0
  44. package/dist/components/KpiCard/KpiCard.js +29 -2401
  45. package/dist/components/KpiCard/KpiCard.stories.d.ts +1 -0
  46. package/dist/components/KpiCard/KpiCard.stories.d.ts.map +1 -0
  47. package/dist/components/KpiCard/KpiCard.types.d.ts +1 -0
  48. package/dist/components/KpiCard/KpiCard.types.d.ts.map +1 -0
  49. package/dist/components/LoadingAnimation/LoadingAnimation.d.ts +1 -0
  50. package/dist/components/LoadingAnimation/LoadingAnimation.d.ts.map +1 -0
  51. package/dist/components/LoadingAnimation/LoadingAnimation.js +66 -6
  52. package/dist/components/LoadingAnimation/LoadingAnimation.stories.d.ts +1 -0
  53. package/dist/components/LoadingAnimation/LoadingAnimation.stories.d.ts.map +1 -0
  54. package/dist/components/Login/Login.d.ts +2 -1
  55. package/dist/components/Login/Login.d.ts.map +1 -0
  56. package/dist/components/Login/Login.js +43 -8870
  57. package/dist/components/Login/Login.stories.d.ts +3 -2
  58. package/dist/components/Login/Login.stories.d.ts.map +1 -0
  59. package/dist/components/Login/Login.types.d.ts +1 -0
  60. package/dist/components/Login/Login.types.d.ts.map +1 -0
  61. package/dist/components/PassportAutocomplete/PassportAutocomplete.d.ts +3 -0
  62. package/dist/components/PassportAutocomplete/PassportAutocomplete.d.ts.map +1 -0
  63. package/dist/components/PassportAutocomplete/PassportAutocomplete.js +41 -0
  64. package/dist/components/PassportAutocomplete/PassportAutocomplete.stories.d.ts +22 -0
  65. package/dist/components/PassportAutocomplete/PassportAutocomplete.stories.d.ts.map +1 -0
  66. package/dist/components/PassportAutocomplete/PassportAutocomplete.types.d.ts +14 -0
  67. package/dist/components/PassportAutocomplete/PassportAutocomplete.types.d.ts.map +1 -0
  68. package/dist/components/PassportButton/PassportButton.d.ts +4 -0
  69. package/dist/components/PassportButton/PassportButton.d.ts.map +1 -0
  70. package/dist/components/{CustomButton/CustomButton.js → PassportButton/PassportButton.js} +10 -6
  71. package/dist/components/{CustomButton/CustomButton.stories.d.ts → PassportButton/PassportButton.stories.d.ts} +2 -1
  72. package/dist/components/PassportButton/PassportButton.stories.d.ts.map +1 -0
  73. package/dist/components/PassportButton/PassportButton.types.d.ts +9 -0
  74. package/dist/components/PassportButton/PassportButton.types.d.ts.map +1 -0
  75. package/dist/components/PassportConfirmationModal/PassportConfirmationModal.d.ts +9 -0
  76. package/dist/components/PassportConfirmationModal/PassportConfirmationModal.d.ts.map +1 -0
  77. package/dist/components/PassportConfirmationModal/PassportConfirmationModal.js +108 -0
  78. package/dist/components/{KpiWrapper/KpiWrapper.stories.d.ts → PassportConfirmationModal/PassportConfirmationModal.stories.d.ts} +5 -8
  79. package/dist/components/PassportConfirmationModal/PassportConfirmationModal.stories.d.ts.map +1 -0
  80. package/dist/components/PassportDatePicker/PassportDatePicker.d.ts +3 -0
  81. package/dist/components/PassportDatePicker/PassportDatePicker.d.ts.map +1 -0
  82. package/dist/components/PassportDatePicker/PassportDatePicker.js +1514 -0
  83. package/dist/components/PassportDatePicker/PassportDatePicker.stories.d.ts +25 -0
  84. package/dist/components/PassportDatePicker/PassportDatePicker.stories.d.ts.map +1 -0
  85. package/dist/components/PassportDatePicker/PassportDatePicker.types.d.ts +15 -0
  86. package/dist/components/PassportDatePicker/PassportDatePicker.types.d.ts.map +1 -0
  87. package/dist/components/PassportDateTimePicker/PassportDateTimePicker.d.ts +3 -0
  88. package/dist/components/PassportDateTimePicker/PassportDateTimePicker.d.ts.map +1 -0
  89. package/dist/components/PassportDateTimePicker/PassportDateTimePicker.js +5419 -0
  90. package/dist/components/PassportDateTimePicker/PassportDateTimePicker.stories.d.ts +30 -0
  91. package/dist/components/PassportDateTimePicker/PassportDateTimePicker.stories.d.ts.map +1 -0
  92. package/dist/components/PassportDateTimePicker/PassportDateTimePicker.types.d.ts +16 -0
  93. package/dist/components/PassportDateTimePicker/PassportDateTimePicker.types.d.ts.map +1 -0
  94. package/dist/components/PassportDateTimePicker/PassportDateTimePicker.types.js +1 -0
  95. package/dist/components/PassportDropdown/PassportDropdown.d.ts +3 -0
  96. package/dist/components/PassportDropdown/PassportDropdown.d.ts.map +1 -0
  97. package/dist/components/PassportDropdown/PassportDropdown.js +37 -0
  98. package/dist/components/PassportDropdown/PassportDropdown.stories.d.ts +25 -0
  99. package/dist/components/PassportDropdown/PassportDropdown.stories.d.ts.map +1 -0
  100. package/dist/components/PassportDropdown/PassportDropdown.types.d.ts +14 -0
  101. package/dist/components/PassportDropdown/PassportDropdown.types.d.ts.map +1 -0
  102. package/dist/components/PassportDropdown/PassportDropdown.types.js +1 -0
  103. package/dist/components/PassportErrorModal/PassportErrorModal.d.ts +8 -0
  104. package/dist/components/PassportErrorModal/PassportErrorModal.d.ts.map +1 -0
  105. package/dist/components/PassportErrorModal/PassportErrorModal.js +68 -0
  106. package/dist/components/PassportErrorModal/PassportErrorModal.stories.d.ts +19 -0
  107. package/dist/components/PassportErrorModal/PassportErrorModal.stories.d.ts.map +1 -0
  108. package/dist/components/PassportFooter/PassportFooter.d.ts +3 -0
  109. package/dist/components/PassportFooter/PassportFooter.d.ts.map +1 -0
  110. package/dist/components/PassportFooter/PassportFooter.js +46 -0
  111. package/dist/components/{CustomFooter/CustomFooter.stories.d.ts → PassportFooter/PassportFooter.stories.d.ts} +1 -0
  112. package/dist/components/PassportFooter/PassportFooter.stories.d.ts.map +1 -0
  113. package/dist/components/{CustomFooter/CustomFooter.types.d.ts → PassportFooter/PassportFooter.types.d.ts} +3 -2
  114. package/dist/components/PassportFooter/PassportFooter.types.d.ts.map +1 -0
  115. package/dist/components/PassportFooter/PassportFooter.types.js +1 -0
  116. package/dist/components/PassportInput/PassportInput.d.ts +3 -0
  117. package/dist/components/PassportInput/PassportInput.d.ts.map +1 -0
  118. package/dist/components/PassportInput/PassportInput.js +51 -0
  119. package/dist/components/PassportInput/PassportInput.stories.d.ts +24 -0
  120. package/dist/components/PassportInput/PassportInput.stories.d.ts.map +1 -0
  121. package/dist/components/PassportInput/PassportInput.types.d.ts +9 -0
  122. package/dist/components/PassportInput/PassportInput.types.d.ts.map +1 -0
  123. package/dist/components/PassportInput/PassportInput.types.js +1 -0
  124. package/dist/components/PassportKpiCard/PassportKpiCard.d.ts +3 -0
  125. package/dist/components/PassportKpiCard/PassportKpiCard.d.ts.map +1 -0
  126. package/dist/components/PassportKpiCard/PassportKpiCard.js +43 -0
  127. package/dist/components/PassportKpiCard/PassportKpiCard.stories.d.ts +21 -0
  128. package/dist/components/PassportKpiCard/PassportKpiCard.stories.d.ts.map +1 -0
  129. package/dist/components/PassportKpiCard/PassportKpiCard.types.d.ts +11 -0
  130. package/dist/components/PassportKpiCard/PassportKpiCard.types.d.ts.map +1 -0
  131. package/dist/components/PassportKpiCard/PassportKpiCard.types.js +1 -0
  132. package/dist/components/PassportKpiWrapper/PassportKpiWrapper.d.ts +3 -0
  133. package/dist/components/PassportKpiWrapper/PassportKpiWrapper.d.ts.map +1 -0
  134. package/dist/components/PassportKpiWrapper/PassportKpiWrapper.js +22 -0
  135. package/dist/components/PassportKpiWrapper/PassportKpiWrapper.stories.d.ts +23 -0
  136. package/dist/components/PassportKpiWrapper/PassportKpiWrapper.stories.d.ts.map +1 -0
  137. package/dist/components/{KpiWrapper/KpiWrapper.types.d.ts → PassportKpiWrapper/PassportKpiWrapper.types.d.ts} +2 -1
  138. package/dist/components/PassportKpiWrapper/PassportKpiWrapper.types.d.ts.map +1 -0
  139. package/dist/components/PassportKpiWrapper/PassportKpiWrapper.types.js +1 -0
  140. package/dist/components/PassportMultiSelect/PassportMultiSelect.d.ts +3 -0
  141. package/dist/components/PassportMultiSelect/PassportMultiSelect.d.ts.map +1 -0
  142. package/dist/components/PassportMultiSelect/PassportMultiSelect.js +72 -0
  143. package/dist/components/PassportMultiSelect/PassportMultiSelect.stories.d.ts +24 -0
  144. package/dist/components/PassportMultiSelect/PassportMultiSelect.stories.d.ts.map +1 -0
  145. package/dist/components/PassportMultiSelect/PassportMultiSelect.types.d.ts +12 -0
  146. package/dist/components/PassportMultiSelect/PassportMultiSelect.types.d.ts.map +1 -0
  147. package/dist/components/PassportMultiSelect/PassportMultiSelect.types.js +1 -0
  148. package/dist/components/PassportPagination/PassportPagination.d.ts +3 -0
  149. package/dist/components/PassportPagination/PassportPagination.d.ts.map +1 -0
  150. package/dist/components/{CustomPagination/CustomPagination.js → PassportPagination/PassportPagination.js} +215 -218
  151. package/dist/components/{CustomPagination/CustomPagination.stories.d.ts → PassportPagination/PassportPagination.stories.d.ts} +3 -2
  152. package/dist/components/PassportPagination/PassportPagination.stories.d.ts.map +1 -0
  153. package/dist/components/{CustomPagination/CustomPagination.types.d.ts → PassportPagination/PassportPagination.types.d.ts} +2 -1
  154. package/dist/components/PassportPagination/PassportPagination.types.d.ts.map +1 -0
  155. package/dist/components/PassportPagination/PassportPagination.types.js +1 -0
  156. package/dist/components/PassportTabHeader/PassportTabHeader.d.ts +7 -0
  157. package/dist/components/PassportTabHeader/PassportTabHeader.d.ts.map +1 -0
  158. package/dist/components/PassportTabHeader/PassportTabHeader.js +14 -0
  159. package/dist/components/PassportTabHeader/PassportTabHeader.stories.d.ts +21 -0
  160. package/dist/components/PassportTabHeader/PassportTabHeader.stories.d.ts.map +1 -0
  161. package/dist/components/PassportTextField/PassportTextField.d.ts +3 -0
  162. package/dist/components/PassportTextField/PassportTextField.d.ts.map +1 -0
  163. package/dist/components/PassportTextField/PassportTextField.js +23 -0
  164. package/dist/components/PassportTextField/PassportTextField.stories.d.ts +22 -0
  165. package/dist/components/PassportTextField/PassportTextField.stories.d.ts.map +1 -0
  166. package/dist/components/SideMenu/SideMenu.d.ts +1 -0
  167. package/dist/components/SideMenu/SideMenu.d.ts.map +1 -0
  168. package/dist/components/SideMenu/SideMenu.js +89 -41
  169. package/dist/components/SideMenu/SideMenu.stories.d.ts +1 -0
  170. package/dist/components/SideMenu/SideMenu.stories.d.ts.map +1 -0
  171. package/dist/components/SideMenu/SideMenu.types.d.ts +1 -0
  172. package/dist/components/SideMenu/SideMenu.types.d.ts.map +1 -0
  173. package/dist/components/TotalDataGrid/TotalDataGrid.d.ts +1 -0
  174. package/dist/components/TotalDataGrid/TotalDataGrid.d.ts.map +1 -0
  175. package/dist/components/TotalDataGrid/TotalDataGrid.js +3 -3
  176. package/dist/components/TotalDataGrid/TotalDataGrid.stories.d.ts +1 -0
  177. package/dist/components/TotalDataGrid/TotalDataGrid.stories.d.ts.map +1 -0
  178. package/dist/components/TotalDataGrid/TotalDataGrid.types.d.ts +1 -0
  179. package/dist/components/TotalDataGrid/TotalDataGrid.types.d.ts.map +1 -0
  180. package/dist/components/UserInfoDropdown/UserInfoDropdown.d.ts +1 -0
  181. package/dist/components/UserInfoDropdown/UserInfoDropdown.d.ts.map +1 -0
  182. package/dist/components/UserInfoDropdown/UserInfoDropdown.js +3 -2
  183. package/dist/components/UserInfoDropdown/UserInfoDropdown.stories.d.ts +1 -0
  184. package/dist/components/UserInfoDropdown/UserInfoDropdown.stories.d.ts.map +1 -0
  185. package/dist/components/UserInfoDropdown/UserInfoDropdown.types.d.ts +1 -0
  186. package/dist/components/UserInfoDropdown/UserInfoDropdown.types.d.ts.map +1 -0
  187. package/dist/components/index.d.ts +17 -4
  188. package/dist/components/index.d.ts.map +1 -0
  189. package/dist/components/index.js +51 -28
  190. package/dist/createSimplePaletteValueFilter-Bz8RuRaa.js +23 -0
  191. package/dist/{createSvgIcon-CgFXfzFk.js → createSvgIcon-B-eIQ7rU.js} +118 -124
  192. package/dist/extendSxProp-QNe1Nf_s.js +51 -0
  193. package/dist/main.d.ts +1 -0
  194. package/dist/main.d.ts.map +1 -0
  195. package/dist/main.js +67 -44
  196. package/dist/mock.d.ts +1 -0
  197. package/dist/mock.d.ts.map +1 -0
  198. package/dist/portal-utils/chunkArray.d.ts +1 -0
  199. package/dist/portal-utils/chunkArray.d.ts.map +1 -0
  200. package/dist/portal-utils/cn.d.ts +1 -0
  201. package/dist/portal-utils/cn.d.ts.map +1 -0
  202. package/dist/portal-utils/formatters.d.ts +1 -0
  203. package/dist/portal-utils/formatters.d.ts.map +1 -0
  204. package/dist/portal-utils/formatters.js +291 -334
  205. package/dist/portal-utils/index.d.ts +2 -1
  206. package/dist/portal-utils/index.d.ts.map +1 -0
  207. package/dist/portal-utils/loggerService.d.ts +1 -0
  208. package/dist/portal-utils/loggerService.d.ts.map +1 -0
  209. package/dist/portal-utils/pageCount.d.ts +1 -0
  210. package/dist/portal-utils/pageCount.d.ts.map +1 -0
  211. package/dist/types/BusinessDayRange.d.ts +1 -0
  212. package/dist/types/BusinessDayRange.d.ts.map +1 -0
  213. package/dist/types/Column.d.ts +1 -0
  214. package/dist/types/Column.d.ts.map +1 -0
  215. package/dist/types/CultureStore.d.ts +1 -0
  216. package/dist/types/CultureStore.d.ts.map +1 -0
  217. package/dist/types/CustomSvg.d.ts +1 -0
  218. package/dist/types/CustomSvg.d.ts.map +1 -0
  219. package/dist/types/LoginRequest.d.ts +1 -0
  220. package/dist/types/LoginRequest.d.ts.map +1 -0
  221. package/dist/types/index.d.ts +1 -0
  222. package/dist/types/index.d.ts.map +1 -0
  223. package/dist/useMobilePicker-hk2kq6ev.js +19662 -0
  224. package/dist/useSlot-CXnK24LX.js +189 -0
  225. package/package.json +43 -42
  226. package/dist/Box-D-aleOLf.js +0 -102
  227. package/dist/ButtonBase-DUKuDCWw.js +0 -966
  228. package/dist/EllipsisOutlined-CmR4hXJ_.js +0 -2467
  229. package/dist/InvencoGVR-qnTq-d6S.js +0 -5
  230. package/dist/PurePanel-CykVuv66.js +0 -2213
  231. package/dist/Skeleton-BBwDqRB3.js +0 -568
  232. package/dist/UserInfoDropdown-Bf6STdbW.js +0 -3790
  233. package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
  234. package/dist/assets/globals.css +0 -1
  235. package/dist/components/ConfirmationModal/ConfirmationModal.stories.js +0 -36
  236. package/dist/components/CustomButton/CustomButton.d.ts +0 -3
  237. package/dist/components/CustomButton/CustomButton.stories.js +0 -42
  238. package/dist/components/CustomButton/CustomeButton.types.d.ts +0 -8
  239. package/dist/components/CustomFooter/CustomFooter.d.ts +0 -2
  240. package/dist/components/CustomFooter/CustomFooter.js +0 -32
  241. package/dist/components/CustomFooter/CustomFooter.stories.js +0 -40
  242. package/dist/components/CustomPagination/CustomPagination.d.ts +0 -3
  243. package/dist/components/CustomPagination/CustomPagination.stories.js +0 -25
  244. package/dist/components/ErrorModal/ErrorModal.stories.js +0 -33
  245. package/dist/components/InfoModal/InfoModal.stories.js +0 -33
  246. package/dist/components/KpiCard/KpiCard.stories.js +0 -26
  247. package/dist/components/KpiWrapper/KpiWrapper.d.ts +0 -2
  248. package/dist/components/KpiWrapper/KpiWrapper.js +0 -11
  249. package/dist/components/KpiWrapper/KpiWrapper.stories.js +0 -56
  250. package/dist/components/LoadingAnimation/LoadingAnimation.stories.js +0 -14
  251. package/dist/components/Login/Login.stories.js +0 -24209
  252. package/dist/components/SideMenu/SideMenu.stories.js +0 -81
  253. package/dist/components/TotalDataGrid/TotalDataGrid.stories.js +0 -23
  254. package/dist/components/UserInfoDropdown/UserInfoDropdown.stories.js +0 -36
  255. package/dist/context-4ttylmIf.js +0 -7356
  256. package/dist/createSimplePaletteValueFilter-evt-Xthj.js +0 -3444
  257. package/dist/index-BBBjHj3B.js +0 -411
  258. package/dist/index-Dz00OoV7.js +0 -1687
  259. package/dist/objectWithoutPropertiesLoose-BTau6TOn.js +0 -33
  260. package/dist/useSlot-Baxtq84W.js +0 -188
  261. /package/dist/assets/{CustomFooter.css → PassportFooter.css} +0 -0
  262. /package/dist/assets/{KpiWrapper.css → PassportKpiWrapper.css} +0 -0
  263. /package/dist/components/{CustomButton/CustomeButton.types.js → DebouncedPassportInput/DebouncedPassportInput.types.js} +0 -0
  264. /package/dist/components/{CustomFooter/CustomFooter.types.js → PassportAutocomplete/PassportAutocomplete.types.js} +0 -0
  265. /package/dist/components/{CustomPagination/CustomPagination.types.js → PassportButton/PassportButton.types.js} +0 -0
  266. /package/dist/components/{KpiWrapper/KpiWrapper.types.js → PassportDatePicker/PassportDatePicker.types.js} +0 -0
@@ -1,77 +1,77 @@
1
1
  import { jsx as s, jsxs as ot } from "react/jsx-runtime";
2
- import * as p from "react";
3
- import { GridPagination as nt } from "@mui/x-data-grid";
4
- import { g as Q, a as X, u as Y, s as R, c as A, b as T, d as Z, m as F, i as S, e as _, P as e } from "../../createSimplePaletteValueFilter-evt-Xthj.js";
5
- import { u as rt, a as st, b as j, i as B } from "../../useSlot-Baxtq84W.js";
6
- import { c as E } from "../../createSvgIcon-CgFXfzFk.js";
7
- import { B as it } from "../../ButtonBase-DUKuDCWw.js";
8
- const H = (t) => /* @__PURE__ */ p.createElement("svg", { width: 25, height: 24, viewBox: "0 0 25 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ p.createElement("g", { id: "arrow/chevron/</default-first" }, /* @__PURE__ */ p.createElement("path", { id: "vector", d: "M17.5 5L10.5 12L17.5 19M7.5 5L7.5 19", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }))), q = (t) => /* @__PURE__ */ p.createElement("svg", { width: 25, height: 24, viewBox: "0 0 25 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ p.createElement("g", { id: "arrow/chevron/>/end" }, /* @__PURE__ */ p.createElement("path", { id: "vector", d: "M7.5 4.99998L14.5 12L7.5 19M17.5 4.99998L17.5 19", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }))), J = (t) => /* @__PURE__ */ p.createElement("svg", { width: 10, height: 16, viewBox: "0 0 10 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ p.createElement("path", { d: "M1.5 1L8.5 8L1.5 15", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), K = (t) => /* @__PURE__ */ p.createElement("svg", { width: 10, height: 16, viewBox: "0 0 10 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ p.createElement("path", { d: "M8.5 15L1.5 8L8.5 1", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }));
9
- function lt(t) {
10
- return Q("MuiPagination", t);
2
+ import { PaginationItem as at } from "@mui/material";
3
+ import * as c from "react";
4
+ import { g as J, a as K, u as Q, s as B, c as W, b as h, d as X, m as F, P as e } from "../../DefaultPropsProvider-BtPfTrMq.js";
5
+ import { u as rt, a as nt, b as R, i as N } from "../../useSlot-CXnK24LX.js";
6
+ import { c as D } from "../../createSimplePaletteValueFilter-Bz8RuRaa.js";
7
+ import { c as j } from "../../createSvgIcon-B-eIQ7rU.js";
8
+ import { B as st } from "../../ButtonBase-D6nf3ymf.js";
9
+ function it(t) {
10
+ return J("MuiPagination", t);
11
11
  }
12
- X("MuiPagination", ["root", "ul", "outlined", "text"]);
13
- function ct(t = {}) {
12
+ K("MuiPagination", ["root", "ul", "outlined", "text"]);
13
+ function lt(t = {}) {
14
14
  const {
15
- boundaryCount: a = 1,
16
- componentName: o = "usePagination",
17
- count: n = 1,
15
+ boundaryCount: o = 1,
16
+ componentName: a = "usePagination",
17
+ count: r = 1,
18
18
  defaultPage: v = 1,
19
- disabled: c = !1,
19
+ disabled: p = !1,
20
20
  hideNextButton: f = !1,
21
21
  hidePrevButton: y = !1,
22
22
  onChange: b,
23
23
  page: P,
24
- showFirstButton: L = !1,
25
- showLastButton: z = !1,
26
- siblingCount: C = 1,
27
- ...w
24
+ showFirstButton: S = !1,
25
+ showLastButton: $ = !1,
26
+ siblingCount: w = 1,
27
+ ...C
28
28
  } = t, [d, u] = rt({
29
29
  controlled: P,
30
30
  default: v,
31
- name: o,
31
+ name: a,
32
32
  state: "page"
33
- }), O = (r, i) => {
34
- P || u(i), b && b(r, i);
35
- }, $ = (r, i) => {
36
- const I = i - r + 1;
33
+ }), L = (n, i) => {
34
+ P || u(i), b && b(n, i);
35
+ }, k = (n, i) => {
36
+ const I = i - n + 1;
37
37
  return Array.from({
38
38
  length: I
39
- }, (V, W) => r + W);
40
- }, g = $(1, Math.min(a, n)), M = $(Math.max(n - a + 1, a + 1), n), m = Math.max(
39
+ }, (A, E) => n + E);
40
+ }, g = k(1, Math.min(o, r)), z = k(Math.max(r - o + 1, o + 1), r), m = Math.max(
41
41
  Math.min(
42
42
  // Natural start
43
- d - C,
43
+ d - w,
44
44
  // Lower boundary when page is high
45
- n - a - C * 2 - 1
45
+ r - o - w * 2 - 1
46
46
  ),
47
47
  // Greater than startPages
48
- a + 2
48
+ o + 2
49
49
  ), x = Math.min(
50
50
  Math.max(
51
51
  // Natural end
52
- d + C,
52
+ d + w,
53
53
  // Upper boundary when page is low
54
- a + C * 2 + 2
54
+ o + w * 2 + 2
55
55
  ),
56
56
  // Less than endPages
57
- n - a - 1
58
- ), N = [
59
- ...L ? ["first"] : [],
57
+ r - o - 1
58
+ ), M = [
59
+ ...S ? ["first"] : [],
60
60
  ...y ? [] : ["previous"],
61
61
  ...g,
62
62
  // Start ellipsis
63
63
  // eslint-disable-next-line no-nested-ternary
64
- ...m > a + 2 ? ["start-ellipsis"] : a + 1 < n - a ? [a + 1] : [],
64
+ ...m > o + 2 ? ["start-ellipsis"] : o + 1 < r - o ? [o + 1] : [],
65
65
  // Sibling pages
66
- ...$(m, x),
66
+ ...k(m, x),
67
67
  // End ellipsis
68
68
  // eslint-disable-next-line no-nested-ternary
69
- ...x < n - a - 1 ? ["end-ellipsis"] : n - a > a ? [n - a] : [],
70
- ...M,
69
+ ...x < r - o - 1 ? ["end-ellipsis"] : r - o > o ? [r - o] : [],
70
+ ...z,
71
71
  ...f ? [] : ["next"],
72
- ...z ? ["last"] : []
73
- ], h = (r) => {
74
- switch (r) {
72
+ ...$ ? ["last"] : []
73
+ ], O = (n) => {
74
+ switch (n) {
75
75
  case "first":
76
76
  return 1;
77
77
  case "previous":
@@ -79,61 +79,61 @@ function ct(t = {}) {
79
79
  case "next":
80
80
  return d + 1;
81
81
  case "last":
82
- return n;
82
+ return r;
83
83
  default:
84
84
  return null;
85
85
  }
86
86
  };
87
87
  return {
88
- items: N.map((r) => typeof r == "number" ? {
88
+ items: M.map((n) => typeof n == "number" ? {
89
89
  onClick: (i) => {
90
- O(i, r);
90
+ L(i, n);
91
91
  },
92
92
  type: "page",
93
- page: r,
94
- selected: r === d,
95
- disabled: c,
96
- "aria-current": r === d ? "page" : void 0
93
+ page: n,
94
+ selected: n === d,
95
+ disabled: p,
96
+ "aria-current": n === d ? "page" : void 0
97
97
  } : {
98
98
  onClick: (i) => {
99
- O(i, h(r));
99
+ L(i, O(n));
100
100
  },
101
- type: r,
102
- page: h(r),
101
+ type: n,
102
+ page: O(n),
103
103
  selected: !1,
104
- disabled: c || !r.includes("ellipsis") && (r === "next" || r === "last" ? d >= n : d <= 1)
104
+ disabled: p || !n.includes("ellipsis") && (n === "next" || n === "last" ? d >= r : d <= 1)
105
105
  }),
106
- ...w
106
+ ...C
107
107
  };
108
108
  }
109
109
  function pt(t) {
110
- return Q("MuiPaginationItem", t);
110
+ return J("MuiPaginationItem", t);
111
111
  }
112
- const l = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "text", "textPrimary", "textSecondary", "outlined", "outlinedPrimary", "outlinedSecondary", "rounded", "ellipsis", "firstLast", "previousNext", "focusVisible", "disabled", "selected", "icon", "colorPrimary", "colorSecondary"]), dt = E(/* @__PURE__ */ s("path", {
112
+ const l = K("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "text", "textPrimary", "textSecondary", "outlined", "outlinedPrimary", "outlinedSecondary", "rounded", "ellipsis", "firstLast", "previousNext", "focusVisible", "disabled", "selected", "icon", "colorPrimary", "colorSecondary"]), ct = j(/* @__PURE__ */ s("path", {
113
113
  d: "M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"
114
- }), "FirstPage"), ut = E(/* @__PURE__ */ s("path", {
114
+ }), "FirstPage"), dt = j(/* @__PURE__ */ s("path", {
115
115
  d: "M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"
116
- }), "LastPage"), gt = E(/* @__PURE__ */ s("path", {
116
+ }), "LastPage"), ut = j(/* @__PURE__ */ s("path", {
117
117
  d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"
118
- }), "NavigateBefore"), vt = E(/* @__PURE__ */ s("path", {
118
+ }), "NavigateBefore"), gt = j(/* @__PURE__ */ s("path", {
119
119
  d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
120
- }), "NavigateNext"), tt = (t, a) => {
120
+ }), "NavigateNext"), Y = (t, o) => {
121
121
  const {
122
- ownerState: o
122
+ ownerState: a
123
123
  } = t;
124
- return [a.root, a[o.variant], a[`size${T(o.size)}`], o.variant === "text" && a[`text${T(o.color)}`], o.variant === "outlined" && a[`outlined${T(o.color)}`], o.shape === "rounded" && a.rounded, o.type === "page" && a.page, (o.type === "start-ellipsis" || o.type === "end-ellipsis") && a.ellipsis, (o.type === "previous" || o.type === "next") && a.previousNext, (o.type === "first" || o.type === "last") && a.firstLast];
125
- }, ft = (t) => {
124
+ return [o.root, o[a.variant], o[`size${h(a.size)}`], a.variant === "text" && o[`text${h(a.color)}`], a.variant === "outlined" && o[`outlined${h(a.color)}`], a.shape === "rounded" && o.rounded, a.type === "page" && o.page, (a.type === "start-ellipsis" || a.type === "end-ellipsis") && o.ellipsis, (a.type === "previous" || a.type === "next") && o.previousNext, (a.type === "first" || a.type === "last") && o.firstLast];
125
+ }, vt = (t) => {
126
126
  const {
127
- classes: a,
128
- color: o,
129
- disabled: n,
127
+ classes: o,
128
+ color: a,
129
+ disabled: r,
130
130
  selected: v,
131
- size: c,
131
+ size: p,
132
132
  shape: f,
133
133
  type: y,
134
134
  variant: b
135
135
  } = t, P = {
136
- root: ["root", `size${T(c)}`, b, f, o !== "standard" && `color${T(o)}`, o !== "standard" && `${b}${T(o)}`, n && "disabled", v && "selected", {
136
+ root: ["root", `size${h(p)}`, b, f, a !== "standard" && `color${h(a)}`, a !== "standard" && `${b}${h(a)}`, r && "disabled", v && "selected", {
137
137
  page: "page",
138
138
  first: "firstLast",
139
139
  last: "firstLast",
@@ -144,11 +144,11 @@ const l = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
144
144
  }[y]],
145
145
  icon: ["icon"]
146
146
  };
147
- return Z(P, pt, a);
148
- }, yt = R("div", {
147
+ return X(P, pt, o);
148
+ }, ft = B("div", {
149
149
  name: "MuiPaginationItem",
150
150
  slot: "Root",
151
- overridesResolver: tt
151
+ overridesResolver: Y
152
152
  })(F(({
153
153
  theme: t
154
154
  }) => ({
@@ -185,10 +185,10 @@ const l = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
185
185
  fontSize: t.typography.pxToRem(15)
186
186
  }
187
187
  }]
188
- }))), bt = R(it, {
188
+ }))), yt = B(st, {
189
189
  name: "MuiPaginationItem",
190
190
  slot: "Root",
191
- overridesResolver: tt
191
+ overridesResolver: Y
192
192
  })(F(({
193
193
  theme: t
194
194
  }) => ({
@@ -220,14 +220,14 @@ const l = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
220
220
  [`&.${l.selected}`]: {
221
221
  backgroundColor: (t.vars || t).palette.action.selected,
222
222
  "&:hover": {
223
- backgroundColor: t.vars ? `rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))` : S(t.palette.action.selected, t.palette.action.selectedOpacity + t.palette.action.hoverOpacity),
223
+ backgroundColor: t.alpha((t.vars || t).palette.action.selected, `${(t.vars || t).palette.action.selectedOpacity} + ${(t.vars || t).palette.action.hoverOpacity}`),
224
224
  // Reset on touch devices, it doesn't add specificity
225
225
  "@media (hover: none)": {
226
226
  backgroundColor: (t.vars || t).palette.action.selected
227
227
  }
228
228
  },
229
229
  [`&.${l.focusVisible}`]: {
230
- backgroundColor: t.vars ? `rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))` : S(t.palette.action.selected, t.palette.action.selectedOpacity + t.palette.action.focusOpacity)
230
+ backgroundColor: t.alpha((t.vars || t).palette.action.selected, `${(t.vars || t).palette.action.selectedOpacity} + ${(t.vars || t).palette.action.focusOpacity}`)
231
231
  },
232
232
  [`&.${l.disabled}`]: {
233
233
  opacity: 1,
@@ -269,7 +269,7 @@ const l = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
269
269
  variant: "outlined"
270
270
  },
271
271
  style: {
272
- border: t.vars ? `1px solid rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)` : `1px solid ${t.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)"}`,
272
+ border: t.vars ? `1px solid ${t.alpha(t.vars.palette.common.onBackground, 0.23)}` : `1px solid ${t.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)"}`,
273
273
  [`&.${l.selected}`]: {
274
274
  [`&.${l.disabled}`]: {
275
275
  borderColor: (t.vars || t).palette.action.disabledBackground,
@@ -288,54 +288,54 @@ const l = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
288
288
  }
289
289
  }
290
290
  }
291
- }, ...Object.entries(t.palette).filter(_(["dark", "contrastText"])).map(([a]) => ({
291
+ }, ...Object.entries(t.palette).filter(D(["dark", "contrastText"])).map(([o]) => ({
292
292
  props: {
293
293
  variant: "text",
294
- color: a
294
+ color: o
295
295
  },
296
296
  style: {
297
297
  [`&.${l.selected}`]: {
298
- color: (t.vars || t).palette[a].contrastText,
299
- backgroundColor: (t.vars || t).palette[a].main,
298
+ color: (t.vars || t).palette[o].contrastText,
299
+ backgroundColor: (t.vars || t).palette[o].main,
300
300
  "&:hover": {
301
- backgroundColor: (t.vars || t).palette[a].dark,
301
+ backgroundColor: (t.vars || t).palette[o].dark,
302
302
  // Reset on touch devices, it doesn't add specificity
303
303
  "@media (hover: none)": {
304
- backgroundColor: (t.vars || t).palette[a].main
304
+ backgroundColor: (t.vars || t).palette[o].main
305
305
  }
306
306
  },
307
307
  [`&.${l.focusVisible}`]: {
308
- backgroundColor: (t.vars || t).palette[a].dark
308
+ backgroundColor: (t.vars || t).palette[o].dark
309
309
  },
310
310
  [`&.${l.disabled}`]: {
311
311
  color: (t.vars || t).palette.action.disabled
312
312
  }
313
313
  }
314
314
  }
315
- })), ...Object.entries(t.palette).filter(_(["light"])).map(([a]) => ({
315
+ })), ...Object.entries(t.palette).filter(D(["light"])).map(([o]) => ({
316
316
  props: {
317
317
  variant: "outlined",
318
- color: a
318
+ color: o
319
319
  },
320
320
  style: {
321
321
  [`&.${l.selected}`]: {
322
- color: (t.vars || t).palette[a].main,
323
- border: `1px solid ${t.vars ? `rgba(${t.vars.palette[a].mainChannel} / 0.5)` : S(t.palette[a].main, 0.5)}`,
324
- backgroundColor: t.vars ? `rgba(${t.vars.palette[a].mainChannel} / ${t.vars.palette.action.activatedOpacity})` : S(t.palette[a].main, t.palette.action.activatedOpacity),
322
+ color: (t.vars || t).palette[o].main,
323
+ border: `1px solid ${t.alpha((t.vars || t).palette[o].main, 0.5)}`,
324
+ backgroundColor: t.alpha((t.vars || t).palette[o].main, (t.vars || t).palette.action.activatedOpacity),
325
325
  "&:hover": {
326
- backgroundColor: t.vars ? `rgba(${t.vars.palette[a].mainChannel} / calc(${t.vars.palette.action.activatedOpacity} + ${t.vars.palette.action.focusOpacity}))` : S(t.palette[a].main, t.palette.action.activatedOpacity + t.palette.action.focusOpacity),
326
+ backgroundColor: t.alpha((t.vars || t).palette[o].main, `${(t.vars || t).palette.action.activatedOpacity} + ${(t.vars || t).palette.action.focusOpacity}`),
327
327
  // Reset on touch devices, it doesn't add specificity
328
328
  "@media (hover: none)": {
329
329
  backgroundColor: "transparent"
330
330
  }
331
331
  },
332
332
  [`&.${l.focusVisible}`]: {
333
- backgroundColor: t.vars ? `rgba(${t.vars.palette[a].mainChannel} / calc(${t.vars.palette.action.activatedOpacity} + ${t.vars.palette.action.focusOpacity}))` : S(t.palette[a].main, t.palette.action.activatedOpacity + t.palette.action.focusOpacity)
333
+ backgroundColor: t.alpha((t.vars || t).palette[o].main, `${(t.vars || t).palette.action.activatedOpacity} + ${(t.vars || t).palette.action.focusOpacity}`)
334
334
  }
335
335
  }
336
336
  }
337
337
  }))]
338
- }))), xt = R("div", {
338
+ }))), bt = B("div", {
339
339
  name: "MuiPaginationItem",
340
340
  slot: "Icon"
341
341
  })(F(({
@@ -358,94 +358,94 @@ const l = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
358
358
  fontSize: t.typography.pxToRem(22)
359
359
  }
360
360
  }]
361
- }))), U = /* @__PURE__ */ p.forwardRef(function(a, o) {
362
- const n = Y({
363
- props: a,
361
+ }))), Z = /* @__PURE__ */ c.forwardRef(function(o, a) {
362
+ const r = Q({
363
+ props: o,
364
364
  name: "MuiPaginationItem"
365
365
  }), {
366
366
  className: v,
367
- color: c = "standard",
367
+ color: p = "standard",
368
368
  component: f,
369
369
  components: y = {},
370
370
  disabled: b = !1,
371
371
  page: P,
372
- selected: L = !1,
373
- shape: z = "circular",
374
- size: C = "medium",
375
- slots: w = {},
372
+ selected: S = !1,
373
+ shape: $ = "circular",
374
+ size: w = "medium",
375
+ slots: C = {},
376
376
  slotProps: d = {},
377
377
  type: u = "page",
378
- variant: O = "text",
379
- ...$
380
- } = n, g = {
381
- ...n,
382
- color: c,
378
+ variant: L = "text",
379
+ ...k
380
+ } = r, g = {
381
+ ...r,
382
+ color: p,
383
383
  disabled: b,
384
- selected: L,
385
- shape: z,
386
- size: C,
384
+ selected: S,
385
+ shape: $,
386
+ size: w,
387
387
  type: u,
388
- variant: O
389
- }, M = st(), m = ft(g), x = {
388
+ variant: L
389
+ }, z = nt(), m = vt(g), x = {
390
390
  slots: {
391
- previous: w.previous ?? y.previous,
392
- next: w.next ?? y.next,
393
- first: w.first ?? y.first,
394
- last: w.last ?? y.last
391
+ previous: C.previous ?? y.previous,
392
+ next: C.next ?? y.next,
393
+ first: C.first ?? y.first,
394
+ last: C.last ?? y.last
395
395
  },
396
396
  slotProps: d
397
- }, [N, h] = j("previous", {
398
- elementType: gt,
397
+ }, [M, O] = R("previous", {
398
+ elementType: ut,
399
399
  externalForwardedProps: x,
400
400
  ownerState: g
401
- }), [k, r] = j("next", {
402
- elementType: vt,
401
+ }), [T, n] = R("next", {
402
+ elementType: gt,
403
403
  externalForwardedProps: x,
404
404
  ownerState: g
405
- }), [i, I] = j("first", {
406
- elementType: dt,
405
+ }), [i, I] = R("first", {
406
+ elementType: ct,
407
407
  externalForwardedProps: x,
408
408
  ownerState: g
409
- }), [V, W] = j("last", {
410
- elementType: ut,
409
+ }), [A, E] = R("last", {
410
+ elementType: dt,
411
411
  externalForwardedProps: x,
412
412
  ownerState: g
413
- }), D = M ? {
413
+ }), U = z ? {
414
414
  previous: "next",
415
415
  next: "previous",
416
416
  first: "last",
417
417
  last: "first"
418
- }[u] : u, G = {
419
- previous: N,
420
- next: k,
418
+ }[u] : u, V = {
419
+ previous: M,
420
+ next: T,
421
421
  first: i,
422
- last: V
423
- }[D], at = {
424
- previous: h,
425
- next: r,
422
+ last: A
423
+ }[U], et = {
424
+ previous: O,
425
+ next: n,
426
426
  first: I,
427
- last: W
428
- }[D];
429
- return u === "start-ellipsis" || u === "end-ellipsis" ? /* @__PURE__ */ s(yt, {
430
- ref: o,
427
+ last: E
428
+ }[U];
429
+ return u === "start-ellipsis" || u === "end-ellipsis" ? /* @__PURE__ */ s(ft, {
430
+ ref: a,
431
431
  ownerState: g,
432
- className: A(m.root, v),
432
+ className: W(m.root, v),
433
433
  children: "…"
434
- }) : /* @__PURE__ */ ot(bt, {
435
- ref: o,
434
+ }) : /* @__PURE__ */ ot(yt, {
435
+ ref: a,
436
436
  ownerState: g,
437
437
  component: f,
438
438
  disabled: b,
439
- className: A(m.root, v),
440
- ...$,
441
- children: [u === "page" && P, G ? /* @__PURE__ */ s(xt, {
442
- ...at,
439
+ className: W(m.root, v),
440
+ ...k,
441
+ children: [u === "page" && P, V ? /* @__PURE__ */ s(bt, {
442
+ ...et,
443
443
  className: m.icon,
444
- as: G
444
+ as: V
445
445
  }) : null]
446
446
  });
447
447
  });
448
- process.env.NODE_ENV !== "production" && (U.propTypes = {
448
+ process.env.NODE_ENV !== "production" && (Z.propTypes = {
449
449
  // ┌────────────────────────────── Warning ──────────────────────────────┐
450
450
  // │ These PropTypes are generated from the TypeScript type definitions. │
451
451
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -548,25 +548,25 @@ process.env.NODE_ENV !== "production" && (U.propTypes = {
548
548
  */
549
549
  variant: e.oneOfType([e.oneOf(["outlined", "text"]), e.string])
550
550
  });
551
- const mt = (t) => {
551
+ const xt = (t) => {
552
552
  const {
553
- classes: a,
554
- variant: o
553
+ classes: o,
554
+ variant: a
555
555
  } = t;
556
- return Z({
557
- root: ["root", o],
556
+ return X({
557
+ root: ["root", a],
558
558
  ul: ["ul"]
559
- }, lt, a);
560
- }, Pt = R("nav", {
559
+ }, it, o);
560
+ }, mt = B("nav", {
561
561
  name: "MuiPagination",
562
562
  slot: "Root",
563
- overridesResolver: (t, a) => {
563
+ overridesResolver: (t, o) => {
564
564
  const {
565
- ownerState: o
565
+ ownerState: a
566
566
  } = t;
567
- return [a.root, a[o.variant]];
567
+ return [o.root, o[a.variant]];
568
568
  }
569
- })({}), Ct = R("ul", {
569
+ })({}), Pt = B("ul", {
570
570
  name: "MuiPagination",
571
571
  slot: "Ul"
572
572
  })({
@@ -577,73 +577,73 @@ const mt = (t) => {
577
577
  margin: 0,
578
578
  listStyle: "none"
579
579
  });
580
- function wt(t, a, o) {
581
- return t === "page" ? `${o ? "" : "Go to "}page ${a}` : `Go to ${t} page`;
580
+ function wt(t, o, a) {
581
+ return t === "page" ? `${a ? "" : "Go to "}page ${o}` : `Go to ${t} page`;
582
582
  }
583
- const et = /* @__PURE__ */ p.forwardRef(function(a, o) {
584
- const n = Y({
585
- props: a,
583
+ const tt = /* @__PURE__ */ c.forwardRef(function(o, a) {
584
+ const r = Q({
585
+ props: o,
586
586
  name: "MuiPagination"
587
587
  }), {
588
588
  boundaryCount: v = 1,
589
- className: c,
589
+ className: p,
590
590
  color: f = "standard",
591
591
  count: y = 1,
592
592
  defaultPage: b = 1,
593
593
  disabled: P = !1,
594
- getItemAriaLabel: L = wt,
595
- hideNextButton: z = !1,
596
- hidePrevButton: C = !1,
597
- onChange: w,
594
+ getItemAriaLabel: S = wt,
595
+ hideNextButton: $ = !1,
596
+ hidePrevButton: w = !1,
597
+ onChange: C,
598
598
  page: d,
599
- renderItem: u = (i) => /* @__PURE__ */ s(U, {
599
+ renderItem: u = (i) => /* @__PURE__ */ s(Z, {
600
600
  ...i
601
601
  }),
602
- shape: O = "circular",
603
- showFirstButton: $ = !1,
602
+ shape: L = "circular",
603
+ showFirstButton: k = !1,
604
604
  showLastButton: g = !1,
605
- siblingCount: M = 1,
605
+ siblingCount: z = 1,
606
606
  size: m = "medium",
607
607
  variant: x = "text",
608
- ...N
609
- } = n, {
610
- items: h
611
- } = ct({
612
- ...n,
608
+ ...M
609
+ } = r, {
610
+ items: O
611
+ } = lt({
612
+ ...r,
613
613
  componentName: "Pagination"
614
- }), k = {
615
- ...n,
614
+ }), T = {
615
+ ...r,
616
616
  boundaryCount: v,
617
617
  color: f,
618
618
  count: y,
619
619
  defaultPage: b,
620
620
  disabled: P,
621
- getItemAriaLabel: L,
622
- hideNextButton: z,
623
- hidePrevButton: C,
621
+ getItemAriaLabel: S,
622
+ hideNextButton: $,
623
+ hidePrevButton: w,
624
624
  renderItem: u,
625
- shape: O,
626
- showFirstButton: $,
625
+ shape: L,
626
+ showFirstButton: k,
627
627
  showLastButton: g,
628
- siblingCount: M,
628
+ siblingCount: z,
629
629
  size: m,
630
630
  variant: x
631
- }, r = mt(k);
632
- return /* @__PURE__ */ s(Pt, {
631
+ }, n = xt(T);
632
+ return /* @__PURE__ */ s(mt, {
633
633
  "aria-label": "pagination navigation",
634
- className: A(r.root, c),
635
- ownerState: k,
636
- ref: o,
637
- ...N,
638
- children: /* @__PURE__ */ s(Ct, {
639
- className: r.ul,
640
- ownerState: k,
641
- children: h.map((i, I) => /* @__PURE__ */ s("li", {
634
+ className: W(n.root, p),
635
+ ownerState: T,
636
+ ref: a,
637
+ ...M,
638
+ children: /* @__PURE__ */ s(Pt, {
639
+ className: n.ul,
640
+ ownerState: T,
641
+ children: O.map((i, I) => /* @__PURE__ */ s("li", {
642
642
  children: u({
643
643
  ...i,
644
644
  color: f,
645
- "aria-label": L(i.type, i.page, i.selected),
646
- shape: O,
645
+ "aria-label": S(i.type, i.page, i.selected),
646
+ shape: L,
647
647
  size: m,
648
648
  variant: x
649
649
  })
@@ -651,7 +651,7 @@ const et = /* @__PURE__ */ p.forwardRef(function(a, o) {
651
651
  })
652
652
  });
653
653
  });
654
- process.env.NODE_ENV !== "production" && (et.propTypes = {
654
+ process.env.NODE_ENV !== "production" && (tt.propTypes = {
655
655
  // ┌────────────────────────────── Warning ──────────────────────────────┐
656
656
  // │ These PropTypes are generated from the TypeScript type definitions. │
657
657
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -660,7 +660,7 @@ process.env.NODE_ENV !== "production" && (et.propTypes = {
660
660
  * Number of always visible pages at the beginning and end.
661
661
  * @default 1
662
662
  */
663
- boundaryCount: B,
663
+ boundaryCount: N,
664
664
  /**
665
665
  * Override or extend the styles applied to the component.
666
666
  */
@@ -680,12 +680,12 @@ process.env.NODE_ENV !== "production" && (et.propTypes = {
680
680
  * The total number of pages.
681
681
  * @default 1
682
682
  */
683
- count: B,
683
+ count: N,
684
684
  /**
685
685
  * The page selected by default when the component is uncontrolled.
686
686
  * @default 1
687
687
  */
688
- defaultPage: B,
688
+ defaultPage: N,
689
689
  /**
690
690
  * If `true`, the component is disabled.
691
691
  * @default false
@@ -722,7 +722,7 @@ process.env.NODE_ENV !== "production" && (et.propTypes = {
722
722
  /**
723
723
  * The current page. Unlike `TablePagination`, which starts numbering from `0`, this pagination starts from `1`.
724
724
  */
725
- page: B,
725
+ page: N,
726
726
  /**
727
727
  * Render the item.
728
728
  * @param {PaginationRenderItemParams} params The props to spread on a PaginationItem.
@@ -749,7 +749,7 @@ process.env.NODE_ENV !== "production" && (et.propTypes = {
749
749
  * Number of always visible pages before and after the current page.
750
750
  * @default 1
751
751
  */
752
- siblingCount: B,
752
+ siblingCount: N,
753
753
  /**
754
754
  * The size of the component.
755
755
  * @default 'medium'
@@ -765,36 +765,37 @@ process.env.NODE_ENV !== "production" && (et.propTypes = {
765
765
  */
766
766
  variant: e.oneOfType([e.oneOf(["outlined", "text"]), e.string])
767
767
  });
768
- function Ot({
768
+ const G = (t) => /* @__PURE__ */ c.createElement("svg", { width: 25, height: 24, viewBox: "0 0 25 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ c.createElement("g", { id: "arrow/chevron/</default-first" }, /* @__PURE__ */ c.createElement("path", { id: "vector", d: "M17.5 5L10.5 12L17.5 19M7.5 5L7.5 19", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }))), _ = (t) => /* @__PURE__ */ c.createElement("svg", { width: 25, height: 24, viewBox: "0 0 25 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ c.createElement("g", { id: "arrow/chevron/>/end" }, /* @__PURE__ */ c.createElement("path", { id: "vector", d: "M7.5 4.99998L14.5 12L7.5 19M17.5 4.99998L17.5 19", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }))), H = (t) => /* @__PURE__ */ c.createElement("svg", { width: 10, height: 16, viewBox: "0 0 10 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ c.createElement("path", { d: "M1.5 1L8.5 8L1.5 15", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), q = (t) => /* @__PURE__ */ c.createElement("svg", { width: 10, height: 16, viewBox: "0 0 10 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ c.createElement("path", { d: "M8.5 15L1.5 8L8.5 1", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }));
769
+ function $t({
769
770
  isRtl: t,
770
- pageCount: a,
771
- page: o,
772
- onPageChange: n,
771
+ pageCount: o,
772
+ page: a,
773
+ onPageChange: r,
773
774
  className: v
774
775
  }) {
775
776
  return /* @__PURE__ */ s(
776
- et,
777
+ tt,
777
778
  {
778
779
  showFirstButton: !0,
779
780
  showLastButton: !0,
780
781
  className: v,
781
- count: a,
782
- page: o + 1,
783
- onChange: (c, f) => {
784
- n(c, f - 1);
782
+ count: o,
783
+ page: a + 1,
784
+ onChange: (p, f) => {
785
+ r(p, f - 1);
785
786
  },
786
787
  boundaryCount: 0,
787
788
  siblingCount: 1,
788
- renderItem: (c) => /* @__PURE__ */ s(
789
- U,
789
+ renderItem: (p) => /* @__PURE__ */ s(
790
+ at,
790
791
  {
791
792
  slots: {
792
- previous: () => t ? /* @__PURE__ */ s(J, { color: "var(--color-primary)" }) : /* @__PURE__ */ s(K, { color: "var(--color-primary)" }),
793
- next: () => t ? /* @__PURE__ */ s(K, { color: "var(--color-primary)" }) : /* @__PURE__ */ s(J, { color: "var(--color-primary)" }),
794
- first: () => t ? /* @__PURE__ */ s(q, { color: "var(--color-primary)" }) : /* @__PURE__ */ s(H, { color: "var(--color-primary)" }),
795
- last: () => t ? /* @__PURE__ */ s(H, { color: "var(--color-primary)" }) : /* @__PURE__ */ s(q, { color: "var(--color-primary)" })
793
+ previous: () => t ? /* @__PURE__ */ s(H, { color: "var(--color-primary)" }) : /* @__PURE__ */ s(q, { color: "var(--color-primary)" }),
794
+ next: () => t ? /* @__PURE__ */ s(q, { color: "var(--color-primary)" }) : /* @__PURE__ */ s(H, { color: "var(--color-primary)" }),
795
+ first: () => t ? /* @__PURE__ */ s(_, { color: "var(--color-primary)" }) : /* @__PURE__ */ s(G, { color: "var(--color-primary)" }),
796
+ last: () => t ? /* @__PURE__ */ s(G, { color: "var(--color-primary)" }) : /* @__PURE__ */ s(_, { color: "var(--color-primary)" })
796
797
  },
797
- ...c
798
+ ...p
798
799
  }
799
800
  ),
800
801
  sx: {
@@ -813,10 +814,6 @@ function Ot({
813
814
  }
814
815
  );
815
816
  }
816
- function zt({ isRtl: t, pageCount: a }) {
817
- return /* @__PURE__ */ s(nt, { ActionsComponent: (o) => /* @__PURE__ */ s(Ot, { isRtl: t, pageCount: a, ...o }) });
818
- }
819
817
  export {
820
- zt as CustomPagination,
821
- Ot as Pagination
818
+ $t as PassportPagination
822
819
  };