"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.componentAdapterMapForTable = exports.componentAdapterMap = void 0;
require("./index.scss");
const cn_ui_1 = require("@cainiaofe/cn-ui");
const cn_async_select_1 = require("./cn-ui/cn-async-select/index.js");
const cn_batch_input_1 = require("./cn-ui/cn-batch-input/index.js");
const cn_cascader_select_1 = require("./cn-ui/cn-cascader-select/index.js");
const cn_input_1 = require("./cn-ui/cn-input/index.js");
const cn_number_picker_1 = require("./cn-ui/cn-number-picker/index.js");
const cn_range_number_picker_1 = require("./cn-ui/cn-range-number-picker/index.js");
const cn_employee_select_1 = require("./cn-ui/cn-employee-select/index.js");
const cn_checkbox_group_1 = require("./cn-ui/cn-checkbox-group/index.js");
const cn_radio_group_1 = require("./cn-ui/cn-radio-group/index.js");
const cn_tree_select_1 = require("./cn-ui/cn-tree-select/index.js");
const cn_time_picker_pro_1 = require("./cn-ui/cn-time-picker-pro/index.js");
const cn_async_select_2 = require("./cn-ui-lowcode/cn-async-select/index.js");
const cn_number_picker_2 = require("./cn-ui-lowcode/cn-number-picker/index.js");
const cn_ranger_number_picker_1 = require("./cn-ui-lowcode/cn-ranger-number-picker/index.js");
const cn_input_2 = require("./cn-ui-lowcode/cn-input/index.js");
const cn_text_area_1 = require("./cn-ui-lowcode/cn-text-area/index.js");
const cn_department_select_1 = require("./cn-ui-lowcode/cn-department-select/index.js");
const cn_employee_select_2 = require("./cn-ui-lowcode/cn-employee-select/index.js");
const cn_tree_select_2 = require("./cn-ui-lowcode/cn-tree-select/index.js");
const cn_cascader_select_2 = require("./cn-ui-lowcode/cn-cascader-select/index.js");
const cn_time_picker_pro_2 = require("./cn-ui-lowcode/cn-time-picker-pro/index.js");
const cn_range_time_picker_pro_1 = require("./cn-ui-lowcode/cn-range-time-picker-pro/index.js");
const cn_complex_checkbox_group_1 = require("./cn-ui/cn-complex-checkbox-group/index.js");
const cn_complex_radio_group_1 = require("./cn-ui/cn-complex-radio-group/index.js");
const cn_range_time_picker_pro_2 = require("./cn-ui/cn-range-time-picker-pro/index.js");
const cn_date_picker_pro_1 = require("./cn-ui/cn-date-picker-pro/index.js");
const cn_department_select_2 = require("./cn-ui/cn-department-select/index.js");
const cn_range_date_picker_pro_1 = require("./cn-ui/cn-range-date-picker-pro/index.js");
const cn_date_picker_pro_2 = require("./cn-ui-lowcode/cn-date-picker-pro/index.js");
const cn_range_date_picker_pro_2 = require("./cn-ui-lowcode/cn-range-date-picker-pro/index.js");
const cn_time_zone_date_picker_1 = require("./cn-ui-lowcode/cn-time-zone-date-picker/index.js");
const cn_time_zone_range_date_picker_1 = require("./cn-ui-lowcode/cn-time-zone-range-date-picker/index.js");
const address_1 = require("./cn-ui-lowcode/address/index.js");
const cn_address_1 = require("./cn-ui-lowcode/cn-address/index.js");
const cn_radio_1 = require("./cn-ui-lowcode/cn-radio/index.js");
const cn_checkbox_1 = require("./cn-ui-lowcode/cn-checkbox/index.js");
const compose_1 = require("./cn-ui-lowcode/compose/index.js");
const auto_complete_1 = require("./cn-ui-lowcode/auto-complete/index.js");
const cn_bank_input_1 = require("./cn-ui/cn-bank-input/index.js");
const cn_rating_1 = require("./cn-ui-lowcode/cn-rating/index.js");
const cn_switch_1 = require("./cn-ui-lowcode/cn-switch/index.js");
const cn_currency_amount_number_picker_pro_1 = require("./cn-ui-lowcode/cn-currency-amount-number-picker-pro/index.js");
exports.componentAdapterMap = {
    CnInput: cn_input_1.CnInput,
    CnAsyncSelect: cn_async_select_1.CnAsyncSelect,
    CnBatchInput: cn_batch_input_1.CnBatchInput,
    CnCascaderSelect: cn_cascader_select_1.CnCascaderSelect,
    CnCheckbox: cn_ui_1.CnCheckbox,
    CnCheckboxGroup: cn_checkbox_group_1.CnCheckboxGroup,
    CnEmployeeSelect: cn_employee_select_1.CnEmployeeSelect,
    CnNumberPicker: cn_number_picker_1.CnNumberPicker,
    CnRadio: cn_ui_1.CnRadio,
    CnRadioGroup: cn_radio_group_1.CnRadioGroup,
    CnRangeNumberPicker: cn_range_number_picker_1.CnRangeNumberPicker,
    CnTreeSelect: cn_tree_select_1.CnTreeSelect,
    CnTimePickerPro: cn_time_picker_pro_1.CnTimePickerPro,
    CnComplexCheckbox: cn_ui_1.CnComplexCheckbox,
    CnComplexCheckboxGroup: cn_complex_checkbox_group_1.CnComplexCheckboxGroup,
    CnComplexRadio: cn_ui_1.CnComplexRadio,
    CnComplexRadioGroup: cn_complex_radio_group_1.CnComplexRadioGroup,
    CnRangeTimePickerPro: cn_range_time_picker_pro_2.CnRangeTimePickerPro,
    CnDatePickerPro: cn_date_picker_pro_1.CnDatePickerPro,
    CnMonthPickerPro: cn_date_picker_pro_1.CnMonthPickerPro,
    CnYearPickerPro: cn_date_picker_pro_1.CnYearPickerPro,
    CnQuarterPickerPro: cn_date_picker_pro_1.CnQuarterPickerPro,
    CnWeekPickerPro: cn_date_picker_pro_1.CnWeekPickerPro,
    CnRangeDatePickerPro: cn_range_date_picker_pro_1.CnRangeDatePickerPro,
    CnDepartmentSelect: cn_department_select_2.CnDepartmentSelect,
    Select: cn_async_select_2.Select,
    NumberPicker: cn_number_picker_2.NumberPicker,
    RangeNumberPicker: cn_ranger_number_picker_1.RangeNumberPicker,
    Input: cn_input_2.Input,
    TextArea: cn_text_area_1.TextArea,
    DepartmentSelect: cn_department_select_1.DepartmentSelect,
    EmployeeSelect: cn_employee_select_2.EmployeeSelect,
    TreeSelect: cn_tree_select_2.TreeSelect,
    CascaderSelect: cn_cascader_select_2.CascaderSelect,
    TimePicker: cn_time_picker_pro_2.TimePicker,
    RangeTimePicker: cn_range_time_picker_pro_1.RangeTimePicker,
    DatePicker: cn_date_picker_pro_2.DatePicker,
    // OSSImageUpload,
    RangePicker: cn_range_date_picker_pro_2.RangePicker,
    CnTimeZoneDatePicker: cn_time_zone_date_picker_1.TimeZoneDatePicker,
    CnTimeZoneRangeDatePicker: cn_time_zone_range_date_picker_1.TimeZoneRangeDatePicker,
    AddressSelect: address_1.AddressSelect,
    CnAddress: cn_address_1.CnAddress,
    RadioGroup: cn_radio_1.RadioGroup,
    CheckboxGroup: cn_checkbox_1.CheckboxGroup,
    Compose: compose_1.Compose,
    AutoComplete: auto_complete_1.AutoComplete,
    Rating: cn_rating_1.Rating,
    Switch: cn_switch_1.Switch,
    // 以下为鸟搭组件
    CnBankInput: cn_bank_input_1.CnBankInput,
    CnCurrencyAmountNumberPickerPro: cn_currency_amount_number_picker_pro_1.CnCurrencyAmountNumberPickerPro,
};
/**
 * 表格专用的 componentAdapterMap
 * 在表格中，地址选择器和部门选择器不支持点击单元格出现对应组件，因此设置为 null
 */
exports.componentAdapterMapForTable = {
    ...exports.componentAdapterMap,
    // 地址选择器在表格中不支持点击编辑
    AddressSelect: null,
    CnAddress: null,
    // 部门选择器在表格中不支持点击编辑
    DepartmentSelect: null,
    CnDepartmentSelect: null,
};
