@solostylist/ui-kit 1.0.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.
Files changed (391) hide show
  1. package/README.md +13 -0
  2. package/dist/AppAutocomplete/AppAutocomplete.d.ts +10 -0
  3. package/dist/AppAutocomplete/AppAutocomplete.js +19 -0
  4. package/dist/AppAutocomplete/index.d.ts +1 -0
  5. package/dist/AppAutocomplete/index.js +4 -0
  6. package/dist/AppAutocomplete/package.json +5 -0
  7. package/dist/AppAvatar/AppAvatar.d.ts +7 -0
  8. package/dist/AppAvatar/AppAvatar.js +13 -0
  9. package/dist/AppAvatar/index.d.ts +1 -0
  10. package/dist/AppAvatar/index.js +4 -0
  11. package/dist/AppAvatar/package.json +5 -0
  12. package/dist/AppBox/AppBox.d.ts +7 -0
  13. package/dist/AppBox/AppBox.js +7 -0
  14. package/dist/AppBox/index.d.ts +1 -0
  15. package/dist/AppBox/index.js +4 -0
  16. package/dist/AppBox/package.json +5 -0
  17. package/dist/AppBreadcrumbsSeparator/AppBreadcrumbsSeparator.d.ts +3 -0
  18. package/dist/AppBreadcrumbsSeparator/AppBreadcrumbsSeparator.js +6 -0
  19. package/dist/AppBreadcrumbsSeparator/index.d.ts +1 -0
  20. package/dist/AppBreadcrumbsSeparator/index.js +4 -0
  21. package/dist/AppBreadcrumbsSeparator/package.json +5 -0
  22. package/dist/AppButton/AppButton.d.ts +9 -0
  23. package/dist/AppButton/AppButton.js +44 -0
  24. package/dist/AppButton/index.d.ts +1 -0
  25. package/dist/AppButton/index.js +4 -0
  26. package/dist/AppButton/package.json +5 -0
  27. package/dist/AppButtonLink/AppButtonLink.d.ts +16 -0
  28. package/dist/AppButtonLink/AppButtonLink.js +36 -0
  29. package/dist/AppButtonLink/index.d.ts +1 -0
  30. package/dist/AppButtonLink/index.js +4 -0
  31. package/dist/AppButtonLink/package.json +5 -0
  32. package/dist/AppCard/AppCard.d.ts +6 -0
  33. package/dist/AppCard/AppCard.js +6 -0
  34. package/dist/AppCard/index.d.ts +1 -0
  35. package/dist/AppCard/index.js +4 -0
  36. package/dist/AppCard/package.json +5 -0
  37. package/dist/AppCardActions/AppCardActions.d.ts +6 -0
  38. package/dist/AppCardActions/AppCardActions.js +6 -0
  39. package/dist/AppCardActions/index.d.ts +1 -0
  40. package/dist/AppCardActions/index.js +4 -0
  41. package/dist/AppCardActions/package.json +5 -0
  42. package/dist/AppCardContent/AppCardContent.d.ts +6 -0
  43. package/dist/AppCardContent/AppCardContent.js +6 -0
  44. package/dist/AppCardContent/index.d.ts +1 -0
  45. package/dist/AppCardContent/index.js +4 -0
  46. package/dist/AppCardContent/package.json +5 -0
  47. package/dist/AppCardHeader/AppCardHeader.d.ts +10 -0
  48. package/dist/AppCardHeader/AppCardHeader.js +13 -0
  49. package/dist/AppCardHeader/index.d.ts +1 -0
  50. package/dist/AppCardHeader/index.js +4 -0
  51. package/dist/AppCardHeader/package.json +5 -0
  52. package/dist/AppCheckbox/AppCheckbox.d.ts +7 -0
  53. package/dist/AppCheckbox/AppCheckbox.js +16 -0
  54. package/dist/AppCheckbox/index.d.ts +1 -0
  55. package/dist/AppCheckbox/index.js +4 -0
  56. package/dist/AppCheckbox/package.json +5 -0
  57. package/dist/AppChip/AppChip.d.ts +6 -0
  58. package/dist/AppChip/AppChip.js +6 -0
  59. package/dist/AppChip/index.d.ts +1 -0
  60. package/dist/AppChip/index.js +4 -0
  61. package/dist/AppChip/package.json +5 -0
  62. package/dist/AppChips/AppChips.d.ts +7 -0
  63. package/dist/AppChips/AppChips.js +72 -0
  64. package/dist/AppChips/index.d.ts +1 -0
  65. package/dist/AppChips/index.js +4 -0
  66. package/dist/AppChips/package.json +5 -0
  67. package/dist/AppDataTable/AppDataTable.d.ts +29 -0
  68. package/dist/AppDataTable/AppDataTable.js +1178 -0
  69. package/dist/AppDataTable/index.d.ts +2 -0
  70. package/dist/AppDataTable/index.js +4 -0
  71. package/dist/AppDataTable/package.json +5 -0
  72. package/dist/AppDialog/AppDialog.d.ts +15 -0
  73. package/dist/AppDialog/AppDialog.js +31 -0
  74. package/dist/AppDialog/index.d.ts +1 -0
  75. package/dist/AppDialog/index.js +4 -0
  76. package/dist/AppDialog/package.json +5 -0
  77. package/dist/AppDialogConfirm/AppDialogConfirm.d.ts +30 -0
  78. package/dist/AppDialogConfirm/AppDialogConfirm.js +74 -0
  79. package/dist/AppDialogConfirm/index.d.ts +2 -0
  80. package/dist/AppDialogConfirm/index.js +6 -0
  81. package/dist/AppDialogConfirm/package.json +5 -0
  82. package/dist/AppDialogMessage/AppDialogMessage.d.ts +27 -0
  83. package/dist/AppDialogMessage/AppDialogMessage.js +64 -0
  84. package/dist/AppDialogMessage/index.d.ts +2 -0
  85. package/dist/AppDialogMessage/index.js +6 -0
  86. package/dist/AppDialogMessage/package.json +5 -0
  87. package/dist/AppEmpty/AppEmpty.d.ts +5 -0
  88. package/dist/AppEmpty/AppEmpty.js +6 -0
  89. package/dist/AppEmpty/index.d.ts +1 -0
  90. package/dist/AppEmpty/index.js +4 -0
  91. package/dist/AppEmpty/package.json +5 -0
  92. package/dist/AppError/AppError.d.ts +3 -0
  93. package/dist/AppError/AppError.js +18 -0
  94. package/dist/AppError/index.d.ts +1 -0
  95. package/dist/AppError/index.js +4 -0
  96. package/dist/AppError/package.json +5 -0
  97. package/dist/AppFileDropzone/AppFileDropzone.d.ts +20 -0
  98. package/dist/AppFileDropzone/AppFileDropzone.js +166 -0
  99. package/dist/AppFileDropzone/index.d.ts +2 -0
  100. package/dist/AppFileDropzone/index.js +4 -0
  101. package/dist/AppFileDropzone/package.json +5 -0
  102. package/dist/AppFileIcon/AppFileIcon.d.ts +6 -0
  103. package/dist/AppFileIcon/AppFileIcon.js +29 -0
  104. package/dist/AppFileIcon/index.d.ts +1 -0
  105. package/dist/AppFileIcon/index.js +4 -0
  106. package/dist/AppFileIcon/package.json +5 -0
  107. package/dist/AppFormControl/AppFormControl.d.ts +8 -0
  108. package/dist/AppFormControl/AppFormControl.js +10 -0
  109. package/dist/AppFormControl/index.d.ts +1 -0
  110. package/dist/AppFormControl/index.js +4 -0
  111. package/dist/AppFormControl/package.json +5 -0
  112. package/dist/AppGallery/AppGallery.d.ts +6 -0
  113. package/dist/AppGallery/AppGallery.js +1089 -0
  114. package/dist/AppGallery/index.d.ts +1 -0
  115. package/dist/AppGallery/index.js +4 -0
  116. package/dist/AppGallery/package.json +5 -0
  117. package/dist/AppI18nProvider/AppI18nProvider.d.ts +7 -0
  118. package/dist/AppI18nProvider/AppI18nProvider.js +20 -0
  119. package/dist/AppI18nProvider/index.d.ts +1 -0
  120. package/dist/AppI18nProvider/index.js +4 -0
  121. package/dist/AppI18nProvider/package.json +5 -0
  122. package/dist/AppIconButton/AppIconButton.d.ts +8 -0
  123. package/dist/AppIconButton/AppIconButton.js +6 -0
  124. package/dist/AppIconButton/index.d.ts +1 -0
  125. package/dist/AppIconButton/index.js +4 -0
  126. package/dist/AppIconButton/package.json +5 -0
  127. package/dist/AppIcons/AppIcons.d.ts +3 -0
  128. package/dist/AppIcons/AppIcons.js +1081 -0
  129. package/dist/AppIcons/index.d.ts +1 -0
  130. package/dist/AppIcons/index.js +4 -0
  131. package/dist/AppIcons/package.json +5 -0
  132. package/dist/AppLabel/AppLabel.d.ts +11 -0
  133. package/dist/AppLabel/AppLabel.js +21 -0
  134. package/dist/AppLabel/index.d.ts +1 -0
  135. package/dist/AppLabel/index.js +4 -0
  136. package/dist/AppLabel/package.json +5 -0
  137. package/dist/AppLink/AppLink.d.ts +6 -0
  138. package/dist/AppLink/AppLink.js +6 -0
  139. package/dist/AppLink/index.d.ts +1 -0
  140. package/dist/AppLink/index.js +4 -0
  141. package/dist/AppLink/package.json +5 -0
  142. package/dist/AppMultiSelect/AppMultiSelect.d.ts +12 -0
  143. package/dist/AppMultiSelect/AppMultiSelect.js +61 -0
  144. package/dist/AppMultiSelect/index.d.ts +1 -0
  145. package/dist/AppMultiSelect/index.js +4 -0
  146. package/dist/AppMultiSelect/package.json +5 -0
  147. package/dist/AppNoData/AppNoData.d.ts +5 -0
  148. package/dist/AppNoData/AppNoData.js +6 -0
  149. package/dist/AppNoData/index.d.ts +1 -0
  150. package/dist/AppNoData/index.js +4 -0
  151. package/dist/AppNoData/package.json +5 -0
  152. package/dist/AppNoSsr/AppNoSsr.d.ts +8 -0
  153. package/dist/AppNoSsr/AppNoSsr.js +14 -0
  154. package/dist/AppNoSsr/index.d.ts +1 -0
  155. package/dist/AppNoSsr/index.js +4 -0
  156. package/dist/AppNoSsr/package.json +5 -0
  157. package/dist/AppOption/AppOption.d.ts +9 -0
  158. package/dist/AppOption/AppOption.js +6 -0
  159. package/dist/AppOption/index.d.ts +1 -0
  160. package/dist/AppOption/index.js +4 -0
  161. package/dist/AppOption/package.json +5 -0
  162. package/dist/AppOutlinedInput/AppOutlinedInput.d.ts +10 -0
  163. package/dist/AppOutlinedInput/AppOutlinedInput.js +40 -0
  164. package/dist/AppOutlinedInput/index.d.ts +1 -0
  165. package/dist/AppOutlinedInput/index.js +4 -0
  166. package/dist/AppOutlinedInput/package.json +5 -0
  167. package/dist/AppPagination/AppPagination.d.ts +7 -0
  168. package/dist/AppPagination/AppPagination.js +17 -0
  169. package/dist/AppPagination/index.d.ts +1 -0
  170. package/dist/AppPagination/index.js +4 -0
  171. package/dist/AppPagination/package.json +5 -0
  172. package/dist/AppRating/AppRating.d.ts +7 -0
  173. package/dist/AppRating/AppRating.js +7 -0
  174. package/dist/AppRating/index.d.ts +1 -0
  175. package/dist/AppRating/index.js +4 -0
  176. package/dist/AppRating/package.json +5 -0
  177. package/dist/AppSelect/AppSelect.d.ts +14 -0
  178. package/dist/AppSelect/AppSelect.js +82 -0
  179. package/dist/AppSelect/index.d.ts +1 -0
  180. package/dist/AppSelect/index.js +4 -0
  181. package/dist/AppSelect/package.json +5 -0
  182. package/dist/AppSkeleton/AppSkeleton.d.ts +11 -0
  183. package/dist/AppSkeleton/AppSkeleton.js +34 -0
  184. package/dist/AppSkeleton/index.d.ts +1 -0
  185. package/dist/AppSkeleton/index.js +4 -0
  186. package/dist/AppSkeleton/package.json +5 -0
  187. package/dist/AppSnackbarMessage/AppSnackbarMessage.d.ts +23 -0
  188. package/dist/AppSnackbarMessage/AppSnackbarMessage.js +50 -0
  189. package/dist/AppSnackbarMessage/index.d.ts +2 -0
  190. package/dist/AppSnackbarMessage/index.js +6 -0
  191. package/dist/AppSnackbarMessage/package.json +5 -0
  192. package/dist/AppStack/AppStack.d.ts +6 -0
  193. package/dist/AppStack/AppStack.js +6 -0
  194. package/dist/AppStack/index.d.ts +1 -0
  195. package/dist/AppStack/index.js +4 -0
  196. package/dist/AppStack/package.json +5 -0
  197. package/dist/AppTextEditor/AppTextEditor.d.ts +23 -0
  198. package/dist/AppTextEditor/AppTextEditor.js +80 -0
  199. package/dist/AppTextEditor/TextEditorToolbar.d.ts +6 -0
  200. package/dist/AppTextEditor/TextEditorToolbar.js +4479 -0
  201. package/dist/AppTextEditor/index.d.ts +1 -0
  202. package/dist/AppTextEditor/index.js +4 -0
  203. package/dist/AppTextEditor/package.json +5 -0
  204. package/dist/AppTextTruncation/AppTextTruncation.d.ts +6 -0
  205. package/dist/AppTextTruncation/AppTextTruncation.js +15 -0
  206. package/dist/AppTextTruncation/index.d.ts +1 -0
  207. package/dist/AppTextTruncation/index.js +4 -0
  208. package/dist/AppTextTruncation/package.json +5 -0
  209. package/dist/AppThemeProvider/AppThemeProvider.d.ts +9 -0
  210. package/dist/AppThemeProvider/AppThemeProvider.js +141 -0
  211. package/dist/AppThemeProvider/index.d.ts +1 -0
  212. package/dist/AppThemeProvider/index.js +4 -0
  213. package/dist/AppThemeProvider/package.json +5 -0
  214. package/dist/AppTip/AppTip.d.ts +6 -0
  215. package/dist/AppTip/AppTip.js +28 -0
  216. package/dist/AppTip/index.d.ts +1 -0
  217. package/dist/AppTip/index.js +4 -0
  218. package/dist/AppTip/package.json +5 -0
  219. package/dist/Box-yxuKPTCX.js +60 -0
  220. package/dist/ButtonBase-p_uz8ITC.js +989 -0
  221. package/dist/CaretDown-CgrRY9__.js +41 -0
  222. package/dist/DefaultPropsProvider-BV4t9fEW.js +71 -0
  223. package/dist/Lightbulb-1rDyOsPk.js +47 -0
  224. package/dist/Menu-B0R91i07.js +2994 -0
  225. package/dist/MenuItem-BjjYkRmW.js +262 -0
  226. package/dist/SSRBase-B9xq2wUG.js +56 -0
  227. package/dist/Stack-D9qNbbkC.js +198 -0
  228. package/dist/Typography-BYkXNa-U.js +260 -0
  229. package/dist/User-Bx-HYRxI.js +41 -0
  230. package/dist/X-DETrowOy.js +47 -0
  231. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  232. package/dist/assets/AppGallery.css +1 -0
  233. package/dist/assets/AppTextTruncation.css +1 -0
  234. package/dist/backdropClasses-DDhytLTQ.js +9 -0
  235. package/dist/clsx-C-FXfxyk.js +236 -0
  236. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
  237. package/dist/createTheme-C97xvI-s.js +2789 -0
  238. package/dist/extendSxProp-CKQgGYDd.js +37 -0
  239. package/dist/generateUtilityClasses-CuEy5gtx.js +41 -0
  240. package/dist/hooks/index.d.ts +2 -0
  241. package/dist/hooks/index.js +6 -0
  242. package/dist/hooks/use-dialog.d.ts +7 -0
  243. package/dist/hooks/use-dialog.js +12 -0
  244. package/dist/hooks/use-popover.d.ts +10 -0
  245. package/dist/hooks/use-popover.js +14 -0
  246. package/dist/index-Btrukby7.js +88 -0
  247. package/dist/inputBaseClasses-s6dljKxi.js +9 -0
  248. package/dist/jsx-runtime-B6kdoens.js +634 -0
  249. package/dist/listItemIconClasses-CTdclC9V.js +5 -0
  250. package/dist/main.d.ts +51 -0
  251. package/dist/main.js +111 -0
  252. package/dist/memoTheme-B2qvAi64.js +404 -0
  253. package/dist/outlinedInputClasses-R7dmh7eW.js +13 -0
  254. package/dist/paperClasses-Bf2rrWVr.js +9 -0
  255. package/dist/styles/theme/color-schemes.d.ts +7 -0
  256. package/dist/styles/theme/color-schemes.js +195 -0
  257. package/dist/styles/theme/colors.d.ts +92 -0
  258. package/dist/styles/theme/colors.js +94 -0
  259. package/dist/styles/theme/components/accordion.d.ts +8 -0
  260. package/dist/styles/theme/components/accordion.js +11 -0
  261. package/dist/styles/theme/components/alert.d.ts +7 -0
  262. package/dist/styles/theme/components/alert.js +4 -0
  263. package/dist/styles/theme/components/autocomplete.d.ts +124 -0
  264. package/dist/styles/theme/components/autocomplete.js +51 -0
  265. package/dist/styles/theme/components/avatar.d.ts +18 -0
  266. package/dist/styles/theme/components/avatar.js +21 -0
  267. package/dist/styles/theme/components/backdrop.d.ts +9 -0
  268. package/dist/styles/theme/components/backdrop.js +9 -0
  269. package/dist/styles/theme/components/button-base.d.ts +5 -0
  270. package/dist/styles/theme/components/button-base.js +4 -0
  271. package/dist/styles/theme/components/button-group.d.ts +5 -0
  272. package/dist/styles/theme/components/button-group.js +4 -0
  273. package/dist/styles/theme/components/button.d.ts +180 -0
  274. package/dist/styles/theme/components/button.js +109 -0
  275. package/dist/styles/theme/components/card-actions.d.ts +7 -0
  276. package/dist/styles/theme/components/card-actions.js +6 -0
  277. package/dist/styles/theme/components/card-content.d.ts +10 -0
  278. package/dist/styles/theme/components/card-content.js +7 -0
  279. package/dist/styles/theme/components/card-header.d.ts +25 -0
  280. package/dist/styles/theme/components/card-header.js +20 -0
  281. package/dist/styles/theme/components/card.d.ts +979 -0
  282. package/dist/styles/theme/components/card.js +17 -0
  283. package/dist/styles/theme/components/checkbox.d.ts +18 -0
  284. package/dist/styles/theme/components/checkbox.js +60 -0
  285. package/dist/styles/theme/components/chip.d.ts +1092 -0
  286. package/dist/styles/theme/components/chip.js +106 -0
  287. package/dist/styles/theme/components/components.d.ts +3206 -0
  288. package/dist/styles/theme/components/components.js +115 -0
  289. package/dist/styles/theme/components/dialog-actions.d.ts +7 -0
  290. package/dist/styles/theme/components/dialog-actions.js +6 -0
  291. package/dist/styles/theme/components/dialog-content-text.d.ts +8 -0
  292. package/dist/styles/theme/components/dialog-content-text.js +6 -0
  293. package/dist/styles/theme/components/dialog-content.d.ts +8 -0
  294. package/dist/styles/theme/components/dialog-content.js +6 -0
  295. package/dist/styles/theme/components/dialog-title.d.ts +7 -0
  296. package/dist/styles/theme/components/dialog-title.js +6 -0
  297. package/dist/styles/theme/components/filled-input.d.ts +31 -0
  298. package/dist/styles/theme/components/filled-input.js +21 -0
  299. package/dist/styles/theme/components/form-control-label.d.ts +15 -0
  300. package/dist/styles/theme/components/form-control-label.js +7 -0
  301. package/dist/styles/theme/components/form-group.d.ts +7 -0
  302. package/dist/styles/theme/components/form-group.js +4 -0
  303. package/dist/styles/theme/components/form-helper-text.d.ts +8 -0
  304. package/dist/styles/theme/components/form-helper-text.js +8 -0
  305. package/dist/styles/theme/components/form-label.d.ts +12 -0
  306. package/dist/styles/theme/components/form-label.js +9 -0
  307. package/dist/styles/theme/components/icon-button.d.ts +83 -0
  308. package/dist/styles/theme/components/icon-button.js +49 -0
  309. package/dist/styles/theme/components/input-base.d.ts +39 -0
  310. package/dist/styles/theme/components/input-base.js +34 -0
  311. package/dist/styles/theme/components/input-label.d.ts +10 -0
  312. package/dist/styles/theme/components/input-label.js +6 -0
  313. package/dist/styles/theme/components/input.d.ts +32 -0
  314. package/dist/styles/theme/components/input.js +22 -0
  315. package/dist/styles/theme/components/linear-progress.d.ts +8 -0
  316. package/dist/styles/theme/components/linear-progress.js +6 -0
  317. package/dist/styles/theme/components/link.d.ts +10 -0
  318. package/dist/styles/theme/components/link.js +11 -0
  319. package/dist/styles/theme/components/list-item-avatar.d.ts +7 -0
  320. package/dist/styles/theme/components/list-item-avatar.js +6 -0
  321. package/dist/styles/theme/components/list-item-button.d.ts +10 -0
  322. package/dist/styles/theme/components/list-item-button.js +7 -0
  323. package/dist/styles/theme/components/list-item-icon.d.ts +9 -0
  324. package/dist/styles/theme/components/list-item-icon.js +6 -0
  325. package/dist/styles/theme/components/list-item-text.d.ts +7 -0
  326. package/dist/styles/theme/components/list-item-text.js +6 -0
  327. package/dist/styles/theme/components/list-item.d.ts +7 -0
  328. package/dist/styles/theme/components/list-item.js +6 -0
  329. package/dist/styles/theme/components/list.d.ts +7 -0
  330. package/dist/styles/theme/components/list.js +6 -0
  331. package/dist/styles/theme/components/menu-item.d.ts +17 -0
  332. package/dist/styles/theme/components/menu-item.js +17 -0
  333. package/dist/styles/theme/components/menu.d.ts +13 -0
  334. package/dist/styles/theme/components/menu.js +7 -0
  335. package/dist/styles/theme/components/outlined-input.d.ts +127 -0
  336. package/dist/styles/theme/components/outlined-input.js +47 -0
  337. package/dist/styles/theme/components/paper.d.ts +7 -0
  338. package/dist/styles/theme/components/paper.js +6 -0
  339. package/dist/styles/theme/components/popover.d.ts +11 -0
  340. package/dist/styles/theme/components/popover.js +7 -0
  341. package/dist/styles/theme/components/radio.d.ts +13 -0
  342. package/dist/styles/theme/components/radio.js +25 -0
  343. package/dist/styles/theme/components/select.d.ts +21 -0
  344. package/dist/styles/theme/components/select.js +18 -0
  345. package/dist/styles/theme/components/skeleton.d.ts +5 -0
  346. package/dist/styles/theme/components/skeleton.js +8 -0
  347. package/dist/styles/theme/components/stack.d.ts +5 -0
  348. package/dist/styles/theme/components/stack.js +4 -0
  349. package/dist/styles/theme/components/switch.d.ts +19 -0
  350. package/dist/styles/theme/components/switch.js +11 -0
  351. package/dist/styles/theme/components/tab.d.ts +18 -0
  352. package/dist/styles/theme/components/tab.js +15 -0
  353. package/dist/styles/theme/components/table-body.d.ts +5 -0
  354. package/dist/styles/theme/components/table-body.js +10 -0
  355. package/dist/styles/theme/components/table-cell.d.ts +10 -0
  356. package/dist/styles/theme/components/table-cell.js +11 -0
  357. package/dist/styles/theme/components/table-head.d.ts +11 -0
  358. package/dist/styles/theme/components/table-head.js +15 -0
  359. package/dist/styles/theme/components/table-pagination.d.ts +28 -0
  360. package/dist/styles/theme/components/table-pagination.js +93 -0
  361. package/dist/styles/theme/components/tabs.d.ts +33 -0
  362. package/dist/styles/theme/components/tabs.js +20 -0
  363. package/dist/styles/theme/components/timeline-connector.d.ts +7 -0
  364. package/dist/styles/theme/components/timeline-connector.js +6 -0
  365. package/dist/styles/theme/components/toggle-button-group.d.ts +23 -0
  366. package/dist/styles/theme/components/toggle-button-group.js +17 -0
  367. package/dist/styles/theme/components/toggle-button.d.ts +12 -0
  368. package/dist/styles/theme/components/toggle-button.js +9 -0
  369. package/dist/styles/theme/components/tooltip.d.ts +10 -0
  370. package/dist/styles/theme/components/tooltip.js +7 -0
  371. package/dist/styles/theme/create-theme.d.ts +8 -0
  372. package/dist/styles/theme/create-theme.js +22 -0
  373. package/dist/styles/theme/index.d.ts +1 -0
  374. package/dist/styles/theme/index.js +4 -0
  375. package/dist/styles/theme/shadows.d.ts +4 -0
  376. package/dist/styles/theme/shadows.js +59 -0
  377. package/dist/styles/theme/typography.d.ts +68 -0
  378. package/dist/styles/theme/typography.js +31 -0
  379. package/dist/tableCellClasses-BIg5orIQ.js +9 -0
  380. package/dist/useControlled-CYUofcJ9.js +287 -0
  381. package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
  382. package/dist/useTheme-DYc4rgBb.js +17 -0
  383. package/dist/utils/bytes-to-size.d.ts +1 -0
  384. package/dist/utils/bytes-to-size.js +9 -0
  385. package/dist/utils/dayjs.d.ts +3 -0
  386. package/dist/utils/dayjs.js +108 -0
  387. package/dist/utils/index.d.ts +3 -0
  388. package/dist/utils/index.js +13 -0
  389. package/dist/utils/logger.d.ts +26 -0
  390. package/dist/utils/logger.js +51 -0
  391. package/package.json +108 -0
@@ -0,0 +1,1178 @@
1
+ import { j as r } from "../jsx-runtime-B6kdoens.js";
2
+ import { v4 as be } from "uuid";
3
+ import ye from "../AppNoData/AppNoData.js";
4
+ import * as g from "react";
5
+ import { P as e, c as C, j as $, l as ge, k as he } from "../createTheme-C97xvI-s.js";
6
+ import { c as w } from "../clsx-C-FXfxyk.js";
7
+ import { s as O, r as te, c as N, m as U } from "../memoTheme-B2qvAi64.js";
8
+ import { a as S, g as B } from "../generateUtilityClasses-CuEy5gtx.js";
9
+ import { u as H } from "../DefaultPropsProvider-BV4t9fEW.js";
10
+ import { t as me, g as ve } from "../tableCellClasses-BIg5orIQ.js";
11
+ import { u as xe, a as Ce, c as A } from "../useControlled-CYUofcJ9.js";
12
+ import { B as Te, r as ae } from "../ButtonBase-p_uz8ITC.js";
13
+ import { c as Q } from "../createSimplePaletteValueFilter-B7--0ryQ.js";
14
+ function ke(o) {
15
+ return S("PrivateSwitchBase", o);
16
+ }
17
+ B("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
18
+ const je = (o) => {
19
+ const {
20
+ classes: t,
21
+ checked: a,
22
+ disabled: s,
23
+ edge: i
24
+ } = o, n = {
25
+ root: ["root", a && "checked", s && "disabled", i && `edge${C(i)}`],
26
+ input: ["input"]
27
+ };
28
+ return N(n, ke, t);
29
+ }, Re = O(Te)({
30
+ padding: 9,
31
+ borderRadius: "50%",
32
+ variants: [{
33
+ props: {
34
+ edge: "start",
35
+ size: "small"
36
+ },
37
+ style: {
38
+ marginLeft: -3
39
+ }
40
+ }, {
41
+ props: ({
42
+ edge: o,
43
+ ownerState: t
44
+ }) => o === "start" && t.size !== "small",
45
+ style: {
46
+ marginLeft: -12
47
+ }
48
+ }, {
49
+ props: {
50
+ edge: "end",
51
+ size: "small"
52
+ },
53
+ style: {
54
+ marginRight: -3
55
+ }
56
+ }, {
57
+ props: ({
58
+ edge: o,
59
+ ownerState: t
60
+ }) => o === "end" && t.size !== "small",
61
+ style: {
62
+ marginRight: -12
63
+ }
64
+ }]
65
+ }), Oe = O("input", {
66
+ shouldForwardProp: te
67
+ })({
68
+ cursor: "inherit",
69
+ position: "absolute",
70
+ opacity: 0,
71
+ width: "100%",
72
+ height: "100%",
73
+ top: 0,
74
+ left: 0,
75
+ margin: 0,
76
+ padding: 0,
77
+ zIndex: 1
78
+ }), se = /* @__PURE__ */ g.forwardRef(function(t, a) {
79
+ const {
80
+ autoFocus: s,
81
+ checked: i,
82
+ checkedIcon: n,
83
+ className: p,
84
+ defaultChecked: d,
85
+ disabled: u,
86
+ disableFocusRipple: b = !1,
87
+ edge: l = !1,
88
+ icon: h,
89
+ id: T,
90
+ inputProps: m,
91
+ inputRef: x,
92
+ name: c,
93
+ onBlur: v,
94
+ onChange: y,
95
+ onFocus: k,
96
+ readOnly: f,
97
+ required: V = !1,
98
+ tabIndex: I,
99
+ type: E,
100
+ value: q,
101
+ ...le
102
+ } = t, [G, ce] = xe({
103
+ controlled: i,
104
+ default: !!d,
105
+ name: "SwitchBase",
106
+ state: "checked"
107
+ }), R = Ce(), de = (j) => {
108
+ k && k(j), R && R.onFocus && R.onFocus(j);
109
+ }, pe = (j) => {
110
+ v && v(j), R && R.onBlur && R.onBlur(j);
111
+ }, ue = (j) => {
112
+ if (j.nativeEvent.defaultPrevented)
113
+ return;
114
+ const K = j.target.checked;
115
+ ce(K), y && y(j, K);
116
+ };
117
+ let P = u;
118
+ R && typeof P > "u" && (P = R.disabled);
119
+ const fe = E === "checkbox" || E === "radio", _ = {
120
+ ...t,
121
+ checked: G,
122
+ disabled: P,
123
+ disableFocusRipple: b,
124
+ edge: l
125
+ }, J = je(_);
126
+ return /* @__PURE__ */ r.jsxs(Re, {
127
+ component: "span",
128
+ className: w(J.root, p),
129
+ centerRipple: !0,
130
+ focusRipple: !b,
131
+ disabled: P,
132
+ tabIndex: null,
133
+ role: void 0,
134
+ onFocus: de,
135
+ onBlur: pe,
136
+ ownerState: _,
137
+ ref: a,
138
+ ...le,
139
+ children: [/* @__PURE__ */ r.jsx(Oe, {
140
+ autoFocus: s,
141
+ checked: i,
142
+ defaultChecked: d,
143
+ className: J.input,
144
+ disabled: P,
145
+ id: fe ? T : void 0,
146
+ name: c,
147
+ onChange: ue,
148
+ readOnly: f,
149
+ ref: x,
150
+ required: V,
151
+ ownerState: _,
152
+ tabIndex: I,
153
+ type: E,
154
+ ...E === "checkbox" && q === void 0 ? {} : {
155
+ value: q
156
+ },
157
+ ...m
158
+ }), G ? n : h]
159
+ });
160
+ });
161
+ process.env.NODE_ENV !== "production" && (se.propTypes = {
162
+ /**
163
+ * If `true`, the `input` element is focused during the first mount.
164
+ */
165
+ autoFocus: e.bool,
166
+ /**
167
+ * If `true`, the component is checked.
168
+ */
169
+ checked: e.bool,
170
+ /**
171
+ * The icon to display when the component is checked.
172
+ */
173
+ checkedIcon: e.node.isRequired,
174
+ /**
175
+ * Override or extend the styles applied to the component.
176
+ */
177
+ classes: e.object,
178
+ /**
179
+ * @ignore
180
+ */
181
+ className: e.string,
182
+ /**
183
+ * @ignore
184
+ */
185
+ defaultChecked: e.bool,
186
+ /**
187
+ * If `true`, the component is disabled.
188
+ */
189
+ disabled: e.bool,
190
+ /**
191
+ * If `true`, the keyboard focus ripple is disabled.
192
+ * @default false
193
+ */
194
+ disableFocusRipple: e.bool,
195
+ /**
196
+ * If given, uses a negative margin to counteract the padding on one
197
+ * side (this is often helpful for aligning the left or right
198
+ * side of the icon with content above or below, without ruining the border
199
+ * size and shape).
200
+ * @default false
201
+ */
202
+ edge: e.oneOf(["end", "start", !1]),
203
+ /**
204
+ * The icon to display when the component is unchecked.
205
+ */
206
+ icon: e.node.isRequired,
207
+ /**
208
+ * The id of the `input` element.
209
+ */
210
+ id: e.string,
211
+ /**
212
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
213
+ */
214
+ inputProps: e.object,
215
+ /**
216
+ * Pass a ref to the `input` element.
217
+ */
218
+ inputRef: ae,
219
+ /*
220
+ * @ignore
221
+ */
222
+ name: e.string,
223
+ /**
224
+ * @ignore
225
+ */
226
+ onBlur: e.func,
227
+ /**
228
+ * Callback fired when the state is changed.
229
+ *
230
+ * @param {object} event The event source of the callback.
231
+ * You can pull out the new checked state by accessing `event.target.checked` (boolean).
232
+ */
233
+ onChange: e.func,
234
+ /**
235
+ * @ignore
236
+ */
237
+ onFocus: e.func,
238
+ /**
239
+ * It prevents the user from changing the value of the field
240
+ * (not from interacting with the field).
241
+ */
242
+ readOnly: e.bool,
243
+ /**
244
+ * If `true`, the `input` element is required.
245
+ */
246
+ required: e.bool,
247
+ /**
248
+ * The system prop that allows defining system overrides as well as additional CSS styles.
249
+ */
250
+ sx: e.object,
251
+ /**
252
+ * @ignore
253
+ */
254
+ tabIndex: e.oneOfType([e.number, e.string]),
255
+ /**
256
+ * The input component prop `type`.
257
+ */
258
+ type: e.string.isRequired,
259
+ /**
260
+ * The value of the component.
261
+ */
262
+ value: e.any
263
+ });
264
+ const we = A(/* @__PURE__ */ r.jsx("path", {
265
+ d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
266
+ }), "CheckBoxOutlineBlank"), Ne = A(/* @__PURE__ */ r.jsx("path", {
267
+ d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
268
+ }), "CheckBox"), ze = A(/* @__PURE__ */ r.jsx("path", {
269
+ d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
270
+ }), "IndeterminateCheckBox");
271
+ function $e(o) {
272
+ return S("MuiCheckbox", o);
273
+ }
274
+ const D = B("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]), Se = (o) => {
275
+ const {
276
+ classes: t,
277
+ indeterminate: a,
278
+ color: s,
279
+ size: i
280
+ } = o, n = {
281
+ root: ["root", a && "indeterminate", `color${C(s)}`, `size${C(i)}`]
282
+ }, p = N(n, $e, t);
283
+ return {
284
+ ...t,
285
+ // forward the disabled and checked classes to the SwitchBase
286
+ ...p
287
+ };
288
+ }, Be = O(se, {
289
+ shouldForwardProp: (o) => te(o) || o === "classes",
290
+ name: "MuiCheckbox",
291
+ slot: "Root",
292
+ overridesResolver: (o, t) => {
293
+ const {
294
+ ownerState: a
295
+ } = o;
296
+ return [t.root, a.indeterminate && t.indeterminate, t[`size${C(a.size)}`], a.color !== "default" && t[`color${C(a.color)}`]];
297
+ }
298
+ })(U(({
299
+ theme: o
300
+ }) => ({
301
+ color: (o.vars || o).palette.text.secondary,
302
+ variants: [{
303
+ props: {
304
+ color: "default",
305
+ disableRipple: !1
306
+ },
307
+ style: {
308
+ "&:hover": {
309
+ backgroundColor: o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` : $(o.palette.action.active, o.palette.action.hoverOpacity)
310
+ }
311
+ }
312
+ }, ...Object.entries(o.palette).filter(Q()).map(([t]) => ({
313
+ props: {
314
+ color: t,
315
+ disableRipple: !1
316
+ },
317
+ style: {
318
+ "&:hover": {
319
+ backgroundColor: o.vars ? `rgba(${o.vars.palette[t].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : $(o.palette[t].main, o.palette.action.hoverOpacity)
320
+ }
321
+ }
322
+ })), ...Object.entries(o.palette).filter(Q()).map(([t]) => ({
323
+ props: {
324
+ color: t
325
+ },
326
+ style: {
327
+ [`&.${D.checked}, &.${D.indeterminate}`]: {
328
+ color: (o.vars || o).palette[t].main
329
+ },
330
+ [`&.${D.disabled}`]: {
331
+ color: (o.vars || o).palette.action.disabled
332
+ }
333
+ }
334
+ })), {
335
+ // Should be last to override other colors
336
+ props: {
337
+ disableRipple: !1
338
+ },
339
+ style: {
340
+ // Reset on touch devices, it doesn't add specificity
341
+ "&:hover": {
342
+ "@media (hover: none)": {
343
+ backgroundColor: "transparent"
344
+ }
345
+ }
346
+ }
347
+ }]
348
+ }))), He = /* @__PURE__ */ r.jsx(Ne, {}), Pe = /* @__PURE__ */ r.jsx(we, {}), Me = /* @__PURE__ */ r.jsx(ze, {}), W = /* @__PURE__ */ g.forwardRef(function(t, a) {
349
+ const s = H({
350
+ props: t,
351
+ name: "MuiCheckbox"
352
+ }), {
353
+ checkedIcon: i = He,
354
+ color: n = "primary",
355
+ icon: p = Pe,
356
+ indeterminate: d = !1,
357
+ indeterminateIcon: u = Me,
358
+ inputProps: b,
359
+ size: l = "medium",
360
+ disableRipple: h = !1,
361
+ className: T,
362
+ ...m
363
+ } = s, x = d ? u : p, c = d ? u : i, v = {
364
+ ...s,
365
+ disableRipple: h,
366
+ color: n,
367
+ indeterminate: d,
368
+ size: l
369
+ }, y = Se(v);
370
+ return /* @__PURE__ */ r.jsx(Be, {
371
+ type: "checkbox",
372
+ inputProps: {
373
+ "data-indeterminate": d,
374
+ ...b
375
+ },
376
+ icon: /* @__PURE__ */ g.cloneElement(x, {
377
+ fontSize: x.props.fontSize ?? l
378
+ }),
379
+ checkedIcon: /* @__PURE__ */ g.cloneElement(c, {
380
+ fontSize: c.props.fontSize ?? l
381
+ }),
382
+ ownerState: v,
383
+ ref: a,
384
+ className: w(y.root, T),
385
+ disableRipple: h,
386
+ ...m,
387
+ classes: y
388
+ });
389
+ });
390
+ process.env.NODE_ENV !== "production" && (W.propTypes = {
391
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
392
+ // │ These PropTypes are generated from the TypeScript type definitions. │
393
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
394
+ // └─────────────────────────────────────────────────────────────────────┘
395
+ /**
396
+ * If `true`, the component is checked.
397
+ */
398
+ checked: e.bool,
399
+ /**
400
+ * The icon to display when the component is checked.
401
+ * @default <CheckBoxIcon />
402
+ */
403
+ checkedIcon: e.node,
404
+ /**
405
+ * Override or extend the styles applied to the component.
406
+ */
407
+ classes: e.object,
408
+ /**
409
+ * @ignore
410
+ */
411
+ className: e.string,
412
+ /**
413
+ * The color of the component.
414
+ * It supports both default and custom theme colors, which can be added as shown in the
415
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
416
+ * @default 'primary'
417
+ */
418
+ color: e.oneOfType([e.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), e.string]),
419
+ /**
420
+ * The default checked state. Use when the component is not controlled.
421
+ */
422
+ defaultChecked: e.bool,
423
+ /**
424
+ * If `true`, the component is disabled.
425
+ * @default false
426
+ */
427
+ disabled: e.bool,
428
+ /**
429
+ * If `true`, the ripple effect is disabled.
430
+ * @default false
431
+ */
432
+ disableRipple: e.bool,
433
+ /**
434
+ * The icon to display when the component is unchecked.
435
+ * @default <CheckBoxOutlineBlankIcon />
436
+ */
437
+ icon: e.node,
438
+ /**
439
+ * The id of the `input` element.
440
+ */
441
+ id: e.string,
442
+ /**
443
+ * If `true`, the component appears indeterminate.
444
+ * This does not set the native input element to indeterminate due
445
+ * to inconsistent behavior across browsers.
446
+ * However, we set a `data-indeterminate` attribute on the `input`.
447
+ * @default false
448
+ */
449
+ indeterminate: e.bool,
450
+ /**
451
+ * The icon to display when the component is indeterminate.
452
+ * @default <IndeterminateCheckBoxIcon />
453
+ */
454
+ indeterminateIcon: e.node,
455
+ /**
456
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
457
+ */
458
+ inputProps: e.object,
459
+ /**
460
+ * Pass a ref to the `input` element.
461
+ */
462
+ inputRef: ae,
463
+ /**
464
+ * Callback fired when the state is changed.
465
+ *
466
+ * @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
467
+ * You can pull out the new checked state by accessing `event.target.checked` (boolean).
468
+ */
469
+ onChange: e.func,
470
+ /**
471
+ * If `true`, the `input` element is required.
472
+ * @default false
473
+ */
474
+ required: e.bool,
475
+ /**
476
+ * The size of the component.
477
+ * `small` is equivalent to the dense checkbox styling.
478
+ * @default 'medium'
479
+ */
480
+ size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
481
+ /**
482
+ * The system prop that allows defining system overrides as well as additional CSS styles.
483
+ */
484
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
485
+ /**
486
+ * The value of the component. The DOM API casts this to a string.
487
+ * The browser uses "on" as the default value.
488
+ */
489
+ value: e.any
490
+ });
491
+ const L = /* @__PURE__ */ g.createContext();
492
+ process.env.NODE_ENV !== "production" && (L.displayName = "TableContext");
493
+ function Ie(o) {
494
+ return S("MuiTable", o);
495
+ }
496
+ B("MuiTable", ["root", "stickyHeader"]);
497
+ const Ee = (o) => {
498
+ const {
499
+ classes: t,
500
+ stickyHeader: a
501
+ } = o;
502
+ return N({
503
+ root: ["root", a && "stickyHeader"]
504
+ }, Ie, t);
505
+ }, Fe = O("table", {
506
+ name: "MuiTable",
507
+ slot: "Root",
508
+ overridesResolver: (o, t) => {
509
+ const {
510
+ ownerState: a
511
+ } = o;
512
+ return [t.root, a.stickyHeader && t.stickyHeader];
513
+ }
514
+ })(U(({
515
+ theme: o
516
+ }) => ({
517
+ display: "table",
518
+ width: "100%",
519
+ borderCollapse: "collapse",
520
+ borderSpacing: 0,
521
+ "& caption": {
522
+ ...o.typography.body2,
523
+ padding: o.spacing(2),
524
+ color: (o.vars || o).palette.text.secondary,
525
+ textAlign: "left",
526
+ captionSide: "bottom"
527
+ },
528
+ variants: [{
529
+ props: ({
530
+ ownerState: t
531
+ }) => t.stickyHeader,
532
+ style: {
533
+ borderCollapse: "separate"
534
+ }
535
+ }]
536
+ }))), X = "table", ne = /* @__PURE__ */ g.forwardRef(function(t, a) {
537
+ const s = H({
538
+ props: t,
539
+ name: "MuiTable"
540
+ }), {
541
+ className: i,
542
+ component: n = X,
543
+ padding: p = "normal",
544
+ size: d = "medium",
545
+ stickyHeader: u = !1,
546
+ ...b
547
+ } = s, l = {
548
+ ...s,
549
+ component: n,
550
+ padding: p,
551
+ size: d,
552
+ stickyHeader: u
553
+ }, h = Ee(l), T = g.useMemo(() => ({
554
+ padding: p,
555
+ size: d,
556
+ stickyHeader: u
557
+ }), [p, d, u]);
558
+ return /* @__PURE__ */ r.jsx(L.Provider, {
559
+ value: T,
560
+ children: /* @__PURE__ */ r.jsx(Fe, {
561
+ as: n,
562
+ role: n === X ? null : "table",
563
+ ref: a,
564
+ className: w(h.root, i),
565
+ ownerState: l,
566
+ ...b
567
+ })
568
+ });
569
+ });
570
+ process.env.NODE_ENV !== "production" && (ne.propTypes = {
571
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
572
+ // │ These PropTypes are generated from the TypeScript type definitions. │
573
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
574
+ // └─────────────────────────────────────────────────────────────────────┘
575
+ /**
576
+ * The content of the table, normally `TableHead` and `TableBody`.
577
+ */
578
+ children: e.node,
579
+ /**
580
+ * Override or extend the styles applied to the component.
581
+ */
582
+ classes: e.object,
583
+ /**
584
+ * @ignore
585
+ */
586
+ className: e.string,
587
+ /**
588
+ * The component used for the root node.
589
+ * Either a string to use a HTML element or a component.
590
+ */
591
+ component: e.elementType,
592
+ /**
593
+ * Allows TableCells to inherit padding of the Table.
594
+ * @default 'normal'
595
+ */
596
+ padding: e.oneOf(["checkbox", "none", "normal"]),
597
+ /**
598
+ * Allows TableCells to inherit size of the Table.
599
+ * @default 'medium'
600
+ */
601
+ size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
602
+ /**
603
+ * Set the header sticky.
604
+ * @default false
605
+ */
606
+ stickyHeader: e.bool,
607
+ /**
608
+ * The system prop that allows defining system overrides as well as additional CSS styles.
609
+ */
610
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
611
+ });
612
+ const M = /* @__PURE__ */ g.createContext();
613
+ process.env.NODE_ENV !== "production" && (M.displayName = "Tablelvl2Context");
614
+ function Ue(o) {
615
+ return S("MuiTableBody", o);
616
+ }
617
+ B("MuiTableBody", ["root"]);
618
+ const Ve = (o) => {
619
+ const {
620
+ classes: t
621
+ } = o;
622
+ return N({
623
+ root: ["root"]
624
+ }, Ue, t);
625
+ }, _e = O("tbody", {
626
+ name: "MuiTableBody",
627
+ slot: "Root",
628
+ overridesResolver: (o, t) => t.root
629
+ })({
630
+ display: "table-row-group"
631
+ }), De = {
632
+ variant: "body"
633
+ }, Y = "tbody", re = /* @__PURE__ */ g.forwardRef(function(t, a) {
634
+ const s = H({
635
+ props: t,
636
+ name: "MuiTableBody"
637
+ }), {
638
+ className: i,
639
+ component: n = Y,
640
+ ...p
641
+ } = s, d = {
642
+ ...s,
643
+ component: n
644
+ }, u = Ve(d);
645
+ return /* @__PURE__ */ r.jsx(M.Provider, {
646
+ value: De,
647
+ children: /* @__PURE__ */ r.jsx(_e, {
648
+ className: w(u.root, i),
649
+ as: n,
650
+ ref: a,
651
+ role: n === Y ? null : "rowgroup",
652
+ ownerState: d,
653
+ ...p
654
+ })
655
+ });
656
+ });
657
+ process.env.NODE_ENV !== "production" && (re.propTypes = {
658
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
659
+ // │ These PropTypes are generated from the TypeScript type definitions. │
660
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
661
+ // └─────────────────────────────────────────────────────────────────────┘
662
+ /**
663
+ * The content of the component, normally `TableRow`.
664
+ */
665
+ children: e.node,
666
+ /**
667
+ * Override or extend the styles applied to the component.
668
+ */
669
+ classes: e.object,
670
+ /**
671
+ * @ignore
672
+ */
673
+ className: e.string,
674
+ /**
675
+ * The component used for the root node.
676
+ * Either a string to use a HTML element or a component.
677
+ */
678
+ component: e.elementType,
679
+ /**
680
+ * The system prop that allows defining system overrides as well as additional CSS styles.
681
+ */
682
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
683
+ });
684
+ const We = (o) => {
685
+ const {
686
+ classes: t,
687
+ variant: a,
688
+ align: s,
689
+ padding: i,
690
+ size: n,
691
+ stickyHeader: p
692
+ } = o, d = {
693
+ root: ["root", a, p && "stickyHeader", s !== "inherit" && `align${C(s)}`, i !== "normal" && `padding${C(i)}`, `size${C(n)}`]
694
+ };
695
+ return N(d, ve, t);
696
+ }, Ae = O("td", {
697
+ name: "MuiTableCell",
698
+ slot: "Root",
699
+ overridesResolver: (o, t) => {
700
+ const {
701
+ ownerState: a
702
+ } = o;
703
+ return [t.root, t[a.variant], t[`size${C(a.size)}`], a.padding !== "normal" && t[`padding${C(a.padding)}`], a.align !== "inherit" && t[`align${C(a.align)}`], a.stickyHeader && t.stickyHeader];
704
+ }
705
+ })(U(({
706
+ theme: o
707
+ }) => ({
708
+ ...o.typography.body2,
709
+ display: "table-cell",
710
+ verticalAlign: "inherit",
711
+ // Workaround for a rendering bug with spanned columns in Chrome 62.0.
712
+ // Removes the alpha (sets it to 1), and lightens or darkens the theme color.
713
+ borderBottom: o.vars ? `1px solid ${o.vars.palette.TableCell.border}` : `1px solid
714
+ ${o.palette.mode === "light" ? ge($(o.palette.divider, 1), 0.88) : he($(o.palette.divider, 1), 0.68)}`,
715
+ textAlign: "left",
716
+ padding: 16,
717
+ variants: [{
718
+ props: {
719
+ variant: "head"
720
+ },
721
+ style: {
722
+ color: (o.vars || o).palette.text.primary,
723
+ lineHeight: o.typography.pxToRem(24),
724
+ fontWeight: o.typography.fontWeightMedium
725
+ }
726
+ }, {
727
+ props: {
728
+ variant: "body"
729
+ },
730
+ style: {
731
+ color: (o.vars || o).palette.text.primary
732
+ }
733
+ }, {
734
+ props: {
735
+ variant: "footer"
736
+ },
737
+ style: {
738
+ color: (o.vars || o).palette.text.secondary,
739
+ lineHeight: o.typography.pxToRem(21),
740
+ fontSize: o.typography.pxToRem(12)
741
+ }
742
+ }, {
743
+ props: {
744
+ size: "small"
745
+ },
746
+ style: {
747
+ padding: "6px 16px",
748
+ [`&.${me.paddingCheckbox}`]: {
749
+ width: 24,
750
+ // prevent the checkbox column from growing
751
+ padding: "0 12px 0 16px",
752
+ "& > *": {
753
+ padding: 0
754
+ }
755
+ }
756
+ }
757
+ }, {
758
+ props: {
759
+ padding: "checkbox"
760
+ },
761
+ style: {
762
+ width: 48,
763
+ // prevent the checkbox column from growing
764
+ padding: "0 0 0 4px"
765
+ }
766
+ }, {
767
+ props: {
768
+ padding: "none"
769
+ },
770
+ style: {
771
+ padding: 0
772
+ }
773
+ }, {
774
+ props: {
775
+ align: "left"
776
+ },
777
+ style: {
778
+ textAlign: "left"
779
+ }
780
+ }, {
781
+ props: {
782
+ align: "center"
783
+ },
784
+ style: {
785
+ textAlign: "center"
786
+ }
787
+ }, {
788
+ props: {
789
+ align: "right"
790
+ },
791
+ style: {
792
+ textAlign: "right",
793
+ flexDirection: "row-reverse"
794
+ }
795
+ }, {
796
+ props: {
797
+ align: "justify"
798
+ },
799
+ style: {
800
+ textAlign: "justify"
801
+ }
802
+ }, {
803
+ props: ({
804
+ ownerState: t
805
+ }) => t.stickyHeader,
806
+ style: {
807
+ position: "sticky",
808
+ top: 0,
809
+ zIndex: 2,
810
+ backgroundColor: (o.vars || o).palette.background.default
811
+ }
812
+ }]
813
+ }))), z = /* @__PURE__ */ g.forwardRef(function(t, a) {
814
+ const s = H({
815
+ props: t,
816
+ name: "MuiTableCell"
817
+ }), {
818
+ align: i = "inherit",
819
+ className: n,
820
+ component: p,
821
+ padding: d,
822
+ scope: u,
823
+ size: b,
824
+ sortDirection: l,
825
+ variant: h,
826
+ ...T
827
+ } = s, m = g.useContext(L), x = g.useContext(M), c = x && x.variant === "head";
828
+ let v;
829
+ p ? v = p : v = c ? "th" : "td";
830
+ let y = u;
831
+ v === "td" ? y = void 0 : !y && c && (y = "col");
832
+ const k = h || x && x.variant, f = {
833
+ ...s,
834
+ align: i,
835
+ component: v,
836
+ padding: d || (m && m.padding ? m.padding : "normal"),
837
+ size: b || (m && m.size ? m.size : "medium"),
838
+ sortDirection: l,
839
+ stickyHeader: k === "head" && m && m.stickyHeader,
840
+ variant: k
841
+ }, V = We(f);
842
+ let I = null;
843
+ return l && (I = l === "asc" ? "ascending" : "descending"), /* @__PURE__ */ r.jsx(Ae, {
844
+ as: v,
845
+ ref: a,
846
+ className: w(V.root, n),
847
+ "aria-sort": I,
848
+ scope: y,
849
+ ownerState: f,
850
+ ...T
851
+ });
852
+ });
853
+ process.env.NODE_ENV !== "production" && (z.propTypes = {
854
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
855
+ // │ These PropTypes are generated from the TypeScript type definitions. │
856
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
857
+ // └─────────────────────────────────────────────────────────────────────┘
858
+ /**
859
+ * Set the text-align on the table cell content.
860
+ *
861
+ * Monetary or generally number fields **should be right aligned** as that allows
862
+ * you to add them up quickly in your head without having to worry about decimals.
863
+ * @default 'inherit'
864
+ */
865
+ align: e.oneOf(["center", "inherit", "justify", "left", "right"]),
866
+ /**
867
+ * The content of the component.
868
+ */
869
+ children: e.node,
870
+ /**
871
+ * Override or extend the styles applied to the component.
872
+ */
873
+ classes: e.object,
874
+ /**
875
+ * @ignore
876
+ */
877
+ className: e.string,
878
+ /**
879
+ * The component used for the root node.
880
+ * Either a string to use a HTML element or a component.
881
+ */
882
+ component: e.elementType,
883
+ /**
884
+ * Sets the padding applied to the cell.
885
+ * The prop defaults to the value (`'default'`) inherited from the parent Table component.
886
+ */
887
+ padding: e.oneOf(["checkbox", "none", "normal"]),
888
+ /**
889
+ * Set scope attribute.
890
+ */
891
+ scope: e.string,
892
+ /**
893
+ * Specify the size of the cell.
894
+ * The prop defaults to the value (`'medium'`) inherited from the parent Table component.
895
+ */
896
+ size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
897
+ /**
898
+ * Set aria-sort direction.
899
+ */
900
+ sortDirection: e.oneOf(["asc", "desc", !1]),
901
+ /**
902
+ * The system prop that allows defining system overrides as well as additional CSS styles.
903
+ */
904
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
905
+ /**
906
+ * Specify the cell type.
907
+ * The prop defaults to the value inherited from the parent TableHead, TableBody, or TableFooter components.
908
+ */
909
+ variant: e.oneOfType([e.oneOf(["body", "footer", "head"]), e.string])
910
+ });
911
+ function Le(o) {
912
+ return S("MuiTableHead", o);
913
+ }
914
+ B("MuiTableHead", ["root"]);
915
+ const qe = (o) => {
916
+ const {
917
+ classes: t
918
+ } = o;
919
+ return N({
920
+ root: ["root"]
921
+ }, Le, t);
922
+ }, Ge = O("thead", {
923
+ name: "MuiTableHead",
924
+ slot: "Root",
925
+ overridesResolver: (o, t) => t.root
926
+ })({
927
+ display: "table-header-group"
928
+ }), Je = {
929
+ variant: "head"
930
+ }, Z = "thead", ie = /* @__PURE__ */ g.forwardRef(function(t, a) {
931
+ const s = H({
932
+ props: t,
933
+ name: "MuiTableHead"
934
+ }), {
935
+ className: i,
936
+ component: n = Z,
937
+ ...p
938
+ } = s, d = {
939
+ ...s,
940
+ component: n
941
+ }, u = qe(d);
942
+ return /* @__PURE__ */ r.jsx(M.Provider, {
943
+ value: Je,
944
+ children: /* @__PURE__ */ r.jsx(Ge, {
945
+ as: n,
946
+ className: w(u.root, i),
947
+ ref: a,
948
+ role: n === Z ? null : "rowgroup",
949
+ ownerState: d,
950
+ ...p
951
+ })
952
+ });
953
+ });
954
+ process.env.NODE_ENV !== "production" && (ie.propTypes = {
955
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
956
+ // │ These PropTypes are generated from the TypeScript type definitions. │
957
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
958
+ // └─────────────────────────────────────────────────────────────────────┘
959
+ /**
960
+ * The content of the component, normally `TableRow`.
961
+ */
962
+ children: e.node,
963
+ /**
964
+ * Override or extend the styles applied to the component.
965
+ */
966
+ classes: e.object,
967
+ /**
968
+ * @ignore
969
+ */
970
+ className: e.string,
971
+ /**
972
+ * The component used for the root node.
973
+ * Either a string to use a HTML element or a component.
974
+ */
975
+ component: e.elementType,
976
+ /**
977
+ * The system prop that allows defining system overrides as well as additional CSS styles.
978
+ */
979
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
980
+ });
981
+ function Ke(o) {
982
+ return S("MuiTableRow", o);
983
+ }
984
+ const ee = B("MuiTableRow", ["root", "selected", "hover", "head", "footer"]), Qe = (o) => {
985
+ const {
986
+ classes: t,
987
+ selected: a,
988
+ hover: s,
989
+ head: i,
990
+ footer: n
991
+ } = o;
992
+ return N({
993
+ root: ["root", a && "selected", s && "hover", i && "head", n && "footer"]
994
+ }, Ke, t);
995
+ }, Xe = O("tr", {
996
+ name: "MuiTableRow",
997
+ slot: "Root",
998
+ overridesResolver: (o, t) => {
999
+ const {
1000
+ ownerState: a
1001
+ } = o;
1002
+ return [t.root, a.head && t.head, a.footer && t.footer];
1003
+ }
1004
+ })(U(({
1005
+ theme: o
1006
+ }) => ({
1007
+ color: "inherit",
1008
+ display: "table-row",
1009
+ verticalAlign: "middle",
1010
+ // We disable the focus ring for mouse, touch and keyboard users.
1011
+ outline: 0,
1012
+ [`&.${ee.hover}:hover`]: {
1013
+ backgroundColor: (o.vars || o).palette.action.hover
1014
+ },
1015
+ [`&.${ee.selected}`]: {
1016
+ backgroundColor: o.vars ? `rgba(${o.vars.palette.primary.mainChannel} / ${o.vars.palette.action.selectedOpacity})` : $(o.palette.primary.main, o.palette.action.selectedOpacity),
1017
+ "&:hover": {
1018
+ backgroundColor: o.vars ? `rgba(${o.vars.palette.primary.mainChannel} / calc(${o.vars.palette.action.selectedOpacity} + ${o.vars.palette.action.hoverOpacity}))` : $(o.palette.primary.main, o.palette.action.selectedOpacity + o.palette.action.hoverOpacity)
1019
+ }
1020
+ }
1021
+ }))), oe = "tr", F = /* @__PURE__ */ g.forwardRef(function(t, a) {
1022
+ const s = H({
1023
+ props: t,
1024
+ name: "MuiTableRow"
1025
+ }), {
1026
+ className: i,
1027
+ component: n = oe,
1028
+ hover: p = !1,
1029
+ selected: d = !1,
1030
+ ...u
1031
+ } = s, b = g.useContext(M), l = {
1032
+ ...s,
1033
+ component: n,
1034
+ hover: p,
1035
+ selected: d,
1036
+ head: b && b.variant === "head",
1037
+ footer: b && b.variant === "footer"
1038
+ }, h = Qe(l);
1039
+ return /* @__PURE__ */ r.jsx(Xe, {
1040
+ as: n,
1041
+ ref: a,
1042
+ className: w(h.root, i),
1043
+ role: n === oe ? null : "row",
1044
+ ownerState: l,
1045
+ ...u
1046
+ });
1047
+ });
1048
+ process.env.NODE_ENV !== "production" && (F.propTypes = {
1049
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1050
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1051
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
1052
+ // └─────────────────────────────────────────────────────────────────────┘
1053
+ /**
1054
+ * Should be valid `<tr>` children such as `TableCell`.
1055
+ */
1056
+ children: e.node,
1057
+ /**
1058
+ * Override or extend the styles applied to the component.
1059
+ */
1060
+ classes: e.object,
1061
+ /**
1062
+ * @ignore
1063
+ */
1064
+ className: e.string,
1065
+ /**
1066
+ * The component used for the root node.
1067
+ * Either a string to use a HTML element or a component.
1068
+ */
1069
+ component: e.elementType,
1070
+ /**
1071
+ * If `true`, the table row will shade on hover.
1072
+ * @default false
1073
+ */
1074
+ hover: e.bool,
1075
+ /**
1076
+ * If `true`, the table row will have the selected shading.
1077
+ * @default false
1078
+ */
1079
+ selected: e.bool,
1080
+ /**
1081
+ * The system prop that allows defining system overrides as well as additional CSS styles.
1082
+ */
1083
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
1084
+ });
1085
+ function po({
1086
+ columns: o,
1087
+ hideHead: t,
1088
+ hover: a,
1089
+ onClick: s,
1090
+ onDeselectAll: i,
1091
+ onDeselectOne: n,
1092
+ onSelectOne: p,
1093
+ onSelectAll: d,
1094
+ rows: u,
1095
+ selectable: b,
1096
+ selected: l,
1097
+ uniqueRowId: h,
1098
+ ...T
1099
+ }) {
1100
+ const m = ((l == null ? void 0 : l.size) ?? 0) > 0 && ((l == null ? void 0 : l.size) ?? 0) < u.length, x = u.length > 0 && (l == null ? void 0 : l.size) === u.length;
1101
+ return /* @__PURE__ */ r.jsxs(ne, { ...T, sx: { mt: 1 }, children: [
1102
+ /* @__PURE__ */ r.jsx(
1103
+ ie,
1104
+ {
1105
+ sx: {
1106
+ ...t && {
1107
+ visibility: "collapse",
1108
+ "--TableCell-borderWidth": 0
1109
+ }
1110
+ },
1111
+ children: /* @__PURE__ */ r.jsxs(F, { children: [
1112
+ b ? /* @__PURE__ */ r.jsx(z, { padding: "checkbox", sx: { width: "40px", minWidth: "40px", maxWidth: "40px" }, children: /* @__PURE__ */ r.jsx(
1113
+ W,
1114
+ {
1115
+ checked: x,
1116
+ indeterminate: m,
1117
+ onChange: (c) => {
1118
+ x ? i == null || i(c) : d == null || d(c);
1119
+ }
1120
+ }
1121
+ ) }) : null,
1122
+ o.map(
1123
+ (c) => /* @__PURE__ */ r.jsx(
1124
+ z,
1125
+ {
1126
+ sx: {
1127
+ width: c.width,
1128
+ minWidth: c.width,
1129
+ maxWidth: c.width,
1130
+ ...c.align && { textAlign: c.align }
1131
+ },
1132
+ children: c.hideName ? null : c.name
1133
+ },
1134
+ c.name ?? be()
1135
+ )
1136
+ )
1137
+ ] })
1138
+ }
1139
+ ),
1140
+ /* @__PURE__ */ r.jsx(re, { children: u.length ? u.map((c, v) => {
1141
+ const y = c.id ? c.id : h == null ? void 0 : h(c), k = y ? l == null ? void 0 : l.has(y) : !1;
1142
+ return /* @__PURE__ */ r.jsxs(
1143
+ F,
1144
+ {
1145
+ hover: a,
1146
+ selected: k,
1147
+ ...s && {
1148
+ onClick: (f) => {
1149
+ s(f, c);
1150
+ }
1151
+ },
1152
+ sx: { ...s && { cursor: "pointer" } },
1153
+ children: [
1154
+ b ? /* @__PURE__ */ r.jsx(z, { padding: "checkbox", children: /* @__PURE__ */ r.jsx(
1155
+ W,
1156
+ {
1157
+ checked: y ? k : !1,
1158
+ onChange: (f) => {
1159
+ k ? n == null || n(f, c) : p == null || p(f, c);
1160
+ },
1161
+ onClick: (f) => {
1162
+ s && f.stopPropagation();
1163
+ }
1164
+ }
1165
+ ) }) : null,
1166
+ o.map(
1167
+ (f) => /* @__PURE__ */ r.jsx(z, { sx: { ...f.align && { textAlign: f.align } }, children: f.formatter ? f.formatter(c, v) : f.field ? c[f.field] : null }, f.name)
1168
+ )
1169
+ ]
1170
+ },
1171
+ y ?? v
1172
+ );
1173
+ }) : /* @__PURE__ */ r.jsx(F, { children: /* @__PURE__ */ r.jsx(z, { align: "center", colSpan: o.length, children: /* @__PURE__ */ r.jsx(ye, {}) }) }) })
1174
+ ] });
1175
+ }
1176
+ export {
1177
+ po as default
1178
+ };