original_text
stringlengths 1
23.3k
| tokenized_code
stringlengths 1
25.1k
| masked_code
stringlengths 1
23.6k
|
---|---|---|
lastToastRef: string | number | React.ReactText | lastToastRef : string | number | React.ReactText | lastToastRef : string | number | React.ReactText |
} | } | } |
this.lastToastRef = null | this.lastToastRef = null | this.lastToastRef = null |
}) | } ) | } [MASK] |
return this.lastToastRef | return this.lastToastRef | return this.lastToastRef |
} | } | } |
toast.dismiss(id) | toast.dismiss ( id ) | toast.dismiss ( id ) |
} | } | } |
const toastManager = new ToastManager() | const toastManager = new ToastManager ( ) | const [MASK] = new ToastManager ( ) |
export default toastManager | export default toastManager | export default toastManager |
import { routeActions } from '@protolibrary/core' | import { routeActions } from ' @ protolibrary/core ' | import { routeActions } from ' @ protolibrary/core [MASK] |
import { menuState } from '@core/states' | import { menuState } from ' @ core/states ' | import [MASK] [MASK] } [MASK] ' @ [MASK] [MASK] |
import SessionStorage from '@common/storage/SessionStorage' | import SessionStorage from ' @ common/storage/SessionStorage ' | import SessionStorage from ' [MASK] [MASK] ' |
import NAVIGATION_PATHS from './NavigationPaths' | import NAVIGATION_PATHS from './NavigationPaths ' | import [MASK] [MASK] './NavigationPaths ' |
const DEFAULT_PATH = NAVIGATION_PATHS.SYSTEM_MANAGEMENT.ORDER.BASE | const DEFAULT_PATH = NAVIGATION_PATHS.SYSTEM_MANAGEMENT.ORDER.BASE | const DEFAULT_PATH = NAVIGATION_PATHS.SYSTEM_MANAGEMENT.ORDER.BASE |
SessionStorage.save('routePath', path === 'null' ? DEFAULT_PATH : path) | SessionStorage.save ( 'routePath ' , path === 'null ' ? DEFAULT_PATH : path ) | [MASK] ( [MASK] [MASK] , path [MASK] 'null ' ? DEFAULT_PATH [MASK] [MASK] ) |
SessionStorage.save('routeParameters', JSON.stringify(params)) | SessionStorage.save ( 'routeParameters ' , JSON.stringify ( params ) ) | SessionStorage.save ( 'routeParameters ' , JSON.stringify ( params ) ) |
menuState.setSelectedMenuUrl(path === 'null' ? DEFAULT_PATH : path) | menuState.setSelectedMenuUrl ( path === 'null ' ? DEFAULT_PATH : path ) | menuState.setSelectedMenuUrl ( [MASK] === 'null ' ? DEFAULT_PATH : path [MASK] |
routeActions.push({ pathname: path === 'null' ? DEFAULT_PATH : path, state: params }) | routeActions.push ( { pathname : path === 'null ' ? DEFAULT_PATH : path , state : params } ) | routeActions.push ( { pathname : path === 'null ' ? [MASK] : path , state : [MASK] } ) |
} | } | } |
routeActions.goBack() | routeActions.goBack ( ) | routeActions.goBack ( [MASK] |
} | } | } |
const navigationService = new NavigationService() | const navigationService = new NavigationService ( ) | const navigationService [MASK] new NavigationService ( ) |
export default navigationService | export default navigationService | export [MASK] [MASK] |
import { Button, Row, Block, Modal, Element } from '@protolibrary/components' | import { Button , Row , Block , Modal , Element } from ' @ protolibrary/components ' | import { Button , Row , Block , Modal , [MASK] } from ' [MASK] protolibrary/components [MASK] |
import React from 'react' | import React from 'react ' | import React from 'react ' |
import useLocalization from '@hooks/useLocalization' | import useLocalization from ' @ hooks/useLocalization ' | [MASK] useLocalization from ' @ hooks/useLocalization ' |
show: boolean | show : boolean | show : boolean |
onClose: any | onClose : any | onClose : any |
onSave: any | onSave : any | onSave : [MASK] |
title: any | title : any | title : any |
const { t } = useLocalization() | const { t } = useLocalization ( ) | [MASK] { t } = useLocalization ( ) |
onClose() | onClose ( ) | onClose ( ) |
onSave() | onSave ( ) | onSave ( ) |
) | ) | ) |
} | } | [MASK] |
export default DeleteModal | export default DeleteModal | [MASK] default DeleteModal |
import GenericModal from '@common/components/generic-modal' | import GenericModal from ' @ common/components/generic-modal ' | import GenericModal from ' @ common/components/generic-modal ' |
import React from 'react' | import React from 'react ' | import [MASK] from 'react ' |
import { Block, Label } from '@protolibrary/components' | import { Block , Label } from ' @ protolibrary/components ' | [MASK] { Block , Label } from ' @ protolibrary/components ' |
import LocalStorage from '@common/storage/Storage' | import LocalStorage from ' @ common/storage/Storage ' | import [MASK] from ' @ common/storage/Storage ' |
onClose() | onClose ( ) | onClose ( ) |
LocalStorage.delete('x-app-version').then(() => window.location.reload()) | LocalStorage.delete ( ' x-app-version ' ) .then ( ( ) = > window.location.reload ( ) ) | [MASK] [MASK] [MASK] [MASK] ' ) .then ( [MASK] ) = > [MASK] [MASK] ) ) |
) | ) | [MASK] |
} | } | [MASK] |
export default NewVersionModal | export default NewVersionModal | export default NewVersionModal |
import { Button, Row, Block, Modal, Element } from '@protolibrary/components' | import { Button , Row , Block , Modal , Element } from ' @ protolibrary/components ' | import [MASK] [MASK] , Row , Block , [MASK] , Element } from ' @ [MASK] ' |
import React from 'react' | import React from 'react ' | import [MASK] [MASK] 'react [MASK] |
import useLocalization from '@hooks/useLocalization' | import useLocalization from ' @ hooks/useLocalization ' | import useLocalization from [MASK] @ hooks/useLocalization ' |
show: boolean | show : boolean | show : boolean |
onClose: any | onClose : any | onClose : any |
onSave: any | onSave : any | onSave [MASK] any |
title: any | title : any | title : any |
const { t } = useLocalization() | const { t } = useLocalization ( ) | const { t } = useLocalization ( ) |
onClose() | onClose ( ) | onClose ( [MASK] |
onClose() | onClose ( ) | onClose ( ) |
onSave() | onSave ( ) | [MASK] ( ) |
// onClose() | // onClose ( ) | // [MASK] ( ) |
) | ) | ) |
} | } | } |
export default DeleteModal | export default DeleteModal | export default DeleteModal |
import BaseModel from './BaseModel' | import BaseModel from './BaseModel ' | import BaseModel from './BaseModel ' |
import BaseResponse from './BaseResponse' | import BaseResponse from './BaseResponse ' | import BaseResponse from './BaseResponse ' |
data: any | data : any | data [MASK] any |
errorCode: string | errorCode : string | errorCode : string |
errorDescription: string | errorDescription : string | errorDescription [MASK] string |
import { convertToBase64 } from '@utils/DownloadExcel' | import { convertToBase64 } from ' @ utils/DownloadExcel ' | import { convertToBase64 [MASK] from ' @ utils/DownloadExcel ' |
type DocClassNames = 'doc_Police' | 'doc_Fatura' | type DocClassNames = 'doc_Police ' | 'doc_Fatura ' | [MASK] DocClassNames = 'doc_Police [MASK] | 'doc_Fatura ' |
| 'prp_FaturaNo' | | 'prp_FaturaNo ' | | 'prp_FaturaNo ' |
type SymbolicTypes = 'S' | 'I' | 'D' | 'F' | type SymbolicTypes = 'S ' | ' I ' | 'D ' | ' F ' | type SymbolicTypes [MASK] 'S ' | ' I ' | 'D ' | ' [MASK] ' |
docClassName: DocClassNames | docClassName : DocClassNames | [MASK] : DocClassNames |
docContent: { docMimeType: string | docContent : { docMimeType : string | [MASK] : { docMimeType : string |
docTitle: string | docTitle : string | docTitle : string |
docBase64?: string } | docBase64 ? : string } | docBase64 ? : string } |
prp_SymbolicName: SymbolicNames | prp_SymbolicName : SymbolicNames | [MASK] : SymbolicNames |
prp_Type: SymbolicTypes | prp_Type : SymbolicTypes | prp_Type : SymbolicTypes |
prp_Value: string | number | prp_Value : string | number | prp_Value : string | number |
}[] | } [ ] | } [MASK] ] |
private docClassName: DocClassNames | private docClassName : DocClassNames | private docClassName : DocClassNames |
private docContent: { docMimeType: string | private docContent : { docMimeType : string | private [MASK] : { docMimeType : [MASK] |
docTitle: string | docTitle : string | [MASK] : string |
docBase64?: string } | docBase64 ? : string } | docBase64 ? : string } |
prp_SymbolicName: SymbolicNames | prp_SymbolicName : SymbolicNames | prp_SymbolicName : SymbolicNames |
prp_Type: SymbolicTypes | prp_Type : SymbolicTypes | prp_Type : SymbolicTypes |
prp_Value: string | number | prp_Value : string | number | prp_Value : [MASK] | number |
}[] | } [ ] | } [ [MASK] |
file: File | file : File | file [MASK] File |
this.docClassName = null | this.docClassName = null | this.docClassName = null |
this.docContent = { docMimeType: '', docTitle: '', docBase64: '' } | this.docContent = { docMimeType : `` , docTitle : `` , docBase64 : `` } | [MASK] = [MASK] [MASK] : `` , docTitle : [MASK] , docBase64 : `` } |
this.docProperties = [] | this.docProperties = [ ] | [MASK] = [MASK] ] |
this.file = null | this.file = null | this.file = null |
this.docClassName = name | this.docClassName = name | this.docClassName = name |
return this | return this | return this |
this.file = file | this.file = file | this.file [MASK] [MASK] |
} | } | } |
return this | return this | return this |
// const tempVal = type === 'I' ? Number(value) : value | // const tempVal = type === ' I ' ? Number ( value ) : value | // const tempVal [MASK] type === ' I ' ? Number ( value ) : value |
this.docProperties.push({ prp_SymbolicName: symbolicName, prp_Type: type, prp_Value: value }) | this.docProperties.push ( { prp_SymbolicName : symbolicName , prp_Type : type , prp_Value : value } ) | this.docProperties.push ( { prp_SymbolicName : symbolicName , [MASK] : type , prp_Value : value [MASK] ) |
return this | return this | return this |
const base64 = await convertToBase64(this.file) | const base64 = await convertToBase64 ( this.file ) | const base64 [MASK] await convertToBase64 ( this.file ) |
Subsets and Splits