original_text
stringlengths
1
23.3k
tokenized_code
stringlengths
1
25.1k
masked_code
stringlengths
1
23.6k
)
)
)
}
}
}
export default NewOrder
export default NewOrder
export default NewOrder
import { Container, Tab } from '@protolibrary/components'
import { Container , Tab } from ' @ protolibrary/components '
import { Container , Tab [MASK] from [MASK] @ [MASK] '
import { useLocationParams } from '@utils/LocationUtils'
import { useLocationParams } from ' @ utils/LocationUtils '
import { useLocationParams } [MASK] ' @ utils/LocationUtils '
import React from 'react'
import React from 'react '
import React from 'react '
import VehicleHistoryTab from '../tabs/VehicleHistoryTab'
import VehicleHistoryTab from ' .. /tabs/VehicleHistoryTab '
import VehicleHistoryTab from ' .. /tabs/VehicleHistoryTab '
import PageHeader from '@common/components/page-header'
import PageHeader from ' @ common/components/page-header '
import [MASK] from [MASK] [MASK] common/components/page-header '
import GanttChartTab from '../tabs/GanttChartTab'
import GanttChartTab from ' .. /tabs/GanttChartTab '
import [MASK] from [MASK] .. /tabs/GanttChartTab '
import VehicleDetailTab from '../tabs/VehicleDetailTab'
import VehicleDetailTab from ' .. /tabs/VehicleDetailTab '
import VehicleDetailTab from [MASK] .. /tabs/VehicleDetailTab '
import useLocalization from '@hooks/useLocalization'
import useLocalization from ' @ hooks/useLocalization '
import useLocalization from ' @ hooks/useLocalization '
const { id, orderId } = useLocationParams(props)
const { id , orderId } = useLocationParams ( props )
[MASK] { id [MASK] orderId [MASK] = useLocationParams ( props )
const { t } = useLocalization()
const { t } = useLocalization ( )
const [MASK] t } = useLocalization ( )
)
)
)
}
}
}
export default OrderVehicleDetail
export default OrderVehicleDetail
export default OrderVehicleDetail
import InputLayout from '@common/components/input-layout'
import InputLayout from ' @ common/components/input-layout '
import InputLayout from ' @ common/components/input-layout '
import PageHeader from '@common/components/page-header'
import PageHeader from ' @ common/components/page-header '
import PageHeader from ' @ common/components/page-header '
import TableIcon from '@common/components/table-icon'
import TableIcon from ' @ common/components/table-icon '
import TableIcon from [MASK] @ common/components/table-icon '
} from '@protolibrary/components'
} from ' @ protolibrary/components '
} from ' @ protolibrary/components '
import { defaultRemoteGridOptions, prepareFilter } from '@utils/DataTableUtils'
import { defaultRemoteGridOptions , prepareFilter } from ' @ utils/DataTableUtils '
import { defaultRemoteGridOptions , prepareFilter } from ' @ [MASK] '
import React, { useEffect, useRef } from 'react'
import React , { useEffect , useRef } from 'react '
import React [MASK] { useEffect , useRef } from 'react '
import ConfirmationModal from '@common/components/confirmation-modal/ConfirmationModal'
import ConfirmationModal from ' @ common/components/confirmation-modal/ConfirmationModal '
[MASK] ConfirmationModal from ' @ common/components/confirmation-modal/ConfirmationModal '
import navigationService from '@common/navigation/NavigationService'
import navigationService from ' @ common/navigation/NavigationService '
import [MASK] from ' @ common/navigation/NavigationService '
import { NavigationOperationType } from '@common/navigation/NavigationTypes'
import { NavigationOperationType } from ' @ common/navigation/NavigationTypes '
import [MASK] NavigationOperationType } from [MASK] @ common/navigation/NavigationTypes '
import { SaveParameter } from '@services/ParameterService'
import { SaveParameter } from ' @ services/ParameterService '
import { SaveParameter } [MASK] ' @ services/ParameterService [MASK]
import projectService from '@services/ProjectService'
import projectService from ' @ services/ProjectService '
import projectService [MASK] ' @ services/ProjectService [MASK]
import useLocalization from '@hooks/useLocalization'
import useLocalization from ' @ hooks/useLocalization '
import useLocalization from ' @ hooks/useLocalization '
const refForm = useRef(null)
const refForm = useRef ( null )
const refForm = useRef ( null )
const refDataTable = useRef(null)
const refDataTable = useRef ( null )
const refDataTable [MASK] useRef ( [MASK] )
const [showConfirmModal, setShowConfirmModal] = React.useState(false)
const [ showConfirmModal , setShowConfirmModal ] = React.useState ( false )
[MASK] [MASK] showConfirmModal , setShowConfirmModal ] [MASK] React.useState ( [MASK] )
const [deleteData, setDeleteData] = React.useState<SaveParameter>(null)
const [ deleteData , setDeleteData ] = React.useState < SaveParameter > ( null )
[MASK] [ deleteData , setDeleteData [MASK] = [MASK] < SaveParameter > ( null )
const { t } = useLocalization()
const { t } = useLocalization ( )
const [MASK] t } = useLocalization ( )
})
} )
} )
}
}
}
})
} )
} [MASK]
setDeleteData(row)
setDeleteData ( row )
setDeleteData ( row )
setShowConfirmModal(true)
setShowConfirmModal ( true )
setShowConfirmModal ( true [MASK]
}
}
}
const values = refForm.current?.getValues()
const values = refForm.current ? .getValues ( )
const values = refForm.current ? .getValues ( )
refDataTable.current.loadData(prepareFilter(values))
refDataTable.current.loadData ( prepareFilter ( values ) )
refDataTable.current.loadData ( [MASK] ( values ) )
}
}
}
loadData()
loadData ( )
[MASK] ( )
}, [])
} , [ ] )
[MASK] , [ ] )
})
} )
} [MASK]
}
}
}
resetTable()
resetTable ( )
resetTable [MASK] )
}
}
}
setShowConfirmModal(false)
setShowConfirmModal ( false )
[MASK] ( false )
projectService.delete(deleteData.id).then(resetTable)
projectService.delete ( deleteData.id ) .then ( resetTable )
projectService.delete ( deleteData.id ) .then ( resetTable )
)
)
)
}
}
}
export default ProjectManagement
export default ProjectManagement
export default ProjectManagement
import InputLayout from '@common/components/input-layout'
import InputLayout from ' @ common/components/input-layout '
import InputLayout from ' @ common/components/input-layout '
import PageHeader from '@common/components/page-header'
import PageHeader from ' @ common/components/page-header '
import PageHeader from ' @ common/components/page-header '
import navigationService from '@common/navigation/NavigationService'
import navigationService from ' @ common/navigation/NavigationService '
import navigationService from ' @ common/navigation/NavigationService '
import { NavigationOperationType } from '@common/navigation/NavigationTypes'
import { NavigationOperationType } from ' @ common/navigation/NavigationTypes '
import { NavigationOperationType [MASK] from ' @ common/navigation/NavigationTypes '
import toastManager from '@common/toast/ToastManager'
import toastManager from ' @ common/toast/ToastManager '
import toastManager from ' @ common/toast/ToastManager '
import { TextField, Form, Col, Container, Row, Button } from '@protolibrary/components'
import { TextField , Form , Col , Container , Row , Button } from ' @ protolibrary/components '
[MASK] { TextField , [MASK] , Col [MASK] Container [MASK] [MASK] , Button [MASK] from ' @ [MASK] [MASK]
import { required } from '@protoweb/utils'
import { required } from ' @ protoweb/utils '
import { required } from ' [MASK] protoweb/utils '
import { useLocationParams } from '@utils/LocationUtils'
import { useLocationParams } from ' @ utils/LocationUtils '
import { useLocationParams } [MASK] [MASK] @ utils/LocationUtils '
import React, { useEffect, useState } from 'react'
import React , { useEffect , useState } from 'react '
import [MASK] , { useEffect , useState } from [MASK] [MASK]
import { SaveParameter } from '@services/ParameterService'
import { SaveParameter } from ' @ services/ParameterService '
import { SaveParameter } from [MASK] [MASK] services/ParameterService [MASK]
import projectService from '@services/ProjectService'
import projectService from ' @ services/ProjectService '
import projectService from [MASK] @ services/ProjectService [MASK]
import useLocalization from '@hooks/useLocalization'
import useLocalization from ' @ hooks/useLocalization '
import useLocalization [MASK] ' @ hooks/useLocalization [MASK]
const { operationType, id } = useLocationParams(props)
const { operationType , id } = useLocationParams ( props )
const [MASK] operationType , [MASK] } = useLocationParams ( [MASK] )
const [data, setData] = useState<SaveParameter>(null)
const [ data , setData ] = useState < SaveParameter > ( null )
const [ data , setData ] = [MASK] [MASK] SaveParameter [MASK] ( null )
const refForm = React.useRef(null)
const refForm = React.useRef ( null )
const [MASK] = React.useRef ( [MASK] )
const { t } = useLocalization()
const { t } = useLocalization ( )
const { t } = useLocalization ( )
const values = refForm.current.getValues()
const values = refForm.current.getValues ( )
const values = refForm.current.getValues ( )
}
}
[MASK]
toastManager.show('success', t("proje_basariyla_olusturuldu"))
toastManager.show ( 'success ' , t ( `` proje_basariyla_olusturuldu '' ) )
toastManager.show [MASK] 'success ' , t ( `` proje_basariyla_olusturuldu '' ) )
navigationService.push('/system-management/project-management')
navigationService.push ( '/system-management/project-management ' )
navigationService.push ( [MASK] ' )
})
} )
} [MASK]
request.id = data?.id
request.id = data ? .id
request.id = data ? .id
toastManager.show('success', t("proje_basariyla_guncellendi"))
toastManager.show ( 'success ' , t ( `` proje_basariyla_guncellendi '' ) )
toastManager.show ( 'success [MASK] , t ( `` proje_basariyla_guncellendi [MASK] ) )
navigationService.push('/system-management/project-management')
navigationService.push ( '/system-management/project-management ' )
navigationService.push [MASK] '/system-management/project-management ' [MASK]
})
} )
} )
}
}
}
setData(res)
setData ( res )
setData ( res )
refForm.current.setValues(res)
refForm.current.setValues ( res )
refForm.current.setValues ( res )
})
} )
} )
}, [])
} , [ ] )
} [MASK] [ [MASK] )
)
)
)
}
}
}
export default ProjectCreateUpdate
export default ProjectCreateUpdate
export default [MASK]
import InputLayout from '@common/components/input-layout'
import InputLayout from ' @ common/components/input-layout '
import InputLayout from ' @ common/components/input-layout '
import PageHeader from '@common/components/page-header'
import PageHeader from ' @ common/components/page-header '
import PageHeader from [MASK] @ common/components/page-header '
import TableIcon from '@common/components/table-icon'
import TableIcon from ' @ common/components/table-icon '
import TableIcon [MASK] [MASK] [MASK] common/components/table-icon '
} from '@protolibrary/components'
} from ' @ protolibrary/components '
} [MASK] ' @ protolibrary/components '
import { defaultRemoteGridOptions, prepareFilter } from '@utils/DataTableUtils'
import { defaultRemoteGridOptions , prepareFilter } from ' @ utils/DataTableUtils '
import { defaultRemoteGridOptions , prepareFilter [MASK] from ' @ utils/DataTableUtils [MASK]
import React, { useEffect, useRef, useState } from 'react'
import React , { useEffect , useRef , useState } from 'react '
import React , [MASK] useEffect [MASK] [MASK] , useState [MASK] from 'react '
import navigationService from '@common/navigation/NavigationService'
import navigationService from ' @ common/navigation/NavigationService '
import navigationService from ' @ common/navigation/NavigationService '
import NAVIGATION_PATHS from '@common/navigation/NavigationPaths'
import NAVIGATION_PATHS from ' @ common/navigation/NavigationPaths '
import NAVIGATION_PATHS from ' @ common/navigation/NavigationPaths '
import { NavigationOperationType } from '@common/navigation/NavigationTypes'
import { NavigationOperationType } from ' @ common/navigation/NavigationTypes '
import [MASK] NavigationOperationType } from ' @ common/navigation/NavigationTypes '
import roleService, { Role } from '@services/RoleService'
import roleService , { Role } from ' @ services/RoleService '
import roleService , { [MASK] } [MASK] ' @ services/RoleService '
import ConfirmationModal from '@common/components/confirmation-modal/ConfirmationModal'
import ConfirmationModal from ' @ common/components/confirmation-modal/ConfirmationModal '
import [MASK] from ' @ [MASK] [MASK]
import useLocalization from '@hooks/useLocalization'
import useLocalization from ' @ hooks/useLocalization '
import useLocalization from ' [MASK] hooks/useLocalization '
const refForm = useRef(null)
const refForm = useRef ( null )
const refForm = useRef ( null )
const refDataTable = useRef(null)
const refDataTable = useRef ( null )
const refDataTable = useRef [MASK] null )