This commit is contained in:
parent
8c1cde76fe
commit
238a22b42f
|
@ -122,7 +122,6 @@ export function FormConstituenta({ disabled, id, toggleReset, schema, activeCst,
|
||||||
name='item_data.term_raw'
|
name='item_data.term_raw'
|
||||||
render={({ field }) => (
|
render={({ field }) => (
|
||||||
<RefsInput
|
<RefsInput
|
||||||
key='cst_term'
|
|
||||||
id='cst_term'
|
id='cst_term'
|
||||||
label='Термин'
|
label='Термин'
|
||||||
maxHeight='8rem'
|
maxHeight='8rem'
|
||||||
|
@ -219,8 +218,6 @@ export function FormConstituenta({ disabled, id, toggleReset, schema, activeCst,
|
||||||
|
|
||||||
{!showConvention && (!disabled || isProcessing) ? (
|
{!showConvention && (!disabled || isProcessing) ? (
|
||||||
<button
|
<button
|
||||||
key='cst_disable_comment'
|
|
||||||
id='cst_disable_comment'
|
|
||||||
type='button'
|
type='button'
|
||||||
tabIndex={-1}
|
tabIndex={-1}
|
||||||
className='self-start cc-label text-sec-600 hover:underline'
|
className='self-start cc-label text-sec-600 hover:underline'
|
||||||
|
@ -233,8 +230,6 @@ export function FormConstituenta({ disabled, id, toggleReset, schema, activeCst,
|
||||||
{!disabled || isProcessing ? (
|
{!disabled || isProcessing ? (
|
||||||
<div className='mx-auto flex'>
|
<div className='mx-auto flex'>
|
||||||
<SubmitButton
|
<SubmitButton
|
||||||
key='cst_form_submit'
|
|
||||||
id='cst_form_submit'
|
|
||||||
text='Сохранить изменения'
|
text='Сохранить изменения'
|
||||||
disabled={disabled || !isModified}
|
disabled={disabled || !isModified}
|
||||||
icon={<IconSave size='1.25rem' />}
|
icon={<IconSave size='1.25rem' />}
|
||||||
|
|
|
@ -26,8 +26,8 @@ export function ToolbarRSExpression({ disabled, showTypeGraph, showAST }: Toolba
|
||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
<MiniButton
|
<MiniButton
|
||||||
icon={<IconTypeGraph size='1.25rem' className='icon-primary' />}
|
|
||||||
title='Граф ступеней типизации'
|
title='Граф ступеней типизации'
|
||||||
|
icon={<IconTypeGraph size='1.25rem' className='icon-primary' />}
|
||||||
onClick={showTypeGraph}
|
onClick={showTypeGraph}
|
||||||
/>
|
/>
|
||||||
<MiniButton
|
<MiniButton
|
||||||
|
|
|
@ -11,7 +11,24 @@ const reactCompilerConfig = {
|
||||||
};
|
};
|
||||||
|
|
||||||
// Packages to include in main app bundle
|
// Packages to include in main app bundle
|
||||||
const inlinePackages = ['react', 'react-router', 'react-dom', 'global', 'react-scan'];
|
const inlinePackages = [
|
||||||
|
'react',
|
||||||
|
'react-router',
|
||||||
|
'react-dom',
|
||||||
|
'react-icons',
|
||||||
|
'react-hook-form',
|
||||||
|
'react-tooltip',
|
||||||
|
'react-toastify',
|
||||||
|
|
||||||
|
'global',
|
||||||
|
'react-scan',
|
||||||
|
|
||||||
|
'axios',
|
||||||
|
'zod',
|
||||||
|
'zustand',
|
||||||
|
'@tanstack/react-query',
|
||||||
|
'@hookform/resolvers'
|
||||||
|
];
|
||||||
|
|
||||||
// Rollup warnings that should not be displayed
|
// Rollup warnings that should not be displayed
|
||||||
const warningsToIgnore = [
|
const warningsToIgnore = [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user