diff --git a/typescript/core/wrapper/layout/layout.default.ts b/typescript/core/wrapper/layout/layout.default.ts new file mode 100644 index 0000000000..b8d2f7632f --- /dev/null +++ b/typescript/core/wrapper/layout/layout.default.ts @@ -0,0 +1,7 @@ +import { _Layout } from "../layout"; + +export interface _DefaultLayout extends _Layout { + resize(): void; + + populate(items?: T[]): void; +} diff --git a/typescript/index.ts b/typescript/index.ts index a8a7328a0c..7dfc8d837d 100644 --- a/typescript/index.ts +++ b/typescript/index.ts @@ -43,6 +43,7 @@ import { _Layout } from "./core/wrapper/layout"; import { _AbsoluteLayout } from "./core/wrapper/layout/layout.absolute"; 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"; @@ -97,6 +98,7 @@ export interface BI extends _func, _i18n, _base, _inject { Iframe: ClassConstructor<_Iframe>; AbsoluteLayout: ClassConstructor<_AbsoluteLayout>; VerticalLayout: ClassConstructor<_VerticalLayout>; + DefaultLayout: ClassConstructor<_DefaultLayout>; Input: ClassConstructor<_Input> & _InputStatic; SearchTextValueCombo: ClassConstructor<_SearchTextValueCombo> & _SearchTextValueComboStatic; }