{"version":3,"sources":["service/AuthServicev2.js","auth/User.js","service/Core/AccountService.js","service/MasterServices/MasterUserService.js","service/MasterServices/SysGlobalKeyService.js","components/MenuListAction.js","components/dashboad/WidgetDaySelection.js","service/ApiUrl.js","util/useAppCookies.js","ui/DateInput.js","ui/Input.js","service/GeneralServices/ModuleService.js","components/dashboad/WidgetPeriodSelection.js","ui/SingleSelection.js","components/tableComponent/PopoverList.js","components/tableComponent/ColList.js","components/PageLoading.js","service/BatchParameterv2.js","ui/ComplexAutocomplete.js","ui/SwitchInput.js","enum/paramTipiEnum.js","components/Loading.js","service/IKIseAlimServices/KullaniciRolleriService.js","service/MasterServices/SysGlobalGroupService.js","components/ActionItem.js","components/NoteDialog.js","service/IkIseAlimKullanicilariService.js","service/BaseServiceV2.js","util/DynamicIcon.js","i18n.js","components/TruncatedText.js","components/DonemOptions.js","util/useQuery.js","enum/BatchStatusEnum.js","util/useOutsideClick.js","service/IKIseAlimServices/SysRolService.js","service/GeneralServices/MenulerService.js","service/SGKSirketlerService.js","util/filterByField.js","service/GeneralServices/MailGruplariService.js","ui/InputText.js","service/IKServices/IKSubelerService.js","components/dashboad/ToplamTesvikWidget.js","service/SGKEviziterapordurumlariService.js","service/GeneralServices/SehirService.js","ui/FixedWidthText.js","components/MenuAction .js","ui/MonthYearInput.js","service/MasterServices/WorkerPlannedJobservice.js","enum/SGKWorkerTipi.js","enum/WorkerJobStatus.js","enum/WorkerTaskStatus.js","service/MasterServices/SGKWorkerTaskService.js","service/MasterServices/SGKWorkerMonitorService.js","enum/RobotMonitorType.js","enum/MonitorStatus.js","service/MasterServices/SGKWorkerService.js","enum/WorkerStatus.js","pages/master/WorkerPlannedJobCrudDialog.js","service/MasterServices/SGKWorkerMonitorSummaryService.js","pages/master/WorkerPlannedJobPage.js","ui/CustButton.js","enum/OperationType.js","ui/TimeInput.js","pages/master/TenantBatchOperationCrudDialog.js","pages/master/HangfireStatus.js","pages/master/TenantBatchOperationPage.js","service/MasterServices/HangfireLoglamaService.js","enum/ProccessStatus.js","pages/master/HangfireLoglamaPage.js","service/MasterServices/SGKMasterParameterService.js","pages/master/SGKMasterParameterCrudDialog.js","pages/master/SGKMasterParameterPage.js","store/ActionType.js","util/useMessage.js","enum/IsKazaDurumEnum.js","enum/MahsupTipi.js","ui/Select.js","util/usePaginationV2.js","components/DataTableManageButton.js","components/board/TableRowSelection.js","components/DataTable.js","service/MasterServices/SysGlobalKeyValueService.js","util/Global.js","util/DateUtil.js","util/NetworkService.js","store/AuthReducer.js","store/NotificationReducer.js","store/GlobalReducer.js","store/Store.js","util/ReduxNotificationHandler.js","PrivateRoute.js","menu/muiStyles.js","res/sec-logo.svg","menu/NavLinkMui.js","menu/MenuItem.js","menu/TreeNav.js","menu/RecursiveTreeView.js","menu/SideMenuV2.js","pages/LogoutPage.js","util/componentMapping.js","util/AppRoutes.js","pages/HomePage.js","res/sec-logo-2.svg","service/MasterServices/SharedMemoeryService.js","pages/LoginPagev2.js","enum/MasterUserTipi.js","service/MasterServices/MasterTenantModulService.js","enum/ModulTipi.js","pages/master/MasterUserCrudDialog.js","service/MasterServices/MasterTenantUserModulService.js","pages/master/MasterTenantUserModulDialog.js","service/MasterServices/MasterUserTenantService.js","pages/master/MasterUserTenantDialog.js","pages/master/MasterUserPage.js","enum/AuthenticationType.js","pages/master/MasterTenantCrudDialog.js","ui/CheckBoxListInput.js","pages/master/MasterTenantModulDialog.js","pages/master/TenantBatchOperationDialog.js","pages/master/MasterTenantPage.js","pages/master/BatchOperationCrudDialog.js","pages/master/BatchOperationPage.js","pages/master/SysGlobalKeyCrudDialog.js","pages/master/SysGlobalKeyPage.js","routersMaster.js","menu/MasterSideMenu.js","pages/MasterHomePage.js","MainRouterv2.js","App.js","util/favicon.js","reportWebVitals.js","index.js","util/Enums.js","components/dashboad/EViziteWidget.js","components/dashboad/CalisanSayisiWidget.js","components/dashboad/IsKazaWidget.js","components/dashboad/EBorcWidget.js","components/dashboad/TescilIzlemeWidget.js","components/dashboad/MahsuplarWidget.js","components/dashboad/GirisCikisWidget.js","pages/Dashboard.js","enum/FilterOptionEnum.js","components/ListPageActions.js","components/DownloadButton.js","ui/ComplexSelect .js","layout/LangMenu.js","layout/SwitchDialog.js","layout/ToolBar.js","util/useExitPrompt.js","layout/Page.js","components/SwitchCell.js","ui/EnumSelect.js","components/DashboardWidget.js","Config.js","service/MasterServices/MasterTenantService.js","service/MasterServices/TenantBatchOperationService.js","components/DateRangePickerPopup.js","components/DateFilterCell.js","components/DialogConfirm.js","ui/SubmitButton.js","service/DashboardServicev2.js","service/SGKABPYRKodlarService.js","components/DynamicOptions.js","components/YesNoTypeOptions.js","service/MasterServices/BatchOperationService.js"],"names":["AuthServicev2","ApiUrl","EbasvurCoreDomain","controller","MasterUser","username","password","a","this","easyPost","auth","authenticate","response","resultObject","sessionKey","token","listAuthorizedTenants","tenantGuid","authenticate4TenantToken","guid","fullPathPost","getbyToken","refreshToken","form","URLSearchParams","append","fetch","Config","API_URL","path","method","headers","body","json","accessToken","axios","get","timeout","data","BaseServiceV2","authServicev2","User","isMaster","tenantName","tenantIcon","module","masterToken","userId","id","adSoyad","AccountService","user","authService","login","result","isSuccess","message","MasterUserservice","masterUserTipi","sysMasterRes","resultCount","fullName","masteruser","getAuthorizedTenants","tenant","login4Tenant","masterTenant","userResponse","KullaniciRolleriservice","rolSistem","kullaniciId","sgkRol","length","name","iconUrl","Moduleservice","isSysDefault","res","pageurl","yol","detail","loginSessionKey","Accountservice","MasterUserService","MasterDomain","endpoint","Register","SysGlobalKeyService","SysGlobalKey","easybulkPost","SyncGlobalUpdate","SysGlobalKeyservice","MenuListAction","menuItems","buttonLabel","buttonVariant","React","useState","anchorEl","setAnchorEl","open","Boolean","handleClose","style","textAlign","onClick","event","currentTarget","size","variant","onClose","MenuListProps","map","item","index","label","icon","action","WidgetDaySelection","day","setDay","position","top","right","padding","defaultValue","value","onChange","e","target","SGKDomain","IKDomain","IKIseAlimDomain","AxDomain","PMADomain","SGKIsKazasiBildirimleri","SGKABPYRSubeler","SGKBolgeler","SGKIsKazalariWS","SGKEViziteWS","SGKEViziteOnayliWS","SGKEViziteOnayliDetayWS","SGKTescilGirisCikisIsEmir","SGKEBorcuYokturKayitlari","SGKTahakkukFisleri","SGKHizmetListesi","SGKMufredatKarti","SGKEmanet","SGKAsgariUcretDestegi","SGKGirisCikislar","SGKABPYRSGKHizmetList","SGKGirisCikisKontrol","SGKABPYRSGKTesvikAdaylariFaydalanma","SGKTesvikAdaylari","SGKTesvikMonitor","SGKPotansiyelTesvikSorgulama","SGKBatchParameter","SGKDashboard","SGKTesvikDurumlari","sgkeviziterapordurumlari","sgkMusteri","sgkIsKazalariWSLog","sgkAUDDonemPersonelSayisi","sgkAUDIsyeriGunSayilari","sgkAUDTesviklerPage","sgkIsKazasiMonitorWSLog","sgkIsKazasiMonitorWS","sgkABPYRKodlar","sgkIsKazasiBatchMonitor","sgkIsKazasiMonitor","sgkEViziteMonitorWS","sgkEViziteOnayliMonitorWS","sgkEViziteOnayLog","sgkViziteMailAlicilari","sgkSirketler","sgkEBorcBatchMonitor","sgkEBorcuYokturMonitor","sgkEViziteMahsupMonitor","sgkPeriods","sgkCalismaTakvimi","sgkEViziteMahsup","sgkEviziteMahsupLog","sgkIntegration","sgkSubeler","IKSubeler","kullanicilari","sgkSysRol","MasterTenant","MasterUserTenant","MasterTenantModul","MasterTenantUserModul","KullaniciRolleri","AxIntegration","MenulerIcon","MenulerYol","Menuler","RollerYetki","Sehir","BatchOperation","HangfireLoglama","TenantBatchOperation","WorkerPlannedJob","SGKWorkerTask","SGKWorkerMonitor","SGKWorkerMonitorSummary","MailGrupViziteAlici","SGKWorker","MailGruplari","SysGlobalKeyValue","SharedMemoery","Module","TescilWSLog","AdayIdxRoot","SysGlobalGroup","SGKParameter","KriterSecenekleri","SGKMasterParameter","eBasvuruGirisCikislar","Get","GetList","Pagination","Create","Update","UpdateDynamic","Delete","Remove","bulkReset","widgets","Calismadonemi","Tesvikkazanciniz","hataalantescilislemleri","eviziteonaybekleyenler","IskursuzSayisi","GetAktifAdaySayisi","GetToplamBildirilenPersonelSayisi","ToplamPEK","YeniAdaySayisi","personelsayisi","bildirimyapilmamisiskazasi","GirisCikisKontrolhatasi","getEBorcuYokturKayitlari","ensonborcsorgutarihi","eborctoplami","borcuolansirketsayisi","viziteMahsup","borcuolanisyerisayisi","integration","HasIsKazaSorguTarihle","GetPersonalByNo","GetPersonalByTC","reports","personelSayisi","nedenlerineGoreCikislar","donemlereGoreCikislar","nedenlerineGoreEksikGunler","donemlereGoreEksikGunler","donemlereGoreIsKazalari","bolgelereGoreIsKazalari","donemlereGoreRaporlar","bolgelereGoreRaporlar","donemlereGorePEK","refreshtoken4master","expireRefreshToken","getTenantByToken","COOKIE_NAME","useAppCookies","useCookies","cookies","setCookie","removeCookie","setUser","JSON","stringify","getUser","error","console","clearUser","DateInput","forwardRef","control","rules","margin","inputFormat","isDateTime","props","PickerComponent","DateTimePicker","DatePicker","fullWidth","render","field","fieldState","dateAdapter","AdapterDateFns","locale","trLocale","newValue","InputformatDate","renderInput","params","helperText","autoComplete","Input","ref","inputRef","InputLabelProps","shrink","WidgetPeriodSelection","periodId","setPeriodId","backgroundColor","SingleSelection","items","keyField","valueField","labelField","separator","onItemSelected","onButtonClick","loading","selectLabel","selectedItem","setSelectedItem","getLabel","Array","isArray","join","handleButtonClick","selectedObject","find","container","spacing","xs","renderValue","selected","color","disabled","marginTop","PopoverList","displayField","undefined","title","anchorOrigin","vertical","horizontal","primary","ColList","PageLoading","memo","className","BatchParameterv2","easyGet","calismaDonemi","batchParameterv2","ComplexAutocomplete","onChangeFromParent","valueKey","displayKey","multiple","useEffect","getValue","options","getOptionLabel","option","isOptionEqualToValue","renderOption","checked","ListboxComponent","height","width","itemSize","itemCount","children","SwitchInput","setValue","onChangeForm","errorMessage","labelPlacement","paramTipiEnum","Loading","t","useTranslation","fontSize","fontWeight","SysGlobalGroupservice","ActionItem","NoteDialog","g","isGlobalSet","useGlobal","isCopied","setIsCopied","setLoading","showMessage","useMessage","setlocalMessage","loclamessage","maxWidth","scroll","multiline","rows","sx","justifyContent","then","MessageType","ERROR","navigator","clipboard","writeText","catch","err","IkIseAlimKullanicilariService","getKullaniciYetkisi","Kullanicilariservice","getPagination","page","max","MAX_RESULT","orderBy","takeAll","order","key","type","url","post","filter","paging","PageSize","getList","exportCsv","filename","cSVList","isCreateCsv","responseType","fileDownload","update","fullupdate","create","paramters","header","delete","remove","API_EbasvuruUrl","DynamicIcon","iconName","Icon","Icons","i18n","use","initReactI18next","init","debug","resources","tr","translation","translationTR","en","translationEN","lng","fallbackLng","initImmediate","interpolation","escapeValue","TruncatedText","displayText","text","maxLength","truncated","noTruncateText","split","substring","arrow","disableHoverListener","noWrap","DonemOptions","date","Date","now","getFullYear","yil","month","getMonth","ay","push","useQuery","search","useLocation","useMemo","BatchStatusEnum","useOutsideClick","useRef","handleClick","current","contains","document","addEventListener","SysRolservice","MenulerService","getMaxSira","Menulerservice","Sirketlerservice","filterByField","existingList","list","existingValues","includes","filterByFields","existingKey","listKey","MailGruplariservice","InputText","readOnly","InputProps","iksubelerservice","ToplamTesvikWidget","setTutar","history","useHistory","getDonem","_periodId","dashboardServicev2","getTesvikKazanciniz","_tutar","cursor","lineHeight","background","borderRadius","display","alignItems","Sehirservice","FixedWidthText","gap","overflow","flex","log","MenuAction","MenuIcon","marginLeft","MonthYearInput","formattedDate","setFormattedDate","handleDateChange","inputProps","pattern","WorkerPlannedJobService","bulkSet","WorkerPlannedJobservice","SGKWorkerTipi","WorkerJobStatusEnum","WorkerTaskStatusEnum","SGKWorkerTaskService","SGKWorkerTaskservice","SGKWorkerMonitorService","bulkResetJobOrWorker","bulkSetJobOrWorker","getMonitorJobSummary","jobId","SGKWorkerMonitorservice","RobotMonitorTypeEnum","MonitorStatusEnum","SGKWorkerService","SGKWorkerservice","WorkerStatusEnum","WorkerPlannedJobCrudDialog","crudTip","crudtitle","SetCrudtitle","TenantIdList","setTenantIdList","useSelector","state","inputObject","tenantId","tip","calismaZamani","status","priority","parameter1","parameter2","useForm","defaultValues","handleSubmit","register","reset","errors","formState","setStatusUpdated","masterTenantservice","TenantIdRes","statusUpdated","input","onSubmit","Dialog","DialogTitle","DialogContent","dividers","Grid","required","EnumSelect","StatusEnum","DialogActions","Button","SubmitButton","startIcon","SGKWorkerMonitorSummaryservice","WorkerPlannedJobPage","selectedItems","setSelectedItems","wokrerTasks","SetWorkerTasks","wokrerMonitors","SetWorkerMonitors","wokrers","SetWorkers","actionType","setActionType","openDialog","setOpenDialog","setCrudTip","SetJobId","onCrudDialogOpen","setCrudDialogOpen","autoReset","setAutoReset","fetchData","taskDataList","setSearchData","mointorDataList","workerDataList","workerSummaryDataList","intervalId","setInterval","clearInterval","handleAction","actionMap","Reset","service","Object","values","postAction","mainDataList","Set","WorkerSet","WorkerReset","workerTaskSet","WorkerTaskReset","WorkerMonitorSet","WorkerMonitorReset","WorkerMonitorSetAll","WorkerMonitorResetAll","warn","columns","passItem","searchable","sortable","execute","Settings","setSelectedTab","selectOptions","DynamicOptions","serviceType","searchType","searchField","orderByField","FilterOptionEnum","enumObject","parseAndFormatDateTime","searchComponent","DateFilterCell","taskColumns","monitorColumn","YesNoTypeOptions","SwitchCell","completed","workerColumn","workerSummaryColumn","usePaginationV2","pageColumns","defaultSearchData","defaultOrderBy","openConfirmDialog","ActionButtons","ListPageActions","left","CustButton","Add","AddTask","RestartAlt","RefreshRounded","DownloadButton","WorkTaskButtons","WorkMointorButtons","WorkListButtons","selectedTab","Page","Box","bgcolor","Tabs","centered","indicatorColor","Tab","flexGrow","mt","DataTable","selectAll","setSelected","md","DialogConfirm","content","onConfirm","OperationType","TimeInput","timeStringToDate","timeString","Number","hours","minutes","seconds","setHours","FormControl","LocalizationProvider","TimePicker","toTimeString","ampm","TextField","TenantBatchOperationCrudDialog","OperationIdList","setOperationIdList","intervalTipi","setIntervalTipi","daysOfWeeklist","daysList","from","_","i","operationId","aktif","operationType","interval","specificTime","toEmail","ccEmail","bccEmail","MailGruplariList","setMailGruplariList","getMailGruplariList","TenantId","TenantBatchOperationservice","getTenantMailGroup","r","loadSource","BatchOperationservice","OperationIdRes","daysOfWeek","daysOfMonth","OperationTypeHandler","GetIntervalTipi","UpdateForm","InsertForm","Fragment","StatusIcon","Tooltip","getTooltipTitle","CheckCircle","Error","PlayArrow","HourglassEmpty","HourglassFull","Replay","HelpOutline","getIcon","TenantBatchOperationPage","deleteItem","setDeleteItem","dialogOpen","setDialogOpen","logOperation","setLogOperation","logTitle","setLogTitle","handelaktifSwitchChange","newCheckedVal","handelisEmailTestSwitchChange","isEmailTest","handleDeleteAction","TriggerTask","LogOperation","ResetOperation","inputString","dayNumber","parseInt","dayObject","IconButton","handleOpenCrudDialog","Edit","crudItem","setCrudItem","handleTenantBatchOperationClose","HangfireLoglamaservice","ProccessStatus","HangfireLoglamaPage","isTruncated","setIsTruncated","parseAndFormatDate","WrapText","prevState","SGKMasterParameterservice","SGKMasterParameterCrudDialog","paramTipi","setParamTipi","paramterName","paramKey","aciklama","onParamChange","getParameterInput","param","SGKMasterParameterPage","ParseDynamicItem","ActionType","LOGIN","MASTER_LOGIN","LOGOUT","ADD_NOTIFICATION","REMOVE_NOTIFICATION","CHANGE_LANG","SET_PINNED","LOAD_ICONS","LOAD_ICONS_ERROR","ADD_LIST","REMOVE_LIST","GET_LIST","INFO","toast","closeOnClick","autoClose","IsKazaDurumEnum","MahsupTipi","Select","displayEmpty","labelId","lazyInit","inited","setInited","setData","setPage","pageCount","setPageCount","count","setCount","searchData","setErrors","setMax","setOrderBy","Math","ceil","clearTimeout","setTimeout","download","column","cSVColumn","trim","uuidv4","DataTableManageButton","rowIndex","rowActions","Menu","itemAction","MenuItem","TableRowSelection","onSelect","Checkbox","defaultChecked","StyledTableCell","withStyles","theme","head","TableCell","SearchInput","root","InputBase","SearchSelect","border","NativeSelect","useStyles","makeStyles","card","paddingBottom","contentRoot","paddingTop","colSpan","TableRow","CircularProgress","NoResultFound","LabelCell","handleOrderBy","hasOrderBy","align","numeric","sortDirection","TableSortLabel","active","direction","SearchCell","placeholder","onSearch","process","callSearchMethod","val","obj","converted","disableUnderline","onKeyPress","charCode","startAdornment","marginRight","endAdornment","DefaultContainerComponent","classes","Card","CardHeader","headerStyle","subheader","subtitle","cardStyle","rowStyle","ContainerComponent","isSearchable","some","setSelectAll","resetSelection","resolve","colIndex","resolveTitle","component","isSelected","useCallback","EmptyHeadCell","TableContainer","Table","TableHead","TableBody","hover","TablePagination","rowsPerPageOptions","rowsPerPage","onPageChange","newPage","onRowsPerPageChange","SysGlobalKeyValueService","GetGlobal","registerKey","SysGlobalKeyValueservice","global","isLoading","setIsLoading","dispatch","useDispatch","getGlobal","payload","Key","formatDate","format","excp","formatDateForApi","exc","datetime","getTime","getTimezoneOffset","toISOString","NetworkService","setupInterceptors","store","interceptors","request","config","getState","headerToken","Promise","reject","InitialData","isLoggedIn","pinned","panelLang","masterUser","tenantUser","InitData","notifications","rootReducer","combineReducers","lang","isMasterLoggedIn","notification","messageType","filtered","createStore","applyMiddleware","thunkMiddleware","ReduxNotificationHandler","messages","setMessages","m","forEach","PrivateRoute","rest","location","to","pathname","Search","styled","shape","alpha","palette","common","black","white","breakpoints","up","SearchIconWrapper","pointerEvents","StyledInputBase","paddingLeft","transition","transitions","BoldIcon","alt","src","muiStyles","boldLabel","whiteSpace","boldIcon","toolBar","paddingRight","appBar","sideMenu","overflowY","boxSizing","menu","help","logout","groupItem","wordWrap","overflowWrap","NavLinkMui","exact","ListItem","button","activeClassName","ListItemIcon","ListItemText","TreeNav","parentPath","handleSelect","TreeItem","nodeId","iconPath","RecursiveTreeView","routers","expandedGroups","setExpandedGroups","newExpandedGroups","TreeView","expanded","defaultCollapseIcon","ExpandMore","defaultExpandIcon","ChevronRight","renderTreeItems","level","isGroup","currentPath","uniqueKey","crypto","randomUUID","SideMenuV2","onToggle","Routers","moduleChange","defMoudel","modules","filteredRouters","setFilteredRouters","moduleList","setModuleList","filterRouters","filterText","router","filteredItems","toLowerCase","AppBar","elevation","Toolbar","Switch","formControl","marginBottom","List","LogoutPage","componentMapping","Dashboard","lazy","ChartReportPage","SubeListPagev2","TescilListPagev2","ViziteListPagev2","ViziteRaporPagev2","EViziteOnayLogListPage","EviziteMahsupPage","KazaListPagev2","Bildirimsizler","KazaBildirimListPageV2","BorcListPagev2","KullanicilariPage","ViziteMailAlicilariPage","EViziteMonitorWSListPage","EViziteOnayliMonitorWSListPage","EViziteMahsupMonitorPage","IsKazasiMonitorWSListPage","IsKazasiMonitorListPage","IsKazasiBatchMonitorListPage","EBorcuYokturMonitorPage","EBorcBatchMonitorPage","CalismaTakvimiPage","PeriodsPage","SirketlerPage","MenulerIconPage","MenulerYolPage","MenulerPage","TesvikOptimizasyonPagev2","TesvikPagev2","RaporListPagev2","AsgariUcretDestegiRaporPage","AUDDonemPersonelSayisiPage","AUDIsyeriGunSayilariPage","AUDTesviklerPage","SysRolPage","BolgelerPage","SgkArsivPage","MailGrupViziteAliciPage","MailGruplariPage","SGKParameterPage","AdayIdxRootPage","TescilGirisKontrolPage","TescilCikisKontrolPage","AppRoutes","renderDynamicRoutes","Component","fallback","isfilter","withRouter","setPinned","setRouters","setDefMoudel","setModules","onMenuToggle","pin","getElementById","toolbar","classList","add","fetchRoutes","moduleId","SharedMemoeryservice","LoginPagev2","tenantList","setTenantList","selectedTenant","setSelectedTenant","setMasterToken","query","autoLogin","uniqueUrl","tenantToken","pageYol","autoLoginwithSession","loginWithSession","onSelectTenant","window","href","pma","SSOLogin","targetTenant","loginAsTenant","handleSelectTenant","Container","lg","CardContent","Autocomplete","CardActions","InputAdornment","MasterUserTipi","MasterTenantModulService","MasterTenantModulservice","ModulTipi","MasterUserCrudDialog","masterTenantItems","setMasterTenantItems","setTenantModul","tckn","tenantler","modulTipi","MasterTenantUserModulservice","MasterTenantUserModulDialog","selectedKey","tenantModul","onDeleteItem","DataServiceList","masterUserId","handleSingleButtonClick","masterTenantModulId","MasterUserTenantservice","MasterUserTenantDialog","MasterUserPage","setselectedKey","isDetayDialogOpen","setDetayDialogOpen","MasterUserTenantKey","setMasterUserTenantKey","isMasterUserTenantOpen","setMasterUserTenantOpen","masterUserTenant","masterTenantUserModul","tipler","handleMasterUserClose","AuthenticationType","MasterTenantCrudDialog","isHash","setIsHash","connectionString","systemAuthenticationType","ldapHost","ldapDirectory","startPage","uiStartPage","CreateRounded","onChangeEnum","CheckBoxListInput","checkedItems","handleToggle","handleUncheckToggle","setChecked","Paper","dense","role","keys","ListItemButton","MasterTenantModulDialog","TenantBatchOperationDialog","dataListItem","setdataListItem","RefeshDataSource","dataSource","listdropList","filteredRoles","MasterTenantPage","closeDetayDialog","isTenantBatchOperationOpen","setTenantBatchOperationOpen","TenantBatchOperationKey","setTenantBatchOperationKey","masterTenantModul","tenantBatchOperation","handleMasterTenantClose","closeConfirmDialog","BatchOperationCrudDialog","operationName","BatchOperationPage","handleBatchOperationClose","SysGlobalKeyCrudDialog","isGroupIns","setIsGroupIns","SysGlobalGroupIdList","setSysGlobalGroupIdList","keyLabel","groupKey","sira","tRKeyValue","trKeyValue","eNKeyValue","enKeyValue","sysGlobalGroupId","SysGlobalKeyPage","globalScript","setGlobalScript","globalData","setGlobalData","handelImportScript","resultAsJson","ImportExport","MasterRouter","Inventory","PeopleAlt","MasterSideMenu","renderRoutes","subItem","subKey","RenderPages","themeOptions","components","MuiTextField","defaultProps","styleOverrides","MuiButton","disableElevation","main","secondary","info","danger","MainRouterv2","setIsMaster","createTheme","trTR","SwitchView","StyledEngineProvider","injectFirst","ThemeProvider","App","link","querySelector","createElement","rel","appendChild","timestamp","updateFavicon","DefaultIcon","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","ReactDOM","StrictMode","WARNING","YesNoType","YES","NO","EViziteWidget","sayi","setSayi","toDate","start","subDays","startDate","endDate","getEViziteOnayBekleyenler","_sayi","DashboardWidget","Intl","NumberFormat","CalisanSayisiWidget","getPersonelSayisi","verticalAlign","IsKazaWidget","formated","getBildirimYapilmamisIsKazasi","rowSpan","EBorcWidget","tutar","minimumFractionDigits","TescilIzlemeWidget","getHataAlanTescilIslemleri","MahsuplarWidget","getTotal","durum","totalTutar","StatisticDisplay","GirisCikis","getGirisCikisKontrolhatasi","PersonRemoveAlt1Outlined","ext","code","ComplexSelect","isMultiColumn","currentValue","LangMenu","changeLanguage","keepMounted","SwitchDialog","full","selTenant","setSelTenant","borderTop","avatar","ToolBar","showAvatar","isDialogOpen","Typography","Fab","ChangeCircleOutlined","mr","useExitPrompt","isDirty","handleBeforeUnload","preventDefault","removeEventListener","fixed","checkedVal","enumEntries","entries","selectedValue","String","CDN_URL","VERSION","COOKIE_CONFIG","maxAge","domain","secure","sameSite","TenantBatchOperationService","TriggerOperation","GetTenantMailGroup","DateRangePickerPopup","mode","minDate","maxDate","onClear","wapperRef","tempValue","setTempValue","Popper","StaticDateRangePicker","views","displayStaticWrapperAs","startProps","endProps","mx","startField","endField","isDisabled","setIsDisabled","disableEscapeKeyDown","autoFocus","LoadingIcon","DashboardService","calismaGunu","ABPYRKodlarservice","serviceConfig","ABPYRKodlar","SGKEviziterapor","IKSubelerservice","Sirketler","sistem","Tenant"],"mappings":"kNAKMA,E,kDAEF,aAAe,uCACLC,IAAOC,kBAAoBD,IAAOE,WAAWC,Y,gFAKvD,WAAYC,EAAUC,GAAtB,eAAAC,EAAA,sEAC2BC,KAAKC,SAASR,IAAOS,KAAKC,aAAc,CAC3DN,SAAUA,EACVC,SAAUA,IAHlB,cACUM,EADV,yBAKWA,EAASC,cALpB,gD,6HAQA,WAAsBC,GAAtB,eAAAP,EAAA,sEAC2BC,KAAKC,SAASR,IAAOS,KAAKC,aAAc,CAC3DG,WAAYA,IAFpB,cACUF,EADV,yBAIWA,EAASC,cAJpB,gD,gIAOA,WAA2BE,GAA3B,eAAAR,EAAA,sEAC2BC,KAAKC,SAASR,IAAOS,KAAKM,sBAAuB,KAAMD,GADlF,cACUH,EADV,yBAGWA,EAASC,cAHpB,gD,wHAMA,WA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WAAY,cACZyB,aAAc,iBACb9H,eAAgB,CACjBua,QAAS5P,IACTtE,WAAY,KACZyB,aAAc,YACbmuB,QAAS,CACV1b,QAASjjB,IACT+O,WAAY,KACZyB,aAAc,eAKZ2nB,EAAS+c,EAAczwB,IAAgBywB,EAAcE,gBAErDx6B,EAAO6K,YAAgB,CAC3BxC,QAASkV,EAAOlV,QAChB0C,kBAAkB,eAAMwS,EAAOriB,QAC/B8P,eAAgB,CAAE9lB,KAAMq4B,EAAO3nB,aAAcmF,KAAM,OACnDH,SAAS,IAQX,OALA5D,qBAAU,YACHgJ,EAAKxL,SAAWwL,EAAKjd,KAAKkC,SAE9B,CAAC+a,EAAKxL,UAELwL,EAAKxL,QACA,wBAAQjM,MAAM,GAAGgN,UAAQ,EAAzB,SAA2B8C,EAAE,mBAE7B2H,EAAKjd,KAAK0E,KAAI,SAACC,EAAMC,GAAP,OACnB,wBAAoBY,MAAOb,EAAK61B,EAAOppB,YAAvC,oBACOzM,EAAK61B,EAAO3nB,gBADNjO,OAOJlB,QAAM4P,KAAKuT,I,mGC3GpBY,EAAmB,WAErB,IAAOnS,EAAKC,cAALD,EAEP,OACIiQ,OAAOC,OAAOwrB,KAAWtsC,KAAI,SAAAC,GAAI,OAAI,wBAAsBa,MAAOb,EAAKjE,GAAlC,SAAuC4U,EAAE3Q,EAAKE,QAAjCF,EAAKjE,S,4ECMzD+rB,EAAwB,I,kDAT1B,aAAe,uCACL9uB,IAAOmF,aAAenF,IAAOE,WAAWmM,gB,UAHlB/J,MAarBwsB,Q","file":"static/js/main.e2e678ba.chunk.js","sourcesContent":["import axios from \"axios\";\r\nimport Config from \"../Config\";\r\nimport BaseServiceV2 from \"./BaseServiceV2\";\r\nimport ApiUrl from './ApiUrl';\r\n\r\nclass AuthServicev2 extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.EbasvurCoreDomain + ApiUrl.controller.MasterUser);\r\n }\r\n\r\n\r\n\r\n async login(username, password) {\r\n const response = await this.easyPost(ApiUrl.auth.authenticate, {\r\n username: username,\r\n password: password\r\n });\r\n return response.resultObject;\r\n }\r\n\r\n async loginSessionKey(sessionKey) {\r\n const response = await this.easyPost(ApiUrl.auth.authenticate, {\r\n sessionKey: sessionKey,\r\n });\r\n return response.resultObject;\r\n }\r\n\r\n async getAuthorizedTenants(token) {\r\n const response = await this.easyPost(ApiUrl.auth.listAuthorizedTenants, null, token);\r\n\r\n return response.resultObject;\r\n }\r\n\r\n async login4Tenant(tenantGuid,token) {\r\n const response = await this.easyPost(ApiUrl.auth.authenticate4TenantToken, {\r\n guid: tenantGuid,\r\n },token);\r\n return response.resultObject;\r\n }\r\n\r\n async getbyToken(token) {\r\n const response = await this.fullPathPost(ApiUrl.auth.getbyToken, null,token);\r\n return response.resultObject;\r\n }\r\n\r\n\r\n\r\n async refresh(refreshToken) {\r\n const form = new URLSearchParams();\r\n form.append(\"grant_type\", \"refresh_token\");\r\n form.append(\"refresh_token\", refreshToken);\r\n\r\n\r\n const response = await fetch(Config.API_URL + this.path, {\r\n method: 'post',\r\n headers: {\r\n 'Accept': 'application/json',\r\n 'Content-Type': 'application/x-www-form-urlencoded',\r\n },\r\n body: form\r\n\r\n });\r\n\r\n return await response.json();\r\n }\r\n\r\n async getAccount(accessToken) {\r\n try {\r\n const response = await axios.get(`${Config.API_URL}/auths/account`,\r\n {\r\n timeout: 60000,\r\n headers: {\r\n 'Authorization': `Bearer ${accessToken}`,\r\n 'Accept': 'application/json'\r\n }\r\n }\r\n );\r\n\r\n return response.data.resultObject;\r\n } catch (e) {\r\n return null;\r\n }\r\n }\r\n\r\n}\r\n\r\nconst authServicev2 = new AuthServicev2();\r\n\r\nexport default authServicev2;\r\n","export class User {\r\n constructor({\r\n accessToken = '', isMaster = false, tenantName = '', tenantIcon = '', module = '', masterToken = '', userId = 0\r\n } = {}) {\r\n this.accessToken = accessToken;\r\n this.isMaster = isMaster;\r\n this.tenantName = tenantName;\r\n this.tenantIcon = tenantIcon;\r\n this.module = module;\r\n this.masterToken = masterToken;\r\n this.id = userId;\r\n this.adSoyad = '';\r\n }\r\n\r\n\r\n}\r\n","import { User } from \"../../auth/User\";\r\nimport authService from \"../AuthServicev2\";\r\nimport Moduleservice from \"../GeneralServices/ModuleService\";\r\nimport KullaniciRolleriservice from \"../IKIseAlimServices/KullaniciRolleriService\";\r\nimport MasterUserservice from \"../MasterServices/MasterUserService\";\r\n\r\nclass AccountService {\r\n\r\n\r\n constructor() {\r\n this.user = new User();\r\n }\r\n\r\n async login(username, password) {\r\n\r\n const result = await authService.login(username, password);\r\n\r\n if (!result) {\r\n return {\r\n isSuccess: false,\r\n message: \"message.invalidUsernameOrPassword\"\r\n }\r\n }\r\n\r\n this.user.masterToken = result.token;\r\n\r\n const sysMasterRes = await MasterUserservice.get({ username: username, masterUserTipi: 1 }, result.token);\r\n\r\n if (sysMasterRes.isSuccess && sysMasterRes.isSuccess && sysMasterRes.resultCount > 0) {\r\n this.user.adSoyad = sysMasterRes.fullName ?? username;\r\n this.user.accessToken = result.token;\r\n this.user.isMaster = true;\r\n return {\r\n isSuccess: true,\r\n isMaster: true,\r\n masteruser: this.user\r\n }\r\n }\r\n\r\n\r\n\r\n const tenant = await authService.getAuthorizedTenants(this.user.masterToken);\r\n\r\n return {\r\n isSuccess: true,\r\n tenant: tenant,\r\n isMaster: false\r\n };\r\n\r\n }\r\n\r\n async loginAsTenant(tenant) {\r\n\r\n try {\r\n\r\n const result = await authService.login4Tenant(tenant.masterTenant.guid, this.user.masterToken);\r\n\r\n if (!result.token) {\r\n return {\r\n isSuccess: false,\r\n message: \"message.login4TenantIssue\"\r\n }\r\n }\r\n\r\n const userResponse = await authService.getbyToken(result.token);\r\n\r\n if (!userResponse) {\r\n return {\r\n isSuccess: false,\r\n message: \"message.getUserInfoIssue\"\r\n }\r\n }\r\n\r\n var sgkRol = await KullaniciRolleriservice.get({ rolSistem: \"SGK\", kullaniciId: userResponse.id }, result.token);\r\n\r\n if (!(sgkRol.isSuccess && sgkRol.resultObject && sgkRol.resultObject.length > 0)) {\r\n return {\r\n isSuccess: false,\r\n message: \" message.SgkRolMandatory\"\r\n };\r\n }\r\n\r\n this.user.accessToken = result.token;\r\n this.user.isMaster = false;\r\n this.user.tenantName = tenant.masterTenant.name;\r\n this.user.tenantIcon = tenant.masterTenant.iconUrl;\r\n this.user.id = userResponse.id;\r\n this.user.adSoyad = userResponse.adSoyad;\r\n\r\n var res = await Moduleservice.get({ isSysDefault: true }, this.user.accessToken);\r\n let pageurl = \"/\";\r\n if (res && res.isSuccess && res?.resultObject[0]?.yol) {\r\n pageurl = res?.resultObject[0]?.yol;\r\n }\r\n\r\n\r\n\r\n return {\r\n isSuccess: true,\r\n pageurl: pageurl,\r\n user: this.user\r\n };\r\n } catch (e) {\r\n\r\n return {\r\n isSuccess: false,\r\n message: \"message.faildToLogin\",\r\n detail: e\r\n };\r\n }\r\n\r\n }\r\n\r\n async loginWithSession(sessionKey) {\r\n\r\n const result = await authService.loginSessionKey(sessionKey);\r\n if (!result) {\r\n return {\r\n isSuccess: false,\r\n message: \"message.invalidUsernameOrPassword\"\r\n }\r\n }\r\n\r\n this.user.masterToken = result.token;\r\n const tenant = await authService.getAuthorizedTenants(this.user.masterToken);\r\n\r\n return {\r\n isSuccess: true,\r\n tenant: tenant,\r\n isMaster: false\r\n };\r\n\r\n }\r\n\r\n}\r\n\r\nconst Accountservice = new AccountService();\r\n\r\nexport default Accountservice;","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass MasterUserService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.MasterDomain + ApiUrl.controller.MasterUser);\r\n }\r\n\t\r\n\t async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }\r\n}\r\n\r\nconst MasterUserservice = new MasterUserService();\r\n\r\nexport default MasterUserservice;","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass SysGlobalKeyService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.MasterDomain + ApiUrl.controller.SysGlobalKey);\r\n }\r\n\r\n async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }\r\n\r\n async SyncGlobalUpdate(data) {\r\n return await this.easybulkPost(ApiUrl.endpoint.SyncGlobalUpdate, data);\r\n }\r\n}\r\n\r\nconst SysGlobalKeyservice = new SysGlobalKeyService();\r\n\r\nexport default SysGlobalKeyservice;","import React from 'react';\r\nimport Button from '@mui/material/Button';\r\nimport Menu from '@mui/material/Menu';\r\nimport { useTranslation } from 'react-i18next';\r\nimport ActionItem from './ActionItem';\r\nimport useGlobal from '../util/Global';\r\n\r\nconst MenuListAction = ({ menuItems, buttonLabel = 'İŞLEM', buttonVariant = 'contained' }) => {\r\n //const { t } = useGlobal();\r\n const [anchorEl, setAnchorEl] = React.useState(null);\r\n const open = Boolean(anchorEl);\r\n\r\n const handleClick = (event) => {\r\n setAnchorEl(event.currentTarget);\r\n };\r\n\r\n const handleClose = () => {\r\n setAnchorEl(null);\r\n };\r\n\r\n return (\r\n
\r\n \r\n \r\n {menuItems.map((item, index) => (\r\n {\r\n item.action();\r\n handleClose(); // Close menu after action\r\n }}\r\n />\r\n ))}\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default MenuListAction;\r\n","import * as React from 'react';\r\nimport Popper from '@mui/material/Popper';\r\nimport Paper from \"@mui/material/Paper\";\r\n\r\nimport NativeSelect from '@mui/material/NativeSelect';\r\nimport IconButton from \"@mui/material/IconButton\";\r\nimport MoreVertOutlinedIcon from \"@mui/icons-material/MoreVertOutlined\";\r\n\r\nconst WidgetDaySelection = ({day, setDay, style}) => {\r\n\r\n const [anchorEl, setAnchorEl] = React.useState(null);\r\n\r\n const handleClick = (event) => {\r\n setAnchorEl(anchorEl ? null : event.currentTarget);\r\n };\r\n\r\n const open = Boolean(anchorEl);\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 setDay(e.target.value);\r\n setAnchorEl(null);\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\nexport default WidgetDaySelection;\r\n","const ApiUrl = {\r\n SGKDomain: \"/api/sgk\",\r\n EbasvurCoreDomain: \"/pma/core\",\r\n IKDomain: \"/api/ik\",\r\n IKIseAlimDomain: \"/api/ikisealim\",\r\n MasterDomain: \"/api/master\",\r\n AxDomain: \"/api/ax\",\r\n PMADomain: \"/api/pma/ebasvuru\",\r\n controller: {\r\n SGKIsKazasiBildirimleri: \"/sgkiskazasibildirimleri\",\r\n SGKABPYRSubeler: \"/sgkabpyrsubeler\",\r\n SGKBolgeler: \"/sgkbolgeler\",\r\n SGKIsKazalariWS: \"/sgkiskazalariws\",\r\n SGKEViziteWS: \"/sgkevizitews\",\r\n SGKEViziteOnayliWS: \"/sgkeviziteonayliws\",\r\n SGKEViziteOnayliDetayWS: \"/sgkeviziteonaylidetayws\",\r\n SGKTescilGirisCikisIsEmir: \"/sgktescilgiriscikisisemir\",\r\n SGKEBorcuYokturKayitlari: \"/sgkeborcuyokturkayitlari\",\r\n SGKTahakkukFisleri: \"/sgktahakkukfisleri\",\r\n SGKHizmetListesi: \"/sgkhizmetlistesi\",\r\n SGKMufredatKarti: \"/sgkmufredatkarti\",\r\n SGKEmanet: \"/sgkemanet\",\r\n SGKAsgariUcretDestegi: \"/sgkasgariucretdestegi\",\r\n SGKGirisCikislar: \"/sgkgiriscikislar\",\r\n SGKABPYRSGKHizmetList: \"/sgkabpyrsgkhizmetlist\",\r\n SGKGirisCikisKontrol: \"/sgkgiriscikiskontrol\",\r\n SGKABPYRSGKTesvikAdaylariFaydalanma: \"/sgkabpyrsgktesvikadaylarifaydalanma\",\r\n SGKTesvikAdaylari: \"/sgktesvikadaylari\",\r\n SGKTesvikMonitor: \"/sgktesvikmonitor\",\r\n SGKPotansiyelTesvikSorgulama: \"/sgkpotansiyeltesviksorgulama\",\r\n SGKBatchParameter: \"/sgkbatchparameter\",\r\n SGKDashboard: \"/sgkdashboard\",\r\n SGKTesvikDurumlari: \"/sgktesvikdurumlari\",\r\n sgkeviziterapordurumlari: \"/sgkeviziterapordurumlari\",\r\n MasterUser: \"/masteruser\",\r\n sgkMusteri: \"/sgkmusteri\",\r\n sgkIsKazalariWSLog: \"/sgkiskazalariwslog\",\r\n sgkAUDDonemPersonelSayisi: \"/sgkauddonempersonelsayisi\",\r\n sgkAUDIsyeriGunSayilari: \"/sgkaudisyerigunsayilari\",\r\n sgkAUDTesviklerPage: \"/sgkaudtesvikler\",\r\n sgkIsKazasiMonitorWSLog: \"/sgkiskazasimonitorwslog\",\r\n sgkIsKazasiMonitorWS: \"/sgkiskazasimonitorws\",\r\n sgkABPYRKodlar: \"/sgkabpyrkodlar\",\r\n sgkIsKazasiBatchMonitor: \"/sgkiskazasibatchmonitor\",\r\n sgkIsKazasiMonitor: \"/sgkiskazasimonitor\",\r\n sgkEViziteMonitorWS: \"/sgkevizitemonitorws\",\r\n sgkEViziteOnayliMonitorWS: \"/sgkeviziteonaylimonitorws\",\r\n sgkEViziteOnayLog: \"/sgkeviziteonaylog\",\r\n sgkViziteMailAlicilari: \"/sgkvizitemailalicilari\",\r\n sgkSirketler: \"/sgksirketler\",\r\n sgkEBorcBatchMonitor: \"/sgkeborcbatchmonitor\",\r\n sgkEBorcuYokturMonitor: \"/sgkeborcuyokturmonitor\",\r\n sgkEViziteMahsupMonitor: \"/sgkevizitemahsupmonitor\",\r\n sgkPeriods: \"/sgkperiods\",\r\n sgkCalismaTakvimi: \"/sgkcalismatakvimi\",\r\n sgkEViziteMahsup: \"/sgkevizitemahsup\",\r\n sgkEviziteMahsupLog: \"/sgkevizitemahsuplog\",\r\n sgkIntegration: \"/sgkintegration\",\r\n sgkSubeler: \"/sgksubeler\",\r\n IKSubeler: \"/iksubeler\",\r\n kullanicilari: \"/kullanicilari\",\r\n sgkSysRol: \"/sysrol\",\r\n MasterTenant: \"/mastertenant\",\r\n MasterUserTenant: \"/masterusertenant\",\r\n MasterTenantModul: \"/mastertenantmodul\",\r\n MasterTenantUserModul: \"/mastertenantusermodul\",\r\n KullaniciRolleri: \"/kullanicirolleri\",\r\n AxIntegration: \"/axintegration\",\r\n MenulerIcon: \"/menulericon\",\r\n MenulerYol: \"/menuleryol\",\r\n Menuler: \"/menuler\",\r\n RollerYetki: \"/rolleryetki\",\r\n Sehir: \"/sehir\",\r\n BatchOperation: \"/batchoperation\",\r\n HangfireLoglama: \"/hangfireloglama\",\r\n TenantBatchOperation: \"/tenantbatchoperation\",\r\n WorkerPlannedJob: \"/workerplannedjob\",\r\n SGKWorkerTask: \"/sgkworkertask\",\r\n SGKWorkerMonitor: \"/sgkworkermonitor\",\r\n SGKWorkerMonitorSummary: \"/sgkworkermonitorsummary\",\r\n MailGrupViziteAlici: \"/mailgrupvizitealici\",\r\n SGKWorker: \"/sgkworker\",\r\n MailGruplari: \"/mailgruplari\",\r\n SysGlobalKeyValue: \"/sysglobalkeyvalue\",\r\n SysGlobalKey: \"/sysglobalkey\",\r\n SharedMemoery: \"/sharedmemoery\",\r\n Module: \"/module\",\r\n TescilWSLog: \"/tescilwslog\",\r\n AdayIdxRoot: \"/adayidxroot\",\r\n SysGlobalGroup: \"/sysglobalgroup\",\r\n SGKParameter: \"/sgkparameter\",\r\n KriterSecenekleri: \"/kritersecenekleri\",\r\n SGKMasterParameter: \"/sgkmasterparameter\",\r\n eBasvuruGirisCikislar: \"/ebasvurugiriscikislar\",\r\n },\r\n endpoint: {\r\n Get: \"/get\",\r\n GetList: \"/getList\",\r\n Pagination: \"/pagination\",\r\n Create: \"/create\",\r\n Update: \"/update\",\r\n UpdateDynamic: \"/dynamic_update\",\r\n Delete: \"/delete\",\r\n Register: \"/register\",\r\n Remove: \"/remove\",\r\n bulkReset: \"/bulkreset\",\r\n bulkReset: \"/bulkreset\",\r\n reset: \"/reset\",\r\n bulkSet: \"/bulkset\",\r\n bulkResetJobOrWorker: \"/bulkResetJobOrWorker\",\r\n bulkSetJobOrWorker: \"/bulkSetJobOrWorker\",\r\n getpersonelinfo: \"/pma/ebasvuru/recruiter/getpersonelinfo\",\r\n getMaxSira: \"/getMaxSira\",\r\n getKullaniciYetkisi: \"/getKullaniciYetkisi\",\r\n uploadExcel: \"/uploadExcel\",\r\n LogOperation: \"/log_operation\",\r\n ResetOperation: \"/reset_operation\",\r\n getMonitorJobSummary: \"/getMonitorJobSummary\",\r\n GetTenantMailGroup: \"/getTenantMailGroup\",\r\n LoginAutomation: \"/LoginAutomation\",\r\n GetGlobal: \"/GetGlobal\",\r\n registerKey: \"/registerKey\",\r\n SyncGlobalUpdate: \"/SyncGlobalUpdate\",\r\n getikametmahalle: \"/get_ikamet_mahalle\",\r\n TriggerOperation: \"/trigger_operation\"\r\n\r\n\r\n },\r\n widgets: {\r\n Calismadonemi: \"/calismadonemi\",\r\n Tesvikkazanciniz: \"/tesvikkazanciniz\",\r\n hataalantescilislemleri: \"/hataalantescilislemleri\",\r\n eviziteonaybekleyenler: \"/eviziteonaybekleyenler\",\r\n IskursuzSayisi: \"/iskursuzSayisi\",\r\n GetAktifAdaySayisi: \"/getAktifAdaySayisi\",\r\n GetToplamBildirilenPersonelSayisi: \"/getToplamBildirilenPersonelSayisi\",\r\n ToplamPEK: \"/toplamPEK\",\r\n YeniAdaySayisi: \"/YeniAdaySayisi\",\r\n personelsayisi: \"/personelsayisi\",\r\n bildirimyapilmamisiskazasi: \"/bildirimyapilmamisiskazasi\",\r\n GirisCikisKontrolhatasi: \"/GirisCikisKontrolhatasi\",\r\n getEBorcuYokturKayitlari: \"/getEBorcuYokturKayitlari\",\r\n ensonborcsorgutarihi: \"/ensonborcsorgutarihi\",\r\n eborctoplami: \"/eborctoplami\",\r\n borcuolansirketsayisi: \"/borcuolansirketsayisi\",\r\n viziteMahsup: \"/viziteMahsup\",\r\n borcuolanisyerisayisi: \"/borcuolanisyerisayisi\"\r\n },\r\n integration: {\r\n HasIsKazaSorguTarihle: \"/hasIsKazaSorguTarihle\",\r\n GetPersonalByNo: \"/GetPersonalByNo\",\r\n GetPersonalByTC: \"/GetPersonalByTC\",\r\n },\r\n reports: {\r\n personelSayisi: \"/personelSayisi\",\r\n nedenlerineGoreCikislar: \"/nedenlerineGoreCikislar\",\r\n donemlereGoreCikislar: \"/donemlereGoreCikislar\",\r\n nedenlerineGoreEksikGunler: \"/nedenlerineGoreEksikGunler\",\r\n bildirimyapilmamisiskazasi: \"/bildirimyapilmamisiskazasi\",\r\n ensonborcsorgutarihi: \"/ensonborcsorgutarihi\",\r\n donemlereGoreEksikGunler: \"/donemlereGoreEksikGunler\",\r\n donemlereGoreIsKazalari: \"/donemlereGoreIsKazalari\",\r\n bolgelereGoreIsKazalari: \"/bolgelereGoreIsKazalari\",\r\n donemlereGoreRaporlar: \"/donemlereGoreRaporlar\",\r\n bolgelereGoreRaporlar: \"/bolgelereGoreRaporlar\",\r\n donemlereGorePEK: \"/donemlereGorePEK\"\r\n },\r\n auth: {\r\n authenticate: \"/authenticate\",\r\n refreshtoken4master: \"/refreshtoken_master\",\r\n listAuthorizedTenants: \"/listAuthorizedTenants\",\r\n authenticate4TenantToken: \"/authenticate4TenantToken\",\r\n expireRefreshToken: \"/expireRefreshToken\",\r\n getTenantByToken: \"/getTenantByToken\",\r\n getbyToken: \"/pma/ebasvuru/kullanici/getbyToken\"\r\n\r\n }\r\n\r\n};\r\n\r\nexport default ApiUrl;","import { useCookies } from \"react-cookie\";\r\n\r\n\r\nconst COOKIE_NAME = \"app_PMA_cookies\"; // Single cookie for storing all user data\r\n\r\nexport const useAppCookies = () => {\r\n const [cookies, setCookie, removeCookie] = useCookies([COOKIE_NAME]);\r\n\r\n // Get all stored cookie data as an object\r\n const getUser = () => {\r\n if (!cookies[COOKIE_NAME]) return null;\r\n try {\r\n const userData = cookies[COOKIE_NAME];\r\n return userData; // Ensures proper structure\r\n } catch (error) {\r\n console.error(\"Error parsing cookie data:\", error);\r\n return null;\r\n }\r\n };\r\n\r\n // Set entire User object in cookie\r\n const setUser = (user) => {\r\n\r\n setCookie(COOKIE_NAME, JSON.stringify(user), { path: \"/\" });\r\n };\r\n\r\n // Remove all stored user data\r\n const clearUser = () => {\r\n removeCookie(COOKIE_NAME, { path: \"/\" });\r\n };\r\n\r\n return {\r\n setUser,\r\n getUser,\r\n clearUser,\r\n };\r\n};\r\n","import React from 'react';\r\nimport { FormControl, TextField } from '@mui/material';\r\nimport trLocale from 'date-fns/locale/tr';\r\nimport { DatePicker, DateTimePicker, LocalizationProvider } from '@mui/lab';\r\nimport AdapterDateFns from '@mui/lab/AdapterDateFns';\r\nimport { InputformatDate } from '../util/DateUtil';\r\nimport { Controller } from 'react-hook-form';\r\n\r\nconst DateInput = React.forwardRef(({\r\n name,\r\n label,\r\n defaultValue,\r\n onChange,\r\n control,\r\n error,\r\n rules,\r\n variant = 'outlined',\r\n margin = 'dense',\r\n inputFormat = \"dd.MM.yyyy\",\r\n isDateTime = false, // Add this flag to toggle between DatePicker and DateTimePicker\r\n ...props\r\n}) => {\r\n\r\n // Choose either DatePicker or DateTimePicker based on the flag\r\n const PickerComponent = isDateTime ? DateTimePicker : DatePicker;\r\n\r\n return (\r\n \r\n (\r\n \r\n onChange(InputformatDate(newValue))}\r\n inputFormat={inputFormat}\r\n renderInput={(params) => (\r\n \r\n )}\r\n />\r\n \r\n )}\r\n />\r\n \r\n );\r\n});\r\n\r\nexport default DateInput;\r\n","import { TextField } from \"@mui/material\";\r\nimport React from \"react\";\r\n\r\nconst Input = React.forwardRef(({ error, variant = \"outlined\", margin = \"dense\",value, onChange, ...props }, ref) => {\r\n\r\n return (\r\n \r\n )\r\n\r\n});\r\n\r\nexport default Input;\r\n","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass ModuleService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.PMADomain + ApiUrl.controller.Module);\r\n }\r\n\r\n /* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n}\r\n\r\nconst Moduleservice = new ModuleService();\r\n\r\nexport default Moduleservice;","import * as React from 'react';\r\nimport Popper from '@mui/material/Popper';\r\nimport Paper from \"@mui/material/Paper\";\r\n\r\nimport NativeSelect from '@mui/material/NativeSelect';\r\nimport DonemOptions from \"../DonemOptions\";\r\nimport IconButton from \"@mui/material/IconButton\";\r\nimport MoreVertOutlinedIcon from \"@mui/icons-material/MoreVertOutlined\";\r\n\r\nconst WidgetPeriodSelection = ({periodId, setPeriodId}) => {\r\n\r\n const [anchorEl, setAnchorEl] = React.useState(null);\r\n\r\n const handleClick = (event) => {\r\n setAnchorEl(anchorEl ? null : event.currentTarget);\r\n };\r\n\r\n const open = Boolean(anchorEl);\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 setPeriodId(e.target.value);\r\n setAnchorEl(null);\r\n }}>\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default WidgetPeriodSelection;\r\n","import React, { useState } from 'react';\r\nimport { Select, MenuItem, Button, FormControl, InputLabel, Grid } from '@mui/material';\r\n\r\nconst SingleSelection = ({\r\n items,\r\n keyField,\r\n valueField,\r\n labelField,\r\n separator = ' - ',\r\n buttonLabel,\r\n onItemSelected,\r\n onButtonClick,\r\n loading =false,\r\n selectLabel = \"Sec\"\r\n}) => {\r\n const [selectedItem, setSelectedItem] = useState('');\r\n\r\n const handleChange = (event) => {\r\n const value = event.target.value;\r\n setSelectedItem(value);\r\n\r\n const selectedObject = items.find(item => item[valueField] === value);\r\n if (onItemSelected) {\r\n onItemSelected(selectedObject); // Notify parent with the selected object\r\n }\r\n };\r\n\r\n const getLabel = (item) => {\r\n if (!item) {\r\n // If item is undefined or null, return an empty string or placeholder\r\n return '';\r\n }\r\n\r\n if (Array.isArray(labelField)) {\r\n return labelField.map(field => item[field]).join(separator);\r\n }\r\n return item[labelField] ?? \"\";\r\n };\r\n\r\n const handleButtonClick = async () => {\r\n if (selectedItem !== '' && onButtonClick) {\r\n const selectedObject = items.find(item => item[valueField] === selectedItem);\r\n await onButtonClick(selectedObject); // Trigger async function with selected object\r\n }\r\n };\r\n\r\n return (\r\n \r\n \r\n \r\n {selectLabel}\r\n getLabel(items.find(item => item[valueField] === selected)) || ''}\r\n fullWidth\r\n >\r\n {items.map((item) => (\r\n \r\n {getLabel(item)}\r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n {buttonLabel}\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default SingleSelection;\r\n","import React, { useState } from 'react';\r\nimport { Popover, List, ListItem, ListItemText, Tooltip, IconButton } from '@mui/material';\r\nimport { Visibility } from '@mui/icons-material';\r\n\r\nconst PopoverList = ({ label, items, displayField, separator = ' - ' }) => {\r\n const [anchorEl, setAnchorEl] = useState(null);\r\n\r\n const handleClick = (event) => {\r\n setAnchorEl(event.currentTarget);\r\n };\r\n\r\n const handleClose = () => {\r\n setAnchorEl(null);\r\n };\r\n\r\n const getLabel = (item) => {\r\n if (Array.isArray(displayField)) {\r\n return displayField.map(field => item[field]).join(separator);\r\n }\r\n return item[displayField];\r\n };\r\n\r\n\r\n const open = Boolean(anchorEl);\r\n const id = open ? 'simple-popover' : undefined;\r\n\r\n return (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n {/* Popover component */}\r\n \r\n {/* List of items inside the popover */}\r\n \r\n {items.map((item, index) => (\r\n \r\n {/* Use dynamic field name here */}\r\n \r\n \r\n ))}\r\n \r\n \r\n
\r\n );\r\n};\r\n\r\nexport default PopoverList;\r\n","import React from 'react';\r\nimport { List, ListItem, ListItemText } from '@mui/material';\r\n\r\nconst ColList = ({ items, displayField, separator = ' - ' }) => {\r\n\r\n const getLabel = (item) => {\r\n if (Array.isArray(displayField)) {\r\n return displayField.map(field => item[field]).join(separator);\r\n }\r\n return item[displayField];\r\n };\r\n\r\n return (\r\n \r\n {items.map((item, index) => (\r\n \r\n {/* Use dynamic field name here */}\r\n \r\n \r\n ))}\r\n \r\n );\r\n};\r\n\r\nexport default ColList;\r\n","import React from \"react\";\r\nimport Loading from \"./Loading\";\r\n\r\nconst PageLoading = React.memo(() => {\r\n\r\n\r\n return (\r\n
\r\n \r\n
\r\n )\r\n\r\n});\r\n\r\nexport default PageLoading;\r\n","import BaseServiceV2 from \"./BaseServiceV2\";\r\nimport ApiUrl from './ApiUrl';\r\n\r\nclass BatchParameterv2 extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.SGKDomain + ApiUrl.controller.SGKBatchParameter);\r\n }\r\n\r\n async getDonem() {\r\n const { resultObject } = await this.easyGet(ApiUrl.widgets.Calismadonemi, null);\r\n return resultObject?.calismaDonemi;\r\n }\r\n}\r\n\r\nconst batchParameterv2 = new BatchParameterv2();\r\n\r\nexport default batchParameterv2;","import React, { useEffect } from 'react';\r\nimport { Autocomplete, TextField, FormHelperText, Checkbox, FormControl } from '@mui/material';\r\nimport { Controller } from 'react-hook-form';\r\nimport { FixedSizeList } from 'react-window';\r\n\r\nconst ComplexAutocomplete = React.forwardRef(({\r\n name,\r\n label,\r\n defaultValue = null, // Default value for single-select (can be an object or value)\r\n data, // Array of objects with keys for value and display\r\n error,\r\n control,\r\n rules,\r\n variant = \"outlined\",\r\n margin = \"dense\",\r\n onChange: onChangeFromParent,\r\n valueKey, // The key to be used for the value (e.g., 'subeKodu')\r\n displayKey, // The key to be used for the display text (e.g., 'subeAdi')\r\n separator = ' - ',\r\n disabled = false,\r\n multiple = false, // Enable multi-select\r\n ...props\r\n}, ref) => {\r\n\r\n useEffect(() => { }, [data, control]);\r\n\r\n // Get label based on displayKey, which can be an array\r\n const getLabel = (item) => {\r\n if (!item) return '';\r\n if (Array.isArray(displayKey)) {\r\n return displayKey.map(field => item[field]).join(separator);\r\n }\r\n return item[displayKey] ?? \"\";\r\n };\r\n\r\n // Helper to get the value of an option based on the valueKey\r\n const getValue = (item) => {\r\n if (!item) return null;\r\n return item[valueKey]; // Return the value based on valueKey\r\n };\r\n\r\n return (\r\n \r\n (\r\n getLabel(option) || ''}\r\n isOptionEqualToValue={(option, value) => {\r\n // When value is a primitive (subeKodu), compare directly\r\n if (typeof value === 'string' || typeof value === 'number') {\r\n return getValue(option) === value;\r\n }\r\n // When value is an object, compare based on valueKey\r\n return getValue(option) === getValue(value);\r\n }}\r\n value={multiple ? field.value || [] : field.value || null}\r\n onChange={(event, value) => {\r\n field.onChange(value);\r\n if (onChangeFromParent) {\r\n onChangeFromParent(value);\r\n }\r\n }}\r\n disabled={disabled}\r\n renderInput={(params) => (\r\n \r\n )}\r\n renderOption={(props, option, { selected }) => (\r\n
  • \r\n {multiple && }\r\n {getLabel(option)}\r\n
  • \r\n )}\r\n ListboxComponent={props => (\r\n \r\n {({ index, style }) => (\r\n
    \r\n {props.children[index]}\r\n
    \r\n )}\r\n \r\n )}\r\n {...props}\r\n />\r\n )}\r\n />\r\n {error && {error.message}}\r\n
    \r\n );\r\n});\r\n\r\nexport default ComplexAutocomplete;\r\n","import React from 'react';\r\nimport { Controller } from 'react-hook-form';\r\nimport { Switch, FormControlLabel, FormHelperText } from '@mui/material';\r\n\r\nconst SwitchInput = ({ name, label, control, setValue, onChangeForm, errorMessage }) => {\r\n return (\r\n
    \r\n (\r\n {\r\n setValue(name, e.target.checked);\r\n field.onChange(e);\r\n\r\n if (onChangeForm) {\r\n onChangeForm(e.target.checked);\r\n }\r\n }}\r\n />\r\n }\r\n labelPlacement=\"start\"\r\n\r\n />\r\n )}\r\n />\r\n {errorMessage && {errorMessage}}\r\n
    \r\n );\r\n};\r\n\r\nexport default SwitchInput;\r\n","const paramTipiEnum = {\r\n 1: \"Metin\", // String\r\n 2: \"Tam Sayı\", // Int\r\n 3: \"Ondalık\", // Decimal\r\n 4: \"Mantıksal\", // Bool\r\n 5: \"Tarih\", // Date\r\n 6: \"Tarih ve Saat\", // DateTime\r\n 7: \"Dönem\"\r\n};\r\n\r\nexport default paramTipiEnum;\r\n","import CircularProgress from \"@mui/material/CircularProgress\";\r\nimport React from \"react\";\r\nimport {useTranslation} from \"react-i18next\";\r\n\r\nconst Loading = () => {\r\n const {t} = useTranslation();\r\n return (\r\n
    \r\n \r\n
    \r\n {t('message.loading')}
    \r\n {t('message.pleaseWait')}\r\n
    \r\n
    \r\n )\r\n};\r\n\r\nexport default Loading;\r\n","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass KullaniciRolleriService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.IKIseAlimDomain + ApiUrl.controller.KullaniciRolleri);\r\n }\r\n\t\r\n\t/* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n}\r\n\r\nconst KullaniciRolleriservice = new KullaniciRolleriService();\r\n\r\nexport default KullaniciRolleriservice;","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass SysGlobalGroupService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.MasterDomain + ApiUrl.controller.SysGlobalGroup);\r\n }\r\n\r\n /* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n}\r\n\r\nconst SysGlobalGroupservice = new SysGlobalGroupService();\r\n\r\nexport default SysGlobalGroupservice;","import React from 'react';\r\nimport MenuItem from '@mui/material/MenuItem';\r\nimport ListItemText from '@mui/material/ListItemText';\r\nimport ListItemIcon from '@mui/material/ListItemIcon';\r\n\r\nconst ActionItem = ({ label, icon, action }) => {\r\n const handleClick = () => {\r\n action(); // Execute the passed action\r\n };\r\n\r\n return (\r\n \r\n {icon}\r\n {label}\r\n \r\n );\r\n};\r\n\r\nexport default ActionItem;\r\n","import React, { useEffect, useState } from 'react';\r\nimport { Dialog, DialogActions, DialogContent, TextField, Button } from '@mui/material';\r\nimport useGlobal from '../util/Global';\r\nimport SysGlobalKeyservice from '../service/MasterServices/SysGlobalKeyService';\r\nimport useMessage from '../util/useMessage';\r\nimport { MessageType } from '../util/Enums';\r\n\r\nconst NoteDialog = ({ open, onClose, title, message, isGlobalSet = false, data = null }) => {\r\n\r\n const { g } = useGlobal();\r\n\r\n const [isCopied, setIsCopied] = useState(false);\r\n const [loading, setLoading] = useState(false);\r\n\r\n const showMessage = useMessage();\r\n\r\n useEffect(() => {\r\n setlocalMessage(message);\r\n }, [message]);\r\n\r\n // Function to copy the message to clipboard\r\n const handleCopyToClipboard = () => {\r\n navigator.clipboard.writeText(message).then(() => {\r\n setIsCopied(true);\r\n }).catch((err) => {\r\n console.error('Failed to copy text to clipboard:', err);\r\n });\r\n };\r\n\r\n const handelImportGlobal = () => {\r\n if (loclamessage) {\r\n setLoading(true);\r\n SysGlobalKeyservice.SyncGlobalUpdate(loclamessage).then((res) => {\r\n if (res.isSuccess) {\r\n showMessage(g('message.created'));\r\n } else {\r\n showMessage(g('message.updateFailed'), MessageType.ERROR);\r\n }\r\n\r\n setLoading(false);\r\n });\r\n\r\n\r\n }\r\n }\r\n\r\n const [loclamessage, setlocalMessage] = useState('');\r\n\r\n const handleMessageChange = (event) => {\r\n setlocalMessage(event.target.value); // Update the state when the input changes\r\n };\r\n\r\n return (\r\n \r\n \r\n

    {title}

    \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\nexport default NoteDialog;\r\n","import BaseServiceV2 from \"./BaseServiceV2\";\r\nimport ApiUrl from './ApiUrl';\r\n\r\nclass IkIseAlimKullanicilariService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.IKIseAlimDomain + ApiUrl.controller.kullanicilari);\r\n }\r\n\r\n async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }\r\n\r\n async getKullaniciYetkisi(data) {\r\n return await this.easyGet(ApiUrl.endpoint.getKullaniciYetkisi, data);\r\n }\r\n}\r\n\r\nconst Kullanicilariservice = new IkIseAlimKullanicilariService();\r\n\r\nexport default Kullanicilariservice;","import Config from '../Config'\r\nimport ApiUrl from '../service/ApiUrl';\r\nimport axios from \"axios\";\r\nimport fileDownload from \"js-file-download\";\r\n\r\nclass BaseServiceV2 {\r\n\r\n constructor(path) {\r\n this.path = Config.API_EbasvuruUrl + path;\r\n this.ApiUrl = ApiUrl;\r\n }\r\n\r\n /* async search({page = 0, data, max = Config.MAX_RESULT, orderBy = null}) {\r\n return await easySearch(`${this.path}/search`, page, data, max, orderBy);\r\n }\r\n \r\n async easyExport({data, filename}) {\r\n await easyExport(`${this.path}/search`, data, filename);\r\n }\r\n \r\n async get(id) {\r\n return await easyGet(`${this.path}/${id}`);\r\n }\r\n \r\n async save(data) {\r\n return await easyPost(this.path, data);\r\n }\r\n \r\n async update(id, data) {\r\n return await easyPut(`${this.path}/${id}`, data);\r\n }\r\n \r\n async saveOrUpdate(id, data) {\r\n return id ? await this.update(id, data) : await this.save(data)\r\n }\r\n \r\n async delete(id, data) {\r\n return await easyDelete(`${this.path}/${id}`, data);\r\n }\r\n \r\n async rollback(id) {\r\n return await easyDelete(`${this.path}/${id}/rollback`, {});\r\n }*/\r\n\r\n getPagination = async (page = 1, data, max = Config.MAX_RESULT, orderBy = null, takeAll = false) => {\r\n try {\r\n\r\n const order = orderBy\r\n ? Array.isArray(orderBy)\r\n ? orderBy.map(item => ({\r\n key: item?.name ?? 'Id',\r\n value: item?.type ?? 'Desc'\r\n }))\r\n : [{\r\n key: orderBy?.name ?? 'Id',\r\n value: orderBy?.type ?? 'Desc'\r\n }]\r\n : null;\r\n\r\n\r\n const url = this.path + this.ApiUrl.endpoint.Pagination;\r\n\r\n const response = await axios.post(url,\r\n {\r\n filter: { ...data },\r\n paging: {\r\n PageSize: max,\r\n page: page,\r\n takeAll: takeAll\r\n },\r\n order\r\n },\r\n {\r\n timeout: 60000,\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n }\r\n }\r\n );\r\n\r\n return response.data;\r\n\r\n } catch (e) {\r\n console.error(e);\r\n return null;\r\n }\r\n }\r\n\r\n getList = async () => {\r\n return await this.getPagination(1,\r\n null,\r\n 9000,\r\n null,\r\n true);\r\n }\r\n\r\n\r\n exportCsv = async (data, filename, orderBy = null, cSVList = null) => {\r\n\r\n const order = orderBy ? [{\r\n key: orderBy?.name ?? 'Id', // Use optional chaining and nullish coalescing\r\n value: orderBy?.type ?? 'des'\r\n }] : null;\r\n\r\n const url = this.path + this.ApiUrl.endpoint.Pagination;\r\n\r\n const response = await axios.post(url,\r\n {\r\n isCreateCsv: true,\r\n filter: { ...data },\r\n paging: {\r\n PageSize: 0,\r\n page: 0,\r\n takeAll: true\r\n },\r\n order,\r\n cSVList\r\n },\r\n {\r\n timeout: 60000,\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n },\r\n responseType: 'blob'\r\n }\r\n );\r\n fileDownload(response.data, filename);\r\n\r\n }\r\n\r\n update = async (data) => {\r\n const url = this.path + this.ApiUrl.endpoint.UpdateDynamic;\r\n\r\n const response = await axios.post(url,\r\n data,\r\n {\r\n timeout: 60000,\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n }\r\n }\r\n );\r\n return response.data;\r\n\r\n }\r\n\r\n fullupdate = async (data) => {\r\n const url = this.path + this.ApiUrl.endpoint.Update;\r\n\r\n const response = await axios.post(url,\r\n data,\r\n {\r\n timeout: 60000,\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n }\r\n }\r\n );\r\n return response.data;\r\n\r\n }\r\n\r\n create = async (data) => {\r\n const url = this.path + this.ApiUrl.endpoint.Create;\r\n\r\n const response = await axios.post(url,\r\n data,\r\n {\r\n timeout: 60000,\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n }\r\n }\r\n );\r\n return response.data;\r\n\r\n }\r\n\r\n get = async (paramters, token = null) => {\r\n const url = this.path + this.ApiUrl.endpoint.Get;\r\n\r\n let header = {\r\n 'Accept': 'application/json',\r\n 'Content-Type': 'application/json'\r\n };\r\n\r\n if (token) {\r\n header = {\r\n 'Accept': 'application/json',\r\n 'Content-Type': 'application/json',\r\n 'Authorization': `Bearer ${token}`\r\n };\r\n }\r\n\r\n try {\r\n const response = await axios.get(url, {\r\n params: { ...paramters },\r\n timeout: 60000,\r\n headers: header\r\n });\r\n\r\n return response.data;\r\n\r\n } catch (error) {\r\n console.error('Error fetching data:', error);\r\n throw error;\r\n }\r\n }\r\n\r\n delete = async (id) => {\r\n const url = this.path + this.ApiUrl.endpoint.Delete;\r\n\r\n try {\r\n const response = await axios.post(url, id, {\r\n timeout: 60000,\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n }\r\n }\r\n );\r\n return response.data;\r\n } catch (error) {\r\n console.error('Error fetching data:', error);\r\n throw error;\r\n }\r\n }\r\n\r\n remove = async (id) => {\r\n const url = this.path + this.ApiUrl.endpoint.Remove;\r\n\r\n try {\r\n const response = await axios.post(url, id, {\r\n timeout: 60000,\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n }\r\n }\r\n );\r\n return response.data;\r\n } catch (error) {\r\n console.error('Error fetching data:', error);\r\n throw error;\r\n }\r\n }\r\n\r\n easyGet = async (endpoint, paramters = {}) => {\r\n const url = this.path + endpoint;\r\n try {\r\n const response = await axios.get(url, {\r\n params: { ...paramters },\r\n timeout: 60000,\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n },\r\n });\r\n\r\n return response.data;\r\n\r\n } catch (error) {\r\n console.error('Error fetching data:', error);\r\n throw error;\r\n }\r\n }\r\n\r\n easyPost = async (endpoint, paramters = {}, token = '') => {\r\n\r\n\r\n const url = this.path + endpoint;\r\n\r\n let header = {\r\n 'Accept': 'application/json',\r\n 'Content-Type': 'application/json'\r\n };\r\n\r\n if (token) {\r\n header = {\r\n 'Accept': 'application/json',\r\n 'Content-Type': 'application/json',\r\n 'Authorization': `Bearer ${token}`\r\n };\r\n }\r\n\r\n\r\n const response = await axios.post(url,\r\n { ...paramters },\r\n {\r\n timeout: 6000000,\r\n headers: header\r\n }\r\n );\r\n\r\n return response.data;\r\n }\r\n\r\n fullPathPost = async (endpoint, paramters = {}, token = '') => {\r\n\r\n const url = Config.API_EbasvuruUrl + endpoint;\r\n\r\n let header = {\r\n 'Accept': 'application/json',\r\n 'Content-Type': 'application/json'\r\n };\r\n\r\n if (token) {\r\n header = {\r\n 'Accept': 'application/json',\r\n 'Content-Type': 'application/json',\r\n 'Authorization': `Bearer ${token}`\r\n };\r\n }\r\n\r\n\r\n const response = await axios.post(url,\r\n { ...paramters },\r\n {\r\n timeout: 60000,\r\n headers: header\r\n }\r\n );\r\n return response.data;\r\n }\r\n\r\n\r\n easybulkPost = async (endpoint, paramters = {}, token = '') => {\r\n\r\n const url = this.path + endpoint;\r\n\r\n let header = {\r\n 'Accept': 'application/json',\r\n 'Content-Type': 'application/json'\r\n };\r\n\r\n if (token) {\r\n header = {\r\n 'Accept': 'application/json',\r\n 'Content-Type': 'application/json',\r\n 'Authorization': `Bearer ${token}`\r\n };\r\n }\r\n\r\n\r\n const response = await axios.post(url,\r\n paramters,\r\n {\r\n timeout: 60000,\r\n headers: header\r\n }\r\n );\r\n return response.data;\r\n }\r\n\r\n}\r\n\r\nexport default BaseServiceV2;\r\n","import * as Icons from '@mui/icons-material';\r\n\r\n// Usage in JSX\r\nconst DynamicIcon = ({ iconName }) => {\r\n const Icon = Icons[iconName] || Icons['NotInterested']; // Fallback to NotInterested if icon not found\r\n return ;\r\n};\r\n\r\nexport default DynamicIcon;\r\n","import i18n from 'i18next';\r\nimport {initReactI18next} from 'react-i18next';\r\n\r\nimport translationTR from './i18n/tr.json';\r\nimport translationEN from './i18n/en.json';\r\n\r\ni18n\r\n // pass the i18n instance to react-i18next.\r\n .use(initReactI18next)\r\n // init i18next\r\n // for all options read: https://www.i18next.com/overview/configuration-options\r\n .init({\r\n debug: true,\r\n resources: {\r\n tr: {\r\n translation: translationTR\r\n },\r\n en: {\r\n translation: translationEN\r\n }\r\n },\r\n lng: \"tr\",\r\n fallbackLng: \"tr\",\r\n initImmediate: false,\r\n interpolation: {\r\n escapeValue: false\r\n }\r\n });\r\n\r\n\r\nexport default i18n;\r\n","import React from 'react';\r\nimport { Tooltip, Typography } from '@mui/material';\r\n\r\nconst TruncatedText = ({ text = '', maxLength = 10, truncated = true, noTruncateText = \"\" }) => {\r\n let displayText;\r\n\r\n if (truncated && maxLength === -1) {\r\n // Take only the first word, handle null/undefined text\r\n displayText = text ? text.split(' ')[0] + '...' : '';\r\n } else if (truncated && text && text.length > maxLength) {\r\n // Truncate text if longer than maxLength, handle null/undefined text\r\n displayText = text ? text.substring(0, maxLength) + '...' : '';\r\n } else {\r\n displayText = text || '';\r\n }\r\n\r\n return (\r\n \r\n \r\n {noTruncateText} {displayText}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default TruncatedText;\r\n","import React from \"react\";\r\n\r\nconst DonemOptions = () => {\r\n\r\n const options = [];\r\n const date = new Date();\r\n const now = date.getFullYear();\r\n\r\n for (let yil = now; yil >= now - 5; yil--) {\r\n\r\n let month = 12;\r\n if (yil === now) {\r\n month = date.getMonth();\r\n }\r\n\r\n for (let ay = month; ay >= 1; ay--) {\r\n options.push(`${yil}-${ay < 10 ? '0' + ay : ay}`)\r\n }\r\n }\r\n\r\n return options.map((item, index) => (\r\n \r\n ))\r\n\r\n}\r\n\r\nexport default React.memo(DonemOptions);\r\n","import {useLocation} from \"react-router-dom\";\r\nimport React from \"react\";\r\n\r\nfunction useQuery() {\r\n const {search} = useLocation();\r\n\r\n return React.useMemo(() => new URLSearchParams(search), [search]);\r\n}\r\n\r\nexport default useQuery;\r\n","const BatchStatusEnum = {\r\n 0: \"Beklemede\",\r\n 1: \"Çalışıyor\",\r\n 2: \"Tamamlandı\",\r\n '-1': \"Hata\",\r\n}\r\n\r\nexport default BatchStatusEnum;\r\n","import {useEffect, useRef} from \"react\";\r\n\r\nconst useOutsideClick = (onClick) => {\r\n\r\n const ref = useRef(null);\r\n\r\n const handleClick = (e) => {\r\n if (ref.current?.contains(e.target)) {\r\n return false;\r\n }\r\n onClick && onClick(e);\r\n };\r\n\r\n useEffect(() => {\r\n document.addEventListener(\"mousedown\", handleClick);\r\n return () => {\r\n document.addEventListener(\"mousedown\", handleClick);\r\n }\r\n }, [ref]);\r\n\r\n return ref;\r\n}\r\n\r\nexport default useOutsideClick;\r\n","import ApiUrl from \"../ApiUrl\";\r\nimport BaseServiceV2 from \"../BaseServiceV2\";\r\n\r\n\r\nclass SysRolService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.IKIseAlimDomain + ApiUrl.controller.sgkSysRol);\r\n }\r\n\t\r\n\t/* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n}\r\n\r\nconst SysRolservice = new SysRolService();\r\n\r\nexport default SysRolservice;","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass MenulerService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.PMADomain + ApiUrl.controller.Menuler);\r\n }\r\n\r\n async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }\r\n async getMaxSira(data) {\r\n return await this.easyGet(ApiUrl.endpoint.getMaxSira, data);\r\n }\r\n}\r\n\r\nconst Menulerservice = new MenulerService();\r\n\r\nexport default Menulerservice;","import BaseServiceV2 from \"./BaseServiceV2\";\r\nimport ApiUrl from './ApiUrl';\r\n\r\nclass SGKSirketlerService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.SGKDomain + ApiUrl.controller.sgkSirketler);\r\n }\r\n\t\r\n\t/* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n}\r\n\r\nconst Sirketlerservice = new SGKSirketlerService();\r\n\r\nexport default Sirketlerservice;","// Utility function to filter objects from `list` where the `key` value is not present in `existingList`\r\nexport const filterByField = (existingList, list, key) => {\r\n // Extract the values of the `key` field from the existing list\r\n const existingValues = existingList.map(item => item[key]);\r\n \r\n // Filter out items from the list where the `key` value is already in existingValues\r\n return list.filter(item => !existingValues.includes(item[key]));\r\n };\r\n \r\n\r\n export const filterByFields = (existingList, list, existingKey,listKey) => {\r\n // Extract the values of the `key` field from the existing list\r\n const existingValues = existingList.map(item => item[existingKey]);\r\n \r\n // Filter out items from the list where the `key` value is already in existingValues\r\n return list.filter(item => !existingValues.includes(item[listKey]));\r\n };\r\n ","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass MailGruplariService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.IKIseAlimDomain + ApiUrl.controller.MailGruplari);\r\n }\r\n\r\n /* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n}\r\n\r\nconst MailGruplariservice = new MailGruplariService();\r\n\r\nexport default MailGruplariservice;","import { FormControl, TextField } from \"@mui/material\";\r\nimport React from \"react\";\r\nimport { Controller } from \"react-hook-form\";\r\n\r\nconst InputText = React.forwardRef(({\r\n control,\r\n name,\r\n label,\r\n defaultValue,\r\n rules,\r\n variant = 'outlined',\r\n margin = 'dense',\r\n type = \"\",\r\n disabled = false, // Add disabled prop with default value\r\n readOnly = false, // Add readOnly prop with default value\r\n onChange,\r\n ...props\r\n}, ref) => {\r\n return (\r\n \r\n (\r\n {\r\n field.onChange(e); // This updates the react-hook-form state\r\n if (onChange) onChange(e); // Custom onChange handler\r\n }}\r\n />\r\n )}\r\n />\r\n \r\n );\r\n});\r\n\r\nexport default InputText;\r\n","import ApiUrl from \"../ApiUrl\";\r\nimport BaseServiceV2 from \"../BaseServiceV2\";\r\n\r\n\r\n\r\nclass IKSubelerService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.IKDomain + ApiUrl.controller.IKSubeler);\r\n }\r\n\t\r\n\t/* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n}\r\n\r\nconst iksubelerservice = new IKSubelerService();\r\n\r\nexport default iksubelerservice;","import DashboardWidget from \"../DashboardWidget\";\r\nimport PaymentsOutlinedIcon from '@mui/icons-material/PaymentsOutlined';\r\nimport { useEffect, useState } from \"react\";\r\nimport dashboardServicev2 from \"../../service/DashboardServicev2\";\r\nimport WidgetPeriodSelection from \"./WidgetPeriodSelection\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport batchParameterv2 from \"../../service/BatchParameterv2\";\r\n\r\nconst ToplamTesvikWidget = () => {\r\n\r\n const [periodId, setPeriodId] = useState(null)\r\n const [tutar, setTutar] = useState(0)\r\n\r\n const [loading, setLoading] = useState(false);\r\n\r\n const history = useHistory();\r\n\r\n useEffect(() => {\r\n (async () => {\r\n try {\r\n setLoading(true);\r\n const _periodId = await batchParameterv2.getDonem();\r\n setLoading(false);\r\n setPeriodId(_periodId);\r\n } catch (e) {\r\n console.error(e);\r\n } finally {\r\n setLoading(false);\r\n }\r\n\r\n })();\r\n }, []);\r\n\r\n\r\n const onClick = () => {\r\n history.push(`/tesvik?periodId=${periodId}`)\r\n };\r\n\r\n useEffect(() => {\r\n if (periodId) {\r\n (async () => {\r\n try {\r\n setLoading(true);\r\n const _tutar = await dashboardServicev2.getTesvikKazanciniz({ periodId });\r\n setTutar(_tutar);\r\n } catch (e) {\r\n console.error(e)\r\n } finally {\r\n setLoading(false);\r\n }\r\n })();\r\n }\r\n }, [periodId])\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\n \r\n \r\n \r\n
    \r\n
    \r\n {periodId} Dönem\r\n
    \r\n
    \r\n TOPLAM TEŞVİK KAZANCINIZ\r\n
    \r\n
    \r\n ₺***.***.***,**\r\n {false && new Intl.NumberFormat('tr-TR', { minimumFractionDigits: 2 }).format(\"******************\")}\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\nexport default ToplamTesvikWidget;\r\n","import BaseServiceV2 from \"./BaseServiceV2\";\r\nimport ApiUrl from './ApiUrl';\r\n\r\nclass SGKEviziterapordurumlariService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.SGKDomain + ApiUrl.controller.sgkeviziterapordurumlari);\r\n }\r\n}\r\n\r\nconst sgkeviziterapordurumlari = new SGKEviziterapordurumlariService();\r\n\r\nexport default sgkeviziterapordurumlari;","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass SehirService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.PMADomain + ApiUrl.controller.Sehir);\r\n }\r\n\t\r\n\t/* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n}\r\n\r\nconst Sehirservice = new SehirService();\r\n\r\nexport default Sehirservice;","import React from 'react';\r\nimport { Tooltip, Typography, IconButton } from '@mui/material';\r\nimport ContentCopyIcon from '@mui/icons-material/ContentCopy';\r\n\r\nconst FixedWidthText = ({ text = '', maxLength = 10, truncated = true, noTruncateText = \"\" }) => {\r\n const handleCopy = () => {\r\n if (text) {\r\n navigator.clipboard.writeText(text)\r\n .then(() => {\r\n console.log('Text copied to clipboard:', text);\r\n })\r\n .catch(err => {\r\n console.error('Failed to copy text:', err);\r\n });\r\n }\r\n };\r\n\r\n let displayText;\r\n\r\n if (truncated && maxLength === -1) {\r\n // Take only the first word, handle null/undefined text\r\n displayText = text ? text.split(' ')[0] + '...' : '';\r\n } else if (truncated && text && text.length > maxLength) {\r\n // Truncate text if longer than maxLength, handle null/undefined text\r\n displayText = text ? text.substring(0, maxLength) + '...' : '';\r\n } else {\r\n displayText = text || '';\r\n }\r\n\r\n return (\r\n \r\n
    \r\n \r\n {noTruncateText} {displayText}\r\n \r\n {text && \r\n \r\n \r\n }\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default FixedWidthText;\r\n","import React from 'react';\r\nimport Menu from '@mui/material/Menu';\r\nimport { useTranslation } from 'react-i18next';\r\nimport ActionItem from './ActionItem';\r\nimport MenuIcon from '@mui/icons-material/Menu';\r\nimport CustButton from '../ui/CustButton';\r\n\r\nconst MenuAction = ({ menuItems, buttonLabel = 'İŞLEM', buttonVariant = 'contained' }) => {\r\n const { t } = useTranslation();\r\n const [anchorEl, setAnchorEl] = React.useState(null);\r\n const open = Boolean(anchorEl);\r\n\r\n const handleClick = (event) => {\r\n setAnchorEl(event.currentTarget);\r\n };\r\n\r\n const handleClose = () => {\r\n setAnchorEl(null);\r\n };\r\n\r\n return (\r\n <>\r\n \r\n {buttonLabel}\r\n \r\n \r\n {menuItems.map((item, index) => (\r\n {\r\n item.action();\r\n handleClose(); // Close menu after action\r\n }}\r\n />\r\n ))}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default MenuAction;\r\n","import { FormControl, TextField } from \"@mui/material\";\r\nimport React, { useState, useEffect } from \"react\";\r\nimport { Controller } from \"react-hook-form\";\r\n\r\nconst MonthYearInput = React.forwardRef(({\r\n control,\r\n name,\r\n label,\r\n defaultValue = \"\",\r\n rules,\r\n variant = 'outlined',\r\n margin = 'dense',\r\n disabled = false,\r\n readOnly = false,\r\n onChange,\r\n ...props\r\n}, ref) => {\r\n const [formattedDate, setFormattedDate] = useState(defaultValue); // Holds the formatted yyyy-MM\r\n\r\n useEffect(() => {\r\n debugger;\r\n setFormattedDate(defaultValue); // Sync with defaultValue on mount\r\n }, [defaultValue]);\r\n\r\n const handleDateChange = (e, field) => {\r\n const value = e.target.value; // Example: \"2025-04\"\r\n setFormattedDate(value); // Update local state\r\n\r\n field.onChange(value); // Update react-hook-form state\r\n if (onChange) onChange(value); // Custom onChange handler\r\n };\r\n\r\n return (\r\n \r\n (\r\n handleDateChange(e, field)}\r\n />\r\n )}\r\n />\r\n \r\n );\r\n});\r\n\r\nexport default MonthYearInput;\r\n","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass WorkerPlannedJobService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.MasterDomain + ApiUrl.controller.WorkerPlannedJob);\r\n }\r\n\r\n /* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n\r\n async bulkReset(data) {\r\n return await this.easybulkPost(ApiUrl.endpoint.bulkReset, data);\r\n }\r\n\r\n async bulkSet(data) {\r\n return await this.easybulkPost(ApiUrl.endpoint.bulkSet, data);\r\n }\r\n}\r\n\r\nconst WorkerPlannedJobservice = new WorkerPlannedJobService();\r\n\r\nexport default WorkerPlannedJobservice; ","const SGKWorkerTipi = {\r\n 0: \"İş Kazası\",\r\n 1: \"EVizite\",\r\n 2: \"Tahakkuk\",\r\n 3: \"EBorc\",\r\n 4: \"AUDI-Geçmiş Sene\",\r\n 5: \"AUDI-Guncel Sene\",\r\n 6: \"AUDI Veri Okuma\",\r\n 7: \"Cari Giriş Çıkış\",\r\n}\r\n\r\nexport default SGKWorkerTipi;\r\n","const WorkerJobStatusEnum = {\r\n 0: \"Bekliyor\",\r\n 1: \"Devam Ediyor\",\r\n 2: \"Başarılı\",\r\n '-1': \"Hata\",\r\n '-2': \"İptal Edildi\",\r\n};\r\n\r\n\r\nexport default WorkerJobStatusEnum;\r\n","const WorkerTaskStatusEnum = {\r\n 1: \"Çalışıyor\",\r\n 2: \"Başarıyla Tamamlandı\",\r\n 3: \"Hata ile Tamamlandı\",\r\n '-1': \"İptal Edildi\",\r\n};\r\n\r\nexport default WorkerTaskStatusEnum;","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass SGKWorkerTaskService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.MasterDomain + ApiUrl.controller.SGKWorkerTask);\r\n }\r\n\r\n /* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n\r\n async bulkReset(data) {\r\n return await this.easybulkPost(ApiUrl.endpoint.bulkReset, data);\r\n }\r\n\r\n async bulkSet(data) {\r\n return await this.easybulkPost(ApiUrl.endpoint.bulkSet, data);\r\n }\r\n}\r\n\r\nconst SGKWorkerTaskservice = new SGKWorkerTaskService();\r\n\r\nexport default SGKWorkerTaskservice;","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass SGKWorkerMonitorService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.MasterDomain + ApiUrl.controller.SGKWorkerMonitor);\r\n }\r\n\r\n /* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n\r\n async bulkReset(data) {\r\n return await this.easybulkPost(ApiUrl.endpoint.bulkReset, data);\r\n }\r\n\r\n async bulkSet(data) {\r\n return await this.easybulkPost(ApiUrl.endpoint.bulkSet, data);\r\n }\r\n\r\n async bulkResetJobOrWorker(data) {\r\n return await this.easyPost(ApiUrl.endpoint.bulkResetJobOrWorker, data);\r\n }\r\n\r\n async bulkSetJobOrWorker(data) {\r\n return await this.easyPost(ApiUrl.endpoint.bulkSetJobOrWorker, data);\r\n }\r\n\r\n async getMonitorJobSummary(data) {\r\n return await this.easyGet(ApiUrl.endpoint.getMonitorJobSummary, { jobId: data });\r\n }\r\n}\r\n\r\nconst SGKWorkerMonitorservice = new SGKWorkerMonitorService();\r\n\r\nexport default SGKWorkerMonitorservice;","const RobotMonitorTypeEnum = {\r\n 0: \"İş Kazası\",\r\n 1: \"EVizite\",\r\n 2: \"Tahakkuk\",\r\n 3: \"EBorc\",\r\n};\r\n\r\nexport default RobotMonitorTypeEnum;","const MonitorStatusEnum = {\r\n 0: \"Beklemede\",\r\n 1: \"Pasif\",\r\n '-1': \"Hata\",\r\n 2: \"İz Olmuş\",\r\n 3: \"Vekaletsiz\",\r\n 4: \"ByPass\",\r\n 5: \"OK\",\r\n 6: \"Diğer\",\r\n 7: \"Hatalı Şifre\",\r\n 8: \"Captcha Sorunu\",\r\n '-99': \"Sistemsel Hata\",\r\n};\r\n\r\nexport default MonitorStatusEnum;","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass SGKWorkerService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.MasterDomain + ApiUrl.controller.SGKWorker);\r\n }\r\n\r\n /* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n\r\n async bulkReset(data) {\r\n return await this.easybulkPost(ApiUrl.endpoint.bulkReset, data);\r\n }\r\n\r\n async bulkSet(data) {\r\n return await this.easybulkPost(ApiUrl.endpoint.bulkSet, data);\r\n }\r\n}\r\n\r\nconst SGKWorkerservice = new SGKWorkerService();\r\n\r\nexport default SGKWorkerservice;","const WorkerStatusEnum = {\r\n 0: \"Bekliyor\",\r\n 1: \"Çalışıyor\",\r\n 2: \"Durdu\",\r\n};\r\n\r\nexport default WorkerStatusEnum;","import { Button, Dialog, DialogActions, DialogContent, DialogTitle, Grid } from '@mui/material';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { useTranslation } from 'react-i18next';\r\nimport SaveIcon from '@mui/icons-material/Save';\r\nimport { parseAndFormatDate } from '../../util/DateUtil';\r\nimport useMessage from '../../util/useMessage';\r\nimport { Controller, useForm } from 'react-hook-form';\r\nimport SubmitButton from '../../ui/SubmitButton';\r\nimport Input from '../../ui/Input';\r\nimport DateInput from '../../ui/DateInput';\r\nimport BatchStatusEnum from '../../enum/BatchStatusEnum';\r\nimport EnumSelect from '../../ui/EnumSelect';\r\nimport InputText from '../../ui/InputText';\r\nimport WorkerPlannedJobservice from '../../service/MasterServices/WorkerPlannedJobservice';\r\nimport SGKWorkerTipi from '../../enum/SGKWorkerTipi';\r\nimport WorkerJobStatusEnum from '../../enum/WorkerJobStatus';\r\nimport masterTenantservice from '../../service/MasterServices/MasterTenantService';\r\nimport ComplexSelect from '../../ui/ComplexSelect ';\r\nimport { MessageType } from '../../util/Enums';\r\nimport { useSelector } from 'react-redux';\r\nimport useGlobal from '../../util/Global';\r\n\r\nconst WorkerPlannedJobCrudDialog = ({ open, onClose, data, crudTip, title }) => {\r\n\r\n const { t } = useGlobal();\r\n const showMessage = useMessage();\r\n const [crudtitle, SetCrudtitle] = useState(\"\");\r\n const [TenantIdList, setTenantIdList] = useState([]);\r\n\r\n const { user } = useSelector(state => state.auth);\r\n\r\n const inputObject = {\r\n id: data?.id,\r\n tenantId: data?.tenantId,\r\n tip: data?.tip,\r\n calismaZamani: data?.calismaZamani,\r\n status: data?.status,\r\n priority: data?.priority,\r\n parameter1: data?.parameter1,\r\n parameter2: data?.parameter2,\r\n };\r\n\r\n const { handleSubmit, register, control, reset, formState: { errors }, setValue } = useForm({\r\n defaultValues: {\r\n ...inputObject\r\n }\r\n });\r\n\r\n useEffect(async () => {\r\n if (open) {\r\n reset({\r\n ...inputObject\r\n });\r\n setLoading(false);\r\n setStatusUpdated(false);\r\n setValue(\"calismaZamani\", null);\r\n\r\n var TenantIdRes = await masterTenantservice.get();\r\n if (TenantIdRes && TenantIdRes.isSuccess) {\r\n setTenantIdList(TenantIdRes.resultObject);\r\n }\r\n\r\n\r\n if (crudTip === \"Create\") {\r\n SetCrudtitle(t(title) + \" \" + t(\"button.add\"));\r\n } else {\r\n SetCrudtitle(t(title) + \" \" + t(\"button.update\"));\r\n }\r\n }\r\n }, [open, reset]);\r\n\r\n const [loading, setLoading] = useState(false);\r\n const [statusUpdated, setStatusUpdated] = useState(false);\r\n\r\n const Create = async (input) => {\r\n const { resultObject } = await WorkerPlannedJobservice.create({\r\n tenantId: input?.tenantId,\r\n tip: input?.tip,\r\n calismaZamani: input?.calismaZamani,\r\n status: input?.status,\r\n priority: input?.priority,\r\n parameter1: input?.parameter1,\r\n parameter2: input?.parameter2,\r\n isMaster: user.isMaster\r\n\r\n });\r\n return resultObject;\r\n };\r\n\r\n const Update = async (input) => {\r\n const { resultObject } = await WorkerPlannedJobservice.update({\r\n id: data?.id,\r\n tenantId: input?.tenantId,\r\n tip: input?.tip,\r\n calismaZamani: input?.calismaZamani,\r\n status: input?.status,\r\n priority: input?.priority,\r\n parameter1: input?.parameter1,\r\n parameter2: input?.parameter2,\r\n isMaster: user.isMaster\r\n });\r\n return resultObject;\r\n };\r\n\r\n const onSubmit = async (input) => {\r\n if (loading) return false;\r\n try {\r\n setLoading(true);\r\n let status = false;\r\n if (crudTip === \"Create\") {\r\n status = await Create(input);\r\n } else {\r\n status = await Update(input);\r\n }\r\n setLoading(false);\r\n if (status) {\r\n setStatusUpdated(true);\r\n showMessage(t('message.created'));\r\n } else {\r\n showMessage(t('message.updateFailed') + \"Tenant Job Mavcuttur !\", MessageType.ERROR);\r\n }\r\n return status;\r\n } catch (error) {\r\n setLoading(false);\r\n console.error(error);\r\n }\r\n };\r\n\r\n const InsertForm = () => {\r\n return (\r\n \r\n\r\n {user.isMaster && \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\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 const UpdateForm = () => {\r\n return (\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\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\n };\r\n\r\n return (\r\n \r\n
    \r\n {crudtitle}\r\n \r\n {data ? UpdateForm() : InsertForm()}\r\n \r\n \r\n {statusUpdated ? (\r\n \r\n ) : (\r\n <>\r\n \r\n }>\r\n {t('button.save')}\r\n \r\n \r\n )}\r\n \r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default React.memo(WorkerPlannedJobCrudDialog);","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass SGKWorkerMonitorSummaryService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.MasterDomain + ApiUrl.controller.SGKWorkerMonitorSummary);\r\n }\r\n\r\n /* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n}\r\n\r\nconst SGKWorkerMonitorSummaryservice = new SGKWorkerMonitorSummaryService();\r\n\r\nexport default SGKWorkerMonitorSummaryservice;","import { useEffect, useState } from 'react';\r\nimport { useTranslation } from 'react-i18next';\r\nimport { Box, Grid, Tab, Tabs } from '@mui/material';\r\nimport Page from '../../layout/Page';\r\nimport { DataTable } from '../../components/DataTable';\r\nimport ListPageActions from '../../components/ListPageActions';\r\nimport DownloadButton from '../../components/DownloadButton';\r\nimport SwitchCell from '../../components/SwitchCell';\r\nimport CustButton from '../../ui/CustButton';\r\nimport DateFilterCell from '../../components/DateFilterCell';\r\nimport DialogConfirm from '../../components/DialogConfirm';\r\nimport usePaginationV2 from '../../util/usePaginationV2';\r\nimport { Add, Settings, AddTask, RestartAlt, RefreshRounded } from '@mui/icons-material';\r\nimport WorkerPlannedJobservice from '../../service/MasterServices/WorkerPlannedJobservice';\r\nimport MenuListAction from '../../components/MenuListAction';\r\nimport FilterOptionEnum from '../../enum/FilterOptionEnum';\r\nimport SGKWorkerTipi from '../../enum/SGKWorkerTipi';\r\nimport { parseAndFormatDate, parseAndFormatDateTime } from '../../util/DateUtil';\r\nimport WorkerJobStatusEnum from '../../enum/WorkerJobStatus';\r\nimport WorkerTaskStatusEnum from '../../enum/WorkerTaskStatus';\r\nimport SGKWorkerTaskservice from '../../service/MasterServices/SGKWorkerTaskService';\r\nimport SGKWorkerMonitorservice from '../../service/MasterServices/SGKWorkerMonitorService';\r\nimport RobotMonitorTypeEnum from '../../enum/RobotMonitorType';\r\nimport MonitorStatusEnum from '../../enum/MonitorStatus';\r\nimport { YesNoTypeOptions } from '../../components/YesNoTypeOptions';\r\nimport SGKWorkerservice from '../../service/MasterServices/SGKWorkerService';\r\nimport WorkerStatusEnum from '../../enum/WorkerStatus';\r\nimport WorkerPlannedJobCrudDialog from './WorkerPlannedJobCrudDialog';\r\nimport SGKWorkerMonitorSummaryservice from '../../service/MasterServices/SGKWorkerMonitorSummaryService';\r\nimport MenuAction from '../../components/MenuAction ';\r\nimport useGlobal from '../../util/Global';\r\nimport { useSelector } from 'react-redux';\r\nimport DynamicOptions from '../../components/DynamicOptions';\r\n\r\nconst WorkerPlannedJobPage = ({ title }) => {\r\n const { t } = useGlobal();\r\n\r\n const [selectedItems, setSelectedItems] = useState([]);\r\n\r\n const [wokrerTasks, SetWorkerTasks] = useState([]);\r\n const [wokrerMonitors, SetWorkerMonitors] = useState([]);\r\n const [wokrers, SetWorkers] = useState([]);\r\n\r\n const [actionType, setActionType] = useState(null);\r\n const [loading, setLoading] = useState(false);\r\n const [openDialog, setOpenDialog] = useState(false);\r\n const [crudTip, setCrudTip] = useState('');\r\n const [jobId, SetJobId] = useState(0);\r\n const [onCrudDialogOpen, setCrudDialogOpen] = useState(false);\r\n\r\n const [autoReset, setAutoReset] = useState(false);\r\n const { user } = useSelector(state => state.auth);\r\n\r\n const fetchData = async () => {\r\n taskDataList.setSearchData({ jobId: jobId });\r\n taskDataList.search([]);\r\n\r\n mointorDataList.setSearchData({ jobId: jobId });\r\n mointorDataList.search([]);\r\n\r\n workerDataList.search();\r\n\r\n workerSummaryDataList.setSearchData({ jobId: jobId });\r\n workerSummaryDataList.search();\r\n };\r\n\r\n useEffect(async () => {\r\n fetchData();\r\n }, [jobId]);\r\n\r\n useEffect(() => {\r\n if (!autoReset) return; // Exit if autoReset is false\r\n\r\n const intervalId = setInterval(fetchData, 15000);\r\n\r\n return () => clearInterval(intervalId); // Cleanup interval on unmount or autoReset change\r\n }, [autoReset, jobId]);\r\n\r\n\r\n\r\n const handleAction = async () => {\r\n setLoading(true);\r\n\r\n const actionMap = {\r\n Reset: {\r\n service: WorkerPlannedJobservice,\r\n method: 'bulkReset',\r\n data: () => Object.values(selectedItems),\r\n postAction: () => mainDataList.search(),\r\n },\r\n Set: {\r\n service: WorkerPlannedJobservice,\r\n method: 'bulkSet',\r\n data: () => Object.values(selectedItems),\r\n postAction: () => mainDataList.search(),\r\n },\r\n WorkerSet: {\r\n service: SGKWorkerservice,\r\n method: 'bulkSet',\r\n data: () => Object.values(wokrers),\r\n postAction: () => workerDataList.search(),\r\n },\r\n WorkerReset: {\r\n service: SGKWorkerservice,\r\n method: 'bulkReset',\r\n data: () => Object.values(wokrers),\r\n postAction: () => workerDataList.search(),\r\n },\r\n workerTaskSet: {\r\n service: SGKWorkerTaskservice,\r\n method: 'bulkSet',\r\n data: () => Object.values(wokrerTasks),\r\n postAction: () => taskDataList.search(),\r\n },\r\n WorkerTaskReset: {\r\n service: SGKWorkerTaskservice,\r\n method: 'bulkReset',\r\n data: () => Object.values(wokrerTasks),\r\n postAction: () => taskDataList.search(),\r\n },\r\n WorkerMonitorSet: {\r\n service: SGKWorkerMonitorservice,\r\n method: 'bulkSet',\r\n data: () => Object.values(wokrerMonitors),\r\n postAction: () => mointorDataList.search(),\r\n },\r\n WorkerMonitorReset: {\r\n service: SGKWorkerMonitorservice,\r\n method: 'bulkReset',\r\n data: () => Object.values(wokrerMonitors),\r\n postAction: () => mointorDataList.search(),\r\n },\r\n WorkerMonitorSetAll: {\r\n service: SGKWorkerMonitorservice,\r\n method: 'bulkSetJobOrWorker',\r\n data: () => jobId,\r\n postAction: () => mointorDataList.search(),\r\n },\r\n WorkerMonitorResetAll: {\r\n service: SGKWorkerMonitorservice,\r\n method: 'bulkResetJobOrWorker',\r\n data: () => jobId,\r\n postAction: () => mointorDataList.search(),\r\n },\r\n };\r\n\r\n try {\r\n const action = actionMap[actionType];\r\n\r\n if (!action) {\r\n console.warn(`Unknown action type: ${actionType}`);\r\n return;\r\n }\r\n\r\n const data = action.data();\r\n if (!data || (Array.isArray(data) && !data.length)) {\r\n console.warn('No valid items selected.');\r\n return;\r\n }\r\n\r\n const result = await action.service[action.method](data);\r\n if (result && action.postAction) {\r\n action.postAction(); // Dynamically call the service's search method\r\n }\r\n } catch (error) {\r\n console.error('Action failed:', error);\r\n } finally {\r\n setLoading(false);\r\n setOpenDialog(false);\r\n }\r\n };\r\n\r\n\r\n\r\n const columns = [\r\n {\r\n passItem: true,\r\n searchable: false,\r\n sortable: false,\r\n label: t('col.islemler'),\r\n execute: (item) => ,\r\n action: () => {\r\n\r\n SetJobId(item.id);\r\n setSelectedTab(1);\r\n // setAutoReset(true);\r\n }\r\n },\r\n ]\r\n } />\r\n },\r\n {\r\n name: \"id\",\r\n label: t('col.id'),\r\n textAlign: \"center\"\r\n },\r\n {\r\n name: \"tenantName\",\r\n label: t('col.tenantName'),\r\n textAlign: \"center\",\r\n searchable: user.isMaster,\r\n selectOptions: ,\r\n searchType: 'select',\r\n searchField: \"tenantId\",\r\n orderByField: \"tenantName\",\r\n },\r\n {\r\n name: \"tip\",\r\n label: t('col.tip'),\r\n textAlign: \"center\",\r\n execute: (item) => SGKWorkerTipi[item],\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: \r\n },\r\n {\r\n name: \"calismaZamani\",\r\n label: t('col.calismaZamani'),\r\n textAlign: \"center\",\r\n execute: (item) => parseAndFormatDateTime(item),\r\n searchable: true,\r\n searchType: \"custom\",\r\n searchComponent: DateFilterCell\r\n },\r\n {\r\n name: \"status\",\r\n label: t('col.status'),\r\n textAlign: \"center\",\r\n execute: (item) => WorkerJobStatusEnum[item],\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: \r\n },\r\n {\r\n name: \"priority\",\r\n label: t('col.priority'),\r\n textAlign: \"center\"\r\n },\r\n {\r\n name: \"parameter1\",\r\n label: t('col.parameter1'),\r\n textAlign: \"center\"\r\n },\r\n {\r\n name: \"parameter2\",\r\n label: t('col.parameter2'),\r\n textAlign: \"center\"\r\n },\r\n /*{\r\n sortable: false,\r\n searchable: false,\r\n passItem: true,\r\n textAlign: 'Center',\r\n title: 'action',\r\n execute: (item) => (\r\n <>\r\n handleOpenCrudDialog(item, 'Update')}\r\n color='warning'\r\n variant='contained'\r\n title={t('rowActions.update')}\r\n size='small'>\r\n \r\n \r\n openConfirmDialog(item)}\r\n color='error'\r\n variant='contained'\r\n title={t('rowActions.delete')}\r\n size='small'>\r\n \r\n \r\n \r\n ),\r\n },*/\r\n\r\n\r\n ];\r\n\r\n const taskColumns = [\r\n {\r\n name: \"workerId\",\r\n label: t('col.workerNo'),\r\n textAlign: \"center\"\r\n },\r\n {\r\n name: \"jobId\",\r\n label: t('col.jobId'),\r\n textAlign: \"center\"\r\n },\r\n {\r\n name: \"status\",\r\n label: t('col.status'),\r\n textAlign: \"center\",\r\n execute: (item) => WorkerTaskStatusEnum[item],\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: \r\n },\r\n {\r\n name: \"startDate\",\r\n label: t('col.startDate'),\r\n textAlign: \"center\",\r\n execute: (item) => parseAndFormatDateTime(item),\r\n searchable: true,\r\n searchType: \"custom\",\r\n searchComponent: DateFilterCell\r\n },\r\n {\r\n name: \"endDate\",\r\n label: t('col.endDate'),\r\n textAlign: \"center\",\r\n execute: (item) => parseAndFormatDateTime(item),\r\n searchable: true,\r\n searchType: \"custom\",\r\n searchComponent: DateFilterCell\r\n },\r\n ];\r\n\r\n const monitorColumn = [\r\n {\r\n name: \"tenantName\",\r\n label: t('col.tenantName'),\r\n textAlign: \"center\"\r\n },\r\n {\r\n name: \"monitorType\",\r\n label: t('col.monitorType'),\r\n textAlign: \"center\",\r\n execute: (item) => RobotMonitorTypeEnum[item],\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: \r\n },\r\n {\r\n name: \"jobId\",\r\n label: t('col.jobId'),\r\n textAlign: \"center\"\r\n },\r\n {\r\n name: \"calismaGunu\",\r\n label: t('col.calismaGunu'),\r\n textAlign: \"center\",\r\n execute: (item) => parseAndFormatDateTime(item),\r\n searchable: true,\r\n searchType: \"custom\",\r\n searchComponent: DateFilterCell\r\n },\r\n {\r\n name: \"subeKodu\",\r\n label: t('col.subeKodu'),\r\n textAlign: \"center\"\r\n },\r\n {\r\n name: \"workerNo\",\r\n label: t('col.workerNo'),\r\n textAlign: \"center\"\r\n },\r\n {\r\n name: \"status\",\r\n label: t('col.status'),\r\n textAlign: \"center\",\r\n execute: (item) => MonitorStatusEnum[item],\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: \r\n },\r\n {\r\n name: \"completed\",\r\n type: Boolean,\r\n label: t('col.completed'),\r\n textAlign: \"center\",\r\n passItem: true,\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: ,\r\n execute: (item) =>\r\n \r\n },\r\n {\r\n name: \"startDate\",\r\n label: t('col.startDate'),\r\n textAlign: \"center\",\r\n execute: (item) => parseAndFormatDateTime(item),\r\n searchable: true,\r\n searchType: \"custom\",\r\n searchComponent: DateFilterCell\r\n },\r\n {\r\n name: \"endDate\",\r\n label: t('col.endDate'),\r\n textAlign: \"center\",\r\n execute: (item) => parseAndFormatDateTime(item),\r\n searchable: true,\r\n searchType: \"custom\",\r\n searchComponent: DateFilterCell\r\n },\r\n ];\r\n\r\n const workerColumn = [\r\n {\r\n name: \"workerNo\",\r\n label: t('col.workerNo'),\r\n textAlign: \"center\"\r\n },\r\n {\r\n name: \"tip\",\r\n label: t('col.tip'),\r\n textAlign: \"center\"\r\n },\r\n {\r\n name: \"status\",\r\n label: t('col.status'),\r\n textAlign: \"center\",\r\n execute: (item) => WorkerStatusEnum[item],\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: \r\n },\r\n {\r\n name: \"tenantName\",\r\n label: t('col.aktifTenant'),\r\n textAlign: \"center\",\r\n searchable: true,\r\n\r\n },\r\n {\r\n name: \"aktifJobId\",\r\n label: t('col.aktifJobId'),\r\n textAlign: \"center\"\r\n },\r\n {\r\n name: \"aktifTaskId\",\r\n label: t('col.aktifTaskId'),\r\n textAlign: \"center\"\r\n },\r\n {\r\n name: \"startDate\",\r\n label: t('col.startDate'),\r\n textAlign: \"center\",\r\n execute: (item) => parseAndFormatDateTime(item),\r\n searchable: true,\r\n searchType: \"custom\",\r\n searchComponent: DateFilterCell\r\n },\r\n {\r\n name: \"endDate\",\r\n label: t('col.endDate'),\r\n textAlign: \"center\",\r\n execute: (item) => parseAndFormatDateTime(item),\r\n searchable: true,\r\n searchType: \"custom\",\r\n searchComponent: DateFilterCell\r\n },\r\n ];\r\n\r\n const workerSummaryColumn = [\r\n {\r\n name: \"workerNo\",\r\n label: t('col.workerNo'),\r\n textAlign: \"center\"\r\n },\r\n {\r\n name: \"completed\",\r\n type: Boolean,\r\n label: t('col.completed'),\r\n textAlign: \"center\",\r\n passItem: true,\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: ,\r\n execute: (item) =>\r\n \r\n },\r\n {\r\n name: \"status\",\r\n label: t('col.status'),\r\n textAlign: \"center\",\r\n execute: (item) => MonitorStatusEnum[item],\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: \r\n },\r\n {\r\n name: \"counter\",\r\n label: t('col.Counter'),\r\n textAlign: \"right\"\r\n },\r\n ];\r\n\r\n const taskDataList = usePaginationV2({\r\n service: SGKWorkerTaskservice,\r\n pageColumns: taskColumns,\r\n defaultSearchData: { id: jobId },\r\n\r\n defaultOrderBy: { name: \"Id\", type: \"Desc\" }\r\n });\r\n\r\n const mainDataList = usePaginationV2({\r\n service: WorkerPlannedJobservice,\r\n pageColumns: columns,\r\n defaultSearchData: { isMaster: user.isMaster },\r\n defaultOrderBy: { name: 'calismaZamani', type: 'Desc' },\r\n });\r\n\r\n const mointorDataList = usePaginationV2({\r\n service: SGKWorkerMonitorservice,\r\n pageColumns: monitorColumn,\r\n defaultSearchData: { id: jobId },\r\n defaultOrderBy: { name: \"id\", type: \"Desc\" }\r\n\r\n });\r\n\r\n const workerDataList = usePaginationV2({\r\n service: SGKWorkerservice,\r\n pageColumns: workerColumn,\r\n defaultSearchData: { isMaster: user.isMaster },\r\n defaultOrderBy: { name: \"id\", type: \"Desc\" }\r\n });\r\n\r\n const workerSummaryDataList = usePaginationV2({\r\n service: SGKWorkerMonitorSummaryservice,\r\n pageColumns: workerSummaryColumn,\r\n defaultSearchData: { jobId: jobId },\r\n defaultOrderBy: { name: \"id\", type: \"Desc\" }\r\n })\r\n\r\n\r\n\r\n\r\n\r\n const handleOpenCrudDialog = (data, tip) => {\r\n SetJobId(data);\r\n setCrudDialogOpen(true);\r\n setCrudTip(tip);\r\n };\r\n\r\n const handleClose = async () => {\r\n setCrudDialogOpen(false);\r\n await mainDataList.search([]);\r\n };\r\n\r\n const openConfirmDialog = (item) => {\r\n setActionType(item);\r\n setOpenDialog(true);\r\n };\r\n const closeConfirmDialog = () => setOpenDialog(false);\r\n\r\n const ActionButtons = () => (\r\n \r\n handleOpenCrudDialog(null, 'Create')}\r\n style={{ marginLeft: 10 }}\r\n disabled={loading}\r\n >\r\n {title + ' ' + t('button.add')}\r\n \r\n openConfirmDialog(\"Set\")}\r\n style={{ marginLeft: 10 }}\r\n disabled={loading} // Disable buttons when loading\r\n >\r\n {t(\"col.Set\")}\r\n \r\n openConfirmDialog(\"Reset\")}\r\n style={{ marginLeft: 10 }}\r\n color=\"secondary\"\r\n disabled={loading} // Disable buttons when loading\r\n >\r\n {t(\"col.ResetJob\")}\r\n \r\n \r\n }\r\n\r\n\r\n\r\n >\r\n { setAutoReset(!autoReset); }}\r\n style={{ marginLeft: 10 }}\r\n color={(autoReset ? \"secondary\" : \"primary\")}\r\n disabled={loading} // Disable buttons when loading\r\n >\r\n {t((autoReset ? \"col.StopRefesh\" : \"col.autoRefesh\"))}\r\n \r\n \r\n \r\n );\r\n\r\n const WorkTaskButtons = () => {\r\n return \r\n openConfirmDialog(\"WorkerTaskSet\")}\r\n style={{ marginLeft: 10 }}\r\n disabled={loading} // Disable buttons when loading\r\n >\r\n {t(\"col.Set\")}\r\n \r\n openConfirmDialog(\"WorkerTaskReset\")}\r\n style={{ marginLeft: 10 }}\r\n color=\"secondary\"\r\n disabled={loading} // Disable buttons when loading\r\n >\r\n {t(\"col.Reset\")}\r\n \r\n \r\n }\r\n\r\n\r\n >\r\n \r\n ;\r\n }\r\n\r\n const WorkMointorButtons = () => {\r\n return \r\n ,\r\n action: () => {\r\n openConfirmDialog(\"WorkerMonitorSet\");\r\n }\r\n },\r\n {\r\n label: t('col.Reset'),\r\n icon: ,\r\n action: () => {\r\n openConfirmDialog(\"WorkerMonitorReset\");\r\n }\r\n },\r\n {\r\n label: t('col.SetAll'),\r\n icon: ,\r\n action: () => {\r\n openConfirmDialog(\"WorkerMonitorSetAll\");\r\n }\r\n },\r\n {\r\n label: t('col.ResetAll'),\r\n icon: ,\r\n action: () => {\r\n openConfirmDialog(\"WorkerMonitorResetAll\");\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 const WorkListButtons = () => {\r\n return \r\n openConfirmDialog(\"WorkerReset\")}\r\n style={{ marginLeft: 10 }}\r\n color=\"secondary\"\r\n disabled={loading} // Disable buttons when loading\r\n >\r\n {t(\"col.Reset\")}\r\n \r\n \r\n }\r\n\r\n\r\n >\r\n \r\n ;\r\n }\r\n\r\n const [selectedTab, setSelectedTab] = useState(0);\r\n\r\n // Handle Tab change\r\n const handleTabChange = (event, newValue) => {\r\n setSelectedTab(newValue);\r\n if (newValue == 0) {\r\n mainDataList.setSearchData({ isMaster: user.isMaster });\r\n // setAutoReset(false);\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\n \r\n\r\n < WorkerPlannedJobCrudDialog\r\n open={onCrudDialogOpen}\r\n onClose={() => handleClose()}\r\n data={jobId}\r\n crudTip={crudTip}\r\n title={title}\r\n />\r\n\r\n\r\n {selectedTab == 0 &&\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n\r\n }\r\n\r\n {selectedTab == 1 &&\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 {selectedTab == 2 &&\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n }\r\n\r\n {selectedTab == 3 &&\r\n \r\n \r\n \r\n }\r\n\r\n\r\n \r\n \r\n );\r\n};\r\nexport default WorkerPlannedJobPage;","import React from 'react';\r\nimport Button from '@mui/material/Button';\r\nimport PropTypes from 'prop-types';\r\n\r\n// Define your CustomButton component\r\nconst CustButton = ({ children, color = 'primary', variant = 'contained', size = 'medium', icon: Icon, ...props }) => {\r\n return (\r\n : null} // Conditionally render the icon if provided\r\n {...props} // Spread additional props to the MUI Button component\r\n >\r\n {children}\r\n \r\n );\r\n};\r\n\r\n// Define PropTypes for type-checking (optional)\r\nCustButton.propTypes = {\r\n children: PropTypes.node.isRequired,\r\n color: PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary']),\r\n variant: PropTypes.oneOf(['text', 'outlined', 'contained']),\r\n size: PropTypes.oneOf(['small', 'medium', 'large']),\r\n icon: PropTypes.elementType, // Expect a React component\r\n};\r\n\r\nexport default CustButton;\r\n","const OperationType = {\r\n 1: \"Saatlik İşlem\",\r\n 2: \"Günlük İşlem\",\r\n 3: \"Haftalık İşlem\",\r\n 4: \"Aylık İşlem\",\r\n 5: \"Bir Kez İşlem\",\r\n}\r\n\r\nexport default OperationType;","import React from 'react';\r\nimport { FormControl, TextField } from '@mui/material';\r\nimport AdapterDateFns from '@mui/lab/AdapterDateFns';\r\nimport trLocale from 'date-fns/locale/tr';\r\nimport { Controller } from 'react-hook-form';\r\nimport { LocalizationProvider, TimePicker } from '@mui/lab';\r\n\r\nconst TimeInput = React.forwardRef(({\r\n name,\r\n label,\r\n defaultValue,\r\n control,\r\n rules,\r\n error,\r\n variant = 'outlined',\r\n margin = 'dense',\r\n inputFormat = \"HH:mm\",\r\n ...props\r\n}, ref) => {\r\n // Helper function to convert a time string (HH:mm:ss) to a Date object\r\n const timeStringToDate = (timeString) => {\r\n if (!timeString) return null;\r\n const [hours, minutes, seconds] = timeString.split(':').map(Number);\r\n const date = new Date();\r\n date.setHours(hours, minutes, seconds || 0, 0);\r\n return date;\r\n };\r\n\r\n // Helper function to convert a Date object to a time string (HH:mm:ss)\r\n const dateToTimeString = (date) => {\r\n if (!date) return null;\r\n return date.toTimeString().split(' ')[0]; // Returns HH:mm:ss\r\n };\r\n\r\n return (\r\n \r\n (\r\n \r\n {\r\n const timeString = dateToTimeString(newValue);\r\n onChange(timeString); // Update the form value as a string\r\n }}\r\n ampm={false} // 24-hour format\r\n renderInput={(params) => (\r\n \r\n )}\r\n />\r\n \r\n )}\r\n />\r\n \r\n );\r\n});\r\n\r\nexport default TimeInput;\r\n","import { Box, Button, Dialog, DialogActions, DialogContent, DialogTitle, Grid } from '@mui/material';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { useTranslation } from 'react-i18next';\r\nimport SaveIcon from '@mui/icons-material/Save';\r\nimport useMessage from '../../util/useMessage';\r\nimport { useForm } from 'react-hook-form';\r\nimport SubmitButton from '../../ui/SubmitButton';\r\nimport EnumSelect from '../../ui/EnumSelect';\r\nimport InputText from '../../ui/InputText';\r\nimport TenantBatchOperationservice from '../../service/MasterServices/TenantBatchOperationService';\r\nimport BatchOperationservice from '../../service/MasterServices/BatchOperationService';\r\nimport masterTenantservice from '../../service/MasterServices/MasterTenantService';\r\nimport ComplexSelect from '../../ui/ComplexSelect ';\r\nimport SwitchInput from '../../ui/SwitchInput';\r\nimport OperationType from '../../enum/OperationType';\r\nimport TimeInput from '../../ui/TimeInput';\r\nimport ComplexAutocomplete from '../../ui/ComplexAutocomplete';\r\nimport { useSelector } from 'react-redux';\r\nimport MailGruplariservice from '../../service/GeneralServices/MailGruplariService';\r\n\r\nconst TenantBatchOperationCrudDialog = ({ open, onClose, data, crudTip, title }) => {\r\n\r\n\r\n const { t } = useTranslation();\r\n const showMessage = useMessage();\r\n const [crudtitle, SetCrudtitle] = useState(\"\");\r\n\r\n const [OperationIdList, setOperationIdList] = useState([]);\r\n const [TenantIdList, setTenantIdList] = useState([]);\r\n const [intervalTipi, setIntervalTipi] = useState();\r\n const { user } = useSelector(state => state.auth);\r\n\r\n const daysOfWeeklist = [\r\n { key: 'Pazartesi', value: 1 }, // Monday\r\n { key: 'Salı', value: 2 }, // Tuesday\r\n { key: 'Çarşamba', value: 3 }, // Wednesday\r\n { key: 'Perşembe', value: 4 }, // Thursday\r\n { key: 'Cuma', value: 5 }, // Friday\r\n { key: 'Cumartesi', value: 6 }, // Saturday\r\n { key: 'Pazar', value: 7 } // Sunday\r\n ];\r\n\r\n const daysList = Array.from({ length: 30 }, (_, i) => ({ key: i + 1, value: i + 1 }));\r\n\r\n\r\n const inputObject = {\r\n tenantId: data?.tenantId,\r\n operationId: data?.operationId,\r\n aktif: data?.aktif ?? true,\r\n operationType: data?.operationType,\r\n interval: data?.interval,\r\n specificTime: data?.specificTime,\r\n toEmail: data?.toEmail,\r\n ccEmail: data?.ccEmail,\r\n bccEmail: data?.bccEmail,\r\n }\r\n\r\n console.log(data?.specificTime);\r\n\r\n const [MailGruplariList, setMailGruplariList] = useState([]);\r\n\r\n const getMailGruplariList = async (TenantId) => {\r\n try {\r\n let result;\r\n if (TenantId) {\r\n result = await TenantBatchOperationservice.getTenantMailGroup({ id: TenantId });\r\n } else {\r\n result = await MailGruplariservice.get();\r\n }\r\n\r\n if (result?.isSuccess) {\r\n setMailGruplariList(result.resultObject);\r\n } else {\r\n console.error('Failed to fetch MailGruplari list:', result?.message || 'Unknown error');\r\n }\r\n } catch (error) {\r\n console.error('An error occurred while fetching MailGruplari list:', error);\r\n }\r\n };\r\n\r\n\r\n\r\n const { handleSubmit, register, control, reset, formState: { errors }, setValue } = useForm({\r\n defaultValues: {\r\n ...inputObject\r\n }\r\n });\r\n\r\n useEffect(() => {\r\n if (OperationIdList.length > 0 && data?.operationId) {\r\n setValue(\"operationId\", OperationIdList.find(r => r.operationId === data?.operationId));\r\n }\r\n }, [OperationIdList, data, setValue]);\r\n\r\n const loadSource = async () => {\r\n var OperationIdRes = await BatchOperationservice.get();\r\n\r\n if (OperationIdRes && OperationIdRes.isSuccess) {\r\n setOperationIdList(OperationIdRes.resultObject);\r\n }\r\n\r\n if (data && data?.tenantId != null) {\r\n await getMailGruplariList(data?.tenantId);\r\n }\r\n\r\n if (!user.isMaster) {\r\n await getMailGruplariList();\r\n }\r\n\r\n\r\n var TenantIdRes = await masterTenantservice.get();\r\n if (TenantIdRes && TenantIdRes.isSuccess) {\r\n setTenantIdList(TenantIdRes.resultObject);\r\n }\r\n\r\n setIntervalTipi(data?.operationType);\r\n\r\n\r\n\r\n }\r\n\r\n useEffect(() => {\r\n if (open) {\r\n loadSource();\r\n reset({\r\n ...inputObject\r\n });\r\n\r\n\r\n\r\n setLoading(false);\r\n setStatusUpdated(false);\r\n if (crudTip == \"Create\") {\r\n SetCrudtitle(t(title) + \" \" + t(\"button.add\"))\r\n } else {\r\n SetCrudtitle(t(title) + \" \" + t(\"button.update\"))\r\n }\r\n }\r\n }, [open, reset]);\r\n\r\n const [loading, setLoading] = useState(false);\r\n\r\n const [statusUpdated, setStatusUpdated] = useState(false);\r\n\r\n const Create = async (input) => {\r\n\r\n const { resultObject } = await TenantBatchOperationservice.create(\r\n {\r\n tenantId: input.tenantId,\r\n operationId: input?.operationId?.operationId,\r\n aktif: input.aktif,\r\n operationType: input?.operationType,\r\n daysOfWeek: input?.daysOfWeek?.join(','),\r\n daysOfMonth: input?.daysOfMonth?.join(','),\r\n interval: input?.interval,\r\n specificTime: input?.specificTime,\r\n toEmail: input?.toEmail,\r\n ccEmail: input?.ccEmail,\r\n bccEmail: input?.bccEmail,\r\n isMaster: user.isMaster\r\n }\r\n );\r\n\r\n return resultObject;\r\n }\r\n const Update = async (input) => {\r\n // Ensure daysOfWeek is an array before calling join\r\n const daysOfWeek = Array.isArray(input.daysOfWeek) ? input.daysOfWeek.join(',') : '';\r\n const daysOfMonth = Array.isArray(input.daysOfMonth) ? input.daysOfMonth.join(',') : '';\r\n\r\n const { resultObject } = await TenantBatchOperationservice.fullupdate(\r\n {\r\n id: data?.id,\r\n tenantId: input.tenantId,\r\n operationId: input?.operationId?.operationId,\r\n aktif: input.aktif,\r\n operationType: input?.operationType,\r\n daysOfWeek: daysOfWeek,\r\n daysOfMonth: daysOfMonth,\r\n interval: input?.interval,\r\n specificTime: input?.specificTime,\r\n toEmail: input?.toEmail,\r\n ccEmail: input?.ccEmail,\r\n bccEmail: input?.bccEmail,\r\n isMaster: user.isMaster\r\n }\r\n );\r\n\r\n return resultObject;\r\n }\r\n\r\n const OperationTypeHandler = (value) => {\r\n setIntervalTipi(value);\r\n setValue(\"interval\", 1);\r\n setValue(\"daysOfWeek\", []);\r\n setValue(\"daysOfMonth\", []);\r\n }\r\n\r\n\r\n const onSubmit = async (input) => {\r\n if (loading)\r\n return false;\r\n\r\n try {\r\n setLoading(true);\r\n\r\n let status = false;\r\n if (crudTip == \"Create\") {\r\n status = await Create(input);\r\n } else {\r\n\r\n status = await Update(input);\r\n }\r\n\r\n setLoading(false);\r\n\r\n if (status) {\r\n setStatusUpdated(true);\r\n showMessage(t('message.created'));\r\n } else {\r\n showMessage(t('message.updateFailed'));\r\n }\r\n\r\n return status;\r\n\r\n } catch (error) {\r\n setLoading(false);\r\n\r\n console.log(error);\r\n }\r\n\r\n\r\n }\r\n\r\n const GetIntervalTipi = () => {\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {intervalTipi == 3 && \r\n \r\n \r\n }\r\n\r\n {intervalTipi == 4 && \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 const InsertForm = () => {\r\n return (\r\n \r\n\r\n \r\n \r\n \r\n\r\n {user.isMaster && \r\n getMailGruplariList(tenantId)}\r\n />\r\n \r\n }\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n {GetIntervalTipi()}\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 const UpdateForm = () => {\r\n\r\n return (\r\n \r\n\r\n\r\n \r\n \r\n \r\n\r\n {user.isMaster && \r\n \r\n \r\n }\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n {GetIntervalTipi()}\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 return (\r\n \r\n
    \r\n \r\n {crudtitle}\r\n \r\n\r\n \r\n {data ? UpdateForm() : InsertForm()}\r\n \r\n \r\n {statusUpdated ? (\r\n \r\n ) : (\r\n \r\n \r\n }>\r\n {t('button.save')}\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\nexport default React.memo(TenantBatchOperationCrudDialog);\r\n\r\n\r\n","import React from \"react\";\r\nimport { CheckCircle, Error, HourglassEmpty, HourglassFull, PlayArrow, Delete, Replay, HelpOutline } from \"@mui/icons-material\";\r\nimport { Tooltip, Box } from \"@mui/material\";\r\n\r\n\r\nconst StatusIcon = ({ status }) => {\r\n const getIcon = () => {\r\n switch (status) {\r\n case \"Succeeded\":\r\n return ;\r\n case \"Failed\":\r\n return ;\r\n case \"Processing\":\r\n return ;\r\n case \"Enqueued\":\r\n return ;\r\n case \"Scheduled\":\r\n return ;\r\n case \"AwaitingRetry\":\r\n return ;\r\n case \"Deleted\":\r\n return ;\r\n case \"NotFound\":\r\n default:\r\n return ;\r\n }\r\n };\r\n\r\n const getTooltipTitle = () => {\r\n switch (status) {\r\n case \"Succeeded\":\r\n return \"Job succeeded\";\r\n case \"Failed\":\r\n return \"Job failed\";\r\n case \"Processing\":\r\n return \"Job is processing\";\r\n case \"Enqueued\":\r\n return \"Job is enqueued\";\r\n case \"Scheduled\":\r\n return \"Job is scheduled\";\r\n case \"AwaitingRetry\":\r\n return \"Job is awaiting retry\";\r\n case \"Deleted\":\r\n return \"Job was deleted\";\r\n case \"NotFound\":\r\n default:\r\n return \"Job status not found\";\r\n }\r\n };\r\n\r\n return (\r\n \r\n {getIcon()}\r\n \r\n );\r\n};\r\n\r\nexport default StatusIcon;\r\n","import { useEffect, useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { IconButton } from \"@mui/material\";\r\n\r\nimport Page from \"../../layout/Page\";\r\nimport { DataTable } from \"../../components/DataTable\";\r\nimport ListPageActions from \"../../components/ListPageActions\";\r\nimport DownloadButton from \"../../components/DownloadButton\";\r\nimport SwitchCell from \"../../components/SwitchCell\";\r\nimport CustButton from \"../../ui/CustButton\";\r\nimport { YesNoTypeOptions } from \"../../components/YesNoTypeOptions\";\r\nimport DialogConfirm from \"../../components/DialogConfirm\";\r\nimport usePaginationV2 from \"../../util/usePaginationV2\";\r\nimport FilterOptionEnum from \"../../enum/FilterOptionEnum\";\r\nimport MenuListAction from \"../../components/MenuListAction\";\r\nimport { Add, Edit, Delete, Settings } from \"@mui/icons-material\";\r\nimport TenantBatchOperationCrudDialog from \"./TenantBatchOperationCrudDialog\";\r\nimport TenantBatchOperationservice from \"../../service/MasterServices/TenantBatchOperationService\";\r\nimport StatusIcon from \"./HangfireStatus\";\r\nimport NoteDialog from \"../../components/NoteDialog\";\r\nimport OperationType from \"../../enum/OperationType\";\r\nimport DynamicOptions from \"../../components/DynamicOptions\";\r\nimport useGlobal from \"../../util/Global\";\r\nimport { useSelector } from \"react-redux\";\r\n\r\nconst TenantBatchOperationPage = ({ title }) => {\r\n const { t } = useGlobal();\r\n const [deleteItem, setDeleteItem] = useState(null);\r\n const [loading, setLoading] = useState(false); // Loading state for action handling\r\n const [openDialog, setOpenDialog] = useState(false);\r\n const [dialogOpen, setDialogOpen] = useState(false);\r\n const [logOperation, setLogOperation] = useState(true);\r\n const [logTitle, setLogTitle] = useState(true);\r\n const [crudTip, setCrudTip] = useState(\"\");\r\n\r\n const { user } = useSelector(state => state.auth);\r\n\r\n\r\n\r\n // Switch change handler\r\n const handelaktifSwitchChange = async (item, newCheckedVal) => {\r\n console.log(item, newCheckedVal);\r\n let result = await TenantBatchOperationservice.update({\r\n id: item.id,\r\n aktif: !item.aktif\r\n });\r\n mainDataList.search();\r\n return true;\r\n };\r\n\r\n // Switch change handler\r\n const handelisEmailTestSwitchChange = async (item, newCheckedVal) => {\r\n console.log(item, newCheckedVal);\r\n let result = await TenantBatchOperationservice.update({\r\n id: item.id,\r\n isEmailTest: !item.isEmailTest\r\n });\r\n mainDataList.search();\r\n return true;\r\n };\r\n\r\n const daysOfWeeklist = [\r\n { key: 'Pazartesi', value: 1 }, // Monday\r\n { key: 'Salı', value: 2 }, // Tuesday\r\n { key: 'Çarşamba', value: 3 }, // Wednesday\r\n { key: 'Perşembe', value: 4 }, // Thursday\r\n { key: 'Cuma', value: 5 }, // Friday\r\n { key: 'Cumartesi', value: 6 }, // Saturday\r\n { key: 'Pazar', value: 7 } // Sunday\r\n ];\r\n\r\n\r\n function getDaysFromString(inputString) {\r\n if (!inputString) {\r\n return ''; // Return an empty string if inputString is null, undefined, or empty\r\n }\r\n // Split the input string by commas, convert to numbers, and map to day names\r\n return inputString.split(',')\r\n .map(day => {\r\n const dayNumber = parseInt(day, 10); // Convert to number\r\n const dayObject = daysOfWeeklist.find(item => item.value === dayNumber);\r\n return dayObject ? dayObject.key + \", \" : null; // Return the key or null\r\n })\r\n .filter(day => day !== null); // Remove null values\r\n }\r\n\r\n // Handle delete actions\r\n const handleDeleteAction = async () => {\r\n if (!deleteItem) return;\r\n\r\n setLoading(true); // Start loading\r\n try {\r\n const result = await TenantBatchOperationservice.delete(deleteItem.id);\r\n\r\n if (result) {\r\n mainDataList.search(); // Refresh data after success\r\n }\r\n } catch (error) {\r\n console.error(\"Action failed:\", error); // Handle any error that occurs during the action\r\n // Optionally, display an error notification or message\r\n } finally {\r\n setLoading(false); // End loading regardless of success or failure\r\n setOpenDialog(false); // Close the confirm dialog\r\n }\r\n };\r\n\r\n\r\n\r\n const handleOpenDialog = () => {\r\n setDialogOpen(true);\r\n };\r\n\r\n const handleCloseDialog = () => {\r\n setDialogOpen(false);\r\n };\r\n\r\n\r\n // Column definitions\r\n const columns = [\r\n {\r\n passItem: true,\r\n searchable: false,\r\n sortable: false,\r\n label: t('col.islemler'),\r\n execute: (item) => ,\r\n action: async () => {\r\n await TenantBatchOperationservice.TriggerTask({ id: item.id });\r\n mainDataList.search([]);\r\n }\r\n },\r\n {\r\n label: t('col.showLog'),\r\n icon: ,\r\n action: async () => {\r\n var result = await TenantBatchOperationservice.LogOperation({ id: item.id });\r\n if (result.isSuccess) {\r\n setLogOperation(result.message);\r\n setLogTitle(result.resultObject);\r\n handleOpenDialog();\r\n }\r\n }\r\n },\r\n {\r\n label: t('col.Reset'),\r\n icon: ,\r\n action: async () => {\r\n await TenantBatchOperationservice.ResetOperation({ id: item.id });\r\n mainDataList.search([]);\r\n }\r\n },\r\n ]\r\n } />\r\n },\r\n {\r\n name: \"operationId\",\r\n label: t('col.operationId'),\r\n textAlign: \"center\",\r\n\r\n },\r\n\r\n user.isMaster == true ? {\r\n name: \"tenantName\",\r\n label: t('col.tenantName'),\r\n textAlign: \"left\",\r\n searchable: true,\r\n selectOptions: ,\r\n searchType: 'select',\r\n searchField: \"tenantId\",\r\n orderByField: \"tenantName\",\r\n } : {\r\n name: \"tenantName\",\r\n label: t('col.tenantName'),\r\n textAlign: \"left\",\r\n searchable: false,\r\n },\r\n ,\r\n {\r\n name: \"operationName\",\r\n label: t('col.operationName'),\r\n textAlign: \"left\",\r\n selectOptions: ,\r\n searchType: 'select',\r\n searchField: \"operationId\",\r\n orderByField: \"operationName\",\r\n },\r\n {\r\n name: \"operationType\",\r\n label: t('col.operationType'),\r\n textAlign: \"center\",\r\n execute: (item) => OperationType[item],\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: \r\n },\r\n {\r\n name: \"interval\",\r\n label: t('col.interval'),\r\n textAlign: \"center\",\r\n },\r\n {\r\n name: \"specificTime\",\r\n label: t('col.specificTime'),\r\n textAlign: \"center\",\r\n },\r\n {\r\n name: \"daysOfWeek\",\r\n label: t('col.daysOfWeek'),\r\n textAlign: \"left\",\r\n execute: (item) => getDaysFromString(item)\r\n },\r\n {\r\n name: \"daysOfMonth\",\r\n label: t('col.daysOfMonth'),\r\n textAlign: \"left\",\r\n },\r\n {\r\n name: \"processStatus\",\r\n label: t('col.processStatus'),\r\n textAlign: \"center\",\r\n execute: (item) => StatusIcon({ status: item })\r\n },\r\n {\r\n name: \"aktif\",\r\n type: Boolean,\r\n label: t('col.aktif'),\r\n textAlign: \"center\",\r\n passItem: true,\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: ,\r\n execute: (item) =>\r\n handelaktifSwitchChange(item, newCheckedVal)}\r\n />\r\n },\r\n {\r\n name: \"isEmailTest\",\r\n type: Boolean,\r\n label: t('col.isEmailTest'),\r\n textAlign: \"center\",\r\n passItem: true,\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: ,\r\n execute: (item) =>\r\n handelisEmailTestSwitchChange(item, newCheckedVal)}\r\n />\r\n },\r\n {\r\n sortable: false,\r\n searchable: false,\r\n passItem: true,\r\n textAlign: \"Center\",\r\n title: \"action\",\r\n execute: (item) => (\r\n <>\r\n handleOpenCrudDialog(item, \"Update\")}\r\n color=\"warning\"\r\n variant=\"contained\"\r\n title={t(\"rowActions.update\")}\r\n size=\"small\">\r\n \r\n \r\n openConfirmDialog(item)}\r\n color=\"error\"\r\n variant=\"contained\"\r\n title={t(\"rowActions.delete\")}\r\n size=\"small\">\r\n \r\n \r\n \r\n ),\r\n },\r\n\r\n\r\n\r\n ];\r\n\r\n // Pagination configuration\r\n const mainDataList = usePaginationV2({\r\n service: TenantBatchOperationservice,\r\n defaultSearchData: { isMaster: user.isMaster },\r\n pageColumns: columns,\r\n defaultOrderBy: { name: \"tenantId\", type: \"Desc\" },\r\n });\r\n\r\n // Handle Crud dialog open/close\r\n ///**********************/////\r\n\r\n\r\n const [crudItem, setCrudItem] = useState(null);\r\n const [onCrudDialogOpen, setCrudDialogOpen] = useState(false);\r\n\r\n const handleOpenCrudDialog = (data, tip) => {\r\n setCrudItem(data); // Set the data to pass to the dialog\r\n setCrudDialogOpen(true);\r\n setCrudTip(tip);\r\n };\r\n\r\n const handleTenantBatchOperationClose = async () => {\r\n setCrudDialogOpen(false);\r\n await mainDataList.search([]); // Clear the dialog data when closing\r\n };\r\n\r\n // Handle confirm dialog open/close\r\n const openConfirmDialog = (item) => {\r\n // setActionType(item);\r\n setDeleteItem(item);\r\n setOpenDialog(true);\r\n };\r\n\r\n\r\n\r\n const closeConfirmDialog = () => setOpenDialog(false);\r\n\r\n // Action buttons component\r\n const ActionButtons = () => (\r\n \r\n handleOpenCrudDialog(null, \"Create\")}\r\n style={{ marginLeft: 10 }}\r\n disabled={loading} // Disable buttons when loading\r\n >\r\n {title + \" \" + t('button.add')}\r\n \r\n \r\n }\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 < TenantBatchOperationCrudDialog\r\n open={onCrudDialogOpen}\r\n onClose={() => handleTenantBatchOperationClose()}\r\n data={crudItem}\r\n crudTip={crudTip}\r\n title={title}\r\n\r\n />\r\n\r\n \r\n\r\n \r\n \r\n );\r\n};\r\n\r\nexport default TenantBatchOperationPage;\r\n","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass HangfireLoglamaService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.MasterDomain + ApiUrl.controller.HangfireLoglama);\r\n }\r\n\r\n /* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n}\r\n\r\nconst HangfireLoglamaservice = new HangfireLoglamaService();\r\n\r\nexport default HangfireLoglamaservice;","const ProccessStatus = {\r\n 1: \"Başarılı\",\r\n 99: \"Çalışıyor\",\r\n '-1': \"Hata\",\r\n 98: \"Beklemede\",\r\n}\r\n\r\nexport default ProccessStatus;","import { Component, useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport Page from \"../../layout/Page\";\r\nimport { DataTable } from \"../../components/DataTable\";\r\nimport ListPageActions from \"../../components/ListPageActions\";\r\nimport DownloadButton from \"../../components/DownloadButton\";\r\nimport CustButton from \"../../ui/CustButton\";\r\nimport DateFilterCell from \"../../components/DateFilterCell\";\r\nimport usePaginationV2 from \"../../util/usePaginationV2\";\r\nimport { parseAndFormatDate, parseAndFormatDateTime } from \"../../util/DateUtil\";\r\nimport FilterOptionEnum from \"../../enum/FilterOptionEnum\";\r\nimport { Delete, WrapText } from \"@mui/icons-material\";\r\nimport HangfireLoglamaservice from \"../../service/MasterServices/HangfireLoglamaService\";\r\nimport ProccessStatus from \"../../enum/ProccessStatus\";\r\nimport FixedWidthText from \"../../ui/FixedWidthText\";\r\nimport DynamicOptions from \"../../components/DynamicOptions\";\r\nimport DialogConfirm from \"../../components/DialogConfirm\";\r\nimport { IconButton } from \"@mui/material\";\r\nimport { useSelector } from \"react-redux\";\r\n\r\nconst HangfireLoglamaPage = ({ title }) => {\r\n const { t } = useTranslation();\r\n const [loading, setLoading] = useState(false); // Loading state for action handling\r\n const [isTruncated, setIsTruncated] = useState(true);\r\n const [deleteItem, setDeleteItem] = useState(null);\r\n const [openDialog, setOpenDialog] = useState(false);\r\n\r\n const { user } = useSelector(state => state.auth);\r\n\r\n // Toggle between truncated and full text\r\n const handleToggle = () => {\r\n setIsTruncated(prevState => !prevState);\r\n };\r\n\r\n // Handle confirm dialog open/close\r\n const openConfirmDialog = (item) => {\r\n // setActionType(item);\r\n setDeleteItem(item);\r\n setOpenDialog(true);\r\n };\r\n\r\n // Handle delete actions\r\n const handleDeleteAction = async () => {\r\n if (!deleteItem) return;\r\n\r\n setLoading(true); // Start loading\r\n try {\r\n const result = await HangfireLoglamaservice.delete(deleteItem.id);\r\n\r\n if (result) {\r\n mainDataList.search(); // Refresh data after success\r\n }\r\n } catch (error) {\r\n console.error(\"Action failed:\", error); // Handle any error that occurs during the action\r\n // Optionally, display an error notification or message\r\n } finally {\r\n setLoading(false); // End loading regardless of success or failure\r\n setOpenDialog(false); // Close the confirm dialog\r\n }\r\n };\r\n const closeConfirmDialog = () => setOpenDialog(false);\r\n\r\n // Column definitions\r\n const columns = [\r\n user.isMaster == true ? {\r\n name: \"tenantName\",\r\n label: t('label.tenantName'),\r\n textAlign: \"left\",\r\n searchable: true,\r\n selectOptions: ,\r\n searchType: 'select',\r\n searchField: \"tenantId\",\r\n orderByField: \"tenantName\",\r\n } : {\r\n name: \"tenantName\",\r\n label: t('label.tenantName'),\r\n textAlign: \"left\",\r\n searchable: false,\r\n },\r\n {\r\n name: \"operationName\",\r\n label: t('label.operationName'),\r\n textAlign: \"left\",\r\n selectOptions: ,\r\n searchType: 'select',\r\n searchField: \"operationId\",\r\n orderByField: \"operationName\",\r\n },\r\n {\r\n name: \"runningDate\",\r\n label: t('label.runningDate'),\r\n textAlign: \"center\",\r\n execute: (item) => parseAndFormatDate(item),\r\n searchable: true,\r\n searchType: \"custom\",\r\n searchComponent: DateFilterCell\r\n },\r\n {\r\n name: \"startTime\",\r\n label: t('label.startTime'),\r\n textAlign: \"center\",\r\n execute: (item) => parseAndFormatDateTime(item),\r\n searchable: true,\r\n searchType: \"custom\",\r\n searchComponent: DateFilterCell\r\n },\r\n {\r\n name: \"endTime\",\r\n label: t('label.endTime'),\r\n textAlign: \"center\",\r\n execute: (item) => parseAndFormatDateTime(item),\r\n searchable: true,\r\n searchType: \"custom\",\r\n searchComponent: DateFilterCell\r\n },\r\n\r\n\r\n {\r\n name: \"status\",\r\n label: t('label.status'),\r\n textAlign: \"center\",\r\n execute: (item) => ProccessStatus[item],\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: \r\n },\r\n {\r\n name: \"exception\",\r\n label: t('label.exception'),\r\n textAlign: \"center\",\r\n execute: (item =>\r\n\r\n \r\n\r\n\r\n ),\r\n },\r\n {\r\n sortable: false,\r\n searchable: false,\r\n passItem: true,\r\n textAlign: \"Center\",\r\n title: \"action\",\r\n execute: (item) => (\r\n <>\r\n openConfirmDialog(item)}\r\n color=\"error\"\r\n variant=\"contained\"\r\n title={t(\"rowActions.delete\")}\r\n size=\"small\">\r\n \r\n \r\n \r\n ),\r\n },\r\n ];\r\n\r\n // Pagination configuration\r\n const mainDataList = usePaginationV2({\r\n service: HangfireLoglamaservice,\r\n defaultSearchData: { isMaster: user.isMaster },\r\n pageColumns: columns,\r\n defaultOrderBy: { name: \"Id\", type: \"Desc\" },\r\n });\r\n\r\n // Action buttons component\r\n const ActionButtons = () => (\r\n \r\n handleToggle()}\r\n style={{ marginLeft: 10 }}\r\n disabled={loading} // Disable buttons when loading\r\n >\r\n \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\n};\r\n\r\nexport default HangfireLoglamaPage;\r\n","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass SGKMasterParameterService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.MasterDomain + ApiUrl.controller.SGKMasterParameter);\r\n }\r\n\r\n /* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n}\r\n\r\nconst SGKMasterParameterservice = new SGKMasterParameterService();\r\n\r\nexport default SGKMasterParameterservice;\r\n","import { Button, Dialog, DialogActions, DialogContent, DialogTitle, Grid } from '@mui/material';\r\nimport React, { useEffect, useState } from 'react';\r\nimport SaveIcon from '@mui/icons-material/Save';\r\nimport useMessage from '../../util/useMessage';\r\nimport { useForm } from 'react-hook-form';\r\nimport SubmitButton from '../../ui/SubmitButton';\r\nimport DateInput from '../../ui/DateInput';\r\nimport EnumSelect from '../../ui/EnumSelect';\r\nimport InputText from '../../ui/InputText';\r\n\r\nimport paramTipiEnum from '../../enum/paramTipiEnum';\r\nimport SwitchInput from '../../ui/SwitchInput';\r\nimport MonthYearInput from '../../ui/MonthYearInput';\r\nimport useGlobal from '../../util/Global';\r\nimport SGKMasterParameterservice from '../../service/MasterServices/SGKMasterParameterService';\r\n\r\nconst SGKMasterParameterCrudDialog = ({ open, onClose, data, crudTip, title }) => {\r\n\r\n const { t } = useGlobal();\r\n const showMessage = useMessage();\r\n const [crudtitle, SetCrudtitle] = useState(\"\");\r\n\r\n const [paramTipi, setParamTipi] = useState(null);\r\n\r\n const inputObject = {\r\n id: data?.id,\r\n paramterName: data?.paramterName,\r\n paramKey: data?.paramKey,\r\n paramTipi: data?.paramTipi,\r\n value: data?.value,\r\n aciklama: data?.aciklama,\r\n };\r\n\r\n const { handleSubmit, control, reset, formState: { errors }, setValue } = useForm({\r\n defaultValues: {\r\n ...inputObject\r\n }\r\n });\r\n\r\n\r\n useEffect(() => {\r\n if (open) {\r\n reset({\r\n ...inputObject\r\n });\r\n\r\n setLoading(false);\r\n setStatusUpdated(false);\r\n if (crudTip === \"Create\") {\r\n SetCrudtitle(title + \" \" + t(\"button.add\"));\r\n setValue(\"paramTipi\", 1);\r\n setParamTipi(1);\r\n } else {\r\n setParamTipi(data?.paramTipi);\r\n SetCrudtitle(title + \" \" + t(\"button.update\"));\r\n\r\n if (data.paramTipi != 4)\r\n setValue(\"value\", data.value);\r\n else\r\n setValue(\"value\", data.value == \"true\");\r\n }\r\n }\r\n }, [open, reset]);\r\n\r\n\r\n\r\n\r\n const [loading, setLoading] = useState(false);\r\n const [statusUpdated, setStatusUpdated] = useState(false);\r\n\r\n const Create = async (input) => {\r\n debugger;\r\n const { resultObject } = await SGKMasterParameterservice.create({\r\n paramterName: input?.paramterName,\r\n paramKey: input?.paramKey,\r\n paramTipi: input?.paramTipi,\r\n value: input?.value,\r\n aciklama: input?.aciklama,\r\n });\r\n return resultObject;\r\n };\r\n\r\n const Update = async (input) => {\r\n debugger;\r\n const { resultObject } = await SGKMasterParameterservice.update({\r\n id: data?.id,\r\n paramterName: input?.paramterName,\r\n paramKey: input?.paramKey,\r\n paramTipi: input?.paramTipi,\r\n value: input?.value,\r\n aciklama: input?.aciklama,\r\n });\r\n return resultObject;\r\n };\r\n\r\n const onParamChange = (value) => {\r\n setParamTipi(Number(value));\r\n }\r\n\r\n const onSubmit = async (input) => {\r\n if (loading) return false;\r\n try {\r\n setLoading(true);\r\n let status = false;\r\n if (crudTip === \"Create\") {\r\n status = await Create(input);\r\n } else {\r\n status = await Update(input);\r\n }\r\n setLoading(false);\r\n if (status) {\r\n setStatusUpdated(true);\r\n showMessage(t('message.created'));\r\n } else {\r\n showMessage(t('message.updateFailed'));\r\n }\r\n return status;\r\n } catch (error) {\r\n setLoading(false);\r\n console.error(error);\r\n }\r\n };\r\n\r\n const getParameterInput = (param) => {\r\n\r\n switch (param) {\r\n case 1:\r\n return (\r\n \r\n \r\n \r\n );\r\n case 2:\r\n return (\r\n \r\n \r\n \r\n );\r\n case 3:\r\n return (\r\n \r\n \r\n \r\n );\r\n\r\n case 4:\r\n return (\r\n \r\n \r\n );\r\n case 5:\r\n return \r\n case 6:\r\n return \r\n case 7:\r\n return \r\n default:\r\n return \r\n \r\n ; // Add a default case to handle unexpected values\r\n }\r\n }\r\n\r\n const InputForm = () => {\r\n return (\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 {getParameterInput(paramTipi)}\r\n\r\n \r\n );\r\n };\r\n\r\n\r\n\r\n return (\r\n \r\n
    \r\n {crudtitle}\r\n \r\n {InputForm()}\r\n \r\n \r\n {statusUpdated ? (\r\n \r\n ) : (\r\n <>\r\n \r\n }>\r\n {t('button.save')}\r\n \r\n \r\n )}\r\n \r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default React.memo(SGKMasterParameterCrudDialog);","import { useState } from 'react';\r\nimport { useTranslation } from 'react-i18next';\r\nimport { Button, IconButton } from '@mui/material';\r\nimport Page from '../../layout/Page';\r\nimport { DataTable } from '../../components/DataTable';\r\nimport ListPageActions from '../../components/ListPageActions';\r\nimport DownloadButton from '../../components/DownloadButton';\r\nimport SwitchCell from '../../components/SwitchCell';\r\nimport CustButton from '../../ui/CustButton';\r\nimport DateFilterCell from '../../components/DateFilterCell';\r\nimport DialogConfirm from '../../components/DialogConfirm';\r\nimport usePaginationV2 from '../../util/usePaginationV2';\r\n\r\nimport { Add, Edit, Delete, Settings, WrapText } from '@mui/icons-material';\r\n\r\nimport SGKMasterParameterCrudDialog from './SGKMasterParameterCrudDialog';\r\nimport DynamicOptions from '../../components/DynamicOptions';\r\nimport FilterOptionEnum from '../../enum/FilterOptionEnum';\r\nimport paramTipiEnum from '../../enum/paramTipiEnum';\r\nimport useGlobal from '../../util/Global';\r\nimport SGKMasterParameterservice from '../../service/MasterServices/SGKMasterParameterService';\r\n\r\nconst SGKMasterParameterPage = ({ title }) => {\r\n const { t } = useGlobal();\r\n const [selectedItems, setSelectedItems] = useState([]);\r\n const [deleteItem, setDeleteItem] = useState(null);\r\n const [actionType, setActionType] = useState(null);\r\n const [loading, setLoading] = useState(false);\r\n const [openDialog, setOpenDialog] = useState(false);\r\n const [selectedKey, setSelectedKey] = useState(null);\r\n const [isDetayDialogOpen, setDetayDialogOpen] = useState(false);\r\n const [isTruncated, setIsTruncated] = useState(true);\r\n const [crudTip, setCrudTip] = useState('');\r\n\r\n const handleSwitchChange = async (item, newCheckedVal) => {\r\n console.log(item, newCheckedVal);\r\n let result = await SGKMasterParameterservice.update({\r\n id: item.id,\r\n durum: !item.durum\r\n });\r\n mainDataList.search();\r\n return true;\r\n };\r\n\r\n const handleToggle = () => {\r\n setIsTruncated(prevState => !prevState);\r\n };\r\n\r\n const handleDeleteAction = async () => {\r\n if (!deleteItem) return;\r\n setLoading(true);\r\n try {\r\n const result = await SGKMasterParameterservice.delete(deleteItem.id);\r\n if (result) {\r\n mainDataList.search();\r\n }\r\n } catch (error) {\r\n console.error('Action failed:', error);\r\n } finally {\r\n setLoading(false);\r\n setOpenDialog(false);\r\n }\r\n };\r\n\r\n const openDetayDialog = (id) => {\r\n setSelectedKey(id);\r\n setDetayDialogOpen(true);\r\n };\r\n const closeDetayDialog = () => {\r\n setSelectedKey(null);\r\n setDetayDialogOpen(false);\r\n };\r\n\r\n const ParseDynamicItem = (item) => {\r\n switch (item.paramTipi) {\r\n case 4:\r\n return \r\n default:\r\n return item.value;\r\n }\r\n }\r\n\r\n const handleAction = async () => {\r\n const selectedIds = Object.values(selectedItems);\r\n if (!selectedIds.length) return;\r\n setLoading(true);\r\n try {\r\n let result;\r\n if (actionType === 'Reset') {\r\n result = await SGKMasterParameterservice.bulkReset(selectedIds);\r\n } else if (actionType === 'Set') {\r\n result = await SGKMasterParameterservice.bulkSet(selectedIds);\r\n }\r\n if (result) {\r\n mainDataList.search();\r\n }\r\n } catch (error) {\r\n console.error('Action failed:', error);\r\n } finally {\r\n setLoading(false);\r\n setOpenDialog(false);\r\n }\r\n };\r\n\r\n const columns = [\r\n { name: \"paramterName\", label: t('col.paramterName'), textAlign: \"left\" },\r\n { name: \"paramKey\", label: t('col.paramKey'), textAlign: \"left\" },\r\n {\r\n name: \"paramTipi\",\r\n label: t('col.paramTipi'),\r\n textAlign: \"center\",\r\n execute: (item) => paramTipiEnum[item],\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: \r\n },\r\n\r\n { name: \"aciklama\", label: t('col.aciklama'), textAlign: \"left\" },\r\n {\r\n name: \"value\",\r\n label: t('col.value'),\r\n textAlign: \"center\",\r\n passItem: true,\r\n execute: (item) => ParseDynamicItem(item)\r\n },\r\n\r\n {\r\n sortable: false,\r\n searchable: false,\r\n passItem: true,\r\n textAlign: 'Center',\r\n title: 'action',\r\n execute: (item) => (\r\n <>\r\n handleOpenCrudDialog(item, 'Update')}\r\n color='warning'\r\n variant='contained'\r\n title={t('rowActions.update')}\r\n size='small'>\r\n \r\n \r\n openConfirmDialog(item)}\r\n color='error'\r\n variant='contained'\r\n title={t('rowActions.delete')}\r\n size='small'>\r\n \r\n \r\n \r\n ),\r\n },\r\n\r\n\r\n\r\n ];\r\n\r\n const mainDataList = usePaginationV2({\r\n service: SGKMasterParameterservice,\r\n pageColumns: columns,\r\n defaultOrderBy: { name: 'Id', type: 'Desc' },\r\n });\r\n\r\n const [crudItem, setCrudItem] = useState(null);\r\n const [onCrudDialogOpen, setCrudDialogOpen] = useState(false);\r\n\r\n const handleOpenCrudDialog = (data, tip) => {\r\n setCrudItem(data);\r\n setCrudDialogOpen(true);\r\n setCrudTip(tip);\r\n };\r\n\r\n const handleClose = async () => {\r\n setCrudDialogOpen(false);\r\n await mainDataList.search([]);\r\n };\r\n\r\n const openConfirmDialog = (item) => {\r\n setDeleteItem(item);\r\n setOpenDialog(true);\r\n };\r\n const closeConfirmDialog = () => setOpenDialog(false);\r\n\r\n const ActionButtons = () => (\r\n \r\n handleOpenCrudDialog(null, 'Create')}\r\n style={{ marginLeft: 10 }}\r\n disabled={loading}\r\n >\r\n {title + ' ' + t('button.add')}\r\n \r\n \r\n }\r\n right={\r\n <>\r\n handleToggle()}\r\n style={{ marginLeft: 10 }}\r\n disabled={loading}\r\n />\r\n \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\nexport default SGKMasterParameterPage;","export const ActionType = {\r\n\r\n LOGIN: \"LOGIN\",\r\n MASTER_LOGIN: \"MASTER_LOGIN\",\r\n LOGOUT: \"LOGOUT\",\r\n\r\n ADD_NOTIFICATION: \"ADD_NOTIFICATION\",\r\n REMOVE_NOTIFICATION: \"REMOVE_NOTIFICATION\",\r\n\r\n CHANGE_LANG: \"CHANGE_LANG\",\r\n SET_PINNED: \"SET_PINNED\",\r\n LOAD_ICONS: 'LOAD_ICONS',\r\n LOAD_ICONS_ERROR: 'LOAD_ICONS_ERROR',\r\n\r\n ADD_LIST: \"ADD_LIST\", // Action type for adding a list of items\r\n REMOVE_LIST: \"REMOVE_LIST\", // Action type for removing a list of items by ids\r\n GET_LIST: \"GET_LIST\", // Action type for getting the current list (used for debugging)\r\n\r\n};\r\n","import { MessageType } from \"./Enums\";\r\nimport { toast } from 'react-toastify';\r\n\r\nconst useMessage = () => {\r\n\r\n return (message, type = MessageType.INFO, vertical = 'top', horizontal = 'right') => {\r\n toast[`${type}`](message, {\r\n closeOnClick: true,\r\n autoClose: 5000,\r\n //theme:'dark'\r\n })\r\n\r\n };\r\n};\r\n\r\nexport default useMessage;\r\n","const IsKazaDurumEnum = {\r\n 0: \"Oluşturuldu\",\r\n 1: \"Kullanıcıda\",\r\n 2: \"Bildirim Okundu Kapatıldı\",\r\n 3: \"Manuel Kapatıldı\",\r\n}\r\n\r\nexport default IsKazaDurumEnum;\r\n","const MahsupTipi = {\r\n 0: \"Oluşturuldu\",\r\n 1: \"Onaylandi\",\r\n 2: \"Odeme Emrine Baglandi\",\r\n 3: \"Kurum Emanetine Aktarıldı\",\r\n 5: \"Mahsup Tamamlandi\"\r\n}\r\n\r\nexport default MahsupTipi;\r\n","import React from \"react\";\r\nimport InputLabel from \"@mui/material/InputLabel\";\r\nimport {Controller} from \"react-hook-form\";\r\nimport FormControl from \"@mui/material/FormControl\";\r\nimport FormHelperText from '@mui/material/FormHelperText';\r\nimport MaterialSelect from '@mui/material/Select';\r\n\r\nconst Select = ({name, label, error, disabled, multiple, defaultValue, rules, control, ...props}) => {\r\n\r\n return (\r\n\r\n \r\n \r\n {label}\r\n \r\n \r\n \r\n {props.children}\r\n \r\n }/>\r\n {error?.message && {error.message}}\r\n \r\n )\r\n\r\n}\r\n\r\nexport default Select;\r\n","import { useEffect, useRef, useState } from \"react\";\r\nimport { v4 as uuidv4 } from 'uuid';\r\n\r\nconst usePaginationV2 = ({\r\n id,\r\n service,\r\n lazyInit = false,\r\n defaultSearchData = {},\r\n defaultOrderBy,\r\n takeAll = false,\r\n pageColumns = null,\r\n}) => {\r\n\r\n\r\n const [inited, setInited] = useState(false);\r\n\r\n const [loading, setLoading] = useState(false);\r\n const [data, setData] = useState([]);\r\n const [page, setPage] = useState(0);\r\n const [pageCount, setPageCount] = useState(0);\r\n const [count, setCount] = useState(0);\r\n const [searchData, setSearchData] = useState(defaultSearchData);\r\n const [errors, setErrors] = useState(null);\r\n\r\n const [max, setMax] = useState(25);\r\n\r\n const [orderBy, setOrderBy] = useState(defaultOrderBy);\r\n\r\n const timeout = useRef();\r\n\r\n useEffect(() => {\r\n setPage(0);\r\n }, [service, searchData, orderBy]);\r\n\r\n const search = async () => {\r\n try {\r\n\r\n console.log(\"Page: %o\", page);\r\n setLoading(true);\r\n const { resultObject, resultCount, pageCount } = await service.getPagination(\r\n page + 1,\r\n searchData,\r\n max,\r\n orderBy,\r\n takeAll\r\n );\r\n setData(resultObject);\r\n setCount(resultCount);\r\n setErrors(null);\r\n setPageCount(Math.ceil(resultCount / pageCount) + 1);\r\n\r\n } catch (e) {\r\n setErrors(e)\r\n setData([]);\r\n setCount(0);\r\n setPageCount(0);\r\n }\r\n setInited(true);\r\n setLoading(false);\r\n };\r\n\r\n useEffect(() => {\r\n if ((!inited && lazyInit)) {\r\n return;\r\n }\r\n if (timeout.current) {\r\n clearTimeout(timeout.current);\r\n }\r\n timeout.current = setTimeout(async () => {\r\n await search();\r\n }, 500);\r\n }, [searchData, page, orderBy, inited, lazyInit]);\r\n\r\n const reset = () => {\r\n setPage(0)\r\n setSearchData(defaultSearchData);\r\n setOrderBy(defaultOrderBy);\r\n }\r\n\r\n const download = async () => {\r\n debugger;\r\n const cSVList = pageColumns\r\n .filter(column => column.name && column.label) // Ensure both name and label are present\r\n .map(column => ({\r\n key: column.cSVColumn && column.cSVColumn.trim() !== '' ? column.cSVColumn : column.name,\r\n value: column.label\r\n }));\r\n\r\n\r\n const filename = `${uuidv4()}.csv`;\r\n await service.exportCsv(\r\n searchData,\r\n filename,\r\n orderBy,\r\n cSVList\r\n );\r\n }\r\n\r\n return {\r\n loading,\r\n data,\r\n setData,\r\n errors,\r\n page,\r\n pageCount,\r\n count,\r\n setPage,\r\n searchData,\r\n setSearchData,\r\n orderBy,\r\n max,\r\n setMax,\r\n setOrderBy,\r\n reset,\r\n search,\r\n service,\r\n setLoading,\r\n inited,\r\n download\r\n }\r\n}\r\n\r\nexport default usePaginationV2;\r\n","import * as React from 'react';\r\nimport IconButton from '@mui/material/IconButton';\r\nimport Menu from '@mui/material/Menu';\r\nimport MenuItem from '@mui/material/MenuItem';\r\nimport MoreVertIcon from '@mui/icons-material/MoreVert';\r\n\r\nconst DataTableManageButton = ({item, rowIndex, rowActions}) => {\r\n\r\n const [anchorEl, setAnchorEl] = React.useState(null);\r\n const open = Boolean(anchorEl);\r\n\r\n const handleClick = (event) => {\r\n setAnchorEl(event.currentTarget);\r\n };\r\n const handleClose = () => {\r\n setAnchorEl(null);\r\n };\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n\r\n \r\n\r\n {rowActions.map((itemAction, index) => (\r\n {\r\n itemAction.action && itemAction.action(item, rowIndex);\r\n handleClose();\r\n }}>\r\n {itemAction.label}\r\n \r\n ))}\r\n\r\n \r\n \r\n )\r\n\r\n}\r\n\r\nexport default DataTableManageButton;\r\n","import {Checkbox} from \"@mui/material\";\r\nimport React from \"react\";\r\n\r\nconst TableRowSelection = ({selected, onSelect, item}) => {\r\n\r\n\r\n return (\r\n {\r\n onSelect(item, e);\r\n }}\r\n />\r\n )\r\n}\r\n\r\nexport default TableRowSelection;\r\n","import React, { useCallback, useEffect, useRef, useState } from \"react\";\r\nimport {\r\n Card,\r\n CardHeader,\r\n Checkbox,\r\n Table,\r\n TableBody,\r\n TableCell,\r\n TableContainer,\r\n TableHead,\r\n TablePagination,\r\n TableRow,\r\n TableSortLabel\r\n} from \"@mui/material\";\r\nimport InputBase from '@mui/material/InputBase';\r\nimport SearchIcon from '@mui/icons-material/Search';\r\nimport CircularProgress from '@mui/material/CircularProgress';\r\nimport HighlightOffIcon from '@mui/icons-material/HighlightOff';\r\nimport { makeStyles, withStyles } from '@mui/styles';\r\nimport { useTranslation } from \"react-i18next\";\r\nimport NativeSelect from '@mui/material/NativeSelect';\r\nimport DataTableManageButton from \"./DataTableManageButton\";\r\nimport TableRowSelection from \"./board/TableRowSelection\";\r\n\r\nconst StyledTableCell = withStyles((theme) => ({\r\n head: {\r\n backgroundColor: '#EFEBFF',\r\n color: '#26415c',\r\n fontWeight: 'bold'\r\n }\r\n}))(TableCell);\r\n\r\nconst SearchInput = withStyles((theme) => ({\r\n root: {\r\n width: '100%',\r\n },\r\n input: {\r\n width: '100%',\r\n }\r\n}))(InputBase);\r\n\r\nconst SearchSelect = withStyles((theme) => ({\r\n root: {\r\n width: '100%',\r\n border: \"none\"\r\n }\r\n}))(NativeSelect);\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n card: {\r\n height: '100%',\r\n },\r\n title: {\r\n fontSize: '1.2rem'\r\n },\r\n root: {\r\n paddingBottom: '0px',\r\n },\r\n contentRoot: {\r\n paddingTop: '8px',\r\n }\r\n}));\r\n\r\n\r\nconst Loading = React.memo(({ colSpan }) => (\r\n \r\n \r\n
    \r\n \r\n
    YÜKLENİYOR
    LÜTFEN BEKLEYİN
    \r\n
    \r\n
    \r\n
    \r\n));\r\n\r\nconst NoResultFound = React.memo(({ colSpan, text }) => (\r\n \r\n \r\n
    {text}
    \r\n
    \r\n
    \r\n));\r\n\r\nconst LabelCell = React.memo(({ column, orderBy, handleOrderBy, hasOrderBy }) => {\r\n\r\n\r\n const field = column.orderByField || column.name;\r\n const sortable = column.sortable !== false;\r\n\r\n return (\r\n \r\n\r\n {sortable && hasOrderBy &&\r\n handleOrderBy(field)}>\r\n {column.label}\r\n \r\n }\r\n\r\n {!sortable && column.label}\r\n\r\n \r\n );\r\n});\r\n\r\nconst SearchCell = React.memo(({ column, defaultValue = \"\", placeholder, onSearch }) => {\r\n\r\n const [value, setValue] = useState(defaultValue);\r\n const process = useRef();\r\n\r\n const handleOnChange = (e) => {\r\n setValue(e.target.value);\r\n callSearchMethod(e.target.value);\r\n }\r\n\r\n const handleOnSelect = (e) => {\r\n setValue(e.target.value);\r\n callSearchMethod(e.target.value)\r\n }\r\n\r\n const clear = () => {\r\n setValue(\"\");\r\n if (onSearch) {\r\n callSearchMethod(null);\r\n }\r\n }\r\n\r\n const onKeyPress = (e) => {\r\n if (e.charCode === 13 && onSearch) {\r\n callSearchMethod(value);\r\n }\r\n }\r\n\r\n const callSearchMethod = (val) => {\r\n\r\n if (process.current) {\r\n clearTimeout(process.current);\r\n }\r\n\r\n process.current = setTimeout(() => {\r\n const obj = {};\r\n\r\n if (!val || val === \"\") {\r\n obj[column.searchField || column.name] = undefined;\r\n } else {\r\n let converted = val;\r\n if (column.type) {\r\n if (column.type === Array) {\r\n converted = val.split(\",\");\r\n if (Array.isArray(converted) && converted.length === 0) {\r\n converted = undefined;\r\n }\r\n\r\n } else if (column.type === Boolean) {\r\n converted = Boolean(Number(val));\r\n } else {\r\n converted = column.type(val);\r\n }\r\n }\r\n obj[column.searchField || column.name] = converted;\r\n }\r\n onSearch(obj);\r\n }, 250);\r\n\r\n }\r\n\r\n return (\r\n \r\n {column?.searchType === 'select' &&\r\n \r\n \r\n {column.selectOptions}\r\n \r\n }\r\n\r\n {column?.searchType === 'custom' &&\r\n \r\n }\r\n\r\n {!column?.searchType &&\r\n \r\n }\r\n endAdornment={\r\n value.length === 0 ? undefined :\r\n \r\n }\r\n />\r\n }\r\n \r\n );\r\n});\r\n\r\n\r\nconst DefaultContainerComponent = (props) => {\r\n const classes = useStyles();\r\n const { t } = useTranslation();\r\n\r\n return (\r\n \r\n \r\n {props.children}\r\n \r\n\r\n )\r\n}\r\n\r\nconst DataTable = React.memo((\r\n {\r\n title,\r\n subtitle,\r\n data,\r\n loading,\r\n columns,\r\n count,\r\n page,\r\n setPage,\r\n orderBy,\r\n setOrderBy,\r\n max,\r\n setMax,\r\n searchData,\r\n setSearchData,\r\n action,\r\n selected,\r\n setSelected,\r\n setLoading,\r\n cardStyle,\r\n service,\r\n search,\r\n rowActions,\r\n headerStyle,\r\n rowStyle,\r\n ContainerComponent = DefaultContainerComponent\r\n }\r\n) => {\r\n\r\n const { t } = useTranslation();\r\n\r\n const isSearchable = columns.some(item => item.searchable !== false);\r\n\r\n const [selectAll, setSelectAll] = useState(false);\r\n\r\n const resetSelection = () => {\r\n if (selectAll) {\r\n setSelectAll(false);\r\n setSelected([]);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (selectAll) {\r\n setSelected && setSelected([...data]);\r\n } else {\r\n setSelected && setSelected([]);\r\n }\r\n }, [selectAll, data]);\r\n\r\n useEffect(() => {\r\n resetSelection();\r\n }, [page, data]);\r\n\r\n const resolve = (item, column, rowIndex, colIndex) => {\r\n if (column.execute) {\r\n if (column.passItem) {\r\n return column.execute(item, rowIndex, colIndex);\r\n } else {\r\n return column.execute(item[column.name], rowIndex, colIndex);\r\n }\r\n }\r\n return item[column.name];\r\n }\r\n\r\n const resolveTitle = (item, column, rowIndex, colIndex) => {\r\n if (!column.component) {\r\n if (column.execute) {\r\n /*if (column.passItem) {\r\n return column.execute(item, rowIndex, colIndex);\r\n } else {\r\n return column.execute(item[column.name], rowIndex, colIndex);\r\n }*/\r\n return \"\";\r\n }\r\n return item[column.name];\r\n }\r\n }\r\n\r\n const handleOrderBy = (name) => {\r\n setOrderBy({\r\n name: name,\r\n type: orderBy?.name === name && orderBy?.type === 'asc' ? 'desc' : 'asc'\r\n });\r\n resetSelection();\r\n }\r\n\r\n const handleChangePage = (event, newPage) => {\r\n setPage(newPage);\r\n resetSelection();\r\n };\r\n\r\n const handleChangeRowsPerPage = (event) => {\r\n setMax(parseInt(event.target.value, 10));\r\n setPage(1);\r\n resetSelection();\r\n };\r\n\r\n const isSelected = useCallback((item) => {\r\n return selected?.some(some => some.id === item.id);\r\n }, [selected]);\r\n\r\n const onSelect = (item, e) => {\r\n if (e.target.checked) {\r\n setSelected && setSelected([...selected, item]);\r\n } else {\r\n const items = selected?.filter(i => i.id !== item.id);\r\n setSelected && setSelected(items);\r\n }\r\n }\r\n\r\n const EmptyHeadCell = () => (\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 {setSelected &&\r\n \r\n setSelectAll(e.target.checked)} />\r\n \r\n }\r\n {columns.map((column, index) => (\r\n \r\n ))}\r\n {rowActions && }\r\n \r\n\r\n {isSearchable &&\r\n \r\n {setSelected &&\r\n \r\n }\r\n {columns.map((column, index) => {\r\n const searchable = column.searchable !== false;\r\n // console.log(searchable);\r\n return (\r\n searchable ?\r\n {\r\n\r\n setSearchData({\r\n ...searchData,\r\n ...data\r\n })\r\n }}\r\n />\r\n : \r\n )\r\n })}\r\n {rowActions && }\r\n \r\n }\r\n\r\n \r\n\r\n \r\n\r\n {loading && }\r\n\r\n {data?.map((item, rowIndex) => {\r\n\r\n const style = rowStyle ? rowStyle(item) : undefined;\r\n\r\n\r\n return (\r\n\r\n \r\n\r\n {setSelected &&\r\n \r\n \r\n \r\n }\r\n\r\n {columns.map((column, colIndex) => (\r\n \r\n
    \r\n {resolve(item, column, rowIndex, colIndex)}\r\n
    \r\n
    \r\n ))}\r\n\r\n {rowActions &&\r\n \r\n \r\n \r\n }\r\n
    \r\n )\r\n })}\r\n\r\n {(!loading && count === 0) &&\r\n \r\n }\r\n
    \r\n
    \r\n
    \r\n\r\n {!setPage &&\r\n
    \r\n }\r\n\r\n {setPage &&\r\n \r\n }\r\n\r\n \r\n\r\n \r\n );\r\n}\r\n);\r\n\r\nexport {\r\n DataTable,\r\n StyledTableCell\r\n}\r\n","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass SysGlobalKeyValueService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.MasterDomain + ApiUrl.controller.SysGlobalKeyValue);\r\n }\r\n\r\n /* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n\r\n async getGlobal(data) {\r\n return await this.easyGet(ApiUrl.endpoint.GetGlobal, data);\r\n }\r\n\r\n async registerKey(data) {\r\n\r\n try {\r\n return await this.easyPost(ApiUrl.endpoint.registerKey, data);\r\n } catch (error) {\r\n\r\n }\r\n\r\n }\r\n}\r\n\r\nconst SysGlobalKeyValueservice = new SysGlobalKeyValueService();\r\n\r\nexport default SysGlobalKeyValueservice;","import { useDispatch, useSelector } from \"react-redux\";\r\nimport SysGlobalKeyValueservice from \"../service/MasterServices/SysGlobalKeyValueService\";\r\nimport { ActionType } from \"../store/ActionType\";\r\nimport { useState } from \"react\";\r\n\r\nconst useGlobal = () => {\r\n const { data } = useSelector(state => state.global || []);\r\n const [isLoading, setIsLoading] = useState(false);\r\n const dispatch = useDispatch();\r\n\r\n const getGlobal = async () => {\r\n // Check if the list is an array and if it's empty\r\n if (data.length == 0 && !isLoading) {\r\n const res = await SysGlobalKeyValueservice.getGlobal();\r\n\r\n if (res && res.isSuccess) {\r\n\r\n\r\n dispatch({\r\n type: ActionType.ADD_LIST,\r\n payload: res.resultObject, // Send the fetched data\r\n });\r\n\r\n setIsLoading(true);\r\n }\r\n }\r\n };\r\n\r\n\r\n const g = (key) => {\r\n const item = data.find(r => r.key === key); // Use find to get the item by key\r\n if (item == undefined) {\r\n data.push({ key: key });\r\n SysGlobalKeyValueservice.registerKey({ Key: key });\r\n }\r\n\r\n return item ? item.value : key; // Return the value or the key if not found\r\n };\r\n\r\n const t = (key) => {\r\n const item = data.find(r => r.key === key); // Use find to get the item by key\r\n if (item == undefined) {\r\n data.push({ key: key });\r\n SysGlobalKeyValueservice.registerKey({ Key: key });\r\n }\r\n\r\n return item ? item.value : key; // Return the value or the key if not found\r\n };\r\n\r\n return {\r\n getGlobal,\r\n g,\r\n t,\r\n isLoading\r\n };\r\n}\r\n\r\nexport default useGlobal;\r\n","import format from 'date-fns/format'\r\n\r\nexport const formatDateTime = (datetime) => {\r\n if (datetime) {\r\n return format(datetime, 'dd.MM.yyyy HH:mm');\r\n }\r\n return null;\r\n}\r\n\r\nexport const formatDate = (date) => {\r\n try {\r\n if (date) {\r\n return format(date, 'dd.MM.yyyy');\r\n }\r\n } catch (excp) {\r\n\r\n }\r\n\r\n return null;\r\n}\r\n\r\nexport const formatDateForApi = (date) => {\r\n if (date) {\r\n try {\r\n return format(date, 'yyyy-MM-dd');\r\n } catch (exc) {\r\n\r\n }\r\n\r\n }\r\n return null;\r\n}\r\n\r\nexport const formatDonemForApi = (date) => {\r\n if (date) {\r\n return format(date, 'yyyy-MM');\r\n }\r\n return null;\r\n}\r\n\r\nexport const parseAndFormatDateTime = (datetime) => {\r\n if (datetime) {\r\n return format(new Date(datetime), 'dd.MM.yyyy HH:mm');\r\n }\r\n return \"\";\r\n}\r\n\r\nexport const parseAndFormatDate = (date) => {\r\n if (date) {\r\n return format(new Date(date), 'dd.MM.yyyy');\r\n }\r\n return \"\";\r\n}\r\n\r\nexport const InputformatDate = (date) => {\r\n try {\r\n if (!date) return null;\r\n // Convert to ISO string and extract the desired part\r\n const offsetDate = new Date(date.getTime() - date.getTimezoneOffset() * 60000);\r\n return offsetDate.toISOString(); // returns full ISO date: \"YYYY-MM-DDTHH:mm:ss.sssZ\"\r\n } catch (exc) { }\r\n\r\n};\r\n\r\nexport const TransToTimeSpan = (date) => {\r\n if (!date || isNaN(date)) {\r\n return null; // Return null for invalid or null dates\r\n }\r\n return format(date, 'HH:mm:ss'); // Format the date as HH:mm:ss\r\n}\r\n\r\n","import axios from 'axios';\r\nimport { ActionType } from \"../store/ActionType\";\r\n\r\nconst setupInterceptors = (store) => {\r\n\r\n axios.interceptors.request.use(\r\n config => {\r\n\r\n const state = store?.getState();\r\n const token = state?.auth?.token;\r\n const headerToken = config.headers['Authorization'];\r\n if (token) {\r\n config.headers['Authorization'] = 'Bearer ' + token; // Set Authorization header\r\n }\r\n\r\n if (headerToken) {\r\n config.headers['Authorization'] = headerToken;\r\n }\r\n\r\n\r\n return config;\r\n },\r\n error => {\r\n return Promise.reject(error);\r\n }\r\n );\r\n\r\n axios.interceptors.response.use(function (response) {\r\n return response;\r\n }, function (error) {\r\n if (error.response) {\r\n if (error.response.status === 401) {\r\n store.dispatch({\r\n type: ActionType.LOGOUT\r\n });\r\n }\r\n return Promise.reject(error.response.data);\r\n } else if (error.message === 'Network Error') {\r\n return Promise.reject(\"Sistem sunucularına ulaşılamadı.Lütfen daha sorna tekrar deneyin.\");\r\n }\r\n return Promise.reject(error);\r\n });\r\n}\r\n\r\nconst NetworkService = {\r\n setupInterceptors\r\n};\r\n\r\nexport default NetworkService;\r\n","import { ActionType } from \"./ActionType\";\r\n\r\nconst InitialData = {\r\n user: null,\r\n isLoggedIn: false,\r\n pinned: false,\r\n panelLang: 'tr',\r\n token: null,\r\n masterUser: null,\r\n tenantUser: null\r\n};\r\n\r\n\r\nexport const authReducer = (state = InitialData, action) => {\r\n switch (action.type) {\r\n case ActionType.CHANGE_LANG: {\r\n return {\r\n ...state,\r\n panelLang: action.lang\r\n };\r\n }\r\n\r\n case ActionType.SET_PINNED: {\r\n return {\r\n ...state,\r\n pinned: action.payload\r\n };\r\n }\r\n\r\n case ActionType.LOGIN: {\r\n\r\n return {\r\n ...state,\r\n user: action.user,\r\n token: action.token,\r\n isLoggedIn: true,\r\n isMasterLoggedIn: false,\r\n masterUser: action.masterUser,\r\n tenantUser: action.tenantUser\r\n }\r\n }\r\n\r\n case ActionType.MASTER_LOGIN: {\r\n\r\n return {\r\n ...state,\r\n user: action.user,\r\n token: action.token,\r\n isLoggedIn: true,\r\n isMasterLoggedIn: true,\r\n masterUser: action.masterUser,\r\n tenantUser: action.tenantUser\r\n }\r\n }\r\n\r\n case ActionType.LOGOUT: {\r\n return {\r\n ...state,\r\n user: null,\r\n token: null,\r\n isLoggedIn: false,\r\n isMasterLoggedIn: false,\r\n masterUser: null,\r\n tenantUser: null\r\n }\r\n }\r\n\r\n default: {\r\n return state;\r\n }\r\n }\r\n}\r\n","import {v4 as uuidv4} from \"uuid\";\r\nimport {ActionType} from \"./ActionType\";\r\n\r\nconst InitData = {\r\n notifications: [],\r\n};\r\n\r\n\r\nexport const notificationReducer = (state = InitData, action) => {\r\n\r\n switch (action.type) {\r\n\r\n case ActionType.ADD_NOTIFICATION: {\r\n\r\n const notification = {\r\n id: uuidv4(),\r\n message: action.message,\r\n type: action.messageType\r\n }\r\n\r\n return {\r\n ...state,\r\n notifications: [...state.notifications, notification]\r\n };\r\n }\r\n\r\n case ActionType.REMOVE_NOTIFICATION: {\r\n\r\n const filtered = state.notifications.filter(item => item.id !== action.id);\r\n\r\n return {\r\n ...state,\r\n notifications: filtered\r\n };\r\n }\r\n\r\n default: {\r\n return state;\r\n }\r\n }\r\n\r\n};\r\n","import { ActionType } from \"./ActionType\";\r\n\r\n// Initial global state\r\nconst InitialData = {\r\n data: [], // Holds a global list of items\r\n};\r\n\r\nexport const globalReducer = (state = InitialData, action) => {\r\n switch (action.type) {\r\n // Add a list of items\r\n case ActionType.ADD_LIST: {\r\n return {\r\n ...state,\r\n data: [...state.data, ...action.payload], // Add the new list to the current data\r\n };\r\n }\r\n\r\n // Remove items by id\r\n case ActionType.REMOVE_LIST: {\r\n return {\r\n ...state,\r\n data: [], // Remove items with specified ids\r\n };\r\n }\r\n\r\n // Get the list (this just returns the state, no change)\r\n case ActionType.GET_LIST: {\r\n return state; // Return the current state (this can be useful for logging or debugging)\r\n }\r\n\r\n default:\r\n return state; // Return the current state if action type is unrecognized\r\n }\r\n};\r\n","import { applyMiddleware, combineReducers, createStore } from \"redux\";\r\nimport thunkMiddleware from 'redux-thunk'\r\nimport { authReducer } from \"./AuthReducer\";\r\nimport { notificationReducer } from \"./NotificationReducer\";\r\nimport { globalReducer } from \"./GlobalReducer\";\r\n\r\nconst rootReducer = combineReducers({\r\n auth: authReducer,\r\n notification: notificationReducer,\r\n global: globalReducer,\r\n})\r\n\r\nconst store = createStore(rootReducer, applyMiddleware(thunkMiddleware));\r\n\r\n\r\nexport default store;\r\n","import {useEffect, useState} from 'react';\r\nimport {useDispatch, useSelector} from \"react-redux\";\r\nimport useMessage from \"./useMessage\";\r\nimport {ActionType} from \"../store/ActionType\";\r\n\r\nconst ReduxNotificationHandler = () => {\r\n\r\n const dispatch = useDispatch();\r\n const notifications = useSelector(state => state.notification.notifications);\r\n const [messages, setMessages] = useState([]);\r\n\r\n const showMessage = useMessage();\r\n\r\n useEffect(() => {\r\n\r\n if (notifications.length > 0) {\r\n const newList = messages.length === 0 ? notifications : notifications.filter(item => messages.some(m => m.id === item.id));\r\n\r\n newList.forEach(item => {\r\n setTimeout(() => {\r\n showMessage(item.message, item.type);\r\n }, 300);\r\n dispatch({type: ActionType.REMOVE_NOTIFICATION, id: item.id});\r\n })\r\n }\r\n setMessages(notifications);\r\n }, [notifications, dispatch, showMessage, messages]);\r\n\r\n return null;\r\n\r\n}\r\n\r\nexport default ReduxNotificationHandler;\r\n","import React from \"react\";\r\nimport { Redirect, Route, } from \"react-router-dom\";\r\nimport { useSelector } from \"react-redux\";\r\n\r\n\r\nconst PrivateRoute = ({ children, ...rest }) => {\r\n\r\n const { isLoggedIn } = useSelector(state => state.auth);\r\n\r\n return (\r\n \r\n isLoggedIn === true ? (\r\n children\r\n ) : (\r\n \r\n )\r\n }\r\n />\r\n );\r\n};\r\n\r\nexport default PrivateRoute;\r\n","// src/menu/useStyles.js\r\nimport { makeStyles } from \"@mui/styles\";\r\nimport { styled, alpha } from '@mui/material/styles';\r\nimport InputBase from '@mui/material/InputBase';\r\nimport boldIcon from '../res/sec-logo.svg';\r\n\r\nexport const Search = styled('div')(({ theme }) => ({\r\n position: 'relative',\r\n borderRadius: theme.shape.borderRadius,\r\n backgroundColor: alpha(theme.palette.common.black, 0.15),\r\n '&:hover': {\r\n backgroundColor: alpha(theme.palette.common.white, 0.15),\r\n },\r\n marginRight: theme.spacing(0.25),\r\n marginLeft: theme.spacing(0.25),\r\n marginTop: theme.spacing(0.25),\r\n width: '100%',\r\n [theme.breakpoints.up('sm')]: {\r\n marginLeft: theme.spacing(.25),\r\n width: 'auto',\r\n },\r\n}));\r\n\r\nexport const SearchIconWrapper = styled('div')(({ theme }) => ({\r\n padding: theme.spacing(0, 2),\r\n height: '100%',\r\n position: 'absolute',\r\n pointerEvents: 'none',\r\n display: 'flex',\r\n alignItems: 'center',\r\n justifyContent: 'center',\r\n}));\r\n\r\nexport const StyledInputBase = styled(InputBase)(({ theme }) => ({\r\n color: 'inherit',\r\n '& .MuiInputBase-input': {\r\n padding: theme.spacing(1, 1, 1, 0),\r\n // vertical padding + font size from searchIcon\r\n paddingLeft: `calc(1em + ${theme.spacing(4)})`,\r\n transition: theme.transitions.create('width'),\r\n width: '100%',\r\n [theme.breakpoints.up('md')]: {\r\n width: '20ch',\r\n },\r\n },\r\n}));\r\n\r\nexport const BoldIcon = ({ url, width = 75, height = 25 }) => (\r\n \r\n);\r\n\r\n\r\n\r\nconst muiStyles = makeStyles(theme => ({\r\n boldLabel: {\r\n flexGrow: 1,\r\n fontWeight: 'bold',\r\n whiteSpace: \"nowrap\",\r\n },\r\n boldIcon: {\r\n marginRight: 20,\r\n },\r\n toolBar: {\r\n paddingLeft: 20,\r\n paddingRight: 20,\r\n },\r\n appBar: {\r\n backgroundColor: '#343a40',\r\n color: 'white',\r\n },\r\n sideMenu: {\r\n width: 300,\r\n overflowY: 'auto',\r\n paddingRight: 15,\r\n boxSizing: 'border-box',\r\n },\r\n menu: {\r\n padding: 0,\r\n paddingRight: 10\r\n },\r\n help: {\r\n marginTop: 'auto',\r\n padding: 0,\r\n },\r\n logout: {\r\n padding: 0,\r\n },\r\n groupItem: {\r\n paddingLeft: `calc(0em + ${theme.spacing(.1)})`,\r\n fontSize: '0.9rem',\r\n marginLeft: '5px',\r\n display: 'block', // Allow the span to behave like a block element\r\n wordWrap: 'break-word', // Enable word wrapping\r\n overflowWrap: 'break-word', // For better compatibility across browsers\r\n whiteSpace: 'normal', // Allow white space to wrap\r\n maxWidth: '200px',\r\n }\r\n}));\r\n\r\nexport default muiStyles;\r\n","export default __webpack_public_path__ + \"static/media/sec-logo.92d856f7.svg\";","import React from \"react\"\r\nimport {NavLink} from \"react-router-dom\"\r\n\r\nconst NavLinkMui = React.forwardRef(({...props}, ref) => {\r\n return ;\r\n});\r\n\r\nexport default NavLinkMui;\r\n","import React from 'react';\r\nimport NavLinkMui from \"./NavLinkMui\";\r\nimport { ListItem, ListItemIcon, ListItemText } from \"@mui/material\";\r\n\r\n\r\nconst MenuItem = ({ to, value, icon, className, exact = true, subtitle }) => {\r\n return (\r\n\r\n \r\n\r\n \r\n {icon}\r\n \r\n\r\n \r\n \r\n )\r\n};\r\n\r\nexport default MenuItem;\r\n","import React from 'react';\r\nimport { TreeItem } from '@mui/lab'; // Ensure to import TreeItem from the correct library\r\nimport ListItem from '@mui/material/ListItem';\r\nimport MoreHorizIcon from '@mui/icons-material/MoreHoriz';\r\nimport muiStyles from './muiStyles';\r\nimport { useTranslation } from 'react-i18next'; // Import translation hook if using i18next\r\nimport NavLinkMui from './NavLinkMui'; // Ensure to import your NavLinkMui\r\nimport DynamicIcon from '../util/DynamicIcon';\r\n\r\n\r\nconst TreeNav = ({ item, parentPath, handleSelect, exact = false, className, children }) => {\r\n const classes = muiStyles();\r\n const { t } = useTranslation();\r\n\r\n return (\r\n handleSelect(event, item.path, parentPath)}\r\n >\r\n {item.iconPath != null ? : }\r\n \r\n {t(item.title)}\r\n \r\n ) :\r\n (\r\n handleSelect(event, item.title, parentPath)}\r\n >\r\n {item.iconPath != null ? : }\r\n \r\n {t(item.title)}\r\n \r\n \r\n )\r\n\r\n }\r\n\r\n >\r\n {children}\r\n \r\n );\r\n};\r\n\r\nexport default TreeNav;\r\n","import React, { useState } from 'react';\r\nimport { TreeView } from '@mui/lab';\r\nimport { ExpandMore, ChevronRight } from '@mui/icons-material';\r\nimport muiStyles from './muiStyles';\r\nimport TreeNav from './TreeNav';\r\n\r\nconst RecursiveTreeView = ({ routers }) => {\r\n const [expandedGroups, setExpandedGroups] = useState([]); // Track expanded nodes\r\n // const [selectedNode, setSelectedNode] = useState(null); // Track selected node\r\n const classes = muiStyles();\r\n\r\n // Handle selection and expansion logic\r\n const handleSelect = (event, nodeId, parentPath) => {\r\n if (expandedGroups.includes(nodeId)) {\r\n // setSelectedNode(null);\r\n setExpandedGroups([...parentPath]);\r\n\r\n } else {\r\n // setSelectedNode(nodeId); // Set the selected node\r\n\r\n // Get all parent paths to keep them expanded\r\n const newExpandedGroups = parentPath ? [...parentPath, nodeId] : [nodeId];\r\n\r\n setExpandedGroups(newExpandedGroups); // Update the expanded nodes to the selected path\r\n }\r\n\r\n };\r\n\r\n // Recursive function to render tree items\r\n const renderTreeItems = (items, level = 0, parentPath = []) => {\r\n return items.map((item) => {\r\n const isGroup = item.isGroup;\r\n const currentPath = [...parentPath, item.path || item.title]; // Build the current path\r\n const uniqueKey = crypto.randomUUID();\r\n\r\n // For group items (with sub-items)\r\n if (isGroup) {\r\n return (\r\n \r\n {item.items && renderTreeItems(item.items, level + 1, currentPath)}\r\n \r\n\r\n\r\n );\r\n }\r\n\r\n // For non-group (child) items\r\n return (\r\n \r\n );\r\n });\r\n };\r\n\r\n return (\r\n }\r\n defaultExpandIcon={}\r\n >\r\n {renderTreeItems(routers)}\r\n \r\n );\r\n};\r\n\r\nexport default RecursiveTreeView;\r\n","import { AppBar, List, Switch, Toolbar } from \"@mui/material\";\r\nimport { useEffect, useState } from \"react\";\r\nimport muiStyles, { BoldIcon, Search, SearchIconWrapper, StyledInputBase } from \"./muiStyles\";\r\nimport SearchIcon from '@mui/icons-material/Search';\r\nimport MenuItem from \"./MenuItem\";\r\nimport SupportIcon from '@mui/icons-material/Support';\r\nimport PowerSettingsNewIcon from '@mui/icons-material/PowerSettingsNew';\r\nimport RecursiveTreeView from \"./RecursiveTreeView\";\r\nimport Config from \"../Config\";\r\nimport { useCookies } from \"react-cookie\";\r\nimport useGlobal from \"../util/Global\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport ComplexSelect from \"../ui/ComplexSelect \";\r\n\r\n\r\n\r\nconst SideMenuV2 = ({ onToggle, pinned, Routers, moduleChange, defMoudel, modules }) => {\r\n const { t } = useGlobal();\r\n\r\n const [cookies] = useCookies(['tenantIcon', 'module']);\r\n const [filteredRouters, setFilteredRouters] = useState([]);\r\n const [moduleList, setModuleList] = useState([]);\r\n\r\n const { control, setValue } = useForm();\r\n\r\n\r\n useEffect(() => {\r\n if (defMoudel) {\r\n setValue(\"selModuel\", defMoudel);\r\n }\r\n }, [defMoudel, setValue, moduleList]);\r\n\r\n useEffect(() => {\r\n setModuleList(modules);\r\n }, [modules]);\r\n\r\n\r\n useEffect(() => {\r\n setFilteredRouters(Routers);\r\n }, [Routers])\r\n\r\n\r\n\r\n\r\n // Recursive function to filter the routers by title\r\n const filterRouters = (routers, filterText) => {\r\n return routers\r\n .map((router) => {\r\n if (router.items) {\r\n // Recursively filter child items\r\n const filteredItems = filterRouters(router.items, filterText);\r\n\r\n // Only return groups that have matching children\r\n if (\r\n router.title.toLowerCase().includes(filterText.toLowerCase()) ||\r\n filteredItems.length > 0\r\n ) {\r\n return { ...router, items: filteredItems };\r\n }\r\n } else if (t(router.title).toLowerCase().includes(filterText.toLowerCase())) {\r\n // If it's not a group, directly check the title\r\n return router;\r\n }\r\n return null;\r\n })\r\n .filter(Boolean); // Remove null values\r\n };\r\n\r\n const handleSearchChange = (event) => {\r\n const filterText = event.target.value;\r\n const filteredRouters = filterRouters(Routers, filterText);\r\n console.log('Filtered Routers:', filteredRouters);\r\n setFilteredRouters(filteredRouters);\r\n };\r\n\r\n\r\n const classes = muiStyles();\r\n\r\n const onChange = (event) => {\r\n const filteredRouters = filterRouters(Routers, \"\");\r\n setFilteredRouters(filteredRouters);\r\n onToggle && onToggle(event.target.checked);\r\n };\r\n\r\n\r\n\r\n return (\r\n \r\n\r\n );\r\n\r\n};\r\n\r\nexport default SideMenuV2;","import PageLoading from \"../components/PageLoading\";\r\nimport { useEffect } from \"react\";\r\nimport { useCookies } from \"react-cookie\";\r\nimport Config from \"../Config\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { ActionType } from \"../store/ActionType\";\r\nimport { useHistory } from \"react-router-dom/cjs/react-router-dom.min\";\r\nimport { useAppCookies } from \"../util/useAppCookies\";\r\n\r\nconst LogoutPage = () => {\r\n\r\n const dispatch = useDispatch();\r\n\r\n const history = useHistory();\r\n\r\n const { clearUser } = useAppCookies();\r\n\r\n useEffect(async () => {\r\n\r\n await clearUser();\r\n\r\n dispatch({\r\n type: ActionType.LOGOUT\r\n });\r\n\r\n\r\n }, []);\r\n\r\n return (\r\n \r\n )\r\n}\r\n\r\nexport default LogoutPage;\r\n","import { lazy } from 'react';\r\n\r\n// Map component names to dynamic imports\r\nexport const componentMapping = {\r\n Dashboard: lazy(() => import(\"../pages/Dashboard\")),\r\n ChartReportPage: lazy(() => import(\"../pages/ChartReportPage\")),\r\n SubeListPagev2: lazy(() => import(\"../pages/sube/SubeListPagev2\")),\r\n TescilListPagev2: lazy(() => import(\"../pages/tescil/TescilListPagev2\")),\r\n ViziteListPagev2: lazy(() => import(\"../pages/vizite/ViziteListPagev2\")),\r\n ViziteRaporPagev2: lazy(() => import(\"../pages/vizite/ViziteRaporPagev2\")),\r\n EViziteOnayLogListPage: lazy(() => import(\"../pages/vizite/EViziteOnayLogListPage\")),\r\n EviziteMahsupPage: lazy(() => import('../pages/vizite/EviziteMahsupPage')),\r\n KazaListPagev2: lazy(() => import(\"../pages/kaza/KazaListPagev2\")),\r\n Bildirimsizler: lazy(() => import(\"../pages/kaza/Bildirimsizler\")),\r\n KazaBildirimListPageV2: lazy(() => import(\"../pages/kaza/KazaBildirimListPageV2\")),\r\n BorcListPagev2: lazy(() => import(\"../pages/borc/BorcListPagev2\")),\r\n KullanicilariPage: lazy(() => import(\"../pages/yetki/KullanicilariPage\")),\r\n ViziteMailAlicilariPage: lazy(() => import(\"../pages/vizite/ViziteMailAlicilariPage\")),\r\n EViziteMonitorWSListPage: lazy(() => import(\"../pages/vizite/EViziteMonitorWSListPage\")),\r\n EViziteOnayliMonitorWSListPage: lazy(() => import(\"../pages/vizite/EViziteOnayliMonitorWSListPage\")),\r\n EViziteMahsupMonitorPage: lazy(() => import(\"../pages/vizite/EViziteMahsupMonitorPage\")),\r\n IsKazasiMonitorWSListPage: lazy(() => import(\"../pages/kaza/IsKazasiMonitorWSListPage\")),\r\n IsKazasiMonitorListPage: lazy(() => import(\"../pages/kaza/IsKazasiMonitorListPage\")),\r\n IsKazasiBatchMonitorListPage: lazy(() => import(\"../pages/kaza/IsKazasiBatchMonitorListPage\")),\r\n EBorcuYokturMonitorPage: lazy(() => import(\"../pages/borc/EBorcuYokturMonitorPage\")),\r\n EBorcBatchMonitorPage: lazy(() => import(\"../pages/borc/EBorcBatchMonitorPage\")),\r\n CalismaTakvimiPage: lazy(() => import(\"../pages/ozellik/CalismaTakvimiPage\")),\r\n PeriodsPage: lazy(() => import(\"../pages/ozellik/PeriodsPage\")),\r\n SirketlerPage: lazy(() => import(\"../pages/borc/SirketlerPage\")),\r\n MenulerIconPage: lazy(() => import(\"../pages/config/MenulerIconPage\")),\r\n MenulerYolPage: lazy(() => import(\"../pages/config/MenulerYolPage\")),\r\n MenulerPage: lazy(() => import(\"../pages/config/MenulerPage\")),\r\n TesvikOptimizasyonPagev2: lazy(() => import(\"../pages/tesvik/TesvikOptimizasyonPagev2\")),\r\n TesvikPagev2: lazy(() => import(\"../pages/tesvik/TesvikPagev2\")),\r\n RaporListPagev2: lazy(() => import(\"../pages/rapor/RaporListPagev2\")),\r\n AsgariUcretDestegiRaporPage: lazy(() => import(\"../pages/aud/AsgariUcretDestegiRaporPage\")),\r\n AUDDonemPersonelSayisiPage: lazy(() => import(\"../pages/aud/AUDDonemPersonelSayisiPage\")),\r\n AUDIsyeriGunSayilariPage: lazy(() => import(\"../pages/aud/AUDIsyeriGunSayilariPage\")),\r\n AUDTesviklerPage: lazy(() => import(\"../pages/aud/AUDTesviklerPage\")),\r\n SysRolPage: lazy(() => import(\"../pages/config/SysRolPage\")),\r\n BolgelerPage: lazy(() => import(\"../pages/bolge/BolgelerPage\")),\r\n SgkArsivPage: lazy(() => import(\"../pages/arsiv/SgkArsivPage\")),\r\n MailGrupViziteAliciPage: lazy(() => import(\"../pages/config/MailGrupViziteAliciPage\")),\r\n MailGruplariPage: lazy(() => import(\"../pages/config/MailGruplariPage\")),\r\n SGKParameterPage: lazy(() => import(\"../pages/config/SGKParameterPage\")),\r\n AdayIdxRootPage: lazy(() => import(\"../pages/Ebasvuru/AdayIdxRootPage\")),\r\n TenantBatchOperationPage: lazy(() => import(\"../pages/master/TenantBatchOperationPage\")),\r\n HangfireLoglamaPage: lazy(() => import(\"../pages/master/HangfireLoglamaPage\")),\r\n WorkerPlannedJobPage: lazy(() => import(\"../pages/master/WorkerPlannedJobPage\")),\r\n SGKMasterParameterPage: lazy(() => import(\"../pages/master/SGKMasterParameterPage\")),\r\n TescilGirisKontrolPage: lazy(() => import(\"../pages/tescil/TescilGirisKontrolPage\")),\r\n TescilCikisKontrolPage: lazy(() => import(\"../pages/tescil/TescilCikisKontrolPage\")),\r\n};\r\n","import React, { Suspense } from 'react';\r\nimport { Route, Switch } from \"react-router-dom\";\r\nimport Dashboard from \"../pages/Dashboard\";\r\nimport LogoutPage from '../pages/LogoutPage';\r\nimport { componentMapping } from './componentMapping';\r\n\r\n\r\nconst AppRoutes = ({ routers }) => {\r\n\r\n const renderDynamicRoutes = (items) => {\r\n return items.map((item, key) => {\r\n if (item.isGroup && item.items) {\r\n // Recursively call renderDynamicRoutes for nested groups\r\n return renderDynamicRoutes(item.items);\r\n }\r\n\r\n // Get component reference from componentMapping\r\n const Component = componentMapping[item.component];\r\n if (!Component) {\r\n console.warn(`Component ${item.component} not found in componentMapping.`);\r\n return null; // Optionally handle missing components\r\n }\r\n\r\n // Render Route with dynamically resolved component\r\n return (\r\n \r\n Loading...
    }>\r\n \r\n \r\n \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 {routers.length > 0 && renderDynamicRoutes(routers)}\r\n \r\n
    \r\n );\r\n};\r\n\r\nexport default AppRoutes;\r\n","import React, { useEffect, useState } from 'react';\r\nimport { withRouter } from \"react-router-dom\";\r\nimport SideMenuV2 from '../menu/SideMenuV2';\r\n\r\nimport Kullanicilariservice from \"../service/IkIseAlimKullanicilariService\";\r\nimport { useSelector } from \"react-redux\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport AppRoutes from '../util/AppRoutes';\r\nimport { useCookies } from 'react-cookie';\r\nimport Moduleservice from '../service/GeneralServices/ModuleService';\r\nimport { useHistory } from 'react-router-dom/cjs/react-router-dom.min';\r\n\r\nconst HomePage = (props) => {\r\n const { t } = useTranslation();\r\n const history = useHistory();\r\n const [pinned, setPinned] = useState(true);\r\n const [Routers, setRouters] = useState([]);\r\n const { user } = useSelector(state => state.auth);\r\n\r\n\r\n //const [cookies] = useCookies(['module']);\r\n const [defMoudel, setDefMoudel] = useState(null);\r\n\r\n const [modules, setModules] = useState([]);\r\n\r\n const onMenuToggle = (pin) => {\r\n setPinned(pin);\r\n const content = document.getElementById('content');\r\n const toolbar = document.getElementById('fixedToolBar');\r\n\r\n if (content && toolbar) {\r\n if (pin) {\r\n content.classList.add(\"expanded\");\r\n toolbar.classList.add(\"expanded\");\r\n } else {\r\n content.classList.remove(\"expanded\");\r\n toolbar.classList.remove(\"expanded\");\r\n }\r\n } else {\r\n console.warn(\"Content or toolbar elements not found in the DOM.\");\r\n }\r\n };\r\n\r\n const fetchRoutes = async (module) => {\r\n const result = await Kullanicilariservice.getKullaniciYetkisi({ id: user.id, moduleId: module });\r\n if (result.isSuccess) {\r\n setRouters(result.resultObject);\r\n }\r\n };\r\n\r\n\r\n useEffect(() => {\r\n let isMounted = true; // Track if the component is mounted\r\n Moduleservice.get().then((res) => {\r\n if (res.isSuccess) {\r\n setModules(res.resultObject);\r\n\r\n\r\n if (!user?.module) {\r\n const moduleId = res.resultObject.find(r => r.isSysDefault == true)?.id;\r\n setDefMoudel(moduleId);\r\n fetchRoutes(moduleId);\r\n } else {\r\n const moduleId = res.resultObject.find(r => r.id == user?.module)?.id;\r\n setDefMoudel(moduleId);\r\n fetchRoutes(moduleId);\r\n }\r\n\r\n\r\n }\r\n });\r\n return () => {\r\n isMounted = false; // Cleanup: Mark component as unmounted\r\n };\r\n }, []); // Fetch only depends on the user ID\r\n\r\n useEffect(() => {\r\n onMenuToggle(pinned);\r\n }, [pinned]);\r\n\r\n const onModuleChange = (value) => {\r\n Kullanicilariservice.getKullaniciYetkisi({ id: user.id, moduleId: value }).then((res) => {\r\n if (res.isSuccess) {\r\n setRouters(res.resultObject);\r\n\r\n const pageurl = modules.find(r => r.id == value)?.yol;\r\n history.push(pageurl ?? \"/\");\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\nexport default withRouter(HomePage);\r\n","export default __webpack_public_path__ + \"static/media/sec-logo-2.fb682f89.svg\";","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass SharedMemoeryService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.MasterDomain + ApiUrl.controller.SharedMemoery);\r\n }\r\n\r\n /* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n}\r\n\r\nconst SharedMemoeryservice = new SharedMemoeryService();\r\n\r\nexport default SharedMemoeryservice;","import React, { useCallback, useEffect, useState } from 'react';\r\nimport { useHistory } from \"react-router-dom\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { ActionType } from \"../store/ActionType\";\r\nimport { useCookies } from \"react-cookie\";\r\nimport { Card, CardActions, CardContent, CardHeader, Grid, InputAdornment, } from \"@mui/material\";\r\nimport LockOpenIcon from '@mui/icons-material/LockOpen';\r\nimport PersonIcon from '@mui/icons-material/Person';\r\nimport VpnKeyIcon from '@mui/icons-material/VpnKey';\r\nimport Input from \"../ui/Input\";\r\nimport { useForm } from \"react-hook-form\";\r\nimport SubmitButton from \"../ui/SubmitButton\";\r\nimport Container from \"@mui/material/Container\";\r\nimport authService from \"../service/AuthServicev2\";\r\nimport Config from \"../Config\";\r\nimport Logo from \"../res/sec-logo-2.svg\";\r\nimport { Autocomplete, TextField, Button } from '@mui/material';\r\nimport { DoubleArrow } from '@mui/icons-material';\r\nimport useMessage from '../util/useMessage';\r\nimport { MessageType } from '../util/Enums';\r\nimport KullaniciRolleriservice from '../service/IKIseAlimServices/KullaniciRolleriService';\r\nimport { BoldIcon } from '../menu/muiStyles';\r\nimport useGlobal from '../util/Global';\r\nimport SharedMemoeryservice from '../service/MasterServices/SharedMemoeryService';\r\nimport useQuery from '../util/useQuery';\r\nimport Moduleservice from '../service/GeneralServices/ModuleService';\r\nimport Accountservice from '../service/Core/AccountService';\r\nimport { useAppCookies } from '../util/useAppCookies';\r\n\r\n\r\nconst LoginPagev2 = () => {\r\n\r\n const dispatch = useDispatch();\r\n const history = useHistory();\r\n const { isLoading, g } = useGlobal();\r\n const { setUser,getUser } = useAppCookies();\r\n\r\n useEffect(() => { }, [isLoading]);\r\n\r\n const [inited, setInited] = useState(false);\r\n const [loading, setLoading] = useState(false);\r\n\r\n const [tenantList, setTenantList] = useState(null);\r\n const [selectedTenant, setSelectedTenant] = useState(null);\r\n\r\n const [masterToken, setMasterToken] = useState(null);\r\n\r\n const { register, handleSubmit, formState: { errors } } = useForm();\r\n\r\n // const [cookies, setCookie] = useCookies(['access_token', 'refresh_token']);\r\n\r\n // const { user } = useSelector(state => state.auth);\r\n\r\n const showMessage = useMessage();\r\n\r\n const query = useQuery();\r\n\r\n\r\n /* useEffect(() => {\r\n // history.push(\"/\")\r\n if (!inited) {\r\n history.push(\"/\")\r\n } else {\r\n setInited(true);\r\n }\r\n console.log(\"loginPage2\");\r\n }, [inited, history]);*/\r\n\r\n\r\n const autoLogin = useCallback(async () => {\r\n\r\n const uniqueUrl = query.get('uniqueUrl');\r\n\r\n if (uniqueUrl) {\r\n debugger;\r\n setLoading(true);\r\n var result = await SharedMemoeryservice.get({ Key: uniqueUrl });\r\n if (result.isSuccess) {\r\n\r\n const user = await authService.getbyToken(result.resultObject.masterToken);\r\n\r\n setUser({\r\n accessToken: result.resultObject.tenantToken,\r\n isMaster: false,\r\n tenantName: result.resultObject.tenantName,\r\n tenantIcon: result.resultObject.tenantIcon,\r\n module: result.resultObject.module,\r\n masterToken: result.resultObject.masterToken,\r\n userId: user.id\r\n });\r\n\r\n\r\n dispatch({\r\n type: ActionType.LOGIN,\r\n user: user,\r\n token: user.accessToken,\r\n tenantUser: user.masterTenant,\r\n masterUser: user.masterToken\r\n });\r\n\r\n setLoading(false);\r\n\r\n history.push(result.resultObject.pageYol);\r\n\r\n }\r\n console.log(result);\r\n }\r\n\r\n\r\n // Use the tokens as needed in your React app\r\n\r\n }, [query, dispatch, history]);\r\n\r\n const autoLoginwithSession = useCallback(async (sessionKey) => {\r\n try {\r\n\r\n setLoading(true);\r\n setInited(false);\r\n\r\n const {isSuccess, message, tenant} = await Accountservice.loginWithSession(sessionKey);\r\n\r\n if (!isSuccess) {\r\n showMessage(g(message), MessageType.ERROR);\r\n return;\r\n }\r\n \r\n setMasterToken(Accountservice.user.masterToken);\r\n if (!tenantList && tenant.length === 1) {\r\n setSelectedTenant(tenant[0]);\r\n await onSelectTenant(tenant[0], Accountservice.user);\r\n }\r\n\r\n if (!tenantList) {\r\n setTenantList(tenant);\r\n }\r\n\r\n setLoading(false);\r\n\r\n } catch (e) {\r\n if (e.response?.status === 401) {\r\n showMessage(g('message.invalidUsernameOrPassword'), MessageType.ERROR);\r\n } else {\r\n showMessage(g('message.invalidUsernameOrPassword'), MessageType.ERROR);\r\n }\r\n setTimeout(() => {\r\n window.location.href = 'https://sso.securitas.com.tr'; \r\n }, 500);\r\n setLoading(false);\r\n }\r\n });\r\n\r\n useEffect(() => {\r\n const user = getUser();\r\n const params = new URLSearchParams(window.location.search);\r\n const pma = params.get(\"pma\");\r\n const sessionKey = params.get(\"sessionKey\");\r\n \r\n if (sessionKey !== null && sessionKey !== \"\") \r\n {\r\n autoLoginwithSession(sessionKey);\r\n }\r\n \r\n if (!(user && user.accessToken) && !(pma === \"true\" || sessionKey !== null ) && Config.SSOLogin) {\r\n window.location.href = \"https://sso.securitas.com.tr\";\r\n }\r\n \r\n autoLogin();\r\n }, []);\r\n\r\n\r\n const onSubmit = async (data) => {\r\n try {\r\n\r\n setLoading(true);\r\n setInited(false);\r\n const { username, password } = data;\r\n\r\n const { isSuccess, message, tenant, isMaster, masteruser } = await Accountservice.login(username, password);\r\n\r\n if (!isSuccess) {\r\n showMessage(g(message), MessageType.ERROR);\r\n return;\r\n }\r\n\r\n if (isMaster) {\r\n\r\n setUser(masteruser);\r\n\r\n\r\n dispatch({\r\n type: ActionType.MASTER_LOGIN,\r\n user: masteruser,\r\n token: masteruser.accessToken,\r\n tenantUser: masteruser.masterTenant,\r\n masterUser: masteruser.masterToken\r\n });\r\n\r\n history.push(\"/yonetim\");\r\n } else {\r\n setMasterToken(Accountservice.user.masterToken);\r\n\r\n if (!tenantList && tenant.length === 1) {\r\n setSelectedTenant(tenant[0]);\r\n await onSelectTenant(tenant[0], Accountservice.user);\r\n }\r\n\r\n if (!tenantList) {\r\n setTenantList(tenant);\r\n }\r\n }\r\n\r\n setLoading(false);\r\n\r\n } catch (e) {\r\n if (e.response?.status === 401) {\r\n showMessage(g('message.invalidUsernameOrPassword'), MessageType.ERROR);\r\n } else {\r\n showMessage(g('message.invalidUsernameOrPassword'), MessageType.ERROR);\r\n console.log(e);\r\n }\r\n setLoading(false);\r\n }\r\n }\r\n\r\n const onSelectTenant = async (targetTenant) => {\r\n\r\n setLoading(true);\r\n\r\n const tenant = targetTenant ?? selectedTenant;\r\n\r\n const { isSuccess, message, user, pageurl } = await Accountservice.loginAsTenant(tenant);\r\n\r\n if (!isSuccess) {\r\n showMessage(g(message), MessageType.ERROR);\r\n return;\r\n }\r\n\r\n setUser(user);\r\n\r\n\r\n dispatch({\r\n type: ActionType.LOGIN,\r\n user: user,\r\n token: user.accessToken,\r\n tenantUser: user.masterTenant,\r\n masterUser: user.masterToken\r\n });\r\n\r\n history.push(pageurl);\r\n\r\n setLoading(false);\r\n\r\n }\r\n\r\n const loginPage = () => {\r\n return (\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n )\r\n }}\r\n error={errors?.username}\r\n {...register(\"username\", {\r\n required: g('validation.required'),\r\n /*pattern: {\r\n value: /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,}$/i,\r\n message: g('validation.email')\r\n }*/\r\n })}\r\n />\r\n \r\n \r\n \r\n ),\r\n }}\r\n error={errors?.password}\r\n {...register(\"password\", {\r\n required: g('validation.required')\r\n })}\r\n />\r\n\r\n \r\n \r\n } fullWidth>\r\n {g('button.login')}\r\n \r\n \r\n \r\n
    )\r\n }\r\n\r\n const handleSelectTenant = (event, newValue) => {\r\n setSelectedTenant(newValue);\r\n };\r\n\r\n const teantSelection = () => {\r\n return (\r\n \r\n \r\n option.masterTenant.name}\r\n onChange={handleSelectTenant}\r\n renderInput={(params) => }\r\n />\r\n\r\n \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 {tenantList != null ? teantSelection() : loginPage()}\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n\r\n};\r\n\r\nexport default LoginPagev2;\r\n","const MasterUserTipi = {\r\n 1: \"Süper Yönetici\",\r\n 2: \"Tenant Yönetici\",\r\n}\r\n\r\nexport default MasterUserTipi;\r\n","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass MasterTenantModulService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.MasterDomain + ApiUrl.controller.MasterTenantModul);\r\n }\r\n\t\r\n\t async remove(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Remove, data);\r\n }\r\n}\r\n\r\nconst MasterTenantModulservice = new MasterTenantModulService();\r\n\r\nexport default MasterTenantModulservice;","const ModulTipi = {\r\n 1: \"SGK\",\r\n 2: \"Ebasvuru\",\r\n 3: \"IEP\",\r\n}\r\n\r\nexport default ModulTipi;\r\n","import { Button, Dialog, DialogActions, DialogContent, DialogTitle, Grid, MenuItem } from '@mui/material';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { useTranslation } from 'react-i18next';\r\nimport SaveIcon from '@mui/icons-material/Save';\r\nimport useMessage from '../../util/useMessage';\r\nimport { Controller, useForm } from 'react-hook-form';\r\nimport SubmitButton from '../../ui/SubmitButton';\r\nimport EnumSelect from '../../ui/EnumSelect';\r\nimport InputText from '../../ui/InputText';\r\nimport MasterUserservice from '../../service/MasterServices/MasterUserService';\r\nimport masterTenantservice from '../../service/MasterServices/MasterTenantService';\r\nimport MasterUserTipi from '../../enum/MasterUserTipi';\r\nimport { MessageType } from '../../util/Enums';\r\nimport ComplexSelect from '../../ui/ComplexSelect ';\r\nimport MasterTenantModulservice from '../../service/MasterServices/MasterTenantModulService';\r\nimport ModulTipi from '../../enum/ModulTipi';\r\n\r\nconst MasterUserCrudDialog = ({ open, onClose, data, crudTip, title }) => {\r\n\r\n\r\n const { t } = useTranslation();\r\n const showMessage = useMessage();\r\n const [crudtitle, SetCrudtitle] = useState(\"\");\r\n const [masterTenantItems, setMasterTenantItems] = useState([]);\r\n const [tenantModul, setTenantModul] = useState([]);\r\n\r\n\r\n\r\n\r\n\r\n const inputObject = {\r\n username: data?.username,\r\n tckn: data?.tckn,\r\n fullName: data?.fullName,\r\n masterUserTipi: data?.masterUserTipi,\r\n tenantler: [],\r\n }\r\n\r\n const { handleSubmit, register, control, reset, formState: { errors }, setValue } = useForm({\r\n defaultValues: {\r\n ...inputObject\r\n }\r\n });\r\n\r\n useEffect(async () => {\r\n if (open) {\r\n\r\n reset({\r\n ...inputObject\r\n });\r\n\r\n const options = await masterTenantservice.get();\r\n setMasterTenantItems(options.resultObject);\r\n\r\n const { resultObject } = await MasterTenantModulservice.get();\r\n setTenantModul(resultObject);\r\n\r\n setLoading(false);\r\n setStatusUpdated(false);\r\n\r\n\r\n if (crudTip == \"Create\") {\r\n SetCrudtitle(t(title) + \" \" + t(\"button.add\"))\r\n } else {\r\n SetCrudtitle(t(title) + \" \" + t(\"button.update\"))\r\n }\r\n }\r\n }, [open, data, reset]);\r\n\r\n\r\n const [loading, setLoading] = useState(false);\r\n\r\n const [statusUpdated, setStatusUpdated] = useState(false);\r\n\r\n const Create = async (input) => {\r\n const result = await MasterUserservice.create(\r\n {\r\n username: input.username,\r\n password: input.password,\r\n masterUserTipi: input.masterUserTipi,\r\n tenantId: input.tenantId,\r\n modulTipi: input.modulTipi,\r\n tckn: input.tckn,\r\n fullName: input.fullName\r\n\r\n }\r\n );\r\n\r\n return result;\r\n }\r\n\r\n const Update = async (input) => {\r\n const result = await MasterUserservice.fullupdate(\r\n {\r\n id: data?.id,\r\n username: input.username,\r\n password: input.password,\r\n masterUserTipi: input.masterUserTipi,\r\n tckn: input.tckn,\r\n fullName: input.fullName\r\n }\r\n );\r\n\r\n return result;\r\n }\r\n\r\n\r\n const onSubmit = async (input) => {\r\n if (loading)\r\n return false;\r\n\r\n try {\r\n setLoading(true);\r\n\r\n\r\n let status = true;\r\n let errorMessage = 'message.created';\r\n\r\n if (crudTip == \"Create\") {\r\n const result = await Create(input);\r\n if (!result.isSuccess) {\r\n errorMessage = 'message.userExists'\r\n status = false;\r\n }\r\n } else {\r\n const result = await Update(input);\r\n if (!result.isSuccess) {\r\n errorMessage = 'message.updateFailed';\r\n status = false;\r\n }\r\n }\r\n\r\n setLoading(false);\r\n\r\n if (status) {\r\n setStatusUpdated(true);\r\n showMessage(t(errorMessage));\r\n } else {\r\n showMessage(t(errorMessage), MessageType.ERROR);\r\n }\r\n\r\n return status;\r\n\r\n } catch (error) {\r\n setLoading(false);\r\n\r\n console.log(error);\r\n }\r\n\r\n\r\n }\r\n\r\n const InputForms = () => {\r\n return (\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\n \r\n {crudTip == \"Create\" && \r\n \r\n \r\n }\r\n\r\n {crudTip == \"Create\" && \r\n \r\n \r\n }\r\n\r\n\r\n\r\n \r\n );\r\n\r\n }\r\n\r\n return (\r\n \r\n
    \r\n \r\n {crudtitle}\r\n \r\n\r\n \r\n {InputForms()}\r\n {errors.selectedItems &&

    {errors.selectedItems.message}

    }\r\n
    \r\n \r\n {statusUpdated ? (\r\n \r\n ) : (\r\n \r\n \r\n }>\r\n {t('button.save')}\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\nexport default React.memo(MasterUserCrudDialog);\r\n\r\n\r\n","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass MasterTenantUserModulService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.MasterDomain + ApiUrl.controller.MasterTenantUserModul);\r\n }\r\n\t\r\n\t/* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n}\r\n\r\nconst MasterTenantUserModulservice = new MasterTenantUserModulService();\r\n\r\nexport default MasterTenantUserModulservice;","import { Button, Dialog, DialogActions, DialogContent, DialogTitle, Grid, IconButton } from '@mui/material';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { useTranslation } from 'react-i18next';\r\nimport { DataTable } from '../../components/DataTable';\r\nimport usePaginationV2 from '../../util/usePaginationV2';\r\nimport MasterTenantUserModulservice from '../../service/MasterServices/MasterTenantUserModulService';\r\nimport Select from '../../ui/Select';\r\nimport MasterTenantModulservice from '../../service/MasterServices/MasterTenantModulService';\r\nimport SingleSelection from '../../ui/SingleSelection';\r\nimport useMessage from '../../util/useMessage';\r\nimport { Delete } from '@mui/icons-material';\r\n\r\n\r\nconst MasterTenantUserModulDialog = ({ open, onClose, selectedKey }) => {\r\n\r\n const { t } = useTranslation();\r\n const showMessage = useMessage();\r\n\r\n const [tenantModul, setTenantModul] = useState([]);\r\n\r\n\r\n\r\n const columns = [\r\n\r\n {\r\n name: \"username\",\r\n label: t('label.username'),\r\n textAlign: \"left\",\r\n searchable: false,\r\n }, {\r\n name: \"tenantName\",\r\n label: t('label.tenantName'),\r\n textAlign: \"left\",\r\n searchable: false,\r\n },\r\n {\r\n name: \"modulTipiDesc\",\r\n label: t('label.modulTipi'),\r\n textAlign: \"center\",\r\n searchable: false,\r\n },\r\n {\r\n sortable: false,\r\n searchable: false,\r\n passItem: true,\r\n textAlign: \"Center\",\r\n title: \"action\",\r\n execute: (item) => (\r\n <>\r\n onDeleteItem(item)}\r\n color=\"error\"\r\n variant=\"contained\"\r\n title={t(\"rowActions.delete\")}\r\n size=\"small\">\r\n \r\n \r\n \r\n ),\r\n },\r\n ];\r\n\r\n\r\n\r\n\r\n\r\n const DataServiceList = usePaginationV2({\r\n service: MasterTenantUserModulservice,\r\n defaultSearchData: {\r\n masterUserId: selectedKey ?? 0\r\n },\r\n takeAll: true,\r\n defaultOrderBy: [\r\n {\r\n key: \"Id\",\r\n value: \"Desc\"\r\n }\r\n ],\r\n pageColumns: columns,\r\n });\r\n\r\n useEffect(async () => {\r\n const { resultObject } = await MasterTenantModulservice.get({masterUserId : selectedKey});\r\n setTenantModul(resultObject);\r\n // If selectedKey or open has changed, update the search data\r\n if (open && selectedKey) {\r\n DataServiceList.setSearchData({\r\n masterUserId: selectedKey\r\n });\r\n } else {\r\n DataServiceList.setData([]);\r\n }\r\n\r\n }, [open, selectedKey]);\r\n\r\n const handleSingleButtonClick = async (selectedObject) => {\r\n const result = await MasterTenantUserModulservice.create({\r\n masterTenantModulId: selectedObject.id,\r\n masterUserId: selectedKey\r\n });\r\n\r\n\r\n\r\n if (result && result.isSuccess) {\r\n showMessage(t('message.created'));\r\n DataServiceList.search();\r\n }\r\n };\r\n\r\n const onDeleteItem = async (item) => {\r\n const result = await MasterTenantUserModulservice.delete(item.id);\r\n\r\n if (result && result.isSuccess) {\r\n showMessage(t('message.created'));\r\n DataServiceList.search();\r\n }\r\n }\r\n\r\n\r\n\r\n return (\r\n \r\n \r\n {t('title.MasterTenantUserModul')}\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\nexport default MasterTenantUserModulDialog;\r\n\r\n\r\n","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass MasterUserTenantService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.MasterDomain + ApiUrl.controller.MasterUserTenant);\r\n }\r\n\t\r\n\t/* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n}\r\n\r\nconst MasterUserTenantservice = new MasterUserTenantService();\r\n\r\nexport default MasterUserTenantservice;","import { Button, Dialog, DialogActions, DialogContent, DialogTitle, IconButton } from '@mui/material';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { useTranslation } from 'react-i18next';\r\nimport { DataTable } from '../../components/DataTable';\r\nimport usePaginationV2 from '../../util/usePaginationV2';\r\nimport MasterUserTenantservice from '../../service/MasterServices/MasterUserTenantService';\r\nimport MasterTenantModulservice from '../../service/MasterServices/MasterTenantModulService';\r\nimport SingleSelection from '../../ui/SingleSelection';\r\nimport useMessage from '../../util/useMessage';\r\nimport { Delete } from '@mui/icons-material';\r\nimport masterTenantservice from '../../service/MasterServices/MasterTenantService';\r\nimport SwitchCell from '../../components/SwitchCell';\r\nimport { MessageType } from '../../util/Enums';\r\n\r\n\r\nconst MasterUserTenantDialog = ({ open, onClose, selectedKey }) => {\r\n\r\n const { t } = useTranslation();\r\n const showMessage = useMessage();\r\n\r\n const [tenantModul, setTenantModul] = useState([]);\r\n\r\n const handelaktifSwitchChange = async (item, newCheckedVal) => {\r\n console.log(item, newCheckedVal);\r\n const result = await MasterUserTenantservice.update({\r\n id: item.id,\r\n aktif: !item.aktif\r\n });\r\n DataServiceList.search();\r\n return true;\r\n };\r\n\r\n const columns = [\r\n\r\n {\r\n name: \"tenantName\",\r\n label: t('label.tenantName'),\r\n textAlign: \"left\",\r\n searchable: false,\r\n },\r\n {\r\n name: \"aktif\",\r\n label: t('label.aktif'),\r\n textAlign: \"center\",\r\n searchable: false,\r\n passItem: true,\r\n execute: (item) =>\r\n ( handelaktifSwitchChange(item, newCheckedVal)}\r\n />)\r\n },\r\n {\r\n sortable: false,\r\n searchable: false,\r\n passItem: true,\r\n textAlign: \"Center\",\r\n title: \"action\",\r\n execute: (item) => (\r\n <>\r\n onDeleteItem(item)}\r\n color=\"error\"\r\n variant=\"contained\"\r\n title={t(\"rowActions.delete\")}\r\n size=\"small\">\r\n \r\n \r\n \r\n ),\r\n },\r\n ];\r\n\r\n\r\n\r\n\r\n\r\n const DataServiceList = usePaginationV2({\r\n service: MasterUserTenantservice,\r\n defaultSearchData: {\r\n masterUserId: selectedKey ?? 0\r\n },\r\n takeAll: true,\r\n defaultOrderBy: [\r\n {\r\n key: \"Id\",\r\n value: \"Desc\"\r\n }\r\n ],\r\n pageColumns: columns,\r\n });\r\n\r\n useEffect(async () => {\r\n const { resultObject } = await masterTenantservice.get();\r\n setTenantModul(resultObject);\r\n // If selectedKey or open has changed, update the search data\r\n if (open && selectedKey) {\r\n DataServiceList.setSearchData({\r\n masterUserId: selectedKey\r\n });\r\n } else {\r\n DataServiceList.setData([]);\r\n }\r\n\r\n }, [open, selectedKey]);\r\n\r\n const handleSingleButtonClick = async (selectedObject) => {\r\n const result = await MasterUserTenantservice.create({\r\n tenantId: selectedObject.id,\r\n masterUserId: selectedKey\r\n });\r\n\r\n if (result && result.isSuccess) {\r\n showMessage(t('message.created'));\r\n DataServiceList.search();\r\n } else {\r\n showMessage(t('message.tenantAuthType'), MessageType.ERROR);\r\n }\r\n\r\n };\r\n\r\n const onDeleteItem = async (item) => {\r\n const result = await MasterUserTenantservice.delete(item.id);\r\n\r\n if (result && result.isSuccess) {\r\n showMessage(t('message.created'));\r\n DataServiceList.search();\r\n }\r\n }\r\n\r\n\r\n\r\n return (\r\n \r\n \r\n {t('title.MasterUserTenant')}\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\nexport default MasterUserTenantDialog;\r\n\r\n\r\n","import { useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { IconButton } from \"@mui/material\";\r\nimport Page from \"../../layout/Page\";\r\nimport { DataTable } from \"../../components/DataTable\";\r\nimport ListPageActions from \"../../components/ListPageActions\";\r\nimport DownloadButton from \"../../components/DownloadButton\";\r\nimport SwitchCell from \"../../components/SwitchCell\";\r\nimport CustButton from \"../../ui/CustButton\";\r\nimport DateFilterCell from \"../../components/DateFilterCell\";\r\nimport { YesNoTypeOptions } from \"../../components/YesNoTypeOptions\";\r\nimport DynamicOptions from \"../../components/DynamicOptions\";\r\nimport DialogConfirm from \"../../components/DialogConfirm\";\r\nimport usePaginationV2 from \"../../util/usePaginationV2\";\r\nimport { parseAndFormatDate } from \"../../util/DateUtil\";\r\nimport MasterUserCrudDialog from \"./MasterUserCrudDialog\";\r\nimport FilterOptionEnum from \"../../enum/FilterOptionEnum\";\r\nimport MenuListAction from \"../../components/MenuListAction\";\r\nimport { Add, Edit, Delete, Settings, WrapText } from \"@mui/icons-material\";\r\nimport MasterUserservice from \"../../service/MasterServices/MasterUserService\";\r\nimport PopoverList from \"../../components/tableComponent/PopoverList\";\r\nimport ColList from \"../../components/tableComponent/ColList\";\r\nimport MasterTenantUserModulDialog from \"./MasterTenantUserModulDialog\";\r\nimport MasterUserTenantDialog from \"./MasterUserTenantDialog\";\r\nimport MasterUserTipi from \"../../enum/MasterUserTipi\";\r\n\r\nconst MasterUserPage = ({ title }) => {\r\n const { t } = useTranslation();\r\n const [deleteItem, setDeleteItem] = useState(null);\r\n const [loading, setLoading] = useState(false); // Loading state for action handling\r\n const [openDialog, setOpenDialog] = useState(false);\r\n const [selectedKey, setselectedKey] = useState(null);\r\n const [isDetayDialogOpen, setDetayDialogOpen] = useState(false);\r\n const [isTruncated, setIsTruncated] = useState(true);\r\n const [crudTip, setCrudTip] = useState(\"\");\r\n const [MasterUserTenantKey, setMasterUserTenantKey] = useState(null);\r\n const [isMasterUserTenantOpen, setMasterUserTenantOpen] = useState(false);\r\n\r\n // Switch change handler\r\n const handelaktifSwitchChange = async (item, newCheckedVal) => {\r\n\r\n console.log(item, newCheckedVal);\r\n let result = await MasterUserservice.update({\r\n id: item.id,\r\n aktif: !item.aktif\r\n });\r\n mainDataList.search();\r\n return true;\r\n };\r\n\r\n // Toggle between truncated and full text\r\n const handleToggle = () => {\r\n setIsTruncated(prevState => !prevState);\r\n };\r\n\r\n // Handle delete actions\r\n const handleDeleteAction = async () => {\r\n if (!deleteItem) return;\r\n\r\n setLoading(true); // Start loading\r\n try {\r\n const result = await MasterUserservice.delete(deleteItem.id);\r\n\r\n if (result) {\r\n mainDataList.search(); // Refresh data after success\r\n }\r\n } catch (error) {\r\n console.error(\"Action failed:\", error); // Handle any error that occurs during the action\r\n // Optionally, display an error notification or message\r\n } finally {\r\n setLoading(false); // End loading regardless of success or failure\r\n setOpenDialog(false); // Close the confirm dialog\r\n }\r\n };\r\n\r\n // Handle detay dialog open/close\r\n const openDetayDialog = (id) => {\r\n setselectedKey(id);\r\n setDetayDialogOpen(true);\r\n };\r\n const closeDetayDialog = () => {\r\n setselectedKey(null);\r\n setDetayDialogOpen(false);\r\n mainDataList.search();\r\n };\r\n\r\n // Handle detay dialog open/close\r\n const openMasterUserTenantDialog = (id) => {\r\n setMasterUserTenantKey(id);\r\n setMasterUserTenantOpen(true);\r\n };\r\n const closeMasterUserTenantDialog = () => {\r\n setMasterUserTenantKey(null);\r\n setMasterUserTenantOpen(false);\r\n mainDataList.search();\r\n };\r\n\r\n // Column definitions\r\n const columns = [\r\n {\r\n passItem: true,\r\n searchable: false,\r\n sortable: false,\r\n label: t('label.islemler'),\r\n execute: (item) => ,\r\n action: () => {\r\n openMasterUserTenantDialog(item.id);\r\n }\r\n },\r\n {\r\n label: t('label.moduller'),\r\n icon: ,\r\n action: () => {\r\n openDetayDialog(item.id);\r\n }\r\n },\r\n\r\n ]\r\n } />\r\n },\r\n {\r\n name: \"fullName\",\r\n label: t('label.fullName'),\r\n textAlign: \"left\"\r\n },\r\n {\r\n name: \"username\",\r\n label: t('label.username'),\r\n textAlign: \"left\"\r\n },\r\n\r\n {\r\n passItem: true,\r\n sortable: false,\r\n searchField: \"tenantId\",\r\n textAlign: \"Center\",\r\n label: t('label.tenantsyetksi'),\r\n selectOptions: ,\r\n searchType: 'select',\r\n execute: (item) => {\r\n return (isTruncated ?\r\n \r\n :\r\n \r\n )\r\n\r\n }\r\n },\r\n {\r\n passItem: true,\r\n sortable: false,\r\n searchField: \"tenantId\",\r\n textAlign: \"Center\",\r\n label: t('label.Modulleryetksi'),\r\n execute: (item) => {\r\n return (isTruncated ?\r\n \r\n :\r\n \r\n )\r\n\r\n }\r\n },\r\n {\r\n name: \"createdDate\",\r\n label: t('label.createdDate'),\r\n textAlign: \"center\",\r\n execute: (item) => parseAndFormatDate(item),\r\n searchable: true,\r\n searchType: \"custom\",\r\n searchComponent: DateFilterCell\r\n },\r\n {\r\n name: \"lastModifiedDate\",\r\n label: t('label.lastModifiedDate'),\r\n textAlign: \"center\",\r\n execute: (item) => parseAndFormatDate(item),\r\n searchable: true,\r\n searchType: \"custom\",\r\n searchComponent: DateFilterCell\r\n },\r\n {\r\n name: \"masterUserTipi\",\r\n label: t('label.masterUserTipi'),\r\n textAlign: \"center\",\r\n execute: (item) => MasterUserTipi[item],\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: \r\n },\r\n {\r\n name: \"aktif\",\r\n type: Boolean,\r\n label: t('label.aktif'),\r\n textAlign: \"center\",\r\n passItem: true,\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: ,\r\n execute: (item) =>\r\n ( handelaktifSwitchChange(item, newCheckedVal)}\r\n />)\r\n },\r\n\r\n {\r\n sortable: false,\r\n searchable: false,\r\n passItem: true,\r\n textAlign: \"Center\",\r\n title: \"action\",\r\n execute: (item) => (\r\n <>\r\n handleOpenCrudDialog(item, \"Update\")}\r\n color=\"warning\"\r\n variant=\"contained\"\r\n title={t(\"rowActions.update\")}\r\n size=\"small\">\r\n \r\n \r\n openConfirmDialog(item)}\r\n color=\"error\"\r\n variant=\"contained\"\r\n title={t(\"rowActions.delete\")}\r\n size=\"small\">\r\n \r\n \r\n \r\n ),\r\n },\r\n\r\n\r\n ];\r\n\r\n // Pagination configuration\r\n const mainDataList = usePaginationV2({\r\n service: MasterUserservice,\r\n pageColumns: columns,\r\n defaultSearchData: {\r\n tipler: [1, 2]\r\n },\r\n defaultOrderBy: [{ key: \"Id\", value: \"Desc\" }],\r\n });\r\n\r\n // Handle Crud dialog open/close\r\n ///**********************/////\r\n\r\n\r\n const [crudItem, setCrudItem] = useState(null);\r\n const [onCrudDialogOpen, setCrudDialogOpen] = useState(false);\r\n\r\n const handleOpenCrudDialog = (data, tip) => {\r\n setCrudItem(data); // Set the data to pass to the dialog\r\n setCrudDialogOpen(true);\r\n setCrudTip(tip);\r\n };\r\n\r\n const handleMasterUserClose = async () => {\r\n setCrudDialogOpen(false);\r\n await mainDataList.search([]); // Clear the dialog data when closing\r\n };\r\n\r\n // Handle confirm dialog open/close\r\n const openConfirmDialog = (item) => {\r\n // setActionType(item);\r\n setDeleteItem(item);\r\n setOpenDialog(true);\r\n };\r\n\r\n\r\n\r\n const closeConfirmDialog = () => setOpenDialog(false);\r\n\r\n // Action buttons component\r\n const ActionButtons = () => (\r\n \r\n handleOpenCrudDialog(null, \"Create\")}\r\n style={{ marginLeft: 10 }}\r\n disabled={loading} // Disable buttons when loading\r\n >\r\n {t('label.masterUser') + \" \" + t('button.add')}\r\n \r\n \r\n }\r\n right={\r\n <>\r\n handleToggle()}\r\n style={{ marginLeft: 10 }}\r\n disabled={loading} // Disable buttons when loading\r\n >\r\n \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 < MasterUserCrudDialog\r\n open={onCrudDialogOpen}\r\n onClose={() => handleMasterUserClose()}\r\n data={crudItem}\r\n crudTip={crudTip}\r\n title={t('label.masterUser')}\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\nexport default MasterUserPage;\r\n","const AuthenticationType = {\r\n 1: \"Hash\",\r\n 2: \"LDAP\",\r\n 3: \"LDAPSmart\",\r\n 4: \"SSO\",\r\n}\r\n\r\nexport default AuthenticationType;\r\n","import { Button, Dialog, DialogActions, DialogContent, DialogTitle, Grid } from '@mui/material';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { useTranslation } from 'react-i18next';\r\nimport SaveIcon from '@mui/icons-material/Save';\r\nimport useMessage from '../../util/useMessage';\r\nimport { Controller, useForm } from 'react-hook-form';\r\nimport SubmitButton from '../../ui/SubmitButton';\r\nimport EnumSelect from '../../ui/EnumSelect';\r\nimport InputText from '../../ui/InputText';\r\nimport masterTenantservice from '../../service/MasterServices/MasterTenantService';\r\nimport AuthenticationType from '../../enum/AuthenticationType';\r\nimport CustButton from '../../ui/CustButton';\r\nimport { CreateRounded } from '@mui/icons-material';\r\nimport useGlobal from '../../util/Global';\r\n\r\nconst MasterTenantCrudDialog = ({ open, onClose, data, crudTip, title }) => {\r\n\r\n\r\n const { t } = useGlobal();\r\n const showMessage = useMessage();\r\n const [crudtitle, SetCrudtitle] = useState(\"\");\r\n const [isHash, setIsHash] = useState(false);\r\n\r\n const inputObject = {\r\n name: data?.name,\r\n connectionString: data?.connectionString,\r\n systemAuthenticationType: data?.systemAuthenticationType,\r\n ldapHost: data?.ldapHost,\r\n ldapDirectory: data?.ldapDirectory,\r\n startPage: data?.startPage,\r\n uiStartPage: data?.uiStartPage,\r\n guid: data?.guid,\r\n iconUrl: data?.iconUrl\r\n }\r\n\r\n\r\n const { handleSubmit, register, control, reset, formState: { errors }, setValue } = useForm({\r\n defaultValues: {\r\n ...inputObject\r\n }\r\n });\r\n useEffect(() => {\r\n if (open) {\r\n reset({\r\n ...inputObject\r\n });\r\n setLoading(false);\r\n setStatusUpdated(false);\r\n if (crudTip == \"Create\") {\r\n SetCrudtitle(title + \" \" + t(\"button.add\"))\r\n } else {\r\n SetCrudtitle(title + \" \" + t(\"button.update\"))\r\n }\r\n }\r\n }, [open, reset]);\r\n\r\n const [loading, setLoading] = useState(false);\r\n\r\n const [statusUpdated, setStatusUpdated] = useState(false);\r\n\r\n const Create = async (input) => {\r\n const { resultObject } = await masterTenantservice.create(\r\n {\r\n name: input.name,\r\n connectionString: input.connectionString,\r\n systemAuthenticationType: input.systemAuthenticationType,\r\n ldapHost: input.ldapHost,\r\n ldapDirectory: input.ldapDirectory,\r\n startPage: input.startPage,\r\n uiStartPage: input.uiStartPage,\r\n aktif: true,\r\n iconUrl: input?.iconUrl,\r\n guid: input?.guid\r\n }\r\n );\r\n\r\n return resultObject;\r\n }\r\n\r\n const Update = async (input) => {\r\n const { resultObject } = await masterTenantservice.update(\r\n {\r\n id: data?.id,\r\n name: input.name,\r\n connectionString: input.connectionString,\r\n systemAuthenticationType: input.systemAuthenticationType,\r\n ldapHost: input.ldapHost,\r\n ldapDirectory: input.ldapDirectory,\r\n startPage: input.startPage,\r\n uiStartPage: input.uiStartPage,\r\n iconUrl: input.iconUrl,\r\n guid: input?.guid\r\n }\r\n );\r\n\r\n return resultObject;\r\n }\r\n\r\n\r\n const onSubmit = async (input) => {\r\n if (loading)\r\n return false;\r\n\r\n try {\r\n setLoading(true);\r\n\r\n let status = false;\r\n if (crudTip == \"Create\") {\r\n status = await Create(input);\r\n } else {\r\n\r\n status = await Update(input);\r\n }\r\n\r\n setLoading(false);\r\n\r\n if (status) {\r\n setStatusUpdated(true);\r\n showMessage(t('message.created'));\r\n } else {\r\n showMessage(t('message.updateFailed'));\r\n }\r\n\r\n return status;\r\n\r\n } catch (error) {\r\n setLoading(false);\r\n\r\n console.log(error);\r\n }\r\n\r\n\r\n }\r\n\r\n const onChangeEnum = (value) => {\r\n console.log(value)\r\n if (value == 1) {\r\n setIsHash(true);\r\n } else {\r\n setIsHash(false);\r\n }\r\n\r\n }\r\n\r\n const createGuid = () => {\r\n setValue(\"guid\", crypto.randomUUID());\r\n\r\n }\r\n\r\n const InputForm = () => {\r\n return (\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 createGuid()}\r\n style={{ margin: 10 }}\r\n disabled={loading} // Disable button when loading\r\n >\r\n {t(\"button.create\")}\r\n \r\n \r\n\r\n \r\n onChangeEnum(value)}\r\n />\r\n \r\n\r\n {!isHash &&\r\n \r\n \r\n \r\n }\r\n\r\n\r\n {!isHash && \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\n }\r\n\r\n\r\n return (\r\n \r\n
    \r\n \r\n {crudtitle}\r\n \r\n\r\n \r\n {InputForm()}\r\n \r\n \r\n {statusUpdated ? (\r\n \r\n ) : (\r\n \r\n \r\n }>\r\n {t('button.save')}\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\nexport default React.memo(MasterTenantCrudDialog);\r\n\r\n\r\n","import { Checkbox, List, ListItemButton, ListItemIcon, ListItemText, Paper } from \"@mui/material\";\r\nimport { useState, useEffect } from \"react\";\r\n\r\nconst CheckBoxListInput = ({ enumObject, checkedItems, handleToggle, handleUncheckToggle }) => {\r\n const [checked, setChecked] = useState(checkedItems || []);\r\n\r\n // Update local checked state when checkedItems prop changes\r\n useEffect(() => {\r\n setChecked(checkedItems || []);\r\n }, [checkedItems]);\r\n\r\n const handleClick = async (key) => {\r\n if (checked.includes(key)) {\r\n await handleUncheckToggle(key);\r\n setChecked(checked.filter(item => item !== key));\r\n } else {\r\n await handleToggle(key);\r\n setChecked([...checked, key]);\r\n }\r\n };\r\n\r\n return (\r\n \r\n \r\n {Object.keys(enumObject).map(key => {\r\n // Log the values for debugging\r\n console.log(\"Key:\", key);\r\n console.log(\"Checked items:\", checked);\r\n console.log(\"Condition result:\", checked.includes(key)); // Log the result of the includes check\r\n\r\n\r\n return (\r\n handleClick(Number(key))} // Pass normalized key\r\n >\r\n \r\n \r\n \r\n \r\n {enumObject[key]}\r\n \r\n \r\n );\r\n })}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default CheckBoxListInput;\r\n","import { Button, Dialog, DialogActions, DialogContent, DialogTitle } from '@mui/material';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { useTranslation } from 'react-i18next';\r\nimport { DataTable } from '../../components/DataTable';\r\nimport usePaginationV2 from '../../util/usePaginationV2';\r\nimport IsKazaDurumEnum from '../../enum/IsKazaDurumEnum';\r\nimport { parseAndFormatDate } from '../../util/DateUtil';\r\nimport ModulTipi from '../../enum/ModulTipi';\r\nimport MasterTenantModulservice from '../../service/MasterServices/MasterTenantModulService';\r\nimport FilterOptionEnum from '../../enum/FilterOptionEnum';\r\nimport AuthenticationType from '../../enum/AuthenticationType';\r\nimport CheckBoxListInput from '../../ui/CheckBoxListInput';\r\n\r\n\r\nconst MasterTenantModulDialog = ({ open, onClose, selectedKey }) => {\r\n\r\n const { t } = useTranslation();\r\n\r\n const [tenantModul, setTenantModul] = useState([]);\r\n\r\n\r\n\r\n\r\n useEffect(async () => {\r\n // If selectedKey or open has changed, update the search data\r\n if (open && selectedKey) {\r\n const result = await MasterTenantModulservice.get({ tenantId: selectedKey });\r\n setTenantModul(result.resultObject);\r\n }\r\n\r\n }, [open, selectedKey]);\r\n\r\n const handleUncheckToggle = async (key) => {\r\n const result = await MasterTenantModulservice.remove({\r\n tenantId: selectedKey,\r\n modulTipi: key\r\n });\r\n console.log(\"handleUncheckToggle\" + key);\r\n }\r\n\r\n const handleToggle = async (key) => {\r\n const result = await MasterTenantModulservice.create({\r\n tenantId: selectedKey,\r\n modulTipi: key\r\n });\r\n\r\n console.log(\"handleToggle\" + result);\r\n }\r\n\r\n\r\n return (\r\n \r\n \r\n {t('title.MasterTenantModul')}\r\n \r\n\r\n \r\n r.modulTipi)}\r\n handleToggle={handleToggle}\r\n handleUncheckToggle={handleUncheckToggle}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n );\r\n\r\n};\r\n\r\n\r\nexport default MasterTenantModulDialog;\r\n\r\n","import { Button, Dialog, DialogActions, DialogContent, DialogTitle, Grid, IconButton } from '@mui/material';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { useTranslation } from 'react-i18next';\r\nimport { DataTable } from '../../components/DataTable';\r\nimport usePaginationV2 from '../../util/usePaginationV2';\r\nimport SingleSelection from '../../ui/SingleSelection';\r\nimport useMessage from '../../util/useMessage';\r\nimport { Delete } from '@mui/icons-material';\r\nimport { filterByField } from '../../util/filterByField';\r\nimport TenantBatchOperationservice from '../../service/MasterServices/TenantBatchOperationService';\r\nimport BatchOperationservice from '../../service/MasterServices/BatchOperationService';\r\nimport { YesNoTypeOptions } from '../../components/YesNoTypeOptions';\r\nimport SwitchCell from '../../components/SwitchCell';\r\nimport ModulTipi from '../../enum/ModulTipi';\r\nimport FilterOptionEnum from '../../enum/FilterOptionEnum';\r\n\r\n\r\nconst TenantBatchOperationDialog = ({ open, onClose, selectedKey }) => {\r\n\r\n const { t } = useTranslation();\r\n const showMessage = useMessage();\r\n\r\n const [dataListItem, setdataListItem] = useState([]);\r\n\r\n\r\n const handelaktifSwitchChange = async (item, newCheckedVal) => {\r\n console.log(item, newCheckedVal);\r\n let result = await TenantBatchOperationservice.update({\r\n id: item.id,\r\n aktif: !item.aktif\r\n });\r\n DataServiceList.search([]);\r\n return true;\r\n };\r\n\r\n const columns = [\r\n {\r\n name: \"tenantName\",\r\n label: t('label.tenantName'),\r\n textAlign: \"left\",\r\n searchable: false,\r\n },\r\n {\r\n name: \"operationName\",\r\n label: t('label.operationName'),\r\n textAlign: \"left\",\r\n searchable: false,\r\n },\r\n {\r\n name: \"operationType\",\r\n label: t('label.operationType'),\r\n textAlign: \"center\",\r\n execute: (item) => ModulTipi[item],\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: \r\n },\r\n {\r\n name: \"aktif\",\r\n type: Boolean,\r\n label: t('label.aktif'),\r\n textAlign: \"center\",\r\n passItem: true,\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: ,\r\n execute: (item) =>\r\n ( handelaktifSwitchChange(item, newCheckedVal)}\r\n />)\r\n },\r\n\r\n {\r\n sortable: false,\r\n searchable: false,\r\n passItem: true,\r\n textAlign: \"Center\",\r\n title: \"action\",\r\n execute: (item) => (\r\n <>\r\n onDeleteItem(item)}\r\n color=\"error\"\r\n variant=\"contained\"\r\n title={t(\"rowActions.delete\")}\r\n size=\"small\">\r\n \r\n \r\n \r\n ),\r\n },\r\n ];\r\n\r\n\r\n\r\n\r\n\r\n const DataServiceList = usePaginationV2({\r\n service: TenantBatchOperationservice,\r\n defaultSearchData: {\r\n tenantId: selectedKey ?? 0\r\n },\r\n takeAll: true,\r\n defaultOrderBy: [\r\n {\r\n key: \"Id\",\r\n value: \"Desc\"\r\n }\r\n ],\r\n pageColumns: columns,\r\n });\r\n\r\n const RefeshDataSource = async () => {\r\n\r\n const dataSource = await TenantBatchOperationservice.get({\r\n tenantId: selectedKey,\r\n\r\n });\r\n\r\n const listdropList = await BatchOperationservice.get();\r\n\r\n // Use the utility function to filter roles\r\n const filteredRoles = filterByField(dataSource.resultObject, listdropList.resultObject, 'operationId');\r\n\r\n setdataListItem(filteredRoles); // Set the filtered list\r\n\r\n /// refesh list of drop box\r\n await DataServiceList.setSearchData({\r\n tenantId: selectedKey\r\n });\r\n }\r\n\r\n useEffect(async () => {\r\n\r\n // If selectedKey or open has changed, update the search data\r\n if (open && selectedKey) {\r\n await RefeshDataSource();\r\n } else {\r\n DataServiceList.setData([]);\r\n }\r\n\r\n }, [open, selectedKey]);\r\n\r\n const handleSingleButtonClick = async (selectedObject) => {\r\n const result = await TenantBatchOperationservice.create({\r\n operationId: selectedObject.operationId,\r\n tenantId: selectedKey,\r\n aktif: true\r\n });\r\n\r\n\r\n\r\n if (result && result.isSuccess) {\r\n showMessage(t('message.created'));\r\n await RefeshDataSource();\r\n }\r\n };\r\n\r\n const onDeleteItem = async (item) => {\r\n const result = await TenantBatchOperationservice.delete(item.id);\r\n\r\n if (result && result.isSuccess) {\r\n showMessage(t('message.created'));\r\n await RefeshDataSource();\r\n }\r\n }\r\n\r\n\r\n\r\n return (\r\n \r\n \r\n {t('title.TenantBatchOperation')}\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\nexport default TenantBatchOperationDialog;\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import { useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { IconButton } from \"@mui/material\";\r\nimport Page from \"../../layout/Page\";\r\nimport { DataTable } from \"../../components/DataTable\";\r\nimport ListPageActions from \"../../components/ListPageActions\";\r\nimport DownloadButton from \"../../components/DownloadButton\";\r\nimport SwitchCell from \"../../components/SwitchCell\";\r\nimport CustButton from \"../../ui/CustButton\";\r\nimport { YesNoTypeOptions } from \"../../components/YesNoTypeOptions\";\r\nimport DialogConfirm from \"../../components/DialogConfirm\";\r\nimport usePaginationV2 from \"../../util/usePaginationV2\";\r\n\r\nimport MenuListAction from \"../../components/MenuListAction\";\r\nimport { Add, Edit, Delete, Settings, WrapText } from \"@mui/icons-material\";\r\nimport masterTenantservice from \"../../service/MasterServices/MasterTenantService\";\r\nimport MasterTenantCrudDialog from \"./MasterTenantCrudDialog\";\r\nimport AuthenticationType from \"../../enum/AuthenticationType\";\r\nimport TruncatedText from \"../../components/TruncatedText\";\r\nimport MasterTenantModulDialog from \"./MasterTenantModulDialog\";\r\nimport FilterOptionEnum from \"../../enum/FilterOptionEnum\";\r\nimport ColList from \"../../components/tableComponent/ColList\";\r\nimport PopoverList from \"../../components/tableComponent/PopoverList\";\r\nimport TenantBatchOperationDialog from \"./TenantBatchOperationDialog\";\r\nimport DynamicOptions from \"../../components/DynamicOptions\";\r\nimport ModulTipi from \"../../enum/ModulTipi\";\r\n\r\nconst MasterTenantPage = ({ title }) => {\r\n\r\n const { t } = useTranslation();\r\n const [selectedItems, setSelectedItems] = useState([]);\r\n const [deleteItem, setDeleteItem] = useState(null);\r\n const [actionType, setActionType] = useState(null);\r\n const [loading, setLoading] = useState(false); // Loading state for action handling\r\n const [openDialog, setOpenDialog] = useState(false);\r\n const [selectedKey, setselectedKey] = useState(null);\r\n const [isDetayDialogOpen, setDetayDialogOpen] = useState(false);\r\n const [isTruncated, setIsTruncated] = useState(true);\r\n const [crudTip, setCrudTip] = useState(\"\");\r\n\r\n // Switch change handler\r\n const handelaktifSwitchChange = async (item, newCheckedVal) => {\r\n console.log(item, newCheckedVal);\r\n let result = await masterTenantservice.update({\r\n id: item.id,\r\n aktif: !item.aktif\r\n });\r\n mainDataList.search();\r\n return true;\r\n };\r\n\r\n // Toggle between truncated and full text\r\n const handleToggle = () => {\r\n setIsTruncated(prevState => !prevState);\r\n };\r\n\r\n // Handle delete actions\r\n const handleDeleteAction = async () => {\r\n if (!deleteItem) return;\r\n\r\n setLoading(true); // Start loading\r\n try {\r\n const result = await masterTenantservice.delete(deleteItem.id);\r\n\r\n if (result) {\r\n mainDataList.search(); // Refresh data after success\r\n }\r\n } catch (error) {\r\n console.error(\"Action failed:\", error); // Handle any error that occurs during the action\r\n // Optionally, display an error notification or message\r\n } finally {\r\n setLoading(false); // End loading regardless of success or failure\r\n setOpenDialog(false); // Close the confirm dialog\r\n }\r\n };\r\n\r\n // Handle detay dialog open/close\r\n const openDetayDialog = (id) => {\r\n setselectedKey(id);\r\n setDetayDialogOpen(true);\r\n };\r\n const closeDetayDialog = async () => {\r\n setselectedKey(null);\r\n setDetayDialogOpen(false);\r\n await mainDataList.search([]);\r\n };\r\n\r\n\r\n\r\n const [isTenantBatchOperationOpen, setTenantBatchOperationOpen] = useState(false);\r\n\r\n const [TenantBatchOperationKey, setTenantBatchOperationKey] = useState(null);\r\n\r\n\r\n // Handle detay dialog open/close\r\n const openTenantBatchOperationDialog = (id) => {\r\n setTenantBatchOperationKey(id);\r\n setTenantBatchOperationOpen(true);\r\n };\r\n const closeTenantBatchOperationDialog = () => {\r\n setTenantBatchOperationKey(null);\r\n setTenantBatchOperationOpen(false);\r\n mainDataList.search();\r\n };\r\n\r\n\r\n // Column definitions\r\n const columns = [\r\n {\r\n passItem: true,\r\n searchable: false,\r\n sortable: false,\r\n label: t('label.islemler'),\r\n execute: (item) => ,\r\n action: () => {\r\n openDetayDialog(item.id);\r\n }\r\n },\r\n /* {\r\n label: t('label.batchOperation'),\r\n icon: ,\r\n action: () => {\r\n openTenantBatchOperationDialog(item.id);\r\n }\r\n },*/\r\n ]\r\n } />\r\n },\r\n {\r\n name: \"name\",\r\n label: t('label.name'),\r\n textAlign: \"left\"\r\n },\r\n {\r\n name: \"connectionString\",\r\n label: t('label.connectionString'),\r\n textAlign: \"left\",\r\n execute: (item =>\r\n \r\n )\r\n },\r\n {\r\n name: \"systemAuthenticationType\",\r\n label: t('label.systemAuthenticationType'),\r\n textAlign: \"left\",\r\n execute: (item) => AuthenticationType[item],\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: \r\n },\r\n {\r\n name: \"ldapHost\",\r\n label: t('label.ldapHost'),\r\n textAlign: \"left\"\r\n },\r\n {\r\n name: \"ldapDirectory\",\r\n label: t('label.ldapDirectory'),\r\n textAlign: \"left\"\r\n },\r\n {\r\n name: \"startPage\",\r\n label: t('label.startPage'),\r\n textAlign: \"left\"\r\n },\r\n {\r\n name: \"uiStartPage\",\r\n label: t('label.uiStartPage'),\r\n textAlign: \"left\"\r\n },\r\n {\r\n passItem: true,\r\n sortable: false,\r\n searchField: \"modelTipi\",\r\n label: t('label.moduller'),\r\n textAlign: \"center\",\r\n execute: (item) => {\r\n return (isTruncated ?\r\n \r\n :\r\n \r\n )\r\n },\r\n searchType: \"select\",\r\n selectOptions: \r\n },\r\n {\r\n passItem: true,\r\n sortable: false,\r\n searchField: \"operationId\",\r\n label: t('label.batchOperation'),\r\n selectOptions: ,\r\n textAlign: \"center\",\r\n searchType: 'select',\r\n execute: (item) => {\r\n return (isTruncated ?\r\n \r\n :\r\n \r\n )\r\n }\r\n },\r\n {\r\n name: \"aktif\",\r\n type: Boolean,\r\n label: t('label.aktif'),\r\n textAlign: \"center\",\r\n passItem: true,\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: ,\r\n execute: (item) =>\r\n ( handelaktifSwitchChange(item, newCheckedVal)}\r\n />)\r\n },\r\n {\r\n sortable: false,\r\n searchable: false,\r\n passItem: true,\r\n textAlign: \"Center\",\r\n title: \"action\",\r\n execute: (item) => (\r\n <>\r\n handleOpenCrudDialog(item, \"Update\")}\r\n color=\"warning\"\r\n variant=\"contained\"\r\n title={t(\"rowActions.update\")}\r\n size=\"small\">\r\n \r\n \r\n openConfirmDialog(item)}\r\n color=\"error\"\r\n variant=\"contained\"\r\n title={t(\"rowActions.delete\")}\r\n size=\"small\">\r\n \r\n \r\n \r\n ),\r\n },\r\n\r\n ];\r\n\r\n // Pagination configuration\r\n const mainDataList = usePaginationV2({\r\n service: masterTenantservice,\r\n pageColumns: columns,\r\n defaultOrderBy: [{ key: \"Id\", value: \"Desc\" }],\r\n });\r\n\r\n // Handle Crud dialog open/close\r\n ///**********************/////\r\n\r\n\r\n const [crudItem, setCrudItem] = useState(null);\r\n const [onCrudDialogOpen, setCrudDialogOpen] = useState(false);\r\n\r\n const handleOpenCrudDialog = (data, tip) => {\r\n setCrudItem(data); // Set the data to pass to the dialog\r\n setCrudDialogOpen(true);\r\n setCrudTip(tip);\r\n };\r\n\r\n const handleMasterTenantClose = async () => {\r\n setCrudDialogOpen(false);\r\n await mainDataList.search([]); // Clear the dialog data when closing\r\n };\r\n\r\n // Handle confirm dialog open/close\r\n const openConfirmDialog = (item) => {\r\n // setActionType(item);\r\n setDeleteItem(item);\r\n setOpenDialog(true);\r\n };\r\n\r\n\r\n\r\n const closeConfirmDialog = async () => {\r\n setOpenDialog(false);\r\n await mainDataList.search([]);\r\n }\r\n\r\n // Action buttons component\r\n const ActionButtons = () => (\r\n \r\n handleOpenCrudDialog(null, \"Create\")}\r\n style={{ marginLeft: 10 }}\r\n disabled={loading} // Disable buttons when loading\r\n >\r\n {t(title) + \" \" + t('button.add')}\r\n \r\n \r\n }\r\n right={\r\n <>\r\n handleToggle()}\r\n style={{ marginLeft: 10 }}\r\n disabled={loading} // Disable buttons when loading\r\n >\r\n \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 < MasterTenantCrudDialog\r\n open={onCrudDialogOpen}\r\n onClose={() => handleMasterTenantClose()}\r\n data={crudItem}\r\n crudTip={crudTip}\r\n title={t('label.tenant')}\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\nexport default MasterTenantPage;\r\n","import { Button, Dialog, DialogActions, DialogContent, DialogTitle, Grid } from '@mui/material';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { useTranslation } from 'react-i18next';\r\nimport SaveIcon from '@mui/icons-material/Save';\r\nimport useMessage from '../../util/useMessage';\r\nimport { useForm } from 'react-hook-form';\r\nimport SubmitButton from '../../ui/SubmitButton';\r\nimport InputText from '../../ui/InputText';\r\nimport BatchOperationservice from '../../service/MasterServices/BatchOperationService';\r\nimport ModulTipi from '../../enum/ModulTipi';\r\nimport EnumSelect from '../../ui/EnumSelect';\r\n\r\nconst BatchOperationCrudDialog = ({ open, onClose, data, crudTip, title }) => {\r\n\r\n\r\n const { t } = useTranslation();\r\n const showMessage = useMessage();\r\n const [crudtitle, SetCrudtitle] = useState(\"\");\r\n\r\n const inputObject = {\r\n operationId: data?.operationId,\r\n operationName: data?.operationName,\r\n operationType: data?.operationType,\r\n }\r\n\r\n const { handleSubmit, control, reset, formState: { errors } } = useForm({\r\n defaultValues: {\r\n ...inputObject\r\n }\r\n });\r\n\r\n useEffect(() => {\r\n if (open) {\r\n reset({\r\n ...inputObject\r\n });\r\n setLoading(false);\r\n setStatusUpdated(false);\r\n if (crudTip == \"Create\") {\r\n SetCrudtitle(t(title) + \" \" + t(\"button.add\"))\r\n } else {\r\n SetCrudtitle(t(title) + \" \" + t(\"button.update\"))\r\n }\r\n }\r\n }, [open, reset]);\r\n\r\n const [loading, setLoading] = useState(false);\r\n\r\n const [statusUpdated, setStatusUpdated] = useState(false);\r\n\r\n const Create = async (input) => {\r\n const { resultObject } = await BatchOperationservice.create(\r\n {\r\n operationId: input.operationId,\r\n operationName: input.operationName,\r\n operationType: input.operationType,\r\n }\r\n );\r\n\r\n return resultObject;\r\n }\r\n\r\n const Update = async (input) => {\r\n const { resultObject } = await BatchOperationservice.update(\r\n {\r\n id: data?.id,\r\n operationId: input.operationId,\r\n operationName: input.operationName,\r\n operationType: input.operationType,\r\n }\r\n );\r\n\r\n return resultObject;\r\n }\r\n\r\n\r\n const onSubmit = async (input) => {\r\n if (loading)\r\n return false;\r\n\r\n try {\r\n setLoading(true);\r\n\r\n let status = false;\r\n if (crudTip == \"Create\") {\r\n status = await Create(input);\r\n } else {\r\n\r\n status = await Update(input);\r\n }\r\n\r\n setLoading(false);\r\n\r\n if (status) {\r\n setStatusUpdated(true);\r\n showMessage(t('message.created'));\r\n } else {\r\n showMessage(t('message.updateFailed'));\r\n }\r\n\r\n return status;\r\n\r\n } catch (error) {\r\n setLoading(false);\r\n\r\n console.log(error);\r\n }\r\n\r\n\r\n }\r\n\r\n const InsertForm = () => {\r\n return (\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\n );\r\n\r\n }\r\n\r\n const UpdateForm = () => {\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\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 return (\r\n \r\n
    \r\n \r\n {crudtitle}\r\n \r\n\r\n \r\n {data ? UpdateForm() : InsertForm()}\r\n \r\n \r\n {statusUpdated ? (\r\n \r\n ) : (\r\n \r\n \r\n }>\r\n {t('button.save')}\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\nexport default React.memo(BatchOperationCrudDialog);\r\n\r\n\r\n","import { useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { IconButton } from \"@mui/material\";\r\nimport Page from \"../../layout/Page\";\r\nimport { DataTable } from \"../../components/DataTable\";\r\nimport ListPageActions from \"../../components/ListPageActions\";\r\nimport DownloadButton from \"../../components/DownloadButton\";\r\nimport SwitchCell from \"../../components/SwitchCell\";\r\nimport CustButton from \"../../ui/CustButton\";\r\nimport { YesNoTypeOptions } from \"../../components/YesNoTypeOptions\";\r\nimport DialogConfirm from \"../../components/DialogConfirm\";\r\nimport usePaginationV2 from \"../../util/usePaginationV2\";\r\nimport { Add, Edit, Delete } from \"@mui/icons-material\";\r\nimport BatchOperationservice from \"../../service/MasterServices/BatchOperationService\";\r\nimport BatchOperationCrudDialog from \"./BatchOperationCrudDialog\";\r\nimport FilterOptionEnum from \"../../enum/FilterOptionEnum\";\r\nimport ModulTipi from \"../../enum/ModulTipi\";\r\n\r\nconst BatchOperationPage = ({ title }) => {\r\n const { t } = useTranslation();\r\n const [deleteItem, setDeleteItem] = useState(null);\r\n const [loading, setLoading] = useState(false); // Loading state for action handling\r\n const [openDialog, setOpenDialog] = useState(false);\r\n const [crudTip, setCrudTip] = useState(\"\");\r\n\r\n // Switch change handler\r\n const handelaktifSwitchChange = async (item, newCheckedVal) => {\r\n console.log(item, newCheckedVal);\r\n let result = await BatchOperationservice.update({\r\n id: item.id,\r\n aktif: !item.aktif\r\n });\r\n mainDataList.search();\r\n return true;\r\n };\r\n\r\n // Handle delete actions\r\n const handleDeleteAction = async () => {\r\n if (!deleteItem) return;\r\n\r\n setLoading(true); // Start loading\r\n try {\r\n const result = await BatchOperationservice.delete(deleteItem.id);\r\n\r\n if (result) {\r\n mainDataList.search(); // Refresh data after success\r\n }\r\n } catch (error) {\r\n console.error(\"Action failed:\", error); // Handle any error that occurs during the action\r\n // Optionally, display an error notification or message\r\n } finally {\r\n setLoading(false); // End loading regardless of success or failure\r\n setOpenDialog(false); // Close the confirm dialog\r\n }\r\n };\r\n\r\n\r\n // Column definitions\r\n const columns = [\r\n {\r\n name: \"operationId\",\r\n label: t('label.operationId'),\r\n textAlign: \"center\"\r\n },\r\n {\r\n name: \"operationName\",\r\n label: t('label.operationName'),\r\n textAlign: \"left\"\r\n },\r\n {\r\n name: \"operationType\",\r\n label: t('label.operationType'),\r\n textAlign: \"center\",\r\n execute: (item) => ModulTipi[item],\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: \r\n },\r\n {\r\n name: \"aktif\",\r\n type: Boolean,\r\n label: t('label.aktif'),\r\n textAlign: \"center\",\r\n passItem: true,\r\n searchable: true,\r\n searchType: \"select\",\r\n selectOptions: ,\r\n execute: (item) =>\r\n handelaktifSwitchChange(item, newCheckedVal)}\r\n />\r\n },\r\n {\r\n sortable: false,\r\n searchable: false,\r\n passItem: true,\r\n textAlign: \"Center\",\r\n title: \"action\",\r\n execute: (item) => (\r\n <>\r\n handleOpenCrudDialog(item, \"Update\")}\r\n color=\"warning\"\r\n variant=\"contained\"\r\n title={t(\"rowActions.update\")}\r\n size=\"small\">\r\n \r\n \r\n openConfirmDialog(item)}\r\n color=\"error\"\r\n variant=\"contained\"\r\n title={t(\"rowActions.delete\")}\r\n size=\"small\">\r\n \r\n \r\n \r\n ),\r\n },\r\n\r\n\r\n\r\n ];\r\n\r\n // Pagination configuration\r\n const mainDataList = usePaginationV2({\r\n service: BatchOperationservice,\r\n pageColumns: columns,\r\n defaultOrderBy: [{ key: \"Id\", value: \"Desc\" }],\r\n });\r\n\r\n // Handle Crud dialog open/close\r\n ///**********************/////\r\n\r\n\r\n const [crudItem, setCrudItem] = useState(null);\r\n const [onCrudDialogOpen, setCrudDialogOpen] = useState(false);\r\n\r\n const handleOpenCrudDialog = (data, tip) => {\r\n setCrudItem(data); // Set the data to pass to the dialog\r\n setCrudDialogOpen(true);\r\n setCrudTip(tip);\r\n };\r\n\r\n const handleBatchOperationClose = async () => {\r\n setCrudDialogOpen(false);\r\n await mainDataList.search([]); // Clear the dialog data when closing\r\n };\r\n\r\n // Handle confirm dialog open/close\r\n const openConfirmDialog = (item) => {\r\n // setActionType(item);\r\n setDeleteItem(item);\r\n setOpenDialog(true);\r\n };\r\n\r\n\r\n\r\n const closeConfirmDialog = () => setOpenDialog(false);\r\n\r\n // Action buttons component\r\n const ActionButtons = () => (\r\n \r\n handleOpenCrudDialog(null, \"Create\")}\r\n style={{ marginLeft: 10 }}\r\n disabled={loading} // Disable buttons when loading\r\n >\r\n {t('label.batchOperation') + \" \" + t('button.add')}\r\n \r\n \r\n }\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 < BatchOperationCrudDialog\r\n open={onCrudDialogOpen}\r\n onClose={() => handleBatchOperationClose()}\r\n data={crudItem}\r\n crudTip={crudTip}\r\n title={t('label.batchOperation')}\r\n\r\n />\r\n\r\n\r\n \r\n \r\n );\r\n};\r\n\r\nexport default BatchOperationPage;\r\n","import { Button, Dialog, DialogActions, DialogContent, DialogTitle, Grid } from '@mui/material';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { useTranslation } from 'react-i18next';\r\nimport SaveIcon from '@mui/icons-material/Save';\r\nimport { parseAndFormatDate } from '../../util/DateUtil';\r\nimport useMessage from '../../util/useMessage';\r\nimport { Controller, useForm } from 'react-hook-form';\r\nimport SubmitButton from '../../ui/SubmitButton';\r\nimport Input from '../../ui/Input';\r\nimport DateInput from '../../ui/DateInput';\r\nimport BatchStatusEnum from '../../enum/BatchStatusEnum';\r\nimport EnumSelect from '../../ui/EnumSelect';\r\nimport InputText from '../../ui/InputText';\r\nimport SysGlobalKeyservice from '../../service/MasterServices/SysGlobalKeyService';\r\nimport SysGlobalGroupservice from '../../service/MasterServices/SysGlobalGroupService';\r\nimport ComplexAutocomplete from '../../ui/ComplexAutocomplete';\r\nimport { Add } from '@mui/icons-material';\r\nimport CustButton from '../../ui/CustButton';\r\nimport ComplexSelect from '../../ui/ComplexSelect ';\r\nimport useGlobal from '../../util/Global';\r\n\r\nconst SysGlobalKeyCrudDialog = ({ open, onClose, data, crudTip, title }) => {\r\n\r\n const { g } = useGlobal();\r\n const showMessage = useMessage();\r\n const [crudtitle, SetCrudtitle] = useState(\"\");\r\n const [isGroupIns, setIsGroupIns] = useState(false);\r\n const [SysGlobalGroupIdList, setSysGlobalGroupIdList] = useState([]);\r\n\r\n\r\n const inputObject = {\r\n id: data?.id,\r\n keyLabel: data?.keyLabel,\r\n groupKey: data?.groupKey,\r\n sira: data?.sira,\r\n tRKeyValue: data?.trKeyValue,\r\n eNKeyValue: data?.enKeyValue,\r\n };\r\n\r\n const { handleSubmit, register, control, reset, formState: { errors }, setValue } = useForm({\r\n defaultValues: {\r\n ...inputObject\r\n }\r\n });\r\n\r\n const getData = () => {\r\n SysGlobalGroupservice.get().then((response) => {\r\n if (response && response.isSuccess) {\r\n setSysGlobalGroupIdList(response.resultObject);\r\n\r\n }\r\n }).catch((error) => {\r\n console.error(\"Failed to fetch data:\", error);\r\n });\r\n\r\n }\r\n\r\n useEffect(() => {\r\n\r\n if (SysGlobalGroupIdList.length > 0 && data?.sysGlobalGroupId) {\r\n setValue(\"sysGlobalGroupId\", SysGlobalGroupIdList.find(r => r.id === data?.sysGlobalGroupId));\r\n }\r\n }, [setValue, SysGlobalGroupIdList, data])\r\n\r\n\r\n useEffect(() => {\r\n if (open) {\r\n reset({\r\n ...inputObject\r\n });\r\n setIsGroupIns(false);\r\n setLoading(false);\r\n setStatusUpdated(false);\r\n getData();\r\n if (crudTip === \"Create\") {\r\n SetCrudtitle((title) + \" \" + g(\"button.add\"));\r\n\r\n } else {\r\n SetCrudtitle((title) + \" \" + g(\"button.update\"));\r\n }\r\n }\r\n }, [open, reset]);\r\n\r\n const [loading, setLoading] = useState(false);\r\n const [statusUpdated, setStatusUpdated] = useState(false);\r\n\r\n const Create = async (input) => {\r\n const { resultObject } = await SysGlobalKeyservice.register({\r\n keyLabel: input?.keyLabel,\r\n sysGlobalGroupId: input?.sysGlobalGroupId.id,\r\n groupKey: input?.groupKey,\r\n sira: input?.sira,\r\n tRKeyValue: input?.tRKeyValue,\r\n eNKeyValue: input?.eNKeyValue,\r\n });\r\n return resultObject;\r\n };\r\n\r\n const Update = async (input) => {\r\n const { resultObject } = await SysGlobalKeyservice.fullupdate({\r\n id: data?.id,\r\n keyLabel: input?.keyLabel,\r\n sysGlobalGroupId: input?.sysGlobalGroupId.id,\r\n groupKey: input?.groupKey,\r\n sira: input?.sira,\r\n tRKeyValue: input?.tRKeyValue,\r\n eNKeyValue: input?.eNKeyValue,\r\n });\r\n return resultObject;\r\n };\r\n\r\n const onSubmit = async (input) => {\r\n if (loading) return false;\r\n try {\r\n setLoading(true);\r\n let status = false;\r\n if (crudTip === \"Create\") {\r\n status = await Create(input);\r\n } else {\r\n status = await Update(input);\r\n }\r\n setLoading(false);\r\n if (status) {\r\n setStatusUpdated(true);\r\n showMessage(g('message.created'));\r\n } else {\r\n showMessage(g('message.updateFailed'));\r\n }\r\n return status;\r\n } catch (error) {\r\n setLoading(false);\r\n console.error(error);\r\n }\r\n };\r\n\r\n const InsertForm = () => {\r\n return (\r\n \r\n {isGroupIns == false ?\r\n <>\r\n \r\n \r\n \r\n \r\n { setIsGroupIns(true); setValue('sysGlobalGroupId', null); }}\r\n >\r\n {g(\"button.add\")}\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\n const UpdateForm = () => {\r\n return (\r\n \r\n {isGroupIns == false ?\r\n <>\r\n \r\n \r\n \r\n \r\n { setIsGroupIns(true); setValue('sysGlobalGroupId', null); }}\r\n >\r\n {g(\"button.add\")}\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\n return (\r\n \r\n
    \r\n {crudtitle}\r\n \r\n {data ? UpdateForm() : InsertForm()}\r\n \r\n \r\n {statusUpdated ? (\r\n \r\n ) : (\r\n <>\r\n \r\n }>\r\n {g('button.save')}\r\n \r\n \r\n )}\r\n \r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default React.memo(SysGlobalKeyCrudDialog);","import { useState } from 'react';\r\nimport { useTranslation } from 'react-i18next';\r\nimport { Button, IconButton } from '@mui/material';\r\nimport Page from '../../layout/Page';\r\nimport { DataTable } from '../../components/DataTable';\r\nimport ListPageActions from '../../components/ListPageActions';\r\nimport DownloadButton from '../../components/DownloadButton';\r\nimport CustButton from '../../ui/CustButton';\r\nimport DialogConfirm from '../../components/DialogConfirm';\r\nimport usePaginationV2 from '../../util/usePaginationV2';\r\n\r\nimport { Add, Edit, Delete, ImportExport } from '@mui/icons-material';\r\nimport SysGlobalKeyservice from '../../service/MasterServices/SysGlobalKeyService';\r\nimport SysGlobalKeyCrudDialog from './SysGlobalKeyCrudDialog';\r\nimport useGlobal from '../../util/Global';\r\nimport NoteDialog from '../../components/NoteDialog';\r\nimport DynamicOptions from '../../components/DynamicOptions';\r\n\r\nconst SysGlobalKeyPage = ({ title }) => {\r\n const [selectedItems, setSelectedItems] = useState([]);\r\n const [deleteItem, setDeleteItem] = useState(null);\r\n const [loading, setLoading] = useState(false);\r\n const [openDialog, setOpenDialog] = useState(false);\r\n const [crudTip, setCrudTip] = useState('');\r\n const { g } = useGlobal();\r\n const [dialogOpen, setDialogOpen] = useState(false);\r\n const [globalScript, setGlobalScript] = useState('');\r\n const [globalData, setGlobalData] = useState([]);\r\n\r\n\r\n const handleDeleteAction = async () => {\r\n if (!deleteItem) return;\r\n setLoading(true);\r\n try {\r\n const result = await SysGlobalKeyservice.delete(deleteItem.id);\r\n if (result) {\r\n mainDataList.search();\r\n }\r\n } catch (error) {\r\n console.error('Action failed:', error);\r\n } finally {\r\n setLoading(false);\r\n setOpenDialog(false);\r\n }\r\n };\r\n\r\n\r\n\r\n const columns = [\r\n {\r\n name: \"groupKey\",\r\n label: g('col.groupKey'),\r\n textAlign: \"left\",\r\n selectOptions: ,\r\n searchType: 'select',\r\n passItem: true,\r\n searchField: \"sysGlobalGroupId\",\r\n execute: (item) => item.groupKey,\r\n orderByField: \"groupKey\",\r\n cSVColumn: \"groupKey\"\r\n },\r\n {\r\n name: \"keyLabel\",\r\n label: g('col.keyLabel'),\r\n textAlign: \"left\"\r\n },\r\n\r\n {\r\n name: \"trKeyValue\",\r\n label: g('col.trKeyValue'),\r\n textAlign: \"left\"\r\n },\r\n {\r\n name: \"enKeyValue\",\r\n label: g('col.enKeyValue'),\r\n textAlign: \"left\"\r\n },\r\n {\r\n sortable: false,\r\n searchable: false,\r\n passItem: true,\r\n textAlign: 'Center',\r\n title: 'action',\r\n execute: (item) => (\r\n <>\r\n handleOpenCrudDialog(item, 'Update')}\r\n color='warning'\r\n variant='contained'\r\n title={g('rowActions.update')}\r\n size='small'>\r\n \r\n \r\n openConfirmDialog(item)}\r\n color='error'\r\n variant='contained'\r\n title={g('rowActions.delete')}\r\n size='small'>\r\n \r\n \r\n \r\n ),\r\n },\r\n\r\n\r\n ];\r\n\r\n const mainDataList = usePaginationV2({\r\n service: SysGlobalKeyservice,\r\n pageColumns: columns,\r\n defaultOrderBy: { name: 'Id', type: 'Desc' },\r\n });\r\n\r\n const [crudItem, setCrudItem] = useState(null);\r\n const [onCrudDialogOpen, setCrudDialogOpen] = useState(false);\r\n\r\n const handleOpenCrudDialog = (data, tip) => {\r\n setCrudItem(data);\r\n setCrudDialogOpen(true);\r\n setCrudTip(tip);\r\n };\r\n\r\n const handleClose = async () => {\r\n setCrudDialogOpen(false);\r\n await mainDataList.search([]);\r\n };\r\n\r\n const openConfirmDialog = (item) => {\r\n setDeleteItem(item);\r\n setOpenDialog(true);\r\n };\r\n const closeConfirmDialog = () => setOpenDialog(false);\r\n\r\n const handelImportScript = () => {\r\n SysGlobalKeyservice.get().then((res) => {\r\n\r\n if (res.isSuccess) {\r\n const resultAsJson = JSON.stringify(res.resultObject, null, 2); // Convert to JSON string (pretty-printed)\r\n setGlobalScript(resultAsJson); // Set the JSON string to state\r\n setGlobalData(res.resultObject);\r\n setDialogOpen(true);\r\n }\r\n\r\n });\r\n\r\n }\r\n\r\n const ActionButtons = () => (\r\n \r\n handleOpenCrudDialog(null, 'Create')}\r\n style={{ marginLeft: 10 }}\r\n disabled={loading}\r\n >\r\n {title + ' ' + g('button.add')}\r\n \r\n \r\n }\r\n\r\n right={\r\n \r\n {g('action.import')}\r\n \r\n }\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 setDialogOpen(false)}\r\n message={globalScript}\r\n data={globalData}\r\n title={g('title.Globalization')}\r\n />\r\n \r\n );\r\n};\r\nexport default SysGlobalKeyPage;","import MasterUserPage from './pages/master/MasterUserPage';\r\nimport { Inventory, PeopleAlt } from '@mui/icons-material';\r\nimport MasterTenantPage from './pages/master/MasterTenantPage';\r\nimport BatchOperationPage from './pages/master/BatchOperationPage';\r\nimport TenantBatchOperationPage from './pages/master/TenantBatchOperationPage';\r\nimport HangfireLoglamaPage from './pages/master/HangfireLoglamaPage';\r\nimport WorkerPlannedJobPage from './pages/master/WorkerPlannedJobPage';\r\nimport SysGlobalKeyPage from './pages/master/SysGlobalKeyPage';\r\nimport SGKMasterParameterPage from './pages/master/SGKMasterParameterPage';\r\n\r\n\r\n\r\nconst MasterRouter = [\r\n {\r\n title: 'masterMenu.masterTenant',\r\n path: '/masterTenant',\r\n component: MasterTenantPage,\r\n icon: ,\r\n },\r\n\r\n {\r\n title: 'masterMenu.masterUser',\r\n path: '/masterUser',\r\n component: MasterUserPage,\r\n icon: ,\r\n },\r\n {\r\n title: 'masterMenu.batchOperations',\r\n path: '/batchOperation',\r\n component: BatchOperationPage,\r\n icon: ,\r\n },\r\n {\r\n title: 'masterMenu.tenantBatchOperation',\r\n path: '/tenantBatchOperation',\r\n component: TenantBatchOperationPage,\r\n icon: ,\r\n },\r\n {\r\n title: 'masterMenu.hangfireloglama',\r\n path: '/hangfireloglama',\r\n component: HangfireLoglamaPage,\r\n icon: ,\r\n },\r\n {\r\n title: 'masterMenu.WorkerPlannedJobPage',\r\n path: '/WorkerPlannedJobPage',\r\n component: WorkerPlannedJobPage,\r\n icon: ,\r\n },\r\n {\r\n title: 'masterMenu.SysGlobalKeyPage',\r\n path: '/SysGlobalKeyPage',\r\n component: SysGlobalKeyPage,\r\n icon: ,\r\n },\r\n {\r\n title: 'masterMenu.SGKMasterParameter',\r\n path: '/SGKMasterParameter',\r\n component: SGKMasterParameterPage,\r\n icon: ,\r\n },\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n];\r\n\r\nexport default MasterRouter;\r\n","import { AppBar, List, Switch, Toolbar } from \"@mui/material\";\r\nimport { useState } from \"react\";\r\nimport muiStyles, { BoldIcon, Search, SearchIconWrapper, StyledInputBase } from \"./muiStyles\";\r\nimport SearchIcon from '@mui/icons-material/Search';\r\nimport MenuItem from \"./MenuItem\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport SupportIcon from '@mui/icons-material/Support';\r\nimport PowerSettingsNewIcon from '@mui/icons-material/PowerSettingsNew';\r\nimport MasterRouter from \"../routersMaster\";\r\nimport RecursiveTreeView from \"./RecursiveTreeView\";\r\nimport Config from \"../Config\";\r\n\r\nconst MasterSideMenu = ({ onToggle, pinned }) => {\r\n const { t } = useTranslation();\r\n\r\n const [filteredRouters, setFilteredRouters] = useState(MasterRouter);\r\n\r\n\r\n\r\n // Recursive function to filter the routers by title\r\n const filterRouters = (routers, filterText) => {\r\n return routers\r\n .map((router) => {\r\n if (router.items) {\r\n // Recursively filter child items\r\n const filteredItems = filterRouters(router.items, filterText);\r\n\r\n // Only return groups that have matching children\r\n if (filteredItems.length > 0 || t(router.title).toLowerCase().includes(filterText.toLowerCase())) {\r\n return { ...router, items: filteredItems };\r\n }\r\n } else if (t(router.title).toLowerCase().includes(filterText.toLowerCase())) {\r\n // If it's not a group, directly check the title\r\n return router;\r\n }\r\n return null;\r\n })\r\n .filter(Boolean); // Remove null values\r\n };\r\n\r\n const handleSearchChange = (event) => {\r\n const filterText = event.target.value;\r\n const filteredRouters = filterRouters(MasterRouter, filterText);\r\n console.log('Filtered Routers:', filteredRouters);\r\n setFilteredRouters(filteredRouters);\r\n };\r\n\r\n\r\n const classes = muiStyles();\r\n\r\n const onChange = (event) => {\r\n const filteredRouters = filterRouters(MasterRouter, \"\");\r\n setFilteredRouters(filteredRouters);\r\n onToggle && onToggle(event.target.checked);\r\n };\r\n\r\n\r\n return (\r\n \r\n\r\n );\r\n\r\n};\r\n\r\nexport default MasterSideMenu;","import React, { useEffect, useState } from 'react';\r\nimport { Route, Switch, withRouter } from \"react-router-dom\";\r\nimport LogoutPage from \"./LogoutPage\";\r\nimport MasterRouter from \"../routersMaster\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport MasterSideMenu from '../menu/MasterSideMenu';\r\n\r\nconst MasterHomePage = (props) => {\r\n\r\n const { t } = useTranslation();\r\n const [pinned, setPinned] = useState(true);\r\n\r\n const onMenuToggle = (pin) => {\r\n setPinned(pin);\r\n\r\n const content = document.getElementById('content');\r\n const toolbar = document.getElementById('fixedToolBar');\r\n\r\n if (content && toolbar) {\r\n if (pin) {\r\n content.classList.add(\"expanded\");\r\n toolbar.classList.add(\"expanded\");\r\n } else {\r\n content.classList.remove(\"expanded\");\r\n toolbar.classList.remove(\"expanded\");\r\n }\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n const content = document.getElementById('content');\r\n const toolbar = document.getElementById('fixedToolBar');\r\n\r\n if (content && toolbar) {\r\n onMenuToggle(pinned);\r\n }\r\n }, [pinned]);\r\n\r\n const renderRoutes = (items) => {\r\n return items.map((item, key) => {\r\n const hasNestedGroups = item.isGroup && item.items?.some(subItem => subItem.isGroup);\r\n\r\n if (hasNestedGroups) {\r\n return item.items.map((subItem, index) => renderRoutes([subItem]));\r\n }\r\n\r\n return item.isGroup ?\r\n item.items.map((page, subKey) => (\r\n \r\n \r\n \r\n )) :\r\n \r\n \r\n ;\r\n });\r\n };\r\n\r\n const RenderPages = () => {\r\n return (\r\n \r\n {renderRoutes(MasterRouter)}\r\n \r\n );\r\n };\r\n\r\n return (\r\n
    \r\n \r\n
    \r\n \r\n \r\n {/* Add default content for the home page */}\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport default withRouter(MasterHomePage);\r\n","import React, { useEffect, useState } from \"react\";\r\nimport { Route, Switch } from \"react-router-dom\";\r\nimport { createTheme, StyledEngineProvider, ThemeProvider } from \"@mui/material/styles\";\r\nimport { trTR } from \"@mui/material/locale\";\r\nimport ReduxNotificationHandler from \"./util/ReduxNotificationHandler\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport PrivateRoute from \"./PrivateRoute\";\r\nimport HomePage from \"./pages/HomePage\";\r\nimport PageLoading from \"./components/PageLoading\";\r\nimport LoginPage from \"./pages/LoginPagev2\";\r\nimport { ActionType } from \"./store/ActionType\";\r\nimport LogoutPage from \"./pages/LogoutPage\";\r\nimport MasterHomePage from \"./pages/MasterHomePage\";\r\nimport useGlobal from \"./util/Global\";\r\nimport { useAppCookies } from \"./util/useAppCookies\";\r\n\r\n\r\n\r\nconst themeOptions = {\r\n components: {\r\n MuiTextField: {\r\n defaultProps: {\r\n size: \"small\",\r\n },\r\n styleOverrides: {\r\n root: {\r\n background: \"white\"\r\n }\r\n },\r\n },\r\n MuiButton: {\r\n defaultProps: {\r\n disableElevation: true\r\n }\r\n }\r\n },\r\n palette: {\r\n primary: {\r\n main: '#6143D8',\r\n },\r\n secondary: {\r\n main: '#DDD4FF',\r\n },\r\n info: {\r\n main: '#dfdfdf'\r\n },\r\n danger: {\r\n main: '#ff1744'\r\n }\r\n },\r\n}\r\n\r\n/*const locales = {\r\n \"tr\": trTR,\r\n \"en\": enUS\r\n}*/\r\n\r\nconst MainRouterv2 = () => {\r\n\r\n // const { panelLang } = useSelector(state => state.auth);\r\n\r\n const { getGlobal, isLoading } = useGlobal();\r\n\r\n const { getUser, clearUser } = useAppCookies();\r\n const { user } = useSelector(state => state.auth);\r\n\r\n const dispatch = useDispatch();\r\n\r\n const [loading, setLoading] = useState(true);\r\n const [isMaster, setIsMaster] = useState(false);\r\n\r\n const [theme] = useState(\r\n createTheme({\r\n ...themeOptions\r\n }, trTR)\r\n );\r\n\r\n\r\n useEffect(() => {\r\n getGlobal();\r\n\r\n }, [getGlobal]);\r\n\r\n\r\n useEffect(() => {\r\n\r\n const user = getUser();\r\n if (user && user.accessToken) {\r\n\r\n if (user.isMaster) {\r\n dispatch({\r\n type: ActionType.MASTER_LOGIN,\r\n user: user,\r\n token: user.accessToken,\r\n tenantUser: user.masterTenant,\r\n masterUser: user.masterToken\r\n });\r\n\r\n } else {\r\n dispatch({\r\n type: ActionType.LOGIN,\r\n user: user,\r\n token: user.accessToken,\r\n tenantUser: user.masterTenant,\r\n masterUser: user.masterToken\r\n });\r\n }\r\n\r\n setIsMaster(user.isMaster);\r\n\r\n\r\n\r\n } else {\r\n clearUser();\r\n }\r\n setLoading(false);\r\n }, [dispatch, user])\r\n\r\n\r\n\r\n const Loading = () => {\r\n return (\r\n \r\n );\r\n };\r\n\r\n\r\n const { isMasterLoggedIn } = useSelector(state => state.auth);\r\n\r\n if (!isLoading) {\r\n return ; // Optional loading state\r\n }\r\n\r\n const SwitchView = React.memo(() => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n {isMasterLoggedIn ? : }\r\n \r\n \r\n \r\n \r\n \r\n )\r\n }, [isMasterLoggedIn]);\r\n\r\n\r\n\r\n return (\r\n \r\n \r\n {loading ? : }\r\n \r\n \r\n \r\n );\r\n\r\n}\r\n\r\nexport default MainRouterv2;\r\n","import React, { useEffect } from 'react';\r\nimport NetworkService from \"./util/NetworkService\";\r\nimport store from \"./store/Store\";\r\nimport { Provider } from \"react-redux\";\r\nimport { BrowserRouter as Router } from \"react-router-dom\";\r\nimport MainRouter from \"./MainRouterv2\";\r\nimport { ToastContainer } from 'react-toastify';\r\nimport \"./styles/Global.scss\";\r\nimport \"react-day-picker/lib/style.css\";\r\nimport 'react-toastify/dist/ReactToastify.css';\r\nimport \"@mui/lab/DatePicker\";\r\nimport \"@mui/lab/themeAugmentation\";\r\nimport Config from './Config';\r\nimport { updateFavicon } from './util/favicon';\r\n\r\nNetworkService.setupInterceptors(store);\r\n\r\n\r\nfunction App() {\r\n\r\n\r\n\r\n useEffect(() => {\r\n updateFavicon(Config.DefaultIcon);\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\nexport default App;\r\n","\r\n\r\nexport const updateFavicon = (iconPath) => {\r\n\r\n let link = document.querySelector(\"link[rel~='icon']\");\r\n if (!link) {\r\n link = document.createElement(\"link\");\r\n link.rel = \"icon\";\r\n document.head.appendChild(link);\r\n }\r\n link.href = iconPath;\r\n\r\n // Add a unique query parameter to prevent caching\r\n const timestamp = new Date().getTime();\r\n link.href = `${iconPath}?v=${timestamp}`;\r\n};\r\n","const reportWebVitals = onPerfEntry => {\r\n if (onPerfEntry && onPerfEntry instanceof Function) {\r\n import('web-vitals').then(({getCLS, getFID, getFCP, getLCP, getTTFB}) => {\r\n getCLS(onPerfEntry);\r\n getFID(onPerfEntry);\r\n getFCP(onPerfEntry);\r\n getLCP(onPerfEntry);\r\n getTTFB(onPerfEntry);\r\n });\r\n }\r\n};\r\n\r\nexport default reportWebVitals;\r\n","import React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport \"./i18n\"\r\nimport App from './App';\r\nimport reportWebVitals from './reportWebVitals';\r\n\r\nReactDOM.render(\r\n \r\n \r\n ,\r\n document.getElementById('root')\r\n);\r\n\r\n// If you want to start measuring performance in your app, pass a function\r\n// to log results (for example: reportWebVitals(console.log))\r\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\r\nreportWebVitals();\r\n","\r\nconst findEnumById = (type, id) => {\r\n return Object.values(type).find(item => item.id === id);\r\n}\r\n\r\n\r\nconst MessageType = {\r\n INFO: \"info\",\r\n ERROR: \"error\",\r\n WARNING: \"warning\"\r\n}\r\n\r\n\r\nconst YesNoType = {\r\n YES: { id: 1, label: \"label.yes\" },\r\n NO: { id: 0, label: \"label.no\" },\r\n}\r\n\r\n\r\nexport {\r\n MessageType,\r\n findEnumById,\r\n YesNoType,\r\n}\r\n\r\nexport const BatchStatusEnumOption = (OptionEnum) => (\r\n Object.keys(OptionEnum).map(key => (\r\n \r\n ))\r\n)","import DashboardWidget from \"../DashboardWidget\";\r\nimport SickOutlinedIcon from '@mui/icons-material/SickOutlined';\r\nimport { useEffect, useState } from \"react\";\r\nimport dashboardServicev2 from \"../../service/DashboardServicev2\";\r\nimport subDays from \"date-fns/subDays\";\r\nimport format from \"date-fns/format\";\r\nimport WidgetDaySelection from \"./WidgetDaySelection\";\r\nimport { useHistory } from \"react-router-dom\";\r\n\r\nconst EViziteWidget = () => {\r\n\r\n const [loading, setLoading] = useState(false);\r\n const [sayi, setSayi] = useState(0);\r\n const toDate = new Date();\r\n\r\n const [day, setDay] = useState(\"30\");\r\n\r\n const history = useHistory();\r\n\r\n useEffect(() => {\r\n (async () => {\r\n try {\r\n setLoading(true);\r\n const start = subDays(toDate, parseInt(day));\r\n const startDate = format(start, 'yyyy-MM-dd');\r\n const endDate = format(toDate, 'yyyy-MM-dd');\r\n const _sayi = await dashboardServicev2.getEViziteOnayBekleyenler({ startDate, endDate });\r\n setSayi(_sayi);\r\n } catch (e) {\r\n console.error(e);\r\n } finally {\r\n setLoading(false);\r\n }\r\n\r\n })();\r\n }, [day]);\r\n\r\n const onClick = () => {\r\n history.push(`/eVizite?onayli=false&day=${day}`)\r\n };\r\n\r\n return (\r\n \r\n
    \r\n \r\n
    \r\n \r\n
    E-Vizite
    \r\n
    \r\n {new Intl.NumberFormat('tr-TR').format(sayi)}\r\n
    \r\n
    \r\n Onay Bekleyen Rapor\r\n
    \r\n
    \r\n
    \r\n
    \r\n )\r\n\r\n}\r\n\r\nexport default EViziteWidget;\r\n","import DashboardWidget from \"../DashboardWidget\";\r\nimport PeopleAltOutlinedIcon from '@mui/icons-material/PeopleAltOutlined';\r\nimport { useEffect, useState } from \"react\";\r\nimport dashboardServicev2 from \"../../service/DashboardServicev2\";\r\nimport batchParameterv2 from \"../../service/BatchParameterv2\";\r\nimport WidgetPeriodSelection from \"./WidgetPeriodSelection\";\r\n\r\nconst CalisanSayisiWidget = () => {\r\n\r\n const [loading, setLoading] = useState(false);\r\n const [sayi, setSayi] = useState(15248);\r\n const [periodId, setPeriodId] = useState(null);\r\n\r\n useEffect(() => {\r\n (async () => {\r\n try {\r\n setLoading(true);\r\n const _periodId = await batchParameterv2.getDonem();\r\n setLoading(false);\r\n setPeriodId(_periodId);\r\n } catch (e) {\r\n console.error(e);\r\n }\r\n\r\n })();\r\n }, []);\r\n\r\n\r\n useEffect(() => {\r\n if (periodId) {\r\n (async () => {\r\n try {\r\n setLoading(true);\r\n const _sayi = await dashboardServicev2.getPersonelSayisi({ periodId });\r\n setSayi(_sayi);\r\n } catch (e) {\r\n console.error(e)\r\n } finally {\r\n setLoading(false);\r\n }\r\n })();\r\n }\r\n }, [periodId]);\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\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n {\r\n sayi[0] ?\r\n new Intl.NumberFormat('tr-TR').format(sayi[0]?.personelSayisi) :\r\n \"-\"}\r\n
    \r\n
    \r\n
    Securitas Güvenlik Firması
    \r\n
    {periodId} Döneminde
    \r\n
    Tüm Şubelerde
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n Personel Çalışmaktadır\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n )\r\n\r\n}\r\n\r\nexport default CalisanSayisiWidget;\r\n","import DashboardWidget from \"../DashboardWidget\";\r\nimport EngineeringOutlinedIcon from '@mui/icons-material/EngineeringOutlined';\r\nimport { useEffect, useState } from \"react\";\r\nimport dashboardServicev2 from \"../../service/DashboardServicev2\";\r\nimport WidgetDaySelection from \"./WidgetDaySelection\";\r\nimport subDays from 'date-fns/subDays'\r\nimport format from 'date-fns/format'\r\nimport { useHistory } from \"react-router-dom\";\r\n\r\nconst IsKazaWidget = () => {\r\n\r\n const [sayi, setSayi] = useState(28);\r\n const [loading, setLoading] = useState(false);\r\n\r\n const [day, setDay] = useState(\"30\");\r\n\r\n const history = useHistory();\r\n\r\n const toDate = new Date();\r\n\r\n useEffect(() => {\r\n (async () => {\r\n try {\r\n setLoading(true);\r\n const date = subDays(toDate, parseInt(day));\r\n const formated = format(date, 'yyyy-MM-dd');\r\n const _sayi = await dashboardServicev2.getBildirimYapilmamisIsKazasi({ date: formated });\r\n setSayi(_sayi);\r\n } catch (e) {\r\n console.error(e);\r\n } finally {\r\n setLoading(false);\r\n }\r\n })();\r\n }, [day]);\r\n\r\n const onClick = () => {\r\n history.push(`/isKazalari?isKazalariDashboard=true`)\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\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n {new Intl.NumberFormat('tr-TR').format(sayi)}\r\n
    \r\n
    \r\n
    Bildirimi yapılmamış
    \r\n
    \r\n
    \r\n İş Kazası\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n )\r\n\r\n}\r\n\r\nexport default IsKazaWidget;\r\n","import DashboardWidget from \"../DashboardWidget\";\r\nimport LibraryAddCheckOutlinedIcon from '@mui/icons-material/LibraryAddCheckOutlined';\r\nimport { useEffect, useState } from \"react\";\r\nimport dashboardServicev2 from \"../../service/DashboardServicev2\";\r\nimport { useHistory } from \"react-router-dom\";\r\n\r\nconst EBorcWidget = () => {\r\n\r\n const [sayi] = useState(4);\r\n const [tutar, setTutar] = useState(7802);\r\n\r\n const [loading, setLoading] = useState(false);\r\n\r\n const history = useHistory();\r\n\r\n\r\n useEffect(() => {\r\n (async () => {\r\n try {\r\n setLoading(true);\r\n // const _calismaGunu = await dashboardServicev2.getEnSonBorcSorguTarihi();\r\n\r\n // const _date = parse(_calismaGunu, \"dd/MM/yyyy HH:mm:ss\", new Date());\r\n // const _formated = format(_date, \"yyyy-MM-dd\");\r\n\r\n // console.log('calisma gunu %o', _formated);\r\n\r\n /* const [_sayi, _tutar] = await Promise.all([\r\n dashboardServicev2.getEBorcuYokturKayitlari(),\r\n ]);*/\r\n\r\n const _tutar = await dashboardServicev2.getEBorcuYokturKayitlari();\r\n setTutar(_tutar);\r\n // setCalismaGunu(_formated);\r\n\r\n } catch (e) {\r\n console.error(e);\r\n } finally {\r\n setLoading(false);\r\n }\r\n\r\n })();\r\n }, []);\r\n\r\n const onClick = () => {\r\n history.push(`/eBorc?guncelSorgu=${true}`)\r\n };\r\n\r\n\r\n return (\r\n \r\n
    \r\n
    \r\n \r\n E-Borç\r\n
    \r\n
    \r\n {sayi} İşyerinde Toplam\r\n
    \r\n
    \r\n
    \r\n ₺{new Intl.NumberFormat('tr-TR', { minimumFractionDigits: 2 }).format(tutar)}\r\n
    \r\n
    \r\n
    \r\n
    \r\n )\r\n\r\n}\r\n\r\nexport default EBorcWidget;\r\n","import DashboardWidget from \"../DashboardWidget\";\r\nimport CollectionsBookmarkOutlinedIcon from '@mui/icons-material/CollectionsBookmarkOutlined';\r\nimport { useEffect, useState } from \"react\";\r\nimport dashboardServicev2 from \"../../service/DashboardServicev2\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport WidgetDaySelection from \"./WidgetDaySelection\";\r\nimport subDays from \"date-fns/subDays\";\r\nimport format from \"date-fns/format\";\r\n\r\nconst TescilIzlemeWidget = () => {\r\n\r\n const [loading, setLoading] = useState(false);\r\n const [sayi, setSayi] = useState(0);\r\n\r\n const [day, setDay] = useState(\"30\");\r\n\r\n const history = useHistory();\r\n\r\n const toDate = new Date();\r\n\r\n useEffect(() => {\r\n (async () => {\r\n try {\r\n setLoading(true);\r\n\r\n const start = subDays(toDate, parseInt(day));\r\n const startDate = format(start, 'yyyy-MM-dd');\r\n const endDate = format(toDate, 'yyyy-MM-dd');\r\n\r\n const _sayi = await dashboardServicev2.getHataAlanTescilIslemleri({ startDate, endDate });\r\n setSayi(_sayi);\r\n } catch (e) {\r\n console.error(e);\r\n } finally {\r\n setLoading(false);\r\n }\r\n\r\n })();\r\n }, [day]);\r\n\r\n\r\n return (\r\n \r\n
    \r\n \r\n
    {\r\n history.push(`/tescilIzleme?isHataOkuma=${day}`);\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 {new Intl.NumberFormat('tr-TR').format(sayi)}\r\n
    \r\n
    \r\n
    \r\n SGK Tescil\r\n
    \r\n
    \r\n
    \r\n Hata alan işlem\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n\r\n )\r\n\r\n}\r\n\r\nexport default TescilIzlemeWidget;\r\n","import DashboardWidget from \"../DashboardWidget\";\r\nimport PaymentsOutlinedIcon from '@mui/icons-material/PaymentsOutlined';\r\nimport { useEffect, useState } from \"react\";\r\nimport dashboardServicev2 from \"../../service/DashboardServicev2\";\r\nimport WidgetPeriodSelection from \"./WidgetPeriodSelection\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport batchParameterv2 from \"../../service/BatchParameterv2\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport MahsupTipi from \"../../enum/MahsupTipi\";\r\n\r\nconst MahsuplarWidget = () => {\r\n\r\n const { t } = useTranslation();\r\n const [periodId, setPeriodId] = useState(null)\r\n const [tutar, setTutar] = useState(0)\r\n\r\n const [loading, setLoading] = useState(false);\r\n\r\n const history = useHistory();\r\n\r\n useEffect(() => {\r\n (async () => {\r\n try {\r\n setLoading(true);\r\n const _periodId = await batchParameterv2.getDonem();\r\n setLoading(false);\r\n setPeriodId(_periodId);\r\n } catch (e) {\r\n console.error(e);\r\n } finally {\r\n setLoading(false);\r\n }\r\n\r\n })();\r\n }, []);\r\n\r\n\r\n const onClick = (type) => {\r\n history.push(`/eviziteMahsup?type=${type}&periodId=${periodId}`)\r\n };\r\n\r\n const getTotal = (type) => {\r\n if (tutar) {\r\n const value = tutar.filter(r => r.durum == type).map(r => r.totalTutar);\r\n return value == 0 ? null : value;\r\n }\r\n return null;\r\n }\r\n\r\n useEffect(() => {\r\n if (periodId) {\r\n (async () => {\r\n try {\r\n setLoading(true);\r\n const _tutar = await dashboardServicev2.viziteMahsup({ periodId });\r\n\r\n setTutar(_tutar);\r\n } catch (e) {\r\n console.error(e)\r\n } finally {\r\n setLoading(false);\r\n }\r\n })();\r\n }\r\n }, [periodId])\r\n\r\n const StatisticDisplay = ({ label, value }) => {\r\n return (\r\n
    \r\n
    \r\n {label}\r\n
    \r\n
    \r\n ₺{value ? new Intl.NumberFormat('tr-TR', { minimumFractionDigits: 2 }).format(value) : \" - \"}\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\n \r\n\r\n \r\n \r\n
    \r\n\r\n
    \r\n {periodId} Dönem\r\n
    \r\n
    onClick(2)}>\r\n \r\n
    \r\n
    onClick(3)}>\r\n \r\n
    \r\n
    onClick(5)}>\r\n \r\n
    \r\n
    \r\n
    Mahsuplaştırma
    \r\n < div style={{\r\n width: \"73px\",\r\n height: \"73px\",\r\n background: \"#DDD5FF\",\r\n borderRadius: \"100%\",\r\n display: \"flex\",\r\n alignItems: \"center\",\r\n justifyContent: \"center\"\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\nexport default MahsuplarWidget;\r\n","import DashboardWidget from \"../DashboardWidget\";\r\nimport { useEffect, useState } from \"react\";\r\nimport dashboardServicev2 from \"../../service/DashboardServicev2\";\r\nimport WidgetDaySelection from \"./WidgetDaySelection\";\r\nimport subDays from 'date-fns/subDays'\r\nimport format from 'date-fns/format'\r\nimport { useHistory } from \"react-router-dom\";\r\nimport { PersonRemoveAlt1Outlined } from \"@mui/icons-material\";\r\n\r\nconst GirisCikis = () => {\r\n\r\n\r\n const [sayi, setSayi] = useState(28);\r\n const [loading, setLoading] = useState(false);\r\n\r\n const [day, setDay] = useState(\"30\");\r\n\r\n const history = useHistory();\r\n\r\n const toDate = new Date();\r\n\r\n useEffect(() => {\r\n (async () => {\r\n try {\r\n setLoading(true);\r\n const date = subDays(toDate, parseInt(day));\r\n const formated = format(date, 'yyyy-MM-dd');\r\n const _sayi = await dashboardServicev2.getGirisCikisKontrolhatasi({ date: formated });\r\n setSayi(_sayi);\r\n } catch (e) {\r\n console.error(e);\r\n } finally {\r\n setLoading(false);\r\n }\r\n })();\r\n }, [day]);\r\n\r\n const onClick = () => {\r\n const date = subDays(toDate, parseInt(day));\r\n history.push(`/raporlar?tab=4&day=${day}`)\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\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n {new Intl.NumberFormat('tr-TR').format(sayi)}\r\n
    \r\n
    \r\n
    SGK Bildirimi yapılmamış
    \r\n
    \r\n
    \r\n Personel\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n )\r\n\r\n}\r\n\r\nexport default GirisCikis;\r\n","import Page from \"../layout/Page\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport Grid from \"@mui/material/Grid\";\r\nimport EViziteWidget from \"../components/dashboad/EViziteWidget\";\r\nimport CalisanSayisiWidget from \"../components/dashboad/CalisanSayisiWidget\";\r\nimport ToplamTesvikWidget from \"../components/dashboad/ToplamTesvikWidget\";\r\nimport IsKazaWidget from \"../components/dashboad/IsKazaWidget\";\r\nimport EBorcWidget from \"../components/dashboad/EBorcWidget\";\r\nimport TcknSorgulaWidget from \"../components/dashboad/TcknSorgulaWidget\";\r\nimport TescilIzlemeWidget from \"../components/dashboad/TescilIzlemeWidget\";\r\nimport MahsuplarWidget from \"../components/dashboad/MahsuplarWidget\";\r\nimport GirisCikis from \"../components/dashboad/GirisCikisWidget\";\r\n\r\n\r\nconst Dashboard = () => {\r\n\r\n const { t } = useTranslation();\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\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\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\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\nexport default Dashboard;\r\n","import React from 'react';\r\n\r\n// Define the OptionsFromEnum component\r\nconst FilterOptionEnum = ({ enumObject }) => (\r\n <>\r\n {Object.keys(enumObject).map(key => (\r\n \r\n ))}\r\n \r\n);\r\n\r\nexport default FilterOptionEnum;","import Grid from '@mui/material/Grid';\r\n\r\nconst ListPageActions = ({left, right, children, ...props}) => {\r\n\r\n return (\r\n
    \r\n \r\n \r\n {left}\r\n \r\n \r\n {right}\r\n {children}\r\n \r\n \r\n
    \r\n )\r\n\r\n}\r\n\r\nexport default ListPageActions;\r\n","import React, { useState } from \"react\";\r\nimport LoadingButton from '@mui/lab/LoadingButton';\r\nimport DownloadIcon from \"@mui/icons-material/Download\";\r\n\r\nimport { useTranslation } from \"react-i18next\";\r\nimport useMessage from \"../util/useMessage\";\r\nimport { MessageType } from \"../util/Enums\";\r\n\r\nconst DownloadButton = ({ service, ext = \"csv\" }) => {\r\n\r\n const { t } = useTranslation();\r\n const showMessage = useMessage();\r\n const [loading, setLoading] = useState(false);\r\n\r\n const onClick = async () => {\r\n try {\r\n setLoading(true);\r\n await service?.download();\r\n setLoading(false);\r\n } catch (e) {\r\n console.error(e);\r\n const { code, message } = e;\r\n showMessage(`Dosya İndirilemedi! ${code} - ${message}`, MessageType.ERROR);\r\n }\r\n }\r\n\r\n return (\r\n }>\r\n {t('button.downloadTable')}\r\n \r\n )\r\n}\r\n\r\nexport default DownloadButton;\r\n","import React, { useEffect } from 'react';\r\nimport { Select, MenuItem, FormControl, InputLabel, FormHelperText, Checkbox, ListItemText } from '@mui/material';\r\nimport { Controller } from 'react-hook-form';\r\n\r\nconst ComplexSelect = React.forwardRef(({\r\n name,\r\n label,\r\n defaultValue = [], // Default value as an array for multi-select\r\n data, // Array of objects with keys for value and display\r\n error,\r\n control,\r\n rules,\r\n variant = \"outlined\",\r\n margin = \"dense\",\r\n onChange: onChangeFromParent,\r\n valueKey, // The key to be used for the value\r\n displayKey, // The key to be used for the display text\r\n separator = ' - ',\r\n disabled = false,\r\n multiple = false, // Flag to enable multi-select\r\n isMultiColumn = false,\r\n sx,\r\n ...props\r\n}, ref) => {\r\n\r\n useEffect(() => { }, [data, control]);\r\n\r\n const getLabel = (item) => {\r\n if (!item) {\r\n // If item is undefined or null, return an empty string or placeholder\r\n return '';\r\n }\r\n\r\n if (Array.isArray(displayKey)) {\r\n return displayKey.map(field => item[field]).join(separator);\r\n }\r\n return item[displayKey] ?? \"\";\r\n };\r\n\r\n return (\r\n \r\n \r\n {label}\r\n \r\n {\r\n const currentValue = multiple\r\n ? (field.value || []).filter(value => data.some(item => item[valueKey] == value))\r\n : data.some(item => item[valueKey] == field.value)\r\n ? field.value\r\n : ''; // Handle missing value for single select\r\n\r\n\r\n return (\r\n {\r\n if (!multiple) {\r\n const selectedItem = data.find(item => item[valueKey] === selected);\r\n return selectedItem ? getLabel(selectedItem) : '';\r\n }\r\n return selected.map(value => {\r\n const item = data.find(i => i[valueKey] === value);\r\n return item ? getLabel(item) : value;\r\n }).join(', ');\r\n }}\r\n onChange={(event) => {\r\n const value = event.target.value;\r\n field.onChange(value);\r\n if (onChangeFromParent) {\r\n onChangeFromParent(value);\r\n }\r\n }}\r\n >\r\n {data.map((item) => (\r\n \r\n {multiple && }\r\n \r\n \r\n ))}\r\n \r\n );\r\n }}\r\n />\r\n {error && {error.message}}\r\n \r\n );\r\n});\r\n\r\nexport default ComplexSelect;","import React from 'react';\r\nimport Button from '@mui/material/Button';\r\nimport Menu from '@mui/material/Menu';\r\nimport MenuItem from '@mui/material/MenuItem';\r\nimport {useDispatch, useSelector} from \"react-redux\";\r\nimport i18n from \"../i18n\";\r\nimport {ActionType} from \"../store/ActionType\";\r\n\r\nexport default function LangMenu() {\r\n\r\n const dispatch = useDispatch();\r\n const panelLang = useSelector(state => state.auth.panelLang);\r\n const [anchorEl, setAnchorEl] = React.useState(null);\r\n\r\n\r\n const handleClick = (event) => {\r\n setAnchorEl(event.currentTarget);\r\n };\r\n\r\n const handleClose = (lang) => {\r\n setAnchorEl(null);\r\n\r\n if (lang instanceof Object) {\r\n return;\r\n }\r\n\r\n dispatch({\r\n type: ActionType.CHANGE_LANG,\r\n lang: lang\r\n })\r\n\r\n i18n.changeLanguage(lang);\r\n\r\n };\r\n\r\n return (\r\n
    \r\n \r\n \r\n {\r\n handleClose(\"tr\");\r\n }}>\r\n Türkçe\r\n \r\n {\r\n handleClose(\"en\");\r\n }}>\r\n English\r\n \r\n \r\n
    \r\n );\r\n}\r\n","import { Autocomplete, Button, Dialog, DialogActions, DialogContent, DialogTitle, TextField } from '@mui/material';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\n\r\nimport useGlobal from '../util/Global';\r\nimport { useCookies } from 'react-cookie';\r\nimport authServicev2 from '../service/AuthServicev2';\r\nimport useMessage from '../util/useMessage';\r\nimport Config from '../Config';\r\nimport { MessageType } from '../util/Enums';\r\nimport KullaniciRolleriservice from '../service/IKIseAlimServices/KullaniciRolleriService';\r\nimport { ActionType } from '../store/ActionType';\r\nimport { useHistory } from 'react-router-dom/cjs/react-router-dom.min';\r\nimport { useAppCookies } from '../util/useAppCookies';\r\nimport Accountservice from '../service/Core/AccountService';\r\n\r\n\r\nconst SwitchDialog = ({ open, onClose, selectedKey }) => {\r\n\r\n const { g } = useGlobal();\r\n const history = useHistory();\r\n const dispatch = useDispatch();\r\n const showMessage = useMessage();\r\n const full = useSelector(state => state.auth);\r\n\r\n const [tenantList, setTenantList] = useState([]);\r\n const [selTenant, setSelTenant] = useState(null);\r\n\r\n // const [cookies, setCookie, removeCookie] = useCookies(['access_token', 'refresh_token', 'isMaster', 'tenantName']);\r\n\r\n const { setUser } = useAppCookies();\r\n\r\n const [loading, setLoading] = useState(false);\r\n\r\n\r\n const onSelectTenant = async () => {\r\n\r\n if (selTenant == null) {\r\n showMessage(g(\"message.SelectTenantPlease\"), MessageType.ERROR);\r\n }\r\n\r\n setLoading(true);\r\n\r\n\r\n\r\n Accountservice.user = full.user;\r\n\r\n const { isSuccess, message, user, pageurl } = await Accountservice.loginAsTenant(selTenant);\r\n\r\n\r\n if (!isSuccess) {\r\n showMessage(g(message), MessageType.ERROR);\r\n return;\r\n }\r\n\r\n setUser(user);\r\n\r\n\r\n dispatch({\r\n type: ActionType.LOGIN,\r\n user: user,\r\n token: user.accessToken,\r\n tenantUser: user.masterTenant,\r\n masterUser: user.masterToken\r\n });\r\n\r\n\r\n\r\n history.push(pageurl);\r\n\r\n setLoading(false);\r\n\r\n\r\n }\r\n\r\n\r\n\r\n const handleSelectTenant = (event, newValue) => {\r\n setSelTenant(newValue);\r\n };\r\n\r\n\r\n\r\n useEffect(() => {\r\n // If selectedKey or open has changed, update the search data\r\n if (open) {\r\n const accessToken = full.user.accessToken;\r\n authServicev2.getAuthorizedTenants(accessToken).then((list) => setTenantList(list));\r\n } else {\r\n setTenantList([]);\r\n }\r\n\r\n }, [open]);\r\n\r\n\r\n return (\r\n \r\n \r\n {g('title.SelectTenant')}\r\n \r\n\r\n \r\n option.masterTenant.name}\r\n onChange={handleSelectTenant}\r\n renderInput={(params) => }\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\nexport default SwitchDialog;\r\n","import React, { useEffect, useState } from \"react\";\r\nimport { useSelector } from \"react-redux\";\r\nimport AppBar from \"@mui/material/AppBar\";\r\nimport Toolbar from \"@mui/material/Toolbar\";\r\nimport Typography from \"@mui/material/Typography\";\r\nimport { makeStyles } from \"@mui/styles\";\r\n\r\nimport AccountCircleIcon from '@mui/icons-material/AccountCircle';\r\nimport LangMenu from \"./LangMenu\";\r\nimport { Fab } from \"@mui/material\";\r\nimport { ChangeCircleOutlined } from \"@mui/icons-material\";\r\nimport SwitchDialog from \"./SwitchDialog\";\r\nimport { useCookies } from \"react-cookie\";\r\n\r\n\r\n\r\nconst useStyles = makeStyles(theme => ({\r\n\r\n title: {\r\n flexGrow: 1,\r\n color: '#5D3FD2'\r\n },\r\n toolBar: {\r\n backgroundColor: '#F8F8F8',\r\n color: '#333',\r\n paddingLeft: 80,\r\n borderTop: '12px solid #0D2030'\r\n },\r\n avatar: {\r\n display: \"flex\",\r\n justifyContent: \"center\",\r\n alignItems: \"center\",\r\n fontWeight: \"bold\",\r\n },\r\n username: {\r\n marginLeft: 5\r\n }\r\n}));\r\n\r\n\r\nconst ToolBar = ({ title = \"\", showAvatar = true, right, ...props }) => {\r\n\r\n\r\n const full = useSelector(state => state.auth);\r\n // const [cookies] = useCookies(['access_token', 'refresh_token', 'isMaster', 'tenantName']);\r\n\r\n\r\n\r\n const classes = useStyles();\r\n const [isDialogOpen, setDialogOpen] = useState(false);\r\n\r\n const closeDetayDialog = () => {\r\n setDialogOpen(false);\r\n }\r\n\r\n useEffect(() => {\r\n const toolbar = document.getElementById('fixedToolBar');\r\n const content = document.getElementById('content');\r\n if (content.classList.contains(\"expanded\")) {\r\n toolbar.classList.add(\"expanded\");\r\n } else {\r\n toolbar.classList.remove(\"expanded\");\r\n }\r\n }, []);\r\n\r\n return (\r\n \r\n \r\n \r\n {title}\r\n \r\n\r\n {right}\r\n\r\n {full.user.tenantName &&\r\n setDialogOpen(true)}>\r\n \r\n {`${full.user?.tenantName}`}\r\n \r\n }\r\n\r\n\r\n\r\n \r\n\r\n {showAvatar &&\r\n
    \r\n \r\n \r\n {`${full.user?.adSoyad}`}\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\nexport default ToolBar;\r\n","import {useEffect} from \"react\";\r\n\r\nconst useExitPrompt = (isDirty) => {\r\n useEffect(() => {\r\n\r\n\r\n if (!isDirty) return;\r\n const handleBeforeUnload = event => event.preventDefault();\r\n //window.onbeforeunload = () => true;\r\n window.addEventListener(\"beforeunload\", handleBeforeUnload);\r\n return () => window.removeEventListener(\"beforeunload\", handleBeforeUnload);\r\n //return () => window.onbeforeunload = undefined;\r\n }, [isDirty]);\r\n}\r\n\r\nexport default useExitPrompt;\r\n","import ToolBar from \"./ToolBar\";\r\nimport PageLoading from \"../components/PageLoading\";\r\nimport useExitPrompt from \"../util/useExitPrompt\";\r\n\r\nconst Page = ({title, loading, isDirty = false, ...props}) => {\r\n\r\n const {children} = props;\r\n\r\n useExitPrompt(isDirty);\r\n\r\n return (\r\n <>\r\n\r\n \r\n\r\n {!loading &&\r\n
    \r\n {children}\r\n
    \r\n }\r\n\r\n {loading && }\r\n \r\n );\r\n}\r\n\r\nexport default Page;\r\n","import React, { useEffect, useState } from 'react';\r\nimport { Switch } from '@mui/material';\r\n\r\nconst SwitchCell = ({ item, checked, onClick, ...props }) => {\r\n\r\n const [checkedVal, setChecked] = useState(checked);\r\n\r\n // Update the local checked state if the checked prop changes\r\n useEffect(() => {\r\n setChecked(checked);\r\n }, [checked]); // This effect runs when the \"checked\" prop changes\r\n\r\n return (\r\n
    \r\n {\r\n if (onClick) {\r\n const result = await onClick(item, !checkedVal); // Call parent function and await its result\r\n if (result) {\r\n setChecked(!checkedVal); // Update local state only if the result is true\r\n }\r\n }\r\n }}\r\n {...props} // Spread all additional props to the Switch\r\n />\r\n
    \r\n );\r\n};\r\n\r\nexport default SwitchCell;\r\n","import React from 'react';\r\nimport { Select, MenuItem, FormControl, InputLabel, FormHelperText } from '@mui/material';\r\nimport { Controller } from 'react-hook-form';\r\n\r\nconst EnumSelect = React.forwardRef(({\r\n name,\r\n label,\r\n defaultValue = undefined,\r\n error,\r\n control,\r\n StatusEnum,\r\n rules,\r\n variant = \"outlined\",\r\n margin = \"dense\",\r\n onChange: onChangeFromParent,\r\n ...props\r\n}, ref) => {\r\n\r\n const enumEntries = Object.entries(StatusEnum);\r\n\r\n return (\r\n \r\n {label}\r\n {\r\n // Normalize both to strings for comparison\r\n const valueExists = enumEntries.some(([value]) => String(value) === String(field.value));\r\n const selectedValue = valueExists ? field.value : ''; // Fallback to empty if value doesn't exist\r\n\r\n return (\r\n {\r\n field.onChange(event.target.value);\r\n if (onChangeFromParent) {\r\n onChangeFromParent(event.target.value);\r\n }\r\n }}\r\n >\r\n {enumEntries.map(([value, displayText]) => (\r\n \r\n {displayText}\r\n \r\n ))}\r\n \r\n );\r\n }}\r\n />\r\n {error && {error.message}}\r\n \r\n );\r\n});\r\n\r\nexport default EnumSelect;\r\n","import Loading from \"./Loading\";\r\n\r\nconst DashboardWidget = ({height = 140, onClick, style, loading = false, ...props}) => {\r\n\r\n return (\r\n
    \r\n
    \r\n {!loading && props.children}\r\n {loading && }\r\n
    \r\n
    \r\n )\r\n\r\n\r\n}\r\n\r\nexport default DashboardWidget;\r\n","//const API_URL = 'http://localhost:1920/api';\r\nconst CDN_URL = \"http://localhost:1920/image\";\r\nconst API_URL = \"https://wa-securitas-sgk-api.azurewebsites.net\";\r\n//const API_URL = \"https://localhost:7099\"\r\n\r\n//const API_EbasvuruUrl = \"https://localhost:7120\";\r\n//const API_EbasvuruUrl = \"https://wa-securitas-ebasvuru-api-test.azurewebsites.net\";\r\n//const API_EbasvuruUrl = \"https://wa-securitas-ebasvuru-api.azurewebsites.net\";\r\nconst API_EbasvuruUrl = \"https://api.dijitalsgk.com\";\r\n\r\n///securitas\r\n//const DefaultIcon = \"/securitas.png\";\r\n//const MenuIcon = \"/securitas_menu.svg\";\r\nconst SSOLogin = false;\r\n\r\n/// PMA\r\nconst DefaultIcon = \"/pma-05.png\";\r\nconst MenuIcon = \"/pma-03.png\";\r\n\r\n\r\nconst VERSION = \"1.0\";\r\n\r\nconst MAX_RESULT = 10;\r\nconst COOKIE_DOMAIN = undefined;\r\n\r\nconst COOKIE_CONFIG = {\r\n maxAge: 60 * 60 * 24 * 120,\r\n path: \"/\",\r\n domain: COOKIE_DOMAIN,\r\n secure: false,\r\n sameSite: \"Lax\",\r\n};\r\n\r\nconst Config = {\r\n API_URL,\r\n CDN_URL,\r\n MAX_RESULT,\r\n VERSION,\r\n COOKIE_CONFIG,\r\n API_EbasvuruUrl,\r\n DefaultIcon,\r\n MenuIcon,\r\n SSOLogin\r\n};\r\n\r\nexport default Config;\r\n","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass MasterTenantService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.MasterDomain + ApiUrl.controller.MasterTenant);\r\n }\r\n\t\r\n\t/* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n}\r\n\r\nconst masterTenantservice = new MasterTenantService();\r\n\r\nexport default masterTenantservice;","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass TenantBatchOperationService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.MasterDomain + ApiUrl.controller.TenantBatchOperation);\r\n }\r\n\r\n async TriggerTask(data) {\r\n return await this.easyPost(ApiUrl.endpoint.TriggerOperation, data);\r\n }\r\n\r\n async LogOperation(data) {\r\n return await this.easyPost(ApiUrl.endpoint.LogOperation, data);\r\n }\r\n async ResetOperation(data) {\r\n return await this.easyPost(ApiUrl.endpoint.ResetOperation, data);\r\n }\r\n\r\n async getTenantMailGroup(data) {\r\n return await this.easyGet(ApiUrl.endpoint.GetTenantMailGroup, data);\r\n }\r\n}\r\n\r\nconst TenantBatchOperationservice = new TenantBatchOperationService();\r\n\r\nexport default TenantBatchOperationservice;","import * as React from 'react';\r\nimport TextField from '@mui/material/TextField';\r\nimport StaticDateRangePicker from '@mui/lab/StaticDateRangePicker';\r\nimport AdapterDateFns from '@mui/lab/AdapterDateFns';\r\nimport LocalizationProvider from '@mui/lab/LocalizationProvider';\r\nimport Box from '@mui/material/Box';\r\nimport Popper from '@mui/material/Popper';\r\nimport Paper from \"@mui/material/Paper\";\r\nimport useOutsideClick from \"../util/useOutsideClick\";\r\nimport trLocale from 'date-fns/locale/tr';\r\nimport Button from \"@mui/material/Button\";\r\n\r\nconst DateRangePickerPopup = ({ anchorEl, setAnchorEl, value, setValue, mode, minDate, maxDate, onClear }) => {\r\n\r\n const open = Boolean(anchorEl);\r\n const wapperRef = useOutsideClick(() => setAnchorEl(null))\r\n\r\n // Temporary state to hold the selected value until confirmed\r\n const [tempValue, setTempValue] = React.useState(value);\r\n\r\n const handleConfirm = () => {\r\n if (tempValue == null) {\r\n onClear();\r\n } else {\r\n setValue(tempValue);\r\n }\r\n setAnchorEl(null);\r\n };\r\n\r\n const handleClear = () => {\r\n onClear();\r\n setAnchorEl(null);\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n {\r\n setTempValue(newValue);\r\n }}\r\n renderInput={(startProps, endProps) => (\r\n \r\n \r\n to \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\nexport default DateRangePickerPopup;\r\n","import * as React from 'react';\r\nimport {useEffect, useRef} from 'react';\r\nimport {formatDate, formatDateForApi} from \"../util/DateUtil\";\r\nimport Button from \"@mui/material/Button\";\r\nimport DateRangePickerPopup from \"./DateRangePickerPopup\";\r\n\r\nconst DateFilterCell = ({column, onSearch}) => {\r\n\r\n const process = useRef(null);\r\n const [value, setValue] = React.useState([null, null]);\r\n\r\n const [anchorEl, setAnchorEl] = React.useState(null);\r\n\r\n const handleClick = (event) => {\r\n setAnchorEl(anchorEl ? null : event.currentTarget);\r\n };\r\n\r\n\r\n useEffect(() => {\r\n if (value[0] !== null && value[1] !== null) {\r\n setSearchData(value);\r\n }\r\n }, [value]);\r\n\r\n const setSearchData = (value) => {\r\n\r\n if (process.current) {\r\n clearTimeout(process.current);\r\n }\r\n process.current = setTimeout(() => {\r\n\r\n const startField = `${column.searchField || column.name}Start`;\r\n const endField = `${column.searchField || column.name}End`;\r\n\r\n const obj = {};\r\n\r\n obj[startField] = formatDateForApi(value[0]);\r\n obj[endField] = formatDateForApi(value[1]);\r\n\r\n onSearch(obj);\r\n }, 650);\r\n }\r\n\r\n\r\n const onClear = () => {\r\n setValue([null, null]);\r\n setSearchData([null, null]);\r\n };\r\n\r\n return (\r\n
    \r\n \r\n \r\n
    \r\n );\r\n}\r\n\r\nexport default DateFilterCell;\r\n","import React, { useEffect, useState } from 'react';\r\nimport Dialog from '@mui/material/Dialog';\r\nimport DialogActions from '@mui/material/DialogActions';\r\nimport DialogContent from '@mui/material/DialogContent';\r\nimport DialogTitle from '@mui/material/DialogTitle';\r\nimport Button from '@mui/material/Button';\r\nimport CircularProgress from '@mui/material/CircularProgress'; // Import loading spinner\r\nimport { useTranslation } from 'react-i18next';\r\nimport { Approval, CancelOutlined } from '@mui/icons-material';\r\n\r\nconst DialogConfirm = ({ open, title, content, onClose, onConfirm, loading }) => {\r\n const { t } = useTranslation();\r\n const [isDisabled, setIsDisabled] = useState(false);\r\n\r\n // Use useEffect to track changes in loading and update the button disabled state\r\n useEffect(() => {\r\n setIsDisabled(loading); // Disable the buttons if loading is true\r\n }, [loading]);\r\n\r\n return (\r\n \r\n {title}\r\n \r\n
    \r\n {content}\r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default DialogConfirm;\r\n","import CircularProgress from \"@mui/material/CircularProgress\";\r\nimport Button from \"@mui/material/Button\";\r\nimport React from \"react\";\r\n\r\nconst SubmitButton = React.memo(({startIcon, type = \"submit\", loading, ...props}) => {\r\n\r\n const LoadingIcon = () => (\r\n \r\n );\r\n\r\n return (\r\n : startIcon}>\r\n {props.children}\r\n \r\n )\r\n\r\n});\r\n\r\nexport default SubmitButton;\r\n","import BaseServiceV2 from \"./BaseServiceV2\";\r\nimport ApiUrl from './ApiUrl';\r\n\r\nclass DashboardService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.SGKDomain + ApiUrl.controller.SGKDashboard);\r\n }\r\n\r\n\r\n async getBildirimYapilmamisIsKazasi({ date }) {\r\n const { resultObject } = await this.easyGet(ApiUrl.widgets.bildirimyapilmamisiskazasi, {\r\n date\r\n });\r\n return resultObject || 0;\r\n }\r\n\r\n async getGirisCikisKontrolhatasi({ date }) {\r\n const { resultObject } = await this.easyGet(ApiUrl.widgets.GirisCikisKontrolhatasi, {\r\n date\r\n });\r\n return resultObject || 0;\r\n }\r\n\r\n async getEnSonBorcSorguTarihi() {\r\n const { resultObject } = await this.easyGet(ApiUrl.widgets.ensonborcsorgutarihi);\r\n return resultObject?.calismaGunu;\r\n }\r\n\r\n async getEBorcToplami({ calismaGunu }) {\r\n const { resultObject } = await this.easyGet(ApiUrl.widgets.eborctoplami, { calismaGunu });\r\n return resultObject || 0;\r\n }\r\n\r\n async getBorcuOlanSirketSayisi({ calismaGunu }) {\r\n const { resultObject } = await this.easyGet(ApiUrl.widgets.borcuolansirketsayisi, { calismaGunu });\r\n return resultObject || 0;\r\n }\r\n\r\n async getBorcuOlanIsYeriSayisi({ calismaGunu }) {\r\n const { resultObject } = await this.easyGet(ApiUrl.widgets.borcuolanisyerisayisi, { calismaGunu });\r\n return resultObject || 0;\r\n }\r\n\r\n async getEBorcuYokturKayitlari() {\r\n const { resultObject } = await this.easyGet(ApiUrl.widgets.getEBorcuYokturKayitlari);\r\n return resultObject || 0;\r\n }\r\n\r\n async getHataAlanTescilIslemleri({ startDate, endDate }) {\r\n const { resultObject } = await this.easyGet(ApiUrl.widgets.hataalantescilislemleri, { startDate, endDate });\r\n return resultObject || 0;\r\n }\r\n\r\n async getTesvikKazanciniz({ periodId }) {\r\n const { resultObject } = await this.easyGet(ApiUrl.widgets.Tesvikkazanciniz, { periodId });\r\n return resultObject || 0;\r\n }\r\n\r\n async getEViziteOnayBekleyenler({ startDate, endDate }) {\r\n const { resultObject } = await this.easyGet(ApiUrl.widgets.eviziteonaybekleyenler, {\r\n startDate, endDate\r\n });\r\n return resultObject || 0;\r\n }\r\n\r\n async getPersonelSayisi({ periodId }) {\r\n const { resultObject } = await this.easyGet(ApiUrl.widgets.personelsayisi, { periodId });\r\n return resultObject || 0;\r\n }\r\n\r\n async viziteMahsup({ periodId }) {\r\n const { resultObject } = await this.easyGet(ApiUrl.widgets.viziteMahsup, { periodId });\r\n return resultObject || 0;\r\n }\r\n\r\n}\r\n\r\nconst dashboardServicev2 = new DashboardService();\r\n\r\nexport default dashboardServicev2;\r\n","import BaseServiceV2 from \"./BaseServiceV2\";\r\nimport ApiUrl from './ApiUrl';\r\n\r\nclass SGKABPYRKodlarService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.SGKDomain + ApiUrl.controller.sgkABPYRKodlar);\r\n }\r\n}\r\n\r\nconst ABPYRKodlarservice = new SGKABPYRKodlarService();\r\n\r\nexport default ABPYRKodlarservice;","import React, { useEffect } from \"react\";\r\nimport usePaginationV2 from \"../util/usePaginationV2\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport ABPYRKodlarservice from \"../service/SGKABPYRKodlarService\";\r\nimport sgkeviziterapordurumlari from \"../service/SGKEviziterapordurumlariService\";\r\nimport iksubelerservice from \"../service/IKServices/IKSubelerService\";\r\nimport SysRolservice from \"../service/IKIseAlimServices/SysRolService\";\r\nimport masterTenantservice from \"../service/MasterServices/MasterTenantService\";\r\nimport Menulerservice from \"../service/GeneralServices/MenulerService\";\r\nimport Sirketlerservice from \"../service/SGKSirketlerService\";\r\nimport Sehirservice from \"../service/GeneralServices/SehirService\";\r\nimport BatchOperationservice from \"../service/MasterServices/BatchOperationService\";\r\nimport SysGlobalGroupservice from \"../service/MasterServices/SysGlobalGroupService\";\r\nimport Moduleservice from \"../service/GeneralServices/ModuleService\";\r\n\r\nconst DynamicOptions = ({ serviceType }) => {\r\n const { t } = useTranslation();\r\n\r\n // Define a configuration for each service\r\n const serviceConfig = {\r\n ABPYRKodlar: {\r\n service: ABPYRKodlarservice,\r\n valueField: \"kod\", // field to use for option value\r\n displayField: \"aciklama\" // field to use for display text\r\n },\r\n SGKEviziterapor: {\r\n service: sgkeviziterapordurumlari,\r\n valueField: \"id\", // field to use for option value\r\n displayField: \"aciklama\" // field to use for display text\r\n }\r\n ,\r\n IKSubelerservice: {\r\n service: iksubelerservice,\r\n valueField: \"subeKodu\", // field to use for option value\r\n displayField: \"subeAdi\" // field to use for display text\r\n },\r\n SysRolservice: {\r\n service: SysRolservice,\r\n valueField: \"rol\", // field to use for option value\r\n displayField: \"rol\" // field to use for display text\r\n },\r\n MasterTenant: {\r\n service: masterTenantservice,\r\n valueField: \"id\", // field to use for option value\r\n displayField: \"name\" // field to use for display text\r\n },\r\n Sirketler: {\r\n service: Sirketlerservice,\r\n valueField: \"sirketKodu\", // field to use for option value\r\n displayField: \"sirketAdi\" // field to use for display text\r\n },\r\n Menuler: {\r\n service: Menulerservice,\r\n filter: {\r\n sistem: \"SGK\",\r\n isGroup: true\r\n },\r\n valueField: \"id\",\r\n displayField: \"baslik\",\r\n },\r\n Tenant: {\r\n service: masterTenantservice,\r\n valueField: \"id\",\r\n displayField: \"name\",\r\n },\r\n Sehir: {\r\n service: Sehirservice,\r\n valueField: \"sehirKodu\",\r\n displayField: \"sehirAdi\",\r\n }, BatchOperation: {\r\n service: BatchOperationservice,\r\n valueField: \"operationId\",\r\n displayField: \"operationName\",\r\n }, SysGlobalGroup: {\r\n service: SysGlobalGroupservice,\r\n valueField: \"id\",\r\n displayField: \"groupKey\",\r\n }, modules: {\r\n service: Moduleservice,\r\n valueField: \"id\",\r\n displayField: \"moduleName\",\r\n }\r\n };\r\n\r\n // Get the correct config based on serviceType\r\n const config = serviceConfig[serviceType] || serviceConfig.SGKEviziterapor;\r\n\r\n const list = usePaginationV2({\r\n service: config.service,\r\n defaultSearchData: { ...config.filter },\r\n defaultOrderBy: { name: config.displayField, type: \"Asc\" },\r\n takeAll: true\r\n });\r\n\r\n useEffect(() => {\r\n if (!list.loading && list.data.length > 0) {\r\n }\r\n }, [list.loading]);\r\n\r\n if (list.loading) {\r\n return ;\r\n } else {\r\n return list.data.map((item, index) => (\r\n \r\n ));\r\n }\r\n};\r\n\r\nexport default React.memo(DynamicOptions);\r\n","import {YesNoType} from \"../util/Enums\";\r\nimport {useTranslation} from \"react-i18next\";\r\n\r\nconst YesNoTypeOptions = () => {\r\n\r\n const {t} = useTranslation();\r\n\r\n return (\r\n Object.values(YesNoType).map(item => )\r\n )\r\n}\r\n\r\nconst IsDeletedColumn = {\r\n name: \"isDeleted\",\r\n width: 50,\r\n searchable: true,\r\n searchType: 'select',\r\n defaultValue: 0,\r\n selectOptions: \r\n}\r\n\r\nconst getDeletedColumn = (t) => {\r\n return {...IsDeletedColumn, label: t('label.deleted'), execute: (item) => t(`label.${item}`)}\r\n}\r\n\r\nexport {IsDeletedColumn, getDeletedColumn, YesNoTypeOptions};\r\n","import BaseServiceV2 from \"../BaseServiceV2\";\r\nimport ApiUrl from '../ApiUrl';\r\n\r\nclass BatchOperationService extends BaseServiceV2 {\r\n\r\n constructor() {\r\n super(ApiUrl.MasterDomain + ApiUrl.controller.BatchOperation);\r\n }\r\n\r\n /* async register(data) {\r\n return await this.easyPost(ApiUrl.endpoint.Register, data);\r\n }*/\r\n}\r\n\r\nconst BatchOperationservice = new BatchOperationService();\r\n\r\nexport default BatchOperationservice;"],"sourceRoot":""}