From a83aeb8d4897a30dd013014405690e7e1c6ab944 Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 11 Dec 2020 10:48:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/wrapper/layout/adapt/adapt.leftvertical.ts | 7 +++++++ typescript/index.ts | 2 ++ 2 files changed, 9 insertions(+) create mode 100644 typescript/core/wrapper/layout/adapt/adapt.leftvertical.ts diff --git a/typescript/core/wrapper/layout/adapt/adapt.leftvertical.ts b/typescript/core/wrapper/layout/adapt/adapt.leftvertical.ts new file mode 100644 index 000000000..db19c9142 --- /dev/null +++ b/typescript/core/wrapper/layout/adapt/adapt.leftvertical.ts @@ -0,0 +1,7 @@ +import { _Layout } from "../../layout"; + +export interface _LeftVerticalAdapt extends _Layout { + resize(): void; + + populate(items?: T[]): void; +} diff --git a/typescript/index.ts b/typescript/index.ts index 7dfc8d837..c1fb575b4 100644 --- a/typescript/index.ts +++ b/typescript/index.ts @@ -45,6 +45,7 @@ import { _HTapeLayout, _VTapeLayout } from "./core/wrapper/layout/layout.tape"; import { _VerticalLayout } from "./core/wrapper/layout/layout.vertical"; import { _DefaultLayout } from "./core/wrapper/layout/layout.default"; import { _DownListCombo, _DownListComboStatic } from "./widget/downlist/combo.downlist"; +import { _LeftVerticalAdapt } from "./core/wrapper/layout/adapt/adapt.leftvertical"; type ClassConstructor = T & { @@ -101,6 +102,7 @@ export interface BI extends _func, _i18n, _base, _inject { DefaultLayout: ClassConstructor<_DefaultLayout>; Input: ClassConstructor<_Input> & _InputStatic; SearchTextValueCombo: ClassConstructor<_SearchTextValueCombo> & _SearchTextValueComboStatic; + LeftVerticalAdaptLayout: ClassConstructor<_LeftVerticalAdapt>; } export default {