@gen-epix/ui-client-common 4.9.0 → 4.10.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.
@@ -81,7 +81,7 @@ var m = ({ children: t, closeIcon: m, closeIconTooltipText: h, onClose: g, open:
81
81
  return /* @__PURE__ */ d(n, {
82
82
  ...p.createAttributes("SidebarMenu"),
83
83
  sx: {
84
- borderRight: "1px solid #C8DDFB",
84
+ borderRight: `1px solid ${r.palette.divider}`,
85
85
  bottom: 0,
86
86
  display: "flex",
87
87
  flexDirection: "column",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_Fragment","Fragment$1","SidebarItem","theme","useTheme","config","useConfig","mainContentDOMRect","setMainContentDOMRect","useState","mainContentElement","observer","Drawer","TestIdUtil","testIdAttributes","open","Box","width","Typography","title","Tooltip","closeIconTooltipText","IconButton","onClose","closeIcon","SidebarMenu","SidebarMenuItem","first","Badge","badgeContent","badgeColor","icon"],"sources":["../../../../src/components/ui/Sidebar/SidebarItem.tsx","../../../../src/components/ui/Sidebar/SidebarMenu.tsx","../../../../src/components/ui/Sidebar/SidebarMenuItem.tsx"],"sourcesContent":["import {\n Box,\n Drawer,\n IconButton,\n Tooltip,\n Typography,\n useTheme,\n} from '@mui/material';\nimport {\n useEffect,\n useState,\n} from 'react';\nimport type {\n PropsWithChildren,\n ReactElement,\n} from 'react';\nimport { TestIdUtil } from '@gen-epix/ui-core/utils/TestIdUtil';\nimport type { PropsWithTestIdAttributes } from '@gen-epix/ui-core/models/test-id.models';\n\nimport { useConfig } from '../../../hooks/useConfig';\n\nexport type SidebarItemProps = PropsWithTestIdAttributes<PropsWithChildren<{\n readonly closeIcon: ReactElement;\n readonly closeIconTooltipText: string;\n readonly title: string;\n readonly width: number;\n} & SidebarItemSharedProps>>;\n\nexport type SidebarItemSharedProps = {\n readonly onClose: () => void;\n readonly open: boolean;\n};\n\nexport const SidebarItem = ({ children, closeIcon, closeIconTooltipText, onClose, open, testIdAttributes, title, width }: SidebarItemProps) => {\n const theme = useTheme();\n const config = useConfig();\n const [mainContentDOMRect, setMainContentDOMRect] = useState<DOMRect>(null);\n\n useEffect(() => {\n const mainContentElement = document.getElementById(config.layout.MAIN_CONTENT_ID);\n\n\n setMainContentDOMRect(mainContentElement.getBoundingClientRect());\n\n const observer = new ResizeObserver(() => {\n setMainContentDOMRect(mainContentElement.getBoundingClientRect());\n });\n observer.observe(mainContentElement, {\n box: 'content-box',\n });\n observer.observe(document.body);\n return () => {\n observer.disconnect();\n };\n }, [config.layout.MAIN_CONTENT_ID]);\n\n const { height, top } = mainContentDOMRect ?? {};\n\n return (\n <Drawer\n anchor={'left'}\n onClose={onClose}\n open={open}\n slotProps={{\n backdrop: {\n sx: {\n height,\n top,\n },\n },\n paper: {\n sx: {\n height,\n top,\n },\n },\n root: {\n ...TestIdUtil.createAttributes('SidebarItem', testIdAttributes),\n sx: {\n height,\n top,\n },\n },\n }}\n >\n {!open && (\n <Box\n sx={{\n width: theme.spacing(width),\n }}\n />\n )}\n {open && (\n <>\n <Box\n sx={{\n alignItems: 'center',\n background: theme.palette.grey[100],\n display: 'flex',\n height: theme.spacing(6),\n justifyContent: 'space-between',\n maxWidth: '100vw',\n width: theme.spacing(width),\n }}\n >\n <Typography\n component={'h3'}\n style={{ paddingLeft: theme.spacing(1) }}\n variant={'h5'}\n >\n {title}\n </Typography>\n <Tooltip\n arrow\n title={closeIconTooltipText}\n >\n <IconButton\n color={'primary'}\n onClick={onClose}\n {...TestIdUtil.createAttributes('SidebarItem-CloseButton')}\n >\n {closeIcon}\n </IconButton>\n </Tooltip>\n </Box>\n <Box\n sx={{\n paddingX: 1,\n }}\n >\n <Box\n sx={{\n height: `calc(100% - ${theme.spacing(6)})`,\n position: 'absolute',\n top: theme.spacing(6),\n width: theme.spacing(width - 1),\n }}\n >\n {children}\n </Box>\n </Box>\n </>\n )}\n </Drawer>\n\n );\n};\n","import {\n Box,\n useTheme,\n} from '@mui/material';\nimport type { PropsWithChildren } from 'react';\nimport { TestIdUtil } from '@gen-epix/ui-core/utils/TestIdUtil';\n\nimport { useConfig } from '../../../hooks/useConfig';\n\nexport type SidebarMenuProps = PropsWithChildren;\n\nexport const SidebarMenu = ({ children }: SidebarMenuProps) => {\n const theme = useTheme();\n const config = useConfig();\n\n return (\n <Box\n {...TestIdUtil.createAttributes('SidebarMenu')}\n sx={{\n borderRight: '1px solid #C8DDFB',\n bottom: 0,\n display: 'flex',\n flexDirection: 'column',\n left: 0,\n position: 'absolute',\n top: 0,\n width: theme.spacing(config.layout.SIDEBAR_MENU_WIDTH),\n zIndex: 2,\n }}\n >\n {children}\n </Box>\n );\n};\n","import type { BadgeOwnProps } from '@mui/material';\nimport {\n Badge,\n IconButton,\n Tooltip,\n useTheme,\n} from '@mui/material';\nimport type { ReactElement } from 'react';\nimport { TestIdUtil } from '@gen-epix/ui-core/utils/TestIdUtil';\nimport type { PropsWithTestIdAttributes } from '@gen-epix/ui-core/models/test-id.models';\n\n\nexport type SidebarMenuItemProps = PropsWithTestIdAttributes<{\n readonly badgeColor?: BadgeOwnProps['color'];\n readonly badgeContent?: number | string;\n readonly first?: boolean;\n readonly icon: ReactElement;\n readonly onClick: () => void;\n readonly title: string;\n}>;\n\nexport const SidebarMenuItem = ({\n badgeColor = 'secondary',\n badgeContent,\n first,\n icon,\n onClick,\n testIdAttributes,\n title,\n}: SidebarMenuItemProps) => {\n const theme = useTheme();\n\n return (\n <Tooltip\n arrow\n placement={'right'}\n title={title}\n >\n <IconButton\n {...TestIdUtil.createAttributes('SidebarMenuItem', testIdAttributes)}\n aria-label={title}\n color={'primary'}\n onClick={onClick}\n sx={{\n marginLeft: theme.spacing(-1),\n marginTop: theme.spacing(first ? 0 : 2),\n padding: 0,\n }}\n >\n <Badge\n badgeContent={badgeContent ?? 0}\n color={badgeColor}\n sx={{ '& .MuiBadge-badge': { fontSize: 9, height: 15, minWidth: 15 } }}\n >\n {icon}\n </Badge>\n </IconButton>\n </Tooltip>\n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qB;KAAE,UAAU;KAAG,QAAQ;KAAI,UAAU;IAAG,EAAE;IAEpE,UAAAC;GACI,CAAA;EACG,CAAA;CACL,CAAA;AAEb"}
1
+ {"version":3,"file":"index.js","names":["_Fragment","Fragment$1","SidebarItem","theme","useTheme","config","useConfig","mainContentDOMRect","setMainContentDOMRect","useState","mainContentElement","observer","Drawer","TestIdUtil","testIdAttributes","open","Box","width","Typography","title","Tooltip","closeIconTooltipText","IconButton","onClose","closeIcon","SidebarMenu","SidebarMenuItem","first","Badge","badgeContent","badgeColor","icon"],"sources":["../../../../src/components/ui/Sidebar/SidebarItem.tsx","../../../../src/components/ui/Sidebar/SidebarMenu.tsx","../../../../src/components/ui/Sidebar/SidebarMenuItem.tsx"],"sourcesContent":["import {\n Box,\n Drawer,\n IconButton,\n Tooltip,\n Typography,\n useTheme,\n} from '@mui/material';\nimport {\n useEffect,\n useState,\n} from 'react';\nimport type {\n PropsWithChildren,\n ReactElement,\n} from 'react';\nimport { TestIdUtil } from '@gen-epix/ui-core/utils/TestIdUtil';\nimport type { PropsWithTestIdAttributes } from '@gen-epix/ui-core/models/test-id.models';\n\nimport { useConfig } from '../../../hooks/useConfig';\n\nexport type SidebarItemProps = PropsWithTestIdAttributes<PropsWithChildren<{\n readonly closeIcon: ReactElement;\n readonly closeIconTooltipText: string;\n readonly title: string;\n readonly width: number;\n} & SidebarItemSharedProps>>;\n\nexport type SidebarItemSharedProps = {\n readonly onClose: () => void;\n readonly open: boolean;\n};\n\nexport const SidebarItem = ({ children, closeIcon, closeIconTooltipText, onClose, open, testIdAttributes, title, width }: SidebarItemProps) => {\n const theme = useTheme();\n const config = useConfig();\n const [mainContentDOMRect, setMainContentDOMRect] = useState<DOMRect>(null);\n\n useEffect(() => {\n const mainContentElement = document.getElementById(config.layout.MAIN_CONTENT_ID);\n\n\n setMainContentDOMRect(mainContentElement.getBoundingClientRect());\n\n const observer = new ResizeObserver(() => {\n setMainContentDOMRect(mainContentElement.getBoundingClientRect());\n });\n observer.observe(mainContentElement, {\n box: 'content-box',\n });\n observer.observe(document.body);\n return () => {\n observer.disconnect();\n };\n }, [config.layout.MAIN_CONTENT_ID]);\n\n const { height, top } = mainContentDOMRect ?? {};\n\n return (\n <Drawer\n anchor={'left'}\n onClose={onClose}\n open={open}\n slotProps={{\n backdrop: {\n sx: {\n height,\n top,\n },\n },\n paper: {\n sx: {\n height,\n top,\n },\n },\n root: {\n ...TestIdUtil.createAttributes('SidebarItem', testIdAttributes),\n sx: {\n height,\n top,\n },\n },\n }}\n >\n {!open && (\n <Box\n sx={{\n width: theme.spacing(width),\n }}\n />\n )}\n {open && (\n <>\n <Box\n sx={{\n alignItems: 'center',\n background: theme.palette.grey[100],\n display: 'flex',\n height: theme.spacing(6),\n justifyContent: 'space-between',\n maxWidth: '100vw',\n width: theme.spacing(width),\n }}\n >\n <Typography\n component={'h3'}\n style={{ paddingLeft: theme.spacing(1) }}\n variant={'h5'}\n >\n {title}\n </Typography>\n <Tooltip\n arrow\n title={closeIconTooltipText}\n >\n <IconButton\n color={'primary'}\n onClick={onClose}\n {...TestIdUtil.createAttributes('SidebarItem-CloseButton')}\n >\n {closeIcon}\n </IconButton>\n </Tooltip>\n </Box>\n <Box\n sx={{\n paddingX: 1,\n }}\n >\n <Box\n sx={{\n height: `calc(100% - ${theme.spacing(6)})`,\n position: 'absolute',\n top: theme.spacing(6),\n width: theme.spacing(width - 1),\n }}\n >\n {children}\n </Box>\n </Box>\n </>\n )}\n </Drawer>\n\n );\n};\n","import {\n Box,\n useTheme,\n} from '@mui/material';\nimport type { PropsWithChildren } from 'react';\nimport { TestIdUtil } from '@gen-epix/ui-core/utils/TestIdUtil';\n\nimport { useConfig } from '../../../hooks/useConfig';\n\nexport type SidebarMenuProps = PropsWithChildren;\n\nexport const SidebarMenu = ({ children }: SidebarMenuProps) => {\n const theme = useTheme();\n const config = useConfig();\n\n return (\n <Box\n {...TestIdUtil.createAttributes('SidebarMenu')}\n sx={{\n borderRight: `1px solid ${theme.palette.divider}`,\n bottom: 0,\n display: 'flex',\n flexDirection: 'column',\n left: 0,\n position: 'absolute',\n top: 0,\n width: theme.spacing(config.layout.SIDEBAR_MENU_WIDTH),\n zIndex: 2,\n }}\n >\n {children}\n </Box>\n );\n};\n","import type { BadgeOwnProps } from '@mui/material';\nimport {\n Badge,\n IconButton,\n Tooltip,\n useTheme,\n} from '@mui/material';\nimport type { ReactElement } from 'react';\nimport { TestIdUtil } from '@gen-epix/ui-core/utils/TestIdUtil';\nimport type { PropsWithTestIdAttributes } from '@gen-epix/ui-core/models/test-id.models';\n\n\nexport type SidebarMenuItemProps = PropsWithTestIdAttributes<{\n readonly badgeColor?: BadgeOwnProps['color'];\n readonly badgeContent?: number | string;\n readonly first?: boolean;\n readonly icon: ReactElement;\n readonly onClick: () => void;\n readonly title: string;\n}>;\n\nexport const SidebarMenuItem = ({\n badgeColor = 'secondary',\n badgeContent,\n first,\n icon,\n onClick,\n testIdAttributes,\n title,\n}: SidebarMenuItemProps) => {\n const theme = useTheme();\n\n return (\n <Tooltip\n arrow\n placement={'right'}\n title={title}\n >\n <IconButton\n {...TestIdUtil.createAttributes('SidebarMenuItem', testIdAttributes)}\n aria-label={title}\n color={'primary'}\n onClick={onClick}\n sx={{\n marginLeft: theme.spacing(-1),\n marginTop: theme.spacing(first ? 0 : 2),\n padding: 0,\n }}\n >\n <Badge\n badgeContent={badgeContent ?? 0}\n color={badgeColor}\n sx={{ '& .MuiBadge-badge': { fontSize: 9, height: 15, minWidth: 15 } }}\n >\n {icon}\n </Badge>\n </IconButton>\n </Tooltip>\n );\n};\n"],"mappings":";;;;;;AAiCA,IAAaE,KAAe,EAAE,aAAU,cAAW,yBAAsB,YAAS,SAAM,qBAAkB,UAAO,eAA8B;CAC7I,IAAMC,IAAQC,EAAS,GACjBC,IAASC,EAAU,GACnB,CAACC,GAAoBC,KAAyBC,EAAkB,IAAI;CAE1E,QAAgB;EACd,IAAMC,IAAqB,SAAS,eAAeL,EAAO,OAAO,eAAe;E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UAAA,kBAACA,GAAD;IACE,IAAI;KACF,QAAQ,eAAeb,EAAM,QAAQ,CAAC,EAAE;KACxC,UAAU;KACV,KAAKA,EAAM,QAAQ,CAAC;KACpB,OAAOA,EAAM,QAAQc,IAAQ,CAAC;IAChC;IAEC;GACE,CAAA;EACF,CAAA,CACL,EAAA,CAAA,CAEE;;AAGZ,GCvIaQ,KAAe,EAAE,kBAAiC;CAC7D,IAAMtB,IAAQC,EAAS,GACjBC,IAASC,EAAU;CAEzB,OACE,kBAACU,GAAD;EACE,GAAIH,EAAW,iBAAiB,aAAa;EAC7C,IAAI;GACF,aAAa,aAAaV,EAAM,QAAQ;GACxC,QAAQ;GACR,SAAS;GACT,eAAe;GACf,MAAM;GACN,UAAU;GACV,KAAK;GACL,OAAOA,EAAM,QAAQE,EAAO,OAAO,kBAAkB;GACrD,QAAQ;EACV;EAEC;CACE,CAAA;AAET,GCZaqB,KAAmB,EAC9B,gBAAa,aACb,iBACA,UACA,SACA,YACA,qBACA,eAC0B;CAC1B,IAAMvB,IAAQC,EAAS;CAEvB,OACE,kBAACgB,GAAD;EACE,OAAA;EACA,WAAW;EACJ;EAEP,UAAA,kBAACE,GAAD;GACE,GAAIT,EAAW,iBAAiB,mBAAmBC,CAAgB;GACnE,cAAYK;GACZ,OAAO;GACE;GACT,IAAI;IACF,YAAYhB,EAAM,QAAQ,EAAE;IAC5B,WAAWA,EAAM,QAAQwB,IAAQ,IAAI,CAAC;IACtC,SAAS;GACX;GAEA,UAAA,kBAACC,GAAD;IACE,cAAcC,KAAgB;IAC9B,OAAOC;IACP,IAAI,EAAE,qBAAqB;KAAE,UAAU;KAAG,QAAQ;KAAI,UAAU;IAAG,EAAE;IAEpE,UAAAC;GACI,CAAA;EACG,CAAA;CACL,CAAA;AAEb"}
@@ -4,6 +4,10 @@ import { ListRange } from 'react-virtuoso';
4
4
  import { Subject } from '@gen-epix/ui-core/classes/Subject';
5
5
  import { TableRowParams } from '../../../models/table.models';
6
6
  import { TableColumnsEditorDialogItem } from './TableColumnsEditorDialog';
7
+ export type TableTheme = {
8
+ readonly rowDivider: string;
9
+ readonly headerDivider: string;
10
+ };
7
11
  export type TableProps<TRowData, TDataContext = null> = {
8
12
  readonly font?: string;
9
13
  readonly forceHorizontalOverflow?: boolean;
@@ -9,6 +9,10 @@ var t = "data:font/woff2;base64,d09GMgABAAAAC2dAABUAAAAZt9gAC2a/AAEAAAAAAAAAAAAA
9
9
  xs: 0
10
10
  } },
11
11
  components: {
12
+ GenEpixUiClientCommonTable: {
13
+ headerDivider: "#999999",
14
+ rowDivider: "#eeeeee"
15
+ },
12
16
  GenEpixUiClientCommonApplicationBar: {
13
17
  background: "#154273",
14
18
  primaryColor: "#fff"
@@ -311,7 +315,7 @@ var t = "data:font/woff2;base64,d09GMgABAAAAC2dAABUAAAAZt9gAC2a/AAEAAAAAAAAAAAAA
311
315
  } }
312
316
  },
313
317
  palette: {
314
- divider: "#eeeeee",
318
+ divider: "#bbbbbb",
315
319
  error: {
316
320
  contrastText: "#fff",
317
321
  main: "#cf0101"