Browse Source

KERNEL-7828 补充声明

es6
Kobi 3 years ago
parent
commit
2a102afb7e
  1. 16
      typescript/base/single/button/listitem/icontextitem.ts
  2. 15
      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;

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

@ -5,6 +5,21 @@ export declare class TextAreaEditor extends Single {
static EVENT_CHANGE: string; static EVENT_CHANGE: string;
static EVENT_FOCUS: string; static EVENT_FOCUS: string;
static EVENT_BLUR: string; static EVENT_BLUR: string;
static EVENT_CONFIRM: string;
static EVENT_EMPTY: 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;

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