Browse Source

KERNEL-6569 refactor: 补充类型

es6
youki 4 years ago
parent
commit
877f24490c
  1. 3
      typescript/index.ts
  2. 13
      typescript/widget/yearmonth/popup.yearmonth.ts

3
typescript/index.ts

@ -141,6 +141,7 @@ import { EditorIconCheckCombo } from "./case/combo/editoriconcheckcombo/combo.ed
import { IconTextValueCombo } from './case/combo/icontextvaluecombo/combo.icontextvalue'; import { IconTextValueCombo } from './case/combo/icontextvaluecombo/combo.icontextvalue';
import { ListView } from './base/list/listview'; import { ListView } from './base/list/listview';
import { FloatCenterLayout } from './core/wrapper/layout/middle/middle.float.center'; import { FloatCenterLayout } from './core/wrapper/layout/middle/middle.float.center';
import { DynamicYearMonthPopup } from './widget/yearmonth/popup.yearmonth';
type ClassConstructor<T extends {}> = T & { type ClassConstructor<T extends {}> = T & {
@ -297,6 +298,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var {
IconTextValueCombo: typeof IconTextValueCombo; IconTextValueCombo: typeof IconTextValueCombo;
ListView: typeof ListView; ListView: typeof ListView;
FloatCenterLayout: typeof FloatCenterLayout; FloatCenterLayout: typeof FloatCenterLayout;
DynamicYearMonthPopup: typeof DynamicYearMonthPopup;
} }
export default { export default {
@ -447,4 +449,5 @@ export {
IconTextValueCombo, IconTextValueCombo,
ListView, ListView,
FloatCenterLayout, FloatCenterLayout,
DynamicYearMonthPopup,
}; };

13
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;
}
Loading…
Cancel
Save