lpmp 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- 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,417 @@
|
|
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.layout.BoxLayout
|
9
|
+
* @extends Ext.layout.ContainerLayout
|
10
|
+
* <p>Base Class for HBoxLayout and VBoxLayout Classes. Generally it should not need to be used directly.</p>
|
11
|
+
*/
|
12
|
+
Ext.layout.BoxLayout = Ext.extend(Ext.layout.ContainerLayout, {
|
13
|
+
/**
|
14
|
+
* @cfg {Object} defaultMargins
|
15
|
+
* <p>If the individual contained items do not have a <tt>margins</tt>
|
16
|
+
* property specified, the default margins from this property will be
|
17
|
+
* applied to each item.</p>
|
18
|
+
* <br><p>This property may be specified as an object containing margins
|
19
|
+
* to apply in the format:</p><pre><code>
|
20
|
+
{
|
21
|
+
top: (top margin),
|
22
|
+
right: (right margin),
|
23
|
+
bottom: (bottom margin),
|
24
|
+
left: (left margin)
|
25
|
+
}</code></pre>
|
26
|
+
* <p>This property may also be specified as a string containing
|
27
|
+
* space-separated, numeric margin values. The order of the sides associated
|
28
|
+
* with each value matches the way CSS processes margin values:</p>
|
29
|
+
* <div class="mdetail-params"><ul>
|
30
|
+
* <li>If there is only one value, it applies to all sides.</li>
|
31
|
+
* <li>If there are two values, the top and bottom borders are set to the
|
32
|
+
* first value and the right and left are set to the second.</li>
|
33
|
+
* <li>If there are three values, the top is set to the first value, the left
|
34
|
+
* and right are set to the second, and the bottom is set to the third.</li>
|
35
|
+
* <li>If there are four values, they apply to the top, right, bottom, and
|
36
|
+
* left, respectively.</li>
|
37
|
+
* </ul></div>
|
38
|
+
* <p>Defaults to:</p><pre><code>
|
39
|
+
* {top:0, right:0, bottom:0, left:0}
|
40
|
+
* </code></pre>
|
41
|
+
*/
|
42
|
+
defaultMargins : {left:0,top:0,right:0,bottom:0},
|
43
|
+
/**
|
44
|
+
* @cfg {String} padding
|
45
|
+
* Defaults to <tt>'0'</tt>. Sets the padding to be applied to all child items managed by this
|
46
|
+
* container's layout.
|
47
|
+
*/
|
48
|
+
padding : '0',
|
49
|
+
// documented in subclasses
|
50
|
+
pack : 'start',
|
51
|
+
|
52
|
+
// private
|
53
|
+
monitorResize : true,
|
54
|
+
scrollOffset : 0,
|
55
|
+
extraCls : 'x-box-item',
|
56
|
+
ctCls : 'x-box-layout-ct',
|
57
|
+
innerCls : 'x-box-inner',
|
58
|
+
|
59
|
+
// private
|
60
|
+
isValidParent : function(c, target){
|
61
|
+
return c.getEl().dom.parentNode == this.innerCt.dom;
|
62
|
+
},
|
63
|
+
|
64
|
+
// private
|
65
|
+
onLayout : function(ct, target){
|
66
|
+
var cs = ct.items.items, len = cs.length, c, i, last = len-1, cm;
|
67
|
+
|
68
|
+
if(!this.innerCt){
|
69
|
+
target.addClass(this.ctCls);
|
70
|
+
|
71
|
+
// the innerCt prevents wrapping and shuffling while
|
72
|
+
// the container is resizing
|
73
|
+
this.innerCt = target.createChild({cls:this.innerCls});
|
74
|
+
this.padding = this.parseMargins(this.padding);
|
75
|
+
}
|
76
|
+
this.renderAll(ct, this.innerCt);
|
77
|
+
},
|
78
|
+
|
79
|
+
// private
|
80
|
+
renderItem : function(c){
|
81
|
+
if(typeof c.margins == 'string'){
|
82
|
+
c.margins = this.parseMargins(c.margins);
|
83
|
+
}else if(!c.margins){
|
84
|
+
c.margins = this.defaultMargins;
|
85
|
+
}
|
86
|
+
Ext.layout.BoxLayout.superclass.renderItem.apply(this, arguments);
|
87
|
+
},
|
88
|
+
|
89
|
+
getTargetSize : function(target){
|
90
|
+
return (Ext.isIE6 && Ext.isStrict && target.dom == document.body) ? target.getStyleSize() : target.getViewSize();
|
91
|
+
},
|
92
|
+
|
93
|
+
getItems: function(ct){
|
94
|
+
var items = [];
|
95
|
+
ct.items.each(function(c){
|
96
|
+
if(c.isVisible()){
|
97
|
+
items.push(c);
|
98
|
+
}
|
99
|
+
});
|
100
|
+
return items;
|
101
|
+
}
|
102
|
+
|
103
|
+
/**
|
104
|
+
* @property activeItem
|
105
|
+
* @hide
|
106
|
+
*/
|
107
|
+
});
|
108
|
+
|
109
|
+
/**
|
110
|
+
* @class Ext.layout.VBoxLayout
|
111
|
+
* @extends Ext.layout.BoxLayout
|
112
|
+
* A layout that arranges items vertically
|
113
|
+
*/
|
114
|
+
Ext.layout.VBoxLayout = Ext.extend(Ext.layout.BoxLayout, {
|
115
|
+
/**
|
116
|
+
* @cfg {String} align
|
117
|
+
* Controls how the child items of the container are aligned. Acceptable configuration values for this
|
118
|
+
* property are:
|
119
|
+
* <div class="mdetail-params"><ul>
|
120
|
+
* <li><b><tt>left</tt></b> : <b>Default</b><div class="sub-desc">child items are aligned horizontally
|
121
|
+
* at the <b>left</b> side of the container</div></li>
|
122
|
+
* <li><b><tt>center</tt></b> : <div class="sub-desc">child items are aligned horizontally at the
|
123
|
+
* <b>mid-width</b> of the container</div></li>
|
124
|
+
* <li><b><tt>stretch</tt></b> : <div class="sub-desc">child items are stretched horizontally to fill
|
125
|
+
* the width of the container</div></li>
|
126
|
+
* <li><b><tt>stretchmax</tt></b> : <div class="sub-desc">child items are stretched horizontally to
|
127
|
+
* the size of the largest item.</div></li>
|
128
|
+
* </ul></div>
|
129
|
+
*/
|
130
|
+
align : 'left', // left, center, stretch, strechmax
|
131
|
+
/**
|
132
|
+
* @cfg {String} pack
|
133
|
+
* Controls how the child items of the container are packed together. Acceptable configuration values
|
134
|
+
* for this property are:
|
135
|
+
* <div class="mdetail-params"><ul>
|
136
|
+
* <li><b><tt>start</tt></b> : <b>Default</b><div class="sub-desc">child items are packed together at
|
137
|
+
* <b>top</b> side of container</div></li>
|
138
|
+
* <li><b><tt>center</tt></b> : <div class="sub-desc">child items are packed together at
|
139
|
+
* <b>mid-height</b> of container</div></li>
|
140
|
+
* <li><b><tt>end</tt></b> : <div class="sub-desc">child items are packed together at <b>bottom</b>
|
141
|
+
* side of container</div></li>
|
142
|
+
* </ul></div>
|
143
|
+
*/
|
144
|
+
/**
|
145
|
+
* @cfg {Number} flex
|
146
|
+
* This configuation option is to be applied to <b>child <tt>items</tt></b> of the container managed
|
147
|
+
* by this layout. Each child item with a <tt>flex</tt> property will be flexed <b>vertically</b>
|
148
|
+
* according to each item's <b>relative</b> <tt>flex</tt> value compared to the sum of all items with
|
149
|
+
* a <tt>flex</tt> value specified. Any child items that have either a <tt>flex = 0</tt> or
|
150
|
+
* <tt>flex = undefined</tt> will not be 'flexed' (the initial size will not be changed).
|
151
|
+
*/
|
152
|
+
|
153
|
+
// private
|
154
|
+
onLayout : function(ct, target){
|
155
|
+
Ext.layout.VBoxLayout.superclass.onLayout.call(this, ct, target);
|
156
|
+
|
157
|
+
|
158
|
+
var cs = this.getItems(ct), cm, ch, margin,
|
159
|
+
size = this.getTargetSize(target),
|
160
|
+
w = size.width - target.getPadding('lr') - this.scrollOffset,
|
161
|
+
h = size.height - target.getPadding('tb'),
|
162
|
+
l = this.padding.left, t = this.padding.top,
|
163
|
+
isStart = this.pack == 'start',
|
164
|
+
isRestore = ['stretch', 'stretchmax'].indexOf(this.align) == -1,
|
165
|
+
stretchWidth = w - (this.padding.left + this.padding.right),
|
166
|
+
extraHeight = 0,
|
167
|
+
maxWidth = 0,
|
168
|
+
totalFlex = 0,
|
169
|
+
flexHeight = 0,
|
170
|
+
usedHeight = 0;
|
171
|
+
|
172
|
+
Ext.each(cs, function(c){
|
173
|
+
cm = c.margins;
|
174
|
+
totalFlex += c.flex || 0;
|
175
|
+
ch = c.getHeight();
|
176
|
+
margin = cm.top + cm.bottom;
|
177
|
+
extraHeight += ch + margin;
|
178
|
+
flexHeight += margin + (c.flex ? 0 : ch);
|
179
|
+
maxWidth = Math.max(maxWidth, c.getWidth() + cm.left + cm.right);
|
180
|
+
});
|
181
|
+
extraHeight = h - extraHeight - this.padding.top - this.padding.bottom;
|
182
|
+
|
183
|
+
var innerCtWidth = maxWidth + this.padding.left + this.padding.right;
|
184
|
+
switch(this.align){
|
185
|
+
case 'stretch':
|
186
|
+
this.innerCt.setSize(w, h);
|
187
|
+
break;
|
188
|
+
case 'stretchmax':
|
189
|
+
case 'left':
|
190
|
+
this.innerCt.setSize(innerCtWidth, h);
|
191
|
+
break;
|
192
|
+
case 'center':
|
193
|
+
this.innerCt.setSize(w = Math.max(w, innerCtWidth), h);
|
194
|
+
break;
|
195
|
+
}
|
196
|
+
|
197
|
+
var availHeight = Math.max(0, h - this.padding.top - this.padding.bottom - flexHeight),
|
198
|
+
leftOver = availHeight,
|
199
|
+
heights = [],
|
200
|
+
restore = [],
|
201
|
+
idx = 0,
|
202
|
+
availableWidth = Math.max(0, w - this.padding.left - this.padding.right);
|
203
|
+
|
204
|
+
|
205
|
+
Ext.each(cs, function(c){
|
206
|
+
if(isStart && c.flex){
|
207
|
+
ch = Math.floor(availHeight * (c.flex / totalFlex));
|
208
|
+
leftOver -= ch;
|
209
|
+
heights.push(ch);
|
210
|
+
}
|
211
|
+
});
|
212
|
+
|
213
|
+
if(this.pack == 'center'){
|
214
|
+
t += extraHeight ? extraHeight / 2 : 0;
|
215
|
+
}else if(this.pack == 'end'){
|
216
|
+
t += extraHeight;
|
217
|
+
}
|
218
|
+
Ext.each(cs, function(c){
|
219
|
+
cm = c.margins;
|
220
|
+
t += cm.top;
|
221
|
+
c.setPosition(l + cm.left, t);
|
222
|
+
if(isStart && c.flex){
|
223
|
+
ch = Math.max(0, heights[idx++] + (leftOver-- > 0 ? 1 : 0));
|
224
|
+
if(isRestore){
|
225
|
+
restore.push(c.getWidth());
|
226
|
+
}
|
227
|
+
c.setSize(availableWidth, ch);
|
228
|
+
}else{
|
229
|
+
ch = c.getHeight();
|
230
|
+
}
|
231
|
+
t += ch + cm.bottom;
|
232
|
+
});
|
233
|
+
|
234
|
+
idx = 0;
|
235
|
+
Ext.each(cs, function(c){
|
236
|
+
cm = c.margins;
|
237
|
+
if(this.align == 'stretch'){
|
238
|
+
c.setWidth((stretchWidth - (cm.left + cm.right)).constrain(
|
239
|
+
c.minWidth || 0, c.maxWidth || 1000000));
|
240
|
+
}else if(this.align == 'stretchmax'){
|
241
|
+
c.setWidth((maxWidth - (cm.left + cm.right)).constrain(
|
242
|
+
c.minWidth || 0, c.maxWidth || 1000000));
|
243
|
+
}else{
|
244
|
+
if(this.align == 'center'){
|
245
|
+
var diff = availableWidth - (c.getWidth() + cm.left + cm.right);
|
246
|
+
if(diff > 0){
|
247
|
+
c.setPosition(l + cm.left + (diff/2), c.y);
|
248
|
+
}
|
249
|
+
}
|
250
|
+
if(isStart && c.flex){
|
251
|
+
c.setWidth(restore[idx++]);
|
252
|
+
}
|
253
|
+
}
|
254
|
+
}, this);
|
255
|
+
}
|
256
|
+
/**
|
257
|
+
* @property activeItem
|
258
|
+
* @hide
|
259
|
+
*/
|
260
|
+
});
|
261
|
+
|
262
|
+
Ext.Container.LAYOUTS.vbox = Ext.layout.VBoxLayout;
|
263
|
+
|
264
|
+
/**
|
265
|
+
* @class Ext.layout.HBoxLayout
|
266
|
+
* @extends Ext.layout.BoxLayout
|
267
|
+
* A layout that arranges items horizontally
|
268
|
+
*/
|
269
|
+
Ext.layout.HBoxLayout = Ext.extend(Ext.layout.BoxLayout, {
|
270
|
+
/**
|
271
|
+
* @cfg {String} align
|
272
|
+
* Controls how the child items of the container are aligned. Acceptable configuration values for this
|
273
|
+
* property are:
|
274
|
+
* <div class="mdetail-params"><ul>
|
275
|
+
* <li><b><tt>top</tt></b> : <b>Default</b><div class="sub-desc">child items are aligned vertically
|
276
|
+
* at the <b>left</b> side of the container</div></li>
|
277
|
+
* <li><b><tt>middle</tt></b> : <div class="sub-desc">child items are aligned vertically at the
|
278
|
+
* <b>mid-height</b> of the container</div></li>
|
279
|
+
* <li><b><tt>stretch</tt></b> : <div class="sub-desc">child items are stretched vertically to fill
|
280
|
+
* the height of the container</div></li>
|
281
|
+
* <li><b><tt>stretchmax</tt></b> : <div class="sub-desc">child items are stretched vertically to
|
282
|
+
* the size of the largest item.</div></li>
|
283
|
+
*/
|
284
|
+
align : 'top', // top, middle, stretch, strechmax
|
285
|
+
/**
|
286
|
+
* @cfg {String} pack
|
287
|
+
* Controls how the child items of the container are packed together. Acceptable configuration values
|
288
|
+
* for this property are:
|
289
|
+
* <div class="mdetail-params"><ul>
|
290
|
+
* <li><b><tt>start</tt></b> : <b>Default</b><div class="sub-desc">child items are packed together at
|
291
|
+
* <b>left</b> side of container</div></li>
|
292
|
+
* <li><b><tt>center</tt></b> : <div class="sub-desc">child items are packed together at
|
293
|
+
* <b>mid-width</b> of container</div></li>
|
294
|
+
* <li><b><tt>end</tt></b> : <div class="sub-desc">child items are packed together at <b>right</b>
|
295
|
+
* side of container</div></li>
|
296
|
+
* </ul></div>
|
297
|
+
*/
|
298
|
+
/**
|
299
|
+
* @cfg {Number} flex
|
300
|
+
* This configuation option is to be applied to <b>child <tt>items</tt></b> of the container managed
|
301
|
+
* by this layout. Each child item with a <tt>flex</tt> property will be flexed <b>horizontally</b>
|
302
|
+
* according to each item's <b>relative</b> <tt>flex</tt> value compared to the sum of all items with
|
303
|
+
* a <tt>flex</tt> value specified. Any child items that have either a <tt>flex = 0</tt> or
|
304
|
+
* <tt>flex = undefined</tt> will not be 'flexed' (the initial size will not be changed).
|
305
|
+
*/
|
306
|
+
|
307
|
+
// private
|
308
|
+
onLayout : function(ct, target){
|
309
|
+
Ext.layout.HBoxLayout.superclass.onLayout.call(this, ct, target);
|
310
|
+
|
311
|
+
var cs = this.getItems(ct), cm, cw, margin,
|
312
|
+
size = this.getTargetSize(target),
|
313
|
+
w = size.width - target.getPadding('lr') - this.scrollOffset,
|
314
|
+
h = size.height - target.getPadding('tb'),
|
315
|
+
l = this.padding.left, t = this.padding.top,
|
316
|
+
isStart = this.pack == 'start',
|
317
|
+
isRestore = ['stretch', 'stretchmax'].indexOf(this.align) == -1,
|
318
|
+
stretchHeight = h - (this.padding.top + this.padding.bottom),
|
319
|
+
extraWidth = 0,
|
320
|
+
maxHeight = 0,
|
321
|
+
totalFlex = 0,
|
322
|
+
flexWidth = 0,
|
323
|
+
usedWidth = 0;
|
324
|
+
|
325
|
+
Ext.each(cs, function(c){
|
326
|
+
cm = c.margins;
|
327
|
+
totalFlex += c.flex || 0;
|
328
|
+
cw = c.getWidth();
|
329
|
+
margin = cm.left + cm.right;
|
330
|
+
extraWidth += cw + margin;
|
331
|
+
flexWidth += margin + (c.flex ? 0 : cw);
|
332
|
+
maxHeight = Math.max(maxHeight, c.getHeight() + cm.top + cm.bottom);
|
333
|
+
});
|
334
|
+
extraWidth = w - extraWidth - this.padding.left - this.padding.right;
|
335
|
+
|
336
|
+
var innerCtHeight = maxHeight + this.padding.top + this.padding.bottom;
|
337
|
+
switch(this.align){
|
338
|
+
case 'stretch':
|
339
|
+
this.innerCt.setSize(w, h);
|
340
|
+
break;
|
341
|
+
case 'stretchmax':
|
342
|
+
case 'top':
|
343
|
+
this.innerCt.setSize(w, innerCtHeight);
|
344
|
+
break;
|
345
|
+
case 'middle':
|
346
|
+
this.innerCt.setSize(w, h = Math.max(h, innerCtHeight));
|
347
|
+
break;
|
348
|
+
}
|
349
|
+
|
350
|
+
|
351
|
+
var availWidth = Math.max(0, w - this.padding.left - this.padding.right - flexWidth),
|
352
|
+
leftOver = availWidth,
|
353
|
+
widths = [],
|
354
|
+
restore = [],
|
355
|
+
idx = 0,
|
356
|
+
availableHeight = Math.max(0, h - this.padding.top - this.padding.bottom);
|
357
|
+
|
358
|
+
|
359
|
+
Ext.each(cs, function(c){
|
360
|
+
if(isStart && c.flex){
|
361
|
+
cw = Math.floor(availWidth * (c.flex / totalFlex));
|
362
|
+
leftOver -= cw;
|
363
|
+
widths.push(cw);
|
364
|
+
}
|
365
|
+
});
|
366
|
+
|
367
|
+
if(this.pack == 'center'){
|
368
|
+
l += extraWidth ? extraWidth / 2 : 0;
|
369
|
+
}else if(this.pack == 'end'){
|
370
|
+
l += extraWidth;
|
371
|
+
}
|
372
|
+
Ext.each(cs, function(c){
|
373
|
+
cm = c.margins;
|
374
|
+
l += cm.left;
|
375
|
+
c.setPosition(l, t + cm.top);
|
376
|
+
if(isStart && c.flex){
|
377
|
+
cw = Math.max(0, widths[idx++] + (leftOver-- > 0 ? 1 : 0));
|
378
|
+
if(isRestore){
|
379
|
+
restore.push(c.getHeight());
|
380
|
+
}
|
381
|
+
c.setSize(cw, availableHeight);
|
382
|
+
}else{
|
383
|
+
cw = c.getWidth();
|
384
|
+
}
|
385
|
+
l += cw + cm.right;
|
386
|
+
});
|
387
|
+
|
388
|
+
idx = 0;
|
389
|
+
Ext.each(cs, function(c){
|
390
|
+
var cm = c.margins;
|
391
|
+
if(this.align == 'stretch'){
|
392
|
+
c.setHeight((stretchHeight - (cm.top + cm.bottom)).constrain(
|
393
|
+
c.minHeight || 0, c.maxHeight || 1000000));
|
394
|
+
}else if(this.align == 'stretchmax'){
|
395
|
+
c.setHeight((maxHeight - (cm.top + cm.bottom)).constrain(
|
396
|
+
c.minHeight || 0, c.maxHeight || 1000000));
|
397
|
+
}else{
|
398
|
+
if(this.align == 'middle'){
|
399
|
+
var diff = availableHeight - (c.getHeight() + cm.top + cm.bottom);
|
400
|
+
if(diff > 0){
|
401
|
+
c.setPosition(c.x, t + cm.top + (diff/2));
|
402
|
+
}
|
403
|
+
}
|
404
|
+
if(isStart && c.flex){
|
405
|
+
c.setHeight(restore[idx++]);
|
406
|
+
}
|
407
|
+
}
|
408
|
+
}, this);
|
409
|
+
}
|
410
|
+
|
411
|
+
/**
|
412
|
+
* @property activeItem
|
413
|
+
* @hide
|
414
|
+
*/
|
415
|
+
});
|
416
|
+
|
417
|
+
Ext.Container.LAYOUTS.hbox = Ext.layout.HBoxLayout;
|
@@ -0,0 +1,127 @@
|
|
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.layout.CardLayout
|
9
|
+
* @extends Ext.layout.FitLayout
|
10
|
+
* <p>This layout manages multiple child Components, each fitted to the Container, where only a single child Component can be
|
11
|
+
* visible at any given time. This layout style is most commonly used for wizards, tab implementations, etc.
|
12
|
+
* This class is intended to be extended or created via the layout:'card' {@link Ext.Container#layout} config,
|
13
|
+
* and should generally not need to be created directly via the new keyword.</p>
|
14
|
+
* <p>The CardLayout's focal method is {@link #setActiveItem}. Since only one panel is displayed at a time,
|
15
|
+
* the only way to move from one Component to the next is by calling setActiveItem, passing the id or index of
|
16
|
+
* the next panel to display. The layout itself does not provide a user interface for handling this navigation,
|
17
|
+
* so that functionality must be provided by the developer.</p>
|
18
|
+
* <p>In the following example, a simplistic wizard setup is demonstrated. A button bar is added
|
19
|
+
* to the footer of the containing panel to provide navigation buttons. The buttons will be handled by a
|
20
|
+
* common navigation routine -- for this example, the implementation of that routine has been ommitted since
|
21
|
+
* it can be any type of custom logic. Note that other uses of a CardLayout (like a tab control) would require a
|
22
|
+
* completely different implementation. For serious implementations, a better approach would be to extend
|
23
|
+
* CardLayout to provide the custom functionality needed. Example usage:</p>
|
24
|
+
* <pre><code>
|
25
|
+
var navHandler = function(direction){
|
26
|
+
// This routine could contain business logic required to manage the navigation steps.
|
27
|
+
// It would call setActiveItem as needed, manage navigation button state, handle any
|
28
|
+
// branching logic that might be required, handle alternate actions like cancellation
|
29
|
+
// or finalization, etc. A complete wizard implementation could get pretty
|
30
|
+
// sophisticated depending on the complexity required, and should probably be
|
31
|
+
// done as a subclass of CardLayout in a real-world implementation.
|
32
|
+
};
|
33
|
+
|
34
|
+
var card = new Ext.Panel({
|
35
|
+
title: 'Example Wizard',
|
36
|
+
layout:'card',
|
37
|
+
activeItem: 0, // make sure the active item is set on the container config!
|
38
|
+
bodyStyle: 'padding:15px',
|
39
|
+
defaults: {
|
40
|
+
// applied to each contained panel
|
41
|
+
border:false
|
42
|
+
},
|
43
|
+
// just an example of one possible navigation scheme, using buttons
|
44
|
+
bbar: [
|
45
|
+
{
|
46
|
+
id: 'move-prev',
|
47
|
+
text: 'Back',
|
48
|
+
handler: navHandler.createDelegate(this, [-1]),
|
49
|
+
disabled: true
|
50
|
+
},
|
51
|
+
'->', // greedy spacer so that the buttons are aligned to each side
|
52
|
+
{
|
53
|
+
id: 'move-next',
|
54
|
+
text: 'Next',
|
55
|
+
handler: navHandler.createDelegate(this, [1])
|
56
|
+
}
|
57
|
+
],
|
58
|
+
// the panels (or "cards") within the layout
|
59
|
+
items: [{
|
60
|
+
id: 'card-0',
|
61
|
+
html: '<h1>Welcome to the Wizard!</h1><p>Step 1 of 3</p>'
|
62
|
+
},{
|
63
|
+
id: 'card-1',
|
64
|
+
html: '<p>Step 2 of 3</p>'
|
65
|
+
},{
|
66
|
+
id: 'card-2',
|
67
|
+
html: '<h1>Congratulations!</h1><p>Step 3 of 3 - Complete</p>'
|
68
|
+
}]
|
69
|
+
});
|
70
|
+
</code></pre>
|
71
|
+
*/
|
72
|
+
Ext.layout.CardLayout = Ext.extend(Ext.layout.FitLayout, {
|
73
|
+
/**
|
74
|
+
* @cfg {Boolean} deferredRender
|
75
|
+
* True to render each contained item at the time it becomes active, false to render all contained items
|
76
|
+
* as soon as the layout is rendered (defaults to false). If there is a significant amount of content or
|
77
|
+
* a lot of heavy controls being rendered into panels that are not displayed by default, setting this to
|
78
|
+
* true might improve performance.
|
79
|
+
*/
|
80
|
+
deferredRender : false,
|
81
|
+
|
82
|
+
/**
|
83
|
+
* @cfg {Boolean} layoutOnCardChange
|
84
|
+
* True to force a layout of the active item when the active card is changed. Defaults to false.
|
85
|
+
*/
|
86
|
+
layoutOnCardChange : false,
|
87
|
+
|
88
|
+
/**
|
89
|
+
* @cfg {Boolean} renderHidden @hide
|
90
|
+
*/
|
91
|
+
// private
|
92
|
+
renderHidden : true,
|
93
|
+
|
94
|
+
constructor: function(config){
|
95
|
+
Ext.layout.CardLayout.superclass.constructor.call(this, config);
|
96
|
+
this.forceLayout = (this.deferredRender === false);
|
97
|
+
},
|
98
|
+
|
99
|
+
/**
|
100
|
+
* Sets the active (visible) item in the layout.
|
101
|
+
* @param {String/Number} item The string component id or numeric index of the item to activate
|
102
|
+
*/
|
103
|
+
setActiveItem : function(item){
|
104
|
+
item = this.container.getComponent(item);
|
105
|
+
if(this.activeItem != item){
|
106
|
+
if(this.activeItem){
|
107
|
+
this.activeItem.hide();
|
108
|
+
}
|
109
|
+
this.activeItem = item;
|
110
|
+
item.show();
|
111
|
+
this.container.doLayout();
|
112
|
+
if(this.layoutOnCardChange && item.doLayout){
|
113
|
+
item.doLayout();
|
114
|
+
}
|
115
|
+
}
|
116
|
+
},
|
117
|
+
|
118
|
+
// private
|
119
|
+
renderAll : function(ct, target){
|
120
|
+
if(this.deferredRender){
|
121
|
+
this.renderItem(this.activeItem, undefined, target);
|
122
|
+
}else{
|
123
|
+
Ext.layout.CardLayout.superclass.renderAll.call(this, ct, target);
|
124
|
+
}
|
125
|
+
}
|
126
|
+
});
|
127
|
+
Ext.Container.LAYOUTS['card'] = Ext.layout.CardLayout;
|