From e0dae75b1160b789d70c9ebc5abe7c04e1882f3e Mon Sep 17 00:00:00 2001 From: Drone Date: Mon, 8 Dec 2008 21:46:20 +0000 Subject: [PATCH] Initial import of layouts episode --- layouts/application.js | 57 + layouts/extjs/CHANGES.html | 363 + layouts/extjs/INCLUDE_ORDER.txt | 35 + layouts/extjs/adapter/ext/ext-base.js | 10 + .../adapter/jquery/ext-jquery-adapter.js | 10 + layouts/extjs/adapter/jquery/jquery.js | 3408 ++ layouts/extjs/adapter/prototype/effects.js | 1122 + .../prototype/ext-prototype-adapter.js | 10 + layouts/extjs/adapter/prototype/prototype.js | 4221 ++ .../extjs/adapter/prototype/scriptaculous.js | 58 + layouts/extjs/adapter/yui/ext-yui-adapter.js | 10 + layouts/extjs/adapter/yui/yui-utilities.js | 17 + layouts/extjs/ext-all-debug.js | 35480 ++++++++++++++++ layouts/extjs/ext-all.js | 162 + layouts/extjs/ext-core-debug.js | 5736 +++ layouts/extjs/ext-core.js | 19 + layouts/extjs/license.txt | 42 + layouts/extjs/resources/css/README.txt | 3 + layouts/extjs/resources/css/borders.css | 61 + layouts/extjs/resources/css/box.css | 111 + layouts/extjs/resources/css/button.css | 161 + layouts/extjs/resources/css/combo.css | 55 + layouts/extjs/resources/css/core.css | 314 + layouts/extjs/resources/css/date-picker.css | 247 + layouts/extjs/resources/css/dd.css | 75 + layouts/extjs/resources/css/debug.css | 37 + layouts/extjs/resources/css/dialog.css | 69 + layouts/extjs/resources/css/editor.css | 66 + layouts/extjs/resources/css/ext-all.css | 925 + layouts/extjs/resources/css/form.css | 552 + layouts/extjs/resources/css/grid.css | 554 + layouts/extjs/resources/css/layout.css | 273 + layouts/extjs/resources/css/menu.css | 142 + layouts/extjs/resources/css/panel.css | 424 + layouts/extjs/resources/css/progress.css | 43 + layouts/extjs/resources/css/qtips.css | 134 + layouts/extjs/resources/css/reset-min.css | 9 + layouts/extjs/resources/css/reset.css | 9 + layouts/extjs/resources/css/resizable.css | 143 + layouts/extjs/resources/css/slider.css | 90 + layouts/extjs/resources/css/tabs.css | 358 + layouts/extjs/resources/css/toolbar.css | 183 + layouts/extjs/resources/css/tree.css | 254 + layouts/extjs/resources/css/window.css | 208 + layouts/extjs/resources/css/xtheme-gray.css | 415 + .../images/default/box/corners-blue.gif | Bin 0 -> 1010 bytes .../resources/images/default/box/corners.gif | Bin 0 -> 1005 bytes .../resources/images/default/box/l-blue.gif | Bin 0 -> 810 bytes .../extjs/resources/images/default/box/l.gif | Bin 0 -> 810 bytes .../resources/images/default/box/r-blue.gif | Bin 0 -> 810 bytes .../extjs/resources/images/default/box/r.gif | Bin 0 -> 810 bytes .../resources/images/default/box/tb-blue.gif | Bin 0 -> 851 bytes .../extjs/resources/images/default/box/tb.gif | Bin 0 -> 839 bytes .../images/default/button/btn-arrow.gif | Bin 0 -> 870 bytes .../images/default/button/btn-sprite.gif | Bin 0 -> 1341 bytes .../resources/images/default/dd/drop-add.gif | Bin 0 -> 1001 bytes .../resources/images/default/dd/drop-no.gif | Bin 0 -> 949 bytes .../resources/images/default/dd/drop-yes.gif | Bin 0 -> 1016 bytes .../images/default/editor/tb-sprite.gif | Bin 0 -> 2072 bytes .../images/default/form/checkbox.gif | Bin 0 -> 2061 bytes .../images/default/form/clear-trigger.gif | Bin 0 -> 1988 bytes .../images/default/form/clear-trigger.psd | Bin 0 -> 11804 bytes .../images/default/form/date-trigger.gif | Bin 0 -> 1603 bytes .../images/default/form/date-trigger.psd | Bin 0 -> 12377 bytes .../images/default/form/error-tip-corners.gif | Bin 0 -> 4183 bytes .../images/default/form/exclamation.gif | Bin 0 -> 996 bytes .../resources/images/default/form/radio.gif | Bin 0 -> 1746 bytes .../images/default/form/search-trigger.gif | Bin 0 -> 2182 bytes .../images/default/form/search-trigger.psd | Bin 0 -> 15601 bytes .../resources/images/default/form/text-bg.gif | Bin 0 -> 819 bytes .../images/default/form/trigger-tpl.gif | Bin 0 -> 1487 bytes .../resources/images/default/form/trigger.gif | Bin 0 -> 1816 bytes .../resources/images/default/form/trigger.psd | Bin 0 -> 10829 bytes .../resources/images/default/gradient-bg.gif | Bin 0 -> 1472 bytes .../images/default/grid/arrow-left-white.gif | Bin 0 -> 825 bytes .../images/default/grid/arrow-right-white.gif | Bin 0 -> 825 bytes .../images/default/grid/col-move-bottom.gif | Bin 0 -> 868 bytes .../images/default/grid/col-move-top.gif | Bin 0 -> 869 bytes .../resources/images/default/grid/columns.gif | Bin 0 -> 962 bytes .../resources/images/default/grid/dirty.gif | Bin 0 -> 832 bytes .../resources/images/default/grid/done.gif | Bin 0 -> 133 bytes .../resources/images/default/grid/drop-no.gif | Bin 0 -> 947 bytes .../images/default/grid/drop-yes.gif | Bin 0 -> 860 bytes .../images/default/grid/footer-bg.gif | Bin 0 -> 834 bytes .../images/default/grid/grid-blue-hd.gif | Bin 0 -> 829 bytes .../images/default/grid/grid-blue-split.gif | Bin 0 -> 817 bytes .../images/default/grid/grid-hrow.gif | Bin 0 -> 855 bytes .../images/default/grid/grid-loading.gif | Bin 0 -> 701 bytes .../images/default/grid/grid-split.gif | Bin 0 -> 817 bytes .../images/default/grid/grid-vista-hd.gif | Bin 0 -> 829 bytes .../images/default/grid/grid3-hd-btn.gif | Bin 0 -> 1229 bytes .../images/default/grid/grid3-hrow-over.gif | Bin 0 -> 823 bytes .../images/default/grid/grid3-hrow.gif | Bin 0 -> 836 bytes .../default/grid/grid3-special-col-bg.gif | Bin 0 -> 837 bytes .../default/grid/grid3-special-col-sel-bg.gif | Bin 0 -> 843 bytes .../images/default/grid/group-by.gif | Bin 0 -> 917 bytes .../default/grid/group-expand-sprite.gif | Bin 0 -> 955 bytes .../resources/images/default/grid/hd-pop.gif | Bin 0 -> 839 bytes .../images/default/grid/hmenu-asc.gif | Bin 0 -> 931 bytes .../images/default/grid/hmenu-desc.gif | Bin 0 -> 930 bytes .../images/default/grid/hmenu-lock.gif | Bin 0 -> 955 bytes .../images/default/grid/hmenu-lock.png | Bin 0 -> 648 bytes .../images/default/grid/hmenu-unlock.gif | Bin 0 -> 971 bytes .../images/default/grid/hmenu-unlock.png | Bin 0 -> 697 bytes .../images/default/grid/invalid_line.gif | Bin 0 -> 815 bytes .../resources/images/default/grid/loading.gif | Bin 0 -> 771 bytes .../resources/images/default/grid/mso-hd.gif | Bin 0 -> 875 bytes .../resources/images/default/grid/nowait.gif | Bin 0 -> 884 bytes .../default/grid/page-first-disabled.gif | Bin 0 -> 925 bytes .../images/default/grid/page-first.gif | Bin 0 -> 925 bytes .../default/grid/page-last-disabled.gif | Bin 0 -> 923 bytes .../images/default/grid/page-last.gif | Bin 0 -> 923 bytes .../default/grid/page-next-disabled.gif | Bin 0 -> 875 bytes .../images/default/grid/page-next.gif | Bin 0 -> 875 bytes .../default/grid/page-prev-disabled.gif | Bin 0 -> 879 bytes .../images/default/grid/page-prev.gif | Bin 0 -> 879 bytes .../images/default/grid/pick-button.gif | Bin 0 -> 1036 bytes .../resources/images/default/grid/refresh.gif | Bin 0 -> 977 bytes .../images/default/grid/row-check-sprite.gif | Bin 0 -> 1083 bytes .../images/default/grid/row-expand-sprite.gif | Bin 0 -> 955 bytes .../images/default/grid/row-over.gif | Bin 0 -> 823 bytes .../resources/images/default/grid/row-sel.gif | Bin 0 -> 823 bytes .../images/default/grid/sort_asc.gif | Bin 0 -> 830 bytes .../images/default/grid/sort_desc.gif | Bin 0 -> 833 bytes .../resources/images/default/grid/wait.gif | Bin 0 -> 1100 bytes .../images/default/layout/collapse.gif | Bin 0 -> 842 bytes .../images/default/layout/expand.gif | Bin 0 -> 842 bytes .../images/default/layout/gradient-bg.gif | Bin 0 -> 1472 bytes .../images/default/layout/mini-bottom.gif | Bin 0 -> 856 bytes .../images/default/layout/mini-left.gif | Bin 0 -> 871 bytes .../images/default/layout/mini-right.gif | Bin 0 -> 872 bytes .../images/default/layout/mini-top.gif | Bin 0 -> 856 bytes .../images/default/layout/ns-collapse.gif | Bin 0 -> 842 bytes .../images/default/layout/ns-expand.gif | Bin 0 -> 843 bytes .../images/default/layout/panel-close.gif | Bin 0 -> 829 bytes .../images/default/layout/panel-title-bg.gif | Bin 0 -> 838 bytes .../default/layout/panel-title-light-bg.gif | Bin 0 -> 835 bytes .../resources/images/default/layout/stick.gif | Bin 0 -> 874 bytes .../resources/images/default/layout/stuck.gif | Bin 0 -> 92 bytes .../images/default/layout/tab-close-on.gif | Bin 0 -> 880 bytes .../images/default/layout/tab-close.gif | Bin 0 -> 859 bytes .../resources/images/default/menu/checked.gif | Bin 0 -> 959 bytes .../images/default/menu/group-checked.gif | Bin 0 -> 891 bytes .../images/default/menu/item-over.gif | Bin 0 -> 820 bytes .../images/default/menu/menu-parent.gif | Bin 0 -> 854 bytes .../resources/images/default/menu/menu.gif | Bin 0 -> 834 bytes .../images/default/menu/unchecked.gif | Bin 0 -> 941 bytes .../images/default/panel/corners-sprite.gif | Bin 0 -> 1418 bytes .../images/default/panel/left-right.gif | Bin 0 -> 815 bytes .../images/default/panel/light-hd.gif | Bin 0 -> 827 bytes .../images/default/panel/tool-sprite-tpl.gif | Bin 0 -> 971 bytes .../images/default/panel/tool-sprites.gif | Bin 0 -> 4158 bytes .../default/panel/tools-sprites-trans.gif | Bin 0 -> 2640 bytes .../images/default/panel/top-bottom.gif | Bin 0 -> 875 bytes .../images/default/panel/top-bottom.png | Bin 0 -> 218 bytes .../default/panel/white-corners-sprite.gif | Bin 0 -> 1366 bytes .../images/default/panel/white-left-right.gif | Bin 0 -> 815 bytes .../images/default/panel/white-top-bottom.gif | Bin 0 -> 872 bytes .../images/default/progress/progress-bg.gif | Bin 0 -> 834 bytes .../resources/images/default/qtip/bg.gif | Bin 0 -> 1091 bytes .../resources/images/default/qtip/close.gif | Bin 0 -> 972 bytes .../images/default/qtip/tip-sprite.gif | Bin 0 -> 4271 bytes layouts/extjs/resources/images/default/s.gif | Bin 0 -> 43 bytes .../resources/images/default/shadow-c.png | Bin 0 -> 118 bytes .../resources/images/default/shadow-c.psd | Bin 0 -> 23266 bytes .../resources/images/default/shadow-lr.png | Bin 0 -> 135 bytes .../extjs/resources/images/default/shadow.png | Bin 0 -> 311 bytes .../images/default/shared/blue-loading.gif | Bin 0 -> 3236 bytes .../images/default/shared/calendar.gif | Bin 0 -> 979 bytes .../images/default/shared/glass-bg.gif | Bin 0 -> 873 bytes .../images/default/shared/hd-sprite.gif | Bin 0 -> 1099 bytes .../images/default/shared/large-loading.gif | Bin 0 -> 3236 bytes .../images/default/shared/left-btn.gif | Bin 0 -> 870 bytes .../images/default/shared/loading-balls.gif | Bin 0 -> 2118 bytes .../images/default/shared/right-btn.gif | Bin 0 -> 871 bytes .../images/default/shared/warning.gif | Bin 0 -> 960 bytes .../images/default/sizer/e-handle-dark.gif | Bin 0 -> 1062 bytes .../images/default/sizer/e-handle.gif | Bin 0 -> 1586 bytes .../images/default/sizer/ne-handle-dark.gif | Bin 0 -> 839 bytes .../images/default/sizer/ne-handle.gif | Bin 0 -> 854 bytes .../images/default/sizer/nw-handle-dark.gif | Bin 0 -> 839 bytes .../images/default/sizer/nw-handle.gif | Bin 0 -> 853 bytes .../images/default/sizer/s-handle-dark.gif | Bin 0 -> 1060 bytes .../images/default/sizer/s-handle.gif | Bin 0 -> 1318 bytes .../images/default/sizer/se-handle-dark.gif | Bin 0 -> 838 bytes .../images/default/sizer/se-handle.gif | Bin 0 -> 853 bytes .../resources/images/default/sizer/square.gif | Bin 0 -> 864 bytes .../images/default/sizer/sw-handle-dark.gif | Bin 0 -> 839 bytes .../images/default/sizer/sw-handle.gif | Bin 0 -> 855 bytes .../images/default/slider/slider-bg.png | Bin 0 -> 300 bytes .../images/default/slider/slider-thumb.png | Bin 0 -> 933 bytes .../images/default/slider/slider-v-bg.png | Bin 0 -> 288 bytes .../images/default/slider/slider-v-thumb.png | Bin 0 -> 883 bytes .../images/default/tabs/scroll-left.gif | Bin 0 -> 1295 bytes .../images/default/tabs/scroll-right.gif | Bin 0 -> 1300 bytes .../images/default/tabs/scroller-bg.gif | Bin 0 -> 1100 bytes .../default/tabs/tab-btm-inactive-left-bg.gif | Bin 0 -> 886 bytes .../tabs/tab-btm-inactive-right-bg.gif | Bin 0 -> 1386 bytes .../images/default/tabs/tab-btm-left-bg.gif | Bin 0 -> 863 bytes .../images/default/tabs/tab-btm-right-bg.gif | Bin 0 -> 1402 bytes .../images/default/tabs/tab-close.gif | Bin 0 -> 896 bytes .../images/default/tabs/tab-strip-bg.gif | Bin 0 -> 835 bytes .../images/default/tabs/tab-strip-bg.png | Bin 0 -> 259 bytes .../images/default/tabs/tab-strip-btm-bg.gif | Bin 0 -> 826 bytes .../images/default/tabs/tabs-sprite.gif | Bin 0 -> 2120 bytes .../resources/images/default/toolbar/bg.gif | Bin 0 -> 904 bytes .../default/toolbar/btn-arrow-light.gif | Bin 0 -> 916 bytes .../images/default/toolbar/btn-arrow.gif | Bin 0 -> 919 bytes .../images/default/toolbar/btn-over-bg.gif | Bin 0 -> 837 bytes .../images/default/toolbar/gray-bg.gif | Bin 0 -> 832 bytes .../images/default/toolbar/tb-bg.gif | Bin 0 -> 862 bytes .../images/default/toolbar/tb-btn-sprite.gif | Bin 0 -> 1127 bytes .../resources/images/default/tree/arrows.gif | Bin 0 -> 1024 bytes .../images/default/tree/drop-add.gif | Bin 0 -> 1001 bytes .../images/default/tree/drop-between.gif | Bin 0 -> 907 bytes .../resources/images/default/tree/drop-no.gif | Bin 0 -> 949 bytes .../images/default/tree/drop-over.gif | Bin 0 -> 911 bytes .../images/default/tree/drop-under.gif | Bin 0 -> 911 bytes .../images/default/tree/drop-yes.gif | Bin 0 -> 1016 bytes .../default/tree/elbow-end-minus-nl.gif | Bin 0 -> 898 bytes .../images/default/tree/elbow-end-minus.gif | Bin 0 -> 905 bytes .../images/default/tree/elbow-end-plus-nl.gif | Bin 0 -> 900 bytes .../images/default/tree/elbow-end-plus.gif | Bin 0 -> 907 bytes .../images/default/tree/elbow-end.gif | Bin 0 -> 844 bytes .../images/default/tree/elbow-line.gif | Bin 0 -> 846 bytes .../images/default/tree/elbow-minus-nl.gif | Bin 0 -> 898 bytes .../images/default/tree/elbow-minus.gif | Bin 0 -> 908 bytes .../images/default/tree/elbow-plus-nl.gif | Bin 0 -> 900 bytes .../images/default/tree/elbow-plus.gif | Bin 0 -> 910 bytes .../resources/images/default/tree/elbow.gif | Bin 0 -> 850 bytes .../images/default/tree/folder-open.gif | Bin 0 -> 956 bytes .../resources/images/default/tree/folder.gif | Bin 0 -> 952 bytes .../resources/images/default/tree/leaf.gif | Bin 0 -> 945 bytes .../resources/images/default/tree/loading.gif | Bin 0 -> 771 bytes .../extjs/resources/images/default/tree/s.gif | Bin 0 -> 43 bytes .../images/default/window/icon-error.gif | Bin 0 -> 1669 bytes .../images/default/window/icon-info.gif | Bin 0 -> 1586 bytes .../images/default/window/icon-question.gif | Bin 0 -> 1607 bytes .../images/default/window/icon-warning.gif | Bin 0 -> 1483 bytes .../images/default/window/left-corners.png | Bin 0 -> 272 bytes .../images/default/window/left-corners.psd | Bin 0 -> 15576 bytes .../images/default/window/left-right.png | Bin 0 -> 135 bytes .../images/default/window/left-right.psd | Bin 0 -> 25060 bytes .../images/default/window/right-corners.png | Bin 0 -> 340 bytes .../images/default/window/right-corners.psd | Bin 0 -> 15530 bytes .../images/default/window/top-bottom.png | Bin 0 -> 211 bytes .../images/default/window/top-bottom.psd | Bin 0 -> 32214 bytes .../images/gray/button/btn-arrow.gif | Bin 0 -> 870 bytes .../images/gray/button/btn-sprite.gif | Bin 0 -> 1222 bytes .../resources/images/gray/gradient-bg.gif | Bin 0 -> 1472 bytes .../images/gray/panel/corners-sprite.gif | Bin 0 -> 1402 bytes .../images/gray/panel/left-right.gif | Bin 0 -> 815 bytes .../resources/images/gray/panel/light-hd.gif | Bin 0 -> 827 bytes .../images/gray/panel/tool-sprite-tpl.gif | Bin 0 -> 971 bytes .../images/gray/panel/tool-sprites.gif | Bin 0 -> 4464 bytes .../images/gray/panel/tools-sprites-trans.gif | Bin 0 -> 2640 bytes .../images/gray/panel/top-bottom.gif | Bin 0 -> 871 bytes .../images/gray/panel/top-bottom.png | Bin 0 -> 218 bytes .../gray/panel/white-corners-sprite.gif | Bin 0 -> 1365 bytes .../images/gray/panel/white-left-right.gif | Bin 0 -> 815 bytes .../images/gray/panel/white-top-bottom.gif | Bin 0 -> 868 bytes .../extjs/resources/images/gray/qtip/bg.gif | Bin 0 -> 1024 bytes .../resources/images/gray/qtip/close.gif | Bin 0 -> 972 bytes .../resources/images/gray/qtip/tip-sprite.gif | Bin 0 -> 4033 bytes layouts/extjs/resources/images/gray/s.gif | Bin 0 -> 43 bytes .../images/gray/tabs/scroll-left.gif | Bin 0 -> 1260 bytes .../images/gray/tabs/scroll-right.gif | Bin 0 -> 1269 bytes .../images/gray/tabs/scroller-bg.gif | Bin 0 -> 1090 bytes .../gray/tabs/tab-btm-inactive-left-bg.gif | Bin 0 -> 881 bytes .../gray/tabs/tab-btm-inactive-right-bg.gif | Bin 0 -> 1383 bytes .../images/gray/tabs/tab-btm-left-bg.gif | Bin 0 -> 863 bytes .../images/gray/tabs/tab-btm-right-bg.gif | Bin 0 -> 1402 bytes .../resources/images/gray/tabs/tab-close.gif | Bin 0 -> 896 bytes .../images/gray/tabs/tab-strip-bg.gif | Bin 0 -> 835 bytes .../images/gray/tabs/tab-strip-bg.png | Bin 0 -> 259 bytes .../images/gray/tabs/tab-strip-btm-bg.gif | Bin 0 -> 826 bytes .../images/gray/tabs/tabs-sprite.gif | Bin 0 -> 2109 bytes .../resources/images/gray/toolbar/bg.gif | Bin 0 -> 854 bytes .../images/gray/toolbar/btn-arrow-light.gif | Bin 0 -> 916 bytes .../images/gray/toolbar/btn-arrow.gif | Bin 0 -> 919 bytes .../images/gray/toolbar/btn-over-bg.gif | Bin 0 -> 837 bytes .../resources/images/gray/toolbar/gray-bg.gif | Bin 0 -> 832 bytes .../resources/images/gray/toolbar/tb-bg.gif | Bin 0 -> 862 bytes .../images/gray/toolbar/tb-btn-sprite.gif | Bin 0 -> 1021 bytes .../images/gray/window/icon-error.gif | Bin 0 -> 1669 bytes .../images/gray/window/icon-info.gif | Bin 0 -> 1586 bytes .../images/gray/window/icon-question.gif | Bin 0 -> 1607 bytes .../images/gray/window/icon-warning.gif | Bin 0 -> 1483 bytes .../images/gray/window/left-corners.png | Bin 0 -> 325 bytes .../images/gray/window/left-corners.pspimage | Bin 0 -> 4385 bytes .../images/gray/window/left-right.png | Bin 0 -> 2815 bytes .../images/gray/window/right-corners.png | Bin 0 -> 344 bytes .../images/gray/window/top-bottom.png | Bin 0 -> 2860 bytes .../images/vista/basic-dialog/bg-center.gif | Bin 0 -> 865 bytes .../images/vista/basic-dialog/bg-left.gif | Bin 0 -> 1039 bytes .../images/vista/basic-dialog/bg-right.gif | Bin 0 -> 1039 bytes .../images/vista/basic-dialog/close.gif | Bin 0 -> 350 bytes .../images/vista/basic-dialog/collapse.gif | Bin 0 -> 333 bytes .../images/vista/basic-dialog/dlg-bg.gif | Bin 0 -> 27857 bytes .../images/vista/basic-dialog/e-handle.gif | Bin 0 -> 995 bytes .../images/vista/basic-dialog/expand.gif | Bin 0 -> 351 bytes .../images/vista/basic-dialog/hd-sprite.gif | Bin 0 -> 462 bytes .../images/vista/basic-dialog/s-handle.gif | Bin 0 -> 992 bytes .../images/vista/basic-dialog/se-handle.gif | Bin 0 -> 833 bytes .../images/vista/basic-dialog/w-handle.gif | Bin 0 -> 817 bytes .../resources/images/vista/gradient-bg.gif | Bin 0 -> 1472 bytes .../images/vista/grid/grid-split.gif | Bin 0 -> 817 bytes .../images/vista/grid/grid-vista-hd.gif | Bin 0 -> 829 bytes .../images/vista/layout/collapse.gif | Bin 0 -> 842 bytes .../resources/images/vista/layout/expand.gif | Bin 0 -> 842 bytes .../images/vista/layout/gradient-bg.gif | Bin 0 -> 1202 bytes .../images/vista/layout/ns-collapse.gif | Bin 0 -> 842 bytes .../images/vista/layout/ns-expand.gif | Bin 0 -> 843 bytes .../images/vista/layout/panel-close.gif | Bin 0 -> 829 bytes .../images/vista/layout/panel-title-bg.gif | Bin 0 -> 888 bytes .../vista/layout/panel-title-light-bg.gif | Bin 0 -> 846 bytes .../resources/images/vista/layout/stick.gif | Bin 0 -> 872 bytes .../images/vista/layout/tab-close-on.gif | Bin 0 -> 880 bytes .../images/vista/layout/tab-close.gif | Bin 0 -> 844 bytes .../extjs/resources/images/vista/qtip/bg.gif | Bin 0 -> 1024 bytes .../images/vista/qtip/tip-sprite.gif | Bin 0 -> 4183 bytes layouts/extjs/resources/images/vista/s.gif | Bin 0 -> 43 bytes .../images/vista/sizer/e-handle-dark.gif | Bin 0 -> 1062 bytes .../resources/images/vista/sizer/e-handle.gif | Bin 0 -> 1586 bytes .../images/vista/sizer/ne-handle-dark.gif | Bin 0 -> 839 bytes .../images/vista/sizer/ne-handle.gif | Bin 0 -> 854 bytes .../images/vista/sizer/nw-handle-dark.gif | Bin 0 -> 839 bytes .../images/vista/sizer/nw-handle.gif | Bin 0 -> 853 bytes .../images/vista/sizer/s-handle-dark.gif | Bin 0 -> 1060 bytes .../resources/images/vista/sizer/s-handle.gif | Bin 0 -> 1318 bytes .../images/vista/sizer/se-handle-dark.gif | Bin 0 -> 838 bytes .../images/vista/sizer/se-handle.gif | Bin 0 -> 853 bytes .../images/vista/sizer/sw-handle-dark.gif | Bin 0 -> 839 bytes .../images/vista/sizer/sw-handle.gif | Bin 0 -> 855 bytes .../vista/tabs/tab-btm-inactive-left-bg.gif | Bin 0 -> 879 bytes .../vista/tabs/tab-btm-inactive-right-bg.gif | Bin 0 -> 1609 bytes .../images/vista/tabs/tab-btm-left-bg.gif | Bin 0 -> 895 bytes .../images/vista/tabs/tab-btm-right-bg.gif | Bin 0 -> 1608 bytes .../images/vista/tabs/tab-sprite.gif | Bin 0 -> 3150 bytes .../images/vista/toolbar/gray-bg.gif | Bin 0 -> 839 bytes .../images/vista/toolbar/tb-btn-sprite.gif | Bin 0 -> 1110 bytes layouts/extjs/resources/resources.jsb | 699 + layouts/index.html | 15 + 343 files changed, 57389 insertions(+) create mode 100644 layouts/application.js create mode 100755 layouts/extjs/CHANGES.html create mode 100755 layouts/extjs/INCLUDE_ORDER.txt create mode 100755 layouts/extjs/adapter/ext/ext-base.js create mode 100755 layouts/extjs/adapter/jquery/ext-jquery-adapter.js create mode 100755 layouts/extjs/adapter/jquery/jquery.js create mode 100755 layouts/extjs/adapter/prototype/effects.js create mode 100755 layouts/extjs/adapter/prototype/ext-prototype-adapter.js create mode 100755 layouts/extjs/adapter/prototype/prototype.js create mode 100755 layouts/extjs/adapter/prototype/scriptaculous.js create mode 100755 layouts/extjs/adapter/yui/ext-yui-adapter.js create mode 100755 layouts/extjs/adapter/yui/yui-utilities.js create mode 100755 layouts/extjs/ext-all-debug.js create mode 100755 layouts/extjs/ext-all.js create mode 100755 layouts/extjs/ext-core-debug.js create mode 100755 layouts/extjs/ext-core.js create mode 100755 layouts/extjs/license.txt create mode 100755 layouts/extjs/resources/css/README.txt create mode 100755 layouts/extjs/resources/css/borders.css create mode 100755 layouts/extjs/resources/css/box.css create mode 100755 layouts/extjs/resources/css/button.css create mode 100755 layouts/extjs/resources/css/combo.css create mode 100755 layouts/extjs/resources/css/core.css create mode 100755 layouts/extjs/resources/css/date-picker.css create mode 100755 layouts/extjs/resources/css/dd.css create mode 100755 layouts/extjs/resources/css/debug.css create mode 100755 layouts/extjs/resources/css/dialog.css create mode 100755 layouts/extjs/resources/css/editor.css create mode 100755 layouts/extjs/resources/css/ext-all.css create mode 100755 layouts/extjs/resources/css/form.css create mode 100755 layouts/extjs/resources/css/grid.css create mode 100755 layouts/extjs/resources/css/layout.css create mode 100755 layouts/extjs/resources/css/menu.css create mode 100755 layouts/extjs/resources/css/panel.css create mode 100755 layouts/extjs/resources/css/progress.css create mode 100755 layouts/extjs/resources/css/qtips.css create mode 100755 layouts/extjs/resources/css/reset-min.css create mode 100755 layouts/extjs/resources/css/reset.css create mode 100755 layouts/extjs/resources/css/resizable.css create mode 100755 layouts/extjs/resources/css/slider.css create mode 100755 layouts/extjs/resources/css/tabs.css create mode 100755 layouts/extjs/resources/css/toolbar.css create mode 100755 layouts/extjs/resources/css/tree.css create mode 100755 layouts/extjs/resources/css/window.css create mode 100755 layouts/extjs/resources/css/xtheme-gray.css create mode 100755 layouts/extjs/resources/images/default/box/corners-blue.gif create mode 100755 layouts/extjs/resources/images/default/box/corners.gif create mode 100755 layouts/extjs/resources/images/default/box/l-blue.gif create mode 100755 layouts/extjs/resources/images/default/box/l.gif create mode 100755 layouts/extjs/resources/images/default/box/r-blue.gif create mode 100755 layouts/extjs/resources/images/default/box/r.gif create mode 100755 layouts/extjs/resources/images/default/box/tb-blue.gif create mode 100755 layouts/extjs/resources/images/default/box/tb.gif create mode 100755 layouts/extjs/resources/images/default/button/btn-arrow.gif create mode 100755 layouts/extjs/resources/images/default/button/btn-sprite.gif create mode 100755 layouts/extjs/resources/images/default/dd/drop-add.gif create mode 100755 layouts/extjs/resources/images/default/dd/drop-no.gif create mode 100755 layouts/extjs/resources/images/default/dd/drop-yes.gif create mode 100755 layouts/extjs/resources/images/default/editor/tb-sprite.gif create mode 100755 layouts/extjs/resources/images/default/form/checkbox.gif create mode 100755 layouts/extjs/resources/images/default/form/clear-trigger.gif create mode 100755 layouts/extjs/resources/images/default/form/clear-trigger.psd create mode 100755 layouts/extjs/resources/images/default/form/date-trigger.gif create mode 100755 layouts/extjs/resources/images/default/form/date-trigger.psd create mode 100755 layouts/extjs/resources/images/default/form/error-tip-corners.gif create mode 100755 layouts/extjs/resources/images/default/form/exclamation.gif create mode 100755 layouts/extjs/resources/images/default/form/radio.gif create mode 100755 layouts/extjs/resources/images/default/form/search-trigger.gif create mode 100755 layouts/extjs/resources/images/default/form/search-trigger.psd create mode 100755 layouts/extjs/resources/images/default/form/text-bg.gif create mode 100755 layouts/extjs/resources/images/default/form/trigger-tpl.gif create mode 100755 layouts/extjs/resources/images/default/form/trigger.gif create mode 100755 layouts/extjs/resources/images/default/form/trigger.psd create mode 100755 layouts/extjs/resources/images/default/gradient-bg.gif create mode 100755 layouts/extjs/resources/images/default/grid/arrow-left-white.gif create mode 100755 layouts/extjs/resources/images/default/grid/arrow-right-white.gif create mode 100755 layouts/extjs/resources/images/default/grid/col-move-bottom.gif create mode 100755 layouts/extjs/resources/images/default/grid/col-move-top.gif create mode 100755 layouts/extjs/resources/images/default/grid/columns.gif create mode 100755 layouts/extjs/resources/images/default/grid/dirty.gif create mode 100755 layouts/extjs/resources/images/default/grid/done.gif create mode 100755 layouts/extjs/resources/images/default/grid/drop-no.gif create mode 100755 layouts/extjs/resources/images/default/grid/drop-yes.gif create mode 100755 layouts/extjs/resources/images/default/grid/footer-bg.gif create mode 100755 layouts/extjs/resources/images/default/grid/grid-blue-hd.gif create mode 100755 layouts/extjs/resources/images/default/grid/grid-blue-split.gif create mode 100755 layouts/extjs/resources/images/default/grid/grid-hrow.gif create mode 100755 layouts/extjs/resources/images/default/grid/grid-loading.gif create mode 100755 layouts/extjs/resources/images/default/grid/grid-split.gif create mode 100755 layouts/extjs/resources/images/default/grid/grid-vista-hd.gif create mode 100755 layouts/extjs/resources/images/default/grid/grid3-hd-btn.gif create mode 100755 layouts/extjs/resources/images/default/grid/grid3-hrow-over.gif create mode 100755 layouts/extjs/resources/images/default/grid/grid3-hrow.gif create mode 100755 layouts/extjs/resources/images/default/grid/grid3-special-col-bg.gif create mode 100755 layouts/extjs/resources/images/default/grid/grid3-special-col-sel-bg.gif create mode 100755 layouts/extjs/resources/images/default/grid/group-by.gif create mode 100755 layouts/extjs/resources/images/default/grid/group-expand-sprite.gif create mode 100755 layouts/extjs/resources/images/default/grid/hd-pop.gif create mode 100755 layouts/extjs/resources/images/default/grid/hmenu-asc.gif create mode 100755 layouts/extjs/resources/images/default/grid/hmenu-desc.gif create mode 100755 layouts/extjs/resources/images/default/grid/hmenu-lock.gif create mode 100755 layouts/extjs/resources/images/default/grid/hmenu-lock.png create mode 100755 layouts/extjs/resources/images/default/grid/hmenu-unlock.gif create mode 100755 layouts/extjs/resources/images/default/grid/hmenu-unlock.png create mode 100755 layouts/extjs/resources/images/default/grid/invalid_line.gif create mode 100755 layouts/extjs/resources/images/default/grid/loading.gif create mode 100755 layouts/extjs/resources/images/default/grid/mso-hd.gif create mode 100755 layouts/extjs/resources/images/default/grid/nowait.gif create mode 100755 layouts/extjs/resources/images/default/grid/page-first-disabled.gif create mode 100755 layouts/extjs/resources/images/default/grid/page-first.gif create mode 100755 layouts/extjs/resources/images/default/grid/page-last-disabled.gif create mode 100755 layouts/extjs/resources/images/default/grid/page-last.gif create mode 100755 layouts/extjs/resources/images/default/grid/page-next-disabled.gif create mode 100755 layouts/extjs/resources/images/default/grid/page-next.gif create mode 100755 layouts/extjs/resources/images/default/grid/page-prev-disabled.gif create mode 100755 layouts/extjs/resources/images/default/grid/page-prev.gif create mode 100755 layouts/extjs/resources/images/default/grid/pick-button.gif create mode 100755 layouts/extjs/resources/images/default/grid/refresh.gif create mode 100755 layouts/extjs/resources/images/default/grid/row-check-sprite.gif create mode 100755 layouts/extjs/resources/images/default/grid/row-expand-sprite.gif create mode 100755 layouts/extjs/resources/images/default/grid/row-over.gif create mode 100755 layouts/extjs/resources/images/default/grid/row-sel.gif create mode 100755 layouts/extjs/resources/images/default/grid/sort_asc.gif create mode 100755 layouts/extjs/resources/images/default/grid/sort_desc.gif create mode 100755 layouts/extjs/resources/images/default/grid/wait.gif create mode 100755 layouts/extjs/resources/images/default/layout/collapse.gif create mode 100755 layouts/extjs/resources/images/default/layout/expand.gif create mode 100755 layouts/extjs/resources/images/default/layout/gradient-bg.gif create mode 100755 layouts/extjs/resources/images/default/layout/mini-bottom.gif create mode 100755 layouts/extjs/resources/images/default/layout/mini-left.gif create mode 100755 layouts/extjs/resources/images/default/layout/mini-right.gif create mode 100755 layouts/extjs/resources/images/default/layout/mini-top.gif create mode 100755 layouts/extjs/resources/images/default/layout/ns-collapse.gif create mode 100755 layouts/extjs/resources/images/default/layout/ns-expand.gif create mode 100755 layouts/extjs/resources/images/default/layout/panel-close.gif create mode 100755 layouts/extjs/resources/images/default/layout/panel-title-bg.gif create mode 100755 layouts/extjs/resources/images/default/layout/panel-title-light-bg.gif create mode 100755 layouts/extjs/resources/images/default/layout/stick.gif create mode 100755 layouts/extjs/resources/images/default/layout/stuck.gif create mode 100755 layouts/extjs/resources/images/default/layout/tab-close-on.gif create mode 100755 layouts/extjs/resources/images/default/layout/tab-close.gif create mode 100755 layouts/extjs/resources/images/default/menu/checked.gif create mode 100755 layouts/extjs/resources/images/default/menu/group-checked.gif create mode 100755 layouts/extjs/resources/images/default/menu/item-over.gif create mode 100755 layouts/extjs/resources/images/default/menu/menu-parent.gif create mode 100755 layouts/extjs/resources/images/default/menu/menu.gif create mode 100755 layouts/extjs/resources/images/default/menu/unchecked.gif create mode 100755 layouts/extjs/resources/images/default/panel/corners-sprite.gif create mode 100755 layouts/extjs/resources/images/default/panel/left-right.gif create mode 100755 layouts/extjs/resources/images/default/panel/light-hd.gif create mode 100755 layouts/extjs/resources/images/default/panel/tool-sprite-tpl.gif create mode 100755 layouts/extjs/resources/images/default/panel/tool-sprites.gif create mode 100755 layouts/extjs/resources/images/default/panel/tools-sprites-trans.gif create mode 100755 layouts/extjs/resources/images/default/panel/top-bottom.gif create mode 100755 layouts/extjs/resources/images/default/panel/top-bottom.png create mode 100755 layouts/extjs/resources/images/default/panel/white-corners-sprite.gif create mode 100755 layouts/extjs/resources/images/default/panel/white-left-right.gif create mode 100755 layouts/extjs/resources/images/default/panel/white-top-bottom.gif create mode 100755 layouts/extjs/resources/images/default/progress/progress-bg.gif create mode 100755 layouts/extjs/resources/images/default/qtip/bg.gif create mode 100755 layouts/extjs/resources/images/default/qtip/close.gif create mode 100755 layouts/extjs/resources/images/default/qtip/tip-sprite.gif create mode 100755 layouts/extjs/resources/images/default/s.gif create mode 100755 layouts/extjs/resources/images/default/shadow-c.png create mode 100755 layouts/extjs/resources/images/default/shadow-c.psd create mode 100755 layouts/extjs/resources/images/default/shadow-lr.png create mode 100755 layouts/extjs/resources/images/default/shadow.png create mode 100755 layouts/extjs/resources/images/default/shared/blue-loading.gif create mode 100755 layouts/extjs/resources/images/default/shared/calendar.gif create mode 100755 layouts/extjs/resources/images/default/shared/glass-bg.gif create mode 100755 layouts/extjs/resources/images/default/shared/hd-sprite.gif create mode 100755 layouts/extjs/resources/images/default/shared/large-loading.gif create mode 100755 layouts/extjs/resources/images/default/shared/left-btn.gif create mode 100755 layouts/extjs/resources/images/default/shared/loading-balls.gif create mode 100755 layouts/extjs/resources/images/default/shared/right-btn.gif create mode 100755 layouts/extjs/resources/images/default/shared/warning.gif create mode 100755 layouts/extjs/resources/images/default/sizer/e-handle-dark.gif create mode 100755 layouts/extjs/resources/images/default/sizer/e-handle.gif create mode 100755 layouts/extjs/resources/images/default/sizer/ne-handle-dark.gif create mode 100755 layouts/extjs/resources/images/default/sizer/ne-handle.gif create mode 100755 layouts/extjs/resources/images/default/sizer/nw-handle-dark.gif create mode 100755 layouts/extjs/resources/images/default/sizer/nw-handle.gif create mode 100755 layouts/extjs/resources/images/default/sizer/s-handle-dark.gif create mode 100755 layouts/extjs/resources/images/default/sizer/s-handle.gif create mode 100755 layouts/extjs/resources/images/default/sizer/se-handle-dark.gif create mode 100755 layouts/extjs/resources/images/default/sizer/se-handle.gif create mode 100755 layouts/extjs/resources/images/default/sizer/square.gif create mode 100755 layouts/extjs/resources/images/default/sizer/sw-handle-dark.gif create mode 100755 layouts/extjs/resources/images/default/sizer/sw-handle.gif create mode 100755 layouts/extjs/resources/images/default/slider/slider-bg.png create mode 100755 layouts/extjs/resources/images/default/slider/slider-thumb.png create mode 100755 layouts/extjs/resources/images/default/slider/slider-v-bg.png create mode 100755 layouts/extjs/resources/images/default/slider/slider-v-thumb.png create mode 100755 layouts/extjs/resources/images/default/tabs/scroll-left.gif create mode 100755 layouts/extjs/resources/images/default/tabs/scroll-right.gif create mode 100755 layouts/extjs/resources/images/default/tabs/scroller-bg.gif create mode 100755 layouts/extjs/resources/images/default/tabs/tab-btm-inactive-left-bg.gif create mode 100755 layouts/extjs/resources/images/default/tabs/tab-btm-inactive-right-bg.gif create mode 100755 layouts/extjs/resources/images/default/tabs/tab-btm-left-bg.gif create mode 100755 layouts/extjs/resources/images/default/tabs/tab-btm-right-bg.gif create mode 100755 layouts/extjs/resources/images/default/tabs/tab-close.gif create mode 100755 layouts/extjs/resources/images/default/tabs/tab-strip-bg.gif create mode 100755 layouts/extjs/resources/images/default/tabs/tab-strip-bg.png create mode 100755 layouts/extjs/resources/images/default/tabs/tab-strip-btm-bg.gif create mode 100755 layouts/extjs/resources/images/default/tabs/tabs-sprite.gif create mode 100755 layouts/extjs/resources/images/default/toolbar/bg.gif create mode 100755 layouts/extjs/resources/images/default/toolbar/btn-arrow-light.gif create mode 100755 layouts/extjs/resources/images/default/toolbar/btn-arrow.gif create mode 100755 layouts/extjs/resources/images/default/toolbar/btn-over-bg.gif create mode 100755 layouts/extjs/resources/images/default/toolbar/gray-bg.gif create mode 100755 layouts/extjs/resources/images/default/toolbar/tb-bg.gif create mode 100755 layouts/extjs/resources/images/default/toolbar/tb-btn-sprite.gif create mode 100755 layouts/extjs/resources/images/default/tree/arrows.gif create mode 100755 layouts/extjs/resources/images/default/tree/drop-add.gif create mode 100755 layouts/extjs/resources/images/default/tree/drop-between.gif create mode 100755 layouts/extjs/resources/images/default/tree/drop-no.gif create mode 100755 layouts/extjs/resources/images/default/tree/drop-over.gif create mode 100755 layouts/extjs/resources/images/default/tree/drop-under.gif create mode 100755 layouts/extjs/resources/images/default/tree/drop-yes.gif create mode 100755 layouts/extjs/resources/images/default/tree/elbow-end-minus-nl.gif create mode 100755 layouts/extjs/resources/images/default/tree/elbow-end-minus.gif create mode 100755 layouts/extjs/resources/images/default/tree/elbow-end-plus-nl.gif create mode 100755 layouts/extjs/resources/images/default/tree/elbow-end-plus.gif create mode 100755 layouts/extjs/resources/images/default/tree/elbow-end.gif create mode 100755 layouts/extjs/resources/images/default/tree/elbow-line.gif create mode 100755 layouts/extjs/resources/images/default/tree/elbow-minus-nl.gif create mode 100755 layouts/extjs/resources/images/default/tree/elbow-minus.gif create mode 100755 layouts/extjs/resources/images/default/tree/elbow-plus-nl.gif create mode 100755 layouts/extjs/resources/images/default/tree/elbow-plus.gif create mode 100755 layouts/extjs/resources/images/default/tree/elbow.gif create mode 100755 layouts/extjs/resources/images/default/tree/folder-open.gif create mode 100755 layouts/extjs/resources/images/default/tree/folder.gif create mode 100755 layouts/extjs/resources/images/default/tree/leaf.gif create mode 100755 layouts/extjs/resources/images/default/tree/loading.gif create mode 100755 layouts/extjs/resources/images/default/tree/s.gif create mode 100755 layouts/extjs/resources/images/default/window/icon-error.gif create mode 100755 layouts/extjs/resources/images/default/window/icon-info.gif create mode 100755 layouts/extjs/resources/images/default/window/icon-question.gif create mode 100755 layouts/extjs/resources/images/default/window/icon-warning.gif create mode 100755 layouts/extjs/resources/images/default/window/left-corners.png create mode 100755 layouts/extjs/resources/images/default/window/left-corners.psd create mode 100755 layouts/extjs/resources/images/default/window/left-right.png create mode 100755 layouts/extjs/resources/images/default/window/left-right.psd create mode 100755 layouts/extjs/resources/images/default/window/right-corners.png create mode 100755 layouts/extjs/resources/images/default/window/right-corners.psd create mode 100755 layouts/extjs/resources/images/default/window/top-bottom.png create mode 100755 layouts/extjs/resources/images/default/window/top-bottom.psd create mode 100755 layouts/extjs/resources/images/gray/button/btn-arrow.gif create mode 100755 layouts/extjs/resources/images/gray/button/btn-sprite.gif create mode 100755 layouts/extjs/resources/images/gray/gradient-bg.gif create mode 100755 layouts/extjs/resources/images/gray/panel/corners-sprite.gif create mode 100755 layouts/extjs/resources/images/gray/panel/left-right.gif create mode 100755 layouts/extjs/resources/images/gray/panel/light-hd.gif create mode 100755 layouts/extjs/resources/images/gray/panel/tool-sprite-tpl.gif create mode 100755 layouts/extjs/resources/images/gray/panel/tool-sprites.gif create mode 100755 layouts/extjs/resources/images/gray/panel/tools-sprites-trans.gif create mode 100755 layouts/extjs/resources/images/gray/panel/top-bottom.gif create mode 100755 layouts/extjs/resources/images/gray/panel/top-bottom.png create mode 100755 layouts/extjs/resources/images/gray/panel/white-corners-sprite.gif create mode 100755 layouts/extjs/resources/images/gray/panel/white-left-right.gif create mode 100755 layouts/extjs/resources/images/gray/panel/white-top-bottom.gif create mode 100755 layouts/extjs/resources/images/gray/qtip/bg.gif create mode 100755 layouts/extjs/resources/images/gray/qtip/close.gif create mode 100755 layouts/extjs/resources/images/gray/qtip/tip-sprite.gif create mode 100755 layouts/extjs/resources/images/gray/s.gif create mode 100755 layouts/extjs/resources/images/gray/tabs/scroll-left.gif create mode 100755 layouts/extjs/resources/images/gray/tabs/scroll-right.gif create mode 100755 layouts/extjs/resources/images/gray/tabs/scroller-bg.gif create mode 100755 layouts/extjs/resources/images/gray/tabs/tab-btm-inactive-left-bg.gif create mode 100755 layouts/extjs/resources/images/gray/tabs/tab-btm-inactive-right-bg.gif create mode 100755 layouts/extjs/resources/images/gray/tabs/tab-btm-left-bg.gif create mode 100755 layouts/extjs/resources/images/gray/tabs/tab-btm-right-bg.gif create mode 100755 layouts/extjs/resources/images/gray/tabs/tab-close.gif create mode 100755 layouts/extjs/resources/images/gray/tabs/tab-strip-bg.gif create mode 100755 layouts/extjs/resources/images/gray/tabs/tab-strip-bg.png create mode 100755 layouts/extjs/resources/images/gray/tabs/tab-strip-btm-bg.gif create mode 100755 layouts/extjs/resources/images/gray/tabs/tabs-sprite.gif create mode 100755 layouts/extjs/resources/images/gray/toolbar/bg.gif create mode 100755 layouts/extjs/resources/images/gray/toolbar/btn-arrow-light.gif create mode 100755 layouts/extjs/resources/images/gray/toolbar/btn-arrow.gif create mode 100755 layouts/extjs/resources/images/gray/toolbar/btn-over-bg.gif create mode 100755 layouts/extjs/resources/images/gray/toolbar/gray-bg.gif create mode 100755 layouts/extjs/resources/images/gray/toolbar/tb-bg.gif create mode 100755 layouts/extjs/resources/images/gray/toolbar/tb-btn-sprite.gif create mode 100755 layouts/extjs/resources/images/gray/window/icon-error.gif create mode 100755 layouts/extjs/resources/images/gray/window/icon-info.gif create mode 100755 layouts/extjs/resources/images/gray/window/icon-question.gif create mode 100755 layouts/extjs/resources/images/gray/window/icon-warning.gif create mode 100755 layouts/extjs/resources/images/gray/window/left-corners.png create mode 100755 layouts/extjs/resources/images/gray/window/left-corners.pspimage create mode 100755 layouts/extjs/resources/images/gray/window/left-right.png create mode 100755 layouts/extjs/resources/images/gray/window/right-corners.png create mode 100755 layouts/extjs/resources/images/gray/window/top-bottom.png create mode 100755 layouts/extjs/resources/images/vista/basic-dialog/bg-center.gif create mode 100755 layouts/extjs/resources/images/vista/basic-dialog/bg-left.gif create mode 100755 layouts/extjs/resources/images/vista/basic-dialog/bg-right.gif create mode 100755 layouts/extjs/resources/images/vista/basic-dialog/close.gif create mode 100755 layouts/extjs/resources/images/vista/basic-dialog/collapse.gif create mode 100755 layouts/extjs/resources/images/vista/basic-dialog/dlg-bg.gif create mode 100755 layouts/extjs/resources/images/vista/basic-dialog/e-handle.gif create mode 100755 layouts/extjs/resources/images/vista/basic-dialog/expand.gif create mode 100755 layouts/extjs/resources/images/vista/basic-dialog/hd-sprite.gif create mode 100755 layouts/extjs/resources/images/vista/basic-dialog/s-handle.gif create mode 100755 layouts/extjs/resources/images/vista/basic-dialog/se-handle.gif create mode 100755 layouts/extjs/resources/images/vista/basic-dialog/w-handle.gif create mode 100755 layouts/extjs/resources/images/vista/gradient-bg.gif create mode 100755 layouts/extjs/resources/images/vista/grid/grid-split.gif create mode 100755 layouts/extjs/resources/images/vista/grid/grid-vista-hd.gif create mode 100755 layouts/extjs/resources/images/vista/layout/collapse.gif create mode 100755 layouts/extjs/resources/images/vista/layout/expand.gif create mode 100755 layouts/extjs/resources/images/vista/layout/gradient-bg.gif create mode 100755 layouts/extjs/resources/images/vista/layout/ns-collapse.gif create mode 100755 layouts/extjs/resources/images/vista/layout/ns-expand.gif create mode 100755 layouts/extjs/resources/images/vista/layout/panel-close.gif create mode 100755 layouts/extjs/resources/images/vista/layout/panel-title-bg.gif create mode 100755 layouts/extjs/resources/images/vista/layout/panel-title-light-bg.gif create mode 100755 layouts/extjs/resources/images/vista/layout/stick.gif create mode 100755 layouts/extjs/resources/images/vista/layout/tab-close-on.gif create mode 100755 layouts/extjs/resources/images/vista/layout/tab-close.gif create mode 100755 layouts/extjs/resources/images/vista/qtip/bg.gif create mode 100755 layouts/extjs/resources/images/vista/qtip/tip-sprite.gif create mode 100755 layouts/extjs/resources/images/vista/s.gif create mode 100755 layouts/extjs/resources/images/vista/sizer/e-handle-dark.gif create mode 100755 layouts/extjs/resources/images/vista/sizer/e-handle.gif create mode 100755 layouts/extjs/resources/images/vista/sizer/ne-handle-dark.gif create mode 100755 layouts/extjs/resources/images/vista/sizer/ne-handle.gif create mode 100755 layouts/extjs/resources/images/vista/sizer/nw-handle-dark.gif create mode 100755 layouts/extjs/resources/images/vista/sizer/nw-handle.gif create mode 100755 layouts/extjs/resources/images/vista/sizer/s-handle-dark.gif create mode 100755 layouts/extjs/resources/images/vista/sizer/s-handle.gif create mode 100755 layouts/extjs/resources/images/vista/sizer/se-handle-dark.gif create mode 100755 layouts/extjs/resources/images/vista/sizer/se-handle.gif create mode 100755 layouts/extjs/resources/images/vista/sizer/sw-handle-dark.gif create mode 100755 layouts/extjs/resources/images/vista/sizer/sw-handle.gif create mode 100755 layouts/extjs/resources/images/vista/tabs/tab-btm-inactive-left-bg.gif create mode 100755 layouts/extjs/resources/images/vista/tabs/tab-btm-inactive-right-bg.gif create mode 100755 layouts/extjs/resources/images/vista/tabs/tab-btm-left-bg.gif create mode 100755 layouts/extjs/resources/images/vista/tabs/tab-btm-right-bg.gif create mode 100755 layouts/extjs/resources/images/vista/tabs/tab-sprite.gif create mode 100755 layouts/extjs/resources/images/vista/toolbar/gray-bg.gif create mode 100755 layouts/extjs/resources/images/vista/toolbar/tb-btn-sprite.gif create mode 100755 layouts/extjs/resources/resources.jsb create mode 100644 layouts/index.html diff --git a/layouts/application.js b/layouts/application.js new file mode 100644 index 0000000..399ee2f --- /dev/null +++ b/layouts/application.js @@ -0,0 +1,57 @@ +Ext.ns('MyApp'); + +Ext.onReady(function() { + MyApp.viewport = new Ext.Viewport({ + layout: 'border', + items: [ + { + region: 'center', + + layout: 'fit', + items: [ + { + title: 'Panel 1', + html: 'Panel 1', + style: 'border: 1px solid red;' + } + ] + }, + { + region: 'north', + html: '

North

' + }, + { + region: 'south', + html: '

South

', + height: 50 + }, + { + region: 'east', + html: '

East

', + split: true + }, + { + region: 'west', + html: '

West

', + width: 120, + split: true, + + layout: 'accordion', + items: [ + { + title: 'Panel 1', + html: 'Panel 1' + }, + { + title: 'Panel 2', + html: 'Panel 2' + }, + { + title: 'Panel 3', + html: 'Panel 3' + } + ] + } + ] + }); +}); \ No newline at end of file diff --git a/layouts/extjs/CHANGES.html b/layouts/extjs/CHANGES.html new file mode 100755 index 0000000..c5b5c87 --- /dev/null +++ b/layouts/extjs/CHANGES.html @@ -0,0 +1,363 @@ + + + Ext Release Notes for 2.2.0 + + + + + +

Release Notes for Ext 2.2.0

+ +

+ Release Date: August 4, 2008
+ Current Version: 2.2.0 (rev 2547)
+ Previous Version: 2.1.0 (rev 2042) +

+ +

Overview

+ + +

Change Log

+ + + \ No newline at end of file diff --git a/layouts/extjs/INCLUDE_ORDER.txt b/layouts/extjs/INCLUDE_ORDER.txt new file mode 100755 index 0000000..1ca61f6 --- /dev/null +++ b/layouts/extjs/INCLUDE_ORDER.txt @@ -0,0 +1,35 @@ +All adapter related files below are located in +/adapters// of this zip file. + +Your include order should be: + +Ext Stand-alone +------------------------------------------------------------------- +ext-base.js +ext-all.js (or your choice of files) + + +Yahoo! UI (.12+) +------------------------------------------------------------------- +yui-utilities.js +ext-yui-adapter.js +ext-all.js (or your choice of files) + + +jQuery (1.1+) +------------------------------------------------------------------- +jquery.js +ext-jquery-adapter.js +ext-all.js (or your choice of files) + + +Prototype (1.5+) / Scriptaculous (1.7+) +------------------------------------------------------------------- +prototype.js +scriptaculous.js?load=effects (or whatever you want to load) +ext-prototype-adapter.js +ext-all.js (or your choice of files) + + + +See the examples folders for more examples. \ No newline at end of file diff --git a/layouts/extjs/adapter/ext/ext-base.js b/layouts/extjs/adapter/ext/ext-base.js new file mode 100755 index 0000000..b68f63d --- /dev/null +++ b/layouts/extjs/adapter/ext/ext-base.js @@ -0,0 +1,10 @@ +/* + * Ext JS Library 2.2 + * Copyright(c) 2006-2008, Ext JS, LLC. + * licensing@extjs.com + * + * http://extjs.com/license + */ + +Ext={version:"2.2"};window["undefined"]=window["undefined"];Ext.apply=function(C,D,B){if(B){Ext.apply(C,B)}if(C&&D&&typeof D=="object"){for(var A in D){C[A]=D[A]}}return C};(function(){var idSeed=0;var ua=navigator.userAgent.toLowerCase();var isStrict=document.compatMode=="CSS1Compat",isOpera=ua.indexOf("opera")>-1,isSafari=(/webkit|khtml/).test(ua),isSafari3=isSafari&&ua.indexOf("webkit/5")!=-1,isIE=!isOpera&&ua.indexOf("msie")>-1,isIE7=!isOpera&&ua.indexOf("msie 7")>-1,isGecko=!isSafari&&ua.indexOf("gecko")>-1,isGecko3=!isSafari&&ua.indexOf("rv:1.9")>-1,isBorderBox=isIE&&!isStrict,isWindows=(ua.indexOf("windows")!=-1||ua.indexOf("win32")!=-1),isMac=(ua.indexOf("macintosh")!=-1||ua.indexOf("mac os x")!=-1),isAir=(ua.indexOf("adobeair")!=-1),isLinux=(ua.indexOf("linux")!=-1),isSecure=window.location.href.toLowerCase().indexOf("https")===0;if(isIE&&!isIE7){try{document.execCommand("BackgroundImageCache",false,true)}catch(e){}}Ext.apply(Ext,{isStrict:isStrict,isSecure:isSecure,isReady:false,enableGarbageCollector:true,enableListenerCollection:false,SSL_SECURE_URL:"javascript:false",BLANK_IMAGE_URL:"http:/"+"/extjs.com/s.gif",emptyFn:function(){},applyIf:function(o,c){if(o&&c){for(var p in c){if(typeof o[p]=="undefined"){o[p]=c[p]}}}return o},addBehaviors:function(o){if(!Ext.isReady){Ext.onReady(function(){Ext.addBehaviors(o)});return }var cache={};for(var b in o){var parts=b.split("@");if(parts[1]){var s=parts[0];if(!cache[s]){cache[s]=Ext.select(s)}cache[s].on(parts[1],o[b])}}cache=null},id:function(el,prefix){prefix=prefix||"ext-gen";el=Ext.getDom(el);var id=prefix+(++idSeed);return el?(el.id?el.id:(el.id=id)):id},extend:function(){var io=function(o){for(var m in o){this[m]=o[m]}};var oc=Object.prototype.constructor;return function(sb,sp,overrides){if(typeof sp=="object"){overrides=sp;sp=sb;sb=overrides.constructor!=oc?overrides.constructor:function(){sp.apply(this,arguments)}}var F=function(){},sbp,spp=sp.prototype;F.prototype=spp;sbp=sb.prototype=new F();sbp.constructor=sb;sb.superclass=spp;if(spp.constructor==oc){spp.constructor=sp}sb.override=function(o){Ext.override(sb,o)};sbp.override=io;Ext.override(sb,overrides);sb.extend=function(o){Ext.extend(sb,o)};return sb}}(),override:function(origclass,overrides){if(overrides){var p=origclass.prototype;for(var method in overrides){p[method]=overrides[method]}}},namespace:function(){var a=arguments,o=null,i,j,d,rt;for(i=0;i=0){L=G[P]}if(!S||!L){return false}this.doRemove(S,O,L[this.WFN],false);delete G[P][this.WFN];delete G[P][this.FN];G.splice(P,1);return true},getTarget:function(N,M){N=N.browserEvent||N;var L=N.target||N.srcElement;return this.resolveTextNode(L)},resolveTextNode:function(L){if(Ext.isSafari&&L&&3==L.nodeType){return L.parentNode}else{return L}},getPageX:function(M){M=M.browserEvent||M;var L=M.pageX;if(!L&&0!==L){L=M.clientX||0;if(Ext.isIE){L+=this.getScroll()[1]}}return L},getPageY:function(L){L=L.browserEvent||L;var M=L.pageY;if(!M&&0!==M){M=L.clientY||0;if(Ext.isIE){M+=this.getScroll()[0]}}return M},getXY:function(L){L=L.browserEvent||L;return[this.getPageX(L),this.getPageY(L)]},getRelatedTarget:function(M){M=M.browserEvent||M;var L=M.relatedTarget;if(!L){if(M.type=="mouseout"){L=M.toElement}else{if(M.type=="mouseover"){L=M.fromElement}}}return this.resolveTextNode(L)},getTime:function(N){N=N.browserEvent||N;if(!N.time){var M=new Date().getTime();try{N.time=M}catch(L){this.lastError=L;return M}}return N.time},stopEvent:function(L){this.stopPropagation(L);this.preventDefault(L)},stopPropagation:function(L){L=L.browserEvent||L;if(L.stopPropagation){L.stopPropagation()}else{L.cancelBubble=true}},preventDefault:function(L){L=L.browserEvent||L;if(L.preventDefault){L.preventDefault()}else{L.returnValue=false}},getEvent:function(M){var L=M||window.event;if(!L){var N=this.getEvent.caller;while(N){L=N.arguments[0];if(L&&Event==L.constructor){break}N=N.caller}}return L},getCharCode:function(L){L=L.browserEvent||L;return L.charCode||L.keyCode||0},_getCacheIndex:function(Q,N,P){for(var O=0,M=G.length;O0)}var Q=[];for(var M=0,L=H.length;M0){for(var Q=0,S=T.length;Q0){O=G.length;while(O){N=O-1;M=G[N];if(M){R.removeListener(M[R.EL],M[R.TYPE],M[R.FN],N)}O=O-1}M=null;R.clearCache()}R.doRemove(window,"unload",R._unload)},getScroll:function(){var L=document.documentElement,M=document.body;if(L&&(L.scrollTop||L.scrollLeft)){return[L.scrollTop,L.scrollLeft]}else{if(M){return[M.scrollTop,M.scrollLeft]}else{return[0,0]}}},doAdd:function(){if(window.addEventListener){return function(O,M,N,L){O.addEventListener(M,N,(L))}}else{if(window.attachEvent){return function(O,M,N,L){O.attachEvent("on"+M,N)}}else{return function(){}}}}(),doRemove:function(){if(window.removeEventListener){return function(O,M,N,L){O.removeEventListener(M,N,(L))}}else{if(window.detachEvent){return function(N,L,M){N.detachEvent("on"+L,M)}}else{return function(){}}}}()}}();var D=Ext.lib.Event;D.on=D.addListener;D.un=D.removeListener;if(document&&document.body){D._load()}else{D.doAdd(window,"load",D._load)}D.doAdd(window,"unload",D._unload);D._tryPreloadAttach();Ext.lib.Ajax={request:function(K,I,E,J,F){if(F){var G=F.headers;if(G){for(var H in G){if(G.hasOwnProperty(H)){this.initHeader(H,G[H],false)}}}if(F.xmlData){if(!G||!G["Content-Type"]){this.initHeader("Content-Type","text/xml",false)}K=(K?K:(F.method?F.method:"POST"));J=F.xmlData}else{if(F.jsonData){if(!G||!G["Content-Type"]){this.initHeader("Content-Type","application/json",false)}K=(K?K:(F.method?F.method:"POST"));J=typeof F.jsonData=="object"?Ext.encode(F.jsonData):F.jsonData}}}return this.asyncRequest(K,I,E,J)},serializeForm:function(F){if(typeof F=="string"){F=(document.getElementById(F)||document.forms[F])}var G,E,H,J,K="",M=false;for(var L=0;L=200&&G<300){F=this.createResponseObject(I,J.argument);if(J.success){if(!J.scope){J.success(F)}else{J.success.apply(J.scope,[F])}}}else{switch(G){case 12002:case 12029:case 12030:case 12031:case 12152:case 13030:F=this.createExceptionObject(I.tId,J.argument,(E?E:false));if(J.failure){if(!J.scope){J.failure(F)}else{J.failure.apply(J.scope,[F])}}break;default:F=this.createResponseObject(I,J.argument);if(J.failure){if(!J.scope){J.failure(F)}else{J.failure.apply(J.scope,[F])}}}}this.releaseObject(I);F=null},createResponseObject:function(E,K){var H={};var M={};try{var G=E.conn.getAllResponseHeaders();var J=G.split("\n");for(var I=0;I=this.left&&E.right<=this.right&&E.top>=this.top&&E.bottom<=this.bottom)},getArea:function(){return((this.bottom-this.top)*(this.right-this.left))},intersect:function(I){var G=Math.max(this.top,I.top);var H=Math.min(this.right,I.right);var E=Math.min(this.bottom,I.bottom);var F=Math.max(this.left,I.left);if(E>=G&&H>=F){return new Ext.lib.Region(G,H,E,F)}else{return null}},union:function(I){var G=Math.min(this.top,I.top);var H=Math.max(this.right,I.right);var E=Math.max(this.bottom,I.bottom);var F=Math.min(this.left,I.left);return new Ext.lib.Region(G,H,E,F)},constrainTo:function(E){this.top=this.top.constrain(E.top,E.bottom);this.bottom=this.bottom.constrain(E.top,E.bottom);this.left=this.left.constrain(E.left,E.right);this.right=this.right.constrain(E.left,E.right);return this},adjust:function(G,F,E,H){this.top+=G;this.left+=F;this.right+=H;this.bottom+=E;return this}};Ext.lib.Region.getRegion=function(H){var J=Ext.lib.Dom.getXY(H);var G=J[1];var I=J[0]+H.offsetWidth;var E=J[1]+H.offsetHeight;var F=J[0];return new Ext.lib.Region(G,I,E,F)};Ext.lib.Point=function(E,F){if(Ext.isArray(E)){F=E[1];E=E[0]}this.x=this.right=this.left=this[0]=E;this.y=this.top=this.bottom=this[1]=F};Ext.lib.Point.prototype=new Ext.lib.Region();Ext.lib.Anim={scroll:function(H,F,I,J,E,G){return this.run(H,F,I,J,E,G,Ext.lib.Scroll)},motion:function(H,F,I,J,E,G){return this.run(H,F,I,J,E,G,Ext.lib.Motion)},color:function(H,F,I,J,E,G){return this.run(H,F,I,J,E,G,Ext.lib.ColorAnim)},run:function(I,F,K,L,E,H,G){G=G||Ext.lib.AnimBase;if(typeof L=="string"){L=Ext.lib.Easing[L]}var J=new G(I,F,K,L);J.animateX(function(){Ext.callback(E,H)});return J}};function C(E){if(!B){B=new Ext.Element.Flyweight()}B.dom=E;return B}if(Ext.isIE){function A(){var E=Function.prototype;delete E.createSequence;delete E.defer;delete E.createDelegate;delete E.createCallback;delete E.createInterceptor;window.detachEvent("onunload",A)}window.attachEvent("onunload",A)}Ext.lib.AnimBase=function(F,E,G,H){if(F){this.init(F,E,G,H)}};Ext.lib.AnimBase.prototype={toString:function(){var E=this.getEl();var F=E.id||E.tagName;return("Anim "+F)},patterns:{noNegatives:/width|height|opacity|padding/i,offsetAttribute:/^((width|height)|(top|left))$/,defaultUnit:/width|height|top$|bottom$|left$|right$/i,offsetUnit:/\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i},doMethod:function(E,G,F){return this.method(this.currentFrame,G,F-G,this.totalFrames)},setAttribute:function(E,G,F){if(this.patterns.noNegatives.test(E)){G=(G>0)?G:0}Ext.fly(this.getEl(),"_anim").setStyle(E,G+F)},getAttribute:function(E){var G=this.getEl();var I=C(G).getStyle(E);if(I!=="auto"&&!this.patterns.offsetUnit.test(I)){return parseFloat(I)}var F=this.patterns.offsetAttribute.exec(E)||[];var J=!!(F[3]);var H=!!(F[2]);if(H||(C(G).getStyle("position")=="absolute"&&J)){I=G["offset"+F[0].charAt(0).toUpperCase()+F[0].substr(1)]}else{I=0}return I},getDefaultUnit:function(E){if(this.patterns.defaultUnit.test(E)){return"px"}return""},animateX:function(G,E){var F=function(){this.onComplete.removeListener(F);if(typeof G=="function"){G.call(E||this,this)}};this.onComplete.addListener(F,this);this.animate()},setRuntimeAttribute:function(F){var K;var G;var H=this.attributes;this.runtimeAttributes[F]={};var J=function(L){return(typeof L!=="undefined")};if(!J(H[F]["to"])&&!J(H[F]["by"])){return false}K=(J(H[F]["from"]))?H[F]["from"]:this.getAttribute(F);if(J(H[F]["to"])){G=H[F]["to"]}else{if(J(H[F]["by"])){if(K.constructor==Array){G=[];for(var I=0,E=K.length;I0&&isFinite(O)){if(K.currentFrame+O>=N){O=N-(M+1)}K.currentFrame+=O}}};Ext.lib.Bezier=new function(){this.getPosition=function(I,H){var J=I.length;var G=[];for(var F=0;F0&&!Ext.isArray(O[0])){O=[O]}else{var N=[];for(P=0,R=O.length;P0){this.runtimeAttributes[S]=this.runtimeAttributes[S].concat(O)}this.runtimeAttributes[S][this.runtimeAttributes[S].length]=L}else{I.setRuntimeAttribute.call(this,S)}};var E=function(J,L){var K=Ext.lib.Dom.getXY(this.getEl());J=[J[0]-K[0]+L[0],J[1]-K[1]+L[1]];return J};var G=function(J){return(typeof J!=="undefined")}})();(function(){Ext.lib.Scroll=function(I,H,J,K){if(I){Ext.lib.Scroll.superclass.constructor.call(this,I,H,J,K)}};Ext.extend(Ext.lib.Scroll,Ext.lib.ColorAnim);var F=Ext.lib;var G=F.Scroll.superclass;var E=F.Scroll.prototype;E.toString=function(){var H=this.getEl();var I=H.id||H.tagName;return("Scroll "+I)};E.doMethod=function(H,K,I){var J=null;if(H=="scroll"){J=[this.method(this.currentFrame,K[0],I[0]-K[0],this.totalFrames),this.method(this.currentFrame,K[1],I[1]-K[1],this.totalFrames)]}else{J=G.doMethod.call(this,H,K,I)}return J};E.getAttribute=function(H){var J=null;var I=this.getEl();if(H=="scroll"){J=[I.scrollLeft,I.scrollTop]}else{J=G.getAttribute.call(this,H)}return J};E.setAttribute=function(H,K,J){var I=this.getEl();if(H=="scroll"){I.scrollLeft=K[0];I.scrollTop=K[1]}else{G.setAttribute.call(this,H,K,J)}}})()})(); diff --git a/layouts/extjs/adapter/jquery/ext-jquery-adapter.js b/layouts/extjs/adapter/jquery/ext-jquery-adapter.js new file mode 100755 index 0000000..40e3333 --- /dev/null +++ b/layouts/extjs/adapter/jquery/ext-jquery-adapter.js @@ -0,0 +1,10 @@ +/* + * Ext JS Library 2.2 + * Copyright(c) 2006-2008, Ext JS, LLC. + * licensing@extjs.com + * + * http://extjs.com/license + */ + +Ext={version:"2.2"};window["undefined"]=window["undefined"];Ext.apply=function(C,D,B){if(B){Ext.apply(C,B)}if(C&&D&&typeof D=="object"){for(var A in D){C[A]=D[A]}}return C};(function(){var idSeed=0;var ua=navigator.userAgent.toLowerCase();var isStrict=document.compatMode=="CSS1Compat",isOpera=ua.indexOf("opera")>-1,isSafari=(/webkit|khtml/).test(ua),isSafari3=isSafari&&ua.indexOf("webkit/5")!=-1,isIE=!isOpera&&ua.indexOf("msie")>-1,isIE7=!isOpera&&ua.indexOf("msie 7")>-1,isGecko=!isSafari&&ua.indexOf("gecko")>-1,isGecko3=!isSafari&&ua.indexOf("rv:1.9")>-1,isBorderBox=isIE&&!isStrict,isWindows=(ua.indexOf("windows")!=-1||ua.indexOf("win32")!=-1),isMac=(ua.indexOf("macintosh")!=-1||ua.indexOf("mac os x")!=-1),isAir=(ua.indexOf("adobeair")!=-1),isLinux=(ua.indexOf("linux")!=-1),isSecure=window.location.href.toLowerCase().indexOf("https")===0;if(isIE&&!isIE7){try{document.execCommand("BackgroundImageCache",false,true)}catch(e){}}Ext.apply(Ext,{isStrict:isStrict,isSecure:isSecure,isReady:false,enableGarbageCollector:true,enableListenerCollection:false,SSL_SECURE_URL:"javascript:false",BLANK_IMAGE_URL:"http:/"+"/extjs.com/s.gif",emptyFn:function(){},applyIf:function(o,c){if(o&&c){for(var p in c){if(typeof o[p]=="undefined"){o[p]=c[p]}}}return o},addBehaviors:function(o){if(!Ext.isReady){Ext.onReady(function(){Ext.addBehaviors(o)});return }var cache={};for(var b in o){var parts=b.split("@");if(parts[1]){var s=parts[0];if(!cache[s]){cache[s]=Ext.select(s)}cache[s].on(parts[1],o[b])}}cache=null},id:function(el,prefix){prefix=prefix||"ext-gen";el=Ext.getDom(el);var id=prefix+(++idSeed);return el?(el.id?el.id:(el.id=id)):id},extend:function(){var io=function(o){for(var m in o){this[m]=o[m]}};var oc=Object.prototype.constructor;return function(sb,sp,overrides){if(typeof sp=="object"){overrides=sp;sp=sb;sb=overrides.constructor!=oc?overrides.constructor:function(){sp.apply(this,arguments)}}var F=function(){},sbp,spp=sp.prototype;F.prototype=spp;sbp=sb.prototype=new F();sbp.constructor=sb;sb.superclass=spp;if(spp.constructor==oc){spp.constructor=sp}sb.override=function(o){Ext.override(sb,o)};sbp.override=io;Ext.override(sb,overrides);sb.extend=function(o){Ext.extend(sb,o)};return sb}}(),override:function(origclass,overrides){if(overrides){var p=origclass.prototype;for(var method in overrides){p[method]=overrides[method]}}},namespace:function(){var a=arguments,o=null,i,j,d,rt;for(i=0;i10000){clearInterval(G)}var J=document.getElementById(I);if(J){clearInterval(G);E.call(D||window,J)}};var G=setInterval(F,50)},resolveTextNode:function(D){if(D&&3==D.nodeType){return D.parentNode}else{return D}},getRelatedTarget:function(E){E=E.browserEvent||E;var D=E.relatedTarget;if(!D){if(E.type=="mouseout"){D=E.toElement}else{if(E.type=="mouseover"){D=E.fromElement}}}return this.resolveTextNode(D)}};Ext.lib.Ajax=function(){var D=function(E){return function(G,F){if((F=="error"||F=="timeout")&&E.failure){E.failure.call(E.scope||window,{responseText:G.responseText,responseXML:G.responseXML,argument:E.argument})}else{if(E.success){E.success.call(E.scope||window,{responseText:G.responseText,responseXML:G.responseXML,argument:E.argument})}}}};return{request:function(K,H,E,I,F){var J={type:K,url:H,data:I,timeout:E.timeout,complete:D(E)};if(F){var G=F.headers;if(F.xmlData){J.data=F.xmlData;J.processData=false;J.type=(K?K:(F.method?F.method:"POST"));if(!G||!G["Content-Type"]){J.contentType="text/xml"}}else{if(F.jsonData){J.data=typeof F.jsonData=="object"?Ext.encode(F.jsonData):F.jsonData;J.processData=false;J.type=(K?K:(F.method?F.method:"POST"));if(!G||!G["Content-Type"]){J.contentType="application/json"}}}if(G){J.beforeSend=function(M){for(var L in G){if(G.hasOwnProperty(L)){M.setRequestHeader(L,G[L])}}}}}jQuery.ajax(J)},formRequest:function(I,H,F,J,E,G){jQuery.ajax({type:Ext.getDom(I).method||"POST",url:H,data:jQuery(I).serialize()+(J?"&"+J:""),timeout:F.timeout,complete:D(F)})},isCallInProgress:function(E){return false},abort:function(E){return false},serializeForm:function(E){return jQuery(E.dom||E).serialize()}}}();Ext.lib.Anim=function(){var D=function(E,F){var G=true;return{stop:function(H){},isAnimated:function(){return G},proxyCallback:function(){G=false;Ext.callback(E,F)}}};return{scroll:function(H,F,J,K,E,G){var I=D(E,G);H=Ext.getDom(H);if(typeof F.scroll.to[0]=="number"){H.scrollLeft=F.scroll.to[0]}if(typeof F.scroll.to[1]=="number"){H.scrollTop=F.scroll.to[1]}I.proxyCallback();return I},motion:function(H,F,I,J,E,G){return this.run(H,F,I,J,E,G)},color:function(H,F,J,K,E,G){var I=D(E,G);I.proxyCallback();return I},run:function(F,N,I,M,G,P,O){var J=D(G,P),K=Ext.fly(F,"_animrun");var E={};for(var H in N){if(N[H].from){if(H!="points"){K.setStyle(H,N[H].from)}}switch(H){case"points":var L,R;K.position();if(L=N.points.by){var Q=K.getXY();R=K.translatePoints([Q[0]+L[0],Q[1]+L[1]])}else{R=K.translatePoints(N.points.to)}E.left=R.left;E.top=R.top;if(!parseInt(K.getStyle("left"),10)){K.setLeft(0)}if(!parseInt(K.getStyle("top"),10)){K.setTop(0)}if(N.points.from){K.setXY(N.points.from)}break;case"width":E.width=N.width.to;break;case"height":E.height=N.height.to;break;case"opacity":E.opacity=N.opacity.to;break;case"left":E.left=N.left.to;break;case"top":E.top=N.top.to;break;default:E[H]=N[H].to;break}}jQuery(F).animate(E,I*1000,undefined,J.proxyCallback);return J}}}();Ext.lib.Region=function(F,G,D,E){this.top=F;this[1]=F;this.right=G;this.bottom=D;this.left=E;this[0]=E};Ext.lib.Region.prototype={contains:function(D){return(D.left>=this.left&&D.right<=this.right&&D.top>=this.top&&D.bottom<=this.bottom)},getArea:function(){return((this.bottom-this.top)*(this.right-this.left))},intersect:function(H){var F=Math.max(this.top,H.top);var G=Math.min(this.right,H.right);var D=Math.min(this.bottom,H.bottom);var E=Math.max(this.left,H.left);if(D>=F&&G>=E){return new Ext.lib.Region(F,G,D,E)}else{return null}},union:function(H){var F=Math.min(this.top,H.top);var G=Math.max(this.right,H.right);var D=Math.max(this.bottom,H.bottom);var E=Math.min(this.left,H.left);return new Ext.lib.Region(F,G,D,E)},constrainTo:function(D){this.top=this.top.constrain(D.top,D.bottom);this.bottom=this.bottom.constrain(D.top,D.bottom);this.left=this.left.constrain(D.left,D.right);this.right=this.right.constrain(D.left,D.right);return this},adjust:function(F,E,D,G){this.top+=F;this.left+=E;this.right+=G;this.bottom+=D;return this}};Ext.lib.Region.getRegion=function(G){var I=Ext.lib.Dom.getXY(G);var F=I[1];var H=I[0]+G.offsetWidth;var D=I[1]+G.offsetHeight;var E=I[0];return new Ext.lib.Region(F,H,D,E)};Ext.lib.Point=function(D,E){if(Ext.isArray(D)){E=D[1];D=D[0]}this.x=this.right=this.left=this[0]=D;this.y=this.top=this.bottom=this[1]=E};Ext.lib.Point.prototype=new Ext.lib.Region();if(Ext.isIE){function A(){var D=Function.prototype;delete D.createSequence;delete D.defer;delete D.createDelegate;delete D.createCallback;delete D.createInterceptor;window.detachEvent("onunload",A)}window.attachEvent("onunload",A)}})(); diff --git a/layouts/extjs/adapter/jquery/jquery.js b/layouts/extjs/adapter/jquery/jquery.js new file mode 100755 index 0000000..2e43a82 --- /dev/null +++ b/layouts/extjs/adapter/jquery/jquery.js @@ -0,0 +1,3408 @@ +(function(){ +/* + * jQuery 1.2.3 - New Wave Javascript + * + * Copyright (c) 2008 John Resig (jquery.com) + * Dual licensed under the MIT (MIT-LICENSE.txt) + * and GPL (GPL-LICENSE.txt) licenses. + * + * $Date: 2008-02-06 00:21:25 -0500 (Wed, 06 Feb 2008) $ + * $Rev: 4663 $ + */ + +// Map over jQuery in case of overwrite +if ( window.jQuery ) + var _jQuery = window.jQuery; + +var jQuery = window.jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + return new jQuery.prototype.init( selector, context ); +}; + +// Map over the $ in case of overwrite +if ( window.$ ) + var _$ = window.$; + +// Map the jQuery namespace to the '$' one +window.$ = jQuery; + +// A simple way to check for HTML strings or ID strings +// (both of which we optimize for) +var quickExpr = /^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/; + +// Is it a simple selector +var isSimple = /^.[^:#\[\.]*$/; + +jQuery.fn = jQuery.prototype = { + init: function( selector, context ) { + // Make sure that a selection was provided + selector = selector || document; + + // Handle $(DOMElement) + if ( selector.nodeType ) { + this[0] = selector; + this.length = 1; + return this; + + // Handle HTML strings + } else if ( typeof selector == "string" ) { + // Are we dealing with HTML string or an ID? + var match = quickExpr.exec( selector ); + + // Verify a match, and that no context was specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) + selector = jQuery.clean( [ match[1] ], context ); + + // HANDLE: $("#id") + else { + var elem = document.getElementById( match[3] ); + + // Make sure an element was located + if ( elem ) + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id != match[3] ) + return jQuery().find( selector ); + + // Otherwise, we inject the element directly into the jQuery object + else { + this[0] = elem; + this.length = 1; + return this; + } + + else + selector = []; + } + + // HANDLE: $(expr, [context]) + // (which is just equivalent to: $(content).find(expr) + } else + return new jQuery( context ).find( selector ); + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) + return new jQuery( document )[ jQuery.fn.ready ? "ready" : "load" ]( selector ); + + return this.setArray( + // HANDLE: $(array) + selector.constructor == Array && selector || + + // HANDLE: $(arraylike) + // Watch for when an array-like object, contains DOM nodes, is passed in as the selector + (selector.jquery || selector.length && selector != window && !selector.nodeType && selector[0] != undefined && selector[0].nodeType) && jQuery.makeArray( selector ) || + + // HANDLE: $(*) + [ selector ] ); + }, + + // The current version of jQuery being used + jquery: "1.2.3", + + // The number of elements contained in the matched element set + size: function() { + return this.length; + }, + + // The number of elements contained in the matched element set + length: 0, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num == undefined ? + + // Return a 'clean' array + jQuery.makeArray( this ) : + + // Return just the object + this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + // Build a new jQuery matched element set + var ret = jQuery( elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Force the current matched set of elements to become + // the specified array of elements (destroying the stack in the process) + // You should use pushStack() in order to do this, but maintain the stack + setArray: function( elems ) { + // Resetting the length to 0, then using the native Array push + // is a super-fast way to populate an object with array-like properties + this.length = 0; + Array.prototype.push.apply( this, elems ); + + return this; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + var ret = -1; + + // Locate the position of the desired element + this.each(function(i){ + if ( this == elem ) + ret = i; + }); + + return ret; + }, + + attr: function( name, value, type ) { + var options = name; + + // Look for the case where we're accessing a style value + if ( name.constructor == String ) + if ( value == undefined ) + return this.length && jQuery[ type || "attr" ]( this[0], name ) || undefined; + + else { + options = {}; + options[ name ] = value; + } + + // Check to see if we're setting style values + return this.each(function(i){ + // Set all the styles + for ( name in options ) + jQuery.attr( + type ? + this.style : + this, + name, jQuery.prop( this, options[ name ], type, i, name ) + ); + }); + }, + + css: function( key, value ) { + // ignore negative width and height values + if ( (key == 'width' || key == 'height') && parseFloat(value) < 0 ) + value = undefined; + return this.attr( key, value, "curCSS" ); + }, + + text: function( text ) { + if ( typeof text != "object" && text != null ) + return this.empty().append( (this[0] && this[0].ownerDocument || document).createTextNode( text ) ); + + var ret = ""; + + jQuery.each( text || this, function(){ + jQuery.each( this.childNodes, function(){ + if ( this.nodeType != 8 ) + ret += this.nodeType != 1 ? + this.nodeValue : + jQuery.fn.text( [ this ] ); + }); + }); + + return ret; + }, + + wrapAll: function( html ) { + if ( this[0] ) + // The elements to wrap the target around + jQuery( html, this[0].ownerDocument ) + .clone() + .insertBefore( this[0] ) + .map(function(){ + var elem = this; + + while ( elem.firstChild ) + elem = elem.firstChild; + + return elem; + }) + .append(this); + + return this; + }, + + wrapInner: function( html ) { + return this.each(function(){ + jQuery( this ).contents().wrapAll( html ); + }); + }, + + wrap: function( html ) { + return this.each(function(){ + jQuery( this ).wrapAll( html ); + }); + }, + + append: function() { + return this.domManip(arguments, true, false, function(elem){ + if (this.nodeType == 1) + this.appendChild( elem ); + }); + }, + + prepend: function() { + return this.domManip(arguments, true, true, function(elem){ + if (this.nodeType == 1) + this.insertBefore( elem, this.firstChild ); + }); + }, + + before: function() { + return this.domManip(arguments, false, false, function(elem){ + this.parentNode.insertBefore( elem, this ); + }); + }, + + after: function() { + return this.domManip(arguments, false, true, function(elem){ + this.parentNode.insertBefore( elem, this.nextSibling ); + }); + }, + + end: function() { + return this.prevObject || jQuery( [] ); + }, + + find: function( selector ) { + var elems = jQuery.map(this, function(elem){ + return jQuery.find( selector, elem ); + }); + + return this.pushStack( /[^+>] [^+>]/.test( selector ) || selector.indexOf("..") > -1 ? + jQuery.unique( elems ) : + elems ); + }, + + clone: function( events ) { + // Do the clone + var ret = this.map(function(){ + if ( jQuery.browser.msie && !jQuery.isXMLDoc(this) ) { + // IE copies events bound via attachEvent when + // using cloneNode. Calling detachEvent on the + // clone will also remove the events from the orignal + // In order to get around this, we use innerHTML. + // Unfortunately, this means some modifications to + // attributes in IE that are actually only stored + // as properties will not be copied (such as the + // the name attribute on an input). + var clone = this.cloneNode(true), + container = document.createElement("div"); + container.appendChild(clone); + return jQuery.clean([container.innerHTML])[0]; + } else + return this.cloneNode(true); + }); + + // Need to set the expando to null on the cloned set if it exists + // removeData doesn't work here, IE removes it from the original as well + // this is primarily for IE but the data expando shouldn't be copied over in any browser + var clone = ret.find("*").andSelf().each(function(){ + if ( this[ expando ] != undefined ) + this[ expando ] = null; + }); + + // Copy the events from the original to the clone + if ( events === true ) + this.find("*").andSelf().each(function(i){ + if (this.nodeType == 3) + return; + var events = jQuery.data( this, "events" ); + + for ( var type in events ) + for ( var handler in events[ type ] ) + jQuery.event.add( clone[ i ], type, events[ type ][ handler ], events[ type ][ handler ].data ); + }); + + // Return the cloned set + return ret; + }, + + filter: function( selector ) { + return this.pushStack( + jQuery.isFunction( selector ) && + jQuery.grep(this, function(elem, i){ + return selector.call( elem, i ); + }) || + + jQuery.multiFilter( selector, this ) ); + }, + + not: function( selector ) { + if ( selector.constructor == String ) + // test special case where just one selector is passed in + if ( isSimple.test( selector ) ) + return this.pushStack( jQuery.multiFilter( selector, this, true ) ); + else + selector = jQuery.multiFilter( selector, this ); + + var isArrayLike = selector.length && selector[selector.length - 1] !== undefined && !selector.nodeType; + return this.filter(function() { + return isArrayLike ? jQuery.inArray( this, selector ) < 0 : this != selector; + }); + }, + + add: function( selector ) { + return !selector ? this : this.pushStack( jQuery.merge( + this.get(), + selector.constructor == String ? + jQuery( selector ).get() : + selector.length != undefined && (!selector.nodeName || jQuery.nodeName(selector, "form")) ? + selector : [selector] ) ); + }, + + is: function( selector ) { + return selector ? + jQuery.multiFilter( selector, this ).length > 0 : + false; + }, + + hasClass: function( selector ) { + return this.is( "." + selector ); + }, + + val: function( value ) { + if ( value == undefined ) { + + if ( this.length ) { + var elem = this[0]; + + // We need to handle select boxes special + if ( jQuery.nodeName( elem, "select" ) ) { + var index = elem.selectedIndex, + values = [], + options = elem.options, + one = elem.type == "select-one"; + + // Nothing was selected + if ( index < 0 ) + return null; + + // Loop through all the selected options + for ( var i = one ? index : 0, max = one ? index + 1 : options.length; i < max; i++ ) { + var option = options[ i ]; + + if ( option.selected ) { + // Get the specifc value for the option + value = jQuery.browser.msie && !option.attributes.value.specified ? option.text : option.value; + + // We don't need an array for one selects + if ( one ) + return value; + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + + // Everything else, we just grab the value + } else + return (this[0].value || "").replace(/\r/g, ""); + + } + + return undefined; + } + + return this.each(function(){ + if ( this.nodeType != 1 ) + return; + + if ( value.constructor == Array && /radio|checkbox/.test( this.type ) ) + this.checked = (jQuery.inArray(this.value, value) >= 0 || + jQuery.inArray(this.name, value) >= 0); + + else if ( jQuery.nodeName( this, "select" ) ) { + var values = value.constructor == Array ? + value : + [ value ]; + + jQuery( "option", this ).each(function(){ + this.selected = (jQuery.inArray( this.value, values ) >= 0 || + jQuery.inArray( this.text, values ) >= 0); + }); + + if ( !values.length ) + this.selectedIndex = -1; + + } else + this.value = value; + }); + }, + + html: function( value ) { + return value == undefined ? + (this.length ? + this[0].innerHTML : + null) : + this.empty().append( value ); + }, + + replaceWith: function( value ) { + return this.after( value ).remove(); + }, + + eq: function( i ) { + return this.slice( i, i + 1 ); + }, + + slice: function() { + return this.pushStack( Array.prototype.slice.apply( this, arguments ) ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function(elem, i){ + return callback.call( elem, i, elem ); + })); + }, + + andSelf: function() { + return this.add( this.prevObject ); + }, + + data: function( key, value ){ + var parts = key.split("."); + parts[1] = parts[1] ? "." + parts[1] : ""; + + if ( value == null ) { + var data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]); + + if ( data == undefined && this.length ) + data = jQuery.data( this[0], key ); + + return data == null && parts[1] ? + this.data( parts[0] ) : + data; + } else + return this.trigger("setData" + parts[1] + "!", [parts[0], value]).each(function(){ + jQuery.data( this, key, value ); + }); + }, + + removeData: function( key ){ + return this.each(function(){ + jQuery.removeData( this, key ); + }); + }, + + domManip: function( args, table, reverse, callback ) { + var clone = this.length > 1, elems; + + return this.each(function(){ + if ( !elems ) { + elems = jQuery.clean( args, this.ownerDocument ); + + if ( reverse ) + elems.reverse(); + } + + var obj = this; + + if ( table && jQuery.nodeName( this, "table" ) && jQuery.nodeName( elems[0], "tr" ) ) + obj = this.getElementsByTagName("tbody")[0] || this.appendChild( this.ownerDocument.createElement("tbody") ); + + var scripts = jQuery( [] ); + + jQuery.each(elems, function(){ + var elem = clone ? + jQuery( this ).clone( true )[0] : + this; + + // execute all scripts after the elements have been injected + if ( jQuery.nodeName( elem, "script" ) ) { + scripts = scripts.add( elem ); + } else { + // Remove any inner scripts for later evaluation + if ( elem.nodeType == 1 ) + scripts = scripts.add( jQuery( "script", elem ).remove() ); + + // Inject the elements into the document + callback.call( obj, elem ); + } + }); + + scripts.each( evalScript ); + }); + } +}; + +// Give the init function the jQuery prototype for later instantiation +jQuery.prototype.init.prototype = jQuery.prototype; + +function evalScript( i, elem ) { + if ( elem.src ) + jQuery.ajax({ + url: elem.src, + async: false, + dataType: "script" + }); + + else + jQuery.globalEval( elem.text || elem.textContent || elem.innerHTML || "" ); + + if ( elem.parentNode ) + elem.parentNode.removeChild( elem ); +} + +jQuery.extend = jQuery.fn.extend = function() { + // copy reference to target object + var target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, options; + + // Handle a deep copy situation + if ( target.constructor == Boolean ) { + deep = target; + target = arguments[1] || {}; + // skip the boolean and the target + i = 2; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target != "object" && typeof target != "function" ) + target = {}; + + // extend jQuery itself if only one argument is passed + if ( length == 1 ) { + target = this; + i = 0; + } + + for ( ; i < length; i++ ) + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) + // Extend the base object + for ( var name in options ) { + // Prevent never-ending loop + if ( target === options[ name ] ) + continue; + + // Recurse if we're merging object values + if ( deep && options[ name ] && typeof options[ name ] == "object" && target[ name ] && !options[ name ].nodeType ) + target[ name ] = jQuery.extend( target[ name ], options[ name ] ); + + // Don't bring in undefined values + else if ( options[ name ] != undefined ) + target[ name ] = options[ name ]; + + } + + // Return the modified object + return target; +}; + +var expando = "jQuery" + (new Date()).getTime(), uuid = 0, windowData = {}; + +// exclude the following css properties to add px +var exclude = /z-?index|font-?weight|opacity|zoom|line-?height/i; + +jQuery.extend({ + noConflict: function( deep ) { + window.$ = _$; + + if ( deep ) + window.jQuery = _jQuery; + + return jQuery; + }, + + // See test/unit/core.js for details concerning this function. + isFunction: function( fn ) { + return !!fn && typeof fn != "string" && !fn.nodeName && + fn.constructor != Array && /function/i.test( fn + "" ); + }, + + // check if an element is in a (or is an) XML document + isXMLDoc: function( elem ) { + return elem.documentElement && !elem.body || + elem.tagName && elem.ownerDocument && !elem.ownerDocument.body; + }, + + // Evalulates a script in a global context + globalEval: function( data ) { + data = jQuery.trim( data ); + + if ( data ) { + // Inspired by code by Andrea Giammarchi + // http://webreflection.blogspot.com/2007/08/global-scope-evaluation-and-dom.html + var head = document.getElementsByTagName("head")[0] || document.documentElement, + script = document.createElement("script"); + + script.type = "text/javascript"; + if ( jQuery.browser.msie ) + script.text = data; + else + script.appendChild( document.createTextNode( data ) ); + + head.appendChild( script ); + head.removeChild( script ); + } + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toUpperCase() == name.toUpperCase(); + }, + + cache: {}, + + data: function( elem, name, data ) { + elem = elem == window ? + windowData : + elem; + + var id = elem[ expando ]; + + // Compute a unique ID for the element + if ( !id ) + id = elem[ expando ] = ++uuid; + + // Only generate the data cache if we're + // trying to access or manipulate it + if ( name && !jQuery.cache[ id ] ) + jQuery.cache[ id ] = {}; + + // Prevent overriding the named cache with undefined values + if ( data != undefined ) + jQuery.cache[ id ][ name ] = data; + + // Return the named cache data, or the ID for the element + return name ? + jQuery.cache[ id ][ name ] : + id; + }, + + removeData: function( elem, name ) { + elem = elem == window ? + windowData : + elem; + + var id = elem[ expando ]; + + // If we want to remove a specific section of the element's data + if ( name ) { + if ( jQuery.cache[ id ] ) { + // Remove the section of cache data + delete jQuery.cache[ id ][ name ]; + + // If we've removed all the data, remove the element's cache + name = ""; + + for ( name in jQuery.cache[ id ] ) + break; + + if ( !name ) + jQuery.removeData( elem ); + } + + // Otherwise, we want to remove all of the element's data + } else { + // Clean up the element expando + try { + delete elem[ expando ]; + } catch(e){ + // IE has trouble directly removing the expando + // but it's ok with using removeAttribute + if ( elem.removeAttribute ) + elem.removeAttribute( expando ); + } + + // Completely remove the data cache + delete jQuery.cache[ id ]; + } + }, + + // args is for internal usage only + each: function( object, callback, args ) { + if ( args ) { + if ( object.length == undefined ) { + for ( var name in object ) + if ( callback.apply( object[ name ], args ) === false ) + break; + } else + for ( var i = 0, length = object.length; i < length; i++ ) + if ( callback.apply( object[ i ], args ) === false ) + break; + + // A special, fast, case for the most common use of each + } else { + if ( object.length == undefined ) { + for ( var name in object ) + if ( callback.call( object[ name ], name, object[ name ] ) === false ) + break; + } else + for ( var i = 0, length = object.length, value = object[0]; + i < length && callback.call( value, i, value ) !== false; value = object[++i] ){} + } + + return object; + }, + + prop: function( elem, value, type, i, name ) { + // Handle executable functions + if ( jQuery.isFunction( value ) ) + value = value.call( elem, i ); + + // Handle passing in a number to a CSS property + return value && value.constructor == Number && type == "curCSS" && !exclude.test( name ) ? + value + "px" : + value; + }, + + className: { + // internal only, use addClass("class") + add: function( elem, classNames ) { + jQuery.each((classNames || "").split(/\s+/), function(i, className){ + if ( elem.nodeType == 1 && !jQuery.className.has( elem.className, className ) ) + elem.className += (elem.className ? " " : "") + className; + }); + }, + + // internal only, use removeClass("class") + remove: function( elem, classNames ) { + if (elem.nodeType == 1) + elem.className = classNames != undefined ? + jQuery.grep(elem.className.split(/\s+/), function(className){ + return !jQuery.className.has( classNames, className ); + }).join(" ") : + ""; + }, + + // internal only, use is(".class") + has: function( elem, className ) { + return jQuery.inArray( className, (elem.className || elem).toString().split(/\s+/) ) > -1; + } + }, + + // A method for quickly swapping in/out CSS properties to get correct calculations + swap: function( elem, options, callback ) { + var old = {}; + // Remember the old values, and insert the new ones + for ( var name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + callback.call( elem ); + + // Revert the old values + for ( var name in options ) + elem.style[ name ] = old[ name ]; + }, + + css: function( elem, name, force ) { + if ( name == "width" || name == "height" ) { + var val, props = { position: "absolute", visibility: "hidden", display:"block" }, which = name == "width" ? [ "Left", "Right" ] : [ "Top", "Bottom" ]; + + function getWH() { + val = name == "width" ? elem.offsetWidth : elem.offsetHeight; + var padding = 0, border = 0; + jQuery.each( which, function() { + padding += parseFloat(jQuery.curCSS( elem, "padding" + this, true)) || 0; + border += parseFloat(jQuery.curCSS( elem, "border" + this + "Width", true)) || 0; + }); + val -= Math.round(padding + border); + } + + if ( jQuery(elem).is(":visible") ) + getWH(); + else + jQuery.swap( elem, props, getWH ); + + return Math.max(0, val); + } + + return jQuery.curCSS( elem, name, force ); + }, + + curCSS: function( elem, name, force ) { + var ret; + + // A helper method for determining if an element's values are broken + function color( elem ) { + if ( !jQuery.browser.safari ) + return false; + + var ret = document.defaultView.getComputedStyle( elem, null ); + return !ret || ret.getPropertyValue("color") == ""; + } + + // We need to handle opacity special in IE + if ( name == "opacity" && jQuery.browser.msie ) { + ret = jQuery.attr( elem.style, "opacity" ); + + return ret == "" ? + "1" : + ret; + } + // Opera sometimes will give the wrong display answer, this fixes it, see #2037 + if ( jQuery.browser.opera && name == "display" ) { + var save = elem.style.outline; + elem.style.outline = "0 solid black"; + elem.style.outline = save; + } + + // Make sure we're using the right name for getting the float value + if ( name.match( /float/i ) ) + name = styleFloat; + + if ( !force && elem.style && elem.style[ name ] ) + ret = elem.style[ name ]; + + else if ( document.defaultView && document.defaultView.getComputedStyle ) { + + // Only "float" is needed here + if ( name.match( /float/i ) ) + name = "float"; + + name = name.replace( /([A-Z])/g, "-$1" ).toLowerCase(); + + var getComputedStyle = document.defaultView.getComputedStyle( elem, null ); + + if ( getComputedStyle && !color( elem ) ) + ret = getComputedStyle.getPropertyValue( name ); + + // If the element isn't reporting its values properly in Safari + // then some display: none elements are involved + else { + var swap = [], stack = []; + + // Locate all of the parent display: none elements + for ( var a = elem; a && color(a); a = a.parentNode ) + stack.unshift(a); + + // Go through and make them visible, but in reverse + // (It would be better if we knew the exact display type that they had) + for ( var i = 0; i < stack.length; i++ ) + if ( color( stack[ i ] ) ) { + swap[ i ] = stack[ i ].style.display; + stack[ i ].style.display = "block"; + } + + // Since we flip the display style, we have to handle that + // one special, otherwise get the value + ret = name == "display" && swap[ stack.length - 1 ] != null ? + "none" : + ( getComputedStyle && getComputedStyle.getPropertyValue( name ) ) || ""; + + // Finally, revert the display styles back + for ( var i = 0; i < swap.length; i++ ) + if ( swap[ i ] != null ) + stack[ i ].style.display = swap[ i ]; + } + + // We should always get a number back from opacity + if ( name == "opacity" && ret == "" ) + ret = "1"; + + } else if ( elem.currentStyle ) { + var camelCase = name.replace(/\-(\w)/g, function(all, letter){ + return letter.toUpperCase(); + }); + + ret = elem.currentStyle[ name ] || elem.currentStyle[ camelCase ]; + + // From the awesome hack by Dean Edwards + // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291 + + // If we're not dealing with a regular pixel number + // but a number that has a weird ending, we need to convert it to pixels + if ( !/^\d+(px)?$/i.test( ret ) && /^\d/.test( ret ) ) { + // Remember the original values + var style = elem.style.left, runtimeStyle = elem.runtimeStyle.left; + + // Put in the new values to get a computed value out + elem.runtimeStyle.left = elem.currentStyle.left; + elem.style.left = ret || 0; + ret = elem.style.pixelLeft + "px"; + + // Revert the changed values + elem.style.left = style; + elem.runtimeStyle.left = runtimeStyle; + } + } + + return ret; + }, + + clean: function( elems, context ) { + var ret = []; + context = context || document; + // !context.createElement fails in IE with an error but returns typeof 'object' + if (typeof context.createElement == 'undefined') + context = context.ownerDocument || context[0] && context[0].ownerDocument || document; + + jQuery.each(elems, function(i, elem){ + if ( !elem ) + return; + + if ( elem.constructor == Number ) + elem = elem.toString(); + + // Convert html string into DOM nodes + if ( typeof elem == "string" ) { + // Fix "XHTML"-style tags in all browsers + elem = elem.replace(/(<(\w+)[^>]*?)\/>/g, function(all, front, tag){ + return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i) ? + all : + front + ">"; + }); + + // Trim whitespace, otherwise indexOf won't work as expected + var tags = jQuery.trim( elem ).toLowerCase(), div = context.createElement("div"); + + var wrap = + // option or optgroup + !tags.indexOf("", "" ] || + + !tags.indexOf("", "" ] || + + tags.match(/^<(thead|tbody|tfoot|colg|cap)/) && + [ 1, "", "
" ] || + + !tags.indexOf("", "" ] || + + // matched above + (!tags.indexOf("", "" ] || + + !tags.indexOf("", "" ] || + + // IE can't serialize and + + + + + + + \ No newline at end of file