Browse Source

KERNEL-3025 refactor: 添加buttongroup声明

es6
Kira 5 years ago
parent
commit
969786c0ce
  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.js
  6. 2
      dist/2.0/fineui.min.js.map
  7. 2
      dist/bundle.ie.js.map
  8. 2
      dist/bundle.ie.min.js
  9. 2
      dist/bundle.ie.min.js.map
  10. 2
      dist/bundle.js.map
  11. 2
      dist/bundle.min.js
  12. 2
      dist/bundle.min.js.map
  13. 2
      dist/es5.fineui.js.map
  14. 2
      dist/fineui.ie.js.map
  15. 2
      dist/fineui.ie.min.js
  16. 2
      dist/fineui.ie.min.js.map
  17. 2
      dist/fineui.js.map
  18. 2
      dist/fineui.min.js
  19. 2
      dist/fineui.min.js.map
  20. 2
      dist/ie.fineui.js.map
  21. 28
      dist/lib/base/combination/group.button.d.ts
  22. 1
      dist/lib/base/combination/tab.d.ts
  23. 2
      dist/lib/index.d.ts
  24. 2
      dist/utils.min.js
  25. 45
      typescript/base/combination/group.button.ts
  26. 2
      typescript/base/combination/tab.ts
  27. 2
      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.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.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/fineui.ie.js.map vendored

File diff suppressed because one or more lines are too long

2
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.map vendored

File diff suppressed because one or more lines are too long

2
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

28
dist/lib/base/combination/group.button.d.ts vendored

@ -0,0 +1,28 @@
import { _Widget } from "../../core/widget";
export interface _ButtonGroup extends _Widget {
prependItems(items: any): void;
addItems(items: any): void;
removeItemAt(indexes: any): void;
removeItems(values: any): void;
populate(items?: any): void;
setNotSelectedValue(v: any): void;
getNotSelectedValue(): [];
setEnabledValue(v: any): void;
getAllButtons(): [];
getAllLeaves(): [];
getSelectedButtons(): [];
getNotSelectedButtons(): [];
getIndexByValue(value: any): number;
getNodeById(id: any): _Widget;
getNodeByValue(value: any): _Widget;
}
export interface _ButtonGroupChooseType {
CHOOSE_TYPE_SINGLE: number;
CHOOSE_TYPE_MULTI: number;
CHOOSE_TYPE_ALL: number;
CHOOSE_TYPE_NONE: number;
CHOOSE_TYPE_DEFAULT: number;
}
export interface _ButtonGroupStatic {
EVENT_CHANGE: string;
}

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

@ -5,6 +5,7 @@ export interface _Tab extends _Widget {
getSelect(): string | number;
getSelectedTab(): _Widget;
getTab(v: string | number): _Widget;
populate(): void;
}
export interface _TabStatic {
EVENT_CHANGE: string;

2
dist/lib/index.d.ts vendored

@ -1,3 +1,4 @@
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";
@ -36,6 +37,7 @@ export interface BI extends _func, _i18n, _base {
Pane: ClassConstructor<_Pane> & _PaneStatic;
LoadingPane: ClassConstructor<_LoadingPane>;
Tab: ClassConstructor<_Tab> & _TabStatic;
ButtonGroup: ClassConstructor<_ButtonGroup> & _ButtonGroupChooseType & _ButtonGroupStatic;
Decorators: typeof decorator;
}
declare const _default: {

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

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

@ -0,0 +1,45 @@
import { _Widget } from "../../core/widget";
export interface _ButtonGroup extends _Widget {
prependItems(items: any): void;
addItems(items: any): void;
removeItemAt(indexes: any): void;
removeItems(values: any): void;
populate(items?: any): void;
setNotSelectedValue(v: any): void;
getNotSelectedValue(): [];
setEnabledValue(v: any): void;
getAllButtons(): [];
getAllLeaves(): [];
getSelectedButtons(): [];
getNotSelectedButtons(): [];
getIndexByValue(value: any): number;
getNodeById(id: any): _Widget;
getNodeByValue(value: any): _Widget;
}
export interface _ButtonGroupChooseType {
CHOOSE_TYPE_SINGLE: number;
CHOOSE_TYPE_MULTI: number;
CHOOSE_TYPE_ALL: number;
CHOOSE_TYPE_NONE: number;
CHOOSE_TYPE_DEFAULT: number;
}
export interface _ButtonGroupStatic {
EVENT_CHANGE: string;
}

2
typescript/base/combination/tab.ts

@ -10,6 +10,8 @@ export interface _Tab extends _Widget {
getSelectedTab(): _Widget;
getTab(v: string | number): _Widget;
populate(): void;
}
export interface _TabStatic {

2
typescript/index.ts

@ -1,3 +1,4 @@
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";
@ -39,6 +40,7 @@ export interface BI extends _func, _i18n, _base {
Pane: ClassConstructor<_Pane> & _PaneStatic;
LoadingPane: ClassConstructor<_LoadingPane>;
Tab: ClassConstructor<_Tab> & _TabStatic;
ButtonGroup: ClassConstructor<_ButtonGroup> & _ButtonGroupChooseType & _ButtonGroupStatic;
Decorators: typeof decorator;
}

Loading…
Cancel
Save