@ctlyst.id/internal-ui 2.1.5 → 2.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"internal-ui.cjs.development.js","sources":["../src/components/alert/components/icons.tsx","../src/components/alert/components/alert-context.ts","../src/components/alert/components/alert.tsx","../src/components/loader/components/loader.tsx","../src/components/button/components/button.tsx","../src/components/alert/components/alert-action.tsx","../src/components/alert/components/alert-close.tsx","../src/components/alert/components/alert-description.tsx","../src/components/alert/components/alert-icon.tsx","../src/components/alert/components/alert-title.tsx","../src/components/badge/components/badge.tsx","../src/components/breadcrumb/components/bread-crumb.tsx","../src/components/card/components/card.tsx","../src/components/checkbox/components/checkbox.tsx","../src/components/field/components/field.tsx","../src/components/checkbox/components/checkbox-group.tsx","../src/components/chips/components/chips.tsx","../src/components/data-table/components/data-table.tsx","../src/components/form/styles/input-field.ts","../src/components/datepicker/components/styles.tsx","../src/components/datepicker/components/time-input.tsx","../src/components/datepicker/components/datepicker.tsx","../src/components/datepicker/components/datepicker-month/datepicker-month.tsx","../src/components/datepicker/components/datepicker-month/multi-datepicker-month.tsx","../src/components/form/components/input-addon.tsx","../src/components/form/components/input-field.tsx","../src/components/form/components/textarea.tsx","../src/components/header/components/logo.tsx","../src/components/header/components/profile.tsx","../src/components/header/components/switch-mode.tsx","../src/components/header/utils/formatter.ts","../src/components/header/components/version.tsx","../src/components/header/components/header.tsx","../src/components/modal/components/modal-body.tsx","../src/components/modal/components/modal-close-button.tsx","../src/components/modal/components/modal-footer.tsx","../src/components/modal/components/modal-header.tsx","../src/components/navigation/components/customer-icon.tsx","../src/components/navigation/components/mapping-icon.ts","../src/components/navigation/components/navigation.tsx","../src/components/navigation/components/navigation-bar.tsx","../src/components/pagination/components/pagination-button.tsx","../src/components/pagination/components/pagination-button-trigger.tsx","../src/components/pagination/components/pagination.tsx","../src/components/pagination/components/pagination-detail.tsx","../src/components/pagination/components/pagination-filter.tsx","../src/components/radio/components/radio.tsx","../src/components/radio/components/radio-group.tsx","../src/components/rating/components/rating.tsx","../src/components/select/components/select-wrapper.tsx","../src/config/theme/foundations/typography.ts","../src/components/select/components/utils.ts","../src/components/select/components/select.tsx","../src/components/select/components/select-async.tsx","../src/components/select/components/select-async-creatable.tsx","../src/components/select/components/select-creatable.tsx","../src/components/switch/components/switch.tsx","../src/components/tabs/components/tab.tsx","../src/components/tabs/components/tab-list.tsx","../src/components/tabs/components/tab-panel.tsx","../src/components/uploader/constants.ts","../src/components/uploader/components/uploader.tsx","../src/config/theme/components/alert.ts","../src/config/theme/components/badge.ts","../src/config/theme/components/button.ts","../src/config/theme/components/card.ts","../src/config/theme/components/checkbox.ts","../src/config/theme/components/chips.ts","../src/config/theme/components/form-label.ts","../src/config/theme/components/input.ts","../src/config/theme/components/loader.ts","../src/config/theme/components/popover.ts","../src/config/theme/components/radio.ts","../src/config/theme/components/switch.ts","../src/config/theme/components/table.ts","../src/config/theme/components/textarea.ts","../src/config/theme/themeConfiguration.ts","../src/provider/components/provider.tsx","../src/hooks/useFetcher.ts"],"sourcesContent":["/* eslint-disable react/require-default-props */\nimport { AlertTriangle, CheckCircle, Info } from '@ctlyst.id/internal-icon';\nimport React from 'react';\n\nexport function CheckIcon() {\n return <CheckCircle color=\"inherit\" size={4} />;\n}\n\nexport function InfoIcon() {\n return <Info color=\"inherit\" size={4} />;\n}\n\nexport function WarningIcon() {\n return <AlertTriangle color=\"inherit\" size={4} />;\n}\n","import { createContext } from '@chakra-ui/react-context';\nimport type { SystemStyleObject } from '@chakra-ui/system';\n\nimport { CheckIcon, InfoIcon, WarningIcon } from './icons';\n\nexport const [AlertProvider, useAlertContext] = createContext<AlertContext>({\n name: 'AlertContext',\n hookName: 'useAlertContext',\n providerName: '<Alert />',\n});\n\nexport const [AlertStylesProvider, useAlertStyles] = createContext<Record<string, SystemStyleObject>>({\n name: `AlertStylesContext`,\n hookName: `useAlertStyles`,\n providerName: '<Alert />',\n});\n\nconst STATUSES = {\n info: { icon: InfoIcon, colorScheme: 'info' },\n warning: { icon: InfoIcon, colorScheme: 'warning' },\n success: { icon: CheckIcon, colorScheme: 'success' },\n error: { icon: WarningIcon, colorScheme: 'danger' },\n neutral: { icon: InfoIcon, colorScheme: 'neutral' },\n};\n\nexport function getStatusColorScheme(status: AlertStatus) {\n return STATUSES[status].colorScheme;\n}\n\nexport function getStatusIcon(status: AlertStatus) {\n return STATUSES[status].icon;\n}\n\nexport type AlertStatus = keyof typeof STATUSES;\n\nexport interface AlertContext {\n status: AlertStatus;\n}\n","import { cx } from '@chakra-ui/shared-utils';\nimport type { HTMLChakraProps, SystemStyleObject, ThemingProps } from '@chakra-ui/system';\nimport { chakra, forwardRef, omitThemingProps, useMultiStyleConfig } from '@chakra-ui/system';\nimport React from 'react';\n\nimport type { AlertStatus } from './alert-context';\nimport { AlertProvider, AlertStylesProvider, getStatusColorScheme } from './alert-context';\n\ninterface AlertOptions {\n /**\n * The status of the alert\n * @default \"info\"\n */\n status?: AlertStatus;\n}\nexport type AlertVariant = 'solid' | 'light';\n\nexport interface AlertProps extends HTMLChakraProps<'div'>, AlertOptions, ThemingProps<'Alert'> {\n /**\n * @default false\n */\n addRole?: boolean;\n}\n\n/**\n * Alert is used to communicate the state or status of a\n * page, feature or action\n *\n * @see Docs https://chakra-ui.com/docs/components/alert\n * @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/alert/\n */\nexport const Alert = forwardRef<AlertProps, 'div'>(function Alert(props, ref) {\n const { status = 'info', addRole = true, children, ...rest } = omitThemingProps(props);\n const colorScheme = props.colorScheme ?? getStatusColorScheme(status);\n\n const styles = useMultiStyleConfig('Alert', { ...props, colorScheme });\n\n const alertStyles: SystemStyleObject = {\n width: '100%',\n display: 'grid',\n gridTemplateColumns: 'auto 1fr auto auto',\n alignItems: 'center',\n position: 'relative',\n overflow: 'hidden',\n ...styles.container,\n };\n\n return (\n <AlertProvider value={{ status }}>\n <AlertStylesProvider value={styles}>\n <chakra.div\n data-status={status}\n role={addRole ? 'alert' : undefined}\n ref={ref}\n {...rest}\n className={cx('chakra-alert', props.className)}\n __css={alertStyles}\n >\n {children}\n </chakra.div>\n </AlertStylesProvider>\n </AlertProvider>\n );\n});\n\nAlert.displayName = 'Alert';\n","import type { HTMLChakraProps, ThemingProps } from '@chakra-ui/react';\nimport { Box, forwardRef, useStyleConfig } from '@chakra-ui/react';\nimport React from 'react';\n\nexport interface LoaderProps {\n size?: string;\n variant?: string;\n thickness?: string;\n}\n\nexport interface CustomLoaderProps extends HTMLChakraProps<'span'>, ThemingProps {}\n\nconst Loader = forwardRef<CustomLoaderProps, 'div'>((props: LoaderProps, ref) => {\n const styles = useStyleConfig('LoaderStyle', props);\n\n return <Box ref={ref} __css={styles} />;\n});\n\nexport default Loader;\n","/* eslint-disable test-selectors/button */\nimport type { ButtonProps as ButtonChakraProps } from '@chakra-ui/react';\nimport { Button as ButtonChakra, forwardRef } from '@chakra-ui/react';\nimport React from 'react';\n\nimport { Loader } from '../../loader';\n\nexport type ButtonProps = ButtonChakraProps;\n\nconst Button = forwardRef<ButtonProps, 'button'>((props, ref) => {\n const { children, variant, size, ...rest } = props;\n\n const getLoaderSize = () => {\n if (size === 'lg') return 'md';\n if (size === 'md') return 'sm';\n return 'xs';\n };\n\n const getLoaderColor = () => {\n if (variant === 'primary' || variant === 'danger') return 'white';\n if (variant === 'outline-danger') return 'danger';\n return 'primary';\n };\n\n return (\n <ButtonChakra\n size={size}\n variant={variant}\n spinner={<Loader size={getLoaderSize()} color={getLoaderColor()} />}\n ref={ref}\n {...rest}\n >\n {children}\n </ButtonChakra>\n );\n});\n\nexport default Button;\n","/* eslint-disable import/prefer-default-export */\nimport type { HTMLChakraProps } from '@chakra-ui/system';\nimport { cx } from '@chakra-ui/utils';\nimport React from 'react';\n\nimport Button from '../../button/components/button';\nimport { useAlertStyles } from './alert-context';\n\nexport type AlertActionProps = HTMLChakraProps<'button'>;\n\nexport function AlertAction({ children, className }: AlertActionProps) {\n const styles = useAlertStyles();\n const css = styles.action;\n\n return (\n <Button\n data-test-id=\"alert-action\"\n className={cx('chakra-alert__action', className)}\n variant=\"link\"\n fontWeight=\"semibold\"\n __css={css}\n >\n {children}\n </Button>\n );\n}\n\nAlertAction.displayName = 'AlertAction';\n","import { cx } from '@chakra-ui/shared-utils';\nimport type { HTMLChakraProps } from '@chakra-ui/system';\nimport { chakra } from '@chakra-ui/system';\nimport { Close } from '@ctlyst.id/internal-icon';\nimport React from 'react';\n\nimport { useAlertStyles } from './alert-context';\n\nexport type AlertCloseProps = HTMLChakraProps<'span'>;\n\nexport function AlertClose({ className, children, ...rest }: AlertCloseProps) {\n const styles = useAlertStyles();\n const css = styles.close;\n\n return (\n <chakra.span\n display=\"inherit\"\n data-status={'alert-close'}\n {...rest}\n className={cx('chakra-alert__close', className)}\n __css={css}\n >\n {children || <Close color=\"inherit\" size={4} />}\n </chakra.span>\n );\n}\n\nAlertClose.displayName = 'AlertClose';\n","import { cx } from '@chakra-ui/shared-utils';\nimport type { HTMLChakraProps, SystemStyleObject } from '@chakra-ui/system';\nimport { chakra, forwardRef } from '@chakra-ui/system';\nimport React from 'react';\n\nimport { useAlertContext, useAlertStyles } from './alert-context';\n\nexport type AlertDescriptionProps = HTMLChakraProps<'div'>;\n\nexport const AlertDescription = forwardRef<AlertDescriptionProps, 'div'>(function AlertDescription(props, ref) {\n const styles = useAlertStyles();\n const { status } = useAlertContext();\n const descriptionStyles: SystemStyleObject = {\n display: 'inline',\n ...styles.description,\n };\n\n return (\n <chakra.div\n ref={ref}\n data-status={status}\n {...props}\n className={cx('chakra-alert__desc', props.className)}\n __css={descriptionStyles}\n />\n );\n});\n\nAlertDescription.displayName = 'AlertDescription';\n","import { cx } from '@chakra-ui/shared-utils';\nimport type { HTMLChakraProps } from '@chakra-ui/system';\nimport { chakra } from '@chakra-ui/system';\nimport React from 'react';\n\nimport { getStatusIcon, useAlertContext, useAlertStyles } from './alert-context';\n\nexport type AlertIconProps = HTMLChakraProps<'span'>;\n\nexport function AlertIcon({ className, children, ...rest }: AlertIconProps) {\n const { status } = useAlertContext();\n const BaseIcon = getStatusIcon(status);\n const styles = useAlertStyles();\n const css = styles.icon;\n\n return (\n <chakra.span\n display=\"inherit\"\n data-status={status}\n {...rest}\n className={cx('chakra-alert__icon', className)}\n __css={css}\n >\n {children || <BaseIcon />}\n </chakra.span>\n );\n}\n\nAlertIcon.displayName = 'AlertIcon';\n","import { cx } from '@chakra-ui/shared-utils';\nimport type { HTMLChakraProps } from '@chakra-ui/system';\nimport { chakra, forwardRef } from '@chakra-ui/system';\nimport React from 'react';\n\nimport { useAlertContext, useAlertStyles } from './alert-context';\n\nexport type AlertTitleProps = HTMLChakraProps<'div'>;\n\nexport const AlertTitle = forwardRef<AlertTitleProps, 'div'>(function AlertTitle(props, ref) {\n const styles = useAlertStyles();\n const { status } = useAlertContext();\n\n return (\n <chakra.div\n ref={ref}\n data-status={status}\n {...props}\n className={cx('chakra-alert__title', props.className)}\n __css={styles.title}\n />\n );\n});\n\nAlertTitle.displayName = 'AlertTitle';\n","/* eslint-disable test-selectors/button */\nimport type { BadgeProps as BadgeChakraProps } from '@chakra-ui/react';\nimport { Badge as BadgeChakra } from '@chakra-ui/react';\nimport React from 'react';\n\nexport interface BadgeProps extends BadgeChakraProps {\n pill?: boolean;\n}\n\nconst Badge = (props: BadgeProps) => {\n const { children, pill, ...rest } = props;\n\n return (\n <BadgeChakra\n borderRadius={pill ? 'xl' : 'sm'}\n variant=\"primary-solid\"\n px=\"2\"\n h=\"4.5\"\n display=\"inline-flex\"\n alignItems=\"center\"\n justifyContent=\"space-between\"\n textTransform=\"none\"\n {...rest}\n >\n {children}\n </BadgeChakra>\n );\n};\n\nBadge.defaultProps = {\n pill: false,\n};\n\nexport default Badge;\n","/* eslint-disable react-hooks/rules-of-hooks */\nimport { Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Text, theme, useToken } from '@chakra-ui/react';\nimport * as React from 'react';\nimport { FiChevronLeft, FiChevronsRight, FiHome } from 'react-icons/fi';\n\nimport { Button } from '../../button';\n\nexport interface BreadCrumbParentProps {\n name: string;\n onClick?: () => void;\n disable?: boolean;\n link: string;\n}\n\nexport interface BreadCrumbProps {\n title: string;\n children?: React.ReactNode;\n parents?: BreadCrumbParentProps[];\n className?: string;\n disableHome?: boolean;\n spacing?: number;\n backButton?: () => void;\n}\n\nconst BreadCrumb: React.FC<BreadCrumbProps> = props => {\n const { title, children, parents, className, disableHome, spacing = 2, backButton } = props;\n const [neutral600, primary500] = useToken('colors', ['neutral.600', 'primary.500']);\n return (\n <Box\n data-test-id=\"CT_component_breadcrumb_breadcrumb\"\n className={className}\n display=\"flex\"\n justifyContent=\"space-between\"\n alignItems=\"center\"\n paddingY={2}\n >\n <Box display=\"flex\" alignItems=\"center\">\n {backButton && (\n <Button variant=\"icon\" data-test-id=\"button\" size=\"md\" mr=\"2\" onClick={backButton}>\n <FiChevronLeft size={theme.sizes[5]} />\n </Button>\n )}\n <Text pr=\"2\" textStyle=\"heading.6\" color=\"neutral.700\">\n {title}\n </Text>\n <Box h=\"5.5\" borderLeft=\"1px solid\" borderColor={neutral600} />\n <Breadcrumb\n separator={<FiChevronsRight color={neutral600} size={theme.sizes['3.5']} />}\n pl=\"2\"\n pr=\"4\"\n spacing={spacing}\n sx={{ ol: { display: 'flex', alignItems: 'center' } }}\n display=\"flex\"\n alignItems=\"center\"\n className=\"breadcrumb-wrapper\"\n >\n <BreadcrumbItem>\n <BreadcrumbLink href={!disableHome ? '/' : undefined} style={{ ...(disableHome && { cursor: 'default' }) }}>\n <FiHome className=\"align-top\" size={theme.sizes['3.5']} color={primary500} />\n </BreadcrumbLink>\n </BreadcrumbItem>\n {parents?.map(val => (\n <BreadcrumbItem key={val.name}>\n <BreadcrumbLink\n data-test-id=\"iadKcMAul3QAdvmfIQjRE\"\n href={!val.disable ? val.link : undefined}\n onClick={val.onClick}\n style={{\n ...(val.disable && {\n cursor: 'default',\n }),\n }}\n _hover={{ textDecoration: 'none' }}\n >\n <Text color={val.disable ? neutral600 : primary500} textStyle=\"text.sm\">\n {val.name}\n </Text>\n </BreadcrumbLink>\n </BreadcrumbItem>\n ))}\n <BreadcrumbItem>\n <BreadcrumbLink _hover={{ textDecor: 'none', cursor: 'default' }}>\n <Text color=\"neutral.600\" textStyle=\"text.sm\">\n {title}\n </Text>\n </BreadcrumbLink>\n </BreadcrumbItem>\n </Breadcrumb>\n </Box>\n {children && <Box>{children}</Box>}\n </Box>\n );\n};\n\nBreadCrumb.defaultProps = {\n children: undefined,\n parents: undefined,\n className: undefined,\n disableHome: undefined,\n spacing: 2,\n backButton: undefined,\n};\n\nexport default BreadCrumb;\n","import type { BoxProps } from '@chakra-ui/react';\nimport { Card, useStyleConfig } from '@chakra-ui/react';\nimport React, { forwardRef } from 'react';\n\nexport interface CardProps extends BoxProps {\n withShadow?: boolean;\n isRounded?: boolean;\n}\n\nconst CardCustom = forwardRef<HTMLDivElement, CardProps>(({ children, ...rest }, ref) => {\n const styles = useStyleConfig('Card', rest);\n\n return (\n <Card __css={styles} backgroundColor=\"white.high\" ref={ref} {...rest}>\n {children}\n </Card>\n );\n});\n\nCardCustom.defaultProps = {\n withShadow: true,\n isRounded: true,\n};\n\nexport default CardCustom;\n","/* eslint-disable no-nested-ternary */\nimport type { BoxProps, CheckboxProps } from '@chakra-ui/react';\nimport { Box, Checkbox, forwardRef, Text } from '@chakra-ui/react';\nimport type { PropsWithChildren } from 'react';\nimport React from 'react';\n\nexport interface CheckboxComponentProps extends CheckboxProps, PropsWithChildren {\n isError?: boolean;\n helpText?: string;\n errorText?: string;\n boxProps?: BoxProps;\n}\n\nconst CheckboxComponent = forwardRef<CheckboxComponentProps, 'input'>(\n ({ isError = false, helpText = '', errorText = '', boxProps, children, isDisabled, ...rest }, ref) => {\n const variant = isError ? 'errors' : 'unstyled';\n return (\n <Box {...boxProps}>\n <Box display=\"flex\">\n <Checkbox variant={variant} ref={ref} {...rest} isDisabled={isDisabled}>\n {children && (\n <Text as=\"span\" display=\"block\" textStyle=\"text.sm\" color={isDisabled ? 'black.medium' : 'black.high'}>\n {children}\n </Text>\n )}\n </Checkbox>\n </Box>\n {(isError || helpText) && (\n <Box mt=\"5px\" ml=\"24px\">\n {isError ? (\n <Text as=\"span\" display=\"block\" textStyle=\"text.xs\" color=\"danger.500\">\n {errorText}\n </Text>\n ) : (\n <Text as=\"span\" display=\"block\" textStyle=\"text.xs\" color=\"black.medium\">\n {helpText}\n </Text>\n )}\n </Box>\n )}\n </Box>\n );\n }\n);\n\nCheckboxComponent.defaultProps = {\n isError: false,\n helpText: '',\n errorText: '',\n boxProps: {},\n};\n\nexport default CheckboxComponent;\n","/* eslint-disable no-nested-ternary */\nimport type { FormControlProps } from '@chakra-ui/react';\nimport { Box, FormControl, FormErrorMessage, FormHelperText, FormLabel } from '@chakra-ui/react';\nimport type { FC, PropsWithChildren, ReactNode } from 'react';\nimport React from 'react';\n\nexport interface Props {\n label?: string | ReactNode;\n isError?: boolean;\n isSuccess?: boolean;\n errorMessage?: string | ReactNode;\n leftHelperText?: string | ReactNode;\n rightHelperText?: string | ReactNode;\n isRequired?: boolean;\n boxProps?: FormControlProps;\n}\n\nexport type FieldProps<T = unknown> = Props & T;\n\nconst Field: FC<PropsWithChildren<Props>> = props => {\n const {\n label,\n isError,\n errorMessage,\n leftHelperText,\n rightHelperText,\n isRequired,\n children,\n isSuccess,\n boxProps = {},\n } = props;\n\n const getHelperColor = () => {\n if (isError) return 'danger.500';\n if (isSuccess) return 'success.500';\n return 'black.medium';\n };\n\n const getJustifyContentHelper = () => {\n if (rightHelperText && (!leftHelperText || (isError && !errorMessage))) return 'flex-end';\n return 'space-between';\n };\n\n const helperColor = getHelperColor();\n const justifyHelper = getJustifyContentHelper();\n\n return (\n <FormControl isInvalid={isError} {...boxProps}>\n {label &&\n (typeof label === 'string' ? (\n <FormLabel mb={1} fontSize=\"text.sm\" requiredIndicator={undefined}>\n {isRequired && (\n <Box as=\"span\" color=\"danger.500\" ml={0} mr={1}>\n *\n </Box>\n )}\n {label}\n </FormLabel>\n ) : (\n label\n ))}\n {children}\n {((isError && errorMessage) || leftHelperText || rightHelperText) && (\n <Box display=\"flex\" width=\"full\" justifyContent={justifyHelper}>\n {!isError ? (\n leftHelperText &&\n (typeof leftHelperText === 'string' ? (\n <FormHelperText fontSize=\"text.xs\" color={helperColor} mt={1}>\n {leftHelperText}\n </FormHelperText>\n ) : (\n leftHelperText\n ))\n ) : typeof errorMessage === 'string' ? (\n <FormErrorMessage fontSize=\"text.xs\" color=\"danger.500\" mt={1}>\n {errorMessage}\n </FormErrorMessage>\n ) : (\n errorMessage\n )}\n {rightHelperText &&\n (typeof rightHelperText === 'string' ? (\n <FormHelperText fontSize=\"text.xs\" color={helperColor} mt={1}>\n {rightHelperText}\n </FormHelperText>\n ) : (\n rightHelperText\n ))}\n </Box>\n )}\n </FormControl>\n );\n};\n\nField.defaultProps = {\n label: '',\n isError: false,\n isSuccess: false,\n errorMessage: undefined,\n leftHelperText: undefined,\n rightHelperText: undefined,\n isRequired: false,\n boxProps: {},\n};\n\nexport default Field;\n","/* eslint-disable no-nested-ternary */\nimport type { CheckboxGroupProps } from '@chakra-ui/react';\nimport { Box, CheckboxGroup, Stack } from '@chakra-ui/react';\nimport type { PropsWithChildren } from 'react';\nimport React from 'react';\n\nimport type { FieldProps } from '../../field';\nimport { Field } from '../../field';\n\nexport interface CheckboxGroupComponentProps extends FieldProps, CheckboxGroupProps, PropsWithChildren {\n label: string;\n helpText?: string;\n isError?: boolean;\n errorMessage?: string;\n}\n\nfunction CheckboxGroupComponent(props: CheckboxGroupComponentProps) {\n const { children, label, helpText, isError, errorMessage, ...rest } = props;\n return (\n <Field {...rest} label={label} leftHelperText={helpText} isError={isError} errorMessage={errorMessage}>\n <Box mt=\"12px\">\n <CheckboxGroup {...rest}>\n <Stack spacing={[1, '16px']} direction={['column', 'row']}>\n {children}\n </Stack>\n </CheckboxGroup>\n </Box>\n </Field>\n );\n}\n\nCheckboxGroupComponent.defaultProps = {\n helpText: '',\n isError: false,\n errorMessage: '',\n};\n\nexport default CheckboxGroupComponent;\n","import { Box, useStyleConfig } from '@chakra-ui/react';\nimport { Close } from '@ctlyst.id/internal-icon';\nimport type { ReactNode } from 'react';\nimport React, { useMemo } from 'react';\n\nexport interface ChipsProps {\n isDisabled?: boolean;\n isActive?: boolean;\n onClose?: () => void;\n children?: ReactNode;\n size?: 'sm' | 'md';\n}\n\nconst Chips = ({ children, ...rest }: ChipsProps) => {\n const { isActive, isDisabled, onClose } = rest;\n const styles = useStyleConfig('Chips', rest);\n\n const closeColor = useMemo(() => {\n if (isActive) return 'white.high';\n if (isDisabled) return 'black.low';\n return 'primary.500';\n }, [isActive, isDisabled]);\n\n return (\n <Box __css={styles} display=\"inline-flex\" alignItems=\"center\" justifyContent=\"center\" {...rest}>\n {children}\n {onClose && (\n <Box\n onClick={isDisabled ? undefined : onClose}\n cursor={isDisabled ? 'not-allowed' : 'pointer'}\n ml={2}\n display=\"flex\"\n alignItems=\"center\"\n justifyContent=\"center\"\n >\n <Close color={closeColor} size={4} />\n </Box>\n )}\n </Box>\n );\n};\n\nChips.defaultProps = {\n isDisabled: false,\n isActive: false,\n onClose: undefined,\n children: undefined,\n size: 'sm',\n};\n\nexport default Chips;\n","/* eslint-disable react-hooks/rules-of-hooks */\n/* eslint-disable react/no-unstable-nested-components */\nimport { ChevronDownIcon, ChevronUpIcon, UpDownIcon } from '@chakra-ui/icons';\nimport type {\n BoxProps,\n TableBodyProps,\n TableCellProps,\n TableColumnHeaderProps,\n TableHeadProps,\n TableProps,\n TableRowProps,\n} from '@chakra-ui/react';\nimport {\n Box,\n Checkbox,\n Flex,\n Spinner,\n Table,\n Tbody,\n Td,\n Text,\n Th,\n Thead,\n Tr,\n useColorModeValue,\n} from '@chakra-ui/react';\nimport { css } from '@emotion/react';\nimport type {\n ColumnDef,\n OnChangeFn,\n RowSelectionInstance,\n RowSelectionState,\n SortingState,\n Updater,\n} from '@tanstack/react-table';\nimport { flexRender, getCoreRowModel, getSortedRowModel, useReactTable } from '@tanstack/react-table';\nimport * as React from 'react';\n\nexport interface TableStyleProps {\n table?: TableProps;\n tableHead?: TableHeadProps;\n tableRow?: TableRowProps;\n tableBody?: TableBodyProps;\n tableColumnHeader?: TableColumnHeaderProps;\n tableCell?: TableCellProps;\n}\n\nexport interface DataTableProps<T = unknown> extends BoxProps {\n styles?: TableStyleProps;\n columns: ColumnDef<T>[];\n dataSource: T[] | undefined;\n isLoading?: boolean;\n withSelectedRow?: boolean | undefined;\n onSelectedRow?: (data: T[]) => void;\n onSort?: (data: SortingState) => void;\n manualSorting?: boolean;\n sortingState?: SortingState;\n sortDescFirst?: boolean;\n headerSticky?: boolean;\n onRowClick?: (data: T) => void;\n}\n\nexport type DataTableRefs<T> = Pick<RowSelectionInstance<T>, 'toggleAllRowsSelected'>;\n\nconst DataTable = React.forwardRef(<T extends unknown>(props: DataTableProps<T>, ref?: React.Ref<DataTableRefs<T>>) => {\n const {\n columns,\n dataSource = [],\n isLoading,\n withSelectedRow,\n onSelectedRow,\n onSort,\n sortDescFirst,\n styles,\n sortingState,\n headerSticky,\n manualSorting,\n onRowClick,\n } = props;\n\n const [isFirstLoad, setIsFirstLoad] = React.useState<boolean>(true);\n const [sorting, setSorting] = React.useState<SortingState>(sortingState ?? []);\n const [rowSelection, onRowSelectionChange] = React.useState<RowSelectionState>({});\n const dataColumns = React.useMemo<ColumnDef<T>[]>(() => columns, [columns]);\n const checkboxColumn = React.useMemo<ColumnDef<T>[]>(\n () => [\n {\n id: 'select',\n header: ({ table }) => (\n <Checkbox\n data-test-id=\"select-header-data-table\"\n {...{\n isChecked: table.getIsAllRowsSelected(),\n isIndeterminate: table.getIsSomeRowsSelected(),\n onChange: table.getToggleAllRowsSelectedHandler(),\n }}\n />\n ),\n cell: ({ row }) => (\n <Checkbox\n data-test-id={`select-data-table-${row.index}`}\n {...{\n isChecked: row.getIsSelected(),\n isIndeterminate: row.getIsSomeSelected(),\n onChange: row.getToggleSelectedHandler(),\n }}\n />\n ),\n },\n ],\n []\n );\n\n const generateColumn = () => {\n if (withSelectedRow) {\n return [...checkboxColumn, ...dataColumns];\n }\n return dataColumns;\n };\n\n const onSortingChange: OnChangeFn<SortingState> = (data: Updater<SortingState>) => {\n setSorting(data);\n };\n\n const table = useReactTable({\n data: dataSource,\n columns: generateColumn(),\n getCoreRowModel: getCoreRowModel(),\n getSortedRowModel: getSortedRowModel(),\n manualPagination: true,\n manualSorting,\n sortDescFirst,\n state: {\n sorting,\n rowSelection,\n },\n onRowSelectionChange,\n onSortingChange,\n });\n\n const { getSelectedRowModel, toggleAllRowsSelected } = table;\n const { flatRows } = getSelectedRowModel();\n React.useEffect(() => {\n const rowData = flatRows.map(row => row.original);\n if (onSelectedRow) {\n onSelectedRow(rowData);\n }\n }, [flatRows]);\n\n React.useImperativeHandle(ref, () => ({\n toggleAllRowsSelected,\n }));\n\n React.useEffect(() => {\n if (onSort && !isFirstLoad) {\n onSort(sorting);\n }\n }, [sorting]);\n\n React.useEffect(() => {\n setIsFirstLoad(false);\n }, []);\n\n return (\n <Box {...props}>\n {isLoading && (\n <Flex w=\"100%\" h=\"100%\" pos=\"absolute\" bg=\"white\" align=\"center\" justify=\"center\" zIndex={2}>\n <Spinner color=\"primary.500\" thickness=\"4px\" size=\"lg\" />\n </Flex>\n )}\n <Table {...styles?.table}>\n <Thead {...(styles?.tableHead, headerSticky ? { position: 'sticky', top: 0, bg: 'white', zIndex: 1 } : {})}>\n {table.getHeaderGroups().map(headerGroup => (\n <Tr key={headerGroup.id} bg={useColorModeValue('initial', 'ebony-clay.700')} {...styles?.tableRow}>\n {headerGroup.headers.map(header => (\n <Th key={header.id} colSpan={header.colSpan} {...styles?.tableColumnHeader}>\n <Flex\n data-test-id={`CT_Container_TableHeader_${header.id}`}\n textTransform=\"capitalize\"\n userSelect=\"none\"\n align=\"center\"\n gap={2}\n >\n <Text>{flexRender(header.column.columnDef.header, header.getContext())}</Text>\n <Box\n as=\"span\"\n cursor={header.column.getCanSort() ? 'pointer' : 'default'}\n data-test-id={`CT_Container_SortingIcon_${header.id}`}\n onClick={header.column.getToggleSortingHandler()}\n >\n {(header.column.getCanSort() &&\n {\n asc: <ChevronUpIcon />,\n desc: <ChevronDownIcon />,\n }[header.column.getIsSorted() as string]) ?? <UpDownIcon h={2} />}\n </Box>\n </Flex>\n </Th>\n ))}\n </Tr>\n ))}\n </Thead>\n <Tbody {...styles?.tableBody}>\n {table.getRowModel().rows.map(row => (\n <Tr\n data-test-id=\"6aZAeefGHBA2oG1wLuv-L\"\n key={row.id}\n {...styles?.tableRow}\n css={css`\n &:last-child {\n td {\n border-bottom: none;\n }\n }\n `}\n onClick={() => {\n if (onRowClick) {\n onRowClick(row.original);\n }\n }}\n >\n {row.getVisibleCells().map(cell => (\n <Td\n key={cell.id}\n fontSize=\"text.sm\"\n color={useColorModeValue('dark.800', 'dark.300')}\n {...styles?.tableCell}\n >\n {flexRender(cell.column.columnDef.cell, cell.getContext())}\n </Td>\n ))}\n </Tr>\n ))}\n </Tbody>\n </Table>\n </Box>\n );\n});\n\n/* eslint-disable react/default-props-match-prop-types */\nDataTable.defaultProps = {\n withSelectedRow: false,\n overflowX: 'scroll',\n pos: 'relative',\n maxW: '100%',\n minH: 400,\n w: 'full',\n styles: undefined,\n isLoading: undefined,\n onSelectedRow: undefined,\n onSort: undefined,\n manualSorting: false,\n sortingState: [],\n sortDescFirst: false,\n headerSticky: false,\n onRowClick: undefined,\n};\n\nexport default DataTable as <T extends unknown>(\n props: DataTableProps<T> & {\n ref?: React.Ref<DataTableRefs<T>>;\n }\n) => JSX.Element;\n","import type { BoxProps } from '@chakra-ui/react';\nimport { defineStyle } from '@chakra-ui/react';\n\nimport type { InputFieldProps } from '../components/input-field';\n\nconst getProperties = (props: InputFieldProps) => {\n const { isError, isDisabled, isSuccess } = props;\n\n let outlineColor = 'neutral.400';\n let focusColor = 'primary.500';\n\n if (isError || isDisabled || isSuccess) {\n if (isError) outlineColor = 'danger.500';\n else if (isSuccess) outlineColor = 'success.500';\n focusColor = outlineColor;\n }\n\n return {\n outlineColor,\n focusColor,\n };\n};\n\nconst getWrapperStyle = (props: InputFieldProps) => {\n const { outlineColor, focusColor } = getProperties(props);\n\n const style: BoxProps = {\n border: '1px solid',\n borderColor: outlineColor,\n borderRadius: 'sm',\n transition: 'all 0.15s',\n boxShadow: 'none',\n _focusWithin: {\n borderColor: focusColor,\n },\n };\n\n return defineStyle(style);\n};\n\nexport default getWrapperStyle;\n","import { useColorMode } from '@chakra-ui/system';\nimport { Global } from '@emotion/react';\nimport React from 'react';\n\nconst Styles = () => {\n const { colorMode } = useColorMode();\n return (\n <Global\n styles={`\n @charset \"UTF-8\";\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow, .react-datepicker__navigation-icon::before {\n border-color: ${colorMode === 'light' ? '#6E6B7B' : '#d0d1d2'};\n border-style: solid;\n border-width: 1px 1px 0 0;\n content: \"\";\n display: block;\n height: 7px;\n position: absolute;\n top: 13px;\n width: 7px;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {\n margin-left: -4px;\n position: absolute;\n width: 0;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {\n box-sizing: content-box;\n position: absolute;\n border: 8px solid transparent;\n height: 0;\n width: 1px;\n content: \"\";\n z-index: -1;\n border-width: 8px;\n left: -8px;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before {\n border-bottom-color: #aeaeae;\n }\n\n .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {\n top: 0;\n margin-top: -8px;\n }\n .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {\n border-top: none;\n border-bottom-color: #f0f0f0;\n }\n .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {\n top: 0;\n }\n .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before {\n top: -1px;\n border-bottom-color: #aeaeae;\n }\n\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {\n bottom: 0;\n margin-bottom: -8px;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after {\n border-bottom: none;\n border-top-color: #fff;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after {\n bottom: 0;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before {\n bottom: -1px;\n border-top-color: #aeaeae;\n }\n\n .react-datepicker-wrapper {\n display: inline-block;\n padding: 0;\n border: 0;\n width: 100%;\n }\n\n .react-datepicker {\n font-family: \"inherit\", helvetica, arial, sans-serif;\n font-size: 0.75;\n background-color: ${colorMode === 'light' ? '#ffffff' : '#283046'};\n color: ${colorMode === 'light' ? '#000' : '#d0d1d2'};\n filter: drop-shadow(0px 3px 10px rgba(0, 0, 0, 0.08));\n border-radius: 0.3rem;\n display: inline-block;\n position: relative;\n }\n\n .react-datepicker.inline {\n filter: none;\n }\n\n .react-datepicker--time-only .react-datepicker__triangle {\n left: 35px;\n }\n .react-datepicker--time-only .react-datepicker__time-container {\n border-left: 0;\n }\n .react-datepicker--time-only .react-datepicker__time,\n .react-datepicker--time-only .react-datepicker__time-box {\n border-bottom-left-radius: 0.3rem;\n border-bottom-right-radius: 0.3rem;\n }\n\n .react-datepicker__triangle {\n position: absolute;\n left: 50px;\n }\n\n .react-datepicker-popper {\n z-index: 1;\n }\n .react-datepicker-popper[data-placement^=bottom] {\n padding-top: 10px;\n }\n .react-datepicker-popper[data-placement=bottom-end] .react-datepicker__triangle, .react-datepicker-popper[data-placement=top-end] .react-datepicker__triangle {\n left: auto;\n right: 50px;\n }\n .react-datepicker-popper[data-placement^=top] {\n padding-bottom: 10px;\n }\n .react-datepicker-popper[data-placement^=right] {\n padding-left: 8px;\n }\n .react-datepicker-popper[data-placement^=right] .react-datepicker__triangle {\n left: auto;\n right: 42px;\n }\n .react-datepicker-popper[data-placement^=left] {\n padding-right: 8px;\n }\n .react-datepicker-popper[data-placement^=left] .react-datepicker__triangle {\n left: 42px;\n right: auto;\n }\n\n .react-datepicker__header {\n text-align: center;\n background-color: ${colorMode === 'light' ? '#ffffff' : '#131620'};\n border-top-left-radius: 0.3rem;\n padding: 8px 0;\n position: relative;\n }\n .react-datepicker__header--time {\n padding-bottom: 8px;\n padding-left: 5px;\n padding-right: 5px;\n }\n .react-datepicker__header--time:not(.react-datepicker__header--time--only) {\n border-top-left-radius: 0;\n }\n .react-datepicker__header:not(.react-datepicker__header--has-time-select) {\n border-top-right-radius: 0.3rem;\n }\n\n .react-datepicker__year-dropdown-container--select,\n .react-datepicker__month-dropdown-container--select,\n .react-datepicker__month-year-dropdown-container--select,\n .react-datepicker__year-dropdown-container--scroll,\n .react-datepicker__month-dropdown-container--scroll,\n .react-datepicker__month-year-dropdown-container--scroll {\n display: inline-block;\n margin: 0 2px;\n }\n .react-datepicker__header__dropdown.react-datepicker__header__dropdown--select {\n font-weight: 600;\n line-height: 22px;\n color: #111111;\n }\n\n .react-datepicker__current-month,\n .react-datepicker-time__header,\n .react-datepicker-year-header {\n margin-top: 0;\n color: ${colorMode === 'light' ? '#111111' : '#d0d1d2'};\n font-size: 0.75;\n }\n\n .react-datepicker-time__header {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n }\n\n .react-datepicker__navigation {\n align-items: center;\n background: none;\n display: flex;\n justify-content: center;\n text-align: center;\n cursor: pointer;\n position: absolute;\n top: 2px;\n padding: 0;\n border: none;\n z-index: 1;\n height: 32px;\n width: 32px;\n text-indent: -999em;\n overflow: hidden;\n }\n .react-datepicker__navigation--previous {\n left: 2px;\n }\n .react-datepicker__navigation--next {\n right: 2px;\n }\n .react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {\n right: 85px;\n }\n .react-datepicker__navigation--years {\n position: relative;\n top: 0;\n display: block;\n margin-left: auto;\n margin-right: auto;\n }\n .react-datepicker__navigation--years-previous {\n top: 4px;\n }\n .react-datepicker__navigation--years-upcoming {\n top: -4px;\n }\n .react-datepicker__navigation:hover *::before {\n border-color: #a6a6a6;\n }\n\n .react-datepicker__navigation-icon {\n position: relative;\n top: -1px;\n font-size: 20px;\n width: 0;\n }\n .react-datepicker__navigation-icon--next {\n left: -2px;\n }\n .react-datepicker__navigation-icon--next::before {\n transform: rotate(45deg);\n left: -7px;\n }\n .react-datepicker__navigation-icon--previous {\n right: -2px;\n }\n .react-datepicker__navigation-icon--previous::before {\n transform: rotate(225deg);\n right: -7px;\n }\n\n .react-datepicker__month-container {\n float: left;\n border-radius: 8px;\n }\n\n .react-datepicker__year {\n margin: 0.4rem;\n text-align: center;\n }\n .react-datepicker__year-wrapper {\n display: flex;\n flex-wrap: wrap;\n max-width: 180px;\n }\n .react-datepicker__year .react-datepicker__year-text {\n display: inline-block;\n width: 4rem;\n margin: 2px;\n }\n\n .react-datepicker__month {\n margin: 0.4rem;\n text-align: center;\n }\n .react-datepicker__month .react-datepicker__month-text,\n .react-datepicker__month .react-datepicker__quarter-text {\n display: inline-block;\n width: 4rem;\n margin: 2px;\n }\n\n .react-datepicker__input-time-container {\n width: 100%;\n }\n .react-datepicker__input-time-container .react-datepicker-time__caption {\n width: 100%;\n display: inline-block;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container {\n width: 100%;\n display: inline-block;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input {\n width: 100%;\n display: inline-block;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input {\n width: auto;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time] {\n -moz-appearance: textfield;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter {\n width: 100%;\n display: inline-block;\n }\n\n .react-datepicker__time-container {\n float: right;\n border-left: 1px solid #aeaeae;\n width: 85px;\n }\n .react-datepicker__time-container--with-today-button {\n display: inline;\n border: 1px solid #aeaeae;\n border-radius: 0.3rem;\n position: absolute;\n right: -72px;\n top: 0;\n }\n .react-datepicker__time-container .react-datepicker__time {\n position: relative;\n background: white;\n border-bottom-right-radius: 0.3rem;\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {\n width: 85px;\n overflow-x: hidden;\n margin: 0 auto;\n text-align: center;\n border-bottom-right-radius: 0.3rem;\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {\n list-style: none;\n margin: 0;\n height: calc(195px + (1.7rem / 2));\n overflow-y: scroll;\n padding-right: 0;\n padding-left: 0;\n width: 100%;\n box-sizing: content-box;\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item {\n height: 30px;\n padding: 5px 10px;\n white-space: nowrap;\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover {\n cursor: pointer;\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected {\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n color: white;\n font-weight: bold;\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover {\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled {\n color: ${colorMode === 'light' ? '#ccc' : '#d0d1d2'};\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover {\n cursor: default;\n background-color: transparent;\n }\n\n .react-datepicker__week-number {\n color: ${colorMode === 'light' ? '#ccc' : '#d0d1d2'};\n display: inline-block;\n width: 1.7rem;\n line-height: 1.7rem;\n text-align: center;\n margin: 0.166rem;\n }\n .react-datepicker__week-number.react-datepicker__week-number--clickable {\n cursor: pointer;\n }\n .react-datepicker__week-number.react-datepicker__week-number--clickable:hover {\n border-radius: 0.3rem;\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n }\n\n .react-datepicker__day-names,\n .react-datepicker__week {\n white-space: nowrap;\n }\n\n .react-datepicker__day-names {\n margin-bottom: 0px;\n }\n\n .react-datepicker__day-name,\n .react-datepicker__day,\n .react-datepicker__time-name {\n color: ${colorMode === 'light' ? '#000' : '#d0d1d2'};\n display: inline-block;\n width: 1.7rem;\n line-height: 1.7rem;\n text-align: center;\n padding: 0.166rem;\n }\n\n .react-datepicker__month--selected, .react-datepicker__month--in-selecting-range, .react-datepicker__month--in-range,\n .react-datepicker__quarter--selected,\n .react-datepicker__quarter--in-selecting-range,\n .react-datepicker__quarter--in-range {\n border-radius: 0.3rem;\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n color: #fff;\n }\n .react-datepicker__month--selected:hover, .react-datepicker__month--in-selecting-range:hover, .react-datepicker__month--in-range:hover,\n .react-datepicker__quarter--selected:hover,\n .react-datepicker__quarter--in-selecting-range:hover,\n .react-datepicker__quarter--in-range:hover {\n background-color: ${colorMode === 'light' ? '#075331' : '#131620'};\n }\n .react-datepicker__month--disabled,\n .react-datepicker__quarter--disabled {\n color: #ccc;\n pointer-events: none;\n }\n .react-datepicker__month--disabled:hover,\n .react-datepicker__quarter--disabled:hover {\n cursor: default;\n background-color: transparent;\n }\n\n .react-datepicker__day,\n .react-datepicker__month-text,\n .react-datepicker__quarter-text,\n .react-datepicker__year-text {\n cursor: pointer;\n }\n .react-datepicker__day:hover,\n .react-datepicker__month-text:hover,\n .react-datepicker__quarter-text:hover,\n .react-datepicker__year-text:hover {\n border-radius: 0.3rem;\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n }\n .react-datepicker__day--highlighted,\n .react-datepicker__month-text--highlighted,\n .react-datepicker__quarter-text--highlighted,\n .react-datepicker__year-text--highlighted {\n border-radius: 0.3rem;\n background-color: #3dcc4a;\n color: #fff;\n }\n .react-datepicker__day--highlighted:hover,\n .react-datepicker__month-text--highlighted:hover,\n .react-datepicker__quarter-text--highlighted:hover,\n .react-datepicker__year-text--highlighted:hover {\n background-color: #32be3f;\n }\n .react-datepicker__day--highlighted-custom-1,\n .react-datepicker__month-text--highlighted-custom-1,\n .react-datepicker__quarter-text--highlighted-custom-1,\n .react-datepicker__year-text--highlighted-custom-1 {\n color: magenta;\n }\n .react-datepicker__day--highlighted-custom-2,\n .react-datepicker__month-text--highlighted-custom-2,\n .react-datepicker__quarter-text--highlighted-custom-2,\n .react-datepicker__year-text--highlighted-custom-2 {\n color: green;\n }\n .react-datepicker__day--selected, .react-datepicker__day--in-selecting-range, .react-datepicker__day--in-range,\n .react-datepicker__month-text--selected,\n .react-datepicker__month-text--in-selecting-range,\n .react-datepicker__month-text--in-range,\n .react-datepicker__quarter-text--selected,\n .react-datepicker__quarter-text--in-selecting-range,\n .react-datepicker__quarter-text--in-range,\n .react-datepicker__year-text--selected,\n .react-datepicker__year-text--in-selecting-range,\n .react-datepicker__year-text--in-range {\n border-radius: 0.3rem;\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n color: #fff;\n }\n .react-datepicker__day--selected:hover, .react-datepicker__day--in-selecting-range:hover, .react-datepicker__day--in-range:hover,\n .react-datepicker__month-text--selected:hover,\n .react-datepicker__month-text--in-selecting-range:hover,\n .react-datepicker__month-text--in-range:hover,\n .react-datepicker__quarter-text--selected:hover,\n .react-datepicker__quarter-text--in-selecting-range:hover,\n .react-datepicker__quarter-text--in-range:hover,\n .react-datepicker__year-text--selected:hover,\n .react-datepicker__year-text--in-selecting-range:hover,\n .react-datepicker__year-text--in-range:hover {\n background-color: ${colorMode === 'light' ? '#075331' : '#131620'};\n }\n .react-datepicker__day--keyboard-selected,\n .react-datepicker__month-text--keyboard-selected,\n .react-datepicker__quarter-text--keyboard-selected,\n .react-datepicker__year-text--keyboard-selected {\n border-radius: 0.3rem;\n background-color: ${colorMode === 'light' ? '#075331' : '#131620'};\n color: #fff;\n }\n .react-datepicker__day--keyboard-selected:hover,\n .react-datepicker__month-text--keyboard-selected:hover,\n .react-datepicker__quarter-text--keyboard-selected:hover,\n .react-datepicker__year-text--keyboard-selected:hover {\n background-color: ${colorMode === 'light' ? '#075331' : '#131620'};\n }\n .react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,\n .react-datepicker__month-text--in-range,\n .react-datepicker__quarter-text--in-range,\n .react-datepicker__year-text--in-range),\n .react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,\n .react-datepicker__month-text--in-range,\n .react-datepicker__quarter-text--in-range,\n .react-datepicker__year-text--in-range),\n .react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,\n .react-datepicker__month-text--in-range,\n .react-datepicker__quarter-text--in-range,\n .react-datepicker__year-text--in-range),\n .react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,\n .react-datepicker__month-text--in-range,\n .react-datepicker__quarter-text--in-range,\n .react-datepicker__year-text--in-range) {\n background-color: rgba(18, 120, 74, 0.1);\n color: ${colorMode === 'light' ? '#000' : '#d0d1d2'};\n }\n .react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,\n .react-datepicker__month-text--in-selecting-range,\n .react-datepicker__quarter-text--in-selecting-range,\n .react-datepicker__year-text--in-selecting-range),\n .react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,\n .react-datepicker__month-text--in-selecting-range,\n .react-datepicker__quarter-text--in-selecting-range,\n .react-datepicker__year-text--in-selecting-range),\n .react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,\n .react-datepicker__month-text--in-selecting-range,\n .react-datepicker__quarter-text--in-selecting-range,\n .react-datepicker__year-text--in-selecting-range),\n .react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,\n .react-datepicker__month-text--in-selecting-range,\n .react-datepicker__quarter-text--in-selecting-range,\n .react-datepicker__year-text--in-selecting-range) {\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n color: ${colorMode === 'light' ? '#000' : '#d0d1d2'};\n }\n .react-datepicker__day--disabled,\n .react-datepicker__month-text--disabled,\n .react-datepicker__quarter-text--disabled,\n .react-datepicker__year-text--disabled {\n cursor: default;\n color: #ccc;\n }\n .react-datepicker__day--disabled:hover,\n .react-datepicker__month-text--disabled:hover,\n .react-datepicker__quarter-text--disabled:hover,\n .react-datepicker__year-text--disabled:hover {\n background-color: transparent;\n }\n\n .react-datepicker__month-text.react-datepicker__month--selected:hover, .react-datepicker__month-text.react-datepicker__month--in-range:hover, .react-datepicker__month-text.react-datepicker__quarter--selected:hover, .react-datepicker__month-text.react-datepicker__quarter--in-range:hover,\n .react-datepicker__quarter-text.react-datepicker__month--selected:hover,\n .react-datepicker__quarter-text.react-datepicker__month--in-range:hover,\n .react-datepicker__quarter-text.react-datepicker__quarter--selected:hover,\n .react-datepicker__quarter-text.react-datepicker__quarter--in-range:hover {\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n }\n .react-datepicker__month-text:hover,\n .react-datepicker__quarter-text:hover {\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n }\n\n .react-datepicker__input-container {\n position: relative;\n display: inline-block;\n width: 100%;\n }\n\n .react-datepicker__year-read-view,\n .react-datepicker__month-read-view,\n .react-datepicker__month-year-read-view {\n border: 1px solid transparent;\n border-radius: 0.3rem;\n position: relative;\n }\n .react-datepicker__year-read-view:hover,\n .react-datepicker__month-read-view:hover,\n .react-datepicker__month-year-read-view:hover {\n cursor: pointer;\n }\n .react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow {\n border-top-color: #b3b3b3;\n }\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow {\n transform: rotate(135deg);\n right: -16px;\n top: 5px;\n width: 5px;\n height: 5px;\n fill: #111111;\n\n }\n .react-datepicker__header:not(.react-datepicker__header--has-time-select) {\n background: ${colorMode === 'light' ? '#F5F5F5' : 'inherit'} ;\n\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n }\n\n .react-datepicker__year-dropdown,\n .react-datepicker__month-dropdown,\n .react-datepicker__month-year-dropdown {\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n position: absolute;\n width: 50%;\n left: 25%;\n top: 30px;\n z-index: 1;\n text-align: center;\n border-radius: 0.3rem;\n border: 1px solid #aeaeae;\n }\n .react-datepicker__year-dropdown:hover,\n .react-datepicker__month-dropdown:hover,\n .react-datepicker__month-year-dropdown:hover {\n cursor: pointer;\n }\n .react-datepicker__year-dropdown--scrollable,\n .react-datepicker__month-dropdown--scrollable,\n .react-datepicker__month-year-dropdown--scrollable {\n height: 150px;\n overflow-y: scroll;\n }\n\n .react-datepicker__year-option,\n .react-datepicker__month-option,\n .react-datepicker__month-year-option {\n line-height: 20px;\n width: 100%;\n display: block;\n margin-left: auto;\n margin-right: auto;\n }\n .react-datepicker__year-option:first-of-type,\n .react-datepicker__month-option:first-of-type,\n .react-datepicker__month-year-option:first-of-type {\n border-top-left-radius: 0.3rem;\n border-top-right-radius: 0.3rem;\n }\n .react-datepicker__year-option:last-of-type,\n .react-datepicker__month-option:last-of-type,\n .react-datepicker__month-year-option:last-of-type {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n border-bottom-left-radius: 0.3rem;\n border-bottom-right-radius: 0.3rem;\n }\n .react-datepicker__year-option:hover,\n .react-datepicker__month-option:hover,\n .react-datepicker__month-year-option:hover {\n background-color: #ccc;\n }\n .react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,\n .react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,\n .react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming {\n border-bottom-color: #b3b3b3;\n }\n .react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,\n .react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,\n .react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous {\n border-top-color: #b3b3b3;\n }\n .react-datepicker__year-option--selected,\n .react-datepicker__month-option--selected,\n .react-datepicker__month-year-option--selected {\n position: absolute;\n left: 15px;\n }\n\n .react-datepicker__close-icon {\n cursor: pointer;\n background-color: transparent;\n border: 0;\n outline: 0;\n padding: 0 6px 0 0;\n position: absolute;\n top: 0;\n right: 0;\n height: 100%;\n display: table-cell;\n vertical-align: middle;\n }\n .react-datepicker__close-icon::after {\n cursor: pointer;\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n color: #fff;\n border-radius: 50%;\n height: 16px;\n width: 16px;\n padding: 2px;\n font-size: 12px;\n line-height: 1;\n text-align: center;\n display: table-cell;\n vertical-align: middle;\n content: \"×\";\n }\n\n .react-datepicker__today-button {\n background: #f0f0f0;\n border-top: 1px solid #aeaeae;\n cursor: pointer;\n text-align: center;\n font-weight: bold;\n padding: 5px 0;\n clear: left;\n }\n\n .react-datepicker__portal {\n position: fixed;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.8);\n left: 0;\n top: 0;\n justify-content: center;\n align-items: center;\n display: flex;\n z-index: 2147483647;\n }\n .react-datepicker__portal .react-datepicker__day-name,\n .react-datepicker__portal .react-datepicker__day,\n .react-datepicker__portal .react-datepicker__time-name {\n width: 3rem;\n line-height: 3rem;\n }\n @media (max-width: 400px), (max-height: 550px) {\n .react-datepicker__portal .react-datepicker__day-name,\n .react-datepicker__portal .react-datepicker__day,\n .react-datepicker__portal .react-datepicker__time-name {\n width: 2rem;\n line-height: 2rem;\n }\n }\n .react-datepicker__portal .react-datepicker__current-month,\n .react-datepicker__portal .react-datepicker-time__header {\n font-size: 1.44rem;\n }\n\n /** injected styles **/\n .react-datepicker__day--outside-month {\n color: ${colorMode === 'light' ? '#B9B9C3' : '#4D4D4D'};\n }\n .react-datepicker__day.react-datepicker__day--in-range {\n border-radius: 0;\n background: rgba(18, 120, 74, 0.1);\n color: #12784A;\n }\n .react-datepicker__day.react-datepicker__day--range-start.react-datepicker__day--in-range,\n .react-datepicker__day.react-datepicker__day--range-end.react-datepicker__day--in-range {\n background: #12784A;\n color: #fff;\n }\n .react-datepicker__day.react-datepicker__day--range-start.react-datepicker__day--in-range {\n border-radius: 100px 0px 0px 100px;\n }\n .react-datepicker__day.react-datepicker__day--range-end.react-datepicker__day--in-range {\n border-radius: 0px 100px 100px 0px;\n }\n .react-datepicker__day.react-datepicker__day--range-start.react-datepicker__day.react-datepicker__day--range-end {\n border-radius: 100px;\n padding: 0;\n }\n .react-datepicker__day.react-datepicker__day--outside-month:empty {\n padding: 0;\n }\n .react-datepicker.inline .react-datepicker__header {\n background-color: inherit;\n }\n .react-datepicker__day--keyboard-selected, .react-datepicker__day--keyboard-selected:hover {\n background-color: inherit;\n color: inherit;\n }\n .react-datepicker__day--today, .react-datepicker__day--today:hover {\n color: #D82F23;\n }\n .react-datepicker__day--today:hover {\n background: #f0f0f0;\n }\n .react-datepicker__day--selected.react-datepicker__day--today {\n color: white;\n background: #12784A;\n }\n `}\n />\n );\n};\n\nexport default Styles;\n","import { Flex, Input, InputGroup, InputRightAddon, Text } from '@chakra-ui/react';\nimport React from 'react';\n\ninterface TimeInputProps {\n value?: string;\n onChange?: (time: string) => void;\n label?: string;\n rightAddon?: React.ReactNode | string;\n}\n\nconst TimeInput: React.FC<TimeInputProps> = ({ value, onChange, label, rightAddon }) => {\n const [time, setTime] = React.useState(value || '00:00');\n\n const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n setTime(e.target?.value || '00:00');\n if (onChange) onChange(e.target?.value || '00:00');\n };\n\n return (\n <Flex flexDir=\"column\" alignItems=\"center\" justifyContent=\"center\" p={4} pt={0}>\n <Text mb={2}>{label}</Text>\n <InputGroup alignItems=\"center\" justifyContent=\"center\">\n <Input onChange={handleChange} type=\"time\" value={time} data-test-id=\"CT_Component_datepicker_input_time\" />\n {rightAddon && <InputRightAddon>{rightAddon}</InputRightAddon>}\n </InputGroup>\n </Flex>\n );\n};\n\nTimeInput.displayName = 'DatepickerTimeInput';\n\nTimeInput.defaultProps = {\n value: '00:00',\n onChange: undefined,\n label: 'Pilih Waktu',\n rightAddon: 'WIB',\n};\nexport default TimeInput;\n","import {\n FormControl,\n FormErrorMessage,\n FormHelperText,\n FormLabel,\n Input,\n InputGroup,\n InputRightElement,\n} from '@chakra-ui/react';\nimport classnames from 'classnames';\nimport React from 'react';\nimport type { ReactDatePickerProps } from 'react-datepicker';\nimport ReactDatePicker from 'react-datepicker';\nimport { FiCalendar, FiX } from 'react-icons/fi';\n\nimport getWrapperStyle from '../../form/styles/input-field';\nimport Styles from './styles';\nimport TimeInput from './time-input';\n\nexport interface DatepickerProps extends Omit<ReactDatePickerProps, 'selectsRange'> {\n id?: string;\n isRequired?: boolean;\n label?: string;\n error?: string | React.ReactNode;\n isError?: boolean;\n helperText?: string | React.ReactNode;\n withTime?: boolean;\n onClear?: () => void;\n selectsRange?: boolean;\n showMonth?: boolean;\n shortMonth?: boolean;\n}\n\nconst Datepicker: React.FC<DatepickerProps> = ({\n id,\n label,\n error,\n isError,\n helperText,\n isRequired,\n withTime,\n value,\n name,\n onClear,\n showMonth,\n shortMonth,\n ...props\n}) => {\n const selected = value ? new Date(value) : undefined;\n const dateFormat = props.dateFormat ?? withTime ? 'yyyy-MM-dd HH:mm' : 'yyyy-MM-dd';\n const wrapperStyle = getWrapperStyle({});\n\n const getTimeProps = (): Pick<ReactDatePickerProps, 'showTimeInput' | 'customTimeInput' | 'timeInputLabel'> => {\n if (!withTime) return {};\n return {\n timeInputLabel: '',\n showTimeInput: true,\n customTimeInput: <TimeInput />,\n };\n };\n\n const component = (\n <>\n <Styles />\n <ReactDatePicker\n id={id}\n name={name}\n selected={selected}\n customInput={<Input autoComplete=\"off\" {...wrapperStyle} />}\n dateFormat={dateFormat}\n showPopperArrow={false}\n calendarClassName={classnames({ inline: props.inline })}\n showMonthDropdown={showMonth}\n useShortMonthInDropdown={showMonth ? shortMonth : false}\n {...getTimeProps()}\n {...props}\n />\n </>\n );\n\n if (props.inline) {\n return component;\n }\n\n return (\n <FormControl isRequired={isRequired} data-test-id=\"CT_Component_datepicker_wrapper\" isInvalid={isError}>\n {label && <FormLabel fontSize=\"text.sm\">{label}</FormLabel>}\n <InputGroup>\n {component}\n <InputRightElement>\n {!value && <FiCalendar />}\n {value && <FiX data-test-id=\"bcpJJyCP0z_RIAGZXDU6s\" onClick={onClear} cursor=\"pointer\" />}\n </InputRightElement>\n </InputGroup>\n {!isError ? <FormHelperText>{helperText}</FormHelperText> : <FormErrorMessage>{error}</FormErrorMessage>}\n </FormControl>\n );\n};\n\nDatepicker.defaultProps = {\n id: undefined,\n isRequired: undefined,\n label: undefined,\n error: undefined,\n isError: undefined,\n helperText: undefined,\n withTime: undefined,\n onClear: undefined,\n selectsRange: undefined,\n shortMonth: false,\n showMonth: false,\n};\n\nexport default Datepicker;\n","import { Box, Input } from '@chakra-ui/react';\nimport { css } from '@emotion/react';\nimport type { FC } from 'react';\nimport React from 'react';\n\nexport interface DatePickerMonthProps {\n onChange: (date: string) => void;\n\n 'data-test-id'?: string;\n min: string;\n max: string;\n}\n\nconst DatePickerMonth: FC<DatePickerMonthProps> = ({ onChange, min, max, ...props }) => {\n const [date, setDate] = React.useState<string | null>(null);\n return (\n <Box\n fontSize={'12px'}\n lineHeight={'18px'}\n css={css`\n input[type='date']::-webkit-inner-spin-button,\n input[type='date']::-webkit-calendar-picker-indicator {\n display: none;\n -webkit-appearance: none;\n }\n input[value=''] {\n width: 58px;\n }\n `}\n >\n <Input\n data-test-id={props['data-test-id']}\n type=\"date\"\n width={date ? '51px' : '58px'}\n onChange={e => {\n onChange(e.target.value);\n setDate(e.target.value);\n }}\n p={'8px'}\n min={min}\n max={max}\n required\n css={css`\n border: 1px solid transparent;\n\n &:focus,\n &:hover {\n border: 1px solid transparent;\n }\n\n &::placeholder {\n color: #111111;\n }\n `}\n value={date ?? ''}\n />\n </Box>\n );\n};\n\nDatePickerMonth.defaultProps = {\n 'data-test-id': '',\n};\n\nexport default DatePickerMonth;\n","import { Box } from '@chakra-ui/react';\nimport styled from '@emotion/styled';\nimport type { FC } from 'react';\nimport React from 'react';\n\nimport DatePickerMonth from './datepicker-month';\n\nexport interface MultiDatePickerMonthProps {\n onChange: (startDate: string | null, endDate: string | null) => void;\n\n min?: string;\n max?: string;\n isError?: boolean;\n}\n\nconst MultiDateWrapper = styled(Box)<{ isError: boolean }>`\n display: flex;\n align-items: center;\n width: fit-content;\n border: 1px solid;\n box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);\n border-radius: 4px;\n border-color: ${({ isError }) => (isError ? 'var(--chakra-colors-danger-500)' : 'var(--chakra-colors-primary-500)')};\n`;\n\nconst MultiDatePickerMonth: FC<MultiDatePickerMonthProps> = ({\n onChange,\n isError = false,\n min = '2020-01-01',\n max = '2020-12-31',\n}) => {\n const [date, setDate] = React.useState<(string | null)[]>([null, null]);\n return (\n <MultiDateWrapper isError={isError}>\n <DatePickerMonth\n data-test-id=\"CT_DatePickerMonth_StartDate\"\n onChange={val => {\n onChange(val, date[1]);\n setDate([val, date[1]]);\n }}\n min={min}\n max={max}\n />\n <Box>-</Box>\n <DatePickerMonth\n data-test-id=\"CT_DatePickerMonth_EndDate\"\n onChange={val => {\n onChange(date[0], val);\n setDate([date[0], val]);\n }}\n min={min}\n max={max}\n />\n </MultiDateWrapper>\n );\n};\n\nMultiDatePickerMonth.defaultProps = {\n min: '2020-01-01',\n max: '2020-12-31',\n isError: false,\n};\n\nexport default MultiDatePickerMonth;\n","import { InputLeftAddon, InputRightAddon } from '@chakra-ui/react';\nimport React from 'react';\n\ninterface InputAddonProps {\n children: React.ReactNode;\n}\n\nexport const InputAddonLeft = ({ children }: InputAddonProps) => {\n return (\n <InputLeftAddon backgroundColor=\"neutral.200\" px={3} py={2.5} style={{ border: 0, marginInlineEnd: 0 }}>\n {children}\n </InputLeftAddon>\n );\n};\n\nexport const InputAddonRight = ({ children }: InputAddonProps) => {\n return (\n <InputRightAddon backgroundColor=\"neutral.200\" px={3} py={2.5} style={{ border: 0, marginInlineStart: 0 }}>\n {children}\n </InputRightAddon>\n );\n};\n","import type { InputProps as ChakraInputProps } from '@chakra-ui/react';\nimport { Box, Input as ChakraInput, InputGroup } from '@chakra-ui/react';\nimport { Close, Eye, EyeOff } from '@ctlyst.id/internal-icon';\nimport type { ReactNode } from 'react';\nimport React, { useMemo, useState } from 'react';\n\nimport type { FieldProps } from '../../field/components/field';\nimport Field from '../../field/components/field';\nimport { Loader } from '../../loader';\nimport getWrapperStyle from '../styles/input-field';\n\nexport interface InputFieldProps extends ChakraInputProps, FieldProps {\n addOnLeft?: ReactNode;\n addOnRight?: ReactNode;\n withClear?: boolean;\n isLoading?: boolean;\n onClear?: () => void;\n}\n\nconst InputField = React.forwardRef<HTMLInputElement, InputFieldProps>((props, ref) => {\n const {\n value,\n type,\n addOnLeft,\n addOnRight,\n size,\n isRequired,\n label,\n isError,\n isSuccess,\n isDisabled,\n errorMessage,\n leftHelperText,\n rightHelperText,\n withClear,\n onClear,\n isLoading,\n ...inputProps\n } = props;\n\n const wrapperStyle = getWrapperStyle(props);\n const [isShowPassword, setIsShowPassword] = useState(false);\n\n const inputType = useMemo(() => {\n return type === 'password' && isShowPassword ? 'text' : type;\n }, [isShowPassword, type]);\n\n const fontSize = useMemo(() => {\n if (type === 'password') {\n if (!isShowPassword && value) return 'text.xl';\n }\n return 'text.sm';\n }, [isShowPassword, type, value]);\n\n const iconColor = useMemo(() => {\n return isDisabled ? 'black.low' : 'black.medium';\n }, [isDisabled]);\n\n return (\n <Field\n label={label}\n isSuccess={isSuccess}\n isError={isError}\n errorMessage={errorMessage}\n leftHelperText={leftHelperText}\n rightHelperText={rightHelperText}\n isRequired={isRequired}\n >\n <Box __css={wrapperStyle}>\n <InputGroup\n size={size}\n borderRadius=\"sm\"\n backgroundColor={isDisabled ? 'neutral.300' : 'white.high'}\n cursor={isDisabled ? 'not-allowed' : 'default'}\n >\n {addOnLeft}\n <ChakraInput\n ref={ref}\n type={inputType}\n value={value}\n isDisabled={isDisabled}\n isSuccess={isSuccess}\n {...inputProps}\n fontSize={fontSize}\n />\n {(withClear || isLoading || type === 'password') && (\n <Box\n data-test-id=\"CT_Component_ClearInput\"\n display=\"flex\"\n alignItems=\"center\"\n justifyContent=\"center\"\n width=\"16px\"\n mr=\"10px\"\n >\n {withClear && !isLoading && (\n <Box\n display=\"flex\"\n justifyContent=\"center\"\n onClick={!isDisabled ? onClear : undefined}\n cursor={isDisabled ? 'not-allowed' : 'pointer'}\n >\n <Close size={4} color={iconColor} />\n </Box>\n )}\n {type === 'password' && !isShowPassword && !isLoading && (\n <Box\n data-test-id=\"q2Bj2G4FlamXyHuRKMZ1Q\"\n onClick={() => {\n if (!isDisabled) setIsShowPassword(true);\n }}\n cursor={isDisabled ? 'not-allowed' : 'pointer'}\n display=\"flex\"\n justifyContent=\"center\"\n >\n <EyeOff size={4} color={iconColor} />\n </Box>\n )}\n {type === 'password' && isShowPassword && !isLoading && (\n <Box\n data-test-id=\"sfc2388bmeXBmdla45Ibk\"\n onClick={() => {\n if (!isDisabled) setIsShowPassword(false);\n }}\n cursor={isDisabled ? 'not-allowed' : 'pointer'}\n display=\"flex\"\n justifyContent=\"center\"\n >\n <Eye size={4} color={iconColor} />\n </Box>\n )}\n {isLoading && <Loader size=\"sm\" />}\n </Box>\n )}\n {addOnRight}\n </InputGroup>\n </Box>\n </Field>\n );\n});\n\nInputField.defaultProps = {\n addOnLeft: undefined,\n addOnRight: undefined,\n withClear: undefined,\n isLoading: undefined,\n onClear: undefined,\n};\n\nexport default InputField;\n","import type { TextareaProps as ChakraTextareaProps } from '@chakra-ui/react';\nimport { Box, Textarea as ChakraTextarea } from '@chakra-ui/react';\nimport React from 'react';\n\nimport type { FieldProps } from '../../field';\nimport { Field } from '../../field';\nimport { Loader } from '../../loader';\n\nexport interface TextAreaProps extends ChakraTextareaProps, FieldProps {\n isLoading?: boolean;\n}\n\nconst TextareaField = React.forwardRef<HTMLTextAreaElement, TextAreaProps>((props, ref) => {\n const { value, isLoading, ...inputProps } = props;\n\n return (\n <Field {...inputProps}>\n <Box position=\"relative\">\n <ChakraTextarea ref={ref} value={value} {...inputProps} />\n {isLoading && (\n <Box zIndex={999} top={2} right={2} position=\"absolute\">\n <Loader size=\"sm\" />\n </Box>\n )}\n </Box>\n </Field>\n );\n});\n\nTextareaField.defaultProps = {\n isLoading: undefined,\n};\n\nexport default TextareaField;\n","import type { BoxProps } from '@chakra-ui/react';\nimport { Box, Image, useColorModeValue } from '@chakra-ui/react';\nimport React from 'react';\n\nexport interface LogoProps {\n url?: string;\n imageUrl: string;\n height?: BoxProps['h'];\n}\nexport const Logo: React.FC<LogoProps> = ({ url, imageUrl, height }) => {\n if (url)\n return (\n <Box as=\"a\" href={url} cursor=\"pointer\" target=\"_self\">\n <Image w=\"100%\" h={height ?? 9} maxH={height ?? 9} src={imageUrl} alt={imageUrl} />\n </Box>\n );\n\n return <Image w=\"100%\" h={height ?? 9} maxH={height ?? 9} src={imageUrl} alt={imageUrl} />;\n};\n\nexport const XMSLogo = () => (\n <Image\n height={8}\n src={useColorModeValue('https://assets.voila.id/xms/logo-xms.jpg', 'https://assets.voila.id/xms/logo-xms-dark.png')}\n />\n);\n\nexport const VoilaLogo = () => (\n <Image\n src=\"https://assets.voila.id/xms/logo-voila-black.png?v=1\"\n filter={useColorModeValue('none', 'invert(1)')}\n maxW={24}\n />\n);\n\nLogo.defaultProps = {\n url: undefined,\n height: undefined,\n};\n","import type { BoxProps } from '@chakra-ui/react';\nimport {\n Avatar,\n Box,\n Flex,\n HStack,\n Popover,\n PopoverArrow,\n PopoverBody,\n PopoverContent,\n PopoverTrigger,\n Text,\n useColorModeValue,\n useDisclosure,\n VStack,\n} from '@chakra-ui/react';\nimport * as React from 'react';\nimport { FiPower } from 'react-icons/fi';\n\nimport { Badge } from '../../badge';\nimport type { HeaderDataProps } from '../types';\n\nexport type ProfileProps = {\n brandColor?: BoxProps['bgColor'];\n data?: HeaderDataProps;\n onLogout?: () => void;\n};\n\nconst Profile: React.FC<ProfileProps> = ({ brandColor, data, onLogout }) => {\n const { isOpen, onToggle, onClose } = useDisclosure();\n\n return (\n <Popover placement=\"bottom-end\" isOpen={isOpen} onClose={onClose}>\n <Box\n data-test-id=\"WE0UYbA93LOZy6S09IhDO\"\n as=\"button\"\n cursor={'pointer'}\n minW={0}\n _hover={{ textDecor: 'none' }}\n m={0}\n onClick={onToggle}\n >\n <HStack>\n <VStack alignItems=\"flex-end\" spacing={0} ml=\"2\" color=\"primary.500\">\n <Text textStyle=\"text.xs\" mb={1} color=\"neutral.800\">\n {data?.email}\n </Text>\n <Flex>\n {data?.userRole && <Text textStyle=\"text.xs\">{data?.userRole || 'user'}</Text>}\n <Box h=\"3\" mx=\"1\" borderLeft=\"1px solid\" borderColor=\"neutral.400\" />\n {typeof data?.office === 'object' ? (\n <>\n <Text textStyle=\"text.xs\">{data.office[0]}</Text>\n {data.office.length > 1 && (\n <Badge ml=\"1\" pill variant=\"neutral-light\">\n {data.office.length - 1}+\n </Badge>\n )}\n </>\n ) : (\n <Text textStyle=\"text.xs\">{data?.office || 'office'}</Text>\n )}\n </Flex>\n </VStack>\n <PopoverTrigger>\n <Avatar size=\"sm\" bg={brandColor} color=\"white\" name={data?.name ?? data?.email} />\n </PopoverTrigger>\n </HStack>\n </Box>\n <PopoverContent bg={useColorModeValue('white', 'mirage.900')} maxW={200}>\n <PopoverArrow bg={useColorModeValue('white', 'mirage.900')} />\n <PopoverBody p={1}>\n <Flex\n data-test-id=\"gA7F9pucPX_Q3_dkgXIYZ\"\n alignItems=\"center\"\n px={3}\n py={2}\n borderRadius=\"sm\"\n cursor=\"pointer\"\n _hover={{ bg: useColorModeValue('primary.500', 'mirage.900'), color: 'white' }}\n onClick={onLogout}\n textStyle=\"text.xs\"\n >\n <FiPower />\n <Text ml={2}>Logout</Text>\n </Flex>\n </PopoverBody>\n </PopoverContent>\n </Popover>\n );\n};\n\nProfile.defaultProps = {\n brandColor: 'primary.500',\n data: undefined,\n onLogout: undefined,\n};\n\nexport default Profile;\n","import { Box, useColorMode } from '@chakra-ui/react';\nimport * as React from 'react';\nimport { FiMoon, FiSun } from 'react-icons/fi';\n\nconst SwitchMode: React.FC = () => {\n const { colorMode, toggleColorMode } = useColorMode();\n return (\n <Box data-test-id=\"rhYuTDCiWkFqr96upiEEh\" mx={5} onClick={toggleColorMode} cursor=\"pointer\">\n {colorMode === 'light' ? <FiMoon size={20} /> : <FiSun size={20} />}\n </Box>\n );\n};\n\nexport default SwitchMode;\n","import type { Environment } from '../types';\n\n// eslint-disable-next-line import/prefer-default-export\nexport function environmentName(env?: Environment) {\n switch (env) {\n case 'DEVELOPMENT':\n return 'Dev';\n case 'STAGING':\n return 'Staging';\n default:\n return null;\n }\n}\n","/* eslint-disable react-hooks/rules-of-hooks */\nimport { Badge, Box } from '@chakra-ui/react';\nimport * as React from 'react';\n\nimport type { Environment } from '../types';\nimport { environmentName } from '../utils/formatter';\n\nexport type VersionProps = {\n hideEnv?: boolean;\n environment?: Environment;\n version?: string;\n onOpenModalRelease?: () => void;\n};\n\nconst Version: React.FC<VersionProps> = ({ hideEnv, version, environment, onOpenModalRelease }) => (\n <>\n {version && (\n <Badge\n data-test-id=\"dzl3esjhCphobaaIXpiUE\"\n variant=\"neutral-light\"\n textStyle=\"text.xs\"\n py={1}\n px={2.5}\n fontWeight=\"semibold\"\n textTransform=\"lowercase\"\n borderRadius=\"md\"\n onClick={onOpenModalRelease}\n cursor={onOpenModalRelease ? 'pointer' : 'auto'}\n >\n {version}\n </Badge>\n )}\n {!hideEnv && environmentName(environment) !== null && version && (\n <Box\n background=\"primary.50\"\n color=\"primary.500\"\n fontSize=\"text.xs\"\n py={1}\n px={2.5}\n fontWeight=\"bold\"\n borderRadius=\"md\"\n >\n {environmentName(environment)}\n </Box>\n )}\n </>\n);\n\nVersion.defaultProps = {\n hideEnv: false,\n environment: undefined,\n version: undefined,\n onOpenModalRelease: undefined,\n};\n\nexport default Version;\n","import type { BoxProps } from '@chakra-ui/react';\nimport { Box, Flex, HStack } from '@chakra-ui/react';\nimport * as React from 'react';\n\nimport type { HeaderDataProps } from '../types';\nimport { Logo } from './logo';\nimport Profile from './profile';\nimport SwitchMode from './switch-mode';\nimport Version from './version';\n\nexport type HeaderProps = BoxProps & {\n brandColor?: BoxProps['bgColor'];\n data?: HeaderDataProps;\n onLogout?: () => void;\n onOpenModalRelease?: () => void;\n hideSwitchMode?: boolean;\n mainLogo?: string;\n mainLogoSize?: BoxProps['h'];\n centerLogo?: string;\n centerLogoSize?: BoxProps['h'];\n hideEnv?: boolean;\n urlLogo?: string;\n};\n\nconst Header: React.FC<HeaderProps> = ({\n brandColor,\n data,\n onLogout,\n onOpenModalRelease,\n hideSwitchMode,\n mainLogo = 'https://assets.voila.id/xms/logo-xms.jpg',\n centerLogo = 'https://assets.voila.id/xms/logo-voila-black.png?v=1',\n mainLogoSize,\n centerLogoSize = 4,\n hideEnv = false,\n urlLogo,\n children,\n ...props\n}) => (\n <Box minH={15} bg=\"white\" shadow=\"raised\" px={6} py={3} {...props}>\n <Flex w=\"full\" alignItems=\"center\" justifyContent=\"space-between\" pos=\"relative\">\n <Flex alignItems=\"center\">\n <Logo url={urlLogo} imageUrl={mainLogo} height={mainLogoSize} />\n {children && children}\n </Flex>\n\n <HStack w=\"fit-content\" spacing={2} alignItems=\"center\" pos=\"absolute\" left=\"50%\" transform=\"translate(-50%,0)\">\n <Logo url={urlLogo} imageUrl={centerLogo} height={centerLogoSize} />\n <Version\n hideEnv={hideEnv}\n version={data?.version}\n environment={data?.environment}\n onOpenModalRelease={onOpenModalRelease}\n />\n </HStack>\n\n <Flex alignItems=\"center\">\n {!hideSwitchMode && <SwitchMode />}\n <Profile brandColor={brandColor} data={data} onLogout={onLogout} />\n </Flex>\n </Flex>\n </Box>\n);\n\nHeader.defaultProps = {\n brandColor: undefined,\n data: undefined,\n onLogout: undefined,\n onOpenModalRelease: undefined,\n hideSwitchMode: true,\n mainLogo: undefined,\n mainLogoSize: undefined,\n centerLogo: undefined,\n centerLogoSize: undefined,\n hideEnv: false,\n urlLogo: undefined,\n};\n\nexport default Header;\n","import type { ModalBodyProps } from '@chakra-ui/react';\nimport { ModalBody as ChakraModalBody, useColorModeValue } from '@chakra-ui/react';\nimport React from 'react';\n\nconst ModalBody = React.forwardRef<HTMLDivElement, ModalBodyProps>(({ children, ...rest }, ref) => {\n return (\n <ChakraModalBody ref={ref} background={useColorModeValue('white', 'mirage.900')} {...rest}>\n {children}\n </ChakraModalBody>\n );\n});\n\nexport default ModalBody;\n","import type { ButtonProps } from '@chakra-ui/react';\nimport { ModalCloseButton as ChakraModalCloseButton, useColorModeValue } from '@chakra-ui/react';\nimport React, { forwardRef } from 'react';\n\nconst ModalCloseButton = forwardRef<HTMLButtonElement, ButtonProps>((props, ref) => {\n return (\n <ChakraModalCloseButton\n ref={ref}\n top={4}\n right={4}\n size=\"sm\"\n background={useColorModeValue('neutral.50', 'mirage.900')}\n {...props}\n />\n );\n});\nexport default ModalCloseButton;\n","import type { ModalFooterProps } from '@chakra-ui/react';\nimport { ModalFooter as ChakraModalFooter, useColorModeValue } from '@chakra-ui/react';\nimport React, { forwardRef } from 'react';\n\nconst ModalFooter = forwardRef<HTMLDivElement, ModalFooterProps>(({ children, ...rest }, ref) => {\n return (\n <ChakraModalFooter\n ref={ref}\n background={useColorModeValue('neutral.200', 'mirage.900')}\n borderBottomRadius=\"sm\"\n {...rest}\n >\n {children}\n </ChakraModalFooter>\n );\n});\n\nexport default ModalFooter;\n","import type { ModalHeaderProps } from '@chakra-ui/react';\nimport { ModalHeader as ChakraModalHeader, useColorModeValue } from '@chakra-ui/react';\nimport React, { forwardRef } from 'react';\n\nconst ModalHeader = forwardRef<HTMLDivElement, ModalHeaderProps>(({ children, ...rest }, ref) => {\n return (\n <ChakraModalHeader\n ref={ref}\n background={useColorModeValue('neutral.200', 'mirage.900')}\n borderTopRadius=\"sm\"\n textStyle=\"text-lg\"\n {...rest}\n >\n {children}\n </ChakraModalHeader>\n );\n});\n\nexport default ModalHeader;\n","import { createIcon } from '@chakra-ui/react';\nimport React from 'react';\n\nconst CustomerIcon = createIcon({\n displayName: 'CustomerIcon',\n viewBox: '0 0 16 16',\n path: [\n <path\n fill=\"currentColor\"\n fillRule=\"inherit\"\n d=\"M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2ZM.667 8a7.333 7.333 0 1 1 14.666 0A7.333 7.333 0 0 1 .667 8Z\"\n clipRule=\"inherit\"\n />,\n <path\n fill=\"currentColor\"\n d=\"M12.416 12.698a1.997 1.997 0 0 0-1.75-1.031H5.334a2 2 0 0 0-1.864 1.277 7.722 7.722 0 0 1-.943-1.074 3.329 3.329 0 0 1 2.807-1.537h5.334a3.333 3.333 0 0 1 2.703 1.384c-.275.325-.594.66-.954.98Z\"\n />,\n <path\n fill=\"currentColor\"\n fillRule=\"inherit\"\n d=\"M8 5.333A1.333 1.333 0 1 0 8 8a1.333 1.333 0 0 0 0-2.667ZM5.333 6.667a2.667 2.667 0 1 1 5.334 0 2.667 2.667 0 0 1-5.334 0Z\"\n clipRule=\"inherit\"\n />,\n ],\n});\n\nexport default CustomerIcon;\n","/* eslint-disable import/prefer-default-export */\nimport {\n FiBox,\n FiDollarSign,\n FiGift,\n FiLayers,\n FiLayout,\n FiRepeat,\n FiRotateCcw,\n FiSettings,\n FiShoppingBag,\n FiShoppingCart,\n FiUsers,\n} from 'react-icons/fi';\nimport type { IconType } from 'react-icons/lib';\n\nimport CustomerIcon from './customer-icon';\n\nexport const mappingIcon = new Map([\n ['Order', FiShoppingBag],\n ['Fulfillment', FiShoppingCart],\n ['Transfer Stock', FiRepeat],\n ['Stock', FiBox],\n ['Product Database', FiLayers],\n ['Purchasing', FiDollarSign],\n ['Reseller', FiUsers],\n ['Retur', FiRotateCcw],\n ['Other', FiSettings],\n ['Content', FiLayout],\n ['Voucher', FiGift],\n ['Customer', CustomerIcon as IconType],\n]);\n","/* eslint-disable react-hooks/rules-of-hooks */\nimport { ChevronDownIcon } from '@chakra-ui/icons';\nimport type { As, BoxProps } from '@chakra-ui/react';\nimport {\n Box,\n Flex,\n HStack,\n Icon,\n Link,\n Popover,\n PopoverContent,\n PopoverTrigger,\n Portal,\n Text,\n useColorModeValue,\n} from '@chakra-ui/react';\nimport { css } from '@emotion/react';\nimport * as React from 'react';\n\nimport type { NavigationLink } from '../types';\nimport { mappingIcon } from './mapping-icon';\n\nexport type NavigationProps = BoxProps & {\n navigations?: NavigationLink[];\n activePath: string;\n as?: As;\n host?: string;\n};\n\nconst Navigation: React.FC<NavigationProps> = ({ navigations, activePath, as, host, ...props }) => {\n return (\n <Box\n bg={useColorModeValue('white', 'ebony-clay.800')}\n boxShadow=\"0 4px 20px 0 rgb(0 0 0 / 5%)\"\n borderRadius=\"md\"\n overflowX=\"auto\"\n {...props}\n >\n <Flex alignItems=\"center\" p={2}>\n <HStack spacing={2}>\n {navigations?.map(navigation => {\n const isActive = activePath.startsWith(navigation.navLink || '');\n const activeBg = isActive ? 'primary.500' : undefined;\n return (\n <Popover key={navigation.title} trigger=\"hover\" placement=\"bottom-start\">\n {({ isOpen }) => (\n <>\n <PopoverTrigger>\n <Box\n display=\"flex\"\n alignItems=\"center\"\n borderRadius=\"md\"\n cursor=\"pointer\"\n _hover={{\n backgroundColor: !isActive ? useColorModeValue('dove-gray.50', 'transparent') : activeBg,\n }}\n backgroundColor={\n isOpen && !isActive ? useColorModeValue('dove-gray.50', 'transparent') : activeBg\n }\n color={isActive ? 'white' : 'inherit'}\n p={2}\n >\n <Icon as={mappingIcon.get(navigation.title)} mr={2} />\n <Text whiteSpace=\"nowrap\" fontSize=\"text.sm\" fontWeight={400}>\n {navigation.title}\n </Text>\n <ChevronDownIcon ml={2} />\n </Box>\n </PopoverTrigger>\n {navigation.children && (\n <Portal>\n <Box zIndex=\"popover\">\n <PopoverContent\n key={navigation.title}\n bg={useColorModeValue('white', 'ebony-clay.800')}\n maxW={250}\n border=\"none\"\n borderRadius=\"md\"\n boxShadow=\"0 5px 25px rgb(0 0 0 / 10%)\"\n >\n {navigation.children.map(({ title, navHost, navLink }) => {\n const link = navHost ? `${navHost}${navLink}` : navLink;\n const isLocalLink = host === navHost;\n const isActiveSub = activePath === navLink;\n return (\n <Link\n as={isLocalLink ? as : undefined}\n key={title}\n href={link}\n _hover={{\n textDecoration: 'none',\n }}\n >\n <Box\n display=\"flex\"\n position=\"relative\"\n alignItems=\"center\"\n cursor=\"pointer\"\n transition=\"padding 0.35s ease 0s\"\n _hover={{\n backgroundColor: useColorModeValue('dove-gray.50', 'mirage.900'),\n color: useColorModeValue('primary.500', 'dove-gray.600'),\n px: 5,\n py: 4,\n _first: { borderTopRadius: 'md' },\n _last: { borderBottomRadius: 'md' },\n }}\n color={isActiveSub ? 'primary.500' : 'inherit'}\n css={css`\n border-spacing: 4px;\n `}\n px={6}\n py={4}\n >\n <Icon as={mappingIcon.get(navigation.title)} mr={3} />\n <Text fontSize=\"text.sm\">{title}</Text>\n {isActiveSub && (\n <Box\n width={0.5}\n height={8}\n position=\"absolute\"\n bg=\"primary.500\"\n right={0}\n zIndex=\"popover\"\n />\n )}\n </Box>\n </Link>\n );\n })}\n </PopoverContent>\n </Box>\n </Portal>\n )}\n </>\n )}\n </Popover>\n );\n })}\n </HStack>\n </Flex>\n </Box>\n );\n};\n\nNavigation.defaultProps = {\n navigations: undefined,\n as: 'a',\n host: undefined,\n};\n\nexport default Navigation;\n","/* eslint-disable react-hooks/rules-of-hooks */\nimport type { BoxProps } from '@chakra-ui/react';\nimport { Box, Button, Flex, Link, Popover, PopoverContent, PopoverTrigger, Text } from '@chakra-ui/react';\nimport * as Icon from '@ctlyst.id/internal-icon';\nimport React from 'react';\n\nimport type { Menu, SubMenu } from '../types';\n\nexport type NavigationBarProps = BoxProps & {\n navigations?: Menu[];\n isFetched: boolean;\n pathname: string;\n asPath: string;\n mappingIcon: Map<string, JSX.Element>;\n};\n\nconst NavigationBar: React.FC<NavigationBarProps> = ({\n navigations,\n isFetched,\n pathname,\n asPath,\n mappingIcon,\n ...props\n}) => {\n const urlMenu = (subMenu: SubMenu) => {\n if (window.location.hostname === 'localhost') {\n return subMenu.navLink;\n }\n return subMenu.navHost + subMenu.navLink;\n };\n\n return (\n <Box\n hidden={isFetched && navigations === undefined}\n backgroundRepeat=\"repeat-x\"\n data-test-id=\"CT_component_navigation_cms\"\n {...props}\n >\n <Flex\n bg=\"white\"\n w=\"full\"\n rounded={'md'}\n flexWrap=\"wrap\"\n alignItems=\"center\"\n shadow=\"raised\"\n gap={1}\n px={4}\n py={2}\n >\n {navigations?.map((item: Menu) => {\n const childMenu = item.children.filter(subMenu => asPath?.includes(subMenu.navLink));\n\n const isActive = pathname?.startsWith(childMenu[0]?.navLink);\n const activeBg = isActive ? 'primary.500' : undefined;\n\n return (\n <Popover isLazy key={item.id} trigger=\"hover\" placement=\"bottom-start\" openDelay={100} closeDelay={100}>\n {({ isOpen, onClose }) => (\n <>\n <PopoverTrigger>\n <Button\n h={7.5}\n p={2}\n size=\"sm\"\n variant=\"ghost\"\n data-test-id={`CT_component_navigation_button-${item.title}${isActive ? '-active' : ''}`}\n _hover={{\n backgroundColor: !isActive ? 'neutral.400' : activeBg,\n }}\n backgroundColor={isOpen && !isActive ? 'neutral.400' : activeBg}\n color={isActive ? 'primary.50' : 'black.high'}\n leftIcon={mappingIcon.get(item.title)}\n rightIcon={<Icon.ChevronDown size={4} color=\"inherit\" />}\n >\n {item.title}\n </Button>\n </PopoverTrigger>\n\n {item.children && (\n <PopoverContent border=\"none\" shadow=\"raised\" py={1} width={240}>\n {item.children.map((subMenu: SubMenu) => (\n <Link\n key={subMenu.id}\n href={urlMenu(subMenu)}\n display=\"flex\"\n alignItems=\"center\"\n transition=\"padding 0.35s ease 0s\"\n _hover={{\n pl: 6,\n }}\n _first={{ borderTopRadius: 'md' }}\n _last={{ borderBottomRadius: 'md' }}\n py={3}\n px={4}\n color={pathname?.startsWith(subMenu.navLink) ? 'primary.800' : 'black.high'}\n onClick={onClose}\n background={pathname?.startsWith(subMenu.navLink) ? 'primary.50' : 'transparent'}\n data-test-id={`CT_component_navigation_link-${item.id}`}\n >\n {mappingIcon.get(item.title)}\n <Text textStyle=\"text-sm\" ml={3}>\n {subMenu.title}\n </Text>\n </Link>\n ))}\n </PopoverContent>\n )}\n </>\n )}\n </Popover>\n );\n })}\n </Flex>\n </Box>\n );\n};\n\nNavigationBar.defaultProps = {\n navigations: undefined,\n};\n\nexport default NavigationBar;\n","import type { ButtonProps } from '@chakra-ui/react';\nimport { Button, forwardRef, useColorModeValue } from '@chakra-ui/react';\nimport React from 'react';\n\nexport interface PaginationButtonProps {\n isActive?: boolean;\n}\n\nconst PaginationButton = forwardRef<ButtonProps, 'button'>(({ className, style, isActive, children, ...rest }, ref) => {\n const btnBg = useColorModeValue('neutral.300', 'mirage.900');\n const btnColor = useColorModeValue('black.high', 'primary.300');\n const btnNotActiveBg = useColorModeValue('secondary.50', 'primary.500');\n const btnNotActiveColor = useColorModeValue('primary.500', 'white');\n return (\n <Button\n data-test-id=\"Pagination-Button\"\n ref={ref}\n className={className}\n style={style}\n borderRadius=\"full\"\n fontWeight=\"semibold\"\n m={0}\n px={3}\n py={2}\n h={8}\n minW=\"auto\"\n width={8}\n background={isActive ? 'primary.500' : btnBg}\n color={isActive ? 'white' : btnColor}\n _hover={\n !isActive\n ? {\n background: btnNotActiveBg,\n color: btnNotActiveColor,\n }\n : {}\n }\n _disabled={{\n background: useColorModeValue('neutral.300', 'mirage.900'),\n color: 'neutral.600',\n pointerEvents: 'none',\n }}\n {...rest}\n >\n {children}\n </Button>\n );\n});\n\nPaginationButton.displayName = 'PaginationButton';\n\nPaginationButton.defaultProps = {\n isActive: undefined,\n};\n\nexport default PaginationButton;\n","import { VisuallyHidden } from '@chakra-ui/react';\nimport * as React from 'react';\n\nimport PaginationButton from './pagination-button';\n\ntype PaginationButtonTriggerProps = {\n color?: string;\n isDisabled?: boolean;\n onClick?: () => void;\n visuallyHidden?: string;\n icon?: React.ReactNode;\n};\n\nconst PaginationButtonTrigger: React.FC<PaginationButtonTriggerProps> = ({\n color,\n isDisabled,\n onClick,\n visuallyHidden,\n icon,\n}) => (\n <PaginationButton data-test-id=\"DLVCc_fBK35spHm5WxjcJ\" color={color} isDisabled={isDisabled} onClick={onClick}>\n <VisuallyHidden>{visuallyHidden}</VisuallyHidden>\n {icon}\n </PaginationButton>\n);\n\nPaginationButtonTrigger.defaultProps = {\n color: undefined,\n isDisabled: undefined,\n onClick: undefined,\n visuallyHidden: undefined,\n icon: undefined,\n};\n\nexport default PaginationButtonTrigger;\n","import { ArrowLeftIcon, ArrowRightIcon, ChevronLeftIcon, ChevronRightIcon } from '@chakra-ui/icons';\nimport { Box, Text, useColorModeValue } from '@chakra-ui/react';\nimport * as React from 'react';\n\nimport PaginationButton from './pagination-button';\nimport PaginationButtonTrigger from './pagination-button-trigger';\n\nexport interface PaginationProps {\n /** Additional CSS classes to give to the pagination. */\n className?: string;\n /** The current page number. */\n current: number;\n /** Total number of pages. */\n total: number;\n /**\n * Callback to run when a page number is selected. You can use this to e.g.\n * run setState on your component's page state.\n */\n onSelect?: (page: number) => void;\n}\n\nconst Pagination: React.FC<PaginationProps> = ({ className, current, total, onSelect }) => {\n const btnColorDisabled = useColorModeValue('secondary.100', 'primary.500');\n const btnColor = useColorModeValue('primary.500', 'secondary.100');\n const disabledPrevious = current === 1;\n const previousButtonColor = disabledPrevious ? btnColorDisabled : btnColor;\n const disabledNext = current === total;\n const nextButtonColor = disabledNext ? btnColorDisabled : btnColor;\n\n const handleSelectPage = (page: number) => {\n if (onSelect) {\n onSelect(page);\n }\n };\n\n const generatePages = (): (number | string)[] => {\n const maxButtons = 5;\n const pageButtons: (number | string)[] = [];\n\n let startPage: number;\n let endPage: number;\n\n if (maxButtons && maxButtons < total) {\n startPage = Math.max(Math.min(current - Math.floor(maxButtons / 2), total - maxButtons + 1), 1);\n endPage = startPage + maxButtons - 1;\n } else {\n startPage = 1;\n endPage = total;\n }\n\n // eslint-disable-next-line no-plusplus\n for (let page = startPage; page <= endPage; ++page) {\n pageButtons.push(page);\n }\n\n return pageButtons;\n };\n\n return (\n <Box className={className} display=\"inline-flex\" alignItems=\"center\">\n <Box mr={1}>\n <PaginationButtonTrigger\n data-test-id=\"Pagination-Button\"\n color={previousButtonColor}\n isDisabled={disabledPrevious}\n onClick={() => handleSelectPage(1)}\n visuallyHidden=\"First Page\"\n icon={<ArrowLeftIcon width={2} />}\n />\n </Box>\n <Box bg=\"neutral.300\" borderRadius=\"full\">\n <PaginationButtonTrigger\n data-test-id=\"Pagination-Button\"\n color={previousButtonColor}\n isDisabled={disabledPrevious}\n onClick={() => handleSelectPage(current - 1)}\n visuallyHidden=\"Previous Page\"\n icon={<ChevronLeftIcon />}\n />\n {generatePages().map(page => {\n return (\n <PaginationButton\n data-test-id=\"Pagination-Button\"\n key={page}\n isActive={page === current}\n onClick={() => (typeof page === 'number' ? handleSelectPage(page) : null)}\n >\n <Text scale={300} fontSize=\"text.sm\" lineHeight={18} fontWeight={500}>\n {page}\n </Text>\n </PaginationButton>\n );\n })}\n <PaginationButtonTrigger\n data-test-id=\"Pagination-Button\"\n color={nextButtonColor}\n isDisabled={disabledNext}\n onClick={() => handleSelectPage(current + 1)}\n visuallyHidden=\"Next Page\"\n icon={<ChevronRightIcon />}\n />\n </Box>\n <Box ml={1}>\n <PaginationButtonTrigger\n data-test-id=\"Pagination-Button\"\n color={nextButtonColor}\n isDisabled={disabledNext}\n onClick={() => handleSelectPage(total)}\n visuallyHidden=\"Last Page\"\n icon={<ArrowRightIcon width={2} />}\n />\n </Box>\n </Box>\n );\n};\n\nPagination.defaultProps = {\n className: undefined,\n onSelect: undefined,\n};\n\nPagination.displayName = 'Pagination';\n\nexport default Pagination;\n","import type { TextProps } from '@chakra-ui/react';\nimport { Text } from '@chakra-ui/react';\nimport * as React from 'react';\n\nexport interface PaginationDetailProps extends TextProps {\n // Current page of pages\n page: number;\n /** Total limit of pages. */\n limit: number;\n // Length of data\n length: number;\n}\n\nconst PaginationDetail: React.FC<PaginationDetailProps> = ({\n page,\n limit,\n length,\n scale = 300,\n fontSize = 'xs',\n lineHeight = 18,\n ...rest\n}) => {\n return (\n <Text scale={scale} fontSize={fontSize} lineHeight={lineHeight} {...rest}>\n {`${(page - 1) * limit + 1}-${limit * page < length ? limit * page : length} dari ${length} item`}\n </Text>\n );\n};\n\nexport default PaginationDetail;\n","import { Box, Select, Text, useColorModeValue } from '@chakra-ui/react';\nimport * as React from 'react';\nimport { FiChevronDown } from 'react-icons/fi';\n\nexport interface PaginationFilterProps<T> {\n /** Total limit of pages. */\n limit?: number;\n /** Label in front of select input */\n label?: string;\n /** Label items. */\n items: T[];\n /** The change handler for the select. */\n onChange: (changes: T) => void;\n}\n\nconst PaginationFilter: React.FC<PaginationFilterProps<number>> = ({\n limit,\n label = 'Baris per halaman:',\n items,\n onChange,\n ...rest\n}) => {\n const [value, setValue] = React.useState(limit);\n\n return (\n <Box display=\"flex\" flexDirection=\"row\" alignItems=\"center\">\n <Text fontSize=\"text.sm\" lineHeight={18} color={useColorModeValue('neutral.900', 'white')} {...rest}>\n {label}\n </Text>\n <Select\n textAlign=\"center\"\n size=\"xs\"\n outline=\"none\"\n border=\"none\"\n boxShadow=\"none\"\n width={18}\n icon={<FiChevronDown />}\n _focusVisible={{ boxShadow: 'none' }}\n onChange={e => {\n const numberValue = Number(e.target.value);\n onChange(numberValue);\n setValue(numberValue);\n }}\n value={value}\n >\n {items.map(item => {\n return (\n <option key={item} value={item}>\n {item}\n </option>\n );\n })}\n </Select>\n </Box>\n );\n};\n\nPaginationFilter.defaultProps = {\n limit: 10,\n label: undefined,\n};\n\nexport default PaginationFilter;\n","/* eslint-disable no-nested-ternary */\nimport type { RadioProps } from '@chakra-ui/react';\nimport { Box, Radio, Text } from '@chakra-ui/react';\nimport type { PropsWithChildren } from 'react';\nimport React from 'react';\n\nexport interface RadioComponentProps extends RadioProps, PropsWithChildren {\n isError?: boolean;\n helpText?: string;\n errorText?: string;\n}\n\nfunction RadioComponent({\n isError = false,\n helpText = '',\n errorText = '',\n children,\n isDisabled,\n ...rest\n}: RadioComponentProps) {\n const variant = isError ? 'errors' : 'unstyled';\n return (\n <Box>\n <Box display=\"flex\">\n <Radio variant={variant} {...rest} isDisabled={isDisabled}>\n {children && (\n <Text as=\"span\" display=\"block\" textStyle=\"text.sm\" color={isDisabled ? 'black.medium' : 'black.high'}>\n {children}\n </Text>\n )}\n </Radio>\n </Box>\n <Box mt=\"5px\" ml=\"24px\">\n {isError ? (\n <Text as=\"span\" display=\"block\" textStyle=\"text.xs\" color=\"danger.500\">\n {errorText}\n </Text>\n ) : (\n <Text as=\"span\" display=\"block\" textStyle=\"text.xs\" color=\"black.medium\">\n {helpText}\n </Text>\n )}\n </Box>\n </Box>\n );\n}\n\nRadioComponent.defaultProps = {\n isError: false,\n helpText: '',\n errorText: '',\n};\n\nexport default RadioComponent;\n","/* eslint-disable no-nested-ternary */\nimport type { RadioGroupProps } from '@chakra-ui/react';\nimport { Box, RadioGroup, Stack } from '@chakra-ui/react';\nimport React from 'react';\n\nimport type { FieldProps } from '../../field';\nimport { Field } from '../../field';\n\nexport interface RadioGroupComponentProps extends FieldProps, RadioGroupProps {\n label: string;\n helpText?: string;\n isError?: boolean;\n errorMessage?: string;\n}\n\nfunction RadioGroupComponent(props: RadioGroupComponentProps) {\n const { children, label, helpText, isError, errorMessage, ...rest } = props;\n return (\n <Field {...rest} label={label} leftHelperText={helpText} isError={isError} errorMessage={errorMessage}>\n <Box mt=\"12px\">\n <RadioGroup {...rest}>\n <Stack spacing={[1, '16px']} direction={['column', 'row']}>\n {children}\n </Stack>\n </RadioGroup>\n </Box>\n </Field>\n );\n}\n\nRadioGroupComponent.defaultProps = {\n helpText: '',\n isError: false,\n errorMessage: '',\n};\n\nexport default RadioGroupComponent;\n","import { Grid } from '@chakra-ui/react';\nimport { Rating as RatingIcon } from '@ctlyst.id/internal-icon';\nimport React from 'react';\n\ntype PropsValue = 0 | 1 | 2 | 3 | 4 | 5;\n\nexport interface RatingProps {\n value: PropsValue;\n}\n\nconst Rating = ({ value }: RatingProps) => {\n return (\n <Grid gap={'4px'} display=\"flex\">\n {[...Array(5)].map((_, i) => (\n <RatingIcon color={i < value ? '#FFA230' : '#E0E0E0'} size={24} />\n ))}\n </Grid>\n );\n};\n\nexport default Rating;\n","import { Box } from '@chakra-ui/react';\nimport type { FC, PropsWithChildren } from 'react';\nimport React from 'react';\n\ninterface SelectWrapperProps {\n // eslint-disable-next-line react/no-unused-prop-types\n isError?: boolean;\n}\n\nconst SelectWrapper: FC<PropsWithChildren<SelectWrapperProps>> = ({ children }) => {\n return <Box>{children}</Box>;\n};\n\nSelectWrapper.defaultProps = {\n isError: false,\n};\n\nexport default SelectWrapper;\n","const fonts = {\r\n heading: `'Poppins', sans-serif`,\r\n body: `'Poppins', sans-serif`,\r\n};\r\n\r\nconst fontWeights = {\r\n hairline: 100,\r\n thin: 200,\r\n light: 300,\r\n normal: 400,\r\n medium: 500,\r\n semibold: 600,\r\n bold: 700,\r\n extrabold: 800,\r\n black: 900,\r\n};\r\n\r\nconst lineHeights = {\r\n normal: 'normal',\r\n none: 1,\r\n shorter: 1.25,\r\n short: 1.375,\r\n base: 1.5,\r\n tall: 1.625,\r\n 64: '4rem', // 64px\r\n 56: '3.5rem', // 56px\r\n 48: '3rem', // 48px\r\n 40: '2.5rem', // 40px\r\n 36: '2.25rem', // 36px\r\n 34: '2.125rem', // 34px\r\n 32: '2rem', // 32px\r\n 30: '1.875rem', // 30px\r\n 28: '1.75', // 28px\r\n 26: '1.625rem', // 26px\r\n 24: '1.5rem', // 24px\r\n 22: '1.375rem', // 22px\r\n 20: '1.25rem', // 20px\r\n 18: '1.125rem', // 18px\r\n 16: '1rem', // 16px\r\n 14: '0.875rem', // 14px\r\n 12: '0.75rem', // 12px\r\n};\r\n\r\nconst letterSpacings = {\r\n tighter: '-0.05em',\r\n tight: '-0.025em',\r\n normal: '0',\r\n wide: '0.025em',\r\n wider: '0.05em',\r\n widest: '0.1em',\r\n};\r\n\r\nconst fontSizes = {\r\n heading: {\r\n 1: '2.5rem', // 40px\r\n 2: '2rem', // 32px\r\n 3: '1.75rem', // 28px\r\n 4: '1.5rem', // 24px\r\n 5: '1.375rem', // 22px\r\n 6: '1.125rem', // 18px\r\n },\r\n text: {\r\n xl: '1.125rem', // 18px\r\n lg: '1rem', // 16px\r\n md: '0.875rem', // 14px\r\n sm: '0.75rem', // 12px\r\n xs: '0.625rem', // 10px\r\n },\r\n button: {\r\n lg: '1.125rem', // 18px\r\n md: '0.875rem', // 14px\r\n sm: '0.625rem', // 10px\r\n },\r\n field: {\r\n lg: '1rem', // 16px\r\n md: '0.875rem', // 14px\r\n sm: '0.75rem', // 12px\r\n },\r\n table: {\r\n header: '0.75rem', // 12px\r\n },\r\n};\r\n\r\nconst heading = {\r\n 1: {\r\n fontSize: fontSizes.heading[1],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[64],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n 2: {\r\n fontSize: fontSizes.heading[2],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[56],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n 3: {\r\n fontSize: fontSizes.heading[3],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[48],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n 4: {\r\n fontSize: fontSizes.heading[4],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[40],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n 5: {\r\n fontSize: fontSizes.heading[5],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[36],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n 6: {\r\n fontSize: fontSizes.heading[6],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[32],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n};\r\n\r\nconst text = {\r\n xl: {\r\n fontSize: fontSizes.text.xl,\r\n fontWeight: fontWeights.normal,\r\n lineHeight: lineHeights[28],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n lg: {\r\n fontSize: fontSizes.text.lg,\r\n fontWeight: fontWeights.normal,\r\n lineHeight: lineHeights[24],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n md: {\r\n fontSize: fontSizes.text.md,\r\n fontWeight: fontWeights.normal,\r\n lineHeight: lineHeights[22],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n sm: {\r\n fontSize: fontSizes.text.sm,\r\n fontWeight: fontWeights.normal,\r\n lineHeight: lineHeights[18],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n xs: {\r\n fontSize: fontSizes.text.xs,\r\n fontWeight: fontWeights.normal,\r\n lineHeight: lineHeights[14],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n};\r\n\r\nconst button = {\r\n lg: {\r\n fontSize: fontSizes.button.lg,\r\n lineHeight: lineHeights[28],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n md: {\r\n fontSize: fontSizes.button.md,\r\n lineHeight: lineHeights[22],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n sm: {\r\n fontSize: fontSizes.button.sm,\r\n lineHeight: lineHeights[14],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n};\r\n\r\nconst field = {\r\n lg: {\r\n fontSize: fontSizes.field.lg,\r\n lineHeight: lineHeights[24],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n md: {\r\n fontSize: fontSizes.field.md,\r\n lineHeight: lineHeights[22],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n sm: {\r\n fontSize: fontSizes.field.sm,\r\n lineHeight: lineHeights[18],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n};\r\n\r\nconst textStyles = {\r\n heading,\r\n text,\r\n button,\r\n field,\r\n};\r\n\r\nexport { fonts, fontSizes, fontWeights, letterSpacings, lineHeights, textStyles };\r\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable no-nested-ternary */\n/* eslint-disable import/prefer-default-export */\nimport type { ColorMode } from '@chakra-ui/system';\nimport type { CSSObjectWithLabel, GroupBase, StylesConfig, Theme } from 'react-select';\n\nimport { textStyles } from '../../../config/theme/foundations';\n\nconst styleMd = textStyles.text.sm;\nconst selectStyle = {\n fontSize: styleMd.fontSize,\n lineHeight: styleMd.lineHeight,\n letterSpacing: 0,\n};\n\nconst boxShadow = (color: string) => `0 0 0 1px ${color}`;\n\nexport function selectStyles<\n OptionType = unknown,\n IsMulti extends boolean = boolean,\n Group extends GroupBase<OptionType> = GroupBase<OptionType>\n>(colorMode: ColorMode, _isError: boolean): StylesConfig<OptionType, IsMulti, Group> | undefined {\n const boxShadowLight = (isFocused = false, isError = false) => {\n if ((isError && isFocused) || isError) {\n return boxShadow('danger.500');\n }\n if (isFocused) {\n return boxShadow('primary.500');\n }\n return boxShadow('neutral.400');\n };\n\n return {\n control: (base: CSSObjectWithLabel, state: any) =>\n colorMode === 'dark'\n ? {\n ...base,\n ...selectStyle,\n background: 'transparent',\n color: 'primary.300',\n borderColor: 'secondary.500',\n boxShadow: state.isFocused ? 'none' : `inherit`,\n }\n : {\n ...base,\n ...selectStyle,\n borderWidth: 0,\n boxShadow: boxShadowLight(state.isFocused, _isError),\n },\n option: (base: CSSObjectWithLabel, { isSelected }) =>\n colorMode === 'dark'\n ? {\n ...base,\n ...selectStyle,\n background: isSelected ? 'primary.700' : 'dark.800',\n color: 'white',\n }\n : { ...base, ...selectStyle },\n menu: (base: CSSObjectWithLabel) =>\n colorMode === 'dark'\n ? {\n ...base,\n ...selectStyle,\n background: 'dark.800',\n zIndex: 5,\n }\n : {\n ...base,\n ...selectStyle,\n zIndex: 5,\n },\n singleValue: (base: CSSObjectWithLabel) =>\n colorMode === 'dark' ? { ...base, ...selectStyle, color: 'white' } : { ...base, ...selectStyle },\n input: (base: CSSObjectWithLabel) =>\n colorMode === 'dark' ? { ...base, ...selectStyle, color: 'white' } : { ...base, ...selectStyle },\n dropdownIndicator: (base: CSSObjectWithLabel) =>\n colorMode === 'dark' ? { ...base, ...selectStyle, color: 'secondary.500' } : { ...base, ...selectStyle },\n indicatorSeparator: (base: CSSObjectWithLabel) =>\n colorMode === 'dark'\n ? { ...base, ...selectStyle, backgroundColor: 'secondary.500' }\n : { ...base, ...selectStyle },\n placeholder: (base: CSSObjectWithLabel) => {\n return { ...base, ...selectStyle, color: 'black.low' };\n },\n };\n}\n\nexport const themeSelect = (theme: Theme) => {\n return {\n ...theme,\n colors: {\n ...theme.colors,\n primary: 'primary.500',\n primary25: 'primary.50',\n primary50: 'primary.100',\n primary75: 'primary.200',\n },\n };\n};\n","/* eslint-disable react/require-default-props */\nimport { useColorMode } from '@chakra-ui/system';\nimport React from 'react';\nimport type { GroupBase, Props as ReactSelectProps } from 'react-select';\nimport ReactSelect from 'react-select';\n\nimport SelectWrapper from './select-wrapper';\nimport type { ExtendedSelectProps } from './types/select.types';\nimport { selectStyles, themeSelect } from './utils';\n\nexport type SelectProps<\n Option = unknown,\n IsMulti extends boolean = boolean,\n Group extends GroupBase<Option> = GroupBase<Option>\n> = ReactSelectProps<Option, IsMulti, Group> & ExtendedSelectProps;\n\nfunction Select<OptionType, Group extends GroupBase<OptionType>, IsMulti extends boolean = false>({\n styles,\n isError = false,\n ...rest\n}: SelectProps<OptionType, IsMulti, Group>) {\n const { colorMode } = useColorMode();\n\n return (\n <SelectWrapper isError={isError}>\n <ReactSelect<OptionType, IsMulti, Group>\n classNamePrefix=\"react-select\"\n {...(rest as ReactSelectProps<OptionType, IsMulti, Group>)}\n styles={{ ...selectStyles(colorMode, isError) }}\n theme={themeSelect}\n />\n </SelectWrapper>\n );\n}\n\nexport default Select;\n","import { useColorMode } from '@chakra-ui/system';\nimport React from 'react';\nimport type { GroupBase } from 'react-select';\nimport type { AsyncPaginateProps } from 'react-select-async-paginate';\nimport { AsyncPaginate } from 'react-select-async-paginate';\n\nimport SelectWrapper from './select-wrapper';\nimport type { ExtendedSelectProps } from './types/select.types';\nimport { selectStyles, themeSelect } from './utils';\n\nexport type SelectAsyncProps<\n OptionType = unknown,\n Group extends GroupBase<OptionType> = GroupBase<OptionType>,\n Additional = unknown,\n IsMulti extends boolean = false\n> = AsyncPaginateProps<OptionType, Group, Additional, IsMulti> & ExtendedSelectProps;\n\nfunction SelectAsync<OptionType, Group extends GroupBase<OptionType>, Additional, IsMulti extends boolean = false>({\n styles,\n isError = false,\n ...rest\n}: SelectAsyncProps<OptionType, Group, Additional, IsMulti>) {\n const { colorMode } = useColorMode();\n\n return (\n <SelectWrapper isError={isError}>\n <AsyncPaginate<OptionType, Group, Additional, IsMulti>\n classNamePrefix=\"react-select\"\n {...(rest as AsyncPaginateProps<OptionType, Group, Additional, IsMulti>)}\n styles={{ ...selectStyles<OptionType, IsMulti, Group>(colorMode, isError), ...styles }}\n theme={themeSelect}\n />\n </SelectWrapper>\n );\n}\n\nexport default SelectAsync;\n","import { useColorMode } from '@chakra-ui/system';\nimport React from 'react';\nimport type { GroupBase } from 'react-select';\nimport type { AsyncCreatableProps } from 'react-select/async-creatable';\nimport ReactSelectAsyncCreatable from 'react-select/async-creatable';\n\nimport SelectWrapper from './select-wrapper';\nimport type { ExtendedSelectProps } from './types/select.types';\nimport { selectStyles, themeSelect } from './utils';\n\nexport type SelectAsyncCreatableProps<\n Option = unknown,\n IsMulti extends boolean = false,\n Group extends GroupBase<Option> = GroupBase<Option>\n> = AsyncCreatableProps<Option, IsMulti, Group> & ExtendedSelectProps;\n\nexport default function SelectAsyncCreatable<\n Option = unknown,\n IsMulti extends boolean = false,\n Group extends GroupBase<Option> = GroupBase<Option>\n>({ styles, isError = false, ...rest }: SelectAsyncCreatableProps<Option, IsMulti, Group>) {\n const { colorMode } = useColorMode();\n\n return (\n <SelectWrapper isError={isError}>\n <ReactSelectAsyncCreatable\n classNamePrefix=\"react-select\"\n {...(rest as SelectAsyncCreatableProps<Option, IsMulti, Group>)}\n styles={{ ...selectStyles<Option, IsMulti, Group>(colorMode, isError), ...styles }}\n theme={themeSelect}\n />\n </SelectWrapper>\n );\n}\n","import { useColorMode } from '@chakra-ui/system';\nimport React from 'react';\nimport type { GroupBase } from 'react-select';\nimport type { CreatableProps } from 'react-select/creatable';\nimport ReactSelectCreatable from 'react-select/creatable';\n\nimport SelectWrapper from './select-wrapper';\nimport type { ExtendedSelectProps } from './types/select.types';\nimport { selectStyles, themeSelect } from './utils';\n\nexport type SelectCreatableProps<\n Option = unknown,\n IsMulti extends boolean = false,\n Group extends GroupBase<Option> = GroupBase<Option>\n> = CreatableProps<Option, IsMulti, Group> & ExtendedSelectProps;\n\nexport default function SelectCreatable<\n Option = unknown,\n IsMulti extends boolean = false,\n Group extends GroupBase<Option> = GroupBase<Option>\n>({ styles, isError = false, ...rest }: SelectCreatableProps<Option, IsMulti, Group>) {\n const { colorMode } = useColorMode();\n\n return (\n <SelectWrapper isError={isError}>\n <ReactSelectCreatable\n classNamePrefix=\"react-select\"\n {...(rest as SelectCreatableProps<Option, IsMulti, Group>)}\n styles={{ ...selectStyles<Option, IsMulti, Group>(colorMode, isError), ...styles }}\n theme={themeSelect}\n />\n </SelectWrapper>\n );\n}\n","import type {\n HTMLChakraProps,\n ResponsiveValue,\n SystemProps,\n SystemStyleObject,\n ThemingProps,\n UseCheckboxProps,\n} from '@chakra-ui/react';\nimport { chakra, Flex, forwardRef, omitThemingProps, useCheckbox, useMultiStyleConfig } from '@chakra-ui/react';\nimport { cx, dataAttr } from '@chakra-ui/shared-utils';\nimport { Check, Close } from '@ctlyst.id/internal-icon';\nimport React, { useMemo } from 'react';\n\nexport interface SwitchProps\n extends Omit<UseCheckboxProps, 'isIndeterminate'>,\n Omit<HTMLChakraProps<'label'>, keyof UseCheckboxProps>,\n ThemingProps<'Switch'> {\n /**\n * The spacing between the switch and its label text\n * @default 0.5rem\n * @type SystemProps[\"marginLeft\"]\n */\n spacing?: SystemProps['marginLeft'];\n size?: 'sm' | 'md' | 'lg';\n}\n\n/**\n * The `Switch` component is used as an alternative for the checkbox component for switching between \"enabled\" and \"disabled\" states.\n *\n * @see Docs https://chakra-ui.com/docs/components/switch\n * @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/switch/\n */\nconst Switch = forwardRef<SwitchProps, 'input'>(function Switch(props, ref) {\n const styles = useMultiStyleConfig('Switch', props);\n\n const { spacing = '0.5rem', children, ...ownProps } = omitThemingProps(props);\n\n const { state, getInputProps, getCheckboxProps, getRootProps, getLabelProps } = useCheckbox(ownProps);\n\n const containerStyles: SystemStyleObject = useMemo(\n () => ({\n display: 'inline-block',\n position: 'relative',\n verticalAlign: 'middle',\n lineHeight: 0,\n ...styles.container,\n }),\n [styles.container]\n );\n\n const trackStyles: SystemStyleObject = useMemo(\n () => ({\n display: 'inline-flex',\n flexShrink: 0,\n justifyContent: 'flex-start',\n boxSizing: 'content-box',\n cursor: 'pointer',\n width: 200,\n ...styles.track,\n }),\n [styles.track]\n );\n\n const labelStyles: SystemStyleObject = useMemo(\n () => ({\n userSelect: 'none',\n marginStart: spacing,\n ...styles.label,\n }),\n [spacing, styles.label]\n );\n\n const getIconSize = (value?: ResponsiveValue<'sm' | 'md' | 'lg'>) => {\n const iconSize = {\n sm: 3,\n md: 4,\n lg: 5,\n };\n\n return iconSize[value as keyof typeof iconSize];\n };\n\n return (\n <chakra.label\n {...getRootProps()}\n display=\"flex\"\n alignItems=\"center\"\n className={cx('chakra-switch', props.className)}\n __css={containerStyles}\n >\n <input data-test-id=\"\" className=\"chakra-switch__input\" {...getInputProps({}, ref)} />\n <chakra.span {...getCheckboxProps()} className=\"chakra-switch__track\" pos=\"relative\" __css={trackStyles}>\n <Flex gap={2} pos=\"absolute\" top=\"50%\" left=\"50%\" transform=\"translate(-50%, -50%)\">\n <Check color=\"white\" size={getIconSize(props.size)} />\n <Close color={state.isDisabled ? 'neutral.600' : 'neutral.900'} size={getIconSize(props.size)} />\n </Flex>\n <chakra.span\n __css={styles.thumb}\n className=\"chakra-switch__thumb\"\n data-checked={dataAttr(state.isChecked)}\n data-hover={dataAttr(state.isHovered)}\n />\n </chakra.span>\n {children && (\n <chakra.span\n className=\"chakra-switch__label\"\n color={state.isDisabled ? 'black.low' : 'black.high'}\n {...getLabelProps()}\n __css={labelStyles}\n >\n {children}\n </chakra.span>\n )}\n </chakra.label>\n );\n});\n\nSwitch.defaultProps = {\n size: 'sm',\n};\n\nexport default Switch;\n","import type { TabProps as ChakraTabProps } from '@chakra-ui/react';\nimport { Button, Flex, forwardRef, useMultiStyleConfig, useTab } from '@chakra-ui/react';\nimport * as React from 'react';\n\ntype AddonProps = {\n isSelected: boolean;\n};\n\ntype TabProps = ChakraTabProps & {\n 'data-test-id'?: string;\n leftAddon?({ isSelected }: AddonProps): React.ReactNode;\n rightAddon?({ isSelected }: AddonProps): React.ReactNode;\n};\n\nconst Tab = forwardRef<TabProps, 'button'>((props, ref) => {\n const tabProps = useTab({ ...props, ref });\n const isSelected = !!tabProps['aria-selected'];\n const styles = useMultiStyleConfig('Tabs', tabProps);\n return (\n <Button\n data-test-id={props['data-test-id']}\n p={4}\n fontSize=\"text.md\"\n _selected={{\n borderColor: 'primary.400',\n color: 'primary.500',\n transform: 'translateY(-2px)',\n _hover: {\n '& .chakra-badge': {\n bg: 'primary.500',\n },\n color: 'primary.500',\n },\n }}\n color=\"black.medium\"\n _focus={{ bg: 'none' }}\n _hover={{\n '& .chakra-badge': {\n bg: 'primary.400',\n },\n color: 'primary.400',\n }}\n __css={styles.tab}\n {...tabProps}\n >\n <Flex alignItems=\"center\">\n {props.leftAddon?.({ isSelected })}\n {tabProps.children}\n {props.rightAddon?.({ isSelected })}\n </Flex>\n </Button>\n );\n});\n\nexport default Tab;\n","import type { TabListProps } from '@chakra-ui/react';\nimport { forwardRef, TabList as ChakraTabList, useColorModeValue } from '@chakra-ui/react';\nimport React from 'react';\n\nconst TabList = forwardRef<TabListProps, 'div'>((props, ref) => (\n <ChakraTabList\n borderBottom=\"1px solid\"\n borderColor={useColorModeValue('gray.200', 'bright-gray.800')}\n {...props}\n ref={ref}\n >\n {props.children}\n </ChakraTabList>\n));\n\nexport default TabList;\n","import type { TabPanelProps } from '@chakra-ui/react';\nimport { forwardRef, TabPanel as ChakraTabPanel } from '@chakra-ui/react';\nimport React from 'react';\n\nconst TabPanel = forwardRef<TabPanelProps, 'div'>((props, ref) => (\n <ChakraTabPanel px={0} {...props} ref={ref}>\n {props.children}\n </ChakraTabPanel>\n));\n\nexport default TabPanel;\n","export const ONE_MEGA_BYTE = 1000000;\nexport const messages = {\n dragActive: 'Drop file disini...',\n dragInActive: `(Klik atau drag untuk input file)`,\n dragReplace: `(Klik atau drag untuk mengganti file)`,\n replaceFile: 'Ganti File',\n uploadFile: 'Upload File',\n};\n","import type { FlexProps } from '@chakra-ui/react';\nimport { Flex, Heading, Stack, Text } from '@chakra-ui/react';\nimport * as React from 'react';\nimport type { DropzoneOptions, DropzoneState, FileRejection } from 'react-dropzone';\nimport { useDropzone } from 'react-dropzone';\n\nimport { messages } from '../constants';\n\nexport type UploaderProps = FlexProps &\n DropzoneOptions & {\n onHandleUploadFile?: (res: File[]) => void;\n onHandleRejections?: (rejections: FileRejection[]) => void;\n renderError?: (rejections: FileRejection[]) => React.ReactNode;\n selected?: boolean;\n };\n\nexport type UploaderState = DropzoneState;\n\nconst Uploader: React.FC<UploaderProps> = ({\n onHandleUploadFile,\n onHandleRejections,\n accept,\n multiple,\n selected,\n maxFiles = 1,\n renderError,\n validator,\n ...props\n}) => {\n const [selectedFirstFile, setSelectedFirstFile] = React.useState<File>();\n const [isSelected, setIsSelected] = React.useState<boolean>(selected || false);\n const onDrop = React.useCallback(\n (acceptedFiles: File[]) => {\n if (acceptedFiles.length > 0) {\n onHandleUploadFile?.(acceptedFiles);\n if (!multiple) {\n setIsSelected(true);\n setSelectedFirstFile(acceptedFiles[0]);\n }\n }\n },\n [multiple, onHandleUploadFile]\n );\n\n const { getRootProps, getInputProps, isDragActive, fileRejections } = useDropzone({\n onDrop,\n accept,\n maxFiles,\n multiple,\n validator,\n });\n\n React.useEffect(() => {\n if (fileRejections.length > 0 && onHandleRejections) {\n onHandleRejections(fileRejections);\n }\n }, [fileRejections, onHandleRejections]);\n\n const isError = React.useMemo(() => {\n const error = fileRejections.length > 0;\n if (error) {\n setIsSelected(false);\n }\n return error;\n }, [fileRejections]);\n\n React.useEffect(() => {\n setIsSelected(selected ?? false);\n }, [selected]);\n\n return (\n <Stack direction=\"column\">\n <Flex\n minH={200}\n border=\"1px dashed\"\n borderColor={isError ? 'danger.500' : 'primary.500'}\n alignItems=\"center\"\n justifyContent=\"center\"\n cursor=\"pointer\"\n {...props}\n {...getRootProps()}\n >\n <input {...getInputProps()} />\n {isDragActive ? (\n <Text>{messages.dragActive}</Text>\n ) : (\n <Flex flexDirection=\"column\" alignItems=\"center\" color={isError ? 'danger.500' : 'primary.500'}>\n {!multiple && isSelected && (\n <Heading fontWeight={400} fontSize=\"18px\" lineHeight={28} color=\"black.high\" mb={2}>\n {selectedFirstFile?.name}\n </Heading>\n )}\n {!isSelected && (\n <Heading fontWeight={400} fontSize=\"18px\" lineHeight={28} mb={2}>\n {messages.uploadFile}\n </Heading>\n )}\n {isSelected ? <Text>{messages.dragReplace}</Text> : <Text>{messages.dragInActive}</Text>}\n </Flex>\n )}\n </Flex>\n {renderError?.(fileRejections)}\n </Stack>\n );\n};\n\nUploader.defaultProps = {\n onHandleUploadFile: undefined,\n onHandleRejections: undefined,\n renderError: undefined,\n selected: false,\n};\n\nexport default Uploader;\n","import { alertAnatomy as parts } from '@chakra-ui/anatomy';\nimport type { StyleFunctionProps } from '@chakra-ui/styled-system';\nimport { createMultiStyleConfigHelpers, cssVar } from '@chakra-ui/styled-system';\n\nconst { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(parts.keys);\n\nconst $fg = cssVar('alert-fg');\nconst $ac = cssVar('alert-ac');\nconst $bg = cssVar('alert-bg');\n\nconst baseStyle = definePartsStyle({\n container: {\n bg: $bg.reference,\n px: '4',\n py: '2',\n borderRadius: 'sm',\n },\n title: {\n fontWeight: 'regular',\n textStyle: 'text.sm',\n marginEnd: '2',\n },\n description: {\n lineHeight: '6',\n },\n icon: {\n color: $fg.reference,\n flexShrink: 0,\n marginEnd: '3',\n w: '4',\n h: '4',\n },\n action: {\n color: $ac.reference,\n '& +.chakra-alert__close': {\n ml: '3',\n },\n },\n close: {\n color: $fg.reference,\n w: '4',\n h: '4',\n },\n\n spinner: {\n color: $fg.reference,\n flexShrink: 0,\n marginEnd: '3',\n w: '5',\n h: '5',\n },\n});\n\nfunction getBg(props: StyleFunctionProps) {\n const { colorScheme: c } = props;\n\n return {\n light: c === 'neutral' ? `colors.${c}.300` : `colors.${c}.50`,\n };\n}\n\nconst variantLight = definePartsStyle(props => {\n const { colorScheme: c } = props;\n const bg = getBg(props);\n return {\n container: {\n [$fg.variable]: `colors.${c}.700`,\n [$bg.variable]: bg.light,\n color: $fg.reference,\n },\n };\n});\n\nconst variantSolid = definePartsStyle(props => {\n const { colorScheme: c } = props;\n return {\n container: {\n [$fg.variable]: `colors.white.high`,\n [$bg.variable]: c === 'neutral' ? `colors.${c}.700` : `colors.${c}.500`,\n },\n };\n});\n\nconst variants = {\n light: variantLight,\n solid: variantSolid,\n};\n\nconst alertTheme = defineMultiStyleConfig({\n baseStyle,\n variants,\n defaultProps: {\n variant: 'light',\n colorScheme: 'info',\n },\n});\n\nexport default alertTheme;\n","import type { ComponentStyleConfig } from '@chakra-ui/theme';\n\nconst Badge: ComponentStyleConfig = {\n baseStyle: {\n display: 'inline-block',\n fontSize: 'text.xs',\n fontWeight: 'semibold',\n lineHeight: '14',\n textTransform: 'none',\n px: 2,\n py: '0.5',\n },\n variants: {\n 'primary-solid': {\n bg: 'primary.500',\n color: 'white',\n },\n 'success-solid': {\n bg: 'success.500',\n color: 'white',\n },\n 'info-solid': {\n bg: 'info.500',\n color: 'white',\n },\n 'warning-solid': {\n bg: 'warning.500',\n color: 'white',\n },\n 'danger-solid': {\n bg: 'danger.500',\n color: 'white',\n },\n 'neutral-solid': {\n bg: 'neutral.900',\n color: 'white',\n },\n 'disabled-solid': {\n bg: 'neutral.600',\n color: 'white',\n },\n 'primary-light': {\n bg: 'primary.50',\n color: 'primary.500',\n },\n 'success-light': {\n bg: 'success.50',\n color: 'success.500',\n },\n 'info-light': {\n bg: 'info.50',\n color: 'info.500',\n },\n 'warning-light': {\n bg: 'warning.50',\n color: 'warning.500',\n },\n 'danger-light': {\n bg: 'danger.50',\n color: 'danger.500',\n },\n 'neutral-light': {\n bg: 'neutral.200',\n color: 'neutral.900',\n },\n 'disabled-light': {\n bg: 'neutral.200',\n color: 'neutral.600',\n },\n },\n // The default size and variant values\n defaultProps: {\n variant: 'primary-solid',\n },\n};\n\nexport default Badge;\n","import { defineStyleConfig } from '@chakra-ui/styled-system';\r\nimport type { ComponentStyleConfig } from '@chakra-ui/theme';\r\n\r\n// You can also use the more specific type for\r\n// a single part component: ComponentSingleStyleConfig\r\n\r\nconst Button: ComponentStyleConfig = defineStyleConfig({\r\n // The styles all button have in common\r\n baseStyle: {\r\n fontSize: 'body.1',\r\n fontWeight: 'normal',\r\n px: 4,\r\n py: 2.5,\r\n borderRadius: 'sm',\r\n\r\n _disabled: {\r\n opacity: 1,\r\n bg: 'neutral.300',\r\n color: 'black.low',\r\n },\r\n\r\n _hover: {\r\n _disabled: {\r\n bg: 'neutral.300',\r\n color: 'black.low',\r\n },\r\n },\r\n },\r\n\r\n sizes: {\r\n lg: props => {\r\n const { variant } = props;\r\n const base = {\r\n fontSize: 'text.xl',\r\n h: 12,\r\n px: 4,\r\n py: 2.5,\r\n };\r\n const icon = {\r\n h: 10,\r\n w: 10,\r\n p: 0,\r\n };\r\n return variant === 'icon' ? icon : base;\r\n },\r\n md: props => {\r\n const { variant } = props;\r\n const base = {\r\n fontSize: 'text.md',\r\n h: 9,\r\n px: 3,\r\n py: '7px',\r\n };\r\n const icon = {\r\n h: 9,\r\n w: 9,\r\n p: 0,\r\n };\r\n return variant === 'icon' ? icon : base;\r\n },\r\n sm: props => {\r\n const { variant } = props;\r\n const base = {\r\n fontSize: 'text.sm',\r\n h: '26px',\r\n lineHeight: 4,\r\n px: 2,\r\n py: '5px',\r\n };\r\n const icon = {\r\n h: '26px',\r\n w: '26px',\r\n p: 0,\r\n };\r\n return variant === 'icon' ? icon : base;\r\n },\r\n },\r\n\r\n variants: {\r\n primary: props => {\r\n const { isLoading } = props;\r\n\r\n const basePrimary = {\r\n color: 'white.high',\r\n bg: 'primary.500',\r\n _hover: {\r\n bg: 'primary.600',\r\n },\r\n _active: {\r\n bg: 'primary.700',\r\n },\r\n };\r\n\r\n const disabledLoading = {\r\n _disabled: {\r\n bg: 'primary.500',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'primary.500',\r\n },\r\n },\r\n };\r\n\r\n return isLoading ? disabledLoading : basePrimary;\r\n },\r\n secondary: props => {\r\n const { isLoading } = props;\r\n\r\n const baseSecondary = {\r\n color: 'primary.500',\r\n borderWidth: 1,\r\n borderStyle: 'inside',\r\n bg: 'white.high',\r\n borderColor: 'primary.500',\r\n _hover: {\r\n bg: 'primary.50',\r\n },\r\n _active: {\r\n bg: 'primary.100',\r\n },\r\n _disabled: {\r\n border: 0,\r\n },\r\n };\r\n\r\n const disabledLoading = {\r\n ...baseSecondary,\r\n _disabled: {\r\n bg: 'white.high',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'white.high',\r\n },\r\n },\r\n };\r\n\r\n return isLoading ? disabledLoading : baseSecondary;\r\n },\r\n\r\n tertiary: props => {\r\n const { isLoading } = props;\r\n\r\n const baseTertiary = {\r\n color: 'primary.500',\r\n _hover: {\r\n bg: 'primary.50',\r\n },\r\n _active: {\r\n bg: 'primary.100',\r\n },\r\n };\r\n\r\n const disabledLoading = {\r\n ...baseTertiary,\r\n _disabled: {\r\n bg: 'transparent',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'transparent',\r\n },\r\n },\r\n };\r\n\r\n return isLoading ? disabledLoading : baseTertiary;\r\n },\r\n\r\n danger: props => {\r\n const { isLoading } = props;\r\n\r\n const baseDanger = {\r\n bg: 'danger.500',\r\n color: 'white.high',\r\n _hover: {\r\n bg: 'danger.600',\r\n },\r\n _active: {\r\n bg: 'danger.700',\r\n },\r\n };\r\n\r\n const disabledLoading = {\r\n ...baseDanger,\r\n _disabled: {\r\n bg: 'danger.500',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'danger.500',\r\n },\r\n },\r\n };\r\n\r\n return isLoading ? disabledLoading : baseDanger;\r\n },\r\n\r\n 'outline-danger': props => {\r\n const { isLoading } = props;\r\n\r\n const baseSecondary = {\r\n color: 'danger.500',\r\n borderWidth: 1,\r\n borderStyle: 'inside',\r\n bg: 'white.high',\r\n borderColor: 'danger.500',\r\n _hover: {\r\n bg: 'danger.50',\r\n },\r\n _active: {\r\n bg: 'danger.100',\r\n },\r\n _disabled: {\r\n border: 0,\r\n },\r\n };\r\n\r\n const disabledLoading = {\r\n ...baseSecondary,\r\n _disabled: {\r\n bg: 'white.high',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'white.high',\r\n },\r\n },\r\n };\r\n\r\n return isLoading ? disabledLoading : baseSecondary;\r\n },\r\n\r\n link: {\r\n bg: 'transparent',\r\n color: 'primary.500',\r\n _disabled: {\r\n opacity: '1',\r\n bg: 'transparent',\r\n color: 'black.medium',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'transparent',\r\n color: 'black.medium',\r\n },\r\n },\r\n },\r\n\r\n icon: {\r\n bg: 'neutral.50',\r\n minW: 0,\r\n borderColor: 'neutral.200',\r\n borderWidth: '1px',\r\n\r\n _active: {\r\n bg: 'neutral.500',\r\n borderColor: 'neutral.50',\r\n },\r\n _disabled: {\r\n bg: 'neutral.500',\r\n opacity: 0.3,\r\n borderColor: 'neutral.50',\r\n },\r\n _hover: {\r\n bg: 'neutral.400',\r\n _disabled: {\r\n bg: 'neutral.500',\r\n opacity: 0.3,\r\n borderColor: 'neutral.50',\r\n },\r\n },\r\n },\r\n },\r\n\r\n defaultProps: {\r\n size: 'md',\r\n variant: 'primary',\r\n colorScheme: 'primary',\r\n },\r\n});\r\n\r\nexport default Button;\r\n","import { defineStyleConfig } from '@chakra-ui/styled-system';\n\nconst CardStyle = defineStyleConfig({\n baseStyle: props => {\n return {\n shadow: props.withShadow ? 'raised' : 'none',\n borderRadius: props.isRounded ? 'sm' : 'none',\n };\n },\n});\n\nexport default CardStyle;\n","import { checkboxAnatomy } from '@chakra-ui/anatomy';\r\nimport { createMultiStyleConfigHelpers } from '@chakra-ui/react';\r\n\r\nconst { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(checkboxAnatomy.keys);\r\n\r\nconst baseStyle = definePartsStyle({\r\n control: {\r\n borderRadius: 'sm',\r\n w: 4,\r\n h: 4,\r\n border: '1px solid',\r\n },\r\n icon: {\r\n color: 'neutral.50',\r\n },\r\n label: {\r\n textStyle: 'text.sm',\r\n color: 'black.high',\r\n ml: 2,\r\n },\r\n _disabled: {\r\n background: 'neutral.200',\r\n border: '0',\r\n borderColor: 'neutral.500',\r\n cursor: 'not-allowed',\r\n },\r\n});\r\n\r\nconst errors = definePartsStyle({\r\n control: {\r\n borderColor: 'danger.500',\r\n _checked: {\r\n borderColor: 'danger.500',\r\n backgroundColor: 'danger.500',\r\n _hover: {\r\n borderColor: 'danger.600',\r\n backgroundColor: 'danger.600',\r\n },\r\n },\r\n _indeterminate: {\r\n borderColor: 'danger.500',\r\n backgroundColor: 'danger.500',\r\n },\r\n },\r\n label: {\r\n textStyle: 'text.xs',\r\n },\r\n icon: {\r\n fontSize: '8px',\r\n },\r\n});\r\n\r\nconst unstyled = definePartsStyle({\r\n control: {\r\n borderColor: 'neutral.600',\r\n _checked: {\r\n borderColor: 'primary.500',\r\n backgroundColor: 'primary.500',\r\n _hover: {\r\n borderColor: 'primary.600',\r\n backgroundColor: 'primary.600',\r\n },\r\n _disabled: {\r\n backgroundColor: 'primary.500',\r\n borderColor: 'primary.500',\r\n opacity: 0.3,\r\n },\r\n },\r\n _disabled: {\r\n backgroundColor: 'neutral.200',\r\n borderColor: 'neutral.200',\r\n },\r\n _indeterminate: {\r\n borderColor: 'primary.500',\r\n backgroundColor: 'primary.500',\r\n _disabled: {\r\n backgroundColor: 'primary.500',\r\n borderColor: 'primary.500',\r\n opacity: 0.3,\r\n },\r\n },\r\n },\r\n label: {\r\n textStyle: 'text.xs',\r\n _disabled: {\r\n opacity: 1,\r\n },\r\n },\r\n icon: {\r\n fontSize: '8px',\r\n },\r\n});\r\n\r\nconst variants = {\r\n errors,\r\n unstyled,\r\n};\r\n\r\nconst Checkbox = defineMultiStyleConfig({\r\n baseStyle,\r\n variants,\r\n defaultProps: {\r\n variant: 'unstyled',\r\n },\r\n});\r\n\r\nexport default Checkbox;\r\n","import { defineStyleConfig } from '@chakra-ui/styled-system';\n\nconst Chips = defineStyleConfig({\n baseStyle: props => {\n const { isDisabled, isActive } = props;\n\n const defaultProps = {\n color: 'primary.500',\n textStyle: 'text.sm',\n borderRadius: '2xl',\n borderWidth: '1px',\n borderColor: 'primary.500',\n bg: 'white.high',\n px: 3,\n py: 1,\n cursor: 'default',\n _hover: {\n bg: 'primary.50',\n },\n };\n\n let chipsProps = { ...defaultProps };\n\n if (isActive) {\n const isActiveProps = {\n bg: 'primary.500',\n color: 'white.high',\n _hover: {\n bg: 'primary.500',\n },\n };\n chipsProps = { ...chipsProps, ...isActiveProps };\n }\n\n if (isDisabled) {\n const isDisabledProps = {\n bg: 'neutral.200',\n color: 'black.low',\n borderColor: 'neutral.200',\n cursor: 'not-allowed',\n };\n chipsProps = { ...chipsProps, ...isDisabledProps };\n }\n\n return {\n ...chipsProps,\n };\n },\n sizes: {\n sm: {\n textStyle: 'text.sm',\n },\n md: {\n textStyle: 'text.md',\n py: 2,\n },\n },\n defaultProps: {\n size: 'sm',\n },\n});\n\nexport default Chips;\n","import { defineStyle, defineStyleConfig } from '@chakra-ui/styled-system';\r\n\r\nconst baseStyle = defineStyle({\r\n fontSize: 'field.sm',\r\n fontWeight: 'normal',\r\n marginEnd: 1,\r\n mb: 1,\r\n});\r\n\r\nconst FormLabel = defineStyleConfig({\r\n baseStyle,\r\n});\r\n\r\nexport default FormLabel;\r\n","import { inputAnatomy as parts } from '@chakra-ui/anatomy';\r\nimport { createMultiStyleConfigHelpers, defineStyle } from '@chakra-ui/styled-system';\r\nimport { mode } from '@chakra-ui/theme-tools';\r\n\r\nconst { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(parts.keys);\r\n\r\nconst baseStyle = definePartsStyle({\r\n field: {\r\n width: '100%',\r\n minWidth: 0,\r\n outline: 0,\r\n px: 2,\r\n py: 2.5,\r\n paddingInlineStart: 2,\r\n paddingInlineEnd: 2,\r\n position: 'relative',\r\n appearance: 'none',\r\n color: 'black.high',\r\n _disabled: {\r\n bg: 'neutral.300',\r\n border: 0,\r\n cursor: 'not-allowed',\r\n opacity: 1,\r\n boxShadow: 'none',\r\n color: 'black.medium',\r\n },\r\n _placeholder: {\r\n color: 'black.low',\r\n },\r\n },\r\n});\r\n\r\nconst size = {\r\n lg: defineStyle({\r\n fontSize: 'text.lg',\r\n h: 12,\r\n borderRadius: 'sm',\r\n }),\r\n md: defineStyle({\r\n fontSize: 'text.md',\r\n h: 10,\r\n borderRadius: 'sm',\r\n }),\r\n sm: defineStyle({\r\n fontSize: 'text.sm',\r\n h: 9,\r\n borderRadius: 'sm',\r\n }),\r\n};\r\n\r\nconst sizes = {\r\n lg: definePartsStyle({\r\n field: size.lg,\r\n addon: size.lg,\r\n }),\r\n md: definePartsStyle({\r\n field: size.md,\r\n addon: size.md,\r\n }),\r\n sm: definePartsStyle({\r\n field: size.sm,\r\n addon: size.sm,\r\n }),\r\n};\r\n\r\nconst outline = definePartsStyle(props => {\r\n const field = {\r\n border: 0,\r\n outline: 0,\r\n bg: mode('white', 'inherit')(props),\r\n color: mode('inherit', 'white')(props),\r\n _invalid: {\r\n boxShadow: 'none',\r\n },\r\n _focusVisible: {\r\n zIndex: 1,\r\n boxShadow: 'none',\r\n },\r\n };\r\n\r\n return {\r\n field,\r\n };\r\n});\r\n\r\nconst unstyled = definePartsStyle({\r\n field: {\r\n bg: 'transparent',\r\n px: '0',\r\n height: 'auto',\r\n },\r\n addon: {\r\n bg: 'transparent',\r\n px: '0',\r\n height: 'auto',\r\n },\r\n});\r\n\r\nconst variants = {\r\n outline,\r\n unstyled,\r\n};\r\n\r\nconst Input = defineMultiStyleConfig({\r\n baseStyle,\r\n sizes,\r\n variants,\r\n defaultProps: {\r\n size: 'sm',\r\n variant: 'outline',\r\n },\r\n});\r\n\r\nexport default Input;\r\n","/* eslint-disable prefer-destructuring */\nimport { defineStyleConfig } from '@chakra-ui/styled-system';\nimport { keyframes } from '@emotion/react';\n\nconst rotate = keyframes({\n '0%': {\n transform: 'rotate(0deg)',\n },\n '100%': {\n transform: 'rotate(360deg)',\n },\n});\n\nconst getLoaderColor = (color: string) => {\n const colorValue = color.split('.');\n let backgroundColor: string;\n\n switch (colorValue.length) {\n case 1:\n backgroundColor = colorValue[0];\n break;\n case 2:\n backgroundColor = `var(--chakra-colors-${colorValue[0]}-${colorValue[1]})`;\n break;\n default:\n backgroundColor = 'var(--chakra-colors-white-high)';\n break;\n }\n\n if (color === 'primary') return 'var(--chakra-colors-primary-600)';\n if (color === 'danger') return 'var(--chakra-colors-danger-500)';\n if (color === 'warning') return 'var(--chakra-colors-warning-700)';\n return backgroundColor;\n};\n\nconst LoaderStyle = defineStyleConfig({\n baseStyle: props => {\n const colors = getLoaderColor(props.color);\n return {\n borderRadius: '50%',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n animation: `${rotate} 1s linear infinite`,\n background: `conic-gradient(from 180deg at 50% 50%, ${colors} 0deg, rgba(217, 217, 217, 0) 360deg);`,\n ':before': {\n content: `''`,\n display: 'block',\n borderRadius: '50%',\n width: '6px',\n height: '6px',\n position: 'absolute',\n bottom: 0,\n background: colors,\n },\n };\n },\n sizes: {\n xs: {\n width: '12px',\n height: '12px',\n WebkitMask: 'radial-gradient(farthest-side,#0000 calc(100% - 1.4px),#000 0);',\n ':before': {\n width: '1.4px',\n height: '1.4px',\n },\n },\n sm: {\n width: '16px',\n height: '16px',\n WebkitMask: 'radial-gradient(farthest-side,#0000 calc(100% - 1.87px),#000 0);',\n ':before': {\n width: '1.87px',\n height: '1.87px',\n },\n },\n md: {\n width: '24px',\n height: '24px',\n WebkitMask: 'radial-gradient(farthest-side,#0000 calc(100% - 2.8px),#000 0);',\n ':before': {\n width: '2.8px',\n height: '2.8px',\n },\n },\n lg: {\n width: '50px',\n height: '50px',\n WebkitMask: 'radial-gradient(farthest-side,#0000 calc(100% - 5.83px),#000 0);',\n ':before': {\n width: '5.83px',\n height: '5.83px',\n },\n },\n xl: {\n width: '75px',\n height: '75px',\n WebkitMask: 'radial-gradient(farthest-side,#0000 calc(100% - 8.75px),#000 0);',\n ':before': {\n width: '8.75px',\n height: '8.75px',\n },\n },\n xxl: {\n width: '100px',\n height: '100px',\n WebkitMask: `radial-gradient(farthest-side,#0000 calc(100% - 11.67px),#000 0);`,\n ':before': {\n width: '11.67px',\n height: '11.67px',\n },\n },\n },\n defaultProps: {\n size: 'lg',\n },\n});\n\nexport default LoaderStyle;\n","import { popoverAnatomy as parts } from '@chakra-ui/anatomy';\nimport { createMultiStyleConfigHelpers } from '@chakra-ui/styled-system';\nimport type { ComponentStyleConfig } from '@chakra-ui/theme';\nimport { mode } from '@chakra-ui/theme-tools';\n\nconst { definePartsStyle } = createMultiStyleConfigHelpers(parts.keys);\n\nconst Popover: ComponentStyleConfig = {\n baseStyle: props =>\n definePartsStyle({\n popper: {\n background: mode('white', 'inherit')(props),\n },\n }),\n};\n\nexport default Popover;\n","import { radioAnatomy } from '@chakra-ui/anatomy';\nimport { createMultiStyleConfigHelpers } from '@chakra-ui/react';\n\nconst { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(radioAnatomy.keys);\n\nconst baseStyle = definePartsStyle({\n control: {\n border: '1px solid',\n width: '16px',\n height: '16px',\n },\n label: {\n marginLeft: '8px',\n textStyle: 'text.sm',\n color: 'black.high',\n _disabled: {\n opacity: 1,\n color: 'black.medium',\n },\n },\n});\n\nconst errors = definePartsStyle({\n control: {\n borderColor: 'danger.500',\n _checked: {\n borderColor: 'danger.500',\n bg: 'white',\n _before: {\n h: '10px',\n w: '10px',\n bg: 'danger.500',\n },\n _hover: {\n borderColor: 'danger.500',\n bg: 'neutral.200',\n },\n _disabled: {\n borderColor: 'danger.500',\n bg: 'white.high',\n _before: {\n h: '10px',\n w: '10px',\n bg: 'primary.500',\n opacity: 0.3,\n },\n },\n },\n _disabled: {\n borderColor: 'danger.500',\n bg: 'neutral.200',\n },\n },\n label: {\n fontSize: '12px',\n },\n});\n\nconst unstyled = definePartsStyle({\n control: {\n borderColor: 'neutral.600',\n _checked: {\n borderColor: 'primary.500',\n bg: 'white',\n _before: {\n h: '10px',\n w: '10px',\n bg: 'primary.500',\n },\n _hover: {\n borderColor: 'primary.500',\n bg: 'gray.200',\n },\n _disabled: {\n borderColor: 'primary.500',\n bg: 'white.high',\n opacity: 0.3,\n _before: {\n h: '10px',\n w: '10px',\n bg: 'primary.500',\n },\n },\n },\n _disabled: {\n borderColor: 'neutral.200',\n bg: 'neutral.200',\n },\n },\n label: {\n fontSize: '12px',\n },\n});\n\nconst variants = {\n errors,\n unstyled,\n};\n\nconst Radio = defineMultiStyleConfig({\n baseStyle,\n variants,\n defaultProps: {\n variant: 'unstyled',\n },\n});\n\nexport default Radio;\n","import { switchAnatomy as parts } from '@chakra-ui/anatomy';\nimport { createMultiStyleConfigHelpers, defineStyle } from '@chakra-ui/styled-system';\nimport { calc, cssVar } from '@chakra-ui/theme-tools';\n\nconst { defineMultiStyleConfig, definePartsStyle } = createMultiStyleConfigHelpers(parts.keys);\n\nconst $width = cssVar('switch-track-width');\nconst $height = cssVar('switch-track-height');\nconst $diff = cssVar('switch-track-diff');\nconst diffValue = calc.subtract($width, $height);\nconst $translateX = cssVar('switch-thumb-x');\n\nconst baseStyleThumb = defineStyle({\n bg: 'white',\n transitionProperty: 'transform',\n transitionDuration: 'normal',\n borderRadius: 'inherit',\n width: [$height.reference],\n height: [$height.reference],\n _checked: {\n transform: `translateX(${$translateX.reference})`,\n },\n});\n\nconst baseStyle = definePartsStyle(() => ({\n container: {\n [$diff.variable]: diffValue,\n [$translateX.variable]: $diff.reference,\n _rtl: {\n [$translateX.variable]: calc($diff).negate().toString(),\n },\n },\n track: {\n bg: 'neutral.400',\n p: 1,\n _checked: {\n bg: 'primary.500',\n _disabled: {\n bg: 'neutral.600',\n },\n },\n _disabled: {\n bg: 'neutral.500',\n opacity: '100%',\n },\n },\n thumb: baseStyleThumb,\n}));\n\nconst sizes = {\n sm: definePartsStyle({\n container: {\n [$width.variable]: '2.125rem',\n [$height.variable]: '1.063rem',\n },\n }),\n md: definePartsStyle({\n container: {\n [$width.variable]: '2.875rem',\n [$height.variable]: '1.5rem',\n },\n }),\n lg: definePartsStyle({\n container: {\n [$width.variable]: '3.625rem',\n [$height.variable]: '1.813rem',\n },\n }),\n};\n\nconst Switch = defineMultiStyleConfig({\n baseStyle,\n sizes,\n defaultProps: {\n size: 'md',\n },\n});\n\nexport default Switch;\n","import { tableAnatomy as parts } from '@chakra-ui/anatomy';\nimport { createMultiStyleConfigHelpers, defineStyle } from '@chakra-ui/styled-system';\nimport { mode } from '@chakra-ui/theme-tools';\n\nconst { defineMultiStyleConfig, definePartsStyle } = createMultiStyleConfigHelpers(parts.keys);\n\nconst baseStyle = definePartsStyle({\n table: {\n fontVariantNumeric: 'lining-nums tabular-nums',\n borderCollapse: 'collapse',\n width: 'full',\n },\n th: {\n fontFamily: 'heading',\n fontWeight: 'semibold',\n textTransform: 'uppercase',\n letterSpacing: 'normal',\n textAlign: 'start',\n height: '50px',\n color: mode('neutral.900', 'white'),\n fontSize: 'text.sm',\n lineHeight: '18px',\n },\n td: {\n textAlign: 'start',\n height: '56px',\n },\n caption: {\n mt: 4,\n fontFamily: 'heading',\n textAlign: 'center',\n fontWeight: 'medium',\n },\n});\n\nconst numericStyles = defineStyle({\n '&[data-is-numeric=true]': {\n textAlign: 'end',\n },\n});\n\nconst variantSimple = definePartsStyle(props => {\n const { colorScheme: c } = props;\n\n return {\n th: {\n color: mode('gray.600', 'gray.400')(props),\n borderBottom: '1px',\n borderColor: mode(`${c}.100`, `${c}.700`)(props),\n ...numericStyles,\n },\n td: {\n borderBottom: '1px',\n borderColor: mode(`${c}.100`, `${c}.700`)(props),\n ...numericStyles,\n },\n caption: {\n color: mode('gray.600', 'gray.100')(props),\n },\n tfoot: {\n tr: {\n '&:last-of-type': {\n th: { borderBottomWidth: 0 },\n },\n },\n },\n };\n});\n\nconst variantStripe = definePartsStyle(props => {\n const { colorScheme: c } = props;\n\n return {\n th: {\n color: mode('gray.600', 'gray.400')(props),\n borderBottom: '1px',\n borderColor: mode(`${c}.100`, `${c}.700`)(props),\n ...numericStyles,\n },\n td: {\n borderBottom: '1px',\n borderColor: mode(`${c}.100`, `${c}.700`)(props),\n ...numericStyles,\n },\n caption: {\n color: mode('gray.600', 'gray.100')(props),\n },\n tbody: {\n tr: {\n '&:nth-of-type(odd)': {\n 'th, td': {\n borderBottomWidth: '1px',\n borderColor: mode(`${c}.100`, `${c}.700`)(props),\n },\n td: {\n background: mode(`${c}.100`, `${c}.700`)(props),\n },\n },\n },\n },\n tfoot: {\n tr: {\n '&:last-of-type': {\n th: { borderBottomWidth: 0 },\n },\n },\n },\n };\n});\n\nconst variants = {\n simple: variantSimple,\n striped: variantStripe,\n unstyled: defineStyle({}),\n};\n\nconst sizes = {\n sm: definePartsStyle({\n th: {\n px: '4',\n py: '1',\n lineHeight: '4',\n fontSize: 'xs',\n },\n td: {\n px: '4',\n py: '2',\n fontSize: 'sm',\n lineHeight: '4',\n },\n caption: {\n px: '4',\n py: '2',\n fontSize: 'xs',\n },\n }),\n md: definePartsStyle({\n th: {\n px: '2',\n py: '4',\n lineHeight: '4',\n fontSize: 'xs',\n '&:first-of-type': {\n pl: 6,\n },\n '&:last-of-type': {\n pr: 6,\n },\n },\n td: {\n px: '2',\n py: '4',\n lineHeight: '5',\n '&:first-of-type': {\n pl: 6,\n },\n '&:last-of-type': {\n pr: 6,\n },\n },\n caption: {\n px: '6',\n py: '2',\n fontSize: 'sm',\n },\n }),\n lg: definePartsStyle({\n th: {\n px: '8',\n py: '4',\n lineHeight: '5',\n fontSize: 'sm',\n },\n td: {\n px: '8',\n py: '5',\n lineHeight: '6',\n },\n caption: {\n px: '6',\n py: '2',\n fontSize: 'md',\n },\n }),\n};\n\nconst tableTheme = defineMultiStyleConfig({\n baseStyle,\n variants,\n sizes,\n defaultProps: {\n variant: 'simple',\n size: 'md',\n colorScheme: 'gray',\n },\n});\nexport default tableTheme;\n","import { defineStyle, defineStyleConfig } from '@chakra-ui/react';\nimport type { TextAreaProps } from 'packages/internal-ui/src/components/form';\n\nconst getProps = (props: TextAreaProps) => {\n const { isError, isSuccess, isDisabled } = props;\n\n let borderColor = 'neutral.400';\n let focusBorderColor = 'primary.500';\n\n if (isError) {\n borderColor = 'danger.500';\n focusBorderColor = 'danger.500';\n } else if (isSuccess) {\n borderColor = 'success.500';\n focusBorderColor = 'success.500';\n } else if (isDisabled && !isError && !isSuccess) {\n borderColor = 'neutral.400';\n focusBorderColor = 'danger.500';\n }\n\n return {\n focusBorderColor,\n borderColor,\n };\n};\n\nconst outline = defineStyle(props => {\n const { focusBorderColor, borderColor } = getProps(props);\n\n return {\n background: 'white.high',\n color: 'black.high',\n borderColor,\n fontSize: 'text.sm',\n padding: 2,\n borderRadius: 'sm',\n borderWidth: '1px',\n outline: 'none',\n\n _disabled: {\n opacity: 1,\n color: 'black.medium',\n background: 'neutral.300',\n },\n _placeholder: {\n color: 'black.low',\n },\n _hover: {\n borderColor,\n },\n _focus: {\n outline: 'none',\n borderColor: focusBorderColor,\n boxShadow: 'none',\n },\n _focusVisible: {\n outline: 'none',\n borderColor: focusBorderColor,\n boxShadow: 'none',\n },\n _focusWithin: {\n outline: 'none',\n borderColor: focusBorderColor,\n boxShadow: 'none',\n },\n _invalid: {\n outline: 'none',\n borderColor: 'danger.500',\n boxShadow: 'none',\n },\n };\n});\n\nexport const Textarea = defineStyleConfig({\n variants: { outline },\n defaultProps: {\n variant: 'outline',\n },\n});\n\nexport default Textarea;\n","import type { ThemeConfig, ThemeOverride } from '@chakra-ui/react';\nimport { extendTheme } from '@chakra-ui/react';\n\nimport * as components from './components';\n\nconst config: ThemeConfig = {\n initialColorMode: 'light',\n useSystemColorMode: false,\n};\n\nexport const getTheme = (foundations: Record<string, any>) => {\n return extendTheme({\n ...foundations,\n components: {\n ...components,\n },\n styles: {\n global: {\n '*::-webkit-scrollbar-thumb': {\n background: 'neutral.400',\n },\n body: {\n fontSize: 'text.sm',\n color: 'black.high',\n },\n },\n },\n config,\n });\n};\n\nconst theme = extendTheme(<ThemeOverride>{\n components: {\n ...components,\n },\n styles: {\n global: {\n '*::-webkit-scrollbar-thumb': {\n background: 'neutral.400',\n },\n body: {\n fontSize: 'text.sm',\n color: 'black.high',\n },\n },\n },\n config,\n});\n\ntype Theme = typeof theme;\n\nexport type { Theme };\nexport { theme };\nexport { ThemeTypings } from '@chakra-ui/styled-system';\n","import axios from 'axios';\nimport type { FC } from 'react';\nimport React, { createContext, useContext, useEffect, useMemo, useRef } from 'react';\n\nimport type { ProviderContextObject, ProviderProps } from '../types';\n\nexport const ProviderContext = createContext<ProviderContextObject>({\n instance: undefined,\n});\n\nexport const useInternalUI = (): ProviderContextObject => {\n const { instance } = useContext(ProviderContext);\n return { instance };\n};\n\nconst Provider: FC<ProviderProps> = ({ children, config, requestInterceptors, responseInterceptors }) => {\n const instanceRef = useRef(axios.create(config));\n\n useEffect(() => {\n requestInterceptors?.forEach(interceptor => {\n instanceRef.current.interceptors.request.use(interceptor);\n });\n responseInterceptors?.forEach(interceptor => {\n instanceRef.current.interceptors.response.use(interceptor);\n });\n }, [requestInterceptors, responseInterceptors]);\n\n const provider = useMemo(() => ({ instance: instanceRef.current }), []);\n\n return <ProviderContext.Provider value={provider}>{children}</ProviderContext.Provider>;\n};\n\nProvider.displayName = 'Provider';\n\nexport default Provider;\n","import type { AxiosRequestConfig } from 'axios';\nimport axios from 'axios';\nimport { useMemo } from 'react';\n\nimport { useInternalUI } from '../provider';\n\nexport default function useFetcher() {\n const { instance } = useInternalUI();\n const axiosInstance = useMemo(() => instance || axios, [instance]);\n\n const fetcher = async <TResponse = unknown>({ url, data, method, headers, ...config }: AxiosRequestConfig) => {\n const response = await axiosInstance.request<TResponse>({\n data,\n url,\n method,\n headers: {\n 'Content-Type': 'application/json; charset=utf-8',\n ...headers,\n },\n ...config,\n });\n return response;\n };\n\n return {\n fetcher,\n };\n}\n"],"names":["CheckIcon","React","CheckCircle","color","size","InfoIcon","Info","WarningIcon","AlertTriangle","AlertProvider","useAlertContext","createContext","name","hookName","providerName","AlertStylesProvider","useAlertStyles","STATUSES","info","icon","colorScheme","warning","success","error","neutral","getStatusColorScheme","status","getStatusIcon","Alert","forwardRef","props","ref","addRole","children","rest","omitThemingProps","_props$colorScheme","styles","useMultiStyleConfig","alertStyles","width","display","gridTemplateColumns","alignItems","position","overflow","container","value","chakra","div","role","undefined","className","cx","__css","displayName","Loader","useStyleConfig","Box","Button","variant","getLoaderSize","getLoaderColor","ButtonChakra","spinner","AlertAction","css","action","fontWeight","AlertClose","close","span","Close","AlertDescription","descriptionStyles","description","AlertIcon","BaseIcon","AlertTitle","title","Badge","pill","BadgeChakra","borderRadius","px","h","justifyContent","textTransform","defaultProps","BreadCrumb","parents","disableHome","spacing","backButton","neutral600","primary500","useToken","paddingY","mr","onClick","FiChevronLeft","theme","sizes","Text","pr","textStyle","borderLeft","borderColor","Breadcrumb","separator","FiChevronsRight","pl","sx","ol","BreadcrumbItem","BreadcrumbLink","href","style","cursor","FiHome","map","val","key","disable","link","_hover","textDecoration","textDecor","CardCustom","Card","backgroundColor","withShadow","isRounded","CheckboxComponent","isError","helpText","errorText","boxProps","isDisabled","Checkbox","as","mt","ml","Field","label","errorMessage","leftHelperText","rightHelperText","isRequired","isSuccess","getHelperColor","getJustifyContentHelper","helperColor","justifyHelper","FormControl","isInvalid","FormLabel","mb","fontSize","requiredIndicator","FormHelperText","FormErrorMessage","CheckboxGroupComponent","CheckboxGroup","Stack","direction","Chips","isActive","onClose","closeColor","useMemo","DataTable","columns","dataSource","isLoading","withSelectedRow","onSelectedRow","onSort","sortDescFirst","sortingState","headerSticky","manualSorting","onRowClick","isFirstLoad","setIsFirstLoad","sorting","setSorting","rowSelection","onRowSelectionChange","dataColumns","checkboxColumn","id","header","table","isChecked","getIsAllRowsSelected","isIndeterminate","getIsSomeRowsSelected","onChange","getToggleAllRowsSelectedHandler","cell","row","index","getIsSelected","getIsSomeSelected","getToggleSelectedHandler","generateColumn","onSortingChange","data","useReactTable","getCoreRowModel","getSortedRowModel","manualPagination","state","getSelectedRowModel","toggleAllRowsSelected","flatRows","rowData","original","Flex","w","pos","bg","align","justify","zIndex","Spinner","thickness","Table","Thead","top","getHeaderGroups","headerGroup","Tr","useColorModeValue","tableRow","headers","_ref","Th","colSpan","tableColumnHeader","userSelect","gap","flexRender","column","columnDef","getContext","getCanSort","getToggleSortingHandler","asc","ChevronUpIcon","desc","ChevronDownIcon","getIsSorted","UpDownIcon","Tbody","tableBody","getRowModel","rows","getVisibleCells","Td","tableCell","overflowX","maxW","minH","getProperties","outlineColor","focusColor","getWrapperStyle","border","transition","boxShadow","_focusWithin","defineStyle","Styles","colorMode","useColorMode","Global","TimeInput","rightAddon","time","setTime","useState","handleChange","e","_e$target","target","_e$target2","flexDir","p","pt","InputGroup","Input","type","InputRightAddon","Datepicker","helperText","withTime","onClear","showMonth","shortMonth","selected","Date","dateFormat","_props$dateFormat","wrapperStyle","getTimeProps","timeInputLabel","showTimeInput","customTimeInput","component","ReactDatePicker","customInput","autoComplete","showPopperArrow","calendarClassName","classnames","inline","showMonthDropdown","useShortMonthInDropdown","InputRightElement","FiCalendar","FiX","selectsRange","DatePickerMonth","min","max","date","setDate","lineHeight","required","MultiDateWrapper","styled","MultiDatePickerMonth","InputAddonLeft","InputLeftAddon","py","marginInlineEnd","InputAddonRight","marginInlineStart","InputField","addOnLeft","addOnRight","withClear","inputProps","isShowPassword","setIsShowPassword","inputType","iconColor","ChakraInput","EyeOff","Eye","TextareaField","ChakraTextarea","right","Logo","url","imageUrl","height","Image","maxH","src","alt","Profile","brandColor","onLogout","isOpen","onToggle","useDisclosure","Popover","placement","minW","m","HStack","VStack","email","userRole","mx","office","length","PopoverTrigger","Avatar","_data$name","PopoverContent","PopoverArrow","PopoverBody","FiPower","SwitchMode","toggleColorMode","FiMoon","FiSun","environmentName","env","Version","hideEnv","version","environment","onOpenModalRelease","background","Header","hideSwitchMode","mainLogo","centerLogo","mainLogoSize","centerLogoSize","urlLogo","shadow","left","transform","ModalBody","ChakraModalBody","ModalCloseButton","ChakraModalCloseButton","ModalFooter","ChakraModalFooter","borderBottomRadius","ModalHeader","ChakraModalHeader","borderTopRadius","CustomerIcon","createIcon","viewBox","path","fill","fillRule","d","clipRule","mappingIcon","Map","FiShoppingBag","FiShoppingCart","FiRepeat","FiBox","FiLayers","FiDollarSign","FiUsers","FiRotateCcw","FiSettings","FiLayout","FiGift","Navigation","navigations","activePath","host","navigation","startsWith","navLink","activeBg","trigger","Icon","get","whiteSpace","Portal","navHost","isLocalLink","isActiveSub","Link","_first","_last","NavigationBar","isFetched","pathname","asPath","urlMenu","subMenu","window","location","hostname","hidden","backgroundRepeat","rounded","flexWrap","item","childMenu","filter","includes","_childMenu$","isLazy","openDelay","closeDelay","leftIcon","rightIcon","PaginationButton","btnBg","btnColor","btnNotActiveBg","btnNotActiveColor","_disabled","pointerEvents","PaginationButtonTrigger","visuallyHidden","VisuallyHidden","Pagination","current","total","onSelect","btnColorDisabled","disabledPrevious","previousButtonColor","disabledNext","nextButtonColor","handleSelectPage","page","generatePages","maxButtons","pageButtons","startPage","endPage","Math","floor","push","ArrowLeftIcon","ChevronLeftIcon","scale","ChevronRightIcon","ArrowRightIcon","PaginationDetail","limit","PaginationFilter","items","setValue","flexDirection","Select","textAlign","outline","FiChevronDown","_focusVisible","numberValue","Number","RadioComponent","Radio","RadioGroupComponent","RadioGroup","Rating","Grid","Array","_","i","RatingIcon","SelectWrapper","fontWeights","hairline","thin","light","normal","medium","semibold","bold","extrabold","black","lineHeights","none","shorter","short","base","tall","letterSpacings","tighter","tight","wide","wider","widest","fontSizes","heading","text","xl","lg","md","sm","xs","button","field","letterSpacing","textStyles","styleMd","selectStyle","selectStyles","_isError","boxShadowLight","isFocused","control","borderWidth","option","isSelected","menu","singleValue","input","dropdownIndicator","indicatorSeparator","placeholder","themeSelect","colors","primary","primary25","primary50","primary75","ReactSelect","classNamePrefix","SelectAsync","AsyncPaginate","SelectAsyncCreatable","ReactSelectAsyncCreatable","SelectCreatable","ReactSelectCreatable","Switch","ownProps","getInputProps","getCheckboxProps","getRootProps","getLabelProps","useCheckbox","containerStyles","verticalAlign","trackStyles","flexShrink","boxSizing","track","labelStyles","marginStart","getIconSize","iconSize","Check","thumb","dataAttr","isHovered","Tab","tabProps","useTab","_selected","_focus","tab","leftAddon","_props$leftAddon","call","_props$rightAddon","TabList","ChakraTabList","borderBottom","TabPanel","ChakraTabPanel","messages","dragActive","dragInActive","dragReplace","replaceFile","uploadFile","Uploader","onHandleUploadFile","onHandleRejections","accept","multiple","maxFiles","renderError","validator","selectedFirstFile","setSelectedFirstFile","setIsSelected","onDrop","acceptedFiles","isDragActive","fileRejections","useDropzone","Heading","definePartsStyle","defineMultiStyleConfig","createMultiStyleConfigHelpers","parts","keys","$fg","cssVar","$ac","$bg","baseStyle","reference","marginEnd","getBg","c","variantLight","variable","variantSolid","variants","solid","alertTheme","defineStyleConfig","opacity","basePrimary","_active","disabledLoading","secondary","baseSecondary","borderStyle","tertiary","baseTertiary","danger","baseDanger","CardStyle","checkboxAnatomy","errors","_checked","_indeterminate","unstyled","chipsProps","isActiveProps","isDisabledProps","minWidth","paddingInlineStart","paddingInlineEnd","appearance","_placeholder","addon","mode","_invalid","rotate","keyframes","colorValue","split","LoaderStyle","animation","content","bottom","WebkitMask","xxl","popper","radioAnatomy","marginLeft","_before","$width","$height","$diff","diffValue","calc","subtract","$translateX","baseStyleThumb","transitionProperty","transitionDuration","_rtl","negate","toString","fontVariantNumeric","borderCollapse","th","fontFamily","td","caption","numericStyles","variantSimple","tfoot","tr","borderBottomWidth","variantStripe","tbody","simple","striped","tableTheme","getProps","focusBorderColor","padding","Textarea","config","initialColorMode","useSystemColorMode","getTheme","foundations","extendTheme","components","global","body","ProviderContext","instance","useInternalUI","useContext","Provider","requestInterceptors","responseInterceptors","instanceRef","useRef","axios","create","useEffect","forEach","interceptor","interceptors","request","use","response","provider","useFetcher","axiosInstance","fetcher","method"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;SAIgBA,SAASA;EACvB,oBAAOC,6BAACC,gBAAW;IAACC,KAAK,EAAC,SAAS;IAACC,IAAI,EAAE;IAAK;AACjD;SAEgBC,QAAQA;EACtB,oBAAOJ,6BAACK,SAAI;IAACH,KAAK,EAAC,SAAS;IAACC,IAAI,EAAE;IAAK;AAC1C;SAEgBG,WAAWA;EACzB,oBAAON,6BAACO,kBAAa;IAACL,KAAK,EAAC,SAAS;IAACC,IAAI,EAAE;IAAK;AACnD;;ACTO,MAAM,CAACK,aAAa,EAAEC,eAAe,CAAC,gBAAGC,0BAAa,CAAe;EAC1EC,IAAI,EAAE,cAAc;EACpBC,QAAQ,EAAE,iBAAiB;EAC3BC,YAAY,EAAE;CACf,CAAC;AAEF,MAAa,CAACC,mBAAmB,EAAEC,cAAc,CAAC,gBAAGL,0BAAa,CAAoC;EACpGC,IAAI,sBAAsB;EAC1BC,QAAQ,kBAAkB;EAC1BC,YAAY,EAAE;CACf,CAAC;AAEF,MAAMG,QAAQ,GAAG;EACfC,IAAI,EAAE;IAAEC,IAAI,EAAEd,QAAQ;IAAEe,WAAW,EAAE;GAAQ;EAC7CC,OAAO,EAAE;IAAEF,IAAI,EAAEd,QAAQ;IAAEe,WAAW,EAAE;GAAW;EACnDE,OAAO,EAAE;IAAEH,IAAI,EAAEnB,SAAS;IAAEoB,WAAW,EAAE;GAAW;EACpDG,KAAK,EAAE;IAAEJ,IAAI,EAAEZ,WAAW;IAAEa,WAAW,EAAE;GAAU;EACn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AAG;MACHkb,MAAM;MACN1iB,OAAO,EAAE;QACP,cAAc,EAAE,iCAAiC;QACjD,GAAGA;OACJ;MACD,GAAG2gB;KACJ,CAAC;IACF,OAAO0B,QAAQ;GAChB;EAED,OAAO;IACLI;GACD;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"internal-ui.cjs.development.js","sources":["../src/components/alert/components/icons.tsx","../src/components/alert/components/alert-context.ts","../src/components/alert/components/alert.tsx","../src/components/loader/components/loader.tsx","../src/components/button/components/button.tsx","../src/components/alert/components/alert-action.tsx","../src/components/alert/components/alert-close.tsx","../src/components/alert/components/alert-description.tsx","../src/components/alert/components/alert-icon.tsx","../src/components/alert/components/alert-title.tsx","../src/components/badge/components/badge.tsx","../src/components/breadcrumb/components/bread-crumb.tsx","../src/components/card/components/card.tsx","../src/components/checkbox/components/checkbox.tsx","../src/components/field/components/field.tsx","../src/components/checkbox/components/checkbox-group.tsx","../src/components/chips/components/chips.tsx","../src/components/data-table/components/data-table.tsx","../src/components/form/styles/input-field.ts","../src/components/datepicker/components/styles.tsx","../src/components/datepicker/components/time-input.tsx","../src/components/datepicker/components/datepicker.tsx","../src/components/datepicker/components/datepicker-month/datepicker-month.tsx","../src/components/datepicker/components/datepicker-month/multi-datepicker-month.tsx","../src/components/form/components/input-addon.tsx","../src/components/form/components/input-field.tsx","../src/components/form/components/textarea.tsx","../src/components/header/components/logo.tsx","../src/components/header/components/profile.tsx","../src/components/header/components/switch-mode.tsx","../src/components/header/utils/formatter.ts","../src/components/header/components/version.tsx","../src/components/header/components/header.tsx","../src/components/modal/components/modal-body.tsx","../src/components/modal/components/modal-close-button.tsx","../src/components/modal/components/modal-footer.tsx","../src/components/modal/components/modal-header.tsx","../src/components/navigation/components/customer-icon.tsx","../src/components/navigation/components/mapping-icon.ts","../src/components/navigation/components/navigation.tsx","../src/components/navigation/components/navigation-bar.tsx","../src/components/pagination/components/pagination-button.tsx","../src/components/pagination/components/pagination-button-trigger.tsx","../src/components/pagination/components/pagination.tsx","../src/components/pagination/components/pagination-detail.tsx","../src/components/pagination/components/pagination-filter.tsx","../src/components/radio/components/radio.tsx","../src/components/radio/components/radio-group.tsx","../src/components/rating/components/rating.tsx","../src/components/select/components/select-wrapper.tsx","../src/config/theme/foundations/typography.ts","../src/components/select/components/utils.ts","../src/components/select/components/select.tsx","../src/components/select/components/select-async.tsx","../src/components/select/components/select-async-creatable.tsx","../src/components/select/components/select-creatable.tsx","../src/components/switch/components/switch.tsx","../src/components/tabs/components/tab.tsx","../src/components/tabs/components/tab-list.tsx","../src/components/tabs/components/tab-panel.tsx","../src/components/uploader/constants.ts","../src/components/uploader/components/uploader.tsx","../src/config/theme/components/accordion.ts","../src/config/theme/components/alert.ts","../src/config/theme/components/badge.ts","../src/config/theme/components/button.ts","../src/config/theme/components/card.ts","../src/config/theme/components/checkbox.ts","../src/config/theme/components/chips.ts","../src/config/theme/components/form-label.ts","../src/config/theme/components/input.ts","../src/config/theme/components/loader.ts","../src/config/theme/components/popover.ts","../src/config/theme/components/radio.ts","../src/config/theme/components/switch.ts","../src/config/theme/components/table.ts","../src/config/theme/components/textarea.ts","../src/config/theme/themeConfiguration.ts","../src/provider/components/provider.tsx","../src/hooks/useFetcher.ts"],"sourcesContent":["/* eslint-disable react/require-default-props */\nimport { AlertTriangle, CheckCircle, Info } from '@ctlyst.id/internal-icon';\nimport React from 'react';\n\nexport function CheckIcon() {\n return <CheckCircle color=\"inherit\" size={4} />;\n}\n\nexport function InfoIcon() {\n return <Info color=\"inherit\" size={4} />;\n}\n\nexport function WarningIcon() {\n return <AlertTriangle color=\"inherit\" size={4} />;\n}\n","import { createContext } from '@chakra-ui/react-context';\nimport type { SystemStyleObject } from '@chakra-ui/system';\n\nimport { CheckIcon, InfoIcon, WarningIcon } from './icons';\n\nexport const [AlertProvider, useAlertContext] = createContext<AlertContext>({\n name: 'AlertContext',\n hookName: 'useAlertContext',\n providerName: '<Alert />',\n});\n\nexport const [AlertStylesProvider, useAlertStyles] = createContext<Record<string, SystemStyleObject>>({\n name: `AlertStylesContext`,\n hookName: `useAlertStyles`,\n providerName: '<Alert />',\n});\n\nconst STATUSES = {\n info: { icon: InfoIcon, colorScheme: 'info' },\n warning: { icon: InfoIcon, colorScheme: 'warning' },\n success: { icon: CheckIcon, colorScheme: 'success' },\n error: { icon: WarningIcon, colorScheme: 'danger' },\n neutral: { icon: InfoIcon, colorScheme: 'neutral' },\n};\n\nexport function getStatusColorScheme(status: AlertStatus) {\n return STATUSES[status].colorScheme;\n}\n\nexport function getStatusIcon(status: AlertStatus) {\n return STATUSES[status].icon;\n}\n\nexport type AlertStatus = keyof typeof STATUSES;\n\nexport interface AlertContext {\n status: AlertStatus;\n}\n","import { cx } from '@chakra-ui/shared-utils';\nimport type { HTMLChakraProps, SystemStyleObject, ThemingProps } from '@chakra-ui/system';\nimport { chakra, forwardRef, omitThemingProps, useMultiStyleConfig } from '@chakra-ui/system';\nimport React from 'react';\n\nimport type { AlertStatus } from './alert-context';\nimport { AlertProvider, AlertStylesProvider, getStatusColorScheme } from './alert-context';\n\ninterface AlertOptions {\n /**\n * The status of the alert\n * @default \"info\"\n */\n status?: AlertStatus;\n}\nexport type AlertVariant = 'solid' | 'light';\n\nexport interface AlertProps extends HTMLChakraProps<'div'>, AlertOptions, ThemingProps<'Alert'> {\n /**\n * @default false\n */\n addRole?: boolean;\n}\n\n/**\n * Alert is used to communicate the state or status of a\n * page, feature or action\n *\n * @see Docs https://chakra-ui.com/docs/components/alert\n * @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/alert/\n */\nexport const Alert = forwardRef<AlertProps, 'div'>(function Alert(props, ref) {\n const { status = 'info', addRole = true, children, ...rest } = omitThemingProps(props);\n const colorScheme = props.colorScheme ?? getStatusColorScheme(status);\n\n const styles = useMultiStyleConfig('Alert', { ...props, colorScheme });\n\n const alertStyles: SystemStyleObject = {\n width: '100%',\n display: 'grid',\n gridTemplateColumns: 'auto 1fr auto auto',\n alignItems: 'center',\n position: 'relative',\n overflow: 'hidden',\n ...styles.container,\n };\n\n return (\n <AlertProvider value={{ status }}>\n <AlertStylesProvider value={styles}>\n <chakra.div\n data-status={status}\n role={addRole ? 'alert' : undefined}\n ref={ref}\n {...rest}\n className={cx('chakra-alert', props.className)}\n __css={alertStyles}\n >\n {children}\n </chakra.div>\n </AlertStylesProvider>\n </AlertProvider>\n );\n});\n\nAlert.displayName = 'Alert';\n","import type { HTMLChakraProps, ThemingProps } from '@chakra-ui/react';\nimport { Box, forwardRef, useStyleConfig } from '@chakra-ui/react';\nimport React from 'react';\n\nexport interface LoaderProps {\n size?: string;\n variant?: string;\n thickness?: string;\n}\n\nexport interface CustomLoaderProps extends HTMLChakraProps<'span'>, ThemingProps {}\n\nconst Loader = forwardRef<CustomLoaderProps, 'div'>((props: LoaderProps, ref) => {\n const styles = useStyleConfig('LoaderStyle', props);\n\n return <Box ref={ref} __css={styles} />;\n});\n\nLoader.defaultProps = {\n size: 'md',\n};\n\nexport default Loader;\n","/* eslint-disable test-selectors/button */\nimport type { ButtonProps as ButtonChakraProps } from '@chakra-ui/react';\nimport { Button as ButtonChakra, forwardRef } from '@chakra-ui/react';\nimport React from 'react';\n\nimport { Loader } from '../../loader';\n\nexport type ButtonProps = ButtonChakraProps;\n\nconst Button = forwardRef<ButtonProps, 'button'>((props, ref) => {\n const { children, variant, size, ...rest } = props;\n\n const getLoaderSize = () => {\n if (size === 'lg') return 'md';\n if (size === 'md') return 'sm';\n return 'xs';\n };\n\n const getLoaderColor = () => {\n if (variant === 'primary' || variant === 'danger') return 'white';\n if (variant === 'outline-danger') return 'danger';\n return 'primary';\n };\n\n return (\n <ButtonChakra\n size={size}\n variant={variant}\n spinner={<Loader size={getLoaderSize()} color={getLoaderColor()} />}\n ref={ref}\n {...rest}\n >\n {children}\n </ButtonChakra>\n );\n});\n\nexport default Button;\n","/* eslint-disable import/prefer-default-export */\nimport type { HTMLChakraProps } from '@chakra-ui/system';\nimport { cx } from '@chakra-ui/utils';\nimport React from 'react';\n\nimport Button from '../../button/components/button';\nimport { useAlertStyles } from './alert-context';\n\nexport type AlertActionProps = HTMLChakraProps<'button'>;\n\nexport function AlertAction({ children, className }: AlertActionProps) {\n const styles = useAlertStyles();\n const css = styles.action;\n\n return (\n <Button\n data-test-id=\"alert-action\"\n className={cx('chakra-alert__action', className)}\n variant=\"link\"\n fontWeight=\"semibold\"\n __css={css}\n >\n {children}\n </Button>\n );\n}\n\nAlertAction.displayName = 'AlertAction';\n","import { cx } from '@chakra-ui/shared-utils';\nimport type { HTMLChakraProps } from '@chakra-ui/system';\nimport { chakra } from '@chakra-ui/system';\nimport { Close } from '@ctlyst.id/internal-icon';\nimport React from 'react';\n\nimport { useAlertStyles } from './alert-context';\n\nexport type AlertCloseProps = HTMLChakraProps<'span'>;\n\nexport function AlertClose({ className, children, ...rest }: AlertCloseProps) {\n const styles = useAlertStyles();\n const css = styles.close;\n\n return (\n <chakra.span\n display=\"inherit\"\n data-status={'alert-close'}\n {...rest}\n className={cx('chakra-alert__close', className)}\n __css={css}\n >\n {children || <Close color=\"inherit\" size={4} />}\n </chakra.span>\n );\n}\n\nAlertClose.displayName = 'AlertClose';\n","import { cx } from '@chakra-ui/shared-utils';\nimport type { HTMLChakraProps, SystemStyleObject } from '@chakra-ui/system';\nimport { chakra, forwardRef } from '@chakra-ui/system';\nimport React from 'react';\n\nimport { useAlertContext, useAlertStyles } from './alert-context';\n\nexport type AlertDescriptionProps = HTMLChakraProps<'div'>;\n\nexport const AlertDescription = forwardRef<AlertDescriptionProps, 'div'>(function AlertDescription(props, ref) {\n const styles = useAlertStyles();\n const { status } = useAlertContext();\n const descriptionStyles: SystemStyleObject = {\n display: 'inline',\n ...styles.description,\n };\n\n return (\n <chakra.div\n ref={ref}\n data-status={status}\n {...props}\n className={cx('chakra-alert__desc', props.className)}\n __css={descriptionStyles}\n />\n );\n});\n\nAlertDescription.displayName = 'AlertDescription';\n","import { cx } from '@chakra-ui/shared-utils';\nimport type { HTMLChakraProps } from '@chakra-ui/system';\nimport { chakra } from '@chakra-ui/system';\nimport React from 'react';\n\nimport { getStatusIcon, useAlertContext, useAlertStyles } from './alert-context';\n\nexport type AlertIconProps = HTMLChakraProps<'span'>;\n\nexport function AlertIcon({ className, children, ...rest }: AlertIconProps) {\n const { status } = useAlertContext();\n const BaseIcon = getStatusIcon(status);\n const styles = useAlertStyles();\n const css = styles.icon;\n\n return (\n <chakra.span\n display=\"inherit\"\n data-status={status}\n {...rest}\n className={cx('chakra-alert__icon', className)}\n __css={css}\n >\n {children || <BaseIcon />}\n </chakra.span>\n );\n}\n\nAlertIcon.displayName = 'AlertIcon';\n","import { cx } from '@chakra-ui/shared-utils';\nimport type { HTMLChakraProps } from '@chakra-ui/system';\nimport { chakra, forwardRef } from '@chakra-ui/system';\nimport React from 'react';\n\nimport { useAlertContext, useAlertStyles } from './alert-context';\n\nexport type AlertTitleProps = HTMLChakraProps<'div'>;\n\nexport const AlertTitle = forwardRef<AlertTitleProps, 'div'>(function AlertTitle(props, ref) {\n const styles = useAlertStyles();\n const { status } = useAlertContext();\n\n return (\n <chakra.div\n ref={ref}\n data-status={status}\n {...props}\n className={cx('chakra-alert__title', props.className)}\n __css={styles.title}\n />\n );\n});\n\nAlertTitle.displayName = 'AlertTitle';\n","/* eslint-disable test-selectors/button */\nimport type { BadgeProps as BadgeChakraProps } from '@chakra-ui/react';\nimport { Badge as BadgeChakra } from '@chakra-ui/react';\nimport React from 'react';\n\nexport interface BadgeProps extends BadgeChakraProps {\n pill?: boolean;\n}\n\nconst Badge = (props: BadgeProps) => {\n const { children, pill, ...rest } = props;\n\n return (\n <BadgeChakra\n borderRadius={pill ? 'xl' : 'sm'}\n display=\"inline-flex\"\n alignItems=\"center\"\n justifyContent=\"space-between\"\n textTransform=\"none\"\n {...rest}\n >\n {children}\n </BadgeChakra>\n );\n};\n\nBadge.defaultProps = {\n pill: false,\n};\n\nexport default Badge;\n","/* eslint-disable react-hooks/rules-of-hooks */\nimport { Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Text, theme, useToken } from '@chakra-ui/react';\nimport * as React from 'react';\nimport { FiChevronLeft, FiChevronsRight, FiHome } from 'react-icons/fi';\n\nimport { Button } from '../../button';\n\nexport interface BreadCrumbParentProps {\n name: string;\n onClick?: () => void;\n disable?: boolean;\n link: string;\n}\n\nexport interface BreadCrumbProps {\n title: string;\n children?: React.ReactNode;\n parents?: BreadCrumbParentProps[];\n className?: string;\n disableHome?: boolean;\n spacing?: number;\n backButton?: () => void;\n}\n\nconst BreadCrumb: React.FC<BreadCrumbProps> = props => {\n const { title, children, parents, className, disableHome, spacing = 2, backButton } = props;\n const [neutral600, primary500] = useToken('colors', ['neutral.600', 'primary.500']);\n return (\n <Box\n data-test-id=\"CT_component_breadcrumb_breadcrumb\"\n className={className}\n display=\"flex\"\n justifyContent=\"space-between\"\n alignItems=\"center\"\n paddingY={2}\n >\n <Box display=\"flex\" alignItems=\"center\">\n {backButton && (\n <Button variant=\"icon\" data-test-id=\"button\" size=\"md\" mr=\"2\" onClick={backButton}>\n <FiChevronLeft size={theme.sizes[5]} />\n </Button>\n )}\n <Text pr=\"2\" textStyle=\"heading.6\" color=\"neutral.700\">\n {title}\n </Text>\n <Box h=\"5.5\" borderLeft=\"1px solid\" borderColor={neutral600} />\n <Breadcrumb\n separator={<FiChevronsRight color={neutral600} size={theme.sizes['3.5']} />}\n pl=\"2\"\n pr=\"4\"\n spacing={spacing}\n sx={{ ol: { display: 'flex', alignItems: 'center' } }}\n display=\"flex\"\n alignItems=\"center\"\n className=\"breadcrumb-wrapper\"\n >\n <BreadcrumbItem>\n <BreadcrumbLink href={!disableHome ? '/' : undefined} style={{ ...(disableHome && { cursor: 'default' }) }}>\n <FiHome className=\"align-top\" size={theme.sizes['3.5']} color={primary500} />\n </BreadcrumbLink>\n </BreadcrumbItem>\n {parents?.map(val => (\n <BreadcrumbItem key={val.name}>\n <BreadcrumbLink\n data-test-id=\"iadKcMAul3QAdvmfIQjRE\"\n href={!val.disable ? val.link : undefined}\n onClick={val.onClick}\n style={{\n ...(val.disable && {\n cursor: 'default',\n }),\n }}\n _hover={{ textDecoration: 'none' }}\n >\n <Text color={val.disable ? neutral600 : primary500} textStyle=\"text.sm\">\n {val.name}\n </Text>\n </BreadcrumbLink>\n </BreadcrumbItem>\n ))}\n <BreadcrumbItem>\n <BreadcrumbLink _hover={{ textDecor: 'none', cursor: 'default' }}>\n <Text color=\"neutral.600\" textStyle=\"text.sm\">\n {title}\n </Text>\n </BreadcrumbLink>\n </BreadcrumbItem>\n </Breadcrumb>\n </Box>\n {children && <Box>{children}</Box>}\n </Box>\n );\n};\n\nBreadCrumb.defaultProps = {\n children: undefined,\n parents: undefined,\n className: undefined,\n disableHome: undefined,\n spacing: 2,\n backButton: undefined,\n};\n\nexport default BreadCrumb;\n","import type { BoxProps } from '@chakra-ui/react';\nimport { Card, useStyleConfig } from '@chakra-ui/react';\nimport React, { forwardRef } from 'react';\n\nexport interface CardProps extends BoxProps {\n withShadow?: boolean;\n isRounded?: boolean;\n}\n\nconst CardCustom = forwardRef<HTMLDivElement, CardProps>(({ children, ...rest }, ref) => {\n const styles = useStyleConfig('Card', rest);\n\n return (\n <Card __css={styles} backgroundColor=\"white.high\" ref={ref} {...rest}>\n {children}\n </Card>\n );\n});\n\nCardCustom.defaultProps = {\n withShadow: true,\n isRounded: true,\n};\n\nexport default CardCustom;\n","/* eslint-disable no-nested-ternary */\nimport type { BoxProps, CheckboxProps } from '@chakra-ui/react';\nimport { Box, Checkbox, forwardRef, Text } from '@chakra-ui/react';\nimport type { PropsWithChildren } from 'react';\nimport React from 'react';\n\nexport interface CheckboxComponentProps extends CheckboxProps, PropsWithChildren {\n isError?: boolean;\n helpText?: string;\n errorText?: string;\n boxProps?: BoxProps;\n}\n\nconst CheckboxComponent = forwardRef<CheckboxComponentProps, 'input'>(\n ({ isError = false, helpText = '', errorText = '', boxProps, children, isDisabled, ...rest }, ref) => {\n const variant = isError ? 'errors' : 'unstyled';\n return (\n <Box {...boxProps}>\n <Box display=\"flex\">\n <Checkbox variant={variant} ref={ref} {...rest} isDisabled={isDisabled}>\n {children && (\n <Text as=\"span\" display=\"block\" textStyle=\"text.sm\" color={isDisabled ? 'black.medium' : 'black.high'}>\n {children}\n </Text>\n )}\n </Checkbox>\n </Box>\n {(isError || helpText) && (\n <Box mt=\"5px\" ml=\"24px\">\n {isError ? (\n <Text as=\"span\" display=\"block\" textStyle=\"text.xs\" color=\"danger.500\">\n {errorText}\n </Text>\n ) : (\n <Text as=\"span\" display=\"block\" textStyle=\"text.xs\" color=\"black.medium\">\n {helpText}\n </Text>\n )}\n </Box>\n )}\n </Box>\n );\n }\n);\n\nCheckboxComponent.defaultProps = {\n isError: false,\n helpText: '',\n errorText: '',\n boxProps: {},\n};\n\nexport default CheckboxComponent;\n","/* eslint-disable no-nested-ternary */\nimport type { FormControlProps } from '@chakra-ui/react';\nimport { Box, FormControl, FormErrorMessage, FormHelperText, FormLabel } from '@chakra-ui/react';\nimport type { FC, PropsWithChildren, ReactNode } from 'react';\nimport React from 'react';\n\nexport interface Props {\n label?: string | ReactNode;\n isError?: boolean;\n isSuccess?: boolean;\n errorMessage?: string | ReactNode;\n leftHelperText?: string | ReactNode;\n rightHelperText?: string | ReactNode;\n isRequired?: boolean;\n boxProps?: FormControlProps;\n}\n\nexport type FieldProps<T = unknown> = Props & T;\n\nconst Field: FC<PropsWithChildren<Props>> = props => {\n const {\n label,\n isError,\n errorMessage,\n leftHelperText,\n rightHelperText,\n isRequired,\n children,\n isSuccess,\n boxProps = {},\n } = props;\n\n const getHelperColor = () => {\n if (isError) return 'danger.500';\n if (isSuccess) return 'success.500';\n return 'black.medium';\n };\n\n const getJustifyContentHelper = () => {\n if (rightHelperText && (!leftHelperText || (isError && !errorMessage))) return 'flex-end';\n return 'space-between';\n };\n\n const helperColor = getHelperColor();\n const justifyHelper = getJustifyContentHelper();\n\n return (\n <FormControl isInvalid={isError} {...boxProps}>\n {label &&\n (typeof label === 'string' ? (\n <FormLabel mb={1} fontSize=\"text.sm\" requiredIndicator={undefined}>\n {isRequired && (\n <Box as=\"span\" color=\"danger.500\" ml={0} mr={1}>\n *\n </Box>\n )}\n {label}\n </FormLabel>\n ) : (\n label\n ))}\n {children}\n {((isError && errorMessage) || leftHelperText || rightHelperText) && (\n <Box display=\"flex\" width=\"full\" justifyContent={justifyHelper}>\n {!isError ? (\n leftHelperText &&\n (typeof leftHelperText === 'string' ? (\n <FormHelperText fontSize=\"text.xs\" color={helperColor} mt={1}>\n {leftHelperText}\n </FormHelperText>\n ) : (\n leftHelperText\n ))\n ) : typeof errorMessage === 'string' ? (\n <FormErrorMessage fontSize=\"text.xs\" color=\"danger.500\" mt={1}>\n {errorMessage}\n </FormErrorMessage>\n ) : (\n errorMessage\n )}\n {rightHelperText &&\n (typeof rightHelperText === 'string' ? (\n <FormHelperText fontSize=\"text.xs\" color={helperColor} mt={1}>\n {rightHelperText}\n </FormHelperText>\n ) : (\n rightHelperText\n ))}\n </Box>\n )}\n </FormControl>\n );\n};\n\nField.defaultProps = {\n label: '',\n isError: false,\n isSuccess: false,\n errorMessage: undefined,\n leftHelperText: undefined,\n rightHelperText: undefined,\n isRequired: false,\n boxProps: {},\n};\n\nexport default Field;\n","/* eslint-disable no-nested-ternary */\nimport type { CheckboxGroupProps } from '@chakra-ui/react';\nimport { Box, CheckboxGroup, Stack } from '@chakra-ui/react';\nimport type { PropsWithChildren } from 'react';\nimport React from 'react';\n\nimport type { FieldProps } from '../../field';\nimport { Field } from '../../field';\n\nexport interface CheckboxGroupComponentProps extends FieldProps, CheckboxGroupProps, PropsWithChildren {\n label: string;\n helpText?: string;\n isError?: boolean;\n errorMessage?: string;\n}\n\nfunction CheckboxGroupComponent(props: CheckboxGroupComponentProps) {\n const { children, label, helpText, isError, errorMessage, ...rest } = props;\n return (\n <Field {...rest} label={label} leftHelperText={helpText} isError={isError} errorMessage={errorMessage}>\n <Box mt=\"12px\">\n <CheckboxGroup {...rest}>\n <Stack spacing={[1, '16px']} direction={['column', 'row']}>\n {children}\n </Stack>\n </CheckboxGroup>\n </Box>\n </Field>\n );\n}\n\nCheckboxGroupComponent.defaultProps = {\n helpText: '',\n isError: false,\n errorMessage: '',\n};\n\nexport default CheckboxGroupComponent;\n","import { Box, useStyleConfig } from '@chakra-ui/react';\nimport { Close } from '@ctlyst.id/internal-icon';\nimport type { ReactNode } from 'react';\nimport React, { useMemo } from 'react';\n\nexport interface ChipsProps {\n isDisabled?: boolean;\n isActive?: boolean;\n onClose?: () => void;\n children?: ReactNode;\n size?: 'sm' | 'md';\n}\n\nconst Chips = ({ children, ...rest }: ChipsProps) => {\n const { isActive, isDisabled, onClose } = rest;\n const styles = useStyleConfig('Chips', rest);\n\n const closeColor = useMemo(() => {\n if (isActive) return 'white.high';\n if (isDisabled) return 'black.low';\n return 'primary.500';\n }, [isActive, isDisabled]);\n\n return (\n <Box __css={styles} display=\"inline-flex\" alignItems=\"center\" justifyContent=\"center\" {...rest}>\n {children}\n {onClose && (\n <Box\n onClick={isDisabled ? undefined : onClose}\n cursor={isDisabled ? 'not-allowed' : 'pointer'}\n ml={2}\n display=\"flex\"\n alignItems=\"center\"\n justifyContent=\"center\"\n >\n <Close color={closeColor} size={4} />\n </Box>\n )}\n </Box>\n );\n};\n\nChips.defaultProps = {\n isDisabled: false,\n isActive: false,\n onClose: undefined,\n children: undefined,\n size: 'sm',\n};\n\nexport default Chips;\n","/* eslint-disable react-hooks/rules-of-hooks */\n/* eslint-disable react/no-unstable-nested-components */\nimport { ChevronDownIcon, ChevronUpIcon, UpDownIcon } from '@chakra-ui/icons';\nimport type {\n BoxProps,\n TableBodyProps,\n TableCellProps,\n TableColumnHeaderProps,\n TableHeadProps,\n TableProps,\n TableRowProps,\n} from '@chakra-ui/react';\nimport {\n Box,\n Checkbox,\n Flex,\n Spinner,\n Table,\n Tbody,\n Td,\n Text,\n Th,\n Thead,\n Tr,\n useColorModeValue,\n} from '@chakra-ui/react';\nimport { css } from '@emotion/react';\nimport type {\n ColumnDef,\n OnChangeFn,\n RowSelectionInstance,\n RowSelectionState,\n SortingState,\n Updater,\n} from '@tanstack/react-table';\nimport { flexRender, getCoreRowModel, getSortedRowModel, useReactTable } from '@tanstack/react-table';\nimport * as React from 'react';\n\nexport interface TableStyleProps {\n table?: TableProps;\n tableHead?: TableHeadProps;\n tableRow?: TableRowProps;\n tableBody?: TableBodyProps;\n tableColumnHeader?: TableColumnHeaderProps;\n tableCell?: TableCellProps;\n}\n\nexport interface DataTableProps<T = unknown> extends BoxProps {\n styles?: TableStyleProps;\n columns: ColumnDef<T>[];\n dataSource: T[] | undefined;\n isLoading?: boolean;\n withSelectedRow?: boolean | undefined;\n onSelectedRow?: (data: T[]) => void;\n onSort?: (data: SortingState) => void;\n manualSorting?: boolean;\n sortingState?: SortingState;\n sortDescFirst?: boolean;\n headerSticky?: boolean;\n onRowClick?: (data: T) => void;\n}\n\nexport type DataTableRefs<T> = Pick<RowSelectionInstance<T>, 'toggleAllRowsSelected'>;\n\nconst DataTable = React.forwardRef(<T extends unknown>(props: DataTableProps<T>, ref?: React.Ref<DataTableRefs<T>>) => {\n const {\n columns,\n dataSource = [],\n isLoading,\n withSelectedRow,\n onSelectedRow,\n onSort,\n sortDescFirst,\n styles,\n sortingState,\n headerSticky,\n manualSorting,\n onRowClick,\n } = props;\n\n const [isFirstLoad, setIsFirstLoad] = React.useState<boolean>(true);\n const [sorting, setSorting] = React.useState<SortingState>(sortingState ?? []);\n const [rowSelection, onRowSelectionChange] = React.useState<RowSelectionState>({});\n const dataColumns = React.useMemo<ColumnDef<T>[]>(() => columns, [columns]);\n const checkboxColumn = React.useMemo<ColumnDef<T>[]>(\n () => [\n {\n id: 'select',\n header: ({ table }) => (\n <Checkbox\n data-test-id=\"select-header-data-table\"\n {...{\n isChecked: table.getIsAllRowsSelected(),\n isIndeterminate: table.getIsSomeRowsSelected(),\n onChange: table.getToggleAllRowsSelectedHandler(),\n }}\n />\n ),\n cell: ({ row }) => (\n <Checkbox\n data-test-id={`select-data-table-${row.index}`}\n {...{\n isChecked: row.getIsSelected(),\n isIndeterminate: row.getIsSomeSelected(),\n onChange: row.getToggleSelectedHandler(),\n }}\n />\n ),\n },\n ],\n []\n );\n\n const generateColumn = () => {\n if (withSelectedRow) {\n return [...checkboxColumn, ...dataColumns];\n }\n return dataColumns;\n };\n\n const onSortingChange: OnChangeFn<SortingState> = (data: Updater<SortingState>) => {\n setSorting(data);\n };\n\n const table = useReactTable({\n data: dataSource,\n columns: generateColumn(),\n getCoreRowModel: getCoreRowModel(),\n getSortedRowModel: getSortedRowModel(),\n manualPagination: true,\n manualSorting,\n sortDescFirst,\n state: {\n sorting,\n rowSelection,\n },\n onRowSelectionChange,\n onSortingChange,\n });\n\n const { getSelectedRowModel, toggleAllRowsSelected } = table;\n const { flatRows } = getSelectedRowModel();\n React.useEffect(() => {\n const rowData = flatRows.map(row => row.original);\n if (onSelectedRow) {\n onSelectedRow(rowData);\n }\n }, [flatRows]);\n\n React.useImperativeHandle(ref, () => ({\n toggleAllRowsSelected,\n }));\n\n React.useEffect(() => {\n if (onSort && !isFirstLoad) {\n onSort(sorting);\n }\n }, [sorting]);\n\n React.useEffect(() => {\n setIsFirstLoad(false);\n }, []);\n\n return (\n <Box {...props}>\n {isLoading && (\n <Flex w=\"100%\" h=\"100%\" pos=\"absolute\" bg=\"white\" align=\"center\" justify=\"center\" zIndex={2}>\n <Spinner color=\"primary.500\" thickness=\"4px\" size=\"lg\" />\n </Flex>\n )}\n <Table {...styles?.table}>\n <Thead {...(styles?.tableHead, headerSticky ? { position: 'sticky', top: 0, bg: 'white', zIndex: 1 } : {})}>\n {table.getHeaderGroups().map(headerGroup => (\n <Tr key={headerGroup.id} bg={useColorModeValue('initial', 'ebony-clay.700')} {...styles?.tableRow}>\n {headerGroup.headers.map(header => (\n <Th key={header.id} colSpan={header.colSpan} {...styles?.tableColumnHeader}>\n <Flex\n data-test-id={`CT_Container_TableHeader_${header.id}`}\n textTransform=\"capitalize\"\n userSelect=\"none\"\n align=\"center\"\n gap={2}\n >\n <Text>{flexRender(header.column.columnDef.header, header.getContext())}</Text>\n <Box\n as=\"span\"\n cursor={header.column.getCanSort() ? 'pointer' : 'default'}\n data-test-id={`CT_Container_SortingIcon_${header.id}`}\n onClick={header.column.getToggleSortingHandler()}\n >\n {(header.column.getCanSort() &&\n {\n asc: <ChevronUpIcon />,\n desc: <ChevronDownIcon />,\n }[header.column.getIsSorted() as string]) ?? <UpDownIcon h={2} />}\n </Box>\n </Flex>\n </Th>\n ))}\n </Tr>\n ))}\n </Thead>\n <Tbody {...styles?.tableBody}>\n {table.getRowModel().rows.map(row => (\n <Tr\n data-test-id=\"6aZAeefGHBA2oG1wLuv-L\"\n key={row.id}\n {...styles?.tableRow}\n css={css`\n &:last-child {\n td {\n border-bottom: none;\n }\n }\n `}\n onClick={() => {\n if (onRowClick) {\n onRowClick(row.original);\n }\n }}\n >\n {row.getVisibleCells().map(cell => (\n <Td\n key={cell.id}\n fontSize=\"text.sm\"\n color={useColorModeValue('dark.800', 'dark.300')}\n {...styles?.tableCell}\n >\n {flexRender(cell.column.columnDef.cell, cell.getContext())}\n </Td>\n ))}\n </Tr>\n ))}\n </Tbody>\n </Table>\n </Box>\n );\n});\n\n/* eslint-disable react/default-props-match-prop-types */\nDataTable.defaultProps = {\n withSelectedRow: false,\n overflowX: 'scroll',\n pos: 'relative',\n maxW: '100%',\n minH: 400,\n w: 'full',\n styles: undefined,\n isLoading: undefined,\n onSelectedRow: undefined,\n onSort: undefined,\n manualSorting: false,\n sortingState: [],\n sortDescFirst: false,\n headerSticky: false,\n onRowClick: undefined,\n};\n\nexport default DataTable as <T extends unknown>(\n props: DataTableProps<T> & {\n ref?: React.Ref<DataTableRefs<T>>;\n }\n) => JSX.Element;\n","import type { BoxProps } from '@chakra-ui/react';\nimport { defineStyle } from '@chakra-ui/react';\n\nimport type { InputFieldProps } from '../components/input-field';\n\nconst getProperties = (props: InputFieldProps) => {\n const { isError, isDisabled, isSuccess } = props;\n\n let outlineColor = 'neutral.400';\n let focusColor = 'primary.500';\n\n if (isError || isDisabled || isSuccess) {\n if (isError) outlineColor = 'danger.500';\n else if (isSuccess) outlineColor = 'success.500';\n focusColor = outlineColor;\n }\n\n return {\n outlineColor,\n focusColor,\n };\n};\n\nconst getWrapperStyle = (props: InputFieldProps) => {\n const { outlineColor, focusColor } = getProperties(props);\n\n const style: BoxProps = {\n border: '1px solid',\n borderColor: outlineColor,\n borderRadius: 'sm',\n transition: 'all 0.15s',\n boxShadow: 'none',\n _focusWithin: {\n borderColor: focusColor,\n },\n };\n\n return defineStyle(style);\n};\n\nexport default getWrapperStyle;\n","import { useColorMode } from '@chakra-ui/system';\nimport { Global } from '@emotion/react';\nimport React from 'react';\n\nconst Styles = () => {\n const { colorMode } = useColorMode();\n return (\n <Global\n styles={`\n @charset \"UTF-8\";\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow, .react-datepicker__navigation-icon::before {\n border-color: ${colorMode === 'light' ? '#6E6B7B' : '#d0d1d2'};\n border-style: solid;\n border-width: 1px 1px 0 0;\n content: \"\";\n display: block;\n height: 7px;\n position: absolute;\n top: 13px;\n width: 7px;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {\n margin-left: -4px;\n position: absolute;\n width: 0;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {\n box-sizing: content-box;\n position: absolute;\n border: 8px solid transparent;\n height: 0;\n width: 1px;\n content: \"\";\n z-index: -1;\n border-width: 8px;\n left: -8px;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before {\n border-bottom-color: #aeaeae;\n }\n\n .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {\n top: 0;\n margin-top: -8px;\n }\n .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {\n border-top: none;\n border-bottom-color: #f0f0f0;\n }\n .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::after {\n top: 0;\n }\n .react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle::before {\n top: -1px;\n border-bottom-color: #aeaeae;\n }\n\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {\n bottom: 0;\n margin-bottom: -8px;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after {\n border-bottom: none;\n border-top-color: #fff;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::after {\n bottom: 0;\n }\n .react-datepicker-popper[data-placement^=top] .react-datepicker__triangle::before {\n bottom: -1px;\n border-top-color: #aeaeae;\n }\n\n .react-datepicker-wrapper {\n display: inline-block;\n padding: 0;\n border: 0;\n width: 100%;\n }\n\n .react-datepicker {\n font-family: \"inherit\", helvetica, arial, sans-serif;\n font-size: 0.75;\n background-color: ${colorMode === 'light' ? '#ffffff' : '#283046'};\n color: ${colorMode === 'light' ? '#000' : '#d0d1d2'};\n filter: drop-shadow(0px 3px 10px rgba(0, 0, 0, 0.08));\n border-radius: 0.3rem;\n display: inline-block;\n position: relative;\n }\n\n .react-datepicker.inline {\n filter: none;\n }\n\n .react-datepicker--time-only .react-datepicker__triangle {\n left: 35px;\n }\n .react-datepicker--time-only .react-datepicker__time-container {\n border-left: 0;\n }\n .react-datepicker--time-only .react-datepicker__time,\n .react-datepicker--time-only .react-datepicker__time-box {\n border-bottom-left-radius: 0.3rem;\n border-bottom-right-radius: 0.3rem;\n }\n\n .react-datepicker__triangle {\n position: absolute;\n left: 50px;\n }\n\n .react-datepicker-popper {\n z-index: 1;\n }\n .react-datepicker-popper[data-placement^=bottom] {\n padding-top: 10px;\n }\n .react-datepicker-popper[data-placement=bottom-end] .react-datepicker__triangle, .react-datepicker-popper[data-placement=top-end] .react-datepicker__triangle {\n left: auto;\n right: 50px;\n }\n .react-datepicker-popper[data-placement^=top] {\n padding-bottom: 10px;\n }\n .react-datepicker-popper[data-placement^=right] {\n padding-left: 8px;\n }\n .react-datepicker-popper[data-placement^=right] .react-datepicker__triangle {\n left: auto;\n right: 42px;\n }\n .react-datepicker-popper[data-placement^=left] {\n padding-right: 8px;\n }\n .react-datepicker-popper[data-placement^=left] .react-datepicker__triangle {\n left: 42px;\n right: auto;\n }\n\n .react-datepicker__header {\n text-align: center;\n background-color: ${colorMode === 'light' ? '#ffffff' : '#131620'};\n border-top-left-radius: 0.3rem;\n padding: 8px 0;\n position: relative;\n }\n .react-datepicker__header--time {\n padding-bottom: 8px;\n padding-left: 5px;\n padding-right: 5px;\n }\n .react-datepicker__header--time:not(.react-datepicker__header--time--only) {\n border-top-left-radius: 0;\n }\n .react-datepicker__header:not(.react-datepicker__header--has-time-select) {\n border-top-right-radius: 0.3rem;\n }\n\n .react-datepicker__year-dropdown-container--select,\n .react-datepicker__month-dropdown-container--select,\n .react-datepicker__month-year-dropdown-container--select,\n .react-datepicker__year-dropdown-container--scroll,\n .react-datepicker__month-dropdown-container--scroll,\n .react-datepicker__month-year-dropdown-container--scroll {\n display: inline-block;\n margin: 0 2px;\n }\n .react-datepicker__header__dropdown.react-datepicker__header__dropdown--select {\n font-weight: 600;\n line-height: 22px;\n color: #111111;\n }\n\n .react-datepicker__current-month,\n .react-datepicker-time__header,\n .react-datepicker-year-header {\n margin-top: 0;\n color: ${colorMode === 'light' ? '#111111' : '#d0d1d2'};\n font-size: 0.75;\n }\n\n .react-datepicker-time__header {\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n }\n\n .react-datepicker__navigation {\n align-items: center;\n background: none;\n display: flex;\n justify-content: center;\n text-align: center;\n cursor: pointer;\n position: absolute;\n top: 2px;\n padding: 0;\n border: none;\n z-index: 1;\n height: 32px;\n width: 32px;\n text-indent: -999em;\n overflow: hidden;\n }\n .react-datepicker__navigation--previous {\n left: 2px;\n }\n .react-datepicker__navigation--next {\n right: 2px;\n }\n .react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {\n right: 85px;\n }\n .react-datepicker__navigation--years {\n position: relative;\n top: 0;\n display: block;\n margin-left: auto;\n margin-right: auto;\n }\n .react-datepicker__navigation--years-previous {\n top: 4px;\n }\n .react-datepicker__navigation--years-upcoming {\n top: -4px;\n }\n .react-datepicker__navigation:hover *::before {\n border-color: #a6a6a6;\n }\n\n .react-datepicker__navigation-icon {\n position: relative;\n top: -1px;\n font-size: 20px;\n width: 0;\n }\n .react-datepicker__navigation-icon--next {\n left: -2px;\n }\n .react-datepicker__navigation-icon--next::before {\n transform: rotate(45deg);\n left: -7px;\n }\n .react-datepicker__navigation-icon--previous {\n right: -2px;\n }\n .react-datepicker__navigation-icon--previous::before {\n transform: rotate(225deg);\n right: -7px;\n }\n\n .react-datepicker__month-container {\n float: left;\n border-radius: 8px;\n }\n\n .react-datepicker__year {\n margin: 0.4rem;\n text-align: center;\n }\n .react-datepicker__year-wrapper {\n display: flex;\n flex-wrap: wrap;\n max-width: 180px;\n }\n .react-datepicker__year .react-datepicker__year-text {\n display: inline-block;\n width: 4rem;\n margin: 2px;\n }\n\n .react-datepicker__month {\n margin: 0.4rem;\n text-align: center;\n }\n .react-datepicker__month .react-datepicker__month-text,\n .react-datepicker__month .react-datepicker__quarter-text {\n display: inline-block;\n width: 4rem;\n margin: 2px;\n }\n\n .react-datepicker__input-time-container {\n width: 100%;\n }\n .react-datepicker__input-time-container .react-datepicker-time__caption {\n width: 100%;\n display: inline-block;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container {\n width: 100%;\n display: inline-block;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input {\n width: 100%;\n display: inline-block;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input {\n width: auto;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time] {\n -moz-appearance: textfield;\n }\n .react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter {\n width: 100%;\n display: inline-block;\n }\n\n .react-datepicker__time-container {\n float: right;\n border-left: 1px solid #aeaeae;\n width: 85px;\n }\n .react-datepicker__time-container--with-today-button {\n display: inline;\n border: 1px solid #aeaeae;\n border-radius: 0.3rem;\n position: absolute;\n right: -72px;\n top: 0;\n }\n .react-datepicker__time-container .react-datepicker__time {\n position: relative;\n background: white;\n border-bottom-right-radius: 0.3rem;\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {\n width: 85px;\n overflow-x: hidden;\n margin: 0 auto;\n text-align: center;\n border-bottom-right-radius: 0.3rem;\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {\n list-style: none;\n margin: 0;\n height: calc(195px + (1.7rem / 2));\n overflow-y: scroll;\n padding-right: 0;\n padding-left: 0;\n width: 100%;\n box-sizing: content-box;\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item {\n height: 30px;\n padding: 5px 10px;\n white-space: nowrap;\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover {\n cursor: pointer;\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected {\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n color: white;\n font-weight: bold;\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover {\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled {\n color: ${colorMode === 'light' ? '#ccc' : '#d0d1d2'};\n }\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover {\n cursor: default;\n background-color: transparent;\n }\n\n .react-datepicker__week-number {\n color: ${colorMode === 'light' ? '#ccc' : '#d0d1d2'};\n display: inline-block;\n width: 1.7rem;\n line-height: 1.7rem;\n text-align: center;\n margin: 0.166rem;\n }\n .react-datepicker__week-number.react-datepicker__week-number--clickable {\n cursor: pointer;\n }\n .react-datepicker__week-number.react-datepicker__week-number--clickable:hover {\n border-radius: 0.3rem;\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n }\n\n .react-datepicker__day-names,\n .react-datepicker__week {\n white-space: nowrap;\n }\n\n .react-datepicker__day-names {\n margin-bottom: 0px;\n }\n\n .react-datepicker__day-name,\n .react-datepicker__day,\n .react-datepicker__time-name {\n color: ${colorMode === 'light' ? '#000' : '#d0d1d2'};\n display: inline-block;\n width: 1.7rem;\n line-height: 1.7rem;\n text-align: center;\n padding: 0.166rem;\n }\n\n .react-datepicker__month--selected, .react-datepicker__month--in-selecting-range, .react-datepicker__month--in-range,\n .react-datepicker__quarter--selected,\n .react-datepicker__quarter--in-selecting-range,\n .react-datepicker__quarter--in-range {\n border-radius: 0.3rem;\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n color: #fff;\n }\n .react-datepicker__month--selected:hover, .react-datepicker__month--in-selecting-range:hover, .react-datepicker__month--in-range:hover,\n .react-datepicker__quarter--selected:hover,\n .react-datepicker__quarter--in-selecting-range:hover,\n .react-datepicker__quarter--in-range:hover {\n background-color: ${colorMode === 'light' ? '#075331' : '#131620'};\n }\n .react-datepicker__month--disabled,\n .react-datepicker__quarter--disabled {\n color: #ccc;\n pointer-events: none;\n }\n .react-datepicker__month--disabled:hover,\n .react-datepicker__quarter--disabled:hover {\n cursor: default;\n background-color: transparent;\n }\n\n .react-datepicker__day,\n .react-datepicker__month-text,\n .react-datepicker__quarter-text,\n .react-datepicker__year-text {\n cursor: pointer;\n }\n .react-datepicker__day:hover,\n .react-datepicker__month-text:hover,\n .react-datepicker__quarter-text:hover,\n .react-datepicker__year-text:hover {\n border-radius: 0.3rem;\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n }\n .react-datepicker__day--highlighted,\n .react-datepicker__month-text--highlighted,\n .react-datepicker__quarter-text--highlighted,\n .react-datepicker__year-text--highlighted {\n border-radius: 0.3rem;\n background-color: #3dcc4a;\n color: #fff;\n }\n .react-datepicker__day--highlighted:hover,\n .react-datepicker__month-text--highlighted:hover,\n .react-datepicker__quarter-text--highlighted:hover,\n .react-datepicker__year-text--highlighted:hover {\n background-color: #32be3f;\n }\n .react-datepicker__day--highlighted-custom-1,\n .react-datepicker__month-text--highlighted-custom-1,\n .react-datepicker__quarter-text--highlighted-custom-1,\n .react-datepicker__year-text--highlighted-custom-1 {\n color: magenta;\n }\n .react-datepicker__day--highlighted-custom-2,\n .react-datepicker__month-text--highlighted-custom-2,\n .react-datepicker__quarter-text--highlighted-custom-2,\n .react-datepicker__year-text--highlighted-custom-2 {\n color: green;\n }\n .react-datepicker__day--selected, .react-datepicker__day--in-selecting-range, .react-datepicker__day--in-range,\n .react-datepicker__month-text--selected,\n .react-datepicker__month-text--in-selecting-range,\n .react-datepicker__month-text--in-range,\n .react-datepicker__quarter-text--selected,\n .react-datepicker__quarter-text--in-selecting-range,\n .react-datepicker__quarter-text--in-range,\n .react-datepicker__year-text--selected,\n .react-datepicker__year-text--in-selecting-range,\n .react-datepicker__year-text--in-range {\n border-radius: 0.3rem;\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n color: #fff;\n }\n .react-datepicker__day--selected:hover, .react-datepicker__day--in-selecting-range:hover, .react-datepicker__day--in-range:hover,\n .react-datepicker__month-text--selected:hover,\n .react-datepicker__month-text--in-selecting-range:hover,\n .react-datepicker__month-text--in-range:hover,\n .react-datepicker__quarter-text--selected:hover,\n .react-datepicker__quarter-text--in-selecting-range:hover,\n .react-datepicker__quarter-text--in-range:hover,\n .react-datepicker__year-text--selected:hover,\n .react-datepicker__year-text--in-selecting-range:hover,\n .react-datepicker__year-text--in-range:hover {\n background-color: ${colorMode === 'light' ? '#075331' : '#131620'};\n }\n .react-datepicker__day--keyboard-selected,\n .react-datepicker__month-text--keyboard-selected,\n .react-datepicker__quarter-text--keyboard-selected,\n .react-datepicker__year-text--keyboard-selected {\n border-radius: 0.3rem;\n background-color: ${colorMode === 'light' ? '#075331' : '#131620'};\n color: #fff;\n }\n .react-datepicker__day--keyboard-selected:hover,\n .react-datepicker__month-text--keyboard-selected:hover,\n .react-datepicker__quarter-text--keyboard-selected:hover,\n .react-datepicker__year-text--keyboard-selected:hover {\n background-color: ${colorMode === 'light' ? '#075331' : '#131620'};\n }\n .react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,\n .react-datepicker__month-text--in-range,\n .react-datepicker__quarter-text--in-range,\n .react-datepicker__year-text--in-range),\n .react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,\n .react-datepicker__month-text--in-range,\n .react-datepicker__quarter-text--in-range,\n .react-datepicker__year-text--in-range),\n .react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,\n .react-datepicker__month-text--in-range,\n .react-datepicker__quarter-text--in-range,\n .react-datepicker__year-text--in-range),\n .react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,\n .react-datepicker__month-text--in-range,\n .react-datepicker__quarter-text--in-range,\n .react-datepicker__year-text--in-range) {\n background-color: rgba(18, 120, 74, 0.1);\n color: ${colorMode === 'light' ? '#000' : '#d0d1d2'};\n }\n .react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,\n .react-datepicker__month-text--in-selecting-range,\n .react-datepicker__quarter-text--in-selecting-range,\n .react-datepicker__year-text--in-selecting-range),\n .react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,\n .react-datepicker__month-text--in-selecting-range,\n .react-datepicker__quarter-text--in-selecting-range,\n .react-datepicker__year-text--in-selecting-range),\n .react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,\n .react-datepicker__month-text--in-selecting-range,\n .react-datepicker__quarter-text--in-selecting-range,\n .react-datepicker__year-text--in-selecting-range),\n .react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,\n .react-datepicker__month-text--in-selecting-range,\n .react-datepicker__quarter-text--in-selecting-range,\n .react-datepicker__year-text--in-selecting-range) {\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n color: ${colorMode === 'light' ? '#000' : '#d0d1d2'};\n }\n .react-datepicker__day--disabled,\n .react-datepicker__month-text--disabled,\n .react-datepicker__quarter-text--disabled,\n .react-datepicker__year-text--disabled {\n cursor: default;\n color: #ccc;\n }\n .react-datepicker__day--disabled:hover,\n .react-datepicker__month-text--disabled:hover,\n .react-datepicker__quarter-text--disabled:hover,\n .react-datepicker__year-text--disabled:hover {\n background-color: transparent;\n }\n\n .react-datepicker__month-text.react-datepicker__month--selected:hover, .react-datepicker__month-text.react-datepicker__month--in-range:hover, .react-datepicker__month-text.react-datepicker__quarter--selected:hover, .react-datepicker__month-text.react-datepicker__quarter--in-range:hover,\n .react-datepicker__quarter-text.react-datepicker__month--selected:hover,\n .react-datepicker__quarter-text.react-datepicker__month--in-range:hover,\n .react-datepicker__quarter-text.react-datepicker__quarter--selected:hover,\n .react-datepicker__quarter-text.react-datepicker__quarter--in-range:hover {\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n }\n .react-datepicker__month-text:hover,\n .react-datepicker__quarter-text:hover {\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n }\n\n .react-datepicker__input-container {\n position: relative;\n display: inline-block;\n width: 100%;\n }\n\n .react-datepicker__year-read-view,\n .react-datepicker__month-read-view,\n .react-datepicker__month-year-read-view {\n border: 1px solid transparent;\n border-radius: 0.3rem;\n position: relative;\n }\n .react-datepicker__year-read-view:hover,\n .react-datepicker__month-read-view:hover,\n .react-datepicker__month-year-read-view:hover {\n cursor: pointer;\n }\n .react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow {\n border-top-color: #b3b3b3;\n }\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow {\n transform: rotate(135deg);\n right: -16px;\n top: 5px;\n width: 5px;\n height: 5px;\n fill: #111111;\n\n }\n .react-datepicker__header:not(.react-datepicker__header--has-time-select) {\n background: ${colorMode === 'light' ? '#F5F5F5' : 'inherit'} ;\n\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n }\n\n .react-datepicker__year-dropdown,\n .react-datepicker__month-dropdown,\n .react-datepicker__month-year-dropdown {\n background-color: ${colorMode === 'light' ? '#f0f0f0' : '#131620'};\n position: absolute;\n width: 50%;\n left: 25%;\n top: 30px;\n z-index: 1;\n text-align: center;\n border-radius: 0.3rem;\n border: 1px solid #aeaeae;\n }\n .react-datepicker__year-dropdown:hover,\n .react-datepicker__month-dropdown:hover,\n .react-datepicker__month-year-dropdown:hover {\n cursor: pointer;\n }\n .react-datepicker__year-dropdown--scrollable,\n .react-datepicker__month-dropdown--scrollable,\n .react-datepicker__month-year-dropdown--scrollable {\n height: 150px;\n overflow-y: scroll;\n }\n\n .react-datepicker__year-option,\n .react-datepicker__month-option,\n .react-datepicker__month-year-option {\n line-height: 20px;\n width: 100%;\n display: block;\n margin-left: auto;\n margin-right: auto;\n }\n .react-datepicker__year-option:first-of-type,\n .react-datepicker__month-option:first-of-type,\n .react-datepicker__month-year-option:first-of-type {\n border-top-left-radius: 0.3rem;\n border-top-right-radius: 0.3rem;\n }\n .react-datepicker__year-option:last-of-type,\n .react-datepicker__month-option:last-of-type,\n .react-datepicker__month-year-option:last-of-type {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n border-bottom-left-radius: 0.3rem;\n border-bottom-right-radius: 0.3rem;\n }\n .react-datepicker__year-option:hover,\n .react-datepicker__month-option:hover,\n .react-datepicker__month-year-option:hover {\n background-color: #ccc;\n }\n .react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,\n .react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,\n .react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming {\n border-bottom-color: #b3b3b3;\n }\n .react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,\n .react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,\n .react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous {\n border-top-color: #b3b3b3;\n }\n .react-datepicker__year-option--selected,\n .react-datepicker__month-option--selected,\n .react-datepicker__month-year-option--selected {\n position: absolute;\n left: 15px;\n }\n\n .react-datepicker__close-icon {\n cursor: pointer;\n background-color: transparent;\n border: 0;\n outline: 0;\n padding: 0 6px 0 0;\n position: absolute;\n top: 0;\n right: 0;\n height: 100%;\n display: table-cell;\n vertical-align: middle;\n }\n .react-datepicker__close-icon::after {\n cursor: pointer;\n background-color: ${colorMode === 'light' ? '#12784A' : '#131620'};\n color: #fff;\n border-radius: 50%;\n height: 16px;\n width: 16px;\n padding: 2px;\n font-size: 12px;\n line-height: 1;\n text-align: center;\n display: table-cell;\n vertical-align: middle;\n content: \"×\";\n }\n\n .react-datepicker__today-button {\n background: #f0f0f0;\n border-top: 1px solid #aeaeae;\n cursor: pointer;\n text-align: center;\n font-weight: bold;\n padding: 5px 0;\n clear: left;\n }\n\n .react-datepicker__portal {\n position: fixed;\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.8);\n left: 0;\n top: 0;\n justify-content: center;\n align-items: center;\n display: flex;\n z-index: 2147483647;\n }\n .react-datepicker__portal .react-datepicker__day-name,\n .react-datepicker__portal .react-datepicker__day,\n .react-datepicker__portal .react-datepicker__time-name {\n width: 3rem;\n line-height: 3rem;\n }\n @media (max-width: 400px), (max-height: 550px) {\n .react-datepicker__portal .react-datepicker__day-name,\n .react-datepicker__portal .react-datepicker__day,\n .react-datepicker__portal .react-datepicker__time-name {\n width: 2rem;\n line-height: 2rem;\n }\n }\n .react-datepicker__portal .react-datepicker__current-month,\n .react-datepicker__portal .react-datepicker-time__header {\n font-size: 1.44rem;\n }\n\n /** injected styles **/\n .react-datepicker__day--outside-month {\n color: ${colorMode === 'light' ? '#B9B9C3' : '#4D4D4D'};\n }\n .react-datepicker__day.react-datepicker__day--in-range {\n border-radius: 0;\n background: rgba(18, 120, 74, 0.1);\n color: #12784A;\n }\n .react-datepicker__day.react-datepicker__day--range-start.react-datepicker__day--in-range,\n .react-datepicker__day.react-datepicker__day--range-end.react-datepicker__day--in-range {\n background: #12784A;\n color: #fff;\n }\n .react-datepicker__day.react-datepicker__day--range-start.react-datepicker__day--in-range {\n border-radius: 100px 0px 0px 100px;\n }\n .react-datepicker__day.react-datepicker__day--range-end.react-datepicker__day--in-range {\n border-radius: 0px 100px 100px 0px;\n }\n .react-datepicker__day.react-datepicker__day--range-start.react-datepicker__day.react-datepicker__day--range-end {\n border-radius: 100px;\n padding: 0;\n }\n .react-datepicker__day.react-datepicker__day--outside-month:empty {\n padding: 0;\n }\n .react-datepicker.inline .react-datepicker__header {\n background-color: inherit;\n }\n .react-datepicker__day--keyboard-selected, .react-datepicker__day--keyboard-selected:hover {\n background-color: inherit;\n color: inherit;\n }\n .react-datepicker__day--today, .react-datepicker__day--today:hover {\n color: #D82F23;\n }\n .react-datepicker__day--today:hover {\n background: #f0f0f0;\n }\n .react-datepicker__day--selected.react-datepicker__day--today {\n color: white;\n background: #12784A;\n }\n `}\n />\n );\n};\n\nexport default Styles;\n","import { Flex, Input, InputGroup, InputRightAddon, Text } from '@chakra-ui/react';\nimport React from 'react';\n\ninterface TimeInputProps {\n value?: string;\n onChange?: (time: string) => void;\n label?: string;\n rightAddon?: React.ReactNode | string;\n}\n\nconst TimeInput: React.FC<TimeInputProps> = ({ value, onChange, label, rightAddon }) => {\n const [time, setTime] = React.useState(value || '00:00');\n\n const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n setTime(e.target?.value || '00:00');\n if (onChange) onChange(e.target?.value || '00:00');\n };\n\n return (\n <Flex flexDir=\"column\" alignItems=\"center\" justifyContent=\"center\" p={4} pt={0}>\n <Text mb={2}>{label}</Text>\n <InputGroup alignItems=\"center\" justifyContent=\"center\">\n <Input onChange={handleChange} type=\"time\" value={time} data-test-id=\"CT_Component_datepicker_input_time\" />\n {rightAddon && <InputRightAddon>{rightAddon}</InputRightAddon>}\n </InputGroup>\n </Flex>\n );\n};\n\nTimeInput.displayName = 'DatepickerTimeInput';\n\nTimeInput.defaultProps = {\n value: '00:00',\n onChange: undefined,\n label: 'Pilih Waktu',\n rightAddon: 'WIB',\n};\nexport default TimeInput;\n","import {\n FormControl,\n FormErrorMessage,\n FormHelperText,\n FormLabel,\n Input,\n InputGroup,\n InputRightElement,\n} from '@chakra-ui/react';\nimport classnames from 'classnames';\nimport React from 'react';\nimport type { ReactDatePickerProps } from 'react-datepicker';\nimport ReactDatePicker from 'react-datepicker';\nimport { FiCalendar, FiX } from 'react-icons/fi';\n\nimport getWrapperStyle from '../../form/styles/input-field';\nimport Styles from './styles';\nimport TimeInput from './time-input';\n\nexport interface DatepickerProps extends Omit<ReactDatePickerProps, 'selectsRange'> {\n id?: string;\n isRequired?: boolean;\n label?: string;\n error?: string | React.ReactNode;\n isError?: boolean;\n helperText?: string | React.ReactNode;\n withTime?: boolean;\n onClear?: () => void;\n selectsRange?: boolean;\n showMonth?: boolean;\n shortMonth?: boolean;\n}\n\nconst Datepicker: React.FC<DatepickerProps> = ({\n id,\n label,\n error,\n isError,\n helperText,\n isRequired,\n withTime,\n value,\n name,\n onClear,\n showMonth,\n shortMonth,\n ...props\n}) => {\n const selected = value ? new Date(value) : undefined;\n const dateFormat = props.dateFormat ?? withTime ? 'yyyy-MM-dd HH:mm' : 'yyyy-MM-dd';\n const wrapperStyle = getWrapperStyle({});\n\n const getTimeProps = (): Pick<ReactDatePickerProps, 'showTimeInput' | 'customTimeInput' | 'timeInputLabel'> => {\n if (!withTime) return {};\n return {\n timeInputLabel: '',\n showTimeInput: true,\n customTimeInput: <TimeInput />,\n };\n };\n\n const component = (\n <>\n <Styles />\n <ReactDatePicker\n id={id}\n name={name}\n selected={selected}\n customInput={<Input autoComplete=\"off\" {...wrapperStyle} />}\n dateFormat={dateFormat}\n showPopperArrow={false}\n calendarClassName={classnames({ inline: props.inline })}\n showMonthDropdown={showMonth}\n useShortMonthInDropdown={showMonth ? shortMonth : false}\n {...getTimeProps()}\n {...props}\n />\n </>\n );\n\n if (props.inline) {\n return component;\n }\n\n return (\n <FormControl isRequired={isRequired} data-test-id=\"CT_Component_datepicker_wrapper\" isInvalid={isError}>\n {label && <FormLabel fontSize=\"text.sm\">{label}</FormLabel>}\n <InputGroup>\n {component}\n <InputRightElement>\n {!value && <FiCalendar />}\n {value && <FiX data-test-id=\"bcpJJyCP0z_RIAGZXDU6s\" onClick={onClear} cursor=\"pointer\" />}\n </InputRightElement>\n </InputGroup>\n {!isError ? <FormHelperText>{helperText}</FormHelperText> : <FormErrorMessage>{error}</FormErrorMessage>}\n </FormControl>\n );\n};\n\nDatepicker.defaultProps = {\n id: undefined,\n isRequired: undefined,\n label: undefined,\n error: undefined,\n isError: undefined,\n helperText: undefined,\n withTime: undefined,\n onClear: undefined,\n selectsRange: undefined,\n shortMonth: false,\n showMonth: false,\n};\n\nexport default Datepicker;\n","import { Box, Input } from '@chakra-ui/react';\nimport { css } from '@emotion/react';\nimport type { FC } from 'react';\nimport React from 'react';\n\nexport interface DatePickerMonthProps {\n onChange: (date: string) => void;\n\n 'data-test-id'?: string;\n min: string;\n max: string;\n}\n\nconst DatePickerMonth: FC<DatePickerMonthProps> = ({ onChange, min, max, ...props }) => {\n const [date, setDate] = React.useState<string | null>(null);\n return (\n <Box\n fontSize={'12px'}\n lineHeight={'18px'}\n css={css`\n input[type='date']::-webkit-inner-spin-button,\n input[type='date']::-webkit-calendar-picker-indicator {\n display: none;\n -webkit-appearance: none;\n }\n input[value=''] {\n width: 58px;\n }\n `}\n >\n <Input\n data-test-id={props['data-test-id']}\n type=\"date\"\n width={date ? '51px' : '58px'}\n onChange={e => {\n onChange(e.target.value);\n setDate(e.target.value);\n }}\n p={'8px'}\n min={min}\n max={max}\n required\n css={css`\n border: 1px solid transparent;\n\n &:focus,\n &:hover {\n border: 1px solid transparent;\n }\n\n &::placeholder {\n color: #111111;\n }\n `}\n value={date ?? ''}\n />\n </Box>\n );\n};\n\nDatePickerMonth.defaultProps = {\n 'data-test-id': '',\n};\n\nexport default DatePickerMonth;\n","import { Box } from '@chakra-ui/react';\nimport styled from '@emotion/styled';\nimport type { FC } from 'react';\nimport React from 'react';\n\nimport DatePickerMonth from './datepicker-month';\n\nexport interface MultiDatePickerMonthProps {\n onChange: (startDate: string | null, endDate: string | null) => void;\n\n min?: string;\n max?: string;\n isError?: boolean;\n}\n\nconst MultiDateWrapper = styled(Box)<{ isError: boolean }>`\n display: flex;\n align-items: center;\n width: fit-content;\n border: 1px solid;\n box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);\n border-radius: 4px;\n border-color: ${({ isError }) => (isError ? 'var(--chakra-colors-danger-500)' : 'var(--chakra-colors-primary-500)')};\n`;\n\nconst MultiDatePickerMonth: FC<MultiDatePickerMonthProps> = ({\n onChange,\n isError = false,\n min = '2020-01-01',\n max = '2020-12-31',\n}) => {\n const [date, setDate] = React.useState<(string | null)[]>([null, null]);\n return (\n <MultiDateWrapper isError={isError}>\n <DatePickerMonth\n data-test-id=\"CT_DatePickerMonth_StartDate\"\n onChange={val => {\n onChange(val, date[1]);\n setDate([val, date[1]]);\n }}\n min={min}\n max={max}\n />\n <Box>-</Box>\n <DatePickerMonth\n data-test-id=\"CT_DatePickerMonth_EndDate\"\n onChange={val => {\n onChange(date[0], val);\n setDate([date[0], val]);\n }}\n min={min}\n max={max}\n />\n </MultiDateWrapper>\n );\n};\n\nMultiDatePickerMonth.defaultProps = {\n min: '2020-01-01',\n max: '2020-12-31',\n isError: false,\n};\n\nexport default MultiDatePickerMonth;\n","import { InputLeftAddon, InputRightAddon } from '@chakra-ui/react';\nimport React from 'react';\n\ninterface InputAddonProps {\n children: React.ReactNode;\n}\n\nexport const InputAddonLeft = ({ children }: InputAddonProps) => {\n return (\n <InputLeftAddon backgroundColor=\"neutral.200\" px={3} py={2.5} style={{ border: 0, marginInlineEnd: 0 }}>\n {children}\n </InputLeftAddon>\n );\n};\n\nexport const InputAddonRight = ({ children }: InputAddonProps) => {\n return (\n <InputRightAddon backgroundColor=\"neutral.200\" px={3} py={2.5} style={{ border: 0, marginInlineStart: 0 }}>\n {children}\n </InputRightAddon>\n );\n};\n","import type { InputProps as ChakraInputProps } from '@chakra-ui/react';\nimport { Box, Input as ChakraInput, InputGroup } from '@chakra-ui/react';\nimport { Close, Eye, EyeOff } from '@ctlyst.id/internal-icon';\nimport type { ReactNode } from 'react';\nimport React, { useMemo, useState } from 'react';\n\nimport type { FieldProps } from '../../field/components/field';\nimport Field from '../../field/components/field';\nimport { Loader } from '../../loader';\nimport getWrapperStyle from '../styles/input-field';\n\nexport interface InputFieldProps extends ChakraInputProps, FieldProps {\n addOnLeft?: ReactNode;\n addOnRight?: ReactNode;\n withClear?: boolean;\n isLoading?: boolean;\n onClear?: () => void;\n}\n\nconst InputField = React.forwardRef<HTMLInputElement, InputFieldProps>((props, ref) => {\n const {\n value,\n type,\n addOnLeft,\n addOnRight,\n size,\n isRequired,\n label,\n isError,\n isSuccess,\n isDisabled,\n errorMessage,\n leftHelperText,\n rightHelperText,\n withClear,\n onClear,\n isLoading,\n ...inputProps\n } = props;\n\n const wrapperStyle = getWrapperStyle(props);\n const [isShowPassword, setIsShowPassword] = useState(false);\n\n const inputType = useMemo(() => {\n return type === 'password' && isShowPassword ? 'text' : type;\n }, [isShowPassword, type]);\n\n const fontSize = useMemo(() => {\n if (type === 'password') {\n if (!isShowPassword && value) return 'text.xl';\n }\n return 'text.sm';\n }, [isShowPassword, type, value]);\n\n const iconColor = useMemo(() => {\n return isDisabled ? 'black.low' : 'black.medium';\n }, [isDisabled]);\n\n return (\n <Field\n label={label}\n isSuccess={isSuccess}\n isError={isError}\n errorMessage={errorMessage}\n leftHelperText={leftHelperText}\n rightHelperText={rightHelperText}\n isRequired={isRequired}\n >\n <Box __css={wrapperStyle}>\n <InputGroup\n size={size}\n borderRadius=\"sm\"\n backgroundColor={isDisabled ? 'neutral.300' : 'white.high'}\n cursor={isDisabled ? 'not-allowed' : 'default'}\n >\n {addOnLeft}\n <ChakraInput\n ref={ref}\n type={inputType}\n value={value}\n isDisabled={isDisabled}\n isSuccess={isSuccess}\n {...inputProps}\n fontSize={fontSize}\n />\n {(withClear || isLoading || type === 'password') && (\n <Box\n data-test-id=\"CT_Component_ClearInput\"\n display=\"flex\"\n alignItems=\"center\"\n justifyContent=\"center\"\n width=\"16px\"\n mr=\"10px\"\n >\n {withClear && !isLoading && (\n <Box\n display=\"flex\"\n justifyContent=\"center\"\n onClick={!isDisabled ? onClear : undefined}\n cursor={isDisabled ? 'not-allowed' : 'pointer'}\n >\n <Close size={4} color={iconColor} />\n </Box>\n )}\n {type === 'password' && !isShowPassword && !isLoading && (\n <Box\n data-test-id=\"q2Bj2G4FlamXyHuRKMZ1Q\"\n onClick={() => {\n if (!isDisabled) setIsShowPassword(true);\n }}\n cursor={isDisabled ? 'not-allowed' : 'pointer'}\n display=\"flex\"\n justifyContent=\"center\"\n >\n <EyeOff size={4} color={iconColor} />\n </Box>\n )}\n {type === 'password' && isShowPassword && !isLoading && (\n <Box\n data-test-id=\"sfc2388bmeXBmdla45Ibk\"\n onClick={() => {\n if (!isDisabled) setIsShowPassword(false);\n }}\n cursor={isDisabled ? 'not-allowed' : 'pointer'}\n display=\"flex\"\n justifyContent=\"center\"\n >\n <Eye size={4} color={iconColor} />\n </Box>\n )}\n {isLoading && <Loader size=\"sm\" />}\n </Box>\n )}\n {addOnRight}\n </InputGroup>\n </Box>\n </Field>\n );\n});\n\nInputField.defaultProps = {\n addOnLeft: undefined,\n addOnRight: undefined,\n withClear: undefined,\n isLoading: undefined,\n onClear: undefined,\n};\n\nexport default InputField;\n","import type { TextareaProps as ChakraTextareaProps } from '@chakra-ui/react';\nimport { Box, Textarea as ChakraTextarea } from '@chakra-ui/react';\nimport React from 'react';\n\nimport type { FieldProps } from '../../field';\nimport { Field } from '../../field';\nimport { Loader } from '../../loader';\n\nexport interface TextAreaProps extends ChakraTextareaProps, FieldProps {\n isLoading?: boolean;\n}\n\nconst TextareaField = React.forwardRef<HTMLTextAreaElement, TextAreaProps>((props, ref) => {\n const { value, isLoading, ...inputProps } = props;\n\n return (\n <Field {...inputProps}>\n <Box position=\"relative\">\n <ChakraTextarea ref={ref} value={value} {...inputProps} />\n {isLoading && (\n <Box zIndex={999} top={2} right={2} position=\"absolute\">\n <Loader size=\"sm\" />\n </Box>\n )}\n </Box>\n </Field>\n );\n});\n\nTextareaField.defaultProps = {\n isLoading: undefined,\n};\n\nexport default TextareaField;\n","import type { BoxProps } from '@chakra-ui/react';\nimport { Box, Image, useColorModeValue } from '@chakra-ui/react';\nimport React from 'react';\n\nexport interface LogoProps {\n url?: string;\n imageUrl: string;\n height?: BoxProps['h'];\n}\nexport const Logo: React.FC<LogoProps> = ({ url, imageUrl, height }) => {\n if (url)\n return (\n <Box as=\"a\" href={url} cursor=\"pointer\" target=\"_self\">\n <Image w=\"100%\" h={height ?? 9} maxH={height ?? 9} src={imageUrl} alt={imageUrl} />\n </Box>\n );\n\n return <Image w=\"100%\" h={height ?? 9} maxH={height ?? 9} src={imageUrl} alt={imageUrl} />;\n};\n\nexport const XMSLogo = () => (\n <Image\n height={8}\n src={useColorModeValue('https://assets.voila.id/xms/logo-xms.jpg', 'https://assets.voila.id/xms/logo-xms-dark.png')}\n />\n);\n\nexport const VoilaLogo = () => (\n <Image\n src=\"https://assets.voila.id/xms/logo-voila-black.png?v=1\"\n filter={useColorModeValue('none', 'invert(1)')}\n maxW={24}\n />\n);\n\nLogo.defaultProps = {\n url: undefined,\n height: undefined,\n};\n","import type { BoxProps } from '@chakra-ui/react';\nimport {\n Avatar,\n Box,\n Flex,\n HStack,\n Popover,\n PopoverArrow,\n PopoverBody,\n PopoverContent,\n PopoverTrigger,\n Text,\n useColorModeValue,\n useDisclosure,\n VStack,\n} from '@chakra-ui/react';\nimport * as React from 'react';\nimport { FiPower } from 'react-icons/fi';\n\nimport { Badge } from '../../badge';\nimport type { HeaderDataProps } from '../types';\n\nexport type ProfileProps = {\n color?: BoxProps['color'];\n brandColor?: BoxProps['bgColor'];\n data?: HeaderDataProps;\n onLogout?: () => void;\n};\n\nconst Profile: React.FC<ProfileProps> = ({ color, brandColor, data, onLogout }) => {\n const { isOpen, onToggle, onClose } = useDisclosure();\n\n return (\n <Popover placement=\"bottom-end\" isOpen={isOpen} onClose={onClose}>\n <Box\n data-test-id=\"WE0UYbA93LOZy6S09IhDO\"\n as=\"button\"\n cursor={'pointer'}\n minW={0}\n _hover={{ textDecor: 'none' }}\n m={0}\n onClick={onToggle}\n color={color}\n >\n <HStack>\n <VStack alignItems=\"flex-end\" spacing={0} ml=\"2\" color={color}>\n <Text textStyle=\"text.xs\" mb={1}>\n {data?.email}\n </Text>\n <Flex alignItems=\"center\">\n {data?.userRole && <Text textStyle=\"text.xs\">{data?.userRole || 'user'}</Text>}\n <Box h=\"3\" mx=\"1\" borderLeft=\"1px solid\" borderColor=\"neutral.400\" />\n {typeof data?.office === 'object' ? (\n <>\n <Text textStyle=\"text.xs\">{data.office[0]}</Text>\n {data.office.length > 1 && (\n <Badge ml=\"1\" pill variant=\"neutral-light\">\n {data.office.length - 1}+\n </Badge>\n )}\n </>\n ) : (\n <Text textStyle=\"text.xs\">{data?.office || 'office'}</Text>\n )}\n </Flex>\n </VStack>\n <PopoverTrigger>\n <Avatar size=\"sm\" bg={brandColor} color=\"white\" name={data?.name ?? data?.email} />\n </PopoverTrigger>\n </HStack>\n </Box>\n <PopoverContent bg={useColorModeValue('white', 'mirage.900')} maxW={200}>\n <PopoverArrow bg={useColorModeValue('white', 'mirage.900')} />\n <PopoverBody p={1}>\n <Flex\n data-test-id=\"gA7F9pucPX_Q3_dkgXIYZ\"\n alignItems=\"center\"\n px={3}\n py={2}\n borderRadius=\"sm\"\n cursor=\"pointer\"\n _hover={{ bg: useColorModeValue('primary.500', 'mirage.900'), color: 'white' }}\n onClick={onLogout}\n textStyle=\"text.xs\"\n >\n <FiPower />\n <Text ml={2}>Logout</Text>\n </Flex>\n </PopoverBody>\n </PopoverContent>\n </Popover>\n );\n};\n\nProfile.defaultProps = {\n brandColor: 'primary.500',\n data: undefined,\n onLogout: undefined,\n color: undefined,\n};\n\nexport default Profile;\n","import { Box, useColorMode } from '@chakra-ui/react';\nimport * as React from 'react';\nimport { FiMoon, FiSun } from 'react-icons/fi';\n\nconst SwitchMode: React.FC = () => {\n const { colorMode, toggleColorMode } = useColorMode();\n return (\n <Box data-test-id=\"rhYuTDCiWkFqr96upiEEh\" mx={5} onClick={toggleColorMode} cursor=\"pointer\">\n {colorMode === 'light' ? <FiMoon size={20} /> : <FiSun size={20} />}\n </Box>\n );\n};\n\nexport default SwitchMode;\n","import type { Environment } from '../types';\n\n// eslint-disable-next-line import/prefer-default-export\nexport function environmentName(env?: Environment) {\n switch (env) {\n case 'DEVELOPMENT':\n return 'Dev';\n case 'STAGING':\n return 'Staging';\n default:\n return null;\n }\n}\n","/* eslint-disable react-hooks/rules-of-hooks */\nimport { Box } from '@chakra-ui/react';\nimport * as React from 'react';\n\nimport { Badge } from '../../badge';\nimport type { Environment } from '../types';\nimport { environmentName } from '../utils/formatter';\n\nexport type VersionProps = {\n hideEnv?: boolean;\n environment?: Environment;\n version?: string;\n onOpenModalRelease?: () => void;\n};\n\nconst Version: React.FC<VersionProps> = ({ hideEnv, version, environment, onOpenModalRelease }) => (\n <>\n {version && (\n <Badge\n data-test-id=\"dzl3esjhCphobaaIXpiUE\"\n variant=\"neutral-light\"\n onClick={onOpenModalRelease}\n cursor={onOpenModalRelease ? 'pointer' : 'auto'}\n >\n {version}\n </Badge>\n )}\n {!hideEnv && environmentName(environment) !== null && version && (\n <Box\n background=\"primary.50\"\n color=\"primary.500\"\n fontSize=\"text.xs\"\n py={1}\n px={2.5}\n fontWeight=\"bold\"\n borderRadius=\"md\"\n >\n {environmentName(environment)}\n </Box>\n )}\n </>\n);\n\nVersion.defaultProps = {\n hideEnv: false,\n environment: undefined,\n version: undefined,\n onOpenModalRelease: undefined,\n};\n\nexport default Version;\n","import type { BoxProps } from '@chakra-ui/react';\nimport { Flex, HStack } from '@chakra-ui/react';\nimport * as React from 'react';\n\nimport type { HeaderDataProps } from '../types';\nimport { Logo } from './logo';\nimport Profile from './profile';\nimport SwitchMode from './switch-mode';\nimport Version from './version';\n\nexport type HeaderProps = BoxProps & {\n brandColor?: BoxProps['bgColor'];\n data?: HeaderDataProps;\n onLogout?: () => void;\n onOpenModalRelease?: () => void;\n hideSwitchMode?: boolean;\n mainLogo?: string;\n mainLogoSize?: BoxProps['h'];\n centerLogo?: string;\n centerLogoSize?: BoxProps['h'];\n hideEnv?: boolean;\n urlLogo?: string;\n profile?: React.ReactNode;\n};\n\nconst Header: React.FC<HeaderProps> = ({\n brandColor,\n data,\n onLogout,\n onOpenModalRelease,\n hideSwitchMode,\n mainLogo,\n centerLogo,\n mainLogoSize,\n centerLogoSize = 4,\n hideEnv = false,\n urlLogo,\n children,\n profile,\n ...props\n}) => (\n <Flex minH={15} bg={props.bg} bgColor={props.bgColor} shadow=\"raised\" px={6} py={3} alignItems=\"center\" {...props}>\n <Flex h=\"auto\" w=\"full\" alignItems=\"center\" justifyContent={profile ? 'flex-end' : 'space-between'} pos=\"relative\">\n {mainLogo && (\n <Flex alignItems=\"center\">\n <Logo url={urlLogo} imageUrl={mainLogo} height={mainLogoSize} />\n {children && children}\n </Flex>\n )}\n\n {centerLogo && (\n <HStack w=\"fit-content\" spacing={2} alignItems=\"center\" pos=\"absolute\" left=\"50%\" transform=\"translate(-50%,0)\">\n <Logo url={urlLogo} imageUrl={centerLogo} height={centerLogoSize} />\n <Version\n hideEnv={hideEnv}\n version={data?.version}\n environment={data?.environment}\n onOpenModalRelease={onOpenModalRelease}\n />\n </HStack>\n )}\n\n {profile || (\n <Flex alignItems=\"center\">\n {!hideSwitchMode && <SwitchMode />}\n <Profile color={props.color} brandColor={brandColor} data={data} onLogout={onLogout} />\n </Flex>\n )}\n </Flex>\n </Flex>\n);\n\nHeader.defaultProps = {\n brandColor: undefined,\n data: undefined,\n onLogout: undefined,\n onOpenModalRelease: undefined,\n hideSwitchMode: true,\n mainLogo: undefined,\n mainLogoSize: undefined,\n centerLogo: undefined,\n centerLogoSize: undefined,\n hideEnv: false,\n urlLogo: undefined,\n profile: undefined,\n};\n\nexport default Header;\n","import type { ModalBodyProps } from '@chakra-ui/react';\nimport { ModalBody as ChakraModalBody, useColorModeValue } from '@chakra-ui/react';\nimport React from 'react';\n\nconst ModalBody = React.forwardRef<HTMLDivElement, ModalBodyProps>(({ children, ...rest }, ref) => {\n return (\n <ChakraModalBody ref={ref} background={useColorModeValue('white', 'mirage.900')} {...rest}>\n {children}\n </ChakraModalBody>\n );\n});\n\nexport default ModalBody;\n","import type { ButtonProps } from '@chakra-ui/react';\nimport { ModalCloseButton as ChakraModalCloseButton, useColorModeValue } from '@chakra-ui/react';\nimport React, { forwardRef } from 'react';\n\nconst ModalCloseButton = forwardRef<HTMLButtonElement, ButtonProps>((props, ref) => {\n return (\n <ChakraModalCloseButton\n ref={ref}\n top={4}\n right={4}\n size=\"sm\"\n background={useColorModeValue('neutral.50', 'mirage.900')}\n {...props}\n />\n );\n});\nexport default ModalCloseButton;\n","import type { ModalFooterProps } from '@chakra-ui/react';\nimport { ModalFooter as ChakraModalFooter, useColorModeValue } from '@chakra-ui/react';\nimport React, { forwardRef } from 'react';\n\nconst ModalFooter = forwardRef<HTMLDivElement, ModalFooterProps>(({ children, ...rest }, ref) => {\n return (\n <ChakraModalFooter\n ref={ref}\n background={useColorModeValue('neutral.200', 'mirage.900')}\n borderBottomRadius=\"sm\"\n {...rest}\n >\n {children}\n </ChakraModalFooter>\n );\n});\n\nexport default ModalFooter;\n","import type { ModalHeaderProps } from '@chakra-ui/react';\nimport { ModalHeader as ChakraModalHeader, useColorModeValue } from '@chakra-ui/react';\nimport React, { forwardRef } from 'react';\n\nconst ModalHeader = forwardRef<HTMLDivElement, ModalHeaderProps>(({ children, ...rest }, ref) => {\n return (\n <ChakraModalHeader\n ref={ref}\n background={useColorModeValue('neutral.200', 'mirage.900')}\n borderTopRadius=\"sm\"\n textStyle=\"text-lg\"\n {...rest}\n >\n {children}\n </ChakraModalHeader>\n );\n});\n\nexport default ModalHeader;\n","import { createIcon } from '@chakra-ui/react';\nimport React from 'react';\n\nconst CustomerIcon = createIcon({\n displayName: 'CustomerIcon',\n viewBox: '0 0 16 16',\n path: [\n <path\n fill=\"currentColor\"\n fillRule=\"inherit\"\n d=\"M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2ZM.667 8a7.333 7.333 0 1 1 14.666 0A7.333 7.333 0 0 1 .667 8Z\"\n clipRule=\"inherit\"\n />,\n <path\n fill=\"currentColor\"\n d=\"M12.416 12.698a1.997 1.997 0 0 0-1.75-1.031H5.334a2 2 0 0 0-1.864 1.277 7.722 7.722 0 0 1-.943-1.074 3.329 3.329 0 0 1 2.807-1.537h5.334a3.333 3.333 0 0 1 2.703 1.384c-.275.325-.594.66-.954.98Z\"\n />,\n <path\n fill=\"currentColor\"\n fillRule=\"inherit\"\n d=\"M8 5.333A1.333 1.333 0 1 0 8 8a1.333 1.333 0 0 0 0-2.667ZM5.333 6.667a2.667 2.667 0 1 1 5.334 0 2.667 2.667 0 0 1-5.334 0Z\"\n clipRule=\"inherit\"\n />,\n ],\n});\n\nexport default CustomerIcon;\n","/* eslint-disable import/prefer-default-export */\nimport {\n FiBox,\n FiDollarSign,\n FiGift,\n FiLayers,\n FiLayout,\n FiRepeat,\n FiRotateCcw,\n FiSettings,\n FiShoppingBag,\n FiShoppingCart,\n FiUsers,\n} from 'react-icons/fi';\nimport type { IconType } from 'react-icons/lib';\n\nimport CustomerIcon from './customer-icon';\n\nexport const mappingIcon = new Map([\n ['Order', FiShoppingBag],\n ['Fulfillment', FiShoppingCart],\n ['Transfer Stock', FiRepeat],\n ['Stock', FiBox],\n ['Product Database', FiLayers],\n ['Purchasing', FiDollarSign],\n ['Reseller', FiUsers],\n ['Retur', FiRotateCcw],\n ['Other', FiSettings],\n ['Content', FiLayout],\n ['Voucher', FiGift],\n ['Customer', CustomerIcon as IconType],\n]);\n","/* eslint-disable react-hooks/rules-of-hooks */\nimport { ChevronDownIcon } from '@chakra-ui/icons';\nimport type { As, BoxProps } from '@chakra-ui/react';\nimport {\n Box,\n Flex,\n HStack,\n Icon,\n Link,\n Popover,\n PopoverContent,\n PopoverTrigger,\n Portal,\n Text,\n useColorModeValue,\n} from '@chakra-ui/react';\nimport { css } from '@emotion/react';\nimport * as React from 'react';\n\nimport type { NavigationLink } from '../types';\nimport { mappingIcon } from './mapping-icon';\n\nexport type NavigationProps = BoxProps & {\n navigations?: NavigationLink[];\n activePath: string;\n as?: As;\n host?: string;\n};\n\nconst Navigation: React.FC<NavigationProps> = ({ navigations, activePath, as, host, ...props }) => {\n return (\n <Box\n bg={useColorModeValue('white', 'ebony-clay.800')}\n boxShadow=\"0 4px 20px 0 rgb(0 0 0 / 5%)\"\n borderRadius=\"md\"\n overflowX=\"auto\"\n {...props}\n >\n <Flex alignItems=\"center\" p={2}>\n <HStack spacing={2}>\n {navigations?.map(navigation => {\n const isActive = activePath.startsWith(navigation.navLink || '');\n const activeBg = isActive ? 'primary.500' : undefined;\n return (\n <Popover key={navigation.title} trigger=\"hover\" placement=\"bottom-start\">\n {({ isOpen }) => (\n <>\n <PopoverTrigger>\n <Box\n display=\"flex\"\n alignItems=\"center\"\n borderRadius=\"md\"\n cursor=\"pointer\"\n _hover={{\n backgroundColor: !isActive ? useColorModeValue('dove-gray.50', 'transparent') : activeBg,\n }}\n backgroundColor={\n isOpen && !isActive ? useColorModeValue('dove-gray.50', 'transparent') : activeBg\n }\n color={isActive ? 'white' : 'inherit'}\n p={2}\n >\n <Icon as={mappingIcon.get(navigation.title)} mr={2} />\n <Text whiteSpace=\"nowrap\" fontSize=\"text.sm\" fontWeight={400}>\n {navigation.title}\n </Text>\n <ChevronDownIcon ml={2} />\n </Box>\n </PopoverTrigger>\n {navigation.children && (\n <Portal>\n <Box zIndex=\"popover\">\n <PopoverContent\n key={navigation.title}\n bg={useColorModeValue('white', 'ebony-clay.800')}\n maxW={250}\n border=\"none\"\n borderRadius=\"md\"\n boxShadow=\"0 5px 25px rgb(0 0 0 / 10%)\"\n >\n {navigation.children.map(({ title, navHost, navLink }) => {\n const link = navHost ? `${navHost}${navLink}` : navLink;\n const isLocalLink = host === navHost;\n const isActiveSub = activePath === navLink;\n return (\n <Link\n as={isLocalLink ? as : undefined}\n key={title}\n href={link}\n _hover={{\n textDecoration: 'none',\n }}\n >\n <Box\n display=\"flex\"\n position=\"relative\"\n alignItems=\"center\"\n cursor=\"pointer\"\n transition=\"padding 0.35s ease 0s\"\n _hover={{\n backgroundColor: useColorModeValue('dove-gray.50', 'mirage.900'),\n color: useColorModeValue('primary.500', 'dove-gray.600'),\n px: 5,\n py: 4,\n _first: { borderTopRadius: 'md' },\n _last: { borderBottomRadius: 'md' },\n }}\n color={isActiveSub ? 'primary.500' : 'inherit'}\n css={css`\n border-spacing: 4px;\n `}\n px={6}\n py={4}\n >\n <Icon as={mappingIcon.get(navigation.title)} mr={3} />\n <Text fontSize=\"text.sm\">{title}</Text>\n {isActiveSub && (\n <Box\n width={0.5}\n height={8}\n position=\"absolute\"\n bg=\"primary.500\"\n right={0}\n zIndex=\"popover\"\n />\n )}\n </Box>\n </Link>\n );\n })}\n </PopoverContent>\n </Box>\n </Portal>\n )}\n </>\n )}\n </Popover>\n );\n })}\n </HStack>\n </Flex>\n </Box>\n );\n};\n\nNavigation.defaultProps = {\n navigations: undefined,\n as: 'a',\n host: undefined,\n};\n\nexport default Navigation;\n","/* eslint-disable react-hooks/rules-of-hooks */\nimport type { BoxProps } from '@chakra-ui/react';\nimport { Box, Button, Flex, Link, Popover, PopoverContent, PopoverTrigger, Text } from '@chakra-ui/react';\nimport * as Icon from '@ctlyst.id/internal-icon';\nimport React from 'react';\n\nimport type { Menu, SubMenu } from '../types';\n\nexport type NavigationBarProps = BoxProps & {\n navigations?: Menu[];\n isFetched: boolean;\n pathname: string;\n asPath: string;\n mappingIcon: Map<string, JSX.Element>;\n};\n\nconst NavigationBar: React.FC<NavigationBarProps> = ({\n navigations,\n isFetched,\n pathname,\n asPath,\n mappingIcon,\n ...props\n}) => {\n const urlMenu = (subMenu: SubMenu) => {\n if (window.location.hostname === 'localhost') {\n return subMenu.navLink;\n }\n return subMenu.navHost + subMenu.navLink;\n };\n\n return (\n <Box\n hidden={isFetched && navigations === undefined}\n backgroundRepeat=\"repeat-x\"\n data-test-id=\"CT_component_navigation_cms\"\n {...props}\n >\n <Flex\n bg=\"white\"\n w=\"full\"\n rounded={'md'}\n flexWrap=\"wrap\"\n alignItems=\"center\"\n shadow=\"raised\"\n gap={1}\n px={4}\n py={2}\n >\n {navigations?.map((item: Menu) => {\n const childMenu = item.children.filter(subMenu => asPath?.includes(subMenu.navLink));\n\n const isActive = pathname?.startsWith(childMenu[0]?.navLink);\n const activeBg = isActive ? 'primary.500' : undefined;\n\n return (\n <Popover isLazy key={item.id} trigger=\"hover\" placement=\"bottom-start\" openDelay={100} closeDelay={100}>\n {({ isOpen, onClose }) => (\n <>\n <PopoverTrigger>\n <Button\n h={7.5}\n p={2}\n size=\"sm\"\n variant=\"ghost\"\n data-test-id={`CT_component_navigation_button-${item.title}${isActive ? '-active' : ''}`}\n _hover={{\n backgroundColor: !isActive ? 'neutral.400' : activeBg,\n }}\n backgroundColor={isOpen && !isActive ? 'neutral.400' : activeBg}\n color={isActive ? 'primary.50' : 'black.high'}\n leftIcon={mappingIcon.get(item.title)}\n rightIcon={<Icon.ChevronDown size={4} color=\"inherit\" />}\n >\n {item.title}\n </Button>\n </PopoverTrigger>\n\n {item.children && (\n <PopoverContent border=\"none\" shadow=\"raised\" py={1} width={240}>\n {item.children.map((subMenu: SubMenu) => (\n <Link\n key={subMenu.id}\n href={urlMenu(subMenu)}\n display=\"flex\"\n alignItems=\"center\"\n transition=\"padding 0.35s ease 0s\"\n _hover={{\n pl: 6,\n }}\n _first={{ borderTopRadius: 'md' }}\n _last={{ borderBottomRadius: 'md' }}\n py={3}\n px={4}\n color={pathname?.startsWith(subMenu.navLink) ? 'primary.800' : 'black.high'}\n onClick={onClose}\n background={pathname?.startsWith(subMenu.navLink) ? 'primary.50' : 'transparent'}\n data-test-id={`CT_component_navigation_link-${item.id}`}\n >\n {mappingIcon.get(item.title)}\n <Text textStyle=\"text-sm\" ml={3}>\n {subMenu.title}\n </Text>\n </Link>\n ))}\n </PopoverContent>\n )}\n </>\n )}\n </Popover>\n );\n })}\n </Flex>\n </Box>\n );\n};\n\nNavigationBar.defaultProps = {\n navigations: undefined,\n};\n\nexport default NavigationBar;\n","import type { ButtonProps } from '@chakra-ui/react';\nimport { Button, forwardRef, useColorModeValue } from '@chakra-ui/react';\nimport React from 'react';\n\nexport interface PaginationButtonProps {\n isActive?: boolean;\n}\n\nconst PaginationButton = forwardRef<ButtonProps, 'button'>(({ className, style, isActive, children, ...rest }, ref) => {\n const btnBg = useColorModeValue('neutral.300', 'mirage.900');\n const btnColor = useColorModeValue('black.high', 'primary.300');\n const btnNotActiveBg = useColorModeValue('secondary.50', 'primary.500');\n const btnNotActiveColor = useColorModeValue('primary.500', 'white');\n return (\n <Button\n data-test-id=\"Pagination-Button\"\n ref={ref}\n className={className}\n style={style}\n borderRadius=\"full\"\n fontWeight=\"semibold\"\n m={0}\n px={3}\n py={2}\n h={8}\n minW=\"auto\"\n width={8}\n background={isActive ? 'primary.500' : btnBg}\n color={isActive ? 'white' : btnColor}\n _hover={\n !isActive\n ? {\n background: btnNotActiveBg,\n color: btnNotActiveColor,\n }\n : {}\n }\n _disabled={{\n background: useColorModeValue('neutral.300', 'mirage.900'),\n color: 'neutral.600',\n pointerEvents: 'none',\n }}\n {...rest}\n >\n {children}\n </Button>\n );\n});\n\nPaginationButton.displayName = 'PaginationButton';\n\nPaginationButton.defaultProps = {\n isActive: undefined,\n};\n\nexport default PaginationButton;\n","import { VisuallyHidden } from '@chakra-ui/react';\nimport * as React from 'react';\n\nimport PaginationButton from './pagination-button';\n\ntype PaginationButtonTriggerProps = {\n color?: string;\n isDisabled?: boolean;\n onClick?: () => void;\n visuallyHidden?: string;\n icon?: React.ReactNode;\n};\n\nconst PaginationButtonTrigger: React.FC<PaginationButtonTriggerProps> = ({\n color,\n isDisabled,\n onClick,\n visuallyHidden,\n icon,\n}) => (\n <PaginationButton data-test-id=\"DLVCc_fBK35spHm5WxjcJ\" color={color} isDisabled={isDisabled} onClick={onClick}>\n <VisuallyHidden>{visuallyHidden}</VisuallyHidden>\n {icon}\n </PaginationButton>\n);\n\nPaginationButtonTrigger.defaultProps = {\n color: undefined,\n isDisabled: undefined,\n onClick: undefined,\n visuallyHidden: undefined,\n icon: undefined,\n};\n\nexport default PaginationButtonTrigger;\n","import { ArrowLeftIcon, ArrowRightIcon, ChevronLeftIcon, ChevronRightIcon } from '@chakra-ui/icons';\nimport { Box, Text, useColorModeValue } from '@chakra-ui/react';\nimport * as React from 'react';\n\nimport PaginationButton from './pagination-button';\nimport PaginationButtonTrigger from './pagination-button-trigger';\n\nexport interface PaginationProps {\n /** Additional CSS classes to give to the pagination. */\n className?: string;\n /** The current page number. */\n current: number;\n /** Total number of pages. */\n total: number;\n /**\n * Callback to run when a page number is selected. You can use this to e.g.\n * run setState on your component's page state.\n */\n onSelect?: (page: number) => void;\n}\n\nconst Pagination: React.FC<PaginationProps> = ({ className, current, total, onSelect }) => {\n const btnColorDisabled = useColorModeValue('secondary.100', 'primary.500');\n const btnColor = useColorModeValue('primary.500', 'secondary.100');\n const disabledPrevious = current === 1;\n const previousButtonColor = disabledPrevious ? btnColorDisabled : btnColor;\n const disabledNext = current === total;\n const nextButtonColor = disabledNext ? btnColorDisabled : btnColor;\n\n const handleSelectPage = (page: number) => {\n if (onSelect) {\n onSelect(page);\n }\n };\n\n const generatePages = (): (number | string)[] => {\n const maxButtons = 5;\n const pageButtons: (number | string)[] = [];\n\n let startPage: number;\n let endPage: number;\n\n if (maxButtons && maxButtons < total) {\n startPage = Math.max(Math.min(current - Math.floor(maxButtons / 2), total - maxButtons + 1), 1);\n endPage = startPage + maxButtons - 1;\n } else {\n startPage = 1;\n endPage = total;\n }\n\n // eslint-disable-next-line no-plusplus\n for (let page = startPage; page <= endPage; ++page) {\n pageButtons.push(page);\n }\n\n return pageButtons;\n };\n\n return (\n <Box className={className} display=\"inline-flex\" alignItems=\"center\">\n <Box mr={1}>\n <PaginationButtonTrigger\n data-test-id=\"Pagination-Button\"\n color={previousButtonColor}\n isDisabled={disabledPrevious}\n onClick={() => handleSelectPage(1)}\n visuallyHidden=\"First Page\"\n icon={<ArrowLeftIcon width={2} />}\n />\n </Box>\n <Box bg=\"neutral.300\" borderRadius=\"full\">\n <PaginationButtonTrigger\n data-test-id=\"Pagination-Button\"\n color={previousButtonColor}\n isDisabled={disabledPrevious}\n onClick={() => handleSelectPage(current - 1)}\n visuallyHidden=\"Previous Page\"\n icon={<ChevronLeftIcon />}\n />\n {generatePages().map(page => {\n return (\n <PaginationButton\n data-test-id=\"Pagination-Button\"\n key={page}\n isActive={page === current}\n onClick={() => (typeof page === 'number' ? handleSelectPage(page) : null)}\n >\n <Text scale={300} fontSize=\"text.sm\" lineHeight={18} fontWeight={500}>\n {page}\n </Text>\n </PaginationButton>\n );\n })}\n <PaginationButtonTrigger\n data-test-id=\"Pagination-Button\"\n color={nextButtonColor}\n isDisabled={disabledNext}\n onClick={() => handleSelectPage(current + 1)}\n visuallyHidden=\"Next Page\"\n icon={<ChevronRightIcon />}\n />\n </Box>\n <Box ml={1}>\n <PaginationButtonTrigger\n data-test-id=\"Pagination-Button\"\n color={nextButtonColor}\n isDisabled={disabledNext}\n onClick={() => handleSelectPage(total)}\n visuallyHidden=\"Last Page\"\n icon={<ArrowRightIcon width={2} />}\n />\n </Box>\n </Box>\n );\n};\n\nPagination.defaultProps = {\n className: undefined,\n onSelect: undefined,\n};\n\nPagination.displayName = 'Pagination';\n\nexport default Pagination;\n","import type { TextProps } from '@chakra-ui/react';\nimport { Text } from '@chakra-ui/react';\nimport * as React from 'react';\n\nexport interface PaginationDetailProps extends TextProps {\n // Current page of pages\n page: number;\n /** Total limit of pages. */\n limit: number;\n // Length of data\n length: number;\n}\n\nconst PaginationDetail: React.FC<PaginationDetailProps> = ({\n page,\n limit,\n length,\n scale = 300,\n fontSize = 'xs',\n lineHeight = 18,\n ...rest\n}) => {\n return (\n <Text scale={scale} fontSize={fontSize} lineHeight={lineHeight} {...rest}>\n {`${(page - 1) * limit + 1}-${limit * page < length ? limit * page : length} dari ${length} item`}\n </Text>\n );\n};\n\nexport default PaginationDetail;\n","import { Box, Select, Text, useColorModeValue } from '@chakra-ui/react';\nimport * as React from 'react';\nimport { FiChevronDown } from 'react-icons/fi';\n\nexport interface PaginationFilterProps<T> {\n /** Total limit of pages. */\n limit?: number;\n /** Label in front of select input */\n label?: string;\n /** Label items. */\n items: T[];\n /** The change handler for the select. */\n onChange: (changes: T) => void;\n}\n\nconst PaginationFilter: React.FC<PaginationFilterProps<number>> = ({\n limit,\n label = 'Baris per halaman:',\n items,\n onChange,\n ...rest\n}) => {\n const [value, setValue] = React.useState(limit);\n\n return (\n <Box display=\"flex\" flexDirection=\"row\" alignItems=\"center\">\n <Text fontSize=\"text.sm\" lineHeight={18} color={useColorModeValue('neutral.900', 'white')} {...rest}>\n {label}\n </Text>\n <Select\n textAlign=\"center\"\n size=\"xs\"\n outline=\"none\"\n border=\"none\"\n boxShadow=\"none\"\n width={18}\n icon={<FiChevronDown />}\n _focusVisible={{ boxShadow: 'none' }}\n onChange={e => {\n const numberValue = Number(e.target.value);\n onChange(numberValue);\n setValue(numberValue);\n }}\n value={value}\n >\n {items.map(item => {\n return (\n <option key={item} value={item}>\n {item}\n </option>\n );\n })}\n </Select>\n </Box>\n );\n};\n\nPaginationFilter.defaultProps = {\n limit: 10,\n label: undefined,\n};\n\nexport default PaginationFilter;\n","/* eslint-disable no-nested-ternary */\nimport type { RadioProps } from '@chakra-ui/react';\nimport { Box, Radio, Text } from '@chakra-ui/react';\nimport type { PropsWithChildren } from 'react';\nimport React from 'react';\n\nexport interface RadioComponentProps extends RadioProps, PropsWithChildren {\n isError?: boolean;\n helpText?: string;\n errorText?: string;\n}\n\nfunction RadioComponent({\n isError = false,\n helpText = '',\n errorText = '',\n children,\n isDisabled,\n ...rest\n}: RadioComponentProps) {\n const variant = isError ? 'errors' : 'unstyled';\n return (\n <Box>\n <Box display=\"flex\">\n <Radio variant={variant} {...rest} isDisabled={isDisabled}>\n {children && (\n <Text as=\"span\" display=\"block\" textStyle=\"text.sm\" color={isDisabled ? 'black.medium' : 'black.high'}>\n {children}\n </Text>\n )}\n </Radio>\n </Box>\n <Box mt=\"5px\" ml=\"24px\">\n {isError ? (\n <Text as=\"span\" display=\"block\" textStyle=\"text.xs\" color=\"danger.500\">\n {errorText}\n </Text>\n ) : (\n <Text as=\"span\" display=\"block\" textStyle=\"text.xs\" color=\"black.medium\">\n {helpText}\n </Text>\n )}\n </Box>\n </Box>\n );\n}\n\nRadioComponent.defaultProps = {\n isError: false,\n helpText: '',\n errorText: '',\n};\n\nexport default RadioComponent;\n","/* eslint-disable no-nested-ternary */\nimport type { RadioGroupProps } from '@chakra-ui/react';\nimport { Box, RadioGroup, Stack } from '@chakra-ui/react';\nimport React from 'react';\n\nimport type { FieldProps } from '../../field';\nimport { Field } from '../../field';\n\nexport interface RadioGroupComponentProps extends FieldProps, RadioGroupProps {\n label: string;\n helpText?: string;\n isError?: boolean;\n errorMessage?: string;\n}\n\nfunction RadioGroupComponent(props: RadioGroupComponentProps) {\n const { children, label, helpText, isError, errorMessage, ...rest } = props;\n return (\n <Field {...rest} label={label} leftHelperText={helpText} isError={isError} errorMessage={errorMessage}>\n <Box mt=\"12px\">\n <RadioGroup {...rest}>\n <Stack spacing={[1, '16px']} direction={['column', 'row']}>\n {children}\n </Stack>\n </RadioGroup>\n </Box>\n </Field>\n );\n}\n\nRadioGroupComponent.defaultProps = {\n helpText: '',\n isError: false,\n errorMessage: '',\n};\n\nexport default RadioGroupComponent;\n","import { Grid } from '@chakra-ui/react';\nimport { Rating as RatingIcon } from '@ctlyst.id/internal-icon';\nimport React from 'react';\n\ntype PropsValue = 0 | 1 | 2 | 3 | 4 | 5;\n\nexport interface RatingProps {\n value: PropsValue;\n}\n\nconst Rating = ({ value }: RatingProps) => {\n return (\n <Grid gap={'4px'} display=\"flex\">\n {[...Array(5)].map((_, i) => (\n <RatingIcon color={i < value ? '#FFA230' : '#E0E0E0'} size={24} />\n ))}\n </Grid>\n );\n};\n\nexport default Rating;\n","import { Box } from '@chakra-ui/react';\nimport type { FC, PropsWithChildren } from 'react';\nimport React from 'react';\n\ninterface SelectWrapperProps {\n // eslint-disable-next-line react/no-unused-prop-types\n isError?: boolean;\n}\n\nconst SelectWrapper: FC<PropsWithChildren<SelectWrapperProps>> = ({ children }) => {\n return <Box>{children}</Box>;\n};\n\nSelectWrapper.defaultProps = {\n isError: false,\n};\n\nexport default SelectWrapper;\n","const fonts = {\r\n heading: `'Poppins', sans-serif`,\r\n body: `'Poppins', sans-serif`,\r\n};\r\n\r\nconst fontWeights = {\r\n hairline: 100,\r\n thin: 200,\r\n light: 300,\r\n normal: 400,\r\n medium: 500,\r\n semibold: 600,\r\n bold: 700,\r\n extrabold: 800,\r\n black: 900,\r\n};\r\n\r\nconst lineHeights = {\r\n normal: 'normal',\r\n none: 1,\r\n shorter: 1.25,\r\n short: 1.375,\r\n base: 1.5,\r\n tall: 1.625,\r\n 64: '4rem', // 64px\r\n 56: '3.5rem', // 56px\r\n 48: '3rem', // 48px\r\n 40: '2.5rem', // 40px\r\n 36: '2.25rem', // 36px\r\n 34: '2.125rem', // 34px\r\n 32: '2rem', // 32px\r\n 30: '1.875rem', // 30px\r\n 28: '1.75', // 28px\r\n 26: '1.625rem', // 26px\r\n 24: '1.5rem', // 24px\r\n 22: '1.375rem', // 22px\r\n 20: '1.25rem', // 20px\r\n 18: '1.125rem', // 18px\r\n 16: '1rem', // 16px\r\n 14: '0.875rem', // 14px\r\n 12: '0.75rem', // 12px\r\n};\r\n\r\nconst letterSpacings = {\r\n tighter: '-0.05em',\r\n tight: '-0.025em',\r\n normal: '0',\r\n wide: '0.025em',\r\n wider: '0.05em',\r\n widest: '0.1em',\r\n};\r\n\r\nconst fontSizes = {\r\n heading: {\r\n 1: '2.5rem', // 40px\r\n 2: '2rem', // 32px\r\n 3: '1.75rem', // 28px\r\n 4: '1.5rem', // 24px\r\n 5: '1.375rem', // 22px\r\n 6: '1.125rem', // 18px\r\n },\r\n text: {\r\n xl: '1.125rem', // 18px\r\n lg: '1rem', // 16px\r\n md: '0.875rem', // 14px\r\n sm: '0.75rem', // 12px\r\n xs: '0.625rem', // 10px\r\n },\r\n button: {\r\n lg: '1.125rem', // 18px\r\n md: '0.875rem', // 14px\r\n sm: '0.625rem', // 10px\r\n },\r\n field: {\r\n lg: '1rem', // 16px\r\n md: '0.875rem', // 14px\r\n sm: '0.75rem', // 12px\r\n },\r\n table: {\r\n header: '0.75rem', // 12px\r\n },\r\n};\r\n\r\nconst heading = {\r\n 1: {\r\n fontSize: fontSizes.heading[1],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[64],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n 2: {\r\n fontSize: fontSizes.heading[2],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[56],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n 3: {\r\n fontSize: fontSizes.heading[3],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[48],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n 4: {\r\n fontSize: fontSizes.heading[4],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[40],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n 5: {\r\n fontSize: fontSizes.heading[5],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[36],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n 6: {\r\n fontSize: fontSizes.heading[6],\r\n fontWeight: fontWeights.semibold,\r\n lineHeight: lineHeights[32],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n};\r\n\r\nconst text = {\r\n xl: {\r\n fontSize: fontSizes.text.xl,\r\n fontWeight: fontWeights.normal,\r\n lineHeight: lineHeights[28],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n lg: {\r\n fontSize: fontSizes.text.lg,\r\n fontWeight: fontWeights.normal,\r\n lineHeight: lineHeights[24],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n md: {\r\n fontSize: fontSizes.text.md,\r\n fontWeight: fontWeights.normal,\r\n lineHeight: lineHeights[22],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n sm: {\r\n fontSize: fontSizes.text.sm,\r\n fontWeight: fontWeights.normal,\r\n lineHeight: lineHeights[18],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n xs: {\r\n fontSize: fontSizes.text.xs,\r\n fontWeight: fontWeights.normal,\r\n lineHeight: lineHeights[14],\r\n letterSpacing: letterSpacings.normal,\r\n },\r\n};\r\n\r\nconst button = {\r\n lg: {\r\n fontSize: fontSizes.button.lg,\r\n lineHeight: lineHeights[28],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n md: {\r\n fontSize: fontSizes.button.md,\r\n lineHeight: lineHeights[22],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n sm: {\r\n fontSize: fontSizes.button.sm,\r\n lineHeight: lineHeights[14],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n};\r\n\r\nconst field = {\r\n lg: {\r\n fontSize: fontSizes.field.lg,\r\n lineHeight: lineHeights[24],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n md: {\r\n fontSize: fontSizes.field.md,\r\n lineHeight: lineHeights[22],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n sm: {\r\n fontSize: fontSizes.field.sm,\r\n lineHeight: lineHeights[18],\r\n letterSpacing: letterSpacings.normal,\r\n fontWeight: fontWeights.normal,\r\n },\r\n};\r\n\r\nconst textStyles = {\r\n heading,\r\n text,\r\n button,\r\n field,\r\n};\r\n\r\nexport { fonts, fontSizes, fontWeights, letterSpacings, lineHeights, textStyles };\r\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable no-nested-ternary */\n/* eslint-disable import/prefer-default-export */\nimport type { ColorMode } from '@chakra-ui/system';\nimport type { CSSObjectWithLabel, GroupBase, StylesConfig, Theme } from 'react-select';\n\nimport { textStyles } from '../../../config/theme/foundations';\n\nconst styleMd = textStyles.text.sm;\nconst selectStyle = {\n fontSize: styleMd.fontSize,\n lineHeight: styleMd.lineHeight,\n letterSpacing: 0,\n};\n\nconst boxShadow = (color: string) => `0 0 0 1px ${color}`;\n\nexport function selectStyles<\n OptionType = unknown,\n IsMulti extends boolean = boolean,\n Group extends GroupBase<OptionType> = GroupBase<OptionType>\n>(colorMode: ColorMode, _isError: boolean): StylesConfig<OptionType, IsMulti, Group> | undefined {\n const boxShadowLight = (isFocused = false, isError = false) => {\n if ((isError && isFocused) || isError) {\n return boxShadow('danger.500');\n }\n if (isFocused) {\n return boxShadow('primary.500');\n }\n return boxShadow('neutral.400');\n };\n\n return {\n control: (base: CSSObjectWithLabel, state: any) =>\n colorMode === 'dark'\n ? {\n ...base,\n ...selectStyle,\n background: 'transparent',\n color: 'primary.300',\n borderColor: 'secondary.500',\n boxShadow: state.isFocused ? 'none' : `inherit`,\n }\n : {\n ...base,\n ...selectStyle,\n borderWidth: 0,\n boxShadow: boxShadowLight(state.isFocused, _isError),\n },\n option: (base: CSSObjectWithLabel, { isSelected }) =>\n colorMode === 'dark'\n ? {\n ...base,\n ...selectStyle,\n background: isSelected ? 'primary.700' : 'dark.800',\n color: 'white',\n }\n : { ...base, ...selectStyle },\n menu: (base: CSSObjectWithLabel) =>\n colorMode === 'dark'\n ? {\n ...base,\n ...selectStyle,\n background: 'dark.800',\n zIndex: 5,\n }\n : {\n ...base,\n ...selectStyle,\n zIndex: 5,\n },\n singleValue: (base: CSSObjectWithLabel) =>\n colorMode === 'dark' ? { ...base, ...selectStyle, color: 'white' } : { ...base, ...selectStyle },\n input: (base: CSSObjectWithLabel) =>\n colorMode === 'dark' ? { ...base, ...selectStyle, color: 'white' } : { ...base, ...selectStyle },\n dropdownIndicator: (base: CSSObjectWithLabel) =>\n colorMode === 'dark' ? { ...base, ...selectStyle, color: 'secondary.500' } : { ...base, ...selectStyle },\n indicatorSeparator: (base: CSSObjectWithLabel) =>\n colorMode === 'dark'\n ? { ...base, ...selectStyle, backgroundColor: 'secondary.500' }\n : { ...base, ...selectStyle },\n placeholder: (base: CSSObjectWithLabel) => {\n return { ...base, ...selectStyle, color: 'black.low' };\n },\n };\n}\n\nexport const themeSelect = (theme: Theme) => {\n return {\n ...theme,\n colors: {\n ...theme.colors,\n primary: 'primary.500',\n primary25: 'primary.50',\n primary50: 'primary.100',\n primary75: 'primary.200',\n },\n };\n};\n","/* eslint-disable react/require-default-props */\nimport { useColorMode } from '@chakra-ui/system';\nimport React from 'react';\nimport type { GroupBase, Props as ReactSelectProps } from 'react-select';\nimport ReactSelect from 'react-select';\n\nimport SelectWrapper from './select-wrapper';\nimport type { ExtendedSelectProps } from './types/select.types';\nimport { selectStyles, themeSelect } from './utils';\n\nexport type SelectProps<\n Option = unknown,\n IsMulti extends boolean = boolean,\n Group extends GroupBase<Option> = GroupBase<Option>\n> = ReactSelectProps<Option, IsMulti, Group> & ExtendedSelectProps;\n\nfunction Select<OptionType, Group extends GroupBase<OptionType>, IsMulti extends boolean = false>({\n styles,\n isError = false,\n ...rest\n}: SelectProps<OptionType, IsMulti, Group>) {\n const { colorMode } = useColorMode();\n\n return (\n <SelectWrapper isError={isError}>\n <ReactSelect<OptionType, IsMulti, Group>\n classNamePrefix=\"react-select\"\n {...(rest as ReactSelectProps<OptionType, IsMulti, Group>)}\n styles={{ ...selectStyles(colorMode, isError) }}\n theme={themeSelect}\n />\n </SelectWrapper>\n );\n}\n\nexport default Select;\n","import { useColorMode } from '@chakra-ui/system';\nimport React from 'react';\nimport type { GroupBase } from 'react-select';\nimport type { AsyncPaginateProps } from 'react-select-async-paginate';\nimport { AsyncPaginate } from 'react-select-async-paginate';\n\nimport SelectWrapper from './select-wrapper';\nimport type { ExtendedSelectProps } from './types/select.types';\nimport { selectStyles, themeSelect } from './utils';\n\nexport type SelectAsyncProps<\n OptionType = unknown,\n Group extends GroupBase<OptionType> = GroupBase<OptionType>,\n Additional = unknown,\n IsMulti extends boolean = false\n> = AsyncPaginateProps<OptionType, Group, Additional, IsMulti> & ExtendedSelectProps;\n\nfunction SelectAsync<OptionType, Group extends GroupBase<OptionType>, Additional, IsMulti extends boolean = false>({\n styles,\n isError = false,\n ...rest\n}: SelectAsyncProps<OptionType, Group, Additional, IsMulti>) {\n const { colorMode } = useColorMode();\n\n return (\n <SelectWrapper isError={isError}>\n <AsyncPaginate<OptionType, Group, Additional, IsMulti>\n classNamePrefix=\"react-select\"\n {...(rest as AsyncPaginateProps<OptionType, Group, Additional, IsMulti>)}\n styles={{ ...selectStyles<OptionType, IsMulti, Group>(colorMode, isError), ...styles }}\n theme={themeSelect}\n />\n </SelectWrapper>\n );\n}\n\nexport default SelectAsync;\n","import { useColorMode } from '@chakra-ui/system';\nimport React from 'react';\nimport type { GroupBase } from 'react-select';\nimport type { AsyncCreatableProps } from 'react-select/async-creatable';\nimport ReactSelectAsyncCreatable from 'react-select/async-creatable';\n\nimport SelectWrapper from './select-wrapper';\nimport type { ExtendedSelectProps } from './types/select.types';\nimport { selectStyles, themeSelect } from './utils';\n\nexport type SelectAsyncCreatableProps<\n Option = unknown,\n IsMulti extends boolean = false,\n Group extends GroupBase<Option> = GroupBase<Option>\n> = AsyncCreatableProps<Option, IsMulti, Group> & ExtendedSelectProps;\n\nexport default function SelectAsyncCreatable<\n Option = unknown,\n IsMulti extends boolean = false,\n Group extends GroupBase<Option> = GroupBase<Option>\n>({ styles, isError = false, ...rest }: SelectAsyncCreatableProps<Option, IsMulti, Group>) {\n const { colorMode } = useColorMode();\n\n return (\n <SelectWrapper isError={isError}>\n <ReactSelectAsyncCreatable\n classNamePrefix=\"react-select\"\n {...(rest as SelectAsyncCreatableProps<Option, IsMulti, Group>)}\n styles={{ ...selectStyles<Option, IsMulti, Group>(colorMode, isError), ...styles }}\n theme={themeSelect}\n />\n </SelectWrapper>\n );\n}\n","import { useColorMode } from '@chakra-ui/system';\nimport React from 'react';\nimport type { GroupBase } from 'react-select';\nimport type { CreatableProps } from 'react-select/creatable';\nimport ReactSelectCreatable from 'react-select/creatable';\n\nimport SelectWrapper from './select-wrapper';\nimport type { ExtendedSelectProps } from './types/select.types';\nimport { selectStyles, themeSelect } from './utils';\n\nexport type SelectCreatableProps<\n Option = unknown,\n IsMulti extends boolean = false,\n Group extends GroupBase<Option> = GroupBase<Option>\n> = CreatableProps<Option, IsMulti, Group> & ExtendedSelectProps;\n\nexport default function SelectCreatable<\n Option = unknown,\n IsMulti extends boolean = false,\n Group extends GroupBase<Option> = GroupBase<Option>\n>({ styles, isError = false, ...rest }: SelectCreatableProps<Option, IsMulti, Group>) {\n const { colorMode } = useColorMode();\n\n return (\n <SelectWrapper isError={isError}>\n <ReactSelectCreatable\n classNamePrefix=\"react-select\"\n {...(rest as SelectCreatableProps<Option, IsMulti, Group>)}\n styles={{ ...selectStyles<Option, IsMulti, Group>(colorMode, isError), ...styles }}\n theme={themeSelect}\n />\n </SelectWrapper>\n );\n}\n","import type {\n HTMLChakraProps,\n ResponsiveValue,\n SystemProps,\n SystemStyleObject,\n ThemingProps,\n UseCheckboxProps,\n} from '@chakra-ui/react';\nimport { chakra, Flex, forwardRef, omitThemingProps, useCheckbox, useMultiStyleConfig } from '@chakra-ui/react';\nimport { cx, dataAttr } from '@chakra-ui/shared-utils';\nimport { Check, Close } from '@ctlyst.id/internal-icon';\nimport React, { useMemo } from 'react';\n\nexport interface SwitchProps\n extends Omit<UseCheckboxProps, 'isIndeterminate'>,\n Omit<HTMLChakraProps<'label'>, keyof UseCheckboxProps>,\n ThemingProps<'Switch'> {\n /**\n * The spacing between the switch and its label text\n * @default 0.5rem\n * @type SystemProps[\"marginLeft\"]\n */\n spacing?: SystemProps['marginLeft'];\n size?: 'sm' | 'md' | 'lg';\n}\n\n/**\n * The `Switch` component is used as an alternative for the checkbox component for switching between \"enabled\" and \"disabled\" states.\n *\n * @see Docs https://chakra-ui.com/docs/components/switch\n * @see WAI-ARIA https://www.w3.org/WAI/ARIA/apg/patterns/switch/\n */\nconst Switch = forwardRef<SwitchProps, 'input'>(function Switch(props, ref) {\n const styles = useMultiStyleConfig('Switch', props);\n\n const { spacing = '0.5rem', children, ...ownProps } = omitThemingProps(props);\n\n const { state, getInputProps, getCheckboxProps, getRootProps, getLabelProps } = useCheckbox(ownProps);\n\n const containerStyles: SystemStyleObject = useMemo(\n () => ({\n display: 'inline-block',\n position: 'relative',\n verticalAlign: 'middle',\n lineHeight: 0,\n ...styles.container,\n }),\n [styles.container]\n );\n\n const trackStyles: SystemStyleObject = useMemo(\n () => ({\n display: 'inline-flex',\n flexShrink: 0,\n justifyContent: 'flex-start',\n boxSizing: 'content-box',\n cursor: 'pointer',\n width: 200,\n ...styles.track,\n }),\n [styles.track]\n );\n\n const labelStyles: SystemStyleObject = useMemo(\n () => ({\n userSelect: 'none',\n marginStart: spacing,\n ...styles.label,\n }),\n [spacing, styles.label]\n );\n\n const getIconSize = (value?: ResponsiveValue<'sm' | 'md' | 'lg'>) => {\n const iconSize = {\n sm: 3,\n md: 4,\n lg: 5,\n };\n\n return iconSize[value as keyof typeof iconSize];\n };\n\n return (\n <chakra.label\n {...getRootProps()}\n display=\"flex\"\n alignItems=\"center\"\n className={cx('chakra-switch', props.className)}\n __css={containerStyles}\n >\n <input data-test-id=\"\" className=\"chakra-switch__input\" {...getInputProps({}, ref)} />\n <chakra.span {...getCheckboxProps()} className=\"chakra-switch__track\" pos=\"relative\" __css={trackStyles}>\n <Flex gap={2} pos=\"absolute\" top=\"50%\" left=\"50%\" transform=\"translate(-50%, -50%)\">\n <Check color=\"white\" size={getIconSize(props.size)} />\n <Close color={state.isDisabled ? 'neutral.600' : 'neutral.900'} size={getIconSize(props.size)} />\n </Flex>\n <chakra.span\n __css={styles.thumb}\n className=\"chakra-switch__thumb\"\n data-checked={dataAttr(state.isChecked)}\n data-hover={dataAttr(state.isHovered)}\n />\n </chakra.span>\n {children && (\n <chakra.span\n className=\"chakra-switch__label\"\n color={state.isDisabled ? 'black.low' : 'black.high'}\n {...getLabelProps()}\n __css={labelStyles}\n >\n {children}\n </chakra.span>\n )}\n </chakra.label>\n );\n});\n\nSwitch.defaultProps = {\n size: 'sm',\n};\n\nexport default Switch;\n","import type { TabProps as ChakraTabProps } from '@chakra-ui/react';\nimport { Button, Flex, forwardRef, useMultiStyleConfig, useTab } from '@chakra-ui/react';\nimport * as React from 'react';\n\ntype AddonProps = {\n isSelected: boolean;\n};\n\ntype TabProps = ChakraTabProps & {\n 'data-test-id'?: string;\n leftAddon?({ isSelected }: AddonProps): React.ReactNode;\n rightAddon?({ isSelected }: AddonProps): React.ReactNode;\n};\n\nconst Tab = forwardRef<TabProps, 'button'>((props, ref) => {\n const tabProps = useTab({ ...props, ref });\n const isSelected = !!tabProps['aria-selected'];\n const styles = useMultiStyleConfig('Tabs', tabProps);\n return (\n <Button\n data-test-id={props['data-test-id']}\n p={4}\n fontSize=\"text.md\"\n _selected={{\n borderColor: 'primary.500',\n color: 'primary.500',\n transform: 'translateY(-2px)',\n _hover: {\n '& .chakra-badge': {\n bg: 'primary.500',\n },\n color: 'primary.500',\n },\n }}\n color=\"black.medium\"\n _focus={{ bg: 'none' }}\n _hover={{\n '& .chakra-badge': {\n bg: 'primary.400',\n },\n color: 'primary.400',\n }}\n __css={styles.tab}\n {...tabProps}\n >\n <Flex alignItems=\"center\">\n {props.leftAddon?.({ isSelected })}\n {tabProps.children}\n {props.rightAddon?.({ isSelected })}\n </Flex>\n </Button>\n );\n});\n\nexport default Tab;\n","import type { TabListProps } from '@chakra-ui/react';\nimport { forwardRef, TabList as ChakraTabList, useColorModeValue } from '@chakra-ui/react';\nimport React from 'react';\n\nconst TabList = forwardRef<TabListProps, 'div'>((props, ref) => (\n <ChakraTabList\n borderBottom=\"1px solid\"\n borderColor={useColorModeValue('gray.200', 'bright-gray.800')}\n {...props}\n ref={ref}\n >\n {props.children}\n </ChakraTabList>\n));\n\nexport default TabList;\n","import type { TabPanelProps } from '@chakra-ui/react';\nimport { forwardRef, TabPanel as ChakraTabPanel } from '@chakra-ui/react';\nimport React from 'react';\n\nconst TabPanel = forwardRef<TabPanelProps, 'div'>((props, ref) => (\n <ChakraTabPanel px={0} {...props} ref={ref}>\n {props.children}\n </ChakraTabPanel>\n));\n\nexport default TabPanel;\n","export const ONE_MEGA_BYTE = 1000000;\nexport const messages = {\n dragActive: 'Drop file disini...',\n dragInActive: `(Klik atau drag untuk input file)`,\n dragReplace: `(Klik atau drag untuk mengganti file)`,\n replaceFile: 'Ganti File',\n uploadFile: 'Upload File',\n};\n","import type { FlexProps } from '@chakra-ui/react';\nimport { Flex, Heading, Stack, Text } from '@chakra-ui/react';\nimport * as React from 'react';\nimport type { DropzoneOptions, DropzoneState, FileRejection } from 'react-dropzone';\nimport { useDropzone } from 'react-dropzone';\n\nimport { messages } from '../constants';\n\nexport type UploaderProps = FlexProps &\n DropzoneOptions & {\n onHandleUploadFile?: (res: File[]) => void;\n onHandleRejections?: (rejections: FileRejection[]) => void;\n renderError?: (rejections: FileRejection[]) => React.ReactNode;\n selected?: boolean;\n };\n\nexport type UploaderState = DropzoneState;\n\nconst Uploader: React.FC<UploaderProps> = ({\n onHandleUploadFile,\n onHandleRejections,\n accept,\n multiple,\n selected,\n maxFiles = 1,\n renderError,\n validator,\n ...props\n}) => {\n const [selectedFirstFile, setSelectedFirstFile] = React.useState<File>();\n const [isSelected, setIsSelected] = React.useState<boolean>(selected || false);\n const onDrop = React.useCallback(\n (acceptedFiles: File[]) => {\n if (acceptedFiles.length > 0) {\n onHandleUploadFile?.(acceptedFiles);\n if (!multiple) {\n setIsSelected(true);\n setSelectedFirstFile(acceptedFiles[0]);\n }\n }\n },\n [multiple, onHandleUploadFile]\n );\n\n const { getRootProps, getInputProps, isDragActive, fileRejections } = useDropzone({\n onDrop,\n accept,\n maxFiles,\n multiple,\n validator,\n });\n\n React.useEffect(() => {\n if (fileRejections.length > 0 && onHandleRejections) {\n onHandleRejections(fileRejections);\n }\n }, [fileRejections, onHandleRejections]);\n\n const isError = React.useMemo(() => {\n const error = fileRejections.length > 0;\n if (error) {\n setIsSelected(false);\n }\n return error;\n }, [fileRejections]);\n\n React.useEffect(() => {\n setIsSelected(selected ?? false);\n }, [selected]);\n\n return (\n <Stack direction=\"column\">\n <Flex\n minH={200}\n border=\"1px dashed\"\n borderColor={isError ? 'danger.500' : 'primary.500'}\n alignItems=\"center\"\n justifyContent=\"center\"\n cursor=\"pointer\"\n {...props}\n {...getRootProps()}\n >\n <input {...getInputProps()} />\n {isDragActive ? (\n <Text>{messages.dragActive}</Text>\n ) : (\n <Flex flexDirection=\"column\" alignItems=\"center\" color={isError ? 'danger.500' : 'primary.500'}>\n {!multiple && isSelected && (\n <Heading fontWeight={400} fontSize=\"18px\" lineHeight={28} color=\"black.high\" mb={2}>\n {selectedFirstFile?.name}\n </Heading>\n )}\n {!isSelected && (\n <Heading fontWeight={400} fontSize=\"18px\" lineHeight={28} mb={2}>\n {messages.uploadFile}\n </Heading>\n )}\n {isSelected ? <Text>{messages.dragReplace}</Text> : <Text>{messages.dragInActive}</Text>}\n </Flex>\n )}\n </Flex>\n {renderError?.(fileRejections)}\n </Stack>\n );\n};\n\nUploader.defaultProps = {\n onHandleUploadFile: undefined,\n onHandleRejections: undefined,\n renderError: undefined,\n selected: false,\n};\n\nexport default Uploader;\n","import { accordionAnatomy as parts } from '@chakra-ui/anatomy';\nimport { createMultiStyleConfigHelpers, defineStyle } from '@chakra-ui/styled-system';\n\nconst { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(parts.keys);\n\nconst baseStyleContainer = defineStyle({\n border: 'none',\n});\n\nconst baseStyleButton = defineStyle({\n height: 14,\n transitionProperty: 'common',\n transitionDuration: 'normal',\n gap: 4,\n fontSize: 'text.md',\n bg: 'neutral.50',\n _focusVisible: {\n bg: 'neutral.100',\n },\n _hover: {\n bg: 'neutral.100',\n },\n _disabled: {\n opacity: 0.4,\n cursor: 'not-allowed',\n },\n py: 2,\n px: 4,\n position: 'relative',\n});\n\nconst baseStylePanel = defineStyle({\n pt: '2',\n px: '4',\n pb: '5',\n});\n\nconst baseStyleIcon = defineStyle({\n fontSize: '1.25em',\n});\n\nconst baseStyle = definePartsStyle({\n container: baseStyleContainer,\n button: baseStyleButton,\n panel: baseStylePanel,\n icon: baseStyleIcon,\n});\n\nconst accordionTheme = defineMultiStyleConfig({ baseStyle });\nexport default accordionTheme;\n","import { alertAnatomy as parts } from '@chakra-ui/anatomy';\nimport type { StyleFunctionProps } from '@chakra-ui/styled-system';\nimport { createMultiStyleConfigHelpers, cssVar } from '@chakra-ui/styled-system';\n\nconst { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(parts.keys);\n\nconst $fg = cssVar('alert-fg');\nconst $bg = cssVar('alert-bg');\n\nconst baseStyle = definePartsStyle(props => {\n return {\n container: {\n bg: $bg.reference,\n px: '4',\n py: '2',\n borderRadius: 'sm',\n },\n title: {\n fontWeight: 'regular',\n textStyle: 'text.sm',\n marginEnd: '2',\n },\n description: {\n lineHeight: '6',\n },\n icon: {\n color: $fg.reference,\n flexShrink: 0,\n marginEnd: '3',\n w: '4',\n h: '4',\n },\n action: {\n color: props.colorScheme === 'neutral' && props.variant === 'light' ? 'primary.500' : 'inherit',\n '& +.chakra-alert__close': {\n ml: '3',\n },\n },\n close: {\n color: $fg.reference,\n w: '4',\n h: '4',\n },\n\n spinner: {\n color: $fg.reference,\n flexShrink: 0,\n marginEnd: '3',\n w: '5',\n h: '5',\n },\n };\n});\n\nfunction getBg(props: StyleFunctionProps) {\n const { colorScheme: c } = props;\n\n return {\n light: c === 'neutral' ? `colors.${c}.300` : `colors.${c}.50`,\n };\n}\n\nconst variantLight = definePartsStyle(props => {\n const { colorScheme: c } = props;\n const bg = getBg(props);\n return {\n container: {\n [$fg.variable]: `colors.${c}.700`,\n [$bg.variable]: bg.light,\n color: $fg.reference,\n },\n };\n});\n\nconst variantSolid = definePartsStyle(props => {\n const { colorScheme: c } = props;\n return {\n container: {\n [$fg.variable]: `colors.white.high`,\n [$bg.variable]: c === 'neutral' ? `colors.${c}.700` : `colors.${c}.500`,\n },\n };\n});\n\nconst variants = {\n light: variantLight,\n solid: variantSolid,\n};\n\nconst alertTheme = defineMultiStyleConfig({\n baseStyle,\n variants,\n defaultProps: {\n variant: 'light',\n colorScheme: 'info',\n },\n});\n\nexport default alertTheme;\n","import type { ComponentStyleConfig } from '@chakra-ui/theme';\n\nconst Badge: ComponentStyleConfig = {\n baseStyle: {\n display: 'inline-block',\n fontSize: 'text.xs',\n fontWeight: 'semibold',\n lineHeight: '14',\n textTransform: 'none',\n px: 2,\n py: '0.5',\n },\n variants: {\n 'primary-solid': {\n bg: 'primary.500',\n color: 'white',\n },\n 'success-solid': {\n bg: 'success.500',\n color: 'white',\n },\n 'info-solid': {\n bg: 'info.500',\n color: 'white',\n },\n 'warning-solid': {\n bg: 'warning.500',\n color: 'white',\n },\n 'danger-solid': {\n bg: 'danger.500',\n color: 'white',\n },\n 'neutral-solid': {\n bg: 'neutral.900',\n color: 'white',\n },\n 'disabled-solid': {\n bg: 'neutral.600',\n color: 'white',\n },\n 'primary-light': {\n bg: 'primary.50',\n color: 'primary.500',\n },\n 'success-light': {\n bg: 'success.50',\n color: 'success.500',\n },\n 'info-light': {\n bg: 'info.50',\n color: 'info.500',\n },\n 'warning-light': {\n bg: 'warning.50',\n color: 'warning.500',\n },\n 'danger-light': {\n bg: 'danger.50',\n color: 'danger.500',\n },\n 'neutral-light': {\n bg: 'neutral.200',\n color: 'neutral.900',\n },\n 'disabled-light': {\n bg: 'neutral.200',\n color: 'neutral.600',\n },\n },\n // The default size and variant values\n defaultProps: {\n variant: 'primary-solid',\n },\n};\n\nexport default Badge;\n","import { defineStyleConfig } from '@chakra-ui/styled-system';\r\nimport type { ComponentStyleConfig } from '@chakra-ui/theme';\r\n\r\n// You can also use the more specific type for\r\n// a single part component: ComponentSingleStyleConfig\r\n\r\nconst Button: ComponentStyleConfig = defineStyleConfig({\r\n // The styles all button have in common\r\n baseStyle: {\r\n fontSize: 'body.1',\r\n fontWeight: 'normal',\r\n px: 4,\r\n py: 2.5,\r\n borderRadius: 'sm',\r\n\r\n _disabled: {\r\n opacity: 1,\r\n bg: 'neutral.300',\r\n color: 'black.low',\r\n },\r\n\r\n _hover: {\r\n _disabled: {\r\n bg: 'neutral.300',\r\n color: 'black.low',\r\n },\r\n },\r\n },\r\n\r\n sizes: {\r\n lg: props => {\r\n const { variant } = props;\r\n const base = {\r\n fontSize: 'text.xl',\r\n h: 12,\r\n px: 4,\r\n py: 2.5,\r\n };\r\n const icon = {\r\n h: 10,\r\n w: 10,\r\n p: 0,\r\n };\r\n return variant === 'icon' ? icon : base;\r\n },\r\n md: props => {\r\n const { variant } = props;\r\n const base = {\r\n fontSize: 'text.md',\r\n h: 9,\r\n px: 3,\r\n py: '7px',\r\n };\r\n const icon = {\r\n h: 9,\r\n w: 9,\r\n p: 0,\r\n };\r\n return variant === 'icon' ? icon : base;\r\n },\r\n sm: props => {\r\n const { variant } = props;\r\n const base = {\r\n fontSize: 'text.sm',\r\n h: '26px',\r\n lineHeight: 4,\r\n px: 2,\r\n py: '5px',\r\n };\r\n const icon = {\r\n h: '26px',\r\n w: '26px',\r\n p: 0,\r\n };\r\n return variant === 'icon' ? icon : base;\r\n },\r\n },\r\n\r\n variants: {\r\n primary: props => {\r\n const { isLoading } = props;\r\n\r\n const basePrimary = {\r\n color: 'white.high',\r\n bg: 'primary.500',\r\n _hover: {\r\n bg: 'primary.600',\r\n },\r\n _active: {\r\n bg: 'primary.700',\r\n },\r\n };\r\n\r\n const disabledLoading = {\r\n _disabled: {\r\n bg: 'primary.500',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'primary.500',\r\n },\r\n },\r\n };\r\n\r\n return isLoading ? disabledLoading : basePrimary;\r\n },\r\n secondary: props => {\r\n const { isLoading } = props;\r\n\r\n const baseSecondary = {\r\n color: 'primary.500',\r\n borderWidth: 1,\r\n borderStyle: 'inside',\r\n bg: 'white.high',\r\n borderColor: 'primary.500',\r\n _hover: {\r\n bg: 'primary.50',\r\n },\r\n _active: {\r\n bg: 'primary.100',\r\n },\r\n _disabled: {\r\n border: 0,\r\n },\r\n '.chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)': {\r\n marginEnd: '-1px',\r\n },\r\n '.chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)': {\r\n marginBottom: '-1px',\r\n },\r\n };\r\n\r\n const disabledLoading = {\r\n ...baseSecondary,\r\n _disabled: {\r\n bg: 'white.high',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'white.high',\r\n },\r\n },\r\n };\r\n\r\n return isLoading ? disabledLoading : baseSecondary;\r\n },\r\n\r\n tertiary: props => {\r\n const { isLoading } = props;\r\n\r\n const baseTertiary = {\r\n color: 'primary.500',\r\n _hover: {\r\n bg: 'primary.50',\r\n },\r\n _active: {\r\n bg: 'primary.100',\r\n },\r\n };\r\n\r\n const disabledLoading = {\r\n ...baseTertiary,\r\n _disabled: {\r\n bg: 'transparent',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'transparent',\r\n },\r\n },\r\n };\r\n\r\n return isLoading ? disabledLoading : baseTertiary;\r\n },\r\n\r\n danger: props => {\r\n const { isLoading } = props;\r\n\r\n const baseDanger = {\r\n bg: 'danger.500',\r\n color: 'white.high',\r\n _hover: {\r\n bg: 'danger.600',\r\n },\r\n _active: {\r\n bg: 'danger.700',\r\n },\r\n };\r\n\r\n const disabledLoading = {\r\n ...baseDanger,\r\n _disabled: {\r\n bg: 'danger.500',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'danger.500',\r\n },\r\n },\r\n };\r\n\r\n return isLoading ? disabledLoading : baseDanger;\r\n },\r\n\r\n 'outline-danger': props => {\r\n const { isLoading } = props;\r\n\r\n const baseSecondary = {\r\n color: 'danger.500',\r\n borderWidth: 1,\r\n borderStyle: 'inside',\r\n bg: 'white.high',\r\n borderColor: 'danger.500',\r\n _hover: {\r\n bg: 'danger.50',\r\n },\r\n _active: {\r\n bg: 'danger.100',\r\n },\r\n _disabled: {\r\n border: 0,\r\n },\r\n };\r\n\r\n const disabledLoading = {\r\n ...baseSecondary,\r\n _disabled: {\r\n bg: 'white.high',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'white.high',\r\n },\r\n },\r\n };\r\n\r\n return isLoading ? disabledLoading : baseSecondary;\r\n },\r\n\r\n link: {\r\n bg: 'transparent',\r\n color: 'primary.500',\r\n _disabled: {\r\n opacity: '1',\r\n bg: 'transparent',\r\n color: 'black.medium',\r\n },\r\n _hover: {\r\n _disabled: {\r\n bg: 'transparent',\r\n color: 'black.medium',\r\n },\r\n },\r\n },\r\n\r\n icon: {\r\n bg: 'neutral.50',\r\n minW: 0,\r\n borderColor: 'neutral.200',\r\n borderWidth: '1px',\r\n\r\n _active: {\r\n bg: 'neutral.500',\r\n borderColor: 'neutral.50',\r\n },\r\n _disabled: {\r\n bg: 'neutral.500',\r\n opacity: 0.3,\r\n borderColor: 'neutral.50',\r\n },\r\n _hover: {\r\n bg: 'neutral.400',\r\n _disabled: {\r\n bg: 'neutral.500',\r\n opacity: 0.3,\r\n borderColor: 'neutral.50',\r\n },\r\n },\r\n },\r\n },\r\n\r\n defaultProps: {\r\n size: 'md',\r\n variant: 'primary',\r\n colorScheme: 'primary',\r\n },\r\n});\r\n\r\nexport default Button;\r\n","import { defineStyleConfig } from '@chakra-ui/styled-system';\n\nconst CardStyle = defineStyleConfig({\n baseStyle: props => {\n return {\n shadow: props.withShadow ? 'raised' : 'none',\n borderRadius: props.isRounded ? 'sm' : 'none',\n };\n },\n});\n\nexport default CardStyle;\n","import { checkboxAnatomy } from '@chakra-ui/anatomy';\r\nimport { createMultiStyleConfigHelpers } from '@chakra-ui/react';\r\n\r\nconst { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(checkboxAnatomy.keys);\r\n\r\nconst baseStyle = definePartsStyle({\r\n control: {\r\n borderRadius: 'sm',\r\n w: 4,\r\n h: 4,\r\n border: '1px solid',\r\n },\r\n icon: {\r\n color: 'neutral.50',\r\n },\r\n label: {\r\n textStyle: 'text.sm',\r\n color: 'black.high',\r\n ml: 2,\r\n },\r\n _disabled: {\r\n background: 'neutral.200',\r\n border: '0',\r\n borderColor: 'neutral.500',\r\n cursor: 'not-allowed',\r\n },\r\n});\r\n\r\nconst errors = definePartsStyle({\r\n control: {\r\n borderColor: 'danger.500',\r\n _checked: {\r\n borderColor: 'danger.500',\r\n backgroundColor: 'danger.500',\r\n _hover: {\r\n borderColor: 'danger.600',\r\n backgroundColor: 'danger.600',\r\n },\r\n },\r\n _indeterminate: {\r\n borderColor: 'danger.500',\r\n backgroundColor: 'danger.500',\r\n },\r\n },\r\n label: {\r\n textStyle: 'text.xs',\r\n },\r\n icon: {\r\n fontSize: '8px',\r\n },\r\n});\r\n\r\nconst unstyled = definePartsStyle({\r\n control: {\r\n borderColor: 'neutral.600',\r\n _checked: {\r\n borderColor: 'primary.500',\r\n backgroundColor: 'primary.500',\r\n _hover: {\r\n borderColor: 'primary.600',\r\n backgroundColor: 'primary.600',\r\n },\r\n _disabled: {\r\n backgroundColor: 'primary.500',\r\n borderColor: 'primary.500',\r\n opacity: 0.3,\r\n },\r\n },\r\n _disabled: {\r\n backgroundColor: 'neutral.200',\r\n borderColor: 'neutral.200',\r\n },\r\n _indeterminate: {\r\n borderColor: 'primary.500',\r\n backgroundColor: 'primary.500',\r\n _disabled: {\r\n backgroundColor: 'primary.500',\r\n borderColor: 'primary.500',\r\n opacity: 0.3,\r\n },\r\n },\r\n },\r\n label: {\r\n textStyle: 'text.xs',\r\n _disabled: {\r\n opacity: 1,\r\n },\r\n },\r\n icon: {\r\n fontSize: '8px',\r\n },\r\n});\r\n\r\nconst variants = {\r\n errors,\r\n unstyled,\r\n};\r\n\r\nconst Checkbox = defineMultiStyleConfig({\r\n baseStyle,\r\n variants,\r\n defaultProps: {\r\n variant: 'unstyled',\r\n },\r\n});\r\n\r\nexport default Checkbox;\r\n","import { defineStyleConfig } from '@chakra-ui/styled-system';\n\nconst Chips = defineStyleConfig({\n baseStyle: props => {\n const { isDisabled, isActive } = props;\n\n const defaultProps = {\n color: 'primary.500',\n textStyle: 'text.sm',\n borderRadius: '2xl',\n borderWidth: '1px',\n borderColor: 'primary.500',\n bg: 'white.high',\n px: 3,\n py: 1,\n cursor: 'default',\n _hover: {\n bg: 'primary.50',\n },\n };\n\n let chipsProps = { ...defaultProps };\n\n if (isActive) {\n const isActiveProps = {\n bg: 'primary.500',\n color: 'white.high',\n _hover: {\n bg: 'primary.500',\n },\n };\n chipsProps = { ...chipsProps, ...isActiveProps };\n }\n\n if (isDisabled) {\n const isDisabledProps = {\n bg: 'neutral.200',\n color: 'black.low',\n borderColor: 'neutral.200',\n cursor: 'not-allowed',\n _hover: {\n bg: 'neutral.200',\n },\n };\n chipsProps = { ...chipsProps, ...isDisabledProps };\n }\n\n return {\n ...chipsProps,\n };\n },\n sizes: {\n sm: {\n textStyle: 'text.sm',\n },\n md: {\n textStyle: 'text.md',\n py: 2,\n },\n },\n defaultProps: {\n size: 'sm',\n },\n});\n\nexport default Chips;\n","import { defineStyle, defineStyleConfig } from '@chakra-ui/styled-system';\r\n\r\nconst baseStyle = defineStyle({\r\n fontSize: 'field.sm',\r\n fontWeight: 'normal',\r\n marginEnd: 1,\r\n mb: 1,\r\n});\r\n\r\nconst FormLabel = defineStyleConfig({\r\n baseStyle,\r\n});\r\n\r\nexport default FormLabel;\r\n","import { inputAnatomy as parts } from '@chakra-ui/anatomy';\r\nimport { createMultiStyleConfigHelpers, defineStyle } from '@chakra-ui/styled-system';\r\nimport { mode } from '@chakra-ui/theme-tools';\r\n\r\nconst { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(parts.keys);\r\n\r\nconst baseStyle = definePartsStyle({\r\n field: {\r\n width: '100%',\r\n minWidth: 0,\r\n outline: 0,\r\n px: 2,\r\n py: 2.5,\r\n paddingInlineStart: 2,\r\n paddingInlineEnd: 2,\r\n position: 'relative',\r\n appearance: 'none',\r\n color: 'black.high',\r\n _disabled: {\r\n bg: 'neutral.300',\r\n border: 0,\r\n cursor: 'not-allowed',\r\n opacity: 1,\r\n boxShadow: 'none',\r\n color: 'black.medium',\r\n },\r\n _placeholder: {\r\n color: 'black.low',\r\n },\r\n },\r\n});\r\n\r\nconst size = {\r\n lg: defineStyle({\r\n fontSize: 'text.lg',\r\n h: 12,\r\n borderRadius: 'sm',\r\n }),\r\n md: defineStyle({\r\n fontSize: 'text.md',\r\n h: 10,\r\n borderRadius: 'sm',\r\n }),\r\n sm: defineStyle({\r\n fontSize: 'text.sm',\r\n h: 9,\r\n borderRadius: 'sm',\r\n }),\r\n};\r\n\r\nconst sizes = {\r\n lg: definePartsStyle({\r\n field: size.lg,\r\n addon: size.lg,\r\n }),\r\n md: definePartsStyle({\r\n field: size.md,\r\n addon: size.md,\r\n }),\r\n sm: definePartsStyle({\r\n field: size.sm,\r\n addon: size.sm,\r\n }),\r\n};\r\n\r\nconst outline = definePartsStyle(props => {\r\n const field = {\r\n border: 0,\r\n outline: 0,\r\n bg: mode('white', 'inherit')(props),\r\n color: mode('inherit', 'white')(props),\r\n _invalid: {\r\n boxShadow: 'none',\r\n },\r\n _focusVisible: {\r\n zIndex: 1,\r\n boxShadow: 'none',\r\n },\r\n };\r\n\r\n return {\r\n field,\r\n };\r\n});\r\n\r\nconst unstyled = definePartsStyle({\r\n field: {\r\n bg: 'transparent',\r\n px: '0',\r\n height: 'auto',\r\n },\r\n addon: {\r\n bg: 'transparent',\r\n px: '0',\r\n height: 'auto',\r\n },\r\n});\r\n\r\nconst variants = {\r\n outline,\r\n unstyled,\r\n};\r\n\r\nconst Input = defineMultiStyleConfig({\r\n baseStyle,\r\n sizes,\r\n variants,\r\n defaultProps: {\r\n size: 'sm',\r\n variant: 'outline',\r\n },\r\n});\r\n\r\nexport default Input;\r\n","/* eslint-disable prefer-destructuring */\nimport { defineStyleConfig } from '@chakra-ui/styled-system';\nimport { keyframes } from '@emotion/react';\n\nconst rotate = keyframes({\n '0%': {\n transform: 'rotate(0deg)',\n },\n '100%': {\n transform: 'rotate(360deg)',\n },\n});\n\nconst getLoaderColor = (color: string) => {\n if (!color) {\n return 'var(--chakra-colors-white-high)';\n }\n\n const colorValue = color.split('.');\n let backgroundColor: string;\n\n switch (colorValue.length) {\n case 1:\n backgroundColor = colorValue[0];\n break;\n case 2:\n backgroundColor = `var(--chakra-colors-${colorValue[0]}-${colorValue[1]})`;\n break;\n default:\n backgroundColor = 'var(--chakra-colors-white-high)';\n break;\n }\n\n if (color === 'primary') return 'var(--chakra-colors-primary-600)';\n if (color === 'danger') return 'var(--chakra-colors-danger-500)';\n if (color === 'warning') return 'var(--chakra-colors-warning-700)';\n return backgroundColor;\n};\n\nconst LoaderStyle = defineStyleConfig({\n baseStyle: props => {\n const colors = getLoaderColor(props.color);\n return {\n borderRadius: '50%',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n animation: `${rotate} 1s linear infinite`,\n background: `conic-gradient(from 180deg at 50% 50%, ${colors} 0deg, rgba(217, 217, 217, 0) 360deg);`,\n ':before': {\n content: `''`,\n display: 'block',\n borderRadius: '50%',\n width: '6px',\n height: '6px',\n position: 'absolute',\n bottom: 0,\n background: colors,\n },\n };\n },\n sizes: {\n xs: {\n width: '12px',\n height: '12px',\n WebkitMask: 'radial-gradient(farthest-side,#0000 calc(100% - 1.4px),#000 0);',\n ':before': {\n width: '1.4px',\n height: '1.4px',\n },\n },\n sm: {\n width: '16px',\n height: '16px',\n WebkitMask: 'radial-gradient(farthest-side,#0000 calc(100% - 1.87px),#000 0);',\n ':before': {\n width: '1.87px',\n height: '1.87px',\n },\n },\n md: {\n width: '24px',\n height: '24px',\n WebkitMask: 'radial-gradient(farthest-side,#0000 calc(100% - 2.8px),#000 0);',\n ':before': {\n width: '2.8px',\n height: '2.8px',\n },\n },\n lg: {\n width: '50px',\n height: '50px',\n WebkitMask: 'radial-gradient(farthest-side,#0000 calc(100% - 5.83px),#000 0);',\n ':before': {\n width: '5.83px',\n height: '5.83px',\n },\n },\n xl: {\n width: '75px',\n height: '75px',\n WebkitMask: 'radial-gradient(farthest-side,#0000 calc(100% - 8.75px),#000 0);',\n ':before': {\n width: '8.75px',\n height: '8.75px',\n },\n },\n xxl: {\n width: '100px',\n height: '100px',\n WebkitMask: `radial-gradient(farthest-side,#0000 calc(100% - 11.67px),#000 0);`,\n ':before': {\n width: '11.67px',\n height: '11.67px',\n },\n },\n },\n defaultProps: {\n size: 'lg',\n },\n});\n\nexport default LoaderStyle;\n","import { popoverAnatomy as parts } from '@chakra-ui/anatomy';\nimport { createMultiStyleConfigHelpers } from '@chakra-ui/styled-system';\nimport type { ComponentStyleConfig } from '@chakra-ui/theme';\nimport { mode } from '@chakra-ui/theme-tools';\n\nconst { definePartsStyle } = createMultiStyleConfigHelpers(parts.keys);\n\nconst Popover: ComponentStyleConfig = {\n baseStyle: props =>\n definePartsStyle({\n popper: {\n background: mode('white', 'inherit')(props),\n },\n }),\n};\n\nexport default Popover;\n","import { radioAnatomy } from '@chakra-ui/anatomy';\nimport { createMultiStyleConfigHelpers } from '@chakra-ui/react';\n\nconst { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(radioAnatomy.keys);\n\nconst baseStyle = definePartsStyle({\n control: {\n border: '1px solid',\n width: '16px',\n height: '16px',\n },\n label: {\n marginLeft: '8px',\n textStyle: 'text.sm',\n color: 'black.high',\n _disabled: {\n opacity: 1,\n color: 'black.medium',\n },\n },\n});\n\nconst errors = definePartsStyle({\n control: {\n borderColor: 'danger.500',\n _checked: {\n borderColor: 'danger.500',\n bg: 'white',\n _before: {\n h: '10px',\n w: '10px',\n bg: 'danger.500',\n },\n _hover: {\n borderColor: 'danger.500',\n bg: 'neutral.200',\n },\n _disabled: {\n borderColor: 'danger.500',\n bg: 'white.high',\n _before: {\n h: '10px',\n w: '10px',\n bg: 'primary.500',\n opacity: 0.3,\n },\n },\n },\n _disabled: {\n borderColor: 'danger.500',\n bg: 'neutral.200',\n },\n },\n label: {\n fontSize: '12px',\n },\n});\n\nconst unstyled = definePartsStyle({\n control: {\n borderColor: 'neutral.600',\n _checked: {\n borderColor: 'primary.500',\n bg: 'white',\n _before: {\n h: '10px',\n w: '10px',\n bg: 'primary.500',\n },\n _hover: {\n borderColor: 'primary.500',\n bg: 'gray.200',\n },\n _disabled: {\n borderColor: 'primary.500',\n bg: 'white.high',\n opacity: 0.3,\n _before: {\n h: '10px',\n w: '10px',\n bg: 'primary.500',\n },\n },\n },\n _disabled: {\n borderColor: 'neutral.200',\n bg: 'neutral.200',\n },\n },\n label: {\n fontSize: '12px',\n },\n});\n\nconst variants = {\n errors,\n unstyled,\n};\n\nconst Radio = defineMultiStyleConfig({\n baseStyle,\n variants,\n defaultProps: {\n variant: 'unstyled',\n },\n});\n\nexport default Radio;\n","import { switchAnatomy as parts } from '@chakra-ui/anatomy';\nimport { createMultiStyleConfigHelpers, defineStyle } from '@chakra-ui/styled-system';\nimport { calc, cssVar } from '@chakra-ui/theme-tools';\n\nconst { defineMultiStyleConfig, definePartsStyle } = createMultiStyleConfigHelpers(parts.keys);\n\nconst $width = cssVar('switch-track-width');\nconst $height = cssVar('switch-track-height');\nconst $diff = cssVar('switch-track-diff');\nconst diffValue = calc.subtract($width, $height);\nconst $translateX = cssVar('switch-thumb-x');\n\nconst baseStyleThumb = defineStyle({\n bg: 'white',\n transitionProperty: 'transform',\n transitionDuration: 'normal',\n borderRadius: 'inherit',\n width: [$height.reference],\n height: [$height.reference],\n _checked: {\n transform: `translateX(${$translateX.reference})`,\n },\n});\n\nconst baseStyle = definePartsStyle(() => ({\n container: {\n [$diff.variable]: diffValue,\n [$translateX.variable]: $diff.reference,\n _rtl: {\n [$translateX.variable]: calc($diff).negate().toString(),\n },\n },\n track: {\n bg: 'neutral.400',\n p: 1,\n _checked: {\n bg: 'primary.500',\n _disabled: {\n bg: 'neutral.600',\n },\n },\n _disabled: {\n bg: 'neutral.500',\n opacity: '100%',\n },\n },\n thumb: baseStyleThumb,\n}));\n\nconst sizes = {\n sm: definePartsStyle({\n container: {\n [$width.variable]: '1.875rem',\n [$height.variable]: '0.75rem',\n },\n thumb: {\n [$width.variable]: '0.75rem',\n [$height.variable]: '0.75rem',\n },\n }),\n md: definePartsStyle({\n container: {\n [$width.variable]: '2.375rem',\n [$height.variable]: '1rem',\n },\n thumb: {\n [$width.variable]: '1rem',\n [$height.variable]: '1rem',\n },\n }),\n lg: definePartsStyle({\n container: {\n [$width.variable]: '3.25rem',\n [$height.variable]: '1.375rem',\n },\n thumb: {\n [$width.variable]: '1.375rem',\n [$height.variable]: '1.375rem',\n },\n }),\n};\n\nconst Switch = defineMultiStyleConfig({\n baseStyle,\n sizes,\n defaultProps: {\n size: 'md',\n },\n});\n\nexport default Switch;\n","import { tableAnatomy as parts } from '@chakra-ui/anatomy';\nimport { createMultiStyleConfigHelpers, defineStyle } from '@chakra-ui/styled-system';\nimport { mode } from '@chakra-ui/theme-tools';\n\nconst { defineMultiStyleConfig, definePartsStyle } = createMultiStyleConfigHelpers(parts.keys);\n\nconst baseStyle = definePartsStyle({\n table: {\n fontVariantNumeric: 'lining-nums tabular-nums',\n borderCollapse: 'collapse',\n width: 'full',\n },\n th: {\n fontFamily: 'heading',\n fontWeight: 'semibold',\n textTransform: 'uppercase',\n letterSpacing: 'normal',\n textAlign: 'start',\n height: '50px',\n color: mode('neutral.900', 'white'),\n fontSize: 'text.sm',\n lineHeight: '18px',\n },\n td: {\n textAlign: 'start',\n height: '56px',\n },\n caption: {\n mt: 4,\n fontFamily: 'heading',\n textAlign: 'center',\n fontWeight: 'medium',\n },\n});\n\nconst numericStyles = defineStyle({\n '&[data-is-numeric=true]': {\n textAlign: 'end',\n },\n});\n\nconst variantSimple = definePartsStyle(props => {\n const { colorScheme: c } = props;\n\n return {\n th: {\n color: mode('gray.600', 'gray.400')(props),\n borderBottom: '1px',\n borderColor: mode(`${c}.100`, `${c}.700`)(props),\n ...numericStyles,\n },\n td: {\n borderBottom: '1px',\n borderColor: mode(`${c}.100`, `${c}.700`)(props),\n ...numericStyles,\n },\n caption: {\n color: mode('gray.600', 'gray.100')(props),\n },\n tfoot: {\n tr: {\n '&:last-of-type': {\n th: { borderBottomWidth: 0 },\n },\n },\n },\n };\n});\n\nconst variantStripe = definePartsStyle(props => {\n const { colorScheme: c } = props;\n\n return {\n th: {\n color: mode('gray.600', 'gray.400')(props),\n borderBottom: '1px',\n borderColor: mode(`${c}.100`, `${c}.700`)(props),\n ...numericStyles,\n },\n td: {\n borderBottom: '1px',\n borderColor: mode(`${c}.100`, `${c}.700`)(props),\n ...numericStyles,\n },\n caption: {\n color: mode('gray.600', 'gray.100')(props),\n },\n tbody: {\n tr: {\n '&:nth-of-type(odd)': {\n 'th, td': {\n borderBottomWidth: '1px',\n borderColor: mode(`${c}.100`, `${c}.700`)(props),\n },\n td: {\n background: mode(`${c}.100`, `${c}.700`)(props),\n },\n },\n },\n },\n tfoot: {\n tr: {\n '&:last-of-type': {\n th: { borderBottomWidth: 0 },\n },\n },\n },\n };\n});\n\nconst variants = {\n simple: variantSimple,\n striped: variantStripe,\n unstyled: defineStyle({}),\n};\n\nconst sizes = {\n sm: definePartsStyle({\n th: {\n px: '4',\n py: '1',\n lineHeight: '4',\n fontSize: 'xs',\n },\n td: {\n px: '4',\n py: '2',\n fontSize: 'sm',\n lineHeight: '4',\n },\n caption: {\n px: '4',\n py: '2',\n fontSize: 'xs',\n },\n }),\n md: definePartsStyle({\n th: {\n px: '2',\n py: '4',\n lineHeight: '4',\n fontSize: 'xs',\n '&:first-of-type': {\n pl: 6,\n },\n '&:last-of-type': {\n pr: 6,\n },\n },\n td: {\n px: '2',\n py: '4',\n lineHeight: '5',\n '&:first-of-type': {\n pl: 6,\n },\n '&:last-of-type': {\n pr: 6,\n },\n },\n caption: {\n px: '6',\n py: '2',\n fontSize: 'sm',\n },\n }),\n lg: definePartsStyle({\n th: {\n px: '8',\n py: '4',\n lineHeight: '5',\n fontSize: 'sm',\n },\n td: {\n px: '8',\n py: '5',\n lineHeight: '6',\n },\n caption: {\n px: '6',\n py: '2',\n fontSize: 'md',\n },\n }),\n};\n\nconst tableTheme = defineMultiStyleConfig({\n baseStyle,\n variants,\n sizes,\n defaultProps: {\n variant: 'simple',\n size: 'md',\n colorScheme: 'gray',\n },\n});\nexport default tableTheme;\n","import { defineStyle, defineStyleConfig } from '@chakra-ui/react';\nimport type { TextAreaProps } from 'packages/internal-ui/src/components/form';\n\nconst getProps = (props: TextAreaProps) => {\n const { isError, isSuccess, isDisabled } = props;\n\n let borderColor = 'neutral.400';\n let focusBorderColor = 'primary.500';\n\n if (isError) {\n borderColor = 'danger.500';\n focusBorderColor = 'danger.500';\n } else if (isSuccess) {\n borderColor = 'success.500';\n focusBorderColor = 'success.500';\n } else if (isDisabled && !isError && !isSuccess) {\n borderColor = 'neutral.400';\n focusBorderColor = 'danger.500';\n }\n\n return {\n focusBorderColor,\n borderColor,\n };\n};\n\nconst outline = defineStyle(props => {\n const { focusBorderColor, borderColor } = getProps(props);\n\n return {\n background: 'white.high',\n color: 'black.high',\n borderColor,\n fontSize: 'text.sm',\n padding: 2,\n borderRadius: 'sm',\n borderWidth: '1px',\n outline: 'none',\n\n _disabled: {\n opacity: 1,\n color: 'black.medium',\n background: 'neutral.300',\n },\n _placeholder: {\n color: 'black.low',\n },\n _hover: {\n borderColor,\n },\n _focus: {\n outline: 'none',\n borderColor: focusBorderColor,\n boxShadow: 'none',\n },\n _focusVisible: {\n outline: 'none',\n borderColor: focusBorderColor,\n boxShadow: 'none',\n },\n _focusWithin: {\n outline: 'none',\n borderColor: focusBorderColor,\n boxShadow: 'none',\n },\n _invalid: {\n outline: 'none',\n borderColor: 'danger.500',\n boxShadow: 'none',\n },\n };\n});\n\nexport const Textarea = defineStyleConfig({\n variants: { outline },\n defaultProps: {\n variant: 'outline',\n },\n});\n\nexport default Textarea;\n","import type { ThemeConfig, ThemeOverride } from '@chakra-ui/react';\nimport { extendTheme } from '@chakra-ui/react';\n\nimport * as components from './components';\n\nconst config: ThemeConfig = {\n initialColorMode: 'light',\n useSystemColorMode: false,\n};\n\nexport const getTheme = (foundations: Record<string, any>) => {\n return extendTheme({\n ...foundations,\n components: {\n ...components,\n },\n styles: {\n global: {\n '&::-webkit-scrollbar': {\n width: '10px',\n height: '10px',\n },\n '&::-webkit-scrollbar-track': {\n background: 'white',\n },\n '&::-webkit-scrollbar-thumb': {\n background: 'neutral.400',\n borderRadius: '24px',\n border: '2px solid white',\n },\n body: {\n fontSize: 'text.sm',\n color: 'black.high',\n },\n },\n },\n config,\n });\n};\n\nconst theme = extendTheme(<ThemeOverride>{\n components: {\n ...components,\n },\n styles: {\n global: {\n '*::-webkit-scrollbar-thumb': {\n background: 'neutral.400',\n },\n body: {\n fontSize: 'text.sm',\n color: 'black.high',\n },\n },\n },\n config,\n});\n\ntype Theme = typeof theme;\n\nexport type { Theme };\nexport { theme };\nexport { ThemeTypings } from '@chakra-ui/styled-system';\n","import 'react-toastify/dist/ReactToastify.css';\n\nimport axios from 'axios';\nimport type { FC } from 'react';\nimport React, { createContext, useContext, useEffect, useMemo, useRef } from 'react';\nimport { ToastContainer } from 'react-toastify';\n\nimport type { ProviderContextObject, ProviderProps } from '../types';\n\nexport const ProviderContext = createContext<ProviderContextObject>({\n instance: undefined,\n});\n\nexport const useInternalUI = (): ProviderContextObject => {\n const { instance } = useContext(ProviderContext);\n return { instance };\n};\n\nconst Provider: FC<ProviderProps> = ({ children, config, requestInterceptors, responseInterceptors }) => {\n const instanceRef = useRef(axios.create(config));\n\n useEffect(() => {\n requestInterceptors?.forEach(interceptor => {\n instanceRef.current.interceptors.request.use(interceptor);\n });\n responseInterceptors?.forEach(interceptor => {\n instanceRef.current.interceptors.response.use(interceptor);\n });\n }, [requestInterceptors, responseInterceptors]);\n\n const provider = useMemo(() => ({ instance: instanceRef.current }), []);\n\n return (\n <ProviderContext.Provider value={provider}>\n <ToastContainer />\n {children}\n </ProviderContext.Provider>\n );\n};\n\nProvider.displayName = 'Provider';\n\nexport default Provider;\n","import type { AxiosRequestConfig } from 'axios';\nimport axios from 'axios';\nimport { useMemo } from 'react';\n\nimport { useInternalUI } from '../provider';\n\nexport default function useFetcher() {\n const { instance } = useInternalUI();\n const axiosInstance = useMemo(() => instance || axios, [instance]);\n\n const fetcher = async <TResponse = unknown>({ url, data, method, headers, ...config }: AxiosRequestConfig) => {\n const response = await axiosInstance.request<TResponse>({\n data,\n url,\n method,\n headers: {\n 'Content-Type': 'application/json; charset=utf-8',\n ...headers,\n },\n ...config,\n });\n return response;\n };\n\n return {\n fetcher,\n };\n}\n"],"names":["CheckIcon","React","CheckCircle","color","size","InfoIcon","Info","WarningIcon","AlertTriangle","AlertProvider","useAlertContext","createContext","name","hookName","providerName","AlertStylesProvider","useAlertStyles","STATUSES","info","icon","colorScheme","warning","success","error","neutral","getStatusColorScheme","status","getStatusIcon","Alert","forwardRef","props","ref","addRole","children","rest","omitThemingProps","_props$colorScheme","styles","useMultiStyleConfig","alertStyles","width","display","gridTemplateColumns","alignItems","position","overflow","container","value","chakra","div","role","undefined","className","cx","__css","displayName","Loader","useStyleConfig","Box","defaultProps","Button","variant","getLoaderSize","getLoaderColor","ButtonChakra","spinner","AlertAction","css","action","fontWeight","AlertClose","close","span","Close","AlertDescription","descriptionStyles","description","AlertIcon","BaseIcon","AlertTitle","title","Badge","pill","BadgeChakra","borderRadius","justifyContent","textTransform","BreadCrumb","parents","disableHome","spacing","backButton","neutral600","primary500","useToken","paddingY","mr","onClick","FiChevronLeft","theme","sizes","Text","pr","textStyle","h","borderLeft","borderColor","Breadcrumb","separator","FiChevronsRight","pl","sx","ol","BreadcrumbItem","BreadcrumbLink","href","style","cursor","FiHome","map","val","key","disable","link","_hover","textDecoration","textDecor","CardCustom","Card","backgroundColor","withShadow","isRounded","CheckboxComponent","isError","helpText","errorText","boxProps","isDisabled","Checkbox","as","mt","ml","Field","label","errorMessage","leftHelperText","rightHelperText","isRequired","isSuccess","getHelperColor","getJustifyContentHelper","helperColor","justifyHelper","FormControl","isInvalid","FormLabel","mb","fontSize","requiredIndicator","FormHelperText","FormErrorMessage","CheckboxGroupComponent","CheckboxGroup","Stack","direction","Chips","isActive","onClose","closeColor","useMemo","DataTable","columns","dataSource","isLoading","withSelectedRow","onSelectedRow","onSort","sortDescFirst","sortingState","headerSticky","manualSorting","onRowClick","isFirstLoad","setIsFirstLoad","sorting","setSorting","rowSelection","onRowSelectionChange","dataColumns","checkboxColumn","id","header","table","isChecked","getIsAllRowsSelected","isIndeterminate","getIsSomeRowsSelected","onChange","getToggleAllRowsSelectedHandler","cell","row","index","getIsSelected","getIsSomeSelected","getToggleSelectedHandler","generateColumn","onSortingChange","data","useReactTable","getCoreRowModel","getSortedRowModel","manualPagination","state","getSelectedRowModel","toggleAllRowsSelected","flatRows","rowData","original","Flex","w","pos","bg","align","justify","zIndex","Spinner","thickness","Table","Thead","top","getHeaderGroups","headerGroup","Tr","useColorModeValue","tableRow","headers","_ref","Th","colSpan","tableColumnHeader","userSelect","gap","flexRender","column","columnDef","getContext","getCanSort","getToggleSortingHandler","asc","ChevronUpIcon","desc","ChevronDownIcon","getIsSorted","UpDownIcon","Tbody","tableBody","getRowModel","rows","getVisibleCells","Td","tableCell","overflowX","maxW","minH","getProperties","outlineColor","focusColor","getWrapperStyle","border","transition","boxShadow","_focusWithin","defineStyle","Styles","colorMode","useColorMode","Global","TimeInput","rightAddon","time","setTime","useState","handleChange","e","_e$target","target","_e$target2","flexDir","p","pt","InputGroup","Input","type","InputRightAddon","Datepicker","helperText","withTime","onClear","showMonth","shortMonth","selected","Date","dateFormat","_props$dateFormat","wrapperStyle","getTimeProps","timeInputLabel","showTimeInput","customTimeInput","component","ReactDatePicker","customInput","autoComplete","showPopperArrow","calendarClassName","classnames","inline","showMonthDropdown","useShortMonthInDropdown","InputRightElement","FiCalendar","FiX","selectsRange","DatePickerMonth","min","max","date","setDate","lineHeight","required","MultiDateWrapper","styled","MultiDatePickerMonth","InputAddonLeft","InputLeftAddon","px","py","marginInlineEnd","InputAddonRight","marginInlineStart","InputField","addOnLeft","addOnRight","withClear","inputProps","isShowPassword","setIsShowPassword","inputType","iconColor","ChakraInput","EyeOff","Eye","TextareaField","ChakraTextarea","right","Logo","url","imageUrl","height","Image","maxH","src","alt","Profile","brandColor","onLogout","isOpen","onToggle","useDisclosure","Popover","placement","minW","m","HStack","VStack","email","userRole","mx","office","length","PopoverTrigger","Avatar","_data$name","PopoverContent","PopoverArrow","PopoverBody","FiPower","SwitchMode","toggleColorMode","FiMoon","FiSun","environmentName","env","Version","hideEnv","version","environment","onOpenModalRelease","background","Header","hideSwitchMode","mainLogo","centerLogo","mainLogoSize","centerLogoSize","urlLogo","profile","bgColor","shadow","left","transform","ModalBody","ChakraModalBody","ModalCloseButton","ChakraModalCloseButton","ModalFooter","ChakraModalFooter","borderBottomRadius","ModalHeader","ChakraModalHeader","borderTopRadius","CustomerIcon","createIcon","viewBox","path","fill","fillRule","d","clipRule","mappingIcon","Map","FiShoppingBag","FiShoppingCart","FiRepeat","FiBox","FiLayers","FiDollarSign","FiUsers","FiRotateCcw","FiSettings","FiLayout","FiGift","Navigation","navigations","activePath","host","navigation","startsWith","navLink","activeBg","trigger","Icon","get","whiteSpace","Portal","navHost","isLocalLink","isActiveSub","Link","_first","_last","NavigationBar","isFetched","pathname","asPath","urlMenu","subMenu","window","location","hostname","hidden","backgroundRepeat","rounded","flexWrap","item","childMenu","filter","includes","_childMenu$","isLazy","openDelay","closeDelay","leftIcon","rightIcon","PaginationButton","btnBg","btnColor","btnNotActiveBg","btnNotActiveColor","_disabled","pointerEvents","PaginationButtonTrigger","visuallyHidden","VisuallyHidden","Pagination","current","total","onSelect","btnColorDisabled","disabledPrevious","previousButtonColor","disabledNext","nextButtonColor","handleSelectPage","page","generatePages","maxButtons","pageButtons","startPage","endPage","Math","floor","push","ArrowLeftIcon","ChevronLeftIcon","scale","ChevronRightIcon","ArrowRightIcon","PaginationDetail","limit","PaginationFilter","items","setValue","flexDirection","Select","textAlign","outline","FiChevronDown","_focusVisible","numberValue","Number","RadioComponent","Radio","RadioGroupComponent","RadioGroup","Rating","Grid","Array","_","i","RatingIcon","SelectWrapper","fontWeights","hairline","thin","light","normal","medium","semibold","bold","extrabold","black","lineHeights","none","shorter","short","base","tall","letterSpacings","tighter","tight","wide","wider","widest","fontSizes","heading","text","xl","lg","md","sm","xs","button","field","letterSpacing","textStyles","styleMd","selectStyle","selectStyles","_isError","boxShadowLight","isFocused","control","borderWidth","option","isSelected","menu","singleValue","input","dropdownIndicator","indicatorSeparator","placeholder","themeSelect","colors","primary","primary25","primary50","primary75","ReactSelect","classNamePrefix","SelectAsync","AsyncPaginate","SelectAsyncCreatable","ReactSelectAsyncCreatable","SelectCreatable","ReactSelectCreatable","Switch","ownProps","getInputProps","getCheckboxProps","getRootProps","getLabelProps","useCheckbox","containerStyles","verticalAlign","trackStyles","flexShrink","boxSizing","track","labelStyles","marginStart","getIconSize","iconSize","Check","thumb","dataAttr","isHovered","Tab","tabProps","useTab","_selected","_focus","tab","leftAddon","_props$leftAddon","call","_props$rightAddon","TabList","ChakraTabList","borderBottom","TabPanel","ChakraTabPanel","messages","dragActive","dragInActive","dragReplace","replaceFile","uploadFile","Uploader","onHandleUploadFile","onHandleRejections","accept","multiple","maxFiles","renderError","validator","selectedFirstFile","setSelectedFirstFile","setIsSelected","onDrop","acceptedFiles","isDragActive","fileRejections","useDropzone","Heading","definePartsStyle","defineMultiStyleConfig","createMultiStyleConfigHelpers","parts","keys","baseStyleContainer","baseStyleButton","transitionProperty","transitionDuration","opacity","baseStylePanel","pb","baseStyleIcon","baseStyle","panel","accordionTheme","$fg","cssVar","$bg","reference","marginEnd","getBg","c","variantLight","variable","variantSolid","variants","solid","alertTheme","defineStyleConfig","basePrimary","_active","disabledLoading","secondary","baseSecondary","borderStyle","marginBottom","tertiary","baseTertiary","danger","baseDanger","CardStyle","checkboxAnatomy","errors","_checked","_indeterminate","unstyled","chipsProps","isActiveProps","isDisabledProps","minWidth","paddingInlineStart","paddingInlineEnd","appearance","_placeholder","addon","mode","_invalid","rotate","keyframes","colorValue","split","LoaderStyle","animation","content","bottom","WebkitMask","xxl","popper","radioAnatomy","marginLeft","_before","$width","$height","$diff","diffValue","calc","subtract","$translateX","baseStyleThumb","_rtl","negate","toString","fontVariantNumeric","borderCollapse","th","fontFamily","td","caption","numericStyles","variantSimple","tfoot","tr","borderBottomWidth","variantStripe","tbody","simple","striped","tableTheme","getProps","focusBorderColor","padding","Textarea","config","initialColorMode","useSystemColorMode","getTheme","foundations","extendTheme","components","global","body","ProviderContext","instance","useInternalUI","useContext","Provider","requestInterceptors","responseInterceptors","instanceRef","useRef","axios","create","useEffect","forEach","interceptor","interceptors","request","use","response","provider","ToastContainer","useFetcher","axiosInstance","fetcher","method"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;SAIgBA,SAASA;EACvB,oBAAOC,6BAACC,gBAAW;IAACC,KAAK,EAAC,SAAS;IAACC,IAAI,EAAE;IAAK;AACjD;SAEgBC,QAAQA;EACtB,oBAAOJ,6BAACK,SAAI;IAACH,KAAK,EAAC,SAAS;IAACC,IAAI,EAAE;IAAK;AAC1C;SAEgBG,WAAWA;EACzB,oBAAON,6BAACO,kBAAa;IAACL,KAAK,EAAC,SAAS;IAACC,IAAI,EAAE;IAAK;AACnD;;ACTO,MAAM,CAACK,aAAa,EAAEC,eAAe,CAAC,gBAAGC,0BAAa,CAAe;EAC1EC,IAAI,EAAE,cAAc;EACpBC,QAAQ,EAAE,iBAAiB;EAC3BC,YAAY,EAAE;CACf,CAAC;AAEF,MAAa,CAACC,mBAAmB,EAAEC,cAAc,CAAC,gBAAGL,0BAAa,CAAoC;EACpGC,IAAI,sBAAsB;EAC1BC,QAAQ,kBAAkB;EAC1BC,YAAY,EAAE;CACf,CAAC;AAEF,MAAMG,QAAQ,GAAG;EACfC,IAAI,EAAE;IAAEC,IAAI,EAAEd,QAAQ;IAAEe,WAAW,EAAE;GAAQ;EAC7CC,OAAO,EAAE;IAAEF,IAAI,EAAEd,QAAQ;IAAEe,WAAW,EAAE;GAAW;EACnDE,OAAO,EAAE;IAAEH,IAAI,EAAEnB,SAAS;IAAEoB,WAAW,EAAE;GAAW;EACpDG,KAAK,EAAE;IAAEJ,IAAI,EAAEZ,WAAW;IAAEa,WAAW,EAAE;GAAU;EACnDI,OAAO,EAAE;IAAEL,IAAI,EAAEd,QAAQ;IAAEe,WAAW,EAAE;;CACzC;AAED,SAAgBK,oBAAoBA,CAACC,MAAmB;EACtD,OAAOT,QAAQ,CAACS,MAAM,CAAC,CAACN,WAAW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