From 4e36e5b88ca6b8ed4ae323e1b3d957149a1062c0 Mon Sep 17 00:00:00 2001
From: youki <Youki@fanruan.com>
Date: Fri, 11 Dec 2020 17:40:32 +0800
Subject: [PATCH] =?UTF-8?q?KERNEL-6465=20=E8=A1=A5=E5=85=85=E7=B1=BB?=
 =?UTF-8?q?=E5=9E=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 typescript/base/single/label/abstract.label.ts | 6 ++----
 typescript/base/single/label/label.ts          | 4 +++-
 typescript/index.ts                            | 6 ++++--
 3 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/typescript/base/single/label/abstract.label.ts b/typescript/base/single/label/abstract.label.ts
index 5f1972b91..86ae31581 100644
--- a/typescript/base/single/label/abstract.label.ts
+++ b/typescript/base/single/label/abstract.label.ts
@@ -17,6 +17,8 @@ export interface _AbstractLabel extends _Single {
 }
 
 export declare class AbstractLabel extends Single {
+    static xtype: string;
+    
     doRedMark(...args: any[]): void;
 
     unRedMark(...args: any[]): void;
@@ -25,9 +27,5 @@ export declare class AbstractLabel extends Single {
 
     unHighLight(...args: any[]): void;
 
-    setText(v: string): void;
-
-    getText(): string;
-
     setStyle(css: any): void;
 }
diff --git a/typescript/base/single/label/label.ts b/typescript/base/single/label/label.ts
index 17212a5c6..89b6f588e 100644
--- a/typescript/base/single/label/label.ts
+++ b/typescript/base/single/label/label.ts
@@ -6,4 +6,6 @@ export interface _Label extends _AbstractLabel {
     unRedMark(...args: any[]): void
 }
 
-export declare class Label extends AbstractLabel {}
+export declare class Label extends AbstractLabel {
+    static xtype: string;
+}
diff --git a/typescript/index.ts b/typescript/index.ts
index 7a89678b3..182e256c8 100644
--- a/typescript/index.ts
+++ b/typescript/index.ts
@@ -11,8 +11,8 @@ import { _Editor, _EditorStatic } from "./base/single/editor/editor";
 import { _Iframe } from "./base/single/iframe/iframe";
 import { _Checkbox, _CheckboxStatic } from "./base/single/input/checkbox";
 import { _Input, _InputStatic } from "./base/single/input/input";
-import { _AbstractLabel } from "./base/single/label/abstract.label";
-import { _Label } from "./base/single/label/label";
+import { _AbstractLabel, AbstractLabel } from "./base/single/label/abstract.label";
+import { _Label, Label } from "./base/single/label/label";
 import { _Single, Single } from "./base/single/single";
 import { _Text } from "./base/single/text";
 import { _Trigger } from "./base/single/trigger/trigger";
@@ -124,4 +124,6 @@ export {
     LeftRightVerticalAdaptLayout,
     IconTextIconItem,
     IconButton,
+    AbstractLabel,
+    Label,
 };