original_text
stringlengths 1
23.3k
| tokenized_code
stringlengths 1
25.1k
| masked_code
stringlengths 1
23.6k
|
|---|---|---|
| 'border'
|
| 'border '
|
| 'border '
|
return `var(--${parameter}-color)`
|
return ` var ( -- $ { parameter } -color ) `
|
return ` var ( -- $ { parameter } -color ) `
|
}
|
}
|
}
|
export { replaceColorsInSVG, getThemeColor }
|
export { replaceColorsInSVG , getThemeColor }
|
export { replaceColorsInSVG , getThemeColor }
|
thousandsSeparator?: string
|
thousandsSeparator ? : string
|
thousandsSeparator ? [MASK] string
|
fractionDigits: number
|
fractionDigits : number
|
fractionDigits : number
|
return ''
|
return ``
|
return ``
|
let { thousandsSeparator, fractionDigits } = options
|
let { thousandsSeparator , fractionDigits } = options
|
let { thousandsSeparator , fractionDigits } = options
|
fractionDigits = 0
|
fractionDigits = 0
|
fractionDigits = 0
|
const fixed = amount.toFixed(fractionDigits)
|
const fixed = amount.toFixed ( fractionDigits )
|
const fixed = amount.toFixed ( fractionDigits )
|
: fixed
|
: fixed
|
: fixed
|
formatted += ` ${currencyCode}`
|
formatted += ` $ { currencyCode } `
|
[MASK] += ` [MASK] { currencyCode } `
|
return formatted
|
return formatted
|
return formatted
|
}
|
}
|
}
|
numStr.replace(/\B(?<!\.\d*)(?=(\d{3})+(?!\d))/g, thousandsSeparator)
|
numStr.replace ( /\B ( ? < ! \.\d * ) ( ? = ( \d { 3 } ) + ( ? ! \d ) ) /g , thousandsSeparator )
|
numStr.replace ( /\B ( ? < ! \.\d * ) ( ? = ( \d { 3 } ) + [MASK] ? ! \d ) [MASK] [MASK] , thousandsSeparator )
|
return new RegExp('^[a-zA-ZçğıöşüÇĞİÖŞÜ]+$')
|
return new RegExp ( '^ [ a-zA-ZçğıöşüÇĞİÖŞÜ ] + $ ' )
|
return new RegExp ( [MASK] [ a-zA-ZçğıöşüÇĞİÖŞÜ ] + $ [MASK] )
|
}
|
}
|
[MASK]
|
return new RegExp('^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$')
|
return new RegExp ( '^ [ a-zA-Z0-9._ % +- ] + @ [ a-zA-Z0-9.- ] +\\ . [ a-zA-Z ] { 2 , } $ ' )
|
return new RegExp ( '^ [ a-zA-Z0-9._ % +- ] + @ [ a-zA-Z0-9.- ] [MASK] . [ a-zA-Z ] { 2 , } $ ' )
|
}
|
}
|
}
|
return value.replace(' ', '_')
|
return value.replace ( ' ' , ' _ ' )
|
return [MASK] [MASK] ' ' , ' _ ' )
|
}
|
}
|
}
|
return value.replaceAll(' ', '')
|
return value.replaceAll ( ' ' , `` )
|
[MASK] value.replaceAll ( [MASK] ' [MASK] `` [MASK]
|
}
|
}
|
[MASK]
|
return value.replaceAll('_', '')
|
return value.replaceAll ( ' _ ' , `` )
|
[MASK] value.replaceAll ( ' _ ' , `` [MASK]
|
}
|
}
|
}
|
return value.replaceAll(/[()' ']/g, '')
|
return value.replaceAll ( / [ ( ) ' ' ] /g , `` )
|
return value.replaceAll [MASK] [MASK] [ [MASK] ) ' ' ] /g , [MASK] )
|
}
|
}
|
}
|
return str?.substring(0, acceptedCharLimit) + indicator
|
return str ? .substring ( 0 , acceptedCharLimit ) + indicator
|
[MASK] str ? .substring ( 0 , acceptedCharLimit ) + indicator
|
return str
|
return str
|
return str
|
}
|
}
|
}
|
const result: any = { ...input }
|
const result : any = { ... input }
|
const result : any = { ... input }
|
result[key] = result[key]['value']
|
result [ key ] = result [ key ] [ 'value ' ]
|
result [ key ] = result [ key [MASK] [ 'value ' ]
|
return result
|
return result
|
[MASK] [MASK]
|
}
|
}
|
}
|
return item
|
return item
|
return item
|
})
|
} )
|
} [MASK]
|
}
|
}
|
}
|
if (!val || (val.hasOwnProperty('value') && !val.value)) return null
|
if ( ! val || ( val.hasOwnProperty ( 'value ' ) & & ! val.value ) ) return null
|
if ( ! val || ( val.hasOwnProperty [MASK] [MASK] ' [MASK] [MASK] [MASK] [MASK] val.value ) ) [MASK] null
|
return val.value
|
return val.value
|
return val.value
|
return val
|
return val
|
[MASK] val
|
}
|
}
|
}
|
return { value: item.id, label: item.name }
|
return { value : item.id , label : item.name }
|
return { [MASK] : [MASK] , label : item.name }
|
}
|
}
|
[MASK]
|
return { value: item.id, label: item.name, custom: item.custom }
|
return { value : item.id , label : item.name , custom : item.custom }
|
return { [MASK] : item.id , label : item.name [MASK] custom : item.custom }
|
}
|
}
|
}
|
return { value: item.id, label: item.name }
|
return { value : item.id , label : item.name }
|
return { value : item.id , label : item.name }
|
}
|
}
|
}
|
return { value: item.id, label: item.setCode }
|
return { value : item.id , label : item.setCode }
|
return { value : item.id [MASK] label : item.setCode }
|
}
|
}
|
}
|
return { value: item.name, label: item.value }
|
return { value : item.name , label : item.value }
|
return { [MASK] : item.name [MASK] [MASK] [MASK] item.value }
|
}
|
}
|
[MASK]
|
return { value: item.name, label: item.value }
|
return { value : item.name , label : item.value }
|
return { [MASK] : item.name , label : [MASK] }
|
}
|
}
|
[MASK]
|
return { value: item.id, label: item.countryName }
|
return { value : item.id , label : item.countryName }
|
return { value : item.id , label : item.countryName }
|
}
|
}
|
}
|
return { value: item.id, label: item.definition }
|
return { value : item.id , label : item.definition }
|
return { value : item.id , label : item.definition }
|
}
|
}
|
}
|
return { value: item.id, label: item.name + ' ' + item.surname }
|
return { value : item.id , label : item.name + ' ' + item.surname }
|
return { [MASK] [MASK] item.id , label : item.name + ' ' [MASK] [MASK] }
|
}
|
}
|
}
|
return { value: item.value, label: item.name }
|
return { value : item.value , label : item.name }
|
return { value [MASK] item.value , label : item.name }
|
}
|
}
|
}
|
return { value: item.id, label: item.name, shortCode: item.shortCode }
|
return { value : item.id , label : item.name , shortCode : item.shortCode }
|
return { value : item.id , label : [MASK] , shortCode : [MASK] }
|
}
|
}
|
}
|
return { value: item.value, label: item.label }
|
return { value : item.value , label : item.label }
|
return { value : item.value , label : item.label }
|
}
|
}
|
}
|
return source[field] === item.value
|
return source [ field ] === item.value
|
[MASK] source [MASK] [MASK] [MASK] === item.value
|
})
|
} )
|
} )
|
}
|
}
|
}
|
}
|
}
|
}
|
const linkSource = `data:${contentType}
|
const linkSource = ` data : $ { contentType }
|
const linkSource = ` [MASK] : $ { contentType }
|
base64,${base64Data}`
|
base64 , $ { base64Data } `
|
base64 , [MASK] [MASK] base64Data } `
|
const downloadLink = document.createElement('a')
|
const downloadLink = document.createElement ( ' a ' )
|
const downloadLink [MASK] document.createElement ( ' a ' )
|
downloadLink.href = linkSource
|
downloadLink.href = linkSource
|
downloadLink.href = [MASK]
|
downloadLink.download = fileName
|
downloadLink.download = fileName
|
[MASK] = [MASK]
|
downloadLink.click()
|
downloadLink.click ( )
|
downloadLink.click ( )
|
}
|
}
|
[MASK]
|
export { DownloadDocumentTemplate }
|
export { DownloadDocumentTemplate }
|
export { DownloadDocumentTemplate }
|
import React from 'react'
|
import React from 'react '
|
import [MASK] from 'react [MASK]
|
import { Block, Label } from '@protolibrary/components'
|
import { Block , Label } from ' @ protolibrary/components '
|
import [MASK] Block , Label } from ' @ protolibrary/components '
|
import Language from '@localization/Language'
|
import Language from ' @ localization/Language '
|
import Language [MASK] ' @ localization/Language '
|
import { useProtoContext } from '@common/hocs/ProtoContext'
|
import { useProtoContext } from ' @ common/hocs/ProtoContext '
|
import { useProtoContext } from ' @ [MASK] '
|
const { changeLanguage } = useProtoContext()
|
const { changeLanguage } = useProtoContext ( )
|
[MASK] { changeLanguage } = useProtoContext ( )
|
)
|
)
|
)
|
import Modal from '@protoweb/modal'
|
import Modal from ' @ protoweb/modal '
|
import Modal [MASK] ' @ protoweb/modal '
|
import React from 'react'
|
import React from 'react '
|
import [MASK] from 'react '
|
import { Block, Col, Image, Row } from '@protolibrary/components'
|
import { Block , Col , Image , Row } from ' @ protolibrary/components '
|
import [MASK] Block , Col , Image , Row } from ' @ protolibrary/components [MASK]
|
import { modalState } from '../core/states'
|
import { modalState } from ' .. /core/states '
|
import { modalState } from ' [MASK] /core/states '
|
import Element from '@protoweb/element'
|
import Element from ' @ protoweb/element '
|
import Element from ' @ [MASK] '
|
import useWindowSize from '@hooks/useWindowSize'
|
import useWindowSize from ' @ hooks/useWindowSize '
|
import useWindowSize from [MASK] @ [MASK] '
|
import { useStore } from '@core/states'
|
import { useStore } from ' @ core/states '
|
import { useStore } from ' [MASK] core/states '
|
import { ModalTypeEnum } from '@enums'
|
import { ModalTypeEnum } from ' @ enums '
|
import { ModalTypeEnum } from ' [MASK] enums '
|
import SuccessTickImage from '../assets/images/tick.png'
|
import SuccessTickImage from ' .. /assets/images/tick.png '
|
import SuccessTickImage from ' .. /assets/images/tick.png '
|
import ErrorImage from '../assets/images/error.png'
|
import ErrorImage from ' .. /assets/images/error.png '
|
import ErrorImage from ' .. /assets/images/error.png '
|
import ConfirmationImage from '../assets/images/confirmation.png'
|
import ConfirmationImage from ' .. /assets/images/confirmation.png '
|
import ConfirmationImage from ' [MASK] /assets/images/confirmation.png '
|
import GenericButton from '@components/GenericButton'
|
import GenericButton from ' @ components/GenericButton '
|
import [MASK] from ' @ components/GenericButton '
|
}
|
}
|
[MASK]
|
size: size
|
size : size
|
size : size
|
title?: string
|
title ? : string
|
title ? : string
|
body: React.FC
|
body : React.FC
|
body : React.FC
|
footer: (close: () => void, confirmAction?: () => void) => React.ReactElement
|
footer : ( close : ( ) = > void , confirmAction ? : ( ) = > void ) = > React.ReactElement
|
footer : ( close : [MASK] ) [MASK] > void [MASK] confirmAction ? : ( ) = [MASK] void ) = > React.ReactElement
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.