@lunit/oui 1.1.0-alpha.1 → 1.1.0-alpha.3
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/assets/ic-bell-noti-outlined-20px.js.map +1 -0
- package/dist/assets/ic-close-large-outlined-20px.js.map +1 -0
- package/dist/assets/ic-close-small-outlined-20px.js.map +1 -0
- package/dist/assets/ic-download-pdf-outlined-20px.js.map +1 -0
- package/dist/assets/ic-ellipse-outlined-20px.js.map +1 -0
- package/dist/assets/ic-filter-noti-outlined-20px.js.map +1 -0
- package/dist/assets/ic-hide-large-outlined-20px.js.map +1 -0
- package/dist/assets/ic-hide-small-outlined-20px.js.map +1 -0
- package/dist/assets/ic-information-large-outlined-20px.js.map +1 -0
- package/dist/assets/ic-information-small-outlined-20px.js.map +1 -0
- package/dist/assets/ic-manufacturer-outlined-20px.js.map +1 -0
- package/dist/assets/ic-rectangle-outlined-20px.js.map +1 -0
- package/dist/assets/ic-refresh-left-outlined-20px.js.map +1 -0
- package/dist/assets/ic-refresh-right-outlined-20px.js.map +1 -0
- package/dist/assets/ic-show-large-outlined-20px.js.map +1 -0
- package/dist/assets/ic-show-small-outlined-20px.js.map +1 -0
- package/dist/assets/index.js.map +1 -0
- package/dist/cjs/components/Alert/index.js +2 -0
- package/dist/cjs/components/Alert/index.js.map +1 -0
- package/dist/cjs/components/Button/index.js +2 -0
- package/dist/cjs/components/Button/index.js.map +1 -0
- package/dist/cjs/components/Card/index.js +2 -0
- package/dist/cjs/components/Card/index.js.map +1 -0
- package/dist/cjs/components/Checkbox/index.js +2 -0
- package/dist/cjs/components/Checkbox/index.js.map +1 -0
- package/dist/cjs/components/Chip/index.js +2 -0
- package/dist/cjs/components/Chip/index.js.map +1 -0
- package/dist/cjs/components/DataTable/index.js +2 -0
- package/dist/cjs/components/DataTable/index.js.map +1 -0
- package/dist/cjs/components/DatePicker/index.js +2 -0
- package/dist/cjs/components/DatePicker/index.js.map +1 -0
- package/dist/cjs/components/Dialog/index.js +2 -0
- package/dist/cjs/components/Dialog/index.js.map +1 -0
- package/dist/cjs/components/Divider/index.js +2 -0
- package/dist/cjs/components/Divider/index.js.map +1 -0
- package/dist/cjs/components/Dropdown/index.js +2 -0
- package/dist/cjs/components/Dropdown/index.js.map +1 -0
- package/dist/cjs/components/EllipsisTypography/index.js +2 -0
- package/dist/cjs/components/EllipsisTypography/index.js.map +1 -0
- package/dist/cjs/components/FileDnDZone/index.js +2 -0
- package/dist/cjs/components/FileDnDZone/index.js.map +1 -0
- package/dist/cjs/components/List/index.js +2 -0
- package/dist/cjs/components/List/index.js.map +1 -0
- package/dist/cjs/components/LoadingIndicator/index.js +2 -0
- package/dist/cjs/components/LoadingIndicator/index.js.map +1 -0
- package/dist/cjs/components/Menu/index.js +2 -0
- package/dist/cjs/components/Menu/index.js.map +1 -0
- package/dist/cjs/components/Pagination/index.js +2 -0
- package/dist/cjs/components/Pagination/index.js.map +1 -0
- package/dist/cjs/components/ProductLabel/index.js +2 -0
- package/dist/cjs/components/ProductLabel/index.js.map +1 -0
- package/dist/cjs/components/Progress/index.js +2 -0
- package/dist/cjs/components/Progress/index.js.map +1 -0
- package/dist/cjs/components/Radio/index.js +2 -0
- package/dist/cjs/components/Radio/index.js.map +1 -0
- package/dist/cjs/components/ResizeObserver/index.js +2 -0
- package/dist/cjs/components/ResizeObserver/index.js.map +1 -0
- package/dist/cjs/components/Stepper/index.js +2 -0
- package/dist/cjs/components/Stepper/index.js.map +1 -0
- package/dist/cjs/components/TabbedPanel/index.js +2 -0
- package/dist/cjs/components/TabbedPanel/index.js.map +1 -0
- package/dist/cjs/components/TextField/index.js +2 -0
- package/dist/cjs/components/TextField/index.js.map +1 -0
- package/dist/cjs/components/Tooltip/index.js +2 -0
- package/dist/cjs/components/Tooltip/index.js.map +1 -0
- package/dist/cjs/components/UploadManager/index.js +2 -0
- package/dist/cjs/components/UploadManager/index.js.map +1 -0
- package/dist/cjs/index.js +2 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/components/Alert/Alert.js.map +1 -0
- package/dist/components/Alert/Alert.styled.js.map +1 -0
- package/dist/components/Alert/Alert.types.js.map +1 -0
- package/dist/components/Alert/Alert.utils.js.map +1 -0
- package/dist/components/Alert/index.js.map +1 -0
- package/dist/components/BaseTextField/BaseTextField.styled.js.map +1 -0
- package/dist/components/BaseTextField/BaseTextField.types.js.map +1 -0
- package/dist/components/BaseTextField/BaseTextField.utils.js.map +1 -0
- package/dist/components/Button/BaseButton.js.map +1 -0
- package/dist/components/Button/Button.js.map +1 -0
- package/dist/components/Button/Button.types.js.map +1 -0
- package/dist/components/Button/Button.utils.js.map +1 -0
- package/dist/components/Button/index.js.map +1 -0
- package/dist/components/Button/styleds/BaseButton.styled.js.map +1 -0
- package/dist/components/Button/styleds/ContainedButton.styled.js.map +1 -0
- package/dist/components/Button/styleds/GhostButton.styled.js.map +1 -0
- package/dist/components/Button/styleds/IconButton.styled.js.map +1 -0
- package/dist/components/Button/styleds/OutlinedButton.styled.js.map +1 -0
- package/dist/components/Card/Card.js.map +1 -0
- package/dist/components/Card/Card.styled.js.map +1 -0
- package/dist/components/Card/Card.types.js.map +1 -0
- package/dist/components/Card/index.js.map +1 -0
- package/dist/components/Checkbox/Checkbox.js.map +1 -0
- package/dist/components/Checkbox/Checkbox.styled.js.map +1 -0
- package/dist/components/Checkbox/Checkbox.types.js.map +1 -0
- package/dist/components/Checkbox/Checkbox.utils.js.map +1 -0
- package/dist/components/Checkbox/index.js.map +1 -0
- package/dist/components/Chip/Chip.js.map +1 -0
- package/dist/components/Chip/Chip.styled.js.map +1 -0
- package/dist/components/Chip/Chip.types.js.map +1 -0
- package/dist/components/Chip/Chip.utils.js.map +1 -0
- package/dist/components/Chip/index.js.map +1 -0
- package/dist/components/DataTable/DataTable.js.map +1 -0
- package/dist/components/DataTable/DataTable.styled.js.map +1 -0
- package/dist/components/DataTable/index.js.map +1 -0
- package/dist/components/DatePicker/DatePicker.js.map +1 -0
- package/dist/components/DatePicker/DatePicker.styled.js.map +1 -0
- package/dist/components/DatePicker/DatePicker.types.js.map +1 -0
- package/dist/components/DatePicker/index.js.map +1 -0
- package/dist/components/Dialog/Dialog.js.map +1 -0
- package/dist/components/Dialog/Dialog.styled.js.map +1 -0
- package/dist/components/Dialog/Dialog.types.js.map +1 -0
- package/dist/components/Dialog/index.js.map +1 -0
- package/dist/components/Divider/Divider.js.map +1 -0
- package/dist/components/Divider/Divider.styled.js.map +1 -0
- package/dist/components/Divider/Divider.types.js.map +1 -0
- package/dist/components/Divider/index.js.map +1 -0
- package/dist/components/Dropdown/Dropdown.js.map +1 -0
- package/dist/components/Dropdown/Dropdown.styled.js.map +1 -0
- package/dist/components/Dropdown/Dropdown.types.js.map +1 -0
- package/dist/components/Dropdown/Dropdown.utils.js.map +1 -0
- package/dist/components/Dropdown/DropdownItem.js.map +1 -0
- package/dist/components/Dropdown/DropdownItem.styled.js.map +1 -0
- package/dist/components/Dropdown/DropdownItem.types.js.map +1 -0
- package/dist/components/Dropdown/DropdownItem.utils.js.map +1 -0
- package/dist/components/Dropdown/DropdownSubtitle.js.map +1 -0
- package/dist/components/Dropdown/DropdownSubtitle.styled.js.map +1 -0
- package/dist/components/Dropdown/DropdownSubtitle.types.js.map +1 -0
- package/dist/components/Dropdown/IconDropdown.js.map +1 -0
- package/dist/components/Dropdown/IconDropdown.styled.js.map +1 -0
- package/dist/components/Dropdown/IconDropdown.types.js.map +1 -0
- package/dist/components/Dropdown/index.js.map +1 -0
- package/dist/components/EllipsisTypography/EllipsisTypography.js.map +1 -0
- package/dist/components/EllipsisTypography/EllipsisTypography.styled.js.map +1 -0
- package/dist/components/EllipsisTypography/EllipsisTypography.types.js.map +1 -0
- package/dist/components/EllipsisTypography/index.js.map +1 -0
- package/dist/components/FileDnDZone/FileDnDZone.js.map +1 -0
- package/dist/components/FileDnDZone/FileDnDZone.styled.js.map +1 -0
- package/dist/components/FileDnDZone/FileDnDZone.types.js.map +1 -0
- package/dist/components/FileDnDZone/FileDnDZone.utils.js.map +1 -0
- package/dist/components/FileDnDZone/index.js.map +1 -0
- package/dist/components/List/List.js.map +1 -0
- package/dist/components/List/List.styled.js.map +1 -0
- package/dist/components/List/List.types.js.map +1 -0
- package/dist/components/List/List.utils.js.map +1 -0
- package/dist/components/List/ListItem.js.map +1 -0
- package/dist/components/List/ListItem.styled.js.map +1 -0
- package/dist/components/List/ListItem.types.js.map +1 -0
- package/dist/components/List/ListItemCaption.js.map +1 -0
- package/dist/components/List/ListItemCaption.styled.js.map +1 -0
- package/dist/components/List/ListItemCaption.types.js.map +1 -0
- package/dist/components/List/index.js.map +1 -0
- package/dist/components/LoadingIndicator/LoadingIndicator.js.map +1 -0
- package/dist/components/LoadingIndicator/LoadingIndicator.styled.js.map +1 -0
- package/dist/components/LoadingIndicator/LoadingIndicator.types.js.map +1 -0
- package/dist/components/LoadingIndicator/index.js.map +1 -0
- package/dist/components/Menu/Menu.js.map +1 -0
- package/dist/components/Menu/Menu.styled.js.map +1 -0
- package/dist/components/Menu/Menu.types.js.map +1 -0
- package/dist/components/Menu/MenuItem.js.map +1 -0
- package/dist/components/Menu/MenuItem.styled.js.map +1 -0
- package/dist/components/Menu/MenuItem.types.js.map +1 -0
- package/dist/components/Menu/index.js.map +1 -0
- package/dist/components/MuiCssBaseline.js.map +1 -0
- package/dist/components/MuiInputBase.js.map +1 -0
- package/dist/components/MuiOutlinedInput.js.map +1 -0
- package/dist/components/MuiTextField.js.map +1 -0
- package/dist/components/Pagination/Pagination.js.map +1 -0
- package/dist/components/Pagination/Pagination.styled.js.map +1 -0
- package/dist/components/Pagination/Pagination.types.js.map +1 -0
- package/dist/components/Pagination/index.js.map +1 -0
- package/dist/components/ProductLabel/ProductLabel.js.map +1 -0
- package/dist/components/ProductLabel/ProductLabel.styled.js.map +1 -0
- package/dist/components/ProductLabel/ProductLabel.types.js.map +1 -0
- package/dist/components/ProductLabel/index.js.map +1 -0
- package/dist/components/Progress/CircularProgress.js.map +1 -0
- package/dist/components/Progress/CircularProgress.styled.js.map +1 -0
- package/dist/components/Progress/CircularProgress.types.js.map +1 -0
- package/dist/components/Progress/LinearProgress.js.map +1 -0
- package/dist/components/Progress/LinearProgress.styled.js.map +1 -0
- package/dist/components/Progress/LinearProgress.types.js.map +1 -0
- package/dist/components/Progress/index.js.map +1 -0
- package/dist/components/Radio/Radio.js.map +1 -0
- package/dist/components/Radio/Radio.styled.js.map +1 -0
- package/dist/components/Radio/Radio.types.js.map +1 -0
- package/dist/components/Radio/RadioGroup.js.map +1 -0
- package/dist/components/Radio/RadioGroup.styled.js.map +1 -0
- package/dist/components/Radio/RadioGroup.types.js.map +1 -0
- package/dist/components/Radio/index.js.map +1 -0
- package/dist/components/ResizeObserver/ResizeObserverContext.js.map +1 -0
- package/dist/components/ResizeObserver/index.js.map +1 -0
- package/dist/components/Stepper/Stepper.js.map +1 -0
- package/dist/components/Stepper/Stepper.styled.js.map +1 -0
- package/dist/components/Stepper/Stepper.types.js.map +1 -0
- package/dist/components/Stepper/index.js.map +1 -0
- package/dist/components/TabbedPanel/TabbedPanel.js.map +1 -0
- package/dist/components/TabbedPanel/TabbedPanel.styled.js.map +1 -0
- package/dist/components/TabbedPanel/TabbedPanel.types.js.map +1 -0
- package/dist/components/TabbedPanel/TabbedPanel.utils.js.map +1 -0
- package/dist/components/TabbedPanel/index.js.map +1 -0
- package/dist/components/TextField/TextArea.js.map +1 -0
- package/dist/components/TextField/TextArea.styled.js.map +1 -0
- package/dist/components/TextField/TextArea.types.js.map +1 -0
- package/dist/components/TextField/TextInput.js.map +1 -0
- package/dist/components/TextField/TextInput.styled.js.map +1 -0
- package/dist/components/TextField/TextInput.types.js.map +1 -0
- package/dist/components/TextField/TextInput.utils.js.map +1 -0
- package/dist/components/TextField/components/Buttons.js.map +1 -0
- package/dist/components/TextField/components/NormalTextInput.js.map +1 -0
- package/dist/components/TextField/components/PasswordInput.js.map +1 -0
- package/dist/components/TextField/index.js.map +1 -0
- package/dist/components/Tooltip/Tooltip.js.map +1 -0
- package/dist/components/Tooltip/Tooltip.styled.js.map +1 -0
- package/dist/components/Tooltip/Tooltip.types.js.map +1 -0
- package/dist/components/Tooltip/Tooltip.utils.js.map +1 -0
- package/dist/components/Tooltip/index.js.map +1 -0
- package/dist/components/UploadManager/UploadManager.js.map +1 -0
- package/dist/components/UploadManager/UploadManager.styled.js.map +1 -0
- package/dist/components/UploadManager/UploadManager.types.js.map +1 -0
- package/dist/components/UploadManager/index.js.map +1 -0
- package/dist/components/index.js.map +1 -0
- package/dist/foundations/index.js.map +1 -0
- package/dist/foundations/palette.js.map +1 -0
- package/dist/foundations/spacing.js.map +1 -0
- package/dist/foundations/styles.js.map +1 -0
- package/dist/foundations/typography.js.map +1 -0
- package/dist/icons/BellNoti/index.js.map +1 -0
- package/dist/icons/CloseLarge/index.js.map +1 -0
- package/dist/icons/CloseSmall/index.js.map +1 -0
- package/dist/icons/DownloadPdf/index.js.map +1 -0
- package/dist/icons/Ellipse/index.js.map +1 -0
- package/dist/icons/FilterNoti/index.js.map +1 -0
- package/dist/icons/HideLarge/index.js.map +1 -0
- package/dist/icons/HideSmall/index.js.map +1 -0
- package/dist/icons/InformationLarge/index.js.map +1 -0
- package/dist/icons/InformationSmall/index.js.map +1 -0
- package/dist/icons/Manufacturer/index.js.map +1 -0
- package/dist/icons/Rectangle/index.js.map +1 -0
- package/dist/icons/RefreshLeft/index.js.map +1 -0
- package/dist/icons/RefreshRight/index.js.map +1 -0
- package/dist/icons/ShowLarge/index.js.map +1 -0
- package/dist/icons/ShowSmall/index.js.map +1 -0
- package/dist/icons/index.js.map +1 -0
- package/dist/index.js.map +1 -0
- package/dist/reportWebVitals.js.map +1 -0
- package/dist/setupTests.js.map +1 -0
- package/dist/systems/drawer.js.map +1 -0
- package/dist/systems/index.js.map +1 -0
- package/dist/theme.js.map +1 -0
- package/dist/types/components/BaseTextField/BaseTextField.styled.d.ts +1 -1
- package/dist/types/components/Button/styleds/ContainedButton.styled.d.ts +1 -1
- package/dist/types/components/Button/styleds/GhostButton.styled.d.ts +1 -1
- package/dist/types/components/Button/styleds/OutlinedButton.styled.d.ts +1 -1
- package/dist/types/components/Chip/Chip.styled.d.ts +1 -1
- package/dist/types/components/Dialog/Dialog.styled.d.ts +1 -1
- package/dist/types/components/Divider/Divider.styled.d.ts +1 -1
- package/dist/types/components/Dropdown/DropdownItem.styled.d.ts +1 -1
- package/dist/types/components/Dropdown/DropdownSubtitle.styled.d.ts +1 -1
- package/dist/types/components/EllipsisTypography/EllipsisTypography.styled.d.ts +1 -1
- package/dist/types/components/List/List.styled.d.ts +2 -2
- package/dist/types/components/List/ListItem.styled.d.ts +4 -4
- package/dist/types/components/List/ListItemCaption.styled.d.ts +1 -1
- package/dist/types/components/LoadingIndicator/LoadingIndicator.styled.d.ts +2 -2
- package/dist/types/components/Menu/Menu.styled.d.ts +1 -1
- package/dist/types/components/Menu/MenuItem.styled.d.ts +1 -1
- package/dist/types/components/Pagination/Pagination.styled.d.ts +2 -2
- package/dist/types/components/ProductLabel/ProductLabel.styled.d.ts +2 -2
- package/dist/types/components/Stepper/Stepper.styled.d.ts +1 -1
- package/dist/types/components/TabbedPanel/TabbedPanel.styled.d.ts +2 -2
- package/dist/types/components/UploadManager/UploadManager.styled.d.ts +3 -3
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/Dropdown/index.js","mappings":"4FAMA,MAsDMA,EAA8BC,IAC3B,CACLC,MAAOD,EAAME,QAAQC,IAAI,KAyBvBC,IArBmB,IAAAC,QAAO,EAAAC,IAAK,CACnCC,kBAAoBC,GAAkB,UAATA,GADN,EAEO,EAAGC,YAC1B,CACLA,OAAO,OAAcA,GACrBC,UAAU,OAAcD,GAAS,QAAU,aAIhB,IAAAJ,QAAO,EAAAC,IAAK,CACzCC,kBAAoBC,IAAU,CAAC,SAASG,SAASH,EAAKI,aADzB,EAEC,EAAGH,YAC1B,CACLI,SAAU,WACVC,QAAS,OACTC,cAAe,S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,EAAU,SAEbN,GAEJ,E","sources":["webpack://@lunit/oui/./src/components/BaseTextField/BaseTextField.styled.ts","webpack://@lunit/oui/./src/components/BaseTextField/BaseTextField.utils.ts","webpack://@lunit/oui/./src/foundations/typography.ts","webpack://@lunit/oui/./src/systems/index.ts","webpack://@lunit/oui/./src/foundations/palette.ts","webpack://@lunit/oui/./src/components/MuiCssBaseline.ts","webpack://@lunit/oui/./src/components/MuiOutlinedInput.ts","webpack://@lunit/oui/./src/theme.ts","webpack://@lunit/oui/./src/systems/drawer.ts","webpack://@lunit/oui/./src/foundations/spacing.ts","webpack://@lunit/oui/./src/components/MuiInputBase.ts","webpack://@lunit/oui/./src/components/MuiTextField.ts","webpack://@lunit/oui/external commonjs \"@lunit/design-system-icons\"","webpack://@lunit/oui/external commonjs \"@mui/material\"","webpack://@lunit/oui/external commonjs \"@mui/material/styles\"","webpack://@lunit/oui/external commonjs \"react\"","webpack://@lunit/oui/external commonjs \"react/jsx-runtime\"","webpack://@lunit/oui/webpack/bootstrap","webpack://@lunit/oui/webpack/runtime/compat get default export","webpack://@lunit/oui/webpack/runtime/define property getters","webpack://@lunit/oui/webpack/runtime/hasOwnProperty shorthand","webpack://@lunit/oui/webpack/runtime/make namespace object","webpack://@lunit/oui/./src/components/Dropdown/Dropdown.styled.tsx","webpack://@lunit/oui/./src/components/Dropdown/Dropdown.utils.ts","webpack://@lunit/oui/./src/components/Dropdown/DropdownItem.utils.ts","webpack://@lunit/oui/./src/components/Dropdown/Dropdown.tsx","webpack://@lunit/oui/./src/components/Dropdown/DropdownItem.styled.tsx","webpack://@lunit/oui/./src/components/Dropdown/DropdownItem.tsx","webpack://@lunit/oui/./src/components/Dropdown/DropdownSubtitle.styled.ts","webpack://@lunit/oui/./src/components/Dropdown/DropdownSubtitle.tsx","webpack://@lunit/oui/./src/components/Dropdown/IconDropdown.styled.tsx","webpack://@lunit/oui/./src/components/Dropdown/IconDropdown.tsx"],"sourcesContent":["// This file facilitates style sharing between text input and text area\nimport { Box, Theme, Typography } from '@mui/material';\nimport { styled } from '@mui/material/styles';\nimport type { BaseTextFieldContainerProps, HelperMsgProps } from './BaseTextField.types';\nimport { formatCSSSize } from './BaseTextField.utils';\n\nconst baseTextFieldStyle = (theme: Theme) => {\n return {\n backgroundColor: theme.palette.neutralGrey[75],\n borderRadius: '8px',\n border: '1px solid',\n borderColor: 'transparent',\n color: theme.palette.neutralGrey[5],\n fontWeight: '400',\n fontSize: '14px',\n fontFamily:\n 'Pretendard,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\"',\n lineHeight: '20px',\n padding: '7px 16px',\n\n '&::placeholder': {\n color: theme.palette.neutralGrey[45],\n },\n '&:focus': {\n outline: 'none',\n border: '1px solid',\n borderColor: theme.palette.lunitTeal[10],\n },\n '&:hover': {\n borderColor: theme.palette.neutralGrey[45],\n },\n '&:disabled': {\n opacity: '0.8',\n pointerEvents: 'none',\n },\n '&:read-only': {\n border: `1px solid ${theme.palette.neutralGrey[70]}`,\n backgroundColor: 'transparent',\n color: theme.palette.neutralGrey[45],\n pointerEvents: 'none',\n },\n };\n};\n\nconst baseTextFieldErrorStyle = (theme: Theme) => {\n return {\n borderColor: theme.palette.red[5],\n };\n};\n\nconst baseTextFieldMsgStyle = (theme: Theme) => {\n return {\n width: '312px',\n maxWidth: '312px',\n minHeight: '20px',\n color: theme.palette.neutralGrey[45],\n padding: '4px',\n };\n};\n\nconst baseTextFieldMsgErrorStyle = (theme: Theme) => {\n return {\n color: theme.palette.red[5],\n };\n};\n\nconst BaseTextFieldBox = styled(Box, {\n shouldForwardProp: (prop) => prop !== 'width',\n})<BaseTextFieldContainerProps>(({ width }) => {\n return {\n width: formatCSSSize(width),\n minWidth: formatCSSSize(width) ? 'unset' : '208px',\n };\n});\n\nconst BaseTextFieldContainer = styled(Box, {\n shouldForwardProp: (prop) => !['width'].includes(prop.toString()),\n})<BaseTextFieldContainerProps>(({ width }) => {\n return {\n position: 'relative',\n display: 'flex',\n flexDirection: 'column',\n width: formatCSSSize(width),\n minWidth: formatCSSSize(width) ? 'unset' : '208px',\n };\n});\n\nconst InputMsg = styled(Typography, {\n shouldForwardProp: (prop) => prop !== 'error',\n})<HelperMsgProps>(({ theme, error }) => {\n let resultStyle = baseTextFieldMsgStyle(theme);\n\n if (error) {\n resultStyle = {\n ...resultStyle,\n ...baseTextFieldMsgErrorStyle(theme),\n };\n }\n\n return resultStyle;\n});\n\nconst styles = {\n baseTextFieldStyle,\n baseTextFieldErrorStyle,\n baseTextFieldMsgStyle,\n baseTextFieldMsgErrorStyle,\n};\n\nexport { styles, BaseTextFieldContainer, BaseTextFieldBox, InputMsg };\n","function formatCSSSize(sizeVal: string | number | undefined) {\n if (typeof sizeVal === 'undefined') {\n return undefined;\n }\n if (typeof sizeVal === 'number') return `${sizeVal}px`;\n\n return sizeVal;\n}\n\nexport { formatCSSSize };\n","import { TypographyOptions } from '@mui/material/styles/createTypography';\n\ndeclare module '@mui/material/styles' {\n interface TypographyVariants {\n h7: React.CSSProperties;\n h8: React.CSSProperties;\n h9: React.CSSProperties;\n h10: React.CSSProperties;\n\n subtitle3: React.CSSProperties;\n\n body_b1: React.CSSProperties;\n body_b2: React.CSSProperties;\n\n body_sb1: React.CSSProperties;\n body_sb2: React.CSSProperties;\n body_sb3: React.CSSProperties;\n body_sb4: React.CSSProperties;\n body_sb5: React.CSSProperties;\n\n body_m1: React.CSSProperties;\n body_m2: React.CSSProperties;\n\n body1: React.CSSProperties;\n body2: React.CSSProperties;\n body3: React.CSSProperties;\n body4: React.CSSProperties;\n body5: React.CSSProperties;\n body6: React.CSSProperties;\n body7: React.CSSProperties;\n body8: React.CSSProperties;\n\n small_body_b1: React.CSSProperties;\n small_body_b2: React.CSSProperties;\n small_body_b3: React.CSSProperties;\n small_body_b4: React.CSSProperties;\n small_body_b5: React.CSSProperties;\n\n small_body_sb1: React.CSSProperties;\n\n small_body_m1: React.CSSProperties;\n small_body_m2: React.CSSProperties;\n small_body_m3: React.CSSProperties;\n small_body_m4: React.CSSProperties;\n small_body_m5: React.CSSProperties;\n small_body_m6: React.CSSProperties;\n small_body_m7: React.CSSProperties;\n\n small_body1: React.CSSProperties;\n small_body2: React.CSSProperties;\n small_body3: React.CSSProperties;\n small_body4: React.CSSProperties;\n small_body5: React.CSSProperties;\n\n small_body_l1: React.CSSProperties;\n small_body_l2: React.CSSProperties;\n\n overline: React.CSSProperties;\n\n button1: React.CSSProperties;\n button2: React.CSSProperties;\n\n caption: React.CSSProperties;\n }\n\n interface TypographyVariantsOptions {\n h7?: React.CSSProperties;\n h8?: React.CSSProperties;\n h9?: React.CSSProperties;\n h10?: React.CSSProperties;\n\n subtitle3?: React.CSSProperties;\n\n body_b1?: React.CSSProperties;\n body_b2?: React.CSSProperties;\n\n body_sb1?: React.CSSProperties;\n body_sb2?: React.CSSProperties;\n body_sb3?: React.CSSProperties;\n body_sb4?: React.CSSProperties;\n body_sb5?: React.CSSProperties;\n\n body_m1?: React.CSSProperties;\n body_m2?: React.CSSProperties;\n\n body1?: React.CSSProperties;\n body2?: React.CSSProperties;\n body3?: React.CSSProperties;\n body4?: React.CSSProperties;\n body5?: React.CSSProperties;\n body6?: React.CSSProperties;\n body7?: React.CSSProperties;\n body8?: React.CSSProperties;\n\n small_body_b1?: React.CSSProperties;\n small_body_b2?: React.CSSProperties;\n small_body_b3?: React.CSSProperties;\n small_body_b4?: React.CSSProperties;\n small_body_b5?: React.CSSProperties;\n\n small_body_sb1?: React.CSSProperties;\n\n small_body_m1?: React.CSSProperties;\n small_body_m2?: React.CSSProperties;\n small_body_m3?: React.CSSProperties;\n small_body_m4?: React.CSSProperties;\n small_body_m5?: React.CSSProperties;\n small_body_m6?: React.CSSProperties;\n small_body_m7?: React.CSSProperties;\n\n small_body1?: React.CSSProperties;\n small_body2?: React.CSSProperties;\n small_body3?: React.CSSProperties;\n small_body4?: React.CSSProperties;\n small_body5?: React.CSSProperties;\n\n small_body_l1?: React.CSSProperties;\n small_body_l2?: React.CSSProperties;\n\n overline?: React.CSSProperties;\n\n button1?: React.CSSProperties;\n button2?: React.CSSProperties;\n\n caption?: React.CSSProperties;\n }\n}\n\ndeclare module '@mui/material/Typography' {\n interface TypographyPropsVariantOverrides {\n h7: true;\n h8: true;\n h9: true;\n h10: true;\n\n subtitle3: true;\n\n body_b1: true;\n body_b2: true;\n\n body_sb1: true;\n body_sb2: true;\n body_sb3: true;\n body_sb4: true;\n body_sb5: true;\n\n body_m1: true;\n body_m2: true;\n\n body1: true;\n body2: true;\n body3: true;\n body4: true;\n body5: true;\n body6: true;\n body7: true;\n body8: true;\n\n small_body_b1: true;\n small_body_b2: true;\n small_body_b3: true;\n small_body_b4: true;\n small_body_b5: true;\n\n small_body_sb1: true;\n\n small_body_m1: true;\n small_body_m2: true;\n small_body_m3: true;\n small_body_m4: true;\n small_body_m5: true;\n small_body_m6: true;\n small_body_m7: true;\n\n small_body1: true;\n small_body2: true;\n small_body3: true;\n small_body4: true;\n small_body5: true;\n\n small_body_l1: true;\n small_body_l2: true;\n\n overline: true;\n\n button1: true;\n button2: true;\n\n caption: true;\n }\n}\n\nconst typographyOptions: TypographyOptions = {\n fontFamily: [\n 'Pretendard',\n '-apple-system',\n 'BlinkMacSystemFont',\n '\"Segoe UI\"',\n 'Roboto',\n '\"Helvetica Neue\"',\n 'Arial',\n 'sans-serif',\n '\"Apple Color Emoji\"',\n '\"Segoe UI Emoji\"',\n '\"Segoe UI Symbol\"',\n ].join(','),\n h1: {\n fontWeight: 600,\n fontSize: '52px',\n lineHeight: '68px',\n },\n h2: {\n fontWeight: 700,\n fontSize: '38px',\n lineHeight: '48px',\n },\n h3: {\n fontWeight: 500,\n fontSize: '38px',\n lineHeight: '48px',\n },\n h4: {\n fontWeight: 600,\n fontSize: '30px',\n lineHeight: '48px',\n },\n h5: {\n fontWeight: 400,\n fontSize: '30px',\n lineHeight: '48px',\n },\n h6: {\n fontWeight: 700,\n fontSize: '28px',\n lineHeight: 'auto',\n },\n h7: {\n fontWeight: 600,\n fontSize: '24px',\n lineHeight: '36px',\n },\n h8: {\n fontWeight: 600,\n fontSize: '20px',\n lineHeight: '28px',\n },\n h9: {\n fontWeight: 600,\n fontSize: '16px',\n lineHeight: '24px',\n },\n subtitle1: {\n fontSize: 20,\n fontWeight: 600,\n lineHeight: '28px',\n },\n subtitle2: {\n fontSize: 18,\n fontWeight: 600,\n lineHeight: '24px',\n },\n subtitle3: {\n fontSize: 16,\n fontWeight: 600,\n lineHeight: '24px',\n },\n\n body_b1: {\n fontWeight: 700,\n fontSize: '14px',\n lineHeight: '20px',\n },\n body_b2: {\n fontWeight: 700,\n fontSize: '14px',\n lineHeight: 'auto',\n },\n\n body_sb1: {\n fontWeight: 600,\n fontSize: '16px',\n lineHeight: '24px',\n },\n body_sb2: {\n fontWeight: 600,\n fontSize: '16px',\n lineHeight: '20px',\n },\n body_sb3: {\n fontWeight: 700,\n fontSize: '15px',\n lineHeight: '16px',\n },\n body_sb4: {\n fontWeight: 600,\n fontSize: '14px',\n lineHeight: '20px',\n },\n body_sb5: {\n fontWeight: 600,\n fontSize: '12.4px',\n lineHeight: '16px',\n },\n\n body_m1: {\n fontWeight: 500,\n fontSize: '14px',\n lineHeight: '20px',\n },\n body_m2: {\n fontWeight: 500,\n fontSize: '13px',\n lineHeight: '18px',\n letterSpacing: '0.2px',\n },\n\n body1: {\n fontWeight: 400,\n fontSize: '16px',\n lineHeight: '24px',\n },\n body2: {\n fontWeight: 400,\n fontSize: '16px',\n lineHeight: 'auto',\n },\n body3: {\n fontWeight: 400,\n fontSize: '15px',\n lineHeight: '24px',\n },\n body4: {\n fontWeight: 400,\n fontSize: '14px',\n lineHeight: '28px',\n },\n body5: {\n fontWeight: 400,\n fontSize: '14px',\n lineHeight: '20px',\n },\n body6: {\n fontWeight: 400,\n fontSize: '13px',\n lineHeight: '18px',\n },\n body7: {\n fontWeight: 400,\n fontSize: '12.4px',\n lineHeight: '16px',\n },\n body8: {\n fontWeight: 400,\n fontSize: '12px',\n lineHeight: '16px',\n },\n\n small_body_b1: {\n fontWeight: 700,\n fontSize: '12px',\n lineHeight: '12px',\n },\n small_body_b2: {\n fontWeight: 700,\n fontSize: '12px',\n lineHeight: '16px',\n },\n small_body_b3: {\n fontWeight: 700,\n fontSize: '10px',\n lineHeight: 'auto',\n },\n small_body_b4: {\n fontWeight: 700,\n fontSize: '10px',\n lineHeight: '12px',\n },\n small_body_b5: {\n fontWeight: 700,\n fontSize: '8px',\n lineHeight: 'auto',\n },\n\n small_body_sb1: {\n fontWeight: 600,\n fontSize: '12px',\n lineHeight: '16px',\n },\n\n small_body_m1: {\n fontWeight: 500,\n fontSize: '13px',\n lineHeight: '20px',\n },\n small_body_m2: {\n fontWeight: 500,\n fontSize: '12px',\n lineHeight: '20px',\n },\n small_body_m3: {\n fontWeight: 500,\n fontSize: '10px',\n lineHeight: 'auto',\n },\n small_body_m4: {\n fontWeight: 500,\n fontSize: '10px',\n lineHeight: '16px',\n },\n small_body_m5: {\n fontWeight: 500,\n fontSize: '8px',\n lineHeight: 'auto',\n },\n small_body_m6: {\n fontWeight: 500,\n fontSize: '8px',\n lineHeight: '12px',\n },\n small_body_m7: {\n fontWeight: 500,\n fontSize: '7px',\n lineHeight: 'auto',\n },\n\n small_body1: {\n fontWeight: 400,\n fontSize: '13px',\n lineHeight: '24px',\n },\n small_body2: {\n fontWeight: 400,\n fontSize: '12px',\n lineHeight: '20px',\n },\n small_body3: {\n fontWeight: 400,\n fontSize: '10px',\n lineHeight: 'auto',\n },\n small_body4: {\n fontWeight: 400,\n fontSize: '10px',\n lineHeight: '14px',\n },\n small_body5: {\n fontWeight: 400,\n fontSize: '8px',\n lineHeight: 'auto',\n },\n\n small_body_l1: {\n fontWeight: 300,\n fontSize: '10px',\n lineHeight: '20px',\n },\n small_body_l2: {\n fontWeight: 300,\n fontSize: '7px',\n lineHeight: 'auto',\n },\n\n overline: {\n fontWeight: 500,\n fontSize: '14px',\n lineHeight: '20px',\n letterSpacing: '1px',\n textTransform: 'uppercase',\n },\n\n button1: {\n fontWeight: 600,\n fontSize: '16px',\n lineHeight: '22px',\n textTransform: 'capitalize',\n },\n button2: {\n fontWeight: 600,\n fontSize: '14px',\n lineHeight: '20px',\n letterSpacing: '0.2px',\n textTransform: 'capitalize',\n },\n\n caption: {\n fontWeight: 500,\n fontSize: '12px',\n lineHeight: '16px',\n },\n};\n\nexport default typographyOptions;\n","export const SCROLLBAR_WIDTH = 10;\nexport const SMALL_SCROLLBAR_WIDTH = 6;\nexport const DRAWER_WIDTH_OPEN = 280;\nexport const DRAWER_WIDTH_CLOSE = 52;\nexport const VIEWER_DRAWER_WIDTH_OPEN = 280;\n\nexport { default as drawer } from './drawer';\n","/* eslint-disable @typescript-eslint/no-empty-interface */\nimport { PaletteOptions } from '@mui/material';\n\ntype PaletteOptionItem<T extends PropertyKey> = Record<T, React.CSSProperties['color']>;\n\n// Global Colors\ntype LunitTealKey = '5' | '10' | '20' | '30' | '40' | '50' | '60' | '70' | '80' | '90';\n\ntype NeutralColorKey =\n | '0'\n | '5'\n | '10'\n | '15'\n | '20'\n | '25'\n | '30'\n | '35'\n | '40'\n | '45'\n | '50'\n | '55'\n | '60'\n | '65'\n | '70'\n | '75'\n | '80'\n | '85'\n | '90'\n | '95'\n | '96'\n | '97'\n | '100';\n\ntype YellowKey = '5' | '10' | '20';\ntype OrangeKey = '5' | '10' | '20';\n\ntype MagentaKey = '5' | '10' | '20' | '30' | '40' | '50' | '60' | '70' | '80' | '90' | '100';\n\ntype RedKey = '5' | '10' | '20' | '30' | '40' | '50';\n\ntype BlueKey =\n | '5'\n | '10'\n | '15'\n | '20'\n | '25'\n | '30'\n | '35'\n | '40'\n | '45'\n | '50'\n | '55'\n | '60'\n | '65'\n | '70'\n | '75';\n\ntype GreenKey = '10' | '20' | '30' | '40' | '50';\n\ntype PurpleKey = '5' | '10' | '15' | '20' | '30' | '40' | '50' | '60' | '70' | '80';\n\nexport type LunitTeal = PaletteOptionItem<LunitTealKey>;\nexport type NeutralColor = PaletteOptionItem<NeutralColorKey>;\nexport type Yellow = PaletteOptionItem<YellowKey>;\nexport type Orange = PaletteOptionItem<OrangeKey>;\nexport type Magenta = PaletteOptionItem<MagentaKey>;\nexport type Red = PaletteOptionItem<RedKey>;\nexport type Blue = PaletteOptionItem<BlueKey>;\nexport type Green = PaletteOptionItem<GreenKey>;\nexport type Purple = PaletteOptionItem<PurpleKey>;\n\n// Histological Features\ntype TPSKey = 'Cutoff1' | 'Cutoff49' | 'Cutoff50' | 'PositiveTc' | 'NegativeTc';\ntype CPSKey =\n | 'Cutoff1'\n | 'Cutoff10'\n | 'Ca'\n | 'Cis'\n | 'Pch'\n | 'PcL'\n | 'PositiveTc'\n | 'NegativeTc'\n | 'PositiveIc'\n | 'NegativeIc';\n\ntype IOKey =\n | 'BmrkCutoff1'\n | 'BmrkCutoff20'\n | 'Inflamed'\n | 'ImmuneEx'\n | 'ImmuneDsrt'\n | 'Ca'\n | 'Cs'\n | 'Lc'\n | 'Tc';\n\ntype TumorPurityKey = 'DensityBar' | 'Ca' | 'Tc' | 'Ntc';\n\ntype HER2Key =\n | 'Ca'\n | 'Cis'\n | 'Her2_Negative'\n | 'Her2_1_Positive'\n | 'Her2_2_Positive'\n | 'Her2_3_Positive';\n\ntype ERPRKey =\n | 'Ca'\n | 'Cis'\n | 'Erpr_Negative'\n | 'Erpr_1_Positive'\n | 'Erpr_2_Positive'\n | 'Erpr_3_Positive'\n | 'Cutoff0'\n | 'Cutoff1'\n | 'Cutoff10';\n\nexport type TPS = PaletteOptionItem<TPSKey>;\nexport type CPS = PaletteOptionItem<CPSKey>;\nexport type IO = PaletteOptionItem<IOKey>;\nexport type TumorPurity = PaletteOptionItem<TumorPurityKey>;\nexport type HER2 = PaletteOptionItem<HER2Key>;\nexport type ERPR = PaletteOptionItem<ERPRKey>;\n\n// Others\ntype OthersKey =\n | 'RowHover'\n | 'DatePickerHover'\n | 'Teal50Op20'\n | 'Teal50Op18'\n | 'Grn20Op32'\n | 'Grn30OP32';\n\nexport type Others = PaletteOptionItem<OthersKey>;\n\ntype AlertKey = 'InfoBG' | 'SuccessBG' | 'ErrorBG' | 'WarningBG';\n\nexport type Alert = PaletteOptionItem<AlertKey>;\n\n// Analysis Status\ntype AnalysisStatusKey =\n | 'Uploaded'\n | 'Ready'\n | 'ReadyHover'\n | 'ReadySelected'\n | 'Inferred'\n | 'InferredHover'\n | 'InferredSelected'\n | 'Analyzing'\n | 'Analyzed'\n | 'FailedEnabled'\n | 'FailedHover'\n | 'FailedSelected'\n | 'Ready'\n | 'ReadyHover'\n | 'ReadySelected'\n | 'Inferred'\n | 'InferredHover'\n | 'InferredSelected'\n | 'Invalid'\n | 'InvalidHover'\n | 'InvalidSelected';\n\nexport type AnalysisStatus = PaletteOptionItem<AnalysisStatusKey>;\n\nexport interface LunitPalette {\n brand: {\n primary: React.CSSProperties['color'];\n secondary: React.CSSProperties['color'];\n };\n scope1: React.CSSProperties['color'];\n scope2: React.CSSProperties['color'];\n scope3: React.CSSProperties['color'];\n scope4: React.CSSProperties['color'];\n lunitTeal: LunitTeal;\n neutralGrey: NeutralColor;\n yellow: Yellow;\n orange: Orange;\n magenta: Magenta;\n red: Red;\n blue: Blue;\n green: Green;\n purple: Purple;\n\n pdl1Tps: TPS;\n pdl1Cps: CPS;\n io: IO;\n tumorPurity: TumorPurity;\n her2: HER2;\n erpr: ERPR;\n\n others: Others;\n alert: Alert;\n /**\n * @todo The dot, text colors for Analysis Status have not yet been determined.\n * We will be updated once they are decided in the all-in-one plan. (hjkwon)\n */\n analysisStatus: AnalysisStatus;\n}\n\ndeclare module '@mui/material/styles' {\n interface Palette extends LunitPalette {}\n interface PaletteOptions extends LunitPalette {}\n}\n\nconst palette: PaletteOptions = {\n brand: {\n primary: '#3BC9DB',\n secondary: '#96EDFF',\n },\n text: {\n primary: '#FFFFFF',\n secondary: '#AFAFB1',\n disabled: '#A8A8A8',\n },\n background: {},\n common: {},\n lunitTeal: {\n 5: '#EAFAFF',\n 10: '#96EDFF',\n 20: '#30DFFC',\n 30: '#3BC9DB',\n 40: '#00C9EA',\n 50: '#0ABEE5',\n 60: '#00B3DB',\n 70: '#048AB4',\n 80: '#05495F',\n 90: '#002930',\n },\n neutralGrey: {\n 0: '#FFFFFF',\n 5: '#FAFAFB',\n 10: '#FAFAFA',\n 15: '#F1F1F4',\n 20: '#DFDFE2',\n 25: '#D4D4D6',\n 30: '#C6C6C8',\n 35: '#C4C4C4',\n 40: '#AFAFB1',\n 45: '#99999B',\n 50: '#7F7F81',\n 55: '#737377',\n 60: '#747477',\n 65: '#626264',\n 70: '#4E4E50',\n 75: '#3E3E40',\n 80: '#363B3E',\n 85: '#333336',\n 90: '#2D2D2F',\n 95: '#1F1F21',\n 96: '#1E1E1E',\n 97: '#111113',\n 100: '#000000',\n },\n yellow: {\n 5: '#FAF089',\n 10: '#FFE500',\n 20: '#FFE600',\n },\n orange: {\n 5: '#FFD9BE',\n 10: '#FFB784',\n 20: '#FF9B54',\n },\n magenta: {\n 5: '#F9D1D1',\n 10: '#FFC9C9',\n 20: '#FAB2D3',\n 30: '#FFA4B6',\n 40: '#FF8787',\n 50: '#FF8389',\n 60: '#FB7791',\n 70: '#F765A3',\n 80: '#FF50A0',\n 90: '#E41976',\n 100: '#B20052',\n },\n red: {\n 5: '#FA4D56',\n 10: '#FE353F',\n 20: '#FF0000',\n 30: '#E63B28',\n 40: '#DA1E28',\n 50: '#A60D0D',\n },\n blue: {\n 5: '#A5D8FF',\n 10: '#A6C0D6',\n 15: '#4DABF7',\n 20: '#78A9FF',\n 25: '#748FFC',\n 30: '#587EFC',\n 35: '#1971D7',\n 40: '#3A5DD9',\n 45: '#4F5DC5',\n 50: '#443AFF',\n 55: '#165BAA',\n 60: '#0055AB',\n 65: '#132A9B',\n 70: '#034480',\n 75: '#0B1354',\n },\n green: {\n 10: '#73FF0C',\n 20: '#66BB6A',\n 30: '#42BE65',\n 40: '#24A148',\n 50: '#014B58',\n },\n purple: {\n 5: '#BAC8FF',\n 10: '#B0C0F4',\n 15: '#D0BFFF',\n 20: '#C378DB',\n 30: '#9775FA',\n 40: '#9E6BF0',\n 50: '#A155B9',\n 60: '#8D2FAB',\n 70: '#7E41DA',\n 80: '#3612A1',\n },\n pdl1Tps: {\n Cutoff1: '#5091FF',\n Cutoff49: '#0CA678',\n Cutoff50: '#F76707',\n PositiveTc: '#AD1EFF',\n NegativeTc: '#1EFCFF',\n },\n pdl1Cps: {\n Cutoff1: '#5091FF',\n Cutoff10: '#F76707',\n Ca: '#0CA678',\n Cis: '#5B8DEF',\n Pch: '#FF8989',\n PcL: '#D6C896',\n PositiveTc: '#AD1EFF',\n NegativeTc: '#1EFCFF',\n PositiveIc: '#FFEE59',\n NegativeIc: '#FF5403',\n },\n io: {\n BmrkCutoff1: '#5091FF',\n BmrkCutoff20: '#EE5140',\n Inflamed: '#C65F6E',\n ImmuneEx: '#91C4A3',\n ImmuneDsrt: '#143DDE',\n Ca: '#0CA678',\n Cs: '#91C4A3',\n Lc: '#FFF950',\n Tc: '#F76707',\n },\n tumorPurity: {\n DensityBar: '#EE5140',\n Ca: '#0CA678',\n Tc: '#F76707',\n Ntc: '#FFF950',\n },\n her2: {\n Ca: '#0CA678',\n Cis: '#5B8DEF',\n Her2_Negative: '#4B93F9',\n Her2_1_Positive: '#79FD4B',\n Her2_2_Positive: '#F8E71C',\n Her2_3_Positive: '#EF0B0B',\n },\n erpr: {\n Ca: '#0CA678',\n Cis: '#5B8DEF',\n Erpr_Negative: '#4B93F9',\n Erpr_1_Positive: '#79FD4B',\n Erpr_2_Positive: '#F8E71C',\n Erpr_3_Positive: '#EF0B0B',\n Cutoff0: '#75F0DA',\n Cutoff1: '#FD6D0D',\n Cutoff10: '#9E5EFF',\n },\n others: {\n RowHover: 'rgba(134, 148, 177, 0.08)',\n DatePickerHover: 'rgba(114, 146, 253, 0.3)',\n Teal50Op20: 'rgba(0, 201, 234, 0.2)',\n Teal50Op18: 'rgba(0, 201, 234, 0.18)',\n Grn20Op32: 'rgba(102, 187, 106, 0.32)',\n Grn30OP32: 'rgba(66, 190, 101, 0.32)',\n },\n alert: {\n InfoBG: 'rgba(55, 81, 167, 0.92)',\n SuccessBG: 'rgba(0, 137, 159, 0.92)',\n ErrorBG: 'rgba(116, 25, 15, 0.9)',\n WarningBG: 'rgba(209, 188, 0, 0.7)',\n },\n analysisStatus: {\n Uploaded: '#99B8D1',\n Analyzing: '#AA99EC',\n Analyzed: '#8DCEC3',\n FailedEnabled: '#CA1414',\n FailedHover: '#FF8787',\n FailedSelected: '#A60D0D',\n Ready: '#00D1FF',\n ReadyHover: '#38E3FF',\n ReadySelected: '#006379',\n Inferred: '#3E63DD',\n InferredHover: '#46BCFF',\n InferredSelected: '#273E89',\n Invalid: '#838389',\n InvalidHover: '#A7A7A7',\n InvalidSelected: '#6E6E74',\n },\n scope1: '#7292FD',\n scope2: '#587EFC',\n scope3: '#B0C0F4',\n scope4: '#3A5DD9',\n info: { main: '#748FFC' },\n success: { main: '#00C9EA' },\n error: { main: '#FA4D56' },\n warning: { main: '#FFE600' },\n};\n\nexport default palette;\n","import { ComponentsOverrides, Theme } from '@mui/material';\nimport {\n SMALL_SCROLLBAR_WIDTH,\n SCROLLBAR_WIDTH,\n DRAWER_WIDTH_OPEN,\n DRAWER_WIDTH_CLOSE,\n} from '../systems';\nimport { palette, typography } from '../foundations';\n\nconst html = {\n fontSize: '14px',\n boxSizing: 'border-box',\n fontFamily: `Pretendard, sans-serif`,\n fontFeatureSettings: `'tnum', 'ss01', 'ss02', 'ss08'`,\n};\n\nconst body = {\n ...html,\n width: '100vw',\n height: '100vh',\n margin: 0,\n padding: 0,\n overflow: 'hidden',\n lineHeight: 'normal',\n color: 'white',\n backgroundColor: palette.neutralGrey?.[95],\n '& a': {\n textDecoration: 'none',\n },\n};\n\nconst styleOverrides: ComponentsOverrides<Theme>['MuiCssBaseline'] = {\n html,\n '.App': body,\n '#root': body,\n\n '*::-webkit-scrollbar-track': {\n backgroundColor: 'transparent',\n },\n '*::-webkit-scrollbar-corner': {\n backgroundColor: 'transparent',\n },\n '*::-webkit-scrollbar': {\n // + 4 for padding\n width: SCROLLBAR_WIDTH + 4,\n height: SCROLLBAR_WIDTH + 4,\n },\n '.small-scrollbar::-webkit-scrollbar, .small-scrollbar *::-webkit-scrollbar': {\n // + 4 for padding\n width: SMALL_SCROLLBAR_WIDTH + 4,\n height: SMALL_SCROLLBAR_WIDTH + 4,\n },\n\n '*::-webkit-scrollbar-thumb': {\n backgroundColor: palette.neutralGrey?.[65],\n borderRadius: 6,\n border: '2px transparent solid',\n backgroundClip: 'padding-box',\n },\n '*::-webkit-scrollbar-thumb:hover': {\n backgroundColor: palette.neutralGrey?.[60],\n },\n '*::-webkit-scrollbar-thumb:active': {\n backgroundColor: palette.neutralGrey?.[40],\n },\n '.Mui-disabled::-webkit-scrollbar-thumb:hover, .Mui-disabled *::-webkit-scrollbar-thumb:hover': {\n backgroundColor: palette.neutralGrey?.[65],\n },\n '.Mui-disabled::-webkit-scrollbar-thumb:active, .Mui-disabled *::-webkit-scrollbar-thumb:active':\n {\n backgroundColor: palette.neutralGrey?.[65],\n },\n\n 'svg.MuiCircularProgress-svg *': {\n fill: 'none',\n },\n 'svg *.stroke-inherit': {\n fill: 'none',\n stroke: 'currentColor',\n },\n '.snackbarVariantError': {\n background: 'rgba(238, 81, 64, 0.18)',\n border: '1px solid #EE5140',\n ...typography.body5,\n },\n '#page-root.drawer-open ~ .SnackbarContainer-left': {\n left: `${DRAWER_WIDTH_OPEN + 20}px !important`,\n },\n '#page-root.drawer-close ~ .SnackbarContainer-left': {\n left: `${DRAWER_WIDTH_CLOSE + 20}px !important`,\n },\n};\nexport default {\n styleOverrides,\n};\n","import { ComponentsOverrides } from '@mui/material/styles';\nimport { palette, typography } from '../foundations';\n\nconst styleOverrides: ComponentsOverrides['MuiOutlinedInput'] = {\n root: {\n borderRadius: 8,\n backgroundColor: palette.neutralGrey[75],\n color: palette.neutralGrey[45],\n '&.MuiInputBase-adornedStart': {\n paddingLeft: '16px',\n },\n '&.MuiInputBase-adornedEnd': {\n paddingRight: '16px',\n },\n '&.Mui-disabled': {\n backgroundColor: 'transparent',\n borderWidth: '1px',\n borderColor: palette.neutralGrey[45],\n },\n },\n notchedOutline: {\n border: '1px solid transparent',\n borderRadius: 8,\n padding: 0,\n 'html .MuiOutlinedInput-root:hover &': {\n borderColor: palette.neutralGrey[45],\n },\n 'html .MuiOutlinedInput-root.Mui-focused &': {\n borderWidth: '1px',\n borderColor: palette.lunitTeal[10],\n },\n 'html .MuiOutlinedInput-root.Mui-disabled &': {\n border: 'none',\n },\n },\n input: {\n ...typography.body5,\n color: palette.neutralGrey[5],\n padding: '8px 16px',\n boxSizing: 'border-box',\n '&::placeholder': {\n color: palette.neutralGrey[45],\n },\n '&:-webkit-autofill': {\n boxShadow: `0 0 0 100px ${palette.neutralGrey[75]}`,\n WebkitTextFillColor: palette.neutralGrey[5],\n },\n '&.Mui-disabled': {\n backgroundColor: 'inherit',\n borderRadius: '8px',\n WebkitTextFillColor: palette.neutralGrey[45],\n },\n },\n};\nexport default {\n styleOverrides,\n};\n","import { createTheme } from '@mui/material/styles';\nimport MuiCssBaseline from './components/MuiCssBaseline';\nimport MuiInputBase from './components/MuiInputBase';\nimport MuiOutlinedInput from './components/MuiOutlinedInput';\nimport MuiTextField from './components/MuiTextField';\nimport { palette, spacing, typography } from './foundations';\nimport { drawer } from './systems';\n\nconst theme = createTheme({\n ...drawer,\n palette,\n spacing,\n typography,\n components: {\n MuiCssBaseline,\n MuiInputBase,\n MuiOutlinedInput,\n MuiTextField,\n },\n});\n\nexport default theme;\n","import { ThemeOptions } from '@mui/material';\n\ndeclare module '@mui/material/styles' {\n interface Theme {\n leftDrawer: {\n width: React.CSSProperties['width'];\n };\n rightDrawer: {\n width: React.CSSProperties['width'];\n };\n }\n interface ThemeOptions {\n leftDrawer: {\n width: React.CSSProperties['width'];\n };\n rightDrawer: {\n width: React.CSSProperties['width'];\n };\n }\n}\n\nconst drawer: ThemeOptions = {\n leftDrawer: { width: 240 },\n rightDrawer: { width: 260 },\n};\n\nexport default drawer;\n","import { SpacingOptions } from '@mui/system';\n\nconst spacing: SpacingOptions = 4;\n\nexport default spacing;\n","import type { ComponentsOverrides } from '@mui/material/styles';\n\nconst styleOverrides: ComponentsOverrides['MuiInputBase'] = {\n root: {\n '&': {\n padding: 0,\n },\n },\n input: {\n height: '36px',\n },\n inputAdornedStart: {\n 'html &': {\n paddingLeft: 0,\n },\n },\n inputAdornedEnd: {\n 'html &': {\n paddingRight: 0,\n },\n },\n};\nexport default {\n styleOverrides,\n};\n","import type { ComponentsOverrides, ComponentsProps } from '@mui/material/styles';\n\nconst styleOverrides: ComponentsOverrides['MuiTextField'] = {\n root: {\n width: '100%',\n input: {\n textOverflow: 'ellipsis',\n },\n },\n};\nconst defaultProps: ComponentsProps['MuiTextField'] = {\n variant: 'standard',\n};\nexport default {\n styleOverrides,\n defaultProps,\n};\n","module.exports = require(\"@lunit/design-system-icons\");","module.exports = require(\"@mui/material\");","module.exports = require(\"@mui/material/styles\");","module.exports = require(\"react\");","module.exports = require(\"react/jsx-runtime\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import React from 'react';\nimport { Select, Typography, Box, styled } from '@mui/material';\nimport type { Theme } from '@mui/material';\nimport type { BaseDropdownProps, DropdownContainerProps, PlaceholderProps } from './Dropdown.types';\n\nconst baseDropdownStyle = (theme: Theme) => {\n return {\n fontFamily:\n 'Pretendard,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\"',\n fontSize: '14px',\n fontWeight: '400',\n background: theme.palette.neutralGrey[85],\n borderRadius: '8px',\n border: '1px solid transparent',\n height: '36px',\n color: theme.palette.neutralGrey[5],\n padding: '0 2px',\n '.MuiSelect-select': {\n paddingRight: '0px !important',\n },\n '& fieldset': {\n border: 'none',\n },\n '&.Mui-focused': {\n border: `1px solid ${theme.palette.lunitTeal[10]} !important`,\n },\n '&.Mui-disabled': { border: 'none', background: theme.palette.neutralGrey[75] },\n '.MuiSvgIcon-root ': {\n cursor: 'pointer',\n marginRight: '16px',\n color: theme.palette.neutralGrey[5],\n '&.Mui-disabled': {\n color: theme.palette.neutralGrey[45],\n },\n },\n '&:hover': {\n border: `1px solid ${theme.palette.neutralGrey[45]}`,\n '&.Mui-disabled': {\n border: '1px solid transparent',\n },\n },\n };\n};\n\nconst fixedWidthDropdownStyle = {\n width: '240px',\n};\n\nconst errorDropdownStyle = (theme: Theme) => ({\n border: `1px solid ${theme.palette.red[5]} !important`,\n});\n\nconst BaseDropdown = styled(Select, {\n shouldForwardProp: (prop) => prop !== 'small',\n})<BaseDropdownProps>(({ theme, error, autoWidth, fullWidth, open }) => {\n let style = baseDropdownStyle(theme);\n if (!autoWidth && !fullWidth) {\n style = {\n ...style,\n ...fixedWidthDropdownStyle,\n };\n }\n if (error) {\n style = {\n ...style,\n ...errorDropdownStyle(theme),\n };\n }\n // add FocusStyle when click arrow\n const openFocusStyle = open\n ? { border: `1px solid ${theme.palette.lunitTeal[10]} !important` }\n : {};\n return { ...style, ...openFocusStyle };\n});\n\nconst DropdownContainer = styled(Box, {\n shouldForwardProp: (prop) => prop !== 'fullWidth',\n})<DropdownContainerProps>(({ fullWidth }) => {\n if (fullWidth) {\n return {\n position: 'relative',\n display: 'flex',\n flexDirection: 'column',\n width: '100%',\n };\n }\n\n return {\n position: 'relative',\n display: 'flex',\n flexDirection: 'column',\n width: '240px',\n };\n});\n\nconst PlaceholderElem = styled(Typography)<PlaceholderProps>(({ theme, disabled }) => {\n return {\n color: theme.palette.neutralGrey[45],\n position: 'absolute' as const,\n left: '16px',\n top: '8px',\n backgroundColor: 'transparent',\n height: '30px',\n pointerEvents: 'none',\n opacity: disabled ? '0.4' : '1',\n cursor: 'pointer !important',\n };\n});\n\nconst DropdownPlaceholder = ({\n placeholder,\n disabled,\n}: {\n placeholder: string;\n disabled?: boolean;\n}) => {\n return (\n <PlaceholderElem\n variant=\"body5\"\n disabled={disabled}\n >\n {placeholder}\n </PlaceholderElem>\n );\n};\n\nexport { BaseDropdown, DropdownPlaceholder, DropdownContainer };\n","const PLACEHOLDER_VAL = 'PLACEHOLDER_VAL';\n\nconst handlePlaceholder = (value: unknown) => {\n if (Array.isArray(value)) {\n if (value.length) {\n return false;\n }\n return true;\n }\n return !value;\n};\n\nexport { PLACEHOLDER_VAL, handlePlaceholder };\n","const BUTTON_DROPDOWN_ITEM = 'BUTTON_DROPDOWN_ITEM';\n\nconst shouldPadForEmptyIcon = (\n emptyIcon: boolean | undefined,\n checkIcon: boolean | undefined,\n customIcon: React.ReactElement | undefined,\n selected: boolean | undefined,\n) => {\n if (checkIcon) return !selected;\n if (customIcon) return false;\n return !!emptyIcon;\n};\n\nexport { BUTTON_DROPDOWN_ITEM, shouldPadForEmptyIcon };\n","import React from 'react';\nimport { ArrowDown } from '../../icons';\n\nimport type { SelectChangeEvent } from '@mui/material';\nimport { useState } from 'react';\nimport { BaseDropdown, DropdownContainer, DropdownPlaceholder } from './Dropdown.styled';\nimport type { DropdownComponent, DropdownProps } from './Dropdown.types';\nimport { handlePlaceholder } from './Dropdown.utils';\n\nimport theme from '../../theme';\nimport { InputMsg } from '../BaseTextField/BaseTextField.styled';\nimport { BUTTON_DROPDOWN_ITEM } from './DropdownItem.utils';\n\nconst Dropdown = (({\n children,\n placeholder,\n value,\n error,\n helperMsg,\n onChange,\n sx,\n style,\n MenuProps = undefined,\n ContainerProps,\n ...otherProps\n}: DropdownProps) => {\n // Prevents selecting a DropdownItem with `asButton` property.\n const handleChange = (e: SelectChangeEvent<unknown>, child: React.ReactNode) => {\n if (!!onChange && e.target.value !== BUTTON_DROPDOWN_ITEM) {\n onChange(e, child);\n }\n };\n const [isOpen, setOpen] = useState<boolean>(false);\n\n return (\n <DropdownContainer\n {...ContainerProps}\n fullWidth={otherProps.fullWidth}\n >\n <BaseDropdown\n sx={sx}\n style={style}\n IconComponent={() => (\n <ArrowDown\n onClick={() => {\n if (typeof otherProps.open === 'undefined') setOpen(false);\n }}\n style={\n isOpen || otherProps.open\n ? {\n cursor: 'pointer',\n transform: 'scaleY(-1)',\n }\n : undefined\n }\n />\n )}\n onClick={() => {\n if (!otherProps.disabled) setOpen(!isOpen);\n }}\n // https://github.com/mui/material-ui/issues/26076#issuecomment-1014345564\n onClose={() => {\n setTimeout(() => {\n (document.activeElement as HTMLElement).blur();\n }, 0);\n }}\n onChange={handleChange}\n error={!!error}\n open={\n // eslint-disable-next-line no-nested-ternary\n typeof otherProps.open !== 'undefined'\n ? otherProps.open\n : otherProps.disabled\n ? false\n : isOpen\n }\n // MUI expects a value of '' if undefined :S\n value={value ?? ''}\n MenuProps={\n MenuProps ?? {\n disablePortal: true,\n sx: {\n '.MuiPaper-root': {\n marginTop: '4px',\n borderRadius: '8px',\n background: theme.palette.neutralGrey[85],\n border: 'transparent',\n },\n },\n }\n }\n {...otherProps}\n >\n {children}\n </BaseDropdown>\n {handlePlaceholder(value) && placeholder && (\n <DropdownPlaceholder\n placeholder={placeholder}\n disabled={otherProps.disabled}\n />\n )}\n {error ? (\n <InputMsg\n variant=\"body5\"\n error\n >\n {error}\n </InputMsg>\n ) : (\n helperMsg && <InputMsg variant=\"body5\">{helperMsg}</InputMsg>\n )}\n </DropdownContainer>\n );\n}) as DropdownComponent;\n\nexport default Dropdown;\n","import React from 'react';\nimport { MenuItem, Typography, styled } from '@mui/material';\nimport type { Theme } from '@mui/material';\nimport type { BaseDropdownItemProps } from './DropdownItem.types';\n\nconst baseDropdownItemStyle = (theme: Theme) => {\n return {\n background: theme.palette.neutralGrey[85],\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'flex-start',\n borderRadius: '8px',\n position: 'relative' as const,\n margin: '0 8px',\n gap: '9px',\n '&:hover': {\n background: theme.palette.neutralGrey[75],\n },\n '&.Mui-disabled': {\n background: theme.palette.neutralGrey[85],\n opacity: '1',\n color: '#C4C4C4',\n cursor: 'pointer !important',\n },\n '&.Mui-selected': {\n background: 'transparent',\n '&:hover, &.Mui-selected:hover, &.Mui-focusVisible, &.Mui-selected.Mui-focusVisible': {\n borderRadius: '8px',\n backgroundColor: theme.palette.neutralGrey[75],\n },\n },\n };\n};\n\nconst padNoIconStyle = {\n paddingLeft: '45px !important',\n};\n\nconst BaseDropdownItem = styled(MenuItem, {\n shouldForwardProp: (prop) => prop !== 'emptyIcon',\n})<BaseDropdownItemProps>(({ theme, emptyIcon }) => {\n let style = baseDropdownItemStyle(theme);\n\n if (emptyIcon) {\n style = {\n ...style,\n ...padNoIconStyle,\n };\n }\n\n return style;\n});\n\nconst BaseShortcutLabel = styled(Typography)(({ theme }) => {\n return {\n color: theme.palette.neutralGrey[45],\n position: 'absolute' as const,\n right: '20px',\n };\n});\n\nconst KeyboardShortcut = ({ label }: { label: string }) => {\n return <BaseShortcutLabel variant=\"body_m1\">{label}</BaseShortcutLabel>;\n};\n\nexport { BaseDropdownItem, KeyboardShortcut };\n","import React from 'react';\nimport { Check } from '../../icons';\nimport { BaseDropdownItem, KeyboardShortcut } from './DropdownItem.styled';\nimport type { DropdownItemProps } from './DropdownItem.types';\nimport { BUTTON_DROPDOWN_ITEM, shouldPadForEmptyIcon } from './DropdownItem.utils';\n\nconst DropdownItem = ({\n checkIcon,\n customIcon,\n children,\n emptyIcon,\n asButton,\n value,\n keyboardShortcut,\n ...otherProps\n}: DropdownItemProps) => {\n return (\n <BaseDropdownItem\n {...otherProps}\n value={asButton ? BUTTON_DROPDOWN_ITEM : value}\n emptyIcon={shouldPadForEmptyIcon(emptyIcon, checkIcon, customIcon, otherProps.selected)}\n >\n {/* Custom Icon overrides check icon */}\n {customIcon ?? (checkIcon && otherProps.selected && <Check />)}\n {children}\n {keyboardShortcut && <KeyboardShortcut label={keyboardShortcut} />}\n </BaseDropdownItem>\n );\n};\n\nexport default DropdownItem;\n\n/* \n\nif checkicon, add empty padding.\nif checkicon and selected, add icon\n\nif custom icon, add icon\nif checkicon and customicon, custom icon\n\nif emptyicon, add padding\nif checkicon and emptyicon, only \n\n\n*/\n","import { Typography, styled } from '@mui/material';\n\nconst BaseDropdownSubtitle = styled(Typography)(({ theme }) => {\n return {\n color: theme.palette.neutralGrey[40],\n width: '140px',\n height: '20px',\n padding: '8px',\n paddingLeft: '16px',\n };\n});\n\nexport default BaseDropdownSubtitle;\n","import React from 'react';\nimport BaseDropdownSubtitle from './DropdownSubtitle.styled';\nimport type DropdownSubtitleProps from './DropdownSubtitle.types';\n\nconst DropdownSubtitle = ({ label }: DropdownSubtitleProps) => {\n return <BaseDropdownSubtitle variant=\"small_body_m1\">{label}</BaseDropdownSubtitle>;\n};\n\nexport default DropdownSubtitle;\n","import React from 'react';\nimport { Select, styled } from '@mui/material';\nimport type { Theme } from '@mui/material';\nimport type { BaseIconDropdownProps, IconDropdownProps } from './IconDropdown.types';\n\nconst baseIconDropdownStyle = (theme: Theme) => {\n return {\n fontFamily:\n 'Pretendard,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\"',\n fontSize: '14px',\n fontWeight: '400',\n background: theme.palette.neutralGrey[85],\n width: '52px',\n borderRadius: '8px',\n border: '1px solid transparent',\n padding: '0 2px 0 0',\n height: '36px',\n color: theme.palette.neutralGrey[5],\n '& fieldset': {\n border: 'none',\n },\n '&.Mui-focused': {\n border: `1px solid transparent !important`,\n },\n '&.Mui-disabled': {\n opacity: '0.4',\n },\n '.MuiSvgIcon-root ': {\n cursor: 'pointer',\n color: theme.palette.neutralGrey[5],\n '&.Mui-disabled': {\n color: theme.palette.neutralGrey[45],\n },\n },\n '.MuiSelect-select': {\n display: 'flex',\n padding: '0 0 0 8px !important',\n width: 'fit-content',\n },\n '&:hover': {\n backgroundColor: theme.palette.neutralGrey[70],\n opacity: 0.8,\n border: `1px solid transparent`,\n '&.Mui-disabled': {\n border: '1px solid transparent',\n },\n },\n };\n};\n\nconst toggledIconDropdownStyle = (theme: Theme) => {\n return {\n backgroundColor: theme.palette.neutralGrey[70],\n border: `1px solid transparent`,\n };\n};\n\nconst BaseIconDropdown = styled(Select, {\n shouldForwardProp: (prop) => !['small', 'isToggled'].includes(prop.toString()),\n})<BaseIconDropdownProps>(({ theme, isToggled }) => {\n let style = baseIconDropdownStyle(theme);\n\n if (isToggled) {\n style = {\n ...style,\n ...toggledIconDropdownStyle(theme),\n };\n }\n\n return style;\n});\n\nconst DropdownContainer = styled('div')<IconDropdownProps>(() => {\n return {\n position: 'relative',\n display: 'flex',\n flexDirection: 'column',\n minWidth: '32px',\n };\n});\n\nexport { BaseIconDropdown, DropdownContainer };\n","import React from 'react';\nimport { useState } from 'react';\nimport { ArrowDownXs } from '../../icons';\nimport { BaseIconDropdown } from './IconDropdown.styled';\nimport theme from '../../theme';\nimport type { IconDropdownProps } from './IconDropdown.types';\n\nconst IconDropdown = ({ open, disabled, children, ...otherProps }: IconDropdownProps) => {\n const [isOpen, setOpen] = useState<boolean>(false);\n\n return (\n <BaseIconDropdown\n IconComponent={() => (\n <ArrowDownXs\n onClick={() => {\n if (typeof open === 'undefined') setOpen(false);\n }}\n style={\n isOpen || open\n ? {\n cursor: 'pointer',\n transform: 'scaleY(-1)',\n }\n : undefined\n }\n />\n )}\n open={\n // eslint-disable-next-line no-nested-ternary\n typeof open !== 'undefined' ? open : disabled ? false : isOpen\n }\n disabled={disabled}\n multiple={false}\n onClick={() => {\n if (!disabled) setOpen(!isOpen);\n }}\n MenuProps={{\n sx: {\n '.MuiPaper-root': {\n marginTop: '4px',\n borderRadius: '8px',\n background: theme.palette.neutralGrey[85],\n border: 'transparent',\n left: 0,\n width: '260px',\n },\n },\n }}\n {...otherProps}\n >\n {children}\n </BaseIconDropdown>\n );\n};\n\nexport default IconDropdown;\n"],"names":["baseTextFieldMsgErrorStyle","theme","color","palette","red","InputMsg","styled","Box","shouldForwardProp","prop","width","minWidth","includes","toString","position","display","flexDirection","Typography","error","resultStyle","maxWidth","minHeight","neutralGrey","padding","baseTextFieldMsgStyle","formatCSSSize","sizeVal","fontFamily","join","h1","fontWeight","fontSize","lineHeight","h2","h3","h4","h5","h6","h7","h8","h9","subtitle1","subtitle2","subtitle3","body_b1","body_b2","body_sb1","body_sb2","body_sb3","body_sb4","body_sb5","body_m1","body_m2","letterSpacing","body1","body2","body3","body4","body5","body6","body7","body8","small_body_b1","small_body_b2","small_body_b3","small_body_b4","small_body_b5","small_body_sb1","small_body_m1","small_body_m2","small_body_m3","small_body_m4","small_body_m5","small_body_m6","small_body_m7","small_body1","small_body2","small_body3","small_body4","small_body5","small_body_l1","small_body_l2","overline","textTransform","button1","button2","caption","SCROLLBAR_WIDTH","SMALL_SCROLLBAR_WIDTH","DRAWER_WIDTH_OPEN","DRAWER_WIDTH_CLOSE","brand","primary","secondary","text","disabled","background","common","lunitTeal","yellow","orange","magenta","blue","green","purple","pdl1Tps","Cutoff1","Cutoff49","Cutoff50","PositiveTc","NegativeTc","pdl1Cps","Cutoff10","Ca","Cis","Pch","PcL","PositiveIc","NegativeIc","io","BmrkCutoff1","BmrkCutoff20","Inflamed","ImmuneEx","ImmuneDsrt","Cs","Lc","Tc","tumorPurity","DensityBar","Ntc","her2","Her2_Negative","Her2_1_Positive","Her2_2_Positive","Her2_3_Positive","erpr","Erpr_Negative","Erpr_1_Positive","Erpr_2_Positive","Erpr_3_Positive","Cutoff0","others","RowHover","DatePickerHover","Teal50Op20","Teal50Op18","Grn20Op32","Grn30OP32","alert","InfoBG","SuccessBG","ErrorBG","WarningBG","analysisStatus","Uploaded","Analyzing","Analyzed","FailedEnabled","FailedHover","FailedSelected","Ready","ReadyHover","ReadySelected","Inferred","InferredHover","InferredSelected","Invalid","InvalidHover","InvalidSelected","scope1","scope2","scope3","scope4","info","main","success","warning","html","boxSizing","fontFeatureSettings","body","height","margin","overflow","backgroundColor","textDecoration","styleOverrides","borderRadius","border","backgroundClip","fill","stroke","typography","left","root","paddingLeft","paddingRight","borderWidth","borderColor","notchedOutline","input","boxShadow","WebkitTextFillColor","createTheme","leftDrawer","rightDrawer","spacing","components","MuiCssBaseline","MuiInputBase","inputAdornedStart","inputAdornedEnd","MuiOutlinedInput","MuiTextField","textOverflow","defaultProps","variant","module","exports","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","fixedWidthDropdownStyle","errorDropdownStyle","BaseDropdown","Select","autoWidth","fullWidth","open","style","cursor","marginRight","baseDropdownStyle","openFocusStyle","DropdownContainer","PlaceholderElem","top","pointerEvents","opacity","DropdownPlaceholder","placeholder","handlePlaceholder","Array","isArray","length","BUTTON_DROPDOWN_ITEM","shouldPadForEmptyIcon","emptyIcon","checkIcon","customIcon","selected","children","helperMsg","onChange","sx","MenuProps","ContainerProps","otherProps","isOpen","setOpen","useState","IconComponent","ArrowDown","onClick","transform","onClose","setTimeout","document","activeElement","blur","e","child","target","disablePortal","marginTop","padNoIconStyle","BaseDropdownItem","MenuItem","alignItems","justifyContent","gap","baseDropdownItemStyle","BaseShortcutLabel","right","KeyboardShortcut","label","asButton","keyboardShortcut","Check","BaseDropdownSubtitle","toggledIconDropdownStyle","BaseIconDropdown","isToggled","baseIconDropdownStyle","ArrowDownXs","multiple"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(()=>{"use strict";var e={6436:(e,t,i)=>{i.d(t,{Z:()=>a});var o=i(997),n=i(5692),l=i(6689),p=i(7353);const h={small:{width:11,height:7.8},large:{width:16,height:11.3}},r={bottom:h,left:h,right:h,top:h},g=(e,t)=>{const i=r[t][e];return"left"===t||"right"===t?{width:i.height,height:i.width}:i},x=(0,n.styled)((({className:e,ref:t,...i})=>(0,o.jsx)(n.Tooltip,{...i,ref:t,classes:{popper:e}})),{shouldForwardProp:e=>"noPadding"!==e})((({theme:e,size:t="small",placement:i="bottom",noPadding:o})=>{return{[`& .${n.tooltipClasses.tooltip}`]:{...p.Z.body5,margin:"0px !important",padding:o?"0px !important":(r=t,{small:"6px 8px",large:"12px 16px"}[r]),backgroundColor:e.palette.neutralGrey[75],borderRadius:"small"===t?"4px":"8px",filter:"drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.32)) drop-shadow(0px 4px 12px rgba(0, 0, 0, 0.4))"},[`& .${n.tooltipClasses.arrow}`]:{color:e.palette.neutralGrey[75],margin:`${l=i,h=g(t,i),{bottom:`-${h.height}px 0 0 0`,right:`0 0 0 -${h.width}px`,left:`0 -${h.width}px 0 0`,top:`0 0 -${h.height}px 0`}[l]} !important`,width:`${g(t,i).width}px !important`,height:`${g(t,i).height}px !important`}};var l,h,r})),a=(0,l.forwardRef)((({icon:e,title:t,children:i,size:l="small",placement:p="bottom",noPadding:h=!1,...r},g)=>(0,o.jsx)(x,{ref:g,arrow:!0,size:l,PopperProps:{popperOptions:{modifiers:[{name:"offset",enabled:!0,options:{offset:[0,6]}}]}},title:e&&"small"===l?(0,o.jsxs)(n.Box,{sx:{display:"flex",flexDirection:"row",gap:"8px"},children:[e,t&&(0,o.jsx)(n.Typography,{variant:"body5",children:t})]}):t,placement:p,noPadding:h,...r,children:i})))},7353:(e,t,i)=>{i.d(t,{Z:()=>o});const o={fontFamily:["Pretendard","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"'].join(","),h1:{fontWeight:600,fontSize:"52px",lineHeight:"68px"},h2:{fontWeight:700,fontSize:"38px",lineHeight:"48px"},h3:{fontWeight:500,fontSize:"38px",lineHeight:"48px"},h4:{fontWeight:600,fontSize:"30px",lineHeight:"48px"},h5:{fontWeight:400,fontSize:"30px",lineHeight:"48px"},h6:{fontWeight:700,fontSize:"28px",lineHeight:"auto"},h7:{fontWeight:600,fontSize:"24px",lineHeight:"36px"},h8:{fontWeight:600,fontSize:"20px",lineHeight:"28px"},h9:{fontWeight:600,fontSize:"16px",lineHeight:"24px"},subtitle1:{fontSize:20,fontWeight:600,lineHeight:"28px"},subtitle2:{fontSize:18,fontWeight:600,lineHeight:"24px"},subtitle3:{fontSize:16,fontWeight:600,lineHeight:"24px"},body_b1:{fontWeight:700,fontSize:"14px",lineHeight:"20px"},body_b2:{fontWeight:700,fontSize:"14px",lineHeight:"auto"},body_sb1:{fontWeight:600,fontSize:"16px",lineHeight:"24px"},body_sb2:{fontWeight:600,fontSize:"16px",lineHeight:"20px"},body_sb3:{fontWeight:700,fontSize:"15px",lineHeight:"16px"},body_sb4:{fontWeight:600,fontSize:"14px",lineHeight:"20px"},body_sb5:{fontWeight:600,fontSize:"12.4px",lineHeight:"16px"},body_m1:{fontWeight:500,fontSize:"14px",lineHeight:"20px"},body_m2:{fontWeight:500,fontSize:"13px",lineHeight:"18px",letterSpacing:"0.2px"},body1:{fontWeight:400,fontSize:"16px",lineHeight:"24px"},body2:{fontWeight:400,fontSize:"16px",lineHeight:"auto"},body3:{fontWeight:400,fontSize:"15px",lineHeight:"24px"},body4:{fontWeight:400,fontSize:"14px",lineHeight:"28px"},body5:{fontWeight:400,fontSize:"14px",lineHeight:"20px"},body6:{fontWeight:400,fontSize:"13px",lineHeight:"18px"},body7:{fontWeight:400,fontSize:"12.4px",lineHeight:"16px"},body8:{fontWeight:400,fontSize:"12px",lineHeight:"16px"},small_body_b1:{fontWeight:700,fontSize:"12px",lineHeight:"12px"},small_body_b2:{fontWeight:700,fontSize:"12px",lineHeight:"16px"},small_body_b3:{fontWeight:700,fontSize:"10px",lineHeight:"auto"},small_body_b4:{fontWeight:700,fontSize:"10px",lineHeight:"12px"},small_body_b5:{fontWeight:700,fontSize:"8px",lineHeight:"auto"},small_body_sb1:{fontWeight:600,fontSize:"12px",lineHeight:"16px"},small_body_m1:{fontWeight:500,fontSize:"13px",lineHeight:"20px"},small_body_m2:{fontWeight:500,fontSize:"12px",lineHeight:"20px"},small_body_m3:{fontWeight:500,fontSize:"10px",lineHeight:"auto"},small_body_m4:{fontWeight:500,fontSize:"10px",lineHeight:"16px"},small_body_m5:{fontWeight:500,fontSize:"8px",lineHeight:"auto"},small_body_m6:{fontWeight:500,fontSize:"8px",lineHeight:"12px"},small_body_m7:{fontWeight:500,fontSize:"7px",lineHeight:"auto"},small_body1:{fontWeight:400,fontSize:"13px",lineHeight:"24px"},small_body2:{fontWeight:400,fontSize:"12px",lineHeight:"20px"},small_body3:{fontWeight:400,fontSize:"10px",lineHeight:"auto"},small_body4:{fontWeight:400,fontSize:"10px",lineHeight:"14px"},small_body5:{fontWeight:400,fontSize:"8px",lineHeight:"auto"},small_body_l1:{fontWeight:300,fontSize:"10px",lineHeight:"20px"},small_body_l2:{fontWeight:300,fontSize:"7px",lineHeight:"auto"},overline:{fontWeight:500,fontSize:"14px",lineHeight:"20px",letterSpacing:"1px",textTransform:"uppercase"},button1:{fontWeight:600,fontSize:"16px",lineHeight:"22px",textTransform:"capitalize"},button2:{fontWeight:600,fontSize:"14px",lineHeight:"20px",letterSpacing:"0.2px",textTransform:"capitalize"},caption:{fontWeight:500,fontSize:"12px",lineHeight:"16px"}}},5692:e=>{e.exports=require("@mui/material")},8442:e=>{e.exports=require("@mui/material/styles")},6689:e=>{e.exports=require("react")},997:e=>{e.exports=require("react/jsx-runtime")}},t={};function i(o){var n=t[o];if(void 0!==n)return n.exports;var l=t[o]={exports:{}};return e[o](l,l.exports,i),l.exports}i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{i.r(o),i.d(o,{EllipsisTypography:()=>g});var e=i(997),t=i(6689),n=i(5692);const l=(0,i(8442).styled)(n.Typography,{shouldForwardProp:e=>!["direction","heightThreshold","maxLines"].includes(e.toString())})((({direction:e,maxLines:t})=>({maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",lineBreak:"anywhere",display:"-webkit-box",WebkitBoxOrient:"vertical",whiteSpace:"normal",..."row"===e?{WebkitLineClamp:1}:{WebkitLineClamp:t}})));var p=i(6436);require("lodash");const h=(0,t.createContext)({}),{Provider:r}=h,g=function({children:i,heightThreshold:o,tooltipPlacement:n="bottom",maxLines:r=1,...g}){const x=(0,t.useRef)(null),a=g.direction||"row",f=null!=o?o:1,[s,d]=(0,t.useState)(!1),{addResizeHandler:m,removeResizeHandler:b}=(0,t.useContext)(h);return(0,t.useEffect)((()=>{if(x.current){const e=x.current,t=()=>{e.scrollHeight-e.clientHeight>f&&!s?d(!0):e.scrollHeight-e.clientHeight<=f&&s&&d(!1)};return m&&(console.log(m),m(e,t)),()=>{b&&b(e)}}return()=>{}}),[x,a,s,f,m,b]),console.log(s),s?(0,e.jsx)(p.Z,{title:i,placement:n,size:"small",children:(0,e.jsx)(l,{...g,ref:x,direction:a,maxLines:r,children:i})}):(0,e.jsx)(l,{...g,ref:x,direction:a,maxLines:r,children:i})}})(),module.exports=o})();
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/EllipsisTypography/index.js","mappings":"qGAUA,MAAMA,EAAsC,CAC1CC,MAAO,CAAEC,MAAO,GAAIC,OAAQ,KAC5BC,MAAO,CAAEF,MAAO,GAAIC,OAAQ,OAGxBE,EAAiD,CACrDC,OAAQN,EACRO,KAAMP,EACNQ,MAAOR,EACPS,IAAKT,GAGMU,EAAoB,CAC/BC,EACAC,KAEA,MAAMC,EAAOR,EAAuBO,GAAkBD,GACtD,MAAyB,SAArBC,GAAoD,UAArBA,EAC1B,CAAEV,MAAOW,EAAKV,OAAQA,OAAQU,EAAKX,OAErCW,CAAI,ECKb,GA7BoB,IAAAC,SAClB,EAAGC,YAAWC,SAAQC,MACpB,SAAC,UAAU,IACLA,EACJD,IAAKA,EACLE,QAAS,CAAEC,OAAQJ,MAGvB,CACEK,kBAAoBC,GAAkB,cAATA,GATb,EAWlB,EAAGC,QAAOT,OAAO,QAASU,YAAY,SAAUC,gBAAgB,OAChE,CAAC,MAAM,EAAAC,eAAeC,WAAY,IAC7BC,EAAA,EAAkBC,MACrBC,OAAQ,iBACRC,QAASN,EAAY,kBDoBQO,ECpB4BlB,E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/oui/./src/components/Tooltip/Tooltip.styled.tsx","webpack://@lunit/oui/./src/components/Tooltip/Tooltip.tsx","webpack://@lunit/oui/./src/foundations/typography.ts","webpack://@lunit/oui/external commonjs \"@mui/material\"","webpack://@lunit/oui/external commonjs \"@mui/material/styles\"","webpack://@lunit/oui/external commonjs \"react\"","webpack://@lunit/oui/external commonjs \"react/jsx-runtime\"","webpack://@lunit/oui/webpack/bootstrap","webpack://@lunit/oui/webpack/runtime/define property getters","webpack://@lunit/oui/webpack/runtime/hasOwnProperty shorthand","webpack://@lunit/oui/webpack/runtime/make namespace object","webpack://@lunit/oui/./src/components/EllipsisTypography/EllipsisTypography.styled.ts","webpack://@lunit/oui/external commonjs \"lodash\"","webpack://@lunit/oui/./src/components/ResizeObserver/ResizeObserverContext.tsx","webpack://@lunit/oui/./src/components/EllipsisTypography/EllipsisTypography.tsx"],"sourcesContent":["import type {\n TooltipPlacement,\n TooltipPlacementToSize,\n TooltipSize,\n ArrowSizeBySize,\n TooltipSizes,\n} from './Tooltip.types';\n\n// small(10px * 6px) -> (10/2)^2 + 6^2 = 7.8^2\n// large(16px * 8px) -> (16/2)^2 + 8^2 = 11.3^2\nconst setArrowSizeBySize: ArrowSizeBySize = {\n small: { width: 11, height: 7.8 },\n large: { width: 16, height: 11.3 },\n};\n\nconst tooltipPlacementToSize: TooltipPlacementToSize = {\n bottom: setArrowSizeBySize,\n left: setArrowSizeBySize,\n right: setArrowSizeBySize,\n top: setArrowSizeBySize,\n};\n\nexport const resizeArrowBySize = (\n tooltipType: TooltipSizes,\n tooltipPlacement: TooltipPlacement,\n): TooltipSize => {\n const size = tooltipPlacementToSize[tooltipPlacement][tooltipType];\n if (tooltipPlacement === 'left' || tooltipPlacement === 'right') {\n return { width: size.height, height: size.width };\n }\n return size;\n};\n\nexport const setMarginByPlacement = (tooltipPlacement: TooltipPlacement, margin: TooltipSize) =>\n ({\n bottom: `-${margin.height}px 0 0 0`,\n right: `0 0 0 -${margin.width}px`,\n left: `0 -${margin.width}px 0 0`,\n top: `0 0 -${margin.height}px 0`,\n })[tooltipPlacement];\n\nexport const setPaddingBySize = (tooltipSize: TooltipSizes) =>\n ({\n small: '6px 8px',\n large: '12px 16px',\n })[tooltipSize];\n","import React from 'react';\nimport { Tooltip as MuiTooltip, styled, tooltipClasses } from '@mui/material';\nimport typographyOptions from '../../foundations/typography';\nimport { resizeArrowBySize, setMarginByPlacement, setPaddingBySize } from './Tooltip.utils';\nimport type { TooltipProps } from './Tooltip.types';\n\nconst BaseTooltip = styled(\n ({ className, ref, ...props }: TooltipProps) => (\n <MuiTooltip\n {...props}\n ref={ref}\n classes={{ popper: className }}\n />\n ),\n {\n shouldForwardProp: (prop) => prop !== 'noPadding',\n },\n)(({ theme, size = 'small', placement = 'bottom', noPadding }) => ({\n [`& .${tooltipClasses.tooltip}`]: {\n ...typographyOptions.body5,\n margin: '0px !important',\n padding: noPadding ? '0px !important' : setPaddingBySize(size),\n backgroundColor: theme.palette.neutralGrey[75],\n borderRadius: size === 'small' ? '4px' : '8px',\n filter:\n 'drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.32)) drop-shadow(0px 4px 12px rgba(0, 0, 0, 0.4))',\n },\n [`& .${tooltipClasses.arrow}`]: {\n color: theme.palette.neutralGrey[75],\n margin: `${setMarginByPlacement(placement, resizeArrowBySize(size, placement))} !important`,\n width: `${resizeArrowBySize(size, placement).width}px !important`,\n height: `${resizeArrowBySize(size, placement).height}px !important`,\n },\n}));\n\nexport default BaseTooltip;\n","import React from 'react';\nimport { Box, Typography } from '@mui/material';\nimport { forwardRef } from 'react';\nimport BaseTooltip from './Tooltip.styled';\nimport type { TooltipProps } from './Tooltip.types';\n\nconst Tooltip = forwardRef<HTMLDivElement, TooltipProps>(\n (\n {\n icon,\n title,\n children,\n size = 'small',\n placement = 'bottom',\n noPadding = false,\n ...otherProps\n }: TooltipProps,\n ref,\n ) => {\n return (\n <BaseTooltip\n ref={ref}\n arrow\n size={size}\n PopperProps={{\n popperOptions: {\n modifiers: [\n {\n name: 'offset',\n enabled: true,\n options: {\n offset: [0, 6],\n },\n },\n ],\n },\n }}\n title={\n icon && size === 'small' ? (\n <Box sx={{ display: 'flex', flexDirection: 'row', gap: '8px' }}>\n {icon}\n {title && <Typography variant=\"body5\">{title}</Typography>}\n </Box>\n ) : (\n title\n )\n }\n placement={placement}\n noPadding={noPadding}\n {...otherProps}\n >\n {children}\n </BaseTooltip>\n );\n },\n);\n\nexport default Tooltip;\n","import { TypographyOptions } from '@mui/material/styles/createTypography';\n\ndeclare module '@mui/material/styles' {\n interface TypographyVariants {\n h7: React.CSSProperties;\n h8: React.CSSProperties;\n h9: React.CSSProperties;\n h10: React.CSSProperties;\n\n subtitle3: React.CSSProperties;\n\n body_b1: React.CSSProperties;\n body_b2: React.CSSProperties;\n\n body_sb1: React.CSSProperties;\n body_sb2: React.CSSProperties;\n body_sb3: React.CSSProperties;\n body_sb4: React.CSSProperties;\n body_sb5: React.CSSProperties;\n\n body_m1: React.CSSProperties;\n body_m2: React.CSSProperties;\n\n body1: React.CSSProperties;\n body2: React.CSSProperties;\n body3: React.CSSProperties;\n body4: React.CSSProperties;\n body5: React.CSSProperties;\n body6: React.CSSProperties;\n body7: React.CSSProperties;\n body8: React.CSSProperties;\n\n small_body_b1: React.CSSProperties;\n small_body_b2: React.CSSProperties;\n small_body_b3: React.CSSProperties;\n small_body_b4: React.CSSProperties;\n small_body_b5: React.CSSProperties;\n\n small_body_sb1: React.CSSProperties;\n\n small_body_m1: React.CSSProperties;\n small_body_m2: React.CSSProperties;\n small_body_m3: React.CSSProperties;\n small_body_m4: React.CSSProperties;\n small_body_m5: React.CSSProperties;\n small_body_m6: React.CSSProperties;\n small_body_m7: React.CSSProperties;\n\n small_body1: React.CSSProperties;\n small_body2: React.CSSProperties;\n small_body3: React.CSSProperties;\n small_body4: React.CSSProperties;\n small_body5: React.CSSProperties;\n\n small_body_l1: React.CSSProperties;\n small_body_l2: React.CSSProperties;\n\n overline: React.CSSProperties;\n\n button1: React.CSSProperties;\n button2: React.CSSProperties;\n\n caption: React.CSSProperties;\n }\n\n interface TypographyVariantsOptions {\n h7?: React.CSSProperties;\n h8?: React.CSSProperties;\n h9?: React.CSSProperties;\n h10?: React.CSSProperties;\n\n subtitle3?: React.CSSProperties;\n\n body_b1?: React.CSSProperties;\n body_b2?: React.CSSProperties;\n\n body_sb1?: React.CSSProperties;\n body_sb2?: React.CSSProperties;\n body_sb3?: React.CSSProperties;\n body_sb4?: React.CSSProperties;\n body_sb5?: React.CSSProperties;\n\n body_m1?: React.CSSProperties;\n body_m2?: React.CSSProperties;\n\n body1?: React.CSSProperties;\n body2?: React.CSSProperties;\n body3?: React.CSSProperties;\n body4?: React.CSSProperties;\n body5?: React.CSSProperties;\n body6?: React.CSSProperties;\n body7?: React.CSSProperties;\n body8?: React.CSSProperties;\n\n small_body_b1?: React.CSSProperties;\n small_body_b2?: React.CSSProperties;\n small_body_b3?: React.CSSProperties;\n small_body_b4?: React.CSSProperties;\n small_body_b5?: React.CSSProperties;\n\n small_body_sb1?: React.CSSProperties;\n\n small_body_m1?: React.CSSProperties;\n small_body_m2?: React.CSSProperties;\n small_body_m3?: React.CSSProperties;\n small_body_m4?: React.CSSProperties;\n small_body_m5?: React.CSSProperties;\n small_body_m6?: React.CSSProperties;\n small_body_m7?: React.CSSProperties;\n\n small_body1?: React.CSSProperties;\n small_body2?: React.CSSProperties;\n small_body3?: React.CSSProperties;\n small_body4?: React.CSSProperties;\n small_body5?: React.CSSProperties;\n\n small_body_l1?: React.CSSProperties;\n small_body_l2?: React.CSSProperties;\n\n overline?: React.CSSProperties;\n\n button1?: React.CSSProperties;\n button2?: React.CSSProperties;\n\n caption?: React.CSSProperties;\n }\n}\n\ndeclare module '@mui/material/Typography' {\n interface TypographyPropsVariantOverrides {\n h7: true;\n h8: true;\n h9: true;\n h10: true;\n\n subtitle3: true;\n\n body_b1: true;\n body_b2: true;\n\n body_sb1: true;\n body_sb2: true;\n body_sb3: true;\n body_sb4: true;\n body_sb5: true;\n\n body_m1: true;\n body_m2: true;\n\n body1: true;\n body2: true;\n body3: true;\n body4: true;\n body5: true;\n body6: true;\n body7: true;\n body8: true;\n\n small_body_b1: true;\n small_body_b2: true;\n small_body_b3: true;\n small_body_b4: true;\n small_body_b5: true;\n\n small_body_sb1: true;\n\n small_body_m1: true;\n small_body_m2: true;\n small_body_m3: true;\n small_body_m4: true;\n small_body_m5: true;\n small_body_m6: true;\n small_body_m7: true;\n\n small_body1: true;\n small_body2: true;\n small_body3: true;\n small_body4: true;\n small_body5: true;\n\n small_body_l1: true;\n small_body_l2: true;\n\n overline: true;\n\n button1: true;\n button2: true;\n\n caption: true;\n }\n}\n\nconst typographyOptions: TypographyOptions = {\n fontFamily: [\n 'Pretendard',\n '-apple-system',\n 'BlinkMacSystemFont',\n '\"Segoe UI\"',\n 'Roboto',\n '\"Helvetica Neue\"',\n 'Arial',\n 'sans-serif',\n '\"Apple Color Emoji\"',\n '\"Segoe UI Emoji\"',\n '\"Segoe UI Symbol\"',\n ].join(','),\n h1: {\n fontWeight: 600,\n fontSize: '52px',\n lineHeight: '68px',\n },\n h2: {\n fontWeight: 700,\n fontSize: '38px',\n lineHeight: '48px',\n },\n h3: {\n fontWeight: 500,\n fontSize: '38px',\n lineHeight: '48px',\n },\n h4: {\n fontWeight: 600,\n fontSize: '30px',\n lineHeight: '48px',\n },\n h5: {\n fontWeight: 400,\n fontSize: '30px',\n lineHeight: '48px',\n },\n h6: {\n fontWeight: 700,\n fontSize: '28px',\n lineHeight: 'auto',\n },\n h7: {\n fontWeight: 600,\n fontSize: '24px',\n lineHeight: '36px',\n },\n h8: {\n fontWeight: 600,\n fontSize: '20px',\n lineHeight: '28px',\n },\n h9: {\n fontWeight: 600,\n fontSize: '16px',\n lineHeight: '24px',\n },\n subtitle1: {\n fontSize: 20,\n fontWeight: 600,\n lineHeight: '28px',\n },\n subtitle2: {\n fontSize: 18,\n fontWeight: 600,\n lineHeight: '24px',\n },\n subtitle3: {\n fontSize: 16,\n fontWeight: 600,\n lineHeight: '24px',\n },\n\n body_b1: {\n fontWeight: 700,\n fontSize: '14px',\n lineHeight: '20px',\n },\n body_b2: {\n fontWeight: 700,\n fontSize: '14px',\n lineHeight: 'auto',\n },\n\n body_sb1: {\n fontWeight: 600,\n fontSize: '16px',\n lineHeight: '24px',\n },\n body_sb2: {\n fontWeight: 600,\n fontSize: '16px',\n lineHeight: '20px',\n },\n body_sb3: {\n fontWeight: 700,\n fontSize: '15px',\n lineHeight: '16px',\n },\n body_sb4: {\n fontWeight: 600,\n fontSize: '14px',\n lineHeight: '20px',\n },\n body_sb5: {\n fontWeight: 600,\n fontSize: '12.4px',\n lineHeight: '16px',\n },\n\n body_m1: {\n fontWeight: 500,\n fontSize: '14px',\n lineHeight: '20px',\n },\n body_m2: {\n fontWeight: 500,\n fontSize: '13px',\n lineHeight: '18px',\n letterSpacing: '0.2px',\n },\n\n body1: {\n fontWeight: 400,\n fontSize: '16px',\n lineHeight: '24px',\n },\n body2: {\n fontWeight: 400,\n fontSize: '16px',\n lineHeight: 'auto',\n },\n body3: {\n fontWeight: 400,\n fontSize: '15px',\n lineHeight: '24px',\n },\n body4: {\n fontWeight: 400,\n fontSize: '14px',\n lineHeight: '28px',\n },\n body5: {\n fontWeight: 400,\n fontSize: '14px',\n lineHeight: '20px',\n },\n body6: {\n fontWeight: 400,\n fontSize: '13px',\n lineHeight: '18px',\n },\n body7: {\n fontWeight: 400,\n fontSize: '12.4px',\n lineHeight: '16px',\n },\n body8: {\n fontWeight: 400,\n fontSize: '12px',\n lineHeight: '16px',\n },\n\n small_body_b1: {\n fontWeight: 700,\n fontSize: '12px',\n lineHeight: '12px',\n },\n small_body_b2: {\n fontWeight: 700,\n fontSize: '12px',\n lineHeight: '16px',\n },\n small_body_b3: {\n fontWeight: 700,\n fontSize: '10px',\n lineHeight: 'auto',\n },\n small_body_b4: {\n fontWeight: 700,\n fontSize: '10px',\n lineHeight: '12px',\n },\n small_body_b5: {\n fontWeight: 700,\n fontSize: '8px',\n lineHeight: 'auto',\n },\n\n small_body_sb1: {\n fontWeight: 600,\n fontSize: '12px',\n lineHeight: '16px',\n },\n\n small_body_m1: {\n fontWeight: 500,\n fontSize: '13px',\n lineHeight: '20px',\n },\n small_body_m2: {\n fontWeight: 500,\n fontSize: '12px',\n lineHeight: '20px',\n },\n small_body_m3: {\n fontWeight: 500,\n fontSize: '10px',\n lineHeight: 'auto',\n },\n small_body_m4: {\n fontWeight: 500,\n fontSize: '10px',\n lineHeight: '16px',\n },\n small_body_m5: {\n fontWeight: 500,\n fontSize: '8px',\n lineHeight: 'auto',\n },\n small_body_m6: {\n fontWeight: 500,\n fontSize: '8px',\n lineHeight: '12px',\n },\n small_body_m7: {\n fontWeight: 500,\n fontSize: '7px',\n lineHeight: 'auto',\n },\n\n small_body1: {\n fontWeight: 400,\n fontSize: '13px',\n lineHeight: '24px',\n },\n small_body2: {\n fontWeight: 400,\n fontSize: '12px',\n lineHeight: '20px',\n },\n small_body3: {\n fontWeight: 400,\n fontSize: '10px',\n lineHeight: 'auto',\n },\n small_body4: {\n fontWeight: 400,\n fontSize: '10px',\n lineHeight: '14px',\n },\n small_body5: {\n fontWeight: 400,\n fontSize: '8px',\n lineHeight: 'auto',\n },\n\n small_body_l1: {\n fontWeight: 300,\n fontSize: '10px',\n lineHeight: '20px',\n },\n small_body_l2: {\n fontWeight: 300,\n fontSize: '7px',\n lineHeight: 'auto',\n },\n\n overline: {\n fontWeight: 500,\n fontSize: '14px',\n lineHeight: '20px',\n letterSpacing: '1px',\n textTransform: 'uppercase',\n },\n\n button1: {\n fontWeight: 600,\n fontSize: '16px',\n lineHeight: '22px',\n textTransform: 'capitalize',\n },\n button2: {\n fontWeight: 600,\n fontSize: '14px',\n lineHeight: '20px',\n letterSpacing: '0.2px',\n textTransform: 'capitalize',\n },\n\n caption: {\n fontWeight: 500,\n fontSize: '12px',\n lineHeight: '16px',\n },\n};\n\nexport default typographyOptions;\n","module.exports = require(\"@mui/material\");","module.exports = require(\"@mui/material/styles\");","module.exports = require(\"react\");","module.exports = require(\"react/jsx-runtime\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import { Typography as MUITypography } from '@mui/material';\nimport { styled } from '@mui/material/styles';\nimport type { BaseEllipsisTypographyProps } from './EllipsisTypography.types';\n\nconst StyledTypography = styled(MUITypography, {\n shouldForwardProp: (prop) =>\n !['direction', 'heightThreshold', 'maxLines'].includes(prop.toString()),\n})<BaseEllipsisTypographyProps>(({ direction, maxLines }) => ({\n maxWidth: '100%',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n lineBreak: 'anywhere',\n display: '-webkit-box',\n WebkitBoxOrient: 'vertical',\n whiteSpace: 'normal',\n ...(direction === 'row' ? { WebkitLineClamp: 1 } : { WebkitLineClamp: maxLines }),\n}));\n\nexport default StyledTypography;\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"lodash\");","import React, { createContext, useEffect, useRef } from 'react';\nimport { v4 as uuidV4 } from 'uuid';\nimport { cloneDeep as _cloneDeep, throttle as _throttle } from 'lodash';\n\ntype EntryHandler = (entry: Element) => void;\n\ntype ObserverEntryHandlers = {\n [key: string]: EntryHandler;\n};\n\ninterface IResizeObserverContextProps {\n addResizeHandler(target: Element, handler: EntryHandler): void;\n removeResizeHandler(target: Element): void;\n}\n\nconst ResizeObserverContext: React.Context<IResizeObserverContextProps> = createContext(\n {} as IResizeObserverContextProps,\n);\nconst { Provider } = ResizeObserverContext;\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst ResizeObserverProvider = ({ children }: any) => {\n const observerRef = useRef<ResizeObserver>(null);\n const handlersRef = useRef<ObserverEntryHandlers>({});\n\n function getObserver(): ResizeObserver {\n let current = _cloneDeep(observerRef.current);\n if (current === null) {\n current = new ResizeObserver(\n _throttle((entries) => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n entries.forEach((entry: any) => {\n const resizeHandlers = handlersRef.current;\n const observerKey = entry.target.attributes.getNamedItem('data-resizeobkey');\n if (resizeHandlers[observerKey.value]) {\n resizeHandlers[observerKey.value](entry.target);\n }\n });\n }),\n );\n }\n return current;\n }\n\n const addResizeHandler = (target: Element, handler: EntryHandler) => {\n let observerKey = target.attributes.getNamedItem('data-resizeobkey');\n if (observerKey === null) {\n target.setAttribute('data-resizeobkey', uuidV4());\n observerKey = target.attributes.getNamedItem('data-resizeobkey');\n }\n handlersRef.current[observerKey!.value] = handler;\n getObserver().observe(target);\n };\n\n const removeResizeHandler = (target: Element) => {\n const observerKey = target.attributes.getNamedItem('data-resizeobkey');\n if (observerKey !== null) {\n delete handlersRef.current[observerKey.value];\n }\n getObserver().unobserve(target);\n };\n\n useEffect(() => {\n return () => {\n if (observerRef.current) {\n observerRef.current.disconnect();\n }\n };\n }, []);\n\n return (\n <Provider\n value={{\n addResizeHandler,\n removeResizeHandler,\n }}\n >\n {children}\n </Provider>\n );\n};\n\nexport { ResizeObserverContext, ResizeObserverProvider };\n","import React from 'react';\nimport { useContext, useEffect, useRef, useState } from 'react';\nimport StyledTypography from './EllipsisTypography.styled';\nimport type { EllipsisTypographyProps } from './EllipsisTypography.types';\nimport { Tooltip } from '../Tooltip';\nimport { ResizeObserverContext } from '../ResizeObserver/ResizeObserverContext';\n\nfunction EllipsisTypography({\n children,\n heightThreshold: heightThresholdProp,\n tooltipPlacement = 'bottom',\n maxLines = 1,\n ...otherProps\n}: EllipsisTypographyProps) {\n const typographyRef = useRef<HTMLElement>(null);\n const direction = otherProps.direction || 'row';\n const heightThreshold = heightThresholdProp != null ? heightThresholdProp : 1;\n const [showTooltip, setShowTooltip] = useState(false);\n const { addResizeHandler, removeResizeHandler } = useContext(ResizeObserverContext);\n\n useEffect(() => {\n if (typographyRef.current) {\n const target: Element = typographyRef.current;\n const resizeHandler = () => {\n switch (direction) {\n case 'row':\n if (target.scrollHeight - target.clientHeight > heightThreshold && !showTooltip) {\n setShowTooltip(true);\n } else if (\n target.scrollHeight - target.clientHeight <= heightThreshold &&\n showTooltip\n ) {\n setShowTooltip(false);\n }\n break;\n case 'column':\n default:\n if (target.scrollHeight - target.clientHeight > heightThreshold && !showTooltip) {\n setShowTooltip(true);\n } else if (\n target.scrollHeight - target.clientHeight <= heightThreshold &&\n showTooltip\n ) {\n setShowTooltip(false);\n }\n }\n };\n\n if (addResizeHandler) {\n console.log(addResizeHandler);\n addResizeHandler(target, resizeHandler);\n }\n return () => {\n if (removeResizeHandler) removeResizeHandler(target);\n };\n }\n return () => {};\n }, [\n typographyRef,\n direction,\n showTooltip,\n heightThreshold,\n addResizeHandler,\n removeResizeHandler,\n ]);\n\n console.log(showTooltip);\n\n if (showTooltip) {\n return (\n <Tooltip\n title={children}\n placement={tooltipPlacement}\n size=\"small\"\n >\n <StyledTypography\n {...otherProps}\n ref={typographyRef}\n direction={direction}\n maxLines={maxLines}\n >\n {children}\n </StyledTypography>\n </Tooltip>\n );\n }\n return (\n <StyledTypography\n {...otherProps}\n ref={typographyRef}\n direction={direction}\n maxLines={maxLines}\n >\n {children}\n </StyledTypography>\n );\n}\n\nexport default EllipsisTypography;\n"],"names":["setArrowSizeBySize","small","width","height","large","tooltipPlacementToSize","bottom","left","right","top","resizeArrowBySize","tooltipType","tooltipPlacement","size","styled","className","ref","props","classes","popper","shouldForwardProp","prop","theme","placement","noPadding","tooltipClasses","tooltip","typography","body5","margin","padding","tooltipSize","backgroundColor","palette","neutralGrey","borderRadius","filter","arrow","color","forwardRef","icon","title","children","otherProps","PopperProps","popperOptions","modifiers","name","enabled","options","offset","Box","sx","display","flexDirection","gap","Typography","variant","fontFamily","join","h1","fontWeight","fontSize","lineHeight","h2","h3","h4","h5","h6","h7","h8","h9","subtitle1","subtitle2","subtitle3","body_b1","body_b2","body_sb1","body_sb2","body_sb3","body_sb4","body_sb5","body_m1","body_m2","letterSpacing","body1","body2","body3","body4","body6","body7","body8","small_body_b1","small_body_b2","small_body_b3","small_body_b4","small_body_b5","small_body_sb1","small_body_m1","small_body_m2","small_body_m3","small_body_m4","small_body_m5","small_body_m6","small_body_m7","small_body1","small_body2","small_body3","small_body4","small_body5","small_body_l1","small_body_l2","overline","textTransform","button1","button2","caption","module","exports","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","d","definition","key","o","Object","defineProperty","enumerable","get","obj","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","includes","toString","direction","maxLines","maxWidth","overflow","textOverflow","lineBreak","WebkitBoxOrient","whiteSpace","WebkitLineClamp","ResizeObserverContext","createContext","Provider","heightThreshold","heightThresholdProp","typographyRef","useRef","showTooltip","setShowTooltip","useState","addResizeHandler","removeResizeHandler","useContext","useEffect","current","target","resizeHandler","scrollHeight","clientHeight","console","log","Tooltip"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(()=>{"use strict";var e={7353:(e,t,i)=>{i.d(t,{Z:()=>o});const o={fontFamily:["Pretendard","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"'].join(","),h1:{fontWeight:600,fontSize:"52px",lineHeight:"68px"},h2:{fontWeight:700,fontSize:"38px",lineHeight:"48px"},h3:{fontWeight:500,fontSize:"38px",lineHeight:"48px"},h4:{fontWeight:600,fontSize:"30px",lineHeight:"48px"},h5:{fontWeight:400,fontSize:"30px",lineHeight:"48px"},h6:{fontWeight:700,fontSize:"28px",lineHeight:"auto"},h7:{fontWeight:600,fontSize:"24px",lineHeight:"36px"},h8:{fontWeight:600,fontSize:"20px",lineHeight:"28px"},h9:{fontWeight:600,fontSize:"16px",lineHeight:"24px"},subtitle1:{fontSize:20,fontWeight:600,lineHeight:"28px"},subtitle2:{fontSize:18,fontWeight:600,lineHeight:"24px"},subtitle3:{fontSize:16,fontWeight:600,lineHeight:"24px"},body_b1:{fontWeight:700,fontSize:"14px",lineHeight:"20px"},body_b2:{fontWeight:700,fontSize:"14px",lineHeight:"auto"},body_sb1:{fontWeight:600,fontSize:"16px",lineHeight:"24px"},body_sb2:{fontWeight:600,fontSize:"16px",lineHeight:"20px"},body_sb3:{fontWeight:700,fontSize:"15px",lineHeight:"16px"},body_sb4:{fontWeight:600,fontSize:"14px",lineHeight:"20px"},body_sb5:{fontWeight:600,fontSize:"12.4px",lineHeight:"16px"},body_m1:{fontWeight:500,fontSize:"14px",lineHeight:"20px"},body_m2:{fontWeight:500,fontSize:"13px",lineHeight:"18px",letterSpacing:"0.2px"},body1:{fontWeight:400,fontSize:"16px",lineHeight:"24px"},body2:{fontWeight:400,fontSize:"16px",lineHeight:"auto"},body3:{fontWeight:400,fontSize:"15px",lineHeight:"24px"},body4:{fontWeight:400,fontSize:"14px",lineHeight:"28px"},body5:{fontWeight:400,fontSize:"14px",lineHeight:"20px"},body6:{fontWeight:400,fontSize:"13px",lineHeight:"18px"},body7:{fontWeight:400,fontSize:"12.4px",lineHeight:"16px"},body8:{fontWeight:400,fontSize:"12px",lineHeight:"16px"},small_body_b1:{fontWeight:700,fontSize:"12px",lineHeight:"12px"},small_body_b2:{fontWeight:700,fontSize:"12px",lineHeight:"16px"},small_body_b3:{fontWeight:700,fontSize:"10px",lineHeight:"auto"},small_body_b4:{fontWeight:700,fontSize:"10px",lineHeight:"12px"},small_body_b5:{fontWeight:700,fontSize:"8px",lineHeight:"auto"},small_body_sb1:{fontWeight:600,fontSize:"12px",lineHeight:"16px"},small_body_m1:{fontWeight:500,fontSize:"13px",lineHeight:"20px"},small_body_m2:{fontWeight:500,fontSize:"12px",lineHeight:"20px"},small_body_m3:{fontWeight:500,fontSize:"10px",lineHeight:"auto"},small_body_m4:{fontWeight:500,fontSize:"10px",lineHeight:"16px"},small_body_m5:{fontWeight:500,fontSize:"8px",lineHeight:"auto"},small_body_m6:{fontWeight:500,fontSize:"8px",lineHeight:"12px"},small_body_m7:{fontWeight:500,fontSize:"7px",lineHeight:"auto"},small_body1:{fontWeight:400,fontSize:"13px",lineHeight:"24px"},small_body2:{fontWeight:400,fontSize:"12px",lineHeight:"20px"},small_body3:{fontWeight:400,fontSize:"10px",lineHeight:"auto"},small_body4:{fontWeight:400,fontSize:"10px",lineHeight:"14px"},small_body5:{fontWeight:400,fontSize:"8px",lineHeight:"auto"},small_body_l1:{fontWeight:300,fontSize:"10px",lineHeight:"20px"},small_body_l2:{fontWeight:300,fontSize:"7px",lineHeight:"auto"},overline:{fontWeight:500,fontSize:"14px",lineHeight:"20px",letterSpacing:"1px",textTransform:"uppercase"},button1:{fontWeight:600,fontSize:"16px",lineHeight:"22px",textTransform:"capitalize"},button2:{fontWeight:600,fontSize:"14px",lineHeight:"20px",letterSpacing:"0.2px",textTransform:"capitalize"},caption:{fontWeight:500,fontSize:"12px",lineHeight:"16px"}}},3356:(e,t,i)=>{i.d(t,{dS:()=>r,nn:()=>o,sp:()=>l,vI:()=>n});const o=10,r=6,n=280,l=52},8301:(e,t,i)=>{i.d(t,{Z:()=>g});var o=i(8442),r=i(3356);const n={brand:{primary:"#3BC9DB",secondary:"#96EDFF"},text:{primary:"#FFFFFF",secondary:"#AFAFB1",disabled:"#A8A8A8"},background:{},common:{},lunitTeal:{5:"#EAFAFF",10:"#96EDFF",20:"#30DFFC",30:"#3BC9DB",40:"#00C9EA",50:"#0ABEE5",60:"#00B3DB",70:"#048AB4",80:"#05495F",90:"#002930"},neutralGrey:{0:"#FFFFFF",5:"#FAFAFB",10:"#FAFAFA",15:"#F1F1F4",20:"#DFDFE2",25:"#D4D4D6",30:"#C6C6C8",35:"#C4C4C4",40:"#AFAFB1",45:"#99999B",50:"#7F7F81",55:"#737377",60:"#747477",65:"#626264",70:"#4E4E50",75:"#3E3E40",80:"#363B3E",85:"#333336",90:"#2D2D2F",95:"#1F1F21",96:"#1E1E1E",97:"#111113",100:"#000000"},yellow:{5:"#FAF089",10:"#FFE500",20:"#FFE600"},orange:{5:"#FFD9BE",10:"#FFB784",20:"#FF9B54"},magenta:{5:"#F9D1D1",10:"#FFC9C9",20:"#FAB2D3",30:"#FFA4B6",40:"#FF8787",50:"#FF8389",60:"#FB7791",70:"#F765A3",80:"#FF50A0",90:"#E41976",100:"#B20052"},red:{5:"#FA4D56",10:"#FE353F",20:"#FF0000",30:"#E63B28",40:"#DA1E28",50:"#A60D0D"},blue:{5:"#A5D8FF",10:"#A6C0D6",15:"#4DABF7",20:"#78A9FF",25:"#748FFC",30:"#587EFC",35:"#1971D7",40:"#3A5DD9",45:"#4F5DC5",50:"#443AFF",55:"#165BAA",60:"#0055AB",65:"#132A9B",70:"#034480",75:"#0B1354"},green:{10:"#73FF0C",20:"#66BB6A",30:"#42BE65",40:"#24A148",50:"#014B58"},purple:{5:"#BAC8FF",10:"#B0C0F4",15:"#D0BFFF",20:"#C378DB",30:"#9775FA",40:"#9E6BF0",50:"#A155B9",60:"#8D2FAB",70:"#7E41DA",80:"#3612A1"},pdl1Tps:{Cutoff1:"#5091FF",Cutoff49:"#0CA678",Cutoff50:"#F76707",PositiveTc:"#AD1EFF",NegativeTc:"#1EFCFF"},pdl1Cps:{Cutoff1:"#5091FF",Cutoff10:"#F76707",Ca:"#0CA678",Cis:"#5B8DEF",Pch:"#FF8989",PcL:"#D6C896",PositiveTc:"#AD1EFF",NegativeTc:"#1EFCFF",PositiveIc:"#FFEE59",NegativeIc:"#FF5403"},io:{BmrkCutoff1:"#5091FF",BmrkCutoff20:"#EE5140",Inflamed:"#C65F6E",ImmuneEx:"#91C4A3",ImmuneDsrt:"#143DDE",Ca:"#0CA678",Cs:"#91C4A3",Lc:"#FFF950",Tc:"#F76707"},tumorPurity:{DensityBar:"#EE5140",Ca:"#0CA678",Tc:"#F76707",Ntc:"#FFF950"},her2:{Ca:"#0CA678",Cis:"#5B8DEF",Her2_Negative:"#4B93F9",Her2_1_Positive:"#79FD4B",Her2_2_Positive:"#F8E71C",Her2_3_Positive:"#EF0B0B"},erpr:{Ca:"#0CA678",Cis:"#5B8DEF",Erpr_Negative:"#4B93F9",Erpr_1_Positive:"#79FD4B",Erpr_2_Positive:"#F8E71C",Erpr_3_Positive:"#EF0B0B",Cutoff0:"#75F0DA",Cutoff1:"#FD6D0D",Cutoff10:"#9E5EFF"},others:{RowHover:"rgba(134, 148, 177, 0.08)",DatePickerHover:"rgba(114, 146, 253, 0.3)",Teal50Op20:"rgba(0, 201, 234, 0.2)",Teal50Op18:"rgba(0, 201, 234, 0.18)",Grn20Op32:"rgba(102, 187, 106, 0.32)",Grn30OP32:"rgba(66, 190, 101, 0.32)"},alert:{InfoBG:"rgba(55, 81, 167, 0.92)",SuccessBG:"rgba(0, 137, 159, 0.92)",ErrorBG:"rgba(116, 25, 15, 0.9)",WarningBG:"rgba(209, 188, 0, 0.7)"},analysisStatus:{Uploaded:"#99B8D1",Analyzing:"#AA99EC",Analyzed:"#8DCEC3",FailedEnabled:"#CA1414",FailedHover:"#FF8787",FailedSelected:"#A60D0D",Ready:"#00D1FF",ReadyHover:"#38E3FF",ReadySelected:"#006379",Inferred:"#3E63DD",InferredHover:"#46BCFF",InferredSelected:"#273E89",Invalid:"#838389",InvalidHover:"#A7A7A7",InvalidSelected:"#6E6E74"},scope1:"#7292FD",scope2:"#587EFC",scope3:"#B0C0F4",scope4:"#3A5DD9",info:{main:"#748FFC"},success:{main:"#00C9EA"},error:{main:"#FA4D56"},warning:{main:"#FFE600"}};var l=i(7353);const a={fontSize:"14px",boxSizing:"border-box",fontFamily:"Pretendard, sans-serif",fontFeatureSettings:"'tnum', 'ss01', 'ss02', 'ss08'"},p={...a,width:"100vw",height:"100vh",margin:0,padding:0,overflow:"hidden",lineHeight:"normal",color:"white",backgroundColor:n.neutralGrey?.[95],"& a":{textDecoration:"none"}},d={styleOverrides:{html:a,".App":p,"#root":p,"*::-webkit-scrollbar-track":{backgroundColor:"transparent"},"*::-webkit-scrollbar-corner":{backgroundColor:"transparent"},"*::-webkit-scrollbar":{width:r.nn+4,height:r.nn+4},".small-scrollbar::-webkit-scrollbar, .small-scrollbar *::-webkit-scrollbar":{width:r.dS+4,height:r.dS+4},"*::-webkit-scrollbar-thumb":{backgroundColor:n.neutralGrey?.[65],borderRadius:6,border:"2px transparent solid",backgroundClip:"padding-box"},"*::-webkit-scrollbar-thumb:hover":{backgroundColor:n.neutralGrey?.[60]},"*::-webkit-scrollbar-thumb:active":{backgroundColor:n.neutralGrey?.[40]},".Mui-disabled::-webkit-scrollbar-thumb:hover, .Mui-disabled *::-webkit-scrollbar-thumb:hover":{backgroundColor:n.neutralGrey?.[65]},".Mui-disabled::-webkit-scrollbar-thumb:active, .Mui-disabled *::-webkit-scrollbar-thumb:active":{backgroundColor:n.neutralGrey?.[65]},"svg.MuiCircularProgress-svg *":{fill:"none"},"svg *.stroke-inherit":{fill:"none",stroke:"currentColor"},".snackbarVariantError":{background:"rgba(238, 81, 64, 0.18)",border:"1px solid #EE5140",...l.Z.body5},"#page-root.drawer-open ~ .SnackbarContainer-left":{left:`${r.vI+20}px !important`},"#page-root.drawer-close ~ .SnackbarContainer-left":{left:`${r.sp+20}px !important`}}},s={styleOverrides:{root:{borderRadius:8,backgroundColor:n.neutralGrey[75],color:n.neutralGrey[45],"&.MuiInputBase-adornedStart":{paddingLeft:"16px"},"&.MuiInputBase-adornedEnd":{paddingRight:"16px"},"&.Mui-disabled":{backgroundColor:"transparent",borderWidth:"1px",borderColor:n.neutralGrey[45]}},notchedOutline:{border:"1px solid transparent",borderRadius:8,padding:0,"html .MuiOutlinedInput-root:hover &":{borderColor:n.neutralGrey[45]},"html .MuiOutlinedInput-root.Mui-focused &":{borderWidth:"1px",borderColor:n.lunitTeal[10]},"html .MuiOutlinedInput-root.Mui-disabled &":{border:"none"}},input:{...l.Z.body5,color:n.neutralGrey[5],padding:"8px 16px",boxSizing:"border-box","&::placeholder":{color:n.neutralGrey[45]},"&:-webkit-autofill":{boxShadow:`0 0 0 100px ${n.neutralGrey[75]}`,WebkitTextFillColor:n.neutralGrey[5]},"&.Mui-disabled":{backgroundColor:"inherit",borderRadius:"8px",WebkitTextFillColor:n.neutralGrey[45]}}}},g=(0,o.createTheme)({leftDrawer:{width:240},rightDrawer:{width:260},palette:n,spacing:4,typography:l.Z,components:{MuiCssBaseline:d,MuiInputBase:{styleOverrides:{root:{"&":{padding:0}},input:{height:"36px"},inputAdornedStart:{"html &":{paddingLeft:0}},inputAdornedEnd:{"html &":{paddingRight:0}}}},MuiOutlinedInput:s,MuiTextField:{styleOverrides:{root:{width:"100%",input:{textOverflow:"ellipsis"}}},defaultProps:{variant:"standard"}}}})},5692:e=>{e.exports=require("@mui/material")},8442:e=>{e.exports=require("@mui/material/styles")},997:e=>{e.exports=require("react/jsx-runtime")}},t={};function i(o){var r=t[o];if(void 0!==r)return r.exports;var n=t[o]={exports:{}};return e[o](n,n.exports,i),n.exports}i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};(()=>{i.r(o),i.d(o,{FileDnDZone:()=>s});var e=i(997),t=i(5692);const r={display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},n=(0,t.styled)(t.Box)((()=>({position:"relative",height:"100%",width:"100%"}))),l=(0,t.styled)(t.Box)((()=>({...r,position:"absolute",left:"calc(50% - 213px)",top:"100px",height:"196px",width:"426px",gap:"16px"}))),a=(0,t.styled)(t.Box)((()=>({...r,gap:"4px"}))),p=(0,t.styled)(t.Box)((()=>({...r,gap:"24px"})));var d=i(8301);const s=({slidesUploaded:i,maxSlideLimit:o=500,acceptedFileFormats:r="Leica(.svs), 3DHistech(.mrxs), and Philips(.isyntax, .tiff)",disabled:s,WrapperProps:g,OuterBoxProps:h,InnerBoxProps:b,SectionBoxProps:x})=>(0,e.jsx)(n,{sx:s?{opacity:.4}:{},...g,children:(0,e.jsxs)(l,{...h,children:[(0,e.jsx)(t.Typography,{variant:"h7",sx:{color:d.Z.palette.neutralGrey[25]},children:"Drag and drop your slide files here"}),(0,e.jsxs)(p,{...b,children:[(0,e.jsxs)(a,{...x,children:[(0,e.jsx)(t.Typography,{variant:"body_sb1",sx:{color:d.Z.palette.neutralGrey[45]},children:"Supported file formats"}),(0,e.jsx)(t.Typography,{variant:"body_sb1",sx:{color:d.Z.palette.neutralGrey[25],padding:"0 18px",textAlign:"center"},children:r})]}),(0,e.jsxs)(a,{...x,children:[(0,e.jsx)(t.Typography,{variant:"body_sb1",sx:{color:d.Z.palette.neutralGrey[45]},children:"Allowed number of slides"}),(0,e.jsx)(t.Typography,{variant:"body_sb1",sx:{color:d.Z.palette.neutralGrey[25]},children:`You have uploaded ${i.toLocaleString()} slides on Lunit SCOPE.`}),(0,e.jsx)(t.Typography,{variant:"body_sb1",sx:{color:d.Z.palette.neutralGrey[25]},children:`The number of slides cannot exceed ${o.toLocaleString()}.`})]})]})]})})})(),module.exports=o})();
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/FileDnDZone/index.js","mappings":"0DAgMA,MA2SA,EA3S6C,CAC3CA,WAAY,CACV,aACA,gBACA,qBACA,aACA,SACA,mBACA,QACA,aACA,sBACA,mBACA,qBACAC,KAAK,KACPC,GAAI,CACFC,WAAY,IACZC,SAAU,OACVC,WAAY,QAEdC,GAAI,CACFH,WAAY,IACZC,SAAU,OACVC,WAAY,QAEdE,GAAI,CACFJ,WAAY,IACZC,SAAU,OACVC,WAAY,QAEdG,GAAI,CACFL,WAAY,IACZC,SAAU,OACVC,WAAY,QAEdI,GAAI,CACFN,WAAY,IACZC,SAAU,OACVC,WAAY,QAEdK,GAAI,CACFP,WAAY,IACZC,SAAU,OACVC,WAAY,QAEdM,GAAI,CACFR,WAAY,IACZC,SAAU,OACVC,WAAY,QAEdO,GAAI,CACFT,WAAY,IACZC,SAAU,OACVC,WAAY,QAEdQ,GAAI,CACFV,WAAY,IACZC,SAAU,OACVC,WAAY,QAEdS,UAAW,CACTV,SAAU,GACVD,WAAY,IACZE,WAAY,QAEdU,UAAW,CACTX,SAAU,GACVD,WAAY,IACZE,WAAY,QAEdW,UAAW,CACTZ,SAAU,GACVD,WAAY,IACZE,WAAY,QAGdY,QAAS,CACPd,WAAY,IACZC,SAAU,OACVC,WAAY,QAEda,QAAS,CACPf,WAAY,IACZC,SAAU,OACVC,WAAY,QAGdc,SAAU,CACRhB,WAAY,IACZC,SAAU,OACVC,WAAY,QAEde,SAAU,CACRjB,WAAY,IACZC,SAAU,OACVC,WAAY,QAEdgB,SAAU,CACRlB,WAAY,IACZC,SAAU,OACVC,WAAY,QAEdiB,SAAU,CACRnB,WAAY,IACZC,SAAU,OACVC,WAAY,QAEdkB,SAAU,CACRpB,WAAY,IACZ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OqF,EAAA,EAAM9D,QAAQlH,YAAY,KAAK,SAE3C,qBAAqBsK,EAAeY,6CAEvC,SAAC,EAAAH,WAAU,CACTlD,QAAQ,WACRgD,GAAI,CAAElF,MAAOqF,EAAA,EAAM9D,QAAQlH,YAAY,KAAK,SAE3C,sCAAsCuK,EAAcW,gC","sources":["webpack://@lunit/oui/./src/foundations/typography.ts","webpack://@lunit/oui/./src/systems/index.ts","webpack://@lunit/oui/./src/foundations/palette.ts","webpack://@lunit/oui/./src/components/MuiCssBaseline.ts","webpack://@lunit/oui/./src/components/MuiOutlinedInput.ts","webpack://@lunit/oui/./src/theme.ts","webpack://@lunit/oui/./src/systems/drawer.ts","webpack://@lunit/oui/./src/foundations/spacing.ts","webpack://@lunit/oui/./src/components/MuiInputBase.ts","webpack://@lunit/oui/./src/components/MuiTextField.ts","webpack://@lunit/oui/external commonjs \"@mui/material\"","webpack://@lunit/oui/external commonjs \"@mui/material/styles\"","webpack://@lunit/oui/external commonjs \"react/jsx-runtime\"","webpack://@lunit/oui/webpack/bootstrap","webpack://@lunit/oui/webpack/runtime/define property getters","webpack://@lunit/oui/webpack/runtime/hasOwnProperty shorthand","webpack://@lunit/oui/webpack/runtime/make namespace object","webpack://@lunit/oui/./src/components/FileDnDZone/FileDnDZone.styled.ts","webpack://@lunit/oui/./src/components/FileDnDZone/FileDnDZone.utils.ts","webpack://@lunit/oui/./src/components/FileDnDZone/FileDnDZone.tsx"],"sourcesContent":["import { TypographyOptions } from '@mui/material/styles/createTypography';\n\ndeclare module '@mui/material/styles' {\n interface TypographyVariants {\n h7: React.CSSProperties;\n h8: React.CSSProperties;\n h9: React.CSSProperties;\n h10: React.CSSProperties;\n\n subtitle3: React.CSSProperties;\n\n body_b1: React.CSSProperties;\n body_b2: React.CSSProperties;\n\n body_sb1: React.CSSProperties;\n body_sb2: React.CSSProperties;\n body_sb3: React.CSSProperties;\n body_sb4: React.CSSProperties;\n body_sb5: React.CSSProperties;\n\n body_m1: React.CSSProperties;\n body_m2: React.CSSProperties;\n\n body1: React.CSSProperties;\n body2: React.CSSProperties;\n body3: React.CSSProperties;\n body4: React.CSSProperties;\n body5: React.CSSProperties;\n body6: React.CSSProperties;\n body7: React.CSSProperties;\n body8: React.CSSProperties;\n\n small_body_b1: React.CSSProperties;\n small_body_b2: React.CSSProperties;\n small_body_b3: React.CSSProperties;\n small_body_b4: React.CSSProperties;\n small_body_b5: React.CSSProperties;\n\n small_body_sb1: React.CSSProperties;\n\n small_body_m1: React.CSSProperties;\n small_body_m2: React.CSSProperties;\n small_body_m3: React.CSSProperties;\n small_body_m4: React.CSSProperties;\n small_body_m5: React.CSSProperties;\n small_body_m6: React.CSSProperties;\n small_body_m7: React.CSSProperties;\n\n small_body1: React.CSSProperties;\n small_body2: React.CSSProperties;\n small_body3: React.CSSProperties;\n small_body4: React.CSSProperties;\n small_body5: React.CSSProperties;\n\n small_body_l1: React.CSSProperties;\n small_body_l2: React.CSSProperties;\n\n overline: React.CSSProperties;\n\n button1: React.CSSProperties;\n button2: React.CSSProperties;\n\n caption: React.CSSProperties;\n }\n\n interface TypographyVariantsOptions {\n h7?: React.CSSProperties;\n h8?: React.CSSProperties;\n h9?: React.CSSProperties;\n h10?: React.CSSProperties;\n\n subtitle3?: React.CSSProperties;\n\n body_b1?: React.CSSProperties;\n body_b2?: React.CSSProperties;\n\n body_sb1?: React.CSSProperties;\n body_sb2?: React.CSSProperties;\n body_sb3?: React.CSSProperties;\n body_sb4?: React.CSSProperties;\n body_sb5?: React.CSSProperties;\n\n body_m1?: React.CSSProperties;\n body_m2?: React.CSSProperties;\n\n body1?: React.CSSProperties;\n body2?: React.CSSProperties;\n body3?: React.CSSProperties;\n body4?: React.CSSProperties;\n body5?: React.CSSProperties;\n body6?: React.CSSProperties;\n body7?: React.CSSProperties;\n body8?: React.CSSProperties;\n\n small_body_b1?: React.CSSProperties;\n small_body_b2?: React.CSSProperties;\n small_body_b3?: React.CSSProperties;\n small_body_b4?: React.CSSProperties;\n small_body_b5?: React.CSSProperties;\n\n small_body_sb1?: React.CSSProperties;\n\n small_body_m1?: React.CSSProperties;\n small_body_m2?: React.CSSProperties;\n small_body_m3?: React.CSSProperties;\n small_body_m4?: React.CSSProperties;\n small_body_m5?: React.CSSProperties;\n small_body_m6?: React.CSSProperties;\n small_body_m7?: React.CSSProperties;\n\n small_body1?: React.CSSProperties;\n small_body2?: React.CSSProperties;\n small_body3?: React.CSSProperties;\n small_body4?: React.CSSProperties;\n small_body5?: React.CSSProperties;\n\n small_body_l1?: React.CSSProperties;\n small_body_l2?: React.CSSProperties;\n\n overline?: React.CSSProperties;\n\n button1?: React.CSSProperties;\n button2?: React.CSSProperties;\n\n caption?: React.CSSProperties;\n }\n}\n\ndeclare module '@mui/material/Typography' {\n interface TypographyPropsVariantOverrides {\n h7: true;\n h8: true;\n h9: true;\n h10: true;\n\n subtitle3: true;\n\n body_b1: true;\n body_b2: true;\n\n body_sb1: true;\n body_sb2: true;\n body_sb3: true;\n body_sb4: true;\n body_sb5: true;\n\n body_m1: true;\n body_m2: true;\n\n body1: true;\n body2: true;\n body3: true;\n body4: true;\n body5: true;\n body6: true;\n body7: true;\n body8: true;\n\n small_body_b1: true;\n small_body_b2: true;\n small_body_b3: true;\n small_body_b4: true;\n small_body_b5: true;\n\n small_body_sb1: true;\n\n small_body_m1: true;\n small_body_m2: true;\n small_body_m3: true;\n small_body_m4: true;\n small_body_m5: true;\n small_body_m6: true;\n small_body_m7: true;\n\n small_body1: true;\n small_body2: true;\n small_body3: true;\n small_body4: true;\n small_body5: true;\n\n small_body_l1: true;\n small_body_l2: true;\n\n overline: true;\n\n button1: true;\n button2: true;\n\n caption: true;\n }\n}\n\nconst typographyOptions: TypographyOptions = {\n fontFamily: [\n 'Pretendard',\n '-apple-system',\n 'BlinkMacSystemFont',\n '\"Segoe UI\"',\n 'Roboto',\n '\"Helvetica Neue\"',\n 'Arial',\n 'sans-serif',\n '\"Apple Color Emoji\"',\n '\"Segoe UI Emoji\"',\n '\"Segoe UI Symbol\"',\n ].join(','),\n h1: {\n fontWeight: 600,\n fontSize: '52px',\n lineHeight: '68px',\n },\n h2: {\n fontWeight: 700,\n fontSize: '38px',\n lineHeight: '48px',\n },\n h3: {\n fontWeight: 500,\n fontSize: '38px',\n lineHeight: '48px',\n },\n h4: {\n fontWeight: 600,\n fontSize: '30px',\n lineHeight: '48px',\n },\n h5: {\n fontWeight: 400,\n fontSize: '30px',\n lineHeight: '48px',\n },\n h6: {\n fontWeight: 700,\n fontSize: '28px',\n lineHeight: 'auto',\n },\n h7: {\n fontWeight: 600,\n fontSize: '24px',\n lineHeight: '36px',\n },\n h8: {\n fontWeight: 600,\n fontSize: '20px',\n lineHeight: '28px',\n },\n h9: {\n fontWeight: 600,\n fontSize: '16px',\n lineHeight: '24px',\n },\n subtitle1: {\n fontSize: 20,\n fontWeight: 600,\n lineHeight: '28px',\n },\n subtitle2: {\n fontSize: 18,\n fontWeight: 600,\n lineHeight: '24px',\n },\n subtitle3: {\n fontSize: 16,\n fontWeight: 600,\n lineHeight: '24px',\n },\n\n body_b1: {\n fontWeight: 700,\n fontSize: '14px',\n lineHeight: '20px',\n },\n body_b2: {\n fontWeight: 700,\n fontSize: '14px',\n lineHeight: 'auto',\n },\n\n body_sb1: {\n fontWeight: 600,\n fontSize: '16px',\n lineHeight: '24px',\n },\n body_sb2: {\n fontWeight: 600,\n fontSize: '16px',\n lineHeight: '20px',\n },\n body_sb3: {\n fontWeight: 700,\n fontSize: '15px',\n lineHeight: '16px',\n },\n body_sb4: {\n fontWeight: 600,\n fontSize: '14px',\n lineHeight: '20px',\n },\n body_sb5: {\n fontWeight: 600,\n fontSize: '12.4px',\n lineHeight: '16px',\n },\n\n body_m1: {\n fontWeight: 500,\n fontSize: '14px',\n lineHeight: '20px',\n },\n body_m2: {\n fontWeight: 500,\n fontSize: '13px',\n lineHeight: '18px',\n letterSpacing: '0.2px',\n },\n\n body1: {\n fontWeight: 400,\n fontSize: '16px',\n lineHeight: '24px',\n },\n body2: {\n fontWeight: 400,\n fontSize: '16px',\n lineHeight: 'auto',\n },\n body3: {\n fontWeight: 400,\n fontSize: '15px',\n lineHeight: '24px',\n },\n body4: {\n fontWeight: 400,\n fontSize: '14px',\n lineHeight: '28px',\n },\n body5: {\n fontWeight: 400,\n fontSize: '14px',\n lineHeight: '20px',\n },\n body6: {\n fontWeight: 400,\n fontSize: '13px',\n lineHeight: '18px',\n },\n body7: {\n fontWeight: 400,\n fontSize: '12.4px',\n lineHeight: '16px',\n },\n body8: {\n fontWeight: 400,\n fontSize: '12px',\n lineHeight: '16px',\n },\n\n small_body_b1: {\n fontWeight: 700,\n fontSize: '12px',\n lineHeight: '12px',\n },\n small_body_b2: {\n fontWeight: 700,\n fontSize: '12px',\n lineHeight: '16px',\n },\n small_body_b3: {\n fontWeight: 700,\n fontSize: '10px',\n lineHeight: 'auto',\n },\n small_body_b4: {\n fontWeight: 700,\n fontSize: '10px',\n lineHeight: '12px',\n },\n small_body_b5: {\n fontWeight: 700,\n fontSize: '8px',\n lineHeight: 'auto',\n },\n\n small_body_sb1: {\n fontWeight: 600,\n fontSize: '12px',\n lineHeight: '16px',\n },\n\n small_body_m1: {\n fontWeight: 500,\n fontSize: '13px',\n lineHeight: '20px',\n },\n small_body_m2: {\n fontWeight: 500,\n fontSize: '12px',\n lineHeight: '20px',\n },\n small_body_m3: {\n fontWeight: 500,\n fontSize: '10px',\n lineHeight: 'auto',\n },\n small_body_m4: {\n fontWeight: 500,\n fontSize: '10px',\n lineHeight: '16px',\n },\n small_body_m5: {\n fontWeight: 500,\n fontSize: '8px',\n lineHeight: 'auto',\n },\n small_body_m6: {\n fontWeight: 500,\n fontSize: '8px',\n lineHeight: '12px',\n },\n small_body_m7: {\n fontWeight: 500,\n fontSize: '7px',\n lineHeight: 'auto',\n },\n\n small_body1: {\n fontWeight: 400,\n fontSize: '13px',\n lineHeight: '24px',\n },\n small_body2: {\n fontWeight: 400,\n fontSize: '12px',\n lineHeight: '20px',\n },\n small_body3: {\n fontWeight: 400,\n fontSize: '10px',\n lineHeight: 'auto',\n },\n small_body4: {\n fontWeight: 400,\n fontSize: '10px',\n lineHeight: '14px',\n },\n small_body5: {\n fontWeight: 400,\n fontSize: '8px',\n lineHeight: 'auto',\n },\n\n small_body_l1: {\n fontWeight: 300,\n fontSize: '10px',\n lineHeight: '20px',\n },\n small_body_l2: {\n fontWeight: 300,\n fontSize: '7px',\n lineHeight: 'auto',\n },\n\n overline: {\n fontWeight: 500,\n fontSize: '14px',\n lineHeight: '20px',\n letterSpacing: '1px',\n textTransform: 'uppercase',\n },\n\n button1: {\n fontWeight: 600,\n fontSize: '16px',\n lineHeight: '22px',\n textTransform: 'capitalize',\n },\n button2: {\n fontWeight: 600,\n fontSize: '14px',\n lineHeight: '20px',\n letterSpacing: '0.2px',\n textTransform: 'capitalize',\n },\n\n caption: {\n fontWeight: 500,\n fontSize: '12px',\n lineHeight: '16px',\n },\n};\n\nexport default typographyOptions;\n","export const SCROLLBAR_WIDTH = 10;\nexport const SMALL_SCROLLBAR_WIDTH = 6;\nexport const DRAWER_WIDTH_OPEN = 280;\nexport const DRAWER_WIDTH_CLOSE = 52;\nexport const VIEWER_DRAWER_WIDTH_OPEN = 280;\n\nexport { default as drawer } from './drawer';\n","/* eslint-disable @typescript-eslint/no-empty-interface */\nimport { PaletteOptions } from '@mui/material';\n\ntype PaletteOptionItem<T extends PropertyKey> = Record<T, React.CSSProperties['color']>;\n\n// Global Colors\ntype LunitTealKey = '5' | '10' | '20' | '30' | '40' | '50' | '60' | '70' | '80' | '90';\n\ntype NeutralColorKey =\n | '0'\n | '5'\n | '10'\n | '15'\n | '20'\n | '25'\n | '30'\n | '35'\n | '40'\n | '45'\n | '50'\n | '55'\n | '60'\n | '65'\n | '70'\n | '75'\n | '80'\n | '85'\n | '90'\n | '95'\n | '96'\n | '97'\n | '100';\n\ntype YellowKey = '5' | '10' | '20';\ntype OrangeKey = '5' | '10' | '20';\n\ntype MagentaKey = '5' | '10' | '20' | '30' | '40' | '50' | '60' | '70' | '80' | '90' | '100';\n\ntype RedKey = '5' | '10' | '20' | '30' | '40' | '50';\n\ntype BlueKey =\n | '5'\n | '10'\n | '15'\n | '20'\n | '25'\n | '30'\n | '35'\n | '40'\n | '45'\n | '50'\n | '55'\n | '60'\n | '65'\n | '70'\n | '75';\n\ntype GreenKey = '10' | '20' | '30' | '40' | '50';\n\ntype PurpleKey = '5' | '10' | '15' | '20' | '30' | '40' | '50' | '60' | '70' | '80';\n\nexport type LunitTeal = PaletteOptionItem<LunitTealKey>;\nexport type NeutralColor = PaletteOptionItem<NeutralColorKey>;\nexport type Yellow = PaletteOptionItem<YellowKey>;\nexport type Orange = PaletteOptionItem<OrangeKey>;\nexport type Magenta = PaletteOptionItem<MagentaKey>;\nexport type Red = PaletteOptionItem<RedKey>;\nexport type Blue = PaletteOptionItem<BlueKey>;\nexport type Green = PaletteOptionItem<GreenKey>;\nexport type Purple = PaletteOptionItem<PurpleKey>;\n\n// Histological Features\ntype TPSKey = 'Cutoff1' | 'Cutoff49' | 'Cutoff50' | 'PositiveTc' | 'NegativeTc';\ntype CPSKey =\n | 'Cutoff1'\n | 'Cutoff10'\n | 'Ca'\n | 'Cis'\n | 'Pch'\n | 'PcL'\n | 'PositiveTc'\n | 'NegativeTc'\n | 'PositiveIc'\n | 'NegativeIc';\n\ntype IOKey =\n | 'BmrkCutoff1'\n | 'BmrkCutoff20'\n | 'Inflamed'\n | 'ImmuneEx'\n | 'ImmuneDsrt'\n | 'Ca'\n | 'Cs'\n | 'Lc'\n | 'Tc';\n\ntype TumorPurityKey = 'DensityBar' | 'Ca' | 'Tc' | 'Ntc';\n\ntype HER2Key =\n | 'Ca'\n | 'Cis'\n | 'Her2_Negative'\n | 'Her2_1_Positive'\n | 'Her2_2_Positive'\n | 'Her2_3_Positive';\n\ntype ERPRKey =\n | 'Ca'\n | 'Cis'\n | 'Erpr_Negative'\n | 'Erpr_1_Positive'\n | 'Erpr_2_Positive'\n | 'Erpr_3_Positive'\n | 'Cutoff0'\n | 'Cutoff1'\n | 'Cutoff10';\n\nexport type TPS = PaletteOptionItem<TPSKey>;\nexport type CPS = PaletteOptionItem<CPSKey>;\nexport type IO = PaletteOptionItem<IOKey>;\nexport type TumorPurity = PaletteOptionItem<TumorPurityKey>;\nexport type HER2 = PaletteOptionItem<HER2Key>;\nexport type ERPR = PaletteOptionItem<ERPRKey>;\n\n// Others\ntype OthersKey =\n | 'RowHover'\n | 'DatePickerHover'\n | 'Teal50Op20'\n | 'Teal50Op18'\n | 'Grn20Op32'\n | 'Grn30OP32';\n\nexport type Others = PaletteOptionItem<OthersKey>;\n\ntype AlertKey = 'InfoBG' | 'SuccessBG' | 'ErrorBG' | 'WarningBG';\n\nexport type Alert = PaletteOptionItem<AlertKey>;\n\n// Analysis Status\ntype AnalysisStatusKey =\n | 'Uploaded'\n | 'Ready'\n | 'ReadyHover'\n | 'ReadySelected'\n | 'Inferred'\n | 'InferredHover'\n | 'InferredSelected'\n | 'Analyzing'\n | 'Analyzed'\n | 'FailedEnabled'\n | 'FailedHover'\n | 'FailedSelected'\n | 'Ready'\n | 'ReadyHover'\n | 'ReadySelected'\n | 'Inferred'\n | 'InferredHover'\n | 'InferredSelected'\n | 'Invalid'\n | 'InvalidHover'\n | 'InvalidSelected';\n\nexport type AnalysisStatus = PaletteOptionItem<AnalysisStatusKey>;\n\nexport interface LunitPalette {\n brand: {\n primary: React.CSSProperties['color'];\n secondary: React.CSSProperties['color'];\n };\n scope1: React.CSSProperties['color'];\n scope2: React.CSSProperties['color'];\n scope3: React.CSSProperties['color'];\n scope4: React.CSSProperties['color'];\n lunitTeal: LunitTeal;\n neutralGrey: NeutralColor;\n yellow: Yellow;\n orange: Orange;\n magenta: Magenta;\n red: Red;\n blue: Blue;\n green: Green;\n purple: Purple;\n\n pdl1Tps: TPS;\n pdl1Cps: CPS;\n io: IO;\n tumorPurity: TumorPurity;\n her2: HER2;\n erpr: ERPR;\n\n others: Others;\n alert: Alert;\n /**\n * @todo The dot, text colors for Analysis Status have not yet been determined.\n * We will be updated once they are decided in the all-in-one plan. (hjkwon)\n */\n analysisStatus: AnalysisStatus;\n}\n\ndeclare module '@mui/material/styles' {\n interface Palette extends LunitPalette {}\n interface PaletteOptions extends LunitPalette {}\n}\n\nconst palette: PaletteOptions = {\n brand: {\n primary: '#3BC9DB',\n secondary: '#96EDFF',\n },\n text: {\n primary: '#FFFFFF',\n secondary: '#AFAFB1',\n disabled: '#A8A8A8',\n },\n background: {},\n common: {},\n lunitTeal: {\n 5: '#EAFAFF',\n 10: '#96EDFF',\n 20: '#30DFFC',\n 30: '#3BC9DB',\n 40: '#00C9EA',\n 50: '#0ABEE5',\n 60: '#00B3DB',\n 70: '#048AB4',\n 80: '#05495F',\n 90: '#002930',\n },\n neutralGrey: {\n 0: '#FFFFFF',\n 5: '#FAFAFB',\n 10: '#FAFAFA',\n 15: '#F1F1F4',\n 20: '#DFDFE2',\n 25: '#D4D4D6',\n 30: '#C6C6C8',\n 35: '#C4C4C4',\n 40: '#AFAFB1',\n 45: '#99999B',\n 50: '#7F7F81',\n 55: '#737377',\n 60: '#747477',\n 65: '#626264',\n 70: '#4E4E50',\n 75: '#3E3E40',\n 80: '#363B3E',\n 85: '#333336',\n 90: '#2D2D2F',\n 95: '#1F1F21',\n 96: '#1E1E1E',\n 97: '#111113',\n 100: '#000000',\n },\n yellow: {\n 5: '#FAF089',\n 10: '#FFE500',\n 20: '#FFE600',\n },\n orange: {\n 5: '#FFD9BE',\n 10: '#FFB784',\n 20: '#FF9B54',\n },\n magenta: {\n 5: '#F9D1D1',\n 10: '#FFC9C9',\n 20: '#FAB2D3',\n 30: '#FFA4B6',\n 40: '#FF8787',\n 50: '#FF8389',\n 60: '#FB7791',\n 70: '#F765A3',\n 80: '#FF50A0',\n 90: '#E41976',\n 100: '#B20052',\n },\n red: {\n 5: '#FA4D56',\n 10: '#FE353F',\n 20: '#FF0000',\n 30: '#E63B28',\n 40: '#DA1E28',\n 50: '#A60D0D',\n },\n blue: {\n 5: '#A5D8FF',\n 10: '#A6C0D6',\n 15: '#4DABF7',\n 20: '#78A9FF',\n 25: '#748FFC',\n 30: '#587EFC',\n 35: '#1971D7',\n 40: '#3A5DD9',\n 45: '#4F5DC5',\n 50: '#443AFF',\n 55: '#165BAA',\n 60: '#0055AB',\n 65: '#132A9B',\n 70: '#034480',\n 75: '#0B1354',\n },\n green: {\n 10: '#73FF0C',\n 20: '#66BB6A',\n 30: '#42BE65',\n 40: '#24A148',\n 50: '#014B58',\n },\n purple: {\n 5: '#BAC8FF',\n 10: '#B0C0F4',\n 15: '#D0BFFF',\n 20: '#C378DB',\n 30: '#9775FA',\n 40: '#9E6BF0',\n 50: '#A155B9',\n 60: '#8D2FAB',\n 70: '#7E41DA',\n 80: '#3612A1',\n },\n pdl1Tps: {\n Cutoff1: '#5091FF',\n Cutoff49: '#0CA678',\n Cutoff50: '#F76707',\n PositiveTc: '#AD1EFF',\n NegativeTc: '#1EFCFF',\n },\n pdl1Cps: {\n Cutoff1: '#5091FF',\n Cutoff10: '#F76707',\n Ca: '#0CA678',\n Cis: '#5B8DEF',\n Pch: '#FF8989',\n PcL: '#D6C896',\n PositiveTc: '#AD1EFF',\n NegativeTc: '#1EFCFF',\n PositiveIc: '#FFEE59',\n NegativeIc: '#FF5403',\n },\n io: {\n BmrkCutoff1: '#5091FF',\n BmrkCutoff20: '#EE5140',\n Inflamed: '#C65F6E',\n ImmuneEx: '#91C4A3',\n ImmuneDsrt: '#143DDE',\n Ca: '#0CA678',\n Cs: '#91C4A3',\n Lc: '#FFF950',\n Tc: '#F76707',\n },\n tumorPurity: {\n DensityBar: '#EE5140',\n Ca: '#0CA678',\n Tc: '#F76707',\n Ntc: '#FFF950',\n },\n her2: {\n Ca: '#0CA678',\n Cis: '#5B8DEF',\n Her2_Negative: '#4B93F9',\n Her2_1_Positive: '#79FD4B',\n Her2_2_Positive: '#F8E71C',\n Her2_3_Positive: '#EF0B0B',\n },\n erpr: {\n Ca: '#0CA678',\n Cis: '#5B8DEF',\n Erpr_Negative: '#4B93F9',\n Erpr_1_Positive: '#79FD4B',\n Erpr_2_Positive: '#F8E71C',\n Erpr_3_Positive: '#EF0B0B',\n Cutoff0: '#75F0DA',\n Cutoff1: '#FD6D0D',\n Cutoff10: '#9E5EFF',\n },\n others: {\n RowHover: 'rgba(134, 148, 177, 0.08)',\n DatePickerHover: 'rgba(114, 146, 253, 0.3)',\n Teal50Op20: 'rgba(0, 201, 234, 0.2)',\n Teal50Op18: 'rgba(0, 201, 234, 0.18)',\n Grn20Op32: 'rgba(102, 187, 106, 0.32)',\n Grn30OP32: 'rgba(66, 190, 101, 0.32)',\n },\n alert: {\n InfoBG: 'rgba(55, 81, 167, 0.92)',\n SuccessBG: 'rgba(0, 137, 159, 0.92)',\n ErrorBG: 'rgba(116, 25, 15, 0.9)',\n WarningBG: 'rgba(209, 188, 0, 0.7)',\n },\n analysisStatus: {\n Uploaded: '#99B8D1',\n Analyzing: '#AA99EC',\n Analyzed: '#8DCEC3',\n FailedEnabled: '#CA1414',\n FailedHover: '#FF8787',\n FailedSelected: '#A60D0D',\n Ready: '#00D1FF',\n ReadyHover: '#38E3FF',\n ReadySelected: '#006379',\n Inferred: '#3E63DD',\n InferredHover: '#46BCFF',\n InferredSelected: '#273E89',\n Invalid: '#838389',\n InvalidHover: '#A7A7A7',\n InvalidSelected: '#6E6E74',\n },\n scope1: '#7292FD',\n scope2: '#587EFC',\n scope3: '#B0C0F4',\n scope4: '#3A5DD9',\n info: { main: '#748FFC' },\n success: { main: '#00C9EA' },\n error: { main: '#FA4D56' },\n warning: { main: '#FFE600' },\n};\n\nexport default palette;\n","import { ComponentsOverrides, Theme } from '@mui/material';\nimport {\n SMALL_SCROLLBAR_WIDTH,\n SCROLLBAR_WIDTH,\n DRAWER_WIDTH_OPEN,\n DRAWER_WIDTH_CLOSE,\n} from '../systems';\nimport { palette, typography } from '../foundations';\n\nconst html = {\n fontSize: '14px',\n boxSizing: 'border-box',\n fontFamily: `Pretendard, sans-serif`,\n fontFeatureSettings: `'tnum', 'ss01', 'ss02', 'ss08'`,\n};\n\nconst body = {\n ...html,\n width: '100vw',\n height: '100vh',\n margin: 0,\n padding: 0,\n overflow: 'hidden',\n lineHeight: 'normal',\n color: 'white',\n backgroundColor: palette.neutralGrey?.[95],\n '& a': {\n textDecoration: 'none',\n },\n};\n\nconst styleOverrides: ComponentsOverrides<Theme>['MuiCssBaseline'] = {\n html,\n '.App': body,\n '#root': body,\n\n '*::-webkit-scrollbar-track': {\n backgroundColor: 'transparent',\n },\n '*::-webkit-scrollbar-corner': {\n backgroundColor: 'transparent',\n },\n '*::-webkit-scrollbar': {\n // + 4 for padding\n width: SCROLLBAR_WIDTH + 4,\n height: SCROLLBAR_WIDTH + 4,\n },\n '.small-scrollbar::-webkit-scrollbar, .small-scrollbar *::-webkit-scrollbar': {\n // + 4 for padding\n width: SMALL_SCROLLBAR_WIDTH + 4,\n height: SMALL_SCROLLBAR_WIDTH + 4,\n },\n\n '*::-webkit-scrollbar-thumb': {\n backgroundColor: palette.neutralGrey?.[65],\n borderRadius: 6,\n border: '2px transparent solid',\n backgroundClip: 'padding-box',\n },\n '*::-webkit-scrollbar-thumb:hover': {\n backgroundColor: palette.neutralGrey?.[60],\n },\n '*::-webkit-scrollbar-thumb:active': {\n backgroundColor: palette.neutralGrey?.[40],\n },\n '.Mui-disabled::-webkit-scrollbar-thumb:hover, .Mui-disabled *::-webkit-scrollbar-thumb:hover': {\n backgroundColor: palette.neutralGrey?.[65],\n },\n '.Mui-disabled::-webkit-scrollbar-thumb:active, .Mui-disabled *::-webkit-scrollbar-thumb:active':\n {\n backgroundColor: palette.neutralGrey?.[65],\n },\n\n 'svg.MuiCircularProgress-svg *': {\n fill: 'none',\n },\n 'svg *.stroke-inherit': {\n fill: 'none',\n stroke: 'currentColor',\n },\n '.snackbarVariantError': {\n background: 'rgba(238, 81, 64, 0.18)',\n border: '1px solid #EE5140',\n ...typography.body5,\n },\n '#page-root.drawer-open ~ .SnackbarContainer-left': {\n left: `${DRAWER_WIDTH_OPEN + 20}px !important`,\n },\n '#page-root.drawer-close ~ .SnackbarContainer-left': {\n left: `${DRAWER_WIDTH_CLOSE + 20}px !important`,\n },\n};\nexport default {\n styleOverrides,\n};\n","import { ComponentsOverrides } from '@mui/material/styles';\nimport { palette, typography } from '../foundations';\n\nconst styleOverrides: ComponentsOverrides['MuiOutlinedInput'] = {\n root: {\n borderRadius: 8,\n backgroundColor: palette.neutralGrey[75],\n color: palette.neutralGrey[45],\n '&.MuiInputBase-adornedStart': {\n paddingLeft: '16px',\n },\n '&.MuiInputBase-adornedEnd': {\n paddingRight: '16px',\n },\n '&.Mui-disabled': {\n backgroundColor: 'transparent',\n borderWidth: '1px',\n borderColor: palette.neutralGrey[45],\n },\n },\n notchedOutline: {\n border: '1px solid transparent',\n borderRadius: 8,\n padding: 0,\n 'html .MuiOutlinedInput-root:hover &': {\n borderColor: palette.neutralGrey[45],\n },\n 'html .MuiOutlinedInput-root.Mui-focused &': {\n borderWidth: '1px',\n borderColor: palette.lunitTeal[10],\n },\n 'html .MuiOutlinedInput-root.Mui-disabled &': {\n border: 'none',\n },\n },\n input: {\n ...typography.body5,\n color: palette.neutralGrey[5],\n padding: '8px 16px',\n boxSizing: 'border-box',\n '&::placeholder': {\n color: palette.neutralGrey[45],\n },\n '&:-webkit-autofill': {\n boxShadow: `0 0 0 100px ${palette.neutralGrey[75]}`,\n WebkitTextFillColor: palette.neutralGrey[5],\n },\n '&.Mui-disabled': {\n backgroundColor: 'inherit',\n borderRadius: '8px',\n WebkitTextFillColor: palette.neutralGrey[45],\n },\n },\n};\nexport default {\n styleOverrides,\n};\n","import { createTheme } from '@mui/material/styles';\nimport MuiCssBaseline from './components/MuiCssBaseline';\nimport MuiInputBase from './components/MuiInputBase';\nimport MuiOutlinedInput from './components/MuiOutlinedInput';\nimport MuiTextField from './components/MuiTextField';\nimport { palette, spacing, typography } from './foundations';\nimport { drawer } from './systems';\n\nconst theme = createTheme({\n ...drawer,\n palette,\n spacing,\n typography,\n components: {\n MuiCssBaseline,\n MuiInputBase,\n MuiOutlinedInput,\n MuiTextField,\n },\n});\n\nexport default theme;\n","import { ThemeOptions } from '@mui/material';\n\ndeclare module '@mui/material/styles' {\n interface Theme {\n leftDrawer: {\n width: React.CSSProperties['width'];\n };\n rightDrawer: {\n width: React.CSSProperties['width'];\n };\n }\n interface ThemeOptions {\n leftDrawer: {\n width: React.CSSProperties['width'];\n };\n rightDrawer: {\n width: React.CSSProperties['width'];\n };\n }\n}\n\nconst drawer: ThemeOptions = {\n leftDrawer: { width: 240 },\n rightDrawer: { width: 260 },\n};\n\nexport default drawer;\n","import { SpacingOptions } from '@mui/system';\n\nconst spacing: SpacingOptions = 4;\n\nexport default spacing;\n","import type { ComponentsOverrides } from '@mui/material/styles';\n\nconst styleOverrides: ComponentsOverrides['MuiInputBase'] = {\n root: {\n '&': {\n padding: 0,\n },\n },\n input: {\n height: '36px',\n },\n inputAdornedStart: {\n 'html &': {\n paddingLeft: 0,\n },\n },\n inputAdornedEnd: {\n 'html &': {\n paddingRight: 0,\n },\n },\n};\nexport default {\n styleOverrides,\n};\n","import type { ComponentsOverrides, ComponentsProps } from '@mui/material/styles';\n\nconst styleOverrides: ComponentsOverrides['MuiTextField'] = {\n root: {\n width: '100%',\n input: {\n textOverflow: 'ellipsis',\n },\n },\n};\nconst defaultProps: ComponentsProps['MuiTextField'] = {\n variant: 'standard',\n};\nexport default {\n styleOverrides,\n defaultProps,\n};\n","module.exports = require(\"@mui/material\");","module.exports = require(\"@mui/material/styles\");","module.exports = require(\"react/jsx-runtime\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import { Box, styled } from '@mui/material';\n\nconst commonStyle = {\n display: 'flex' as const,\n flexDirection: 'column' as const,\n alignItems: 'center' as const,\n justifyContent: 'center' as const,\n};\nconst FileDnDZoneContainer = styled(Box)(() => {\n return {\n position: 'relative' as const,\n height: '100%',\n width: '100%',\n };\n});\n\nconst BaseFileDnDZone = styled(Box)(() => {\n return {\n ...commonStyle,\n position: 'absolute',\n left: 'calc(50% - 213px)',\n top: '100px',\n height: '196px',\n width: '426px',\n gap: '16px',\n };\n});\n\nconst DnDSection = styled(Box)(() => {\n return {\n ...commonStyle,\n gap: '4px',\n };\n});\n\nconst DnDMainBox = styled(Box)(() => {\n return {\n ...commonStyle,\n gap: '24px',\n };\n});\n\nexport { FileDnDZoneContainer, BaseFileDnDZone, DnDSection, DnDMainBox };\n","const DEFAULT_FILE_FORMATS = 'Leica(.svs), 3DHistech(.mrxs), and Philips(.isyntax, .tiff)';\n\nexport { DEFAULT_FILE_FORMATS };\n","import React from 'react';\nimport { Typography } from '@mui/material';\nimport {\n BaseFileDnDZone,\n DnDSection,\n DnDMainBox,\n FileDnDZoneContainer,\n} from './FileDnDZone.styled';\nimport FileDnDZoneProps from './FileDnDZone.types';\n\nimport theme from '../../theme';\nimport { DEFAULT_FILE_FORMATS } from './FileDnDZone.utils';\n\nconst FileDnDZone = ({\n slidesUploaded,\n maxSlideLimit = 500,\n acceptedFileFormats = DEFAULT_FILE_FORMATS,\n disabled,\n WrapperProps,\n OuterBoxProps,\n InnerBoxProps,\n SectionBoxProps,\n}: FileDnDZoneProps) => {\n const disabledSX = {\n opacity: 0.4,\n };\n\n return (\n <FileDnDZoneContainer\n sx={disabled ? disabledSX : {}}\n {...WrapperProps}\n >\n <BaseFileDnDZone {...OuterBoxProps}>\n <Typography\n variant=\"h7\"\n sx={{ color: theme.palette.neutralGrey[25] }}\n >\n Drag and drop your slide files here\n </Typography>\n <DnDMainBox {...InnerBoxProps}>\n <DnDSection {...SectionBoxProps}>\n <Typography\n variant=\"body_sb1\"\n sx={{ color: theme.palette.neutralGrey[45] }}\n >\n Supported file formats\n </Typography>\n <Typography\n variant=\"body_sb1\"\n sx={{ color: theme.palette.neutralGrey[25], padding: '0 18px', textAlign: 'center' }}\n >\n {acceptedFileFormats}\n </Typography>\n </DnDSection>\n <DnDSection {...SectionBoxProps}>\n <Typography\n variant=\"body_sb1\"\n sx={{ color: theme.palette.neutralGrey[45] }}\n >\n Allowed number of slides\n </Typography>\n <Typography\n variant=\"body_sb1\"\n sx={{ color: theme.palette.neutralGrey[25] }}\n >\n {`You have uploaded ${slidesUploaded.toLocaleString()} slides on Lunit SCOPE.`}\n </Typography>\n <Typography\n variant=\"body_sb1\"\n sx={{ color: theme.palette.neutralGrey[25] }}\n >\n {`The number of slides cannot exceed ${maxSlideLimit.toLocaleString()}.`}\n </Typography>\n </DnDSection>\n </DnDMainBox>\n </BaseFileDnDZone>\n </FileDnDZoneContainer>\n );\n};\n\nexport default FileDnDZone;\n"],"names":["fontFamily","join","h1","fontWeight","fontSize","lineHeight","h2","h3","h4","h5","h6","h7","h8","h9","subtitle1","subtitle2","subtitle3","body_b1","body_b2","body_sb1","body_sb2","body_sb3","body_sb4","body_sb5","body_m1","body_m2","letterSpacing","body1","body2","body3","body4","body5","body6","body7","body8","small_body_b1","small_body_b2","small_body_b3","small_body_b4","small_body_b5","small_body_sb1","small_body_m1","small_body_m2","small_body_m3","small_body_m4","small_body_m5","small_body_m6","small_body_m7","small_body1","small_body2","small_body3","small_body4","small_body5","small_body_l1","small_body_l2","overline","textTransform","button1","button2","caption","SCROLLBAR_WIDTH","SMALL_SCROLLBAR_WIDTH","DRAWER_WIDTH_OPEN","DRAWER_WIDTH_CLOSE","brand","primary","secondary","text","disabled","background","common","lunitTeal","neutralGrey","yellow","orange","magenta","red","blue","green","purple","pdl1Tps","Cutoff1","Cutoff49","Cutoff50","PositiveTc","NegativeTc","pdl1Cps","Cutoff10","Ca","Cis","Pch","PcL","PositiveIc","NegativeIc","io","BmrkCutoff1","BmrkCutoff20","Inflamed","ImmuneEx","ImmuneDsrt","Cs","Lc","Tc","tumorPurity","DensityBar","Ntc","her2","Her2_Negative","Her2_1_Positive","Her2_2_Positive","Her2_3_Positive","erpr","Erpr_Negative","Erpr_1_Positive","Erpr_2_Positive","Erpr_3_Positive","Cutoff0","others","RowHover","DatePickerHover","Teal50Op20","Teal50Op18","Grn20Op32","Grn30OP32","alert","InfoBG","SuccessBG","ErrorBG","WarningBG","analysisStatus","Uploaded","Analyzing","Analyzed","FailedEnabled","FailedHover","FailedSelected","Ready","ReadyHover","ReadySelected","Inferred","InferredHover","InferredSelected","Invalid","InvalidHover","InvalidSelected","scope1","scope2","scope3","scope4","info","main","success","error","warning","html","boxSizing","fontFeatureSettings","body","width","height","margin","padding","overflow","color","backgroundColor","textDecoration","styleOverrides","borderRadius","border","backgroundClip","fill","stroke","typography","left","root","paddingLeft","paddingRight","borderWidth","borderColor","notchedOutline","input","boxShadow","WebkitTextFillColor","createTheme","leftDrawer","rightDrawer","palette","spacing","components","MuiCssBaseline","MuiInputBase","inputAdornedStart","inputAdornedEnd","MuiOutlinedInput","MuiTextField","textOverflow","defaultProps","variant","module","exports","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","d","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","commonStyle","display","flexDirection","alignItems","justifyContent","FileDnDZoneContainer","styled","Box","position","BaseFileDnDZone","top","gap","DnDSection","DnDMainBox","slidesUploaded","maxSlideLimit","acceptedFileFormats","WrapperProps","OuterBoxProps","InnerBoxProps","SectionBoxProps","sx","opacity","Typography","theme","textAlign","toLocaleString"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(()=>{"use strict";var e={6421:(e,t,r)=>{r.d(t,{nQ:()=>h,tL:()=>m,oH:()=>n,r3:()=>a,Pj:()=>u,Wz:()=>p,zK:()=>c});var s=r(997),o=r(5692),i=r(5314);const l=e=>"large"===e?"14px":"medium"===e?"10px":"6px",n=(0,o.styled)(o.ListItem)({width:"100%"}),a=(0,o.styled)((({size:e,...t})=>(0,s.jsx)(o.ListItemButton,{...t})))((({theme:e,size:t})=>({borderRadius:"8px",padding:`${l(t)} 8px`,"&.Mui-selected":{background:"transparent"},"&:hover, &.Mui-selected:hover, &.Mui-focusVisible, &.Mui-selected.Mui-focusVisible":{backgroundColor:e.palette.neutralGrey[75]}}))),d={minWidth:"20px",height:"20px",color:"currentColor",svg:{width:"100%",height:"100%",color:"currentColor !important"}},c=(0,o.styled)(o.ListItemText)((({theme:e})=>({margin:0,[`& .${o.typographyClasses.body1}`]:{...e.typography.body5}}))),p=(0,o.styled)(o.ListItemIcon)((({theme:e})=>({...d,marginRight:e.spacing(2)}))),u=(0,o.styled)(o.ListItemIcon)((({theme:e})=>({...d,justifyContent:"flex-end",marginLeft:e.spacing(2)}))),h=(0,o.styled)(i.Check)({color:"#fff"}),m=(0,o.styled)(i.Dummy)({visibility:"hidden"})},9474:(e,t,r)=>{r.d(t,{Z:()=>a});var s=r(997),o=r(8103),i=r.n(o),l=r(5692);const n=(0,l.styled)(l.Typography)((({theme:e})=>({...e.typography.body_m1,color:e.palette.neutralGrey[45]}))),a=e=>{const{className:t,...r}=e;return(0,s.jsx)(n,{...r,className:i()("ListItemCaption",t)})}},5314:e=>{e.exports=require("@lunit/design-system-icons")},5692:e=>{e.exports=require("@mui/material")},8103:e=>{e.exports=require("clsx")},6689:e=>{e.exports=require("react")},997:e=>{e.exports=require("react/jsx-runtime")}},t={};function r(s){var o=t[s];if(void 0!==o)return o.exports;var i=t[s]={exports:{}};return e[s](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var s in t)r.o(t,s)&&!r.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};(()=>{r.r(s),r.d(s,{List:()=>d,ListItem:()=>p,ListItemCaption:()=>u.Z});var e=r(997),t=r(6689),o=r(5314),i=r(5692);const l=(0,i.styled)(i.List)((({theme:e})=>({padding:e.spacing(2)}))),n=(0,i.styled)(i.ListSubheader,{shouldForwardProp:e=>!["type","clickable"].includes(e.toString())})((({type:e,clickable:t,theme:r})=>({display:"flex",justifyContent:"space-between",alignItems:"center",height:"36px",padding:"0px 8px",backgroundColor:"transparent",..."bold"===e?{...r.typography.body_b1,color:r.palette.neutralGrey[0]}:{...r.typography.small_body_m1,color:r.palette.neutralGrey[40]},...t&&{cursor:"pointer"},svg:{width:"20px",height:"20px"}}))),a=(0,t.createContext)({size:"small",showCheck:!1}),d=({size:r="small",showCheck:s=!1,subheader:d,subheaderType:c="bold",open:p="visible",children:u,onOpen:h,onClose:m,...y})=>{const x=(0,t.useMemo)((()=>({size:r,showCheck:s})),[r,s]),b="visible"!==p;return(0,e.jsx)(a.Provider,{value:x,children:(0,e.jsx)(l,{...y,subheader:d?(0,e.jsxs)(n,{type:c,clickable:b,tabIndex:b?0:void 0,onClick:e=>{if("visible"===p)return;const t=p?m:h;t?.(e)},children:[d,b&&(p?(0,e.jsx)(o.ArrowDownSm,{}):(0,e.jsx)(o.ArrowUpSm,{}))]}):null,children:b?(0,e.jsx)(i.Collapse,{in:p,timeout:"auto",unmountOnExit:!0,children:u}):u})})};var c=r(6421);const p=({rootProps:r,className:s,classes:o,style:i,sx:l,label:n,startElement:d,endElement:p,selected:u,...h})=>{const{size:m,showCheck:y}=(0,t.useContext)(a),x=y?u?(0,e.jsx)(c.nQ,{}):(0,e.jsx)(c.tL,{}):null;return(0,e.jsx)(c.oH,{...r,disablePadding:!0,className:s,classes:o,style:i,sx:l,children:(0,e.jsxs)(c.r3,{...h,disableRipple:!0,component:h.component??"span",size:m,selected:u,children:[x&&(0,e.jsx)(c.Wz,{children:x}),d&&(0,e.jsx)(c.Wz,{children:d}),(0,e.jsx)(c.zK,{primary:n}),p&&(0,e.jsx)(c.Pj,{children:p})]})})};var u=r(9474)})(),module.exports=s})();
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/List/index.js","mappings":"kJAEA,MAWA,EAXoBA,GACL,UAATA,EACK,OAEI,WAATA,EACK,OAGF,MCGIC,GAAiB,IAAAC,QAAO,EAAAC,SAAP,CAAiB,CAC7CC,MAAO,SAGIC,GAAuB,IAAAH,SAAO,EAAGF,UAASM,MACrD,SAAC,EAAAC,eAAc,IAAKD,KADc,EAEjC,EAAGE,QAAOR,WAAW,CACtBS,aAAc,MACdC,QAAS,GAAG,EAAWV,SACvB,iBAAkB,CAChBW,WAAY,eAEd,qFAAsF,CACpFC,gBAAiBJ,EAAMK,QAAQC,YAAY,SAIlCC,EAAa,CACxBC,SAAU,OACVC,OAAQ,OACRC,MAAO,eACPC,IAAK,CACHf,MAAO,OACPa,OAAQ,OACRC,MAAO,4BAI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AAM2F,GAAe,IAAAC,UAA0B,KAAM,CAAGlG,OAAM0F,eAAc,CAAC1F,EAAM0F,IAE7ES,EAAuB,YAATN,EAUpB,OACE,SAACL,EAAYY,SAAQ,CAAC3B,MAAOwB,EAAY,UACvC,SAACvB,EAAO,IACFpE,EACJqF,UACEA,GACE,UAACf,EAAgB,CACfK,KAAMW,EACNV,UAAWiB,EACXE,SAAUF,EAAc,OAAIhD,EAC5BmD,QAlBeC,IACzB,GAAa,YAATV,EACF,OAEF,MAAMW,EAAUX,EAAOG,EAAUD,EACjCS,IAAUD,EACX,EAYoC,UAExBZ,EACAQ,IAAgBN,GAAO,SAAC,EAAAY,YAAW,KAAM,SAAC,EAAAC,UAAS,QAEpD,KAAI,SAGTP,GACC,SAAC,EAAAQ,SAAQ,CACPC,GAAIf,EACJgB,QAAQ,OACRC,eAAa,WAEZhB,IAED,KAKT,E,cCtDH,MAoDA,EApDiB,EAEfiB,YACArE,YACAsE,UACAC,QACAC,KAEAC,QACAC,eACAC,aACAC,cACGhH,MAEH,MAAM,KAAEN,EAAI,UAAE0F,IAAc,IAAA6B,YAAW/B,GAEjCgC,EACA9B,EACE4B,GACK,SAAC,KAAS,KAEZ,SAAC,KAAS,IAEZ,KAGT,OACE,SAAC,KAAc,IACTP,EACJU,gBAAc,EACd/E,UAAWA,EACXsE,QAASA,EACTC,MAAOA,EACPC,GAAIA,EAAE,UAEN,UAAC,KAAoB,IACf5G,EACJoH,eAAa,EAEbC,UAAYrH,EAAcqH,WAAa,OACvC3H,KAAMA,EACNsH,SAAUA,EAAQ,UAEjBE,IAAgB,SAAC,KAAuB,UAAEA,IAC1CJ,IAAgB,SAAC,KAAuB,UAAEA,KAC3C,SAAC,KAAkB,CAACQ,QAAST,IAC5BE,IAAc,SAAC,KAAqB,UAAEA,QAI9C,E","sources":["webpack://@lunit/oui/./src/components/List/List.utils.ts","webpack://@lunit/oui/./src/components/List/ListItem.styled.tsx","webpack://@lunit/oui/./src/components/List/ListItemCaption.styled.tsx","webpack://@lunit/oui/./src/components/List/ListItemCaption.tsx","webpack://@lunit/oui/external commonjs \"@lunit/design-system-icons\"","webpack://@lunit/oui/external commonjs \"@mui/material\"","webpack://@lunit/oui/external commonjs \"clsx\"","webpack://@lunit/oui/external commonjs \"react\"","webpack://@lunit/oui/external commonjs \"react/jsx-runtime\"","webpack://@lunit/oui/webpack/bootstrap","webpack://@lunit/oui/webpack/runtime/compat get default export","webpack://@lunit/oui/webpack/runtime/define property getters","webpack://@lunit/oui/webpack/runtime/hasOwnProperty shorthand","webpack://@lunit/oui/webpack/runtime/make namespace object","webpack://@lunit/oui/./src/components/List/List.styled.ts","webpack://@lunit/oui/./src/components/List/List.tsx","webpack://@lunit/oui/./src/components/List/ListItem.tsx"],"sourcesContent":["import { ListSize } from './List.types';\n\nconst getPadding = (size: ListSize) => {\n if (size === 'large') {\n return '14px';\n }\n if (size === 'medium') {\n return '10px';\n }\n // 'small'\n return '6px';\n};\n\nexport default getPadding;\n","import React from 'react';\nimport {\n ListItem,\n ListItemButton,\n ListItemIcon,\n ListItemText,\n styled,\n typographyClasses,\n} from '@mui/material';\nimport { Check, Dummy } from '../../icons';\nimport getPadding from './List.utils';\nimport type { StyledListItemButtonProps } from './ListItem.types';\n\nexport const StyledListItem = styled(ListItem)({\n width: '100%',\n});\n\nexport const StyledListItemButton = styled(({ size, ...props }: StyledListItemButtonProps) => (\n <ListItemButton {...props} />\n))(({ theme, size }) => ({\n borderRadius: '8px',\n padding: `${getPadding(size)} 8px`,\n '&.Mui-selected': {\n background: 'transparent',\n },\n '&:hover, &.Mui-selected:hover, &.Mui-focusVisible, &.Mui-selected.Mui-focusVisible': {\n backgroundColor: theme.palette.neutralGrey[75],\n },\n}));\n\nexport const slotStyles = {\n minWidth: '20px',\n height: '20px',\n color: 'currentColor',\n svg: {\n width: '100%',\n height: '100%',\n color: 'currentColor !important',\n },\n};\n\nexport const StyledListItemText = styled(ListItemText)(({ theme }) => ({\n margin: 0,\n [`& .${typographyClasses.body1}`]: {\n ...theme.typography.body5,\n },\n}));\n\nexport const StyledListItemStartSlot = styled(ListItemIcon)(({ theme }) => ({\n ...slotStyles,\n marginRight: theme.spacing(2),\n}));\n\nexport const StyledListItemEndSlot = styled(ListItemIcon)(({ theme }) => ({\n ...slotStyles,\n justifyContent: 'flex-end',\n marginLeft: theme.spacing(2),\n}));\n\nexport const CheckIcon = styled(Check)({ color: '#fff' });\nexport const EmptyIcon = styled(Dummy)({ visibility: 'hidden' });\n","import { styled, Typography } from '@mui/material';\n\n// eslint-disable-next-line import/prefer-default-export\nexport const StyledListItemCaption = styled(Typography)(({ theme }) => ({\n ...theme.typography.body_m1,\n color: theme.palette.neutralGrey[45],\n}));\n","import React from 'react';\nimport clsx from 'clsx';\nimport { StyledListItemCaption } from './ListItemCaption.styled';\nimport { ListItemCaptionProps } from './ListItemCaption.types';\n\nexport const ListItemCaptionClassName = 'ListItemCaption';\n\nconst ListItemCaption = (props: ListItemCaptionProps) => {\n const { className, ...otherProps } = props;\n return (\n <StyledListItemCaption\n {...otherProps}\n className={clsx(ListItemCaptionClassName, className)}\n />\n );\n};\n\nexport default ListItemCaption;\n","module.exports = require(\"@lunit/design-system-icons\");","module.exports = require(\"@mui/material\");","module.exports = require(\"clsx\");","module.exports = require(\"react\");","module.exports = require(\"react/jsx-runtime\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import { styled, List, ListSubheader } from '@mui/material';\nimport type { ListSubheaderProps } from './List.types';\n\nexport const MuiList = styled(List)(({ theme }) => ({\n padding: theme.spacing(2),\n}));\n\nexport const MuiListSubheader = styled(ListSubheader, {\n shouldForwardProp: (prop) => !['type', 'clickable'].includes(prop.toString()),\n})<ListSubheaderProps>(({ type, clickable, theme }) => ({\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center',\n height: '36px',\n padding: '0px 8px',\n backgroundColor: 'transparent',\n ...(type === 'bold'\n ? {\n ...theme.typography.body_b1,\n color: theme.palette.neutralGrey[0],\n }\n : {\n ...theme.typography.small_body_m1,\n color: theme.palette.neutralGrey[40],\n }),\n ...(clickable && { cursor: 'pointer' }),\n svg: {\n width: '20px',\n height: '20px',\n },\n}));\n","/* eslint-disable no-nested-ternary */\nimport React from 'react';\nimport { createContext, useMemo } from 'react';\nimport { ArrowDownSm, ArrowUpSm } from '../../icons';\nimport { Collapse } from '@mui/material';\nimport { MuiList, MuiListSubheader } from './List.styled';\nimport type { ListProps, ListContextValue } from './List.types';\n\nexport const ListContext = createContext<ListContextValue>({\n size: 'small',\n showCheck: false,\n});\n\nconst List = ({\n size = 'small',\n showCheck = false,\n subheader,\n subheaderType = 'bold',\n open = 'visible',\n children,\n onOpen,\n onClose,\n ...props\n}: ListProps) => {\n const contextValue = useMemo<ListContextValue>(() => ({ size, showCheck }), [size, showCheck]);\n\n const collapsible = open !== 'visible';\n\n const onSubheaderClick = ((event: React.MouseEvent<HTMLLIElement>) => {\n if (open === 'visible') {\n return;\n }\n const handler = open ? onClose : onOpen;\n handler?.(event);\n }) as React.ComponentProps<typeof MuiListSubheader>['onClick'];\n\n return (\n <ListContext.Provider value={contextValue}>\n <MuiList\n {...props}\n subheader={\n subheader ? (\n <MuiListSubheader\n type={subheaderType}\n clickable={collapsible}\n tabIndex={collapsible ? 0 : undefined}\n onClick={onSubheaderClick}\n >\n {subheader}\n {collapsible && (open ? <ArrowDownSm /> : <ArrowUpSm />)}\n </MuiListSubheader>\n ) : null\n }\n >\n {collapsible ? (\n <Collapse\n in={open}\n timeout=\"auto\"\n unmountOnExit\n >\n {children}\n </Collapse>\n ) : (\n children\n )}\n </MuiList>\n </ListContext.Provider>\n );\n};\n\nexport default List;\n","import React, { useContext } from 'react';\nimport { ListContext } from '../List/List';\nimport {\n StyledListItem,\n StyledListItemButton,\n StyledListItemText,\n StyledListItemStartSlot,\n StyledListItemEndSlot,\n CheckIcon,\n EmptyIcon,\n} from './ListItem.styled';\nimport type { ListItemComponent, ListItemProps } from './ListItem.types';\n\nconst ListItem = (({\n // Root props\n rootProps,\n className,\n classes,\n style,\n sx,\n // Button props\n label,\n startElement,\n endElement,\n selected,\n ...props\n}: ListItemProps) => {\n const { size, showCheck } = useContext(ListContext);\n\n const checkElement = (() => {\n if (showCheck) {\n if (selected) {\n return <CheckIcon />;\n }\n return <EmptyIcon />;\n }\n return null;\n })();\n\n return (\n <StyledListItem\n {...rootProps}\n disablePadding\n className={className}\n classes={classes}\n style={style}\n sx={sx}\n >\n <StyledListItemButton\n {...props}\n disableRipple\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n component={(props as any).component ?? 'span'}\n size={size}\n selected={selected}\n >\n {checkElement && <StyledListItemStartSlot>{checkElement}</StyledListItemStartSlot>}\n {startElement && <StyledListItemStartSlot>{startElement}</StyledListItemStartSlot>}\n <StyledListItemText primary={label} />\n {endElement && <StyledListItemEndSlot>{endElement}</StyledListItemEndSlot>}\n </StyledListItemButton>\n </StyledListItem>\n );\n}) as ListItemComponent;\n\nexport default ListItem;\n"],"names":["size","StyledListItem","styled","ListItem","width","StyledListItemButton","props","ListItemButton","theme","borderRadius","padding","background","backgroundColor","palette","neutralGrey","slotStyles","minWidth","height","color","svg","StyledListItemText","ListItemText","margin","typographyClasses","body1","typography","body5","StyledListItemStartSlot","ListItemIcon","marginRight","spacing","StyledListItemEndSlot","justifyContent","marginLeft","CheckIcon","Check","EmptyIcon","Dummy","visibility","StyledListItemCaption","Typography","body_m1","className","otherProps","module","exports","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","MuiList","List","MuiListSubheader","ListSubheader","shouldForwardProp","includes","toString","type","clickable","display","alignItems","body_b1","small_body_m1","cursor","ListContext","createContext","showCheck","subheader","subheaderType","open","children","onOpen","onClose","contextValue","useMemo","collapsible","Provider","tabIndex","onClick","event","handler","ArrowDownSm","ArrowUpSm","Collapse","in","timeout","unmountOnExit","rootProps","classes","style","sx","label","startElement","endElement","selected","useContext","checkElement","disablePadding","disableRipple","component","primary"],"sourceRoot":""}
|