Browse Source

Pull request #2161: KERNEL-7828 补充声明

Merge in VISUAL/fineui from ~KOBI/fineui:master to master

* commit 'c50621674db6e3e9a3ab8a3ccb396056d0122b31':
  KERNEL-7828 补充声明
es6
Kobi 3 years ago
parent
commit
bea0e7b691
  1. 16
      typescript/base/single/button/listitem/icontextitem.ts
  2. 12
      typescript/base/single/editor/editor.textarea.ts
  3. 14
      typescript/base/single/label/abstract.label.ts
  4. 4
      typescript/base/single/label/icon.label.ts

16
typescript/base/single/button/listitem/icontextitem.ts

@ -5,19 +5,19 @@ export declare class IconTextItem extends BasicButton {
static EVENT_CHANGE: string; static EVENT_CHANGE: string;
props: { props: {
direction: string; direction?: string;
logic: { logic?: {
dynamic: boolean; dynamic: boolean;
}; };
iconWrapperWidth?: number; iconWrapperWidth?: number;
iconHeight?: number; iconHeight?: number;
iconWidth?: number; iconWidth?: number;
textHgap: number; textHgap?: number;
textVgap: number; textVgap?: number;
textLgap: number; textLgap?: number;
textRgap: number; textRgap?: number;
text: string; text?: string;
keyword: string; keyword?: string;
} & BasicButton['props'] } & BasicButton['props']
doRedMark(...args: any[]): void; doRedMark(...args: any[]): void;

12
typescript/base/single/editor/editor.textarea.ts

@ -9,6 +9,18 @@ export declare class TextAreaEditor extends Single {
static EVENT_EMPTY: string; static EVENT_EMPTY: string;
static EVENT_KEY_DOWN: string; static EVENT_KEY_DOWN: string;
props: {
value?: string;
errorText?: string | ((v: string) => string)
adjustYOffset?: number;
adjustXOffset?: number;
offsetStyle?: string;
validationChecker?: Function;
scrolly?: boolean;
style?: any;
watermark?: string;
} & Single['props'];
focus(): void; focus(): void;
blur(): void; blur(): void;

14
typescript/base/single/label/abstract.label.ts

@ -4,13 +4,13 @@ export declare class AbstractLabel extends Single {
static xtype: string; static xtype: string;
props: { props: {
textAlign: "left" | "center" | "right"; textAlign?: "left" | "center" | "right";
whiteSpace: "nowrap" | "normal"; whiteSpace?: "nowrap" | "normal";
textWidth: number | null; textWidth?: number | null;
textHeight: number | null; textHeight?: number | null;
highLight: boolean; highLight?: boolean;
handler: Function | null; handler?: Function | null;
text: string; text?: string;
} & Single['props'] } & Single['props']
doRedMark(...args: any[]): void; doRedMark(...args: any[]): void;

4
typescript/base/single/label/icon.label.ts

@ -4,7 +4,7 @@ export declare class IconLabel extends Single {
static xtype: string; static xtype: string;
props: { props: {
iconWidth: number; iconWidth?: number;
iconHeight: number; iconHeight?: number;
} & Single['props']; } & Single['props'];
} }

Loading…
Cancel
Save