diff --git a/typescript/index.ts b/typescript/index.ts index 3aaca1ead..a1b9831c9 100644 --- a/typescript/index.ts +++ b/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, diff --git a/typescript/widget/year/combo.year.ts b/typescript/widget/year/combo.year.ts index 809dc6c69..2bc7394f1 100644 --- a/typescript/widget/year/combo.year.ts +++ b/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; diff --git a/typescript/widget/year/popup.year.ts b/typescript/widget/year/popup.year.ts new file mode 100644 index 000000000..16d61dc22 --- /dev/null +++ b/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; +}