original_text
stringlengths 1
23.3k
| tokenized_code
stringlengths 1
25.1k
| masked_code
stringlengths 1
23.6k
|
---|---|---|
import { Button, Col, Container, Form, Row } from '@protolibrary/components' | import { Button , Col , Container , Form , Row } from ' @ protolibrary/components ' | [MASK] { Button , [MASK] , [MASK] , Form , Row } [MASK] ' @ protolibrary/components ' |
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 ' | import [MASK] from ' @ common/components/input-layout ' |
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 { [MASK] } from ' @ protoweb/utils ' |
import userService from '@services/UserService' | import userService from ' @ services/UserService ' | import userService from ' @ services/UserService ' |
import toastManager from '@common/toast/ToastManager' | import toastManager from ' @ common/toast/ToastManager ' | import [MASK] from ' @ [MASK] ' |
import { useLocationParams } from '@utils/LocationUtils' | import { useLocationParams } from ' @ utils/LocationUtils ' | import { useLocationParams } from ' @ utils/LocationUtils [MASK] |
import navigationService from '@common/navigation/NavigationService' | import navigationService from ' @ common/navigation/NavigationService ' | import navigationService from ' @ common/navigation/NavigationService ' |
const { id, userName, fullName } = useLocationParams(props) | const { id , userName , fullName } = useLocationParams ( props ) | const { id , userName , fullName } = useLocationParams ( props ) |
const refForm = React.useRef(null) | const refForm = React.useRef ( null ) | const refForm = [MASK] ( [MASK] ) |
const values = refForm.current.getValues() | const values = refForm.current.getValues ( ) | const values = refForm.current.getValues ( ) |
toastManager.show('success', 'Şifre başarıyla sıfırlandı.') | toastManager.show ( 'success ' , 'Şifre başarıyla sıfırlandı . ' ) | [MASK] ( 'success [MASK] , 'Şifre [MASK] 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 [MASK] ResetPassword |
import InputLayout from '@common/components/input-layout' | import InputLayout from ' @ common/components/input-layout ' | import [MASK] [MASK] ' [MASK] common/components/input-layout ' |
import PageHeader from '@common/components/page-header' | import PageHeader from ' @ common/components/page-header ' | import PageHeader from ' @ [MASK] [MASK] |
import toastManager from '@common/toast/ToastManager' | import toastManager from ' @ common/toast/ToastManager ' | [MASK] toastManager from ' @ common/toast/ToastManager [MASK] |
import { Form, Col, Container, Row, Button } from '@protolibrary/components' | import { Form , Col , Container , Row , Button } from ' @ protolibrary/components ' | [MASK] { Form , Col , Container , [MASK] , [MASK] } from ' @ protolibrary/components ' |
import { required } from '@protoweb/utils' | import { required } from ' @ protoweb/utils ' | import { [MASK] } from ' @ [MASK] ' |
import userService, { ChangePasswordData } from '@services/UserService' | import userService , { ChangePasswordData } from ' @ services/UserService ' | import userService [MASK] { ChangePasswordData } from ' @ services/UserService ' |
import React from 'react' | import React from 'react ' | [MASK] React from [MASK] ' |
import PasswordInput from '@common/components/password-input' | import PasswordInput from ' @ common/components/password-input ' | import PasswordInput from [MASK] @ common/components/password-input ' |
const refForm = React.useRef(null) | const refForm = React.useRef ( null ) | const refForm = React.useRef ( null ) |
const values = refForm.current.getValues() | const values = refForm.current.getValues ( ) | const [MASK] = refForm.current.getValues ( ) |
} | } | } |
toastManager.show('success', 'Şifre başarıyla değiştirildi.') | toastManager.show ( 'success ' , 'Şifre başarıyla değiştirildi . ' ) | toastManager.show [MASK] 'success ' , 'Şifre başarıyla [MASK] . ' [MASK] |
}) | } ) | } ) |
} | } | } |
) | ) | ) |
} | } | } |
export default ChangePassword | export default ChangePassword | export default ChangePassword |
import { Container } from '@protolibrary/components' | import { Container } from ' @ protolibrary/components ' | import { Container } [MASK] ' @ protolibrary/components ' |
import React from 'react' | import React from 'react ' | [MASK] React [MASK] 'react ' |
import Countdown from '../../components/countdown' | import Countdown from ' .. / .. /components/countdown ' | import Countdown from ' .. / .. /components/countdown ' |
) | ) | [MASK] |
} | } | } |
export default DashBoard | export default DashBoard | [MASK] [MASK] [MASK] |
import React from 'react' | import React from 'react ' | import React from 'react ' |
import BasePropTypes from '@common/models/BasePropTypes' | import BasePropTypes from ' @ common/models/BasePropTypes ' | import [MASK] from [MASK] @ common/models/BasePropTypes [MASK] |
} from '@protolibrary/components' | } from ' @ protolibrary/components ' | } from ' @ protolibrary/components ' |
import Button from '@protoweb/button' | import Button from ' @ protoweb/button ' | import Button from ' [MASK] protoweb/button ' |
import authService from '@services/AuthService' | import authService from ' @ services/AuthService ' | import [MASK] from ' @ services/AuthService ' |
import PasswordInput from '@common/components/password-input' | import PasswordInput from ' @ common/components/password-input ' | [MASK] PasswordInput [MASK] ' [MASK] common/components/password-input ' |
import COLORS from '@resources/colors' | import COLORS from ' @ resources/colors ' | import COLORS from ' @ resources/colors ' |
import { LOGO } from '../../layout/assets/icons' | import { LOGO } from ' .. / .. /layout/assets/icons ' | import { LOGO } from ' .. / .. /layout/assets/icons ' |
import useLocalization from '@hooks/useLocalization' | import useLocalization from ' @ hooks/useLocalization ' | import useLocalization from [MASK] [MASK] hooks/useLocalization ' |
fromCaptcha: boolean | fromCaptcha : boolean | [MASK] [MASK] boolean |
const formRef = React.useRef<any>() | const formRef = React.useRef < any > ( ) | const formRef = React.useRef < any [MASK] ( [MASK] |
const { t } = useLocalization() | const { t } = useLocalization ( ) | const [MASK] t } = useLocalization ( [MASK] |
let values = { userName: formValues?.userName, password: formValues?.password } | let values = { userName : formValues ? .userName , password : formValues ? .password } | let values = [MASK] userName [MASK] [MASK] ? [MASK] , password : formValues ? .password } |
authService.login(values, formValues?.rememberMe) | authService.login ( values , formValues ? .rememberMe ) | authService.login [MASK] values , formValues ? .rememberMe ) |
} | } | } |
} | } | } |
} | } | } |
) | ) | ) |
} | } | [MASK] |
export default Login | export default Login | export default Login |
import ErrorManager from '@common/error/ErrorManager' | import ErrorManager from ' @ common/error/ErrorManager ' | import [MASK] from ' @ common/error/ErrorManager ' |
import * as React from 'react' | import * as React from 'react ' | import [MASK] as [MASK] from 'react [MASK] |
import { useSelector } from 'react-redux' | import { useSelector } from 'react-redux ' | import { useSelector } from 'react-redux ' |
import { Route, Switch } from 'react-router-dom' | import { Route , Switch } from 'react-router-dom ' | [MASK] { Route , Switch } from 'react-router-dom ' |
import 'react-tippy/dist/tippy.css' | import 'react-tippy/dist/tippy.css ' | import 'react-tippy/dist/tippy.css ' |
import { ToastContainer } from 'react-toastify' | import { ToastContainer } from 'react-toastify ' | import { ToastContainer } [MASK] 'react-toastify ' |
import 'react-toastify/dist/ReactToastify.css' | import 'react-toastify/dist/ReactToastify.css ' | [MASK] [MASK] ' |
import Loader from './components/Loader' | import Loader from './components/Loader ' | import Loader from './components/Loader ' |
import { useStore } from '@core/states' | import { useStore } from ' @ core/states ' | import { useStore } from ' @ core/states ' |
import DashBoard from './pages/authenticated/Dashboard' | import DashBoard from './pages/authenticated/Dashboard ' | import DashBoard [MASK] [MASK] ' |
import OrderPage from './pages/authenticated/order-management' | import OrderPage from './pages/authenticated/order-management ' | [MASK] OrderPage from './pages/authenticated/order-management ' |
import NewOrderPage from './pages/authenticated/order-management/pages/NewOrder' | import NewOrderPage from './pages/authenticated/order-management/pages/NewOrder ' | import NewOrderPage [MASK] './pages/authenticated/order-management/pages/NewOrder [MASK] |
import Login from './pages/guest/Login' | import Login from './pages/guest/Login ' | import Login from './pages/guest/Login ' |
import navigationService from '@common/navigation/NavigationService' | import navigationService from ' @ common/navigation/NavigationService ' | import navigationService from [MASK] @ common/navigation/NavigationService ' |
import 'primeflex/primeflex.css' | import 'primeflex/primeflex.css ' | import 'primeflex/primeflex.css ' |
import 'react-toastify/dist/ReactToastify.css' | import 'react-toastify/dist/ReactToastify.css ' | import 'react-toastify/dist/ReactToastify.css ' |
import './assets/css/custom.css' | import './assets/css/custom.css ' | [MASK] './assets/css/custom.css ' |
import './assets/css/main.scss' | import './assets/css/main.scss ' | import './assets/css/main.scss ' |
import './assets/css/tooltip.css' | import './assets/css/tooltip.css ' | import './assets/css/tooltip.css ' |
import GenericModal from '@components/GenericModal' | import GenericModal from ' @ components/GenericModal ' | import GenericModal from ' @ [MASK] ' |
import Layout from './layout' | import Layout from './layout ' | import Layout from [MASK] ' |
import TaskManagement from './pages/authenticated/task-management' | import TaskManagement from './pages/authenticated/task-management ' | import [MASK] from './pages/authenticated/task-management ' |
import RoleManagement from './pages/authenticated/role-management' | import RoleManagement from './pages/authenticated/role-management ' | import RoleManagement from './pages/authenticated/role-management [MASK] |
import UserManagement from './pages/authenticated/user-management' | import UserManagement from './pages/authenticated/user-management ' | import UserManagement from [MASK] ' |
import UserCreateUpdate from './pages/authenticated/user-management/pages/UserCreateUpdate' | import UserCreateUpdate from './pages/authenticated/user-management/pages/UserCreateUpdate ' | [MASK] UserCreateUpdate from [MASK] ' |
import CreateUpdateTask from './pages/authenticated/task-management/pages/CreateUpdateTask' | import CreateUpdateTask from './pages/authenticated/task-management/pages/CreateUpdateTask ' | import CreateUpdateTask from './pages/authenticated/task-management/pages/CreateUpdateTask [MASK] |
import CreateUpdateRole from './pages/authenticated/role-management/pages/CreateUpdateRole' | import CreateUpdateRole from './pages/authenticated/role-management/pages/CreateUpdateRole ' | import CreateUpdateRole from './pages/authenticated/role-management/pages/CreateUpdateRole ' |
import authState from '@core/states/AuthState' | import authState from ' @ core/states/AuthState ' | import authState from ' @ core/states/AuthState ' |
import accountService from '@services/Account' | import accountService from ' @ services/Account ' | import accountService from [MASK] @ services/Account ' |
import NAVIGATION_PATHS from '@common/navigation/NavigationPaths' | import NAVIGATION_PATHS from ' @ common/navigation/NavigationPaths ' | import NAVIGATION_PATHS from ' @ common/navigation/NavigationPaths ' |
import OrderDetail from './pages/authenticated/order-management/pages/OrderDetail' | import OrderDetail from './pages/authenticated/order-management/pages/OrderDetail ' | import OrderDetail [MASK] './pages/authenticated/order-management/pages/OrderDetail ' |
import OrderVehicleDetail from './pages/authenticated/order-management/pages/OrderVehicleDetail' | import OrderVehicleDetail from './pages/authenticated/order-management/pages/OrderVehicleDetail ' | [MASK] OrderVehicleDetail [MASK] './pages/authenticated/order-management/pages/OrderVehicleDetail ' |
import ChangePassword from './pages/authenticated/user-management/pages/ChangePassword' | import ChangePassword from './pages/authenticated/user-management/pages/ChangePassword ' | import ChangePassword from './pages/authenticated/user-management/pages/ChangePassword ' |
import ResetPassword from './pages/authenticated/user-management/pages/ResetPassword' | import ResetPassword from './pages/authenticated/user-management/pages/ResetPassword ' | import ResetPassword from './pages/authenticated/user-management/pages/ResetPassword ' |
import en from 'public/lang/en.json' | import en from 'public/lang/en.json ' | [MASK] [MASK] from 'public/lang/en.json ' |
import tr from 'public/lang/tr.json' | import tr from 'public/lang/tr.json ' | import tr from 'public/lang/tr.json ' |
import LocalizedStrings from '@localization/LocalizedStrings' | import LocalizedStrings from ' @ localization/LocalizedStrings ' | import LocalizedStrings from ' @ localization/LocalizedStrings ' |
import CustomerManagement from './pages/authenticated/customer-management' | import CustomerManagement from './pages/authenticated/customer-management ' | import CustomerManagement from [MASK] ' |