@deix/rossini-core 1.0.8 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/buttons/Avatar/Avatar.d.ts.map +1 -0
- package/lib/components/buttons/Avatar/Avatar.js +49 -0
- package/lib/components/buttons/LanguageSelect/LanguageSelect.d.ts.map +1 -0
- package/lib/components/buttons/LanguageSelect/LanguageSelect.js +57 -0
- package/lib/components/buttons/ToggleButtonGroup/ToggleButtonGroup.d.ts.map +1 -0
- package/lib/components/buttons/ToggleButtonGroup/ToggleButtonGroup.js +18 -0
- package/lib/components/buttons/index.d.ts.map +1 -0
- package/lib/components/buttons/index.js +3 -0
- package/lib/components/display/Accordion/Accordion.d.ts.map +1 -0
- package/lib/components/display/Accordion/Accordion.js +22 -0
- package/lib/components/display/StyledValue/ImprovementChip.d.ts.map +1 -0
- package/lib/components/display/StyledValue/ImprovementChip.js +62 -0
- package/lib/components/display/StyledValue/StyledValue.d.ts.map +1 -0
- package/lib/components/display/StyledValue/StyledValue.js +84 -0
- package/lib/components/display/StyledValue/hooks.d.ts +6 -0
- package/lib/components/display/StyledValue/hooks.d.ts.map +1 -0
- package/lib/{src/components → components}/display/StyledValue/hooks.js +5 -8
- package/lib/components/display/index.d.ts.map +1 -0
- package/lib/components/display/index.js +3 -0
- package/lib/components/i18n/Link.d.ts +9 -0
- package/lib/components/i18n/Link.d.ts.map +1 -0
- package/lib/components/i18n/Link.js +20 -0
- package/lib/components/i18n/index.d.ts +3 -0
- package/lib/components/i18n/index.d.ts.map +1 -0
- package/lib/components/i18n/index.js +1 -0
- package/lib/{src/components → components}/index.d.ts +4 -0
- package/lib/components/index.d.ts.map +1 -0
- package/lib/components/index.js +6 -0
- package/lib/components/layout/MinimalLayout/MinimalLayout.d.ts.map +1 -0
- package/lib/components/layout/MinimalLayout/MinimalLayout.js +59 -0
- package/lib/{src/components → components}/layout/MinimalLayout/translations.json +1 -0
- package/lib/components/layout/StandardLayout/StandardLayout.d.ts.map +1 -0
- package/lib/components/layout/StandardLayout/StandardLayout.js +72 -0
- package/lib/{src/components → components}/layout/StandardLayout/translations.json +1 -0
- package/lib/components/layout/assets/DeixLogo.d.ts.map +1 -0
- package/lib/components/layout/assets/DeixLogo.js +15 -0
- package/lib/components/layout/assets/ServerDown.d.ts.map +1 -0
- package/lib/components/layout/assets/ServerDown.js +55 -0
- package/lib/components/layout/components/AppLogo/AppLogo.d.ts.map +1 -0
- package/lib/components/layout/components/AppLogo/AppLogo.js +25 -0
- package/lib/components/layout/components/Footer/Footer.d.ts.map +1 -0
- package/lib/components/layout/components/Footer/Footer.js +59 -0
- package/lib/components/layout/components/Sidebar/Sidebar.d.ts.map +1 -0
- package/lib/components/layout/components/Sidebar/Sidebar.js +237 -0
- package/lib/components/layout/components/Topbar/ElevationScroll.d.ts.map +1 -0
- package/lib/components/layout/components/Topbar/ElevationScroll.js +13 -0
- package/lib/components/layout/components/Topbar/Topbar.d.ts.map +1 -0
- package/lib/components/layout/components/Topbar/Topbar.js +38 -0
- package/lib/{src/components → components}/layout/components/Topbar/translations.json +4 -0
- package/lib/components/layout/components/Topline/TopLine.d.ts.map +1 -0
- package/lib/components/layout/components/Topline/TopLine.js +14 -0
- package/lib/components/layout/index.d.ts.map +1 -0
- package/lib/components/layout/index.js +2 -0
- package/lib/components/progress/CircularLoading/CircularLoading.d.ts.map +1 -0
- package/lib/components/progress/CircularLoading/CircularLoading.js +19 -0
- package/lib/components/progress/index.d.ts.map +1 -0
- package/lib/components/progress/index.js +1 -0
- package/lib/{src/utils → components}/provider/PageProvider.d.ts +1 -3
- package/lib/components/provider/PageProvider.d.ts.map +1 -0
- package/lib/components/provider/PageProvider.js +9 -0
- package/lib/components/provider/ThemeProvider.d.ts +15 -0
- package/lib/components/provider/ThemeProvider.d.ts.map +1 -0
- package/lib/components/provider/ThemeProvider.js +36 -0
- package/lib/components/provider/index.d.ts +3 -0
- package/lib/components/provider/index.d.ts.map +1 -0
- package/lib/components/provider/index.js +1 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +3 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/{src/types → types}/api.d.ts +1 -1
- package/lib/types/api.d.ts.map +1 -0
- package/lib/types/api.js +1 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/index.js +1 -0
- package/lib/{src/types → types}/languages.d.ts +2 -1
- package/lib/types/languages.d.ts.map +1 -0
- package/lib/types/languages.js +15 -0
- package/lib/{src/types → types}/palette.d.ts +2 -1
- package/lib/types/palette.d.ts.map +1 -0
- package/lib/types/palette.js +1 -0
- package/lib/utils/helpers/colorHelpers.d.ts.map +1 -0
- package/lib/{src/utils → utils}/helpers/colorHelpers.js +6 -13
- package/lib/utils/helpers/dateHelpers.d.ts.map +1 -0
- package/lib/{src/utils → utils}/helpers/dateHelpers.js +5 -12
- package/lib/utils/helpers/index.d.ts +4 -0
- package/lib/utils/helpers/index.d.ts.map +1 -0
- package/lib/{src/utils/helpers/index.d.ts → utils/helpers/index.js} +1 -2
- package/lib/{src/utils → utils}/helpers/stringHelpers.d.ts +1 -0
- package/lib/utils/helpers/stringHelpers.d.ts.map +1 -0
- package/lib/utils/helpers/stringHelpers.js +40 -0
- package/lib/{src/utils → utils}/hooks/index.d.ts +1 -0
- package/lib/utils/hooks/index.d.ts.map +1 -0
- package/lib/utils/hooks/index.js +5 -0
- package/lib/utils/hooks/useAPI.d.ts.map +1 -0
- package/lib/utils/hooks/useAPI.js +18 -0
- package/lib/utils/hooks/useLocale.d.ts.map +1 -0
- package/lib/utils/hooks/useLocale.js +9 -0
- package/lib/utils/hooks/usePathname.d.ts +2 -0
- package/lib/utils/hooks/usePathname.d.ts.map +1 -0
- package/lib/utils/hooks/usePathname.js +7 -0
- package/lib/{src/utils → utils}/hooks/usePersistedState.d.ts +2 -1
- package/lib/utils/hooks/usePersistedState.d.ts.map +1 -0
- package/lib/{src/utils → utils}/hooks/usePersistedState.js +18 -20
- package/lib/{src/utils → utils}/hooks/useUserInfo.d.ts +2 -1
- package/lib/utils/hooks/useUserInfo.d.ts.map +1 -0
- package/lib/utils/hooks/useUserInfo.js +25 -0
- package/lib/utils/index.d.ts +5 -0
- package/lib/utils/index.d.ts.map +1 -0
- package/lib/utils/index.js +3 -0
- package/lib/utils/middleware/createI18nMiddleware.d.ts +8 -0
- package/lib/utils/middleware/createI18nMiddleware.d.ts.map +1 -0
- package/lib/utils/middleware/createI18nMiddleware.js +35 -0
- package/lib/utils/theme/components/MuiAccordion.d.ts.map +1 -0
- package/lib/{src/utils → utils}/theme/components/MuiAccordion.js +1 -3
- package/lib/utils/theme/components/MuiCard.d.ts.map +1 -0
- package/lib/{src/utils → utils}/theme/components/MuiCard.js +1 -3
- package/lib/utils/theme/components/MuiCardHeader.d.ts.map +1 -0
- package/lib/{src/utils → utils}/theme/components/MuiCardHeader.js +1 -3
- package/lib/utils/theme/components/MuiFormControl.d.ts.map +1 -0
- package/lib/utils/theme/components/MuiFormControl.js +6 -0
- package/lib/utils/theme/components/MuiGrid.d.ts.map +1 -0
- package/lib/utils/theme/components/MuiGrid.js +5 -0
- package/lib/utils/theme/components/MuiPaper.d.ts.map +1 -0
- package/lib/{src/utils → utils}/theme/components/MuiPaper.js +1 -3
- package/lib/utils/theme/components/MuiTypography.d.ts.map +1 -0
- package/lib/utils/theme/components/MuiTypography.js +5 -0
- package/lib/utils/theme/components/index.d.ts.map +1 -0
- package/lib/utils/theme/components/index.js +17 -0
- package/lib/utils/theme/index.d.ts.map +1 -0
- package/lib/utils/theme/index.js +56 -0
- package/lib/{src/utils → utils}/theme/palette/index.d.ts +2 -2
- package/lib/utils/theme/palette/index.d.ts.map +1 -0
- package/lib/utils/theme/palette/index.js +96 -0
- package/lib/utils/theme/typography.d.ts.map +1 -0
- package/lib/{src/utils → utils}/theme/typography.js +1 -3
- package/package.json +50 -42
- package/lib/package.json +0 -85
- package/lib/src/components/buttons/Avatar/Avatar.d.ts.map +0 -1
- package/lib/src/components/buttons/Avatar/Avatar.js +0 -78
- package/lib/src/components/buttons/LanguageSelect/LanguageSelect.d.ts.map +0 -1
- package/lib/src/components/buttons/LanguageSelect/LanguageSelect.js +0 -58
- package/lib/src/components/buttons/ToggleButtonGroup/ToggleButtonGroup.d.ts.map +0 -1
- package/lib/src/components/buttons/ToggleButtonGroup/ToggleButtonGroup.js +0 -44
- package/lib/src/components/buttons/index.d.ts.map +0 -1
- package/lib/src/components/buttons/index.js +0 -9
- package/lib/src/components/display/Accordion/Accordion.d.ts.map +0 -1
- package/lib/src/components/display/Accordion/Accordion.js +0 -26
- package/lib/src/components/display/StyledValue/ImprovementChip.d.ts.map +0 -1
- package/lib/src/components/display/StyledValue/ImprovementChip.js +0 -55
- package/lib/src/components/display/StyledValue/StyledValue.d.ts.map +0 -1
- package/lib/src/components/display/StyledValue/StyledValue.js +0 -84
- package/lib/src/components/display/StyledValue/hooks.d.ts +0 -4
- package/lib/src/components/display/StyledValue/hooks.d.ts.map +0 -1
- package/lib/src/components/display/index.d.ts.map +0 -1
- package/lib/src/components/display/index.js +0 -12
- package/lib/src/components/index.d.ts.map +0 -1
- package/lib/src/components/index.js +0 -16
- package/lib/src/components/layout/MinimalLayout/MinimalLayout.d.ts.map +0 -1
- package/lib/src/components/layout/MinimalLayout/MinimalLayout.js +0 -64
- package/lib/src/components/layout/StandardLayout/StandardLayout.d.ts.map +0 -1
- package/lib/src/components/layout/StandardLayout/StandardLayout.js +0 -74
- package/lib/src/components/layout/assets/DeixLogo.d.ts.map +0 -1
- package/lib/src/components/layout/assets/DeixLogo.js +0 -20
- package/lib/src/components/layout/assets/ServerDown.d.ts.map +0 -1
- package/lib/src/components/layout/assets/ServerDown.js +0 -60
- package/lib/src/components/layout/components/AppLogo/AppLogo.d.ts.map +0 -1
- package/lib/src/components/layout/components/AppLogo/AppLogo.js +0 -30
- package/lib/src/components/layout/components/Footer/Footer.d.ts.map +0 -1
- package/lib/src/components/layout/components/Footer/Footer.js +0 -64
- package/lib/src/components/layout/components/Sidebar/Sidebar.d.ts.map +0 -1
- package/lib/src/components/layout/components/Sidebar/Sidebar.js +0 -237
- package/lib/src/components/layout/components/Topbar/ElevationScroll.d.ts.map +0 -1
- package/lib/src/components/layout/components/Topbar/ElevationScroll.js +0 -17
- package/lib/src/components/layout/components/Topbar/Topbar.d.ts.map +0 -1
- package/lib/src/components/layout/components/Topbar/Topbar.js +0 -61
- package/lib/src/components/layout/components/Topbar/Topbar.styles.d.ts +0 -18
- package/lib/src/components/layout/components/Topbar/Topbar.styles.d.ts.map +0 -1
- package/lib/src/components/layout/components/Topbar/Topbar.styles.js +0 -16
- package/lib/src/components/layout/components/Topline/TopLine.d.ts.map +0 -1
- package/lib/src/components/layout/components/Topline/TopLine.js +0 -18
- package/lib/src/components/layout/index.d.ts.map +0 -1
- package/lib/src/components/layout/index.js +0 -10
- package/lib/src/components/progress/CircularLoading/CircularLoading.d.ts.map +0 -1
- package/lib/src/components/progress/CircularLoading/CircularLoading.js +0 -22
- package/lib/src/components/progress/index.d.ts.map +0 -1
- package/lib/src/components/progress/index.js +0 -8
- package/lib/src/index.d.ts +0 -7
- package/lib/src/index.d.ts.map +0 -1
- package/lib/src/index.js +0 -32
- package/lib/src/types/api.d.ts.map +0 -1
- package/lib/src/types/api.js +0 -2
- package/lib/src/types/index.d.ts.map +0 -1
- package/lib/src/types/index.js +0 -5
- package/lib/src/types/languages.d.ts.map +0 -1
- package/lib/src/types/languages.js +0 -18
- package/lib/src/types/palette.d.ts.map +0 -1
- package/lib/src/types/palette.js +0 -2
- package/lib/src/utils/helpers/colorHelpers.d.ts.map +0 -1
- package/lib/src/utils/helpers/dateHelpers.d.ts.map +0 -1
- package/lib/src/utils/helpers/index.d.ts.map +0 -1
- package/lib/src/utils/helpers/index.js +0 -17
- package/lib/src/utils/helpers/stringHelpers.d.ts.map +0 -1
- package/lib/src/utils/helpers/stringHelpers.js +0 -39
- package/lib/src/utils/hooks/index.d.ts.map +0 -1
- package/lib/src/utils/hooks/index.js +0 -14
- package/lib/src/utils/hooks/useAPI.d.ts.map +0 -1
- package/lib/src/utils/hooks/useAPI.js +0 -23
- package/lib/src/utils/hooks/useLocale.d.ts.map +0 -1
- package/lib/src/utils/hooks/useLocale.js +0 -13
- package/lib/src/utils/hooks/usePersistedState.d.ts.map +0 -1
- package/lib/src/utils/hooks/useUserInfo.d.ts.map +0 -1
- package/lib/src/utils/hooks/useUserInfo.js +0 -32
- package/lib/src/utils/index.d.ts +0 -5
- package/lib/src/utils/index.d.ts.map +0 -1
- package/lib/src/utils/index.js +0 -25
- package/lib/src/utils/provider/PageProvider.d.ts.map +0 -1
- package/lib/src/utils/provider/PageProvider.js +0 -19
- package/lib/src/utils/provider/ThemeProvider.d.ts +0 -9
- package/lib/src/utils/provider/ThemeProvider.d.ts.map +0 -1
- package/lib/src/utils/provider/ThemeProvider.js +0 -47
- package/lib/src/utils/theme/components/MuiAccordion.d.ts.map +0 -1
- package/lib/src/utils/theme/components/MuiCard.d.ts.map +0 -1
- package/lib/src/utils/theme/components/MuiCardHeader.d.ts.map +0 -1
- package/lib/src/utils/theme/components/MuiFormControl.d.ts.map +0 -1
- package/lib/src/utils/theme/components/MuiFormControl.js +0 -8
- package/lib/src/utils/theme/components/MuiGrid.d.ts.map +0 -1
- package/lib/src/utils/theme/components/MuiGrid.js +0 -7
- package/lib/src/utils/theme/components/MuiPaper.d.ts.map +0 -1
- package/lib/src/utils/theme/components/MuiTypography.d.ts.map +0 -1
- package/lib/src/utils/theme/components/MuiTypography.js +0 -7
- package/lib/src/utils/theme/components/index.d.ts.map +0 -1
- package/lib/src/utils/theme/components/index.js +0 -22
- package/lib/src/utils/theme/createEmotionCache.d.ts +0 -2
- package/lib/src/utils/theme/createEmotionCache.d.ts.map +0 -1
- package/lib/src/utils/theme/createEmotionCache.js +0 -11
- package/lib/src/utils/theme/index.d.ts.map +0 -1
- package/lib/src/utils/theme/index.js +0 -85
- package/lib/src/utils/theme/palette/index.d.ts.map +0 -1
- package/lib/src/utils/theme/palette/index.js +0 -100
- package/lib/src/utils/theme/typography.d.ts.map +0 -1
- /package/lib/{src/components → components}/buttons/Avatar/Avatar.d.ts +0 -0
- /package/lib/{src/components → components}/buttons/LanguageSelect/LanguageSelect.d.ts +0 -0
- /package/lib/{src/components → components}/buttons/LanguageSelect/translations.json +0 -0
- /package/lib/{src/components → components}/buttons/ToggleButtonGroup/ToggleButtonGroup.d.ts +0 -0
- /package/lib/{src/components → components}/buttons/index.d.ts +0 -0
- /package/lib/{src/components → components}/display/Accordion/Accordion.d.ts +0 -0
- /package/lib/{src/components → components}/display/StyledValue/ImprovementChip.d.ts +0 -0
- /package/lib/{src/components → components}/display/StyledValue/StyledValue.d.ts +0 -0
- /package/lib/{src/components → components}/display/StyledValue/translations.json +0 -0
- /package/lib/{src/components → components}/display/index.d.ts +0 -0
- /package/lib/{src/components → components}/layout/MinimalLayout/MinimalLayout.d.ts +0 -0
- /package/lib/{src/components → components}/layout/StandardLayout/StandardLayout.d.ts +0 -0
- /package/lib/{src/components → components}/layout/assets/DeixLogo.d.ts +0 -0
- /package/lib/{src/components → components}/layout/assets/DeixLogo.tsx +0 -0
- /package/lib/{src/components → components}/layout/assets/ServerDown.d.ts +0 -0
- /package/lib/{src/components → components}/layout/assets/ServerDown.tsx +0 -0
- /package/lib/{src/components → components}/layout/assets/deix_logo_symbol_minimal.svg +0 -0
- /package/lib/{src/components → components}/layout/assets/undraw_server_down.svg +0 -0
- /package/lib/{src/components → components}/layout/components/AppLogo/AppLogo.d.ts +0 -0
- /package/lib/{src/components → components}/layout/components/Footer/Footer.d.ts +0 -0
- /package/lib/{src/components → components}/layout/components/Sidebar/Sidebar.d.ts +0 -0
- /package/lib/{src/components → components}/layout/components/Topbar/ElevationScroll.d.ts +0 -0
- /package/lib/{src/components → components}/layout/components/Topbar/Topbar.d.ts +0 -0
- /package/lib/{src/components → components}/layout/components/Topline/TopLine.d.ts +0 -0
- /package/lib/{src/components → components}/layout/index.d.ts +0 -0
- /package/lib/{src/components → components}/progress/CircularLoading/CircularLoading.d.ts +0 -0
- /package/lib/{src/components → components}/progress/CircularLoading/translations.json +0 -0
- /package/lib/{src/components → components}/progress/index.d.ts +0 -0
- /package/lib/{src/types → types}/index.d.ts +0 -0
- /package/lib/{src/utils → utils}/helpers/colorHelpers.d.ts +0 -0
- /package/lib/{src/utils → utils}/helpers/dateHelpers.d.ts +0 -0
- /package/lib/{src/utils → utils}/hooks/useAPI.d.ts +0 -0
- /package/lib/{src/utils → utils}/hooks/useLocale.d.ts +0 -0
- /package/lib/{src/utils → utils}/theme/components/MuiAccordion.d.ts +0 -0
- /package/lib/{src/utils → utils}/theme/components/MuiCard.d.ts +0 -0
- /package/lib/{src/utils → utils}/theme/components/MuiCardHeader.d.ts +0 -0
- /package/lib/{src/utils → utils}/theme/components/MuiFormControl.d.ts +0 -0
- /package/lib/{src/utils → utils}/theme/components/MuiGrid.d.ts +0 -0
- /package/lib/{src/utils → utils}/theme/components/MuiPaper.d.ts +0 -0
- /package/lib/{src/utils → utils}/theme/components/MuiTypography.d.ts +0 -0
- /package/lib/{src/utils → utils}/theme/components/index.d.ts +0 -0
- /package/lib/{src/utils → utils}/theme/index.d.ts +0 -0
- /package/lib/{src/utils → utils}/theme/typography.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/Avatar/Avatar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAkBxC,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAyExC,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import React, { useState } from 'react';
|
|
3
|
+
import Link from 'next/link';
|
|
4
|
+
import FaceIcon from '@mui/icons-material/Face';
|
|
5
|
+
import LogoutIcon from '@mui/icons-material/Logout';
|
|
6
|
+
import PersonIcon from '@mui/icons-material/Person';
|
|
7
|
+
import { IconButton, ListItemIcon, ListItemText, Menu, MenuItem, Tooltip, useTheme, } from '@mui/material';
|
|
8
|
+
import { useUserInfo } from '../../../utils/hooks/useUserInfo';
|
|
9
|
+
export const Avatar = ({ logoutUrl, accountSettingsUrl, }) => {
|
|
10
|
+
const muiTheme = useTheme();
|
|
11
|
+
// Menu
|
|
12
|
+
const [anchorEl, setAnchorEl] = useState(null);
|
|
13
|
+
const open = Boolean(anchorEl);
|
|
14
|
+
const handleClick = (event) => {
|
|
15
|
+
setAnchorEl(event.currentTarget);
|
|
16
|
+
};
|
|
17
|
+
const handleClose = () => {
|
|
18
|
+
setAnchorEl(null);
|
|
19
|
+
};
|
|
20
|
+
// User data
|
|
21
|
+
const { data: userInfo } = useUserInfo();
|
|
22
|
+
return (React.createElement(React.Fragment, null,
|
|
23
|
+
React.createElement(Tooltip, { title: userInfo?.preferredUsername || 'Anonymous User' },
|
|
24
|
+
React.createElement(IconButton, { component: 'span', "aria-label": 'toggle dark mode', onClick: handleClick },
|
|
25
|
+
React.createElement(PersonIcon, { htmlColor: muiTheme.palette.topbar.contrastText }))),
|
|
26
|
+
React.createElement(Menu, { anchorEl: anchorEl, open: open, onClose: handleClose, anchorOrigin: {
|
|
27
|
+
vertical: 'bottom',
|
|
28
|
+
horizontal: 'right',
|
|
29
|
+
}, transformOrigin: {
|
|
30
|
+
vertical: 'top',
|
|
31
|
+
horizontal: 'right',
|
|
32
|
+
}, slotProps: {
|
|
33
|
+
paper: {
|
|
34
|
+
sx: {
|
|
35
|
+
padding: '4px',
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
} },
|
|
39
|
+
accountSettingsUrl && (React.createElement(Link, { href: accountSettingsUrl },
|
|
40
|
+
React.createElement(MenuItem, { onClick: handleClose },
|
|
41
|
+
React.createElement(ListItemIcon, null,
|
|
42
|
+
React.createElement(FaceIcon, { fontSize: 'small' })),
|
|
43
|
+
React.createElement(ListItemText, null, "Account")))),
|
|
44
|
+
logoutUrl && (React.createElement(Link, { href: logoutUrl },
|
|
45
|
+
React.createElement(MenuItem, { onClick: handleClose },
|
|
46
|
+
React.createElement(ListItemIcon, null,
|
|
47
|
+
React.createElement(LogoutIcon, { fontSize: 'small' })),
|
|
48
|
+
React.createElement(ListItemText, null, "Logout")))))));
|
|
49
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LanguageSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/LanguageSelect/LanguageSelect.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAgBjD,OAAO,EAGL,QAAQ,EACR,MAAM,EACP,MAAM,0BAA0B,CAAC;AAMlC,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;CACxB;AAED,eAAO,MAAM,cAAc,EAAE,iBAAiB,CAAC,mBAAmB,CAiFjE,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Link } from '../../i18n';
|
|
4
|
+
import LanguageIcon from '@mui/icons-material/Language';
|
|
5
|
+
import { IconButton, ListItemIcon, ListItemText, Menu, MenuItem, MenuList, Tooltip, useTheme, } from '@mui/material';
|
|
6
|
+
import { flagIcons, } from '../../../types/languages';
|
|
7
|
+
import t from './translations.json';
|
|
8
|
+
import { useLocale } from '../../..';
|
|
9
|
+
import { usePathname } from '../../../utils/hooks';
|
|
10
|
+
import { cookieName } from '../../../utils/middleware/createI18nMiddleware';
|
|
11
|
+
export const LanguageSelect = ({ languages = [
|
|
12
|
+
{
|
|
13
|
+
id: 'en',
|
|
14
|
+
label: 'English',
|
|
15
|
+
countryCode: 'us',
|
|
16
|
+
MUILocale: 'enUS',
|
|
17
|
+
},
|
|
18
|
+
], }) => {
|
|
19
|
+
const muiTheme = useTheme();
|
|
20
|
+
// Menu controls
|
|
21
|
+
const [anchorEl, setAnchorEl] = React.useState(null);
|
|
22
|
+
const open = Boolean(anchorEl);
|
|
23
|
+
const openOptions = (evt) => {
|
|
24
|
+
setAnchorEl(evt.currentTarget);
|
|
25
|
+
};
|
|
26
|
+
const closeOptions = () => {
|
|
27
|
+
setAnchorEl(null);
|
|
28
|
+
};
|
|
29
|
+
const locale = useLocale();
|
|
30
|
+
const path = usePathname();
|
|
31
|
+
const setLocale = (locale) => {
|
|
32
|
+
// If no max-age is set the cookie will expire when the session ends.
|
|
33
|
+
document.cookie = `${cookieName}=${locale}; max-age=315360000; path=/`; // 10 years
|
|
34
|
+
};
|
|
35
|
+
return (React.createElement(React.Fragment, null,
|
|
36
|
+
React.createElement(Tooltip, { title: t['tooltip'][locale] },
|
|
37
|
+
React.createElement(IconButton, { component: 'span', "aria-label": 'language', onClick: openOptions },
|
|
38
|
+
React.createElement(LanguageIcon, { htmlColor: muiTheme.palette.topbar.contrastText }))),
|
|
39
|
+
React.createElement(Menu, { anchorEl: anchorEl, id: 'language-menu', open: open, onClose: closeOptions, onClick: closeOptions, anchorOrigin: {
|
|
40
|
+
vertical: 'bottom',
|
|
41
|
+
horizontal: 'right',
|
|
42
|
+
}, transformOrigin: {
|
|
43
|
+
vertical: 'top',
|
|
44
|
+
horizontal: 'right',
|
|
45
|
+
}, slotProps: {
|
|
46
|
+
paper: {
|
|
47
|
+
sx: {
|
|
48
|
+
padding: '4px',
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
} },
|
|
52
|
+
React.createElement(MenuList, { dense: true }, languages?.map((lang) => (React.createElement(Link, { key: lang.id, href: path, locale: lang.id },
|
|
53
|
+
React.createElement(MenuItem, { selected: lang.id === locale, onClick: () => setLocale(lang.id) },
|
|
54
|
+
React.createElement(ListItemIcon, null,
|
|
55
|
+
React.createElement("span", null, flagIcons[lang.countryCode])),
|
|
56
|
+
React.createElement(ListItemText, null, lang.label)))))))));
|
|
57
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToggleButtonGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/ToggleButtonGroup/ToggleButtonGroup.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAG7D,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,KAAK,EAAE,iBAAiB,CAAC;IACzB;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B;;OAEG;IACH,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAoC9D,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import React, { useEffect, useState } from 'react';
|
|
3
|
+
import { Button, Tooltip } from '@mui/material';
|
|
4
|
+
import { useLocale } from '../../../utils/hooks/useLocale';
|
|
5
|
+
export const ToggleButtonGroup = ({ onChange, options, size = 'small', value, }) => {
|
|
6
|
+
const locale = useLocale();
|
|
7
|
+
// Handle selection
|
|
8
|
+
const [selected, setSelected] = useState('');
|
|
9
|
+
useEffect(() => {
|
|
10
|
+
if (value) {
|
|
11
|
+
setSelected(value);
|
|
12
|
+
}
|
|
13
|
+
}, [value]);
|
|
14
|
+
return (React.createElement("div", { style: { display: 'flex', alignItems: 'center' } }, options.map((opt) => {
|
|
15
|
+
return (React.createElement(Tooltip, { key: opt.id, title: opt.tooltip?.[locale] || '' },
|
|
16
|
+
React.createElement(Button, { key: opt.id, size: size, color: 'primary', disabled: opt.disabled, variant: opt.id === selected ? 'contained' : 'outlined', onClick: () => onChange(opt.id) }, opt.label[locale])));
|
|
17
|
+
})));
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,YAAY,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,YAAY,EACV,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,uCAAuC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../src/components/display/Accordion/Accordion.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzC,OAAO,EAGL,cAAc,IAAI,iBAAiB,EAInC,eAAe,EAChB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAuB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGxE,UAAU,qBAAqB;IAC7B;;OAEG;IACH,KAAK,EAAE,iBAAiB,GAAG,MAAM,CAAC;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACtC;;OAEG;IACH,QAAQ,CAAC,EAAE,iBAAiB,GAAG,MAAM,CAAC;IACtC;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACzC;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,MAAM,MAAM,cAAc,GAAG,qBAAqB,GAChD,IAAI,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;AAEnC,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAqCvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
|
|
4
|
+
import { Accordion as MUIAccordion, AccordionDetails, AccordionSummary, Tooltip, Typography, } from '@mui/material';
|
|
5
|
+
import { isStringTranslation } from '../../../types';
|
|
6
|
+
import { useLocale } from '../../../utils';
|
|
7
|
+
const Accordion = ({ title, titleProps = { variant: 'h6', color: 'textPrimary' }, subtitle, subtitleProps = { variant: 'subtitle1', gutterBottom: true }, icon, tooltip, expandIcon = React.createElement(ExpandMoreIcon, null), children, ...muiProps }) => {
|
|
8
|
+
const locale = useLocale();
|
|
9
|
+
const titleString = isStringTranslation(title) ? title[locale] : title;
|
|
10
|
+
const subtitleString = subtitle && isStringTranslation(subtitle) ? subtitle[locale] : subtitle;
|
|
11
|
+
return (React.createElement(Tooltip, { title: tooltip || '' },
|
|
12
|
+
React.createElement(React.Fragment, null,
|
|
13
|
+
React.createElement(MUIAccordion, { ...muiProps },
|
|
14
|
+
React.createElement(AccordionSummary, { expandIcon: expandIcon },
|
|
15
|
+
icon && React.createElement("div", { style: { marginRight: '16px' } }, icon),
|
|
16
|
+
React.createElement(Typography, { ...titleProps }, titleString)),
|
|
17
|
+
React.createElement(AccordionDetails, null,
|
|
18
|
+
React.createElement(React.Fragment, null,
|
|
19
|
+
subtitle && (React.createElement(Typography, { ...subtitleProps }, subtitleString)),
|
|
20
|
+
children))))));
|
|
21
|
+
};
|
|
22
|
+
export default Accordion;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImprovementChip.d.ts","sourceRoot":"","sources":["../../../../src/components/display/StyledValue/ImprovementChip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAQ,SAAS,EAAW,MAAM,eAAe,CAAC;AAEzD,OAAO,EAAuB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGxE,MAAM,WAAW,oBAAqB,SAAQ,SAAS;IACrD,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,uBAAuB,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;IAC5D,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,OAAO,CAAC,EAAE,iBAAiB,GAAG,MAAM,CAAC;CACtC;AA4CD,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAuCnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { East, North, South } from '@mui/icons-material';
|
|
4
|
+
import NewReleasesOutlinedIcon from '@mui/icons-material/NewReleasesOutlined';
|
|
5
|
+
import { Chip, Tooltip } from '@mui/material';
|
|
6
|
+
import { isStringTranslation } from '../../../types';
|
|
7
|
+
import { useLocale } from '../../../utils';
|
|
8
|
+
const getColor = (delta, tol, isIncreasePositive) => {
|
|
9
|
+
if (delta === undefined) {
|
|
10
|
+
return 'success';
|
|
11
|
+
}
|
|
12
|
+
else if (delta >= tol) {
|
|
13
|
+
switch (isIncreasePositive) {
|
|
14
|
+
case true:
|
|
15
|
+
return 'success';
|
|
16
|
+
case false:
|
|
17
|
+
return 'error';
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
else if (delta <= -tol) {
|
|
21
|
+
switch (isIncreasePositive) {
|
|
22
|
+
case true:
|
|
23
|
+
return 'error';
|
|
24
|
+
case false:
|
|
25
|
+
return 'success';
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
return 'info';
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
const getIcon = (delta, tol, size) => {
|
|
33
|
+
if (delta === undefined) {
|
|
34
|
+
return React.createElement(NewReleasesOutlinedIcon, { fontSize: size });
|
|
35
|
+
}
|
|
36
|
+
else if (delta >= tol) {
|
|
37
|
+
return React.createElement(North, { fontSize: size });
|
|
38
|
+
}
|
|
39
|
+
else if (delta <= -tol) {
|
|
40
|
+
return React.createElement(South, { fontSize: size });
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
return React.createElement(East, { fontSize: size });
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
const ImprovementChip = ({ currentValue, previousValue, stationaryTolerance = 0.01, percentageFormatOptions = {
|
|
47
|
+
style: 'percent',
|
|
48
|
+
minimumFractionDigits: 0,
|
|
49
|
+
maximumFractionDigits: 1,
|
|
50
|
+
}, isIncreasePositive = true, tooltip, size = 'small', color, }) => {
|
|
51
|
+
const locale = useLocale();
|
|
52
|
+
const tooltipString = tooltip && isStringTranslation(tooltip) ? tooltip[locale] : tooltip;
|
|
53
|
+
const delta = previousValue !== 0
|
|
54
|
+
? (currentValue - previousValue) / previousValue
|
|
55
|
+
: undefined;
|
|
56
|
+
const deltaString = delta
|
|
57
|
+
? delta.toLocaleString(locale, percentageFormatOptions)
|
|
58
|
+
: 'NEW';
|
|
59
|
+
return (React.createElement(Tooltip, { title: tooltipString || '' },
|
|
60
|
+
React.createElement(Chip, { icon: getIcon(delta, stationaryTolerance, size), label: deltaString, color: color || getColor(delta, stationaryTolerance, isIncreasePositive), size: size })));
|
|
61
|
+
};
|
|
62
|
+
export default ImprovementChip;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StyledValue.d.ts","sourceRoot":"","sources":["../../../../src/components/display/StyledValue/StyledValue.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAIL,SAAS,EAGT,eAAe,EAChB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAuB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGxE,OAAwB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAG1E,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,kBAAkB,CAAC;CAC7B;AAMD,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,YAAY,CAAC;IAC9C,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,YAAY,CAAC;IACtD,aAAa,CAAC,EAAE,OAAO,CACrB,IAAI,CAAC,qBAAqB,GAAG,IAAI,CAAC,mBAAmB,CACtD,CAAC;IACF,OAAO,EAAE,MAAM,GAAG,iBAAiB,CAAC;IACpC,OAAO,CAAC,EAAE,MAAM,GAAG,iBAAiB,CAAC;IACrC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,eAAe,CAAC;IACvC,sBAAsB,CAAC,EAAE,eAAe,CAAC;IACzC,sBAAsB,CAAC,EAAE,eAAe,CAAC;IACzC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACzD,oBAAoB,CAAC,EAAE,IAAI,CACzB,OAAO,CAAC,oBAAoB,CAAC,EAC7B,oBAAoB,GAAG,qBAAqB,GAAG,OAAO,CACvD,CAAC;CACH;AAED,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA4I3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Box, Card, CardActionArea, Skeleton, Typography, } from '@mui/material';
|
|
4
|
+
import { isStringTranslation } from '../../../types';
|
|
5
|
+
import { isValidDate, useAPI, useLocale } from '../../../utils';
|
|
6
|
+
import { useValue } from './hooks';
|
|
7
|
+
import ImprovementChip from './ImprovementChip';
|
|
8
|
+
import t from './translations.json';
|
|
9
|
+
const isFetchedValue = (value) => {
|
|
10
|
+
return value.endpoint !== undefined;
|
|
11
|
+
};
|
|
12
|
+
const StyledValue = (props) => {
|
|
13
|
+
const { caption, details, formatOptions = {}, icon, raised = false, framed = false, loading = false, backgroundColor, valueTypographyProps = {
|
|
14
|
+
variant: 'h3',
|
|
15
|
+
color: 'primary',
|
|
16
|
+
}, captionTypographyProps = { variant: 'subtitle2', color: 'textPrimary' }, detailsTypographyProps = { variant: 'caption', color: 'textSecondary' }, cardProps, onCardClick, improvementChipProps = {
|
|
17
|
+
isIncreasePositive: true,
|
|
18
|
+
stationaryTolerance: 0.01,
|
|
19
|
+
}, } = props;
|
|
20
|
+
const locale = useLocale();
|
|
21
|
+
// Value
|
|
22
|
+
const apiClient = useAPI(props.value && isFetchedValue(props.value)
|
|
23
|
+
? props.value.baseURL
|
|
24
|
+
: undefined);
|
|
25
|
+
const { data: value, isLoading: isLoadingValue } = useValue(apiClient, props.value);
|
|
26
|
+
const { data: previousValue } = useValue(apiClient, props.previousValue);
|
|
27
|
+
const stringValue = typeof value === 'number'
|
|
28
|
+
? value?.toLocaleString(locale, formatOptions)
|
|
29
|
+
: value && isValidDate(value)
|
|
30
|
+
? new Date(value)?.toLocaleString(locale, formatOptions)
|
|
31
|
+
: value;
|
|
32
|
+
const stringPreviousValue = typeof previousValue === 'number'
|
|
33
|
+
? previousValue?.toLocaleString(locale, formatOptions)
|
|
34
|
+
: previousValue && isValidDate(previousValue)
|
|
35
|
+
? new Date(previousValue)?.toLocaleString(locale, formatOptions)
|
|
36
|
+
: previousValue;
|
|
37
|
+
const captionString = isStringTranslation(caption)
|
|
38
|
+
? caption[locale]
|
|
39
|
+
: caption;
|
|
40
|
+
const detailsString = details && isStringTranslation(details) ? details[locale] : details;
|
|
41
|
+
const cardStyle = {};
|
|
42
|
+
if (!framed) {
|
|
43
|
+
cardStyle['border'] = 'none';
|
|
44
|
+
cardStyle['boxShadow'] = 'none';
|
|
45
|
+
}
|
|
46
|
+
return (React.createElement(Card, { ...cardProps, raised: raised, sx: {
|
|
47
|
+
...cardStyle,
|
|
48
|
+
backgroundColor,
|
|
49
|
+
height: '100%',
|
|
50
|
+
p: 0,
|
|
51
|
+
'&:last-child': {
|
|
52
|
+
paddingBottom: 0,
|
|
53
|
+
},
|
|
54
|
+
} },
|
|
55
|
+
React.createElement(CardActionArea, { onClick: onCardClick, sx: {
|
|
56
|
+
p: 2,
|
|
57
|
+
'&:last-child': {
|
|
58
|
+
paddingBottom: 2,
|
|
59
|
+
},
|
|
60
|
+
} },
|
|
61
|
+
React.createElement(Box, { sx: {
|
|
62
|
+
display: 'flex',
|
|
63
|
+
alignItems: 'center',
|
|
64
|
+
flexWrap: 'wrap',
|
|
65
|
+
flexDirection: 'row',
|
|
66
|
+
justifyContent: 'space-between',
|
|
67
|
+
} },
|
|
68
|
+
icon && React.createElement(Box, { sx: { marginRight: 2 } }, icon),
|
|
69
|
+
React.createElement(Box, { sx: {
|
|
70
|
+
width: '90%',
|
|
71
|
+
display: 'flex',
|
|
72
|
+
flexWrap: 'wrap',
|
|
73
|
+
flexDirection: 'row-reverse',
|
|
74
|
+
justifyContent: 'space-between',
|
|
75
|
+
alignItems: 'center',
|
|
76
|
+
} },
|
|
77
|
+
previousValue !== undefined &&
|
|
78
|
+
previousValue !== null &&
|
|
79
|
+
stringPreviousValue && (React.createElement(ImprovementChip, { currentValue: value, previousValue: previousValue, tooltip: `${stringPreviousValue} ${t['tooltipPreviousPeriod'][locale]}`, ...improvementChipProps })),
|
|
80
|
+
React.createElement(Typography, { ...valueTypographyProps }, loading || isLoadingValue || value === undefined ? (React.createElement(Skeleton, null)) : (stringValue)))),
|
|
81
|
+
React.createElement(Typography, { ...captionTypographyProps }, captionString),
|
|
82
|
+
details && (React.createElement(Typography, { ...detailsTypographyProps }, detailsString)))));
|
|
83
|
+
};
|
|
84
|
+
export default StyledValue;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AxiosInstance } from 'axios';
|
|
2
|
+
import { FetchedValue } from './StyledValue';
|
|
3
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
4
|
+
export type {} from '@tanstack/react-query';
|
|
5
|
+
export declare const useValue: (apiClient?: AxiosInstance, value?: number | Date | string | FetchedValue) => UseQueryResult<string | number | Date | undefined, Error>;
|
|
6
|
+
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../src/components/display/StyledValue/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AA4BvD,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE5C,eAAO,MAAM,QAAQ,eACP,aAAa,UACjB,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,YAAY,KAC5C,eAAe,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,KAAK,CAMvD,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useValue = void 0;
|
|
4
|
-
const react_query_1 = require("react-query");
|
|
1
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
2
|
const getValue = async (apiClient, value) => {
|
|
6
|
-
if (value) {
|
|
3
|
+
if (value !== undefined && value !== null) {
|
|
7
4
|
if (value instanceof Date) {
|
|
8
5
|
return value;
|
|
9
6
|
}
|
|
@@ -24,9 +21,9 @@ const getValue = async (apiClient, value) => {
|
|
|
24
21
|
}
|
|
25
22
|
}
|
|
26
23
|
};
|
|
27
|
-
const useValue = (apiClient, value) =>
|
|
28
|
-
|
|
24
|
+
export const useValue = (apiClient, value) => useQuery({
|
|
25
|
+
queryKey: [value],
|
|
26
|
+
queryFn: () => getValue(apiClient, value),
|
|
29
27
|
refetchOnMount: false,
|
|
30
28
|
refetchOnWindowFocus: false,
|
|
31
29
|
});
|
|
32
|
-
exports.useValue = useValue;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/display/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAC7D,YAAY,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC3E,YAAY,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
|
+
import NextLink from 'next/link';
|
|
3
|
+
import { Locale } from '../../types';
|
|
4
|
+
export interface LinkProps extends Omit<ComponentProps<typeof NextLink>, 'locale'> {
|
|
5
|
+
locale?: Locale;
|
|
6
|
+
}
|
|
7
|
+
declare const Link: ({ locale, href, ...otherProps }: LinkProps) => React.JSX.Element;
|
|
8
|
+
export default Link;
|
|
9
|
+
//# sourceMappingURL=Link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../src/components/i18n/Link.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,QAAQ,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAIrC,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACvD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,QAAA,MAAM,IAAI,oCAAqC,SAAS,sBAavD,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import NextLink from 'next/link';
|
|
4
|
+
import { useLocale } from '../..';
|
|
5
|
+
const Link = ({ locale, href, ...otherProps }) => {
|
|
6
|
+
const currentLocale = useLocale();
|
|
7
|
+
const targetLocale = locale || currentLocale;
|
|
8
|
+
let localizedHref;
|
|
9
|
+
if (typeof href === 'string') {
|
|
10
|
+
localizedHref = `/${targetLocale}${href}`;
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
localizedHref = { ...href };
|
|
14
|
+
if (href.pathname) {
|
|
15
|
+
localizedHref.pathname = `/${targetLocale}${href.pathname}`;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return React.createElement(NextLink, { href: localizedHref, ...otherProps });
|
|
19
|
+
};
|
|
20
|
+
export default Link;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Link } from './Link';
|
|
@@ -2,8 +2,12 @@ export { Avatar, LanguageSelect, ToggleButtonGroup } from './buttons';
|
|
|
2
2
|
export type { AvatarProps, ButtonGroupOption, LanguageSelectProps, ToggleButtonGroupProps, } from './buttons';
|
|
3
3
|
export { Accordion, StyledValue, ImprovementChip } from './display';
|
|
4
4
|
export type { AccordionProps, StyledValueProps, ImprovementChipProps, FetchedValue, } from './display';
|
|
5
|
+
export { Link } from './i18n';
|
|
6
|
+
export type { LinkProps } from './i18n';
|
|
5
7
|
export { MinimalLayout, StandardLayout } from './layout';
|
|
6
8
|
export type { AppLogoInfo, FooterProps, SidebarLink, SidebarProps, } from './layout';
|
|
7
9
|
export { CircularLoading } from './progress';
|
|
8
10
|
export type { CircularLoadingProps } from './progress';
|
|
11
|
+
export { PageProvider } from './provider';
|
|
12
|
+
export type { PageProviderProps } from './provider';
|
|
9
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACtE,YAAY,EACV,WAAW,EACX,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,GACvB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACpE,YAAY,EACV,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,YAAY,GACb,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AACzD,YAAY,EACV,WAAW,EACX,WAAW,EACX,WAAW,EACX,YAAY,GACb,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,YAAY,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { Avatar, LanguageSelect, ToggleButtonGroup } from './buttons';
|
|
2
|
+
export { Accordion, StyledValue, ImprovementChip } from './display';
|
|
3
|
+
export { Link } from './i18n';
|
|
4
|
+
export { MinimalLayout, StandardLayout } from './layout';
|
|
5
|
+
export { CircularLoading } from './progress';
|
|
6
|
+
export { PageProvider } from './provider';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MinimalLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/MinimalLayout/MinimalLayout.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIzC,OAAe,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAKlE,UAAU,kBAAkB;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAgF/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Box, Typography, useTheme as useMUITheme } from '@mui/material';
|
|
4
|
+
import { CircularLoading } from '../../progress';
|
|
5
|
+
import ServerDown from '../assets/ServerDown';
|
|
6
|
+
import Footer from '../components/Footer/Footer';
|
|
7
|
+
import TopLine from '../components/Topline/TopLine';
|
|
8
|
+
import t from './translations.json';
|
|
9
|
+
import { useLocale } from '../../..';
|
|
10
|
+
const MinimalLayout = ({ isLoading, isError, error, footer, children, }) => {
|
|
11
|
+
const theme = useMUITheme();
|
|
12
|
+
const locale = useLocale();
|
|
13
|
+
return (React.createElement(React.Fragment, null,
|
|
14
|
+
React.createElement(TopLine, null),
|
|
15
|
+
React.createElement(Box, { sx: {
|
|
16
|
+
display: 'flex',
|
|
17
|
+
flexDirection: 'column',
|
|
18
|
+
paddingBottom: '10px',
|
|
19
|
+
minHeight: '100vh',
|
|
20
|
+
width: '100%',
|
|
21
|
+
background: theme.palette.background.default,
|
|
22
|
+
} },
|
|
23
|
+
isLoading && React.createElement(CircularLoading, { locale: locale }),
|
|
24
|
+
!isLoading && isError && (React.createElement(Box, { sx: {
|
|
25
|
+
flexGrow: 1,
|
|
26
|
+
maxWidth: '100%',
|
|
27
|
+
overflowX: 'hidden',
|
|
28
|
+
paddingTop: '10px',
|
|
29
|
+
paddingBottom: '10px',
|
|
30
|
+
paddingLeft: '27px',
|
|
31
|
+
paddingRight: '27px',
|
|
32
|
+
} },
|
|
33
|
+
React.createElement("div", { style: {
|
|
34
|
+
display: 'flex',
|
|
35
|
+
flexDirection: 'column',
|
|
36
|
+
justifyContent: 'center',
|
|
37
|
+
alignItems: 'center',
|
|
38
|
+
height: '100vh',
|
|
39
|
+
} },
|
|
40
|
+
React.createElement(ServerDown, { width: 300, height: 300 }),
|
|
41
|
+
React.createElement(Typography, { variant: 'h4', color: 'error', align: 'center' }, t['errorPageLoad'][locale]),
|
|
42
|
+
error && (React.createElement(Typography, { variant: 'body1', color: 'error', align: 'center' },
|
|
43
|
+
"Error: ",
|
|
44
|
+
error.message))))),
|
|
45
|
+
!isLoading && (React.createElement(Box, { sx: {
|
|
46
|
+
flexGrow: 1,
|
|
47
|
+
// display: 'flex',
|
|
48
|
+
// flexDirection: 'column',
|
|
49
|
+
// height: '100%',
|
|
50
|
+
maxWidth: '100%',
|
|
51
|
+
overflowX: 'hidden',
|
|
52
|
+
paddingTop: '10px',
|
|
53
|
+
paddingBottom: '10px',
|
|
54
|
+
paddingLeft: '27px',
|
|
55
|
+
paddingRight: '27px',
|
|
56
|
+
} }, children)),
|
|
57
|
+
React.createElement(Footer, { ...footer }))));
|
|
58
|
+
};
|
|
59
|
+
export default MinimalLayout;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"errorPageLoad": {
|
|
3
3
|
"de": "Ups! Beim Abrufen der Seiteninformationen ist ein Fehler aufgetreten.",
|
|
4
4
|
"en": "Oops! Something went wrong retrieving page information.",
|
|
5
|
+
"es": "¡Ups! Algo salió mal al recuperar la información de la página",
|
|
5
6
|
"fr": "Oups! Quelque chose s'est mal passé lors de la récupération des informations de la page.",
|
|
6
7
|
"it": "Oops! Qualcosa è andato storto nel recupero delle informazioni sulla pagina."
|
|
7
8
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StandardLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/StandardLayout/StandardLayout.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQzC,OAAgB,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAe,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAgB,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAIrE,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAG1D,UAAU,mBAAmB;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B;;OAEG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;CACxB;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAoHjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Box, Typography, useMediaQuery, useTheme as useMUITheme, } from '@mui/material';
|
|
4
|
+
import { CircularLoading } from '../../progress';
|
|
5
|
+
import AppLogo from '../components/AppLogo/AppLogo';
|
|
6
|
+
import Footer from '../components/Footer/Footer';
|
|
7
|
+
import Sidebar from '../components/Sidebar/Sidebar';
|
|
8
|
+
import Topbar from '../components/Topbar/Topbar';
|
|
9
|
+
import TopLine from '../components/Topline/TopLine';
|
|
10
|
+
import { useLocale, usePersistedState } from '../../../utils';
|
|
11
|
+
import ServerDown from '../assets/ServerDown';
|
|
12
|
+
import t from './translations.json';
|
|
13
|
+
const StandardLayout = ({ isLoading, isError, error, appLogo, footer, sidebarLinks = [], avatar, languages, children, }) => {
|
|
14
|
+
const theme = useMUITheme();
|
|
15
|
+
const locale = useLocale();
|
|
16
|
+
// Get if we are dealing with mobile client
|
|
17
|
+
const isMobile = !useMediaQuery(theme.breakpoints.up('lg'));
|
|
18
|
+
// Persist user preference about the sidebar
|
|
19
|
+
const [sidebarOpen, setSidebarOpen] = usePersistedState('sidebarOpen', isMobile ? false : true);
|
|
20
|
+
// Don't show anything until localStorage has been read
|
|
21
|
+
if (sidebarOpen == undefined) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return (React.createElement(Box, { sx: { display: 'flex', flexDirection: 'row' } },
|
|
25
|
+
sidebarLinks && sidebarLinks.length > 0 && (React.createElement(Sidebar, { links: sidebarLinks, onClose: () => setSidebarOpen(false), open: sidebarOpen, isMobile: isMobile, logo: appLogo ? React.createElement(AppLogo, { ...appLogo, open: sidebarOpen }) : React.createElement(React.Fragment, null), locale: locale })),
|
|
26
|
+
React.createElement(Box, { sx: {
|
|
27
|
+
display: 'flex',
|
|
28
|
+
flexDirection: 'column',
|
|
29
|
+
paddingBottom: '10px',
|
|
30
|
+
minHeight: '100vh',
|
|
31
|
+
width: '100%',
|
|
32
|
+
background: theme.palette.background.default,
|
|
33
|
+
} },
|
|
34
|
+
React.createElement(TopLine, null),
|
|
35
|
+
React.createElement(Topbar, { hasSidebar: sidebarLinks && sidebarLinks.length > 0, onSidebarClose: () => setSidebarOpen(false), onSidebarOpen: () => setSidebarOpen(true), open: sidebarOpen, locale: locale, languages: languages, avatar: avatar }),
|
|
36
|
+
isLoading && React.createElement(CircularLoading, { locale: locale }),
|
|
37
|
+
!isLoading && isError && (React.createElement(Box, { sx: {
|
|
38
|
+
flexGrow: 1,
|
|
39
|
+
// display: 'flex',
|
|
40
|
+
// flexDirection: 'column',
|
|
41
|
+
// height: '100%',
|
|
42
|
+
maxWidth: '100%',
|
|
43
|
+
overflowX: 'hidden',
|
|
44
|
+
paddingTop: '10px',
|
|
45
|
+
paddingBottom: '10px',
|
|
46
|
+
paddingLeft: '27px',
|
|
47
|
+
paddingRight: '27px',
|
|
48
|
+
} },
|
|
49
|
+
React.createElement("div", { style: {
|
|
50
|
+
display: 'flex',
|
|
51
|
+
flexDirection: 'column',
|
|
52
|
+
justifyContent: 'center',
|
|
53
|
+
alignItems: 'center',
|
|
54
|
+
height: '100vh',
|
|
55
|
+
} },
|
|
56
|
+
React.createElement(ServerDown, { width: 300, height: 300 }),
|
|
57
|
+
React.createElement(Typography, { variant: 'h4', color: 'error', align: 'center' }, t['errorPageLoad'][locale]),
|
|
58
|
+
error && (React.createElement(Typography, { variant: 'body1', color: 'error', align: 'center' },
|
|
59
|
+
"Error: ",
|
|
60
|
+
error.message))))),
|
|
61
|
+
!isLoading && (React.createElement(Box, { sx: {
|
|
62
|
+
// flexGrow: 1,
|
|
63
|
+
maxWidth: '100%',
|
|
64
|
+
overflowX: 'hidden',
|
|
65
|
+
paddingTop: '10px',
|
|
66
|
+
paddingBottom: '10px',
|
|
67
|
+
paddingLeft: '27px',
|
|
68
|
+
paddingRight: '27px',
|
|
69
|
+
} }, children)),
|
|
70
|
+
React.createElement(Footer, { ...footer }))));
|
|
71
|
+
};
|
|
72
|
+
export default StandardLayout;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"errorPageLoad": {
|
|
3
3
|
"de": "Ups! Beim Abrufen der Seiteninformationen ist ein Fehler aufgetreten.",
|
|
4
4
|
"en": "Oops! Something went wrong retrieving page information.",
|
|
5
|
+
"es": "¡Ups! Algo salió mal al recuperar la información de la página",
|
|
5
6
|
"fr": "Oups! Quelque chose s'est mal passé lors de la récupération des informations de la page.",
|
|
6
7
|
"it": "Oops! Qualcosa è andato storto nel recupero delle informazioni sulla pagina."
|
|
7
8
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeixLogo.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/assets/DeixLogo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,SAAS;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA0BjC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|