codeforlife 2.8.3 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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/endpoints/index.cjs.js +2 -0
- package/dist/api/endpoints/index.cjs.js.map +1 -0
- package/dist/api/endpoints/index.d.ts +81 -0
- package/dist/api/endpoints/index.es.js +78 -0
- package/dist/api/endpoints/index.es.js.map +1 -0
- package/dist/api/index.cjs.js +4 -0
- package/dist/api/index.cjs.js.map +1 -0
- package/dist/api/index.d.ts +77 -0
- package/dist/api/index.es.js +541 -0
- package/dist/api/index.es.js.map +1 -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/api.d.ts +123 -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/auth.d.ts +40 -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 +86 -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 +90 -0
- package/dist/components/index.es.js +383 -0
- package/dist/components/index.es.js.map +1 -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 +77 -0
- package/dist/components/page/index.es.js +9 -0
- package/dist/components/page/index.es.js.map +1 -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 +78 -0
- package/dist/components/router/index.es.js +11 -0
- package/dist/components/router/index.es.js.map +1 -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 +75 -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/index.cjs.js +2 -0
- package/dist/features/index.cjs.js.map +1 -0
- package/dist/features/index.d.ts +76 -0
- package/dist/features/index.es.js +47 -0
- package/dist/features/index.es.js.map +1 -0
- package/dist/form.d.ts +40 -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/general.d.ts +53 -0
- package/dist/hooks/index.cjs.js +2 -0
- package/dist/hooks/index.cjs.js.map +1 -0
- package/dist/hooks/index.d.ts +77 -0
- package/dist/hooks/index.es.js +25 -0
- package/dist/hooks/index.es.js.map +1 -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 +78 -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 +73 -0
- package/dist/middlewares/index.es.js +10 -0
- package/dist/middlewares/index.es.js.map +1 -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/router.d.ts +48 -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/schema.d.ts +89 -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/server.cjs.js +6 -0
- package/dist/server.cjs.js.map +1 -0
- package/dist/server.d.ts +129 -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/index.cjs.js +2 -0
- package/dist/settings/index.cjs.js.map +1 -0
- package/dist/settings/index.d.ts +76 -0
- package/dist/settings/index.es.js +17 -0
- package/dist/settings/index.es.js.map +1 -0
- package/dist/slices/index.cjs.js +2 -0
- package/dist/slices/index.cjs.js.map +1 -0
- package/dist/slices/index.d.ts +74 -0
- package/dist/slices/index.es.js +6 -0
- package/dist/slices/index.es.js.map +1 -0
- package/dist/store.d.ts +17 -0
- package/dist/style.css +1 -0
- package/dist/test.d.ts +75 -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 +75 -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 +79 -0
- package/dist/theme/index.es.js +222 -0
- package/dist/theme/index.es.js.map +1 -0
- package/dist/theme.d.ts +19 -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 +144 -0
- package/dist/utils/api.es.js +16 -0
- package/dist/utils/api.es.js.map +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 +100 -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 +97 -0
- package/dist/utils/form.es.js +76 -0
- package/dist/utils/form.es.js.map +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 +102 -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/router.cjs.js +2 -0
- package/dist/utils/router.cjs.js.map +1 -0
- package/dist/utils/router.d.ts +91 -0
- package/dist/utils/router.es.js +33 -0
- package/dist/utils/router.es.js.map +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 +115 -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 +82 -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 +125 -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 +83 -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 +74 -0
- package/dist/utils/window.es.js +11 -0
- package/dist/utils/window.es.js.map +1 -0
- package/dist/window.d.ts +5 -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/form.tsx +0 -11
- 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,90 @@
|
|
|
1
|
+
export * as forms from './form';
|
|
2
|
+
export * as pages from './page';
|
|
3
|
+
export * from './router';
|
|
4
|
+
export * as tables from './table';
|
|
5
|
+
export { default as App, type AppProps } from './App';
|
|
6
|
+
export { default as ClickableTooltip, type ClickableTooltipProps, } from './ClickableTooltip';
|
|
7
|
+
export { default as CopyIconButton, type CopyIconButtonProps, } from './CopyIconButton';
|
|
8
|
+
export { default as Countdown, type CountdownProps } from './Countdown';
|
|
9
|
+
export { default as DownloadFileButton, type DownloadFileButtonProps, } from './DownloadFileButton';
|
|
10
|
+
export { default as ElevatedAppBar, type ElevatedAppBarProps, } from './ElevatedAppBar';
|
|
11
|
+
export { default as Image, type ImageProps } from './Image';
|
|
12
|
+
export { default as InputFileButton, type InputFileButtonProps, } from './InputFileButton';
|
|
13
|
+
export { default as ItemizedList, type ItemizedListProps } from './ItemizedList';
|
|
14
|
+
export { default as OrderedGrid, type OrderedGridProps } from './OrderedGrid';
|
|
15
|
+
export { default as ScrollIntoViewLink, type ScrollIntoViewLinkProps, } from './ScrollIntoViewLink';
|
|
16
|
+
export { default as SyncError, type SyncErrorProps } from './SyncError';
|
|
17
|
+
export { default as TablePagination, type TablePaginationProps, } from './TablePagination';
|
|
18
|
+
export { default as YouTubeVideo, type YouTubeVideoProps } from './YouTubeVideo';
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
declare module "@mui/material/styles" {
|
|
22
|
+
interface CustomPaletteColors {
|
|
23
|
+
tertiary: PaletteColor;
|
|
24
|
+
white: PaletteColor;
|
|
25
|
+
black: PaletteColor;
|
|
26
|
+
teacher: PaletteColor;
|
|
27
|
+
student: PaletteColor;
|
|
28
|
+
indy: PaletteColor;
|
|
29
|
+
}
|
|
30
|
+
interface Palette extends CustomPaletteColors {
|
|
31
|
+
}
|
|
32
|
+
interface PaletteOptions extends CustomPaletteColors {
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
declare module "@mui/material" {
|
|
38
|
+
interface FabPropsColorOverrides extends PropsColorOverrides {
|
|
39
|
+
}
|
|
40
|
+
interface CardPropsColorOverrides extends PropsColorOverrides {
|
|
41
|
+
}
|
|
42
|
+
interface ChipPropsColorOverrides extends PropsColorOverrides {
|
|
43
|
+
}
|
|
44
|
+
interface IconPropsColorOverrides extends PropsColorOverrides {
|
|
45
|
+
}
|
|
46
|
+
interface AlertPropsColorOverrides extends PropsColorOverrides {
|
|
47
|
+
}
|
|
48
|
+
interface BadgePropsColorOverrides extends PropsColorOverrides {
|
|
49
|
+
}
|
|
50
|
+
interface RadioPropsColorOverrides extends PropsColorOverrides {
|
|
51
|
+
}
|
|
52
|
+
interface AppBarPropsColorOverrides extends PropsColorOverrides {
|
|
53
|
+
}
|
|
54
|
+
interface ButtonPropsColorOverrides extends PropsColorOverrides {
|
|
55
|
+
}
|
|
56
|
+
interface SliderPropsColorOverrides extends PropsColorOverrides {
|
|
57
|
+
}
|
|
58
|
+
interface SwitchPropsColorOverrides extends PropsColorOverrides {
|
|
59
|
+
}
|
|
60
|
+
interface SvgIconPropsColorOverrides extends PropsColorOverrides {
|
|
61
|
+
}
|
|
62
|
+
interface CheckboxPropsColorOverrides extends PropsColorOverrides {
|
|
63
|
+
}
|
|
64
|
+
interface FormLabelPropsColorOverrides extends PropsColorOverrides {
|
|
65
|
+
}
|
|
66
|
+
interface InputBasePropsColorOverrides extends PropsColorOverrides {
|
|
67
|
+
}
|
|
68
|
+
interface TextFieldPropsColorOverrides extends PropsColorOverrides {
|
|
69
|
+
}
|
|
70
|
+
interface IconButtonPropsColorOverrides extends PropsColorOverrides {
|
|
71
|
+
}
|
|
72
|
+
interface PaginationPropsColorOverrides extends PropsColorOverrides {
|
|
73
|
+
}
|
|
74
|
+
interface ButtonGroupPropsColorOverrides extends PropsColorOverrides {
|
|
75
|
+
}
|
|
76
|
+
interface FormControlPropsColorOverrides extends PropsColorOverrides {
|
|
77
|
+
}
|
|
78
|
+
interface ToggleButtonPropsColorOverrides extends PropsColorOverrides {
|
|
79
|
+
}
|
|
80
|
+
interface LinearProgressPropsColorOverrides extends PropsColorOverrides {
|
|
81
|
+
}
|
|
82
|
+
interface PaginationItemPropsColorOverrides extends PropsColorOverrides {
|
|
83
|
+
}
|
|
84
|
+
interface CircularProgressPropsColorOverrides extends PropsColorOverrides {
|
|
85
|
+
}
|
|
86
|
+
interface TabsPropsIndicatorColorOverrides extends PropsColorOverrides {
|
|
87
|
+
}
|
|
88
|
+
interface ToggleButtonGroupPropsColorOverrides extends PropsColorOverrides {
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
import { i as Me } from "../index-Dqp7dpn3.js";
|
|
2
|
+
import { i as Ne } from "../index-DkM_cG3a.js";
|
|
3
|
+
import { L as Ae, a as Fe, b as De, c as Ge, N as He } from "../Navigate-Dq47aqC8.js";
|
|
4
|
+
import { L as Je } from "../LinkButton-oK0RThqn.js";
|
|
5
|
+
import { i as Ve } from "../index-2W--_sNE.js";
|
|
6
|
+
import { j as o } from "../jsx-runtime-Dpn_P65e.js";
|
|
7
|
+
import { parsePath as U, Router as $, createPath as k, BrowserRouter as M, Routes as _ } from "react-router-dom";
|
|
8
|
+
import { ThemeProvider as N, CssBaseline as Y, Tooltip as A, IconButton as F, Button as E, useScrollTrigger as D, AppBar as G, Container as H, Toolbar as z, List as J, Unstable_Grid2 as b, Link as P, Stack as V, TablePagination as q, Box as X } from "@mui/material";
|
|
9
|
+
import * as K from "react";
|
|
10
|
+
import R, { useEffect as S, cloneElement as Q } from "react";
|
|
11
|
+
import { Provider as W } from "react-redux";
|
|
12
|
+
import { C as Xe } from "../Countdown-DFI1RljW.js";
|
|
13
|
+
import { f as Z } from "../auth-BPfUPjmM.js";
|
|
14
|
+
import { wrap as I } from "../utils/general.es.js";
|
|
15
|
+
import { ContentCopy as ee, Download as te } from "@mui/icons-material";
|
|
16
|
+
import { I as Qe } from "../Image-D5jC9UoX.js";
|
|
17
|
+
import { h as re } from "../api-Cbyt3rw0.js";
|
|
18
|
+
import { S as Ze } from "../api-Cbyt3rw0.js";
|
|
19
|
+
import { u as oe } from "../api-Cs4Y-WeI.js";
|
|
20
|
+
/**
|
|
21
|
+
* @remix-run/router v1.23.0
|
|
22
|
+
*
|
|
23
|
+
* Copyright (c) Remix Software Inc.
|
|
24
|
+
*
|
|
25
|
+
* This source code is licensed under the MIT license found in the
|
|
26
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
27
|
+
*
|
|
28
|
+
* @license MIT
|
|
29
|
+
*/
|
|
30
|
+
var v;
|
|
31
|
+
(function(e) {
|
|
32
|
+
e.Pop = "POP", e.Push = "PUSH", e.Replace = "REPLACE";
|
|
33
|
+
})(v || (v = {}));
|
|
34
|
+
var T;
|
|
35
|
+
(function(e) {
|
|
36
|
+
e.data = "data", e.deferred = "deferred", e.redirect = "redirect", e.error = "error";
|
|
37
|
+
})(T || (T = {}));
|
|
38
|
+
const O = ["post", "put", "patch", "delete"];
|
|
39
|
+
new Set(O);
|
|
40
|
+
const se = ["get", ...O];
|
|
41
|
+
new Set(se);
|
|
42
|
+
function ne({
|
|
43
|
+
basename: e,
|
|
44
|
+
children: r,
|
|
45
|
+
location: t = "/",
|
|
46
|
+
future: a
|
|
47
|
+
}) {
|
|
48
|
+
typeof t == "string" && (t = U(t));
|
|
49
|
+
let s = v.Pop, n = {
|
|
50
|
+
pathname: t.pathname || "/",
|
|
51
|
+
search: t.search || "",
|
|
52
|
+
hash: t.hash || "",
|
|
53
|
+
state: t.state != null ? t.state : null,
|
|
54
|
+
key: t.key || "default"
|
|
55
|
+
}, i = ae();
|
|
56
|
+
return /* @__PURE__ */ K.createElement($, {
|
|
57
|
+
basename: e,
|
|
58
|
+
children: r,
|
|
59
|
+
location: n,
|
|
60
|
+
navigationType: s,
|
|
61
|
+
navigator: i,
|
|
62
|
+
future: a,
|
|
63
|
+
static: !0
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
function ae() {
|
|
67
|
+
return {
|
|
68
|
+
createHref: ie,
|
|
69
|
+
encodeLocation: ce,
|
|
70
|
+
push(e) {
|
|
71
|
+
throw new Error(`You cannot use navigator.push() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(e)})\` somewhere in your app.`);
|
|
72
|
+
},
|
|
73
|
+
replace(e) {
|
|
74
|
+
throw new Error(`You cannot use navigator.replace() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${JSON.stringify(e)}, { replace: true })\` somewhere in your app.`);
|
|
75
|
+
},
|
|
76
|
+
go(e) {
|
|
77
|
+
throw new Error(`You cannot use navigator.go() on the server because it is a stateless environment. This error was probably triggered when you did a \`navigate(${e})\` somewhere in your app.`);
|
|
78
|
+
},
|
|
79
|
+
back() {
|
|
80
|
+
throw new Error("You cannot use navigator.back() on the server because it is a stateless environment.");
|
|
81
|
+
},
|
|
82
|
+
forward() {
|
|
83
|
+
throw new Error("You cannot use navigator.forward() on the server because it is a stateless environment.");
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
function ie(e) {
|
|
88
|
+
return typeof e == "string" ? e : k(e);
|
|
89
|
+
}
|
|
90
|
+
function ce(e) {
|
|
91
|
+
let r = typeof e == "string" ? e : k(e);
|
|
92
|
+
r = r.replace(/ $/, "%20");
|
|
93
|
+
let t = ue.test(r) ? new URL(r) : new URL(r, "http://localhost");
|
|
94
|
+
return {
|
|
95
|
+
pathname: t.pathname,
|
|
96
|
+
search: t.search,
|
|
97
|
+
hash: t.hash
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
const ue = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, B = ({
|
|
101
|
+
path: e,
|
|
102
|
+
routes: r,
|
|
103
|
+
header: t = /* @__PURE__ */ o.jsx(o.Fragment, {}),
|
|
104
|
+
// TODO: "header = <Header />"
|
|
105
|
+
footer: a = /* @__PURE__ */ o.jsx(o.Fragment, {}),
|
|
106
|
+
// TODO: "footer = <Footer />"
|
|
107
|
+
headerExcludePaths: s = [],
|
|
108
|
+
footerExcludePaths: n = []
|
|
109
|
+
}) => /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
110
|
+
!s.includes(e) && t,
|
|
111
|
+
/* @__PURE__ */ o.jsx(_, { children: r }),
|
|
112
|
+
!n.includes(e) && a
|
|
113
|
+
] }), le = (e) => {
|
|
114
|
+
const { pathname: r } = Z();
|
|
115
|
+
return /* @__PURE__ */ o.jsx(B, { path: r, ...e });
|
|
116
|
+
}, ye = ({
|
|
117
|
+
path: e,
|
|
118
|
+
theme: r,
|
|
119
|
+
store: t,
|
|
120
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
121
|
+
maxIdleSeconds: a = 3600,
|
|
122
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
123
|
+
maxTotalSeconds: s = 3600,
|
|
124
|
+
...n
|
|
125
|
+
}) => /* @__PURE__ */ o.jsxs(N, { theme: r, children: [
|
|
126
|
+
/* @__PURE__ */ o.jsx(Y, {}),
|
|
127
|
+
/* @__PURE__ */ o.jsx(W, { store: t, children: typeof window > "u" ? /* @__PURE__ */ o.jsx(ne, { location: e, children: /* @__PURE__ */ o.jsx(B, { path: e, ...n }) }) : /* @__PURE__ */ o.jsx(M, { children: /* @__PURE__ */ o.jsx(le, { ...n }) }) })
|
|
128
|
+
] }), Le = ({
|
|
129
|
+
open: e = !1,
|
|
130
|
+
onClick: r,
|
|
131
|
+
...t
|
|
132
|
+
}) => {
|
|
133
|
+
const [a, s] = R.useState(e);
|
|
134
|
+
return R.useEffect(() => {
|
|
135
|
+
s(e);
|
|
136
|
+
}, [e]), /* @__PURE__ */ o.jsx(
|
|
137
|
+
A,
|
|
138
|
+
{
|
|
139
|
+
open: a,
|
|
140
|
+
onMouseOver: () => {
|
|
141
|
+
a || s(!0);
|
|
142
|
+
},
|
|
143
|
+
onMouseLeave: () => {
|
|
144
|
+
s(!1);
|
|
145
|
+
},
|
|
146
|
+
onClick: I(
|
|
147
|
+
{
|
|
148
|
+
after: () => {
|
|
149
|
+
s(!a);
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
r
|
|
153
|
+
),
|
|
154
|
+
...t
|
|
155
|
+
}
|
|
156
|
+
);
|
|
157
|
+
}, be = ({
|
|
158
|
+
content: e,
|
|
159
|
+
children: r = /* @__PURE__ */ o.jsx(ee, {}),
|
|
160
|
+
...t
|
|
161
|
+
}) => /* @__PURE__ */ o.jsx(
|
|
162
|
+
F,
|
|
163
|
+
{
|
|
164
|
+
"data-testid": "copy-icon-button",
|
|
165
|
+
onClick: () => {
|
|
166
|
+
navigator.clipboard.writeText(e);
|
|
167
|
+
},
|
|
168
|
+
...t,
|
|
169
|
+
children: r
|
|
170
|
+
}
|
|
171
|
+
), Re = ({
|
|
172
|
+
children: e = "Download",
|
|
173
|
+
endIcon: r = /* @__PURE__ */ o.jsx(te, {}),
|
|
174
|
+
file: t,
|
|
175
|
+
...a
|
|
176
|
+
}) => {
|
|
177
|
+
let s, n;
|
|
178
|
+
if ("mimeType" in t) {
|
|
179
|
+
const { text: i, mimeType: l, name: c, charset: d = "utf-8" } = t;
|
|
180
|
+
let { extension: f } = t;
|
|
181
|
+
f || (f = "." + { plain: "txt", csv: "csv" }[l]), n = {
|
|
182
|
+
download: c + f,
|
|
183
|
+
href: `data:text/${l};charset=${d},${encodeURIComponent(i)}`
|
|
184
|
+
};
|
|
185
|
+
} else
|
|
186
|
+
s = URL.createObjectURL(t), n = { href: s };
|
|
187
|
+
return S(() => () => {
|
|
188
|
+
s && URL.revokeObjectURL(s);
|
|
189
|
+
}, [s]), /* @__PURE__ */ o.jsx(E, { endIcon: r, ...a, ...n, children: e });
|
|
190
|
+
}, Te = ({
|
|
191
|
+
containerProps: e,
|
|
192
|
+
toolbarProps: r,
|
|
193
|
+
elevation: t = 4,
|
|
194
|
+
children: a,
|
|
195
|
+
...s
|
|
196
|
+
}) => {
|
|
197
|
+
const n = D({
|
|
198
|
+
disableHysteresis: !0,
|
|
199
|
+
threshold: 0
|
|
200
|
+
});
|
|
201
|
+
return Q(
|
|
202
|
+
/* @__PURE__ */ o.jsx(G, { elevation: t, ...s, children: /* @__PURE__ */ o.jsx(H, { ...e, children: /* @__PURE__ */ o.jsx(z, { ...r, children: a }) }) }),
|
|
203
|
+
{
|
|
204
|
+
position: n ? "fixed" : "sticky"
|
|
205
|
+
}
|
|
206
|
+
);
|
|
207
|
+
}, ke = ({
|
|
208
|
+
children: e,
|
|
209
|
+
inputProps: r,
|
|
210
|
+
...t
|
|
211
|
+
}) => /* @__PURE__ */ o.jsxs(E, { component: "label", ...t, children: [
|
|
212
|
+
e,
|
|
213
|
+
/* @__PURE__ */ o.jsx("input", { type: "file", hidden: !0, ...r })
|
|
214
|
+
] }), Ee = ({
|
|
215
|
+
styleType: e,
|
|
216
|
+
listProps: r = {},
|
|
217
|
+
pl: t = 4,
|
|
218
|
+
children: a
|
|
219
|
+
}) => {
|
|
220
|
+
const { sx: s, ...n } = r, i = { display: "list-item" };
|
|
221
|
+
return /* @__PURE__ */ o.jsx(
|
|
222
|
+
J,
|
|
223
|
+
{
|
|
224
|
+
sx: {
|
|
225
|
+
listStyleType: e,
|
|
226
|
+
pl: t,
|
|
227
|
+
".MuiListItem-root": i,
|
|
228
|
+
".MuiListItemText-root": i,
|
|
229
|
+
...s
|
|
230
|
+
},
|
|
231
|
+
...n,
|
|
232
|
+
children: a
|
|
233
|
+
}
|
|
234
|
+
);
|
|
235
|
+
}, Se = ({
|
|
236
|
+
rows: e,
|
|
237
|
+
containerProps: r = {},
|
|
238
|
+
globalItemProps: t
|
|
239
|
+
}) => {
|
|
240
|
+
const a = Number(r.columns ?? 12), s = (l) => Math.floor(a / l), n = (l, c, d) => Math.floor(c / s(d)) * e.length + l, i = (l, c) => {
|
|
241
|
+
const d = e[0].length % s(c);
|
|
242
|
+
return d !== 0 && l === e[0].length - 1 ? (a - d * c) / 2 : 0;
|
|
243
|
+
};
|
|
244
|
+
return /* @__PURE__ */ o.jsx(b, { container: !0, ...r, children: e.map(
|
|
245
|
+
(l, c) => l.map(({ element: d, itemProps: f = {} }, u) => /* @__PURE__ */ o.jsx(
|
|
246
|
+
b,
|
|
247
|
+
{
|
|
248
|
+
order: {
|
|
249
|
+
xs: n(c, u, t.xs),
|
|
250
|
+
sm: n(c, u, t.sm),
|
|
251
|
+
md: n(c, u, t.md),
|
|
252
|
+
lg: n(c, u, t.lg),
|
|
253
|
+
xl: n(c, u, t.xl)
|
|
254
|
+
},
|
|
255
|
+
xsOffset: i(u, t.xs),
|
|
256
|
+
smOffset: i(u, t.sm),
|
|
257
|
+
mdOffset: i(u, t.md),
|
|
258
|
+
lgOffset: i(u, t.lg),
|
|
259
|
+
xlOffset: i(u, t.xl),
|
|
260
|
+
...t,
|
|
261
|
+
...f,
|
|
262
|
+
children: d
|
|
263
|
+
},
|
|
264
|
+
`${c}-${u}`
|
|
265
|
+
))
|
|
266
|
+
) });
|
|
267
|
+
}, Oe = ({
|
|
268
|
+
elementId: e,
|
|
269
|
+
options: r,
|
|
270
|
+
...t
|
|
271
|
+
}) => /* @__PURE__ */ o.jsx(
|
|
272
|
+
P,
|
|
273
|
+
{
|
|
274
|
+
...t,
|
|
275
|
+
onClick: () => {
|
|
276
|
+
document.getElementById(e)?.scrollIntoView(r);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
), Be = ({
|
|
280
|
+
children: e,
|
|
281
|
+
useLazyListQuery: r,
|
|
282
|
+
preferCacheValue: t,
|
|
283
|
+
filters: a,
|
|
284
|
+
page: s = 0,
|
|
285
|
+
rowsPerPage: n = 50,
|
|
286
|
+
rowsPerPageOptions: i = [50, 100, 150],
|
|
287
|
+
stackProps: l,
|
|
288
|
+
onRowsPerPageChange: c,
|
|
289
|
+
onPageChange: d,
|
|
290
|
+
...f
|
|
291
|
+
}) => {
|
|
292
|
+
const [u, w] = r(), [{ limit: h, page: j, offset: g }, y] = oe({
|
|
293
|
+
page: s,
|
|
294
|
+
limit: n
|
|
295
|
+
});
|
|
296
|
+
S(
|
|
297
|
+
() => {
|
|
298
|
+
u({ limit: h, offset: g, ...a }, t);
|
|
299
|
+
},
|
|
300
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
301
|
+
[
|
|
302
|
+
u,
|
|
303
|
+
h,
|
|
304
|
+
g,
|
|
305
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps,@typescript-eslint/no-unsafe-assignment
|
|
306
|
+
...Object.values(a || {}),
|
|
307
|
+
t
|
|
308
|
+
]
|
|
309
|
+
);
|
|
310
|
+
const { count: L, max_limit: x } = w.data || {};
|
|
311
|
+
return x && (i = i.filter(
|
|
312
|
+
(m) => m <= x
|
|
313
|
+
)), /* @__PURE__ */ o.jsxs(V, { ...l, children: [
|
|
314
|
+
re(
|
|
315
|
+
w,
|
|
316
|
+
({ data: m }) => e(m, {
|
|
317
|
+
limit: h,
|
|
318
|
+
page: j,
|
|
319
|
+
offset: g,
|
|
320
|
+
count: L,
|
|
321
|
+
maxLimit: x
|
|
322
|
+
})
|
|
323
|
+
),
|
|
324
|
+
/* @__PURE__ */ o.jsx(
|
|
325
|
+
q,
|
|
326
|
+
{
|
|
327
|
+
component: "div",
|
|
328
|
+
count: L ?? 0,
|
|
329
|
+
rowsPerPage: h,
|
|
330
|
+
onRowsPerPageChange: (m) => {
|
|
331
|
+
y({ limit: parseInt(m.target.value), page: 0 }), c && c(m);
|
|
332
|
+
},
|
|
333
|
+
page: j,
|
|
334
|
+
onPageChange: (m, p) => {
|
|
335
|
+
y(({ limit: C }) => ({ limit: C, page: p })), d && d(m, p);
|
|
336
|
+
},
|
|
337
|
+
rowsPerPageOptions: i.sort((m, p) => m - p),
|
|
338
|
+
...f
|
|
339
|
+
}
|
|
340
|
+
)
|
|
341
|
+
] });
|
|
342
|
+
}, Ce = ({
|
|
343
|
+
src: e,
|
|
344
|
+
style: r = {},
|
|
345
|
+
...t
|
|
346
|
+
}) => /* @__PURE__ */ o.jsx(
|
|
347
|
+
X,
|
|
348
|
+
{
|
|
349
|
+
component: "iframe",
|
|
350
|
+
width: "100%",
|
|
351
|
+
src: e,
|
|
352
|
+
title: "YouTube video player",
|
|
353
|
+
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen",
|
|
354
|
+
style: { border: "0px", aspectRatio: "16 / 9", ...r },
|
|
355
|
+
...t
|
|
356
|
+
}
|
|
357
|
+
);
|
|
358
|
+
export {
|
|
359
|
+
ye as App,
|
|
360
|
+
Le as ClickableTooltip,
|
|
361
|
+
be as CopyIconButton,
|
|
362
|
+
Xe as Countdown,
|
|
363
|
+
Re as DownloadFileButton,
|
|
364
|
+
Te as ElevatedAppBar,
|
|
365
|
+
Qe as Image,
|
|
366
|
+
ke as InputFileButton,
|
|
367
|
+
Ee as ItemizedList,
|
|
368
|
+
Ae as Link,
|
|
369
|
+
Je as LinkButton,
|
|
370
|
+
Fe as LinkIconButton,
|
|
371
|
+
De as LinkListItem,
|
|
372
|
+
Ge as LinkTab,
|
|
373
|
+
He as Navigate,
|
|
374
|
+
Se as OrderedGrid,
|
|
375
|
+
Oe as ScrollIntoViewLink,
|
|
376
|
+
Ze as SyncError,
|
|
377
|
+
Be as TablePagination,
|
|
378
|
+
Ce as YouTubeVideo,
|
|
379
|
+
Me as forms,
|
|
380
|
+
Ne as pages,
|
|
381
|
+
Ve as tables
|
|
382
|
+
};
|
|
383
|
+
//# sourceMappingURL=index.es.js.map
|