refactor: rename filter-form

This commit is contained in:
sealday 2024-03-22 04:34:29 +08:00
parent 930e077e68
commit 1ddd858536
6 changed files with 4 additions and 4 deletions

View File

@ -102,5 +102,5 @@ export const FormFilterScope = observer(
</FormBlockContext.Provider> </FormBlockContext.Provider>
); );
}, },
{ displayName: 'FormLinkageRules' }, { displayName: 'FormFilterScope' },
); );

View File

@ -39,7 +39,7 @@ import {
SchemaSettingComponent, SchemaSettingComponent,
} from '../../schema-settings'; } from '../../schema-settings';
import _ from 'lodash'; import _ from 'lodash';
import { SchemaSettingsRemove } from '../../components/FormFilter/SchemaSettingsRemove'; import { SchemaSettingsRemove } from '../../schema-settings/SchemaSettingsRemove';
import { tval, useTranslation } from '../../locale'; import { tval, useTranslation } from '../../locale';
import { ContractsController } from 'packages/plugins/@hera/plugin-rental/dist/server/actions'; import { ContractsController } from 'packages/plugins/@hera/plugin-rental/dist/server/actions';

View File

@ -2,7 +2,7 @@ import { ISchema, useField, useFieldSchema, useForm } from '@formily/react';
import { SchemaSettingsItem, useFormActiveFields, useSchemaSettings } from '@nocobase/client'; import { SchemaSettingsItem, useFormActiveFields, useSchemaSettings } from '@nocobase/client';
import { App, ModalFuncProps } from 'antd'; import { App, ModalFuncProps } from 'antd';
import { FC } from 'react'; import { FC } from 'react';
import { useTranslation } from '../../locale'; import { useTranslation } from '../locale';
import { Field } from '@formily/core'; import { Field } from '@formily/core';
import React from 'react'; import React from 'react';

View File

@ -26,7 +26,7 @@ import {
import _ from 'lodash'; import _ from 'lodash';
import React, { useCallback, useContext, useEffect, useMemo } from 'react'; import React, { useCallback, useContext, useEffect, useMemo } from 'react';
import { useTranslation } from '../locale'; import { useTranslation } from '../locale';
import { FormFilterScope } from '../components/FormFilter/FormFilterScope'; import { FormFilterScope } from '../components/filter-form/FormFilterScope';
import { useFieldComponents } from '../schema-initializer'; import { useFieldComponents } from '../schema-initializer';
import { useMemoizedFn } from 'ahooks'; import { useMemoizedFn } from 'ahooks';
import { fieldsCollection } from '@nocobase/plugin-collection-manager'; import { fieldsCollection } from '@nocobase/plugin-collection-manager';