| null,forwardRef : ( ( instance : unknown ) = > void ) | MutableRefObject < unknown > | null,forwardRef : [MASK] ( instance : unknown ) = > void ) | MutableRefObject < unknown > | [MASK]
contextValue: IContext,contextValue : IContext,contextValue [MASK] IContext
t: IT,t : IT,t : IT
style: CSSProperties,style : CSSProperties,style : CSSProperties
" const { forwardRef, ...rest } = this.props","const { forwardRef , ... rest } = this.props","const { forwardRef , ... rest } = this.props"
return ,return < Component ref= { forwardRef } { ... rest } / >,return < Component ref= { forwardRef } { ... rest } / [MASK]
const value = React.useContext(Context),const value = React.useContext ( Context ),const value = React.useContext ( [MASK] )
" const { t, ...cleanedValues } = value","const { t , ... cleanedValues } = value",[MASK] { t [MASK] ... cleanedValues } = value
return ,return < Consumer forwardRef= { ref } contextValue= { cleanedValues } t= { t } { ... props } / >,return < [MASK] forwardRef= [MASK] ref } contextValue= [MASK] cleanedValues } t= [MASK] t } { ... props } / >
}),} ),} )
" return hoistNonReactStatics(EnhancedComponent, Component)","return hoistNonReactStatics ( EnhancedComponent , Component )","return [MASK] ( EnhancedComponent , Component )"
},},}
export default ProtoHOC,export default ProtoHOC,export default ProtoHOC
"import React, { ComponentType } from 'react'","import React , { ComponentType } from 'react '",import React [MASK] { ComponentType } [MASK] 'react '
"import { Plus, Trash2, Search, Save } from 'lucide-react'","import { Plus , Trash2 , Search , Save } from 'lucide-react '","import { [MASK] , [MASK] , [MASK] , Save } from 'lucide-react '"
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import useLocalization from ' @ hooks/useLocalization [MASK]
{ text?: string,{ text ? : string,{ text ? : string
className?: string,className ? : string,className [MASK] : [MASK]
style?: React.CSSProperties,style ? : React.CSSProperties,style ? [MASK] React.CSSProperties
leftIcon: any,leftIcon : any,leftIcon [MASK] any
>([]),> ( [ ] ),[MASK] [MASK] [ ] )
}),} ),} )
}),} ),} )
}),} ),} )
}),} ),} )
preset?: 'query' | 'reset' | 'add' | 'save',preset ? : 'query ' | 'reset ' | 'add ' | 'save ',preset ? : 'query ' [MASK] 'reset ' | 'add [MASK] | 'save [MASK]
" } & Omit","} & Omit < P , 'additionalProp ' >","} [MASK] Omit < P , 'additionalProp ' >"
const prefixProps = presetList.get(props.preset || ''),const prefixProps = presetList.get ( props.preset || `` ),const prefixProps = presetList.get ( [MASK] || `` )
const { t } = useLocalization(),const { t } = useLocalization ( ),[MASK] { t } = [MASK] ( )
const localizedProps = {},const localizedProps = { },const localizedProps = { }
localizedProps['text'] = t(prefixProps.text),localizedProps [ 'text ' ] = t ( prefixProps.text ),localizedProps [MASK] 'text ' ] = t [MASK] prefixProps.text )
return ,return < WrappedComponent { ... prefixProps } { ... localizedProps } { ... ( props as P ) } / >,return < WrappedComponent { ... prefixProps } { ... localizedProps [MASK] [MASK] [MASK] [MASK] props as P ) } / >
},},}
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(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 '
import RemoteSelect from '@common/components/remote-select/RemoteSelect',import RemoteSelect from ' @ common/components/remote-select/RemoteSelect ',import RemoteSelect from ' @ common/components/remote-select/RemoteSelect '
import navigationService from '@common/navigation/NavigationService',import navigationService from ' @ common/navigation/NavigationService ',[MASK] navigationService from ' @ common/navigation/NavigationService '
import { NavigationOperationType } from '@common/navigation/NavigationTypes',import { NavigationOperationType } from ' @ common/navigation/NavigationTypes ',import { NavigationOperationType } from ' @ common/navigation/NavigationTypes '
"import { Button, Col, Container, Form, Row, TextField } from '@protolibrary/components'","import { Button , Col , Container , Form , Row , TextField } from ' @ protolibrary/components '","import { Button , Col , Container , Form [MASK] [MASK] , TextField } from ' @ protolibrary/components [MASK]"
import { required } from '@protoweb/utils',import { required } from ' @ protoweb/utils ',import { required } from [MASK] [MASK] protoweb/utils '
import roleService from '@services/RoleService',import roleService from ' @ services/RoleService ',import roleService from ' @ services/RoleService [MASK]
"import taskDefinitionService, { TaskDefinition } from '@services/TaskDefinitionService'","import taskDefinitionService , { TaskDefinition } from ' @ services/TaskDefinitionService '","import [MASK] , { TaskDefinition } from ' @ services/TaskDefinitionService '"
import { useLocationParams } from '@utils/LocationUtils',import { useLocationParams } from ' @ utils/LocationUtils ',import { useLocationParams } from ' @ utils/LocationUtils '
"import React, { useEffect, useRef, useState } from 'react'","import React , { useEffect , useRef , useState } from 'react '","import [MASK] , { useEffect , [MASK] , useState } from 'react '"
import Amount from '@protoweb/amount',import Amount from ' @ protoweb/amount ',[MASK] Amount [MASK] ' @ protoweb/amount '
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import useLocalization from [MASK] @ hooks/useLocalization [MASK]
const refForm = useRef(null),const refForm = useRef ( null ),[MASK] refForm [MASK] useRef ( null )
" const [parentTaskIdOptions, setParentTaskIdOptions] = useState(null)","const [ parentTaskIdOptions , setParentTaskIdOptions ] = useState ( null )",const [ parentTaskIdOptions [MASK] setParentTaskIdOptions ] = useState ( null )
" const { operationType, taskDefinitionId } = useLocationParams(props)","const { operationType , taskDefinitionId } = useLocationParams ( props )",const { operationType [MASK] taskDefinitionId } = useLocationParams ( props )
const { t } = useLocalization(),const { t } = useLocalization ( ),const [MASK] t } = useLocalization ( )
let selectedElement: any | undefined,let selectedElement : any | undefined,let selectedElement : any [MASK] undefined
selectedElement = parentTaskIdOptions.find(item => item.id === data?.parentTaskId),selectedElement = parentTaskIdOptions.find ( item = > item.id === data ? .parentTaskId ),selectedElement = [MASK] ( [MASK] = > item.id === data [MASK] .parentTaskId )
}),} ),} )
}),} ),} )
" }, [parentTaskIdOptions])","} , [ parentTaskIdOptions ] )","} , [ parentTaskIdOptions ] )"
navigationService.goBack(),navigationService.goBack ( ),navigationService.goBack [MASK] )
},},}
const formValues = refForm.current.getValues(),const formValues = refForm.current.getValues ( ),[MASK] formValues = refForm.current.getValues ( [MASK]
.then(navigateBack),.then ( navigateBack ),.then [MASK] navigateBack )
},},}
const formValues = refForm.current.getValues(),const formValues = refForm.current.getValues ( ),const formValues = refForm.current.getValues ( )
.then(navigateBack),.then ( navigateBack ),[MASK] ( navigateBack )
},},}
onCreateTask(),onCreateTask ( ),onCreateTask ( )
break,break,break
onUpdateTask(),onUpdateTask ( ),onUpdateTask ( )
break,break,break
},},}
setParentTaskIdOptions(response),setParentTaskIdOptions ( response ),setParentTaskIdOptions ( response )
),),)
},},}
export default CreateUpdateTask,export default CreateUpdateTask,export default CreateUpdateTask
import React from 'react',import React from 'react ',import [MASK] from 'react '
"import { Container, Tab } from '@protolibrary/components'","import { Container , Tab } from ' @ protolibrary/components '",import { Container [MASK] [MASK] } from ' @ [MASK] '
import PageHeader from '@common/components/page-header',import PageHeader from ' @ common/components/page-header ',import PageHeader from ' [MASK] [MASK] '
import OrderListTab from './tabs/OrderListTab',import OrderListTab from './tabs/OrderListTab ',import OrderListTab from './tabs/OrderListTab [MASK]
import AllOrdersProjectPlanTab from './tabs/AllOrdersProjectPlanTab',import AllOrdersProjectPlanTab from './tabs/AllOrdersProjectPlanTab ',import AllOrdersProjectPlanTab from './tabs/AllOrdersProjectPlanTab '
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',[MASK] useLocalization from ' @ hooks/useLocalization '
const { t } = useLocalization(),const { t } = useLocalization ( ),const { t } = useLocalization ( )
),),[MASK]
},},}
export default OrderPage,export default OrderPage,export default OrderPage
"import React, { useRef, useState } from 'react'","import React , { useRef , useState } from 'react '","import React , { useRef [MASK] useState } from 'react '"
import Container from '@protoweb/container',import Container from ' @ protoweb/container ',[MASK] Container from [MASK] [MASK] protoweb/container '
import Form from '@protoweb/form',import Form from ' @ protoweb/form ',import Form [MASK] ' @ protoweb/form [MASK]
"import { Block, Button, Col } from '@protolibrary/components'","import { Block , Button , Col } from ' @ protolibrary/components '","import { Block , [MASK] , [MASK] } from ' [MASK] protolibrary/components '"
import InputLayout from '@common/components/input-layout',import InputLayout from ' @ common/components/input-layout ',import InputLayout from ' @ common/components/input-layout '
import { DateRangePicker } from '@common/components/datepicker',import { DateRangePicker } from ' @ common/components/datepicker ',[MASK] { DateRangePicker } from ' @ common/components/datepicker '
import Row from '@protoweb/row',import Row from ' @ protoweb/row ',import Row [MASK] ' @ protoweb/row '
import GanttChartTab from './GanttChartTab',import GanttChartTab from './GanttChartTab ',import GanttChartTab from './GanttChartTab '
import { formatDatePickerToApi } from '@utils/DateUtils',import { formatDatePickerToApi } from ' @ utils/DateUtils ',import { formatDatePickerToApi } from ' @ utils/DateUtils '
import Select from '@protoweb/select',import Select from ' @ protoweb/select ',import Select from ' [MASK] protoweb/select '
import { IOptionType } from '@protocommon/types/form/select',import { IOptionType } from ' @ protocommon/types/form/select ',import { IOptionType } from ' @ protocommon/types/form/select '
import WeeklyReportGanttChart from './report/weekly-report/WeeklyReportGanttChart',import WeeklyReportGanttChart from './report/weekly-report/WeeklyReportGanttChart ',import [MASK] [MASK] './report/weekly-report/WeeklyReportGanttChart '
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import useLocalization from ' @ hooks/useLocalization '
const refForm = useRef(null),const refForm = useRef ( null ),const refForm = useRef ( null )
" const [showChart, setShowChart] = useState(false)","const [ showChart , setShowChart ] = useState ( false )","const [ showChart , setShowChart ] = useState [MASK] false )"
" const [startDate, setStartDate] = useState()","const [ startDate , setStartDate ] = useState < string | undefined > ( )","const [ startDate , [MASK] [MASK] = useState < string [MASK] undefined [MASK] ( )"
" const [endDate, setEndDate] = useState()","const [ endDate , setEndDate ] = useState < string | undefined > ( )","const [ endDate , setEndDate ] = useState < string | undefined > ( )"
" const [selectedReport, setSelectedReport] = useState(null)","const [ selectedReport , setSelectedReport ] = useState ( null )","const [ selectedReport , [MASK] [MASK] = useState ( null )"
const { t } = useLocalization(),const { t } = useLocalization ( ),const { t } = useLocalization ( )
setShowChart(false),setShowChart ( false ),[MASK] ( [MASK] )
const values = refForm.current.getValues(),const values = refForm.current.getValues ( ),const values = refForm.current.getValues ( )
const startDate = formatDatePickerToApi(values?.dateRange?.startDate),const startDate = formatDatePickerToApi ( values ? .dateRange ? .startDate ),const startDate = formatDatePickerToApi ( [MASK] ? .dateRange ? [MASK] )
const endDate = formatDatePickerToApi(values?.dateRange?.endDate),const endDate = formatDatePickerToApi ( values ? .dateRange ? .endDate ),const endDate = formatDatePickerToApi ( values ? .dateRange ? .endDate )
setStartDate(startDate),setStartDate ( startDate ),setStartDate ( startDate )
setEndDate(endDate),setEndDate ( endDate ),setEndDate ( [MASK] )
return,return,return
setShowChart(true),setShowChart ( true ),setShowChart ( [MASK] )
" }, 300)","} , 300 )","} , 300 )"
return,return,return
setShowChart(true),setShowChart ( true ),setShowChart [MASK] true )
},},}
setShowChart(false),setShowChart ( false ),setShowChart ( false )
},},[MASK]
],],]
setShowChart(false),setShowChart ( false ),setShowChart ( false )
setSelectedReport(value.value),setSelectedReport ( value.value ),setSelectedReport ( [MASK] )
),),)
},},}
export default AllOrdersProjectPlanTab,export default AllOrdersProjectPlanTab,export [MASK] AllOrdersProjectPlanTab
"import React, { useEffect, useRef, useState } from 'react'","import React , { useEffect , useRef , useState } from 'react '","import React , { useEffect [MASK] useRef , useState } from [MASK] '"
} from '@protolibrary/components',} from ' @ protolibrary/components ',[MASK] from ' @ [MASK] [MASK]
import TableIcon from '@common/components/table-icon',import TableIcon from ' @ common/components/table-icon ',import TableIcon from ' @ common/components/table-icon '
import '../assets/styles.scss',import ' .. /assets/styles.scss ',import ' .. /assets/styles.scss '
import GenericModal from '@common/components/generic-modal',import GenericModal from ' @ common/components/generic-modal ',import GenericModal from ' @ common/components/generic-modal '
import InputLayout from '@common/components/input-layout',import InputLayout from ' @ common/components/input-layout ',import InputLayout from ' @ common/components/input-layout '
import vehicleService from '@services/VehicleService',import vehicleService from ' @ services/VehicleService ',import vehicleService [MASK] ' @ [MASK] '
import { defaultRemoteGridOptions } from '@utils/DataTableUtils',import { defaultRemoteGridOptions } from ' @ utils/DataTableUtils ',import { defaultRemoteGridOptions } from ' [MASK] utils/DataTableUtils '
import navigationService from '@common/navigation/NavigationService',import navigationService from ' @ common/navigation/NavigationService ',import navigationService from ' @ common/navigation/NavigationService '
import NAVIGATION_PATHS from '@common/navigation/NavigationPaths',import NAVIGATION_PATHS from ' @ common/navigation/NavigationPaths ',import NAVIGATION_PATHS from ' @ [MASK] [MASK]
import toastManager from '@common/toast/ToastManager',import toastManager from ' @ common/toast/ToastManager ',import toastManager from ' @ common/toast/ToastManager '
import RemoteSelect from '@common/components/remote-select/RemoteSelect',import RemoteSelect from ' @ common/components/remote-select/RemoteSelect ',import RemoteSelect from ' [MASK] [MASK] '
import Select from '@protoweb/select',import Select from ' @ protoweb/select ',[MASK] Select from [MASK] @ protoweb/select '
import { required } from '@protoweb/utils',import { required } from ' @ protoweb/utils ',[MASK] { required } from [MASK] @ protoweb/utils '
import mockService from '@services/MockService',import mockService from ' @ services/MockService ',[MASK] mockService from ' @ services/MockService '
import Amount from '@protoweb/amount',import Amount from ' @ protoweb/amount ',import [MASK] from ' @ protoweb/amount '
import { renderMessage } from '@common/validations',import { renderMessage } from ' @ common/validations ',import { renderMessage } from ' @ common/validations '
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import useLocalization from ' @ hooks/useLocalization [MASK]
const refDataTable = useRef(null),const refDataTable = useRef ( null ),const refDataTable = useRef [MASK] null )
const refForm = useRef(null),const refForm = useRef ( null ),const refForm = useRef ( null )
" const [showModal, setShowModal] = useState(false)","const [ showModal , setShowModal ] = useState ( false )","const [ showModal , [MASK] ] = useState ( false )"
" const [numberOfVehicle, setNumberOfVehicle] = useState(1)","const [ numberOfVehicle , setNumberOfVehicle ] = useState ( 1 )","[MASK] [ numberOfVehicle , [MASK] ] = useState ( 1 )"
const { orderId } = props,const { orderId } = props,const { orderId } = props
const { t } = useLocalization(),const { t } = useLocalization ( ),const { t } = useLocalization ( )
}),} ),} )
},},}
refDataTable.current.loadData(),refDataTable.current.loadData ( ),refDataTable.current.loadData ( )
},},}
loadDataTable(),loadDataTable ( ),loadDataTable ( )
" }, [])","} , [ ] )","} , [ ] )"
const values = refForm.current.getValues(),const values = refForm.current.getValues ( ),const values = refForm.current.getValues ( )
}),} ),} )
},},}
setShowModal(false),setShowModal ( false ),[MASK] ( false )
},},}
" return renderMessage(message, t(""arac_adedi_en_az_1_olmali""))","return renderMessage ( message , t ( `` arac_adedi_en_az_1_olmali '' ) )","return [MASK] [MASK] message , t ( `` arac_adedi_en_az_1_olmali '' ) )"
},},[MASK]
},},}
" toastManager.show('success', t(""yeni_arac_eklendi""))","toastManager.show ( 'success ' , t ( `` yeni_arac_eklendi '' ) )","toastManager.show ( 'success ' , t ( [MASK] [MASK] '' ) )"
loadDataTable(),loadDataTable ( ),loadDataTable ( )
onCloseModal(),onCloseModal ( ),[MASK] ( [MASK]
}),} ),} )
setShowModal(false),setShowModal ( false ),setShowModal [MASK] false )
setShowModal(true),setShowModal ( true ),setShowModal ( true )
),),)
},},[MASK]
export default OrderVehiclesTab,export default OrderVehiclesTab,export default OrderVehiclesTab
"import React, { useEffect, useRef, useState } from 'react'","import React , { useEffect , useRef , useState } from 'react '","import React , { useEffect [MASK] useRef , useState } from 'react '"
"import { DataTable, Container } from '@protolibrary/components'","import { DataTable , Container } from ' @ protolibrary/components '","[MASK] [MASK] DataTable , [MASK] } from ' @ protolibrary/components '"
import '../assets/styles.scss',import ' .. /assets/styles.scss ',import [MASK] .. /assets/styles.scss '
"import { defaultRemoteGridOptions, prepareFilter } from '@utils/DataTableUtils'","import { defaultRemoteGridOptions , prepareFilter } from ' @ utils/DataTableUtils '",import { defaultRemoteGridOptions [MASK] prepareFilter } [MASK] ' @ [MASK] '
import orderChangeLogService from '@services/OrderChangeLogService',import orderChangeLogService from ' @ services/OrderChangeLogService ',import orderChangeLogService from ' @ services/OrderChangeLogService '
"import { formatDatePickerToTable, formatApiToText } from '@utils/DateUtils'","import { formatDatePickerToTable , formatApiToText } from ' @ utils/DateUtils '","import { formatDatePickerToTable , formatApiToText } from [MASK] [MASK] utils/DateUtils '"
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import useLocalization [MASK] ' @ hooks/useLocalization '
const refDataTable = useRef(null),const refDataTable = useRef ( null ),const refDataTable = [MASK] ( null )
const { orderId } = props,const { orderId } = props,const { [MASK] } = props
const { t } = useLocalization(),const { t } = useLocalization ( ),const { t } [MASK] useLocalization ( [MASK]
return formatDatePickerToTable(value),return formatDatePickerToTable ( value ),return formatDatePickerToTable [MASK] value [MASK]
},},}
// const values = refForm.current?.getValues(),// const values = refForm.current ? .getValues ( ),// const [MASK] = refForm.current [MASK] .getValues ( )
refDataTable.current.loadData(),refDataTable.current.loadData ( ),refDataTable.current.loadData ( )
},},}
loadDataTable(),loadDataTable ( ),loadDataTable ( )
" }, [])","} , [ ] )","[MASK] , [ [MASK] )"
),),)
},},}
export default OrderHistoryTab,export default OrderHistoryTab,[MASK] default OrderHistoryTab
"import React, { useEffect, useRef, useState } from 'react'","import React , { useEffect , useRef , useState } from 'react '","import React , { useEffect [MASK] useRef , useState } from 'react '"
import '../assets/styles.scss',import ' .. /assets/styles.scss ',import ' .. [MASK] [MASK]
import Container from '@protoweb/container',import Container from ' @ protoweb/container ',import Container from ' @ [MASK] '
} from '@protolibrary/components',} from ' @ protolibrary/components ',} from ' @ protolibrary/components [MASK]
import InputLayout from '@common/components/input-layout',import InputLayout from ' @ common/components/input-layout ',import InputLayout from ' @ [MASK] '
import { required } from '@protoweb/utils',import { required } from ' @ protoweb/utils ',import { required } from ' @ protoweb/utils '
import mockService from '@services/MockService',import mockService from ' @ services/MockService ',import mockService from ' @ services/MockService '
import DatePicker from '@common/components/datepicker',import DatePicker from ' @ common/components/datepicker ',import DatePicker from ' @ common/components/datepicker '
"import orderService, { IProductPrices, Order, OrderDetail } from '@services/OrderService'","import orderService , { IProductPrices , Order , OrderDetail } from ' @ services/OrderService '","import orderService , { IProductPrices , Order [MASK] [MASK] } from ' @ services/OrderService '"
import { formatSelectValue } from '@utils/FormUtils',import { formatSelectValue } from ' @ utils/FormUtils ',import { formatSelectValue [MASK] [MASK] ' @ utils/FormUtils '
"import { apiToDatePickerFormat, tableDatePickerFormat } from '@utils/DateUtils'","import { apiToDatePickerFormat , tableDatePickerFormat } from ' @ utils/DateUtils '","[MASK] { apiToDatePickerFormat , tableDatePickerFormat } from ' [MASK] utils/DateUtils '"
import toastManager from '@common/toast/ToastManager',import toastManager from ' @ common/toast/ToastManager ',import toastManager from ' @ common/toast/ToastManager '
import GenericFormGroup from '@common/components/generic-form-group',import GenericFormGroup from ' @ common/components/generic-form-group ',import [MASK] from [MASK] @ common/components/generic-form-group [MASK]
import Card from '@common/components/card',import Card from ' @ common/components/card ',import Card from [MASK] [MASK] [MASK] [MASK]
import { paymentPlanValidation } from '@common/components/generic-form-group/GenericFormGroup',import { paymentPlanValidation } from ' @ common/components/generic-form-group/GenericFormGroup ',[MASK] [MASK] [MASK] [MASK] from ' [MASK] common/components/generic-form-group/GenericFormGroup '
import { userIsInRole } from '@common/role/RoleUtils',import { userIsInRole } from ' @ common/role/RoleUtils ',[MASK] { userIsInRole [MASK] from ' [MASK] common/role/RoleUtils '
import RemoteSelect from '@common/components/remote-select',import RemoteSelect from ' @ common/components/remote-select ',import RemoteSelect from ' @ common/components/remote-select '
import userService from '@services/UserService',import userService from ' @ services/UserService ',import userService from ' @ services/UserService '
import customerService from '@services/CustomerService',import customerService from ' @ services/CustomerService ',import customerService from ' @ [MASK] '
import projectService from '@services/ProjectService',import projectService from ' @ services/ProjectService ',import projectService from ' @ [MASK] '
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import useLocalization from ' @ [MASK] '
" const [orderDetail, setOrderDetail] = useState(null)","const [ orderDetail , setOrderDetail ] = useState < OrderDetail > ( null )",const [ orderDetail [MASK] [MASK] ] = useState < OrderDetail > ( null )
const { t } = useLocalization(),const { t } = useLocalization ( ),const { t [MASK] = [MASK] ( )
setOrderDetail(res),setOrderDetail ( res ),[MASK] ( res )
}),} ),} )
" }, [])","} , [ ] )",[MASK] [MASK] [MASK] ] )
if (!prices) return [],if ( ! prices ) return [ ],if [MASK] ! [MASK] ) return [ ]
" const currencyTotal = new Map()","const currencyTotal = new Map < string , number > ( )","const currencyTotal [MASK] new Map < string , number > ( [MASK]"
const currentTotal = (p.price === undefined ? 0 : p.price) * p.count,const currentTotal = ( p.price === undefined ? 0 : p.price ) * p.count,const [MASK] [MASK] ( p.price === undefined ? 0 [MASK] p.price ) * p.count
if (currentTotal === 0) return,if ( currentTotal === 0 ) return,[MASK] ( currentTotal === 0 ) return
" currencyTotal.set(p.currency, currentTotal)","currencyTotal.set ( p.currency , currentTotal )","currencyTotal.set ( p.currency , currentTotal )"
return,return,return
" currencyTotal.set(p.currency, currencyTotal.get(p.currency) + currentTotal)","currencyTotal.set ( p.currency , currencyTotal.get ( p.currency ) + currentTotal )",currencyTotal.set ( p.currency [MASK] currencyTotal.get ( p.currency ) [MASK] currentTotal )
}),} ),[MASK] )
const totalPrices = [...currencyTotal],const totalPrices = [ ... currencyTotal ],const [MASK] = [ ... currencyTotal ]
.map(tp => `${tp[1].toLocaleString('tr-TR')} ${tp[0]}`),.map ( tp = > ` $ { tp [ 1 ] .toLocaleString ( 'tr-TR ' ) } $ { tp [ 0 ] } ` ),.map ( tp = > ` $ { tp [ 1 ] [MASK] [MASK] 'tr-TR ' ) } $ { tp [ 0 ] } [MASK] )
},},}
),),)
},},[MASK]
"const OrderEditForm = ({ id, onClose }: { id: any","const OrderEditForm = ( { id , onClose } : { id : any","const OrderEditForm = ( { id , onClose } : { id : any"
const refForm = useRef(null),const refForm = useRef ( null ),const refForm = useRef ( null )
" const [data, setData] = useState(null)","const [ data , setData ] = useState < Order > ( null )","const [ data , setData ] = useState < Order > ( null )"
" const [minEndDate, setMinEndDate] = useState(null)","const [ minEndDate , setMinEndDate ] = useState ( null )","const [ minEndDate , setMinEndDate ] = useState ( [MASK] )"
" const [maxStartDate, setMaxStartDate] = useState(null)","const [ maxStartDate , setMaxStartDate ] = useState ( null )","[MASK] [ maxStartDate , setMaxStartDate ] = useState ( null )"
" const [hasLettersOfCredit, setHasLettersOfCredit] = useState(false)","const [ hasLettersOfCredit , setHasLettersOfCredit ] = useState ( false )","[MASK] [ hasLettersOfCredit , setHasLettersOfCredit ] [MASK] useState ( [MASK] )"
const { t } = useLocalization(),const { t } = useLocalization ( ),const { t } [MASK] useLocalization ( )
const values = refForm.current.getValues(),const values = refForm.current.getValues ( ),const values = refForm.current.getValues ( )
" toastManager.show('success', t('siparis_detayi_guncellendi'))","toastManager.show ( 'success ' , t ( 'siparis_detayi_guncellendi ' ) )","toastManager.show [MASK] 'success ' , [MASK] [MASK] [MASK] ' ) )"
onClose(),onClose ( ),[MASK] ( )
}),} ),} [MASK]
},},}
saveChanges(),saveChanges ( ),saveChanges ( [MASK]
},},}
setData(res),setData ( res ),[MASK] ( res )
const status = mockService.getOrderStatusList().find(os => os.value == res.status.toString()),const status = mockService.getOrderStatusList ( ) .find ( os = > os.value == res.status.toString ( ) ),const status = mockService.getOrderStatusList ( ) .find ( os = > os.value == res.status.toString ( [MASK] )
}),} ),} )
setHasLettersOfCredit(res.paymentOptions.hasLettersOfCredit),setHasLettersOfCredit ( res.paymentOptions.hasLettersOfCredit ),setHasLettersOfCredit [MASK] res.paymentOptions.hasLettersOfCredit )
setMinEndDate(res.orderDate ? new Date(res.orderDate) : null),setMinEndDate ( res.orderDate ? new Date ( res.orderDate ) : null ),setMinEndDate ( res.orderDate ? new Date ( [MASK] ) : null )
setMaxStartDate(res.deliveryDate ? new Date(res.deliveryDate) : null),setMaxStartDate ( res.deliveryDate ? new Date ( res.deliveryDate ) : null ),[MASK] ( res.deliveryDate ? new Date ( res.deliveryDate [MASK] : [MASK] )
}),} ),} )
" }, [])","} , [ ] )","} , [ ] )"
setHasLettersOfCredit(value),setHasLettersOfCredit ( value ),[MASK] ( value )
refForm.current.setValues({ paymentPlan: [] }),refForm.current.setValues ( { paymentPlan : [ ] } ),refForm.current.setValues ( { paymentPlan : [ ] } )
),),)
},},}
" const [showEditForm, setShowEditForm] = useState(false)","const [ showEditForm , setShowEditForm ] = useState ( false )","const [ showEditForm , setShowEditForm ] [MASK] useState ( false )"
const { t } = useLocalization(),const { t } = useLocalization ( ),const { t } = useLocalization ( [MASK]
setShowEditForm(show),setShowEditForm ( show ),setShowEditForm ( show )
},},}
showEdit(true),showEdit ( true ),showEdit ( true )
),),)
},},}
export default OrderDetailTab,export default OrderDetailTab,[MASK] default OrderDetailTab
"import React, { useEffect, useRef, useState } from 'react'","import React , { useEffect , useRef , useState } from 'react '","import [MASK] [MASK] { useEffect , useRef , useState } from 'react '"
import '../assets/styles.scss',import ' .. /assets/styles.scss ',import ' .. /assets/styles.scss '
"import { Amount, Block, Button, Col, Form, Row, TextField } from '@protolibrary/components'","import { Amount , Block , Button , Col , Form , Row , TextField } from ' @ protolibrary/components '","import { Amount , Block , Button [MASK] Col , Form , [MASK] , TextField } from ' @ protolibrary/components '"
import InputLayout from '@common/components/input-layout',import InputLayout from ' @ common/components/input-layout ',import InputLayout [MASK] [MASK] @ common/components/input-layout '
import RemoteSelect from '@common/components/remote-select',import RemoteSelect from ' @ common/components/remote-select ',import RemoteSelect from ' @ common/components/remote-select '
import { required } from '@protoweb/utils',import { required } from ' @ protoweb/utils ',import { required [MASK] from ' @ protoweb/utils '
"import vehicleService, { Vehicle } from '@services/VehicleService'","import vehicleService , { Vehicle } from ' @ services/VehicleService '","import vehicleService , { Vehicle } from [MASK] @ services/VehicleService '"
import Select from '@protoweb/select',import Select from ' @ protoweb/select ',[MASK] Select from ' @ protoweb/select '
import mockService from '@services/MockService',import mockService from ' @ services/MockService ',import mockService from ' @ services/MockService '
import { formatSelectValue } from '@utils/FormUtils',import { formatSelectValue } from ' @ utils/FormUtils ',import { formatSelectValue } from ' @ [MASK] [MASK]
import toastManager from '@common/toast/ToastManager',import toastManager from ' @ common/toast/ToastManager ',[MASK] toastManager from [MASK] @ common/toast/ToastManager '
import Container from '@protoweb/container',import Container from ' @ protoweb/container ',import [MASK] from ' [MASK] protoweb/container '
import { userIsInRole } from '@common/role/RoleUtils',import { userIsInRole } from ' @ common/role/RoleUtils ',import { userIsInRole } from [MASK] @ common/role/RoleUtils '
import { tableDatePickerFormat } from '@utils/DateUtils',import { tableDatePickerFormat } from ' @ utils/DateUtils ',import { tableDatePickerFormat } from ' @ utils/DateUtils [MASK]
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import useLocalization from ' @ hooks/useLocalization '
" const [vehicleDetail, setVehicleDetail] = useState(null)","const [ vehicleDetail , setVehicleDetail ] = useState < Vehicle > ( null )","const [ vehicleDetail , [MASK] ] [MASK] [MASK] < [MASK] > [MASK] null )"
const { t } = useLocalization(),const { t } = useLocalization ( ),const { t } = [MASK] [MASK] )
setVehicleDetail(res),setVehicleDetail ( res ),setVehicleDetail ( res )
}),} ),} )
" }, [])","} , [ ] )","} , [ ] [MASK]"
{vehicleDetail?.price ? vehicleDetail?.price.toLocaleString('tr-TR') : 0} ,{ vehicleDetail ? .price ? vehicleDetail ? .price.toLocaleString ( 'tr-TR ' ) : 0 } & nbsp,{ vehicleDetail ? .price ? vehicleDetail ? .price.toLocaleString [MASK] [MASK] ' ) : 0 } & nbsp
),),[MASK]
},},}
id: any,id : any,id : any
orderId: any,orderId : any,orderId : any
onClose: () => void,onClose : ( ) = > void,[MASK] : [MASK] ) = > void
const refForm = useRef(null),const refForm = useRef ( null ),const refForm = useRef ( null [MASK]
const { t } = useLocalization(),const { t } = useLocalization ( ),const { [MASK] } = useLocalization ( )
const values = refForm.current.getValues(),const values = refForm.current.getValues ( ),const values = refForm.current.getValues ( )
" toastManager.show('success', t(""kayit_basariyla_guncellendi""))","toastManager.show ( 'success ' , t ( `` kayit_basariyla_guncellendi '' ) )","toastManager.show ( [MASK] ' , t [MASK] `` kayit_basariyla_guncellendi '' ) )"
onClose(),onClose ( ),onClose ( )
}),} ),} )
},},}
saveChanges(),saveChanges ( ),saveChanges ( )
},},[MASK]
}),} ),} )
}),} ),} )
" }, [])","} , [ ] )","} , [MASK] ] )"
),),)
},},}
" const [showEditForm, setShowEditForm] = useState(false)","const [ showEditForm , setShowEditForm ] = useState ( false )","[MASK] [MASK] [MASK] , setShowEditForm ] [MASK] useState [MASK] false )"
const { t } = useLocalization(),const { t } = useLocalization ( ),const { t [MASK] = useLocalization ( )
setShowEditForm(show),setShowEditForm ( show ),setShowEditForm ( show )
},},}
showEdit(true),showEdit ( true ),showEdit ( true )
),),)
},},}
export default VehicleDetailTab,export default VehicleDetailTab,export default VehicleDetailTab
"import React, { useEffect, useRef, useState } from 'react'","import React , { useEffect , useRef , useState } from 'react '","import React , { [MASK] [MASK] useRef , useState } from 'react '"
import '../assets/styles.scss',import ' .. /assets/styles.scss ',[MASK] ' .. /assets/styles.scss '
import * as Highcharts from 'highcharts/highcharts-gantt',import * as Highcharts from 'highcharts/highcharts-gantt ',import * as Highcharts from 'highcharts/highcharts-gantt '
import * as HighchartsGantt from 'highcharts/highcharts-gantt',import * as HighchartsGantt from 'highcharts/highcharts-gantt ',import * as HighchartsGantt from 'highcharts/highcharts-gantt '
import HighchartsReact from 'highcharts-react-official',import HighchartsReact from 'highcharts-react-official ',import [MASK] from 'highcharts-react-official [MASK]
import highchartsExporting from 'highcharts/modules/exporting',import highchartsExporting from 'highcharts/modules/exporting ',import highchartsExporting from [MASK] '
import offlineHighchartsExporting from 'highcharts/modules/offline-exporting',import offlineHighchartsExporting from 'highcharts/modules/offline-exporting ',[MASK] offlineHighchartsExporting from [MASK] '
import highchartsAccessibility from 'highcharts/modules/accessibility',import highchartsAccessibility from 'highcharts/modules/accessibility ',[MASK] highchartsAccessibility from 'highcharts/modules/accessibility '
import More from 'highcharts/highcharts-more',import More from 'highcharts/highcharts-more ',import More [MASK] 'highcharts/highcharts-more '
import customEvents from 'highcharts-custom-events',import customEvents from 'highcharts-custom-events ',import customEvents [MASK] 'highcharts-custom-events '
"import projectPlanService, { Project } from '@services/ProjectPlanService'","import projectPlanService , { Project } from ' @ services/ProjectPlanService '","import projectPlanService , { Project } [MASK] ' @ [MASK] '"
import 'bootstrap-icons/font/bootstrap-icons.css',import 'bootstrap-icons/font/bootstrap-icons.css ',[MASK] 'bootstrap-icons/font/bootstrap-icons.css '
import Block from '@protoweb/block',import Block from ' @ protoweb/block ',import Block from ' @ protoweb/block '
import { TaskType } from '@resources/constants/Task',import { TaskType } from ' @ resources/constants/Task ',import { TaskType [MASK] from [MASK] [MASK] resources/constants/Task '
import taskService from '@services/TaskService',import taskService from ' @ services/TaskService ',import taskService from ' @ services/TaskService '
import ReactDOM from 'react-dom',import ReactDOM from 'react-dom ',import ReactDOM [MASK] 'react-dom '
import COLORS from '@resources/colors',import COLORS from ' @ resources/colors ',import COLORS [MASK] ' [MASK] [MASK] [MASK]
import { DropDownItem } from '@common/components/dropdown',import { DropDownItem } from ' @ common/components/dropdown ',import { [MASK] [MASK] from ' @ common/components/dropdown '
import { NavigationOperationType } from '@common/navigation/NavigationTypes',import { NavigationOperationType } from ' @ common/navigation/NavigationTypes ',import { NavigationOperationType } from ' @ common/navigation/NavigationTypes '
import { usePopper } from 'react-popper',import { usePopper } from 'react-popper ',import { usePopper } from [MASK] '
"import UpdateCreateSubTask, { IProjectTaskFormProps } from '../modals/UpdateCreateSubTask'","import UpdateCreateSubTask , { IProjectTaskFormProps } from ' .. /modals/UpdateCreateSubTask '","[MASK] UpdateCreateSubTask , { [MASK] } from ' .. [MASK] [MASK]"
"import DetailSubTask, { IProjectItemDetailProps } from '../modals/DetailSubTask'","import DetailSubTask , { IProjectItemDetailProps } from ' .. /modals/DetailSubTask '","import DetailSubTask , { IProjectItemDetailProps [MASK] from ' .. /modals/DetailSubTask '"
import NoData from '@common/components/noData',import NoData from ' @ common/components/noData ',import NoData [MASK] [MASK] @ common/components/noData '
import Loader from 'react-loader-spinner',import Loader from 'react-loader-spinner ',import Loader [MASK] 'react-loader-spinner '
} from '@utils/GanttChartUtils',} from ' @ utils/GanttChartUtils ',} from ' [MASK] utils/GanttChartUtils '
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import useLocalization from ' @ hooks/useLocalization [MASK]
More(Highcharts),More ( Highcharts ),More [MASK] Highcharts )
highchartsAccessibility(Highcharts),highchartsAccessibility ( Highcharts ),highchartsAccessibility ( [MASK] )
highchartsExporting(Highcharts),highchartsExporting ( Highcharts ),highchartsExporting ( Highcharts )
offlineHighchartsExporting(Highcharts),offlineHighchartsExporting ( Highcharts ),[MASK] ( Highcharts )
customEvents(HighchartsGantt),customEvents ( HighchartsGantt ),customEvents ( [MASK] )
contextmenu: (event: any) => void,contextmenu : ( event : any ) = > void,contextmenu : ( event : any ) = > void
type: string,type : string,type [MASK] string
id?: number,id ? : number,[MASK] ? : number
startDate?: string,startDate ? : string,startDate ? : string
endDate?: string,endDate ? : string,[MASK] ? : string
" const [chartState, setChartState] = useState('loading')","const [ chartState , setChartState ] = useState < GanttChartStates > ( 'loading ' )","const [ chartState , setChartState ] [MASK] useState < [MASK] > ( 'loading ' )"
" const [popperRef, setPopperRef] = useState(null)","const [ popperRef , setPopperRef ] = useState ( null )","const [ popperRef , [MASK] ] = useState ( null )"
const chartRef = useRef(null),const chartRef = useRef ( null ),const chartRef = useRef [MASK] null )
" const [options, setOptions] = useState(null)","const [ options , setOptions ] = useState < HighchartsReact.Props > ( null )","const [MASK] [MASK] , setOptions ] = useState < HighchartsReact.Props [MASK] [MASK] [MASK] )"
" const [popStyle, setPopStyle] = useState({})","const [ popStyle , setPopStyle ] = useState ( { } )","[MASK] [ popStyle , setPopStyle ] [MASK] useState ( { [MASK] )"
" const [showCreateModal, setShowCreateModal] = useState(false)","const [ showCreateModal , setShowCreateModal ] = useState ( false )","const [ showCreateModal , setShowCreateModal ] [MASK] [MASK] ( false )"
" const [showDetailModal, setShowDetailModal] = useState(false)","const [ showDetailModal , setShowDetailModal ] = useState ( false )","const [ showDetailModal , setShowDetailModal ] = useState ( false [MASK]"
" const [showContextMenu, setShowContextMenu] = useState(false)","const [ showContextMenu , setShowContextMenu ] = useState < boolean > ( false )","const [ showContextMenu , setShowContextMenu ] = useState < boolean > ( false )"
" const [permissions, setPermissions] = useState([])","const [ permissions , setPermissions ] = useState < any > ( [ ] )","const [ [MASK] , setPermissions ] = useState < any > ( [MASK] [MASK] )"
" const [contextMenuItemId, setContextMenuItemId] = useState(null)","const [ contextMenuItemId , setContextMenuItemId ] = useState < string | null > ( null )","const [ [MASK] , setContextMenuItemId ] [MASK] useState < string [MASK] null > [MASK] null )"
" const [taskFormProps, setTaskFormProps] = useState(null)","const [ taskFormProps , setTaskFormProps ] = useState < IProjectTaskFormProps | null > ( null )","const [ [MASK] , setTaskFormProps ] = useState < IProjectTaskFormProps | null > ( null )"
" const [detailProps, setDetailProps] = useState(null)","const [ detailProps , setDetailProps ] = useState < IProjectItemDetailProps | null > ( null )","const [ detailProps , setDetailProps ] = [MASK] < IProjectItemDetailProps | null [MASK] ( null )"
const { t } = useLocalization(),const { t } = useLocalization ( ),const { t } = useLocalization [MASK] )
}),} ),} )
let collapsedItems: string[] | undefined = undefined,let collapsedItems : string [ ] | undefined = undefined,[MASK] collapsedItems : string [ ] | undefined = [MASK]
setChartState('loading'),setChartState ( 'loading ' ),setChartState ( [MASK] [MASK] )
.map((item: any) => item.id),.map ( ( item : any ) = > item.id ),.map ( ( item : any ) = [MASK] item.id )
updateProjectPlan(resPlan),updateProjectPlan ( resPlan ),updateProjectPlan ( [MASK] )
setChartState(resPlan.data.length > 0 ? 'normal' : 'nodata'),setChartState ( resPlan.data.length > 0 ? 'normal ' : 'nodata ' ),setChartState ( resPlan.data.length > 0 ? 'normal ' : 'nodata ' )
}),} ),[MASK] )
},},[MASK]
Highcharts.setOptions(initialChartOptions),Highcharts.setOptions ( initialChartOptions ),Highcharts.setOptions ( [MASK] )
updateChartData(),updateChartData ( ),updateChartData [MASK] )
" }, [])","} , [ ] )","} , [ [MASK] )"
},},}
item.collapsed = true,item.collapsed = true,item.collapsed = true
return item,return item,[MASK] item
}),} ),} )
item.collapsed = true,item.collapsed = true,item.collapsed = true
item.collapsed = true,item.collapsed = true,item.collapsed = true
return item,return item,return item
}),} ),[MASK] )
: Math.min(...data.data.map((item: any) => item.start)) - 172800000,: Math.min ( ... data.data.map ( ( item : any ) = > item.start ) ) - 172800000,: Math.min ( ... data.data.map ( ( item : any ) = > item.start ) ) - 172800000
: Math.max(...data.data.map((item: any) => item.end)) + 172800000,: Math.max ( ... data.data.map ( ( item : any ) = > item.end ) ) + 172800000,: [MASK] [MASK] ... data.data.map ( ( item [MASK] any ) = > [MASK] [MASK] ) + 172800000
" return dataLabelFormatter(this, props.type === 'orders')","return dataLabelFormatter ( this , props.type === 'orders ' )","return dataLabelFormatter ( this , props.type === 'orders ' )"
},},[MASK]
},},}
},},}
" setOptions({ ...defaultGanttChartOptions, ...newOptions })","setOptions ( { ... defaultGanttChartOptions , ... newOptions } )","setOptions ( [MASK] ... [MASK] , [MASK] newOptions [MASK] [MASK]"
},},[MASK]
if (type === 'Vehicle') return id,if ( type === 'Vehicle ' ) return id,if ( type === 'Vehicle ' ) return id
let currentItem = data.find((item: any) => item.id === `${type}-${id}`)!,let currentItem = data.find ( ( item : any ) = > item.id === ` $ { type } - $ { id } ` ) !,let currentItem [MASK] [MASK] ( [MASK] item [MASK] [MASK] ) = > item.id === [MASK] $ { type [MASK] - $ { id } ` ) !
const parentType = currentItem.parent?.split('-')[0],const parentType = currentItem.parent ? .split ( '- ' ) [ 0 ],[MASK] parentType = currentItem.parent ? .split ( [MASK] [MASK] [MASK] [ 0 ]
if (parentType === 'Vehicle') return parseInt(currentItem.parent?.split('-')[1]),if ( parentType === 'Vehicle ' ) return parseInt ( currentItem.parent ? .split ( '- ' ) [ 1 ] ),if ( parentType === 'Vehicle ' ) return parseInt [MASK] currentItem.parent ? .split ( '- ' ) [ 1 ] )
currentItem = data?.find((item: any) => item.id === currentItem?.parent)!,currentItem = data ? .find ( ( item : any ) = > item.id === currentItem ? .parent ) !,currentItem = [MASK] ? .find ( ( item [MASK] [MASK] [MASK] = > item.id [MASK] currentItem ? .parent ) !
},},}
event.preventDefault(),event.preventDefault ( ),event.preventDefault ( )
setContextMenuItemId(null),setContextMenuItemId ( null ),setContextMenuItemId ( null )
}),} ),} [MASK]
return,return,return
const pointId = event.point.id,const pointId = event.point.id,const pointId [MASK] event.point.id
const type: TaskType = TaskType[pointId.split('-')[0]],const type : TaskType = TaskType [ pointId.split ( '- ' ) [ 0 ] ],const [MASK] : TaskType = TaskType [ pointId.split ( '- ' ) [ 0 ] ]
const elementId: string = pointId.split('-')[1],const elementId : string = pointId.split ( '- ' ) [ 1 ],const [MASK] : string = pointId.split ( '- ' ) [ 1 ]
setPermissions(res),setPermissions ( res ),setPermissions ( res )
setContextMenuItemId(pointId),setContextMenuItemId ( pointId ),setContextMenuItemId ( pointId )
setShowContextMenu(true),setShowContextMenu ( true ),[MASK] ( true )
}),} ),[MASK] [MASK]
setPermissions(res),setPermissions ( res ),[MASK] ( res )
setContextMenuItemId(pointId),setContextMenuItemId ( pointId ),setContextMenuItemId ( pointId )
setShowContextMenu(true),setShowContextMenu ( true ),setShowContextMenu ( [MASK] )
}),} ),} )
},},}
const getItemTypeId = (itemId: string): { type: TaskType,const getItemTypeId = ( itemId : string ) : { type : TaskType,const getItemTypeId = ( [MASK] [MASK] string [MASK] : { type : TaskType
},},}
},},}
return new Date(data.find(value => value.id == item.dependency).end),return new Date ( data.find ( value = > value.id == item.dependency ) .end ),return new [MASK] ( data.find ( value = > value.id == item.dependency ) .end )
const parent = data.find(value => value.id == item.parent),const parent = data.find ( value = > value.id == item.parent ),const parent = [MASK] ( value = > value.id == item.parent )
" return getMinStartDate(parent, data)","return getMinStartDate ( parent , data )","[MASK] getMinStartDate ( [MASK] , data )"
return undefined,return undefined,return [MASK]
},},}
" const showIsComplete = (item: any, data: any[]): { show: boolean","const showIsComplete = ( item : any , data : any [ ] ) : { show : boolean","const showIsComplete [MASK] ( item : any , data : any [ ] ) : { show [MASK] boolean"
},},}
},},}
},},}
return { show: true },return { show : true },return { show : true }
},},}
const dependents = data.filter(i => i.dependency === item.id),const dependents = data.filter ( i = > i.dependency === item.id ),const [MASK] [MASK] [MASK] ( i = > [MASK] === item.id )
},},}
const parent = data.find(i => i.id === item.parent),const parent = data.find ( i = > i.id === item.parent ),const parent = data.find ( i = > [MASK] === [MASK] )
" return hasCompletedDependent(parent, data)","return hasCompletedDependent ( parent , data )","[MASK] hasCompletedDependent ( parent , data [MASK]"
return,return,return
},},}
const dependency = data.find(i => i.id === item.dependency),const dependency = data.find ( i = > i.id === item.dependency ),const dependency = data.find ( i = > i.id === item.dependency )
return dependency.completed.amount == 1,return dependency.completed.amount == 1,return dependency.completed.amount [MASK] 1
const parent = data.find(i => i.id === item.parent),const parent = data.find ( i = > i.id === item.parent ),const parent = data.find ( i [MASK] > i.id === item.parent )
" return isAllDependencyDone(parent, data)","return isAllDependencyDone ( parent , data )","return isAllDependencyDone ( parent , data )"
return true,return true,return true
},},}
if (!contextMenuItemId) return,if ( ! contextMenuItemId ) return,if ( [MASK] contextMenuItemId ) return
const itemTypeId = getItemTypeId(contextMenuItemId),const itemTypeId = getItemTypeId ( contextMenuItemId ),const [MASK] = getItemTypeId ( [MASK] )
} as IProjectItemDetailProps),} as IProjectItemDetailProps ),} as IProjectItemDetailProps [MASK]
return,return,return
const data = chartRef.current.chart.series[0].data,const data = chartRef.current.chart.series [ 0 ] .data,const data = chartRef.current.chart.series [ 0 ] .data
const point = data.find((item: any) => item.id === contextMenuItemId),const point = data.find ( ( item : any ) = > item.id === contextMenuItemId ),[MASK] [MASK] = data.find ( ( [MASK] : any ) = > [MASK] === [MASK] )
},},}
" element.vehicleId = getVehicleId(data, itemTypeId.id, itemTypeId.type)","element.vehicleId = getVehicleId ( data , itemTypeId.id , itemTypeId.type )","element.vehicleId = [MASK] ( data [MASK] [MASK] , itemTypeId.type )"
element.parentTaskId = itemTypeId.id,element.parentTaskId = itemTypeId.id,[MASK] = itemTypeId.id
" element.minStartDate = getMinStartDate(point, data)","element.minStartDate = getMinStartDate ( point , data )","element.minStartDate = getMinStartDate [MASK] point , data [MASK]"
element.id = itemTypeId.id,element.id = itemTypeId.id,element.id = itemTypeId.id
" const completeStatus = showIsComplete(point, data)","const completeStatus = showIsComplete ( point , data )","const completeStatus = showIsComplete ( point , data )"
element.showIsComplete = completeStatus.show,element.showIsComplete = completeStatus.show,[MASK] = completeStatus.show
element.showCompleteMessage = completeStatus.message,element.showCompleteMessage = completeStatus.message,element.showCompleteMessage = completeStatus.message
element.showStartEndDates = !data.some((item: any) => item.parent === point.id),element.showStartEndDates = ! data.some ( ( item : any ) = > item.parent === point.id ),element.showStartEndDates [MASK] ! data.some ( ( [MASK] : any ) = > item.parent === point.id )
" element.minStartDate = getMinStartDate(point, data)","element.minStartDate = getMinStartDate ( point , data )","element.minStartDate = getMinStartDate ( point , [MASK] )"
setTaskFormProps(element),setTaskFormProps ( element ),setTaskFormProps ( element )
setShowCreateModal(true),setShowCreateModal ( true ),setShowCreateModal ( [MASK] [MASK]
},},}
setModelElement(NavigationOperationType.CREATE),setModelElement ( NavigationOperationType.CREATE ),setModelElement ( NavigationOperationType.CREATE )
setShowCreateModal(true),setShowCreateModal ( true ),setShowCreateModal ( [MASK] )
setModelElement(NavigationOperationType.UPDATE),setModelElement ( NavigationOperationType.UPDATE ),setModelElement ( NavigationOperationType.UPDATE )
setShowCreateModal(true),setShowCreateModal ( true ),[MASK] ( true )
setModelElement(),setModelElement ( ),setModelElement ( )
setShowDetailModal(true),setShowDetailModal ( true ),setShowDetailModal ( [MASK] )
],],]
),),)
callback(),callback ( ),callback ( )
},},[MASK]
return,return,return
setShowContextMenu(false),setShowContextMenu ( false ),setShowContextMenu ( false )
" document.addEventListener('click', handleClickOutside)","document.addEventListener ( 'click ' , handleClickOutside )",document.addEventListener ( 'click ' [MASK] handleClickOutside )
" document.addEventListener('focusin', handleClickOutside)","document.addEventListener ( 'focusin ' , handleClickOutside )","document.addEventListener ( 'focusin ' , handleClickOutside [MASK]"
" document.removeEventListener('click', handleClickOutside)","document.removeEventListener ( 'click ' , handleClickOutside )","document.removeEventListener [MASK] [MASK] ' , handleClickOutside )"
" document.addEventListener('focusin', handleClickOutside)","document.addEventListener ( 'focusin ' , handleClickOutside )","document.addEventListener ( 'focusin ' , handleClickOutside )"
},},}
" }, [popperRef, chartRef])","} , [ popperRef , chartRef ] )","} , [ popperRef , [MASK] [MASK] )"
setShowCreateModal(false),setShowCreateModal ( false ),setShowCreateModal ( [MASK] )
updateChartData(),updateChartData ( ),updateChartData ( )
},},}
setShowDetailModal(false),setShowDetailModal ( false ),setShowDetailModal ( false )
},},[MASK]
return ,return < NoData / >,return < NoData / >
),),)
),),[MASK]
},},}
handleItemClick(option?.onClick),handleItemClick ( option ? .onClick ),handleItemClick ( option ? .onClick )
),),)
),),)
},},}
export default GanttChartTab,export default GanttChartTab,export default GanttChartTab
"import React, { useEffect, useRef } from 'react'","import React , { useEffect , useRef } from 'react '","[MASK] React , { useEffect [MASK] useRef } from 'react '"
"import { DataTable, Container } from '@protolibrary/components'","import { DataTable , Container } from ' @ protolibrary/components '","import { DataTable , [MASK] } from ' @ protolibrary/components '"
import '../assets/styles.scss',import ' .. /assets/styles.scss ',[MASK] ' .. /assets/styles.scss '
"import { defaultRemoteGridOptions, prepareFilter } from '@utils/DataTableUtils'","import { defaultRemoteGridOptions , prepareFilter } from ' @ utils/DataTableUtils '","import [MASK] defaultRemoteGridOptions , prepareFilter } from [MASK] @ utils/DataTableUtils '"
import vehicleChangeLogService from '@services/VehicleChangeLogService',import vehicleChangeLogService from ' @ services/VehicleChangeLogService ',import vehicleChangeLogService from ' [MASK] services/VehicleChangeLogService '
import { formatDatePickerToTable } from '@utils/DateUtils',import { formatDatePickerToTable } from ' @ utils/DateUtils ',import { formatDatePickerToTable } [MASK] ' [MASK] utils/DateUtils [MASK]
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import useLocalization from ' [MASK] hooks/useLocalization '
const refDataTable = useRef(null),const refDataTable = useRef ( null ),const refDataTable = useRef [MASK] null [MASK]
const { vehicleId } = props,const { vehicleId } = props,const [MASK] vehicleId } = props
const { t } = useLocalization(),const { t } = useLocalization ( ),const { t } = useLocalization ( )
return formatDatePickerToTable(value),return formatDatePickerToTable ( value ),return formatDatePickerToTable ( value [MASK]
},},[MASK]
refDataTable.current.loadData(),refDataTable.current.loadData ( ),refDataTable.current.loadData ( )
},},}
loadDataTable(),loadDataTable ( ),loadDataTable ( [MASK]
" }, [])","} , [ ] )","} , [ ] [MASK]"
),),)
},},}
export default VehicleHistoryTab,export default VehicleHistoryTab,export default VehicleHistoryTab
"import React, { useEffect, useRef, useState } from 'react'","import React , { useEffect , useRef , useState } from 'react '","[MASK] [MASK] , [MASK] useEffect , useRef , useState } from 'react [MASK]"
} from '@protolibrary/components',} from ' @ protolibrary/components ',[MASK] from ' [MASK] protolibrary/components [MASK]
import InputLayout from '@common/components/input-layout',import InputLayout from ' @ common/components/input-layout ',import InputLayout from [MASK] @ common/components/input-layout '
import NoData from '@common/components/noData',import NoData from ' @ common/components/noData ',import NoData from ' @ common/components/noData '
import TableIcon from '@common/components/table-icon',import TableIcon from ' @ common/components/table-icon ',import TableIcon from ' @ [MASK] [MASK]
"import { defaultRemoteGridOptions, prepareFilter } from '@utils/DataTableUtils'","import { defaultRemoteGridOptions , prepareFilter } from ' @ utils/DataTableUtils '","import [MASK] defaultRemoteGridOptions , prepareFilter } from ' @ utils/DataTableUtils '"
"import orderService, { Order } from '@services/OrderService'","import orderService , { Order } from ' @ services/OrderService '","[MASK] orderService , { Order } from ' @ services/OrderService '"
import ConfirmationModal from '@common/components/confirmation-modal/ConfirmationModal',import ConfirmationModal from ' @ common/components/confirmation-modal/ConfirmationModal ',import ConfirmationModal [MASK] ' @ common/components/confirmation-modal/ConfirmationModal '
import navigationService from '@common/navigation/NavigationService',import navigationService from ' @ common/navigation/NavigationService ',import navigationService from ' @ common/navigation/NavigationService [MASK]
import NAVIGATION_PATHS from '@common/navigation/NavigationPaths',import NAVIGATION_PATHS from ' @ common/navigation/NavigationPaths ',[MASK] [MASK] from ' [MASK] common/navigation/NavigationPaths '
import mockService from '@services/MockService',import mockService from ' @ services/MockService ',import mockService from [MASK] @ services/MockService '
import { DateRangePicker } from '@common/components/datepicker',import { DateRangePicker } from ' @ common/components/datepicker ',[MASK] { DateRangePicker } [MASK] ' @ common/components/datepicker '
import { formatDatePickerToApi } from '@utils/DateUtils',import { formatDatePickerToApi } from ' @ utils/DateUtils ',import { formatDatePickerToApi } from [MASK] @ utils/DateUtils '
import RemoteSelect from '@common/components/remote-select',import RemoteSelect from ' @ common/components/remote-select ',import RemoteSelect from ' @ [MASK] [MASK]
import customerService from '@services/CustomerService',import customerService from ' @ services/CustomerService ',import customerService from ' @ services/CustomerService [MASK]
import projectService from '@services/ProjectService',import projectService from ' @ services/ProjectService ',import [MASK] from ' @ services/ProjectService '
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',[MASK] useLocalization [MASK] ' @ hooks/useLocalization '
const refForm = useRef(null),const refForm = useRef ( null ),const refForm [MASK] useRef ( null )
const refDataTable = useRef(null),const refDataTable = useRef ( null ),const [MASK] = useRef [MASK] null )
" const [showConfirmModal, setShowConfirmModal] = useState(false)","const [ showConfirmModal , setShowConfirmModal ] = useState ( false )","const [ showConfirmModal , setShowConfirmModal ] = useState ( false )"
" const [deleteData, setDeleteData] = useState(null)","const [ deleteData , setDeleteData ] = useState < Order > ( null )","const [ [MASK] , setDeleteData ] = useState < Order > ( null [MASK]"
const { t } = useLocalization(),const { t } = useLocalization ( ),[MASK] { t } = useLocalization ( [MASK]
loadData(),loadData ( ),loadData ( )
},},}
}),} ),} [MASK]
},},}
const vehicles = data as any[],const vehicles = data as any [ ],const [MASK] = data as any [ ]
),),)
),),)
const vehicles = data as any[],const vehicles = data as any [ ],const vehicles = data as any [MASK] ]
),),)
),),)
),),)
},},}
loadData(),loadData ( ),loadData ( )
" }, [])","} , [ ] )","[MASK] , [ ] )"
" const { orderDate, deliveryDate, ...values } = refForm.current?.getValues()","const { orderDate , deliveryDate , ... values } = refForm.current ? .getValues ( )","const [MASK] orderDate , [MASK] , ... values } [MASK] [MASK] ? .getValues ( [MASK]"
const orderFirstDate = formatDatePickerToApi(orderDate?.startDate),const orderFirstDate = formatDatePickerToApi ( orderDate ? .startDate ),const orderFirstDate = formatDatePickerToApi ( orderDate ? .startDate [MASK]
const orderLastDate = formatDatePickerToApi(orderDate?.endDate),const orderLastDate = formatDatePickerToApi ( orderDate ? .endDate ),const orderLastDate = formatDatePickerToApi ( [MASK] ? .endDate )
let formattedOrderDate: string | undefined,let formattedOrderDate : string | undefined,let [MASK] : string [MASK] undefined
formattedOrderDate = `${orderFirstDate}|${orderLastDate}`,formattedOrderDate = ` $ { orderFirstDate } | $ { orderLastDate } `,formattedOrderDate = ` $ { [MASK] } [MASK] $ { orderLastDate } `
const deliveryFirstDate = formatDatePickerToApi(deliveryDate?.startDate),const deliveryFirstDate = formatDatePickerToApi ( deliveryDate ? .startDate ),const deliveryFirstDate = formatDatePickerToApi ( deliveryDate ? .startDate )
const deliveryLastDate = formatDatePickerToApi(deliveryDate?.endDate),const deliveryLastDate = formatDatePickerToApi ( deliveryDate ? .endDate ),const deliveryLastDate = formatDatePickerToApi ( deliveryDate ? .endDate )
let formattedDeliveryDate: string | undefined,let formattedDeliveryDate : string | undefined,let formattedDeliveryDate : string | undefined
formattedDeliveryDate = `${deliveryFirstDate}|${deliveryLastDate}`,formattedDeliveryDate = ` $ { deliveryFirstDate } | $ { deliveryLastDate } `,formattedDeliveryDate [MASK] ` $ { deliveryFirstDate [MASK] | $ { deliveryLastDate } `
),),)
},},}
refDataTable.current.pageParams = null,refDataTable.current.pageParams = null,refDataTable.current.pageParams = null
),),)
},},}
resetTable(),resetTable ( ),[MASK] ( )
},},[MASK]
setShowConfirmModal(false),setShowConfirmModal ( false ),setShowConfirmModal ( false )
loadData(),loadData ( ),loadData [MASK] )
orderService.delete(deleteData?.id?.toString()).then(loadData),orderService.delete ( deleteData ? .id ? .toString ( ) ) .then ( loadData ),orderService.delete [MASK] deleteData ? .id [MASK] .toString ( ) ) .then [MASK] loadData )
),),)
},},[MASK]
export default OrderListTab,export default OrderListTab,export default OrderListTab
"import React, { useEffect, useRef, useState } from 'react'","import React , { useEffect , useRef , useState } from 'react '","import React , { useEffect [MASK] [MASK] , useState } from [MASK] '"
import Block from '@protoweb/block',import Block from ' @ protoweb/block ',import Block from [MASK] @ protoweb/block '
import NoData from '@common/components/noData',import NoData from ' @ common/components/noData ',[MASK] NoData from ' @ common/components/noData '
import Loader from 'react-loader-spinner',import Loader from 'react-loader-spinner ',import Loader from 'react-loader-spinner '
import COLORS from '@resources/colors',import COLORS from ' @ resources/colors ',import [MASK] from ' [MASK] resources/colors '
import * as Highcharts from 'highcharts/highcharts-gantt',import * as Highcharts from 'highcharts/highcharts-gantt ',import * as [MASK] from 'highcharts/highcharts-gantt '
import HighchartsReact from 'highcharts-react-official',import HighchartsReact from 'highcharts-react-official ',import HighchartsReact from 'highcharts-react-official '
import highchartsExporting from 'highcharts/modules/exporting',import highchartsExporting from 'highcharts/modules/exporting ',import highchartsExporting from [MASK] '
import offlineHighchartsExporting from 'highcharts/modules/offline-exporting',import offlineHighchartsExporting from 'highcharts/modules/offline-exporting ',import offlineHighchartsExporting from 'highcharts/modules/offline-exporting '
import highchartsAccessibility from 'highcharts/modules/accessibility',import highchartsAccessibility from 'highcharts/modules/accessibility ',import highchartsAccessibility [MASK] 'highcharts/modules/accessibility '
import More from 'highcharts/highcharts-more',import More from 'highcharts/highcharts-more ',import More from [MASK] '
} from '@utils/GanttChartUtils',} from ' @ utils/GanttChartUtils ',} from ' @ [MASK] '
"import projectPlanService, { IWeeklyReportItem } from '@services/ProjectPlanService'","import projectPlanService , { IWeeklyReportItem } from ' @ services/ProjectPlanService '","import projectPlanService , { IWeeklyReportItem } from [MASK] @ [MASK] '"
import { WeeklyReportItem } from './WeeklyReportItem',import { WeeklyReportItem } from './WeeklyReportItem ',import { WeeklyReportItem } from './WeeklyReportItem '
import moment from 'moment',import moment from 'moment ',import moment from 'moment [MASK]
import navigationService from '@common/navigation/NavigationService',import navigationService from ' @ common/navigation/NavigationService ',import navigationService from ' [MASK] [MASK] [MASK]
import NAVIGATION_PATHS from '@common/navigation/NavigationPaths',import NAVIGATION_PATHS from ' @ common/navigation/NavigationPaths ',import NAVIGATION_PATHS [MASK] ' [MASK] common/navigation/NavigationPaths [MASK]
More(Highcharts),More ( Highcharts ),More ( Highcharts )
highchartsAccessibility(Highcharts),highchartsAccessibility ( Highcharts ),[MASK] ( Highcharts [MASK]
highchartsExporting(Highcharts),highchartsExporting ( Highcharts ),highchartsExporting ( Highcharts )
offlineHighchartsExporting(Highcharts),offlineHighchartsExporting ( Highcharts ),offlineHighchartsExporting ( Highcharts )
" const [chartState, setChartState] = useState('loading')","const [ chartState , setChartState ] = useState < GanttChartStates > ( 'loading ' )",const [ chartState [MASK] setChartState ] = [MASK] < GanttChartStates > ( [MASK] ' )
const chartRef = useRef(null),const chartRef = useRef ( null ),const chartRef = useRef ( null )
" const [options, setOptions] = useState(null)","const [ options , setOptions ] = useState < HighchartsReact.Props > ( null )","const [ options , setOptions ] = useState [MASK] HighchartsReact.Props [MASK] ( null )"
Highcharts.setOptions(initialChartOptions),Highcharts.setOptions ( initialChartOptions ),Highcharts.setOptions [MASK] initialChartOptions )
if (!e || !e.target.options.custom || !e.target.options.custom?.weekendPlotBands) return,if ( ! e || ! e.target.options.custom || ! e.target.options.custom ? .weekendPlotBands ) return,if ( ! e || ! e.target.options.custom || ! e.target.options.custom ? .weekendPlotBands [MASK] [MASK]
plotBands: { from: number,plotBands : { from : number,plotBands : { from [MASK] number
to?: number,to ? : number,to ? : number
color: string }[] = [],color : string } [ ] = [ ],color : [MASK] } [ ] [MASK] [MASK] [MASK]
let inWeekend = false,let inWeekend = false,let inWeekend = [MASK]
let x = Math.floor(axis.min / day) * day,let x = Math.floor ( axis.min / day ) * day,let x = Math.floor [MASK] axis.min [MASK] day ) * day
x <= Math.ceil(axis.max / day) * day,x < = Math.ceil ( axis.max / day ) * day,x < = [MASK] [MASK] axis.max [MASK] day ) * day
const last = plotBands.at(-1),const last = plotBands.at ( -1 ),const last = plotBands.at ( [MASK] )
}),} ),} )
inWeekend = true,inWeekend = true,[MASK] = [MASK]
last.to = x,last.to = x,last.to = [MASK]
inWeekend = false,inWeekend = false,inWeekend = false
axis.options.plotBands = plotBands,axis.options.plotBands = plotBands,axis.options.plotBands = plotBands
}),} ),} )
loadChartData(),loadChartData ( ),loadChartData ( )
" }, [])","} , [ ] )","} , [ ] )"
setChartState('loading'),setChartState ( 'loading ' ),setChartState [MASK] 'loading ' )
createChartData(resPlan),createChartData ( resPlan ),createChartData [MASK] [MASK] )
setChartState(resPlan.length > 0 ? 'normal' : 'nodata'),setChartState ( resPlan.length > 0 ? 'normal ' : 'nodata ' ),[MASK] ( resPlan.length [MASK] [MASK] ? 'normal ' : [MASK] ' )
}),} ),} )
},},}
console.log(evt),console.log ( evt ),console.log ( [MASK] )
}),} ),[MASK] )
},},}
" return new WeeklyReportItem(v, index).dataSeriesItem()","return new WeeklyReportItem ( v , index ) .dataSeriesItem ( )","return new WeeklyReportItem ( v , index ) .dataSeriesItem [MASK] )"
}),} ),} )
},},}
}),} ),} )
createChart(data),createChart ( data ),[MASK] ( data )
},},[MASK]
" moment.updateLocale('en', { week: { dow: 8, doy: 1 } })","moment.updateLocale ( 'en ' , { week : { dow : 8 , doy : 1 } } )","moment.updateLocale ( [MASK] [MASK] , { week : { dow : 8 , [MASK] [MASK] 1 } } )"
let firstDate = moment().startOf('month').startOf('week').toDate(),let firstDate = moment ( ) .startOf ( 'month ' ) .startOf ( 'week ' ) .toDate ( ),let firstDate [MASK] moment ( ) .startOf ( [MASK] ' [MASK] .startOf ( 'week ' ) .toDate ( )
let lastDate = moment().endOf('month').endOf('week').toDate(),let lastDate = moment ( ) .endOf ( 'month ' ) .endOf ( 'week ' ) .toDate ( ),let lastDate = moment ( ) .endOf [MASK] 'month ' ) .endOf ( 'week [MASK] ) .toDate ( )
const startDates = datum.data.map(m => m.start as number) as number[],const startDates = datum.data.map ( m = > m.start as number ) as number [ ],const startDates = datum.data.map ( m = > m.start as number ) as number [MASK] [MASK]
" const minStartDate = startDates.reduce((a, b) => (a < b ? a : b))","const minStartDate = startDates.reduce ( ( a , b ) = > ( a < b ? a : b ) )","const minStartDate [MASK] startDates.reduce ( ( a , b ) = [MASK] ( a < b ? a : [MASK] ) )"
if (new Date(minStartDate) < firstDate) firstDate = new Date(minStartDate),if ( new Date ( minStartDate ) < firstDate ) firstDate = new Date ( minStartDate ),if ( new Date ( [MASK] ) [MASK] firstDate [MASK] firstDate = new Date ( minStartDate [MASK]
const start = new Date(firstDate.getTime() - firstDate.getTimezoneOffset() * 60000).getTime(),const start = new Date ( firstDate.getTime ( ) - firstDate.getTimezoneOffset ( ) * 60000 ) .getTime ( ),const start = [MASK] Date [MASK] firstDate.getTime [MASK] ) - firstDate.getTimezoneOffset ( ) * [MASK] ) [MASK] [MASK] )
const end = new Date(lastDate.getTime() - lastDate.getTimezoneOffset() * 60000).getTime(),const end = new Date ( lastDate.getTime ( ) - lastDate.getTimezoneOffset ( ) * 60000 ) .getTime ( ),const end = new [MASK] ( lastDate.getTime [MASK] ) - lastDate.getTimezoneOffset ( ) * 60000 ) .getTime [MASK] )
" return { start, end }","return { start , end }","return { [MASK] , [MASK] [MASK]"
},},}
const dates = findStartEndDates(data),const dates = findStartEndDates ( data ),const dates [MASK] findStartEndDates ( [MASK] )
const start = dates.start,const start = dates.start,const start = dates.start
const end = dates.end,const end = dates.end,const end = dates.end
" return Highcharts.dateFormat('%d.%m', e.value as number)","return Highcharts.dateFormat ( ' % d. % m ' , e.value as number )","return Highcharts.dateFormat [MASK] ' % d. % m ' , [MASK] as number )"
" return Highcharts.dateFormat('%B', e.value as number)","return Highcharts.dateFormat ( ' % B ' , e.value as number )",return Highcharts.dateFormat ( ' % B ' [MASK] e.value as number )
const dataLength = getMaxDataLength(task.data),const dataLength = getMaxDataLength ( task.data ),const dataLength = getMaxDataLength ( task.data [MASK]
},},}
},},}
" setOptions({ ...defaultWeeklyReportGanttChartOptions, ...newOptions })","setOptions ( { ... defaultWeeklyReportGanttChartOptions , ... newOptions } )","setOptions ( { ... defaultWeeklyReportGanttChartOptions , ... newOptions } [MASK]"
},},}
const start = (p as any).start,const start = ( p as any ) .start,const [MASK] [MASK] ( p as any ) .start
if (!start) return sd,if ( ! start ) return sd,if [MASK] [MASK] start ) return sd
sd[start] = 0,sd [ start ] = 0,sd [ start ] = [MASK]
sd[start]++,sd [ start ] ++,sd [ [MASK] ] ++
return sd,return sd,return sd
" }, {})","} , { } )",} [MASK] { [MASK] )
const props = Object.getOwnPropertyNames(startDates),const props = Object.getOwnPropertyNames ( startDates ),const props = Object.getOwnPropertyNames ( startDates )
if (props.length == 0) return 0,if ( props.length == 0 ) return 0,if ( props.length == 0 [MASK] return 0
return startDates[b] - startDates[a],return startDates [ b ] - startDates [ a ],return startDates [ b ] - startDates [ a ]
}),} ),} )
return startDates[props[0]],return startDates [ props [ 0 ] ],return startDates [ props [ 0 ] ]
},},}
return ,return < NoData / >,return < NoData [MASK] >
),),)
),),)
},},[MASK]
),),)
},},}
export default WeeklyReportGanttChart,export default WeeklyReportGanttChart,export default WeeklyReportGanttChart
import GenericModal from '@common/components/generic-modal',import GenericModal from ' @ common/components/generic-modal ',import GenericModal from ' @ common/components/generic-modal '
import { DataTable } from '@protolibrary/components',import { DataTable } from ' @ protolibrary/components ',[MASK] { DataTable } from ' [MASK] protolibrary/components '
import { TaskType } from '@resources/constants/Task',import { TaskType } from ' @ resources/constants/Task ',import { TaskType } from ' @ resources/constants/Task [MASK]
import taskChangeLogService from '@services/TaskChangeLogService',import taskChangeLogService from ' @ services/TaskChangeLogService ',[MASK] taskChangeLogService from ' @ services/TaskChangeLogService '
import vehicleChangeLogService from '@services/VehicleChangeLogService',import vehicleChangeLogService from ' @ services/VehicleChangeLogService ',import [MASK] from [MASK] @ services/VehicleChangeLogService '
import React from 'react',import React from 'react ',import React from 'react '
import { defaultRemoteGridOptions } from '@utils/DataTableUtils',import { defaultRemoteGridOptions } from ' @ utils/DataTableUtils ',import { defaultRemoteGridOptions } from ' @ utils/DataTableUtils '
import { formatApiToText } from '@utils/DateUtils',import { formatApiToText } from ' @ utils/DateUtils ',[MASK] { formatApiToText [MASK] from ' @ utils/DateUtils '
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import useLocalization from ' @ hooks/useLocalization '
id: number,id : number,id : number
type: TaskType,type : TaskType,type : TaskType
show: boolean,show : boolean,show : boolean
onClose: () => void,onClose : ( ) = > void,[MASK] [MASK] ( ) = > void
element?: IProjectItemDetailProps,element ? : IProjectItemDetailProps,element ? : [MASK]
const refDataTable = React.useRef(null),const refDataTable = React.useRef ( null ),const refDataTable = React.useRef ( null )
const { t } = useLocalization(),const { t } = useLocalization ( ),const { t } = useLocalization ( )
return formatApiToText(value),return formatApiToText ( value ),return formatApiToText ( value )
},},}
refDataTable?.current?.loadData(),refDataTable ? .current ? .loadData ( ),refDataTable ? .current ? .loadData ( )
},},[MASK]
onClose(),onClose ( ),onClose ( )
},},[MASK]
loadDataTable(),loadDataTable ( ),[MASK] ( )
),),)
},},}
export default DetailSubTask,export default DetailSubTask,export default DetailSubTask
"import React, { useEffect, useMemo, useState } from 'react'","import React , { useEffect , useMemo , useState } from 'react '","import React [MASK] { useEffect [MASK] [MASK] , useState } from [MASK] '"
import { NavigationOperationType } from '@common/navigation/NavigationTypes',import { NavigationOperationType } from ' @ common/navigation/NavigationTypes ',[MASK] { [MASK] } from ' @ common/navigation/NavigationTypes '
import taskDefinitionService from '@services/TaskDefinitionService',import taskDefinitionService from ' @ services/TaskDefinitionService ',import taskDefinitionService from ' @ services/TaskDefinitionService '
import taskService from '@services/TaskService',import taskService from ' @ services/TaskService ',import taskService from ' [MASK] services/TaskService '
import GenericModal from '@common/components/generic-modal',import GenericModal from ' @ common/components/generic-modal ',import GenericModal from ' @ common/components/generic-modal '
import InputLayout from '@common/components/input-layout',import InputLayout from ' @ common/components/input-layout ',import InputLayout [MASK] ' @ common/components/input-layout [MASK]
"import { Checkbox, Col, Form, Row, Select, TextArea } from '@protolibrary/components'","import { Checkbox , Col , Form , Row , Select , TextArea } from ' @ protolibrary/components '","import { Checkbox [MASK] Col , Form , Row , [MASK] [MASK] TextArea } from ' [MASK] protolibrary/components '"
import { required } from '@protoweb/utils',import { required } from ' @ protoweb/utils ',[MASK] { required } from ' @ protoweb/utils '
import DatePicker from '@common/components/datepicker',import DatePicker from ' @ common/components/datepicker ',import DatePicker [MASK] ' @ common/components/datepicker '
"import { apiToDatePickerFormat, diffDays, tableDatePickerFormat } from '@utils/DateUtils'","import { apiToDatePickerFormat , diffDays , tableDatePickerFormat } from ' @ utils/DateUtils '","import { apiToDatePickerFormat , diffDays , tableDatePickerFormat } from ' @ utils/DateUtils '"
"import { formatSelectValue, optionMapper, optionMapperWithCustomField } from '@utils/FormUtils'","import { formatSelectValue , optionMapper , optionMapperWithCustomField } from ' @ utils/FormUtils '","import { formatSelectValue , [MASK] [MASK] optionMapperWithCustomField [MASK] from ' @ [MASK] '"
import { renderMessage } from '@common/validations',import { renderMessage } from ' @ common/validations ',import { renderMessage [MASK] from [MASK] @ common/validations [MASK]
import vehicleService from '@services/VehicleService',import vehicleService from ' @ services/VehicleService ',import vehicleService from ' @ services/VehicleService '
import MultiSelect from '@common/components/multi-select',import MultiSelect from ' @ common/components/multi-select ',[MASK] MultiSelect from ' @ common/components/multi-select '
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',[MASK] useLocalization [MASK] ' @ hooks/useLocalization '
id?: number,id ? : number,[MASK] ? : [MASK]
vehicleId?: number,vehicleId ? : number,vehicleId ? : [MASK]
parentTaskId?: number,parentTaskId ? : number,parentTaskId ? : number
minStartDate?: Date,minStartDate ? : Date,minStartDate [MASK] : Date
showIsComplete: boolean,showIsComplete : boolean,showIsComplete : boolean
showCompleteMessage?: string,showCompleteMessage ? : string,showCompleteMessage ? : string
showStartEndDates: boolean,showStartEndDates : boolean,showStartEndDates : [MASK]
operationType: NavigationOperationType,operationType : NavigationOperationType,operationType : NavigationOperationType
show: boolean,show : boolean,show : boolean
onClose: (reset: boolean) => void,onClose : ( reset : boolean ) = > void,[MASK] : ( reset : boolean [MASK] = > [MASK]
properties?: IProjectTaskFormProps,properties ? : IProjectTaskFormProps,properties ? : IProjectTaskFormProps
const refForm = React.useRef(null),const refForm = React.useRef ( null ),const refForm = React.useRef ( null )
const { t } = useLocalization(),const { t } = useLocalization ( ),const { t } = useLocalization ( )
" const [showCustomerRelatedChange, setShowCustomerRelatedChange] = useState(false)","const [ showCustomerRelatedChange , setShowCustomerRelatedChange ] = useState ( false )","[MASK] [ showCustomerRelatedChange , setShowCustomerRelatedChange [MASK] = useState ( false )"
" const [orderVehicleOptions, setOrderVehicleOptions] = useState([])","const [ orderVehicleOptions , setOrderVehicleOptions ] = useState ( [ ] )","const [ orderVehicleOptions , setOrderVehicleOptions ] = useState ( [ ] )"
" const [taskDefinitionOptions, setTaskDefinitionOptions] = useState([])","const [ taskDefinitionOptions , setTaskDefinitionOptions ] = useState ( [ ] )","const [ [MASK] , setTaskDefinitionOptions ] = useState ( [MASK] ] )"
" const [dependentTaskOptions, setDependentTaskOptions] = useState(null)","const [ dependentTaskOptions , setDependentTaskOptions ] = useState ( null )",const [ dependentTaskOptions [MASK] setDependentTaskOptions ] = useState ( [MASK] )
" const [changeReasonOptions, setChangeReasonOptions] = useState(null)","const [ changeReasonOptions , setChangeReasonOptions ] = useState ( null )","const [ changeReasonOptions , [MASK] ] = [MASK] ( null )"
" const [showReasonSelect, setShowReasonSelect] = useState(false)","const [ showReasonSelect , setShowReasonSelect ] = useState ( false )","const [ showReasonSelect , setShowReasonSelect ] [MASK] [MASK] ( false )"
" const [reasonRequired, setReasonRequired] = useState(true)","const [ reasonRequired , setReasonRequired ] = useState ( true )",[MASK] [ reasonRequired [MASK] setReasonRequired ] = useState ( true [MASK]
" const [minStartDate, setMinStartDate] = useState(null)","const [ minStartDate , setMinStartDate ] = useState ( null )","const [ minStartDate , setMinStartDate ] = useState ( null )"
" const [minEndDate, setMinEndDate] = useState(null)","const [ minEndDate , setMinEndDate ] = useState ( null )","const [ minEndDate , setMinEndDate ] = useState ( null )"
" const [initialized, setInitialized] = useState(false)","const [ initialized , setInitialized ] = useState ( false )","const [ initialized , setInitialized ] = useState ( false )"
" const [showOtherVehicles, setShowOtherVehicles] = useState(false)","const [ showOtherVehicles , setShowOtherVehicles ] = useState ( false )","const [ showOtherVehicles , setShowOtherVehicles ] = useState ( [MASK] )"
),),)
show && initializeOptions(),show & & initializeOptions ( ),show [MASK] & initializeOptions ( )
" }, [show])","} , [ show ] )","} , [MASK] show ] )"
setInitialized(false),setInitialized ( false ),setInitialized [MASK] false )
setShowReasonSelect(false),setShowReasonSelect ( false ),setShowReasonSelect ( false )
setReasonRequired(true),setReasonRequired ( true ),setReasonRequired ( true )
setShowCustomerRelatedChange(false),setShowCustomerRelatedChange ( false ),setShowCustomerRelatedChange ( false )
if (!initialized) return,if ( ! initialized ) return,if ( ! initialized ) [MASK]
setMinStartDate(properties.minStartDate),setMinStartDate ( properties.minStartDate ),setMinStartDate ( properties.minStartDate )
setMinEndDate(properties.minStartDate),setMinEndDate ( properties.minStartDate ),setMinEndDate [MASK] properties.minStartDate )
setMinStartDate(null),setMinStartDate ( null ),setMinStartDate ( null )
setMinEndDate(null),setMinEndDate ( null ),setMinEndDate ( null [MASK]
: undefined,: undefined,: [MASK]
setShowCustomerRelatedChange(res.customerRelatedChange !== undefined),setShowCustomerRelatedChange ( res.customerRelatedChange ! == undefined ),setShowCustomerRelatedChange ( res.customerRelatedChange ! == undefined )
setShowReasonSelect(res.changeReasonId !== undefined),setShowReasonSelect ( res.changeReasonId ! == undefined ),[MASK] ( res.changeReasonId ! == undefined [MASK]
}),} ),} )
setMinEndDate(new Date(res.startDate || '')),setMinEndDate ( new Date ( res.startDate || `` ) ),setMinEndDate ( new Date ( res.startDate || `` ) )
}),} ),} )
" }, [initialized])","} , [ initialized ] )","} , [ initialized ] )"
setOrderVehicleOptions(orderVehicleList.map(optionMapperWithCustomField)),setOrderVehicleOptions ( orderVehicleList.map ( optionMapperWithCustomField ) ),setOrderVehicleOptions ( orderVehicleList.map ( optionMapperWithCustomField ) [MASK]
setDependentTaskOptions(dependentTaskList.map(optionMapperWithCustomField)),setDependentTaskOptions ( dependentTaskList.map ( optionMapperWithCustomField ) ),setDependentTaskOptions ( dependentTaskList.map ( optionMapperWithCustomField ) )
setChangeReasonOptions(changeReasons.map(optionMapper)),setChangeReasonOptions ( changeReasons.map ( optionMapper ) ),setChangeReasonOptions [MASK] changeReasons.map ( optionMapper ) )
setInitialized(true),setInitialized ( true ),setInitialized [MASK] [MASK] [MASK]
}),} ),} )
setOrderVehicleOptions(orderVehicleList.map(optionMapperWithCustomField)),setOrderVehicleOptions ( orderVehicleList.map ( optionMapperWithCustomField ) ),setOrderVehicleOptions ( orderVehicleList.map ( optionMapperWithCustomField ) )
setTaskDefinitionOptions(taskDefinitionList.map(optionMapper)),setTaskDefinitionOptions ( taskDefinitionList.map ( optionMapper ) ),setTaskDefinitionOptions ( taskDefinitionList.map ( optionMapper ) )
setDependentTaskOptions(dependentTaskList.map(optionMapperWithCustomField)),setDependentTaskOptions ( dependentTaskList.map ( optionMapperWithCustomField ) ),setDependentTaskOptions ( dependentTaskList.map ( optionMapperWithCustomField ) [MASK]
setInitialized(true),setInitialized ( true ),setInitialized ( true )
}),} ),} )
setOrderVehicleOptions(orderVehicleList.map(optionMapperWithCustomField)),setOrderVehicleOptions ( orderVehicleList.map ( optionMapperWithCustomField ) ),setOrderVehicleOptions ( orderVehicleList.map ( optionMapperWithCustomField ) )
setTaskDefinitionOptions(taskDefinitionList.map(optionMapper)),setTaskDefinitionOptions ( taskDefinitionList.map ( optionMapper ) ),setTaskDefinitionOptions ( taskDefinitionList.map ( optionMapper ) )
setDependentTaskOptions(dependentTaskList.map(optionMapperWithCustomField)),setDependentTaskOptions ( dependentTaskList.map ( optionMapperWithCustomField ) ),setDependentTaskOptions ( [MASK] ( optionMapperWithCustomField ) )
setInitialized(true),setInitialized ( true ),setInitialized ( true )
}),} ),} )
},},}
const values = refForm.current.getValues(),const values = refForm.current.getValues ( ),const values = refForm.current.getValues ( )
},},}
onCloseModal(true),onCloseModal ( true ),onCloseModal ( [MASK] )
}),} ),} )
},},}
const values = refForm.current.getValues(),const values = refForm.current.getValues ( ),const values = [MASK] ( )
},},}
onCloseModal(true),onCloseModal ( true ),onCloseModal [MASK] true [MASK]
}),} ),[MASK] )
},},}
const checkDate: Date | null = props.minDate ? (props.minDate as Date) : null,const checkDate : Date | null = props.minDate ? ( props.minDate as Date ) : null,[MASK] checkDate : Date | null = props.minDate [MASK] ( props.minDate as Date ) [MASK] null
const currDate: Date | null = value ? value : null,const currDate : Date | null = value ? value : null,[MASK] currDate : Date | null = [MASK] [MASK] value : [MASK]
" return renderMessage(message, t(""tarih_hatali""))","return renderMessage ( message , t ( `` tarih_hatali '' ) )","return renderMessage [MASK] message , t ( `` tarih_hatali '' ) )"
},},[MASK]
},},}
isCreate ? onCreateSubTask() : onUpdateSubTask(),isCreate ? onCreateSubTask ( ) : onUpdateSubTask ( ),isCreate ? onCreateSubTask ( [MASK] : onUpdateSubTask [MASK] )
},},}
onClose(reset),onClose ( reset ),[MASK] ( reset )
},},}
onCloseModal(false),onCloseModal ( false ),onCloseModal ( false )
onPressSave(),onPressSave ( ),onPressSave ( )
setMinEndDate(value as Date),setMinEndDate ( value as Date ),setMinEndDate ( value as Date )
setMinStartDate(null),setMinStartDate ( null ),setMinStartDate ( [MASK] )
setMinStartDate(new Date(value.custom.endDate)),setMinStartDate ( new Date ( value.custom.endDate ) ),setMinStartDate ( new Date ( [MASK] ) [MASK]
setShowOtherVehicles(value),setShowOtherVehicles ( value ),[MASK] [MASK] value )
setReasonRequired(value?.value === 0),setReasonRequired ( value ? .value === 0 ),setReasonRequired ( [MASK] [MASK] .value === [MASK] )
),),)
},},}
export default UpdateCreateSubTask,export default UpdateCreateSubTask,export default UpdateCreateSubTask
"import { Container, Tab } from '@protolibrary/components'","import { Container , Tab } from ' @ protolibrary/components '","import [MASK] Container , Tab } from ' @ protolibrary/components '"
import { useLocationParams } from '@utils/LocationUtils',import { useLocationParams } from ' @ utils/LocationUtils ',import { useLocationParams } from ' @ utils/LocationUtils '
import React from 'react',import React from 'react ',[MASK] React from 'react '
import OrderVehiclesTab from '../tabs/OrderVehiclesTab',import OrderVehiclesTab from ' .. /tabs/OrderVehiclesTab ',import OrderVehiclesTab from ' .. /tabs/OrderVehiclesTab '
import OrderHistoryTab from '../tabs/OrderHistoryTab',import OrderHistoryTab from ' .. /tabs/OrderHistoryTab ',[MASK] OrderHistoryTab from ' .. /tabs/OrderHistoryTab '
import PageHeader from '@common/components/page-header',import PageHeader from ' @ common/components/page-header ',import PageHeader from ' @ [MASK] [MASK]
import GanttChartTab from '../tabs/GanttChartTab',import GanttChartTab from ' .. /tabs/GanttChartTab ',import GanttChartTab [MASK] ' .. [MASK] [MASK]
import OrderDetailTab from '../tabs/OrderDetailTab',import OrderDetailTab from ' .. /tabs/OrderDetailTab ',import OrderDetailTab from ' .. [MASK] '
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import useLocalization from ' [MASK] hooks/useLocalization [MASK]
const locationParams = useLocationParams(props),const locationParams = useLocationParams ( props ),const locationParams = [MASK] ( [MASK] )
const { t } = useLocalization(),const { t } = useLocalization ( ),const { [MASK] [MASK] = useLocalization ( )
" const { id, showProjectPlan } = locationParams","const { id , showProjectPlan } = locationParams","const { id , showProjectPlan } = [MASK]"
),),)
},},}
export default OrderDetail,export default OrderDetail,[MASK] default OrderDetail
import Card from '@common/components/card',import Card from ' @ common/components/card ',import Card from ' @ common/components/card '
import DatePicker from '@common/components/datepicker',import DatePicker from ' @ common/components/datepicker ',import DatePicker from [MASK] @ [MASK] '
import GenericFormGroup from '@common/components/generic-form-group',import GenericFormGroup from ' @ common/components/generic-form-group ',[MASK] GenericFormGroup from ' [MASK] common/components/generic-form-group '
import { paymentPlanValidation } from '@common/components/generic-form-group/GenericFormGroup',import { paymentPlanValidation } from ' @ common/components/generic-form-group/GenericFormGroup ',import { paymentPlanValidation } from ' @ common/components/generic-form-group/GenericFormGroup '
import InputLayout from '@common/components/input-layout',import InputLayout from ' @ common/components/input-layout ',import [MASK] from ' @ common/components/input-layout '
import PageHeader from '@common/components/page-header',import PageHeader from ' @ common/components/page-header ',import PageHeader from ' @ common/components/page-header '
import NAVIGATION_PATHS from '@common/navigation/NavigationPaths',import NAVIGATION_PATHS from ' @ common/navigation/NavigationPaths ',import NAVIGATION_PATHS from ' @ common/navigation/NavigationPaths '
import navigationService from '@common/navigation/NavigationService',import navigationService from ' @ common/navigation/NavigationService ',import navigationService from [MASK] @ common/navigation/NavigationService '
import toastManager from '@common/toast/ToastManager',import toastManager from ' @ common/toast/ToastManager ',import toastManager [MASK] ' @ common/toast/ToastManager '
} from '@protolibrary/components',} from ' @ protolibrary/components ',} from ' @ protolibrary/components '
import { required } from '@protoweb/utils',import { required } from ' @ protoweb/utils ',import { required [MASK] [MASK] ' @ [MASK] '
import mockService from '@services/MockService',import mockService from ' @ services/MockService ',import mockService from ' @ [MASK] '
import orderService from '@services/OrderService',import orderService from ' @ services/OrderService ',[MASK] [MASK] [MASK] ' @ services/OrderService '
import { apiToDatePickerFormat } from '@utils/DateUtils',import { apiToDatePickerFormat } from ' @ utils/DateUtils ',import { [MASK] } from ' @ utils/DateUtils '
"import React, { useRef, useState } from 'react'","import React , { useRef , useState } from 'react '","import React , { useRef [MASK] useState } from [MASK] '"
import userService from '@services/UserService',import userService from ' @ services/UserService ',import userService [MASK] ' [MASK] services/UserService [MASK]
import RemoteSelect from '@common/components/remote-select',import RemoteSelect from ' @ common/components/remote-select ',import RemoteSelect from ' @ common/components/remote-select '
import { formatSelectValue } from '@utils/FormUtils',import { formatSelectValue } from ' @ utils/FormUtils ',import { formatSelectValue } from ' @ utils/FormUtils [MASK]
import customerService from '@services/CustomerService',import customerService from ' @ services/CustomerService ',[MASK] customerService from ' @ services/CustomerService '
import projectService from '@services/ProjectService',import projectService from ' @ services/ProjectService ',import projectService from ' @ services/ProjectService '
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import useLocalization from [MASK] @ hooks/useLocalization '
const refForm = useRef(null),const refForm = useRef ( null ),const refForm = useRef ( null )
" const [minEndDate, setMinEndDate] = useState(null)","const [ minEndDate , setMinEndDate ] = useState ( null )","const [ minEndDate , setMinEndDate ] = useState ( [MASK] )"
" const [maxStartDate, setMaxStartDate] = useState(null)","const [ maxStartDate , setMaxStartDate ] = useState ( null )","const [ maxStartDate , [MASK] ] = useState ( null )"
" const [hasLettersOfCredit, setHasLettersOfCredit] = useState(false)","const [ hasLettersOfCredit , setHasLettersOfCredit ] = useState ( false )","const [ hasLettersOfCredit , setHasLettersOfCredit ] = useState ( false )"
const { t } = useLocalization(),const { t } = useLocalization ( ),const [MASK] t } [MASK] useLocalization ( )
const values = refForm.current.getValues(),const values = refForm.current.getValues ( ),const values = refForm.current.getValues ( )
" toastManager.show('success', t(""siparis_olusturuldu""))","toastManager.show ( 'success ' , t ( `` siparis_olusturuldu '' ) )","toastManager.show ( 'success ' , t ( `` siparis_olusturuldu [MASK] [MASK] )"
}),} ),} )
}),} ),} )
},},}
createOrder(),createOrder ( ),createOrder ( )
},},[MASK]
setHasLettersOfCredit(value),setHasLettersOfCredit ( value ),setHasLettersOfCredit ( [MASK] )
refForm.current.setValues({ paymentPlan: [] }),refForm.current.setValues ( { paymentPlan : [ ] } ),refForm.current.setValues ( { paymentPlan : [ ] } )
}),} ),} )
),),)
},},}
export default NewOrder,export default NewOrder,export default NewOrder
"import { Container, Tab } from '@protolibrary/components'","import { Container , Tab } from ' @ protolibrary/components '","import { Container , Tab [MASK] from [MASK] @ [MASK] '"
import { useLocationParams } from '@utils/LocationUtils',import { useLocationParams } from ' @ utils/LocationUtils ',import { useLocationParams } [MASK] ' @ utils/LocationUtils '
import React from 'react',import React from 'react ',import React from 'react '
import VehicleHistoryTab from '../tabs/VehicleHistoryTab',import VehicleHistoryTab from ' .. /tabs/VehicleHistoryTab ',import VehicleHistoryTab from ' .. /tabs/VehicleHistoryTab '
import PageHeader from '@common/components/page-header',import PageHeader from ' @ common/components/page-header ',import [MASK] from [MASK] [MASK] common/components/page-header '
import GanttChartTab from '../tabs/GanttChartTab',import GanttChartTab from ' .. /tabs/GanttChartTab ',import [MASK] from [MASK] .. /tabs/GanttChartTab '
import VehicleDetailTab from '../tabs/VehicleDetailTab',import VehicleDetailTab from ' .. /tabs/VehicleDetailTab ',import VehicleDetailTab from [MASK] .. /tabs/VehicleDetailTab '
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import useLocalization from ' @ hooks/useLocalization '
" const { id, orderId } = useLocationParams(props)","const { id , orderId } = useLocationParams ( props )",[MASK] { id [MASK] orderId [MASK] = useLocationParams ( props )
const { t } = useLocalization(),const { t } = useLocalization ( ),const [MASK] t } = useLocalization ( )
),),)
},},}
export default OrderVehicleDetail,export default OrderVehicleDetail,export default OrderVehicleDetail
import InputLayout from '@common/components/input-layout',import InputLayout from ' @ common/components/input-layout ',import InputLayout from ' @ common/components/input-layout '
import PageHeader from '@common/components/page-header',import PageHeader from ' @ common/components/page-header ',import PageHeader from ' @ common/components/page-header '
import TableIcon from '@common/components/table-icon',import TableIcon from ' @ common/components/table-icon ',import TableIcon from [MASK] @ common/components/table-icon '
} from '@protolibrary/components',} from ' @ protolibrary/components ',} from ' @ protolibrary/components '
"import { defaultRemoteGridOptions, prepareFilter } from '@utils/DataTableUtils'","import { defaultRemoteGridOptions , prepareFilter } from ' @ utils/DataTableUtils '","import { defaultRemoteGridOptions , prepareFilter } from ' @ [MASK] '"
"import React, { useEffect, useRef } from 'react'","import React , { useEffect , useRef } from 'react '","import React [MASK] { useEffect , useRef } from 'react '"
import ConfirmationModal from '@common/components/confirmation-modal/ConfirmationModal',import ConfirmationModal from ' @ common/components/confirmation-modal/ConfirmationModal ',[MASK] ConfirmationModal from ' @ common/components/confirmation-modal/ConfirmationModal '
import navigationService from '@common/navigation/NavigationService',import navigationService from ' @ common/navigation/NavigationService ',import [MASK] from ' @ common/navigation/NavigationService '
import { NavigationOperationType } from '@common/navigation/NavigationTypes',import { NavigationOperationType } from ' @ common/navigation/NavigationTypes ',import [MASK] NavigationOperationType } from [MASK] @ common/navigation/NavigationTypes '
import { SaveParameter } from '@services/ParameterService',import { SaveParameter } from ' @ services/ParameterService ',import { SaveParameter } [MASK] ' @ services/ParameterService [MASK]
import projectService from '@services/ProjectService',import projectService from ' @ services/ProjectService ',import projectService [MASK] ' @ services/ProjectService [MASK]
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import useLocalization from ' @ hooks/useLocalization '
const refForm = useRef(null),const refForm = useRef ( null ),const refForm = useRef ( null )
const refDataTable = useRef(null),const refDataTable = useRef ( null ),const refDataTable [MASK] useRef ( [MASK] )
" const [showConfirmModal, setShowConfirmModal] = React.useState(false)","const [ showConfirmModal , setShowConfirmModal ] = React.useState ( false )","[MASK] [MASK] showConfirmModal , setShowConfirmModal ] [MASK] React.useState ( [MASK] )"
" const [deleteData, setDeleteData] = React.useState(null)","const [ deleteData , setDeleteData ] = React.useState < SaveParameter > ( null )","[MASK] [ deleteData , setDeleteData [MASK] = [MASK] < SaveParameter > ( null )"
const { t } = useLocalization(),const { t } = useLocalization ( ),const [MASK] t } = useLocalization ( )
}),} ),} )
},},}
}),} ),} [MASK]
setDeleteData(row),setDeleteData ( row ),setDeleteData ( row )
setShowConfirmModal(true),setShowConfirmModal ( true ),setShowConfirmModal ( true [MASK]
},},}
const values = refForm.current?.getValues(),const values = refForm.current ? .getValues ( ),const values = refForm.current ? .getValues ( )
refDataTable.current.loadData(prepareFilter(values)),refDataTable.current.loadData ( prepareFilter ( values ) ),refDataTable.current.loadData ( [MASK] ( values ) )
},},}
loadData(),loadData ( ),[MASK] ( )
" }, [])","} , [ ] )","[MASK] , [ ] )"
}),} ),} [MASK]
},},}
resetTable(),resetTable ( ),resetTable [MASK] )
},},}
setShowConfirmModal(false),setShowConfirmModal ( false ),[MASK] ( false )
projectService.delete(deleteData.id).then(resetTable),projectService.delete ( deleteData.id ) .then ( resetTable ),projectService.delete ( deleteData.id ) .then ( resetTable )
),),)
},},}
export default ProjectManagement,export default ProjectManagement,export default ProjectManagement
import InputLayout from '@common/components/input-layout',import InputLayout from ' @ common/components/input-layout ',import InputLayout from ' @ common/components/input-layout '
import PageHeader from '@common/components/page-header',import PageHeader from ' @ common/components/page-header ',import PageHeader from ' @ common/components/page-header '
import navigationService from '@common/navigation/NavigationService',import navigationService from ' @ common/navigation/NavigationService ',import navigationService from ' @ common/navigation/NavigationService '
import { NavigationOperationType } from '@common/navigation/NavigationTypes',import { NavigationOperationType } from ' @ common/navigation/NavigationTypes ',import { NavigationOperationType [MASK] from ' @ 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 '","[MASK] { TextField , [MASK] , Col [MASK] Container [MASK] [MASK] , Button [MASK] from ' @ [MASK] [MASK]"
import { required } from '@protoweb/utils',import { required } from ' @ protoweb/utils ',import { required } from ' [MASK] protoweb/utils '
import { useLocationParams } from '@utils/LocationUtils',import { useLocationParams } from ' @ utils/LocationUtils ',import { useLocationParams } [MASK] [MASK] @ utils/LocationUtils '
"import React, { useEffect, useState } from 'react'","import React , { useEffect , useState } from 'react '","import [MASK] , { useEffect , useState } from [MASK] [MASK]"
import { SaveParameter } from '@services/ParameterService',import { SaveParameter } from ' @ services/ParameterService ',import { SaveParameter } from [MASK] [MASK] services/ParameterService [MASK]
import projectService from '@services/ProjectService',import projectService from ' @ services/ProjectService ',import projectService from [MASK] @ services/ProjectService [MASK]
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import useLocalization [MASK] ' @ hooks/useLocalization [MASK]
" const { operationType, id } = useLocationParams(props)","const { operationType , id } = useLocationParams ( props )","const [MASK] operationType , [MASK] } = useLocationParams ( [MASK] )"
" const [data, setData] = useState(null)","const [ data , setData ] = useState < SaveParameter > ( null )","const [ data , setData ] = [MASK] [MASK] SaveParameter [MASK] ( null )"
const refForm = React.useRef(null),const refForm = React.useRef ( null ),const [MASK] = React.useRef ( [MASK] )
const { t } = useLocalization(),const { t } = useLocalization ( ),const { t } = useLocalization ( )
const values = refForm.current.getValues(),const values = refForm.current.getValues ( ),const values = refForm.current.getValues ( )
},},[MASK]
" toastManager.show('success', t(""proje_basariyla_olusturuldu""))","toastManager.show ( 'success ' , t ( `` proje_basariyla_olusturuldu '' ) )","toastManager.show [MASK] 'success ' , t ( `` proje_basariyla_olusturuldu '' ) )"
navigationService.push('/system-management/project-management'),navigationService.push ( '/system-management/project-management ' ),navigationService.push ( [MASK] ' )
}),} ),} [MASK]
request.id = data?.id,request.id = data ? .id,request.id = data ? .id
" toastManager.show('success', t(""proje_basariyla_guncellendi""))","toastManager.show ( 'success ' , t ( `` proje_basariyla_guncellendi '' ) )","toastManager.show ( 'success [MASK] , t ( `` proje_basariyla_guncellendi [MASK] ) )"
navigationService.push('/system-management/project-management'),navigationService.push ( '/system-management/project-management ' ),navigationService.push [MASK] '/system-management/project-management ' [MASK]
}),} ),} )
},},}
setData(res),setData ( res ),setData ( res )
refForm.current.setValues(res),refForm.current.setValues ( res ),refForm.current.setValues ( res )
}),} ),} )
" }, [])","} , [ ] )",} [MASK] [ [MASK] )
),),)
},},}
export default ProjectCreateUpdate,export default ProjectCreateUpdate,export default [MASK]
import InputLayout from '@common/components/input-layout',import InputLayout from ' @ common/components/input-layout ',import InputLayout from ' @ 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 TableIcon from '@common/components/table-icon',import TableIcon from ' @ common/components/table-icon ',import TableIcon [MASK] [MASK] [MASK] common/components/table-icon '
} from '@protolibrary/components',} from ' @ protolibrary/components ',} [MASK] ' @ protolibrary/components '
"import { defaultRemoteGridOptions, prepareFilter } from '@utils/DataTableUtils'","import { defaultRemoteGridOptions , prepareFilter } from ' @ utils/DataTableUtils '","import { defaultRemoteGridOptions , prepareFilter [MASK] from ' @ utils/DataTableUtils [MASK]"
"import React, { useEffect, useRef, useState } from 'react'","import React , { useEffect , useRef , useState } from 'react '","import React , [MASK] useEffect [MASK] [MASK] , useState [MASK] from 'react '"
import navigationService from '@common/navigation/NavigationService',import navigationService from ' @ common/navigation/NavigationService ',import navigationService from ' @ common/navigation/NavigationService '
import NAVIGATION_PATHS from '@common/navigation/NavigationPaths',import NAVIGATION_PATHS from ' @ common/navigation/NavigationPaths ',import NAVIGATION_PATHS from ' @ common/navigation/NavigationPaths '
import { NavigationOperationType } from '@common/navigation/NavigationTypes',import { NavigationOperationType } from ' @ common/navigation/NavigationTypes ',import [MASK] NavigationOperationType } from ' @ common/navigation/NavigationTypes '
"import roleService, { Role } from '@services/RoleService'","import roleService , { Role } from ' @ services/RoleService '","import roleService , { [MASK] } [MASK] ' @ services/RoleService '"
import ConfirmationModal from '@common/components/confirmation-modal/ConfirmationModal',import ConfirmationModal from ' @ common/components/confirmation-modal/ConfirmationModal ',import [MASK] from ' @ [MASK] [MASK]
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import useLocalization from ' [MASK] hooks/useLocalization '
const refForm = useRef(null),const refForm = useRef ( null ),const refForm = useRef ( null )
const refDataTable = useRef(null),const refDataTable = useRef ( null ),const refDataTable = useRef [MASK] null )
" const [showConfirmModal, setShowConfirmModal] = React.useState(false)","const [ showConfirmModal , setShowConfirmModal ] = React.useState ( false )","[MASK] [ showConfirmModal , setShowConfirmModal ] = React.useState ( [MASK] )"
" const [deleteData, setDeleteData] = useState(null)","const [ deleteData , setDeleteData ] = useState < Role > ( null )","const [ deleteData , setDeleteData ] = useState [MASK] Role > ( null )"
const { t } = useLocalization(),const { t } = useLocalization ( ),const [MASK] t } = useLocalization [MASK] )
}),} ),} )
},},}
}),} ),} )
},},}
setDeleteData(row),setDeleteData ( row ),setDeleteData ( row )
setShowConfirmModal(true),setShowConfirmModal ( true ),[MASK] ( true )
},},}
},},}
loadData(),loadData ( ),loadData ( [MASK]
" }, [])","} , [ ] )",} [MASK] [ ] [MASK]
const values = refForm.current?.getValues(),const values = refForm.current ? .getValues ( ),const values [MASK] [MASK] [MASK] .getValues [MASK] )
refDataTable.current.loadData(prepareFilter(values)),refDataTable.current.loadData ( prepareFilter ( values ) ),refDataTable.current.loadData ( prepareFilter ( values ) )
},},}
" refDataTable.current.loadData({ name: '', description: '' })","refDataTable.current.loadData ( { name : `` , description : `` } )","refDataTable.current.loadData [MASK] { name : `` , description : `` } [MASK]"
},},}
resetTable(),resetTable ( ),resetTable ( )
},},[MASK]
setShowConfirmModal(false),setShowConfirmModal ( false ),setShowConfirmModal ( false )
loadData(),loadData ( ),loadData ( )
roleService.delete(deleteData?.id?.toString()).then(resetTable),roleService.delete ( deleteData ? .id ? .toString ( ) ) .then ( resetTable ),roleService.delete ( deleteData ? .id [MASK] .toString [MASK] ) ) .then ( resetTable )
),),[MASK]
},},}
export default RoleManagement,export default RoleManagement,export default RoleManagement
import GenericModal from '@common/components/generic-modal',import GenericModal from ' @ common/components/generic-modal ',import GenericModal from [MASK] @ common/components/generic-modal '
import InputLayout from '@common/components/input-layout',import InputLayout from ' @ common/components/input-layout ',import [MASK] from ' @ common/components/input-layout [MASK]
"import { Col, Form, Row, Select, TextField } from '@protolibrary/components'","import { Col , Form , Row , Select , TextField } from ' @ protolibrary/components '","import { Col , Form , Row , [MASK] , TextField [MASK] [MASK] ' @ 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 ' @ hooks/useLocalization '
show: boolean,show : boolean,show : boolean
onClose: () => void,onClose : ( ) = > void,[MASK] : [MASK] ) [MASK] > void
mode: 'CREATE' | 'UPDATE',mode : 'CREATE ' | 'UPDATE ',mode [MASK] 'CREATE ' | 'UPDATE '
const refForm = React.useRef(null),const refForm = React.useRef ( null ),const refForm = [MASK] [MASK] null )
const { t } = useLocalization(),const { t } = useLocalization ( ),const { t [MASK] = useLocalization ( )
onClose(),onClose ( ),onClose ( )
),),)
},},}
export default RoleModal,export default RoleModal,export [MASK] RoleModal
import InputLayout from '@common/components/input-layout',import InputLayout from ' @ common/components/input-layout ',import InputLayout from [MASK] [MASK] common/components/input-layout [MASK]
import PageHeader from '@common/components/page-header',import PageHeader from ' @ common/components/page-header ',import PageHeader from ' @ common/components/page-header '
import navigationService from '@common/navigation/NavigationService',import navigationService from ' @ common/navigation/NavigationService ',import navigationService [MASK] [MASK] @ common/navigation/NavigationService '
import { NavigationOperationType } from '@common/navigation/NavigationTypes',import { NavigationOperationType } from ' @ common/navigation/NavigationTypes ',import { NavigationOperationType } from ' @ common/navigation/NavigationTypes '
"import { Button, Col, Container, Form, Row, TextField } from '@protolibrary/components'","import { Button , Col , Container , Form , Row , TextField } from ' @ protolibrary/components '","import { Button [MASK] Col , Container [MASK] Form [MASK] Row [MASK] TextField } from ' [MASK] [MASK] '"
import { required } from '@protoweb/utils',import { required } from ' @ protoweb/utils ',import { required } from ' @ protoweb/utils [MASK]
"import roleService, { Role } from '@services/RoleService'","import roleService , { Role } from ' @ services/RoleService '","import roleService , { Role } from [MASK] @ services/RoleService '"
import { useLocationParams } from '@utils/LocationUtils',import { useLocationParams } from ' @ utils/LocationUtils ',import { useLocationParams } [MASK] ' @ [MASK] [MASK]
"import React, { useEffect, useRef } from 'react'","import React , { useEffect , useRef } from 'react '","import React , { useEffect , useRef } from 'react '"
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import useLocalization from ' [MASK] hooks/useLocalization '
const refForm = useRef(null),const refForm = useRef ( null ),const refForm [MASK] useRef ( null )
" const { operationType, elementId } = useLocationParams(props)","const { operationType , elementId } = useLocationParams ( props )","const { operationType , elementId } = [MASK] ( props )"
const { t } = useLocalization(),const { t } = useLocalization ( ),const { t } = [MASK] ( )
}),} ),} )
}),} ),} )
" }, [])","} , [ ] )",} [MASK] [ ] )
navigationService.goBack(),navigationService.goBack ( ),[MASK] ( )
},},}
const formValues = refForm.current.getValues(),const formValues = refForm.current.getValues ( ),const formValues = refForm.current.getValues ( )
.then(navigateBack),.then ( navigateBack ),.then ( navigateBack )
},},}
const formValues = refForm.current.getValues(),const formValues = refForm.current.getValues ( ),[MASK] formValues = refForm.current.getValues ( )
.then(navigateBack),.then ( navigateBack ),.then [MASK] [MASK] )
},},}
onCreate(),onCreate ( ),onCreate ( )
break,break,break
onUpdate(),onUpdate ( ),onUpdate ( )
break,break,break
},},}
),),)
},},}
export default CreateUpdateRole,export default CreateUpdateRole,export [MASK] CreateUpdateRole
import InputLayout from '@common/components/input-layout',import InputLayout from ' @ common/components/input-layout ',import InputLayout from ' @ common/components/input-layout [MASK]
import PageHeader from '@common/components/page-header',import PageHeader from ' @ common/components/page-header ',import PageHeader from ' @ common/components/page-header '
import TableIcon from '@common/components/table-icon',import TableIcon from ' @ common/components/table-icon ',import TableIcon from ' @ common/components/table-icon '
} from '@protolibrary/components',} from ' @ protolibrary/components ',} from ' @ protolibrary/components [MASK]
"import { defaultRemoteGridOptions, prepareFilter } from '@utils/DataTableUtils'","import { defaultRemoteGridOptions , prepareFilter } from ' @ utils/DataTableUtils '","import { defaultRemoteGridOptions , [MASK] } from ' @ utils/DataTableUtils '"
"import React, { useEffect, useRef } from 'react'","import React , { useEffect , useRef } from 'react '","[MASK] [MASK] , { useEffect , useRef } [MASK] 'react '"
"import userService, { User } from '@services/UserService'","import userService , { User } from ' @ services/UserService '","import userService , { User } from ' @ services/UserService '"
import roleService from '@services/RoleService',import roleService from ' @ services/RoleService ',import roleService from ' @ [MASK] '
import ConfirmationModal from '@common/components/confirmation-modal/ConfirmationModal',import ConfirmationModal from ' @ common/components/confirmation-modal/ConfirmationModal ',import [MASK] [MASK] ' @ common/components/confirmation-modal/ConfirmationModal [MASK]
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] @ [MASK] [MASK]
import { NavigationOperationType } from '@common/navigation/NavigationTypes',import { NavigationOperationType } from ' @ common/navigation/NavigationTypes ',import { [MASK] } from ' @ common/navigation/NavigationTypes '
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import [MASK] from ' @ hooks/useLocalization '
const refForm = useRef(null),const refForm = useRef ( null ),const refForm [MASK] useRef ( null )
const refDataTable = useRef(null),const refDataTable = useRef ( null ),const refDataTable = useRef ( null [MASK]
" const [showConfirmModal, setShowConfirmModal] = React.useState(false)","const [ showConfirmModal , setShowConfirmModal ] = React.useState ( false )","const [MASK] showConfirmModal , setShowConfirmModal [MASK] = React.useState [MASK] false )"
" const [deleteData, setDeleteData] = React.useState(null)","const [ deleteData , setDeleteData ] = React.useState < User > ( null )","const [ deleteData , setDeleteData ] = React.useState < User > ( null )"
const { t } = useLocalization(),const { t } = useLocalization ( ),[MASK] { t } = useLocalization ( )
}),} ),[MASK] )
},},[MASK]
" return value.join(', ')","return value.join ( ' , ' )","return [MASK] ( ' , ' )"
}),} ),} )
setDeleteData(row),setDeleteData ( row ),setDeleteData ( row )
setShowConfirmModal(true),setShowConfirmModal ( true ),[MASK] [MASK] true )
}),} ),} )
},},[MASK]
const values = refForm.current?.getValues(),const values = refForm.current ? .getValues ( ),const values = [MASK] [MASK] .getValues ( )
refDataTable.current.loadData(prepareFilter(values)),refDataTable.current.loadData ( prepareFilter ( values ) ),refDataTable.current.loadData ( prepareFilter ( values ) )
},},}
loadData(),loadData ( ),loadData ( )
" }, [])","} , [ ] )","} , [ [MASK] )"
}),} ),} )
},},}
resetTable(),resetTable ( ),resetTable ( )
},},}
setShowConfirmModal(false),setShowConfirmModal ( false ),setShowConfirmModal [MASK] false [MASK]
userService.delete(deleteData.id).then(resetTable),userService.delete ( deleteData.id ) .then ( resetTable ),userService.delete ( deleteData.id ) .then ( resetTable )
),),)
},},}
export default RoleManagement,export default RoleManagement,export default RoleManagement
import InputLayout from '@common/components/input-layout',import InputLayout from ' @ common/components/input-layout ',import InputLayout [MASK] ' @ common/components/input-layout '
import PageHeader from '@common/components/page-header',import PageHeader from ' @ common/components/page-header ',import PageHeader [MASK] ' @ common/components/page-header '
import toastManager from '@common/toast/ToastManager',import toastManager from ' @ common/toast/ToastManager ',import toastManager from ' @ common/toast/ToastManager '
"import { Form, Col, Container, Row, Button } from '@protolibrary/components'","import { Form , Col , Container , Row , Button } from ' @ protolibrary/components '","import { Form , Col [MASK] [MASK] [MASK] Row , Button } from ' @ protolibrary/components '"
import { required } from '@protoweb/utils',import { required } from ' @ protoweb/utils ',import { required } from ' @ protoweb/utils [MASK]
"import userService, { ChangePasswordData } from '@services/UserService'","import userService , { ChangePasswordData } from ' @ services/UserService '",import userService [MASK] [MASK] ChangePasswordData } from ' [MASK] services/UserService '
import React from 'react',import React from 'react ',import React [MASK] 'react '
import PasswordInput from '@common/components/password-input',import PasswordInput from ' @ common/components/password-input ',import PasswordInput from ' @ common/components/password-input [MASK]
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',[MASK] useLocalization [MASK] ' @ hooks/useLocalization '
const refForm = React.useRef(null),const refForm = React.useRef ( null ),const refForm [MASK] React.useRef ( null [MASK]
const { t } = useLocalization(),const { t } = useLocalization ( ),[MASK] { t } [MASK] useLocalization ( )
const values = refForm.current.getValues(),const values = refForm.current.getValues ( ),const values = refForm.current.getValues ( [MASK]
},},}
" toastManager.show('success', t(""sifre_basariyla_degistirildi.""))","toastManager.show ( 'success ' , t ( `` sifre_basariyla_degistirildi . '' ) )","toastManager.show ( 'success ' , t ( `` [MASK] . [MASK] ) )"
}),} ),[MASK] )
},},}
),),)
},},}
export default ChangePassword,export default ChangePassword,export default ChangePassword
import React from 'react',import React from 'react ',import React from 'react '
"import { Button, Col, Container, Form, Row } from '@protolibrary/components'","import { Button , Col , Container , Form , Row } from ' @ protolibrary/components '","import { Button , Col , [MASK] [MASK] Form , Row } from ' [MASK] [MASK] '"
import PageHeader from '@common/components/page-header',import PageHeader from ' @ common/components/page-header ',import PageHeader from ' @ common/components/page-header '
import InputLayout from '@common/components/input-layout',import InputLayout from ' @ common/components/input-layout ',[MASK] InputLayout from ' @ common/components/input-layout [MASK]
import PasswordInput from '@common/components/password-input',import PasswordInput from ' @ common/components/password-input ',import PasswordInput from ' @ common/components/password-input '
import { required } from '@protoweb/utils',import { required } from ' @ protoweb/utils ',import { required } from ' @ [MASK] '
import userService from '@services/UserService',import userService from ' @ services/UserService ',import userService from ' [MASK] services/UserService '
import toastManager from '@common/toast/ToastManager',import toastManager from ' @ common/toast/ToastManager ',import toastManager from ' @ common/toast/ToastManager '
import { useLocationParams } from '@utils/LocationUtils',import { useLocationParams } from ' @ utils/LocationUtils ',import { useLocationParams } from ' [MASK] utils/LocationUtils [MASK]
import navigationService from '@common/navigation/NavigationService',import navigationService from ' @ common/navigation/NavigationService ',import [MASK] from ' @ common/navigation/NavigationService [MASK]
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import [MASK] from ' @ hooks/useLocalization '
" const { id, userName, fullName } = useLocationParams(props)","const { id , userName , fullName } = useLocationParams ( props )","const [MASK] [MASK] , userName , fullName } = [MASK] ( props )"
const refForm = React.useRef(null),const refForm = React.useRef ( null ),const [MASK] = React.useRef ( [MASK] )
const { t } = useLocalization(),const { t } = useLocalization ( ),const { t [MASK] = useLocalization ( )
const values = refForm.current.getValues(),const values = refForm.current.getValues ( ),[MASK] values = refForm.current.getValues ( [MASK]
" toastManager.show('success', t('Şifre başarıyla sıfırlandı.'))","toastManager.show ( 'success ' , t ( 'Şifre başarıyla sıfırlandı . ' ) )","toastManager.show ( [MASK] ' , t ( 'Şifre başarıyla sıfırlandı . ' ) )"
navigationService.push('/system-management/user-management'),navigationService.push ( '/system-management/user-management ' ),navigationService.push ( '/system-management/user-management ' [MASK]
}),} ),} [MASK]
},},}
),),)
},},[MASK]
export default ResetPassword,export default ResetPassword,export default ResetPassword
import InputLayout from '@common/components/input-layout',import InputLayout from ' @ common/components/input-layout ',import InputLayout from ' @ common/components/input-layout '
import PageHeader from '@common/components/page-header',import PageHeader from ' @ common/components/page-header ',[MASK] PageHeader from [MASK] [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 ' @ common/navigation/NavigationService '
import { NavigationOperationType } from '@common/navigation/NavigationTypes',import { NavigationOperationType } from ' @ common/navigation/NavigationTypes ',[MASK] { NavigationOperationType } from ' [MASK] common/navigation/NavigationTypes '
import toastManager from '@common/toast/ToastManager',import toastManager from ' @ common/toast/ToastManager ',[MASK] 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 { [MASK] , Form [MASK] Col , Container , [MASK] [MASK] Button } [MASK] ' @ [MASK] [MASK]"
"import { email, required } from '@protoweb/utils'","import { email , required } from ' @ protoweb/utils '","import { email , required } from ' @ protoweb/utils '"
import roleService from '@services/RoleService',import roleService from ' @ services/RoleService ',import roleService from ' @ [MASK] '
"import userService, { User } from '@services/UserService'","import userService , { User } from ' @ services/UserService '",import userService [MASK] { User } [MASK] ' @ services/UserService '
import { useLocationParams } from '@utils/LocationUtils',import { useLocationParams } from ' @ utils/LocationUtils ',import [MASK] useLocationParams } from ' @ utils/LocationUtils '
"import React, { useEffect, useState } from 'react'","import React , { useEffect , useState } from 'react '","import React , { useEffect , useState [MASK] from [MASK] '"
import PasswordInput from '@common/components/password-input',import PasswordInput from ' @ common/components/password-input ',import [MASK] from ' @ common/components/password-input '
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import useLocalization from [MASK] @ hooks/useLocalization '
" const { operationType, id } = useLocationParams(props)","const { operationType , id } = useLocationParams ( props )","const [MASK] operationType , id } = useLocationParams ( [MASK] )"
" const [data, setData] = useState(null)","const [ data , setData ] = useState < User > ( null )","const [MASK] data , [MASK] ] = useState < User > [MASK] null )"
const refForm = React.useRef(null),const refForm = React.useRef ( null ),const refForm = React.useRef [MASK] [MASK] )
const { t } = useLocalization(),const { t } = useLocalization ( ),const { t } [MASK] useLocalization ( )
const values = refForm.current.getValues(),const values = refForm.current.getValues ( ),const [MASK] = refForm.current.getValues ( )
},},[MASK]
" toastManager.show('success', t('Kullanıcı basariyla olusturuldu'))","toastManager.show ( 'success ' , t ( 'Kullanıcı basariyla olusturuldu ' ) )","[MASK] ( 'success ' , [MASK] ( [MASK] basariyla olusturuldu [MASK] [MASK] )"
navigationService.push('/system-management/user-management'),navigationService.push ( '/system-management/user-management ' ),navigationService.push ( '/system-management/user-management [MASK] )
}),} ),} )
},},[MASK]
" toastManager.show('success', t('Kullanıcı başarıyla guncellendi'))","toastManager.show ( 'success ' , t ( 'Kullanıcı başarıyla guncellendi ' ) )","toastManager.show ( [MASK] ' , t ( 'Kullanıcı başarıyla guncellendi ' ) )"
navigationService.push('/system-management/user-management'),navigationService.push ( '/system-management/user-management ' ),[MASK] ( '/system-management/user-management ' )
}),} ),} )
},},}
setData(res),setData ( res ),setData ( res [MASK]
refForm.current.setValues(res),refForm.current.setValues ( res ),refForm.current.setValues ( res )
}),} ),[MASK] )
" }, [])","} , [ ] )","} , [MASK] [MASK] )"
),),)
},},[MASK]
export default UserCreateUpdate,export default UserCreateUpdate,[MASK] default UserCreateUpdate
import InputLayout from '@common/components/input-layout',import InputLayout from ' @ common/components/input-layout ',import InputLayout from ' @ common/components/input-layout '
import PageHeader from '@common/components/page-header',import PageHeader from ' @ common/components/page-header ',import PageHeader [MASK] [MASK] @ common/components/page-header '
import TableIcon from '@common/components/table-icon',import TableIcon from ' @ common/components/table-icon ',import TableIcon from ' @ common/components/table-icon '
} from '@protolibrary/components',} from ' @ protolibrary/components ',[MASK] [MASK] ' @ protolibrary/components '
"import { defaultRemoteGridOptions, prepareFilter } from '@utils/DataTableUtils'","import { defaultRemoteGridOptions , prepareFilter } from ' @ utils/DataTableUtils '","[MASK] { [MASK] , prepareFilter } from ' @ utils/DataTableUtils '"
"import React, { useEffect, useRef } from 'react'","import React , { useEffect , useRef } from 'react '","import React , { [MASK] [MASK] useRef } from 'react '"
import ConfirmationModal from '@common/components/confirmation-modal/ConfirmationModal',import ConfirmationModal from ' @ common/components/confirmation-modal/ConfirmationModal ',import ConfirmationModal from ' @ common/components/confirmation-modal/ConfirmationModal '
import navigationService from '@common/navigation/NavigationService',import navigationService from ' @ common/navigation/NavigationService ',import navigationService from [MASK] [MASK] common/navigation/NavigationService '
import { NavigationOperationType } from '@common/navigation/NavigationTypes',import { NavigationOperationType } from ' @ common/navigation/NavigationTypes ',import { [MASK] } from ' [MASK] common/navigation/NavigationTypes '
import { SaveParameter } from '@services/ParameterService',import { SaveParameter } from ' @ services/ParameterService ',import [MASK] SaveParameter } from ' @ services/ParameterService '
import customerService from '@services/CustomerService',import customerService from ' @ services/CustomerService ',import customerService from ' @ services/CustomerService '
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 refForm = useRef ( [MASK] )
const refDataTable = useRef(null),const refDataTable = useRef ( null ),const [MASK] = useRef [MASK] null )
" const [showConfirmModal, setShowConfirmModal] = React.useState(false)","const [ showConfirmModal , setShowConfirmModal ] = React.useState ( false )","const [ showConfirmModal , setShowConfirmModal ] = React.useState ( false )"
" const [deleteData, setDeleteData] = React.useState(null)","const [ deleteData , setDeleteData ] = React.useState < SaveParameter > ( null )","[MASK] [ deleteData , setDeleteData ] [MASK] React.useState < SaveParameter [MASK] ( null )"
const { t } = useLocalization(),const { t } = useLocalization ( ),const [MASK] t } = useLocalization [MASK] )
}),} ),} )
},},}
}),} ),} )
setDeleteData(row),setDeleteData ( row ),setDeleteData ( row )
setShowConfirmModal(true),setShowConfirmModal ( true ),[MASK] ( true )
},},}
const values = refForm.current?.getValues(),const values = refForm.current ? .getValues ( ),[MASK] values [MASK] [MASK] ? .getValues ( )
refDataTable.current.loadData(prepareFilter(values)),refDataTable.current.loadData ( prepareFilter ( values ) ),refDataTable.current.loadData ( prepareFilter [MASK] values ) )
},},}
loadData(),loadData ( ),loadData [MASK] )
" }, [])","} , [ ] )","} , [MASK] ] )"
}),} ),} )
},},[MASK]
resetTable(),resetTable ( ),resetTable ( [MASK]
},},}
setShowConfirmModal(false),setShowConfirmModal ( false ),setShowConfirmModal ( false )
customerService.delete(deleteData.id).then(resetTable),customerService.delete ( deleteData.id ) .then ( resetTable ),customerService.delete ( deleteData.id ) .then ( [MASK] )
),),)
},},}
export default CustomerManagement,export default CustomerManagement,export default CustomerManagement
import InputLayout from '@common/components/input-layout',import InputLayout from ' @ common/components/input-layout ',import InputLayout from ' @ 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 navigationService from '@common/navigation/NavigationService',import navigationService from ' @ common/navigation/NavigationService ',[MASK] navigationService from ' @ common/navigation/NavigationService [MASK]
import { NavigationOperationType } from '@common/navigation/NavigationTypes',import { NavigationOperationType } from ' @ common/navigation/NavigationTypes ',[MASK] { NavigationOperationType } from ' @ common/navigation/NavigationTypes [MASK]
import toastManager from '@common/toast/ToastManager',import toastManager from ' @ common/toast/ToastManager ',[MASK] [MASK] [MASK] ' @ common/toast/ToastManager '
"import { TextField, Form, Col, Container, Row, Button } from '@protolibrary/components'","import { TextField , Form , Col , Container , Row , Button } from ' @ protolibrary/components '","import { [MASK] , Form , Col , Container , Row , Button } from [MASK] [MASK] [MASK] '"
import { required } from '@protoweb/utils',import { required } from ' @ protoweb/utils ',import { required } from ' @ protoweb/utils [MASK]
import { useLocationParams } from '@utils/LocationUtils',import { useLocationParams } from ' @ utils/LocationUtils ',import { [MASK] } from ' @ utils/LocationUtils '
"import React, { useEffect, useState } from 'react'","import React , { useEffect , useState } from 'react '","import React , [MASK] useEffect , useState } from 'react '"
import { SaveParameter } from '@services/ParameterService',import { SaveParameter } from ' @ services/ParameterService ',import { SaveParameter [MASK] from ' @ [MASK] '
import customerService from '@services/CustomerService',import customerService from ' @ services/CustomerService ',[MASK] customerService from ' @ services/CustomerService '
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',import useLocalization from ' @ hooks/useLocalization [MASK]
" const { operationType, id } = useLocationParams(props)","const { operationType , id } = useLocationParams ( props )","const { operationType , id } = useLocationParams ( props [MASK]"
" const [data, setData] = useState(null)","const [ data , setData ] = useState < SaveParameter > ( null )",const [ [MASK] [MASK] [MASK] ] = useState < SaveParameter [MASK] [MASK] [MASK] )
const refForm = React.useRef(null),const refForm = React.useRef ( null ),const refForm = React.useRef [MASK] null )
const { t } = useLocalization(),const { t } = useLocalization ( ),const { t [MASK] = useLocalization ( )
const values = refForm.current.getValues(),const values = refForm.current.getValues ( ),const values = refForm.current.getValues ( )
},},}
" toastManager.show('success', t(""musteri_basariyla_olusturuldu""))","toastManager.show ( 'success ' , t ( `` musteri_basariyla_olusturuldu '' ) )",toastManager.show ( 'success [MASK] [MASK] t ( `` musteri_basariyla_olusturuldu '' ) )
navigationService.push('/system-management/customer-management'),navigationService.push ( '/system-management/customer-management ' ),navigationService.push [MASK] [MASK] ' )
}),} ),} )
request.id = data?.id,request.id = data ? .id,request.id [MASK] data ? .id
" toastManager.show('success', t(""musteri_basariyla_guncellendi""))","toastManager.show ( 'success ' , t ( `` musteri_basariyla_guncellendi '' ) )",toastManager.show ( 'success ' [MASK] t [MASK] `` musteri_basariyla_guncellendi '' ) [MASK]
navigationService.push('/system-management/customer-management'),navigationService.push ( '/system-management/customer-management ' ),navigationService.push ( '/system-management/customer-management ' )
}),} ),[MASK] )
},},[MASK]
setData(res),setData ( res ),setData ( res )
refForm.current.setValues(res),refForm.current.setValues ( res ),[MASK] ( res )
}),} ),} )
" }, [])","} , [ ] )","} , [ [MASK] [MASK]"
),),)
},},}
export default CustomerCreateUpdate,export default CustomerCreateUpdate,[MASK] default CustomerCreateUpdate
import { Container } from '@protolibrary/components',import { Container } from ' @ protolibrary/components ',[MASK] { Container } from ' @ protolibrary/components '
"import React, { useState } from 'react'","import React , { useState } from 'react '","import [MASK] , { useState } from 'react [MASK]"
import Image from '@protoweb/image',import Image from ' @ protoweb/image ',import [MASK] [MASK] ' @ [MASK] '
import Element from '@protoweb/element',import Element from ' @ protoweb/element ',import Element from ' @ protoweb/element [MASK]
),),)
},},}
export default BuildWebPage,export default BuildWebPage,export default [MASK]
import React from 'react',import React from 'react ',import React from 'react '
import BasePropTypes from '@common/models/BasePropTypes',import BasePropTypes from ' @ common/models/BasePropTypes ',[MASK] BasePropTypes from ' @ common/models/BasePropTypes '
"import { Block, BackgroundImage, Label } from '@protolibrary/components'","import { Block , BackgroundImage , Label } from ' @ protolibrary/components '","import { Block , BackgroundImage , Label } from ' @ protolibrary/components '"
import COLORS from '@resources/colors',import COLORS from ' @ resources/colors ',import COLORS from [MASK] @ resources/colors [MASK]
fromCaptcha: boolean,fromCaptcha : boolean,[MASK] : boolean
),),)
},},}
export default WelcomePage,export default WelcomePage,export default WelcomePage
import React from 'react',import React from 'react ',import React from 'react '
import BasePropTypes from '@common/models/BasePropTypes',import BasePropTypes from ' @ common/models/BasePropTypes ',import BasePropTypes from [MASK] @ common/models/BasePropTypes '
} from '@protolibrary/components',} from ' @ protolibrary/components ',} from [MASK] @ protolibrary/components '
import Button from '@protoweb/button',import Button from ' @ protoweb/button ',import Button from ' @ protoweb/button '
import authService from '@services/AuthService',import authService from ' @ services/AuthService ',import authService from [MASK] [MASK] services/AuthService '
import PasswordInput from '@common/components/password-input',import PasswordInput from ' @ common/components/password-input ',import PasswordInput from ' @ common/components/password-input '
import COLORS from '@resources/colors',import COLORS from ' @ resources/colors ',[MASK] COLORS from ' @ resources/colors '
import { LOGO } from '../../layout/assets/icons',import { LOGO } from ' .. / .. /layout/assets/icons ',import { LOGO [MASK] from ' .. / .. /layout/assets/icons '
import useLocalization from '@hooks/useLocalization',import useLocalization from ' @ hooks/useLocalization ',[MASK] useLocalization from ' @ hooks/useLocalization [MASK]
import Language from '@localization/Language',import Language from ' @ localization/Language ',import Language from ' @ localization/Language '
fromCaptcha: boolean,fromCaptcha : boolean,fromCaptcha : boolean
const formRef = React.useRef(),const formRef = React.useRef < any > ( ),const [MASK] = React.useRef [MASK] any > ( )
const { t } = useLocalization(),const { t } = useLocalization ( ),const [MASK] t } = useLocalization ( )
" const { changeLanguage, language } = useLocalization()","const { changeLanguage , language } = useLocalization ( )","[MASK] { changeLanguage , language } = useLocalization ( )"
" let values = { userName: formValues?.userName, password: formValues?.password }","let values = { userName : formValues ? .userName , password : formValues ? .password }","let [MASK] = [MASK] userName : formValues ? [MASK] , password : formValues ? .password }"
" authService.login(values, formValues?.rememberMe)","authService.login ( values , formValues ? .rememberMe )",authService.login ( values [MASK] formValues ? .rememberMe )
},},}
},},}
},},}
changeLanguage(selectedItem.value),changeLanguage ( selectedItem.value ),changeLanguage ( selectedItem.value )
),),[MASK]
},},}
export default Login,export default Login,export default Login
import './theme.scss',import './theme.scss ',import [MASK] '
import LIGHT_THEME from './LightTheme',import LIGHT_THEME from './LightTheme ',import [MASK] [MASK] './LightTheme '
import DARK_THEME from './DarkTheme',import DARK_THEME from './DarkTheme ',import DARK_THEME [MASK] './DarkTheme '
"export { LIGHT_THEME, DARK_THEME }","export { LIGHT_THEME , DARK_THEME }","export { [MASK] , DARK_THEME }"
import COLORS from '@resources/colors',import COLORS from ' @ resources/colors ',import COLORS from ' @ resources/colors '
import { getThemeColor } from '@utils/ColorUtils',import { getThemeColor } from ' @ utils/ColorUtils ',import [MASK] getThemeColor } from ' @ utils/ColorUtils '
marginTop: '0px !important,marginTop : '0px ! important,marginTop : [MASK] ! [MASK]
'backdrop-filter': 'blur(4px),'backdrop-filter ' : 'blur ( 4px ),'backdrop-filter ' : 'blur ( 4px )
},},}
export default DARK_THEME,export default DARK_THEME,export default DARK_THEME
import COLORS from '@resources/colors',import COLORS from ' @ resources/colors ',import COLORS [MASK] ' @ resources/colors '
import { getThemeColor } from '@utils/ColorUtils',import { getThemeColor } from ' @ utils/ColorUtils ',[MASK] [MASK] getThemeColor } from [MASK] @ utils/ColorUtils '
marginTop: '0px !important,marginTop : '0px ! important,marginTop : '0px ! important
'backdrop-filter': 'blur(4px),'backdrop-filter ' : 'blur ( 4px ),[MASK] ' : 'blur ( [MASK] )
},},}
export default LIGHT_THEME,export default LIGHT_THEME,export [MASK] LIGHT_THEME
import Language from './Language',import Language from './Language ',import Language [MASK] './Language '
import localizationRegistry from './LocalizationRegistry',import localizationRegistry from './LocalizationRegistry ',import localizationRegistry [MASK] './LocalizationRegistry '
return localizationRegistry.getLanguageValues(language),return localizationRegistry.getLanguageValues ( language ),return localizationRegistry.getLanguageValues [MASK] language )
import { sprintf } from 'sprintf-js',import { sprintf } from 'sprintf-js ',[MASK] { sprintf [MASK] [MASK] 'sprintf-js '
import Language from './Language',import Language from './Language ',import Language from './Language [MASK]
import useTranslation from './TranslationContext',import useTranslation from './TranslationContext ',import useTranslation from './TranslationContext '
" return get(language, code, parameters)","return get ( language , code , parameters )","return [MASK] [MASK] language , code , parameters )"
const translation = useTranslation(language),const translation = useTranslation ( language ),const translation = useTranslation [MASK] language )
" if(code === 'Sorgula') console.log('translation', translation)","if ( code === 'Sorgula ' ) console.log ( 'translation ' , translation )","if ( code === [MASK] ' ) [MASK] ( 'translation ' , translation )"
" // console.log('translation', translation[code])","// console.log ( 'translation ' , translation [ code ] )","// console.log [MASK] 'translation ' , translation [MASK] code ] )"
const value = translation[code],const value = translation [ code ],const [MASK] = [MASK] [ [MASK] ]
" return sprintf(value, parameters)","return sprintf ( value , parameters )","return sprintf ( value , [MASK] )"
return value,return value,return value
return code,return code,return code
},},[MASK]
export default Language,export default Language,export [MASK] Language
import Language from './Language',import Language from './Language ',[MASK] Language from './Language '
let LOCALIZED_MAP: Array = [],let LOCALIZED_MAP : Array < Language > = [ ],let LOCALIZED_MAP : [MASK] < Language > = [ ]
" LOCALIZED_MAP = { ...LOCALIZED_MAP, ...languageData }","LOCALIZED_MAP = { ... LOCALIZED_MAP , ... languageData }","LOCALIZED_MAP = { ... LOCALIZED_MAP , ... languageData }"
},},}
getLanguageValues = (lang: Language) => LOCALIZED_MAP[lang],getLanguageValues = ( lang : Language ) = > LOCALIZED_MAP [ lang ],getLanguageValues = [MASK] lang [MASK] Language ) = > LOCALIZED_MAP [MASK] lang ]
const registry = new LocalizationRegistry(),const registry = new LocalizationRegistry ( ),const registry = new LocalizationRegistry ( )
export default registry,export default registry,export default [MASK]
import Language from './Language',import Language from './Language ',import Language from './Language '
import localizationRegistry from './LocalizationRegistry',import localizationRegistry from './LocalizationRegistry ',import [MASK] from './LocalizationRegistry [MASK]
[key: string]: string,[ key : string ] : string,[ key [MASK] string ] : string
type ILanguage = { [key in Language]: LanguageKeyFields },type ILanguage = { [ key in Language ] : LanguageKeyFields },type ILanguage = [MASK] [MASK] key in [MASK] [MASK] [MASK] LanguageKeyFields }
localizationRegistry.register(strings),localizationRegistry.register ( strings ),localizationRegistry.register ( strings )
},},}
export default LocalizedStrings,export default LocalizedStrings,export [MASK] [MASK]