Browse Source

KERNEL-6431 补充类型

es6
alan 4 years ago
parent
commit
137f70b2b1
  1. 10
      typescript/case/button/item.singleselect.radio.ts
  2. 12
      typescript/index.ts
  3. 15
      typescript/widget/multitree/multi.tree.popup.ts
  4. 11
      typescript/widget/singleselect/singleselect.combo.ts
  5. 11
      typescript/widget/singleselect/singleselect.insert.combo.ts

10
typescript/case/button/item.singleselect.radio.ts

@ -0,0 +1,10 @@
import { BasicButton } from "../../base/single/button/button.basic";
export declare class SingleSelectRadioItem extends BasicButton {
static xtype: string;
static EVENT_CHANGE: string;
doRedMark(...args: any[]): void;
unRedMark(...args: any[]): void;
}

12
typescript/index.ts

@ -98,6 +98,10 @@ import { ListTreeValueChooserInsertCombo } from "./component/treevaluechooser/co
import { TreeValueChooserCombo } from "./component/treevaluechooser/combo.treevaluechooser";
import { TreeValueChooserInsertCombo } from "./component/treevaluechooser/combo.treevaluechooser.insert";
import { Radio } from "./base/single/input/radio/radio";
import { MultiTreePopup } from "./widget/multitree/multi.tree.popup";
import { SingleSelectRadioItem } from "./case/button/item.singleselect.radio";
import { SingleSelectInsertCombo } from "./widget/singleselect/singleselect.insert.combo";
import { SingleSelectCombo } from "./widget/singleselect/singleselect.combo";
type ClassConstructor<T extends {}> = T & {
@ -209,6 +213,10 @@ export interface BI extends _func, _i18n, _base, _inject {
CenterLayout: typeof CenterLayout;
VirtualGroup: typeof VirtualGroup;
GridLayout: typeof GridLayout;
MultiTreePopup: typeof MultiTreePopup;
SingleSelectRadioItem: typeof SingleSelectRadioItem;
SingleSelectInsertCombo: typeof SingleSelectInsertCombo;
SingleSelectCombo: typeof SingleSelectCombo;
}
export default {
@ -297,4 +305,8 @@ export {
CenterLayout,
VirtualGroup,
GridLayout,
MultiTreePopup,
SingleSelectRadioItem,
SingleSelectInsertCombo,
SingleSelectCombo,
};

15
typescript/widget/multitree/multi.tree.popup.ts

@ -0,0 +1,15 @@
import { Pane } from "../../base/pane";
export declare class MultiTreePopup extends Pane {
static xtype: string;
static EVENT_CHANGE: string;
static EVENT_CLICK_CONFIRM: string;
static EVENT_CLICK_CLEAR: string;
static EVENT_AFTERINIT: string;
hasChecked(): boolean;
resetHeight(h: number): void;
resetWidth(w: number): void;
}

11
typescript/widget/singleselect/singleselect.combo.ts

@ -0,0 +1,11 @@
import { Single } from "../../base/single/single";
export declare class SingleSelectCombo extends Single {
static xtype: string;
static EVENT_BLUR: string;
static EVENT_FOCUS: string;
static EVENT_STOP: string;
static EVENT_SEARCHING: string;
static EVENT_CLICK_ITEM: string;
static EVENT_CONFIRM: string;
}

11
typescript/widget/singleselect/singleselect.insert.combo.ts

@ -0,0 +1,11 @@
import { Single } from "../../base/single/single";
export declare class SingleSelectInsertCombo extends Single {
static xtype: string;
static EVENT_FOCUS: string;
static EVENT_BLUR: string;
static EVENT_STOP: string;
static EVENT_SEARCHING: string;
static EVENT_CLICK_ITEM: string;
static EVENT_CONFIRM: string;
}
Loading…
Cancel
Save