original_text
stringlengths 1
23.3k
| tokenized_code
stringlengths 1
25.1k
| masked_code
stringlengths 1
23.6k
|
---|---|---|
} | } | } |
HOC.displayName = `withAdditionalProps(${WrappedComponent.displayName || WrappedComponent.name})` | HOC.displayName = ` withAdditionalProps ( $ { WrappedComponent.displayName || WrappedComponent.name } ) ` | HOC.displayName = ` [MASK] ( $ { WrappedComponent.displayName || WrappedComponent.name } ) ` |
return HOC | return HOC | return HOC |
} | } | } |
export default withPreset | export default withPreset | export [MASK] withPreset |
} from '@proto/webcore' | } from ' @ proto/webcore ' | } [MASK] [MASK] @ proto/webcore ' |
} | } | } |
} from '@protoweb/utils' | } from ' @ protoweb/utils ' | } from [MASK] @ [MASK] ' |
} | } | } |
import Block from '@protoweb/block' | import Block from ' @ protoweb/block ' | import Block from ' @ protoweb/block ' |
import Button from '@protoweb/button' | import Button from ' @ protoweb/button ' | import Button from ' @ protoweb/button ' |
import Checkbox from '@protoweb/checkbox' | import Checkbox from ' @ protoweb/checkbox ' | import Checkbox from ' @ protoweb/checkbox ' |
import Col from '@protoweb/col' | import Col from ' @ protoweb/col ' | import [MASK] from ' [MASK] protoweb/col ' |
import Datepicker from '@protoweb/datepicker' | import Datepicker from ' @ protoweb/datepicker ' | import Datepicker from ' @ protoweb/datepicker ' |
import Form from '@protoweb/form' | import Form from ' @ protoweb/form ' | import Form from ' @ protoweb/form ' |
import Container from '@protoweb/container' | import Container from ' @ protoweb/container ' | import [MASK] from ' [MASK] protoweb/container [MASK] |
import Icon from '@protoweb/icon' | import Icon from ' @ protoweb/icon ' | import Icon from ' @ protoweb/icon [MASK] |
import Image from '@protoweb/image' | import Image from ' @ protoweb/image ' | [MASK] Image from ' @ [MASK] ' |
import Label from '@protoweb/label' | import Label from ' @ protoweb/label ' | [MASK] Label from ' [MASK] protoweb/label ' |
import Panel from '@protoweb/panel' | import Panel from ' @ protoweb/panel ' | [MASK] Panel from ' @ protoweb/panel ' |
import Row from '@protoweb/row' | import Row from ' @ protoweb/row ' | import Row from ' @ protoweb/row ' |
import Select from '@protoweb/select' | import Select from ' @ protoweb/select ' | import Select from [MASK] @ protoweb/select [MASK] |
import TextField from '@protoweb/textfield' | import TextField from ' @ protoweb/textfield ' | import TextField from [MASK] @ protoweb/textfield ' |
import Link from '@protoweb/link' | import Link from ' @ protoweb/link ' | import Link from [MASK] @ [MASK] ' |
import Wizard from '@protoweb/wizard' | import Wizard from ' @ protoweb/wizard ' | import Wizard from ' @ protoweb/wizard ' |
import Slider from '@protoweb/slider' | import Slider from ' @ protoweb/slider ' | [MASK] Slider from ' @ [MASK] ' |
import RadioGroup from '@protoweb/radiogroup' | import RadioGroup from ' @ protoweb/radiogroup ' | import [MASK] from ' @ protoweb/radiogroup ' |
import Radio from '@protoweb/radio' | import Radio from ' @ protoweb/radio ' | import Radio from ' @ protoweb/radio ' |
import Modal from '@protoweb/modal' | import Modal from ' @ protoweb/modal ' | [MASK] Modal from [MASK] @ protoweb/modal [MASK] |
import Tab from '@protoweb/tab' | import Tab from ' @ protoweb/tab ' | import Tab from ' @ protoweb/tab ' |
import SwitchButton from '@protoweb/switchbutton' | import SwitchButton from ' @ protoweb/switchbutton ' | import [MASK] from ' [MASK] protoweb/switchbutton [MASK] |
import DataTable from 'prototable' | import DataTable from 'prototable ' | import [MASK] from 'prototable [MASK] |
import BackgroundImage from './BackgroundImage' | import BackgroundImage from './BackgroundImage ' | import [MASK] from './BackgroundImage ' |
import Element from '@protoweb/element' | import Element from ' @ protoweb/element ' | import Element from ' @ protoweb/element ' |
import MaskedTextField from '@protoweb/maskedtextfield' | import MaskedTextField from ' @ protoweb/maskedtextfield ' | import MaskedTextField [MASK] ' [MASK] protoweb/maskedtextfield [MASK] |
import ICONS from '@resources/icons' | import ICONS from ' @ resources/icons ' | import [MASK] from [MASK] @ [MASK] [MASK] |
import Amount from '@protoweb/amount' | import Amount from ' @ protoweb/amount ' | [MASK] Amount from ' [MASK] protoweb/amount ' |
import TextArea from '@protoweb/textarea' | import TextArea from ' @ protoweb/textarea ' | import TextArea [MASK] ' @ protoweb/textarea ' |
import withRole from '@common/role/withRole' | import withRole from ' @ common/role/withRole ' | [MASK] withRole [MASK] ' [MASK] common/role/withRole ' |
import withPreset from '@common/hocs/withPreset' | import withPreset from ' @ common/hocs/withPreset ' | import withPreset from ' @ common/hocs/withPreset ' |
} | } | } |
} | } | } |
} | } | [MASK] |
const EnhancedButton = withPreset(withRole(Button)) | const EnhancedButton = withPreset ( withRole ( Button ) ) | const [MASK] = withPreset ( withRole ( Button ) ) |
} | } | } |
} | } | } |
import React from 'react' | import React from 'react ' | import React from 'react ' |
import { Block } from '@protolibrary/components' | import { Block } from ' @ protolibrary/components ' | import { Block } from ' @ protolibrary/components [MASK] |
const containerStyle = path ? { backgroundImage: `url(${path})` } : {} | const containerStyle = path ? { backgroundImage : ` url ( $ { path } ) ` } : { } | const containerStyle = path ? { backgroundImage : ` url ( $ { path } ) ` } : [MASK] } |
) | ) | ) |
export default BackgroundImage | export default BackgroundImage | export default BackgroundImage |
import { Container } from '@protolibrary/components' | import { Container } from ' @ protolibrary/components ' | import { Container } from ' @ protolibrary/components [MASK] |
import React from 'react' | import React from 'react ' | import React from 'react ' |
import Countdown from '../../components/countdown' | import Countdown from ' .. / .. /components/countdown ' | import Countdown from [MASK] .. / .. /components/countdown ' |
) | ) | ) |
} | } | } |
export default DashBoard | export default DashBoard | export default DashBoard |
import PageHeader from '@common/components/page-header' | import PageHeader from ' @ common/components/page-header ' | [MASK] [MASK] from ' @ common/components/page-header ' |
import TableIcon from '@common/components/table-icon' | import TableIcon from ' @ common/components/table-icon ' | import [MASK] from ' @ common/components/table-icon [MASK] |
import navigationService from '@common/navigation/NavigationService' | import navigationService from ' @ common/navigation/NavigationService ' | import navigationService from ' @ common/navigation/NavigationService ' |
} from '@protolibrary/components' | } from ' @ protolibrary/components ' | } from ' @ protolibrary/components [MASK] |
import taskDefinitionService, { TaskDefinition } from '@services/TaskDefinitionService' | import taskDefinitionService , { TaskDefinition } from ' @ services/TaskDefinitionService ' | import taskDefinitionService , { [MASK] } from ' [MASK] services/TaskDefinitionService ' |
import { defaultRemoteGridOptions, prepareFilter } from '@utils/DataTableUtils' | import { defaultRemoteGridOptions , prepareFilter } from ' @ utils/DataTableUtils ' | import { defaultRemoteGridOptions , prepareFilter } from ' [MASK] [MASK] ' |
import React, { useEffect, useRef, useState } from 'react' | import React , { useEffect , useRef , useState } from 'react ' | import React , { [MASK] , useRef , useState } from 'react ' |
import NAVIGATION_PATHS from '@common/navigation/NavigationPaths' | import NAVIGATION_PATHS from ' @ common/navigation/NavigationPaths ' | [MASK] NAVIGATION_PATHS from [MASK] [MASK] common/navigation/NavigationPaths ' |
import { NavigationOperationType } from '@common/navigation/NavigationTypes' | import { NavigationOperationType } from ' @ common/navigation/NavigationTypes ' | import { [MASK] } from ' @ common/navigation/NavigationTypes ' |
import ConfirmationModal from '@common/components/confirmation-modal/ConfirmationModal' | import ConfirmationModal from ' @ common/components/confirmation-modal/ConfirmationModal ' | import [MASK] from ' @ common/components/confirmation-modal/ConfirmationModal ' |
import InputLayout from '@common/components/input-layout' | import InputLayout from ' @ common/components/input-layout ' | import InputLayout from ' @ common/components/input-layout ' |
import useLocalization from '@hooks/useLocalization' | import useLocalization from ' @ hooks/useLocalization ' | import useLocalization from ' @ hooks/useLocalization [MASK] |
const refForm = useRef(null) | const refForm = useRef ( null ) | const [MASK] = useRef ( null [MASK] |
const refDataTable = useRef(null) | const refDataTable = useRef ( null ) | const refDataTable = useRef ( null ) |
const [showConfirmModal, setShowConfirmModal] = React.useState(false) | const [ showConfirmModal , setShowConfirmModal ] = React.useState ( false ) | [MASK] [ [MASK] , setShowConfirmModal ] [MASK] React.useState ( false ) |
const [deleteData, setDeleteData] = useState<TaskDefinition>(null) | const [ deleteData , setDeleteData ] = useState < TaskDefinition > ( null ) | const [ deleteData , setDeleteData ] = useState < TaskDefinition > ( null ) |
const { t } = useLocalization() | const { t } = useLocalization ( ) | const { t } = useLocalization ( ) |
}) | } ) | [MASK] ) |
} | } | } |
}) | } ) | } [MASK] |
} | } | } |
loadData() | loadData ( ) | loadData [MASK] ) |
}, []) | } , [ ] ) | } , [ ] ) |
setDeleteData(row) | setDeleteData ( row ) | setDeleteData ( row ) |
setShowConfirmModal(true) | setShowConfirmModal ( true ) | [MASK] ( true ) |
} | } | } |
return value.join(', ') | return value.join ( ' , ' ) | return value.join ( ' , ' ) |
} | } | } |
const values = refForm.current?.getValues() | const values = refForm.current ? .getValues ( ) | const values = [MASK] ? [MASK] ( ) |
refDataTable.current.loadData(prepareFilter(values)) | refDataTable.current.loadData ( prepareFilter ( values ) ) | [MASK] ( prepareFilter ( values ) ) |
} | } | [MASK] |
refDataTable.current.loadData({ name: '' }) | refDataTable.current.loadData ( { name : `` } ) | refDataTable.current.loadData ( [MASK] name : `` } ) |
} | } | [MASK] |
resetTable() | resetTable ( ) | resetTable ( ) |
} | } | } |
setShowConfirmModal(false) | setShowConfirmModal ( false ) | setShowConfirmModal ( false ) |
loadData() | loadData ( ) | [MASK] ( ) |
taskDefinitionService.delete(deleteData?.id?.toString()).finally(loadData) | taskDefinitionService.delete ( deleteData ? .id ? .toString ( ) ) .finally ( loadData ) | taskDefinitionService.delete [MASK] deleteData [MASK] .id ? .toString [MASK] ) ) .finally [MASK] loadData [MASK] |
) | ) | ) |
} | } | } |
export default TaskManagement | export default TaskManagement | export default TaskManagement |
import InputLayout from '@common/components/input-layout' | import InputLayout from ' @ common/components/input-layout ' | import InputLayout from ' @ [MASK] ' |
import PageHeader from '@common/components/page-header' | import PageHeader from ' @ common/components/page-header ' | import [MASK] from [MASK] @ common/components/page-header ' |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.