Browse Source

Revert "refactor: 改为class形式"

This reverts commit d27b4999c2.
es6
iapyang 5 years ago
parent
commit
54ebed8a77
  1. 24
      typescript/base/combination/combo.ts
  2. 21
      typescript/base/combination/group.button.ts
  3. 8
      typescript/base/combination/tab.ts
  4. 8
      typescript/base/pane.ts
  5. 10
      typescript/base/single/button/button.basic.ts
  6. 8
      typescript/base/single/button/buttons/button.text.ts
  7. 8
      typescript/base/single/button/buttons/button.ts
  8. 8
      typescript/base/single/button/listitem/icontextitem.ts
  9. 42
      typescript/base/single/editor/editor.ts
  10. 8
      typescript/base/single/input/checkbox.ts
  11. 4
      typescript/base/single/label/abstract.label.ts
  12. 4
      typescript/base/single/label/label.ts
  13. 4
      typescript/base/single/single.ts
  14. 4
      typescript/base/single/text.ts
  15. 6
      typescript/base/single/trigger/trigger.ts
  16. 8
      typescript/case/button/icon/icon.change.ts
  17. 8
      typescript/case/button/item.multiselect.ts
  18. 24
      typescript/case/combo/bubblecombo/combo.bubble.ts
  19. 8
      typescript/case/combo/combo.textvalue.ts
  20. 4
      typescript/case/editor/editor.sign.ts
  21. 4
      typescript/case/loading/loading_pane.ts
  22. 8
      typescript/component/allvaluemultitextvaluecombo/allvalue.multitextvalue.combo.ts
  23. 6
      typescript/core/action/action.show.ts
  24. 10
      typescript/core/action/action.ts
  25. 4
      typescript/core/base.ts
  26. 6
      typescript/core/behavior/behavior.highlight.ts
  27. 6
      typescript/core/behavior/behavior.redmark.ts
  28. 10
      typescript/core/behavior/behavior.ts
  29. 2
      typescript/core/i18n.ts
  30. 4
      typescript/core/ob.ts
  31. 28
      typescript/core/widget.ts
  32. 4
      typescript/core/wrapper/layout.ts
  33. 6
      typescript/core/wrapper/layout/layout.tape.ts
  34. 136
      typescript/index.ts

24
typescript/base/combination/combo.ts

@ -1,6 +1,6 @@
import { Widget } from "../../core/widget"; import { _Widget } from "../../core/widget";
export declare class Combo extends Widget { export interface _Combo extends _Widget {
populate(items: any): void; populate(items: any): void;
_setEnable(v: boolean): void; _setEnable(v: boolean): void;
@ -16,14 +16,16 @@ export declare class Combo extends Widget {
getPopupPosition(): any; getPopupPosition(): any;
toggle(): void; toggle(): void;
}
static EVENT_TRIGGER_CHANGE: string; export interface _ComboStatic {
static EVENT_CHANGE: string; EVENT_TRIGGER_CHANGE: string;
static EVENT_EXPAND: string; EVENT_CHANGE: string;
static EVENT_COLLAPSE: string; EVENT_EXPAND: string;
static EVENT_AFTER_INIT: string; EVENT_COLLAPSE: string;
static EVENT_BEFORE_POPUPVIEW: string; EVENT_AFTER_INIT: string;
static EVENT_AFTER_POPUPVIEW: string; EVENT_BEFORE_POPUPVIEW: string;
static EVENT_BEFORE_HIDEVIEW: string; EVENT_AFTER_POPUPVIEW: string;
static EVENT_AFTER_HIDEVIEW: string; EVENT_BEFORE_HIDEVIEW: string;
EVENT_AFTER_HIDEVIEW: string;
} }

21
typescript/base/combination/group.button.ts

@ -1,6 +1,6 @@
import { Widget } from "../../core/widget"; import { _Widget } from "../../core/widget";
export declare class ButtonGroup extends Widget { export interface _ButtonGroup extends _Widget {
prependItems<T>(items: T[]): void; prependItems<T>(items: T[]): void;
addItems<T>(items: T[]): void; addItems<T>(items: T[]): void;
@ -32,11 +32,16 @@ export declare class ButtonGroup extends Widget {
getNodeByValue(value: any): any; getNodeByValue(value: any): any;
getValue<T>(): T[]; getValue<T>(): T[];
}
export interface _ButtonGroupChooseType {
CHOOSE_TYPE_SINGLE: number;
CHOOSE_TYPE_MULTI: number;
CHOOSE_TYPE_ALL: number;
CHOOSE_TYPE_NONE: number;
CHOOSE_TYPE_DEFAULT: number;
}
static CHOOSE_TYPE_SINGLE: number; export interface _ButtonGroupStatic {
static CHOOSE_TYPE_MULTI: number; EVENT_CHANGE: string;
static CHOOSE_TYPE_ALL: number;
static CHOOSE_TYPE_NONE: number;
static CHOOSE_TYPE_DEFAULT: number;
static EVENT_CHANGE: string;
} }

8
typescript/base/combination/tab.ts

@ -1,6 +1,6 @@
import { Widget } from "../../core/widget"; import { _Widget } from "../../core/widget";
export declare class Tab extends Widget { export interface _Tab extends _Widget {
setSelect(v: string | number): void; setSelect(v: string | number): void;
removeTab(v: string | number): void; removeTab(v: string | number): void;
@ -12,6 +12,8 @@ export declare class Tab extends Widget {
getTab(v: string | number): any; getTab(v: string | number): any;
populate(): void; populate(): void;
}
static EVENT_CHANGE: string; export interface _TabStatic {
EVENT_CHANGE: string;
} }

8
typescript/base/pane.ts

@ -1,10 +1,12 @@
import { Widget } from "../core/widget"; import { _Widget } from "../core/widget";
export declare class Pane extends Widget { export interface _Pane extends _Widget {
_assertTip: (..._args: any[]) => void; _assertTip: (..._args: any[]) => void;
loading: (..._args: any[]) => void; loading: (..._args: any[]) => void;
loaded: (..._args: any[]) => void; loaded: (..._args: any[]) => void;
check: (..._args: any[]) => void; check: (..._args: any[]) => void;
}
static EVENT_LOADED: string; export interface _PaneStatic {
EVENT_LOADED: string;
} }

10
typescript/base/single/button/button.basic.ts

@ -1,6 +1,6 @@
import { Single } from "../single"; import { _Single } from "../single";
export declare class BasicButton extends Single { export interface _BasicButton extends _Single {
_createShadow(): void; _createShadow(): void;
bindEvent(): void; bindEvent(): void;
@ -13,7 +13,7 @@ export declare class BasicButton extends Single {
doClick(): void; doClick(): void;
handle(): BasicButton; handle(): _BasicButton;
hover(): void; hover(): void;
@ -34,6 +34,8 @@ export declare class BasicButton extends Single {
setText(v: string): void; setText(v: string): void;
getText(): string; getText(): string;
}
static EVENT_CHANGE: string; export interface _BasicButtonStatic {
EVENT_CHANGE: string;
} }

8
typescript/base/single/button/buttons/button.text.ts

@ -1,6 +1,6 @@
import { BasicButton } from "../button.basic"; import { _BasicButton } from "../button.basic";
export declare class TextButton extends BasicButton { export interface _TextButton extends _BasicButton {
setStyle(style: any): void; setStyle(style: any): void;
doRedMark(...args: any[]): void; doRedMark(...args: any[]): void;
@ -10,6 +10,8 @@ export declare class TextButton extends BasicButton {
doHighLight(...args: any[]): void; doHighLight(...args: any[]): void;
unHighLight(...args: any[]): void; unHighLight(...args: any[]): void;
}
static EVENT_CHANGE: string; export interface _TextButtonStatic {
EVENT_CHANGE: string;
} }

8
typescript/base/single/button/buttons/button.ts

@ -1,6 +1,6 @@
import { BasicButton } from "../button.basic"; import { _BasicButton } from "../button.basic";
export declare class Button extends BasicButton { export interface _Button extends _BasicButton {
doRedMark(...args: any[]): void; doRedMark(...args: any[]): void;
unRedMark(...args: any[]): void; unRedMark(...args: any[]): void;
@ -8,6 +8,8 @@ export declare class Button extends BasicButton {
doHighLight(...args: any[]): void; doHighLight(...args: any[]): void;
unHighLight(...args: any[]): void; unHighLight(...args: any[]): void;
}
static EVENT_CHANGE: string; export interface _ButtonStatic {
EVENT_CHANGE: string;
} }

8
typescript/base/single/button/listitem/icontextitem.ts

@ -1,6 +1,6 @@
import { BasicButton } from "../button.basic"; import { _BasicButton } from "../button.basic";
export declare class IconTextItem extends BasicButton { export interface _IconTextItem extends _BasicButton {
doRedMark(...args: any[]): void; doRedMark(...args: any[]): void;
unRedMark(...args: any[]): void; unRedMark(...args: any[]): void;
@ -8,6 +8,8 @@ export declare class IconTextItem extends BasicButton {
doHighLight(...args: any[]): void; doHighLight(...args: any[]): void;
unHighLight(...args: any[]): void; unHighLight(...args: any[]): void;
}
static EVENT_CHANGE: string; export interface _IconTextItemStatic {
EVENT_CHANGE: string;
} }

42
typescript/base/single/editor/editor.ts

@ -1,6 +1,6 @@
import { Single } from "../single"; import { _Single } from "../single";
export declare class Editor extends Single { export interface _Editor extends _Single {
setErrorText(v: string): void; setErrorText(v: string): void;
getErrorText(): string; getErrorText(): string;
@ -32,23 +32,25 @@ export declare class Editor extends Single {
isEditing(): boolean; isEditing(): boolean;
isValid(): boolean; isValid(): boolean;
}
static EVENT_CHANGE: string; export interface _EditorStatic {
static EVENT_FOCUS: string; EVENT_CHANGE: string;
static EVENT_BLUR: string; EVENT_FOCUS: string;
static EVENT_CLICK: string; EVENT_BLUR: string;
static EVENT_KEY_DOWN: string; EVENT_CLICK: string;
static EVENT_SPACE: string; EVENT_KEY_DOWN: string;
static EVENT_BACKSPACE: string; EVENT_SPACE: string;
static EVENT_START: string; EVENT_BACKSPACE: string;
static EVENT_PAUSE: string; EVENT_START: string;
static EVENT_STOP: string; EVENT_PAUSE: string;
static EVENT_CONFIRM: string; EVENT_STOP: string;
static EVENT_CHANGE_CONFIRM: string; EVENT_CONFIRM: string;
static EVENT_VALID: string; EVENT_CHANGE_CONFIRM: string;
static EVENT_ERROR: string; EVENT_VALID: string;
static EVENT_ENTER: string; EVENT_ERROR: string;
static EVENT_RESTRICT: string; EVENT_ENTER: string;
static EVENT_REMOVE: string; EVENT_RESTRICT: string;
static EVENT_EMPTY: string; EVENT_REMOVE: string;
EVENT_EMPTY: string;
} }

8
typescript/base/single/input/checkbox.ts

@ -1,7 +1,9 @@
import { BasicButton } from "../button/button.basic"; import { _BasicButton } from "../button/button.basic";
export declare class Checkbox extends BasicButton { export interface _Checkbox extends _BasicButton {
_setEnable(enable: boolean): void; _setEnable(enable: boolean): void;
}
static EVENT_CHANGE: string; export interface _CheckboxStatic {
EVENT_CHANGE: string;
} }

4
typescript/base/single/label/abstract.label.ts

@ -1,6 +1,6 @@
import { Single } from "../single"; import { _Single } from "../single";
export declare class AbstractLabel extends Single { export interface _AbstractLabel extends _Single {
doRedMark(...args: any[]): void; doRedMark(...args: any[]): void;
unRedMark(...args: any[]): void; unRedMark(...args: any[]): void;

4
typescript/base/single/label/label.ts

@ -1,6 +1,6 @@
import { AbstractLabel } from "./abstract.label"; import { _AbstractLabel } from "./abstract.label";
export declare class Label extends AbstractLabel { export interface _Label extends _AbstractLabel {
doRedMark(...args: any[]): void; doRedMark(...args: any[]): void;
unRedMark(...args: any[]): void unRedMark(...args: any[]): void

4
typescript/base/single/single.ts

@ -1,6 +1,6 @@
import { Widget } from "../../core/widget"; import { _Widget } from "../../core/widget";
export declare class Single extends Widget { export interface _Single extends _Widget {
_showToolTip(e: Event, opt?: SingleOpt): void; _showToolTip(e: Event, opt?: SingleOpt): void;
_hideTooltip(): void; _hideTooltip(): void;

4
typescript/base/single/text.ts

@ -1,6 +1,6 @@
import { Single } from "./single"; import { _Single } from "./single";
export declare class Text extends Single { export interface _Text extends _Single {
doRedMark(keyword: string): void; doRedMark(keyword: string): void;
unRedMark(): void; unRedMark(): void;

6
typescript/base/single/trigger/trigger.ts

@ -1,7 +1,7 @@
import { Single } from "../single"; import { _Single } from "../single";
export declare class Trigger extends Single { export interface _Trigger extends _Single {
setKey(..._args: any[]): void; setKey(..._args: any[]): void;
getKey(): string; getKey(): string;
} }

8
typescript/case/button/icon/icon.change.ts

@ -1,11 +1,13 @@
import { Single } from "../../../base/single/single"; import { _Single } from "../../../base/single/single";
export declare class IconChangeButton extends Single { export interface _IconChangeButton extends _Single {
isSelected(): boolean; isSelected(): boolean;
setSelected(v: boolean): void; setSelected(v: boolean): void;
setIcon(cls: string): void; setIcon(cls: string): void;
}
static EVENT_CHANGE: string; export interface _IconChangeButtonStatic {
EVENT_CHANGE: string;
} }

8
typescript/case/button/item.multiselect.ts

@ -1,6 +1,6 @@
import { BasicButton } from "../../base/single/button/button.basic"; import { _BasicButton } from "../../base/single/button/button.basic";
export declare class MultiSelectItem extends BasicButton { export interface _MultiSelectItem extends _BasicButton {
doClick(...args: any[]): void; doClick(...args: any[]): void;
doRedMark(...args: any[]): void; doRedMark(...args: any[]): void;
@ -8,6 +8,8 @@ export declare class MultiSelectItem extends BasicButton {
unRedMark(...args: any[]): void; unRedMark(...args: any[]): void;
setSelected(v: boolean): void; setSelected(v: boolean): void;
}
static EVENT_CHANGE: string; export interface _MultiSelectItemStatic {
EVENT_CHANGE: string;
} }

24
typescript/case/combo/bubblecombo/combo.bubble.ts

@ -1,19 +1,21 @@
import { Widget } from "../../../core/widget"; import { _Widget } from "../../../core/widget";
export declare class BubbleCombo extends Widget { export interface _BubbleCombo extends _Widget {
hideView(): void; hideView(): void;
showView(): void; showView(): void;
isViewVisible(): boolean; isViewVisible(): boolean;
}
static EVENT_TRIGGER_CHANGE: string; export interface _BubbleComboStatic {
static EVENT_CHANGE: string; EVENT_TRIGGER_CHANGE: string;
static EVENT_EXPAND: string; EVENT_CHANGE: string;
static EVENT_COLLAPSE: string; EVENT_EXPAND: string;
static EVENT_AFTER_INIT: string; EVENT_COLLAPSE: string;
static EVENT_BEFORE_POPUPVIEW: string; EVENT_AFTER_INIT: string;
static EVENT_AFTER_POPUPVIEW: string; EVENT_BEFORE_POPUPVIEW: string;
static EVENT_BEFORE_HIDEVIEW: string; EVENT_AFTER_POPUPVIEW: string;
static EVENT_AFTER_HIDEVIEW: string; EVENT_BEFORE_HIDEVIEW: string;
EVENT_AFTER_HIDEVIEW: string;
} }

8
typescript/case/combo/combo.textvalue.ts

@ -1,7 +1,9 @@
import { Widget } from "../../core/widget"; import { _Widget } from "../../core/widget";
export declare class TextValueCombo extends Widget { export interface _TextValueCombo extends _Widget {
populate(items: any): void; populate(items: any): void;
}
static EVENT_CHANGE: string; export interface _TextValueComboStatic {
EVENT_CHANGE: string;
} }

4
typescript/case/editor/editor.sign.ts

@ -1,6 +1,6 @@
import { Widget } from "../../core/widget"; import { _Widget } from "../../core/widget";
export declare class SignEditor extends Widget { export interface _SignEditor extends _Widget {
setTitle(v: string | Function): void; setTitle(v: string | Function): void;
setWarningTitle(v: string | Function): void; setWarningTitle(v: string | Function): void;

4
typescript/case/loading/loading_pane.ts

@ -1,5 +1,5 @@
import { Pane } from "../../base/pane"; import { _Pane } from "../../base/pane";
export declare class LoadingPane extends Pane { export interface _LoadingPane extends _Pane {
__loaded: (...args: any[]) => void; __loaded: (...args: any[]) => void;
} }

8
typescript/component/allvaluemultitextvaluecombo/allvalue.multitextvalue.combo.ts

@ -1,9 +1,11 @@
import { Widget } from "../../core/widget"; import { _Widget } from "../../core/widget";
export declare class AllValueMultiTextValueCombo extends Widget { export interface _AllValueMultiTextValueCombo extends _Widget {
getValue<T>(): T[]; getValue<T>(): T[];
populate(items: any): void; populate(items: any): void;
}
static EVENT_CONFIRM: string; export interface _AllValueMultiTextValueComboStatic {
EVENT_CONFIRM: string;
} }

6
typescript/core/action/action.show.ts

@ -1,5 +1,5 @@
import { Action } from "./action"; import { _Action } from "./action";
export declare class ShowAction extends Action { export interface _ShowAction extends _Action {
} }

10
typescript/core/action/action.ts

@ -1,11 +1,11 @@
import { OB } from "../ob"; import { _OB } from "../ob";
export declare class Action extends OB { export interface _Action extends _OB {
actionPerformed(src: any, tar: any, callback: Function): void; actionPerformed(src: any, tar: any, callback: Function): void;
actionBack(tar: any, src: any, callback: Function): void; actionBack(tar: any, src: any, callback: Function): void;
} }
export declare class ActionFactory { export interface _ActionFactory {
createAction(key: string, options: any): Action; createAction(key: string, options: any): _Action;
} }

4
typescript/core/base.ts

@ -1,4 +1,4 @@
import { Widget } from "./widget"; import { _Widget } from "./widget";
export interface _base { export interface _base {
assert: (v: any, is: Function) => Boolean assert: (v: any, is: Function) => Boolean
@ -7,7 +7,7 @@ export interface _base {
UUID: () => string; UUID: () => string;
isWidget: (widget: any) => widget is Widget; isWidget: (widget: any) => widget is _Widget;
createWidgets: (items: any, options: any, context: any) => any; createWidgets: (items: any, options: any, context: any) => any;

6
typescript/core/behavior/behavior.highlight.ts

@ -1,4 +1,4 @@
import { Behavior } from "./behavior"; import { _Behavior } from "./behavior";
export declare class HighlightBehavior extends Behavior { export interface _HighlightBehavior extends _Behavior {
} }

6
typescript/core/behavior/behavior.redmark.ts

@ -1,4 +1,4 @@
import { Behavior } from "./behavior"; import { _Behavior } from "./behavior";
export declare class RedMarkBehavior extends Behavior { export interface _RedMarkBehavior extends _Behavior {
} }

10
typescript/core/behavior/behavior.ts

@ -1,9 +1,9 @@
import { OB } from "../ob"; import { _OB } from "../ob";
export declare class Behavior extends OB { export interface _Behavior extends _OB {
doBehavior(items: any[]): void; doBehavior(items: any[]): void;
} }
export declare class BehaviorFactory { export interface _BehaviorFactory {
createBehavior(key: string, options: any): Behavior; createBehavior(key: string, options: any): _Behavior;
} }

2
typescript/core/i18n.ts

@ -5,4 +5,4 @@ export type _i18nText = (key: string, ..._args: any[]) => string;
export type _i18n = { export type _i18n = {
addI18n: _addI18n; addI18n: _addI18n;
i18nText: _i18nText; i18nText: _i18nText;
} }

4
typescript/core/ob.ts

@ -1,4 +1,4 @@
export declare class OB { export interface _OB {
props: Props | (<T>(config: T) => Props & T); props: Props | (<T>(config: T) => Props & T);
options: this["props"]; options: this["props"];
@ -40,7 +40,7 @@ interface Props {
listeners?: { listeners?: {
eventName: string; eventName: string;
action: (...args: any[]) => any; action: (...args: any[]) => any;
target?: typeof OB; target?: _OB;
once?: boolean; once?: boolean;
}[]; }[];
[key: string]: any; [key: string]: any;

28
typescript/core/widget.ts

@ -1,6 +1,14 @@
import { OB } from "./ob"; import { _OB } from "./ob";
export declare class Widget extends OB { export interface _WidgetStatic {
/**
*
* @param engine
*/
registerRenderEngine(engine: RenderEngine): void;
}
export interface _Widget extends _OB {
/** /**
* loading的锁 * loading的锁
*/ */
@ -20,7 +28,7 @@ export declare class Widget extends OB {
/** /**
* *
*/ */
_parent: Widget | null; _parent: _Widget | null;
// TODO: 完成jquery文件夹后把这块改了 // TODO: 完成jquery文件夹后把这块改了
/** /**
* dom的类jQuery对象 * dom的类jQuery对象
@ -34,7 +42,7 @@ export declare class Widget extends OB {
* *
*/ */
_children: { _children: {
[key: string]: Widget; [key: string]: _Widget;
}; };
/** /**
* *
@ -238,18 +246,18 @@ export declare class Widget extends OB {
/** /**
* *
*/ */
addWidget(_name: any, _widget: Widget): Widget; addWidget(_name: any, _widget: _Widget): _Widget;
/** /**
* wigetname获取子元素实例 * wigetname获取子元素实例
*/ */
getWidgetByName(_name: string): Widget | undefined; getWidgetByName(_name: string): _Widget | undefined;
/** /**
* *
* @param nameOrWidget widgetName或widget实例 * @param nameOrWidget widgetName或widget实例
*/ */
removeWidget(nameOrWidget: string | Widget): void; removeWidget(nameOrWidget: string | _Widget): void;
/** /**
* *
@ -368,12 +376,6 @@ export declare class Widget extends OB {
* destory元素 * destory元素
*/ */
destroy(): void; destroy(): void;
/**
*
* @param engine
*/
static registerRenderEngine(engine: RenderEngine): void;
} }
interface RenderEngine { interface RenderEngine {

4
typescript/core/wrapper/layout.ts

@ -1,6 +1,6 @@
import { Widget } from "../widget"; import { _Widget } from "../widget";
export declare class Layout extends Widget { export interface _Layout extends _Widget {
addItem(item: any): any; addItem(item: any): any;
prependItem(item: any): any; prependItem(item: any): any;

6
typescript/core/wrapper/layout/layout.tape.ts

@ -1,6 +1,6 @@
import { Layout } from "../layout"; import { _Layout } from "../layout";
export declare class HTapeLayout extends Layout { export interface _HTapeLayout extends _Layout {
resize(): void; resize(): void;
stroke<T>(items: T[]): void; stroke<T>(items: T[]): void;
@ -10,7 +10,7 @@ export declare class HTapeLayout extends Layout {
populate<T>(items?: T[]): void; populate<T>(items?: T[]): void;
} }
export declare class VTapeLayout extends Layout { export interface _VTapeLayout extends _Layout {
resize(): void; resize(): void;
stroke<T>(items: T[]): void; stroke<T>(items: T[]): void;

136
typescript/index.ts

@ -1,73 +1,81 @@
import { _Combo, _ComboStatic } from "./base/combination/combo";
import { _ButtonGroup, _ButtonGroupChooseType, _ButtonGroupStatic } from "./base/combination/group.button";
import { _Tab, _TabStatic } from "./base/combination/tab";
import { _Pane, _PaneStatic } from "./base/pane";
import { _BasicButton, _BasicButtonStatic } from "./base/single/button/button.basic";
import { _Button, _ButtonStatic } from "./base/single/button/buttons/button";
import { _TextButton, _TextButtonStatic } from "./base/single/button/buttons/button.text";
import { _IconTextItem, _IconTextItemStatic } from "./base/single/button/listitem/icontextitem";
import { _Editor, _EditorStatic } from "./base/single/editor/editor";
import { _Checkbox, _CheckboxStatic } from "./base/single/input/checkbox";
import { _AbstractLabel } from "./base/single/label/abstract.label";
import { _Label } from "./base/single/label/label";
import { _Single } from "./base/single/single";
import { _Text } from "./base/single/text";
import { _Trigger } from "./base/single/trigger/trigger";
import { _IconChangeButton, _IconChangeButtonStatic } from "./case/button/icon/icon.change";
import { _MultiSelectItem, _MultiSelectItemStatic } from "./case/button/item.multiselect";
import { _BubbleCombo, _BubbleComboStatic } from "./case/combo/bubblecombo/combo.bubble";
import { _TextValueCombo, _TextValueComboStatic } from "./case/combo/combo.textvalue";
import { _SignEditor, _SignEditorStatic } from "./case/editor/editor.sign";
import { _LoadingPane } from "./case/loading/loading_pane";
import { _AllValueMultiTextValueCombo, _AllValueMultiTextValueComboStatic } from "./component/allvaluemultitextvaluecombo/allvalue.multitextvalue.combo";
import { _Action, _ActionFactory } from "./core/action/action";
import { _ShowAction } from "./core/action/action.show";
import { _base } from "./core/base"; import { _base } from "./core/base";
import { _Behavior, _BehaviorFactory } from "./core/behavior/behavior";
import { _HighlightBehavior } from "./core/behavior/behavior.highlight";
import { _RedMarkBehavior } from "./core/behavior/behavior.redmark";
import * as decorator from "./core/decorator/decorator"; import * as decorator from "./core/decorator/decorator";
import { _func } from "./core/func"; import { _func } from "./core/func";
import { _i18n } from "./core/i18n"; import { _i18n } from "./core/i18n";
import { OB } from "./core/ob"; import { _OB } from "./core/ob";
import { Widget } from "./core/widget"; import { _Widget, _WidgetStatic } from "./core/widget";
import { Single } from "./base/single/single"; import { _Layout } from "./core/wrapper/layout";
import { BasicButton } from "./base/single/button/button.basic"; import { _HTapeLayout, _VTapeLayout } from "./core/wrapper/layout/layout.tape";
import { Checkbox } from "./base/single/input/checkbox";
import { Button } from "./base/single/button/buttons/button";
import { TextButton } from "./base/single/button/buttons/button.text"; type ClassConstructor<T extends {}> = T & {
import { IconChangeButton } from "./case/button/icon/icon.change"; new(config: any): T;
import { Trigger } from "./base/single/trigger/trigger"; (config: any): T;
import { Action, ActionFactory } from "./core/action/action"; readonly prototype: T;
import { ShowAction } from "./core/action/action.show"; }
import { Behavior, BehaviorFactory } from "./core/behavior/behavior";
import { HighlightBehavior } from "./core/behavior/behavior.highlight";
import { RedMarkBehavior } from "./core/behavior/behavior.redmark";
import { Pane } from "./base/pane";
import { LoadingPane } from "./case/loading/loading_pane";
import { Tab } from "./base/combination/tab";
import { ButtonGroup } from "./base/combination/group.button";
import { Combo } from "./base/combination/combo";
import { TextValueCombo } from "./case/combo/combo.textvalue";
import { BubbleCombo } from "./case/combo/bubblecombo/combo.bubble";
import { AllValueMultiTextValueCombo } from "./component/allvaluemultitextvaluecombo/allvalue.multitextvalue.combo";
import { IconTextItem } from "./base/single/button/listitem/icontextitem";
import { MultiSelectItem } from "./case/button/item.multiselect";
import { AbstractLabel } from "./base/single/label/abstract.label";
import { Label } from "./base/single/label/label";
import { Editor } from "./base/single/editor/editor";
import { SignEditor } from "./case/editor/editor.sign";
import { Layout } from "./core/wrapper/layout";
import { HTapeLayout, VTapeLayout } from "./core/wrapper/layout/layout.tape";
export interface BI extends _func, _i18n, _base { export interface BI extends _func, _i18n, _base {
OB: typeof OB; OB: ClassConstructor<_OB>;
Widget: typeof Widget; Widget: ClassConstructor<_Widget> & _WidgetStatic;
Single: typeof Single; Single: ClassConstructor<_Single>;
BasicButton: typeof BasicButton; BasicButton: ClassConstructor<_BasicButton> & _BasicButtonStatic;
Checkbox: typeof Checkbox; Checkbox: ClassConstructor<_Checkbox> & _CheckboxStatic;
Button: typeof Button; Button: ClassConstructor<_Button> & _ButtonStatic;
TextButton: typeof TextButton; TextButton: ClassConstructor<_TextButton> & _TextButtonStatic;
IconChangeButton: typeof IconChangeButton; IconChangeButton: ClassConstructor<_IconChangeButton> & _IconChangeButtonStatic;
Trigger: typeof Trigger; Trigger: ClassConstructor<_Trigger>;
Action: typeof Action; Action: ClassConstructor<_Action>;
ActionFactory: typeof ActionFactory; ActionFactory: ClassConstructor<_ActionFactory>;
ShowAction: typeof ShowAction; ShowAction: ClassConstructor<_ShowAction>;
Behavior: typeof Behavior; Behavior: ClassConstructor<_Behavior>;
BehaviorFactory: typeof BehaviorFactory; BehaviorFactory: ClassConstructor<_BehaviorFactory>;
HighlightBehavior: typeof HighlightBehavior; HighlightBehavior: ClassConstructor<_HighlightBehavior>;
RedMarkBehavior: typeof RedMarkBehavior; RedMarkBehavior: ClassConstructor<_RedMarkBehavior>;
Pane: typeof Pane; Pane: ClassConstructor<_Pane> & _PaneStatic;
LoadingPane: typeof LoadingPane; LoadingPane: ClassConstructor<_LoadingPane>;
Tab: typeof Tab; Tab: ClassConstructor<_Tab> & _TabStatic;
ButtonGroup: typeof ButtonGroup; ButtonGroup: ClassConstructor<_ButtonGroup> & _ButtonGroupChooseType & _ButtonGroupStatic;
Combo: typeof Combo; Combo: ClassConstructor<_Combo> & _ComboStatic;
TextValueCombo: typeof TextValueCombo; TextValueCombo: ClassConstructor<_TextValueCombo> & _TextValueComboStatic;
BubbleCombo: typeof BubbleCombo; BubbleCombo: ClassConstructor<_BubbleCombo> & _BubbleComboStatic;
AllValueMultiTextValueCombo: typeof AllValueMultiTextValueCombo; AllValueMultiTextValueCombo: ClassConstructor<_AllValueMultiTextValueCombo> & _AllValueMultiTextValueComboStatic;
IconTextItem: typeof IconTextItem; IconTextItem: ClassConstructor<_IconTextItem> & _IconTextItemStatic;
MultiSelectItem: typeof MultiSelectItem; MultiSelectItem: ClassConstructor<_MultiSelectItem> & _MultiSelectItemStatic;
AbstractLabel: typeof AbstractLabel; AbstractLabel: ClassConstructor<_AbstractLabel>;
Label: typeof Label; Label: ClassConstructor<_Label>;
Text: typeof Text; Text: ClassConstructor<_Text>;
Editor: typeof Editor; Editor: ClassConstructor<_Editor> & _EditorStatic;
SignEditor: typeof SignEditor; SignEditor: ClassConstructor<_SignEditor> & _SignEditorStatic;
Layout: typeof Layout; Layout: ClassConstructor<_Layout>;
HTapeLayout: typeof HTapeLayout; HTapeLayout: ClassConstructor<_HTapeLayout>;
VTapeLayout: typeof VTapeLayout; VTapeLayout: ClassConstructor<_VTapeLayout>;
Decorators: typeof decorator; Decorators: typeof decorator;
} }

Loading…
Cancel
Save