From c6299e3291a51f64faae8f9b4f67a161b3d41ff3 Mon Sep 17 00:00:00 2001 From: iapyang Date: Mon, 14 Dec 2020 15:47:11 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/wrapper/layout/adapt/absolute.center.ts | 5 +++++ typescript/index.ts | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 typescript/core/wrapper/layout/adapt/absolute.center.ts diff --git a/typescript/core/wrapper/layout/adapt/absolute.center.ts b/typescript/core/wrapper/layout/adapt/absolute.center.ts new file mode 100644 index 000000000..44a346ec3 --- /dev/null +++ b/typescript/core/wrapper/layout/adapt/absolute.center.ts @@ -0,0 +1,5 @@ +import { Layout } from "../../layout"; + +export declare class AbsoluteCenterLayout extends Layout { + static xtype: string; +} diff --git a/typescript/index.ts b/typescript/index.ts index 7f3f6bf2a..8d356f7a2 100644 --- a/typescript/index.ts +++ b/typescript/index.ts @@ -64,6 +64,7 @@ import { IconArrowNode } from "./case/button/node/node.icon.arrow"; import { MidTreeLeafItem } from "./case/button/treeitem/item.mid.treeleaf"; import { FirstTreeLeafItem } from "./case/button/treeitem/item.first.treeleaf"; import { LastTreeLeafItem } from "./case/button/treeitem/item.last.treeleaf"; +import { AbsoluteCenterLayout } from "./core/wrapper/layout/adapt/absolute.center"; type ClassConstructor = T & { @@ -128,6 +129,7 @@ export interface BI extends _func, _i18n, _base, _inject { InlineVerticalAdaptLayout: typeof InlineVerticalAdaptLayout; RightVerticalAdaptLayout: typeof RightVerticalAdaptLayout; TableAdaptLayout: typeof TableAdaptLayout; + AbsoluteCenterLayout: typeof AbsoluteCenterLayout; IconButton: typeof IconButton; TextEditor: typeof TextEditor; IconLabel: typeof IconLabel; @@ -157,6 +159,7 @@ export { InlineVerticalAdaptLayout, RightVerticalAdaptLayout, TableAdaptLayout, + AbsoluteCenterLayout, IconButton, AbstractLabel, Label,