'use client'; import { Controller, useForm } from 'react-hook-form'; import { Checkbox } from '@/components/Input'; import { ModalForm } from '@/components/Modal'; import { labelCstType } from '../labels'; import { CstType } from '../models/rsform'; import { GraphFilterParams, useTermGraphStore } from '../stores/termGraph'; function DlgGraphParams() { const params = useTermGraphStore(state => state.filter); const setParams = useTermGraphStore(state => state.setFilter); const { handleSubmit, control } = useForm({ defaultValues: { ...params } }); function onSubmit(data: GraphFilterParams) { setParams(data); } return ( void handleSubmit(onSubmit)(event)} submitText='Применить' className='flex gap-6 justify-between px-6 pb-3 w-[30rem]' >

Преобразования

} /> } /> ( )} /> ( )} /> ( )} />

Типы конституент

} /> } /> } /> } /> } /> } /> } /> } />
); } export default DlgGraphParams;