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;
props: {
direction: string;
logic: {
direction?: string;
logic?: {
dynamic: boolean;
};
iconWrapperWidth?: number;
iconHeight?: number;
iconWidth?: number;
textHgap: number;
textVgap: number;
textLgap: number;
textRgap: number;
text: string;
keyword: string;
textHgap?: number;
textVgap?: number;
textLgap?: number;
textRgap?: number;
text?: string;
keyword?: string;
} & BasicButton['props']
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_FOCUS: 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;

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

@ -4,13 +4,13 @@ export declare class AbstractLabel extends Single {
static xtype: string;
props: {
textAlign: "left" | "center" | "right";
whiteSpace: "nowrap" | "normal";
textWidth: number | null;
textHeight: number | null;
highLight: boolean;
handler: Function | null;
text: string;
textAlign?: "left" | "center" | "right";
whiteSpace?: "nowrap" | "normal";
textWidth?: number | null;
textHeight?: number | null;
highLight?: boolean;
handler?: Function | null;
text?: string;
} & Single['props']
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;
props: {
iconWidth: number;
iconHeight: number;
iconWidth?: number;
iconHeight?: number;
} & Single['props'];
}

Loading…
Cancel
Save