var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
  // If the importer is in node compatibility mode or this is not an ESM
  // file that has been converted to a CommonJS file using a Babel-
  // compatible transform (i.e. "__esModule" has not been set), then set
  // "default" to the CommonJS "module.exports" for node compatibility.
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
  mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/components/dataSourceComponents/fields/index.ts
var fields_exports = {};
__export(fields_exports, {
  formFieldMap: () => formFieldMap,
  getFieldComponent: () => getFieldComponent
});
module.exports = __toCommonJS(fields_exports);
var import_Checkbox = __toESM(require("./Checkbox"));
var import_ColorPicker = __toESM(require("./ColorPicker"));
var import_DatePicker = __toESM(require("./DatePicker"));
var import_Input = __toESM(require("./Input"));
var import_Radio = __toESM(require("./Radio"));
var import_Select = __toESM(require("./Select"));
var import_InputNumber = __toESM(require("./InputNumber"));
var import_TimePicker = __toESM(require("./TimePicker"));
var import_DateRangePicker = __toESM(require("./DateRangePicker"));
var import_Upload = __toESM(require("./Upload"));
var import_Translation = __toESM(require("./Translation"));
var import_IconSelect = __toESM(require("./IconSelect"));
var formFieldMap = {
  FormItemCheckbox: import_Checkbox.default,
  FormItemColorPicker: import_ColorPicker.default,
  FormItemDatePicker: import_DatePicker.default,
  FormItemInput: import_Input.default,
  FormItemRadio: import_Radio.default,
  FormItemSelect: import_Select.default,
  FormItemInputNumber: import_InputNumber.default,
  FormItemPercent: import_InputNumber.default,
  FormItemTimePicker: import_TimePicker.default,
  "FormItemInput.JSON": import_Input.default.JSON,
  "FormItemInput.Phone": import_Input.default.Phone,
  "FormItemInput.Mobile": import_Input.default.Mobile,
  "FormItemInput.Email": import_Input.default.Email,
  "FormItemInput.URL": import_Input.default.URL,
  "FormItemInput.Password": import_Input.default.Password,
  "FormItemRadio.Group": import_Radio.default.Group,
  "FormItemCheckbox.Group": import_Checkbox.default.Group,
  FormItemDateRangePicker: import_DateRangePicker.default,
  FormItemUpload: import_Upload.default,
  FormItemTranslation: import_Translation.default,
  FormItemIconSelect: import_IconSelect.default
};
var getFieldComponent = (fieldComponent) => {
  return formFieldMap[fieldComponent];
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  formFieldMap,
  getFieldComponent
});
