import { PaginationProps } from '@wakeadmin/element-adapter'; import { OmitAtomicCommonProps } from '../atomic'; import type { ADateRangeProps, AMultiSelectProps, APasswordProps, ASelectProps, ASwitchProps, ATextProps, ACheckboxProps, ARadioProps, AIntegerProps, ARateProps, ASliderProps, AProgressProps, ADateProps, ADateTimeProps, ADateTimeRangeProps, ATextareaProps, ATimeProps, ATimeSelectProps, ATimeRangeProps, ACheckboxsProps, AImagesProps, AImageProps, ASearchProps, AUrlProps, ACascaderLazyProps, ACascaderProps, AFloatProps, ANumberProps, ACurrencyProps, AEmailProps, AFilesProps, AFileProps, APhoneProps, ASliderRangeProps, ACaptchaProps, AAvatarProps, ATreeSelectProps } from '../builtin-atomic'; import { FatFormGlobalConfigurations } from '../fat-form'; import { FatFormPageLayout } from '../fat-form-layout'; import { FatFormQueryGlobalConfiguration } from '../fat-form-layout/fat-form-query'; import { FatTableGlobalConfigurations } from '../fat-table'; import { FatTableSelectGlobalConfigurations } from '../fat-table-layout'; import { FatTableModalGlobalConfigurations } from '../fat-table-layout/fat-table-modal'; import { FatTableSelectModalGlobalConfigurations } from '../fat-table-layout/fat-table-select-modal'; import { II18n } from '../i18n'; /** * 这里定义了组件库一些可以全局配置的参数 */ export interface FatConfigurable { /** * 字段未定义时展示的字符。默认为 -- * 在表格、表单预览时有效 * 支持 JSX */ undefinedPlaceholder?: any; /** * 日期格式, 默认为 YYYY-MM-DD */ dateFormat?: string; /** * 日期时间格式,默认为 YYYY-MM-DD HH:mm:SS,格式参考 dayjs */ dateTimeFormat?: string; /** * 时间格式, 默认为 HH:mm */ timeFormat?: string; /** * 默认分页配置 */ pagination?: Omit; /** * 是否开启 FatContainer legacyMode */ legacyContainer?: boolean; /** * 是否复用基座的组件, 默认 true */ reuseBayIfNeed?: boolean; /** * 表格全局配置 */ fatTable?: FatTableGlobalConfigurations; /** * 表格弹窗全局配置 */ fatTableModal?: FatTableModalGlobalConfigurations; /** * 表格选择全局配置 */ fatTableSelect?: FatTableSelectGlobalConfigurations; /** * 表格选择弹窗全局配置 */ fatTableSelectModal?: FatTableSelectModalGlobalConfigurations; /** * 表单全局配置 */ fatForm?: FatFormGlobalConfigurations; /** * 自定义表单页面布局 */ fatFormPageLayout?: FatFormPageLayout; /** * 查询表单全局配置 */ fatFormQuery?: FatFormQueryGlobalConfiguration; /** * i18n 实例 */ i18n?: II18n; /** * 头像组件默认配置 */ aAvatarProps?: OmitAtomicCommonProps; /** * 文本组件默认配置 */ aTextProps?: OmitAtomicCommonProps; /** * 长文本组件默认配置 */ aTextareaProps?: OmitAtomicCommonProps; /** * 密码组件默认配置 */ aPasswordProps?: OmitAtomicCommonProps; /** * url 默认配置 */ aUrlProps?: OmitAtomicCommonProps; /** * email 默认配置 */ aEmailProps?: OmitAtomicCommonProps; /** * phone 默认配置 */ aPhoneProps?: OmitAtomicCommonProps; /** * search 默认配置 */ aSearchProps?: OmitAtomicCommonProps; /** * switch 默认配置 */ aSwitchProps?: OmitAtomicCommonProps; /** * select 默认配置 */ aSelectProps?: OmitAtomicCommonProps; /** * multi-select 默认配置 */ aMultiSelectProps?: OmitAtomicCommonProps; /** * date 默认配置 */ aDateProps?: OmitAtomicCommonProps; /** * date-time 默认配置 */ aDateTimeProps?: OmitAtomicCommonProps; /** * date-range 默认配置 */ aDateRangeProps?: OmitAtomicCommonProps; /** * date-time-range 默认配置 */ aDateTimeRangeProps?: OmitAtomicCommonProps; /** * time 默认配置 */ aTimeProps?: OmitAtomicCommonProps; /** * time-select 默认配置 */ aTimeSelectProps?: OmitAtomicCommonProps; /** * time-range 默认配置 */ aTimeRangeProps?: OmitAtomicCommonProps; /** * checkbox 默认配置 */ aCheckboxProps?: OmitAtomicCommonProps; /** * checkboxs 默认配置 */ aCheckboxsProps?: OmitAtomicCommonProps; /** * radio 默认配置 */ aRadioProps?: OmitAtomicCommonProps; /** * integer 默认配置 */ aIntegerProps?: OmitAtomicCommonProps; /** * float 默认配置 */ aFloatProps?: OmitAtomicCommonProps; /** * number 默认配置 */ aNumberProps?: OmitAtomicCommonProps; /** * currency 默认配置 */ aCurrencyProps?: OmitAtomicCommonProps; /** * rate 默认配置 */ aRateProps?: OmitAtomicCommonProps; /** * slider 默认配置 */ aSliderProps?: OmitAtomicCommonProps; /** * slider-range 默认配置 */ aSliderRangeProps?: OmitAtomicCommonProps; /** * progress 默认配置 */ aProgressProps?: OmitAtomicCommonProps; /** * images 默认配置 */ aImagesProps?: OmitAtomicCommonProps; /** * image 默认配置 */ aImageProps?: OmitAtomicCommonProps; /** * files 默认配置 */ aFilesProps?: OmitAtomicCommonProps; /** * file 默认配置 */ aFileProps?: OmitAtomicCommonProps; /** * cascader-lazy 默认配置 */ aCascaderLazyProps?: OmitAtomicCommonProps; /** * cascader 默认配置 */ aCascaderProps?: OmitAtomicCommonProps; /** * captcha 默认配置 */ aCaptchaProps?: OmitAtomicCommonProps; /** * tree-select 默认配置 */ aTreeSelectProps?: OmitAtomicCommonProps; } //# sourceMappingURL=types.d.ts.map