var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
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 __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/components/ecocup/customerList/const.ts
var const_exports = {};
__export(const_exports, {
  COLUMN_SETTING: () => COLUMN_SETTING,
  FILTER: () => FILTER,
  SORT_SETTINGS: () => SORT_SETTINGS
});
module.exports = __toCommonJS(const_exports);
var SORT_SETTINGS = {
  show: true,
  list: [
    {
      columnKey: "display_name",
      key: "display_name",
      type: "string",
      localFilter: false
    },
    {
      columnKey: "create_time",
      key: "create_time",
      type: "date",
      localFilter: false
    }
    // {
    //   columnKey: 'total_rent_count',
    //   key: 'total_rent_count',
    //   type: 'number',
    //   localFilter: false,
    // },
    // {
    //   columnKey: 'total_return_count',
    //   key: 'total_return_count',
    //   type: 'number',
    //   localFilter: false,
    // },
  ]
};
var COLUMN_SETTING = {
  show: true,
  storageMode: "localStorage"
};
var FILTER = (locales) => {
  return {
    show: true,
    quickFilterMaxLength: 3,
    // sortButtonShow: true,
    // storageMode: 'localStorage',
    list: [
      {
        key: "search",
        type: "search",
        columnKey: "",
        sort: true,
        localFilter: false,
        isCustom: true,
        name: "search",
        other: {
          size: "large",
          allowClear: true,
          placeholder: locales.getText("pisell2.text.ecocup.customer.list.search.placeholder"),
          trigger: ["onChange", "onPressEnter"],
          style: {
            width: 240
          }
        }
      }
    ]
  };
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  COLUMN_SETTING,
  FILTER,
  SORT_SETTINGS
});
