Browse Source

Pull request #1688: KERNEL-6537 补充类型定义

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

* commit '26c2ce3fcd9f64cef5f83dd479356833c968ede0':
  KERNEL-6537 补充类型定义
  KERNEL-6537 补充类型定义
  KERNEL-6537 补充类型定义
es6
alan 4 years ago
parent
commit
b333f8b15d
  1. 8
      typescript/base/single/img/img.ts
  2. 10
      typescript/case/combo/editoriconcheckcombo/combo.editiconcheck.ts
  3. 7
      typescript/case/linersegment/linear.segment.ts
  4. 9
      typescript/index.ts

8
typescript/base/single/img/img.ts

@ -0,0 +1,8 @@
import { Single } from "../single";
export declare class Img extends Single {
static xtype: string;
setSrc(src: string): void;
getSrc(): string;
}

10
typescript/case/combo/editoriconcheckcombo/combo.editiconcheck.ts

@ -0,0 +1,10 @@
import { Widget } from "../../../core/widget";
export declare class EditorIconCheckCombo extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
static EVENT_FOCUS: string;
static EVENT_EMPTY: string;
static EVENT_VALID: string;
static EVENT_ERROR: string;
}

7
typescript/case/linersegment/linear.segment.ts

@ -0,0 +1,7 @@
import { Widget } from "../../core/widget";
export declare class LinearSegment extends Widget {
static xtype: string;
setEnabledValue(v: any): void;
}

9
typescript/index.ts

@ -134,6 +134,9 @@ import { MultiSelectInsertList } from "./widget/multiselectlist/multiselectlist.
import { YearMonthInterval } from "./widget/yearmonthinterval/yearmonthinterval";
import { NumberEditor } from "./widget/numbereditor/numbereditor";
import { TextValueCheckCombo } from "./case/combo/textvaluecheckcombo/combo.textvaluecheck";
import { LinearSegment } from "./case/linersegment/linear.segment";
import { Img } from "./base/single/img/img";
import { EditorIconCheckCombo } from "./case/combo/editoriconcheckcombo/combo.editiconcheck";
type ClassConstructor<T extends {}> = T & {
@ -283,6 +286,9 @@ export interface BI extends _func, _i18n, _base, _inject {
YearMonthInterval: typeof YearMonthInterval;
TextValueCheckCombo: typeof TextValueCheckCombo;
NumberEditor: typeof NumberEditor;
LinearSegment: typeof LinearSegment;
Img: typeof Img;
EditorIconCheckCombo: typeof EditorIconCheckCombo;
}
export default {
@ -426,4 +432,7 @@ export {
YearMonthInterval,
TextValueCheckCombo,
NumberEditor,
LinearSegment,
Img,
EditorIconCheckCombo,
};

Loading…
Cancel
Save