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,187 @@
|
|
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.WindowGroup
|
9
|
+
* An object that represents a group of {@link Ext.Window} instances and provides z-order management
|
10
|
+
* and window activation behavior.
|
11
|
+
* @constructor
|
12
|
+
*/
|
13
|
+
Ext.WindowGroup = function(){
|
14
|
+
var list = {};
|
15
|
+
var accessList = [];
|
16
|
+
var front = null;
|
17
|
+
|
18
|
+
// private
|
19
|
+
var sortWindows = function(d1, d2){
|
20
|
+
return (!d1._lastAccess || d1._lastAccess < d2._lastAccess) ? -1 : 1;
|
21
|
+
};
|
22
|
+
|
23
|
+
// private
|
24
|
+
var orderWindows = function(){
|
25
|
+
var a = accessList, len = a.length;
|
26
|
+
if(len > 0){
|
27
|
+
a.sort(sortWindows);
|
28
|
+
var seed = a[0].manager.zseed;
|
29
|
+
for(var i = 0; i < len; i++){
|
30
|
+
var win = a[i];
|
31
|
+
if(win && !win.hidden){
|
32
|
+
win.setZIndex(seed + (i*10));
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
activateLast();
|
37
|
+
};
|
38
|
+
|
39
|
+
// private
|
40
|
+
var setActiveWin = function(win){
|
41
|
+
if(win != front){
|
42
|
+
if(front){
|
43
|
+
front.setActive(false);
|
44
|
+
}
|
45
|
+
front = win;
|
46
|
+
if(win){
|
47
|
+
win.setActive(true);
|
48
|
+
}
|
49
|
+
}
|
50
|
+
};
|
51
|
+
|
52
|
+
// private
|
53
|
+
var activateLast = function(){
|
54
|
+
for(var i = accessList.length-1; i >=0; --i) {
|
55
|
+
if(!accessList[i].hidden){
|
56
|
+
setActiveWin(accessList[i]);
|
57
|
+
return;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
// none to activate
|
61
|
+
setActiveWin(null);
|
62
|
+
};
|
63
|
+
|
64
|
+
return {
|
65
|
+
/**
|
66
|
+
* The starting z-index for windows (defaults to 9000)
|
67
|
+
* @type Number The z-index value
|
68
|
+
*/
|
69
|
+
zseed : 9000,
|
70
|
+
|
71
|
+
// private
|
72
|
+
register : function(win){
|
73
|
+
list[win.id] = win;
|
74
|
+
accessList.push(win);
|
75
|
+
win.on('hide', activateLast);
|
76
|
+
},
|
77
|
+
|
78
|
+
// private
|
79
|
+
unregister : function(win){
|
80
|
+
delete list[win.id];
|
81
|
+
win.un('hide', activateLast);
|
82
|
+
accessList.remove(win);
|
83
|
+
},
|
84
|
+
|
85
|
+
/**
|
86
|
+
* Gets a registered window by id.
|
87
|
+
* @param {String/Object} id The id of the window or a {@link Ext.Window} instance
|
88
|
+
* @return {Ext.Window}
|
89
|
+
*/
|
90
|
+
get : function(id){
|
91
|
+
return typeof id == "object" ? id : list[id];
|
92
|
+
},
|
93
|
+
|
94
|
+
/**
|
95
|
+
* Brings the specified window to the front of any other active windows.
|
96
|
+
* @param {String/Object} win The id of the window or a {@link Ext.Window} instance
|
97
|
+
* @return {Boolean} True if the dialog was brought to the front, else false
|
98
|
+
* if it was already in front
|
99
|
+
*/
|
100
|
+
bringToFront : function(win){
|
101
|
+
win = this.get(win);
|
102
|
+
if(win != front){
|
103
|
+
win._lastAccess = new Date().getTime();
|
104
|
+
orderWindows();
|
105
|
+
return true;
|
106
|
+
}
|
107
|
+
return false;
|
108
|
+
},
|
109
|
+
|
110
|
+
/**
|
111
|
+
* Sends the specified window to the back of other active windows.
|
112
|
+
* @param {String/Object} win The id of the window or a {@link Ext.Window} instance
|
113
|
+
* @return {Ext.Window} The window
|
114
|
+
*/
|
115
|
+
sendToBack : function(win){
|
116
|
+
win = this.get(win);
|
117
|
+
win._lastAccess = -(new Date().getTime());
|
118
|
+
orderWindows();
|
119
|
+
return win;
|
120
|
+
},
|
121
|
+
|
122
|
+
/**
|
123
|
+
* Hides all windows in the group.
|
124
|
+
*/
|
125
|
+
hideAll : function(){
|
126
|
+
for(var id in list){
|
127
|
+
if(list[id] && typeof list[id] != "function" && list[id].isVisible()){
|
128
|
+
list[id].hide();
|
129
|
+
}
|
130
|
+
}
|
131
|
+
},
|
132
|
+
|
133
|
+
/**
|
134
|
+
* Gets the currently-active window in the group.
|
135
|
+
* @return {Ext.Window} The active window
|
136
|
+
*/
|
137
|
+
getActive : function(){
|
138
|
+
return front;
|
139
|
+
},
|
140
|
+
|
141
|
+
/**
|
142
|
+
* Returns zero or more windows in the group using the custom search function passed to this method.
|
143
|
+
* The function should accept a single {@link Ext.Window} reference as its only argument and should
|
144
|
+
* return true if the window matches the search criteria, otherwise it should return false.
|
145
|
+
* @param {Function} fn The search function
|
146
|
+
* @param {Object} scope (optional) The scope in which to execute the function (defaults to the window
|
147
|
+
* that gets passed to the function if not specified)
|
148
|
+
* @return {Array} An array of zero or more matching windows
|
149
|
+
*/
|
150
|
+
getBy : function(fn, scope){
|
151
|
+
var r = [];
|
152
|
+
for(var i = accessList.length-1; i >=0; --i) {
|
153
|
+
var win = accessList[i];
|
154
|
+
if(fn.call(scope||win, win) !== false){
|
155
|
+
r.push(win);
|
156
|
+
}
|
157
|
+
}
|
158
|
+
return r;
|
159
|
+
},
|
160
|
+
|
161
|
+
/**
|
162
|
+
* Executes the specified function once for every window in the group, passing each
|
163
|
+
* window as the only parameter. Returning false from the function will stop the iteration.
|
164
|
+
* @param {Function} fn The function to execute for each item
|
165
|
+
* @param {Object} scope (optional) The scope in which to execute the function
|
166
|
+
*/
|
167
|
+
each : function(fn, scope){
|
168
|
+
for(var id in list){
|
169
|
+
if(list[id] && typeof list[id] != "function"){
|
170
|
+
if(fn.call(scope || list[id], list[id]) === false){
|
171
|
+
return;
|
172
|
+
}
|
173
|
+
}
|
174
|
+
}
|
175
|
+
}
|
176
|
+
};
|
177
|
+
};
|
178
|
+
|
179
|
+
|
180
|
+
/**
|
181
|
+
* @class Ext.WindowMgr
|
182
|
+
* @extends Ext.WindowGroup
|
183
|
+
* The default global window group that is available automatically. To have more than one group of windows
|
184
|
+
* with separate z-order stacks, create additional instances of {@link Ext.WindowGroup} as needed.
|
185
|
+
* @singleton
|
186
|
+
*/
|
187
|
+
Ext.WindowMgr = new Ext.WindowGroup();
|
@@ -0,0 +1,721 @@
|
|
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.chart.Chart
|
9
|
+
* @extends Ext.FlashComponent
|
10
|
+
* The Ext.chart package provides the capability to visualize data with flash based charting.
|
11
|
+
* Each chart binds directly to an Ext.data.Store enabling automatic updates of the chart.
|
12
|
+
* @constructor
|
13
|
+
* @xtype chart
|
14
|
+
*/
|
15
|
+
|
16
|
+
Ext.chart.Chart = Ext.extend(Ext.FlashComponent, {
|
17
|
+
refreshBuffer: 100,
|
18
|
+
|
19
|
+
/**
|
20
|
+
* @cfg {Object} chartStyle
|
21
|
+
* Sets styles for this chart. Contains a number of default values. Modifying this property will override
|
22
|
+
* the base styles on the chart.
|
23
|
+
*/
|
24
|
+
chartStyle: {
|
25
|
+
padding: 10,
|
26
|
+
animationEnabled: true,
|
27
|
+
font: {
|
28
|
+
name: 'Tahoma',
|
29
|
+
color: 0x444444,
|
30
|
+
size: 11
|
31
|
+
},
|
32
|
+
dataTip: {
|
33
|
+
padding: 5,
|
34
|
+
border: {
|
35
|
+
color: 0x99bbe8,
|
36
|
+
size:1
|
37
|
+
},
|
38
|
+
background: {
|
39
|
+
color: 0xDAE7F6,
|
40
|
+
alpha: .9
|
41
|
+
},
|
42
|
+
font: {
|
43
|
+
name: 'Tahoma',
|
44
|
+
color: 0x15428B,
|
45
|
+
size: 10,
|
46
|
+
bold: true
|
47
|
+
}
|
48
|
+
}
|
49
|
+
},
|
50
|
+
|
51
|
+
/**
|
52
|
+
* @cfg {String} url
|
53
|
+
* The url to load the chart from. This defaults to Ext.chart.Chart.CHART_URL, which should
|
54
|
+
* be modified to point to the local charts resource.
|
55
|
+
*/
|
56
|
+
|
57
|
+
/**
|
58
|
+
* @cfg {Object} extraStyle
|
59
|
+
* Contains extra styles that will be added or overwritten to the default chartStyle. Defaults to <tt>null</tt>.
|
60
|
+
*/
|
61
|
+
extraStyle: null,
|
62
|
+
|
63
|
+
/**
|
64
|
+
* @cfg {Boolean} disableCaching
|
65
|
+
* True to add a "cache buster" to the end of the chart url. Defaults to true for Opera and IE.
|
66
|
+
*/
|
67
|
+
disableCaching: Ext.isIE || Ext.isOpera,
|
68
|
+
disableCacheParam: '_dc',
|
69
|
+
|
70
|
+
initComponent : function(){
|
71
|
+
Ext.chart.Chart.superclass.initComponent.call(this);
|
72
|
+
if(!this.url){
|
73
|
+
this.url = Ext.chart.Chart.CHART_URL;
|
74
|
+
}
|
75
|
+
if(this.disableCaching){
|
76
|
+
this.url = Ext.urlAppend(this.url, String.format('{0}={1}', this.disableCacheParam, new Date().getTime()));
|
77
|
+
}
|
78
|
+
this.addEvents(
|
79
|
+
'itemmouseover',
|
80
|
+
'itemmouseout',
|
81
|
+
'itemclick',
|
82
|
+
'itemdoubleclick',
|
83
|
+
'itemdragstart',
|
84
|
+
'itemdrag',
|
85
|
+
'itemdragend'
|
86
|
+
);
|
87
|
+
this.store = Ext.StoreMgr.lookup(this.store);
|
88
|
+
},
|
89
|
+
|
90
|
+
/**
|
91
|
+
* Sets a single style value on the Chart instance.
|
92
|
+
*
|
93
|
+
* @param name {String} Name of the Chart style value to change.
|
94
|
+
* @param value {Object} New value to pass to the Chart style.
|
95
|
+
*/
|
96
|
+
setStyle: function(name, value){
|
97
|
+
this.swf.setStyle(name, Ext.encode(value));
|
98
|
+
},
|
99
|
+
|
100
|
+
/**
|
101
|
+
* Resets all styles on the Chart instance.
|
102
|
+
*
|
103
|
+
* @param styles {Object} Initializer for all Chart styles.
|
104
|
+
*/
|
105
|
+
setStyles: function(styles){
|
106
|
+
this.swf.setStyles(Ext.encode(styles));
|
107
|
+
},
|
108
|
+
|
109
|
+
/**
|
110
|
+
* Sets the styles on all series in the Chart.
|
111
|
+
*
|
112
|
+
* @param styles {Array} Initializer for all Chart series styles.
|
113
|
+
*/
|
114
|
+
setSeriesStyles: function(styles){
|
115
|
+
var s = [];
|
116
|
+
Ext.each(styles, function(style){
|
117
|
+
s.push(Ext.encode(style));
|
118
|
+
});
|
119
|
+
this.swf.setSeriesStyles(s);
|
120
|
+
},
|
121
|
+
|
122
|
+
setCategoryNames : function(names){
|
123
|
+
this.swf.setCategoryNames(names);
|
124
|
+
},
|
125
|
+
|
126
|
+
setTipRenderer : function(fn){
|
127
|
+
var chart = this;
|
128
|
+
this.tipFnName = this.createFnProxy(function(item, index, series){
|
129
|
+
var record = chart.store.getAt(index);
|
130
|
+
return fn(chart, record, index, series);
|
131
|
+
}, this.tipFnName);
|
132
|
+
this.swf.setDataTipFunction(this.tipFnName);
|
133
|
+
},
|
134
|
+
|
135
|
+
setSeries : function(series){
|
136
|
+
this.series = series;
|
137
|
+
this.refresh();
|
138
|
+
},
|
139
|
+
|
140
|
+
/**
|
141
|
+
* Changes the data store bound to this chart and refreshes it.
|
142
|
+
* @param {Store} store The store to bind to this chart
|
143
|
+
*/
|
144
|
+
bindStore : function(store, initial){
|
145
|
+
if(!initial && this.store){
|
146
|
+
this.store.un("datachanged", this.refresh, this);
|
147
|
+
this.store.un("add", this.delayRefresh, this);
|
148
|
+
this.store.un("remove", this.delayRefresh, this);
|
149
|
+
this.store.un("update", this.delayRefresh, this);
|
150
|
+
this.store.un("clear", this.refresh, this);
|
151
|
+
if(store !== this.store && this.store.autoDestroy){
|
152
|
+
this.store.destroy();
|
153
|
+
}
|
154
|
+
}
|
155
|
+
if(store){
|
156
|
+
store = Ext.StoreMgr.lookup(store);
|
157
|
+
store.on({
|
158
|
+
scope: this,
|
159
|
+
datachanged: this.refresh,
|
160
|
+
add: this.delayRefresh,
|
161
|
+
remove: this.delayRefresh,
|
162
|
+
update: this.delayRefresh,
|
163
|
+
clear: this.refresh
|
164
|
+
});
|
165
|
+
}
|
166
|
+
this.store = store;
|
167
|
+
if(store && !initial){
|
168
|
+
this.refresh();
|
169
|
+
}
|
170
|
+
},
|
171
|
+
|
172
|
+
onSwfReady : function(isReset){
|
173
|
+
Ext.chart.Chart.superclass.onSwfReady.call(this, isReset);
|
174
|
+
this.swf.setType(this.type);
|
175
|
+
|
176
|
+
if(this.chartStyle){
|
177
|
+
this.setStyles(Ext.apply(this.extraStyle || {}, this.chartStyle));
|
178
|
+
}
|
179
|
+
|
180
|
+
if(this.categoryNames){
|
181
|
+
this.setCategoryNames(this.categoryNames);
|
182
|
+
}
|
183
|
+
|
184
|
+
if(this.tipRenderer){
|
185
|
+
this.setTipRenderer(this.tipRenderer);
|
186
|
+
}
|
187
|
+
if(!isReset){
|
188
|
+
this.bindStore(this.store, true);
|
189
|
+
}
|
190
|
+
this.refresh.defer(10, this);
|
191
|
+
},
|
192
|
+
|
193
|
+
delayRefresh : function(){
|
194
|
+
if(!this.refreshTask){
|
195
|
+
this.refreshTask = new Ext.util.DelayedTask(this.refresh, this);
|
196
|
+
}
|
197
|
+
this.refreshTask.delay(this.refreshBuffer);
|
198
|
+
},
|
199
|
+
|
200
|
+
refresh : function(){
|
201
|
+
var styleChanged = false;
|
202
|
+
// convert the store data into something YUI charts can understand
|
203
|
+
var data = [], rs = this.store.data.items;
|
204
|
+
for(var j = 0, len = rs.length; j < len; j++){
|
205
|
+
data[j] = rs[j].data;
|
206
|
+
}
|
207
|
+
//make a copy of the series definitions so that we aren't
|
208
|
+
//editing them directly.
|
209
|
+
var dataProvider = [];
|
210
|
+
var seriesCount = 0;
|
211
|
+
var currentSeries = null;
|
212
|
+
var i = 0;
|
213
|
+
if(this.series){
|
214
|
+
seriesCount = this.series.length;
|
215
|
+
for(i = 0; i < seriesCount; i++){
|
216
|
+
currentSeries = this.series[i];
|
217
|
+
var clonedSeries = {};
|
218
|
+
for(var prop in currentSeries){
|
219
|
+
if(prop == "style" && currentSeries.style !== null){
|
220
|
+
clonedSeries.style = Ext.encode(currentSeries.style);
|
221
|
+
styleChanged = true;
|
222
|
+
//we don't want to modify the styles again next time
|
223
|
+
//so null out the style property.
|
224
|
+
// this causes issues
|
225
|
+
// currentSeries.style = null;
|
226
|
+
} else{
|
227
|
+
clonedSeries[prop] = currentSeries[prop];
|
228
|
+
}
|
229
|
+
}
|
230
|
+
dataProvider.push(clonedSeries);
|
231
|
+
}
|
232
|
+
}
|
233
|
+
|
234
|
+
if(seriesCount > 0){
|
235
|
+
for(i = 0; i < seriesCount; i++){
|
236
|
+
currentSeries = dataProvider[i];
|
237
|
+
if(!currentSeries.type){
|
238
|
+
currentSeries.type = this.type;
|
239
|
+
}
|
240
|
+
currentSeries.dataProvider = data;
|
241
|
+
}
|
242
|
+
} else{
|
243
|
+
dataProvider.push({type: this.type, dataProvider: data});
|
244
|
+
}
|
245
|
+
this.swf.setDataProvider(dataProvider);
|
246
|
+
},
|
247
|
+
|
248
|
+
createFnProxy : function(fn, old){
|
249
|
+
if(old){
|
250
|
+
delete window[old];
|
251
|
+
}
|
252
|
+
var fnName = "extFnProxy" + (++Ext.chart.Chart.PROXY_FN_ID);
|
253
|
+
window[fnName] = fn;
|
254
|
+
return fnName;
|
255
|
+
},
|
256
|
+
|
257
|
+
onDestroy: function(){
|
258
|
+
Ext.chart.Chart.superclass.onDestroy.call(this);
|
259
|
+
delete window[this.tipFnName];
|
260
|
+
}
|
261
|
+
});
|
262
|
+
Ext.reg('chart', Ext.chart.Chart);
|
263
|
+
Ext.chart.Chart.PROXY_FN_ID = 0;
|
264
|
+
|
265
|
+
/**
|
266
|
+
* Sets the url to load the chart from. This should be set to a local resource.
|
267
|
+
* @static
|
268
|
+
* @type String
|
269
|
+
*/
|
270
|
+
Ext.chart.Chart.CHART_URL = 'http:/' + '/yui.yahooapis.com/2.7.0/build/charts/assets/charts.swf';
|
271
|
+
|
272
|
+
/**
|
273
|
+
* @class Ext.chart.PieChart
|
274
|
+
* @extends Ext.chart.Chart
|
275
|
+
* @constructor
|
276
|
+
* @xtype piechart
|
277
|
+
*/
|
278
|
+
Ext.chart.PieChart = Ext.extend(Ext.chart.Chart, {
|
279
|
+
type: 'pie',
|
280
|
+
|
281
|
+
onSwfReady : function(isReset){
|
282
|
+
Ext.chart.PieChart.superclass.onSwfReady.call(this, isReset);
|
283
|
+
|
284
|
+
this.setDataField(this.dataField);
|
285
|
+
this.setCategoryField(this.categoryField);
|
286
|
+
},
|
287
|
+
|
288
|
+
setDataField : function(field){
|
289
|
+
this.dataField = field;
|
290
|
+
this.swf.setDataField(field);
|
291
|
+
},
|
292
|
+
|
293
|
+
setCategoryField : function(field){
|
294
|
+
this.categoryField = field;
|
295
|
+
this.swf.setCategoryField(field);
|
296
|
+
}
|
297
|
+
});
|
298
|
+
Ext.reg('piechart', Ext.chart.PieChart);
|
299
|
+
|
300
|
+
/**
|
301
|
+
* @class Ext.chart.CartesianChart
|
302
|
+
* @extends Ext.chart.Chart
|
303
|
+
* @constructor
|
304
|
+
* @xtype cartesianchart
|
305
|
+
*/
|
306
|
+
Ext.chart.CartesianChart = Ext.extend(Ext.chart.Chart, {
|
307
|
+
onSwfReady : function(isReset){
|
308
|
+
Ext.chart.CartesianChart.superclass.onSwfReady.call(this, isReset);
|
309
|
+
|
310
|
+
if(this.xField){
|
311
|
+
this.setXField(this.xField);
|
312
|
+
}
|
313
|
+
if(this.yField){
|
314
|
+
this.setYField(this.yField);
|
315
|
+
}
|
316
|
+
if(this.xAxis){
|
317
|
+
this.setXAxis(this.xAxis);
|
318
|
+
}
|
319
|
+
if(this.yAxis){
|
320
|
+
this.setYAxis(this.yAxis);
|
321
|
+
}
|
322
|
+
},
|
323
|
+
|
324
|
+
setXField : function(value){
|
325
|
+
this.xField = value;
|
326
|
+
this.swf.setHorizontalField(value);
|
327
|
+
},
|
328
|
+
|
329
|
+
setYField : function(value){
|
330
|
+
this.yField = value;
|
331
|
+
this.swf.setVerticalField(value);
|
332
|
+
},
|
333
|
+
|
334
|
+
setXAxis : function(value){
|
335
|
+
this.xAxis = this.createAxis('xAxis', value);
|
336
|
+
this.swf.setHorizontalAxis(this.xAxis);
|
337
|
+
},
|
338
|
+
|
339
|
+
setYAxis : function(value){
|
340
|
+
this.yAxis = this.createAxis('yAxis', value);
|
341
|
+
this.swf.setVerticalAxis(this.yAxis);
|
342
|
+
},
|
343
|
+
|
344
|
+
createAxis : function(axis, value){
|
345
|
+
var o = Ext.apply({}, value), oldFn = null;
|
346
|
+
if(this[axis]){
|
347
|
+
oldFn = this[axis].labelFunction;
|
348
|
+
}
|
349
|
+
if(o.labelRenderer){
|
350
|
+
var fn = o.labelRenderer;
|
351
|
+
o.labelFunction = this.createFnProxy(function(v){
|
352
|
+
return fn(v);
|
353
|
+
}, oldFn);
|
354
|
+
delete o.labelRenderer;
|
355
|
+
}
|
356
|
+
return o;
|
357
|
+
}
|
358
|
+
});
|
359
|
+
Ext.reg('cartesianchart', Ext.chart.CartesianChart);
|
360
|
+
|
361
|
+
/**
|
362
|
+
* @class Ext.chart.LineChart
|
363
|
+
* @extends Ext.chart.CartesianChart
|
364
|
+
* @constructor
|
365
|
+
* @xtype linechart
|
366
|
+
*/
|
367
|
+
Ext.chart.LineChart = Ext.extend(Ext.chart.CartesianChart, {
|
368
|
+
type: 'line'
|
369
|
+
});
|
370
|
+
Ext.reg('linechart', Ext.chart.LineChart);
|
371
|
+
|
372
|
+
/**
|
373
|
+
* @class Ext.chart.ColumnChart
|
374
|
+
* @extends Ext.chart.CartesianChart
|
375
|
+
* @constructor
|
376
|
+
* @xtype columnchart
|
377
|
+
*/
|
378
|
+
Ext.chart.ColumnChart = Ext.extend(Ext.chart.CartesianChart, {
|
379
|
+
type: 'column'
|
380
|
+
});
|
381
|
+
Ext.reg('columnchart', Ext.chart.ColumnChart);
|
382
|
+
|
383
|
+
/**
|
384
|
+
* @class Ext.chart.StackedColumnChart
|
385
|
+
* @extends Ext.chart.CartesianChart
|
386
|
+
* @constructor
|
387
|
+
* @xtype stackedcolumnchart
|
388
|
+
*/
|
389
|
+
Ext.chart.StackedColumnChart = Ext.extend(Ext.chart.CartesianChart, {
|
390
|
+
type: 'stackcolumn'
|
391
|
+
});
|
392
|
+
Ext.reg('stackedcolumnchart', Ext.chart.StackedColumnChart);
|
393
|
+
|
394
|
+
/**
|
395
|
+
* @class Ext.chart.BarChart
|
396
|
+
* @extends Ext.chart.CartesianChart
|
397
|
+
* @constructor
|
398
|
+
* @xtype barchart
|
399
|
+
*/
|
400
|
+
Ext.chart.BarChart = Ext.extend(Ext.chart.CartesianChart, {
|
401
|
+
type: 'bar'
|
402
|
+
});
|
403
|
+
Ext.reg('barchart', Ext.chart.BarChart);
|
404
|
+
|
405
|
+
/**
|
406
|
+
* @class Ext.chart.StackedBarChart
|
407
|
+
* @extends Ext.chart.CartesianChart
|
408
|
+
* @constructor
|
409
|
+
* @xtype stackedbarchart
|
410
|
+
*/
|
411
|
+
Ext.chart.StackedBarChart = Ext.extend(Ext.chart.CartesianChart, {
|
412
|
+
type: 'stackbar'
|
413
|
+
});
|
414
|
+
Ext.reg('stackedbarchart', Ext.chart.StackedBarChart);
|
415
|
+
|
416
|
+
|
417
|
+
|
418
|
+
/**
|
419
|
+
* @class Ext.chart.Axis
|
420
|
+
* Defines a CartesianChart's vertical or horizontal axis.
|
421
|
+
* @constructor
|
422
|
+
*/
|
423
|
+
Ext.chart.Axis = function(config){
|
424
|
+
Ext.apply(this, config);
|
425
|
+
};
|
426
|
+
|
427
|
+
Ext.chart.Axis.prototype =
|
428
|
+
{
|
429
|
+
/**
|
430
|
+
* The type of axis.
|
431
|
+
*
|
432
|
+
* @property type
|
433
|
+
* @type String
|
434
|
+
*/
|
435
|
+
type: null,
|
436
|
+
|
437
|
+
/**
|
438
|
+
* The direction in which the axis is drawn. May be "horizontal" or "vertical".
|
439
|
+
*
|
440
|
+
* @property orientation
|
441
|
+
* @type String
|
442
|
+
*/
|
443
|
+
orientation: "horizontal",
|
444
|
+
|
445
|
+
/**
|
446
|
+
* If true, the items on the axis will be drawn in opposite direction.
|
447
|
+
*
|
448
|
+
* @property reverse
|
449
|
+
* @type Boolean
|
450
|
+
*/
|
451
|
+
reverse: false,
|
452
|
+
|
453
|
+
/**
|
454
|
+
* A string reference to the globally-accessible function that may be called to
|
455
|
+
* determine each of the label values for this axis.
|
456
|
+
*
|
457
|
+
* @property labelFunction
|
458
|
+
* @type String
|
459
|
+
*/
|
460
|
+
labelFunction: null,
|
461
|
+
|
462
|
+
/**
|
463
|
+
* If true, labels that overlap previously drawn labels on the axis will be hidden.
|
464
|
+
*
|
465
|
+
* @property hideOverlappingLabels
|
466
|
+
* @type Boolean
|
467
|
+
*/
|
468
|
+
hideOverlappingLabels: true
|
469
|
+
};
|
470
|
+
|
471
|
+
/**
|
472
|
+
* @class Ext.chart.NumericAxis
|
473
|
+
* @extends Ext.chart.Axis
|
474
|
+
* A type of axis whose units are measured in numeric values.
|
475
|
+
* @constructor
|
476
|
+
*/
|
477
|
+
Ext.chart.NumericAxis = Ext.extend(Ext.chart.Axis, {
|
478
|
+
type: "numeric",
|
479
|
+
|
480
|
+
/**
|
481
|
+
* The minimum value drawn by the axis. If not set explicitly, the axis minimum
|
482
|
+
* will be calculated automatically.
|
483
|
+
*
|
484
|
+
* @property minimum
|
485
|
+
* @type Number
|
486
|
+
*/
|
487
|
+
minimum: NaN,
|
488
|
+
|
489
|
+
/**
|
490
|
+
* The maximum value drawn by the axis. If not set explicitly, the axis maximum
|
491
|
+
* will be calculated automatically.
|
492
|
+
*
|
493
|
+
* @property maximum
|
494
|
+
* @type Number
|
495
|
+
*/
|
496
|
+
maximum: NaN,
|
497
|
+
|
498
|
+
/**
|
499
|
+
* The spacing between major intervals on this axis.
|
500
|
+
*
|
501
|
+
* @property majorUnit
|
502
|
+
* @type Number
|
503
|
+
*/
|
504
|
+
majorUnit: NaN,
|
505
|
+
|
506
|
+
/**
|
507
|
+
* The spacing between minor intervals on this axis.
|
508
|
+
*
|
509
|
+
* @property minorUnit
|
510
|
+
* @type Number
|
511
|
+
*/
|
512
|
+
minorUnit: NaN,
|
513
|
+
|
514
|
+
/**
|
515
|
+
* If true, the labels, ticks, gridlines, and other objects will snap to
|
516
|
+
* the nearest major or minor unit. If false, their position will be based
|
517
|
+
* on the minimum value.
|
518
|
+
*
|
519
|
+
* @property snapToUnits
|
520
|
+
* @type Boolean
|
521
|
+
*/
|
522
|
+
snapToUnits: true,
|
523
|
+
|
524
|
+
/**
|
525
|
+
* If true, and the bounds are calculated automatically, either the minimum or
|
526
|
+
* maximum will be set to zero.
|
527
|
+
*
|
528
|
+
* @property alwaysShowZero
|
529
|
+
* @type Boolean
|
530
|
+
*/
|
531
|
+
alwaysShowZero: true,
|
532
|
+
|
533
|
+
/**
|
534
|
+
* The scaling algorithm to use on this axis. May be "linear" or "logarithmic".
|
535
|
+
*
|
536
|
+
* @property scale
|
537
|
+
* @type String
|
538
|
+
*/
|
539
|
+
scale: "linear"
|
540
|
+
});
|
541
|
+
|
542
|
+
/**
|
543
|
+
* @class Ext.chart.TimeAxis
|
544
|
+
* @extends Ext.chart.Axis
|
545
|
+
* A type of axis whose units are measured in time-based values.
|
546
|
+
* @constructor
|
547
|
+
*/
|
548
|
+
Ext.chart.TimeAxis = Ext.extend(Ext.chart.Axis, {
|
549
|
+
type: "time",
|
550
|
+
|
551
|
+
/**
|
552
|
+
* The minimum value drawn by the axis. If not set explicitly, the axis minimum
|
553
|
+
* will be calculated automatically.
|
554
|
+
*
|
555
|
+
* @property minimum
|
556
|
+
* @type Date
|
557
|
+
*/
|
558
|
+
minimum: null,
|
559
|
+
|
560
|
+
/**
|
561
|
+
* The maximum value drawn by the axis. If not set explicitly, the axis maximum
|
562
|
+
* will be calculated automatically.
|
563
|
+
*
|
564
|
+
* @property maximum
|
565
|
+
* @type Number
|
566
|
+
*/
|
567
|
+
maximum: null,
|
568
|
+
|
569
|
+
/**
|
570
|
+
* The spacing between major intervals on this axis.
|
571
|
+
*
|
572
|
+
* @property majorUnit
|
573
|
+
* @type Number
|
574
|
+
*/
|
575
|
+
majorUnit: NaN,
|
576
|
+
|
577
|
+
/**
|
578
|
+
* The time unit used by the majorUnit.
|
579
|
+
*
|
580
|
+
* @property majorTimeUnit
|
581
|
+
* @type String
|
582
|
+
*/
|
583
|
+
majorTimeUnit: null,
|
584
|
+
|
585
|
+
/**
|
586
|
+
* The spacing between minor intervals on this axis.
|
587
|
+
*
|
588
|
+
* @property majorUnit
|
589
|
+
* @type Number
|
590
|
+
*/
|
591
|
+
minorUnit: NaN,
|
592
|
+
|
593
|
+
/**
|
594
|
+
* The time unit used by the minorUnit.
|
595
|
+
*
|
596
|
+
* @property majorTimeUnit
|
597
|
+
* @type String
|
598
|
+
*/
|
599
|
+
minorTimeUnit: null,
|
600
|
+
|
601
|
+
/**
|
602
|
+
* If true, the labels, ticks, gridlines, and other objects will snap to
|
603
|
+
* the nearest major or minor unit. If false, their position will be based
|
604
|
+
* on the minimum value.
|
605
|
+
*
|
606
|
+
* @property snapToUnits
|
607
|
+
* @type Boolean
|
608
|
+
*/
|
609
|
+
snapToUnits: true
|
610
|
+
});
|
611
|
+
|
612
|
+
/**
|
613
|
+
* @class Ext.chart.CategoryAxis
|
614
|
+
* @extends Ext.chart.Axis
|
615
|
+
* A type of axis that displays items in categories.
|
616
|
+
* @constructor
|
617
|
+
*/
|
618
|
+
Ext.chart.CategoryAxis = Ext.extend(Ext.chart.Axis, {
|
619
|
+
type: "category",
|
620
|
+
|
621
|
+
/**
|
622
|
+
* A list of category names to display along this axis.
|
623
|
+
*
|
624
|
+
* @property categoryNames
|
625
|
+
* @type Array
|
626
|
+
*/
|
627
|
+
categoryNames: null
|
628
|
+
});
|
629
|
+
|
630
|
+
/**
|
631
|
+
* @class Ext.chart.Series
|
632
|
+
* Series class for the charts widget.
|
633
|
+
* @constructor
|
634
|
+
*/
|
635
|
+
Ext.chart.Series = function(config) { Ext.apply(this, config); };
|
636
|
+
|
637
|
+
Ext.chart.Series.prototype =
|
638
|
+
{
|
639
|
+
/**
|
640
|
+
* The type of series.
|
641
|
+
*
|
642
|
+
* @property type
|
643
|
+
* @type String
|
644
|
+
*/
|
645
|
+
type: null,
|
646
|
+
|
647
|
+
/**
|
648
|
+
* The human-readable name of the series.
|
649
|
+
*
|
650
|
+
* @property displayName
|
651
|
+
* @type String
|
652
|
+
*/
|
653
|
+
displayName: null
|
654
|
+
};
|
655
|
+
|
656
|
+
/**
|
657
|
+
* @class Ext.chart.CartesianSeries
|
658
|
+
* @extends Ext.chart.Series
|
659
|
+
* CartesianSeries class for the charts widget.
|
660
|
+
* @constructor
|
661
|
+
*/
|
662
|
+
Ext.chart.CartesianSeries = Ext.extend(Ext.chart.Series, {
|
663
|
+
/**
|
664
|
+
* The field used to access the x-axis value from the items from the data source.
|
665
|
+
*
|
666
|
+
* @property xField
|
667
|
+
* @type String
|
668
|
+
*/
|
669
|
+
xField: null,
|
670
|
+
|
671
|
+
/**
|
672
|
+
* The field used to access the y-axis value from the items from the data source.
|
673
|
+
*
|
674
|
+
* @property yField
|
675
|
+
* @type String
|
676
|
+
*/
|
677
|
+
yField: null
|
678
|
+
});
|
679
|
+
|
680
|
+
/**
|
681
|
+
* @class Ext.chart.ColumnSeries
|
682
|
+
* @extends Ext.chart.CartesianSeries
|
683
|
+
* ColumnSeries class for the charts widget.
|
684
|
+
* @constructor
|
685
|
+
*/
|
686
|
+
Ext.chart.ColumnSeries = Ext.extend(Ext.chart.CartesianSeries, {
|
687
|
+
type: "column"
|
688
|
+
});
|
689
|
+
|
690
|
+
/**
|
691
|
+
* @class Ext.chart.LineSeries
|
692
|
+
* @extends Ext.chart.CartesianSeries
|
693
|
+
* LineSeries class for the charts widget.
|
694
|
+
* @constructor
|
695
|
+
*/
|
696
|
+
Ext.chart.LineSeries = Ext.extend(Ext.chart.CartesianSeries, {
|
697
|
+
type: "line"
|
698
|
+
});
|
699
|
+
|
700
|
+
/**
|
701
|
+
* @class Ext.chart.BarSeries
|
702
|
+
* @extends Ext.chart.CartesianSeries
|
703
|
+
* BarSeries class for the charts widget.
|
704
|
+
* @constructor
|
705
|
+
*/
|
706
|
+
Ext.chart.BarSeries = Ext.extend(Ext.chart.CartesianSeries, {
|
707
|
+
type: "bar"
|
708
|
+
});
|
709
|
+
|
710
|
+
|
711
|
+
/**
|
712
|
+
* @class Ext.chart.PieSeries
|
713
|
+
* @extends Ext.chart.Series
|
714
|
+
* PieSeries class for the charts widget.
|
715
|
+
* @constructor
|
716
|
+
*/
|
717
|
+
Ext.chart.PieSeries = Ext.extend(Ext.chart.Series, {
|
718
|
+
type: "pie",
|
719
|
+
dataField: null,
|
720
|
+
categoryField: null
|
721
|
+
});
|