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