From 877f24490c43168fa382fe604972388fb4a879a5 Mon Sep 17 00:00:00 2001 From: youki Date: Thu, 24 Dec 2020 10:16:51 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-6569=20refactor:=20=E8=A1=A5=E5=85=85?= =?UTF-8?q?=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/yearmonth/popup.yearmonth.ts | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 typescript/widget/yearmonth/popup.yearmonth.ts diff --git a/typescript/index.ts b/typescript/index.ts index cb8f6436d..30730d025 100644 --- a/typescript/index.ts +++ b/typescript/index.ts @@ -141,6 +141,7 @@ import { EditorIconCheckCombo } from "./case/combo/editoriconcheckcombo/combo.ed import { IconTextValueCombo } from './case/combo/icontextvaluecombo/combo.icontextvalue'; import { ListView } from './base/list/listview'; import { FloatCenterLayout } from './core/wrapper/layout/middle/middle.float.center'; +import { DynamicYearMonthPopup } from './widget/yearmonth/popup.yearmonth'; type ClassConstructor = T & { @@ -297,6 +298,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var { IconTextValueCombo: typeof IconTextValueCombo; ListView: typeof ListView; FloatCenterLayout: typeof FloatCenterLayout; + DynamicYearMonthPopup: typeof DynamicYearMonthPopup; } export default { @@ -447,4 +449,5 @@ export { IconTextValueCombo, ListView, FloatCenterLayout, + DynamicYearMonthPopup, }; diff --git a/typescript/widget/yearmonth/popup.yearmonth.ts b/typescript/widget/yearmonth/popup.yearmonth.ts new file mode 100644 index 000000000..5f2400a6f --- /dev/null +++ b/typescript/widget/yearmonth/popup.yearmonth.ts @@ -0,0 +1,13 @@ +import { Widget } from '../../core/widget'; + +export declare class DynamicYearMonthPopup 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; +}