diff --git a/dist/lib/case/pager/pager.direction.d.ts b/dist/lib/case/pager/pager.direction.d.ts new file mode 100644 index 000000000..1b29a4648 --- /dev/null +++ b/dist/lib/case/pager/pager.direction.d.ts @@ -0,0 +1,18 @@ +import { Widget } from "../../core/widget"; + +export declare class DirectionPager extends Widget { + static xtype: string; + static EVENT_CHANGE: string; + getVPage(): number; + getHPage(): number; + setVPage(v: number):void; + setHPage(v: number):void; + hasVPrev(): boolean; + hasVNext(): boolean; + hasHPrev(): boolean; + hasHNext(): boolean; + setHPagerVisible(v: boolean): void; + setVPagerVisible(v: boolean): void; + clear(): void; + populate(): void; +} diff --git a/typescript/case/pager/pager.direction.ts b/typescript/case/pager/pager.direction.ts new file mode 100644 index 000000000..2b52d02b5 --- /dev/null +++ b/typescript/case/pager/pager.direction.ts @@ -0,0 +1,28 @@ +import { Widget } from "../../core/widget"; + +export declare class DirectionPager extends Widget { + static xtype: string; + static EVENT_CHANGE: string; + + + getVPage(): number; + getHPage(): number; + + setVPage(v: number):void; + setHPage(v: number):void; + + hasVPrev(): boolean; + + hasVNext(): boolean; + + hasHPrev(): boolean; + + hasHNext(): boolean; + + setHPagerVisible(v: boolean): void; + setVPagerVisible(v: boolean): void; + + clear(): void; + + populate(): void; +} diff --git a/typescript/index.ts b/typescript/index.ts index 4b17463cc..68917f165 100644 --- a/typescript/index.ts +++ b/typescript/index.ts @@ -131,6 +131,7 @@ import { SelectTextTrigger } from "./case/trigger/trigger.text.select"; import { DateInterval } from "./widget/timeinterval/dateinterval"; import { DynamicDatePane } from "./widget/datepane/datepane"; import { AllCountPager } from "./case/pager/pager.all.count"; +import { DirectionPager } from "./case/pager/pager.direction"; import { PopupView } from "./base/layer/layer.popup"; import { BubblePopupView, BubblePopupBarView, TextBubblePopupBarView } from "./case/combo/bubblecombo/popup.bubble"; import { ArrowTreeGroupNodeCheckbox } from "./case/checkbox/check.arrownode"; @@ -319,6 +320,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils { DateInterval: typeof DateInterval; DynamicDatePane: typeof DynamicDatePane; AllCountPager: typeof AllCountPager; + DirectionPager: typeof DirectionPager; Pager: typeof Pager; PopupView: typeof PopupView; BubblePopupView: typeof BubblePopupView;