original_text
stringlengths
1
23.3k
tokenized_code
stringlengths
1
25.1k
masked_code
stringlengths
1
23.6k
import React from 'react'
import React from 'react '
import React [MASK] [MASK] '
import { createRoot } from 'react-dom/client'
import { createRoot } from 'react-dom/client '
import [MASK] createRoot } from 'react-dom/client [MASK]
import navigationService from '@common/navigation/NavigationService'
import navigationService from ' @ common/navigation/NavigationService '
[MASK] navigationService from ' @ common/navigation/NavigationService '
import App from './App'
import App from './App '
import App from './App '
import('./store')
import ( './store ' )
import ( './store ' )
const container = document.getElementById('root')
const container = document.getElementById ( 'root ' )
const container = document.getElementById ( 'root ' )
const root = createRoot(container)
const root = createRoot ( container )
[MASK] root = createRoot [MASK] container )
root.render(<App />)
root.render ( < App / > )
root.render [MASK] < App / [MASK] )
console.log('An error occurred while accepting new version: ', err)
console.log ( 'An error occurred while accepting new version : ' , err )
console.log [MASK] 'An error [MASK] while accepting new version [MASK] [MASK] , [MASK] )
})
} )
[MASK] )
navigationService.goBack()
navigationService.goBack ( )
navigationService.goBack ( [MASK]
}
}
}
import React from 'react'
import React from 'react '
import React from 'react '
import { Provider } from 'react-redux'
import { Provider } from 'react-redux '
import { Provider } from 'react-redux [MASK]
import BasePropTypes from '@common/models/BasePropTypes'
import BasePropTypes from ' @ common/models/BasePropTypes '
[MASK] [MASK] from ' @ common/models/BasePropTypes '
import { routeManager } from '@protolibrary/core'
import { routeManager } from ' @ protolibrary/core '
import { routeManager } from ' @ protolibrary/core '
import storeConfiguration from './store'
import storeConfiguration from './store '
[MASK] storeConfiguration from './store '
import './assets/css/tooltip.css'
import './assets/css/tooltip.css '
import './assets/css/tooltip.css '
import './assets/fonts/style.scss'
import './assets/fonts/style.scss '
import './assets/fonts/style.scss '
import './assets/colors/style.scss'
import './assets/colors/style.scss '
import './assets/colors/style.scss '
import './assets/css/main.scss'
import './assets/css/main.scss '
[MASK] './assets/css/main.scss [MASK]
import 'prototable/index.css'
import 'prototable/index.css '
import 'prototable/index.css '
import { ThemeApp } from './ThemeApp'
import { ThemeApp } from './ThemeApp '
import [MASK] ThemeApp } from './ThemeApp [MASK]
import { ErrorBoundary } from 'react-error-boundary'
import { ErrorBoundary } from 'react-error-boundary '
[MASK] { ErrorBoundary } [MASK] 'react-error-boundary '
import ErrorFallback from '@common/error/ErrorFallback'
import ErrorFallback from ' @ common/error/ErrorFallback '
import ErrorFallback [MASK] ' @ common/error/ErrorFallback '
import LocalStorage from '@common/storage/Storage'
import LocalStorage from ' @ common/storage/Storage '
import LocalStorage from ' @ common/storage/Storage '
super(props)
super ( props )
super ( [MASK] )
routeManager.generateRoutes('', {}, {}, '', {})
routeManager.generateRoutes ( `` , { } , { } , `` , { } )
routeManager.generateRoutes [MASK] [MASK] , { [MASK] , [MASK] } , `` , { } )
LocalStorage.delete('x-app-version')
LocalStorage.delete ( ' x-app-version ' )
LocalStorage.delete ( [MASK] x-app-version ' )
)
)
[MASK]
export default App
export default App
export default App
import ProtoContextProvider from '@common/hocs/ProtoContext'
import ProtoContextProvider from ' @ common/hocs/ProtoContext '
import ProtoContextProvider from ' @ common/hocs/ProtoContext '
import { ConnectedRouter } from '@protolibrary/core'
import { ConnectedRouter } from ' @ protolibrary/core '
[MASK] [MASK] ConnectedRouter } from ' @ [MASK] '
import React, { useEffect, useState } from 'react'
import React , { useEffect , useState } from 'react '
import React , { useEffect , useState } [MASK] 'react '
import AppMain from './AppMain'
import AppMain from './AppMain '
import AppMain from './AppMain '
import storeConfiguration from './store'
import storeConfiguration from './store '
import storeConfiguration from './store '
import { DARK_THEME, LIGHT_THEME } from './themes'
import { DARK_THEME , LIGHT_THEME } from './themes '
import { DARK_THEME [MASK] LIGHT_THEME } from './themes '
import { default as ProtoProvider } from '@protoweb/provider'
import { default as ProtoProvider } from ' @ protoweb/provider '
[MASK] { [MASK] as ProtoProvider } from ' @ protoweb/provider '
import { Route } from 'react-router-dom'
import { Route } from 'react-router-dom '
[MASK] { Route } [MASK] [MASK] [MASK]
import { useStore } from '@core/states'
import { useStore } from ' @ core/states '
import { useStore } from ' @ [MASK] '
import Block from '@protoweb/block'
import Block from ' @ protoweb/block '
import Block [MASK] [MASK] @ protoweb/block '
import NewVersionModal from '@common/modals/NewVersionModal'
import NewVersionModal from ' @ common/modals/NewVersionModal '
import NewVersionModal from ' @ common/modals/NewVersionModal '
import appState from '@core/states/AppState'
import appState from ' @ core/states/AppState '
[MASK] appState from ' @ [MASK] '
const { theme, newVersion } = useStore('appState')
const { theme , newVersion } = useStore ( 'appState ' )
const { theme , newVersion } = useStore ( 'appState ' )
const [showModal, setShowModal] = useState(false)
const [ showModal , setShowModal ] = useState ( false )
const [ showModal , [MASK] ] = useState ( false )
setShowModal(true)
setShowModal ( true )
[MASK] ( true )
}, [newVersion])
} , [ newVersion ] )
} , [ newVersion [MASK] [MASK]
setShowModal(false)
setShowModal ( false )
setShowModal ( false )
appState.update({ newVersion: false })
appState.update ( { newVersion : false } )
appState.update ( [MASK] newVersion : false } )
)
)
)
}
}
[MASK]
import { configure, addAjaxEnricher, routeReducer } from '@protolibrary/core'
import { configure , addAjaxEnricher , routeReducer } from ' @ protolibrary/core '
import { configure , addAjaxEnricher , routeReducer } from ' @ protolibrary/core '
import setupAxiosInterceptors from './core/configuration/axios'
import setupAxiosInterceptors from './core/configuration/axios '
import setupAxiosInterceptors from [MASK] '
import ajaxEnricher from './core/configuration/enricher'
import ajaxEnricher from './core/configuration/enricher '
import ajaxEnricher from './core/configuration/enricher '
setupAxiosInterceptors()
setupAxiosInterceptors ( )
setupAxiosInterceptors ( )
addAjaxEnricher(ajaxEnricher)
addAjaxEnricher ( ajaxEnricher )
addAjaxEnricher ( ajaxEnricher )
const storeConfiguration = configure({ routing: routeReducer }, [])
const storeConfiguration = configure ( { routing : routeReducer } , [ ] )
const storeConfiguration = configure ( { routing : routeReducer } [MASK] [ ] [MASK]
export default storeConfiguration
export default storeConfiguration
export [MASK] storeConfiguration
import InputLayout from '@common/components/input-layout'
import InputLayout from ' @ common/components/input-layout '
[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] @ 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 ' @ [MASK] '
import { NavigationOperationType } from '@common/navigation/NavigationTypes'
import { NavigationOperationType } from ' @ common/navigation/NavigationTypes '
import { NavigationOperationType [MASK] [MASK] ' @ 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 '
import { TextField , Form , Col , [MASK] , Row , Button [MASK] [MASK] [MASK] @ protolibrary/components '
import { email, required } from '@protoweb/utils'
import { email , required } from ' @ protoweb/utils '
import { [MASK] , required } from ' [MASK] protoweb/utils '
import roleService from '@services/RoleService'
import roleService from ' @ services/RoleService '
[MASK] roleService from ' @ [MASK] '
import userService, { User } from '@services/UserService'
import userService , { User } from ' @ services/UserService '
import [MASK] [MASK] { User } from [MASK] @ services/UserService [MASK]
import { useLocationParams } from '@utils/LocationUtils'
import { useLocationParams } from ' @ utils/LocationUtils '
import { useLocationParams } from ' @ utils/LocationUtils '
import React, { useEffect, useState } from 'react'
import React , { useEffect , useState } from 'react '
import React , [MASK] useEffect , [MASK] } from 'react [MASK]
import PasswordInput from '@common/components/password-input'
import PasswordInput from ' @ common/components/password-input '
import PasswordInput [MASK] ' [MASK] common/components/password-input '
const { operationType, id } = useLocationParams(props)
const { operationType , id } = useLocationParams ( props )
const { operationType , id } = useLocationParams ( props [MASK]
const [data, setData] = useState<User>(null)
const [ data , setData ] = useState < User > ( null )
const [ [MASK] , setData ] = useState < User > ( null )
const refForm = React.useRef(null)
const refForm = React.useRef ( null )
const [MASK] = React.useRef [MASK] null [MASK]
const values = refForm.current.getValues()
const values = refForm.current.getValues ( )
const values = refForm.current.getValues ( )
}
}
}
toastManager.show('success', 'Kullanıcı basariyla olusturuldu')
toastManager.show ( 'success ' , 'Kullanıcı basariyla olusturuldu ' )
toastManager.show ( 'success [MASK] , 'Kullanıcı basariyla olusturuldu ' )
navigationService.push('/system-management/user-management')
navigationService.push ( '/system-management/user-management ' )
navigationService.push [MASK] '/system-management/user-management [MASK] )
})
} )
} [MASK]
}
}
}
toastManager.show('success', 'Kullanıcı başarıyla guncellendi')
toastManager.show ( 'success ' , 'Kullanıcı başarıyla guncellendi ' )
toastManager.show ( 'success ' , 'Kullanıcı başarıyla guncellendi ' [MASK]
navigationService.push('/system-management/user-management')
navigationService.push ( '/system-management/user-management ' )
navigationService.push ( '/system-management/user-management ' )
})
} )
} )
}
}
[MASK]
setData(res)
setData ( res )
setData ( res )
refForm.current.setValues(res)
refForm.current.setValues ( res )
refForm.current.setValues ( res )
})
} )
[MASK] )
}, [])
} , [ ] )
} , [ ] [MASK]
)
)
)
}
}
}
export default UserCreateUpdate
export default UserCreateUpdate
export [MASK] UserCreateUpdate
import React from 'react'
import React from 'react '
[MASK] React [MASK] 'react '
import BasePropTypes from '@common/models/BasePropTypes'
import BasePropTypes from ' @ common/models/BasePropTypes '
import [MASK] from ' @ common/models/BasePropTypes '
import { Block, BackgroundImage, Label } from '@protolibrary/components'
import { Block , BackgroundImage , Label } from ' @ protolibrary/components '
import { [MASK] , BackgroundImage , Label } [MASK] ' @ protolibrary/components '
import COLORS from '@resources/colors'
import COLORS from ' @ resources/colors '
import COLORS [MASK] ' @ resources/colors '
fromCaptcha: boolean
fromCaptcha : boolean
fromCaptcha : boolean
)
)
)
}
}
[MASK]
export default WelcomePage
export default WelcomePage
export default WelcomePage
import React from 'react'
import React from 'react '
import React from 'react '

No dataset card yet

New: Create and edit this dataset card directly on the website!

Contribute a Dataset Card
Downloads last month
10
Add dataset card