forked from fanruan/fineui
Browse Source
Merge in VISUAL/fineui from ~ALAN/fineui:master to master * commit 'df4b959530a70fbb12ebe4821e5402e8dcbf5c28': 修改写错的方法名 KERNEL-6431补充类型定义es6
Teller
4 years ago
5 changed files with 88 additions and 3 deletions
@ -1,11 +1,23 @@ |
|||||||
import { _Single } from "../single"; |
import { Single, _Single } from "../single"; |
||||||
|
|
||||||
export interface _Iframe extends _Single { |
export interface _Iframe extends _Single { |
||||||
setSrc(v: string): void; |
setSrc(v: string): void; |
||||||
|
|
||||||
getSrc(): string; |
getSrc(): string; |
||||||
|
|
||||||
setNam(v: string): void; |
setName(v: string): void; |
||||||
|
|
||||||
|
getName(): string; |
||||||
|
} |
||||||
|
|
||||||
|
export declare class iframe extends Single { |
||||||
|
static xtype: string; |
||||||
|
|
||||||
|
setSrc(v: string): void; |
||||||
|
|
||||||
|
getSrc(): string; |
||||||
|
|
||||||
|
setName(v: string): void; |
||||||
|
|
||||||
getName(): string; |
getName(): string; |
||||||
} |
} |
||||||
|
@ -0,0 +1,36 @@ |
|||||||
|
import { Widget } from "../../widget"; |
||||||
|
import { Layout } from "../layout"; |
||||||
|
|
||||||
|
export declare class CardLayout extends Layout { |
||||||
|
static xtype: string; |
||||||
|
|
||||||
|
empty(): void; |
||||||
|
|
||||||
|
isCardExisted(cardName: string): boolean; |
||||||
|
|
||||||
|
getCardByName<T>(name: string):T; |
||||||
|
|
||||||
|
deleteCardByName(cardName: string): void; |
||||||
|
|
||||||
|
addCardByName(cardName: string, cardItem: any): Widget |
||||||
|
|
||||||
|
showCardByName(cardName: string, action: any, callback: () => void): void; |
||||||
|
|
||||||
|
showLastCard(): void; |
||||||
|
|
||||||
|
setDefaultShowName(name: string): void; |
||||||
|
|
||||||
|
getDefaultShowName(): string; |
||||||
|
|
||||||
|
getAllCardNames(): string[]; |
||||||
|
|
||||||
|
getShowingCard<T>(): T; |
||||||
|
|
||||||
|
deleteAllCard(): void; |
||||||
|
|
||||||
|
hideAllCard(): void; |
||||||
|
|
||||||
|
isAllCardHide(): boolean; |
||||||
|
|
||||||
|
removeWidget(nameOrWidget: string | Widget): void; |
||||||
|
} |
@ -0,0 +1,13 @@ |
|||||||
|
import { Single } from "../../base/single/single"; |
||||||
|
|
||||||
|
export declare class TimeCombo extends Single { |
||||||
|
static xtype: string; |
||||||
|
static EVENT_KEY_DOWN: string; |
||||||
|
static EVENT_CONFIRM: string; |
||||||
|
static EVENT_CHANGE: string; |
||||||
|
static EVENT_VALID: string; |
||||||
|
static EVENT_ERROR: string; |
||||||
|
static EVENT_BEFORE_POPUPVIEW: string; |
||||||
|
|
||||||
|
hidePopupView(): void; |
||||||
|
} |
@ -0,0 +1,14 @@ |
|||||||
|
import { Single } from "../../base/single/single"; |
||||||
|
|
||||||
|
export declare class DynamicYearMonthCombo extends Single { |
||||||
|
static xtype: string; |
||||||
|
static EVENT_ERROR: string; |
||||||
|
static EVENT_VALID: string; |
||||||
|
static EVENT_FOCUS: string; |
||||||
|
static EVENT_CONFIRM: string; |
||||||
|
static EVENT_BEFORE_POPUPVIEW: string; |
||||||
|
|
||||||
|
hideView(): void; |
||||||
|
|
||||||
|
getKey(): string; |
||||||
|
} |
Loading…
Reference in new issue