Browse Source
Merge in VISUAL/fineui from ~ZHENFEI.LI/fineui:es6 to es6 * commit '455a1618766713b1aef3687a559d6b447540cd89': 无JIRA任务 refactor: func中的挂载BI挪走 无JIRA任务 chore: 重新整理一下import和export和挂载到BI的规范es6
Zhenfei.Li-李振飞
2 years ago
58 changed files with 192 additions and 425 deletions
@ -0,0 +1,12 @@
|
||||
export { Bubble } from "./bubble"; |
||||
export { Combo } from "./combo"; |
||||
export { Expander } from "./expander"; |
||||
export { ButtonGroup } from "./group.button"; |
||||
export { ComboGroup } from "./group.combo"; |
||||
export { VirtualGroup } from "./group.virtual"; |
||||
export { Loader } from "./loader"; |
||||
export { Navigation } from "./navigation"; |
||||
export { Searcher } from "./searcher"; |
||||
export { Switcher } from "./switcher"; |
||||
export { Tab } from "./tab"; |
||||
export { ButtonTree } from "./tree.button"; |
@ -1,93 +1,31 @@
|
||||
import { extend } from "../core"; |
||||
import Pane from "./1.pane"; |
||||
import Single from "./single/0.single"; |
||||
import Text from "./single/1.text"; |
||||
import A from "./single/a/a"; |
||||
import Tip from "./single/tip/0.tip"; |
||||
import Toast from "./single/tip/tip.toast"; |
||||
import Tooltip from "./single/tip/tip.tooltip"; |
||||
import Drawer from "./layer/layer.drawer"; |
||||
import { Popover, BarPopover } from "./layer/layer.popover"; |
||||
import PopupView from "./layer/layer.popup"; |
||||
import SearcherView from "./layer/layer.searcher"; |
||||
import ListView from "./list/listview"; |
||||
import VirtualGroupList from "./list/virtualgrouplist"; |
||||
import VirtualList from "./list/virtuallist"; |
||||
import { Pane } from "./1.pane"; |
||||
import * as single from "./single"; |
||||
import * as layer from "./layer"; |
||||
import * as list from "./list"; |
||||
import GridView from "./grid/grid"; |
||||
import Pager from "./pager/pager"; |
||||
import Bubble from "./combination/bubble"; |
||||
import Combo from "./combination/combo"; |
||||
import Expander from "./combination/expander"; |
||||
import ButtonGroup from "./combination/group.button"; |
||||
import ComboGroup from "./combination/group.combo"; |
||||
import VirtualGroup from "./combination/group.virtual"; |
||||
import Loader from "./combination/loader"; |
||||
import Navigation from "./combination/navigation"; |
||||
import Searcher from "./combination/searcher"; |
||||
import Switcher from "./combination/switcher"; |
||||
import Tab from "./combination/tab"; |
||||
import ButtonTree from "./combination/tree.button"; |
||||
import * as combination from "./combination"; |
||||
import { Msg } from "./foundation/message"; |
||||
|
||||
extend(BI, { |
||||
Object.assign(BI, { |
||||
Pane, |
||||
Single, |
||||
Text, |
||||
A, |
||||
Tip, |
||||
Toast, |
||||
Tooltip, |
||||
Drawer, |
||||
Popover, |
||||
BarPopover, |
||||
PopupView, |
||||
SearcherView, |
||||
ListView, |
||||
VirtualGroupList, |
||||
VirtualList, |
||||
...layer, |
||||
...list, |
||||
...single, |
||||
GridView, |
||||
Pager, |
||||
Bubble, |
||||
Combo, |
||||
Expander, |
||||
ButtonGroup, |
||||
ComboGroup, |
||||
VirtualGroup, |
||||
Loader, |
||||
Navigation, |
||||
Searcher, |
||||
Switcher, |
||||
Tab, |
||||
ButtonTree, |
||||
...combination, |
||||
Msg, |
||||
}); |
||||
|
||||
export * from "./0.base"; |
||||
export * from "./combination"; |
||||
export * from "./layer"; |
||||
export * from "./list"; |
||||
export * from "./single"; |
||||
export { |
||||
Pane, |
||||
Single, |
||||
Text, |
||||
A, |
||||
Tip, |
||||
Toast, |
||||
Tooltip, |
||||
Drawer, |
||||
Popover, |
||||
BarPopover, |
||||
PopupView, |
||||
SearcherView, |
||||
ListView, |
||||
VirtualGroupList, |
||||
VirtualList, |
||||
GridView, |
||||
Pager, |
||||
Bubble, |
||||
Combo, |
||||
Expander, |
||||
ButtonGroup, |
||||
ComboGroup, |
||||
VirtualGroup, |
||||
Loader, |
||||
Navigation, |
||||
Searcher, |
||||
Switcher, |
||||
Tab, |
||||
ButtonTree, |
||||
Msg, |
||||
} |
@ -0,0 +1,4 @@
|
||||
export { Drawer } from "./layer.drawer"; |
||||
export { Popover, BarPopover } from "./layer.popover"; |
||||
export { PopupView } from "./layer.popup"; |
||||
export { SearcherView } from "./layer.searcher"; |
@ -0,0 +1,3 @@
|
||||
export { ListView } from "./listview"; |
||||
export { VirtualGroupList } from "./virtualgrouplist"; |
||||
export { VirtualList } from "./virtuallist"; |
@ -0,0 +1,4 @@
|
||||
export { Single } from "./0.single"; |
||||
export { Text } from "./1.text"; |
||||
export { A } from "./a/a"; |
||||
export * from "./tip"; |
@ -0,0 +1,3 @@
|
||||
export { Tip } from "./0.tip"; |
||||
export { Toast } from "./tip.toast"; |
||||
export { Tooltip } from "./tip.tooltip"; |
@ -0,0 +1,2 @@
|
||||
export { Action } from "./action"; |
||||
export { ShowAction } from "./action.show"; |
@ -0,0 +1,3 @@
|
||||
export { Behavior } from "./0.behavior"; |
||||
export { HighlightBehavior } from "./behavior.highlight"; |
||||
export { RedMarkBehavior } from "./behavior.redmark"; |
@ -0,0 +1,9 @@
|
||||
export { Controller } from "./0.controller"; |
||||
export { BroadcastController } from "./controller.broadcast"; |
||||
export { BubblesController } from "./controller.bubbles"; |
||||
export { DrawerController } from "./controller.drawer"; |
||||
export { LayerController } from "./controller.layer"; |
||||
export { MaskersController } from "./controller.masker"; |
||||
export { PopoverController } from "./controller.popover"; |
||||
export { ResizeController } from "./controller.resizer"; |
||||
export { TooltipsController } from "./controller.tooltips"; |
@ -1,68 +1,42 @@
|
||||
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"; |
||||
import "./h"; |
||||
import ShowListener from "./listener/listener.show"; |
||||
|
||||
BI.extend(BI, { |
||||
OB, |
||||
Widget, |
||||
Action, |
||||
ShowAction, |
||||
Behavior, |
||||
HighlightBehavior, |
||||
RedMarkBehavior, |
||||
Controller, |
||||
BroadcastController, |
||||
BubblesController, |
||||
DrawerController, |
||||
LayerController, |
||||
MaskersController, |
||||
PopoverController, |
||||
ResizeController, |
||||
TooltipsController, |
||||
StyleLoaderManager, |
||||
ShowListener, |
||||
}); |
||||
import * as base from "./2.base"; |
||||
import * as ob from "./3.ob"; |
||||
import * as widget from "./4.widget"; |
||||
import * as inject from "./5.inject"; |
||||
import * as action from "./action"; |
||||
import * as behavior from "./behavior"; |
||||
import * as controllers from "./controller"; |
||||
import * as func from "./func"; |
||||
import { StyleLoaderManager } from "./loader/loader.style"; |
||||
import "./h"; |
||||
import { ShowListener } from "./listener/listener.show"; |
||||
import { shortcut } from "./decorator"; |
||||
|
||||
export * from "./2.base"; |
||||
export * from "./3.ob"; |
||||
export * from "./4.widget"; |
||||
export * from "./5.inject"; |
||||
export * from "./action"; |
||||
export * from "./behavior"; |
||||
export * from "./controller"; |
||||
export * from "./func"; |
||||
|
||||
export { |
||||
StyleLoaderManager, |
||||
ShowListener, |
||||
shortcut, |
||||
OB, |
||||
Widget, |
||||
Action, |
||||
ShowAction, |
||||
Behavior, |
||||
HighlightBehavior, |
||||
RedMarkBehavior, |
||||
Controller, |
||||
BroadcastController, |
||||
BubblesController, |
||||
DrawerController, |
||||
LayerController, |
||||
MaskersController, |
||||
PopoverController, |
||||
ResizeController, |
||||
TooltipsController, |
||||
} |
||||
|
||||
Object.assign(BI, { |
||||
...base, |
||||
...ob, |
||||
...widget, |
||||
...inject, |
||||
...behavior, |
||||
component: inject.shortcut, |
||||
...action, |
||||
...controllers, |
||||
...func, |
||||
StyleLoaderManager, |
||||
ShowListener |
||||
}; |
||||
ShowListener, |
||||
}); |
||||
|
Loading…
Reference in new issue