forked from fanruan/fineui
Zhenfei.Li-李振飞
2 years ago
27 changed files with 3071 additions and 2958 deletions
@ -1,9 +1,45 @@
|
||||
BI.Resizers = new BI.ResizeController(); |
||||
BI.Layers = new BI.LayerController(); |
||||
BI.Maskers = new BI.MaskersController(); |
||||
BI.Bubbles = new BI.BubblesController(); |
||||
BI.Tooltips = new BI.TooltipsController(); |
||||
BI.Popovers = new BI.PopoverController(); |
||||
BI.Drawers = new BI.DrawerController(); |
||||
BI.Broadcasts = new BI.BroadcastController(); |
||||
BI.StyleLoaders = new BI.StyleLoaderManager(); |
||||
import { |
||||
BroadcastController, |
||||
BubblesController, |
||||
DrawerController, |
||||
LayerController, |
||||
MaskersController, |
||||
PopoverController, |
||||
ResizeController, |
||||
TooltipsController, |
||||
StyleLoaderManager |
||||
} from "../core"; |
||||
|
||||
const Resizers = new ResizeController(); |
||||
const Layers = new LayerController(); |
||||
const Maskers = new MaskersController(); |
||||
const Bubbles = new BubblesController(); |
||||
const Tooltips = new TooltipsController(); |
||||
const Popovers = new PopoverController(); |
||||
const Drawers = new DrawerController(); |
||||
const Broadcasts = new BroadcastController(); |
||||
const StyleLoaders = new StyleLoaderManager(); |
||||
|
||||
BI.extend(BI, { |
||||
Resizers, |
||||
Layers, |
||||
Maskers, |
||||
Bubbles, |
||||
Tooltips, |
||||
Popovers, |
||||
Drawers, |
||||
Broadcasts, |
||||
StyleLoaders |
||||
}); |
||||
|
||||
export {
|
||||
Resizers, |
||||
Layers, |
||||
Maskers, |
||||
Bubbles, |
||||
Tooltips, |
||||
Popovers, |
||||
Drawers, |
||||
Broadcasts, |
||||
StyleLoaders |
||||
}; |
||||
|
@ -0,0 +1,15 @@
|
||||
import Pane from "./1.pane"; |
||||
import Single from "./single/0.single"; |
||||
import Text from "./single/1.text"; |
||||
|
||||
BI.extend(BI, { |
||||
Pane, |
||||
Single, |
||||
Text, |
||||
}); |
||||
|
||||
export { |
||||
Pane, |
||||
Single, |
||||
Text, |
||||
} |
@ -0,0 +1,8 @@
|
||||
/** |
||||
* 注册widget |
||||
*/ |
||||
export function shortcut() { |
||||
return function decorator(Target) { |
||||
BI.shortcut(Target.xtype, Target); |
||||
}; |
||||
} |
@ -0,0 +1,59 @@
|
||||
import { shortcut } from "./decorator"; |
||||
import OB from "./3.ob"; |
||||
import Widget from "./4.widget"; |
||||
import Action from "./action/action"; |
||||
import ShowAction from "./action/action.show"; |
||||
import Behavior from "./behavior/0.behavior"; |
||||
import HighlightBehavior from "./behavior/behavior.highlight"; |
||||
import RedMarkBehavior from "./behavior/behavior.redmark"; |
||||
import Controller from "./controller/0.controller"; |
||||
import BroadcastController from "./controller/controller.broadcast"; |
||||
import BubblesController from "./controller/controller.bubbles"; |
||||
import DrawerController from "./controller/controller.drawer"; |
||||
import LayerController from "./controller/controller.layer"; |
||||
import MaskersController from "./controller/controller.masker"; |
||||
import PopoverController from "./controller/controller.popover"; |
||||
import ResizeController from "./controller/controller.resizer"; |
||||
import TooltipsController from "./controller/controller.tooltips"; |
||||
import StyleLoaderManager from "./loader/loader.style"; |
||||
|
||||
BI.extend(BI, { |
||||
OB, |
||||
Widget, |
||||
Action, |
||||
ShowAction, |
||||
Behavior, |
||||
HighlightBehavior, |
||||
RedMarkBehavior, |
||||
Controller, |
||||
BroadcastController, |
||||
BubblesController, |
||||
DrawerController, |
||||
LayerController, |
||||
MaskersController, |
||||
PopoverController, |
||||
ResizeController, |
||||
TooltipsController, |
||||
StyleLoaderManager, |
||||
}); |
||||
|
||||
export { |
||||
shortcut, |
||||
OB, |
||||
Widget, |
||||
Action, |
||||
ShowAction, |
||||
Behavior, |
||||
HighlightBehavior, |
||||
RedMarkBehavior, |
||||
Controller, |
||||
BroadcastController, |
||||
BubblesController, |
||||
DrawerController, |
||||
LayerController, |
||||
MaskersController, |
||||
PopoverController, |
||||
ResizeController, |
||||
TooltipsController, |
||||
StyleLoaderManager, |
||||
} |
Loading…
Reference in new issue