diff --git a/typescript/case/button/item.singleselect.radio.ts b/typescript/case/button/item.singleselect.radio.ts new file mode 100644 index 000000000..de0ae3f85 --- /dev/null +++ b/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; +} diff --git a/typescript/index.ts b/typescript/index.ts index e82441f3c..a0b97af80 100644 --- a/typescript/index.ts +++ b/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 & { @@ -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, }; diff --git a/typescript/widget/multitree/multi.tree.popup.ts b/typescript/widget/multitree/multi.tree.popup.ts new file mode 100644 index 000000000..68f8f65a2 --- /dev/null +++ b/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; +} diff --git a/typescript/widget/singleselect/singleselect.combo.ts b/typescript/widget/singleselect/singleselect.combo.ts new file mode 100644 index 000000000..2f2698888 --- /dev/null +++ b/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; +} diff --git a/typescript/widget/singleselect/singleselect.insert.combo.ts b/typescript/widget/singleselect/singleselect.insert.combo.ts new file mode 100644 index 000000000..1924e5e8b --- /dev/null +++ b/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; +}