Browse Source

KERNEL-3025 refactor: 增加bi.tab声明

es6
Kira 5 years ago
parent
commit
1cd60a49d3
  1. 2
      dist/2.0/fineui.ie.js.map
  2. 2
      dist/2.0/fineui.ie.min.js
  3. 2
      dist/2.0/fineui.ie.min.js.map
  4. 2
      dist/2.0/fineui.js.map
  5. 2
      dist/2.0/fineui.min.css
  6. 2
      dist/2.0/fineui.min.js
  7. 2
      dist/2.0/fineui.min.js.map
  8. 2
      dist/bundle.ie.js.map
  9. 2
      dist/bundle.ie.min.js
  10. 2
      dist/bundle.ie.min.js.map
  11. 2
      dist/bundle.js.map
  12. 2
      dist/bundle.min.css
  13. 2
      dist/bundle.min.js
  14. 2
      dist/bundle.min.js.map
  15. 2
      dist/es5.fineui.js.map
  16. 2
      dist/es5.polyfill.js
  17. 2
      dist/es5.polyfill.js.map
  18. 2
      dist/fineui.ie.js
  19. 2
      dist/fineui.ie.js.map
  20. 104
      dist/fineui.ie.min.js
  21. 2
      dist/fineui.ie.min.js.map
  22. 2
      dist/fineui.js
  23. 2
      dist/fineui.js.map
  24. 2
      dist/fineui.min.css
  25. 107
      dist/fineui.min.js
  26. 2
      dist/fineui.min.js.map
  27. 2
      dist/ie.fineui.js.map
  28. 2
      dist/ie.polyfill.js
  29. 2
      dist/ie.polyfill.js.map
  30. 11
      dist/lib/base/combination/tab.d.ts
  31. 20
      dist/lib/index.d.ts
  32. 2
      dist/utils.min.js
  33. 17
      typescript/base/combination/tab.ts
  34. 22
      typescript/index.ts

2
dist/2.0/fineui.ie.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.ie.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/es5.fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/es5.polyfill.js vendored

File diff suppressed because one or more lines are too long

2
dist/es5.polyfill.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.js.map vendored

File diff suppressed because one or more lines are too long

104
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

107
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/ie.fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/ie.polyfill.js vendored

File diff suppressed because one or more lines are too long

2
dist/ie.polyfill.js.map vendored

File diff suppressed because one or more lines are too long

11
dist/lib/base/combination/tab.d.ts vendored

@ -0,0 +1,11 @@
import { _Widget } from "../../core/widget";
export interface _Tab extends _Widget {
setSelect(v: string | number): void;
removeTab(v: string | number): void;
getSelect(): string | number;
getSelectedTab(): _Widget;
getTab(v: string | number): _Widget;
}
export interface _TabStatic {
EVENT_CHANGE: string;
}

20
dist/lib/index.d.ts vendored

@ -1,19 +1,20 @@
import * as decorator from "./core/decorator/decorator";
import { _i18n } from "./core/i18n";
import { _OB } from "./core/ob";
import { _func } from "./core/func";
import { _Widget, _WidgetStatic } from "./core/widget";
import { _Single } from "./base/single/single";
import { _base } from "./core/base";
import { _Tab, _TabStatic } from "./base/combination/tab";
import { _Pane, _PaneStatic } from "./base/pane";
import { _BasicButton, _BasicButtonStatic } from "./base/single/button/button.basic";
import { _Single } from "./base/single/single";
import { _Trigger } from "./base/single/trigger/trigger";
import { _LoadingPane } from "./case/loading/loading_pane";
import { _Action, _ActionFactory } from "./core/action/action";
import { _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 { _Pane, _PaneStatic } from "./base/pane";
import { _LoadingPane } from "./case/loading/loading_pane";
import * as decorator from "./core/decorator/decorator";
import { _func } from "./core/func";
import { _i18n } from "./core/i18n";
import { _OB } from "./core/ob";
import { _Widget, _WidgetStatic } from "./core/widget";
declare type ClassConstructor<T extends {}> = T & {
new (config: any): T;
(config: any): T;
@ -34,6 +35,7 @@ export interface BI extends _func, _i18n, _base {
RedMarkBehavior: ClassConstructor<_RedMarkBehavior>;
Pane: ClassConstructor<_Pane> & _PaneStatic;
LoadingPane: ClassConstructor<_LoadingPane>;
Tab: ClassConstructor<_Tab> & _TabStatic;
Decorators: typeof decorator;
}
declare const _default: {

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

17
typescript/base/combination/tab.ts

@ -0,0 +1,17 @@
import { _Widget } from "../../core/widget";
export interface _Tab extends _Widget {
setSelect(v: string | number): void;
removeTab(v: string | number): void;
getSelect(): string | number;
getSelectedTab(): _Widget;
getTab(v: string | number): _Widget;
}
export interface _TabStatic {
EVENT_CHANGE: string;
}

22
typescript/index.ts

@ -1,20 +1,21 @@
import * as decorator from "./core/decorator/decorator";
import { _i18n } from "./core/i18n";
import { _OB } from "./core/ob";
import { _func } from "./core/func";
import { _Widget, _WidgetStatic } from "./core/widget";
import { _Single } from "./base/single/single";
import { _base } from "./core/base";
import { _Tab, _TabStatic } from "./base/combination/tab";
import { _Pane, _PaneStatic } from "./base/pane";
import { _BasicButton, _BasicButtonStatic } from "./base/single/button/button.basic";
import { _Single } from "./base/single/single";
import { _Trigger } from "./base/single/trigger/trigger";
import { _LoadingPane } from "./case/loading/loading_pane";
import { _Action, _ActionFactory } from "./core/action/action";
import { _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 { _Pane, _PaneStatic } from "./base/pane";
import { _LoadingPane } from "./case/loading/loading_pane";
import * as decorator from "./core/decorator/decorator";
import { _func } from "./core/func";
import { _i18n } from "./core/i18n";
import { _OB } from "./core/ob";
import { _Widget, _WidgetStatic } from "./core/widget";
type ClassConstructor<T extends {}> = T & {
new(config: any): T;
@ -37,6 +38,7 @@ export interface BI extends _func, _i18n, _base {
RedMarkBehavior: ClassConstructor<_RedMarkBehavior>;
Pane: ClassConstructor<_Pane> & _PaneStatic;
LoadingPane: ClassConstructor<_LoadingPane>;
Tab: ClassConstructor<_Tab> & _TabStatic;
Decorators: typeof decorator;
}

Loading…
Cancel
Save