codeforlife 2.8.3 → 2.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Countdown-DFI1RljW.js +28 -0
- package/dist/Countdown-DFI1RljW.js.map +1 -0
- package/dist/Countdown-zY3nMzmi.cjs +2 -0
- package/dist/Countdown-zY3nMzmi.cjs.map +1 -0
- package/dist/Image-D5jC9UoX.js +21 -0
- package/dist/Image-D5jC9UoX.js.map +1 -0
- package/dist/Image-mgT45r_B.cjs +2 -0
- package/dist/Image-mgT45r_B.cjs.map +1 -0
- package/dist/LinkButton-BYFkvL_O.cjs +2 -0
- package/dist/LinkButton-BYFkvL_O.cjs.map +1 -0
- package/dist/LinkButton-oK0RThqn.js +12 -0
- package/dist/LinkButton-oK0RThqn.js.map +1 -0
- package/dist/Navigate-Dq47aqC8.js +25 -0
- package/dist/Navigate-Dq47aqC8.js.map +1 -0
- package/dist/Navigate-dQocLhzN.cjs +2 -0
- package/dist/Navigate-dQocLhzN.cjs.map +1 -0
- package/dist/api/createApi.d.ts +7 -0
- package/dist/api/endpoints/authFactor.d.ts +11 -0
- package/dist/api/endpoints/index.cjs.js +2 -0
- package/dist/api/endpoints/index.cjs.js.map +1 -0
- package/dist/api/endpoints/index.d.ts +9 -0
- package/dist/api/endpoints/index.es.js +78 -0
- package/dist/api/endpoints/index.es.js.map +1 -0
- package/dist/api/endpoints/klass.d.ts +26 -0
- package/dist/api/endpoints/school.d.ts +11 -0
- package/dist/api/endpoints/session.d.ts +9 -0
- package/dist/api/endpoints/user.d.ts +19 -0
- package/dist/api/index.cjs.js +4 -0
- package/dist/api/index.cjs.js.map +1 -0
- package/dist/api/index.d.ts +5 -0
- package/dist/api/index.es.js +541 -0
- package/dist/api/index.es.js.map +1 -0
- package/dist/api/models.d.ts +92 -0
- package/dist/api/schemas.d.ts +20 -0
- package/dist/api/tagTypes.d.ts +3 -0
- package/dist/api/urls.d.ts +31 -0
- package/dist/api-Cbyt3rw0.js +92 -0
- package/dist/api-Cbyt3rw0.js.map +1 -0
- package/dist/api-CnMfjRk3.cjs +2 -0
- package/dist/api-CnMfjRk3.cjs.map +1 -0
- package/dist/api-Cs4Y-WeI.js +20 -0
- package/dist/api-Cs4Y-WeI.js.map +1 -0
- package/dist/api-DIgp_6Vr.cjs +2 -0
- package/dist/api-DIgp_6Vr.cjs.map +1 -0
- package/dist/auth-BPfUPjmM.js +237 -0
- package/dist/auth-BPfUPjmM.js.map +1 -0
- package/dist/auth-Vf1MgMci.cjs +2 -0
- package/dist/auth-Vf1MgMci.cjs.map +1 -0
- package/dist/components/App.d.ts +18 -0
- package/dist/components/ClickableTooltip.d.ts +6 -0
- package/dist/components/CopyIconButton.d.ts +7 -0
- package/dist/components/CopyIconButton.test.d.ts +1 -0
- package/dist/components/Countdown.d.ts +9 -0
- package/dist/components/DownloadFileButton.d.ts +13 -0
- package/dist/components/ElevatedAppBar.d.ts +8 -0
- package/dist/components/Image.d.ts +10 -0
- package/dist/components/InputFileButton.d.ts +7 -0
- package/dist/components/ItemizedList.d.ts +11 -0
- package/dist/components/OrderedGrid.d.ts +21 -0
- package/dist/components/ScrollIntoViewLink.d.ts +8 -0
- package/dist/components/SyncError.d.ts +5 -0
- package/dist/components/TablePagination.d.ts +20 -0
- package/dist/components/YouTubeVideo.d.ts +7 -0
- package/dist/components/form/ApiAutocompleteField.d.ts +14 -0
- package/dist/components/form/AutocompleteField.d.ts +11 -0
- package/dist/components/form/CheckboxField.d.ts +11 -0
- package/dist/components/form/CountryField.d.ts +10 -0
- package/dist/components/form/DatePickerField.d.ts +10 -0
- package/dist/components/form/EmailField.d.ts +5 -0
- package/dist/components/form/FirstNameField.d.ts +5 -0
- package/dist/components/form/Form.d.ts +36 -0
- package/dist/components/form/OtpField.d.ts +5 -0
- package/dist/components/form/PasswordField.d.ts +9 -0
- package/dist/components/form/RepeatField.d.ts +9 -0
- package/dist/components/form/SubmitButton.d.ts +6 -0
- package/dist/components/form/TextField.d.ts +14 -0
- package/dist/components/form/UkCountyField.d.ts +10 -0
- package/dist/components/form/index.cjs.js +2 -0
- package/dist/components/form/index.cjs.js.map +1 -0
- package/dist/components/form/index.d.ts +14 -0
- package/dist/components/form/index.es.js +18 -0
- package/dist/components/form/index.es.js.map +1 -0
- package/dist/components/index.cjs.js +11 -0
- package/dist/components/index.cjs.js.map +1 -0
- package/dist/components/index.d.ts +18 -0
- package/dist/components/index.es.js +383 -0
- package/dist/components/index.es.js.map +1 -0
- package/dist/components/page/Banner.d.ts +13 -0
- package/dist/components/page/Notification.d.ts +10 -0
- package/dist/components/page/Page.d.ts +19 -0
- package/dist/components/page/Section.d.ts +7 -0
- package/dist/components/page/TabBar.d.ts +13 -0
- package/dist/components/page/index.cjs.js +2 -0
- package/dist/components/page/index.cjs.js.map +1 -0
- package/dist/components/page/index.d.ts +5 -0
- package/dist/components/page/index.es.js +9 -0
- package/dist/components/page/index.es.js.map +1 -0
- package/dist/components/router/Link.d.ts +9 -0
- package/dist/components/router/LinkButton.d.ts +9 -0
- package/dist/components/router/LinkIconButton.d.ts +9 -0
- package/dist/components/router/LinkListItem.d.ts +9 -0
- package/dist/components/router/LinkTab.d.ts +9 -0
- package/dist/components/router/Navigate.d.ts +15 -0
- package/dist/components/router/index.cjs.js +2 -0
- package/dist/components/router/index.cjs.js.map +1 -0
- package/dist/components/router/index.d.ts +6 -0
- package/dist/components/router/index.es.js +11 -0
- package/dist/components/router/index.es.js.map +1 -0
- package/dist/components/table/CellStack.d.ts +7 -0
- package/dist/components/table/Table.d.ts +12 -0
- package/dist/components/table/index.cjs.js +2 -0
- package/dist/components/table/index.cjs.js.map +1 -0
- package/dist/components/table/index.d.ts +3 -0
- package/dist/components/table/index.es.js +9 -0
- package/dist/components/table/index.es.js.map +1 -0
- package/dist/en-gb-B_rK7Jx1.js +20 -0
- package/dist/en-gb-B_rK7Jx1.js.map +1 -0
- package/dist/en-gb-CpyEkKq3.cjs +2 -0
- package/dist/en-gb-CpyEkKq3.cjs.map +1 -0
- package/dist/features/InactiveDialog.d.ts +7 -0
- package/dist/features/ScreenTimeDialog.d.ts +7 -0
- package/dist/features/index.cjs.js +2 -0
- package/dist/features/index.cjs.js.map +1 -0
- package/dist/features/index.d.ts +4 -0
- package/dist/features/index.es.js +47 -0
- package/dist/features/index.es.js.map +1 -0
- package/dist/general-BPbbmkeX.cjs +2 -0
- package/dist/general-BPbbmkeX.cjs.map +1 -0
- package/dist/general-CtTJPCJn.js +58 -0
- package/dist/general-CtTJPCJn.js.map +1 -0
- package/dist/hooks/api.d.ts +15 -0
- package/dist/hooks/auth.d.ts +46 -0
- package/{src/hooks/form.tsx → dist/hooks/form.d.ts} +2 -5
- package/dist/hooks/general.d.ts +13 -0
- package/dist/hooks/index.cjs.js +2 -0
- package/dist/hooks/index.cjs.js.map +1 -0
- package/dist/hooks/index.d.ts +5 -0
- package/dist/hooks/index.es.js +25 -0
- package/dist/hooks/index.es.js.map +1 -0
- package/dist/hooks/router.d.ts +29 -0
- package/dist/index-2W--_sNE.js +30 -0
- package/dist/index-2W--_sNE.js.map +1 -0
- package/dist/index-BUMdUVBH.cjs +5 -0
- package/dist/index-BUMdUVBH.cjs.map +1 -0
- package/dist/index-B_Zy_zwA.cjs +2 -0
- package/dist/index-B_Zy_zwA.cjs.map +1 -0
- package/dist/index-BgsynEGX.cjs +2 -0
- package/dist/index-BgsynEGX.cjs.map +1 -0
- package/dist/index-CA-ugBSa.cjs +2 -0
- package/dist/index-CA-ugBSa.cjs.map +1 -0
- package/dist/index-CNtOlJ49.js +572 -0
- package/dist/index-CNtOlJ49.js.map +1 -0
- package/dist/index-DkM_cG3a.js +237 -0
- package/dist/index-DkM_cG3a.js.map +1 -0
- package/dist/index-Dqp7dpn3.js +1111 -0
- package/dist/index-Dqp7dpn3.js.map +1 -0
- package/dist/index.cjs.js +2 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +7 -0
- package/dist/index.es.js.map +1 -0
- package/dist/jsx-runtime-CeSfJrVB.cjs +31 -0
- package/dist/jsx-runtime-CeSfJrVB.cjs.map +1 -0
- package/dist/jsx-runtime-Dpn_P65e.js +634 -0
- package/dist/jsx-runtime-Dpn_P65e.js.map +1 -0
- package/dist/middlewares/index.cjs.js +2 -0
- package/dist/middlewares/index.cjs.js.map +1 -0
- package/dist/middlewares/index.d.ts +1 -0
- package/dist/middlewares/index.es.js +10 -0
- package/dist/middlewares/index.es.js.map +1 -0
- package/dist/middlewares/session.d.ts +2 -0
- package/dist/palette-CE2mKYse.cjs +2 -0
- package/dist/palette-CE2mKYse.cjs.map +1 -0
- package/dist/palette-C_L0akN_.js +43 -0
- package/dist/palette-C_L0akN_.js.map +1 -0
- package/dist/rtk-query.modern-CjetfYPg.js +3038 -0
- package/dist/rtk-query.modern-CjetfYPg.js.map +1 -0
- package/dist/rtk-query.modern-PBCErCqb.cjs +15 -0
- package/dist/rtk-query.modern-PBCErCqb.cjs.map +1 -0
- package/dist/schemas-BZbJpkD5.cjs +2 -0
- package/dist/schemas-BZbJpkD5.cjs.map +1 -0
- package/dist/schemas-DlOtf2vf.js +162 -0
- package/dist/schemas-DlOtf2vf.js.map +1 -0
- package/dist/scripts/index.d.ts +0 -0
- package/dist/server.cjs.js +6 -0
- package/dist/server.cjs.js.map +1 -0
- package/dist/server.d.ts +44 -0
- package/dist/server.es.js +127 -0
- package/dist/server.es.js.map +1 -0
- package/dist/session-CE2U7oL1.cjs +2 -0
- package/dist/session-CE2U7oL1.cjs.map +1 -0
- package/dist/session-CacrgFSv.cjs +2 -0
- package/dist/session-CacrgFSv.cjs.map +1 -0
- package/dist/session-D312kYKk.js +32 -0
- package/dist/session-D312kYKk.js.map +1 -0
- package/dist/session-oI-Ht2C8.js +30 -0
- package/dist/session-oI-Ht2C8.js.map +1 -0
- package/dist/settings/custom.d.ts +11 -0
- package/dist/settings/index.cjs.js +2 -0
- package/dist/settings/index.cjs.js.map +1 -0
- package/dist/settings/index.d.ts +4 -0
- package/dist/settings/index.es.js +17 -0
- package/dist/settings/index.es.js.map +1 -0
- package/dist/settings/vite.d.ts +10 -0
- package/dist/setupTests.d.ts +0 -0
- package/dist/slices/createSlice.d.ts +3 -0
- package/dist/slices/index.cjs.js +2 -0
- package/dist/slices/index.cjs.js.map +1 -0
- package/dist/slices/index.d.ts +2 -0
- package/dist/slices/index.es.js +6 -0
- package/dist/slices/index.es.js.map +1 -0
- package/dist/slices/session.d.ts +28 -0
- package/dist/style.css +1 -0
- package/dist/theme/ThemedBox.d.ts +10 -0
- package/dist/theme/colors.d.ts +18 -0
- package/dist/theme/components/MuiAccordion.d.ts +3 -0
- package/dist/theme/components/MuiAutocomplete.d.ts +3 -0
- package/dist/theme/components/MuiButton.d.ts +3 -0
- package/dist/theme/components/MuiCardActions.d.ts +3 -0
- package/dist/theme/components/MuiCheckbox.d.ts +3 -0
- package/dist/theme/components/MuiContainer.d.ts +3 -0
- package/dist/theme/components/MuiDialog.d.ts +3 -0
- package/dist/theme/components/MuiFormControlLabel.d.ts +3 -0
- package/dist/theme/components/MuiFormHelperText.d.ts +3 -0
- package/dist/theme/components/MuiGrid2.d.ts +3 -0
- package/dist/theme/components/MuiInputBase.d.ts +3 -0
- package/dist/theme/components/MuiLink.d.ts +3 -0
- package/dist/theme/components/MuiList.d.ts +3 -0
- package/dist/theme/components/MuiListItemText.d.ts +3 -0
- package/dist/theme/components/MuiMenu.d.ts +3 -0
- package/dist/theme/components/MuiMenuItem.d.ts +3 -0
- package/dist/theme/components/MuiSelect.d.ts +3 -0
- package/dist/theme/components/MuiTab.d.ts +3 -0
- package/dist/theme/components/MuiTable.d.ts +3 -0
- package/dist/theme/components/MuiTableBody.d.ts +3 -0
- package/dist/theme/components/MuiTableHead.d.ts +3 -0
- package/dist/theme/components/MuiTabs.d.ts +3 -0
- package/dist/theme/components/MuiTextField.d.ts +3 -0
- package/dist/theme/components/MuiToolbar.d.ts +3 -0
- package/dist/theme/components/MuiTypography.d.ts +3 -0
- package/dist/theme/components/_components.d.ts +11 -0
- package/dist/theme/components/index.cjs.js +2 -0
- package/dist/theme/components/index.cjs.js.map +1 -0
- package/dist/theme/components/index.d.ts +3 -0
- package/dist/theme/components/index.es.js +6 -0
- package/dist/theme/components/index.es.js.map +1 -0
- package/dist/theme/index.cjs.js +2 -0
- package/dist/theme/index.cjs.js.map +1 -0
- package/dist/theme/index.d.ts +7 -0
- package/dist/theme/index.es.js +222 -0
- package/dist/theme/index.es.js.map +1 -0
- package/dist/theme/palette.d.ts +79 -0
- package/dist/theme/spacing.d.ts +1 -0
- package/dist/theme/typography.d.ts +4 -0
- package/dist/urls-DtHr1d3H.js +14 -0
- package/dist/urls-DtHr1d3H.js.map +1 -0
- package/dist/urls-MaVXL_C2.cjs +2 -0
- package/dist/urls-MaVXL_C2.cjs.map +1 -0
- package/dist/utils/api.cjs.js +2 -0
- package/dist/utils/api.cjs.js.map +1 -0
- package/dist/utils/api.d.ts +72 -0
- package/dist/utils/api.es.js +16 -0
- package/dist/utils/api.es.js.map +1 -0
- package/dist/utils/api.test.d.ts +1 -0
- package/dist/utils/auth.cjs.js +2 -0
- package/dist/utils/auth.cjs.js.map +1 -0
- package/dist/utils/auth.d.ts +28 -0
- package/dist/utils/auth.es.js +117 -0
- package/dist/utils/auth.es.js.map +1 -0
- package/dist/utils/form.cjs.js +2 -0
- package/dist/utils/form.cjs.js.map +1 -0
- package/dist/utils/form.d.ts +25 -0
- package/dist/utils/form.es.js +76 -0
- package/dist/utils/form.es.js.map +1 -0
- package/dist/utils/form.test.d.ts +1 -0
- package/dist/utils/general.cjs.js +2 -0
- package/dist/utils/general.cjs.js.map +1 -0
- package/dist/utils/general.d.ts +30 -0
- package/{src/utils/general.ts → dist/utils/general.es.js} +87 -165
- package/dist/utils/general.es.js.map +1 -0
- package/dist/utils/general.test.d.ts +1 -0
- package/dist/utils/router.cjs.js +2 -0
- package/dist/utils/router.cjs.js.map +1 -0
- package/dist/utils/router.d.ts +19 -0
- package/dist/utils/router.es.js +33 -0
- package/dist/utils/router.es.js.map +1 -0
- package/dist/utils/router.test.d.ts +1 -0
- package/dist/utils/schema.cjs.js +2 -0
- package/dist/utils/schema.cjs.js.map +1 -0
- package/dist/utils/schema.d.ts +43 -0
- package/dist/utils/schema.es.js +123 -0
- package/dist/utils/schema.es.js.map +1 -0
- package/dist/utils/store.cjs.js +2 -0
- package/dist/utils/store.cjs.js.map +1 -0
- package/dist/utils/store.d.ts +10 -0
- package/dist/utils/store.es.js +20 -0
- package/dist/utils/store.es.js.map +1 -0
- package/dist/utils/test.cjs.js +2 -0
- package/dist/utils/test.cjs.js.map +1 -0
- package/dist/utils/test.d.ts +53 -0
- package/dist/utils/test.es.js +60 -0
- package/dist/utils/test.es.js.map +1 -0
- package/dist/utils/theme.cjs.js +2 -0
- package/dist/utils/theme.cjs.js.map +1 -0
- package/dist/utils/theme.d.ts +11 -0
- package/dist/utils/theme.es.js +12 -0
- package/dist/utils/theme.es.js.map +1 -0
- package/dist/utils/window.cjs.js +2 -0
- package/dist/utils/window.cjs.js.map +1 -0
- package/dist/utils/window.d.ts +2 -0
- package/dist/utils/window.es.js +11 -0
- package/dist/utils/window.es.js.map +1 -0
- package/package.json +142 -37
- package/.github/workflows/main.yml +0 -55
- package/.prettierignore +0 -1
- package/CHANGELOG.md +0 -2027
- package/CONTRIBUTING.md +0 -3
- package/eslint.config.js +0 -17
- package/src/api/createApi.ts +0 -91
- package/src/api/endpoints/authFactor.ts +0 -31
- package/src/api/endpoints/index.ts +0 -9
- package/src/api/endpoints/klass.ts +0 -87
- package/src/api/endpoints/school.ts +0 -34
- package/src/api/endpoints/session.ts +0 -47
- package/src/api/endpoints/user.ts +0 -70
- package/src/api/index.ts +0 -5
- package/src/api/models.ts +0 -145
- package/src/api/schemas.ts +0 -243
- package/src/api/tagTypes.ts +0 -12
- package/src/api/urls.ts +0 -13
- package/src/components/App.css +0 -38
- package/src/components/App.tsx +0 -152
- package/src/components/ClickableTooltip.tsx +0 -43
- package/src/components/CopyIconButton.test.tsx +0 -16
- package/src/components/CopyIconButton.tsx +0 -27
- package/src/components/Countdown.tsx +0 -42
- package/src/components/DownloadFileButton.tsx +0 -55
- package/src/components/ElevatedAppBar.tsx +0 -41
- package/src/components/Image.tsx +0 -41
- package/src/components/InputFileButton.tsx +0 -27
- package/src/components/ItemizedList.tsx +0 -63
- package/src/components/OrderedGrid.tsx +0 -92
- package/src/components/ScrollIntoViewLink.tsx +0 -22
- package/src/components/SyncError.tsx +0 -14
- package/src/components/TablePagination.tsx +0 -142
- package/src/components/YouTubeVideo.tsx +0 -26
- package/src/components/form/ApiAutocompleteField.tsx +0 -187
- package/src/components/form/AutocompleteField.tsx +0 -135
- package/src/components/form/CheckboxField.tsx +0 -86
- package/src/components/form/CountryField.tsx +0 -75
- package/src/components/form/DatePickerField.tsx +0 -126
- package/src/components/form/EmailField.tsx +0 -38
- package/src/components/form/FirstNameField.tsx +0 -40
- package/src/components/form/Form.tsx +0 -165
- package/src/components/form/OtpField.tsx +0 -28
- package/src/components/form/PasswordField.tsx +0 -71
- package/src/components/form/RepeatField.tsx +0 -123
- package/src/components/form/SubmitButton.tsx +0 -57
- package/src/components/form/TextField.tsx +0 -150
- package/src/components/form/UkCountyField.tsx +0 -68
- package/src/components/form/index.tsx +0 -35
- package/src/components/index.ts +0 -28
- package/src/components/page/Banner.tsx +0 -95
- package/src/components/page/Notification.tsx +0 -71
- package/src/components/page/Page.tsx +0 -73
- package/src/components/page/Section.tsx +0 -21
- package/src/components/page/TabBar.tsx +0 -131
- package/src/components/page/index.ts +0 -10
- package/src/components/router/Link.tsx +0 -23
- package/src/components/router/LinkButton.tsx +0 -22
- package/src/components/router/LinkIconButton.tsx +0 -22
- package/src/components/router/LinkListItem.tsx +0 -22
- package/src/components/router/LinkTab.tsx +0 -22
- package/src/components/router/Navigate.tsx +0 -33
- package/src/components/router/index.tsx +0 -9
- package/src/components/table/CellStack.tsx +0 -19
- package/src/components/table/Table.tsx +0 -55
- package/src/components/table/index.tsx +0 -8
- package/src/features/InactiveDialog.tsx +0 -40
- package/src/features/ScreenTimeDialog.tsx +0 -30
- package/src/features/index.ts +0 -4
- package/src/fonts/ttf/Inter-VariableFont_slnt,wght.ttf +0 -0
- package/src/fonts/ttf/SpaceGrotesk-VariableFont_wght.ttf +0 -0
- package/src/hooks/api.tsx +0 -39
- package/src/hooks/auth.tsx +0 -397
- package/src/hooks/general.tsx +0 -110
- package/src/hooks/index.ts +0 -5
- package/src/hooks/router.tsx +0 -168
- package/src/images/svg/brain.svg +0 -1
- package/src/index.ts +0 -2
- package/src/middlewares/index.ts +0 -1
- package/src/middlewares/session.ts +0 -21
- package/src/scripts/freshDesk.js +0 -473
- package/src/scripts/index.ts +0 -1
- package/src/server.js +0 -187
- package/src/settings/custom.ts +0 -22
- package/src/settings/index.ts +0 -7
- package/src/settings/vite.ts +0 -26
- package/src/setupTests.ts +0 -2
- package/src/slices/createSlice.ts +0 -8
- package/src/slices/index.ts +0 -2
- package/src/slices/session.ts +0 -32
- package/src/theme/ThemedBox.tsx +0 -265
- package/src/theme/colors.ts +0 -57
- package/src/theme/components/MuiAccordion.tsx +0 -13
- package/src/theme/components/MuiAutocomplete.tsx +0 -11
- package/src/theme/components/MuiButton.ts +0 -70
- package/src/theme/components/MuiCardActions.tsx +0 -12
- package/src/theme/components/MuiCheckbox.ts +0 -12
- package/src/theme/components/MuiContainer.ts +0 -19
- package/src/theme/components/MuiDialog.tsx +0 -16
- package/src/theme/components/MuiFormControlLabel.ts +0 -18
- package/src/theme/components/MuiFormHelperText.ts +0 -12
- package/src/theme/components/MuiGrid2.ts +0 -16
- package/src/theme/components/MuiInputBase.ts +0 -14
- package/src/theme/components/MuiLink.ts +0 -41
- package/src/theme/components/MuiList.ts +0 -12
- package/src/theme/components/MuiListItemText.ts +0 -18
- package/src/theme/components/MuiMenu.ts +0 -14
- package/src/theme/components/MuiMenuItem.ts +0 -15
- package/src/theme/components/MuiSelect.ts +0 -16
- package/src/theme/components/MuiTab.ts +0 -29
- package/src/theme/components/MuiTable.ts +0 -29
- package/src/theme/components/MuiTableBody.ts +0 -15
- package/src/theme/components/MuiTableHead.ts +0 -26
- package/src/theme/components/MuiTabs.ts +0 -26
- package/src/theme/components/MuiTextField.ts +0 -86
- package/src/theme/components/MuiToolbar.ts +0 -11
- package/src/theme/components/MuiTypography.ts +0 -12
- package/src/theme/components/_components.ts +0 -95
- package/src/theme/components/index.ts +0 -57
- package/src/theme/index.ts +0 -25
- package/src/theme/palette.ts +0 -98
- package/src/theme/spacing.ts +0 -8
- package/src/theme/typography.ts +0 -101
- package/src/utils/api.test.ts +0 -19
- package/src/utils/api.tsx +0 -339
- package/src/utils/auth.ts +0 -78
- package/src/utils/form.test.ts +0 -50
- package/src/utils/form.ts +0 -193
- package/src/utils/general.test.ts +0 -55
- package/src/utils/router.test.ts +0 -156
- package/src/utils/router.ts +0 -67
- package/src/utils/schema.ts +0 -290
- package/src/utils/store.ts +0 -31
- package/src/utils/test.tsx +0 -82
- package/src/utils/theme.tsx +0 -83
- package/src/utils/window.ts +0 -11
- package/src/vite-env.d.ts +0 -1
- package/tsconfig.app.json +0 -4
- package/tsconfig.json +0 -7
- package/tsconfig.node.json +0 -4
- package/types/fixes.d.ts +0 -18
- package/vite.config.ts +0 -23
|
@@ -0,0 +1,572 @@
|
|
|
1
|
+
import { Divider as C, buttonClasses as b, typographyClasses as y, listItemTextClasses as k, tabClasses as f, tableCellClasses as g, inputClasses as a, formHelperTextClasses as O, formLabelClasses as $, filledInputClasses as M, svgIconClasses as S, outlinedInputClasses as B, inputBaseClasses as d } from "@mui/material";
|
|
2
|
+
import { j as m } from "./jsx-runtime-Dpn_P65e.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import { a as w, p as x } from "./palette-C_L0akN_.js";
|
|
5
|
+
const z = {
|
|
6
|
+
styleOverrides: {
|
|
7
|
+
root: {
|
|
8
|
+
borderRadius: "0px !important",
|
|
9
|
+
margin: "0px !important",
|
|
10
|
+
width: "100%"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}, W = {
|
|
14
|
+
styleOverrides: {
|
|
15
|
+
root: {
|
|
16
|
+
width: "100%"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
function lt({
|
|
21
|
+
elements: t,
|
|
22
|
+
dividerProps: o
|
|
23
|
+
}) {
|
|
24
|
+
return t.map((e, i) => /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
25
|
+
e,
|
|
26
|
+
i !== t.length - 1 ? /* @__PURE__ */ m.jsx(C, { ...o }) : void 0
|
|
27
|
+
] }));
|
|
28
|
+
}
|
|
29
|
+
function at(t, o, e = "root", i = et) {
|
|
30
|
+
if (i !== void 0) {
|
|
31
|
+
const s = i[o];
|
|
32
|
+
if (s !== void 0 && "styleOverrides" in s && typeof s.styleOverrides == "object" && e in s.styleOverrides) {
|
|
33
|
+
const l = s.styleOverrides[e];
|
|
34
|
+
switch (typeof l) {
|
|
35
|
+
case "function":
|
|
36
|
+
return l({ ownerState: t });
|
|
37
|
+
case "object":
|
|
38
|
+
return l;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return {};
|
|
43
|
+
}
|
|
44
|
+
function p(t) {
|
|
45
|
+
return t.className?.split(" ") ?? [];
|
|
46
|
+
}
|
|
47
|
+
function r(t, o) {
|
|
48
|
+
const e = Array.isArray(t) ? t : p(t);
|
|
49
|
+
return o.every((i) => e.includes(i));
|
|
50
|
+
}
|
|
51
|
+
function F(t, o) {
|
|
52
|
+
return (Array.isArray(t) ? t : p(t)).map((i) => i.match(o)).filter((i) => i !== null).map((i) => i);
|
|
53
|
+
}
|
|
54
|
+
const h = {
|
|
55
|
+
fontFamily: '"Inter"',
|
|
56
|
+
fontSize: "14px !important",
|
|
57
|
+
fontWeight: 600,
|
|
58
|
+
margin: 0,
|
|
59
|
+
marginBottom: "12px",
|
|
60
|
+
letterSpacing: 0
|
|
61
|
+
}, n = {
|
|
62
|
+
h1: {
|
|
63
|
+
color: "#383b3b",
|
|
64
|
+
fontFamily: '"SpaceGrotesk"',
|
|
65
|
+
fontWeight: 500,
|
|
66
|
+
fontSize: "60px",
|
|
67
|
+
// lineHeight: '60px',
|
|
68
|
+
marginBottom: "24px",
|
|
69
|
+
letterSpacing: 0
|
|
70
|
+
},
|
|
71
|
+
h2: {
|
|
72
|
+
color: "#383b3b",
|
|
73
|
+
fontFamily: '"SpaceGrotesk"',
|
|
74
|
+
fontWeight: 500,
|
|
75
|
+
fontSize: "55px",
|
|
76
|
+
// lineHeight: '55px',
|
|
77
|
+
marginBottom: "22px",
|
|
78
|
+
letterSpacing: 0
|
|
79
|
+
},
|
|
80
|
+
h3: {
|
|
81
|
+
color: "#383b3b",
|
|
82
|
+
fontFamily: '"SpaceGrotesk"',
|
|
83
|
+
fontWeight: 500,
|
|
84
|
+
fontSize: "45px",
|
|
85
|
+
// lineHeight: '47px',
|
|
86
|
+
marginBottom: "20px",
|
|
87
|
+
letterSpacing: 0
|
|
88
|
+
},
|
|
89
|
+
h4: {
|
|
90
|
+
color: "#383b3b",
|
|
91
|
+
fontFamily: '"SpaceGrotesk"',
|
|
92
|
+
fontWeight: 500,
|
|
93
|
+
fontSize: "30px",
|
|
94
|
+
// lineHeight: '38px',
|
|
95
|
+
marginBottom: "18px",
|
|
96
|
+
letterSpacing: 0
|
|
97
|
+
},
|
|
98
|
+
h5: {
|
|
99
|
+
color: "#383b3b",
|
|
100
|
+
fontFamily: '"SpaceGrotesk"',
|
|
101
|
+
fontWeight: 500,
|
|
102
|
+
fontSize: "25px",
|
|
103
|
+
// lineHeight: '32px',
|
|
104
|
+
marginBottom: "16px",
|
|
105
|
+
letterSpacing: 0
|
|
106
|
+
},
|
|
107
|
+
h6: {
|
|
108
|
+
color: "#383b3b",
|
|
109
|
+
fontFamily: '"SpaceGrotesk"',
|
|
110
|
+
fontWeight: 500,
|
|
111
|
+
fontSize: "21px",
|
|
112
|
+
// lineHeight: '26px',
|
|
113
|
+
marginBottom: "10px",
|
|
114
|
+
letterSpacing: 0
|
|
115
|
+
},
|
|
116
|
+
body1: {
|
|
117
|
+
color: "#383b3b",
|
|
118
|
+
fontFamily: '"Inter"',
|
|
119
|
+
fontWeight: 500,
|
|
120
|
+
fontSize: "1.07rem !important",
|
|
121
|
+
// lineHeight: '22px',
|
|
122
|
+
marginBottom: "16px",
|
|
123
|
+
letterSpacing: 0
|
|
124
|
+
},
|
|
125
|
+
body2: {
|
|
126
|
+
color: "#383b3b",
|
|
127
|
+
fontFamily: '"Inter"',
|
|
128
|
+
fontWeight: 500,
|
|
129
|
+
fontSize: "0.92rem !important",
|
|
130
|
+
// lineHeight: '20px',
|
|
131
|
+
marginBottom: "14px",
|
|
132
|
+
letterSpacing: 0
|
|
133
|
+
},
|
|
134
|
+
button: {
|
|
135
|
+
fontFamily: '"Inter"',
|
|
136
|
+
fontSize: "15px",
|
|
137
|
+
fontWeight: 600,
|
|
138
|
+
letterSpacing: 0
|
|
139
|
+
}
|
|
140
|
+
}, I = {
|
|
141
|
+
defaultProps: {
|
|
142
|
+
variant: "contained",
|
|
143
|
+
size: "medium"
|
|
144
|
+
},
|
|
145
|
+
styleOverrides: {
|
|
146
|
+
root: ({ ownerState: t }) => ({
|
|
147
|
+
color: "black",
|
|
148
|
+
textTransform: "none",
|
|
149
|
+
textAlign: "center",
|
|
150
|
+
borderRadius: "0px",
|
|
151
|
+
padding: "11px 12px",
|
|
152
|
+
height: "42px",
|
|
153
|
+
whiteSpace: "nowrap",
|
|
154
|
+
width: "fit-content",
|
|
155
|
+
minWidth: "150px",
|
|
156
|
+
boxShadow: "none",
|
|
157
|
+
...t.size === "small" && {
|
|
158
|
+
height: "27px",
|
|
159
|
+
padding: "4.5px 9px",
|
|
160
|
+
letterSpacing: "0"
|
|
161
|
+
},
|
|
162
|
+
...r(t, ["body"]) && {
|
|
163
|
+
marginBottom: n.body1?.marginBottom
|
|
164
|
+
}
|
|
165
|
+
}),
|
|
166
|
+
contained: ({ ownerState: t }) => ({
|
|
167
|
+
backgroundColor: "#ffd23b",
|
|
168
|
+
"&:hover": {
|
|
169
|
+
backgroundColor: "#ffc709",
|
|
170
|
+
boxShadow: [
|
|
171
|
+
"0px 6px 10px 0px rgba(0, 0, 0, 0.14)",
|
|
172
|
+
"0px 1px 18px 0px rgba(0, 0, 0, 0.12)",
|
|
173
|
+
"0px 3px 5px 0px rgba(0, 0, 0, 0.2);"
|
|
174
|
+
].join()
|
|
175
|
+
},
|
|
176
|
+
[`&.${b.disabled}`]: {
|
|
177
|
+
backgroundColor: "#ffe382",
|
|
178
|
+
color: "#7A5F01"
|
|
179
|
+
},
|
|
180
|
+
...r(t, ["alert"]) && {
|
|
181
|
+
color: "white",
|
|
182
|
+
backgroundColor: "#ff0000",
|
|
183
|
+
"&:hover": {
|
|
184
|
+
backgroundColor: "#df0531"
|
|
185
|
+
},
|
|
186
|
+
[`&.${b.disabled}`]: {
|
|
187
|
+
backgroundColor: "#E76A6A",
|
|
188
|
+
color: "white"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}),
|
|
192
|
+
outlined: {
|
|
193
|
+
border: "2px solid #eab502",
|
|
194
|
+
"&:hover": {
|
|
195
|
+
border: "2px solid #eab502",
|
|
196
|
+
backgroundColor: "transparent",
|
|
197
|
+
textDecoration: "underline"
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
function c(t, o = !1) {
|
|
203
|
+
let e = `${8 * t}px`;
|
|
204
|
+
return o && (e += " !important"), e;
|
|
205
|
+
}
|
|
206
|
+
const T = {
|
|
207
|
+
styleOverrides: {
|
|
208
|
+
root: {
|
|
209
|
+
padding: c(2)
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}, j = {
|
|
213
|
+
styleOverrides: {
|
|
214
|
+
root: {
|
|
215
|
+
paddingLeft: "0px",
|
|
216
|
+
marginLeft: "-2px"
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
};
|
|
220
|
+
function v(t) {
|
|
221
|
+
const o = {}, e = p(t);
|
|
222
|
+
return e.some((i) => i.startsWith("flex-")) && (o.display = "flex", r(e, ["flex-center"]) ? (o.justifyContent = "center", o.alignItems = "center") : r(e, ["flex-center-x"]) ? (o.justifyContent = "center", o.alignItems = "start") : r(e, ["flex-center-y"]) ? (o.justifyContent = "start", o.alignItems = "center") : r(e, ["flex-end"]) ? (o.justifyContent = "end", o.alignItems = "end") : r(e, ["flex-end-x"]) ? (o.justifyContent = "end", o.alignItems = "start") : r(e, ["flex-end-y"]) && (o.justifyContent = "start", o.alignItems = "end")), o;
|
|
223
|
+
}
|
|
224
|
+
function A(t) {
|
|
225
|
+
let o = {};
|
|
226
|
+
const e = p(t);
|
|
227
|
+
return r(e, ["nowrap-ellipsis"]) && (o.whiteSpace = "nowrap", o.overflow = "hidden", o.textOverflow = "ellipsis"), ["h1", "h2", "h3", "h4", "h5", "h6", "body1", "body2"].filter((i) => i in n).forEach((i) => {
|
|
228
|
+
const s = n[i];
|
|
229
|
+
r(e, [i]) && (o = { ...o, ...s }), F(e, new RegExp(`^${i}-(\\w+)$`)).forEach(
|
|
230
|
+
(l) => {
|
|
231
|
+
const u = l[1];
|
|
232
|
+
u in s && (o[u] = s[u]);
|
|
233
|
+
}
|
|
234
|
+
);
|
|
235
|
+
}), o;
|
|
236
|
+
}
|
|
237
|
+
const D = {
|
|
238
|
+
defaultProps: {
|
|
239
|
+
maxWidth: "lg"
|
|
240
|
+
},
|
|
241
|
+
styleOverrides: {
|
|
242
|
+
root: ({ ownerState: t }) => ({
|
|
243
|
+
...v(t),
|
|
244
|
+
paddingLeft: c(2, !0),
|
|
245
|
+
paddingRight: c(2, !0),
|
|
246
|
+
padding: c(7)
|
|
247
|
+
})
|
|
248
|
+
}
|
|
249
|
+
}, E = {
|
|
250
|
+
defaultProps: {
|
|
251
|
+
maxWidth: "sm"
|
|
252
|
+
},
|
|
253
|
+
styleOverrides: {
|
|
254
|
+
paper: {
|
|
255
|
+
borderRadius: "0px !important",
|
|
256
|
+
padding: "24px",
|
|
257
|
+
alignItems: "center"
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}, R = {
|
|
261
|
+
styleOverrides: {
|
|
262
|
+
root: {
|
|
263
|
+
[`.${y.root}`]: {
|
|
264
|
+
...h,
|
|
265
|
+
marginBottom: 0
|
|
266
|
+
},
|
|
267
|
+
margin: 0
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}, L = {
|
|
271
|
+
styleOverrides: {
|
|
272
|
+
root: {
|
|
273
|
+
...h
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}, P = {
|
|
277
|
+
defaultProps: {
|
|
278
|
+
disableEqualOverflow: !0
|
|
279
|
+
// padding: 0 // TODO: normalize padding.
|
|
280
|
+
},
|
|
281
|
+
styleOverrides: {
|
|
282
|
+
root: ({ ownerState: t }) => ({
|
|
283
|
+
...v(t)
|
|
284
|
+
})
|
|
285
|
+
}
|
|
286
|
+
}, G = {
|
|
287
|
+
styleOverrides: {
|
|
288
|
+
root: {
|
|
289
|
+
backgroundColor: "white",
|
|
290
|
+
marginBottom: 0,
|
|
291
|
+
color: n.body1?.color
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}, H = {
|
|
295
|
+
defaultProps: {
|
|
296
|
+
underline: "none",
|
|
297
|
+
// BUG: if not set, MUI fails to run.
|
|
298
|
+
color: "inherit"
|
|
299
|
+
},
|
|
300
|
+
styleOverrides: {
|
|
301
|
+
root: ({ ownerState: t }) => ({
|
|
302
|
+
cursor: "pointer",
|
|
303
|
+
...r(t, ["no-decor"]) ? {
|
|
304
|
+
":hover": {
|
|
305
|
+
textDecoration: "underline"
|
|
306
|
+
}
|
|
307
|
+
} : {
|
|
308
|
+
textDecoration: "underline",
|
|
309
|
+
":hover": {
|
|
310
|
+
fontWeight: "bold"
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
...r(t, ["back-to"]) && {
|
|
314
|
+
textDecoration: "none",
|
|
315
|
+
display: "inline-block",
|
|
316
|
+
marginBottom: n.body1?.marginBottom,
|
|
317
|
+
":hover": {
|
|
318
|
+
fontWeight: "bold",
|
|
319
|
+
textDecoration: "underline"
|
|
320
|
+
},
|
|
321
|
+
":before": {
|
|
322
|
+
content: '"< Back to "'
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
})
|
|
326
|
+
}
|
|
327
|
+
}, N = {
|
|
328
|
+
styleOverrides: {
|
|
329
|
+
root: {
|
|
330
|
+
paddingTop: 0,
|
|
331
|
+
paddingBottom: 0
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}, q = {
|
|
335
|
+
styleOverrides: {
|
|
336
|
+
root: ({ ownerState: t }) => ({
|
|
337
|
+
...r(t, ["last"]) && {
|
|
338
|
+
[`.${k.primary}`]: {
|
|
339
|
+
marginBottom: 0
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
})
|
|
343
|
+
}
|
|
344
|
+
}, X = {
|
|
345
|
+
styleOverrides: {
|
|
346
|
+
paper: {
|
|
347
|
+
borderRadius: 0
|
|
348
|
+
},
|
|
349
|
+
list: {
|
|
350
|
+
padding: 0
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
}, J = {
|
|
354
|
+
styleOverrides: {
|
|
355
|
+
root: ({ ownerState: t }) => ({
|
|
356
|
+
...r(t, ["header"]) && {
|
|
357
|
+
pointerEvents: "none",
|
|
358
|
+
fontWeight: "bold"
|
|
359
|
+
}
|
|
360
|
+
})
|
|
361
|
+
}
|
|
362
|
+
}, K = {
|
|
363
|
+
defaultProps: {
|
|
364
|
+
color: "black"
|
|
365
|
+
},
|
|
366
|
+
styleOverrides: {
|
|
367
|
+
root: {
|
|
368
|
+
borderRadius: "0px"
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
}, Q = {
|
|
372
|
+
styleOverrides: {
|
|
373
|
+
root: {
|
|
374
|
+
textTransform: "none",
|
|
375
|
+
fontSize: "16px",
|
|
376
|
+
fontWeight: 600,
|
|
377
|
+
minWidth: "150px",
|
|
378
|
+
border: "2px solid white",
|
|
379
|
+
[`&.${f.selected}`]: {
|
|
380
|
+
color: w[300],
|
|
381
|
+
backgroundColor: "white",
|
|
382
|
+
cursor: "default"
|
|
383
|
+
},
|
|
384
|
+
[`:not(.${f.selected})`]: {
|
|
385
|
+
color: "white",
|
|
386
|
+
":hover": {
|
|
387
|
+
textDecoration: "underline"
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}, U = {
|
|
393
|
+
styleOverrides: {
|
|
394
|
+
root: ({ ownerState: t }) => ({
|
|
395
|
+
borderStyle: "hidden",
|
|
396
|
+
overflowX: "auto",
|
|
397
|
+
[`.${g.root}`]: {
|
|
398
|
+
border: "2px solid white"
|
|
399
|
+
},
|
|
400
|
+
...r(t, ["text"]) && {
|
|
401
|
+
borderStyle: "unset",
|
|
402
|
+
display: "block",
|
|
403
|
+
[`.${g.root}`]: {
|
|
404
|
+
border: "1px solid #DDD"
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
...r(t, ["body"]) && {
|
|
408
|
+
marginBottom: n.body1?.marginBottom
|
|
409
|
+
}
|
|
410
|
+
})
|
|
411
|
+
}
|
|
412
|
+
}, V = {
|
|
413
|
+
styleOverrides: {
|
|
414
|
+
root: ({ ownerState: t }) => ({
|
|
415
|
+
backgroundColor: "#F1ECEC",
|
|
416
|
+
...r(t, ["text"]) && {
|
|
417
|
+
backgroundColor: "white"
|
|
418
|
+
}
|
|
419
|
+
})
|
|
420
|
+
}
|
|
421
|
+
}, Y = {
|
|
422
|
+
styleOverrides: {
|
|
423
|
+
root: ({ ownerState: t }) => ({
|
|
424
|
+
backgroundColor: "#6E7171",
|
|
425
|
+
...r(t, ["light"]) && {
|
|
426
|
+
backgroundColor: "#9A9C9E"
|
|
427
|
+
},
|
|
428
|
+
[`.${y.root}`]: {
|
|
429
|
+
color: "white",
|
|
430
|
+
fontWeight: 600,
|
|
431
|
+
marginBottom: 0
|
|
432
|
+
},
|
|
433
|
+
[`.${g.head}`]: {
|
|
434
|
+
color: "white",
|
|
435
|
+
fontWeight: 600
|
|
436
|
+
}
|
|
437
|
+
})
|
|
438
|
+
}
|
|
439
|
+
}, Z = {
|
|
440
|
+
defaultProps: {
|
|
441
|
+
variant: "scrollable",
|
|
442
|
+
scrollButtons: !0,
|
|
443
|
+
allowScrollButtonsMobile: !0
|
|
444
|
+
},
|
|
445
|
+
styleOverrides: {
|
|
446
|
+
root: ({ ownerState: t }) => ({
|
|
447
|
+
...t !== void 0 && // NOTE: this is a bug with MUI
|
|
448
|
+
[void 0, "horizontal"].includes(t.orientation) && {
|
|
449
|
+
[`.${f.root}:not(:last-of-type)`]: {
|
|
450
|
+
marginRight: "30px"
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
}),
|
|
454
|
+
indicator: {
|
|
455
|
+
display: "none"
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
}, _ = {
|
|
459
|
+
defaultProps: {
|
|
460
|
+
size: "small",
|
|
461
|
+
variant: "filled"
|
|
462
|
+
},
|
|
463
|
+
styleOverrides: {
|
|
464
|
+
root: ({ ownerState: t }) => ({
|
|
465
|
+
width: "100%",
|
|
466
|
+
backgroundColor: "transparent",
|
|
467
|
+
[`& > .${d.root}`]: {
|
|
468
|
+
...t.disabled ? {
|
|
469
|
+
[`.${d.disabled}`]: {
|
|
470
|
+
color: `${n.body1.color} !important`,
|
|
471
|
+
"-webkit-text-fill-color": "unset"
|
|
472
|
+
},
|
|
473
|
+
border: "0px !important",
|
|
474
|
+
borderRadius: "0px !important",
|
|
475
|
+
// @ts-expect-error value is assignable
|
|
476
|
+
backgroundColor: `${x.info.main} !important`
|
|
477
|
+
} : {
|
|
478
|
+
border: "1px solid black !important",
|
|
479
|
+
borderRadius: "0px !important",
|
|
480
|
+
backgroundColor: "white !important"
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
[`& > .${d.root}.${d.error}`]: {
|
|
484
|
+
// @ts-expect-error value is assignable
|
|
485
|
+
border: `1px solid ${x.error.main} !important`
|
|
486
|
+
},
|
|
487
|
+
[`& .${B.root}.${a.focused} > fieldset`]: {
|
|
488
|
+
borderColor: "black !important"
|
|
489
|
+
},
|
|
490
|
+
[`.${S.root}`]: {
|
|
491
|
+
color: `${n.body1.color} !important`
|
|
492
|
+
},
|
|
493
|
+
[`.${M.root}::after`]: {
|
|
494
|
+
borderColor: `${n.body1.color} !important`
|
|
495
|
+
},
|
|
496
|
+
[`.${$.root}`]: {
|
|
497
|
+
color: `${n.body1.color} !important`
|
|
498
|
+
},
|
|
499
|
+
[`.${O.root}`]: {
|
|
500
|
+
fontSize: "12px !important"
|
|
501
|
+
},
|
|
502
|
+
...t.multiline === !0 && {
|
|
503
|
+
...(r(t, ["resize"]) || r(t, ["resize-both"])) && {
|
|
504
|
+
width: "auto",
|
|
505
|
+
[`.${a.inputMultiline}`]: {
|
|
506
|
+
resize: "both"
|
|
507
|
+
}
|
|
508
|
+
},
|
|
509
|
+
...r(t, ["resize-horizontal"]) && {
|
|
510
|
+
width: "auto",
|
|
511
|
+
[`.${a.inputMultiline}`]: {
|
|
512
|
+
resize: "horizontal"
|
|
513
|
+
}
|
|
514
|
+
},
|
|
515
|
+
...r(t, ["resize-vertical"]) && {
|
|
516
|
+
[`.${a.inputMultiline}`]: {
|
|
517
|
+
resize: "vertical"
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
})
|
|
522
|
+
}
|
|
523
|
+
}, tt = {
|
|
524
|
+
styleOverrides: {
|
|
525
|
+
root: {
|
|
526
|
+
padding: "15px 0px !important"
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
}, ot = {
|
|
530
|
+
styleOverrides: {
|
|
531
|
+
root: ({ ownerState: t }) => ({
|
|
532
|
+
...A(t)
|
|
533
|
+
})
|
|
534
|
+
}
|
|
535
|
+
}, et = {
|
|
536
|
+
MuiAccordion: z,
|
|
537
|
+
MuiAutocomplete: W,
|
|
538
|
+
MuiButton: I,
|
|
539
|
+
MuiCardActions: T,
|
|
540
|
+
MuiCheckbox: j,
|
|
541
|
+
MuiContainer: D,
|
|
542
|
+
MuiDialog: E,
|
|
543
|
+
MuiFormControlLabel: R,
|
|
544
|
+
MuiFormHelperText: L,
|
|
545
|
+
MuiGrid2: P,
|
|
546
|
+
MuiInputBase: G,
|
|
547
|
+
MuiLink: H,
|
|
548
|
+
MuiList: N,
|
|
549
|
+
MuiListItemText: q,
|
|
550
|
+
MuiMenu: X,
|
|
551
|
+
MuiMenuItem: J,
|
|
552
|
+
MuiSelect: K,
|
|
553
|
+
MuiTab: Q,
|
|
554
|
+
MuiTable: U,
|
|
555
|
+
MuiTableBody: V,
|
|
556
|
+
MuiTableHead: Y,
|
|
557
|
+
MuiTabs: Z,
|
|
558
|
+
MuiTextField: _,
|
|
559
|
+
MuiToolbar: tt,
|
|
560
|
+
MuiTypography: ot
|
|
561
|
+
};
|
|
562
|
+
export {
|
|
563
|
+
lt as a,
|
|
564
|
+
p as b,
|
|
565
|
+
et as c,
|
|
566
|
+
at as g,
|
|
567
|
+
r as i,
|
|
568
|
+
F as m,
|
|
569
|
+
c as s,
|
|
570
|
+
n as t
|
|
571
|
+
};
|
|
572
|
+
//# sourceMappingURL=index-CNtOlJ49.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-CNtOlJ49.js","sources":["../src/theme/components/MuiAccordion.tsx","../src/theme/components/MuiAutocomplete.tsx","../src/utils/theme.tsx","../src/theme/typography.ts","../src/theme/components/MuiButton.ts","../src/theme/spacing.ts","../src/theme/components/MuiCardActions.tsx","../src/theme/components/MuiCheckbox.ts","../src/theme/components/_components.ts","../src/theme/components/MuiContainer.ts","../src/theme/components/MuiDialog.tsx","../src/theme/components/MuiFormControlLabel.ts","../src/theme/components/MuiFormHelperText.ts","../src/theme/components/MuiGrid2.ts","../src/theme/components/MuiInputBase.ts","../src/theme/components/MuiLink.ts","../src/theme/components/MuiList.ts","../src/theme/components/MuiListItemText.ts","../src/theme/components/MuiMenu.ts","../src/theme/components/MuiMenuItem.ts","../src/theme/components/MuiSelect.ts","../src/theme/components/MuiTab.ts","../src/theme/components/MuiTable.ts","../src/theme/components/MuiTableBody.ts","../src/theme/components/MuiTableHead.ts","../src/theme/components/MuiTabs.ts","../src/theme/components/MuiTextField.ts","../src/theme/components/MuiToolbar.ts","../src/theme/components/MuiTypography.ts","../src/theme/components/index.ts"],"sourcesContent":["import type Components from \"./_components\"\n\nconst MuiAccordion: Components[\"MuiAccordion\"] = {\n styleOverrides: {\n root: {\n borderRadius: \"0px !important\",\n margin: \"0px !important\",\n width: \"100%\",\n },\n },\n}\n\nexport default MuiAccordion\n","import type Components from \"./_components\"\n\nconst MuiAutocomplete: Components[\"MuiAutocomplete\"] = {\n styleOverrides: {\n root: {\n width: \"100%\",\n },\n },\n}\n\nexport default MuiAutocomplete\n","import { Divider, type DividerProps, type ThemeOptions } from \"@mui/material\"\nimport type { CommonProps } from \"@mui/material/OverridableComponent\"\nimport { type ReactElement } from \"react\"\n\nimport _components from \"../theme/components\"\n\nexport function insertDividerBetweenElements({\n elements,\n dividerProps,\n}: {\n elements: ReactElement[]\n dividerProps?: DividerProps\n}): ReactElement[] {\n return elements.map((element, index) => (\n <>\n {element}\n {index !== elements.length - 1 ? (\n <Divider {...dividerProps} />\n ) : undefined}\n </>\n ))\n}\n\nexport function getStyleOverrides(\n ownerState: CommonProps,\n componentKey: keyof NonNullable<ThemeOptions[\"components\"]>,\n muiClassName: string = \"root\",\n components: ThemeOptions[\"components\"] = _components,\n): object {\n if (components !== undefined) {\n const component = components[componentKey]\n\n if (\n component !== undefined &&\n \"styleOverrides\" in component &&\n typeof component.styleOverrides === \"object\" &&\n muiClassName in component.styleOverrides\n ) {\n const muiClass = (component.styleOverrides as Record<string, any>)[\n muiClassName\n ] as object\n\n switch (typeof muiClass) {\n case \"function\":\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n return muiClass({ ownerState }) as object\n case \"object\":\n return muiClass\n }\n }\n }\n\n return {}\n}\n\nexport function getClassNames(props: CommonProps): string[] {\n return props.className?.split(\" \") ?? []\n}\n\nexport function includesClassNames(\n propsOrClassNames: CommonProps | string[],\n includes: string[],\n): boolean {\n const classNames = Array.isArray(propsOrClassNames)\n ? propsOrClassNames\n : getClassNames(propsOrClassNames)\n\n return includes.every(className => classNames.includes(className))\n}\n\nexport function matchClassNames(\n propsOrClassNames: CommonProps | string[],\n pattern: string | RegExp,\n): RegExpMatchArray[] {\n const classNames = Array.isArray(propsOrClassNames)\n ? propsOrClassNames\n : getClassNames(propsOrClassNames)\n\n return classNames\n .map(className => className.match(pattern))\n .filter(match => match !== null)\n .map(match => match)\n}\n","import {\n type CSSProperties,\n type TypographyOptions,\n} from \"@mui/material/styles/createTypography\"\n\n// Pseudo typography variant for all form text.\nexport const form: CSSProperties = {\n fontFamily: '\"Inter\"',\n fontSize: \"14px !important\",\n fontWeight: 600,\n margin: 0,\n marginBottom: \"12px\",\n letterSpacing: 0,\n}\n\n// TODO: assess if line-height is needed.\n// Doesn't play well with responsiveFontSizes.\n// https://mui.com/material-ui/customization/theming/#responsivefontsizes-theme-options-theme\n\nconst typography: TypographyOptions = {\n h1: {\n color: \"#383b3b\",\n fontFamily: '\"SpaceGrotesk\"',\n fontWeight: 500,\n fontSize: \"60px\",\n // lineHeight: '60px',\n marginBottom: \"24px\",\n letterSpacing: 0,\n },\n h2: {\n color: \"#383b3b\",\n fontFamily: '\"SpaceGrotesk\"',\n fontWeight: 500,\n fontSize: \"55px\",\n // lineHeight: '55px',\n marginBottom: \"22px\",\n letterSpacing: 0,\n },\n h3: {\n color: \"#383b3b\",\n fontFamily: '\"SpaceGrotesk\"',\n fontWeight: 500,\n fontSize: \"45px\",\n // lineHeight: '47px',\n marginBottom: \"20px\",\n letterSpacing: 0,\n },\n h4: {\n color: \"#383b3b\",\n fontFamily: '\"SpaceGrotesk\"',\n fontWeight: 500,\n fontSize: \"30px\",\n // lineHeight: '38px',\n marginBottom: \"18px\",\n letterSpacing: 0,\n },\n h5: {\n color: \"#383b3b\",\n fontFamily: '\"SpaceGrotesk\"',\n fontWeight: 500,\n fontSize: \"25px\",\n // lineHeight: '32px',\n marginBottom: \"16px\",\n letterSpacing: 0,\n },\n h6: {\n color: \"#383b3b\",\n fontFamily: '\"SpaceGrotesk\"',\n fontWeight: 500,\n fontSize: \"21px\",\n // lineHeight: '26px',\n marginBottom: \"10px\",\n letterSpacing: 0,\n },\n body1: {\n color: \"#383b3b\",\n fontFamily: '\"Inter\"',\n fontWeight: 500,\n fontSize: \"1.07rem !important\",\n // lineHeight: '22px',\n marginBottom: \"16px\",\n letterSpacing: 0,\n },\n body2: {\n color: \"#383b3b\",\n fontFamily: '\"Inter\"',\n fontWeight: 500,\n fontSize: \"0.92rem !important\",\n // lineHeight: '20px',\n marginBottom: \"14px\",\n letterSpacing: 0,\n },\n button: {\n fontFamily: '\"Inter\"',\n fontSize: \"15px\",\n fontWeight: 600,\n letterSpacing: 0,\n },\n}\n\nexport default typography\n","import { buttonClasses } from \"@mui/material\"\n\nimport type Components from \"./_components\"\nimport { includesClassNames } from \"../../utils/theme\"\nimport typography from \"../typography\"\n\nconst MuiButton: Components[\"MuiButton\"] = {\n defaultProps: {\n variant: \"contained\",\n size: \"medium\",\n },\n styleOverrides: {\n root: ({ ownerState }) => ({\n color: \"black\",\n textTransform: \"none\",\n textAlign: \"center\",\n borderRadius: \"0px\",\n padding: \"11px 12px\",\n height: \"42px\",\n whiteSpace: \"nowrap\",\n width: \"fit-content\",\n minWidth: \"150px\",\n boxShadow: \"none\",\n ...(ownerState.size === \"small\" && {\n height: \"27px\",\n padding: \"4.5px 9px\",\n letterSpacing: \"0\",\n }),\n ...(includesClassNames(ownerState, [\"body\"]) && {\n marginBottom: typography.body1?.marginBottom,\n }),\n }),\n contained: ({ ownerState }) => ({\n backgroundColor: \"#ffd23b\",\n \"&:hover\": {\n backgroundColor: \"#ffc709\",\n boxShadow: [\n \"0px 6px 10px 0px rgba(0, 0, 0, 0.14)\",\n \"0px 1px 18px 0px rgba(0, 0, 0, 0.12)\",\n \"0px 3px 5px 0px rgba(0, 0, 0, 0.2);\",\n ].join(),\n },\n [`&.${buttonClasses.disabled}`]: {\n backgroundColor: \"#ffe382\",\n color: \"#7A5F01\",\n },\n ...(includesClassNames(ownerState, [\"alert\"]) && {\n color: \"white\",\n backgroundColor: \"#ff0000\",\n \"&:hover\": {\n backgroundColor: \"#df0531\",\n },\n [`&.${buttonClasses.disabled}`]: {\n backgroundColor: \"#E76A6A\",\n color: \"white\",\n },\n }),\n }),\n outlined: {\n border: \"2px solid #eab502\",\n \"&:hover\": {\n border: \"2px solid #eab502\",\n backgroundColor: \"transparent\",\n textDecoration: \"underline\",\n },\n },\n },\n}\n\nexport default MuiButton\n","export default function spacing(\n factor: number,\n important: boolean = false,\n): string {\n let spacing = `${8 * factor}px`\n if (important) spacing += \" !important\"\n return spacing\n}\n","import type Components from \"./_components\"\nimport spacing from \"../spacing\"\n\nconst MuiCardActions: Components[\"MuiCardActions\"] = {\n styleOverrides: {\n root: {\n padding: spacing(2),\n },\n },\n}\n\nexport default MuiCardActions\n","import type Components from \"./_components\"\n\nconst MuiCheckbox: Components[\"MuiCheckbox\"] = {\n styleOverrides: {\n root: {\n paddingLeft: \"0px\",\n marginLeft: \"-2px\",\n },\n },\n}\n\nexport default MuiCheckbox\n","import {\n type CSSObject,\n type ComponentsOverrides,\n type ComponentsPropsList,\n type Theme,\n type ThemeOptions,\n} from \"@mui/material\"\nimport type { CommonProps } from \"@mui/material/OverridableComponent\"\nimport type { OverridesStyleRules } from \"@mui/material/styles/overrides\"\nimport { type TypographyOptions } from \"@mui/material/styles/createTypography\"\n\nimport {\n getClassNames,\n includesClassNames,\n matchClassNames,\n} from \"../../utils/theme\"\nimport typography from \"../typography\"\n\nexport default interface Components\n extends NonNullable<ThemeOptions[\"components\"]> {}\n\nexport type StyleOverridesWithRoot<\n Component extends keyof ComponentsOverrides<Theme>,\n> = ComponentsOverrides<Theme>[Component] & {\n root: OverridesStyleRules<\"root\", Component, Theme>[\"root\"]\n}\n\nexport type OwnerState<ComponentName extends keyof ComponentsPropsList> =\n ComponentsPropsList[ComponentName] & Record<string, unknown>\n\nexport function getFlexStyleOverrides(props: CommonProps): CSSObject {\n const styleOverrides: CSSObject = {}\n\n const classNames = getClassNames(props)\n\n if (classNames.some(className => className.startsWith(\"flex-\"))) {\n styleOverrides.display = \"flex\"\n if (includesClassNames(classNames, [\"flex-center\"])) {\n styleOverrides.justifyContent = \"center\"\n styleOverrides.alignItems = \"center\"\n } else if (includesClassNames(classNames, [\"flex-center-x\"])) {\n styleOverrides.justifyContent = \"center\"\n styleOverrides.alignItems = \"start\"\n } else if (includesClassNames(classNames, [\"flex-center-y\"])) {\n styleOverrides.justifyContent = \"start\"\n styleOverrides.alignItems = \"center\"\n } else if (includesClassNames(classNames, [\"flex-end\"])) {\n styleOverrides.justifyContent = \"end\"\n styleOverrides.alignItems = \"end\"\n } else if (includesClassNames(classNames, [\"flex-end-x\"])) {\n styleOverrides.justifyContent = \"end\"\n styleOverrides.alignItems = \"start\"\n } else if (includesClassNames(classNames, [\"flex-end-y\"])) {\n styleOverrides.justifyContent = \"start\"\n styleOverrides.alignItems = \"end\"\n }\n }\n\n return styleOverrides\n}\n\nexport function getFontStyleOverrides(props: CommonProps): CSSObject {\n let styleOverrides: CSSObject = {}\n\n const classNames = getClassNames(props)\n\n if (includesClassNames(classNames, [\"nowrap-ellipsis\"])) {\n styleOverrides.whiteSpace = \"nowrap\"\n styleOverrides.overflow = \"hidden\"\n styleOverrides.textOverflow = \"ellipsis\"\n }\n\n ;[\"h1\", \"h2\", \"h3\", \"h4\", \"h5\", \"h6\", \"body1\", \"body2\"]\n .filter(className => className in typography)\n .forEach(className => {\n const typographyClass = typography[\n className as keyof TypographyOptions\n ] as CSSObject\n\n if (includesClassNames(classNames, [className])) {\n styleOverrides = { ...styleOverrides, ...typographyClass }\n }\n\n matchClassNames(classNames, new RegExp(`^${className}-(\\\\w+)$`)).forEach(\n match => {\n const prop = match[1]\n if (prop in typographyClass) {\n styleOverrides[prop] = typographyClass[prop]\n }\n },\n )\n })\n\n return styleOverrides\n}\n","import type Components from \"./_components\"\nimport { getFlexStyleOverrides } from \"./_components\"\nimport spacing from \"../spacing\"\n\nconst MuiContainer: Components[\"MuiContainer\"] = {\n defaultProps: {\n maxWidth: \"lg\",\n },\n styleOverrides: {\n root: ({ ownerState }) => ({\n ...getFlexStyleOverrides(ownerState),\n paddingLeft: spacing(2, true),\n paddingRight: spacing(2, true),\n padding: spacing(7),\n }),\n },\n}\n\nexport default MuiContainer\n","import type Components from \"./_components\"\n\nconst MuiDialog: Components[\"MuiDialog\"] = {\n defaultProps: {\n maxWidth: \"sm\",\n },\n styleOverrides: {\n paper: {\n borderRadius: \"0px !important\",\n padding: \"24px\",\n alignItems: \"center\",\n },\n },\n}\n\nexport default MuiDialog\n","import { typographyClasses } from \"@mui/material\"\n\nimport type Components from \"./_components\"\nimport { form } from \"../typography\"\n\nconst MuiFormControlLabel: Components[\"MuiFormControlLabel\"] = {\n styleOverrides: {\n root: {\n [`.${typographyClasses.root}`]: {\n ...form,\n marginBottom: 0,\n },\n margin: 0,\n },\n },\n}\n\nexport default MuiFormControlLabel\n","import type Components from \"./_components\"\nimport { form } from \"../typography\"\n\nconst MuiFormHelperText: Components[\"MuiFormHelperText\"] = {\n styleOverrides: {\n root: {\n ...form,\n },\n },\n}\n\nexport default MuiFormHelperText\n","import type Components from \"./_components\"\nimport { getFlexStyleOverrides } from \"./_components\"\n\nconst MuiGrid2: Components[\"MuiGrid2\"] = {\n defaultProps: {\n disableEqualOverflow: true,\n // padding: 0 // TODO: normalize padding.\n },\n styleOverrides: {\n root: ({ ownerState }) => ({\n ...getFlexStyleOverrides(ownerState),\n }),\n },\n}\n\nexport default MuiGrid2\n","import type Components from \"./_components\"\nimport typography from \"../typography\"\n\nconst MuiInputBase: Components[\"MuiInputBase\"] = {\n styleOverrides: {\n root: {\n backgroundColor: \"white\",\n marginBottom: 0,\n color: typography.body1?.color,\n },\n },\n}\n\nexport default MuiInputBase\n","import type Components from \"./_components\"\nimport { includesClassNames } from \"../../utils/theme\"\nimport typography from \"../typography\"\n\nconst MuiLink: Components[\"MuiLink\"] = {\n defaultProps: {\n underline: \"none\", // BUG: if not set, MUI fails to run.\n color: \"inherit\",\n },\n styleOverrides: {\n root: ({ ownerState }) => ({\n cursor: \"pointer\",\n ...(includesClassNames(ownerState, [\"no-decor\"])\n ? {\n \":hover\": {\n textDecoration: \"underline\",\n },\n }\n : {\n textDecoration: \"underline\",\n \":hover\": {\n fontWeight: \"bold\",\n },\n }),\n ...(includesClassNames(ownerState, [\"back-to\"]) && {\n textDecoration: \"none\",\n display: \"inline-block\",\n marginBottom: typography.body1?.marginBottom,\n \":hover\": {\n fontWeight: \"bold\",\n textDecoration: \"underline\",\n },\n \":before\": {\n content: '\"< Back to \"',\n },\n }),\n }),\n },\n}\n\nexport default MuiLink\n","import type Components from \"./_components\"\n\nconst MuiList: Components[\"MuiList\"] = {\n styleOverrides: {\n root: {\n paddingTop: 0,\n paddingBottom: 0,\n },\n },\n}\n\nexport default MuiList\n","import { listItemTextClasses } from \"@mui/material\"\n\nimport type Components from \"./_components\"\nimport { includesClassNames } from \"../../utils/theme\"\n\nconst MuiListItemText: Components[\"MuiListItemText\"] = {\n styleOverrides: {\n root: ({ ownerState }) => ({\n ...(includesClassNames(ownerState, [\"last\"]) && {\n [`.${listItemTextClasses.primary}`]: {\n marginBottom: 0,\n },\n }),\n }),\n },\n}\n\nexport default MuiListItemText\n","import type Components from \"./_components\"\n\nconst MuiMenu: Components[\"MuiMenu\"] = {\n styleOverrides: {\n paper: {\n borderRadius: 0,\n },\n list: {\n padding: 0,\n },\n },\n}\n\nexport default MuiMenu\n","import type Components from \"./_components\"\nimport { includesClassNames } from \"../../utils/theme\"\n\nconst MuiMenuItem: Components[\"MuiMenuItem\"] = {\n styleOverrides: {\n root: ({ ownerState }) => ({\n ...(includesClassNames(ownerState, [\"header\"]) && {\n pointerEvents: \"none\",\n fontWeight: \"bold\",\n }),\n }),\n },\n}\n\nexport default MuiMenuItem\n","import type Components from \"./_components\"\nimport { type StyleOverridesWithRoot } from \"./_components\"\n\nconst MuiSelect: Components[\"MuiSelect\"] = {\n defaultProps: {\n color: \"black\",\n },\n\n styleOverrides: {\n root: {\n borderRadius: \"0px\",\n },\n } as StyleOverridesWithRoot<\"MuiSelect\">,\n}\n\nexport default MuiSelect\n","import { tabClasses } from \"@mui/material\"\n\nimport type Components from \"./_components\"\nimport { primary } from \"../colors\"\n\nconst MuiTab: Components[\"MuiTab\"] = {\n styleOverrides: {\n root: {\n textTransform: \"none\",\n fontSize: \"16px\",\n fontWeight: 600,\n minWidth: \"150px\",\n border: \"2px solid white\",\n [`&.${tabClasses.selected}`]: {\n color: primary[300],\n backgroundColor: \"white\",\n cursor: \"default\",\n },\n [`:not(.${tabClasses.selected})`]: {\n color: \"white\",\n \":hover\": {\n textDecoration: \"underline\",\n },\n },\n },\n },\n}\n\nexport default MuiTab\n","import { tableCellClasses } from \"@mui/material\"\n\nimport type Components from \"./_components\"\nimport { includesClassNames } from \"../../utils/theme\"\nimport typography from \"../typography\"\n\nconst MuiTable: Components[\"MuiTable\"] = {\n styleOverrides: {\n root: ({ ownerState }) => ({\n borderStyle: \"hidden\",\n overflowX: \"auto\",\n [`.${tableCellClasses.root}`]: {\n border: \"2px solid white\",\n },\n ...(includesClassNames(ownerState, [\"text\"]) && {\n borderStyle: \"unset\",\n display: \"block\",\n [`.${tableCellClasses.root}`]: {\n border: \"1px solid #DDD\",\n },\n }),\n ...(includesClassNames(ownerState, [\"body\"]) && {\n marginBottom: typography.body1?.marginBottom,\n }),\n }),\n },\n}\n\nexport default MuiTable\n","import type Components from \"./_components\"\nimport { includesClassNames } from \"../../utils/theme\"\n\nconst MuiTableBody: Components[\"MuiTableBody\"] = {\n styleOverrides: {\n root: ({ ownerState }) => ({\n backgroundColor: \"#F1ECEC\",\n ...(includesClassNames(ownerState, [\"text\"]) && {\n backgroundColor: \"white\",\n }),\n }),\n },\n}\n\nexport default MuiTableBody\n","import { tableCellClasses, typographyClasses } from \"@mui/material\"\n\nimport type Components from \"./_components\"\nimport { includesClassNames } from \"../../utils/theme\"\n\nconst MuiTableHead: Components[\"MuiTableHead\"] = {\n styleOverrides: {\n root: ({ ownerState }) => ({\n backgroundColor: \"#6E7171\",\n ...(includesClassNames(ownerState, [\"light\"]) && {\n backgroundColor: \"#9A9C9E\",\n }),\n [`.${typographyClasses.root}`]: {\n color: \"white\",\n fontWeight: 600,\n marginBottom: 0,\n },\n [`.${tableCellClasses.head}`]: {\n color: \"white\",\n fontWeight: 600,\n },\n }),\n },\n}\n\nexport default MuiTableHead\n","import { tabClasses } from \"@mui/material\"\n\nimport type Components from \"./_components\"\n\nconst MuiTabs: Components[\"MuiTabs\"] = {\n defaultProps: {\n variant: \"scrollable\",\n scrollButtons: true,\n allowScrollButtonsMobile: true,\n },\n styleOverrides: {\n root: ({ ownerState }) => ({\n ...(ownerState !== undefined && // NOTE: this is a bug with MUI\n [undefined, \"horizontal\"].includes(ownerState.orientation) && {\n [`.${tabClasses.root}:not(:last-of-type)`]: {\n marginRight: \"30px\",\n },\n }),\n }),\n indicator: {\n display: \"none\",\n },\n },\n}\n\nexport default MuiTabs\n","import {\n filledInputClasses,\n formHelperTextClasses,\n formLabelClasses,\n inputBaseClasses,\n inputClasses,\n outlinedInputClasses,\n svgIconClasses,\n} from \"@mui/material\"\n\nimport type Components from \"./_components\"\nimport { includesClassNames } from \"../../utils/theme\"\nimport palette from \"../palette\"\nimport typography from \"../typography\"\n\nconst MuiTextField: Components[\"MuiTextField\"] = {\n defaultProps: {\n size: \"small\",\n variant: \"filled\",\n },\n styleOverrides: {\n root: ({ ownerState }) => ({\n width: \"100%\",\n backgroundColor: \"transparent\",\n [`& > .${inputBaseClasses.root}`]: {\n ...(ownerState.disabled\n ? {\n [`.${inputBaseClasses.disabled}`]: {\n color: `${typography.body1!.color} !important`,\n \"-webkit-text-fill-color\": \"unset\",\n },\n border: \"0px !important\",\n borderRadius: \"0px !important\",\n // @ts-expect-error value is assignable\n backgroundColor: `${palette.info!.main} !important`,\n }\n : {\n border: \"1px solid black !important\",\n borderRadius: \"0px !important\",\n backgroundColor: \"white !important\",\n }),\n },\n [`& > .${inputBaseClasses.root}.${inputBaseClasses.error}`]: {\n // @ts-expect-error value is assignable\n border: `1px solid ${palette.error!.main} !important`,\n },\n [`& .${outlinedInputClasses.root}.${inputClasses.focused} > fieldset`]: {\n borderColor: \"black !important\",\n },\n [`.${svgIconClasses.root}`]: {\n color: `${typography.body1!.color} !important`,\n },\n [`.${filledInputClasses.root}::after`]: {\n borderColor: `${typography.body1!.color} !important`,\n },\n [`.${formLabelClasses.root}`]: {\n color: `${typography.body1!.color} !important`,\n },\n [`.${formHelperTextClasses.root}`]: {\n fontSize: \"12px !important\",\n },\n ...(ownerState.multiline === true && {\n ...((includesClassNames(ownerState, [\"resize\"]) ||\n includesClassNames(ownerState, [\"resize-both\"])) && {\n width: \"auto\",\n [`.${inputClasses.inputMultiline}`]: {\n resize: \"both\",\n },\n }),\n ...(includesClassNames(ownerState, [\"resize-horizontal\"]) && {\n width: \"auto\",\n [`.${inputClasses.inputMultiline}`]: {\n resize: \"horizontal\",\n },\n }),\n ...(includesClassNames(ownerState, [\"resize-vertical\"]) && {\n [`.${inputClasses.inputMultiline}`]: {\n resize: \"vertical\",\n },\n }),\n }),\n }),\n },\n}\n\nexport default MuiTextField\n","import type Components from \"./_components\"\n\nconst MuiToolbar: Components[\"MuiToolbar\"] = {\n styleOverrides: {\n root: {\n padding: \"15px 0px !important\",\n },\n },\n}\n\nexport default MuiToolbar\n","import type Components from \"./_components\"\nimport { getFontStyleOverrides } from \"./_components\"\n\nconst MuiTypography: Components[\"MuiTypography\"] = {\n styleOverrides: {\n root: ({ ownerState }) => ({\n ...getFontStyleOverrides(ownerState),\n }),\n },\n}\n\nexport default MuiTypography\n","import { type ThemeOptions } from \"@mui/material\"\n\nimport MuiAccordion from \"./MuiAccordion\"\nimport MuiAutocomplete from \"./MuiAutocomplete\"\nimport MuiButton from \"./MuiButton\"\nimport MuiCardActions from \"./MuiCardActions\"\nimport MuiCheckbox from \"./MuiCheckbox\"\nimport MuiContainer from \"./MuiContainer\"\nimport MuiDialog from \"./MuiDialog\"\nimport MuiFormControlLabel from \"./MuiFormControlLabel\"\nimport MuiFormHelperText from \"./MuiFormHelperText\"\nimport MuiGrid2 from \"./MuiGrid2\"\nimport MuiInputBase from \"./MuiInputBase\"\nimport MuiLink from \"./MuiLink\"\nimport MuiList from \"./MuiList\"\nimport MuiListItemText from \"./MuiListItemText\"\nimport MuiMenu from \"./MuiMenu\"\nimport MuiMenuItem from \"./MuiMenuItem\"\nimport MuiSelect from \"./MuiSelect\"\nimport MuiTab from \"./MuiTab\"\nimport MuiTable from \"./MuiTable\"\nimport MuiTableBody from \"./MuiTableBody\"\nimport MuiTableHead from \"./MuiTableHead\"\nimport MuiTabs from \"./MuiTabs\"\nimport MuiTextField from \"./MuiTextField\"\nimport MuiToolbar from \"./MuiToolbar\"\nimport MuiTypography from \"./MuiTypography\"\n\nconst components: ThemeOptions[\"components\"] = {\n MuiAccordion,\n MuiAutocomplete,\n MuiButton,\n MuiCardActions,\n MuiCheckbox,\n MuiContainer,\n MuiDialog,\n MuiFormControlLabel,\n MuiFormHelperText,\n MuiGrid2,\n MuiInputBase,\n MuiLink,\n MuiList,\n MuiListItemText,\n MuiMenu,\n MuiMenuItem,\n MuiSelect,\n MuiTab,\n MuiTable,\n MuiTableBody,\n MuiTableHead,\n MuiTabs,\n MuiTextField,\n MuiToolbar,\n MuiTypography,\n}\n\nexport default components\n"],"names":["MuiAccordion","MuiAutocomplete","insertDividerBetweenElements","elements","dividerProps","element","index","jsxs","Fragment","Divider","getStyleOverrides","ownerState","componentKey","muiClassName","components","_components","component","muiClass","getClassNames","props","includesClassNames","propsOrClassNames","includes","classNames","className","matchClassNames","pattern","match","form","typography","MuiButton","buttonClasses","spacing","factor","important","MuiCardActions","MuiCheckbox","getFlexStyleOverrides","styleOverrides","getFontStyleOverrides","typographyClass","prop","MuiContainer","MuiDialog","MuiFormControlLabel","typographyClasses","MuiFormHelperText","MuiGrid2","MuiInputBase","MuiLink","MuiList","MuiListItemText","listItemTextClasses","MuiMenu","MuiMenuItem","MuiSelect","MuiTab","tabClasses","primary","MuiTable","tableCellClasses","MuiTableBody","MuiTableHead","MuiTabs","MuiTextField","inputBaseClasses","palette","outlinedInputClasses","inputClasses","svgIconClasses","filledInputClasses","formLabelClasses","formHelperTextClasses","MuiToolbar","MuiTypography"],"mappings":";;;;AAEA,MAAMA,IAA2C;AAAA,EAC/C,gBAAgB;AAAA,IACd,MAAM;AAAA,MACJ,cAAc;AAAA,MACd,QAAQ;AAAA,MACR,OAAO;AAAA,IAAA;AAAA,EACT;AAEJ,GCRMC,IAAiD;AAAA,EACrD,gBAAgB;AAAA,IACd,MAAM;AAAA,MACJ,OAAO;AAAA,IAAA;AAAA,EACT;AAEJ;ACFO,SAASC,GAA6B;AAAA,EAC3C,UAAAC;AAAA,EACA,cAAAC;AACF,GAGmB;AACjB,SAAOD,EAAS,IAAI,CAACE,GAASC,MAC5BC,gBAAAA,OAAAC,EAAAA,UAAA,EACG,UAAA;AAAA,IAAAH;AAAA,IACAC,MAAUH,EAAS,SAAS,0BAC1BM,GAAA,EAAS,GAAGL,GAAc,IACzB;AAAA,EAAA,EAAA,CACN,CACD;AACH;AAEO,SAASM,GACdC,GACAC,GACAC,IAAuB,QACvBC,IAAyCC,IACjC;AACR,MAAID,MAAe,QAAW;AAC5B,UAAME,IAAYF,EAAWF,CAAY;AAEzC,QACEI,MAAc,UACd,oBAAoBA,KACpB,OAAOA,EAAU,kBAAmB,YACpCH,KAAgBG,EAAU,gBAC1B;AACA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