diff --git a/typescript/index.ts b/typescript/index.ts index 0e1975103..63a130a14 100644 --- a/typescript/index.ts +++ b/typescript/index.ts @@ -153,6 +153,7 @@ import { TextNode } from "./base/single/button/node/textnode"; import { TextValueCheckComboPopup } from "./case/combo/textvaluecheckcombo/popup.textvaluecheck"; import { ImageButton } from './base/single/button/buttons/button.image'; import { History, Router } from "./router/router"; +import { DateTimeCombo } from './widget/datetime/datetime.combo'; export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils { @@ -312,6 +313,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils { ImageButton: typeof ImageButton; Router: typeof Router; history: History, + DateTimeCombo: typeof DateTimeCombo; } export default { @@ -473,4 +475,5 @@ export { ImageButton, Router, History, + DateTimeCombo, }; diff --git a/typescript/widget/datetime/datetime.combo.ts b/typescript/widget/datetime/datetime.combo.ts new file mode 100644 index 000000000..d7ba465d8 --- /dev/null +++ b/typescript/widget/datetime/datetime.combo.ts @@ -0,0 +1,12 @@ +import { Single } from '../../base/single/single'; + +export declare class DateTimeCombo extends Single { + static xtype: string; + + static EVENT_CANCEL: string; + static EVENT_CONFIRM: string; + static EVENT_CHANGE: string; + static EVENT_BEFORE_POPUPVIEW: string; + + hidePopupView: () => void; +}