refactor: rename sort-item
This commit is contained in:
parent
aa78a7faf1
commit
02ede08a5d
@ -1,6 +1,6 @@
|
||||
import React from 'react';
|
||||
import * as components from '.';
|
||||
import { SchemaComponentOptions } from '../components/SchemaComponentOptions';
|
||||
import { SchemaComponentOptions } from '../core/SchemaComponentOptions';
|
||||
|
||||
export const AntdSchemaComponentProvider = (props) => {
|
||||
const { children } = props;
|
||||
|
@ -3,7 +3,7 @@ import { createForm, onFieldValueChange } from '@formily/core';
|
||||
import { connect, FieldContext, FormContext, ISchema, mapProps, mapReadPretty, Schema } from '@formily/react';
|
||||
import deepmerge from 'deepmerge';
|
||||
import React, { useMemo } from 'react';
|
||||
import { SchemaComponent } from '../../components';
|
||||
import { SchemaComponent } from '../../core';
|
||||
import { FilterGroup } from './FilterGroup';
|
||||
import './style.less';
|
||||
|
||||
|
@ -15,7 +15,7 @@ import {
|
||||
import { isValid, uid } from '@formily/shared';
|
||||
import { get } from 'lodash';
|
||||
import React, { useContext, useMemo } from 'react';
|
||||
import { SchemaComponent } from '../../components';
|
||||
import { SchemaComponent } from '../../core';
|
||||
|
||||
function useFilterColumns(): Map<SchemaKey, Schema> {
|
||||
const schema = useFieldSchema();
|
||||
|
@ -8,7 +8,6 @@ export * from './chart';
|
||||
export * from './checkbox';
|
||||
export * from './color-select';
|
||||
export * from './date-picker';
|
||||
export * from './dnd-context';
|
||||
export * from './filter';
|
||||
export * from './form';
|
||||
export * from './form-item';
|
||||
@ -31,4 +30,3 @@ export * from './time-picker';
|
||||
export * from './tree-select';
|
||||
export * from './upload';
|
||||
export * from './void-table';
|
||||
|
||||
|
@ -0,0 +1 @@
|
||||
export * from './SortableItem';
|
1
packages/client/src/schema-component/common/index.ts
Normal file
1
packages/client/src/schema-component/common/index.ts
Normal file
@ -0,0 +1 @@
|
||||
export * from './dnd-context';
|
@ -1,6 +1,7 @@
|
||||
export * from './antd';
|
||||
export * from './antd/AntdSchemaComponentProvider';
|
||||
export * from './components';
|
||||
export * from './common';
|
||||
export * from './context';
|
||||
export * from './core';
|
||||
export * from './hooks';
|
||||
export * from './types';
|
||||
|
Loading…
Reference in New Issue
Block a user