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/table/Table/fields/index.tsx
var fields_exports = {};
__export(fields_exports, {
  default: () => fields_default,
  fieldList: () => fieldList,
  fieldMaps: () => fieldMaps,
  getFieldByType: () => getFieldByType
});
module.exports = __toCommonJS(fields_exports);
var import_date = __toESM(require("./date"));
var import_link = __toESM(require("./link"));
var import_number = __toESM(require("./number"));
var import_numberRange = __toESM(require("./numberRange"));
var import_select = __toESM(require("./select"));
var import_text = __toESM(require("./text"));
var import_image = __toESM(require("./image"));
var import_rangePicker = __toESM(require("./rangePicker"));
var import_search = __toESM(require("./search"));
var import_pSwitch = __toESM(require("./pSwitch"));
var import_treeSelect = __toESM(require("./treeSelect"));
var import_oldRangePicker = __toESM(require("./oldRangePicker"));
var fieldMaps = {
  text: import_text.default,
  link: import_link.default,
  number: import_number.default,
  date: import_date.default,
  select: import_select.default,
  image: import_image.default,
  rangePicker: import_rangePicker.default,
  search: import_search.default,
  pSwitch: import_pSwitch.default,
  numberRange: import_numberRange.default,
  treeSelect: import_treeSelect.default,
  oldRangePicker: import_oldRangePicker.default
};
var fieldList = Object.values(fieldMaps).map((d) => {
  return d.field;
});
var getFieldByType = (type) => {
  return fieldMaps[type];
};
var fields_default = {
  text: import_text.default,
  link: import_link.default,
  number: import_number.default,
  date: import_date.default,
  select: import_select.default,
  image: import_image.default,
  rangePicker: import_rangePicker.default,
  search: import_search.default,
  pSwitch: import_pSwitch.default,
  numberRange: import_numberRange.default,
  treeSelect: import_treeSelect.default,
  oldRangePicker: import_oldRangePicker.default
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  fieldList,
  fieldMaps,
  getFieldByType
});
