Browse Source

Merge remote-tracking branch 'origin/master' into bugfix

es6
iapyang 4 years ago
parent
commit
fdf7e45464
  1. 9
      typescript/base/single/input/checkbox.ts
  2. 8
      typescript/base/single/trigger/trigger.ts
  3. 6
      typescript/case/loading/loading_pane.ts
  4. 5
      typescript/core/action/action.show.ts
  5. 12
      typescript/core/action/action.ts
  6. 6
      typescript/core/behavior/behavior.highlight.ts
  7. 6
      typescript/core/behavior/behavior.redmark.ts
  8. 10
      typescript/core/behavior/behavior.ts
  9. 29
      typescript/index.ts

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

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

8
typescript/base/single/trigger/trigger.ts

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

6
typescript/case/loading/loading_pane.ts

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

5
typescript/core/action/action.show.ts

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

12
typescript/core/action/action.ts

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

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

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

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

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

10
typescript/core/behavior/behavior.ts

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

29
typescript/index.ts

@ -9,34 +9,34 @@ import { TextButton, _TextButton, _TextButtonStatic } from "./base/single/button
import { IconTextItem, _IconTextItem, _IconTextItemStatic } from "./base/single/button/listitem/icontextitem";
import { _Editor, _EditorStatic, Editor } from "./base/single/editor/editor";
import { Iframe, _Iframe } from "./base/single/iframe/iframe";
import { _Checkbox, _CheckboxStatic } from "./base/single/input/checkbox";
import { Checkbox, _Checkbox, _CheckboxStatic } from "./base/single/input/checkbox";
import { Input, _Input, _InputStatic } from "./base/single/input/input";
import { _AbstractLabel, AbstractLabel } from "./base/single/label/abstract.label";
import { _Label, Label } from "./base/single/label/label";
import { _Single, Single } from "./base/single/single";
import { _Text, Text } from "./base/single/text";
import { _Trigger } from "./base/single/trigger/trigger";
import { Trigger, _Trigger } from "./base/single/trigger/trigger";
import { IconChangeButton, _IconChangeButton, _IconChangeButtonStatic } from "./case/button/icon/icon.change";
import { _MultiSelectItem, _MultiSelectItemStatic, MultiSelectItem } from "./case/button/item.multiselect";
import { BubbleCombo, _BubbleCombo, _BubbleComboStatic } from "./case/combo/bubblecombo/combo.bubble";
import { _TextValueCombo, _TextValueComboStatic, TextValueCombo } from "./case/combo/combo.textvalue";
import { SearchTextValueCombo, _SearchTextValueCombo, _SearchTextValueComboStatic } from "./case/combo/searchtextvaluecombo/combo.searchtextvalue";
import { _SignEditor, _SignEditorStatic, SignEditor } from "./case/editor/editor.sign";
import { _LoadingPane } from "./case/loading/loading_pane";
import { LoadingPane, _LoadingPane } from "./case/loading/loading_pane";
import { AllValueMultiTextValueCombo, _AllValueMultiTextValueCombo, _AllValueMultiTextValueComboStatic } from "./component/allvaluemultitextvaluecombo/allvalue.multitextvalue.combo";
import { _AbstractTreeValueChooser, AbstractTreeValueChooser } from "./component/treevaluechooser/abstract.treevaluechooser";
import { _AbstractListTreeValueChooser, AbstractListTreeValueChooser } from "./component/treevaluechooser/abstract.treevaluechooser.list";
import { _Action, _ActionFactory } from "./core/action/action";
import { _ShowAction } from "./core/action/action.show";
import { Action, ActionFactory, _Action, _ActionFactory } from "./core/action/action";
import { ShowAction, _ShowAction } from "./core/action/action.show";
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 { Behavior, BehaviorFactory, _Behavior, _BehaviorFactory } from "./core/behavior/behavior";
import { HighlightBehavior, _HighlightBehavior } from "./core/behavior/behavior.highlight";
import { RedMarkBehavior, _RedMarkBehavior } from "./core/behavior/behavior.redmark";
import * as decorator from "./core/decorator/decorator";
import { _func } from "./core/func";
import { _i18n } from "./core/i18n";
import { _Plugin } from "./core/plugin";
import { _OB } from "./core/ob";
import { OB, _OB } from "./core/ob";
import { _Widget, _WidgetStatic, Widget } from "./core/widget";
import { _inject } from "./core/inject";
import { Layout, _Layout } from "./core/wrapper/layout";
@ -249,9 +249,11 @@ export default {
Decorators: decorator,
};
export {
OB,
Widget,
Single,
BasicButton,
Checkbox,
Icon,
LeftVerticalAdaptLayout,
LeftRightVerticalAdaptLayout,
@ -276,7 +278,16 @@ export {
VTapeLayout,
VerticalAdaptLayout,
IconButton,
Trigger,
TriggerIconButton,
Action,
ActionFactory,
ShowAction,
Behavior,
BehaviorFactory,
RedMarkBehavior,
HighlightBehavior,
LoadingPane,
Searcher,
AbstractLabel,
Label,

Loading…
Cancel
Save