/**
 * PisellUrl 组件导出文件
 */

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

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