{"version":3,"sources":["redux/actions/Guest.js","redux/actions/Substation.js","redux/actions/Inspection.js","redux/actions/PointInspection.js","redux/actions/Stats.js","services/substation/index.js","services/report/index.js","services/guests/index.js","configs/AppConfig.js","configs/EnvironmentConfig.js","services/user/index.js","services/inspection/index.js","services/point-inspection/index.js","redux/actions/Attendance.js","history.js","helper/FetchInterceptor.js","constants/ThemeConstant.js","redux/reducers/Auth.js","redux/reducers/Guest.js","redux/reducers/Profile.js","redux/reducers/Substation.js","redux/reducers/Attendance.js","redux/reducers/Inspection.js","redux/reducers/PointInspection.js","redux/reducers/Theme.js","redux/reducers/User.js","redux/reducers/Stats.js","redux/reducers/index.js","redux/sagas/Auth.js","redux/sagas/Guest.js","redux/sagas/User.js","redux/sagas/Substation.js","redux/sagas/Attendance.js","redux/sagas/Inspection.js","redux/sagas/PointInspection.js","redux/sagas/Stats.js","redux/sagas/index.js","redux/store/index.js","components/util-components/IntlMessage/index.js","components/util-components/Icon/index.js","configs/NavigationConfig.js","components/layout-components/MenuContent.js","components/layout-components/SideNav.js","components/layout-components/TopNav.js","components/shared-components/Loading/index.js","components/layout-components/Logo.js","components/layout-components/MobileNav.js","components/layout-components/NavProfile.js","components/layout-components/HeaderNav.js","components/layout-components/AppBreadcrumb.js","components/layout-components/PageHeader.js","components/layout-components/Footer.js","pages/app-views/index.js","layouts/app-layout/index.js","pages/auth-views/index.js","layouts/auth-layout/index.js","lang/entries/en_US.js","lang/entries/zh_CN.js","lang/entries/fr_FR.js","lang/index.js","lang/entries/ja_JP.js","hooks/useBodyClass.js","assets/image/logo-pln.png","assets/image/logo-smp.png","pages/app-views/guest/print.js","pages/app-views/report/guest/print.js","pages/app-views/report/inspection/print.js","pages/app-views/privacy-policies/index.js","pages/index.js","App.js","serviceWorker.js","index.js","redux/constants/Auth.js","redux/constants/Theme.js","redux/constants/User.js","services/auth/index.js","services/attendance/index.js","services/stats/index.js","utils/index.js","redux/constants/Profile.js","redux/constants/Guest.js","redux/constants/Substation.js","redux/constants/Attendance.js","redux/constants/Inspection.js","redux/constants/PointInspection.js","redux/constants/Stats.js","components/shared-components/Flex/index.js","redux/actions/Theme.js","redux/actions/User.js","redux/actions/Auth.js"],"names":["fetchGuest","params","type","FETCH_GUEST","fetchGuestSuccess","data","pagination","FETCH_GUEST_SUCCESS","fetchGuestError","error","FETCH_GUEST_ERROR","fetchSubstation","FETCH_SUBSTATION","fetchSubstationSuccess","FETCH_SUBSTATION_SUCCESS","fetchSubstationError","FETCH_SUBSTATION_ERROR","fetchInspection","FETCH_INSPECTION","fetchInspectionSuccess","FETCH_INSPECTION_SUCCESS","fetchInspectionError","FETCH_INSPECTION_ERROR","fetchPointInspection","FETCH_POINT_INSPECTION","fetchPointInspectionSuccess","FETCH_POINT_INSPECTION_SUCCESS","fetchPointInspectionError","FETCH_POINT_INSPECTION_ERROR","fetchStatsSuccess","overview","FETCH_STATS_SUCCESS","fetchStatsError","FETCH_STATS_ERROR","services","fetch","url","method","id","APP_NAME","API_BASE_URL","API_ENDPOINT_URL","process","APP_PREFIX_PATH","AUTH_PREFIX_PATH","THEME_CONFIG","navCollapsed","sideNavTheme","SIDE_NAV_LIGHT","locale","navType","NAV_TYPE_SIDE","topNavColor","headerNavColor","mobileNav","currentTheme","direction","DIR_LTR","fetchAttendance","FETCH_ATTENDANCE","fetchAttendanceSuccess","FETCH_ATTENDANCE_SUCCESS","fetchAttendanceError","FETCH_ATTENDANCE_ERROR","history","service","axios","create","baseURL","timeout","interceptors","request","use","config","jwtToken","localStorage","getItem","AUTH_TOKEN","headers","notification","message","Promise","reject","response","a","notificationParam","status","profile","PROFILE","refreshToken","REFRESH_TOKEN","email","JSON","parse","post","refresh_token","setItem","token","window","location","reload","console","log","ROW_GUTTER","SIDE_NAV_WIDTH","SIDE_NAV_COLLAPSED_WIDTH","SIDE_NAV_DARK","NAV_TYPE_TOP","DIR_RTL","initState","loading","showMessage","redirect","auth","state","action","AUTHENTICATED","SHOW_AUTH_MESSAGE","HIDE_AUTH_MESSAGE","SIGNOUT_SUCCESS","SHOW_LOADING","page","limit","total","guest","ADD_PROFILE","substation","attendance","inspection","pointInspection","initTheme","theme","TOGGLE_COLLAPSED_NAV","SIDE_NAV_STYLE_CHANGE","CHANGE_LOCALE","NAV_TYPE_CHANGE","TOP_NAV_COLOR_CHANGE","HEADER_NAV_COLOR_CHANGE","TOGGLE_MOBILE_NAV","SWITCH_THEME","DIRECTION_CHANGE","FETCH_USER","FETCH_USER_SUCCESS","FETCH_USER_ERROR","REGISTER_USER","REGISTER_USER_SUCCESS","REGISTER_USER_ERROR","RESET_USER","title","value","subtitle","stats","FETCH_STATS","reducers","combineReducers","Theme","Auth","Profile","user","User","Substation","Attendance","Inspection","PointInspection","Stats","signInWithEmail","signOut","rootSaga","takeEvery","SIGNIN","payload","call","authServices","login","stringify","put","authenticated","href","showAuthMessage","SIGNOUT","logout","removeItem","signOutSuccess","all","fork","getGuestList","guestServices","getGuest","getUserList","registerUser","userServices","getUsers","fetchUserSuccess","users","fetchUserError","addUsers","registerUserSuccess","success","registerUserError","getSubstationList","substationService","getSubstation","substations","getAttendanceList","attendanceService","getAttendance","attendances","getInspectionList","inspectionService","getInspection","getPointInspectionList","pointInspectionService","getPointInspection","getStats","statsService","total_point_inspection","total_substation","total_guest","total_security","getState","Guest","sagaMiddleware","createSagaMiddleware","middlewares","store","preloadedState","composeEnhancers","__REDUX_DEVTOOLS_EXTENSION_COMPOSE__","compose","createStore","applyMiddleware","run","configureStore","injectIntl","props","withRef","Icon","this","className","React","createElement","Component","dashBoardNavTree","key","path","icon","HomeOutlined","breadcrumb","submenu","TeamOutlined","SolutionOutlined","SecurityScanOutlined","AimOutlined","FileProtectOutlined","PartitionOutlined","UserOutlined","navigationConfig","SubMenu","Menu","useBreakpoint","Grid","setLocale","isLocaleOn","localeKey","toString","setDefaultOpen","keyList","keyString","arr","split","index","length","elm","push","SideNavContent","routeInfo","hideGroupTitle","localization","onMobileNavToggle","isMobile","utils","getBreakPoint","includes","closeMobileNav","mode","style","height","borderRight","defaultSelectedKeys","defaultOpenKeys","map","menu","ItemGroup","subMenuFirst","subMenuSecond","Item","onClick","to","TopNavContent","backgroundColor","popupClassName","connect","Sider","Layout","width","collapsed","autoHide","getColorContrast","LoadingOutlined","fontSize","spin","Loading","align","cover","indicator","defaultProps","getLogoWidthGutter","isNavTop","mobileLogo","getLogo","getLogoDisplay","src","alt","onClose","placement","closable","visible","bodyStyle","padding","Flex","flexDirection","justifyContent","alignItems","ArrowLeftOutlined","menuItem","NavProfile","fullname","role","useSelector","profileImg","profileMenu","size","el","i","e","user_id","LogoutOutlined","overlay","trigger","Header","toggleCollapsedNav","useState","setSearchActive","navMode","useEffect","logoType","RightCircleOutlined","LeftCircleOutlined","breadcrumbData","forEach","assignBreadcrumb","obj","BreadcrumbRoute","withRouter","pathSnippets","pathname","filter","buildBreadcrumb","_","slice","join","AppBreadcrumb","PageHeader","display","Footer","Date","getFullYear","AppViews","fallback","component","lazy","from","memo","Content","AppLayout","currentRouteInfo","getRouteInfo","isNavSide","getLayoutGutter","useThemeSwitcher","paddingLeft","paddingRight","AuthLayout","AuthViews","EnLang","antd","antdEnUS","messages","enMsg","ZhLang","antdZhCn","zhMsg","FrLang","antdFrFR","frMsg","AppLocale","en","enLang","zh","zhLang","fr","frLang","ja","antdJaJP","jaMsg","addBodyClass","document","body","classList","add","removeBodyClass","remove","moment","ContainerReportInspection","styled","div","WrapperReport","WrapperHeaderReport","WrapperLeadReport","WrapperBodyReport","TableRow","tr","TableCol","td","noBorder","noBorderTop","noBorderLeft","textAlign","fontWeight","leftMiddle","middle","Logo","img","defaultDetail","id_substation","name","description","appointment","plates","meet","institution","clock_in","clock_out","created_at","updated_at","ReportGuest","setData","security","dataOfficial","setDataOfficial","useLocation","idGuest","URLSearchParams","search","get","isLoading","setLoading","handleFetchReport","getGuestDetail","official","css","head","getElementsByTagName","media","styleSheet","cssText","appendChild","createTextNode","print","lg","LogoPLN","LogoSMP","format","toUpperCase","noBorderRight","optionsTime","hour","minute","PrintGuest","queryParams","startDate","endDate","list","setList","dataSubstation","setDataSubstation","printDocument","convertPeriode","useCallback","date","ServicesGuest","getReportGuest","dataGuest","ServicesSub","detailSubstation","fetchReport","start_date","end_date","renderData","item","toLocaleTimeString","paddingTop","WrapperFooterReport","PrintInspection","dataInspection","setDataInspection","dataUser","setDataUser","getReportInspection","renderInspectionList","useMemo","createdAt","condition","danru","Container","PrivacyPolicies","RouteInterceptor","children","isAuthenticated","rest","render","currentAppLocale","Array","exact","LetterOfMeet","themes","dark","light","App","themeMap","defaultTheme","insertionPoint","Views","Boolean","hostname","match","ReactDOM","getElementById","navigator","serviceWorker","ready","then","registration","unregister","Utils","initials","shift","pop","navTree","route","p","hasOwnProperty","hex","cutHex","h","charAt","substring","parseInt","hexToG","hexToB","color","percent","R","G","B","RR","GG","BB","rgba","trim","str","replace","inParts","indexOf","r","g","b","parseFloat","toFixed","outParts","Math","round","part","number","positive","negative","toLowerCase","input","searchText","screens","breakpoints","word","string","mobileFlex","fetchUser","signIn","hideAuthMessage","showLoading"],"mappings":"4HAAA,kHAMaA,EAAa,SAACC,GACzB,MAAO,CACLC,KAAMC,IACNF,WAISG,EAAoB,SAACC,EAAMC,GACtC,MAAO,CACLJ,KAAMK,IACNF,OACAC,eAISE,EAAkB,SAACC,GAC9B,MAAO,CACLP,KAAMQ,IACND,W,iCCxBJ,kHAMaE,EAAkB,SAACV,GAC9B,MAAO,CACLC,KAAMU,IACNX,WAISY,EAAyB,SAACR,EAAMC,GAC3C,MAAO,CACLJ,KAAMY,IACNT,OACAC,eAISS,EAAuB,SAACN,GACnC,MAAO,CACLP,KAAMc,IACNP,W,iCCxBJ,kHAMaQ,EAAkB,SAAChB,GAC9B,MAAO,CACLC,KAAMgB,IACNjB,WAISkB,EAAyB,SAACd,EAAMC,GAC3C,MAAO,CACLJ,KAAMkB,IACNf,OACAC,eAISe,EAAuB,SAACZ,GACnC,MAAO,CACLP,KAAMoB,IACNb,W,iCCxBJ,kHAMac,E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EAAlBgG,cAErE,OACC,qBAAK5F,UAAS,UAFiB6W,EAAa,SAAW,YAEzC,YAA4B7W,EAA5B,YAAyC4F,EAAe,QAAUA,EAAgB,GAAlF,YAAwFE,EAAY,eAAiBA,EAAY,GAAjI,YAAuID,EAAgB,mBAAqBA,EAAgB,IAA1M,SACEoM,KAaJtM,EAAKd,aAAe,CACnBgS,YAAY,EACZjR,cAAe,MACf5F,UAAW,IAIG2F,O,gCC5Bf,gFAYO,SAASqB,EAAmBhT,GACjC,MAAO,CACL5C,KAAMkI,IACNtF,gBAuCG,SAASwO,EAAkBhO,GAChC,MAAO,CACLpD,KAAMwI,IACNpF,e,gCCzDJ,sLAUasiB,EAAY,SAAC3lB,GACxB,MAAO,CACLC,KAAM2I,IACN5I,WAIS+L,EAAmB,SAAC3L,EAAMC,GACrC,MAAO,CACLJ,KAAM4I,IACNzI,OACAC,eAIS4L,EAAiB,SAACzL,GAC7B,MAAO,CACLP,KAAM6I,IACNtI,UAWS2L,EAAsB,WACjC,MAAO,CACLlM,KAAM+I,MAIGqD,EAAoB,SAAC7L,GAChC,MAAO,CACLP,KAAMgJ,IACNzI,W,gCChDJ,0PAUaolB,EAAS,SAAC/b,GACrB,MAAO,CACL5J,KAAMuK,IACNC,QAASZ,IAIAkB,EAAgB,SAAC/E,EAAOF,GACnC,MAAO,CACL7F,KAAMkH,IACNnB,QACAF,kBAISuE,EAAU,SAACR,GACtB,MAAO,CACL5J,KAAMiL,IACNT,QAASZ,IAIAwB,EAAiB,WAC5B,MAAO,CACLpL,KAAMqH,MAIG2D,EAAkB,SAAClG,GAC9B,MAAO,CACL9E,KAAMmH,IACNrC,YAIS8gB,EAAkB,WAC7B,MAAO,CACL5lB,KAAMoH,MAIGye,EAAc,WACzB,MAAO,CACL7lB,KAAMsH,Q","file":"static/js/main.2bbd6f2e.chunk.js","sourcesContent":["import {\n FETCH_GUEST,\n FETCH_GUEST_ERROR,\n FETCH_GUEST_SUCCESS,\n} from \"redux/constants/Guest\";\n\nexport const fetchGuest = (params) => {\n return {\n type: FETCH_GUEST,\n params,\n };\n};\n\nexport const fetchGuestSuccess = (data, pagination) => {\n return {\n type: FETCH_GUEST_SUCCESS,\n data,\n pagination,\n };\n};\n\nexport const fetchGuestError = (error) => {\n return {\n type: FETCH_GUEST_ERROR,\n error,\n };\n};\n","import {\n FETCH_SUBSTATION,\n FETCH_SUBSTATION_ERROR,\n FETCH_SUBSTATION_SUCCESS,\n} from \"redux/constants/Substation\";\n\nexport const fetchSubstation = (params) => {\n return {\n type: FETCH_SUBSTATION,\n params,\n };\n};\n\nexport const fetchSubstationSuccess = (data, pagination) => {\n return {\n type: FETCH_SUBSTATION_SUCCESS,\n data,\n pagination,\n };\n};\n\nexport const fetchSubstationError = (error) => {\n return {\n type: FETCH_SUBSTATION_ERROR,\n error,\n };\n};\n","import {\n FETCH_INSPECTION,\n FETCH_INSPECTION_ERROR,\n FETCH_INSPECTION_SUCCESS,\n} from \"redux/constants/Inspection\";\n\nexport const fetchInspection = (params) => {\n return {\n type: FETCH_INSPECTION,\n params,\n };\n};\n\nexport const fetchInspectionSuccess = (data, pagination) => {\n return {\n type: FETCH_INSPECTION_SUCCESS,\n data,\n pagination,\n };\n};\n\nexport const fetchInspectionError = (error) => {\n return {\n type: FETCH_INSPECTION_ERROR,\n error,\n };\n};\n","import {\n FETCH_POINT_INSPECTION,\n FETCH_POINT_INSPECTION_ERROR,\n FETCH_POINT_INSPECTION_SUCCESS,\n} from \"redux/constants/PointInspection\";\n\nexport const fetchPointInspection = (params) => {\n return {\n type: FETCH_POINT_INSPECTION,\n params,\n };\n};\n\nexport const fetchPointInspectionSuccess = (data, pagination) => {\n return {\n type: FETCH_POINT_INSPECTION_SUCCESS,\n data,\n pagination,\n };\n};\n\nexport const fetchPointInspectionError = (error) => {\n return {\n type: FETCH_POINT_INSPECTION_ERROR,\n error,\n };\n};\n","import {\n FETCH_STATS,\n FETCH_STATS_ERROR,\n FETCH_STATS_SUCCESS,\n} from \"redux/constants/Stats\";\n\nexport const fetchStats = () => {\n return {\n type: FETCH_STATS,\n };\n};\n\nexport const fetchStatsSuccess = (data, overview) => {\n return {\n type: FETCH_STATS_SUCCESS,\n data,\n overview,\n };\n};\n\nexport const fetchStatsError = (error) => {\n return {\n type: FETCH_STATS_ERROR,\n error,\n };\n};\n","import fetch from \"helper/FetchInterceptor\";\n\nconst services = {};\n\nservices.getSubstation = function (params) {\n return fetch({\n url: \"/substation\",\n method: \"get\",\n params,\n });\n};\n\nservices.detailSubstation = function (id) {\n return fetch({\n url: `/substation/${id}`,\n method: \"get\",\n });\n};\n\nservices.addSubstation = function (data) {\n return fetch({\n url: \"/substation\",\n method: \"post\",\n data,\n });\n};\n\nservices.updateSubstation = function (id, data) {\n return fetch({\n url: `/substation/${id}`,\n method: \"put\",\n data,\n });\n};\n\nservices.deleteSubstation = function (id) {\n return fetch({\n url: `/substation/${id}`,\n method: \"delete\",\n });\n};\n\nexport default services;\n","import fetch from \"helper/FetchInterceptor\";\n\nconst services = {};\n\nservices.getReportGuest = function (params) {\n return fetch({\n url: \"/report/guest\",\n method: \"get\",\n params,\n });\n};\n\nservices.getCounterGuest = function (params) {\n return fetch({\n url: \"/report/count-guest\",\n method: \"get\",\n params,\n });\n};\n\nservices.getCounterInspection = function (params) {\n return fetch({\n url: \"/report/count-inspection\",\n method: \"get\",\n params,\n });\n};\n\nservices.getReportInspection = function (params) {\n return fetch({\n url: \"/report/inspection\",\n method: \"get\",\n params,\n });\n};\n\nexport default services;\n","import fetch from \"helper/FetchInterceptor\";\n\nconst services = {};\n\nservices.getGuest = function (params) {\n return fetch({\n url: \"/guest\",\n method: \"get\",\n params,\n });\n};\n\nservices.getGuestDetail = function (id) {\n return fetch({\n url: `/guest/detail/${id}`,\n method: \"get\",\n });\n};\n\nexport default services;\n","import { SIDE_NAV_LIGHT, NAV_TYPE_SIDE, DIR_LTR } from 'constants/ThemeConstant';\r\nimport { env } from './EnvironmentConfig'\r\n\r\nexport const APP_NAME = 'ASEC Dashboard';\r\nexport const API_BASE_URL = env.API_ENDPOINT_URL\r\nexport const APP_PREFIX_PATH = '/app';\r\nexport const AUTH_PREFIX_PATH = '/auth';\r\n\r\nexport const THEME_CONFIG = {\r\n\tnavCollapsed: false,\r\n\tsideNavTheme: SIDE_NAV_LIGHT,\r\n\tlocale: 'en',\r\n\tnavType: NAV_TYPE_SIDE,\r\n\ttopNavColor: '#3e82f7',\r\n\theaderNavColor: '',\r\n\tmobileNav: false,\r\n\tcurrentTheme: 'light',\r\n\tdirection: DIR_LTR\r\n};\r\n","const dev = {\r\n API_ENDPOINT_URL: process.env.REACT_APP_API_DEV,\r\n};\r\n\r\nconst prod = {\r\n API_ENDPOINT_URL: process.env.REACT_APP_API_PROD,\r\n};\r\n\r\nconst test = {\r\n API_ENDPOINT_URL: process.env.REACT_APP_API_DEV,\r\n};\r\n\r\nconst getEnv = () => {\r\n switch (process.env.NODE_ENV) {\r\n case \"development\":\r\n return dev;\r\n case \"production\":\r\n return prod;\r\n case \"test\":\r\n return test;\r\n default:\r\n break;\r\n }\r\n};\r\n\r\nexport const env = getEnv();\r\n","import fetch from \"helper/FetchInterceptor\";\n\nconst services = {};\n\nservices.getUsers = function (params) {\n return fetch({\n url: \"/user\",\n method: \"get\",\n params,\n });\n};\n\nservices.addUsers = function (data) {\n return fetch({\n url: \"/auth/register\",\n method: \"post\",\n data,\n });\n};\n\nservices.updateUsers = function (data) {\n return fetch({\n url: `/user/${data.id}`,\n method: \"put\",\n data,\n });\n};\n\nservices.deleteUser = function (id) {\n return fetch({\n url: `/user/${id}`,\n method: \"delete\",\n });\n};\n\nexport default services;\n","import fetch from \"helper/FetchInterceptor\";\n\nconst services = {};\n\nservices.getInspection = function (params) {\n return fetch({\n url: \"/inspection\",\n method: \"get\",\n params,\n });\n};\nservices.updateStatus = function (id, data) {\n return fetch({\n url: `/inspection/status/${id}`,\n method: \"put\",\n data,\n });\n};\n\nexport default services;\n","import fetch from \"helper/FetchInterceptor\";\n\nconst services = {};\n\nservices.getPointInspection = function (params) {\n return fetch({\n url: \"/point-inspection\",\n method: \"get\",\n params,\n });\n};\n\nservices.addPointInspection = function (data) {\n return fetch({\n url: \"/point-inspection\",\n method: \"post\",\n data,\n });\n};\n\nservices.updatePointInspection = function (id, data) {\n return fetch({\n url: `/point-inspection/${id}`,\n method: \"put\",\n data,\n });\n};\n\nservices.deletePointInspection = function (id) {\n return fetch({\n url: `/point-inspection/${id}`,\n method: \"delete\",\n });\n};\n\nexport default services;\n","import {\n FETCH_ATTENDANCE,\n FETCH_ATTENDANCE_ERROR,\n FETCH_ATTENDANCE_SUCCESS,\n} from \"redux/constants/Attendance\";\n\nexport const fetchAttendance = (params) => {\n return {\n type: FETCH_ATTENDANCE,\n params,\n };\n};\n\nexport const fetchAttendanceSuccess = (data, pagination) => {\n return {\n type: FETCH_ATTENDANCE_SUCCESS,\n data,\n pagination,\n };\n};\n\nexport const fetchAttendanceError = (error) => {\n return {\n type: FETCH_ATTENDANCE_ERROR,\n error,\n };\n};\n","import * as history from 'history';\r\n\r\nexport default history.createBrowserHistory();","import axios from \"axios\";\r\nimport { API_BASE_URL } from \"configs/AppConfig\";\r\nimport history from \"../history\";\r\nimport { AUTH_TOKEN, REFRESH_TOKEN } from \"redux/constants/Auth\";\r\nimport { notification } from \"antd\";\r\nimport { PROFILE } from \"redux/constants/Profile\";\r\n\r\nconst service = axios.create({\r\n baseURL: API_BASE_URL,\r\n timeout: 60000,\r\n});\r\n\r\n// Config\r\nconst ENTRY_ROUTE = \"/auth/login\";\r\nconst TOKEN_PAYLOAD_KEY = \"authorization\";\r\n\r\n// API Request interceptor\r\nservice.interceptors.request.use(\r\n (config) => {\r\n const jwtToken = localStorage.getItem(AUTH_TOKEN);\r\n\r\n if (jwtToken) {\r\n config.headers[TOKEN_PAYLOAD_KEY] = jwtToken;\r\n }\r\n\r\n if (!jwtToken) {\r\n // history.push(ENTRY_ROUTE);\r\n // window.location.reload();\r\n }\r\n\r\n return config;\r\n },\r\n (error) => {\r\n // Do something with request error here\r\n notification.error({\r\n message: \"Error\",\r\n });\r\n Promise.reject(error);\r\n }\r\n);\r\n\r\n// API respone interceptor\r\nservice.interceptors.response.use(\r\n (response) => {\r\n return response.data;\r\n },\r\n async (error) => {\r\n let notificationParam = {\r\n message: \"Gagal Mendapatkan Data, Coba Lagi\",\r\n };\r\n\r\n // Remove token and redirect\r\n if (error.response.status === 401) {\r\n const profile = localStorage.getItem(PROFILE);\r\n const refreshToken = localStorage.getItem(REFRESH_TOKEN);\r\n try {\r\n const email = JSON.parse(profile)?.email;\r\n const data = await service.post(\"/refresh-token\", {\r\n email,\r\n refresh_token: refreshToken,\r\n });\r\n localStorage.setItem(AUTH_TOKEN, data.data.token);\r\n window.location.reload();\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }\r\n\r\n if (error.response.status === 404) {\r\n notificationParam.message = \"Not Found\";\r\n }\r\n \r\n if (error.response.status === 405) {\r\n notificationParam.message = \"Not Allowed\";\r\n }\r\n\r\n if (error.response.status === 500) {\r\n notificationParam.message = \"Internal Server Error\";\r\n }\r\n\r\n if (error.response.status === 508) {\r\n notificationParam.message = \"Time Out\";\r\n }\r\n\r\n notification.error(notificationParam);\r\n\r\n return Promise.reject(error);\r\n }\r\n);\r\n\r\nexport default service;\r\n","export const ROW_GUTTER = 16;\r\nexport const SIDE_NAV_WIDTH = 250;\r\nexport const SIDE_NAV_COLLAPSED_WIDTH = 80;\r\nexport const SIDE_NAV_LIGHT = 'SIDE_NAV_LIGHT';\r\nexport const SIDE_NAV_DARK = 'SIDE_NAV_DARK';\r\nexport const NAV_TYPE_SIDE = 'SIDE'\r\nexport const NAV_TYPE_TOP = 'TOP'\r\nexport const DIR_LTR = 'ltr'\r\nexport const DIR_RTL = 'rtl'\r\n","import {\r\n AUTH_TOKEN,\r\n REFRESH_TOKEN,\r\n AUTHENTICATED,\r\n SHOW_AUTH_MESSAGE,\r\n HIDE_AUTH_MESSAGE,\r\n SIGNOUT_SUCCESS,\r\n SHOW_LOADING,\r\n} from \"../constants/Auth\";\r\n\r\nconst initState = {\r\n loading: false,\r\n message: \"\",\r\n showMessage: false,\r\n redirect: \"\",\r\n token: localStorage.getItem(AUTH_TOKEN),\r\n refresh_token: localStorage.getItem(REFRESH_TOKEN),\r\n};\r\n\r\nconst auth = (state = initState, action) => {\r\n switch (action.type) {\r\n case AUTHENTICATED:\r\n return {\r\n ...state,\r\n loading: false,\r\n redirect: \"/\",\r\n token: action.token,\r\n refresh_token: action.refresh_token,\r\n };\r\n case SHOW_AUTH_MESSAGE:\r\n return {\r\n ...state,\r\n message: action.message,\r\n showMessage: true,\r\n loading: false,\r\n };\r\n case HIDE_AUTH_MESSAGE:\r\n return {\r\n ...state,\r\n message: \"\",\r\n showMessage: false,\r\n };\r\n case SIGNOUT_SUCCESS: {\r\n return {\r\n ...state,\r\n token: null,\r\n refresh_token: null,\r\n redirect: \"/\",\r\n loading: false,\r\n };\r\n }\r\n case SHOW_LOADING: {\r\n return {\r\n ...state,\r\n loading: true,\r\n };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport default auth;\r\n","import {\n FETCH_GUEST,\n FETCH_GUEST_SUCCESS,\n FETCH_GUEST_ERROR,\n} from \"../constants/Guest\";\n\nconst initState = {\n pagination: {\n page: 1,\n limit: 10,\n total: 0,\n },\n loading: true,\n data: [],\n error: null,\n};\n\nconst guest = (state = initState, action) => {\n switch (action.type) {\n case FETCH_GUEST:\n return {\n ...state,\n loading: true,\n error: null,\n };\n case FETCH_GUEST_SUCCESS:\n return {\n ...state,\n loading: false,\n pagination: action.pagination,\n data: action.data,\n };\n case FETCH_GUEST_ERROR:\n return {\n ...state,\n loading: false,\n error: action.error,\n };\n\n default:\n return state;\n }\n};\n\nexport default guest;\n","import { ADD_PROFILE, PROFILE } from \"redux/constants/Profile\";\n\nconst initState = JSON.parse(localStorage.getItem(PROFILE));\n\nconst profile = (state = initState, action) => {\n switch (action.type) {\n case ADD_PROFILE:\n return action.profile;\n default:\n return state;\n }\n};\n\nexport default profile;\n","import {\n FETCH_SUBSTATION,\n FETCH_SUBSTATION_SUCCESS,\n FETCH_SUBSTATION_ERROR,\n} from \"../constants/Substation\";\n\nconst initState = {\n pagination: {\n page: 1,\n limit: 10,\n total: 0,\n },\n loading: true,\n data: [],\n error: null,\n};\n\nconst substation = (state = initState, action) => {\n switch (action.type) {\n case FETCH_SUBSTATION:\n return {\n ...state,\n loading: true,\n error: null,\n };\n case FETCH_SUBSTATION_SUCCESS:\n return {\n ...state,\n loading: false,\n pagination: action.pagination,\n data: action.data,\n };\n case FETCH_SUBSTATION_ERROR:\n return {\n ...state,\n loading: false,\n error: action.error,\n };\n\n default:\n return state;\n }\n};\n\nexport default substation;\n","import {\n FETCH_ATTENDANCE,\n FETCH_ATTENDANCE_SUCCESS,\n FETCH_ATTENDANCE_ERROR,\n} from \"../constants/Attendance\";\n\nconst initState = {\n pagination: {\n page: 1,\n limit: 10,\n total: 0,\n },\n loading: true,\n data: [],\n error: null,\n};\n\nconst attendance = (state = initState, action) => {\n switch (action.type) {\n case FETCH_ATTENDANCE:\n return {\n ...state,\n loading: true,\n error: null,\n };\n case FETCH_ATTENDANCE_SUCCESS:\n return {\n ...state,\n loading: false,\n pagination: action.pagination,\n data: action.data,\n };\n case FETCH_ATTENDANCE_ERROR:\n return {\n ...state,\n loading: false,\n error: action.error,\n };\n\n default:\n return state;\n }\n};\n\nexport default attendance;\n","import {\n FETCH_INSPECTION,\n FETCH_INSPECTION_SUCCESS,\n FETCH_INSPECTION_ERROR,\n} from \"../constants/Inspection\";\n\nconst initState = {\n pagination: {\n page: 1,\n limit: 10,\n total: 0,\n },\n loading: true,\n data: [],\n error: null,\n};\n\nconst inspection = (state = initState, action) => {\n switch (action.type) {\n case FETCH_INSPECTION:\n return {\n ...state,\n loading: true,\n error: null,\n };\n case FETCH_INSPECTION_SUCCESS:\n return {\n ...state,\n loading: false,\n pagination: action.pagination,\n data: action.data,\n };\n case FETCH_INSPECTION_ERROR:\n return {\n ...state,\n loading: false,\n error: action.error,\n };\n\n default:\n return state;\n }\n};\n\nexport default inspection;\n","import {\n FETCH_POINT_INSPECTION,\n FETCH_POINT_INSPECTION_SUCCESS,\n FETCH_POINT_INSPECTION_ERROR,\n} from \"../constants/PointInspection\";\n\nconst initState = {\n pagination: {\n page: 1,\n limit: 10,\n total: 0,\n },\n loading: true,\n data: [],\n error: null,\n};\n\nconst pointInspection = (state = initState, action) => {\n switch (action.type) {\n case FETCH_POINT_INSPECTION:\n return {\n ...state,\n loading: true,\n error: null,\n };\n case FETCH_POINT_INSPECTION_SUCCESS:\n return {\n ...state,\n loading: false,\n pagination: action.pagination,\n data: action.data,\n };\n case FETCH_POINT_INSPECTION_ERROR:\n return {\n ...state,\n loading: false,\n error: action.error,\n };\n\n default:\n return state;\n }\n};\n\nexport default pointInspection;\n","import {\r\n TOGGLE_COLLAPSED_NAV,\r\n CHANGE_LOCALE,\r\n SIDE_NAV_STYLE_CHANGE,\r\n NAV_TYPE_CHANGE,\r\n TOP_NAV_COLOR_CHANGE,\r\n HEADER_NAV_COLOR_CHANGE,\r\n TOGGLE_MOBILE_NAV,\r\n SWITCH_THEME,\r\n DIRECTION_CHANGE\r\n} from '../constants/Theme';\r\nimport { THEME_CONFIG } from 'configs/AppConfig'\r\n\r\nconst initTheme = {\r\n ...THEME_CONFIG\r\n};\r\n\r\nconst theme = (state = initTheme, action) => {\r\n switch (action.type) {\r\n case TOGGLE_COLLAPSED_NAV:\r\n return {\r\n ...state,\r\n navCollapsed: action.navCollapsed\r\n };\r\n case SIDE_NAV_STYLE_CHANGE:\r\n return {\r\n ...state,\r\n sideNavTheme: action.sideNavTheme\r\n };\r\n case CHANGE_LOCALE:\r\n return {\r\n ...state,\r\n locale: action.locale\r\n };\r\n case NAV_TYPE_CHANGE:\r\n return {\r\n ...state,\r\n navType: action.navType\r\n };\r\n case TOP_NAV_COLOR_CHANGE:\r\n return {\r\n ...state,\r\n topNavColor: action.topNavColor\r\n };\r\n case HEADER_NAV_COLOR_CHANGE:\r\n return {\r\n ...state,\r\n headerNavColor: action.headerNavColor\r\n };\r\n case TOGGLE_MOBILE_NAV:\r\n return {\r\n ...state,\r\n mobileNav: action.mobileNav\r\n };\r\n case SWITCH_THEME:\r\n return {\r\n ...state,\r\n currentTheme: action.currentTheme\r\n }\r\n case DIRECTION_CHANGE:\r\n return {\r\n ...state,\r\n direction: action.direction\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport default theme","import {\n FETCH_USER,\n FETCH_USER_SUCCESS,\n FETCH_USER_ERROR,\n REGISTER_USER,\n REGISTER_USER_SUCCESS,\n REGISTER_USER_ERROR,\n RESET_USER,\n} from \"../constants/User\";\n\nconst initState = {\n pagination: {\n page: 1,\n limit: 10,\n total: 0,\n },\n loading: false,\n data: [],\n error: null,\n};\n\nconst guest = (state = initState, action) => {\n switch (action.type) {\n case FETCH_USER:\n return {\n ...state,\n loading: true,\n error: null,\n };\n case FETCH_USER_SUCCESS:\n return {\n ...state,\n loading: false,\n pagination: action.pagination,\n data: action.data,\n };\n case FETCH_USER_ERROR:\n return {\n ...state,\n loading: false,\n error: action.error,\n };\n case REGISTER_USER:\n return {\n ...state,\n loading: true,\n error: null,\n };\n case REGISTER_USER_SUCCESS:\n return {\n ...state,\n loading: false,\n error: null,\n };\n case REGISTER_USER_ERROR:\n return {\n ...state,\n loading: false,\n error: action.error,\n };\n case RESET_USER:\n return {\n ...state,\n loading: false,\n error: null,\n data: [],\n };\n\n default:\n return state;\n }\n};\n\nexport default guest;\n","import {\n FETCH_STATS,\n FETCH_STATS_SUCCESS,\n FETCH_STATS_ERROR,\n} from \"../constants/Stats\";\n\nconst initState = {\n loading: true,\n data: {},\n error: null,\n overview: [\n {\n title: \"TITIK INSPEKSI\",\n value: 0,\n subtitle: `Titik`,\n },\n {\n title: \"GARDU INDUK\",\n value: 0,\n subtitle: `Titik`,\n },\n {\n title: \"TAMU\",\n value: 0,\n subtitle: `Orang`,\n },\n {\n title: \"PENGGUNA (Security)\",\n value: 0,\n subtitle: `Orang`,\n },\n ],\n};\n\nconst stats = (state = initState, action) => {\n switch (action.type) {\n case FETCH_STATS:\n return {\n ...state,\n loading: true,\n error: null,\n };\n case FETCH_STATS_SUCCESS:\n return {\n ...state,\n loading: false,\n data: action.data,\n overview: action.overview,\n };\n case FETCH_STATS_ERROR:\n return {\n ...state,\n loading: false,\n error: action.error,\n };\n\n default:\n return state;\n }\n};\n\nexport default stats;\n","import { combineReducers } from \"redux\";\r\nimport Auth from \"./Auth\";\r\nimport guest from \"./Guest\";\r\nimport Profile from \"./Profile\";\r\nimport Substation from \"./Substation\";\r\nimport Attendance from \"./Attendance\";\r\nimport Inspection from \"./Inspection\";\r\nimport PointInspection from \"./PointInspection\";\r\nimport Theme from \"./Theme\";\r\nimport User from \"./User\";\r\nimport Stats from \"./Stats\";\r\n\r\nconst reducers = combineReducers({\r\n theme: Theme,\r\n auth: Auth,\r\n profile: Profile,\r\n guest: guest,\r\n user: User,\r\n substation: Substation,\r\n attendance: Attendance,\r\n inspection: Inspection,\r\n pointInspection: PointInspection,\r\n stats: Stats,\r\n});\r\n\r\nexport default reducers;\r\n","import { all, takeEvery, put, fork, call } from \"redux-saga/effects\";\r\nimport { AUTH_TOKEN, REFRESH_TOKEN, SIGNIN, SIGNOUT } from \"../constants/Auth\";\r\nimport {\r\n showAuthMessage,\r\n authenticated,\r\n signOutSuccess,\r\n} from \"../actions/Auth\";\r\n\r\nimport { authServices } from \"services\";\r\nimport { PROFILE } from \"redux/constants/Profile\";\r\n\r\nexport function* signInWithEmail() {\r\n yield takeEvery(SIGNIN, function* ({ payload }) {\r\n try {\r\n const data = yield call(authServices.login, payload);\r\n if (data.status === \"success\") {\r\n localStorage.setItem(AUTH_TOKEN, data.data.token);\r\n localStorage.setItem(REFRESH_TOKEN, data.data.refresh_token);\r\n localStorage.setItem(PROFILE, JSON.stringify(data.data));\r\n yield put(authenticated(data.data.token, data.data.refresh_token));\r\n window.location.href = \"/\";\r\n }\r\n } catch (err) {\r\n yield put(showAuthMessage(err));\r\n }\r\n });\r\n}\r\n\r\nexport function* signOut() {\r\n yield takeEvery(SIGNOUT, function* ({ payload }) {\r\n try {\r\n const data = yield call(authServices.logout, payload);\r\n if (data.status === \"success\") {\r\n localStorage.removeItem(AUTH_TOKEN);\r\n localStorage.removeItem(PROFILE);\r\n yield put(signOutSuccess(data));\r\n } else {\r\n yield put(showAuthMessage(data.message));\r\n localStorage.removeItem(AUTH_TOKEN);\r\n localStorage.removeItem(PROFILE);\r\n }\r\n } catch (err) {\r\n yield put(showAuthMessage(err));\r\n }\r\n });\r\n}\r\n\r\nexport default function* rootSaga() {\r\n yield all([fork(signInWithEmail), fork(signOut)]);\r\n}\r\n","import { all, takeEvery, put, fork, call } from \"redux-saga/effects\";\nimport { fetchGuestError, fetchGuestSuccess } from \"../actions/Guest\";\n\nimport { guestServices } from \"services\";\nimport { FETCH_GUEST } from \"redux/constants/Guest\";\n\nexport function* getGuestList() {\n yield takeEvery(FETCH_GUEST, function* ({ params }) {\n try {\n const data = yield call(guestServices.getGuest, params);\n if (data.status === \"success\") {\n const pagination = {\n page: params.page,\n limit: params.limit,\n total: data.data.total,\n };\n yield put(fetchGuestSuccess(data.data.guest, pagination));\n }\n } catch (err) {\n if (err.response.message) {\n yield put(fetchGuestError(err.response.message));\n } else {\n yield put(fetchGuestError(\"Gagal Mendapatkan Data\"));\n }\n }\n });\n}\n\nexport default function* rootSaga() {\n yield all([fork(getGuestList)]);\n}\n","import { all, takeEvery, put, fork, call } from \"redux-saga/effects\";\nimport {\n fetchUserSuccess,\n fetchUserError,\n registerUserSuccess,\n registerUserError,\n} from \"../actions/User\";\n\nimport { userServices } from \"services\";\nimport { FETCH_USER, REGISTER_USER } from \"redux/constants/User\";\nimport { notification } from \"antd\";\n\nexport function* getUserList() {\n yield takeEvery(FETCH_USER, function* ({ params }) {\n try {\n const data = yield call(userServices.getUsers, params);\n if (data.status === \"success\") {\n const pagination = {\n page: params.page,\n limit: params.limit,\n total: data.data.total,\n };\n yield put(fetchUserSuccess(data.data.users, pagination));\n }\n } catch (err) {\n if (err.response.message) {\n yield put(fetchUserError(err.response.message));\n } else {\n yield put(fetchUserError(\"Gagal Mendapatkan Data\"));\n }\n }\n });\n}\n\nexport function* registerUser() {\n yield takeEvery(REGISTER_USER, function* ({ data }) {\n try {\n const response = yield call(userServices.addUsers, data);\n if (response.status === \"success\") {\n yield put(registerUserSuccess());\n notification.success(\"Berhasil Mendaftarkan Pengguna\");\n }\n } catch (err) {\n console.log(err);\n if (err.response.message) {\n yield put(registerUserError(err.response.message));\n } else {\n yield put(registerUserError(\"Gagal Mendapatkan Data\"));\n }\n }\n });\n}\n\nexport default function* rootSaga() {\n yield all([fork(getUserList), fork(registerUser)]);\n}\n","import { all, takeEvery, put, fork, call } from \"redux-saga/effects\";\nimport {\n fetchSubstationSuccess,\n fetchSubstationError,\n} from \"../actions/Substation\";\n\nimport { substationService } from \"services\";\nimport { FETCH_SUBSTATION } from \"redux/constants/Substation\";\n\nexport function* getSubstationList() {\n yield takeEvery(FETCH_SUBSTATION, function* ({ params }) {\n try {\n const data = yield call(substationService.getSubstation, params);\n if (data.status === \"success\") {\n const pagination = {\n page: params.page,\n limit: params.limit,\n total: data.data.total,\n };\n yield put(fetchSubstationSuccess(data.data.substations, pagination));\n }\n } catch (err) {\n if (err.response.message) {\n yield put(fetchSubstationError(err.response.message));\n } else {\n yield put(fetchSubstationError(\"Gagal Mendapatkan Data\"));\n }\n }\n });\n}\n\nexport default function* rootSaga() {\n yield all([fork(getSubstationList)]);\n}\n","import { all, takeEvery, put, fork, call } from \"redux-saga/effects\";\n\nimport { attendanceService } from \"services\";\nimport { FETCH_ATTENDANCE } from \"redux/constants/Attendance\";\nimport { fetchAttendanceSuccess, fetchAttendanceError } from \"redux/actions\";\n\nexport function* getAttendanceList() {\n yield takeEvery(FETCH_ATTENDANCE, function* ({ params }) {\n try {\n const data = yield call(attendanceService.getAttendance, params);\n if (data.status === \"success\") {\n const pagination = {\n page: params.page,\n limit: params.limit,\n total: data.data.total,\n };\n yield put(fetchAttendanceSuccess(data.data.attendances, pagination));\n }\n } catch (err) {\n if (err.response.message) {\n yield put(fetchAttendanceError(err.response.message));\n } else {\n yield put(fetchAttendanceError(\"Gagal Mendapatkan Data\"));\n }\n }\n });\n}\n\nexport default function* rootSaga() {\n yield all([fork(getAttendanceList)]);\n}\n","import { all, takeEvery, put, fork, call } from \"redux-saga/effects\";\nimport {\n fetchInspectionSuccess,\n fetchInspectionError,\n} from \"../actions/Inspection\";\n\nimport { inspectionService } from \"services\";\nimport { FETCH_INSPECTION } from \"redux/constants/Inspection\";\n\nexport function* getInspectionList() {\n yield takeEvery(FETCH_INSPECTION, function* ({ params }) {\n try {\n const data = yield call(inspectionService.getInspection, params);\n if (data.status === \"success\") {\n const pagination = {\n page: params.page,\n limit: params.limit,\n total: data.data.total,\n };\n yield put(fetchInspectionSuccess(data.data.inspection, pagination));\n }\n } catch (err) {\n if (err.response.message) {\n yield put(fetchInspectionError(err.response.message));\n } else {\n yield put(fetchInspectionError(\"Gagal Mendapatkan Data\"));\n }\n }\n });\n}\n\nexport default function* rootSaga() {\n yield all([fork(getInspectionList)]);\n}\n","import { all, takeEvery, put, fork, call } from \"redux-saga/effects\";\nimport {\n fetchPointInspectionSuccess,\n fetchPointInspectionError,\n} from \"../actions/PointInspection\";\n\nimport { pointInspectionService } from \"services\";\nimport { FETCH_POINT_INSPECTION } from \"redux/constants/PointInspection\";\n\nexport function* getPointInspectionList() {\n yield takeEvery(FETCH_POINT_INSPECTION, function* ({ params }) {\n try {\n const data = yield call(\n pointInspectionService.getPointInspection,\n params\n );\n if (data.status === \"success\") {\n const pagination = {\n page: params.page,\n limit: params.limit,\n total: data.data.total,\n };\n yield put(\n fetchPointInspectionSuccess(data.data.pointInspection, pagination)\n );\n }\n } catch (err) {\n if (err.response.message) {\n yield put(fetchPointInspectionError(err.response.message));\n } else {\n yield put(fetchPointInspectionError(\"Gagal Mendapatkan Data\"));\n }\n }\n });\n}\n\nexport default function* rootSaga() {\n yield all([fork(getPointInspectionList)]);\n}\n","import { all, takeEvery, put, fork, call } from \"redux-saga/effects\";\nimport { fetchStatsSuccess, fetchStatsError } from \"../actions/Stats\";\n\nimport { statsService } from \"services\";\nimport { FETCH_STATS } from \"redux/constants/Stats\";\n\nexport function* getStats() {\n yield takeEvery(FETCH_STATS, function* () {\n try {\n const data = yield call(statsService.getStats);\n if (data.status === \"success\") {\n const overview = [\n {\n title: \"TITIK INSPEKSI\",\n value: data.data.overview.total_point_inspection,\n subtitle: `Titik`,\n },\n {\n title: \"GARDU INDUK\",\n value: data.data.overview.total_substation,\n subtitle: `Titik`,\n },\n {\n title: \"TAMU\",\n value: data.data.overview.total_guest,\n subtitle: `Orang`,\n },\n {\n title: \"PENGGUNA (Security)\",\n value: data.data.overview.total_security,\n subtitle: `Orang`,\n },\n ];\n console.log(overview)\n yield put(fetchStatsSuccess(data.data, overview));\n }\n } catch (err) {\n if (err.response.message) {\n yield put(fetchStatsError(err.response.message));\n } else {\n yield put(fetchStatsError(\"Gagal Mendapatkan Data\"));\n }\n }\n });\n}\n\nexport default function* rootSaga() {\n yield all([fork(getStats)]);\n}\n","import { all } from \"redux-saga/effects\";\r\nimport Auth from \"./Auth\";\r\nimport Guest from \"./Guest\";\r\nimport User from \"./User\";\r\nimport Substation from \"./Substation\";\r\nimport Attendance from \"./Attendance\";\r\nimport Inspection from \"./Inspection\";\r\nimport PointInspection from \"./PointInspection\";\r\nimport Stats from \"./Stats\";\r\n\r\nexport default function* rootSaga(getState) {\r\n yield all([\r\n Auth(),\r\n Guest(),\r\n User(),\r\n Substation(),\r\n Attendance(),\r\n Inspection(),\r\n PointInspection(),\r\n Stats(),\r\n ]);\r\n}\r\n","import { createStore, applyMiddleware, compose } from \"redux\";\r\nimport reducers from \"../reducers\";\r\nimport createSagaMiddleware from \"redux-saga\";\r\nimport rootSaga from \"../sagas/index\";\r\n\r\nconst sagaMiddleware = createSagaMiddleware();\r\n\r\nconst middlewares = [sagaMiddleware];\r\n\r\nfunction configureStore(preloadedState) {\r\n \r\n const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;\r\n const store = createStore(reducers, preloadedState, composeEnhancers(\r\n applyMiddleware(...middlewares)\r\n ));\r\n\r\n sagaMiddleware.run(rootSaga);\r\n\r\n if (module.hot) {\r\n module.hot.accept(\"../reducers/index\", () => {\r\n const nextRootReducer = require(\"../reducers/index\");\r\n store.replaceReducer(nextRootReducer);\r\n });\r\n }\r\n\r\n return store;\r\n}\r\n\r\nconst store = configureStore();\r\n\r\nexport default store;\r\n\r\n","import React from \"react\";\r\nimport {FormattedMessage, injectIntl} from \"react-intl\";\r\n\r\nconst IntlMessage = props => ;\r\nexport default injectIntl(IntlMessage, {\r\n withRef: false\r\n});\r\n","import React, { Component } from 'react'\r\n\r\nexport class Icon extends Component {\r\n\trender() {\r\n\t\tconst { type, className } = this.props;\r\n\t\treturn (\r\n\t\t\t<>{React.createElement(type, { className: className })}\r\n\t\t)\r\n\t}\r\n}\r\n\r\nexport default Icon\r\n","import {\r\n HomeOutlined,\r\n SettingOutlined,\r\n UserOutlined,\r\n FileProtectOutlined,\r\n TeamOutlined,\r\n SecurityScanOutlined,\r\n SolutionOutlined,\r\n PartitionOutlined,\r\n AimOutlined,\r\n} from \"@ant-design/icons\";\r\nimport { APP_PREFIX_PATH } from \"configs/AppConfig\";\r\n\r\nconst dashBoardNavTree = [\r\n {\r\n key: \"dashboard\",\r\n path: `${APP_PREFIX_PATH}`,\r\n title: \"sidenav.app\",\r\n icon: HomeOutlined,\r\n breadcrumb: false,\r\n submenu: [\r\n {\r\n key: \"dashboard\",\r\n path: `${APP_PREFIX_PATH}/dashboard`,\r\n title: \"sidenav.app.dashboard\",\r\n icon: HomeOutlined,\r\n breadcrumb: false,\r\n submenu: [],\r\n },\r\n {\r\n key: \"guest\",\r\n path: `${APP_PREFIX_PATH}/guest`,\r\n title: \"sidenav.app.guest\",\r\n icon: TeamOutlined,\r\n breadcrumb: false,\r\n submenu: [],\r\n },\r\n {\r\n key: \"attendance\",\r\n path: `${APP_PREFIX_PATH}/attendance`,\r\n title: \"sidenav.app.attendance\",\r\n icon: SolutionOutlined,\r\n breadcrumb: false,\r\n submenu: [],\r\n },\r\n {\r\n key: \"inspection\",\r\n path: `${APP_PREFIX_PATH}/inspection`,\r\n title: \"sidenav.app.inspection\",\r\n icon: SecurityScanOutlined,\r\n breadcrumb: false,\r\n submenu: [],\r\n },\r\n {\r\n key: \"point-inspection\",\r\n path: `${APP_PREFIX_PATH}/point-inspection`,\r\n title: \"sidenav.app.point-inspection\",\r\n icon: AimOutlined,\r\n breadcrumb: false,\r\n submenu: [],\r\n },\r\n {\r\n key: \"report\",\r\n path: `${APP_PREFIX_PATH}/report`,\r\n title: \"sidenav.app.report\",\r\n icon: FileProtectOutlined,\r\n breadcrumb: false,\r\n submenu: [\r\n {\r\n key: \"report-guest\",\r\n path: `${APP_PREFIX_PATH}/report/guest`,\r\n title: \"sidenav.app.report.guest\",\r\n icon: TeamOutlined,\r\n breadcrumb: false,\r\n submenu: [],\r\n },\r\n {\r\n key: \"report-inspection\",\r\n path: `${APP_PREFIX_PATH}/report/inspection`,\r\n title: \"sidenav.app.report.inspection\",\r\n icon: SecurityScanOutlined,\r\n breadcrumb: false,\r\n submenu: [],\r\n },\r\n // {\r\n // key: \"report-attendance\",\r\n // path: `${APP_PREFIX_PATH}/report/attendance`,\r\n // title: \"sidenav.app.report.attendance\",\r\n // icon: SolutionOutlined,\r\n // breadcrumb: false,\r\n // submenu: [],\r\n // },\r\n ],\r\n },\r\n {\r\n key: \"substation\",\r\n path: `${APP_PREFIX_PATH}/substation`,\r\n title: \"sidenav.app.substation\",\r\n icon: PartitionOutlined,\r\n breadcrumb: false,\r\n submenu: [],\r\n },\r\n {\r\n key: \"users\",\r\n path: `${APP_PREFIX_PATH}/users`,\r\n title: \"sidenav.app.users\",\r\n icon: UserOutlined,\r\n breadcrumb: false,\r\n submenu: [],\r\n },\r\n // {\r\n // key: \"settings\",\r\n // path: `${APP_PREFIX_PATH}/settings`,\r\n // title: \"sidenav.app.settings\",\r\n // icon: SettingOutlined,\r\n // breadcrumb: false,\r\n // submenu: [],\r\n // },\r\n ],\r\n },\r\n];\r\n\r\nconst navigationConfig = [...dashBoardNavTree];\r\n\r\nexport default navigationConfig;\r\n","import React from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { Menu, Grid } from \"antd\";\r\nimport IntlMessage from \"../util-components/IntlMessage\";\r\nimport Icon from \"../util-components/Icon\";\r\nimport navigationConfig from \"configs/NavigationConfig\";\r\nimport { connect } from \"react-redux\";\r\nimport { SIDE_NAV_LIGHT, NAV_TYPE_SIDE } from \"constants/ThemeConstant\";\r\nimport utils from 'utils'\r\nimport { onMobileNavToggle } from \"redux/actions/Theme\";\r\n\r\nconst { SubMenu } = Menu;\r\nconst { useBreakpoint } = Grid;\r\n\r\nconst setLocale = (isLocaleOn, localeKey) =>\r\n isLocaleOn ? : localeKey.toString();\r\n\r\nconst setDefaultOpen = (key) => {\r\n let keyList = [];\r\n let keyString = \"\";\r\n if (key) {\r\n const arr = key.split(\"-\");\r\n for (let index = 0; index < arr.length; index++) {\r\n const elm = arr[index];\r\n index === 0 ? (keyString = elm) : (keyString = `${keyString}-${elm}`);\r\n keyList.push(keyString);\r\n }\r\n }\r\n return keyList;\r\n};\r\n\r\nconst SideNavContent = (props) => {\r\n\tconst { sideNavTheme, routeInfo, hideGroupTitle, localization, onMobileNavToggle } = props;\r\n\tconst isMobile = !utils.getBreakPoint(useBreakpoint()).includes('lg')\r\n\tconst closeMobileNav = () => {\r\n\t\tif (isMobile) {\r\n\t\t\tonMobileNavToggle(false)\r\n\t\t}\r\n\t}\r\n return (\r\n \r\n {navigationConfig.map((menu) =>\r\n menu.submenu.length > 0 ? (\r\n \r\n {menu.submenu.map((subMenuFirst) =>\r\n subMenuFirst.submenu.length > 0 ? (\r\n \r\n ) : null\r\n }\r\n key={subMenuFirst.key}\r\n title={setLocale(localization, subMenuFirst.title)}\r\n >\r\n {subMenuFirst.submenu.map((subMenuSecond) => (\r\n \r\n {subMenuSecond.icon ? (\r\n \r\n ) : null}\r\n \r\n {setLocale(localization, subMenuSecond.title)}\r\n \r\n closeMobileNav()} to={subMenuSecond.path} />\r\n \r\n ))}\r\n \r\n ) : (\r\n \r\n {subMenuFirst.icon ? : null}\r\n {setLocale(localization, subMenuFirst.title)}\r\n closeMobileNav()} to={subMenuFirst.path} />\r\n \r\n )\r\n )}\r\n \r\n ) : (\r\n \r\n {menu.icon ? : null}\r\n {setLocale(localization, menu?.title)}\r\n {menu.path ? closeMobileNav()} to={menu.path} /> : null}\r\n \r\n )\r\n )}\r\n \r\n );\r\n};\r\n\r\nconst TopNavContent = (props) => {\r\n const { topNavColor, localization } = props;\r\n return (\r\n \r\n {navigationConfig.map((menu) =>\r\n menu.submenu.length > 0 ? (\r\n \r\n {menu.icon ? : null}\r\n {setLocale(localization, menu.title)}\r\n \r\n }\r\n >\r\n {menu.submenu.map((subMenuFirst) =>\r\n subMenuFirst.submenu.length > 0 ? (\r\n \r\n ) : null\r\n }\r\n title={setLocale(localization, subMenuFirst.title)}\r\n >\r\n {subMenuFirst.submenu.map((subMenuSecond) => (\r\n \r\n \r\n {setLocale(localization, subMenuSecond.title)}\r\n \r\n \r\n \r\n ))}\r\n \r\n ) : (\r\n \r\n {subMenuFirst.icon ? (\r\n \r\n ) : null}\r\n {setLocale(localization, subMenuFirst.title)}\r\n \r\n \r\n )\r\n )}\r\n \r\n ) : (\r\n \r\n {menu.icon ? : null}\r\n {setLocale(localization, menu?.title)}\r\n {menu.path ? : null}\r\n \r\n )\r\n )}\r\n \r\n );\r\n};\r\n\r\nconst MenuContent = (props) => {\r\n return props.type === NAV_TYPE_SIDE ? (\r\n \r\n ) : (\r\n \r\n );\r\n};\r\n\r\nconst mapStateToProps = ({ theme }) => {\r\n const { sideNavTheme, topNavColor } = theme;\r\n return { sideNavTheme, topNavColor };\r\n};\r\n\r\nexport default connect(mapStateToProps, { onMobileNavToggle })(MenuContent);\r\n","import React from \"react\";\r\nimport { Layout } from 'antd';\r\nimport { connect } from 'react-redux';\r\nimport { SIDE_NAV_WIDTH, SIDE_NAV_DARK, NAV_TYPE_SIDE } from 'constants/ThemeConstant';\r\nimport { Scrollbars } from 'react-custom-scrollbars';\r\nimport MenuContent from './MenuContent'\r\n\r\nconst { Sider } = Layout;\r\n\r\nexport const SideNav = ({navCollapsed, sideNavTheme, routeInfo, hideGroupTitle, localization = true }) => {\r\n const props = { sideNavTheme, routeInfo , hideGroupTitle, localization}\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nconst mapStateToProps = ({ theme }) => {\r\n const { navCollapsed, sideNavTheme } = theme;\r\n return { navCollapsed, sideNavTheme }\r\n};\r\n\r\nexport default connect(mapStateToProps)(SideNav);\r\n","import React from 'react'\r\nimport { connect } from 'react-redux';\r\nimport { NAV_TYPE_TOP } from 'constants/ThemeConstant';\r\nimport utils from 'utils'\r\nimport MenuContent from './MenuContent'\r\n\r\nexport const TopNav = ({topNavColor, localization = true}) => {\r\n\tconst props = { topNavColor, localization }\r\n\treturn (\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t
\r\n\t)\r\n}\r\n\r\nconst mapStateToProps = ({ theme }) => {\r\n const { topNavColor } = theme;\r\n return { topNavColor }\r\n};\r\n\r\nexport default connect(mapStateToProps)(TopNav);\r\n","import React from 'react';\r\nimport { Spin } from 'antd';\r\nimport PropTypes from 'prop-types'\r\nimport { LoadingOutlined } from '@ant-design/icons';\r\n\r\nconst Icon = \r\n\r\nconst Loading = (props) => {\r\n\tconst { align, cover } = props\r\n\treturn (\r\n\t\t
\r\n\t\t\t\r\n\t\t
\r\n\t)\r\n}\r\n\r\nLoading.propTypes = {\r\n\tsize: PropTypes.string,\r\n\tcover: PropTypes.string\r\n}\r\n\r\nLoading.defaultProps = {\r\n\talign: 'center',\r\n\tcover: 'inline'\r\n};\r\n\r\nexport default Loading","import React from \"react\";\r\nimport {\r\n SIDE_NAV_WIDTH,\r\n SIDE_NAV_COLLAPSED_WIDTH,\r\n NAV_TYPE_TOP,\r\n} from \"constants/ThemeConstant\";\r\nimport { APP_NAME } from \"configs/AppConfig\";\r\nimport { connect } from \"react-redux\";\r\nimport utils from \"utils\";\r\nimport { Grid } from \"antd\";\r\n\r\nconst { useBreakpoint } = Grid;\r\n\r\nconst getLogoWidthGutter = (props, isMobile) => {\r\n const { navCollapsed, navType } = props;\r\n const isNavTop = navType === NAV_TYPE_TOP ? true : false;\r\n if (isMobile && !props.mobileLogo) {\r\n return 0;\r\n }\r\n if (isNavTop) {\r\n return \"auto\";\r\n }\r\n if (navCollapsed) {\r\n return `${SIDE_NAV_COLLAPSED_WIDTH}px`;\r\n } else {\r\n return `${SIDE_NAV_WIDTH}px`;\r\n }\r\n};\r\n\r\nconst getLogo = (props) => {\r\n if (props.navCollapsed) {\r\n return \"/img/logo-sm.png\";\r\n }\r\n return \"/img/logo.png\";\r\n};\r\n\r\nconst getLogoDisplay = (isMobile, mobileLogo) => {\r\n if (isMobile && !mobileLogo) {\r\n return \"d-none\";\r\n } else {\r\n return \"logo\";\r\n }\r\n};\r\n\r\nexport const Logo = (props) => {\r\n const isMobile = !utils.getBreakPoint(useBreakpoint()).includes(\"lg\");\r\n return (\r\n \r\n {`${APP_NAME}\r\n \r\n );\r\n};\r\n\r\nconst mapStateToProps = ({ theme }) => {\r\n const { navCollapsed, navType } = theme;\r\n return { navCollapsed, navType };\r\n};\r\n\r\nexport default connect(mapStateToProps)(Logo);\r\n","import React from \"react\";\r\nimport { Drawer } from \"antd\";\r\nimport { connect } from \"react-redux\";\r\nimport { NAV_TYPE_SIDE } from \"constants/ThemeConstant\";\r\nimport { Scrollbars } from \"react-custom-scrollbars\";\r\nimport MenuContent from \"./MenuContent\";\r\nimport { onMobileNavToggle } from \"redux/actions/Theme\";\r\nimport Logo from \"./Logo\";\r\nimport Flex from \"components/shared-components/Flex\";\r\nimport { ArrowLeftOutlined } from \"@ant-design/icons\";\r\n\r\nexport const MobileNav = ({\r\n sideNavTheme,\r\n mobileNav,\r\n onMobileNavToggle,\r\n routeInfo,\r\n hideGroupTitle,\r\n localization = true,\r\n}) => {\r\n const props = { sideNavTheme, routeInfo, hideGroupTitle, localization };\r\n\r\n const onClose = () => {\r\n onMobileNavToggle(false);\r\n };\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n
onClose()}>\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n );\r\n};\r\n\r\nconst mapStateToProps = ({ theme }) => {\r\n const { navCollapsed, sideNavTheme, mobileNav } = theme;\r\n return { navCollapsed, sideNavTheme, mobileNav };\r\n};\r\n\r\nexport default connect(mapStateToProps, { onMobileNavToggle })(MobileNav);\r\n","import React from \"react\";\r\nimport { Menu, Dropdown, Avatar } from \"antd\";\r\nimport { connect, useSelector } from \"react-redux\";\r\nimport {\r\n SettingOutlined,\r\n LogoutOutlined,\r\n LockOutlined,\r\n} from \"@ant-design/icons\";\r\nimport Icon from \"components/util-components/Icon\";\r\nimport { signOut } from \"redux/actions/Auth\";\r\nimport { Link } from \"react-router-dom\";\r\n\r\nconst menuItem = [\r\n // {\r\n // title: \"Pengaturan\",\r\n // icon: SettingOutlined,\r\n // path: \"/app/settings/edit-profile\",\r\n // },\r\n // {\r\n // title: \"Ganti Password\",\r\n // icon: LockOutlined,\r\n // path: \"/app/settings/change-password\",\r\n // },\r\n];\r\n\r\nexport const NavProfile = ({ signOut, data }) => {\r\n const { fullname, role } = data;\r\n const { profile } = useSelector((state) => state);\r\n const profileImg = \"/img/avatars/people.jpg\";\r\n const profileMenu = (\r\n
\r\n
\r\n
\r\n \r\n
\r\n

{fullname}

\r\n {role && \"Super Admin\"}\r\n
\r\n
\r\n
\r\n
\r\n \r\n {menuItem.map((el, i) => {\r\n return (\r\n \r\n \r\n \r\n {el.title}\r\n \r\n \r\n );\r\n })}\r\n signOut({ user_id: profile.id })}\r\n >\r\n \r\n \r\n Keluar\r\n \r\n \r\n \r\n
\r\n
\r\n );\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nNavProfile.defaultProps = {\r\n data: {\r\n fullname: \"Super Admin\",\r\n role: \"Super Admin\",\r\n },\r\n};\r\n\r\nexport default connect(null, { signOut })(NavProfile);\r\n","import React, { useState, useEffect } from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport { Layout } from \"antd\";\r\nimport { RightCircleOutlined, LeftCircleOutlined } from \"@ant-design/icons\";\r\nimport Logo from \"./Logo\";\r\nimport { toggleCollapsedNav, onMobileNavToggle } from \"redux/actions/Theme\";\r\nimport {\r\n NAV_TYPE_TOP,\r\n SIDE_NAV_COLLAPSED_WIDTH,\r\n SIDE_NAV_WIDTH,\r\n} from \"constants/ThemeConstant\";\r\nimport utils from \"utils\";\r\nimport NavProfile from \"./NavProfile\";\r\n\r\nconst { Header } = Layout;\r\n\r\nexport const HeaderNav = (props) => {\r\n const {\r\n navCollapsed,\r\n mobileNav,\r\n navType,\r\n headerNavColor,\r\n toggleCollapsedNav,\r\n onMobileNavToggle,\r\n isMobile,\r\n currentTheme,\r\n } = props;\r\n const [searchActive, setSearchActive] = useState(false);\r\n\r\n const onSearchClose = () => {\r\n setSearchActive(false);\r\n };\r\n\r\n const onToggle = () => {\r\n if (!isMobile) {\r\n toggleCollapsedNav(!navCollapsed);\r\n } else {\r\n onMobileNavToggle(!mobileNav);\r\n }\r\n };\r\n\r\n const isNavTop = navType === NAV_TYPE_TOP ? true : false;\r\n const mode = () => {\r\n if (!headerNavColor) {\r\n return utils.getColorContrast(\r\n currentTheme === \"dark\" ? \"#00000\" : \"#ffffff\"\r\n );\r\n }\r\n return utils.getColorContrast(headerNavColor);\r\n };\r\n const navMode = mode();\r\n const getNavWidth = () => {\r\n if (isNavTop || isMobile) {\r\n return \"0px\";\r\n }\r\n if (navCollapsed) {\r\n return `${SIDE_NAV_COLLAPSED_WIDTH}px`;\r\n } else {\r\n return `${SIDE_NAV_WIDTH}px`;\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (!isMobile) {\r\n onSearchClose();\r\n }\r\n });\r\n\r\n return (\r\n \r\n
\r\n \r\n
\r\n
\r\n
    \r\n {isNavTop && !isMobile ? null : (\r\n {\r\n onToggle();\r\n }}\r\n >\r\n {navCollapsed || isMobile ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n )}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n );\r\n};\r\n\r\nconst mapStateToProps = ({ theme, profile }) => {\r\n const {\r\n navCollapsed,\r\n navType,\r\n headerNavColor,\r\n mobileNav,\r\n currentTheme,\r\n direction,\r\n } = theme;\r\n return {\r\n profile,\r\n navCollapsed,\r\n navType,\r\n headerNavColor,\r\n mobileNav,\r\n currentTheme,\r\n direction,\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, {\r\n toggleCollapsedNav,\r\n onMobileNavToggle,\r\n})(HeaderNav);\r\n","import React, { Component } from 'react';\r\nimport { Link, withRouter } from 'react-router-dom';\r\nimport { Breadcrumb } from 'antd';\r\nimport navigationConfig from \"configs/NavigationConfig\";\r\nimport IntlMessage from 'components/util-components/IntlMessage';\r\n\r\nlet breadcrumbData = { \r\n\t'/app' : \r\n};\r\n\r\nnavigationConfig.forEach((elm, i) => {\r\n\tconst assignBreadcrumb = (obj) => breadcrumbData[obj.path] = ;\r\n\tassignBreadcrumb(elm);\r\n\tif (elm.submenu) {\r\n\t\telm.submenu.forEach( elm => {\r\n\t\t\tassignBreadcrumb(elm)\r\n\t\t\tif(elm.submenu) {\r\n\t\t\t\telm.submenu.forEach( elm => {\r\n\t\t\t\t\tassignBreadcrumb(elm)\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t})\r\n\t}\r\n})\r\n\r\nconst BreadcrumbRoute = withRouter(props => {\r\n\tconst { location } = props;\r\n\tconst pathSnippets = location.pathname.split('/').filter(i => i);\r\n\tconst buildBreadcrumb = pathSnippets.map((_, index) => {\r\n const url = `/${pathSnippets.slice(0, index + 1).join('/')}`;\r\n return (\r\n \r\n {breadcrumbData[url]}\r\n \r\n );\r\n\t});\r\n \r\n return (\r\n\t\t\r\n\t\t\t{buildBreadcrumb}\r\n\t\t\r\n );\r\n});\r\n\r\nexport class AppBreadcrumb extends Component {\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t\r\n\t\t)\r\n\t}\r\n}\r\n\r\nexport default AppBreadcrumb\r\n","import React from 'react'\r\nimport AppBreadcrumb from 'components/layout-components/AppBreadcrumb';\r\nimport IntlMessage from '../util-components/IntlMessage';\r\n\r\nexport const PageHeader = ({ title, display }) => {\r\n\treturn (\r\n\t\tdisplay ? (\r\n\t\t\t
\r\n\t\t\t\t

\r\n\t\t\t\t\t\r\n\t\t\t\t

\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t)\r\n\t\t: null\r\n\t)\r\n}\r\n\r\nexport default PageHeader","import React from 'react'\r\nimport { APP_NAME } from 'configs/AppConfig';\r\n\r\nexport default function Footer() {\r\n\treturn (\r\n\t\t
\r\n\t\t\tCopyright © {`${new Date().getFullYear()}`} {`${APP_NAME}`} All rights reserved.\r\n\t\t
\r\n\t)\r\n}\r\n\r\n","import React, { lazy, Suspense } from \"react\";\r\nimport { Switch, Route, Redirect } from \"react-router-dom\";\r\nimport Loading from \"components/shared-components/Loading\";\r\nimport { APP_PREFIX_PATH } from \"configs/AppConfig\";\r\n\r\nexport const AppViews = () => {\r\n return (\r\n }>\r\n \r\n import(`./dashboard`))}\r\n />\r\n import(`./attendance`))}\r\n />\r\n import(`./guest`))}\r\n />\r\n import(`./users`))}\r\n />\r\n import(`./report`))}\r\n />\r\n import(`./inspection`))}\r\n />\r\n import(`./point-inspection`))}\r\n />\r\n import(`./substation`))}\r\n />\r\n import(`./settings`))}\r\n />\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default React.memo(AppViews);\r\n","import React from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport SideNav from \"components/layout-components/SideNav\";\r\nimport TopNav from \"components/layout-components/TopNav\";\r\nimport Loading from \"components/shared-components/Loading\";\r\nimport MobileNav from \"components/layout-components/MobileNav\";\r\nimport HeaderNav from \"components/layout-components/HeaderNav\";\r\nimport PageHeader from \"components/layout-components/PageHeader\";\r\nimport Footer from \"components/layout-components/Footer\";\r\nimport AppViews from \"pages/app-views\";\r\nimport { Layout, Grid } from \"antd\";\r\n\r\nimport navigationConfig from \"configs/NavigationConfig\";\r\nimport {\r\n SIDE_NAV_WIDTH,\r\n SIDE_NAV_COLLAPSED_WIDTH,\r\n NAV_TYPE_SIDE,\r\n NAV_TYPE_TOP,\r\n DIR_RTL,\r\n DIR_LTR,\r\n} from \"constants/ThemeConstant\";\r\nimport utils from \"utils\";\r\nimport { useThemeSwitcher } from \"react-css-theme-switcher\";\r\n\r\nconst { Content } = Layout;\r\nconst { useBreakpoint } = Grid;\r\n\r\nexport const AppLayout = ({ navCollapsed, navType, location, direction }) => {\r\n const currentRouteInfo = utils.getRouteInfo(\r\n navigationConfig,\r\n location.pathname\r\n );\r\n const screens = utils.getBreakPoint(useBreakpoint());\r\n const isMobile = !screens.includes(\"lg\");\r\n const isNavSide = navType === NAV_TYPE_SIDE;\r\n const isNavTop = navType === NAV_TYPE_TOP;\r\n const getLayoutGutter = () => {\r\n if (isNavTop || isMobile) {\r\n return 0;\r\n }\r\n return navCollapsed ? SIDE_NAV_COLLAPSED_WIDTH : SIDE_NAV_WIDTH;\r\n };\r\n\r\n const { status } = useThemeSwitcher();\r\n\r\n if (status === \"loading\") {\r\n return ;\r\n }\r\n\r\n const getLayoutDirectionGutter = () => {\r\n if (direction === DIR_LTR) {\r\n return { paddingLeft: getLayoutGutter() };\r\n }\r\n if (direction === DIR_RTL) {\r\n return { paddingRight: getLayoutGutter() };\r\n }\r\n return { paddingLeft: getLayoutGutter() };\r\n };\r\n\r\n return (\r\n \r\n \r\n {isNavTop && !isMobile ? : null}\r\n \r\n {isNavSide && !isMobile ? (\r\n \r\n ) : null}\r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n