"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CnQuarterPickerPro = exports.CnWeekPickerPro = exports.CnYearPickerPro = exports.CnMonthPickerPro = exports.CnDatePickerPro = void 0;
const cn_ui_1 = require("@cainiaofe/cn-ui");
const react_1 = __importDefault(require("react"));
const { connect, useFieldSchema } = cn_ui_1.formilyReact;
exports.CnDatePickerPro = connect((props) => {
    const fieldSchema = useFieldSchema();
    return (react_1.default.createElement(cn_ui_1.CnDatePickerPro, { ...props, defaultVisible: true, className: "cn-ai-table-schema-field__item--full-width", popupContainer: document.getElementById(fieldSchema === null || fieldSchema === void 0 ? void 0 : fieldSchema.name) }));
});
exports.CnDatePickerPro.displayName = 'CnDatePickerPro';
exports.CnMonthPickerPro = exports.CnDatePickerPro;
exports.CnMonthPickerPro.displayName = 'CnMonthPickerPro';
exports.CnYearPickerPro = exports.CnDatePickerPro;
exports.CnYearPickerPro.displayName = 'CnYearPickerPro';
exports.CnWeekPickerPro = exports.CnDatePickerPro;
exports.CnWeekPickerPro.displayName = 'CnWeekPickerPro';
exports.CnQuarterPickerPro = exports.CnDatePickerPro;
exports.CnQuarterPickerPro.displayName = 'CnQuarterPickerPro';
