import './index.scss';
import { CnCheckbox, CnRadio, CnComplexCheckbox, CnComplexRadio } from '@cainiaofe/cn-ui';
import { CnAsyncSelect } from './cn-ui/cn-async-select/index.js';
import { CnBatchInput } from './cn-ui/cn-batch-input/index.js';
import { CnCascaderSelect } from './cn-ui/cn-cascader-select/index.js';
import { CnInput } from './cn-ui/cn-input/index.js';
import { CnNumberPicker } from './cn-ui/cn-number-picker/index.js';
import { CnRangeNumberPicker } from './cn-ui/cn-range-number-picker/index.js';
import { CnEmployeeSelect } from './cn-ui/cn-employee-select/index.js';
import { CnCheckboxGroup } from './cn-ui/cn-checkbox-group/index.js';
import { CnRadioGroup } from './cn-ui/cn-radio-group/index.js';
import { CnTreeSelect } from './cn-ui/cn-tree-select/index.js';
import { CnTimePickerPro } from './cn-ui/cn-time-picker-pro/index.js';
import { Select } from './cn-ui-lowcode/cn-async-select/index.js';
import { NumberPicker } from './cn-ui-lowcode/cn-number-picker/index.js';
import { RangeNumberPicker } from './cn-ui-lowcode/cn-ranger-number-picker/index.js';
import { Input } from './cn-ui-lowcode/cn-input/index.js';
import { TextArea } from './cn-ui-lowcode/cn-text-area/index.js';
import { DepartmentSelect } from './cn-ui-lowcode/cn-department-select/index.js';
import { EmployeeSelect } from './cn-ui-lowcode/cn-employee-select/index.js';
import { TreeSelect } from './cn-ui-lowcode/cn-tree-select/index.js';
import { CascaderSelect } from './cn-ui-lowcode/cn-cascader-select/index.js';
import { TimePicker } from './cn-ui-lowcode/cn-time-picker-pro/index.js';
import { RangeTimePicker } from './cn-ui-lowcode/cn-range-time-picker-pro/index.js';
import { CnComplexCheckboxGroup } from './cn-ui/cn-complex-checkbox-group/index.js';
import { CnComplexRadioGroup } from './cn-ui/cn-complex-radio-group/index.js';
import { CnRangeTimePickerPro } from './cn-ui/cn-range-time-picker-pro/index.js';
import { CnDatePickerPro, CnMonthPickerPro, CnQuarterPickerPro, CnWeekPickerPro, CnYearPickerPro, } from './cn-ui/cn-date-picker-pro/index.js';
import { CnDepartmentSelect } from './cn-ui/cn-department-select/index.js';
import { CnRangeDatePickerPro } from './cn-ui/cn-range-date-picker-pro/index.js';
import { DatePicker } from './cn-ui-lowcode/cn-date-picker-pro/index.js';
import { RangePicker } from './cn-ui-lowcode/cn-range-date-picker-pro/index.js';
import { TimeZoneDatePicker } from './cn-ui-lowcode/cn-time-zone-date-picker/index.js';
import { TimeZoneRangeDatePicker } from './cn-ui-lowcode/cn-time-zone-range-date-picker/index.js';
import { AddressSelect } from './cn-ui-lowcode/address/index.js';
import { CnAddress } from './cn-ui-lowcode/cn-address/index.js';
import { RadioGroup } from './cn-ui-lowcode/cn-radio/index.js';
import { CheckboxGroup } from './cn-ui-lowcode/cn-checkbox/index.js';
import { Compose } from './cn-ui-lowcode/compose/index.js';
import { AutoComplete } from './cn-ui-lowcode/auto-complete/index.js';
import { CnBankInput } from './cn-ui/cn-bank-input/index.js';
import { Rating } from './cn-ui-lowcode/cn-rating/index.js';
import { Switch } from './cn-ui-lowcode/cn-switch/index.js';
import { CnCurrencyAmountNumberPickerPro } from './cn-ui-lowcode/cn-currency-amount-number-picker-pro/index.js';
export const componentAdapterMap = {
    CnInput,
    CnAsyncSelect,
    CnBatchInput,
    CnCascaderSelect,
    CnCheckbox,
    CnCheckboxGroup,
    CnEmployeeSelect,
    CnNumberPicker,
    CnRadio,
    CnRadioGroup,
    CnRangeNumberPicker,
    CnTreeSelect,
    CnTimePickerPro,
    CnComplexCheckbox,
    CnComplexCheckboxGroup,
    CnComplexRadio,
    CnComplexRadioGroup,
    CnRangeTimePickerPro,
    CnDatePickerPro,
    CnMonthPickerPro,
    CnYearPickerPro,
    CnQuarterPickerPro,
    CnWeekPickerPro,
    CnRangeDatePickerPro,
    CnDepartmentSelect,
    Select,
    NumberPicker,
    RangeNumberPicker,
    Input,
    TextArea,
    DepartmentSelect,
    EmployeeSelect,
    TreeSelect,
    CascaderSelect,
    TimePicker,
    RangeTimePicker,
    DatePicker,
    // OSSImageUpload,
    RangePicker,
    CnTimeZoneDatePicker: TimeZoneDatePicker,
    CnTimeZoneRangeDatePicker: TimeZoneRangeDatePicker,
    AddressSelect,
    CnAddress,
    RadioGroup,
    CheckboxGroup,
    Compose,
    AutoComplete,
    Rating,
    Switch,
    // 以下为鸟搭组件
    CnBankInput,
    CnCurrencyAmountNumberPickerPro,
};
/**
 * 表格专用的 componentAdapterMap
 * 在表格中，地址选择器和部门选择器不支持点击单元格出现对应组件，因此设置为 null
 */
export const componentAdapterMapForTable = {
    ...componentAdapterMap,
    // 地址选择器在表格中不支持点击编辑
    AddressSelect: null,
    CnAddress: null,
    // 部门选择器在表格中不支持点击编辑
    DepartmentSelect: null,
    CnDepartmentSelect: null,
};
