'use client'; import { Controller, useForm } from 'react-hook-form'; import { Checkbox } from '@/components/input1'; import { ModalForm } from '@/components/modal1'; import { CstType } from '../backend/types'; import { labelCstType } from '../labels'; import { type GraphFilterParams, useTermGraphStore } from '../stores/term-graph'; export 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-120' >

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

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

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

} /> } /> } /> } /> } /> } /> } /> } />
); }