From 5a2b81241be9c8093031106b1d11f52b13c32089 Mon Sep 17 00:00:00 2001 From: "Jimmy.Chai" Date: Wed, 7 Apr 2021 22:41:47 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-7263=20refactor=EF=BC=9A=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=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/layout.adaptive.ts | 5 +++++ typescript/index.ts | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 typescript/core/wrapper/layout/layout.adaptive.ts diff --git a/typescript/core/wrapper/layout/layout.adaptive.ts b/typescript/core/wrapper/layout/layout.adaptive.ts new file mode 100644 index 0000000000..ca2af65c1b --- /dev/null +++ b/typescript/core/wrapper/layout/layout.adaptive.ts @@ -0,0 +1,5 @@ +import { Layout } from "../layout"; + +export declare class AdaptiveLayout extends Layout { + static xtype: string; +} diff --git a/typescript/index.ts b/typescript/index.ts index 2e1aa87044..454beb3f82 100644 --- a/typescript/index.ts +++ b/typescript/index.ts @@ -155,6 +155,7 @@ import { ImageButton } from './base/single/button/buttons/button.image'; import { History, Router } from "./router/router"; import { DateTimeCombo } from './widget/datetime/datetime.combo'; import { FloatHorizontalLayout } from "./core/wrapper/layout/adapt/float.horizontal"; +import { AdaptiveLayout } from "./core/wrapper/layout/layout.adaptive"; export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils { @@ -316,6 +317,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils { history: History, DateTimeCombo: typeof DateTimeCombo; FloatHorizontalLayout: typeof FloatHorizontalLayout; + AdaptiveLayout: typeof AdaptiveLayout; } export default { @@ -479,4 +481,5 @@ export { History, DateTimeCombo, FloatHorizontalLayout, + AdaptiveLayout, };