import type { PropsWithChildren } from 'react'; import type { CustomIconOptions } from '@ant-design/icons/lib/components/IconFont'; import type { DrawerProps as AntdDrawerProps, ModalProps as AntdModalProps, TablePaginationConfig as AntdTablePaginationConfig, TableProps as AntdTableProps, WatermarkProps as AntdWatermarkProps } from 'antd'; import type { AppProps } from 'antd/lib/app'; import type { ConfigProviderProps } from 'antd/lib/config-provider'; import { createCustomInstance } from '@baic/yolk-antd-style'; import type { ProviderProps as BaseProviderProps, ProviderValue as BaseProviderValue } from '@baic/yolk-browser-base'; import type { GridProps } from '../grid'; import type { LinkButtonMergeProps } from '../link-button'; import type { PagingTableProps } from '../paging-table'; import type { RangeNumberProps } from '../range-number'; import type { SearchLayoutProps } from '../search-layout'; import type { TableProps } from '../table'; import type { TitleProps } from '../title'; import type { WrapperProps } from '../wrapper'; import type { Antd5CssCompatibleProviderProps } from './antd5-css-compatible-provider'; type AntdStyle = Pick, 'createStyles' | 'createGlobalStyle'>; export type ProviderTableProps = Pick, 'bordered' | 'locale' | 'size'> & { pagination?: Pick; transformSource?: PagingTableProps['transformSource']; baseConfig?: TableProps['baseConfig']; }; export type ProviderValue = BaseProviderValue & { /** * 前缀 */ prefixCls?: string; getPrefixCls?: (name: string, prefixCls?: string) => string; /** * @description 的默认maxLength */ inputMaxLength?: number; /** * @description