/**
 * PisellRating 组件导出
 */

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

/** RecordBoard 列 type 联动排序：内置 0 → 9 / 9 → 0 */
PisellRating.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 { PisellRating };

// 公共类型重新导出