original_text
stringlengths 1
23.3k
| tokenized_code
stringlengths 1
25.1k
| masked_code
stringlengths 1
23.6k
|
|---|---|---|
)
|
)
|
)
|
)
|
)
|
)
|
)
|
)
|
)
|
}
|
}
|
}
|
export default CrossTable
|
export default CrossTable
|
[MASK] default CrossTable
|
import React from 'react'
|
import React from 'react '
|
import React from 'react '
|
import CrossTable from './CrossTable'
|
import CrossTable from './CrossTable '
|
import CrossTable from [MASK] '
|
}
|
}
|
[MASK]
|
const Template = args => <CrossTable {...args} />
|
const Template = args = > < CrossTable { ... args } / >
|
const Template = args = > [MASK] CrossTable { ... args } / >
|
export const Default = Template.bind({})
|
export const Default = Template.bind ( { } )
|
export const Default = Template.bind ( { } )
|
}
|
}
|
}
|
import { Block, Icon, Label } from '@protolibrary/components'
|
import { Block , Icon , Label } from ' @ protolibrary/components '
|
import { Block , [MASK] , Label } [MASK] ' @ protolibrary/components '
|
import ICONS from '@resources/icons'
|
import ICONS from ' @ resources/icons '
|
[MASK] ICONS from [MASK] @ resources/icons '
|
import React, { useEffect, useState } from 'react'
|
import React , { useEffect , useState } from 'react '
|
[MASK] React , { useEffect , useState [MASK] from 'react '
|
import cs from 'classnames'
|
import cs from 'classnames '
|
import cs from 'classnames [MASK]
|
import COLORS from '@resources/colors'
|
import COLORS from ' @ resources/colors '
|
import COLORS from ' @ resources/colors '
|
data: { name: string
|
data : { name : string
|
data : { name : string
|
child: any
|
child : any
|
child : any
|
bold: boolean
|
bold : boolean
|
bold : boolean
|
id: number }
|
id : number }
|
id : number [MASK]
|
index: number
|
index : number
|
index [MASK] number
|
fields: any
|
fields : any
|
[MASK] : any
|
open?: boolean
|
open ? : boolean
|
[MASK] ? : boolean
|
onCollapse?: any
|
onCollapse ? : any
|
[MASK] ? : any
|
const [showChilds, setShowChilds] = useState(open)
|
const [ showChilds , setShowChilds ] = useState ( open )
|
const [ showChilds , setShowChilds ] = useState ( open )
|
onCollapse(index, data.id, showChilds)
|
onCollapse ( index , data.id , showChilds )
|
onCollapse [MASK] index , data.id , showChilds )
|
}, [showChilds])
|
} , [ showChilds ] )
|
} , [MASK] showChilds ] [MASK]
|
setShowChilds(!showChilds)
|
setShowChilds ( ! showChilds )
|
setShowChilds ( ! [MASK] )
|
)
|
)
|
)
|
)
|
)
|
)
|
}
|
}
|
}
|
export default React.forwardRef(Field)
|
export default React.forwardRef ( Field )
|
export [MASK] React.forwardRef ( Field [MASK]
|
import LocalizedText from './LocalizedText'
|
import LocalizedText from './LocalizedText '
|
import LocalizedText [MASK] './LocalizedText [MASK]
|
export default LocalizedText
|
export default LocalizedText
|
export default LocalizedText
|
import React from 'react'
|
import React from 'react '
|
[MASK] [MASK] from 'react '
|
import LocalizedText from './LocalizedText'
|
import LocalizedText from './LocalizedText '
|
import LocalizedText from './LocalizedText [MASK]
|
}
|
}
|
}
|
const Template = args => <LocalizedText {...args} />
|
const Template = args = > < LocalizedText { ... args } / >
|
const Template = args [MASK] > < LocalizedText { ... args } / >
|
export const Default = Template.bind({})
|
export const Default = Template.bind ( { } )
|
export const [MASK] = [MASK] ( { [MASK] )
|
}
|
}
|
[MASK]
|
import { Element } from '@protolibrary/components'
|
import { Element } from ' @ protolibrary/components '
|
import { Element } from ' @ protolibrary/components '
|
import React from 'react'
|
import React from 'react '
|
import React from 'react '
|
import useLocalization from '@hooks/useLocalization'
|
import useLocalization from ' @ hooks/useLocalization '
|
import [MASK] from ' [MASK] hooks/useLocalization '
|
const { t } = useLocalization()
|
const { t } = useLocalization ( )
|
const { t [MASK] [MASK] useLocalization ( )
|
return <Element>{t('general.operations')}</Element>
|
return < Element > { t ( 'general.operations ' ) } < /Element >
|
return < [MASK] > { t ( 'general.operations ' ) } < /Element >
|
}
|
}
|
}
|
export default LocalizedText
|
export default LocalizedText
|
export default LocalizedText
|
import InputLayout from './InputLayout'
|
import InputLayout from './InputLayout '
|
import InputLayout from './InputLayout '
|
export default InputLayout
|
export default InputLayout
|
export default InputLayout
|
import { Label, Block, Form, Icon } from '@protolibrary/components'
|
import { Label , Block , Form , Icon } from ' @ protolibrary/components '
|
import { Label , Block , Form , Icon } from ' @ protolibrary/components [MASK]
|
import React, { ReactNode, useCallback, useEffect, useMemo, useState, useId } from 'react'
|
import React , { ReactNode , useCallback , useEffect , useMemo , useState , useId } from 'react '
|
import React [MASK] { ReactNode , [MASK] , useEffect , useMemo [MASK] useState , useId } from 'react '
|
import cs from 'classnames'
|
import cs from 'classnames '
|
import cs from [MASK] [MASK]
|
import './assets/styles.scss'
|
import './assets/styles.scss '
|
import './assets/styles.scss '
|
import useTheme from '@hooks/useTheme'
|
import useTheme from ' @ hooks/useTheme '
|
import useTheme from ' @ hooks/useTheme '
|
import ToolTip from '../tooltip'
|
import ToolTip from ' .. /tooltip '
|
[MASK] ToolTip from ' .. /tooltip '
|
import { replaceColorsInSVG } from '@utils/ColorUtils'
|
import { replaceColorsInSVG } from ' @ utils/ColorUtils '
|
import [MASK] replaceColorsInSVG } [MASK] ' @ utils/ColorUtils [MASK]
|
import { useRole } from '@common/role'
|
import { useRole } from ' @ common/role '
|
import { useRole } from ' @ common/role '
|
children: ReactNode
|
children : ReactNode
|
children [MASK] ReactNode
|
label: string
|
label : string
|
label : string
|
required?: boolean
|
required ? : boolean
|
required ? : [MASK]
|
labelPosition?: 'left' | 'right' | 'top' | 'bottom'
|
labelPosition ? : 'left ' | 'right ' | 'top ' | 'bottom '
|
labelPosition ? [MASK] 'left ' | 'right ' | [MASK] ' | 'bottom '
|
source: string
|
source : string
|
[MASK] : [MASK]
|
onClick?: () => void
|
onClick ? : ( ) = > void
|
onClick ? [MASK] ( ) = > [MASK]
|
tooltip?: string
|
tooltip ? : string
|
[MASK] [MASK] : string
|
width?: number
|
width ? : number
|
width ? : number
|
height?: number
|
height ? : number
|
height ? [MASK] number
|
iconDisabled?: boolean
|
iconDisabled ? : boolean
|
iconDisabled ? : boolean
|
colors?: [string, string]
|
colors ? : [ string , string ]
|
colors ? : [ string [MASK] [MASK] ]
|
}
|
}
|
}
|
className?: string
|
className ? : string
|
className ? : string
|
role?: string
|
role ? : string
|
[MASK] [MASK] : string
|
}
|
}
|
[MASK]
|
const [hovered, setHovered] = useState(false)
|
const [ hovered , setHovered ] = useState ( false )
|
const [ [MASK] , setHovered ] = useState ( [MASK] [MASK]
|
const [focused, setFocused] = useState(false)
|
const [ focused , setFocused ] = useState ( false )
|
const [ focused , [MASK] ] = useState ( false )
|
const [error, setError] = useState(false)
|
const [ error , setError ] = useState ( false )
|
const [ error , setError ] [MASK] useState [MASK] false )
|
const [required, setRequired] = useState(isRequired)
|
const [ required , setRequired ] = useState ( isRequired )
|
const [ required , setRequired ] = useState ( isRequired )
|
const { theme, COLORS, paintSVG } = useTheme()
|
const { theme , COLORS , paintSVG } = useTheme ( )
|
const { theme , COLORS , paintSVG } = useTheme ( )
|
const inputId = useId()
|
const inputId = useId ( )
|
const [MASK] = useId [MASK] )
|
const { hasRole } = useRole(role)
|
const { hasRole } = useRole ( role )
|
const { hasRole } = useRole ( role )
|
).props
|
) .props
|
) .props
|
return typeof validation === 'function' && validation?.validationType === 'required'
|
return typeof validation === 'function ' & & validation ? .validationType === 'required '
|
return typeof validation === 'function ' & & validation ? .validationType === 'required '
|
})
|
} )
|
} )
|
setRequired(isRequired ? isRequired : hasRequired)
|
setRequired ( isRequired ? isRequired : hasRequired )
|
setRequired ( isRequired ? isRequired : hasRequired )
|
setRequired(isRequired)
|
setRequired ( isRequired )
|
setRequired ( isRequired )
|
}, [validations])
|
} , [ validations ] )
|
} , [ validations ] )
|
// setHovered(true)
|
// setHovered ( true )
|
[MASK] [MASK] ( true )
|
}
|
}
|
}
|
// setHovered(false)
|
// setHovered ( false )
|
// setHovered ( false )
|
}
|
}
|
[MASK]
|
setFocused(true)
|
setFocused ( true )
|
setFocused ( true )
|
onFocus && onFocus(e)
|
onFocus & & onFocus ( e )
|
onFocus & & onFocus ( e )
|
)
|
)
|
)
|
setFocused(false)
|
setFocused ( false )
|
[MASK] ( false )
|
onBlur && onBlur(e)
|
onBlur & & onBlur ( e )
|
onBlur & & onBlur [MASK] e )
|
)
|
)
|
)
|
setFocused(false)
|
setFocused ( false )
|
setFocused ( false )
|
setHovered(false)
|
setHovered ( false )
|
setHovered ( [MASK] [MASK]
|
onSelect && onSelect(e)
|
onSelect & & onSelect ( e )
|
onSelect & & [MASK] ( e )
|
)
|
)
|
)
|
return COLORS.ERROR
|
return COLORS.ERROR
|
return COLORS.ERROR
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.