From 24b175c6be70a56dc9113b7c1fa521ab43ccfb94 Mon Sep 17 00:00:00 2001 From: alan Date: Mon, 21 Dec 2020 16:31:25 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-6537=20=E8=A1=A5=E5=85=85=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/wrapper/layout/layout.flow.ts | 4 ++++ typescript/index.ts | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/typescript/core/wrapper/layout/layout.flow.ts b/typescript/core/wrapper/layout/layout.flow.ts index ce77aebfa..9221415ed 100644 --- a/typescript/core/wrapper/layout/layout.flow.ts +++ b/typescript/core/wrapper/layout/layout.flow.ts @@ -3,3 +3,7 @@ import { Layout } from "../layout"; export declare class FloatLeftLayout extends Layout { static xtype: string; } + +export declare class FloatRightLayout extends Layout { + static xtype: string; +} diff --git a/typescript/index.ts b/typescript/index.ts index 3f5b79a06..cb8f6436d 100644 --- a/typescript/index.ts +++ b/typescript/index.ts @@ -69,7 +69,7 @@ import { SmallTextEditor } from "./widget/editor/editor.text.small"; import { MultifileEditor } from "./widget/editor/editor.multifile"; import { AbsoluteCenterLayout } from "./core/wrapper/layout/adapt/absolute.center"; import { HorizontalAdaptLayout } from "./core/wrapper/layout/adapt/adapt.horizontal"; -import { FloatLeftLayout } from "./core/wrapper/layout/layout.flow"; +import { FloatLeftLayout, FloatRightLayout } from "./core/wrapper/layout/layout.flow"; import { CenterAdaptLayout } from "./core/wrapper/layout/adapt/adapt.center"; import { VerticalAdaptLayout } from "./core/wrapper/layout/adapt/adapt.vertical"; import { MultiSelectInsertCombo } from "./widget/multiselect/multiselect.insert.combo"; @@ -221,6 +221,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var { AbsoluteCenterLayout: typeof AbsoluteCenterLayout; HorizontalAdaptLayout: typeof HorizontalAdaptLayout; FloatLeftLayout: typeof FloatLeftLayout; + FloatRightLayout: typeof FloatRightLayout; CenterAdaptLayout: typeof CenterAdaptLayout; VerticalAdaptLayout: typeof VerticalAdaptLayout; IconButton: typeof IconButton; @@ -323,6 +324,7 @@ export { AbsoluteCenterLayout, HorizontalAdaptLayout, FloatLeftLayout, + FloatRightLayout, VerticalLayout, AbsoluteLayout, DefaultLayout,