{"version":3,"sources":["../call-control-sdk/lib/pages/common/utils/tableStyles.ts"],"sourcesContent":["import type { SxProps, Theme } from \"@mui/material/styles\";\r\n\r\nexport const headCellSx: SxProps<Theme> = {\r\n  fontFamily: \"poppins, Arial, sans-serif\",\r\n  bgcolor: \"#f1f1f1\",\r\n  color: \"#333\",\r\n  fontWeight: 600,\r\n  whiteSpace: \"nowrap\",\r\n  fontSize: \"14px\",\r\n};\r\n\r\nexport const sortLabelSx: SxProps<Theme> = {\r\n  \"&.MuiTableSortLabel-root\": { color: \"#333\" },\r\n  \"&.MuiTableSortLabel-root:hover\": { color: \"#555\" },\r\n  \"&.Mui-active\": { color: \"#333\" },\r\n  \"& .MuiTableSortLabel-icon\": { color: \"#333 !important\" },\r\n};\r\n\r\nexport const reportBodyCellSx: SxProps<Theme> = {\r\n  fontSize: \"0.75rem\",\r\n  py: 0.6,\r\n  px: 1,\r\n  borderBottom: \"1px solid #eef1f6\",\r\n  whiteSpace: \"nowrap\",\r\n};\r\n\r\nexport const tableRowSx: SxProps<Theme> = {\r\n  \"&:nth-of-type(odd)\": { backgroundColor: \"#fff\" },\r\n  \"&:nth-of-type(even)\": { backgroundColor: \"#fff\" },\r\n  \"&:hover\": { backgroundColor: \"#f0f7f8\" },\r\n  \"&:last-child td, &:last-child th\": { border: 0 },\r\n};\r\n\r\nexport const bodyCellSx: SxProps<Theme> = {\r\n  fontFamily: \"poppins, Arial, sans-serif\",\r\n  fontSize: \"14px\",\r\n  padding: \"4px 12px\",\r\n};\r\n\r\nexport const STATUS_ACTIVE_COLOR = \"#2e7d32\";\r\nexport const STATUS_INACTIVE_COLOR = \"#c62828\";\r\n\r\n/**\r\n * The one Active / Inactive chip look, matched to the host app's\r\n * `statusChipSx` in src/utils/commonStyles.ts.\r\n */\r\nexport const statusChipSx = (active: boolean): SxProps<Theme> => ({\r\n\tbgcolor: active ? \"#e8f5e9\" : \"#ffebee\",\r\n\tcolor: active ? STATUS_ACTIVE_COLOR : STATUS_INACTIVE_COLOR,\r\n\tfontWeight: 600,\r\n\tfontSize: \"0.72rem\",\r\n});\r\n\r\n/** Chip text for a boolean active flag — keeps the wording identical everywhere. */\r\nexport const statusChipLabel = (active: boolean): string => (active ? \"Active\" : \"Inactive\");\r\n"],"mappings":";;;;;;;;;;;;AAEO,IAAM,aAA6B;AAAA,EACxC,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,UAAU;AACZ;AAwBO,IAAM,aAA6B;AAAA,EACxC,YAAY;AAAA,EACZ,UAAU;AAAA,EACV,SAAS;AACX;AAEO,IAAM,sBAAsB;AAC5B,IAAM,wBAAwB;AAM9B,IAAM,eAAe,CAAC,YAAqC;AAAA,EACjE,SAAS,SAAS,YAAY;AAAA,EAC9B,OAAO,SAAS,sBAAsB;AAAA,EACtC,YAAY;AAAA,EACZ,UAAU;AACX;AAGO,IAAM,kBAAkB,CAAC,WAA6B,SAAS,WAAW;","names":[]}