@ctlyst.id/internal-ui 2.0.28 → 2.0.29-canary.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. package/dist/components/badge/__stories__/badge.stories.d.ts +0 -3
  2. package/dist/components/base/__stories__/switch.stories.d.ts +0 -3
  3. package/dist/components/breadcrumb/__stories__/breadcrumb.stories.d.ts +0 -3
  4. package/dist/components/button/__stories__/button.stories.d.ts +0 -3
  5. package/dist/components/card/__stories__/card.stories.d.ts +0 -3
  6. package/dist/components/checkbox/__stories__/checkbox-group.stories.d.ts +0 -3
  7. package/dist/components/checkbox/__stories__/checkbox.stories.d.ts +0 -3
  8. package/dist/components/chips/__stories__/chips.stories.d.ts +0 -3
  9. package/dist/components/data-table/__stories__/datatable.stories.d.ts +0 -3
  10. package/dist/components/datepicker/__stories__/datepicker.stories.d.ts +0 -3
  11. package/dist/components/form/__stories__/textarea.stories.d.ts +0 -3
  12. package/dist/components/header/__stories__/header.stories.d.ts +0 -3
  13. package/dist/components/loader/__stories__/loader.stories.d.ts +0 -3
  14. package/dist/components/modal/__stories__/modal.stories.d.ts +0 -3
  15. package/dist/components/navigation/__stories__/navigation.stories.d.ts +0 -3
  16. package/dist/components/pagination/__stories__/pagination.stories.d.ts +0 -3
  17. package/dist/components/radio/__stories__/radio-group.stories.d.ts +0 -3
  18. package/dist/components/radio/__stories__/radio.stories.d.ts +0 -3
  19. package/dist/components/rating/__stories__/rating.stories.d.ts +0 -3
  20. package/dist/components/select/__stories__/select.stories.d.ts +0 -3
  21. package/dist/components/switch/__stories__/switch.stories.d.ts +0 -3
  22. package/dist/components/tabs/__stories__/tabs.stories.d.ts +0 -3
  23. package/dist/components/tooltip/__stories__/tooltip.stories.d.ts +0 -3
  24. package/dist/components/uploader/__stories__/uploader.stories.d.ts +0 -3
  25. package/dist/config/theme/components/loader.d.ts +1 -1
  26. package/dist/config/theme/foundations/index.d.ts +0 -1
  27. package/dist/config/theme/themeConfiguration.d.ts +1 -0
  28. package/dist/internal-ui.cjs.development.js +285 -437
  29. package/dist/internal-ui.cjs.development.js.map +1 -1
  30. package/dist/internal-ui.cjs.production.min.js +5 -5
  31. package/dist/internal-ui.cjs.production.min.js.map +1 -1
  32. package/dist/internal-ui.esm.js +286 -439
  33. package/dist/internal-ui.esm.js.map +1 -1
  34. package/dist/provider/__stories__/provider.stories.d.ts +4 -0
  35. package/package.json +5 -4
  36. package/dist/config/theme/foundations/colors.d.ts +0 -158
@@ -1 +1 @@
1
- {"version":3,"file":"internal-ui.esm.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/config/theme/foundations/colors.ts","../src/config/theme/foundations/radius.ts","../src/config/theme/foundations/shadows.ts","../src/config/theme/foundations/sizes.ts","../src/config/theme/foundations/spacing.ts","../src/config/theme/foundations/typography.ts","../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/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/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};\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' | 'subtle';\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 CustomBadgeProps extends HTMLChakraProps<'span'>, ThemingProps {}\n\nconst Loader = forwardRef<CustomBadgeProps, '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__close', className)}\n variant=\"link\"\n color=\"inherit\"\n fontWeight=\"700\"\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 ? 10 : 4}\n variant=\"primary-solid\"\n padding=\"0 8px\"\n height=\"18px\"\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, useColorModeValue, useToken } from '@chakra-ui/react';\nimport * as React from 'react';\nimport { FiChevronsRight, FiHome } from 'react-icons/fi';\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}\n\nconst BreadCrumb: React.FC<BreadCrumbProps> = props => {\n const { title, children, parents, className, disableHome, spacing = 2 } = props;\n const [neutral6, dark5] = useToken('colors', ['neutral.600', 'dark.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 <Text pr={2} fontWeight={600} textStyle=\"heading.4\" color={useColorModeValue('neutral.700', 'white')}>\n {title}\n </Text>\n <Box h=\"22px\" borderLeft=\"1px solid\" borderColor={useColorModeValue(neutral6, 'white')} />\n <Breadcrumb\n separator={<FiChevronsRight color={useColorModeValue(neutral6, dark5)} size={14} />}\n pl={2.5}\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={16} color={useColorModeValue('#12784A', '#ffffff')} />\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\n color={val.disable ? 'dark.600' : useColorModeValue('primary.500', 'white')}\n fontSize=\"text.sm\"\n fontWeight={400}\n >\n {val.name}\n </Text>\n </BreadcrumbLink>\n </BreadcrumbItem>\n ))}\n <BreadcrumbItem>\n <BreadcrumbLink _hover={{ textDecor: 'none', cursor: 'default' }}>\n <Text color={useColorModeValue(neutral6, 'white')} fontSize=\"text.sm\" fontWeight={400}>\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};\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: 'md',\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","const transparent = 'transparent';\r\n\r\nconst black = {\r\n high: '#111111',\r\n medium: '#707070',\r\n low: '#B8B8B8',\r\n};\r\n\r\nconst white = {\r\n high: '#FFFFFF',\r\n medium: '#F1F1F1',\r\n low: '#CCCCCC',\r\n};\r\n\r\nconst neutral = {\r\n '50': '#FFFFFF',\r\n '100': '#FAFAFA',\r\n '200': '#F5F5F5',\r\n '300': '#EEEEEE',\r\n '400': '#E0E0E0',\r\n '500': '#BDBDBD',\r\n '600': '#999999',\r\n '700': '#242424',\r\n '800': '#181818',\r\n '900': '#111111',\r\n};\r\n\r\nconst primary = {\r\n '50': '#DFFFF1',\r\n '100': '#ACF5D5',\r\n '200': '#5EE5A9',\r\n '300': '#05CB72',\r\n '400': '#08A45E',\r\n '500': '#12784A',\r\n '600': '#0B603A',\r\n '700': '#075331',\r\n '800': '#064126',\r\n '900': '#042E1B',\r\n};\r\n\r\nconst secondary = {\r\n '50': '#F2F2F3',\r\n '100': '#DADBDD',\r\n '200': '#C2C4C7',\r\n '300': '#AAADB0',\r\n '400': '#93969A',\r\n '500': '#7B7F84',\r\n '600': '#62666A',\r\n '700': '#4A4C4F',\r\n '800': '#313335',\r\n '900': '#19191A',\r\n};\r\n\r\nconst success = {\r\n '50': '#ECFFED',\r\n '100': '#D3FCD5',\r\n '200': '#A9F9B5',\r\n '300': '#7CEE98',\r\n '400': '#58DD86',\r\n '500': '#28C76F',\r\n '600': '#1DAB6A',\r\n '700': '#148F63',\r\n '800': '#0C7359',\r\n '900': '#075F51',\r\n};\r\n\r\nconst danger = {\r\n '50': '#FFEDEC',\r\n '100': '#FFC7C2',\r\n '200': '#FF8279',\r\n '300': '#FF5B4F',\r\n '400': '#F44336',\r\n '500': '#D82F23',\r\n '600': '#B71C1C',\r\n '700': '#930B0B',\r\n '800': '#660909',\r\n '900': '#3E0707',\r\n};\r\n\r\nconst warning = {\r\n '50': '#FFF9EC',\r\n '100': '#FFEFCC',\r\n '200': '#FFD591',\r\n '300': '#FFC069',\r\n '400': '#FFA230',\r\n '500': '#F68522',\r\n '600': '#EF6C00',\r\n '700': '#C65B03',\r\n '800': '#9F4901',\r\n '900': '#652E00',\r\n};\r\n\r\nconst info = {\r\n '50': '#EBFFFB',\r\n '100': '#CBFDF2',\r\n '200': '#97FCEF',\r\n '300': '#63F8F0',\r\n '400': '#3CECF1',\r\n '500': '#00CFE8',\r\n '600': '#00A1C7',\r\n '700': '#007AA7',\r\n '800': '#005786',\r\n '900': '#003F6F',\r\n};\r\n\r\nconst dark = {\r\n '50': '#F2F2F2',\r\n '100': '#DBDBDB',\r\n '200': '#C4C4C4',\r\n '300': '#ADADAD',\r\n '400': '#969696',\r\n '500': '#808080',\r\n '600': '#666666',\r\n '700': '#4D4D4D',\r\n '800': '#333333',\r\n '900': '#1A1A1A',\r\n};\r\n\r\nconst mirage = {\r\n '50': '#EDF0F7',\r\n '100': '#CED5E9',\r\n '200': '#AEBADB',\r\n '300': '#8E9ECC',\r\n '400': '#6F83BE',\r\n '500': '#4F68B0',\r\n '600': '#3F538D',\r\n '700': '#2F3E6A',\r\n '800': '#202A46',\r\n '900': '#101523',\r\n};\r\n\r\nconst ebonyClay = {\r\n '50': '#EFF1F6',\r\n '100': '#D2D7E5',\r\n '200': '#B4BDD4',\r\n '300': '#97A3C4',\r\n '400': '#7A89B3',\r\n '500': '#5D6FA2',\r\n '600': '#4A5982',\r\n '700': '#384361',\r\n '800': '#252D41',\r\n '900': '#131620',\r\n};\r\n\r\nconst brightGray = {\r\n '50': '#F0F1F4',\r\n '100': '#D5D9E1',\r\n '200': '#BAC0CE',\r\n '300': '#A0A8BB',\r\n '400': '#858FA8',\r\n '500': '#6A7795',\r\n '600': '#555F77',\r\n '700': '#404759',\r\n '800': '#2A2F3C',\r\n '900': '#15181E',\r\n};\r\n\r\nconst doveGray = {\r\n '50': '#F2F2F2',\r\n '100': '#DBDBDB',\r\n '200': '#C4C4C4',\r\n '300': '#ADADAD',\r\n '400': '#969696',\r\n '500': '#808080',\r\n '600': '#666666',\r\n '700': '#4D4D4D',\r\n '800': '#333333',\r\n '900': '#1A1A1A',\r\n};\r\n\r\nconst colors = {\r\n transparent,\r\n black,\r\n white,\r\n neutral,\r\n primary,\r\n secondary,\r\n success,\r\n danger,\r\n warning,\r\n info,\r\n dark,\r\n mirage,\r\n 'ebony-clay': ebonyClay,\r\n 'bright-gray': brightGray,\r\n 'dove-gray': doveGray,\r\n};\r\n\r\nexport default colors;\r\n","const radius = {\r\n none: 0,\r\n sm: '2px',\r\n md: '4px',\r\n lg: '8px',\r\n full: '9999px',\r\n};\r\n\r\nexport default radius;\r\n","import { theme } from '@chakra-ui/react';\n\nconst shadows = {\n ...theme.shadows,\n raised: '0px 4px 20px rgba(0, 0, 0, 0.05)',\n};\n\nexport default shadows;\n","import { theme } from '@chakra-ui/react';\r\n\r\nconst sizes = {\r\n ...theme.sizes,\r\n 4.5: '1.125rem',\r\n 9.5: '2.375rem',\r\n 18: '4.5rem',\r\n 22: '5.5rem',\r\n 26: '6.5rem',\r\n 30: '7.5rem',\r\n};\r\n\r\nexport default sizes;\r\n","import { theme } from '@chakra-ui/react';\r\n\r\nconst spacing = {\r\n ...theme.space,\r\n 4.5: '1.125rem',\r\n 9.5: '2.375rem',\r\n 18: '4.5rem',\r\n 22: '5.5rem',\r\n 26: '6.5rem',\r\n 30: '7.5rem',\r\n};\r\n\r\nexport default spacing;\r\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","import { Box } from '@chakra-ui/react';\nimport styled from '@emotion/styled';\nimport type { FC } from 'react';\nimport React from 'react';\n\nimport { colors } from '../../../../config/theme/foundations';\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 ? `${colors.danger[500]}` : `${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=\"md\"\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 { Image, useColorModeValue } from '@chakra-ui/react';\nimport React from 'react';\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","import {\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 type { HeaderDataProps } from '../types';\n\nexport type ProfileProps = {\n data?: HeaderDataProps;\n onLogout?: () => void;\n};\n\nconst Profile: React.FC<ProfileProps> = ({ 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.5} ml=\"2\">\n <Text\n fontSize=\"text.xs\"\n mb={1}\n fontWeight={400}\n lineHeight=\"14px\"\n color={useColorModeValue('neutral.800', 'white')}\n >\n {data?.email}\n </Text>\n <Text\n fontSize=\"text.xs\"\n fontWeight={400}\n lineHeight=\"14px\"\n color={useColorModeValue('primary.500', 'success.400')}\n >\n {data?.office && (\n <Text color=\"neutral.700\" display=\"inline-block\" mr={0.5} as=\"span\">\n {data.office} |{' '}\n </Text>\n )}\n {data?.userRole}\n </Text>\n </VStack>\n <PopoverTrigger>\n <Avatar size={'sm'} bg=\"primary.500\" 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 fontSize=\"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 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, useColorModeValue } 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 environment?: Environment;\n version?: string;\n onOpenModalRelease?: () => void;\n};\n\nconst Version: React.FC<VersionProps> = ({ version, environment, onOpenModalRelease }) => (\n <>\n {version && (\n <Badge\n data-test-id=\"dzl3esjhCphobaaIXpiUE\"\n bg={useColorModeValue('primary.500', 'rgba(124, 124, 124, 0.12)')}\n color={useColorModeValue('white', 'secondary.400')}\n fontSize=\"text.xs\"\n py={1}\n px={2.5}\n fontWeight=\"bold\"\n textTransform=\"lowercase\"\n borderRadius=\"md\"\n onClick={onOpenModalRelease}\n cursor={onOpenModalRelease ? 'pointer' : 'auto'}\n >\n {version}\n </Badge>\n )}\n {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 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, useColorModeValue } from '@chakra-ui/react';\nimport * as React from 'react';\n\nimport type { HeaderDataProps } from '../types';\nimport { VoilaLogo, XMSLogo } from './logo';\nimport Profile from './profile';\nimport SwitchMode from './switch-mode';\nimport Version from './version';\n\nexport type HeaderProps = BoxProps & {\n data?: HeaderDataProps;\n onLogout?: () => void;\n onOpenModalRelease?: () => void;\n hideSwitchMode?: boolean;\n};\n\nconst Header: React.FC<HeaderProps> = ({ data, onLogout, onOpenModalRelease, hideSwitchMode, ...props }) => (\n <Box\n minH={14}\n bg={useColorModeValue('white', 'ebony-clay.800')}\n boxShadow=\"0 4px 20px 0 rgb(0 0 0 / 5%)\"\n px={4}\n py={1}\n {...props}\n >\n <Flex h={14} alignItems=\"center\" justifyContent=\"space-between\">\n <XMSLogo />\n <HStack spacing={2} alignItems=\"center\">\n <VoilaLogo />\n <Version version={data?.version} environment={data?.environment} onOpenModalRelease={onOpenModalRelease} />\n </HStack>\n <Flex alignItems=\"center\">\n {!hideSwitchMode && <SwitchMode />}\n <Profile data={data} onLogout={onLogout} />\n </Flex>\n </Flex>\n </Box>\n);\n\nHeader.defaultProps = {\n data: undefined,\n onLogout: undefined,\n onOpenModalRelease: undefined,\n hideSwitchMode: false,\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=\"md\"\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={'md'}\n fontSize={'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","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={50}\n fontWeight={700}\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 backgroundColor={useColorModeValue('neutral.300', 'mirage.900')} borderRadius={50}>\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","/* 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 { colors, 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(colors.danger['500']);\n }\n if (isFocused) {\n return boxShadow(colors.primary['500']);\n }\n return boxShadow(colors.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: colors.primary['300'],\n borderColor: colors.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 ? colors.primary['700'] : colors.dark['800'],\n color: 'white',\n }\n : { ...base, ...selectStyle },\n menu: (base: CSSObjectWithLabel) =>\n colorMode === 'dark'\n ? {\n ...base,\n ...selectStyle,\n background: colors.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: colors.secondary['500'] } : { ...base, ...selectStyle },\n indicatorSeparator: (base: CSSObjectWithLabel) =>\n colorMode === 'dark'\n ? { ...base, ...selectStyle, backgroundColor: colors.secondary['500'] }\n : { ...base, ...selectStyle },\n placeholder: (base: CSSObjectWithLabel) => {\n return { ...base, ...selectStyle, color: colors.black.low };\n },\n };\n}\n\nexport const themeSelect = (theme: Theme) => {\n return {\n ...theme,\n colors: {\n ...theme.colors,\n primary: colors.primary['500'],\n primary25: colors.primary['50'],\n primary50: colors.primary['100'],\n primary75: colors.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, useColorModeValue, useMultiStyleConfig, useTab } from '@chakra-ui/react';\nimport * as React from 'react';\n\ntype AddonProps = {\n isSelected: boolean;\n};\n\ntype TabProps = ChakraTabProps & {\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 p={3}\n fontSize=\"text.md\"\n _selected={{\n borderColor: useColorModeValue('primary.400', 'primary.300'),\n color: useColorModeValue('primary.500', 'primary.300'),\n transform: 'translateY(-2px)',\n }}\n color={useColorModeValue('black.high', 'primary.300')}\n _focus={{ bg: 'none' }}\n __css={styles.tab}\n {...tabProps}\n >\n <Flex>\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';\nimport { transparentize } from '@chakra-ui/theme-tools';\n\nconst { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(parts.keys);\n\nconst $fg = cssVar('alert-fg');\nconst $bg = cssVar('alert-bg');\n\nconst baseStyle = definePartsStyle({\n container: {\n bg: $bg.reference,\n px: '4',\n py: '2',\n borderRadius: 'md',\n },\n title: {\n fontWeight: '400',\n lineHeight: '18px',\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 '& +.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 { theme, colorScheme: c } = props;\n const darkBg = transparentize(`${c}.200`, 0.16)(theme);\n return {\n light: `colors.${c}.50`,\n dark: darkBg,\n };\n}\n\nconst variantSubtle = 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 _dark: {\n [$fg.variable]: `colors.${c}.200`,\n [$bg.variable]: bg.dark,\n },\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]: `colors.${c}.500`,\n _dark: {\n [$fg.variable]: `colors.gray.900`,\n [$bg.variable]: `colors.${c}.200`,\n },\n color: $fg.reference,\n },\n };\n});\n\nconst variants = {\n subtle: variantSubtle,\n solid: variantSolid,\n};\n\nconst alertTheme = defineMultiStyleConfig({\n baseStyle,\n variants,\n defaultProps: {\n variant: 'subtle',\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: 10,\n fontWeight: 600,\n lineHeight: '1.25',\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: 'md',\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 ? 'lg' : '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: '4px',\r\n width: '16px',\r\n height: '16px',\r\n border: '1px solid',\r\n },\r\n icon: {\r\n color: 'neutral.50',\r\n },\r\n label: {\r\n fontWeight: '400',\r\n lineHeight: '18px',\r\n color: 'black.high',\r\n ml: '8px',\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 fontSize: '12px',\r\n },\r\n icon: {\r\n fontSize: '7px',\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 fontSize: '12px',\r\n _disabled: {\r\n opacity: 1,\r\n },\r\n },\r\n icon: {\r\n fontSize: '7px',\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 fontSize: 'text.small',\n borderRadius: '24px',\n borderWidth: '1px',\n borderColor: 'primary.500',\n bg: 'white.high',\n paddingX: 3,\n paddingY: 1,\n cursor: 'default',\n };\n\n let chipsProps = { ...defaultProps };\n\n if (isActive) {\n const isActiveProps = {\n bg: 'primary.500',\n color: 'white.high',\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 fontSize: '12px',\n lineHeight: 4,\n },\n md: {\n fontSize: '14px',\n paddingY: 2,\n lineHeight: 5,\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: 'md',\r\n }),\r\n md: defineStyle({\r\n fontSize: 'text.md',\r\n h: 10,\r\n borderRadius: 'md',\r\n }),\r\n sm: defineStyle({\r\n fontSize: 'text.sm',\r\n h: 9,\r\n borderRadius: 'md',\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","import { defineStyleConfig } from '@chakra-ui/styled-system';\nimport { keyframes } from '@emotion/react';\n\nimport colorsTheme from '../foundations/colors';\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 === 'primary') return colorsTheme.primary[600];\n if (color === 'danger') return colorsTheme.danger[500];\n if (color === 'warning') return colorsTheme.warning[700];\n return colorsTheme.white.high;\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: 'md',\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';\nimport * as foundations from './foundations';\n\nconst config: ThemeConfig = {\n initialColorMode: 'light',\n useSystemColorMode: false,\n};\n\nconst theme = extendTheme(<ThemeOverride>{\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\ntype Theme = typeof theme;\ntype Foundations = typeof foundations;\n\nexport type { Foundations, Theme };\nexport { foundations, 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","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","padding","height","justifyContent","textTransform","defaultProps","BreadCrumb","parents","disableHome","spacing","neutral6","dark5","useToken","paddingY","Text","pr","textStyle","useColorModeValue","h","borderLeft","borderColor","Breadcrumb","separator","FiChevronsRight","pl","sx","ol","BreadcrumbItem","BreadcrumbLink","href","style","cursor","FiHome","map","val","key","disable","link","onClick","_hover","textDecoration","fontSize","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","requiredIndicator","mr","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","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","transparent","black","high","medium","low","white","neutral","primary","secondary","danger","dark","mirage","ebonyClay","brightGray","doveGray","colors","radius","none","sm","md","lg","full","shadows","theme","raised","sizes","space","fonts","heading","body","fontWeights","hairline","thin","light","normal","semibold","bold","extrabold","lineHeights","shorter","short","base","tall","letterSpacings","tighter","tight","wide","wider","widest","fontSizes","text","xl","xs","button","field","letterSpacing","textStyles","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","XMSLogo","Image","src","VoilaLogo","filter","Profile","onLogout","isOpen","onToggle","useDisclosure","Popover","placement","minW","m","HStack","VStack","email","office","userRole","PopoverTrigger","Avatar","_data$name","PopoverContent","PopoverArrow","PopoverBody","FiPower","SwitchMode","toggleColorMode","mx","FiMoon","FiSun","environmentName","env","Version","version","environment","onOpenModalRelease","background","Header","hideSwitchMode","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","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","length","PaginationFilter","items","setValue","flexDirection","Select","textAlign","outline","FiChevronDown","_focusVisible","numberValue","Number","item","RadioComponent","Radio","RadioGroupComponent","RadioGroup","Rating","Grid","Array","_","i","RatingIcon","SelectWrapper","styleMd","selectStyle","selectStyles","_isError","boxShadowLight","isFocused","control","borderWidth","option","isSelected","menu","singleValue","input","dropdownIndicator","indicatorSeparator","placeholder","themeSelect","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","left","transform","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","$bg","baseStyle","reference","marginEnd","getBg","c","darkBg","transparentize","variantSubtle","variable","_dark","variantSolid","variants","subtle","solid","alertTheme","defineStyleConfig","opacity","basePrimary","_active","disabledLoading","baseSecondary","borderStyle","tertiary","baseTertiary","baseDanger","CardStyle","shadow","checkboxAnatomy","errors","_checked","_indeterminate","unstyled","paddingX","chipsProps","isActiveProps","isDisabledProps","minWidth","paddingInlineStart","paddingInlineEnd","appearance","_placeholder","addon","mode","_invalid","rotate","keyframes","colorsTheme","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","Textarea","config","initialColorMode","useSystemColorMode","extendTheme","foundations","components","global","ProviderContext","instance","useInternalUI","useContext","Provider","requestInterceptors","responseInterceptors","instanceRef","useRef","axios","create","useEffect","forEach","interceptor","interceptors","request","use","response","provider","useFetcher","axiosInstance","fetcher","url","method"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;SAIgBA,SAASA;EACvB,oBAAOC,6BAACC,WAAW;IAACC,KAAK,EAAC,SAAS;IAACC,IAAI,EAAE;IAAK;AACjD;SAEgBC,QAAQA;EACtB,oBAAOJ,6BAACK,IAAI;IAACH,KAAK,EAAC,SAAS;IAACC,IAAI,EAAE;IAAK;AAC1C;SAEgBG,WAAWA;EACzB,oBAAON,6BAACO,aAAa;IAACL,KAAK,EAAC,SAAS;IAACC,IAAI,EAAE;IAAK;AACnD;;ACTO,MAAM,CAACK,aAAa,EAAEC,eAAe,CAAC,gBAAGC,aAAa,CAAe;EAC1EC,IAAI,EAAE,cAAc;EACpBC,QAAQ,EAAE,iBAAiB;EAC3BC,YAAY,EAAE;CACf,CAAC;AAEF,MAAa,CAACC,mBAAmB,EAAEC,cAAc,CAAC,gBAAGL,aAAa,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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Y,CAACG,QAAQ,CAACD,GAAG,CAACH,WAAW,CAAC;KAC3D,CAAC;GACH,EAAE,CAACR,mBAAmB,EAAEC,oBAAoB,CAAC,CAAC;EAE/C,MAAMY,QAAQ,GAAG3lB,OAAO,CAAC,OAAO;IAAE0kB,QAAQ,EAAEM,WAAW,CAACzP;GAAS,CAAC,EAAE,EAAE,CAAC;EAEvE,oBAAO7f,6BAAC+uB,eAAe,CAACI,QAAQ;IAACtsB,KAAK,EAAEotB;KAAWluB,QAAQ,CAA4B;AACzF,CAAC;AAEDotB,QAAQ,CAAC9rB,WAAW,GAAG,UAAU;;SC1BT6sB,UAAUA;EAChC,MAAM;IAAElB;GAAU,GAAGC,aAAa,EAAE;EACpC,MAAMkB,aAAa,GAAG7lB,OAAO,CAAC,MAAM0kB,QAAQ,IAAIQ,KAAK,EAAE,CAACR,QAAQ,CAAC,CAAC;EAElE,MAAMoB,OAAO,GAAG,OAA4B;IAAEC,GAAG;IAAEzjB,IAAI;IAAE0jB,MAAM;IAAE/hB,OAAO;IAAE,GAAGigB;GAA4B;IACvG,MAAMwB,QAAQ,GAAG,MAAMG,aAAa,CAACL,OAAO,CAAY;MACtDljB,IAAI;MACJyjB,GAAG;MACHC,MAAM;MACN/hB,OAAO,EAAE;QACP,cAAc,EAAE,iCAAiC;QACjD,GAAGA;OACJ;MACD,GAAGigB;KACJ,CAAC;IACF,OAAOwB,QAAQ;GAChB;EAED,OAAO;IACLI;GACD;AACH;;;;"}
1
+ {"version":3,"file":"internal-ui.esm.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/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/radius.ts","../src/config/theme/foundations/shadows.ts","../src/config/theme/foundations/sizes.ts","../src/config/theme/foundations/spacing.ts","../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};\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' | 'subtle';\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 CustomBadgeProps extends HTMLChakraProps<'span'>, ThemingProps {}\n\nconst Loader = forwardRef<CustomBadgeProps, '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__close', className)}\n variant=\"link\"\n color=\"inherit\"\n fontWeight=\"700\"\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 ? 10 : 4}\n variant=\"primary-solid\"\n padding=\"0 8px\"\n height=\"18px\"\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, useColorModeValue, useToken } from '@chakra-ui/react';\nimport * as React from 'react';\nimport { FiChevronsRight, FiHome } from 'react-icons/fi';\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}\n\nconst BreadCrumb: React.FC<BreadCrumbProps> = props => {\n const { title, children, parents, className, disableHome, spacing = 2 } = props;\n const [neutral6, dark5] = useToken('colors', ['neutral.600', 'dark.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 <Text pr={2} fontWeight={600} textStyle=\"heading.4\" color={useColorModeValue('neutral.700', 'white')}>\n {title}\n </Text>\n <Box h=\"22px\" borderLeft=\"1px solid\" borderColor={useColorModeValue(neutral6, 'white')} />\n <Breadcrumb\n separator={<FiChevronsRight color={useColorModeValue(neutral6, dark5)} size={14} />}\n pl={2.5}\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={16} color={useColorModeValue('#12784A', '#ffffff')} />\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\n color={val.disable ? 'dark.600' : useColorModeValue('primary.500', 'white')}\n fontSize=\"text.sm\"\n fontWeight={400}\n >\n {val.name}\n </Text>\n </BreadcrumbLink>\n </BreadcrumbItem>\n ))}\n <BreadcrumbItem>\n <BreadcrumbLink _hover={{ textDecor: 'none', cursor: 'default' }}>\n <Text color={useColorModeValue(neutral6, 'white')} fontSize=\"text.sm\" fontWeight={400}>\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};\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: 'md',\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=\"md\"\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 { Image, useColorModeValue } from '@chakra-ui/react';\nimport React from 'react';\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","import {\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 type { HeaderDataProps } from '../types';\n\nexport type ProfileProps = {\n data?: HeaderDataProps;\n onLogout?: () => void;\n};\n\nconst Profile: React.FC<ProfileProps> = ({ 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.5} ml=\"2\">\n <Text\n fontSize=\"text.xs\"\n mb={1}\n fontWeight={400}\n lineHeight=\"14px\"\n color={useColorModeValue('neutral.800', 'white')}\n >\n {data?.email}\n </Text>\n <Text\n fontSize=\"text.xs\"\n fontWeight={400}\n lineHeight=\"14px\"\n color={useColorModeValue('primary.500', 'success.400')}\n >\n {data?.office && (\n <Text color=\"neutral.700\" display=\"inline-block\" mr={0.5} as=\"span\">\n {data.office} |{' '}\n </Text>\n )}\n {data?.userRole}\n </Text>\n </VStack>\n <PopoverTrigger>\n <Avatar size={'sm'} bg=\"primary.500\" 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 fontSize=\"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 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, useColorModeValue } 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 environment?: Environment;\n version?: string;\n onOpenModalRelease?: () => void;\n};\n\nconst Version: React.FC<VersionProps> = ({ version, environment, onOpenModalRelease }) => (\n <>\n {version && (\n <Badge\n data-test-id=\"dzl3esjhCphobaaIXpiUE\"\n bg={useColorModeValue('primary.500', 'rgba(124, 124, 124, 0.12)')}\n color={useColorModeValue('white', 'secondary.400')}\n fontSize=\"text.xs\"\n py={1}\n px={2.5}\n fontWeight=\"bold\"\n textTransform=\"lowercase\"\n borderRadius=\"md\"\n onClick={onOpenModalRelease}\n cursor={onOpenModalRelease ? 'pointer' : 'auto'}\n >\n {version}\n </Badge>\n )}\n {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 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, useColorModeValue } from '@chakra-ui/react';\nimport * as React from 'react';\n\nimport type { HeaderDataProps } from '../types';\nimport { VoilaLogo, XMSLogo } from './logo';\nimport Profile from './profile';\nimport SwitchMode from './switch-mode';\nimport Version from './version';\n\nexport type HeaderProps = BoxProps & {\n data?: HeaderDataProps;\n onLogout?: () => void;\n onOpenModalRelease?: () => void;\n hideSwitchMode?: boolean;\n};\n\nconst Header: React.FC<HeaderProps> = ({ data, onLogout, onOpenModalRelease, hideSwitchMode, ...props }) => (\n <Box\n minH={14}\n bg={useColorModeValue('white', 'ebony-clay.800')}\n boxShadow=\"0 4px 20px 0 rgb(0 0 0 / 5%)\"\n px={4}\n py={1}\n {...props}\n >\n <Flex h={14} alignItems=\"center\" justifyContent=\"space-between\">\n <XMSLogo />\n <HStack spacing={2} alignItems=\"center\">\n <VoilaLogo />\n <Version version={data?.version} environment={data?.environment} onOpenModalRelease={onOpenModalRelease} />\n </HStack>\n <Flex alignItems=\"center\">\n {!hideSwitchMode && <SwitchMode />}\n <Profile data={data} onLogout={onLogout} />\n </Flex>\n </Flex>\n </Box>\n);\n\nHeader.defaultProps = {\n data: undefined,\n onLogout: undefined,\n onOpenModalRelease: undefined,\n hideSwitchMode: false,\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=\"md\"\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={'md'}\n fontSize={'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","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={50}\n fontWeight={700}\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 backgroundColor={useColorModeValue('neutral.300', 'mirage.900')} borderRadius={50}>\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 radius = {\r\n none: 0,\r\n sm: '2px',\r\n md: '4px',\r\n lg: '8px',\r\n full: '9999px',\r\n};\r\n\r\nexport default radius;\r\n","import { theme } from '@chakra-ui/react';\n\nconst shadows = {\n ...theme.shadows,\n raised: '0px 4px 20px rgba(0, 0, 0, 0.05)',\n};\n\nexport default shadows;\n","import { theme } from '@chakra-ui/react';\r\n\r\nconst sizes = {\r\n ...theme.sizes,\r\n 4.5: '1.125rem',\r\n 9.5: '2.375rem',\r\n 18: '4.5rem',\r\n 22: '5.5rem',\r\n 26: '6.5rem',\r\n 30: '7.5rem',\r\n};\r\n\r\nexport default sizes;\r\n","import { theme } from '@chakra-ui/react';\r\n\r\nconst spacing = {\r\n ...theme.space,\r\n 4.5: '1.125rem',\r\n 9.5: '2.375rem',\r\n 18: '4.5rem',\r\n 22: '5.5rem',\r\n 26: '6.5rem',\r\n 30: '7.5rem',\r\n};\r\n\r\nexport default spacing;\r\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, useColorModeValue, useMultiStyleConfig, useTab } from '@chakra-ui/react';\nimport * as React from 'react';\n\ntype AddonProps = {\n isSelected: boolean;\n};\n\ntype TabProps = ChakraTabProps & {\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 p={3}\n fontSize=\"text.md\"\n _selected={{\n borderColor: useColorModeValue('primary.400', 'primary.300'),\n color: useColorModeValue('primary.500', 'primary.300'),\n transform: 'translateY(-2px)',\n }}\n color={useColorModeValue('black.high', 'primary.300')}\n _focus={{ bg: 'none' }}\n __css={styles.tab}\n {...tabProps}\n >\n <Flex>\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';\nimport { transparentize } from '@chakra-ui/theme-tools';\n\nconst { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(parts.keys);\n\nconst $fg = cssVar('alert-fg');\nconst $bg = cssVar('alert-bg');\n\nconst baseStyle = definePartsStyle({\n container: {\n bg: $bg.reference,\n px: '4',\n py: '2',\n borderRadius: 'md',\n },\n title: {\n fontWeight: '400',\n lineHeight: '18px',\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 '& +.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 { theme, colorScheme: c } = props;\n const darkBg = transparentize(`${c}.200`, 0.16)(theme);\n return {\n light: `colors.${c}.50`,\n dark: darkBg,\n };\n}\n\nconst variantSubtle = 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 _dark: {\n [$fg.variable]: `colors.${c}.200`,\n [$bg.variable]: bg.dark,\n },\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]: `colors.${c}.500`,\n _dark: {\n [$fg.variable]: `colors.gray.900`,\n [$bg.variable]: `colors.${c}.200`,\n },\n color: $fg.reference,\n },\n };\n});\n\nconst variants = {\n subtle: variantSubtle,\n solid: variantSolid,\n};\n\nconst alertTheme = defineMultiStyleConfig({\n baseStyle,\n variants,\n defaultProps: {\n variant: 'subtle',\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: 10,\n fontWeight: 600,\n lineHeight: '1.25',\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: 'md',\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 ? 'lg' : '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: '4px',\r\n width: '16px',\r\n height: '16px',\r\n border: '1px solid',\r\n },\r\n icon: {\r\n color: 'neutral.50',\r\n },\r\n label: {\r\n fontWeight: '400',\r\n lineHeight: '18px',\r\n color: 'black.high',\r\n ml: '8px',\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 fontSize: '12px',\r\n },\r\n icon: {\r\n fontSize: '7px',\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 fontSize: '12px',\r\n _disabled: {\r\n opacity: 1,\r\n },\r\n },\r\n icon: {\r\n fontSize: '7px',\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 fontSize: 'text.small',\n borderRadius: '24px',\n borderWidth: '1px',\n borderColor: 'primary.500',\n bg: 'white.high',\n paddingX: 3,\n paddingY: 1,\n cursor: 'default',\n };\n\n let chipsProps = { ...defaultProps };\n\n if (isActive) {\n const isActiveProps = {\n bg: 'primary.500',\n color: 'white.high',\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 fontSize: '12px',\n lineHeight: 4,\n },\n md: {\n fontSize: '14px',\n paddingY: 2,\n lineHeight: 5,\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: 'md',\r\n }),\r\n md: defineStyle({\r\n fontSize: 'text.md',\r\n h: 10,\r\n borderRadius: 'md',\r\n }),\r\n sm: defineStyle({\r\n fontSize: 'text.sm',\r\n h: 9,\r\n borderRadius: 'md',\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","import { 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 === 'primary') return '--chakra-colors-primary-600';\n if (color === 'danger') return '--chakra-colors-danger-500';\n if (color === 'warning') return '--chakra-colors-warning-700';\n return '--chakra-colors-white-high';\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%, var(${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: 'md',\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';\nimport * as foundations from './foundations';\n\nconst config: ThemeConfig = {\n initialColorMode: 'light',\n useSystemColorMode: false,\n};\n\nexport const getTheme = (colorScheme: Record<string, any>) => {\n return extendTheme({\n colors: colorScheme,\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 ...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\ntype Theme = typeof theme;\ntype Foundations = typeof foundations;\n\nexport type { Foundations, Theme };\nexport { foundations, 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","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","padding","height","justifyContent","textTransform","defaultProps","BreadCrumb","parents","disableHome","spacing","neutral6","dark5","useToken","paddingY","Text","pr","textStyle","useColorModeValue","h","borderLeft","borderColor","Breadcrumb","separator","FiChevronsRight","pl","sx","ol","BreadcrumbItem","BreadcrumbLink","href","style","cursor","FiHome","map","val","key","disable","link","onClick","_hover","textDecoration","fontSize","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","requiredIndicator","mr","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","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","XMSLogo","Image","src","VoilaLogo","filter","Profile","onLogout","isOpen","onToggle","useDisclosure","Popover","placement","minW","m","HStack","VStack","email","office","userRole","PopoverTrigger","Avatar","_data$name","PopoverContent","PopoverArrow","PopoverBody","FiPower","SwitchMode","toggleColorMode","mx","FiMoon","FiSun","environmentName","env","Version","version","environment","onOpenModalRelease","background","Header","hideSwitchMode","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","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","length","PaginationFilter","items","setValue","flexDirection","Select","textAlign","outline","FiChevronDown","_focusVisible","numberValue","Number","item","RadioComponent","Radio","RadioGroupComponent","RadioGroup","Rating","Grid","Array","_","i","RatingIcon","SelectWrapper","radius","none","sm","md","lg","full","shadows","theme","raised","sizes","space","fonts","heading","body","fontWeights","hairline","thin","light","normal","medium","semibold","bold","extrabold","black","lineHeights","shorter","short","base","tall","letterSpacings","tighter","tight","wide","wider","widest","fontSizes","text","xl","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","left","transform","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","$bg","baseStyle","reference","marginEnd","getBg","c","darkBg","transparentize","dark","variantSubtle","variable","_dark","variantSolid","variants","subtle","solid","alertTheme","defineStyleConfig","opacity","basePrimary","_active","disabledLoading","secondary","baseSecondary","borderStyle","tertiary","baseTertiary","danger","baseDanger","CardStyle","shadow","checkboxAnatomy","errors","_checked","_indeterminate","unstyled","paddingX","chipsProps","isActiveProps","isDisabledProps","minWidth","paddingInlineStart","paddingInlineEnd","appearance","_placeholder","addon","mode","_invalid","rotate","keyframes","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","Textarea","config","initialColorMode","useSystemColorMode","getTheme","extendTheme","foundations","components","global","ProviderContext","instance","useInternalUI","useContext","Provider","requestInterceptors","responseInterceptors","instanceRef","useRef","axios","create","useEffect","forEach","interceptor","interceptors","request","use","response","provider","useFetcher","axiosInstance","fetcher","url","method"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;SAIgBA,SAASA;EACvB,oBAAOC,6BAACC,WAAW;IAACC,KAAK,EAAC,SAAS;IAACC,IAAI,EAAE;IAAK;AACjD;SAEgBC,QAAQA;EACtB,oBAAOJ,6BAACK,IAAI;IAACH,KAAK,EAAC,SAAS;IAACC,IAAI,EAAE;IAAK;AAC1C;SAEgBG,WAAWA;EACzB,oBAAON,6BAACO,aAAa;IAACL,KAAK,EAAC,SAAS;IAACC,IAAI,EAAE;IAAK;AACnD;;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