Browse Source

Pull request #1687: KERNEL-6533 refactor: 补充描述

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

* commit '5e898b556eb5d5c12bf13ce8511926fed228f081':
  KERNEL-6533 refactor: 补充描述
es6
Kira 4 years ago
parent
commit
8c15941b64
  1. 20
      typescript/index.ts
  2. 22
      typescript/widget/intervalslider/intervalslider.ts
  3. 12
      typescript/widget/multiselectlist/multiselectlist.insert.ts
  4. 27
      typescript/widget/numberinterval/numberinterval.ts
  5. 7
      typescript/widget/year/combo.year.ts
  6. 14
      typescript/widget/yearmonthinterval/yearmonthinterval.ts
  7. 7
      typescript/widget/yearquarter/combo.yearquarter.ts

20
typescript/index.ts

@ -126,6 +126,12 @@ import { AllCountPager } from "./case/pager/pager.all.count";
import { PopupView } from "./base/layer/layer.popup"; import { PopupView } from "./base/layer/layer.popup";
import { BubblePopupView, BubblePopupBarView, TextBubblePopupBarView } from "./case/combo/bubblecombo/popup.bubble"; import { BubblePopupView, BubblePopupBarView, TextBubblePopupBarView } from "./case/combo/bubblecombo/popup.bubble";
import { ArrowTreeGroupNodeCheckbox } from "./case/checkbox/check.arrownode"; import { ArrowTreeGroupNodeCheckbox } from "./case/checkbox/check.arrownode";
import { NumberInterval } from "./widget/numberinterval/numberinterval";
import { DynamicYearQuarterCombo } from "./widget/yearquarter/combo.yearquarter";
import { DynamicYearCombo } from "./widget/year/combo.year";
import { IntervalSlider } from "./widget/intervalslider/intervalslider";
import { MultiSelectInsertList } from "./widget/multiselectlist/multiselectlist.insert";
import { YearMonthInterval } from "./widget/yearmonthinterval/yearmonthinterval";
import { NumberEditor } from "./widget/numbereditor/numbereditor"; import { NumberEditor } from "./widget/numbereditor/numbereditor";
import { TextValueCheckCombo } from "./case/combo/textvaluecheckcombo/combo.textvaluecheck"; import { TextValueCheckCombo } from "./case/combo/textvaluecheckcombo/combo.textvaluecheck";
@ -269,8 +275,14 @@ export interface BI extends _func, _i18n, _base, _inject {
BubblePopupBarView: typeof BubblePopupBarView; BubblePopupBarView: typeof BubblePopupBarView;
TextBubblePopupBarView: typeof TextBubblePopupBarView; TextBubblePopupBarView: typeof TextBubblePopupBarView;
ArrowTreeGroupNodeCheckbox: typeof ArrowTreeGroupNodeCheckbox; ArrowTreeGroupNodeCheckbox: typeof ArrowTreeGroupNodeCheckbox;
NumberInterval: typeof NumberInterval;
DynamicYearQuarterCombo: typeof DynamicYearQuarterCombo;
DynamicYearCombo: typeof DynamicYearCombo;
IntervalSlider: typeof IntervalSlider;
MultiSelectInsertList: typeof MultiSelectInsertList;
YearMonthInterval: typeof YearMonthInterval;
TextValueCheckCombo: typeof TextValueCheckCombo; TextValueCheckCombo: typeof TextValueCheckCombo;
NumberEditor: typeof NumberEditor, NumberEditor: typeof NumberEditor;
} }
export default { export default {
@ -406,6 +418,12 @@ export {
BubblePopupBarView, BubblePopupBarView,
TextBubblePopupBarView, TextBubblePopupBarView,
ArrowTreeGroupNodeCheckbox, ArrowTreeGroupNodeCheckbox,
NumberInterval,
DynamicYearQuarterCombo,
DynamicYearCombo,
IntervalSlider,
MultiSelectInsertList,
YearMonthInterval,
TextValueCheckCombo, TextValueCheckCombo,
NumberEditor, NumberEditor,
}; };

22
typescript/widget/intervalslider/intervalslider.ts

@ -0,0 +1,22 @@
import { Single } from '../../base/single/single';
export declare class IntervalSlider extends Single {
static xtype: string;
static EVENT_CHANGE: string;
max: number;
min: number;
getValue(): {
min: number;
max: number;
}
setMinAndMax(v: {
min: number;
max: number;
}): void;
reset(): void
}

12
typescript/widget/multiselectlist/multiselectlist.insert.ts

@ -0,0 +1,12 @@
import { Single } from '../../base/single/single';
export declare class MultiSelectInsertList extends Single {
static xtype: string;
static REQ_GET_DATA_LENGTH: 1;
static REQ_GET_ALL_DATA: -1;
static EVENT_CHANGE: string;
isAllSelected(): boolean;
resize(): void;
}

27
typescript/widget/numberinterval/numberinterval.ts

@ -0,0 +1,27 @@
import { Single } from '../../base/single/single';
export declare class NumberInterval extends Single {
static xtype: string;
static EVENT_CHANGE: string;
static EVENT_CONFIRM: string;
static EVENT_VALID: string;
static EVENT_ERROR: string;
isStateValid(): boolean;
setMinEnable(v: boolean): void;
setCloseMinEnable(v: boolean): void;
setMaxEnable(v: boolean): void;
setCloseMaxEnable(v: boolean): void;
showNumTip(): void;
hideNumTip(): void;
setNumTip(v: string): void;
getNumTip(): void;
}

7
typescript/widget/year/combo.year.ts

@ -0,0 +1,7 @@
import { Widget } from "../../core/widget";
export declare class DynamicYearCombo extends Widget {
static xtype: string;
static EVENT_CONFIRM: string;
static EVENT_BEFORE_POPUPVIEW: string;
}

14
typescript/widget/yearmonthinterval/yearmonthinterval.ts

@ -0,0 +1,14 @@
import { Single } from '../../base/single/single';
export declare class YearMonthInterval extends Single {
static xtype: string;
static EVENT_VALID: string;
static EVENT_ERROR: string;
static EVENT_CHANGE: string;
static EVENT_BEFORE_POPUPVIEW: string;
getValue(): {
start: number;
end: number;
};
}

7
typescript/widget/yearquarter/combo.yearquarter.ts

@ -0,0 +1,7 @@
import { Widget } from "../../core/widget";
export declare class DynamicYearQuarterCombo extends Widget {
static xtype: string;
static EVENT_CONFIRM: string;
static EVENT_BEFORE_POPUPVIEW: string;
}
Loading…
Cancel
Save