/**
 * PisellCurrency 组件导出
 */

import { getText } from "../../locales";
import PisellCurrency from "./PisellCurrency";

/** RecordBoard 列 type 联动排序：内置 0 → 9 / 9 → 0 */
PisellCurrency.SortOptions = {
  getSortItems: function getSortItems(fieldKey) {
    return [{
      key: "".concat(fieldKey, ":asc"),
      label: getText('sort-0-9')
    }, {
      key: "".concat(fieldKey, ":desc"),
      label: getText('sort-9-0')
    }];
  }
};
export { PisellCurrency };

// 公共类型从 types 中重新导出，方便使用