Browse Source

无JIRA任务 chore: 补充类型

master
youki 4 years ago
parent
commit
d8fb1bde66
  1. 3
      typescript/index.ts
  2. 12
      typescript/widget/datetime/datetime.combo.ts

3
typescript/index.ts

@ -153,6 +153,7 @@ import { TextNode } from "./base/single/button/node/textnode";
import { TextValueCheckComboPopup } from "./case/combo/textvaluecheckcombo/popup.textvaluecheck"; import { TextValueCheckComboPopup } from "./case/combo/textvaluecheckcombo/popup.textvaluecheck";
import { ImageButton } from './base/single/button/buttons/button.image'; import { ImageButton } from './base/single/button/buttons/button.image';
import { History, Router } from "./router/router"; import { History, Router } from "./router/router";
import { DateTimeCombo } from './widget/datetime/datetime.combo';
export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils { 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; ImageButton: typeof ImageButton;
Router: typeof Router; Router: typeof Router;
history: History, history: History,
DateTimeCombo: typeof DateTimeCombo;
} }
export default { export default {
@ -473,4 +475,5 @@ export {
ImageButton, ImageButton,
Router, Router,
History, History,
DateTimeCombo,
}; };

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