|
|
@ -13,7 +13,8 @@ import { |
|
|
|
Controller, |
|
|
|
Controller, |
|
|
|
Events, |
|
|
|
Events, |
|
|
|
MIN, |
|
|
|
MIN, |
|
|
|
MAX |
|
|
|
MAX, |
|
|
|
|
|
|
|
i18nText |
|
|
|
} from "@/core"; |
|
|
|
} from "@/core"; |
|
|
|
import { Label } from "../single"; |
|
|
|
import { Label } from "../single"; |
|
|
|
import { ButtonGroup } from "../combination"; |
|
|
|
import { ButtonGroup } from "../combination"; |
|
|
@ -54,8 +55,8 @@ export class Pager extends Widget { |
|
|
|
jump: emptyFn, // 分页的回调函数
|
|
|
|
jump: emptyFn, // 分页的回调函数
|
|
|
|
first: false, // 是否显示首页
|
|
|
|
first: false, // 是否显示首页
|
|
|
|
last: false, // 是否显示尾页
|
|
|
|
last: false, // 是否显示尾页
|
|
|
|
prev: BI.i18nText("BI-Previous_Page"), |
|
|
|
prev: i18nText("BI-Previous_Page"), |
|
|
|
next: BI.i18nText("BI-Next_Page"), |
|
|
|
next: i18nText("BI-Next_Page"), |
|
|
|
|
|
|
|
|
|
|
|
firstPage: 1, |
|
|
|
firstPage: 1, |
|
|
|
lastPage: () => |
|
|
|
lastPage: () => |
|
|
|