From 61d4b9c7146195d1f25de08511f07c4cc0c7d828 Mon Sep 17 00:00:00 2001 From: guy Date: Mon, 27 Mar 2017 12:56:29 +0800 Subject: [PATCH] shortcut --- Gruntfile.js | 1 - bi/base.js | 144 +- bi/case.js | 210 +-- bi/core.js | 1648 +---------------- bi/widget.js | 242 +-- demo/js/base/button/demo.button.js | 2 +- demo/js/base/button/demo.icon_button.js | 2 +- demo/js/base/button/demo.image_button.js | 2 +- demo/js/base/button/demo.text_button.js | 2 +- demo/js/base/demo.label.js | 2 +- demo/js/base/demo.message.js | 2 +- demo/js/base/demo.pager.js | 2 +- demo/js/base/demo.svg.js | 2 +- demo/js/base/editor/demo.code_editor.js | 2 +- demo/js/base/editor/demo.editor.js | 2 +- demo/js/base/editor/demo.formula_editor.js | 2 +- demo/js/base/editor/demo.multifile_editor.js | 2 +- demo/js/base/editor/demo.textarea_editor.js | 2 +- demo/js/base/table/demo.collection_table.js | 2 +- demo/js/base/table/demo.grid_table.js | 2 +- demo/js/base/table/demo.resizable_table.js | 2 +- demo/js/base/table/demo.table_view.js | 2 +- demo/js/base/tip/demo.bubble.js | 2 +- demo/js/base/tip/demo.title.js | 2 +- demo/js/base/tip/demo.toast.js | 2 +- demo/js/base/tree/demo.part_tree.js | 2 +- demo/js/base/tree/demo.sync_tree.js | 2 +- demo/js/base/tree/demo.tree_view.js | 2 +- demo/js/case/combo/demo.bubble_combo.js | 2 +- demo/js/case/demo.calendar.js | 2 +- demo/js/case/demo.color_chooser.js | 2 +- demo/js/case/demo.complex_canvas.js | 2 +- demo/js/case/demo.zclip.js | 2 +- demo/js/case/tree/demo.branch_relation.js | 2 +- demo/js/case/tree/demo.branch_tree.js | 2 +- demo/js/case/tree/demo.display_tree.js | 2 +- .../case/tree/demo.handstand_branch_tree.js | 2 +- demo/js/case/tree/demo.level_tree.js | 2 +- demo/js/case/tree/demo.simple_tree.js | 2 +- demo/js/center.js | 2 +- demo/js/component/demo.treevaluechooser.js | 2 +- demo/js/component/demo.valuechooser.js | 2 +- .../core/abstract/combination/demo.combo.js | 2 +- demo/js/core/abstract/demo.button_group.js | 2 +- demo/js/core/abstract/demo.button_tree.js | 2 +- demo/js/core/abstract/demo.collection_view.js | 2 +- demo/js/core/abstract/demo.grid_view.js | 2 +- demo/js/core/abstract/demo.virtual_group.js | 4 +- demo/js/core/abstract/mvc.custom_tree.js | 2 +- demo/js/core/layout/demo.absolute.js | 2 +- demo/js/core/layout/demo.border.js | 2 +- demo/js/core/layout/demo.center.js | 2 +- demo/js/core/layout/demo.center_adapt.js | 2 +- demo/js/core/layout/demo.float_center.js | 2 +- demo/js/core/layout/demo.flow.js | 2 +- demo/js/core/layout/demo.grid.js | 2 +- demo/js/core/layout/demo.horizontal.js | 2 +- demo/js/core/layout/demo.horizontal_adapt.js | 2 +- demo/js/core/layout/demo.horizontal_auto.js | 2 +- demo/js/core/layout/demo.horizontal_float.js | 2 +- demo/js/core/layout/demo.htape.js | 2 +- demo/js/core/layout/demo.inline.js | 2 +- .../layout/demo.left_right_vertical_adapt.js | 2 +- demo/js/core/layout/demo.table.js | 2 +- demo/js/core/layout/demo.td.js | 2 +- demo/js/core/layout/demo.vertical.js | 2 +- demo/js/core/layout/demo.vertical_adapt.js | 2 +- demo/js/core/layout/demo.vtape.js | 2 +- demo/js/face.js | 2 +- demo/js/main.js | 2 +- demo/js/north.js | 2 +- demo/js/west.js | 2 +- demo/js/widget/demo.multiselectcombo.js | 2 +- demo/js/widget/demo.pathchooser.js | 2 +- demo/js/widget/demo.relationview.js | 2 +- dist/base.js | 144 +- dist/case.js | 210 +-- dist/core.js | 102 +- dist/widget.js | 242 +-- src/base/canvas/canvas.js | 2 +- src/base/collection/collection.js | 2 +- src/base/combination/combo.js | 2 +- src/base/combination/expander.js | 2 +- src/base/combination/group.button.js | 2 +- src/base/combination/group.combo.js | 2 +- src/base/combination/group.virtual.js | 2 +- src/base/combination/loader.js | 2 +- src/base/combination/navigation.js | 2 +- src/base/combination/searcher.js | 2 +- src/base/combination/switcher.js | 2 +- src/base/combination/tab.js | 2 +- src/base/combination/tree.button.js | 2 +- src/base/el.js | 2 +- src/base/formula/formulaeditor.js | 2 +- src/base/grid/grid.js | 2 +- src/base/layer/layer.floatbox.js | 2 +- src/base/layer/layer.popup.js | 2 +- src/base/layer/layer.searcher.js | 2 +- src/base/pager/pager.js | 2 +- src/base/single/a/a.js | 2 +- src/base/single/bar/bar.loading.js | 2 +- src/base/single/button/buttons/button.icon.js | 2 +- .../single/button/buttons/button.image.js | 2 +- src/base/single/button/buttons/button.js | 2 +- src/base/single/button/buttons/button.text.js | 2 +- .../button/listitem/blankiconicontextitem.js | 2 +- .../button/listitem/blankicontexticonitem.js | 2 +- .../button/listitem/blankicontextitem.js | 2 +- .../button/listitem/icontexticonitem.js | 2 +- .../single/button/listitem/icontextitem.js | 2 +- .../single/button/listitem/texticonitem.js | 2 +- src/base/single/button/listitem/textitem.js | 2 +- .../single/button/node/icontexticonnode.js | 2 +- src/base/single/button/node/icontextnode.js | 2 +- src/base/single/button/node/texticonnode.js | 2 +- src/base/single/button/node/textnode.js | 2 +- src/base/single/editor/editor.code.js | 2 +- src/base/single/editor/editor.js | 2 +- src/base/single/editor/editor.multifile.js | 2 +- src/base/single/editor/editor.textarea.js | 2 +- src/base/single/icon/icon.js | 2 +- src/base/single/iframe/iframe.js | 2 +- src/base/single/img/img.js | 2 +- src/base/single/input/checkbox.js | 2 +- src/base/single/input/file.js | 2 +- src/base/single/input/input.js | 2 +- src/base/single/input/radio.js | 2 +- src/base/single/label/label.js | 2 +- src/base/single/link/link.js | 2 +- src/base/single/text.js | 2 +- src/base/single/tip/tip.bubble.js | 2 +- src/base/single/tip/tip.toast.js | 2 +- src/base/single/tip/tip.tooltip.js | 2 +- src/base/svg/svg.js | 2 +- src/base/table/table.cell.js | 2 +- src/base/table/table.collection.cell.js | 2 +- src/base/table/table.collection.js | 2 +- src/base/table/table.collection.quick.js | 2 +- src/base/table/table.grid.cell.js | 2 +- src/base/table/table.grid.js | 2 +- src/base/table/table.grid.quick.js | 2 +- src/base/table/table.grid.scrollbar.js | 4 +- src/base/table/table.header.cell.js | 2 +- src/base/table/table.js | 2 +- src/base/table/table.resizable.cell.js | 2 +- src/base/table/table.resizable.js | 2 +- src/base/tree/customtree.js | 2 +- src/base/tree/parttree.js | 2 +- src/base/tree/synctree.js | 2 +- src/base/tree/treeview.js | 2 +- src/case/button/icon/icon.change.js | 2 +- src/case/button/icon/icon.half.js | 2 +- src/case/button/icon/icon.trigger.js | 2 +- src/case/button/item.multiselect.js | 2 +- src/case/button/item.singleselect.icontext.js | 2 +- src/case/button/item.singleselect.js | 2 +- src/case/button/item.singleselect.radio.js | 2 +- src/case/button/node/node.arrow.js | 2 +- src/case/button/node/node.first.plus.js | 2 +- src/case/button/node/node.icon.arrow.js | 2 +- src/case/button/node/node.last.plus.js | 2 +- src/case/button/node/node.mid.plus.js | 2 +- .../button/node/node.multilayer.icon.arrow.js | 2 +- src/case/button/node/node.plus.js | 2 +- src/case/button/node/node.triangle.js | 2 +- .../button/treeitem/item.first.treeleaf.js | 2 +- .../button/treeitem/item.icon.treeleaf.js | 2 +- .../button/treeitem/item.last.treeleaf.js | 2 +- src/case/button/treeitem/item.mid.treeleaf.js | 2 +- .../treeitem/item.multilayer.icon.treeleaf.js | 2 +- src/case/button/treeitem/item.treetextleaf.js | 2 +- src/case/calendar/calendar.js | 2 +- src/case/calendar/calendar.year.js | 2 +- src/case/canvas/canvas.complex.js | 2 +- src/case/checkbox/check.arrowtreegroupnode.js | 2 +- src/case/checkbox/check.checkingmarknode.js | 2 +- src/case/checkbox/check.first.treenode.js | 2 +- src/case/checkbox/check.last.treenode.js | 2 +- src/case/checkbox/check.mid.treenode.js | 2 +- src/case/checkbox/check.treegroupnode.js | 2 +- src/case/checkbox/check.treenode.js | 2 +- src/case/colorchooser/colorchooser.custom.js | 2 +- src/case/colorchooser/colorchooser.js | 2 +- src/case/colorchooser/colorchooser.popup.js | 2 +- src/case/colorchooser/colorchooser.trigger.js | 2 +- .../colorpicker/button/button.colorpicker.js | 2 +- .../colorchooser/colorpicker/colorpicker.js | 2 +- .../colorpicker/editor.colorpicker.js | 2 +- .../colorchooser/farbtastic/farbtastic.js | 2 +- src/case/combo/bubblecombo/combo.bubble.js | 2 +- src/case/combo/bubblecombo/popup.bubble.js | 4 +- .../combo.editoriconcheck.js | 2 +- src/case/combo/formulacombo/combo.formula.js | 2 +- .../combo/formulacombo/popup.formulacombo.js | 2 +- .../formulacombo/trigger.formulacombo.js | 2 +- src/case/combo/iconcombo/combo.icon.js | 2 +- src/case/combo/iconcombo/popup.iconcombo.js | 2 +- src/case/combo/iconcombo/trigger.iconcombo.js | 2 +- src/case/combo/staticcombo/combo.static.js | 2 +- .../combo.textvaluecheck.js | 2 +- .../combo.textvaluechecksmall.js | 2 +- .../popup.textvaluecheck.js | 2 +- .../combo/textvaluecombo/combo.textvalue.js | 2 +- .../textvaluecombo/combo.textvaluesmall.js | 2 +- .../combo/textvaluecombo/popup.textvalue.js | 2 +- .../combo.textvaluedownlist.js | 2 +- .../trigger.textvaluedownlist.js | 2 +- src/case/editor/editor.adapt.js | 2 +- src/case/editor/editor.clear.js | 2 +- src/case/editor/editor.record.js | 2 +- src/case/editor/editor.search.js | 2 +- src/case/editor/editor.search.small.js | 2 +- src/case/editor/editor.shelter.js | 2 +- src/case/editor/editor.sign.initial.js | 2 +- src/case/editor/editor.sign.js | 2 +- src/case/editor/editor.sign.style.js | 2 +- src/case/editor/editor.state.js | 2 +- src/case/editor/editor.state.simple.js | 2 +- src/case/editor/editor.text.js | 2 +- src/case/editor/editor.text.small.js | 2 +- src/case/layer/layer.multiselect.js | 2 +- src/case/layer/layer.panel.js | 2 +- src/case/layer/pane.list.js | 2 +- src/case/layer/panel.js | 2 +- src/case/list/list.select.js | 2 +- src/case/loader/loader.lazy.js | 2 +- src/case/loader/loader.list.js | 2 +- src/case/loader/sort.list.js | 2 +- src/case/pager/pager.all.count.js | 2 +- src/case/pager/pager.direction.js | 2 +- src/case/pager/pager.js | 2 +- src/case/segment/button.segment.js | 2 +- src/case/segment/segment.js | 2 +- src/case/table/table.adaptive.js | 2 +- .../table/table.dynamicsummarylayertree.js | 2 +- src/case/table/table.dynamicsummarytree.js | 2 +- src/case/table/table.layertree.js | 2 +- src/case/table/table.style.cell.js | 2 +- src/case/table/table.tree.js | 2 +- src/case/toolbar/toolbar.multiselect.js | 2 +- .../expander/expander.branch.handstand.js | 2 +- src/case/tree/expander/expander.branch.js | 2 +- src/case/tree/tree.branch.handstand.js | 2 +- src/case/tree/tree.branch.js | 2 +- src/case/tree/tree.display.js | 2 +- src/case/tree/tree.level.js | 2 +- src/case/tree/tree.simple.js | 2 +- src/case/trigger/trigger.editor.js | 2 +- src/case/trigger/trigger.icon.js | 2 +- src/case/trigger/trigger.text.js | 2 +- src/case/trigger/trigger.text.select.js | 2 +- src/case/trigger/trigger.text.select.small.js | 2 +- src/case/trigger/trigger.text.small.js | 2 +- src/case/zclip/zclip.js | 2 +- .../allvaluechooser/combo.allvaluechooser.js | 4 +- .../combo.treevaluechooser.js | 4 +- .../valuechooser/combo.valuechooser.js | 4 +- src/core/shortcut.js | 14 +- src/core/wrapper/layout.js | 2 +- .../wrapper/layout/adapt/absolute.center.js | 2 +- .../layout/adapt/absolute.horizontal.js | 2 +- .../wrapper/layout/adapt/absolute.vertical.js | 2 +- src/core/wrapper/layout/adapt/adapt.center.js | 2 +- .../wrapper/layout/adapt/adapt.horizontal.js | 2 +- .../layout/adapt/adapt.leftrightvertical.js | 6 +- .../wrapper/layout/adapt/adapt.vertical.js | 2 +- .../wrapper/layout/adapt/auto.horizontal.js | 2 +- src/core/wrapper/layout/adapt/float.center.js | 2 +- .../wrapper/layout/adapt/float.horizontal.js | 2 +- .../wrapper/layout/adapt/inline.center.js | 2 +- .../wrapper/layout/adapt/inline.vertical.js | 2 +- src/core/wrapper/layout/flex/flex.center.js | 2 +- .../wrapper/layout/flex/flex.horizontal.js | 2 +- .../layout/flex/flex.vertical.center.js | 2 +- .../flex/wrapper/flex.wrapper.center.js | 2 +- .../flex/wrapper/flex.wrapper.horizontal.js | 2 +- .../wrapper/flex.wrapper.vertical.center.js | 2 +- src/core/wrapper/layout/layout.absolute.js | 2 +- src/core/wrapper/layout/layout.adaptive.js | 2 +- src/core/wrapper/layout/layout.border.js | 2 +- src/core/wrapper/layout/layout.card.js | 2 +- src/core/wrapper/layout/layout.default.js | 2 +- src/core/wrapper/layout/layout.division.js | 2 +- src/core/wrapper/layout/layout.flow.js | 4 +- src/core/wrapper/layout/layout.grid.js | 2 +- src/core/wrapper/layout/layout.horizontal.js | 4 +- src/core/wrapper/layout/layout.inline.js | 2 +- src/core/wrapper/layout/layout.lattice.js | 2 +- src/core/wrapper/layout/layout.table.js | 2 +- src/core/wrapper/layout/layout.tape.js | 4 +- src/core/wrapper/layout/layout.td.js | 2 +- src/core/wrapper/layout/layout.vertical.js | 2 +- src/core/wrapper/layout/layout.window.js | 2 +- .../wrapper/layout/middle/middle.center.js | 2 +- .../layout/middle/middle.float.center.js | 2 +- .../layout/middle/middle.horizontal.js | 2 +- .../wrapper/layout/middle/middle.vertical.js | 2 +- .../adaptivearrangement.js | 2 +- src/widget/arrangement/arrangement.block.js | 2 +- .../arrangement/arrangement.droppable.js | 2 +- src/widget/arrangement/arrangement.js | 2 +- src/widget/branchrelation/branchrelation.js | 2 +- src/widget/date/calendar/combo.month.date.js | 4 +- src/widget/date/calendar/combo.year.date.js | 4 +- src/widget/date/calendar/picker.date.js | 4 +- .../date/calendar/popup.calendar.date.js | 4 +- .../date/calendar/trigger.triangle.date.js | 4 +- src/widget/date/combo.date.js | 4 +- src/widget/date/trigger.date.js | 4 +- src/widget/datepane/datepanenotselectday.js | 2 +- .../directionpathchooser.js | 2 +- src/widget/downlist/combo.downlist.js | 2 +- src/widget/downlist/group.downlist.js | 2 +- src/widget/downlist/item.downlist.js | 2 +- src/widget/downlist/item.downlistgroup.js | 2 +- src/widget/downlist/popup.downlist.js | 2 +- src/widget/exceltable/exceltable.cell.js | 2 +- .../exceltable/exceltable.header.cell.js | 2 +- src/widget/exceltable/exceltable.js | 2 +- .../filemanager/buttongroup.filemanager.js | 2 +- src/widget/filemanager/filemanager.js | 2 +- .../items/item.file.filemanager.js | 2 +- .../items/item.folder.filemanager.js | 2 +- src/widget/filemanager/list.filemanager.js | 2 +- .../nav/button/button.nav.filemanager.js | 2 +- src/widget/filemanager/nav/nav.filemanager.js | 2 +- .../finetuning.number.editor.js | 2 +- .../interactivearrangement.js | 2 +- src/widget/month/combo.month.js | 2 +- src/widget/month/popup.month.js | 2 +- src/widget/month/trigger.month.js | 2 +- .../multilayerselecttree.combo.js | 2 +- .../multilayerselecttree.leveltree.js | 2 +- .../multilayerselecttree.popup.js | 2 +- .../node/node.first.plus.js | 2 +- .../node/node.last.plus.js | 2 +- .../node/node.mid.plus.js | 2 +- .../multilayersingletree.combo.js | 2 +- .../multilayersingletree.leveltree.js | 2 +- .../multilayersingletree.popup.js | 2 +- .../node/node.first.plus.js | 2 +- .../node/node.last.plus.js | 2 +- .../node/node.mid.plus.js | 2 +- .../treeitem/item.first.treeleaf.js | 2 +- .../treeitem/item.last.treeleaf.js | 2 +- .../treeitem/item.mid.treeleaf.js | 2 +- .../check/multiselect.check.pane.js | 2 +- .../multiselect/check/multiselect.display.js | 2 +- src/widget/multiselect/multiselect.combo.js | 2 +- src/widget/multiselect/multiselect.loader.js | 2 +- .../multiselect/multiselect.popup.view.js | 2 +- src/widget/multiselect/multiselect.trigger.js | 2 +- .../search/multiselect.search.loader.js | 2 +- .../search/multiselect.search.pane.js | 2 +- .../trigger/button.checkselected.js | 2 +- .../multiselect/trigger/editor.multiselect.js | 2 +- .../trigger/searcher.multiselect.js | 2 +- .../trigger/switcher.checkselected.js | 2 +- src/widget/multistringlist/multistringlist.js | 4 +- .../multitree/check/multi.tree.check.pane.js | 2 +- src/widget/multitree/multi.tree.combo.js | 2 +- src/widget/multitree/multi.tree.popup.js | 2 +- .../multitree/multi.tree.search.pane.js | 2 +- .../multi.tree.button.checkselected.js | 2 +- .../multitree/trigger/searcher.multi.tree.js | 2 +- src/widget/multitreelist/multitreelist.js | 4 +- .../multitreelist/multitreelist.popup.js | 4 +- .../numericalinterval/numericalinterval.js | 2 +- src/widget/pagetable/pagetable.cell.js | 2 +- src/widget/pagetable/pagetable.js | 2 +- src/widget/pathchooser/pathchooser.js | 2 +- src/widget/pathchooser/pathregion.js | 2 +- src/widget/previewtable/previewtable.cell.js | 2 +- .../previewtable/previewtable.header.cell.js | 2 +- src/widget/previewtable/previewtable.js | 2 +- src/widget/quarter/combo.quarter.js | 2 +- src/widget/quarter/popup.quarter.js | 2 +- src/widget/quarter/trigger.quarter.js | 2 +- src/widget/relationview/relationview.item.js | 2 +- src/widget/relationview/relationview.js | 2 +- .../relationview.region.container.js | 2 +- .../relationview/relationview.region.js | 2 +- .../selecttree/nodes/node.first.plus.js | 2 +- src/widget/selecttree/nodes/node.last.plus.js | 2 +- src/widget/selecttree/nodes/node.mid.plus.js | 2 +- src/widget/selecttree/selecttree.combo.js | 2 +- src/widget/selecttree/selecttree.expander.js | 2 +- src/widget/selecttree/selecttree.popup.js | 2 +- .../dynamicnumber.sequencetable.js | 2 +- .../sequencetable/listnumber.sequencetable.js | 2 +- src/widget/sequencetable/sequencetable.js | 2 +- .../sequencetable/treenumber.sequencetable.js | 2 +- src/widget/singletree/singletree.combo.js | 2 +- src/widget/singletree/singletree.popup.js | 2 +- src/widget/singletree/singletree.trigger.js | 2 +- src/widget/switchtree/switchtree.js | 2 +- src/widget/web/web.js | 2 +- src/widget/year/combo.year.js | 2 +- src/widget/year/popup.year.js | 2 +- src/widget/year/trigger.year.js | 2 +- src/widget/yearmonth/combo.yearmonth.js | 2 +- src/widget/yearquarter/combo.yearquarter.js | 2 +- 402 files changed, 1110 insertions(+), 2673 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 95dc68ee1..31730ad34 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -130,7 +130,6 @@ module.exports = function (grunt) { bi_coreJs: { src: [ - 'src/core/underscore.js', 'src/core/foundation.js', 'src/core/mvc/**/*.js', 'src/core/base.js', diff --git a/bi/base.js b/bi/base.js index cc4bda455..6a1ab582f 100644 --- a/bi/base.js +++ b/bi/base.js @@ -596,7 +596,7 @@ BI.Text = BI.inherit(BI.Single, { } }); -$.shortcut("bi.text", BI.Text);/** +BI.shortcut("bi.text", BI.Text);/** * guy * @class BI.BasicButton * @extends BI.Single @@ -1279,7 +1279,7 @@ BI.extend(BI.ButtonGroup, { }); BI.ButtonGroup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.button_group", BI.ButtonGroup);/** +BI.shortcut("bi.button_group", BI.ButtonGroup);/** * Created by GUY on 2015/8/10. * @class BI.ButtonTree * @extends BI.ButtonGroup @@ -1460,7 +1460,7 @@ BI.ButtonTree = BI.inherit(BI.ButtonGroup, { }); BI.ButtonTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.button_tree", BI.ButtonTree);/** +BI.shortcut("bi.button_tree", BI.ButtonTree);/** * guy * 异步树 * @class BI.TreeView @@ -1966,7 +1966,7 @@ BI.TreeView.EVENT_CHANGE = "EVENT_CHANGE"; BI.TreeView.EVENT_INIT = BI.Events.INIT; BI.TreeView.EVENT_AFTERINIT = BI.Events.AFTERINIT; -$.shortcut("bi.tree_view", BI.TreeView);/** +BI.shortcut("bi.tree_view", BI.TreeView);/** * guy * 同步树 * @class BI.SyncTree @@ -2174,7 +2174,7 @@ BI.SyncTree = BI.inherit(BI.TreeView, { } }); -$.shortcut("bi.sync_tree", BI.SyncTree);/** +BI.shortcut("bi.sync_tree", BI.SyncTree);/** * guy * 局部树,两个请求树, 第一个请求构造树,第二个请求获取节点 * @class BI.PartTree @@ -2348,7 +2348,7 @@ BI.PartTree = BI.inherit(BI.SyncTree, { } }); -$.shortcut("bi.part_tree", BI.PartTree);BI.Resizers = new BI.ResizeController(); +BI.shortcut("bi.part_tree", BI.PartTree);BI.Resizers = new BI.ResizeController(); BI.Layers = new BI.LayerController(); BI.Maskers = new BI.MaskersController(); BI.Bubbles = new BI.BubblesController(); @@ -2490,7 +2490,7 @@ BI.Canvas = BI.inherit(BI.Widget, { }); } }); -$.shortcut("bi.canvas", BI.Canvas);/** +BI.shortcut("bi.canvas", BI.Canvas);/** * Collection * * Created by GUY on 2016/1/15. @@ -2781,7 +2781,7 @@ BI.Collection = BI.inherit(BI.Widget, { } }); BI.Collection.EVENT_SCROLL = "EVENT_SCROLL"; -$.shortcut('bi.collection_view', BI.Collection);/** +BI.shortcut('bi.collection_view', BI.Collection);/** * @class BI.Combo * @extends BI.Widget */ @@ -3179,7 +3179,7 @@ BI.Combo.EVENT_AFTER_POPUPVIEW = "EVENT_AFTER_POPUPVIEW"; BI.Combo.EVENT_BEFORE_HIDEVIEW = "EVENT_BEFORE_HIDEVIEW"; BI.Combo.EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; -$.shortcut("bi.combo", BI.Combo);/** +BI.shortcut("bi.combo", BI.Combo);/** * * 某个可以展开的节点 * @@ -3456,7 +3456,7 @@ BI.Expander.EVENT_AFTER_POPUPVIEW = "EVENT_AFTER_POPUPVIEW"; BI.Expander.EVENT_BEFORE_HIDEVIEW = "EVENT_BEFORE_HIDEVIEW"; BI.Expander.EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; -$.shortcut("bi.expander", BI.Expander);/** +BI.shortcut("bi.expander", BI.Expander);/** * Created by GUY on 2015/8/10. */ @@ -3556,7 +3556,7 @@ BI.ComboGroup = BI.inherit(BI.Widget, { }); BI.ComboGroup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.combo_group", BI.ComboGroup);BI.VirtualGroup = BI.inherit(BI.Widget, { +BI.shortcut("bi.combo_group", BI.ComboGroup);BI.VirtualGroup = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.VirtualGroup.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-virtual-group", @@ -3627,7 +3627,7 @@ $.shortcut("bi.combo_group", BI.ComboGroup);BI.VirtualGroup = BI.inherit(BI.Widg }); BI.VirtualGroup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.virtual_group", BI.VirtualGroup);/** +BI.shortcut("bi.virtual_group", BI.VirtualGroup);/** * 加载控件 * * Created by GUY on 2015/8/31. @@ -3888,7 +3888,7 @@ BI.Loader = BI.inherit(BI.Widget, { } }); BI.Loader.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.loader", BI.Loader);/** +BI.shortcut("bi.loader", BI.Loader);/** * Created by GUY on 2015/6/26. */ @@ -4025,7 +4025,7 @@ BI.Navigation = BI.inherit(BI.Widget, { }); BI.Navigation.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.navigation", BI.Navigation);/** +BI.shortcut("bi.navigation", BI.Navigation);/** * 搜索逻辑控件 * * Created by GUY on 2015/9/28. @@ -4327,7 +4327,7 @@ BI.Searcher.EVENT_PAUSE = "EVENT_PAUSE"; BI.Searcher.EVENT_SEARCHING = "EVENT_SEARCHING"; BI.Searcher.EVENT_AFTER_INIT = "EVENT_AFTER_INIT"; -$.shortcut("bi.searcher", BI.Searcher);/** +BI.shortcut("bi.searcher", BI.Searcher);/** * * 切换显示或隐藏面板 * @@ -4603,7 +4603,7 @@ BI.Switcher.EVENT_AFTER_POPUPVIEW = "EVENT_AFTER_POPUPVIEW"; BI.Switcher.EVENT_BEFORE_HIDEVIEW = "EVENT_BEFORE_HIDEVIEW"; BI.Switcher.EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; -$.shortcut("bi.switcher", BI.Switcher);/** +BI.shortcut("bi.switcher", BI.Switcher);/** * Created by GUY on 2015/6/26. */ @@ -4729,7 +4729,7 @@ BI.Tab = BI.inherit(BI.Widget, { }); BI.Tab.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.tab", BI.Tab);/** +BI.shortcut("bi.tab", BI.Tab);/** * 表示当前对象 * * Created by GUY on 2015/9/7. @@ -4770,7 +4770,7 @@ BI.EL = BI.inherit(BI.Widget, { this.ele.populate.apply(this, arguments); } }); -$.shortcut('bi.el', BI.EL);// CodeMirror, copyright (c) by Marijn Haverbeke and others +BI.shortcut('bi.el', BI.EL);// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE // This is CodeMirror (http://codemirror.net), a code editor @@ -14337,7 +14337,7 @@ BI.FormulaEditor = BI.inherit(BI.Single, { BI.FormulaEditor.EVENT_CHANGE = "EVENT_CHANGE"; BI.FormulaEditor.EVENT_BLUR = "EVENT_BLUR"; BI.FormulaEditor.EVENT_FOCUS = "EVENT_FOCUS"; -$.shortcut("bi.formula_editor", BI.FormulaEditor); +BI.shortcut("bi.formula_editor", BI.FormulaEditor); /** * z-index在1亿层级 * 弹出提示消息框,用于模拟阻塞操作(通过回调函数实现) @@ -14809,7 +14809,7 @@ BI.Grid = BI.inherit(BI.Widget, { } }); BI.Grid.EVENT_SCROLL = "EVENT_SCROLL"; -$.shortcut('bi.grid_view', BI.Grid);/** +BI.shortcut('bi.grid_view', BI.Grid);/** * floatBox弹出层, * @class BI.FloatBox * @extends BI.Widget @@ -14950,7 +14950,7 @@ BI.FloatBox = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.float_box", BI.FloatBox); +BI.shortcut("bi.float_box", BI.FloatBox); BI.FloatBox.EVENT_FLOAT_BOX_CLOSED = "EVENT_FLOAT_BOX_CLOSED"; BI.FloatBox.EVENT_FLOAT_BOX_OPEN = "EVENT_FLOAT_BOX_CLOSED"; @@ -15134,7 +15134,7 @@ BI.PopupView = BI.inherit(BI.Widget, { } }); BI.PopupView.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.popup_view", BI.PopupView);/** +BI.shortcut("bi.popup_view", BI.PopupView);/** * 搜索面板 * * Created by GUY on 2015/9/28. @@ -15272,7 +15272,7 @@ BI.SearcherView = BI.inherit(BI.Pane, { }); BI.SearcherView.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.searcher_view", BI.SearcherView);/** +BI.shortcut("bi.searcher_view", BI.SearcherView);/** * 分页控件 * * Created by GUY on 2015/8/31. @@ -15559,7 +15559,7 @@ BI.Pager = BI.inherit(BI.Widget, { }); BI.Pager.EVENT_CHANGE = "EVENT_CHANGE"; BI.Pager.EVENT_AFTER_POPULATE = "EVENT_AFTER_POPULATE"; -$.shortcut("bi.pager", BI.Pager);/** +BI.shortcut("bi.pager", BI.Pager);/** * 超链接 * * Created by GUY on 2015/9/9. @@ -15590,7 +15590,7 @@ BI.A = BI.inherit(BI.Text, { } }); -$.shortcut("bi.a", BI.A);/** +BI.shortcut("bi.a", BI.A);/** * guy * 加载条 * @type {*|void|Object} @@ -15673,7 +15673,7 @@ BI.LoadingBar = BI.inherit(BI.Single, { } }); -$.shortcut("bi.loading_bar", BI.LoadingBar);/** +BI.shortcut("bi.loading_bar", BI.LoadingBar);/** * @class BI.IconButton * @extends BI.BasicButton * 图标的button @@ -15723,7 +15723,7 @@ BI.IconButton = BI.inherit(BI.BasicButton, { } }); BI.IconButton.EVENT_CHANGE = "IconButton.EVENT_CHANGE"; -$.shortcut("bi.icon_button", BI.IconButton);/** +BI.shortcut("bi.icon_button", BI.IconButton);/** * 图片的button * * Created by GUY on 2016/1/27. @@ -15809,7 +15809,7 @@ BI.ImageButton = BI.inherit(BI.BasicButton, { } }); BI.ImageButton.EVENT_CHANGE = "ImageButton.EVENT_CHANGE"; -$.shortcut("bi.image_button", BI.ImageButton);(function ($) { +BI.shortcut("bi.image_button", BI.ImageButton);(function ($) { /** * 文字类型的按钮 @@ -15946,7 +15946,7 @@ $.shortcut("bi.image_button", BI.ImageButton);(function ($) { BI.Button.superclass.destroy.apply(this, arguments); } }); - $.shortcut('bi.button', BI.Button); + BI.shortcut('bi.button', BI.Button); BI.Button.EVENT_CHANGE = "EVENT_CHANGE"; })(jQuery);/** * guy @@ -16037,7 +16037,7 @@ BI.TextButton = BI.inherit(BI.BasicButton, { } }); BI.TextButton.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_button", BI.TextButton);/** +BI.shortcut("bi.text_button", BI.TextButton);/** * 带有一个占位 * * Created by GUY on 2015/9/11. @@ -16155,7 +16155,7 @@ BI.BlankIconIconTextItem = BI.inherit(BI.BasicButton, { } }); BI.BlankIconIconTextItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.blank_icon_icon_text_item", BI.BlankIconIconTextItem);/** +BI.shortcut("bi.blank_icon_icon_text_item", BI.BlankIconIconTextItem);/** * guy * 一个占位符和两个icon和一行数 组成的一行listitem * @@ -16291,7 +16291,7 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, { } }); BI.BlankIconTextIconItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.blank_icon_text_icon_item", BI.BlankIconTextIconItem);/** +BI.shortcut("bi.blank_icon_text_icon_item", BI.BlankIconTextIconItem);/** * 带有一个占位 * * Created by GUY on 2015/9/11. @@ -16401,7 +16401,7 @@ BI.BlankIconTextItem = BI.inherit(BI.BasicButton, { } }); BI.BlankIconTextItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.blank_icon_text_item", BI.BlankIconTextItem);/** +BI.shortcut("bi.blank_icon_text_item", BI.BlankIconTextItem);/** * guy * 两个icon和一行数 组成的一行listitem * @@ -16534,7 +16534,7 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, { } }); BI.IconTextIconItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_text_icon_item", BI.IconTextIconItem);/** +BI.shortcut("bi.icon_text_icon_item", BI.IconTextIconItem);/** * guy * * Created by GUY on 2015/9/9. @@ -16639,7 +16639,7 @@ BI.IconTextItem = BI.inherit(BI.BasicButton, { } }); BI.IconTextItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_text_item", BI.IconTextItem);/** +BI.shortcut("bi.icon_text_item", BI.IconTextItem);/** * * 图标的button * @@ -16745,7 +16745,7 @@ BI.TextIconItem = BI.inherit(BI.BasicButton, { } }); BI.TextIconItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_icon_item", BI.TextIconItem);/** +BI.shortcut("bi.text_icon_item", BI.TextIconItem);/** * guy * 一个button和一行数 组成的一行listitem * @@ -16830,7 +16830,7 @@ BI.TextItem = BI.inherit(BI.BasicButton, { } }); BI.TextItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_item", BI.TextItem);/** +BI.shortcut("bi.text_item", BI.TextItem);/** * guy * Created by GUY on 2015/9/9. * @class BI.IconTextIconNode @@ -16953,7 +16953,7 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, { } }); BI.IconTextIconNode.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_text_icon_node", BI.IconTextIconNode);/** +BI.shortcut("bi.icon_text_icon_node", BI.IconTextIconNode);/** * guy * Created by GUY on 2015/9/9. * @class BI.IconTextNode @@ -17049,7 +17049,7 @@ BI.IconTextNode = BI.inherit(BI.NodeButton, { } }); BI.IconTextNode.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_text_node", BI.IconTextNode);/** +BI.shortcut("bi.icon_text_node", BI.IconTextNode);/** * Created by GUY on 2015/9/9. * @class BI.TextIconNode * @extends BI.NodeButton @@ -17144,7 +17144,7 @@ BI.TextIconNode = BI.inherit(BI.NodeButton, { } }); BI.TextIconNode.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_icon_node", BI.TextIconNode);/** +BI.shortcut("bi.text_icon_node", BI.TextIconNode);/** * guy * * Created by GUY on 2015/9/9. @@ -17220,7 +17220,7 @@ BI.TextNode = BI.inherit(BI.NodeButton, { } }); BI.TextNode.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_node", BI.TextNode);/** +BI.shortcut("bi.text_node", BI.TextNode);/** * * Created by GUY on 2016/1/15. * @class BI.CodeEditor @@ -17365,7 +17365,7 @@ BI.CodeEditor = BI.inherit(BI.Single, { BI.CodeEditor.EVENT_CHANGE = "EVENT_CHANGE"; BI.CodeEditor.EVENT_BLUR = "EVENT_BLUR"; BI.CodeEditor.EVENT_FOCUS = "EVENT_FOCUS"; -$.shortcut("bi.code_editor", BI.CodeEditor);/** +BI.shortcut("bi.code_editor", BI.CodeEditor);/** * Created by GUY on 2015/4/15. * @class BI.Editor * @extends BI.Single @@ -17696,7 +17696,7 @@ BI.Editor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.Editor.EVENT_REMOVE = "EVENT_REMOVE"; BI.Editor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.editor", BI.Editor);/** +BI.shortcut("bi.editor", BI.Editor);/** * 多文件 * * Created by GUY on 2016/4/13. @@ -17789,7 +17789,7 @@ BI.MultifileEditor.EVENT_UPLOADSTART = "MultifileEditor.EVENT_UPLOADSTART"; BI.MultifileEditor.EVENT_ERROR = "MultifileEditor.EVENT_ERROR"; BI.MultifileEditor.EVENT_PROGRESS = "MultifileEditor.EVENT_PROGRESS"; BI.MultifileEditor.EVENT_UPLOADED = "MultifileEditor.EVENT_UPLOADED"; -$.shortcut("bi.multifile_editor", BI.MultifileEditor);/** +BI.shortcut("bi.multifile_editor", BI.MultifileEditor);/** * * Created by GUY on 2016/1/18. * @class BI.TextAreaEditor @@ -17954,7 +17954,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, { BI.TextAreaEditor.EVENT_CHANGE = "EVENT_CHANGE"; BI.TextAreaEditor.EVENT_BLUR = "EVENT_BLUR"; BI.TextAreaEditor.EVENT_FOCUS = "EVENT_FOCUS"; -$.shortcut("bi.textarea_editor", BI.TextAreaEditor);/** +BI.shortcut("bi.textarea_editor", BI.TextAreaEditor);/** * guy 图标 * @class BI.Icon * @extends BI.Single @@ -17971,7 +17971,7 @@ BI.Icon = BI.inherit(BI.Single, { BI.Icon.superclass._init.apply(this, arguments); } }); -$.shortcut("bi.icon", BI.Icon);/** +BI.shortcut("bi.icon", BI.Icon);/** * @class BI.Iframe * @extends BI.Single * @abstract @@ -18012,7 +18012,7 @@ BI.Iframe = BI.inherit(BI.Single, { } }); -$.shortcut("bi.iframe", BI.Iframe);/** +BI.shortcut("bi.iframe", BI.Iframe);/** * ͼƬ * * Created by GUY on 2016/1/26. @@ -18047,7 +18047,7 @@ BI.Img = BI.inherit(BI.Single, { } }); -$.shortcut("bi.img", BI.Img); +BI.shortcut("bi.img", BI.Img); /** * guy * @extends BI.Single @@ -18080,7 +18080,7 @@ BI.Checkbox = BI.inherit(BI.IconButton, { }); BI.Checkbox.EVENT_CHANGE = "Checkbox.EVENT_CHANGE"; -$.shortcut("bi.checkbox", BI.Checkbox);/** +BI.shortcut("bi.checkbox", BI.Checkbox);/** * 文件 * * Created by GUY on 2016/1/27. @@ -18697,7 +18697,7 @@ $.shortcut("bi.checkbox", BI.Checkbox);/** BI.File.EVENT_ERROR = "EVENT_ERROR"; BI.File.EVENT_PROGRESS = "EVENT_PROGRESS"; BI.File.EVENT_UPLOADED = "EVENT_UPLOADED"; - $.shortcut("bi.file", BI.File); + BI.shortcut("bi.file", BI.File); })();/** * guy * @class BI.Input 一个button和一行数 组成的一行listitem @@ -18981,7 +18981,7 @@ BI.Input.EVENT_VALID = "EVENT_VALID"; BI.Input.EVENT_ERROR = "EVENT_ERROR"; BI.Input.EVENT_ENTER = "EVENT_ENTER"; BI.Input.EVENT_RESTRICT = "EVENT_RESTRICT"; -$.shortcut("bi.input", BI.Input);/** +BI.shortcut("bi.input", BI.Input);/** * guy * @extends BI.Single * @type {*|void|Object} @@ -19013,7 +19013,7 @@ BI.Radio = BI.inherit(BI.IconButton, { }); BI.Radio.EVENT_CHANGE = "Radio.EVENT_CHANGE"; -$.shortcut("bi.radio", BI.Radio);/** +BI.shortcut("bi.radio", BI.Radio);/** * Created by GUY on 2015/6/26. */ @@ -19483,7 +19483,7 @@ BI.Label = BI.inherit(BI.Single, { } }); -$.shortcut("bi.label", BI.Label);/** +BI.shortcut("bi.label", BI.Label);/** * guy a元素 * @class BI.Link * @extends BI.Text @@ -19519,7 +19519,7 @@ BI.Link = BI.inherit(BI.Label, { } }); -$.shortcut("bi.link", BI.Link);/** +BI.shortcut("bi.link", BI.Link);/** * guy * 气泡提示 * @class BI.Bubble @@ -19625,7 +19625,7 @@ BI.Bubble = BI.inherit(BI.Tip, { } }); -$.shortcut("bi.bubble", BI.Bubble);/** +BI.shortcut("bi.bubble", BI.Bubble);/** * toast提示 * * Created by GUY on 2015/9/7. @@ -19678,7 +19678,7 @@ BI.Toast = BI.inherit(BI.Tip, { } }); -$.shortcut("bi.toast", BI.Toast);/** +BI.shortcut("bi.toast", BI.Toast);/** * toast提示 * * Created by GUY on 2015/9/7. @@ -19760,7 +19760,7 @@ BI.Tooltip = BI.inherit(BI.Tip, { } }); -$.shortcut("bi.tooltip", BI.Tooltip);/** +BI.shortcut("bi.tooltip", BI.Tooltip);/** * 下拉 * @class BI.Trigger * @extends BI.Single @@ -28160,7 +28160,7 @@ BI.Svg = BI.inherit(BI.Widget, { return this.paper.clear.apply(this.paper, arguments); } }); -$.shortcut("bi.svg", BI.Svg);/** +BI.shortcut("bi.svg", BI.Svg);/** * * 表格 * @@ -28192,7 +28192,7 @@ BI.TableCell = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.table_cell", BI.TableCell);/** +BI.shortcut("bi.table_cell", BI.TableCell);/** * * 表格单元格 * @@ -28248,7 +28248,7 @@ BI.CollectionTableCell = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.collection_table_cell", BI.CollectionTableCell);/** +BI.shortcut("bi.collection_table_cell", BI.CollectionTableCell);/** * CollectionTable * * Created by GUY on 2016/1/12. @@ -28794,7 +28794,7 @@ BI.CollectionTable = BI.inherit(BI.Widget, { this._restore(); } }); -$.shortcut('bi.collection_table', BI.CollectionTable);/** +BI.shortcut('bi.collection_table', BI.CollectionTable);/** * QuickCollectionTable * * Created by GUY on 2016/1/12. @@ -28933,7 +28933,7 @@ BI.QuickCollectionTable = BI.inherit(BI.CollectionTable, { this.bottomRightCollection.populate(rightItems); } }); -$.shortcut('bi.quick_collection_table', BI.QuickCollectionTable);/** +BI.shortcut('bi.quick_collection_table', BI.QuickCollectionTable);/** * * 表格单元格 * @@ -28991,7 +28991,7 @@ BI.GridTableCell = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.grid_table_cell", BI.GridTableCell);/** +BI.shortcut("bi.grid_table_cell", BI.GridTableCell);/** * GridTable * * Created by GUY on 2016/1/12. @@ -29461,7 +29461,7 @@ BI.GridTable = BI.inherit(BI.Widget, { this._restore(); } }); -$.shortcut('bi.grid_table', BI.GridTable);/** +BI.shortcut('bi.grid_table', BI.GridTable);/** * QuickGridTable * * Created by GUY on 2016/1/12. @@ -29625,7 +29625,7 @@ BI.QuickGridTable = BI.inherit(BI.GridTable, { this.bottomRightGrid.populate(rightItems); } }); -$.shortcut('bi.quick_grid_table', BI.QuickGridTable);/** +BI.shortcut('bi.quick_grid_table', BI.QuickGridTable);/** * * 表格滚动条 * @@ -29951,7 +29951,7 @@ BI.GridTableScrollbar = BI.inherit(BI.Widget, { }); BI.GridTableScrollbar.SIZE = 10; BI.GridTableScrollbar.EVENT_SCROLL = "EVENT_SCROLL"; -$.shortcut("bi.grid_table_scrollbar", BI.GridTableScrollbar); +BI.shortcut("bi.grid_table_scrollbar", BI.GridTableScrollbar); BI.GridTableHorizontalScrollbar = BI.inherit(BI.Widget, { @@ -30031,7 +30031,7 @@ BI.GridTableHorizontalScrollbar = BI.inherit(BI.Widget, { } }); BI.GridTableHorizontalScrollbar.EVENT_SCROLL = "EVENT_SCROLL"; -$.shortcut("bi.grid_table_horizontal_scrollbar", BI.GridTableHorizontalScrollbar);/** +BI.shortcut("bi.grid_table_horizontal_scrollbar", BI.GridTableHorizontalScrollbar);/** * * 表格 * @@ -30060,7 +30060,7 @@ BI.TableHeaderCell = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.table_header_cell", BI.TableHeaderCell);/** +BI.shortcut("bi.table_header_cell", BI.TableHeaderCell);/** * * 表格 * @@ -31998,7 +31998,7 @@ BI.Table.EVENT_TABLE_AFTER_COLUMN_RESIZE = "EVENT_TABLE_AFTER_COLUMN_RESIZE"; BI.Table.EVENT_TABLE_BEFORE_REGION_RESIZE = "EVENT_TABLE_BEFORE_REGION_RESIZE"; BI.Table.EVENT_TABLE_REGION_RESIZE = "EVENT_TABLE_REGION_RESIZE"; BI.Table.EVENT_TABLE_AFTER_REGION_RESIZE = "EVENT_TABLE_AFTER_REGION_RESIZE"; -$.shortcut("bi.table_view", BI.Table); +BI.shortcut("bi.table_view", BI.Table); /** * * 表格单元格 @@ -32094,7 +32094,7 @@ BI.ResizableTableCell = BI.inherit(BI.Widget, { this.cell.setHeight(o.height); } }); -$.shortcut("bi.resizable_table_cell", BI.ResizableTableCell);/** +BI.shortcut("bi.resizable_table_cell", BI.ResizableTableCell);/** * * 可调整列宽的grid表格 * @@ -32442,7 +32442,7 @@ BI.ResizableTable = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.resizable_table", BI.ResizableTable);/** +BI.shortcut("bi.resizable_table", BI.ResizableTable);/** * * 自定义树 * @@ -32596,7 +32596,7 @@ BI.CustomTree = BI.inherit(BI.Widget, { }); BI.CustomTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.custom_tree", BI.CustomTree);/* +BI.shortcut("bi.custom_tree", BI.CustomTree);/* * JQuery zTree core v3.5.18 * http://zTree.me/ * diff --git a/bi/case.js b/bi/case.js index 638fdd5ec..96c0ff995 100644 --- a/bi/case.js +++ b/bi/case.js @@ -85,7 +85,7 @@ BI.IconChangeButton = BI.inherit(BI.Single, { } }); BI.IconChangeButton.EVENT_CHANGE = "IconChangeButton.EVENT_CHANGE"; -$.shortcut("bi.icon_change_button", BI.IconChangeButton);/** +BI.shortcut("bi.icon_change_button", BI.IconChangeButton);/** * guy * @extends BI.Single * @type {*|void|Object} @@ -116,7 +116,7 @@ BI.HalfIconButton = BI.inherit(BI.IconButton, { }); BI.HalfIconButton.EVENT_CHANGE = "HalfIconButton.EVENT_CHANGE"; -$.shortcut("bi.half_icon_button", BI.HalfIconButton);/** +BI.shortcut("bi.half_icon_button", BI.HalfIconButton);/** * 统一的trigger图标按钮 * * Created by GUY on 2015/9/16. @@ -145,7 +145,7 @@ BI.TriggerIconButton = BI.inherit(BI.IconButton, { } }); BI.TriggerIconButton.EVENT_CHANGE = "TriggerIconButton.EVENT_CHANGE"; -$.shortcut("bi.trigger_icon_button", BI.TriggerIconButton);/** +BI.shortcut("bi.trigger_icon_button", BI.TriggerIconButton);/** * guy * 复选框item * @type {*|void|Object} @@ -221,7 +221,7 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { } }); BI.MultiSelectItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multi_select_item", BI.MultiSelectItem);/** +BI.shortcut("bi.multi_select_item", BI.MultiSelectItem);/** * Created by GUY on 2016/2/2. * * @class BI.SingleSelectIconTextItem @@ -279,7 +279,7 @@ BI.SingleSelectIconTextItem = BI.inherit(BI.Single, { } }); -$.shortcut("bi.single_select_icon_text_item", BI.SingleSelectIconTextItem);/** +BI.shortcut("bi.single_select_icon_text_item", BI.SingleSelectIconTextItem);/** * guy * 复选框item * @type {*|void|Object} @@ -328,7 +328,7 @@ BI.SingleSelectItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.single_select_item", BI.SingleSelectItem);/** +BI.shortcut("bi.single_select_item", BI.SingleSelectItem);/** * guy * 单选框item * @type {*|void|Object} @@ -401,7 +401,7 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.single_select_radio_item", BI.SingleSelectRadioItem);/** +BI.shortcut("bi.single_select_radio_item", BI.SingleSelectRadioItem);/** * Created by roy on 15/10/16. */ BI.ArrowNode = BI.inherit(BI.NodeButton, { @@ -480,7 +480,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.arrow_group_node", BI.ArrowNode);/** +BI.shortcut("bi.arrow_group_node", BI.ArrowNode);/** * 加号表示的组节点 * Created by GUY on 2015/9/6. * @class BI.FirstPlusGroupNode @@ -560,7 +560,7 @@ BI.FirstPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.first_plus_group_node", BI.FirstPlusGroupNode);/** +BI.shortcut("bi.first_plus_group_node", BI.FirstPlusGroupNode);/** * Created by User on 2016/3/31. */ /** @@ -661,7 +661,7 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.icon_arrow_node", BI.IconArrowNode);/** +BI.shortcut("bi.icon_arrow_node", BI.IconArrowNode);/** * 加号表示的组节点 * Created by GUY on 2015/9/6. * @class BI.LastPlusGroupNode @@ -741,7 +741,7 @@ BI.LastPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.last_plus_group_node", BI.LastPlusGroupNode);/** +BI.shortcut("bi.last_plus_group_node", BI.LastPlusGroupNode);/** * 加号表示的组节点 * Created by GUY on 2015/9/6. * @class BI.MidPlusGroupNode @@ -821,7 +821,7 @@ BI.MidPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArrowNode = BI.inherit(BI.NodeButton, { +BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArrowNode = BI.inherit(BI.NodeButton, { _defaultConfig: function () { var conf = BI.MultiLayerIconArrowNode.superclass._defaultConfig.apply(this, arguments); return BI.extend(conf, { @@ -910,7 +910,7 @@ $.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArrow } }); -$.shortcut("bi.multilayer_icon_arrow_node", BI.MultiLayerIconArrowNode);/** +BI.shortcut("bi.multilayer_icon_arrow_node", BI.MultiLayerIconArrowNode);/** * 加号表示的组节点 * Created by GUY on 2015/9/6. * @class BI.PlusGroupNode @@ -986,7 +986,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.plus_group_node", BI.PlusGroupNode);/** +BI.shortcut("bi.plus_group_node", BI.PlusGroupNode);/** * 三角号表示的组节点 * Created by GUY on 2015/9/6. * @class BI.TriangleGroupNode @@ -1068,7 +1068,7 @@ BI.TriangleGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.triangle_group_node", BI.TriangleGroupNode);/** +BI.shortcut("bi.triangle_group_node", BI.TriangleGroupNode);/** * guy * 复选框item * @type {*|void|Object} @@ -1171,7 +1171,7 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem = BI.inherit(BI.BasicButton, { +BI.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem = BI.inherit(BI.BasicButton, { _defaultConfig: function () { return BI.extend(BI.IconTreeLeafItem.superclass._defaultConfig.apply(this, arguments), { extraCls: "bi-icon-tree-leaf-item bi-list-item-active", @@ -1258,7 +1258,7 @@ $.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem } }); -$.shortcut("bi.icon_tree_leaf_item", BI.IconTreeLeafItem);/** +BI.shortcut("bi.icon_tree_leaf_item", BI.IconTreeLeafItem);/** * guy * 复选框item * @type {*|void|Object} @@ -1361,7 +1361,7 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.last_tree_leaf_item", BI.LastTreeLeafItem);/** +BI.shortcut("bi.last_tree_leaf_item", BI.LastTreeLeafItem);/** * guy * 复选框item * @type {*|void|Object} @@ -1464,7 +1464,7 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.mid_tree_leaf_item", BI.MidTreeLeafItem);/** +BI.shortcut("bi.mid_tree_leaf_item", BI.MidTreeLeafItem);/** * @class BI.MultiLayerIconTreeLeafItem * @extends BI.BasicButton */ @@ -1559,7 +1559,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.multilayer_icon_tree_leaf_item", BI.MultiLayerIconTreeLeafItem);/** +BI.shortcut("bi.multilayer_icon_tree_leaf_item", BI.MultiLayerIconTreeLeafItem);/** * 树叶子节点 * Created by GUY on 2015/9/6. * @class BI.TreeTextLeafItem @@ -1627,7 +1627,7 @@ BI.TreeTextLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.tree_text_leaf_item", BI.TreeTextLeafItem);/** +BI.shortcut("bi.tree_text_leaf_item", BI.TreeTextLeafItem);/** * Created by GUY on 2015/8/28. * @class BI.Calendar * @extends BI.Widget @@ -1816,7 +1816,7 @@ BI.extend(BI.Calendar, { } }); -$.shortcut("bi.calendar", BI.Calendar);/** +BI.shortcut("bi.calendar", BI.Calendar);/** * Created by GUY on 2015/8/28. * @class BI.YearCalendar * @extends BI.Widget @@ -1956,7 +1956,7 @@ BI.extend(BI.YearCalendar, { } }); -$.shortcut("bi.year_calendar", BI.YearCalendar);/** +BI.shortcut("bi.year_calendar", BI.YearCalendar);/** * 绘制一些较复杂的canvas * * Created by GUY on 2015/11/24. @@ -2047,7 +2047,7 @@ BI.ComplexCanvas = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.complex_canvas", BI.ComplexCanvas);/** +BI.shortcut("bi.complex_canvas", BI.ComplexCanvas);/** * Created by roy on 15/10/16. * 上箭头与下箭头切换的树节点 */ @@ -2071,7 +2071,7 @@ BI.ArrowTreeGroupNodeCheckbox=BI.inherit(BI.IconButton,{ } } }); -$.shortcut("bi.arrow_tree_group_node_checkbox",BI.ArrowTreeGroupNodeCheckbox);/** +BI.shortcut("bi.arrow_tree_group_node_checkbox",BI.ArrowTreeGroupNodeCheckbox);/** * 十字型的树节点 * @class BI.CheckingMarkNode * @extends BI.IconButton @@ -2098,7 +2098,7 @@ BI.CheckingMarkNode = BI.inherit(BI.IconButton, { } } }); -$.shortcut("bi.checking_mark_node", BI.CheckingMarkNode);/** +BI.shortcut("bi.checking_mark_node", BI.CheckingMarkNode);/** * 十字型的树节点 * @class BI.FirstTreeNodeCheckbox * @extends BI.IconButton @@ -2124,7 +2124,7 @@ BI.FirstTreeNodeCheckbox = BI.inherit(BI.IconButton, { } } }); -$.shortcut("bi.first_tree_node_checkbox", BI.FirstTreeNodeCheckbox);/** +BI.shortcut("bi.first_tree_node_checkbox", BI.FirstTreeNodeCheckbox);/** * 十字型的树节点 * @class BI.LastTreeNodeCheckbox * @extends BI.IconButton @@ -2150,7 +2150,7 @@ BI.LastTreeNodeCheckbox = BI.inherit(BI.IconButton, { } } }); -$.shortcut("bi.last_tree_node_checkbox", BI.LastTreeNodeCheckbox);/** +BI.shortcut("bi.last_tree_node_checkbox", BI.LastTreeNodeCheckbox);/** * 十字型的树节点 * @class BI.MidTreeNodeCheckbox * @extends BI.IconButton @@ -2176,7 +2176,7 @@ BI.MidTreeNodeCheckbox = BI.inherit(BI.IconButton, { } } }); -$.shortcut("bi.mid_tree_node_checkbox", BI.MidTreeNodeCheckbox);/** +BI.shortcut("bi.mid_tree_node_checkbox", BI.MidTreeNodeCheckbox);/** * 三角形的树节点 * Created by GUY on 2015/9/6. * @class BI.TreeGroupNodeCheckbox @@ -2203,7 +2203,7 @@ BI.TreeGroupNodeCheckbox = BI.inherit(BI.IconButton, { } } }); -$.shortcut("bi.tree_group_node_checkbox", BI.TreeGroupNodeCheckbox);/** +BI.shortcut("bi.tree_group_node_checkbox", BI.TreeGroupNodeCheckbox);/** * 十字型的树节点 * @class BI.TreeNodeCheckbox * @extends BI.IconButton @@ -2229,7 +2229,7 @@ BI.TreeNodeCheckbox = BI.inherit(BI.IconButton, { } } }); -$.shortcut("bi.tree_node_checkbox", BI.TreeNodeCheckbox);/** +BI.shortcut("bi.tree_node_checkbox", BI.TreeNodeCheckbox);/** * 自定义选色 * * Created by GUY on 2015/11/17. @@ -2298,7 +2298,7 @@ BI.CustomColorChooser = BI.inherit(BI.Widget, { } }); BI.CustomColorChooser.EVENT_CHANGE = "CustomColorChooser.EVENT_CHANGE"; -$.shortcut("bi.custom_color_chooser", BI.CustomColorChooser);/** +BI.shortcut("bi.custom_color_chooser", BI.CustomColorChooser);/** * 选色控件 * * Created by GUY on 2015/11/17. @@ -2383,7 +2383,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, { } }); BI.ColorChooser.EVENT_CHANGE = "ColorChooser.EVENT_CHANGE"; -$.shortcut("bi.color_chooser", BI.ColorChooser);/** +BI.shortcut("bi.color_chooser", BI.ColorChooser);/** * 选色控件 * * Created by GUY on 2015/11/17. @@ -2576,7 +2576,7 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, { }); BI.ColorChooserPopup.EVENT_VALUE_CHANGE = "ColorChooserPopup.EVENT_VALUE_CHANGE"; BI.ColorChooserPopup.EVENT_CHANGE = "ColorChooserPopup.EVENT_CHANGE"; -$.shortcut("bi.color_chooser_popup", BI.ColorChooserPopup);/** +BI.shortcut("bi.color_chooser_popup", BI.ColorChooserPopup);/** * 选色控件 * * Created by GUY on 2015/11/17. @@ -2633,7 +2633,7 @@ BI.ColorChooserTrigger = BI.inherit(BI.Trigger, { } }); BI.ColorChooserTrigger.EVENT_CHANGE = "ColorChooserTrigger.EVENT_CHANGE"; -$.shortcut("bi.color_chooser_trigger", BI.ColorChooserTrigger);/** +BI.shortcut("bi.color_chooser_trigger", BI.ColorChooserTrigger);/** * 简单选色控件按钮 * * Created by GUY on 2015/11/16. @@ -2692,7 +2692,7 @@ BI.ColorPickerButton = BI.inherit(BI.BasicButton, { } }); BI.ColorPickerButton.EVENT_CHANGE = "ColorPickerButton.EVENT_CHANGE"; -$.shortcut("bi.color_picker_button", BI.ColorPickerButton);/** +BI.shortcut("bi.color_picker_button", BI.ColorPickerButton);/** * 简单选色控件 * * Created by GUY on 2015/11/16. @@ -2880,7 +2880,7 @@ BI.ColorPicker = BI.inherit(BI.Widget, { } }); BI.ColorPicker.EVENT_CHANGE = "ColorPicker.EVENT_CHANGE"; -$.shortcut("bi.color_picker", BI.ColorPicker);/** +BI.shortcut("bi.color_picker", BI.ColorPicker);/** * 简单选色控件 * * Created by GUY on 2015/11/16. @@ -3013,7 +3013,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { } }); BI.ColorPickerEditor.EVENT_CHANGE = "ColorPickerEditor.EVENT_CHANGE"; -$.shortcut("bi.color_picker_editor", BI.ColorPickerEditor);/** +BI.shortcut("bi.color_picker_editor", BI.ColorPickerEditor);/** * 选色控件 * * Created by GUY on 2015/11/16. @@ -3050,7 +3050,7 @@ BI.Farbtastic = BI.inherit(BI.Widget, { } }); BI.Farbtastic.EVENT_CHANGE = "Farbtastic.EVENT_CHANGE"; -$.shortcut("bi.farbtastic", BI.Farbtastic);/** +BI.shortcut("bi.farbtastic", BI.Farbtastic);/** * Farbtastic Color Picker 1.2 * © 2008 Steven Wittens * @@ -3603,7 +3603,7 @@ BI.BubbleCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; BI.BubbleCombo.EVENT_AFTER_POPUPVIEW = "EVENT_AFTER_POPUPVIEW"; BI.BubbleCombo.EVENT_BEFORE_HIDEVIEW = "EVENT_BEFORE_HIDEVIEW"; BI.BubbleCombo.EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; -$.shortcut("bi.bubble_combo", BI.BubbleCombo);/** +BI.shortcut("bi.bubble_combo", BI.BubbleCombo);/** * Created by GUY on 2017/2/8. * * @class BI.BubblePopupView @@ -3675,7 +3675,7 @@ BI.BubblePopupView = BI.inherit(BI.PopupView, { } }); -$.shortcut("bi.bubble_popup_view", BI.BubblePopupView); +BI.shortcut("bi.bubble_popup_view", BI.BubblePopupView); /** * Created by GUY on 2017/2/8. @@ -3720,7 +3720,7 @@ BI.BubblePopupBarView = BI.inherit(BI.BubblePopupView, { } }); BI.BubblePopupBarView.EVENT_CLICK_TOOLBAR_BUTTON = "EVENT_CLICK_TOOLBAR_BUTTON"; -$.shortcut("bi.bubble_bar_popup_view", BI.BubblePopupBarView);/** +BI.shortcut("bi.bubble_bar_popup_view", BI.BubblePopupBarView);/** * Created by Young's on 2016/4/28. */ BI.EditorIconCheckCombo = BI.inherit(BI.Widget, { @@ -3799,7 +3799,7 @@ BI.EditorIconCheckCombo = BI.inherit(BI.Widget, { } }); BI.EditorIconCheckCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.editor_icon_check_combo", BI.EditorIconCheckCombo);/** +BI.shortcut("bi.editor_icon_check_combo", BI.EditorIconCheckCombo);/** * Created by GUY on 2016/4/25. * * @class BI.FormulaCombo @@ -3897,7 +3897,7 @@ BI.FormulaCombo = BI.inherit(BI.Widget, { } }); BI.FormulaCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.formula_combo", BI.FormulaCombo);/** +BI.shortcut("bi.formula_combo", BI.FormulaCombo);/** * Created by GUY on 2016/4/25. * * @class BI.FormulaComboPopup @@ -3985,7 +3985,7 @@ BI.FormulaComboPopup = BI.inherit(BI.Widget, { }); BI.FormulaComboPopup.EVENT_CHANGE = "EVENT_CHANGE"; BI.FormulaComboPopup.EVENT_VALUE_CANCEL = "EVENT_VALUE_CANCEL"; -$.shortcut("bi.formula_combo_popup", BI.FormulaComboPopup);/** +BI.shortcut("bi.formula_combo_popup", BI.FormulaComboPopup);/** * Created by GUY on 2016/4/25. * * @class BI.FormulaComboTrigger @@ -4043,7 +4043,7 @@ BI.FormulaComboTrigger = BI.inherit(BI.Widget, { this.label.setText(this._getTextFromFormulaValue(v)); } }); -$.shortcut("bi.formula_combo_trigger", BI.FormulaComboTrigger);/** +BI.shortcut("bi.formula_combo_trigger", BI.FormulaComboTrigger);/** * Created by GUY on 2016/2/2. * * @class BI.IconCombo @@ -4141,7 +4141,7 @@ BI.IconCombo = BI.inherit(BI.Widget, { } }); BI.IconCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_combo", BI.IconCombo);/** +BI.shortcut("bi.icon_combo", BI.IconCombo);/** * Created by GUY on 2016/2/2. * * @class BI.IconComboPopup @@ -4203,7 +4203,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, { }); BI.IconComboPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_combo_popup", BI.IconComboPopup);/** +BI.shortcut("bi.icon_combo_popup", BI.IconComboPopup);/** * Created by GUY on 2016/2/2. * * @class BI.IconComboTrigger @@ -4292,7 +4292,7 @@ BI.IconComboTrigger = BI.inherit(BI.Trigger, { } }); BI.IconComboTrigger.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_combo_trigger", BI.IconComboTrigger);/** +BI.shortcut("bi.icon_combo_trigger", BI.IconComboTrigger);/** * 单选combo * * @class BI.StaticCombo @@ -4358,7 +4358,7 @@ BI.StaticCombo = BI.inherit(BI.Widget, { } }); BI.StaticCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.static_combo", BI.StaticCombo);/** +BI.shortcut("bi.static_combo", BI.StaticCombo);/** * @class BI.TextValueCheckCombo * @extend BI.Widget * combo : text + icon, popup : check + text @@ -4435,7 +4435,7 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, { } }); BI.TextValueCheckCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_value_check_combo", BI.TextValueCheckCombo);/** +BI.shortcut("bi.text_value_check_combo", BI.TextValueCheckCombo);/** * @class BI.SmallTextValueCheckCombo * @extend BI.Widget * combo : text + icon, popup : check + text @@ -4503,7 +4503,7 @@ BI.SmallTextValueCheckCombo = BI.inherit(BI.Widget, { } }); BI.SmallTextValueCheckCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo);BI.TextValueCheckComboPopup = BI.inherit(BI.Pane, { +BI.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo);BI.TextValueCheckComboPopup = BI.inherit(BI.Pane, { _defaultConfig: function () { return BI.extend(BI.TextValueCheckComboPopup.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-text-icon-popup", @@ -4562,7 +4562,7 @@ $.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo);BI.Te }); BI.TextValueCheckComboPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_value_check_combo_popup", BI.TextValueCheckComboPopup);/** +BI.shortcut("bi.text_value_check_combo_popup", BI.TextValueCheckComboPopup);/** * @class BI.TextValueCombo * @extend BI.Widget * combo : text + icon, popup : text @@ -4632,7 +4632,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, { } }); BI.TextValueCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_value_combo", BI.TextValueCombo);/** +BI.shortcut("bi.text_value_combo", BI.TextValueCombo);/** * @class BI.SmallTextValueCombo * @extend BI.Widget * combo : text + icon, popup : text @@ -4702,7 +4702,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, { } }); BI.SmallTextValueCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueComboPopup = BI.inherit(BI.Pane, { +BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueComboPopup = BI.inherit(BI.Pane, { _defaultConfig: function () { return BI.extend(BI.TextValueComboPopup.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-text-icon-popup", @@ -4759,7 +4759,7 @@ $.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueComb }); BI.TextValueComboPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_value_combo_popup", BI.TextValueComboPopup);/** +BI.shortcut("bi.text_value_combo_popup", BI.TextValueComboPopup);/** * @class BI.TextValueDownListCombo * @extend BI.Widget */ @@ -4842,7 +4842,7 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, { } }); BI.TextValueDownListCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_value_down_list_combo", BI.TextValueDownListCombo);/** +BI.shortcut("bi.text_value_down_list_combo", BI.TextValueDownListCombo);/** * 选择字段trigger, downlist专用 * 显示形式为 父亲值(儿子值) * @@ -4895,7 +4895,7 @@ BI.DownListSelectTextTrigger = BI.inherit(BI.Trigger, { this.trigger.populate(this._formatItemArray(items)); } }); -$.shortcut("bi.down_list_select_text_trigger", BI.DownListSelectTextTrigger);/** +BI.shortcut("bi.down_list_select_text_trigger", BI.DownListSelectTextTrigger);/** * 根据内容自适应长度的输入框 * @class BI.AdaptiveEditor * @extends BI.Single @@ -5056,7 +5056,7 @@ BI.AdaptiveEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.AdaptiveEditor.EVENT_SPACE = "EVENT_SPACE"; BI.AdaptiveEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.adapt_editor", BI.AdaptiveEditor);/** +BI.shortcut("bi.adapt_editor", BI.AdaptiveEditor);/** * 有清楚按钮的文本框 * Created by GUY on 2015/9/29. * @class BI.SmallTextEditor @@ -5224,7 +5224,7 @@ BI.ClearEditor.EVENT_ENTER = "EVENT_ENTER"; BI.ClearEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.ClearEditor.EVENT_REMOVE = "EVENT_REMOVE"; BI.ClearEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.clear_editor", BI.ClearEditor);/** +BI.shortcut("bi.clear_editor", BI.ClearEditor);/** * guy * 记录内容的输入框 * @class BI.RecordEditor @@ -5450,7 +5450,7 @@ BI.RecordEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.RecordEditor.EVENT_SPACE = "EVENT_SPACE"; BI.RecordEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.record_editor", BI.RecordEditor);/** +BI.shortcut("bi.record_editor", BI.RecordEditor);/** * Created by roy on 15/9/14. */ BI.SearchEditor = BI.inherit(BI.Widget, { @@ -5647,7 +5647,7 @@ BI.SearchEditor.EVENT_ENTER = "EVENT_ENTER"; BI.SearchEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.SearchEditor.EVENT_REMOVE = "EVENT_REMOVE"; BI.SearchEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.search_editor", BI.SearchEditor);/** +BI.shortcut("bi.search_editor", BI.SearchEditor);/** * 小号搜索框 * Created by GUY on 2015/9/29. * @class BI.SmallSearchEditor @@ -5666,7 +5666,7 @@ BI.SmallSearchEditor = BI.inherit(BI.SearchEditor, { BI.SmallSearchEditor.superclass._init.apply(this, arguments); } }); -$.shortcut("bi.small_search_editor", BI.SmallSearchEditor);/** +BI.shortcut("bi.small_search_editor", BI.SmallSearchEditor);/** * 带标记的文本框 * Created by GUY on 2016/1/25. * @class BI.ShelterEditor @@ -5915,7 +5915,7 @@ BI.ShelterEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.ShelterEditor.EVENT_SPACE = "EVENT_SPACE"; BI.ShelterEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.shelter_editor", BI.ShelterEditor);/** +BI.shortcut("bi.shelter_editor", BI.ShelterEditor);/** * sign是新值(初始value值)形式的自适应宽度的输入框 * @class BI.SignInitialEditor * @extends BI.Single @@ -6079,7 +6079,7 @@ BI.SignInitialEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.SignInitialEditor.EVENT_SPACE = "EVENT_SPACE"; BI.SignInitialEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.sign_initial_editor", BI.SignInitialEditor);/** +BI.shortcut("bi.sign_initial_editor", BI.SignInitialEditor);/** * 带标记的文本框 * Created by GUY on 2015/8/28. * @class BI.SignEditor @@ -6333,7 +6333,7 @@ BI.SignEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.SignEditor.EVENT_SPACE = "EVENT_SPACE"; BI.SignEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.sign_editor", BI.SignEditor);/** +BI.shortcut("bi.sign_editor", BI.SignEditor);/** * sign标签分两段,可以自定义样式 * @class BI.SignStyleEditor * @extends BI.Single @@ -6592,7 +6592,7 @@ BI.SignStyleEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.SignStyleEditor.EVENT_SPACE = "EVENT_SPACE"; BI.SignStyleEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.sign_style_editor", BI.SignStyleEditor);/** +BI.shortcut("bi.sign_style_editor", BI.SignStyleEditor);/** * guy * 记录状态的输入框 * @class BI.StateEditor @@ -6872,7 +6872,7 @@ BI.StateEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.StateEditor.EVENT_SPACE = "EVENT_SPACE"; BI.StateEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.state_editor", BI.StateEditor);/** +BI.shortcut("bi.state_editor", BI.StateEditor);/** * 无限制-已选择状态输入框 * Created by GUY on 2016/5/18. * @class BI.SimpleStateEditor @@ -7132,7 +7132,7 @@ BI.SimpleStateEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.SimpleStateEditor.EVENT_SPACE = "EVENT_SPACE"; BI.SimpleStateEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.simple_state_editor", BI.SimpleStateEditor);/** +BI.shortcut("bi.simple_state_editor", BI.SimpleStateEditor);/** * guy * @class BI.TextEditor * @extends BI.Single @@ -7301,7 +7301,7 @@ BI.TextEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.TextEditor.EVENT_REMOVE = "EVENT_REMOVE"; BI.TextEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.text_editor", BI.TextEditor);/** +BI.shortcut("bi.text_editor", BI.TextEditor);/** * 小号搜索框 * Created by GUY on 2015/9/29. * @class BI.SmallTextEditor @@ -7320,7 +7320,7 @@ BI.SmallTextEditor = BI.inherit(BI.TextEditor, { BI.SmallTextEditor.superclass._init.apply(this, arguments); } }); -$.shortcut("bi.small_text_editor", BI.SmallTextEditor);/** +BI.shortcut("bi.small_text_editor", BI.SmallTextEditor);/** * 有确定取消按钮的弹出层 * @class BI.BarFloatSection * @extends BI.FloatSection @@ -7500,7 +7500,7 @@ BI.MultiPopupView = BI.inherit(BI.PopupView, { BI.MultiPopupView.EVENT_CHANGE = "EVENT_CHANGE"; BI.MultiPopupView.EVENT_CLICK_TOOLBAR_BUTTON = "EVENT_CLICK_TOOLBAR_BUTTON"; -$.shortcut("bi.multi_popup_view", BI.MultiPopupView);/** +BI.shortcut("bi.multi_popup_view", BI.MultiPopupView);/** * 可以理解为MultiPopupView和Panel两个面板的结合体 * @class BI.PopupPanel * @extends BI.MultiPopupView @@ -7556,7 +7556,7 @@ BI.PopupPanel.EVENT_CHANGE = "EVENT_CHANGE"; BI.PopupPanel.EVENT_CLOSE = "EVENT_CLOSE"; BI.PopupPanel.EVENT_CLICK_TOOLBAR_BUTTON = "EVENT_CLICK_TOOLBAR_BUTTON"; -$.shortcut("bi.popup_panel", BI.PopupPanel);/** +BI.shortcut("bi.popup_panel", BI.PopupPanel);/** * list面板 * * Created by GUY on 2015/10/30. @@ -7727,7 +7727,7 @@ BI.ListPane = BI.inherit(BI.Pane, { } }); BI.ListPane.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.list_pane", BI.ListPane);/** +BI.shortcut("bi.list_pane", BI.ListPane);/** * 带有标题栏的pane * @class BI.Panel * @extends BI.Widget @@ -7805,7 +7805,7 @@ BI.Panel = BI.inherit(BI.Widget,{ }); BI.Panel.EVENT_CHANGE = "Panel.EVENT_CHANGE"; -$.shortcut("bi.panel",BI.Panel);/** +BI.shortcut("bi.panel",BI.Panel);/** * 选择列表 * * Created by GUY on 2015/11/1. @@ -8013,7 +8013,7 @@ BI.SelectList = BI.inherit(BI.Widget, { } }); BI.SelectList.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.select_list", BI.SelectList);/** +BI.shortcut("bi.select_list", BI.SelectList);/** * Created by roy on 15/11/6. */ BI.LazyLoader = BI.inherit(BI.Widget, { @@ -8118,7 +8118,7 @@ BI.LazyLoader = BI.inherit(BI.Widget, { } }); BI.LazyLoader.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.lazy_loader", BI.LazyLoader);/** +BI.shortcut("bi.lazy_loader", BI.LazyLoader);/** * 恶心的加载控件, 为解决排序问题引入的控件 * * Created by GUY on 2015/11/12. @@ -8317,7 +8317,7 @@ BI.ListLoader = BI.inherit(BI.Widget, { } }); BI.ListLoader.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.list_loader", BI.ListLoader);/** +BI.shortcut("bi.list_loader", BI.ListLoader);/** * Created by GUY on 2016/4/29. * * @class BI.SortList @@ -8493,7 +8493,7 @@ BI.SortList = BI.inherit(BI.Widget, { } }); BI.SortList.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.sort_list", BI.SortList);/** +BI.shortcut("bi.sort_list", BI.SortList);/** * 有总页数和总行数的分页控件 * Created by Young's on 2016/10/13. */ @@ -8655,7 +8655,7 @@ BI.AllCountPager = BI.inherit(BI.Widget, { } }); BI.AllCountPager.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.all_count_pager", BI.AllCountPager);/** +BI.shortcut("bi.all_count_pager", BI.AllCountPager);/** * 显示页码的分页控件 * * Created by GUY on 2016/6/30. @@ -8931,7 +8931,7 @@ BI.DirectionPager = BI.inherit(BI.Widget, { } }); BI.DirectionPager.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.direction_pager", BI.DirectionPager);/** +BI.shortcut("bi.direction_pager", BI.DirectionPager);/** * 分页控件 * * Created by GUY on 2015/8/31. @@ -9218,7 +9218,7 @@ BI.DetailPager = BI.inherit(BI.Widget, { }); BI.DetailPager.EVENT_CHANGE = "EVENT_CHANGE"; BI.DetailPager.EVENT_AFTER_POPULATE = "EVENT_AFTER_POPULATE"; -$.shortcut("bi.detail_pager", BI.DetailPager);/** +BI.shortcut("bi.detail_pager", BI.DetailPager);/** * 分段控件使用的button * * Created by GUY on 2015/9/7. @@ -9267,7 +9267,7 @@ BI.SegmentButton = BI.inherit(BI.BasicButton, { BI.SegmentButton.superclass.destroy.apply(this, arguments); } }); -$.shortcut('bi.segment_button', BI.SegmentButton);/** +BI.shortcut('bi.segment_button', BI.SegmentButton);/** * 单选按钮组 * * Created by GUY on 2015/9/7. @@ -9324,7 +9324,7 @@ BI.Segment = BI.inherit(BI.Widget, { } }); BI.Segment.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.segment', BI.Segment);/** +BI.shortcut('bi.segment', BI.Segment);/** * 自适应宽度的表格 * * Created by GUY on 2016/2/3. @@ -9558,7 +9558,7 @@ BI.AdaptiveTable = BI.inherit(BI.Widget, { BI.AdaptiveTable.superclass.destroy.apply(this, arguments); } }); -$.shortcut('bi.adaptive_table', BI.AdaptiveTable);/** +BI.shortcut('bi.adaptive_table', BI.AdaptiveTable);/** * * 层级树状结构的表格 * @@ -9890,7 +9890,7 @@ BI.DynamicSummaryLayerTreeTable = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.dynamic_summary_layer_tree_table", BI.DynamicSummaryLayerTreeTable);/** +BI.shortcut("bi.dynamic_summary_layer_tree_table", BI.DynamicSummaryLayerTreeTable);/** * * 树状结构的表格 * @@ -10236,7 +10236,7 @@ BI.extend(BI.DynamicSummaryTreeTable, { } }); -$.shortcut("bi.dynamic_summary_tree_table", BI.DynamicSummaryTreeTable);/** +BI.shortcut("bi.dynamic_summary_tree_table", BI.DynamicSummaryTreeTable);/** * * 层级树状结构的表格 * @@ -10554,7 +10554,7 @@ BI.LayerTreeTable = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.layer_tree_table", BI.LayerTreeTable);/** +BI.shortcut("bi.layer_tree_table", BI.LayerTreeTable);/** * * Created by GUY on 2016/5/26. * @class BI.TableStyleCell @@ -10599,7 +10599,7 @@ BI.TableStyleCell = BI.inherit(BI.Single, { this._digestStyle(); } }); -$.shortcut('bi.table_style_cell', BI.TableStyleCell);/** +BI.shortcut('bi.table_style_cell', BI.TableStyleCell);/** * * 树状结构的表格 * @@ -10928,7 +10928,7 @@ BI.extend(BI.TableTree, { } }); -$.shortcut("bi.tree_table", BI.TableTree);/** +BI.shortcut("bi.tree_table", BI.TableTree);/** * guy * 复选导航条 * Created by GUY on 2015/8/25. @@ -11061,7 +11061,7 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, { } }); BI.MultiSelectBar.EVENT_CHANGE = "MultiSelectBar.EVENT_CHANGE"; -$.shortcut("bi.multi_select_bar", BI.MultiSelectBar);/** +BI.shortcut("bi.multi_select_bar", BI.MultiSelectBar);/** * 倒立的Branch * @class BI.HandStandBranchExpander * @extend BI.Widget @@ -11120,7 +11120,7 @@ BI.HandStandBranchExpander = BI.inherit(BI.Widget, { } }); BI.HandStandBranchExpander.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.handstand_branch_expander", BI.HandStandBranchExpander);/** +BI.shortcut("bi.handstand_branch_expander", BI.HandStandBranchExpander);/** * @class BI.BranchExpander * @extend BI.Widget * create by young @@ -11179,7 +11179,7 @@ BI.BranchExpander = BI.inherit(BI.Widget, { } }); BI.BranchExpander.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.branch_expander", BI.BranchExpander);/** +BI.shortcut("bi.branch_expander", BI.BranchExpander);/** * @class BI.HandStandBranchTree * @extends BI.Widget * create by young @@ -11233,7 +11233,7 @@ BI.HandStandBranchTree = BI.inherit(BI.Widget, { } }); BI.HandStandBranchTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.handstand_branch_tree", BI.HandStandBranchTree);/** +BI.shortcut("bi.handstand_branch_tree", BI.HandStandBranchTree);/** * @class BI.BranchTree * @extends BI.Widget * create by young @@ -11287,7 +11287,7 @@ BI.BranchTree = BI.inherit(BI.Widget, { } }); BI.BranchTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.branch_tree", BI.BranchTree);/** +BI.shortcut("bi.branch_tree", BI.BranchTree);/** * guy * 异步树 * @class BI.DisplayTree @@ -11344,7 +11344,7 @@ BI.DisplayTree = BI.inherit(BI.TreeView, { }); BI.DisplayTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.display_tree", BI.DisplayTree);/** +BI.shortcut("bi.display_tree", BI.DisplayTree);/** * guy * 二级树 * @class BI.LevelTree @@ -11480,7 +11480,7 @@ BI.LevelTree = BI.inherit(BI.Widget, { }); BI.LevelTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.level_tree", BI.LevelTree);/** +BI.shortcut("bi.level_tree", BI.LevelTree);/** * 简单的多选树 * * Created by GUY on 2016/2/16. @@ -11600,7 +11600,7 @@ BI.SimpleTreeView = BI.inherit(BI.Widget, { } }); BI.SimpleTreeView.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.simple_tree", BI.SimpleTreeView); +BI.shortcut("bi.simple_tree", BI.SimpleTreeView); /** * 文本输入框trigger * @@ -11679,7 +11679,7 @@ BI.EditorTrigger = BI.inherit(BI.Trigger, { } }); BI.EditorTrigger.EVENT_CHANGE = "BI.EditorTrigger.EVENT_CHANGE"; -$.shortcut("bi.editor_trigger", BI.EditorTrigger);/** +BI.shortcut("bi.editor_trigger", BI.EditorTrigger);/** * 图标按钮trigger * * Created by GUY on 2015/10/8. @@ -11706,7 +11706,7 @@ BI.IconTrigger = BI.inherit(BI.Trigger, { }); } }); -$.shortcut('bi.icon_trigger', BI.IconTrigger);/** +BI.shortcut('bi.icon_trigger', BI.IconTrigger);/** * 文字trigger * * Created by GUY on 2015/9/15. @@ -11772,7 +11772,7 @@ BI.TextTrigger = BI.inherit(BI.Trigger, { this.text.setTitle(text); } }); -$.shortcut("bi.text_trigger", BI.TextTrigger);/** +BI.shortcut("bi.text_trigger", BI.TextTrigger);/** * 选择字段trigger * * Created by GUY on 2015/9/15. @@ -11826,7 +11826,7 @@ BI.SelectTextTrigger = BI.inherit(BI.Trigger, { this.options.items = items; } }); -$.shortcut("bi.select_text_trigger", BI.SelectTextTrigger);/** +BI.shortcut("bi.select_text_trigger", BI.SelectTextTrigger);/** * 选择字段trigger小一号的 * * @class BI.SmallSelectTextTrigger @@ -11879,7 +11879,7 @@ BI.SmallSelectTextTrigger = BI.inherit(BI.Trigger, { this.options.items = items; } }); -$.shortcut("bi.small_select_text_trigger", BI.SmallSelectTextTrigger);/** +BI.shortcut("bi.small_select_text_trigger", BI.SmallSelectTextTrigger);/** * 文字trigger(右边小三角小一号的) == * * @class BI.SmallTextTrigger @@ -11942,7 +11942,7 @@ BI.SmallTextTrigger = BI.inherit(BI.Trigger, { this.text.setText(text); } }); -$.shortcut("bi.small_text_trigger", BI.SmallTextTrigger);/* +BI.shortcut("bi.small_text_trigger", BI.SmallTextTrigger);/* * zClip :: jQuery ZeroClipboard v1.1.1 * http://steamdev.com/zclip * @@ -12467,4 +12467,4 @@ BI.ZeroClip = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.zero_clip", BI.ZeroClip); \ No newline at end of file +BI.shortcut("bi.zero_clip", BI.ZeroClip); \ No newline at end of file diff --git a/bi/core.js b/bi/core.js index 32e7acbd0..614b5119e 100644 --- a/bi/core.js +++ b/bi/core.js @@ -1,1548 +1,4 @@ -// Underscore.js 1.8.2 -// http://underscorejs.org -// (c) 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors -// Underscore may be freely distributed under the MIT license. - -(function() { - - // Baseline setup - // -------------- - - // Establish the root object, `window` in the browser, or `exports` on the server. - var root = this; - - // Save the previous value of the `_` variable. - var previousUnderscore = root._; - - // Save bytes in the minified (but not gzipped) version: - var ArrayProto = Array.prototype, ObjProto = Object.prototype, FuncProto = Function.prototype; - - // Create quick reference variables for speed access to core prototypes. - var - push = ArrayProto.push, - slice = ArrayProto.slice, - toString = ObjProto.toString, - hasOwnProperty = ObjProto.hasOwnProperty; - - // All **ECMAScript 5** native function implementations that we hope to use - // are declared here. - var - nativeIsArray = Array.isArray, - nativeKeys = Object.keys, - nativeBind = FuncProto.bind, - nativeCreate = Object.create; - - // Naked function reference for surrogate-prototype-swapping. - var Ctor = function(){}; - - // Create a safe reference to the Underscore object for use below. - var _ = function(obj) { - if (obj instanceof _) return obj; - if (!(this instanceof _)) return new _(obj); - this._wrapped = obj; - }; - - // Export the Underscore object for **Node.js**, with - // backwards-compatibility for the old `require()` API. If we're in - // the browser, add `_` as a global object. - if (typeof exports !== 'undefined') { - if (typeof module !== 'undefined' && module.exports) { - exports = module.exports = _; - } - exports._ = _; - } else { - root._ = _; - } - - // Current version. - _.VERSION = '1.8.2'; - - // Internal function that returns an efficient (for current engines) version - // of the passed-in callback, to be repeatedly applied in other Underscore - // functions. - var optimizeCb = function(func, context, argCount) { - if (context === void 0) return func; - switch (argCount == null ? 3 : argCount) { - case 1: return function(value) { - return func.call(context, value); - }; - case 2: return function(value, other) { - return func.call(context, value, other); - }; - case 3: return function(value, index, collection) { - return func.call(context, value, index, collection); - }; - case 4: return function(accumulator, value, index, collection) { - return func.call(context, accumulator, value, index, collection); - }; - } - return function() { - return func.apply(context, arguments); - }; - }; - - // A mostly-internal function to generate callbacks that can be applied - // to each element in a collection, returning the desired result 鈥? either - // identity, an arbitrary callback, a property matcher, or a property accessor. - var cb = function(value, context, argCount) { - if (value == null) return _.identity; - if (_.isFunction(value)) return optimizeCb(value, context, argCount); - if (_.isObject(value)) return _.matcher(value); - return _.property(value); - }; - _.iteratee = function(value, context) { - return cb(value, context, Infinity); - }; - - // An internal function for creating assigner functions. - var createAssigner = function(keysFunc, undefinedOnly) { - return function(obj) { - var length = arguments.length; - if (length < 2 || obj == null) return obj; - for (var index = 1; index < length; index++) { - var source = arguments[index], - keys = keysFunc(source), - l = keys.length; - for (var i = 0; i < l; i++) { - var key = keys[i]; - if (!undefinedOnly || obj[key] === void 0) obj[key] = source[key]; - } - } - return obj; - }; - }; - - // An internal function for creating a new object that inherits from another. - var baseCreate = function(prototype) { - if (!_.isObject(prototype)) return {}; - if (nativeCreate) return nativeCreate(prototype); - Ctor.prototype = prototype; - var result = new Ctor; - Ctor.prototype = null; - return result; - }; - - // Helper for collection methods to determine whether a collection - // should be iterated as an array or as an object - // Related: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength - var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1; - var isArrayLike = function(collection) { - var length = collection != null && collection.length; - return typeof length == 'number' && length >= 0 && length <= MAX_ARRAY_INDEX; - }; - - // Collection Functions - // -------------------- - - // The cornerstone, an `each` implementation, aka `forEach`. - // Handles raw objects in addition to array-likes. Treats all - // sparse array-likes as if they were dense. - _.each = _.forEach = function(obj, iteratee, context) { - iteratee = optimizeCb(iteratee, context); - var i, length; - if (isArrayLike(obj)) { - for (i = 0, length = obj.length; i < length; i++) { - iteratee(obj[i], i, obj); - } - } else { - var keys = _.keys(obj); - for (i = 0, length = keys.length; i < length; i++) { - iteratee(obj[keys[i]], keys[i], obj); - } - } - return obj; - }; - - // Return the results of applying the iteratee to each element. - _.map = _.collect = function(obj, iteratee, context) { - iteratee = cb(iteratee, context); - var keys = !isArrayLike(obj) && _.keys(obj), - length = (keys || obj).length, - results = Array(length); - for (var index = 0; index < length; index++) { - var currentKey = keys ? keys[index] : index; - results[index] = iteratee(obj[currentKey], currentKey, obj); - } - return results; - }; - - // Create a reducing function iterating left or right. - function createReduce(dir) { - // Optimized iterator function as using arguments.length - // in the main function will deoptimize the, see #1991. - function iterator(obj, iteratee, memo, keys, index, length) { - for (; index >= 0 && index < length; index += dir) { - var currentKey = keys ? keys[index] : index; - memo = iteratee(memo, obj[currentKey], currentKey, obj); - } - return memo; - } - - return function(obj, iteratee, memo, context) { - iteratee = optimizeCb(iteratee, context, 4); - var keys = !isArrayLike(obj) && _.keys(obj), - length = (keys || obj).length, - index = dir > 0 ? 0 : length - 1; - // Determine the initial value if none is provided. - if (arguments.length < 3) { - memo = obj[keys ? keys[index] : index]; - index += dir; - } - return iterator(obj, iteratee, memo, keys, index, length); - }; - } - - // **Reduce** builds up a single result from a list of values, aka `inject`, - // or `foldl`. - _.reduce = _.foldl = _.inject = createReduce(1); - - // The right-associative version of reduce, also known as `foldr`. - _.reduceRight = _.foldr = createReduce(-1); - - // Return the first value which passes a truth test. Aliased as `detect`. - _.find = _.detect = function(obj, predicate, context) { - var key; - if (isArrayLike(obj)) { - key = _.findIndex(obj, predicate, context); - } else { - key = _.findKey(obj, predicate, context); - } - if (key !== void 0 && key !== -1) return obj[key]; - }; - - // Return all the elements that pass a truth test. - // Aliased as `select`. - _.filter = _.select = function(obj, predicate, context) { - var results = []; - predicate = cb(predicate, context); - _.each(obj, function(value, index, list) { - if (predicate(value, index, list)) results.push(value); - }); - return results; - }; - - // Return all the elements for which a truth test fails. - _.reject = function(obj, predicate, context) { - return _.filter(obj, _.negate(cb(predicate)), context); - }; - - // Determine whether all of the elements match a truth test. - // Aliased as `all`. - _.every = _.all = function(obj, predicate, context) { - predicate = cb(predicate, context); - var keys = !isArrayLike(obj) && _.keys(obj), - length = (keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = keys ? keys[index] : index; - if (!predicate(obj[currentKey], currentKey, obj)) return false; - } - return true; - }; - - // Determine if at least one element in the object matches a truth test. - // Aliased as `any`. - _.some = _.any = function(obj, predicate, context) { - predicate = cb(predicate, context); - var keys = !isArrayLike(obj) && _.keys(obj), - length = (keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = keys ? keys[index] : index; - if (predicate(obj[currentKey], currentKey, obj)) return true; - } - return false; - }; - - // Determine if the array or object contains a given value (using `===`). - // Aliased as `includes` and `include`. - _.contains = _.includes = _.include = function(obj, target, fromIndex) { - if (!isArrayLike(obj)) obj = _.values(obj); - return _.indexOf(obj, target, typeof fromIndex == 'number' && fromIndex) >= 0; - }; - - // Invoke a method (with arguments) on every item in a collection. - _.invoke = function(obj, method) { - var args = slice.call(arguments, 2); - var isFunc = _.isFunction(method); - return _.map(obj, function(value) { - var func = isFunc ? method : value[method]; - return func == null ? func : func.apply(value, args); - }); - }; - - // Convenience version of a common use case of `map`: fetching a property. - _.pluck = function(obj, key) { - return _.map(obj, _.property(key)); - }; - - // Convenience version of a common use case of `filter`: selecting only objects - // containing specific `key:value` pairs. - _.where = function(obj, attrs) { - return _.filter(obj, _.matcher(attrs)); - }; - - // Convenience version of a common use case of `find`: getting the first object - // containing specific `key:value` pairs. - _.findWhere = function(obj, attrs) { - return _.find(obj, _.matcher(attrs)); - }; - - // Return the maximum element (or element-based computation). - _.max = function(obj, iteratee, context) { - var result = -Infinity, lastComputed = -Infinity, - value, computed; - if (iteratee == null && obj != null) { - obj = isArrayLike(obj) ? obj : _.values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value > result) { - result = value; - } - } - } else { - iteratee = cb(iteratee, context); - _.each(obj, function(value, index, list) { - computed = iteratee(value, index, list); - if (computed > lastComputed || computed === -Infinity && result === -Infinity) { - result = value; - lastComputed = computed; - } - }); - } - return result; - }; - - // Return the minimum element (or element-based computation). - _.min = function(obj, iteratee, context) { - var result = Infinity, lastComputed = Infinity, - value, computed; - if (iteratee == null && obj != null) { - obj = isArrayLike(obj) ? obj : _.values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value < result) { - result = value; - } - } - } else { - iteratee = cb(iteratee, context); - _.each(obj, function(value, index, list) { - computed = iteratee(value, index, list); - if (computed < lastComputed || computed === Infinity && result === Infinity) { - result = value; - lastComputed = computed; - } - }); - } - return result; - }; - - // Shuffle a collection, using the modern version of the - // [Fisher-Yates shuffle](http://en.wikipedia.org/wiki/Fisher鈥揧ates_shuffle). - _.shuffle = function(obj) { - var set = isArrayLike(obj) ? obj : _.values(obj); - var length = set.length; - var shuffled = Array(length); - for (var index = 0, rand; index < length; index++) { - rand = _.random(0, index); - if (rand !== index) shuffled[index] = shuffled[rand]; - shuffled[rand] = set[index]; - } - return shuffled; - }; - - // Sample **n** random values from a collection. - // If **n** is not specified, returns a single random element. - // The internal `guard` argument allows it to work with `map`. - _.sample = function(obj, n, guard) { - if (n == null || guard) { - if (!isArrayLike(obj)) obj = _.values(obj); - return obj[_.random(obj.length - 1)]; - } - return _.shuffle(obj).slice(0, Math.max(0, n)); - }; - - // Sort the object's values by a criterion produced by an iteratee. - _.sortBy = function(obj, iteratee, context) { - iteratee = cb(iteratee, context); - return _.pluck(_.map(obj, function(value, index, list) { - return { - value: value, - index: index, - criteria: iteratee(value, index, list) - }; - }).sort(function(left, right) { - var a = left.criteria; - var b = right.criteria; - if (a !== b) { - if (a > b || a === void 0) return 1; - if (a < b || b === void 0) return -1; - } - return left.index - right.index; - }), 'value'); - }; - - // An internal function used for aggregate "group by" operations. - var group = function(behavior) { - return function(obj, iteratee, context) { - var result = {}; - iteratee = cb(iteratee, context); - _.each(obj, function(value, index) { - var key = iteratee(value, index, obj); - behavior(result, value, key); - }); - return result; - }; - }; - - // Groups the object's values by a criterion. Pass either a string attribute - // to group by, or a function that returns the criterion. - _.groupBy = group(function(result, value, key) { - if (_.has(result, key)) result[key].push(value); else result[key] = [value]; - }); - - // Indexes the object's values by a criterion, similar to `groupBy`, but for - // when you know that your index values will be unique. - _.indexBy = group(function(result, value, key) { - result[key] = value; - }); - - // Counts instances of an object that group by a certain criterion. Pass - // either a string attribute to count by, or a function that returns the - // criterion. - _.countBy = group(function(result, value, key) { - if (_.has(result, key)) result[key]++; else result[key] = 1; - }); - - // Safely create a real, live array from anything iterable. - _.toArray = function(obj) { - if (!obj) return []; - if (_.isArray(obj)) return slice.call(obj); - if (isArrayLike(obj)) return _.map(obj, _.identity); - return _.values(obj); - }; - - // Return the number of elements in an object. - _.size = function(obj) { - if (obj == null) return 0; - return isArrayLike(obj) ? obj.length : _.keys(obj).length; - }; - - // Split a collection into two arrays: one whose elements all satisfy the given - // predicate, and one whose elements all do not satisfy the predicate. - _.partition = function(obj, predicate, context) { - predicate = cb(predicate, context); - var pass = [], fail = []; - _.each(obj, function(value, key, obj) { - (predicate(value, key, obj) ? pass : fail).push(value); - }); - return [pass, fail]; - }; - - // Array Functions - // --------------- - - // Get the first element of an array. Passing **n** will return the first N - // values in the array. Aliased as `head` and `take`. The **guard** check - // allows it to work with `_.map`. - _.first = _.head = _.take = function(array, n, guard) { - if (array == null) return void 0; - if (n == null || guard) return array[0]; - return _.initial(array, array.length - n); - }; - - // Returns everything but the last entry of the array. Especially useful on - // the arguments object. Passing **n** will return all the values in - // the array, excluding the last N. - _.initial = function(array, n, guard) { - return slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); - }; - - // Get the last element of an array. Passing **n** will return the last N - // values in the array. - _.last = function(array, n, guard) { - if (array == null) return void 0; - if (n == null || guard) return array[array.length - 1]; - return _.rest(array, Math.max(0, array.length - n)); - }; - - // Returns everything but the first entry of the array. Aliased as `tail` and `drop`. - // Especially useful on the arguments object. Passing an **n** will return - // the rest N values in the array. - _.rest = _.tail = _.drop = function(array, n, guard) { - return slice.call(array, n == null || guard ? 1 : n); - }; - - // Trim out all falsy values from an array. - _.compact = function(array) { - return _.filter(array, _.identity); - }; - - // Internal implementation of a recursive `flatten` function. - var flatten = function(input, shallow, strict, startIndex) { - var output = [], idx = 0; - for (var i = startIndex || 0, length = input && input.length; i < length; i++) { - var value = input[i]; - if (isArrayLike(value) && (_.isArray(value) || _.isArguments(value))) { - //flatten current level of array or arguments object - if (!shallow) value = flatten(value, shallow, strict); - var j = 0, len = value.length; - output.length += len; - while (j < len) { - output[idx++] = value[j++]; - } - } else if (!strict) { - output[idx++] = value; - } - } - return output; - }; - - // Flatten out an array, either recursively (by default), or just one level. - _.flatten = function(array, shallow) { - return flatten(array, shallow, false); - }; - - // Return a version of the array that does not contain the specified value(s). - _.without = function(array) { - return _.difference(array, slice.call(arguments, 1)); - }; - - // Produce a duplicate-free version of the array. If the array has already - // been sorted, you have the option of using a faster algorithm. - // Aliased as `unique`. - _.uniq = _.unique = function(array, isSorted, iteratee, context) { - if (array == null) return []; - if (!_.isBoolean(isSorted)) { - context = iteratee; - iteratee = isSorted; - isSorted = false; - } - if (iteratee != null) iteratee = cb(iteratee, context); - var result = []; - var seen = []; - for (var i = 0, length = array.length; i < length; i++) { - var value = array[i], - computed = iteratee ? iteratee(value, i, array) : value; - if (isSorted) { - if (!i || seen !== computed) result.push(value); - seen = computed; - } else if (iteratee) { - if (!_.contains(seen, computed)) { - seen.push(computed); - result.push(value); - } - } else if (!_.contains(result, value)) { - result.push(value); - } - } - return result; - }; - - // Produce an array that contains the union: each distinct element from all of - // the passed-in arrays. - _.union = function() { - return _.uniq(flatten(arguments, true, true)); - }; - - // Produce an array that contains every item shared between all the - // passed-in arrays. - _.intersection = function(array) { - if (array == null) return []; - var result = []; - var argsLength = arguments.length; - for (var i = 0, length = array.length; i < length; i++) { - var item = array[i]; - if (_.contains(result, item)) continue; - for (var j = 1; j < argsLength; j++) { - if (!_.contains(arguments[j], item)) break; - } - if (j === argsLength) result.push(item); - } - return result; - }; - - // Take the difference between one array and a number of other arrays. - // Only the elements present in just the first array will remain. - _.difference = function(array) { - var rest = flatten(arguments, true, true, 1); - return _.filter(array, function(value){ - return !_.contains(rest, value); - }); - }; - - // Zip together multiple lists into a single array -- elements that share - // an index go together. - _.zip = function() { - return _.unzip(arguments); - }; - - // Complement of _.zip. Unzip accepts an array of arrays and groups - // each array's elements on shared indices - _.unzip = function(array) { - var length = array && _.max(array, 'length').length || 0; - var result = Array(length); - - for (var index = 0; index < length; index++) { - result[index] = _.pluck(array, index); - } - return result; - }; - - // Converts lists into objects. Pass either a single array of `[key, value]` - // pairs, or two parallel arrays of the same length -- one of keys, and one of - // the corresponding values. - _.object = function(list, values) { - var result = {}; - for (var i = 0, length = list && list.length; i < length; i++) { - if (values) { - result[list[i]] = values[i]; - } else { - result[list[i][0]] = list[i][1]; - } - } - return result; - }; - - // Return the position of the first occurrence of an item in an array, - // or -1 if the item is not included in the array. - // If the array is large and already in sort order, pass `true` - // for **isSorted** to use binary search. - _.indexOf = function(array, item, isSorted) { - var i = 0, length = array && array.length; - if (typeof isSorted == 'number') { - i = isSorted < 0 ? Math.max(0, length + isSorted) : isSorted; - } else if (isSorted && length) { - i = _.sortedIndex(array, item); - return array[i] === item ? i : -1; - } - if (item !== item) { - return _.findIndex(slice.call(array, i), _.isNaN); - } - for (; i < length; i++) if (array[i] === item) return i; - return -1; - }; - - _.lastIndexOf = function(array, item, from) { - var idx = array ? array.length : 0; - if (typeof from == 'number') { - idx = from < 0 ? idx + from + 1 : Math.min(idx, from + 1); - } - if (item !== item) { - return _.findLastIndex(slice.call(array, 0, idx), _.isNaN); - } - while (--idx >= 0) if (array[idx] === item) return idx; - return -1; - }; - - // Generator function to create the findIndex and findLastIndex functions - function createIndexFinder(dir) { - return function(array, predicate, context) { - predicate = cb(predicate, context); - var length = array != null && array.length; - var index = dir > 0 ? 0 : length - 1; - for (; index >= 0 && index < length; index += dir) { - if (predicate(array[index], index, array)) return index; - } - return -1; - }; - } - - // Returns the first index on an array-like that passes a predicate test - _.findIndex = createIndexFinder(1); - - _.findLastIndex = createIndexFinder(-1); - - // Use a comparator function to figure out the smallest index at which - // an object should be inserted so as to maintain order. Uses binary search. - _.sortedIndex = function(array, obj, iteratee, context) { - iteratee = cb(iteratee, context, 1); - var value = iteratee(obj); - var low = 0, high = array.length; - while (low < high) { - var mid = Math.floor((low + high) / 2); - if (iteratee(array[mid]) < value) low = mid + 1; else high = mid; - } - return low; - }; - - // Generate an integer Array containing an arithmetic progression. A port of - // the native Python `range()` function. See - // [the Python documentation](http://docs.python.org/library/functions.html#range). - _.range = function(start, stop, step) { - if (arguments.length <= 1) { - stop = start || 0; - start = 0; - } - step = step || 1; - - var length = Math.max(Math.ceil((stop - start) / step), 0); - var range = Array(length); - - for (var idx = 0; idx < length; idx++, start += step) { - range[idx] = start; - } - - return range; - }; - - // Function (ahem) Functions - // ------------------ - - // Determines whether to execute a function as a constructor - // or a normal function with the provided arguments - var executeBound = function(sourceFunc, boundFunc, context, callingContext, args) { - if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args); - var self = baseCreate(sourceFunc.prototype); - var result = sourceFunc.apply(self, args); - if (_.isObject(result)) return result; - return self; - }; - - // Create a function bound to a given object (assigning `this`, and arguments, - // optionally). Delegates to **ECMAScript 5**'s native `Function.bind` if - // available. - _.bind = function(func, context) { - if (nativeBind && func.bind === nativeBind) return nativeBind.apply(func, slice.call(arguments, 1)); - if (!_.isFunction(func)) throw new TypeError('Bind must be called on a function'); - var args = slice.call(arguments, 2); - var bound = function() { - return executeBound(func, bound, context, this, args.concat(slice.call(arguments))); - }; - return bound; - }; - - // Partially apply a function by creating a version that has had some of its - // arguments pre-filled, without changing its dynamic `this` context. _ acts - // as a placeholder, allowing any combination of arguments to be pre-filled. - _.partial = function(func) { - var boundArgs = slice.call(arguments, 1); - var bound = function() { - var position = 0, length = boundArgs.length; - var args = Array(length); - for (var i = 0; i < length; i++) { - args[i] = boundArgs[i] === _ ? arguments[position++] : boundArgs[i]; - } - while (position < arguments.length) args.push(arguments[position++]); - return executeBound(func, bound, this, this, args); - }; - return bound; - }; - - // Bind a number of an object's methods to that object. Remaining arguments - // are the method names to be bound. Useful for ensuring that all callbacks - // defined on an object belong to it. - _.bindAll = function(obj) { - var i, length = arguments.length, key; - if (length <= 1) throw new Error('bindAll must be passed function names'); - for (i = 1; i < length; i++) { - key = arguments[i]; - obj[key] = _.bind(obj[key], obj); - } - return obj; - }; - - // Memoize an expensive function by storing its results. - _.memoize = function(func, hasher) { - var memoize = function(key) { - var cache = memoize.cache; - var address = '' + (hasher ? hasher.apply(this, arguments) : key); - if (!_.has(cache, address)) cache[address] = func.apply(this, arguments); - return cache[address]; - }; - memoize.cache = {}; - return memoize; - }; - - // Delays a function for the given number of milliseconds, and then calls - // it with the arguments supplied. - _.delay = function(func, wait) { - var args = slice.call(arguments, 2); - return setTimeout(function(){ - return func.apply(null, args); - }, wait); - }; - - // Defers a function, scheduling it to run after the current call stack has - // cleared. - _.defer = _.partial(_.delay, _, 1); - - // Returns a function, that, when invoked, will only be triggered at most once - // during a given window of time. Normally, the throttled function will run - // as much as it can, without ever going more than once per `wait` duration; - // but if you'd like to disable the execution on the leading edge, pass - // `{leading: false}`. To disable execution on the trailing edge, ditto. - _.throttle = function(func, wait, options) { - var context, args, result; - var timeout = null; - var previous = 0; - if (!options) options = {}; - var later = function() { - previous = options.leading === false ? 0 : _.now(); - timeout = null; - result = func.apply(context, args); - if (!timeout) context = args = null; - }; - return function() { - var now = _.now(); - if (!previous && options.leading === false) previous = now; - var remaining = wait - (now - previous); - context = this; - args = arguments; - if (remaining <= 0 || remaining > wait) { - if (timeout) { - clearTimeout(timeout); - timeout = null; - } - previous = now; - result = func.apply(context, args); - if (!timeout) context = args = null; - } else if (!timeout && options.trailing !== false) { - timeout = setTimeout(later, remaining); - } - return result; - }; - }; - - // Returns a function, that, as long as it continues to be invoked, will not - // be triggered. The function will be called after it stops being called for - // N milliseconds. If `immediate` is passed, trigger the function on the - // leading edge, instead of the trailing. - _.debounce = function(func, wait, immediate) { - var timeout, args, context, timestamp, result; - - var later = function() { - var last = _.now() - timestamp; - - if (last < wait && last >= 0) { - timeout = setTimeout(later, wait - last); - } else { - timeout = null; - if (!immediate) { - result = func.apply(context, args); - if (!timeout) context = args = null; - } - } - }; - - return function() { - context = this; - args = arguments; - timestamp = _.now(); - var callNow = immediate && !timeout; - if (!timeout) timeout = setTimeout(later, wait); - if (callNow) { - result = func.apply(context, args); - context = args = null; - } - - return result; - }; - }; - - // Returns the first function passed as an argument to the second, - // allowing you to adjust arguments, run code before and after, and - // conditionally execute the original function. - _.wrap = function(func, wrapper) { - return _.partial(wrapper, func); - }; - - // Returns a negated version of the passed-in predicate. - _.negate = function(predicate) { - return function() { - return !predicate.apply(this, arguments); - }; - }; - - // Returns a function that is the composition of a list of functions, each - // consuming the return value of the function that follows. - _.compose = function() { - var args = arguments; - var start = args.length - 1; - return function() { - var i = start; - var result = args[start].apply(this, arguments); - while (i--) result = args[i].call(this, result); - return result; - }; - }; - - // Returns a function that will only be executed on and after the Nth call. - _.after = function(times, func) { - return function() { - if (--times < 1) { - return func.apply(this, arguments); - } - }; - }; - - // Returns a function that will only be executed up to (but not including) the Nth call. - _.before = function(times, func) { - var memo; - return function() { - if (--times > 0) { - memo = func.apply(this, arguments); - } - if (times <= 1) func = null; - return memo; - }; - }; - - // Returns a function that will be executed at most one time, no matter how - // often you call it. Useful for lazy initialization. - _.once = _.partial(_.before, 2); - - // Object Functions - // ---------------- - - // Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed. - var hasEnumBug = !{toString: null}.propertyIsEnumerable('toString'); - var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString', - 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString']; - - function collectNonEnumProps(obj, keys) { - var nonEnumIdx = nonEnumerableProps.length; - var constructor = obj.constructor; - var proto = (_.isFunction(constructor) && constructor.prototype) || ObjProto; - - // Constructor is a special case. - var prop = 'constructor'; - if (_.has(obj, prop) && !_.contains(keys, prop)) keys.push(prop); - - while (nonEnumIdx--) { - prop = nonEnumerableProps[nonEnumIdx]; - if (prop in obj && obj[prop] !== proto[prop] && !_.contains(keys, prop)) { - keys.push(prop); - } - } - } - - // Retrieve the names of an object's own properties. - // Delegates to **ECMAScript 5**'s native `Object.keys` - _.keys = function(obj) { - if (!_.isObject(obj)) return []; - if (nativeKeys) return nativeKeys(obj); - var keys = []; - for (var key in obj) if (_.has(obj, key)) keys.push(key); - // Ahem, IE < 9. - if (hasEnumBug) collectNonEnumProps(obj, keys); - return keys; - }; - - // Retrieve all the property names of an object. - _.allKeys = function(obj) { - if (!_.isObject(obj)) return []; - var keys = []; - for (var key in obj) keys.push(key); - // Ahem, IE < 9. - if (hasEnumBug) collectNonEnumProps(obj, keys); - return keys; - }; - - // Retrieve the values of an object's properties. - _.values = function(obj) { - var keys = _.keys(obj); - var length = keys.length; - var values = Array(length); - for (var i = 0; i < length; i++) { - values[i] = obj[keys[i]]; - } - return values; - }; - - // Returns the results of applying the iteratee to each element of the object - // In contrast to _.map it returns an object - _.mapObject = function(obj, iteratee, context) { - iteratee = cb(iteratee, context); - var keys = _.keys(obj), - length = keys.length, - results = {}, - currentKey; - for (var index = 0; index < length; index++) { - currentKey = keys[index]; - results[currentKey] = iteratee(obj[currentKey], currentKey, obj); - } - return results; - }; - - // Convert an object into a list of `[key, value]` pairs. - _.pairs = function(obj) { - var keys = _.keys(obj); - var length = keys.length; - var pairs = Array(length); - for (var i = 0; i < length; i++) { - pairs[i] = [keys[i], obj[keys[i]]]; - } - return pairs; - }; - - // Invert the keys and values of an object. The values must be serializable. - _.invert = function(obj) { - var result = {}; - var keys = _.keys(obj); - for (var i = 0, length = keys.length; i < length; i++) { - result[obj[keys[i]]] = keys[i]; - } - return result; - }; - - // Return a sorted list of the function names available on the object. - // Aliased as `methods` - _.functions = _.methods = function(obj) { - var names = []; - for (var key in obj) { - if (_.isFunction(obj[key])) names.push(key); - } - return names.sort(); - }; - - // Extend a given object with all the properties in passed-in object(s). - _.extend = createAssigner(_.allKeys); - - // Assigns a given object with all the own properties in the passed-in object(s) - // (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign) - _.extendOwn = _.assign = createAssigner(_.keys); - - // Returns the first key on an object that passes a predicate test - _.findKey = function(obj, predicate, context) { - predicate = cb(predicate, context); - var keys = _.keys(obj), key; - for (var i = 0, length = keys.length; i < length; i++) { - key = keys[i]; - if (predicate(obj[key], key, obj)) return key; - } - }; - - // Return a copy of the object only containing the whitelisted properties. - _.pick = function(object, oiteratee, context) { - var result = {}, obj = object, iteratee, keys; - if (obj == null) return result; - if (_.isFunction(oiteratee)) { - keys = _.allKeys(obj); - iteratee = optimizeCb(oiteratee, context); - } else { - keys = flatten(arguments, false, false, 1); - iteratee = function(value, key, obj) { return key in obj; }; - obj = Object(obj); - } - for (var i = 0, length = keys.length; i < length; i++) { - var key = keys[i]; - var value = obj[key]; - if (iteratee(value, key, obj)) result[key] = value; - } - return result; - }; - - // Return a copy of the object without the blacklisted properties. - _.omit = function(obj, iteratee, context) { - if (_.isFunction(iteratee)) { - iteratee = _.negate(iteratee); - } else { - var keys = _.map(flatten(arguments, false, false, 1), String); - iteratee = function(value, key) { - return !_.contains(keys, key); - }; - } - return _.pick(obj, iteratee, context); - }; - - // Fill in a given object with default properties. - _.defaults = createAssigner(_.allKeys, true); - - // Creates an object that inherits from the given prototype object. - // If additional properties are provided then they will be added to the - // created object. - _.create = function(prototype, props) { - var result = baseCreate(prototype); - if (props) _.extendOwn(result, props); - return result; - }; - - // Create a (shallow-cloned) duplicate of an object. - _.clone = function(obj) { - if (!_.isObject(obj)) return obj; - return _.isArray(obj) ? obj.slice() : _.extend({}, obj); - }; - - // Invokes interceptor with the obj, and then returns obj. - // The primary purpose of this method is to "tap into" a method chain, in - // order to perform operations on intermediate results within the chain. - _.tap = function(obj, interceptor) { - interceptor(obj); - return obj; - }; - - // Returns whether an object has a given set of `key:value` pairs. - _.isMatch = function(object, attrs) { - var keys = _.keys(attrs), length = keys.length; - if (object == null) return !length; - var obj = Object(object); - for (var i = 0; i < length; i++) { - var key = keys[i]; - if (attrs[key] !== obj[key] || !(key in obj)) return false; - } - return true; - }; - - - // Internal recursive comparison function for `isEqual`. - var eq = function(a, b, aStack, bStack) { - // Identical objects are equal. `0 === -0`, but they aren't identical. - // See the [Harmony `egal` proposal](http://wiki.ecmascript.org/doku.php?id=harmony:egal). - if (a === b) return a !== 0 || 1 / a === 1 / b; - // A strict comparison is necessary because `null == undefined`. - if (a == null || b == null) return a === b; - // Unwrap any wrapped objects. - if (a instanceof _) a = a._wrapped; - if (b instanceof _) b = b._wrapped; - // Compare `[[Class]]` names. - var className = toString.call(a); - if (className !== toString.call(b)) return false; - switch (className) { - // Strings, numbers, regular expressions, dates, and booleans are compared by value. - case '[object RegExp]': - // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i') - case '[object String]': - // Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is - // equivalent to `new String("5")`. - return '' + a === '' + b; - case '[object Number]': - // `NaN`s are equivalent, but non-reflexive. - // Object(NaN) is equivalent to NaN - if (+a !== +a) return +b !== +b; - // An `egal` comparison is performed for other numeric values. - return +a === 0 ? 1 / +a === 1 / b : +a === +b; - case '[object Date]': - case '[object Boolean]': - // Coerce dates and booleans to numeric primitive values. Dates are compared by their - // millisecond representations. Note that invalid dates with millisecond representations - // of `NaN` are not equivalent. - return +a === +b; - } - - var areArrays = className === '[object Array]'; - if (!areArrays) { - if (typeof a != 'object' || typeof b != 'object') return false; - - // Objects with different constructors are not equivalent, but `Object`s or `Array`s - // from different frames are. - var aCtor = a.constructor, bCtor = b.constructor; - if (aCtor !== bCtor && !(_.isFunction(aCtor) && aCtor instanceof aCtor && - _.isFunction(bCtor) && bCtor instanceof bCtor) - && ('constructor' in a && 'constructor' in b)) { - return false; - } - } - // Assume equality for cyclic structures. The algorithm for detecting cyclic - // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`. - - // Initializing stack of traversed objects. - // It's done here since we only need them for objects and arrays comparison. - aStack = aStack || []; - bStack = bStack || []; - var length = aStack.length; - while (length--) { - // Linear search. Performance is inversely proportional to the number of - // unique nested structures. - if (aStack[length] === a) return bStack[length] === b; - } - - // Add the first object to the stack of traversed objects. - aStack.push(a); - bStack.push(b); - - // Recursively compare objects and arrays. - if (areArrays) { - // Compare array lengths to determine if a deep comparison is necessary. - length = a.length; - if (length !== b.length) return false; - // Deep compare the contents, ignoring non-numeric properties. - while (length--) { - if (!eq(a[length], b[length], aStack, bStack)) return false; - } - } else { - // Deep compare objects. - var keys = _.keys(a), key; - length = keys.length; - // Ensure that both objects contain the same number of properties before comparing deep equality. - if (_.keys(b).length !== length) return false; - while (length--) { - // Deep compare each member - key = keys[length]; - if (!(_.has(b, key) && eq(a[key], b[key], aStack, bStack))) return false; - } - } - // Remove the first object from the stack of traversed objects. - aStack.pop(); - bStack.pop(); - return true; - }; - - // Perform a deep comparison to check if two objects are equal. - _.isEqual = function(a, b) { - return eq(a, b); - }; - - // Is a given array, string, or object empty? - // An "empty" object has no enumerable own-properties. - _.isEmpty = function(obj) { - if (obj == null) return true; - if (isArrayLike(obj) && (_.isArray(obj) || _.isString(obj) || _.isArguments(obj))) return obj.length === 0; - return _.keys(obj).length === 0; - }; - - // Is a given value a DOM element? - _.isElement = function(obj) { - return !!(obj && obj.nodeType === 1); - }; - - // Is a given value an array? - // Delegates to ECMA5's native Array.isArray - _.isArray = nativeIsArray || function(obj) { - return toString.call(obj) === '[object Array]'; - }; - - // Is a given variable an object? - _.isObject = function(obj) { - var type = typeof obj; - return type === 'function' || type === 'object' && !!obj; - }; - - // Add some isType methods: isArguments, isFunction, isString, isNumber, isDate, isRegExp, isError. - _.each(['Arguments', 'Function', 'String', 'Number', 'Date', 'RegExp', 'Error'], function(name) { - _['is' + name] = function(obj) { - return toString.call(obj) === '[object ' + name + ']'; - }; - }); - - // Define a fallback version of the method in browsers (ahem, IE < 9), where - // there isn't any inspectable "Arguments" type. - if (!_.isArguments(arguments)) { - _.isArguments = function(obj) { - return _.has(obj, 'callee'); - }; - } - - // Optimize `isFunction` if appropriate. Work around some typeof bugs in old v8, - // IE 11 (#1621), and in Safari 8 (#1929). - if (typeof /./ != 'function' && typeof Int8Array != 'object') { - _.isFunction = function(obj) { - return typeof obj == 'function' || false; - }; - } - - // Is a given object a finite number? - _.isFinite = function(obj) { - return isFinite(obj) && !isNaN(parseFloat(obj)); - }; - - // Is the given value `NaN`? (NaN is the only number which does not equal itself). - _.isNaN = function(obj) { - return _.isNumber(obj) && obj !== +obj; - }; - - // Is a given value a boolean? - _.isBoolean = function(obj) { - return obj === true || obj === false || toString.call(obj) === '[object Boolean]'; - }; - - // Is a given value equal to null? - _.isNull = function(obj) { - return obj === null; - }; - - // Is a given variable undefined? - _.isUndefined = function(obj) { - return obj === void 0; - }; - - // Shortcut function for checking if an object has a given property directly - // on itself (in other words, not on a prototype). - _.has = function(obj, key) { - return obj != null && hasOwnProperty.call(obj, key); - }; - - // Utility Functions - // ----------------- - - // Run Underscore.js in *noConflict* mode, returning the `_` variable to its - // previous owner. Returns a reference to the Underscore object. - _.noConflict = function() { - root._ = previousUnderscore; - return this; - }; - - // Keep the identity function around for default iteratees. - _.identity = function(value) { - return value; - }; - - // Predicate-generating functions. Often useful outside of Underscore. - _.constant = function(value) { - return function() { - return value; - }; - }; - - _.noop = function(){}; - - _.property = function(key) { - return function(obj) { - return obj == null ? void 0 : obj[key]; - }; - }; - - // Generates a function for a given object that returns a given property. - _.propertyOf = function(obj) { - return obj == null ? function(){} : function(key) { - return obj[key]; - }; - }; - - // Returns a predicate for checking whether an object has a given set of - // `key:value` pairs. - _.matcher = _.matches = function(attrs) { - attrs = _.extendOwn({}, attrs); - return function(obj) { - return _.isMatch(obj, attrs); - }; - }; - - // Run a function **n** times. - _.times = function(n, iteratee, context) { - var accum = Array(Math.max(0, n)); - iteratee = optimizeCb(iteratee, context, 1); - for (var i = 0; i < n; i++) accum[i] = iteratee(i); - return accum; - }; - - // Return a random integer between min and max (inclusive). - _.random = function(min, max) { - if (max == null) { - max = min; - min = 0; - } - return min + Math.floor(Math.random() * (max - min + 1)); - }; - - // A (possibly faster) way to get the current timestamp as an integer. - _.now = Date.now || function() { - return new Date().getTime(); - }; - - // List of HTML entities for escaping. - var escapeMap = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - "'": ''', - '`': '`' - }; - var unescapeMap = _.invert(escapeMap); - - // Functions for escaping and unescaping strings to/from HTML interpolation. - var createEscaper = function(map) { - var escaper = function(match) { - return map[match]; - }; - // Regexes for identifying a key that needs to be escaped - var source = '(?:' + _.keys(map).join('|') + ')'; - var testRegexp = RegExp(source); - var replaceRegexp = RegExp(source, 'g'); - return function(string) { - string = string == null ? '' : '' + string; - return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string; - }; - }; - _.escape = createEscaper(escapeMap); - _.unescape = createEscaper(unescapeMap); - - // If the value of the named `property` is a function then invoke it with the - // `object` as context; otherwise, return it. - _.result = function(object, property, fallback) { - var value = object == null ? void 0 : object[property]; - if (value === void 0) { - value = fallback; - } - return _.isFunction(value) ? value.call(object) : value; - }; - - // Generate a unique integer id (unique within the entire client session). - // Useful for temporary DOM ids. - var idCounter = 0; - _.uniqueId = function(prefix) { - var id = ++idCounter + ''; - return prefix ? prefix + id : id; - }; - - // By default, Underscore uses ERB-style template delimiters, change the - // following template settings to use alternative delimiters. - _.templateSettings = { - evaluate : /<%([\s\S]+?)%>/g, - interpolate : /<%=([\s\S]+?)%>/g, - escape : /<%-([\s\S]+?)%>/g - }; - - // When customizing `templateSettings`, if you don't want to define an - // interpolation, evaluation or escaping regex, we need one that is - // guaranteed not to match. - var noMatch = /(.)^/; - - // Certain characters need to be escaped so that they can be put into a - // string literal. - var escapes = { - "'": "'", - '\\': '\\', - '\r': 'r', - '\n': 'n', - '\u2028': 'u2028', - '\u2029': 'u2029' - }; - - var escaper = /\\|'|\r|\n|\u2028|\u2029/g; - - var escapeChar = function(match) { - return '\\' + escapes[match]; - }; - - // JavaScript micro-templating, similar to John Resig's implementation. - // Underscore templating handles arbitrary delimiters, preserves whitespace, - // and correctly escapes quotes within interpolated code. - // NB: `oldSettings` only exists for backwards compatibility. - _.template = function(text, settings, oldSettings) { - if (!settings && oldSettings) settings = oldSettings; - settings = _.defaults({}, settings, _.templateSettings); - - // Combine delimiters into one regular expression via alternation. - var matcher = RegExp([ - (settings.escape || noMatch).source, - (settings.interpolate || noMatch).source, - (settings.evaluate || noMatch).source - ].join('|') + '|$', 'g'); - - // Compile the template source, escaping string literals appropriately. - var index = 0; - var source = "__p+='"; - text.replace(matcher, function(match, escape, interpolate, evaluate, offset) { - source += text.slice(index, offset).replace(escaper, escapeChar); - index = offset + match.length; - - if (escape) { - source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'"; - } else if (interpolate) { - source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'"; - } else if (evaluate) { - source += "';\n" + evaluate + "\n__p+='"; - } - - // Adobe VMs need the match returned to produce the correct offest. - return match; - }); - source += "';\n"; - - // If a variable is not specified, place data values in local scope. - if (!settings.variable) source = 'with(obj||{}){\n' + source + '}\n'; - - source = "var __t,__p='',__j=Array.prototype.join," + - "print=function(){__p+=__j.call(arguments,'');};\n" + - source + 'return __p;\n'; - - try { - var render = new Function(settings.variable || 'obj', '_', source); - } catch (e) { - e.source = source; - throw e; - } - - var template = function(data) { - return render.call(this, data, _); - }; - - // Provide the compiled source as a convenience for precompilation. - var argument = settings.variable || 'obj'; - template.source = 'function(' + argument + '){\n' + source + '}'; - - return template; - }; - - // Add a "chain" function. Start chaining a wrapped Underscore object. - _.chain = function(obj) { - var instance = _(obj); - instance._chain = true; - return instance; - }; - - // OOP - // --------------- - // If Underscore is called as a function, it returns a wrapped object that - // can be used OO-style. This wrapper holds altered versions of all the - // underscore functions. Wrapped objects may be chained. - - // Helper function to continue chaining intermediate results. - var result = function(instance, obj) { - return instance._chain ? _(obj).chain() : obj; - }; - - // Add your own custom functions to the Underscore object. - _.mixin = function(obj) { - _.each(_.functions(obj), function(name) { - var func = _[name] = obj[name]; - _.prototype[name] = function() { - var args = [this._wrapped]; - push.apply(args, arguments); - return result(this, func.apply(_, args)); - }; - }); - }; - - // Add all of the Underscore functions to the wrapper object. - _.mixin(_); - - // Add all mutator Array functions to the wrapper. - _.each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) { - var method = ArrayProto[name]; - _.prototype[name] = function() { - var obj = this._wrapped; - method.apply(obj, arguments); - if ((name === 'shift' || name === 'splice') && obj.length === 0) delete obj[0]; - return result(this, obj); - }; - }); - - // Add all accessor Array functions to the wrapper. - _.each(['concat', 'join', 'slice'], function(name) { - var method = ArrayProto[name]; - _.prototype[name] = function() { - return result(this, method.apply(this._wrapped, arguments)); - }; - }); - - // Extracts the result from a wrapped and chained object. - _.prototype.value = function() { - return this._wrapped; - }; - - // Provide unwrapping proxy for some methods used in engine operations - // such as arithmetic and JSON stringification. - _.prototype.valueOf = _.prototype.toJSON = _.prototype.value; - - _.prototype.toString = function() { - return '' + this._wrapped; - }; - - // AMD registration happens at the end for compatibility with AMD loaders - // that may not enforce next-turn semantics on modules. Even though general - // practice for AMD registration is to be anonymous, underscore registers - // as a named module because, like jQuery, it is a base library that is - // popular enough to be bundled in a third party lib, but not be part of - // an AMD load request. Those cases could generate an error when an - // anonymous define() is called outside of a loader request. - if (typeof define === 'function' && define.amd) { - define('underscore', [], function() { - return _; - }); - } -}.call(this));/** +/** * Created by richie on 15/7/8. */ /** @@ -7291,27 +5747,21 @@ BI.View = BI.inherit(BI.V, { destroyed: function () { } -});(function ($) { +});(function () { var kv = {}; // alex:键(编辑器简称,如text)值(也是一个字符串,如FR.TextEditor)对 - $.shortcut = BI.shortcut = function (xtype, cls) { + BI.shortcut = function (xtype, cls) { if (kv[xtype] != null) { throw ("shortcut:[" + xtype + "] has been registed"); } kv[xtype] = cls; - $.extend(cls.prototype, { + _.extend(cls.prototype, { xtype: xtype }) }; // 根据配置属性生成widget var createWidget = function (config) { - // alex:如果是一个jquery对象,就在外面套一层,变成一个FR.Widget - if (config instanceof $) { - return new BI.Widget({ - element: config - }); - } if (config['classType']) { return new (new Function('return ' + config['classType'] + ';')())(config); } @@ -7349,7 +5799,7 @@ BI.View = BI.inherit(BI.V, { throw new Error('无法根据item创建组件'); } -})(jQuery);BI.Plugin = BI.Plugin || {}; +})();BI.Plugin = BI.Plugin || {}; ; (function () { var _WidgetsPlugin = {}; @@ -13059,7 +11509,7 @@ BI.Layout = BI.inherit(BI.Widget, { } }); -$.shortcut('bi.layout', BI.Layout);/** +BI.shortcut('bi.layout', BI.Layout);/** * absolute实现的居中布局 * @class BI.AbsoluteCenterLayout * @extends BI.Layout @@ -13105,7 +11555,7 @@ BI.AbsoluteCenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.absolute_center_adapt', BI.AbsoluteCenterLayout);/** +BI.shortcut('bi.absolute_center_adapt', BI.AbsoluteCenterLayout);/** * absolute实现的居中布局 * @class BI.AbsoluteHorizontalLayout * @extends BI.Layout @@ -13155,7 +11605,7 @@ BI.AbsoluteHorizontalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.absolute_horizontal_adapt', BI.AbsoluteHorizontalLayout);/** +BI.shortcut('bi.absolute_horizontal_adapt', BI.AbsoluteHorizontalLayout);/** * absolute实现的居中布局 * @class BI.AbsoluteVerticalLayout * @extends BI.Layout @@ -13207,7 +11657,7 @@ BI.AbsoluteVerticalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.absolute_vertical_adapt', BI.AbsoluteVerticalLayout);/** +BI.shortcut('bi.absolute_vertical_adapt', BI.AbsoluteVerticalLayout);/** * 自适应水平和垂直方向都居中容器 * @class BI.CenterAdaptLayout * @extends BI.Layout @@ -13325,7 +11775,7 @@ BI.CenterAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.center_adapt', BI.CenterAdaptLayout);/** +BI.shortcut('bi.center_adapt', BI.CenterAdaptLayout);/** * 水平方向居中容器 * @class BI.HorizontalAdaptLayout * @extends BI.Layout @@ -13442,7 +11892,7 @@ BI.HorizontalAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.horizontal_adapt', BI.HorizontalAdaptLayout);/** +BI.shortcut('bi.horizontal_adapt', BI.HorizontalAdaptLayout);/** * 左右分离,垂直方向居中容器 * items:{ left: [{el:{type:"bi.button"}}], @@ -13517,7 +11967,7 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.left_right_vertical_adapt', BI.LeftRightVerticalAdaptLayout); +BI.shortcut('bi.left_right_vertical_adapt', BI.LeftRightVerticalAdaptLayout); BI.LeftVerticalAdaptLayout = BI.inherit(BI.Layout, { @@ -13566,7 +12016,7 @@ BI.LeftVerticalAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.left_vertical_adapt', BI.LeftVerticalAdaptLayout); +BI.shortcut('bi.left_vertical_adapt', BI.LeftVerticalAdaptLayout); BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, { props: function () { @@ -13614,7 +12064,7 @@ BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.right_vertical_adapt', BI.RightVerticalAdaptLayout);/** +BI.shortcut('bi.right_vertical_adapt', BI.RightVerticalAdaptLayout);/** * 垂直方向居中容器 * @class BI.VerticalAdaptLayout * @extends BI.Layout @@ -13729,7 +12179,7 @@ BI.VerticalAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.vertical_adapt', BI.VerticalAdaptLayout);/** +BI.shortcut('bi.vertical_adapt', BI.VerticalAdaptLayout);/** * 水平方向居中自适应容器 * @class BI.HorizontalAutoLayout * @extends BI.Layout @@ -13791,7 +12241,7 @@ BI.HorizontalAutoLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.horizontal_auto', BI.HorizontalAutoLayout);/** +BI.shortcut('bi.horizontal_auto', BI.HorizontalAutoLayout);/** * 浮动的居中布局 */ BI.FloatCenterAdaptLayout = BI.inherit(BI.Layout, { @@ -13859,7 +12309,7 @@ BI.FloatCenterAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.float_center_adapt', BI.FloatCenterAdaptLayout);/** +BI.shortcut('bi.float_center_adapt', BI.FloatCenterAdaptLayout);/** * 浮动的水平居中布局 */ BI.FloatHorizontalLayout = BI.inherit(BI.Layout, { @@ -13923,7 +12373,7 @@ BI.FloatHorizontalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.horizontal_float', BI.FloatHorizontalLayout);/** +BI.shortcut('bi.horizontal_float', BI.FloatHorizontalLayout);/** * 内联布局 * @class BI.InlineCenterAdaptLayout * @extends BI.Layout @@ -14020,7 +12470,7 @@ BI.InlineCenterAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.inline_center_adapt', BI.InlineCenterAdaptLayout);/** +BI.shortcut('bi.inline_center_adapt', BI.InlineCenterAdaptLayout);/** * 内联布局 * @class BI.InlineVerticalAdaptLayout * @extends BI.Layout @@ -14091,7 +12541,7 @@ BI.InlineVerticalAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.inline_vertical_adapt', BI.InlineVerticalAdaptLayout);/** +BI.shortcut('bi.inline_vertical_adapt', BI.InlineVerticalAdaptLayout);/** *自适应水平和垂直方向都居中容器 * Created by GUY on 2016/12/2. * @@ -14125,7 +12575,7 @@ BI.FlexCenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.flex_center', BI.FlexCenterLayout);/** +BI.shortcut('bi.flex_center', BI.FlexCenterLayout);/** *自适应水平和垂直方向都居中容器 * Created by GUY on 2016/12/2. * @@ -14190,7 +12640,7 @@ BI.FlexHorizontalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.flex_horizontal', BI.FlexHorizontalLayout);/** +BI.shortcut('bi.flex_horizontal', BI.FlexHorizontalLayout);/** *自适应水平和垂直方向都居中容器 * Created by GUY on 2016/12/2. * @@ -14252,7 +12702,7 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.flex_vertical_center', BI.FlexVerticalCenter);/** +BI.shortcut('bi.flex_vertical_center', BI.FlexVerticalCenter);/** *自适应水平和垂直方向都居中容器 * Created by GUY on 2016/12/2. * @@ -14307,7 +12757,7 @@ BI.FlexCenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.flex_wrapper_center', BI.FlexCenterLayout);/** +BI.shortcut('bi.flex_wrapper_center', BI.FlexCenterLayout);/** *自适应水平和垂直方向都居中容器 * Created by GUY on 2016/12/2. * @@ -14392,7 +12842,7 @@ BI.FlexHorizontalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.flex_wrapper_horizontal', BI.FlexHorizontalLayout);/** +BI.shortcut('bi.flex_wrapper_horizontal', BI.FlexHorizontalLayout);/** *自适应水平和垂直方向都居中容器 * Created by GUY on 2016/12/2. * @@ -14475,7 +12925,7 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.flex_wrapper_vertical_center', BI.FlexVerticalCenter);/** +BI.shortcut('bi.flex_wrapper_vertical_center', BI.FlexVerticalCenter);/** * 固定子组件上下左右的布局容器 * @class BI.AbsoluteLayout * @extends BI.Layout @@ -14581,7 +13031,7 @@ BI.AbsoluteLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.absolute', BI.AbsoluteLayout);BI.AdaptiveLayout = BI.inherit(BI.Layout, { +BI.shortcut('bi.absolute', BI.AbsoluteLayout);BI.AdaptiveLayout = BI.inherit(BI.Layout, { props: function () { return BI.extend(BI.AdaptiveLayout.superclass.props.apply(this, arguments), { baseCls: "bi-adaptive-layout", @@ -14672,7 +13122,7 @@ $.shortcut('bi.absolute', BI.AbsoluteLayout);BI.AdaptiveLayout = BI.inherit(BI.L this._mount(); } }); -$.shortcut('bi.adaptive', BI.AdaptiveLayout);/** +BI.shortcut('bi.adaptive', BI.AdaptiveLayout);/** * 上下的高度固定/左右的宽度固定,中间的高度/宽度自适应 * * @class BI.BorderLayout @@ -14803,7 +13253,7 @@ BI.BorderLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.border', BI.BorderLayout);/** +BI.shortcut('bi.border', BI.BorderLayout);/** * 卡片布局,可以做到当前只显示一个组件,其他的都隐藏 * @class BI.CardLayout * @extends BI.Layout @@ -14970,7 +13420,7 @@ BI.CardLayout = BI.inherit(BI.Layout, { return flag; } }); -$.shortcut('bi.card', BI.CardLayout);/** +BI.shortcut('bi.card', BI.CardLayout);/** * 默认的布局方式 * * @class BI.DefaultLayout @@ -15028,7 +13478,7 @@ BI.DefaultLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.default', BI.DefaultLayout);/** +BI.shortcut('bi.default', BI.DefaultLayout);/** * 分隔容器的控件,按照宽度和高度所占比平分整个容器 * * @class BI.DivisionLayout @@ -15184,7 +13634,7 @@ BI.DivisionLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.division', BI.DivisionLayout);/** +BI.shortcut('bi.division', BI.DivisionLayout);/** * 靠左对齐的自由浮动布局 * @class BI.FloatLeftLayout * @extends BI.Layout @@ -15247,7 +13697,7 @@ BI.FloatLeftLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.left', BI.FloatLeftLayout); +BI.shortcut('bi.left', BI.FloatLeftLayout); /** * 靠右对齐的自由浮动布局 @@ -15312,7 +13762,7 @@ BI.FloatRightLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.right', BI.FloatRightLayout);/** +BI.shortcut('bi.right', BI.FloatRightLayout);/** * 上下的高度固定/左右的宽度固定,中间的高度/宽度自适应 * * @class BI.BorderLayout @@ -15437,7 +13887,7 @@ BI.GridLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.grid', BI.GridLayout);/** +BI.shortcut('bi.grid', BI.GridLayout);/** * 水平布局 * @class BI.HorizontalLayout * @extends BI.Layout @@ -15555,7 +14005,7 @@ BI.HorizontalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.horizontal', BI.HorizontalLayout); +BI.shortcut('bi.horizontal', BI.HorizontalLayout); /** * 水平布局 @@ -15617,7 +14067,7 @@ BI.HorizontalCellLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.horizontal_cell', BI.HorizontalCellLayout);/** +BI.shortcut('bi.horizontal_cell', BI.HorizontalCellLayout);/** * 内联布局 * @class BI.InlineLayout * @extends BI.Layout @@ -15679,7 +14129,7 @@ BI.InlineLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.inline', BI.InlineLayout);/** +BI.shortcut('bi.inline', BI.InlineLayout);/** * 靠左对齐的自由浮动布局 * @class BI.LatticeLayout * @extends BI.Layout @@ -15733,7 +14183,7 @@ BI.LatticeLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.lattice', BI.LatticeLayout);/** +BI.shortcut('bi.lattice', BI.LatticeLayout);/** * 上下的高度固定/左右的宽度固定,中间的高度/宽度自适应 * * @class BI.TableLayout @@ -15878,7 +14328,7 @@ BI.TableLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.table', BI.TableLayout);/** +BI.shortcut('bi.table', BI.TableLayout);/** * 水平tape布局 * @class BI.HTapeLayout * @extends BI.Layout @@ -15980,7 +14430,7 @@ BI.HTapeLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.htape', BI.HTapeLayout); +BI.shortcut('bi.htape', BI.HTapeLayout); /** * 垂直tape布局 @@ -16085,7 +14535,7 @@ BI.VTapeLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.vtape', BI.VTapeLayout);/** +BI.shortcut('bi.vtape', BI.VTapeLayout);/** * td布局 * @class BI.TdLayout * @extends BI.Layout @@ -16226,7 +14676,7 @@ BI.TdLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.td', BI.TdLayout);/** +BI.shortcut('bi.td', BI.TdLayout);/** * 垂直布局 * @class BI.VerticalLayout * @extends BI.Layout @@ -16287,7 +14737,7 @@ BI.VerticalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.vertical', BI.VerticalLayout);/** +BI.shortcut('bi.vertical', BI.VerticalLayout);/** * * @class BI.WindowLayout * @extends BI.Layout @@ -16474,7 +14924,7 @@ BI.WindowLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.window', BI.WindowLayout);/** +BI.shortcut('bi.window', BI.WindowLayout);/** * 水平和垂直方向都居中容器, 非自适应,用于宽度高度固定的面板 * @class BI.CenterLayout * @extends BI.Layout @@ -16548,7 +14998,7 @@ BI.CenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.center', BI.CenterLayout);/** +BI.shortcut('bi.center', BI.CenterLayout);/** * 浮动布局实现的居中容器 * @class BI.FloatCenterLayout * @extends BI.Layout @@ -16621,7 +15071,7 @@ BI.FloatCenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.float_center', BI.FloatCenterLayout);/** +BI.shortcut('bi.float_center', BI.FloatCenterLayout);/** * 水平和垂直方向都居中容器, 非自适应,用于宽度高度固定的面板 * @class BI.HorizontalCenterLayout * @extends BI.Layout @@ -16693,7 +15143,7 @@ BI.HorizontalCenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.horizontal_center', BI.HorizontalCenterLayout);/** +BI.shortcut('bi.horizontal_center', BI.HorizontalCenterLayout);/** * 垂直方向都居中容器, 非自适应,用于高度不固定的面板 * @class BI.VerticalCenterLayout * @extends BI.Layout @@ -16765,7 +15215,7 @@ BI.VerticalCenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.vertical_center', BI.VerticalCenterLayout);/** +BI.shortcut('bi.vertical_center', BI.VerticalCenterLayout);/** * guy * 由一个元素切换到另一个元素的行为 * @class BI.Action diff --git a/bi/widget.js b/bi/widget.js index 2d9d4e041..c2be3e4d3 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -380,7 +380,7 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { this._populate(); } }); -$.shortcut('bi.sequence_table_tree_number', BI.SequenceTableTreeNumber);/** +BI.shortcut('bi.sequence_table_tree_number', BI.SequenceTableTreeNumber);/** * 自适应布局 * * 1、resize @@ -893,7 +893,7 @@ BI.AdaptiveArrangement.EVENT_ELEMENT_START_RESIZE = "AdaptiveArrangement.EVENT_E BI.AdaptiveArrangement.EVENT_ELEMENT_RESIZE = "AdaptiveArrangement.EVENT_ELEMENT_RESIZE"; BI.AdaptiveArrangement.EVENT_ELEMENT_STOP_RESIZE = "AdaptiveArrangement.EVENT_ELEMENT_STOP_RESIZE"; BI.AdaptiveArrangement.EVENT_RESIZE = "AdaptiveArrangement.EVENT_RESIZE"; -$.shortcut('bi.adaptive_arrangement', BI.AdaptiveArrangement);/** +BI.shortcut('bi.adaptive_arrangement', BI.AdaptiveArrangement);/** * Arrangement的block面板 * * Created by GUY on 2016/3/1. @@ -914,7 +914,7 @@ BI.ArrangementBlock = BI.inherit(BI.Widget, { } }); -$.shortcut('bi.arrangement_block', BI.ArrangementBlock);/** +BI.shortcut('bi.arrangement_block', BI.ArrangementBlock);/** * Arrangement的drop面板 * * Created by GUY on 2016/3/1. @@ -935,7 +935,7 @@ BI.ArrangementDroppable = BI.inherit(BI.Widget, { } }); -$.shortcut('bi.arrangement_droppable', BI.ArrangementDroppable);/** +BI.shortcut('bi.arrangement_droppable', BI.ArrangementDroppable);/** * 布局 * * Created by GUY on 2016/2/23. @@ -3869,7 +3869,7 @@ BI.extend(BI.Arrangement, { GRID: 2 } }); -$.shortcut('bi.arrangement', BI.Arrangement);/** +BI.shortcut('bi.arrangement', BI.Arrangement);/** * 表关联树 * * Created by GUY on 2015/12/15. @@ -4366,7 +4366,7 @@ BI.BranchRelation = BI.inherit(BI.Widget, { } }); BI.BranchRelation.EVENT_CHANGE = "BranchRelation.EVENT_CHANGE"; -$.shortcut("bi.branch_relation", BI.BranchRelation);/** +BI.shortcut("bi.branch_relation", BI.BranchRelation);/** * 日期控件中的月份下拉框 * * Created by GUY on 2015/9/7. @@ -4400,7 +4400,7 @@ BI.MonthDateCombo = BI.inherit(BI.Trigger, { this.combo = BI.createWidget({ type: "bi.combo", offsetStyle: "center", - element: this.element, + element: this, isNeedAdjustHeight: false, isNeedAdjustWidth: false, el: this.trigger, @@ -4426,7 +4426,7 @@ BI.MonthDateCombo = BI.inherit(BI.Trigger, { } }); BI.MonthDateCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.month_date_combo', BI.MonthDateCombo);/** +BI.shortcut('bi.month_date_combo', BI.MonthDateCombo);/** * 年份下拉框 * * Created by GUY on 2015/9/7. @@ -4466,7 +4466,7 @@ BI.YearDateCombo = BI.inherit(BI.Trigger, { this.combo = BI.createWidget({ type: "bi.combo", offsetStyle: "center", - element: this.element, + element: this, isNeedAdjustHeight: false, isNeedAdjustWidth: false, el: this.trigger, @@ -4491,7 +4491,7 @@ BI.YearDateCombo = BI.inherit(BI.Trigger, { } }); BI.YearDateCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.year_date_combo', BI.YearDateCombo);/** +BI.shortcut('bi.year_date_combo', BI.YearDateCombo);/** * Created by GUY on 2015/9/7. * @class BI.DatePicker * @extends BI.Widget @@ -4580,7 +4580,7 @@ BI.DatePicker = BI.inherit(BI.Widget, { BI.createWidget({ type: "bi.htape", - element: this.element, + element: this, items: [{ el: this.left, width: 25 @@ -4617,7 +4617,7 @@ BI.DatePicker = BI.inherit(BI.Widget, { } }); BI.DatePicker.EVENT_CHANGE = "EVENT_CHANGE" -$.shortcut("bi.date_picker", BI.DatePicker);/** +BI.shortcut("bi.date_picker", BI.DatePicker);/** * Created by GUY on 2015/9/7. * @class BI.DateCalendarPopup * @extends BI.Widget @@ -4670,7 +4670,7 @@ BI.DateCalendarPopup = BI.inherit(BI.Widget, { this.calendar = BI.createWidget({ direction: "top", - element: this.element, + element: this, logic: { dynamic: true }, @@ -4712,7 +4712,7 @@ BI.DateCalendarPopup = BI.inherit(BI.Widget, { } }); BI.DateCalendarPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.date_calendar_popup", BI.DateCalendarPopup);/** +BI.shortcut("bi.date_calendar_popup", BI.DateCalendarPopup);/** * 日期控件中的年份或月份trigger * * Created by GUY on 2015/9/7. @@ -4751,7 +4751,7 @@ BI.DateTriangleTrigger = BI.inherit(BI.Trigger, { BI.createWidget({ type: "bi.center_adapt", - element: this.element, + element: this, items: [{ type: "bi.center_adapt", width: 50, @@ -4781,7 +4781,7 @@ BI.DateTriangleTrigger = BI.inherit(BI.Trigger, { } }); -$.shortcut('bi.date_triangle_trigger', BI.DateTriangleTrigger);/** +BI.shortcut('bi.date_triangle_trigger', BI.DateTriangleTrigger);/** * 日期下拉框 * * Created by GUY on 2015/9/7. @@ -4818,7 +4818,7 @@ BI.DateCombo = BI.inherit(BI.Widget, { this.combo = BI.createWidget({ type: "bi.combo", toggle: false, - element: this.element, + element: this, isNeedAdjustHeight: false, isNeedAdjustWidth: false, el: this.trigger, @@ -4839,7 +4839,7 @@ BI.DateCombo = BI.inherit(BI.Widget, { return this.popup.getValue(); } }); -$.shortcut('bi.date_combo', BI.DateCombo);BI.DateTrigger = BI.inherit(BI.Trigger, { +BI.shortcut('bi.date_combo', BI.DateCombo);BI.DateTrigger = BI.inherit(BI.Trigger, { _const: { hgap: 4, vgap: 2, @@ -4930,7 +4930,7 @@ $.shortcut('bi.date_combo', BI.DateCombo);BI.DateTrigger = BI.inherit(BI.Trigger }); BI.createWidget({ type: "bi.htape", - element: this.element, + element: this, items: [{ el: BI.createWidget(), width: 30 @@ -5103,7 +5103,7 @@ BI.DateTrigger.EVENT_VALID = "EVENT_VALID"; BI.DateTrigger.EVENT_ERROR = "EVENT_ERROR"; BI.DateTrigger.EVENT_TRIGGER_CLICK = "EVENT_TRIGGER_CLICK"; BI.DateTrigger.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; -$.shortcut("bi.date_trigger", BI.DateTrigger);/** +BI.shortcut("bi.date_trigger", BI.DateTrigger);/** * Created by zcf on 2017/2/20. */ BI.DatePaneWidget = BI.inherit(BI.Widget, { @@ -5224,7 +5224,7 @@ BI.DatePaneWidget = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.date_pane_widget", BI.DatePaneWidget);/** +BI.shortcut("bi.date_pane_widget", BI.DatePaneWidget);/** * 带有方向的pathchooser * * Created by GUY on 2016/4/21. @@ -5466,7 +5466,7 @@ BI.DirectionPathChooser = BI.inherit(BI.Widget, { } }); BI.DirectionPathChooser.EVENT_CHANGE = "DirectionPathChooser.EVENT_CHANGE"; -$.shortcut('bi.direction_path_chooser', BI.DirectionPathChooser);/** +BI.shortcut('bi.direction_path_chooser', BI.DirectionPathChooser);/** * Created by roy on 15/8/14. */ BI.DownListCombo = BI.inherit(BI.Widget, { @@ -5539,7 +5539,7 @@ BI.DownListCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.DownListCombo.EVENT_SON_VALUE_CHANGE = "EVENT_SON_VALUE_CHANGE"; BI.DownListCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; -$.shortcut("bi.down_list_combo", BI.DownListCombo);/** +BI.shortcut("bi.down_list_combo", BI.DownListCombo);/** * Created by roy on 15/9/6. */ BI.DownListGroup = BI.inherit(BI.Widget, { @@ -5588,7 +5588,7 @@ BI.DownListGroup = BI.inherit(BI.Widget, { }) BI.DownListGroup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.down_list_group", BI.DownListGroup);BI.DownListItem = BI.inherit(BI.Single, { +BI.shortcut("bi.down_list_group", BI.DownListGroup);BI.DownListItem = BI.inherit(BI.Single, { _defaultConfig: function () { var conf = BI.DownListItem.superclass._defaultConfig.apply(this, arguments); return BI.extend(conf, { @@ -5666,7 +5666,7 @@ $.shortcut("bi.down_list_group", BI.DownListGroup);BI.DownListItem = BI.inherit( } }); BI.DownListItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.down_list_item", BI.DownListItem);BI.DownListGroupItem = BI.inherit(BI.BasicButton, { +BI.shortcut("bi.down_list_item", BI.DownListItem);BI.DownListGroupItem = BI.inherit(BI.BasicButton, { _defaultConfig: function () { var conf = BI.DownListGroupItem.superclass._defaultConfig.apply(this, arguments); return BI.extend(conf, { @@ -5788,7 +5788,7 @@ $.shortcut("bi.down_list_item", BI.DownListItem);BI.DownListGroupItem = BI.inher } }); BI.DownListGroupItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.down_list_group_item", BI.DownListGroupItem);/** +BI.shortcut("bi.down_list_group_item", BI.DownListGroupItem);/** * Created by roy on 15/9/8. * 处理popup中的item分组样式 * 一个item分组中的成员大于一时,该分组设置为单选,并且默认状态第一个成员设置为已选择项 @@ -6019,7 +6019,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, { BI.DownListPopup.EVENT_CHANGE = "EVENT_CHANGE"; BI.DownListPopup.EVENT_SON_VALUE_CHANGE = "EVENT_SON_VALUE_CHANGE"; -$.shortcut("bi.down_list_popup", BI.DownListPopup);/** +BI.shortcut("bi.down_list_popup", BI.DownListPopup);/** * * Created by GUY on 2016/3/28. * @class BI.ExcelTableCell @@ -6049,7 +6049,7 @@ BI.ExcelTableCell = BI.inherit(BI.Widget, { }) } }); -$.shortcut('bi.excel_table_cell', BI.ExcelTableCell);/** +BI.shortcut('bi.excel_table_cell', BI.ExcelTableCell);/** * * Created by GUY on 2016/3/28. * @class BI.ExcelTableHeaderCell @@ -6079,7 +6079,7 @@ BI.ExcelTableHeaderCell = BI.inherit(BI.Widget, { }) } }); -$.shortcut('bi.excel_table_header_cell', BI.ExcelTableHeaderCell);/** +BI.shortcut('bi.excel_table_header_cell', BI.ExcelTableHeaderCell);/** * Excel表格 * * Created by GUY on 2016/3/28. @@ -6285,7 +6285,7 @@ BI.ExcelTable = BI.inherit(BI.Widget, { BI.ExcelTable.superclass.destroy.apply(this, arguments); } }); -$.shortcut('bi.excel_table', BI.ExcelTable);/** +BI.shortcut('bi.excel_table', BI.ExcelTable);/** * 文件管理控件组 * * Created by GUY on 2015/12/11. @@ -6363,7 +6363,7 @@ BI.FileManagerButtonGroup = BI.inherit(BI.Widget, { } }); BI.FileManagerButtonGroup.EVENT_CHANGE = "FileManagerButtonGroup.EVENT_CHANGE"; -$.shortcut("bi.file_manager_button_group", BI.FileManagerButtonGroup);/** +BI.shortcut("bi.file_manager_button_group", BI.FileManagerButtonGroup);/** * 文件管理控件 * * Created by GUY on 2015/12/11. @@ -6477,7 +6477,7 @@ BI.FileManager = BI.inherit(BI.Widget, { } }); BI.FileManager.EVENT_CHANGE = "FileManager.EVENT_CHANGE"; -$.shortcut("bi.file_manager", BI.FileManager);/** +BI.shortcut("bi.file_manager", BI.FileManager);/** * 文件管理控件 * * Created by GUY on 2015/12/11. @@ -6544,7 +6544,7 @@ BI.FileManagerFileItem = BI.inherit(BI.Single, { } }); BI.FileManagerFileItem.EVENT_CHANGE = "FileManagerFileItem.EVENT_CHANGE"; -$.shortcut("bi.file_manager_file_item", BI.FileManagerFileItem);/** +BI.shortcut("bi.file_manager_file_item", BI.FileManagerFileItem);/** * 文件管理控件 * * Created by GUY on 2015/12/11. @@ -6696,7 +6696,7 @@ BI.FileManagerFolderItem = BI.inherit(BI.Single, { } }); BI.FileManagerFolderItem.EVENT_CHANGE = "FileManagerFolderItem.EVENT_CHANGE"; -$.shortcut("bi.file_manager_folder_item", BI.FileManagerFolderItem);/** +BI.shortcut("bi.file_manager_folder_item", BI.FileManagerFolderItem);/** * 文件管理控件列表 * * Created by GUY on 2015/12/11. @@ -6753,7 +6753,7 @@ BI.FileManagerList = BI.inherit(BI.Widget, { } }); BI.FileManagerList.EVENT_CHANGE = "FileManagerList.EVENT_CHANGE"; -$.shortcut("bi.file_manager_list", BI.FileManagerList);/** +BI.shortcut("bi.file_manager_list", BI.FileManagerList);/** * 文件管理导航按钮 * * Created by GUY on 2015/12/11. @@ -6844,7 +6844,7 @@ BI.FileManagerNavButton = BI.inherit(BI.Widget, { } }); BI.FileManagerNavButton.EVENT_CHANGE = "FileManagerNavButton.EVENT_CHANGE"; -$.shortcut("bi.file_manager_nav_button", BI.FileManagerNavButton);/** +BI.shortcut("bi.file_manager_nav_button", BI.FileManagerNavButton);/** * 文件管理导航 * * Created by GUY on 2015/12/11. @@ -6950,7 +6950,7 @@ BI.extend(BI.FileManagerNav, { ROOT_CREATE_BY_ME: "-1" }); BI.FileManagerNav.EVENT_CHANGE = "FileManagerNav.EVENT_CHANGE"; -$.shortcut("bi.file_manager_nav", BI.FileManagerNav);/** +BI.shortcut("bi.file_manager_nav", BI.FileManagerNav);/** * Created by windy on 2017/3/13. * 数值微调器 */ @@ -7044,7 +7044,7 @@ BI.FineTuningNumberEditor = BI.inherit(BI.Widget, { }); BI.FineTuningNumberEditor.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut("bi.fine_tuning_number_editor", BI.FineTuningNumberEditor);/** +BI.shortcut("bi.fine_tuning_number_editor", BI.FineTuningNumberEditor);/** * 交互行为布局 * * @@ -7614,7 +7614,7 @@ BI.InteractiveArrangement = BI.inherit(BI.Widget, { } }); BI.InteractiveArrangement.EVENT_RESIZE = "InteractiveArrangement.EVENT_RESIZE"; -$.shortcut('bi.interactive_arrangement', BI.InteractiveArrangement);/** +BI.shortcut('bi.interactive_arrangement', BI.InteractiveArrangement);/** * 月份下拉框 * * Created by GUY on 2015/8/28. @@ -7692,7 +7692,7 @@ BI.MonthCombo = BI.inherit(BI.Widget, { }); BI.MonthCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut('bi.month_combo', BI.MonthCombo);/** +BI.shortcut('bi.month_combo', BI.MonthCombo);/** * 月份展示面板 * * Created by GUY on 2015/9/2. @@ -7772,7 +7772,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, { } }); BI.MonthPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.month_popup", BI.MonthPopup);/** +BI.shortcut("bi.month_popup", BI.MonthPopup);/** * 月份trigger * * Created by GUY on 2015/8/21. @@ -7882,7 +7882,7 @@ BI.MonthTrigger.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.MonthTrigger.EVENT_START = "EVENT_START"; BI.MonthTrigger.EVENT_STOP = "EVENT_STOP"; BI.MonthTrigger.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.month_trigger", BI.MonthTrigger);/** +BI.shortcut("bi.month_trigger", BI.MonthTrigger);/** * @class BI.MultiLayerSelectTreeCombo * @extends BI.Widget */ @@ -7951,7 +7951,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, { } }); BI.MultiLayerSelectTreeCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multilayer_select_tree_combo", BI.MultiLayerSelectTreeCombo);/** +BI.shortcut("bi.multilayer_select_tree_combo", BI.MultiLayerSelectTreeCombo);/** * guy * 二级树 * @class BI.MultiLayerSelectLevelTree @@ -8082,7 +8082,7 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, { }); BI.MultiLayerSelectLevelTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multilayer_select_level_tree", BI.MultiLayerSelectLevelTree);/** +BI.shortcut("bi.multilayer_select_level_tree", BI.MultiLayerSelectLevelTree);/** * Created by GUY on 2016/1/26. * * @class BI.MultiLayerSelectTreePopup @@ -8148,7 +8148,7 @@ BI.MultiLayerSelectTreePopup = BI.inherit(BI.Pane, { }); BI.MultiLayerSelectTreePopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multilayer_select_tree_popup", BI.MultiLayerSelectTreePopup);/** +BI.shortcut("bi.multilayer_select_tree_popup", BI.MultiLayerSelectTreePopup);/** * 加号表示的组节点 * * Created by GUY on 2016/1/27. @@ -8241,7 +8241,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.multilayer_select_tree_first_plus_group_node", BI.MultiLayerSelectTreeFirstPlusGroupNode);/** +BI.shortcut("bi.multilayer_select_tree_first_plus_group_node", BI.MultiLayerSelectTreeFirstPlusGroupNode);/** * 加号表示的组节点 * * Created by GUY on 2016/1/27. @@ -8330,7 +8330,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.multilayer_select_tree_last_plus_group_node", BI.MultiLayerSelectTreeLastPlusGroupNode);/** +BI.shortcut("bi.multilayer_select_tree_last_plus_group_node", BI.MultiLayerSelectTreeLastPlusGroupNode);/** * 加号表示的组节点 * * Created by GUY on 2016/1/27. @@ -8419,7 +8419,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.multilayer_select_tree_mid_plus_group_node", BI.MultiLayerSelectTreeMidPlusGroupNode);/** +BI.shortcut("bi.multilayer_select_tree_mid_plus_group_node", BI.MultiLayerSelectTreeMidPlusGroupNode);/** * 多层级下拉单选树 * Created by GUY on 2016/1/26. * @@ -8493,7 +8493,7 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, { }); BI.MultiLayerSingleTreeCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multilayer_single_tree_combo", BI.MultiLayerSingleTreeCombo);/** +BI.shortcut("bi.multilayer_single_tree_combo", BI.MultiLayerSingleTreeCombo);/** * guy * 二级树 * @class BI.MultiLayerSingleLevelTree @@ -8627,7 +8627,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { }); BI.MultiLayerSingleLevelTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multilayer_single_level_tree", BI.MultiLayerSingleLevelTree); +BI.shortcut("bi.multilayer_single_level_tree", BI.MultiLayerSingleLevelTree); /** * Created by GUY on 2016/1/26. * @@ -8694,7 +8694,7 @@ BI.MultiLayerSingleTreePopup = BI.inherit(BI.Pane, { }); BI.MultiLayerSingleTreePopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multilayer_single_tree_popup", BI.MultiLayerSingleTreePopup);/** +BI.shortcut("bi.multilayer_single_tree_popup", BI.MultiLayerSingleTreePopup);/** * 加号表示的组节点 * * Created by GUY on 2016/1/27. @@ -8776,7 +8776,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.multilayer_single_tree_first_plus_group_node", BI.MultiLayerSingleTreeFirstPlusGroupNode);/** +BI.shortcut("bi.multilayer_single_tree_first_plus_group_node", BI.MultiLayerSingleTreeFirstPlusGroupNode);/** * 加号表示的组节点 * * Created by GUY on 2016/1/27. @@ -8858,7 +8858,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.multilayer_single_tree_last_plus_group_node", BI.MultiLayerSingleTreeLastPlusGroupNode);/** +BI.shortcut("bi.multilayer_single_tree_last_plus_group_node", BI.MultiLayerSingleTreeLastPlusGroupNode);/** * 加号表示的组节点 * * Created by GUY on 2016/1/27. @@ -8940,7 +8940,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.multilayer_single_tree_mid_plus_group_node", BI.MultiLayerSingleTreeMidPlusGroupNode);/** +BI.shortcut("bi.multilayer_single_tree_mid_plus_group_node", BI.MultiLayerSingleTreeMidPlusGroupNode);/** * * Created by GUY on 2016/1/27. * @class BI.MultiLayerSingleTreeFirstTreeLeafItem @@ -9035,7 +9035,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.multilayer_single_tree_first_tree_leaf_item", BI.MultiLayerSingleTreeFirstTreeLeafItem);/** +BI.shortcut("bi.multilayer_single_tree_first_tree_leaf_item", BI.MultiLayerSingleTreeFirstTreeLeafItem);/** * * Created by GUY on 2016/1/27. * @class BI.MultiLayerSingleTreeLastTreeLeafItem @@ -9130,7 +9130,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.multilayer_single_tree_last_tree_leaf_item", BI.MultiLayerSingleTreeLastTreeLeafItem);/** +BI.shortcut("bi.multilayer_single_tree_last_tree_leaf_item", BI.MultiLayerSingleTreeLastTreeLeafItem);/** * * Created by GUY on 2016/1/27. * @class BI.MultiLayerSingleTreeMidTreeLeafItem @@ -9225,7 +9225,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.multilayer_single_tree_mid_tree_leaf_item", BI.MultiLayerSingleTreeMidTreeLeafItem);/** +BI.shortcut("bi.multilayer_single_tree_mid_tree_leaf_item", BI.MultiLayerSingleTreeMidTreeLeafItem);/** * * @class BI.MultiSelectCheckPane * @extends BI.Widget @@ -9331,7 +9331,7 @@ BI.MultiSelectCheckPane = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.multi_select_check_pane", BI.MultiSelectCheckPane);/** +BI.shortcut("bi.multi_select_check_pane", BI.MultiSelectCheckPane);/** * * * 查看已选弹出层的展示面板 @@ -9417,7 +9417,7 @@ BI.DisplaySelectedList = BI.inherit(BI.Pane, { } }); -$.shortcut('bi.display_selected_list', BI.DisplaySelectedList);/** +BI.shortcut('bi.display_selected_list', BI.DisplaySelectedList);/** * * @class BI.MultiSelectCombo * @extends BI.Single @@ -9764,7 +9764,7 @@ BI.extend(BI.MultiSelectCombo, { BI.MultiSelectCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut('bi.multi_select_combo', BI.MultiSelectCombo);/** +BI.shortcut('bi.multi_select_combo', BI.MultiSelectCombo);/** * 多选加载数据面板 * Created by guy on 15/11/2. * @class BI.MultiSelectLoader @@ -9935,7 +9935,7 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, { }); BI.MultiSelectLoader.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.multi_select_loader', BI.MultiSelectLoader);/** +BI.shortcut('bi.multi_select_loader', BI.MultiSelectLoader);/** * 带加载的多选下拉面板 * @class BI.MultiSelectPopupView * @extends Widget @@ -10029,7 +10029,7 @@ BI.MultiSelectPopupView.EVENT_CLICK_CONFIRM = "EVENT_CLICK_CONFIRM"; BI.MultiSelectPopupView.EVENT_CLICK_CLEAR = "EVENT_CLICK_CLEAR"; -$.shortcut('bi.multi_select_popup_view', BI.MultiSelectPopupView);/** +BI.shortcut('bi.multi_select_popup_view', BI.MultiSelectPopupView);/** * * 复选下拉框 * @class BI.MultiSelectTrigger @@ -10181,7 +10181,7 @@ BI.MultiSelectTrigger.EVENT_PAUSE = "EVENT_PAUSE"; BI.MultiSelectTrigger.EVENT_SEARCHING = "EVENT_SEARCHING"; BI.MultiSelectTrigger.EVENT_BEFORE_COUNTER_POPUPVIEW = "EVENT_BEFORE_COUNTER_POPUPVIEW"; -$.shortcut('bi.multi_select_trigger', BI.MultiSelectTrigger);/** +BI.shortcut('bi.multi_select_trigger', BI.MultiSelectTrigger);/** * 多选加载数据搜索loader面板 * Created by guy on 15/11/4. * @class BI.MultiSelectSearchLoader @@ -10336,7 +10336,7 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, { }); BI.MultiSelectSearchLoader.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.multi_select_search_loader', BI.MultiSelectSearchLoader);/** +BI.shortcut('bi.multi_select_search_loader', BI.MultiSelectSearchLoader);/** * * 在搜索框中输入文本弹出的面板 * @class BI.MultiSelectSearchPane @@ -10437,7 +10437,7 @@ BI.MultiSelectSearchPane = BI.inherit(BI.Widget, { BI.MultiSelectSearchPane.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multi_select_search_pane", BI.MultiSelectSearchPane);/** +BI.shortcut("bi.multi_select_search_pane", BI.MultiSelectSearchPane);/** * 查看已选按钮 * Created by guy on 15/11/3. * @class BI.MultiSelectCheckSelectedButton @@ -10513,7 +10513,7 @@ BI.MultiSelectCheckSelectedButton = BI.inherit(BI.Single, { }); BI.MultiSelectCheckSelectedButton.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.multi_select_check_selected_button', BI.MultiSelectCheckSelectedButton);/** +BI.shortcut('bi.multi_select_check_selected_button', BI.MultiSelectCheckSelectedButton);/** * 多选输入框 * Created by guy on 15/11/3. * @class BI.MultiSelectEditor @@ -10598,7 +10598,7 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, { } }); BI.MultiSelectEditor.EVENT_PAUSE = "MultiSelectEditor.EVENT_PAUSE"; -$.shortcut('bi.multi_select_editor', BI.MultiSelectEditor);/** +BI.shortcut('bi.multi_select_editor', BI.MultiSelectEditor);/** * searcher * Created by guy on 15/11/3. * @class BI.MultiSelectSearcher @@ -10740,7 +10740,7 @@ BI.MultiSelectSearcher.EVENT_START = "EVENT_START"; BI.MultiSelectSearcher.EVENT_STOP = "EVENT_STOP"; BI.MultiSelectSearcher.EVENT_PAUSE = "EVENT_PAUSE"; BI.MultiSelectSearcher.EVENT_SEARCHING = "EVENT_SEARCHING"; -$.shortcut('bi.multi_select_searcher', BI.MultiSelectSearcher);/** +BI.shortcut('bi.multi_select_searcher', BI.MultiSelectSearcher);/** * 查看已选switcher * Created by guy on 15/11/3. * @class BI.MultiSelectCheckSelectedSwitcher @@ -10833,7 +10833,7 @@ BI.MultiSelectCheckSelectedSwitcher = BI.inherit(BI.Widget, { BI.MultiSelectCheckSelectedSwitcher.EVENT_TRIGGER_CHANGE = "MultiSelectCheckSelectedSwitcher.EVENT_TRIGGER_CHANGE"; BI.MultiSelectCheckSelectedSwitcher.EVENT_BEFORE_POPUPVIEW = "MultiSelectCheckSelectedSwitcher.EVENT_BEFORE_POPUPVIEW"; -$.shortcut('bi.multi_select_check_selected_switcher', BI.MultiSelectCheckSelectedSwitcher);/** +BI.shortcut('bi.multi_select_check_selected_switcher', BI.MultiSelectCheckSelectedSwitcher);/** * Created by zcf on 2016/12/14. */ BI.MultiStringList = BI.inherit(BI.Widget, { @@ -10962,7 +10962,7 @@ BI.MultiStringList = BI.inherit(BI.Widget, { }); BI.createWidget({ type: "bi.vtape", - element: this.element, + element: this, height: "100%", width: "100%", items: [{ @@ -11152,7 +11152,7 @@ BI.extend(BI.MultiStringList, { }); BI.MultiStringList.EVENT_CHANGE = "BI.MultiStringList.EVENT_CHANGE"; -$.shortcut("bi.multi_string_list", BI.MultiStringList);/** +BI.shortcut("bi.multi_string_list", BI.MultiStringList);/** * * @class BI.MultiTreeCheckPane * @extends BI.Pane @@ -11266,7 +11266,7 @@ BI.MultiTreeCheckPane = BI.inherit(BI.Pane, { BI.MultiTreeCheckPane.EVENT_CONTINUE_CLICK = "EVENT_CONTINUE_CLICK"; -$.shortcut("bi.multi_tree_check_pane", BI.MultiTreeCheckPane);/** +BI.shortcut("bi.multi_tree_check_pane", BI.MultiTreeCheckPane);/** * * @class BI.MultiTreeCombo * @extends BI.Single @@ -11517,7 +11517,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, { BI.MultiTreeCombo.EVENT_CONFIRM = "MultiTreeCombo.EVENT_CONFIRM"; -$.shortcut('bi.multi_tree_combo', BI.MultiTreeCombo);/** +BI.shortcut('bi.multi_tree_combo', BI.MultiTreeCombo);/** * 带加载的多选下拉面板 * @class BI.MultiTreePopup * @extends BI.Pane @@ -11617,7 +11617,7 @@ BI.MultiTreePopup.EVENT_CLICK_CLEAR = "EVENT_CLICK_CLEAR"; BI.MultiTreePopup.EVENT_AFTERINIT = "EVENT_AFTERINIT"; -$.shortcut('bi.multi_tree_popup_view', BI.MultiTreePopup);/** +BI.shortcut('bi.multi_tree_popup_view', BI.MultiTreePopup);/** * * 在搜索框中输入文本弹出的面板 * @class BI.MultiTreeSearchPane @@ -11685,7 +11685,7 @@ BI.MultiTreeSearchPane.EVENT_CHANGE = "EVENT_CHANGE"; BI.MultiTreeSearchPane.EVENT_CLICK_CONFIRM = "EVENT_CLICK_CONFIRM"; BI.MultiTreeSearchPane.EVENT_CLICK_CLEAR = "EVENT_CLICK_CLEAR"; -$.shortcut("bi.multi_tree_search_pane", BI.MultiTreeSearchPane);/** +BI.shortcut("bi.multi_tree_search_pane", BI.MultiTreeSearchPane);/** * 查看已选按钮 * Created by guy on 15/11/3. * @class BI.MultiTreeCheckSelectedButton @@ -11755,7 +11755,7 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, { }); BI.MultiTreeCheckSelectedButton.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.multi_tree_check_selected_button', BI.MultiTreeCheckSelectedButton);/** +BI.shortcut('bi.multi_tree_check_selected_button', BI.MultiTreeCheckSelectedButton);/** * searcher * Created by guy on 15/11/3. * @class BI.MultiTreeSearcher @@ -11890,7 +11890,7 @@ BI.MultiTreeSearcher.EVENT_CHANGE = "EVENT_CHANGE"; BI.MultiTreeSearcher.EVENT_START = "EVENT_START"; BI.MultiTreeSearcher.EVENT_STOP = "EVENT_STOP"; BI.MultiTreeSearcher.EVENT_PAUSE = "EVENT_PAUSE"; -$.shortcut('bi.multi_tree_searcher', BI.MultiTreeSearcher);/** +BI.shortcut('bi.multi_tree_searcher', BI.MultiTreeSearcher);/** * Created by zcf on 2016/12/20. */ BI.MultiTreeList = BI.inherit(BI.Widget, { @@ -12017,7 +12017,7 @@ BI.MultiTreeList = BI.inherit(BI.Widget, { }); BI.createWidget({ type: "bi.vtape", - element: this.element, + element: this, height: "100%", width: "100%", items: [{ @@ -12067,7 +12067,7 @@ BI.MultiTreeList = BI.inherit(BI.Widget, { } }); BI.MultiTreeList.EVENT_CHANGE = "MultiTreeList.EVENT_CHANGE"; -$.shortcut('bi.multi_tree_list', BI.MultiTreeList);/** +BI.shortcut('bi.multi_tree_list', BI.MultiTreeList);/** * Created by zcf on 2016/12/21. */ BI.MultiStringListPopup=BI.inherit(BI.Widget,{ @@ -12083,7 +12083,7 @@ BI.MultiStringListPopup=BI.inherit(BI.Widget,{ this.popup = BI.createWidget({ type: "bi.sync_tree", height: 400, - element:this.element, + element: this, itemsCreator: o.itemsCreator }); this.popup.on(BI.TreeView.EVENT_AFTERINIT, function () { @@ -12114,7 +12114,7 @@ BI.MultiStringListPopup=BI.inherit(BI.Widget,{ }); BI.MultiStringListPopup.EVENT_AFTER_INIT="BI.MultiStringListPopup.EVENT_AFTER_INIT"; BI.MultiStringListPopup.EVENT_CHANGE="BI.MultiStringListPopup.EVENT_CHANGE"; -$.shortcut("bi.multi_tree_list_popup",BI.MultiStringListPopup);//小于号的值为:0,小于等于号的值为:1 +BI.shortcut("bi.multi_tree_list_popup",BI.MultiStringListPopup);//小于号的值为:0,小于等于号的值为:1 //closeMIn:最小值的符号,closeMax:最大值的符号 /** * Created by roy on 15/9/17. @@ -12648,7 +12648,7 @@ BI.NumericalInterval = BI.inherit(BI.Single, { BI.NumericalInterval.EVENT_CHANGE = "EVENT_CHANGE"; BI.NumericalInterval.EVENT_VALID = "EVENT_VALID"; BI.NumericalInterval.EVENT_ERROR = "EVENT_ERROR"; -$.shortcut("bi.numerical_interval", BI.NumericalInterval);/** +BI.shortcut("bi.numerical_interval", BI.NumericalInterval);/** * * 表格 * @@ -12686,7 +12686,7 @@ BI.PageTableCell = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.page_table_cell", BI.PageTableCell);/** +BI.shortcut("bi.page_table_cell", BI.PageTableCell);/** * 分页表格 * * Created by GUY on 2016/2/15. @@ -12935,7 +12935,7 @@ BI.PageTable = BI.inherit(BI.Widget, { BI.PageTable.superclass.destroy.apply(this, arguments); } }); -$.shortcut('bi.page_table', BI.PageTable);/** +BI.shortcut('bi.page_table', BI.PageTable);/** * 路径选择 * * Created by GUY on 2015/12/4. @@ -13425,7 +13425,7 @@ BI.PathChooser = BI.inherit(BI.Widget, { } }); BI.PathChooser.EVENT_CHANGE = "PathChooser.EVENT_CHANGE"; -$.shortcut("bi.path_chooser", BI.PathChooser);/** +BI.shortcut("bi.path_chooser", BI.PathChooser);/** * 路径选择区域 * * Created by GUY on 2015/12/4. @@ -13539,7 +13539,7 @@ BI.PathRegion = BI.inherit(BI.Widget, { } }); BI.PathRegion.EVENT_CHANGE = "PathRegion.EVENT_CHANGE"; -$.shortcut("bi.path_region", BI.PathRegion);/** +BI.shortcut("bi.path_region", BI.PathRegion);/** * 预览表列 * * Created by GUY on 2015/12/25. @@ -13570,7 +13570,7 @@ BI.PreviewTableCell = BI.inherit(BI.Widget, { }) } }); -$.shortcut('bi.preview_table_cell', BI.PreviewTableCell);/** +BI.shortcut('bi.preview_table_cell', BI.PreviewTableCell);/** * 预览表 * * Created by GUY on 2015/12/25. @@ -13601,7 +13601,7 @@ BI.PreviewTableHeaderCell = BI.inherit(BI.Widget, { }) } }); -$.shortcut('bi.preview_table_header_cell', BI.PreviewTableHeaderCell);/** +BI.shortcut('bi.preview_table_header_cell', BI.PreviewTableHeaderCell);/** * 预览表 * * Created by GUY on 2015/12/25. @@ -13809,7 +13809,7 @@ BI.PreviewTable = BI.inherit(BI.Widget, { } }); BI.PreviewTable.EVENT_CHANGE = "PreviewTable.EVENT_CHANGE"; -$.shortcut('bi.preview_table', BI.PreviewTable);/** +BI.shortcut('bi.preview_table', BI.PreviewTable);/** * 季度下拉框 * * Created by GUY on 2015/8/28. @@ -13890,7 +13890,7 @@ BI.QuarterCombo = BI.inherit(BI.Widget, { }); BI.QuarterCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut('bi.quarter_combo', BI.QuarterCombo);/** +BI.shortcut('bi.quarter_combo', BI.QuarterCombo);/** * 季度展示面板 * * Created by GUY on 2015/9/2. @@ -13960,7 +13960,7 @@ BI.QuarterPopup = BI.inherit(BI.Widget, { } }); BI.QuarterPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.quarter_popup", BI.QuarterPopup);/** +BI.shortcut("bi.quarter_popup", BI.QuarterPopup);/** * 季度trigger * * Created by GUY on 2015/8/21. @@ -14065,7 +14065,7 @@ BI.QuarterTrigger.EVENT_CHANGE = "EVENT_CHANGE"; BI.QuarterTrigger.EVENT_START = "EVENT_START"; BI.QuarterTrigger.EVENT_STOP = "EVENT_STOP"; BI.QuarterTrigger.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut("bi.quarter_trigger", BI.QuarterTrigger);/** +BI.shortcut("bi.quarter_trigger", BI.QuarterTrigger);/** * 关联视图字段Item * * Created by GUY on 2015/12/23. @@ -14123,7 +14123,7 @@ BI.RelationViewItem = BI.inherit(BI.BasicButton, { this.element[b ? "addClass" : "removeClass"]("active"); } }); -$.shortcut('bi.relation_view_item', BI.RelationViewItem);/** +BI.shortcut('bi.relation_view_item', BI.RelationViewItem);/** * 关联视图 * * Created by GUY on 2015/12/22. @@ -14441,7 +14441,7 @@ BI.RelationView = BI.inherit(BI.Widget, { }); BI.RelationView.EVENT_CHANGE = "RelationView.EVENT_CHANGE"; BI.RelationView.EVENT_PREVIEW = "EVENT_PREVIEW"; -$.shortcut('bi.relation_view', BI.RelationView);/** +BI.shortcut('bi.relation_view', BI.RelationView);/** * Created by Young's on 2017/3/10. */ BI.RelationViewRegionContainer = BI.inherit(BI.Widget, { @@ -14534,7 +14534,7 @@ BI.RelationViewRegionContainer = BI.inherit(BI.Widget, { BI.RelationViewRegionContainer.EVENT_HOVER_IN = "RelationViewRegion.EVENT_HOVER_IN"; BI.RelationViewRegionContainer.EVENT_HOVER_OUT = "RelationViewRegion.EVENT_HOVER_OUT"; BI.RelationViewRegionContainer.EVENT_PREVIEW = "RelationViewRegion.EVENT_PREVIEW"; -$.shortcut("bi.relation_view_region_container", BI.RelationViewRegionContainer);/** +BI.shortcut("bi.relation_view_region_container", BI.RelationViewRegionContainer);/** * 关联视图 * * Created by GUY on 2015/12/23. @@ -14690,7 +14690,7 @@ BI.RelationViewRegion = BI.inherit(BI.BasicButton, { BI.RelationViewRegion.EVENT_HOVER_IN = "RelationViewRegion.EVENT_HOVER_IN"; BI.RelationViewRegion.EVENT_HOVER_OUT = "RelationViewRegion.EVENT_HOVER_OUT"; BI.RelationViewRegion.EVENT_PREVIEW = "RelationViewRegion.EVENT_PREVIEW"; -$.shortcut('bi.relation_view_region', BI.RelationViewRegion);/** +BI.shortcut('bi.relation_view_region', BI.RelationViewRegion);/** * 加号表示的组节点 * Created by GUY on 2015/9/6. * @class BI.SelectTreeFirstPlusGroupNode @@ -14774,7 +14774,7 @@ BI.SelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.select_tree_first_plus_group_node", BI.SelectTreeFirstPlusGroupNode);/** +BI.shortcut("bi.select_tree_first_plus_group_node", BI.SelectTreeFirstPlusGroupNode);/** * 加号表示的组节点 * Created by GUY on 2015/9/6. * @class BI.SelectTreeLastPlusGroupNode @@ -14858,7 +14858,7 @@ BI.SelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.select_tree_last_plus_group_node", BI.SelectTreeLastPlusGroupNode);/** +BI.shortcut("bi.select_tree_last_plus_group_node", BI.SelectTreeLastPlusGroupNode);/** * 加号表示的组节点 * Created by GUY on 2015/9/6. * @class BI.SelectTreeMidPlusGroupNode @@ -14942,7 +14942,7 @@ BI.SelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.select_tree_mid_plus_group_node", BI.SelectTreeMidPlusGroupNode);/** +BI.shortcut("bi.select_tree_mid_plus_group_node", BI.SelectTreeMidPlusGroupNode);/** * @class BI.SelectTreeCombo * @extends BI.Widget */ @@ -15009,7 +15009,7 @@ BI.SelectTreeCombo = BI.inherit(BI.Widget, { }); -$.shortcut("bi.select_tree_combo", BI.SelectTreeCombo);/** +BI.shortcut("bi.select_tree_combo", BI.SelectTreeCombo);/** * @class BI.SelectTreeExpander * @extends BI.Widget */ @@ -15081,7 +15081,7 @@ BI.SelectTreeExpander = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.select_tree_expander", BI.SelectTreeExpander);/** +BI.shortcut("bi.select_tree_expander", BI.SelectTreeExpander);/** * @class BI.SelectTreePopup * @extends BI.Pane */ @@ -15177,7 +15177,7 @@ BI.SelectTreePopup = BI.inherit(BI.Pane, { }); BI.SelectTreePopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.select_tree_popup", BI.SelectTreePopup);/** +BI.shortcut("bi.select_tree_popup", BI.SelectTreePopup);/** * * Created by GUY on 2016/8/10. * @class BI.SequenceTableDynamicNumber @@ -15247,7 +15247,7 @@ BI.SequenceTableDynamicNumber = BI.inherit(BI.SequenceTableTreeNumber, { return result; } }); -$.shortcut('bi.sequence_table_dynamic_number', BI.SequenceTableDynamicNumber);/** +BI.shortcut('bi.sequence_table_dynamic_number', BI.SequenceTableDynamicNumber);/** * * Created by GUY on 2016/5/26. * @class BI.SequenceTableListNumber @@ -15452,7 +15452,7 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { this._populate(); } }); -$.shortcut('bi.sequence_table_list_number', BI.SequenceTableListNumber);/** +BI.shortcut('bi.sequence_table_list_number', BI.SequenceTableListNumber);/** * 带有序号的表格 * * Created by GUY on 2016/5/26. @@ -15702,7 +15702,7 @@ BI.SequenceTable = BI.inherit(BI.Widget, { BI.SequenceTable.superclass.destroy.apply(this, arguments); } }); -$.shortcut('bi.sequence_table', BI.SequenceTable);/** +BI.shortcut('bi.sequence_table', BI.SequenceTable);/** * @class BI.SingleTreeCombo * @extends BI.Widget */ @@ -15775,7 +15775,7 @@ BI.SingleTreeCombo = BI.inherit(BI.Widget, { BI.SingleTreeCombo.EVENT_CHANGE = "SingleTreeCombo.EVENT_CHANGE"; BI.SingleTreeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; -$.shortcut("bi.single_tree_combo", BI.SingleTreeCombo);/** +BI.shortcut("bi.single_tree_combo", BI.SingleTreeCombo);/** * @class BI.SingleTreePopup * @extends BI.Pane */ @@ -15837,7 +15837,7 @@ BI.SingleTreePopup = BI.inherit(BI.Pane, { }); BI.SingleTreePopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.single_tree_popup", BI.SingleTreePopup);/** +BI.shortcut("bi.single_tree_popup", BI.SingleTreePopup);/** * @class BI.SingleTreeTrigger * @extends BI.Trigger */ @@ -15895,7 +15895,7 @@ BI.SingleTreeTrigger = BI.inherit(BI.Trigger, { }); -$.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);/** +BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);/** * 可以单选多选切换的树 * * Created by GUY on 2015/12/21. @@ -16005,7 +16005,7 @@ BI.SwitchTree.SelectType = { SingleSelect: BI.Selection.Single, MultiSelect: BI.Selection.Multi }; -$.shortcut('bi.switch_tree', BI.SwitchTree); +BI.shortcut('bi.switch_tree', BI.SwitchTree); /** * web组件 * Created by GameJian on 2016/3/1. @@ -16159,7 +16159,7 @@ BI.WebPage = BI.inherit(BI.Widget, { BI.WebPage.EVENT_DESTROY = "EVENT_DESTROY"; BI.WebPage.EVENT_VALUE_CHANGE = "EVENT_VALUE_CHANGE"; -$.shortcut("bi.web_page", BI.WebPage);/** +BI.shortcut("bi.web_page", BI.WebPage);/** * 年份下拉框 * * Created by GUY on 2015/8/28. @@ -16254,7 +16254,7 @@ BI.YearCombo = BI.inherit(BI.Widget, { } }); BI.YearCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut('bi.year_combo', BI.YearCombo);/** +BI.shortcut('bi.year_combo', BI.YearCombo);/** * 年份展示面板 * * Created by GUY on 2015/9/2. @@ -16356,7 +16356,7 @@ BI.YearPopup = BI.inherit(BI.Widget, { } }); BI.YearPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.year_popup", BI.YearPopup);/** +BI.shortcut("bi.year_popup", BI.YearPopup);/** * 年份trigger * * Created by GUY on 2015/8/21. @@ -16461,7 +16461,7 @@ BI.YearTrigger.EVENT_ERROR = "EVENT_ERROR"; BI.YearTrigger.EVENT_START = "EVENT_START"; BI.YearTrigger.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.YearTrigger.EVENT_STOP = "EVENT_STOP"; -$.shortcut("bi.year_trigger", BI.YearTrigger);/** +BI.shortcut("bi.year_trigger", BI.YearTrigger);/** * 年份 + 月份下拉框 * * @class BI.YearMonthCombo @@ -16517,7 +16517,7 @@ BI.YearMonthCombo = BI.inherit(BI.Widget, { } }); BI.YearMonthCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut('bi.year_month_combo', BI.YearMonthCombo);/** +BI.shortcut('bi.year_month_combo', BI.YearMonthCombo);/** * 年份 + 月份下拉框 * * @class BI.YearQuarterCombo @@ -16573,7 +16573,7 @@ BI.YearQuarterCombo = BI.inherit(BI.Widget, { } }); BI.YearQuarterCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut('bi.year_quarter_combo', BI.YearQuarterCombo);/** +BI.shortcut('bi.year_quarter_combo', BI.YearQuarterCombo);/** * 简单的复选下拉框控件, 适用于数据量少的情况 * 封装了字段处理逻辑 * @@ -16605,7 +16605,7 @@ BI.AllValueChooserCombo = BI.inherit(BI.Widget, { } this.combo = BI.createWidget({ type: 'bi.multi_select_combo', - element: this.element, + element: this, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: function (v) { var text = v; @@ -16690,7 +16690,7 @@ BI.AllValueChooserCombo = BI.inherit(BI.Widget, { } }); BI.AllValueChooserCombo.EVENT_CONFIRM = "AllValueChooserCombo.EVENT_CONFIRM"; -$.shortcut('bi.all_value_chooser_combo', BI.AllValueChooserCombo);/** +BI.shortcut('bi.all_value_chooser_combo', BI.AllValueChooserCombo);/** * 简单的复选下拉树控件, 适用于数据量少的情况 * * Created by GUY on 2015/10/29. @@ -16721,7 +16721,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { } this.combo = BI.createWidget({ type: 'bi.multi_tree_combo', - element: this.element, + element: this, itemsCreator: BI.bind(this._itemsCreator, this), width: o.width, height: o.height @@ -17288,7 +17288,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { } }); BI.TreeValueChooserCombo.EVENT_CONFIRM = "TreeValueChooserCombo.EVENT_CONFIRM"; -$.shortcut('bi.tree_value_chooser_combo', BI.TreeValueChooserCombo);/** +BI.shortcut('bi.tree_value_chooser_combo', BI.TreeValueChooserCombo);/** * 简单的复选下拉框控件, 适用于数据量少的情况 * 封装了字段处理逻辑 * @@ -17320,7 +17320,7 @@ BI.ValueChooserCombo = BI.inherit(BI.Widget, { } this.combo = BI.createWidget({ type: 'bi.multi_select_combo', - element: this.element, + element: this, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: function (v) { var text = v; @@ -17414,4 +17414,4 @@ BI.ValueChooserCombo = BI.inherit(BI.Widget, { } }); BI.ValueChooserCombo.EVENT_CONFIRM = "ValueChooserCombo.EVENT_CONFIRM"; -$.shortcut('bi.value_chooser_combo', BI.ValueChooserCombo); \ No newline at end of file +BI.shortcut('bi.value_chooser_combo', BI.ValueChooserCombo); \ No newline at end of file diff --git a/demo/js/base/button/demo.button.js b/demo/js/base/button/demo.button.js index 2e72dd0f7..304b2af09 100644 --- a/demo/js/base/button/demo.button.js +++ b/demo/js/base/button/demo.button.js @@ -72,4 +72,4 @@ Demo.Button = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.button", Demo.Button); \ No newline at end of file +BI.shortcut("demo.button", Demo.Button); \ No newline at end of file diff --git a/demo/js/base/button/demo.icon_button.js b/demo/js/base/button/demo.icon_button.js index 957bcd5b5..1b4e5a650 100644 --- a/demo/js/base/button/demo.icon_button.js +++ b/demo/js/base/button/demo.icon_button.js @@ -21,4 +21,4 @@ Demo.Button = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.icon_button", Demo.Button); \ No newline at end of file +BI.shortcut("demo.icon_button", Demo.Button); \ No newline at end of file diff --git a/demo/js/base/button/demo.image_button.js b/demo/js/base/button/demo.image_button.js index 1d7352164..1ea083148 100644 --- a/demo/js/base/button/demo.image_button.js +++ b/demo/js/base/button/demo.image_button.js @@ -21,4 +21,4 @@ Demo.Button = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.image_button", Demo.Button); \ No newline at end of file +BI.shortcut("demo.image_button", Demo.Button); \ No newline at end of file diff --git a/demo/js/base/button/demo.text_button.js b/demo/js/base/button/demo.text_button.js index d5be73efe..8ca0d8116 100644 --- a/demo/js/base/button/demo.text_button.js +++ b/demo/js/base/button/demo.text_button.js @@ -20,4 +20,4 @@ Demo.Button = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.text_button", Demo.Button); \ No newline at end of file +BI.shortcut("demo.text_button", Demo.Button); \ No newline at end of file diff --git a/demo/js/base/demo.label.js b/demo/js/base/demo.label.js index c4ae368d4..ca5fe2c93 100644 --- a/demo/js/base/demo.label.js +++ b/demo/js/base/demo.label.js @@ -135,4 +135,4 @@ Demo.Label = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.label", Demo.Label); \ No newline at end of file +BI.shortcut("demo.label", Demo.Label); \ No newline at end of file diff --git a/demo/js/base/demo.message.js b/demo/js/base/demo.message.js index 2e4294c7b..f586b111c 100644 --- a/demo/js/base/demo.message.js +++ b/demo/js/base/demo.message.js @@ -20,4 +20,4 @@ Demo.Message = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.message", Demo.Message); \ No newline at end of file +BI.shortcut("demo.message", Demo.Message); \ No newline at end of file diff --git a/demo/js/base/demo.pager.js b/demo/js/base/demo.pager.js index a131fbce1..9243280f8 100644 --- a/demo/js/base/demo.pager.js +++ b/demo/js/base/demo.pager.js @@ -117,4 +117,4 @@ Demo.Func = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.pager", Demo.Func); \ No newline at end of file +BI.shortcut("demo.pager", Demo.Func); \ No newline at end of file diff --git a/demo/js/base/demo.svg.js b/demo/js/base/demo.svg.js index 02932e7d7..dda5f8ee5 100644 --- a/demo/js/base/demo.svg.js +++ b/demo/js/base/demo.svg.js @@ -29,4 +29,4 @@ Demo.Func = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.svg", Demo.Func); \ No newline at end of file +BI.shortcut("demo.svg", Demo.Func); \ No newline at end of file diff --git a/demo/js/base/editor/demo.code_editor.js b/demo/js/base/editor/demo.code_editor.js index 7fbfc7037..654fa54ed 100644 --- a/demo/js/base/editor/demo.code_editor.js +++ b/demo/js/base/editor/demo.code_editor.js @@ -30,4 +30,4 @@ Demo.CodeEditor = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.code_editor", Demo.CodeEditor); \ No newline at end of file +BI.shortcut("demo.code_editor", Demo.CodeEditor); \ No newline at end of file diff --git a/demo/js/base/editor/demo.editor.js b/demo/js/base/editor/demo.editor.js index d0eee2865..590828731 100644 --- a/demo/js/base/editor/demo.editor.js +++ b/demo/js/base/editor/demo.editor.js @@ -93,4 +93,4 @@ Demo.Editor = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.editor", Demo.Editor); \ No newline at end of file +BI.shortcut("demo.editor", Demo.Editor); \ No newline at end of file diff --git a/demo/js/base/editor/demo.formula_editor.js b/demo/js/base/editor/demo.formula_editor.js index 612553ceb..ce6c00b9f 100644 --- a/demo/js/base/editor/demo.formula_editor.js +++ b/demo/js/base/editor/demo.formula_editor.js @@ -18,4 +18,4 @@ Demo.CodeEditor = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.formula_editor", Demo.CodeEditor); \ No newline at end of file +BI.shortcut("demo.formula_editor", Demo.CodeEditor); \ No newline at end of file diff --git a/demo/js/base/editor/demo.multifile_editor.js b/demo/js/base/editor/demo.multifile_editor.js index 749ec9596..9472f3b9e 100644 --- a/demo/js/base/editor/demo.multifile_editor.js +++ b/demo/js/base/editor/demo.multifile_editor.js @@ -23,4 +23,4 @@ Demo.CodeEditor = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.multifile_editor", Demo.CodeEditor); \ No newline at end of file +BI.shortcut("demo.multifile_editor", Demo.CodeEditor); \ No newline at end of file diff --git a/demo/js/base/editor/demo.textarea_editor.js b/demo/js/base/editor/demo.textarea_editor.js index 542513457..f680a020b 100644 --- a/demo/js/base/editor/demo.textarea_editor.js +++ b/demo/js/base/editor/demo.textarea_editor.js @@ -36,4 +36,4 @@ Demo.CodeEditor = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.textarea_editor", Demo.CodeEditor); \ No newline at end of file +BI.shortcut("demo.textarea_editor", Demo.CodeEditor); \ No newline at end of file diff --git a/demo/js/base/table/demo.collection_table.js b/demo/js/base/table/demo.collection_table.js index c2b46675a..0f795f9d7 100644 --- a/demo/js/base/table/demo.collection_table.js +++ b/demo/js/base/table/demo.collection_table.js @@ -59,4 +59,4 @@ Demo.Func = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.collection_table", Demo.Func); \ No newline at end of file +BI.shortcut("demo.collection_table", Demo.Func); \ No newline at end of file diff --git a/demo/js/base/table/demo.grid_table.js b/demo/js/base/table/demo.grid_table.js index 11748f972..61f48a2d3 100644 --- a/demo/js/base/table/demo.grid_table.js +++ b/demo/js/base/table/demo.grid_table.js @@ -54,4 +54,4 @@ Demo.Func = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.grid_table", Demo.Func); \ No newline at end of file +BI.shortcut("demo.grid_table", Demo.Func); \ No newline at end of file diff --git a/demo/js/base/table/demo.resizable_table.js b/demo/js/base/table/demo.resizable_table.js index f3d3540a9..cc405c30a 100644 --- a/demo/js/base/table/demo.resizable_table.js +++ b/demo/js/base/table/demo.resizable_table.js @@ -54,4 +54,4 @@ Demo.Func = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.resizable_table", Demo.Func); \ No newline at end of file +BI.shortcut("demo.resizable_table", Demo.Func); \ No newline at end of file diff --git a/demo/js/base/table/demo.table_view.js b/demo/js/base/table/demo.table_view.js index 9f5a37b77..2495dc63f 100644 --- a/demo/js/base/table/demo.table_view.js +++ b/demo/js/base/table/demo.table_view.js @@ -364,4 +364,4 @@ Demo.Func = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.table_view", Demo.Func); \ No newline at end of file +BI.shortcut("demo.table_view", Demo.Func); \ No newline at end of file diff --git a/demo/js/base/tip/demo.bubble.js b/demo/js/base/tip/demo.bubble.js index c9b53ca9d..96d29ee9d 100644 --- a/demo/js/base/tip/demo.bubble.js +++ b/demo/js/base/tip/demo.bubble.js @@ -55,4 +55,4 @@ Demo.Bubble = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.bubble", Demo.Bubble); \ No newline at end of file +BI.shortcut("demo.bubble", Demo.Bubble); \ No newline at end of file diff --git a/demo/js/base/tip/demo.title.js b/demo/js/base/tip/demo.title.js index 67377a084..270568a43 100644 --- a/demo/js/base/tip/demo.title.js +++ b/demo/js/base/tip/demo.title.js @@ -36,4 +36,4 @@ Demo.Title = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.title", Demo.Title); \ No newline at end of file +BI.shortcut("demo.title", Demo.Title); \ No newline at end of file diff --git a/demo/js/base/tip/demo.toast.js b/demo/js/base/tip/demo.toast.js index f7d6fbe5f..d4fa9f72e 100644 --- a/demo/js/base/tip/demo.toast.js +++ b/demo/js/base/tip/demo.toast.js @@ -52,4 +52,4 @@ Demo.Toast = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.toast", Demo.Toast); \ No newline at end of file +BI.shortcut("demo.toast", Demo.Toast); \ No newline at end of file diff --git a/demo/js/base/tree/demo.part_tree.js b/demo/js/base/tree/demo.part_tree.js index d7741dd31..9a14a74fe 100644 --- a/demo/js/base/tree/demo.part_tree.js +++ b/demo/js/base/tree/demo.part_tree.js @@ -6,4 +6,4 @@ Demo.Func = BI.inherit(BI.Widget, { render: function () { } }); -$.shortcut("demo.part_tree", Demo.Func); \ No newline at end of file +BI.shortcut("demo.part_tree", Demo.Func); \ No newline at end of file diff --git a/demo/js/base/tree/demo.sync_tree.js b/demo/js/base/tree/demo.sync_tree.js index a2c06ff92..37f8e57f6 100644 --- a/demo/js/base/tree/demo.sync_tree.js +++ b/demo/js/base/tree/demo.sync_tree.js @@ -6,4 +6,4 @@ Demo.Func = BI.inherit(BI.Widget, { render: function () { } }); -$.shortcut("demo.sync_tree", Demo.Func); \ No newline at end of file +BI.shortcut("demo.sync_tree", Demo.Func); \ No newline at end of file diff --git a/demo/js/base/tree/demo.tree_view.js b/demo/js/base/tree/demo.tree_view.js index 2255b32b7..7a25b8868 100644 --- a/demo/js/base/tree/demo.tree_view.js +++ b/demo/js/base/tree/demo.tree_view.js @@ -49,4 +49,4 @@ Demo.Func = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.tree_view", Demo.Func); \ No newline at end of file +BI.shortcut("demo.tree_view", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/combo/demo.bubble_combo.js b/demo/js/case/combo/demo.bubble_combo.js index bbba796af..cf129ffba 100644 --- a/demo/js/case/combo/demo.bubble_combo.js +++ b/demo/js/case/combo/demo.bubble_combo.js @@ -93,4 +93,4 @@ Demo.Func = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.bubble_combo", Demo.Func); \ No newline at end of file +BI.shortcut("demo.bubble_combo", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/demo.calendar.js b/demo/js/case/demo.calendar.js index f1b7288bf..88dbbde3c 100644 --- a/demo/js/case/demo.calendar.js +++ b/demo/js/case/demo.calendar.js @@ -81,4 +81,4 @@ Demo.Func = BI.inherit(BI.Widget, { tip.setText(this._stringfyTimeObject(this.selectedTime)); } }); -$.shortcut("demo.calendar", Demo.Func); \ No newline at end of file +BI.shortcut("demo.calendar", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/demo.color_chooser.js b/demo/js/case/demo.color_chooser.js index 8851c941d..b92e90abf 100644 --- a/demo/js/case/demo.color_chooser.js +++ b/demo/js/case/demo.color_chooser.js @@ -18,4 +18,4 @@ Demo.Func = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.color_chooser", Demo.Func); \ No newline at end of file +BI.shortcut("demo.color_chooser", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/demo.complex_canvas.js b/demo/js/case/demo.complex_canvas.js index 49d632e79..ef38ef638 100644 --- a/demo/js/case/demo.complex_canvas.js +++ b/demo/js/case/demo.complex_canvas.js @@ -32,4 +32,4 @@ Demo.Func = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.complex_canvas", Demo.Func); \ No newline at end of file +BI.shortcut("demo.complex_canvas", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/demo.zclip.js b/demo/js/case/demo.zclip.js index 2155375dd..64b6af036 100644 --- a/demo/js/case/demo.zclip.js +++ b/demo/js/case/demo.zclip.js @@ -39,4 +39,4 @@ Demo.Func = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.zclip", Demo.Func); \ No newline at end of file +BI.shortcut("demo.zclip", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/tree/demo.branch_relation.js b/demo/js/case/tree/demo.branch_relation.js index af7036280..b4622595c 100644 --- a/demo/js/case/tree/demo.branch_relation.js +++ b/demo/js/case/tree/demo.branch_relation.js @@ -146,4 +146,4 @@ Demo.Func = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.branch_relation", Demo.Func); \ No newline at end of file +BI.shortcut("demo.branch_relation", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/tree/demo.branch_tree.js b/demo/js/case/tree/demo.branch_tree.js index 91b9bd69f..430de1f32 100644 --- a/demo/js/case/tree/demo.branch_tree.js +++ b/demo/js/case/tree/demo.branch_tree.js @@ -230,4 +230,4 @@ Demo.Func = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.branch_tree", Demo.Func); \ No newline at end of file +BI.shortcut("demo.branch_tree", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/tree/demo.display_tree.js b/demo/js/case/tree/demo.display_tree.js index 2fc41ab2e..b7d2c62ce 100644 --- a/demo/js/case/tree/demo.display_tree.js +++ b/demo/js/case/tree/demo.display_tree.js @@ -40,4 +40,4 @@ Demo.Func = BI.inherit(BI.Widget, { }]); } }); -$.shortcut("demo.display_tree", Demo.Func); \ No newline at end of file +BI.shortcut("demo.display_tree", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/tree/demo.handstand_branch_tree.js b/demo/js/case/tree/demo.handstand_branch_tree.js index e8a6342ef..8d7efda8e 100644 --- a/demo/js/case/tree/demo.handstand_branch_tree.js +++ b/demo/js/case/tree/demo.handstand_branch_tree.js @@ -100,4 +100,4 @@ Demo.Func = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.handstand_branch_tree", Demo.Func); \ No newline at end of file +BI.shortcut("demo.handstand_branch_tree", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/tree/demo.level_tree.js b/demo/js/case/tree/demo.level_tree.js index 6dc4bc74a..a4c3f8422 100644 --- a/demo/js/case/tree/demo.level_tree.js +++ b/demo/js/case/tree/demo.level_tree.js @@ -84,4 +84,4 @@ Demo.Func = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.level_tree", Demo.Func); \ No newline at end of file +BI.shortcut("demo.level_tree", Demo.Func); \ No newline at end of file diff --git a/demo/js/case/tree/demo.simple_tree.js b/demo/js/case/tree/demo.simple_tree.js index bd2f27c06..df09789f9 100644 --- a/demo/js/case/tree/demo.simple_tree.js +++ b/demo/js/case/tree/demo.simple_tree.js @@ -83,4 +83,4 @@ Demo.Func = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.simple_tree", Demo.Func); \ No newline at end of file +BI.shortcut("demo.simple_tree", Demo.Func); \ No newline at end of file diff --git a/demo/js/center.js b/demo/js/center.js index c4bb8325b..79c196b4c 100644 --- a/demo/js/center.js +++ b/demo/js/center.js @@ -22,4 +22,4 @@ Demo.Center = BI.inherit(BI.Widget, { this.tab.setSelect(v); } }); -$.shortcut("demo.center", Demo.Center); \ No newline at end of file +BI.shortcut("demo.center", Demo.Center); \ No newline at end of file diff --git a/demo/js/component/demo.treevaluechooser.js b/demo/js/component/demo.treevaluechooser.js index 58f1daa1a..eec990902 100644 --- a/demo/js/component/demo.treevaluechooser.js +++ b/demo/js/component/demo.treevaluechooser.js @@ -37,4 +37,4 @@ Demo.TreeValueChooser = BI.inherit(BI.Widget, { }; } }); -$.shortcut("demo.tree_value_chooser", Demo.TreeValueChooser); +BI.shortcut("demo.tree_value_chooser", Demo.TreeValueChooser); diff --git a/demo/js/component/demo.valuechooser.js b/demo/js/component/demo.valuechooser.js index 90e9e75c0..40c73789e 100644 --- a/demo/js/component/demo.valuechooser.js +++ b/demo/js/component/demo.valuechooser.js @@ -17,4 +17,4 @@ Demo.ValueChooserCombo = BI.inherit(BI.Widget, { }; } }); -$.shortcut("demo.value_chooser_combo", Demo.ValueChooserCombo); \ No newline at end of file +BI.shortcut("demo.value_chooser_combo", Demo.ValueChooserCombo); \ No newline at end of file diff --git a/demo/js/core/abstract/combination/demo.combo.js b/demo/js/core/abstract/combination/demo.combo.js index 50f4c48df..375bb6e88 100644 --- a/demo/js/core/abstract/combination/demo.combo.js +++ b/demo/js/core/abstract/combination/demo.combo.js @@ -8,4 +8,4 @@ Demo.Func = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.combo", Demo.Func); \ No newline at end of file +BI.shortcut("demo.combo", Demo.Func); \ No newline at end of file diff --git a/demo/js/core/abstract/demo.button_group.js b/demo/js/core/abstract/demo.button_group.js index 5f3c04b7d..dbdf470a7 100644 --- a/demo/js/core/abstract/demo.button_group.js +++ b/demo/js/core/abstract/demo.button_group.js @@ -21,4 +21,4 @@ Demo.Func = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.button_group", Demo.Func); \ No newline at end of file +BI.shortcut("demo.button_group", Demo.Func); \ No newline at end of file diff --git a/demo/js/core/abstract/demo.button_tree.js b/demo/js/core/abstract/demo.button_tree.js index 0a45c3694..743ffd14d 100644 --- a/demo/js/core/abstract/demo.button_tree.js +++ b/demo/js/core/abstract/demo.button_tree.js @@ -23,4 +23,4 @@ Demo.Func = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.button_tree", Demo.Func); \ No newline at end of file +BI.shortcut("demo.button_tree", Demo.Func); \ No newline at end of file diff --git a/demo/js/core/abstract/demo.collection_view.js b/demo/js/core/abstract/demo.collection_view.js index f98c84934..2867e1ed9 100644 --- a/demo/js/core/abstract/demo.collection_view.js +++ b/demo/js/core/abstract/demo.collection_view.js @@ -36,4 +36,4 @@ Demo.Func = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.collection_view", Demo.Func); \ No newline at end of file +BI.shortcut("demo.collection_view", Demo.Func); \ No newline at end of file diff --git a/demo/js/core/abstract/demo.grid_view.js b/demo/js/core/abstract/demo.grid_view.js index a524e684d..141b77bb5 100644 --- a/demo/js/core/abstract/demo.grid_view.js +++ b/demo/js/core/abstract/demo.grid_view.js @@ -47,4 +47,4 @@ Demo.Func = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.grid_view", Demo.Func); \ No newline at end of file +BI.shortcut("demo.grid_view", Demo.Func); \ No newline at end of file diff --git a/demo/js/core/abstract/demo.virtual_group.js b/demo/js/core/abstract/demo.virtual_group.js index 77e33d216..c933aa7b6 100644 --- a/demo/js/core/abstract/demo.virtual_group.js +++ b/demo/js/core/abstract/demo.virtual_group.js @@ -43,7 +43,7 @@ Demo.Func = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.virtual_group", Demo.Func); +BI.shortcut("demo.virtual_group", Demo.Func); Demo.Item = BI.inherit(BI.Widget, { props: { @@ -76,4 +76,4 @@ Demo.Item = BI.inherit(BI.Widget, { console.log("删除了一项"); } }); -$.shortcut("demo.virtual_group_item", Demo.Item); \ No newline at end of file +BI.shortcut("demo.virtual_group_item", Demo.Item); \ No newline at end of file diff --git a/demo/js/core/abstract/mvc.custom_tree.js b/demo/js/core/abstract/mvc.custom_tree.js index b3088af63..8170f6a72 100644 --- a/demo/js/core/abstract/mvc.custom_tree.js +++ b/demo/js/core/abstract/mvc.custom_tree.js @@ -242,4 +242,4 @@ Demo.Func = BI.inherit(BI.Widget, { }) } }); -$.shortcut("demo.custom_tree", Demo.Func); \ No newline at end of file +BI.shortcut("demo.custom_tree", Demo.Func); \ No newline at end of file diff --git a/demo/js/core/layout/demo.absolute.js b/demo/js/core/layout/demo.absolute.js index d44c230f4..f02bde63e 100644 --- a/demo/js/core/layout/demo.absolute.js +++ b/demo/js/core/layout/demo.absolute.js @@ -16,4 +16,4 @@ Demo.AbsoluteLayout = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.absolute", Demo.AbsoluteLayout); \ No newline at end of file +BI.shortcut("demo.absolute", Demo.AbsoluteLayout); \ No newline at end of file diff --git a/demo/js/core/layout/demo.border.js b/demo/js/core/layout/demo.border.js index 0391d51fa..363146d23 100644 --- a/demo/js/core/layout/demo.border.js +++ b/demo/js/core/layout/demo.border.js @@ -94,4 +94,4 @@ Demo.BorderLayout = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.border", Demo.BorderLayout); \ No newline at end of file +BI.shortcut("demo.border", Demo.BorderLayout); \ No newline at end of file diff --git a/demo/js/core/layout/demo.center.js b/demo/js/core/layout/demo.center.js index d33893622..9cd695919 100644 --- a/demo/js/core/layout/demo.center.js +++ b/demo/js/core/layout/demo.center.js @@ -32,4 +32,4 @@ Demo.CenterLayout = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.center_layout", Demo.CenterLayout); \ No newline at end of file +BI.shortcut("demo.center_layout", Demo.CenterLayout); \ No newline at end of file diff --git a/demo/js/core/layout/demo.center_adapt.js b/demo/js/core/layout/demo.center_adapt.js index d93db8c74..bd9ad51a7 100644 --- a/demo/js/core/layout/demo.center_adapt.js +++ b/demo/js/core/layout/demo.center_adapt.js @@ -78,4 +78,4 @@ Demo.CenterAdapt = BI.inherit(BI.Widget, { }) }, }); -$.shortcut("demo.center_adapt", Demo.CenterAdapt); \ No newline at end of file +BI.shortcut("demo.center_adapt", Demo.CenterAdapt); \ No newline at end of file diff --git a/demo/js/core/layout/demo.float_center.js b/demo/js/core/layout/demo.float_center.js index 248af4e80..c5e411ddc 100644 --- a/demo/js/core/layout/demo.float_center.js +++ b/demo/js/core/layout/demo.float_center.js @@ -24,4 +24,4 @@ Demo.FloatCenterLayout = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.float_center", Demo.FloatCenterLayout); \ No newline at end of file +BI.shortcut("demo.float_center", Demo.FloatCenterLayout); \ No newline at end of file diff --git a/demo/js/core/layout/demo.flow.js b/demo/js/core/layout/demo.flow.js index 4c0811486..c790a4425 100644 --- a/demo/js/core/layout/demo.flow.js +++ b/demo/js/core/layout/demo.flow.js @@ -82,4 +82,4 @@ Demo.FlowLayout = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.flow", Demo.FlowLayout); \ No newline at end of file +BI.shortcut("demo.flow", Demo.FlowLayout); \ No newline at end of file diff --git a/demo/js/core/layout/demo.grid.js b/demo/js/core/layout/demo.grid.js index 0b8aeb53c..5dfe5a1fb 100644 --- a/demo/js/core/layout/demo.grid.js +++ b/demo/js/core/layout/demo.grid.js @@ -134,4 +134,4 @@ Demo.GridLayout = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.grid", Demo.GridLayout); \ No newline at end of file +BI.shortcut("demo.grid", Demo.GridLayout); \ No newline at end of file diff --git a/demo/js/core/layout/demo.horizontal.js b/demo/js/core/layout/demo.horizontal.js index 5662ffb9b..9add267da 100644 --- a/demo/js/core/layout/demo.horizontal.js +++ b/demo/js/core/layout/demo.horizontal.js @@ -47,4 +47,4 @@ Demo.Horizontal = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.horizontal", Demo.Horizontal); \ No newline at end of file +BI.shortcut("demo.horizontal", Demo.Horizontal); \ No newline at end of file diff --git a/demo/js/core/layout/demo.horizontal_adapt.js b/demo/js/core/layout/demo.horizontal_adapt.js index 8688906ce..4f4b18744 100644 --- a/demo/js/core/layout/demo.horizontal_adapt.js +++ b/demo/js/core/layout/demo.horizontal_adapt.js @@ -39,4 +39,4 @@ Demo.HorizontalAdapt = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.horizontal_adapt", Demo.HorizontalAdapt); \ No newline at end of file +BI.shortcut("demo.horizontal_adapt", Demo.HorizontalAdapt); \ No newline at end of file diff --git a/demo/js/core/layout/demo.horizontal_auto.js b/demo/js/core/layout/demo.horizontal_auto.js index a4837d609..9afe6a4a0 100644 --- a/demo/js/core/layout/demo.horizontal_auto.js +++ b/demo/js/core/layout/demo.horizontal_auto.js @@ -39,4 +39,4 @@ Demo.HorizontalAuto = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.horizontal_auto", Demo.HorizontalAuto); \ No newline at end of file +BI.shortcut("demo.horizontal_auto", Demo.HorizontalAuto); \ No newline at end of file diff --git a/demo/js/core/layout/demo.horizontal_float.js b/demo/js/core/layout/demo.horizontal_float.js index 217b832af..55fafaa80 100644 --- a/demo/js/core/layout/demo.horizontal_float.js +++ b/demo/js/core/layout/demo.horizontal_float.js @@ -32,4 +32,4 @@ Demo.HorizontalFloat = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.horizontal_float", Demo.HorizontalFloat); \ No newline at end of file +BI.shortcut("demo.horizontal_float", Demo.HorizontalFloat); \ No newline at end of file diff --git a/demo/js/core/layout/demo.htape.js b/demo/js/core/layout/demo.htape.js index fddfa2ca4..bbf8ff0b4 100644 --- a/demo/js/core/layout/demo.htape.js +++ b/demo/js/core/layout/demo.htape.js @@ -35,4 +35,4 @@ Demo.HtapeLayout = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.htape", Demo.HtapeLayout); \ No newline at end of file +BI.shortcut("demo.htape", Demo.HtapeLayout); \ No newline at end of file diff --git a/demo/js/core/layout/demo.inline.js b/demo/js/core/layout/demo.inline.js index d3bde0799..b61fcf5b5 100644 --- a/demo/js/core/layout/demo.inline.js +++ b/demo/js/core/layout/demo.inline.js @@ -44,4 +44,4 @@ Demo.InlineLayout = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.inline", Demo.InlineLayout); \ No newline at end of file +BI.shortcut("demo.inline", Demo.InlineLayout); \ No newline at end of file diff --git a/demo/js/core/layout/demo.left_right_vertical_adapt.js b/demo/js/core/layout/demo.left_right_vertical_adapt.js index c92d3a9ea..01fd68078 100644 --- a/demo/js/core/layout/demo.left_right_vertical_adapt.js +++ b/demo/js/core/layout/demo.left_right_vertical_adapt.js @@ -41,4 +41,4 @@ Demo.LeftRightVerticalAdaptLayout = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.left_right_vertical_adapt", Demo.LeftRightVerticalAdaptLayout); \ No newline at end of file +BI.shortcut("demo.left_right_vertical_adapt", Demo.LeftRightVerticalAdaptLayout); \ No newline at end of file diff --git a/demo/js/core/layout/demo.table.js b/demo/js/core/layout/demo.table.js index 617735556..3444076e7 100644 --- a/demo/js/core/layout/demo.table.js +++ b/demo/js/core/layout/demo.table.js @@ -159,4 +159,4 @@ Demo.TableLayout = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.table_layout", Demo.TableLayout); \ No newline at end of file +BI.shortcut("demo.table_layout", Demo.TableLayout); \ No newline at end of file diff --git a/demo/js/core/layout/demo.td.js b/demo/js/core/layout/demo.td.js index 2b21f41fb..227ea54f6 100644 --- a/demo/js/core/layout/demo.td.js +++ b/demo/js/core/layout/demo.td.js @@ -56,4 +56,4 @@ Demo.TdLayout = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.td", Demo.TdLayout); \ No newline at end of file +BI.shortcut("demo.td", Demo.TdLayout); \ No newline at end of file diff --git a/demo/js/core/layout/demo.vertical.js b/demo/js/core/layout/demo.vertical.js index 19d18fb6a..8b2ab8cf9 100644 --- a/demo/js/core/layout/demo.vertical.js +++ b/demo/js/core/layout/demo.vertical.js @@ -22,4 +22,4 @@ Demo.VerticalLayout = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.vertical", Demo.VerticalLayout); \ No newline at end of file +BI.shortcut("demo.vertical", Demo.VerticalLayout); \ No newline at end of file diff --git a/demo/js/core/layout/demo.vertical_adapt.js b/demo/js/core/layout/demo.vertical_adapt.js index dc030e756..ca192bf67 100644 --- a/demo/js/core/layout/demo.vertical_adapt.js +++ b/demo/js/core/layout/demo.vertical_adapt.js @@ -39,4 +39,4 @@ Demo.VerticalAdaptLayout = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.vertical_adapt", Demo.VerticalAdaptLayout); \ No newline at end of file +BI.shortcut("demo.vertical_adapt", Demo.VerticalAdaptLayout); \ No newline at end of file diff --git a/demo/js/core/layout/demo.vtape.js b/demo/js/core/layout/demo.vtape.js index 6309482f8..76770e353 100644 --- a/demo/js/core/layout/demo.vtape.js +++ b/demo/js/core/layout/demo.vtape.js @@ -35,4 +35,4 @@ Demo.VtapeLayout = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.vtape", Demo.VtapeLayout); \ No newline at end of file +BI.shortcut("demo.vtape", Demo.VtapeLayout); \ No newline at end of file diff --git a/demo/js/face.js b/demo/js/face.js index 2203971ce..c26f5dcbd 100644 --- a/demo/js/face.js +++ b/demo/js/face.js @@ -25,4 +25,4 @@ Demo.Face = BI.inherit(BI.Widget, { circle.animate({fill: "#223fa3", stroke: "#000", "stroke-width": 80, "stroke-opacity": 0.5}, 2000); } }); -$.shortcut("demo.face", Demo.Face); \ No newline at end of file +BI.shortcut("demo.face", Demo.Face); \ No newline at end of file diff --git a/demo/js/main.js b/demo/js/main.js index a3d121f34..c049e8acb 100644 --- a/demo/js/main.js +++ b/demo/js/main.js @@ -43,4 +43,4 @@ Demo.Main = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.main", Demo.Main); \ No newline at end of file +BI.shortcut("demo.main", Demo.Main); \ No newline at end of file diff --git a/demo/js/north.js b/demo/js/north.js index 45e89cac6..b0c1f3e43 100644 --- a/demo/js/north.js +++ b/demo/js/north.js @@ -29,4 +29,4 @@ Demo.North = BI.inherit(BI.Widget, { } }); Demo.North.EVENT_VALUE_CHANGE = "EVENT_VALUE_CHANGE"; -$.shortcut("demo.north", Demo.North); \ No newline at end of file +BI.shortcut("demo.north", Demo.North); \ No newline at end of file diff --git a/demo/js/west.js b/demo/js/west.js index 922e336bd..6ebd1a989 100644 --- a/demo/js/west.js +++ b/demo/js/west.js @@ -20,4 +20,4 @@ Demo.West = BI.inherit(BI.Widget, { } }); Demo.West.EVENT_VALUE_CHANGE = "EVENT_VALUE_CHANGE"; -$.shortcut("demo.west", Demo.West); \ No newline at end of file +BI.shortcut("demo.west", Demo.West); \ No newline at end of file diff --git a/demo/js/widget/demo.multiselectcombo.js b/demo/js/widget/demo.multiselectcombo.js index 9c4f2bc35..398335560 100644 --- a/demo/js/widget/demo.multiselectcombo.js +++ b/demo/js/widget/demo.multiselectcombo.js @@ -80,4 +80,4 @@ Demo.MultiSelectCombo = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.multi_select_combo", Demo.MultiSelectCombo); \ No newline at end of file +BI.shortcut("demo.multi_select_combo", Demo.MultiSelectCombo); \ No newline at end of file diff --git a/demo/js/widget/demo.pathchooser.js b/demo/js/widget/demo.pathchooser.js index 620c25980..25e44b5e7 100644 --- a/demo/js/widget/demo.pathchooser.js +++ b/demo/js/widget/demo.pathchooser.js @@ -174,4 +174,4 @@ Demo.PathChooser = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.path_chooser", Demo.PathChooser); \ No newline at end of file +BI.shortcut("demo.path_chooser", Demo.PathChooser); \ No newline at end of file diff --git a/demo/js/widget/demo.relationview.js b/demo/js/widget/demo.relationview.js index af63e026b..ebe6e9467 100644 --- a/demo/js/widget/demo.relationview.js +++ b/demo/js/widget/demo.relationview.js @@ -62,4 +62,4 @@ Demo.RelationView = BI.inherit(BI.Widget, { } } }); -$.shortcut("demo.relation_view", Demo.RelationView); \ No newline at end of file +BI.shortcut("demo.relation_view", Demo.RelationView); \ No newline at end of file diff --git a/dist/base.js b/dist/base.js index cc4bda455..6a1ab582f 100644 --- a/dist/base.js +++ b/dist/base.js @@ -596,7 +596,7 @@ BI.Text = BI.inherit(BI.Single, { } }); -$.shortcut("bi.text", BI.Text);/** +BI.shortcut("bi.text", BI.Text);/** * guy * @class BI.BasicButton * @extends BI.Single @@ -1279,7 +1279,7 @@ BI.extend(BI.ButtonGroup, { }); BI.ButtonGroup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.button_group", BI.ButtonGroup);/** +BI.shortcut("bi.button_group", BI.ButtonGroup);/** * Created by GUY on 2015/8/10. * @class BI.ButtonTree * @extends BI.ButtonGroup @@ -1460,7 +1460,7 @@ BI.ButtonTree = BI.inherit(BI.ButtonGroup, { }); BI.ButtonTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.button_tree", BI.ButtonTree);/** +BI.shortcut("bi.button_tree", BI.ButtonTree);/** * guy * 异步树 * @class BI.TreeView @@ -1966,7 +1966,7 @@ BI.TreeView.EVENT_CHANGE = "EVENT_CHANGE"; BI.TreeView.EVENT_INIT = BI.Events.INIT; BI.TreeView.EVENT_AFTERINIT = BI.Events.AFTERINIT; -$.shortcut("bi.tree_view", BI.TreeView);/** +BI.shortcut("bi.tree_view", BI.TreeView);/** * guy * 同步树 * @class BI.SyncTree @@ -2174,7 +2174,7 @@ BI.SyncTree = BI.inherit(BI.TreeView, { } }); -$.shortcut("bi.sync_tree", BI.SyncTree);/** +BI.shortcut("bi.sync_tree", BI.SyncTree);/** * guy * 局部树,两个请求树, 第一个请求构造树,第二个请求获取节点 * @class BI.PartTree @@ -2348,7 +2348,7 @@ BI.PartTree = BI.inherit(BI.SyncTree, { } }); -$.shortcut("bi.part_tree", BI.PartTree);BI.Resizers = new BI.ResizeController(); +BI.shortcut("bi.part_tree", BI.PartTree);BI.Resizers = new BI.ResizeController(); BI.Layers = new BI.LayerController(); BI.Maskers = new BI.MaskersController(); BI.Bubbles = new BI.BubblesController(); @@ -2490,7 +2490,7 @@ BI.Canvas = BI.inherit(BI.Widget, { }); } }); -$.shortcut("bi.canvas", BI.Canvas);/** +BI.shortcut("bi.canvas", BI.Canvas);/** * Collection * * Created by GUY on 2016/1/15. @@ -2781,7 +2781,7 @@ BI.Collection = BI.inherit(BI.Widget, { } }); BI.Collection.EVENT_SCROLL = "EVENT_SCROLL"; -$.shortcut('bi.collection_view', BI.Collection);/** +BI.shortcut('bi.collection_view', BI.Collection);/** * @class BI.Combo * @extends BI.Widget */ @@ -3179,7 +3179,7 @@ BI.Combo.EVENT_AFTER_POPUPVIEW = "EVENT_AFTER_POPUPVIEW"; BI.Combo.EVENT_BEFORE_HIDEVIEW = "EVENT_BEFORE_HIDEVIEW"; BI.Combo.EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; -$.shortcut("bi.combo", BI.Combo);/** +BI.shortcut("bi.combo", BI.Combo);/** * * 某个可以展开的节点 * @@ -3456,7 +3456,7 @@ BI.Expander.EVENT_AFTER_POPUPVIEW = "EVENT_AFTER_POPUPVIEW"; BI.Expander.EVENT_BEFORE_HIDEVIEW = "EVENT_BEFORE_HIDEVIEW"; BI.Expander.EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; -$.shortcut("bi.expander", BI.Expander);/** +BI.shortcut("bi.expander", BI.Expander);/** * Created by GUY on 2015/8/10. */ @@ -3556,7 +3556,7 @@ BI.ComboGroup = BI.inherit(BI.Widget, { }); BI.ComboGroup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.combo_group", BI.ComboGroup);BI.VirtualGroup = BI.inherit(BI.Widget, { +BI.shortcut("bi.combo_group", BI.ComboGroup);BI.VirtualGroup = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.VirtualGroup.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-virtual-group", @@ -3627,7 +3627,7 @@ $.shortcut("bi.combo_group", BI.ComboGroup);BI.VirtualGroup = BI.inherit(BI.Widg }); BI.VirtualGroup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.virtual_group", BI.VirtualGroup);/** +BI.shortcut("bi.virtual_group", BI.VirtualGroup);/** * 加载控件 * * Created by GUY on 2015/8/31. @@ -3888,7 +3888,7 @@ BI.Loader = BI.inherit(BI.Widget, { } }); BI.Loader.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.loader", BI.Loader);/** +BI.shortcut("bi.loader", BI.Loader);/** * Created by GUY on 2015/6/26. */ @@ -4025,7 +4025,7 @@ BI.Navigation = BI.inherit(BI.Widget, { }); BI.Navigation.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.navigation", BI.Navigation);/** +BI.shortcut("bi.navigation", BI.Navigation);/** * 搜索逻辑控件 * * Created by GUY on 2015/9/28. @@ -4327,7 +4327,7 @@ BI.Searcher.EVENT_PAUSE = "EVENT_PAUSE"; BI.Searcher.EVENT_SEARCHING = "EVENT_SEARCHING"; BI.Searcher.EVENT_AFTER_INIT = "EVENT_AFTER_INIT"; -$.shortcut("bi.searcher", BI.Searcher);/** +BI.shortcut("bi.searcher", BI.Searcher);/** * * 切换显示或隐藏面板 * @@ -4603,7 +4603,7 @@ BI.Switcher.EVENT_AFTER_POPUPVIEW = "EVENT_AFTER_POPUPVIEW"; BI.Switcher.EVENT_BEFORE_HIDEVIEW = "EVENT_BEFORE_HIDEVIEW"; BI.Switcher.EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; -$.shortcut("bi.switcher", BI.Switcher);/** +BI.shortcut("bi.switcher", BI.Switcher);/** * Created by GUY on 2015/6/26. */ @@ -4729,7 +4729,7 @@ BI.Tab = BI.inherit(BI.Widget, { }); BI.Tab.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.tab", BI.Tab);/** +BI.shortcut("bi.tab", BI.Tab);/** * 表示当前对象 * * Created by GUY on 2015/9/7. @@ -4770,7 +4770,7 @@ BI.EL = BI.inherit(BI.Widget, { this.ele.populate.apply(this, arguments); } }); -$.shortcut('bi.el', BI.EL);// CodeMirror, copyright (c) by Marijn Haverbeke and others +BI.shortcut('bi.el', BI.EL);// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE // This is CodeMirror (http://codemirror.net), a code editor @@ -14337,7 +14337,7 @@ BI.FormulaEditor = BI.inherit(BI.Single, { BI.FormulaEditor.EVENT_CHANGE = "EVENT_CHANGE"; BI.FormulaEditor.EVENT_BLUR = "EVENT_BLUR"; BI.FormulaEditor.EVENT_FOCUS = "EVENT_FOCUS"; -$.shortcut("bi.formula_editor", BI.FormulaEditor); +BI.shortcut("bi.formula_editor", BI.FormulaEditor); /** * z-index在1亿层级 * 弹出提示消息框,用于模拟阻塞操作(通过回调函数实现) @@ -14809,7 +14809,7 @@ BI.Grid = BI.inherit(BI.Widget, { } }); BI.Grid.EVENT_SCROLL = "EVENT_SCROLL"; -$.shortcut('bi.grid_view', BI.Grid);/** +BI.shortcut('bi.grid_view', BI.Grid);/** * floatBox弹出层, * @class BI.FloatBox * @extends BI.Widget @@ -14950,7 +14950,7 @@ BI.FloatBox = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.float_box", BI.FloatBox); +BI.shortcut("bi.float_box", BI.FloatBox); BI.FloatBox.EVENT_FLOAT_BOX_CLOSED = "EVENT_FLOAT_BOX_CLOSED"; BI.FloatBox.EVENT_FLOAT_BOX_OPEN = "EVENT_FLOAT_BOX_CLOSED"; @@ -15134,7 +15134,7 @@ BI.PopupView = BI.inherit(BI.Widget, { } }); BI.PopupView.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.popup_view", BI.PopupView);/** +BI.shortcut("bi.popup_view", BI.PopupView);/** * 搜索面板 * * Created by GUY on 2015/9/28. @@ -15272,7 +15272,7 @@ BI.SearcherView = BI.inherit(BI.Pane, { }); BI.SearcherView.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.searcher_view", BI.SearcherView);/** +BI.shortcut("bi.searcher_view", BI.SearcherView);/** * 分页控件 * * Created by GUY on 2015/8/31. @@ -15559,7 +15559,7 @@ BI.Pager = BI.inherit(BI.Widget, { }); BI.Pager.EVENT_CHANGE = "EVENT_CHANGE"; BI.Pager.EVENT_AFTER_POPULATE = "EVENT_AFTER_POPULATE"; -$.shortcut("bi.pager", BI.Pager);/** +BI.shortcut("bi.pager", BI.Pager);/** * 超链接 * * Created by GUY on 2015/9/9. @@ -15590,7 +15590,7 @@ BI.A = BI.inherit(BI.Text, { } }); -$.shortcut("bi.a", BI.A);/** +BI.shortcut("bi.a", BI.A);/** * guy * 加载条 * @type {*|void|Object} @@ -15673,7 +15673,7 @@ BI.LoadingBar = BI.inherit(BI.Single, { } }); -$.shortcut("bi.loading_bar", BI.LoadingBar);/** +BI.shortcut("bi.loading_bar", BI.LoadingBar);/** * @class BI.IconButton * @extends BI.BasicButton * 图标的button @@ -15723,7 +15723,7 @@ BI.IconButton = BI.inherit(BI.BasicButton, { } }); BI.IconButton.EVENT_CHANGE = "IconButton.EVENT_CHANGE"; -$.shortcut("bi.icon_button", BI.IconButton);/** +BI.shortcut("bi.icon_button", BI.IconButton);/** * 图片的button * * Created by GUY on 2016/1/27. @@ -15809,7 +15809,7 @@ BI.ImageButton = BI.inherit(BI.BasicButton, { } }); BI.ImageButton.EVENT_CHANGE = "ImageButton.EVENT_CHANGE"; -$.shortcut("bi.image_button", BI.ImageButton);(function ($) { +BI.shortcut("bi.image_button", BI.ImageButton);(function ($) { /** * 文字类型的按钮 @@ -15946,7 +15946,7 @@ $.shortcut("bi.image_button", BI.ImageButton);(function ($) { BI.Button.superclass.destroy.apply(this, arguments); } }); - $.shortcut('bi.button', BI.Button); + BI.shortcut('bi.button', BI.Button); BI.Button.EVENT_CHANGE = "EVENT_CHANGE"; })(jQuery);/** * guy @@ -16037,7 +16037,7 @@ BI.TextButton = BI.inherit(BI.BasicButton, { } }); BI.TextButton.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_button", BI.TextButton);/** +BI.shortcut("bi.text_button", BI.TextButton);/** * 带有一个占位 * * Created by GUY on 2015/9/11. @@ -16155,7 +16155,7 @@ BI.BlankIconIconTextItem = BI.inherit(BI.BasicButton, { } }); BI.BlankIconIconTextItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.blank_icon_icon_text_item", BI.BlankIconIconTextItem);/** +BI.shortcut("bi.blank_icon_icon_text_item", BI.BlankIconIconTextItem);/** * guy * 一个占位符和两个icon和一行数 组成的一行listitem * @@ -16291,7 +16291,7 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, { } }); BI.BlankIconTextIconItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.blank_icon_text_icon_item", BI.BlankIconTextIconItem);/** +BI.shortcut("bi.blank_icon_text_icon_item", BI.BlankIconTextIconItem);/** * 带有一个占位 * * Created by GUY on 2015/9/11. @@ -16401,7 +16401,7 @@ BI.BlankIconTextItem = BI.inherit(BI.BasicButton, { } }); BI.BlankIconTextItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.blank_icon_text_item", BI.BlankIconTextItem);/** +BI.shortcut("bi.blank_icon_text_item", BI.BlankIconTextItem);/** * guy * 两个icon和一行数 组成的一行listitem * @@ -16534,7 +16534,7 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, { } }); BI.IconTextIconItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_text_icon_item", BI.IconTextIconItem);/** +BI.shortcut("bi.icon_text_icon_item", BI.IconTextIconItem);/** * guy * * Created by GUY on 2015/9/9. @@ -16639,7 +16639,7 @@ BI.IconTextItem = BI.inherit(BI.BasicButton, { } }); BI.IconTextItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_text_item", BI.IconTextItem);/** +BI.shortcut("bi.icon_text_item", BI.IconTextItem);/** * * 图标的button * @@ -16745,7 +16745,7 @@ BI.TextIconItem = BI.inherit(BI.BasicButton, { } }); BI.TextIconItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_icon_item", BI.TextIconItem);/** +BI.shortcut("bi.text_icon_item", BI.TextIconItem);/** * guy * 一个button和一行数 组成的一行listitem * @@ -16830,7 +16830,7 @@ BI.TextItem = BI.inherit(BI.BasicButton, { } }); BI.TextItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_item", BI.TextItem);/** +BI.shortcut("bi.text_item", BI.TextItem);/** * guy * Created by GUY on 2015/9/9. * @class BI.IconTextIconNode @@ -16953,7 +16953,7 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, { } }); BI.IconTextIconNode.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_text_icon_node", BI.IconTextIconNode);/** +BI.shortcut("bi.icon_text_icon_node", BI.IconTextIconNode);/** * guy * Created by GUY on 2015/9/9. * @class BI.IconTextNode @@ -17049,7 +17049,7 @@ BI.IconTextNode = BI.inherit(BI.NodeButton, { } }); BI.IconTextNode.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_text_node", BI.IconTextNode);/** +BI.shortcut("bi.icon_text_node", BI.IconTextNode);/** * Created by GUY on 2015/9/9. * @class BI.TextIconNode * @extends BI.NodeButton @@ -17144,7 +17144,7 @@ BI.TextIconNode = BI.inherit(BI.NodeButton, { } }); BI.TextIconNode.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_icon_node", BI.TextIconNode);/** +BI.shortcut("bi.text_icon_node", BI.TextIconNode);/** * guy * * Created by GUY on 2015/9/9. @@ -17220,7 +17220,7 @@ BI.TextNode = BI.inherit(BI.NodeButton, { } }); BI.TextNode.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_node", BI.TextNode);/** +BI.shortcut("bi.text_node", BI.TextNode);/** * * Created by GUY on 2016/1/15. * @class BI.CodeEditor @@ -17365,7 +17365,7 @@ BI.CodeEditor = BI.inherit(BI.Single, { BI.CodeEditor.EVENT_CHANGE = "EVENT_CHANGE"; BI.CodeEditor.EVENT_BLUR = "EVENT_BLUR"; BI.CodeEditor.EVENT_FOCUS = "EVENT_FOCUS"; -$.shortcut("bi.code_editor", BI.CodeEditor);/** +BI.shortcut("bi.code_editor", BI.CodeEditor);/** * Created by GUY on 2015/4/15. * @class BI.Editor * @extends BI.Single @@ -17696,7 +17696,7 @@ BI.Editor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.Editor.EVENT_REMOVE = "EVENT_REMOVE"; BI.Editor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.editor", BI.Editor);/** +BI.shortcut("bi.editor", BI.Editor);/** * 多文件 * * Created by GUY on 2016/4/13. @@ -17789,7 +17789,7 @@ BI.MultifileEditor.EVENT_UPLOADSTART = "MultifileEditor.EVENT_UPLOADSTART"; BI.MultifileEditor.EVENT_ERROR = "MultifileEditor.EVENT_ERROR"; BI.MultifileEditor.EVENT_PROGRESS = "MultifileEditor.EVENT_PROGRESS"; BI.MultifileEditor.EVENT_UPLOADED = "MultifileEditor.EVENT_UPLOADED"; -$.shortcut("bi.multifile_editor", BI.MultifileEditor);/** +BI.shortcut("bi.multifile_editor", BI.MultifileEditor);/** * * Created by GUY on 2016/1/18. * @class BI.TextAreaEditor @@ -17954,7 +17954,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, { BI.TextAreaEditor.EVENT_CHANGE = "EVENT_CHANGE"; BI.TextAreaEditor.EVENT_BLUR = "EVENT_BLUR"; BI.TextAreaEditor.EVENT_FOCUS = "EVENT_FOCUS"; -$.shortcut("bi.textarea_editor", BI.TextAreaEditor);/** +BI.shortcut("bi.textarea_editor", BI.TextAreaEditor);/** * guy 图标 * @class BI.Icon * @extends BI.Single @@ -17971,7 +17971,7 @@ BI.Icon = BI.inherit(BI.Single, { BI.Icon.superclass._init.apply(this, arguments); } }); -$.shortcut("bi.icon", BI.Icon);/** +BI.shortcut("bi.icon", BI.Icon);/** * @class BI.Iframe * @extends BI.Single * @abstract @@ -18012,7 +18012,7 @@ BI.Iframe = BI.inherit(BI.Single, { } }); -$.shortcut("bi.iframe", BI.Iframe);/** +BI.shortcut("bi.iframe", BI.Iframe);/** * ͼƬ * * Created by GUY on 2016/1/26. @@ -18047,7 +18047,7 @@ BI.Img = BI.inherit(BI.Single, { } }); -$.shortcut("bi.img", BI.Img); +BI.shortcut("bi.img", BI.Img); /** * guy * @extends BI.Single @@ -18080,7 +18080,7 @@ BI.Checkbox = BI.inherit(BI.IconButton, { }); BI.Checkbox.EVENT_CHANGE = "Checkbox.EVENT_CHANGE"; -$.shortcut("bi.checkbox", BI.Checkbox);/** +BI.shortcut("bi.checkbox", BI.Checkbox);/** * 文件 * * Created by GUY on 2016/1/27. @@ -18697,7 +18697,7 @@ $.shortcut("bi.checkbox", BI.Checkbox);/** BI.File.EVENT_ERROR = "EVENT_ERROR"; BI.File.EVENT_PROGRESS = "EVENT_PROGRESS"; BI.File.EVENT_UPLOADED = "EVENT_UPLOADED"; - $.shortcut("bi.file", BI.File); + BI.shortcut("bi.file", BI.File); })();/** * guy * @class BI.Input 一个button和一行数 组成的一行listitem @@ -18981,7 +18981,7 @@ BI.Input.EVENT_VALID = "EVENT_VALID"; BI.Input.EVENT_ERROR = "EVENT_ERROR"; BI.Input.EVENT_ENTER = "EVENT_ENTER"; BI.Input.EVENT_RESTRICT = "EVENT_RESTRICT"; -$.shortcut("bi.input", BI.Input);/** +BI.shortcut("bi.input", BI.Input);/** * guy * @extends BI.Single * @type {*|void|Object} @@ -19013,7 +19013,7 @@ BI.Radio = BI.inherit(BI.IconButton, { }); BI.Radio.EVENT_CHANGE = "Radio.EVENT_CHANGE"; -$.shortcut("bi.radio", BI.Radio);/** +BI.shortcut("bi.radio", BI.Radio);/** * Created by GUY on 2015/6/26. */ @@ -19483,7 +19483,7 @@ BI.Label = BI.inherit(BI.Single, { } }); -$.shortcut("bi.label", BI.Label);/** +BI.shortcut("bi.label", BI.Label);/** * guy a元素 * @class BI.Link * @extends BI.Text @@ -19519,7 +19519,7 @@ BI.Link = BI.inherit(BI.Label, { } }); -$.shortcut("bi.link", BI.Link);/** +BI.shortcut("bi.link", BI.Link);/** * guy * 气泡提示 * @class BI.Bubble @@ -19625,7 +19625,7 @@ BI.Bubble = BI.inherit(BI.Tip, { } }); -$.shortcut("bi.bubble", BI.Bubble);/** +BI.shortcut("bi.bubble", BI.Bubble);/** * toast提示 * * Created by GUY on 2015/9/7. @@ -19678,7 +19678,7 @@ BI.Toast = BI.inherit(BI.Tip, { } }); -$.shortcut("bi.toast", BI.Toast);/** +BI.shortcut("bi.toast", BI.Toast);/** * toast提示 * * Created by GUY on 2015/9/7. @@ -19760,7 +19760,7 @@ BI.Tooltip = BI.inherit(BI.Tip, { } }); -$.shortcut("bi.tooltip", BI.Tooltip);/** +BI.shortcut("bi.tooltip", BI.Tooltip);/** * 下拉 * @class BI.Trigger * @extends BI.Single @@ -28160,7 +28160,7 @@ BI.Svg = BI.inherit(BI.Widget, { return this.paper.clear.apply(this.paper, arguments); } }); -$.shortcut("bi.svg", BI.Svg);/** +BI.shortcut("bi.svg", BI.Svg);/** * * 表格 * @@ -28192,7 +28192,7 @@ BI.TableCell = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.table_cell", BI.TableCell);/** +BI.shortcut("bi.table_cell", BI.TableCell);/** * * 表格单元格 * @@ -28248,7 +28248,7 @@ BI.CollectionTableCell = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.collection_table_cell", BI.CollectionTableCell);/** +BI.shortcut("bi.collection_table_cell", BI.CollectionTableCell);/** * CollectionTable * * Created by GUY on 2016/1/12. @@ -28794,7 +28794,7 @@ BI.CollectionTable = BI.inherit(BI.Widget, { this._restore(); } }); -$.shortcut('bi.collection_table', BI.CollectionTable);/** +BI.shortcut('bi.collection_table', BI.CollectionTable);/** * QuickCollectionTable * * Created by GUY on 2016/1/12. @@ -28933,7 +28933,7 @@ BI.QuickCollectionTable = BI.inherit(BI.CollectionTable, { this.bottomRightCollection.populate(rightItems); } }); -$.shortcut('bi.quick_collection_table', BI.QuickCollectionTable);/** +BI.shortcut('bi.quick_collection_table', BI.QuickCollectionTable);/** * * 表格单元格 * @@ -28991,7 +28991,7 @@ BI.GridTableCell = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.grid_table_cell", BI.GridTableCell);/** +BI.shortcut("bi.grid_table_cell", BI.GridTableCell);/** * GridTable * * Created by GUY on 2016/1/12. @@ -29461,7 +29461,7 @@ BI.GridTable = BI.inherit(BI.Widget, { this._restore(); } }); -$.shortcut('bi.grid_table', BI.GridTable);/** +BI.shortcut('bi.grid_table', BI.GridTable);/** * QuickGridTable * * Created by GUY on 2016/1/12. @@ -29625,7 +29625,7 @@ BI.QuickGridTable = BI.inherit(BI.GridTable, { this.bottomRightGrid.populate(rightItems); } }); -$.shortcut('bi.quick_grid_table', BI.QuickGridTable);/** +BI.shortcut('bi.quick_grid_table', BI.QuickGridTable);/** * * 表格滚动条 * @@ -29951,7 +29951,7 @@ BI.GridTableScrollbar = BI.inherit(BI.Widget, { }); BI.GridTableScrollbar.SIZE = 10; BI.GridTableScrollbar.EVENT_SCROLL = "EVENT_SCROLL"; -$.shortcut("bi.grid_table_scrollbar", BI.GridTableScrollbar); +BI.shortcut("bi.grid_table_scrollbar", BI.GridTableScrollbar); BI.GridTableHorizontalScrollbar = BI.inherit(BI.Widget, { @@ -30031,7 +30031,7 @@ BI.GridTableHorizontalScrollbar = BI.inherit(BI.Widget, { } }); BI.GridTableHorizontalScrollbar.EVENT_SCROLL = "EVENT_SCROLL"; -$.shortcut("bi.grid_table_horizontal_scrollbar", BI.GridTableHorizontalScrollbar);/** +BI.shortcut("bi.grid_table_horizontal_scrollbar", BI.GridTableHorizontalScrollbar);/** * * 表格 * @@ -30060,7 +30060,7 @@ BI.TableHeaderCell = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.table_header_cell", BI.TableHeaderCell);/** +BI.shortcut("bi.table_header_cell", BI.TableHeaderCell);/** * * 表格 * @@ -31998,7 +31998,7 @@ BI.Table.EVENT_TABLE_AFTER_COLUMN_RESIZE = "EVENT_TABLE_AFTER_COLUMN_RESIZE"; BI.Table.EVENT_TABLE_BEFORE_REGION_RESIZE = "EVENT_TABLE_BEFORE_REGION_RESIZE"; BI.Table.EVENT_TABLE_REGION_RESIZE = "EVENT_TABLE_REGION_RESIZE"; BI.Table.EVENT_TABLE_AFTER_REGION_RESIZE = "EVENT_TABLE_AFTER_REGION_RESIZE"; -$.shortcut("bi.table_view", BI.Table); +BI.shortcut("bi.table_view", BI.Table); /** * * 表格单元格 @@ -32094,7 +32094,7 @@ BI.ResizableTableCell = BI.inherit(BI.Widget, { this.cell.setHeight(o.height); } }); -$.shortcut("bi.resizable_table_cell", BI.ResizableTableCell);/** +BI.shortcut("bi.resizable_table_cell", BI.ResizableTableCell);/** * * 可调整列宽的grid表格 * @@ -32442,7 +32442,7 @@ BI.ResizableTable = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.resizable_table", BI.ResizableTable);/** +BI.shortcut("bi.resizable_table", BI.ResizableTable);/** * * 自定义树 * @@ -32596,7 +32596,7 @@ BI.CustomTree = BI.inherit(BI.Widget, { }); BI.CustomTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.custom_tree", BI.CustomTree);/* +BI.shortcut("bi.custom_tree", BI.CustomTree);/* * JQuery zTree core v3.5.18 * http://zTree.me/ * diff --git a/dist/case.js b/dist/case.js index 638fdd5ec..96c0ff995 100644 --- a/dist/case.js +++ b/dist/case.js @@ -85,7 +85,7 @@ BI.IconChangeButton = BI.inherit(BI.Single, { } }); BI.IconChangeButton.EVENT_CHANGE = "IconChangeButton.EVENT_CHANGE"; -$.shortcut("bi.icon_change_button", BI.IconChangeButton);/** +BI.shortcut("bi.icon_change_button", BI.IconChangeButton);/** * guy * @extends BI.Single * @type {*|void|Object} @@ -116,7 +116,7 @@ BI.HalfIconButton = BI.inherit(BI.IconButton, { }); BI.HalfIconButton.EVENT_CHANGE = "HalfIconButton.EVENT_CHANGE"; -$.shortcut("bi.half_icon_button", BI.HalfIconButton);/** +BI.shortcut("bi.half_icon_button", BI.HalfIconButton);/** * 统一的trigger图标按钮 * * Created by GUY on 2015/9/16. @@ -145,7 +145,7 @@ BI.TriggerIconButton = BI.inherit(BI.IconButton, { } }); BI.TriggerIconButton.EVENT_CHANGE = "TriggerIconButton.EVENT_CHANGE"; -$.shortcut("bi.trigger_icon_button", BI.TriggerIconButton);/** +BI.shortcut("bi.trigger_icon_button", BI.TriggerIconButton);/** * guy * 复选框item * @type {*|void|Object} @@ -221,7 +221,7 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { } }); BI.MultiSelectItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multi_select_item", BI.MultiSelectItem);/** +BI.shortcut("bi.multi_select_item", BI.MultiSelectItem);/** * Created by GUY on 2016/2/2. * * @class BI.SingleSelectIconTextItem @@ -279,7 +279,7 @@ BI.SingleSelectIconTextItem = BI.inherit(BI.Single, { } }); -$.shortcut("bi.single_select_icon_text_item", BI.SingleSelectIconTextItem);/** +BI.shortcut("bi.single_select_icon_text_item", BI.SingleSelectIconTextItem);/** * guy * 复选框item * @type {*|void|Object} @@ -328,7 +328,7 @@ BI.SingleSelectItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.single_select_item", BI.SingleSelectItem);/** +BI.shortcut("bi.single_select_item", BI.SingleSelectItem);/** * guy * 单选框item * @type {*|void|Object} @@ -401,7 +401,7 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.single_select_radio_item", BI.SingleSelectRadioItem);/** +BI.shortcut("bi.single_select_radio_item", BI.SingleSelectRadioItem);/** * Created by roy on 15/10/16. */ BI.ArrowNode = BI.inherit(BI.NodeButton, { @@ -480,7 +480,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.arrow_group_node", BI.ArrowNode);/** +BI.shortcut("bi.arrow_group_node", BI.ArrowNode);/** * 加号表示的组节点 * Created by GUY on 2015/9/6. * @class BI.FirstPlusGroupNode @@ -560,7 +560,7 @@ BI.FirstPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.first_plus_group_node", BI.FirstPlusGroupNode);/** +BI.shortcut("bi.first_plus_group_node", BI.FirstPlusGroupNode);/** * Created by User on 2016/3/31. */ /** @@ -661,7 +661,7 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.icon_arrow_node", BI.IconArrowNode);/** +BI.shortcut("bi.icon_arrow_node", BI.IconArrowNode);/** * 加号表示的组节点 * Created by GUY on 2015/9/6. * @class BI.LastPlusGroupNode @@ -741,7 +741,7 @@ BI.LastPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.last_plus_group_node", BI.LastPlusGroupNode);/** +BI.shortcut("bi.last_plus_group_node", BI.LastPlusGroupNode);/** * 加号表示的组节点 * Created by GUY on 2015/9/6. * @class BI.MidPlusGroupNode @@ -821,7 +821,7 @@ BI.MidPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArrowNode = BI.inherit(BI.NodeButton, { +BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArrowNode = BI.inherit(BI.NodeButton, { _defaultConfig: function () { var conf = BI.MultiLayerIconArrowNode.superclass._defaultConfig.apply(this, arguments); return BI.extend(conf, { @@ -910,7 +910,7 @@ $.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode);BI.MultiLayerIconArrow } }); -$.shortcut("bi.multilayer_icon_arrow_node", BI.MultiLayerIconArrowNode);/** +BI.shortcut("bi.multilayer_icon_arrow_node", BI.MultiLayerIconArrowNode);/** * 加号表示的组节点 * Created by GUY on 2015/9/6. * @class BI.PlusGroupNode @@ -986,7 +986,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.plus_group_node", BI.PlusGroupNode);/** +BI.shortcut("bi.plus_group_node", BI.PlusGroupNode);/** * 三角号表示的组节点 * Created by GUY on 2015/9/6. * @class BI.TriangleGroupNode @@ -1068,7 +1068,7 @@ BI.TriangleGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.triangle_group_node", BI.TriangleGroupNode);/** +BI.shortcut("bi.triangle_group_node", BI.TriangleGroupNode);/** * guy * 复选框item * @type {*|void|Object} @@ -1171,7 +1171,7 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem = BI.inherit(BI.BasicButton, { +BI.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem = BI.inherit(BI.BasicButton, { _defaultConfig: function () { return BI.extend(BI.IconTreeLeafItem.superclass._defaultConfig.apply(this, arguments), { extraCls: "bi-icon-tree-leaf-item bi-list-item-active", @@ -1258,7 +1258,7 @@ $.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem);BI.IconTreeLeafItem } }); -$.shortcut("bi.icon_tree_leaf_item", BI.IconTreeLeafItem);/** +BI.shortcut("bi.icon_tree_leaf_item", BI.IconTreeLeafItem);/** * guy * 复选框item * @type {*|void|Object} @@ -1361,7 +1361,7 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.last_tree_leaf_item", BI.LastTreeLeafItem);/** +BI.shortcut("bi.last_tree_leaf_item", BI.LastTreeLeafItem);/** * guy * 复选框item * @type {*|void|Object} @@ -1464,7 +1464,7 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.mid_tree_leaf_item", BI.MidTreeLeafItem);/** +BI.shortcut("bi.mid_tree_leaf_item", BI.MidTreeLeafItem);/** * @class BI.MultiLayerIconTreeLeafItem * @extends BI.BasicButton */ @@ -1559,7 +1559,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.multilayer_icon_tree_leaf_item", BI.MultiLayerIconTreeLeafItem);/** +BI.shortcut("bi.multilayer_icon_tree_leaf_item", BI.MultiLayerIconTreeLeafItem);/** * 树叶子节点 * Created by GUY on 2015/9/6. * @class BI.TreeTextLeafItem @@ -1627,7 +1627,7 @@ BI.TreeTextLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.tree_text_leaf_item", BI.TreeTextLeafItem);/** +BI.shortcut("bi.tree_text_leaf_item", BI.TreeTextLeafItem);/** * Created by GUY on 2015/8/28. * @class BI.Calendar * @extends BI.Widget @@ -1816,7 +1816,7 @@ BI.extend(BI.Calendar, { } }); -$.shortcut("bi.calendar", BI.Calendar);/** +BI.shortcut("bi.calendar", BI.Calendar);/** * Created by GUY on 2015/8/28. * @class BI.YearCalendar * @extends BI.Widget @@ -1956,7 +1956,7 @@ BI.extend(BI.YearCalendar, { } }); -$.shortcut("bi.year_calendar", BI.YearCalendar);/** +BI.shortcut("bi.year_calendar", BI.YearCalendar);/** * 绘制一些较复杂的canvas * * Created by GUY on 2015/11/24. @@ -2047,7 +2047,7 @@ BI.ComplexCanvas = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.complex_canvas", BI.ComplexCanvas);/** +BI.shortcut("bi.complex_canvas", BI.ComplexCanvas);/** * Created by roy on 15/10/16. * 上箭头与下箭头切换的树节点 */ @@ -2071,7 +2071,7 @@ BI.ArrowTreeGroupNodeCheckbox=BI.inherit(BI.IconButton,{ } } }); -$.shortcut("bi.arrow_tree_group_node_checkbox",BI.ArrowTreeGroupNodeCheckbox);/** +BI.shortcut("bi.arrow_tree_group_node_checkbox",BI.ArrowTreeGroupNodeCheckbox);/** * 十字型的树节点 * @class BI.CheckingMarkNode * @extends BI.IconButton @@ -2098,7 +2098,7 @@ BI.CheckingMarkNode = BI.inherit(BI.IconButton, { } } }); -$.shortcut("bi.checking_mark_node", BI.CheckingMarkNode);/** +BI.shortcut("bi.checking_mark_node", BI.CheckingMarkNode);/** * 十字型的树节点 * @class BI.FirstTreeNodeCheckbox * @extends BI.IconButton @@ -2124,7 +2124,7 @@ BI.FirstTreeNodeCheckbox = BI.inherit(BI.IconButton, { } } }); -$.shortcut("bi.first_tree_node_checkbox", BI.FirstTreeNodeCheckbox);/** +BI.shortcut("bi.first_tree_node_checkbox", BI.FirstTreeNodeCheckbox);/** * 十字型的树节点 * @class BI.LastTreeNodeCheckbox * @extends BI.IconButton @@ -2150,7 +2150,7 @@ BI.LastTreeNodeCheckbox = BI.inherit(BI.IconButton, { } } }); -$.shortcut("bi.last_tree_node_checkbox", BI.LastTreeNodeCheckbox);/** +BI.shortcut("bi.last_tree_node_checkbox", BI.LastTreeNodeCheckbox);/** * 十字型的树节点 * @class BI.MidTreeNodeCheckbox * @extends BI.IconButton @@ -2176,7 +2176,7 @@ BI.MidTreeNodeCheckbox = BI.inherit(BI.IconButton, { } } }); -$.shortcut("bi.mid_tree_node_checkbox", BI.MidTreeNodeCheckbox);/** +BI.shortcut("bi.mid_tree_node_checkbox", BI.MidTreeNodeCheckbox);/** * 三角形的树节点 * Created by GUY on 2015/9/6. * @class BI.TreeGroupNodeCheckbox @@ -2203,7 +2203,7 @@ BI.TreeGroupNodeCheckbox = BI.inherit(BI.IconButton, { } } }); -$.shortcut("bi.tree_group_node_checkbox", BI.TreeGroupNodeCheckbox);/** +BI.shortcut("bi.tree_group_node_checkbox", BI.TreeGroupNodeCheckbox);/** * 十字型的树节点 * @class BI.TreeNodeCheckbox * @extends BI.IconButton @@ -2229,7 +2229,7 @@ BI.TreeNodeCheckbox = BI.inherit(BI.IconButton, { } } }); -$.shortcut("bi.tree_node_checkbox", BI.TreeNodeCheckbox);/** +BI.shortcut("bi.tree_node_checkbox", BI.TreeNodeCheckbox);/** * 自定义选色 * * Created by GUY on 2015/11/17. @@ -2298,7 +2298,7 @@ BI.CustomColorChooser = BI.inherit(BI.Widget, { } }); BI.CustomColorChooser.EVENT_CHANGE = "CustomColorChooser.EVENT_CHANGE"; -$.shortcut("bi.custom_color_chooser", BI.CustomColorChooser);/** +BI.shortcut("bi.custom_color_chooser", BI.CustomColorChooser);/** * 选色控件 * * Created by GUY on 2015/11/17. @@ -2383,7 +2383,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, { } }); BI.ColorChooser.EVENT_CHANGE = "ColorChooser.EVENT_CHANGE"; -$.shortcut("bi.color_chooser", BI.ColorChooser);/** +BI.shortcut("bi.color_chooser", BI.ColorChooser);/** * 选色控件 * * Created by GUY on 2015/11/17. @@ -2576,7 +2576,7 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, { }); BI.ColorChooserPopup.EVENT_VALUE_CHANGE = "ColorChooserPopup.EVENT_VALUE_CHANGE"; BI.ColorChooserPopup.EVENT_CHANGE = "ColorChooserPopup.EVENT_CHANGE"; -$.shortcut("bi.color_chooser_popup", BI.ColorChooserPopup);/** +BI.shortcut("bi.color_chooser_popup", BI.ColorChooserPopup);/** * 选色控件 * * Created by GUY on 2015/11/17. @@ -2633,7 +2633,7 @@ BI.ColorChooserTrigger = BI.inherit(BI.Trigger, { } }); BI.ColorChooserTrigger.EVENT_CHANGE = "ColorChooserTrigger.EVENT_CHANGE"; -$.shortcut("bi.color_chooser_trigger", BI.ColorChooserTrigger);/** +BI.shortcut("bi.color_chooser_trigger", BI.ColorChooserTrigger);/** * 简单选色控件按钮 * * Created by GUY on 2015/11/16. @@ -2692,7 +2692,7 @@ BI.ColorPickerButton = BI.inherit(BI.BasicButton, { } }); BI.ColorPickerButton.EVENT_CHANGE = "ColorPickerButton.EVENT_CHANGE"; -$.shortcut("bi.color_picker_button", BI.ColorPickerButton);/** +BI.shortcut("bi.color_picker_button", BI.ColorPickerButton);/** * 简单选色控件 * * Created by GUY on 2015/11/16. @@ -2880,7 +2880,7 @@ BI.ColorPicker = BI.inherit(BI.Widget, { } }); BI.ColorPicker.EVENT_CHANGE = "ColorPicker.EVENT_CHANGE"; -$.shortcut("bi.color_picker", BI.ColorPicker);/** +BI.shortcut("bi.color_picker", BI.ColorPicker);/** * 简单选色控件 * * Created by GUY on 2015/11/16. @@ -3013,7 +3013,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { } }); BI.ColorPickerEditor.EVENT_CHANGE = "ColorPickerEditor.EVENT_CHANGE"; -$.shortcut("bi.color_picker_editor", BI.ColorPickerEditor);/** +BI.shortcut("bi.color_picker_editor", BI.ColorPickerEditor);/** * 选色控件 * * Created by GUY on 2015/11/16. @@ -3050,7 +3050,7 @@ BI.Farbtastic = BI.inherit(BI.Widget, { } }); BI.Farbtastic.EVENT_CHANGE = "Farbtastic.EVENT_CHANGE"; -$.shortcut("bi.farbtastic", BI.Farbtastic);/** +BI.shortcut("bi.farbtastic", BI.Farbtastic);/** * Farbtastic Color Picker 1.2 * © 2008 Steven Wittens * @@ -3603,7 +3603,7 @@ BI.BubbleCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; BI.BubbleCombo.EVENT_AFTER_POPUPVIEW = "EVENT_AFTER_POPUPVIEW"; BI.BubbleCombo.EVENT_BEFORE_HIDEVIEW = "EVENT_BEFORE_HIDEVIEW"; BI.BubbleCombo.EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; -$.shortcut("bi.bubble_combo", BI.BubbleCombo);/** +BI.shortcut("bi.bubble_combo", BI.BubbleCombo);/** * Created by GUY on 2017/2/8. * * @class BI.BubblePopupView @@ -3675,7 +3675,7 @@ BI.BubblePopupView = BI.inherit(BI.PopupView, { } }); -$.shortcut("bi.bubble_popup_view", BI.BubblePopupView); +BI.shortcut("bi.bubble_popup_view", BI.BubblePopupView); /** * Created by GUY on 2017/2/8. @@ -3720,7 +3720,7 @@ BI.BubblePopupBarView = BI.inherit(BI.BubblePopupView, { } }); BI.BubblePopupBarView.EVENT_CLICK_TOOLBAR_BUTTON = "EVENT_CLICK_TOOLBAR_BUTTON"; -$.shortcut("bi.bubble_bar_popup_view", BI.BubblePopupBarView);/** +BI.shortcut("bi.bubble_bar_popup_view", BI.BubblePopupBarView);/** * Created by Young's on 2016/4/28. */ BI.EditorIconCheckCombo = BI.inherit(BI.Widget, { @@ -3799,7 +3799,7 @@ BI.EditorIconCheckCombo = BI.inherit(BI.Widget, { } }); BI.EditorIconCheckCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.editor_icon_check_combo", BI.EditorIconCheckCombo);/** +BI.shortcut("bi.editor_icon_check_combo", BI.EditorIconCheckCombo);/** * Created by GUY on 2016/4/25. * * @class BI.FormulaCombo @@ -3897,7 +3897,7 @@ BI.FormulaCombo = BI.inherit(BI.Widget, { } }); BI.FormulaCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.formula_combo", BI.FormulaCombo);/** +BI.shortcut("bi.formula_combo", BI.FormulaCombo);/** * Created by GUY on 2016/4/25. * * @class BI.FormulaComboPopup @@ -3985,7 +3985,7 @@ BI.FormulaComboPopup = BI.inherit(BI.Widget, { }); BI.FormulaComboPopup.EVENT_CHANGE = "EVENT_CHANGE"; BI.FormulaComboPopup.EVENT_VALUE_CANCEL = "EVENT_VALUE_CANCEL"; -$.shortcut("bi.formula_combo_popup", BI.FormulaComboPopup);/** +BI.shortcut("bi.formula_combo_popup", BI.FormulaComboPopup);/** * Created by GUY on 2016/4/25. * * @class BI.FormulaComboTrigger @@ -4043,7 +4043,7 @@ BI.FormulaComboTrigger = BI.inherit(BI.Widget, { this.label.setText(this._getTextFromFormulaValue(v)); } }); -$.shortcut("bi.formula_combo_trigger", BI.FormulaComboTrigger);/** +BI.shortcut("bi.formula_combo_trigger", BI.FormulaComboTrigger);/** * Created by GUY on 2016/2/2. * * @class BI.IconCombo @@ -4141,7 +4141,7 @@ BI.IconCombo = BI.inherit(BI.Widget, { } }); BI.IconCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_combo", BI.IconCombo);/** +BI.shortcut("bi.icon_combo", BI.IconCombo);/** * Created by GUY on 2016/2/2. * * @class BI.IconComboPopup @@ -4203,7 +4203,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, { }); BI.IconComboPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_combo_popup", BI.IconComboPopup);/** +BI.shortcut("bi.icon_combo_popup", BI.IconComboPopup);/** * Created by GUY on 2016/2/2. * * @class BI.IconComboTrigger @@ -4292,7 +4292,7 @@ BI.IconComboTrigger = BI.inherit(BI.Trigger, { } }); BI.IconComboTrigger.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_combo_trigger", BI.IconComboTrigger);/** +BI.shortcut("bi.icon_combo_trigger", BI.IconComboTrigger);/** * 单选combo * * @class BI.StaticCombo @@ -4358,7 +4358,7 @@ BI.StaticCombo = BI.inherit(BI.Widget, { } }); BI.StaticCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.static_combo", BI.StaticCombo);/** +BI.shortcut("bi.static_combo", BI.StaticCombo);/** * @class BI.TextValueCheckCombo * @extend BI.Widget * combo : text + icon, popup : check + text @@ -4435,7 +4435,7 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, { } }); BI.TextValueCheckCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_value_check_combo", BI.TextValueCheckCombo);/** +BI.shortcut("bi.text_value_check_combo", BI.TextValueCheckCombo);/** * @class BI.SmallTextValueCheckCombo * @extend BI.Widget * combo : text + icon, popup : check + text @@ -4503,7 +4503,7 @@ BI.SmallTextValueCheckCombo = BI.inherit(BI.Widget, { } }); BI.SmallTextValueCheckCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo);BI.TextValueCheckComboPopup = BI.inherit(BI.Pane, { +BI.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo);BI.TextValueCheckComboPopup = BI.inherit(BI.Pane, { _defaultConfig: function () { return BI.extend(BI.TextValueCheckComboPopup.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-text-icon-popup", @@ -4562,7 +4562,7 @@ $.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo);BI.Te }); BI.TextValueCheckComboPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_value_check_combo_popup", BI.TextValueCheckComboPopup);/** +BI.shortcut("bi.text_value_check_combo_popup", BI.TextValueCheckComboPopup);/** * @class BI.TextValueCombo * @extend BI.Widget * combo : text + icon, popup : text @@ -4632,7 +4632,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, { } }); BI.TextValueCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_value_combo", BI.TextValueCombo);/** +BI.shortcut("bi.text_value_combo", BI.TextValueCombo);/** * @class BI.SmallTextValueCombo * @extend BI.Widget * combo : text + icon, popup : text @@ -4702,7 +4702,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, { } }); BI.SmallTextValueCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueComboPopup = BI.inherit(BI.Pane, { +BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueComboPopup = BI.inherit(BI.Pane, { _defaultConfig: function () { return BI.extend(BI.TextValueComboPopup.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-text-icon-popup", @@ -4759,7 +4759,7 @@ $.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo);BI.TextValueComb }); BI.TextValueComboPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_value_combo_popup", BI.TextValueComboPopup);/** +BI.shortcut("bi.text_value_combo_popup", BI.TextValueComboPopup);/** * @class BI.TextValueDownListCombo * @extend BI.Widget */ @@ -4842,7 +4842,7 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, { } }); BI.TextValueDownListCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_value_down_list_combo", BI.TextValueDownListCombo);/** +BI.shortcut("bi.text_value_down_list_combo", BI.TextValueDownListCombo);/** * 选择字段trigger, downlist专用 * 显示形式为 父亲值(儿子值) * @@ -4895,7 +4895,7 @@ BI.DownListSelectTextTrigger = BI.inherit(BI.Trigger, { this.trigger.populate(this._formatItemArray(items)); } }); -$.shortcut("bi.down_list_select_text_trigger", BI.DownListSelectTextTrigger);/** +BI.shortcut("bi.down_list_select_text_trigger", BI.DownListSelectTextTrigger);/** * 根据内容自适应长度的输入框 * @class BI.AdaptiveEditor * @extends BI.Single @@ -5056,7 +5056,7 @@ BI.AdaptiveEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.AdaptiveEditor.EVENT_SPACE = "EVENT_SPACE"; BI.AdaptiveEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.adapt_editor", BI.AdaptiveEditor);/** +BI.shortcut("bi.adapt_editor", BI.AdaptiveEditor);/** * 有清楚按钮的文本框 * Created by GUY on 2015/9/29. * @class BI.SmallTextEditor @@ -5224,7 +5224,7 @@ BI.ClearEditor.EVENT_ENTER = "EVENT_ENTER"; BI.ClearEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.ClearEditor.EVENT_REMOVE = "EVENT_REMOVE"; BI.ClearEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.clear_editor", BI.ClearEditor);/** +BI.shortcut("bi.clear_editor", BI.ClearEditor);/** * guy * 记录内容的输入框 * @class BI.RecordEditor @@ -5450,7 +5450,7 @@ BI.RecordEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.RecordEditor.EVENT_SPACE = "EVENT_SPACE"; BI.RecordEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.record_editor", BI.RecordEditor);/** +BI.shortcut("bi.record_editor", BI.RecordEditor);/** * Created by roy on 15/9/14. */ BI.SearchEditor = BI.inherit(BI.Widget, { @@ -5647,7 +5647,7 @@ BI.SearchEditor.EVENT_ENTER = "EVENT_ENTER"; BI.SearchEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.SearchEditor.EVENT_REMOVE = "EVENT_REMOVE"; BI.SearchEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.search_editor", BI.SearchEditor);/** +BI.shortcut("bi.search_editor", BI.SearchEditor);/** * 小号搜索框 * Created by GUY on 2015/9/29. * @class BI.SmallSearchEditor @@ -5666,7 +5666,7 @@ BI.SmallSearchEditor = BI.inherit(BI.SearchEditor, { BI.SmallSearchEditor.superclass._init.apply(this, arguments); } }); -$.shortcut("bi.small_search_editor", BI.SmallSearchEditor);/** +BI.shortcut("bi.small_search_editor", BI.SmallSearchEditor);/** * 带标记的文本框 * Created by GUY on 2016/1/25. * @class BI.ShelterEditor @@ -5915,7 +5915,7 @@ BI.ShelterEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.ShelterEditor.EVENT_SPACE = "EVENT_SPACE"; BI.ShelterEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.shelter_editor", BI.ShelterEditor);/** +BI.shortcut("bi.shelter_editor", BI.ShelterEditor);/** * sign是新值(初始value值)形式的自适应宽度的输入框 * @class BI.SignInitialEditor * @extends BI.Single @@ -6079,7 +6079,7 @@ BI.SignInitialEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.SignInitialEditor.EVENT_SPACE = "EVENT_SPACE"; BI.SignInitialEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.sign_initial_editor", BI.SignInitialEditor);/** +BI.shortcut("bi.sign_initial_editor", BI.SignInitialEditor);/** * 带标记的文本框 * Created by GUY on 2015/8/28. * @class BI.SignEditor @@ -6333,7 +6333,7 @@ BI.SignEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.SignEditor.EVENT_SPACE = "EVENT_SPACE"; BI.SignEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.sign_editor", BI.SignEditor);/** +BI.shortcut("bi.sign_editor", BI.SignEditor);/** * sign标签分两段,可以自定义样式 * @class BI.SignStyleEditor * @extends BI.Single @@ -6592,7 +6592,7 @@ BI.SignStyleEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.SignStyleEditor.EVENT_SPACE = "EVENT_SPACE"; BI.SignStyleEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.sign_style_editor", BI.SignStyleEditor);/** +BI.shortcut("bi.sign_style_editor", BI.SignStyleEditor);/** * guy * 记录状态的输入框 * @class BI.StateEditor @@ -6872,7 +6872,7 @@ BI.StateEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.StateEditor.EVENT_SPACE = "EVENT_SPACE"; BI.StateEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.state_editor", BI.StateEditor);/** +BI.shortcut("bi.state_editor", BI.StateEditor);/** * 无限制-已选择状态输入框 * Created by GUY on 2016/5/18. * @class BI.SimpleStateEditor @@ -7132,7 +7132,7 @@ BI.SimpleStateEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.SimpleStateEditor.EVENT_SPACE = "EVENT_SPACE"; BI.SimpleStateEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.simple_state_editor", BI.SimpleStateEditor);/** +BI.shortcut("bi.simple_state_editor", BI.SimpleStateEditor);/** * guy * @class BI.TextEditor * @extends BI.Single @@ -7301,7 +7301,7 @@ BI.TextEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.TextEditor.EVENT_REMOVE = "EVENT_REMOVE"; BI.TextEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.text_editor", BI.TextEditor);/** +BI.shortcut("bi.text_editor", BI.TextEditor);/** * 小号搜索框 * Created by GUY on 2015/9/29. * @class BI.SmallTextEditor @@ -7320,7 +7320,7 @@ BI.SmallTextEditor = BI.inherit(BI.TextEditor, { BI.SmallTextEditor.superclass._init.apply(this, arguments); } }); -$.shortcut("bi.small_text_editor", BI.SmallTextEditor);/** +BI.shortcut("bi.small_text_editor", BI.SmallTextEditor);/** * 有确定取消按钮的弹出层 * @class BI.BarFloatSection * @extends BI.FloatSection @@ -7500,7 +7500,7 @@ BI.MultiPopupView = BI.inherit(BI.PopupView, { BI.MultiPopupView.EVENT_CHANGE = "EVENT_CHANGE"; BI.MultiPopupView.EVENT_CLICK_TOOLBAR_BUTTON = "EVENT_CLICK_TOOLBAR_BUTTON"; -$.shortcut("bi.multi_popup_view", BI.MultiPopupView);/** +BI.shortcut("bi.multi_popup_view", BI.MultiPopupView);/** * 可以理解为MultiPopupView和Panel两个面板的结合体 * @class BI.PopupPanel * @extends BI.MultiPopupView @@ -7556,7 +7556,7 @@ BI.PopupPanel.EVENT_CHANGE = "EVENT_CHANGE"; BI.PopupPanel.EVENT_CLOSE = "EVENT_CLOSE"; BI.PopupPanel.EVENT_CLICK_TOOLBAR_BUTTON = "EVENT_CLICK_TOOLBAR_BUTTON"; -$.shortcut("bi.popup_panel", BI.PopupPanel);/** +BI.shortcut("bi.popup_panel", BI.PopupPanel);/** * list面板 * * Created by GUY on 2015/10/30. @@ -7727,7 +7727,7 @@ BI.ListPane = BI.inherit(BI.Pane, { } }); BI.ListPane.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.list_pane", BI.ListPane);/** +BI.shortcut("bi.list_pane", BI.ListPane);/** * 带有标题栏的pane * @class BI.Panel * @extends BI.Widget @@ -7805,7 +7805,7 @@ BI.Panel = BI.inherit(BI.Widget,{ }); BI.Panel.EVENT_CHANGE = "Panel.EVENT_CHANGE"; -$.shortcut("bi.panel",BI.Panel);/** +BI.shortcut("bi.panel",BI.Panel);/** * 选择列表 * * Created by GUY on 2015/11/1. @@ -8013,7 +8013,7 @@ BI.SelectList = BI.inherit(BI.Widget, { } }); BI.SelectList.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.select_list", BI.SelectList);/** +BI.shortcut("bi.select_list", BI.SelectList);/** * Created by roy on 15/11/6. */ BI.LazyLoader = BI.inherit(BI.Widget, { @@ -8118,7 +8118,7 @@ BI.LazyLoader = BI.inherit(BI.Widget, { } }); BI.LazyLoader.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.lazy_loader", BI.LazyLoader);/** +BI.shortcut("bi.lazy_loader", BI.LazyLoader);/** * 恶心的加载控件, 为解决排序问题引入的控件 * * Created by GUY on 2015/11/12. @@ -8317,7 +8317,7 @@ BI.ListLoader = BI.inherit(BI.Widget, { } }); BI.ListLoader.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.list_loader", BI.ListLoader);/** +BI.shortcut("bi.list_loader", BI.ListLoader);/** * Created by GUY on 2016/4/29. * * @class BI.SortList @@ -8493,7 +8493,7 @@ BI.SortList = BI.inherit(BI.Widget, { } }); BI.SortList.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.sort_list", BI.SortList);/** +BI.shortcut("bi.sort_list", BI.SortList);/** * 有总页数和总行数的分页控件 * Created by Young's on 2016/10/13. */ @@ -8655,7 +8655,7 @@ BI.AllCountPager = BI.inherit(BI.Widget, { } }); BI.AllCountPager.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.all_count_pager", BI.AllCountPager);/** +BI.shortcut("bi.all_count_pager", BI.AllCountPager);/** * 显示页码的分页控件 * * Created by GUY on 2016/6/30. @@ -8931,7 +8931,7 @@ BI.DirectionPager = BI.inherit(BI.Widget, { } }); BI.DirectionPager.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.direction_pager", BI.DirectionPager);/** +BI.shortcut("bi.direction_pager", BI.DirectionPager);/** * 分页控件 * * Created by GUY on 2015/8/31. @@ -9218,7 +9218,7 @@ BI.DetailPager = BI.inherit(BI.Widget, { }); BI.DetailPager.EVENT_CHANGE = "EVENT_CHANGE"; BI.DetailPager.EVENT_AFTER_POPULATE = "EVENT_AFTER_POPULATE"; -$.shortcut("bi.detail_pager", BI.DetailPager);/** +BI.shortcut("bi.detail_pager", BI.DetailPager);/** * 分段控件使用的button * * Created by GUY on 2015/9/7. @@ -9267,7 +9267,7 @@ BI.SegmentButton = BI.inherit(BI.BasicButton, { BI.SegmentButton.superclass.destroy.apply(this, arguments); } }); -$.shortcut('bi.segment_button', BI.SegmentButton);/** +BI.shortcut('bi.segment_button', BI.SegmentButton);/** * 单选按钮组 * * Created by GUY on 2015/9/7. @@ -9324,7 +9324,7 @@ BI.Segment = BI.inherit(BI.Widget, { } }); BI.Segment.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.segment', BI.Segment);/** +BI.shortcut('bi.segment', BI.Segment);/** * 自适应宽度的表格 * * Created by GUY on 2016/2/3. @@ -9558,7 +9558,7 @@ BI.AdaptiveTable = BI.inherit(BI.Widget, { BI.AdaptiveTable.superclass.destroy.apply(this, arguments); } }); -$.shortcut('bi.adaptive_table', BI.AdaptiveTable);/** +BI.shortcut('bi.adaptive_table', BI.AdaptiveTable);/** * * 层级树状结构的表格 * @@ -9890,7 +9890,7 @@ BI.DynamicSummaryLayerTreeTable = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.dynamic_summary_layer_tree_table", BI.DynamicSummaryLayerTreeTable);/** +BI.shortcut("bi.dynamic_summary_layer_tree_table", BI.DynamicSummaryLayerTreeTable);/** * * 树状结构的表格 * @@ -10236,7 +10236,7 @@ BI.extend(BI.DynamicSummaryTreeTable, { } }); -$.shortcut("bi.dynamic_summary_tree_table", BI.DynamicSummaryTreeTable);/** +BI.shortcut("bi.dynamic_summary_tree_table", BI.DynamicSummaryTreeTable);/** * * 层级树状结构的表格 * @@ -10554,7 +10554,7 @@ BI.LayerTreeTable = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.layer_tree_table", BI.LayerTreeTable);/** +BI.shortcut("bi.layer_tree_table", BI.LayerTreeTable);/** * * Created by GUY on 2016/5/26. * @class BI.TableStyleCell @@ -10599,7 +10599,7 @@ BI.TableStyleCell = BI.inherit(BI.Single, { this._digestStyle(); } }); -$.shortcut('bi.table_style_cell', BI.TableStyleCell);/** +BI.shortcut('bi.table_style_cell', BI.TableStyleCell);/** * * 树状结构的表格 * @@ -10928,7 +10928,7 @@ BI.extend(BI.TableTree, { } }); -$.shortcut("bi.tree_table", BI.TableTree);/** +BI.shortcut("bi.tree_table", BI.TableTree);/** * guy * 复选导航条 * Created by GUY on 2015/8/25. @@ -11061,7 +11061,7 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, { } }); BI.MultiSelectBar.EVENT_CHANGE = "MultiSelectBar.EVENT_CHANGE"; -$.shortcut("bi.multi_select_bar", BI.MultiSelectBar);/** +BI.shortcut("bi.multi_select_bar", BI.MultiSelectBar);/** * 倒立的Branch * @class BI.HandStandBranchExpander * @extend BI.Widget @@ -11120,7 +11120,7 @@ BI.HandStandBranchExpander = BI.inherit(BI.Widget, { } }); BI.HandStandBranchExpander.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.handstand_branch_expander", BI.HandStandBranchExpander);/** +BI.shortcut("bi.handstand_branch_expander", BI.HandStandBranchExpander);/** * @class BI.BranchExpander * @extend BI.Widget * create by young @@ -11179,7 +11179,7 @@ BI.BranchExpander = BI.inherit(BI.Widget, { } }); BI.BranchExpander.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.branch_expander", BI.BranchExpander);/** +BI.shortcut("bi.branch_expander", BI.BranchExpander);/** * @class BI.HandStandBranchTree * @extends BI.Widget * create by young @@ -11233,7 +11233,7 @@ BI.HandStandBranchTree = BI.inherit(BI.Widget, { } }); BI.HandStandBranchTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.handstand_branch_tree", BI.HandStandBranchTree);/** +BI.shortcut("bi.handstand_branch_tree", BI.HandStandBranchTree);/** * @class BI.BranchTree * @extends BI.Widget * create by young @@ -11287,7 +11287,7 @@ BI.BranchTree = BI.inherit(BI.Widget, { } }); BI.BranchTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.branch_tree", BI.BranchTree);/** +BI.shortcut("bi.branch_tree", BI.BranchTree);/** * guy * 异步树 * @class BI.DisplayTree @@ -11344,7 +11344,7 @@ BI.DisplayTree = BI.inherit(BI.TreeView, { }); BI.DisplayTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.display_tree", BI.DisplayTree);/** +BI.shortcut("bi.display_tree", BI.DisplayTree);/** * guy * 二级树 * @class BI.LevelTree @@ -11480,7 +11480,7 @@ BI.LevelTree = BI.inherit(BI.Widget, { }); BI.LevelTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.level_tree", BI.LevelTree);/** +BI.shortcut("bi.level_tree", BI.LevelTree);/** * 简单的多选树 * * Created by GUY on 2016/2/16. @@ -11600,7 +11600,7 @@ BI.SimpleTreeView = BI.inherit(BI.Widget, { } }); BI.SimpleTreeView.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.simple_tree", BI.SimpleTreeView); +BI.shortcut("bi.simple_tree", BI.SimpleTreeView); /** * 文本输入框trigger * @@ -11679,7 +11679,7 @@ BI.EditorTrigger = BI.inherit(BI.Trigger, { } }); BI.EditorTrigger.EVENT_CHANGE = "BI.EditorTrigger.EVENT_CHANGE"; -$.shortcut("bi.editor_trigger", BI.EditorTrigger);/** +BI.shortcut("bi.editor_trigger", BI.EditorTrigger);/** * 图标按钮trigger * * Created by GUY on 2015/10/8. @@ -11706,7 +11706,7 @@ BI.IconTrigger = BI.inherit(BI.Trigger, { }); } }); -$.shortcut('bi.icon_trigger', BI.IconTrigger);/** +BI.shortcut('bi.icon_trigger', BI.IconTrigger);/** * 文字trigger * * Created by GUY on 2015/9/15. @@ -11772,7 +11772,7 @@ BI.TextTrigger = BI.inherit(BI.Trigger, { this.text.setTitle(text); } }); -$.shortcut("bi.text_trigger", BI.TextTrigger);/** +BI.shortcut("bi.text_trigger", BI.TextTrigger);/** * 选择字段trigger * * Created by GUY on 2015/9/15. @@ -11826,7 +11826,7 @@ BI.SelectTextTrigger = BI.inherit(BI.Trigger, { this.options.items = items; } }); -$.shortcut("bi.select_text_trigger", BI.SelectTextTrigger);/** +BI.shortcut("bi.select_text_trigger", BI.SelectTextTrigger);/** * 选择字段trigger小一号的 * * @class BI.SmallSelectTextTrigger @@ -11879,7 +11879,7 @@ BI.SmallSelectTextTrigger = BI.inherit(BI.Trigger, { this.options.items = items; } }); -$.shortcut("bi.small_select_text_trigger", BI.SmallSelectTextTrigger);/** +BI.shortcut("bi.small_select_text_trigger", BI.SmallSelectTextTrigger);/** * 文字trigger(右边小三角小一号的) == * * @class BI.SmallTextTrigger @@ -11942,7 +11942,7 @@ BI.SmallTextTrigger = BI.inherit(BI.Trigger, { this.text.setText(text); } }); -$.shortcut("bi.small_text_trigger", BI.SmallTextTrigger);/* +BI.shortcut("bi.small_text_trigger", BI.SmallTextTrigger);/* * zClip :: jQuery ZeroClipboard v1.1.1 * http://steamdev.com/zclip * @@ -12467,4 +12467,4 @@ BI.ZeroClip = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.zero_clip", BI.ZeroClip); \ No newline at end of file +BI.shortcut("bi.zero_clip", BI.ZeroClip); \ No newline at end of file diff --git a/dist/core.js b/dist/core.js index cf049fa61..30f2f8af7 100644 --- a/dist/core.js +++ b/dist/core.js @@ -15668,27 +15668,21 @@ BI.View = BI.inherit(BI.V, { destroyed: function () { } -});(function ($) { +});(function () { var kv = {}; // alex:键(编辑器简称,如text)值(也是一个字符串,如FR.TextEditor)对 - $.shortcut = BI.shortcut = function (xtype, cls) { + BI.shortcut = function (xtype, cls) { if (kv[xtype] != null) { throw ("shortcut:[" + xtype + "] has been registed"); } kv[xtype] = cls; - $.extend(cls.prototype, { + _.extend(cls.prototype, { xtype: xtype }) }; // 根据配置属性生成widget var createWidget = function (config) { - // alex:如果是一个jquery对象,就在外面套一层,变成一个FR.Widget - if (config instanceof $) { - return new BI.Widget({ - element: config - }); - } if (config['classType']) { return new (new Function('return ' + config['classType'] + ';')())(config); } @@ -15726,7 +15720,7 @@ BI.View = BI.inherit(BI.V, { throw new Error('无法根据item创建组件'); } -})(jQuery);(function (window, undefined) { +})();(function (window, undefined) { function aspect(type) { return function (target, methodName, advice) { var exist = target[methodName], @@ -19657,7 +19651,7 @@ BI.Layout = BI.inherit(BI.Widget, { } }); -$.shortcut('bi.layout', BI.Layout);/** +BI.shortcut('bi.layout', BI.Layout);/** * guy * 由一个元素切换到另一个元素的行为 * @class BI.Action @@ -25092,7 +25086,7 @@ BI.AbsoluteCenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.absolute_center_adapt', BI.AbsoluteCenterLayout);/** +BI.shortcut('bi.absolute_center_adapt', BI.AbsoluteCenterLayout);/** * absolute实现的居中布局 * @class BI.AbsoluteHorizontalLayout * @extends BI.Layout @@ -25142,7 +25136,7 @@ BI.AbsoluteHorizontalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.absolute_horizontal_adapt', BI.AbsoluteHorizontalLayout);/** +BI.shortcut('bi.absolute_horizontal_adapt', BI.AbsoluteHorizontalLayout);/** * absolute实现的居中布局 * @class BI.AbsoluteVerticalLayout * @extends BI.Layout @@ -25194,7 +25188,7 @@ BI.AbsoluteVerticalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.absolute_vertical_adapt', BI.AbsoluteVerticalLayout);/** +BI.shortcut('bi.absolute_vertical_adapt', BI.AbsoluteVerticalLayout);/** * 自适应水平和垂直方向都居中容器 * @class BI.CenterAdaptLayout * @extends BI.Layout @@ -25312,7 +25306,7 @@ BI.CenterAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.center_adapt', BI.CenterAdaptLayout);/** +BI.shortcut('bi.center_adapt', BI.CenterAdaptLayout);/** * 水平方向居中容器 * @class BI.HorizontalAdaptLayout * @extends BI.Layout @@ -25429,7 +25423,7 @@ BI.HorizontalAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.horizontal_adapt', BI.HorizontalAdaptLayout);/** +BI.shortcut('bi.horizontal_adapt', BI.HorizontalAdaptLayout);/** * 左右分离,垂直方向居中容器 * items:{ left: [{el:{type:"bi.button"}}], @@ -25504,7 +25498,7 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.left_right_vertical_adapt', BI.LeftRightVerticalAdaptLayout); +BI.shortcut('bi.left_right_vertical_adapt', BI.LeftRightVerticalAdaptLayout); BI.LeftVerticalAdaptLayout = BI.inherit(BI.Layout, { @@ -25553,7 +25547,7 @@ BI.LeftVerticalAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.left_vertical_adapt', BI.LeftVerticalAdaptLayout); +BI.shortcut('bi.left_vertical_adapt', BI.LeftVerticalAdaptLayout); BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, { props: function () { @@ -25601,7 +25595,7 @@ BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.right_vertical_adapt', BI.RightVerticalAdaptLayout);/** +BI.shortcut('bi.right_vertical_adapt', BI.RightVerticalAdaptLayout);/** * 垂直方向居中容器 * @class BI.VerticalAdaptLayout * @extends BI.Layout @@ -25716,7 +25710,7 @@ BI.VerticalAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.vertical_adapt', BI.VerticalAdaptLayout);/** +BI.shortcut('bi.vertical_adapt', BI.VerticalAdaptLayout);/** * 水平方向居中自适应容器 * @class BI.HorizontalAutoLayout * @extends BI.Layout @@ -25778,7 +25772,7 @@ BI.HorizontalAutoLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.horizontal_auto', BI.HorizontalAutoLayout);/** +BI.shortcut('bi.horizontal_auto', BI.HorizontalAutoLayout);/** * 浮动的居中布局 */ BI.FloatCenterAdaptLayout = BI.inherit(BI.Layout, { @@ -25846,7 +25840,7 @@ BI.FloatCenterAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.float_center_adapt', BI.FloatCenterAdaptLayout);/** +BI.shortcut('bi.float_center_adapt', BI.FloatCenterAdaptLayout);/** * 浮动的水平居中布局 */ BI.FloatHorizontalLayout = BI.inherit(BI.Layout, { @@ -25910,7 +25904,7 @@ BI.FloatHorizontalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.horizontal_float', BI.FloatHorizontalLayout);/** +BI.shortcut('bi.horizontal_float', BI.FloatHorizontalLayout);/** * 内联布局 * @class BI.InlineCenterAdaptLayout * @extends BI.Layout @@ -26007,7 +26001,7 @@ BI.InlineCenterAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.inline_center_adapt', BI.InlineCenterAdaptLayout);/** +BI.shortcut('bi.inline_center_adapt', BI.InlineCenterAdaptLayout);/** * 内联布局 * @class BI.InlineVerticalAdaptLayout * @extends BI.Layout @@ -26078,7 +26072,7 @@ BI.InlineVerticalAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.inline_vertical_adapt', BI.InlineVerticalAdaptLayout);/** +BI.shortcut('bi.inline_vertical_adapt', BI.InlineVerticalAdaptLayout);/** *自适应水平和垂直方向都居中容器 * Created by GUY on 2016/12/2. * @@ -26112,7 +26106,7 @@ BI.FlexCenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.flex_center', BI.FlexCenterLayout);/** +BI.shortcut('bi.flex_center', BI.FlexCenterLayout);/** *自适应水平和垂直方向都居中容器 * Created by GUY on 2016/12/2. * @@ -26177,7 +26171,7 @@ BI.FlexHorizontalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.flex_horizontal', BI.FlexHorizontalLayout);/** +BI.shortcut('bi.flex_horizontal', BI.FlexHorizontalLayout);/** *自适应水平和垂直方向都居中容器 * Created by GUY on 2016/12/2. * @@ -26239,7 +26233,7 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.flex_vertical_center', BI.FlexVerticalCenter);/** +BI.shortcut('bi.flex_vertical_center', BI.FlexVerticalCenter);/** *自适应水平和垂直方向都居中容器 * Created by GUY on 2016/12/2. * @@ -26294,7 +26288,7 @@ BI.FlexCenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.flex_wrapper_center', BI.FlexCenterLayout);/** +BI.shortcut('bi.flex_wrapper_center', BI.FlexCenterLayout);/** *自适应水平和垂直方向都居中容器 * Created by GUY on 2016/12/2. * @@ -26379,7 +26373,7 @@ BI.FlexHorizontalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.flex_wrapper_horizontal', BI.FlexHorizontalLayout);/** +BI.shortcut('bi.flex_wrapper_horizontal', BI.FlexHorizontalLayout);/** *自适应水平和垂直方向都居中容器 * Created by GUY on 2016/12/2. * @@ -26462,7 +26456,7 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.flex_wrapper_vertical_center', BI.FlexVerticalCenter);/** +BI.shortcut('bi.flex_wrapper_vertical_center', BI.FlexVerticalCenter);/** * 固定子组件上下左右的布局容器 * @class BI.AbsoluteLayout * @extends BI.Layout @@ -26568,7 +26562,7 @@ BI.AbsoluteLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.absolute', BI.AbsoluteLayout);BI.AdaptiveLayout = BI.inherit(BI.Layout, { +BI.shortcut('bi.absolute', BI.AbsoluteLayout);BI.AdaptiveLayout = BI.inherit(BI.Layout, { props: function () { return BI.extend(BI.AdaptiveLayout.superclass.props.apply(this, arguments), { baseCls: "bi-adaptive-layout", @@ -26659,7 +26653,7 @@ $.shortcut('bi.absolute', BI.AbsoluteLayout);BI.AdaptiveLayout = BI.inherit(BI.L this._mount(); } }); -$.shortcut('bi.adaptive', BI.AdaptiveLayout);/** +BI.shortcut('bi.adaptive', BI.AdaptiveLayout);/** * 上下的高度固定/左右的宽度固定,中间的高度/宽度自适应 * * @class BI.BorderLayout @@ -26790,7 +26784,7 @@ BI.BorderLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.border', BI.BorderLayout);/** +BI.shortcut('bi.border', BI.BorderLayout);/** * 卡片布局,可以做到当前只显示一个组件,其他的都隐藏 * @class BI.CardLayout * @extends BI.Layout @@ -26957,7 +26951,7 @@ BI.CardLayout = BI.inherit(BI.Layout, { return flag; } }); -$.shortcut('bi.card', BI.CardLayout);/** +BI.shortcut('bi.card', BI.CardLayout);/** * 默认的布局方式 * * @class BI.DefaultLayout @@ -27015,7 +27009,7 @@ BI.DefaultLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.default', BI.DefaultLayout);/** +BI.shortcut('bi.default', BI.DefaultLayout);/** * 分隔容器的控件,按照宽度和高度所占比平分整个容器 * * @class BI.DivisionLayout @@ -27171,7 +27165,7 @@ BI.DivisionLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.division', BI.DivisionLayout);/** +BI.shortcut('bi.division', BI.DivisionLayout);/** * 靠左对齐的自由浮动布局 * @class BI.FloatLeftLayout * @extends BI.Layout @@ -27234,7 +27228,7 @@ BI.FloatLeftLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.left', BI.FloatLeftLayout); +BI.shortcut('bi.left', BI.FloatLeftLayout); /** * 靠右对齐的自由浮动布局 @@ -27299,7 +27293,7 @@ BI.FloatRightLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.right', BI.FloatRightLayout);/** +BI.shortcut('bi.right', BI.FloatRightLayout);/** * 上下的高度固定/左右的宽度固定,中间的高度/宽度自适应 * * @class BI.BorderLayout @@ -27424,7 +27418,7 @@ BI.GridLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.grid', BI.GridLayout);/** +BI.shortcut('bi.grid', BI.GridLayout);/** * 水平布局 * @class BI.HorizontalLayout * @extends BI.Layout @@ -27542,7 +27536,7 @@ BI.HorizontalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.horizontal', BI.HorizontalLayout); +BI.shortcut('bi.horizontal', BI.HorizontalLayout); /** * 水平布局 @@ -27604,7 +27598,7 @@ BI.HorizontalCellLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.horizontal_cell', BI.HorizontalCellLayout);/** +BI.shortcut('bi.horizontal_cell', BI.HorizontalCellLayout);/** * 内联布局 * @class BI.InlineLayout * @extends BI.Layout @@ -27666,7 +27660,7 @@ BI.InlineLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.inline', BI.InlineLayout);/** +BI.shortcut('bi.inline', BI.InlineLayout);/** * 靠左对齐的自由浮动布局 * @class BI.LatticeLayout * @extends BI.Layout @@ -27720,7 +27714,7 @@ BI.LatticeLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.lattice', BI.LatticeLayout);/** +BI.shortcut('bi.lattice', BI.LatticeLayout);/** * 上下的高度固定/左右的宽度固定,中间的高度/宽度自适应 * * @class BI.TableLayout @@ -27865,7 +27859,7 @@ BI.TableLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.table', BI.TableLayout);/** +BI.shortcut('bi.table', BI.TableLayout);/** * 水平tape布局 * @class BI.HTapeLayout * @extends BI.Layout @@ -27967,7 +27961,7 @@ BI.HTapeLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.htape', BI.HTapeLayout); +BI.shortcut('bi.htape', BI.HTapeLayout); /** * 垂直tape布局 @@ -28072,7 +28066,7 @@ BI.VTapeLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.vtape', BI.VTapeLayout);/** +BI.shortcut('bi.vtape', BI.VTapeLayout);/** * td布局 * @class BI.TdLayout * @extends BI.Layout @@ -28213,7 +28207,7 @@ BI.TdLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.td', BI.TdLayout);/** +BI.shortcut('bi.td', BI.TdLayout);/** * 垂直布局 * @class BI.VerticalLayout * @extends BI.Layout @@ -28274,7 +28268,7 @@ BI.VerticalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.vertical', BI.VerticalLayout);/** +BI.shortcut('bi.vertical', BI.VerticalLayout);/** * * @class BI.WindowLayout * @extends BI.Layout @@ -28461,7 +28455,7 @@ BI.WindowLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.window', BI.WindowLayout);/** +BI.shortcut('bi.window', BI.WindowLayout);/** * 水平和垂直方向都居中容器, 非自适应,用于宽度高度固定的面板 * @class BI.CenterLayout * @extends BI.Layout @@ -28535,7 +28529,7 @@ BI.CenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.center', BI.CenterLayout);/** +BI.shortcut('bi.center', BI.CenterLayout);/** * 浮动布局实现的居中容器 * @class BI.FloatCenterLayout * @extends BI.Layout @@ -28608,7 +28602,7 @@ BI.FloatCenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.float_center', BI.FloatCenterLayout);/** +BI.shortcut('bi.float_center', BI.FloatCenterLayout);/** * 水平和垂直方向都居中容器, 非自适应,用于宽度高度固定的面板 * @class BI.HorizontalCenterLayout * @extends BI.Layout @@ -28680,7 +28674,7 @@ BI.HorizontalCenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.horizontal_center', BI.HorizontalCenterLayout);/** +BI.shortcut('bi.horizontal_center', BI.HorizontalCenterLayout);/** * 垂直方向都居中容器, 非自适应,用于高度不固定的面板 * @class BI.VerticalCenterLayout * @extends BI.Layout @@ -28752,7 +28746,7 @@ BI.VerticalCenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.vertical_center', BI.VerticalCenterLayout);/** +BI.shortcut('bi.vertical_center', BI.VerticalCenterLayout);/** * 保存数据,将js里面用到的常量数据都分离 * */ diff --git a/dist/widget.js b/dist/widget.js index 2d9d4e041..c2be3e4d3 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -380,7 +380,7 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { this._populate(); } }); -$.shortcut('bi.sequence_table_tree_number', BI.SequenceTableTreeNumber);/** +BI.shortcut('bi.sequence_table_tree_number', BI.SequenceTableTreeNumber);/** * 自适应布局 * * 1、resize @@ -893,7 +893,7 @@ BI.AdaptiveArrangement.EVENT_ELEMENT_START_RESIZE = "AdaptiveArrangement.EVENT_E BI.AdaptiveArrangement.EVENT_ELEMENT_RESIZE = "AdaptiveArrangement.EVENT_ELEMENT_RESIZE"; BI.AdaptiveArrangement.EVENT_ELEMENT_STOP_RESIZE = "AdaptiveArrangement.EVENT_ELEMENT_STOP_RESIZE"; BI.AdaptiveArrangement.EVENT_RESIZE = "AdaptiveArrangement.EVENT_RESIZE"; -$.shortcut('bi.adaptive_arrangement', BI.AdaptiveArrangement);/** +BI.shortcut('bi.adaptive_arrangement', BI.AdaptiveArrangement);/** * Arrangement的block面板 * * Created by GUY on 2016/3/1. @@ -914,7 +914,7 @@ BI.ArrangementBlock = BI.inherit(BI.Widget, { } }); -$.shortcut('bi.arrangement_block', BI.ArrangementBlock);/** +BI.shortcut('bi.arrangement_block', BI.ArrangementBlock);/** * Arrangement的drop面板 * * Created by GUY on 2016/3/1. @@ -935,7 +935,7 @@ BI.ArrangementDroppable = BI.inherit(BI.Widget, { } }); -$.shortcut('bi.arrangement_droppable', BI.ArrangementDroppable);/** +BI.shortcut('bi.arrangement_droppable', BI.ArrangementDroppable);/** * 布局 * * Created by GUY on 2016/2/23. @@ -3869,7 +3869,7 @@ BI.extend(BI.Arrangement, { GRID: 2 } }); -$.shortcut('bi.arrangement', BI.Arrangement);/** +BI.shortcut('bi.arrangement', BI.Arrangement);/** * 表关联树 * * Created by GUY on 2015/12/15. @@ -4366,7 +4366,7 @@ BI.BranchRelation = BI.inherit(BI.Widget, { } }); BI.BranchRelation.EVENT_CHANGE = "BranchRelation.EVENT_CHANGE"; -$.shortcut("bi.branch_relation", BI.BranchRelation);/** +BI.shortcut("bi.branch_relation", BI.BranchRelation);/** * 日期控件中的月份下拉框 * * Created by GUY on 2015/9/7. @@ -4400,7 +4400,7 @@ BI.MonthDateCombo = BI.inherit(BI.Trigger, { this.combo = BI.createWidget({ type: "bi.combo", offsetStyle: "center", - element: this.element, + element: this, isNeedAdjustHeight: false, isNeedAdjustWidth: false, el: this.trigger, @@ -4426,7 +4426,7 @@ BI.MonthDateCombo = BI.inherit(BI.Trigger, { } }); BI.MonthDateCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.month_date_combo', BI.MonthDateCombo);/** +BI.shortcut('bi.month_date_combo', BI.MonthDateCombo);/** * 年份下拉框 * * Created by GUY on 2015/9/7. @@ -4466,7 +4466,7 @@ BI.YearDateCombo = BI.inherit(BI.Trigger, { this.combo = BI.createWidget({ type: "bi.combo", offsetStyle: "center", - element: this.element, + element: this, isNeedAdjustHeight: false, isNeedAdjustWidth: false, el: this.trigger, @@ -4491,7 +4491,7 @@ BI.YearDateCombo = BI.inherit(BI.Trigger, { } }); BI.YearDateCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.year_date_combo', BI.YearDateCombo);/** +BI.shortcut('bi.year_date_combo', BI.YearDateCombo);/** * Created by GUY on 2015/9/7. * @class BI.DatePicker * @extends BI.Widget @@ -4580,7 +4580,7 @@ BI.DatePicker = BI.inherit(BI.Widget, { BI.createWidget({ type: "bi.htape", - element: this.element, + element: this, items: [{ el: this.left, width: 25 @@ -4617,7 +4617,7 @@ BI.DatePicker = BI.inherit(BI.Widget, { } }); BI.DatePicker.EVENT_CHANGE = "EVENT_CHANGE" -$.shortcut("bi.date_picker", BI.DatePicker);/** +BI.shortcut("bi.date_picker", BI.DatePicker);/** * Created by GUY on 2015/9/7. * @class BI.DateCalendarPopup * @extends BI.Widget @@ -4670,7 +4670,7 @@ BI.DateCalendarPopup = BI.inherit(BI.Widget, { this.calendar = BI.createWidget({ direction: "top", - element: this.element, + element: this, logic: { dynamic: true }, @@ -4712,7 +4712,7 @@ BI.DateCalendarPopup = BI.inherit(BI.Widget, { } }); BI.DateCalendarPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.date_calendar_popup", BI.DateCalendarPopup);/** +BI.shortcut("bi.date_calendar_popup", BI.DateCalendarPopup);/** * 日期控件中的年份或月份trigger * * Created by GUY on 2015/9/7. @@ -4751,7 +4751,7 @@ BI.DateTriangleTrigger = BI.inherit(BI.Trigger, { BI.createWidget({ type: "bi.center_adapt", - element: this.element, + element: this, items: [{ type: "bi.center_adapt", width: 50, @@ -4781,7 +4781,7 @@ BI.DateTriangleTrigger = BI.inherit(BI.Trigger, { } }); -$.shortcut('bi.date_triangle_trigger', BI.DateTriangleTrigger);/** +BI.shortcut('bi.date_triangle_trigger', BI.DateTriangleTrigger);/** * 日期下拉框 * * Created by GUY on 2015/9/7. @@ -4818,7 +4818,7 @@ BI.DateCombo = BI.inherit(BI.Widget, { this.combo = BI.createWidget({ type: "bi.combo", toggle: false, - element: this.element, + element: this, isNeedAdjustHeight: false, isNeedAdjustWidth: false, el: this.trigger, @@ -4839,7 +4839,7 @@ BI.DateCombo = BI.inherit(BI.Widget, { return this.popup.getValue(); } }); -$.shortcut('bi.date_combo', BI.DateCombo);BI.DateTrigger = BI.inherit(BI.Trigger, { +BI.shortcut('bi.date_combo', BI.DateCombo);BI.DateTrigger = BI.inherit(BI.Trigger, { _const: { hgap: 4, vgap: 2, @@ -4930,7 +4930,7 @@ $.shortcut('bi.date_combo', BI.DateCombo);BI.DateTrigger = BI.inherit(BI.Trigger }); BI.createWidget({ type: "bi.htape", - element: this.element, + element: this, items: [{ el: BI.createWidget(), width: 30 @@ -5103,7 +5103,7 @@ BI.DateTrigger.EVENT_VALID = "EVENT_VALID"; BI.DateTrigger.EVENT_ERROR = "EVENT_ERROR"; BI.DateTrigger.EVENT_TRIGGER_CLICK = "EVENT_TRIGGER_CLICK"; BI.DateTrigger.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; -$.shortcut("bi.date_trigger", BI.DateTrigger);/** +BI.shortcut("bi.date_trigger", BI.DateTrigger);/** * Created by zcf on 2017/2/20. */ BI.DatePaneWidget = BI.inherit(BI.Widget, { @@ -5224,7 +5224,7 @@ BI.DatePaneWidget = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.date_pane_widget", BI.DatePaneWidget);/** +BI.shortcut("bi.date_pane_widget", BI.DatePaneWidget);/** * 带有方向的pathchooser * * Created by GUY on 2016/4/21. @@ -5466,7 +5466,7 @@ BI.DirectionPathChooser = BI.inherit(BI.Widget, { } }); BI.DirectionPathChooser.EVENT_CHANGE = "DirectionPathChooser.EVENT_CHANGE"; -$.shortcut('bi.direction_path_chooser', BI.DirectionPathChooser);/** +BI.shortcut('bi.direction_path_chooser', BI.DirectionPathChooser);/** * Created by roy on 15/8/14. */ BI.DownListCombo = BI.inherit(BI.Widget, { @@ -5539,7 +5539,7 @@ BI.DownListCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.DownListCombo.EVENT_SON_VALUE_CHANGE = "EVENT_SON_VALUE_CHANGE"; BI.DownListCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; -$.shortcut("bi.down_list_combo", BI.DownListCombo);/** +BI.shortcut("bi.down_list_combo", BI.DownListCombo);/** * Created by roy on 15/9/6. */ BI.DownListGroup = BI.inherit(BI.Widget, { @@ -5588,7 +5588,7 @@ BI.DownListGroup = BI.inherit(BI.Widget, { }) BI.DownListGroup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.down_list_group", BI.DownListGroup);BI.DownListItem = BI.inherit(BI.Single, { +BI.shortcut("bi.down_list_group", BI.DownListGroup);BI.DownListItem = BI.inherit(BI.Single, { _defaultConfig: function () { var conf = BI.DownListItem.superclass._defaultConfig.apply(this, arguments); return BI.extend(conf, { @@ -5666,7 +5666,7 @@ $.shortcut("bi.down_list_group", BI.DownListGroup);BI.DownListItem = BI.inherit( } }); BI.DownListItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.down_list_item", BI.DownListItem);BI.DownListGroupItem = BI.inherit(BI.BasicButton, { +BI.shortcut("bi.down_list_item", BI.DownListItem);BI.DownListGroupItem = BI.inherit(BI.BasicButton, { _defaultConfig: function () { var conf = BI.DownListGroupItem.superclass._defaultConfig.apply(this, arguments); return BI.extend(conf, { @@ -5788,7 +5788,7 @@ $.shortcut("bi.down_list_item", BI.DownListItem);BI.DownListGroupItem = BI.inher } }); BI.DownListGroupItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.down_list_group_item", BI.DownListGroupItem);/** +BI.shortcut("bi.down_list_group_item", BI.DownListGroupItem);/** * Created by roy on 15/9/8. * 处理popup中的item分组样式 * 一个item分组中的成员大于一时,该分组设置为单选,并且默认状态第一个成员设置为已选择项 @@ -6019,7 +6019,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, { BI.DownListPopup.EVENT_CHANGE = "EVENT_CHANGE"; BI.DownListPopup.EVENT_SON_VALUE_CHANGE = "EVENT_SON_VALUE_CHANGE"; -$.shortcut("bi.down_list_popup", BI.DownListPopup);/** +BI.shortcut("bi.down_list_popup", BI.DownListPopup);/** * * Created by GUY on 2016/3/28. * @class BI.ExcelTableCell @@ -6049,7 +6049,7 @@ BI.ExcelTableCell = BI.inherit(BI.Widget, { }) } }); -$.shortcut('bi.excel_table_cell', BI.ExcelTableCell);/** +BI.shortcut('bi.excel_table_cell', BI.ExcelTableCell);/** * * Created by GUY on 2016/3/28. * @class BI.ExcelTableHeaderCell @@ -6079,7 +6079,7 @@ BI.ExcelTableHeaderCell = BI.inherit(BI.Widget, { }) } }); -$.shortcut('bi.excel_table_header_cell', BI.ExcelTableHeaderCell);/** +BI.shortcut('bi.excel_table_header_cell', BI.ExcelTableHeaderCell);/** * Excel表格 * * Created by GUY on 2016/3/28. @@ -6285,7 +6285,7 @@ BI.ExcelTable = BI.inherit(BI.Widget, { BI.ExcelTable.superclass.destroy.apply(this, arguments); } }); -$.shortcut('bi.excel_table', BI.ExcelTable);/** +BI.shortcut('bi.excel_table', BI.ExcelTable);/** * 文件管理控件组 * * Created by GUY on 2015/12/11. @@ -6363,7 +6363,7 @@ BI.FileManagerButtonGroup = BI.inherit(BI.Widget, { } }); BI.FileManagerButtonGroup.EVENT_CHANGE = "FileManagerButtonGroup.EVENT_CHANGE"; -$.shortcut("bi.file_manager_button_group", BI.FileManagerButtonGroup);/** +BI.shortcut("bi.file_manager_button_group", BI.FileManagerButtonGroup);/** * 文件管理控件 * * Created by GUY on 2015/12/11. @@ -6477,7 +6477,7 @@ BI.FileManager = BI.inherit(BI.Widget, { } }); BI.FileManager.EVENT_CHANGE = "FileManager.EVENT_CHANGE"; -$.shortcut("bi.file_manager", BI.FileManager);/** +BI.shortcut("bi.file_manager", BI.FileManager);/** * 文件管理控件 * * Created by GUY on 2015/12/11. @@ -6544,7 +6544,7 @@ BI.FileManagerFileItem = BI.inherit(BI.Single, { } }); BI.FileManagerFileItem.EVENT_CHANGE = "FileManagerFileItem.EVENT_CHANGE"; -$.shortcut("bi.file_manager_file_item", BI.FileManagerFileItem);/** +BI.shortcut("bi.file_manager_file_item", BI.FileManagerFileItem);/** * 文件管理控件 * * Created by GUY on 2015/12/11. @@ -6696,7 +6696,7 @@ BI.FileManagerFolderItem = BI.inherit(BI.Single, { } }); BI.FileManagerFolderItem.EVENT_CHANGE = "FileManagerFolderItem.EVENT_CHANGE"; -$.shortcut("bi.file_manager_folder_item", BI.FileManagerFolderItem);/** +BI.shortcut("bi.file_manager_folder_item", BI.FileManagerFolderItem);/** * 文件管理控件列表 * * Created by GUY on 2015/12/11. @@ -6753,7 +6753,7 @@ BI.FileManagerList = BI.inherit(BI.Widget, { } }); BI.FileManagerList.EVENT_CHANGE = "FileManagerList.EVENT_CHANGE"; -$.shortcut("bi.file_manager_list", BI.FileManagerList);/** +BI.shortcut("bi.file_manager_list", BI.FileManagerList);/** * 文件管理导航按钮 * * Created by GUY on 2015/12/11. @@ -6844,7 +6844,7 @@ BI.FileManagerNavButton = BI.inherit(BI.Widget, { } }); BI.FileManagerNavButton.EVENT_CHANGE = "FileManagerNavButton.EVENT_CHANGE"; -$.shortcut("bi.file_manager_nav_button", BI.FileManagerNavButton);/** +BI.shortcut("bi.file_manager_nav_button", BI.FileManagerNavButton);/** * 文件管理导航 * * Created by GUY on 2015/12/11. @@ -6950,7 +6950,7 @@ BI.extend(BI.FileManagerNav, { ROOT_CREATE_BY_ME: "-1" }); BI.FileManagerNav.EVENT_CHANGE = "FileManagerNav.EVENT_CHANGE"; -$.shortcut("bi.file_manager_nav", BI.FileManagerNav);/** +BI.shortcut("bi.file_manager_nav", BI.FileManagerNav);/** * Created by windy on 2017/3/13. * 数值微调器 */ @@ -7044,7 +7044,7 @@ BI.FineTuningNumberEditor = BI.inherit(BI.Widget, { }); BI.FineTuningNumberEditor.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut("bi.fine_tuning_number_editor", BI.FineTuningNumberEditor);/** +BI.shortcut("bi.fine_tuning_number_editor", BI.FineTuningNumberEditor);/** * 交互行为布局 * * @@ -7614,7 +7614,7 @@ BI.InteractiveArrangement = BI.inherit(BI.Widget, { } }); BI.InteractiveArrangement.EVENT_RESIZE = "InteractiveArrangement.EVENT_RESIZE"; -$.shortcut('bi.interactive_arrangement', BI.InteractiveArrangement);/** +BI.shortcut('bi.interactive_arrangement', BI.InteractiveArrangement);/** * 月份下拉框 * * Created by GUY on 2015/8/28. @@ -7692,7 +7692,7 @@ BI.MonthCombo = BI.inherit(BI.Widget, { }); BI.MonthCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut('bi.month_combo', BI.MonthCombo);/** +BI.shortcut('bi.month_combo', BI.MonthCombo);/** * 月份展示面板 * * Created by GUY on 2015/9/2. @@ -7772,7 +7772,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, { } }); BI.MonthPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.month_popup", BI.MonthPopup);/** +BI.shortcut("bi.month_popup", BI.MonthPopup);/** * 月份trigger * * Created by GUY on 2015/8/21. @@ -7882,7 +7882,7 @@ BI.MonthTrigger.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.MonthTrigger.EVENT_START = "EVENT_START"; BI.MonthTrigger.EVENT_STOP = "EVENT_STOP"; BI.MonthTrigger.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.month_trigger", BI.MonthTrigger);/** +BI.shortcut("bi.month_trigger", BI.MonthTrigger);/** * @class BI.MultiLayerSelectTreeCombo * @extends BI.Widget */ @@ -7951,7 +7951,7 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, { } }); BI.MultiLayerSelectTreeCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multilayer_select_tree_combo", BI.MultiLayerSelectTreeCombo);/** +BI.shortcut("bi.multilayer_select_tree_combo", BI.MultiLayerSelectTreeCombo);/** * guy * 二级树 * @class BI.MultiLayerSelectLevelTree @@ -8082,7 +8082,7 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, { }); BI.MultiLayerSelectLevelTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multilayer_select_level_tree", BI.MultiLayerSelectLevelTree);/** +BI.shortcut("bi.multilayer_select_level_tree", BI.MultiLayerSelectLevelTree);/** * Created by GUY on 2016/1/26. * * @class BI.MultiLayerSelectTreePopup @@ -8148,7 +8148,7 @@ BI.MultiLayerSelectTreePopup = BI.inherit(BI.Pane, { }); BI.MultiLayerSelectTreePopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multilayer_select_tree_popup", BI.MultiLayerSelectTreePopup);/** +BI.shortcut("bi.multilayer_select_tree_popup", BI.MultiLayerSelectTreePopup);/** * 加号表示的组节点 * * Created by GUY on 2016/1/27. @@ -8241,7 +8241,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.multilayer_select_tree_first_plus_group_node", BI.MultiLayerSelectTreeFirstPlusGroupNode);/** +BI.shortcut("bi.multilayer_select_tree_first_plus_group_node", BI.MultiLayerSelectTreeFirstPlusGroupNode);/** * 加号表示的组节点 * * Created by GUY on 2016/1/27. @@ -8330,7 +8330,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.multilayer_select_tree_last_plus_group_node", BI.MultiLayerSelectTreeLastPlusGroupNode);/** +BI.shortcut("bi.multilayer_select_tree_last_plus_group_node", BI.MultiLayerSelectTreeLastPlusGroupNode);/** * 加号表示的组节点 * * Created by GUY on 2016/1/27. @@ -8419,7 +8419,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.multilayer_select_tree_mid_plus_group_node", BI.MultiLayerSelectTreeMidPlusGroupNode);/** +BI.shortcut("bi.multilayer_select_tree_mid_plus_group_node", BI.MultiLayerSelectTreeMidPlusGroupNode);/** * 多层级下拉单选树 * Created by GUY on 2016/1/26. * @@ -8493,7 +8493,7 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, { }); BI.MultiLayerSingleTreeCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multilayer_single_tree_combo", BI.MultiLayerSingleTreeCombo);/** +BI.shortcut("bi.multilayer_single_tree_combo", BI.MultiLayerSingleTreeCombo);/** * guy * 二级树 * @class BI.MultiLayerSingleLevelTree @@ -8627,7 +8627,7 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { }); BI.MultiLayerSingleLevelTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multilayer_single_level_tree", BI.MultiLayerSingleLevelTree); +BI.shortcut("bi.multilayer_single_level_tree", BI.MultiLayerSingleLevelTree); /** * Created by GUY on 2016/1/26. * @@ -8694,7 +8694,7 @@ BI.MultiLayerSingleTreePopup = BI.inherit(BI.Pane, { }); BI.MultiLayerSingleTreePopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multilayer_single_tree_popup", BI.MultiLayerSingleTreePopup);/** +BI.shortcut("bi.multilayer_single_tree_popup", BI.MultiLayerSingleTreePopup);/** * 加号表示的组节点 * * Created by GUY on 2016/1/27. @@ -8776,7 +8776,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.multilayer_single_tree_first_plus_group_node", BI.MultiLayerSingleTreeFirstPlusGroupNode);/** +BI.shortcut("bi.multilayer_single_tree_first_plus_group_node", BI.MultiLayerSingleTreeFirstPlusGroupNode);/** * 加号表示的组节点 * * Created by GUY on 2016/1/27. @@ -8858,7 +8858,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.multilayer_single_tree_last_plus_group_node", BI.MultiLayerSingleTreeLastPlusGroupNode);/** +BI.shortcut("bi.multilayer_single_tree_last_plus_group_node", BI.MultiLayerSingleTreeLastPlusGroupNode);/** * 加号表示的组节点 * * Created by GUY on 2016/1/27. @@ -8940,7 +8940,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.multilayer_single_tree_mid_plus_group_node", BI.MultiLayerSingleTreeMidPlusGroupNode);/** +BI.shortcut("bi.multilayer_single_tree_mid_plus_group_node", BI.MultiLayerSingleTreeMidPlusGroupNode);/** * * Created by GUY on 2016/1/27. * @class BI.MultiLayerSingleTreeFirstTreeLeafItem @@ -9035,7 +9035,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.multilayer_single_tree_first_tree_leaf_item", BI.MultiLayerSingleTreeFirstTreeLeafItem);/** +BI.shortcut("bi.multilayer_single_tree_first_tree_leaf_item", BI.MultiLayerSingleTreeFirstTreeLeafItem);/** * * Created by GUY on 2016/1/27. * @class BI.MultiLayerSingleTreeLastTreeLeafItem @@ -9130,7 +9130,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.multilayer_single_tree_last_tree_leaf_item", BI.MultiLayerSingleTreeLastTreeLeafItem);/** +BI.shortcut("bi.multilayer_single_tree_last_tree_leaf_item", BI.MultiLayerSingleTreeLastTreeLeafItem);/** * * Created by GUY on 2016/1/27. * @class BI.MultiLayerSingleTreeMidTreeLeafItem @@ -9225,7 +9225,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.multilayer_single_tree_mid_tree_leaf_item", BI.MultiLayerSingleTreeMidTreeLeafItem);/** +BI.shortcut("bi.multilayer_single_tree_mid_tree_leaf_item", BI.MultiLayerSingleTreeMidTreeLeafItem);/** * * @class BI.MultiSelectCheckPane * @extends BI.Widget @@ -9331,7 +9331,7 @@ BI.MultiSelectCheckPane = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.multi_select_check_pane", BI.MultiSelectCheckPane);/** +BI.shortcut("bi.multi_select_check_pane", BI.MultiSelectCheckPane);/** * * * 查看已选弹出层的展示面板 @@ -9417,7 +9417,7 @@ BI.DisplaySelectedList = BI.inherit(BI.Pane, { } }); -$.shortcut('bi.display_selected_list', BI.DisplaySelectedList);/** +BI.shortcut('bi.display_selected_list', BI.DisplaySelectedList);/** * * @class BI.MultiSelectCombo * @extends BI.Single @@ -9764,7 +9764,7 @@ BI.extend(BI.MultiSelectCombo, { BI.MultiSelectCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut('bi.multi_select_combo', BI.MultiSelectCombo);/** +BI.shortcut('bi.multi_select_combo', BI.MultiSelectCombo);/** * 多选加载数据面板 * Created by guy on 15/11/2. * @class BI.MultiSelectLoader @@ -9935,7 +9935,7 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, { }); BI.MultiSelectLoader.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.multi_select_loader', BI.MultiSelectLoader);/** +BI.shortcut('bi.multi_select_loader', BI.MultiSelectLoader);/** * 带加载的多选下拉面板 * @class BI.MultiSelectPopupView * @extends Widget @@ -10029,7 +10029,7 @@ BI.MultiSelectPopupView.EVENT_CLICK_CONFIRM = "EVENT_CLICK_CONFIRM"; BI.MultiSelectPopupView.EVENT_CLICK_CLEAR = "EVENT_CLICK_CLEAR"; -$.shortcut('bi.multi_select_popup_view', BI.MultiSelectPopupView);/** +BI.shortcut('bi.multi_select_popup_view', BI.MultiSelectPopupView);/** * * 复选下拉框 * @class BI.MultiSelectTrigger @@ -10181,7 +10181,7 @@ BI.MultiSelectTrigger.EVENT_PAUSE = "EVENT_PAUSE"; BI.MultiSelectTrigger.EVENT_SEARCHING = "EVENT_SEARCHING"; BI.MultiSelectTrigger.EVENT_BEFORE_COUNTER_POPUPVIEW = "EVENT_BEFORE_COUNTER_POPUPVIEW"; -$.shortcut('bi.multi_select_trigger', BI.MultiSelectTrigger);/** +BI.shortcut('bi.multi_select_trigger', BI.MultiSelectTrigger);/** * 多选加载数据搜索loader面板 * Created by guy on 15/11/4. * @class BI.MultiSelectSearchLoader @@ -10336,7 +10336,7 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, { }); BI.MultiSelectSearchLoader.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.multi_select_search_loader', BI.MultiSelectSearchLoader);/** +BI.shortcut('bi.multi_select_search_loader', BI.MultiSelectSearchLoader);/** * * 在搜索框中输入文本弹出的面板 * @class BI.MultiSelectSearchPane @@ -10437,7 +10437,7 @@ BI.MultiSelectSearchPane = BI.inherit(BI.Widget, { BI.MultiSelectSearchPane.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multi_select_search_pane", BI.MultiSelectSearchPane);/** +BI.shortcut("bi.multi_select_search_pane", BI.MultiSelectSearchPane);/** * 查看已选按钮 * Created by guy on 15/11/3. * @class BI.MultiSelectCheckSelectedButton @@ -10513,7 +10513,7 @@ BI.MultiSelectCheckSelectedButton = BI.inherit(BI.Single, { }); BI.MultiSelectCheckSelectedButton.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.multi_select_check_selected_button', BI.MultiSelectCheckSelectedButton);/** +BI.shortcut('bi.multi_select_check_selected_button', BI.MultiSelectCheckSelectedButton);/** * 多选输入框 * Created by guy on 15/11/3. * @class BI.MultiSelectEditor @@ -10598,7 +10598,7 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, { } }); BI.MultiSelectEditor.EVENT_PAUSE = "MultiSelectEditor.EVENT_PAUSE"; -$.shortcut('bi.multi_select_editor', BI.MultiSelectEditor);/** +BI.shortcut('bi.multi_select_editor', BI.MultiSelectEditor);/** * searcher * Created by guy on 15/11/3. * @class BI.MultiSelectSearcher @@ -10740,7 +10740,7 @@ BI.MultiSelectSearcher.EVENT_START = "EVENT_START"; BI.MultiSelectSearcher.EVENT_STOP = "EVENT_STOP"; BI.MultiSelectSearcher.EVENT_PAUSE = "EVENT_PAUSE"; BI.MultiSelectSearcher.EVENT_SEARCHING = "EVENT_SEARCHING"; -$.shortcut('bi.multi_select_searcher', BI.MultiSelectSearcher);/** +BI.shortcut('bi.multi_select_searcher', BI.MultiSelectSearcher);/** * 查看已选switcher * Created by guy on 15/11/3. * @class BI.MultiSelectCheckSelectedSwitcher @@ -10833,7 +10833,7 @@ BI.MultiSelectCheckSelectedSwitcher = BI.inherit(BI.Widget, { BI.MultiSelectCheckSelectedSwitcher.EVENT_TRIGGER_CHANGE = "MultiSelectCheckSelectedSwitcher.EVENT_TRIGGER_CHANGE"; BI.MultiSelectCheckSelectedSwitcher.EVENT_BEFORE_POPUPVIEW = "MultiSelectCheckSelectedSwitcher.EVENT_BEFORE_POPUPVIEW"; -$.shortcut('bi.multi_select_check_selected_switcher', BI.MultiSelectCheckSelectedSwitcher);/** +BI.shortcut('bi.multi_select_check_selected_switcher', BI.MultiSelectCheckSelectedSwitcher);/** * Created by zcf on 2016/12/14. */ BI.MultiStringList = BI.inherit(BI.Widget, { @@ -10962,7 +10962,7 @@ BI.MultiStringList = BI.inherit(BI.Widget, { }); BI.createWidget({ type: "bi.vtape", - element: this.element, + element: this, height: "100%", width: "100%", items: [{ @@ -11152,7 +11152,7 @@ BI.extend(BI.MultiStringList, { }); BI.MultiStringList.EVENT_CHANGE = "BI.MultiStringList.EVENT_CHANGE"; -$.shortcut("bi.multi_string_list", BI.MultiStringList);/** +BI.shortcut("bi.multi_string_list", BI.MultiStringList);/** * * @class BI.MultiTreeCheckPane * @extends BI.Pane @@ -11266,7 +11266,7 @@ BI.MultiTreeCheckPane = BI.inherit(BI.Pane, { BI.MultiTreeCheckPane.EVENT_CONTINUE_CLICK = "EVENT_CONTINUE_CLICK"; -$.shortcut("bi.multi_tree_check_pane", BI.MultiTreeCheckPane);/** +BI.shortcut("bi.multi_tree_check_pane", BI.MultiTreeCheckPane);/** * * @class BI.MultiTreeCombo * @extends BI.Single @@ -11517,7 +11517,7 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, { BI.MultiTreeCombo.EVENT_CONFIRM = "MultiTreeCombo.EVENT_CONFIRM"; -$.shortcut('bi.multi_tree_combo', BI.MultiTreeCombo);/** +BI.shortcut('bi.multi_tree_combo', BI.MultiTreeCombo);/** * 带加载的多选下拉面板 * @class BI.MultiTreePopup * @extends BI.Pane @@ -11617,7 +11617,7 @@ BI.MultiTreePopup.EVENT_CLICK_CLEAR = "EVENT_CLICK_CLEAR"; BI.MultiTreePopup.EVENT_AFTERINIT = "EVENT_AFTERINIT"; -$.shortcut('bi.multi_tree_popup_view', BI.MultiTreePopup);/** +BI.shortcut('bi.multi_tree_popup_view', BI.MultiTreePopup);/** * * 在搜索框中输入文本弹出的面板 * @class BI.MultiTreeSearchPane @@ -11685,7 +11685,7 @@ BI.MultiTreeSearchPane.EVENT_CHANGE = "EVENT_CHANGE"; BI.MultiTreeSearchPane.EVENT_CLICK_CONFIRM = "EVENT_CLICK_CONFIRM"; BI.MultiTreeSearchPane.EVENT_CLICK_CLEAR = "EVENT_CLICK_CLEAR"; -$.shortcut("bi.multi_tree_search_pane", BI.MultiTreeSearchPane);/** +BI.shortcut("bi.multi_tree_search_pane", BI.MultiTreeSearchPane);/** * 查看已选按钮 * Created by guy on 15/11/3. * @class BI.MultiTreeCheckSelectedButton @@ -11755,7 +11755,7 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, { }); BI.MultiTreeCheckSelectedButton.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.multi_tree_check_selected_button', BI.MultiTreeCheckSelectedButton);/** +BI.shortcut('bi.multi_tree_check_selected_button', BI.MultiTreeCheckSelectedButton);/** * searcher * Created by guy on 15/11/3. * @class BI.MultiTreeSearcher @@ -11890,7 +11890,7 @@ BI.MultiTreeSearcher.EVENT_CHANGE = "EVENT_CHANGE"; BI.MultiTreeSearcher.EVENT_START = "EVENT_START"; BI.MultiTreeSearcher.EVENT_STOP = "EVENT_STOP"; BI.MultiTreeSearcher.EVENT_PAUSE = "EVENT_PAUSE"; -$.shortcut('bi.multi_tree_searcher', BI.MultiTreeSearcher);/** +BI.shortcut('bi.multi_tree_searcher', BI.MultiTreeSearcher);/** * Created by zcf on 2016/12/20. */ BI.MultiTreeList = BI.inherit(BI.Widget, { @@ -12017,7 +12017,7 @@ BI.MultiTreeList = BI.inherit(BI.Widget, { }); BI.createWidget({ type: "bi.vtape", - element: this.element, + element: this, height: "100%", width: "100%", items: [{ @@ -12067,7 +12067,7 @@ BI.MultiTreeList = BI.inherit(BI.Widget, { } }); BI.MultiTreeList.EVENT_CHANGE = "MultiTreeList.EVENT_CHANGE"; -$.shortcut('bi.multi_tree_list', BI.MultiTreeList);/** +BI.shortcut('bi.multi_tree_list', BI.MultiTreeList);/** * Created by zcf on 2016/12/21. */ BI.MultiStringListPopup=BI.inherit(BI.Widget,{ @@ -12083,7 +12083,7 @@ BI.MultiStringListPopup=BI.inherit(BI.Widget,{ this.popup = BI.createWidget({ type: "bi.sync_tree", height: 400, - element:this.element, + element: this, itemsCreator: o.itemsCreator }); this.popup.on(BI.TreeView.EVENT_AFTERINIT, function () { @@ -12114,7 +12114,7 @@ BI.MultiStringListPopup=BI.inherit(BI.Widget,{ }); BI.MultiStringListPopup.EVENT_AFTER_INIT="BI.MultiStringListPopup.EVENT_AFTER_INIT"; BI.MultiStringListPopup.EVENT_CHANGE="BI.MultiStringListPopup.EVENT_CHANGE"; -$.shortcut("bi.multi_tree_list_popup",BI.MultiStringListPopup);//小于号的值为:0,小于等于号的值为:1 +BI.shortcut("bi.multi_tree_list_popup",BI.MultiStringListPopup);//小于号的值为:0,小于等于号的值为:1 //closeMIn:最小值的符号,closeMax:最大值的符号 /** * Created by roy on 15/9/17. @@ -12648,7 +12648,7 @@ BI.NumericalInterval = BI.inherit(BI.Single, { BI.NumericalInterval.EVENT_CHANGE = "EVENT_CHANGE"; BI.NumericalInterval.EVENT_VALID = "EVENT_VALID"; BI.NumericalInterval.EVENT_ERROR = "EVENT_ERROR"; -$.shortcut("bi.numerical_interval", BI.NumericalInterval);/** +BI.shortcut("bi.numerical_interval", BI.NumericalInterval);/** * * 表格 * @@ -12686,7 +12686,7 @@ BI.PageTableCell = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.page_table_cell", BI.PageTableCell);/** +BI.shortcut("bi.page_table_cell", BI.PageTableCell);/** * 分页表格 * * Created by GUY on 2016/2/15. @@ -12935,7 +12935,7 @@ BI.PageTable = BI.inherit(BI.Widget, { BI.PageTable.superclass.destroy.apply(this, arguments); } }); -$.shortcut('bi.page_table', BI.PageTable);/** +BI.shortcut('bi.page_table', BI.PageTable);/** * 路径选择 * * Created by GUY on 2015/12/4. @@ -13425,7 +13425,7 @@ BI.PathChooser = BI.inherit(BI.Widget, { } }); BI.PathChooser.EVENT_CHANGE = "PathChooser.EVENT_CHANGE"; -$.shortcut("bi.path_chooser", BI.PathChooser);/** +BI.shortcut("bi.path_chooser", BI.PathChooser);/** * 路径选择区域 * * Created by GUY on 2015/12/4. @@ -13539,7 +13539,7 @@ BI.PathRegion = BI.inherit(BI.Widget, { } }); BI.PathRegion.EVENT_CHANGE = "PathRegion.EVENT_CHANGE"; -$.shortcut("bi.path_region", BI.PathRegion);/** +BI.shortcut("bi.path_region", BI.PathRegion);/** * 预览表列 * * Created by GUY on 2015/12/25. @@ -13570,7 +13570,7 @@ BI.PreviewTableCell = BI.inherit(BI.Widget, { }) } }); -$.shortcut('bi.preview_table_cell', BI.PreviewTableCell);/** +BI.shortcut('bi.preview_table_cell', BI.PreviewTableCell);/** * 预览表 * * Created by GUY on 2015/12/25. @@ -13601,7 +13601,7 @@ BI.PreviewTableHeaderCell = BI.inherit(BI.Widget, { }) } }); -$.shortcut('bi.preview_table_header_cell', BI.PreviewTableHeaderCell);/** +BI.shortcut('bi.preview_table_header_cell', BI.PreviewTableHeaderCell);/** * 预览表 * * Created by GUY on 2015/12/25. @@ -13809,7 +13809,7 @@ BI.PreviewTable = BI.inherit(BI.Widget, { } }); BI.PreviewTable.EVENT_CHANGE = "PreviewTable.EVENT_CHANGE"; -$.shortcut('bi.preview_table', BI.PreviewTable);/** +BI.shortcut('bi.preview_table', BI.PreviewTable);/** * 季度下拉框 * * Created by GUY on 2015/8/28. @@ -13890,7 +13890,7 @@ BI.QuarterCombo = BI.inherit(BI.Widget, { }); BI.QuarterCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut('bi.quarter_combo', BI.QuarterCombo);/** +BI.shortcut('bi.quarter_combo', BI.QuarterCombo);/** * 季度展示面板 * * Created by GUY on 2015/9/2. @@ -13960,7 +13960,7 @@ BI.QuarterPopup = BI.inherit(BI.Widget, { } }); BI.QuarterPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.quarter_popup", BI.QuarterPopup);/** +BI.shortcut("bi.quarter_popup", BI.QuarterPopup);/** * 季度trigger * * Created by GUY on 2015/8/21. @@ -14065,7 +14065,7 @@ BI.QuarterTrigger.EVENT_CHANGE = "EVENT_CHANGE"; BI.QuarterTrigger.EVENT_START = "EVENT_START"; BI.QuarterTrigger.EVENT_STOP = "EVENT_STOP"; BI.QuarterTrigger.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut("bi.quarter_trigger", BI.QuarterTrigger);/** +BI.shortcut("bi.quarter_trigger", BI.QuarterTrigger);/** * 关联视图字段Item * * Created by GUY on 2015/12/23. @@ -14123,7 +14123,7 @@ BI.RelationViewItem = BI.inherit(BI.BasicButton, { this.element[b ? "addClass" : "removeClass"]("active"); } }); -$.shortcut('bi.relation_view_item', BI.RelationViewItem);/** +BI.shortcut('bi.relation_view_item', BI.RelationViewItem);/** * 关联视图 * * Created by GUY on 2015/12/22. @@ -14441,7 +14441,7 @@ BI.RelationView = BI.inherit(BI.Widget, { }); BI.RelationView.EVENT_CHANGE = "RelationView.EVENT_CHANGE"; BI.RelationView.EVENT_PREVIEW = "EVENT_PREVIEW"; -$.shortcut('bi.relation_view', BI.RelationView);/** +BI.shortcut('bi.relation_view', BI.RelationView);/** * Created by Young's on 2017/3/10. */ BI.RelationViewRegionContainer = BI.inherit(BI.Widget, { @@ -14534,7 +14534,7 @@ BI.RelationViewRegionContainer = BI.inherit(BI.Widget, { BI.RelationViewRegionContainer.EVENT_HOVER_IN = "RelationViewRegion.EVENT_HOVER_IN"; BI.RelationViewRegionContainer.EVENT_HOVER_OUT = "RelationViewRegion.EVENT_HOVER_OUT"; BI.RelationViewRegionContainer.EVENT_PREVIEW = "RelationViewRegion.EVENT_PREVIEW"; -$.shortcut("bi.relation_view_region_container", BI.RelationViewRegionContainer);/** +BI.shortcut("bi.relation_view_region_container", BI.RelationViewRegionContainer);/** * 关联视图 * * Created by GUY on 2015/12/23. @@ -14690,7 +14690,7 @@ BI.RelationViewRegion = BI.inherit(BI.BasicButton, { BI.RelationViewRegion.EVENT_HOVER_IN = "RelationViewRegion.EVENT_HOVER_IN"; BI.RelationViewRegion.EVENT_HOVER_OUT = "RelationViewRegion.EVENT_HOVER_OUT"; BI.RelationViewRegion.EVENT_PREVIEW = "RelationViewRegion.EVENT_PREVIEW"; -$.shortcut('bi.relation_view_region', BI.RelationViewRegion);/** +BI.shortcut('bi.relation_view_region', BI.RelationViewRegion);/** * 加号表示的组节点 * Created by GUY on 2015/9/6. * @class BI.SelectTreeFirstPlusGroupNode @@ -14774,7 +14774,7 @@ BI.SelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.select_tree_first_plus_group_node", BI.SelectTreeFirstPlusGroupNode);/** +BI.shortcut("bi.select_tree_first_plus_group_node", BI.SelectTreeFirstPlusGroupNode);/** * 加号表示的组节点 * Created by GUY on 2015/9/6. * @class BI.SelectTreeLastPlusGroupNode @@ -14858,7 +14858,7 @@ BI.SelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.select_tree_last_plus_group_node", BI.SelectTreeLastPlusGroupNode);/** +BI.shortcut("bi.select_tree_last_plus_group_node", BI.SelectTreeLastPlusGroupNode);/** * 加号表示的组节点 * Created by GUY on 2015/9/6. * @class BI.SelectTreeMidPlusGroupNode @@ -14942,7 +14942,7 @@ BI.SelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.select_tree_mid_plus_group_node", BI.SelectTreeMidPlusGroupNode);/** +BI.shortcut("bi.select_tree_mid_plus_group_node", BI.SelectTreeMidPlusGroupNode);/** * @class BI.SelectTreeCombo * @extends BI.Widget */ @@ -15009,7 +15009,7 @@ BI.SelectTreeCombo = BI.inherit(BI.Widget, { }); -$.shortcut("bi.select_tree_combo", BI.SelectTreeCombo);/** +BI.shortcut("bi.select_tree_combo", BI.SelectTreeCombo);/** * @class BI.SelectTreeExpander * @extends BI.Widget */ @@ -15081,7 +15081,7 @@ BI.SelectTreeExpander = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.select_tree_expander", BI.SelectTreeExpander);/** +BI.shortcut("bi.select_tree_expander", BI.SelectTreeExpander);/** * @class BI.SelectTreePopup * @extends BI.Pane */ @@ -15177,7 +15177,7 @@ BI.SelectTreePopup = BI.inherit(BI.Pane, { }); BI.SelectTreePopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.select_tree_popup", BI.SelectTreePopup);/** +BI.shortcut("bi.select_tree_popup", BI.SelectTreePopup);/** * * Created by GUY on 2016/8/10. * @class BI.SequenceTableDynamicNumber @@ -15247,7 +15247,7 @@ BI.SequenceTableDynamicNumber = BI.inherit(BI.SequenceTableTreeNumber, { return result; } }); -$.shortcut('bi.sequence_table_dynamic_number', BI.SequenceTableDynamicNumber);/** +BI.shortcut('bi.sequence_table_dynamic_number', BI.SequenceTableDynamicNumber);/** * * Created by GUY on 2016/5/26. * @class BI.SequenceTableListNumber @@ -15452,7 +15452,7 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { this._populate(); } }); -$.shortcut('bi.sequence_table_list_number', BI.SequenceTableListNumber);/** +BI.shortcut('bi.sequence_table_list_number', BI.SequenceTableListNumber);/** * 带有序号的表格 * * Created by GUY on 2016/5/26. @@ -15702,7 +15702,7 @@ BI.SequenceTable = BI.inherit(BI.Widget, { BI.SequenceTable.superclass.destroy.apply(this, arguments); } }); -$.shortcut('bi.sequence_table', BI.SequenceTable);/** +BI.shortcut('bi.sequence_table', BI.SequenceTable);/** * @class BI.SingleTreeCombo * @extends BI.Widget */ @@ -15775,7 +15775,7 @@ BI.SingleTreeCombo = BI.inherit(BI.Widget, { BI.SingleTreeCombo.EVENT_CHANGE = "SingleTreeCombo.EVENT_CHANGE"; BI.SingleTreeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; -$.shortcut("bi.single_tree_combo", BI.SingleTreeCombo);/** +BI.shortcut("bi.single_tree_combo", BI.SingleTreeCombo);/** * @class BI.SingleTreePopup * @extends BI.Pane */ @@ -15837,7 +15837,7 @@ BI.SingleTreePopup = BI.inherit(BI.Pane, { }); BI.SingleTreePopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.single_tree_popup", BI.SingleTreePopup);/** +BI.shortcut("bi.single_tree_popup", BI.SingleTreePopup);/** * @class BI.SingleTreeTrigger * @extends BI.Trigger */ @@ -15895,7 +15895,7 @@ BI.SingleTreeTrigger = BI.inherit(BI.Trigger, { }); -$.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);/** +BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);/** * 可以单选多选切换的树 * * Created by GUY on 2015/12/21. @@ -16005,7 +16005,7 @@ BI.SwitchTree.SelectType = { SingleSelect: BI.Selection.Single, MultiSelect: BI.Selection.Multi }; -$.shortcut('bi.switch_tree', BI.SwitchTree); +BI.shortcut('bi.switch_tree', BI.SwitchTree); /** * web组件 * Created by GameJian on 2016/3/1. @@ -16159,7 +16159,7 @@ BI.WebPage = BI.inherit(BI.Widget, { BI.WebPage.EVENT_DESTROY = "EVENT_DESTROY"; BI.WebPage.EVENT_VALUE_CHANGE = "EVENT_VALUE_CHANGE"; -$.shortcut("bi.web_page", BI.WebPage);/** +BI.shortcut("bi.web_page", BI.WebPage);/** * 年份下拉框 * * Created by GUY on 2015/8/28. @@ -16254,7 +16254,7 @@ BI.YearCombo = BI.inherit(BI.Widget, { } }); BI.YearCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut('bi.year_combo', BI.YearCombo);/** +BI.shortcut('bi.year_combo', BI.YearCombo);/** * 年份展示面板 * * Created by GUY on 2015/9/2. @@ -16356,7 +16356,7 @@ BI.YearPopup = BI.inherit(BI.Widget, { } }); BI.YearPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.year_popup", BI.YearPopup);/** +BI.shortcut("bi.year_popup", BI.YearPopup);/** * 年份trigger * * Created by GUY on 2015/8/21. @@ -16461,7 +16461,7 @@ BI.YearTrigger.EVENT_ERROR = "EVENT_ERROR"; BI.YearTrigger.EVENT_START = "EVENT_START"; BI.YearTrigger.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.YearTrigger.EVENT_STOP = "EVENT_STOP"; -$.shortcut("bi.year_trigger", BI.YearTrigger);/** +BI.shortcut("bi.year_trigger", BI.YearTrigger);/** * 年份 + 月份下拉框 * * @class BI.YearMonthCombo @@ -16517,7 +16517,7 @@ BI.YearMonthCombo = BI.inherit(BI.Widget, { } }); BI.YearMonthCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut('bi.year_month_combo', BI.YearMonthCombo);/** +BI.shortcut('bi.year_month_combo', BI.YearMonthCombo);/** * 年份 + 月份下拉框 * * @class BI.YearQuarterCombo @@ -16573,7 +16573,7 @@ BI.YearQuarterCombo = BI.inherit(BI.Widget, { } }); BI.YearQuarterCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut('bi.year_quarter_combo', BI.YearQuarterCombo);/** +BI.shortcut('bi.year_quarter_combo', BI.YearQuarterCombo);/** * 简单的复选下拉框控件, 适用于数据量少的情况 * 封装了字段处理逻辑 * @@ -16605,7 +16605,7 @@ BI.AllValueChooserCombo = BI.inherit(BI.Widget, { } this.combo = BI.createWidget({ type: 'bi.multi_select_combo', - element: this.element, + element: this, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: function (v) { var text = v; @@ -16690,7 +16690,7 @@ BI.AllValueChooserCombo = BI.inherit(BI.Widget, { } }); BI.AllValueChooserCombo.EVENT_CONFIRM = "AllValueChooserCombo.EVENT_CONFIRM"; -$.shortcut('bi.all_value_chooser_combo', BI.AllValueChooserCombo);/** +BI.shortcut('bi.all_value_chooser_combo', BI.AllValueChooserCombo);/** * 简单的复选下拉树控件, 适用于数据量少的情况 * * Created by GUY on 2015/10/29. @@ -16721,7 +16721,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { } this.combo = BI.createWidget({ type: 'bi.multi_tree_combo', - element: this.element, + element: this, itemsCreator: BI.bind(this._itemsCreator, this), width: o.width, height: o.height @@ -17288,7 +17288,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { } }); BI.TreeValueChooserCombo.EVENT_CONFIRM = "TreeValueChooserCombo.EVENT_CONFIRM"; -$.shortcut('bi.tree_value_chooser_combo', BI.TreeValueChooserCombo);/** +BI.shortcut('bi.tree_value_chooser_combo', BI.TreeValueChooserCombo);/** * 简单的复选下拉框控件, 适用于数据量少的情况 * 封装了字段处理逻辑 * @@ -17320,7 +17320,7 @@ BI.ValueChooserCombo = BI.inherit(BI.Widget, { } this.combo = BI.createWidget({ type: 'bi.multi_select_combo', - element: this.element, + element: this, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: function (v) { var text = v; @@ -17414,4 +17414,4 @@ BI.ValueChooserCombo = BI.inherit(BI.Widget, { } }); BI.ValueChooserCombo.EVENT_CONFIRM = "ValueChooserCombo.EVENT_CONFIRM"; -$.shortcut('bi.value_chooser_combo', BI.ValueChooserCombo); \ No newline at end of file +BI.shortcut('bi.value_chooser_combo', BI.ValueChooserCombo); \ No newline at end of file diff --git a/src/base/canvas/canvas.js b/src/base/canvas/canvas.js index 8de92e0cd..3629a39ca 100644 --- a/src/base/canvas/canvas.js +++ b/src/base/canvas/canvas.js @@ -129,4 +129,4 @@ BI.Canvas = BI.inherit(BI.Widget, { }); } }); -$.shortcut("bi.canvas", BI.Canvas); \ No newline at end of file +BI.shortcut("bi.canvas", BI.Canvas); \ No newline at end of file diff --git a/src/base/collection/collection.js b/src/base/collection/collection.js index a09f98796..62481e0f0 100644 --- a/src/base/collection/collection.js +++ b/src/base/collection/collection.js @@ -289,4 +289,4 @@ BI.Collection = BI.inherit(BI.Widget, { } }); BI.Collection.EVENT_SCROLL = "EVENT_SCROLL"; -$.shortcut('bi.collection_view', BI.Collection); \ No newline at end of file +BI.shortcut('bi.collection_view', BI.Collection); \ No newline at end of file diff --git a/src/base/combination/combo.js b/src/base/combination/combo.js index 6f0a84bb0..b84f8a998 100644 --- a/src/base/combination/combo.js +++ b/src/base/combination/combo.js @@ -396,4 +396,4 @@ BI.Combo.EVENT_AFTER_POPUPVIEW = "EVENT_AFTER_POPUPVIEW"; BI.Combo.EVENT_BEFORE_HIDEVIEW = "EVENT_BEFORE_HIDEVIEW"; BI.Combo.EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; -$.shortcut("bi.combo", BI.Combo); \ No newline at end of file +BI.shortcut("bi.combo", BI.Combo); \ No newline at end of file diff --git a/src/base/combination/expander.js b/src/base/combination/expander.js index a71b09d66..34a7fa7fe 100644 --- a/src/base/combination/expander.js +++ b/src/base/combination/expander.js @@ -275,4 +275,4 @@ BI.Expander.EVENT_AFTER_POPUPVIEW = "EVENT_AFTER_POPUPVIEW"; BI.Expander.EVENT_BEFORE_HIDEVIEW = "EVENT_BEFORE_HIDEVIEW"; BI.Expander.EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; -$.shortcut("bi.expander", BI.Expander); \ No newline at end of file +BI.shortcut("bi.expander", BI.Expander); \ No newline at end of file diff --git a/src/base/combination/group.button.js b/src/base/combination/group.button.js index 06fbcf11d..2ccc1fe1d 100644 --- a/src/base/combination/group.button.js +++ b/src/base/combination/group.button.js @@ -316,4 +316,4 @@ BI.extend(BI.ButtonGroup, { }); BI.ButtonGroup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.button_group", BI.ButtonGroup); \ No newline at end of file +BI.shortcut("bi.button_group", BI.ButtonGroup); \ No newline at end of file diff --git a/src/base/combination/group.combo.js b/src/base/combination/group.combo.js index b5df41d26..89fce40c1 100644 --- a/src/base/combination/group.combo.js +++ b/src/base/combination/group.combo.js @@ -98,4 +98,4 @@ BI.ComboGroup = BI.inherit(BI.Widget, { }); BI.ComboGroup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.combo_group", BI.ComboGroup); \ No newline at end of file +BI.shortcut("bi.combo_group", BI.ComboGroup); \ No newline at end of file diff --git a/src/base/combination/group.virtual.js b/src/base/combination/group.virtual.js index 39448f5dd..2a959d710 100644 --- a/src/base/combination/group.virtual.js +++ b/src/base/combination/group.virtual.js @@ -69,4 +69,4 @@ BI.VirtualGroup = BI.inherit(BI.Widget, { }); BI.VirtualGroup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.virtual_group", BI.VirtualGroup); \ No newline at end of file +BI.shortcut("bi.virtual_group", BI.VirtualGroup); \ No newline at end of file diff --git a/src/base/combination/loader.js b/src/base/combination/loader.js index 434a90f2a..50ecdc3ff 100644 --- a/src/base/combination/loader.js +++ b/src/base/combination/loader.js @@ -259,4 +259,4 @@ BI.Loader = BI.inherit(BI.Widget, { } }); BI.Loader.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.loader", BI.Loader); \ No newline at end of file +BI.shortcut("bi.loader", BI.Loader); \ No newline at end of file diff --git a/src/base/combination/navigation.js b/src/base/combination/navigation.js index 524821ce3..272c95c12 100644 --- a/src/base/combination/navigation.js +++ b/src/base/combination/navigation.js @@ -135,4 +135,4 @@ BI.Navigation = BI.inherit(BI.Widget, { }); BI.Navigation.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.navigation", BI.Navigation); \ No newline at end of file +BI.shortcut("bi.navigation", BI.Navigation); \ No newline at end of file diff --git a/src/base/combination/searcher.js b/src/base/combination/searcher.js index 0fa8eec11..87d87e299 100644 --- a/src/base/combination/searcher.js +++ b/src/base/combination/searcher.js @@ -300,4 +300,4 @@ BI.Searcher.EVENT_PAUSE = "EVENT_PAUSE"; BI.Searcher.EVENT_SEARCHING = "EVENT_SEARCHING"; BI.Searcher.EVENT_AFTER_INIT = "EVENT_AFTER_INIT"; -$.shortcut("bi.searcher", BI.Searcher); \ No newline at end of file +BI.shortcut("bi.searcher", BI.Searcher); \ No newline at end of file diff --git a/src/base/combination/switcher.js b/src/base/combination/switcher.js index d7468578f..25e28cd5d 100644 --- a/src/base/combination/switcher.js +++ b/src/base/combination/switcher.js @@ -274,4 +274,4 @@ BI.Switcher.EVENT_AFTER_POPUPVIEW = "EVENT_AFTER_POPUPVIEW"; BI.Switcher.EVENT_BEFORE_HIDEVIEW = "EVENT_BEFORE_HIDEVIEW"; BI.Switcher.EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; -$.shortcut("bi.switcher", BI.Switcher); \ No newline at end of file +BI.shortcut("bi.switcher", BI.Switcher); \ No newline at end of file diff --git a/src/base/combination/tab.js b/src/base/combination/tab.js index 196ea7f46..87dd4d128 100644 --- a/src/base/combination/tab.js +++ b/src/base/combination/tab.js @@ -124,4 +124,4 @@ BI.Tab = BI.inherit(BI.Widget, { }); BI.Tab.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.tab", BI.Tab); \ No newline at end of file +BI.shortcut("bi.tab", BI.Tab); \ No newline at end of file diff --git a/src/base/combination/tree.button.js b/src/base/combination/tree.button.js index b4822e087..4eb615971 100644 --- a/src/base/combination/tree.button.js +++ b/src/base/combination/tree.button.js @@ -179,4 +179,4 @@ BI.ButtonTree = BI.inherit(BI.ButtonGroup, { }); BI.ButtonTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.button_tree", BI.ButtonTree); \ No newline at end of file +BI.shortcut("bi.button_tree", BI.ButtonTree); \ No newline at end of file diff --git a/src/base/el.js b/src/base/el.js index 480e91e24..bf4b442f6 100644 --- a/src/base/el.js +++ b/src/base/el.js @@ -39,4 +39,4 @@ BI.EL = BI.inherit(BI.Widget, { this.ele.populate.apply(this, arguments); } }); -$.shortcut('bi.el', BI.EL); \ No newline at end of file +BI.shortcut('bi.el', BI.EL); \ No newline at end of file diff --git a/src/base/formula/formulaeditor.js b/src/base/formula/formulaeditor.js index 2633fadc5..fa3c7de1c 100644 --- a/src/base/formula/formulaeditor.js +++ b/src/base/formula/formulaeditor.js @@ -229,4 +229,4 @@ BI.FormulaEditor = BI.inherit(BI.Single, { BI.FormulaEditor.EVENT_CHANGE = "EVENT_CHANGE"; BI.FormulaEditor.EVENT_BLUR = "EVENT_BLUR"; BI.FormulaEditor.EVENT_FOCUS = "EVENT_FOCUS"; -$.shortcut("bi.formula_editor", BI.FormulaEditor); +BI.shortcut("bi.formula_editor", BI.FormulaEditor); diff --git a/src/base/grid/grid.js b/src/base/grid/grid.js index 461dabe73..21c96a0a5 100644 --- a/src/base/grid/grid.js +++ b/src/base/grid/grid.js @@ -291,4 +291,4 @@ BI.Grid = BI.inherit(BI.Widget, { } }); BI.Grid.EVENT_SCROLL = "EVENT_SCROLL"; -$.shortcut('bi.grid_view', BI.Grid); \ No newline at end of file +BI.shortcut('bi.grid_view', BI.Grid); \ No newline at end of file diff --git a/src/base/layer/layer.floatbox.js b/src/base/layer/layer.floatbox.js index ee321cafb..fe42543a7 100644 --- a/src/base/layer/layer.floatbox.js +++ b/src/base/layer/layer.floatbox.js @@ -139,7 +139,7 @@ BI.FloatBox = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.float_box", BI.FloatBox); +BI.shortcut("bi.float_box", BI.FloatBox); BI.FloatBox.EVENT_FLOAT_BOX_CLOSED = "EVENT_FLOAT_BOX_CLOSED"; BI.FloatBox.EVENT_FLOAT_BOX_OPEN = "EVENT_FLOAT_BOX_CLOSED"; diff --git a/src/base/layer/layer.popup.js b/src/base/layer/layer.popup.js index fa7683a75..9589237e4 100644 --- a/src/base/layer/layer.popup.js +++ b/src/base/layer/layer.popup.js @@ -178,4 +178,4 @@ BI.PopupView = BI.inherit(BI.Widget, { } }); BI.PopupView.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.popup_view", BI.PopupView); \ No newline at end of file +BI.shortcut("bi.popup_view", BI.PopupView); \ No newline at end of file diff --git a/src/base/layer/layer.searcher.js b/src/base/layer/layer.searcher.js index 3caa71a21..97392035b 100644 --- a/src/base/layer/layer.searcher.js +++ b/src/base/layer/layer.searcher.js @@ -136,4 +136,4 @@ BI.SearcherView = BI.inherit(BI.Pane, { }); BI.SearcherView.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.searcher_view", BI.SearcherView); \ No newline at end of file +BI.shortcut("bi.searcher_view", BI.SearcherView); \ No newline at end of file diff --git a/src/base/pager/pager.js b/src/base/pager/pager.js index 6dcf6ca02..1f8349ac8 100644 --- a/src/base/pager/pager.js +++ b/src/base/pager/pager.js @@ -285,4 +285,4 @@ BI.Pager = BI.inherit(BI.Widget, { }); BI.Pager.EVENT_CHANGE = "EVENT_CHANGE"; BI.Pager.EVENT_AFTER_POPULATE = "EVENT_AFTER_POPULATE"; -$.shortcut("bi.pager", BI.Pager); \ No newline at end of file +BI.shortcut("bi.pager", BI.Pager); \ No newline at end of file diff --git a/src/base/single/a/a.js b/src/base/single/a/a.js index 4f804c30f..d721337e1 100644 --- a/src/base/single/a/a.js +++ b/src/base/single/a/a.js @@ -29,4 +29,4 @@ BI.A = BI.inherit(BI.Text, { } }); -$.shortcut("bi.a", BI.A); \ No newline at end of file +BI.shortcut("bi.a", BI.A); \ No newline at end of file diff --git a/src/base/single/bar/bar.loading.js b/src/base/single/bar/bar.loading.js index ae88b834e..7f7d90f6d 100644 --- a/src/base/single/bar/bar.loading.js +++ b/src/base/single/bar/bar.loading.js @@ -81,4 +81,4 @@ BI.LoadingBar = BI.inherit(BI.Single, { } }); -$.shortcut("bi.loading_bar", BI.LoadingBar); \ No newline at end of file +BI.shortcut("bi.loading_bar", BI.LoadingBar); \ No newline at end of file diff --git a/src/base/single/button/buttons/button.icon.js b/src/base/single/button/buttons/button.icon.js index 4ec092e62..1793df636 100644 --- a/src/base/single/button/buttons/button.icon.js +++ b/src/base/single/button/buttons/button.icon.js @@ -48,4 +48,4 @@ BI.IconButton = BI.inherit(BI.BasicButton, { } }); BI.IconButton.EVENT_CHANGE = "IconButton.EVENT_CHANGE"; -$.shortcut("bi.icon_button", BI.IconButton); \ No newline at end of file +BI.shortcut("bi.icon_button", BI.IconButton); \ No newline at end of file diff --git a/src/base/single/button/buttons/button.image.js b/src/base/single/button/buttons/button.image.js index 40fe14a96..5e6467fe8 100644 --- a/src/base/single/button/buttons/button.image.js +++ b/src/base/single/button/buttons/button.image.js @@ -84,4 +84,4 @@ BI.ImageButton = BI.inherit(BI.BasicButton, { } }); BI.ImageButton.EVENT_CHANGE = "ImageButton.EVENT_CHANGE"; -$.shortcut("bi.image_button", BI.ImageButton); \ No newline at end of file +BI.shortcut("bi.image_button", BI.ImageButton); \ No newline at end of file diff --git a/src/base/single/button/buttons/button.js b/src/base/single/button/buttons/button.js index 944a851e1..9d84d1c81 100644 --- a/src/base/single/button/buttons/button.js +++ b/src/base/single/button/buttons/button.js @@ -135,6 +135,6 @@ BI.Button.superclass.destroy.apply(this, arguments); } }); - $.shortcut('bi.button', BI.Button); + BI.shortcut('bi.button', BI.Button); BI.Button.EVENT_CHANGE = "EVENT_CHANGE"; })(jQuery); \ No newline at end of file diff --git a/src/base/single/button/buttons/button.text.js b/src/base/single/button/buttons/button.text.js index ab6e1aa11..0b121fd87 100644 --- a/src/base/single/button/buttons/button.text.js +++ b/src/base/single/button/buttons/button.text.js @@ -87,4 +87,4 @@ BI.TextButton = BI.inherit(BI.BasicButton, { } }); BI.TextButton.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_button", BI.TextButton); \ No newline at end of file +BI.shortcut("bi.text_button", BI.TextButton); \ No newline at end of file diff --git a/src/base/single/button/listitem/blankiconicontextitem.js b/src/base/single/button/listitem/blankiconicontextitem.js index f7d37f44a..e3886891f 100644 --- a/src/base/single/button/listitem/blankiconicontextitem.js +++ b/src/base/single/button/listitem/blankiconicontextitem.js @@ -116,4 +116,4 @@ BI.BlankIconIconTextItem = BI.inherit(BI.BasicButton, { } }); BI.BlankIconIconTextItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.blank_icon_icon_text_item", BI.BlankIconIconTextItem); \ No newline at end of file +BI.shortcut("bi.blank_icon_icon_text_item", BI.BlankIconIconTextItem); \ No newline at end of file diff --git a/src/base/single/button/listitem/blankicontexticonitem.js b/src/base/single/button/listitem/blankicontexticonitem.js index e28e53447..ff0712059 100644 --- a/src/base/single/button/listitem/blankicontexticonitem.js +++ b/src/base/single/button/listitem/blankicontexticonitem.js @@ -134,4 +134,4 @@ BI.BlankIconTextIconItem = BI.inherit(BI.BasicButton, { } }); BI.BlankIconTextIconItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.blank_icon_text_icon_item", BI.BlankIconTextIconItem); \ No newline at end of file +BI.shortcut("bi.blank_icon_text_icon_item", BI.BlankIconTextIconItem); \ No newline at end of file diff --git a/src/base/single/button/listitem/blankicontextitem.js b/src/base/single/button/listitem/blankicontextitem.js index 8b19b8697..a7766a7dd 100644 --- a/src/base/single/button/listitem/blankicontextitem.js +++ b/src/base/single/button/listitem/blankicontextitem.js @@ -108,4 +108,4 @@ BI.BlankIconTextItem = BI.inherit(BI.BasicButton, { } }); BI.BlankIconTextItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.blank_icon_text_item", BI.BlankIconTextItem); \ No newline at end of file +BI.shortcut("bi.blank_icon_text_item", BI.BlankIconTextItem); \ No newline at end of file diff --git a/src/base/single/button/listitem/icontexticonitem.js b/src/base/single/button/listitem/icontexticonitem.js index b9288498a..a423060ba 100644 --- a/src/base/single/button/listitem/icontexticonitem.js +++ b/src/base/single/button/listitem/icontexticonitem.js @@ -131,4 +131,4 @@ BI.IconTextIconItem = BI.inherit(BI.BasicButton, { } }); BI.IconTextIconItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_text_icon_item", BI.IconTextIconItem); \ No newline at end of file +BI.shortcut("bi.icon_text_icon_item", BI.IconTextIconItem); \ No newline at end of file diff --git a/src/base/single/button/listitem/icontextitem.js b/src/base/single/button/listitem/icontextitem.js index cff5af38b..84cc190ca 100644 --- a/src/base/single/button/listitem/icontextitem.js +++ b/src/base/single/button/listitem/icontextitem.js @@ -103,4 +103,4 @@ BI.IconTextItem = BI.inherit(BI.BasicButton, { } }); BI.IconTextItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_text_item", BI.IconTextItem); \ No newline at end of file +BI.shortcut("bi.icon_text_item", BI.IconTextItem); \ No newline at end of file diff --git a/src/base/single/button/listitem/texticonitem.js b/src/base/single/button/listitem/texticonitem.js index 492d8371e..13425a5f4 100644 --- a/src/base/single/button/listitem/texticonitem.js +++ b/src/base/single/button/listitem/texticonitem.js @@ -104,4 +104,4 @@ BI.TextIconItem = BI.inherit(BI.BasicButton, { } }); BI.TextIconItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_icon_item", BI.TextIconItem); \ No newline at end of file +BI.shortcut("bi.text_icon_item", BI.TextIconItem); \ No newline at end of file diff --git a/src/base/single/button/listitem/textitem.js b/src/base/single/button/listitem/textitem.js index ee4d46f24..d3599f770 100644 --- a/src/base/single/button/listitem/textitem.js +++ b/src/base/single/button/listitem/textitem.js @@ -83,4 +83,4 @@ BI.TextItem = BI.inherit(BI.BasicButton, { } }); BI.TextItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_item", BI.TextItem); \ No newline at end of file +BI.shortcut("bi.text_item", BI.TextItem); \ No newline at end of file diff --git a/src/base/single/button/node/icontexticonnode.js b/src/base/single/button/node/icontexticonnode.js index a7b1b4586..864dbdd53 100644 --- a/src/base/single/button/node/icontexticonnode.js +++ b/src/base/single/button/node/icontexticonnode.js @@ -121,4 +121,4 @@ BI.IconTextIconNode = BI.inherit(BI.NodeButton, { } }); BI.IconTextIconNode.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_text_icon_node", BI.IconTextIconNode); \ No newline at end of file +BI.shortcut("bi.icon_text_icon_node", BI.IconTextIconNode); \ No newline at end of file diff --git a/src/base/single/button/node/icontextnode.js b/src/base/single/button/node/icontextnode.js index 809b34496..491cbb3e7 100644 --- a/src/base/single/button/node/icontextnode.js +++ b/src/base/single/button/node/icontextnode.js @@ -94,4 +94,4 @@ BI.IconTextNode = BI.inherit(BI.NodeButton, { } }); BI.IconTextNode.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_text_node", BI.IconTextNode); \ No newline at end of file +BI.shortcut("bi.icon_text_node", BI.IconTextNode); \ No newline at end of file diff --git a/src/base/single/button/node/texticonnode.js b/src/base/single/button/node/texticonnode.js index 42292e736..fc12007de 100644 --- a/src/base/single/button/node/texticonnode.js +++ b/src/base/single/button/node/texticonnode.js @@ -93,4 +93,4 @@ BI.TextIconNode = BI.inherit(BI.NodeButton, { } }); BI.TextIconNode.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_icon_node", BI.TextIconNode); \ No newline at end of file +BI.shortcut("bi.text_icon_node", BI.TextIconNode); \ No newline at end of file diff --git a/src/base/single/button/node/textnode.js b/src/base/single/button/node/textnode.js index 4a774904a..d0fcc5c48 100644 --- a/src/base/single/button/node/textnode.js +++ b/src/base/single/button/node/textnode.js @@ -74,4 +74,4 @@ BI.TextNode = BI.inherit(BI.NodeButton, { } }); BI.TextNode.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_node", BI.TextNode); \ No newline at end of file +BI.shortcut("bi.text_node", BI.TextNode); \ No newline at end of file diff --git a/src/base/single/editor/editor.code.js b/src/base/single/editor/editor.code.js index 03b55707c..e8beba8c8 100644 --- a/src/base/single/editor/editor.code.js +++ b/src/base/single/editor/editor.code.js @@ -143,4 +143,4 @@ BI.CodeEditor = BI.inherit(BI.Single, { BI.CodeEditor.EVENT_CHANGE = "EVENT_CHANGE"; BI.CodeEditor.EVENT_BLUR = "EVENT_BLUR"; BI.CodeEditor.EVENT_FOCUS = "EVENT_FOCUS"; -$.shortcut("bi.code_editor", BI.CodeEditor); \ No newline at end of file +BI.shortcut("bi.code_editor", BI.CodeEditor); \ No newline at end of file diff --git a/src/base/single/editor/editor.js b/src/base/single/editor/editor.js index 70df8c808..12f7fbf5a 100644 --- a/src/base/single/editor/editor.js +++ b/src/base/single/editor/editor.js @@ -329,4 +329,4 @@ BI.Editor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.Editor.EVENT_REMOVE = "EVENT_REMOVE"; BI.Editor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.editor", BI.Editor); \ No newline at end of file +BI.shortcut("bi.editor", BI.Editor); \ No newline at end of file diff --git a/src/base/single/editor/editor.multifile.js b/src/base/single/editor/editor.multifile.js index b60d0b88c..b2823a2f1 100644 --- a/src/base/single/editor/editor.multifile.js +++ b/src/base/single/editor/editor.multifile.js @@ -91,4 +91,4 @@ BI.MultifileEditor.EVENT_UPLOADSTART = "MultifileEditor.EVENT_UPLOADSTART"; BI.MultifileEditor.EVENT_ERROR = "MultifileEditor.EVENT_ERROR"; BI.MultifileEditor.EVENT_PROGRESS = "MultifileEditor.EVENT_PROGRESS"; BI.MultifileEditor.EVENT_UPLOADED = "MultifileEditor.EVENT_UPLOADED"; -$.shortcut("bi.multifile_editor", BI.MultifileEditor); \ No newline at end of file +BI.shortcut("bi.multifile_editor", BI.MultifileEditor); \ No newline at end of file diff --git a/src/base/single/editor/editor.textarea.js b/src/base/single/editor/editor.textarea.js index b4045ae90..23fb87664 100644 --- a/src/base/single/editor/editor.textarea.js +++ b/src/base/single/editor/editor.textarea.js @@ -163,4 +163,4 @@ BI.TextAreaEditor = BI.inherit(BI.Single, { BI.TextAreaEditor.EVENT_CHANGE = "EVENT_CHANGE"; BI.TextAreaEditor.EVENT_BLUR = "EVENT_BLUR"; BI.TextAreaEditor.EVENT_FOCUS = "EVENT_FOCUS"; -$.shortcut("bi.textarea_editor", BI.TextAreaEditor); \ No newline at end of file +BI.shortcut("bi.textarea_editor", BI.TextAreaEditor); \ No newline at end of file diff --git a/src/base/single/icon/icon.js b/src/base/single/icon/icon.js index ff6b1ef80..58810343c 100644 --- a/src/base/single/icon/icon.js +++ b/src/base/single/icon/icon.js @@ -15,4 +15,4 @@ BI.Icon = BI.inherit(BI.Single, { BI.Icon.superclass._init.apply(this, arguments); } }); -$.shortcut("bi.icon", BI.Icon); \ No newline at end of file +BI.shortcut("bi.icon", BI.Icon); \ No newline at end of file diff --git a/src/base/single/iframe/iframe.js b/src/base/single/iframe/iframe.js index 811a35cbf..77230d4a3 100644 --- a/src/base/single/iframe/iframe.js +++ b/src/base/single/iframe/iframe.js @@ -39,4 +39,4 @@ BI.Iframe = BI.inherit(BI.Single, { } }); -$.shortcut("bi.iframe", BI.Iframe); \ No newline at end of file +BI.shortcut("bi.iframe", BI.Iframe); \ No newline at end of file diff --git a/src/base/single/img/img.js b/src/base/single/img/img.js index 9a037ac07..3cf9aee79 100644 --- a/src/base/single/img/img.js +++ b/src/base/single/img/img.js @@ -33,4 +33,4 @@ BI.Img = BI.inherit(BI.Single, { } }); -$.shortcut("bi.img", BI.Img); +BI.shortcut("bi.img", BI.Img); diff --git a/src/base/single/input/checkbox.js b/src/base/single/input/checkbox.js index 92b295d67..859340504 100644 --- a/src/base/single/input/checkbox.js +++ b/src/base/single/input/checkbox.js @@ -30,4 +30,4 @@ BI.Checkbox = BI.inherit(BI.IconButton, { }); BI.Checkbox.EVENT_CHANGE = "Checkbox.EVENT_CHANGE"; -$.shortcut("bi.checkbox", BI.Checkbox); \ No newline at end of file +BI.shortcut("bi.checkbox", BI.Checkbox); \ No newline at end of file diff --git a/src/base/single/input/file.js b/src/base/single/input/file.js index d1faf94d0..ea592bb9d 100644 --- a/src/base/single/input/file.js +++ b/src/base/single/input/file.js @@ -615,5 +615,5 @@ BI.File.EVENT_ERROR = "EVENT_ERROR"; BI.File.EVENT_PROGRESS = "EVENT_PROGRESS"; BI.File.EVENT_UPLOADED = "EVENT_UPLOADED"; - $.shortcut("bi.file", BI.File); + BI.shortcut("bi.file", BI.File); })(); \ No newline at end of file diff --git a/src/base/single/input/input.js b/src/base/single/input/input.js index eb8cd2756..af92d1ca4 100644 --- a/src/base/single/input/input.js +++ b/src/base/single/input/input.js @@ -281,4 +281,4 @@ BI.Input.EVENT_VALID = "EVENT_VALID"; BI.Input.EVENT_ERROR = "EVENT_ERROR"; BI.Input.EVENT_ENTER = "EVENT_ENTER"; BI.Input.EVENT_RESTRICT = "EVENT_RESTRICT"; -$.shortcut("bi.input", BI.Input); \ No newline at end of file +BI.shortcut("bi.input", BI.Input); \ No newline at end of file diff --git a/src/base/single/input/radio.js b/src/base/single/input/radio.js index 5b95e0ca9..dcd26722c 100644 --- a/src/base/single/input/radio.js +++ b/src/base/single/input/radio.js @@ -30,4 +30,4 @@ BI.Radio = BI.inherit(BI.IconButton, { }); BI.Radio.EVENT_CHANGE = "Radio.EVENT_CHANGE"; -$.shortcut("bi.radio", BI.Radio); \ No newline at end of file +BI.shortcut("bi.radio", BI.Radio); \ No newline at end of file diff --git a/src/base/single/label/label.js b/src/base/single/label/label.js index ab4fc8bf1..458ac5a11 100644 --- a/src/base/single/label/label.js +++ b/src/base/single/label/label.js @@ -468,4 +468,4 @@ BI.Label = BI.inherit(BI.Single, { } }); -$.shortcut("bi.label", BI.Label); \ No newline at end of file +BI.shortcut("bi.label", BI.Label); \ No newline at end of file diff --git a/src/base/single/link/link.js b/src/base/single/link/link.js index f2d00722a..ca6895d43 100644 --- a/src/base/single/link/link.js +++ b/src/base/single/link/link.js @@ -34,4 +34,4 @@ BI.Link = BI.inherit(BI.Label, { } }); -$.shortcut("bi.link", BI.Link); \ No newline at end of file +BI.shortcut("bi.link", BI.Link); \ No newline at end of file diff --git a/src/base/single/text.js b/src/base/single/text.js index b4bcdfd48..8ac371d77 100644 --- a/src/base/single/text.js +++ b/src/base/single/text.js @@ -110,4 +110,4 @@ BI.Text = BI.inherit(BI.Single, { } }); -$.shortcut("bi.text", BI.Text); \ No newline at end of file +BI.shortcut("bi.text", BI.Text); \ No newline at end of file diff --git a/src/base/single/tip/tip.bubble.js b/src/base/single/tip/tip.bubble.js index 50987489a..715d60231 100644 --- a/src/base/single/tip/tip.bubble.js +++ b/src/base/single/tip/tip.bubble.js @@ -104,4 +104,4 @@ BI.Bubble = BI.inherit(BI.Tip, { } }); -$.shortcut("bi.bubble", BI.Bubble); \ No newline at end of file +BI.shortcut("bi.bubble", BI.Bubble); \ No newline at end of file diff --git a/src/base/single/tip/tip.toast.js b/src/base/single/tip/tip.toast.js index 727f892dd..1a0c45f00 100644 --- a/src/base/single/tip/tip.toast.js +++ b/src/base/single/tip/tip.toast.js @@ -51,4 +51,4 @@ BI.Toast = BI.inherit(BI.Tip, { } }); -$.shortcut("bi.toast", BI.Toast); \ No newline at end of file +BI.shortcut("bi.toast", BI.Toast); \ No newline at end of file diff --git a/src/base/single/tip/tip.tooltip.js b/src/base/single/tip/tip.tooltip.js index f0b43d114..8d947f6c2 100644 --- a/src/base/single/tip/tip.tooltip.js +++ b/src/base/single/tip/tip.tooltip.js @@ -80,4 +80,4 @@ BI.Tooltip = BI.inherit(BI.Tip, { } }); -$.shortcut("bi.tooltip", BI.Tooltip); \ No newline at end of file +BI.shortcut("bi.tooltip", BI.Tooltip); \ No newline at end of file diff --git a/src/base/svg/svg.js b/src/base/svg/svg.js index 83b0e769a..dd5a1fee2 100644 --- a/src/base/svg/svg.js +++ b/src/base/svg/svg.js @@ -104,4 +104,4 @@ BI.Svg = BI.inherit(BI.Widget, { return this.paper.clear.apply(this.paper, arguments); } }); -$.shortcut("bi.svg", BI.Svg); \ No newline at end of file +BI.shortcut("bi.svg", BI.Svg); \ No newline at end of file diff --git a/src/base/table/table.cell.js b/src/base/table/table.cell.js index 066ed0c4c..fa2ac3564 100644 --- a/src/base/table/table.cell.js +++ b/src/base/table/table.cell.js @@ -30,4 +30,4 @@ BI.TableCell = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.table_cell", BI.TableCell); \ No newline at end of file +BI.shortcut("bi.table_cell", BI.TableCell); \ No newline at end of file diff --git a/src/base/table/table.collection.cell.js b/src/base/table/table.collection.cell.js index 8009e9507..e0291c0a2 100644 --- a/src/base/table/table.collection.cell.js +++ b/src/base/table/table.collection.cell.js @@ -54,4 +54,4 @@ BI.CollectionTableCell = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.collection_table_cell", BI.CollectionTableCell); \ No newline at end of file +BI.shortcut("bi.collection_table_cell", BI.CollectionTableCell); \ No newline at end of file diff --git a/src/base/table/table.collection.js b/src/base/table/table.collection.js index e118abb5c..65b56b954 100644 --- a/src/base/table/table.collection.js +++ b/src/base/table/table.collection.js @@ -544,4 +544,4 @@ BI.CollectionTable = BI.inherit(BI.Widget, { this._restore(); } }); -$.shortcut('bi.collection_table', BI.CollectionTable); \ No newline at end of file +BI.shortcut('bi.collection_table', BI.CollectionTable); \ No newline at end of file diff --git a/src/base/table/table.collection.quick.js b/src/base/table/table.collection.quick.js index 0aaa75436..9cada8003 100644 --- a/src/base/table/table.collection.quick.js +++ b/src/base/table/table.collection.quick.js @@ -137,4 +137,4 @@ BI.QuickCollectionTable = BI.inherit(BI.CollectionTable, { this.bottomRightCollection.populate(rightItems); } }); -$.shortcut('bi.quick_collection_table', BI.QuickCollectionTable); \ No newline at end of file +BI.shortcut('bi.quick_collection_table', BI.QuickCollectionTable); \ No newline at end of file diff --git a/src/base/table/table.grid.cell.js b/src/base/table/table.grid.cell.js index 9c42eec55..777382d94 100644 --- a/src/base/table/table.grid.cell.js +++ b/src/base/table/table.grid.cell.js @@ -56,4 +56,4 @@ BI.GridTableCell = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.grid_table_cell", BI.GridTableCell); \ No newline at end of file +BI.shortcut("bi.grid_table_cell", BI.GridTableCell); \ No newline at end of file diff --git a/src/base/table/table.grid.js b/src/base/table/table.grid.js index b2f1cdfaa..4c357ed38 100644 --- a/src/base/table/table.grid.js +++ b/src/base/table/table.grid.js @@ -468,4 +468,4 @@ BI.GridTable = BI.inherit(BI.Widget, { this._restore(); } }); -$.shortcut('bi.grid_table', BI.GridTable); \ No newline at end of file +BI.shortcut('bi.grid_table', BI.GridTable); \ No newline at end of file diff --git a/src/base/table/table.grid.quick.js b/src/base/table/table.grid.quick.js index 0185c5527..bfa5196b6 100644 --- a/src/base/table/table.grid.quick.js +++ b/src/base/table/table.grid.quick.js @@ -162,4 +162,4 @@ BI.QuickGridTable = BI.inherit(BI.GridTable, { this.bottomRightGrid.populate(rightItems); } }); -$.shortcut('bi.quick_grid_table', BI.QuickGridTable); \ No newline at end of file +BI.shortcut('bi.quick_grid_table', BI.QuickGridTable); \ No newline at end of file diff --git a/src/base/table/table.grid.scrollbar.js b/src/base/table/table.grid.scrollbar.js index eaf8f9339..bf8364612 100644 --- a/src/base/table/table.grid.scrollbar.js +++ b/src/base/table/table.grid.scrollbar.js @@ -324,7 +324,7 @@ BI.GridTableScrollbar = BI.inherit(BI.Widget, { }); BI.GridTableScrollbar.SIZE = 10; BI.GridTableScrollbar.EVENT_SCROLL = "EVENT_SCROLL"; -$.shortcut("bi.grid_table_scrollbar", BI.GridTableScrollbar); +BI.shortcut("bi.grid_table_scrollbar", BI.GridTableScrollbar); BI.GridTableHorizontalScrollbar = BI.inherit(BI.Widget, { @@ -404,4 +404,4 @@ BI.GridTableHorizontalScrollbar = BI.inherit(BI.Widget, { } }); BI.GridTableHorizontalScrollbar.EVENT_SCROLL = "EVENT_SCROLL"; -$.shortcut("bi.grid_table_horizontal_scrollbar", BI.GridTableHorizontalScrollbar); \ No newline at end of file +BI.shortcut("bi.grid_table_horizontal_scrollbar", BI.GridTableHorizontalScrollbar); \ No newline at end of file diff --git a/src/base/table/table.header.cell.js b/src/base/table/table.header.cell.js index c1cefe3b7..559055567 100644 --- a/src/base/table/table.header.cell.js +++ b/src/base/table/table.header.cell.js @@ -27,4 +27,4 @@ BI.TableHeaderCell = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.table_header_cell", BI.TableHeaderCell); \ No newline at end of file +BI.shortcut("bi.table_header_cell", BI.TableHeaderCell); \ No newline at end of file diff --git a/src/base/table/table.js b/src/base/table/table.js index 01da6ef40..1b95ff6de 100644 --- a/src/base/table/table.js +++ b/src/base/table/table.js @@ -1936,4 +1936,4 @@ BI.Table.EVENT_TABLE_AFTER_COLUMN_RESIZE = "EVENT_TABLE_AFTER_COLUMN_RESIZE"; BI.Table.EVENT_TABLE_BEFORE_REGION_RESIZE = "EVENT_TABLE_BEFORE_REGION_RESIZE"; BI.Table.EVENT_TABLE_REGION_RESIZE = "EVENT_TABLE_REGION_RESIZE"; BI.Table.EVENT_TABLE_AFTER_REGION_RESIZE = "EVENT_TABLE_AFTER_REGION_RESIZE"; -$.shortcut("bi.table_view", BI.Table); +BI.shortcut("bi.table_view", BI.Table); diff --git a/src/base/table/table.resizable.cell.js b/src/base/table/table.resizable.cell.js index caa3a5d5e..ad8c08a03 100644 --- a/src/base/table/table.resizable.cell.js +++ b/src/base/table/table.resizable.cell.js @@ -93,4 +93,4 @@ BI.ResizableTableCell = BI.inherit(BI.Widget, { this.cell.setHeight(o.height); } }); -$.shortcut("bi.resizable_table_cell", BI.ResizableTableCell); \ No newline at end of file +BI.shortcut("bi.resizable_table_cell", BI.ResizableTableCell); \ No newline at end of file diff --git a/src/base/table/table.resizable.js b/src/base/table/table.resizable.js index 2337e4b03..cdc990e02 100644 --- a/src/base/table/table.resizable.js +++ b/src/base/table/table.resizable.js @@ -346,4 +346,4 @@ BI.ResizableTable = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.resizable_table", BI.ResizableTable); \ No newline at end of file +BI.shortcut("bi.resizable_table", BI.ResizableTable); \ No newline at end of file diff --git a/src/base/tree/customtree.js b/src/base/tree/customtree.js index fa2d7ffec..22e71e64a 100644 --- a/src/base/tree/customtree.js +++ b/src/base/tree/customtree.js @@ -152,4 +152,4 @@ BI.CustomTree = BI.inherit(BI.Widget, { }); BI.CustomTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.custom_tree", BI.CustomTree); \ No newline at end of file +BI.shortcut("bi.custom_tree", BI.CustomTree); \ No newline at end of file diff --git a/src/base/tree/parttree.js b/src/base/tree/parttree.js index 043b6a942..67b924a4d 100644 --- a/src/base/tree/parttree.js +++ b/src/base/tree/parttree.js @@ -172,4 +172,4 @@ BI.PartTree = BI.inherit(BI.SyncTree, { } }); -$.shortcut("bi.part_tree", BI.PartTree); \ No newline at end of file +BI.shortcut("bi.part_tree", BI.PartTree); \ No newline at end of file diff --git a/src/base/tree/synctree.js b/src/base/tree/synctree.js index a0d04cfc3..27c2c93f6 100644 --- a/src/base/tree/synctree.js +++ b/src/base/tree/synctree.js @@ -206,4 +206,4 @@ BI.SyncTree = BI.inherit(BI.TreeView, { } }); -$.shortcut("bi.sync_tree", BI.SyncTree); \ No newline at end of file +BI.shortcut("bi.sync_tree", BI.SyncTree); \ No newline at end of file diff --git a/src/base/tree/treeview.js b/src/base/tree/treeview.js index 17e84d100..6e5de0e26 100644 --- a/src/base/tree/treeview.js +++ b/src/base/tree/treeview.js @@ -504,4 +504,4 @@ BI.TreeView.EVENT_CHANGE = "EVENT_CHANGE"; BI.TreeView.EVENT_INIT = BI.Events.INIT; BI.TreeView.EVENT_AFTERINIT = BI.Events.AFTERINIT; -$.shortcut("bi.tree_view", BI.TreeView); \ No newline at end of file +BI.shortcut("bi.tree_view", BI.TreeView); \ No newline at end of file diff --git a/src/case/button/icon/icon.change.js b/src/case/button/icon/icon.change.js index 3ce39a294..2511072e5 100644 --- a/src/case/button/icon/icon.change.js +++ b/src/case/button/icon/icon.change.js @@ -85,4 +85,4 @@ BI.IconChangeButton = BI.inherit(BI.Single, { } }); BI.IconChangeButton.EVENT_CHANGE = "IconChangeButton.EVENT_CHANGE"; -$.shortcut("bi.icon_change_button", BI.IconChangeButton); \ No newline at end of file +BI.shortcut("bi.icon_change_button", BI.IconChangeButton); \ No newline at end of file diff --git a/src/case/button/icon/icon.half.js b/src/case/button/icon/icon.half.js index 178aa71cf..d5e8b9b7e 100644 --- a/src/case/button/icon/icon.half.js +++ b/src/case/button/icon/icon.half.js @@ -29,4 +29,4 @@ BI.HalfIconButton = BI.inherit(BI.IconButton, { }); BI.HalfIconButton.EVENT_CHANGE = "HalfIconButton.EVENT_CHANGE"; -$.shortcut("bi.half_icon_button", BI.HalfIconButton); \ No newline at end of file +BI.shortcut("bi.half_icon_button", BI.HalfIconButton); \ No newline at end of file diff --git a/src/case/button/icon/icon.trigger.js b/src/case/button/icon/icon.trigger.js index ecb9c6962..8ae75e3cf 100644 --- a/src/case/button/icon/icon.trigger.js +++ b/src/case/button/icon/icon.trigger.js @@ -27,4 +27,4 @@ BI.TriggerIconButton = BI.inherit(BI.IconButton, { } }); BI.TriggerIconButton.EVENT_CHANGE = "TriggerIconButton.EVENT_CHANGE"; -$.shortcut("bi.trigger_icon_button", BI.TriggerIconButton); \ No newline at end of file +BI.shortcut("bi.trigger_icon_button", BI.TriggerIconButton); \ No newline at end of file diff --git a/src/case/button/item.multiselect.js b/src/case/button/item.multiselect.js index 4b8a06b66..a66055735 100644 --- a/src/case/button/item.multiselect.js +++ b/src/case/button/item.multiselect.js @@ -74,4 +74,4 @@ BI.MultiSelectItem = BI.inherit(BI.BasicButton, { } }); BI.MultiSelectItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multi_select_item", BI.MultiSelectItem); \ No newline at end of file +BI.shortcut("bi.multi_select_item", BI.MultiSelectItem); \ No newline at end of file diff --git a/src/case/button/item.singleselect.icontext.js b/src/case/button/item.singleselect.icontext.js index 7936c00b2..f3236f0f2 100644 --- a/src/case/button/item.singleselect.icontext.js +++ b/src/case/button/item.singleselect.icontext.js @@ -56,4 +56,4 @@ BI.SingleSelectIconTextItem = BI.inherit(BI.Single, { } }); -$.shortcut("bi.single_select_icon_text_item", BI.SingleSelectIconTextItem); \ No newline at end of file +BI.shortcut("bi.single_select_icon_text_item", BI.SingleSelectIconTextItem); \ No newline at end of file diff --git a/src/case/button/item.singleselect.js b/src/case/button/item.singleselect.js index f70ce7876..3357d851f 100644 --- a/src/case/button/item.singleselect.js +++ b/src/case/button/item.singleselect.js @@ -47,4 +47,4 @@ BI.SingleSelectItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.single_select_item", BI.SingleSelectItem); \ No newline at end of file +BI.shortcut("bi.single_select_item", BI.SingleSelectItem); \ No newline at end of file diff --git a/src/case/button/item.singleselect.radio.js b/src/case/button/item.singleselect.radio.js index 6b31ded9e..0dcf18679 100644 --- a/src/case/button/item.singleselect.radio.js +++ b/src/case/button/item.singleselect.radio.js @@ -71,4 +71,4 @@ BI.SingleSelectRadioItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.single_select_radio_item", BI.SingleSelectRadioItem); \ No newline at end of file +BI.shortcut("bi.single_select_radio_item", BI.SingleSelectRadioItem); \ No newline at end of file diff --git a/src/case/button/node/node.arrow.js b/src/case/button/node/node.arrow.js index b4e6b9c29..ccc0e31db 100644 --- a/src/case/button/node/node.arrow.js +++ b/src/case/button/node/node.arrow.js @@ -77,4 +77,4 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.arrow_group_node", BI.ArrowNode); \ No newline at end of file +BI.shortcut("bi.arrow_group_node", BI.ArrowNode); \ No newline at end of file diff --git a/src/case/button/node/node.first.plus.js b/src/case/button/node/node.first.plus.js index ca900cefa..8637d2cbe 100644 --- a/src/case/button/node/node.first.plus.js +++ b/src/case/button/node/node.first.plus.js @@ -78,4 +78,4 @@ BI.FirstPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.first_plus_group_node", BI.FirstPlusGroupNode); \ No newline at end of file +BI.shortcut("bi.first_plus_group_node", BI.FirstPlusGroupNode); \ No newline at end of file diff --git a/src/case/button/node/node.icon.arrow.js b/src/case/button/node/node.icon.arrow.js index 709e6e86a..3d3420161 100644 --- a/src/case/button/node/node.icon.arrow.js +++ b/src/case/button/node/node.icon.arrow.js @@ -99,4 +99,4 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.icon_arrow_node", BI.IconArrowNode); \ No newline at end of file +BI.shortcut("bi.icon_arrow_node", BI.IconArrowNode); \ No newline at end of file diff --git a/src/case/button/node/node.last.plus.js b/src/case/button/node/node.last.plus.js index 1c151c0a3..1e0c47d26 100644 --- a/src/case/button/node/node.last.plus.js +++ b/src/case/button/node/node.last.plus.js @@ -78,4 +78,4 @@ BI.LastPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.last_plus_group_node", BI.LastPlusGroupNode); \ No newline at end of file +BI.shortcut("bi.last_plus_group_node", BI.LastPlusGroupNode); \ No newline at end of file diff --git a/src/case/button/node/node.mid.plus.js b/src/case/button/node/node.mid.plus.js index 4abee1630..e78510def 100644 --- a/src/case/button/node/node.mid.plus.js +++ b/src/case/button/node/node.mid.plus.js @@ -78,4 +78,4 @@ BI.MidPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode); \ No newline at end of file +BI.shortcut("bi.mid_plus_group_node", BI.MidPlusGroupNode); \ No newline at end of file diff --git a/src/case/button/node/node.multilayer.icon.arrow.js b/src/case/button/node/node.multilayer.icon.arrow.js index 5e043a9b7..7f406ac68 100644 --- a/src/case/button/node/node.multilayer.icon.arrow.js +++ b/src/case/button/node/node.multilayer.icon.arrow.js @@ -87,4 +87,4 @@ BI.MultiLayerIconArrowNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.multilayer_icon_arrow_node", BI.MultiLayerIconArrowNode); \ No newline at end of file +BI.shortcut("bi.multilayer_icon_arrow_node", BI.MultiLayerIconArrowNode); \ No newline at end of file diff --git a/src/case/button/node/node.plus.js b/src/case/button/node/node.plus.js index 07e6b2d20..7ccbb0433 100644 --- a/src/case/button/node/node.plus.js +++ b/src/case/button/node/node.plus.js @@ -74,4 +74,4 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.plus_group_node", BI.PlusGroupNode); \ No newline at end of file +BI.shortcut("bi.plus_group_node", BI.PlusGroupNode); \ No newline at end of file diff --git a/src/case/button/node/node.triangle.js b/src/case/button/node/node.triangle.js index 99e1fd661..932485a3b 100644 --- a/src/case/button/node/node.triangle.js +++ b/src/case/button/node/node.triangle.js @@ -80,4 +80,4 @@ BI.TriangleGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.triangle_group_node", BI.TriangleGroupNode); \ No newline at end of file +BI.shortcut("bi.triangle_group_node", BI.TriangleGroupNode); \ No newline at end of file diff --git a/src/case/button/treeitem/item.first.treeleaf.js b/src/case/button/treeitem/item.first.treeleaf.js index ea4e690de..65e05b569 100644 --- a/src/case/button/treeitem/item.first.treeleaf.js +++ b/src/case/button/treeitem/item.first.treeleaf.js @@ -101,4 +101,4 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem); \ No newline at end of file +BI.shortcut("bi.first_tree_leaf_item", BI.FirstTreeLeafItem); \ No newline at end of file diff --git a/src/case/button/treeitem/item.icon.treeleaf.js b/src/case/button/treeitem/item.icon.treeleaf.js index 3872d851b..bca64974f 100644 --- a/src/case/button/treeitem/item.icon.treeleaf.js +++ b/src/case/button/treeitem/item.icon.treeleaf.js @@ -85,4 +85,4 @@ BI.IconTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.icon_tree_leaf_item", BI.IconTreeLeafItem); \ No newline at end of file +BI.shortcut("bi.icon_tree_leaf_item", BI.IconTreeLeafItem); \ No newline at end of file diff --git a/src/case/button/treeitem/item.last.treeleaf.js b/src/case/button/treeitem/item.last.treeleaf.js index 60f879bfe..26be93942 100644 --- a/src/case/button/treeitem/item.last.treeleaf.js +++ b/src/case/button/treeitem/item.last.treeleaf.js @@ -101,4 +101,4 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.last_tree_leaf_item", BI.LastTreeLeafItem); \ No newline at end of file +BI.shortcut("bi.last_tree_leaf_item", BI.LastTreeLeafItem); \ No newline at end of file diff --git a/src/case/button/treeitem/item.mid.treeleaf.js b/src/case/button/treeitem/item.mid.treeleaf.js index e6fad1a67..6210427f7 100644 --- a/src/case/button/treeitem/item.mid.treeleaf.js +++ b/src/case/button/treeitem/item.mid.treeleaf.js @@ -101,4 +101,4 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.mid_tree_leaf_item", BI.MidTreeLeafItem); \ No newline at end of file +BI.shortcut("bi.mid_tree_leaf_item", BI.MidTreeLeafItem); \ No newline at end of file diff --git a/src/case/button/treeitem/item.multilayer.icon.treeleaf.js b/src/case/button/treeitem/item.multilayer.icon.treeleaf.js index 422381a20..ad1847532 100644 --- a/src/case/button/treeitem/item.multilayer.icon.treeleaf.js +++ b/src/case/button/treeitem/item.multilayer.icon.treeleaf.js @@ -93,4 +93,4 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.multilayer_icon_tree_leaf_item", BI.MultiLayerIconTreeLeafItem); \ No newline at end of file +BI.shortcut("bi.multilayer_icon_tree_leaf_item", BI.MultiLayerIconTreeLeafItem); \ No newline at end of file diff --git a/src/case/button/treeitem/item.treetextleaf.js b/src/case/button/treeitem/item.treetextleaf.js index b23ef7421..e2a93c765 100644 --- a/src/case/button/treeitem/item.treetextleaf.js +++ b/src/case/button/treeitem/item.treetextleaf.js @@ -66,4 +66,4 @@ BI.TreeTextLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.tree_text_leaf_item", BI.TreeTextLeafItem); \ No newline at end of file +BI.shortcut("bi.tree_text_leaf_item", BI.TreeTextLeafItem); \ No newline at end of file diff --git a/src/case/calendar/calendar.js b/src/case/calendar/calendar.js index c581428f7..c4633bb09 100644 --- a/src/case/calendar/calendar.js +++ b/src/case/calendar/calendar.js @@ -187,4 +187,4 @@ BI.extend(BI.Calendar, { } }); -$.shortcut("bi.calendar", BI.Calendar); \ No newline at end of file +BI.shortcut("bi.calendar", BI.Calendar); \ No newline at end of file diff --git a/src/case/calendar/calendar.year.js b/src/case/calendar/calendar.year.js index 9ecffe4e1..1d9467a86 100644 --- a/src/case/calendar/calendar.year.js +++ b/src/case/calendar/calendar.year.js @@ -138,4 +138,4 @@ BI.extend(BI.YearCalendar, { } }); -$.shortcut("bi.year_calendar", BI.YearCalendar); \ No newline at end of file +BI.shortcut("bi.year_calendar", BI.YearCalendar); \ No newline at end of file diff --git a/src/case/canvas/canvas.complex.js b/src/case/canvas/canvas.complex.js index ea2529d25..1073196cc 100644 --- a/src/case/canvas/canvas.complex.js +++ b/src/case/canvas/canvas.complex.js @@ -89,4 +89,4 @@ BI.ComplexCanvas = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.complex_canvas", BI.ComplexCanvas); \ No newline at end of file +BI.shortcut("bi.complex_canvas", BI.ComplexCanvas); \ No newline at end of file diff --git a/src/case/checkbox/check.arrowtreegroupnode.js b/src/case/checkbox/check.arrowtreegroupnode.js index 435b923b0..c48b4f4f1 100644 --- a/src/case/checkbox/check.arrowtreegroupnode.js +++ b/src/case/checkbox/check.arrowtreegroupnode.js @@ -22,4 +22,4 @@ BI.ArrowTreeGroupNodeCheckbox=BI.inherit(BI.IconButton,{ } } }); -$.shortcut("bi.arrow_tree_group_node_checkbox",BI.ArrowTreeGroupNodeCheckbox); \ No newline at end of file +BI.shortcut("bi.arrow_tree_group_node_checkbox",BI.ArrowTreeGroupNodeCheckbox); \ No newline at end of file diff --git a/src/case/checkbox/check.checkingmarknode.js b/src/case/checkbox/check.checkingmarknode.js index 2e692e3d3..8264480af 100644 --- a/src/case/checkbox/check.checkingmarknode.js +++ b/src/case/checkbox/check.checkingmarknode.js @@ -25,4 +25,4 @@ BI.CheckingMarkNode = BI.inherit(BI.IconButton, { } } }); -$.shortcut("bi.checking_mark_node", BI.CheckingMarkNode); \ No newline at end of file +BI.shortcut("bi.checking_mark_node", BI.CheckingMarkNode); \ No newline at end of file diff --git a/src/case/checkbox/check.first.treenode.js b/src/case/checkbox/check.first.treenode.js index 7edf3ee99..281e09554 100644 --- a/src/case/checkbox/check.first.treenode.js +++ b/src/case/checkbox/check.first.treenode.js @@ -24,4 +24,4 @@ BI.FirstTreeNodeCheckbox = BI.inherit(BI.IconButton, { } } }); -$.shortcut("bi.first_tree_node_checkbox", BI.FirstTreeNodeCheckbox); \ No newline at end of file +BI.shortcut("bi.first_tree_node_checkbox", BI.FirstTreeNodeCheckbox); \ No newline at end of file diff --git a/src/case/checkbox/check.last.treenode.js b/src/case/checkbox/check.last.treenode.js index 2a47e5eb0..19eecd44e 100644 --- a/src/case/checkbox/check.last.treenode.js +++ b/src/case/checkbox/check.last.treenode.js @@ -24,4 +24,4 @@ BI.LastTreeNodeCheckbox = BI.inherit(BI.IconButton, { } } }); -$.shortcut("bi.last_tree_node_checkbox", BI.LastTreeNodeCheckbox); \ No newline at end of file +BI.shortcut("bi.last_tree_node_checkbox", BI.LastTreeNodeCheckbox); \ No newline at end of file diff --git a/src/case/checkbox/check.mid.treenode.js b/src/case/checkbox/check.mid.treenode.js index 1346578f6..da0876644 100644 --- a/src/case/checkbox/check.mid.treenode.js +++ b/src/case/checkbox/check.mid.treenode.js @@ -24,4 +24,4 @@ BI.MidTreeNodeCheckbox = BI.inherit(BI.IconButton, { } } }); -$.shortcut("bi.mid_tree_node_checkbox", BI.MidTreeNodeCheckbox); \ No newline at end of file +BI.shortcut("bi.mid_tree_node_checkbox", BI.MidTreeNodeCheckbox); \ No newline at end of file diff --git a/src/case/checkbox/check.treegroupnode.js b/src/case/checkbox/check.treegroupnode.js index 9b05e5b8d..00cad265b 100644 --- a/src/case/checkbox/check.treegroupnode.js +++ b/src/case/checkbox/check.treegroupnode.js @@ -25,4 +25,4 @@ BI.TreeGroupNodeCheckbox = BI.inherit(BI.IconButton, { } } }); -$.shortcut("bi.tree_group_node_checkbox", BI.TreeGroupNodeCheckbox); \ No newline at end of file +BI.shortcut("bi.tree_group_node_checkbox", BI.TreeGroupNodeCheckbox); \ No newline at end of file diff --git a/src/case/checkbox/check.treenode.js b/src/case/checkbox/check.treenode.js index 02f75158f..fa84ca642 100644 --- a/src/case/checkbox/check.treenode.js +++ b/src/case/checkbox/check.treenode.js @@ -24,4 +24,4 @@ BI.TreeNodeCheckbox = BI.inherit(BI.IconButton, { } } }); -$.shortcut("bi.tree_node_checkbox", BI.TreeNodeCheckbox); \ No newline at end of file +BI.shortcut("bi.tree_node_checkbox", BI.TreeNodeCheckbox); \ No newline at end of file diff --git a/src/case/colorchooser/colorchooser.custom.js b/src/case/colorchooser/colorchooser.custom.js index bdbe63115..807b89dc9 100644 --- a/src/case/colorchooser/colorchooser.custom.js +++ b/src/case/colorchooser/colorchooser.custom.js @@ -67,4 +67,4 @@ BI.CustomColorChooser = BI.inherit(BI.Widget, { } }); BI.CustomColorChooser.EVENT_CHANGE = "CustomColorChooser.EVENT_CHANGE"; -$.shortcut("bi.custom_color_chooser", BI.CustomColorChooser); \ No newline at end of file +BI.shortcut("bi.custom_color_chooser", BI.CustomColorChooser); \ No newline at end of file diff --git a/src/case/colorchooser/colorchooser.js b/src/case/colorchooser/colorchooser.js index 4e93f1bc0..302a54fb7 100644 --- a/src/case/colorchooser/colorchooser.js +++ b/src/case/colorchooser/colorchooser.js @@ -83,4 +83,4 @@ BI.ColorChooser = BI.inherit(BI.Widget, { } }); BI.ColorChooser.EVENT_CHANGE = "ColorChooser.EVENT_CHANGE"; -$.shortcut("bi.color_chooser", BI.ColorChooser); \ No newline at end of file +BI.shortcut("bi.color_chooser", BI.ColorChooser); \ No newline at end of file diff --git a/src/case/colorchooser/colorchooser.popup.js b/src/case/colorchooser/colorchooser.popup.js index a6105dc00..cb79bd9d9 100644 --- a/src/case/colorchooser/colorchooser.popup.js +++ b/src/case/colorchooser/colorchooser.popup.js @@ -191,4 +191,4 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, { }); BI.ColorChooserPopup.EVENT_VALUE_CHANGE = "ColorChooserPopup.EVENT_VALUE_CHANGE"; BI.ColorChooserPopup.EVENT_CHANGE = "ColorChooserPopup.EVENT_CHANGE"; -$.shortcut("bi.color_chooser_popup", BI.ColorChooserPopup); \ No newline at end of file +BI.shortcut("bi.color_chooser_popup", BI.ColorChooserPopup); \ No newline at end of file diff --git a/src/case/colorchooser/colorchooser.trigger.js b/src/case/colorchooser/colorchooser.trigger.js index 5eb440aba..99d0e37ae 100644 --- a/src/case/colorchooser/colorchooser.trigger.js +++ b/src/case/colorchooser/colorchooser.trigger.js @@ -55,4 +55,4 @@ BI.ColorChooserTrigger = BI.inherit(BI.Trigger, { } }); BI.ColorChooserTrigger.EVENT_CHANGE = "ColorChooserTrigger.EVENT_CHANGE"; -$.shortcut("bi.color_chooser_trigger", BI.ColorChooserTrigger); \ No newline at end of file +BI.shortcut("bi.color_chooser_trigger", BI.ColorChooserTrigger); \ No newline at end of file diff --git a/src/case/colorchooser/colorpicker/button/button.colorpicker.js b/src/case/colorchooser/colorpicker/button/button.colorpicker.js index 88aeb13b4..cb54d2e65 100644 --- a/src/case/colorchooser/colorpicker/button/button.colorpicker.js +++ b/src/case/colorchooser/colorpicker/button/button.colorpicker.js @@ -57,4 +57,4 @@ BI.ColorPickerButton = BI.inherit(BI.BasicButton, { } }); BI.ColorPickerButton.EVENT_CHANGE = "ColorPickerButton.EVENT_CHANGE"; -$.shortcut("bi.color_picker_button", BI.ColorPickerButton); \ No newline at end of file +BI.shortcut("bi.color_picker_button", BI.ColorPickerButton); \ No newline at end of file diff --git a/src/case/colorchooser/colorpicker/colorpicker.js b/src/case/colorchooser/colorpicker/colorpicker.js index b7025bb97..871cb28e6 100644 --- a/src/case/colorchooser/colorpicker/colorpicker.js +++ b/src/case/colorchooser/colorpicker/colorpicker.js @@ -186,4 +186,4 @@ BI.ColorPicker = BI.inherit(BI.Widget, { } }); BI.ColorPicker.EVENT_CHANGE = "ColorPicker.EVENT_CHANGE"; -$.shortcut("bi.color_picker", BI.ColorPicker); \ No newline at end of file +BI.shortcut("bi.color_picker", BI.ColorPicker); \ No newline at end of file diff --git a/src/case/colorchooser/colorpicker/editor.colorpicker.js b/src/case/colorchooser/colorpicker/editor.colorpicker.js index ad89618a5..52f8734a6 100644 --- a/src/case/colorchooser/colorpicker/editor.colorpicker.js +++ b/src/case/colorchooser/colorpicker/editor.colorpicker.js @@ -131,4 +131,4 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { } }); BI.ColorPickerEditor.EVENT_CHANGE = "ColorPickerEditor.EVENT_CHANGE"; -$.shortcut("bi.color_picker_editor", BI.ColorPickerEditor); \ No newline at end of file +BI.shortcut("bi.color_picker_editor", BI.ColorPickerEditor); \ No newline at end of file diff --git a/src/case/colorchooser/farbtastic/farbtastic.js b/src/case/colorchooser/farbtastic/farbtastic.js index 18654490f..347a04188 100644 --- a/src/case/colorchooser/farbtastic/farbtastic.js +++ b/src/case/colorchooser/farbtastic/farbtastic.js @@ -35,4 +35,4 @@ BI.Farbtastic = BI.inherit(BI.Widget, { } }); BI.Farbtastic.EVENT_CHANGE = "Farbtastic.EVENT_CHANGE"; -$.shortcut("bi.farbtastic", BI.Farbtastic); \ No newline at end of file +BI.shortcut("bi.farbtastic", BI.Farbtastic); \ No newline at end of file diff --git a/src/case/combo/bubblecombo/combo.bubble.js b/src/case/combo/bubblecombo/combo.bubble.js index 52e019a81..5b257f17c 100644 --- a/src/case/combo/bubblecombo/combo.bubble.js +++ b/src/case/combo/bubblecombo/combo.bubble.js @@ -207,4 +207,4 @@ BI.BubbleCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; BI.BubbleCombo.EVENT_AFTER_POPUPVIEW = "EVENT_AFTER_POPUPVIEW"; BI.BubbleCombo.EVENT_BEFORE_HIDEVIEW = "EVENT_BEFORE_HIDEVIEW"; BI.BubbleCombo.EVENT_AFTER_HIDEVIEW = "EVENT_AFTER_HIDEVIEW"; -$.shortcut("bi.bubble_combo", BI.BubbleCombo); \ No newline at end of file +BI.shortcut("bi.bubble_combo", BI.BubbleCombo); \ No newline at end of file diff --git a/src/case/combo/bubblecombo/popup.bubble.js b/src/case/combo/bubblecombo/popup.bubble.js index 50310f523..499db968e 100644 --- a/src/case/combo/bubblecombo/popup.bubble.js +++ b/src/case/combo/bubblecombo/popup.bubble.js @@ -70,7 +70,7 @@ BI.BubblePopupView = BI.inherit(BI.PopupView, { } }); -$.shortcut("bi.bubble_popup_view", BI.BubblePopupView); +BI.shortcut("bi.bubble_popup_view", BI.BubblePopupView); /** * Created by GUY on 2017/2/8. @@ -115,4 +115,4 @@ BI.BubblePopupBarView = BI.inherit(BI.BubblePopupView, { } }); BI.BubblePopupBarView.EVENT_CLICK_TOOLBAR_BUTTON = "EVENT_CLICK_TOOLBAR_BUTTON"; -$.shortcut("bi.bubble_bar_popup_view", BI.BubblePopupBarView); \ No newline at end of file +BI.shortcut("bi.bubble_bar_popup_view", BI.BubblePopupBarView); \ No newline at end of file diff --git a/src/case/combo/editoriconcheckcombo/combo.editoriconcheck.js b/src/case/combo/editoriconcheckcombo/combo.editoriconcheck.js index df0ffa924..1dc525960 100644 --- a/src/case/combo/editoriconcheckcombo/combo.editoriconcheck.js +++ b/src/case/combo/editoriconcheckcombo/combo.editoriconcheck.js @@ -77,4 +77,4 @@ BI.EditorIconCheckCombo = BI.inherit(BI.Widget, { } }); BI.EditorIconCheckCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.editor_icon_check_combo", BI.EditorIconCheckCombo); \ No newline at end of file +BI.shortcut("bi.editor_icon_check_combo", BI.EditorIconCheckCombo); \ No newline at end of file diff --git a/src/case/combo/formulacombo/combo.formula.js b/src/case/combo/formulacombo/combo.formula.js index 665935784..74c4415c9 100644 --- a/src/case/combo/formulacombo/combo.formula.js +++ b/src/case/combo/formulacombo/combo.formula.js @@ -96,4 +96,4 @@ BI.FormulaCombo = BI.inherit(BI.Widget, { } }); BI.FormulaCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.formula_combo", BI.FormulaCombo); \ No newline at end of file +BI.shortcut("bi.formula_combo", BI.FormulaCombo); \ No newline at end of file diff --git a/src/case/combo/formulacombo/popup.formulacombo.js b/src/case/combo/formulacombo/popup.formulacombo.js index 0d3f96d13..a3024becb 100644 --- a/src/case/combo/formulacombo/popup.formulacombo.js +++ b/src/case/combo/formulacombo/popup.formulacombo.js @@ -86,4 +86,4 @@ BI.FormulaComboPopup = BI.inherit(BI.Widget, { }); BI.FormulaComboPopup.EVENT_CHANGE = "EVENT_CHANGE"; BI.FormulaComboPopup.EVENT_VALUE_CANCEL = "EVENT_VALUE_CANCEL"; -$.shortcut("bi.formula_combo_popup", BI.FormulaComboPopup); \ No newline at end of file +BI.shortcut("bi.formula_combo_popup", BI.FormulaComboPopup); \ No newline at end of file diff --git a/src/case/combo/formulacombo/trigger.formulacombo.js b/src/case/combo/formulacombo/trigger.formulacombo.js index 85f6a005b..79ebc72d5 100644 --- a/src/case/combo/formulacombo/trigger.formulacombo.js +++ b/src/case/combo/formulacombo/trigger.formulacombo.js @@ -56,4 +56,4 @@ BI.FormulaComboTrigger = BI.inherit(BI.Widget, { this.label.setText(this._getTextFromFormulaValue(v)); } }); -$.shortcut("bi.formula_combo_trigger", BI.FormulaComboTrigger); \ No newline at end of file +BI.shortcut("bi.formula_combo_trigger", BI.FormulaComboTrigger); \ No newline at end of file diff --git a/src/case/combo/iconcombo/combo.icon.js b/src/case/combo/iconcombo/combo.icon.js index 157ae9527..74ddacdc5 100644 --- a/src/case/combo/iconcombo/combo.icon.js +++ b/src/case/combo/iconcombo/combo.icon.js @@ -96,4 +96,4 @@ BI.IconCombo = BI.inherit(BI.Widget, { } }); BI.IconCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_combo", BI.IconCombo); \ No newline at end of file +BI.shortcut("bi.icon_combo", BI.IconCombo); \ No newline at end of file diff --git a/src/case/combo/iconcombo/popup.iconcombo.js b/src/case/combo/iconcombo/popup.iconcombo.js index 04abb1afb..419c85d41 100644 --- a/src/case/combo/iconcombo/popup.iconcombo.js +++ b/src/case/combo/iconcombo/popup.iconcombo.js @@ -60,4 +60,4 @@ BI.IconComboPopup = BI.inherit(BI.Pane, { }); BI.IconComboPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_combo_popup", BI.IconComboPopup); \ No newline at end of file +BI.shortcut("bi.icon_combo_popup", BI.IconComboPopup); \ No newline at end of file diff --git a/src/case/combo/iconcombo/trigger.iconcombo.js b/src/case/combo/iconcombo/trigger.iconcombo.js index c6c7e2d0f..6889424e4 100644 --- a/src/case/combo/iconcombo/trigger.iconcombo.js +++ b/src/case/combo/iconcombo/trigger.iconcombo.js @@ -87,4 +87,4 @@ BI.IconComboTrigger = BI.inherit(BI.Trigger, { } }); BI.IconComboTrigger.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.icon_combo_trigger", BI.IconComboTrigger); \ No newline at end of file +BI.shortcut("bi.icon_combo_trigger", BI.IconComboTrigger); \ No newline at end of file diff --git a/src/case/combo/staticcombo/combo.static.js b/src/case/combo/staticcombo/combo.static.js index f3c954a38..9363b9b6e 100644 --- a/src/case/combo/staticcombo/combo.static.js +++ b/src/case/combo/staticcombo/combo.static.js @@ -64,4 +64,4 @@ BI.StaticCombo = BI.inherit(BI.Widget, { } }); BI.StaticCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.static_combo", BI.StaticCombo); \ No newline at end of file +BI.shortcut("bi.static_combo", BI.StaticCombo); \ No newline at end of file diff --git a/src/case/combo/textvaluecheckcombo/combo.textvaluecheck.js b/src/case/combo/textvaluecheckcombo/combo.textvaluecheck.js index 21e8648a6..352c6be78 100644 --- a/src/case/combo/textvaluecheckcombo/combo.textvaluecheck.js +++ b/src/case/combo/textvaluecheckcombo/combo.textvaluecheck.js @@ -75,4 +75,4 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, { } }); BI.TextValueCheckCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_value_check_combo", BI.TextValueCheckCombo); \ No newline at end of file +BI.shortcut("bi.text_value_check_combo", BI.TextValueCheckCombo); \ No newline at end of file diff --git a/src/case/combo/textvaluecheckcombo/combo.textvaluechecksmall.js b/src/case/combo/textvaluecheckcombo/combo.textvaluechecksmall.js index 9a411e807..0de03ef9e 100644 --- a/src/case/combo/textvaluecheckcombo/combo.textvaluechecksmall.js +++ b/src/case/combo/textvaluecheckcombo/combo.textvaluechecksmall.js @@ -66,4 +66,4 @@ BI.SmallTextValueCheckCombo = BI.inherit(BI.Widget, { } }); BI.SmallTextValueCheckCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo); \ No newline at end of file +BI.shortcut("bi.small_text_value_check_combo", BI.SmallTextValueCheckCombo); \ No newline at end of file diff --git a/src/case/combo/textvaluecheckcombo/popup.textvaluecheck.js b/src/case/combo/textvaluecheckcombo/popup.textvaluecheck.js index b5a0c9fcc..d4fd59885 100644 --- a/src/case/combo/textvaluecheckcombo/popup.textvaluecheck.js +++ b/src/case/combo/textvaluecheckcombo/popup.textvaluecheck.js @@ -57,4 +57,4 @@ BI.TextValueCheckComboPopup = BI.inherit(BI.Pane, { }); BI.TextValueCheckComboPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_value_check_combo_popup", BI.TextValueCheckComboPopup); \ No newline at end of file +BI.shortcut("bi.text_value_check_combo_popup", BI.TextValueCheckComboPopup); \ No newline at end of file diff --git a/src/case/combo/textvaluecombo/combo.textvalue.js b/src/case/combo/textvaluecombo/combo.textvalue.js index b390cf09a..53e7c9594 100644 --- a/src/case/combo/textvaluecombo/combo.textvalue.js +++ b/src/case/combo/textvaluecombo/combo.textvalue.js @@ -68,4 +68,4 @@ BI.TextValueCombo = BI.inherit(BI.Widget, { } }); BI.TextValueCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_value_combo", BI.TextValueCombo); \ No newline at end of file +BI.shortcut("bi.text_value_combo", BI.TextValueCombo); \ No newline at end of file diff --git a/src/case/combo/textvaluecombo/combo.textvaluesmall.js b/src/case/combo/textvaluecombo/combo.textvaluesmall.js index 2b5317621..54e6a9cce 100644 --- a/src/case/combo/textvaluecombo/combo.textvaluesmall.js +++ b/src/case/combo/textvaluecombo/combo.textvaluesmall.js @@ -68,4 +68,4 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, { } }); BI.SmallTextValueCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo); \ No newline at end of file +BI.shortcut("bi.small_text_value_combo", BI.SmallTextValueCombo); \ No newline at end of file diff --git a/src/case/combo/textvaluecombo/popup.textvalue.js b/src/case/combo/textvaluecombo/popup.textvalue.js index 4d4512b54..b65038358 100644 --- a/src/case/combo/textvaluecombo/popup.textvalue.js +++ b/src/case/combo/textvaluecombo/popup.textvalue.js @@ -55,4 +55,4 @@ BI.TextValueComboPopup = BI.inherit(BI.Pane, { }); BI.TextValueComboPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_value_combo_popup", BI.TextValueComboPopup); \ No newline at end of file +BI.shortcut("bi.text_value_combo_popup", BI.TextValueComboPopup); \ No newline at end of file diff --git a/src/case/combo/textvaluedownlistcombo/combo.textvaluedownlist.js b/src/case/combo/textvaluedownlistcombo/combo.textvaluedownlist.js index b44843f38..95247087b 100644 --- a/src/case/combo/textvaluedownlistcombo/combo.textvaluedownlist.js +++ b/src/case/combo/textvaluedownlistcombo/combo.textvaluedownlist.js @@ -81,4 +81,4 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, { } }); BI.TextValueDownListCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.text_value_down_list_combo", BI.TextValueDownListCombo); \ No newline at end of file +BI.shortcut("bi.text_value_down_list_combo", BI.TextValueDownListCombo); \ No newline at end of file diff --git a/src/case/combo/textvaluedownlistcombo/trigger.textvaluedownlist.js b/src/case/combo/textvaluedownlistcombo/trigger.textvaluedownlist.js index d221491f9..174f60f27 100644 --- a/src/case/combo/textvaluedownlistcombo/trigger.textvaluedownlist.js +++ b/src/case/combo/textvaluedownlistcombo/trigger.textvaluedownlist.js @@ -51,4 +51,4 @@ BI.DownListSelectTextTrigger = BI.inherit(BI.Trigger, { this.trigger.populate(this._formatItemArray(items)); } }); -$.shortcut("bi.down_list_select_text_trigger", BI.DownListSelectTextTrigger); \ No newline at end of file +BI.shortcut("bi.down_list_select_text_trigger", BI.DownListSelectTextTrigger); \ No newline at end of file diff --git a/src/case/editor/editor.adapt.js b/src/case/editor/editor.adapt.js index 657a98c65..5a358d261 100644 --- a/src/case/editor/editor.adapt.js +++ b/src/case/editor/editor.adapt.js @@ -159,4 +159,4 @@ BI.AdaptiveEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.AdaptiveEditor.EVENT_SPACE = "EVENT_SPACE"; BI.AdaptiveEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.adapt_editor", BI.AdaptiveEditor); \ No newline at end of file +BI.shortcut("bi.adapt_editor", BI.AdaptiveEditor); \ No newline at end of file diff --git a/src/case/editor/editor.clear.js b/src/case/editor/editor.clear.js index e23b40e27..1b47bd2c3 100644 --- a/src/case/editor/editor.clear.js +++ b/src/case/editor/editor.clear.js @@ -166,4 +166,4 @@ BI.ClearEditor.EVENT_ENTER = "EVENT_ENTER"; BI.ClearEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.ClearEditor.EVENT_REMOVE = "EVENT_REMOVE"; BI.ClearEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.clear_editor", BI.ClearEditor); \ No newline at end of file +BI.shortcut("bi.clear_editor", BI.ClearEditor); \ No newline at end of file diff --git a/src/case/editor/editor.record.js b/src/case/editor/editor.record.js index 7f9845d4f..995aa3f78 100644 --- a/src/case/editor/editor.record.js +++ b/src/case/editor/editor.record.js @@ -224,4 +224,4 @@ BI.RecordEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.RecordEditor.EVENT_SPACE = "EVENT_SPACE"; BI.RecordEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.record_editor", BI.RecordEditor); \ No newline at end of file +BI.shortcut("bi.record_editor", BI.RecordEditor); \ No newline at end of file diff --git a/src/case/editor/editor.search.js b/src/case/editor/editor.search.js index 83281a6ae..3ecc7eed1 100644 --- a/src/case/editor/editor.search.js +++ b/src/case/editor/editor.search.js @@ -195,4 +195,4 @@ BI.SearchEditor.EVENT_ENTER = "EVENT_ENTER"; BI.SearchEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.SearchEditor.EVENT_REMOVE = "EVENT_REMOVE"; BI.SearchEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.search_editor", BI.SearchEditor); \ No newline at end of file +BI.shortcut("bi.search_editor", BI.SearchEditor); \ No newline at end of file diff --git a/src/case/editor/editor.search.small.js b/src/case/editor/editor.search.small.js index 0d35346c8..b8635072d 100644 --- a/src/case/editor/editor.search.small.js +++ b/src/case/editor/editor.search.small.js @@ -17,4 +17,4 @@ BI.SmallSearchEditor = BI.inherit(BI.SearchEditor, { BI.SmallSearchEditor.superclass._init.apply(this, arguments); } }); -$.shortcut("bi.small_search_editor", BI.SmallSearchEditor); \ No newline at end of file +BI.shortcut("bi.small_search_editor", BI.SmallSearchEditor); \ No newline at end of file diff --git a/src/case/editor/editor.shelter.js b/src/case/editor/editor.shelter.js index ee5c710e6..6e79a6198 100644 --- a/src/case/editor/editor.shelter.js +++ b/src/case/editor/editor.shelter.js @@ -247,4 +247,4 @@ BI.ShelterEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.ShelterEditor.EVENT_SPACE = "EVENT_SPACE"; BI.ShelterEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.shelter_editor", BI.ShelterEditor); \ No newline at end of file +BI.shortcut("bi.shelter_editor", BI.ShelterEditor); \ No newline at end of file diff --git a/src/case/editor/editor.sign.initial.js b/src/case/editor/editor.sign.initial.js index b8bbf6b12..9729e217f 100644 --- a/src/case/editor/editor.sign.initial.js +++ b/src/case/editor/editor.sign.initial.js @@ -162,4 +162,4 @@ BI.SignInitialEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.SignInitialEditor.EVENT_SPACE = "EVENT_SPACE"; BI.SignInitialEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.sign_initial_editor", BI.SignInitialEditor); \ No newline at end of file +BI.shortcut("bi.sign_initial_editor", BI.SignInitialEditor); \ No newline at end of file diff --git a/src/case/editor/editor.sign.js b/src/case/editor/editor.sign.js index 66de66a30..cad205dce 100644 --- a/src/case/editor/editor.sign.js +++ b/src/case/editor/editor.sign.js @@ -252,4 +252,4 @@ BI.SignEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.SignEditor.EVENT_SPACE = "EVENT_SPACE"; BI.SignEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.sign_editor", BI.SignEditor); \ No newline at end of file +BI.shortcut("bi.sign_editor", BI.SignEditor); \ No newline at end of file diff --git a/src/case/editor/editor.sign.style.js b/src/case/editor/editor.sign.style.js index 7f289ac72..13c16cfaa 100644 --- a/src/case/editor/editor.sign.style.js +++ b/src/case/editor/editor.sign.style.js @@ -257,4 +257,4 @@ BI.SignStyleEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.SignStyleEditor.EVENT_SPACE = "EVENT_SPACE"; BI.SignStyleEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.sign_style_editor", BI.SignStyleEditor); \ No newline at end of file +BI.shortcut("bi.sign_style_editor", BI.SignStyleEditor); \ No newline at end of file diff --git a/src/case/editor/editor.state.js b/src/case/editor/editor.state.js index 7bb1b0a2c..ac4a580b1 100644 --- a/src/case/editor/editor.state.js +++ b/src/case/editor/editor.state.js @@ -278,4 +278,4 @@ BI.StateEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.StateEditor.EVENT_SPACE = "EVENT_SPACE"; BI.StateEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.state_editor", BI.StateEditor); \ No newline at end of file +BI.shortcut("bi.state_editor", BI.StateEditor); \ No newline at end of file diff --git a/src/case/editor/editor.state.simple.js b/src/case/editor/editor.state.simple.js index 3719d4609..f8a918f2a 100644 --- a/src/case/editor/editor.state.simple.js +++ b/src/case/editor/editor.state.simple.js @@ -258,4 +258,4 @@ BI.SimpleStateEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.SimpleStateEditor.EVENT_SPACE = "EVENT_SPACE"; BI.SimpleStateEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.simple_state_editor", BI.SimpleStateEditor); \ No newline at end of file +BI.shortcut("bi.simple_state_editor", BI.SimpleStateEditor); \ No newline at end of file diff --git a/src/case/editor/editor.text.js b/src/case/editor/editor.text.js index 46a4476c3..6bca9d337 100644 --- a/src/case/editor/editor.text.js +++ b/src/case/editor/editor.text.js @@ -167,4 +167,4 @@ BI.TextEditor.EVENT_RESTRICT = "EVENT_RESTRICT"; BI.TextEditor.EVENT_REMOVE = "EVENT_REMOVE"; BI.TextEditor.EVENT_EMPTY = "EVENT_EMPTY"; -$.shortcut("bi.text_editor", BI.TextEditor); \ No newline at end of file +BI.shortcut("bi.text_editor", BI.TextEditor); \ No newline at end of file diff --git a/src/case/editor/editor.text.small.js b/src/case/editor/editor.text.small.js index f0becab89..81fee1d7d 100644 --- a/src/case/editor/editor.text.small.js +++ b/src/case/editor/editor.text.small.js @@ -17,4 +17,4 @@ BI.SmallTextEditor = BI.inherit(BI.TextEditor, { BI.SmallTextEditor.superclass._init.apply(this, arguments); } }); -$.shortcut("bi.small_text_editor", BI.SmallTextEditor); \ No newline at end of file +BI.shortcut("bi.small_text_editor", BI.SmallTextEditor); \ No newline at end of file diff --git a/src/case/layer/layer.multiselect.js b/src/case/layer/layer.multiselect.js index c32a8777b..d1213f4f9 100644 --- a/src/case/layer/layer.multiselect.js +++ b/src/case/layer/layer.multiselect.js @@ -61,4 +61,4 @@ BI.MultiPopupView = BI.inherit(BI.PopupView, { BI.MultiPopupView.EVENT_CHANGE = "EVENT_CHANGE"; BI.MultiPopupView.EVENT_CLICK_TOOLBAR_BUTTON = "EVENT_CLICK_TOOLBAR_BUTTON"; -$.shortcut("bi.multi_popup_view", BI.MultiPopupView); \ No newline at end of file +BI.shortcut("bi.multi_popup_view", BI.MultiPopupView); \ No newline at end of file diff --git a/src/case/layer/layer.panel.js b/src/case/layer/layer.panel.js index 772bde034..0bd402b82 100644 --- a/src/case/layer/layer.panel.js +++ b/src/case/layer/layer.panel.js @@ -54,4 +54,4 @@ BI.PopupPanel.EVENT_CHANGE = "EVENT_CHANGE"; BI.PopupPanel.EVENT_CLOSE = "EVENT_CLOSE"; BI.PopupPanel.EVENT_CLICK_TOOLBAR_BUTTON = "EVENT_CLICK_TOOLBAR_BUTTON"; -$.shortcut("bi.popup_panel", BI.PopupPanel); \ No newline at end of file +BI.shortcut("bi.popup_panel", BI.PopupPanel); \ No newline at end of file diff --git a/src/case/layer/pane.list.js b/src/case/layer/pane.list.js index 4267917f5..b7faf2758 100644 --- a/src/case/layer/pane.list.js +++ b/src/case/layer/pane.list.js @@ -169,4 +169,4 @@ BI.ListPane = BI.inherit(BI.Pane, { } }); BI.ListPane.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.list_pane", BI.ListPane); \ No newline at end of file +BI.shortcut("bi.list_pane", BI.ListPane); \ No newline at end of file diff --git a/src/case/layer/panel.js b/src/case/layer/panel.js index 9f91402ff..2e25b4f21 100644 --- a/src/case/layer/panel.js +++ b/src/case/layer/panel.js @@ -76,4 +76,4 @@ BI.Panel = BI.inherit(BI.Widget,{ }); BI.Panel.EVENT_CHANGE = "Panel.EVENT_CHANGE"; -$.shortcut("bi.panel",BI.Panel); \ No newline at end of file +BI.shortcut("bi.panel",BI.Panel); \ No newline at end of file diff --git a/src/case/list/list.select.js b/src/case/list/list.select.js index 8b97dd9f3..4c3ad99d4 100644 --- a/src/case/list/list.select.js +++ b/src/case/list/list.select.js @@ -206,4 +206,4 @@ BI.SelectList = BI.inherit(BI.Widget, { } }); BI.SelectList.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.select_list", BI.SelectList); \ No newline at end of file +BI.shortcut("bi.select_list", BI.SelectList); \ No newline at end of file diff --git a/src/case/loader/loader.lazy.js b/src/case/loader/loader.lazy.js index b3a639ef9..76fa3ea99 100644 --- a/src/case/loader/loader.lazy.js +++ b/src/case/loader/loader.lazy.js @@ -103,4 +103,4 @@ BI.LazyLoader = BI.inherit(BI.Widget, { } }); BI.LazyLoader.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.lazy_loader", BI.LazyLoader); \ No newline at end of file +BI.shortcut("bi.lazy_loader", BI.LazyLoader); \ No newline at end of file diff --git a/src/case/loader/loader.list.js b/src/case/loader/loader.list.js index 88d95fd92..22c81eb1f 100644 --- a/src/case/loader/loader.list.js +++ b/src/case/loader/loader.list.js @@ -197,4 +197,4 @@ BI.ListLoader = BI.inherit(BI.Widget, { } }); BI.ListLoader.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.list_loader", BI.ListLoader); \ No newline at end of file +BI.shortcut("bi.list_loader", BI.ListLoader); \ No newline at end of file diff --git a/src/case/loader/sort.list.js b/src/case/loader/sort.list.js index 597d52b44..97f81c98a 100644 --- a/src/case/loader/sort.list.js +++ b/src/case/loader/sort.list.js @@ -174,4 +174,4 @@ BI.SortList = BI.inherit(BI.Widget, { } }); BI.SortList.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.sort_list", BI.SortList); \ No newline at end of file +BI.shortcut("bi.sort_list", BI.SortList); \ No newline at end of file diff --git a/src/case/pager/pager.all.count.js b/src/case/pager/pager.all.count.js index d0451c6ee..42ab6eaca 100644 --- a/src/case/pager/pager.all.count.js +++ b/src/case/pager/pager.all.count.js @@ -160,4 +160,4 @@ BI.AllCountPager = BI.inherit(BI.Widget, { } }); BI.AllCountPager.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.all_count_pager", BI.AllCountPager); \ No newline at end of file +BI.shortcut("bi.all_count_pager", BI.AllCountPager); \ No newline at end of file diff --git a/src/case/pager/pager.direction.js b/src/case/pager/pager.direction.js index bba377d57..3ae115dd4 100644 --- a/src/case/pager/pager.direction.js +++ b/src/case/pager/pager.direction.js @@ -274,4 +274,4 @@ BI.DirectionPager = BI.inherit(BI.Widget, { } }); BI.DirectionPager.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.direction_pager", BI.DirectionPager); \ No newline at end of file +BI.shortcut("bi.direction_pager", BI.DirectionPager); \ No newline at end of file diff --git a/src/case/pager/pager.js b/src/case/pager/pager.js index 2712f29c7..7097d3ff2 100644 --- a/src/case/pager/pager.js +++ b/src/case/pager/pager.js @@ -285,4 +285,4 @@ BI.DetailPager = BI.inherit(BI.Widget, { }); BI.DetailPager.EVENT_CHANGE = "EVENT_CHANGE"; BI.DetailPager.EVENT_AFTER_POPULATE = "EVENT_AFTER_POPULATE"; -$.shortcut("bi.detail_pager", BI.DetailPager); \ No newline at end of file +BI.shortcut("bi.detail_pager", BI.DetailPager); \ No newline at end of file diff --git a/src/case/segment/button.segment.js b/src/case/segment/button.segment.js index 071551f9c..2e35fcaa5 100644 --- a/src/case/segment/button.segment.js +++ b/src/case/segment/button.segment.js @@ -47,4 +47,4 @@ BI.SegmentButton = BI.inherit(BI.BasicButton, { BI.SegmentButton.superclass.destroy.apply(this, arguments); } }); -$.shortcut('bi.segment_button', BI.SegmentButton); \ No newline at end of file +BI.shortcut('bi.segment_button', BI.SegmentButton); \ No newline at end of file diff --git a/src/case/segment/segment.js b/src/case/segment/segment.js index 750b35a57..0979baaa0 100644 --- a/src/case/segment/segment.js +++ b/src/case/segment/segment.js @@ -55,4 +55,4 @@ BI.Segment = BI.inherit(BI.Widget, { } }); BI.Segment.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.segment', BI.Segment); \ No newline at end of file +BI.shortcut('bi.segment', BI.Segment); \ No newline at end of file diff --git a/src/case/table/table.adaptive.js b/src/case/table/table.adaptive.js index 1ac21831f..febaf611e 100644 --- a/src/case/table/table.adaptive.js +++ b/src/case/table/table.adaptive.js @@ -232,4 +232,4 @@ BI.AdaptiveTable = BI.inherit(BI.Widget, { BI.AdaptiveTable.superclass.destroy.apply(this, arguments); } }); -$.shortcut('bi.adaptive_table', BI.AdaptiveTable); \ No newline at end of file +BI.shortcut('bi.adaptive_table', BI.AdaptiveTable); \ No newline at end of file diff --git a/src/case/table/table.dynamicsummarylayertree.js b/src/case/table/table.dynamicsummarylayertree.js index 219b904ab..d7e8599c2 100644 --- a/src/case/table/table.dynamicsummarylayertree.js +++ b/src/case/table/table.dynamicsummarylayertree.js @@ -330,4 +330,4 @@ BI.DynamicSummaryLayerTreeTable = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.dynamic_summary_layer_tree_table", BI.DynamicSummaryLayerTreeTable); \ No newline at end of file +BI.shortcut("bi.dynamic_summary_layer_tree_table", BI.DynamicSummaryLayerTreeTable); \ No newline at end of file diff --git a/src/case/table/table.dynamicsummarytree.js b/src/case/table/table.dynamicsummarytree.js index 747d6513e..02f686399 100644 --- a/src/case/table/table.dynamicsummarytree.js +++ b/src/case/table/table.dynamicsummarytree.js @@ -344,4 +344,4 @@ BI.extend(BI.DynamicSummaryTreeTable, { } }); -$.shortcut("bi.dynamic_summary_tree_table", BI.DynamicSummaryTreeTable); \ No newline at end of file +BI.shortcut("bi.dynamic_summary_tree_table", BI.DynamicSummaryTreeTable); \ No newline at end of file diff --git a/src/case/table/table.layertree.js b/src/case/table/table.layertree.js index 70c5f722b..a84682014 100644 --- a/src/case/table/table.layertree.js +++ b/src/case/table/table.layertree.js @@ -316,4 +316,4 @@ BI.LayerTreeTable = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.layer_tree_table", BI.LayerTreeTable); \ No newline at end of file +BI.shortcut("bi.layer_tree_table", BI.LayerTreeTable); \ No newline at end of file diff --git a/src/case/table/table.style.cell.js b/src/case/table/table.style.cell.js index ff7762d9d..25911fc26 100644 --- a/src/case/table/table.style.cell.js +++ b/src/case/table/table.style.cell.js @@ -43,4 +43,4 @@ BI.TableStyleCell = BI.inherit(BI.Single, { this._digestStyle(); } }); -$.shortcut('bi.table_style_cell', BI.TableStyleCell); \ No newline at end of file +BI.shortcut('bi.table_style_cell', BI.TableStyleCell); \ No newline at end of file diff --git a/src/case/table/table.tree.js b/src/case/table/table.tree.js index a53479066..d07d096a0 100644 --- a/src/case/table/table.tree.js +++ b/src/case/table/table.tree.js @@ -327,4 +327,4 @@ BI.extend(BI.TableTree, { } }); -$.shortcut("bi.tree_table", BI.TableTree); \ No newline at end of file +BI.shortcut("bi.tree_table", BI.TableTree); \ No newline at end of file diff --git a/src/case/toolbar/toolbar.multiselect.js b/src/case/toolbar/toolbar.multiselect.js index 789081a37..262167d24 100644 --- a/src/case/toolbar/toolbar.multiselect.js +++ b/src/case/toolbar/toolbar.multiselect.js @@ -131,4 +131,4 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, { } }); BI.MultiSelectBar.EVENT_CHANGE = "MultiSelectBar.EVENT_CHANGE"; -$.shortcut("bi.multi_select_bar", BI.MultiSelectBar); \ No newline at end of file +BI.shortcut("bi.multi_select_bar", BI.MultiSelectBar); \ No newline at end of file diff --git a/src/case/tree/expander/expander.branch.handstand.js b/src/case/tree/expander/expander.branch.handstand.js index cce5e1400..69595011e 100644 --- a/src/case/tree/expander/expander.branch.handstand.js +++ b/src/case/tree/expander/expander.branch.handstand.js @@ -57,4 +57,4 @@ BI.HandStandBranchExpander = BI.inherit(BI.Widget, { } }); BI.HandStandBranchExpander.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.handstand_branch_expander", BI.HandStandBranchExpander); \ No newline at end of file +BI.shortcut("bi.handstand_branch_expander", BI.HandStandBranchExpander); \ No newline at end of file diff --git a/src/case/tree/expander/expander.branch.js b/src/case/tree/expander/expander.branch.js index 6dec2188a..5a70ade0a 100644 --- a/src/case/tree/expander/expander.branch.js +++ b/src/case/tree/expander/expander.branch.js @@ -57,4 +57,4 @@ BI.BranchExpander = BI.inherit(BI.Widget, { } }); BI.BranchExpander.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.branch_expander", BI.BranchExpander); \ No newline at end of file +BI.shortcut("bi.branch_expander", BI.BranchExpander); \ No newline at end of file diff --git a/src/case/tree/tree.branch.handstand.js b/src/case/tree/tree.branch.handstand.js index 02b29c01b..0259daa40 100644 --- a/src/case/tree/tree.branch.handstand.js +++ b/src/case/tree/tree.branch.handstand.js @@ -52,4 +52,4 @@ BI.HandStandBranchTree = BI.inherit(BI.Widget, { } }); BI.HandStandBranchTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.handstand_branch_tree", BI.HandStandBranchTree); \ No newline at end of file +BI.shortcut("bi.handstand_branch_tree", BI.HandStandBranchTree); \ No newline at end of file diff --git a/src/case/tree/tree.branch.js b/src/case/tree/tree.branch.js index d7af2226d..f1c5334db 100644 --- a/src/case/tree/tree.branch.js +++ b/src/case/tree/tree.branch.js @@ -52,4 +52,4 @@ BI.BranchTree = BI.inherit(BI.Widget, { } }); BI.BranchTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.branch_tree", BI.BranchTree); \ No newline at end of file +BI.shortcut("bi.branch_tree", BI.BranchTree); \ No newline at end of file diff --git a/src/case/tree/tree.display.js b/src/case/tree/tree.display.js index 247b4a445..d88b3ee72 100644 --- a/src/case/tree/tree.display.js +++ b/src/case/tree/tree.display.js @@ -55,4 +55,4 @@ BI.DisplayTree = BI.inherit(BI.TreeView, { }); BI.DisplayTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.display_tree", BI.DisplayTree); \ No newline at end of file +BI.shortcut("bi.display_tree", BI.DisplayTree); \ No newline at end of file diff --git a/src/case/tree/tree.level.js b/src/case/tree/tree.level.js index c6c213ab5..290dc1462 100644 --- a/src/case/tree/tree.level.js +++ b/src/case/tree/tree.level.js @@ -134,4 +134,4 @@ BI.LevelTree = BI.inherit(BI.Widget, { }); BI.LevelTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.level_tree", BI.LevelTree); \ No newline at end of file +BI.shortcut("bi.level_tree", BI.LevelTree); \ No newline at end of file diff --git a/src/case/tree/tree.simple.js b/src/case/tree/tree.simple.js index 677ee6e63..fc267b49d 100644 --- a/src/case/tree/tree.simple.js +++ b/src/case/tree/tree.simple.js @@ -118,4 +118,4 @@ BI.SimpleTreeView = BI.inherit(BI.Widget, { } }); BI.SimpleTreeView.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.simple_tree", BI.SimpleTreeView); +BI.shortcut("bi.simple_tree", BI.SimpleTreeView); diff --git a/src/case/trigger/trigger.editor.js b/src/case/trigger/trigger.editor.js index 5c78215c5..27eafb528 100644 --- a/src/case/trigger/trigger.editor.js +++ b/src/case/trigger/trigger.editor.js @@ -76,4 +76,4 @@ BI.EditorTrigger = BI.inherit(BI.Trigger, { } }); BI.EditorTrigger.EVENT_CHANGE = "BI.EditorTrigger.EVENT_CHANGE"; -$.shortcut("bi.editor_trigger", BI.EditorTrigger); \ No newline at end of file +BI.shortcut("bi.editor_trigger", BI.EditorTrigger); \ No newline at end of file diff --git a/src/case/trigger/trigger.icon.js b/src/case/trigger/trigger.icon.js index 330ca2703..01d59a759 100644 --- a/src/case/trigger/trigger.icon.js +++ b/src/case/trigger/trigger.icon.js @@ -25,4 +25,4 @@ BI.IconTrigger = BI.inherit(BI.Trigger, { }); } }); -$.shortcut('bi.icon_trigger', BI.IconTrigger); \ No newline at end of file +BI.shortcut('bi.icon_trigger', BI.IconTrigger); \ No newline at end of file diff --git a/src/case/trigger/trigger.text.js b/src/case/trigger/trigger.text.js index d9747d36f..91b73742c 100644 --- a/src/case/trigger/trigger.text.js +++ b/src/case/trigger/trigger.text.js @@ -64,4 +64,4 @@ BI.TextTrigger = BI.inherit(BI.Trigger, { this.text.setTitle(text); } }); -$.shortcut("bi.text_trigger", BI.TextTrigger); \ No newline at end of file +BI.shortcut("bi.text_trigger", BI.TextTrigger); \ No newline at end of file diff --git a/src/case/trigger/trigger.text.select.js b/src/case/trigger/trigger.text.select.js index c266abe77..0fb63d636 100644 --- a/src/case/trigger/trigger.text.select.js +++ b/src/case/trigger/trigger.text.select.js @@ -52,4 +52,4 @@ BI.SelectTextTrigger = BI.inherit(BI.Trigger, { this.options.items = items; } }); -$.shortcut("bi.select_text_trigger", BI.SelectTextTrigger); \ No newline at end of file +BI.shortcut("bi.select_text_trigger", BI.SelectTextTrigger); \ No newline at end of file diff --git a/src/case/trigger/trigger.text.select.small.js b/src/case/trigger/trigger.text.select.small.js index e4e23a998..891ca9a41 100644 --- a/src/case/trigger/trigger.text.select.small.js +++ b/src/case/trigger/trigger.text.select.small.js @@ -51,4 +51,4 @@ BI.SmallSelectTextTrigger = BI.inherit(BI.Trigger, { this.options.items = items; } }); -$.shortcut("bi.small_select_text_trigger", BI.SmallSelectTextTrigger); \ No newline at end of file +BI.shortcut("bi.small_select_text_trigger", BI.SmallSelectTextTrigger); \ No newline at end of file diff --git a/src/case/trigger/trigger.text.small.js b/src/case/trigger/trigger.text.small.js index f6a4c3863..b524e9a6a 100644 --- a/src/case/trigger/trigger.text.small.js +++ b/src/case/trigger/trigger.text.small.js @@ -61,4 +61,4 @@ BI.SmallTextTrigger = BI.inherit(BI.Trigger, { this.text.setText(text); } }); -$.shortcut("bi.small_text_trigger", BI.SmallTextTrigger); \ No newline at end of file +BI.shortcut("bi.small_text_trigger", BI.SmallTextTrigger); \ No newline at end of file diff --git a/src/case/zclip/zclip.js b/src/case/zclip/zclip.js index 673dfc0ed..4c0792aae 100644 --- a/src/case/zclip/zclip.js +++ b/src/case/zclip/zclip.js @@ -28,4 +28,4 @@ BI.ZeroClip = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.zero_clip", BI.ZeroClip); \ No newline at end of file +BI.shortcut("bi.zero_clip", BI.ZeroClip); \ No newline at end of file diff --git a/src/component/allvaluechooser/combo.allvaluechooser.js b/src/component/allvaluechooser/combo.allvaluechooser.js index 5003ed51c..2b059eff0 100644 --- a/src/component/allvaluechooser/combo.allvaluechooser.js +++ b/src/component/allvaluechooser/combo.allvaluechooser.js @@ -30,7 +30,7 @@ BI.AllValueChooserCombo = BI.inherit(BI.Widget, { } this.combo = BI.createWidget({ type: 'bi.multi_select_combo', - element: this.element, + element: this, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: function (v) { var text = v; @@ -115,4 +115,4 @@ BI.AllValueChooserCombo = BI.inherit(BI.Widget, { } }); BI.AllValueChooserCombo.EVENT_CONFIRM = "AllValueChooserCombo.EVENT_CONFIRM"; -$.shortcut('bi.all_value_chooser_combo', BI.AllValueChooserCombo); \ No newline at end of file +BI.shortcut('bi.all_value_chooser_combo', BI.AllValueChooserCombo); \ No newline at end of file diff --git a/src/component/treevaluechooser/combo.treevaluechooser.js b/src/component/treevaluechooser/combo.treevaluechooser.js index e0011cbf7..3326bd39d 100644 --- a/src/component/treevaluechooser/combo.treevaluechooser.js +++ b/src/component/treevaluechooser/combo.treevaluechooser.js @@ -29,7 +29,7 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { } this.combo = BI.createWidget({ type: 'bi.multi_tree_combo', - element: this.element, + element: this, itemsCreator: BI.bind(this._itemsCreator, this), width: o.width, height: o.height @@ -596,4 +596,4 @@ BI.TreeValueChooserCombo = BI.inherit(BI.Widget, { } }); BI.TreeValueChooserCombo.EVENT_CONFIRM = "TreeValueChooserCombo.EVENT_CONFIRM"; -$.shortcut('bi.tree_value_chooser_combo', BI.TreeValueChooserCombo); \ No newline at end of file +BI.shortcut('bi.tree_value_chooser_combo', BI.TreeValueChooserCombo); \ No newline at end of file diff --git a/src/component/valuechooser/combo.valuechooser.js b/src/component/valuechooser/combo.valuechooser.js index 30ffa1a02..d130dc590 100644 --- a/src/component/valuechooser/combo.valuechooser.js +++ b/src/component/valuechooser/combo.valuechooser.js @@ -30,7 +30,7 @@ BI.ValueChooserCombo = BI.inherit(BI.Widget, { } this.combo = BI.createWidget({ type: 'bi.multi_select_combo', - element: this.element, + element: this, itemsCreator: BI.bind(this._itemsCreator, this), valueFormatter: function (v) { var text = v; @@ -124,4 +124,4 @@ BI.ValueChooserCombo = BI.inherit(BI.Widget, { } }); BI.ValueChooserCombo.EVENT_CONFIRM = "ValueChooserCombo.EVENT_CONFIRM"; -$.shortcut('bi.value_chooser_combo', BI.ValueChooserCombo); \ No newline at end of file +BI.shortcut('bi.value_chooser_combo', BI.ValueChooserCombo); \ No newline at end of file diff --git a/src/core/shortcut.js b/src/core/shortcut.js index 265dd8a26..bd8841c9c 100644 --- a/src/core/shortcut.js +++ b/src/core/shortcut.js @@ -1,24 +1,18 @@ -(function ($) { +(function () { var kv = {}; // alex:键(编辑器简称,如text)值(也是一个字符串,如FR.TextEditor)对 - $.shortcut = BI.shortcut = function (xtype, cls) { + BI.shortcut = function (xtype, cls) { if (kv[xtype] != null) { throw ("shortcut:[" + xtype + "] has been registed"); } kv[xtype] = cls; - $.extend(cls.prototype, { + _.extend(cls.prototype, { xtype: xtype }) }; // 根据配置属性生成widget var createWidget = function (config) { - // alex:如果是一个jquery对象,就在外面套一层,变成一个FR.Widget - if (config instanceof $) { - return new BI.Widget({ - element: config - }); - } if (config['classType']) { return new (new Function('return ' + config['classType'] + ';')())(config); } @@ -56,4 +50,4 @@ throw new Error('无法根据item创建组件'); } -})(jQuery); \ No newline at end of file +})(); \ No newline at end of file diff --git a/src/core/wrapper/layout.js b/src/core/wrapper/layout.js index 09c15120e..7cadb57fa 100644 --- a/src/core/wrapper/layout.js +++ b/src/core/wrapper/layout.js @@ -369,4 +369,4 @@ BI.Layout = BI.inherit(BI.Widget, { } }); -$.shortcut('bi.layout', BI.Layout); \ No newline at end of file +BI.shortcut('bi.layout', BI.Layout); \ No newline at end of file diff --git a/src/core/wrapper/layout/adapt/absolute.center.js b/src/core/wrapper/layout/adapt/absolute.center.js index 5d3e66a72..47e6a61e3 100644 --- a/src/core/wrapper/layout/adapt/absolute.center.js +++ b/src/core/wrapper/layout/adapt/absolute.center.js @@ -44,4 +44,4 @@ BI.AbsoluteCenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.absolute_center_adapt', BI.AbsoluteCenterLayout); \ No newline at end of file +BI.shortcut('bi.absolute_center_adapt', BI.AbsoluteCenterLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/adapt/absolute.horizontal.js b/src/core/wrapper/layout/adapt/absolute.horizontal.js index ab82ff73c..3ac0f6ff3 100644 --- a/src/core/wrapper/layout/adapt/absolute.horizontal.js +++ b/src/core/wrapper/layout/adapt/absolute.horizontal.js @@ -48,4 +48,4 @@ BI.AbsoluteHorizontalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.absolute_horizontal_adapt', BI.AbsoluteHorizontalLayout); \ No newline at end of file +BI.shortcut('bi.absolute_horizontal_adapt', BI.AbsoluteHorizontalLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/adapt/absolute.vertical.js b/src/core/wrapper/layout/adapt/absolute.vertical.js index be82a0b9c..45d005a10 100644 --- a/src/core/wrapper/layout/adapt/absolute.vertical.js +++ b/src/core/wrapper/layout/adapt/absolute.vertical.js @@ -50,4 +50,4 @@ BI.AbsoluteVerticalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.absolute_vertical_adapt', BI.AbsoluteVerticalLayout); \ No newline at end of file +BI.shortcut('bi.absolute_vertical_adapt', BI.AbsoluteVerticalLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/adapt/adapt.center.js b/src/core/wrapper/layout/adapt/adapt.center.js index a6fe5c9dd..eda8913cc 100644 --- a/src/core/wrapper/layout/adapt/adapt.center.js +++ b/src/core/wrapper/layout/adapt/adapt.center.js @@ -116,4 +116,4 @@ BI.CenterAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.center_adapt', BI.CenterAdaptLayout); \ No newline at end of file +BI.shortcut('bi.center_adapt', BI.CenterAdaptLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/adapt/adapt.horizontal.js b/src/core/wrapper/layout/adapt/adapt.horizontal.js index 004217555..ae78b0823 100644 --- a/src/core/wrapper/layout/adapt/adapt.horizontal.js +++ b/src/core/wrapper/layout/adapt/adapt.horizontal.js @@ -115,4 +115,4 @@ BI.HorizontalAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.horizontal_adapt', BI.HorizontalAdaptLayout); \ No newline at end of file +BI.shortcut('bi.horizontal_adapt', BI.HorizontalAdaptLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/adapt/adapt.leftrightvertical.js b/src/core/wrapper/layout/adapt/adapt.leftrightvertical.js index 2048a05fb..a7b3897dc 100644 --- a/src/core/wrapper/layout/adapt/adapt.leftrightvertical.js +++ b/src/core/wrapper/layout/adapt/adapt.leftrightvertical.js @@ -73,7 +73,7 @@ BI.LeftRightVerticalAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.left_right_vertical_adapt', BI.LeftRightVerticalAdaptLayout); +BI.shortcut('bi.left_right_vertical_adapt', BI.LeftRightVerticalAdaptLayout); BI.LeftVerticalAdaptLayout = BI.inherit(BI.Layout, { @@ -122,7 +122,7 @@ BI.LeftVerticalAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.left_vertical_adapt', BI.LeftVerticalAdaptLayout); +BI.shortcut('bi.left_vertical_adapt', BI.LeftVerticalAdaptLayout); BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, { props: function () { @@ -170,4 +170,4 @@ BI.RightVerticalAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.right_vertical_adapt', BI.RightVerticalAdaptLayout); \ No newline at end of file +BI.shortcut('bi.right_vertical_adapt', BI.RightVerticalAdaptLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/adapt/adapt.vertical.js b/src/core/wrapper/layout/adapt/adapt.vertical.js index 473083050..7f87028ad 100644 --- a/src/core/wrapper/layout/adapt/adapt.vertical.js +++ b/src/core/wrapper/layout/adapt/adapt.vertical.js @@ -113,4 +113,4 @@ BI.VerticalAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.vertical_adapt', BI.VerticalAdaptLayout); \ No newline at end of file +BI.shortcut('bi.vertical_adapt', BI.VerticalAdaptLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/adapt/auto.horizontal.js b/src/core/wrapper/layout/adapt/auto.horizontal.js index ec28d0680..8461facd1 100644 --- a/src/core/wrapper/layout/adapt/auto.horizontal.js +++ b/src/core/wrapper/layout/adapt/auto.horizontal.js @@ -60,4 +60,4 @@ BI.HorizontalAutoLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.horizontal_auto', BI.HorizontalAutoLayout); \ No newline at end of file +BI.shortcut('bi.horizontal_auto', BI.HorizontalAutoLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/adapt/float.center.js b/src/core/wrapper/layout/adapt/float.center.js index 01f20f6e6..29d7367a8 100644 --- a/src/core/wrapper/layout/adapt/float.center.js +++ b/src/core/wrapper/layout/adapt/float.center.js @@ -66,4 +66,4 @@ BI.FloatCenterAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.float_center_adapt', BI.FloatCenterAdaptLayout); \ No newline at end of file +BI.shortcut('bi.float_center_adapt', BI.FloatCenterAdaptLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/adapt/float.horizontal.js b/src/core/wrapper/layout/adapt/float.horizontal.js index 138e83715..11f905bb4 100644 --- a/src/core/wrapper/layout/adapt/float.horizontal.js +++ b/src/core/wrapper/layout/adapt/float.horizontal.js @@ -62,4 +62,4 @@ BI.FloatHorizontalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.horizontal_float', BI.FloatHorizontalLayout); \ No newline at end of file +BI.shortcut('bi.horizontal_float', BI.FloatHorizontalLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/adapt/inline.center.js b/src/core/wrapper/layout/adapt/inline.center.js index a8582178e..4f3548016 100644 --- a/src/core/wrapper/layout/adapt/inline.center.js +++ b/src/core/wrapper/layout/adapt/inline.center.js @@ -95,4 +95,4 @@ BI.InlineCenterAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.inline_center_adapt', BI.InlineCenterAdaptLayout); \ No newline at end of file +BI.shortcut('bi.inline_center_adapt', BI.InlineCenterAdaptLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/adapt/inline.vertical.js b/src/core/wrapper/layout/adapt/inline.vertical.js index 0196a3f96..bf7eb5262 100644 --- a/src/core/wrapper/layout/adapt/inline.vertical.js +++ b/src/core/wrapper/layout/adapt/inline.vertical.js @@ -69,4 +69,4 @@ BI.InlineVerticalAdaptLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.inline_vertical_adapt', BI.InlineVerticalAdaptLayout); \ No newline at end of file +BI.shortcut('bi.inline_vertical_adapt', BI.InlineVerticalAdaptLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/flex/flex.center.js b/src/core/wrapper/layout/flex/flex.center.js index 6d46c8f16..f32f3ec07 100644 --- a/src/core/wrapper/layout/flex/flex.center.js +++ b/src/core/wrapper/layout/flex/flex.center.js @@ -32,4 +32,4 @@ BI.FlexCenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.flex_center', BI.FlexCenterLayout); \ No newline at end of file +BI.shortcut('bi.flex_center', BI.FlexCenterLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/flex/flex.horizontal.js b/src/core/wrapper/layout/flex/flex.horizontal.js index 0abdce3cd..b12fd06c9 100644 --- a/src/core/wrapper/layout/flex/flex.horizontal.js +++ b/src/core/wrapper/layout/flex/flex.horizontal.js @@ -63,4 +63,4 @@ BI.FlexHorizontalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.flex_horizontal', BI.FlexHorizontalLayout); \ No newline at end of file +BI.shortcut('bi.flex_horizontal', BI.FlexHorizontalLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/flex/flex.vertical.center.js b/src/core/wrapper/layout/flex/flex.vertical.center.js index 7a1e9708d..9e408e602 100644 --- a/src/core/wrapper/layout/flex/flex.vertical.center.js +++ b/src/core/wrapper/layout/flex/flex.vertical.center.js @@ -60,4 +60,4 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.flex_vertical_center', BI.FlexVerticalCenter); \ No newline at end of file +BI.shortcut('bi.flex_vertical_center', BI.FlexVerticalCenter); \ No newline at end of file diff --git a/src/core/wrapper/layout/flex/wrapper/flex.wrapper.center.js b/src/core/wrapper/layout/flex/wrapper/flex.wrapper.center.js index fb3f95fcd..cab37ba66 100644 --- a/src/core/wrapper/layout/flex/wrapper/flex.wrapper.center.js +++ b/src/core/wrapper/layout/flex/wrapper/flex.wrapper.center.js @@ -53,4 +53,4 @@ BI.FlexCenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.flex_wrapper_center', BI.FlexCenterLayout); \ No newline at end of file +BI.shortcut('bi.flex_wrapper_center', BI.FlexCenterLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/flex/wrapper/flex.wrapper.horizontal.js b/src/core/wrapper/layout/flex/wrapper/flex.wrapper.horizontal.js index 4214b2c80..8a9b3478b 100644 --- a/src/core/wrapper/layout/flex/wrapper/flex.wrapper.horizontal.js +++ b/src/core/wrapper/layout/flex/wrapper/flex.wrapper.horizontal.js @@ -83,4 +83,4 @@ BI.FlexHorizontalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.flex_wrapper_horizontal', BI.FlexHorizontalLayout); \ No newline at end of file +BI.shortcut('bi.flex_wrapper_horizontal', BI.FlexHorizontalLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/flex/wrapper/flex.wrapper.vertical.center.js b/src/core/wrapper/layout/flex/wrapper/flex.wrapper.vertical.center.js index 96cd78078..8cd8b6ba6 100644 --- a/src/core/wrapper/layout/flex/wrapper/flex.wrapper.vertical.center.js +++ b/src/core/wrapper/layout/flex/wrapper/flex.wrapper.vertical.center.js @@ -81,4 +81,4 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.flex_wrapper_vertical_center', BI.FlexVerticalCenter); \ No newline at end of file +BI.shortcut('bi.flex_wrapper_vertical_center', BI.FlexVerticalCenter); \ No newline at end of file diff --git a/src/core/wrapper/layout/layout.absolute.js b/src/core/wrapper/layout/layout.absolute.js index 715604d1d..88341698f 100644 --- a/src/core/wrapper/layout/layout.absolute.js +++ b/src/core/wrapper/layout/layout.absolute.js @@ -104,4 +104,4 @@ BI.AbsoluteLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.absolute', BI.AbsoluteLayout); \ No newline at end of file +BI.shortcut('bi.absolute', BI.AbsoluteLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/layout.adaptive.js b/src/core/wrapper/layout/layout.adaptive.js index 58110449c..30c1e926e 100644 --- a/src/core/wrapper/layout/layout.adaptive.js +++ b/src/core/wrapper/layout/layout.adaptive.js @@ -89,4 +89,4 @@ BI.AdaptiveLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.adaptive', BI.AdaptiveLayout); \ No newline at end of file +BI.shortcut('bi.adaptive', BI.AdaptiveLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/layout.border.js b/src/core/wrapper/layout/layout.border.js index a1cabf11d..f1e37ad7e 100644 --- a/src/core/wrapper/layout/layout.border.js +++ b/src/core/wrapper/layout/layout.border.js @@ -129,4 +129,4 @@ BI.BorderLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.border', BI.BorderLayout); \ No newline at end of file +BI.shortcut('bi.border', BI.BorderLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/layout.card.js b/src/core/wrapper/layout/layout.card.js index a8ab7d502..d4ea610d4 100644 --- a/src/core/wrapper/layout/layout.card.js +++ b/src/core/wrapper/layout/layout.card.js @@ -165,4 +165,4 @@ BI.CardLayout = BI.inherit(BI.Layout, { return flag; } }); -$.shortcut('bi.card', BI.CardLayout); \ No newline at end of file +BI.shortcut('bi.card', BI.CardLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/layout.default.js b/src/core/wrapper/layout/layout.default.js index c29a8372f..59998915c 100644 --- a/src/core/wrapper/layout/layout.default.js +++ b/src/core/wrapper/layout/layout.default.js @@ -56,4 +56,4 @@ BI.DefaultLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.default', BI.DefaultLayout); \ No newline at end of file +BI.shortcut('bi.default', BI.DefaultLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/layout.division.js b/src/core/wrapper/layout/layout.division.js index c400df8b6..0fd5926c2 100644 --- a/src/core/wrapper/layout/layout.division.js +++ b/src/core/wrapper/layout/layout.division.js @@ -154,4 +154,4 @@ BI.DivisionLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.division', BI.DivisionLayout); \ No newline at end of file +BI.shortcut('bi.division', BI.DivisionLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/layout.flow.js b/src/core/wrapper/layout/layout.flow.js index 23f7c3879..526919d3d 100644 --- a/src/core/wrapper/layout/layout.flow.js +++ b/src/core/wrapper/layout/layout.flow.js @@ -61,7 +61,7 @@ BI.FloatLeftLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.left', BI.FloatLeftLayout); +BI.shortcut('bi.left', BI.FloatLeftLayout); /** * 靠右对齐的自由浮动布局 @@ -126,4 +126,4 @@ BI.FloatRightLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.right', BI.FloatRightLayout); \ No newline at end of file +BI.shortcut('bi.right', BI.FloatRightLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/layout.grid.js b/src/core/wrapper/layout/layout.grid.js index 2963616ec..39cd8904b 100644 --- a/src/core/wrapper/layout/layout.grid.js +++ b/src/core/wrapper/layout/layout.grid.js @@ -123,4 +123,4 @@ BI.GridLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.grid', BI.GridLayout); \ No newline at end of file +BI.shortcut('bi.grid', BI.GridLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/layout.horizontal.js b/src/core/wrapper/layout/layout.horizontal.js index 94d30683d..1b7c82334 100644 --- a/src/core/wrapper/layout/layout.horizontal.js +++ b/src/core/wrapper/layout/layout.horizontal.js @@ -116,7 +116,7 @@ BI.HorizontalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.horizontal', BI.HorizontalLayout); +BI.shortcut('bi.horizontal', BI.HorizontalLayout); /** * 水平布局 @@ -178,4 +178,4 @@ BI.HorizontalCellLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.horizontal_cell', BI.HorizontalCellLayout); \ No newline at end of file +BI.shortcut('bi.horizontal_cell', BI.HorizontalCellLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/layout.inline.js b/src/core/wrapper/layout/layout.inline.js index 04c77b148..c95be1c2a 100644 --- a/src/core/wrapper/layout/layout.inline.js +++ b/src/core/wrapper/layout/layout.inline.js @@ -60,4 +60,4 @@ BI.InlineLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.inline', BI.InlineLayout); \ No newline at end of file +BI.shortcut('bi.inline', BI.InlineLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/layout.lattice.js b/src/core/wrapper/layout/layout.lattice.js index 6bbe195df..06a41213c 100644 --- a/src/core/wrapper/layout/layout.lattice.js +++ b/src/core/wrapper/layout/layout.lattice.js @@ -52,4 +52,4 @@ BI.LatticeLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.lattice', BI.LatticeLayout); \ No newline at end of file +BI.shortcut('bi.lattice', BI.LatticeLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/layout.table.js b/src/core/wrapper/layout/layout.table.js index 5040ffe0e..d6d43c6dd 100644 --- a/src/core/wrapper/layout/layout.table.js +++ b/src/core/wrapper/layout/layout.table.js @@ -143,4 +143,4 @@ BI.TableLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.table', BI.TableLayout); \ No newline at end of file +BI.shortcut('bi.table', BI.TableLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/layout.tape.js b/src/core/wrapper/layout/layout.tape.js index ca700cbc3..713695295 100644 --- a/src/core/wrapper/layout/layout.tape.js +++ b/src/core/wrapper/layout/layout.tape.js @@ -100,7 +100,7 @@ BI.HTapeLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.htape', BI.HTapeLayout); +BI.shortcut('bi.htape', BI.HTapeLayout); /** * 垂直tape布局 @@ -205,4 +205,4 @@ BI.VTapeLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.vtape', BI.VTapeLayout); \ No newline at end of file +BI.shortcut('bi.vtape', BI.VTapeLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/layout.td.js b/src/core/wrapper/layout/layout.td.js index 85af712a8..21b92d19b 100644 --- a/src/core/wrapper/layout/layout.td.js +++ b/src/core/wrapper/layout/layout.td.js @@ -139,4 +139,4 @@ BI.TdLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.td', BI.TdLayout); \ No newline at end of file +BI.shortcut('bi.td', BI.TdLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/layout.vertical.js b/src/core/wrapper/layout/layout.vertical.js index 8eb7055b1..142214f88 100644 --- a/src/core/wrapper/layout/layout.vertical.js +++ b/src/core/wrapper/layout/layout.vertical.js @@ -59,4 +59,4 @@ BI.VerticalLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.vertical', BI.VerticalLayout); \ No newline at end of file +BI.shortcut('bi.vertical', BI.VerticalLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/layout.window.js b/src/core/wrapper/layout/layout.window.js index 71e0ee2e9..496aa4fc8 100644 --- a/src/core/wrapper/layout/layout.window.js +++ b/src/core/wrapper/layout/layout.window.js @@ -185,4 +185,4 @@ BI.WindowLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.window', BI.WindowLayout); \ No newline at end of file +BI.shortcut('bi.window', BI.WindowLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/middle/middle.center.js b/src/core/wrapper/layout/middle/middle.center.js index b3364ac89..2c2d35e30 100644 --- a/src/core/wrapper/layout/middle/middle.center.js +++ b/src/core/wrapper/layout/middle/middle.center.js @@ -72,4 +72,4 @@ BI.CenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.center', BI.CenterLayout); \ No newline at end of file +BI.shortcut('bi.center', BI.CenterLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/middle/middle.float.center.js b/src/core/wrapper/layout/middle/middle.float.center.js index 737a910d5..f8c8eeb79 100644 --- a/src/core/wrapper/layout/middle/middle.float.center.js +++ b/src/core/wrapper/layout/middle/middle.float.center.js @@ -71,4 +71,4 @@ BI.FloatCenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.float_center', BI.FloatCenterLayout); \ No newline at end of file +BI.shortcut('bi.float_center', BI.FloatCenterLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/middle/middle.horizontal.js b/src/core/wrapper/layout/middle/middle.horizontal.js index 581d37bfd..d024beba9 100644 --- a/src/core/wrapper/layout/middle/middle.horizontal.js +++ b/src/core/wrapper/layout/middle/middle.horizontal.js @@ -70,4 +70,4 @@ BI.HorizontalCenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.horizontal_center', BI.HorizontalCenterLayout); \ No newline at end of file +BI.shortcut('bi.horizontal_center', BI.HorizontalCenterLayout); \ No newline at end of file diff --git a/src/core/wrapper/layout/middle/middle.vertical.js b/src/core/wrapper/layout/middle/middle.vertical.js index a57d4e621..c3c2a9c9d 100644 --- a/src/core/wrapper/layout/middle/middle.vertical.js +++ b/src/core/wrapper/layout/middle/middle.vertical.js @@ -70,4 +70,4 @@ BI.VerticalCenterLayout = BI.inherit(BI.Layout, { this._mount(); } }); -$.shortcut('bi.vertical_center', BI.VerticalCenterLayout); \ No newline at end of file +BI.shortcut('bi.vertical_center', BI.VerticalCenterLayout); \ No newline at end of file diff --git a/src/widget/adaptivearrangement/adaptivearrangement.js b/src/widget/adaptivearrangement/adaptivearrangement.js index ec72886ac..7dfb8f5be 100644 --- a/src/widget/adaptivearrangement/adaptivearrangement.js +++ b/src/widget/adaptivearrangement/adaptivearrangement.js @@ -511,4 +511,4 @@ BI.AdaptiveArrangement.EVENT_ELEMENT_START_RESIZE = "AdaptiveArrangement.EVENT_E BI.AdaptiveArrangement.EVENT_ELEMENT_RESIZE = "AdaptiveArrangement.EVENT_ELEMENT_RESIZE"; BI.AdaptiveArrangement.EVENT_ELEMENT_STOP_RESIZE = "AdaptiveArrangement.EVENT_ELEMENT_STOP_RESIZE"; BI.AdaptiveArrangement.EVENT_RESIZE = "AdaptiveArrangement.EVENT_RESIZE"; -$.shortcut('bi.adaptive_arrangement', BI.AdaptiveArrangement); \ No newline at end of file +BI.shortcut('bi.adaptive_arrangement', BI.AdaptiveArrangement); \ No newline at end of file diff --git a/src/widget/arrangement/arrangement.block.js b/src/widget/arrangement/arrangement.block.js index cbdac2de2..3e5641526 100644 --- a/src/widget/arrangement/arrangement.block.js +++ b/src/widget/arrangement/arrangement.block.js @@ -19,4 +19,4 @@ BI.ArrangementBlock = BI.inherit(BI.Widget, { } }); -$.shortcut('bi.arrangement_block', BI.ArrangementBlock); \ No newline at end of file +BI.shortcut('bi.arrangement_block', BI.ArrangementBlock); \ No newline at end of file diff --git a/src/widget/arrangement/arrangement.droppable.js b/src/widget/arrangement/arrangement.droppable.js index c54914aff..eeb225237 100644 --- a/src/widget/arrangement/arrangement.droppable.js +++ b/src/widget/arrangement/arrangement.droppable.js @@ -19,4 +19,4 @@ BI.ArrangementDroppable = BI.inherit(BI.Widget, { } }); -$.shortcut('bi.arrangement_droppable', BI.ArrangementDroppable); \ No newline at end of file +BI.shortcut('bi.arrangement_droppable', BI.ArrangementDroppable); \ No newline at end of file diff --git a/src/widget/arrangement/arrangement.js b/src/widget/arrangement/arrangement.js index ad1420cab..42ee9b7c9 100644 --- a/src/widget/arrangement/arrangement.js +++ b/src/widget/arrangement/arrangement.js @@ -2932,4 +2932,4 @@ BI.extend(BI.Arrangement, { GRID: 2 } }); -$.shortcut('bi.arrangement', BI.Arrangement); \ No newline at end of file +BI.shortcut('bi.arrangement', BI.Arrangement); \ No newline at end of file diff --git a/src/widget/branchrelation/branchrelation.js b/src/widget/branchrelation/branchrelation.js index 5a3e9a8c7..c390e3ea7 100644 --- a/src/widget/branchrelation/branchrelation.js +++ b/src/widget/branchrelation/branchrelation.js @@ -495,4 +495,4 @@ BI.BranchRelation = BI.inherit(BI.Widget, { } }); BI.BranchRelation.EVENT_CHANGE = "BranchRelation.EVENT_CHANGE"; -$.shortcut("bi.branch_relation", BI.BranchRelation); \ No newline at end of file +BI.shortcut("bi.branch_relation", BI.BranchRelation); \ No newline at end of file diff --git a/src/widget/date/calendar/combo.month.date.js b/src/widget/date/calendar/combo.month.date.js index 546acab76..59ed76811 100644 --- a/src/widget/date/calendar/combo.month.date.js +++ b/src/widget/date/calendar/combo.month.date.js @@ -32,7 +32,7 @@ BI.MonthDateCombo = BI.inherit(BI.Trigger, { this.combo = BI.createWidget({ type: "bi.combo", offsetStyle: "center", - element: this.element, + element: this, isNeedAdjustHeight: false, isNeedAdjustWidth: false, el: this.trigger, @@ -58,4 +58,4 @@ BI.MonthDateCombo = BI.inherit(BI.Trigger, { } }); BI.MonthDateCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.month_date_combo', BI.MonthDateCombo); \ No newline at end of file +BI.shortcut('bi.month_date_combo', BI.MonthDateCombo); \ No newline at end of file diff --git a/src/widget/date/calendar/combo.year.date.js b/src/widget/date/calendar/combo.year.date.js index 80d11c150..ff0e16a8c 100644 --- a/src/widget/date/calendar/combo.year.date.js +++ b/src/widget/date/calendar/combo.year.date.js @@ -38,7 +38,7 @@ BI.YearDateCombo = BI.inherit(BI.Trigger, { this.combo = BI.createWidget({ type: "bi.combo", offsetStyle: "center", - element: this.element, + element: this, isNeedAdjustHeight: false, isNeedAdjustWidth: false, el: this.trigger, @@ -63,4 +63,4 @@ BI.YearDateCombo = BI.inherit(BI.Trigger, { } }); BI.YearDateCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.year_date_combo', BI.YearDateCombo); \ No newline at end of file +BI.shortcut('bi.year_date_combo', BI.YearDateCombo); \ No newline at end of file diff --git a/src/widget/date/calendar/picker.date.js b/src/widget/date/calendar/picker.date.js index 0ed492429..cf395224d 100644 --- a/src/widget/date/calendar/picker.date.js +++ b/src/widget/date/calendar/picker.date.js @@ -87,7 +87,7 @@ BI.DatePicker = BI.inherit(BI.Widget, { BI.createWidget({ type: "bi.htape", - element: this.element, + element: this, items: [{ el: this.left, width: 25 @@ -124,4 +124,4 @@ BI.DatePicker = BI.inherit(BI.Widget, { } }); BI.DatePicker.EVENT_CHANGE = "EVENT_CHANGE" -$.shortcut("bi.date_picker", BI.DatePicker); \ No newline at end of file +BI.shortcut("bi.date_picker", BI.DatePicker); \ No newline at end of file diff --git a/src/widget/date/calendar/popup.calendar.date.js b/src/widget/date/calendar/popup.calendar.date.js index a3a5c3169..8784cfc4e 100644 --- a/src/widget/date/calendar/popup.calendar.date.js +++ b/src/widget/date/calendar/popup.calendar.date.js @@ -51,7 +51,7 @@ BI.DateCalendarPopup = BI.inherit(BI.Widget, { this.calendar = BI.createWidget({ direction: "top", - element: this.element, + element: this, logic: { dynamic: true }, @@ -93,4 +93,4 @@ BI.DateCalendarPopup = BI.inherit(BI.Widget, { } }); BI.DateCalendarPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.date_calendar_popup", BI.DateCalendarPopup); \ No newline at end of file +BI.shortcut("bi.date_calendar_popup", BI.DateCalendarPopup); \ No newline at end of file diff --git a/src/widget/date/calendar/trigger.triangle.date.js b/src/widget/date/calendar/trigger.triangle.date.js index 379280f21..76540d4c2 100644 --- a/src/widget/date/calendar/trigger.triangle.date.js +++ b/src/widget/date/calendar/trigger.triangle.date.js @@ -37,7 +37,7 @@ BI.DateTriangleTrigger = BI.inherit(BI.Trigger, { BI.createWidget({ type: "bi.center_adapt", - element: this.element, + element: this, items: [{ type: "bi.center_adapt", width: 50, @@ -67,4 +67,4 @@ BI.DateTriangleTrigger = BI.inherit(BI.Trigger, { } }); -$.shortcut('bi.date_triangle_trigger', BI.DateTriangleTrigger); \ No newline at end of file +BI.shortcut('bi.date_triangle_trigger', BI.DateTriangleTrigger); \ No newline at end of file diff --git a/src/widget/date/combo.date.js b/src/widget/date/combo.date.js index a7c326e8e..d52739790 100644 --- a/src/widget/date/combo.date.js +++ b/src/widget/date/combo.date.js @@ -35,7 +35,7 @@ BI.DateCombo = BI.inherit(BI.Widget, { this.combo = BI.createWidget({ type: "bi.combo", toggle: false, - element: this.element, + element: this, isNeedAdjustHeight: false, isNeedAdjustWidth: false, el: this.trigger, @@ -56,4 +56,4 @@ BI.DateCombo = BI.inherit(BI.Widget, { return this.popup.getValue(); } }); -$.shortcut('bi.date_combo', BI.DateCombo); \ No newline at end of file +BI.shortcut('bi.date_combo', BI.DateCombo); \ No newline at end of file diff --git a/src/widget/date/trigger.date.js b/src/widget/date/trigger.date.js index 0332f662a..77674d91d 100644 --- a/src/widget/date/trigger.date.js +++ b/src/widget/date/trigger.date.js @@ -89,7 +89,7 @@ BI.DateTrigger = BI.inherit(BI.Trigger, { }); BI.createWidget({ type: "bi.htape", - element: this.element, + element: this, items: [{ el: BI.createWidget(), width: 30 @@ -262,4 +262,4 @@ BI.DateTrigger.EVENT_VALID = "EVENT_VALID"; BI.DateTrigger.EVENT_ERROR = "EVENT_ERROR"; BI.DateTrigger.EVENT_TRIGGER_CLICK = "EVENT_TRIGGER_CLICK"; BI.DateTrigger.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; -$.shortcut("bi.date_trigger", BI.DateTrigger); \ No newline at end of file +BI.shortcut("bi.date_trigger", BI.DateTrigger); \ No newline at end of file diff --git a/src/widget/datepane/datepanenotselectday.js b/src/widget/datepane/datepanenotselectday.js index 0b7e674ad..56a4e4257 100644 --- a/src/widget/datepane/datepanenotselectday.js +++ b/src/widget/datepane/datepanenotselectday.js @@ -119,4 +119,4 @@ BI.DatePaneWidget = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.date_pane_widget", BI.DatePaneWidget); \ No newline at end of file +BI.shortcut("bi.date_pane_widget", BI.DatePaneWidget); \ No newline at end of file diff --git a/src/widget/directionpathchooser/directionpathchooser.js b/src/widget/directionpathchooser/directionpathchooser.js index ae3e8d794..9267f78c1 100644 --- a/src/widget/directionpathchooser/directionpathchooser.js +++ b/src/widget/directionpathchooser/directionpathchooser.js @@ -240,4 +240,4 @@ BI.DirectionPathChooser = BI.inherit(BI.Widget, { } }); BI.DirectionPathChooser.EVENT_CHANGE = "DirectionPathChooser.EVENT_CHANGE"; -$.shortcut('bi.direction_path_chooser', BI.DirectionPathChooser); \ No newline at end of file +BI.shortcut('bi.direction_path_chooser', BI.DirectionPathChooser); \ No newline at end of file diff --git a/src/widget/downlist/combo.downlist.js b/src/widget/downlist/combo.downlist.js index 35de76a33..e77844e1a 100644 --- a/src/widget/downlist/combo.downlist.js +++ b/src/widget/downlist/combo.downlist.js @@ -71,4 +71,4 @@ BI.DownListCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.DownListCombo.EVENT_SON_VALUE_CHANGE = "EVENT_SON_VALUE_CHANGE"; BI.DownListCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; -$.shortcut("bi.down_list_combo", BI.DownListCombo); \ No newline at end of file +BI.shortcut("bi.down_list_combo", BI.DownListCombo); \ No newline at end of file diff --git a/src/widget/downlist/group.downlist.js b/src/widget/downlist/group.downlist.js index 5cf1da084..9aa122d14 100644 --- a/src/widget/downlist/group.downlist.js +++ b/src/widget/downlist/group.downlist.js @@ -47,4 +47,4 @@ BI.DownListGroup = BI.inherit(BI.Widget, { }) BI.DownListGroup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.down_list_group", BI.DownListGroup); \ No newline at end of file +BI.shortcut("bi.down_list_group", BI.DownListGroup); \ No newline at end of file diff --git a/src/widget/downlist/item.downlist.js b/src/widget/downlist/item.downlist.js index 2ad9e4148..0016e2345 100644 --- a/src/widget/downlist/item.downlist.js +++ b/src/widget/downlist/item.downlist.js @@ -76,4 +76,4 @@ BI.DownListItem = BI.inherit(BI.Single, { } }); BI.DownListItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.down_list_item", BI.DownListItem); \ No newline at end of file +BI.shortcut("bi.down_list_item", BI.DownListItem); \ No newline at end of file diff --git a/src/widget/downlist/item.downlistgroup.js b/src/widget/downlist/item.downlistgroup.js index b363e5835..59a301e1d 100644 --- a/src/widget/downlist/item.downlistgroup.js +++ b/src/widget/downlist/item.downlistgroup.js @@ -120,4 +120,4 @@ BI.DownListGroupItem = BI.inherit(BI.BasicButton, { } }); BI.DownListGroupItem.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.down_list_group_item", BI.DownListGroupItem); \ No newline at end of file +BI.shortcut("bi.down_list_group_item", BI.DownListGroupItem); \ No newline at end of file diff --git a/src/widget/downlist/popup.downlist.js b/src/widget/downlist/popup.downlist.js index e003d649d..6470037f3 100644 --- a/src/widget/downlist/popup.downlist.js +++ b/src/widget/downlist/popup.downlist.js @@ -229,4 +229,4 @@ BI.DownListPopup = BI.inherit(BI.Pane, { BI.DownListPopup.EVENT_CHANGE = "EVENT_CHANGE"; BI.DownListPopup.EVENT_SON_VALUE_CHANGE = "EVENT_SON_VALUE_CHANGE"; -$.shortcut("bi.down_list_popup", BI.DownListPopup); \ No newline at end of file +BI.shortcut("bi.down_list_popup", BI.DownListPopup); \ No newline at end of file diff --git a/src/widget/exceltable/exceltable.cell.js b/src/widget/exceltable/exceltable.cell.js index 6b4faf25e..419ec5e7c 100644 --- a/src/widget/exceltable/exceltable.cell.js +++ b/src/widget/exceltable/exceltable.cell.js @@ -28,4 +28,4 @@ BI.ExcelTableCell = BI.inherit(BI.Widget, { }) } }); -$.shortcut('bi.excel_table_cell', BI.ExcelTableCell); \ No newline at end of file +BI.shortcut('bi.excel_table_cell', BI.ExcelTableCell); \ No newline at end of file diff --git a/src/widget/exceltable/exceltable.header.cell.js b/src/widget/exceltable/exceltable.header.cell.js index d7d2bbe24..a950aaf43 100644 --- a/src/widget/exceltable/exceltable.header.cell.js +++ b/src/widget/exceltable/exceltable.header.cell.js @@ -28,4 +28,4 @@ BI.ExcelTableHeaderCell = BI.inherit(BI.Widget, { }) } }); -$.shortcut('bi.excel_table_header_cell', BI.ExcelTableHeaderCell); \ No newline at end of file +BI.shortcut('bi.excel_table_header_cell', BI.ExcelTableHeaderCell); \ No newline at end of file diff --git a/src/widget/exceltable/exceltable.js b/src/widget/exceltable/exceltable.js index d3ceebdaf..6a4becdc2 100644 --- a/src/widget/exceltable/exceltable.js +++ b/src/widget/exceltable/exceltable.js @@ -204,4 +204,4 @@ BI.ExcelTable = BI.inherit(BI.Widget, { BI.ExcelTable.superclass.destroy.apply(this, arguments); } }); -$.shortcut('bi.excel_table', BI.ExcelTable); \ No newline at end of file +BI.shortcut('bi.excel_table', BI.ExcelTable); \ No newline at end of file diff --git a/src/widget/filemanager/buttongroup.filemanager.js b/src/widget/filemanager/buttongroup.filemanager.js index 6ef1ac7ab..831dd1bda 100644 --- a/src/widget/filemanager/buttongroup.filemanager.js +++ b/src/widget/filemanager/buttongroup.filemanager.js @@ -76,4 +76,4 @@ BI.FileManagerButtonGroup = BI.inherit(BI.Widget, { } }); BI.FileManagerButtonGroup.EVENT_CHANGE = "FileManagerButtonGroup.EVENT_CHANGE"; -$.shortcut("bi.file_manager_button_group", BI.FileManagerButtonGroup); \ No newline at end of file +BI.shortcut("bi.file_manager_button_group", BI.FileManagerButtonGroup); \ No newline at end of file diff --git a/src/widget/filemanager/filemanager.js b/src/widget/filemanager/filemanager.js index 63c1f8ca9..ae5d2ade5 100644 --- a/src/widget/filemanager/filemanager.js +++ b/src/widget/filemanager/filemanager.js @@ -112,4 +112,4 @@ BI.FileManager = BI.inherit(BI.Widget, { } }); BI.FileManager.EVENT_CHANGE = "FileManager.EVENT_CHANGE"; -$.shortcut("bi.file_manager", BI.FileManager); \ No newline at end of file +BI.shortcut("bi.file_manager", BI.FileManager); \ No newline at end of file diff --git a/src/widget/filemanager/items/item.file.filemanager.js b/src/widget/filemanager/items/item.file.filemanager.js index cfd9a8aca..5f38d29b4 100644 --- a/src/widget/filemanager/items/item.file.filemanager.js +++ b/src/widget/filemanager/items/item.file.filemanager.js @@ -65,4 +65,4 @@ BI.FileManagerFileItem = BI.inherit(BI.Single, { } }); BI.FileManagerFileItem.EVENT_CHANGE = "FileManagerFileItem.EVENT_CHANGE"; -$.shortcut("bi.file_manager_file_item", BI.FileManagerFileItem); \ No newline at end of file +BI.shortcut("bi.file_manager_file_item", BI.FileManagerFileItem); \ No newline at end of file diff --git a/src/widget/filemanager/items/item.folder.filemanager.js b/src/widget/filemanager/items/item.folder.filemanager.js index b5a8d0841..8545ff3ca 100644 --- a/src/widget/filemanager/items/item.folder.filemanager.js +++ b/src/widget/filemanager/items/item.folder.filemanager.js @@ -150,4 +150,4 @@ BI.FileManagerFolderItem = BI.inherit(BI.Single, { } }); BI.FileManagerFolderItem.EVENT_CHANGE = "FileManagerFolderItem.EVENT_CHANGE"; -$.shortcut("bi.file_manager_folder_item", BI.FileManagerFolderItem); \ No newline at end of file +BI.shortcut("bi.file_manager_folder_item", BI.FileManagerFolderItem); \ No newline at end of file diff --git a/src/widget/filemanager/list.filemanager.js b/src/widget/filemanager/list.filemanager.js index ebe32dce3..681c2b14d 100644 --- a/src/widget/filemanager/list.filemanager.js +++ b/src/widget/filemanager/list.filemanager.js @@ -55,4 +55,4 @@ BI.FileManagerList = BI.inherit(BI.Widget, { } }); BI.FileManagerList.EVENT_CHANGE = "FileManagerList.EVENT_CHANGE"; -$.shortcut("bi.file_manager_list", BI.FileManagerList); \ No newline at end of file +BI.shortcut("bi.file_manager_list", BI.FileManagerList); \ No newline at end of file diff --git a/src/widget/filemanager/nav/button/button.nav.filemanager.js b/src/widget/filemanager/nav/button/button.nav.filemanager.js index f430d4974..bae11d74d 100644 --- a/src/widget/filemanager/nav/button/button.nav.filemanager.js +++ b/src/widget/filemanager/nav/button/button.nav.filemanager.js @@ -89,4 +89,4 @@ BI.FileManagerNavButton = BI.inherit(BI.Widget, { } }); BI.FileManagerNavButton.EVENT_CHANGE = "FileManagerNavButton.EVENT_CHANGE"; -$.shortcut("bi.file_manager_nav_button", BI.FileManagerNavButton); \ No newline at end of file +BI.shortcut("bi.file_manager_nav_button", BI.FileManagerNavButton); \ No newline at end of file diff --git a/src/widget/filemanager/nav/nav.filemanager.js b/src/widget/filemanager/nav/nav.filemanager.js index 30c1d6c92..63c0d685e 100644 --- a/src/widget/filemanager/nav/nav.filemanager.js +++ b/src/widget/filemanager/nav/nav.filemanager.js @@ -104,4 +104,4 @@ BI.extend(BI.FileManagerNav, { ROOT_CREATE_BY_ME: "-1" }); BI.FileManagerNav.EVENT_CHANGE = "FileManagerNav.EVENT_CHANGE"; -$.shortcut("bi.file_manager_nav", BI.FileManagerNav); \ No newline at end of file +BI.shortcut("bi.file_manager_nav", BI.FileManagerNav); \ No newline at end of file diff --git a/src/widget/finetuningnumbereditor/finetuning.number.editor.js b/src/widget/finetuningnumbereditor/finetuning.number.editor.js index 0f4f6a35e..117d88cb7 100644 --- a/src/widget/finetuningnumbereditor/finetuning.number.editor.js +++ b/src/widget/finetuningnumbereditor/finetuning.number.editor.js @@ -92,4 +92,4 @@ BI.FineTuningNumberEditor = BI.inherit(BI.Widget, { }); BI.FineTuningNumberEditor.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut("bi.fine_tuning_number_editor", BI.FineTuningNumberEditor); \ No newline at end of file +BI.shortcut("bi.fine_tuning_number_editor", BI.FineTuningNumberEditor); \ No newline at end of file diff --git a/src/widget/interactivearrangement/interactivearrangement.js b/src/widget/interactivearrangement/interactivearrangement.js index 7a32a545c..d2897c4c9 100644 --- a/src/widget/interactivearrangement/interactivearrangement.js +++ b/src/widget/interactivearrangement/interactivearrangement.js @@ -568,4 +568,4 @@ BI.InteractiveArrangement = BI.inherit(BI.Widget, { } }); BI.InteractiveArrangement.EVENT_RESIZE = "InteractiveArrangement.EVENT_RESIZE"; -$.shortcut('bi.interactive_arrangement', BI.InteractiveArrangement); \ No newline at end of file +BI.shortcut('bi.interactive_arrangement', BI.InteractiveArrangement); \ No newline at end of file diff --git a/src/widget/month/combo.month.js b/src/widget/month/combo.month.js index 38bf707f3..6e2e719e6 100644 --- a/src/widget/month/combo.month.js +++ b/src/widget/month/combo.month.js @@ -76,4 +76,4 @@ BI.MonthCombo = BI.inherit(BI.Widget, { }); BI.MonthCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut('bi.month_combo', BI.MonthCombo); \ No newline at end of file +BI.shortcut('bi.month_combo', BI.MonthCombo); \ No newline at end of file diff --git a/src/widget/month/popup.month.js b/src/widget/month/popup.month.js index 9a1715bdc..1ad5e7743 100644 --- a/src/widget/month/popup.month.js +++ b/src/widget/month/popup.month.js @@ -78,4 +78,4 @@ BI.MonthPopup = BI.inherit(BI.Widget, { } }); BI.MonthPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.month_popup", BI.MonthPopup); \ No newline at end of file +BI.shortcut("bi.month_popup", BI.MonthPopup); \ No newline at end of file diff --git a/src/widget/month/trigger.month.js b/src/widget/month/trigger.month.js index c835f7e2e..558b71c5c 100644 --- a/src/widget/month/trigger.month.js +++ b/src/widget/month/trigger.month.js @@ -108,4 +108,4 @@ BI.MonthTrigger.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.MonthTrigger.EVENT_START = "EVENT_START"; BI.MonthTrigger.EVENT_STOP = "EVENT_STOP"; BI.MonthTrigger.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.month_trigger", BI.MonthTrigger); \ No newline at end of file +BI.shortcut("bi.month_trigger", BI.MonthTrigger); \ No newline at end of file diff --git a/src/widget/multilayerselecttree/multilayerselecttree.combo.js b/src/widget/multilayerselecttree/multilayerselecttree.combo.js index d6ece4c7a..9cc8ed908 100644 --- a/src/widget/multilayerselecttree/multilayerselecttree.combo.js +++ b/src/widget/multilayerselecttree/multilayerselecttree.combo.js @@ -67,4 +67,4 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, { } }); BI.MultiLayerSelectTreeCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multilayer_select_tree_combo", BI.MultiLayerSelectTreeCombo); \ No newline at end of file +BI.shortcut("bi.multilayer_select_tree_combo", BI.MultiLayerSelectTreeCombo); \ No newline at end of file diff --git a/src/widget/multilayerselecttree/multilayerselecttree.leveltree.js b/src/widget/multilayerselecttree/multilayerselecttree.leveltree.js index 363aacf29..edcbb12e3 100644 --- a/src/widget/multilayerselecttree/multilayerselecttree.leveltree.js +++ b/src/widget/multilayerselecttree/multilayerselecttree.leveltree.js @@ -129,4 +129,4 @@ BI.MultiLayerSelectLevelTree = BI.inherit(BI.Widget, { }); BI.MultiLayerSelectLevelTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multilayer_select_level_tree", BI.MultiLayerSelectLevelTree); \ No newline at end of file +BI.shortcut("bi.multilayer_select_level_tree", BI.MultiLayerSelectLevelTree); \ No newline at end of file diff --git a/src/widget/multilayerselecttree/multilayerselecttree.popup.js b/src/widget/multilayerselecttree/multilayerselecttree.popup.js index 00644df62..6bc234843 100644 --- a/src/widget/multilayerselecttree/multilayerselecttree.popup.js +++ b/src/widget/multilayerselecttree/multilayerselecttree.popup.js @@ -64,4 +64,4 @@ BI.MultiLayerSelectTreePopup = BI.inherit(BI.Pane, { }); BI.MultiLayerSelectTreePopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multilayer_select_tree_popup", BI.MultiLayerSelectTreePopup); \ No newline at end of file +BI.shortcut("bi.multilayer_select_tree_popup", BI.MultiLayerSelectTreePopup); \ No newline at end of file diff --git a/src/widget/multilayerselecttree/node/node.first.plus.js b/src/widget/multilayerselecttree/node/node.first.plus.js index f950c090c..aba0af277 100644 --- a/src/widget/multilayerselecttree/node/node.first.plus.js +++ b/src/widget/multilayerselecttree/node/node.first.plus.js @@ -91,4 +91,4 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.multilayer_select_tree_first_plus_group_node", BI.MultiLayerSelectTreeFirstPlusGroupNode); \ No newline at end of file +BI.shortcut("bi.multilayer_select_tree_first_plus_group_node", BI.MultiLayerSelectTreeFirstPlusGroupNode); \ No newline at end of file diff --git a/src/widget/multilayerselecttree/node/node.last.plus.js b/src/widget/multilayerselecttree/node/node.last.plus.js index f596f4c70..4ae2c9dbd 100644 --- a/src/widget/multilayerselecttree/node/node.last.plus.js +++ b/src/widget/multilayerselecttree/node/node.last.plus.js @@ -87,4 +87,4 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.multilayer_select_tree_last_plus_group_node", BI.MultiLayerSelectTreeLastPlusGroupNode); \ No newline at end of file +BI.shortcut("bi.multilayer_select_tree_last_plus_group_node", BI.MultiLayerSelectTreeLastPlusGroupNode); \ No newline at end of file diff --git a/src/widget/multilayerselecttree/node/node.mid.plus.js b/src/widget/multilayerselecttree/node/node.mid.plus.js index 5c8593b57..4cda2a994 100644 --- a/src/widget/multilayerselecttree/node/node.mid.plus.js +++ b/src/widget/multilayerselecttree/node/node.mid.plus.js @@ -87,4 +87,4 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.multilayer_select_tree_mid_plus_group_node", BI.MultiLayerSelectTreeMidPlusGroupNode); \ No newline at end of file +BI.shortcut("bi.multilayer_select_tree_mid_plus_group_node", BI.MultiLayerSelectTreeMidPlusGroupNode); \ No newline at end of file diff --git a/src/widget/multilayersingletree/multilayersingletree.combo.js b/src/widget/multilayersingletree/multilayersingletree.combo.js index f6ccaf941..3763ea9a7 100644 --- a/src/widget/multilayersingletree/multilayersingletree.combo.js +++ b/src/widget/multilayersingletree/multilayersingletree.combo.js @@ -72,4 +72,4 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, { }); BI.MultiLayerSingleTreeCombo.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multilayer_single_tree_combo", BI.MultiLayerSingleTreeCombo); \ No newline at end of file +BI.shortcut("bi.multilayer_single_tree_combo", BI.MultiLayerSingleTreeCombo); \ No newline at end of file diff --git a/src/widget/multilayersingletree/multilayersingletree.leveltree.js b/src/widget/multilayersingletree/multilayersingletree.leveltree.js index 7b0a35d17..ad02ec40f 100644 --- a/src/widget/multilayersingletree/multilayersingletree.leveltree.js +++ b/src/widget/multilayersingletree/multilayersingletree.leveltree.js @@ -132,4 +132,4 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { }); BI.MultiLayerSingleLevelTree.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multilayer_single_level_tree", BI.MultiLayerSingleLevelTree); +BI.shortcut("bi.multilayer_single_level_tree", BI.MultiLayerSingleLevelTree); diff --git a/src/widget/multilayersingletree/multilayersingletree.popup.js b/src/widget/multilayersingletree/multilayersingletree.popup.js index 1411587be..e1d6a4748 100644 --- a/src/widget/multilayersingletree/multilayersingletree.popup.js +++ b/src/widget/multilayersingletree/multilayersingletree.popup.js @@ -64,4 +64,4 @@ BI.MultiLayerSingleTreePopup = BI.inherit(BI.Pane, { }); BI.MultiLayerSingleTreePopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multilayer_single_tree_popup", BI.MultiLayerSingleTreePopup); \ No newline at end of file +BI.shortcut("bi.multilayer_single_tree_popup", BI.MultiLayerSingleTreePopup); \ No newline at end of file diff --git a/src/widget/multilayersingletree/node/node.first.plus.js b/src/widget/multilayersingletree/node/node.first.plus.js index dea6ce89c..21e9d24b6 100644 --- a/src/widget/multilayersingletree/node/node.first.plus.js +++ b/src/widget/multilayersingletree/node/node.first.plus.js @@ -80,4 +80,4 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.multilayer_single_tree_first_plus_group_node", BI.MultiLayerSingleTreeFirstPlusGroupNode); \ No newline at end of file +BI.shortcut("bi.multilayer_single_tree_first_plus_group_node", BI.MultiLayerSingleTreeFirstPlusGroupNode); \ No newline at end of file diff --git a/src/widget/multilayersingletree/node/node.last.plus.js b/src/widget/multilayersingletree/node/node.last.plus.js index 123aa1d14..7785ce8dc 100644 --- a/src/widget/multilayersingletree/node/node.last.plus.js +++ b/src/widget/multilayersingletree/node/node.last.plus.js @@ -80,4 +80,4 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.multilayer_single_tree_last_plus_group_node", BI.MultiLayerSingleTreeLastPlusGroupNode); \ No newline at end of file +BI.shortcut("bi.multilayer_single_tree_last_plus_group_node", BI.MultiLayerSingleTreeLastPlusGroupNode); \ No newline at end of file diff --git a/src/widget/multilayersingletree/node/node.mid.plus.js b/src/widget/multilayersingletree/node/node.mid.plus.js index c5ca0fb92..726e10a9a 100644 --- a/src/widget/multilayersingletree/node/node.mid.plus.js +++ b/src/widget/multilayersingletree/node/node.mid.plus.js @@ -80,4 +80,4 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.multilayer_single_tree_mid_plus_group_node", BI.MultiLayerSingleTreeMidPlusGroupNode); \ No newline at end of file +BI.shortcut("bi.multilayer_single_tree_mid_plus_group_node", BI.MultiLayerSingleTreeMidPlusGroupNode); \ No newline at end of file diff --git a/src/widget/multilayersingletree/treeitem/item.first.treeleaf.js b/src/widget/multilayersingletree/treeitem/item.first.treeleaf.js index 57d79311b..f7c11ea1b 100644 --- a/src/widget/multilayersingletree/treeitem/item.first.treeleaf.js +++ b/src/widget/multilayersingletree/treeitem/item.first.treeleaf.js @@ -93,4 +93,4 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.multilayer_single_tree_first_tree_leaf_item", BI.MultiLayerSingleTreeFirstTreeLeafItem); \ No newline at end of file +BI.shortcut("bi.multilayer_single_tree_first_tree_leaf_item", BI.MultiLayerSingleTreeFirstTreeLeafItem); \ No newline at end of file diff --git a/src/widget/multilayersingletree/treeitem/item.last.treeleaf.js b/src/widget/multilayersingletree/treeitem/item.last.treeleaf.js index 9560f8d19..5c7bb730a 100644 --- a/src/widget/multilayersingletree/treeitem/item.last.treeleaf.js +++ b/src/widget/multilayersingletree/treeitem/item.last.treeleaf.js @@ -93,4 +93,4 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.multilayer_single_tree_last_tree_leaf_item", BI.MultiLayerSingleTreeLastTreeLeafItem); \ No newline at end of file +BI.shortcut("bi.multilayer_single_tree_last_tree_leaf_item", BI.MultiLayerSingleTreeLastTreeLeafItem); \ No newline at end of file diff --git a/src/widget/multilayersingletree/treeitem/item.mid.treeleaf.js b/src/widget/multilayersingletree/treeitem/item.mid.treeleaf.js index 1cc73b220..4a23ab947 100644 --- a/src/widget/multilayersingletree/treeitem/item.mid.treeleaf.js +++ b/src/widget/multilayersingletree/treeitem/item.mid.treeleaf.js @@ -93,4 +93,4 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, { } }); -$.shortcut("bi.multilayer_single_tree_mid_tree_leaf_item", BI.MultiLayerSingleTreeMidTreeLeafItem); \ No newline at end of file +BI.shortcut("bi.multilayer_single_tree_mid_tree_leaf_item", BI.MultiLayerSingleTreeMidTreeLeafItem); \ No newline at end of file diff --git a/src/widget/multiselect/check/multiselect.check.pane.js b/src/widget/multiselect/check/multiselect.check.pane.js index 2286b38ba..660fce697 100644 --- a/src/widget/multiselect/check/multiselect.check.pane.js +++ b/src/widget/multiselect/check/multiselect.check.pane.js @@ -104,4 +104,4 @@ BI.MultiSelectCheckPane = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.multi_select_check_pane", BI.MultiSelectCheckPane); \ No newline at end of file +BI.shortcut("bi.multi_select_check_pane", BI.MultiSelectCheckPane); \ No newline at end of file diff --git a/src/widget/multiselect/check/multiselect.display.js b/src/widget/multiselect/check/multiselect.display.js index 4eb4fe42c..630a9e8e9 100644 --- a/src/widget/multiselect/check/multiselect.display.js +++ b/src/widget/multiselect/check/multiselect.display.js @@ -84,4 +84,4 @@ BI.DisplaySelectedList = BI.inherit(BI.Pane, { } }); -$.shortcut('bi.display_selected_list', BI.DisplaySelectedList); \ No newline at end of file +BI.shortcut('bi.display_selected_list', BI.DisplaySelectedList); \ No newline at end of file diff --git a/src/widget/multiselect/multiselect.combo.js b/src/widget/multiselect/multiselect.combo.js index e1424daa4..ffc46efa3 100644 --- a/src/widget/multiselect/multiselect.combo.js +++ b/src/widget/multiselect/multiselect.combo.js @@ -345,4 +345,4 @@ BI.extend(BI.MultiSelectCombo, { BI.MultiSelectCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut('bi.multi_select_combo', BI.MultiSelectCombo); \ No newline at end of file +BI.shortcut('bi.multi_select_combo', BI.MultiSelectCombo); \ No newline at end of file diff --git a/src/widget/multiselect/multiselect.loader.js b/src/widget/multiselect/multiselect.loader.js index 92abcd946..a125b3194 100644 --- a/src/widget/multiselect/multiselect.loader.js +++ b/src/widget/multiselect/multiselect.loader.js @@ -169,4 +169,4 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, { }); BI.MultiSelectLoader.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.multi_select_loader', BI.MultiSelectLoader); \ No newline at end of file +BI.shortcut('bi.multi_select_loader', BI.MultiSelectLoader); \ No newline at end of file diff --git a/src/widget/multiselect/multiselect.popup.view.js b/src/widget/multiselect/multiselect.popup.view.js index e638e79c4..ef9789f6b 100644 --- a/src/widget/multiselect/multiselect.popup.view.js +++ b/src/widget/multiselect/multiselect.popup.view.js @@ -92,4 +92,4 @@ BI.MultiSelectPopupView.EVENT_CLICK_CONFIRM = "EVENT_CLICK_CONFIRM"; BI.MultiSelectPopupView.EVENT_CLICK_CLEAR = "EVENT_CLICK_CLEAR"; -$.shortcut('bi.multi_select_popup_view', BI.MultiSelectPopupView); \ No newline at end of file +BI.shortcut('bi.multi_select_popup_view', BI.MultiSelectPopupView); \ No newline at end of file diff --git a/src/widget/multiselect/multiselect.trigger.js b/src/widget/multiselect/multiselect.trigger.js index 50cd4cb19..61430c3f8 100644 --- a/src/widget/multiselect/multiselect.trigger.js +++ b/src/widget/multiselect/multiselect.trigger.js @@ -150,4 +150,4 @@ BI.MultiSelectTrigger.EVENT_PAUSE = "EVENT_PAUSE"; BI.MultiSelectTrigger.EVENT_SEARCHING = "EVENT_SEARCHING"; BI.MultiSelectTrigger.EVENT_BEFORE_COUNTER_POPUPVIEW = "EVENT_BEFORE_COUNTER_POPUPVIEW"; -$.shortcut('bi.multi_select_trigger', BI.MultiSelectTrigger); \ No newline at end of file +BI.shortcut('bi.multi_select_trigger', BI.MultiSelectTrigger); \ No newline at end of file diff --git a/src/widget/multiselect/search/multiselect.search.loader.js b/src/widget/multiselect/search/multiselect.search.loader.js index b4ba119a5..5bda2bf0f 100644 --- a/src/widget/multiselect/search/multiselect.search.loader.js +++ b/src/widget/multiselect/search/multiselect.search.loader.js @@ -153,4 +153,4 @@ BI.MultiSelectSearchLoader = BI.inherit(BI.Widget, { }); BI.MultiSelectSearchLoader.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.multi_select_search_loader', BI.MultiSelectSearchLoader); \ No newline at end of file +BI.shortcut('bi.multi_select_search_loader', BI.MultiSelectSearchLoader); \ No newline at end of file diff --git a/src/widget/multiselect/search/multiselect.search.pane.js b/src/widget/multiselect/search/multiselect.search.pane.js index a85ffff2c..ce9bb0046 100644 --- a/src/widget/multiselect/search/multiselect.search.pane.js +++ b/src/widget/multiselect/search/multiselect.search.pane.js @@ -99,4 +99,4 @@ BI.MultiSelectSearchPane = BI.inherit(BI.Widget, { BI.MultiSelectSearchPane.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.multi_select_search_pane", BI.MultiSelectSearchPane); \ No newline at end of file +BI.shortcut("bi.multi_select_search_pane", BI.MultiSelectSearchPane); \ No newline at end of file diff --git a/src/widget/multiselect/trigger/button.checkselected.js b/src/widget/multiselect/trigger/button.checkselected.js index 3e64bf163..34b105f9f 100644 --- a/src/widget/multiselect/trigger/button.checkselected.js +++ b/src/widget/multiselect/trigger/button.checkselected.js @@ -74,4 +74,4 @@ BI.MultiSelectCheckSelectedButton = BI.inherit(BI.Single, { }); BI.MultiSelectCheckSelectedButton.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.multi_select_check_selected_button', BI.MultiSelectCheckSelectedButton); \ No newline at end of file +BI.shortcut('bi.multi_select_check_selected_button', BI.MultiSelectCheckSelectedButton); \ No newline at end of file diff --git a/src/widget/multiselect/trigger/editor.multiselect.js b/src/widget/multiselect/trigger/editor.multiselect.js index b83e435df..5d35a3a79 100644 --- a/src/widget/multiselect/trigger/editor.multiselect.js +++ b/src/widget/multiselect/trigger/editor.multiselect.js @@ -83,4 +83,4 @@ BI.MultiSelectEditor = BI.inherit(BI.Widget, { } }); BI.MultiSelectEditor.EVENT_PAUSE = "MultiSelectEditor.EVENT_PAUSE"; -$.shortcut('bi.multi_select_editor', BI.MultiSelectEditor); \ No newline at end of file +BI.shortcut('bi.multi_select_editor', BI.MultiSelectEditor); \ No newline at end of file diff --git a/src/widget/multiselect/trigger/searcher.multiselect.js b/src/widget/multiselect/trigger/searcher.multiselect.js index 046855208..7d65558d2 100644 --- a/src/widget/multiselect/trigger/searcher.multiselect.js +++ b/src/widget/multiselect/trigger/searcher.multiselect.js @@ -140,4 +140,4 @@ BI.MultiSelectSearcher.EVENT_START = "EVENT_START"; BI.MultiSelectSearcher.EVENT_STOP = "EVENT_STOP"; BI.MultiSelectSearcher.EVENT_PAUSE = "EVENT_PAUSE"; BI.MultiSelectSearcher.EVENT_SEARCHING = "EVENT_SEARCHING"; -$.shortcut('bi.multi_select_searcher', BI.MultiSelectSearcher); \ No newline at end of file +BI.shortcut('bi.multi_select_searcher', BI.MultiSelectSearcher); \ No newline at end of file diff --git a/src/widget/multiselect/trigger/switcher.checkselected.js b/src/widget/multiselect/trigger/switcher.checkselected.js index d5f13a4be..321d1eceb 100644 --- a/src/widget/multiselect/trigger/switcher.checkselected.js +++ b/src/widget/multiselect/trigger/switcher.checkselected.js @@ -91,4 +91,4 @@ BI.MultiSelectCheckSelectedSwitcher = BI.inherit(BI.Widget, { BI.MultiSelectCheckSelectedSwitcher.EVENT_TRIGGER_CHANGE = "MultiSelectCheckSelectedSwitcher.EVENT_TRIGGER_CHANGE"; BI.MultiSelectCheckSelectedSwitcher.EVENT_BEFORE_POPUPVIEW = "MultiSelectCheckSelectedSwitcher.EVENT_BEFORE_POPUPVIEW"; -$.shortcut('bi.multi_select_check_selected_switcher', BI.MultiSelectCheckSelectedSwitcher); \ No newline at end of file +BI.shortcut('bi.multi_select_check_selected_switcher', BI.MultiSelectCheckSelectedSwitcher); \ No newline at end of file diff --git a/src/widget/multistringlist/multistringlist.js b/src/widget/multistringlist/multistringlist.js index 22583d026..004a8e5ae 100644 --- a/src/widget/multistringlist/multistringlist.js +++ b/src/widget/multistringlist/multistringlist.js @@ -127,7 +127,7 @@ BI.MultiStringList = BI.inherit(BI.Widget, { }); BI.createWidget({ type: "bi.vtape", - element: this.element, + element: this, height: "100%", width: "100%", items: [{ @@ -317,4 +317,4 @@ BI.extend(BI.MultiStringList, { }); BI.MultiStringList.EVENT_CHANGE = "BI.MultiStringList.EVENT_CHANGE"; -$.shortcut("bi.multi_string_list", BI.MultiStringList); \ No newline at end of file +BI.shortcut("bi.multi_string_list", BI.MultiStringList); \ No newline at end of file diff --git a/src/widget/multitree/check/multi.tree.check.pane.js b/src/widget/multitree/check/multi.tree.check.pane.js index 81dd55ace..bd8604233 100644 --- a/src/widget/multitree/check/multi.tree.check.pane.js +++ b/src/widget/multitree/check/multi.tree.check.pane.js @@ -112,4 +112,4 @@ BI.MultiTreeCheckPane = BI.inherit(BI.Pane, { BI.MultiTreeCheckPane.EVENT_CONTINUE_CLICK = "EVENT_CONTINUE_CLICK"; -$.shortcut("bi.multi_tree_check_pane", BI.MultiTreeCheckPane); \ No newline at end of file +BI.shortcut("bi.multi_tree_check_pane", BI.MultiTreeCheckPane); \ No newline at end of file diff --git a/src/widget/multitree/multi.tree.combo.js b/src/widget/multitree/multi.tree.combo.js index 3da7e4103..e30ca708d 100644 --- a/src/widget/multitree/multi.tree.combo.js +++ b/src/widget/multitree/multi.tree.combo.js @@ -249,4 +249,4 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, { BI.MultiTreeCombo.EVENT_CONFIRM = "MultiTreeCombo.EVENT_CONFIRM"; -$.shortcut('bi.multi_tree_combo', BI.MultiTreeCombo); \ No newline at end of file +BI.shortcut('bi.multi_tree_combo', BI.MultiTreeCombo); \ No newline at end of file diff --git a/src/widget/multitree/multi.tree.popup.js b/src/widget/multitree/multi.tree.popup.js index 35c4f4f5f..a76faeb7a 100644 --- a/src/widget/multitree/multi.tree.popup.js +++ b/src/widget/multitree/multi.tree.popup.js @@ -98,4 +98,4 @@ BI.MultiTreePopup.EVENT_CLICK_CLEAR = "EVENT_CLICK_CLEAR"; BI.MultiTreePopup.EVENT_AFTERINIT = "EVENT_AFTERINIT"; -$.shortcut('bi.multi_tree_popup_view', BI.MultiTreePopup); \ No newline at end of file +BI.shortcut('bi.multi_tree_popup_view', BI.MultiTreePopup); \ No newline at end of file diff --git a/src/widget/multitree/multi.tree.search.pane.js b/src/widget/multitree/multi.tree.search.pane.js index 4ee7f3259..4f470e09b 100644 --- a/src/widget/multitree/multi.tree.search.pane.js +++ b/src/widget/multitree/multi.tree.search.pane.js @@ -66,4 +66,4 @@ BI.MultiTreeSearchPane.EVENT_CHANGE = "EVENT_CHANGE"; BI.MultiTreeSearchPane.EVENT_CLICK_CONFIRM = "EVENT_CLICK_CONFIRM"; BI.MultiTreeSearchPane.EVENT_CLICK_CLEAR = "EVENT_CLICK_CLEAR"; -$.shortcut("bi.multi_tree_search_pane", BI.MultiTreeSearchPane); \ No newline at end of file +BI.shortcut("bi.multi_tree_search_pane", BI.MultiTreeSearchPane); \ No newline at end of file diff --git a/src/widget/multitree/trigger/multi.tree.button.checkselected.js b/src/widget/multitree/trigger/multi.tree.button.checkselected.js index 2315c63ce..993d1602e 100644 --- a/src/widget/multitree/trigger/multi.tree.button.checkselected.js +++ b/src/widget/multitree/trigger/multi.tree.button.checkselected.js @@ -68,4 +68,4 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, { }); BI.MultiTreeCheckSelectedButton.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut('bi.multi_tree_check_selected_button', BI.MultiTreeCheckSelectedButton); \ No newline at end of file +BI.shortcut('bi.multi_tree_check_selected_button', BI.MultiTreeCheckSelectedButton); \ No newline at end of file diff --git a/src/widget/multitree/trigger/searcher.multi.tree.js b/src/widget/multitree/trigger/searcher.multi.tree.js index 2283a0fb8..894e6accb 100644 --- a/src/widget/multitree/trigger/searcher.multi.tree.js +++ b/src/widget/multitree/trigger/searcher.multi.tree.js @@ -133,4 +133,4 @@ BI.MultiTreeSearcher.EVENT_CHANGE = "EVENT_CHANGE"; BI.MultiTreeSearcher.EVENT_START = "EVENT_START"; BI.MultiTreeSearcher.EVENT_STOP = "EVENT_STOP"; BI.MultiTreeSearcher.EVENT_PAUSE = "EVENT_PAUSE"; -$.shortcut('bi.multi_tree_searcher', BI.MultiTreeSearcher); \ No newline at end of file +BI.shortcut('bi.multi_tree_searcher', BI.MultiTreeSearcher); \ No newline at end of file diff --git a/src/widget/multitreelist/multitreelist.js b/src/widget/multitreelist/multitreelist.js index 2fa3893e7..d530e2045 100644 --- a/src/widget/multitreelist/multitreelist.js +++ b/src/widget/multitreelist/multitreelist.js @@ -125,7 +125,7 @@ BI.MultiTreeList = BI.inherit(BI.Widget, { }); BI.createWidget({ type: "bi.vtape", - element: this.element, + element: this, height: "100%", width: "100%", items: [{ @@ -175,4 +175,4 @@ BI.MultiTreeList = BI.inherit(BI.Widget, { } }); BI.MultiTreeList.EVENT_CHANGE = "MultiTreeList.EVENT_CHANGE"; -$.shortcut('bi.multi_tree_list', BI.MultiTreeList); \ No newline at end of file +BI.shortcut('bi.multi_tree_list', BI.MultiTreeList); \ No newline at end of file diff --git a/src/widget/multitreelist/multitreelist.popup.js b/src/widget/multitreelist/multitreelist.popup.js index 4f31ea44b..5db65c9b0 100644 --- a/src/widget/multitreelist/multitreelist.popup.js +++ b/src/widget/multitreelist/multitreelist.popup.js @@ -14,7 +14,7 @@ BI.MultiStringListPopup=BI.inherit(BI.Widget,{ this.popup = BI.createWidget({ type: "bi.sync_tree", height: 400, - element:this.element, + element: this, itemsCreator: o.itemsCreator }); this.popup.on(BI.TreeView.EVENT_AFTERINIT, function () { @@ -45,4 +45,4 @@ BI.MultiStringListPopup=BI.inherit(BI.Widget,{ }); BI.MultiStringListPopup.EVENT_AFTER_INIT="BI.MultiStringListPopup.EVENT_AFTER_INIT"; BI.MultiStringListPopup.EVENT_CHANGE="BI.MultiStringListPopup.EVENT_CHANGE"; -$.shortcut("bi.multi_tree_list_popup",BI.MultiStringListPopup); \ No newline at end of file +BI.shortcut("bi.multi_tree_list_popup",BI.MultiStringListPopup); \ No newline at end of file diff --git a/src/widget/numericalinterval/numericalinterval.js b/src/widget/numericalinterval/numericalinterval.js index 1592bb4cb..470624d6b 100644 --- a/src/widget/numericalinterval/numericalinterval.js +++ b/src/widget/numericalinterval/numericalinterval.js @@ -532,4 +532,4 @@ BI.NumericalInterval = BI.inherit(BI.Single, { BI.NumericalInterval.EVENT_CHANGE = "EVENT_CHANGE"; BI.NumericalInterval.EVENT_VALID = "EVENT_VALID"; BI.NumericalInterval.EVENT_ERROR = "EVENT_ERROR"; -$.shortcut("bi.numerical_interval", BI.NumericalInterval); \ No newline at end of file +BI.shortcut("bi.numerical_interval", BI.NumericalInterval); \ No newline at end of file diff --git a/src/widget/pagetable/pagetable.cell.js b/src/widget/pagetable/pagetable.cell.js index 7b25b95ac..c90c400cc 100644 --- a/src/widget/pagetable/pagetable.cell.js +++ b/src/widget/pagetable/pagetable.cell.js @@ -36,4 +36,4 @@ BI.PageTableCell = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.page_table_cell", BI.PageTableCell); \ No newline at end of file +BI.shortcut("bi.page_table_cell", BI.PageTableCell); \ No newline at end of file diff --git a/src/widget/pagetable/pagetable.js b/src/widget/pagetable/pagetable.js index ee12d4d81..03d884bae 100644 --- a/src/widget/pagetable/pagetable.js +++ b/src/widget/pagetable/pagetable.js @@ -247,4 +247,4 @@ BI.PageTable = BI.inherit(BI.Widget, { BI.PageTable.superclass.destroy.apply(this, arguments); } }); -$.shortcut('bi.page_table', BI.PageTable); \ No newline at end of file +BI.shortcut('bi.page_table', BI.PageTable); \ No newline at end of file diff --git a/src/widget/pathchooser/pathchooser.js b/src/widget/pathchooser/pathchooser.js index de9b93404..bd8c78311 100644 --- a/src/widget/pathchooser/pathchooser.js +++ b/src/widget/pathchooser/pathchooser.js @@ -488,4 +488,4 @@ BI.PathChooser = BI.inherit(BI.Widget, { } }); BI.PathChooser.EVENT_CHANGE = "PathChooser.EVENT_CHANGE"; -$.shortcut("bi.path_chooser", BI.PathChooser); \ No newline at end of file +BI.shortcut("bi.path_chooser", BI.PathChooser); \ No newline at end of file diff --git a/src/widget/pathchooser/pathregion.js b/src/widget/pathchooser/pathregion.js index 195a37ee6..9ef06b91d 100644 --- a/src/widget/pathchooser/pathregion.js +++ b/src/widget/pathchooser/pathregion.js @@ -112,4 +112,4 @@ BI.PathRegion = BI.inherit(BI.Widget, { } }); BI.PathRegion.EVENT_CHANGE = "PathRegion.EVENT_CHANGE"; -$.shortcut("bi.path_region", BI.PathRegion); \ No newline at end of file +BI.shortcut("bi.path_region", BI.PathRegion); \ No newline at end of file diff --git a/src/widget/previewtable/previewtable.cell.js b/src/widget/previewtable/previewtable.cell.js index c4c93eb52..cc906530d 100644 --- a/src/widget/previewtable/previewtable.cell.js +++ b/src/widget/previewtable/previewtable.cell.js @@ -29,4 +29,4 @@ BI.PreviewTableCell = BI.inherit(BI.Widget, { }) } }); -$.shortcut('bi.preview_table_cell', BI.PreviewTableCell); \ No newline at end of file +BI.shortcut('bi.preview_table_cell', BI.PreviewTableCell); \ No newline at end of file diff --git a/src/widget/previewtable/previewtable.header.cell.js b/src/widget/previewtable/previewtable.header.cell.js index d026c3794..18c257097 100644 --- a/src/widget/previewtable/previewtable.header.cell.js +++ b/src/widget/previewtable/previewtable.header.cell.js @@ -29,4 +29,4 @@ BI.PreviewTableHeaderCell = BI.inherit(BI.Widget, { }) } }); -$.shortcut('bi.preview_table_header_cell', BI.PreviewTableHeaderCell); \ No newline at end of file +BI.shortcut('bi.preview_table_header_cell', BI.PreviewTableHeaderCell); \ No newline at end of file diff --git a/src/widget/previewtable/previewtable.js b/src/widget/previewtable/previewtable.js index 5bcedf302..51cad7aaf 100644 --- a/src/widget/previewtable/previewtable.js +++ b/src/widget/previewtable/previewtable.js @@ -206,4 +206,4 @@ BI.PreviewTable = BI.inherit(BI.Widget, { } }); BI.PreviewTable.EVENT_CHANGE = "PreviewTable.EVENT_CHANGE"; -$.shortcut('bi.preview_table', BI.PreviewTable); \ No newline at end of file +BI.shortcut('bi.preview_table', BI.PreviewTable); \ No newline at end of file diff --git a/src/widget/quarter/combo.quarter.js b/src/widget/quarter/combo.quarter.js index e770996d5..0d31ba6aa 100644 --- a/src/widget/quarter/combo.quarter.js +++ b/src/widget/quarter/combo.quarter.js @@ -79,4 +79,4 @@ BI.QuarterCombo = BI.inherit(BI.Widget, { }); BI.QuarterCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut('bi.quarter_combo', BI.QuarterCombo); \ No newline at end of file +BI.shortcut('bi.quarter_combo', BI.QuarterCombo); \ No newline at end of file diff --git a/src/widget/quarter/popup.quarter.js b/src/widget/quarter/popup.quarter.js index b78219aa9..1deeb8e1d 100644 --- a/src/widget/quarter/popup.quarter.js +++ b/src/widget/quarter/popup.quarter.js @@ -68,4 +68,4 @@ BI.QuarterPopup = BI.inherit(BI.Widget, { } }); BI.QuarterPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.quarter_popup", BI.QuarterPopup); \ No newline at end of file +BI.shortcut("bi.quarter_popup", BI.QuarterPopup); \ No newline at end of file diff --git a/src/widget/quarter/trigger.quarter.js b/src/widget/quarter/trigger.quarter.js index c7d5a259e..b45491bc6 100644 --- a/src/widget/quarter/trigger.quarter.js +++ b/src/widget/quarter/trigger.quarter.js @@ -103,4 +103,4 @@ BI.QuarterTrigger.EVENT_CHANGE = "EVENT_CHANGE"; BI.QuarterTrigger.EVENT_START = "EVENT_START"; BI.QuarterTrigger.EVENT_STOP = "EVENT_STOP"; BI.QuarterTrigger.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut("bi.quarter_trigger", BI.QuarterTrigger); \ No newline at end of file +BI.shortcut("bi.quarter_trigger", BI.QuarterTrigger); \ No newline at end of file diff --git a/src/widget/relationview/relationview.item.js b/src/widget/relationview/relationview.item.js index f9b679217..1dbcaaff1 100644 --- a/src/widget/relationview/relationview.item.js +++ b/src/widget/relationview/relationview.item.js @@ -56,4 +56,4 @@ BI.RelationViewItem = BI.inherit(BI.BasicButton, { this.element[b ? "addClass" : "removeClass"]("active"); } }); -$.shortcut('bi.relation_view_item', BI.RelationViewItem); \ No newline at end of file +BI.shortcut('bi.relation_view_item', BI.RelationViewItem); \ No newline at end of file diff --git a/src/widget/relationview/relationview.js b/src/widget/relationview/relationview.js index bb4a59539..1d30a4498 100644 --- a/src/widget/relationview/relationview.js +++ b/src/widget/relationview/relationview.js @@ -316,4 +316,4 @@ BI.RelationView = BI.inherit(BI.Widget, { }); BI.RelationView.EVENT_CHANGE = "RelationView.EVENT_CHANGE"; BI.RelationView.EVENT_PREVIEW = "EVENT_PREVIEW"; -$.shortcut('bi.relation_view', BI.RelationView); \ No newline at end of file +BI.shortcut('bi.relation_view', BI.RelationView); \ No newline at end of file diff --git a/src/widget/relationview/relationview.region.container.js b/src/widget/relationview/relationview.region.container.js index 5b8aff362..a0d8c7dc5 100644 --- a/src/widget/relationview/relationview.region.container.js +++ b/src/widget/relationview/relationview.region.container.js @@ -91,4 +91,4 @@ BI.RelationViewRegionContainer = BI.inherit(BI.Widget, { BI.RelationViewRegionContainer.EVENT_HOVER_IN = "RelationViewRegion.EVENT_HOVER_IN"; BI.RelationViewRegionContainer.EVENT_HOVER_OUT = "RelationViewRegion.EVENT_HOVER_OUT"; BI.RelationViewRegionContainer.EVENT_PREVIEW = "RelationViewRegion.EVENT_PREVIEW"; -$.shortcut("bi.relation_view_region_container", BI.RelationViewRegionContainer); \ No newline at end of file +BI.shortcut("bi.relation_view_region_container", BI.RelationViewRegionContainer); \ No newline at end of file diff --git a/src/widget/relationview/relationview.region.js b/src/widget/relationview/relationview.region.js index 02ce307e9..a2383fcc1 100644 --- a/src/widget/relationview/relationview.region.js +++ b/src/widget/relationview/relationview.region.js @@ -154,4 +154,4 @@ BI.RelationViewRegion = BI.inherit(BI.BasicButton, { BI.RelationViewRegion.EVENT_HOVER_IN = "RelationViewRegion.EVENT_HOVER_IN"; BI.RelationViewRegion.EVENT_HOVER_OUT = "RelationViewRegion.EVENT_HOVER_OUT"; BI.RelationViewRegion.EVENT_PREVIEW = "RelationViewRegion.EVENT_PREVIEW"; -$.shortcut('bi.relation_view_region', BI.RelationViewRegion); \ No newline at end of file +BI.shortcut('bi.relation_view_region', BI.RelationViewRegion); \ No newline at end of file diff --git a/src/widget/selecttree/nodes/node.first.plus.js b/src/widget/selecttree/nodes/node.first.plus.js index 6b888734c..bf230e04b 100644 --- a/src/widget/selecttree/nodes/node.first.plus.js +++ b/src/widget/selecttree/nodes/node.first.plus.js @@ -82,4 +82,4 @@ BI.SelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.select_tree_first_plus_group_node", BI.SelectTreeFirstPlusGroupNode); \ No newline at end of file +BI.shortcut("bi.select_tree_first_plus_group_node", BI.SelectTreeFirstPlusGroupNode); \ No newline at end of file diff --git a/src/widget/selecttree/nodes/node.last.plus.js b/src/widget/selecttree/nodes/node.last.plus.js index 0168cae13..213b3f9f0 100644 --- a/src/widget/selecttree/nodes/node.last.plus.js +++ b/src/widget/selecttree/nodes/node.last.plus.js @@ -82,4 +82,4 @@ BI.SelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.select_tree_last_plus_group_node", BI.SelectTreeLastPlusGroupNode); \ No newline at end of file +BI.shortcut("bi.select_tree_last_plus_group_node", BI.SelectTreeLastPlusGroupNode); \ No newline at end of file diff --git a/src/widget/selecttree/nodes/node.mid.plus.js b/src/widget/selecttree/nodes/node.mid.plus.js index d5a010ab6..0e0dbdd5b 100644 --- a/src/widget/selecttree/nodes/node.mid.plus.js +++ b/src/widget/selecttree/nodes/node.mid.plus.js @@ -82,4 +82,4 @@ BI.SelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, { } }); -$.shortcut("bi.select_tree_mid_plus_group_node", BI.SelectTreeMidPlusGroupNode); \ No newline at end of file +BI.shortcut("bi.select_tree_mid_plus_group_node", BI.SelectTreeMidPlusGroupNode); \ No newline at end of file diff --git a/src/widget/selecttree/selecttree.combo.js b/src/widget/selecttree/selecttree.combo.js index 010dd9c29..88dc32068 100644 --- a/src/widget/selecttree/selecttree.combo.js +++ b/src/widget/selecttree/selecttree.combo.js @@ -65,4 +65,4 @@ BI.SelectTreeCombo = BI.inherit(BI.Widget, { }); -$.shortcut("bi.select_tree_combo", BI.SelectTreeCombo); \ No newline at end of file +BI.shortcut("bi.select_tree_combo", BI.SelectTreeCombo); \ No newline at end of file diff --git a/src/widget/selecttree/selecttree.expander.js b/src/widget/selecttree/selecttree.expander.js index 8a8deac9c..6ce69d1fc 100644 --- a/src/widget/selecttree/selecttree.expander.js +++ b/src/widget/selecttree/selecttree.expander.js @@ -70,4 +70,4 @@ BI.SelectTreeExpander = BI.inherit(BI.Widget, { } }); -$.shortcut("bi.select_tree_expander", BI.SelectTreeExpander); \ No newline at end of file +BI.shortcut("bi.select_tree_expander", BI.SelectTreeExpander); \ No newline at end of file diff --git a/src/widget/selecttree/selecttree.popup.js b/src/widget/selecttree/selecttree.popup.js index deaeccefd..adf70fa97 100644 --- a/src/widget/selecttree/selecttree.popup.js +++ b/src/widget/selecttree/selecttree.popup.js @@ -94,4 +94,4 @@ BI.SelectTreePopup = BI.inherit(BI.Pane, { }); BI.SelectTreePopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.select_tree_popup", BI.SelectTreePopup); \ No newline at end of file +BI.shortcut("bi.select_tree_popup", BI.SelectTreePopup); \ No newline at end of file diff --git a/src/widget/sequencetable/dynamicnumber.sequencetable.js b/src/widget/sequencetable/dynamicnumber.sequencetable.js index 8ed0740c0..b124eee5e 100644 --- a/src/widget/sequencetable/dynamicnumber.sequencetable.js +++ b/src/widget/sequencetable/dynamicnumber.sequencetable.js @@ -68,4 +68,4 @@ BI.SequenceTableDynamicNumber = BI.inherit(BI.SequenceTableTreeNumber, { return result; } }); -$.shortcut('bi.sequence_table_dynamic_number', BI.SequenceTableDynamicNumber); \ No newline at end of file +BI.shortcut('bi.sequence_table_dynamic_number', BI.SequenceTableDynamicNumber); \ No newline at end of file diff --git a/src/widget/sequencetable/listnumber.sequencetable.js b/src/widget/sequencetable/listnumber.sequencetable.js index f2371ddff..52edf7342 100644 --- a/src/widget/sequencetable/listnumber.sequencetable.js +++ b/src/widget/sequencetable/listnumber.sequencetable.js @@ -203,4 +203,4 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { this._populate(); } }); -$.shortcut('bi.sequence_table_list_number', BI.SequenceTableListNumber); \ No newline at end of file +BI.shortcut('bi.sequence_table_list_number', BI.SequenceTableListNumber); \ No newline at end of file diff --git a/src/widget/sequencetable/sequencetable.js b/src/widget/sequencetable/sequencetable.js index 9f120ac48..d1e6fca7b 100644 --- a/src/widget/sequencetable/sequencetable.js +++ b/src/widget/sequencetable/sequencetable.js @@ -248,4 +248,4 @@ BI.SequenceTable = BI.inherit(BI.Widget, { BI.SequenceTable.superclass.destroy.apply(this, arguments); } }); -$.shortcut('bi.sequence_table', BI.SequenceTable); \ No newline at end of file +BI.shortcut('bi.sequence_table', BI.SequenceTable); \ No newline at end of file diff --git a/src/widget/sequencetable/treenumber.sequencetable.js b/src/widget/sequencetable/treenumber.sequencetable.js index acadf84da..4b903a446 100644 --- a/src/widget/sequencetable/treenumber.sequencetable.js +++ b/src/widget/sequencetable/treenumber.sequencetable.js @@ -380,4 +380,4 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { this._populate(); } }); -$.shortcut('bi.sequence_table_tree_number', BI.SequenceTableTreeNumber); \ No newline at end of file +BI.shortcut('bi.sequence_table_tree_number', BI.SequenceTableTreeNumber); \ No newline at end of file diff --git a/src/widget/singletree/singletree.combo.js b/src/widget/singletree/singletree.combo.js index 429b7d94b..fabb3e002 100644 --- a/src/widget/singletree/singletree.combo.js +++ b/src/widget/singletree/singletree.combo.js @@ -71,4 +71,4 @@ BI.SingleTreeCombo = BI.inherit(BI.Widget, { BI.SingleTreeCombo.EVENT_CHANGE = "SingleTreeCombo.EVENT_CHANGE"; BI.SingleTreeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; -$.shortcut("bi.single_tree_combo", BI.SingleTreeCombo); \ No newline at end of file +BI.shortcut("bi.single_tree_combo", BI.SingleTreeCombo); \ No newline at end of file diff --git a/src/widget/singletree/singletree.popup.js b/src/widget/singletree/singletree.popup.js index 2a8eba072..ad4ec5766 100644 --- a/src/widget/singletree/singletree.popup.js +++ b/src/widget/singletree/singletree.popup.js @@ -60,4 +60,4 @@ BI.SingleTreePopup = BI.inherit(BI.Pane, { }); BI.SingleTreePopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.single_tree_popup", BI.SingleTreePopup); \ No newline at end of file +BI.shortcut("bi.single_tree_popup", BI.SingleTreePopup); \ No newline at end of file diff --git a/src/widget/singletree/singletree.trigger.js b/src/widget/singletree/singletree.trigger.js index bb639cf83..afbe69f48 100644 --- a/src/widget/singletree/singletree.trigger.js +++ b/src/widget/singletree/singletree.trigger.js @@ -56,4 +56,4 @@ BI.SingleTreeTrigger = BI.inherit(BI.Trigger, { }); -$.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger); \ No newline at end of file +BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger); \ No newline at end of file diff --git a/src/widget/switchtree/switchtree.js b/src/widget/switchtree/switchtree.js index 1c29abfe5..34a816700 100644 --- a/src/widget/switchtree/switchtree.js +++ b/src/widget/switchtree/switchtree.js @@ -108,4 +108,4 @@ BI.SwitchTree.SelectType = { SingleSelect: BI.Selection.Single, MultiSelect: BI.Selection.Multi }; -$.shortcut('bi.switch_tree', BI.SwitchTree); +BI.shortcut('bi.switch_tree', BI.SwitchTree); diff --git a/src/widget/web/web.js b/src/widget/web/web.js index bb7c84e3a..84a0de021 100644 --- a/src/widget/web/web.js +++ b/src/widget/web/web.js @@ -151,4 +151,4 @@ BI.WebPage = BI.inherit(BI.Widget, { BI.WebPage.EVENT_DESTROY = "EVENT_DESTROY"; BI.WebPage.EVENT_VALUE_CHANGE = "EVENT_VALUE_CHANGE"; -$.shortcut("bi.web_page", BI.WebPage); \ No newline at end of file +BI.shortcut("bi.web_page", BI.WebPage); \ No newline at end of file diff --git a/src/widget/year/combo.year.js b/src/widget/year/combo.year.js index d1ec0e47b..d789c84a1 100644 --- a/src/widget/year/combo.year.js +++ b/src/widget/year/combo.year.js @@ -93,4 +93,4 @@ BI.YearCombo = BI.inherit(BI.Widget, { } }); BI.YearCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut('bi.year_combo', BI.YearCombo); \ No newline at end of file +BI.shortcut('bi.year_combo', BI.YearCombo); \ No newline at end of file diff --git a/src/widget/year/popup.year.js b/src/widget/year/popup.year.js index ff3bb68a8..7454c6dbc 100644 --- a/src/widget/year/popup.year.js +++ b/src/widget/year/popup.year.js @@ -100,4 +100,4 @@ BI.YearPopup = BI.inherit(BI.Widget, { } }); BI.YearPopup.EVENT_CHANGE = "EVENT_CHANGE"; -$.shortcut("bi.year_popup", BI.YearPopup); \ No newline at end of file +BI.shortcut("bi.year_popup", BI.YearPopup); \ No newline at end of file diff --git a/src/widget/year/trigger.year.js b/src/widget/year/trigger.year.js index 985a0410b..093dcfdde 100644 --- a/src/widget/year/trigger.year.js +++ b/src/widget/year/trigger.year.js @@ -103,4 +103,4 @@ BI.YearTrigger.EVENT_ERROR = "EVENT_ERROR"; BI.YearTrigger.EVENT_START = "EVENT_START"; BI.YearTrigger.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.YearTrigger.EVENT_STOP = "EVENT_STOP"; -$.shortcut("bi.year_trigger", BI.YearTrigger); \ No newline at end of file +BI.shortcut("bi.year_trigger", BI.YearTrigger); \ No newline at end of file diff --git a/src/widget/yearmonth/combo.yearmonth.js b/src/widget/yearmonth/combo.yearmonth.js index ee6fc2b51..169c96862 100644 --- a/src/widget/yearmonth/combo.yearmonth.js +++ b/src/widget/yearmonth/combo.yearmonth.js @@ -54,4 +54,4 @@ BI.YearMonthCombo = BI.inherit(BI.Widget, { } }); BI.YearMonthCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut('bi.year_month_combo', BI.YearMonthCombo); \ No newline at end of file +BI.shortcut('bi.year_month_combo', BI.YearMonthCombo); \ No newline at end of file diff --git a/src/widget/yearquarter/combo.yearquarter.js b/src/widget/yearquarter/combo.yearquarter.js index 19633f44d..3cb47364c 100644 --- a/src/widget/yearquarter/combo.yearquarter.js +++ b/src/widget/yearquarter/combo.yearquarter.js @@ -54,4 +54,4 @@ BI.YearQuarterCombo = BI.inherit(BI.Widget, { } }); BI.YearQuarterCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; -$.shortcut('bi.year_quarter_combo', BI.YearQuarterCombo); \ No newline at end of file +BI.shortcut('bi.year_quarter_combo', BI.YearQuarterCombo); \ No newline at end of file