lpmp 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +3 -0
- data/README +3 -0
- data/Rakefile +45 -0
- data/bin/lpmp +107 -0
- data/config/help.yaml +1 -0
- data/config/hosts.yaml +2 -0
- data/config/log.yaml +1 -0
- data/config/memcache.yaml +5 -0
- data/erb/index.erb +62 -0
- data/lib/bg_pull/caichen.rb +199 -0
- data/lib/bg_pull/lpmp.rb +45 -0
- data/lib/exception.rb +8 -0
- data/lib/lpmp.rb +53 -0
- data/lib/pull/lpmp.rb +355 -0
- data/lib/remote_lmp.rb +129 -0
- data/lib/utils.rb +14 -0
- data/lib/xq_push/caichen.rb +174 -0
- data/lib/xq_push/lpmp.rb +96 -0
- data/log/lpmp1st.log +1 -0
- data/public/css/ext-portal.css +40 -0
- data/public/css/lpmp.css +6 -0
- data/public/designer/caichen.epj +1 -0
- data/public/designer/hostmonitor.epj +1 -0
- data/public/ext-3.0.0/INCLUDE_ORDER.txt +35 -0
- data/public/ext-3.0.0/adapter/ext/ext-base-debug.js +3589 -0
- data/public/ext-3.0.0/adapter/ext/ext-base.js +7 -0
- data/public/ext-3.0.0/adapter/jquery/ext-jquery-adapter-debug.js +2292 -0
- data/public/ext-3.0.0/adapter/jquery/ext-jquery-adapter.js +7 -0
- data/public/ext-3.0.0/adapter/prototype/ext-prototype-adapter-debug.js +2346 -0
- data/public/ext-3.0.0/adapter/prototype/ext-prototype-adapter.js +7 -0
- data/public/ext-3.0.0/adapter/yui/ext-yui-adapter-debug.js +2136 -0
- data/public/ext-3.0.0/adapter/yui/ext-yui-adapter.js +7 -0
- data/public/ext-3.0.0/ext-all-debug.js +65610 -0
- data/public/ext-3.0.0/ext-all.js +11 -0
- data/public/ext-3.0.0/license.txt +42 -0
- data/public/ext-3.0.0/pkgs/cmp-foundation-debug.js +11287 -0
- data/public/ext-3.0.0/pkgs/cmp-foundation.js +7 -0
- data/public/ext-3.0.0/pkgs/data-foundation-debug.js +3853 -0
- data/public/ext-3.0.0/pkgs/data-foundation.js +7 -0
- data/public/ext-3.0.0/pkgs/data-grouping-debug.js +139 -0
- data/public/ext-3.0.0/pkgs/data-grouping.js +7 -0
- data/public/ext-3.0.0/pkgs/data-json-debug.js +582 -0
- data/public/ext-3.0.0/pkgs/data-json.js +7 -0
- data/public/ext-3.0.0/pkgs/data-list-views-debug.js +1278 -0
- data/public/ext-3.0.0/pkgs/data-list-views.js +7 -0
- data/public/ext-3.0.0/pkgs/data-xml-debug.js +234 -0
- data/public/ext-3.0.0/pkgs/data-xml.js +7 -0
- data/public/ext-3.0.0/pkgs/direct-debug.js +1121 -0
- data/public/ext-3.0.0/pkgs/direct.js +7 -0
- data/public/ext-3.0.0/pkgs/ext-dd-debug.js +4567 -0
- data/public/ext-3.0.0/pkgs/ext-dd.js +7 -0
- data/public/ext-3.0.0/pkgs/ext-foundation-debug.js +13417 -0
- data/public/ext-3.0.0/pkgs/ext-foundation.js +7 -0
- data/public/ext-3.0.0/pkgs/pkg-buttons-debug.js +1060 -0
- data/public/ext-3.0.0/pkgs/pkg-buttons.js +7 -0
- data/public/ext-3.0.0/pkgs/pkg-charts-debug.js +1621 -0
- data/public/ext-3.0.0/pkgs/pkg-charts.js +10 -0
- data/public/ext-3.0.0/pkgs/pkg-forms-debug.js +7661 -0
- data/public/ext-3.0.0/pkgs/pkg-forms.js +7 -0
- data/public/ext-3.0.0/pkgs/pkg-grid-editor-debug.js +560 -0
- data/public/ext-3.0.0/pkgs/pkg-grid-editor.js +7 -0
- data/public/ext-3.0.0/pkgs/pkg-grid-foundation-debug.js +4765 -0
- data/public/ext-3.0.0/pkgs/pkg-grid-foundation.js +7 -0
- data/public/ext-3.0.0/pkgs/pkg-grid-grouping-debug.js +517 -0
- data/public/ext-3.0.0/pkgs/pkg-grid-grouping.js +7 -0
- data/public/ext-3.0.0/pkgs/pkg-grid-property-debug.js +370 -0
- data/public/ext-3.0.0/pkgs/pkg-grid-property.js +7 -0
- data/public/ext-3.0.0/pkgs/pkg-history-debug.js +203 -0
- data/public/ext-3.0.0/pkgs/pkg-history.js +7 -0
- data/public/ext-3.0.0/pkgs/pkg-menu-debug.js +1628 -0
- data/public/ext-3.0.0/pkgs/pkg-menu.js +7 -0
- data/public/ext-3.0.0/pkgs/pkg-tabs-debug.js +1100 -0
- data/public/ext-3.0.0/pkgs/pkg-tabs.js +7 -0
- data/public/ext-3.0.0/pkgs/pkg-tips-debug.js +994 -0
- data/public/ext-3.0.0/pkgs/pkg-tips.js +7 -0
- data/public/ext-3.0.0/pkgs/pkg-toolbars-debug.js +1374 -0
- data/public/ext-3.0.0/pkgs/pkg-toolbars.js +7 -0
- data/public/ext-3.0.0/pkgs/pkg-tree-debug.js +4522 -0
- data/public/ext-3.0.0/pkgs/pkg-tree.js +7 -0
- data/public/ext-3.0.0/pkgs/resizable-debug.js +760 -0
- data/public/ext-3.0.0/pkgs/resizable.js +7 -0
- data/public/ext-3.0.0/pkgs/state-debug.js +274 -0
- data/public/ext-3.0.0/pkgs/state.js +7 -0
- data/public/ext-3.0.0/pkgs/window-debug.js +1888 -0
- data/public/ext-3.0.0/pkgs/window.js +7 -0
- data/public/ext-3.0.0/resources/charts.swf +0 -0
- data/public/ext-3.0.0/resources/css/README.txt +3 -0
- data/public/ext-3.0.0/resources/css/ext-all-notheme.css +5345 -0
- data/public/ext-3.0.0/resources/css/ext-all.css +6990 -0
- data/public/ext-3.0.0/resources/css/reset-min.css +7 -0
- data/public/ext-3.0.0/resources/css/structure/borders.css +54 -0
- data/public/ext-3.0.0/resources/css/structure/box.css +80 -0
- data/public/ext-3.0.0/resources/css/structure/button.css +440 -0
- data/public/ext-3.0.0/resources/css/structure/combo.css +45 -0
- data/public/ext-3.0.0/resources/css/structure/core.css +326 -0
- data/public/ext-3.0.0/resources/css/structure/date-picker.css +265 -0
- data/public/ext-3.0.0/resources/css/structure/dd.css +61 -0
- data/public/ext-3.0.0/resources/css/structure/debug.css +26 -0
- data/public/ext-3.0.0/resources/css/structure/dialog.css +62 -0
- data/public/ext-3.0.0/resources/css/structure/editor.css +92 -0
- data/public/ext-3.0.0/resources/css/structure/form.css +562 -0
- data/public/ext-3.0.0/resources/css/structure/grid.css +552 -0
- data/public/ext-3.0.0/resources/css/structure/layout.css +296 -0
- data/public/ext-3.0.0/resources/css/structure/list-view.css +85 -0
- data/public/ext-3.0.0/resources/css/structure/menu.css +205 -0
- data/public/ext-3.0.0/resources/css/structure/panel-reset.css +130 -0
- data/public/ext-3.0.0/resources/css/structure/panel.css +468 -0
- data/public/ext-3.0.0/resources/css/structure/progress.css +42 -0
- data/public/ext-3.0.0/resources/css/structure/qtips.css +153 -0
- data/public/ext-3.0.0/resources/css/structure/reset.css +7 -0
- data/public/ext-3.0.0/resources/css/structure/resizable.css +149 -0
- data/public/ext-3.0.0/resources/css/structure/slider.css +103 -0
- data/public/ext-3.0.0/resources/css/structure/tabs.css +372 -0
- data/public/ext-3.0.0/resources/css/structure/toolbar.css +259 -0
- data/public/ext-3.0.0/resources/css/structure/tree.css +203 -0
- data/public/ext-3.0.0/resources/css/structure/window.css +222 -0
- data/public/ext-3.0.0/resources/css/visual/borders.css +25 -0
- data/public/ext-3.0.0/resources/css/visual/box.css +74 -0
- data/public/ext-3.0.0/resources/css/visual/button.css +94 -0
- data/public/ext-3.0.0/resources/css/visual/combo.css +43 -0
- data/public/ext-3.0.0/resources/css/visual/core.css +76 -0
- data/public/ext-3.0.0/resources/css/visual/date-picker.css +143 -0
- data/public/ext-3.0.0/resources/css/visual/dd.css +29 -0
- data/public/ext-3.0.0/resources/css/visual/debug.css +24 -0
- data/public/ext-3.0.0/resources/css/visual/dialog.css +34 -0
- data/public/ext-3.0.0/resources/css/visual/editor.css +13 -0
- data/public/ext-3.0.0/resources/css/visual/form.css +117 -0
- data/public/ext-3.0.0/resources/css/visual/grid.css +272 -0
- data/public/ext-3.0.0/resources/css/visual/layout.css +53 -0
- data/public/ext-3.0.0/resources/css/visual/list-view.css +37 -0
- data/public/ext-3.0.0/resources/css/visual/menu.css +82 -0
- data/public/ext-3.0.0/resources/css/visual/panel.css +87 -0
- data/public/ext-3.0.0/resources/css/visual/progress.css +32 -0
- data/public/ext-3.0.0/resources/css/visual/qtips.css +44 -0
- data/public/ext-3.0.0/resources/css/visual/resizable.css +43 -0
- data/public/ext-3.0.0/resources/css/visual/slider.css +21 -0
- data/public/ext-3.0.0/resources/css/visual/tabs.css +119 -0
- data/public/ext-3.0.0/resources/css/visual/toolbar.css +103 -0
- data/public/ext-3.0.0/resources/css/visual/tree.css +157 -0
- data/public/ext-3.0.0/resources/css/visual/window.css +86 -0
- data/public/ext-3.0.0/resources/css/xtheme-blue.css +1652 -0
- data/public/ext-3.0.0/resources/expressinstall.swf +0 -0
- data/public/ext-3.0.0/resources/images/default/box/corners-blue.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/box/corners.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/box/l-blue.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/box/l.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/box/r-blue.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/box/r.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/box/tb-blue.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/box/tb.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/button/arrow.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/button/btn.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/button/group-cs.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/button/group-lr.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/button/group-tb.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/button/s-arrow-b-noline.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/button/s-arrow-b.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/button/s-arrow-bo.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/button/s-arrow-noline.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/button/s-arrow-o.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/button/s-arrow.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/dd/drop-add.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/dd/drop-no.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/dd/drop-yes.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/editor/tb-sprite.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/form/checkbox.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/form/clear-trigger.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/form/clear-trigger.psd +0 -0
- data/public/ext-3.0.0/resources/images/default/form/date-trigger.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/form/date-trigger.psd +0 -0
- data/public/ext-3.0.0/resources/images/default/form/error-tip-corners.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/form/exclamation.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/form/radio.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/form/search-trigger.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/form/search-trigger.psd +0 -0
- data/public/ext-3.0.0/resources/images/default/form/text-bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/form/trigger-tpl.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/form/trigger.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/form/trigger.psd +0 -0
- data/public/ext-3.0.0/resources/images/default/gradient-bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/arrow-left-white.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/arrow-right-white.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/col-move-bottom.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/col-move-top.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/columns.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/dirty.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/done.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/drop-no.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/drop-yes.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/footer-bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/grid-blue-hd.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/grid-blue-split.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/grid-hrow.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/grid-loading.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/grid-split.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/grid-vista-hd.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/grid3-hd-btn.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/grid3-hrow-over.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/grid3-hrow.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/grid3-special-col-bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/grid3-special-col-sel-bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/group-by.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/group-collapse.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/group-expand-sprite.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/group-expand.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/hd-pop.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/hmenu-asc.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/hmenu-desc.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/hmenu-lock.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/hmenu-lock.png +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/hmenu-unlock.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/hmenu-unlock.png +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/invalid_line.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/loading.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/mso-hd.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/nowait.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/page-first-disabled.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/page-first.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/page-last-disabled.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/page-last.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/page-next-disabled.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/page-next.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/page-prev-disabled.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/page-prev.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/pick-button.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/refresh.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/row-check-sprite.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/row-expand-sprite.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/row-over.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/row-sel.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/sort-hd.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/sort_asc.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/sort_desc.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/grid/wait.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/layout/collapse.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/layout/expand.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/layout/gradient-bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/layout/mini-bottom.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/layout/mini-left.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/layout/mini-right.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/layout/mini-top.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/layout/ns-collapse.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/layout/ns-expand.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/layout/panel-close.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/layout/panel-title-bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/layout/panel-title-light-bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/layout/stick.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/layout/stuck.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/layout/tab-close-on.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/layout/tab-close.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/menu/checked.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/menu/group-checked.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/menu/item-over.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/menu/menu-parent.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/menu/menu.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/menu/unchecked.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/panel/corners-sprite.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/panel/left-right.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/panel/light-hd.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/panel/tool-sprite-tpl.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/panel/tool-sprites.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/panel/tools-sprites-trans.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/panel/top-bottom.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/panel/top-bottom.png +0 -0
- data/public/ext-3.0.0/resources/images/default/panel/white-corners-sprite.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/panel/white-left-right.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/panel/white-top-bottom.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/progress/progress-bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/qtip/bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/qtip/close.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/qtip/tip-anchor-sprite.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/qtip/tip-sprite.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/s.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/shadow-c.png +0 -0
- data/public/ext-3.0.0/resources/images/default/shadow-lr.png +0 -0
- data/public/ext-3.0.0/resources/images/default/shadow.png +0 -0
- data/public/ext-3.0.0/resources/images/default/shared/blue-loading.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/shared/calendar.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/shared/glass-bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/shared/hd-sprite.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/shared/large-loading.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/shared/left-btn.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/shared/loading-balls.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/shared/right-btn.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/shared/warning.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/sizer/e-handle-dark.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/sizer/e-handle.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/sizer/ne-handle-dark.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/sizer/ne-handle.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/sizer/nw-handle-dark.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/sizer/nw-handle.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/sizer/s-handle-dark.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/sizer/s-handle.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/sizer/se-handle-dark.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/sizer/se-handle.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/sizer/square.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/sizer/sw-handle-dark.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/sizer/sw-handle.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/slider/slider-bg.png +0 -0
- data/public/ext-3.0.0/resources/images/default/slider/slider-thumb.png +0 -0
- data/public/ext-3.0.0/resources/images/default/slider/slider-v-bg.png +0 -0
- data/public/ext-3.0.0/resources/images/default/slider/slider-v-thumb.png +0 -0
- data/public/ext-3.0.0/resources/images/default/tabs/scroll-left.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tabs/scroll-right.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tabs/scroller-bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tabs/tab-btm-inactive-left-bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tabs/tab-btm-inactive-right-bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tabs/tab-btm-left-bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tabs/tab-btm-right-bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tabs/tab-close.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tabs/tab-strip-bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tabs/tab-strip-bg.png +0 -0
- data/public/ext-3.0.0/resources/images/default/tabs/tab-strip-btm-bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tabs/tabs-sprite.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/toolbar/bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/toolbar/btn-arrow-light.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/toolbar/btn-arrow.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/toolbar/btn-over-bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/toolbar/gray-bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/toolbar/more.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/toolbar/tb-bg.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/toolbar/tb-btn-sprite.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/toolbar/tb-xl-btn-sprite.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/toolbar/tb-xl-sep.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/arrows.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/drop-add.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/drop-between.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/drop-no.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/drop-over.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/drop-under.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/drop-yes.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/elbow-end-minus-nl.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/elbow-end-minus.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/elbow-end-plus-nl.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/elbow-end-plus.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/elbow-end.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/elbow-line.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/elbow-minus-nl.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/elbow-minus.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/elbow-plus-nl.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/elbow-plus.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/elbow.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/folder-open.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/folder.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/leaf.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/loading.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/tree/s.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/window/icon-error.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/window/icon-info.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/window/icon-question.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/window/icon-warning.gif +0 -0
- data/public/ext-3.0.0/resources/images/default/window/left-corners.png +0 -0
- data/public/ext-3.0.0/resources/images/default/window/left-corners.psd +0 -0
- data/public/ext-3.0.0/resources/images/default/window/left-right.png +0 -0
- data/public/ext-3.0.0/resources/images/default/window/left-right.psd +0 -0
- data/public/ext-3.0.0/resources/images/default/window/right-corners.png +0 -0
- data/public/ext-3.0.0/resources/images/default/window/right-corners.psd +0 -0
- data/public/ext-3.0.0/resources/images/default/window/top-bottom.png +0 -0
- data/public/ext-3.0.0/resources/images/default/window/top-bottom.psd +0 -0
- data/public/ext-3.0.0/resources/images/icon/chart.gif +0 -0
- data/public/ext-3.0.0/src/adapter/core/ext-base-ajax.js +371 -0
- data/public/ext-3.0.0/src/adapter/core/ext-base-anim-extra.js +301 -0
- data/public/ext-3.0.0/src/adapter/core/ext-base-anim.js +477 -0
- data/public/ext-3.0.0/src/adapter/core/ext-base-begin.js +18 -0
- data/public/ext-3.0.0/src/adapter/core/ext-base-dom.js +157 -0
- data/public/ext-3.0.0/src/adapter/core/ext-base-end.js +21 -0
- data/public/ext-3.0.0/src/adapter/core/ext-base-event.js +453 -0
- data/public/ext-3.0.0/src/adapter/core/ext-base-point.js +17 -0
- data/public/ext-3.0.0/src/adapter/core/ext-base-region.js +81 -0
- data/public/ext-3.0.0/src/adapter/ext-base-dom-more.js +9 -0
- data/public/ext-3.0.0/src/adapter/jquery-bridge.js +546 -0
- data/public/ext-3.0.0/src/adapter/prototype-bridge.js +600 -0
- data/public/ext-3.0.0/src/adapter/yui-bridge.js +390 -0
- data/public/ext-3.0.0/src/core/CompositeElement.js +136 -0
- data/public/ext-3.0.0/src/core/CompositeElementLite-more.js +102 -0
- data/public/ext-3.0.0/src/core/DomHelper-more.js +179 -0
- data/public/ext-3.0.0/src/core/Element-more.js +192 -0
- data/public/ext-3.0.0/src/core/Element.alignment.js +370 -0
- data/public/ext-3.0.0/src/core/Element.dd.js +46 -0
- data/public/ext-3.0.0/src/core/Element.fx-more.js +152 -0
- data/public/ext-3.0.0/src/core/Element.insertion-more.js +52 -0
- data/public/ext-3.0.0/src/core/Element.keys.js +48 -0
- data/public/ext-3.0.0/src/core/Element.legacy.js +42 -0
- data/public/ext-3.0.0/src/core/Element.position-more.js +165 -0
- data/public/ext-3.0.0/src/core/Element.scroll-more.js +110 -0
- data/public/ext-3.0.0/src/core/Element.style-more.js +318 -0
- data/public/ext-3.0.0/src/core/Error.js +81 -0
- data/public/ext-3.0.0/src/core/EventManager-more.js +334 -0
- data/public/ext-3.0.0/src/core/Ext-more.js +669 -0
- data/public/ext-3.0.0/src/core/Template-more.js +115 -0
- data/public/ext-3.0.0/src/core/core/CompositeElementLite.js +197 -0
- data/public/ext-3.0.0/src/core/core/DomHelper.js +378 -0
- data/public/ext-3.0.0/src/core/core/DomQuery.js +826 -0
- data/public/ext-3.0.0/src/core/core/Element.fx.js +324 -0
- data/public/ext-3.0.0/src/core/core/Element.insertion.js +147 -0
- data/public/ext-3.0.0/src/core/core/Element.js +945 -0
- data/public/ext-3.0.0/src/core/core/Element.position.js +303 -0
- data/public/ext-3.0.0/src/core/core/Element.scroll.js +58 -0
- data/public/ext-3.0.0/src/core/core/Element.style.js +439 -0
- data/public/ext-3.0.0/src/core/core/Element.traversal.js +176 -0
- data/public/ext-3.0.0/src/core/core/EventManager.js +623 -0
- data/public/ext-3.0.0/src/core/core/Ext.js +922 -0
- data/public/ext-3.0.0/src/core/core/Fx.js +1115 -0
- data/public/ext-3.0.0/src/core/core/Template.js +185 -0
- data/public/ext-3.0.0/src/data/Api.js +210 -0
- data/public/ext-3.0.0/src/data/ArrayReader.js +102 -0
- data/public/ext-3.0.0/src/data/ArrayStore.js +70 -0
- data/public/ext-3.0.0/src/data/DataField.js +249 -0
- data/public/ext-3.0.0/src/data/DataProxy.js +427 -0
- data/public/ext-3.0.0/src/data/DataReader.js +160 -0
- data/public/ext-3.0.0/src/data/DataWriter.js +201 -0
- data/public/ext-3.0.0/src/data/DirectProxy.js +141 -0
- data/public/ext-3.0.0/src/data/DirectStore.js +52 -0
- data/public/ext-3.0.0/src/data/GroupingStore.js +139 -0
- data/public/ext-3.0.0/src/data/HttpProxy.js +276 -0
- data/public/ext-3.0.0/src/data/JsonReader.js +311 -0
- data/public/ext-3.0.0/src/data/JsonStore.js +49 -0
- data/public/ext-3.0.0/src/data/JsonWriter.js +77 -0
- data/public/ext-3.0.0/src/data/MemoryProxy.js +69 -0
- data/public/ext-3.0.0/src/data/Record.js +400 -0
- data/public/ext-3.0.0/src/data/ScriptTagProxy.js +279 -0
- data/public/ext-3.0.0/src/data/SortTypes.js +91 -0
- data/public/ext-3.0.0/src/data/Store.js +1492 -0
- data/public/ext-3.0.0/src/data/StoreMgr.js +72 -0
- data/public/ext-3.0.0/src/data/Tree.js +785 -0
- data/public/ext-3.0.0/src/data/XmlReader.js +128 -0
- data/public/ext-3.0.0/src/data/XmlStore.js +75 -0
- data/public/ext-3.0.0/src/data/XmlWriter.js +45 -0
- data/public/ext-3.0.0/src/data/core/Connection.js +575 -0
- data/public/ext-3.0.0/src/dd/DDCore.js +2992 -0
- data/public/ext-3.0.0/src/dd/DragSource.js +365 -0
- data/public/ext-3.0.0/src/dd/DragTracker.js +217 -0
- data/public/ext-3.0.0/src/dd/DragZone.js +133 -0
- data/public/ext-3.0.0/src/dd/DropTarget.js +115 -0
- data/public/ext-3.0.0/src/dd/DropZone.js +262 -0
- data/public/ext-3.0.0/src/dd/Registry.js +127 -0
- data/public/ext-3.0.0/src/dd/ScrollManager.js +201 -0
- data/public/ext-3.0.0/src/dd/StatusProxy.js +171 -0
- data/public/ext-3.0.0/src/debug.js +906 -0
- data/public/ext-3.0.0/src/direct/Direct.js +235 -0
- data/public/ext-3.0.0/src/direct/Event.js +34 -0
- data/public/ext-3.0.0/src/direct/JsonProvider.js +45 -0
- data/public/ext-3.0.0/src/direct/PollingProvider.js +151 -0
- data/public/ext-3.0.0/src/direct/Provider.js +110 -0
- data/public/ext-3.0.0/src/direct/RemotingProvider.js +373 -0
- data/public/ext-3.0.0/src/direct/Transaction.js +32 -0
- data/public/ext-3.0.0/src/locale/ext-lang-af.js +184 -0
- data/public/ext-3.0.0/src/locale/ext-lang-bg.js +278 -0
- data/public/ext-3.0.0/src/locale/ext-lang-ca.js +315 -0
- data/public/ext-3.0.0/src/locale/ext-lang-cs.js +293 -0
- data/public/ext-3.0.0/src/locale/ext-lang-da.js +296 -0
- data/public/ext-3.0.0/src/locale/ext-lang-de.js +326 -0
- data/public/ext-3.0.0/src/locale/ext-lang-el_GR.js +309 -0
- data/public/ext-3.0.0/src/locale/ext-lang-en.js +335 -0
- data/public/ext-3.0.0/src/locale/ext-lang-en_GB.js +315 -0
- data/public/ext-3.0.0/src/locale/ext-lang-es.js +318 -0
- data/public/ext-3.0.0/src/locale/ext-lang-fa.js +272 -0
- data/public/ext-3.0.0/src/locale/ext-lang-fi.js +302 -0
- data/public/ext-3.0.0/src/locale/ext-lang-fr.js +335 -0
- data/public/ext-3.0.0/src/locale/ext-lang-fr_CA.js +218 -0
- data/public/ext-3.0.0/src/locale/ext-lang-gr.js +175 -0
- data/public/ext-3.0.0/src/locale/ext-lang-he.js +292 -0
- data/public/ext-3.0.0/src/locale/ext-lang-hr.js +295 -0
- data/public/ext-3.0.0/src/locale/ext-lang-hu.js +296 -0
- data/public/ext-3.0.0/src/locale/ext-lang-id.js +302 -0
- data/public/ext-3.0.0/src/locale/ext-lang-it.js +295 -0
- data/public/ext-3.0.0/src/locale/ext-lang-ja.js +318 -0
- data/public/ext-3.0.0/src/locale/ext-lang-ko.js +267 -0
- data/public/ext-3.0.0/src/locale/ext-lang-lt.js +333 -0
- data/public/ext-3.0.0/src/locale/ext-lang-lv.js +176 -0
- data/public/ext-3.0.0/src/locale/ext-lang-mk.js +176 -0
- data/public/ext-3.0.0/src/locale/ext-lang-nl.js +323 -0
- data/public/ext-3.0.0/src/locale/ext-lang-no_NB.js +294 -0
- data/public/ext-3.0.0/src/locale/ext-lang-no_NN.js +294 -0
- data/public/ext-3.0.0/src/locale/ext-lang-pl.js +304 -0
- data/public/ext-3.0.0/src/locale/ext-lang-pt.js +260 -0
- data/public/ext-3.0.0/src/locale/ext-lang-pt_BR.js +302 -0
- data/public/ext-3.0.0/src/locale/ext-lang-pt_PT.js +298 -0
- data/public/ext-3.0.0/src/locale/ext-lang-ro.js +295 -0
- data/public/ext-3.0.0/src/locale/ext-lang-ru.js +319 -0
- data/public/ext-3.0.0/src/locale/ext-lang-sk.js +182 -0
- data/public/ext-3.0.0/src/locale/ext-lang-sl.js +176 -0
- data/public/ext-3.0.0/src/locale/ext-lang-sr.js +179 -0
- data/public/ext-3.0.0/src/locale/ext-lang-sr_RS.js +178 -0
- data/public/ext-3.0.0/src/locale/ext-lang-sv_SE.js +178 -0
- data/public/ext-3.0.0/src/locale/ext-lang-th.js +294 -0
- data/public/ext-3.0.0/src/locale/ext-lang-tr.js +306 -0
- data/public/ext-3.0.0/src/locale/ext-lang-ukr.js +258 -0
- data/public/ext-3.0.0/src/locale/ext-lang-vn.js +181 -0
- data/public/ext-3.0.0/src/locale/ext-lang-zh_CN.js +174 -0
- data/public/ext-3.0.0/src/locale/ext-lang-zh_TW.js +178 -0
- data/public/ext-3.0.0/src/state/CookieProvider.js +91 -0
- data/public/ext-3.0.0/src/state/Provider.js +127 -0
- data/public/ext-3.0.0/src/state/StateManager.js +69 -0
- data/public/ext-3.0.0/src/util/CSS.js +161 -0
- data/public/ext-3.0.0/src/util/ClickRepeater.js +200 -0
- data/public/ext-3.0.0/src/util/Cookies.js +96 -0
- data/public/ext-3.0.0/src/util/Date.js +1317 -0
- data/public/ext-3.0.0/src/util/Format.js +356 -0
- data/public/ext-3.0.0/src/util/History.js +203 -0
- data/public/ext-3.0.0/src/util/KeyMap.js +242 -0
- data/public/ext-3.0.0/src/util/KeyNav.js +161 -0
- data/public/ext-3.0.0/src/util/MixedCollection.js +576 -0
- data/public/ext-3.0.0/src/util/Observable-more.js +178 -0
- data/public/ext-3.0.0/src/util/TextMetrics.js +131 -0
- data/public/ext-3.0.0/src/util/UpdateManager.js +536 -0
- data/public/ext-3.0.0/src/util/XTemplate.js +379 -0
- data/public/ext-3.0.0/src/util/core/DelayedTask.js +68 -0
- data/public/ext-3.0.0/src/util/core/JSON.js +174 -0
- data/public/ext-3.0.0/src/util/core/Observable.js +483 -0
- data/public/ext-3.0.0/src/util/core/TaskMgr.js +174 -0
- data/public/ext-3.0.0/src/widgets/Action.js +252 -0
- data/public/ext-3.0.0/src/widgets/BoxComponent.js +519 -0
- data/public/ext-3.0.0/src/widgets/Button.js +762 -0
- data/public/ext-3.0.0/src/widgets/ButtonGroup.js +103 -0
- data/public/ext-3.0.0/src/widgets/ColorPalette.js +148 -0
- data/public/ext-3.0.0/src/widgets/Component.js +1540 -0
- data/public/ext-3.0.0/src/widgets/ComponentMgr.js +159 -0
- data/public/ext-3.0.0/src/widgets/Container.js +894 -0
- data/public/ext-3.0.0/src/widgets/CycleButton.js +188 -0
- data/public/ext-3.0.0/src/widgets/DataView.js +749 -0
- data/public/ext-3.0.0/src/widgets/DatePicker.js +771 -0
- data/public/ext-3.0.0/src/widgets/Editor.js +385 -0
- data/public/ext-3.0.0/src/widgets/Layer.js +466 -0
- data/public/ext-3.0.0/src/widgets/LoadMask.js +123 -0
- data/public/ext-3.0.0/src/widgets/MessageBox.js +626 -0
- data/public/ext-3.0.0/src/widgets/PagingToolbar.js +502 -0
- data/public/ext-3.0.0/src/widgets/Panel.js +1772 -0
- data/public/ext-3.0.0/src/widgets/PanelDD.js +154 -0
- data/public/ext-3.0.0/src/widgets/ProgressBar.js +289 -0
- data/public/ext-3.0.0/src/widgets/Resizable.js +760 -0
- data/public/ext-3.0.0/src/widgets/Shadow.js +192 -0
- data/public/ext-3.0.0/src/widgets/Slider.js +426 -0
- data/public/ext-3.0.0/src/widgets/SplitBar.js +436 -0
- data/public/ext-3.0.0/src/widgets/SplitButton.js +124 -0
- data/public/ext-3.0.0/src/widgets/TabPanel.js +1100 -0
- data/public/ext-3.0.0/src/widgets/Toolbar.js +781 -0
- data/public/ext-3.0.0/src/widgets/Viewport.js +124 -0
- data/public/ext-3.0.0/src/widgets/Window.js +941 -0
- data/public/ext-3.0.0/src/widgets/WindowManager.js +187 -0
- data/public/ext-3.0.0/src/widgets/chart/Chart.js +721 -0
- data/public/ext-3.0.0/src/widgets/chart/EventProxy.js +20 -0
- data/public/ext-3.0.0/src/widgets/chart/FlashComponent.js +117 -0
- data/public/ext-3.0.0/src/widgets/chart/swfobject.js +783 -0
- data/public/ext-3.0.0/src/widgets/form/Action.js +626 -0
- data/public/ext-3.0.0/src/widgets/form/BasicForm.js +735 -0
- data/public/ext-3.0.0/src/widgets/form/Checkbox.js +177 -0
- data/public/ext-3.0.0/src/widgets/form/CheckboxGroup.js +419 -0
- data/public/ext-3.0.0/src/widgets/form/Combo.js +1232 -0
- data/public/ext-3.0.0/src/widgets/form/DateField.js +389 -0
- data/public/ext-3.0.0/src/widgets/form/DisplayField.js +98 -0
- data/public/ext-3.0.0/src/widgets/form/Field.js +640 -0
- data/public/ext-3.0.0/src/widgets/form/FieldSet.js +305 -0
- data/public/ext-3.0.0/src/widgets/form/Form.js +335 -0
- data/public/ext-3.0.0/src/widgets/form/Hidden.js +39 -0
- data/public/ext-3.0.0/src/widgets/form/HtmlEditor.js +1179 -0
- data/public/ext-3.0.0/src/widgets/form/Label.js +64 -0
- data/public/ext-3.0.0/src/widgets/form/NumberField.js +139 -0
- data/public/ext-3.0.0/src/widgets/form/Radio.js +81 -0
- data/public/ext-3.0.0/src/widgets/form/RadioGroup.js +116 -0
- data/public/ext-3.0.0/src/widgets/form/TextArea.js +117 -0
- data/public/ext-3.0.0/src/widgets/form/TextField.js +491 -0
- data/public/ext-3.0.0/src/widgets/form/TimeField.js +146 -0
- data/public/ext-3.0.0/src/widgets/form/TriggerField.js +328 -0
- data/public/ext-3.0.0/src/widgets/form/VTypes.js +135 -0
- data/public/ext-3.0.0/src/widgets/grid/AbstractSelectionModel.js +57 -0
- data/public/ext-3.0.0/src/widgets/grid/CellSelectionModel.js +262 -0
- data/public/ext-3.0.0/src/widgets/grid/CheckboxSelectionModel.js +103 -0
- data/public/ext-3.0.0/src/widgets/grid/Column.js +406 -0
- data/public/ext-3.0.0/src/widgets/grid/ColumnDD.js +199 -0
- data/public/ext-3.0.0/src/widgets/grid/ColumnModel.js +592 -0
- data/public/ext-3.0.0/src/widgets/grid/ColumnSplitDD.js +62 -0
- data/public/ext-3.0.0/src/widgets/grid/EditorGrid.js +291 -0
- data/public/ext-3.0.0/src/widgets/grid/GridDD.js +95 -0
- data/public/ext-3.0.0/src/widgets/grid/GridEditor.js +21 -0
- data/public/ext-3.0.0/src/widgets/grid/GridPanel.js +952 -0
- data/public/ext-3.0.0/src/widgets/grid/GridView.js +1776 -0
- data/public/ext-3.0.0/src/widgets/grid/GroupingView.js +517 -0
- data/public/ext-3.0.0/src/widgets/grid/PropertyGrid.js +370 -0
- data/public/ext-3.0.0/src/widgets/grid/RowNumberer.js +61 -0
- data/public/ext-3.0.0/src/widgets/grid/RowSelectionModel.js +530 -0
- data/public/ext-3.0.0/src/widgets/layout/AbsoluteLayout.js +82 -0
- data/public/ext-3.0.0/src/widgets/layout/AccordionLayout.js +177 -0
- data/public/ext-3.0.0/src/widgets/layout/AnchorLayout.js +200 -0
- data/public/ext-3.0.0/src/widgets/layout/BorderLayout.js +1108 -0
- data/public/ext-3.0.0/src/widgets/layout/BoxLayout.js +417 -0
- data/public/ext-3.0.0/src/widgets/layout/CardLayout.js +127 -0
- data/public/ext-3.0.0/src/widgets/layout/ColumnLayout.js +130 -0
- data/public/ext-3.0.0/src/widgets/layout/ContainerLayout.js +215 -0
- data/public/ext-3.0.0/src/widgets/layout/FitLayout.js +48 -0
- data/public/ext-3.0.0/src/widgets/layout/FormLayout.js +266 -0
- data/public/ext-3.0.0/src/widgets/layout/TableLayout.js +194 -0
- data/public/ext-3.0.0/src/widgets/list/ColumnResizer.js +123 -0
- data/public/ext-3.0.0/src/widgets/list/ListView.js +357 -0
- data/public/ext-3.0.0/src/widgets/list/Sorter.js +70 -0
- data/public/ext-3.0.0/src/widgets/menu/BaseItem.js +160 -0
- data/public/ext-3.0.0/src/widgets/menu/CheckItem.js +114 -0
- data/public/ext-3.0.0/src/widgets/menu/ColorMenu.js +72 -0
- data/public/ext-3.0.0/src/widgets/menu/DateMenu.js +90 -0
- data/public/ext-3.0.0/src/widgets/menu/Item.js +211 -0
- data/public/ext-3.0.0/src/widgets/menu/Menu.js +733 -0
- data/public/ext-3.0.0/src/widgets/menu/MenuMgr.js +211 -0
- data/public/ext-3.0.0/src/widgets/menu/Separator.js +46 -0
- data/public/ext-3.0.0/src/widgets/menu/TextItem.js +46 -0
- data/public/ext-3.0.0/src/widgets/tips/QuickTip.js +207 -0
- data/public/ext-3.0.0/src/widgets/tips/QuickTips.js +159 -0
- data/public/ext-3.0.0/src/widgets/tips/Tip.js +157 -0
- data/public/ext-3.0.0/src/widgets/tips/ToolTip.js +492 -0
- data/public/ext-3.0.0/src/widgets/tree/AsyncTreeNode.js +114 -0
- data/public/ext-3.0.0/src/widgets/tree/TreeDragZone.js +82 -0
- data/public/ext-3.0.0/src/widgets/tree/TreeDropZone.js +321 -0
- data/public/ext-3.0.0/src/widgets/tree/TreeEditor.js +160 -0
- data/public/ext-3.0.0/src/widgets/tree/TreeEventModel.js +169 -0
- data/public/ext-3.0.0/src/widgets/tree/TreeFilter.js +114 -0
- data/public/ext-3.0.0/src/widgets/tree/TreeLoader.js +342 -0
- data/public/ext-3.0.0/src/widgets/tree/TreeNode.js +546 -0
- data/public/ext-3.0.0/src/widgets/tree/TreeNodeUI.js +633 -0
- data/public/ext-3.0.0/src/widgets/tree/TreePanel.js +918 -0
- data/public/ext-3.0.0/src/widgets/tree/TreeSelectionModel.js +315 -0
- data/public/ext-3.0.0/src/widgets/tree/TreeSorter.js +106 -0
- data/public/js/ext-portal.js +235 -0
- data/public/js/global.js +7 -0
- data/public/js/outerframe.js +47 -0
- data/public/js/portal.js +713 -0
- data/public/js/test_chart.js +152 -0
- data/test/config.rb +62 -0
- data/test/config/hosts.yaml +5 -0
- data/test/config/log.yaml +1 -0
- data/test/config/memcache.yaml +5 -0
- data/test/exception.rb +39 -0
- data/test/method_missing.rb +14 -0
- data/test/module.rb +39 -0
- data/test/remote_lmp.rb +126 -0
- data/test/sinatra.rb +29 -0
- data/test/sinatra_base.rb +16 -0
- metadata +690 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Ext JS Library 3.0.0
|
|
3
|
+
* Copyright(c) 2006-2009 Ext JS, LLC
|
|
4
|
+
* licensing@extjs.com
|
|
5
|
+
* http://www.extjs.com/license
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @class Ext.dd.DragZone
|
|
9
|
+
* @extends Ext.dd.DragSource
|
|
10
|
+
* <p>This class provides a container DD instance that allows dragging of multiple child source nodes.</p>
|
|
11
|
+
* <p>This class does not move the drag target nodes, but a proxy element which may contain
|
|
12
|
+
* any DOM structure you wish. The DOM element to show in the proxy is provided by either a
|
|
13
|
+
* provided implementation of {@link #getDragData}, or by registered draggables registered with {@link Ext.dd.Registry}</p>
|
|
14
|
+
* <p>If you wish to provide draggability for an arbitrary number of DOM nodes, each of which represent some
|
|
15
|
+
* application object (For example nodes in a {@link Ext.DataView DataView}) then use of this class
|
|
16
|
+
* is the most efficient way to "activate" those nodes.</p>
|
|
17
|
+
* <p>By default, this class requires that draggable child nodes are registered with {@link Ext.dd.Registry}.
|
|
18
|
+
* However a simpler way to allow a DragZone to manage any number of draggable elements is to configure
|
|
19
|
+
* the DragZone with an implementation of the {@link #getDragData} method which interrogates the passed
|
|
20
|
+
* mouse event to see if it has taken place within an element, or class of elements. This is easily done
|
|
21
|
+
* by using the event's {@link Ext.EventObject#getTarget getTarget} method to identify a node based on a
|
|
22
|
+
* {@link Ext.DomQuery} selector. For example, to make the nodes of a DataView draggable, use the following
|
|
23
|
+
* technique. Knowledge of the use of the DataView is required:</p><pre><code>
|
|
24
|
+
myDataView.on('render', function() {
|
|
25
|
+
myDataView.dragZone = new Ext.dd.DragZone(myDataView.getEl(), {
|
|
26
|
+
|
|
27
|
+
// On receipt of a mousedown event, see if it is within a DataView node.
|
|
28
|
+
// Return a drag data object if so.
|
|
29
|
+
getDragData: function(e) {
|
|
30
|
+
|
|
31
|
+
// Use the DataView's own itemSelector (a mandatory property) to
|
|
32
|
+
// test if the mousedown is within one of the DataView's nodes.
|
|
33
|
+
var sourceEl = e.getTarget(myDataView.itemSelector, 10);
|
|
34
|
+
|
|
35
|
+
// If the mousedown is within a DataView node, clone the node to produce
|
|
36
|
+
// a ddel element for use by the drag proxy. Also add application data
|
|
37
|
+
// to the returned data object.
|
|
38
|
+
if (sourceEl) {
|
|
39
|
+
d = sourceEl.cloneNode(true);
|
|
40
|
+
d.id = Ext.id();
|
|
41
|
+
return {
|
|
42
|
+
ddel: d,
|
|
43
|
+
sourceEl: sourceEl,
|
|
44
|
+
repairXY: Ext.fly(sourceEl).getXY(),
|
|
45
|
+
sourceStore: myDataView.store,
|
|
46
|
+
draggedRecord: v.getRecord(sourceEl)
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
|
|
51
|
+
// Provide coordinates for the proxy to slide back to on failed drag.
|
|
52
|
+
// This is the original XY coordinates of the draggable element captured
|
|
53
|
+
// in the getDragData method.
|
|
54
|
+
getRepairXY: function() {
|
|
55
|
+
return this.dragData.repairXY;
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
});</code></pre>
|
|
59
|
+
* See the {@link Ext.dd.DropZone DropZone} documentation for details about building a DropZone which
|
|
60
|
+
* cooperates with this DragZone.
|
|
61
|
+
* @constructor
|
|
62
|
+
* @param {Mixed} el The container element
|
|
63
|
+
* @param {Object} config
|
|
64
|
+
*/
|
|
65
|
+
Ext.dd.DragZone = function(el, config){
|
|
66
|
+
Ext.dd.DragZone.superclass.constructor.call(this, el, config);
|
|
67
|
+
if(this.containerScroll){
|
|
68
|
+
Ext.dd.ScrollManager.register(this.el);
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
Ext.extend(Ext.dd.DragZone, Ext.dd.DragSource, {
|
|
73
|
+
/**
|
|
74
|
+
* This property contains the data representing the dragged object. This data is set up by the implementation
|
|
75
|
+
* of the {@link #getDragData} method. It must contain a <tt>ddel</tt> property, but can contain
|
|
76
|
+
* any other data according to the application's needs.
|
|
77
|
+
* @type Object
|
|
78
|
+
* @property dragData
|
|
79
|
+
*/
|
|
80
|
+
/**
|
|
81
|
+
* @cfg {Boolean} containerScroll True to register this container with the Scrollmanager
|
|
82
|
+
* for auto scrolling during drag operations.
|
|
83
|
+
*/
|
|
84
|
+
/**
|
|
85
|
+
* @cfg {String} hlColor The color to use when visually highlighting the drag source in the afterRepair
|
|
86
|
+
* method after a failed drop (defaults to "c3daf9" - light blue)
|
|
87
|
+
*/
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Called when a mousedown occurs in this container. Looks in {@link Ext.dd.Registry}
|
|
91
|
+
* for a valid target to drag based on the mouse down. Override this method
|
|
92
|
+
* to provide your own lookup logic (e.g. finding a child by class name). Make sure your returned
|
|
93
|
+
* object has a "ddel" attribute (with an HTML Element) for other functions to work.
|
|
94
|
+
* @param {EventObject} e The mouse down event
|
|
95
|
+
* @return {Object} The dragData
|
|
96
|
+
*/
|
|
97
|
+
getDragData : function(e){
|
|
98
|
+
return Ext.dd.Registry.getHandleFromEvent(e);
|
|
99
|
+
},
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Called once drag threshold has been reached to initialize the proxy element. By default, it clones the
|
|
103
|
+
* this.dragData.ddel
|
|
104
|
+
* @param {Number} x The x position of the click on the dragged object
|
|
105
|
+
* @param {Number} y The y position of the click on the dragged object
|
|
106
|
+
* @return {Boolean} true to continue the drag, false to cancel
|
|
107
|
+
*/
|
|
108
|
+
onInitDrag : function(x, y){
|
|
109
|
+
this.proxy.update(this.dragData.ddel.cloneNode(true));
|
|
110
|
+
this.onStartDrag(x, y);
|
|
111
|
+
return true;
|
|
112
|
+
},
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Called after a repair of an invalid drop. By default, highlights this.dragData.ddel
|
|
116
|
+
*/
|
|
117
|
+
afterRepair : function(){
|
|
118
|
+
if(Ext.enableFx){
|
|
119
|
+
Ext.Element.fly(this.dragData.ddel).highlight(this.hlColor || "c3daf9");
|
|
120
|
+
}
|
|
121
|
+
this.dragging = false;
|
|
122
|
+
},
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Called before a repair of an invalid drop to get the XY to animate to. By default returns
|
|
126
|
+
* the XY of this.dragData.ddel
|
|
127
|
+
* @param {EventObject} e The mouse up event
|
|
128
|
+
* @return {Array} The xy location (e.g. [100, 200])
|
|
129
|
+
*/
|
|
130
|
+
getRepairXY : function(e){
|
|
131
|
+
return Ext.Element.fly(this.dragData.ddel).getXY();
|
|
132
|
+
}
|
|
133
|
+
});
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Ext JS Library 3.0.0
|
|
3
|
+
* Copyright(c) 2006-2009 Ext JS, LLC
|
|
4
|
+
* licensing@extjs.com
|
|
5
|
+
* http://www.extjs.com/license
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @class Ext.dd.DropTarget
|
|
9
|
+
* @extends Ext.dd.DDTarget
|
|
10
|
+
* A simple class that provides the basic implementation needed to make any element a drop target that can have
|
|
11
|
+
* draggable items dropped onto it. The drop has no effect until an implementation of notifyDrop is provided.
|
|
12
|
+
* @constructor
|
|
13
|
+
* @param {Mixed} el The container element
|
|
14
|
+
* @param {Object} config
|
|
15
|
+
*/
|
|
16
|
+
Ext.dd.DropTarget = function(el, config){
|
|
17
|
+
this.el = Ext.get(el);
|
|
18
|
+
|
|
19
|
+
Ext.apply(this, config);
|
|
20
|
+
|
|
21
|
+
if(this.containerScroll){
|
|
22
|
+
Ext.dd.ScrollManager.register(this.el);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
Ext.dd.DropTarget.superclass.constructor.call(this, this.el.dom, this.ddGroup || this.group,
|
|
26
|
+
{isTarget: true});
|
|
27
|
+
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
Ext.extend(Ext.dd.DropTarget, Ext.dd.DDTarget, {
|
|
31
|
+
/**
|
|
32
|
+
* @cfg {String} ddGroup
|
|
33
|
+
* A named drag drop group to which this object belongs. If a group is specified, then this object will only
|
|
34
|
+
* interact with other drag drop objects in the same group (defaults to undefined).
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* @cfg {String} overClass
|
|
38
|
+
* The CSS class applied to the drop target element while the drag source is over it (defaults to "").
|
|
39
|
+
*/
|
|
40
|
+
/**
|
|
41
|
+
* @cfg {String} dropAllowed
|
|
42
|
+
* The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok").
|
|
43
|
+
*/
|
|
44
|
+
dropAllowed : "x-dd-drop-ok",
|
|
45
|
+
/**
|
|
46
|
+
* @cfg {String} dropNotAllowed
|
|
47
|
+
* The CSS class returned to the drag source when drop is not allowed (defaults to "x-dd-drop-nodrop").
|
|
48
|
+
*/
|
|
49
|
+
dropNotAllowed : "x-dd-drop-nodrop",
|
|
50
|
+
|
|
51
|
+
// private
|
|
52
|
+
isTarget : true,
|
|
53
|
+
|
|
54
|
+
// private
|
|
55
|
+
isNotifyTarget : true,
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* The function a {@link Ext.dd.DragSource} calls once to notify this drop target that the source is now over the
|
|
59
|
+
* target. This default implementation adds the CSS class specified by overClass (if any) to the drop element
|
|
60
|
+
* and returns the dropAllowed config value. This method should be overridden if drop validation is required.
|
|
61
|
+
* @param {Ext.dd.DragSource} source The drag source that was dragged over this drop target
|
|
62
|
+
* @param {Event} e The event
|
|
63
|
+
* @param {Object} data An object containing arbitrary data supplied by the drag source
|
|
64
|
+
* @return {String} status The CSS class that communicates the drop status back to the source so that the
|
|
65
|
+
* underlying {@link Ext.dd.StatusProxy} can be updated
|
|
66
|
+
*/
|
|
67
|
+
notifyEnter : function(dd, e, data){
|
|
68
|
+
if(this.overClass){
|
|
69
|
+
this.el.addClass(this.overClass);
|
|
70
|
+
}
|
|
71
|
+
return this.dropAllowed;
|
|
72
|
+
},
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* The function a {@link Ext.dd.DragSource} calls continuously while it is being dragged over the target.
|
|
76
|
+
* This method will be called on every mouse movement while the drag source is over the drop target.
|
|
77
|
+
* This default implementation simply returns the dropAllowed config value.
|
|
78
|
+
* @param {Ext.dd.DragSource} source The drag source that was dragged over this drop target
|
|
79
|
+
* @param {Event} e The event
|
|
80
|
+
* @param {Object} data An object containing arbitrary data supplied by the drag source
|
|
81
|
+
* @return {String} status The CSS class that communicates the drop status back to the source so that the
|
|
82
|
+
* underlying {@link Ext.dd.StatusProxy} can be updated
|
|
83
|
+
*/
|
|
84
|
+
notifyOver : function(dd, e, data){
|
|
85
|
+
return this.dropAllowed;
|
|
86
|
+
},
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* The function a {@link Ext.dd.DragSource} calls once to notify this drop target that the source has been dragged
|
|
90
|
+
* out of the target without dropping. This default implementation simply removes the CSS class specified by
|
|
91
|
+
* overClass (if any) from the drop element.
|
|
92
|
+
* @param {Ext.dd.DragSource} source The drag source that was dragged over this drop target
|
|
93
|
+
* @param {Event} e The event
|
|
94
|
+
* @param {Object} data An object containing arbitrary data supplied by the drag source
|
|
95
|
+
*/
|
|
96
|
+
notifyOut : function(dd, e, data){
|
|
97
|
+
if(this.overClass){
|
|
98
|
+
this.el.removeClass(this.overClass);
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* The function a {@link Ext.dd.DragSource} calls once to notify this drop target that the dragged item has
|
|
104
|
+
* been dropped on it. This method has no default implementation and returns false, so you must provide an
|
|
105
|
+
* implementation that does something to process the drop event and returns true so that the drag source's
|
|
106
|
+
* repair action does not run.
|
|
107
|
+
* @param {Ext.dd.DragSource} source The drag source that was dragged over this drop target
|
|
108
|
+
* @param {Event} e The event
|
|
109
|
+
* @param {Object} data An object containing arbitrary data supplied by the drag source
|
|
110
|
+
* @return {Boolean} True if the drop was valid, else false
|
|
111
|
+
*/
|
|
112
|
+
notifyDrop : function(dd, e, data){
|
|
113
|
+
return false;
|
|
114
|
+
}
|
|
115
|
+
});
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Ext JS Library 3.0.0
|
|
3
|
+
* Copyright(c) 2006-2009 Ext JS, LLC
|
|
4
|
+
* licensing@extjs.com
|
|
5
|
+
* http://www.extjs.com/license
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @class Ext.dd.DropZone
|
|
9
|
+
* @extends Ext.dd.DropTarget
|
|
10
|
+
* <p>This class provides a container DD instance that allows dropping on multiple child target nodes.</p>
|
|
11
|
+
* <p>By default, this class requires that child nodes accepting drop are registered with {@link Ext.dd.Registry}.
|
|
12
|
+
* However a simpler way to allow a DropZone to manage any number of target elements is to configure the
|
|
13
|
+
* DropZone with an implementation of {@link #getTargetFromEvent} which interrogates the passed
|
|
14
|
+
* mouse event to see if it has taken place within an element, or class of elements. This is easily done
|
|
15
|
+
* by using the event's {@link Ext.EventObject#getTarget getTarget} method to identify a node based on a
|
|
16
|
+
* {@link Ext.DomQuery} selector.</p>
|
|
17
|
+
* <p>Once the DropZone has detected through calling getTargetFromEvent, that the mouse is over
|
|
18
|
+
* a drop target, that target is passed as the first parameter to {@link #onNodeEnter}, {@link #onNodeOver},
|
|
19
|
+
* {@link #onNodeOut}, {@link #onNodeDrop}. You may configure the instance of DropZone with implementations
|
|
20
|
+
* of these methods to provide application-specific behaviour for these events to update both
|
|
21
|
+
* application state, and UI state.</p>
|
|
22
|
+
* <p>For example to make a GridPanel a cooperating target with the example illustrated in
|
|
23
|
+
* {@link Ext.dd.DragZone DragZone}, the following technique might be used:</p><pre><code>
|
|
24
|
+
myGridPanel.on('render', function() {
|
|
25
|
+
myGridPanel.dropZone = new Ext.dd.DropZone(myGridPanel.getView().scroller, {
|
|
26
|
+
|
|
27
|
+
// If the mouse is over a grid row, return that node. This is
|
|
28
|
+
// provided as the "target" parameter in all "onNodeXXXX" node event handling functions
|
|
29
|
+
getTargetFromEvent: function(e) {
|
|
30
|
+
return e.getTarget(myGridPanel.getView().rowSelector);
|
|
31
|
+
},
|
|
32
|
+
|
|
33
|
+
// On entry into a target node, highlight that node.
|
|
34
|
+
onNodeEnter : function(target, dd, e, data){
|
|
35
|
+
Ext.fly(target).addClass('my-row-highlight-class');
|
|
36
|
+
},
|
|
37
|
+
|
|
38
|
+
// On exit from a target node, unhighlight that node.
|
|
39
|
+
onNodeOut : function(target, dd, e, data){
|
|
40
|
+
Ext.fly(target).removeClass('my-row-highlight-class');
|
|
41
|
+
},
|
|
42
|
+
|
|
43
|
+
// While over a target node, return the default drop allowed class which
|
|
44
|
+
// places a "tick" icon into the drag proxy.
|
|
45
|
+
onNodeOver : function(target, dd, e, data){
|
|
46
|
+
return Ext.dd.DropZone.prototype.dropAllowed;
|
|
47
|
+
},
|
|
48
|
+
|
|
49
|
+
// On node drop we can interrogate the target to find the underlying
|
|
50
|
+
// application object that is the real target of the dragged data.
|
|
51
|
+
// In this case, it is a Record in the GridPanel's Store.
|
|
52
|
+
// We can use the data set up by the DragZone's getDragData method to read
|
|
53
|
+
// any data we decided to attach in the DragZone's getDragData method.
|
|
54
|
+
onNodeDrop : function(target, dd, e, data){
|
|
55
|
+
var rowIndex = myGridPanel.getView().findRowIndex(target);
|
|
56
|
+
var r = myGridPanel.getStore().getAt(rowIndex);
|
|
57
|
+
Ext.Msg.alert('Drop gesture', 'Dropped Record id ' + data.draggedRecord.id +
|
|
58
|
+
' on Record id ' + r.id);
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
</code></pre>
|
|
64
|
+
* See the {@link Ext.dd.DragZone DragZone} documentation for details about building a DragZone which
|
|
65
|
+
* cooperates with this DropZone.
|
|
66
|
+
* @constructor
|
|
67
|
+
* @param {Mixed} el The container element
|
|
68
|
+
* @param {Object} config
|
|
69
|
+
*/
|
|
70
|
+
Ext.dd.DropZone = function(el, config){
|
|
71
|
+
Ext.dd.DropZone.superclass.constructor.call(this, el, config);
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
Ext.extend(Ext.dd.DropZone, Ext.dd.DropTarget, {
|
|
75
|
+
/**
|
|
76
|
+
* Returns a custom data object associated with the DOM node that is the target of the event. By default
|
|
77
|
+
* this looks up the event target in the {@link Ext.dd.Registry}, although you can override this method to
|
|
78
|
+
* provide your own custom lookup.
|
|
79
|
+
* @param {Event} e The event
|
|
80
|
+
* @return {Object} data The custom data
|
|
81
|
+
*/
|
|
82
|
+
getTargetFromEvent : function(e){
|
|
83
|
+
return Ext.dd.Registry.getTargetFromEvent(e);
|
|
84
|
+
},
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Called when the DropZone determines that a {@link Ext.dd.DragSource} has entered a drop node
|
|
88
|
+
* that has either been registered or detected by a configured implementation of {@link #getTargetFromEvent}.
|
|
89
|
+
* This method has no default implementation and should be overridden to provide
|
|
90
|
+
* node-specific processing if necessary.
|
|
91
|
+
* @param {Object} nodeData The custom data associated with the drop node (this is the same value returned from
|
|
92
|
+
* {@link #getTargetFromEvent} for this node)
|
|
93
|
+
* @param {Ext.dd.DragSource} source The drag source that was dragged over this drop zone
|
|
94
|
+
* @param {Event} e The event
|
|
95
|
+
* @param {Object} data An object containing arbitrary data supplied by the drag source
|
|
96
|
+
*/
|
|
97
|
+
onNodeEnter : function(n, dd, e, data){
|
|
98
|
+
|
|
99
|
+
},
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Called while the DropZone determines that a {@link Ext.dd.DragSource} is over a drop node
|
|
103
|
+
* that has either been registered or detected by a configured implementation of {@link #getTargetFromEvent}.
|
|
104
|
+
* The default implementation returns this.dropNotAllowed, so it should be
|
|
105
|
+
* overridden to provide the proper feedback.
|
|
106
|
+
* @param {Object} nodeData The custom data associated with the drop node (this is the same value returned from
|
|
107
|
+
* {@link #getTargetFromEvent} for this node)
|
|
108
|
+
* @param {Ext.dd.DragSource} source The drag source that was dragged over this drop zone
|
|
109
|
+
* @param {Event} e The event
|
|
110
|
+
* @param {Object} data An object containing arbitrary data supplied by the drag source
|
|
111
|
+
* @return {String} status The CSS class that communicates the drop status back to the source so that the
|
|
112
|
+
* underlying {@link Ext.dd.StatusProxy} can be updated
|
|
113
|
+
*/
|
|
114
|
+
onNodeOver : function(n, dd, e, data){
|
|
115
|
+
return this.dropAllowed;
|
|
116
|
+
},
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Called when the DropZone determines that a {@link Ext.dd.DragSource} has been dragged out of
|
|
120
|
+
* the drop node without dropping. This method has no default implementation and should be overridden to provide
|
|
121
|
+
* node-specific processing if necessary.
|
|
122
|
+
* @param {Object} nodeData The custom data associated with the drop node (this is the same value returned from
|
|
123
|
+
* {@link #getTargetFromEvent} for this node)
|
|
124
|
+
* @param {Ext.dd.DragSource} source The drag source that was dragged over this drop zone
|
|
125
|
+
* @param {Event} e The event
|
|
126
|
+
* @param {Object} data An object containing arbitrary data supplied by the drag source
|
|
127
|
+
*/
|
|
128
|
+
onNodeOut : function(n, dd, e, data){
|
|
129
|
+
|
|
130
|
+
},
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Called when the DropZone determines that a {@link Ext.dd.DragSource} has been dropped onto
|
|
134
|
+
* the drop node. The default implementation returns false, so it should be overridden to provide the
|
|
135
|
+
* appropriate processing of the drop event and return true so that the drag source's repair action does not run.
|
|
136
|
+
* @param {Object} nodeData The custom data associated with the drop node (this is the same value returned from
|
|
137
|
+
* {@link #getTargetFromEvent} for this node)
|
|
138
|
+
* @param {Ext.dd.DragSource} source The drag source that was dragged over this drop zone
|
|
139
|
+
* @param {Event} e The event
|
|
140
|
+
* @param {Object} data An object containing arbitrary data supplied by the drag source
|
|
141
|
+
* @return {Boolean} True if the drop was valid, else false
|
|
142
|
+
*/
|
|
143
|
+
onNodeDrop : function(n, dd, e, data){
|
|
144
|
+
return false;
|
|
145
|
+
},
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Called while the DropZone determines that a {@link Ext.dd.DragSource} is being dragged over it,
|
|
149
|
+
* but not over any of its registered drop nodes. The default implementation returns this.dropNotAllowed, so
|
|
150
|
+
* it should be overridden to provide the proper feedback if necessary.
|
|
151
|
+
* @param {Ext.dd.DragSource} source The drag source that was dragged over this drop zone
|
|
152
|
+
* @param {Event} e The event
|
|
153
|
+
* @param {Object} data An object containing arbitrary data supplied by the drag source
|
|
154
|
+
* @return {String} status The CSS class that communicates the drop status back to the source so that the
|
|
155
|
+
* underlying {@link Ext.dd.StatusProxy} can be updated
|
|
156
|
+
*/
|
|
157
|
+
onContainerOver : function(dd, e, data){
|
|
158
|
+
return this.dropNotAllowed;
|
|
159
|
+
},
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Called when the DropZone determines that a {@link Ext.dd.DragSource} has been dropped on it,
|
|
163
|
+
* but not on any of its registered drop nodes. The default implementation returns false, so it should be
|
|
164
|
+
* overridden to provide the appropriate processing of the drop event if you need the drop zone itself to
|
|
165
|
+
* be able to accept drops. It should return true when valid so that the drag source's repair action does not run.
|
|
166
|
+
* @param {Ext.dd.DragSource} source The drag source that was dragged over this drop zone
|
|
167
|
+
* @param {Event} e The event
|
|
168
|
+
* @param {Object} data An object containing arbitrary data supplied by the drag source
|
|
169
|
+
* @return {Boolean} True if the drop was valid, else false
|
|
170
|
+
*/
|
|
171
|
+
onContainerDrop : function(dd, e, data){
|
|
172
|
+
return false;
|
|
173
|
+
},
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* The function a {@link Ext.dd.DragSource} calls once to notify this drop zone that the source is now over
|
|
177
|
+
* the zone. The default implementation returns this.dropNotAllowed and expects that only registered drop
|
|
178
|
+
* nodes can process drag drop operations, so if you need the drop zone itself to be able to process drops
|
|
179
|
+
* you should override this method and provide a custom implementation.
|
|
180
|
+
* @param {Ext.dd.DragSource} source The drag source that was dragged over this drop zone
|
|
181
|
+
* @param {Event} e The event
|
|
182
|
+
* @param {Object} data An object containing arbitrary data supplied by the drag source
|
|
183
|
+
* @return {String} status The CSS class that communicates the drop status back to the source so that the
|
|
184
|
+
* underlying {@link Ext.dd.StatusProxy} can be updated
|
|
185
|
+
*/
|
|
186
|
+
notifyEnter : function(dd, e, data){
|
|
187
|
+
return this.dropNotAllowed;
|
|
188
|
+
},
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* The function a {@link Ext.dd.DragSource} calls continuously while it is being dragged over the drop zone.
|
|
192
|
+
* This method will be called on every mouse movement while the drag source is over the drop zone.
|
|
193
|
+
* It will call {@link #onNodeOver} while the drag source is over a registered node, and will also automatically
|
|
194
|
+
* delegate to the appropriate node-specific methods as necessary when the drag source enters and exits
|
|
195
|
+
* registered nodes ({@link #onNodeEnter}, {@link #onNodeOut}). If the drag source is not currently over a
|
|
196
|
+
* registered node, it will call {@link #onContainerOver}.
|
|
197
|
+
* @param {Ext.dd.DragSource} source The drag source that was dragged over this drop zone
|
|
198
|
+
* @param {Event} e The event
|
|
199
|
+
* @param {Object} data An object containing arbitrary data supplied by the drag source
|
|
200
|
+
* @return {String} status The CSS class that communicates the drop status back to the source so that the
|
|
201
|
+
* underlying {@link Ext.dd.StatusProxy} can be updated
|
|
202
|
+
*/
|
|
203
|
+
notifyOver : function(dd, e, data){
|
|
204
|
+
var n = this.getTargetFromEvent(e);
|
|
205
|
+
if(!n){ // not over valid drop target
|
|
206
|
+
if(this.lastOverNode){
|
|
207
|
+
this.onNodeOut(this.lastOverNode, dd, e, data);
|
|
208
|
+
this.lastOverNode = null;
|
|
209
|
+
}
|
|
210
|
+
return this.onContainerOver(dd, e, data);
|
|
211
|
+
}
|
|
212
|
+
if(this.lastOverNode != n){
|
|
213
|
+
if(this.lastOverNode){
|
|
214
|
+
this.onNodeOut(this.lastOverNode, dd, e, data);
|
|
215
|
+
}
|
|
216
|
+
this.onNodeEnter(n, dd, e, data);
|
|
217
|
+
this.lastOverNode = n;
|
|
218
|
+
}
|
|
219
|
+
return this.onNodeOver(n, dd, e, data);
|
|
220
|
+
},
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* The function a {@link Ext.dd.DragSource} calls once to notify this drop zone that the source has been dragged
|
|
224
|
+
* out of the zone without dropping. If the drag source is currently over a registered node, the notification
|
|
225
|
+
* will be delegated to {@link #onNodeOut} for node-specific handling, otherwise it will be ignored.
|
|
226
|
+
* @param {Ext.dd.DragSource} source The drag source that was dragged over this drop target
|
|
227
|
+
* @param {Event} e The event
|
|
228
|
+
* @param {Object} data An object containing arbitrary data supplied by the drag zone
|
|
229
|
+
*/
|
|
230
|
+
notifyOut : function(dd, e, data){
|
|
231
|
+
if(this.lastOverNode){
|
|
232
|
+
this.onNodeOut(this.lastOverNode, dd, e, data);
|
|
233
|
+
this.lastOverNode = null;
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* The function a {@link Ext.dd.DragSource} calls once to notify this drop zone that the dragged item has
|
|
239
|
+
* been dropped on it. The drag zone will look up the target node based on the event passed in, and if there
|
|
240
|
+
* is a node registered for that event, it will delegate to {@link #onNodeDrop} for node-specific handling,
|
|
241
|
+
* otherwise it will call {@link #onContainerDrop}.
|
|
242
|
+
* @param {Ext.dd.DragSource} source The drag source that was dragged over this drop zone
|
|
243
|
+
* @param {Event} e The event
|
|
244
|
+
* @param {Object} data An object containing arbitrary data supplied by the drag source
|
|
245
|
+
* @return {Boolean} True if the drop was valid, else false
|
|
246
|
+
*/
|
|
247
|
+
notifyDrop : function(dd, e, data){
|
|
248
|
+
if(this.lastOverNode){
|
|
249
|
+
this.onNodeOut(this.lastOverNode, dd, e, data);
|
|
250
|
+
this.lastOverNode = null;
|
|
251
|
+
}
|
|
252
|
+
var n = this.getTargetFromEvent(e);
|
|
253
|
+
return n ?
|
|
254
|
+
this.onNodeDrop(n, dd, e, data) :
|
|
255
|
+
this.onContainerDrop(dd, e, data);
|
|
256
|
+
},
|
|
257
|
+
|
|
258
|
+
// private
|
|
259
|
+
triggerCacheRefresh : function(){
|
|
260
|
+
Ext.dd.DDM.refreshCache(this.groups);
|
|
261
|
+
}
|
|
262
|
+
});
|