import { CnDatePickerPro as UiCnDatePickerPro, formilyReact } from '@cainiaofe/cn-ui';
import React from 'react';
const { connect, useFieldSchema } = formilyReact;
export const CnDatePickerPro = connect((props) => {
    const fieldSchema = useFieldSchema();
    return (React.createElement(UiCnDatePickerPro, { ...props, defaultVisible: true, className: "cn-ai-table-schema-field__item--full-width", popupContainer: document.getElementById(fieldSchema === null || fieldSchema === void 0 ? void 0 : fieldSchema.name) }));
});
CnDatePickerPro.displayName = 'CnDatePickerPro';
export const CnMonthPickerPro = CnDatePickerPro;
CnMonthPickerPro.displayName = 'CnMonthPickerPro';
export const CnYearPickerPro = CnDatePickerPro;
CnYearPickerPro.displayName = 'CnYearPickerPro';
export const CnWeekPickerPro = CnDatePickerPro;
CnWeekPickerPro.displayName = 'CnWeekPickerPro';
export const CnQuarterPickerPro = CnDatePickerPro;
CnQuarterPickerPro.displayName = 'CnQuarterPickerPro';
