refactor: rename sort-item

This commit is contained in:
semmy 2022-02-07 11:23:43 +08:00
parent aa78a7faf1
commit 02ede08a5d
8 changed files with 7 additions and 6 deletions

View File

@ -1,6 +1,6 @@
import React from 'react'; import React from 'react';
import * as components from '.'; import * as components from '.';
import { SchemaComponentOptions } from '../components/SchemaComponentOptions'; import { SchemaComponentOptions } from '../core/SchemaComponentOptions';
export const AntdSchemaComponentProvider = (props) => { export const AntdSchemaComponentProvider = (props) => {
const { children } = props; const { children } = props;

View File

@ -3,7 +3,7 @@ import { createForm, onFieldValueChange } from '@formily/core';
import { connect, FieldContext, FormContext, ISchema, mapProps, mapReadPretty, Schema } from '@formily/react'; import { connect, FieldContext, FormContext, ISchema, mapProps, mapReadPretty, Schema } from '@formily/react';
import deepmerge from 'deepmerge'; import deepmerge from 'deepmerge';
import React, { useMemo } from 'react'; import React, { useMemo } from 'react';
import { SchemaComponent } from '../../components'; import { SchemaComponent } from '../../core';
import { FilterGroup } from './FilterGroup'; import { FilterGroup } from './FilterGroup';
import './style.less'; import './style.less';

View File

@ -15,7 +15,7 @@ import {
import { isValid, uid } from '@formily/shared'; import { isValid, uid } from '@formily/shared';
import { get } from 'lodash'; import { get } from 'lodash';
import React, { useContext, useMemo } from 'react'; import React, { useContext, useMemo } from 'react';
import { SchemaComponent } from '../../components'; import { SchemaComponent } from '../../core';
function useFilterColumns(): Map<SchemaKey, Schema> { function useFilterColumns(): Map<SchemaKey, Schema> {
const schema = useFieldSchema(); const schema = useFieldSchema();

View File

@ -8,7 +8,6 @@ export * from './chart';
export * from './checkbox'; export * from './checkbox';
export * from './color-select'; export * from './color-select';
export * from './date-picker'; export * from './date-picker';
export * from './dnd-context';
export * from './filter'; export * from './filter';
export * from './form'; export * from './form';
export * from './form-item'; export * from './form-item';
@ -31,4 +30,3 @@ export * from './time-picker';
export * from './tree-select'; export * from './tree-select';
export * from './upload'; export * from './upload';
export * from './void-table'; export * from './void-table';

View File

@ -0,0 +1 @@
export * from './SortableItem';

View File

@ -0,0 +1 @@
export * from './dnd-context';

View File

@ -1,6 +1,7 @@
export * from './antd'; export * from './antd';
export * from './antd/AntdSchemaComponentProvider'; export * from './antd/AntdSchemaComponentProvider';
export * from './components'; export * from './common';
export * from './context'; export * from './context';
export * from './core';
export * from './hooks'; export * from './hooks';
export * from './types'; export * from './types';