Browse Source

无JIRA refactor(widget/year): ts声明补充

es6
Xavier.Meng 2 years ago
parent
commit
87ce0200b0
  1. 3
      typescript/index.ts
  2. 2
      typescript/widget/year/combo.year.ts
  3. 13
      typescript/widget/year/popup.year.ts

3
typescript/index.ts

@ -145,6 +145,7 @@ 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 { DynamicYearPopup } from "./widget/year/popup.year";
import { IntervalSlider } from "./widget/intervalslider/intervalslider";
import { MultiSelectInsertList } from "./widget/multiselectlist/multiselectlist.insert";
import { YearMonthInterval } from "./widget/yearmonthinterval/yearmonthinterval";
@ -350,6 +351,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
NumberInterval: typeof NumberInterval;
DynamicYearQuarterCombo: typeof DynamicYearQuarterCombo;
DynamicYearCombo: typeof DynamicYearCombo;
DynamicYearPopup: typeof DynamicYearPopup;
IntervalSlider: typeof IntervalSlider;
MultiSelectInsertList: typeof MultiSelectInsertList;
YearMonthInterval: typeof YearMonthInterval;
@ -546,6 +548,7 @@ export {
NumberInterval,
DynamicYearQuarterCombo,
DynamicYearCombo,
DynamicYearPopup,
IntervalSlider,
MultiSelectInsertList,
YearMonthInterval,

2
typescript/widget/year/combo.year.ts

@ -2,6 +2,8 @@ import { Widget } from "../../core/widget";
export declare class DynamicYearCombo extends Widget {
static xtype: string;
static Static: 1;
static Dynamic: 2;
static EVENT_CONFIRM: string;
static EVENT_BEFORE_POPUPVIEW: string;

13
typescript/widget/year/popup.year.ts

@ -0,0 +1,13 @@
import { Widget } from '../../core/widget';
export declare class DynamicYearPopup extends Widget {
static xtype: string;
static BUTTON_CLEAR_EVENT_CHANGE: string;
static BUTTON_lABEL_EVENT_CHANGE: string;
static BUTTON_OK_EVENT_CHANGE: string;
static EVENT_CHANGE: string;
setMinDate(minDate?: string): void;
setMaxDate(maxDate?: string): void;
}
Loading…
Cancel
Save