@ctlyst.id/internal-ui 2.0.0-canary.2 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/alert/__stories__/alert.stories.d.ts +14 -0
- package/dist/components/alert/components/alert-action.d.ts +6 -0
- package/dist/components/alert/components/alert-close.d.ts +6 -0
- package/dist/components/alert/components/alert-context.d.ts +29 -0
- package/dist/components/alert/components/alert-description.d.ts +3 -0
- package/dist/components/alert/components/alert-icon.d.ts +6 -0
- package/dist/components/alert/components/alert-title.d.ts +3 -0
- package/dist/components/alert/components/alert.d.ts +25 -0
- package/dist/components/alert/components/icons.d.ts +3 -0
- package/dist/components/alert/components/index.d.ts +14 -0
- package/dist/components/alert/index.d.ts +1 -0
- package/dist/components/{base/__stories__/button.stories.d.ts → badge/__stories__/badge.stories.d.ts} +1 -1
- package/dist/components/badge/components/badge.d.ts +11 -0
- package/dist/components/badge/index.d.ts +2 -0
- package/dist/components/button/__stories__/button.stories.d.ts +14 -0
- package/dist/components/button/components/button.d.ts +4 -0
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/card/__stories__/card.stories.d.ts +11 -0
- package/dist/components/card/components/card.d.ts +8 -0
- package/dist/components/card/index.d.ts +2 -0
- package/dist/components/checkbox/__stories__/checkbox-group.stories.d.ts +13 -0
- package/dist/components/checkbox/components/checkbox-group.d.ts +18 -0
- package/dist/components/checkbox/index.d.ts +2 -0
- package/dist/components/chips/__stories__/chips.stories.d.ts +12 -0
- package/dist/components/chips/components/chips.d.ts +19 -0
- package/dist/components/chips/index.d.ts +2 -0
- package/dist/components/field/components/field.d.ts +0 -1
- package/dist/components/field/index.d.ts +0 -2
- package/dist/components/form/__stories__/input.stories.d.ts +14 -0
- package/dist/components/form/components/input-addon.d.ts +7 -0
- package/dist/components/{field → form}/components/input-field.d.ts +4 -1
- package/dist/components/form/index.d.ts +2 -0
- package/dist/components/form/styles/input-field.d.ts +4 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/components/layouting/components/box.d.ts +4 -0
- package/dist/components/layouting/components/container.d.ts +4 -0
- package/dist/components/layouting/components/flex.d.ts +4 -0
- package/dist/components/layouting/components/grid.d.ts +4 -0
- package/dist/components/layouting/components/stack.d.ts +4 -0
- package/dist/components/layouting/components/wrap.d.ts +4 -0
- package/dist/components/layouting/index.d.ts +12 -0
- package/dist/components/radio/__stories__/radio-group.stories.d.ts +13 -0
- package/dist/components/radio/__stories__/radio.stories.d.ts +12 -0
- package/dist/components/radio/components/radio-group.d.ts +17 -0
- package/dist/components/radio/components/radio.d.ts +16 -0
- package/dist/components/radio/index.d.ts +4 -0
- package/dist/components/rating/__stories__/rating.stories.d.ts +10 -0
- package/dist/components/rating/components/rating.d.ts +6 -0
- package/dist/components/rating/index.d.ts +2 -0
- package/dist/components/switch/__stories__/switch.stories.d.ts +13 -0
- package/dist/components/switch/components/switch.d.ts +18 -0
- package/dist/components/switch/index.d.ts +2 -0
- package/dist/components/text/components/text.d.ts +4 -0
- package/dist/components/text/index.d.ts +2 -0
- package/dist/config/theme/components/alert.d.ts +79 -0
- package/dist/config/theme/components/card.d.ts +18 -0
- package/dist/config/theme/components/checkbox.d.ts +2 -1
- package/dist/config/theme/components/chips.d.ts +30 -0
- package/dist/config/theme/components/index.d.ts +3 -0
- package/dist/config/theme/components/input.d.ts +8 -21
- package/dist/config/theme/components/radio.d.ts +98 -2
- package/dist/config/theme/components/switch.d.ts +43 -9
- package/dist/config/theme/themeConfiguration.d.ts +4 -2
- package/dist/internal-ui.cjs.development.js +1057 -310
- package/dist/internal-ui.cjs.development.js.map +1 -1
- package/dist/internal-ui.cjs.production.min.js +9 -9
- package/dist/internal-ui.cjs.production.min.js.map +1 -1
- package/dist/internal-ui.esm.js +1058 -325
- package/dist/internal-ui.esm.js.map +1 -1
- package/dist/provider/components/provider.d.ts +0 -1
- package/package.json +12 -11
- package/dist/components/base/__stories__/input.stories.d.ts +0 -16
- package/dist/components/base/__stories__/radio.stories.d.ts +0 -15
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"internal-ui.esm.js","sources":["../src/components/breadcrumb/components/bread-crumb.tsx","../src/components/checkbox/components/checkbox.tsx","../src/components/data-table/components/indeterminate-checkbox.tsx","../src/components/data-table/components/data-table.tsx","../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/field/components/field.tsx","../src/components/field/components/input-field.tsx","../src/components/loader/components/loader.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/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/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/button.ts","../src/config/theme/components/checkbox.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/textarea.ts","../src/config/theme/themeConfiguration.ts","../src/provider/components/provider.tsx"],"sourcesContent":["/* 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","/* eslint-disable no-nested-ternary */\nimport type { CheckboxProps } from '@chakra-ui/react';\nimport { Box, Checkbox, 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}\n\nfunction CheckboxComponent({\n isError = false,\n helpText = '',\n errorText = '',\n children,\n isDisabled,\n ...rest\n}: CheckboxComponentProps) {\n const variant = isError ? 'errors' : 'unstyled';\n return (\n <Box>\n <Box display=\"flex\">\n <Checkbox variant={variant} {...rest} isDisabled={isDisabled} />\n {children && (\n <Box>\n <Box ml=\"8px\">\n <Text textStyle=\"text.sm\" color={isDisabled ? 'black.low' : 'black.high'}>\n {children}\n </Text>\n </Box>\n </Box>\n )}\n </Box>\n <Box mt=\"5px\" ml=\"24px\">\n {isError ? (\n <Text textStyle=\"text.xs\" color=\"danger.500\">\n {errorText}\n </Text>\n ) : (\n <Text textStyle=\"text.xs\" color={isDisabled ? 'black.low' : 'black.medium'}>\n {helpText}\n </Text>\n )}\n </Box>\n </Box>\n );\n}\n\nCheckboxComponent.defaultProps = {\n isError: false,\n helpText: '',\n errorText: '',\n};\n\nexport default CheckboxComponent;\n","import { Flex } from '@chakra-ui/react';\nimport * as React from 'react';\n\nconst IndeterminateCheckbox = ({\n indeterminate = false,\n ...rest\n}: { indeterminate: boolean } & React.HTMLProps<HTMLInputElement>) => {\n const ref = React.useRef<HTMLInputElement>(null);\n\n React.useEffect(() => {\n if (ref.current && typeof indeterminate === 'boolean') {\n ref.current.indeterminate = !rest.checked && indeterminate;\n }\n }, [ref, indeterminate]);\n\n return (\n <Flex align=\"center\">\n <input type=\"checkbox\" ref={ref} {...rest} />\n </Flex>\n );\n};\n\nexport default IndeterminateCheckbox;\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 { Box, Flex, Spinner, Table, Tbody, Td, Text, Th, Thead, Tr, useColorModeValue } from '@chakra-ui/react';\nimport { css } from '@emotion/react';\nimport type { ColumnDef, ColumnSort, RowSelectionState, SortingState } from '@tanstack/react-table';\nimport { flexRender, getCoreRowModel, getSortedRowModel, useReactTable } from '@tanstack/react-table';\nimport * as React from 'react';\n\nimport IndeterminateCheckbox from './indeterminate-checkbox';\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: ColumnSort[] | ((prevState: SortingState) => SortingState)) => void;\n manualSorting?: boolean;\n sortingState?: SortingState;\n}\n\nconst DataTable = <P,>({\n columns,\n dataSource = [],\n isLoading,\n withSelectedRow,\n onSelectedRow,\n onSort,\n manualSorting,\n sortingState,\n styles,\n ...props\n}: DataTableProps<P>): React.ReactElement => {\n const [sorting, setSorting] = React.useState<SortingState>(sortingState ?? []);\n const [rowSelection, onRowSelectionChange] = React.useState<RowSelectionState>({});\n const dataColumns = React.useMemo<ColumnDef<P>[]>(() => columns, [columns]);\n const checkboxColumn = React.useMemo<ColumnDef<P>[]>(\n () => [\n {\n id: 'select',\n header: ({ table }) => (\n <IndeterminateCheckbox\n {...{\n checked: table.getIsAllRowsSelected(),\n indeterminate: table.getIsSomeRowsSelected(),\n onChange: table.getToggleAllRowsSelectedHandler(),\n }}\n />\n ),\n cell: ({ row }) => (\n <IndeterminateCheckbox\n {...{\n checked: row.getIsSelected(),\n indeterminate: 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 = (data: ColumnSort[] | ((prevState: SortingState) => SortingState)) => {\n setSorting(data);\n if (onSort) {\n onSort(data);\n }\n };\n\n const table = useReactTable({\n data: dataSource,\n columns: generateColumn(),\n getCoreRowModel: getCoreRowModel(),\n getSortedRowModel: getSortedRowModel(),\n manualPagination: true,\n sortDescFirst: true,\n state: {\n sorting,\n rowSelection,\n },\n onRowSelectionChange,\n onSortingChange,\n manualSorting,\n });\n\n const { flatRows } = table.getSelectedRowModel();\n React.useEffect(() => {\n const rowData = flatRows.map(row => row.original);\n if (onSelectedRow) {\n onSelectedRow(rowData);\n }\n }, [flatRows]);\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}>\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 justifyContent=\"space-between\"\n >\n <Text\n fontSize=\"text.sm\"\n fontWeight={400}\n lineHeight=\"18px\"\n color={useColorModeValue('neutral.900', 'white')}\n >\n {flexRender(header.column.columnDef.header, header.getContext())}\n </Text>\n <Box\n as=\"span\"\n pl=\"2\"\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 key={row.id}\n {...styles?.tableRow}\n css={css`\n &:last-child {\n td {\n border-bottom: none;\n }\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};\n\nexport default DataTable;\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 };\n\n React.useEffect(() => {\n if (onChange) {\n onChange(time);\n }\n }, [time]);\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 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 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\" />}\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\">\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","/* eslint-disable no-nested-ternary */\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 isDisabled?: boolean;\n errorMessage?: string | ReactNode;\n leftHelperText?: string | ReactNode;\n rightHelperText?: string | ReactNode;\n isRequired?: boolean;\n}\n\nexport type FieldProps<T = unknown> = Props & T;\n\nconst Field: FC<PropsWithChildren<Props>> = props => {\n const { label, isError, errorMessage, leftHelperText, rightHelperText, isRequired, children, isSuccess, isDisabled } =\n props;\n\n const getHelperColor = () => {\n if (isError) return 'danger.500';\n if (isSuccess) return 'success.500';\n if (isDisabled) return 'black.low';\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}>\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 <FormHelperText fontSize=\"text.xs\" color={helperColor} mt={1}>\n {leftHelperText}\n </FormHelperText>\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 <FormHelperText fontSize=\"text.xs\" color={helperColor} mt={1}>\n {rightHelperText}\n </FormHelperText>\n )}\n </Box>\n )}\n </FormControl>\n );\n};\n\nField.defaultProps = {\n label: '',\n isError: false,\n isSuccess: false,\n isDisabled: false,\n errorMessage: undefined,\n leftHelperText: undefined,\n rightHelperText: undefined,\n isRequired: false,\n};\n\nexport default Field;\n","import type { InputProps as ChakraInputProps } from '@chakra-ui/react';\nimport {\n Input as ChakraInput,\n InputGroup,\n InputLeftAddon,\n InputLeftElement,\n InputRightAddon,\n InputRightElement,\n} from '@chakra-ui/react';\nimport type { ReactNode } from 'react';\nimport React from 'react';\n\nimport type { FieldProps } from './field';\nimport Field from './field';\n\nexport interface InputFieldProps extends ChakraInputProps, FieldProps {\n addOnLeft?: ReactNode;\n addOnRight?: ReactNode;\n elementLeft?: ReactNode;\n elementRight?: ReactNode;\n}\n\nconst InputField = React.forwardRef<HTMLInputElement, InputFieldProps>((props, ref) => {\n const {\n value,\n type,\n addOnLeft,\n addOnRight,\n elementLeft,\n elementRight,\n size,\n isRequired,\n label,\n isError,\n isSuccess,\n isDisabled,\n errorMessage,\n leftHelperText,\n rightHelperText,\n ...inputProps\n } = props;\n return (\n <Field\n label={label}\n isSuccess={isSuccess}\n isDisabled={isDisabled}\n isError={isError}\n errorMessage={errorMessage}\n leftHelperText={leftHelperText}\n rightHelperText={rightHelperText}\n isRequired={isRequired}\n >\n <InputGroup size={size}>\n {addOnLeft && <InputLeftAddon>{addOnLeft}</InputLeftAddon>}\n {elementLeft && <InputLeftElement>{elementLeft}</InputLeftElement>}\n <ChakraInput ref={ref} type={type} value={value} {...inputProps} />\n {addOnRight && <InputRightAddon>{addOnRight}</InputRightAddon>}\n {elementRight && <InputRightElement>{elementRight}</InputRightElement>}\n </InputGroup>\n </Field>\n );\n});\n\nInputField.defaultProps = {\n addOnLeft: undefined,\n addOnRight: undefined,\n elementLeft: undefined,\n elementRight: undefined,\n};\n\nexport default InputField;\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}\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","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://s3.ap-southeast-1.amazonaws.com/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}>\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 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","import { Box } from '@chakra-ui/react';\nimport { css } from '@emotion/react';\nimport type { FC, PropsWithChildren } from 'react';\nimport React from 'react';\n\nimport { colors } from '../../../config/theme/foundations';\n\ninterface SelectWrapperProps {\n isError?: boolean;\n}\n\nconst SelectWrapper: FC<PropsWithChildren<SelectWrapperProps>> = ({ children, isError = false }) => {\n return (\n <Box\n css={css`\n .react-select__control {\n border-color: ${isError ? colors.danger['500'] : colors.neutral['500']} !important;\n }\n\n .react-select__control:hover {\n border-color: ${isError ? colors.danger['500'] : colors.primary['500']} !important;\n }\n `}\n >\n {children}\n </Box>\n );\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\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 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 boxShadow: state.isFocused ? 'none' : colors.neutral['500'],\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 };\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 { 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 borderBottom=\"1px solid\" borderColor={useColorModeValue('gray.200', 'bright-gray.800')} ref={ref}>\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} 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 type { ComponentStyleConfig } from '@chakra-ui/theme';\r\n\r\nimport { mode } from '@chakra-ui/theme-tools';\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 = {\r\n // The styles all button have in common\r\n baseStyle: {\r\n fontSize: 'body.1',\r\n fontWeight: 'normal',\r\n lineHeight: '1.25',\r\n minW: 24,\r\n px: 4,\r\n py: 2,\r\n borderRadius: 'md',\r\n _disabled: {\r\n opacity: 0.3,\r\n },\r\n _hover: {\r\n _disabled: {\r\n opacity: 0.3,\r\n },\r\n },\r\n _active: {\r\n _disabled: {\r\n opacity: 0.3,\r\n },\r\n },\r\n _loading: {\r\n opacity: 0.7,\r\n },\r\n },\r\n sizes: {\r\n lg: {\r\n fontSize: 'button.lg',\r\n h: 12,\r\n },\r\n md: {\r\n fontSize: 'button.md',\r\n h: 9,\r\n },\r\n sm: {\r\n fontSize: 'button.sm',\r\n h: 6,\r\n },\r\n },\r\n // Two variants: outline and solid\r\n variants: {\r\n solid: {\r\n color: 'white',\r\n bg: 'primary.500',\r\n _disabled: {\r\n bg: 'primary.700',\r\n },\r\n _hover: {\r\n bg: 'primary.600',\r\n },\r\n _active: {\r\n bg: 'primary.700',\r\n },\r\n _focus: {\r\n bg: 'primary.700',\r\n },\r\n },\r\n outline: props => ({\r\n color: 'primary.500',\r\n borderWidth: 1,\r\n borderStyle: 'inside',\r\n bg: mode('white', 'transparent')(props),\r\n borderColor: mode('primary.500', 'primary.500')(props),\r\n _hover: {\r\n bg: 'primary.50',\r\n },\r\n _active: {\r\n bg: 'primary.100',\r\n },\r\n _focus: {\r\n bg: 'primary.100',\r\n },\r\n }),\r\n 'outline-danger': {\r\n color: 'danger.500',\r\n bg: 'white',\r\n borderStyle: 'inside',\r\n borderWidth: 1,\r\n borderColor: 'danger.500',\r\n },\r\n ghost: {\r\n color: 'primary.500',\r\n _disabled: {\r\n bg: 'primary.100',\r\n },\r\n },\r\n link: {\r\n bg: 'transparent',\r\n color: 'primary.500',\r\n },\r\n },\r\n // The default size and variant values\r\n defaultProps: {\r\n size: 'md',\r\n variant: 'solid',\r\n orientation: 'vertical',\r\n colorScheme: 'primary',\r\n },\r\n};\r\n\r\nexport default Button;\r\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 width: '9px',\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.500',\r\n border: '1px solid',\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});\r\n\r\nconst unstyled = definePartsStyle({\r\n control: {\r\n borderColor: 'neutral.500',\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: 'neutral.500',\r\n borderColor: 'neutral.500',\r\n },\r\n },\r\n _disabled: {\r\n backgroundColor: 'neutral.500',\r\n },\r\n _indeterminate: {\r\n borderColor: 'primary.500',\r\n backgroundColor: 'primary.500',\r\n },\r\n },\r\n label: {\r\n fontSize: '12px',\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: 'errors',\r\n },\r\n});\r\n\r\nexport default Checkbox;\r\n","import { defineStyle, defineStyleConfig } from '@chakra-ui/styled-system';\r\n\r\nconst baseStyle = defineStyle({\r\n fontSize: 'field.sm',\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 { getColor, 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.5,\r\n py: 2,\r\n position: 'relative',\r\n appearance: 'none',\r\n transitionProperty: 'common',\r\n transitionDuration: 'normal',\r\n color: 'black.high',\r\n _disabled: {\r\n bg: 'neutral.300',\r\n border: '1px solid',\r\n borderColor: 'neutral.400',\r\n cursor: 'not-allowed',\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: 'field.lg',\r\n h: 12,\r\n borderRadius: 'md',\r\n }),\r\n md: defineStyle({\r\n fontSize: 'field.md',\r\n h: 10,\r\n borderRadius: 'md',\r\n }),\r\n sm: defineStyle({\r\n fontSize: 'field.sm',\r\n h: 9.5,\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\nfunction getDefaults(props: Record<string, string>) {\r\n const { focusBorderColor, errorBorderColor, readOnlyBorderColor } = props;\r\n return {\r\n focusBorderColor: focusBorderColor || mode('primary.500', 'primary.300')(props),\r\n errorBorderColor: errorBorderColor || mode('danger.500', 'danger.300')(props),\r\n readOnlyBorderColor: readOnlyBorderColor || mode('.500', 'danger.300')(props),\r\n };\r\n}\r\n\r\nconst outline = definePartsStyle(props => {\r\n const { theme } = props;\r\n const { focusBorderColor: fc, errorBorderColor: ec, readOnlyBorderColor: rc } = getDefaults(props);\r\n\r\n return {\r\n field: {\r\n border: '1px solid',\r\n borderColor: mode('dark.200', 'inherit')(props),\r\n bg: mode('white', 'inherit')(props),\r\n color: mode('inherit', 'white')(props),\r\n _hover: {\r\n borderColor: mode('gray.300', 'whiteAlpha.400')(props),\r\n },\r\n _readOnly: {\r\n userSelect: 'all',\r\n borderColor: getColor(theme, rc),\r\n boxShadow: `0 0 0 0 ${getColor(theme, rc)}`,\r\n },\r\n _invalid: {\r\n borderColor: getColor(theme, ec),\r\n boxShadow: `0 0 0 0 ${getColor(theme, ec)}`,\r\n },\r\n _focusVisible: {\r\n zIndex: 1,\r\n borderColor: getColor(theme, fc),\r\n boxShadow: `0 0 0 0 ${getColor(theme, fc)}`,\r\n },\r\n },\r\n addon: {\r\n border: '1px solid',\r\n borderColor: mode('inherit', 'whiteAlpha.50')(props),\r\n bg: mode('gray.100', 'whiteAlpha.300')(props),\r\n },\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 LoaderStyle = defineStyleConfig({\n baseStyle: props => {\n const colors = props.color === 'white' ? 'white' : colorsTheme.primary[600];\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 as parts } from '@chakra-ui/anatomy';\r\nimport { createMultiStyleConfigHelpers } from '@chakra-ui/styled-system';\r\nimport type { ComponentStyleConfig } from '@chakra-ui/theme';\r\n\r\nconst { definePartsStyle } = createMultiStyleConfigHelpers(parts.keys);\r\n\r\n// You can also use the more specific type for\r\n// a single part component: ComponentSingleStyleConfig\r\nconst Radio: ComponentStyleConfig = {\r\n // The styles all checkbox have in common\r\n baseStyle: definePartsStyle({\r\n control: {\r\n _checked: {\r\n borderColor: 'primary.500',\r\n bg: 'white',\r\n _before: {\r\n h: '72%',\r\n w: '72%',\r\n bg: 'primary.500',\r\n },\r\n _hover: {\r\n borderColor: 'primary.500',\r\n bg: 'gray.200',\r\n },\r\n },\r\n },\r\n }),\r\n // Two sizes: sm and md\r\n sizes: {\r\n sm: definePartsStyle({\r\n control: {\r\n w: '3',\r\n h: '3',\r\n },\r\n label: {\r\n fontSize: 'text.sm',\r\n },\r\n }),\r\n md: definePartsStyle({\r\n control: {\r\n w: '4',\r\n h: '4',\r\n },\r\n label: {\r\n fontSize: 'text.md',\r\n },\r\n }),\r\n lg: definePartsStyle({\r\n control: {\r\n w: '5',\r\n h: '5',\r\n },\r\n label: {\r\n fontSize: 'text.lg',\r\n },\r\n }),\r\n },\r\n // Two variants: outline and solid\r\n variants: {},\r\n // The default size and variant values\r\n defaultProps: {\r\n size: 'sm',\r\n variant: 'solid',\r\n orientation: 'vertical',\r\n colorScheme: 'primary',\r\n },\r\n};\r\n\r\nexport default Radio;\r\n","import { switchAnatomy } from '@chakra-ui/anatomy';\nimport { createMultiStyleConfigHelpers } from '@chakra-ui/react';\n\nconst { definePartsStyle, defineMultiStyleConfig } = createMultiStyleConfigHelpers(switchAnatomy.keys);\nconst baseStyle = definePartsStyle({\n // define the part you're going to style\n container: {\n // ...\n },\n thumb: {\n bg: 'white',\n },\n track: {\n bg: 'neutral.400',\n p: 1,\n _checked: {\n bg: 'primary.500',\n },\n },\n});\n\nconst Switch = defineMultiStyleConfig({ baseStyle });\n\nexport default Switch;\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.low',\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;\n\nexport type { Theme };\nexport { theme };\n","import '@fontsource/poppins';\n\nimport 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"],"names":["BreadCrumb","props","title","children","parents","className","disableHome","spacing","neutral6","dark5","useToken","React","Box","display","justifyContent","alignItems","paddingY","Text","pr","fontWeight","textStyle","color","useColorModeValue","h","borderLeft","borderColor","Breadcrumb","separator","FiChevronsRight","size","pl","sx","ol","BreadcrumbItem","BreadcrumbLink","href","undefined","style","cursor","FiHome","map","val","key","name","disable","link","onClick","_hover","textDecoration","fontSize","textDecor","defaultProps","CheckboxComponent","isError","helpText","errorText","isDisabled","rest","variant","Checkbox","ml","mt","IndeterminateCheckbox","indeterminate","ref","current","checked","Flex","align","type","DataTable","columns","dataSource","isLoading","withSelectedRow","onSelectedRow","onSort","manualSorting","sortingState","styles","sorting","setSorting","rowSelection","onRowSelectionChange","dataColumns","checkboxColumn","id","header","table","getIsAllRowsSelected","getIsSomeRowsSelected","onChange","getToggleAllRowsSelectedHandler","cell","row","getIsSelected","getIsSomeSelected","getToggleSelectedHandler","generateColumn","onSortingChange","data","useReactTable","getCoreRowModel","getSortedRowModel","manualPagination","sortDescFirst","state","flatRows","getSelectedRowModel","rowData","original","w","pos","bg","justify","zIndex","Spinner","thickness","Table","Thead","tableHead","getHeaderGroups","headerGroup","Tr","tableRow","headers","_ref","Th","colSpan","tableColumnHeader","textTransform","userSelect","lineHeight","flexRender","column","columnDef","getContext","as","getCanSort","getToggleSortingHandler","asc","ChevronUpIcon","desc","ChevronDownIcon","getIsSorted","UpDownIcon","Tbody","tableBody","getRowModel","rows","css","getVisibleCells","Td","tableCell","overflowX","maxW","minH","Styles","colorMode","useColorMode","Global","TimeInput","value","label","rightAddon","time","setTime","useState","handleChange","e","_e$target","target","useEffect","flexDir","p","pt","mb","InputGroup","Input","InputRightAddon","displayName","Datepicker","error","helperText","isRequired","withTime","onClear","showMonth","shortMonth","selected","Date","dateFormat","_props$dateFormat","getTimeProps","timeInputLabel","showTimeInput","customTimeInput","component","ReactDatePicker","customInput","autoComplete","showPopperArrow","calendarClassName","classnames","inline","showMonthDropdown","useShortMonthInDropdown","FormControl","FormLabel","InputRightElement","FiCalendar","FiX","FormHelperText","FormErrorMessage","selectsRange","DatePickerMonth","min","max","date","setDate","width","required","transparent","black","high","medium","low","white","neutral","primary","secondary","success","danger","warning","info","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","Field","errorMessage","leftHelperText","rightHelperText","isSuccess","getHelperColor","getJustifyContentHelper","helperColor","justifyHelper","isInvalid","requiredIndicator","mr","InputField","forwardRef","addOnLeft","addOnRight","elementLeft","elementRight","inputProps","InputLeftAddon","InputLeftElement","ChakraInput","Loader","useStyleConfig","__css","TextareaField","position","ChakraTextarea","top","right","XMSLogo","Image","height","src","VoilaLogo","filter","Profile","onLogout","isOpen","onToggle","onClose","useDisclosure","Popover","placement","minW","m","HStack","VStack","email","office","userRole","PopoverTrigger","Avatar","_data$name","PopoverContent","PopoverArrow","PopoverBody","px","py","borderRadius","FiPower","SwitchMode","toggleColorMode","mx","FiMoon","FiSun","environmentName","env","Version","version","environment","onOpenModalRelease","Badge","background","Header","hideSwitchMode","boxShadow","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","isActive","startsWith","navLink","activeBg","trigger","backgroundColor","Icon","get","whiteSpace","Portal","border","navHost","isLocalLink","isActiveSub","Link","transition","_first","_last","PaginationButton","btnBg","btnColor","btnNotActiveBg","btnNotActiveColor","Button","_disabled","pointerEvents","PaginationButtonTrigger","visuallyHidden","icon","VisuallyHidden","Pagination","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","SelectWrapper","styleMd","selectStyle","selectStyles","_isError","control","isFocused","option","isSelected","menu","singleValue","input","dropdownIndicator","indicatorSeparator","themeSelect","primary25","primary50","primary75","ReactSelect","classNamePrefix","SelectAsync","AsyncPaginate","SelectAsyncCreatable","ReactSelectAsyncCreatable","SelectCreatable","ReactSelectCreatable","Tab","tabProps","useTab","useMultiStyleConfig","_selected","transform","_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","getRootProps","getInputProps","isDragActive","fileRejections","useDropzone","Stack","direction","Heading","baseStyle","opacity","_active","_loading","variants","solid","borderWidth","borderStyle","mode","ghost","orientation","colorScheme","definePartsStyle","defineMultiStyleConfig","createMultiStyleConfigHelpers","checkboxAnatomy","keys","errors","_checked","_indeterminate","unstyled","defineStyle","marginEnd","defineStyleConfig","parts","minWidth","appearance","transitionProperty","transitionDuration","_placeholder","addon","getDefaults","focusBorderColor","errorBorderColor","readOnlyBorderColor","fc","ec","rc","_readOnly","getColor","_invalid","rotate","keyframes","LoaderStyle","colorsTheme","animation","content","bottom","WebkitMask","xxl","popper","Radio","_before","switchAnatomy","container","thumb","track","Switch","getProps","padding","_focusWithin","Textarea","config","initialColorMode","useSystemColorMode","extendTheme","foundations","components","global","ProviderContext","createContext","instance","useInternalUI","useContext","Provider","requestInterceptors","responseInterceptors","instanceRef","useRef","axios","create","forEach","interceptor","interceptors","request","use","response","provider","useMemo"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;AAqBA,MAAMA,UAAU,GAA8BC,KAAK;EACjD,MAAM;IAAEC,KAAK;IAAEC,QAAQ;IAAEC,OAAO;IAAEC,SAAS;IAAEC,WAAW;IAAEC,OAAO,GAAG;GAAG,GAAGN,KAAK;EAC/E,MAAM,CAACO,QAAQ,EAAEC,KAAK,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AW;MACtCL,WAAW,CAACpiB,OAAO,CAAC0iB,YAAY,CAACC,OAAO,CAACC,GAAG,CAACH,WAAW,CAAC;KAC1D,CAAC;IACFN,oBAAoB,aAApBA,oBAAoB,uBAApBA,oBAAoB,CAAEK,OAAO,CAACC,WAAW;MACvCL,WAAW,CAACpiB,OAAO,CAAC0iB,YAAY,CAACG,QAAQ,CAACD,GAAG,CAACH,WAAW,CAAC;KAC3D,CAAC;GACH,EAAE,CAACP,mBAAmB,EAAEC,oBAAoB,CAAC,CAAC;EAE/C,MAAMW,QAAQ,GAAGC,OAAO,CAAC,OAAO;IAAEjB,QAAQ,EAAEM,WAAW,CAACpiB;GAAS,CAAC,EAAE,EAAE,CAAC;EAEvE,oBAAOtD,6BAACklB,eAAe,CAACK,QAAQ;IAAChc,KAAK,EAAE6c;KAAW5mB,QAAQ,CAA4B;AACzF,CAAC;AAED+lB,QAAQ,CAAC9a,WAAW,GAAG,UAAU;;;;"}
|
1
|
+
{"version":3,"file":"internal-ui.esm.js","sources":["../src/components/breadcrumb/components/bread-crumb.tsx","../src/components/loader/components/loader.tsx","../src/components/button/components/button.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/data-table/components/indeterminate-checkbox.tsx","../src/components/data-table/components/data-table.tsx","../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/styles/input-field.ts","../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/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/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/textarea.ts","../src/config/theme/themeConfiguration.ts","../src/provider/components/provider.tsx"],"sourcesContent":["/* 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 { 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}\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 } from '@chakra-ui/react';\nimport React from 'react';\n\nimport { Loader } from '../../loader';\n\nexport type ButtonProps = ButtonChakraProps;\n\nconst Button = (props: ButtonProps) => {\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 {...rest}\n >\n {children}\n </ButtonChakra>\n );\n};\n\nexport default Button;\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 { CheckboxProps } from '@chakra-ui/react';\nimport { Box, Checkbox, 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}\n\nfunction CheckboxComponent({\n isError = false,\n helpText = '',\n errorText = '',\n children,\n isDisabled,\n ...rest\n}: CheckboxComponentProps) {\n const variant = isError ? 'errors' : 'unstyled';\n return (\n <Box>\n <Box display=\"flex\">\n <Checkbox variant={variant} {...rest} isDisabled={isDisabled}>\n {children && (\n <Text textStyle=\"text.sm\" color={isDisabled ? 'black.low' : 'black.high'}>\n {children}\n </Text>\n )}\n </Checkbox>\n </Box>\n <Box mt=\"5px\" ml=\"24px\">\n {isError ? (\n <Text textStyle=\"text.xs\" color=\"danger.500\">\n {errorText}\n </Text>\n ) : (\n <Text textStyle=\"text.xs\" color=\"black.medium\">\n {helpText}\n </Text>\n )}\n </Box>\n </Box>\n );\n}\n\nCheckboxComponent.defaultProps = {\n isError: false,\n helpText: '',\n errorText: '',\n};\n\nexport default CheckboxComponent;\n","/* eslint-disable no-nested-ternary */\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}\n\nexport type FieldProps<T = unknown> = Props & T;\n\nconst Field: FC<PropsWithChildren<Props>> = props => {\n const { label, isError, errorMessage, leftHelperText, rightHelperText, isRequired, children, isSuccess } = 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}>\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 <FormHelperText fontSize=\"text.xs\" color={helperColor} mt={1}>\n {leftHelperText}\n </FormHelperText>\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 <FormHelperText fontSize=\"text.xs\" color={helperColor} mt={1}>\n {rightHelperText}\n </FormHelperText>\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};\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 { Flex } from '@chakra-ui/react';\nimport * as React from 'react';\n\nconst IndeterminateCheckbox = ({\n indeterminate = false,\n ...rest\n}: { indeterminate: boolean } & React.HTMLProps<HTMLInputElement>) => {\n const ref = React.useRef<HTMLInputElement>(null);\n\n React.useEffect(() => {\n if (ref.current && typeof indeterminate === 'boolean') {\n ref.current.indeterminate = !rest.checked && indeterminate;\n }\n }, [ref, indeterminate]);\n\n return (\n <Flex align=\"center\">\n <input type=\"checkbox\" ref={ref} {...rest} />\n </Flex>\n );\n};\n\nexport default IndeterminateCheckbox;\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 { Box, Flex, Spinner, Table, Tbody, Td, Text, Th, Thead, Tr, useColorModeValue } from '@chakra-ui/react';\nimport { css } from '@emotion/react';\nimport type { ColumnDef, ColumnSort, RowSelectionState, SortingState } from '@tanstack/react-table';\nimport { flexRender, getCoreRowModel, getSortedRowModel, useReactTable } from '@tanstack/react-table';\nimport * as React from 'react';\n\nimport IndeterminateCheckbox from './indeterminate-checkbox';\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: ColumnSort[] | ((prevState: SortingState) => SortingState)) => void;\n manualSorting?: boolean;\n sortingState?: SortingState;\n}\n\nconst DataTable = <P,>({\n columns,\n dataSource = [],\n isLoading,\n withSelectedRow,\n onSelectedRow,\n onSort,\n manualSorting,\n sortingState,\n styles,\n ...props\n}: DataTableProps<P>): React.ReactElement => {\n const [sorting, setSorting] = React.useState<SortingState>(sortingState ?? []);\n const [rowSelection, onRowSelectionChange] = React.useState<RowSelectionState>({});\n const dataColumns = React.useMemo<ColumnDef<P>[]>(() => columns, [columns]);\n const checkboxColumn = React.useMemo<ColumnDef<P>[]>(\n () => [\n {\n id: 'select',\n header: ({ table }) => (\n <IndeterminateCheckbox\n {...{\n checked: table.getIsAllRowsSelected(),\n indeterminate: table.getIsSomeRowsSelected(),\n onChange: table.getToggleAllRowsSelectedHandler(),\n }}\n />\n ),\n cell: ({ row }) => (\n <IndeterminateCheckbox\n {...{\n checked: row.getIsSelected(),\n indeterminate: 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 = (data: ColumnSort[] | ((prevState: SortingState) => SortingState)) => {\n setSorting(data);\n if (onSort) {\n onSort(data);\n }\n };\n\n const table = useReactTable({\n data: dataSource,\n columns: generateColumn(),\n getCoreRowModel: getCoreRowModel(),\n getSortedRowModel: getSortedRowModel(),\n manualPagination: true,\n sortDescFirst: true,\n state: {\n sorting,\n rowSelection,\n },\n onRowSelectionChange,\n onSortingChange,\n manualSorting,\n });\n\n const { flatRows } = table.getSelectedRowModel();\n React.useEffect(() => {\n const rowData = flatRows.map(row => row.original);\n if (onSelectedRow) {\n onSelectedRow(rowData);\n }\n }, [flatRows]);\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}>\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 justifyContent=\"space-between\"\n >\n <Text\n fontSize=\"text.sm\"\n fontWeight={400}\n lineHeight=\"18px\"\n color={useColorModeValue('neutral.900', 'white')}\n >\n {flexRender(header.column.columnDef.header, header.getContext())}\n </Text>\n <Box\n as=\"span\"\n pl=\"2\"\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 key={row.id}\n {...styles?.tableRow}\n css={css`\n &:last-child {\n td {\n border-bottom: none;\n }\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};\n\nexport default DataTable;\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 };\n\n React.useEffect(() => {\n if (onChange) {\n onChange(time);\n }\n }, [time]);\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 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 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\" />}\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\">\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 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 { Box } 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 <Box borderLeftRadius=\"md\" backgroundColor=\"neutral.200\" px={3} py={2.5}>\n {children}\n </Box>\n );\n};\n\nexport const InputAddonRight = ({ children }: InputAddonProps) => {\n return (\n <Box borderRightRadius=\"md\" backgroundColor=\"neutral.200\" px={3} py={2.5}>\n {children}\n </Box>\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';\nimport { InputAddonLeft, InputAddonRight } from './input-addon';\n\nexport interface InputFieldProps extends ChakraInputProps, FieldProps {\n addOnLeft?: ReactNode;\n addOnRight?: ReactNode;\n elementLeft?: ReactNode;\n elementRight?: 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 elementLeft,\n elementRight,\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 && <InputAddonLeft>{addOnLeft}</InputAddonLeft>}\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=\"Pg7ttgRey7InxE4qzTjW_\"\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 && <InputAddonRight>{addOnRight}</InputAddonRight>}\n </InputGroup>\n </Box>\n </Field>\n );\n});\n\nInputField.defaultProps = {\n addOnLeft: undefined,\n addOnRight: undefined,\n elementLeft: undefined,\n elementRight: 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://s3.ap-southeast-1.amazonaws.com/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}>\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 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 textStyle=\"text.sm\" color={isDisabled ? 'black.low' : 'black.high'}>\n {children}\n </Text>\n )}\n </Radio>\n </Box>\n <Box mt=\"5px\" ml=\"24px\">\n {isError ? (\n <Text textStyle=\"text.xs\" color=\"danger.500\">\n {errorText}\n </Text>\n ) : (\n <Text 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 { Box } from '@chakra-ui/react';\nimport { css } from '@emotion/react';\nimport type { FC, PropsWithChildren } from 'react';\nimport React from 'react';\n\nimport { colors } from '../../../config/theme/foundations';\n\ninterface SelectWrapperProps {\n isError?: boolean;\n}\n\nconst SelectWrapper: FC<PropsWithChildren<SelectWrapperProps>> = ({ children, isError = false }) => {\n return (\n <Box\n css={css`\n .react-select__control {\n border-color: ${isError ? colors.danger['500'] : colors.neutral['500']} !important;\n }\n\n .react-select__control:hover {\n border-color: ${isError ? colors.danger['500'] : colors.primary['500']} !important;\n }\n `}\n >\n {children}\n </Box>\n );\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\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 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 boxShadow: state.isFocused ? 'none' : colors.neutral['500'],\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 };\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 { size = 'md' } = 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(size)} />\n <Close color={state.isDisabled ? 'neutral.600' : 'neutral.900'} size={getIconSize(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\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 borderBottom=\"1px solid\" borderColor={useColorModeValue('gray.200', 'bright-gray.800')} ref={ref}>\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} 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 { 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.xs',\r\n h: 6,\r\n px: 2,\r\n py: '5px',\r\n };\r\n const icon = {\r\n h: 6,\r\n w: 6,\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 width: '9px',\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.500',\r\n border: '1px solid',\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});\r\n\r\nconst unstyled = definePartsStyle({\r\n control: {\r\n borderColor: 'neutral.500',\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: 'neutral.500',\r\n borderColor: 'neutral.500',\r\n },\r\n },\r\n _disabled: {\r\n backgroundColor: 'neutral.500',\r\n borderColor: 'neutral.500',\r\n },\r\n _indeterminate: {\r\n borderColor: 'primary.500',\r\n backgroundColor: 'primary.500',\r\n },\r\n },\r\n label: {\r\n fontSize: '12px',\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 },\n md: {\n fontSize: '14px',\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 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.5,\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 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 color: 'black.low',\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: 'gray.200',\n },\n _disabled: {\n borderColor: 'danger.500',\n bg: 'white',\n _before: {\n h: '10px',\n w: '10px',\n bg: 'neutral.500',\n },\n },\n },\n _disabled: {\n borderColor: 'danger.500',\n bg: 'neutral.500',\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: 'neutral.500',\n bg: 'white',\n _before: {\n h: '10px',\n w: '10px',\n bg: 'neutral.500',\n },\n },\n },\n _disabled: {\n borderColor: 'neutral.500',\n bg: 'neutral.500',\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 { 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 };\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"],"names":["BreadCrumb","props","title","children","parents","className","disableHome","spacing","neutral6","dark5","useToken","React","Box","display","justifyContent","alignItems","paddingY","Text","pr","fontWeight","textStyle","color","useColorModeValue","h","borderLeft","borderColor","Breadcrumb","separator","FiChevronsRight","size","pl","sx","ol","BreadcrumbItem","BreadcrumbLink","href","undefined","style","cursor","FiHome","map","val","key","name","disable","link","onClick","_hover","textDecoration","fontSize","textDecor","defaultProps","Loader","forwardRef","ref","styles","useStyleConfig","__css","Button","variant","rest","getLoaderSize","getLoaderColor","ButtonChakra","spinner","CardCustom","Card","backgroundColor","withShadow","isRounded","CheckboxComponent","isError","helpText","errorText","isDisabled","Checkbox","mt","ml","Field","label","errorMessage","leftHelperText","rightHelperText","isRequired","isSuccess","getHelperColor","getJustifyContentHelper","helperColor","justifyHelper","FormControl","isInvalid","FormLabel","mb","requiredIndicator","as","mr","width","FormHelperText","FormErrorMessage","CheckboxGroupComponent","CheckboxGroup","Stack","direction","IndeterminateCheckbox","indeterminate","current","checked","Flex","align","type","DataTable","columns","dataSource","isLoading","withSelectedRow","onSelectedRow","onSort","manualSorting","sortingState","sorting","setSorting","rowSelection","onRowSelectionChange","dataColumns","checkboxColumn","id","header","table","getIsAllRowsSelected","getIsSomeRowsSelected","onChange","getToggleAllRowsSelectedHandler","cell","row","getIsSelected","getIsSomeSelected","getToggleSelectedHandler","generateColumn","onSortingChange","data","useReactTable","getCoreRowModel","getSortedRowModel","manualPagination","sortDescFirst","state","flatRows","getSelectedRowModel","rowData","original","w","pos","bg","justify","zIndex","Spinner","thickness","Table","Thead","tableHead","getHeaderGroups","headerGroup","Tr","tableRow","headers","_ref","Th","colSpan","tableColumnHeader","textTransform","userSelect","lineHeight","flexRender","column","columnDef","getContext","getCanSort","getToggleSortingHandler","asc","ChevronUpIcon","desc","ChevronDownIcon","getIsSorted","UpDownIcon","Tbody","tableBody","getRowModel","rows","css","getVisibleCells","Td","tableCell","overflowX","maxW","minH","Styles","colorMode","useColorMode","Global","TimeInput","value","rightAddon","time","setTime","useState","handleChange","e","_e$target","target","useEffect","flexDir","p","pt","InputGroup","Input","InputRightAddon","displayName","Datepicker","error","helperText","withTime","onClear","showMonth","shortMonth","selected","Date","dateFormat","_props$dateFormat","getTimeProps","timeInputLabel","showTimeInput","customTimeInput","component","ReactDatePicker","customInput","autoComplete","showPopperArrow","calendarClassName","classnames","inline","showMonthDropdown","useShortMonthInDropdown","InputRightElement","FiCalendar","FiX","selectsRange","DatePickerMonth","min","max","date","setDate","required","transparent","black","high","medium","low","white","neutral","primary","secondary","success","danger","warning","info","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","getProperties","outlineColor","focusColor","getWrapperStyle","border","borderRadius","transition","boxShadow","_focusWithin","defineStyle","InputAddonLeft","borderLeftRadius","px","py","InputAddonRight","borderRightRadius","InputField","addOnLeft","addOnRight","elementLeft","elementRight","withClear","inputProps","wrapperStyle","isShowPassword","setIsShowPassword","inputType","useMemo","iconColor","ChakraInput","Close","EyeOff","Eye","TextareaField","position","ChakraTextarea","top","right","XMSLogo","Image","height","src","VoilaLogo","filter","Profile","onLogout","isOpen","onToggle","onClose","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","Badge","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","isActive","startsWith","navLink","activeBg","trigger","Icon","get","whiteSpace","Portal","navHost","isLocalLink","isActiveSub","Link","_first","_last","PaginationButton","btnBg","btnColor","btnNotActiveBg","btnNotActiveColor","_disabled","pointerEvents","PaginationButtonTrigger","visuallyHidden","icon","VisuallyHidden","Pagination","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","SelectWrapper","styleMd","selectStyle","selectStyles","_isError","control","isFocused","option","isSelected","menu","singleValue","input","dropdownIndicator","indicatorSeparator","themeSelect","primary25","primary50","primary75","ReactSelect","classNamePrefix","SelectAsync","AsyncPaginate","SelectAsyncCreatable","ReactSelectAsyncCreatable","SelectCreatable","ReactSelectCreatable","Switch","useMultiStyleConfig","ownProps","omitThemingProps","getInputProps","getCheckboxProps","getRootProps","getLabelProps","useCheckbox","containerStyles","verticalAlign","container","trackStyles","flexShrink","boxSizing","track","labelStyles","marginStart","getIconSize","iconSize","chakra","cx","span","gap","left","transform","Check","thumb","dataAttr","isChecked","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","description","action","close","getBg","colorScheme","c","darkBg","transparentize","variantSubtle","variable","_dark","variantSolid","variants","subtle","solid","alertTheme","defineStyleConfig","opacity","basePrimary","_active","disabledLoading","baseSecondary","borderWidth","borderStyle","tertiary","baseTertiary","baseDanger","CardStyle","shadow","checkboxAnatomy","errors","_checked","_indeterminate","unstyled","Chips","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","getProps","focusBorderColor","padding","Textarea","config","initialColorMode","useSystemColorMode","extendTheme","foundations","components","global","ProviderContext","createContext","instance","useInternalUI","useContext","Provider","requestInterceptors","responseInterceptors","instanceRef","useRef","axios","create","forEach","interceptor","interceptors","request","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