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,640 @@
|
|
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.form.Field
|
9
|
+
* @extends Ext.BoxComponent
|
10
|
+
* Base class for form fields that provides default event handling, sizing, value handling and other functionality.
|
11
|
+
* @constructor
|
12
|
+
* Creates a new Field
|
13
|
+
* @param {Object} config Configuration options
|
14
|
+
* @xtype field
|
15
|
+
*/
|
16
|
+
Ext.form.Field = Ext.extend(Ext.BoxComponent, {
|
17
|
+
/**
|
18
|
+
* @cfg {String} inputType The type attribute for input fields -- e.g. radio, text, password, file (defaults
|
19
|
+
* to "text"). The types "file" and "password" must be used to render those field types currently -- there are
|
20
|
+
* no separate Ext components for those. Note that if you use <tt>inputType:'file'</tt>, {@link #emptyText}
|
21
|
+
* is not supported and should be avoided.
|
22
|
+
*/
|
23
|
+
/**
|
24
|
+
* @cfg {Number} tabIndex The tabIndex for this field. Note this only applies to fields that are rendered,
|
25
|
+
* not those which are built via applyTo (defaults to undefined).
|
26
|
+
*/
|
27
|
+
/**
|
28
|
+
* @cfg {Mixed} value A value to initialize this field with (defaults to undefined).
|
29
|
+
*/
|
30
|
+
/**
|
31
|
+
* @cfg {String} name The field's HTML name attribute (defaults to "").
|
32
|
+
* <b>Note</b>: this property must be set if this field is to be automatically included with
|
33
|
+
* {@link Ext.form.BasicForm#submit form submit()}.
|
34
|
+
*/
|
35
|
+
/**
|
36
|
+
* @cfg {String} cls A custom CSS class to apply to the field's underlying element (defaults to "").
|
37
|
+
*/
|
38
|
+
|
39
|
+
/**
|
40
|
+
* @cfg {String} invalidClass The CSS class to use when marking a field invalid (defaults to "x-form-invalid")
|
41
|
+
*/
|
42
|
+
invalidClass : "x-form-invalid",
|
43
|
+
/**
|
44
|
+
* @cfg {String} invalidText The error text to use when marking a field invalid and no message is provided
|
45
|
+
* (defaults to "The value in this field is invalid")
|
46
|
+
*/
|
47
|
+
invalidText : "The value in this field is invalid",
|
48
|
+
/**
|
49
|
+
* @cfg {String} focusClass The CSS class to use when the field receives focus (defaults to "x-form-focus")
|
50
|
+
*/
|
51
|
+
focusClass : "x-form-focus",
|
52
|
+
/**
|
53
|
+
* @cfg {String/Boolean} validationEvent The event that should initiate field validation. Set to false to disable
|
54
|
+
automatic validation (defaults to "keyup").
|
55
|
+
*/
|
56
|
+
validationEvent : "keyup",
|
57
|
+
/**
|
58
|
+
* @cfg {Boolean} validateOnBlur Whether the field should validate when it loses focus (defaults to true).
|
59
|
+
*/
|
60
|
+
validateOnBlur : true,
|
61
|
+
/**
|
62
|
+
* @cfg {Number} validationDelay The length of time in milliseconds after user input begins until validation
|
63
|
+
* is initiated (defaults to 250)
|
64
|
+
*/
|
65
|
+
validationDelay : 250,
|
66
|
+
/**
|
67
|
+
* @cfg {String/Object} autoCreate <p>A {@link Ext.DomHelper DomHelper} element spec, or true for a default
|
68
|
+
* element spec. Used to create the {@link Ext.Component#getEl Element} which will encapsulate this Component.
|
69
|
+
* See <tt>{@link Ext.Component#autoEl autoEl}</tt> for details. Defaults to:</p>
|
70
|
+
* <pre><code>{tag: "input", type: "text", size: "20", autocomplete: "off"}</code></pre>
|
71
|
+
*/
|
72
|
+
defaultAutoCreate : {tag: "input", type: "text", size: "20", autocomplete: "off"},
|
73
|
+
/**
|
74
|
+
* @cfg {String} fieldClass The default CSS class for the field (defaults to "x-form-field")
|
75
|
+
*/
|
76
|
+
fieldClass : "x-form-field",
|
77
|
+
/**
|
78
|
+
* @cfg {String} msgTarget The location where error text should display. Should be one of the following values
|
79
|
+
* (defaults to 'qtip'):
|
80
|
+
*<pre>
|
81
|
+
Value Description
|
82
|
+
----------- ----------------------------------------------------------------------
|
83
|
+
qtip Display a quick tip when the user hovers over the field
|
84
|
+
title Display a default browser title attribute popup
|
85
|
+
under Add a block div beneath the field containing the error text
|
86
|
+
side Add an error icon to the right of the field with a popup on hover
|
87
|
+
[element id] Add the error text directly to the innerHTML of the specified element
|
88
|
+
</pre>
|
89
|
+
*/
|
90
|
+
msgTarget : 'qtip',
|
91
|
+
/**
|
92
|
+
* @cfg {String} msgFx <b>Experimental</b> The effect used when displaying a validation message under the field
|
93
|
+
* (defaults to 'normal').
|
94
|
+
*/
|
95
|
+
msgFx : 'normal',
|
96
|
+
/**
|
97
|
+
* @cfg {Boolean} readOnly <tt>true</tt> to mark the field as readOnly in HTML
|
98
|
+
* (defaults to <tt>false</tt>).
|
99
|
+
* <br><p><b>Note</b>: this only sets the element's readOnly DOM attribute.
|
100
|
+
* Setting <code>readOnly=true</code>, for example, will not disable triggering a
|
101
|
+
* ComboBox or DateField; it gives you the option of forcing the user to choose
|
102
|
+
* via the trigger without typing in the text box. To hide the trigger use
|
103
|
+
* <code>{@link Ext.form.TriggerField#hideTrigger hideTrigger}</code>.</p>
|
104
|
+
*/
|
105
|
+
readOnly : false,
|
106
|
+
/**
|
107
|
+
* @cfg {Boolean} disabled True to disable the field (defaults to false).
|
108
|
+
* <p>Be aware that conformant with the <a href="http://www.w3.org/TR/html401/interact/forms.html#h-17.12.1">HTML specification</a>,
|
109
|
+
* disabled Fields will not be {@link Ext.form.BasicForm#submit submitted}.</p>
|
110
|
+
*/
|
111
|
+
disabled : false,
|
112
|
+
|
113
|
+
// private
|
114
|
+
isFormField : true,
|
115
|
+
|
116
|
+
// private
|
117
|
+
hasFocus : false,
|
118
|
+
|
119
|
+
// private
|
120
|
+
initComponent : function(){
|
121
|
+
Ext.form.Field.superclass.initComponent.call(this);
|
122
|
+
this.addEvents(
|
123
|
+
/**
|
124
|
+
* @event focus
|
125
|
+
* Fires when this field receives input focus.
|
126
|
+
* @param {Ext.form.Field} this
|
127
|
+
*/
|
128
|
+
'focus',
|
129
|
+
/**
|
130
|
+
* @event blur
|
131
|
+
* Fires when this field loses input focus.
|
132
|
+
* @param {Ext.form.Field} this
|
133
|
+
*/
|
134
|
+
'blur',
|
135
|
+
/**
|
136
|
+
* @event specialkey
|
137
|
+
* Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed.
|
138
|
+
* To handle other keys see {@link Ext.Panel#keys} or {@link Ext.KeyMap}.
|
139
|
+
* You can check {@link Ext.EventObject#getKey} to determine which key was pressed.
|
140
|
+
* For example: <pre><code>
|
141
|
+
var form = new Ext.form.FormPanel({
|
142
|
+
...
|
143
|
+
items: [{
|
144
|
+
fieldLabel: 'Field 1',
|
145
|
+
name: 'field1',
|
146
|
+
allowBlank: false
|
147
|
+
},{
|
148
|
+
fieldLabel: 'Field 2',
|
149
|
+
name: 'field2',
|
150
|
+
listeners: {
|
151
|
+
specialkey: function(field, e){
|
152
|
+
// e.HOME, e.END, e.PAGE_UP, e.PAGE_DOWN,
|
153
|
+
// e.TAB, e.ESC, arrow keys: e.LEFT, e.RIGHT, e.UP, e.DOWN
|
154
|
+
if (e.{@link Ext.EventObject#getKey getKey()} == e.ENTER) {
|
155
|
+
var form = field.ownerCt.getForm();
|
156
|
+
form.submit();
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
],
|
162
|
+
...
|
163
|
+
});
|
164
|
+
* </code></pre>
|
165
|
+
* @param {Ext.form.Field} this
|
166
|
+
* @param {Ext.EventObject} e The event object
|
167
|
+
*/
|
168
|
+
'specialkey',
|
169
|
+
/**
|
170
|
+
* @event change
|
171
|
+
* Fires just before the field blurs if the field value has changed.
|
172
|
+
* @param {Ext.form.Field} this
|
173
|
+
* @param {Mixed} newValue The new value
|
174
|
+
* @param {Mixed} oldValue The original value
|
175
|
+
*/
|
176
|
+
'change',
|
177
|
+
/**
|
178
|
+
* @event invalid
|
179
|
+
* Fires after the field has been marked as invalid.
|
180
|
+
* @param {Ext.form.Field} this
|
181
|
+
* @param {String} msg The validation message
|
182
|
+
*/
|
183
|
+
'invalid',
|
184
|
+
/**
|
185
|
+
* @event valid
|
186
|
+
* Fires after the field has been validated with no errors.
|
187
|
+
* @param {Ext.form.Field} this
|
188
|
+
*/
|
189
|
+
'valid'
|
190
|
+
);
|
191
|
+
},
|
192
|
+
|
193
|
+
/**
|
194
|
+
* Returns the {@link Ext.form.Field#name name} or {@link Ext.form.ComboBox#hiddenName hiddenName}
|
195
|
+
* attribute of the field if available.
|
196
|
+
* @return {String} name The field {@link Ext.form.Field#name name} or {@link Ext.form.ComboBox#hiddenName hiddenName}
|
197
|
+
*/
|
198
|
+
getName: function(){
|
199
|
+
return this.rendered && this.el.dom.name ? this.el.dom.name : this.name || this.id || '';
|
200
|
+
},
|
201
|
+
|
202
|
+
// private
|
203
|
+
onRender : function(ct, position){
|
204
|
+
if(!this.el){
|
205
|
+
var cfg = this.getAutoCreate();
|
206
|
+
|
207
|
+
if(!cfg.name){
|
208
|
+
cfg.name = this.name || this.id;
|
209
|
+
}
|
210
|
+
if(this.inputType){
|
211
|
+
cfg.type = this.inputType;
|
212
|
+
}
|
213
|
+
this.autoEl = cfg;
|
214
|
+
}
|
215
|
+
Ext.form.Field.superclass.onRender.call(this, ct, position);
|
216
|
+
|
217
|
+
var type = this.el.dom.type;
|
218
|
+
if(type){
|
219
|
+
if(type == 'password'){
|
220
|
+
type = 'text';
|
221
|
+
}
|
222
|
+
this.el.addClass('x-form-'+type);
|
223
|
+
}
|
224
|
+
if(this.readOnly){
|
225
|
+
this.el.dom.readOnly = true;
|
226
|
+
}
|
227
|
+
if(this.tabIndex !== undefined){
|
228
|
+
this.el.dom.setAttribute('tabIndex', this.tabIndex);
|
229
|
+
}
|
230
|
+
|
231
|
+
this.el.addClass([this.fieldClass, this.cls]);
|
232
|
+
},
|
233
|
+
|
234
|
+
// private
|
235
|
+
getItemCt : function(){
|
236
|
+
return this.el.up('.x-form-item', 4);
|
237
|
+
},
|
238
|
+
|
239
|
+
// private
|
240
|
+
initValue : function(){
|
241
|
+
if(this.value !== undefined){
|
242
|
+
this.setValue(this.value);
|
243
|
+
}else if(!Ext.isEmpty(this.el.dom.value) && this.el.dom.value != this.emptyText){
|
244
|
+
this.setValue(this.el.dom.value);
|
245
|
+
}
|
246
|
+
/**
|
247
|
+
* The original value of the field as configured in the {@link #value} configuration, or
|
248
|
+
* as loaded by the last form load operation if the form's {@link Ext.form.BasicForm#trackResetOnLoad trackResetOnLoad}
|
249
|
+
* setting is <code>true</code>.
|
250
|
+
* @type mixed
|
251
|
+
* @property originalValue
|
252
|
+
*/
|
253
|
+
this.originalValue = this.getValue();
|
254
|
+
},
|
255
|
+
|
256
|
+
/**
|
257
|
+
* <p>Returns true if the value of this Field has been changed from its original value.
|
258
|
+
* Will return false if the field is disabled or has not been rendered yet.</p>
|
259
|
+
* <p>Note that if the owning {@link Ext.form.BasicForm form} was configured with
|
260
|
+
* {@link Ext.form.BasicForm}.{@link Ext.form.BasicForm#trackResetOnLoad trackResetOnLoad}
|
261
|
+
* then the <i>original value</i> is updated when the values are loaded by
|
262
|
+
* {@link Ext.form.BasicForm}.{@link Ext.form.BasicForm#setValues setValues}.</p>
|
263
|
+
* @return {Boolean} True if this field has been changed from its original value (and
|
264
|
+
* is not disabled), false otherwise.
|
265
|
+
*/
|
266
|
+
isDirty : function() {
|
267
|
+
if(this.disabled || !this.rendered) {
|
268
|
+
return false;
|
269
|
+
}
|
270
|
+
return String(this.getValue()) !== String(this.originalValue);
|
271
|
+
},
|
272
|
+
|
273
|
+
// private
|
274
|
+
afterRender : function(){
|
275
|
+
Ext.form.Field.superclass.afterRender.call(this);
|
276
|
+
this.initEvents();
|
277
|
+
this.initValue();
|
278
|
+
},
|
279
|
+
|
280
|
+
// private
|
281
|
+
fireKey : function(e){
|
282
|
+
if(e.isSpecialKey()){
|
283
|
+
this.fireEvent("specialkey", this, e);
|
284
|
+
}
|
285
|
+
},
|
286
|
+
|
287
|
+
/**
|
288
|
+
* Resets the current field value to the originally loaded value and clears any validation messages.
|
289
|
+
* See {@link Ext.form.BasicForm}.{@link Ext.form.BasicForm#trackResetOnLoad trackResetOnLoad}
|
290
|
+
*/
|
291
|
+
reset : function(){
|
292
|
+
this.setValue(this.originalValue);
|
293
|
+
this.clearInvalid();
|
294
|
+
},
|
295
|
+
|
296
|
+
// private
|
297
|
+
initEvents : function(){
|
298
|
+
this.mon(this.el, Ext.EventManager.useKeydown ? "keydown" : "keypress", this.fireKey, this);
|
299
|
+
this.mon(this.el, 'focus', this.onFocus, this);
|
300
|
+
|
301
|
+
// fix weird FF/Win editor issue when changing OS window focus
|
302
|
+
var o = this.inEditor && Ext.isWindows && Ext.isGecko ? {buffer:10} : null;
|
303
|
+
this.mon(this.el, 'blur', this.onBlur, this, o);
|
304
|
+
},
|
305
|
+
|
306
|
+
// private
|
307
|
+
onFocus : function(){
|
308
|
+
if(this.focusClass){
|
309
|
+
this.el.addClass(this.focusClass);
|
310
|
+
}
|
311
|
+
if(!this.hasFocus){
|
312
|
+
this.hasFocus = true;
|
313
|
+
this.startValue = this.getValue();
|
314
|
+
this.fireEvent("focus", this);
|
315
|
+
}
|
316
|
+
},
|
317
|
+
|
318
|
+
// private
|
319
|
+
beforeBlur : Ext.emptyFn,
|
320
|
+
|
321
|
+
// private
|
322
|
+
onBlur : function(){
|
323
|
+
this.beforeBlur();
|
324
|
+
if(this.focusClass){
|
325
|
+
this.el.removeClass(this.focusClass);
|
326
|
+
}
|
327
|
+
this.hasFocus = false;
|
328
|
+
if(this.validationEvent !== false && this.validateOnBlur && this.validationEvent != "blur"){
|
329
|
+
this.validate();
|
330
|
+
}
|
331
|
+
var v = this.getValue();
|
332
|
+
if(String(v) !== String(this.startValue)){
|
333
|
+
this.fireEvent('change', this, v, this.startValue);
|
334
|
+
}
|
335
|
+
this.fireEvent("blur", this);
|
336
|
+
},
|
337
|
+
|
338
|
+
/**
|
339
|
+
* Returns whether or not the field value is currently valid
|
340
|
+
* @param {Boolean} preventMark True to disable marking the field invalid
|
341
|
+
* @return {Boolean} True if the value is valid, else false
|
342
|
+
*/
|
343
|
+
isValid : function(preventMark){
|
344
|
+
if(this.disabled){
|
345
|
+
return true;
|
346
|
+
}
|
347
|
+
var restore = this.preventMark;
|
348
|
+
this.preventMark = preventMark === true;
|
349
|
+
var v = this.validateValue(this.processValue(this.getRawValue()));
|
350
|
+
this.preventMark = restore;
|
351
|
+
return v;
|
352
|
+
},
|
353
|
+
|
354
|
+
/**
|
355
|
+
* Validates the field value
|
356
|
+
* @return {Boolean} True if the value is valid, else false
|
357
|
+
*/
|
358
|
+
validate : function(){
|
359
|
+
if(this.disabled || this.validateValue(this.processValue(this.getRawValue()))){
|
360
|
+
this.clearInvalid();
|
361
|
+
return true;
|
362
|
+
}
|
363
|
+
return false;
|
364
|
+
},
|
365
|
+
|
366
|
+
// protected - should be overridden by subclasses if necessary to prepare raw values for validation
|
367
|
+
processValue : function(value){
|
368
|
+
return value;
|
369
|
+
},
|
370
|
+
|
371
|
+
// private
|
372
|
+
// Subclasses should provide the validation implementation by overriding this
|
373
|
+
validateValue : function(value){
|
374
|
+
return true;
|
375
|
+
},
|
376
|
+
|
377
|
+
/**
|
378
|
+
* Mark this field as invalid, using {@link #msgTarget} to determine how to display the error and
|
379
|
+
* applying {@link #invalidClass} to the field's element.
|
380
|
+
* @param {String} msg (optional) The validation message (defaults to {@link #invalidText})
|
381
|
+
*/
|
382
|
+
markInvalid : function(msg){
|
383
|
+
if(!this.rendered || this.preventMark){ // not rendered
|
384
|
+
return;
|
385
|
+
}
|
386
|
+
msg = msg || this.invalidText;
|
387
|
+
|
388
|
+
var mt = this.getMessageHandler();
|
389
|
+
if(mt){
|
390
|
+
mt.mark(this, msg);
|
391
|
+
}else if(this.msgTarget){
|
392
|
+
this.el.addClass(this.invalidClass);
|
393
|
+
var t = Ext.getDom(this.msgTarget);
|
394
|
+
if(t){
|
395
|
+
t.innerHTML = msg;
|
396
|
+
t.style.display = this.msgDisplay;
|
397
|
+
}
|
398
|
+
}
|
399
|
+
this.fireEvent('invalid', this, msg);
|
400
|
+
},
|
401
|
+
|
402
|
+
/**
|
403
|
+
* Clear any invalid styles/messages for this field
|
404
|
+
*/
|
405
|
+
clearInvalid : function(){
|
406
|
+
if(!this.rendered || this.preventMark){ // not rendered
|
407
|
+
return;
|
408
|
+
}
|
409
|
+
this.el.removeClass(this.invalidClass);
|
410
|
+
var mt = this.getMessageHandler();
|
411
|
+
if(mt){
|
412
|
+
mt.clear(this);
|
413
|
+
}else if(this.msgTarget){
|
414
|
+
this.el.removeClass(this.invalidClass);
|
415
|
+
var t = Ext.getDom(this.msgTarget);
|
416
|
+
if(t){
|
417
|
+
t.innerHTML = '';
|
418
|
+
t.style.display = 'none';
|
419
|
+
}
|
420
|
+
}
|
421
|
+
this.fireEvent('valid', this);
|
422
|
+
},
|
423
|
+
|
424
|
+
// private
|
425
|
+
getMessageHandler : function(){
|
426
|
+
return Ext.form.MessageTargets[this.msgTarget];
|
427
|
+
},
|
428
|
+
|
429
|
+
// private
|
430
|
+
getErrorCt : function(){
|
431
|
+
return this.el.findParent('.x-form-element', 5, true) || // use form element wrap if available
|
432
|
+
this.el.findParent('.x-form-field-wrap', 5, true); // else direct field wrap
|
433
|
+
},
|
434
|
+
|
435
|
+
// private
|
436
|
+
alignErrorIcon : function(){
|
437
|
+
this.errorIcon.alignTo(this.el, 'tl-tr', [2, 0]);
|
438
|
+
},
|
439
|
+
|
440
|
+
/**
|
441
|
+
* Returns the raw data value which may or may not be a valid, defined value. To return a normalized value see {@link #getValue}.
|
442
|
+
* @return {Mixed} value The field value
|
443
|
+
*/
|
444
|
+
getRawValue : function(){
|
445
|
+
var v = this.rendered ? this.el.getValue() : Ext.value(this.value, '');
|
446
|
+
if(v === this.emptyText){
|
447
|
+
v = '';
|
448
|
+
}
|
449
|
+
return v;
|
450
|
+
},
|
451
|
+
|
452
|
+
/**
|
453
|
+
* Returns the normalized data value (undefined or emptyText will be returned as ''). To return the raw value see {@link #getRawValue}.
|
454
|
+
* @return {Mixed} value The field value
|
455
|
+
*/
|
456
|
+
getValue : function(){
|
457
|
+
if(!this.rendered) {
|
458
|
+
return this.value;
|
459
|
+
}
|
460
|
+
var v = this.el.getValue();
|
461
|
+
if(v === this.emptyText || v === undefined){
|
462
|
+
v = '';
|
463
|
+
}
|
464
|
+
return v;
|
465
|
+
},
|
466
|
+
|
467
|
+
/**
|
468
|
+
* Sets the underlying DOM field's value directly, bypassing validation. To set the value with validation see {@link #setValue}.
|
469
|
+
* @param {Mixed} value The value to set
|
470
|
+
* @return {Mixed} value The field value that is set
|
471
|
+
*/
|
472
|
+
setRawValue : function(v){
|
473
|
+
return (this.el.dom.value = (Ext.isEmpty(v) ? '' : v));
|
474
|
+
},
|
475
|
+
|
476
|
+
/**
|
477
|
+
* Sets a data value into the field and validates it. To set the value directly without validation see {@link #setRawValue}.
|
478
|
+
* @param {Mixed} value The value to set
|
479
|
+
* @return {Ext.form.Field} this
|
480
|
+
*/
|
481
|
+
setValue : function(v){
|
482
|
+
this.value = v;
|
483
|
+
if(this.rendered){
|
484
|
+
this.el.dom.value = (Ext.isEmpty(v) ? '' : v);
|
485
|
+
this.validate();
|
486
|
+
}
|
487
|
+
return this;
|
488
|
+
},
|
489
|
+
|
490
|
+
// private, does not work for all fields
|
491
|
+
append : function(v){
|
492
|
+
this.setValue([this.getValue(), v].join(''));
|
493
|
+
},
|
494
|
+
|
495
|
+
// private
|
496
|
+
adjustSize : function(w, h){
|
497
|
+
var s = Ext.form.Field.superclass.adjustSize.call(this, w, h);
|
498
|
+
s.width = this.adjustWidth(this.el.dom.tagName, s.width);
|
499
|
+
if(this.offsetCt){
|
500
|
+
var ct = this.getItemCt();
|
501
|
+
s.width -= ct.getFrameWidth('lr');
|
502
|
+
s.height -= ct.getFrameWidth('tb');
|
503
|
+
}
|
504
|
+
return s;
|
505
|
+
},
|
506
|
+
|
507
|
+
// private
|
508
|
+
adjustWidth : function(tag, w){
|
509
|
+
if(typeof w == 'number' && (Ext.isIE && (Ext.isIE6 || !Ext.isStrict)) && /input|textarea/i.test(tag) && !this.inEditor){
|
510
|
+
return w - 3;
|
511
|
+
}
|
512
|
+
return w;
|
513
|
+
}
|
514
|
+
|
515
|
+
/**
|
516
|
+
* @cfg {Boolean} autoWidth @hide
|
517
|
+
*/
|
518
|
+
/**
|
519
|
+
* @cfg {Boolean} autoHeight @hide
|
520
|
+
*/
|
521
|
+
|
522
|
+
/**
|
523
|
+
* @cfg {String} autoEl @hide
|
524
|
+
*/
|
525
|
+
});
|
526
|
+
|
527
|
+
|
528
|
+
Ext.form.MessageTargets = {
|
529
|
+
'qtip' : {
|
530
|
+
mark: function(field, msg){
|
531
|
+
field.el.addClass(field.invalidClass);
|
532
|
+
field.el.dom.qtip = msg;
|
533
|
+
field.el.dom.qclass = 'x-form-invalid-tip';
|
534
|
+
if(Ext.QuickTips){ // fix for floating editors interacting with DND
|
535
|
+
Ext.QuickTips.enable();
|
536
|
+
}
|
537
|
+
},
|
538
|
+
clear: function(field){
|
539
|
+
field.el.removeClass(field.invalidClass);
|
540
|
+
field.el.dom.qtip = '';
|
541
|
+
}
|
542
|
+
},
|
543
|
+
'title' : {
|
544
|
+
mark: function(field, msg){
|
545
|
+
field.el.addClass(field.invalidClass);
|
546
|
+
field.el.dom.title = msg;
|
547
|
+
},
|
548
|
+
clear: function(field){
|
549
|
+
field.el.dom.title = '';
|
550
|
+
}
|
551
|
+
},
|
552
|
+
'under' : {
|
553
|
+
mark: function(field, msg){
|
554
|
+
field.el.addClass(field.invalidClass);
|
555
|
+
if(!field.errorEl){
|
556
|
+
var elp = field.getErrorCt();
|
557
|
+
if(!elp){ // field has no container el
|
558
|
+
field.el.dom.title = msg;
|
559
|
+
return;
|
560
|
+
}
|
561
|
+
field.errorEl = elp.createChild({cls:'x-form-invalid-msg'});
|
562
|
+
field.errorEl.setWidth(elp.getWidth(true)-20);
|
563
|
+
}
|
564
|
+
field.errorEl.update(msg);
|
565
|
+
Ext.form.Field.msgFx[field.msgFx].show(field.errorEl, field);
|
566
|
+
},
|
567
|
+
clear: function(field){
|
568
|
+
field.el.removeClass(field.invalidClass);
|
569
|
+
if(field.errorEl){
|
570
|
+
Ext.form.Field.msgFx[field.msgFx].hide(field.errorEl, field);
|
571
|
+
}else{
|
572
|
+
field.el.dom.title = '';
|
573
|
+
}
|
574
|
+
}
|
575
|
+
},
|
576
|
+
'side' : {
|
577
|
+
mark: function(field, msg){
|
578
|
+
field.el.addClass(field.invalidClass);
|
579
|
+
if(!field.errorIcon){
|
580
|
+
var elp = field.getErrorCt();
|
581
|
+
if(!elp){ // field has no container el
|
582
|
+
field.el.dom.title = msg;
|
583
|
+
return;
|
584
|
+
}
|
585
|
+
field.errorIcon = elp.createChild({cls:'x-form-invalid-icon'});
|
586
|
+
}
|
587
|
+
field.alignErrorIcon();
|
588
|
+
field.errorIcon.dom.qtip = msg;
|
589
|
+
field.errorIcon.dom.qclass = 'x-form-invalid-tip';
|
590
|
+
field.errorIcon.show();
|
591
|
+
field.on('resize', field.alignErrorIcon, field);
|
592
|
+
},
|
593
|
+
clear: function(field){
|
594
|
+
field.el.removeClass(field.invalidClass);
|
595
|
+
if(field.errorIcon){
|
596
|
+
field.errorIcon.dom.qtip = '';
|
597
|
+
field.errorIcon.hide();
|
598
|
+
field.un('resize', field.alignErrorIcon, field);
|
599
|
+
}else{
|
600
|
+
field.el.dom.title = '';
|
601
|
+
}
|
602
|
+
}
|
603
|
+
}
|
604
|
+
};
|
605
|
+
|
606
|
+
// anything other than normal should be considered experimental
|
607
|
+
Ext.form.Field.msgFx = {
|
608
|
+
normal : {
|
609
|
+
show: function(msgEl, f){
|
610
|
+
msgEl.setDisplayed('block');
|
611
|
+
},
|
612
|
+
|
613
|
+
hide : function(msgEl, f){
|
614
|
+
msgEl.setDisplayed(false).update('');
|
615
|
+
}
|
616
|
+
},
|
617
|
+
|
618
|
+
slide : {
|
619
|
+
show: function(msgEl, f){
|
620
|
+
msgEl.slideIn('t', {stopFx:true});
|
621
|
+
},
|
622
|
+
|
623
|
+
hide : function(msgEl, f){
|
624
|
+
msgEl.slideOut('t', {stopFx:true,useDisplay:true});
|
625
|
+
}
|
626
|
+
},
|
627
|
+
|
628
|
+
slideRight : {
|
629
|
+
show: function(msgEl, f){
|
630
|
+
msgEl.fixDisplay();
|
631
|
+
msgEl.alignTo(f.el, 'tl-tr');
|
632
|
+
msgEl.slideIn('l', {stopFx:true});
|
633
|
+
},
|
634
|
+
|
635
|
+
hide : function(msgEl, f){
|
636
|
+
msgEl.slideOut('l', {stopFx:true,useDisplay:true});
|
637
|
+
}
|
638
|
+
}
|
639
|
+
};
|
640
|
+
Ext.reg('field', Ext.form.Field);
|