@ctlyst.id/internal-ui 1.0.1-canary.4 → 1.0.2-canary.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/base/stories/button.stories.d.ts +10 -0
- package/dist/components/base/stories/checkbox.stories.d.ts +11 -0
- package/dist/components/base/stories/input.stories.d.ts +16 -0
- package/dist/components/base/stories/radio.stories.d.ts +15 -0
- package/dist/components/base/stories/switch.stories.d.ts +11 -0
- package/dist/{types/components → components}/breadcrumb/components/BreadCrumb.d.ts +17 -17
- package/dist/components/breadcrumb/components/BreadCrumb.stories.d.ts +10 -0
- package/dist/{types/components → components}/breadcrumb/index.d.ts +2 -2
- package/dist/{types/components → components}/data-table/components/data-table.d.ts +40 -40
- package/dist/{types/components → components}/data-table/components/indeterminate-checkbox.d.ts +5 -5
- package/dist/{types/components → components}/data-table/index.d.ts +3 -3
- package/dist/components/data-table/stories/data-table.stories.d.ts +38 -0
- package/dist/{types/components → components}/data-table/types/table-core.d.ts +1 -1
- package/dist/{types/components → components}/datepicker/components/datepicker.d.ts +17 -17
- package/dist/components/datepicker/components/datepicker.stories.d.ts +13 -0
- package/dist/{types/components → components}/datepicker/components/styles.d.ts +2 -2
- package/dist/{types/components → components}/datepicker/components/time-input.d.ts +9 -9
- package/dist/{types/components → components}/datepicker/index.d.ts +2 -2
- package/dist/{types/components → components}/field/components/field.d.ts +11 -11
- package/dist/{types/components → components}/field/components/input-field.d.ts +12 -12
- package/dist/{types/components → components}/field/components/textarea-field.d.ts +12 -12
- package/dist/{types/components → components}/field/index.d.ts +6 -6
- package/dist/{types/components → components}/header/components/header.d.ts +10 -10
- package/dist/{types/components → components}/header/components/logo.d.ts +2 -2
- package/dist/{types/components → components}/header/components/profile.d.ts +8 -8
- package/dist/{types/components → components}/header/components/switch-mode.d.ts +3 -3
- package/dist/{types/components → components}/header/components/version.d.ts +9 -9
- package/dist/{types/components → components}/header/index.d.ts +3 -3
- package/dist/components/header/stories/header.stories.d.ts +10 -0
- package/dist/{types/components → components}/header/types.d.ts +10 -10
- package/dist/{types/components → components}/header/utils/formatter.d.ts +2 -2
- package/dist/{types/components → components}/index.d.ts +11 -11
- package/dist/{types/components → components}/modal/components/modal-close-button.d.ts +4 -4
- package/dist/{types/components → components}/modal/components/modal-footer.d.ts +4 -4
- package/dist/{types/components → components}/modal/components/modal-header.d.ts +4 -4
- package/dist/{types/components → components}/modal/index.d.ts +4 -4
- package/dist/components/modal/stories/modal.stories.d.ts +10 -0
- package/dist/{types/components → components}/navigation/components/navigation.d.ts +10 -10
- package/dist/{types/components → components}/navigation/index.d.ts +2 -2
- package/dist/components/navigation/stories/navigation.stories.d.ts +10 -0
- package/dist/{types/components → components}/navigation/types.d.ts +8 -8
- package/dist/{types/components → components}/pagination/components/pagination-button-trigger.d.ts +10 -10
- package/dist/{types/components → components}/pagination/components/pagination-button.d.ts +6 -6
- package/dist/{types/components → components}/pagination/components/pagination-detail.d.ts +10 -10
- package/dist/{types/components → components}/pagination/components/pagination-filter.d.ts +13 -13
- package/dist/{types/components → components}/pagination/components/pagination.d.ts +16 -16
- package/dist/{types/components → components}/pagination/index.d.ts +6 -6
- package/dist/components/pagination/stories/pagination.stories.d.ts +13 -0
- package/dist/{types/components → components}/select/components/select-async-creatable.d.ts +4 -4
- package/dist/{types/components → components}/select/components/select-async.d.ts +5 -5
- package/dist/{types/components → components}/select/components/select-creatable.d.ts +4 -4
- package/dist/{types/components → components}/select/components/select.d.ts +4 -4
- package/dist/{types/components → components}/select/components/utils.d.ts +26 -26
- package/dist/{types/components → components}/select/index.d.ts +8 -8
- package/dist/components/select/stories/select.stories.d.ts +13 -0
- package/dist/{types/components → components}/tabs/components/tab-list.d.ts +3 -3
- package/dist/{types/components → components}/tabs/components/tab-panel.d.ts +3 -3
- package/dist/{types/components → components}/tabs/components/tab.d.ts +11 -11
- package/dist/{types/components → components}/tabs/index.d.ts +4 -4
- package/dist/components/tabs/stories/tabs.stories.d.ts +10 -0
- package/dist/{types/components → components}/uploader/components/uploader.d.ts +12 -12
- package/dist/{types/components → components}/uploader/constants.d.ts +8 -8
- package/dist/{types/components → components}/uploader/index.d.ts +2 -2
- package/dist/components/uploader/stories/uploader.stories.d.ts +12 -0
- package/dist/config/foundations.stories.d.ts +13 -0
- package/dist/{types/config → config}/index.d.ts +1 -1
- package/dist/{types/config → config}/theme/components/button.d.ts +3 -3
- package/dist/{types/config → config}/theme/components/checkbox.d.ts +3 -3
- package/dist/{types/config → config}/theme/components/form-label.d.ts +19 -19
- package/dist/{types/config → config}/theme/components/index.d.ts +8 -8
- package/dist/{types/config → config}/theme/components/input.d.ts +114 -114
- package/dist/{types/config → config}/theme/components/popover.d.ts +3 -3
- package/dist/{types/config → config}/theme/components/radio.d.ts +3 -3
- package/dist/{types/config → config}/theme/components/switch.d.ts +32 -32
- package/dist/{types/config → config}/theme/components/textarea.d.ts +3 -3
- package/dist/config/theme/foundations/colors.d.ts +158 -0
- package/dist/{types/config → config}/theme/foundations/index.d.ts +5 -5
- package/dist/{types/config → config}/theme/foundations/radius.d.ts +8 -8
- package/dist/{types/config → config}/theme/foundations/sizes.d.ts +66 -66
- package/dist/{types/config → config}/theme/foundations/spacing.d.ts +42 -42
- package/dist/{types/config → config}/theme/foundations/typography.d.ts +173 -173
- package/dist/{types/config → config}/theme/index.d.ts +1 -1
- package/dist/{types/config → config}/theme/themeConfiguration.d.ts +4 -4
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useFetcher.d.ts +4 -0
- package/dist/{types/index.d.ts → index.d.ts} +3 -3
- package/dist/index.js +6 -892
- package/dist/interfaces/common.d.ts +17 -0
- package/dist/internal-ui.cjs.development.js +3279 -0
- package/dist/internal-ui.cjs.development.js.map +1 -0
- package/dist/internal-ui.cjs.production.min.js +10 -0
- package/dist/internal-ui.cjs.production.min.js.map +1 -0
- package/dist/internal-ui.esm.js +3008 -0
- package/dist/internal-ui.esm.js.map +1 -0
- package/dist/{types/provider → provider}/index.d.ts +2 -2
- package/dist/{types/provider → provider}/provider.d.ts +6 -6
- package/dist/provider/provider.stories.d.ts +5 -0
- package/dist/provider/types.d.ts +14 -0
- package/package.json +7 -7
- package/dist/index.mjs +0 -20509
- package/dist/types/config/theme/foundations/colors.d.ts +0 -158
- package/dist/types/provider/types.d.ts +0 -14
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("@chakra-ui/react"),r=require("react"),n=e(r),a=require("react-icons/fi"),o=require("@chakra-ui/icons"),i=require("@emotion/react"),c=require("@tanstack/react-table"),d=e(require("classnames")),l=e(require("react-datepicker")),p=require("@chakra-ui/system"),s=e(require("react-select")),m=require("react-select-async-paginate"),u=e(require("react-select/creatable")),_=e(require("react-select/async-creatable")),g=require("react-dropzone"),h=require("@chakra-ui/theme-tools"),b=require("@chakra-ui/anatomy"),k=require("@chakra-ui/styled-system"),f=e(require("axios"));const x=e=>{const{title:n,children:o,parents:i,className:c,disableHome:d,spacing:l=2}=e,[p,s]=t.useToken("colors",["neutral.700","dark.500"]);return r.createElement(t.Box,{"data-test-id":"CT_component_breadcrumb_breadcrumb",className:c,display:"flex",justifyContent:"space-between",alignItems:"center",paddingY:2},r.createElement(t.Box,{display:"flex",alignItems:"center"},r.createElement(t.Text,{pr:2,fontWeight:500,textStyle:"heading.3",color:t.useColorModeValue("neutral.700","white")},n),r.createElement(t.Box,{h:"22px",borderLeft:"1px solid",borderColor:t.useColorModeValue("neutral.700","white")}),r.createElement(t.Breadcrumb,{separator:r.createElement(a.FiChevronsRight,{color:t.useColorModeValue(p,s),size:14}),pl:2.5,pr:4,spacing:l,sx:{ol:{display:"flex",alignItems:"center"}},display:"flex",alignItems:"center",className:"breadcrumb-wrapper"},r.createElement(t.BreadcrumbItem,null,r.createElement(t.BreadcrumbLink,{href:d?void 0:"/",style:{...d&&{cursor:"default"}}},r.createElement(a.FiHome,{className:"align-top",size:16,color:t.useColorModeValue("#12784A","#ffffff")}))),null==i?void 0:i.map(e=>r.createElement(t.BreadcrumbItem,{key:e.name},r.createElement(t.BreadcrumbLink,{"data-test-id":"iadKcMAul3QAdvmfIQjRE",href:e.disable?void 0:e.link,onClick:e.onClick,style:{...e.disable&&{cursor:"default"}},_hover:{textDecoration:"none"}},r.createElement(t.Text,{color:e.disable?"dark.600":t.useColorModeValue("primary.500","white"),fontSize:"text.sm",fontWeight:400},e.name)))),r.createElement(t.BreadcrumbItem,null,r.createElement(t.BreadcrumbLink,{_hover:{textDecor:"none",cursor:"default"}},r.createElement(t.Text,{color:t.useColorModeValue("dark.700","white"),fontSize:"text.sm",fontWeight:400},n))))),o&&r.createElement(t.Box,null,o))};x.defaultProps={children:void 0,parents:void 0,className:void 0,disableHome:void 0,spacing:2};const y=({indeterminate:e=!1,...n})=>{const a=r.useRef(null);return r.useEffect(()=>{a.current&&"boolean"==typeof e&&(a.current.indeterminate=!n.checked&&e)},[a,e]),r.createElement(t.Flex,{align:"center"},r.createElement("input",Object.assign({type:"checkbox",ref:a},n)))},v=({columns:e,dataSource:n=[],isLoading:a,withSelectedRow:d,onSelectedRow:l,onSort:p,manualSorting:s,sortingState:m,styles:u,..._})=>{const[g,h]=r.useState(null!=m?m:[]),[b,k]=r.useState({}),f=r.useMemo(()=>e,[e]),x=r.useMemo(()=>[{id:"select",header:({table:e})=>r.createElement(y,Object.assign({},{checked:e.getIsAllRowsSelected(),indeterminate:e.getIsSomeRowsSelected(),onChange:e.getToggleAllRowsSelectedHandler()})),cell:({row:e})=>r.createElement(y,Object.assign({},{checked:e.getIsSelected(),indeterminate:e.getIsSomeSelected(),onChange:e.getToggleSelectedHandler()}))}],[]),v=c.useReactTable({data:n,columns:d?[...x,...f]:f,getCoreRowModel:c.getCoreRowModel(),getSortedRowModel:c.getSortedRowModel(),manualPagination:!0,sortDescFirst:!0,state:{sorting:g,rowSelection:b},onRowSelectionChange:k,onSortingChange:e=>{h(e),p&&p(e)},manualSorting:s}),{flatRows:w}=v.getSelectedRowModel();return r.useEffect(()=>{const e=w.map(e=>e.original);l&&l(e)},[w]),r.createElement(t.Box,Object.assign({},_),a&&r.createElement(t.Flex,{w:"100%",h:"100%",pos:"absolute",bg:"white",align:"center",justify:"center",zIndex:2},r.createElement(t.Spinner,{color:"primary.500",thickness:"4px",size:"lg"})),r.createElement(t.Table,Object.assign({},null==u?void 0:u.table),r.createElement(t.Thead,Object.assign({},null==u?void 0:u.tableHead),v.getHeaderGroups().map(e=>r.createElement(t.Tr,Object.assign({key:e.id,bg:t.useColorModeValue("initial","ebony-clay.700")},null==u?void 0:u.tableRow),e.headers.map(e=>{var n;return r.createElement(t.Th,Object.assign({key:e.id,colSpan:e.colSpan},null==u?void 0:u.tableColumnHeader),r.createElement(t.Flex,{"data-test-id":"CT_Container_TableHeader_"+e.id,textTransform:"capitalize",userSelect:"none",align:"center",justifyContent:"space-between",onClick:e.column.getToggleSortingHandler(),cursor:e.column.getCanSort()?"pointer":"default"},r.createElement(t.Text,{fontSize:"text.sm",fontWeight:400,lineHeight:"18px",color:t.useColorModeValue("neutral.900","white")},c.flexRender(e.column.columnDef.header,e.getContext())),r.createElement(t.Box,{as:"span",pl:"2","data-test-id":"CT_Container_SortingIcon_"+e.id},null!==(n=e.column.getCanSort()&&{asc:r.createElement(o.ChevronUpIcon,null),desc:r.createElement(o.ChevronDownIcon,null)}[e.column.getIsSorted()])&&void 0!==n?n:r.createElement(o.UpDownIcon,{h:2}))))})))),r.createElement(t.Tbody,Object.assign({},null==u?void 0:u.tableBody),v.getRowModel().rows.map(e=>r.createElement(t.Tr,Object.assign({key:e.id},null==u?void 0:u.tableRow,{css:i.css`
|
2
|
+
&:last-child {
|
3
|
+
td {
|
4
|
+
border-bottom: none;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
`}),e.getVisibleCells().map(e=>r.createElement(t.Td,Object.assign({key:e.id,fontSize:"text.sm",color:t.useColorModeValue("dark.800","dark.300")},null==u?void 0:u.tableCell),c.flexRender(e.column.columnDef.cell,e.getContext()))))))))};v.defaultProps={withSelectedRow:!1,overflowX:"scroll",pos:"relative",maxW:"100%",minH:400,w:"full",styles:void 0,isLoading:void 0,onSelectedRow:void 0,onSort:void 0,manualSorting:!1,sortingState:[]};const w=()=>{const{colorMode:e}=p.useColorMode();return React.createElement(i.Global,{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: ${"light"===e?"#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: ${"light"===e?"#ffffff":"#283046"};\n color: ${"light"===e?"#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: ${"light"===e?"#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\n .react-datepicker__current-month,\n .react-datepicker-time__header,\n .react-datepicker-year-header {\n margin-top: 0;\n color: ${"light"===e?"#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: ${"light"===e?"#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: ${"light"===e?"#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: ${"light"===e?"#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: ${"light"===e?"#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: ${"light"===e?"#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: ${"light"===e?"#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: ${"light"===e?"#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: ${"light"===e?"#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: ${"light"===e?"#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: ${"light"===e?"#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: ${"light"===e?"#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: ${"light"===e?"#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: ${"light"===e?"#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: ${"light"===e?"#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: ${"light"===e?"#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: ${"light"===e?"#f0f0f0":"#131620"};\n color: ${"light"===e?"#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: ${"light"===e?"#12784A":"#131620"};\n }\n .react-datepicker__month-text:hover,\n .react-datepicker__quarter-text:hover {\n background-color: ${"light"===e?"#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: ${"light"===e?"#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: ${"light"===e?"#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: ${"light"===e?"#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: ${"light"===e?"#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 `})},C=({value:e,onChange:r,label:a,rightAddon:o})=>{const[i,c]=n.useState(e||"00:00");return n.useEffect(()=>{r&&r(i)},[i]),n.createElement(t.Flex,{flexDir:"column",alignItems:"center",justifyContent:"center",p:4,pt:0},n.createElement(t.Text,{mb:2},a),n.createElement(t.InputGroup,{alignItems:"center",justifyContent:"center"},n.createElement(t.Input,{onChange:e=>{var t;c((null===(t=e.target)||void 0===t?void 0:t.value)||"00:00")},type:"time",value:i,"data-test-id":"CT_Component_datepicker_input_time"}),o&&n.createElement(t.InputRightAddon,null,o)))};C.displayName="DatepickerTimeInput",C.defaultProps={value:"00:00",onChange:void 0,label:"Pilih Waktu",rightAddon:"WIB"};const E=({id:e,label:r,error:o,isError:i,helperText:c,isRequired:p,withTime:s,value:m,name:u,onClear:_,showMonth:g,shortMonth:h,...b})=>{var k;const f=m?new Date(m):void 0,x=(null!==(k=b.dateFormat)&&void 0!==k?k:s)?"yyyy-MM-dd HH:mm":"yyyy-MM-dd",y=n.createElement(n.Fragment,null,n.createElement(w,null),n.createElement(l,Object.assign({id:e,name:u,selected:f,customInput:n.createElement(t.Input,{autoComplete:"off"}),dateFormat:x,showPopperArrow:!1,calendarClassName:d({inline:b.inline}),showMonthDropdown:g,useShortMonthInDropdown:!!g&&h},s?{timeInputLabel:"",showTimeInput:!0,customTimeInput:n.createElement(C,null)}:{},b)));return b.inline?y:n.createElement(t.FormControl,{isRequired:p,"data-test-id":"CT_Component_datepicker_wrapper"},r&&n.createElement(t.FormLabel,{fontSize:"text.sm"},r),n.createElement(t.InputGroup,null,y,n.createElement(t.InputRightElement,null,!m&&n.createElement(a.FiCalendar,null),m&&n.createElement(a.FiX,{"data-test-id":"bcpJJyCP0z_RIAGZXDU6s",onClick:_,cursor:"pointer"}))),i?n.createElement(t.FormErrorMessage,null,o):n.createElement(t.FormHelperText,null,c))};E.defaultProps={id:void 0,isRequired:void 0,label:void 0,error:void 0,isError:void 0,helperText:void 0,withTime:void 0,onClear:void 0,selectsRange:void 0,shortMonth:!1,showMonth:!1};const S=e=>{const{label:r,isError:n,error:a,helperText:o,isRequired:i,children:c}=e;return React.createElement(t.FormControl,{isInvalid:n},r&&("string"==typeof r?React.createElement(t.FormLabel,{fontSize:"field.sm",requiredIndicator:void 0},i&&React.createElement(t.Box,{as:"span",color:"red.500",ml:0,mr:1},"*"),r):r),c,n?"string"==typeof a?React.createElement(t.FormErrorMessage,{textStyle:"field.sm",fontSize:"field.sm",mt:1,marginStart:1},a):a:o&&React.createElement(t.FormHelperText,{fontSize:"field.sm"},o))};S.defaultProps={label:"",isError:!1,error:void 0,helperText:void 0,isRequired:!1};const F=n.forwardRef((e,r)=>{const{value:a,type:o,addOnLeft:i,addOnRight:c,elementLeft:d,elementRight:l,size:p,isRequired:s,label:m,isError:u,error:_,helperText:g,...h}=e;return n.createElement(S,{label:m,isError:u,error:_,helperText:g,isRequired:s},n.createElement(t.InputGroup,{size:p},i&&n.createElement(t.InputLeftAddon,null,i),d&&n.createElement(t.InputLeftElement,null,d),n.createElement(t.Input,Object.assign({ref:r,type:o,value:a},h)),c&&n.createElement(t.InputRightAddon,null,c),l&&n.createElement(t.InputRightElement,null,l)))});F.defaultProps={addOnLeft:void 0,addOnRight:void 0,elementLeft:void 0,elementRight:void 0};const M=n.forwardRef((e,r)=>{const{value:a,...o}=e;return n.createElement(S,Object.assign({},o),n.createElement(t.Textarea,Object.assign({ref:r,value:a},o)))});M.defaultProps={addOnLeft:void 0,addOnRight:void 0,elementLeft:void 0,elementRight:void 0};const P=()=>React.createElement(t.Image,{height:8,src:t.useColorModeValue("https://assets.voila.id/xms/logo-xms.jpg","https://assets.voila.id/xms/logo-xms-dark.png")}),D=()=>React.createElement(t.Image,{src:"https://s3.ap-southeast-1.amazonaws.com/assets.voila.id/xms/logo-voila-black.png?v=1",filter:t.useColorModeValue("none","invert(1)"),maxW:24}),z=({data:e,onLogout:n})=>{var o;const{isOpen:i,onToggle:c,onClose:d}=t.useDisclosure();return r.createElement(t.Popover,{placement:"bottom-end",isOpen:i,onClose:d},r.createElement(t.Box,{"data-test-id":"WE0UYbA93LOZy6S09IhDO",as:"button",cursor:"pointer",minW:0,_hover:{textDecor:"none"},m:0,onClick:c},r.createElement(t.HStack,null,r.createElement(t.VStack,{alignItems:"flex-end",spacing:-.5,ml:"2"},r.createElement(t.Text,{fontSize:"text.xs",mb:1,fontWeight:400,lineHeight:"14px",color:t.useColorModeValue("neutral.800","white")},null==e?void 0:e.email),r.createElement(t.Text,{fontSize:"text.xs",fontWeight:400,lineHeight:"14px",color:t.useColorModeValue("primary.500","success.400")},(null==e?void 0:e.office)&&r.createElement(t.Text,{color:"neutral.700",display:"inline-block",mr:.5},e.office," |"," "),null==e?void 0:e.userRole)),r.createElement(t.PopoverTrigger,null,r.createElement(t.Avatar,{size:"sm",bg:"primary.500",color:"white",name:null!==(o=null==e?void 0:e.name)&&void 0!==o?o:null==e?void 0:e.email})))),r.createElement(t.PopoverContent,{bg:t.useColorModeValue("white","mirage.900"),maxW:200},r.createElement(t.PopoverArrow,{bg:t.useColorModeValue("white","mirage.900")}),r.createElement(t.PopoverBody,{p:1},r.createElement(t.Flex,{"data-test-id":"gA7F9pucPX_Q3_dkgXIYZ",alignItems:"center",px:3,py:2,borderRadius:"sm",cursor:"pointer",_hover:{bg:t.useColorModeValue("primary.500","mirage.900"),color:"white"},onClick:n,fontSize:"text.xs"},r.createElement(a.FiPower,null),r.createElement(t.Text,{ml:2},"Logout")))))};z.defaultProps={data:void 0,onLogout:void 0};const B=()=>{const{colorMode:e,toggleColorMode:n}=t.useColorMode();return r.createElement(t.Box,{mx:5,onClick:n,cursor:"pointer"},r.createElement("light"===e?a.FiMoon:a.FiSun,{size:20}))},A=({version:e,environment:n,onOpenModalRelease:a})=>r.createElement(r.Fragment,null,e&&r.createElement(t.Badge,{"data-test-id":"dzl3esjhCphobaaIXpiUE",bg:t.useColorModeValue("primary.500","rgba(124, 124, 124, 0.12)"),color:t.useColorModeValue("white","secondary.400"),fontSize:"text.xs",py:1,px:2.5,fontWeight:"bold",textTransform:"lowercase",borderRadius:"md",onClick:a,cursor:a?"pointer":"auto"},e),r.createElement(t.Box,{background:"primary.50",color:"primary.500",fontSize:"text.xs",py:1,px:2.5,fontWeight:"bold",borderRadius:"md"},function(e){switch(e){case"DEVELOPMENT":return"Dev";case"STAGING":return"Staging";default:return null}}(n)));A.defaultProps={environment:void 0,version:void 0,onOpenModalRelease:void 0};const R=({data:e,onLogout:n,onOpenModalRelease:a,...o})=>r.createElement(t.Box,Object.assign({minH:14,bg:t.useColorModeValue("white","ebony-clay.800"),boxShadow:"0 4px 20px 0 rgb(0 0 0 / 5%)",px:4,py:1},o),r.createElement(t.Flex,{h:14,alignItems:"center",justifyContent:"space-between"},r.createElement(P,null),r.createElement(t.HStack,{spacing:2,alignItems:"center"},r.createElement(D,null),r.createElement(A,{version:null==e?void 0:e.version,environment:null==e?void 0:e.environment,onOpenModalRelease:a})),r.createElement(t.Flex,{alignItems:"center"},r.createElement(B,null),r.createElement(z,{data:e,onLogout:n}))));R.defaultProps={data:void 0,onLogout:void 0,onOpenModalRelease:void 0};const T=r.forwardRef((e,r)=>React.createElement(t.ModalCloseButton,Object.assign({ref:r,top:4,right:4,size:"sm",background:t.useColorModeValue("neutral.50","mirage.900")},e))),O=r.forwardRef(({children:e,...r},n)=>React.createElement(t.ModalFooter,Object.assign({ref:n,background:t.useColorModeValue("neutral.200","mirage.900"),borderBottomRadius:"md"},r),e)),j=r.forwardRef(({children:e,...r},n)=>React.createElement(t.ModalHeader,Object.assign({ref:n,background:t.useColorModeValue("neutral.200","mirage.900"),borderTopRadius:"md",fontSize:"lg"},r),e)),I=({navigations:e,activePath:n,as:a,...c})=>r.createElement(t.Box,Object.assign({bg:t.useColorModeValue("white","ebony-clay.800"),boxShadow:"0 4px 20px 0 rgb(0 0 0 / 5%)",borderRadius:"md",overflowX:"auto"},c),r.createElement(t.Flex,{alignItems:"center",p:2},r.createElement(t.HStack,{spacing:2},null==e?void 0:e.map(e=>{const c=n.startsWith(e.navLink||""),d=c?"primary.500":void 0;return r.createElement(t.Popover,{key:e.title,trigger:"hover",placement:"bottom-start"},({isOpen:l})=>r.createElement(r.Fragment,null,r.createElement(t.PopoverTrigger,null,r.createElement(t.Box,{display:"flex",alignItems:"center",borderRadius:"md",cursor:"pointer",_hover:{backgroundColor:c?d:t.useColorModeValue("dove-gray.50","transparent")},backgroundColor:l&&!c?t.useColorModeValue("dove-gray.50","transparent"):d,color:c?"white":"inherit",p:2},r.createElement(t.Icon,{as:e.icon,mr:2}),r.createElement(t.Text,{whiteSpace:"nowrap",fontSize:"text.sm",fontWeight:400},e.title),r.createElement(o.ChevronDownIcon,{ml:2}))),e.children&&r.createElement(t.Portal,null,r.createElement(t.Box,{zIndex:"popover"},r.createElement(t.PopoverContent,{key:e.title,bg:t.useColorModeValue("white","ebony-clay.800"),maxW:250,border:"none",borderRadius:"md",boxShadow:"0 5px 25px rgb(0 0 0 / 10%)"},e.children.map(({title:e,navHost:o,navLink:c,icon:d})=>{const l=o?`${o}${c}`:c,p=n===c;return r.createElement(t.Link,{as:a,key:e,display:"flex",position:"relative",alignItems:"center",transition:"padding 0.35s ease 0s",_hover:{backgroundColor:t.useColorModeValue("dove-gray.50","mirage.900"),color:t.useColorModeValue("primary.500","dove-gray.600"),px:5,py:4,_first:{borderTopRadius:"md"},_last:{borderBottomRadius:"md"}},px:6,py:4,href:l,color:p?"primary.500":"inherit",css:i.css`
|
8
|
+
border-spacing: 4px;
|
9
|
+
`},r.createElement(t.Icon,{as:d,mr:3}),r.createElement(t.Text,{fontSize:"text.sm"},e),p&&r.createElement(t.Box,{width:.5,height:8,position:"absolute",bg:"primary.500",right:0,zIndex:"popover"}))}))))))}))));I.defaultProps={navigations:void 0,as:"a"};const H=t.forwardRef(({className:e,style:r,isActive:n,children:a,...o},i)=>{const c=t.useColorModeValue("neutral.300","mirage.900"),d=t.useColorModeValue("black.high","primary.300"),l=t.useColorModeValue("secondary.50","primary.500"),p=t.useColorModeValue("primary.500","white");return React.createElement(t.Button,Object.assign({"data-test-id":"Pagination-Button",ref:i,className:e,style:r,borderRadius:50,fontWeight:700,m:0,px:3,py:2,h:8,minW:"auto",background:n?"primary.500":c,color:n?"white":d,_hover:n?{}:{background:l,color:p},_disabled:{background:t.useColorModeValue("neutral.300","mirage.900"),color:"neutral.600",pointerEvents:"none"}},o),a)});H.displayName="PaginationButton",H.defaultProps={isActive:void 0};const q=({color:e,isDisabled:n,onClick:a,visuallyHidden:o,icon:i})=>r.createElement(H,{"data-test-id":"DLVCc_fBK35spHm5WxjcJ",color:e,isDisabled:n,onClick:a},r.createElement(t.VisuallyHidden,null,o),i);q.defaultProps={color:void 0,isDisabled:void 0,onClick:void 0,visuallyHidden:void 0,icon:void 0};const V=({className:e,current:n,total:a,onSelect:i})=>{const c=t.useColorModeValue("secondary.100","primary.500"),d=t.useColorModeValue("primary.500","secondary.100"),l=1===n,p=l?c:d,s=n===a,m=s?c:d,u=e=>{i&&i(e)};return r.createElement(t.Box,{className:e,display:"inline-flex",alignItems:"center"},r.createElement(t.Box,{mr:1},r.createElement(q,{"data-test-id":"Pagination-Button",color:p,isDisabled:l,onClick:()=>u(1),visuallyHidden:"First Page",icon:r.createElement(o.ArrowLeftIcon,{width:2})})),r.createElement(t.Box,{backgroundColor:t.useColorModeValue("neutral.300","mirage.900"),borderRadius:50},r.createElement(q,{"data-test-id":"Pagination-Button",color:p,isDisabled:l,onClick:()=>u(n-1),visuallyHidden:"Previous Page",icon:r.createElement(o.ChevronLeftIcon,null)}),(()=>{const e=[];let t,r;5<a?(t=Math.max(Math.min(n-Math.floor(2.5),a-5+1),1),r=t+5-1):(t=1,r=a);for(let n=t;n<=r;++n)e.push(n);return e})().map(e=>r.createElement(H,{"data-test-id":"Pagination-Button",key:e,isActive:e===n,onClick:()=>"number"==typeof e?u(e):null},r.createElement(t.Text,{scale:300,fontSize:"text.sm",lineHeight:18,fontWeight:500},e))),r.createElement(q,{"data-test-id":"Pagination-Button",color:m,isDisabled:s,onClick:()=>u(n+1),visuallyHidden:"Next Page",icon:r.createElement(o.ChevronRightIcon,null)})),r.createElement(t.Box,{ml:1},r.createElement(q,{"data-test-id":"Pagination-Button",color:m,isDisabled:s,onClick:()=>u(a),visuallyHidden:"Last Page",icon:r.createElement(o.ArrowRightIcon,{width:2})})))};V.defaultProps={className:void 0,onSelect:void 0},V.displayName="Pagination";const W=({limit:e,label:n="Baris per halaman:",items:o,onChange:i,...c})=>{const[d,l]=r.useState(e);return r.createElement(t.Box,{display:"flex",flexDirection:"row",alignItems:"center"},r.createElement(t.Text,Object.assign({fontSize:"text.sm",lineHeight:18,color:t.useColorModeValue("neutral.900","white")},c),n),r.createElement(t.Select,{textAlign:"center",size:"xs",outline:"none",border:"none",boxShadow:"none",width:18,icon:r.createElement(a.FiChevronDown,null),_focusVisible:{boxShadow:"none"},onChange:e=>{const t=Number(e.target.value);i(t),l(t)},value:d},o.map(e=>r.createElement("option",{key:e,value:e},e))))};W.defaultProps={limit:10,label:void 0};const L={transparent:"transparent",black:{high:"#111111",medium:"#707070",low:"#B8B8B8"},white:{high:"#FFFFFF",medium:"#F1F1F1",low:"#CCCCCC"},neutral:{50:"#FFFFFF",100:"#FAFAFA",200:"#F5F5F5",300:"#EEEEEE",400:"#E0E0E0",500:"#BDBDBD",600:"#999999",700:"#242424",800:"#181818",900:"#111111"},primary:{50:"#DFFFF1",100:"#ACF5D5",200:"#5EE5A9",300:"#05CB72",400:"#08A45E",500:"#12784A",600:"#0B603A",700:"#075331",800:"#064126",900:"#042E1B"},secondary:{50:"#F2F2F3",100:"#DADBDD",200:"#C2C4C7",300:"#AAADB0",400:"#93969A",500:"#7B7F84",600:"#62666A",700:"#4A4C4F",800:"#313335",900:"#19191A"},success:{50:"#ECFFED",100:"#D3FCD5",200:"#A9F9B5",300:"#7CEE98",400:"#58DD86",500:"#28c76f",600:"#1DAB6A",700:"#148F63",800:"#0C7359",900:"#075F51"},danger:{50:"#FFEDEC",100:"#FFC7C2",200:"#FF8279",300:"#FF5B4F",400:"#F44336",500:"#D82F23",600:"#B71C1C",700:"#930B0B",800:"#660909",900:"#3E0707"},warning:{50:"#FFF9EC",100:"#FFEFCC",200:"#FFD591",300:"#FFC069",400:"#FFA230",500:"#F68522",600:"#EF6C00",700:"#C65B03",800:"#9F4901",900:"#652E00"},info:{50:"#EBFFFB",100:"#CBFDF2",200:"#97FCEF",300:"#63F8F0",400:"#3CECF1",500:"#00CFE8",600:"#00A1C7",700:"#007AA7",800:"#005786",900:"#003F6F"},dark:{50:"#F2F2F2",100:"#DBDBDB",200:"#C4C4C4",300:"#ADADAD",400:"#969696",500:"#808080",600:"#666666",700:"#4D4D4D",800:"#333333",900:"#1A1A1A"},mirage:{50:"#EDF0F7",100:"#CED5E9",200:"#AEBADB",300:"#8E9ECC",400:"#6F83BE",500:"#4F68B0",600:"#3F538D",700:"#2F3E6A",800:"#202A46",900:"#101523"},"ebony-clay":{50:"#EFF1F6",100:"#D2D7E5",200:"#B4BDD4",300:"#97A3C4",400:"#7A89B3",500:"#5D6FA2",600:"#4A5982",700:"#384361",800:"#252D41",900:"#131620"},"bright-gray":{50:"#F0F1F4",100:"#D5D9E1",200:"#BAC0CE",300:"#A0A8BB",400:"#858FA8",500:"#6A7795",600:"#555F77",700:"#404759",800:"#2A2F3C",900:"#15181E"},"dove-gray":{50:"#F2F2F2",100:"#DBDBDB",200:"#C4C4C4",300:"#ADADAD",400:"#969696",500:"#808080",600:"#666666",700:"#4D4D4D",800:"#333333",900:"#1A1A1A"}},$={...t.theme.space,4.5:"1.125rem",9.5:"2.375rem",18:"4.5rem",22:"5.5rem",26:"6.5rem",30:"7.5rem"},N={...t.theme.sizes,4.5:"1.125rem",9.5:"2.375rem",18:"4.5rem",22:"5.5rem",26:"6.5rem",30:"7.5rem"},U={normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,34:"2.125rem",32:"2rem",30:"1.875rem",28:"1.75",26:"1.625rem",24:"1.5rem",22:"1.375rem",20:"1.25rem",18:"1.125rem",16:"1rem",14:"0.875rem",12:"0.75rem"},G={heading:{1:"1.75rem",2:"1.5rem",3:"1.25rem",4:"1.125rem",5:"1rem",6:"0.875rem"},text:{xl:"1.125rem",lg:"1rem",md:"0.875rem",sm:"0.75rem",xs:"0.625rem"},button:{lg:"1.125rem",md:"0.875rem",sm:"0.625rem"},field:{lg:"1rem",md:"0.875rem",sm:"0.75rem"},table:{header:"0.75rem"}},X={heading:{1:{fontSize:G.heading[1],fontWeight:"bold",lineHeight:"3.5rem",letterSpacing:"0"},2:{fontSize:G.heading[2],fontWeight:"bold",lineHeight:"2.875rem",letterSpacing:"0"},3:{fontSize:G.heading[3],fontWeight:"bold",lineHeight:"2.5rem",letterSpacing:"0"},4:{fontSize:G.heading[4],fontWeight:"bold",lineHeight:"2rem",letterSpacing:"0"},5:{fontSize:G.heading[5],fontWeight:"bold",lineHeight:"1.5rem",letterSpacing:"0"},6:{fontSize:G.heading[6],fontWeight:"bold",lineHeight:"1.375rem",letterSpacing:"0"}},text:{xl:{fontSize:G.text.xl,lineHeight:U[28],letterSpacing:"0"},lg:{fontSize:G.text.lg,lineHeight:U[24],letterSpacing:"0"},md:{fontSize:G.text.md,lineHeight:U[22],letterSpacing:"0"},sm:{fontSize:G.text.sm,lineHeight:U[18],letterSpacing:"0"},xs:{fontSize:G.text.xs,lineHeight:U[14],letterSpacing:"0"}},button:{lg:{fontSize:G.button.lg,lineHeight:U[28],letterSpacing:"0",fontWeight:400},md:{fontSize:G.button.md,lineHeight:U[22],letterSpacing:"0",fontWeight:400},sm:{fontSize:G.button.sm,lineHeight:U[14],letterSpacing:"0",fontWeight:400}},field:{lg:{fontSize:G.field.lg,lineHeight:U[24],letterSpacing:"0",fontWeight:400},md:{fontSize:G.field.md,lineHeight:U[22],letterSpacing:"0",fontWeight:400},sm:{fontSize:G.field.sm,lineHeight:U[18],letterSpacing:"0",fontWeight:400}}};var K={__proto__:null,colors:L,radii:{none:0,sm:"2px",md:"4px",lg:"8px",full:"9999px"},space:$,sizes:N,fonts:{heading:"'Poppins', sans-serif",body:"'Poppins', sans-serif"},fontSizes:G,lineHeights:U,textStyles:X};const Y=X.text.sm,J={fontSize:Y.fontSize,lineHeight:Y.lineHeight,letterSpacing:0};function Q(e){return{control:t=>"dark"===e?{...t,...J,background:"transparent",color:L.primary[300],borderColor:L.secondary[500]}:{...t,...J},option:(t,{isSelected:r})=>"dark"===e?{...t,...J,background:r?L.primary[700]:L.dark[800],color:"white"}:{...t,...J},menu:t=>"dark"===e?{...t,...J,background:L.dark[800],zIndex:5}:{...t,...J,zIndex:5},singleValue:t=>"dark"===e?{...t,...J,color:"white"}:{...t,...J},input:t=>"dark"===e?{...t,...J,color:"white"}:{...t,...J},dropdownIndicator:t=>"dark"===e?{...t,...J,color:L.secondary[500]}:{...t,...J},indicatorSeparator:t=>"dark"===e?{...t,...J,backgroundColor:L.secondary[500]}:{...t,...J}}}const Z=e=>({...e,colors:{...e.colors,primary:L.primary[500],primary25:L.primary[50],primary50:L.primary[100],primary75:L.primary[200]}}),ee=t.forwardRef((e,n)=>{var a,o;const i=t.useTab({...e,ref:n}),c=!!i["aria-selected"],d=t.useMultiStyleConfig("Tabs",i);return r.createElement(t.Button,Object.assign({p:3,fontSize:"text.md",_selected:{borderColor:t.useColorModeValue("primary.400","primary.300"),color:t.useColorModeValue("primary.500","primary.300"),transform:"translateY(-2px)"},color:t.useColorModeValue("black.high","primary.300"),_focus:{bg:"none"},__css:d.tab},i),r.createElement(t.Flex,null,null===(a=e.leftAddon)||void 0===a?void 0:a.call(e,{isSelected:c}),i.children,null===(o=e.rightAddon)||void 0===o?void 0:o.call(e,{isSelected:c})))}),te=t.forwardRef((e,r)=>React.createElement(t.TabList,{borderBottom:"1px solid",borderColor:t.useColorModeValue("gray.200","bright-gray.800"),ref:r},e.children)),re=t.forwardRef((e,r)=>React.createElement(t.TabPanel,{px:0,ref:r},e.children)),ne=({onHandleUploadFile:e,onHandleRejections:n,accept:a,multiple:o,selected:i,maxFiles:c=1,renderError:d,validator:l,...p})=>{const[s,m]=r.useState(),[u,_]=r.useState(i||!1),h=r.useCallback(t=>{t.length>0&&(null==e||e(t),o||(_(!0),m(t[0])))},[o,e]),{getRootProps:b,getInputProps:k,isDragActive:f,fileRejections:x}=g.useDropzone({onDrop:h,accept:a,maxFiles:c,multiple:o,validator:l});r.useEffect(()=>{x.length>0&&n&&n(x)},[x,n]);const y=r.useMemo(()=>{const e=x.length>0;return e&&_(!1),e},[x]);return r.useEffect(()=>{_(null!=i&&i)},[i]),r.createElement(t.Stack,{direction:"column"},r.createElement(t.Flex,Object.assign({minH:200,border:"1px dashed",borderColor:y?"danger.500":"primary.500",alignItems:"center",justifyContent:"center",cursor:"pointer"},p,b()),r.createElement("input",Object.assign({},k())),f?r.createElement(t.Text,null,"Drop file disini..."):r.createElement(t.Flex,{flexDirection:"column",alignItems:"center",color:y?"danger.500":"primary.500"},!o&&u&&r.createElement(t.Heading,{fontWeight:400,fontSize:"18px",lineHeight:28,color:"black.high",mb:2},null==s?void 0:s.name),!u&&r.createElement(t.Heading,{fontWeight:400,fontSize:"18px",lineHeight:28,mb:2},"Upload File"),r.createElement(t.Text,null,u?"(Klik atau drag untuk mengganti file)":"(Klik atau drag untuk input file)"))),null==d?void 0:d(x))};ne.defaultProps={onHandleUploadFile:void 0,onHandleRejections:void 0,renderError:void 0,selected:!1};const ae={baseStyle:{fontSize:"body.1",fontWeight:"normal",lineHeight:"1.25",minW:24,px:4,py:2,borderRadius:"md",_disabled:{opacity:.3},_hover:{_disabled:{opacity:.3}},_active:{_disabled:{opacity:.3}},_loading:{opacity:.7}},sizes:{lg:{fontSize:"button.lg",h:12},md:{fontSize:"button.md",h:9},sm:{fontSize:"button.sm",h:6}},variants:{solid:{color:"white",bg:"primary.500",_disabled:{bg:"primary.700"},_hover:{bg:"primary.600"},_active:{bg:"primary.700"},_focus:{bg:"primary.700"}},outline:e=>({color:"primary.500",borderWidth:1,borderStyle:"inside",bg:h.mode("white","transparent")(e),borderColor:h.mode("primary.500","primary.500")(e),_hover:{bg:"primary.50"},_active:{bg:"primary.100"},_focus:{bg:"primary.100"}}),"outline-danger":{color:"danger.500",bg:"white",borderStyle:"inside",borderWidth:1,borderColor:"danger.500"},ghost:{color:"primary.500",_disabled:{bg:"primary.100"}},link:{bg:"transparent",color:"primary.500"}},defaultProps:{size:"md",variant:"solid",orientation:"vertical",colorScheme:"primary"}},{definePartsStyle:oe}=k.createMultiStyleConfigHelpers(b.checkboxAnatomy.keys),ie=k.cssVar("checkbox-size"),ce={baseStyle:{borderRadius:"sm"},sizes:{sm:oe({control:{[ie.variable]:"sizes.4",borderRadius:"md"},label:{fontSize:"text.sm"},icon:{fontSize:"3xs"}}),md:oe({control:{[ie.variable]:"sizes.5",borderRadius:"md"},label:{fontSize:"text.md"},icon:{fontSize:"2xs"}}),lg:oe({control:{[ie.variable]:"sizes.6",borderRadius:"md"},label:{fontSize:"text.lg"},icon:{fontSize:"xs"}})},variants:{},defaultProps:{size:"sm",variant:"solid",orientation:"vertical",colorScheme:"primary"}},de=k.defineStyleConfig({baseStyle:k.defineStyle({fontSize:"field.sm",marginEnd:1,mb:1})}),{definePartsStyle:le,defineMultiStyleConfig:pe}=k.createMultiStyleConfigHelpers(b.inputAnatomy.keys),se=le({field:{width:"100%",minWidth:0,outline:0,px:2.5,py:2,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",color:"black.high",_disabled:{bg:"neutral.300",border:"1px solid",borderColor:"neutral.400",cursor:"not-allowed"},_placeholder:{color:"black.low"}}}),me={lg:k.defineStyle({fontSize:"field.lg",h:12,borderRadius:"md"}),md:k.defineStyle({fontSize:"field.md",h:10,borderRadius:"md"}),sm:k.defineStyle({fontSize:"field.sm",h:9.5,borderRadius:"md"})},ue=pe({baseStyle:se,sizes:{lg:le({field:me.lg,addon:me.lg}),md:le({field:me.md,addon:me.md}),sm:le({field:me.sm,addon:me.sm})},variants:{outline:le(e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n,readOnlyBorderColor:a}=function(e){const{focusBorderColor:t,errorBorderColor:r,readOnlyBorderColor:n}=e;return{focusBorderColor:t||h.mode("primary.500","primary.300")(e),errorBorderColor:r||h.mode("danger.500","danger.300")(e),readOnlyBorderColor:n||h.mode(".500","danger.300")(e)}}(e);return{field:{border:"1px solid",borderColor:h.mode("dark.200","inherit")(e),bg:h.mode("white","inherit")(e),color:h.mode("inherit","white")(e),_hover:{borderColor:h.mode("gray.300","whiteAlpha.400")(e)},_readOnly:{userSelect:"all",borderColor:h.getColor(t,a),boxShadow:"0 0 0 0 "+h.getColor(t,a)},_invalid:{borderColor:h.getColor(t,n),boxShadow:"0 0 0 0 "+h.getColor(t,n)},_focusVisible:{zIndex:1,borderColor:h.getColor(t,r),boxShadow:"0 0 0 0 "+h.getColor(t,r)}},addon:{border:"1px solid",borderColor:h.mode("inherit","whiteAlpha.50")(e),bg:h.mode("gray.100","whiteAlpha.300")(e)}}}),unstyled:le({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"sm",variant:"outline"}}),{definePartsStyle:_e}=k.createMultiStyleConfigHelpers(b.radioAnatomy.keys),ge={baseStyle:_e({control:{_checked:{borderColor:"primary.500",bg:"white",_before:{h:"72%",w:"72%",bg:"primary.500"},_hover:{borderColor:"primary.500",bg:"gray.200"}}}}),sizes:{sm:_e({control:{w:"3",h:"3"},label:{fontSize:"text.sm"}}),md:_e({control:{w:"4",h:"4"},label:{fontSize:"text.md"}}),lg:_e({control:{w:"5",h:"5"},label:{fontSize:"text.lg"}})},variants:{},defaultProps:{size:"sm",variant:"solid",orientation:"vertical",colorScheme:"primary"}},{definePartsStyle:he,defineMultiStyleConfig:be}=t.createMultiStyleConfigHelpers(b.switchAnatomy.keys),ke=be({baseStyle:he({container:{},thumb:{bg:"white"},track:{bg:"neutral.400",p:1,_checked:{bg:"primary.500"}}})}),{definePartsStyle:fe}=k.createMultiStyleConfigHelpers(b.popoverAnatomy.keys),xe=t.extendTheme({...K,components:{__proto__:null,Button:ae,Checkbox:ce,FormLabel:de,Input:ue,Radio:ge,Switch:ke,Popover:{baseStyle:e=>fe({popper:{background:h.mode("white","inherit")(e)}})},Textarea:{baseStyle:{_hover:{borderColor:"primary.500",boxShadow:"none",outline:"none"},_focus:{borderColor:"primary.500",boxShadow:"none",outline:"none"},_focusVisible:{borderColor:"primary.500",boxShadow:"none",outline:"none"},_focusWithin:{borderColor:"primary.500",boxShadow:"none",outline:"none"}}}},styles:{global:{"*::-webkit-scrollbar-thumb":{background:"neutral.400"},body:{fontSize:"text.sm"}}},config:{initialColorMode:"light",useSystemColorMode:!1}}),ye=r.createContext({instance:void 0}),ve=({children:e,config:t,requestInterceptors:n,responseInterceptors:a})=>{const o=r.useRef(f.create(t));r.useEffect(()=>{null==n||n.forEach(e=>{o.current.interceptors.request.use(e)}),null==a||a.forEach(e=>{o.current.interceptors.response.use(e)})},[n,a]);const i=r.useMemo(()=>({instance:o.current}),[]);return React.createElement(ye.Provider,{value:i},e)};ve.displayName="Provider",Object.defineProperty(exports,"AlertDialog",{enumerable:!0,get:function(){return t.AlertDialog}}),Object.defineProperty(exports,"AlertDialogBody",{enumerable:!0,get:function(){return t.ModalBody}}),Object.defineProperty(exports,"AlertDialogCloseButton",{enumerable:!0,get:function(){return t.ModalCloseButton}}),Object.defineProperty(exports,"AlertDialogContent",{enumerable:!0,get:function(){return t.AlertDialogContent}}),Object.defineProperty(exports,"AlertDialogFooter",{enumerable:!0,get:function(){return t.ModalFooter}}),Object.defineProperty(exports,"AlertDialogHeader",{enumerable:!0,get:function(){return t.ModalHeader}}),Object.defineProperty(exports,"AlertDialogOverlay",{enumerable:!0,get:function(){return t.ModalOverlay}}),Object.defineProperty(exports,"Drawer",{enumerable:!0,get:function(){return t.Drawer}}),Object.defineProperty(exports,"DrawerBody",{enumerable:!0,get:function(){return t.ModalBody}}),Object.defineProperty(exports,"DrawerCloseButton",{enumerable:!0,get:function(){return t.ModalCloseButton}}),Object.defineProperty(exports,"DrawerContent",{enumerable:!0,get:function(){return t.DrawerContent}}),Object.defineProperty(exports,"DrawerFooter",{enumerable:!0,get:function(){return t.ModalFooter}}),Object.defineProperty(exports,"DrawerHeader",{enumerable:!0,get:function(){return t.ModalHeader}}),Object.defineProperty(exports,"DrawerOverlay",{enumerable:!0,get:function(){return t.ModalOverlay}}),Object.defineProperty(exports,"Modal",{enumerable:!0,get:function(){return t.Modal}}),Object.defineProperty(exports,"ModalBody",{enumerable:!0,get:function(){return t.ModalBody}}),Object.defineProperty(exports,"ModalContent",{enumerable:!0,get:function(){return t.ModalContent}}),Object.defineProperty(exports,"ModalContextProvider",{enumerable:!0,get:function(){return t.ModalContextProvider}}),Object.defineProperty(exports,"ModalFocusScope",{enumerable:!0,get:function(){return t.ModalFocusScope}}),Object.defineProperty(exports,"ModalOverlay",{enumerable:!0,get:function(){return t.ModalOverlay}}),Object.defineProperty(exports,"TabIndicator",{enumerable:!0,get:function(){return t.TabIndicator}}),Object.defineProperty(exports,"TabPanels",{enumerable:!0,get:function(){return t.TabPanels}}),Object.defineProperty(exports,"Tabs",{enumerable:!0,get:function(){return t.Tabs}}),Object.defineProperty(exports,"TabsDescendantsProvider",{enumerable:!0,get:function(){return t.TabsDescendantsProvider}}),Object.defineProperty(exports,"TabsProvider",{enumerable:!0,get:function(){return t.TabsProvider}}),Object.defineProperty(exports,"useDrawerContext",{enumerable:!0,get:function(){return t.useDrawerContext}}),Object.defineProperty(exports,"useModal",{enumerable:!0,get:function(){return t.useModal}}),Object.defineProperty(exports,"useModalContext",{enumerable:!0,get:function(){return t.useModalContext}}),Object.defineProperty(exports,"useModalStyles",{enumerable:!0,get:function(){return t.useModalStyles}}),Object.defineProperty(exports,"useTab",{enumerable:!0,get:function(){return t.useTab}}),Object.defineProperty(exports,"useTabIndicator",{enumerable:!0,get:function(){return t.useTabIndicator}}),Object.defineProperty(exports,"useTabList",{enumerable:!0,get:function(){return t.useTabList}}),Object.defineProperty(exports,"useTabPanel",{enumerable:!0,get:function(){return t.useTabPanel}}),Object.defineProperty(exports,"useTabPanels",{enumerable:!0,get:function(){return t.useTabPanels}}),Object.defineProperty(exports,"useTabs",{enumerable:!0,get:function(){return t.useTabs}}),Object.defineProperty(exports,"useTabsContext",{enumerable:!0,get:function(){return t.useTabsContext}}),Object.defineProperty(exports,"useTabsDescendant",{enumerable:!0,get:function(){return t.useTabsDescendant}}),Object.defineProperty(exports,"useTabsDescendants",{enumerable:!0,get:function(){return t.useTabsDescendants}}),Object.defineProperty(exports,"useTabsDescendantsContext",{enumerable:!0,get:function(){return t.useTabsDescendantsContext}}),Object.defineProperty(exports,"useTabsStyles",{enumerable:!0,get:function(){return t.useTabsStyles}}),exports.BreadCrumb=x,exports.DataTable=v,exports.Datepicker=E,exports.Field=S,exports.Header=R,exports.InputField=F,exports.MainMenu=I,exports.ModalCloseButton=T,exports.ModalFooter=O,exports.ModalHeader=j,exports.Pagination=V,exports.PaginationDetail=({page:e,limit:n,length:a,scale:o=300,fontSize:i="xs",lineHeight:c=18,...d})=>r.createElement(t.Text,Object.assign({scale:o,fontSize:i,lineHeight:c},d),`${(e-1)*n+1}-${n*e<a?n*e:a} dari ${a} item`),exports.PaginationFilter=W,exports.Provider=ve,exports.ProviderContext=ye,exports.Select=function({styles:e,...t}){const{colorMode:r}=p.useColorMode();return React.createElement(s,Object.assign({},t,{styles:{...Q(r),...e},theme:Z}))},exports.SelectAsync=function({styles:e,...t}){const{colorMode:r}=p.useColorMode();return React.createElement(m.AsyncPaginate,Object.assign({},t,{styles:{...Q(r),...e},theme:Z}))},exports.SelectAsyncCreatable=function({styles:e,...t}){const{colorMode:r}=p.useColorMode();return React.createElement(_,Object.assign({},t,{styles:{...Q(r),...e},theme:Z}))},exports.SelectCreatable=function({styles:e,...t}){const{colorMode:r}=p.useColorMode();return React.createElement(u,Object.assign({},t,{styles:{...Q(r),...e},theme:Z}))},exports.Tab=ee,exports.TabList=te,exports.TabPanel=re,exports.TextareaField=M,exports.Uploader=ne,exports.theme=xe,exports.useInternalUI=()=>{const{instance:e}=r.useContext(ye);return{instance:e}};
|
10
|
+
//# sourceMappingURL=internal-ui.cjs.production.min.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"internal-ui.cjs.production.min.js","sources":["../src/components/breadcrumb/components/BreadCrumb.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/field/components/field.tsx","../src/components/field/components/input-field.tsx","../src/components/field/components/textarea-field.tsx","../src/components/header/components/logo.tsx","../src/components/header/components/profile.tsx","../src/components/header/components/switch-mode.tsx","../src/components/header/components/version.tsx","../src/components/header/utils/formatter.ts","../src/components/header/components/header.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/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/config/theme/foundations/colors.ts","../src/config/theme/foundations/spacing.ts","../src/config/theme/foundations/sizes.ts","../src/config/theme/foundations/typography.ts","../src/config/theme/foundations/radius.ts","../src/components/select/components/utils.ts","../src/components/tabs/components/tab.tsx","../src/components/tabs/components/tab-list.tsx","../src/components/tabs/components/tab-panel.tsx","../src/components/uploader/components/uploader.tsx","../src/components/uploader/constants.ts","../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/radio.ts","../src/config/theme/components/switch.ts","../src/config/theme/components/popover.ts","../src/config/theme/themeConfiguration.ts","../src/config/theme/components/textarea.ts","../src/provider/provider.tsx","../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"],"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 [neutral7, dark5] = useToken('colors', ['neutral.700', '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={500} textStyle=\"heading.3\" color={useColorModeValue('neutral.700', 'white')}>\n {title}\n </Text>\n <Box h=\"22px\" borderLeft=\"1px solid\" borderColor={useColorModeValue('neutral.700', 'white')} />\n <Breadcrumb\n separator={<FiChevronsRight color={useColorModeValue(neutral7, 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('dark.700', '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 * as React from 'react';\nimport { Flex } from '@chakra-ui/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 onClick={header.column.getToggleSortingHandler()}\n cursor={header.column.getCanSort() ? 'pointer' : 'default'}\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 as=\"span\" pl=\"2\" data-test-id={`CT_Container_SortingIcon_${header.id}`}>\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';\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\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 React from 'react';\nimport { Flex, Input, InputGroup, InputRightAddon, Text } from '@chakra-ui/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","/* eslint-disable no-nested-ternary */\nimport { Box, FormControl, FormErrorMessage, FormHelperText, FormLabel } from '@chakra-ui/react';\nimport type { FC, PropsWithChildren, ReactNode } from 'react';\n\nexport interface Props {\n label?: string | ReactNode;\n isError?: boolean;\n error?: string | ReactNode;\n helperText?: 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, error, helperText, isRequired, children } = props;\n\n return (\n <FormControl isInvalid={isError}>\n {label &&\n (typeof label === 'string' ? (\n <FormLabel fontSize=\"field.sm\" requiredIndicator={undefined}>\n {isRequired && (\n <Box as=\"span\" color=\"red.500\" ml={0} mr={1}>\n *\n </Box>\n )}\n {label}\n </FormLabel>\n ) : (\n label\n ))}\n {children}\n {!isError ? (\n helperText && <FormHelperText fontSize=\"field.sm\">{helperText}</FormHelperText>\n ) : typeof error === 'string' ? (\n <FormErrorMessage textStyle=\"field.sm\" fontSize=\"field.sm\" mt={1} marginStart={1}>\n {error}\n </FormErrorMessage>\n ) : (\n error\n )}\n </FormControl>\n );\n};\n\nField.defaultProps = {\n label: '',\n isError: false,\n error: undefined,\n helperText: 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 error,\n helperText,\n ...inputProps\n } = props;\n return (\n <Field label={label} isError={isError} error={error} helperText={helperText} isRequired={isRequired}>\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 { TextareaProps as ChakraTextareaProps } from '@chakra-ui/react';\nimport { Textarea as ChakraTextarea } 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 TextAreaProps extends ChakraTextareaProps, FieldProps {\n addOnLeft?: ReactNode;\n addOnRight?: ReactNode;\n elementLeft?: ReactNode;\n elementRight?: ReactNode;\n}\n\nconst TextareaField = React.forwardRef<HTMLTextAreaElement, TextAreaProps>((props, ref) => {\n const { value, ...inputProps } = props;\n\n return (\n <Field {...inputProps}>\n <ChakraTextarea ref={ref} value={value} {...inputProps} />\n </Field>\n );\n});\n\nTextareaField.defaultProps = {\n addOnLeft: undefined,\n addOnRight: undefined,\n elementLeft: undefined,\n elementRight: undefined,\n};\n\nexport default TextareaField;\n","import { Image, useColorModeValue } from '@chakra-ui/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 * as React from 'react';\nimport { Box, useColorMode } from '@chakra-ui/react';\nimport { FiMoon, FiSun } from 'react-icons/fi';\n\nconst SwitchMode: React.FC = () => {\n const { colorMode, toggleColorMode } = useColorMode();\n return (\n <Box mx={5} onClick={toggleColorMode} cursor=\"pointer\">\n {colorMode === 'light' ? <FiMoon size={20} /> : <FiSun size={20} />}\n </Box>\n );\n};\n\nexport default SwitchMode;\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 <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\nVersion.defaultProps = {\n environment: undefined,\n version: undefined,\n onOpenModalRelease: undefined,\n};\n\nexport default Version;\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","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};\n\nconst Header: React.FC<HeaderProps> = ({ data, onLogout, onOpenModalRelease, ...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 <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};\n\nexport default Header;\n","import type { ButtonProps } from '@chakra-ui/react';\nimport { ModalCloseButton as ChakraModalCloseButton, useColorModeValue } from '@chakra-ui/react';\nimport { 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 { 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 { 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","/* 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';\n\nexport type NavigationProps = BoxProps & {\n navigations?: NavigationLink[];\n activePath: string;\n as?: As;\n};\n\nconst Navigation: React.FC<NavigationProps> = ({ navigations, activePath, as, ...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={navigation.icon} 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, icon }) => {\n const link = navHost ? `${navHost}${navLink}` : navLink;\n const isActiveSub = activePath === navLink;\n return (\n <Link\n as={as}\n key={title}\n display=\"flex\"\n position=\"relative\"\n alignItems=\"center\"\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 px={6}\n py={4}\n href={link}\n color={isActiveSub ? 'primary.500' : 'inherit'}\n css={css`\n border-spacing: 4px;\n `}\n >\n <Icon as={icon} 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 </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};\n\nexport default Navigation;\n","import type { ButtonProps } from '@chakra-ui/react';\nimport { Button, forwardRef, useColorModeValue } from '@chakra-ui/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","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","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","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","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 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 fontSizes = {\r\n heading: {\r\n 1: '1.75rem', // 28px\r\n 2: '1.5rem', // 24px\r\n 3: '1.25rem', // 20px\r\n 4: '1.125rem', // 18px\r\n 5: '1rem', // 16px\r\n 6: '0.875rem', // 14px\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: 'bold',\r\n lineHeight: '3.5rem',\r\n letterSpacing: '0',\r\n },\r\n 2: {\r\n fontSize: fontSizes.heading[2],\r\n fontWeight: 'bold',\r\n lineHeight: '2.875rem',\r\n letterSpacing: '0',\r\n },\r\n 3: {\r\n fontSize: fontSizes.heading[3],\r\n fontWeight: 'bold',\r\n lineHeight: '2.5rem',\r\n letterSpacing: '0',\r\n },\r\n 4: {\r\n fontSize: fontSizes.heading[4],\r\n fontWeight: 'bold',\r\n lineHeight: '2rem',\r\n letterSpacing: '0',\r\n },\r\n 5: {\r\n fontSize: fontSizes.heading[5],\r\n fontWeight: 'bold',\r\n lineHeight: '1.5rem',\r\n letterSpacing: '0',\r\n },\r\n 6: {\r\n fontSize: fontSizes.heading[6],\r\n fontWeight: 'bold',\r\n lineHeight: '1.375rem',\r\n letterSpacing: '0',\r\n },\r\n};\r\n\r\nconst text = {\r\n xl: {\r\n fontSize: fontSizes.text.xl,\r\n lineHeight: lineHeights[28],\r\n letterSpacing: '0',\r\n },\r\n lg: {\r\n fontSize: fontSizes.text.lg,\r\n lineHeight: lineHeights[24],\r\n letterSpacing: '0',\r\n },\r\n md: {\r\n fontSize: fontSizes.text.md,\r\n lineHeight: lineHeights[22],\r\n letterSpacing: '0',\r\n },\r\n sm: {\r\n fontSize: fontSizes.text.sm,\r\n lineHeight: lineHeights[18],\r\n letterSpacing: '0',\r\n },\r\n xs: {\r\n fontSize: fontSizes.text.xs,\r\n lineHeight: lineHeights[14],\r\n letterSpacing: '0',\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: '0',\r\n fontWeight: fontWeights.normal,\r\n },\r\n md: {\r\n fontSize: fontSizes.button.md,\r\n lineHeight: lineHeights[22],\r\n letterSpacing: '0',\r\n fontWeight: fontWeights.normal,\r\n },\r\n sm: {\r\n fontSize: fontSizes.button.sm,\r\n lineHeight: lineHeights[14],\r\n letterSpacing: '0',\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: '0',\r\n fontWeight: fontWeights.normal,\r\n },\r\n md: {\r\n fontSize: fontSizes.field.md,\r\n lineHeight: lineHeights[22],\r\n letterSpacing: '0',\r\n fontWeight: fontWeights.normal,\r\n },\r\n sm: {\r\n fontSize: fontSizes.field.sm,\r\n lineHeight: lineHeights[18],\r\n letterSpacing: '0',\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, lineHeights, textStyles };\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","/* 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): StylesConfig<OptionType, IsMulti, Group> | undefined {\n return {\n control: (base: CSSObjectWithLabel) =>\n colorMode === 'dark'\n ? {\n ...base,\n ...selectStyle,\n background: 'transparent',\n color: colors.primary['300'],\n borderColor: colors.secondary['500'],\n }\n : { ...base, ...selectStyle },\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 : { ...base, ...selectStyle, zIndex: 5 },\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","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';\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';\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","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","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 { 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 as parts } from '@chakra-ui/anatomy';\r\nimport { createMultiStyleConfigHelpers, cssVar } from '@chakra-ui/styled-system';\r\nimport type { ComponentStyleConfig } from '@chakra-ui/theme';\r\n\r\nconst { definePartsStyle } = createMultiStyleConfigHelpers(parts.keys);\r\n\r\nconst $size = cssVar('checkbox-size');\r\n\r\n// You can also use the more specific type for\r\n// a single part component: ComponentSingleStyleConfig\r\nconst Checkbox: ComponentStyleConfig = {\r\n // The styles all checkbox have in common\r\n baseStyle: {\r\n borderRadius: 'sm',\r\n },\r\n // Two sizes: sm and md\r\n sizes: {\r\n sm: definePartsStyle({\r\n control: {\r\n [$size.variable]: 'sizes.4',\r\n borderRadius: 'md',\r\n },\r\n label: { fontSize: 'text.sm' },\r\n icon: { fontSize: '3xs' },\r\n }),\r\n md: definePartsStyle({\r\n control: {\r\n [$size.variable]: 'sizes.5',\r\n borderRadius: 'md',\r\n },\r\n label: { fontSize: 'text.md' },\r\n icon: { fontSize: '2xs' },\r\n }),\r\n lg: definePartsStyle({\r\n control: {\r\n [$size.variable]: 'sizes.6',\r\n borderRadius: 'md',\r\n },\r\n label: { fontSize: 'text.lg' },\r\n icon: { fontSize: 'xs' },\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 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 { 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 { 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 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 },\n },\n },\n config,\n});\n\ntype Theme = typeof theme;\n\nexport type { Theme };\nexport { theme };\n","import type { ComponentStyleConfig } from '@chakra-ui/theme';\n\nconst Textarea: ComponentStyleConfig = {\n baseStyle: {\n _hover: {\n borderColor: 'primary.500',\n boxShadow: 'none',\n outline: 'none',\n },\n _focus: {\n borderColor: 'primary.500',\n boxShadow: 'none',\n outline: 'none',\n },\n _focusVisible: {\n borderColor: 'primary.500',\n boxShadow: 'none',\n outline: 'none',\n },\n _focusWithin: {\n borderColor: 'primary.500',\n boxShadow: 'none',\n outline: 'none',\n },\n },\n};\n\nexport default Textarea;\n","import axios from 'axios';\nimport type { FC } from 'react';\nimport { createContext, useContext, useEffect, useMemo, useRef } from 'react';\n\nimport type { ProviderContextObject, ProviderProps } from './types';\n\nexport const ProviderContext = createContext<ProviderContextObject>({\n instance: undefined,\n});\n\nexport const useInternalUI = (): ProviderContextObject => {\n const { instance } = useContext(ProviderContext);\n return { instance };\n};\n\nconst Provider: FC<ProviderProps> = ({ children, config, requestInterceptors, responseInterceptors }) => {\n const instanceRef = useRef(axios.create(config));\n\n useEffect(() => {\n requestInterceptors?.forEach(interceptor => {\n instanceRef.current.interceptors.request.use(interceptor);\n });\n responseInterceptors?.forEach(interceptor => {\n instanceRef.current.interceptors.response.use(interceptor);\n });\n }, [requestInterceptors, responseInterceptors]);\n\n const provider = useMemo(() => ({ instance: instanceRef.current }), []);\n\n return <ProviderContext.Provider value={provider}>{children}</ProviderContext.Provider>;\n};\n\nProvider.displayName = 'Provider';\n\nexport default Provider;\n","import { useColorMode } from '@chakra-ui/system';\nimport type { GroupBase, Props as ReactSelectProps } from 'react-select';\nimport ReactSelect from 'react-select';\n\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>;\n\nfunction Select<OptionType, Group extends GroupBase<OptionType>, IsMulti extends boolean = false>({\n styles,\n ...rest\n}: SelectProps<OptionType, IsMulti, Group>) {\n const { colorMode } = useColorMode();\n\n return (\n <ReactSelect<OptionType, IsMulti, Group>\n {...(rest as ReactSelectProps<OptionType, IsMulti, Group>)}\n styles={{ ...selectStyles(colorMode), ...styles }}\n theme={themeSelect}\n />\n );\n}\n\nexport default Select;\n","import { useColorMode } from '@chakra-ui/system';\nimport type { GroupBase } from 'react-select';\nimport type { AsyncPaginateProps } from 'react-select-async-paginate';\nimport { AsyncPaginate } from 'react-select-async-paginate';\n\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>;\n\nfunction SelectAsync<OptionType, Group extends GroupBase<OptionType>, Additional, IsMulti extends boolean = false>({\n styles,\n ...rest\n}: SelectAsyncProps<OptionType, Group, Additional, IsMulti>) {\n const { colorMode } = useColorMode();\n\n return (\n <AsyncPaginate<OptionType, Group, Additional, IsMulti>\n {...(rest as AsyncPaginateProps<OptionType, Group, Additional, IsMulti>)}\n styles={{ ...selectStyles<OptionType, IsMulti, Group>(colorMode), ...styles }}\n theme={themeSelect}\n />\n );\n}\n\nexport default SelectAsync;\n","import { useColorMode } from '@chakra-ui/system';\nimport type { GroupBase } from 'react-select';\nimport type { AsyncCreatableProps } from 'react-select/async-creatable';\nimport ReactSelectAsyncCreatable from 'react-select/async-creatable';\n\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>;\n\nexport default function SelectAsyncCreatable<\n Option = unknown,\n IsMulti extends boolean = false,\n Group extends GroupBase<Option> = GroupBase<Option>\n>({ styles, ...rest }: SelectAsyncCreatableProps<Option, IsMulti, Group>) {\n const { colorMode } = useColorMode();\n\n return (\n <ReactSelectAsyncCreatable\n {...(rest as SelectAsyncCreatableProps<Option, IsMulti, Group>)}\n styles={{ ...selectStyles<Option, IsMulti, Group>(colorMode), ...styles }}\n theme={themeSelect}\n />\n );\n}\n","import { useColorMode } from '@chakra-ui/system';\nimport type { GroupBase } from 'react-select';\nimport type { CreatableProps } from 'react-select/creatable';\nimport ReactSelectCreatable from 'react-select/creatable';\n\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>;\n\nexport default function SelectCreatable<\n Option = unknown,\n IsMulti extends boolean = false,\n Group extends GroupBase<Option> = GroupBase<Option>\n>({ styles, ...rest }: SelectCreatableProps<Option, IsMulti, Group>) {\n const { colorMode } = useColorMode();\n\n return (\n <ReactSelectCreatable\n {...(rest as SelectCreatableProps<Option, IsMulti, Group>)}\n styles={{ ...selectStyles<Option, IsMulti, Group>(colorMode), ...styles }}\n theme={themeSelect}\n />\n );\n}\n"],"names":["BreadCrumb","props","title","children","parents","className","disableHome","spacing","neutral7","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","IndeterminateCheckbox","indeterminate","rest","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","useReactTable","data","getCoreRowModel","getSortedRowModel","manualPagination","sortDescFirst","state","onSortingChange","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","column","getToggleSortingHandler","getCanSort","lineHeight","flexRender","columnDef","getContext","as","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","useEffect","flexDir","p","pt","mb","InputGroup","Input","e","_e$target","target","InputRightAddon","displayName","Datepicker","error","isError","helperText","isRequired","withTime","onClear","showMonth","shortMonth","selected","Date","dateFormat","_props$dateFormat","component","ReactDatePicker","customInput","autoComplete","showPopperArrow","calendarClassName","classnames","inline","showMonthDropdown","useShortMonthInDropdown","timeInputLabel","showTimeInput","customTimeInput","FormControl","FormLabel","InputRightElement","FiCalendar","FiX","FormErrorMessage","FormHelperText","selectsRange","Field","isInvalid","requiredIndicator","ml","mr","mt","marginStart","InputField","forwardRef","addOnLeft","addOnRight","elementLeft","elementRight","inputProps","InputLeftAddon","InputLeftElement","ChakraInput","TextareaField","ChakraTextarea","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","Version","version","environment","onOpenModalRelease","Badge","background","env","environmentName","Header","boxShadow","ModalCloseButton","ChakraModalCloseButton","top","right","ModalFooter","ChakraModalFooter","borderBottomRadius","ModalHeader","ChakraModalHeader","borderTopRadius","Navigation","navigations","activePath","navigation","isActive","startsWith","navLink","activeBg","trigger","backgroundColor","Icon","icon","whiteSpace","Portal","border","navHost","isActiveSub","Link","position","transition","_first","_last","width","PaginationButton","btnBg","btnColor","btnNotActiveBg","btnNotActiveColor","Button","_disabled","pointerEvents","PaginationButtonTrigger","isDisabled","visuallyHidden","VisuallyHidden","Pagination","total","onSelect","btnColorDisabled","disabledPrevious","previousButtonColor","disabledNext","nextButtonColor","handleSelectPage","page","ArrowLeftIcon","ChevronLeftIcon","generatePages","pageButtons","startPage","endPage","Math","max","min","floor","maxButtons","push","scale","ChevronRightIcon","ArrowRightIcon","PaginationFilter","limit","items","setValue","flexDirection","Select","textAlign","outline","FiChevronDown","_focusVisible","numberValue","Number","item","colors","transparent","black","high","medium","low","white","neutral","50","100","200","300","400","500","600","700","800","900","primary","secondary","success","danger","warning","info","dark","mirage","ebony-clay","bright-gray","dove-gray","theme","space","4.5","9.5","18","22","26","30","sizes","lineHeights","normal","none","shorter","short","base","tall","34","32","28","24","20","16","14","12","fontSizes","heading","1","2","3","4","5","6","text","xl","lg","md","sm","xs","button","field","textStyles","letterSpacing","full","body","styleMd","selectStyle","selectStyles","control","option","isSelected","menu","singleValue","input","dropdownIndicator","indicatorSeparator","themeSelect","primary25","primary50","primary75","Tab","tabProps","useTab","useMultiStyleConfig","_selected","transform","_focus","__css","tab","leftAddon","_props$leftAddon","call","_props$rightAddon","TabList","ChakraTabList","borderBottom","TabPanel","ChakraTabPanel","Uploader","onHandleUploadFile","onHandleRejections","accept","multiple","maxFiles","renderError","validator","selectedFirstFile","setSelectedFirstFile","setIsSelected","onDrop","acceptedFiles","length","getRootProps","getInputProps","isDragActive","fileRejections","useDropzone","Stack","direction","Heading","baseStyle","opacity","_active","_loading","variants","solid","borderWidth","borderStyle","mode","outline-danger","ghost","variant","orientation","colorScheme","definePartsStyle","createMultiStyleConfigHelpers","parts","keys","$size","cssVar","Checkbox","[object Object]","variable","defineStyleConfig","defineStyle","marginEnd","defineMultiStyleConfig","minWidth","appearance","transitionProperty","transitionDuration","_placeholder","addon","focusBorderColor","fc","errorBorderColor","ec","readOnlyBorderColor","rc","getDefaults","_readOnly","getColor","_invalid","unstyled","Radio","_checked","_before","switchAnatomy","Switch","container","thumb","track","extendTheme","foundations","components","popper","_focusWithin","global","*::-webkit-scrollbar-thumb","config","initialColorMode","useSystemColorMode","ProviderContext","createContext","instance","Provider","requestInterceptors","responseInterceptors","instanceRef","useRef","axios","create","forEach","interceptor","interceptors","request","use","response","provider","useMemo","PaginationDetail","ReactSelect","AsyncPaginate","ReactSelectAsyncCreatable","ReactSelectCreatable","useInternalUI","useContext"],"mappings":"gtBAqBA,MAAMA,EAAwCC,IAC5C,MAAMC,MAAEA,EAAKC,SAAEA,EAAQC,QAAEA,EAAOC,UAAEA,EAASC,YAAEA,EAAWC,QAAEA,EAAU,GAAMN,GACnEO,EAAUC,GAASC,WAAS,SAAU,CAAC,cAAe,aAC7D,OACEC,gBAACC,sBACc,qCACbP,UAAWA,EACXQ,QAAQ,OACRC,eAAe,gBACfC,WAAW,SACXC,SAAU,GAEVL,gBAACC,OAAIC,QAAQ,OAAOE,WAAW,UAC7BJ,gBAACM,QAAKC,GAAI,EAAGC,WAAY,IAAKC,UAAU,YAAYC,MAAOC,oBAAkB,cAAe,UACzFpB,GAEHS,gBAACC,OAAIW,EAAE,OAAOC,WAAW,YAAYC,YAAaH,oBAAkB,cAAe,WACnFX,gBAACe,cACCC,UAAWhB,gBAACiB,mBAAgBP,MAAOC,oBAAkBd,EAAUC,GAAQoB,KAAM,KAC7EC,GAAI,IACJZ,GAAI,EACJX,QAASA,EACTwB,GAAI,CAAEC,GAAI,CAAEnB,QAAS,OAAQE,WAAY,WACzCF,QAAQ,OACRE,WAAW,SACXV,UAAU,sBAEV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