Browse Source

Pull request #1691: KERNEL-6540 补充类型描述

Merge in VISUAL/fineui from ~YOUKI/fineui:master to master

* commit '348ef5244d29fc3cc00dda1d7f1f2995abf61757':
  KERNEL-6540 refactor: 补充类型描述
es6
Youki 4 years ago
parent
commit
fae0fe22be
  1. 9
      typescript/base/list/listview.ts
  2. 8
      typescript/case/combo/icontextvaluecombo/combo.icontextvalue.ts
  3. 5
      typescript/core/wrapper/layout/middle/middle.float.center.ts
  4. 9
      typescript/index.ts

9
typescript/base/list/listview.ts

@ -0,0 +1,9 @@
import { Widget } from '../../core/widget';
export declare class ListView extends Widget {
static xtype: string;
restore(): void;
populate<T>(items: T[]): void;
}

8
typescript/case/combo/icontextvaluecombo/combo.icontextvalue.ts

@ -0,0 +1,8 @@
import { Widget } from '../../../core/widget';
export declare class IconTextValueCombo extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
populate<T>(items: T[]): void;
}

5
typescript/core/wrapper/layout/middle/middle.float.center.ts

@ -0,0 +1,5 @@
import { Layout } from '../../layout';
export declare class FloatCenterLayout extends Layout {
static xtype: string;
}

9
typescript/index.ts

@ -138,6 +138,9 @@ import { TextValueCheckCombo } from "./case/combo/textvaluecheckcombo/combo.text
import { LinearSegment } from "./case/linersegment/linear.segment";
import { Img } from "./base/single/img/img";
import { EditorIconCheckCombo } from "./case/combo/editoriconcheckcombo/combo.editiconcheck";
import { IconTextValueCombo } from './case/combo/icontextvaluecombo/combo.icontextvalue';
import { ListView } from './base/list/listview';
import { FloatCenterLayout } from './core/wrapper/layout/middle/middle.float.center';
type ClassConstructor<T extends {}> = T & {
@ -290,6 +293,9 @@ export interface BI extends _func, _i18n, _base, _inject, _var {
LinearSegment: typeof LinearSegment;
Img: typeof Img;
EditorIconCheckCombo: typeof EditorIconCheckCombo;
IconTextValueCombo: typeof IconTextValueCombo;
ListView: typeof ListView;
FloatCenterLayout: typeof FloatCenterLayout;
}
export default {
@ -436,4 +442,7 @@ export {
LinearSegment,
Img,
EditorIconCheckCombo,
IconTextValueCombo,
ListView,
FloatCenterLayout,
};

Loading…
Cancel
Save