From d8fb1bde66817830b29994ad7cba730d6c048e90 Mon Sep 17 00:00:00 2001 From: youki Date: Mon, 15 Mar 2021 09:40:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20chore:=20?= =?UTF-8?q?=E8=A1=A5=E5=85=85=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/index.ts | 3 +++ typescript/widget/datetime/datetime.combo.ts | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 typescript/widget/datetime/datetime.combo.ts diff --git a/typescript/index.ts b/typescript/index.ts index 0e1975103a..63a130a149 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 0000000000..d7ba465d86 --- /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; +}