original_text
stringlengths 1
23.3k
| tokenized_code
stringlengths 1
25.1k
| masked_code
stringlengths 1
23.6k
|
---|---|---|
} | } | } |
loadData() | loadData ( ) | loadData ( ) |
}, []) | } , [ ] ) | } , [ [MASK] ) |
}) | } ) | } ) |
} | } | } |
resetTable() | resetTable ( ) | resetTable ( ) |
} | } | } |
setShowConfirmModal(false) | setShowConfirmModal ( false ) | setShowConfirmModal [MASK] false [MASK] |
userService.delete(deleteData.id).then(resetTable) | userService.delete ( deleteData.id ) .then ( resetTable ) | userService.delete ( deleteData.id ) .then ( resetTable ) |
) | ) | ) |
} | } | } |
export default RoleManagement | export default RoleManagement | export default RoleManagement |
import InputLayout from '@common/components/input-layout' | import InputLayout from ' @ common/components/input-layout ' | import InputLayout [MASK] ' @ common/components/input-layout ' |
import PageHeader from '@common/components/page-header' | import PageHeader from ' @ common/components/page-header ' | import PageHeader [MASK] ' @ common/components/page-header ' |
import toastManager from '@common/toast/ToastManager' | import toastManager from ' @ common/toast/ToastManager ' | import toastManager from ' @ common/toast/ToastManager ' |
import { Form, Col, Container, Row, Button } from '@protolibrary/components' | import { Form , Col , Container , Row , Button } from ' @ protolibrary/components ' | import { Form , Col [MASK] [MASK] [MASK] Row , Button } from ' @ protolibrary/components ' |
import { required } from '@protoweb/utils' | import { required } from ' @ protoweb/utils ' | import { required } from ' @ protoweb/utils [MASK] |
import userService, { ChangePasswordData } from '@services/UserService' | import userService , { ChangePasswordData } from ' @ services/UserService ' | import userService [MASK] [MASK] ChangePasswordData } from ' [MASK] services/UserService ' |
import React from 'react' | import React from 'react ' | import React [MASK] 'react ' |
import PasswordInput from '@common/components/password-input' | import PasswordInput from ' @ common/components/password-input ' | import PasswordInput from ' @ common/components/password-input [MASK] |
import useLocalization from '@hooks/useLocalization' | import useLocalization from ' @ hooks/useLocalization ' | [MASK] useLocalization [MASK] ' @ hooks/useLocalization ' |
const refForm = React.useRef(null) | const refForm = React.useRef ( null ) | const refForm [MASK] React.useRef ( null [MASK] |
const { t } = useLocalization() | const { t } = useLocalization ( ) | [MASK] { t } [MASK] useLocalization ( ) |
const values = refForm.current.getValues() | const values = refForm.current.getValues ( ) | const values = refForm.current.getValues ( [MASK] |
} | } | } |
toastManager.show('success', t("sifre_basariyla_degistirildi.")) | toastManager.show ( 'success ' , t ( `` sifre_basariyla_degistirildi . '' ) ) | toastManager.show ( 'success ' , t ( `` [MASK] . [MASK] ) ) |
}) | } ) | [MASK] ) |
} | } | } |
) | ) | ) |
} | } | } |
export default ChangePassword | export default ChangePassword | export default ChangePassword |
import React from 'react' | import React from 'react ' | import React from 'react ' |
import { Button, Col, Container, Form, Row } from '@protolibrary/components' | import { Button , Col , Container , Form , Row } from ' @ protolibrary/components ' | import { Button , Col , [MASK] [MASK] Form , Row } from ' [MASK] [MASK] ' |
import PageHeader from '@common/components/page-header' | import PageHeader from ' @ common/components/page-header ' | import PageHeader from ' @ common/components/page-header ' |
import InputLayout from '@common/components/input-layout' | import InputLayout from ' @ common/components/input-layout ' | [MASK] InputLayout from ' @ common/components/input-layout [MASK] |
import PasswordInput from '@common/components/password-input' | import PasswordInput from ' @ common/components/password-input ' | import PasswordInput from ' @ common/components/password-input ' |
import { required } from '@protoweb/utils' | import { required } from ' @ protoweb/utils ' | import { required } from ' @ [MASK] ' |
import userService from '@services/UserService' | import userService from ' @ services/UserService ' | import userService from ' [MASK] services/UserService ' |
import toastManager from '@common/toast/ToastManager' | import toastManager from ' @ common/toast/ToastManager ' | import toastManager from ' @ common/toast/ToastManager ' |
import { useLocationParams } from '@utils/LocationUtils' | import { useLocationParams } from ' @ utils/LocationUtils ' | import { useLocationParams } from ' [MASK] utils/LocationUtils [MASK] |
import navigationService from '@common/navigation/NavigationService' | import navigationService from ' @ common/navigation/NavigationService ' | import [MASK] from ' @ common/navigation/NavigationService [MASK] |
import useLocalization from '@hooks/useLocalization' | import useLocalization from ' @ hooks/useLocalization ' | import [MASK] from ' @ hooks/useLocalization ' |
const { id, userName, fullName } = useLocationParams(props) | const { id , userName , fullName } = useLocationParams ( props ) | const [MASK] [MASK] , userName , fullName } = [MASK] ( props ) |
const refForm = React.useRef(null) | const refForm = React.useRef ( null ) | const [MASK] = React.useRef ( [MASK] ) |
const { t } = useLocalization() | const { t } = useLocalization ( ) | const { t [MASK] = useLocalization ( ) |
const values = refForm.current.getValues() | const values = refForm.current.getValues ( ) | [MASK] values = refForm.current.getValues ( [MASK] |
toastManager.show('success', t('Şifre başarıyla sıfırlandı.')) | toastManager.show ( 'success ' , t ( 'Şifre başarıyla sıfırlandı . ' ) ) | toastManager.show ( [MASK] ' , t ( 'Şifre başarıyla sıfırlandı . ' ) ) |
navigationService.push('/system-management/user-management') | navigationService.push ( '/system-management/user-management ' ) | navigationService.push ( '/system-management/user-management ' [MASK] |
}) | } ) | } [MASK] |
} | } | } |
) | ) | ) |
} | } | [MASK] |
export default ResetPassword | export default ResetPassword | export default ResetPassword |
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 ' | [MASK] PageHeader from [MASK] [MASK] common/components/page-header ' |
import RemoteSelect from '@common/components/remote-select' | import RemoteSelect from ' @ common/components/remote-select ' | import RemoteSelect from ' @ common/components/remote-select ' |
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 ' | [MASK] { NavigationOperationType } from ' [MASK] common/navigation/NavigationTypes ' |
import toastManager from '@common/toast/ToastManager' | import toastManager from ' @ common/toast/ToastManager ' | [MASK] 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 ' | import { [MASK] , Form [MASK] Col , Container , [MASK] [MASK] Button } [MASK] ' @ [MASK] [MASK] |
import { email, required } from '@protoweb/utils' | import { email , required } from ' @ protoweb/utils ' | import { email , required } from ' @ protoweb/utils ' |
import roleService from '@services/RoleService' | import roleService from ' @ services/RoleService ' | import roleService from ' @ [MASK] ' |
import userService, { User } from '@services/UserService' | import userService , { User } from ' @ services/UserService ' | import userService [MASK] { User } [MASK] ' @ services/UserService ' |
import { useLocationParams } from '@utils/LocationUtils' | import { useLocationParams } from ' @ utils/LocationUtils ' | import [MASK] useLocationParams } from ' @ utils/LocationUtils ' |
import React, { useEffect, useState } from 'react' | import React , { useEffect , useState } from 'react ' | import React , { useEffect , useState [MASK] from [MASK] ' |
import PasswordInput from '@common/components/password-input' | import PasswordInput from ' @ common/components/password-input ' | import [MASK] from ' @ common/components/password-input ' |
import useLocalization from '@hooks/useLocalization' | import useLocalization from ' @ hooks/useLocalization ' | import useLocalization from [MASK] @ hooks/useLocalization ' |
const { operationType, id } = useLocationParams(props) | const { operationType , id } = useLocationParams ( props ) | const [MASK] operationType , id } = useLocationParams ( [MASK] ) |
const [data, setData] = useState<User>(null) | const [ data , setData ] = useState < User > ( null ) | const [MASK] data , [MASK] ] = useState < User > [MASK] null ) |
const refForm = React.useRef(null) | const refForm = React.useRef ( null ) | const refForm = React.useRef [MASK] [MASK] ) |
const { t } = useLocalization() | const { t } = useLocalization ( ) | const { t } [MASK] useLocalization ( ) |
const values = refForm.current.getValues() | const values = refForm.current.getValues ( ) | const [MASK] = refForm.current.getValues ( ) |
} | } | [MASK] |
toastManager.show('success', t('Kullanıcı basariyla olusturuldu')) | toastManager.show ( 'success ' , t ( 'Kullanıcı basariyla olusturuldu ' ) ) | [MASK] ( 'success ' , [MASK] ( [MASK] basariyla olusturuldu [MASK] [MASK] ) |
navigationService.push('/system-management/user-management') | navigationService.push ( '/system-management/user-management ' ) | navigationService.push ( '/system-management/user-management [MASK] ) |
}) | } ) | } ) |
} | } | [MASK] |
toastManager.show('success', t('Kullanıcı başarıyla guncellendi')) | toastManager.show ( 'success ' , t ( 'Kullanıcı başarıyla guncellendi ' ) ) | toastManager.show ( [MASK] ' , t ( 'Kullanıcı başarıyla guncellendi ' ) ) |
navigationService.push('/system-management/user-management') | navigationService.push ( '/system-management/user-management ' ) | [MASK] ( '/system-management/user-management ' ) |
}) | } ) | } ) |
} | } | } |
setData(res) | setData ( res ) | setData ( res [MASK] |
refForm.current.setValues(res) | refForm.current.setValues ( res ) | refForm.current.setValues ( res ) |
}) | } ) | [MASK] ) |
}, []) | } , [ ] ) | } , [MASK] [MASK] ) |
) | ) | ) |
} | } | [MASK] |
export default UserCreateUpdate | export default UserCreateUpdate | [MASK] default UserCreateUpdate |
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 [MASK] [MASK] @ common/components/page-header ' |
import TableIcon from '@common/components/table-icon' | import TableIcon from ' @ common/components/table-icon ' | import TableIcon from ' @ common/components/table-icon ' |
} from '@protolibrary/components' | } from ' @ protolibrary/components ' | [MASK] [MASK] ' @ protolibrary/components ' |
import { defaultRemoteGridOptions, prepareFilter } from '@utils/DataTableUtils' | import { defaultRemoteGridOptions , prepareFilter } from ' @ utils/DataTableUtils ' | [MASK] { [MASK] , prepareFilter } from ' @ utils/DataTableUtils ' |
import React, { useEffect, useRef } from 'react' | import React , { useEffect , useRef } from 'react ' | import React , { [MASK] [MASK] useRef } from 'react ' |
import ConfirmationModal from '@common/components/confirmation-modal/ConfirmationModal' | import ConfirmationModal from ' @ common/components/confirmation-modal/ConfirmationModal ' | import ConfirmationModal from ' @ common/components/confirmation-modal/ConfirmationModal ' |
import navigationService from '@common/navigation/NavigationService' | import navigationService from ' @ common/navigation/NavigationService ' | import navigationService from [MASK] [MASK] common/navigation/NavigationService ' |
import { NavigationOperationType } from '@common/navigation/NavigationTypes' | import { NavigationOperationType } from ' @ common/navigation/NavigationTypes ' | import { [MASK] } from ' [MASK] common/navigation/NavigationTypes ' |
import { SaveParameter } from '@services/ParameterService' | import { SaveParameter } from ' @ services/ParameterService ' | import [MASK] SaveParameter } from ' @ services/ParameterService ' |
import customerService from '@services/CustomerService' | import customerService from ' @ services/CustomerService ' | import customerService from ' @ services/CustomerService ' |
import useLocalization from '@hooks/useLocalization' | import useLocalization from ' @ hooks/useLocalization ' | import useLocalization from ' @ hooks/useLocalization [MASK] |