Browse Source

Pull request #1683: 无JIRA任务 加声明

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit '7dc4d754e525c831a31a558329ecb893de7e6c00':
  无JIRA任务 加声明
es6
windy 4 years ago
parent
commit
b4aabd5651
  1. 16
      typescript/case/combo/textvaluecheckcombo/combo.textvaluecheck.ts
  2. 4
      typescript/index.ts
  3. 23
      typescript/widget/numbereditor/numbereditor.ts

16
typescript/case/combo/textvaluecheckcombo/combo.textvaluecheck.ts

@ -0,0 +1,16 @@
import { Widget } from "../../../core/widget";
export declare class TextValueCheckCombo extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
setTitle (v: string): void;
setValue (v: string | number): void;
setWarningTitle(v: string): void;
getValue(): void;
populate(items: any[]): string;
}

4
typescript/index.ts

@ -126,6 +126,8 @@ import { AllCountPager } from "./case/pager/pager.all.count";
import { PopupView } from "./base/layer/layer.popup";
import { BubblePopupView, BubblePopupBarView, TextBubblePopupBarView } from "./case/combo/bubblecombo/popup.bubble";
import { ArrowTreeGroupNodeCheckbox } from "./case/checkbox/check.arrownode";
import { NumberEditor } from "./widget/numbereditor/numbereditor";
import { TextValueCheckCombo } from "./case/combo/textvaluecheckcombo/combo.textvaluecheck";
type ClassConstructor<T extends {}> = T & {
@ -402,4 +404,6 @@ export {
BubblePopupBarView,
TextBubblePopupBarView,
ArrowTreeGroupNodeCheckbox,
TextValueCheckCombo,
NumberEditor
};

23
typescript/widget/numbereditor/numbereditor.ts

@ -0,0 +1,23 @@
import { Widget } from "../../core/widget";
export declare class NumberEditor extends Widget {
static xtype: string;
static EVENT_CONFIRM: string;
static EVENT_CHANGE: string;
focus (): void;
isEditing(): void;
setUpEnable(v: boolean): void;
setDownEnable(v: boolean): void;
getLastValidValue(): string;
getLastChangedValue(): string;
getValue(): string;
setValue(v: string): void;
}
Loading…
Cancel
Save