original_text
stringlengths 1
23.3k
| tokenized_code
stringlengths 1
25.1k
| masked_code
stringlengths 1
23.6k
|
---|---|---|
toastManager.show('success', t('siparis_detayi_guncellendi')) | toastManager.show ( 'success ' , t ( 'siparis_detayi_guncellendi ' ) ) | toastManager.show [MASK] 'success ' , [MASK] [MASK] [MASK] ' ) ) |
onClose() | onClose ( ) | [MASK] ( ) |
}) | } ) | } [MASK] |
} | } | } |
saveChanges() | saveChanges ( ) | saveChanges ( [MASK] |
} | } | } |
setData(res) | setData ( res ) | [MASK] ( res ) |
const status = mockService.getOrderStatusList().find(os => os.value == res.status.toString()) | const status = mockService.getOrderStatusList ( ) .find ( os = > os.value == res.status.toString ( ) ) | const status = mockService.getOrderStatusList ( ) .find ( os = > os.value == res.status.toString ( [MASK] ) |
}) | } ) | } ) |
setHasLettersOfCredit(res.paymentOptions.hasLettersOfCredit) | setHasLettersOfCredit ( res.paymentOptions.hasLettersOfCredit ) | setHasLettersOfCredit [MASK] res.paymentOptions.hasLettersOfCredit ) |
setMinEndDate(res.orderDate ? new Date(res.orderDate) : null) | setMinEndDate ( res.orderDate ? new Date ( res.orderDate ) : null ) | setMinEndDate ( res.orderDate ? new Date ( [MASK] ) : null ) |
setMaxStartDate(res.deliveryDate ? new Date(res.deliveryDate) : null) | setMaxStartDate ( res.deliveryDate ? new Date ( res.deliveryDate ) : null ) | [MASK] ( res.deliveryDate ? new Date ( res.deliveryDate [MASK] : [MASK] ) |
}) | } ) | } ) |
}, []) | } , [ ] ) | } , [ ] ) |
setHasLettersOfCredit(value) | setHasLettersOfCredit ( value ) | [MASK] ( value ) |
refForm.current.setValues({ paymentPlan: [] }) | refForm.current.setValues ( { paymentPlan : [ ] } ) | refForm.current.setValues ( { paymentPlan : [ ] } ) |
) | ) | ) |
} | } | } |
const [showEditForm, setShowEditForm] = useState(false) | const [ showEditForm , setShowEditForm ] = useState ( false ) | const [ showEditForm , setShowEditForm ] [MASK] useState ( false ) |
const { t } = useLocalization() | const { t } = useLocalization ( ) | const { t } = useLocalization ( [MASK] |
setShowEditForm(show) | setShowEditForm ( show ) | setShowEditForm ( show ) |
} | } | } |
showEdit(true) | showEdit ( true ) | showEdit ( true ) |
) | ) | ) |
} | } | } |
export default OrderDetailTab | export default OrderDetailTab | [MASK] default OrderDetailTab |
import React, { useEffect, useRef, useState } from 'react' | import React , { useEffect , useRef , useState } from 'react ' | import [MASK] [MASK] { useEffect , useRef , useState } from 'react ' |
import '../assets/styles.scss' | import ' .. /assets/styles.scss ' | import ' .. /assets/styles.scss ' |
import { Amount, Block, Button, Col, Form, Row, TextField } from '@protolibrary/components' | import { Amount , Block , Button , Col , Form , Row , TextField } from ' @ protolibrary/components ' | import { Amount , Block , Button [MASK] Col , Form , [MASK] , TextField } from ' @ protolibrary/components ' |
import InputLayout from '@common/components/input-layout' | import InputLayout from ' @ common/components/input-layout ' | import InputLayout [MASK] [MASK] @ common/components/input-layout ' |
import RemoteSelect from '@common/components/remote-select' | import RemoteSelect from ' @ common/components/remote-select ' | import RemoteSelect from ' @ common/components/remote-select ' |
import { required } from '@protoweb/utils' | import { required } from ' @ protoweb/utils ' | import { required [MASK] from ' @ protoweb/utils ' |
import vehicleService, { Vehicle } from '@services/VehicleService' | import vehicleService , { Vehicle } from ' @ services/VehicleService ' | import vehicleService , { Vehicle } from [MASK] @ services/VehicleService ' |
import Select from '@protoweb/select' | import Select from ' @ protoweb/select ' | [MASK] Select from ' @ protoweb/select ' |
import mockService from '@services/MockService' | import mockService from ' @ services/MockService ' | import mockService from ' @ services/MockService ' |
import { formatSelectValue } from '@utils/FormUtils' | import { formatSelectValue } from ' @ utils/FormUtils ' | import { formatSelectValue } from ' @ [MASK] [MASK] |
import toastManager from '@common/toast/ToastManager' | import toastManager from ' @ common/toast/ToastManager ' | [MASK] toastManager from [MASK] @ common/toast/ToastManager ' |
import Container from '@protoweb/container' | import Container from ' @ protoweb/container ' | import [MASK] from ' [MASK] protoweb/container ' |
import { userIsInRole } from '@common/role/RoleUtils' | import { userIsInRole } from ' @ common/role/RoleUtils ' | import { userIsInRole } from [MASK] @ common/role/RoleUtils ' |
import { tableDatePickerFormat } from '@utils/DateUtils' | import { tableDatePickerFormat } from ' @ utils/DateUtils ' | import { tableDatePickerFormat } from ' @ utils/DateUtils [MASK] |
import useLocalization from '@hooks/useLocalization' | import useLocalization from ' @ hooks/useLocalization ' | import useLocalization from ' @ hooks/useLocalization ' |
const [vehicleDetail, setVehicleDetail] = useState<Vehicle>(null) | const [ vehicleDetail , setVehicleDetail ] = useState < Vehicle > ( null ) | const [ vehicleDetail , [MASK] ] [MASK] [MASK] < [MASK] > [MASK] null ) |
const { t } = useLocalization() | const { t } = useLocalization ( ) | const { t } = [MASK] [MASK] ) |
setVehicleDetail(res) | setVehicleDetail ( res ) | setVehicleDetail ( res ) |
}) | } ) | } ) |
}, []) | } , [ ] ) | } , [ ] [MASK] |
{vehicleDetail?.price ? vehicleDetail?.price.toLocaleString('tr-TR') : 0}  | { vehicleDetail ? .price ? vehicleDetail ? .price.toLocaleString ( 'tr-TR ' ) : 0 } & nbsp | { vehicleDetail ? .price ? vehicleDetail ? .price.toLocaleString [MASK] [MASK] ' ) : 0 } & nbsp |
) | ) | [MASK] |
} | } | } |
id: any | id : any | id : any |
orderId: any | orderId : any | orderId : any |
onClose: () => void | onClose : ( ) = > void | [MASK] : [MASK] ) = > void |
const refForm = useRef(null) | const refForm = useRef ( null ) | const refForm = useRef ( null [MASK] |
const { t } = useLocalization() | const { t } = useLocalization ( ) | const { [MASK] } = useLocalization ( ) |
const values = refForm.current.getValues() | const values = refForm.current.getValues ( ) | const values = refForm.current.getValues ( ) |
toastManager.show('success', t("kayit_basariyla_guncellendi")) | toastManager.show ( 'success ' , t ( `` kayit_basariyla_guncellendi '' ) ) | toastManager.show ( [MASK] ' , t [MASK] `` kayit_basariyla_guncellendi '' ) ) |
onClose() | onClose ( ) | onClose ( ) |
}) | } ) | } ) |
} | } | } |
saveChanges() | saveChanges ( ) | saveChanges ( ) |
} | } | [MASK] |
}) | } ) | } ) |
}) | } ) | } ) |
}, []) | } , [ ] ) | } , [MASK] ] ) |
) | ) | ) |
} | } | } |
const [showEditForm, setShowEditForm] = useState(false) | const [ showEditForm , setShowEditForm ] = useState ( false ) | [MASK] [MASK] [MASK] , setShowEditForm ] [MASK] useState [MASK] false ) |
const { t } = useLocalization() | const { t } = useLocalization ( ) | const { t [MASK] = useLocalization ( ) |
setShowEditForm(show) | setShowEditForm ( show ) | setShowEditForm ( show ) |
} | } | } |
showEdit(true) | showEdit ( true ) | showEdit ( true ) |
) | ) | ) |
} | } | } |
export default VehicleDetailTab | export default VehicleDetailTab | export default VehicleDetailTab |
import React, { useEffect, useRef, useState } from 'react' | import React , { useEffect , useRef , useState } from 'react ' | import React , { [MASK] [MASK] useRef , useState } from 'react ' |
import '../assets/styles.scss' | import ' .. /assets/styles.scss ' | [MASK] ' .. /assets/styles.scss ' |
import * as Highcharts from 'highcharts/highcharts-gantt' | import * as Highcharts from 'highcharts/highcharts-gantt ' | import * as Highcharts from 'highcharts/highcharts-gantt ' |
import * as HighchartsGantt from 'highcharts/highcharts-gantt' | import * as HighchartsGantt from 'highcharts/highcharts-gantt ' | import * as HighchartsGantt from 'highcharts/highcharts-gantt ' |
import HighchartsReact from 'highcharts-react-official' | import HighchartsReact from 'highcharts-react-official ' | import [MASK] from 'highcharts-react-official [MASK] |
import highchartsExporting from 'highcharts/modules/exporting' | import highchartsExporting from 'highcharts/modules/exporting ' | import highchartsExporting from [MASK] ' |
import offlineHighchartsExporting from 'highcharts/modules/offline-exporting' | import offlineHighchartsExporting from 'highcharts/modules/offline-exporting ' | [MASK] offlineHighchartsExporting from [MASK] ' |
import highchartsAccessibility from 'highcharts/modules/accessibility' | import highchartsAccessibility from 'highcharts/modules/accessibility ' | [MASK] highchartsAccessibility from 'highcharts/modules/accessibility ' |
import More from 'highcharts/highcharts-more' | import More from 'highcharts/highcharts-more ' | import More [MASK] 'highcharts/highcharts-more ' |
import customEvents from 'highcharts-custom-events' | import customEvents from 'highcharts-custom-events ' | import customEvents [MASK] 'highcharts-custom-events ' |
import projectPlanService, { Project } from '@services/ProjectPlanService' | import projectPlanService , { Project } from ' @ services/ProjectPlanService ' | import projectPlanService , { Project } [MASK] ' @ [MASK] ' |
import 'bootstrap-icons/font/bootstrap-icons.css' | import 'bootstrap-icons/font/bootstrap-icons.css ' | [MASK] 'bootstrap-icons/font/bootstrap-icons.css ' |
import Block from '@protoweb/block' | import Block from ' @ protoweb/block ' | import Block from ' @ protoweb/block ' |
import { TaskType } from '@resources/constants/Task' | import { TaskType } from ' @ resources/constants/Task ' | import { TaskType [MASK] from [MASK] [MASK] resources/constants/Task ' |
import taskService from '@services/TaskService' | import taskService from ' @ services/TaskService ' | import taskService from ' @ services/TaskService ' |
import ReactDOM from 'react-dom' | import ReactDOM from 'react-dom ' | import ReactDOM [MASK] 'react-dom ' |
import COLORS from '@resources/colors' | import COLORS from ' @ resources/colors ' | import COLORS [MASK] ' [MASK] [MASK] [MASK] |
import { DropDownItem } from '@common/components/dropdown' | import { DropDownItem } from ' @ common/components/dropdown ' | import { [MASK] [MASK] from ' @ common/components/dropdown ' |
import { NavigationOperationType } from '@common/navigation/NavigationTypes' | import { NavigationOperationType } from ' @ common/navigation/NavigationTypes ' | import { NavigationOperationType } from ' @ common/navigation/NavigationTypes ' |
import { usePopper } from 'react-popper' | import { usePopper } from 'react-popper ' | import { usePopper } from [MASK] ' |
import UpdateCreateSubTask, { IProjectTaskFormProps } from '../modals/UpdateCreateSubTask' | import UpdateCreateSubTask , { IProjectTaskFormProps } from ' .. /modals/UpdateCreateSubTask ' | [MASK] UpdateCreateSubTask , { [MASK] } from ' .. [MASK] [MASK] |
import DetailSubTask, { IProjectItemDetailProps } from '../modals/DetailSubTask' | import DetailSubTask , { IProjectItemDetailProps } from ' .. /modals/DetailSubTask ' | import DetailSubTask , { IProjectItemDetailProps [MASK] from ' .. /modals/DetailSubTask ' |
import NoData from '@common/components/noData' | import NoData from ' @ common/components/noData ' | import NoData [MASK] [MASK] @ common/components/noData ' |
import Loader from 'react-loader-spinner' | import Loader from 'react-loader-spinner ' | import Loader [MASK] 'react-loader-spinner ' |
} from '@utils/GanttChartUtils' | } from ' @ utils/GanttChartUtils ' | } from ' [MASK] utils/GanttChartUtils ' |
import useLocalization from '@hooks/useLocalization' | import useLocalization from ' @ hooks/useLocalization ' | import useLocalization from ' @ hooks/useLocalization [MASK] |