From d520e4fbaaf67f064746865e4786d0b7d2885044 Mon Sep 17 00:00:00 2001 From: BG317958 Date: Tue, 17 Apr 2018 22:37:31 +0800 Subject: [PATCH] Spring MVC practise with bootstrap-update --- .idea/workspace.xml | 1467 +- log4j.properties | 4 +- src/main/java/controller/LoginController.java | 36 +- src/main/webapp/WEB-INF/js/common.js | 8 + src/main/webapp/WEB-INF/jsp/homePage.jsp | 7 +- src/main/webapp/index.jsp | 98 +- .../webapp/lib/jquery-easyui/changelog.txt | 433 + .../demo/accordion/_content.html | 18 + .../jquery-easyui/demo/accordion/actions.html | 51 + .../jquery-easyui/demo/accordion/ajax.html | 28 + .../jquery-easyui/demo/accordion/basic.html | 52 + .../demo/accordion/datagrid_data1.json | 12 + .../demo/accordion/expandable.html | 33 + .../jquery-easyui/demo/accordion/fluid.html | 33 + .../demo/accordion/multiple.html | 34 + .../jquery-easyui/demo/accordion/tools.html | 48 + .../jquery-easyui/demo/calendar/basic.html | 19 + .../jquery-easyui/demo/calendar/custom.html | 46 + .../demo/calendar/disabledate.html | 28 + .../jquery-easyui/demo/calendar/firstday.html | 30 + .../jquery-easyui/demo/calendar/fluid.html | 23 + .../jquery-easyui/demo/combo/animation.html | 36 + .../lib/jquery-easyui/demo/combo/basic.html | 42 + .../jquery-easyui/demo/combobox/actions.html | 86 + .../jquery-easyui/demo/combobox/basic.html | 71 + .../demo/combobox/combobox_data1.json | 22 + .../demo/combobox/combobox_data2.json | 47 + .../demo/combobox/customformat.html | 33 + .../demo/combobox/dynamicdata.html | 23 + .../jquery-easyui/demo/combobox/fluid.html | 36 + .../jquery-easyui/demo/combobox/group.html | 26 + .../jquery-easyui/demo/combobox/icons.html | 32 + .../demo/combobox/multiline.html | 71 + .../jquery-easyui/demo/combobox/multiple.html | 29 + .../demo/combobox/navigation.html | 73 + .../demo/combobox/remotedata.html | 27 + .../demo/combobox/remotejsonp.html | 51 + .../jquery-easyui/demo/combogrid/actions.html | 53 + .../jquery-easyui/demo/combogrid/basic.html | 34 + .../demo/combogrid/datagrid_data1.json | 12 + .../jquery-easyui/demo/combogrid/fluid.html | 54 + .../demo/combogrid/initvalue.html | 33 + .../demo/combogrid/multiple.html | 37 + .../demo/combogrid/navigation.html | 38 + .../jquery-easyui/demo/combotree/actions.html | 39 + .../jquery-easyui/demo/combotree/basic.html | 19 + .../jquery-easyui/demo/combotree/fluid.html | 22 + .../demo/combotree/initvalue.html | 19 + .../demo/combotree/multiple.html | 22 + .../demo/combotree/tree_data1.json | 49 + .../demo/datagrid/aligncolumns.html | 32 + .../jquery-easyui/demo/datagrid/basic.html | 32 + .../demo/datagrid/cacheeditor.html | 149 + .../demo/datagrid/cellediting.html | 79 + .../demo/datagrid/cellstyle.html | 42 + .../jquery-easyui/demo/datagrid/checkbox.html | 42 + .../demo/datagrid/clientpagination.html | 89 + .../demo/datagrid/columngroup.html | 34 + .../demo/datagrid/complextoolbar.html | 50 + .../demo/datagrid/contextmenu.html | 81 + .../demo/datagrid/custompager.html | 53 + .../demo/datagrid/datagrid_data1.json | 12 + .../demo/datagrid/datagrid_data2.json | 15 + .../jquery-easyui/demo/datagrid/fluid.html | 32 + .../jquery-easyui/demo/datagrid/footer.html | 38 + .../demo/datagrid/formatcolumns.html | 39 + .../demo/datagrid/frozencolumns.html | 35 + .../demo/datagrid/frozenrows.html | 44 + .../demo/datagrid/mergecells.html | 58 + .../demo/datagrid/multisorting.html | 37 + .../jquery-easyui/demo/datagrid/products.json | 9 + .../demo/datagrid/rowborder.html | 60 + .../demo/datagrid/rowediting.html | 114 + .../jquery-easyui/demo/datagrid/rowstyle.html | 41 + .../demo/datagrid/selection.html | 57 + .../demo/datagrid/simpletoolbar.html | 45 + .../demo/datagrid/transform.html | 46 + .../lib/jquery-easyui/demo/datebox/basic.html | 18 + .../jquery-easyui/demo/datebox/buttons.html | 28 + .../demo/datebox/dateformat.html | 39 + .../jquery-easyui/demo/datebox/events.html | 27 + .../lib/jquery-easyui/demo/datebox/fluid.html | 21 + .../jquery-easyui/demo/datebox/restrict.html | 30 + .../demo/datebox/sharedcalendar.html | 30 + .../jquery-easyui/demo/datebox/validate.html | 30 + .../jquery-easyui/demo/datetimebox/basic.html | 18 + .../jquery-easyui/demo/datetimebox/fluid.html | 21 + .../demo/datetimebox/initvalue.html | 19 + .../demo/datetimebox/showseconds.html | 22 + .../demo/datetimespinner/basic.html | 18 + .../demo/datetimespinner/clearicon.html | 28 + .../demo/datetimespinner/fluid.html | 21 + .../demo/datetimespinner/format.html | 50 + .../webapp/lib/jquery-easyui/demo/demo.css | 21 + .../lib/jquery-easyui/demo/dialog/basic.html | 23 + .../demo/dialog/complextoolbar.html | 46 + .../lib/jquery-easyui/demo/dialog/fluid.html | 24 + .../demo/dialog/toolbarbuttons.html | 52 + .../jquery-easyui/demo/draggable/basic.html | 21 + .../demo/draggable/constrain.html | 35 + .../jquery-easyui/demo/draggable/snap.html | 37 + .../jquery-easyui/demo/droppable/accept.html | 78 + .../jquery-easyui/demo/droppable/basic.html | 77 + .../jquery-easyui/demo/droppable/sort.html | 71 + .../jquery-easyui/demo/easyloader/basic.html | 75 + .../lib/jquery-easyui/demo/filebox/basic.html | 34 + .../demo/filebox/buttonalign.html | 29 + .../lib/jquery-easyui/demo/filebox/fluid.html | 21 + .../lib/jquery-easyui/demo/form/basic.html | 59 + .../jquery-easyui/demo/form/form_data1.json | 7 + .../lib/jquery-easyui/demo/form/load.html | 68 + .../demo/form/validateonsubmit.html | 63 + .../jquery-easyui/demo/layout/_content.html | 18 + .../jquery-easyui/demo/layout/addremove.html | 53 + .../jquery-easyui/demo/layout/autoheight.html | 59 + .../lib/jquery-easyui/demo/layout/basic.html | 39 + .../jquery-easyui/demo/layout/complex.html | 57 + .../demo/layout/datagrid_data1.json | 12 + .../lib/jquery-easyui/demo/layout/fluid.html | 24 + .../lib/jquery-easyui/demo/layout/full.html | 19 + .../demo/layout/nestedlayout.html | 31 + .../demo/layout/nocollapsible.html | 34 + .../demo/layout/propertygrid_data1.json | 20 + .../jquery-easyui/demo/layout/tree_data1.json | 49 + .../jquery-easyui/demo/linkbutton/basic.html | 33 + .../jquery-easyui/demo/linkbutton/fluid.html | 33 + .../jquery-easyui/demo/linkbutton/group.html | 33 + .../demo/linkbutton/iconalign.html | 32 + .../jquery-easyui/demo/linkbutton/plain.html | 28 + .../jquery-easyui/demo/linkbutton/size.html | 34 + .../jquery-easyui/demo/linkbutton/style.html | 31 + .../jquery-easyui/demo/linkbutton/toggle.html | 25 + .../lib/jquery-easyui/demo/menu/basic.html | 68 + .../jquery-easyui/demo/menu/customitem.html | 55 + .../lib/jquery-easyui/demo/menu/events.html | 40 + .../demo/menubutton/actions.html | 58 + .../demo/menubutton/alignment.html | 69 + .../jquery-easyui/demo/menubutton/basic.html | 54 + .../jquery-easyui/demo/messager/alert.html | 40 + .../jquery-easyui/demo/messager/basic.html | 56 + .../demo/messager/interactive.html | 36 + .../jquery-easyui/demo/messager/position.html | 140 + .../jquery-easyui/demo/numberbox/basic.html | 24 + .../jquery-easyui/demo/numberbox/fluid.html | 24 + .../jquery-easyui/demo/numberbox/format.html | 40 + .../jquery-easyui/demo/numberbox/range.html | 25 + .../demo/numberspinner/basic.html | 25 + .../demo/numberspinner/fluid.html | 21 + .../demo/numberspinner/increment.html | 18 + .../demo/numberspinner/range.html | 18 + .../demo/pagination/attaching.html | 32 + .../jquery-easyui/demo/pagination/basic.html | 20 + .../demo/pagination/custombuttons.html | 38 + .../jquery-easyui/demo/pagination/layout.html | 62 + .../jquery-easyui/demo/pagination/links.html | 23 + .../jquery-easyui/demo/pagination/simple.html | 25 + .../jquery-easyui/demo/panel/_content.html | 18 + .../lib/jquery-easyui/demo/panel/basic.html | 31 + .../jquery-easyui/demo/panel/customtools.html | 35 + .../lib/jquery-easyui/demo/panel/fluid.html | 21 + .../lib/jquery-easyui/demo/panel/footer.html | 22 + .../jquery-easyui/demo/panel/loadcontent.html | 27 + .../jquery-easyui/demo/panel/nestedpanel.html | 30 + .../jquery-easyui/demo/panel/paneltools.html | 37 + .../jquery-easyui/demo/progressbar/basic.html | 30 + .../jquery-easyui/demo/progressbar/fluid.html | 21 + .../demo/propertygrid/basic.html | 61 + .../demo/propertygrid/customcolumns.html | 31 + .../demo/propertygrid/groupformat.html | 30 + .../demo/propertygrid/propertygrid_data1.json | 20 + .../jquery-easyui/demo/resizable/basic.html | 24 + .../jquery-easyui/demo/searchbox/basic.html | 23 + .../demo/searchbox/category.html | 28 + .../jquery-easyui/demo/searchbox/fluid.html | 25 + .../lib/jquery-easyui/demo/slider/basic.html | 18 + .../lib/jquery-easyui/demo/slider/fluid.html | 21 + .../jquery-easyui/demo/slider/formattip.html | 28 + .../jquery-easyui/demo/slider/nonlinear.html | 58 + .../lib/jquery-easyui/demo/slider/rule.html | 21 + .../jquery-easyui/demo/slider/vertical.html | 25 + .../demo/splitbutton/actions.html | 64 + .../jquery-easyui/demo/splitbutton/basic.html | 61 + .../lib/jquery-easyui/demo/tabs/_content.html | 18 + .../jquery-easyui/demo/tabs/autoheight.html | 36 + .../lib/jquery-easyui/demo/tabs/basic.html | 36 + .../lib/jquery-easyui/demo/tabs/dropdown.html | 55 + .../jquery-easyui/demo/tabs/fixedwidth.html | 37 + .../lib/jquery-easyui/demo/tabs/fluid.html | 24 + .../lib/jquery-easyui/demo/tabs/hover.html | 46 + .../jquery-easyui/demo/tabs/images/modem.png | Bin 0 -> 1633 bytes .../jquery-easyui/demo/tabs/images/pda.png | Bin 0 -> 1787 bytes .../demo/tabs/images/scanner.png | Bin 0 -> 2600 bytes .../jquery-easyui/demo/tabs/images/tablet.png | Bin 0 -> 2505 bytes .../jquery-easyui/demo/tabs/nestedtabs.html | 54 + .../jquery-easyui/demo/tabs/striptools.html | 39 + .../lib/jquery-easyui/demo/tabs/tabimage.html | 41 + .../jquery-easyui/demo/tabs/tabposition.html | 45 + .../jquery-easyui/demo/tabs/tabstools.html | 41 + .../jquery-easyui/demo/tabs/tree_data1.json | 49 + .../lib/jquery-easyui/demo/textbox/basic.html | 39 + .../jquery-easyui/demo/textbox/button.html | 23 + .../jquery-easyui/demo/textbox/clearicon.html | 61 + .../jquery-easyui/demo/textbox/custom.html | 34 + .../lib/jquery-easyui/demo/textbox/fluid.html | 21 + .../lib/jquery-easyui/demo/textbox/icons.html | 45 + .../jquery-easyui/demo/textbox/multiline.html | 18 + .../lib/jquery-easyui/demo/textbox/size.html | 29 + .../demo/timespinner/actions.html | 38 + .../jquery-easyui/demo/timespinner/basic.html | 18 + .../jquery-easyui/demo/timespinner/fluid.html | 21 + .../jquery-easyui/demo/timespinner/range.html | 20 + .../jquery-easyui/demo/tooltip/_content.html | 18 + .../jquery-easyui/demo/tooltip/_dialog.html | 23 + .../lib/jquery-easyui/demo/tooltip/ajax.html | 32 + .../lib/jquery-easyui/demo/tooltip/basic.html | 20 + .../demo/tooltip/customcontent.html | 32 + .../demo/tooltip/customstyle.html | 52 + .../jquery-easyui/demo/tooltip/position.html | 34 + .../jquery-easyui/demo/tooltip/toolbar.html | 40 + .../demo/tooltip/tooltipdialog.html | 44 + .../lib/jquery-easyui/demo/tree/actions.html | 47 + .../jquery-easyui/demo/tree/animation.html | 20 + .../lib/jquery-easyui/demo/tree/basic.html | 53 + .../lib/jquery-easyui/demo/tree/checkbox.html | 37 + .../jquery-easyui/demo/tree/contextmenu.html | 65 + .../lib/jquery-easyui/demo/tree/dnd.html | 20 + .../lib/jquery-easyui/demo/tree/editable.html | 27 + .../jquery-easyui/demo/tree/formatting.html | 32 + .../lib/jquery-easyui/demo/tree/icons.html | 20 + .../lib/jquery-easyui/demo/tree/lazyload.html | 82 + .../lib/jquery-easyui/demo/tree/lines.html | 20 + .../jquery-easyui/demo/tree/tree_data1.json | 49 + .../jquery-easyui/demo/tree/tree_data2.json | 61 + .../jquery-easyui/demo/treegrid/actions.html | 64 + .../jquery-easyui/demo/treegrid/basic.html | 34 + .../demo/treegrid/clientpagination.html | 137 + .../demo/treegrid/contextmenu.html | 104 + .../jquery-easyui/demo/treegrid/editable.html | 93 + .../jquery-easyui/demo/treegrid/fluid.html | 33 + .../jquery-easyui/demo/treegrid/footer.html | 55 + .../jquery-easyui/demo/treegrid/lines.html | 35 + .../jquery-easyui/demo/treegrid/reports.html | 49 + .../demo/treegrid/treegrid_data1.json | 73 + .../demo/treegrid/treegrid_data2.json | 11 + .../demo/treegrid/treegrid_data3.json | 13 + .../jquery-easyui/demo/validatebox/basic.html | 50 + .../demo/validatebox/customtooltip.html | 95 + .../demo/validatebox/validateonblur.html | 57 + .../lib/jquery-easyui/demo/window/basic.html | 23 + .../demo/window/customtools.html | 30 + .../lib/jquery-easyui/demo/window/fluid.html | 24 + .../lib/jquery-easyui/demo/window/footer.html | 24 + .../demo/window/inlinewindow.html | 26 + .../demo/window/modalwindow.html | 24 + .../demo/window/windowlayout.html | 33 + .../webapp/lib/jquery-easyui/easyloader.js | 190 + .../lib/jquery-easyui/jquery.easyui.min.js | 13547 ++++++++++++++++ .../webapp/lib/jquery-easyui/jquery.min.js | 4 + .../webapp/lib/jquery-easyui/licence_gpl.txt | 674 + .../jquery-easyui/locale/easyui-lang-af.js | 44 + .../jquery-easyui/locale/easyui-lang-am.js | 46 + .../jquery-easyui/locale/easyui-lang-ar.js | 45 + .../jquery-easyui/locale/easyui-lang-bg.js | 44 + .../jquery-easyui/locale/easyui-lang-ca.js | 44 + .../jquery-easyui/locale/easyui-lang-cs.js | 44 + .../jquery-easyui/locale/easyui-lang-cz.js | 44 + .../jquery-easyui/locale/easyui-lang-da.js | 44 + .../jquery-easyui/locale/easyui-lang-de.js | 63 + .../jquery-easyui/locale/easyui-lang-el.js | 45 + .../jquery-easyui/locale/easyui-lang-en.js | 45 + .../jquery-easyui/locale/easyui-lang-es.js | 45 + .../jquery-easyui/locale/easyui-lang-fr.js | 44 + .../jquery-easyui/locale/easyui-lang-it.js | 45 + .../jquery-easyui/locale/easyui-lang-jp.js | 45 + .../jquery-easyui/locale/easyui-lang-nl.js | 44 + .../jquery-easyui/locale/easyui-lang-pl.js | 45 + .../jquery-easyui/locale/easyui-lang-pt_BR.js | 45 + .../jquery-easyui/locale/easyui-lang-ru.js | 46 + .../jquery-easyui/locale/easyui-lang-sv_SE.js | 45 + .../jquery-easyui/locale/easyui-lang-tr.js | 59 + .../jquery-easyui/locale/easyui-lang-zh_CN.js | 66 + .../jquery-easyui/locale/easyui-lang-zh_TW.js | 48 + .../jquery-easyui/plugins/jquery.accordion.js | 314 + .../jquery-easyui/plugins/jquery.calendar.js | 384 + .../lib/jquery-easyui/plugins/jquery.combo.js | 367 + .../jquery-easyui/plugins/jquery.combobox.js | 446 + .../jquery-easyui/plugins/jquery.combogrid.js | 273 + .../jquery-easyui/plugins/jquery.combotree.js | 175 + .../jquery-easyui/plugins/jquery.datagrid.js | 2423 +++ .../jquery-easyui/plugins/jquery.datebox.js | 212 + .../plugins/jquery.datetimebox.js | 178 + .../plugins/jquery.datetimespinner.js | 61 + .../jquery-easyui/plugins/jquery.dialog.js | 122 + .../jquery-easyui/plugins/jquery.draggable.js | 283 + .../jquery-easyui/plugins/jquery.droppable.js | 62 + .../jquery-easyui/plugins/jquery.filebox.js | 66 + .../lib/jquery-easyui/plugins/jquery.form.js | 317 + .../jquery-easyui/plugins/jquery.layout.js | 439 + .../plugins/jquery.linkbutton.js | 181 + .../lib/jquery-easyui/plugins/jquery.menu.js | 485 + .../plugins/jquery.menubutton.js | 125 + .../jquery-easyui/plugins/jquery.messager.js | 215 + .../jquery-easyui/plugins/jquery.numberbox.js | 172 + .../plugins/jquery.numberspinner.js | 58 + .../plugins/jquery.pagination.js | 286 + .../lib/jquery-easyui/plugins/jquery.panel.js | 602 + .../jquery-easyui/plugins/jquery.parser.js | 322 + .../plugins/jquery.progressbar.js | 84 + .../plugins/jquery.propertygrid.js | 327 + .../jquery-easyui/plugins/jquery.resizable.js | 170 + .../jquery-easyui/plugins/jquery.searchbox.js | 132 + .../jquery-easyui/plugins/jquery.slider.js | 277 + .../jquery-easyui/plugins/jquery.spinner.js | 74 + .../plugins/jquery.splitbutton.js | 49 + .../lib/jquery-easyui/plugins/jquery.tabs.js | 603 + .../jquery-easyui/plugins/jquery.textbox.js | 386 + .../plugins/jquery.timespinner.js | 181 + .../jquery-easyui/plugins/jquery.tooltip.js | 232 + .../lib/jquery-easyui/plugins/jquery.tree.js | 1181 ++ .../jquery-easyui/plugins/jquery.treegrid.js | 1157 ++ .../plugins/jquery.validatebox.js | 255 + .../jquery-easyui/plugins/jquery.window.js | 261 + src/main/webapp/lib/jquery-easyui/readme.txt | 4 + .../lib/jquery-easyui/src/easyloader.js | 417 + .../lib/jquery-easyui/src/jquery.accordion.js | 406 + .../lib/jquery-easyui/src/jquery.calendar.js | 429 + .../lib/jquery-easyui/src/jquery.combobox.js | 556 + .../lib/jquery-easyui/src/jquery.datebox.js | 285 + .../lib/jquery-easyui/src/jquery.draggable.js | 420 + .../lib/jquery-easyui/src/jquery.droppable.js | 81 + .../lib/jquery-easyui/src/jquery.form.js | 374 + .../jquery-easyui/src/jquery.linkbutton.js | 240 + .../lib/jquery-easyui/src/jquery.menu.js | 615 + .../lib/jquery-easyui/src/jquery.parser.js | 356 + .../jquery-easyui/src/jquery.progressbar.js | 107 + .../jquery-easyui/src/jquery.propertygrid.js | 409 + .../lib/jquery-easyui/src/jquery.resizable.js | 247 + .../lib/jquery-easyui/src/jquery.slider.js | 403 + .../lib/jquery-easyui/src/jquery.tabs.js | 789 + .../lib/jquery-easyui/src/jquery.window.js | 379 + .../jquery-easyui/themes/black/accordion.css | 41 + .../jquery-easyui/themes/black/calendar.css | 197 + .../lib/jquery-easyui/themes/black/combo.css | 60 + .../jquery-easyui/themes/black/combobox.css | 24 + .../jquery-easyui/themes/black/datagrid.css | 267 + .../jquery-easyui/themes/black/datebox.css | 36 + .../lib/jquery-easyui/themes/black/dialog.css | 32 + .../lib/jquery-easyui/themes/black/easyui.css | 2549 +++ .../jquery-easyui/themes/black/filebox.css | 6 + .../themes/black/images/accordion_arrows.png | Bin 0 -> 122 bytes .../themes/black/images/blank.gif | Bin 0 -> 43 bytes .../themes/black/images/calendar_arrows.png | Bin 0 -> 173 bytes .../themes/black/images/combo_arrow.png | Bin 0 -> 100 bytes .../themes/black/images/datagrid_icons.png | Bin 0 -> 210 bytes .../themes/black/images/datebox_arrow.png | Bin 0 -> 626 bytes .../themes/black/images/layout_arrows.png | Bin 0 -> 179 bytes .../themes/black/images/linkbutton_bg.png | Bin 0 -> 1274 bytes .../themes/black/images/loading.gif | Bin 0 -> 1737 bytes .../themes/black/images/menu_arrows.png | Bin 0 -> 134 bytes .../themes/black/images/messager_icons.png | Bin 0 -> 6116 bytes .../themes/black/images/pagination_icons.png | Bin 0 -> 339 bytes .../themes/black/images/panel_tools.png | Bin 0 -> 184 bytes .../themes/black/images/searchbox_button.png | Bin 0 -> 813 bytes .../themes/black/images/slider_handle.png | Bin 0 -> 863 bytes .../themes/black/images/spinner_arrows.png | Bin 0 -> 112 bytes .../themes/black/images/tabs_icons.png | Bin 0 -> 144 bytes .../themes/black/images/tree_icons.png | Bin 0 -> 3086 bytes .../black/images/validatebox_warning.png | Bin 0 -> 921 bytes .../lib/jquery-easyui/themes/black/layout.css | 91 + .../jquery-easyui/themes/black/linkbutton.css | 197 + .../lib/jquery-easyui/themes/black/menu.css | 109 + .../jquery-easyui/themes/black/menubutton.css | 94 + .../jquery-easyui/themes/black/messager.css | 40 + .../jquery-easyui/themes/black/numberbox.css | 9 + .../jquery-easyui/themes/black/pagination.css | 71 + .../lib/jquery-easyui/themes/black/panel.css | 142 + .../themes/black/progressbar.css | 32 + .../themes/black/propertygrid.css | 28 + .../jquery-easyui/themes/black/searchbox.css | 90 + .../lib/jquery-easyui/themes/black/slider.css | 101 + .../jquery-easyui/themes/black/spinner.css | 71 + .../themes/black/splitbutton.css | 12 + .../lib/jquery-easyui/themes/black/tabs.css | 356 + .../jquery-easyui/themes/black/textbox.css | 87 + .../jquery-easyui/themes/black/tooltip.css | 100 + .../lib/jquery-easyui/themes/black/tree.css | 157 + .../themes/black/validatebox.css | 5 + .../lib/jquery-easyui/themes/black/window.css | 94 + .../themes/bootstrap/accordion.css | 41 + .../themes/bootstrap/calendar.css | 197 + .../jquery-easyui/themes/bootstrap/combo.css | 60 + .../themes/bootstrap/combobox.css | 24 + .../themes/bootstrap/datagrid.css | 267 + .../themes/bootstrap/datebox.css | 36 + .../jquery-easyui/themes/bootstrap/dialog.css | 32 + .../jquery-easyui/themes/bootstrap/easyui.css | 2568 +++ .../themes/bootstrap/filebox.css | 6 + .../bootstrap/images/accordion_arrows.png | Bin 0 -> 184 bytes .../themes/bootstrap/images/blank.gif | Bin 0 -> 43 bytes .../bootstrap/images/calendar_arrows.png | Bin 0 -> 173 bytes .../themes/bootstrap/images/combo_arrow.png | Bin 0 -> 117 bytes .../bootstrap/images/datagrid_icons.png | Bin 0 -> 220 bytes .../themes/bootstrap/images/datebox_arrow.png | Bin 0 -> 626 bytes .../themes/bootstrap/images/layout_arrows.png | Bin 0 -> 319 bytes .../themes/bootstrap/images/linkbutton_bg.png | Bin 0 -> 1274 bytes .../themes/bootstrap/images/loading.gif | Bin 0 -> 1737 bytes .../themes/bootstrap/images/menu_arrows.png | Bin 0 -> 160 bytes .../bootstrap/images/messager_icons.png | Bin 0 -> 6116 bytes .../bootstrap/images/pagination_icons.png | Bin 0 -> 628 bytes .../themes/bootstrap/images/panel_tools.png | Bin 0 -> 194 bytes .../bootstrap/images/searchbox_button.png | Bin 0 -> 813 bytes .../themes/bootstrap/images/slider_handle.png | Bin 0 -> 863 bytes .../bootstrap/images/spinner_arrows.png | Bin 0 -> 115 bytes .../themes/bootstrap/images/tabs_icons.png | Bin 0 -> 150 bytes .../themes/bootstrap/images/tree_icons.png | Bin 0 -> 3115 bytes .../bootstrap/images/validatebox_warning.png | Bin 0 -> 921 bytes .../jquery-easyui/themes/bootstrap/layout.css | 91 + .../themes/bootstrap/linkbutton.css | 197 + .../jquery-easyui/themes/bootstrap/menu.css | 109 + .../themes/bootstrap/menubutton.css | 94 + .../themes/bootstrap/messager.css | 40 + .../themes/bootstrap/numberbox.css | 9 + .../themes/bootstrap/pagination.css | 71 + .../jquery-easyui/themes/bootstrap/panel.css | 142 + .../themes/bootstrap/progressbar.css | 32 + .../themes/bootstrap/propertygrid.css | 28 + .../themes/bootstrap/searchbox.css | 90 + .../jquery-easyui/themes/bootstrap/slider.css | 101 + .../themes/bootstrap/spinner.css | 71 + .../themes/bootstrap/splitbutton.css | 12 + .../jquery-easyui/themes/bootstrap/tabs.css | 356 + .../themes/bootstrap/textbox.css | 87 + .../themes/bootstrap/tooltip.css | 100 + .../jquery-easyui/themes/bootstrap/tree.css | 157 + .../themes/bootstrap/validatebox.css | 5 + .../jquery-easyui/themes/bootstrap/window.css | 94 + .../webapp/lib/jquery-easyui/themes/color.css | 112 + .../themes/default/accordion.css | 41 + .../jquery-easyui/themes/default/calendar.css | 197 + .../jquery-easyui/themes/default/combo.css | 60 + .../jquery-easyui/themes/default/combobox.css | 24 + .../jquery-easyui/themes/default/datagrid.css | 267 + .../jquery-easyui/themes/default/datebox.css | 36 + .../jquery-easyui/themes/default/dialog.css | 32 + .../jquery-easyui/themes/default/easyui.css | 2550 +++ .../jquery-easyui/themes/default/filebox.css | 6 + .../default/images/accordion_arrows.png | Bin 0 -> 184 bytes .../themes/default/images/blank.gif | Bin 0 -> 43 bytes .../themes/default/images/calendar_arrows.png | Bin 0 -> 173 bytes .../themes/default/images/combo_arrow.png | Bin 0 -> 117 bytes .../themes/default/images/datagrid_icons.png | Bin 0 -> 220 bytes .../themes/default/images/datebox_arrow.png | Bin 0 -> 626 bytes .../themes/default/images/layout_arrows.png | Bin 0 -> 319 bytes .../themes/default/images/linkbutton_bg.png | Bin 0 -> 1274 bytes .../themes/default/images/loading.gif | Bin 0 -> 1737 bytes .../themes/default/images/menu_arrows.png | Bin 0 -> 160 bytes .../themes/default/images/messager_icons.png | Bin 0 -> 6116 bytes .../default/images/pagination_icons.png | Bin 0 -> 628 bytes .../themes/default/images/panel_tools.png | Bin 0 -> 852 bytes .../default/images/searchbox_button.png | Bin 0 -> 813 bytes .../themes/default/images/slider_handle.png | Bin 0 -> 863 bytes .../themes/default/images/spinner_arrows.png | Bin 0 -> 115 bytes .../themes/default/images/tabs_icons.png | Bin 0 -> 150 bytes .../themes/default/images/tree_icons.png | Bin 0 -> 3115 bytes .../default/images/validatebox_warning.png | Bin 0 -> 921 bytes .../jquery-easyui/themes/default/layout.css | 91 + .../themes/default/linkbutton.css | 197 + .../lib/jquery-easyui/themes/default/menu.css | 109 + .../themes/default/menubutton.css | 94 + .../jquery-easyui/themes/default/messager.css | 40 + .../themes/default/numberbox.css | 9 + .../themes/default/pagination.css | 71 + .../jquery-easyui/themes/default/panel.css | 142 + .../themes/default/progressbar.css | 32 + .../themes/default/propertygrid.css | 28 + .../themes/default/searchbox.css | 90 + .../jquery-easyui/themes/default/slider.css | 101 + .../jquery-easyui/themes/default/spinner.css | 71 + .../themes/default/splitbutton.css | 12 + .../lib/jquery-easyui/themes/default/tabs.css | 356 + .../jquery-easyui/themes/default/textbox.css | 87 + .../jquery-easyui/themes/default/tooltip.css | 100 + .../lib/jquery-easyui/themes/default/tree.css | 157 + .../themes/default/validatebox.css | 5 + .../jquery-easyui/themes/default/window.css | 94 + .../jquery-easyui/themes/gray/accordion.css | 41 + .../jquery-easyui/themes/gray/calendar.css | 197 + .../lib/jquery-easyui/themes/gray/combo.css | 60 + .../jquery-easyui/themes/gray/combobox.css | 24 + .../jquery-easyui/themes/gray/datagrid.css | 267 + .../lib/jquery-easyui/themes/gray/datebox.css | 36 + .../lib/jquery-easyui/themes/gray/dialog.css | 32 + .../lib/jquery-easyui/themes/gray/easyui.css | 2549 +++ .../lib/jquery-easyui/themes/gray/filebox.css | 6 + .../themes/gray/images/accordion_arrows.png | Bin 0 -> 125 bytes .../themes/gray/images/blank.gif | Bin 0 -> 43 bytes .../themes/gray/images/calendar_arrows.png | Bin 0 -> 173 bytes .../themes/gray/images/combo_arrow.png | Bin 0 -> 103 bytes .../themes/gray/images/datagrid_icons.png | Bin 0 -> 243 bytes .../themes/gray/images/datebox_arrow.png | Bin 0 -> 626 bytes .../themes/gray/images/layout_arrows.png | Bin 0 -> 181 bytes .../themes/gray/images/linkbutton_bg.png | Bin 0 -> 1274 bytes .../themes/gray/images/loading.gif | Bin 0 -> 1737 bytes .../themes/gray/images/menu_arrows.png | Bin 0 -> 160 bytes .../themes/gray/images/messager_icons.png | Bin 0 -> 6116 bytes .../themes/gray/images/pagination_icons.png | Bin 0 -> 466 bytes .../themes/gray/images/panel_tools.png | Bin 0 -> 191 bytes .../themes/gray/images/searchbox_button.png | Bin 0 -> 813 bytes .../themes/gray/images/slider_handle.png | Bin 0 -> 863 bytes .../themes/gray/images/spinner_arrows.png | Bin 0 -> 141 bytes .../themes/gray/images/tabs_icons.png | Bin 0 -> 144 bytes .../themes/gray/images/tree_icons.png | Bin 0 -> 3115 bytes .../gray/images/validatebox_warning.png | Bin 0 -> 921 bytes .../lib/jquery-easyui/themes/gray/layout.css | 91 + .../jquery-easyui/themes/gray/linkbutton.css | 197 + .../lib/jquery-easyui/themes/gray/menu.css | 109 + .../jquery-easyui/themes/gray/menubutton.css | 94 + .../jquery-easyui/themes/gray/messager.css | 40 + .../jquery-easyui/themes/gray/numberbox.css | 9 + .../jquery-easyui/themes/gray/pagination.css | 71 + .../lib/jquery-easyui/themes/gray/panel.css | 142 + .../jquery-easyui/themes/gray/progressbar.css | 32 + .../themes/gray/propertygrid.css | 28 + .../jquery-easyui/themes/gray/searchbox.css | 90 + .../lib/jquery-easyui/themes/gray/slider.css | 101 + .../lib/jquery-easyui/themes/gray/spinner.css | 71 + .../jquery-easyui/themes/gray/splitbutton.css | 12 + .../lib/jquery-easyui/themes/gray/tabs.css | 356 + .../lib/jquery-easyui/themes/gray/textbox.css | 87 + .../lib/jquery-easyui/themes/gray/tooltip.css | 100 + .../lib/jquery-easyui/themes/gray/tree.css | 157 + .../jquery-easyui/themes/gray/validatebox.css | 5 + .../lib/jquery-easyui/themes/gray/window.css | 94 + .../webapp/lib/jquery-easyui/themes/icon.css | 93 + .../lib/jquery-easyui/themes/icons/back.png | Bin 0 -> 912 bytes .../lib/jquery-easyui/themes/icons/blank.gif | Bin 0 -> 43 bytes .../lib/jquery-easyui/themes/icons/cancel.png | Bin 0 -> 1133 bytes .../lib/jquery-easyui/themes/icons/clear.png | Bin 0 -> 779 bytes .../lib/jquery-easyui/themes/icons/cut.png | Bin 0 -> 1024 bytes .../jquery-easyui/themes/icons/edit_add.png | Bin 0 -> 1088 bytes .../themes/icons/edit_remove.png | Bin 0 -> 625 bytes .../jquery-easyui/themes/icons/filesave.png | Bin 0 -> 898 bytes .../lib/jquery-easyui/themes/icons/filter.png | Bin 0 -> 305 bytes .../lib/jquery-easyui/themes/icons/help.png | Bin 0 -> 1187 bytes .../themes/icons/large_chart.png | Bin 0 -> 1669 bytes .../themes/icons/large_clipart.png | Bin 0 -> 1727 bytes .../themes/icons/large_picture.png | Bin 0 -> 1667 bytes .../themes/icons/large_shapes.png | Bin 0 -> 1318 bytes .../themes/icons/large_smartart.png | Bin 0 -> 1336 bytes .../lib/jquery-easyui/themes/icons/lock.png | Bin 0 -> 311 bytes .../lib/jquery-easyui/themes/icons/man.png | Bin 0 -> 244 bytes .../jquery-easyui/themes/icons/mini_add.png | Bin 0 -> 244 bytes .../jquery-easyui/themes/icons/mini_edit.png | Bin 0 -> 161 bytes .../themes/icons/mini_refresh.png | Bin 0 -> 160 bytes .../lib/jquery-easyui/themes/icons/no.png | Bin 0 -> 922 bytes .../lib/jquery-easyui/themes/icons/ok.png | Bin 0 -> 883 bytes .../lib/jquery-easyui/themes/icons/pencil.png | Bin 0 -> 713 bytes .../lib/jquery-easyui/themes/icons/print.png | Bin 0 -> 1057 bytes .../lib/jquery-easyui/themes/icons/redo.png | Bin 0 -> 708 bytes .../lib/jquery-easyui/themes/icons/reload.png | Bin 0 -> 1045 bytes .../lib/jquery-easyui/themes/icons/search.png | Bin 0 -> 813 bytes .../lib/jquery-easyui/themes/icons/sum.png | Bin 0 -> 289 bytes .../lib/jquery-easyui/themes/icons/tip.png | Bin 0 -> 743 bytes .../lib/jquery-easyui/themes/icons/undo.png | Bin 0 -> 707 bytes .../jquery-easyui/themes/metro/accordion.css | 41 + .../jquery-easyui/themes/metro/calendar.css | 197 + .../lib/jquery-easyui/themes/metro/combo.css | 60 + .../jquery-easyui/themes/metro/combobox.css | 24 + .../jquery-easyui/themes/metro/datagrid.css | 261 + .../jquery-easyui/themes/metro/datebox.css | 36 + .../lib/jquery-easyui/themes/metro/dialog.css | 32 + .../lib/jquery-easyui/themes/metro/easyui.css | 2495 +++ .../jquery-easyui/themes/metro/filebox.css | 6 + .../themes/metro/images/accordion_arrows.png | Bin 0 -> 184 bytes .../themes/metro/images/blank.gif | Bin 0 -> 43 bytes .../themes/metro/images/calendar_arrows.png | Bin 0 -> 173 bytes .../themes/metro/images/combo_arrow.png | Bin 0 -> 117 bytes .../themes/metro/images/datagrid_icons.png | Bin 0 -> 220 bytes .../themes/metro/images/datebox_arrow.png | Bin 0 -> 626 bytes .../themes/metro/images/layout_arrows.png | Bin 0 -> 319 bytes .../themes/metro/images/linkbutton_bg.png | Bin 0 -> 1274 bytes .../themes/metro/images/loading.gif | Bin 0 -> 1737 bytes .../themes/metro/images/menu_arrows.png | Bin 0 -> 160 bytes .../themes/metro/images/messager_icons.png | Bin 0 -> 6116 bytes .../themes/metro/images/pagination_icons.png | Bin 0 -> 628 bytes .../themes/metro/images/panel_tools.png | Bin 0 -> 194 bytes .../themes/metro/images/searchbox_button.png | Bin 0 -> 813 bytes .../themes/metro/images/slider_handle.png | Bin 0 -> 863 bytes .../themes/metro/images/spinner_arrows.png | Bin 0 -> 115 bytes .../themes/metro/images/tabs_icons.png | Bin 0 -> 150 bytes .../themes/metro/images/tree_icons.png | Bin 0 -> 3115 bytes .../metro/images/validatebox_warning.png | Bin 0 -> 921 bytes .../lib/jquery-easyui/themes/metro/layout.css | 91 + .../jquery-easyui/themes/metro/linkbutton.css | 197 + .../lib/jquery-easyui/themes/metro/menu.css | 109 + .../jquery-easyui/themes/metro/menubutton.css | 94 + .../jquery-easyui/themes/metro/messager.css | 40 + .../jquery-easyui/themes/metro/numberbox.css | 9 + .../jquery-easyui/themes/metro/pagination.css | 71 + .../lib/jquery-easyui/themes/metro/panel.css | 136 + .../themes/metro/progressbar.css | 32 + .../themes/metro/propertygrid.css | 28 + .../jquery-easyui/themes/metro/searchbox.css | 90 + .../lib/jquery-easyui/themes/metro/slider.css | 101 + .../jquery-easyui/themes/metro/spinner.css | 71 + .../themes/metro/splitbutton.css | 12 + .../lib/jquery-easyui/themes/metro/tabs.css | 320 + .../jquery-easyui/themes/metro/textbox.css | 87 + .../jquery-easyui/themes/metro/tooltip.css | 100 + .../lib/jquery-easyui/themes/metro/tree.css | 157 + .../themes/metro/validatebox.css | 5 + .../lib/jquery-easyui/themes/metro/window.css | 88 + src/test/java/rainbow/ReviewJava.java | 83 + test.go | 0 614 files changed, 72696 insertions(+), 506 deletions(-) create mode 100644 src/main/webapp/WEB-INF/js/common.js create mode 100644 src/main/webapp/lib/jquery-easyui/changelog.txt create mode 100644 src/main/webapp/lib/jquery-easyui/demo/accordion/_content.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/accordion/actions.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/accordion/ajax.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/accordion/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/accordion/datagrid_data1.json create mode 100644 src/main/webapp/lib/jquery-easyui/demo/accordion/expandable.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/accordion/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/accordion/multiple.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/accordion/tools.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/calendar/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/calendar/custom.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/calendar/disabledate.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/calendar/firstday.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/calendar/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combo/animation.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combo/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combobox/actions.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combobox/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combobox/combobox_data1.json create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combobox/combobox_data2.json create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combobox/customformat.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combobox/dynamicdata.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combobox/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combobox/group.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combobox/icons.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combobox/multiline.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combobox/multiple.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combobox/navigation.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combobox/remotedata.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combobox/remotejsonp.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combogrid/actions.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combogrid/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combogrid/datagrid_data1.json create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combogrid/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combogrid/initvalue.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combogrid/multiple.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combogrid/navigation.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combotree/actions.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combotree/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combotree/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combotree/initvalue.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combotree/multiple.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/combotree/tree_data1.json create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/aligncolumns.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/cacheeditor.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/cellediting.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/cellstyle.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/checkbox.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/clientpagination.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/columngroup.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/complextoolbar.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/contextmenu.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/custompager.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/datagrid_data1.json create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/datagrid_data2.json create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/footer.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/formatcolumns.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/frozencolumns.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/frozenrows.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/mergecells.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/multisorting.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/products.json create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/rowborder.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/rowediting.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/rowstyle.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/selection.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/simpletoolbar.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datagrid/transform.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datebox/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datebox/buttons.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datebox/dateformat.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datebox/events.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datebox/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datebox/restrict.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datebox/sharedcalendar.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datebox/validate.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datetimebox/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datetimebox/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datetimebox/initvalue.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datetimebox/showseconds.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datetimespinner/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datetimespinner/clearicon.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datetimespinner/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/datetimespinner/format.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/demo.css create mode 100644 src/main/webapp/lib/jquery-easyui/demo/dialog/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/dialog/complextoolbar.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/dialog/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/dialog/toolbarbuttons.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/draggable/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/draggable/constrain.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/draggable/snap.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/droppable/accept.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/droppable/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/droppable/sort.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/easyloader/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/filebox/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/filebox/buttonalign.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/filebox/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/form/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/form/form_data1.json create mode 100644 src/main/webapp/lib/jquery-easyui/demo/form/load.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/form/validateonsubmit.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/layout/_content.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/layout/addremove.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/layout/autoheight.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/layout/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/layout/complex.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/layout/datagrid_data1.json create mode 100644 src/main/webapp/lib/jquery-easyui/demo/layout/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/layout/full.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/layout/nestedlayout.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/layout/nocollapsible.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/layout/propertygrid_data1.json create mode 100644 src/main/webapp/lib/jquery-easyui/demo/layout/tree_data1.json create mode 100644 src/main/webapp/lib/jquery-easyui/demo/linkbutton/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/linkbutton/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/linkbutton/group.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/linkbutton/iconalign.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/linkbutton/plain.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/linkbutton/size.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/linkbutton/style.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/linkbutton/toggle.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/menu/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/menu/customitem.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/menu/events.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/menubutton/actions.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/menubutton/alignment.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/menubutton/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/messager/alert.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/messager/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/messager/interactive.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/messager/position.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/numberbox/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/numberbox/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/numberbox/format.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/numberbox/range.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/numberspinner/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/numberspinner/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/numberspinner/increment.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/numberspinner/range.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/pagination/attaching.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/pagination/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/pagination/custombuttons.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/pagination/layout.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/pagination/links.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/pagination/simple.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/panel/_content.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/panel/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/panel/customtools.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/panel/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/panel/footer.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/panel/loadcontent.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/panel/nestedpanel.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/panel/paneltools.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/progressbar/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/progressbar/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/propertygrid/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/propertygrid/customcolumns.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/propertygrid/groupformat.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/propertygrid/propertygrid_data1.json create mode 100644 src/main/webapp/lib/jquery-easyui/demo/resizable/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/searchbox/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/searchbox/category.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/searchbox/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/slider/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/slider/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/slider/formattip.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/slider/nonlinear.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/slider/rule.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/slider/vertical.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/splitbutton/actions.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/splitbutton/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tabs/_content.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tabs/autoheight.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tabs/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tabs/dropdown.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tabs/fixedwidth.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tabs/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tabs/hover.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tabs/images/modem.png create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tabs/images/pda.png create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tabs/images/scanner.png create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tabs/images/tablet.png create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tabs/nestedtabs.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tabs/striptools.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tabs/tabimage.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tabs/tabposition.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tabs/tabstools.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tabs/tree_data1.json create mode 100644 src/main/webapp/lib/jquery-easyui/demo/textbox/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/textbox/button.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/textbox/clearicon.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/textbox/custom.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/textbox/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/textbox/icons.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/textbox/multiline.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/textbox/size.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/timespinner/actions.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/timespinner/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/timespinner/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/timespinner/range.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tooltip/_content.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tooltip/_dialog.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tooltip/ajax.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tooltip/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tooltip/customcontent.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tooltip/customstyle.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tooltip/position.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tooltip/toolbar.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tooltip/tooltipdialog.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tree/actions.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tree/animation.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tree/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tree/checkbox.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tree/contextmenu.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tree/dnd.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tree/editable.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tree/formatting.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tree/icons.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tree/lazyload.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tree/lines.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tree/tree_data1.json create mode 100644 src/main/webapp/lib/jquery-easyui/demo/tree/tree_data2.json create mode 100644 src/main/webapp/lib/jquery-easyui/demo/treegrid/actions.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/treegrid/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/treegrid/clientpagination.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/treegrid/contextmenu.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/treegrid/editable.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/treegrid/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/treegrid/footer.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/treegrid/lines.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/treegrid/reports.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/treegrid/treegrid_data1.json create mode 100644 src/main/webapp/lib/jquery-easyui/demo/treegrid/treegrid_data2.json create mode 100644 src/main/webapp/lib/jquery-easyui/demo/treegrid/treegrid_data3.json create mode 100644 src/main/webapp/lib/jquery-easyui/demo/validatebox/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/validatebox/customtooltip.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/validatebox/validateonblur.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/window/basic.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/window/customtools.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/window/fluid.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/window/footer.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/window/inlinewindow.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/window/modalwindow.html create mode 100644 src/main/webapp/lib/jquery-easyui/demo/window/windowlayout.html create mode 100644 src/main/webapp/lib/jquery-easyui/easyloader.js create mode 100644 src/main/webapp/lib/jquery-easyui/jquery.easyui.min.js create mode 100644 src/main/webapp/lib/jquery-easyui/jquery.min.js create mode 100644 src/main/webapp/lib/jquery-easyui/licence_gpl.txt create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-af.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-am.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-ar.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-bg.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-ca.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-cs.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-cz.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-da.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-de.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-el.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-en.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-es.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-fr.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-it.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-jp.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-nl.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-pl.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-pt_BR.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-ru.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-sv_SE.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-tr.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-zh_CN.js create mode 100644 src/main/webapp/lib/jquery-easyui/locale/easyui-lang-zh_TW.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.accordion.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.calendar.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.combo.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.combobox.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.combogrid.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.combotree.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.datagrid.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.datebox.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.datetimebox.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.datetimespinner.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.dialog.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.draggable.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.droppable.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.filebox.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.form.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.layout.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.linkbutton.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.menu.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.menubutton.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.messager.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.numberbox.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.numberspinner.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.pagination.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.panel.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.parser.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.progressbar.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.propertygrid.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.resizable.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.searchbox.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.slider.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.spinner.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.splitbutton.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.tabs.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.textbox.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.timespinner.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.tooltip.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.tree.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.treegrid.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.validatebox.js create mode 100644 src/main/webapp/lib/jquery-easyui/plugins/jquery.window.js create mode 100644 src/main/webapp/lib/jquery-easyui/readme.txt create mode 100644 src/main/webapp/lib/jquery-easyui/src/easyloader.js create mode 100644 src/main/webapp/lib/jquery-easyui/src/jquery.accordion.js create mode 100644 src/main/webapp/lib/jquery-easyui/src/jquery.calendar.js create mode 100644 src/main/webapp/lib/jquery-easyui/src/jquery.combobox.js create mode 100644 src/main/webapp/lib/jquery-easyui/src/jquery.datebox.js create mode 100644 src/main/webapp/lib/jquery-easyui/src/jquery.draggable.js create mode 100644 src/main/webapp/lib/jquery-easyui/src/jquery.droppable.js create mode 100644 src/main/webapp/lib/jquery-easyui/src/jquery.form.js create mode 100644 src/main/webapp/lib/jquery-easyui/src/jquery.linkbutton.js create mode 100644 src/main/webapp/lib/jquery-easyui/src/jquery.menu.js create mode 100644 src/main/webapp/lib/jquery-easyui/src/jquery.parser.js create mode 100644 src/main/webapp/lib/jquery-easyui/src/jquery.progressbar.js create mode 100644 src/main/webapp/lib/jquery-easyui/src/jquery.propertygrid.js create mode 100644 src/main/webapp/lib/jquery-easyui/src/jquery.resizable.js create mode 100644 src/main/webapp/lib/jquery-easyui/src/jquery.slider.js create mode 100644 src/main/webapp/lib/jquery-easyui/src/jquery.tabs.js create mode 100644 src/main/webapp/lib/jquery-easyui/src/jquery.window.js create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/accordion.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/calendar.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/combo.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/combobox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/datagrid.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/datebox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/dialog.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/easyui.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/filebox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/images/accordion_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/images/blank.gif create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/images/calendar_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/images/combo_arrow.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/images/datagrid_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/images/datebox_arrow.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/images/layout_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/images/linkbutton_bg.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/images/loading.gif create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/images/menu_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/images/messager_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/images/pagination_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/images/panel_tools.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/images/searchbox_button.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/images/slider_handle.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/images/spinner_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/images/tabs_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/images/tree_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/images/validatebox_warning.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/layout.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/linkbutton.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/menu.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/menubutton.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/messager.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/numberbox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/pagination.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/panel.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/progressbar.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/propertygrid.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/searchbox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/slider.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/spinner.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/splitbutton.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/tabs.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/textbox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/tooltip.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/tree.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/validatebox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/black/window.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/accordion.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/calendar.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/combo.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/combobox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/datagrid.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/datebox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/dialog.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/easyui.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/filebox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/accordion_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/blank.gif create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/calendar_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/combo_arrow.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/datagrid_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/datebox_arrow.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/layout_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/linkbutton_bg.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/loading.gif create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/menu_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/messager_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/pagination_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/panel_tools.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/searchbox_button.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/slider_handle.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/spinner_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/tabs_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/tree_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/validatebox_warning.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/layout.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/linkbutton.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/menu.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/menubutton.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/messager.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/numberbox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/pagination.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/panel.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/progressbar.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/propertygrid.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/searchbox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/slider.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/spinner.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/splitbutton.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/tabs.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/textbox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/tooltip.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/tree.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/validatebox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/bootstrap/window.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/color.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/accordion.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/calendar.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/combo.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/combobox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/datagrid.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/datebox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/dialog.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/easyui.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/filebox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/images/accordion_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/images/blank.gif create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/images/calendar_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/images/combo_arrow.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/images/datagrid_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/images/datebox_arrow.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/images/layout_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/images/linkbutton_bg.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/images/loading.gif create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/images/menu_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/images/messager_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/images/pagination_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/images/panel_tools.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/images/searchbox_button.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/images/slider_handle.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/images/spinner_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/images/tabs_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/images/tree_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/images/validatebox_warning.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/layout.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/linkbutton.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/menu.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/menubutton.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/messager.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/numberbox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/pagination.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/panel.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/progressbar.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/propertygrid.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/searchbox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/slider.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/spinner.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/splitbutton.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/tabs.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/textbox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/tooltip.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/tree.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/validatebox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/default/window.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/accordion.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/calendar.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/combo.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/combobox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/datagrid.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/datebox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/dialog.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/easyui.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/filebox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/images/accordion_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/images/blank.gif create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/images/calendar_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/images/combo_arrow.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/images/datagrid_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/images/datebox_arrow.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/images/layout_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/images/linkbutton_bg.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/images/loading.gif create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/images/menu_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/images/messager_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/images/pagination_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/images/panel_tools.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/images/searchbox_button.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/images/slider_handle.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/images/spinner_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/images/tabs_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/images/tree_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/images/validatebox_warning.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/layout.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/linkbutton.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/menu.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/menubutton.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/messager.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/numberbox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/pagination.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/panel.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/progressbar.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/propertygrid.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/searchbox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/slider.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/spinner.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/splitbutton.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/tabs.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/textbox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/tooltip.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/tree.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/validatebox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/gray/window.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icon.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/back.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/blank.gif create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/cancel.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/clear.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/cut.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/edit_add.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/edit_remove.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/filesave.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/filter.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/help.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/large_chart.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/large_clipart.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/large_picture.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/large_shapes.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/large_smartart.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/lock.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/man.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/mini_add.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/mini_edit.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/mini_refresh.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/no.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/ok.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/pencil.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/print.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/redo.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/reload.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/search.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/sum.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/tip.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/icons/undo.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/accordion.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/calendar.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/combo.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/combobox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/datagrid.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/datebox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/dialog.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/easyui.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/filebox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/images/accordion_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/images/blank.gif create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/images/calendar_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/images/combo_arrow.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/images/datagrid_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/images/datebox_arrow.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/images/layout_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/images/linkbutton_bg.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/images/loading.gif create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/images/menu_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/images/messager_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/images/pagination_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/images/panel_tools.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/images/searchbox_button.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/images/slider_handle.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/images/spinner_arrows.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/images/tabs_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/images/tree_icons.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/images/validatebox_warning.png create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/layout.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/linkbutton.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/menu.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/menubutton.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/messager.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/numberbox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/pagination.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/panel.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/progressbar.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/propertygrid.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/searchbox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/slider.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/spinner.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/splitbutton.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/tabs.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/textbox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/tooltip.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/tree.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/validatebox.css create mode 100644 src/main/webapp/lib/jquery-easyui/themes/metro/window.css create mode 100644 src/test/java/rainbow/ReviewJava.java delete mode 100644 test.go diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 5613059..7f5e2c2 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -9,34 +9,620 @@ - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - @@ -65,90 +651,12 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - + + + @@ -158,10 +666,10 @@ @@ -171,6 +679,12 @@ /lib/bootstrap-3.3.7-dist/css/bootstrap.min.css commnad footer + loginServer + alert + user + ether + myModal + login @@ -190,10 +704,6 @@ @@ -285,9 +799,36 @@ + + ECMAScript 6 migration aidsJavaScript + + + General + Java + + JavaScript + + + Kotlin + + + Plugin DevKit + + + Redundant constructsKotlin + + + Style issuesKotlin + + + XPath + + + XSLT + @@ -316,6 +857,8 @@ + + @@ -339,111 +882,129 @@ - + - - + + - - + - - - + - - + + - - - + + + - - - - - - + + - + + - - + + + - - - + + + + - - - - + + + + + - + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + - - - - @@ -451,8 +1012,6 @@ - - @@ -461,8 +1020,6 @@ - - @@ -471,7 +1028,7 @@ - + @@ -480,33 +1037,32 @@ - - + + +
@@ -126,6 +175,23 @@ + + <%-- + + + +

Accordion Actions

+

Click the buttons below to add or remove accordion items.

+
+ Select + Add + Remove +
+
+
+

Accordion for jQuery

+

Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

+
+
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/accordion/ajax.html b/src/main/webapp/lib/jquery-easyui/demo/accordion/ajax.html new file mode 100644 index 0000000..87c1a01 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/accordion/ajax.html @@ -0,0 +1,28 @@ + + + + + Loading Accordion Content with AJAX - jQuery EasyUI Demo + + + + + + + +

Loading Accordion Content with AJAX

+

Click AJAX panel header to load content via AJAX.

+
+
+
+

Accordion for jQuery

+

Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

+
+
+

The accordion allows you to provide multiple panels and display one or more at a time. Each panel has built-in support for expanding and collapsing. Clicking on a panel header to expand or collapse that panel body. The panel content can be loaded via ajax by specifying a 'href' property. Users can define a panel to be selected. If it is not specified, then the first panel is taken by default.

+
+
+
+
+ + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/accordion/basic.html b/src/main/webapp/lib/jquery-easyui/demo/accordion/basic.html new file mode 100644 index 0000000..1f6c8f5 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/accordion/basic.html @@ -0,0 +1,52 @@ + + + + + Basic Accordion - jQuery EasyUI Demo + + + + + + + +

Basic Accordion

+

Click on panel header to show its content.

+
+
+
+

Accordion for jQuery

+

Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

+
+
+

The accordion allows you to provide multiple panels and display one or more at a time. Each panel has built-in support for expanding and collapsing. Clicking on a panel header to expand or collapse that panel body. The panel content can be loaded via ajax by specifying a 'href' property. Users can define a panel to be selected. If it is not specified, then the first panel is taken by default.

+
+
+
    +
  • + Foods +
      +
    • + Fruits +
        +
      • apple
      • +
      • orange
      • +
      +
    • +
    • + Vegetables +
        +
      • tomato
      • +
      • carrot
      • +
      • cabbage
      • +
      • potato
      • +
      • lettuce
      • +
      +
    • +
    +
  • +
+
+
+ + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/accordion/datagrid_data1.json b/src/main/webapp/lib/jquery-easyui/demo/accordion/datagrid_data1.json new file mode 100644 index 0000000..e9a5be2 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/accordion/datagrid_data1.json @@ -0,0 +1,12 @@ +{"total":28,"rows":[ + {"productid":"FI-SW-01","productname":"Koi","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"}, + {"productid":"K9-DL-01","productname":"Dalmation","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"}, + {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":38.50,"attr1":"Venomless","itemid":"EST-11"}, + {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":26.50,"attr1":"Rattleless","itemid":"EST-12"}, + {"productid":"RP-LI-02","productname":"Iguana","unitcost":12.00,"status":"P","listprice":35.50,"attr1":"Green Adult","itemid":"EST-13"}, + {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":158.50,"attr1":"Tailless","itemid":"EST-14"}, + {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":83.50,"attr1":"With tail","itemid":"EST-15"}, + {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":23.50,"attr1":"Adult Female","itemid":"EST-16"}, + {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":89.50,"attr1":"Adult Male","itemid":"EST-17"}, + {"productid":"AV-CB-01","productname":"Amazon Parrot","unitcost":92.00,"status":"P","listprice":63.50,"attr1":"Adult Male","itemid":"EST-18"} +]} diff --git a/src/main/webapp/lib/jquery-easyui/demo/accordion/expandable.html b/src/main/webapp/lib/jquery-easyui/demo/accordion/expandable.html new file mode 100644 index 0000000..8f20f16 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/accordion/expandable.html @@ -0,0 +1,33 @@ + + + + + Keep Expandable Panel in Accordion - jQuery EasyUI Demo + + + + + + + +

Keep Expandable Panel in Accordion

+

Keep a expandable panel and prevent it from collapsing.

+
+
+
+ +
+
+

Accordion for jQuery

+

Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

+
+
+

Content1

+
+
+

Content2

+
+
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/accordion/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/accordion/fluid.html new file mode 100644 index 0000000..aaeb994 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/accordion/fluid.html @@ -0,0 +1,33 @@ + + + + + Fluid Accordion - jQuery EasyUI Demo + + + + + + + +

Fluid Accordion

+

This example shows how to set the width of accordion to a percentage of its parent container.

+
+
+
+

width: 100%

+
+
+
+
+
+ +
+
+

width: 50%

+
+
+
+
+ + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/accordion/multiple.html b/src/main/webapp/lib/jquery-easyui/demo/accordion/multiple.html new file mode 100644 index 0000000..d75bfbc --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/accordion/multiple.html @@ -0,0 +1,34 @@ + + + + + Multiple Accordion Panels - jQuery EasyUI Demo + + + + + + + +

Multiple Accordion Panels

+

Enable 'multiple' mode to expand multiple panels at one time.

+
+
+
+

A programming language is a formal language designed to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine and/or to express algorithms precisely.

+
+
+

Java (Indonesian: Jawa) is an island of Indonesia. With a population of 135 million (excluding the 3.6 million on the island of Madura which is administered as part of the provinces of Java), Java is the world's most populous island, and one of the most densely populated places in the world.

+
+
+

C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.

+
+
+

A dynamic, reflective, general-purpose object-oriented programming language.

+
+
+

Fortran (previously FORTRAN) is a general-purpose, imperative programming language that is especially suited to numeric computation and scientific computing.

+
+
+ + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/accordion/tools.html b/src/main/webapp/lib/jquery-easyui/demo/accordion/tools.html new file mode 100644 index 0000000..6351a91 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/accordion/tools.html @@ -0,0 +1,48 @@ + + + + + Accordion Tools - jQuery EasyUI Demo + + + + + + + +

Accordion Tools

+

Click the tools on top right of panel to perform actions.

+
+
+
+

Accordion for jQuery

+

Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

+
+
+

The accordion allows you to provide multiple panels and display one ore more at a time. Each panel has built-in support for expanding and collapsing. Clicking on a panel header to expand or collapse that panel body. The panel content can be loaded via ajax by specifying a 'href' property. Users can define a panel to be selected. If it is not specified, then the first panel is taken by default.

+
+
+ + + + + + + + + + + +
Item IDProduct IDList PriceUnit CostAttributeStatus
+
+
+ + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/calendar/basic.html b/src/main/webapp/lib/jquery-easyui/demo/calendar/basic.html new file mode 100644 index 0000000..9d0d672 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/calendar/basic.html @@ -0,0 +1,19 @@ + + + + + Basic Calendar - jQuery EasyUI Demo + + + + + + + +

Basic Calendar

+

Click to select date.

+
+
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/calendar/custom.html b/src/main/webapp/lib/jquery-easyui/demo/calendar/custom.html new file mode 100644 index 0000000..7c570e6 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/calendar/custom.html @@ -0,0 +1,46 @@ + + + + + Custom Calendar - jQuery EasyUI Demo + + + + + + + +

Custom Calendar

+

This example shows how to custom the calendar date by using 'formatter' function.

+
+ +
+ + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/calendar/disabledate.html b/src/main/webapp/lib/jquery-easyui/demo/calendar/disabledate.html new file mode 100644 index 0000000..0b1edeb --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/calendar/disabledate.html @@ -0,0 +1,28 @@ + + + + + Disable Calendar Date - jQuery EasyUI Demo + + + + + + + +

Disable Calendar Date

+

This example shows how to disable specified dates, only allows the user to select Mondays.

+
+ +
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/calendar/firstday.html b/src/main/webapp/lib/jquery-easyui/demo/calendar/firstday.html new file mode 100644 index 0000000..dd414c5 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/calendar/firstday.html @@ -0,0 +1,30 @@ + + + + + First Day of Week - jQuery EasyUI Demo + + + + + + + +

First Day of Week

+

Choose the first day of the week.

+ +
+ +
+ +
+ + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/calendar/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/calendar/fluid.html new file mode 100644 index 0000000..3ca0fae --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/calendar/fluid.html @@ -0,0 +1,23 @@ + + + + + Fluid Calendar - jQuery EasyUI Demo + + + + + + + +

Fluid Calendar

+

This example shows how to set the width of calendar to a percentage of its parent container.

+
+
+

width: 50%, height: 250px

+
+

width: 30%, height: 40%

+
+
+ + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combo/animation.html b/src/main/webapp/lib/jquery-easyui/demo/combo/animation.html new file mode 100644 index 0000000..7a93117 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combo/animation.html @@ -0,0 +1,36 @@ + + + + + Combo Animation - jQuery EasyUI Demo + + + + + + + +

Combo Animation

+

Change the animation type when open & close the drop-down panel.

+
+ Animation Type: + +
+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combo/basic.html b/src/main/webapp/lib/jquery-easyui/demo/combo/basic.html new file mode 100644 index 0000000..cba9b8d --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combo/basic.html @@ -0,0 +1,42 @@ + + + + + Basic Combo - jQuery EasyUI Demo + + + + + + + +

Basic Combo

+

Click the right arrow button to show drop down panel that can be filled with any content.

+
+ +
+
Select a language
+
+ Java
+ C#
+ Ruby
+ Basic
+ Fortran +
+
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combobox/actions.html b/src/main/webapp/lib/jquery-easyui/demo/combobox/actions.html new file mode 100644 index 0000000..d2605fc --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combobox/actions.html @@ -0,0 +1,86 @@ + + + + + ComboBox Actions - jQuery EasyUI Demo + + + + + + + +

ComboBox

+

Click the buttons below to perform actions.

+ + + + + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combobox/basic.html b/src/main/webapp/lib/jquery-easyui/demo/combobox/basic.html new file mode 100644 index 0000000..bfa2b34 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combobox/basic.html @@ -0,0 +1,71 @@ + + + + + Basic ComboBox - jQuery EasyUI Demo + + + + + + + +

Basic ComboBox

+

Type in ComboBox to try auto complete.

+
+ + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combobox/combobox_data1.json b/src/main/webapp/lib/jquery-easyui/demo/combobox/combobox_data1.json new file mode 100644 index 0000000..8bfba76 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combobox/combobox_data1.json @@ -0,0 +1,22 @@ +[{ + "id":1, + "text":"Java", + "desc":"Write once, run anywhere" +},{ + "id":2, + "text":"C#", + "desc":"One of the programming languages designed for the Common Language Infrastructure" +},{ + "id":3, + "text":"Ruby", + "selected":true, + "desc":"A dynamic, reflective, general-purpose object-oriented programming language" +},{ + "id":4, + "text":"Perl", + "desc":"A high-level, general-purpose, interpreted, dynamic programming language" +},{ + "id":5, + "text":"Basic", + "desc":"A family of general-purpose, high-level programming languages" +}] \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combobox/combobox_data2.json b/src/main/webapp/lib/jquery-easyui/demo/combobox/combobox_data2.json new file mode 100644 index 0000000..fcaca4f --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combobox/combobox_data2.json @@ -0,0 +1,47 @@ +[{ + "value":"f20", + "text":"Firefox 2.0 or higher", + "group":"Firefox" +},{ + "value":"f15", + "text":"Firefox 1.5.x", + "group":"Firefox" +},{ + "value":"f10", + "text":"Firefox 1.0.x", + "group":"Firefox" +},{ + "value":"ie7", + "text":"Microsoft Internet Explorer 7.0 or higher", + "group":"Microsoft Internet Explorer" +},{ + "value":"ie6", + "text":"Microsoft Internet Explorer 6.x", + "group":"Microsoft Internet Explorer" +},{ + "value":"ie5", + "text":"Microsoft Internet Explorer 5.x", + "group":"Microsoft Internet Explorer" +},{ + "value":"ie4", + "text":"Microsoft Internet Explorer 4.x", + "group":"Microsoft Internet Explorer" +},{ + "value":"op9", + "text":"Opera 9.0 or higher", + "group":"Opera" +},{ + "value":"op8", + "text":"Opera 8.x", + "group":"Opera" +},{ + "value":"op7", + "text":"Opera 7.x", + "group":"Opera" +},{ + "value":"Safari", + "text":"Safari" +},{ + "value":"Other", + "text":"Other" +}] \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combobox/customformat.html b/src/main/webapp/lib/jquery-easyui/demo/combobox/customformat.html new file mode 100644 index 0000000..82664ea --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combobox/customformat.html @@ -0,0 +1,33 @@ + + + + + Custom Format in ComboBox - jQuery EasyUI Demo + + + + + + + +

Custom Format in ComboBox

+

This sample shows how to custom the format of list item.

+
+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combobox/dynamicdata.html b/src/main/webapp/lib/jquery-easyui/demo/combobox/dynamicdata.html new file mode 100644 index 0000000..1857e48 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combobox/dynamicdata.html @@ -0,0 +1,23 @@ + + + + + Load Dynamic ComboBox Data - jQuery EasyUI Demo + + + + + + + +

Load Dynamic ComboBox Data

+

Click the button below to load data.

+ +
+ LoadData +
+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combobox/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/combobox/fluid.html new file mode 100644 index 0000000..e621fae --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combobox/fluid.html @@ -0,0 +1,36 @@ + + + + + Fluid ComboBox - jQuery EasyUI Demo + + + + + + + +

Fluid ComboBox

+

This example shows how to set the width of combobox to a percentage of its parent container.

+
+

width: 50%

+ +

width: 30%

+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combobox/group.html b/src/main/webapp/lib/jquery-easyui/demo/combobox/group.html new file mode 100644 index 0000000..d1431b7 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combobox/group.html @@ -0,0 +1,26 @@ + + + + + Group ComboBox - jQuery EasyUI Demo + + + + + + + +

Group ComboBox

+

This example shows how to display combobox items in groups.

+
+ + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combobox/icons.html b/src/main/webapp/lib/jquery-easyui/demo/combobox/icons.html new file mode 100644 index 0000000..4defb0a --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combobox/icons.html @@ -0,0 +1,32 @@ + + + + + ComboBox with Extra Icons- jQuery EasyUI Demo + + + + + + + +

ComboBox with Extra Icons

+

The user can attach extra icons to the ComboBox.

+
+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combobox/multiline.html b/src/main/webapp/lib/jquery-easyui/demo/combobox/multiline.html new file mode 100644 index 0000000..2b8d156 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combobox/multiline.html @@ -0,0 +1,71 @@ + + + + + Multiline ComboBox - jQuery EasyUI Demo + + + + + + + +

Multiline ComboBox

+

This example shows how to create a multiline ComboBox.

+
+ + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combobox/multiple.html b/src/main/webapp/lib/jquery-easyui/demo/combobox/multiple.html new file mode 100644 index 0000000..3eb2526 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combobox/multiple.html @@ -0,0 +1,29 @@ + + + + + Multiple Select - jQuery EasyUI Demo + + + + + + + +

Load Dynamic ComboBox Data

+

Drop down the panel and select multiple items.

+
+ + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combobox/navigation.html b/src/main/webapp/lib/jquery-easyui/demo/combobox/navigation.html new file mode 100644 index 0000000..4299d42 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combobox/navigation.html @@ -0,0 +1,73 @@ + + + + + Navigate ComboBox - jQuery EasyUI Demo + + + + + + + +

Navigate ComboBox

+

Navigate through combobox items width keyboard to select an item.

+
+ + SelectOnNavigation +
+ + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combobox/remotedata.html b/src/main/webapp/lib/jquery-easyui/demo/combobox/remotedata.html new file mode 100644 index 0000000..42dda5d --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combobox/remotedata.html @@ -0,0 +1,27 @@ + + + + + Binding to Remote Data - jQuery EasyUI Demo + + + + + + + +

Binding to Remote Data

+

The ComboBox is bound to a remote data.

+
+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combobox/remotejsonp.html b/src/main/webapp/lib/jquery-easyui/demo/combobox/remotejsonp.html new file mode 100644 index 0000000..9cfbebd --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combobox/remotejsonp.html @@ -0,0 +1,51 @@ + + + + + Remote JSONP - jQuery EasyUI Demo + + + + + + + +

Remote JSONP

+

This sample shows how to use JSONP to retrieve data from a remote site.

+
+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combogrid/actions.html b/src/main/webapp/lib/jquery-easyui/demo/combogrid/actions.html new file mode 100644 index 0000000..e09588a --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combogrid/actions.html @@ -0,0 +1,53 @@ + + + + + ComboGrid Actions - jQuery EasyUI Demo + + + + + + + +

ComboGrid Actions

+

Click the buttons below to perform actions.

+ + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combogrid/basic.html b/src/main/webapp/lib/jquery-easyui/demo/combogrid/basic.html new file mode 100644 index 0000000..9c71e52 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combogrid/basic.html @@ -0,0 +1,34 @@ + + + + + Basic ComboGrid - jQuery EasyUI Demo + + + + + + + +

Basic ComboGrid

+

Click the right arrow button to show the DataGrid.

+
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combogrid/datagrid_data1.json b/src/main/webapp/lib/jquery-easyui/demo/combogrid/datagrid_data1.json new file mode 100644 index 0000000..3a62a71 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combogrid/datagrid_data1.json @@ -0,0 +1,12 @@ +{"total":28,"rows":[ + {"productid":"FI-SW-01","productname":"Koi","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"}, + {"productid":"K9-DL-01","productname":"Dalmation","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"}, + {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":38.50,"attr1":"Venomless","itemid":"EST-11"}, + {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":26.50,"attr1":"Rattleless","itemid":"EST-12"}, + {"selected":true,"productid":"RP-LI-02","productname":"Iguana","unitcost":12.00,"status":"P","listprice":35.50,"attr1":"Green Adult","itemid":"EST-13"}, + {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":158.50,"attr1":"Tailless","itemid":"EST-14"}, + {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":83.50,"attr1":"With tail","itemid":"EST-15"}, + {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":23.50,"attr1":"Adult Female","itemid":"EST-16"}, + {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":89.50,"attr1":"Adult Male","itemid":"EST-17"}, + {"productid":"AV-CB-01","productname":"Amazon Parrot","unitcost":92.00,"status":"P","listprice":63.50,"attr1":"Adult Male","itemid":"EST-18"} +]} diff --git a/src/main/webapp/lib/jquery-easyui/demo/combogrid/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/combogrid/fluid.html new file mode 100644 index 0000000..edf7fdb --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combogrid/fluid.html @@ -0,0 +1,54 @@ + + + + + Fluid ComboGrid - jQuery EasyUI Demo + + + + + + + +

Fluid ComboGrid

+

This example shows how to set the width of ComboGrid to a percentage of its parent container.

+
+

width: 50%

+ +

width: 30%

+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combogrid/initvalue.html b/src/main/webapp/lib/jquery-easyui/demo/combogrid/initvalue.html new file mode 100644 index 0000000..b88f245 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combogrid/initvalue.html @@ -0,0 +1,33 @@ + + + + + Initialize Value for ComboGrid - jQuery EasyUI Demo + + + + + + + +

Initialize Value for ComboGrid

+

Initialize value when ComboGrid is created.

+
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combogrid/multiple.html b/src/main/webapp/lib/jquery-easyui/demo/combogrid/multiple.html new file mode 100644 index 0000000..8f9cc80 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combogrid/multiple.html @@ -0,0 +1,37 @@ + + + + + Multiple ComboGrid - jQuery EasyUI Demo + + + + + + + +

Multiple ComboGrid

+

Click the right arrow button to show the DataGrid and select items.

+
+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combogrid/navigation.html b/src/main/webapp/lib/jquery-easyui/demo/combogrid/navigation.html new file mode 100644 index 0000000..646ba82 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combogrid/navigation.html @@ -0,0 +1,38 @@ + + + + + Navigate ComboGrid - jQuery EasyUI Demo + + + + + + + +

Navigate ComboGrid

+

Navigate through grid items with keyboard to select an item.

+
+ + SelectOnNavigation +
+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combotree/actions.html b/src/main/webapp/lib/jquery-easyui/demo/combotree/actions.html new file mode 100644 index 0000000..d5d86a3 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combotree/actions.html @@ -0,0 +1,39 @@ + + + + + ComboTree Actions - jQuery EasyUI Demo + + + + + + + +

ComboTree Actions

+

Click the buttons below to perform actions

+ + + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combotree/basic.html b/src/main/webapp/lib/jquery-easyui/demo/combotree/basic.html new file mode 100644 index 0000000..c168d7a --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combotree/basic.html @@ -0,0 +1,19 @@ + + + + + Basic ComboTree - jQuery EasyUI Demo + + + + + + + +

Basic ComboTree

+

Click the right arrow button to show the tree panel.

+
+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combotree/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/combotree/fluid.html new file mode 100644 index 0000000..be131de --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combotree/fluid.html @@ -0,0 +1,22 @@ + + + + + Fluid ComboTree - jQuery EasyUI Demo + + + + + + + +

Fluid ComboTree

+

This example shows how to set the width of ComboTree to a percentage of its parent container.

+
+

width: 50%

+ +

width: 30%, height: 26px

+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combotree/initvalue.html b/src/main/webapp/lib/jquery-easyui/demo/combotree/initvalue.html new file mode 100644 index 0000000..a5ac8a8 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combotree/initvalue.html @@ -0,0 +1,19 @@ + + + + + Initialize Value for ComboTree - jQuery EasyUI Demo + + + + + + + +

Initialize Value for ComboTree

+

Initialize Value when ComboTree is created.

+
+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combotree/multiple.html b/src/main/webapp/lib/jquery-easyui/demo/combotree/multiple.html new file mode 100644 index 0000000..704e86e --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combotree/multiple.html @@ -0,0 +1,22 @@ + + + + + Multiple ComboTree - jQuery EasyUI Demo + + + + + + + +

Multiple ComboTree

+

Click the right arrow button to show the tree panel and select multiple nodes.

+
+ Cascade Check: + +
+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/combotree/tree_data1.json b/src/main/webapp/lib/jquery-easyui/demo/combotree/tree_data1.json new file mode 100644 index 0000000..83fb0d6 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/combotree/tree_data1.json @@ -0,0 +1,49 @@ +[{ + "id":1, + "text":"My Documents", + "children":[{ + "id":11, + "text":"Photos", + "state":"closed", + "children":[{ + "id":111, + "text":"Friend" + },{ + "id":112, + "text":"Wife" + },{ + "id":113, + "text":"Company" + }] + },{ + "id":12, + "text":"Program Files", + "children":[{ + "id":121, + "text":"Intel" + },{ + "id":122, + "text":"Java", + "attributes":{ + "p1":"Custom Attribute1", + "p2":"Custom Attribute2" + } + },{ + "id":123, + "text":"Microsoft Office" + },{ + "id":124, + "text":"Games", + "checked":true + }] + },{ + "id":13, + "text":"index.html" + },{ + "id":14, + "text":"about.html" + },{ + "id":15, + "text":"welcome.html" + }] +}] diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/aligncolumns.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/aligncolumns.html new file mode 100644 index 0000000..cc86de6 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/aligncolumns.html @@ -0,0 +1,32 @@ + + + + + Aligning Columns in DataGrid - jQuery EasyUI Demo + + + + + + + +

Aligning Columns in DataGrid

+

Use align and halign properties to set the alignment of the columns and their header.

+
+ + + + + + + + + + + + +
Item IDProductList PriceUnit CostAttributeStatus
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/basic.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/basic.html new file mode 100644 index 0000000..8dcc2f3 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/basic.html @@ -0,0 +1,32 @@ + + + + + Basic DataGrid - jQuery EasyUI Demo + + + + + + + +

Basic DataGrid

+

The DataGrid is created from markup, no JavaScript code needed.

+
+ + + + + + + + + + + + +
Item IDProductList PriceUnit CostAttributeStatus
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/cacheeditor.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/cacheeditor.html new file mode 100644 index 0000000..c793c42 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/cacheeditor.html @@ -0,0 +1,149 @@ + + + + + Cache Editor for DataGrid - jQuery EasyUI Demo + + + + + + + +

Cache Editor for DataGrid

+

This example shows how to cache the editors for datagrid to improve the editing speed.

+
+ + + + + + + + + + + + +
Item IDProductList PriceUnit CostAttributeStatus
+ + + + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/cellediting.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/cellediting.html new file mode 100644 index 0000000..e67b1bf --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/cellediting.html @@ -0,0 +1,79 @@ + + + + + Cell Editing in DataGrid - jQuery EasyUI Demo + + + + + + + +

Cell Editing in DataGrid

+

Click a cell to start editing.

+
+ + + + + + + + + + + + +
Item IDProductList PriceUnit CostAttributeStatus
+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/cellstyle.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/cellstyle.html new file mode 100644 index 0000000..3140fa3 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/cellstyle.html @@ -0,0 +1,42 @@ + + + + + DataGrid Cell Style - jQuery EasyUI Demo + + + + + + + +

DataGrid Cell Style

+

The cells which listprice value is less than 30 are highlighted.

+
+ + + + + + + + + + + +
Item IDProductList PriceUnit CostAttributeStatus
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/checkbox.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/checkbox.html new file mode 100644 index 0000000..3ea251d --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/checkbox.html @@ -0,0 +1,42 @@ + + + + + CheckBox Selection on DataGrid - jQuery EasyUI Demo + + + + + + + +

CheckBox Selection on DataGrid

+

Click the checkbox on header to select or unselect all selections.

+
+ + + + + + + + + + + + + +
Item IDProductList PriceUnit CostAttributeStatus
+
+ Selection Mode: +
+ SelectOnCheck:
+ CheckOnSelect: +
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/clientpagination.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/clientpagination.html new file mode 100644 index 0000000..960a1a3 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/clientpagination.html @@ -0,0 +1,89 @@ + + + + + Client Side Pagination in DataGrid - jQuery EasyUI Demo + + + + + + + +

Client Side Pagination in DataGrid

+

This sample shows how to implement client side pagination in DataGrid.

+
+ + + + + + + + + + + + + +
Inv NoDateNameAmountPriceCostNote
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/columngroup.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/columngroup.html new file mode 100644 index 0000000..af8f0f9 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/columngroup.html @@ -0,0 +1,34 @@ + + + + + Column Group - jQuery EasyUI Demo + + + + + + + +

Column Group

+

The header cells can be merged. Useful to group columns under a category.

+
+ + + + + + + + + + + + + + +
Item IDProductItem Details
List PriceUnit CostAttributeStatus
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/complextoolbar.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/complextoolbar.html new file mode 100644 index 0000000..2ee44a5 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/complextoolbar.html @@ -0,0 +1,50 @@ + + + + + DataGrid Complex Toolbar - jQuery EasyUI Demo + + + + + + + +

DataGrid Complex Toolbar

+

The DataGrid toolbar can be defined from a <div> markup, so you can define the layout of toolbar easily.

+
+ + + + + + + + + + + +
Item IDProductList PriceUnit CostAttributeStatus
+
+ Date From: + To: + Language: + + Search +
+
+ + + + + +
+ + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/contextmenu.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/contextmenu.html new file mode 100644 index 0000000..e9a64fa --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/contextmenu.html @@ -0,0 +1,81 @@ + + + + + Context Menu on DataGrid - jQuery EasyUI Demo + + + + + + + +

Context Menu on DataGrid

+

Right click on the header of DataGrid to display context menu.

+
+
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/custompager.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/custompager.html new file mode 100644 index 0000000..baa66a4 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/custompager.html @@ -0,0 +1,53 @@ + + + + + Custom DataGrid Pager - jQuery EasyUI Demo + + + + + + + +

Custom DataGrid Pager

+

You can append some buttons to the standard datagrid pager bar.

+
+ + + + + + + + + + + +
Item IDProductList PriceUnit CostAttributeStatus
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/datagrid_data1.json b/src/main/webapp/lib/jquery-easyui/demo/datagrid/datagrid_data1.json new file mode 100644 index 0000000..e9a5be2 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/datagrid_data1.json @@ -0,0 +1,12 @@ +{"total":28,"rows":[ + {"productid":"FI-SW-01","productname":"Koi","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"}, + {"productid":"K9-DL-01","productname":"Dalmation","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"}, + {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":38.50,"attr1":"Venomless","itemid":"EST-11"}, + {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":26.50,"attr1":"Rattleless","itemid":"EST-12"}, + {"productid":"RP-LI-02","productname":"Iguana","unitcost":12.00,"status":"P","listprice":35.50,"attr1":"Green Adult","itemid":"EST-13"}, + {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":158.50,"attr1":"Tailless","itemid":"EST-14"}, + {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":83.50,"attr1":"With tail","itemid":"EST-15"}, + {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":23.50,"attr1":"Adult Female","itemid":"EST-16"}, + {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":89.50,"attr1":"Adult Male","itemid":"EST-17"}, + {"productid":"AV-CB-01","productname":"Amazon Parrot","unitcost":92.00,"status":"P","listprice":63.50,"attr1":"Adult Male","itemid":"EST-18"} +]} diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/datagrid_data2.json b/src/main/webapp/lib/jquery-easyui/demo/datagrid/datagrid_data2.json new file mode 100644 index 0000000..4a27e14 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/datagrid_data2.json @@ -0,0 +1,15 @@ +{"total":28,"rows":[ + {"productid":"FI-SW-01","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"}, + {"productid":"K9-DL-01","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"}, + {"productid":"RP-SN-01","unitcost":12.00,"status":"P","listprice":28.50,"attr1":"Venomless","itemid":"EST-11"}, + {"productid":"RP-SN-01","unitcost":12.00,"status":"P","listprice":26.50,"attr1":"Rattleless","itemid":"EST-12"}, + {"productid":"RP-LI-02","unitcost":12.00,"status":"P","listprice":35.50,"attr1":"Green Adult","itemid":"EST-13"}, + {"productid":"FL-DSH-01","unitcost":12.00,"status":"P","listprice":158.50,"attr1":"Tailless","itemid":"EST-14"}, + {"productid":"FL-DSH-01","unitcost":12.00,"status":"P","listprice":83.50,"attr1":"With tail","itemid":"EST-15"}, + {"productid":"FL-DLH-02","unitcost":12.00,"status":"P","listprice":63.50,"attr1":"Adult Female","itemid":"EST-16"}, + {"productid":"FL-DLH-02","unitcost":12.00,"status":"P","listprice":89.50,"attr1":"Adult Male","itemid":"EST-17"}, + {"productid":"AV-CB-01","unitcost":92.00,"status":"P","listprice":63.50,"attr1":"Adult Male","itemid":"EST-18"} +],"footer":[ + {"unitcost":19.80,"listprice":60.40,"productid":"Average:"}, + {"unitcost":198.00,"listprice":604.00,"productid":"Total:"} +]} diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/fluid.html new file mode 100644 index 0000000..b67e9ca --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/fluid.html @@ -0,0 +1,32 @@ + + + + + Fluid DataGrid - jQuery EasyUI Demo + + + + + + + +

Fluid DataGrid

+

This example shows how to assign percentage width to a column in DataGrid.

+
+ + + + + + + + + + + + +
Item ID(15%)Product(15%)List Price(15%)Unit Cost(15%)Attribute(25%)Status(15%)
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/footer.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/footer.html new file mode 100644 index 0000000..53a3fbd --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/footer.html @@ -0,0 +1,38 @@ + + + + + Footer Rows in DataGrid - jQuery EasyUI Demo + + + + + + + +

Footer Rows in DataGrid

+

The summary informations can be displayed in footer rows.

+
+ + + + + + + + + + + +
Item IDProduct IDList PriceUnit CostAttributeStatus
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/formatcolumns.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/formatcolumns.html new file mode 100644 index 0000000..c2b0076 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/formatcolumns.html @@ -0,0 +1,39 @@ + + + + + Format DataGrid Columns - jQuery EasyUI Demo + + + + + + + +

Format DataGrid Columns

+

The list price value will show red color when less than 30.

+
+ + + + + + + + + + + +
Item IDProductList PriceUnit CostAttributeStatus
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/frozencolumns.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/frozencolumns.html new file mode 100644 index 0000000..2bc21b1 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/frozencolumns.html @@ -0,0 +1,35 @@ + + + + + Frozen Columns in DataGrid - jQuery EasyUI Demo + + + + + + + +

Frozen Columns in DataGrid

+

You can freeze some columns that can't scroll out of view.

+
+ + + + + + + + + + + + + + + +
Item IDProduct
List PriceUnit CostAttributeStatus
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/frozenrows.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/frozenrows.html new file mode 100644 index 0000000..72310dd --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/frozenrows.html @@ -0,0 +1,44 @@ + + + + + Frozen Rows in DataGrid - jQuery EasyUI Demo + + + + + + + +

Frozen Rows in DataGrid

+

This sample shows how to freeze some rows that will always be displayed at the top when the datagrid is scrolled down.

+
+ + + + + + + + + + + + + + + +
Item IDProduct
List PriceUnit CostAttributeStatus
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/mergecells.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/mergecells.html new file mode 100644 index 0000000..a50f934 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/mergecells.html @@ -0,0 +1,58 @@ + + + + + Merge Cells for DataGrid - jQuery EasyUI Demo + + + + + + + +

Merge Cells for DataGrid

+

Cells in DataGrid body can be merged.

+
+ + + + + + + + + + + +
ProductItem IDList PriceUnit CostAttributeStatus
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/multisorting.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/multisorting.html new file mode 100644 index 0000000..a04c3ef --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/multisorting.html @@ -0,0 +1,37 @@ + + + + + Multiple Sorting - jQuery EasyUI Demo + + + + + + + +

Multiple Sorting

+

Set 'multiSort' property to true to enable multiple column sorting.

+
+ + + + + + + + + + + + +
Item IDProductList PriceUnit CostAttributeStatus
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/products.json b/src/main/webapp/lib/jquery-easyui/demo/datagrid/products.json new file mode 100644 index 0000000..2c512bc --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/products.json @@ -0,0 +1,9 @@ +[ +{"productid":"FI-SW-01","productname":"Koi"}, +{"productid":"K9-DL-01","productname":"Dalmation"}, +{"productid":"RP-SN-01","productname":"Rattlesnake"}, +{"productid":"RP-LI-02","productname":"Iguana"}, +{"productid":"FL-DSH-01","productname":"Manx"}, +{"productid":"FL-DLH-02","productname":"Persian"}, +{"productid":"AV-CB-01","productname":"Amazon Parrot"} +] diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/rowborder.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/rowborder.html new file mode 100644 index 0000000..24a18b7 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/rowborder.html @@ -0,0 +1,60 @@ + + + + + Row Border in DataGrid - jQuery EasyUI Demo + + + + + + + +

Row Border in DataGrid

+

This sample shows how to change the row border style of datagrid.

+
+ Border: + + Striped: + +
+ + + + + + + + + + + +
Item IDProductList PriceUnit CostAttributeStatus
+ + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/rowediting.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/rowediting.html new file mode 100644 index 0000000..0bde624 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/rowediting.html @@ -0,0 +1,114 @@ + + + + + Row Editing in DataGrid - jQuery EasyUI Demo + + + + + + + +

Row Editing in DataGrid

+

Click the row to start editing.

+
+ + + + + + + + + + + + +
Item IDProductList PriceUnit CostAttributeStatus
+ + + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/rowstyle.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/rowstyle.html new file mode 100644 index 0000000..d65a5c8 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/rowstyle.html @@ -0,0 +1,41 @@ + + + + + DataGrid Row Style - jQuery EasyUI Demo + + + + + + + +

DataGrid Row Style

+

The rows which listprice value is less than 30 are highlighted.

+
+ + + + + + + + + + + +
Item IDProductList PriceUnit CostAttributeStatus
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/selection.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/selection.html new file mode 100644 index 0000000..1118561 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/selection.html @@ -0,0 +1,57 @@ + + + + + DataGrid Selection - jQuery EasyUI Demo + + + + + + + +

DataGrid Selection

+

Choose a selection mode and select one or more rows.

+ + + + + + + + + + + + +
Item IDProductList PriceUnit CostAttributeStatus
+
+ Selection Mode: + +
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/simpletoolbar.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/simpletoolbar.html new file mode 100644 index 0000000..cbb918b --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/simpletoolbar.html @@ -0,0 +1,45 @@ + + + + + DataGrid with Toolbar - jQuery EasyUI Demo + + + + + + + +

DataGrid with Toolbar

+

Put buttons on top toolbar of DataGrid.

+
+ + + + + + + + + + + +
Item IDProductList PriceUnit CostAttributeStatus
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datagrid/transform.html b/src/main/webapp/lib/jquery-easyui/demo/datagrid/transform.html new file mode 100644 index 0000000..ddc3a30 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datagrid/transform.html @@ -0,0 +1,46 @@ + + + + + Transform DataGrid from Table - jQuery EasyUI Demo + + + + + + + +

Transform DataGrid from Table

+

Transform DataGrid from an existing, unformatted html table.

+
+ Transform +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Item IDProductList PriceAttribute
EST-1FI-SW-0136.50Large
EST-10K9-DL-0118.50Spotted Adult Female
EST-11RP-SN-0128.50Venomless
EST-12RP-SN-0126.50Rattleless
EST-13RP-LI-0235.50Green Adult
+ + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datebox/basic.html b/src/main/webapp/lib/jquery-easyui/demo/datebox/basic.html new file mode 100644 index 0000000..eb3417b --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datebox/basic.html @@ -0,0 +1,18 @@ + + + + + Basic DateBox - jQuery EasyUI Demo + + + + + + + +

Basic DateBox

+

Click the calendar image on the right side.

+
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datebox/buttons.html b/src/main/webapp/lib/jquery-easyui/demo/datebox/buttons.html new file mode 100644 index 0000000..7ba5e5c --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datebox/buttons.html @@ -0,0 +1,28 @@ + + + + + DateBox Buttons - jQuery EasyUI Demo + + + + + + + +

DateBox Buttons

+

This example shows how to customize the datebox buttons underneath the calendar.

+
+ + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datebox/dateformat.html b/src/main/webapp/lib/jquery-easyui/demo/datebox/dateformat.html new file mode 100644 index 0000000..ead2064 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datebox/dateformat.html @@ -0,0 +1,39 @@ + + + + + Date Format - jQuery EasyUI Demo + + + + + + + +

Date Format

+

Different date formats are applied to different DateBox components.

+
+ + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datebox/events.html b/src/main/webapp/lib/jquery-easyui/demo/datebox/events.html new file mode 100644 index 0000000..bf5c912 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datebox/events.html @@ -0,0 +1,27 @@ + + + + + DateBox Events - jQuery EasyUI Demo + + + + + + + +

DateBox Events

+

Click the calendar image on the right side.

+
+ +
+ Selected Date: + +
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datebox/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/datebox/fluid.html new file mode 100644 index 0000000..b30f70a --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datebox/fluid.html @@ -0,0 +1,21 @@ + + + + + Fluid DateBox - jQuery EasyUI Demo + + + + + + + +

Fluid DateBox

+

This example shows how to set the width of DateBox to a percentage of its parent container.

+
+

width: 50%

+ +

width: 30%

+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datebox/restrict.html b/src/main/webapp/lib/jquery-easyui/demo/datebox/restrict.html new file mode 100644 index 0000000..84c8884 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datebox/restrict.html @@ -0,0 +1,30 @@ + + + + + Restrict Date Range in DateBox - jQuery EasyUI Demo + + + + + + + +

Restrict Date Range in DateBox

+

This example shows how to restrict the user to select only ten days from now.

+
+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datebox/sharedcalendar.html b/src/main/webapp/lib/jquery-easyui/demo/datebox/sharedcalendar.html new file mode 100644 index 0000000..48c3c1e --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datebox/sharedcalendar.html @@ -0,0 +1,30 @@ + + + + + Shared Calendar in DateBox - jQuery EasyUI Demo + + + + + + + +

Shared Calendar in DateBox

+

Multiple datebox components can share a calendar and use it to pick dates.

+
+ + + + + + + +
Start Date: + + End Date: + +
+
+ + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datebox/validate.html b/src/main/webapp/lib/jquery-easyui/demo/datebox/validate.html new file mode 100644 index 0000000..fae9b07 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datebox/validate.html @@ -0,0 +1,30 @@ + + + + + Validate DateBox - jQuery EasyUI Demo + + + + + + + +

Validate DateBox

+

When the selected date is greater than specified date. The field validator will raise an error.

+
+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datetimebox/basic.html b/src/main/webapp/lib/jquery-easyui/demo/datetimebox/basic.html new file mode 100644 index 0000000..a09f245 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datetimebox/basic.html @@ -0,0 +1,18 @@ + + + + + Basic DateTimeBox - jQuery EasyUI Demo + + + + + + + +

Basic DateTimeBox

+

Click the calendar image on the right side.

+
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datetimebox/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/datetimebox/fluid.html new file mode 100644 index 0000000..87b1ca2 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datetimebox/fluid.html @@ -0,0 +1,21 @@ + + + + + Fluid DateTimeBox - jQuery EasyUI Demo + + + + + + + +

Fluid DateTimeBox

+

This example shows how to set the width of DateTimeBox to a percentage of its parent container.

+
+

width: 50%

+ +

width: 30%

+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datetimebox/initvalue.html b/src/main/webapp/lib/jquery-easyui/demo/datetimebox/initvalue.html new file mode 100644 index 0000000..c9d2e11 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datetimebox/initvalue.html @@ -0,0 +1,19 @@ + + + + + Initialize Value for DateTime - jQuery EasyUI Demo + + + + + + + +

Initialize Value for DateTime

+

The value is initialized when DateTimeBox has been created.

+
+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datetimebox/showseconds.html b/src/main/webapp/lib/jquery-easyui/demo/datetimebox/showseconds.html new file mode 100644 index 0000000..54f9c37 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datetimebox/showseconds.html @@ -0,0 +1,22 @@ + + + + + Display Seconds - jQuery EasyUI Demo + + + + + + + +

Display Seconds

+

The user can decide to display seconds part or not.

+
+ Show Seconds: + +
+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datetimespinner/basic.html b/src/main/webapp/lib/jquery-easyui/demo/datetimespinner/basic.html new file mode 100644 index 0000000..1e30a71 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datetimespinner/basic.html @@ -0,0 +1,18 @@ + + + + + Basic DateTimeSpinner - jQuery EasyUI Demo + + + + + + + +

Basic DateTimeSpinner

+

Click spin button to adjust date and time.

+
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datetimespinner/clearicon.html b/src/main/webapp/lib/jquery-easyui/demo/datetimespinner/clearicon.html new file mode 100644 index 0000000..135bf29 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datetimespinner/clearicon.html @@ -0,0 +1,28 @@ + + + + + DateTimeSpinner with Clear Icon - jQuery EasyUI Demo + + + + + + + +

DateTimeSpinner with Clear Icon

+

A clear icon can be attached to the datetimespinner. Click it to clear the entered value.

+
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datetimespinner/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/datetimespinner/fluid.html new file mode 100644 index 0000000..eeca9b9 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datetimespinner/fluid.html @@ -0,0 +1,21 @@ + + + + + Fluid DateTimeSpinner - jQuery EasyUI Demo + + + + + + + +

Fluid DateTimeSpinner

+

The width of datetimespinner is set in percentages.

+
+

width: 50%

+ +

width: 30%

+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/datetimespinner/format.html b/src/main/webapp/lib/jquery-easyui/demo/datetimespinner/format.html new file mode 100644 index 0000000..427e186 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/datetimespinner/format.html @@ -0,0 +1,50 @@ + + + + + Format DateTimeSpinner - jQuery EasyUI Demo + + + + + + + +

Format DateTimeSpinner

+

The DataTimeSpinner value can be formatted by specifying the 'formatter' and 'parser' functions.

+
+

mm/dd/yyyy hh:mm

+ +

mm/dd/yyyy

+ +

yyyy-mm

+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/demo.css b/src/main/webapp/lib/jquery-easyui/demo/demo.css new file mode 100644 index 0000000..5c01467 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/demo.css @@ -0,0 +1,21 @@ +*{ + font-size:12px; +} +body { + font-family:verdana,helvetica,arial,sans-serif; + padding:20px; + font-size:12px; + margin:0; +} +h2 { + font-size:18px; + font-weight:bold; + margin:0; + margin-bottom:15px; +} +.demo-info{ + padding:0 0 12px 0; +} +.demo-tip{ + display:none; +} diff --git a/src/main/webapp/lib/jquery-easyui/demo/dialog/basic.html b/src/main/webapp/lib/jquery-easyui/demo/dialog/basic.html new file mode 100644 index 0000000..e745b37 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/dialog/basic.html @@ -0,0 +1,23 @@ + + + + + Basic Dialog - jQuery EasyUI Demo + + + + + + + +

Basic Dialog

+

Click below button to open or close dialog.

+
+ Open + Close +
+
+ The dialog content. +
+ + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/dialog/complextoolbar.html b/src/main/webapp/lib/jquery-easyui/demo/dialog/complextoolbar.html new file mode 100644 index 0000000..175fa73 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/dialog/complextoolbar.html @@ -0,0 +1,46 @@ + + + + + Complex Toolbar on Dialog - jQuery EasyUI Demo + + + + + + + +

Complex Toolbar on Dialog

+

This sample shows how to create complex toolbar on dialog.

+
+ Open + Close +
+
+ The dialog content. +
+
+ + + + + +
+ Edit + Help + + +
+
+
+ Save + Close +
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/dialog/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/dialog/fluid.html new file mode 100644 index 0000000..b9809f0 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/dialog/fluid.html @@ -0,0 +1,24 @@ + + + + + Fluid Dialog - jQuery EasyUI Demo + + + + + + + +

Fluid Dialog

+

This example shows how to set the width of Dialog to a percentage of its parent container.

+
+
+

width: 80%; height: 200px

+
+ + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/dialog/toolbarbuttons.html b/src/main/webapp/lib/jquery-easyui/demo/dialog/toolbarbuttons.html new file mode 100644 index 0000000..35013a5 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/dialog/toolbarbuttons.html @@ -0,0 +1,52 @@ + + + + + Toolbar and Buttons - jQuery EasyUI Demo + + + + + + + +

Toolbar and Buttons

+

The toolbar and buttons can be added to dialog.

+
+ Open + Close +
+
+ The dialog content. +
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/draggable/basic.html b/src/main/webapp/lib/jquery-easyui/demo/draggable/basic.html new file mode 100644 index 0000000..0c96a05 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/draggable/basic.html @@ -0,0 +1,21 @@ + + + + + Basic Draggable - jQuery EasyUI Demo + + + + + + + +

Basic Draggable

+

Move the boxes below by clicking on it with mouse.

+
+
+
+
Title
+
+ + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/draggable/constrain.html b/src/main/webapp/lib/jquery-easyui/demo/draggable/constrain.html new file mode 100644 index 0000000..a2dfa6c --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/draggable/constrain.html @@ -0,0 +1,35 @@ + + + + + Constrain Draggable - jQuery EasyUI Demo + + + + + + + +

Constrain Draggable

+

The draggable object can only be moved within its parent container.

+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/draggable/snap.html b/src/main/webapp/lib/jquery-easyui/demo/draggable/snap.html new file mode 100644 index 0000000..5f0103a --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/draggable/snap.html @@ -0,0 +1,37 @@ + + + + + Snap Draggable - jQuery EasyUI Demo + + + + + + + +

Snap Draggable

+

This sample shows how to snap a draggable object to a 20x20 grid.

+
+
+
+
+
+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/droppable/accept.html b/src/main/webapp/lib/jquery-easyui/demo/droppable/accept.html new file mode 100644 index 0000000..cf56d08 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/droppable/accept.html @@ -0,0 +1,78 @@ + + + + + Accept a Drop - jQuery EasyUI Demo + + + + + + + +

Accept a Drop

+

Some draggable object can not be accepted.

+
+
+ drag me! +
Drag 1
+
Drag 2
+
Drag 3
+
+
+ drop here! +
+
+ + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/droppable/basic.html b/src/main/webapp/lib/jquery-easyui/demo/droppable/basic.html new file mode 100644 index 0000000..ecf803a --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/droppable/basic.html @@ -0,0 +1,77 @@ + + + + + Basic Droppable - jQuery EasyUI Demo + + + + + + + +

Basic Droppable

+

Drag the boxed on left to the target area on right.

+
+
+
Source
+
+
Apple
+
Peach
+
Orange
+
+
+
+
Target
+
+
+
+
+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/droppable/sort.html b/src/main/webapp/lib/jquery-easyui/demo/droppable/sort.html new file mode 100644 index 0000000..37c0d2f --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/droppable/sort.html @@ -0,0 +1,71 @@ + + + + + Change Items Order - jQuery EasyUI Demo + + + + + + + +

Change Items Order

+

Drag the list items to change their order.

+
+
    +
  • Drag 1
  • +
  • Drag 2
  • +
  • Drag 3
  • +
  • Drag 4
  • +
  • Drag 5
  • +
  • Drag 6
  • +
+ + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/easyloader/basic.html b/src/main/webapp/lib/jquery-easyui/demo/easyloader/basic.html new file mode 100644 index 0000000..44a09eb --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/easyloader/basic.html @@ -0,0 +1,75 @@ + + + + + Basic EasyLoader - jQuery EasyUI Demo + + + + + + + +

Basic EasyLoader

+
+
+
Click the buttons below to load components dynamically.
+
+ +
+
+
+ + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/filebox/basic.html b/src/main/webapp/lib/jquery-easyui/demo/filebox/basic.html new file mode 100644 index 0000000..25cf5f7 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/filebox/basic.html @@ -0,0 +1,34 @@ + + + + + Basic FileBox - jQuery EasyUI Demo + + + + + + + +

Basic FileBox

+

The filebox component represents a file field of the forms.

+
+
+
+
Name:
+ +
+
+
File1:
+ +
+
+
File2:
+ +
+
+ Upload +
+
+ + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/filebox/buttonalign.html b/src/main/webapp/lib/jquery-easyui/demo/filebox/buttonalign.html new file mode 100644 index 0000000..f87d954 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/filebox/buttonalign.html @@ -0,0 +1,29 @@ + + + + + Button Align on FileBox - jQuery EasyUI Demo + + + + + + + +

Button Align on FileBox

+

Change the button align to the left or right of filebox.

+
+ Select Button Align: + +
+ + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/filebox/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/filebox/fluid.html new file mode 100644 index 0000000..ef32e48 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/filebox/fluid.html @@ -0,0 +1,21 @@ + + + + + Fluid FileBox - jQuery EasyUI Demo + + + + + + + +

Fluid FileBox

+

This example shows how to set the width of FileBox to a percentage of its parent container.

+
+

width: 50%

+ +

width: 30%

+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/form/basic.html b/src/main/webapp/lib/jquery-easyui/demo/form/basic.html new file mode 100644 index 0000000..65e25c2 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/form/basic.html @@ -0,0 +1,59 @@ + + + + + Basic Form - jQuery EasyUI Demo + + + + + + + +

Basic Form

+

Fill the form and submit it.

+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
Name:
Email:
Subject:
Message:
Language: + +
+
+
+ Submit + Clear +
+
+
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/form/form_data1.json b/src/main/webapp/lib/jquery-easyui/demo/form/form_data1.json new file mode 100644 index 0000000..7103c83 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/form/form_data1.json @@ -0,0 +1,7 @@ +{ + "name":"easyui", + "email":"easyui@gmail.com", + "subject":"Subject Title", + "message":"Message Content", + "language":"de" +} \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/form/load.html b/src/main/webapp/lib/jquery-easyui/demo/form/load.html new file mode 100644 index 0000000..8c0788d --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/form/load.html @@ -0,0 +1,68 @@ + + + + + Load Form Data - jQuery EasyUI Demo + + + + + + + +

Load Form Data

+

Click the buttons below to load form data.

+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + +
Name:
Email:
Subject:
Message:
Language: + +
+
+
+
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/form/validateonsubmit.html b/src/main/webapp/lib/jquery-easyui/demo/form/validateonsubmit.html new file mode 100644 index 0000000..15f8c5d --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/form/validateonsubmit.html @@ -0,0 +1,63 @@ + + + + + Validate Form on Submit - jQuery EasyUI Demo + + + + + + + +

Validate Form on Submit

+

The form does not perform validation before being submitted.

+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
Name:
Email:
Subject:
Message:
Language: + +
+
+
+ Submit + Clear +
+
+
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/layout/_content.html b/src/main/webapp/lib/jquery-easyui/demo/layout/_content.html new file mode 100644 index 0000000..66c1bd5 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/layout/_content.html @@ -0,0 +1,18 @@ + + + + + AJAX Content + + +

jQuery EasyUI framework help you build your web page easily.

+
    +
  • easyui is a collection of user-interface plugin based on jQuery.
  • +
  • easyui provides essential functionality for building modern, interactive, javascript applications.
  • +
  • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
  • +
  • complete framework for HTML5 web page.
  • +
  • easyui save your time and scales while developing your products.
  • +
  • easyui is very easy but powerful.
  • +
+ + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/layout/addremove.html b/src/main/webapp/lib/jquery-easyui/demo/layout/addremove.html new file mode 100644 index 0000000..34977c4 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/layout/addremove.html @@ -0,0 +1,53 @@ + + + + + Add and Remove Layout - jQuery EasyUI Demo + + + + + + + +

Add and Remove Layout

+

Click the buttons below to add or remove region panel of layout.

+
+ Select Region Panel: + + Add + Remove +
+
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/layout/autoheight.html b/src/main/webapp/lib/jquery-easyui/demo/layout/autoheight.html new file mode 100644 index 0000000..0c882f2 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/layout/autoheight.html @@ -0,0 +1,59 @@ + + + + + Auto Height for Layout - jQuery EasyUI Demo + + + + + + + +

Auto Height for Layout

+

This example shows how to auto adjust layout height after dynamically adding items.

+ +
+
+
+
+
+

Panel Content.

+

Panel Content.

+

Panel Content.

+

Panel Content.

+

Panel Content.

+
+
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/layout/basic.html b/src/main/webapp/lib/jquery-easyui/demo/layout/basic.html new file mode 100644 index 0000000..29e2c39 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/layout/basic.html @@ -0,0 +1,39 @@ + + + + + Basic Layout - jQuery EasyUI Demo + + + + + + + +

Basic Layout

+

The layout contains north,south,west,east and center regions.

+
+
+
+
+
+
+
+ + + + + + + + + + + +
Item IDProduct IDList PriceUnit CostAttributeStatus
+
+
+ + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/layout/complex.html b/src/main/webapp/lib/jquery-easyui/demo/layout/complex.html new file mode 100644 index 0000000..833eb09 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/layout/complex.html @@ -0,0 +1,57 @@ + + + + + Complex Layout - jQuery EasyUI Demo + + + + + + + +

Complex Layout

+

This sample shows how to create a complex layout.

+
+
+
+
+
+
    +
    +
    +
    +
    + content1 +
    +
    + content2 +
    +
    + content3 +
    +
    +
    +
    +
    +
    +
    + + + + + + + + + + + +
    Item IDProduct IDList PriceUnit CostAttributeStatus
    +
    +
    +
    +
    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/layout/datagrid_data1.json b/src/main/webapp/lib/jquery-easyui/demo/layout/datagrid_data1.json new file mode 100644 index 0000000..e9a5be2 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/layout/datagrid_data1.json @@ -0,0 +1,12 @@ +{"total":28,"rows":[ + {"productid":"FI-SW-01","productname":"Koi","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"}, + {"productid":"K9-DL-01","productname":"Dalmation","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"}, + {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":38.50,"attr1":"Venomless","itemid":"EST-11"}, + {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":26.50,"attr1":"Rattleless","itemid":"EST-12"}, + {"productid":"RP-LI-02","productname":"Iguana","unitcost":12.00,"status":"P","listprice":35.50,"attr1":"Green Adult","itemid":"EST-13"}, + {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":158.50,"attr1":"Tailless","itemid":"EST-14"}, + {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":83.50,"attr1":"With tail","itemid":"EST-15"}, + {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":23.50,"attr1":"Adult Female","itemid":"EST-16"}, + {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":89.50,"attr1":"Adult Male","itemid":"EST-17"}, + {"productid":"AV-CB-01","productname":"Amazon Parrot","unitcost":92.00,"status":"P","listprice":63.50,"attr1":"Adult Male","itemid":"EST-18"} +]} diff --git a/src/main/webapp/lib/jquery-easyui/demo/layout/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/layout/fluid.html new file mode 100644 index 0000000..42f8c55 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/layout/fluid.html @@ -0,0 +1,24 @@ + + + + + Fluid Layout - jQuery EasyUI Demo + + + + + + + +

    Fluid Layout

    +

    Percentage width of region panel in a layout.

    +
    +
    +
    +

    width: 30%

    +
    +
    +
    +
    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/layout/full.html b/src/main/webapp/lib/jquery-easyui/demo/layout/full.html new file mode 100644 index 0000000..c83bf07 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/layout/full.html @@ -0,0 +1,19 @@ + + + + + Full Layout - jQuery EasyUI Demo + + + + + + + +
    north region
    +
    west content
    +
    east region
    +
    south region
    +
    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/layout/nestedlayout.html b/src/main/webapp/lib/jquery-easyui/demo/layout/nestedlayout.html new file mode 100644 index 0000000..1f8cc04 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/layout/nestedlayout.html @@ -0,0 +1,31 @@ + + + + + Nested Layout - jQuery EasyUI Demo + + + + + + + +

    Nested Layout

    +

    The layout region panel contains another layout or other components.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/layout/nocollapsible.html b/src/main/webapp/lib/jquery-easyui/demo/layout/nocollapsible.html new file mode 100644 index 0000000..a6914a0 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/layout/nocollapsible.html @@ -0,0 +1,34 @@ + + + + + No collapsible button in Layout - jQuery EasyUI Demo + + + + + + + +

    No collapsible button in Layout

    +

    The layout region panel has no collapsible button.

    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/layout/propertygrid_data1.json b/src/main/webapp/lib/jquery-easyui/demo/layout/propertygrid_data1.json new file mode 100644 index 0000000..12b2d00 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/layout/propertygrid_data1.json @@ -0,0 +1,20 @@ +{"total":7,"rows":[ + {"name":"Name","value":"Bill Smith","group":"ID Settings","editor":"text"}, + {"name":"Address","value":"","group":"ID Settings","editor":"text"}, + {"name":"Age","value":"40","group":"ID Settings","editor":"numberbox"}, + {"name":"Birthday","value":"01/02/2012","group":"ID Settings","editor":"datebox"}, + {"name":"SSN","value":"123-456-7890","group":"ID Settings","editor":"text"}, + {"name":"Email","value":"bill@gmail.com","group":"Marketing Settings","editor":{ + "type":"validatebox", + "options":{ + "validType":"email" + } + }}, + {"name":"FrequentBuyer","value":"false","group":"Marketing Settings","editor":{ + "type":"checkbox", + "options":{ + "on":true, + "off":false + } + }} +]} \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/layout/tree_data1.json b/src/main/webapp/lib/jquery-easyui/demo/layout/tree_data1.json new file mode 100644 index 0000000..83fb0d6 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/layout/tree_data1.json @@ -0,0 +1,49 @@ +[{ + "id":1, + "text":"My Documents", + "children":[{ + "id":11, + "text":"Photos", + "state":"closed", + "children":[{ + "id":111, + "text":"Friend" + },{ + "id":112, + "text":"Wife" + },{ + "id":113, + "text":"Company" + }] + },{ + "id":12, + "text":"Program Files", + "children":[{ + "id":121, + "text":"Intel" + },{ + "id":122, + "text":"Java", + "attributes":{ + "p1":"Custom Attribute1", + "p2":"Custom Attribute2" + } + },{ + "id":123, + "text":"Microsoft Office" + },{ + "id":124, + "text":"Games", + "checked":true + }] + },{ + "id":13, + "text":"index.html" + },{ + "id":14, + "text":"about.html" + },{ + "id":15, + "text":"welcome.html" + }] +}] diff --git a/src/main/webapp/lib/jquery-easyui/demo/linkbutton/basic.html b/src/main/webapp/lib/jquery-easyui/demo/linkbutton/basic.html new file mode 100644 index 0000000..741d68c --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/linkbutton/basic.html @@ -0,0 +1,33 @@ + + + + + Basic LinkButton - jQuery EasyUI Demo + + + + + + + +

    Basic LinkButton

    +

    Buttons can be created from <a> or <button> elements.

    +
    +

    Basic Buttons

    +
    + Add + Remove + Save + Cut + Text Button +
    +

    Fixed Width Buttons

    +
    + Search + Print + Reload + Help +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/linkbutton/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/linkbutton/fluid.html new file mode 100644 index 0000000..b1027b9 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/linkbutton/fluid.html @@ -0,0 +1,33 @@ + + + + + Fluid LinkButton - jQuery EasyUI Demo + + + + + + + +

    Fluid LinkButton

    +

    This example shows how to set the width of LinkButton to a percentage of its parent container.

    +
    +

    width: 15%

    +
    + Add + Remove + Save + Cut + Text Button +
    +

    width: 20%

    +
    + Search + Print + Reload + Help +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/linkbutton/group.html b/src/main/webapp/lib/jquery-easyui/demo/linkbutton/group.html new file mode 100644 index 0000000..852db67 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/linkbutton/group.html @@ -0,0 +1,33 @@ + + + + + Button Group - jQuery EasyUI Demo + + + + + + + +

    Button Group

    +

    In a button group only one button can be selected.

    +
    + +
    + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/linkbutton/iconalign.html b/src/main/webapp/lib/jquery-easyui/demo/linkbutton/iconalign.html new file mode 100644 index 0000000..99a8ec2 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/linkbutton/iconalign.html @@ -0,0 +1,32 @@ + + + + + Icon Align on LinkButton - jQuery EasyUI Demo + + + + + + + +

    Icon Align on LinkButton

    +

    Change the icon align to place icon on left, right, top or bottom of button.

    +
    +
    + Select Icon Align: + +
    +
    + Add + Remove + Save + Cut +
    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/linkbutton/plain.html b/src/main/webapp/lib/jquery-easyui/demo/linkbutton/plain.html new file mode 100644 index 0000000..0143c20 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/linkbutton/plain.html @@ -0,0 +1,28 @@ + + + + + Plain LinkButton - jQuery EasyUI Demo + + + + + + + +

    Plain LinkButton

    +

    The buttons with plain style have transparent background.

    +
    + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/linkbutton/size.html b/src/main/webapp/lib/jquery-easyui/demo/linkbutton/size.html new file mode 100644 index 0000000..265ecb5 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/linkbutton/size.html @@ -0,0 +1,34 @@ + + + + + LinkButton Size - jQuery EasyUI Demo + + + + + + + +

    LinkButton Size

    +

    This sample shows how to display small buttons and large buttons.

    +
    +

    Small Buttons

    +
    + Add + Remove + Save + Cut + Text Button +
    +

    Large Buttons

    + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/linkbutton/style.html b/src/main/webapp/lib/jquery-easyui/demo/linkbutton/style.html new file mode 100644 index 0000000..fd46c2b --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/linkbutton/style.html @@ -0,0 +1,31 @@ + + + + + Style LinkButton - jQuery EasyUI Demo + + + + + + + +

    Style LinkButton

    +

    This example shows how to style a linkbutton.

    +
    + + + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/linkbutton/toggle.html b/src/main/webapp/lib/jquery-easyui/demo/linkbutton/toggle.html new file mode 100644 index 0000000..ebab0d1 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/linkbutton/toggle.html @@ -0,0 +1,25 @@ + + + + + Toggle Button - jQuery EasyUI Demo + + + + + + + +

    Toggle Button

    +

    Click the button below to switch its selected state.

    +
    +
    + Add + Remove + Save + Cut + Text Button +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/menu/basic.html b/src/main/webapp/lib/jquery-easyui/demo/menu/basic.html new file mode 100644 index 0000000..ac6e171 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/menu/basic.html @@ -0,0 +1,68 @@ + + + + + Basic Menu - jQuery EasyUI Demo + + + + + + + +

    Basic Menu

    +

    Right click on page to display menu.

    +
    + +
    +
    New
    +
    + Open +
    +
    Word
    +
    Excel
    +
    PowerPoint
    +
    + M1 +
    +
    sub1
    +
    sub2
    +
    + Sub +
    +
    sub21
    +
    sub22
    +
    sub23
    +
    +
    +
    sub3
    +
    +
    +
    + Window Demos +
    +
    Window
    +
    Dialog
    + +
    +
    +
    +
    +
    Save
    +
    Print
    + +
    Exit
    +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/menu/customitem.html b/src/main/webapp/lib/jquery-easyui/demo/menu/customitem.html new file mode 100644 index 0000000..bf4df9c --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/menu/customitem.html @@ -0,0 +1,55 @@ + + + + + Custom Menu Item - jQuery EasyUI Demo + + + + + + + +

    Custom Menu Item

    +

    Right click on page to display menu, move to the 'Open' item to display its custom sub content.

    +
    +
    +
    New
    +
    + Open + +
    +
    Save
    +
    Print
    + +
    Exit
    +
    + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/menu/events.html b/src/main/webapp/lib/jquery-easyui/demo/menu/events.html new file mode 100644 index 0000000..41f4b57 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/menu/events.html @@ -0,0 +1,40 @@ + + + + + Menu Events - jQuery EasyUI Demo + + + + + + + +

    Menu Events

    +

    Right click on page to display menu and click an item.

    +
    +
    +
    New
    +
    Save
    +
    Print
    + +
    Exit
    +
    +
    +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/menubutton/actions.html b/src/main/webapp/lib/jquery-easyui/demo/menubutton/actions.html new file mode 100644 index 0000000..6623d3d --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/menubutton/actions.html @@ -0,0 +1,58 @@ + + + + + MenuButton Actions - jQuery EasyUI Demo + + + + + + + +

    MenuButton Actions

    +

    Click the buttons below to perform actions.

    + +
    + Home + Edit + Help + About +
    +
    +
    Undo
    +
    Redo
    + +
    Cut
    +
    Copy
    +
    Paste
    + +
    + Toolbar +
    +
    Address
    +
    Link
    +
    Navigation Toolbar
    +
    Bookmark Toolbar
    + +
    New Toolbar...
    +
    +
    +
    Delete
    +
    Select All
    +
    +
    +
    Help
    +
    Update
    +
    About
    +
    + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/menubutton/alignment.html b/src/main/webapp/lib/jquery-easyui/demo/menubutton/alignment.html new file mode 100644 index 0000000..5362745 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/menubutton/alignment.html @@ -0,0 +1,69 @@ + + + + + Menu Alignment on MenuButton - jQuery EasyUI Demo + + + + + + + +

    Menu Alignment on MenuButton

    +

    This example shows how to change the alignment of the top level menu.

    +
    + Change Alignment: + +
    +
    + Home + Edit + Help + About + +
    +
    +
    Undo
    +
    Redo
    + +
    Cut
    +
    Copy
    +
    Paste
    + +
    + Toolbar +
    +
    Address
    +
    Link
    +
    Navigation Toolbar
    +
    Bookmark Toolbar
    + +
    New Toolbar...
    +
    +
    +
    Delete
    +
    Select All
    +
    +
    +
    Help
    +
    Update
    +
    About
    +
    +
    +
    History
    +
    Faq
    +
    Our Team
    +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/menubutton/basic.html b/src/main/webapp/lib/jquery-easyui/demo/menubutton/basic.html new file mode 100644 index 0000000..e277296 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/menubutton/basic.html @@ -0,0 +1,54 @@ + + + + + Basic MenuButton - jQuery EasyUI Demo + + + + + + + +

    Basic MenuButton

    +

    Move mouse over the button to drop down menu.

    +
    +
    + Home + Edit + Help + About +
    +
    +
    Undo
    +
    Redo
    + +
    Cut
    +
    Copy
    +
    Paste
    + +
    + Toolbar +
    +
    Address
    +
    Link
    +
    Navigation Toolbar
    +
    Bookmark Toolbar
    + +
    New Toolbar...
    +
    +
    +
    Delete
    +
    Select All
    +
    +
    +
    Help
    +
    Update
    +
    About
    +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/messager/alert.html b/src/main/webapp/lib/jquery-easyui/demo/messager/alert.html new file mode 100644 index 0000000..ff7129d --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/messager/alert.html @@ -0,0 +1,40 @@ + + + + + Alert Messager - jQuery EasyUI Demo + + + + + + + +

    Alert Messager

    +

    Click on each button to display different alert message box.

    + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/messager/basic.html b/src/main/webapp/lib/jquery-easyui/demo/messager/basic.html new file mode 100644 index 0000000..373c7ca --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/messager/basic.html @@ -0,0 +1,56 @@ + + + + + Basic Messager - jQuery EasyUI Demo + + + + + + + +

    Basic Messager

    +

    Click on each button to see a distinct message box.

    +
    + Show + Slide + Fade + Progress +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/messager/interactive.html b/src/main/webapp/lib/jquery-easyui/demo/messager/interactive.html new file mode 100644 index 0000000..9ba70bf --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/messager/interactive.html @@ -0,0 +1,36 @@ + + + + + Interactive Messager - jQuery EasyUI Demo + + + + + + + +

    Interactive Messager

    +

    Click on each button to display interactive message box.

    +
    + Confirm + Prompt +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/messager/position.html b/src/main/webapp/lib/jquery-easyui/demo/messager/position.html new file mode 100644 index 0000000..58886f1 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/messager/position.html @@ -0,0 +1,140 @@ + + + + + Message Box Position - jQuery EasyUI Demo + + + + + + + +

    Message Box Position

    +

    Click the buttons below to display message box on different position.

    + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/numberbox/basic.html b/src/main/webapp/lib/jquery-easyui/demo/numberbox/basic.html new file mode 100644 index 0000000..945c7c1 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/numberbox/basic.html @@ -0,0 +1,24 @@ + + + + + Basic NumberBox - jQuery EasyUI Demo + + + + + + + +

    Basic NumberBox

    +

    The NumberBox can only accept inputing numbers.

    +
    +
    +

    List Price:

    + +

    Amount:

    + +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/numberbox/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/numberbox/fluid.html new file mode 100644 index 0000000..8a66bf7 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/numberbox/fluid.html @@ -0,0 +1,24 @@ + + + + + Fluid NumberBox - jQuery EasyUI Demo + + + + + + + +

    Fluid NumberBox

    +

    This example shows how to set the width of NumberBox to a percentage of its parent container.

    +
    +
    +

    width: 100%

    + +

    width: 50%

    + +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/numberbox/format.html b/src/main/webapp/lib/jquery-easyui/demo/numberbox/format.html new file mode 100644 index 0000000..ec5b6ff --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/numberbox/format.html @@ -0,0 +1,40 @@ + + + + + Format NumberBox - jQuery EasyUI Demo + + + + + + + +

    Format NumberBox

    +

    Number formatting is the ability to control how a number is displayed.

    +
    + + + + + + + + + + + + + + + + + + + + + +
    Number in the United States
    Number in France
    Currency:USD
    Currency:EUR
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/numberbox/range.html b/src/main/webapp/lib/jquery-easyui/demo/numberbox/range.html new file mode 100644 index 0000000..f2b96c0 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/numberbox/range.html @@ -0,0 +1,25 @@ + + + + + Number Range - jQuery EasyUI Demo + + + + + + + +

    Number Range

    +

    The value is constrained to a specified range.

    +
    +
    +

    Amount:

    + +

    Weight:

    + +

    Age:

    + +
    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/numberspinner/basic.html b/src/main/webapp/lib/jquery-easyui/demo/numberspinner/basic.html new file mode 100644 index 0000000..a8b8863 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/numberspinner/basic.html @@ -0,0 +1,25 @@ + + + + + Basic NumberSpinner - jQuery EasyUI Demo + + + + + + + +

    Basic NumberSpinner

    +

    Click spinner button to change value.

    +
    + +
    + Value: +
    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/numberspinner/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/numberspinner/fluid.html new file mode 100644 index 0000000..e0ce155 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/numberspinner/fluid.html @@ -0,0 +1,21 @@ + + + + + Fluid NumberSpinner - jQuery EasyUI Demo + + + + + + + +

    Fluid NumberSpinner

    +

    This example shows how to set the width of NumberSpinner to a percentage of its parent container.

    +
    +

    width: 50%

    + +

    width: 30%

    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/numberspinner/increment.html b/src/main/webapp/lib/jquery-easyui/demo/numberspinner/increment.html new file mode 100644 index 0000000..95b5a5f --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/numberspinner/increment.html @@ -0,0 +1,18 @@ + + + + + Increment Number - jQuery EasyUI Demo + + + + + + + +

    Increment Number

    +

    The sample shows how to set the increment step.

    +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/numberspinner/range.html b/src/main/webapp/lib/jquery-easyui/demo/numberspinner/range.html new file mode 100644 index 0000000..00e1307 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/numberspinner/range.html @@ -0,0 +1,18 @@ + + + + + Number Range - jQuery EasyUI Demo + + + + + + + +

    Number Range

    +

    The value is constrained to a range between 10 and 100.

    +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/pagination/attaching.html b/src/main/webapp/lib/jquery-easyui/demo/pagination/attaching.html new file mode 100644 index 0000000..5c87427 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/pagination/attaching.html @@ -0,0 +1,32 @@ + + + + + Attaching Other Components - jQuery EasyUI Demo + + + + + + + +

    Attaching Other Components

    +

    Any other components can be attached to page bar.

    +
    +
    +
    +
    +
    + + + + + +
    + + + +
    +
    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/pagination/basic.html b/src/main/webapp/lib/jquery-easyui/demo/pagination/basic.html new file mode 100644 index 0000000..98f7c49 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/pagination/basic.html @@ -0,0 +1,20 @@ + + + + + Basic Pagination - jQuery EasyUI Demo + + + + + + + +

    Basic Pagination

    +

    The user can change page number and page size on page bar.

    +
    +
    +
    +
    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/pagination/custombuttons.html b/src/main/webapp/lib/jquery-easyui/demo/pagination/custombuttons.html new file mode 100644 index 0000000..2a75b88 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/pagination/custombuttons.html @@ -0,0 +1,38 @@ + + + + + Custom Pagination Buttons - jQuery EasyUI Demo + + + + + + + +

    Custom Pagination Buttons

    +

    The customized buttons can be appended to page bar.

    +
    +
    +
    +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/pagination/layout.html b/src/main/webapp/lib/jquery-easyui/demo/pagination/layout.html new file mode 100644 index 0000000..dcb679a --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/pagination/layout.html @@ -0,0 +1,62 @@ + + + + + Pagination Layout - jQuery EasyUI Demo + + + + + + + +

    Pagination Layout

    +

    The pagination layout supports various types of pages which you can choose.

    +
    +
    +
    +
    +
    + +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/pagination/links.html b/src/main/webapp/lib/jquery-easyui/demo/pagination/links.html new file mode 100644 index 0000000..5ec8b38 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/pagination/links.html @@ -0,0 +1,23 @@ + + + + + Pagination Links - jQuery EasyUI Demo + + + + + + + +

    Pagination Links

    +

    The example shows how to customize numbered pagination links.

    +
    +
    +
    +
    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/pagination/simple.html b/src/main/webapp/lib/jquery-easyui/demo/pagination/simple.html new file mode 100644 index 0000000..ca59ae2 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/pagination/simple.html @@ -0,0 +1,25 @@ + + + + + Simplify Pagination - jQuery EasyUI Demo + + + + + + + +

    Simplify Pagination

    +

    The sample shows how to simplify pagination.

    +
    +
    +
    +
    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/panel/_content.html b/src/main/webapp/lib/jquery-easyui/demo/panel/_content.html new file mode 100644 index 0000000..f7b8e2e --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/panel/_content.html @@ -0,0 +1,18 @@ + + + + + AJAX Content + + +

    Here is the content loaded via AJAX.

    +
      +
    • easyui is a collection of user-interface plugin based on jQuery.
    • +
    • easyui provides essential functionality for building modern, interactive, javascript applications.
    • +
    • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
    • +
    • complete framework for HTML5 web page.
    • +
    • easyui save your time and scales while developing your products.
    • +
    • easyui is very easy but powerful.
    • +
    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/panel/basic.html b/src/main/webapp/lib/jquery-easyui/demo/panel/basic.html new file mode 100644 index 0000000..e2220df --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/panel/basic.html @@ -0,0 +1,31 @@ + + + + + Basic Panel - jQuery EasyUI Demo + + + + + + + +

    Basic Panel

    +

    The panel is a container for other components or elements.

    +
    + Open + Close +
    +
    +

    jQuery EasyUI framework helps you build your web pages easily.

    +
      +
    • easyui is a collection of user-interface plugin based on jQuery.
    • +
    • easyui provides essential functionality for building modem, interactive, javascript applications.
    • +
    • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
    • +
    • complete framework for HTML5 web page.
    • +
    • easyui save your time and scales while developing your products.
    • +
    • easyui is very easy but powerful.
    • +
    +
    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/panel/customtools.html b/src/main/webapp/lib/jquery-easyui/demo/panel/customtools.html new file mode 100644 index 0000000..299b7fa --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/panel/customtools.html @@ -0,0 +1,35 @@ + + + + + Custom Panel Tools - jQuery EasyUI Demo + + + + + + + +

    Custom Panel Tools

    +

    Click the right top buttons to perform actions with panel.

    +
    +
    +

    jQuery EasyUI framework helps you build your web pages easily.

    +
      +
    • easyui is a collection of user-interface plugin based on jQuery.
    • +
    • easyui provides essential functionality for building modem, interactive, javascript applications.
    • +
    • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
    • +
    • complete framework for HTML5 web page.
    • +
    • easyui save your time and scales while developing your products.
    • +
    • easyui is very easy but powerful.
    • +
    +
    +
    + + + + +
    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/panel/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/panel/fluid.html new file mode 100644 index 0000000..ff2be88 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/panel/fluid.html @@ -0,0 +1,21 @@ + + + + + Fluid Panel - jQuery EasyUI Demo + + + + + + + +

    Fluid Panel

    +

    This example shows how to set the width of Panel to a percentage of its parent container.

    +
    +
    +
    +

    The panel has a width of 100%.

    +

    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/panel/footer.html b/src/main/webapp/lib/jquery-easyui/demo/panel/footer.html new file mode 100644 index 0000000..e04a87b --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/panel/footer.html @@ -0,0 +1,22 @@ + + + + + Panel Footer - jQuery EasyUI Demo + + + + + + + +

    Panel Footer

    +

    The panel footer is displayed at the bottom of the panel and can consist of any other components.

    +
    +
    +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/panel/loadcontent.html b/src/main/webapp/lib/jquery-easyui/demo/panel/loadcontent.html new file mode 100644 index 0000000..c4b1417 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/panel/loadcontent.html @@ -0,0 +1,27 @@ + + + + + Load Panel Content - jQuery EasyUI Demo + + + + + + + +

    Load Panel Content

    +

    Click the refresh button on top right of panel to load content.

    +
    +
    +
    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/panel/nestedpanel.html b/src/main/webapp/lib/jquery-easyui/demo/panel/nestedpanel.html new file mode 100644 index 0000000..64865c6 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/panel/nestedpanel.html @@ -0,0 +1,30 @@ + + + + + Nested Panel - jQuery EasyUI Demo + + + + + + + +

    Nested Panel

    +

    The panel can be placed inside containers and can contain other components.

    +
    +
    +
    +
    + Left Content +
    +
    + Right Content +
    +
    + Right Content +
    +
    +
    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/panel/paneltools.html b/src/main/webapp/lib/jquery-easyui/demo/panel/paneltools.html new file mode 100644 index 0000000..eb0d87f --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/panel/paneltools.html @@ -0,0 +1,37 @@ + + + + + Panel Tools - jQuery EasyUI Demo + + + + + + + +

    Panel Tools

    +

    Click the right top buttons to perform actions with panel.

    + +
    +
    +

    jQuery EasyUI framework helps you build your web pages easily.

    +
      +
    • easyui is a collection of user-interface plugin based on jQuery.
    • +
    • easyui provides essential functionality for building modem, interactive, javascript applications.
    • +
    • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
    • +
    • complete framework for HTML5 web page.
    • +
    • easyui save your time and scales while developing your products.
    • +
    • easyui is very easy but powerful.
    • +
    +
    +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/progressbar/basic.html b/src/main/webapp/lib/jquery-easyui/demo/progressbar/basic.html new file mode 100644 index 0000000..910777b --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/progressbar/basic.html @@ -0,0 +1,30 @@ + + + + + Basic ProgressBar - jQuery EasyUI Demo + + + + + + + +

    Basic ProgressBar

    +

    Click the button below to show progress information.

    +
    + Start +
    +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/progressbar/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/progressbar/fluid.html new file mode 100644 index 0000000..de88af2 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/progressbar/fluid.html @@ -0,0 +1,21 @@ + + + + + Fluid ProgressBar - jQuery EasyUI Demo + + + + + + + +

    Fluid ProgressBar

    +

    This example shows how to set the width of ProgressBar to a percentage of its parent container.

    +
    +

    width: 50%

    +
    +

    width: 30%

    +
    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/propertygrid/basic.html b/src/main/webapp/lib/jquery-easyui/demo/propertygrid/basic.html new file mode 100644 index 0000000..a7c3cb5 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/propertygrid/basic.html @@ -0,0 +1,61 @@ + + + + + Basic PropertyGrid - jQuery EasyUI Demo + + + + + + + +

    Basic PropertyGrid

    +

    Click on row to change each property value.

    + + +
    + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/propertygrid/customcolumns.html b/src/main/webapp/lib/jquery-easyui/demo/propertygrid/customcolumns.html new file mode 100644 index 0000000..a8aabd3 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/propertygrid/customcolumns.html @@ -0,0 +1,31 @@ + + + + + Customize Columns of PropertyGrid - jQuery EasyUI Demo + + + + + + + +

    Customize Columns of PropertyGrid

    +

    The columns of PropertyGrid can be changed.

    +
    + +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/propertygrid/groupformat.html b/src/main/webapp/lib/jquery-easyui/demo/propertygrid/groupformat.html new file mode 100644 index 0000000..27cc305 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/propertygrid/groupformat.html @@ -0,0 +1,30 @@ + + + + + Group Format - jQuery EasyUI Demo + + + + + + + +

    Group Format

    +

    The user can change the group information.

    +
    + +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/propertygrid/propertygrid_data1.json b/src/main/webapp/lib/jquery-easyui/demo/propertygrid/propertygrid_data1.json new file mode 100644 index 0000000..12b2d00 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/propertygrid/propertygrid_data1.json @@ -0,0 +1,20 @@ +{"total":7,"rows":[ + {"name":"Name","value":"Bill Smith","group":"ID Settings","editor":"text"}, + {"name":"Address","value":"","group":"ID Settings","editor":"text"}, + {"name":"Age","value":"40","group":"ID Settings","editor":"numberbox"}, + {"name":"Birthday","value":"01/02/2012","group":"ID Settings","editor":"datebox"}, + {"name":"SSN","value":"123-456-7890","group":"ID Settings","editor":"text"}, + {"name":"Email","value":"bill@gmail.com","group":"Marketing Settings","editor":{ + "type":"validatebox", + "options":{ + "validType":"email" + } + }}, + {"name":"FrequentBuyer","value":"false","group":"Marketing Settings","editor":{ + "type":"checkbox", + "options":{ + "on":true, + "off":false + } + }} +]} \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/resizable/basic.html b/src/main/webapp/lib/jquery-easyui/demo/resizable/basic.html new file mode 100644 index 0000000..a4d5a61 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/resizable/basic.html @@ -0,0 +1,24 @@ + + + + + Basic Resizable - jQuery EasyUI Demo + + + + + + + +

    Basic Resizable

    +

    Click on the edge of box and move the edge to resize the box.

    +
    +
    +
    Resize Me
    +
    +
    +
    Title
    +
    Drag and Resize Me
    +
    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/searchbox/basic.html b/src/main/webapp/lib/jquery-easyui/demo/searchbox/basic.html new file mode 100644 index 0000000..1eb5275 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/searchbox/basic.html @@ -0,0 +1,23 @@ + + + + + Basic SearchBox - jQuery EasyUI Demo + + + + + + + +

    Basic SearchBox

    +

    Click search button or press enter key in input box to do searching.

    +
    + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/searchbox/category.html b/src/main/webapp/lib/jquery-easyui/demo/searchbox/category.html new file mode 100644 index 0000000..5a2b866 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/searchbox/category.html @@ -0,0 +1,28 @@ + + + + + Search Category - jQuery EasyUI Demo + + + + + + + +

    Search Category

    +

    Select a category and click search button or press enter key in input box to do searching.

    +
    + +
    +
    All News
    +
    Sports News
    +
    + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/searchbox/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/searchbox/fluid.html new file mode 100644 index 0000000..946aaff --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/searchbox/fluid.html @@ -0,0 +1,25 @@ + + + + + Fluid SearchBox - jQuery EasyUI Demo + + + + + + + +

    Fluid SearchBox

    +

    This example shows how to set the width of SearchBox to a percentage of its parent container.

    +
    +

    width: 50%

    + +

    width: 30%

    + +
    +
    All News
    +
    Sports News
    +
    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/slider/basic.html b/src/main/webapp/lib/jquery-easyui/demo/slider/basic.html new file mode 100644 index 0000000..e2a0f59 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/slider/basic.html @@ -0,0 +1,18 @@ + + + + + Basic Slider - jQuery EasyUI Demo + + + + + + + +

    Basic Slider

    +

    Drag the slider to change value.

    +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/slider/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/slider/fluid.html new file mode 100644 index 0000000..17ff2dd --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/slider/fluid.html @@ -0,0 +1,21 @@ + + + + + Fluid Slider - jQuery EasyUI Demo + + + + + + + +

    Fluid Slider

    +

    This example shows how to set the width of Slider to a percentage of its parent container.

    +
    +

    width: 50%

    + +

    width: 30%

    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/slider/formattip.html b/src/main/webapp/lib/jquery-easyui/demo/slider/formattip.html new file mode 100644 index 0000000..f0d666b --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/slider/formattip.html @@ -0,0 +1,28 @@ + + + + + Format Tip Information - jQuery EasyUI Demo + + + + + + + +

    Format Tip Information

    +

    This sample shows how to format tip information.

    +
    + +
    jQuery EasyUI
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/slider/nonlinear.html b/src/main/webapp/lib/jquery-easyui/demo/slider/nonlinear.html new file mode 100644 index 0000000..7570833 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/slider/nonlinear.html @@ -0,0 +1,58 @@ + + + + + Non Linear Slider - jQuery EasyUI Demo + + + + + + + +

    Non Linear Slider

    +

    This example shows how to create a slider with a non-linear scale.

    +
    +
    + +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/slider/rule.html b/src/main/webapp/lib/jquery-easyui/demo/slider/rule.html new file mode 100644 index 0000000..6f0e08c --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/slider/rule.html @@ -0,0 +1,21 @@ + + + + + Slider Rule - jQuery EasyUI Demo + + + + + + + +

    Slider Rule

    +

    This sample shows how to define slider rule.

    +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/slider/vertical.html b/src/main/webapp/lib/jquery-easyui/demo/slider/vertical.html new file mode 100644 index 0000000..6bc8b59 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/slider/vertical.html @@ -0,0 +1,25 @@ + + + + + Vertical Slider - jQuery EasyUI Demo + + + + + + + +

    Vertical Slider

    +

    This sample shows how to create a vertical slider.

    +
    +
    + +
    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/splitbutton/actions.html b/src/main/webapp/lib/jquery-easyui/demo/splitbutton/actions.html new file mode 100644 index 0000000..0fa343e --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/splitbutton/actions.html @@ -0,0 +1,64 @@ + + + + + SplitButton Actions - jQuery EasyUI Demo + + + + + + + +

    SplitButton Actions

    +

    Click the buttons below to perform actions.

    + +
    + Home + Edit + Ok + Help +
    +
    +
    Undo
    +
    Redo
    + +
    Cut
    +
    Copy
    +
    Paste
    + +
    + Toolbar +
    +
    Address
    +
    Link
    +
    Navigation Toolbar
    +
    Bookmark Toolbar
    + +
    New Toolbar...
    +
    +
    +
    Delete
    +
    Select All
    +
    +
    +
    Ok
    +
    Cancel
    +
    +
    +
    Help
    +
    Update
    +
    + About + +
    +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/splitbutton/basic.html b/src/main/webapp/lib/jquery-easyui/demo/splitbutton/basic.html new file mode 100644 index 0000000..2f31ec1 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/splitbutton/basic.html @@ -0,0 +1,61 @@ + + + + + Basic SplitButton - jQuery EasyUI Demo + + + + + + + +

    Basic SplitButton

    +

    Move mouse over the arrow area of button to drop down menu.

    +
    +
    + Home + Edit + Ok + Help +
    +
    +
    Undo
    +
    Redo
    + +
    Cut
    +
    Copy
    +
    Paste
    + +
    + Toolbar +
    +
    Address
    +
    Link
    +
    Navigation Toolbar
    +
    Bookmark Toolbar
    + +
    New Toolbar...
    +
    +
    +
    Delete
    +
    Select All
    +
    +
    +
    Ok
    +
    Cancel
    +
    +
    +
    Help
    +
    Update
    +
    + About + +
    +
    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tabs/_content.html b/src/main/webapp/lib/jquery-easyui/demo/tabs/_content.html new file mode 100644 index 0000000..f7b8e2e --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tabs/_content.html @@ -0,0 +1,18 @@ + + + + + AJAX Content + + +

    Here is the content loaded via AJAX.

    +
      +
    • easyui is a collection of user-interface plugin based on jQuery.
    • +
    • easyui provides essential functionality for building modern, interactive, javascript applications.
    • +
    • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
    • +
    • complete framework for HTML5 web page.
    • +
    • easyui save your time and scales while developing your products.
    • +
    • easyui is very easy but powerful.
    • +
    + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tabs/autoheight.html b/src/main/webapp/lib/jquery-easyui/demo/tabs/autoheight.html new file mode 100644 index 0000000..e34a3dc --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tabs/autoheight.html @@ -0,0 +1,36 @@ + + + + + Auto Height for Tabs - jQuery EasyUI Demo + + + + + + + +

    Auto Height for Tabs

    +

    The tabs height is auto adjusted according to tab panel content.

    +
    +
    +
    +

    jQuery EasyUI framework helps you build your web pages easily.

    +
      +
    • easyui is a collection of user-interface plugin based on jQuery.
    • +
    • easyui provides essential functionality for building modem, interactive, javascript applications.
    • +
    • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
    • +
    • complete framework for HTML5 web page.
    • +
    • easyui save your time and scales while developing your products.
    • +
    • easyui is very easy but powerful.
    • +
    +
    +
    +
      +
      +
      + This is the help content. +
      +
      + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tabs/basic.html b/src/main/webapp/lib/jquery-easyui/demo/tabs/basic.html new file mode 100644 index 0000000..293b91c --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tabs/basic.html @@ -0,0 +1,36 @@ + + + + + Basic Tabs - jQuery EasyUI Demo + + + + + + + +

      Basic Tabs

      +

      Click tab strip to swap tab panel content.

      +
      +
      +
      +

      jQuery EasyUI framework helps you build your web pages easily.

      +
        +
      • easyui is a collection of user-interface plugin based on jQuery.
      • +
      • easyui provides essential functionality for building modem, interactive, javascript applications.
      • +
      • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
      • +
      • complete framework for HTML5 web page.
      • +
      • easyui save your time and scales while developing your products.
      • +
      • easyui is very easy but powerful.
      • +
      +
      +
      +
        +
        +
        + This is the help content. +
        +
        + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tabs/dropdown.html b/src/main/webapp/lib/jquery-easyui/demo/tabs/dropdown.html new file mode 100644 index 0000000..7c9daac --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tabs/dropdown.html @@ -0,0 +1,55 @@ + + + + + Tabs with DropDown - jQuery EasyUI Demo + + + + + + + +

        Tabs with DropDown

        +

        This sample shows how to add a dropdown menu over a tab strip.

        +
        +
        +
        +

        jQuery EasyUI framework helps you build your web pages easily.

        +
          +
        • easyui is a collection of user-interface plugin based on jQuery.
        • +
        • easyui provides essential functionality for building modem, interactive, javascript applications.
        • +
        • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
        • +
        • complete framework for HTML5 web page.
        • +
        • easyui save your time and scales while developing your products.
        • +
        • easyui is very easy but powerful.
        • +
        +
        +
        +
          +
          +
          + This is the help content. +
          +
          +
          +
          Welcome
          +
          Help Contents
          +
          Search
          +
          Dynamic Help
          +
          + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tabs/fixedwidth.html b/src/main/webapp/lib/jquery-easyui/demo/tabs/fixedwidth.html new file mode 100644 index 0000000..390e987 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tabs/fixedwidth.html @@ -0,0 +1,37 @@ + + + + + Fixed Tab Width - jQuery EasyUI Demo + + + + + + + +

          Fixed Tab Width

          +

          The tab strips have fixed width and height.

          +
          +
          +
          +

          Home Content.

          +
          +
          +

          Maps Content.

          +
          +
          +

          Journal Content.

          +
          +
          +

          History Content.

          +
          +
          +

          References Content.

          +
          +
          +

          Contact Content.

          +
          +
          + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tabs/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/tabs/fluid.html new file mode 100644 index 0000000..d31d6fb --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tabs/fluid.html @@ -0,0 +1,24 @@ + + + + + Fluid Tabs - jQuery EasyUI Demo + + + + + + + +

          Fluid Tabs

          +

          This example shows how to set the width of Tabs to a percentage of its parent container.

          +
          +
          +
          +

          The tabs has a width of 100%.

          +
          +
          +
          +
          + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tabs/hover.html b/src/main/webapp/lib/jquery-easyui/demo/tabs/hover.html new file mode 100644 index 0000000..5b62ac9 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tabs/hover.html @@ -0,0 +1,46 @@ + + + + + Hover Tabs - jQuery EasyUI Demo + + + + + + + +

          Hover Tabs

          +

          Move mouse over the tab strip to open the tab panel.

          +
          +
          +
          +

          jQuery EasyUI framework helps you build your web pages easily.

          +
            +
          • easyui is a collection of user-interface plugin based on jQuery.
          • +
          • easyui provides essential functionality for building modem, interactive, javascript applications.
          • +
          • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
          • +
          • complete framework for HTML5 web page.
          • +
          • easyui save your time and scales while developing your products.
          • +
          • easyui is very easy but powerful.
          • +
          +
          +
          +
            +
            +
            + This is the help content. +
            +
            + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tabs/images/modem.png b/src/main/webapp/lib/jquery-easyui/demo/tabs/images/modem.png new file mode 100644 index 0000000000000000000000000000000000000000..be5a2eb2fc48a8f16681b591f4ef74888ee09c33 GIT binary patch literal 1633 zcmV-n2A=teP)DSXo(n z6%-WGq@<)6*xA{^2Ei8OFVPRn@pc;RG z0K(}2kU_v;uacIQE|igxVPIil0lOU8LJ$V2gBcFvgF+DKL$KN}U%tQ{3j&`%e`fgj z@gvL=d;kH2(*Zz33V;^3sH&=hEe8c1aykKFkQgk@fP4zVAcH}^2L(OIK_D>@4RRES ze)sMj*gUAC{s9CKRtErm69G(cJz`>Fj2}LHfCnwe5SVX(p#$bKGczNn7qEqVe0*Tb zKx$wP1gU%b_AT5|K=waih<*VGAQtps2Pz2H)YP1#tEdz1LA-G{v90jAo(|M-Y{Iec=5@nPoJ&=1Q2>IaFvsjn`>!l$t@@-2(}dD z0GK0?EkXud!iJNWd(GMH9%!pb!uh6=itz=n=!YbLZ{?6XRZ>k+%Q> zhy`Q`&;nIpmRY8(tSkWx7KUffo-s&DO2QK#$WmB3Ko0?!SPXU#m1Z4_<00M=8Jg|USYhq#|2XZmU!j~^!g0l-ZH#ay%!+e4s0^qV7 zCl zzk}l%xnx6*cces$;#;tKkUTJDgZV%`;9LP^gB$_!J;-ce!utdC{SlxvDE_~K)Byw# z3oyP-K}9Sx5VA6|Gca)cV_^9Y%36#J|Cs)QM1f48BN)Nn1tk_xApwc!e}BRC+4mpc z86F%z4whpB71y9L1E@wA=qY;#2Zjsh&of-Ue3{|QnKSo*QNADMdk_E!AQqr6xn4eh z#qi+MGlt6_&NBGR1u$ z0{{Yu<Cx%1A~kt11BpmeSi!CrWZyY9!TmJ7G?m2;TK>OdVJl%92G$?!48NGZF}SmPF>w9nW%&C26N4Xf z00ZYQUWPA1Um5-f1~UBq_k)2IR52MCGQ4~95>y1jif%}W2lO#BFiL>+E&~^z05CCs zVmN;M_>U(~p6rME{s*!H00M|*&z?PPz=SkSTvS{D7-$Skj7;G4z`*hXOoI&m$Mlkc znS+yo>HT}K&zO058JK{<%mPXaz!VNj<)Add07`g3`se1&48M$w7?`+u!SR3g?Afcp z#0yIKkI;*KfB*tHn;DoBY=PJr$mRzc!~(>uKtn+^3nLRF3ou86#ef(n%*@Kf$jA&< z2T=p$g5`mpXJG*;`2Fr3Gnc3+Gb50H=l1Ql4<9~U4~&|{K=YrVI{+Yn7?GN0TtLhY zauAfygvLh4gw(;r{y;5$3@UKZ9RLtOj04>>0tlc1ZXtfG21Qdk=RTSi)EQ1{_6i^UCwl}dq?)Kwu=icw$3Vv(^&DzBp z003H4WY{5#gx(W{WZ?xTPp(-6A&d7n9sqO>1QNe~ZLyh!;faNxAImH(PRkboJmIl) z5ft@hT9)XLC{1`m{6Mq^07z$}!gz5dlj%kb<7#2N1V~S32mm?^E&&!@<5jOx&3q{o za+2cX&tua)2r{taVogmAuD$W)qm~2Jb-st=OE#9C%TaGk*+GINT|sbi^6jAAyQ69v z8kDn-+d5(SDD|F*MUq!Y8 zc(PIdZebZiFlP5@(-6e!MAaf;@5+D2xe6|d8cfdKc6~j+K7)-5c4y4Sx{BFnKaWtq z>5TRFH=1ZgLzdQf!x{T;+PrT8Xs^e8w-+;+?n9TsNf?}i%e{^x&~3>;nZbF>Wk~-xi=)I9adQP-N!XQOOPah0O(QZ>2owWjyN~2)5!9nUX;qfIGvsHp@IVxcl=2QSj-aDrbsm+71?S} z(P`Ip&yPj&*46_(_|&4!Hz=_a?i71#2Li$LLi<)nVL z!{}WfIN}P&}jcP#>G?Gb4@Dg8Slpya_Y>1sq)VLm%q6alT7GG9ciH z=o`?VqJQAg0KhTaeay7TgYio%ePJb?E);6I?M9S?xW$@CT%}tOf{H0q7 zl`i}Cu}DQlJM)s>yd2C@xO01?p`g&-I~j%}`IIk6Y_>=2dpr+&3oX_Q8)ei(kFHYPxu*ps zYp-_l-RgrA8RDn!$Lm2bgGYu5Mdd0wSFTWOo4`S!NZ7|18*^m7=q?+~d$Wx!S3~ad z+qd`d_qu8q#;X~go_&(vYbA?;RKI^rk(F-U-T(#aumx`5F2EK1)KvG2^wc{g_+chg z$@@b)Sm!5c3i<3aJ0E2Ax4)~wB=r2XF8_c%C3(*EJ1#I%Qc@Vr&3)3U6U3N=3DN{@*z34hoRim^Arg_jcG>cCncl_cW}jS2nCa`kchCB!qvQ7I z=uc6;itt-`r&{6r(~xd+mFyq3twZh~O*rUVb*%k2+a5q+M`OXKY6x!|)7R8~b} zRQte@Xl8~+psdw=Kq)?VK}7sJE0SkH5r z2LOO|aL}fmrbzs@EHI}1#M!gcreGEyuq^-pDqDQe*`ua2K4o)M%1?=LDW{poV}XE} z#OPRJ@KI)b?9Nzb%$elYSU&);tP9>05W)H1iWnwxi( z35bh~vl9bllm9;Bm|~5OTm-YU69c^q@(A*Cv!8l93qnHH5jc8{4qtAxavOpx)su3t zmNn(O!v?S*3Q-NI+Vr2lbQX(pkjT`>3dQHP@o`xjqaih3qnq&vH|)yjEDq3ENj~*X zHu!OjW0JD%1loDs^o+wRE&(SBPF;+pu?5j!9T3>*lVMBnrwD~YZ{KzQkk_w2SMZ=J zIZE+guB(d+&c)T$a-Fj2l1G_{6W`s{-5owOJPc~IUwufI!6p&g5H~n7!W>j8mF%zY zFMYYQ<@79aQSRyzgqfW~RX>{FM*E8)BA;%`zTE52*1u5AsTqPkuL_*w27&a?l9IN; z_wVB>%gb-tu1a$%d}5MpQ%I3vYUrh5^%3U}6K~I`B$W(~xC9!omvc*|iW^^r7c}#oKM-NxzD*T(-)|KN1dXb}#%=YvteLUV5fj?QWh?F#CY?Buwoy4L z=R{FRcUdeJ4u{8YHp$&Oqnr8qj_$^m$dKPUCU^0(=R~(VZA6bUq)go=uBAqky{lu% zKBp0-hnxjVXxt1HYRIW5*NEKu6jf1CANS=;c1UPw=wN#0$^fI$kcs%UORLpFBlDg% zUiZi=N;T@IJY_@(K&}VXpRdyydb2uQOiLmrGV&DW)TvV#cXwwntDO4rBcJ+lY!6vj zRYeU7UIsO>O^I_aE?;VX@?`UmQmHf@Z`|lPXI-Nw@G&>C!DM&$HJGrlH7^q7?89;q zXYQkj!zt!21nlUZeQ6rgjo>$6Uy#9Quo@>_;g^(HlSqyJJ0rTI4SFpv|5_TZ;C8*E zc3D89fkJ-s&M*}KsBvH2-$)o&e` zeQZ5Jk_XdpQME?zdYwK`@frob;-GYTS2q-mYQ^*Qa^U$AtayNjD=$k-!<_t?DR8UB zAA9RNX`3QGZ1R;Q36%0ky~Hx~5dMwxZ-2ab6L?MC5Ja8+eF$V3Gr8QodJk0dg18KZ zoR7!#@wqmLYCIpuHpa(jR3l!JujVwIf4!~)NcnMNaGE3UV%2;}W*!Z9!;|>|>Eea8 zqq7zPA%671(%VaWl*3>`+Yc2|;n3m*l99>;EN2rAZ^i+v?s$poGHzbw+Nba4L#rH6 zq+MiGe?o-}D~G1MR<^zfzq+(@km=Q-(zW}5CylOrwh4>Vb%z8_K1v z{}MwZw_Q@a*%FqqwK59Fw(zE8C3}B&C? zVuA%ti8StfH{XZc2D8U_J|AyH{NhfILtZi<_ZTM@xbX@teKzjklX>M9=8`#Ed1Jrk z`Gv38>mF)aL&|8kP52^nQ#%GVws*XEG5;VahotE%ja@!`-&8RZhC-_mDh+X z=UGQpR`C`B!&I*F7JfdG22&_W)fCFGR!FUNO{VG(#$axsU>vlzfI0g2&z!Q*(e=i$ zp6es@6#)$*^JItW*m3o4-rEJ#L9 z*=8N2x83C0Xso1i*qhR#qLO0@sT3UP1j_21GkA#Notip#m8q2W%RhAdUiaZ;f%+xn zK4GR*3$K_M2~m(W_C`&j2-->mlPx`~d~q7cUxC`=j;vVIpx3_?Pt6e|1)Vuq4x5{b zPFZAERh{-X!c9^ml40Giad7jeVKOO5Mb;ZTWn!D0;=MJC$qygRJR7J@)^-%rL@UvI zl5kl&T-?98E1c60o$b2I)!8x#^2ut6A*9!6Isf^KKJv)K7Y%>4YSykdhIk% zG3y$bafGoO=g*Eumo9S0Y=2UTz4{vsI?HNo>_F$-kz{s~yL)T=)}^wV_XwIHzG9Uf zyrDDs82Z;OeZGFzLA43QCeL`1*}N`1?pHA_%fC;wv@OD4F+%=u9u zt-<>(M_a6z@xfr+c7ypZJpinAWK!d!Ghh8dYNbMFnq_p$qt8!?WC$6CA`S#_9<50R>^sn!rDR{DTdpKSy zZnNCkjFc6LaB=N>W^3-<8=3AZQ#+&DD znap!$rDu-T1i*cbI2HlTBPDG_Nil0PGBd4YM!nW`BSW6UxbA+Ea8~^pO{zMIezf1h zX$C-~-(vtWbL>jHE0^Cf%t?YrO9MI9##yQY#miw?pxwq6g9^*n`9 zsG$Q$SFfL-v2nrJMU08YC1iBZ160*gviuODFfn)e^088ae|`Mg)1O-qhoYaF{TULJ z4A6nAW5Dp6RUV{vfKm>dkEQ#6*K^zsupk2q+Ea4=oYE*vUp*jrbJ(W)8^E;x12P5j A&;S4c literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/demo/tabs/images/tablet.png b/src/main/webapp/lib/jquery-easyui/demo/tabs/images/tablet.png new file mode 100644 index 0000000000000000000000000000000000000000..fa871f54035fcd0bb0f7f2068d2b2ed4e5e0e0cf GIT binary patch literal 2505 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 + + + + Nested Tabs - jQuery EasyUI Demo + + + + + + + +

            Nested Tabs

            +

            The tab panel can contain sub tabs or other components.

            +
            +
            +
            +
            +
            Content 1
            +
            Content 2
            +
            Content 3
            +
            +
            +
            +
            + +
            +
            + + + + + + + + + + + + + + + + + + + + +
            Title1Title2Title3
            d11d12d13
            d21d22d23
            +
            +
            + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tabs/striptools.html b/src/main/webapp/lib/jquery-easyui/demo/tabs/striptools.html new file mode 100644 index 0000000..83e6ba0 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tabs/striptools.html @@ -0,0 +1,39 @@ + + + + + Tabs Strip Tools - jQuery EasyUI Demo + + + + + + + +

            Tabs Strip Tools

            +

            Click the mini-buttons on the tab strip to perform actions.

            +
            +
            +
            +

            jQuery EasyUI framework helps you build your web pages easily.

            +
              +
            • easyui is a collection of user-interface plugin based on jQuery.
            • +
            • easyui provides essential functionality for building modem, interactive, javascript applications.
            • +
            • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
            • +
            • complete framework for HTML5 web page.
            • +
            • easyui save your time and scales while developing your products.
            • +
            • easyui is very easy but powerful.
            • +
            +
            +
            + This is the help content. +
            +
            +
            + + + +
            + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tabs/tabimage.html b/src/main/webapp/lib/jquery-easyui/demo/tabs/tabimage.html new file mode 100644 index 0000000..e9df65d --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tabs/tabimage.html @@ -0,0 +1,41 @@ + + + + + Tabs with Images - jQuery EasyUI Demo + + + + + + + +

            Tabs with Images

            +

            The tab strip can display big images.

            +
            +
            +
            +

            A modem (modulator-demodulator) is a device that modulates an analog carrier signal to encode digital information, and also demodulates such a carrier signal to decode the transmitted information.

            +
            +
            +

            In computing, an image scanner—often abbreviated to just scanner—is a device that optically scans images, printed text, handwriting, or an object, and converts it to a digital image.

            +
            +
            +

            A personal digital assistant (PDA), also known as a palmtop computer, or personal data assistant, is a mobile device that functions as a personal information manager. PDAs are largely considered obsolete with the widespread adoption of smartphones.

            +
            +
            +

            A tablet computer, or simply tablet, is a one-piece mobile computer. Devices typically have a touchscreen, with finger or stylus gestures replacing the conventional computer mouse.

            +
            +
            + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tabs/tabposition.html b/src/main/webapp/lib/jquery-easyui/demo/tabs/tabposition.html new file mode 100644 index 0000000..9f1bc19 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tabs/tabposition.html @@ -0,0 +1,45 @@ + + + + + Tab Position - jQuery EasyUI Demo + + + + + + + +

            Tab Position

            +

            Click the 'position' drop-down list and select an item to change the tab position.

            +
            + Position: + +
            +
            +
            +

            jQuery EasyUI framework helps you build your web pages easily.

            +
              +
            • easyui is a collection of user-interface plugin based on jQuery.
            • +
            • easyui provides essential functionality for building modem, interactive, javascript applications.
            • +
            • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
            • +
            • complete framework for HTML5 web page.
            • +
            • easyui save your time and scales while developing your products.
            • +
            • easyui is very easy but powerful.
            • +
            +
            +
            +
              +
              +
              + This is the help content. +
              +
              + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tabs/tabstools.html b/src/main/webapp/lib/jquery-easyui/demo/tabs/tabstools.html new file mode 100644 index 0000000..48bdda8 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tabs/tabstools.html @@ -0,0 +1,41 @@ + + + + + Tabs Tools - jQuery EasyUI Demo + + + + + + + +

              Tabs Tools

              +

              Click the buttons on the top right of tabs header to add or remove tab panel.

              +
              +
              +
              +
              + + +
              + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tabs/tree_data1.json b/src/main/webapp/lib/jquery-easyui/demo/tabs/tree_data1.json new file mode 100644 index 0000000..83fb0d6 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tabs/tree_data1.json @@ -0,0 +1,49 @@ +[{ + "id":1, + "text":"My Documents", + "children":[{ + "id":11, + "text":"Photos", + "state":"closed", + "children":[{ + "id":111, + "text":"Friend" + },{ + "id":112, + "text":"Wife" + },{ + "id":113, + "text":"Company" + }] + },{ + "id":12, + "text":"Program Files", + "children":[{ + "id":121, + "text":"Intel" + },{ + "id":122, + "text":"Java", + "attributes":{ + "p1":"Custom Attribute1", + "p2":"Custom Attribute2" + } + },{ + "id":123, + "text":"Microsoft Office" + },{ + "id":124, + "text":"Games", + "checked":true + }] + },{ + "id":13, + "text":"index.html" + },{ + "id":14, + "text":"about.html" + },{ + "id":15, + "text":"welcome.html" + }] +}] diff --git a/src/main/webapp/lib/jquery-easyui/demo/textbox/basic.html b/src/main/webapp/lib/jquery-easyui/demo/textbox/basic.html new file mode 100644 index 0000000..dc631be --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/textbox/basic.html @@ -0,0 +1,39 @@ + + + + + Basic TextBox - jQuery EasyUI Demo + + + + + + + +

              Basic TextBox

              +

              The textbox allows a user to enter information.

              +
              +
              +
              +
              Email:
              + +
              +
              +
              First Name:
              + +
              +
              +
              Last Name:
              + +
              +
              +
              Company:
              + +
              + +
              + Register +
              +
              + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/textbox/button.html b/src/main/webapp/lib/jquery-easyui/demo/textbox/button.html new file mode 100644 index 0000000..cd22425 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/textbox/button.html @@ -0,0 +1,23 @@ + + + + + TextBox with Button - jQuery EasyUI Demo + + + + + + + +

              TextBox with Button

              +

              The button can be attached to a textbox.

              +
              +
              + +
              +
              + +
              + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/textbox/clearicon.html b/src/main/webapp/lib/jquery-easyui/demo/textbox/clearicon.html new file mode 100644 index 0000000..10d6794 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/textbox/clearicon.html @@ -0,0 +1,61 @@ + + + + + TextBox with Clear Icon - jQuery EasyUI Demo + + + + + + + +

              TextBox with Clear Icon

              +

              This example shows how to create an textbox with an icon to clear the input element itself.

              +
              + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/textbox/custom.html b/src/main/webapp/lib/jquery-easyui/demo/textbox/custom.html new file mode 100644 index 0000000..5b15fd7 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/textbox/custom.html @@ -0,0 +1,34 @@ + + + + + Custom TextBox - jQuery EasyUI Demo + + + + + + + +

              Custom TextBox

              +

              This example shows how to custom a login form.

              +
              +
              +
              + +
              +
              + +
              +
              + + Remember me +
              + +
              + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/textbox/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/textbox/fluid.html new file mode 100644 index 0000000..69d3aee --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/textbox/fluid.html @@ -0,0 +1,21 @@ + + + + + Fluid TextBox - jQuery EasyUI Demo + + + + + + + +

              Fluid TextBox

              +

              This example shows how to set the width of TextBox to a percentage of its parent container.

              +
              +

              width: 50%

              + +

              width: 30%

              + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/textbox/icons.html b/src/main/webapp/lib/jquery-easyui/demo/textbox/icons.html new file mode 100644 index 0000000..a594410 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/textbox/icons.html @@ -0,0 +1,45 @@ + + + + + TextBox with Icons - jQuery EasyUI Demo + + + + + + + +

              TextBox with Icons

              +

              Click the icons on textbox to perform actions.

              +
              +
              + Select Icon Align: + +
              + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/textbox/multiline.html b/src/main/webapp/lib/jquery-easyui/demo/textbox/multiline.html new file mode 100644 index 0000000..064ffd7 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/textbox/multiline.html @@ -0,0 +1,18 @@ + + + + + Multiline TextBox - jQuery EasyUI Demo + + + + + + + +

              Multiline TextBox

              +

              This example shows how to define a textbox for the user to enter multi-line text input.

              +
              + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/textbox/size.html b/src/main/webapp/lib/jquery-easyui/demo/textbox/size.html new file mode 100644 index 0000000..57c9a09 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/textbox/size.html @@ -0,0 +1,29 @@ + + + + + TextBox Size - jQuery EasyUI Demo + + + + + + + +

              TextBox Size

              +

              The textbox can vary in size.

              +
              +
              + +
              +
              + +
              +
              + +
              +
              + +
              + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/timespinner/actions.html b/src/main/webapp/lib/jquery-easyui/demo/timespinner/actions.html new file mode 100644 index 0000000..62a70bf --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/timespinner/actions.html @@ -0,0 +1,38 @@ + + + + + TimeSpinner Actions - jQuery EasyUI Demo + + + + + + + +

              TimeSpinner Actions

              +

              Click the buttons below to perform actions.

              + + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/timespinner/basic.html b/src/main/webapp/lib/jquery-easyui/demo/timespinner/basic.html new file mode 100644 index 0000000..8c32d30 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/timespinner/basic.html @@ -0,0 +1,18 @@ + + + + + Basic TimeSpinner - jQuery EasyUI Demo + + + + + + + +

              Basic TimeSpinner

              +

              Click spin button to adjust time.

              +
              + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/timespinner/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/timespinner/fluid.html new file mode 100644 index 0000000..8588fe9 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/timespinner/fluid.html @@ -0,0 +1,21 @@ + + + + + Fluid TimeSpinner - jQuery EasyUI Demo + + + + + + + +

              Fluid TimeSpinner

              +

              This example shows how to set the width of TimeSpinner to a percentage of its parent container.

              +
              +

              width: 50%

              + +

              width: 30%

              + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/timespinner/range.html b/src/main/webapp/lib/jquery-easyui/demo/timespinner/range.html new file mode 100644 index 0000000..63bbf55 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/timespinner/range.html @@ -0,0 +1,20 @@ + + + + + Time Range - jQuery EasyUI Demo + + + + + + + +

              Time Range

              +

              The time value is constrained in specified range.

              +
              + From 08:30 to 18:00 +
              + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tooltip/_content.html b/src/main/webapp/lib/jquery-easyui/demo/tooltip/_content.html new file mode 100644 index 0000000..f7b8e2e --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tooltip/_content.html @@ -0,0 +1,18 @@ + + + + + AJAX Content + + +

              Here is the content loaded via AJAX.

              +
                +
              • easyui is a collection of user-interface plugin based on jQuery.
              • +
              • easyui provides essential functionality for building modern, interactive, javascript applications.
              • +
              • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
              • +
              • complete framework for HTML5 web page.
              • +
              • easyui save your time and scales while developing your products.
              • +
              • easyui is very easy but powerful.
              • +
              + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tooltip/_dialog.html b/src/main/webapp/lib/jquery-easyui/demo/tooltip/_dialog.html new file mode 100644 index 0000000..2c1b464 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tooltip/_dialog.html @@ -0,0 +1,23 @@ + + + + + Dialog Content + + +
              +
              +
              User Name:
              + +
              +
              +
              Password:
              + +
              +
              + Login + Cancel +
              +
              + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tooltip/ajax.html b/src/main/webapp/lib/jquery-easyui/demo/tooltip/ajax.html new file mode 100644 index 0000000..2de45de --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tooltip/ajax.html @@ -0,0 +1,32 @@ + + + + + Ajax Tooltip - jQuery EasyUI Demo + + + + + + + +

              Ajax Tooltip

              +

              The tooltip content can be loaded via AJAX.

              +
              + Hove me to display tooltip content via AJAX. + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tooltip/basic.html b/src/main/webapp/lib/jquery-easyui/demo/tooltip/basic.html new file mode 100644 index 0000000..b9ad0e0 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tooltip/basic.html @@ -0,0 +1,20 @@ + + + + + Basic Tooltip - jQuery EasyUI Demo + + + + + + + +

              Basic Tooltip

              +

              Hover the links to display tooltip message.

              +
              +

              The tooltip can use each elements title attribute. + Hover me to display tooltip. +

              + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tooltip/customcontent.html b/src/main/webapp/lib/jquery-easyui/demo/tooltip/customcontent.html new file mode 100644 index 0000000..3e1ce97 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tooltip/customcontent.html @@ -0,0 +1,32 @@ + + + + + Custom Tooltip Content - jQuery EasyUI Demo + + + + + + + +

              Custom Tooltip Content

              +

              Access to each elements attribute to get the tooltip content.

              +
              +
              +
              +
              + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tooltip/customstyle.html b/src/main/webapp/lib/jquery-easyui/demo/tooltip/customstyle.html new file mode 100644 index 0000000..b5c8f3e --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tooltip/customstyle.html @@ -0,0 +1,52 @@ + + + + + Custom Tooltip Style - jQuery EasyUI Demo + + + + + + + +

              Custom Tooltip Style

              +

              This sample shows how to change the tooltip style.

              +
              +
              +
              Hover Me
              +
              +
              +
              Hover Me
              +
              + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tooltip/position.html b/src/main/webapp/lib/jquery-easyui/demo/tooltip/position.html new file mode 100644 index 0000000..ac97d67 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tooltip/position.html @@ -0,0 +1,34 @@ + + + + + Tooltip Position - jQuery EasyUI Demo + + + + + + + +

              Tooltip Position

              +

              Click the drop-down list below to change where the tooltip appears.

              +
              + Select position: + +
              +
              Hover Me
              +
              + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tooltip/toolbar.html b/src/main/webapp/lib/jquery-easyui/demo/tooltip/toolbar.html new file mode 100644 index 0000000..ac1dff7 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tooltip/toolbar.html @@ -0,0 +1,40 @@ + + + + + Tooltip as Toolbar - jQuery EasyUI Demo + + + + + + + +

              Tooltip as Toolbar

              +

              This sample shows how to create a tooltip style toolbar.

              +
              +
              +

              Hover me to display toolbar.

              +
              +
              +
              + + + + + +
              +
              + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tooltip/tooltipdialog.html b/src/main/webapp/lib/jquery-easyui/demo/tooltip/tooltipdialog.html new file mode 100644 index 0000000..caee524 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tooltip/tooltipdialog.html @@ -0,0 +1,44 @@ + + + + + Tooltip Dialog - jQuery EasyUI Demo + + + + + + + +

              Tooltip Dialog

              +

              This sample shows how to create a tooltip dialog.

              +
              +
              +

              Click here to see the tooltip dialog. +

              + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tree/actions.html b/src/main/webapp/lib/jquery-easyui/demo/tree/actions.html new file mode 100644 index 0000000..b5e2d4b --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tree/actions.html @@ -0,0 +1,47 @@ + + + + + Tree Actions - jQuery EasyUI Demo + + + + + + + +

              Tree Actions

              +

              Click the buttons below to perform actions.

              + +
              +
                +
                + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tree/animation.html b/src/main/webapp/lib/jquery-easyui/demo/tree/animation.html new file mode 100644 index 0000000..d7ea6cc --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tree/animation.html @@ -0,0 +1,20 @@ + + + + + Animation Tree - jQuery EasyUI Demo + + + + + + + +

                Animation Tree

                +

                Apply 'animate' property to true to enable animation effect.

                +
                +
                +
                  +
                  + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tree/basic.html b/src/main/webapp/lib/jquery-easyui/demo/tree/basic.html new file mode 100644 index 0000000..9d937a7 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tree/basic.html @@ -0,0 +1,53 @@ + + + + + Basic Tree - jQuery EasyUI Demo + + + + + + + +

                  Basic Tree

                  +

                  Click the arrow on the left to expand or collapse nodes.

                  +
                  +
                  +
                    +
                  • + My Documents +
                      +
                    • + Photos +
                        +
                      • + Friend +
                      • +
                      • + Wife +
                      • +
                      • + Company +
                      • +
                      +
                    • +
                    • + Program Files +
                        +
                      • Intel
                      • +
                      • Java
                      • +
                      • Microsoft Office
                      • +
                      • Games
                      • +
                      +
                    • +
                    • index.html
                    • +
                    • about.html
                    • +
                    • welcome.html
                    • +
                    +
                  • +
                  +
                  + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tree/checkbox.html b/src/main/webapp/lib/jquery-easyui/demo/tree/checkbox.html new file mode 100644 index 0000000..734266e --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tree/checkbox.html @@ -0,0 +1,37 @@ + + + + + CheckBox Tree - jQuery EasyUI Demo + + + + + + + +

                  CheckBox Tree

                  +

                  Tree nodes with check boxes.

                  + +
                  + CascadeCheck + OnlyLeafCheck +
                  +
                  +
                    +
                    + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tree/contextmenu.html b/src/main/webapp/lib/jquery-easyui/demo/tree/contextmenu.html new file mode 100644 index 0000000..67f14d0 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tree/contextmenu.html @@ -0,0 +1,65 @@ + + + + + Tree Context Menu - jQuery EasyUI Demo + + + + + + + +

                    Tree Context Menu

                    +

                    Right click on a node to display context menu.

                    +
                    +
                    +
                      +
                      +
                      +
                      Append
                      +
                      Remove
                      + +
                      Expand
                      +
                      Collapse
                      +
                      + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tree/dnd.html b/src/main/webapp/lib/jquery-easyui/demo/tree/dnd.html new file mode 100644 index 0000000..fdf4c1f --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tree/dnd.html @@ -0,0 +1,20 @@ + + + + + Drag Drop Tree Nodes - jQuery EasyUI Demo + + + + + + + +

                      Drag Drop Tree Nodes

                      +

                      Press mouse down and drag a node to another position.

                      +
                      +
                      +
                        +
                        + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tree/editable.html b/src/main/webapp/lib/jquery-easyui/demo/tree/editable.html new file mode 100644 index 0000000..afbb8c6 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tree/editable.html @@ -0,0 +1,27 @@ + + + + + Editable Tree - jQuery EasyUI Demo + + + + + + + +

                        Editable Tree

                        +

                        Click the node to begin edit, press enter key to stop edit or esc key to cancel edit.

                        +
                        +
                        +
                          +
                          + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tree/formatting.html b/src/main/webapp/lib/jquery-easyui/demo/tree/formatting.html new file mode 100644 index 0000000..e83d180 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tree/formatting.html @@ -0,0 +1,32 @@ + + + + + Formatting Tree Nodes - jQuery EasyUI Demo + + + + + + + +

                          Formatting Tree Nodes

                          +

                          This example shows how to display extra information on nodes.

                          +
                          +
                          +
                            +
                          +
                          + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tree/icons.html b/src/main/webapp/lib/jquery-easyui/demo/tree/icons.html new file mode 100644 index 0000000..c50df79 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tree/icons.html @@ -0,0 +1,20 @@ + + + + + Tree Node Icons - jQuery EasyUI Demo + + + + + + + +

                          Tree Node Icons

                          +

                          This sample illustrates how to add icons to tree node.

                          +
                          +
                          +
                            +
                            + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tree/lazyload.html b/src/main/webapp/lib/jquery-easyui/demo/tree/lazyload.html new file mode 100644 index 0000000..014b255 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tree/lazyload.html @@ -0,0 +1,82 @@ + + + + + Lazy Load Tree Nodes - jQuery EasyUI Demo + + + + + + + +

                            Lazy Load Tree Nodes

                            +

                            Get full hierarchical tree data but lazy load nodes level by level.

                            +
                            +
                            +
                              +
                              + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tree/lines.html b/src/main/webapp/lib/jquery-easyui/demo/tree/lines.html new file mode 100644 index 0000000..820ac44 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tree/lines.html @@ -0,0 +1,20 @@ + + + + + Tree Lines - jQuery EasyUI Demo + + + + + + + +

                              Tree Lines

                              +

                              This sample shows how to show tree lines.

                              +
                              +
                              +
                                +
                                + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/tree/tree_data1.json b/src/main/webapp/lib/jquery-easyui/demo/tree/tree_data1.json new file mode 100644 index 0000000..83fb0d6 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tree/tree_data1.json @@ -0,0 +1,49 @@ +[{ + "id":1, + "text":"My Documents", + "children":[{ + "id":11, + "text":"Photos", + "state":"closed", + "children":[{ + "id":111, + "text":"Friend" + },{ + "id":112, + "text":"Wife" + },{ + "id":113, + "text":"Company" + }] + },{ + "id":12, + "text":"Program Files", + "children":[{ + "id":121, + "text":"Intel" + },{ + "id":122, + "text":"Java", + "attributes":{ + "p1":"Custom Attribute1", + "p2":"Custom Attribute2" + } + },{ + "id":123, + "text":"Microsoft Office" + },{ + "id":124, + "text":"Games", + "checked":true + }] + },{ + "id":13, + "text":"index.html" + },{ + "id":14, + "text":"about.html" + },{ + "id":15, + "text":"welcome.html" + }] +}] diff --git a/src/main/webapp/lib/jquery-easyui/demo/tree/tree_data2.json b/src/main/webapp/lib/jquery-easyui/demo/tree/tree_data2.json new file mode 100644 index 0000000..14e3429 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/tree/tree_data2.json @@ -0,0 +1,61 @@ +[{ + "id":1, + "text":"My Documents", + "children":[{ + "id":11, + "text":"Photos", + "state":"closed", + "children":[{ + "id":111, + "text":"Friend" + },{ + "id":112, + "text":"Wife" + },{ + "id":113, + "text":"Company" + }] + },{ + "id":12, + "text":"Program Files", + "state":"closed", + "children":[{ + "id":121, + "text":"Intel" + },{ + "id":122, + "text":"Java" + },{ + "id":123, + "text":"Microsoft Office" + },{ + "id":124, + "text":"Games" + }] + },{ + "id":16, + "text":"Actions", + "children":[{ + "text":"Add", + "iconCls":"icon-add" + },{ + "text":"Remove", + "iconCls":"icon-remove" + },{ + "text":"Save", + "iconCls":"icon-save" + },{ + "text":"Search", + "iconCls":"icon-search" + }] + },{ + "id":13, + "text":"index.html" + },{ + "id":14, + "text":"about.html" + },{ + "id":15, + "text":"welcome.html" + }] +}] diff --git a/src/main/webapp/lib/jquery-easyui/demo/treegrid/actions.html b/src/main/webapp/lib/jquery-easyui/demo/treegrid/actions.html new file mode 100644 index 0000000..31430a5 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/treegrid/actions.html @@ -0,0 +1,64 @@ + + + + + TreeGrid Actions - jQuery EasyUI Demo + + + + + + + +

                                TreeGrid Actions

                                +

                                Click the buttons below to perform actions.

                                + + + + + + + + + + + +
                                Task NamePersonsBegin DateEnd DateProgress
                                + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/treegrid/basic.html b/src/main/webapp/lib/jquery-easyui/demo/treegrid/basic.html new file mode 100644 index 0000000..7daefeb --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/treegrid/basic.html @@ -0,0 +1,34 @@ + + + + + Basic TreeGrid - jQuery EasyUI Demo + + + + + + + +

                                Basic TreeGrid

                                +

                                TreeGrid allows you to expand or collapse group rows.

                                +
                                + + + + + + + + +
                                NameSizeModified Date
                                + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/treegrid/clientpagination.html b/src/main/webapp/lib/jquery-easyui/demo/treegrid/clientpagination.html new file mode 100644 index 0000000..7b13246 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/treegrid/clientpagination.html @@ -0,0 +1,137 @@ + + + + + Client Side Pagination in TreeGrid - jQuery EasyUI Demo + + + + + + + +

                                Client Side Pagination in TreeGrid

                                +

                                This sample shows how to implement client side pagination in TreeGrid.

                                +
                                + + + + + + + + + + +
                                Task NamePersonsBegin DateEnd DateProgress
                                + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/treegrid/contextmenu.html b/src/main/webapp/lib/jquery-easyui/demo/treegrid/contextmenu.html new file mode 100644 index 0000000..eebf20f --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/treegrid/contextmenu.html @@ -0,0 +1,104 @@ + + + + + TreeGrid ContextMenu - jQuery EasyUI Demo + + + + + + + +

                                TreeGrid ContextMenu

                                +

                                Right click to display the context menu.

                                +
                                + + + + + + + + + + +
                                Task NamePersonsBegin DateEnd DateProgress
                                +
                                +
                                Append
                                +
                                Remove
                                + +
                                Collapse
                                +
                                Expand
                                +
                                + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/treegrid/editable.html b/src/main/webapp/lib/jquery-easyui/demo/treegrid/editable.html new file mode 100644 index 0000000..30713e6 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/treegrid/editable.html @@ -0,0 +1,93 @@ + + + + + Editable TreeGrid - jQuery EasyUI Demo + + + + + + + +

                                Editable TreeGrid

                                +

                                Select one node and click edit button to perform editing.

                                +
                                + Edit + Save + Cancel +
                                + + + + + + + + + + +
                                Task NamePersonsBegin DateEnd DateProgress
                                + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/treegrid/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/treegrid/fluid.html new file mode 100644 index 0000000..e0c8c0e --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/treegrid/fluid.html @@ -0,0 +1,33 @@ + + + + + Fluid TreeGrid - jQuery EasyUI Demo + + + + + + + +

                                Fluid TreeGrid

                                +

                                This example shows how to assign percentage width to a column in TreeGrid.

                                +
                                + + + + + + + + +
                                Name(50%)Size(20%)Modified Date(30%)
                                + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/treegrid/footer.html b/src/main/webapp/lib/jquery-easyui/demo/treegrid/footer.html new file mode 100644 index 0000000..5d1cff9 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/treegrid/footer.html @@ -0,0 +1,55 @@ + + + + + TreeGrid with Footer - jQuery EasyUI Demo + + + + + + + +

                                TreeGrid with Footer

                                +

                                Show summary information on TreeGrid footer.

                                +
                                +
                                + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/treegrid/lines.html b/src/main/webapp/lib/jquery-easyui/demo/treegrid/lines.html new file mode 100644 index 0000000..78cf623 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/treegrid/lines.html @@ -0,0 +1,35 @@ + + + + + TreeGrid Lines - jQuery EasyUI Demo + + + + + + + +

                                TreeGrid Lines

                                +

                                This example shows how to show treegrid lines.

                                +
                                + + + + + + + + +
                                NameSizeModified Date
                                + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/treegrid/reports.html b/src/main/webapp/lib/jquery-easyui/demo/treegrid/reports.html new file mode 100644 index 0000000..94f27f4 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/treegrid/reports.html @@ -0,0 +1,49 @@ + + + + + Reports using TreeGrid - jQuery EasyUI Demo + + + + + + + +

                                Reports using TreeGrid

                                +

                                Using TreeGrid to show complex reports.

                                +
                                + + + + + + + + + + + + + + + + + + + + + + +
                                Region
                                20092010
                                1st qrt.2st qrt.3st qrt.4st qrt.1st qrt.2st qrt.3st qrt.4st qrt.
                                + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/treegrid/treegrid_data1.json b/src/main/webapp/lib/jquery-easyui/demo/treegrid/treegrid_data1.json new file mode 100644 index 0000000..0313d46 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/treegrid/treegrid_data1.json @@ -0,0 +1,73 @@ +[{ + "id":1, + "name":"C", + "size":"", + "date":"02/19/2010", + "children":[{ + "id":2, + "name":"Program Files", + "size":"120 MB", + "date":"03/20/2010", + "children":[{ + "id":21, + "name":"Java", + "size":"", + "date":"01/13/2010", + "state":"closed", + "children":[{ + "id":211, + "name":"java.exe", + "size":"142 KB", + "date":"01/13/2010" + },{ + "id":212, + "name":"jawt.dll", + "size":"5 KB", + "date":"01/13/2010" + }] + },{ + "id":22, + "name":"MySQL", + "size":"", + "date":"01/13/2010", + "state":"closed", + "children":[{ + "id":221, + "name":"my.ini", + "size":"10 KB", + "date":"02/26/2009" + },{ + "id":222, + "name":"my-huge.ini", + "size":"5 KB", + "date":"02/26/2009" + },{ + "id":223, + "name":"my-large.ini", + "size":"5 KB", + "date":"02/26/2009" + }] + }] + },{ + "id":3, + "name":"eclipse", + "size":"", + "date":"01/20/2010", + "children":[{ + "id":31, + "name":"eclipse.exe", + "size":"56 KB", + "date":"05/19/2009" + },{ + "id":32, + "name":"eclipse.ini", + "size":"1 KB", + "date":"04/20/2010" + },{ + "id":33, + "name":"notice.html", + "size":"7 KB", + "date":"03/17/2005" + }] + }] +}] \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/treegrid/treegrid_data2.json b/src/main/webapp/lib/jquery-easyui/demo/treegrid/treegrid_data2.json new file mode 100644 index 0000000..f917507 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/treegrid/treegrid_data2.json @@ -0,0 +1,11 @@ +{"total":7,"rows":[ + {"id":1,"name":"All Tasks","begin":"3/4/2010","end":"3/20/2010","progress":60,"iconCls":"icon-ok"}, + {"id":2,"name":"Designing","begin":"3/4/2010","end":"3/10/2010","progress":100,"_parentId":1,"state":"closed"}, + {"id":21,"name":"Database","persons":2,"begin":"3/4/2010","end":"3/6/2010","progress":100,"_parentId":2}, + {"id":22,"name":"UML","persons":1,"begin":"3/7/2010","end":"3/8/2010","progress":100,"_parentId":2}, + {"id":23,"name":"Export Document","persons":1,"begin":"3/9/2010","end":"3/10/2010","progress":100,"_parentId":2}, + {"id":3,"name":"Coding","persons":2,"begin":"3/11/2010","end":"3/18/2010","progress":80}, + {"id":4,"name":"Testing","persons":1,"begin":"3/19/2010","end":"3/20/2010","progress":20} +],"footer":[ + {"name":"Total Persons:","persons":7,"iconCls":"icon-sum"} +]} diff --git a/src/main/webapp/lib/jquery-easyui/demo/treegrid/treegrid_data3.json b/src/main/webapp/lib/jquery-easyui/demo/treegrid/treegrid_data3.json new file mode 100644 index 0000000..0475c38 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/treegrid/treegrid_data3.json @@ -0,0 +1,13 @@ +{"total":9,"rows":[ + {"id":1,"region":"Wyoming"}, + {"id":11,"region":"Albin","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":1}, + {"id":12,"region":"Canon","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":1}, + {"id":13,"region":"Egbert","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":1}, + {"id":2,"region":"Washington"}, + {"id":21,"region":"Bellingham","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":2}, + {"id":22,"region":"Chehalis","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":2}, + {"id":23,"region":"Ellensburg","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":2}, + {"id":24,"region":"Monroe","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":2} +],"footer":[ + {"region":"Total","f1":14000,"f2":12600,"f3":13321,"f4":15281,"f5":14931,"f6":13461,"f7":14126,"f8":12866} +]} \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/validatebox/basic.html b/src/main/webapp/lib/jquery-easyui/demo/validatebox/basic.html new file mode 100644 index 0000000..701bca2 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/validatebox/basic.html @@ -0,0 +1,50 @@ + + + + + Basic ValidateBox - jQuery EasyUI Demo + + + + + + + +

                                Basic ValidateBox

                                +

                                It's easy to add validate logic to a input box.

                                +
                                +
                                + + + + + + + + + + + + + + + + + + + + + +
                                User Name:
                                Email:
                                Birthday:
                                URL:
                                Phone:
                                +
                                + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/validatebox/customtooltip.html b/src/main/webapp/lib/jquery-easyui/demo/validatebox/customtooltip.html new file mode 100644 index 0000000..8574793 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/validatebox/customtooltip.html @@ -0,0 +1,95 @@ + + + + + Custom ValidateBox Tooltip - jQuery EasyUI Demo + + + + + + + +

                                Custom ValidateBox Tooltip

                                +

                                This sample shows how to display another tooltip message on a valid textbox.

                                +
                                +
                                + + + + + + + + + + + + + + + + + + + + + +
                                User Name:
                                Email:
                                Birthday:
                                URL:
                                Phone:
                                +
                                + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/validatebox/validateonblur.html b/src/main/webapp/lib/jquery-easyui/demo/validatebox/validateonblur.html new file mode 100644 index 0000000..5709efa --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/validatebox/validateonblur.html @@ -0,0 +1,57 @@ + + + + + Validate On Blur - jQuery EasyUI Demo + + + + + + + +

                                Validate On Blur

                                +

                                Active validation on first blur event.

                                +
                                +
                                + + + + + + + + + + + + + + + + + + + + + +
                                User Name:
                                Email:
                                Birthday:
                                URL:
                                Phone:
                                +
                                + + + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/window/basic.html b/src/main/webapp/lib/jquery-easyui/demo/window/basic.html new file mode 100644 index 0000000..4c3c551 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/window/basic.html @@ -0,0 +1,23 @@ + + + + + Basic Window - jQuery EasyUI Demo + + + + + + + +

                                Basic Window

                                +

                                Window can be dragged freely on screen.

                                +
                                + Open + Close +
                                +
                                + The window content. +
                                + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/window/customtools.html b/src/main/webapp/lib/jquery-easyui/demo/window/customtools.html new file mode 100644 index 0000000..1a22ad1 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/window/customtools.html @@ -0,0 +1,30 @@ + + + + + Custom Window Tools - jQuery EasyUI Demo + + + + + + + +

                                Custom Window Tools

                                +

                                Click the right top buttons to perform actions.

                                +
                                + Open + Close +
                                +
                                + The window content. +
                                +
                                + + + + +
                                + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/window/fluid.html b/src/main/webapp/lib/jquery-easyui/demo/window/fluid.html new file mode 100644 index 0000000..11b3967 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/window/fluid.html @@ -0,0 +1,24 @@ + + + + + Fluid Window - jQuery EasyUI Demo + + + + + + + +

                                Fluid Window

                                +

                                This example shows how to set the width of Window to a percentage of its parent container.

                                +
                                +
                                +

                                The window has a width of 80%.

                                +
                                + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/window/footer.html b/src/main/webapp/lib/jquery-easyui/demo/window/footer.html new file mode 100644 index 0000000..ba29d53 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/window/footer.html @@ -0,0 +1,24 @@ + + + + + Window with a Footer - jQuery EasyUI Demo + + + + + + + +

                                Window with a Footer

                                +

                                This example shows how to attach a footer bar to the window.

                                +
                                + Open + Close +
                                +
                                + The window content. +
                                + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/window/inlinewindow.html b/src/main/webapp/lib/jquery-easyui/demo/window/inlinewindow.html new file mode 100644 index 0000000..8335880 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/window/inlinewindow.html @@ -0,0 +1,26 @@ + + + + + Inline Window - jQuery EasyUI Demo + + + + + + + +

                                Inline Window

                                +

                                The inline window stay inside its parent.

                                +
                                + Open + Close +
                                +
                                +
                                + This window stay inside its parent +
                                +
                                + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/window/modalwindow.html b/src/main/webapp/lib/jquery-easyui/demo/window/modalwindow.html new file mode 100644 index 0000000..59e79ca --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/window/modalwindow.html @@ -0,0 +1,24 @@ + + + + + Modal Window - jQuery EasyUI Demo + + + + + + + +

                                Modal Window

                                +

                                Click the open button below to open the modal window.

                                +
                                + Open + Close +
                                +
                                + The window content. +
                                + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/demo/window/windowlayout.html b/src/main/webapp/lib/jquery-easyui/demo/window/windowlayout.html new file mode 100644 index 0000000..7311ef6 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/demo/window/windowlayout.html @@ -0,0 +1,33 @@ + + + + + Window Layout - jQuery EasyUI Demo + + + + + + + +

                                Window Layout

                                +

                                Using layout on window.

                                +
                                + Open + Close +
                                +
                                +
                                +
                                +
                                + jQuery EasyUI framework help you build your web page easily. +
                                +
                                + Ok + Cancel +
                                +
                                +
                                + + + \ No newline at end of file diff --git a/src/main/webapp/lib/jquery-easyui/easyloader.js b/src/main/webapp/lib/jquery-easyui/easyloader.js new file mode 100644 index 0000000..d5ec1cf --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/easyloader.js @@ -0,0 +1,190 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function(){ +var _1={draggable:{js:"jquery.draggable.js"},droppable:{js:"jquery.droppable.js"},resizable:{js:"jquery.resizable.js"},linkbutton:{js:"jquery.linkbutton.js",css:"linkbutton.css"},progressbar:{js:"jquery.progressbar.js",css:"progressbar.css"},tooltip:{js:"jquery.tooltip.js",css:"tooltip.css"},pagination:{js:"jquery.pagination.js",css:"pagination.css",dependencies:["linkbutton"]},datagrid:{js:"jquery.datagrid.js",css:"datagrid.css",dependencies:["panel","resizable","linkbutton","pagination"]},treegrid:{js:"jquery.treegrid.js",css:"tree.css",dependencies:["datagrid"]},propertygrid:{js:"jquery.propertygrid.js",css:"propertygrid.css",dependencies:["datagrid"]},panel:{js:"jquery.panel.js",css:"panel.css"},window:{js:"jquery.window.js",css:"window.css",dependencies:["resizable","draggable","panel"]},dialog:{js:"jquery.dialog.js",css:"dialog.css",dependencies:["linkbutton","window"]},messager:{js:"jquery.messager.js",css:"messager.css",dependencies:["linkbutton","window","progressbar"]},layout:{js:"jquery.layout.js",css:"layout.css",dependencies:["resizable","panel"]},form:{js:"jquery.form.js"},menu:{js:"jquery.menu.js",css:"menu.css"},tabs:{js:"jquery.tabs.js",css:"tabs.css",dependencies:["panel","linkbutton"]},menubutton:{js:"jquery.menubutton.js",css:"menubutton.css",dependencies:["linkbutton","menu"]},splitbutton:{js:"jquery.splitbutton.js",css:"splitbutton.css",dependencies:["menubutton"]},accordion:{js:"jquery.accordion.js",css:"accordion.css",dependencies:["panel"]},calendar:{js:"jquery.calendar.js",css:"calendar.css"},textbox:{js:"jquery.textbox.js",css:"textbox.css",dependencies:["validatebox","linkbutton"]},filebox:{js:"jquery.filebox.js",css:"filebox.css",dependencies:["textbox"]},combo:{js:"jquery.combo.js",css:"combo.css",dependencies:["panel","textbox"]},combobox:{js:"jquery.combobox.js",css:"combobox.css",dependencies:["combo"]},combotree:{js:"jquery.combotree.js",dependencies:["combo","tree"]},combogrid:{js:"jquery.combogrid.js",dependencies:["combo","datagrid"]},validatebox:{js:"jquery.validatebox.js",css:"validatebox.css",dependencies:["tooltip"]},numberbox:{js:"jquery.numberbox.js",dependencies:["textbox"]},searchbox:{js:"jquery.searchbox.js",css:"searchbox.css",dependencies:["menubutton","textbox"]},spinner:{js:"jquery.spinner.js",css:"spinner.css",dependencies:["textbox"]},numberspinner:{js:"jquery.numberspinner.js",dependencies:["spinner","numberbox"]},timespinner:{js:"jquery.timespinner.js",dependencies:["spinner"]},tree:{js:"jquery.tree.js",css:"tree.css",dependencies:["draggable","droppable"]},datebox:{js:"jquery.datebox.js",css:"datebox.css",dependencies:["calendar","combo"]},datetimebox:{js:"jquery.datetimebox.js",dependencies:["datebox","timespinner"]},slider:{js:"jquery.slider.js",dependencies:["draggable"]},tooltip:{js:"jquery.tooltip.js"},parser:{js:"jquery.parser.js"}}; +var _2={"af":"easyui-lang-af.js","ar":"easyui-lang-ar.js","bg":"easyui-lang-bg.js","ca":"easyui-lang-ca.js","cs":"easyui-lang-cs.js","cz":"easyui-lang-cz.js","da":"easyui-lang-da.js","de":"easyui-lang-de.js","el":"easyui-lang-el.js","en":"easyui-lang-en.js","es":"easyui-lang-es.js","fr":"easyui-lang-fr.js","it":"easyui-lang-it.js","jp":"easyui-lang-jp.js","nl":"easyui-lang-nl.js","pl":"easyui-lang-pl.js","pt_BR":"easyui-lang-pt_BR.js","ru":"easyui-lang-ru.js","sv_SE":"easyui-lang-sv_SE.js","tr":"easyui-lang-tr.js","zh_CN":"easyui-lang-zh_CN.js","zh_TW":"easyui-lang-zh_TW.js"}; +var _3={}; +function _4(_5,_6){ +var _7=false; +var _8=document.createElement("script"); +_8.type="text/javascript"; +_8.language="javascript"; +_8.src=_5; +_8.onload=_8.onreadystatechange=function(){ +if(!_7&&(!_8.readyState||_8.readyState=="loaded"||_8.readyState=="complete")){ +_7=true; +_8.onload=_8.onreadystatechange=null; +if(_6){ +_6.call(_8); +} +} +}; +document.getElementsByTagName("head")[0].appendChild(_8); +}; +function _9(_a,_b){ +_4(_a,function(){ +document.getElementsByTagName("head")[0].removeChild(this); +if(_b){ +_b(); +} +}); +}; +function _c(_d,_e){ +var _f=document.createElement("link"); +_f.rel="stylesheet"; +_f.type="text/css"; +_f.media="screen"; +_f.href=_d; +document.getElementsByTagName("head")[0].appendChild(_f); +if(_e){ +_e.call(_f); +} +}; +function _10(_11,_12){ +_3[_11]="loading"; +var _13=_1[_11]; +var _14="loading"; +var _15=(easyloader.css&&_13["css"])?"loading":"loaded"; +if(easyloader.css&&_13["css"]){ +if(/^http/i.test(_13["css"])){ +var url=_13["css"]; +}else{ +var url=easyloader.base+"themes/"+easyloader.theme+"/"+_13["css"]; +} +_c(url,function(){ +_15="loaded"; +if(_14=="loaded"&&_15=="loaded"){ +_16(); +} +}); +} +if(/^http/i.test(_13["js"])){ +var url=_13["js"]; +}else{ +var url=easyloader.base+"plugins/"+_13["js"]; +} +_4(url,function(){ +_14="loaded"; +if(_14=="loaded"&&_15=="loaded"){ +_16(); +} +}); +function _16(){ +_3[_11]="loaded"; +easyloader.onProgress(_11); +if(_12){ +_12(); +} +}; +}; +function _17(_18,_19){ +var mm=[]; +var _1a=false; +if(typeof _18=="string"){ +add(_18); +}else{ +for(var i=0;i<_18.length;i++){ +add(_18[i]); +} +} +function add(_1b){ +if(!_1[_1b]){ +return; +} +var d=_1[_1b]["dependencies"]; +if(d){ +for(var i=0;i=0){ +v=Math.floor((_8.width()-_9)*v/100); +}else{ +v=Math.floor((_8.height()-_9)*v/100); +} +}else{ +v=parseInt(v)||undefined; +} +return v; +},parseOptions:function(_b,_c){ +var t=$(_b); +var _d={}; +var s=$.trim(t.attr("data-options")); +if(s){ +if(s.substring(0,1)!="{"){ +s="{"+s+"}"; +} +_d=(new Function("return "+s))(); +} +$.map(["width","height","left","top","minWidth","maxWidth","minHeight","maxHeight"],function(p){ +var pv=$.trim(_b.style[p]||""); +if(pv){ +if(pv.indexOf("%")==-1){ +pv=parseInt(pv)||undefined; +} +_d[p]=pv; +} +}); +if(_c){ +var _e={}; +for(var i=0;i<_c.length;i++){ +var pp=_c[i]; +if(typeof pp=="string"){ +_e[pp]=t.attr(pp); +}else{ +for(var _f in pp){ +var _10=pp[_f]; +if(_10=="boolean"){ +_e[_f]=t.attr(_f)?(t.attr(_f)=="true"):undefined; +}else{ +if(_10=="number"){ +_e[_f]=t.attr(_f)=="0"?0:parseFloat(t.attr(_f))||undefined; +} +} +} +} +} +$.extend(_d,_e); +} +return _d; +}}; +$(function(){ +var d=$("
                                ").appendTo("body"); +$._boxModel=d.outerWidth()!=100; +d.remove(); +if(!window.easyloader&&$.parser.auto){ +$.parser.parse(); +} +}); +$.fn._outerWidth=function(_11){ +if(_11==undefined){ +if(this[0]==window){ +return this.width()||document.body.clientWidth; +} +return this.outerWidth()||0; +} +return this._size("width",_11); +}; +$.fn._outerHeight=function(_12){ +if(_12==undefined){ +if(this[0]==window){ +return this.height()||document.body.clientHeight; +} +return this.outerHeight()||0; +} +return this._size("height",_12); +}; +$.fn._scrollLeft=function(_13){ +if(_13==undefined){ +return this.scrollLeft(); +}else{ +return this.each(function(){ +$(this).scrollLeft(_13); +}); +} +}; +$.fn._propAttr=$.fn.prop||$.fn.attr; +$.fn._size=function(_14,_15){ +if(typeof _14=="string"){ +if(_14=="clear"){ +return this.each(function(){ +$(this).css({width:"",minWidth:"",maxWidth:"",height:"",minHeight:"",maxHeight:""}); +}); +}else{ +if(_14=="fit"){ +return this.each(function(){ +_16(this,this.tagName=="BODY"?$("body"):$(this).parent(),true); +}); +}else{ +if(_14=="unfit"){ +return this.each(function(){ +_16(this,$(this).parent(),false); +}); +}else{ +if(_15==undefined){ +return _17(this[0],_14); +}else{ +return this.each(function(){ +_17(this,_14,_15); +}); +} +} +} +} +}else{ +return this.each(function(){ +_15=_15||$(this).parent(); +$.extend(_14,_16(this,_15,_14.fit)||{}); +var r1=_18(this,"width",_15,_14); +var r2=_18(this,"height",_15,_14); +if(r1||r2){ +$(this).addClass("easyui-fluid"); +}else{ +$(this).removeClass("easyui-fluid"); +} +}); +} +function _16(_19,_1a,fit){ +if(!_1a.length){ +return false; +} +var t=$(_19)[0]; +var p=_1a[0]; +var _1b=p.fcount||0; +if(fit){ +if(!t.fitted){ +t.fitted=true; +p.fcount=_1b+1; +$(p).addClass("panel-noscroll"); +if(p.tagName=="BODY"){ +$("html").addClass("panel-fit"); +} +} +return {width:($(p).width()||1),height:($(p).height()||1)}; +}else{ +if(t.fitted){ +t.fitted=false; +p.fcount=_1b-1; +if(p.fcount==0){ +$(p).removeClass("panel-noscroll"); +if(p.tagName=="BODY"){ +$("html").removeClass("panel-fit"); +} +} +} +return false; +} +}; +function _18(_1c,_1d,_1e,_1f){ +var t=$(_1c); +var p=_1d; +var p1=p.substr(0,1).toUpperCase()+p.substr(1); +var min=$.parser.parseValue("min"+p1,_1f["min"+p1],_1e); +var max=$.parser.parseValue("max"+p1,_1f["max"+p1],_1e); +var val=$.parser.parseValue(p,_1f[p],_1e); +var _20=(String(_1f[p]||"").indexOf("%")>=0?true:false); +if(!isNaN(val)){ +var v=Math.min(Math.max(val,min||0),max||99999); +if(!_20){ +_1f[p]=v; +} +t._size("min"+p1,""); +t._size("max"+p1,""); +t._size(p,v); +}else{ +t._size(p,""); +t._size("min"+p1,min); +t._size("max"+p1,max); +} +return _20||_1f.fit; +}; +function _17(_21,_22,_23){ +var t=$(_21); +if(_23==undefined){ +_23=parseInt(_21.style[_22]); +if(isNaN(_23)){ +return undefined; +} +if($._boxModel){ +_23+=_24(); +} +return _23; +}else{ +if(_23===""){ +t.css(_22,""); +}else{ +if($._boxModel){ +_23-=_24(); +if(_23<0){ +_23=0; +} +} +t.css(_22,_23+"px"); +} +} +function _24(){ +if(_22.toLowerCase().indexOf("width")>=0){ +return t.outerWidth()-t.width(); +}else{ +return t.outerHeight()-t.height(); +} +}; +}; +}; +})(jQuery); +(function($){ +var _25=null; +var _26=null; +var _27=false; +function _28(e){ +if(e.touches.length!=1){ +return; +} +if(!_27){ +_27=true; +dblClickTimer=setTimeout(function(){ +_27=false; +},500); +}else{ +clearTimeout(dblClickTimer); +_27=false; +_29(e,"dblclick"); +} +_25=setTimeout(function(){ +_29(e,"contextmenu",3); +},1000); +_29(e,"mousedown"); +if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ +e.preventDefault(); +} +}; +function _2a(e){ +if(e.touches.length!=1){ +return; +} +if(_25){ +clearTimeout(_25); +} +_29(e,"mousemove"); +if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ +e.preventDefault(); +} +}; +function _2b(e){ +if(_25){ +clearTimeout(_25); +} +_29(e,"mouseup"); +if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ +e.preventDefault(); +} +}; +function _29(e,_2c,_2d){ +var _2e=new $.Event(_2c); +_2e.pageX=e.changedTouches[0].pageX; +_2e.pageY=e.changedTouches[0].pageY; +_2e.which=_2d||1; +$(e.target).trigger(_2e); +}; +if(document.addEventListener){ +document.addEventListener("touchstart",_28,true); +document.addEventListener("touchmove",_2a,true); +document.addEventListener("touchend",_2b,true); +} +})(jQuery); +(function($){ +function _2f(e){ +var _30=$.data(e.data.target,"draggable"); +var _31=_30.options; +var _32=_30.proxy; +var _33=e.data; +var _34=_33.startLeft+e.pageX-_33.startX; +var top=_33.startTop+e.pageY-_33.startY; +if(_32){ +if(_32.parent()[0]==document.body){ +if(_31.deltaX!=null&&_31.deltaX!=undefined){ +_34=e.pageX+_31.deltaX; +}else{ +_34=e.pageX-e.data.offsetWidth; +} +if(_31.deltaY!=null&&_31.deltaY!=undefined){ +top=e.pageY+_31.deltaY; +}else{ +top=e.pageY-e.data.offsetHeight; +} +}else{ +if(_31.deltaX!=null&&_31.deltaX!=undefined){ +_34+=e.data.offsetWidth+_31.deltaX; +} +if(_31.deltaY!=null&&_31.deltaY!=undefined){ +top+=e.data.offsetHeight+_31.deltaY; +} +} +} +if(e.data.parent!=document.body){ +_34+=$(e.data.parent).scrollLeft(); +top+=$(e.data.parent).scrollTop(); +} +if(_31.axis=="h"){ +_33.left=_34; +}else{ +if(_31.axis=="v"){ +_33.top=top; +}else{ +_33.left=_34; +_33.top=top; +} +} +}; +function _35(e){ +var _36=$.data(e.data.target,"draggable"); +var _37=_36.options; +var _38=_36.proxy; +if(!_38){ +_38=$(e.data.target); +} +_38.css({left:e.data.left,top:e.data.top}); +$("body").css("cursor",_37.cursor); +}; +function _39(e){ +$.fn.draggable.isDragging=true; +var _3a=$.data(e.data.target,"draggable"); +var _3b=_3a.options; +var _3c=$(".droppable").filter(function(){ +return e.data.target!=this; +}).filter(function(){ +var _3d=$.data(this,"droppable").options.accept; +if(_3d){ +return $(_3d).filter(function(){ +return this==e.data.target; +}).length>0; +}else{ +return true; +} +}); +_3a.droppables=_3c; +var _3e=_3a.proxy; +if(!_3e){ +if(_3b.proxy){ +if(_3b.proxy=="clone"){ +_3e=$(e.data.target).clone().insertAfter(e.data.target); +}else{ +_3e=_3b.proxy.call(e.data.target,e.data.target); +} +_3a.proxy=_3e; +}else{ +_3e=$(e.data.target); +} +} +_3e.css("position","absolute"); +_2f(e); +_35(e); +_3b.onStartDrag.call(e.data.target,e); +return false; +}; +function _3f(e){ +var _40=$.data(e.data.target,"draggable"); +_2f(e); +if(_40.options.onDrag.call(e.data.target,e)!=false){ +_35(e); +} +var _41=e.data.target; +_40.droppables.each(function(){ +var _42=$(this); +if(_42.droppable("options").disabled){ +return; +} +var p2=_42.offset(); +if(e.pageX>p2.left&&e.pageXp2.top&&e.pageYp2.left&&e.pageXp2.top&&e.pageY_57.options.edge; +}; +}); +}; +$.fn.draggable.methods={options:function(jq){ +return $.data(jq[0],"draggable").options; +},proxy:function(jq){ +return $.data(jq[0],"draggable").proxy; +},enable:function(jq){ +return jq.each(function(){ +$(this).draggable({disabled:false}); +}); +},disable:function(jq){ +return jq.each(function(){ +$(this).draggable({disabled:true}); +}); +}}; +$.fn.draggable.parseOptions=function(_5c){ +var t=$(_5c); +return $.extend({},$.parser.parseOptions(_5c,["cursor","handle","axis",{"revert":"boolean","deltaX":"number","deltaY":"number","edge":"number"}]),{disabled:(t.attr("disabled")?true:undefined)}); +}; +$.fn.draggable.defaults={proxy:null,revert:false,cursor:"move",deltaX:null,deltaY:null,handle:null,disabled:false,edge:0,axis:null,onBeforeDrag:function(e){ +},onStartDrag:function(e){ +},onDrag:function(e){ +},onStopDrag:function(e){ +}}; +$.fn.draggable.isDragging=false; +})(jQuery); +(function($){ +function _5d(_5e){ +$(_5e).addClass("droppable"); +$(_5e).bind("_dragenter",function(e,_5f){ +$.data(_5e,"droppable").options.onDragEnter.apply(_5e,[e,_5f]); +}); +$(_5e).bind("_dragleave",function(e,_60){ +$.data(_5e,"droppable").options.onDragLeave.apply(_5e,[e,_60]); +}); +$(_5e).bind("_dragover",function(e,_61){ +$.data(_5e,"droppable").options.onDragOver.apply(_5e,[e,_61]); +}); +$(_5e).bind("_drop",function(e,_62){ +$.data(_5e,"droppable").options.onDrop.apply(_5e,[e,_62]); +}); +}; +$.fn.droppable=function(_63,_64){ +if(typeof _63=="string"){ +return $.fn.droppable.methods[_63](this,_64); +} +_63=_63||{}; +return this.each(function(){ +var _65=$.data(this,"droppable"); +if(_65){ +$.extend(_65.options,_63); +}else{ +_5d(this); +$.data(this,"droppable",{options:$.extend({},$.fn.droppable.defaults,$.fn.droppable.parseOptions(this),_63)}); +} +}); +}; +$.fn.droppable.methods={options:function(jq){ +return $.data(jq[0],"droppable").options; +},enable:function(jq){ +return jq.each(function(){ +$(this).droppable({disabled:false}); +}); +},disable:function(jq){ +return jq.each(function(){ +$(this).droppable({disabled:true}); +}); +}}; +$.fn.droppable.parseOptions=function(_66){ +var t=$(_66); +return $.extend({},$.parser.parseOptions(_66,["accept"]),{disabled:(t.attr("disabled")?true:undefined)}); +}; +$.fn.droppable.defaults={accept:null,disabled:false,onDragEnter:function(e,_67){ +},onDragOver:function(e,_68){ +},onDragLeave:function(e,_69){ +},onDrop:function(e,_6a){ +}}; +})(jQuery); +(function($){ +$.fn.resizable=function(_6b,_6c){ +if(typeof _6b=="string"){ +return $.fn.resizable.methods[_6b](this,_6c); +} +function _6d(e){ +var _6e=e.data; +var _6f=$.data(_6e.target,"resizable").options; +if(_6e.dir.indexOf("e")!=-1){ +var _70=_6e.startWidth+e.pageX-_6e.startX; +_70=Math.min(Math.max(_70,_6f.minWidth),_6f.maxWidth); +_6e.width=_70; +} +if(_6e.dir.indexOf("s")!=-1){ +var _71=_6e.startHeight+e.pageY-_6e.startY; +_71=Math.min(Math.max(_71,_6f.minHeight),_6f.maxHeight); +_6e.height=_71; +} +if(_6e.dir.indexOf("w")!=-1){ +var _70=_6e.startWidth-e.pageX+_6e.startX; +_70=Math.min(Math.max(_70,_6f.minWidth),_6f.maxWidth); +_6e.width=_70; +_6e.left=_6e.startLeft+_6e.startWidth-_6e.width; +} +if(_6e.dir.indexOf("n")!=-1){ +var _71=_6e.startHeight-e.pageY+_6e.startY; +_71=Math.min(Math.max(_71,_6f.minHeight),_6f.maxHeight); +_6e.height=_71; +_6e.top=_6e.startTop+_6e.startHeight-_6e.height; +} +}; +function _72(e){ +var _73=e.data; +var t=$(_73.target); +t.css({left:_73.left,top:_73.top}); +if(t.outerWidth()!=_73.width){ +t._outerWidth(_73.width); +} +if(t.outerHeight()!=_73.height){ +t._outerHeight(_73.height); +} +}; +function _74(e){ +$.fn.resizable.isResizing=true; +$.data(e.data.target,"resizable").options.onStartResize.call(e.data.target,e); +return false; +}; +function _75(e){ +_6d(e); +if($.data(e.data.target,"resizable").options.onResize.call(e.data.target,e)!=false){ +_72(e); +} +return false; +}; +function _76(e){ +$.fn.resizable.isResizing=false; +_6d(e,true); +_72(e); +$.data(e.data.target,"resizable").options.onStopResize.call(e.data.target,e); +$(document).unbind(".resizable"); +$("body").css("cursor",""); +return false; +}; +return this.each(function(){ +var _77=null; +var _78=$.data(this,"resizable"); +if(_78){ +$(this).unbind(".resizable"); +_77=$.extend(_78.options,_6b||{}); +}else{ +_77=$.extend({},$.fn.resizable.defaults,$.fn.resizable.parseOptions(this),_6b||{}); +$.data(this,"resizable",{options:_77}); +} +if(_77.disabled==true){ +return; +} +$(this).bind("mousemove.resizable",{target:this},function(e){ +if($.fn.resizable.isResizing){ +return; +} +var dir=_79(e); +if(dir==""){ +$(e.data.target).css("cursor",""); +}else{ +$(e.data.target).css("cursor",dir+"-resize"); +} +}).bind("mouseleave.resizable",{target:this},function(e){ +$(e.data.target).css("cursor",""); +}).bind("mousedown.resizable",{target:this},function(e){ +var dir=_79(e); +if(dir==""){ +return; +} +function _7a(css){ +var val=parseInt($(e.data.target).css(css)); +if(isNaN(val)){ +return 0; +}else{ +return val; +} +}; +var _7b={target:e.data.target,dir:dir,startLeft:_7a("left"),startTop:_7a("top"),left:_7a("left"),top:_7a("top"),startX:e.pageX,startY:e.pageY,startWidth:$(e.data.target).outerWidth(),startHeight:$(e.data.target).outerHeight(),width:$(e.data.target).outerWidth(),height:$(e.data.target).outerHeight(),deltaWidth:$(e.data.target).outerWidth()-$(e.data.target).width(),deltaHeight:$(e.data.target).outerHeight()-$(e.data.target).height()}; +$(document).bind("mousedown.resizable",_7b,_74); +$(document).bind("mousemove.resizable",_7b,_75); +$(document).bind("mouseup.resizable",_7b,_76); +$("body").css("cursor",dir+"-resize"); +}); +function _79(e){ +var tt=$(e.data.target); +var dir=""; +var _7c=tt.offset(); +var _7d=tt.outerWidth(); +var _7e=tt.outerHeight(); +var _7f=_77.edge; +if(e.pageY>_7c.top&&e.pageY<_7c.top+_7f){ +dir+="n"; +}else{ +if(e.pageY<_7c.top+_7e&&e.pageY>_7c.top+_7e-_7f){ +dir+="s"; +} +} +if(e.pageX>_7c.left&&e.pageX<_7c.left+_7f){ +dir+="w"; +}else{ +if(e.pageX<_7c.left+_7d&&e.pageX>_7c.left+_7d-_7f){ +dir+="e"; +} +} +var _80=_77.handles.split(","); +for(var i=0;i<_80.length;i++){ +var _81=_80[i].replace(/(^\s*)|(\s*$)/g,""); +if(_81=="all"||_81==dir){ +return dir; +} +} +return ""; +}; +}); +}; +$.fn.resizable.methods={options:function(jq){ +return $.data(jq[0],"resizable").options; +},enable:function(jq){ +return jq.each(function(){ +$(this).resizable({disabled:false}); +}); +},disable:function(jq){ +return jq.each(function(){ +$(this).resizable({disabled:true}); +}); +}}; +$.fn.resizable.parseOptions=function(_82){ +var t=$(_82); +return $.extend({},$.parser.parseOptions(_82,["handles",{minWidth:"number",minHeight:"number",maxWidth:"number",maxHeight:"number",edge:"number"}]),{disabled:(t.attr("disabled")?true:undefined)}); +}; +$.fn.resizable.defaults={disabled:false,handles:"n, e, s, w, ne, se, sw, nw, all",minWidth:10,minHeight:10,maxWidth:10000,maxHeight:10000,edge:5,onStartResize:function(e){ +},onResize:function(e){ +},onStopResize:function(e){ +}}; +$.fn.resizable.isResizing=false; +})(jQuery); +(function($){ +function _83(_84,_85){ +var _86=$.data(_84,"linkbutton").options; +if(_85){ +$.extend(_86,_85); +} +if(_86.width||_86.height||_86.fit){ +var btn=$(_84); +var _87=btn.parent(); +var _88=btn.is(":visible"); +if(!_88){ +var _89=$("
                                ").insertBefore(_84); +var _8a={position:btn.css("position"),display:btn.css("display"),left:btn.css("left")}; +btn.appendTo("body"); +btn.css({position:"absolute",display:"inline-block",left:-20000}); +} +btn._size(_86,_87); +var _8b=btn.find(".l-btn-left"); +_8b.css("margin-top",0); +_8b.css("margin-top",parseInt((btn.height()-_8b.height())/2)+"px"); +if(!_88){ +btn.insertAfter(_89); +btn.css(_8a); +_89.remove(); +} +} +}; +function _8c(_8d){ +var _8e=$.data(_8d,"linkbutton").options; +var t=$(_8d).empty(); +t.addClass("l-btn").removeClass("l-btn-plain l-btn-selected l-btn-plain-selected"); +t.removeClass("l-btn-small l-btn-medium l-btn-large").addClass("l-btn-"+_8e.size); +if(_8e.plain){ +t.addClass("l-btn-plain"); +} +if(_8e.selected){ +t.addClass(_8e.plain?"l-btn-selected l-btn-plain-selected":"l-btn-selected"); +} +t.attr("group",_8e.group||""); +t.attr("id",_8e.id||""); +var _8f=$("").appendTo(t); +if(_8e.text){ +$("").html(_8e.text).appendTo(_8f); +}else{ +$(" ").appendTo(_8f); +} +if(_8e.iconCls){ +$(" ").addClass(_8e.iconCls).appendTo(_8f); +_8f.addClass("l-btn-icon-"+_8e.iconAlign); +} +t.unbind(".linkbutton").bind("focus.linkbutton",function(){ +if(!_8e.disabled){ +$(this).addClass("l-btn-focus"); +} +}).bind("blur.linkbutton",function(){ +$(this).removeClass("l-btn-focus"); +}).bind("click.linkbutton",function(){ +if(!_8e.disabled){ +if(_8e.toggle){ +if(_8e.selected){ +$(this).linkbutton("unselect"); +}else{ +$(this).linkbutton("select"); +} +} +_8e.onClick.call(this); +} +}); +_90(_8d,_8e.selected); +_91(_8d,_8e.disabled); +}; +function _90(_92,_93){ +var _94=$.data(_92,"linkbutton").options; +if(_93){ +if(_94.group){ +$("a.l-btn[group=\""+_94.group+"\"]").each(function(){ +var o=$(this).linkbutton("options"); +if(o.toggle){ +$(this).removeClass("l-btn-selected l-btn-plain-selected"); +o.selected=false; +} +}); +} +$(_92).addClass(_94.plain?"l-btn-selected l-btn-plain-selected":"l-btn-selected"); +_94.selected=true; +}else{ +if(!_94.group){ +$(_92).removeClass("l-btn-selected l-btn-plain-selected"); +_94.selected=false; +} +} +}; +function _91(_95,_96){ +var _97=$.data(_95,"linkbutton"); +var _98=_97.options; +$(_95).removeClass("l-btn-disabled l-btn-plain-disabled"); +if(_96){ +_98.disabled=true; +var _99=$(_95).attr("href"); +if(_99){ +_97.href=_99; +$(_95).attr("href","javascript:void(0)"); +} +if(_95.onclick){ +_97.onclick=_95.onclick; +_95.onclick=null; +} +_98.plain?$(_95).addClass("l-btn-disabled l-btn-plain-disabled"):$(_95).addClass("l-btn-disabled"); +}else{ +_98.disabled=false; +if(_97.href){ +$(_95).attr("href",_97.href); +} +if(_97.onclick){ +_95.onclick=_97.onclick; +} +} +}; +$.fn.linkbutton=function(_9a,_9b){ +if(typeof _9a=="string"){ +return $.fn.linkbutton.methods[_9a](this,_9b); +} +_9a=_9a||{}; +return this.each(function(){ +var _9c=$.data(this,"linkbutton"); +if(_9c){ +$.extend(_9c.options,_9a); +}else{ +$.data(this,"linkbutton",{options:$.extend({},$.fn.linkbutton.defaults,$.fn.linkbutton.parseOptions(this),_9a)}); +$(this).removeAttr("disabled"); +$(this).bind("_resize",function(e,_9d){ +if($(this).hasClass("easyui-fluid")||_9d){ +_83(this); +} +return false; +}); +} +_8c(this); +_83(this); +}); +}; +$.fn.linkbutton.methods={options:function(jq){ +return $.data(jq[0],"linkbutton").options; +},resize:function(jq,_9e){ +return jq.each(function(){ +_83(this,_9e); +}); +},enable:function(jq){ +return jq.each(function(){ +_91(this,false); +}); +},disable:function(jq){ +return jq.each(function(){ +_91(this,true); +}); +},select:function(jq){ +return jq.each(function(){ +_90(this,true); +}); +},unselect:function(jq){ +return jq.each(function(){ +_90(this,false); +}); +}}; +$.fn.linkbutton.parseOptions=function(_9f){ +var t=$(_9f); +return $.extend({},$.parser.parseOptions(_9f,["id","iconCls","iconAlign","group","size",{plain:"boolean",toggle:"boolean",selected:"boolean"}]),{disabled:(t.attr("disabled")?true:undefined),text:$.trim(t.html()),iconCls:(t.attr("icon")||t.attr("iconCls"))}); +}; +$.fn.linkbutton.defaults={id:null,disabled:false,toggle:false,selected:false,group:null,plain:false,text:"",iconCls:null,iconAlign:"left",size:"small",onClick:function(){ +}}; +})(jQuery); +(function($){ +function _a0(_a1){ +var _a2=$.data(_a1,"pagination"); +var _a3=_a2.options; +var bb=_a2.bb={}; +var _a4=$(_a1).addClass("pagination").html("
                                "); +var tr=_a4.find("tr"); +var aa=$.extend([],_a3.layout); +if(!_a3.showPageList){ +_a5(aa,"list"); +} +if(!_a3.showRefresh){ +_a5(aa,"refresh"); +} +if(aa[0]=="sep"){ +aa.shift(); +} +if(aa[aa.length-1]=="sep"){ +aa.pop(); +} +for(var _a6=0;_a6"); +ps.bind("change",function(){ +_a3.pageSize=parseInt($(this).val()); +_a3.onChangePageSize.call(_a1,_a3.pageSize); +_ad(_a1,_a3.pageNumber); +}); +for(var i=0;i<_a3.pageList.length;i++){ +$("").text(_a3.pageList[i]).appendTo(ps); +} +$("").append(ps).appendTo(tr); +}else{ +if(_a7=="sep"){ +$("
                                ").appendTo(tr); +}else{ +if(_a7=="first"){ +bb.first=_a8("first"); +}else{ +if(_a7=="prev"){ +bb.prev=_a8("prev"); +}else{ +if(_a7=="next"){ +bb.next=_a8("next"); +}else{ +if(_a7=="last"){ +bb.last=_a8("last"); +}else{ +if(_a7=="manual"){ +$("").html(_a3.beforePageText).appendTo(tr).wrap(""); +bb.num=$("").appendTo(tr).wrap(""); +bb.num.unbind(".pagination").bind("keydown.pagination",function(e){ +if(e.keyCode==13){ +var _a9=parseInt($(this).val())||1; +_ad(_a1,_a9); +return false; +} +}); +bb.after=$("").appendTo(tr).wrap(""); +}else{ +if(_a7=="refresh"){ +bb.refresh=_a8("refresh"); +}else{ +if(_a7=="links"){ +$("").appendTo(tr); +} +} +} +} +} +} +} +} +} +} +if(_a3.buttons){ +$("
                                ").appendTo(tr); +if($.isArray(_a3.buttons)){ +for(var i=0;i<_a3.buttons.length;i++){ +var btn=_a3.buttons[i]; +if(btn=="-"){ +$("
                                ").appendTo(tr); +}else{ +var td=$("").appendTo(tr); +var a=$("").appendTo(td); +a[0].onclick=eval(btn.handler||function(){ +}); +a.linkbutton($.extend({},btn,{plain:true})); +} +} +}else{ +var td=$("").appendTo(tr); +$(_a3.buttons).appendTo(td).show(); +} +} +$("
                                ").appendTo(_a4); +$("
                                ").appendTo(_a4); +function _a8(_aa){ +var btn=_a3.nav[_aa]; +var a=$("").appendTo(tr); +a.wrap(""); +a.linkbutton({iconCls:btn.iconCls,plain:true}).unbind(".pagination").bind("click.pagination",function(){ +btn.handler.call(_a1); +}); +return a; +}; +function _a5(aa,_ab){ +var _ac=$.inArray(_ab,aa); +if(_ac>=0){ +aa.splice(_ac,1); +} +return aa; +}; +}; +function _ad(_ae,_af){ +var _b0=$.data(_ae,"pagination").options; +_b1(_ae,{pageNumber:_af}); +_b0.onSelectPage.call(_ae,_b0.pageNumber,_b0.pageSize); +}; +function _b1(_b2,_b3){ +var _b4=$.data(_b2,"pagination"); +var _b5=_b4.options; +var bb=_b4.bb; +$.extend(_b5,_b3||{}); +var ps=$(_b2).find("select.pagination-page-list"); +if(ps.length){ +ps.val(_b5.pageSize+""); +_b5.pageSize=parseInt(ps.val()); +} +var _b6=Math.ceil(_b5.total/_b5.pageSize)||1; +if(_b5.pageNumber<1){ +_b5.pageNumber=1; +} +if(_b5.pageNumber>_b6){ +_b5.pageNumber=_b6; +} +if(_b5.total==0){ +_b5.pageNumber=0; +_b6=0; +} +if(bb.num){ +bb.num.val(_b5.pageNumber); +} +if(bb.after){ +bb.after.html(_b5.afterPageText.replace(/{pages}/,_b6)); +} +var td=$(_b2).find("td.pagination-links"); +if(td.length){ +td.empty(); +var _b7=_b5.pageNumber-Math.floor(_b5.links/2); +if(_b7<1){ +_b7=1; +} +var _b8=_b7+_b5.links-1; +if(_b8>_b6){ +_b8=_b6; +} +_b7=_b8-_b5.links+1; +if(_b7<1){ +_b7=1; +} +for(var i=_b7;i<=_b8;i++){ +var a=$("").appendTo(td); +a.linkbutton({plain:true,text:i}); +if(i==_b5.pageNumber){ +a.linkbutton("select"); +}else{ +a.unbind(".pagination").bind("click.pagination",{pageNumber:i},function(e){ +_ad(_b2,e.data.pageNumber); +}); +} +} +} +var _b9=_b5.displayMsg; +_b9=_b9.replace(/{from}/,_b5.total==0?0:_b5.pageSize*(_b5.pageNumber-1)+1); +_b9=_b9.replace(/{to}/,Math.min(_b5.pageSize*(_b5.pageNumber),_b5.total)); +_b9=_b9.replace(/{total}/,_b5.total); +$(_b2).find("div.pagination-info").html(_b9); +if(bb.first){ +bb.first.linkbutton({disabled:((!_b5.total)||_b5.pageNumber==1)}); +} +if(bb.prev){ +bb.prev.linkbutton({disabled:((!_b5.total)||_b5.pageNumber==1)}); +} +if(bb.next){ +bb.next.linkbutton({disabled:(_b5.pageNumber==_b6)}); +} +if(bb.last){ +bb.last.linkbutton({disabled:(_b5.pageNumber==_b6)}); +} +_ba(_b2,_b5.loading); +}; +function _ba(_bb,_bc){ +var _bd=$.data(_bb,"pagination"); +var _be=_bd.options; +_be.loading=_bc; +if(_be.showRefresh&&_bd.bb.refresh){ +_bd.bb.refresh.linkbutton({iconCls:(_be.loading?"pagination-loading":"pagination-load")}); +} +}; +$.fn.pagination=function(_bf,_c0){ +if(typeof _bf=="string"){ +return $.fn.pagination.methods[_bf](this,_c0); +} +_bf=_bf||{}; +return this.each(function(){ +var _c1; +var _c2=$.data(this,"pagination"); +if(_c2){ +_c1=$.extend(_c2.options,_bf); +}else{ +_c1=$.extend({},$.fn.pagination.defaults,$.fn.pagination.parseOptions(this),_bf); +$.data(this,"pagination",{options:_c1}); +} +_a0(this); +_b1(this); +}); +}; +$.fn.pagination.methods={options:function(jq){ +return $.data(jq[0],"pagination").options; +},loading:function(jq){ +return jq.each(function(){ +_ba(this,true); +}); +},loaded:function(jq){ +return jq.each(function(){ +_ba(this,false); +}); +},refresh:function(jq,_c3){ +return jq.each(function(){ +_b1(this,_c3); +}); +},select:function(jq,_c4){ +return jq.each(function(){ +_ad(this,_c4); +}); +}}; +$.fn.pagination.parseOptions=function(_c5){ +var t=$(_c5); +return $.extend({},$.parser.parseOptions(_c5,[{total:"number",pageSize:"number",pageNumber:"number",links:"number"},{loading:"boolean",showPageList:"boolean",showRefresh:"boolean"}]),{pageList:(t.attr("pageList")?eval(t.attr("pageList")):undefined)}); +}; +$.fn.pagination.defaults={total:1,pageSize:10,pageNumber:1,pageList:[10,20,30,50],loading:false,buttons:null,showPageList:true,showRefresh:true,links:10,layout:["list","sep","first","prev","sep","manual","sep","next","last","sep","refresh"],onSelectPage:function(_c6,_c7){ +},onBeforeRefresh:function(_c8,_c9){ +},onRefresh:function(_ca,_cb){ +},onChangePageSize:function(_cc){ +},beforePageText:"Page",afterPageText:"of {pages}",displayMsg:"Displaying {from} to {to} of {total} items",nav:{first:{iconCls:"pagination-first",handler:function(){ +var _cd=$(this).pagination("options"); +if(_cd.pageNumber>1){ +$(this).pagination("select",1); +} +}},prev:{iconCls:"pagination-prev",handler:function(){ +var _ce=$(this).pagination("options"); +if(_ce.pageNumber>1){ +$(this).pagination("select",_ce.pageNumber-1); +} +}},next:{iconCls:"pagination-next",handler:function(){ +var _cf=$(this).pagination("options"); +var _d0=Math.ceil(_cf.total/_cf.pageSize); +if(_cf.pageNumber<_d0){ +$(this).pagination("select",_cf.pageNumber+1); +} +}},last:{iconCls:"pagination-last",handler:function(){ +var _d1=$(this).pagination("options"); +var _d2=Math.ceil(_d1.total/_d1.pageSize); +if(_d1.pageNumber<_d2){ +$(this).pagination("select",_d2); +} +}},refresh:{iconCls:"pagination-refresh",handler:function(){ +var _d3=$(this).pagination("options"); +if(_d3.onBeforeRefresh.call(this,_d3.pageNumber,_d3.pageSize)!=false){ +$(this).pagination("select",_d3.pageNumber); +_d3.onRefresh.call(this,_d3.pageNumber,_d3.pageSize); +} +}}}}; +})(jQuery); +(function($){ +function _d4(_d5){ +var _d6=$(_d5); +_d6.addClass("tree"); +return _d6; +}; +function _d7(_d8){ +var _d9=$.data(_d8,"tree").options; +$(_d8).unbind().bind("mouseover",function(e){ +var tt=$(e.target); +var _da=tt.closest("div.tree-node"); +if(!_da.length){ +return; +} +_da.addClass("tree-node-hover"); +if(tt.hasClass("tree-hit")){ +if(tt.hasClass("tree-expanded")){ +tt.addClass("tree-expanded-hover"); +}else{ +tt.addClass("tree-collapsed-hover"); +} +} +e.stopPropagation(); +}).bind("mouseout",function(e){ +var tt=$(e.target); +var _db=tt.closest("div.tree-node"); +if(!_db.length){ +return; +} +_db.removeClass("tree-node-hover"); +if(tt.hasClass("tree-hit")){ +if(tt.hasClass("tree-expanded")){ +tt.removeClass("tree-expanded-hover"); +}else{ +tt.removeClass("tree-collapsed-hover"); +} +} +e.stopPropagation(); +}).bind("click",function(e){ +var tt=$(e.target); +var _dc=tt.closest("div.tree-node"); +if(!_dc.length){ +return; +} +if(tt.hasClass("tree-hit")){ +_13b(_d8,_dc[0]); +return false; +}else{ +if(tt.hasClass("tree-checkbox")){ +_104(_d8,_dc[0],!tt.hasClass("tree-checkbox1")); +return false; +}else{ +_181(_d8,_dc[0]); +_d9.onClick.call(_d8,_df(_d8,_dc[0])); +} +} +e.stopPropagation(); +}).bind("dblclick",function(e){ +var _dd=$(e.target).closest("div.tree-node"); +if(!_dd.length){ +return; +} +_181(_d8,_dd[0]); +_d9.onDblClick.call(_d8,_df(_d8,_dd[0])); +e.stopPropagation(); +}).bind("contextmenu",function(e){ +var _de=$(e.target).closest("div.tree-node"); +if(!_de.length){ +return; +} +_d9.onContextMenu.call(_d8,e,_df(_d8,_de[0])); +e.stopPropagation(); +}); +}; +function _e0(_e1){ +var _e2=$.data(_e1,"tree").options; +_e2.dnd=false; +var _e3=$(_e1).find("div.tree-node"); +_e3.draggable("disable"); +_e3.css("cursor","pointer"); +}; +function _e4(_e5){ +var _e6=$.data(_e5,"tree"); +var _e7=_e6.options; +var _e8=_e6.tree; +_e6.disabledNodes=[]; +_e7.dnd=true; +_e8.find("div.tree-node").draggable({disabled:false,revert:true,cursor:"pointer",proxy:function(_e9){ +var p=$("
                                ").appendTo("body"); +p.html(" "+$(_e9).find(".tree-title").html()); +p.hide(); +return p; +},deltaX:15,deltaY:15,onBeforeDrag:function(e){ +if(_e7.onBeforeDrag.call(_e5,_df(_e5,this))==false){ +return false; +} +if($(e.target).hasClass("tree-hit")||$(e.target).hasClass("tree-checkbox")){ +return false; +} +if(e.which!=1){ +return false; +} +$(this).next("ul").find("div.tree-node").droppable({accept:"no-accept"}); +var _ea=$(this).find("span.tree-indent"); +if(_ea.length){ +e.data.offsetWidth-=_ea.length*_ea.width(); +} +},onStartDrag:function(){ +$(this).draggable("proxy").css({left:-10000,top:-10000}); +_e7.onStartDrag.call(_e5,_df(_e5,this)); +var _eb=_df(_e5,this); +if(_eb.id==undefined){ +_eb.id="easyui_tree_node_id_temp"; +_11e(_e5,_eb); +} +_e6.draggingNodeId=_eb.id; +},onDrag:function(e){ +var x1=e.pageX,y1=e.pageY,x2=e.data.startX,y2=e.data.startY; +var d=Math.sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)); +if(d>3){ +$(this).draggable("proxy").show(); +} +this.pageY=e.pageY; +},onStopDrag:function(){ +$(this).next("ul").find("div.tree-node").droppable({accept:"div.tree-node"}); +for(var i=0;i<_e6.disabledNodes.length;i++){ +$(_e6.disabledNodes[i]).droppable("enable"); +} +_e6.disabledNodes=[]; +var _ec=_179(_e5,_e6.draggingNodeId); +if(_ec&&_ec.id=="easyui_tree_node_id_temp"){ +_ec.id=""; +_11e(_e5,_ec); +} +_e7.onStopDrag.call(_e5,_ec); +}}).droppable({accept:"div.tree-node",onDragEnter:function(e,_ed){ +if(_e7.onDragEnter.call(_e5,this,_ee(_ed))==false){ +_ef(_ed,false); +$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); +$(this).droppable("disable"); +_e6.disabledNodes.push(this); +} +},onDragOver:function(e,_f0){ +if($(this).droppable("options").disabled){ +return; +} +var _f1=_f0.pageY; +var top=$(this).offset().top; +var _f2=top+$(this).outerHeight(); +_ef(_f0,true); +$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); +if(_f1>top+(_f2-top)/2){ +if(_f2-_f1<5){ +$(this).addClass("tree-node-bottom"); +}else{ +$(this).addClass("tree-node-append"); +} +}else{ +if(_f1-top<5){ +$(this).addClass("tree-node-top"); +}else{ +$(this).addClass("tree-node-append"); +} +} +if(_e7.onDragOver.call(_e5,this,_ee(_f0))==false){ +_ef(_f0,false); +$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); +$(this).droppable("disable"); +_e6.disabledNodes.push(this); +} +},onDragLeave:function(e,_f3){ +_ef(_f3,false); +$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); +_e7.onDragLeave.call(_e5,this,_ee(_f3)); +},onDrop:function(e,_f4){ +var _f5=this; +var _f6,_f7; +if($(this).hasClass("tree-node-append")){ +_f6=_f8; +_f7="append"; +}else{ +_f6=_f9; +_f7=$(this).hasClass("tree-node-top")?"top":"bottom"; +} +if(_e7.onBeforeDrop.call(_e5,_f5,_ee(_f4),_f7)==false){ +$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); +return; +} +_f6(_f4,_f5,_f7); +$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); +}}); +function _ee(_fa,pop){ +return $(_fa).closest("ul.tree").tree(pop?"pop":"getData",_fa); +}; +function _ef(_fb,_fc){ +var _fd=$(_fb).draggable("proxy").find("span.tree-dnd-icon"); +_fd.removeClass("tree-dnd-yes tree-dnd-no").addClass(_fc?"tree-dnd-yes":"tree-dnd-no"); +}; +function _f8(_fe,_ff){ +if(_df(_e5,_ff).state=="closed"){ +_133(_e5,_ff,function(){ +_100(); +}); +}else{ +_100(); +} +function _100(){ +var node=_ee(_fe,true); +$(_e5).tree("append",{parent:_ff,data:[node]}); +_e7.onDrop.call(_e5,_ff,node,"append"); +}; +}; +function _f9(_101,dest,_102){ +var _103={}; +if(_102=="top"){ +_103.before=dest; +}else{ +_103.after=dest; +} +var node=_ee(_101,true); +_103.data=node; +$(_e5).tree("insert",_103); +_e7.onDrop.call(_e5,dest,node,_102); +}; +}; +function _104(_105,_106,_107){ +var opts=$.data(_105,"tree").options; +if(!opts.checkbox){ +return; +} +var _108=_df(_105,_106); +if(opts.onBeforeCheck.call(_105,_108,_107)==false){ +return; +} +var node=$(_106); +var ck=node.find(".tree-checkbox"); +ck.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); +if(_107){ +ck.addClass("tree-checkbox1"); +}else{ +ck.addClass("tree-checkbox0"); +} +if(opts.cascadeCheck){ +_109(node); +_10a(node); +} +opts.onCheck.call(_105,_108,_107); +function _10a(node){ +var _10b=node.next().find(".tree-checkbox"); +_10b.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); +if(node.find(".tree-checkbox").hasClass("tree-checkbox1")){ +_10b.addClass("tree-checkbox1"); +}else{ +_10b.addClass("tree-checkbox0"); +} +}; +function _109(node){ +var _10c=_146(_105,node[0]); +if(_10c){ +var ck=$(_10c.target).find(".tree-checkbox"); +ck.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); +if(_10d(node)){ +ck.addClass("tree-checkbox1"); +}else{ +if(_10e(node)){ +ck.addClass("tree-checkbox0"); +}else{ +ck.addClass("tree-checkbox2"); +} +} +_109($(_10c.target)); +} +function _10d(n){ +var ck=n.find(".tree-checkbox"); +if(ck.hasClass("tree-checkbox0")||ck.hasClass("tree-checkbox2")){ +return false; +} +var b=true; +n.parent().siblings().each(function(){ +if(!$(this).children("div.tree-node").children(".tree-checkbox").hasClass("tree-checkbox1")){ +b=false; +} +}); +return b; +}; +function _10e(n){ +var ck=n.find(".tree-checkbox"); +if(ck.hasClass("tree-checkbox1")||ck.hasClass("tree-checkbox2")){ +return false; +} +var b=true; +n.parent().siblings().each(function(){ +if(!$(this).children("div.tree-node").children(".tree-checkbox").hasClass("tree-checkbox0")){ +b=false; +} +}); +return b; +}; +}; +}; +function _10f(_110,_111){ +var opts=$.data(_110,"tree").options; +if(!opts.checkbox){ +return; +} +var node=$(_111); +if(_112(_110,_111)){ +var ck=node.find(".tree-checkbox"); +if(ck.length){ +if(ck.hasClass("tree-checkbox1")){ +_104(_110,_111,true); +}else{ +_104(_110,_111,false); +} +}else{ +if(opts.onlyLeafCheck){ +$("").insertBefore(node.find(".tree-title")); +} +} +}else{ +var ck=node.find(".tree-checkbox"); +if(opts.onlyLeafCheck){ +ck.remove(); +}else{ +if(ck.hasClass("tree-checkbox1")){ +_104(_110,_111,true); +}else{ +if(ck.hasClass("tree-checkbox2")){ +var _113=true; +var _114=true; +var _115=_116(_110,_111); +for(var i=0;i<_115.length;i++){ +if(_115[i].checked){ +_114=false; +}else{ +_113=false; +} +} +if(_113){ +_104(_110,_111,true); +} +if(_114){ +_104(_110,_111,false); +} +} +} +} +} +}; +function _117(_118,ul,data,_119){ +var _11a=$.data(_118,"tree"); +var opts=_11a.options; +var _11b=$(ul).prevAll("div.tree-node:first"); +data=opts.loadFilter.call(_118,data,_11b[0]); +var _11c=_11d(_118,"domId",_11b.attr("id")); +if(!_119){ +_11c?_11c.children=data:_11a.data=data; +$(ul).empty(); +}else{ +if(_11c){ +_11c.children?_11c.children=_11c.children.concat(data):_11c.children=data; +}else{ +_11a.data=_11a.data.concat(data); +} +} +opts.view.render.call(opts.view,_118,ul,data); +if(opts.dnd){ +_e4(_118); +} +if(_11c){ +_11e(_118,_11c); +} +var _11f=[]; +var _120=[]; +for(var i=0;i1){ +$(_126[0].target).addClass("tree-root-first"); +}else{ +if(_126.length==1){ +$(_126[0].target).addClass("tree-root-one"); +} +} +} +$(ul).children("li").each(function(){ +var node=$(this).children("div.tree-node"); +var ul=node.next("ul"); +if(ul.length){ +if($(this).next().length){ +_127(node); +} +_123(_124,ul,_125); +}else{ +_128(node); +} +}); +var _129=$(ul).children("li:last").children("div.tree-node").addClass("tree-node-last"); +_129.children("span.tree-join").removeClass("tree-join").addClass("tree-joinbottom"); +function _128(node,_12a){ +var icon=node.find("span.tree-icon"); +icon.prev("span.tree-indent").addClass("tree-join"); +}; +function _127(node){ +var _12b=node.find("span.tree-indent, span.tree-hit").length; +node.next().find("div.tree-node").each(function(){ +$(this).children("span:eq("+(_12b-1)+")").addClass("tree-line"); +}); +}; +}; +function _12c(_12d,ul,_12e,_12f){ +var opts=$.data(_12d,"tree").options; +_12e=$.extend({},opts.queryParams,_12e||{}); +var _130=null; +if(_12d!=ul){ +var node=$(ul).prev(); +_130=_df(_12d,node[0]); +} +if(opts.onBeforeLoad.call(_12d,_130,_12e)==false){ +return; +} +var _131=$(ul).prev().children("span.tree-folder"); +_131.addClass("tree-loading"); +var _132=opts.loader.call(_12d,_12e,function(data){ +_131.removeClass("tree-loading"); +_117(_12d,ul,data); +if(_12f){ +_12f(); +} +},function(){ +_131.removeClass("tree-loading"); +opts.onLoadError.apply(_12d,arguments); +if(_12f){ +_12f(); +} +}); +if(_132==false){ +_131.removeClass("tree-loading"); +} +}; +function _133(_134,_135,_136){ +var opts=$.data(_134,"tree").options; +var hit=$(_135).children("span.tree-hit"); +if(hit.length==0){ +return; +} +if(hit.hasClass("tree-expanded")){ +return; +} +var node=_df(_134,_135); +if(opts.onBeforeExpand.call(_134,node)==false){ +return; +} +hit.removeClass("tree-collapsed tree-collapsed-hover").addClass("tree-expanded"); +hit.next().addClass("tree-folder-open"); +var ul=$(_135).next(); +if(ul.length){ +if(opts.animate){ +ul.slideDown("normal",function(){ +node.state="open"; +opts.onExpand.call(_134,node); +if(_136){ +_136(); +} +}); +}else{ +ul.css("display","block"); +node.state="open"; +opts.onExpand.call(_134,node); +if(_136){ +_136(); +} +} +}else{ +var _137=$("
                                  ").insertAfter(_135); +_12c(_134,_137[0],{id:node.id},function(){ +if(_137.is(":empty")){ +_137.remove(); +} +if(opts.animate){ +_137.slideDown("normal",function(){ +node.state="open"; +opts.onExpand.call(_134,node); +if(_136){ +_136(); +} +}); +}else{ +_137.css("display","block"); +node.state="open"; +opts.onExpand.call(_134,node); +if(_136){ +_136(); +} +} +}); +} +}; +function _138(_139,_13a){ +var opts=$.data(_139,"tree").options; +var hit=$(_13a).children("span.tree-hit"); +if(hit.length==0){ +return; +} +if(hit.hasClass("tree-collapsed")){ +return; +} +var node=_df(_139,_13a); +if(opts.onBeforeCollapse.call(_139,node)==false){ +return; +} +hit.removeClass("tree-expanded tree-expanded-hover").addClass("tree-collapsed"); +hit.next().removeClass("tree-folder-open"); +var ul=$(_13a).next(); +if(opts.animate){ +ul.slideUp("normal",function(){ +node.state="closed"; +opts.onCollapse.call(_139,node); +}); +}else{ +ul.css("display","none"); +node.state="closed"; +opts.onCollapse.call(_139,node); +} +}; +function _13b(_13c,_13d){ +var hit=$(_13d).children("span.tree-hit"); +if(hit.length==0){ +return; +} +if(hit.hasClass("tree-expanded")){ +_138(_13c,_13d); +}else{ +_133(_13c,_13d); +} +}; +function _13e(_13f,_140){ +var _141=_116(_13f,_140); +if(_140){ +_141.unshift(_df(_13f,_140)); +} +for(var i=0;i<_141.length;i++){ +_133(_13f,_141[i].target); +} +}; +function _142(_143,_144){ +var _145=[]; +var p=_146(_143,_144); +while(p){ +_145.unshift(p); +p=_146(_143,p.target); +} +for(var i=0;i<_145.length;i++){ +_133(_143,_145[i].target); +} +}; +function _147(_148,_149){ +var c=$(_148).parent(); +while(c[0].tagName!="BODY"&&c.css("overflow-y")!="auto"){ +c=c.parent(); +} +var n=$(_149); +var ntop=n.offset().top; +if(c[0].tagName!="BODY"){ +var ctop=c.offset().top; +if(ntopctop+c.outerHeight()-18){ +c.scrollTop(c.scrollTop()+ntop+n.outerHeight()-ctop-c.outerHeight()+18); +} +} +}else{ +c.scrollTop(ntop); +} +}; +function _14a(_14b,_14c){ +var _14d=_116(_14b,_14c); +if(_14c){ +_14d.unshift(_df(_14b,_14c)); +} +for(var i=0;i<_14d.length;i++){ +_138(_14b,_14d[i].target); +} +}; +function _14e(_14f,_150){ +var node=$(_150.parent); +var data=_150.data; +if(!data){ +return; +} +data=$.isArray(data)?data:[data]; +if(!data.length){ +return; +} +var ul; +if(node.length==0){ +ul=$(_14f); +}else{ +if(_112(_14f,node[0])){ +var _151=node.find("span.tree-icon"); +_151.removeClass("tree-file").addClass("tree-folder tree-folder-open"); +var hit=$("").insertBefore(_151); +if(hit.prev().length){ +hit.prev().remove(); +} +} +ul=node.next(); +if(!ul.length){ +ul=$("
                                    ").insertAfter(node); +} +} +_117(_14f,ul[0],data,true); +_10f(_14f,ul.prev()); +}; +function _152(_153,_154){ +var ref=_154.before||_154.after; +var _155=_146(_153,ref); +var data=_154.data; +if(!data){ +return; +} +data=$.isArray(data)?data:[data]; +if(!data.length){ +return; +} +_14e(_153,{parent:(_155?_155.target:null),data:data}); +var _156=_155?_155.children:$(_153).tree("getRoots"); +for(var i=0;i<_156.length;i++){ +if(_156[i].domId==$(ref).attr("id")){ +for(var j=data.length-1;j>=0;j--){ +_156.splice((_154.before?i:(i+1)),0,data[j]); +} +_156.splice(_156.length-data.length,data.length); +break; +} +} +var li=$(); +for(var i=0;i").prependTo(node); +node.next().remove(); +} +_11e(_158,_15a); +_10f(_158,_15a.target); +} +_123(_158,_158); +function del(_15b){ +var id=$(_15b).attr("id"); +var _15c=_146(_158,_15b); +var cc=_15c?_15c.children:$.data(_158,"tree").data; +for(var i=0;i=0;i--){ +_180.unshift(node.children[i]); +} +} +} +}; +function _181(_182,_183){ +var opts=$.data(_182,"tree").options; +var node=_df(_182,_183); +if(opts.onBeforeSelect.call(_182,node)==false){ +return; +} +$(_182).find("div.tree-node-selected").removeClass("tree-node-selected"); +$(_183).addClass("tree-node-selected"); +opts.onSelect.call(_182,node); +}; +function _112(_184,_185){ +return $(_185).children("span.tree-hit").length==0; +}; +function _186(_187,_188){ +var opts=$.data(_187,"tree").options; +var node=_df(_187,_188); +if(opts.onBeforeEdit.call(_187,node)==false){ +return; +} +$(_188).css("position","relative"); +var nt=$(_188).find(".tree-title"); +var _189=nt.outerWidth(); +nt.empty(); +var _18a=$("").appendTo(nt); +_18a.val(node.text).focus(); +_18a.width(_189+20); +_18a.height(document.compatMode=="CSS1Compat"?(18-(_18a.outerHeight()-_18a.height())):18); +_18a.bind("click",function(e){ +return false; +}).bind("mousedown",function(e){ +e.stopPropagation(); +}).bind("mousemove",function(e){ +e.stopPropagation(); +}).bind("keydown",function(e){ +if(e.keyCode==13){ +_18b(_187,_188); +return false; +}else{ +if(e.keyCode==27){ +_18f(_187,_188); +return false; +} +} +}).bind("blur",function(e){ +e.stopPropagation(); +_18b(_187,_188); +}); +}; +function _18b(_18c,_18d){ +var opts=$.data(_18c,"tree").options; +$(_18d).css("position",""); +var _18e=$(_18d).find("input.tree-editor"); +var val=_18e.val(); +_18e.remove(); +var node=_df(_18c,_18d); +node.text=val; +_11e(_18c,node); +opts.onAfterEdit.call(_18c,node); +}; +function _18f(_190,_191){ +var opts=$.data(_190,"tree").options; +$(_191).css("position",""); +$(_191).find("input.tree-editor").remove(); +var node=_df(_190,_191); +_11e(_190,node); +opts.onCancelEdit.call(_190,node); +}; +$.fn.tree=function(_192,_193){ +if(typeof _192=="string"){ +return $.fn.tree.methods[_192](this,_193); +} +var _192=_192||{}; +return this.each(function(){ +var _194=$.data(this,"tree"); +var opts; +if(_194){ +opts=$.extend(_194.options,_192); +_194.options=opts; +}else{ +opts=$.extend({},$.fn.tree.defaults,$.fn.tree.parseOptions(this),_192); +$.data(this,"tree",{options:opts,tree:_d4(this),data:[]}); +var data=$.fn.tree.parseData(this); +if(data.length){ +_117(this,this,data); +} +} +_d7(this); +if(opts.data){ +_117(this,this,$.extend(true,[],opts.data)); +} +_12c(this,this); +}); +}; +$.fn.tree.methods={options:function(jq){ +return $.data(jq[0],"tree").options; +},loadData:function(jq,data){ +return jq.each(function(){ +_117(this,this,data); +}); +},getNode:function(jq,_195){ +return _df(jq[0],_195); +},getData:function(jq,_196){ +return _174(jq[0],_196); +},reload:function(jq,_197){ +return jq.each(function(){ +if(_197){ +var node=$(_197); +var hit=node.children("span.tree-hit"); +hit.removeClass("tree-expanded tree-expanded-hover").addClass("tree-collapsed"); +node.next().remove(); +_133(this,_197); +}else{ +$(this).empty(); +_12c(this,this); +} +}); +},getRoot:function(jq,_198){ +return _160(jq[0],_198); +},getRoots:function(jq){ +return _164(jq[0]); +},getParent:function(jq,_199){ +return _146(jq[0],_199); +},getChildren:function(jq,_19a){ +return _116(jq[0],_19a); +},getChecked:function(jq,_19b){ +return _16d(jq[0],_19b); +},getSelected:function(jq){ +return _172(jq[0]); +},isLeaf:function(jq,_19c){ +return _112(jq[0],_19c); +},find:function(jq,id){ +return _179(jq[0],id); +},select:function(jq,_19d){ +return jq.each(function(){ +_181(this,_19d); +}); +},check:function(jq,_19e){ +return jq.each(function(){ +_104(this,_19e,true); +}); +},uncheck:function(jq,_19f){ +return jq.each(function(){ +_104(this,_19f,false); +}); +},collapse:function(jq,_1a0){ +return jq.each(function(){ +_138(this,_1a0); +}); +},expand:function(jq,_1a1){ +return jq.each(function(){ +_133(this,_1a1); +}); +},collapseAll:function(jq,_1a2){ +return jq.each(function(){ +_14a(this,_1a2); +}); +},expandAll:function(jq,_1a3){ +return jq.each(function(){ +_13e(this,_1a3); +}); +},expandTo:function(jq,_1a4){ +return jq.each(function(){ +_142(this,_1a4); +}); +},scrollTo:function(jq,_1a5){ +return jq.each(function(){ +_147(this,_1a5); +}); +},toggle:function(jq,_1a6){ +return jq.each(function(){ +_13b(this,_1a6); +}); +},append:function(jq,_1a7){ +return jq.each(function(){ +_14e(this,_1a7); +}); +},insert:function(jq,_1a8){ +return jq.each(function(){ +_152(this,_1a8); +}); +},remove:function(jq,_1a9){ +return jq.each(function(){ +_157(this,_1a9); +}); +},pop:function(jq,_1aa){ +var node=jq.tree("getData",_1aa); +jq.tree("remove",_1aa); +return node; +},update:function(jq,_1ab){ +return jq.each(function(){ +_11e(this,_1ab); +}); +},enableDnd:function(jq){ +return jq.each(function(){ +_e4(this); +}); +},disableDnd:function(jq){ +return jq.each(function(){ +_e0(this); +}); +},beginEdit:function(jq,_1ac){ +return jq.each(function(){ +_186(this,_1ac); +}); +},endEdit:function(jq,_1ad){ +return jq.each(function(){ +_18b(this,_1ad); +}); +},cancelEdit:function(jq,_1ae){ +return jq.each(function(){ +_18f(this,_1ae); +}); +}}; +$.fn.tree.parseOptions=function(_1af){ +var t=$(_1af); +return $.extend({},$.parser.parseOptions(_1af,["url","method",{checkbox:"boolean",cascadeCheck:"boolean",onlyLeafCheck:"boolean"},{animate:"boolean",lines:"boolean",dnd:"boolean"}])); +}; +$.fn.tree.parseData=function(_1b0){ +var data=[]; +_1b1(data,$(_1b0)); +return data; +function _1b1(aa,tree){ +tree.children("li").each(function(){ +var node=$(this); +var item=$.extend({},$.parser.parseOptions(this,["id","iconCls","state"]),{checked:(node.attr("checked")?true:undefined)}); +item.text=node.children("span").html(); +if(!item.text){ +item.text=node.html(); +} +var _1b2=node.children("ul"); +if(_1b2.length){ +item.children=[]; +_1b1(item.children,_1b2); +} +aa.push(item); +}); +}; +}; +var _1b3=1; +var _1b4={render:function(_1b5,ul,data){ +var opts=$.data(_1b5,"tree").options; +var _1b6=$(ul).prev("div.tree-node").find("span.tree-indent, span.tree-hit").length; +var cc=_1b7(_1b6,data); +$(ul).append(cc.join("")); +function _1b7(_1b8,_1b9){ +var cc=[]; +for(var i=0;i<_1b9.length;i++){ +var item=_1b9[i]; +if(item.state!="open"&&item.state!="closed"){ +item.state="open"; +} +item.domId="_easyui_tree_"+_1b3++; +cc.push("
                                  • "); +cc.push("
                                    "); +for(var j=0;j<_1b8;j++){ +cc.push(""); +} +var _1ba=false; +if(item.state=="closed"){ +cc.push(""); +cc.push(""); +}else{ +if(item.children&&item.children.length){ +cc.push(""); +cc.push(""); +}else{ +cc.push(""); +cc.push(""); +_1ba=true; +} +} +if(opts.checkbox){ +if((!opts.onlyLeafCheck)||_1ba){ +cc.push(""); +} +} +cc.push(""+opts.formatter.call(_1b5,item)+""); +cc.push("
                                    "); +if(item.children&&item.children.length){ +var tmp=_1b7(_1b8+1,item.children); +cc.push("
                                      "); +cc=cc.concat(tmp); +cc.push("
                                    "); +} +cc.push("
                                  • "); +} +return cc; +}; +}}; +$.fn.tree.defaults={url:null,method:"post",animate:false,checkbox:false,cascadeCheck:true,onlyLeafCheck:false,lines:false,dnd:false,data:null,queryParams:{},formatter:function(node){ +return node.text; +},loader:function(_1bb,_1bc,_1bd){ +var opts=$(this).tree("options"); +if(!opts.url){ +return false; +} +$.ajax({type:opts.method,url:opts.url,data:_1bb,dataType:"json",success:function(data){ +_1bc(data); +},error:function(){ +_1bd.apply(this,arguments); +}}); +},loadFilter:function(data,_1be){ +return data; +},view:_1b4,onBeforeLoad:function(node,_1bf){ +},onLoadSuccess:function(node,data){ +},onLoadError:function(){ +},onClick:function(node){ +},onDblClick:function(node){ +},onBeforeExpand:function(node){ +},onExpand:function(node){ +},onBeforeCollapse:function(node){ +},onCollapse:function(node){ +},onBeforeCheck:function(node,_1c0){ +},onCheck:function(node,_1c1){ +},onBeforeSelect:function(node){ +},onSelect:function(node){ +},onContextMenu:function(e,node){ +},onBeforeDrag:function(node){ +},onStartDrag:function(node){ +},onStopDrag:function(node){ +},onDragEnter:function(_1c2,_1c3){ +},onDragOver:function(_1c4,_1c5){ +},onDragLeave:function(_1c6,_1c7){ +},onBeforeDrop:function(_1c8,_1c9,_1ca){ +},onDrop:function(_1cb,_1cc,_1cd){ +},onBeforeEdit:function(node){ +},onAfterEdit:function(node){ +},onCancelEdit:function(node){ +}}; +})(jQuery); +(function($){ +function init(_1ce){ +$(_1ce).addClass("progressbar"); +$(_1ce).html("
                                    "); +$(_1ce).bind("_resize",function(e,_1cf){ +if($(this).hasClass("easyui-fluid")||_1cf){ +_1d0(_1ce); +} +return false; +}); +return $(_1ce); +}; +function _1d0(_1d1,_1d2){ +var opts=$.data(_1d1,"progressbar").options; +var bar=$.data(_1d1,"progressbar").bar; +if(_1d2){ +opts.width=_1d2; +} +bar._size(opts); +bar.find("div.progressbar-text").css("width",bar.width()); +bar.find("div.progressbar-text,div.progressbar-value").css({height:bar.height()+"px",lineHeight:bar.height()+"px"}); +}; +$.fn.progressbar=function(_1d3,_1d4){ +if(typeof _1d3=="string"){ +var _1d5=$.fn.progressbar.methods[_1d3]; +if(_1d5){ +return _1d5(this,_1d4); +} +} +_1d3=_1d3||{}; +return this.each(function(){ +var _1d6=$.data(this,"progressbar"); +if(_1d6){ +$.extend(_1d6.options,_1d3); +}else{ +_1d6=$.data(this,"progressbar",{options:$.extend({},$.fn.progressbar.defaults,$.fn.progressbar.parseOptions(this),_1d3),bar:init(this)}); +} +$(this).progressbar("setValue",_1d6.options.value); +_1d0(this); +}); +}; +$.fn.progressbar.methods={options:function(jq){ +return $.data(jq[0],"progressbar").options; +},resize:function(jq,_1d7){ +return jq.each(function(){ +_1d0(this,_1d7); +}); +},getValue:function(jq){ +return $.data(jq[0],"progressbar").options.value; +},setValue:function(jq,_1d8){ +if(_1d8<0){ +_1d8=0; +} +if(_1d8>100){ +_1d8=100; +} +return jq.each(function(){ +var opts=$.data(this,"progressbar").options; +var text=opts.text.replace(/{value}/,_1d8); +var _1d9=opts.value; +opts.value=_1d8; +$(this).find("div.progressbar-value").width(_1d8+"%"); +$(this).find("div.progressbar-text").html(text); +if(_1d9!=_1d8){ +opts.onChange.call(this,_1d8,_1d9); +} +}); +}}; +$.fn.progressbar.parseOptions=function(_1da){ +return $.extend({},$.parser.parseOptions(_1da,["width","height","text",{value:"number"}])); +}; +$.fn.progressbar.defaults={width:"auto",height:22,value:0,text:"{value}%",onChange:function(_1db,_1dc){ +}}; +})(jQuery); +(function($){ +function init(_1dd){ +$(_1dd).addClass("tooltip-f"); +}; +function _1de(_1df){ +var opts=$.data(_1df,"tooltip").options; +$(_1df).unbind(".tooltip").bind(opts.showEvent+".tooltip",function(e){ +$(_1df).tooltip("show",e); +}).bind(opts.hideEvent+".tooltip",function(e){ +$(_1df).tooltip("hide",e); +}).bind("mousemove.tooltip",function(e){ +if(opts.trackMouse){ +opts.trackMouseX=e.pageX; +opts.trackMouseY=e.pageY; +$(_1df).tooltip("reposition"); +} +}); +}; +function _1e0(_1e1){ +var _1e2=$.data(_1e1,"tooltip"); +if(_1e2.showTimer){ +clearTimeout(_1e2.showTimer); +_1e2.showTimer=null; +} +if(_1e2.hideTimer){ +clearTimeout(_1e2.hideTimer); +_1e2.hideTimer=null; +} +}; +function _1e3(_1e4){ +var _1e5=$.data(_1e4,"tooltip"); +if(!_1e5||!_1e5.tip){ +return; +} +var opts=_1e5.options; +var tip=_1e5.tip; +var pos={left:-100000,top:-100000}; +if($(_1e4).is(":visible")){ +pos=_1e6(opts.position); +if(opts.position=="top"&&pos.top<0){ +pos=_1e6("bottom"); +}else{ +if((opts.position=="bottom")&&(pos.top+tip._outerHeight()>$(window)._outerHeight()+$(document).scrollTop())){ +pos=_1e6("top"); +} +} +if(pos.left<0){ +if(opts.position=="left"){ +pos=_1e6("right"); +}else{ +$(_1e4).tooltip("arrow").css("left",tip._outerWidth()/2+pos.left); +pos.left=0; +} +}else{ +if(pos.left+tip._outerWidth()>$(window)._outerWidth()+$(document)._scrollLeft()){ +if(opts.position=="right"){ +pos=_1e6("left"); +}else{ +var left=pos.left; +pos.left=$(window)._outerWidth()+$(document)._scrollLeft()-tip._outerWidth(); +$(_1e4).tooltip("arrow").css("left",tip._outerWidth()/2-(pos.left-left)); +} +} +} +} +tip.css({left:pos.left,top:pos.top,zIndex:(opts.zIndex!=undefined?opts.zIndex:($.fn.window?$.fn.window.defaults.zIndex++:""))}); +opts.onPosition.call(_1e4,pos.left,pos.top); +function _1e6(_1e7){ +opts.position=_1e7||"bottom"; +tip.removeClass("tooltip-top tooltip-bottom tooltip-left tooltip-right").addClass("tooltip-"+opts.position); +var left,top; +if(opts.trackMouse){ +t=$(); +left=opts.trackMouseX+opts.deltaX; +top=opts.trackMouseY+opts.deltaY; +}else{ +var t=$(_1e4); +left=t.offset().left+opts.deltaX; +top=t.offset().top+opts.deltaY; +} +switch(opts.position){ +case "right": +left+=t._outerWidth()+12+(opts.trackMouse?12:0); +top-=(tip._outerHeight()-t._outerHeight())/2; +break; +case "left": +left-=tip._outerWidth()+12+(opts.trackMouse?12:0); +top-=(tip._outerHeight()-t._outerHeight())/2; +break; +case "top": +left-=(tip._outerWidth()-t._outerWidth())/2; +top-=tip._outerHeight()+12+(opts.trackMouse?12:0); +break; +case "bottom": +left-=(tip._outerWidth()-t._outerWidth())/2; +top+=t._outerHeight()+12+(opts.trackMouse?12:0); +break; +} +return {left:left,top:top}; +}; +}; +function _1e8(_1e9,e){ +var _1ea=$.data(_1e9,"tooltip"); +var opts=_1ea.options; +var tip=_1ea.tip; +if(!tip){ +tip=$("
                                    "+"
                                    "+"
                                    "+"
                                    "+"
                                    ").appendTo("body"); +_1ea.tip=tip; +_1eb(_1e9); +} +_1e0(_1e9); +_1ea.showTimer=setTimeout(function(){ +$(_1e9).tooltip("reposition"); +tip.show(); +opts.onShow.call(_1e9,e); +var _1ec=tip.children(".tooltip-arrow-outer"); +var _1ed=tip.children(".tooltip-arrow"); +var bc="border-"+opts.position+"-color"; +_1ec.add(_1ed).css({borderTopColor:"",borderBottomColor:"",borderLeftColor:"",borderRightColor:""}); +_1ec.css(bc,tip.css(bc)); +_1ed.css(bc,tip.css("backgroundColor")); +},opts.showDelay); +}; +function _1ee(_1ef,e){ +var _1f0=$.data(_1ef,"tooltip"); +if(_1f0&&_1f0.tip){ +_1e0(_1ef); +_1f0.hideTimer=setTimeout(function(){ +_1f0.tip.hide(); +_1f0.options.onHide.call(_1ef,e); +},_1f0.options.hideDelay); +} +}; +function _1eb(_1f1,_1f2){ +var _1f3=$.data(_1f1,"tooltip"); +var opts=_1f3.options; +if(_1f2){ +opts.content=_1f2; +} +if(!_1f3.tip){ +return; +} +var cc=typeof opts.content=="function"?opts.content.call(_1f1):opts.content; +_1f3.tip.children(".tooltip-content").html(cc); +opts.onUpdate.call(_1f1,cc); +}; +function _1f4(_1f5){ +var _1f6=$.data(_1f5,"tooltip"); +if(_1f6){ +_1e0(_1f5); +var opts=_1f6.options; +if(_1f6.tip){ +_1f6.tip.remove(); +} +if(opts._title){ +$(_1f5).attr("title",opts._title); +} +$.removeData(_1f5,"tooltip"); +$(_1f5).unbind(".tooltip").removeClass("tooltip-f"); +opts.onDestroy.call(_1f5); +} +}; +$.fn.tooltip=function(_1f7,_1f8){ +if(typeof _1f7=="string"){ +return $.fn.tooltip.methods[_1f7](this,_1f8); +} +_1f7=_1f7||{}; +return this.each(function(){ +var _1f9=$.data(this,"tooltip"); +if(_1f9){ +$.extend(_1f9.options,_1f7); +}else{ +$.data(this,"tooltip",{options:$.extend({},$.fn.tooltip.defaults,$.fn.tooltip.parseOptions(this),_1f7)}); +init(this); +} +_1de(this); +_1eb(this); +}); +}; +$.fn.tooltip.methods={options:function(jq){ +return $.data(jq[0],"tooltip").options; +},tip:function(jq){ +return $.data(jq[0],"tooltip").tip; +},arrow:function(jq){ +return jq.tooltip("tip").children(".tooltip-arrow-outer,.tooltip-arrow"); +},show:function(jq,e){ +return jq.each(function(){ +_1e8(this,e); +}); +},hide:function(jq,e){ +return jq.each(function(){ +_1ee(this,e); +}); +},update:function(jq,_1fa){ +return jq.each(function(){ +_1eb(this,_1fa); +}); +},reposition:function(jq){ +return jq.each(function(){ +_1e3(this); +}); +},destroy:function(jq){ +return jq.each(function(){ +_1f4(this); +}); +}}; +$.fn.tooltip.parseOptions=function(_1fb){ +var t=$(_1fb); +var opts=$.extend({},$.parser.parseOptions(_1fb,["position","showEvent","hideEvent","content",{trackMouse:"boolean",deltaX:"number",deltaY:"number",showDelay:"number",hideDelay:"number"}]),{_title:t.attr("title")}); +t.attr("title",""); +if(!opts.content){ +opts.content=opts._title; +} +return opts; +}; +$.fn.tooltip.defaults={position:"bottom",content:null,trackMouse:false,deltaX:0,deltaY:0,showEvent:"mouseenter",hideEvent:"mouseleave",showDelay:200,hideDelay:100,onShow:function(e){ +},onHide:function(e){ +},onUpdate:function(_1fc){ +},onPosition:function(left,top){ +},onDestroy:function(){ +}}; +})(jQuery); +(function($){ +$.fn._remove=function(){ +return this.each(function(){ +$(this).remove(); +try{ +this.outerHTML=""; +} +catch(err){ +} +}); +}; +function _1fd(node){ +node._remove(); +}; +function _1fe(_1ff,_200){ +var _201=$.data(_1ff,"panel"); +var opts=_201.options; +var _202=_201.panel; +var _203=_202.children("div.panel-header"); +var _204=_202.children("div.panel-body"); +var _205=_202.children("div.panel-footer"); +if(_200){ +$.extend(opts,{width:_200.width,height:_200.height,minWidth:_200.minWidth,maxWidth:_200.maxWidth,minHeight:_200.minHeight,maxHeight:_200.maxHeight,left:_200.left,top:_200.top}); +} +_202._size(opts); +_203.add(_204)._outerWidth(_202.width()); +if(!isNaN(parseInt(opts.height))){ +_204._outerHeight(_202.height()-_203._outerHeight()-_205._outerHeight()); +}else{ +_204.css("height",""); +var min=$.parser.parseValue("minHeight",opts.minHeight,_202.parent()); +var max=$.parser.parseValue("maxHeight",opts.maxHeight,_202.parent()); +var _206=_203._outerHeight()+_205._outerHeight()+_202._outerHeight()-_202.height(); +_204._size("minHeight",min?(min-_206):""); +_204._size("maxHeight",max?(max-_206):""); +} +_202.css({height:"",minHeight:"",maxHeight:"",left:opts.left,top:opts.top}); +opts.onResize.apply(_1ff,[opts.width,opts.height]); +$(_1ff).panel("doLayout"); +}; +function _207(_208,_209){ +var opts=$.data(_208,"panel").options; +var _20a=$.data(_208,"panel").panel; +if(_209){ +if(_209.left!=null){ +opts.left=_209.left; +} +if(_209.top!=null){ +opts.top=_209.top; +} +} +_20a.css({left:opts.left,top:opts.top}); +opts.onMove.apply(_208,[opts.left,opts.top]); +}; +function _20b(_20c){ +$(_20c).addClass("panel-body")._size("clear"); +var _20d=$("
                                    ").insertBefore(_20c); +_20d[0].appendChild(_20c); +_20d.bind("_resize",function(e,_20e){ +if($(this).hasClass("easyui-fluid")||_20e){ +_1fe(_20c); +} +return false; +}); +return _20d; +}; +function _20f(_210){ +var _211=$.data(_210,"panel"); +var opts=_211.options; +var _212=_211.panel; +_212.css(opts.style); +_212.addClass(opts.cls); +_213(); +_214(); +var _215=$(_210).panel("header"); +var body=$(_210).panel("body"); +var _216=$(_210).siblings("div.panel-footer"); +if(opts.border){ +_215.removeClass("panel-header-noborder"); +body.removeClass("panel-body-noborder"); +_216.removeClass("panel-footer-noborder"); +}else{ +_215.addClass("panel-header-noborder"); +body.addClass("panel-body-noborder"); +_216.addClass("panel-footer-noborder"); +} +_215.addClass(opts.headerCls); +body.addClass(opts.bodyCls); +$(_210).attr("id",opts.id||""); +if(opts.content){ +$(_210).panel("clear"); +$(_210).html(opts.content); +$.parser.parse($(_210)); +} +function _213(){ +if(opts.tools&&typeof opts.tools=="string"){ +_212.find(">div.panel-header>div.panel-tool .panel-tool-a").appendTo(opts.tools); +} +_1fd(_212.children("div.panel-header")); +if(opts.title&&!opts.noheader){ +var _217=$("
                                    ").prependTo(_212); +var _218=$("
                                    ").html(opts.title).appendTo(_217); +if(opts.iconCls){ +_218.addClass("panel-with-icon"); +$("
                                    ").addClass(opts.iconCls).appendTo(_217); +} +var tool=$("
                                    ").appendTo(_217); +tool.bind("click",function(e){ +e.stopPropagation(); +}); +if(opts.tools){ +if($.isArray(opts.tools)){ +for(var i=0;i").addClass(opts.tools[i].iconCls).appendTo(tool); +if(opts.tools[i].handler){ +t.bind("click",eval(opts.tools[i].handler)); +} +} +}else{ +$(opts.tools).children().each(function(){ +$(this).addClass($(this).attr("iconCls")).addClass("panel-tool-a").appendTo(tool); +}); +} +} +if(opts.collapsible){ +$("").appendTo(tool).bind("click",function(){ +if(opts.collapsed==true){ +_235(_210,true); +}else{ +_228(_210,true); +} +return false; +}); +} +if(opts.minimizable){ +$("").appendTo(tool).bind("click",function(){ +_23b(_210); +return false; +}); +} +if(opts.maximizable){ +$("").appendTo(tool).bind("click",function(){ +if(opts.maximized==true){ +_23e(_210); +}else{ +_227(_210); +} +return false; +}); +} +if(opts.closable){ +$("").appendTo(tool).bind("click",function(){ +_229(_210); +return false; +}); +} +_212.children("div.panel-body").removeClass("panel-body-noheader"); +}else{ +_212.children("div.panel-body").addClass("panel-body-noheader"); +} +}; +function _214(){ +if(opts.footer){ +$(opts.footer).addClass("panel-footer").appendTo(_212); +$(_210).addClass("panel-body-nobottom"); +}else{ +_212.children("div.panel-footer").remove(); +$(_210).removeClass("panel-body-nobottom"); +} +}; +}; +function _219(_21a,_21b){ +var _21c=$.data(_21a,"panel"); +var opts=_21c.options; +if(_21d){ +opts.queryParams=_21b; +} +if(!opts.href){ +return; +} +if(!_21c.isLoaded||!opts.cache){ +var _21d=$.extend({},opts.queryParams); +if(opts.onBeforeLoad.call(_21a,_21d)==false){ +return; +} +_21c.isLoaded=false; +$(_21a).panel("clear"); +if(opts.loadingMessage){ +$(_21a).html($("
                                    ").html(opts.loadingMessage)); +} +opts.loader.call(_21a,_21d,function(data){ +var _21e=opts.extractor.call(_21a,data); +$(_21a).html(_21e); +$.parser.parse($(_21a)); +opts.onLoad.apply(_21a,arguments); +_21c.isLoaded=true; +},function(){ +opts.onLoadError.apply(_21a,arguments); +}); +} +}; +function _21f(_220){ +var t=$(_220); +t.find(".combo-f").each(function(){ +$(this).combo("destroy"); +}); +t.find(".m-btn").each(function(){ +$(this).menubutton("destroy"); +}); +t.find(".s-btn").each(function(){ +$(this).splitbutton("destroy"); +}); +t.find(".tooltip-f").each(function(){ +$(this).tooltip("destroy"); +}); +t.children("div").each(function(){ +$(this)._size("unfit"); +}); +t.empty(); +}; +function _221(_222){ +$(_222).panel("doLayout",true); +}; +function _223(_224,_225){ +var opts=$.data(_224,"panel").options; +var _226=$.data(_224,"panel").panel; +if(_225!=true){ +if(opts.onBeforeOpen.call(_224)==false){ +return; +} +} +_226.stop(true,true); +if($.isFunction(opts.openAnimation)){ +opts.openAnimation.call(_224,cb); +}else{ +switch(opts.openAnimation){ +case "slide": +_226.slideDown(opts.openDuration,cb); +break; +case "fade": +_226.fadeIn(opts.openDuration,cb); +break; +case "show": +_226.show(opts.openDuration,cb); +break; +default: +_226.show(); +cb(); +} +} +function cb(){ +opts.closed=false; +opts.minimized=false; +var tool=_226.children("div.panel-header").find("a.panel-tool-restore"); +if(tool.length){ +opts.maximized=true; +} +opts.onOpen.call(_224); +if(opts.maximized==true){ +opts.maximized=false; +_227(_224); +} +if(opts.collapsed==true){ +opts.collapsed=false; +_228(_224); +} +if(!opts.collapsed){ +_219(_224); +_221(_224); +} +}; +}; +function _229(_22a,_22b){ +var opts=$.data(_22a,"panel").options; +var _22c=$.data(_22a,"panel").panel; +if(_22b!=true){ +if(opts.onBeforeClose.call(_22a)==false){ +return; +} +} +_22c.stop(true,true); +_22c._size("unfit"); +if($.isFunction(opts.closeAnimation)){ +opts.closeAnimation.call(_22a,cb); +}else{ +switch(opts.closeAnimation){ +case "slide": +_22c.slideUp(opts.closeDuration,cb); +break; +case "fade": +_22c.fadeOut(opts.closeDuration,cb); +break; +case "hide": +_22c.hide(opts.closeDuration,cb); +break; +default: +_22c.hide(); +cb(); +} +} +function cb(){ +opts.closed=true; +opts.onClose.call(_22a); +}; +}; +function _22d(_22e,_22f){ +var _230=$.data(_22e,"panel"); +var opts=_230.options; +var _231=_230.panel; +if(_22f!=true){ +if(opts.onBeforeDestroy.call(_22e)==false){ +return; +} +} +$(_22e).panel("clear").panel("clear","footer"); +_1fd(_231); +opts.onDestroy.call(_22e); +}; +function _228(_232,_233){ +var opts=$.data(_232,"panel").options; +var _234=$.data(_232,"panel").panel; +var body=_234.children("div.panel-body"); +var tool=_234.children("div.panel-header").find("a.panel-tool-collapse"); +if(opts.collapsed==true){ +return; +} +body.stop(true,true); +if(opts.onBeforeCollapse.call(_232)==false){ +return; +} +tool.addClass("panel-tool-expand"); +if(_233==true){ +body.slideUp("normal",function(){ +opts.collapsed=true; +opts.onCollapse.call(_232); +}); +}else{ +body.hide(); +opts.collapsed=true; +opts.onCollapse.call(_232); +} +}; +function _235(_236,_237){ +var opts=$.data(_236,"panel").options; +var _238=$.data(_236,"panel").panel; +var body=_238.children("div.panel-body"); +var tool=_238.children("div.panel-header").find("a.panel-tool-collapse"); +if(opts.collapsed==false){ +return; +} +body.stop(true,true); +if(opts.onBeforeExpand.call(_236)==false){ +return; +} +tool.removeClass("panel-tool-expand"); +if(_237==true){ +body.slideDown("normal",function(){ +opts.collapsed=false; +opts.onExpand.call(_236); +_219(_236); +_221(_236); +}); +}else{ +body.show(); +opts.collapsed=false; +opts.onExpand.call(_236); +_219(_236); +_221(_236); +} +}; +function _227(_239){ +var opts=$.data(_239,"panel").options; +var _23a=$.data(_239,"panel").panel; +var tool=_23a.children("div.panel-header").find("a.panel-tool-max"); +if(opts.maximized==true){ +return; +} +tool.addClass("panel-tool-restore"); +if(!$.data(_239,"panel").original){ +$.data(_239,"panel").original={width:opts.width,height:opts.height,left:opts.left,top:opts.top,fit:opts.fit}; +} +opts.left=0; +opts.top=0; +opts.fit=true; +_1fe(_239); +opts.minimized=false; +opts.maximized=true; +opts.onMaximize.call(_239); +}; +function _23b(_23c){ +var opts=$.data(_23c,"panel").options; +var _23d=$.data(_23c,"panel").panel; +_23d._size("unfit"); +_23d.hide(); +opts.minimized=true; +opts.maximized=false; +opts.onMinimize.call(_23c); +}; +function _23e(_23f){ +var opts=$.data(_23f,"panel").options; +var _240=$.data(_23f,"panel").panel; +var tool=_240.children("div.panel-header").find("a.panel-tool-max"); +if(opts.maximized==false){ +return; +} +_240.show(); +tool.removeClass("panel-tool-restore"); +$.extend(opts,$.data(_23f,"panel").original); +_1fe(_23f); +opts.minimized=false; +opts.maximized=false; +$.data(_23f,"panel").original=null; +opts.onRestore.call(_23f); +}; +function _241(_242,_243){ +$.data(_242,"panel").options.title=_243; +$(_242).panel("header").find("div.panel-title").html(_243); +}; +var _244=null; +$(window).unbind(".panel").bind("resize.panel",function(){ +if(_244){ +clearTimeout(_244); +} +_244=setTimeout(function(){ +var _245=$("body.layout"); +if(_245.length){ +_245.layout("resize"); +$("body").children(".easyui-fluid:visible").trigger("_resize"); +}else{ +$("body").panel("doLayout"); +} +_244=null; +},100); +}); +$.fn.panel=function(_246,_247){ +if(typeof _246=="string"){ +return $.fn.panel.methods[_246](this,_247); +} +_246=_246||{}; +return this.each(function(){ +var _248=$.data(this,"panel"); +var opts; +if(_248){ +opts=$.extend(_248.options,_246); +_248.isLoaded=false; +}else{ +opts=$.extend({},$.fn.panel.defaults,$.fn.panel.parseOptions(this),_246); +$(this).attr("title",""); +_248=$.data(this,"panel",{options:opts,panel:_20b(this),isLoaded:false}); +} +_20f(this); +if(opts.doSize==true){ +_248.panel.css("display","block"); +_1fe(this); +} +if(opts.closed==true||opts.minimized==true){ +_248.panel.hide(); +}else{ +_223(this); +} +}); +}; +$.fn.panel.methods={options:function(jq){ +return $.data(jq[0],"panel").options; +},panel:function(jq){ +return $.data(jq[0],"panel").panel; +},header:function(jq){ +return $.data(jq[0],"panel").panel.find(">div.panel-header"); +},footer:function(jq){ +return jq.panel("panel").children(".panel-footer"); +},body:function(jq){ +return $.data(jq[0],"panel").panel.find(">div.panel-body"); +},setTitle:function(jq,_249){ +return jq.each(function(){ +_241(this,_249); +}); +},open:function(jq,_24a){ +return jq.each(function(){ +_223(this,_24a); +}); +},close:function(jq,_24b){ +return jq.each(function(){ +_229(this,_24b); +}); +},destroy:function(jq,_24c){ +return jq.each(function(){ +_22d(this,_24c); +}); +},clear:function(jq,type){ +return jq.each(function(){ +_21f(type=="footer"?$(this).panel("footer"):this); +}); +},refresh:function(jq,href){ +return jq.each(function(){ +var _24d=$.data(this,"panel"); +_24d.isLoaded=false; +if(href){ +if(typeof href=="string"){ +_24d.options.href=href; +}else{ +_24d.options.queryParams=href; +} +} +_219(this); +}); +},resize:function(jq,_24e){ +return jq.each(function(){ +_1fe(this,_24e); +}); +},doLayout:function(jq,all){ +return jq.each(function(){ +_24f(this,"body"); +_24f($(this).siblings("div.panel-footer")[0],"footer"); +function _24f(_250,type){ +if(!_250){ +return; +} +var _251=_250==$("body")[0]; +var s=$(_250).find("div.panel:visible,div.accordion:visible,div.tabs-container:visible,div.layout:visible,.easyui-fluid:visible").filter(function(_252,el){ +var p=$(el).parents("div.panel-"+type+":first"); +return _251?p.length==0:p[0]==_250; +}); +s.trigger("_resize",[all||false]); +}; +}); +},move:function(jq,_253){ +return jq.each(function(){ +_207(this,_253); +}); +},maximize:function(jq){ +return jq.each(function(){ +_227(this); +}); +},minimize:function(jq){ +return jq.each(function(){ +_23b(this); +}); +},restore:function(jq){ +return jq.each(function(){ +_23e(this); +}); +},collapse:function(jq,_254){ +return jq.each(function(){ +_228(this,_254); +}); +},expand:function(jq,_255){ +return jq.each(function(){ +_235(this,_255); +}); +}}; +$.fn.panel.parseOptions=function(_256){ +var t=$(_256); +return $.extend({},$.parser.parseOptions(_256,["id","width","height","left","top","title","iconCls","cls","headerCls","bodyCls","tools","href","method",{cache:"boolean",fit:"boolean",border:"boolean",noheader:"boolean"},{collapsible:"boolean",minimizable:"boolean",maximizable:"boolean"},{closable:"boolean",collapsed:"boolean",minimized:"boolean",maximized:"boolean",closed:"boolean"},"openAnimation","closeAnimation",{openDuration:"number",closeDuration:"number"},]),{loadingMessage:(t.attr("loadingMessage")!=undefined?t.attr("loadingMessage"):undefined)}); +}; +$.fn.panel.defaults={id:null,title:null,iconCls:null,width:"auto",height:"auto",left:null,top:null,cls:null,headerCls:null,bodyCls:null,style:{},href:null,cache:true,fit:false,border:true,doSize:true,noheader:false,content:null,collapsible:false,minimizable:false,maximizable:false,closable:false,collapsed:false,minimized:false,maximized:false,closed:false,openAnimation:false,openDuration:400,closeAnimation:false,closeDuration:400,tools:null,footer:null,queryParams:{},method:"get",href:null,loadingMessage:"Loading...",loader:function(_257,_258,_259){ +var opts=$(this).panel("options"); +if(!opts.href){ +return false; +} +$.ajax({type:opts.method,url:opts.href,cache:false,data:_257,dataType:"html",success:function(data){ +_258(data); +},error:function(){ +_259.apply(this,arguments); +}}); +},extractor:function(data){ +var _25a=/]*>((.|[\n\r])*)<\/body>/im; +var _25b=_25a.exec(data); +if(_25b){ +return _25b[1]; +}else{ +return data; +} +},onBeforeLoad:function(_25c){ +},onLoad:function(){ +},onLoadError:function(){ +},onBeforeOpen:function(){ +},onOpen:function(){ +},onBeforeClose:function(){ +},onClose:function(){ +},onBeforeDestroy:function(){ +},onDestroy:function(){ +},onResize:function(_25d,_25e){ +},onMove:function(left,top){ +},onMaximize:function(){ +},onRestore:function(){ +},onMinimize:function(){ +},onBeforeCollapse:function(){ +},onBeforeExpand:function(){ +},onCollapse:function(){ +},onExpand:function(){ +}}; +})(jQuery); +(function($){ +function _25f(_260,_261){ +var _262=$.data(_260,"window"); +if(_261){ +if(_261.left!=null){ +_262.options.left=_261.left; +} +if(_261.top!=null){ +_262.options.top=_261.top; +} +} +$(_260).panel("move",_262.options); +if(_262.shadow){ +_262.shadow.css({left:_262.options.left,top:_262.options.top}); +} +}; +function _263(_264,_265){ +var opts=$.data(_264,"window").options; +var pp=$(_264).window("panel"); +var _266=pp._outerWidth(); +if(opts.inline){ +var _267=pp.parent(); +opts.left=Math.ceil((_267.width()-_266)/2+_267.scrollLeft()); +}else{ +opts.left=Math.ceil(($(window)._outerWidth()-_266)/2+$(document).scrollLeft()); +} +if(_265){ +_25f(_264); +} +}; +function _268(_269,_26a){ +var opts=$.data(_269,"window").options; +var pp=$(_269).window("panel"); +var _26b=pp._outerHeight(); +if(opts.inline){ +var _26c=pp.parent(); +opts.top=Math.ceil((_26c.height()-_26b)/2+_26c.scrollTop()); +}else{ +opts.top=Math.ceil(($(window)._outerHeight()-_26b)/2+$(document).scrollTop()); +} +if(_26a){ +_25f(_269); +} +}; +function _26d(_26e){ +var _26f=$.data(_26e,"window"); +var opts=_26f.options; +var win=$(_26e).panel($.extend({},_26f.options,{border:false,doSize:true,closed:true,cls:"window",headerCls:"window-header",bodyCls:"window-body "+(opts.noheader?"window-body-noheader":""),onBeforeDestroy:function(){ +if(opts.onBeforeDestroy.call(_26e)==false){ +return false; +} +if(_26f.shadow){ +_26f.shadow.remove(); +} +if(_26f.mask){ +_26f.mask.remove(); +} +},onClose:function(){ +if(_26f.shadow){ +_26f.shadow.hide(); +} +if(_26f.mask){ +_26f.mask.hide(); +} +opts.onClose.call(_26e); +},onOpen:function(){ +if(_26f.mask){ +_26f.mask.css({display:"block",zIndex:$.fn.window.defaults.zIndex++}); +} +if(_26f.shadow){ +_26f.shadow.css({display:"block",zIndex:$.fn.window.defaults.zIndex++,left:opts.left,top:opts.top,width:_26f.window._outerWidth(),height:_26f.window._outerHeight()}); +} +_26f.window.css("z-index",$.fn.window.defaults.zIndex++); +opts.onOpen.call(_26e); +},onResize:function(_270,_271){ +var _272=$(this).panel("options"); +$.extend(opts,{width:_272.width,height:_272.height,left:_272.left,top:_272.top}); +if(_26f.shadow){ +_26f.shadow.css({left:opts.left,top:opts.top,width:_26f.window._outerWidth(),height:_26f.window._outerHeight()}); +} +opts.onResize.call(_26e,_270,_271); +},onMinimize:function(){ +if(_26f.shadow){ +_26f.shadow.hide(); +} +if(_26f.mask){ +_26f.mask.hide(); +} +_26f.options.onMinimize.call(_26e); +},onBeforeCollapse:function(){ +if(opts.onBeforeCollapse.call(_26e)==false){ +return false; +} +if(_26f.shadow){ +_26f.shadow.hide(); +} +},onExpand:function(){ +if(_26f.shadow){ +_26f.shadow.show(); +} +opts.onExpand.call(_26e); +}})); +_26f.window=win.panel("panel"); +if(_26f.mask){ +_26f.mask.remove(); +} +if(opts.modal==true){ +_26f.mask=$("
                                    ").insertAfter(_26f.window); +_26f.mask.css({width:(opts.inline?_26f.mask.parent().width():_273().width),height:(opts.inline?_26f.mask.parent().height():_273().height),display:"none"}); +} +if(_26f.shadow){ +_26f.shadow.remove(); +} +if(opts.shadow==true){ +_26f.shadow=$("
                                    ").insertAfter(_26f.window); +_26f.shadow.css({display:"none"}); +} +if(opts.left==null){ +_263(_26e); +} +if(opts.top==null){ +_268(_26e); +} +_25f(_26e); +if(!opts.closed){ +win.window("open"); +} +}; +function _274(_275){ +var _276=$.data(_275,"window"); +_276.window.draggable({handle:">div.panel-header>div.panel-title",disabled:_276.options.draggable==false,onStartDrag:function(e){ +if(_276.mask){ +_276.mask.css("z-index",$.fn.window.defaults.zIndex++); +} +if(_276.shadow){ +_276.shadow.css("z-index",$.fn.window.defaults.zIndex++); +} +_276.window.css("z-index",$.fn.window.defaults.zIndex++); +if(!_276.proxy){ +_276.proxy=$("
                                    ").insertAfter(_276.window); +} +_276.proxy.css({display:"none",zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top}); +_276.proxy._outerWidth(_276.window._outerWidth()); +_276.proxy._outerHeight(_276.window._outerHeight()); +setTimeout(function(){ +if(_276.proxy){ +_276.proxy.show(); +} +},500); +},onDrag:function(e){ +_276.proxy.css({display:"block",left:e.data.left,top:e.data.top}); +return false; +},onStopDrag:function(e){ +_276.options.left=e.data.left; +_276.options.top=e.data.top; +$(_275).window("move"); +_276.proxy.remove(); +_276.proxy=null; +}}); +_276.window.resizable({disabled:_276.options.resizable==false,onStartResize:function(e){ +if(_276.pmask){ +_276.pmask.remove(); +} +_276.pmask=$("
                                    ").insertAfter(_276.window); +_276.pmask.css({zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top,width:_276.window._outerWidth(),height:_276.window._outerHeight()}); +if(_276.proxy){ +_276.proxy.remove(); +} +_276.proxy=$("
                                    ").insertAfter(_276.window); +_276.proxy.css({zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top}); +_276.proxy._outerWidth(e.data.width)._outerHeight(e.data.height); +},onResize:function(e){ +_276.proxy.css({left:e.data.left,top:e.data.top}); +_276.proxy._outerWidth(e.data.width); +_276.proxy._outerHeight(e.data.height); +return false; +},onStopResize:function(e){ +$(_275).window("resize",e.data); +_276.pmask.remove(); +_276.pmask=null; +_276.proxy.remove(); +_276.proxy=null; +}}); +}; +function _273(){ +if(document.compatMode=="BackCompat"){ +return {width:Math.max(document.body.scrollWidth,document.body.clientWidth),height:Math.max(document.body.scrollHeight,document.body.clientHeight)}; +}else{ +return {width:Math.max(document.documentElement.scrollWidth,document.documentElement.clientWidth),height:Math.max(document.documentElement.scrollHeight,document.documentElement.clientHeight)}; +} +}; +$(window).resize(function(){ +$("body>div.window-mask").css({width:$(window)._outerWidth(),height:$(window)._outerHeight()}); +setTimeout(function(){ +$("body>div.window-mask").css({width:_273().width,height:_273().height}); +},50); +}); +$.fn.window=function(_277,_278){ +if(typeof _277=="string"){ +var _279=$.fn.window.methods[_277]; +if(_279){ +return _279(this,_278); +}else{ +return this.panel(_277,_278); +} +} +_277=_277||{}; +return this.each(function(){ +var _27a=$.data(this,"window"); +if(_27a){ +$.extend(_27a.options,_277); +}else{ +_27a=$.data(this,"window",{options:$.extend({},$.fn.window.defaults,$.fn.window.parseOptions(this),_277)}); +if(!_27a.options.inline){ +document.body.appendChild(this); +} +} +_26d(this); +_274(this); +}); +}; +$.fn.window.methods={options:function(jq){ +var _27b=jq.panel("options"); +var _27c=$.data(jq[0],"window").options; +return $.extend(_27c,{closed:_27b.closed,collapsed:_27b.collapsed,minimized:_27b.minimized,maximized:_27b.maximized}); +},window:function(jq){ +return $.data(jq[0],"window").window; +},move:function(jq,_27d){ +return jq.each(function(){ +_25f(this,_27d); +}); +},hcenter:function(jq){ +return jq.each(function(){ +_263(this,true); +}); +},vcenter:function(jq){ +return jq.each(function(){ +_268(this,true); +}); +},center:function(jq){ +return jq.each(function(){ +_263(this); +_268(this); +_25f(this); +}); +}}; +$.fn.window.parseOptions=function(_27e){ +return $.extend({},$.fn.panel.parseOptions(_27e),$.parser.parseOptions(_27e,[{draggable:"boolean",resizable:"boolean",shadow:"boolean",modal:"boolean",inline:"boolean"}])); +}; +$.fn.window.defaults=$.extend({},$.fn.panel.defaults,{zIndex:9000,draggable:true,resizable:true,shadow:true,modal:false,inline:false,title:"New Window",collapsible:true,minimizable:true,maximizable:true,closable:true,closed:false}); +})(jQuery); +(function($){ +function _27f(_280){ +var opts=$.data(_280,"dialog").options; +opts.inited=false; +$(_280).window($.extend({},opts,{onResize:function(w,h){ +if(opts.inited){ +_284(this); +opts.onResize.call(this,w,h); +} +}})); +var win=$(_280).window("window"); +if(opts.toolbar){ +if($.isArray(opts.toolbar)){ +$(_280).siblings("div.dialog-toolbar").remove(); +var _281=$("
                                    ").appendTo(win); +var tr=_281.find("tr"); +for(var i=0;i
                                    ").appendTo(tr); +}else{ +var td=$("").appendTo(tr); +var tool=$("").appendTo(td); +tool[0].onclick=eval(btn.handler||function(){ +}); +tool.linkbutton($.extend({},btn,{plain:true})); +} +} +}else{ +$(opts.toolbar).addClass("dialog-toolbar").appendTo(win); +$(opts.toolbar).show(); +} +}else{ +$(_280).siblings("div.dialog-toolbar").remove(); +} +if(opts.buttons){ +if($.isArray(opts.buttons)){ +$(_280).siblings("div.dialog-button").remove(); +var _282=$("
                                    ").appendTo(win); +for(var i=0;i").appendTo(_282); +if(p.handler){ +_283[0].onclick=p.handler; +} +_283.linkbutton(p); +} +}else{ +$(opts.buttons).addClass("dialog-button").appendTo(win); +$(opts.buttons).show(); +} +}else{ +$(_280).siblings("div.dialog-button").remove(); +} +opts.inited=true; +win.show(); +$(_280).window("resize"); +if(opts.closed){ +win.hide(); +} +}; +function _284(_285,_286){ +var t=$(_285); +var opts=t.dialog("options"); +var _287=opts.noheader; +var tb=t.siblings(".dialog-toolbar"); +var bb=t.siblings(".dialog-button"); +tb.insertBefore(_285).css({position:"relative",borderTopWidth:(_287?1:0),top:(_287?tb.length:0)}); +bb.insertAfter(_285).css({position:"relative",top:-1}); +if(!isNaN(parseInt(opts.height))){ +t._outerHeight(t._outerHeight()-tb._outerHeight()-bb._outerHeight()); +} +tb.add(bb)._outerWidth(t._outerWidth()); +var _288=$.data(_285,"window").shadow; +if(_288){ +var cc=t.panel("panel"); +_288.css({width:cc._outerWidth(),height:cc._outerHeight()}); +} +}; +$.fn.dialog=function(_289,_28a){ +if(typeof _289=="string"){ +var _28b=$.fn.dialog.methods[_289]; +if(_28b){ +return _28b(this,_28a); +}else{ +return this.window(_289,_28a); +} +} +_289=_289||{}; +return this.each(function(){ +var _28c=$.data(this,"dialog"); +if(_28c){ +$.extend(_28c.options,_289); +}else{ +$.data(this,"dialog",{options:$.extend({},$.fn.dialog.defaults,$.fn.dialog.parseOptions(this),_289)}); +} +_27f(this); +}); +}; +$.fn.dialog.methods={options:function(jq){ +var _28d=$.data(jq[0],"dialog").options; +var _28e=jq.panel("options"); +$.extend(_28d,{width:_28e.width,height:_28e.height,left:_28e.left,top:_28e.top,closed:_28e.closed,collapsed:_28e.collapsed,minimized:_28e.minimized,maximized:_28e.maximized}); +return _28d; +},dialog:function(jq){ +return jq.window("window"); +}}; +$.fn.dialog.parseOptions=function(_28f){ +return $.extend({},$.fn.window.parseOptions(_28f),$.parser.parseOptions(_28f,["toolbar","buttons"])); +}; +$.fn.dialog.defaults=$.extend({},$.fn.window.defaults,{title:"New Dialog",collapsible:false,minimizable:false,maximizable:false,resizable:false,toolbar:null,buttons:null}); +})(jQuery); +(function($){ +function show(el,type,_290,_291){ +var win=$(el).window("window"); +if(!win){ +return; +} +switch(type){ +case null: +win.show(); +break; +case "slide": +win.slideDown(_290); +break; +case "fade": +win.fadeIn(_290); +break; +case "show": +win.show(_290); +break; +} +var _292=null; +if(_291>0){ +_292=setTimeout(function(){ +hide(el,type,_290); +},_291); +} +win.hover(function(){ +if(_292){ +clearTimeout(_292); +} +},function(){ +if(_291>0){ +_292=setTimeout(function(){ +hide(el,type,_290); +},_291); +} +}); +}; +function hide(el,type,_293){ +if(el.locked==true){ +return; +} +el.locked=true; +var win=$(el).window("window"); +if(!win){ +return; +} +switch(type){ +case null: +win.hide(); +break; +case "slide": +win.slideUp(_293); +break; +case "fade": +win.fadeOut(_293); +break; +case "show": +win.hide(_293); +break; +} +setTimeout(function(){ +$(el).window("destroy"); +},_293); +}; +function _294(_295){ +var opts=$.extend({},$.fn.window.defaults,{collapsible:false,minimizable:false,maximizable:false,shadow:false,draggable:false,resizable:false,closed:true,style:{left:"",top:"",right:0,zIndex:$.fn.window.defaults.zIndex++,bottom:-document.body.scrollTop-document.documentElement.scrollTop},onBeforeOpen:function(){ +show(this,opts.showType,opts.showSpeed,opts.timeout); +return false; +},onBeforeClose:function(){ +hide(this,opts.showType,opts.showSpeed); +return false; +}},{title:"",width:250,height:100,showType:"slide",showSpeed:600,msg:"",timeout:4000},_295); +opts.style.zIndex=$.fn.window.defaults.zIndex++; +var win=$("
                                    ").html(opts.msg).appendTo("body"); +win.window(opts); +win.window("window").css(opts.style); +win.window("open"); +return win; +}; +function _296(_297,_298,_299){ +var win=$("
                                    ").appendTo("body"); +win.append(_298); +if(_299){ +var tb=$("
                                    ").appendTo(win); +for(var _29a in _299){ +$("").attr("href","javascript:void(0)").text(_29a).css("margin-left",10).bind("click",eval(_299[_29a])).appendTo(tb).linkbutton(); +} +} +win.window({title:_297,noheader:(_297?false:true),width:300,height:"auto",modal:true,collapsible:false,minimizable:false,maximizable:false,resizable:false,onClose:function(){ +setTimeout(function(){ +win.window("destroy"); +},100); +}}); +win.window("window").addClass("messager-window"); +win.children("div.messager-button").children("a:first").focus(); +return win; +}; +$.messager={show:function(_29b){ +return _294(_29b); +},alert:function(_29c,msg,icon,fn){ +var _29d="
                                    "+msg+"
                                    "; +switch(icon){ +case "error": +_29d="
                                    "+_29d; +break; +case "info": +_29d="
                                    "+_29d; +break; +case "question": +_29d="
                                    "+_29d; +break; +case "warning": +_29d="
                                    "+_29d; +break; +} +_29d+="
                                    "; +var _29e={}; +_29e[$.messager.defaults.ok]=function(){ +win.window("close"); +if(fn){ +fn(); +return false; +} +}; +var win=_296(_29c,_29d,_29e); +return win; +},confirm:function(_29f,msg,fn){ +var _2a0="
                                    "+"
                                    "+msg+"
                                    "+"
                                    "; +var _2a1={}; +_2a1[$.messager.defaults.ok]=function(){ +win.window("close"); +if(fn){ +fn(true); +return false; +} +}; +_2a1[$.messager.defaults.cancel]=function(){ +win.window("close"); +if(fn){ +fn(false); +return false; +} +}; +var win=_296(_29f,_2a0,_2a1); +return win; +},prompt:function(_2a2,msg,fn){ +var _2a3="
                                    "+"
                                    "+msg+"
                                    "+"
                                    "+"
                                    "+"
                                    "; +var _2a4={}; +_2a4[$.messager.defaults.ok]=function(){ +win.window("close"); +if(fn){ +fn($(".messager-input",win).val()); +return false; +} +}; +_2a4[$.messager.defaults.cancel]=function(){ +win.window("close"); +if(fn){ +fn(); +return false; +} +}; +var win=_296(_2a2,_2a3,_2a4); +win.children("input.messager-input").focus(); +return win; +},progress:function(_2a5){ +var _2a6={bar:function(){ +return $("body>div.messager-window").find("div.messager-p-bar"); +},close:function(){ +var win=$("body>div.messager-window>div.messager-body:has(div.messager-progress)"); +if(win.length){ +win.window("close"); +} +}}; +if(typeof _2a5=="string"){ +var _2a7=_2a6[_2a5]; +return _2a7(); +} +var opts=$.extend({title:"",msg:"",text:undefined,interval:300},_2a5||{}); +var _2a8="
                                    "; +var win=_296(opts.title,_2a8,null); +win.find("div.messager-p-msg").html(opts.msg); +var bar=win.find("div.messager-p-bar"); +bar.progressbar({text:opts.text}); +win.window({closable:false,onClose:function(){ +if(this.timer){ +clearInterval(this.timer); +} +$(this).window("destroy"); +}}); +if(opts.interval){ +win[0].timer=setInterval(function(){ +var v=bar.progressbar("getValue"); +v+=10; +if(v>100){ +v=0; +} +bar.progressbar("setValue",v); +},opts.interval); +} +return win; +}}; +$.messager.defaults={ok:"Ok",cancel:"Cancel"}; +})(jQuery); +(function($){ +function _2a9(_2aa,_2ab){ +var _2ac=$.data(_2aa,"accordion"); +var opts=_2ac.options; +var _2ad=_2ac.panels; +var cc=$(_2aa); +if(_2ab){ +$.extend(opts,{width:_2ab.width,height:_2ab.height}); +} +cc._size(opts); +var _2ae=0; +var _2af="auto"; +var _2b0=cc.find(">div.panel>div.accordion-header"); +if(_2b0.length){ +_2ae=$(_2b0[0]).css("height","")._outerHeight(); +} +if(!isNaN(parseInt(opts.height))){ +_2af=cc.height()-_2ae*_2b0.length; +} +_2b1(true,_2af-_2b1(false)+1); +function _2b1(_2b2,_2b3){ +var _2b4=0; +for(var i=0;i<_2ad.length;i++){ +var p=_2ad[i]; +var h=p.panel("header")._outerHeight(_2ae); +if(p.panel("options").collapsible==_2b2){ +var _2b5=isNaN(_2b3)?undefined:(_2b3+_2ae*h.length); +p.panel("resize",{width:cc.width(),height:(_2b2?_2b5:undefined)}); +_2b4+=p.panel("panel").outerHeight()-_2ae*h.length; +} +} +return _2b4; +}; +}; +function _2b6(_2b7,_2b8,_2b9,all){ +var _2ba=$.data(_2b7,"accordion").panels; +var pp=[]; +for(var i=0;i<_2ba.length;i++){ +var p=_2ba[i]; +if(_2b8){ +if(p.panel("options")[_2b8]==_2b9){ +pp.push(p); +} +}else{ +if(p[0]==$(_2b9)[0]){ +return i; +} +} +} +if(_2b8){ +return all?pp:(pp.length?pp[0]:null); +}else{ +return -1; +} +}; +function _2bb(_2bc){ +return _2b6(_2bc,"collapsed",false,true); +}; +function _2bd(_2be){ +var pp=_2bb(_2be); +return pp.length?pp[0]:null; +}; +function _2bf(_2c0,_2c1){ +return _2b6(_2c0,null,_2c1); +}; +function _2c2(_2c3,_2c4){ +var _2c5=$.data(_2c3,"accordion").panels; +if(typeof _2c4=="number"){ +if(_2c4<0||_2c4>=_2c5.length){ +return null; +}else{ +return _2c5[_2c4]; +} +} +return _2b6(_2c3,"title",_2c4); +}; +function _2c6(_2c7){ +var opts=$.data(_2c7,"accordion").options; +var cc=$(_2c7); +if(opts.border){ +cc.removeClass("accordion-noborder"); +}else{ +cc.addClass("accordion-noborder"); +} +}; +function init(_2c8){ +var _2c9=$.data(_2c8,"accordion"); +var cc=$(_2c8); +cc.addClass("accordion"); +_2c9.panels=[]; +cc.children("div").each(function(){ +var opts=$.extend({},$.parser.parseOptions(this),{selected:($(this).attr("selected")?true:undefined)}); +var pp=$(this); +_2c9.panels.push(pp); +_2cb(_2c8,pp,opts); +}); +cc.bind("_resize",function(e,_2ca){ +if($(this).hasClass("easyui-fluid")||_2ca){ +_2a9(_2c8); +} +return false; +}); +}; +function _2cb(_2cc,pp,_2cd){ +var opts=$.data(_2cc,"accordion").options; +pp.panel($.extend({},{collapsible:true,minimizable:false,maximizable:false,closable:false,doSize:false,collapsed:true,headerCls:"accordion-header",bodyCls:"accordion-body"},_2cd,{onBeforeExpand:function(){ +if(_2cd.onBeforeExpand){ +if(_2cd.onBeforeExpand.call(this)==false){ +return false; +} +} +if(!opts.multiple){ +var all=$.grep(_2bb(_2cc),function(p){ +return p.panel("options").collapsible; +}); +for(var i=0;i").addClass("accordion-collapse accordion-expand").appendTo(tool); +t.bind("click",function(){ +var _2d1=_2bf(_2cc,pp); +if(pp.panel("options").collapsed){ +_2d2(_2cc,_2d1); +}else{ +_2d6(_2cc,_2d1); +} +return false; +}); +pp.panel("options").collapsible?t.show():t.hide(); +_2d0.click(function(){ +$(this).find("a.accordion-collapse:visible").triggerHandler("click"); +return false; +}); +}; +function _2d2(_2d3,_2d4){ +var p=_2c2(_2d3,_2d4); +if(!p){ +return; +} +_2d5(_2d3); +var opts=$.data(_2d3,"accordion").options; +p.panel("expand",opts.animate); +}; +function _2d6(_2d7,_2d8){ +var p=_2c2(_2d7,_2d8); +if(!p){ +return; +} +_2d5(_2d7); +var opts=$.data(_2d7,"accordion").options; +p.panel("collapse",opts.animate); +}; +function _2d9(_2da){ +var opts=$.data(_2da,"accordion").options; +var p=_2b6(_2da,"selected",true); +if(p){ +_2db(_2bf(_2da,p)); +}else{ +_2db(opts.selected); +} +function _2db(_2dc){ +var _2dd=opts.animate; +opts.animate=false; +_2d2(_2da,_2dc); +opts.animate=_2dd; +}; +}; +function _2d5(_2de){ +var _2df=$.data(_2de,"accordion").panels; +for(var i=0;i<_2df.length;i++){ +_2df[i].stop(true,true); +} +}; +function add(_2e0,_2e1){ +var _2e2=$.data(_2e0,"accordion"); +var opts=_2e2.options; +var _2e3=_2e2.panels; +if(_2e1.selected==undefined){ +_2e1.selected=true; +} +_2d5(_2e0); +var pp=$("
                                    ").appendTo(_2e0); +_2e3.push(pp); +_2cb(_2e0,pp,_2e1); +_2a9(_2e0); +opts.onAdd.call(_2e0,_2e1.title,_2e3.length-1); +if(_2e1.selected){ +_2d2(_2e0,_2e3.length-1); +} +}; +function _2e4(_2e5,_2e6){ +var _2e7=$.data(_2e5,"accordion"); +var opts=_2e7.options; +var _2e8=_2e7.panels; +_2d5(_2e5); +var _2e9=_2c2(_2e5,_2e6); +var _2ea=_2e9.panel("options").title; +var _2eb=_2bf(_2e5,_2e9); +if(!_2e9){ +return; +} +if(opts.onBeforeRemove.call(_2e5,_2ea,_2eb)==false){ +return; +} +_2e8.splice(_2eb,1); +_2e9.panel("destroy"); +if(_2e8.length){ +_2a9(_2e5); +var curr=_2bd(_2e5); +if(!curr){ +_2d2(_2e5,0); +} +} +opts.onRemove.call(_2e5,_2ea,_2eb); +}; +$.fn.accordion=function(_2ec,_2ed){ +if(typeof _2ec=="string"){ +return $.fn.accordion.methods[_2ec](this,_2ed); +} +_2ec=_2ec||{}; +return this.each(function(){ +var _2ee=$.data(this,"accordion"); +if(_2ee){ +$.extend(_2ee.options,_2ec); +}else{ +$.data(this,"accordion",{options:$.extend({},$.fn.accordion.defaults,$.fn.accordion.parseOptions(this),_2ec),accordion:$(this).addClass("accordion"),panels:[]}); +init(this); +} +_2c6(this); +_2a9(this); +_2d9(this); +}); +}; +$.fn.accordion.methods={options:function(jq){ +return $.data(jq[0],"accordion").options; +},panels:function(jq){ +return $.data(jq[0],"accordion").panels; +},resize:function(jq,_2ef){ +return jq.each(function(){ +_2a9(this,_2ef); +}); +},getSelections:function(jq){ +return _2bb(jq[0]); +},getSelected:function(jq){ +return _2bd(jq[0]); +},getPanel:function(jq,_2f0){ +return _2c2(jq[0],_2f0); +},getPanelIndex:function(jq,_2f1){ +return _2bf(jq[0],_2f1); +},select:function(jq,_2f2){ +return jq.each(function(){ +_2d2(this,_2f2); +}); +},unselect:function(jq,_2f3){ +return jq.each(function(){ +_2d6(this,_2f3); +}); +},add:function(jq,_2f4){ +return jq.each(function(){ +add(this,_2f4); +}); +},remove:function(jq,_2f5){ +return jq.each(function(){ +_2e4(this,_2f5); +}); +}}; +$.fn.accordion.parseOptions=function(_2f6){ +var t=$(_2f6); +return $.extend({},$.parser.parseOptions(_2f6,["width","height",{fit:"boolean",border:"boolean",animate:"boolean",multiple:"boolean",selected:"number"}])); +}; +$.fn.accordion.defaults={width:"auto",height:"auto",fit:false,border:true,animate:true,multiple:false,selected:0,onSelect:function(_2f7,_2f8){ +},onUnselect:function(_2f9,_2fa){ +},onAdd:function(_2fb,_2fc){ +},onBeforeRemove:function(_2fd,_2fe){ +},onRemove:function(_2ff,_300){ +}}; +})(jQuery); +(function($){ +function _301(_302){ +var opts=$.data(_302,"tabs").options; +if(opts.tabPosition=="left"||opts.tabPosition=="right"||!opts.showHeader){ +return; +} +var _303=$(_302).children("div.tabs-header"); +var tool=_303.children("div.tabs-tool"); +var _304=_303.children("div.tabs-scroller-left"); +var _305=_303.children("div.tabs-scroller-right"); +var wrap=_303.children("div.tabs-wrap"); +var _306=_303.outerHeight(); +if(opts.plain){ +_306-=_306-_303.height(); +} +tool._outerHeight(_306); +var _307=0; +$("ul.tabs li",_303).each(function(){ +_307+=$(this).outerWidth(true); +}); +var _308=_303.width()-tool._outerWidth(); +if(_307>_308){ +_304.add(_305).show()._outerHeight(_306); +if(opts.toolPosition=="left"){ +tool.css({left:_304.outerWidth(),right:""}); +wrap.css({marginLeft:_304.outerWidth()+tool._outerWidth(),marginRight:_305._outerWidth(),width:_308-_304.outerWidth()-_305.outerWidth()}); +}else{ +tool.css({left:"",right:_305.outerWidth()}); +wrap.css({marginLeft:_304.outerWidth(),marginRight:_305.outerWidth()+tool._outerWidth(),width:_308-_304.outerWidth()-_305.outerWidth()}); +} +}else{ +_304.add(_305).hide(); +if(opts.toolPosition=="left"){ +tool.css({left:0,right:""}); +wrap.css({marginLeft:tool._outerWidth(),marginRight:0,width:_308}); +}else{ +tool.css({left:"",right:0}); +wrap.css({marginLeft:0,marginRight:tool._outerWidth(),width:_308}); +} +} +}; +function _309(_30a){ +var opts=$.data(_30a,"tabs").options; +var _30b=$(_30a).children("div.tabs-header"); +if(opts.tools){ +if(typeof opts.tools=="string"){ +$(opts.tools).addClass("tabs-tool").appendTo(_30b); +$(opts.tools).show(); +}else{ +_30b.children("div.tabs-tool").remove(); +var _30c=$("
                                    ").appendTo(_30b); +var tr=_30c.find("tr"); +for(var i=0;i").appendTo(tr); +var tool=$("").appendTo(td); +tool[0].onclick=eval(opts.tools[i].handler||function(){ +}); +tool.linkbutton($.extend({},opts.tools[i],{plain:true})); +} +} +}else{ +_30b.children("div.tabs-tool").remove(); +} +}; +function _30d(_30e,_30f){ +var _310=$.data(_30e,"tabs"); +var opts=_310.options; +var cc=$(_30e); +if(_30f){ +$.extend(opts,{width:_30f.width,height:_30f.height}); +} +cc._size(opts); +var _311=cc.children("div.tabs-header"); +var _312=cc.children("div.tabs-panels"); +var wrap=_311.find("div.tabs-wrap"); +var ul=wrap.find(".tabs"); +for(var i=0;i<_310.tabs.length;i++){ +var _313=_310.tabs[i].panel("options"); +var p_t=_313.tab.find("a.tabs-inner"); +var _314=parseInt(_313.tabWidth||opts.tabWidth)||undefined; +if(_314){ +p_t._outerWidth(_314); +}else{ +p_t.css("width",""); +} +p_t._outerHeight(opts.tabHeight); +p_t.css("lineHeight",p_t.height()+"px"); +} +if(opts.tabPosition=="left"||opts.tabPosition=="right"){ +_311._outerWidth(opts.showHeader?opts.headerWidth:0); +_312._outerWidth(cc.width()-_311.outerWidth()); +_311.add(_312)._outerHeight(opts.height); +wrap._outerWidth(_311.width()); +ul._outerWidth(wrap.width()).css("height",""); +}else{ +var lrt=_311.children("div.tabs-scroller-left,div.tabs-scroller-right,div.tabs-tool"); +_311._outerWidth(opts.width).css("height",""); +if(opts.showHeader){ +_311.css("background-color",""); +wrap.css("height",""); +lrt.show(); +}else{ +_311.css("background-color","transparent"); +_311._outerHeight(0); +wrap._outerHeight(0); +lrt.hide(); +} +ul._outerHeight(opts.tabHeight).css("width",""); +_301(_30e); +_312._size("height",isNaN(opts.height)?"":(opts.height-_311.outerHeight())); +_312._size("width",isNaN(opts.width)?"":opts.width); +} +}; +function _315(_316){ +var opts=$.data(_316,"tabs").options; +var tab=_317(_316); +if(tab){ +var _318=$(_316).children("div.tabs-panels"); +var _319=opts.width=="auto"?"auto":_318.width(); +var _31a=opts.height=="auto"?"auto":_318.height(); +tab.panel("resize",{width:_319,height:_31a}); +} +}; +function _31b(_31c){ +var tabs=$.data(_31c,"tabs").tabs; +var cc=$(_31c); +cc.addClass("tabs-container"); +var pp=$("
                                    ").insertBefore(cc); +cc.children("div").each(function(){ +pp[0].appendChild(this); +}); +cc[0].appendChild(pp[0]); +$("
                                    "+"
                                    "+"
                                    "+"
                                    "+"
                                      "+"
                                      "+"
                                      ").prependTo(_31c); +cc.children("div.tabs-panels").children("div").each(function(i){ +var opts=$.extend({},$.parser.parseOptions(this),{selected:($(this).attr("selected")?true:undefined)}); +var pp=$(this); +tabs.push(pp); +_329(_31c,pp,opts); +}); +cc.children("div.tabs-header").find(".tabs-scroller-left, .tabs-scroller-right").hover(function(){ +$(this).addClass("tabs-scroller-over"); +},function(){ +$(this).removeClass("tabs-scroller-over"); +}); +cc.bind("_resize",function(e,_31d){ +if($(this).hasClass("easyui-fluid")||_31d){ +_30d(_31c); +_315(_31c); +} +return false; +}); +}; +function _31e(_31f){ +var _320=$.data(_31f,"tabs"); +var opts=_320.options; +$(_31f).children("div.tabs-header").unbind().bind("click",function(e){ +if($(e.target).hasClass("tabs-scroller-left")){ +$(_31f).tabs("scrollBy",-opts.scrollIncrement); +}else{ +if($(e.target).hasClass("tabs-scroller-right")){ +$(_31f).tabs("scrollBy",opts.scrollIncrement); +}else{ +var li=$(e.target).closest("li"); +if(li.hasClass("tabs-disabled")){ +return; +} +var a=$(e.target).closest("a.tabs-close"); +if(a.length){ +_33b(_31f,_321(li)); +}else{ +if(li.length){ +var _322=_321(li); +var _323=_320.tabs[_322].panel("options"); +if(_323.collapsible){ +_323.closed?_331(_31f,_322):_352(_31f,_322); +}else{ +_331(_31f,_322); +} +} +} +} +} +}).bind("contextmenu",function(e){ +var li=$(e.target).closest("li"); +if(li.hasClass("tabs-disabled")){ +return; +} +if(li.length){ +opts.onContextMenu.call(_31f,e,li.find("span.tabs-title").html(),_321(li)); +} +}); +function _321(li){ +var _324=0; +li.parent().children("li").each(function(i){ +if(li[0]==this){ +_324=i; +return false; +} +}); +return _324; +}; +}; +function _325(_326){ +var opts=$.data(_326,"tabs").options; +var _327=$(_326).children("div.tabs-header"); +var _328=$(_326).children("div.tabs-panels"); +_327.removeClass("tabs-header-top tabs-header-bottom tabs-header-left tabs-header-right"); +_328.removeClass("tabs-panels-top tabs-panels-bottom tabs-panels-left tabs-panels-right"); +if(opts.tabPosition=="top"){ +_327.insertBefore(_328); +}else{ +if(opts.tabPosition=="bottom"){ +_327.insertAfter(_328); +_327.addClass("tabs-header-bottom"); +_328.addClass("tabs-panels-top"); +}else{ +if(opts.tabPosition=="left"){ +_327.addClass("tabs-header-left"); +_328.addClass("tabs-panels-right"); +}else{ +if(opts.tabPosition=="right"){ +_327.addClass("tabs-header-right"); +_328.addClass("tabs-panels-left"); +} +} +} +} +if(opts.plain==true){ +_327.addClass("tabs-header-plain"); +}else{ +_327.removeClass("tabs-header-plain"); +} +if(opts.border==true){ +_327.removeClass("tabs-header-noborder"); +_328.removeClass("tabs-panels-noborder"); +}else{ +_327.addClass("tabs-header-noborder"); +_328.addClass("tabs-panels-noborder"); +} +}; +function _329(_32a,pp,_32b){ +var _32c=$.data(_32a,"tabs"); +_32b=_32b||{}; +pp.panel($.extend({},_32b,{border:false,noheader:true,closed:true,doSize:false,iconCls:(_32b.icon?_32b.icon:undefined),onLoad:function(){ +if(_32b.onLoad){ +_32b.onLoad.call(this,arguments); +} +_32c.options.onLoad.call(_32a,$(this)); +}})); +var opts=pp.panel("options"); +var tabs=$(_32a).children("div.tabs-header").find("ul.tabs"); +opts.tab=$("
                                    • ").appendTo(tabs); +opts.tab.append(""+""+""+""); +$(_32a).tabs("update",{tab:pp,options:opts,type:"header"}); +}; +function _32d(_32e,_32f){ +var _330=$.data(_32e,"tabs"); +var opts=_330.options; +var tabs=_330.tabs; +if(_32f.selected==undefined){ +_32f.selected=true; +} +var pp=$("
                                      ").appendTo($(_32e).children("div.tabs-panels")); +tabs.push(pp); +_329(_32e,pp,_32f); +opts.onAdd.call(_32e,_32f.title,tabs.length-1); +_30d(_32e); +if(_32f.selected){ +_331(_32e,tabs.length-1); +} +}; +function _332(_333,_334){ +_334.type=_334.type||"all"; +var _335=$.data(_333,"tabs").selectHis; +var pp=_334.tab; +var _336=pp.panel("options").title; +if(_334.type=="all"||_334=="body"){ +pp.panel($.extend({},_334.options,{iconCls:(_334.options.icon?_334.options.icon:undefined)})); +} +if(_334.type=="all"||_334.type=="header"){ +var opts=pp.panel("options"); +var tab=opts.tab; +var _337=tab.find("span.tabs-title"); +var _338=tab.find("span.tabs-icon"); +_337.html(opts.title); +_338.attr("class","tabs-icon"); +tab.find("a.tabs-close").remove(); +if(opts.closable){ +_337.addClass("tabs-closable"); +$("").appendTo(tab); +}else{ +_337.removeClass("tabs-closable"); +} +if(opts.iconCls){ +_337.addClass("tabs-with-icon"); +_338.addClass(opts.iconCls); +}else{ +_337.removeClass("tabs-with-icon"); +} +if(_336!=opts.title){ +for(var i=0;i<_335.length;i++){ +if(_335[i]==_336){ +_335[i]=opts.title; +} +} +} +tab.find("span.tabs-p-tool").remove(); +if(opts.tools){ +var _339=$("").insertAfter(tab.find("a.tabs-inner")); +if($.isArray(opts.tools)){ +for(var i=0;i").appendTo(_339); +t.addClass(opts.tools[i].iconCls); +if(opts.tools[i].handler){ +t.bind("click",{handler:opts.tools[i].handler},function(e){ +if($(this).parents("li").hasClass("tabs-disabled")){ +return; +} +e.data.handler.call(this); +}); +} +} +}else{ +$(opts.tools).children().appendTo(_339); +} +var pr=_339.children().length*12; +if(opts.closable){ +pr+=8; +}else{ +pr-=3; +_339.css("right","5px"); +} +_337.css("padding-right",pr+"px"); +} +} +_30d(_333); +$.data(_333,"tabs").options.onUpdate.call(_333,opts.title,_33a(_333,pp)); +}; +function _33b(_33c,_33d){ +var opts=$.data(_33c,"tabs").options; +var tabs=$.data(_33c,"tabs").tabs; +var _33e=$.data(_33c,"tabs").selectHis; +if(!_33f(_33c,_33d)){ +return; +} +var tab=_340(_33c,_33d); +var _341=tab.panel("options").title; +var _342=_33a(_33c,tab); +if(opts.onBeforeClose.call(_33c,_341,_342)==false){ +return; +} +var tab=_340(_33c,_33d,true); +tab.panel("options").tab.remove(); +tab.panel("destroy"); +opts.onClose.call(_33c,_341,_342); +_30d(_33c); +for(var i=0;i<_33e.length;i++){ +if(_33e[i]==_341){ +_33e.splice(i,1); +i--; +} +} +var _343=_33e.pop(); +if(_343){ +_331(_33c,_343); +}else{ +if(tabs.length){ +_331(_33c,0); +} +} +}; +function _340(_344,_345,_346){ +var tabs=$.data(_344,"tabs").tabs; +if(typeof _345=="number"){ +if(_345<0||_345>=tabs.length){ +return null; +}else{ +var tab=tabs[_345]; +if(_346){ +tabs.splice(_345,1); +} +return tab; +} +} +for(var i=0;idiv.tabs-header>div.tabs-wrap"); +var left=tab.position().left; +var _354=left+tab.outerWidth(); +if(left<0||_354>wrap.width()){ +var _355=left-(wrap.width()-tab.width())/2; +$(_34c).tabs("scrollBy",_355); +}else{ +$(_34c).tabs("scrollBy",0); +} +_315(_34c); +opts.onSelect.call(_34c,_353,_33a(_34c,_350)); +}; +function _352(_356,_357){ +var _358=$.data(_356,"tabs"); +var p=_340(_356,_357); +if(p){ +var opts=p.panel("options"); +if(!opts.closed){ +p.panel("close"); +if(opts.closed){ +opts.tab.removeClass("tabs-selected"); +_358.options.onUnselect.call(_356,opts.title,_33a(_356,p)); +} +} +} +}; +function _33f(_359,_35a){ +return _340(_359,_35a)!=null; +}; +function _35b(_35c,_35d){ +var opts=$.data(_35c,"tabs").options; +opts.showHeader=_35d; +$(_35c).tabs("resize"); +}; +$.fn.tabs=function(_35e,_35f){ +if(typeof _35e=="string"){ +return $.fn.tabs.methods[_35e](this,_35f); +} +_35e=_35e||{}; +return this.each(function(){ +var _360=$.data(this,"tabs"); +if(_360){ +$.extend(_360.options,_35e); +}else{ +$.data(this,"tabs",{options:$.extend({},$.fn.tabs.defaults,$.fn.tabs.parseOptions(this),_35e),tabs:[],selectHis:[]}); +_31b(this); +} +_309(this); +_325(this); +_30d(this); +_31e(this); +_349(this); +}); +}; +$.fn.tabs.methods={options:function(jq){ +var cc=jq[0]; +var opts=$.data(cc,"tabs").options; +var s=_317(cc); +opts.selected=s?_33a(cc,s):-1; +return opts; +},tabs:function(jq){ +return $.data(jq[0],"tabs").tabs; +},resize:function(jq,_361){ +return jq.each(function(){ +_30d(this,_361); +_315(this); +}); +},add:function(jq,_362){ +return jq.each(function(){ +_32d(this,_362); +}); +},close:function(jq,_363){ +return jq.each(function(){ +_33b(this,_363); +}); +},getTab:function(jq,_364){ +return _340(jq[0],_364); +},getTabIndex:function(jq,tab){ +return _33a(jq[0],tab); +},getSelected:function(jq){ +return _317(jq[0]); +},select:function(jq,_365){ +return jq.each(function(){ +_331(this,_365); +}); +},unselect:function(jq,_366){ +return jq.each(function(){ +_352(this,_366); +}); +},exists:function(jq,_367){ +return _33f(jq[0],_367); +},update:function(jq,_368){ +return jq.each(function(){ +_332(this,_368); +}); +},enableTab:function(jq,_369){ +return jq.each(function(){ +$(this).tabs("getTab",_369).panel("options").tab.removeClass("tabs-disabled"); +}); +},disableTab:function(jq,_36a){ +return jq.each(function(){ +$(this).tabs("getTab",_36a).panel("options").tab.addClass("tabs-disabled"); +}); +},showHeader:function(jq){ +return jq.each(function(){ +_35b(this,true); +}); +},hideHeader:function(jq){ +return jq.each(function(){ +_35b(this,false); +}); +},scrollBy:function(jq,_36b){ +return jq.each(function(){ +var opts=$(this).tabs("options"); +var wrap=$(this).find(">div.tabs-header>div.tabs-wrap"); +var pos=Math.min(wrap._scrollLeft()+_36b,_36c()); +wrap.animate({scrollLeft:pos},opts.scrollDuration); +function _36c(){ +var w=0; +var ul=wrap.children("ul"); +ul.children("li").each(function(){ +w+=$(this).outerWidth(true); +}); +return w-wrap.width()+(ul.outerWidth()-ul.width()); +}; +}); +}}; +$.fn.tabs.parseOptions=function(_36d){ +return $.extend({},$.parser.parseOptions(_36d,["tools","toolPosition","tabPosition",{fit:"boolean",border:"boolean",plain:"boolean",headerWidth:"number",tabWidth:"number",tabHeight:"number",selected:"number",showHeader:"boolean"}])); +}; +$.fn.tabs.defaults={width:"auto",height:"auto",headerWidth:150,tabWidth:"auto",tabHeight:27,selected:0,showHeader:true,plain:false,fit:false,border:true,tools:null,toolPosition:"right",tabPosition:"top",scrollIncrement:100,scrollDuration:400,onLoad:function(_36e){ +},onSelect:function(_36f,_370){ +},onUnselect:function(_371,_372){ +},onBeforeClose:function(_373,_374){ +},onClose:function(_375,_376){ +},onAdd:function(_377,_378){ +},onUpdate:function(_379,_37a){ +},onContextMenu:function(e,_37b,_37c){ +}}; +})(jQuery); +(function($){ +var _37d=false; +function _37e(_37f,_380){ +var _381=$.data(_37f,"layout"); +var opts=_381.options; +var _382=_381.panels; +var cc=$(_37f); +if(_380){ +$.extend(opts,{width:_380.width,height:_380.height}); +} +if(_37f.tagName.toLowerCase()=="body"){ +cc._size("fit"); +}else{ +cc._size(opts); +} +var cpos={top:0,left:0,width:cc.width(),height:cc.height()}; +_383(_384(_382.expandNorth)?_382.expandNorth:_382.north,"n"); +_383(_384(_382.expandSouth)?_382.expandSouth:_382.south,"s"); +_385(_384(_382.expandEast)?_382.expandEast:_382.east,"e"); +_385(_384(_382.expandWest)?_382.expandWest:_382.west,"w"); +_382.center.panel("resize",cpos); +function _383(pp,type){ +if(!pp.length||!_384(pp)){ +return; +} +var opts=pp.panel("options"); +pp.panel("resize",{width:cc.width(),height:opts.height}); +var _386=pp.panel("panel").outerHeight(); +pp.panel("move",{left:0,top:(type=="n"?0:cc.height()-_386)}); +cpos.height-=_386; +if(type=="n"){ +cpos.top+=_386; +if(!opts.split&&opts.border){ +cpos.top--; +} +} +if(!opts.split&&opts.border){ +cpos.height++; +} +}; +function _385(pp,type){ +if(!pp.length||!_384(pp)){ +return; +} +var opts=pp.panel("options"); +pp.panel("resize",{width:opts.width,height:cpos.height}); +var _387=pp.panel("panel").outerWidth(); +pp.panel("move",{left:(type=="e"?cc.width()-_387:0),top:cpos.top}); +cpos.width-=_387; +if(type=="w"){ +cpos.left+=_387; +if(!opts.split&&opts.border){ +cpos.left--; +} +} +if(!opts.split&&opts.border){ +cpos.width++; +} +}; +}; +function init(_388){ +var cc=$(_388); +cc.addClass("layout"); +function _389(cc){ +cc.children("div").each(function(){ +var opts=$.fn.layout.parsePanelOptions(this); +if("north,south,east,west,center".indexOf(opts.region)>=0){ +_38b(_388,opts,this); +} +}); +}; +cc.children("form").length?_389(cc.children("form")):_389(cc); +cc.append("
                                      "); +cc.bind("_resize",function(e,_38a){ +if($(this).hasClass("easyui-fluid")||_38a){ +_37e(_388); +} +return false; +}); +}; +function _38b(_38c,_38d,el){ +_38d.region=_38d.region||"center"; +var _38e=$.data(_38c,"layout").panels; +var cc=$(_38c); +var dir=_38d.region; +if(_38e[dir].length){ +return; +} +var pp=$(el); +if(!pp.length){ +pp=$("
                                      ").appendTo(cc); +} +var _38f=$.extend({},$.fn.layout.paneldefaults,{width:(pp.length?parseInt(pp[0].style.width)||pp.outerWidth():"auto"),height:(pp.length?parseInt(pp[0].style.height)||pp.outerHeight():"auto"),doSize:false,collapsible:true,cls:("layout-panel layout-panel-"+dir),bodyCls:"layout-body",onOpen:function(){ +var tool=$(this).panel("header").children("div.panel-tool"); +tool.children("a.panel-tool-collapse").hide(); +var _390={north:"up",south:"down",east:"right",west:"left"}; +if(!_390[dir]){ +return; +} +var _391="layout-button-"+_390[dir]; +var t=tool.children("a."+_391); +if(!t.length){ +t=$("").addClass(_391).appendTo(tool); +t.bind("click",{dir:dir},function(e){ +_39d(_38c,e.data.dir); +return false; +}); +} +$(this).panel("options").collapsible?t.show():t.hide(); +}},_38d); +pp.panel(_38f); +_38e[dir]=pp; +if(pp.panel("options").split){ +var _392=pp.panel("panel"); +_392.addClass("layout-split-"+dir); +var _393=""; +if(dir=="north"){ +_393="s"; +} +if(dir=="south"){ +_393="n"; +} +if(dir=="east"){ +_393="w"; +} +if(dir=="west"){ +_393="e"; +} +_392.resizable($.extend({},{handles:_393,onStartResize:function(e){ +_37d=true; +if(dir=="north"||dir=="south"){ +var _394=$(">div.layout-split-proxy-v",_38c); +}else{ +var _394=$(">div.layout-split-proxy-h",_38c); +} +var top=0,left=0,_395=0,_396=0; +var pos={display:"block"}; +if(dir=="north"){ +pos.top=parseInt(_392.css("top"))+_392.outerHeight()-_394.height(); +pos.left=parseInt(_392.css("left")); +pos.width=_392.outerWidth(); +pos.height=_394.height(); +}else{ +if(dir=="south"){ +pos.top=parseInt(_392.css("top")); +pos.left=parseInt(_392.css("left")); +pos.width=_392.outerWidth(); +pos.height=_394.height(); +}else{ +if(dir=="east"){ +pos.top=parseInt(_392.css("top"))||0; +pos.left=parseInt(_392.css("left"))||0; +pos.width=_394.width(); +pos.height=_392.outerHeight(); +}else{ +if(dir=="west"){ +pos.top=parseInt(_392.css("top"))||0; +pos.left=_392.outerWidth()-_394.width(); +pos.width=_394.width(); +pos.height=_392.outerHeight(); +} +} +} +} +_394.css(pos); +$("
                                      ").css({left:0,top:0,width:cc.width(),height:cc.height()}).appendTo(cc); +},onResize:function(e){ +if(dir=="north"||dir=="south"){ +var _397=$(">div.layout-split-proxy-v",_38c); +_397.css("top",e.pageY-$(_38c).offset().top-_397.height()/2); +}else{ +var _397=$(">div.layout-split-proxy-h",_38c); +_397.css("left",e.pageX-$(_38c).offset().left-_397.width()/2); +} +return false; +},onStopResize:function(e){ +cc.children("div.layout-split-proxy-v,div.layout-split-proxy-h").hide(); +pp.panel("resize",e.data); +_37e(_38c); +_37d=false; +cc.find(">div.layout-mask").remove(); +}},_38d)); +} +}; +function _398(_399,_39a){ +var _39b=$.data(_399,"layout").panels; +if(_39b[_39a].length){ +_39b[_39a].panel("destroy"); +_39b[_39a]=$(); +var _39c="expand"+_39a.substring(0,1).toUpperCase()+_39a.substring(1); +if(_39b[_39c]){ +_39b[_39c].panel("destroy"); +_39b[_39c]=undefined; +} +} +}; +function _39d(_39e,_39f,_3a0){ +if(_3a0==undefined){ +_3a0="normal"; +} +var _3a1=$.data(_39e,"layout").panels; +var p=_3a1[_39f]; +var _3a2=p.panel("options"); +if(_3a2.onBeforeCollapse.call(p)==false){ +return; +} +var _3a3="expand"+_39f.substring(0,1).toUpperCase()+_39f.substring(1); +if(!_3a1[_3a3]){ +_3a1[_3a3]=_3a4(_39f); +_3a1[_3a3].panel("panel").bind("click",function(){ +p.panel("expand",false).panel("open"); +var _3a5=_3a6(); +p.panel("resize",_3a5.collapse); +p.panel("panel").animate(_3a5.expand,function(){ +$(this).unbind(".layout").bind("mouseleave.layout",{region:_39f},function(e){ +if(_37d==true){ +return; +} +if($("body>div.combo-p>div.combo-panel:visible").length){ +return; +} +_39d(_39e,e.data.region); +}); +}); +return false; +}); +} +var _3a7=_3a6(); +if(!_384(_3a1[_3a3])){ +_3a1.center.panel("resize",_3a7.resizeC); +} +p.panel("panel").animate(_3a7.collapse,_3a0,function(){ +p.panel("collapse",false).panel("close"); +_3a1[_3a3].panel("open").panel("resize",_3a7.expandP); +$(this).unbind(".layout"); +}); +function _3a4(dir){ +var icon; +if(dir=="east"){ +icon="layout-button-left"; +}else{ +if(dir=="west"){ +icon="layout-button-right"; +}else{ +if(dir=="north"){ +icon="layout-button-down"; +}else{ +if(dir=="south"){ +icon="layout-button-up"; +} +} +} +} +var p=$("
                                      ").appendTo(_39e); +p.panel($.extend({},$.fn.layout.paneldefaults,{cls:("layout-expand layout-expand-"+dir),title:" ",closed:true,minWidth:0,minHeight:0,doSize:false,tools:[{iconCls:icon,handler:function(){ +_3ad(_39e,_39f); +return false; +}}]})); +p.panel("panel").hover(function(){ +$(this).addClass("layout-expand-over"); +},function(){ +$(this).removeClass("layout-expand-over"); +}); +return p; +}; +function _3a6(){ +var cc=$(_39e); +var _3a8=_3a1.center.panel("options"); +var _3a9=_3a2.collapsedSize; +if(_39f=="east"){ +var _3aa=p.panel("panel")._outerWidth(); +var _3ab=_3a8.width+_3aa-_3a9; +if(_3a2.split||!_3a2.border){ +_3ab++; +} +return {resizeC:{width:_3ab},expand:{left:cc.width()-_3aa},expandP:{top:_3a8.top,left:cc.width()-_3a9,width:_3a9,height:_3a8.height},collapse:{left:cc.width(),top:_3a8.top,height:_3a8.height}}; +}else{ +if(_39f=="west"){ +var _3aa=p.panel("panel")._outerWidth(); +var _3ab=_3a8.width+_3aa-_3a9; +if(_3a2.split||!_3a2.border){ +_3ab++; +} +return {resizeC:{width:_3ab,left:_3a9-1},expand:{left:0},expandP:{left:0,top:_3a8.top,width:_3a9,height:_3a8.height},collapse:{left:-_3aa,top:_3a8.top,height:_3a8.height}}; +}else{ +if(_39f=="north"){ +var _3ac=p.panel("panel")._outerHeight(); +var hh=_3a8.height; +if(!_384(_3a1.expandNorth)){ +hh+=_3ac-_3a9+((_3a2.split||!_3a2.border)?1:0); +} +_3a1.east.add(_3a1.west).add(_3a1.expandEast).add(_3a1.expandWest).panel("resize",{top:_3a9-1,height:hh}); +return {resizeC:{top:_3a9-1,height:hh},expand:{top:0},expandP:{top:0,left:0,width:cc.width(),height:_3a9},collapse:{top:-_3ac,width:cc.width()}}; +}else{ +if(_39f=="south"){ +var _3ac=p.panel("panel")._outerHeight(); +var hh=_3a8.height; +if(!_384(_3a1.expandSouth)){ +hh+=_3ac-_3a9+((_3a2.split||!_3a2.border)?1:0); +} +_3a1.east.add(_3a1.west).add(_3a1.expandEast).add(_3a1.expandWest).panel("resize",{height:hh}); +return {resizeC:{height:hh},expand:{top:cc.height()-_3ac},expandP:{top:cc.height()-_3a9,left:0,width:cc.width(),height:_3a9},collapse:{top:cc.height(),width:cc.width()}}; +} +} +} +} +}; +}; +function _3ad(_3ae,_3af){ +var _3b0=$.data(_3ae,"layout").panels; +var p=_3b0[_3af]; +var _3b1=p.panel("options"); +if(_3b1.onBeforeExpand.call(p)==false){ +return; +} +var _3b2="expand"+_3af.substring(0,1).toUpperCase()+_3af.substring(1); +if(_3b0[_3b2]){ +_3b0[_3b2].panel("close"); +p.panel("panel").stop(true,true); +p.panel("expand",false).panel("open"); +var _3b3=_3b4(); +p.panel("resize",_3b3.collapse); +p.panel("panel").animate(_3b3.expand,function(){ +_37e(_3ae); +}); +} +function _3b4(){ +var cc=$(_3ae); +var _3b5=_3b0.center.panel("options"); +if(_3af=="east"&&_3b0.expandEast){ +return {collapse:{left:cc.width(),top:_3b5.top,height:_3b5.height},expand:{left:cc.width()-p.panel("panel")._outerWidth()}}; +}else{ +if(_3af=="west"&&_3b0.expandWest){ +return {collapse:{left:-p.panel("panel")._outerWidth(),top:_3b5.top,height:_3b5.height},expand:{left:0}}; +}else{ +if(_3af=="north"&&_3b0.expandNorth){ +return {collapse:{top:-p.panel("panel")._outerHeight(),width:cc.width()},expand:{top:0}}; +}else{ +if(_3af=="south"&&_3b0.expandSouth){ +return {collapse:{top:cc.height(),width:cc.width()},expand:{top:cc.height()-p.panel("panel")._outerHeight()}}; +} +} +} +} +}; +}; +function _384(pp){ +if(!pp){ +return false; +} +if(pp.length){ +return pp.panel("panel").is(":visible"); +}else{ +return false; +} +}; +function _3b6(_3b7){ +var _3b8=$.data(_3b7,"layout").panels; +if(_3b8.east.length&&_3b8.east.panel("options").collapsed){ +_39d(_3b7,"east",0); +} +if(_3b8.west.length&&_3b8.west.panel("options").collapsed){ +_39d(_3b7,"west",0); +} +if(_3b8.north.length&&_3b8.north.panel("options").collapsed){ +_39d(_3b7,"north",0); +} +if(_3b8.south.length&&_3b8.south.panel("options").collapsed){ +_39d(_3b7,"south",0); +} +}; +$.fn.layout=function(_3b9,_3ba){ +if(typeof _3b9=="string"){ +return $.fn.layout.methods[_3b9](this,_3ba); +} +_3b9=_3b9||{}; +return this.each(function(){ +var _3bb=$.data(this,"layout"); +if(_3bb){ +$.extend(_3bb.options,_3b9); +}else{ +var opts=$.extend({},$.fn.layout.defaults,$.fn.layout.parseOptions(this),_3b9); +$.data(this,"layout",{options:opts,panels:{center:$(),north:$(),south:$(),east:$(),west:$()}}); +init(this); +} +_37e(this); +_3b6(this); +}); +}; +$.fn.layout.methods={options:function(jq){ +return $.data(jq[0],"layout").options; +},resize:function(jq,_3bc){ +return jq.each(function(){ +_37e(this,_3bc); +}); +},panel:function(jq,_3bd){ +return $.data(jq[0],"layout").panels[_3bd]; +},collapse:function(jq,_3be){ +return jq.each(function(){ +_39d(this,_3be); +}); +},expand:function(jq,_3bf){ +return jq.each(function(){ +_3ad(this,_3bf); +}); +},add:function(jq,_3c0){ +return jq.each(function(){ +_38b(this,_3c0); +_37e(this); +if($(this).layout("panel",_3c0.region).panel("options").collapsed){ +_39d(this,_3c0.region,0); +} +}); +},remove:function(jq,_3c1){ +return jq.each(function(){ +_398(this,_3c1); +_37e(this); +}); +}}; +$.fn.layout.parseOptions=function(_3c2){ +return $.extend({},$.parser.parseOptions(_3c2,[{fit:"boolean"}])); +}; +$.fn.layout.defaults={fit:false}; +$.fn.layout.parsePanelOptions=function(_3c3){ +var t=$(_3c3); +return $.extend({},$.fn.panel.parseOptions(_3c3),$.parser.parseOptions(_3c3,["region",{split:"boolean",collpasedSize:"number",minWidth:"number",minHeight:"number",maxWidth:"number",maxHeight:"number"}])); +}; +$.fn.layout.paneldefaults=$.extend({},$.fn.panel.defaults,{region:null,split:false,collapsedSize:28,minWidth:10,minHeight:10,maxWidth:10000,maxHeight:10000}); +})(jQuery); +(function($){ +function init(_3c4){ +$(_3c4).appendTo("body"); +$(_3c4).addClass("menu-top"); +$(document).unbind(".menu").bind("mousedown.menu",function(e){ +var m=$(e.target).closest("div.menu,div.combo-p"); +if(m.length){ +return; +} +$("body>div.menu-top:visible").menu("hide"); +}); +var _3c5=_3c6($(_3c4)); +for(var i=0;i<_3c5.length;i++){ +_3c7(_3c5[i]); +} +function _3c6(menu){ +var _3c8=[]; +menu.addClass("menu"); +_3c8.push(menu); +if(!menu.hasClass("menu-content")){ +menu.children("div").each(function(){ +var _3c9=$(this).children("div"); +if(_3c9.length){ +_3c9.insertAfter(_3c4); +this.submenu=_3c9; +var mm=_3c6(_3c9); +_3c8=_3c8.concat(mm); +} +}); +} +return _3c8; +}; +function _3c7(menu){ +var wh=$.parser.parseOptions(menu[0],["width","height"]); +menu[0].originalHeight=wh.height||0; +if(menu.hasClass("menu-content")){ +menu[0].originalWidth=wh.width||menu._outerWidth(); +}else{ +menu[0].originalWidth=wh.width||0; +menu.children("div").each(function(){ +var item=$(this); +var _3ca=$.extend({},$.parser.parseOptions(this,["name","iconCls","href",{separator:"boolean"}]),{disabled:(item.attr("disabled")?true:undefined)}); +if(_3ca.separator){ +item.addClass("menu-sep"); +} +if(!item.hasClass("menu-sep")){ +item[0].itemName=_3ca.name||""; +item[0].itemHref=_3ca.href||""; +var text=item.addClass("menu-item").html(); +item.empty().append($("
                                      ").html(text)); +if(_3ca.iconCls){ +$("
                                      ").addClass(_3ca.iconCls).appendTo(item); +} +if(_3ca.disabled){ +_3cb(_3c4,item[0],true); +} +if(item[0].submenu){ +$("
                                      ").appendTo(item); +} +_3cc(_3c4,item); +} +}); +$("
                                      ").prependTo(menu); +} +_3cd(_3c4,menu); +menu.hide(); +_3ce(_3c4,menu); +}; +}; +function _3cd(_3cf,menu){ +var opts=$.data(_3cf,"menu").options; +var _3d0=menu.attr("style")||""; +menu.css({display:"block",left:-10000,height:"auto",overflow:"hidden"}); +var el=menu[0]; +var _3d1=el.originalWidth||0; +if(!_3d1){ +_3d1=0; +menu.find("div.menu-text").each(function(){ +if(_3d1<$(this)._outerWidth()){ +_3d1=$(this)._outerWidth(); +} +$(this).closest("div.menu-item")._outerHeight($(this)._outerHeight()+2); +}); +_3d1+=40; +} +_3d1=Math.max(_3d1,opts.minWidth); +var _3d2=el.originalHeight||0; +if(!_3d2){ +_3d2=menu.outerHeight(); +if(menu.hasClass("menu-top")&&opts.alignTo){ +var at=$(opts.alignTo); +var h1=at.offset().top-$(document).scrollTop(); +var h2=$(window)._outerHeight()+$(document).scrollTop()-at.offset().top-at._outerHeight(); +_3d2=Math.min(_3d2,Math.max(h1,h2)); +}else{ +if(_3d2>$(window)._outerHeight()){ +_3d2=$(window).height(); +_3d0+=";overflow:auto"; +}else{ +_3d0+=";overflow:hidden"; +} +} +} +var _3d3=Math.max(el.originalHeight,menu.outerHeight())-2; +menu._outerWidth(_3d1)._outerHeight(_3d2); +menu.children("div.menu-line")._outerHeight(_3d3); +_3d0+=";width:"+el.style.width+";height:"+el.style.height; +menu.attr("style",_3d0); +}; +function _3ce(_3d4,menu){ +var _3d5=$.data(_3d4,"menu"); +menu.unbind(".menu").bind("mouseenter.menu",function(){ +if(_3d5.timer){ +clearTimeout(_3d5.timer); +_3d5.timer=null; +} +}).bind("mouseleave.menu",function(){ +if(_3d5.options.hideOnUnhover){ +_3d5.timer=setTimeout(function(){ +_3d6(_3d4); +},_3d5.options.duration); +} +}); +}; +function _3cc(_3d7,item){ +if(!item.hasClass("menu-item")){ +return; +} +item.unbind(".menu"); +item.bind("click.menu",function(){ +if($(this).hasClass("menu-item-disabled")){ +return; +} +if(!this.submenu){ +_3d6(_3d7); +var href=this.itemHref; +if(href){ +location.href=href; +} +} +var item=$(_3d7).menu("getItem",this); +$.data(_3d7,"menu").options.onClick.call(_3d7,item); +}).bind("mouseenter.menu",function(e){ +item.siblings().each(function(){ +if(this.submenu){ +_3da(this.submenu); +} +$(this).removeClass("menu-active"); +}); +item.addClass("menu-active"); +if($(this).hasClass("menu-item-disabled")){ +item.addClass("menu-active-disabled"); +return; +} +var _3d8=item[0].submenu; +if(_3d8){ +$(_3d7).menu("show",{menu:_3d8,parent:item}); +} +}).bind("mouseleave.menu",function(e){ +item.removeClass("menu-active menu-active-disabled"); +var _3d9=item[0].submenu; +if(_3d9){ +if(e.pageX>=parseInt(_3d9.css("left"))){ +item.addClass("menu-active"); +}else{ +_3da(_3d9); +} +}else{ +item.removeClass("menu-active"); +} +}); +}; +function _3d6(_3db){ +var _3dc=$.data(_3db,"menu"); +if(_3dc){ +if($(_3db).is(":visible")){ +_3da($(_3db)); +_3dc.options.onHide.call(_3db); +} +} +return false; +}; +function _3dd(_3de,_3df){ +var left,top; +_3df=_3df||{}; +var menu=$(_3df.menu||_3de); +$(_3de).menu("resize",menu[0]); +if(menu.hasClass("menu-top")){ +var opts=$.data(_3de,"menu").options; +$.extend(opts,_3df); +left=opts.left; +top=opts.top; +if(opts.alignTo){ +var at=$(opts.alignTo); +left=at.offset().left; +top=at.offset().top+at._outerHeight(); +if(opts.align=="right"){ +left+=at.outerWidth()-menu.outerWidth(); +} +} +if(left+menu.outerWidth()>$(window)._outerWidth()+$(document)._scrollLeft()){ +left=$(window)._outerWidth()+$(document).scrollLeft()-menu.outerWidth()-5; +} +if(left<0){ +left=0; +} +top=_3e0(top,opts.alignTo); +}else{ +var _3e1=_3df.parent; +left=_3e1.offset().left+_3e1.outerWidth()-2; +if(left+menu.outerWidth()+5>$(window)._outerWidth()+$(document).scrollLeft()){ +left=_3e1.offset().left-menu.outerWidth()+2; +} +top=_3e0(_3e1.offset().top-3); +} +function _3e0(top,_3e2){ +if(top+menu.outerHeight()>$(window)._outerHeight()+$(document).scrollTop()){ +if(_3e2){ +top=$(_3e2).offset().top-menu._outerHeight(); +}else{ +top=$(window)._outerHeight()+$(document).scrollTop()-menu.outerHeight(); +} +} +if(top<0){ +top=0; +} +return top; +}; +menu.css({left:left,top:top}); +menu.show(0,function(){ +if(!menu[0].shadow){ +menu[0].shadow=$("
                                      ").insertAfter(menu); +} +menu[0].shadow.css({display:"block",zIndex:$.fn.menu.defaults.zIndex++,left:menu.css("left"),top:menu.css("top"),width:menu.outerWidth(),height:menu.outerHeight()}); +menu.css("z-index",$.fn.menu.defaults.zIndex++); +if(menu.hasClass("menu-top")){ +$.data(menu[0],"menu").options.onShow.call(menu[0]); +} +}); +}; +function _3da(menu){ +if(!menu){ +return; +} +_3e3(menu); +menu.find("div.menu-item").each(function(){ +if(this.submenu){ +_3da(this.submenu); +} +$(this).removeClass("menu-active"); +}); +function _3e3(m){ +m.stop(true,true); +if(m[0].shadow){ +m[0].shadow.hide(); +} +m.hide(); +}; +}; +function _3e4(_3e5,text){ +var _3e6=null; +var tmp=$("
                                      "); +function find(menu){ +menu.children("div.menu-item").each(function(){ +var item=$(_3e5).menu("getItem",this); +var s=tmp.empty().html(item.text).text(); +if(text==$.trim(s)){ +_3e6=item; +}else{ +if(this.submenu&&!_3e6){ +find(this.submenu); +} +} +}); +}; +find($(_3e5)); +tmp.remove(); +return _3e6; +}; +function _3cb(_3e7,_3e8,_3e9){ +var t=$(_3e8); +if(!t.hasClass("menu-item")){ +return; +} +if(_3e9){ +t.addClass("menu-item-disabled"); +if(_3e8.onclick){ +_3e8.onclick1=_3e8.onclick; +_3e8.onclick=null; +} +}else{ +t.removeClass("menu-item-disabled"); +if(_3e8.onclick1){ +_3e8.onclick=_3e8.onclick1; +_3e8.onclick1=null; +} +} +}; +function _3ea(_3eb,_3ec){ +var menu=$(_3eb); +if(_3ec.parent){ +if(!_3ec.parent.submenu){ +var _3ed=$("
                                      ").appendTo("body"); +_3ed.hide(); +_3ec.parent.submenu=_3ed; +$("
                                      ").appendTo(_3ec.parent); +} +menu=_3ec.parent.submenu; +} +if(_3ec.separator){ +var item=$("
                                      ").appendTo(menu); +}else{ +var item=$("
                                      ").appendTo(menu); +$("
                                      ").html(_3ec.text).appendTo(item); +} +if(_3ec.iconCls){ +$("
                                      ").addClass(_3ec.iconCls).appendTo(item); +} +if(_3ec.id){ +item.attr("id",_3ec.id); +} +if(_3ec.name){ +item[0].itemName=_3ec.name; +} +if(_3ec.href){ +item[0].itemHref=_3ec.href; +} +if(_3ec.onclick){ +if(typeof _3ec.onclick=="string"){ +item.attr("onclick",_3ec.onclick); +}else{ +item[0].onclick=eval(_3ec.onclick); +} +} +if(_3ec.handler){ +item[0].onclick=eval(_3ec.handler); +} +if(_3ec.disabled){ +_3cb(_3eb,item[0],true); +} +_3cc(_3eb,item); +_3ce(_3eb,menu); +_3cd(_3eb,menu); +}; +function _3ee(_3ef,_3f0){ +function _3f1(el){ +if(el.submenu){ +el.submenu.children("div.menu-item").each(function(){ +_3f1(this); +}); +var _3f2=el.submenu[0].shadow; +if(_3f2){ +_3f2.remove(); +} +el.submenu.remove(); +} +$(el).remove(); +}; +var menu=$(_3f0).parent(); +_3f1(_3f0); +_3cd(_3ef,menu); +}; +function _3f3(_3f4,_3f5,_3f6){ +var menu=$(_3f5).parent(); +if(_3f6){ +$(_3f5).show(); +}else{ +$(_3f5).hide(); +} +_3cd(_3f4,menu); +}; +function _3f7(_3f8){ +$(_3f8).children("div.menu-item").each(function(){ +_3ee(_3f8,this); +}); +if(_3f8.shadow){ +_3f8.shadow.remove(); +} +$(_3f8).remove(); +}; +$.fn.menu=function(_3f9,_3fa){ +if(typeof _3f9=="string"){ +return $.fn.menu.methods[_3f9](this,_3fa); +} +_3f9=_3f9||{}; +return this.each(function(){ +var _3fb=$.data(this,"menu"); +if(_3fb){ +$.extend(_3fb.options,_3f9); +}else{ +_3fb=$.data(this,"menu",{options:$.extend({},$.fn.menu.defaults,$.fn.menu.parseOptions(this),_3f9)}); +init(this); +} +$(this).css({left:_3fb.options.left,top:_3fb.options.top}); +}); +}; +$.fn.menu.methods={options:function(jq){ +return $.data(jq[0],"menu").options; +},show:function(jq,pos){ +return jq.each(function(){ +_3dd(this,pos); +}); +},hide:function(jq){ +return jq.each(function(){ +_3d6(this); +}); +},destroy:function(jq){ +return jq.each(function(){ +_3f7(this); +}); +},setText:function(jq,_3fc){ +return jq.each(function(){ +$(_3fc.target).children("div.menu-text").html(_3fc.text); +}); +},setIcon:function(jq,_3fd){ +return jq.each(function(){ +$(_3fd.target).children("div.menu-icon").remove(); +if(_3fd.iconCls){ +$("
                                      ").addClass(_3fd.iconCls).appendTo(_3fd.target); +} +}); +},getItem:function(jq,_3fe){ +var t=$(_3fe); +var item={target:_3fe,id:t.attr("id"),text:$.trim(t.children("div.menu-text").html()),disabled:t.hasClass("menu-item-disabled"),name:_3fe.itemName,href:_3fe.itemHref,onclick:_3fe.onclick}; +var icon=t.children("div.menu-icon"); +if(icon.length){ +var cc=[]; +var aa=icon.attr("class").split(" "); +for(var i=0;i").addClass(opts.cls.arrow).appendTo(_408); +$("").addClass("m-btn-line").appendTo(_408); +if(opts.menu){ +$(opts.menu).menu({duration:opts.duration}); +var _409=$(opts.menu).menu("options"); +var _40a=_409.onShow; +var _40b=_409.onHide; +$.extend(_409,{onShow:function(){ +var _40c=$(this).menu("options"); +var btn=$(_40c.alignTo); +var opts=btn.menubutton("options"); +btn.addClass((opts.plain==true)?opts.cls.btn2:opts.cls.btn1); +_40a.call(this); +},onHide:function(){ +var _40d=$(this).menu("options"); +var btn=$(_40d.alignTo); +var opts=btn.menubutton("options"); +btn.removeClass((opts.plain==true)?opts.cls.btn2:opts.cls.btn1); +_40b.call(this); +}}); +} +}; +function _40e(_40f){ +var opts=$.data(_40f,"menubutton").options; +var btn=$(_40f); +var t=btn.find("."+opts.cls.trigger); +if(!t.length){ +t=btn; +} +t.unbind(".menubutton"); +var _410=null; +t.bind("click.menubutton",function(){ +if(!_411()){ +_412(_40f); +return false; +} +}).bind("mouseenter.menubutton",function(){ +if(!_411()){ +_410=setTimeout(function(){ +_412(_40f); +},opts.duration); +return false; +} +}).bind("mouseleave.menubutton",function(){ +if(_410){ +clearTimeout(_410); +} +$(opts.menu).triggerHandler("mouseleave"); +}); +function _411(){ +return $(_40f).linkbutton("options").disabled; +}; +}; +function _412(_413){ +var opts=$(_413).menubutton("options"); +if(opts.disabled||!opts.menu){ +return; +} +$("body>div.menu-top").menu("hide"); +var btn=$(_413); +var mm=$(opts.menu); +if(mm.length){ +mm.menu("options").alignTo=btn; +mm.menu("show",{alignTo:btn,align:opts.menuAlign}); +} +btn.blur(); +}; +$.fn.menubutton=function(_414,_415){ +if(typeof _414=="string"){ +var _416=$.fn.menubutton.methods[_414]; +if(_416){ +return _416(this,_415); +}else{ +return this.linkbutton(_414,_415); +} +} +_414=_414||{}; +return this.each(function(){ +var _417=$.data(this,"menubutton"); +if(_417){ +$.extend(_417.options,_414); +}else{ +$.data(this,"menubutton",{options:$.extend({},$.fn.menubutton.defaults,$.fn.menubutton.parseOptions(this),_414)}); +$(this).removeAttr("disabled"); +} +init(this); +_40e(this); +}); +}; +$.fn.menubutton.methods={options:function(jq){ +var _418=jq.linkbutton("options"); +return $.extend($.data(jq[0],"menubutton").options,{toggle:_418.toggle,selected:_418.selected,disabled:_418.disabled}); +},destroy:function(jq){ +return jq.each(function(){ +var opts=$(this).menubutton("options"); +if(opts.menu){ +$(opts.menu).menu("destroy"); +} +$(this).remove(); +}); +}}; +$.fn.menubutton.parseOptions=function(_419){ +var t=$(_419); +return $.extend({},$.fn.linkbutton.parseOptions(_419),$.parser.parseOptions(_419,["menu",{plain:"boolean",duration:"number"}])); +}; +$.fn.menubutton.defaults=$.extend({},$.fn.linkbutton.defaults,{plain:true,menu:null,menuAlign:"left",duration:100,cls:{btn1:"m-btn-active",btn2:"m-btn-plain-active",arrow:"m-btn-downarrow",trigger:"m-btn"}}); +})(jQuery); +(function($){ +function init(_41a){ +var opts=$.data(_41a,"splitbutton").options; +$(_41a).menubutton(opts); +$(_41a).addClass("s-btn"); +}; +$.fn.splitbutton=function(_41b,_41c){ +if(typeof _41b=="string"){ +var _41d=$.fn.splitbutton.methods[_41b]; +if(_41d){ +return _41d(this,_41c); +}else{ +return this.menubutton(_41b,_41c); +} +} +_41b=_41b||{}; +return this.each(function(){ +var _41e=$.data(this,"splitbutton"); +if(_41e){ +$.extend(_41e.options,_41b); +}else{ +$.data(this,"splitbutton",{options:$.extend({},$.fn.splitbutton.defaults,$.fn.splitbutton.parseOptions(this),_41b)}); +$(this).removeAttr("disabled"); +} +init(this); +}); +}; +$.fn.splitbutton.methods={options:function(jq){ +var _41f=jq.menubutton("options"); +var _420=$.data(jq[0],"splitbutton").options; +$.extend(_420,{disabled:_41f.disabled,toggle:_41f.toggle,selected:_41f.selected}); +return _420; +}}; +$.fn.splitbutton.parseOptions=function(_421){ +var t=$(_421); +return $.extend({},$.fn.linkbutton.parseOptions(_421),$.parser.parseOptions(_421,["menu",{plain:"boolean",duration:"number"}])); +}; +$.fn.splitbutton.defaults=$.extend({},$.fn.linkbutton.defaults,{plain:true,menu:null,duration:100,cls:{btn1:"m-btn-active s-btn-active",btn2:"m-btn-plain-active s-btn-plain-active",arrow:"m-btn-downarrow",trigger:"m-btn-line"}}); +})(jQuery); +(function($){ +function init(_422){ +$(_422).addClass("validatebox-text"); +}; +function _423(_424){ +var _425=$.data(_424,"validatebox"); +_425.validating=false; +if(_425.timer){ +clearTimeout(_425.timer); +} +$(_424).tooltip("destroy"); +$(_424).unbind(); +$(_424).remove(); +}; +function _426(_427){ +var opts=$.data(_427,"validatebox").options; +var box=$(_427); +box.unbind(".validatebox"); +if(opts.novalidate||box.is(":disabled")){ +return; +} +for(var _428 in opts.events){ +$(_427).bind(_428+".validatebox",{target:_427},opts.events[_428]); +} +}; +function _429(e){ +var _42a=e.data.target; +var _42b=$.data(_42a,"validatebox"); +var box=$(_42a); +if($(_42a).attr("readonly")){ +return; +} +_42b.validating=true; +_42b.value=undefined; +(function(){ +if(_42b.validating){ +if(_42b.value!=box.val()){ +_42b.value=box.val(); +if(_42b.timer){ +clearTimeout(_42b.timer); +} +_42b.timer=setTimeout(function(){ +$(_42a).validatebox("validate"); +},_42b.options.delay); +}else{ +_42c(_42a); +} +setTimeout(arguments.callee,200); +} +})(); +}; +function _42d(e){ +var _42e=e.data.target; +var _42f=$.data(_42e,"validatebox"); +if(_42f.timer){ +clearTimeout(_42f.timer); +_42f.timer=undefined; +} +_42f.validating=false; +_430(_42e); +}; +function _431(e){ +var _432=e.data.target; +if($(_432).hasClass("validatebox-invalid")){ +_433(_432); +} +}; +function _434(e){ +var _435=e.data.target; +var _436=$.data(_435,"validatebox"); +if(!_436.validating){ +_430(_435); +} +}; +function _433(_437){ +var _438=$.data(_437,"validatebox"); +var opts=_438.options; +$(_437).tooltip($.extend({},opts.tipOptions,{content:_438.message,position:opts.tipPosition,deltaX:opts.deltaX})).tooltip("show"); +_438.tip=true; +}; +function _42c(_439){ +var _43a=$.data(_439,"validatebox"); +if(_43a&&_43a.tip){ +$(_439).tooltip("reposition"); +} +}; +function _430(_43b){ +var _43c=$.data(_43b,"validatebox"); +_43c.tip=false; +$(_43b).tooltip("hide"); +}; +function _43d(_43e){ +var _43f=$.data(_43e,"validatebox"); +var opts=_43f.options; +var box=$(_43e); +opts.onBeforeValidate.call(_43e); +var _440=_441(); +opts.onValidate.call(_43e,_440); +return _440; +function _442(msg){ +_43f.message=msg; +}; +function _443(_444,_445){ +var _446=box.val(); +var _447=/([a-zA-Z_]+)(.*)/.exec(_444); +var rule=opts.rules[_447[1]]; +if(rule&&_446){ +var _448=_445||opts.validParams||eval(_447[2]); +if(!rule["validator"].call(_43e,_446,_448)){ +box.addClass("validatebox-invalid"); +var _449=rule["message"]; +if(_448){ +for(var i=0;i<_448.length;i++){ +_449=_449.replace(new RegExp("\\{"+i+"\\}","g"),_448[i]); +} +} +_442(opts.invalidMessage||_449); +if(_43f.validating){ +_433(_43e); +} +return false; +} +} +return true; +}; +function _441(){ +box.removeClass("validatebox-invalid"); +_430(_43e); +if(opts.novalidate||box.is(":disabled")){ +return true; +} +if(opts.required){ +if(box.val()==""){ +box.addClass("validatebox-invalid"); +_442(opts.missingMessage); +if(_43f.validating){ +_433(_43e); +} +return false; +} +} +if(opts.validType){ +if($.isArray(opts.validType)){ +for(var i=0;i=_456[0]&&len<=_456[1]; +},message:"Please enter a value between {0} and {1}."},remote:{validator:function(_457,_458){ +var data={}; +data[_458[1]]=_457; +var _459=$.ajax({url:_458[0],dataType:"json",data:data,async:false,cache:false,type:"post"}).responseText; +return _459=="true"; +},message:"Please fix this field."}},onBeforeValidate:function(){ +},onValidate:function(_45a){ +}}; +})(jQuery); +(function($){ +function init(_45b){ +$(_45b).addClass("textbox-f").hide(); +var span=$(""+""+""+"").insertAfter(_45b); +var name=$(_45b).attr("name"); +if(name){ +span.find("input.textbox-value").attr("name",name); +$(_45b).removeAttr("name").attr("textboxName",name); +} +return span; +}; +function _45c(_45d){ +var _45e=$.data(_45d,"textbox"); +var opts=_45e.options; +var tb=_45e.textbox; +tb.find(".textbox-text").remove(); +if(opts.multiline){ +$("").prependTo(tb); +}else{ +$("").prependTo(tb); +} +tb.find(".textbox-addon").remove(); +var bb=opts.icons?$.extend(true,[],opts.icons):[]; +if(opts.iconCls){ +bb.push({iconCls:opts.iconCls,disabled:true}); +} +if(bb.length){ +var bc=$("").prependTo(tb); +bc.addClass("textbox-addon-"+opts.iconAlign); +for(var i=0;i"); +} +} +tb.find(".textbox-button").remove(); +if(opts.buttonText||opts.buttonIcon){ +var btn=$("").prependTo(tb); +btn.addClass("textbox-button-"+opts.buttonAlign).linkbutton({text:opts.buttonText,iconCls:opts.buttonIcon}); +} +_45f(_45d,opts.disabled); +_460(_45d,opts.readonly); +}; +function _461(_462){ +var tb=$.data(_462,"textbox").textbox; +tb.find(".textbox-text").validatebox("destroy"); +tb.remove(); +$(_462).remove(); +}; +function _463(_464,_465){ +var _466=$.data(_464,"textbox"); +var opts=_466.options; +var tb=_466.textbox; +var _467=tb.parent(); +if(_465){ +opts.width=_465; +} +if(isNaN(parseInt(opts.width))){ +var c=$(_464).clone(); +c.css("visibility","hidden"); +c.insertAfter(_464); +opts.width=c.outerWidth(); +c.remove(); +} +tb.appendTo("body"); +var _468=tb.find(".textbox-text"); +var btn=tb.find(".textbox-button"); +var _469=tb.find(".textbox-addon"); +var _46a=_469.find(".textbox-icon"); +tb._size(opts,_467); +btn.linkbutton("resize",{height:tb.height()}); +btn.css({left:(opts.buttonAlign=="left"?0:""),right:(opts.buttonAlign=="right"?0:"")}); +_469.css({left:(opts.iconAlign=="left"?(opts.buttonAlign=="left"?btn._outerWidth():0):""),right:(opts.iconAlign=="right"?(opts.buttonAlign=="right"?btn._outerWidth():0):"")}); +_46a.css({width:opts.iconWidth+"px",height:tb.height()+"px"}); +_468.css({paddingLeft:(_464.style.paddingLeft||""),paddingRight:(_464.style.paddingRight||""),marginLeft:_46b("left"),marginRight:_46b("right")}); +if(opts.multiline){ +_468.css({paddingTop:(_464.style.paddingTop||""),paddingBottom:(_464.style.paddingBottom||"")}); +_468._outerHeight(tb.height()); +}else{ +var _46c=Math.floor((tb.height()-_468.height())/2); +_468.css({paddingTop:_46c+"px",paddingBottom:_46c+"px"}); +} +_468._outerWidth(tb.width()-_46a.length*opts.iconWidth-btn._outerWidth()); +tb.insertAfter(_464); +opts.onResize.call(_464,opts.width,opts.height); +function _46b(_46d){ +return (opts.iconAlign==_46d?_469._outerWidth():0)+(opts.buttonAlign==_46d?btn._outerWidth():0); +}; +}; +function _46e(_46f){ +var opts=$(_46f).textbox("options"); +var _470=$(_46f).textbox("textbox"); +_470.validatebox($.extend({},opts,{deltaX:$(_46f).textbox("getTipX"),onBeforeValidate:function(){ +var box=$(this); +if(!box.is(":focus")){ +opts.oldInputValue=box.val(); +box.val(opts.value); +} +},onValidate:function(_471){ +var box=$(this); +if(opts.oldInputValue!=undefined){ +box.val(opts.oldInputValue); +opts.oldInputValue=undefined; +} +var tb=box.parent(); +if(_471){ +tb.removeClass("textbox-invalid"); +}else{ +tb.addClass("textbox-invalid"); +} +}})); +}; +function _472(_473){ +var _474=$.data(_473,"textbox"); +var opts=_474.options; +var tb=_474.textbox; +var _475=tb.find(".textbox-text"); +_475.attr("placeholder",opts.prompt); +_475.unbind(".textbox"); +if(!opts.disabled&&!opts.readonly){ +_475.bind("blur.textbox",function(e){ +if(!tb.hasClass("textbox-focused")){ +return; +} +opts.value=$(this).val(); +if(opts.value==""){ +$(this).val(opts.prompt).addClass("textbox-prompt"); +}else{ +$(this).removeClass("textbox-prompt"); +} +tb.removeClass("textbox-focused"); +}).bind("focus.textbox",function(e){ +if(tb.hasClass("textbox-focused")){ +return; +} +if($(this).val()!=opts.value){ +$(this).val(opts.value); +} +$(this).removeClass("textbox-prompt"); +tb.addClass("textbox-focused"); +}); +for(var _476 in opts.inputEvents){ +_475.bind(_476+".textbox",{target:_473},opts.inputEvents[_476]); +} +} +var _477=tb.find(".textbox-addon"); +_477.unbind().bind("click",{target:_473},function(e){ +var icon=$(e.target).closest("a.textbox-icon:not(.textbox-icon-disabled)"); +if(icon.length){ +var _478=parseInt(icon.attr("icon-index")); +var conf=opts.icons[_478]; +if(conf&&conf.handler){ +conf.handler.call(icon[0],e); +opts.onClickIcon.call(_473,_478); +} +} +}); +_477.find(".textbox-icon").each(function(_479){ +var conf=opts.icons[_479]; +var icon=$(this); +if(!conf||conf.disabled||opts.disabled||opts.readonly){ +icon.addClass("textbox-icon-disabled"); +}else{ +icon.removeClass("textbox-icon-disabled"); +} +}); +var btn=tb.find(".textbox-button"); +btn.unbind(".textbox").bind("click.textbox",function(){ +if(!btn.linkbutton("options").disabled){ +opts.onClickButton.call(_473); +} +}); +btn.linkbutton((opts.disabled||opts.readonly)?"disable":"enable"); +tb.unbind(".textbox").bind("_resize.textbox",function(e,_47a){ +if($(this).hasClass("easyui-fluid")||_47a){ +_463(_473); +} +return false; +}); +}; +function _45f(_47b,_47c){ +var _47d=$.data(_47b,"textbox"); +var opts=_47d.options; +var tb=_47d.textbox; +if(_47c){ +opts.disabled=true; +$(_47b).attr("disabled","disabled"); +tb.find(".textbox-text,.textbox-value").attr("disabled","disabled"); +}else{ +opts.disabled=false; +$(_47b).removeAttr("disabled"); +tb.find(".textbox-text,.textbox-value").removeAttr("disabled"); +} +}; +function _460(_47e,mode){ +var _47f=$.data(_47e,"textbox"); +var opts=_47f.options; +opts.readonly=mode==undefined?true:mode; +var _480=_47f.textbox.find(".textbox-text"); +_480.removeAttr("readonly").removeClass("textbox-text-readonly"); +if(opts.readonly||!opts.editable){ +_480.attr("readonly","readonly").addClass("textbox-text-readonly"); +} +}; +$.fn.textbox=function(_481,_482){ +if(typeof _481=="string"){ +var _483=$.fn.textbox.methods[_481]; +if(_483){ +return _483(this,_482); +}else{ +return this.each(function(){ +var _484=$(this).textbox("textbox"); +_484.validatebox(_481,_482); +}); +} +} +_481=_481||{}; +return this.each(function(){ +var _485=$.data(this,"textbox"); +if(_485){ +$.extend(_485.options,_481); +if(_481.value!=undefined){ +_485.options.originalValue=_481.value; +} +}else{ +_485=$.data(this,"textbox",{options:$.extend({},$.fn.textbox.defaults,$.fn.textbox.parseOptions(this),_481),textbox:init(this)}); +_485.options.originalValue=_485.options.value; +} +_45c(this); +_472(this); +_463(this); +_46e(this); +$(this).textbox("initValue",_485.options.value); +}); +}; +$.fn.textbox.methods={options:function(jq){ +return $.data(jq[0],"textbox").options; +},cloneFrom:function(jq,from){ +return jq.each(function(){ +var t=$(this); +if(t.data("textbox")){ +return; +} +if(!$(from).data("textbox")){ +$(from).textbox(); +} +var name=t.attr("name")||""; +t.addClass("textbox-f").hide(); +t.removeAttr("name").attr("textboxName",name); +var span=$(from).next().clone().insertAfter(t); +span.find("input.textbox-value").attr("name",name); +$.data(this,"textbox",{options:$.extend(true,{},$(from).textbox("options")),textbox:span}); +var _486=$(from).textbox("button"); +if(_486.length){ +t.textbox("button").linkbutton($.extend(true,{},_486.linkbutton("options"))); +} +_472(this); +_46e(this); +}); +},textbox:function(jq){ +return $.data(jq[0],"textbox").textbox.find(".textbox-text"); +},button:function(jq){ +return $.data(jq[0],"textbox").textbox.find(".textbox-button"); +},destroy:function(jq){ +return jq.each(function(){ +_461(this); +}); +},resize:function(jq,_487){ +return jq.each(function(){ +_463(this,_487); +}); +},disable:function(jq){ +return jq.each(function(){ +_45f(this,true); +_472(this); +}); +},enable:function(jq){ +return jq.each(function(){ +_45f(this,false); +_472(this); +}); +},readonly:function(jq,mode){ +return jq.each(function(){ +_460(this,mode); +_472(this); +}); +},isValid:function(jq){ +return jq.textbox("textbox").validatebox("isValid"); +},clear:function(jq){ +return jq.each(function(){ +$(this).textbox("setValue",""); +}); +},setText:function(jq,_488){ +return jq.each(function(){ +var opts=$(this).textbox("options"); +var _489=$(this).textbox("textbox"); +if($(this).textbox("getText")!=_488){ +opts.value=_488; +_489.val(_488); +} +if(!_489.is(":focus")){ +if(_488){ +_489.removeClass("textbox-prompt"); +}else{ +_489.val(opts.prompt).addClass("textbox-prompt"); +} +} +$(this).textbox("validate"); +}); +},initValue:function(jq,_48a){ +return jq.each(function(){ +var _48b=$.data(this,"textbox"); +_48b.options.value=""; +$(this).textbox("setText",_48a); +_48b.textbox.find(".textbox-value").val(_48a); +$(this).val(_48a); +}); +},setValue:function(jq,_48c){ +return jq.each(function(){ +var opts=$.data(this,"textbox").options; +var _48d=$(this).textbox("getValue"); +$(this).textbox("initValue",_48c); +if(_48d!=_48c){ +opts.onChange.call(this,_48c,_48d); +} +}); +},getText:function(jq){ +var _48e=jq.textbox("textbox"); +if(_48e.is(":focus")){ +return _48e.val(); +}else{ +return jq.textbox("options").value; +} +},getValue:function(jq){ +return jq.data("textbox").textbox.find(".textbox-value").val(); +},reset:function(jq){ +return jq.each(function(){ +var opts=$(this).textbox("options"); +$(this).textbox("setValue",opts.originalValue); +}); +},getIcon:function(jq,_48f){ +return jq.data("textbox").textbox.find(".textbox-icon:eq("+_48f+")"); +},getTipX:function(jq){ +var _490=jq.data("textbox"); +var opts=_490.options; +var tb=_490.textbox; +var _491=tb.find(".textbox-text"); +var _492=tb.find(".textbox-addon")._outerWidth(); +var _493=tb.find(".textbox-button")._outerWidth(); +if(opts.tipPosition=="right"){ +return (opts.iconAlign=="right"?_492:0)+(opts.buttonAlign=="right"?_493:0)+1; +}else{ +if(opts.tipPosition=="left"){ +return (opts.iconAlign=="left"?-_492:0)+(opts.buttonAlign=="left"?-_493:0)-1; +}else{ +return _492/2*(opts.iconAlign=="right"?1:-1); +} +} +}}; +$.fn.textbox.parseOptions=function(_494){ +var t=$(_494); +return $.extend({},$.fn.validatebox.parseOptions(_494),$.parser.parseOptions(_494,["prompt","iconCls","iconAlign","buttonText","buttonIcon","buttonAlign",{multiline:"boolean",editable:"boolean",iconWidth:"number"}]),{value:(t.val()||undefined),type:(t.attr("type")?t.attr("type"):undefined),disabled:(t.attr("disabled")?true:undefined),readonly:(t.attr("readonly")?true:undefined)}); +}; +$.fn.textbox.defaults=$.extend({},$.fn.validatebox.defaults,{width:"auto",height:22,prompt:"",value:"",type:"text",multiline:false,editable:true,disabled:false,readonly:false,icons:[],iconCls:null,iconAlign:"right",iconWidth:18,buttonText:"",buttonIcon:null,buttonAlign:"right",inputEvents:{blur:function(e){ +var t=$(e.data.target); +var opts=t.textbox("options"); +t.textbox("setValue",opts.value); +},keydown:function(e){ +if(e.keyCode==13){ +var t=$(e.data.target); +t.textbox("setValue",t.textbox("getText")); +} +}},onChange:function(_495,_496){ +},onResize:function(_497,_498){ +},onClickButton:function(){ +},onClickIcon:function(_499){ +}}); +})(jQuery); +(function($){ +var _49a=0; +function _49b(_49c){ +var _49d=$.data(_49c,"filebox"); +var opts=_49d.options; +var id="filebox_file_id_"+(++_49a); +$(_49c).addClass("filebox-f").textbox($.extend({},opts,{buttonText:opts.buttonText?(""):""})); +$(_49c).textbox("textbox").attr("readonly","readonly"); +_49d.filebox=$(_49c).next().addClass("filebox"); +_49d.filebox.find(".textbox-value").remove(); +opts.oldValue=""; +var file=$("").appendTo(_49d.filebox); +file.attr("id",id).attr("name",$(_49c).attr("textboxName")||""); +file.change(function(){ +$(_49c).filebox("setText",this.value); +opts.onChange.call(_49c,this.value,opts.oldValue); +opts.oldValue=this.value; +}); +var btn=$(_49c).filebox("button"); +if(btn.length){ +if(btn.linkbutton("options").disabled){ +file.attr("disabled","disabled"); +}else{ +file.removeAttr("disabled"); +} +} +}; +$.fn.filebox=function(_49e,_49f){ +if(typeof _49e=="string"){ +var _4a0=$.fn.filebox.methods[_49e]; +if(_4a0){ +return _4a0(this,_49f); +}else{ +return this.textbox(_49e,_49f); +} +} +_49e=_49e||{}; +return this.each(function(){ +var _4a1=$.data(this,"filebox"); +if(_4a1){ +$.extend(_4a1.options,_49e); +}else{ +$.data(this,"filebox",{options:$.extend({},$.fn.filebox.defaults,$.fn.filebox.parseOptions(this),_49e)}); +} +_49b(this); +}); +}; +$.fn.filebox.methods={options:function(jq){ +var opts=jq.textbox("options"); +return $.extend($.data(jq[0],"filebox").options,{width:opts.width,value:opts.value,originalValue:opts.originalValue,disabled:opts.disabled,readonly:opts.readonly}); +}}; +$.fn.filebox.parseOptions=function(_4a2){ +return $.extend({},$.fn.textbox.parseOptions(_4a2),{}); +}; +$.fn.filebox.defaults=$.extend({},$.fn.textbox.defaults,{buttonIcon:null,buttonText:"Choose File",buttonAlign:"right",inputEvents:{}}); +})(jQuery); +(function($){ +function _4a3(_4a4){ +var _4a5=$.data(_4a4,"searchbox"); +var opts=_4a5.options; +var _4a6=$.extend(true,[],opts.icons); +_4a6.push({iconCls:"searchbox-button",handler:function(e){ +var t=$(e.data.target); +var opts=t.searchbox("options"); +opts.searcher.call(e.data.target,t.searchbox("getValue"),t.searchbox("getName")); +}}); +_4a7(); +var _4a8=_4a9(); +$(_4a4).addClass("searchbox-f").textbox($.extend({},opts,{icons:_4a6,buttonText:(_4a8?_4a8.text:"")})); +$(_4a4).attr("searchboxName",$(_4a4).attr("textboxName")); +_4a5.searchbox=$(_4a4).next(); +_4a5.searchbox.addClass("searchbox"); +_4aa(_4a8); +function _4a7(){ +if(opts.menu){ +_4a5.menu=$(opts.menu).menu(); +var _4ab=_4a5.menu.menu("options"); +var _4ac=_4ab.onClick; +_4ab.onClick=function(item){ +_4aa(item); +_4ac.call(this,item); +}; +}else{ +if(_4a5.menu){ +_4a5.menu.menu("destroy"); +} +_4a5.menu=null; +} +}; +function _4a9(){ +if(_4a5.menu){ +var item=_4a5.menu.children("div.menu-item:first"); +_4a5.menu.children("div.menu-item").each(function(){ +var _4ad=$.extend({},$.parser.parseOptions(this),{selected:($(this).attr("selected")?true:undefined)}); +if(_4ad.selected){ +item=$(this); +return false; +} +}); +return _4a5.menu.menu("getItem",item[0]); +}else{ +return null; +} +}; +function _4aa(item){ +if(!item){ +return; +} +$(_4a4).textbox("button").menubutton({text:item.text,iconCls:(item.iconCls||null),menu:_4a5.menu,menuAlign:opts.buttonAlign,plain:false}); +_4a5.searchbox.find("input.textbox-value").attr("name",item.name||item.text); +$(_4a4).searchbox("resize"); +}; +}; +$.fn.searchbox=function(_4ae,_4af){ +if(typeof _4ae=="string"){ +var _4b0=$.fn.searchbox.methods[_4ae]; +if(_4b0){ +return _4b0(this,_4af); +}else{ +return this.textbox(_4ae,_4af); +} +} +_4ae=_4ae||{}; +return this.each(function(){ +var _4b1=$.data(this,"searchbox"); +if(_4b1){ +$.extend(_4b1.options,_4ae); +}else{ +$.data(this,"searchbox",{options:$.extend({},$.fn.searchbox.defaults,$.fn.searchbox.parseOptions(this),_4ae)}); +} +_4a3(this); +}); +}; +$.fn.searchbox.methods={options:function(jq){ +var opts=jq.textbox("options"); +return $.extend($.data(jq[0],"searchbox").options,{width:opts.width,value:opts.value,originalValue:opts.originalValue,disabled:opts.disabled,readonly:opts.readonly}); +},menu:function(jq){ +return $.data(jq[0],"searchbox").menu; +},getName:function(jq){ +return $.data(jq[0],"searchbox").searchbox.find("input.textbox-value").attr("name"); +},selectName:function(jq,name){ +return jq.each(function(){ +var menu=$.data(this,"searchbox").menu; +if(menu){ +menu.children("div.menu-item").each(function(){ +var item=menu.menu("getItem",this); +if(item.name==name){ +$(this).triggerHandler("click"); +return false; +} +}); +} +}); +},destroy:function(jq){ +return jq.each(function(){ +var menu=$(this).searchbox("menu"); +if(menu){ +menu.menu("destroy"); +} +$(this).textbox("destroy"); +}); +}}; +$.fn.searchbox.parseOptions=function(_4b2){ +var t=$(_4b2); +return $.extend({},$.fn.textbox.parseOptions(_4b2),$.parser.parseOptions(_4b2,["menu"]),{searcher:(t.attr("searcher")?eval(t.attr("searcher")):undefined)}); +}; +$.fn.searchbox.defaults=$.extend({},$.fn.textbox.defaults,{inputEvents:$.extend({},$.fn.textbox.defaults.inputEvents,{keydown:function(e){ +if(e.keyCode==13){ +e.preventDefault(); +var t=$(e.data.target); +var opts=t.searchbox("options"); +t.searchbox("setValue",$(this).val()); +opts.searcher.call(e.data.target,t.searchbox("getValue"),t.searchbox("getName")); +return false; +} +}}),buttonAlign:"left",menu:null,searcher:function(_4b3,name){ +}}); +})(jQuery); +(function($){ +function _4b4(_4b5,_4b6){ +var opts=$.data(_4b5,"form").options; +$.extend(opts,_4b6||{}); +var _4b7=$.extend({},opts.queryParams); +if(opts.onSubmit.call(_4b5,_4b7)==false){ +return; +} +$(_4b5).find(".textbox-text:focus").blur(); +var _4b8="easyui_frame_"+(new Date().getTime()); +var _4b9=$("").appendTo("body"); +_4b9.attr("src",window.ActiveXObject?"javascript:false":"about:blank"); +_4b9.css({position:"absolute",top:-1000,left:-1000}); +_4b9.bind("load",cb); +_4ba(_4b7); +function _4ba(_4bb){ +var form=$(_4b5); +if(opts.url){ +form.attr("action",opts.url); +} +var t=form.attr("target"),a=form.attr("action"); +form.attr("target",_4b8); +var _4bc=$(); +try{ +for(var n in _4bb){ +var _4bd=$("").val(_4bb[n]).appendTo(form); +_4bc=_4bc.add(_4bd); +} +_4be(); +form[0].submit(); +} +finally{ +form.attr("action",a); +t?form.attr("target",t):form.removeAttr("target"); +_4bc.remove(); +} +}; +function _4be(){ +var f=$("#"+_4b8); +if(!f.length){ +return; +} +try{ +var s=f.contents()[0].readyState; +if(s&&s.toLowerCase()=="uninitialized"){ +setTimeout(_4be,100); +} +} +catch(e){ +cb(); +} +}; +var _4bf=10; +function cb(){ +var f=$("#"+_4b8); +if(!f.length){ +return; +} +f.unbind(); +var data=""; +try{ +var body=f.contents().find("body"); +data=body.html(); +if(data==""){ +if(--_4bf){ +setTimeout(cb,100); +return; +} +} +var ta=body.find(">textarea"); +if(ta.length){ +data=ta.val(); +}else{ +var pre=body.find(">pre"); +if(pre.length){ +data=pre.html(); +} +} +} +catch(e){ +} +opts.success(data); +setTimeout(function(){ +f.unbind(); +f.remove(); +},100); +}; +}; +function load(_4c0,data){ +var opts=$.data(_4c0,"form").options; +if(typeof data=="string"){ +var _4c1={}; +if(opts.onBeforeLoad.call(_4c0,_4c1)==false){ +return; +} +$.ajax({url:data,data:_4c1,dataType:"json",success:function(data){ +_4c2(data); +},error:function(){ +opts.onLoadError.apply(_4c0,arguments); +}}); +}else{ +_4c2(data); +} +function _4c2(data){ +var form=$(_4c0); +for(var name in data){ +var val=data[name]; +var rr=_4c3(name,val); +if(!rr.length){ +var _4c4=_4c5(name,val); +if(!_4c4){ +$("input[name=\""+name+"\"]",form).val(val); +$("textarea[name=\""+name+"\"]",form).val(val); +$("select[name=\""+name+"\"]",form).val(val); +} +} +_4c6(name,val); +} +opts.onLoadSuccess.call(_4c0,data); +_4cd(_4c0); +}; +function _4c3(name,val){ +var rr=$(_4c0).find("input[name=\""+name+"\"][type=radio], input[name=\""+name+"\"][type=checkbox]"); +rr._propAttr("checked",false); +rr.each(function(){ +var f=$(this); +if(f.val()==String(val)||$.inArray(f.val(),$.isArray(val)?val:[val])>=0){ +f._propAttr("checked",true); +} +}); +return rr; +}; +function _4c5(name,val){ +var _4c7=0; +var pp=["textbox","numberbox","slider"]; +for(var i=0;i=48&&e.which<=57&&e.ctrlKey==false&&e.shiftKey==false)||e.which==0||e.which==8){ +return true; +}else{ +if(e.ctrlKey==true&&(e.which==99||e.which==118)){ +return true; +}else{ +return false; +} +} +} +} +},formatter:function(_4f6){ +if(!_4f6){ +return _4f6; +} +_4f6=_4f6+""; +var opts=$(this).numberbox("options"); +var s1=_4f6,s2=""; +var dpos=_4f6.indexOf("."); +if(dpos>=0){ +s1=_4f6.substring(0,dpos); +s2=_4f6.substring(dpos+1,_4f6.length); +} +if(opts.groupSeparator){ +var p=/(\d+)(\d{3})/; +while(p.test(s1)){ +s1=s1.replace(p,"$1"+opts.groupSeparator+"$2"); +} +} +if(s2){ +return opts.prefix+s1+opts.decimalSeparator+s2+opts.suffix; +}else{ +return opts.prefix+s1+opts.suffix; +} +},parser:function(s){ +s=s+""; +var opts=$(this).numberbox("options"); +if(parseFloat(s)!=s){ +if(opts.prefix){ +s=$.trim(s.replace(new RegExp("\\"+$.trim(opts.prefix),"g"),"")); +} +if(opts.suffix){ +s=$.trim(s.replace(new RegExp("\\"+$.trim(opts.suffix),"g"),"")); +} +if(opts.groupSeparator){ +s=$.trim(s.replace(new RegExp("\\"+opts.groupSeparator,"g"),"")); +} +if(opts.decimalSeparator){ +s=$.trim(s.replace(new RegExp("\\"+opts.decimalSeparator,"g"),".")); +} +s=s.replace(/\s/g,""); +} +var val=parseFloat(s).toFixed(opts.precision); +if(isNaN(val)){ +val=""; +}else{ +if(typeof (opts.min)=="number"&&valopts.max){ +val=opts.max.toFixed(opts.precision); +} +} +} +return val; +}}); +})(jQuery); +(function($){ +function _4f7(_4f8,_4f9){ +var opts=$.data(_4f8,"calendar").options; +var t=$(_4f8); +if(_4f9){ +$.extend(opts,{width:_4f9.width,height:_4f9.height}); +} +t._size(opts,t.parent()); +t.find(".calendar-body")._outerHeight(t.height()-t.find(".calendar-header")._outerHeight()); +if(t.find(".calendar-menu").is(":visible")){ +_4fa(_4f8); +} +}; +function init(_4fb){ +$(_4fb).addClass("calendar").html("
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+""+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+""+""+""+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "); +$(_4fb).bind("_resize",function(e,_4fc){ +if($(this).hasClass("easyui-fluid")||_4fc){ +_4f7(_4fb); +} +return false; +}); +}; +function _4fd(_4fe){ +var opts=$.data(_4fe,"calendar").options; +var menu=$(_4fe).find(".calendar-menu"); +menu.find(".calendar-menu-year").unbind(".calendar").bind("keypress.calendar",function(e){ +if(e.keyCode==13){ +_4ff(true); +} +}); +$(_4fe).unbind(".calendar").bind("mouseover.calendar",function(e){ +var t=_500(e.target); +if(t.hasClass("calendar-nav")||t.hasClass("calendar-text")||(t.hasClass("calendar-day")&&!t.hasClass("calendar-disabled"))){ +t.addClass("calendar-nav-hover"); +} +}).bind("mouseout.calendar",function(e){ +var t=_500(e.target); +if(t.hasClass("calendar-nav")||t.hasClass("calendar-text")||(t.hasClass("calendar-day")&&!t.hasClass("calendar-disabled"))){ +t.removeClass("calendar-nav-hover"); +} +}).bind("click.calendar",function(e){ +var t=_500(e.target); +if(t.hasClass("calendar-menu-next")||t.hasClass("calendar-nextyear")){ +_501(1); +}else{ +if(t.hasClass("calendar-menu-prev")||t.hasClass("calendar-prevyear")){ +_501(-1); +}else{ +if(t.hasClass("calendar-menu-month")){ +menu.find(".calendar-selected").removeClass("calendar-selected"); +t.addClass("calendar-selected"); +_4ff(true); +}else{ +if(t.hasClass("calendar-prevmonth")){ +_502(-1); +}else{ +if(t.hasClass("calendar-nextmonth")){ +_502(1); +}else{ +if(t.hasClass("calendar-text")){ +if(menu.is(":visible")){ +menu.hide(); +}else{ +_4fa(_4fe); +} +}else{ +if(t.hasClass("calendar-day")){ +if(t.hasClass("calendar-disabled")){ +return; +} +var _503=opts.current; +t.closest("div.calendar-body").find(".calendar-selected").removeClass("calendar-selected"); +t.addClass("calendar-selected"); +var _504=t.attr("abbr").split(","); +var y=parseInt(_504[0]); +var m=parseInt(_504[1]); +var d=parseInt(_504[2]); +opts.current=new Date(y,m-1,d); +opts.onSelect.call(_4fe,opts.current); +if(!_503||_503.getTime()!=opts.current.getTime()){ +opts.onChange.call(_4fe,opts.current,_503); +} +if(opts.year!=y||opts.month!=m){ +opts.year=y; +opts.month=m; +show(_4fe); +} +} +} +} +} +} +} +} +}); +function _500(t){ +var day=$(t).closest(".calendar-day"); +if(day.length){ +return day; +}else{ +return $(t); +} +}; +function _4ff(_505){ +var menu=$(_4fe).find(".calendar-menu"); +var year=menu.find(".calendar-menu-year").val(); +var _506=menu.find(".calendar-selected").attr("abbr"); +if(!isNaN(year)){ +opts.year=parseInt(year); +opts.month=parseInt(_506); +show(_4fe); +} +if(_505){ +menu.hide(); +} +}; +function _501(_507){ +opts.year+=_507; +show(_4fe); +menu.find(".calendar-menu-year").val(opts.year); +}; +function _502(_508){ +opts.month+=_508; +if(opts.month>12){ +opts.year++; +opts.month=1; +}else{ +if(opts.month<1){ +opts.year--; +opts.month=12; +} +} +show(_4fe); +menu.find("td.calendar-selected").removeClass("calendar-selected"); +menu.find("td:eq("+(opts.month-1)+")").addClass("calendar-selected"); +}; +}; +function _4fa(_509){ +var opts=$.data(_509,"calendar").options; +$(_509).find(".calendar-menu").show(); +if($(_509).find(".calendar-menu-month-inner").is(":empty")){ +$(_509).find(".calendar-menu-month-inner").empty(); +var t=$("
                                      ").appendTo($(_509).find(".calendar-menu-month-inner")); +var idx=0; +for(var i=0;i<3;i++){ +var tr=$("").appendTo(t); +for(var j=0;j<4;j++){ +$("").html(opts.months[idx++]).attr("abbr",idx).appendTo(tr); +} +} +} +var body=$(_509).find(".calendar-body"); +var sele=$(_509).find(".calendar-menu"); +var _50a=sele.find(".calendar-menu-year-inner"); +var _50b=sele.find(".calendar-menu-month-inner"); +_50a.find("input").val(opts.year).focus(); +_50b.find("td.calendar-selected").removeClass("calendar-selected"); +_50b.find("td:eq("+(opts.month-1)+")").addClass("calendar-selected"); +sele._outerWidth(body._outerWidth()); +sele._outerHeight(body._outerHeight()); +_50b._outerHeight(sele.height()-_50a._outerHeight()); +}; +function _50c(_50d,year,_50e){ +var opts=$.data(_50d,"calendar").options; +var _50f=[]; +var _510=new Date(year,_50e,0).getDate(); +for(var i=1;i<=_510;i++){ +_50f.push([year,_50e,i]); +} +var _511=[],week=[]; +var _512=-1; +while(_50f.length>0){ +var date=_50f.shift(); +week.push(date); +var day=new Date(date[0],date[1]-1,date[2]).getDay(); +if(_512==day){ +day=0; +}else{ +if(day==(opts.firstDay==0?7:opts.firstDay)-1){ +_511.push(week); +week=[]; +} +} +_512=day; +} +if(week.length){ +_511.push(week); +} +var _513=_511[0]; +if(_513.length<7){ +while(_513.length<7){ +var _514=_513[0]; +var date=new Date(_514[0],_514[1]-1,_514[2]-1); +_513.unshift([date.getFullYear(),date.getMonth()+1,date.getDate()]); +} +}else{ +var _514=_513[0]; +var week=[]; +for(var i=1;i<=7;i++){ +var date=new Date(_514[0],_514[1]-1,_514[2]-i); +week.unshift([date.getFullYear(),date.getMonth()+1,date.getDate()]); +} +_511.unshift(week); +} +var _515=_511[_511.length-1]; +while(_515.length<7){ +var _516=_515[_515.length-1]; +var date=new Date(_516[0],_516[1]-1,_516[2]+1); +_515.push([date.getFullYear(),date.getMonth()+1,date.getDate()]); +} +if(_511.length<6){ +var _516=_515[_515.length-1]; +var week=[]; +for(var i=1;i<=7;i++){ +var date=new Date(_516[0],_516[1]-1,_516[2]+i); +week.push([date.getFullYear(),date.getMonth()+1,date.getDate()]); +} +_511.push(week); +} +return _511; +}; +function show(_517){ +var opts=$.data(_517,"calendar").options; +if(opts.current&&!opts.validator.call(_517,opts.current)){ +opts.current=null; +} +var now=new Date(); +var _518=now.getFullYear()+","+(now.getMonth()+1)+","+now.getDate(); +var _519=opts.current?(opts.current.getFullYear()+","+(opts.current.getMonth()+1)+","+opts.current.getDate()):""; +var _51a=6-opts.firstDay; +var _51b=_51a+1; +if(_51a>=7){ +_51a-=7; +} +if(_51b>=7){ +_51b-=7; +} +$(_517).find(".calendar-title span").html(opts.months[opts.month-1]+" "+opts.year); +var body=$(_517).find("div.calendar-body"); +body.children("table").remove(); +var data=[""]; +data.push(""); +for(var i=opts.firstDay;i"+opts.weeks[i]+""); +} +for(var i=0;i"+opts.weeks[i]+""); +} +data.push(""); +data.push(""); +var _51c=_50c(_517,opts.year,opts.month); +for(var i=0;i<_51c.length;i++){ +var week=_51c[i]; +var cls=""; +if(i==0){ +cls="calendar-first"; +}else{ +if(i==_51c.length-1){ +cls="calendar-last"; +} +} +data.push(""); +for(var j=0;j"+d+""); +} +data.push(""); +} +data.push(""); +data.push("
                                      "); +body.append(data.join("")); +body.children("table.calendar-dtable").prependTo(body); +opts.onNavigate.call(_517,opts.year,opts.month); +}; +$.fn.calendar=function(_520,_521){ +if(typeof _520=="string"){ +return $.fn.calendar.methods[_520](this,_521); +} +_520=_520||{}; +return this.each(function(){ +var _522=$.data(this,"calendar"); +if(_522){ +$.extend(_522.options,_520); +}else{ +_522=$.data(this,"calendar",{options:$.extend({},$.fn.calendar.defaults,$.fn.calendar.parseOptions(this),_520)}); +init(this); +} +if(_522.options.border==false){ +$(this).addClass("calendar-noborder"); +} +_4f7(this); +_4fd(this); +show(this); +$(this).find("div.calendar-menu").hide(); +}); +}; +$.fn.calendar.methods={options:function(jq){ +return $.data(jq[0],"calendar").options; +},resize:function(jq,_523){ +return jq.each(function(){ +_4f7(this,_523); +}); +},moveTo:function(jq,date){ +return jq.each(function(){ +var opts=$(this).calendar("options"); +if(opts.validator.call(this,date)){ +var _524=opts.current; +$(this).calendar({year:date.getFullYear(),month:date.getMonth()+1,current:date}); +if(!_524||_524.getTime()!=date.getTime()){ +opts.onChange.call(this,opts.current,_524); +} +} +}); +}}; +$.fn.calendar.parseOptions=function(_525){ +var t=$(_525); +return $.extend({},$.parser.parseOptions(_525,[{firstDay:"number",fit:"boolean",border:"boolean"}])); +}; +$.fn.calendar.defaults={width:180,height:180,fit:false,border:true,firstDay:0,weeks:["S","M","T","W","T","F","S"],months:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],year:new Date().getFullYear(),month:new Date().getMonth()+1,current:(function(){ +var d=new Date(); +return new Date(d.getFullYear(),d.getMonth(),d.getDate()); +})(),formatter:function(date){ +return date.getDate(); +},styler:function(date){ +return ""; +},validator:function(date){ +return true; +},onSelect:function(date){ +},onChange:function(_526,_527){ +},onNavigate:function(year,_528){ +}}; +})(jQuery); +(function($){ +function _529(_52a){ +var _52b=$.data(_52a,"spinner"); +var opts=_52b.options; +var _52c=$.extend(true,[],opts.icons); +_52c.push({iconCls:"spinner-arrow",handler:function(e){ +_52d(e); +}}); +$(_52a).addClass("spinner-f").textbox($.extend({},opts,{icons:_52c})); +var _52e=$(_52a).textbox("getIcon",_52c.length-1); +_52e.append(""); +_52e.append(""); +$(_52a).attr("spinnerName",$(_52a).attr("textboxName")); +_52b.spinner=$(_52a).next(); +_52b.spinner.addClass("spinner"); +}; +function _52d(e){ +var _52f=e.data.target; +var opts=$(_52f).spinner("options"); +var up=$(e.target).closest("a.spinner-arrow-up"); +if(up.length){ +opts.spin.call(_52f,false); +opts.onSpinUp.call(_52f); +$(_52f).spinner("validate"); +} +var down=$(e.target).closest("a.spinner-arrow-down"); +if(down.length){ +opts.spin.call(_52f,true); +opts.onSpinDown.call(_52f); +$(_52f).spinner("validate"); +} +}; +$.fn.spinner=function(_530,_531){ +if(typeof _530=="string"){ +var _532=$.fn.spinner.methods[_530]; +if(_532){ +return _532(this,_531); +}else{ +return this.textbox(_530,_531); +} +} +_530=_530||{}; +return this.each(function(){ +var _533=$.data(this,"spinner"); +if(_533){ +$.extend(_533.options,_530); +}else{ +_533=$.data(this,"spinner",{options:$.extend({},$.fn.spinner.defaults,$.fn.spinner.parseOptions(this),_530)}); +} +_529(this); +}); +}; +$.fn.spinner.methods={options:function(jq){ +var opts=jq.textbox("options"); +return $.extend($.data(jq[0],"spinner").options,{width:opts.width,value:opts.value,originalValue:opts.originalValue,disabled:opts.disabled,readonly:opts.readonly}); +}}; +$.fn.spinner.parseOptions=function(_534){ +return $.extend({},$.fn.textbox.parseOptions(_534),$.parser.parseOptions(_534,["min","max",{increment:"number"}])); +}; +$.fn.spinner.defaults=$.extend({},$.fn.textbox.defaults,{min:null,max:null,increment:1,spin:function(down){ +},onSpinUp:function(){ +},onSpinDown:function(){ +}}); +})(jQuery); +(function($){ +function _535(_536){ +$(_536).addClass("numberspinner-f"); +var opts=$.data(_536,"numberspinner").options; +$(_536).numberbox(opts).spinner(opts); +$(_536).numberbox("setValue",opts.value); +}; +function _537(_538,down){ +var opts=$.data(_538,"numberspinner").options; +var v=parseFloat($(_538).numberbox("getValue")||opts.value)||0; +if(down){ +v-=opts.increment; +}else{ +v+=opts.increment; +} +$(_538).numberbox("setValue",v); +}; +$.fn.numberspinner=function(_539,_53a){ +if(typeof _539=="string"){ +var _53b=$.fn.numberspinner.methods[_539]; +if(_53b){ +return _53b(this,_53a); +}else{ +return this.numberbox(_539,_53a); +} +} +_539=_539||{}; +return this.each(function(){ +var _53c=$.data(this,"numberspinner"); +if(_53c){ +$.extend(_53c.options,_539); +}else{ +$.data(this,"numberspinner",{options:$.extend({},$.fn.numberspinner.defaults,$.fn.numberspinner.parseOptions(this),_539)}); +} +_535(this); +}); +}; +$.fn.numberspinner.methods={options:function(jq){ +var opts=jq.numberbox("options"); +return $.extend($.data(jq[0],"numberspinner").options,{width:opts.width,value:opts.value,originalValue:opts.originalValue,disabled:opts.disabled,readonly:opts.readonly}); +}}; +$.fn.numberspinner.parseOptions=function(_53d){ +return $.extend({},$.fn.spinner.parseOptions(_53d),$.fn.numberbox.parseOptions(_53d),{}); +}; +$.fn.numberspinner.defaults=$.extend({},$.fn.spinner.defaults,$.fn.numberbox.defaults,{spin:function(down){ +_537(this,down); +}}); +})(jQuery); +(function($){ +function _53e(_53f){ +var _540=0; +if(_53f.selectionStart){ +_540=_53f.selectionStart; +}else{ +if(_53f.createTextRange){ +var _541=_53f.createTextRange(); +var s=document.selection.createRange(); +s.setEndPoint("StartToStart",_541); +_540=s.text.length; +} +} +return _540; +}; +function _542(_543,_544,end){ +if(_543.selectionStart){ +_543.setSelectionRange(_544,end); +}else{ +if(_543.createTextRange){ +var _545=_543.createTextRange(); +_545.collapse(); +_545.moveEnd("character",end); +_545.moveStart("character",_544); +_545.select(); +} +} +}; +function _546(_547){ +var opts=$.data(_547,"timespinner").options; +$(_547).addClass("timespinner-f").spinner(opts); +var _548=opts.formatter.call(_547,opts.parser.call(_547,opts.value)); +$(_547).timespinner("initValue",_548); +}; +function _549(e){ +var _54a=e.data.target; +var opts=$.data(_54a,"timespinner").options; +var _54b=_53e(this); +for(var i=0;i=_54c[0]&&_54b<=_54c[1]){ +_54d(_54a,i); +return; +} +} +}; +function _54d(_54e,_54f){ +var opts=$.data(_54e,"timespinner").options; +if(_54f!=undefined){ +opts.highlight=_54f; +} +var _550=opts.selections[opts.highlight]; +if(_550){ +var tb=$(_54e).timespinner("textbox"); +_542(tb[0],_550[0],_550[1]); +tb.focus(); +} +}; +function _551(_552,_553){ +var opts=$.data(_552,"timespinner").options; +var _553=opts.parser.call(_552,_553); +var text=opts.formatter.call(_552,_553); +$(_552).spinner("setValue",text); +}; +function _554(_555,down){ +var opts=$.data(_555,"timespinner").options; +var s=$(_555).timespinner("getValue"); +var _556=opts.selections[opts.highlight]; +var s1=s.substring(0,_556[0]); +var s2=s.substring(_556[0],_556[1]); +var s3=s.substring(_556[1]); +var v=s1+((parseInt(s2)||0)+opts.increment*(down?-1:1))+s3; +$(_555).timespinner("setValue",v); +_54d(_555); +}; +$.fn.timespinner=function(_557,_558){ +if(typeof _557=="string"){ +var _559=$.fn.timespinner.methods[_557]; +if(_559){ +return _559(this,_558); +}else{ +return this.spinner(_557,_558); +} +} +_557=_557||{}; +return this.each(function(){ +var _55a=$.data(this,"timespinner"); +if(_55a){ +$.extend(_55a.options,_557); +}else{ +$.data(this,"timespinner",{options:$.extend({},$.fn.timespinner.defaults,$.fn.timespinner.parseOptions(this),_557)}); +} +_546(this); +}); +}; +$.fn.timespinner.methods={options:function(jq){ +var opts=jq.data("spinner")?jq.spinner("options"):{}; +return $.extend($.data(jq[0],"timespinner").options,{width:opts.width,value:opts.value,originalValue:opts.originalValue,disabled:opts.disabled,readonly:opts.readonly}); +},setValue:function(jq,_55b){ +return jq.each(function(){ +_551(this,_55b); +}); +},getHours:function(jq){ +var opts=$.data(jq[0],"timespinner").options; +var vv=jq.timespinner("getValue").split(opts.separator); +return parseInt(vv[0],10); +},getMinutes:function(jq){ +var opts=$.data(jq[0],"timespinner").options; +var vv=jq.timespinner("getValue").split(opts.separator); +return parseInt(vv[1],10); +},getSeconds:function(jq){ +var opts=$.data(jq[0],"timespinner").options; +var vv=jq.timespinner("getValue").split(opts.separator); +return parseInt(vv[2],10)||0; +}}; +$.fn.timespinner.parseOptions=function(_55c){ +return $.extend({},$.fn.spinner.parseOptions(_55c),$.parser.parseOptions(_55c,["separator",{showSeconds:"boolean",highlight:"number"}])); +}; +$.fn.timespinner.defaults=$.extend({},$.fn.spinner.defaults,{inputEvents:$.extend({},$.fn.spinner.defaults.inputEvents,{click:function(e){ +_549.call(this,e); +},blur:function(e){ +var t=$(e.data.target); +t.timespinner("setValue",t.timespinner("getText")); +},keydown:function(e){ +if(e.keyCode==13){ +var t=$(e.data.target); +t.timespinner("setValue",t.timespinner("getText")); +} +}}),formatter:function(date){ +if(!date){ +return ""; +} +var opts=$(this).timespinner("options"); +var tt=[_55d(date.getHours()),_55d(date.getMinutes())]; +if(opts.showSeconds){ +tt.push(_55d(date.getSeconds())); +} +return tt.join(opts.separator); +function _55d(_55e){ +return (_55e<10?"0":"")+_55e; +}; +},parser:function(s){ +var opts=$(this).timespinner("options"); +var date=_55f(s); +if(date){ +var min=_55f(opts.min); +var max=_55f(opts.max); +if(min&&min>date){ +date=min; +} +if(max&&max"]; +for(var i=0;i<_573.length;i++){ +_572.cache[_573[i][0]]={width:_573[i][1]}; +} +var _574=0; +for(var s in _572.cache){ +var item=_572.cache[s]; +item.index=_574++; +ss.push(s+"{width:"+item.width+"}"); +} +ss.push(""); +$(ss.join("\n")).appendTo(cc); +cc.children("style[easyui]:not(:last)").remove(); +},getRule:function(_575){ +var _576=cc.children("style[easyui]:last")[0]; +var _577=_576.styleSheet?_576.styleSheet:(_576.sheet||document.styleSheets[document.styleSheets.length-1]); +var _578=_577.cssRules||_577.rules; +return _578[_575]; +},set:function(_579,_57a){ +var item=_572.cache[_579]; +if(item){ +item.width=_57a; +var rule=this.getRule(item.index); +if(rule){ +rule.style["width"]=_57a; +} +} +},remove:function(_57b){ +var tmp=[]; +for(var s in _572.cache){ +if(s.indexOf(_57b)==-1){ +tmp.push([s,_572.cache[s].width]); +} +} +_572.cache={}; +this.add(tmp); +},dirty:function(_57c){ +if(_57c){ +_572.dirty.push(_57c); +} +},clean:function(){ +for(var i=0;i<_572.dirty.length;i++){ +this.remove(_572.dirty[i]); +} +_572.dirty=[]; +}}; +}; +function _57d(_57e,_57f){ +var _580=$.data(_57e,"datagrid"); +var opts=_580.options; +var _581=_580.panel; +if(_57f){ +$.extend(opts,_57f); +} +if(opts.fit==true){ +var p=_581.panel("panel").parent(); +opts.width=p.width(); +opts.height=p.height(); +} +_581.panel("resize",opts); +}; +function _582(_583){ +var _584=$.data(_583,"datagrid"); +var opts=_584.options; +var dc=_584.dc; +var wrap=_584.panel; +var _585=wrap.width(); +var _586=wrap.height(); +var view=dc.view; +var _587=dc.view1; +var _588=dc.view2; +var _589=_587.children("div.datagrid-header"); +var _58a=_588.children("div.datagrid-header"); +var _58b=_589.find("table"); +var _58c=_58a.find("table"); +view.width(_585); +var _58d=_589.children("div.datagrid-header-inner").show(); +_587.width(_58d.find("table").width()); +if(!opts.showHeader){ +_58d.hide(); +} +_588.width(_585-_587._outerWidth()); +_587.children("div.datagrid-header,div.datagrid-body,div.datagrid-footer").width(_587.width()); +_588.children("div.datagrid-header,div.datagrid-body,div.datagrid-footer").width(_588.width()); +var hh; +_589.add(_58a).css("height",""); +_58b.add(_58c).css("height",""); +hh=Math.max(_58b.height(),_58c.height()); +_58b.add(_58c).height(hh); +_589.add(_58a)._outerHeight(hh); +dc.body1.add(dc.body2).children("table.datagrid-btable-frozen").css({position:"absolute",top:dc.header2._outerHeight()}); +var _58e=dc.body2.children("table.datagrid-btable-frozen")._outerHeight(); +var _58f=_58e+_588.children("div.datagrid-header")._outerHeight()+_588.children("div.datagrid-footer")._outerHeight()+wrap.children("div.datagrid-toolbar")._outerHeight(); +wrap.children("div.datagrid-pager").each(function(){ +_58f+=$(this)._outerHeight(); +}); +var _590=wrap.outerHeight()-wrap.height(); +var _591=wrap._size("minHeight")||""; +var _592=wrap._size("maxHeight")||""; +_587.add(_588).children("div.datagrid-body").css({marginTop:_58e,height:(isNaN(parseInt(opts.height))?"":(_586-_58f)),minHeight:(_591?_591-_590-_58f:""),maxHeight:(_592?_592-_590-_58f:"")}); +view.height(_588.height()); +}; +function _593(_594,_595,_596){ +var rows=$.data(_594,"datagrid").data.rows; +var opts=$.data(_594,"datagrid").options; +var dc=$.data(_594,"datagrid").dc; +if(!dc.body1.is(":empty")&&(!opts.nowrap||opts.autoRowHeight||_596)){ +if(_595!=undefined){ +var tr1=opts.finder.getTr(_594,_595,"body",1); +var tr2=opts.finder.getTr(_594,_595,"body",2); +_597(tr1,tr2); +}else{ +var tr1=opts.finder.getTr(_594,0,"allbody",1); +var tr2=opts.finder.getTr(_594,0,"allbody",2); +_597(tr1,tr2); +if(opts.showFooter){ +var tr1=opts.finder.getTr(_594,0,"allfooter",1); +var tr2=opts.finder.getTr(_594,0,"allfooter",2); +_597(tr1,tr2); +} +} +} +_582(_594); +if(opts.height=="auto"){ +var _598=dc.body1.parent(); +var _599=dc.body2; +var _59a=_59b(_599); +var _59c=_59a.height; +if(_59a.width>_599.width()){ +_59c+=18; +} +_59c-=parseInt(_599.css("marginTop"))||0; +_598.height(_59c); +_599.height(_59c); +dc.view.height(dc.view2.height()); +} +dc.body2.triggerHandler("scroll"); +function _597(trs1,trs2){ +for(var i=0;i"); +} +_5a4(true); +_5a4(false); +_582(_5a1); +function _5a4(_5a5){ +var _5a6=_5a5?1:2; +var tr=opts.finder.getTr(_5a1,_5a2,"body",_5a6); +(_5a5?dc.body1:dc.body2).children("table.datagrid-btable-frozen").append(tr); +}; +}; +function _5a7(_5a8,_5a9){ +function _5aa(){ +var _5ab=[]; +var _5ac=[]; +$(_5a8).children("thead").each(function(){ +var opt=$.parser.parseOptions(this,[{frozen:"boolean"}]); +$(this).find("tr").each(function(){ +var cols=[]; +$(this).find("th").each(function(){ +var th=$(this); +var col=$.extend({},$.parser.parseOptions(this,["field","align","halign","order","width",{sortable:"boolean",checkbox:"boolean",resizable:"boolean",fixed:"boolean"},{rowspan:"number",colspan:"number"}]),{title:(th.html()||undefined),hidden:(th.attr("hidden")?true:undefined),formatter:(th.attr("formatter")?eval(th.attr("formatter")):undefined),styler:(th.attr("styler")?eval(th.attr("styler")):undefined),sorter:(th.attr("sorter")?eval(th.attr("sorter")):undefined)}); +if(col.width&&String(col.width).indexOf("%")==-1){ +col.width=parseInt(col.width); +} +if(th.attr("editor")){ +var s=$.trim(th.attr("editor")); +if(s.substr(0,1)=="{"){ +col.editor=eval("("+s+")"); +}else{ +col.editor=s; +} +} +cols.push(col); +}); +opt.frozen?_5ab.push(cols):_5ac.push(cols); +}); +}); +return [_5ab,_5ac]; +}; +var _5ad=$("
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+""+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+""+"
                                      "+"
                                      "+"
                                      "+"
                                      ").insertAfter(_5a8); +_5ad.panel({doSize:false,cls:"datagrid"}); +$(_5a8).addClass("datagrid-f").hide().appendTo(_5ad.children("div.datagrid-view")); +var cc=_5aa(); +var view=_5ad.children("div.datagrid-view"); +var _5ae=view.children("div.datagrid-view1"); +var _5af=view.children("div.datagrid-view2"); +return {panel:_5ad,frozenColumns:cc[0],columns:cc[1],dc:{view:view,view1:_5ae,view2:_5af,header1:_5ae.children("div.datagrid-header").children("div.datagrid-header-inner"),header2:_5af.children("div.datagrid-header").children("div.datagrid-header-inner"),body1:_5ae.children("div.datagrid-body").children("div.datagrid-body-inner"),body2:_5af.children("div.datagrid-body"),footer1:_5ae.children("div.datagrid-footer").children("div.datagrid-footer-inner"),footer2:_5af.children("div.datagrid-footer").children("div.datagrid-footer-inner")}}; +}; +function _5b0(_5b1){ +var _5b2=$.data(_5b1,"datagrid"); +var opts=_5b2.options; +var dc=_5b2.dc; +var _5b3=_5b2.panel; +_5b2.ss=$(_5b1).datagrid("createStyleSheet"); +_5b3.panel($.extend({},opts,{id:null,doSize:false,onResize:function(_5b4,_5b5){ +setTimeout(function(){ +if($.data(_5b1,"datagrid")){ +_582(_5b1); +_5f7(_5b1); +opts.onResize.call(_5b3,_5b4,_5b5); +} +},0); +},onExpand:function(){ +_593(_5b1); +opts.onExpand.call(_5b3); +}})); +_5b2.rowIdPrefix="datagrid-row-r"+(++_569); +_5b2.cellClassPrefix="datagrid-cell-c"+_569; +_5b6(dc.header1,opts.frozenColumns,true); +_5b6(dc.header2,opts.columns,false); +_5b7(); +dc.header1.add(dc.header2).css("display",opts.showHeader?"block":"none"); +dc.footer1.add(dc.footer2).css("display",opts.showFooter?"block":"none"); +if(opts.toolbar){ +if($.isArray(opts.toolbar)){ +$("div.datagrid-toolbar",_5b3).remove(); +var tb=$("
                                      ").prependTo(_5b3); +var tr=tb.find("tr"); +for(var i=0;i
                                      ").appendTo(tr); +}else{ +var td=$("").appendTo(tr); +var tool=$("").appendTo(td); +tool[0].onclick=eval(btn.handler||function(){ +}); +tool.linkbutton($.extend({},btn,{plain:true})); +} +} +}else{ +$(opts.toolbar).addClass("datagrid-toolbar").prependTo(_5b3); +$(opts.toolbar).show(); +} +}else{ +$("div.datagrid-toolbar",_5b3).remove(); +} +$("div.datagrid-pager",_5b3).remove(); +if(opts.pagination){ +var _5b8=$("
                                      "); +if(opts.pagePosition=="bottom"){ +_5b8.appendTo(_5b3); +}else{ +if(opts.pagePosition=="top"){ +_5b8.addClass("datagrid-pager-top").prependTo(_5b3); +}else{ +var ptop=$("
                                      ").prependTo(_5b3); +_5b8.appendTo(_5b3); +_5b8=_5b8.add(ptop); +} +} +_5b8.pagination({total:(opts.pageNumber*opts.pageSize),pageNumber:opts.pageNumber,pageSize:opts.pageSize,pageList:opts.pageList,onSelectPage:function(_5b9,_5ba){ +opts.pageNumber=_5b9||1; +opts.pageSize=_5ba; +_5b8.pagination("refresh",{pageNumber:_5b9,pageSize:_5ba}); +_5f5(_5b1); +}}); +opts.pageSize=_5b8.pagination("options").pageSize; +} +function _5b6(_5bb,_5bc,_5bd){ +if(!_5bc){ +return; +} +$(_5bb).show(); +$(_5bb).empty(); +var _5be=[]; +var _5bf=[]; +if(opts.sortName){ +_5be=opts.sortName.split(","); +_5bf=opts.sortOrder.split(","); +} +var t=$("
                                      ").appendTo(_5bb); +for(var i=0;i<_5bc.length;i++){ +var tr=$("").appendTo($("tbody",t)); +var cols=_5bc[i]; +for(var j=0;j").appendTo(tr); +if(col.checkbox){ +td.attr("field",col.field); +$("
                                      ").html("").appendTo(td); +}else{ +if(col.field){ +td.attr("field",col.field); +td.append("
                                      "); +$("span",td).html(col.title); +$("span.datagrid-sort-icon",td).html(" "); +var cell=td.find("div.datagrid-cell"); +var pos=_56a(_5be,col.field); +if(pos>=0){ +cell.addClass("datagrid-sort-"+_5bf[pos]); +} +if(col.resizable==false){ +cell.attr("resizable","false"); +} +if(col.width){ +var _5c0=$.parser.parseValue("width",col.width,dc.view,opts.scrollbarSize); +cell._outerWidth(_5c0-1); +col.boxWidth=parseInt(cell[0].style.width); +col.deltaWidth=_5c0-col.boxWidth; +}else{ +col.auto=true; +} +cell.css("text-align",(col.halign||col.align||"")); +col.cellClass=_5b2.cellClassPrefix+"-"+col.field.replace(/[\.|\s]/g,"-"); +cell.addClass(col.cellClass).css("width",""); +}else{ +$("
                                      ").html(col.title).appendTo(td); +} +} +if(col.hidden){ +td.hide(); +} +} +} +if(_5bd&&opts.rownumbers){ +var td=$("
                                      "); +if($("tr",t).length==0){ +td.wrap("").parent().appendTo($("tbody",t)); +}else{ +td.prependTo($("tr:first",t)); +} +} +}; +function _5b7(){ +var _5c1=[]; +var _5c2=_5c3(_5b1,true).concat(_5c3(_5b1)); +for(var i=0;i<_5c2.length;i++){ +var col=_5c4(_5b1,_5c2[i]); +if(col&&!col.checkbox){ +_5c1.push(["."+col.cellClass,col.boxWidth?col.boxWidth+"px":"auto"]); +} +} +_5b2.ss.add(_5c1); +_5b2.ss.dirty(_5b2.cellSelectorPrefix); +_5b2.cellSelectorPrefix="."+_5b2.cellClassPrefix; +}; +}; +function _5c5(_5c6){ +var _5c7=$.data(_5c6,"datagrid"); +var _5c8=_5c7.panel; +var opts=_5c7.options; +var dc=_5c7.dc; +var _5c9=dc.header1.add(dc.header2); +_5c9.find("input[type=checkbox]").unbind(".datagrid").bind("click.datagrid",function(e){ +if(opts.singleSelect&&opts.selectOnCheck){ +return false; +} +if($(this).is(":checked")){ +_65d(_5c6); +}else{ +_663(_5c6); +} +e.stopPropagation(); +}); +var _5ca=_5c9.find("div.datagrid-cell"); +_5ca.closest("td").unbind(".datagrid").bind("mouseenter.datagrid",function(){ +if(_5c7.resizing){ +return; +} +$(this).addClass("datagrid-header-over"); +}).bind("mouseleave.datagrid",function(){ +$(this).removeClass("datagrid-header-over"); +}).bind("contextmenu.datagrid",function(e){ +var _5cb=$(this).attr("field"); +opts.onHeaderContextMenu.call(_5c6,e,_5cb); +}); +_5ca.unbind(".datagrid").bind("click.datagrid",function(e){ +var p1=$(this).offset().left+5; +var p2=$(this).offset().left+$(this)._outerWidth()-5; +if(e.pageXp1){ +_5ea(_5c6,$(this).parent().attr("field")); +} +}).bind("dblclick.datagrid",function(e){ +var p1=$(this).offset().left+5; +var p2=$(this).offset().left+$(this)._outerWidth()-5; +var cond=opts.resizeHandle=="right"?(e.pageX>p2):(opts.resizeHandle=="left"?(e.pageXp2)); +if(cond){ +var _5cc=$(this).parent().attr("field"); +var col=_5c4(_5c6,_5cc); +if(col.resizable==false){ +return; +} +$(_5c6).datagrid("autoSizeColumn",_5cc); +col.auto=false; +} +}); +var _5cd=opts.resizeHandle=="right"?"e":(opts.resizeHandle=="left"?"w":"e,w"); +_5ca.each(function(){ +$(this).resizable({handles:_5cd,disabled:($(this).attr("resizable")?$(this).attr("resizable")=="false":false),minWidth:25,onStartResize:function(e){ +_5c7.resizing=true; +_5c9.css("cursor",$("body").css("cursor")); +if(!_5c7.proxy){ +_5c7.proxy=$("
                                      ").appendTo(dc.view); +} +_5c7.proxy.css({left:e.pageX-$(_5c8).offset().left-1,display:"none"}); +setTimeout(function(){ +if(_5c7.proxy){ +_5c7.proxy.show(); +} +},500); +},onResize:function(e){ +_5c7.proxy.css({left:e.pageX-$(_5c8).offset().left-1,display:"block"}); +return false; +},onStopResize:function(e){ +_5c9.css("cursor",""); +$(this).css("height",""); +var _5ce=$(this).parent().attr("field"); +var col=_5c4(_5c6,_5ce); +col.width=$(this)._outerWidth(); +col.boxWidth=col.width-col.deltaWidth; +col.auto=undefined; +$(this).css("width",""); +_613(_5c6,_5ce); +_5c7.proxy.remove(); +_5c7.proxy=null; +if($(this).parents("div:first.datagrid-header").parent().hasClass("datagrid-view1")){ +_582(_5c6); +} +_5f7(_5c6); +opts.onResizeColumn.call(_5c6,_5ce,col.width); +setTimeout(function(){ +_5c7.resizing=false; +},0); +}}); +}); +var bb=dc.body1.add(dc.body2); +bb.unbind(); +for(var _5cf in opts.rowEvents){ +bb.bind(_5cf,opts.rowEvents[_5cf]); +} +dc.body1.bind("mousewheel DOMMouseScroll",function(e){ +var e1=e.originalEvent||window.event; +var _5d0=e1.wheelDelta||e1.detail*(-1); +var dg=$(e.target).closest("div.datagrid-view").children(".datagrid-f"); +var dc=dg.data("datagrid").dc; +dc.body2.scrollTop(dc.body2.scrollTop()-_5d0); +}); +dc.body2.bind("scroll",function(){ +var b1=dc.view1.children("div.datagrid-body"); +b1.scrollTop($(this).scrollTop()); +var c1=dc.body1.children(":first"); +var c2=dc.body2.children(":first"); +if(c1.length&&c2.length){ +var top1=c1.offset().top; +var top2=c2.offset().top; +if(top1!=top2){ +b1.scrollTop(b1.scrollTop()+top1-top2); +} +} +dc.view2.children("div.datagrid-header,div.datagrid-footer")._scrollLeft($(this)._scrollLeft()); +dc.body2.children("table.datagrid-btable-frozen").css("left",-$(this)._scrollLeft()); +}); +}; +function _5d1(_5d2){ +return function(e){ +var tr=_5d3(e.target); +if(!tr){ +return; +} +var _5d4=_5d5(tr); +if($.data(_5d4,"datagrid").resizing){ +return; +} +var _5d6=_5d7(tr); +if(_5d2){ +_5d8(_5d4,_5d6); +}else{ +var opts=$.data(_5d4,"datagrid").options; +opts.finder.getTr(_5d4,_5d6).removeClass("datagrid-row-over"); +} +}; +}; +function _5d9(e){ +var tr=_5d3(e.target); +if(!tr){ +return; +} +var _5da=_5d5(tr); +var opts=$.data(_5da,"datagrid").options; +var _5db=_5d7(tr); +var tt=$(e.target); +if(tt.parent().hasClass("datagrid-cell-check")){ +if(opts.singleSelect&&opts.selectOnCheck){ +tt._propAttr("checked",!tt.is(":checked")); +_5dc(_5da,_5db); +}else{ +if(tt.is(":checked")){ +tt._propAttr("checked",false); +_5dc(_5da,_5db); +}else{ +tt._propAttr("checked",true); +_5dd(_5da,_5db); +} +} +}else{ +var row=opts.finder.getRow(_5da,_5db); +var td=tt.closest("td[field]",tr); +if(td.length){ +var _5de=td.attr("field"); +opts.onClickCell.call(_5da,_5db,_5de,row[_5de]); +} +if(opts.singleSelect==true){ +_5df(_5da,_5db); +}else{ +if(opts.ctrlSelect){ +if(e.ctrlKey){ +if(tr.hasClass("datagrid-row-selected")){ +_5e0(_5da,_5db); +}else{ +_5df(_5da,_5db); +} +}else{ +if(e.shiftKey){ +$(_5da).datagrid("clearSelections"); +var _5e1=Math.min(opts.lastSelectedIndex||0,_5db); +var _5e2=Math.max(opts.lastSelectedIndex||0,_5db); +for(var i=_5e1;i<=_5e2;i++){ +_5df(_5da,i); +} +}else{ +$(_5da).datagrid("clearSelections"); +_5df(_5da,_5db); +opts.lastSelectedIndex=_5db; +} +} +}else{ +if(tr.hasClass("datagrid-row-selected")){ +_5e0(_5da,_5db); +}else{ +_5df(_5da,_5db); +} +} +} +opts.onClickRow.call(_5da,_5db,row); +} +}; +function _5e3(e){ +var tr=_5d3(e.target); +if(!tr){ +return; +} +var _5e4=_5d5(tr); +var opts=$.data(_5e4,"datagrid").options; +var _5e5=_5d7(tr); +var row=opts.finder.getRow(_5e4,_5e5); +var td=$(e.target).closest("td[field]",tr); +if(td.length){ +var _5e6=td.attr("field"); +opts.onDblClickCell.call(_5e4,_5e5,_5e6,row[_5e6]); +} +opts.onDblClickRow.call(_5e4,_5e5,row); +}; +function _5e7(e){ +var tr=_5d3(e.target); +if(!tr){ +return; +} +var _5e8=_5d5(tr); +var opts=$.data(_5e8,"datagrid").options; +var _5e9=_5d7(tr); +var row=opts.finder.getRow(_5e8,_5e9); +opts.onRowContextMenu.call(_5e8,e,_5e9,row); +}; +function _5d5(t){ +return $(t).closest("div.datagrid-view").children(".datagrid-f")[0]; +}; +function _5d3(t){ +var tr=$(t).closest("tr.datagrid-row"); +if(tr.length&&tr.parent().length){ +return tr; +}else{ +return undefined; +} +}; +function _5d7(tr){ +if(tr.attr("datagrid-row-index")){ +return parseInt(tr.attr("datagrid-row-index")); +}else{ +return tr.attr("node-id"); +} +}; +function _5ea(_5eb,_5ec){ +var _5ed=$.data(_5eb,"datagrid"); +var opts=_5ed.options; +_5ec=_5ec||{}; +var _5ee={sortName:opts.sortName,sortOrder:opts.sortOrder}; +if(typeof _5ec=="object"){ +$.extend(_5ee,_5ec); +} +var _5ef=[]; +var _5f0=[]; +if(_5ee.sortName){ +_5ef=_5ee.sortName.split(","); +_5f0=_5ee.sortOrder.split(","); +} +if(typeof _5ec=="string"){ +var _5f1=_5ec; +var col=_5c4(_5eb,_5f1); +if(!col.sortable||_5ed.resizing){ +return; +} +var _5f2=col.order||"asc"; +var pos=_56a(_5ef,_5f1); +if(pos>=0){ +var _5f3=_5f0[pos]=="asc"?"desc":"asc"; +if(opts.multiSort&&_5f3==_5f2){ +_5ef.splice(pos,1); +_5f0.splice(pos,1); +}else{ +_5f0[pos]=_5f3; +} +}else{ +if(opts.multiSort){ +_5ef.push(_5f1); +_5f0.push(_5f2); +}else{ +_5ef=[_5f1]; +_5f0=[_5f2]; +} +} +_5ee.sortName=_5ef.join(","); +_5ee.sortOrder=_5f0.join(","); +} +if(opts.onBeforeSortColumn.call(_5eb,_5ee.sortName,_5ee.sortOrder)==false){ +return; +} +$.extend(opts,_5ee); +var dc=_5ed.dc; +var _5f4=dc.header1.add(dc.header2); +_5f4.find("div.datagrid-cell").removeClass("datagrid-sort-asc datagrid-sort-desc"); +for(var i=0;i<_5ef.length;i++){ +var col=_5c4(_5eb,_5ef[i]); +_5f4.find("div."+col.cellClass).addClass("datagrid-sort-"+_5f0[i]); +} +if(opts.remoteSort){ +_5f5(_5eb); +}else{ +_5f6(_5eb,$(_5eb).datagrid("getData")); +} +opts.onSortColumn.call(_5eb,opts.sortName,opts.sortOrder); +}; +function _5f7(_5f8){ +var _5f9=$.data(_5f8,"datagrid"); +var opts=_5f9.options; +var dc=_5f9.dc; +var _5fa=dc.view2.children("div.datagrid-header"); +dc.body2.css("overflow-x",""); +_5fb(); +_5fc(); +if(_5fa.width()>=_5fa.find("table").width()){ +dc.body2.css("overflow-x","hidden"); +} +function _5fc(){ +if(!opts.fitColumns){ +return; +} +if(!_5f9.leftWidth){ +_5f9.leftWidth=0; +} +var _5fd=0; +var cc=[]; +var _5fe=_5c3(_5f8,false); +for(var i=0;i<_5fe.length;i++){ +var col=_5c4(_5f8,_5fe[i]); +if(_5ff(col)){ +_5fd+=col.width; +cc.push({field:col.field,col:col,addingWidth:0}); +} +} +if(!_5fd){ +return; +} +cc[cc.length-1].addingWidth-=_5f9.leftWidth; +var _600=_5fa.children("div.datagrid-header-inner").show(); +var _601=_5fa.width()-_5fa.find("table").width()-opts.scrollbarSize+_5f9.leftWidth; +var rate=_601/_5fd; +if(!opts.showHeader){ +_600.hide(); +} +for(var i=0;i0){ +c.col.boxWidth+=c.addingWidth; +c.col.width+=c.addingWidth; +} +} +_5f9.leftWidth=_601; +_613(_5f8); +}; +function _5fb(){ +var _603=false; +var _604=_5c3(_5f8,true).concat(_5c3(_5f8,false)); +$.map(_604,function(_605){ +var col=_5c4(_5f8,_605); +if(String(col.width||"").indexOf("%")>=0){ +var _606=$.parser.parseValue("width",col.width,dc.view,opts.scrollbarSize)-col.deltaWidth; +if(_606>0){ +col.boxWidth=_606; +_603=true; +} +} +}); +if(_603){ +_613(_5f8); +} +}; +function _5ff(col){ +if(String(col.width||"").indexOf("%")>=0){ +return false; +} +if(!col.hidden&&!col.checkbox&&!col.auto&&!col.fixed){ +return true; +} +}; +}; +function _607(_608,_609){ +var _60a=$.data(_608,"datagrid"); +var opts=_60a.options; +var dc=_60a.dc; +var tmp=$("
                                      ").appendTo("body"); +if(_609){ +_57d(_609); +if(opts.fitColumns){ +_582(_608); +_5f7(_608); +} +}else{ +var _60b=false; +var _60c=_5c3(_608,true).concat(_5c3(_608,false)); +for(var i=0;i<_60c.length;i++){ +var _609=_60c[i]; +var col=_5c4(_608,_609); +if(col.auto){ +_57d(_609); +_60b=true; +} +} +if(_60b&&opts.fitColumns){ +_582(_608); +_5f7(_608); +} +} +tmp.remove(); +function _57d(_60d){ +var _60e=dc.view.find("div.datagrid-header td[field=\""+_60d+"\"] div.datagrid-cell"); +_60e.css("width",""); +var col=$(_608).datagrid("getColumnOption",_60d); +col.width=undefined; +col.boxWidth=undefined; +col.auto=true; +$(_608).datagrid("fixColumnSize",_60d); +var _60f=Math.max(_610("header"),_610("allbody"),_610("allfooter"))+1; +_60e._outerWidth(_60f-1); +col.width=_60f; +col.boxWidth=parseInt(_60e[0].style.width); +col.deltaWidth=_60f-col.boxWidth; +_60e.css("width",""); +$(_608).datagrid("fixColumnSize",_60d); +opts.onResizeColumn.call(_608,_60d,col.width); +function _610(type){ +var _611=0; +if(type=="header"){ +_611=_612(_60e); +}else{ +opts.finder.getTr(_608,0,type).find("td[field=\""+_60d+"\"] div.datagrid-cell").each(function(){ +var w=_612($(this)); +if(_611=0){ +var _62b=col.field||""; +for(var c=0;c<(col.colspan||1);c++){ +for(var r=0;r<(col.rowspan||1);r++){ +aa[_628+r][_629]=_62b; +} +_629++; +} +} +}); +} +return aa[aa.length-1]; +function _627(){ +var _62c=0; +$.map(_625[0],function(col){ +_62c+=col.colspan||1; +}); +return _62c; +}; +function _62a(a){ +for(var i=0;ib?1:-1); +}; +r=_631(r1[sn],r2[sn])*(so=="asc"?1:-1); +if(r!=0){ +return r; +} +} +return r; +}); +} +if(opts.view.onBeforeRender){ +opts.view.onBeforeRender.call(opts.view,_62d,data.rows); +} +opts.view.render.call(opts.view,_62d,dc.body2,false); +opts.view.render.call(opts.view,_62d,dc.body1,true); +if(opts.showFooter){ +opts.view.renderFooter.call(opts.view,_62d,dc.footer2,false); +opts.view.renderFooter.call(opts.view,_62d,dc.footer1,true); +} +if(opts.view.onAfterRender){ +opts.view.onAfterRender.call(opts.view,_62d); +} +_62e.ss.clean(); +var _632=$(_62d).datagrid("getPager"); +if(_632.length){ +var _633=_632.pagination("options"); +if(_633.total!=data.total){ +_632.pagination("refresh",{total:data.total}); +if(opts.pageNumber!=_633.pageNumber&&_633.pageNumber>0){ +opts.pageNumber=_633.pageNumber; +_5f5(_62d); +} +} +} +_593(_62d); +dc.body2.triggerHandler("scroll"); +$(_62d).datagrid("setSelectionState"); +$(_62d).datagrid("autoSizeColumn"); +opts.onLoadSuccess.call(_62d,data); +}; +function _634(_635){ +var _636=$.data(_635,"datagrid"); +var opts=_636.options; +var dc=_636.dc; +dc.header1.add(dc.header2).find("input[type=checkbox]")._propAttr("checked",false); +if(opts.idField){ +var _637=$.data(_635,"treegrid")?true:false; +var _638=opts.onSelect; +var _639=opts.onCheck; +opts.onSelect=opts.onCheck=function(){ +}; +var rows=opts.finder.getRows(_635); +for(var i=0;i_64a.height()-18){ +_64a.scrollTop(_64a.scrollTop()+top+tr._outerHeight()-_64a.height()+18); +} +} +} +}; +function _5d8(_64c,_64d){ +var _64e=$.data(_64c,"datagrid"); +var opts=_64e.options; +opts.finder.getTr(_64c,_64e.highlightIndex).removeClass("datagrid-row-over"); +opts.finder.getTr(_64c,_64d).addClass("datagrid-row-over"); +_64e.highlightIndex=_64d; +}; +function _5df(_64f,_650,_651){ +var _652=$.data(_64f,"datagrid"); +var opts=_652.options; +var row=opts.finder.getRow(_64f,_650); +if(opts.onBeforeSelect.call(_64f,_650,row)==false){ +return; +} +if(opts.singleSelect){ +_653(_64f,true); +_652.selectedRows=[]; +} +if(!_651&&opts.checkOnSelect){ +_5dc(_64f,_650,true); +} +if(opts.idField){ +_56d(_652.selectedRows,opts.idField,row); +} +opts.finder.getTr(_64f,_650).addClass("datagrid-row-selected"); +opts.onSelect.call(_64f,_650,row); +_645(_64f,_650); +}; +function _5e0(_654,_655,_656){ +var _657=$.data(_654,"datagrid"); +var dc=_657.dc; +var opts=_657.options; +var row=opts.finder.getRow(_654,_655); +if(opts.onBeforeUnselect.call(_654,_655,row)==false){ +return; +} +if(!_656&&opts.checkOnSelect){ +_5dd(_654,_655,true); +} +opts.finder.getTr(_654,_655).removeClass("datagrid-row-selected"); +if(opts.idField){ +_56b(_657.selectedRows,opts.idField,row[opts.idField]); +} +opts.onUnselect.call(_654,_655,row); +}; +function _658(_659,_65a){ +var _65b=$.data(_659,"datagrid"); +var opts=_65b.options; +var rows=opts.finder.getRows(_659); +var _65c=$.data(_659,"datagrid").selectedRows; +if(!_65a&&opts.checkOnSelect){ +_65d(_659,true); +} +opts.finder.getTr(_659,"","allbody").addClass("datagrid-row-selected"); +if(opts.idField){ +for(var _65e=0;_65e"); +cell.children("table").bind("click dblclick contextmenu",function(e){ +e.stopPropagation(); +}); +$.data(cell[0],"datagrid.editor",{actions:_694,target:_694.init(cell.find("td"),_693),field:_691,type:_692,oldHtml:_695}); +} +} +}); +_593(_68f,_690,true); +}; +function _686(_697,_698){ +var opts=$.data(_697,"datagrid").options; +var tr=opts.finder.getTr(_697,_698); +tr.children("td").each(function(){ +var cell=$(this).find("div.datagrid-editable"); +if(cell.length){ +var ed=$.data(cell[0],"datagrid.editor"); +if(ed.actions.destroy){ +ed.actions.destroy(ed.target); +} +cell.html(ed.oldHtml); +$.removeData(cell[0],"datagrid.editor"); +cell.removeClass("datagrid-editable"); +cell.css("width",""); +} +}); +}; +function _679(_699,_69a){ +var tr=$.data(_699,"datagrid").options.finder.getTr(_699,_69a); +if(!tr.hasClass("datagrid-row-editing")){ +return true; +} +var vbox=tr.find(".validatebox-text"); +vbox.validatebox("validate"); +vbox.trigger("mouseleave"); +var _69b=tr.find(".validatebox-invalid"); +return _69b.length==0; +}; +function _69c(_69d,_69e){ +var _69f=$.data(_69d,"datagrid").insertedRows; +var _6a0=$.data(_69d,"datagrid").deletedRows; +var _6a1=$.data(_69d,"datagrid").updatedRows; +if(!_69e){ +var rows=[]; +rows=rows.concat(_69f); +rows=rows.concat(_6a0); +rows=rows.concat(_6a1); +return rows; +}else{ +if(_69e=="inserted"){ +return _69f; +}else{ +if(_69e=="deleted"){ +return _6a0; +}else{ +if(_69e=="updated"){ +return _6a1; +} +} +} +} +return []; +}; +function _6a2(_6a3,_6a4){ +var _6a5=$.data(_6a3,"datagrid"); +var opts=_6a5.options; +var data=_6a5.data; +var _6a6=_6a5.insertedRows; +var _6a7=_6a5.deletedRows; +$(_6a3).datagrid("cancelEdit",_6a4); +var row=opts.finder.getRow(_6a3,_6a4); +if(_56a(_6a6,row)>=0){ +_56b(_6a6,row); +}else{ +_6a7.push(row); +} +_56b(_6a5.selectedRows,opts.idField,row[opts.idField]); +_56b(_6a5.checkedRows,opts.idField,row[opts.idField]); +opts.view.deleteRow.call(opts.view,_6a3,_6a4); +if(opts.height=="auto"){ +_593(_6a3); +} +$(_6a3).datagrid("getPager").pagination("refresh",{total:data.total}); +}; +function _6a8(_6a9,_6aa){ +var data=$.data(_6a9,"datagrid").data; +var view=$.data(_6a9,"datagrid").options.view; +var _6ab=$.data(_6a9,"datagrid").insertedRows; +view.insertRow.call(view,_6a9,_6aa.index,_6aa.row); +_6ab.push(_6aa.row); +$(_6a9).datagrid("getPager").pagination("refresh",{total:data.total}); +}; +function _6ac(_6ad,row){ +var data=$.data(_6ad,"datagrid").data; +var view=$.data(_6ad,"datagrid").options.view; +var _6ae=$.data(_6ad,"datagrid").insertedRows; +view.insertRow.call(view,_6ad,null,row); +_6ae.push(row); +$(_6ad).datagrid("getPager").pagination("refresh",{total:data.total}); +}; +function _6af(_6b0){ +var _6b1=$.data(_6b0,"datagrid"); +var data=_6b1.data; +var rows=data.rows; +var _6b2=[]; +for(var i=0;i=0){ +(_6bf=="s"?_5df:_5dc)(_6b6,_6c0,true); +} +} +}; +for(var i=0;i0){ +_5f6(this,data); +_6af(this); +} +} +_5f5(this); +}); +}; +function _6d1(_6d2){ +var _6d3={}; +$.map(_6d2,function(name){ +_6d3[name]=_6d4(name); +}); +return _6d3; +function _6d4(name){ +function isA(_6d5){ +return $.data($(_6d5)[0],name)!=undefined; +}; +return {init:function(_6d6,_6d7){ +var _6d8=$("").appendTo(_6d6); +if(_6d8[name]&&name!="text"){ +return _6d8[name](_6d7); +}else{ +return _6d8; +} +},destroy:function(_6d9){ +if(isA(_6d9,name)){ +$(_6d9)[name]("destroy"); +} +},getValue:function(_6da){ +if(isA(_6da,name)){ +var opts=$(_6da)[name]("options"); +if(opts.multiple){ +return $(_6da)[name]("getValues").join(opts.separator); +}else{ +return $(_6da)[name]("getValue"); +} +}else{ +return $(_6da).val(); +} +},setValue:function(_6db,_6dc){ +if(isA(_6db,name)){ +var opts=$(_6db)[name]("options"); +if(opts.multiple){ +if(_6dc){ +$(_6db)[name]("setValues",_6dc.split(opts.separator)); +}else{ +$(_6db)[name]("clear"); +} +}else{ +$(_6db)[name]("setValue",_6dc); +} +}else{ +$(_6db).val(_6dc); +} +},resize:function(_6dd,_6de){ +if(isA(_6dd,name)){ +$(_6dd)[name]("resize",_6de); +}else{ +$(_6dd)._outerWidth(_6de)._outerHeight(22); +} +}}; +}; +}; +var _6df=$.extend({},_6d1(["text","textbox","numberbox","numberspinner","combobox","combotree","combogrid","datebox","datetimebox","timespinner","datetimespinner"]),{textarea:{init:function(_6e0,_6e1){ +var _6e2=$("").appendTo(_6e0); +return _6e2; +},getValue:function(_6e3){ +return $(_6e3).val(); +},setValue:function(_6e4,_6e5){ +$(_6e4).val(_6e5); +},resize:function(_6e6,_6e7){ +$(_6e6)._outerWidth(_6e7); +}},checkbox:{init:function(_6e8,_6e9){ +var _6ea=$("").appendTo(_6e8); +_6ea.val(_6e9.on); +_6ea.attr("offval",_6e9.off); +return _6ea; +},getValue:function(_6eb){ +if($(_6eb).is(":checked")){ +return $(_6eb).val(); +}else{ +return $(_6eb).attr("offval"); +} +},setValue:function(_6ec,_6ed){ +var _6ee=false; +if($(_6ec).val()==_6ed){ +_6ee=true; +} +$(_6ec)._propAttr("checked",_6ee); +}},validatebox:{init:function(_6ef,_6f0){ +var _6f1=$("").appendTo(_6ef); +_6f1.validatebox(_6f0); +return _6f1; +},destroy:function(_6f2){ +$(_6f2).validatebox("destroy"); +},getValue:function(_6f3){ +return $(_6f3).val(); +},setValue:function(_6f4,_6f5){ +$(_6f4).val(_6f5); +},resize:function(_6f6,_6f7){ +$(_6f6)._outerWidth(_6f7)._outerHeight(22); +}}}); +$.fn.datagrid.methods={options:function(jq){ +var _6f8=$.data(jq[0],"datagrid").options; +var _6f9=$.data(jq[0],"datagrid").panel.panel("options"); +var opts=$.extend(_6f8,{width:_6f9.width,height:_6f9.height,closed:_6f9.closed,collapsed:_6f9.collapsed,minimized:_6f9.minimized,maximized:_6f9.maximized}); +return opts; +},setSelectionState:function(jq){ +return jq.each(function(){ +_634(this); +}); +},createStyleSheet:function(jq){ +return _56e(jq[0]); +},getPanel:function(jq){ +return $.data(jq[0],"datagrid").panel; +},getPager:function(jq){ +return $.data(jq[0],"datagrid").panel.children("div.datagrid-pager"); +},getColumnFields:function(jq,_6fa){ +return _5c3(jq[0],_6fa); +},getColumnOption:function(jq,_6fb){ +return _5c4(jq[0],_6fb); +},resize:function(jq,_6fc){ +return jq.each(function(){ +_57d(this,_6fc); +}); +},load:function(jq,_6fd){ +return jq.each(function(){ +var opts=$(this).datagrid("options"); +if(typeof _6fd=="string"){ +opts.url=_6fd; +_6fd=null; +} +opts.pageNumber=1; +var _6fe=$(this).datagrid("getPager"); +_6fe.pagination("refresh",{pageNumber:1}); +_5f5(this,_6fd); +}); +},reload:function(jq,_6ff){ +return jq.each(function(){ +var opts=$(this).datagrid("options"); +if(typeof _6ff=="string"){ +opts.url=_6ff; +_6ff=null; +} +_5f5(this,_6ff); +}); +},reloadFooter:function(jq,_700){ +return jq.each(function(){ +var opts=$.data(this,"datagrid").options; +var dc=$.data(this,"datagrid").dc; +if(_700){ +$.data(this,"datagrid").footer=_700; +} +if(opts.showFooter){ +opts.view.renderFooter.call(opts.view,this,dc.footer2,false); +opts.view.renderFooter.call(opts.view,this,dc.footer1,true); +if(opts.view.onAfterRender){ +opts.view.onAfterRender.call(opts.view,this); +} +$(this).datagrid("fixRowHeight"); +} +}); +},loading:function(jq){ +return jq.each(function(){ +var opts=$.data(this,"datagrid").options; +$(this).datagrid("getPager").pagination("loading"); +if(opts.loadMsg){ +var _701=$(this).datagrid("getPanel"); +if(!_701.children("div.datagrid-mask").length){ +$("
                                      ").appendTo(_701); +var msg=$("
                                      ").html(opts.loadMsg).appendTo(_701); +msg._outerHeight(40); +msg.css({marginLeft:(-msg.outerWidth()/2),lineHeight:(msg.height()+"px")}); +} +} +}); +},loaded:function(jq){ +return jq.each(function(){ +$(this).datagrid("getPager").pagination("loaded"); +var _702=$(this).datagrid("getPanel"); +_702.children("div.datagrid-mask-msg").remove(); +_702.children("div.datagrid-mask").remove(); +}); +},fitColumns:function(jq){ +return jq.each(function(){ +_5f7(this); +}); +},fixColumnSize:function(jq,_703){ +return jq.each(function(){ +_613(this,_703); +}); +},fixRowHeight:function(jq,_704){ +return jq.each(function(){ +_593(this,_704); +}); +},freezeRow:function(jq,_705){ +return jq.each(function(){ +_5a0(this,_705); +}); +},autoSizeColumn:function(jq,_706){ +return jq.each(function(){ +_607(this,_706); +}); +},loadData:function(jq,data){ +return jq.each(function(){ +_5f6(this,data); +_6af(this); +}); +},getData:function(jq){ +return $.data(jq[0],"datagrid").data; +},getRows:function(jq){ +return $.data(jq[0],"datagrid").data.rows; +},getFooterRows:function(jq){ +return $.data(jq[0],"datagrid").footer; +},getRowIndex:function(jq,id){ +return _63c(jq[0],id); +},getChecked:function(jq){ +return _642(jq[0]); +},getSelected:function(jq){ +var rows=_63f(jq[0]); +return rows.length>0?rows[0]:null; +},getSelections:function(jq){ +return _63f(jq[0]); +},clearSelections:function(jq){ +return jq.each(function(){ +var _707=$.data(this,"datagrid"); +var _708=_707.selectedRows; +var _709=_707.checkedRows; +_708.splice(0,_708.length); +_653(this); +if(_707.options.checkOnSelect){ +_709.splice(0,_709.length); +} +}); +},clearChecked:function(jq){ +return jq.each(function(){ +var _70a=$.data(this,"datagrid"); +var _70b=_70a.selectedRows; +var _70c=_70a.checkedRows; +_70c.splice(0,_70c.length); +_663(this); +if(_70a.options.selectOnCheck){ +_70b.splice(0,_70b.length); +} +}); +},scrollTo:function(jq,_70d){ +return jq.each(function(){ +_645(this,_70d); +}); +},highlightRow:function(jq,_70e){ +return jq.each(function(){ +_5d8(this,_70e); +_645(this,_70e); +}); +},selectAll:function(jq){ +return jq.each(function(){ +_658(this); +}); +},unselectAll:function(jq){ +return jq.each(function(){ +_653(this); +}); +},selectRow:function(jq,_70f){ +return jq.each(function(){ +_5df(this,_70f); +}); +},selectRecord:function(jq,id){ +return jq.each(function(){ +var opts=$.data(this,"datagrid").options; +if(opts.idField){ +var _710=_63c(this,id); +if(_710>=0){ +$(this).datagrid("selectRow",_710); +} +} +}); +},unselectRow:function(jq,_711){ +return jq.each(function(){ +_5e0(this,_711); +}); +},checkRow:function(jq,_712){ +return jq.each(function(){ +_5dc(this,_712); +}); +},uncheckRow:function(jq,_713){ +return jq.each(function(){ +_5dd(this,_713); +}); +},checkAll:function(jq){ +return jq.each(function(){ +_65d(this); +}); +},uncheckAll:function(jq){ +return jq.each(function(){ +_663(this); +}); +},beginEdit:function(jq,_714){ +return jq.each(function(){ +_674(this,_714); +}); +},endEdit:function(jq,_715){ +return jq.each(function(){ +_67a(this,_715,false); +}); +},cancelEdit:function(jq,_716){ +return jq.each(function(){ +_67a(this,_716,true); +}); +},getEditors:function(jq,_717){ +return _687(jq[0],_717); +},getEditor:function(jq,_718){ +return _68b(jq[0],_718); +},refreshRow:function(jq,_719){ +return jq.each(function(){ +var opts=$.data(this,"datagrid").options; +opts.view.refreshRow.call(opts.view,this,_719); +}); +},validateRow:function(jq,_71a){ +return _679(jq[0],_71a); +},updateRow:function(jq,_71b){ +return jq.each(function(){ +var opts=$.data(this,"datagrid").options; +opts.view.updateRow.call(opts.view,this,_71b.index,_71b.row); +}); +},appendRow:function(jq,row){ +return jq.each(function(){ +_6ac(this,row); +}); +},insertRow:function(jq,_71c){ +return jq.each(function(){ +_6a8(this,_71c); +}); +},deleteRow:function(jq,_71d){ +return jq.each(function(){ +_6a2(this,_71d); +}); +},getChanges:function(jq,_71e){ +return _69c(jq[0],_71e); +},acceptChanges:function(jq){ +return jq.each(function(){ +_6b3(this); +}); +},rejectChanges:function(jq){ +return jq.each(function(){ +_6b5(this); +}); +},mergeCells:function(jq,_71f){ +return jq.each(function(){ +_6c8(this,_71f); +}); +},showColumn:function(jq,_720){ +return jq.each(function(){ +var _721=$(this).datagrid("getPanel"); +_721.find("td[field=\""+_720+"\"]").show(); +$(this).datagrid("getColumnOption",_720).hidden=false; +$(this).datagrid("fitColumns"); +}); +},hideColumn:function(jq,_722){ +return jq.each(function(){ +var _723=$(this).datagrid("getPanel"); +_723.find("td[field=\""+_722+"\"]").hide(); +$(this).datagrid("getColumnOption",_722).hidden=true; +$(this).datagrid("fitColumns"); +}); +},sort:function(jq,_724){ +return jq.each(function(){ +_5ea(this,_724); +}); +}}; +$.fn.datagrid.parseOptions=function(_725){ +var t=$(_725); +return $.extend({},$.fn.panel.parseOptions(_725),$.parser.parseOptions(_725,["url","toolbar","idField","sortName","sortOrder","pagePosition","resizeHandle",{sharedStyleSheet:"boolean",fitColumns:"boolean",autoRowHeight:"boolean",striped:"boolean",nowrap:"boolean"},{rownumbers:"boolean",singleSelect:"boolean",ctrlSelect:"boolean",checkOnSelect:"boolean",selectOnCheck:"boolean"},{pagination:"boolean",pageSize:"number",pageNumber:"number"},{multiSort:"boolean",remoteSort:"boolean",showHeader:"boolean",showFooter:"boolean"},{scrollbarSize:"number"}]),{pageList:(t.attr("pageList")?eval(t.attr("pageList")):undefined),loadMsg:(t.attr("loadMsg")!=undefined?t.attr("loadMsg"):undefined),rowStyler:(t.attr("rowStyler")?eval(t.attr("rowStyler")):undefined)}); +}; +$.fn.datagrid.parseData=function(_726){ +var t=$(_726); +var data={total:0,rows:[]}; +var _727=t.datagrid("getColumnFields",true).concat(t.datagrid("getColumnFields",false)); +t.find("tbody tr").each(function(){ +data.total++; +var row={}; +$.extend(row,$.parser.parseOptions(this,["iconCls","state"])); +for(var i=0;i<_727.length;i++){ +row[_727[i]]=$(this).find("td:eq("+i+")").html(); +} +data.rows.push(row); +}); +return data; +}; +var _728={render:function(_729,_72a,_72b){ +var _72c=$.data(_729,"datagrid"); +var opts=_72c.options; +var rows=_72c.data.rows; +var _72d=$(_729).datagrid("getColumnFields",_72b); +if(_72b){ +if(!(opts.rownumbers||(opts.frozenColumns&&opts.frozenColumns.length))){ +return; +} +} +var _72e=[""]; +for(var i=0;i"); +_72e.push(this.renderRow.call(this,_729,_72d,_72b,i,rows[i])); +_72e.push(""); +} +_72e.push("
                                      "); +$(_72a).html(_72e.join("")); +},renderFooter:function(_733,_734,_735){ +var opts=$.data(_733,"datagrid").options; +var rows=$.data(_733,"datagrid").footer||[]; +var _736=$(_733).datagrid("getColumnFields",_735); +var _737=[""]; +for(var i=0;i"); +_737.push(this.renderRow.call(this,_733,_736,_735,i,rows[i])); +_737.push(""); +} +_737.push("
                                      "); +$(_734).html(_737.join("")); +},renderRow:function(_738,_739,_73a,_73b,_73c){ +var opts=$.data(_738,"datagrid").options; +var cc=[]; +if(_73a&&opts.rownumbers){ +var _73d=_73b+1; +if(opts.pagination){ +_73d+=(opts.pageNumber-1)*opts.pageSize; +} +cc.push("
                                      "+_73d+"
                                      "); +} +for(var i=0;i<_739.length;i++){ +var _73e=_739[i]; +var col=$(_738).datagrid("getColumnOption",_73e); +if(col){ +var _73f=_73c[_73e]; +var css=col.styler?(col.styler(_73f,_73c,_73b)||""):""; +var _740=""; +var _741=""; +if(typeof css=="string"){ +_741=css; +}else{ +if(css){ +_740=css["class"]||""; +_741=css["style"]||""; +} +} +var cls=_740?"class=\""+_740+"\"":""; +var _742=col.hidden?"style=\"display:none;"+_741+"\"":(_741?"style=\""+_741+"\"":""); +cc.push(""); +var _742=""; +if(!col.checkbox){ +if(col.align){ +_742+="text-align:"+col.align+";"; +} +if(!opts.nowrap){ +_742+="white-space:normal;height:auto;"; +}else{ +if(opts.autoRowHeight){ +_742+="height:auto;"; +} +} +} +cc.push("
                                      "); +if(col.checkbox){ +cc.push(""); +}else{ +if(col.formatter){ +cc.push(col.formatter(_73f,_73c,_73b)); +}else{ +cc.push(_73f); +} +} +cc.push("
                                      "); +cc.push(""); +} +} +return cc.join(""); +},refreshRow:function(_743,_744){ +this.updateRow.call(this,_743,_744,{}); +},updateRow:function(_745,_746,row){ +var opts=$.data(_745,"datagrid").options; +var rows=$(_745).datagrid("getRows"); +var _747=_748(_746); +$.extend(rows[_746],row); +var _749=_748(_746); +var _74a=_747.c; +var _74b=_749.s; +var _74c="datagrid-row "+(_746%2&&opts.striped?"datagrid-row-alt ":" ")+_749.c; +function _748(_74d){ +var css=opts.rowStyler?opts.rowStyler.call(_745,_74d,rows[_74d]):""; +var _74e=""; +var _74f=""; +if(typeof css=="string"){ +_74f=css; +}else{ +if(css){ +_74e=css["class"]||""; +_74f=css["style"]||""; +} +} +return {c:_74e,s:_74f}; +}; +function _750(_751){ +var _752=$(_745).datagrid("getColumnFields",_751); +var tr=opts.finder.getTr(_745,_746,"body",(_751?1:2)); +var _753=tr.find("div.datagrid-cell-check input[type=checkbox]").is(":checked"); +tr.html(this.renderRow.call(this,_745,_752,_751,_746,rows[_746])); +tr.attr("style",_74b).removeClass(_74a).addClass(_74c); +if(_753){ +tr.find("div.datagrid-cell-check input[type=checkbox]")._propAttr("checked",true); +} +}; +_750.call(this,true); +_750.call(this,false); +$(_745).datagrid("fixRowHeight",_746); +},insertRow:function(_754,_755,row){ +var _756=$.data(_754,"datagrid"); +var opts=_756.options; +var dc=_756.dc; +var data=_756.data; +if(_755==undefined||_755==null){ +_755=data.rows.length; +} +if(_755>data.rows.length){ +_755=data.rows.length; +} +function _757(_758){ +var _759=_758?1:2; +for(var i=data.rows.length-1;i>=_755;i--){ +var tr=opts.finder.getTr(_754,i,"body",_759); +tr.attr("datagrid-row-index",i+1); +tr.attr("id",_756.rowIdPrefix+"-"+_759+"-"+(i+1)); +if(_758&&opts.rownumbers){ +var _75a=i+2; +if(opts.pagination){ +_75a+=(opts.pageNumber-1)*opts.pageSize; +} +tr.find("div.datagrid-cell-rownumber").html(_75a); +} +if(opts.striped){ +tr.removeClass("datagrid-row-alt").addClass((i+1)%2?"datagrid-row-alt":""); +} +} +}; +function _75b(_75c){ +var _75d=_75c?1:2; +var _75e=$(_754).datagrid("getColumnFields",_75c); +var _75f=_756.rowIdPrefix+"-"+_75d+"-"+_755; +var tr=""; +if(_755>=data.rows.length){ +if(data.rows.length){ +opts.finder.getTr(_754,"","last",_75d).after(tr); +}else{ +var cc=_75c?dc.body1:dc.body2; +cc.html(""+tr+"
                                      "); +} +}else{ +opts.finder.getTr(_754,_755+1,"body",_75d).before(tr); +} +}; +_757.call(this,true); +_757.call(this,false); +_75b.call(this,true); +_75b.call(this,false); +data.total+=1; +data.rows.splice(_755,0,row); +this.refreshRow.call(this,_754,_755); +},deleteRow:function(_760,_761){ +var _762=$.data(_760,"datagrid"); +var opts=_762.options; +var data=_762.data; +function _763(_764){ +var _765=_764?1:2; +for(var i=_761+1;itable>tbody>tr[datagrid-row-index="+_770+"]"); +} +return tr; +}else{ +if(type=="footer"){ +return (_771==1?dc.footer1:dc.footer2).find(">table>tbody>tr[datagrid-row-index="+_770+"]"); +}else{ +if(type=="selected"){ +return (_771==1?dc.body1:dc.body2).find(">table>tbody>tr.datagrid-row-selected"); +}else{ +if(type=="highlight"){ +return (_771==1?dc.body1:dc.body2).find(">table>tbody>tr.datagrid-row-over"); +}else{ +if(type=="checked"){ +return (_771==1?dc.body1:dc.body2).find(">table>tbody>tr.datagrid-row-checked"); +}else{ +if(type=="editing"){ +return (_771==1?dc.body1:dc.body2).find(">table>tbody>tr.datagrid-row-editing"); +}else{ +if(type=="last"){ +return (_771==1?dc.body1:dc.body2).find(">table>tbody>tr[datagrid-row-index]:last"); +}else{ +if(type=="allbody"){ +return (_771==1?dc.body1:dc.body2).find(">table>tbody>tr[datagrid-row-index]"); +}else{ +if(type=="allfooter"){ +return (_771==1?dc.footer1:dc.footer2).find(">table>tbody>tr[datagrid-row-index]"); +} +} +} +} +} +} +} +} +} +} +},getRow:function(_773,p){ +var _774=(typeof p=="object")?p.attr("datagrid-row-index"):p; +return $.data(_773,"datagrid").data.rows[parseInt(_774)]; +},getRows:function(_775){ +return $(_775).datagrid("getRows"); +}},view:_728,onBeforeLoad:function(_776){ +},onLoadSuccess:function(){ +},onLoadError:function(){ +},onClickRow:function(_777,_778){ +},onDblClickRow:function(_779,_77a){ +},onClickCell:function(_77b,_77c,_77d){ +},onDblClickCell:function(_77e,_77f,_780){ +},onBeforeSortColumn:function(sort,_781){ +},onSortColumn:function(sort,_782){ +},onResizeColumn:function(_783,_784){ +},onBeforeSelect:function(_785,_786){ +},onSelect:function(_787,_788){ +},onBeforeUnselect:function(_789,_78a){ +},onUnselect:function(_78b,_78c){ +},onSelectAll:function(rows){ +},onUnselectAll:function(rows){ +},onBeforeCheck:function(_78d,_78e){ +},onCheck:function(_78f,_790){ +},onBeforeUncheck:function(_791,_792){ +},onUncheck:function(_793,_794){ +},onCheckAll:function(rows){ +},onUncheckAll:function(rows){ +},onBeforeEdit:function(_795,_796){ +},onBeginEdit:function(_797,_798){ +},onEndEdit:function(_799,_79a,_79b){ +},onAfterEdit:function(_79c,_79d,_79e){ +},onCancelEdit:function(_79f,_7a0){ +},onHeaderContextMenu:function(e,_7a1){ +},onRowContextMenu:function(e,_7a2,_7a3){ +}}); +})(jQuery); +(function($){ +var _7a4; +$(document).unbind(".propertygrid").bind("mousedown.propertygrid",function(e){ +var p=$(e.target).closest("div.datagrid-view,div.combo-panel"); +if(p.length){ +return; +} +_7a5(_7a4); +_7a4=undefined; +}); +function _7a6(_7a7){ +var _7a8=$.data(_7a7,"propertygrid"); +var opts=$.data(_7a7,"propertygrid").options; +$(_7a7).datagrid($.extend({},opts,{cls:"propertygrid",view:(opts.showGroup?opts.groupView:opts.view),onBeforeEdit:function(_7a9,row){ +if(opts.onBeforeEdit.call(_7a7,_7a9,row)==false){ +return false; +} +var dg=$(this); +var row=dg.datagrid("getRows")[_7a9]; +var col=dg.datagrid("getColumnOption","value"); +col.editor=row.editor; +},onClickCell:function(_7aa,_7ab,_7ac){ +if(_7a4!=this){ +_7a5(_7a4); +_7a4=this; +} +if(opts.editIndex!=_7aa){ +_7a5(_7a4); +$(this).datagrid("beginEdit",_7aa); +var ed=$(this).datagrid("getEditor",{index:_7aa,field:_7ab}); +if(!ed){ +ed=$(this).datagrid("getEditor",{index:_7aa,field:"value"}); +} +if(ed){ +var t=$(ed.target); +var _7ad=t.data("textbox")?t.textbox("textbox"):t; +_7ad.focus(); +opts.editIndex=_7aa; +} +} +opts.onClickCell.call(_7a7,_7aa,_7ab,_7ac); +},loadFilter:function(data){ +_7a5(this); +return opts.loadFilter.call(this,data); +}})); +}; +function _7a5(_7ae){ +var t=$(_7ae); +if(!t.length){ +return; +} +var opts=$.data(_7ae,"propertygrid").options; +opts.finder.getTr(_7ae,null,"editing").each(function(){ +var _7af=parseInt($(this).attr("datagrid-row-index")); +if(t.datagrid("validateRow",_7af)){ +t.datagrid("endEdit",_7af); +}else{ +t.datagrid("cancelEdit",_7af); +} +}); +}; +$.fn.propertygrid=function(_7b0,_7b1){ +if(typeof _7b0=="string"){ +var _7b2=$.fn.propertygrid.methods[_7b0]; +if(_7b2){ +return _7b2(this,_7b1); +}else{ +return this.datagrid(_7b0,_7b1); +} +} +_7b0=_7b0||{}; +return this.each(function(){ +var _7b3=$.data(this,"propertygrid"); +if(_7b3){ +$.extend(_7b3.options,_7b0); +}else{ +var opts=$.extend({},$.fn.propertygrid.defaults,$.fn.propertygrid.parseOptions(this),_7b0); +opts.frozenColumns=$.extend(true,[],opts.frozenColumns); +opts.columns=$.extend(true,[],opts.columns); +$.data(this,"propertygrid",{options:opts}); +} +_7a6(this); +}); +}; +$.fn.propertygrid.methods={options:function(jq){ +return $.data(jq[0],"propertygrid").options; +}}; +$.fn.propertygrid.parseOptions=function(_7b4){ +return $.extend({},$.fn.datagrid.parseOptions(_7b4),$.parser.parseOptions(_7b4,[{showGroup:"boolean"}])); +}; +var _7b5=$.extend({},$.fn.datagrid.defaults.view,{render:function(_7b6,_7b7,_7b8){ +var _7b9=[]; +var _7ba=this.groups; +for(var i=0;i<_7ba.length;i++){ +_7b9.push(this.renderGroup.call(this,_7b6,i,_7ba[i],_7b8)); +} +$(_7b7).html(_7b9.join("")); +},renderGroup:function(_7bb,_7bc,_7bd,_7be){ +var _7bf=$.data(_7bb,"datagrid"); +var opts=_7bf.options; +var _7c0=$(_7bb).datagrid("getColumnFields",_7be); +var _7c1=[]; +_7c1.push("
                                      "); +_7c1.push(""); +_7c1.push(""); +if((_7be&&(opts.rownumbers||opts.frozenColumns.length))||(!_7be&&!(opts.rownumbers||opts.frozenColumns.length))){ +_7c1.push(""); +} +_7c1.push(""); +_7c1.push(""); +_7c1.push("
                                       "); +if(!_7be){ +_7c1.push(""); +_7c1.push(opts.groupFormatter.call(_7bb,_7bd.value,_7bd.rows)); +_7c1.push(""); +} +_7c1.push("
                                      "); +_7c1.push("
                                      "); +_7c1.push(""); +var _7c2=_7bd.startIndex; +for(var j=0;j<_7bd.rows.length;j++){ +var css=opts.rowStyler?opts.rowStyler.call(_7bb,_7c2,_7bd.rows[j]):""; +var _7c3=""; +var _7c4=""; +if(typeof css=="string"){ +_7c4=css; +}else{ +if(css){ +_7c3=css["class"]||""; +_7c4=css["style"]||""; +} +} +var cls="class=\"datagrid-row "+(_7c2%2&&opts.striped?"datagrid-row-alt ":" ")+_7c3+"\""; +var _7c5=_7c4?"style=\""+_7c4+"\"":""; +var _7c6=_7bf.rowIdPrefix+"-"+(_7be?1:2)+"-"+_7c2; +_7c1.push(""); +_7c1.push(this.renderRow.call(this,_7bb,_7c0,_7be,_7c2,_7bd.rows[j])); +_7c1.push(""); +_7c2++; +} +_7c1.push("
                                      "); +return _7c1.join(""); +},bindEvents:function(_7c7){ +var _7c8=$.data(_7c7,"datagrid"); +var dc=_7c8.dc; +var body=dc.body1.add(dc.body2); +var _7c9=($.data(body[0],"events")||$._data(body[0],"events")).click[0].handler; +body.unbind("click").bind("click",function(e){ +var tt=$(e.target); +var _7ca=tt.closest("span.datagrid-row-expander"); +if(_7ca.length){ +var _7cb=_7ca.closest("div.datagrid-group").attr("group-index"); +if(_7ca.hasClass("datagrid-row-collapse")){ +$(_7c7).datagrid("collapseGroup",_7cb); +}else{ +$(_7c7).datagrid("expandGroup",_7cb); +} +}else{ +_7c9(e); +} +e.stopPropagation(); +}); +},onBeforeRender:function(_7cc,rows){ +var _7cd=$.data(_7cc,"datagrid"); +var opts=_7cd.options; +_7ce(); +var _7cf=[]; +for(var i=0;i"+".datagrid-group{height:25px;overflow:hidden;font-weight:bold;border-bottom:1px solid #ccc;}"+""); +} +}; +}}); +$.extend($.fn.datagrid.methods,{expandGroup:function(jq,_7d6){ +return jq.each(function(){ +var view=$.data(this,"datagrid").dc.view; +var _7d7=view.find(_7d6!=undefined?"div.datagrid-group[group-index=\""+_7d6+"\"]":"div.datagrid-group"); +var _7d8=_7d7.find("span.datagrid-row-expander"); +if(_7d8.hasClass("datagrid-row-expand")){ +_7d8.removeClass("datagrid-row-expand").addClass("datagrid-row-collapse"); +_7d7.next("table").show(); +} +$(this).datagrid("fixRowHeight"); +}); +},collapseGroup:function(jq,_7d9){ +return jq.each(function(){ +var view=$.data(this,"datagrid").dc.view; +var _7da=view.find(_7d9!=undefined?"div.datagrid-group[group-index=\""+_7d9+"\"]":"div.datagrid-group"); +var _7db=_7da.find("span.datagrid-row-expander"); +if(_7db.hasClass("datagrid-row-collapse")){ +_7db.removeClass("datagrid-row-collapse").addClass("datagrid-row-expand"); +_7da.next("table").hide(); +} +$(this).datagrid("fixRowHeight"); +}); +}}); +$.extend(_7b5,{refreshGroupTitle:function(_7dc,_7dd){ +var _7de=$.data(_7dc,"datagrid"); +var opts=_7de.options; +var dc=_7de.dc; +var _7df=this.groups[_7dd]; +var span=dc.body2.children("div.datagrid-group[group-index="+_7dd+"]").find("span.datagrid-group-title"); +span.html(opts.groupFormatter.call(_7dc,_7df.value,_7df.rows)); +},insertRow:function(_7e0,_7e1,row){ +var _7e2=$.data(_7e0,"datagrid"); +var opts=_7e2.options; +var dc=_7e2.dc; +var _7e3=null; +var _7e4; +for(var i=0;i_7e3.startIndex+_7e3.rows.length){ +_7e1=_7e3.startIndex+_7e3.rows.length; +} +} +$.fn.datagrid.defaults.view.insertRow.call(this,_7e0,_7e1,row); +if(_7e1>=_7e3.startIndex+_7e3.rows.length){ +_7e5(_7e1,true); +_7e5(_7e1,false); +} +_7e3.rows.splice(_7e1-_7e3.startIndex,0,row); +}else{ +_7e3={value:row[opts.groupField],rows:[row],startIndex:_7e2.data.rows.length}; +_7e4=this.groups.length; +dc.body1.append(this.renderGroup.call(this,_7e0,_7e4,_7e3,true)); +dc.body2.append(this.renderGroup.call(this,_7e0,_7e4,_7e3,false)); +this.groups.push(_7e3); +_7e2.data.rows.push(row); +} +this.refreshGroupTitle(_7e0,_7e4); +function _7e5(_7e6,_7e7){ +var _7e8=_7e7?1:2; +var _7e9=opts.finder.getTr(_7e0,_7e6-1,"body",_7e8); +var tr=opts.finder.getTr(_7e0,_7e6,"body",_7e8); +tr.insertAfter(_7e9); +}; +},updateRow:function(_7ea,_7eb,row){ +var opts=$.data(_7ea,"datagrid").options; +$.fn.datagrid.defaults.view.updateRow.call(this,_7ea,_7eb,row); +var tb=opts.finder.getTr(_7ea,_7eb,"body",2).closest("table.datagrid-btable"); +var _7ec=parseInt(tb.prev().attr("group-index")); +this.refreshGroupTitle(_7ea,_7ec); +},deleteRow:function(_7ed,_7ee){ +var _7ef=$.data(_7ed,"datagrid"); +var opts=_7ef.options; +var dc=_7ef.dc; +var body=dc.body1.add(dc.body2); +var tb=opts.finder.getTr(_7ed,_7ee,"body",2).closest("table.datagrid-btable"); +var _7f0=parseInt(tb.prev().attr("group-index")); +$.fn.datagrid.defaults.view.deleteRow.call(this,_7ed,_7ee); +var _7f1=this.groups[_7f0]; +if(_7f1.rows.length>1){ +_7f1.rows.splice(_7ee-_7f1.startIndex,1); +this.refreshGroupTitle(_7ed,_7f0); +}else{ +body.children("div.datagrid-group[group-index="+_7f0+"]").remove(); +for(var i=_7f0+1;i"+""+"
                                      "+""+"").insertAfter(tr); +}; +}; +function _828(_829,_82a,data,_82b){ +var _82c=$.data(_829,"treegrid"); +var opts=_82c.options; +var dc=_82c.dc; +data=opts.loadFilter.call(_829,data,_82a); +var node=find(_829,_82a); +if(node){ +var _82d=opts.finder.getTr(_829,_82a,"body",1); +var _82e=opts.finder.getTr(_829,_82a,"body",2); +var cc1=_82d.next("tr.treegrid-tr-tree").children("td").children("div"); +var cc2=_82e.next("tr.treegrid-tr-tree").children("td").children("div"); +if(!_82b){ +node.children=[]; +} +}else{ +var cc1=dc.body1; +var cc2=dc.body2; +if(!_82b){ +_82c.data=[]; +} +} +if(!_82b){ +cc1.empty(); +cc2.empty(); +} +if(opts.view.onBeforeRender){ +opts.view.onBeforeRender.call(opts.view,_829,_82a,data); +} +opts.view.render.call(opts.view,_829,cc1,true); +opts.view.render.call(opts.view,_829,cc2,false); +if(opts.showFooter){ +opts.view.renderFooter.call(opts.view,_829,dc.footer1,true); +opts.view.renderFooter.call(opts.view,_829,dc.footer2,false); +} +if(opts.view.onAfterRender){ +opts.view.onAfterRender.call(opts.view,_829); +} +if(!_82a&&opts.pagination){ +var _82f=$.data(_829,"treegrid").total; +var _830=$(_829).datagrid("getPager"); +if(_830.pagination("options").total!=_82f){ +_830.pagination({total:_82f}); +} +} +_812(_829); +_81a(_829); +$(_829).treegrid("showLines"); +$(_829).treegrid("setSelectionState"); +$(_829).treegrid("autoSizeColumn"); +opts.onLoadSuccess.call(_829,node,data); +}; +function _811(_831,_832,_833,_834,_835){ +var opts=$.data(_831,"treegrid").options; +var body=$(_831).datagrid("getPanel").find("div.datagrid-body"); +if(_833){ +opts.queryParams=_833; +} +var _836=$.extend({},opts.queryParams); +if(opts.pagination){ +$.extend(_836,{page:opts.pageNumber,rows:opts.pageSize}); +} +if(opts.sortName){ +$.extend(_836,{sort:opts.sortName,order:opts.sortOrder}); +} +var row=find(_831,_832); +if(opts.onBeforeLoad.call(_831,row,_836)==false){ +return; +} +var _837=body.find("tr[node-id=\""+_832+"\"] span.tree-folder"); +_837.addClass("tree-loading"); +$(_831).treegrid("loading"); +var _838=opts.loader.call(_831,_836,function(data){ +_837.removeClass("tree-loading"); +$(_831).treegrid("loaded"); +_828(_831,_832,data,_834); +if(_835){ +_835(); +} +},function(){ +_837.removeClass("tree-loading"); +$(_831).treegrid("loaded"); +opts.onLoadError.apply(_831,arguments); +if(_835){ +_835(); +} +}); +if(_838==false){ +_837.removeClass("tree-loading"); +$(_831).treegrid("loaded"); +} +}; +function _839(_83a){ +var rows=_83b(_83a); +if(rows.length){ +return rows[0]; +}else{ +return null; +} +}; +function _83b(_83c){ +return $.data(_83c,"treegrid").data; +}; +function _83d(_83e,_83f){ +var row=find(_83e,_83f); +if(row._parentId){ +return find(_83e,row._parentId); +}else{ +return null; +} +}; +function _816(_840,_841){ +var opts=$.data(_840,"treegrid").options; +var body=$(_840).datagrid("getPanel").find("div.datagrid-view2 div.datagrid-body"); +var _842=[]; +if(_841){ +_843(_841); +}else{ +var _844=_83b(_840); +for(var i=0;i<_844.length;i++){ +_842.push(_844[i]); +_843(_844[i][opts.idField]); +} +} +function _843(_845){ +var _846=find(_840,_845); +if(_846&&_846.children){ +for(var i=0,len=_846.children.length;i").insertBefore(_866); +if(hit.prev().length){ +hit.prev().remove(); +} +} +} +_828(_864,_865.parent,_865.data,true); +}; +function _867(_868,_869){ +var ref=_869.before||_869.after; +var opts=$.data(_868,"treegrid").options; +var _86a=_83d(_868,ref); +_863(_868,{parent:(_86a?_86a[opts.idField]:null),data:[_869.data]}); +var _86b=_86a?_86a.children:$(_868).treegrid("getRoots"); +for(var i=0;i<_86b.length;i++){ +if(_86b[i][opts.idField]==ref){ +var _86c=_86b[_86b.length-1]; +_86b.splice(_869.before?i:(i+1),0,_86c); +_86b.splice(_86b.length-1,1); +break; +} +} +_86d(true); +_86d(false); +_81a(_868); +$(_868).treegrid("showLines"); +function _86d(_86e){ +var _86f=_86e?1:2; +var tr=opts.finder.getTr(_868,_869.data[opts.idField],"body",_86f); +var _870=tr.closest("table.datagrid-btable"); +tr=tr.parent().children(); +var dest=opts.finder.getTr(_868,ref,"body",_86f); +if(_869.before){ +tr.insertBefore(dest); +}else{ +var sub=dest.next("tr.treegrid-tr-tree"); +tr.insertAfter(sub.length?sub:dest); +} +_870.remove(); +}; +}; +function _871(_872,_873){ +var _874=$.data(_872,"treegrid"); +$(_872).datagrid("deleteRow",_873); +_81a(_872); +_874.total-=1; +$(_872).datagrid("getPager").pagination("refresh",{total:_874.total}); +$(_872).treegrid("showLines"); +}; +function _875(_876){ +var t=$(_876); +var opts=t.treegrid("options"); +if(opts.lines){ +t.treegrid("getPanel").addClass("tree-lines"); +}else{ +t.treegrid("getPanel").removeClass("tree-lines"); +return; +} +t.treegrid("getPanel").find("span.tree-indent").removeClass("tree-line tree-join tree-joinbottom"); +t.treegrid("getPanel").find("div.datagrid-cell").removeClass("tree-node-last tree-root-first tree-root-one"); +var _877=t.treegrid("getRoots"); +if(_877.length>1){ +_878(_877[0]).addClass("tree-root-first"); +}else{ +if(_877.length==1){ +_878(_877[0]).addClass("tree-root-one"); +} +} +_879(_877); +_87a(_877); +function _879(_87b){ +$.map(_87b,function(node){ +if(node.children&&node.children.length){ +_879(node.children); +}else{ +var cell=_878(node); +cell.find(".tree-icon").prev().addClass("tree-join"); +} +}); +if(_87b.length){ +var cell=_878(_87b[_87b.length-1]); +cell.addClass("tree-node-last"); +cell.find(".tree-join").removeClass("tree-join").addClass("tree-joinbottom"); +} +}; +function _87a(_87c){ +$.map(_87c,function(node){ +if(node.children&&node.children.length){ +_87a(node.children); +} +}); +for(var i=0;i<_87c.length-1;i++){ +var node=_87c[i]; +var _87d=t.treegrid("getLevel",node[opts.idField]); +var tr=opts.finder.getTr(_876,node[opts.idField]); +var cc=tr.next().find("tr.datagrid-row td[field=\""+opts.treeField+"\"] div.datagrid-cell"); +cc.find("span:eq("+(_87d-1)+")").addClass("tree-line"); +} +}; +function _878(node){ +var tr=opts.finder.getTr(_876,node[opts.idField]); +var cell=tr.find("td[field=\""+opts.treeField+"\"] div.datagrid-cell"); +return cell; +}; +}; +$.fn.treegrid=function(_87e,_87f){ +if(typeof _87e=="string"){ +var _880=$.fn.treegrid.methods[_87e]; +if(_880){ +return _880(this,_87f); +}else{ +return this.datagrid(_87e,_87f); +} +} +_87e=_87e||{}; +return this.each(function(){ +var _881=$.data(this,"treegrid"); +if(_881){ +$.extend(_881.options,_87e); +}else{ +_881=$.data(this,"treegrid",{options:$.extend({},$.fn.treegrid.defaults,$.fn.treegrid.parseOptions(this),_87e),data:[]}); +} +_7f3(this); +if(_881.options.data){ +$(this).treegrid("loadData",_881.options.data); +} +_811(this); +}); +}; +$.fn.treegrid.methods={options:function(jq){ +return $.data(jq[0],"treegrid").options; +},resize:function(jq,_882){ +return jq.each(function(){ +$(this).datagrid("resize",_882); +}); +},fixRowHeight:function(jq,_883){ +return jq.each(function(){ +_812(this,_883); +}); +},loadData:function(jq,data){ +return jq.each(function(){ +_828(this,data.parent,data); +}); +},load:function(jq,_884){ +return jq.each(function(){ +$(this).treegrid("options").pageNumber=1; +$(this).treegrid("getPager").pagination({pageNumber:1}); +$(this).treegrid("reload",_884); +}); +},reload:function(jq,id){ +return jq.each(function(){ +var opts=$(this).treegrid("options"); +var _885={}; +if(typeof id=="object"){ +_885=id; +}else{ +_885=$.extend({},opts.queryParams); +_885.id=id; +} +if(_885.id){ +var node=$(this).treegrid("find",_885.id); +if(node.children){ +node.children.splice(0,node.children.length); +} +opts.queryParams=_885; +var tr=opts.finder.getTr(this,_885.id); +tr.next("tr.treegrid-tr-tree").remove(); +tr.find("span.tree-hit").removeClass("tree-expanded tree-expanded-hover").addClass("tree-collapsed"); +_850(this,_885.id); +}else{ +_811(this,null,_885); +} +}); +},reloadFooter:function(jq,_886){ +return jq.each(function(){ +var opts=$.data(this,"treegrid").options; +var dc=$.data(this,"datagrid").dc; +if(_886){ +$.data(this,"treegrid").footer=_886; +} +if(opts.showFooter){ +opts.view.renderFooter.call(opts.view,this,dc.footer1,true); +opts.view.renderFooter.call(opts.view,this,dc.footer2,false); +if(opts.view.onAfterRender){ +opts.view.onAfterRender.call(opts.view,this); +} +$(this).treegrid("fixRowHeight"); +} +}); +},getData:function(jq){ +return $.data(jq[0],"treegrid").data; +},getFooterRows:function(jq){ +return $.data(jq[0],"treegrid").footer; +},getRoot:function(jq){ +return _839(jq[0]); +},getRoots:function(jq){ +return _83b(jq[0]); +},getParent:function(jq,id){ +return _83d(jq[0],id); +},getChildren:function(jq,id){ +return _816(jq[0],id); +},getLevel:function(jq,id){ +return _848(jq[0],id); +},find:function(jq,id){ +return find(jq[0],id); +},isLeaf:function(jq,id){ +var opts=$.data(jq[0],"treegrid").options; +var tr=opts.finder.getTr(jq[0],id); +var hit=tr.find("span.tree-hit"); +return hit.length==0; +},select:function(jq,id){ +return jq.each(function(){ +$(this).datagrid("selectRow",id); +}); +},unselect:function(jq,id){ +return jq.each(function(){ +$(this).datagrid("unselectRow",id); +}); +},collapse:function(jq,id){ +return jq.each(function(){ +_84d(this,id); +}); +},expand:function(jq,id){ +return jq.each(function(){ +_850(this,id); +}); +},toggle:function(jq,id){ +return jq.each(function(){ +_820(this,id); +}); +},collapseAll:function(jq,id){ +return jq.each(function(){ +_858(this,id); +}); +},expandAll:function(jq,id){ +return jq.each(function(){ +_85c(this,id); +}); +},expandTo:function(jq,id){ +return jq.each(function(){ +_860(this,id); +}); +},append:function(jq,_887){ +return jq.each(function(){ +_863(this,_887); +}); +},insert:function(jq,_888){ +return jq.each(function(){ +_867(this,_888); +}); +},remove:function(jq,id){ +return jq.each(function(){ +_871(this,id); +}); +},pop:function(jq,id){ +var row=jq.treegrid("find",id); +jq.treegrid("remove",id); +return row; +},refresh:function(jq,id){ +return jq.each(function(){ +var opts=$.data(this,"treegrid").options; +opts.view.refreshRow.call(opts.view,this,id); +}); +},update:function(jq,_889){ +return jq.each(function(){ +var opts=$.data(this,"treegrid").options; +opts.view.updateRow.call(opts.view,this,_889.id,_889.row); +}); +},beginEdit:function(jq,id){ +return jq.each(function(){ +$(this).datagrid("beginEdit",id); +$(this).treegrid("fixRowHeight",id); +}); +},endEdit:function(jq,id){ +return jq.each(function(){ +$(this).datagrid("endEdit",id); +}); +},cancelEdit:function(jq,id){ +return jq.each(function(){ +$(this).datagrid("cancelEdit",id); +}); +},showLines:function(jq){ +return jq.each(function(){ +_875(this); +}); +}}; +$.fn.treegrid.parseOptions=function(_88a){ +return $.extend({},$.fn.datagrid.parseOptions(_88a),$.parser.parseOptions(_88a,["treeField",{animate:"boolean"}])); +}; +var _88b=$.extend({},$.fn.datagrid.defaults.view,{render:function(_88c,_88d,_88e){ +var opts=$.data(_88c,"treegrid").options; +var _88f=$(_88c).datagrid("getColumnFields",_88e); +var _890=$.data(_88c,"datagrid").rowIdPrefix; +if(_88e){ +if(!(opts.rownumbers||(opts.frozenColumns&&opts.frozenColumns.length))){ +return; +} +} +var view=this; +if(this.treeNodes&&this.treeNodes.length){ +var _891=_892(_88e,this.treeLevel,this.treeNodes); +$(_88d).append(_891.join("")); +} +function _892(_893,_894,_895){ +var _896=$(_88c).treegrid("getParent",_895[0][opts.idField]); +var _897=(_896?_896.children.length:$(_88c).treegrid("getRoots").length)-_895.length; +var _898=[""]; +for(var i=0;i<_895.length;i++){ +var row=_895[i]; +if(row.state!="open"&&row.state!="closed"){ +row.state="open"; +} +var css=opts.rowStyler?opts.rowStyler.call(_88c,row):""; +var _899=""; +var _89a=""; +if(typeof css=="string"){ +_89a=css; +}else{ +if(css){ +_899=css["class"]||""; +_89a=css["style"]||""; +} +} +var cls="class=\"datagrid-row "+(_897++%2&&opts.striped?"datagrid-row-alt ":" ")+_899+"\""; +var _89b=_89a?"style=\""+_89a+"\"":""; +var _89c=_890+"-"+(_893?1:2)+"-"+row[opts.idField]; +_898.push(""); +_898=_898.concat(view.renderRow.call(view,_88c,_88f,_893,_894,row)); +_898.push(""); +if(row.children&&row.children.length){ +var tt=_892(_893,_894+1,row.children); +var v=row.state=="closed"?"none":"block"; +_898.push(""); +} +} +_898.push("
                                      "); +_898=_898.concat(tt); +_898.push("
                                      "); +return _898; +}; +},renderFooter:function(_89d,_89e,_89f){ +var opts=$.data(_89d,"treegrid").options; +var rows=$.data(_89d,"treegrid").footer||[]; +var _8a0=$(_89d).datagrid("getColumnFields",_89f); +var _8a1=[""]; +for(var i=0;i"); +_8a1.push(this.renderRow.call(this,_89d,_8a0,_89f,0,row)); +_8a1.push(""); +} +_8a1.push("
                                      "); +$(_89e).html(_8a1.join("")); +},renderRow:function(_8a2,_8a3,_8a4,_8a5,row){ +var opts=$.data(_8a2,"treegrid").options; +var cc=[]; +if(_8a4&&opts.rownumbers){ +cc.push("
                                      0
                                      "); +} +for(var i=0;i<_8a3.length;i++){ +var _8a6=_8a3[i]; +var col=$(_8a2).datagrid("getColumnOption",_8a6); +if(col){ +var css=col.styler?(col.styler(row[_8a6],row)||""):""; +var _8a7=""; +var _8a8=""; +if(typeof css=="string"){ +_8a8=css; +}else{ +if(cc){ +_8a7=css["class"]||""; +_8a8=css["style"]||""; +} +} +var cls=_8a7?"class=\""+_8a7+"\"":""; +var _8a9=col.hidden?"style=\"display:none;"+_8a8+"\"":(_8a8?"style=\""+_8a8+"\"":""); +cc.push(""); +var _8a9=""; +if(!col.checkbox){ +if(col.align){ +_8a9+="text-align:"+col.align+";"; +} +if(!opts.nowrap){ +_8a9+="white-space:normal;height:auto;"; +}else{ +if(opts.autoRowHeight){ +_8a9+="height:auto;"; +} +} +} +cc.push("
                                      "); +if(col.checkbox){ +if(row.checked){ +cc.push(""); +}else{ +var val=null; +if(col.formatter){ +val=col.formatter(row[_8a6],row); +}else{ +val=row[_8a6]; +} +if(_8a6==opts.treeField){ +for(var j=0;j<_8a5;j++){ +cc.push(""); +} +if(row.state=="closed"){ +cc.push(""); +cc.push(""); +}else{ +if(row.children&&row.children.length){ +cc.push(""); +cc.push(""); +}else{ +cc.push(""); +cc.push(""); +} +} +cc.push(""+val+""); +}else{ +cc.push(val); +} +} +cc.push("
                                      "); +cc.push(""); +} +} +return cc.join(""); +},refreshRow:function(_8aa,id){ +this.updateRow.call(this,_8aa,id,{}); +},updateRow:function(_8ab,id,row){ +var opts=$.data(_8ab,"treegrid").options; +var _8ac=$(_8ab).treegrid("find",id); +$.extend(_8ac,row); +var _8ad=$(_8ab).treegrid("getLevel",id)-1; +var _8ae=opts.rowStyler?opts.rowStyler.call(_8ab,_8ac):""; +var _8af=$.data(_8ab,"datagrid").rowIdPrefix; +var _8b0=_8ac[opts.idField]; +function _8b1(_8b2){ +var _8b3=$(_8ab).treegrid("getColumnFields",_8b2); +var tr=opts.finder.getTr(_8ab,id,"body",(_8b2?1:2)); +var _8b4=tr.find("div.datagrid-cell-rownumber").html(); +var _8b5=tr.find("div.datagrid-cell-check input[type=checkbox]").is(":checked"); +tr.html(this.renderRow(_8ab,_8b3,_8b2,_8ad,_8ac)); +tr.attr("style",_8ae||""); +tr.find("div.datagrid-cell-rownumber").html(_8b4); +if(_8b5){ +tr.find("div.datagrid-cell-check input[type=checkbox]")._propAttr("checked",true); +} +if(_8b0!=id){ +tr.attr("id",_8af+"-"+(_8b2?1:2)+"-"+_8b0); +tr.attr("node-id",_8b0); +} +}; +_8b1.call(this,true); +_8b1.call(this,false); +$(_8ab).treegrid("fixRowHeight",id); +},deleteRow:function(_8b6,id){ +var opts=$.data(_8b6,"treegrid").options; +var tr=opts.finder.getTr(_8b6,id); +tr.next("tr.treegrid-tr-tree").remove(); +tr.remove(); +var _8b7=del(id); +if(_8b7){ +if(_8b7.children.length==0){ +tr=opts.finder.getTr(_8b6,_8b7[opts.idField]); +tr.next("tr.treegrid-tr-tree").remove(); +var cell=tr.children("td[field=\""+opts.treeField+"\"]").children("div.datagrid-cell"); +cell.find(".tree-icon").removeClass("tree-folder").addClass("tree-file"); +cell.find(".tree-hit").remove(); +$("").prependTo(cell); +} +} +function del(id){ +var cc; +var _8b8=$(_8b6).treegrid("getParent",id); +if(_8b8){ +cc=_8b8.children; +}else{ +cc=$(_8b6).treegrid("getData"); +} +for(var i=0;ib?1:-1); +}; +r=_8c3(r1[sn],r2[sn])*(so=="asc"?1:-1); +if(r!=0){ +return r; +} +} +return r; +}); +for(var i=0;idiv.combo-p>div.combo-panel:visible").panel("close"); +}); +}); +function _8d5(_8d6){ +var _8d7=$.data(_8d6,"combo"); +var opts=_8d7.options; +if(!_8d7.panel){ +_8d7.panel=$("
                                      ").appendTo("body"); +_8d7.panel.panel({minWidth:opts.panelMinWidth,maxWidth:opts.panelMaxWidth,minHeight:opts.panelMinHeight,maxHeight:opts.panelMaxHeight,doSize:false,closed:true,cls:"combo-p",style:{position:"absolute",zIndex:10},onOpen:function(){ +var _8d8=$(this).panel("options").comboTarget; +var _8d9=$.data(_8d8,"combo"); +if(_8d9){ +_8d9.options.onShowPanel.call(_8d8); +} +},onBeforeClose:function(){ +_8d4(this); +},onClose:function(){ +var _8da=$(this).panel("options").comboTarget; +var _8db=$.data(_8da,"combo"); +if(_8db){ +_8db.options.onHidePanel.call(_8da); +} +}}); +} +var _8dc=$.extend(true,[],opts.icons); +if(opts.hasDownArrow){ +_8dc.push({iconCls:"combo-arrow",handler:function(e){ +_8e0(e.data.target); +}}); +} +$(_8d6).addClass("combo-f").textbox($.extend({},opts,{icons:_8dc,onChange:function(){ +}})); +$(_8d6).attr("comboName",$(_8d6).attr("textboxName")); +_8d7.combo=$(_8d6).next(); +_8d7.combo.addClass("combo"); +}; +function _8dd(_8de){ +var _8df=$.data(_8de,"combo"); +var opts=_8df.options; +var p=_8df.panel; +if(p.is(":visible")){ +p.panel("close"); +} +if(!opts.cloned){ +p.panel("destroy"); +} +$(_8de).textbox("destroy"); +}; +function _8e0(_8e1){ +var _8e2=$.data(_8e1,"combo").panel; +if(_8e2.is(":visible")){ +_8e3(_8e1); +}else{ +var p=$(_8e1).closest("div.combo-panel"); +$("div.combo-panel:visible").not(_8e2).not(p).panel("close"); +$(_8e1).combo("showPanel"); +} +$(_8e1).combo("textbox").focus(); +}; +function _8d4(_8e4){ +$(_8e4).find(".combo-f").each(function(){ +var p=$(this).combo("panel"); +if(p.is(":visible")){ +p.panel("close"); +} +}); +}; +function _8e5(e){ +var _8e6=e.data.target; +var _8e7=$.data(_8e6,"combo"); +var opts=_8e7.options; +var _8e8=_8e7.panel; +if(!opts.editable){ +_8e0(_8e6); +}else{ +var p=$(_8e6).closest("div.combo-panel"); +$("div.combo-panel:visible").not(_8e8).not(p).panel("close"); +} +}; +function _8e9(e){ +var _8ea=e.data.target; +var t=$(_8ea); +var _8eb=t.data("combo"); +var opts=t.combo("options"); +switch(e.keyCode){ +case 38: +opts.keyHandler.up.call(_8ea,e); +break; +case 40: +opts.keyHandler.down.call(_8ea,e); +break; +case 37: +opts.keyHandler.left.call(_8ea,e); +break; +case 39: +opts.keyHandler.right.call(_8ea,e); +break; +case 13: +e.preventDefault(); +opts.keyHandler.enter.call(_8ea,e); +return false; +case 9: +case 27: +_8e3(_8ea); +break; +default: +if(opts.editable){ +if(_8eb.timer){ +clearTimeout(_8eb.timer); +} +_8eb.timer=setTimeout(function(){ +var q=t.combo("getText"); +if(_8eb.previousText!=q){ +_8eb.previousText=q; +t.combo("showPanel"); +opts.keyHandler.query.call(_8ea,q,e); +t.combo("validate"); +} +},opts.delay); +} +} +}; +function _8ec(_8ed){ +var _8ee=$.data(_8ed,"combo"); +var _8ef=_8ee.combo; +var _8f0=_8ee.panel; +var opts=$(_8ed).combo("options"); +var _8f1=_8f0.panel("options"); +_8f1.comboTarget=_8ed; +if(_8f1.closed){ +_8f0.panel("panel").show().css({zIndex:($.fn.menu?$.fn.menu.defaults.zIndex++:$.fn.window.defaults.zIndex++),left:-999999}); +_8f0.panel("resize",{width:(opts.panelWidth?opts.panelWidth:_8ef._outerWidth()),height:opts.panelHeight}); +_8f0.panel("panel").hide(); +_8f0.panel("open"); +} +(function(){ +if(_8f0.is(":visible")){ +_8f0.panel("move",{left:_8f2(),top:_8f3()}); +setTimeout(arguments.callee,200); +} +})(); +function _8f2(){ +var left=_8ef.offset().left; +if(opts.panelAlign=="right"){ +left+=_8ef._outerWidth()-_8f0._outerWidth(); +} +if(left+_8f0._outerWidth()>$(window)._outerWidth()+$(document).scrollLeft()){ +left=$(window)._outerWidth()+$(document).scrollLeft()-_8f0._outerWidth(); +} +if(left<0){ +left=0; +} +return left; +}; +function _8f3(){ +var top=_8ef.offset().top+_8ef._outerHeight(); +if(top+_8f0._outerHeight()>$(window)._outerHeight()+$(document).scrollTop()){ +top=_8ef.offset().top-_8f0._outerHeight(); +} +if(top<$(document).scrollTop()){ +top=_8ef.offset().top+_8ef._outerHeight(); +} +return top; +}; +}; +function _8e3(_8f4){ +var _8f5=$.data(_8f4,"combo").panel; +_8f5.panel("close"); +}; +function _8f6(_8f7){ +var _8f8=$.data(_8f7,"combo"); +var opts=_8f8.options; +var _8f9=_8f8.combo; +$(_8f7).textbox("clear"); +if(opts.multiple){ +_8f9.find(".textbox-value").remove(); +}else{ +_8f9.find(".textbox-value").val(""); +} +}; +function _8fa(_8fb,text){ +var _8fc=$.data(_8fb,"combo"); +var _8fd=$(_8fb).textbox("getText"); +if(_8fd!=text){ +$(_8fb).textbox("setText",text); +_8fc.previousText=text; +} +}; +function _8fe(_8ff){ +var _900=[]; +var _901=$.data(_8ff,"combo").combo; +_901.find(".textbox-value").each(function(){ +_900.push($(this).val()); +}); +return _900; +}; +function _902(_903,_904){ +var _905=$.data(_903,"combo"); +var opts=_905.options; +var _906=_905.combo; +if(!$.isArray(_904)){ +_904=_904.split(opts.separator); +} +var _907=_8fe(_903); +_906.find(".textbox-value").remove(); +var name=$(_903).attr("textboxName")||""; +for(var i=0;i<_904.length;i++){ +var _908=$("").appendTo(_906); +_908.attr("name",name); +if(opts.disabled){ +_908.attr("disabled","disabled"); +} +_908.val(_904[i]); +} +var _909=(function(){ +if(_907.length!=_904.length){ +return true; +} +var a1=$.extend(true,[],_907); +var a2=$.extend(true,[],_904); +a1.sort(); +a2.sort(); +for(var i=0;i_924.height()){ +var h=_924.scrollTop()+item.position().top+item.outerHeight()-_924.height(); +_924.scrollTop(h); +} +} +} +}; +function nav(_925,dir){ +var opts=$.data(_925,"combobox").options; +var _926=$(_925).combobox("panel"); +var item=_926.children("div.combobox-item-hover"); +if(!item.length){ +item=_926.children("div.combobox-item-selected"); +} +item.removeClass("combobox-item-hover"); +var _927="div.combobox-item:visible:not(.combobox-item-disabled):first"; +var _928="div.combobox-item:visible:not(.combobox-item-disabled):last"; +if(!item.length){ +item=_926.children(dir=="next"?_927:_928); +}else{ +if(dir=="next"){ +item=item.nextAll(_927); +if(!item.length){ +item=_926.children(_927); +} +}else{ +item=item.prevAll(_927); +if(!item.length){ +item=_926.children(_928); +} +} +} +if(item.length){ +item.addClass("combobox-item-hover"); +var row=opts.finder.getRow(_925,item); +if(row){ +_921(_925,row[opts.valueField]); +if(opts.selectOnNavigation){ +_929(_925,row[opts.valueField]); +} +} +} +}; +function _929(_92a,_92b){ +var opts=$.data(_92a,"combobox").options; +var _92c=$(_92a).combo("getValues"); +if($.inArray(_92b+"",_92c)==-1){ +if(opts.multiple){ +_92c.push(_92b); +}else{ +_92c=[_92b]; +} +_92d(_92a,_92c); +opts.onSelect.call(_92a,opts.finder.getRow(_92a,_92b)); +} +}; +function _92e(_92f,_930){ +var opts=$.data(_92f,"combobox").options; +var _931=$(_92f).combo("getValues"); +var _932=$.inArray(_930+"",_931); +if(_932>=0){ +_931.splice(_932,1); +_92d(_92f,_931); +opts.onUnselect.call(_92f,opts.finder.getRow(_92f,_930)); +} +}; +function _92d(_933,_934,_935){ +var opts=$.data(_933,"combobox").options; +var _936=$(_933).combo("panel"); +if(!$.isArray(_934)){ +_934=_934.split(opts.separator); +} +_936.find("div.combobox-item-selected").removeClass("combobox-item-selected"); +var vv=[],ss=[]; +for(var i=0;i<_934.length;i++){ +var v=_934[i]; +var s=v; +opts.finder.getEl(_933,v).addClass("combobox-item-selected"); +var row=opts.finder.getRow(_933,v); +if(row){ +s=row[opts.textField]; +} +vv.push(v); +ss.push(s); +} +$(_933).combo("setValues",vv); +if(!_935){ +$(_933).combo("setText",ss.join(opts.separator)); +} +}; +function _937(_938,data,_939){ +var _93a=$.data(_938,"combobox"); +var opts=_93a.options; +_93a.data=opts.loadFilter.call(_938,data); +_93a.groups=[]; +data=_93a.data; +var _93b=$(_938).combobox("getValues"); +var dd=[]; +var _93c=undefined; +for(var i=0;i"); +dd.push(opts.groupFormatter?opts.groupFormatter.call(_938,g):g); +dd.push("
                                      "); +} +}else{ +_93c=undefined; +} +var cls="combobox-item"+(row.disabled?" combobox-item-disabled":"")+(g?" combobox-gitem":""); +dd.push("
                                      "); +dd.push(opts.formatter?opts.formatter.call(_938,row):s); +dd.push("
                                      "); +if(row["selected"]&&$.inArray(v,_93b)==-1){ +_93b.push(v); +} +} +$(_938).combo("panel").html(dd.join("")); +if(opts.multiple){ +_92d(_938,_93b,_939); +}else{ +_92d(_938,_93b.length?[_93b[_93b.length-1]]:[],_939); +} +opts.onLoadSuccess.call(_938,data); +}; +function _93d(_93e,url,_93f,_940){ +var opts=$.data(_93e,"combobox").options; +if(url){ +opts.url=url; +} +_93f=_93f||{}; +if(opts.onBeforeLoad.call(_93e,_93f)==false){ +return; +} +opts.loader.call(_93e,_93f,function(data){ +_937(_93e,data,_940); +},function(){ +opts.onLoadError.apply(this,arguments); +}); +}; +function _941(_942,q){ +var _943=$.data(_942,"combobox"); +var opts=_943.options; +if(opts.multiple&&!q){ +_92d(_942,[],true); +}else{ +_92d(_942,[q],true); +} +if(opts.mode=="remote"){ +_93d(_942,null,{q:q},true); +}else{ +var _944=$(_942).combo("panel"); +_944.find("div.combobox-item-selected,div.combobox-item-hover").removeClass("combobox-item-selected combobox-item-hover"); +_944.find("div.combobox-item,div.combobox-group").hide(); +var data=_943.data; +var vv=[]; +var qq=opts.multiple?q.split(opts.separator):[q]; +$.map(qq,function(q){ +q=$.trim(q); +var _945=undefined; +for(var i=0;i=0){ +vv.push(v); +} +}); +t.combobox("setValues",vv); +if(!opts.multiple){ +t.combobox("hidePanel"); +} +}; +function _94a(_94b){ +var _94c=$.data(_94b,"combobox"); +var opts=_94c.options; +_91c++; +_94c.itemIdPrefix="_easyui_combobox_i"+_91c; +_94c.groupIdPrefix="_easyui_combobox_g"+_91c; +$(_94b).addClass("combobox-f"); +$(_94b).combo($.extend({},opts,{onShowPanel:function(){ +$(_94b).combo("panel").find("div.combobox-item,div.combobox-group").show(); +_921(_94b,$(_94b).combobox("getValue")); +opts.onShowPanel.call(_94b); +}})); +$(_94b).combo("panel").unbind().bind("mouseover",function(e){ +$(this).children("div.combobox-item-hover").removeClass("combobox-item-hover"); +var item=$(e.target).closest("div.combobox-item"); +if(!item.hasClass("combobox-item-disabled")){ +item.addClass("combobox-item-hover"); +} +e.stopPropagation(); +}).bind("mouseout",function(e){ +$(e.target).closest("div.combobox-item").removeClass("combobox-item-hover"); +e.stopPropagation(); +}).bind("click",function(e){ +var item=$(e.target).closest("div.combobox-item"); +if(!item.length||item.hasClass("combobox-item-disabled")){ +return; +} +var row=opts.finder.getRow(_94b,item); +if(!row){ +return; +} +var _94d=row[opts.valueField]; +if(opts.multiple){ +if(item.hasClass("combobox-item-selected")){ +_92e(_94b,_94d); +}else{ +_929(_94b,_94d); +} +}else{ +_929(_94b,_94d); +$(_94b).combo("hidePanel"); +} +e.stopPropagation(); +}); +}; +$.fn.combobox=function(_94e,_94f){ +if(typeof _94e=="string"){ +var _950=$.fn.combobox.methods[_94e]; +if(_950){ +return _950(this,_94f); +}else{ +return this.combo(_94e,_94f); +} +} +_94e=_94e||{}; +return this.each(function(){ +var _951=$.data(this,"combobox"); +if(_951){ +$.extend(_951.options,_94e); +_94a(this); +}else{ +_951=$.data(this,"combobox",{options:$.extend({},$.fn.combobox.defaults,$.fn.combobox.parseOptions(this),_94e),data:[]}); +_94a(this); +var data=$.fn.combobox.parseData(this); +if(data.length){ +_937(this,data); +} +} +if(_951.options.data){ +_937(this,_951.options.data); +} +_93d(this); +}); +}; +$.fn.combobox.methods={options:function(jq){ +var _952=jq.combo("options"); +return $.extend($.data(jq[0],"combobox").options,{width:_952.width,height:_952.height,originalValue:_952.originalValue,disabled:_952.disabled,readonly:_952.readonly}); +},getData:function(jq){ +return $.data(jq[0],"combobox").data; +},setValues:function(jq,_953){ +return jq.each(function(){ +_92d(this,_953); +}); +},setValue:function(jq,_954){ +return jq.each(function(){ +_92d(this,[_954]); +}); +},clear:function(jq){ +return jq.each(function(){ +$(this).combo("clear"); +var _955=$(this).combo("panel"); +_955.find("div.combobox-item-selected").removeClass("combobox-item-selected"); +}); +},reset:function(jq){ +return jq.each(function(){ +var opts=$(this).combobox("options"); +if(opts.multiple){ +$(this).combobox("setValues",opts.originalValue); +}else{ +$(this).combobox("setValue",opts.originalValue); +} +}); +},loadData:function(jq,data){ +return jq.each(function(){ +_937(this,data); +}); +},reload:function(jq,url){ +return jq.each(function(){ +_93d(this,url); +}); +},select:function(jq,_956){ +return jq.each(function(){ +_929(this,_956); +}); +},unselect:function(jq,_957){ +return jq.each(function(){ +_92e(this,_957); +}); +}}; +$.fn.combobox.parseOptions=function(_958){ +var t=$(_958); +return $.extend({},$.fn.combo.parseOptions(_958),$.parser.parseOptions(_958,["valueField","textField","groupField","mode","method","url"])); +}; +$.fn.combobox.parseData=function(_959){ +var data=[]; +var opts=$(_959).combobox("options"); +$(_959).children().each(function(){ +if(this.tagName.toLowerCase()=="optgroup"){ +var _95a=$(this).attr("label"); +$(this).children().each(function(){ +_95b(this,_95a); +}); +}else{ +_95b(this); +} +}); +return data; +function _95b(el,_95c){ +var t=$(el); +var row={}; +row[opts.valueField]=t.attr("value")!=undefined?t.attr("value"):t.text(); +row[opts.textField]=t.text(); +row["selected"]=t.is(":selected"); +row["disabled"]=t.is(":disabled"); +if(_95c){ +opts.groupField=opts.groupField||"group"; +row[opts.groupField]=_95c; +} +data.push(row); +}; +}; +$.fn.combobox.defaults=$.extend({},$.fn.combo.defaults,{valueField:"value",textField:"text",groupField:null,groupFormatter:function(_95d){ +return _95d; +},mode:"local",method:"post",url:null,data:null,keyHandler:{up:function(e){ +nav(this,"prev"); +e.preventDefault(); +},down:function(e){ +nav(this,"next"); +e.preventDefault(); +},left:function(e){ +},right:function(e){ +},enter:function(e){ +_946(this); +},query:function(q,e){ +_941(this,q); +}},filter:function(q,row){ +var opts=$(this).combobox("options"); +return row[opts.textField].toLowerCase().indexOf(q.toLowerCase())==0; +},formatter:function(row){ +var opts=$(this).combobox("options"); +return row[opts.textField]; +},loader:function(_95e,_95f,_960){ +var opts=$(this).combobox("options"); +if(!opts.url){ +return false; +} +$.ajax({type:opts.method,url:opts.url,data:_95e,dataType:"json",success:function(data){ +_95f(data); +},error:function(){ +_960.apply(this,arguments); +}}); +},loadFilter:function(data){ +return data; +},finder:{getEl:function(_961,_962){ +var _963=_91d(_961,_962); +var id=$.data(_961,"combobox").itemIdPrefix+"_"+_963; +return $("#"+id); +},getRow:function(_964,p){ +var _965=$.data(_964,"combobox"); +var _966=(p instanceof jQuery)?p.attr("id").substr(_965.itemIdPrefix.length+1):_91d(_964,p); +return _965.data[parseInt(_966)]; +}},onBeforeLoad:function(_967){ +},onLoadSuccess:function(){ +},onLoadError:function(){ +},onSelect:function(_968){ +},onUnselect:function(_969){ +}}); +})(jQuery); +(function($){ +function _96a(_96b){ +var _96c=$.data(_96b,"combotree"); +var opts=_96c.options; +var tree=_96c.tree; +$(_96b).addClass("combotree-f"); +$(_96b).combo(opts); +var _96d=$(_96b).combo("panel"); +if(!tree){ +tree=$("
                                        ").appendTo(_96d); +$.data(_96b,"combotree").tree=tree; +} +tree.tree($.extend({},opts,{checkbox:opts.multiple,onLoadSuccess:function(node,data){ +var _96e=$(_96b).combotree("getValues"); +if(opts.multiple){ +var _96f=tree.tree("getChecked"); +for(var i=0;i<_96f.length;i++){ +var id=_96f[i].id; +(function(){ +for(var i=0;i<_96e.length;i++){ +if(id==_96e[i]){ +return; +} +} +_96e.push(id); +})(); +} +} +$(_96b).combotree("setValues",_96e); +opts.onLoadSuccess.call(this,node,data); +},onClick:function(node){ +if(opts.multiple){ +$(this).tree(node.checked?"uncheck":"check",node.target); +}else{ +$(_96b).combo("hidePanel"); +} +_971(_96b); +opts.onClick.call(this,node); +},onCheck:function(node,_970){ +_971(_96b); +opts.onCheck.call(this,node,_970); +}})); +}; +function _971(_972){ +var _973=$.data(_972,"combotree"); +var opts=_973.options; +var tree=_973.tree; +var vv=[],ss=[]; +if(opts.multiple){ +var _974=tree.tree("getChecked"); +for(var i=0;i<_974.length;i++){ +vv.push(_974[i].id); +ss.push(_974[i].text); +} +}else{ +var node=tree.tree("getSelected"); +if(node){ +vv.push(node.id); +ss.push(node.text); +} +} +$(_972).combo("setValues",vv).combo("setText",ss.join(opts.separator)); +}; +function _975(_976,_977){ +var _978=$.data(_976,"combotree"); +var opts=_978.options; +var tree=_978.tree; +var _979=tree.tree("options"); +var _97a=_979.onCheck; +var _97b=_979.onSelect; +_979.onCheck=_979.onSelect=function(){ +}; +tree.find("span.tree-checkbox").addClass("tree-checkbox0").removeClass("tree-checkbox1 tree-checkbox2"); +if(!$.isArray(_977)){ +_977=_977.split(opts.separator); +} +for(var i=0;i<_977.length;i++){ +var node=tree.tree("find",_977[i]); +if(node){ +tree.tree("check",node.target); +tree.tree("select",node.target); +} +} +_979.onCheck=_97a; +_979.onSelect=_97b; +_971(_976); +}; +$.fn.combotree=function(_97c,_97d){ +if(typeof _97c=="string"){ +var _97e=$.fn.combotree.methods[_97c]; +if(_97e){ +return _97e(this,_97d); +}else{ +return this.combo(_97c,_97d); +} +} +_97c=_97c||{}; +return this.each(function(){ +var _97f=$.data(this,"combotree"); +if(_97f){ +$.extend(_97f.options,_97c); +}else{ +$.data(this,"combotree",{options:$.extend({},$.fn.combotree.defaults,$.fn.combotree.parseOptions(this),_97c)}); +} +_96a(this); +}); +}; +$.fn.combotree.methods={options:function(jq){ +var _980=jq.combo("options"); +return $.extend($.data(jq[0],"combotree").options,{width:_980.width,height:_980.height,originalValue:_980.originalValue,disabled:_980.disabled,readonly:_980.readonly}); +},clone:function(jq,_981){ +var t=jq.combo("clone",_981); +t.data("combotree",{options:$.extend(true,{},jq.combotree("options")),tree:jq.combotree("tree")}); +return t; +},tree:function(jq){ +return $.data(jq[0],"combotree").tree; +},loadData:function(jq,data){ +return jq.each(function(){ +var opts=$.data(this,"combotree").options; +opts.data=data; +var tree=$.data(this,"combotree").tree; +tree.tree("loadData",data); +}); +},reload:function(jq,url){ +return jq.each(function(){ +var opts=$.data(this,"combotree").options; +var tree=$.data(this,"combotree").tree; +if(url){ +opts.url=url; +} +tree.tree({url:opts.url}); +}); +},setValues:function(jq,_982){ +return jq.each(function(){ +_975(this,_982); +}); +},setValue:function(jq,_983){ +return jq.each(function(){ +_975(this,[_983]); +}); +},clear:function(jq){ +return jq.each(function(){ +var tree=$.data(this,"combotree").tree; +tree.find("div.tree-node-selected").removeClass("tree-node-selected"); +var cc=tree.tree("getChecked"); +for(var i=0;i").appendTo(_98b); +_987.grid=grid; +} +grid.datagrid($.extend({},opts,{border:false,singleSelect:(!opts.multiple),onLoadSuccess:function(data){ +var _98c=$(_986).combo("getValues"); +var _98d=opts.onSelect; +opts.onSelect=function(){ +}; +_997(_986,_98c,_987.remainText); +opts.onSelect=_98d; +opts.onLoadSuccess.apply(_986,arguments); +},onClickRow:_98e,onSelect:function(_98f,row){ +_990(); +opts.onSelect.call(this,_98f,row); +},onUnselect:function(_991,row){ +_990(); +opts.onUnselect.call(this,_991,row); +},onSelectAll:function(rows){ +_990(); +opts.onSelectAll.call(this,rows); +},onUnselectAll:function(rows){ +if(opts.multiple){ +_990(); +} +opts.onUnselectAll.call(this,rows); +}})); +function _98e(_992,row){ +_987.remainText=false; +_990(); +if(!opts.multiple){ +$(_986).combo("hidePanel"); +} +opts.onClickRow.call(this,_992,row); +}; +function _990(){ +var rows=grid.datagrid("getSelections"); +var vv=[],ss=[]; +for(var i=0;i=_995){ +_996=0; +} +} +grid.datagrid("highlightRow",_996); +if(opts.selectOnNavigation){ +_994.remainText=false; +grid.datagrid("selectRow",_996); +} +}; +function _997(_998,_999,_99a){ +var _99b=$.data(_998,"combogrid"); +var opts=_99b.options; +var grid=_99b.grid; +var rows=grid.datagrid("getRows"); +var ss=[]; +var _99c=$(_998).combo("getValues"); +var _99d=$(_998).combo("options"); +var _99e=_99d.onChange; +_99d.onChange=function(){ +}; +grid.datagrid("clearSelections"); +if(!$.isArray(_999)){ +_999=_999.split(opts.separator); +} +for(var i=0;i<_999.length;i++){ +var _99f=grid.datagrid("getRowIndex",_999[i]); +if(_99f>=0){ +grid.datagrid("selectRow",_99f); +ss.push(rows[_99f][opts.textField]); +}else{ +ss.push(_999[i]); +} +} +$(_998).combo("setValues",_99c); +_99d.onChange=_99e; +$(_998).combo("setValues",_999); +if(!_99a){ +var s=ss.join(opts.separator); +if($(_998).combo("getText")!=s){ +$(_998).combo("setText",s); +} +} +}; +function _9a0(_9a1,q){ +var _9a2=$.data(_9a1,"combogrid"); +var opts=_9a2.options; +var grid=_9a2.grid; +_9a2.remainText=true; +if(opts.multiple&&!q){ +_997(_9a1,[],true); +}else{ +_997(_9a1,[q],true); +} +if(opts.mode=="remote"){ +grid.datagrid("clearSelections"); +grid.datagrid("load",$.extend({},opts.queryParams,{q:q})); +}else{ +if(!q){ +return; +} +grid.datagrid("clearSelections").datagrid("highlightRow",-1); +var rows=grid.datagrid("getRows"); +var qq=opts.multiple?q.split(opts.separator):[q]; +$.map(qq,function(q){ +q=$.trim(q); +if(q){ +$.map(rows,function(row,i){ +if(q==row[opts.textField]){ +grid.datagrid("selectRow",i); +}else{ +if(opts.filter.call(_9a1,q,row)){ +grid.datagrid("highlightRow",i); +} +} +}); +} +}); +} +}; +function _9a3(_9a4){ +var _9a5=$.data(_9a4,"combogrid"); +var opts=_9a5.options; +var grid=_9a5.grid; +var tr=opts.finder.getTr(grid[0],null,"highlight"); +_9a5.remainText=false; +if(tr.length){ +var _9a6=parseInt(tr.attr("datagrid-row-index")); +if(opts.multiple){ +if(tr.hasClass("datagrid-row-selected")){ +grid.datagrid("unselectRow",_9a6); +}else{ +grid.datagrid("selectRow",_9a6); +} +}else{ +grid.datagrid("selectRow",_9a6); +} +} +var vv=[]; +$.map(grid.datagrid("getSelections"),function(row){ +vv.push(row[opts.idField]); +}); +$(_9a4).combogrid("setValues",vv); +if(!opts.multiple){ +$(_9a4).combogrid("hidePanel"); +} +}; +$.fn.combogrid=function(_9a7,_9a8){ +if(typeof _9a7=="string"){ +var _9a9=$.fn.combogrid.methods[_9a7]; +if(_9a9){ +return _9a9(this,_9a8); +}else{ +return this.combo(_9a7,_9a8); +} +} +_9a7=_9a7||{}; +return this.each(function(){ +var _9aa=$.data(this,"combogrid"); +if(_9aa){ +$.extend(_9aa.options,_9a7); +}else{ +_9aa=$.data(this,"combogrid",{options:$.extend({},$.fn.combogrid.defaults,$.fn.combogrid.parseOptions(this),_9a7)}); +} +_985(this); +}); +}; +$.fn.combogrid.methods={options:function(jq){ +var _9ab=jq.combo("options"); +return $.extend($.data(jq[0],"combogrid").options,{width:_9ab.width,height:_9ab.height,originalValue:_9ab.originalValue,disabled:_9ab.disabled,readonly:_9ab.readonly}); +},grid:function(jq){ +return $.data(jq[0],"combogrid").grid; +},setValues:function(jq,_9ac){ +return jq.each(function(){ +_997(this,_9ac); +}); +},setValue:function(jq,_9ad){ +return jq.each(function(){ +_997(this,[_9ad]); +}); +},clear:function(jq){ +return jq.each(function(){ +$(this).combogrid("grid").datagrid("clearSelections"); +$(this).combo("clear"); +}); +},reset:function(jq){ +return jq.each(function(){ +var opts=$(this).combogrid("options"); +if(opts.multiple){ +$(this).combogrid("setValues",opts.originalValue); +}else{ +$(this).combogrid("setValue",opts.originalValue); +} +}); +}}; +$.fn.combogrid.parseOptions=function(_9ae){ +var t=$(_9ae); +return $.extend({},$.fn.combo.parseOptions(_9ae),$.fn.datagrid.parseOptions(_9ae),$.parser.parseOptions(_9ae,["idField","textField","mode"])); +}; +$.fn.combogrid.defaults=$.extend({},$.fn.combo.defaults,$.fn.datagrid.defaults,{height:22,loadMsg:null,idField:null,textField:null,mode:"local",keyHandler:{up:function(e){ +nav(this,"prev"); +e.preventDefault(); +},down:function(e){ +nav(this,"next"); +e.preventDefault(); +},left:function(e){ +},right:function(e){ +},enter:function(e){ +_9a3(this); +},query:function(q,e){ +_9a0(this,q); +}},filter:function(q,row){ +var opts=$(this).combogrid("options"); +return row[opts.textField].toLowerCase().indexOf(q.toLowerCase())==0; +}}); +})(jQuery); +(function($){ +function _9af(_9b0){ +var _9b1=$.data(_9b0,"datebox"); +var opts=_9b1.options; +$(_9b0).addClass("datebox-f").combo($.extend({},opts,{onShowPanel:function(){ +_9b2(this); +_9b3(this); +_9b4(this); +_9c2(this,$(this).datebox("getText"),true); +opts.onShowPanel.call(this); +}})); +if(!_9b1.calendar){ +var _9b5=$(_9b0).combo("panel").css("overflow","hidden"); +_9b5.panel("options").onBeforeDestroy=function(){ +var c=$(this).find(".calendar-shared"); +if(c.length){ +c.insertBefore(c[0].pholder); +} +}; +var cc=$("
                                        ").prependTo(_9b5); +if(opts.sharedCalendar){ +var c=$(opts.sharedCalendar); +if(!c[0].pholder){ +c[0].pholder=$("
                                        ").insertAfter(c); +} +c.addClass("calendar-shared").appendTo(cc); +if(!c.hasClass("calendar")){ +c.calendar(); +} +_9b1.calendar=c; +}else{ +_9b1.calendar=$("
                                        ").appendTo(cc).calendar(); +} +$.extend(_9b1.calendar.calendar("options"),{fit:true,border:false,onSelect:function(date){ +var _9b6=this.target; +var opts=$(_9b6).datebox("options"); +_9c2(_9b6,opts.formatter.call(_9b6,date)); +$(_9b6).combo("hidePanel"); +opts.onSelect.call(_9b6,date); +}}); +} +$(_9b0).combo("textbox").parent().addClass("datebox"); +$(_9b0).datebox("initValue",opts.value); +function _9b2(_9b7){ +var opts=$(_9b7).datebox("options"); +var _9b8=$(_9b7).combo("panel"); +_9b8.unbind(".datebox").bind("click.datebox",function(e){ +if($(e.target).hasClass("datebox-button-a")){ +var _9b9=parseInt($(e.target).attr("datebox-button-index")); +opts.buttons[_9b9].handler.call(e.target,_9b7); +} +}); +}; +function _9b3(_9ba){ +var _9bb=$(_9ba).combo("panel"); +if(_9bb.children("div.datebox-button").length){ +return; +} +var _9bc=$("
                                        ").appendTo(_9bb); +var tr=_9bc.find("tr"); +for(var i=0;i").appendTo(tr); +var btn=opts.buttons[i]; +var t=$("").html($.isFunction(btn.text)?btn.text(_9ba):btn.text).appendTo(td); +t.attr("datebox-button-index",i); +} +tr.find("td").css("width",(100/opts.buttons.length)+"%"); +}; +function _9b4(_9bd){ +var _9be=$(_9bd).combo("panel"); +var cc=_9be.children("div.datebox-calendar-inner"); +_9be.children()._outerWidth(_9be.width()); +_9b1.calendar.appendTo(cc); +_9b1.calendar[0].target=_9bd; +if(opts.panelHeight!="auto"){ +var _9bf=_9be.height(); +_9be.children().not(cc).each(function(){ +_9bf-=$(this).outerHeight(); +}); +cc._outerHeight(_9bf); +} +_9b1.calendar.calendar("resize"); +}; +}; +function _9c0(_9c1,q){ +_9c2(_9c1,q,true); +}; +function _9c3(_9c4){ +var _9c5=$.data(_9c4,"datebox"); +var opts=_9c5.options; +var _9c6=_9c5.calendar.calendar("options").current; +if(_9c6){ +_9c2(_9c4,opts.formatter.call(_9c4,_9c6)); +$(_9c4).combo("hidePanel"); +} +}; +function _9c2(_9c7,_9c8,_9c9){ +var _9ca=$.data(_9c7,"datebox"); +var opts=_9ca.options; +var _9cb=_9ca.calendar; +$(_9c7).combo("setValue",_9c8); +_9cb.calendar("moveTo",opts.parser.call(_9c7,_9c8)); +if(!_9c9){ +if(_9c8){ +_9c8=opts.formatter.call(_9c7,_9cb.calendar("options").current); +$(_9c7).combo("setValue",_9c8).combo("setText",_9c8); +}else{ +$(_9c7).combo("setText",_9c8); +} +} +}; +$.fn.datebox=function(_9cc,_9cd){ +if(typeof _9cc=="string"){ +var _9ce=$.fn.datebox.methods[_9cc]; +if(_9ce){ +return _9ce(this,_9cd); +}else{ +return this.combo(_9cc,_9cd); +} +} +_9cc=_9cc||{}; +return this.each(function(){ +var _9cf=$.data(this,"datebox"); +if(_9cf){ +$.extend(_9cf.options,_9cc); +}else{ +$.data(this,"datebox",{options:$.extend({},$.fn.datebox.defaults,$.fn.datebox.parseOptions(this),_9cc)}); +} +_9af(this); +}); +}; +$.fn.datebox.methods={options:function(jq){ +var _9d0=jq.combo("options"); +return $.extend($.data(jq[0],"datebox").options,{width:_9d0.width,height:_9d0.height,originalValue:_9d0.originalValue,disabled:_9d0.disabled,readonly:_9d0.readonly}); +},cloneFrom:function(jq,from){ +return jq.each(function(){ +$(this).combo("cloneFrom",from); +$.data(this,"datebox",{options:$.extend(true,{},$(from).datebox("options")),calendar:$(from).datebox("calendar")}); +$(this).addClass("datebox-f"); +}); +},calendar:function(jq){ +return $.data(jq[0],"datebox").calendar; +},initValue:function(jq,_9d1){ +return jq.each(function(){ +var opts=$(this).datebox("options"); +var _9d2=opts.value; +if(_9d2){ +_9d2=opts.formatter.call(this,opts.parser.call(this,_9d2)); +} +$(this).combo("initValue",_9d2).combo("setText",_9d2); +}); +},setValue:function(jq,_9d3){ +return jq.each(function(){ +_9c2(this,_9d3); +}); +},reset:function(jq){ +return jq.each(function(){ +var opts=$(this).datebox("options"); +$(this).datebox("setValue",opts.originalValue); +}); +}}; +$.fn.datebox.parseOptions=function(_9d4){ +return $.extend({},$.fn.combo.parseOptions(_9d4),$.parser.parseOptions(_9d4,["sharedCalendar"])); +}; +$.fn.datebox.defaults=$.extend({},$.fn.combo.defaults,{panelWidth:180,panelHeight:"auto",sharedCalendar:null,keyHandler:{up:function(e){ +},down:function(e){ +},left:function(e){ +},right:function(e){ +},enter:function(e){ +_9c3(this); +},query:function(q,e){ +_9c0(this,q); +}},currentText:"Today",closeText:"Close",okText:"Ok",buttons:[{text:function(_9d5){ +return $(_9d5).datebox("options").currentText; +},handler:function(_9d6){ +$(_9d6).datebox("calendar").calendar({year:new Date().getFullYear(),month:new Date().getMonth()+1,current:new Date()}); +_9c3(_9d6); +}},{text:function(_9d7){ +return $(_9d7).datebox("options").closeText; +},handler:function(_9d8){ +$(this).closest("div.combo-panel").panel("close"); +}}],formatter:function(date){ +var y=date.getFullYear(); +var m=date.getMonth()+1; +var d=date.getDate(); +return (m<10?("0"+m):m)+"/"+(d<10?("0"+d):d)+"/"+y; +},parser:function(s){ +if(!s){ +return new Date(); +} +var ss=s.split("/"); +var m=parseInt(ss[0],10); +var d=parseInt(ss[1],10); +var y=parseInt(ss[2],10); +if(!isNaN(y)&&!isNaN(m)&&!isNaN(d)){ +return new Date(y,m-1,d); +}else{ +return new Date(); +} +},onSelect:function(date){ +}}); +})(jQuery); +(function($){ +function _9d9(_9da){ +var _9db=$.data(_9da,"datetimebox"); +var opts=_9db.options; +$(_9da).datebox($.extend({},opts,{onShowPanel:function(){ +var _9dc=$(this).datetimebox("getValue"); +_9e2(this,_9dc,true); +opts.onShowPanel.call(this); +},formatter:$.fn.datebox.defaults.formatter,parser:$.fn.datebox.defaults.parser})); +$(_9da).removeClass("datebox-f").addClass("datetimebox-f"); +$(_9da).datebox("calendar").calendar({onSelect:function(date){ +opts.onSelect.call(this.target,date); +}}); +if(!_9db.spinner){ +var _9dd=$(_9da).datebox("panel"); +var p=$("
                                        ").insertAfter(_9dd.children("div.datebox-calendar-inner")); +_9db.spinner=p.children("input"); +} +_9db.spinner.timespinner({width:opts.spinnerWidth,showSeconds:opts.showSeconds,separator:opts.timeSeparator}); +$(_9da).datetimebox("initValue",opts.value); +}; +function _9de(_9df){ +var c=$(_9df).datetimebox("calendar"); +var t=$(_9df).datetimebox("spinner"); +var date=c.calendar("options").current; +return new Date(date.getFullYear(),date.getMonth(),date.getDate(),t.timespinner("getHours"),t.timespinner("getMinutes"),t.timespinner("getSeconds")); +}; +function _9e0(_9e1,q){ +_9e2(_9e1,q,true); +}; +function _9e3(_9e4){ +var opts=$.data(_9e4,"datetimebox").options; +var date=_9de(_9e4); +_9e2(_9e4,opts.formatter.call(_9e4,date)); +$(_9e4).combo("hidePanel"); +}; +function _9e2(_9e5,_9e6,_9e7){ +var opts=$.data(_9e5,"datetimebox").options; +$(_9e5).combo("setValue",_9e6); +if(!_9e7){ +if(_9e6){ +var date=opts.parser.call(_9e5,_9e6); +$(_9e5).combo("setValue",opts.formatter.call(_9e5,date)); +$(_9e5).combo("setText",opts.formatter.call(_9e5,date)); +}else{ +$(_9e5).combo("setText",_9e6); +} +} +var date=opts.parser.call(_9e5,_9e6); +$(_9e5).datetimebox("calendar").calendar("moveTo",date); +$(_9e5).datetimebox("spinner").timespinner("setValue",_9e8(date)); +function _9e8(date){ +function _9e9(_9ea){ +return (_9ea<10?"0":"")+_9ea; +}; +var tt=[_9e9(date.getHours()),_9e9(date.getMinutes())]; +if(opts.showSeconds){ +tt.push(_9e9(date.getSeconds())); +} +return tt.join($(_9e5).datetimebox("spinner").timespinner("options").separator); +}; +}; +$.fn.datetimebox=function(_9eb,_9ec){ +if(typeof _9eb=="string"){ +var _9ed=$.fn.datetimebox.methods[_9eb]; +if(_9ed){ +return _9ed(this,_9ec); +}else{ +return this.datebox(_9eb,_9ec); +} +} +_9eb=_9eb||{}; +return this.each(function(){ +var _9ee=$.data(this,"datetimebox"); +if(_9ee){ +$.extend(_9ee.options,_9eb); +}else{ +$.data(this,"datetimebox",{options:$.extend({},$.fn.datetimebox.defaults,$.fn.datetimebox.parseOptions(this),_9eb)}); +} +_9d9(this); +}); +}; +$.fn.datetimebox.methods={options:function(jq){ +var _9ef=jq.datebox("options"); +return $.extend($.data(jq[0],"datetimebox").options,{originalValue:_9ef.originalValue,disabled:_9ef.disabled,readonly:_9ef.readonly}); +},cloneFrom:function(jq,from){ +return jq.each(function(){ +$(this).datebox("cloneFrom",from); +$.data(this,"datetimebox",{options:$.extend(true,{},$(from).datetimebox("options")),spinner:$(from).datetimebox("spinner")}); +$(this).removeClass("datebox-f").addClass("datetimebox-f"); +}); +},spinner:function(jq){ +return $.data(jq[0],"datetimebox").spinner; +},initValue:function(jq,_9f0){ +return jq.each(function(){ +var opts=$(this).datetimebox("options"); +var _9f1=opts.value; +if(_9f1){ +_9f1=opts.formatter.call(this,opts.parser.call(this,_9f1)); +} +$(this).combo("initValue",_9f1).combo("setText",_9f1); +}); +},setValue:function(jq,_9f2){ +return jq.each(function(){ +_9e2(this,_9f2); +}); +},reset:function(jq){ +return jq.each(function(){ +var opts=$(this).datetimebox("options"); +$(this).datetimebox("setValue",opts.originalValue); +}); +}}; +$.fn.datetimebox.parseOptions=function(_9f3){ +var t=$(_9f3); +return $.extend({},$.fn.datebox.parseOptions(_9f3),$.parser.parseOptions(_9f3,["timeSeparator","spinnerWidth",{showSeconds:"boolean"}])); +}; +$.fn.datetimebox.defaults=$.extend({},$.fn.datebox.defaults,{spinnerWidth:"100%",showSeconds:true,timeSeparator:":",keyHandler:{up:function(e){ +},down:function(e){ +},left:function(e){ +},right:function(e){ +},enter:function(e){ +_9e3(this); +},query:function(q,e){ +_9e0(this,q); +}},buttons:[{text:function(_9f4){ +return $(_9f4).datetimebox("options").currentText; +},handler:function(_9f5){ +var opts=$(_9f5).datetimebox("options"); +_9e2(_9f5,opts.formatter.call(_9f5,new Date())); +$(_9f5).datetimebox("hidePanel"); +}},{text:function(_9f6){ +return $(_9f6).datetimebox("options").okText; +},handler:function(_9f7){ +_9e3(_9f7); +}},{text:function(_9f8){ +return $(_9f8).datetimebox("options").closeText; +},handler:function(_9f9){ +$(_9f9).datetimebox("hidePanel"); +}}],formatter:function(date){ +var h=date.getHours(); +var M=date.getMinutes(); +var s=date.getSeconds(); +function _9fa(_9fb){ +return (_9fb<10?"0":"")+_9fb; +}; +var _9fc=$(this).datetimebox("spinner").timespinner("options").separator; +var r=$.fn.datebox.defaults.formatter(date)+" "+_9fa(h)+_9fc+_9fa(M); +if($(this).datetimebox("options").showSeconds){ +r+=_9fc+_9fa(s); +} +return r; +},parser:function(s){ +if($.trim(s)==""){ +return new Date(); +} +var dt=s.split(" "); +var d=$.fn.datebox.defaults.parser(dt[0]); +if(dt.length<2){ +return d; +} +var _9fd=$(this).datetimebox("spinner").timespinner("options").separator; +var tt=dt[1].split(_9fd); +var hour=parseInt(tt[0],10)||0; +var _9fe=parseInt(tt[1],10)||0; +var _9ff=parseInt(tt[2],10)||0; +return new Date(d.getFullYear(),d.getMonth(),d.getDate(),hour,_9fe,_9ff); +}}); +})(jQuery); +(function($){ +function init(_a00){ +var _a01=$("
                                        "+"
                                        "+""+""+"
                                        "+"
                                        "+"
                                        "+"
                                        "+""+"
                                        ").insertAfter(_a00); +var t=$(_a00); +t.addClass("slider-f").hide(); +var name=t.attr("name"); +if(name){ +_a01.find("input.slider-value").attr("name",name); +t.removeAttr("name").attr("sliderName",name); +} +_a01.bind("_resize",function(e,_a02){ +if($(this).hasClass("easyui-fluid")||_a02){ +_a03(_a00); +} +return false; +}); +return _a01; +}; +function _a03(_a04,_a05){ +var _a06=$.data(_a04,"slider"); +var opts=_a06.options; +var _a07=_a06.slider; +if(_a05){ +if(_a05.width){ +opts.width=_a05.width; +} +if(_a05.height){ +opts.height=_a05.height; +} +} +_a07._size(opts); +if(opts.mode=="h"){ +_a07.css("height",""); +_a07.children("div").css("height",""); +}else{ +_a07.css("width",""); +_a07.children("div").css("width",""); +_a07.children("div.slider-rule,div.slider-rulelabel,div.slider-inner")._outerHeight(_a07._outerHeight()); +} +_a08(_a04); +}; +function _a09(_a0a){ +var _a0b=$.data(_a0a,"slider"); +var opts=_a0b.options; +var _a0c=_a0b.slider; +var aa=opts.mode=="h"?opts.rule:opts.rule.slice(0).reverse(); +if(opts.reversed){ +aa=aa.slice(0).reverse(); +} +_a0d(aa); +function _a0d(aa){ +var rule=_a0c.find("div.slider-rule"); +var _a0e=_a0c.find("div.slider-rulelabel"); +rule.empty(); +_a0e.empty(); +for(var i=0;i").appendTo(rule); +span.css((opts.mode=="h"?"left":"top"),_a0f); +if(aa[i]!="|"){ +span=$("").appendTo(_a0e); +span.html(aa[i]); +if(opts.mode=="h"){ +span.css({left:_a0f,marginLeft:-Math.round(span.outerWidth()/2)}); +}else{ +span.css({top:_a0f,marginTop:-Math.round(span.outerHeight()/2)}); +} +} +} +}; +}; +function _a10(_a11){ +var _a12=$.data(_a11,"slider"); +var opts=_a12.options; +var _a13=_a12.slider; +_a13.removeClass("slider-h slider-v slider-disabled"); +_a13.addClass(opts.mode=="h"?"slider-h":"slider-v"); +_a13.addClass(opts.disabled?"slider-disabled":""); +_a13.find("a.slider-handle").draggable({axis:opts.mode,cursor:"pointer",disabled:opts.disabled,onDrag:function(e){ +var left=e.data.left; +var _a14=_a13.width(); +if(opts.mode!="h"){ +left=e.data.top; +_a14=_a13.height(); +} +if(left<0||left>_a14){ +return false; +}else{ +var _a15=_a27(_a11,left); +_a16(_a15); +return false; +} +},onBeforeDrag:function(){ +_a12.isDragging=true; +},onStartDrag:function(){ +opts.onSlideStart.call(_a11,opts.value); +},onStopDrag:function(e){ +var _a17=_a27(_a11,(opts.mode=="h"?e.data.left:e.data.top)); +_a16(_a17); +opts.onSlideEnd.call(_a11,opts.value); +opts.onComplete.call(_a11,opts.value); +_a12.isDragging=false; +}}); +_a13.find("div.slider-inner").unbind(".slider").bind("mousedown.slider",function(e){ +if(_a12.isDragging||opts.disabled){ +return; +} +var pos=$(this).offset(); +var _a18=_a27(_a11,(opts.mode=="h"?(e.pageX-pos.left):(e.pageY-pos.top))); +_a16(_a18); +opts.onComplete.call(_a11,opts.value); +}); +function _a16(_a19){ +var s=Math.abs(_a19%opts.step); +if(sopts.max){ +_a1c=opts.max; +} +opts.value=_a1c; +$(_a1b).val(_a1c); +_a1e.find("input.slider-value").val(_a1c); +var pos=_a20(_a1b,_a1c); +var tip=_a1e.find(".slider-tip"); +if(opts.showTip){ +tip.show(); +tip.html(opts.tipFormatter.call(_a1b,opts.value)); +}else{ +tip.hide(); +} +if(opts.mode=="h"){ +var _a21="left:"+pos+"px;"; +_a1e.find(".slider-handle").attr("style",_a21); +tip.attr("style",_a21+"margin-left:"+(-Math.round(tip.outerWidth()/2))+"px"); +}else{ +var _a21="top:"+pos+"px;"; +_a1e.find(".slider-handle").attr("style",_a21); +tip.attr("style",_a21+"margin-left:"+(-Math.round(tip.outerWidth()))+"px"); +} +if(_a1f!=_a1c){ +opts.onChange.call(_a1b,_a1c,_a1f); +} +}; +function _a08(_a22){ +var opts=$.data(_a22,"slider").options; +var fn=opts.onChange; +opts.onChange=function(){ +}; +_a1a(_a22,opts.value); +opts.onChange=fn; +}; +function _a20(_a23,_a24){ +var _a25=$.data(_a23,"slider"); +var opts=_a25.options; +var _a26=_a25.slider; +var size=opts.mode=="h"?_a26.width():_a26.height(); +var pos=opts.converter.toPosition.call(_a23,_a24,size); +if(opts.mode=="v"){ +pos=_a26.height()-pos; +} +if(opts.reversed){ +pos=size-pos; +} +return pos.toFixed(0); +}; +function _a27(_a28,pos){ +var _a29=$.data(_a28,"slider"); +var opts=_a29.options; +var _a2a=_a29.slider; +var size=opts.mode=="h"?_a2a.width():_a2a.height(); +var _a2b=opts.converter.toValue.call(_a28,opts.mode=="h"?(opts.reversed?(size-pos):pos):(size-pos),size); +return _a2b.toFixed(0); +}; +$.fn.slider=function(_a2c,_a2d){ +if(typeof _a2c=="string"){ +return $.fn.slider.methods[_a2c](this,_a2d); +} +_a2c=_a2c||{}; +return this.each(function(){ +var _a2e=$.data(this,"slider"); +if(_a2e){ +$.extend(_a2e.options,_a2c); +}else{ +_a2e=$.data(this,"slider",{options:$.extend({},$.fn.slider.defaults,$.fn.slider.parseOptions(this),_a2c),slider:init(this)}); +$(this).removeAttr("disabled"); +} +var opts=_a2e.options; +opts.min=parseFloat(opts.min); +opts.max=parseFloat(opts.max); +opts.value=parseFloat(opts.value); +opts.step=parseFloat(opts.step); +opts.originalValue=opts.value; +_a10(this); +_a09(this); +_a03(this); +}); +}; +$.fn.slider.methods={options:function(jq){ +return $.data(jq[0],"slider").options; +},destroy:function(jq){ +return jq.each(function(){ +$.data(this,"slider").slider.remove(); +$(this).remove(); +}); +},resize:function(jq,_a2f){ +return jq.each(function(){ +_a03(this,_a2f); +}); +},getValue:function(jq){ +return jq.slider("options").value; +},setValue:function(jq,_a30){ +return jq.each(function(){ +_a1a(this,_a30); +}); +},clear:function(jq){ +return jq.each(function(){ +var opts=$(this).slider("options"); +_a1a(this,opts.min); +}); +},reset:function(jq){ +return jq.each(function(){ +var opts=$(this).slider("options"); +_a1a(this,opts.originalValue); +}); +},enable:function(jq){ +return jq.each(function(){ +$.data(this,"slider").options.disabled=false; +_a10(this); +}); +},disable:function(jq){ +return jq.each(function(){ +$.data(this,"slider").options.disabled=true; +_a10(this); +}); +}}; +$.fn.slider.parseOptions=function(_a31){ +var t=$(_a31); +return $.extend({},$.parser.parseOptions(_a31,["width","height","mode",{reversed:"boolean",showTip:"boolean",min:"number",max:"number",step:"number"}]),{value:(t.val()||undefined),disabled:(t.attr("disabled")?true:undefined),rule:(t.attr("rule")?eval(t.attr("rule")):undefined)}); +}; +$.fn.slider.defaults={width:"auto",height:"auto",mode:"h",reversed:false,showTip:false,disabled:false,value:0,min:0,max:100,step:1,rule:[],tipFormatter:function(_a32){ +return _a32; +},converter:{toPosition:function(_a33,size){ +var opts=$(this).slider("options"); +return (_a33-opts.min)/(opts.max-opts.min)*size; +},toValue:function(pos,size){ +var opts=$(this).slider("options"); +return opts.min+(opts.max-opts.min)*(pos/size); +}},onChange:function(_a34,_a35){ +},onSlideStart:function(_a36){ +},onSlideEnd:function(_a37){ +},onComplete:function(_a38){ +}}; +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/jquery.min.js b/src/main/webapp/lib/jquery-easyui/jquery.min.js new file mode 100644 index 0000000..ab28a24 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/jquery.min.js @@ -0,0 +1,4 @@ +/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.1",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b=a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="
                                        ",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h; +if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML="
                                        a",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function ab(){return!0}function bb(){return!1}function cb(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h]","i"),hb=/^\s+/,ib=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jb=/<([\w:]+)/,kb=/\s*$/g,rb={option:[1,""],legend:[1,"
                                        ","
                                        "],area:[1,"",""],param:[1,"",""],thead:[1,"","
                                        "],tr:[2,"","
                                        "],col:[2,"","
                                        "],td:[3,"","
                                        "],_default:k.htmlSerialize?[0,"",""]:[1,"X
                                        ","
                                        "]},sb=db(y),tb=sb.appendChild(y.createElement("div"));rb.optgroup=rb.option,rb.tbody=rb.tfoot=rb.colgroup=rb.caption=rb.thead,rb.th=rb.td;function ub(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ub(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function vb(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wb(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xb(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function yb(a){var b=pb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function zb(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Ab(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Bb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xb(b).text=a.text,yb(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!gb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(tb.innerHTML=a.outerHTML,tb.removeChild(f=tb.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ub(f),h=ub(a),g=0;null!=(e=h[g]);++g)d[g]&&Bb(e,d[g]);if(b)if(c)for(h=h||ub(a),d=d||ub(f),g=0;null!=(e=h[g]);g++)Ab(e,d[g]);else Ab(a,f);return d=ub(f,"script"),d.length>0&&zb(d,!i&&ub(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=db(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(lb.test(f)){h=h||o.appendChild(b.createElement("div")),i=(jb.exec(f)||["",""])[1].toLowerCase(),l=rb[i]||rb._default,h.innerHTML=l[1]+f.replace(ib,"<$1>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&hb.test(f)&&p.push(b.createTextNode(hb.exec(f)[0])),!k.tbody){f="table"!==i||kb.test(f)?""!==l[1]||kb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ub(p,"input"),vb),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ub(o.appendChild(f),"script"),g&&zb(h),c)){e=0;while(f=h[e++])ob.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ub(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&zb(ub(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ub(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fb,""):void 0;if(!("string"!=typeof a||mb.test(a)||!k.htmlSerialize&&gb.test(a)||!k.leadingWhitespace&&hb.test(a)||rb[(jb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ib,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ub(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ub(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&nb.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ub(i,"script"),xb),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ub(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,yb),j=0;f>j;j++)d=g[j],ob.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qb,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Cb,Db={};function Eb(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fb(a){var b=y,c=Db[a];return c||(c=Eb(a,b),"none"!==c&&c||(Cb=(Cb||m("").appendTo("body"); +_7.attr("src",window.ActiveXObject?"javascript:false":"about:blank"); +_7.css({position:"absolute",top:-1000,left:-1000}); +_7.bind("load",cb); +_8(_5); +function _8(_9){ +var _a=$(_2); +if(_4.url){ +_a.attr("action",_4.url); +} +var t=_a.attr("target"),a=_a.attr("action"); +_a.attr("target",_6); +var _b=$(); +try{ +for(var n in _9){ +var _c=$("").val(_9[n]).appendTo(_a); +_b=_b.add(_c); +} +_d(); +_a[0].submit(); +} +finally{ +_a.attr("action",a); +t?_a.attr("target",t):_a.removeAttr("target"); +_b.remove(); +} +}; +function _d(){ +var f=$("#"+_6); +if(!f.length){ +return; +} +try{ +var s=f.contents()[0].readyState; +if(s&&s.toLowerCase()=="uninitialized"){ +setTimeout(_d,100); +} +} +catch(e){ +cb(); +} +}; +var _e=10; +function cb(){ +var f=$("#"+_6); +if(!f.length){ +return; +} +f.unbind(); +var _f=""; +try{ +var _10=f.contents().find("body"); +_f=_10.html(); +if(_f==""){ +if(--_e){ +setTimeout(cb,100); +return; +} +} +var ta=_10.find(">textarea"); +if(ta.length){ +_f=ta.val(); +}else{ +var pre=_10.find(">pre"); +if(pre.length){ +_f=pre.html(); +} +} +} +catch(e){ +} +_4.success(_f); +setTimeout(function(){ +f.unbind(); +f.remove(); +},100); +}; +}; +function _11(_12,_13){ +var _14=$.data(_12,"form").options; +if(typeof _13=="string"){ +var _15={}; +if(_14.onBeforeLoad.call(_12,_15)==false){ +return; +} +$.ajax({url:_13,data:_15,dataType:"json",success:function(_16){ +_17(_16); +},error:function(){ +_14.onLoadError.apply(_12,arguments); +}}); +}else{ +_17(_13); +} +function _17(_18){ +var _19=$(_12); +for(var _1a in _18){ +var val=_18[_1a]; +var rr=_1b(_1a,val); +if(!rr.length){ +var _1c=_1d(_1a,val); +if(!_1c){ +$("input[name=\""+_1a+"\"]",_19).val(val); +$("textarea[name=\""+_1a+"\"]",_19).val(val); +$("select[name=\""+_1a+"\"]",_19).val(val); +} +} +_1e(_1a,val); +} +_14.onLoadSuccess.call(_12,_18); +_2b(_12); +}; +function _1b(_1f,val){ +var rr=$(_12).find("input[name=\""+_1f+"\"][type=radio], input[name=\""+_1f+"\"][type=checkbox]"); +rr._propAttr("checked",false); +rr.each(function(){ +var f=$(this); +if(f.val()==String(val)||$.inArray(f.val(),$.isArray(val)?val:[val])>=0){ +f._propAttr("checked",true); +} +}); +return rr; +}; +function _1d(_20,val){ +var _21=0; +var pp=["textbox","numberbox","slider"]; +for(var i=0;i=0){ +_17(_13,_15,this); +} +}); +}; +cc.children("form").length?_14(cc.children("form")):_14(cc); +cc.append("
                                        "); +cc.bind("_resize",function(e,_16){ +if($(this).hasClass("easyui-fluid")||_16){ +_2(_13); +} +return false; +}); +}; +function _17(_18,_19,el){ +_19.region=_19.region||"center"; +var _1a=$.data(_18,"layout").panels; +var cc=$(_18); +var dir=_19.region; +if(_1a[dir].length){ +return; +} +var pp=$(el); +if(!pp.length){ +pp=$("
                                        ").appendTo(cc); +} +var _1b=$.extend({},$.fn.layout.paneldefaults,{width:(pp.length?parseInt(pp[0].style.width)||pp.outerWidth():"auto"),height:(pp.length?parseInt(pp[0].style.height)||pp.outerHeight():"auto"),doSize:false,collapsible:true,cls:("layout-panel layout-panel-"+dir),bodyCls:"layout-body",onOpen:function(){ +var _1c=$(this).panel("header").children("div.panel-tool"); +_1c.children("a.panel-tool-collapse").hide(); +var _1d={north:"up",south:"down",east:"right",west:"left"}; +if(!_1d[dir]){ +return; +} +var _1e="layout-button-"+_1d[dir]; +var t=_1c.children("a."+_1e); +if(!t.length){ +t=$("").addClass(_1e).appendTo(_1c); +t.bind("click",{dir:dir},function(e){ +_2b(_18,e.data.dir); +return false; +}); +} +$(this).panel("options").collapsible?t.show():t.hide(); +}},_19); +pp.panel(_1b); +_1a[dir]=pp; +if(pp.panel("options").split){ +var _1f=pp.panel("panel"); +_1f.addClass("layout-split-"+dir); +var _20=""; +if(dir=="north"){ +_20="s"; +} +if(dir=="south"){ +_20="n"; +} +if(dir=="east"){ +_20="w"; +} +if(dir=="west"){ +_20="e"; +} +_1f.resizable($.extend({},{handles:_20,onStartResize:function(e){ +_1=true; +if(dir=="north"||dir=="south"){ +var _21=$(">div.layout-split-proxy-v",_18); +}else{ +var _21=$(">div.layout-split-proxy-h",_18); +} +var top=0,_22=0,_23=0,_24=0; +var pos={display:"block"}; +if(dir=="north"){ +pos.top=parseInt(_1f.css("top"))+_1f.outerHeight()-_21.height(); +pos.left=parseInt(_1f.css("left")); +pos.width=_1f.outerWidth(); +pos.height=_21.height(); +}else{ +if(dir=="south"){ +pos.top=parseInt(_1f.css("top")); +pos.left=parseInt(_1f.css("left")); +pos.width=_1f.outerWidth(); +pos.height=_21.height(); +}else{ +if(dir=="east"){ +pos.top=parseInt(_1f.css("top"))||0; +pos.left=parseInt(_1f.css("left"))||0; +pos.width=_21.width(); +pos.height=_1f.outerHeight(); +}else{ +if(dir=="west"){ +pos.top=parseInt(_1f.css("top"))||0; +pos.left=_1f.outerWidth()-_21.width(); +pos.width=_21.width(); +pos.height=_1f.outerHeight(); +} +} +} +} +_21.css(pos); +$("
                                        ").css({left:0,top:0,width:cc.width(),height:cc.height()}).appendTo(cc); +},onResize:function(e){ +if(dir=="north"||dir=="south"){ +var _25=$(">div.layout-split-proxy-v",_18); +_25.css("top",e.pageY-$(_18).offset().top-_25.height()/2); +}else{ +var _25=$(">div.layout-split-proxy-h",_18); +_25.css("left",e.pageX-$(_18).offset().left-_25.width()/2); +} +return false; +},onStopResize:function(e){ +cc.children("div.layout-split-proxy-v,div.layout-split-proxy-h").hide(); +pp.panel("resize",e.data); +_2(_18); +_1=false; +cc.find(">div.layout-mask").remove(); +}},_19)); +} +}; +function _26(_27,_28){ +var _29=$.data(_27,"layout").panels; +if(_29[_28].length){ +_29[_28].panel("destroy"); +_29[_28]=$(); +var _2a="expand"+_28.substring(0,1).toUpperCase()+_28.substring(1); +if(_29[_2a]){ +_29[_2a].panel("destroy"); +_29[_2a]=undefined; +} +} +}; +function _2b(_2c,_2d,_2e){ +if(_2e==undefined){ +_2e="normal"; +} +var _2f=$.data(_2c,"layout").panels; +var p=_2f[_2d]; +var _30=p.panel("options"); +if(_30.onBeforeCollapse.call(p)==false){ +return; +} +var _31="expand"+_2d.substring(0,1).toUpperCase()+_2d.substring(1); +if(!_2f[_31]){ +_2f[_31]=_32(_2d); +_2f[_31].panel("panel").bind("click",function(){ +p.panel("expand",false).panel("open"); +var _33=_34(); +p.panel("resize",_33.collapse); +p.panel("panel").animate(_33.expand,function(){ +$(this).unbind(".layout").bind("mouseleave.layout",{region:_2d},function(e){ +if(_1==true){ +return; +} +if($("body>div.combo-p>div.combo-panel:visible").length){ +return; +} +_2b(_2c,e.data.region); +}); +}); +return false; +}); +} +var _35=_34(); +if(!_a(_2f[_31])){ +_2f.center.panel("resize",_35.resizeC); +} +p.panel("panel").animate(_35.collapse,_2e,function(){ +p.panel("collapse",false).panel("close"); +_2f[_31].panel("open").panel("resize",_35.expandP); +$(this).unbind(".layout"); +}); +function _32(dir){ +var _36; +if(dir=="east"){ +_36="layout-button-left"; +}else{ +if(dir=="west"){ +_36="layout-button-right"; +}else{ +if(dir=="north"){ +_36="layout-button-down"; +}else{ +if(dir=="south"){ +_36="layout-button-up"; +} +} +} +} +var p=$("
                                        ").appendTo(_2c); +p.panel($.extend({},$.fn.layout.paneldefaults,{cls:("layout-expand layout-expand-"+dir),title:" ",closed:true,minWidth:0,minHeight:0,doSize:false,tools:[{iconCls:_36,handler:function(){ +_3c(_2c,_2d); +return false; +}}]})); +p.panel("panel").hover(function(){ +$(this).addClass("layout-expand-over"); +},function(){ +$(this).removeClass("layout-expand-over"); +}); +return p; +}; +function _34(){ +var cc=$(_2c); +var _37=_2f.center.panel("options"); +var _38=_30.collapsedSize; +if(_2d=="east"){ +var _39=p.panel("panel")._outerWidth(); +var _3a=_37.width+_39-_38; +if(_30.split||!_30.border){ +_3a++; +} +return {resizeC:{width:_3a},expand:{left:cc.width()-_39},expandP:{top:_37.top,left:cc.width()-_38,width:_38,height:_37.height},collapse:{left:cc.width(),top:_37.top,height:_37.height}}; +}else{ +if(_2d=="west"){ +var _39=p.panel("panel")._outerWidth(); +var _3a=_37.width+_39-_38; +if(_30.split||!_30.border){ +_3a++; +} +return {resizeC:{width:_3a,left:_38-1},expand:{left:0},expandP:{left:0,top:_37.top,width:_38,height:_37.height},collapse:{left:-_39,top:_37.top,height:_37.height}}; +}else{ +if(_2d=="north"){ +var _3b=p.panel("panel")._outerHeight(); +var hh=_37.height; +if(!_a(_2f.expandNorth)){ +hh+=_3b-_38+((_30.split||!_30.border)?1:0); +} +_2f.east.add(_2f.west).add(_2f.expandEast).add(_2f.expandWest).panel("resize",{top:_38-1,height:hh}); +return {resizeC:{top:_38-1,height:hh},expand:{top:0},expandP:{top:0,left:0,width:cc.width(),height:_38},collapse:{top:-_3b,width:cc.width()}}; +}else{ +if(_2d=="south"){ +var _3b=p.panel("panel")._outerHeight(); +var hh=_37.height; +if(!_a(_2f.expandSouth)){ +hh+=_3b-_38+((_30.split||!_30.border)?1:0); +} +_2f.east.add(_2f.west).add(_2f.expandEast).add(_2f.expandWest).panel("resize",{height:hh}); +return {resizeC:{height:hh},expand:{top:cc.height()-_3b},expandP:{top:cc.height()-_38,left:0,width:cc.width(),height:_38},collapse:{top:cc.height(),width:cc.width()}}; +} +} +} +} +}; +}; +function _3c(_3d,_3e){ +var _3f=$.data(_3d,"layout").panels; +var p=_3f[_3e]; +var _40=p.panel("options"); +if(_40.onBeforeExpand.call(p)==false){ +return; +} +var _41="expand"+_3e.substring(0,1).toUpperCase()+_3e.substring(1); +if(_3f[_41]){ +_3f[_41].panel("close"); +p.panel("panel").stop(true,true); +p.panel("expand",false).panel("open"); +var _42=_43(); +p.panel("resize",_42.collapse); +p.panel("panel").animate(_42.expand,function(){ +_2(_3d); +}); +} +function _43(){ +var cc=$(_3d); +var _44=_3f.center.panel("options"); +if(_3e=="east"&&_3f.expandEast){ +return {collapse:{left:cc.width(),top:_44.top,height:_44.height},expand:{left:cc.width()-p.panel("panel")._outerWidth()}}; +}else{ +if(_3e=="west"&&_3f.expandWest){ +return {collapse:{left:-p.panel("panel")._outerWidth(),top:_44.top,height:_44.height},expand:{left:0}}; +}else{ +if(_3e=="north"&&_3f.expandNorth){ +return {collapse:{top:-p.panel("panel")._outerHeight(),width:cc.width()},expand:{top:0}}; +}else{ +if(_3e=="south"&&_3f.expandSouth){ +return {collapse:{top:cc.height(),width:cc.width()},expand:{top:cc.height()-p.panel("panel")._outerHeight()}}; +} +} +} +} +}; +}; +function _a(pp){ +if(!pp){ +return false; +} +if(pp.length){ +return pp.panel("panel").is(":visible"); +}else{ +return false; +} +}; +function _45(_46){ +var _47=$.data(_46,"layout").panels; +if(_47.east.length&&_47.east.panel("options").collapsed){ +_2b(_46,"east",0); +} +if(_47.west.length&&_47.west.panel("options").collapsed){ +_2b(_46,"west",0); +} +if(_47.north.length&&_47.north.panel("options").collapsed){ +_2b(_46,"north",0); +} +if(_47.south.length&&_47.south.panel("options").collapsed){ +_2b(_46,"south",0); +} +}; +$.fn.layout=function(_48,_49){ +if(typeof _48=="string"){ +return $.fn.layout.methods[_48](this,_49); +} +_48=_48||{}; +return this.each(function(){ +var _4a=$.data(this,"layout"); +if(_4a){ +$.extend(_4a.options,_48); +}else{ +var _4b=$.extend({},$.fn.layout.defaults,$.fn.layout.parseOptions(this),_48); +$.data(this,"layout",{options:_4b,panels:{center:$(),north:$(),south:$(),east:$(),west:$()}}); +_12(this); +} +_2(this); +_45(this); +}); +}; +$.fn.layout.methods={options:function(jq){ +return $.data(jq[0],"layout").options; +},resize:function(jq,_4c){ +return jq.each(function(){ +_2(this,_4c); +}); +},panel:function(jq,_4d){ +return $.data(jq[0],"layout").panels[_4d]; +},collapse:function(jq,_4e){ +return jq.each(function(){ +_2b(this,_4e); +}); +},expand:function(jq,_4f){ +return jq.each(function(){ +_3c(this,_4f); +}); +},add:function(jq,_50){ +return jq.each(function(){ +_17(this,_50); +_2(this); +if($(this).layout("panel",_50.region).panel("options").collapsed){ +_2b(this,_50.region,0); +} +}); +},remove:function(jq,_51){ +return jq.each(function(){ +_26(this,_51); +_2(this); +}); +}}; +$.fn.layout.parseOptions=function(_52){ +return $.extend({},$.parser.parseOptions(_52,[{fit:"boolean"}])); +}; +$.fn.layout.defaults={fit:false}; +$.fn.layout.parsePanelOptions=function(_53){ +var t=$(_53); +return $.extend({},$.fn.panel.parseOptions(_53),$.parser.parseOptions(_53,["region",{split:"boolean",collpasedSize:"number",minWidth:"number",minHeight:"number",maxWidth:"number",maxHeight:"number"}])); +}; +$.fn.layout.paneldefaults=$.extend({},$.fn.panel.defaults,{region:null,split:false,collapsedSize:28,minWidth:10,minHeight:10,maxWidth:10000,maxHeight:10000}); +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.linkbutton.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.linkbutton.js new file mode 100644 index 0000000..95ad437 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.linkbutton.js @@ -0,0 +1,181 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +function _1(_2,_3){ +var _4=$.data(_2,"linkbutton").options; +if(_3){ +$.extend(_4,_3); +} +if(_4.width||_4.height||_4.fit){ +var _5=$(_2); +var _6=_5.parent(); +var _7=_5.is(":visible"); +if(!_7){ +var _8=$("
                                        ").insertBefore(_2); +var _9={position:_5.css("position"),display:_5.css("display"),left:_5.css("left")}; +_5.appendTo("body"); +_5.css({position:"absolute",display:"inline-block",left:-20000}); +} +_5._size(_4,_6); +var _a=_5.find(".l-btn-left"); +_a.css("margin-top",0); +_a.css("margin-top",parseInt((_5.height()-_a.height())/2)+"px"); +if(!_7){ +_5.insertAfter(_8); +_5.css(_9); +_8.remove(); +} +} +}; +function _b(_c){ +var _d=$.data(_c,"linkbutton").options; +var t=$(_c).empty(); +t.addClass("l-btn").removeClass("l-btn-plain l-btn-selected l-btn-plain-selected"); +t.removeClass("l-btn-small l-btn-medium l-btn-large").addClass("l-btn-"+_d.size); +if(_d.plain){ +t.addClass("l-btn-plain"); +} +if(_d.selected){ +t.addClass(_d.plain?"l-btn-selected l-btn-plain-selected":"l-btn-selected"); +} +t.attr("group",_d.group||""); +t.attr("id",_d.id||""); +var _e=$("").appendTo(t); +if(_d.text){ +$("").html(_d.text).appendTo(_e); +}else{ +$(" ").appendTo(_e); +} +if(_d.iconCls){ +$(" ").addClass(_d.iconCls).appendTo(_e); +_e.addClass("l-btn-icon-"+_d.iconAlign); +} +t.unbind(".linkbutton").bind("focus.linkbutton",function(){ +if(!_d.disabled){ +$(this).addClass("l-btn-focus"); +} +}).bind("blur.linkbutton",function(){ +$(this).removeClass("l-btn-focus"); +}).bind("click.linkbutton",function(){ +if(!_d.disabled){ +if(_d.toggle){ +if(_d.selected){ +$(this).linkbutton("unselect"); +}else{ +$(this).linkbutton("select"); +} +} +_d.onClick.call(this); +} +}); +_f(_c,_d.selected); +_10(_c,_d.disabled); +}; +function _f(_11,_12){ +var _13=$.data(_11,"linkbutton").options; +if(_12){ +if(_13.group){ +$("a.l-btn[group=\""+_13.group+"\"]").each(function(){ +var o=$(this).linkbutton("options"); +if(o.toggle){ +$(this).removeClass("l-btn-selected l-btn-plain-selected"); +o.selected=false; +} +}); +} +$(_11).addClass(_13.plain?"l-btn-selected l-btn-plain-selected":"l-btn-selected"); +_13.selected=true; +}else{ +if(!_13.group){ +$(_11).removeClass("l-btn-selected l-btn-plain-selected"); +_13.selected=false; +} +} +}; +function _10(_14,_15){ +var _16=$.data(_14,"linkbutton"); +var _17=_16.options; +$(_14).removeClass("l-btn-disabled l-btn-plain-disabled"); +if(_15){ +_17.disabled=true; +var _18=$(_14).attr("href"); +if(_18){ +_16.href=_18; +$(_14).attr("href","javascript:void(0)"); +} +if(_14.onclick){ +_16.onclick=_14.onclick; +_14.onclick=null; +} +_17.plain?$(_14).addClass("l-btn-disabled l-btn-plain-disabled"):$(_14).addClass("l-btn-disabled"); +}else{ +_17.disabled=false; +if(_16.href){ +$(_14).attr("href",_16.href); +} +if(_16.onclick){ +_14.onclick=_16.onclick; +} +} +}; +$.fn.linkbutton=function(_19,_1a){ +if(typeof _19=="string"){ +return $.fn.linkbutton.methods[_19](this,_1a); +} +_19=_19||{}; +return this.each(function(){ +var _1b=$.data(this,"linkbutton"); +if(_1b){ +$.extend(_1b.options,_19); +}else{ +$.data(this,"linkbutton",{options:$.extend({},$.fn.linkbutton.defaults,$.fn.linkbutton.parseOptions(this),_19)}); +$(this).removeAttr("disabled"); +$(this).bind("_resize",function(e,_1c){ +if($(this).hasClass("easyui-fluid")||_1c){ +_1(this); +} +return false; +}); +} +_b(this); +_1(this); +}); +}; +$.fn.linkbutton.methods={options:function(jq){ +return $.data(jq[0],"linkbutton").options; +},resize:function(jq,_1d){ +return jq.each(function(){ +_1(this,_1d); +}); +},enable:function(jq){ +return jq.each(function(){ +_10(this,false); +}); +},disable:function(jq){ +return jq.each(function(){ +_10(this,true); +}); +},select:function(jq){ +return jq.each(function(){ +_f(this,true); +}); +},unselect:function(jq){ +return jq.each(function(){ +_f(this,false); +}); +}}; +$.fn.linkbutton.parseOptions=function(_1e){ +var t=$(_1e); +return $.extend({},$.parser.parseOptions(_1e,["id","iconCls","iconAlign","group","size",{plain:"boolean",toggle:"boolean",selected:"boolean"}]),{disabled:(t.attr("disabled")?true:undefined),text:$.trim(t.html()),iconCls:(t.attr("icon")||t.attr("iconCls"))}); +}; +$.fn.linkbutton.defaults={id:null,disabled:false,toggle:false,selected:false,group:null,plain:false,text:"",iconCls:null,iconAlign:"left",size:"small",onClick:function(){ +}}; +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.menu.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.menu.js new file mode 100644 index 0000000..e97df3a --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.menu.js @@ -0,0 +1,485 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +function _1(_2){ +$(_2).appendTo("body"); +$(_2).addClass("menu-top"); +$(document).unbind(".menu").bind("mousedown.menu",function(e){ +var m=$(e.target).closest("div.menu,div.combo-p"); +if(m.length){ +return; +} +$("body>div.menu-top:visible").menu("hide"); +}); +var _3=_4($(_2)); +for(var i=0;i<_3.length;i++){ +_5(_3[i]); +} +function _4(_6){ +var _7=[]; +_6.addClass("menu"); +_7.push(_6); +if(!_6.hasClass("menu-content")){ +_6.children("div").each(function(){ +var _8=$(this).children("div"); +if(_8.length){ +_8.insertAfter(_2); +this.submenu=_8; +var mm=_4(_8); +_7=_7.concat(mm); +} +}); +} +return _7; +}; +function _5(_9){ +var wh=$.parser.parseOptions(_9[0],["width","height"]); +_9[0].originalHeight=wh.height||0; +if(_9.hasClass("menu-content")){ +_9[0].originalWidth=wh.width||_9._outerWidth(); +}else{ +_9[0].originalWidth=wh.width||0; +_9.children("div").each(function(){ +var _a=$(this); +var _b=$.extend({},$.parser.parseOptions(this,["name","iconCls","href",{separator:"boolean"}]),{disabled:(_a.attr("disabled")?true:undefined)}); +if(_b.separator){ +_a.addClass("menu-sep"); +} +if(!_a.hasClass("menu-sep")){ +_a[0].itemName=_b.name||""; +_a[0].itemHref=_b.href||""; +var _c=_a.addClass("menu-item").html(); +_a.empty().append($("
                                        ").html(_c)); +if(_b.iconCls){ +$("
                                        ").addClass(_b.iconCls).appendTo(_a); +} +if(_b.disabled){ +_d(_2,_a[0],true); +} +if(_a[0].submenu){ +$("
                                        ").appendTo(_a); +} +_e(_2,_a); +} +}); +$("
                                        ").prependTo(_9); +} +_f(_2,_9); +_9.hide(); +_10(_2,_9); +}; +}; +function _f(_11,_12){ +var _13=$.data(_11,"menu").options; +var _14=_12.attr("style")||""; +_12.css({display:"block",left:-10000,height:"auto",overflow:"hidden"}); +var el=_12[0]; +var _15=el.originalWidth||0; +if(!_15){ +_15=0; +_12.find("div.menu-text").each(function(){ +if(_15<$(this)._outerWidth()){ +_15=$(this)._outerWidth(); +} +$(this).closest("div.menu-item")._outerHeight($(this)._outerHeight()+2); +}); +_15+=40; +} +_15=Math.max(_15,_13.minWidth); +var _16=el.originalHeight||0; +if(!_16){ +_16=_12.outerHeight(); +if(_12.hasClass("menu-top")&&_13.alignTo){ +var at=$(_13.alignTo); +var h1=at.offset().top-$(document).scrollTop(); +var h2=$(window)._outerHeight()+$(document).scrollTop()-at.offset().top-at._outerHeight(); +_16=Math.min(_16,Math.max(h1,h2)); +}else{ +if(_16>$(window)._outerHeight()){ +_16=$(window).height(); +_14+=";overflow:auto"; +}else{ +_14+=";overflow:hidden"; +} +} +} +var _17=Math.max(el.originalHeight,_12.outerHeight())-2; +_12._outerWidth(_15)._outerHeight(_16); +_12.children("div.menu-line")._outerHeight(_17); +_14+=";width:"+el.style.width+";height:"+el.style.height; +_12.attr("style",_14); +}; +function _10(_18,_19){ +var _1a=$.data(_18,"menu"); +_19.unbind(".menu").bind("mouseenter.menu",function(){ +if(_1a.timer){ +clearTimeout(_1a.timer); +_1a.timer=null; +} +}).bind("mouseleave.menu",function(){ +if(_1a.options.hideOnUnhover){ +_1a.timer=setTimeout(function(){ +_1b(_18); +},_1a.options.duration); +} +}); +}; +function _e(_1c,_1d){ +if(!_1d.hasClass("menu-item")){ +return; +} +_1d.unbind(".menu"); +_1d.bind("click.menu",function(){ +if($(this).hasClass("menu-item-disabled")){ +return; +} +if(!this.submenu){ +_1b(_1c); +var _1e=this.itemHref; +if(_1e){ +location.href=_1e; +} +} +var _1f=$(_1c).menu("getItem",this); +$.data(_1c,"menu").options.onClick.call(_1c,_1f); +}).bind("mouseenter.menu",function(e){ +_1d.siblings().each(function(){ +if(this.submenu){ +_22(this.submenu); +} +$(this).removeClass("menu-active"); +}); +_1d.addClass("menu-active"); +if($(this).hasClass("menu-item-disabled")){ +_1d.addClass("menu-active-disabled"); +return; +} +var _20=_1d[0].submenu; +if(_20){ +$(_1c).menu("show",{menu:_20,parent:_1d}); +} +}).bind("mouseleave.menu",function(e){ +_1d.removeClass("menu-active menu-active-disabled"); +var _21=_1d[0].submenu; +if(_21){ +if(e.pageX>=parseInt(_21.css("left"))){ +_1d.addClass("menu-active"); +}else{ +_22(_21); +} +}else{ +_1d.removeClass("menu-active"); +} +}); +}; +function _1b(_23){ +var _24=$.data(_23,"menu"); +if(_24){ +if($(_23).is(":visible")){ +_22($(_23)); +_24.options.onHide.call(_23); +} +} +return false; +}; +function _25(_26,_27){ +var _28,top; +_27=_27||{}; +var _29=$(_27.menu||_26); +$(_26).menu("resize",_29[0]); +if(_29.hasClass("menu-top")){ +var _2a=$.data(_26,"menu").options; +$.extend(_2a,_27); +_28=_2a.left; +top=_2a.top; +if(_2a.alignTo){ +var at=$(_2a.alignTo); +_28=at.offset().left; +top=at.offset().top+at._outerHeight(); +if(_2a.align=="right"){ +_28+=at.outerWidth()-_29.outerWidth(); +} +} +if(_28+_29.outerWidth()>$(window)._outerWidth()+$(document)._scrollLeft()){ +_28=$(window)._outerWidth()+$(document).scrollLeft()-_29.outerWidth()-5; +} +if(_28<0){ +_28=0; +} +top=_2b(top,_2a.alignTo); +}else{ +var _2c=_27.parent; +_28=_2c.offset().left+_2c.outerWidth()-2; +if(_28+_29.outerWidth()+5>$(window)._outerWidth()+$(document).scrollLeft()){ +_28=_2c.offset().left-_29.outerWidth()+2; +} +top=_2b(_2c.offset().top-3); +} +function _2b(top,_2d){ +if(top+_29.outerHeight()>$(window)._outerHeight()+$(document).scrollTop()){ +if(_2d){ +top=$(_2d).offset().top-_29._outerHeight(); +}else{ +top=$(window)._outerHeight()+$(document).scrollTop()-_29.outerHeight(); +} +} +if(top<0){ +top=0; +} +return top; +}; +_29.css({left:_28,top:top}); +_29.show(0,function(){ +if(!_29[0].shadow){ +_29[0].shadow=$("
                                        ").insertAfter(_29); +} +_29[0].shadow.css({display:"block",zIndex:$.fn.menu.defaults.zIndex++,left:_29.css("left"),top:_29.css("top"),width:_29.outerWidth(),height:_29.outerHeight()}); +_29.css("z-index",$.fn.menu.defaults.zIndex++); +if(_29.hasClass("menu-top")){ +$.data(_29[0],"menu").options.onShow.call(_29[0]); +} +}); +}; +function _22(_2e){ +if(!_2e){ +return; +} +_2f(_2e); +_2e.find("div.menu-item").each(function(){ +if(this.submenu){ +_22(this.submenu); +} +$(this).removeClass("menu-active"); +}); +function _2f(m){ +m.stop(true,true); +if(m[0].shadow){ +m[0].shadow.hide(); +} +m.hide(); +}; +}; +function _30(_31,_32){ +var _33=null; +var tmp=$("
                                        "); +function _34(_35){ +_35.children("div.menu-item").each(function(){ +var _36=$(_31).menu("getItem",this); +var s=tmp.empty().html(_36.text).text(); +if(_32==$.trim(s)){ +_33=_36; +}else{ +if(this.submenu&&!_33){ +_34(this.submenu); +} +} +}); +}; +_34($(_31)); +tmp.remove(); +return _33; +}; +function _d(_37,_38,_39){ +var t=$(_38); +if(!t.hasClass("menu-item")){ +return; +} +if(_39){ +t.addClass("menu-item-disabled"); +if(_38.onclick){ +_38.onclick1=_38.onclick; +_38.onclick=null; +} +}else{ +t.removeClass("menu-item-disabled"); +if(_38.onclick1){ +_38.onclick=_38.onclick1; +_38.onclick1=null; +} +} +}; +function _3a(_3b,_3c){ +var _3d=$(_3b); +if(_3c.parent){ +if(!_3c.parent.submenu){ +var _3e=$("
                                        ").appendTo("body"); +_3e.hide(); +_3c.parent.submenu=_3e; +$("
                                        ").appendTo(_3c.parent); +} +_3d=_3c.parent.submenu; +} +if(_3c.separator){ +var _3f=$("
                                        ").appendTo(_3d); +}else{ +var _3f=$("
                                        ").appendTo(_3d); +$("
                                        ").html(_3c.text).appendTo(_3f); +} +if(_3c.iconCls){ +$("
                                        ").addClass(_3c.iconCls).appendTo(_3f); +} +if(_3c.id){ +_3f.attr("id",_3c.id); +} +if(_3c.name){ +_3f[0].itemName=_3c.name; +} +if(_3c.href){ +_3f[0].itemHref=_3c.href; +} +if(_3c.onclick){ +if(typeof _3c.onclick=="string"){ +_3f.attr("onclick",_3c.onclick); +}else{ +_3f[0].onclick=eval(_3c.onclick); +} +} +if(_3c.handler){ +_3f[0].onclick=eval(_3c.handler); +} +if(_3c.disabled){ +_d(_3b,_3f[0],true); +} +_e(_3b,_3f); +_10(_3b,_3d); +_f(_3b,_3d); +}; +function _40(_41,_42){ +function _43(el){ +if(el.submenu){ +el.submenu.children("div.menu-item").each(function(){ +_43(this); +}); +var _44=el.submenu[0].shadow; +if(_44){ +_44.remove(); +} +el.submenu.remove(); +} +$(el).remove(); +}; +var _45=$(_42).parent(); +_43(_42); +_f(_41,_45); +}; +function _46(_47,_48,_49){ +var _4a=$(_48).parent(); +if(_49){ +$(_48).show(); +}else{ +$(_48).hide(); +} +_f(_47,_4a); +}; +function _4b(_4c){ +$(_4c).children("div.menu-item").each(function(){ +_40(_4c,this); +}); +if(_4c.shadow){ +_4c.shadow.remove(); +} +$(_4c).remove(); +}; +$.fn.menu=function(_4d,_4e){ +if(typeof _4d=="string"){ +return $.fn.menu.methods[_4d](this,_4e); +} +_4d=_4d||{}; +return this.each(function(){ +var _4f=$.data(this,"menu"); +if(_4f){ +$.extend(_4f.options,_4d); +}else{ +_4f=$.data(this,"menu",{options:$.extend({},$.fn.menu.defaults,$.fn.menu.parseOptions(this),_4d)}); +_1(this); +} +$(this).css({left:_4f.options.left,top:_4f.options.top}); +}); +}; +$.fn.menu.methods={options:function(jq){ +return $.data(jq[0],"menu").options; +},show:function(jq,pos){ +return jq.each(function(){ +_25(this,pos); +}); +},hide:function(jq){ +return jq.each(function(){ +_1b(this); +}); +},destroy:function(jq){ +return jq.each(function(){ +_4b(this); +}); +},setText:function(jq,_50){ +return jq.each(function(){ +$(_50.target).children("div.menu-text").html(_50.text); +}); +},setIcon:function(jq,_51){ +return jq.each(function(){ +$(_51.target).children("div.menu-icon").remove(); +if(_51.iconCls){ +$("
                                        ").addClass(_51.iconCls).appendTo(_51.target); +} +}); +},getItem:function(jq,_52){ +var t=$(_52); +var _53={target:_52,id:t.attr("id"),text:$.trim(t.children("div.menu-text").html()),disabled:t.hasClass("menu-item-disabled"),name:_52.itemName,href:_52.itemHref,onclick:_52.onclick}; +var _54=t.children("div.menu-icon"); +if(_54.length){ +var cc=[]; +var aa=_54.attr("class").split(" "); +for(var i=0;i").addClass(_3.cls.arrow).appendTo(_5); +$("").addClass("m-btn-line").appendTo(_5); +if(_3.menu){ +$(_3.menu).menu({duration:_3.duration}); +var _6=$(_3.menu).menu("options"); +var _7=_6.onShow; +var _8=_6.onHide; +$.extend(_6,{onShow:function(){ +var _9=$(this).menu("options"); +var _a=$(_9.alignTo); +var _b=_a.menubutton("options"); +_a.addClass((_b.plain==true)?_b.cls.btn2:_b.cls.btn1); +_7.call(this); +},onHide:function(){ +var _c=$(this).menu("options"); +var _d=$(_c.alignTo); +var _e=_d.menubutton("options"); +_d.removeClass((_e.plain==true)?_e.cls.btn2:_e.cls.btn1); +_8.call(this); +}}); +} +}; +function _f(_10){ +var _11=$.data(_10,"menubutton").options; +var btn=$(_10); +var t=btn.find("."+_11.cls.trigger); +if(!t.length){ +t=btn; +} +t.unbind(".menubutton"); +var _12=null; +t.bind("click.menubutton",function(){ +if(!_13()){ +_14(_10); +return false; +} +}).bind("mouseenter.menubutton",function(){ +if(!_13()){ +_12=setTimeout(function(){ +_14(_10); +},_11.duration); +return false; +} +}).bind("mouseleave.menubutton",function(){ +if(_12){ +clearTimeout(_12); +} +$(_11.menu).triggerHandler("mouseleave"); +}); +function _13(){ +return $(_10).linkbutton("options").disabled; +}; +}; +function _14(_15){ +var _16=$(_15).menubutton("options"); +if(_16.disabled||!_16.menu){ +return; +} +$("body>div.menu-top").menu("hide"); +var btn=$(_15); +var mm=$(_16.menu); +if(mm.length){ +mm.menu("options").alignTo=btn; +mm.menu("show",{alignTo:btn,align:_16.menuAlign}); +} +btn.blur(); +}; +$.fn.menubutton=function(_17,_18){ +if(typeof _17=="string"){ +var _19=$.fn.menubutton.methods[_17]; +if(_19){ +return _19(this,_18); +}else{ +return this.linkbutton(_17,_18); +} +} +_17=_17||{}; +return this.each(function(){ +var _1a=$.data(this,"menubutton"); +if(_1a){ +$.extend(_1a.options,_17); +}else{ +$.data(this,"menubutton",{options:$.extend({},$.fn.menubutton.defaults,$.fn.menubutton.parseOptions(this),_17)}); +$(this).removeAttr("disabled"); +} +_1(this); +_f(this); +}); +}; +$.fn.menubutton.methods={options:function(jq){ +var _1b=jq.linkbutton("options"); +return $.extend($.data(jq[0],"menubutton").options,{toggle:_1b.toggle,selected:_1b.selected,disabled:_1b.disabled}); +},destroy:function(jq){ +return jq.each(function(){ +var _1c=$(this).menubutton("options"); +if(_1c.menu){ +$(_1c.menu).menu("destroy"); +} +$(this).remove(); +}); +}}; +$.fn.menubutton.parseOptions=function(_1d){ +var t=$(_1d); +return $.extend({},$.fn.linkbutton.parseOptions(_1d),$.parser.parseOptions(_1d,["menu",{plain:"boolean",duration:"number"}])); +}; +$.fn.menubutton.defaults=$.extend({},$.fn.linkbutton.defaults,{plain:true,menu:null,menuAlign:"left",duration:100,cls:{btn1:"m-btn-active",btn2:"m-btn-plain-active",arrow:"m-btn-downarrow",trigger:"m-btn"}}); +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.messager.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.messager.js new file mode 100644 index 0000000..1159b72 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.messager.js @@ -0,0 +1,215 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +function _1(el,_2,_3,_4){ +var _5=$(el).window("window"); +if(!_5){ +return; +} +switch(_2){ +case null: +_5.show(); +break; +case "slide": +_5.slideDown(_3); +break; +case "fade": +_5.fadeIn(_3); +break; +case "show": +_5.show(_3); +break; +} +var _6=null; +if(_4>0){ +_6=setTimeout(function(){ +_7(el,_2,_3); +},_4); +} +_5.hover(function(){ +if(_6){ +clearTimeout(_6); +} +},function(){ +if(_4>0){ +_6=setTimeout(function(){ +_7(el,_2,_3); +},_4); +} +}); +}; +function _7(el,_8,_9){ +if(el.locked==true){ +return; +} +el.locked=true; +var _a=$(el).window("window"); +if(!_a){ +return; +} +switch(_8){ +case null: +_a.hide(); +break; +case "slide": +_a.slideUp(_9); +break; +case "fade": +_a.fadeOut(_9); +break; +case "show": +_a.hide(_9); +break; +} +setTimeout(function(){ +$(el).window("destroy"); +},_9); +}; +function _b(_c){ +var _d=$.extend({},$.fn.window.defaults,{collapsible:false,minimizable:false,maximizable:false,shadow:false,draggable:false,resizable:false,closed:true,style:{left:"",top:"",right:0,zIndex:$.fn.window.defaults.zIndex++,bottom:-document.body.scrollTop-document.documentElement.scrollTop},onBeforeOpen:function(){ +_1(this,_d.showType,_d.showSpeed,_d.timeout); +return false; +},onBeforeClose:function(){ +_7(this,_d.showType,_d.showSpeed); +return false; +}},{title:"",width:250,height:100,showType:"slide",showSpeed:600,msg:"",timeout:4000},_c); +_d.style.zIndex=$.fn.window.defaults.zIndex++; +var _e=$("
                                        ").html(_d.msg).appendTo("body"); +_e.window(_d); +_e.window("window").css(_d.style); +_e.window("open"); +return _e; +}; +function _f(_10,_11,_12){ +var win=$("
                                        ").appendTo("body"); +win.append(_11); +if(_12){ +var tb=$("
                                        ").appendTo(win); +for(var _13 in _12){ +$("").attr("href","javascript:void(0)").text(_13).css("margin-left",10).bind("click",eval(_12[_13])).appendTo(tb).linkbutton(); +} +} +win.window({title:_10,noheader:(_10?false:true),width:300,height:"auto",modal:true,collapsible:false,minimizable:false,maximizable:false,resizable:false,onClose:function(){ +setTimeout(function(){ +win.window("destroy"); +},100); +}}); +win.window("window").addClass("messager-window"); +win.children("div.messager-button").children("a:first").focus(); +return win; +}; +$.messager={show:function(_14){ +return _b(_14); +},alert:function(_15,msg,_16,fn){ +var _17="
                                        "+msg+"
                                        "; +switch(_16){ +case "error": +_17="
                                        "+_17; +break; +case "info": +_17="
                                        "+_17; +break; +case "question": +_17="
                                        "+_17; +break; +case "warning": +_17="
                                        "+_17; +break; +} +_17+="
                                        "; +var _18={}; +_18[$.messager.defaults.ok]=function(){ +win.window("close"); +if(fn){ +fn(); +return false; +} +}; +var win=_f(_15,_17,_18); +return win; +},confirm:function(_19,msg,fn){ +var _1a="
                                        "+"
                                        "+msg+"
                                        "+"
                                        "; +var _1b={}; +_1b[$.messager.defaults.ok]=function(){ +win.window("close"); +if(fn){ +fn(true); +return false; +} +}; +_1b[$.messager.defaults.cancel]=function(){ +win.window("close"); +if(fn){ +fn(false); +return false; +} +}; +var win=_f(_19,_1a,_1b); +return win; +},prompt:function(_1c,msg,fn){ +var _1d="
                                        "+"
                                        "+msg+"
                                        "+"
                                        "+"
                                        "+"
                                        "; +var _1e={}; +_1e[$.messager.defaults.ok]=function(){ +win.window("close"); +if(fn){ +fn($(".messager-input",win).val()); +return false; +} +}; +_1e[$.messager.defaults.cancel]=function(){ +win.window("close"); +if(fn){ +fn(); +return false; +} +}; +var win=_f(_1c,_1d,_1e); +win.children("input.messager-input").focus(); +return win; +},progress:function(_1f){ +var _20={bar:function(){ +return $("body>div.messager-window").find("div.messager-p-bar"); +},close:function(){ +var win=$("body>div.messager-window>div.messager-body:has(div.messager-progress)"); +if(win.length){ +win.window("close"); +} +}}; +if(typeof _1f=="string"){ +var _21=_20[_1f]; +return _21(); +} +var _22=$.extend({title:"",msg:"",text:undefined,interval:300},_1f||{}); +var _23="
                                        "; +var win=_f(_22.title,_23,null); +win.find("div.messager-p-msg").html(_22.msg); +var bar=win.find("div.messager-p-bar"); +bar.progressbar({text:_22.text}); +win.window({closable:false,onClose:function(){ +if(this.timer){ +clearInterval(this.timer); +} +$(this).window("destroy"); +}}); +if(_22.interval){ +win[0].timer=setInterval(function(){ +var v=bar.progressbar("getValue"); +v+=10; +if(v>100){ +v=0; +} +bar.progressbar("setValue",v); +},_22.interval); +} +return win; +}}; +$.messager.defaults={ok:"Ok",cancel:"Cancel"}; +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.numberbox.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.numberbox.js new file mode 100644 index 0000000..948ff85 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.numberbox.js @@ -0,0 +1,172 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +function _1(_2){ +var _3=$.data(_2,"numberbox"); +var _4=_3.options; +$(_2).addClass("numberbox-f").textbox(_4); +$(_2).textbox("textbox").css({imeMode:"disabled"}); +$(_2).attr("numberboxName",$(_2).attr("textboxName")); +_3.numberbox=$(_2).next(); +_3.numberbox.addClass("numberbox"); +var _5=_4.parser.call(_2,_4.value); +var _6=_4.formatter.call(_2,_5); +$(_2).numberbox("initValue",_5).numberbox("setText",_6); +}; +function _7(_8,_9){ +var _a=$.data(_8,"numberbox"); +var _b=_a.options; +var _9=_b.parser.call(_8,_9); +var _c=_b.formatter.call(_8,_9); +_b.value=_9; +$(_8).textbox("setValue",_9).textbox("setText",_c); +}; +$.fn.numberbox=function(_d,_e){ +if(typeof _d=="string"){ +var _f=$.fn.numberbox.methods[_d]; +if(_f){ +return _f(this,_e); +}else{ +return this.textbox(_d,_e); +} +} +_d=_d||{}; +return this.each(function(){ +var _10=$.data(this,"numberbox"); +if(_10){ +$.extend(_10.options,_d); +}else{ +_10=$.data(this,"numberbox",{options:$.extend({},$.fn.numberbox.defaults,$.fn.numberbox.parseOptions(this),_d)}); +} +_1(this); +}); +}; +$.fn.numberbox.methods={options:function(jq){ +var _11=jq.data("textbox")?jq.textbox("options"):{}; +return $.extend($.data(jq[0],"numberbox").options,{width:_11.width,originalValue:_11.originalValue,disabled:_11.disabled,readonly:_11.readonly}); +},fix:function(jq){ +return jq.each(function(){ +$(this).numberbox("setValue",$(this).numberbox("getText")); +}); +},setValue:function(jq,_12){ +return jq.each(function(){ +_7(this,_12); +}); +},clear:function(jq){ +return jq.each(function(){ +$(this).textbox("clear"); +$(this).numberbox("options").value=""; +}); +},reset:function(jq){ +return jq.each(function(){ +$(this).textbox("reset"); +$(this).numberbox("setValue",$(this).numberbox("getValue")); +}); +}}; +$.fn.numberbox.parseOptions=function(_13){ +var t=$(_13); +return $.extend({},$.fn.textbox.parseOptions(_13),$.parser.parseOptions(_13,["decimalSeparator","groupSeparator","suffix",{min:"number",max:"number",precision:"number"}]),{prefix:(t.attr("prefix")?t.attr("prefix"):undefined)}); +}; +$.fn.numberbox.defaults=$.extend({},$.fn.textbox.defaults,{inputEvents:{keypress:function(e){ +var _14=e.data.target; +var _15=$(_14).numberbox("options"); +return _15.filter.call(_14,e); +},blur:function(e){ +var _16=e.data.target; +$(_16).numberbox("setValue",$(_16).numberbox("getText")); +},keydown:function(e){ +if(e.keyCode==13){ +var _17=e.data.target; +$(_17).numberbox("setValue",$(_17).numberbox("getText")); +} +}},min:null,max:null,precision:0,decimalSeparator:".",groupSeparator:"",prefix:"",suffix:"",filter:function(e){ +var _18=$(this).numberbox("options"); +var s=$(this).numberbox("getText"); +if(e.which==13){ +return true; +} +if(e.which==45){ +return (s.indexOf("-")==-1?true:false); +} +var c=String.fromCharCode(e.which); +if(c==_18.decimalSeparator){ +return (s.indexOf(c)==-1?true:false); +}else{ +if(c==_18.groupSeparator){ +return true; +}else{ +if((e.which>=48&&e.which<=57&&e.ctrlKey==false&&e.shiftKey==false)||e.which==0||e.which==8){ +return true; +}else{ +if(e.ctrlKey==true&&(e.which==99||e.which==118)){ +return true; +}else{ +return false; +} +} +} +} +},formatter:function(_19){ +if(!_19){ +return _19; +} +_19=_19+""; +var _1a=$(this).numberbox("options"); +var s1=_19,s2=""; +var _1b=_19.indexOf("."); +if(_1b>=0){ +s1=_19.substring(0,_1b); +s2=_19.substring(_1b+1,_19.length); +} +if(_1a.groupSeparator){ +var p=/(\d+)(\d{3})/; +while(p.test(s1)){ +s1=s1.replace(p,"$1"+_1a.groupSeparator+"$2"); +} +} +if(s2){ +return _1a.prefix+s1+_1a.decimalSeparator+s2+_1a.suffix; +}else{ +return _1a.prefix+s1+_1a.suffix; +} +},parser:function(s){ +s=s+""; +var _1c=$(this).numberbox("options"); +if(parseFloat(s)!=s){ +if(_1c.prefix){ +s=$.trim(s.replace(new RegExp("\\"+$.trim(_1c.prefix),"g"),"")); +} +if(_1c.suffix){ +s=$.trim(s.replace(new RegExp("\\"+$.trim(_1c.suffix),"g"),"")); +} +if(_1c.groupSeparator){ +s=$.trim(s.replace(new RegExp("\\"+_1c.groupSeparator,"g"),"")); +} +if(_1c.decimalSeparator){ +s=$.trim(s.replace(new RegExp("\\"+_1c.decimalSeparator,"g"),".")); +} +s=s.replace(/\s/g,""); +} +var val=parseFloat(s).toFixed(_1c.precision); +if(isNaN(val)){ +val=""; +}else{ +if(typeof (_1c.min)=="number"&&val<_1c.min){ +val=_1c.min.toFixed(_1c.precision); +}else{ +if(typeof (_1c.max)=="number"&&val>_1c.max){ +val=_1c.max.toFixed(_1c.precision); +} +} +} +return val; +}}); +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.numberspinner.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.numberspinner.js new file mode 100644 index 0000000..98950e0 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.numberspinner.js @@ -0,0 +1,58 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +function _1(_2){ +$(_2).addClass("numberspinner-f"); +var _3=$.data(_2,"numberspinner").options; +$(_2).numberbox(_3).spinner(_3); +$(_2).numberbox("setValue",_3.value); +}; +function _4(_5,_6){ +var _7=$.data(_5,"numberspinner").options; +var v=parseFloat($(_5).numberbox("getValue")||_7.value)||0; +if(_6){ +v-=_7.increment; +}else{ +v+=_7.increment; +} +$(_5).numberbox("setValue",v); +}; +$.fn.numberspinner=function(_8,_9){ +if(typeof _8=="string"){ +var _a=$.fn.numberspinner.methods[_8]; +if(_a){ +return _a(this,_9); +}else{ +return this.numberbox(_8,_9); +} +} +_8=_8||{}; +return this.each(function(){ +var _b=$.data(this,"numberspinner"); +if(_b){ +$.extend(_b.options,_8); +}else{ +$.data(this,"numberspinner",{options:$.extend({},$.fn.numberspinner.defaults,$.fn.numberspinner.parseOptions(this),_8)}); +} +_1(this); +}); +}; +$.fn.numberspinner.methods={options:function(jq){ +var _c=jq.numberbox("options"); +return $.extend($.data(jq[0],"numberspinner").options,{width:_c.width,value:_c.value,originalValue:_c.originalValue,disabled:_c.disabled,readonly:_c.readonly}); +}}; +$.fn.numberspinner.parseOptions=function(_d){ +return $.extend({},$.fn.spinner.parseOptions(_d),$.fn.numberbox.parseOptions(_d),{}); +}; +$.fn.numberspinner.defaults=$.extend({},$.fn.spinner.defaults,$.fn.numberbox.defaults,{spin:function(_e){ +_4(this,_e); +}}); +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.pagination.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.pagination.js new file mode 100644 index 0000000..b690d2c --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.pagination.js @@ -0,0 +1,286 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +function _1(_2){ +var _3=$.data(_2,"pagination"); +var _4=_3.options; +var bb=_3.bb={}; +var _5=$(_2).addClass("pagination").html("
                                        "); +var tr=_5.find("tr"); +var aa=$.extend([],_4.layout); +if(!_4.showPageList){ +_6(aa,"list"); +} +if(!_4.showRefresh){ +_6(aa,"refresh"); +} +if(aa[0]=="sep"){ +aa.shift(); +} +if(aa[aa.length-1]=="sep"){ +aa.pop(); +} +for(var _7=0;_7"); +ps.bind("change",function(){ +_4.pageSize=parseInt($(this).val()); +_4.onChangePageSize.call(_2,_4.pageSize); +_10(_2,_4.pageNumber); +}); +for(var i=0;i<_4.pageList.length;i++){ +$("").text(_4.pageList[i]).appendTo(ps); +} +$("").append(ps).appendTo(tr); +}else{ +if(_8=="sep"){ +$("
                                        ").appendTo(tr); +}else{ +if(_8=="first"){ +bb.first=_9("first"); +}else{ +if(_8=="prev"){ +bb.prev=_9("prev"); +}else{ +if(_8=="next"){ +bb.next=_9("next"); +}else{ +if(_8=="last"){ +bb.last=_9("last"); +}else{ +if(_8=="manual"){ +$("").html(_4.beforePageText).appendTo(tr).wrap(""); +bb.num=$("").appendTo(tr).wrap(""); +bb.num.unbind(".pagination").bind("keydown.pagination",function(e){ +if(e.keyCode==13){ +var _a=parseInt($(this).val())||1; +_10(_2,_a); +return false; +} +}); +bb.after=$("").appendTo(tr).wrap(""); +}else{ +if(_8=="refresh"){ +bb.refresh=_9("refresh"); +}else{ +if(_8=="links"){ +$("").appendTo(tr); +} +} +} +} +} +} +} +} +} +} +if(_4.buttons){ +$("
                                        ").appendTo(tr); +if($.isArray(_4.buttons)){ +for(var i=0;i<_4.buttons.length;i++){ +var _b=_4.buttons[i]; +if(_b=="-"){ +$("
                                        ").appendTo(tr); +}else{ +var td=$("").appendTo(tr); +var a=$("").appendTo(td); +a[0].onclick=eval(_b.handler||function(){ +}); +a.linkbutton($.extend({},_b,{plain:true})); +} +} +}else{ +var td=$("").appendTo(tr); +$(_4.buttons).appendTo(td).show(); +} +} +$("
                                        ").appendTo(_5); +$("
                                        ").appendTo(_5); +function _9(_c){ +var _d=_4.nav[_c]; +var a=$("").appendTo(tr); +a.wrap(""); +a.linkbutton({iconCls:_d.iconCls,plain:true}).unbind(".pagination").bind("click.pagination",function(){ +_d.handler.call(_2); +}); +return a; +}; +function _6(aa,_e){ +var _f=$.inArray(_e,aa); +if(_f>=0){ +aa.splice(_f,1); +} +return aa; +}; +}; +function _10(_11,_12){ +var _13=$.data(_11,"pagination").options; +_14(_11,{pageNumber:_12}); +_13.onSelectPage.call(_11,_13.pageNumber,_13.pageSize); +}; +function _14(_15,_16){ +var _17=$.data(_15,"pagination"); +var _18=_17.options; +var bb=_17.bb; +$.extend(_18,_16||{}); +var ps=$(_15).find("select.pagination-page-list"); +if(ps.length){ +ps.val(_18.pageSize+""); +_18.pageSize=parseInt(ps.val()); +} +var _19=Math.ceil(_18.total/_18.pageSize)||1; +if(_18.pageNumber<1){ +_18.pageNumber=1; +} +if(_18.pageNumber>_19){ +_18.pageNumber=_19; +} +if(_18.total==0){ +_18.pageNumber=0; +_19=0; +} +if(bb.num){ +bb.num.val(_18.pageNumber); +} +if(bb.after){ +bb.after.html(_18.afterPageText.replace(/{pages}/,_19)); +} +var td=$(_15).find("td.pagination-links"); +if(td.length){ +td.empty(); +var _1a=_18.pageNumber-Math.floor(_18.links/2); +if(_1a<1){ +_1a=1; +} +var _1b=_1a+_18.links-1; +if(_1b>_19){ +_1b=_19; +} +_1a=_1b-_18.links+1; +if(_1a<1){ +_1a=1; +} +for(var i=_1a;i<=_1b;i++){ +var a=$("").appendTo(td); +a.linkbutton({plain:true,text:i}); +if(i==_18.pageNumber){ +a.linkbutton("select"); +}else{ +a.unbind(".pagination").bind("click.pagination",{pageNumber:i},function(e){ +_10(_15,e.data.pageNumber); +}); +} +} +} +var _1c=_18.displayMsg; +_1c=_1c.replace(/{from}/,_18.total==0?0:_18.pageSize*(_18.pageNumber-1)+1); +_1c=_1c.replace(/{to}/,Math.min(_18.pageSize*(_18.pageNumber),_18.total)); +_1c=_1c.replace(/{total}/,_18.total); +$(_15).find("div.pagination-info").html(_1c); +if(bb.first){ +bb.first.linkbutton({disabled:((!_18.total)||_18.pageNumber==1)}); +} +if(bb.prev){ +bb.prev.linkbutton({disabled:((!_18.total)||_18.pageNumber==1)}); +} +if(bb.next){ +bb.next.linkbutton({disabled:(_18.pageNumber==_19)}); +} +if(bb.last){ +bb.last.linkbutton({disabled:(_18.pageNumber==_19)}); +} +_1d(_15,_18.loading); +}; +function _1d(_1e,_1f){ +var _20=$.data(_1e,"pagination"); +var _21=_20.options; +_21.loading=_1f; +if(_21.showRefresh&&_20.bb.refresh){ +_20.bb.refresh.linkbutton({iconCls:(_21.loading?"pagination-loading":"pagination-load")}); +} +}; +$.fn.pagination=function(_22,_23){ +if(typeof _22=="string"){ +return $.fn.pagination.methods[_22](this,_23); +} +_22=_22||{}; +return this.each(function(){ +var _24; +var _25=$.data(this,"pagination"); +if(_25){ +_24=$.extend(_25.options,_22); +}else{ +_24=$.extend({},$.fn.pagination.defaults,$.fn.pagination.parseOptions(this),_22); +$.data(this,"pagination",{options:_24}); +} +_1(this); +_14(this); +}); +}; +$.fn.pagination.methods={options:function(jq){ +return $.data(jq[0],"pagination").options; +},loading:function(jq){ +return jq.each(function(){ +_1d(this,true); +}); +},loaded:function(jq){ +return jq.each(function(){ +_1d(this,false); +}); +},refresh:function(jq,_26){ +return jq.each(function(){ +_14(this,_26); +}); +},select:function(jq,_27){ +return jq.each(function(){ +_10(this,_27); +}); +}}; +$.fn.pagination.parseOptions=function(_28){ +var t=$(_28); +return $.extend({},$.parser.parseOptions(_28,[{total:"number",pageSize:"number",pageNumber:"number",links:"number"},{loading:"boolean",showPageList:"boolean",showRefresh:"boolean"}]),{pageList:(t.attr("pageList")?eval(t.attr("pageList")):undefined)}); +}; +$.fn.pagination.defaults={total:1,pageSize:10,pageNumber:1,pageList:[10,20,30,50],loading:false,buttons:null,showPageList:true,showRefresh:true,links:10,layout:["list","sep","first","prev","sep","manual","sep","next","last","sep","refresh"],onSelectPage:function(_29,_2a){ +},onBeforeRefresh:function(_2b,_2c){ +},onRefresh:function(_2d,_2e){ +},onChangePageSize:function(_2f){ +},beforePageText:"Page",afterPageText:"of {pages}",displayMsg:"Displaying {from} to {to} of {total} items",nav:{first:{iconCls:"pagination-first",handler:function(){ +var _30=$(this).pagination("options"); +if(_30.pageNumber>1){ +$(this).pagination("select",1); +} +}},prev:{iconCls:"pagination-prev",handler:function(){ +var _31=$(this).pagination("options"); +if(_31.pageNumber>1){ +$(this).pagination("select",_31.pageNumber-1); +} +}},next:{iconCls:"pagination-next",handler:function(){ +var _32=$(this).pagination("options"); +var _33=Math.ceil(_32.total/_32.pageSize); +if(_32.pageNumber<_33){ +$(this).pagination("select",_32.pageNumber+1); +} +}},last:{iconCls:"pagination-last",handler:function(){ +var _34=$(this).pagination("options"); +var _35=Math.ceil(_34.total/_34.pageSize); +if(_34.pageNumber<_35){ +$(this).pagination("select",_35); +} +}},refresh:{iconCls:"pagination-refresh",handler:function(){ +var _36=$(this).pagination("options"); +if(_36.onBeforeRefresh.call(this,_36.pageNumber,_36.pageSize)!=false){ +$(this).pagination("select",_36.pageNumber); +_36.onRefresh.call(this,_36.pageNumber,_36.pageSize); +} +}}}}; +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.panel.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.panel.js new file mode 100644 index 0000000..2c28a7c --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.panel.js @@ -0,0 +1,602 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +$.fn._remove=function(){ +return this.each(function(){ +$(this).remove(); +try{ +this.outerHTML=""; +} +catch(err){ +} +}); +}; +function _1(_2){ +_2._remove(); +}; +function _3(_4,_5){ +var _6=$.data(_4,"panel"); +var _7=_6.options; +var _8=_6.panel; +var _9=_8.children("div.panel-header"); +var _a=_8.children("div.panel-body"); +var _b=_8.children("div.panel-footer"); +if(_5){ +$.extend(_7,{width:_5.width,height:_5.height,minWidth:_5.minWidth,maxWidth:_5.maxWidth,minHeight:_5.minHeight,maxHeight:_5.maxHeight,left:_5.left,top:_5.top}); +} +_8._size(_7); +_9.add(_a)._outerWidth(_8.width()); +if(!isNaN(parseInt(_7.height))){ +_a._outerHeight(_8.height()-_9._outerHeight()-_b._outerHeight()); +}else{ +_a.css("height",""); +var _c=$.parser.parseValue("minHeight",_7.minHeight,_8.parent()); +var _d=$.parser.parseValue("maxHeight",_7.maxHeight,_8.parent()); +var _e=_9._outerHeight()+_b._outerHeight()+_8._outerHeight()-_8.height(); +_a._size("minHeight",_c?(_c-_e):""); +_a._size("maxHeight",_d?(_d-_e):""); +} +_8.css({height:"",minHeight:"",maxHeight:"",left:_7.left,top:_7.top}); +_7.onResize.apply(_4,[_7.width,_7.height]); +$(_4).panel("doLayout"); +}; +function _f(_10,_11){ +var _12=$.data(_10,"panel").options; +var _13=$.data(_10,"panel").panel; +if(_11){ +if(_11.left!=null){ +_12.left=_11.left; +} +if(_11.top!=null){ +_12.top=_11.top; +} +} +_13.css({left:_12.left,top:_12.top}); +_12.onMove.apply(_10,[_12.left,_12.top]); +}; +function _14(_15){ +$(_15).addClass("panel-body")._size("clear"); +var _16=$("
                                        ").insertBefore(_15); +_16[0].appendChild(_15); +_16.bind("_resize",function(e,_17){ +if($(this).hasClass("easyui-fluid")||_17){ +_3(_15); +} +return false; +}); +return _16; +}; +function _18(_19){ +var _1a=$.data(_19,"panel"); +var _1b=_1a.options; +var _1c=_1a.panel; +_1c.css(_1b.style); +_1c.addClass(_1b.cls); +_1d(); +_1e(); +var _1f=$(_19).panel("header"); +var _20=$(_19).panel("body"); +var _21=$(_19).siblings("div.panel-footer"); +if(_1b.border){ +_1f.removeClass("panel-header-noborder"); +_20.removeClass("panel-body-noborder"); +_21.removeClass("panel-footer-noborder"); +}else{ +_1f.addClass("panel-header-noborder"); +_20.addClass("panel-body-noborder"); +_21.addClass("panel-footer-noborder"); +} +_1f.addClass(_1b.headerCls); +_20.addClass(_1b.bodyCls); +$(_19).attr("id",_1b.id||""); +if(_1b.content){ +$(_19).panel("clear"); +$(_19).html(_1b.content); +$.parser.parse($(_19)); +} +function _1d(){ +if(_1b.tools&&typeof _1b.tools=="string"){ +_1c.find(">div.panel-header>div.panel-tool .panel-tool-a").appendTo(_1b.tools); +} +_1(_1c.children("div.panel-header")); +if(_1b.title&&!_1b.noheader){ +var _22=$("
                                        ").prependTo(_1c); +var _23=$("
                                        ").html(_1b.title).appendTo(_22); +if(_1b.iconCls){ +_23.addClass("panel-with-icon"); +$("
                                        ").addClass(_1b.iconCls).appendTo(_22); +} +var _24=$("
                                        ").appendTo(_22); +_24.bind("click",function(e){ +e.stopPropagation(); +}); +if(_1b.tools){ +if($.isArray(_1b.tools)){ +for(var i=0;i<_1b.tools.length;i++){ +var t=$("").addClass(_1b.tools[i].iconCls).appendTo(_24); +if(_1b.tools[i].handler){ +t.bind("click",eval(_1b.tools[i].handler)); +} +} +}else{ +$(_1b.tools).children().each(function(){ +$(this).addClass($(this).attr("iconCls")).addClass("panel-tool-a").appendTo(_24); +}); +} +} +if(_1b.collapsible){ +$("").appendTo(_24).bind("click",function(){ +if(_1b.collapsed==true){ +_4a(_19,true); +}else{ +_38(_19,true); +} +return false; +}); +} +if(_1b.minimizable){ +$("").appendTo(_24).bind("click",function(){ +_55(_19); +return false; +}); +} +if(_1b.maximizable){ +$("").appendTo(_24).bind("click",function(){ +if(_1b.maximized==true){ +_59(_19); +}else{ +_37(_19); +} +return false; +}); +} +if(_1b.closable){ +$("").appendTo(_24).bind("click",function(){ +_39(_19); +return false; +}); +} +_1c.children("div.panel-body").removeClass("panel-body-noheader"); +}else{ +_1c.children("div.panel-body").addClass("panel-body-noheader"); +} +}; +function _1e(){ +if(_1b.footer){ +$(_1b.footer).addClass("panel-footer").appendTo(_1c); +$(_19).addClass("panel-body-nobottom"); +}else{ +_1c.children("div.panel-footer").remove(); +$(_19).removeClass("panel-body-nobottom"); +} +}; +}; +function _25(_26,_27){ +var _28=$.data(_26,"panel"); +var _29=_28.options; +if(_2a){ +_29.queryParams=_27; +} +if(!_29.href){ +return; +} +if(!_28.isLoaded||!_29.cache){ +var _2a=$.extend({},_29.queryParams); +if(_29.onBeforeLoad.call(_26,_2a)==false){ +return; +} +_28.isLoaded=false; +$(_26).panel("clear"); +if(_29.loadingMessage){ +$(_26).html($("
                                        ").html(_29.loadingMessage)); +} +_29.loader.call(_26,_2a,function(_2b){ +var _2c=_29.extractor.call(_26,_2b); +$(_26).html(_2c); +$.parser.parse($(_26)); +_29.onLoad.apply(_26,arguments); +_28.isLoaded=true; +},function(){ +_29.onLoadError.apply(_26,arguments); +}); +} +}; +function _2d(_2e){ +var t=$(_2e); +t.find(".combo-f").each(function(){ +$(this).combo("destroy"); +}); +t.find(".m-btn").each(function(){ +$(this).menubutton("destroy"); +}); +t.find(".s-btn").each(function(){ +$(this).splitbutton("destroy"); +}); +t.find(".tooltip-f").each(function(){ +$(this).tooltip("destroy"); +}); +t.children("div").each(function(){ +$(this)._size("unfit"); +}); +t.empty(); +}; +function _2f(_30){ +$(_30).panel("doLayout",true); +}; +function _31(_32,_33){ +var _34=$.data(_32,"panel").options; +var _35=$.data(_32,"panel").panel; +if(_33!=true){ +if(_34.onBeforeOpen.call(_32)==false){ +return; +} +} +_35.stop(true,true); +if($.isFunction(_34.openAnimation)){ +_34.openAnimation.call(_32,cb); +}else{ +switch(_34.openAnimation){ +case "slide": +_35.slideDown(_34.openDuration,cb); +break; +case "fade": +_35.fadeIn(_34.openDuration,cb); +break; +case "show": +_35.show(_34.openDuration,cb); +break; +default: +_35.show(); +cb(); +} +} +function cb(){ +_34.closed=false; +_34.minimized=false; +var _36=_35.children("div.panel-header").find("a.panel-tool-restore"); +if(_36.length){ +_34.maximized=true; +} +_34.onOpen.call(_32); +if(_34.maximized==true){ +_34.maximized=false; +_37(_32); +} +if(_34.collapsed==true){ +_34.collapsed=false; +_38(_32); +} +if(!_34.collapsed){ +_25(_32); +_2f(_32); +} +}; +}; +function _39(_3a,_3b){ +var _3c=$.data(_3a,"panel").options; +var _3d=$.data(_3a,"panel").panel; +if(_3b!=true){ +if(_3c.onBeforeClose.call(_3a)==false){ +return; +} +} +_3d.stop(true,true); +_3d._size("unfit"); +if($.isFunction(_3c.closeAnimation)){ +_3c.closeAnimation.call(_3a,cb); +}else{ +switch(_3c.closeAnimation){ +case "slide": +_3d.slideUp(_3c.closeDuration,cb); +break; +case "fade": +_3d.fadeOut(_3c.closeDuration,cb); +break; +case "hide": +_3d.hide(_3c.closeDuration,cb); +break; +default: +_3d.hide(); +cb(); +} +} +function cb(){ +_3c.closed=true; +_3c.onClose.call(_3a); +}; +}; +function _3e(_3f,_40){ +var _41=$.data(_3f,"panel"); +var _42=_41.options; +var _43=_41.panel; +if(_40!=true){ +if(_42.onBeforeDestroy.call(_3f)==false){ +return; +} +} +$(_3f).panel("clear").panel("clear","footer"); +_1(_43); +_42.onDestroy.call(_3f); +}; +function _38(_44,_45){ +var _46=$.data(_44,"panel").options; +var _47=$.data(_44,"panel").panel; +var _48=_47.children("div.panel-body"); +var _49=_47.children("div.panel-header").find("a.panel-tool-collapse"); +if(_46.collapsed==true){ +return; +} +_48.stop(true,true); +if(_46.onBeforeCollapse.call(_44)==false){ +return; +} +_49.addClass("panel-tool-expand"); +if(_45==true){ +_48.slideUp("normal",function(){ +_46.collapsed=true; +_46.onCollapse.call(_44); +}); +}else{ +_48.hide(); +_46.collapsed=true; +_46.onCollapse.call(_44); +} +}; +function _4a(_4b,_4c){ +var _4d=$.data(_4b,"panel").options; +var _4e=$.data(_4b,"panel").panel; +var _4f=_4e.children("div.panel-body"); +var _50=_4e.children("div.panel-header").find("a.panel-tool-collapse"); +if(_4d.collapsed==false){ +return; +} +_4f.stop(true,true); +if(_4d.onBeforeExpand.call(_4b)==false){ +return; +} +_50.removeClass("panel-tool-expand"); +if(_4c==true){ +_4f.slideDown("normal",function(){ +_4d.collapsed=false; +_4d.onExpand.call(_4b); +_25(_4b); +_2f(_4b); +}); +}else{ +_4f.show(); +_4d.collapsed=false; +_4d.onExpand.call(_4b); +_25(_4b); +_2f(_4b); +} +}; +function _37(_51){ +var _52=$.data(_51,"panel").options; +var _53=$.data(_51,"panel").panel; +var _54=_53.children("div.panel-header").find("a.panel-tool-max"); +if(_52.maximized==true){ +return; +} +_54.addClass("panel-tool-restore"); +if(!$.data(_51,"panel").original){ +$.data(_51,"panel").original={width:_52.width,height:_52.height,left:_52.left,top:_52.top,fit:_52.fit}; +} +_52.left=0; +_52.top=0; +_52.fit=true; +_3(_51); +_52.minimized=false; +_52.maximized=true; +_52.onMaximize.call(_51); +}; +function _55(_56){ +var _57=$.data(_56,"panel").options; +var _58=$.data(_56,"panel").panel; +_58._size("unfit"); +_58.hide(); +_57.minimized=true; +_57.maximized=false; +_57.onMinimize.call(_56); +}; +function _59(_5a){ +var _5b=$.data(_5a,"panel").options; +var _5c=$.data(_5a,"panel").panel; +var _5d=_5c.children("div.panel-header").find("a.panel-tool-max"); +if(_5b.maximized==false){ +return; +} +_5c.show(); +_5d.removeClass("panel-tool-restore"); +$.extend(_5b,$.data(_5a,"panel").original); +_3(_5a); +_5b.minimized=false; +_5b.maximized=false; +$.data(_5a,"panel").original=null; +_5b.onRestore.call(_5a); +}; +function _5e(_5f,_60){ +$.data(_5f,"panel").options.title=_60; +$(_5f).panel("header").find("div.panel-title").html(_60); +}; +var _61=null; +$(window).unbind(".panel").bind("resize.panel",function(){ +if(_61){ +clearTimeout(_61); +} +_61=setTimeout(function(){ +var _62=$("body.layout"); +if(_62.length){ +_62.layout("resize"); +$("body").children(".easyui-fluid:visible").trigger("_resize"); +}else{ +$("body").panel("doLayout"); +} +_61=null; +},100); +}); +$.fn.panel=function(_63,_64){ +if(typeof _63=="string"){ +return $.fn.panel.methods[_63](this,_64); +} +_63=_63||{}; +return this.each(function(){ +var _65=$.data(this,"panel"); +var _66; +if(_65){ +_66=$.extend(_65.options,_63); +_65.isLoaded=false; +}else{ +_66=$.extend({},$.fn.panel.defaults,$.fn.panel.parseOptions(this),_63); +$(this).attr("title",""); +_65=$.data(this,"panel",{options:_66,panel:_14(this),isLoaded:false}); +} +_18(this); +if(_66.doSize==true){ +_65.panel.css("display","block"); +_3(this); +} +if(_66.closed==true||_66.minimized==true){ +_65.panel.hide(); +}else{ +_31(this); +} +}); +}; +$.fn.panel.methods={options:function(jq){ +return $.data(jq[0],"panel").options; +},panel:function(jq){ +return $.data(jq[0],"panel").panel; +},header:function(jq){ +return $.data(jq[0],"panel").panel.find(">div.panel-header"); +},footer:function(jq){ +return jq.panel("panel").children(".panel-footer"); +},body:function(jq){ +return $.data(jq[0],"panel").panel.find(">div.panel-body"); +},setTitle:function(jq,_67){ +return jq.each(function(){ +_5e(this,_67); +}); +},open:function(jq,_68){ +return jq.each(function(){ +_31(this,_68); +}); +},close:function(jq,_69){ +return jq.each(function(){ +_39(this,_69); +}); +},destroy:function(jq,_6a){ +return jq.each(function(){ +_3e(this,_6a); +}); +},clear:function(jq,_6b){ +return jq.each(function(){ +_2d(_6b=="footer"?$(this).panel("footer"):this); +}); +},refresh:function(jq,_6c){ +return jq.each(function(){ +var _6d=$.data(this,"panel"); +_6d.isLoaded=false; +if(_6c){ +if(typeof _6c=="string"){ +_6d.options.href=_6c; +}else{ +_6d.options.queryParams=_6c; +} +} +_25(this); +}); +},resize:function(jq,_6e){ +return jq.each(function(){ +_3(this,_6e); +}); +},doLayout:function(jq,all){ +return jq.each(function(){ +_6f(this,"body"); +_6f($(this).siblings("div.panel-footer")[0],"footer"); +function _6f(_70,_71){ +if(!_70){ +return; +} +var _72=_70==$("body")[0]; +var s=$(_70).find("div.panel:visible,div.accordion:visible,div.tabs-container:visible,div.layout:visible,.easyui-fluid:visible").filter(function(_73,el){ +var p=$(el).parents("div.panel-"+_71+":first"); +return _72?p.length==0:p[0]==_70; +}); +s.trigger("_resize",[all||false]); +}; +}); +},move:function(jq,_74){ +return jq.each(function(){ +_f(this,_74); +}); +},maximize:function(jq){ +return jq.each(function(){ +_37(this); +}); +},minimize:function(jq){ +return jq.each(function(){ +_55(this); +}); +},restore:function(jq){ +return jq.each(function(){ +_59(this); +}); +},collapse:function(jq,_75){ +return jq.each(function(){ +_38(this,_75); +}); +},expand:function(jq,_76){ +return jq.each(function(){ +_4a(this,_76); +}); +}}; +$.fn.panel.parseOptions=function(_77){ +var t=$(_77); +return $.extend({},$.parser.parseOptions(_77,["id","width","height","left","top","title","iconCls","cls","headerCls","bodyCls","tools","href","method",{cache:"boolean",fit:"boolean",border:"boolean",noheader:"boolean"},{collapsible:"boolean",minimizable:"boolean",maximizable:"boolean"},{closable:"boolean",collapsed:"boolean",minimized:"boolean",maximized:"boolean",closed:"boolean"},"openAnimation","closeAnimation",{openDuration:"number",closeDuration:"number"},]),{loadingMessage:(t.attr("loadingMessage")!=undefined?t.attr("loadingMessage"):undefined)}); +}; +$.fn.panel.defaults={id:null,title:null,iconCls:null,width:"auto",height:"auto",left:null,top:null,cls:null,headerCls:null,bodyCls:null,style:{},href:null,cache:true,fit:false,border:true,doSize:true,noheader:false,content:null,collapsible:false,minimizable:false,maximizable:false,closable:false,collapsed:false,minimized:false,maximized:false,closed:false,openAnimation:false,openDuration:400,closeAnimation:false,closeDuration:400,tools:null,footer:null,queryParams:{},method:"get",href:null,loadingMessage:"Loading...",loader:function(_78,_79,_7a){ +var _7b=$(this).panel("options"); +if(!_7b.href){ +return false; +} +$.ajax({type:_7b.method,url:_7b.href,cache:false,data:_78,dataType:"html",success:function(_7c){ +_79(_7c); +},error:function(){ +_7a.apply(this,arguments); +}}); +},extractor:function(_7d){ +var _7e=/]*>((.|[\n\r])*)<\/body>/im; +var _7f=_7e.exec(_7d); +if(_7f){ +return _7f[1]; +}else{ +return _7d; +} +},onBeforeLoad:function(_80){ +},onLoad:function(){ +},onLoadError:function(){ +},onBeforeOpen:function(){ +},onOpen:function(){ +},onBeforeClose:function(){ +},onClose:function(){ +},onBeforeDestroy:function(){ +},onDestroy:function(){ +},onResize:function(_81,_82){ +},onMove:function(_83,top){ +},onMaximize:function(){ +},onRestore:function(){ +},onMinimize:function(){ +},onBeforeCollapse:function(){ +},onBeforeExpand:function(){ +},onCollapse:function(){ +},onExpand:function(){ +}}; +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.parser.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.parser.js new file mode 100644 index 0000000..f420b44 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.parser.js @@ -0,0 +1,322 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +$.parser={auto:true,onComplete:function(_1){ +},plugins:["draggable","droppable","resizable","pagination","tooltip","linkbutton","menu","menubutton","splitbutton","progressbar","tree","textbox","filebox","combo","combobox","combotree","combogrid","numberbox","validatebox","searchbox","spinner","numberspinner","timespinner","datetimespinner","calendar","datebox","datetimebox","slider","layout","panel","datagrid","propertygrid","treegrid","tabs","accordion","window","dialog","form"],parse:function(_2){ +var aa=[]; +for(var i=0;i<$.parser.plugins.length;i++){ +var _3=$.parser.plugins[i]; +var r=$(".easyui-"+_3,_2); +if(r.length){ +if(r[_3]){ +r[_3](); +}else{ +aa.push({name:_3,jq:r}); +} +} +} +if(aa.length&&window.easyloader){ +var _4=[]; +for(var i=0;i=0){ +v=Math.floor((_8.width()-_9)*v/100); +}else{ +v=Math.floor((_8.height()-_9)*v/100); +} +}else{ +v=parseInt(v)||undefined; +} +return v; +},parseOptions:function(_b,_c){ +var t=$(_b); +var _d={}; +var s=$.trim(t.attr("data-options")); +if(s){ +if(s.substring(0,1)!="{"){ +s="{"+s+"}"; +} +_d=(new Function("return "+s))(); +} +$.map(["width","height","left","top","minWidth","maxWidth","minHeight","maxHeight"],function(p){ +var pv=$.trim(_b.style[p]||""); +if(pv){ +if(pv.indexOf("%")==-1){ +pv=parseInt(pv)||undefined; +} +_d[p]=pv; +} +}); +if(_c){ +var _e={}; +for(var i=0;i<_c.length;i++){ +var pp=_c[i]; +if(typeof pp=="string"){ +_e[pp]=t.attr(pp); +}else{ +for(var _f in pp){ +var _10=pp[_f]; +if(_10=="boolean"){ +_e[_f]=t.attr(_f)?(t.attr(_f)=="true"):undefined; +}else{ +if(_10=="number"){ +_e[_f]=t.attr(_f)=="0"?0:parseFloat(t.attr(_f))||undefined; +} +} +} +} +} +$.extend(_d,_e); +} +return _d; +}}; +$(function(){ +var d=$("
                                        ").appendTo("body"); +$._boxModel=d.outerWidth()!=100; +d.remove(); +if(!window.easyloader&&$.parser.auto){ +$.parser.parse(); +} +}); +$.fn._outerWidth=function(_11){ +if(_11==undefined){ +if(this[0]==window){ +return this.width()||document.body.clientWidth; +} +return this.outerWidth()||0; +} +return this._size("width",_11); +}; +$.fn._outerHeight=function(_12){ +if(_12==undefined){ +if(this[0]==window){ +return this.height()||document.body.clientHeight; +} +return this.outerHeight()||0; +} +return this._size("height",_12); +}; +$.fn._scrollLeft=function(_13){ +if(_13==undefined){ +return this.scrollLeft(); +}else{ +return this.each(function(){ +$(this).scrollLeft(_13); +}); +} +}; +$.fn._propAttr=$.fn.prop||$.fn.attr; +$.fn._size=function(_14,_15){ +if(typeof _14=="string"){ +if(_14=="clear"){ +return this.each(function(){ +$(this).css({width:"",minWidth:"",maxWidth:"",height:"",minHeight:"",maxHeight:""}); +}); +}else{ +if(_14=="fit"){ +return this.each(function(){ +_16(this,this.tagName=="BODY"?$("body"):$(this).parent(),true); +}); +}else{ +if(_14=="unfit"){ +return this.each(function(){ +_16(this,$(this).parent(),false); +}); +}else{ +if(_15==undefined){ +return _17(this[0],_14); +}else{ +return this.each(function(){ +_17(this,_14,_15); +}); +} +} +} +} +}else{ +return this.each(function(){ +_15=_15||$(this).parent(); +$.extend(_14,_16(this,_15,_14.fit)||{}); +var r1=_18(this,"width",_15,_14); +var r2=_18(this,"height",_15,_14); +if(r1||r2){ +$(this).addClass("easyui-fluid"); +}else{ +$(this).removeClass("easyui-fluid"); +} +}); +} +function _16(_19,_1a,fit){ +if(!_1a.length){ +return false; +} +var t=$(_19)[0]; +var p=_1a[0]; +var _1b=p.fcount||0; +if(fit){ +if(!t.fitted){ +t.fitted=true; +p.fcount=_1b+1; +$(p).addClass("panel-noscroll"); +if(p.tagName=="BODY"){ +$("html").addClass("panel-fit"); +} +} +return {width:($(p).width()||1),height:($(p).height()||1)}; +}else{ +if(t.fitted){ +t.fitted=false; +p.fcount=_1b-1; +if(p.fcount==0){ +$(p).removeClass("panel-noscroll"); +if(p.tagName=="BODY"){ +$("html").removeClass("panel-fit"); +} +} +} +return false; +} +}; +function _18(_1c,_1d,_1e,_1f){ +var t=$(_1c); +var p=_1d; +var p1=p.substr(0,1).toUpperCase()+p.substr(1); +var min=$.parser.parseValue("min"+p1,_1f["min"+p1],_1e); +var max=$.parser.parseValue("max"+p1,_1f["max"+p1],_1e); +var val=$.parser.parseValue(p,_1f[p],_1e); +var _20=(String(_1f[p]||"").indexOf("%")>=0?true:false); +if(!isNaN(val)){ +var v=Math.min(Math.max(val,min||0),max||99999); +if(!_20){ +_1f[p]=v; +} +t._size("min"+p1,""); +t._size("max"+p1,""); +t._size(p,v); +}else{ +t._size(p,""); +t._size("min"+p1,min); +t._size("max"+p1,max); +} +return _20||_1f.fit; +}; +function _17(_21,_22,_23){ +var t=$(_21); +if(_23==undefined){ +_23=parseInt(_21.style[_22]); +if(isNaN(_23)){ +return undefined; +} +if($._boxModel){ +_23+=_24(); +} +return _23; +}else{ +if(_23===""){ +t.css(_22,""); +}else{ +if($._boxModel){ +_23-=_24(); +if(_23<0){ +_23=0; +} +} +t.css(_22,_23+"px"); +} +} +function _24(){ +if(_22.toLowerCase().indexOf("width")>=0){ +return t.outerWidth()-t.width(); +}else{ +return t.outerHeight()-t.height(); +} +}; +}; +}; +})(jQuery); +(function($){ +var _25=null; +var _26=null; +var _27=false; +function _28(e){ +if(e.touches.length!=1){ +return; +} +if(!_27){ +_27=true; +dblClickTimer=setTimeout(function(){ +_27=false; +},500); +}else{ +clearTimeout(dblClickTimer); +_27=false; +_29(e,"dblclick"); +} +_25=setTimeout(function(){ +_29(e,"contextmenu",3); +},1000); +_29(e,"mousedown"); +if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ +e.preventDefault(); +} +}; +function _2a(e){ +if(e.touches.length!=1){ +return; +} +if(_25){ +clearTimeout(_25); +} +_29(e,"mousemove"); +if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ +e.preventDefault(); +} +}; +function _2b(e){ +if(_25){ +clearTimeout(_25); +} +_29(e,"mouseup"); +if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ +e.preventDefault(); +} +}; +function _29(e,_2c,_2d){ +var _2e=new $.Event(_2c); +_2e.pageX=e.changedTouches[0].pageX; +_2e.pageY=e.changedTouches[0].pageY; +_2e.which=_2d||1; +$(e.target).trigger(_2e); +}; +if(document.addEventListener){ +document.addEventListener("touchstart",_28,true); +document.addEventListener("touchmove",_2a,true); +document.addEventListener("touchend",_2b,true); +} +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.progressbar.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.progressbar.js new file mode 100644 index 0000000..fbd5e4f --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.progressbar.js @@ -0,0 +1,84 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +function _1(_2){ +$(_2).addClass("progressbar"); +$(_2).html("
                                        "); +$(_2).bind("_resize",function(e,_3){ +if($(this).hasClass("easyui-fluid")||_3){ +_4(_2); +} +return false; +}); +return $(_2); +}; +function _4(_5,_6){ +var _7=$.data(_5,"progressbar").options; +var _8=$.data(_5,"progressbar").bar; +if(_6){ +_7.width=_6; +} +_8._size(_7); +_8.find("div.progressbar-text").css("width",_8.width()); +_8.find("div.progressbar-text,div.progressbar-value").css({height:_8.height()+"px",lineHeight:_8.height()+"px"}); +}; +$.fn.progressbar=function(_9,_a){ +if(typeof _9=="string"){ +var _b=$.fn.progressbar.methods[_9]; +if(_b){ +return _b(this,_a); +} +} +_9=_9||{}; +return this.each(function(){ +var _c=$.data(this,"progressbar"); +if(_c){ +$.extend(_c.options,_9); +}else{ +_c=$.data(this,"progressbar",{options:$.extend({},$.fn.progressbar.defaults,$.fn.progressbar.parseOptions(this),_9),bar:_1(this)}); +} +$(this).progressbar("setValue",_c.options.value); +_4(this); +}); +}; +$.fn.progressbar.methods={options:function(jq){ +return $.data(jq[0],"progressbar").options; +},resize:function(jq,_d){ +return jq.each(function(){ +_4(this,_d); +}); +},getValue:function(jq){ +return $.data(jq[0],"progressbar").options.value; +},setValue:function(jq,_e){ +if(_e<0){ +_e=0; +} +if(_e>100){ +_e=100; +} +return jq.each(function(){ +var _f=$.data(this,"progressbar").options; +var _10=_f.text.replace(/{value}/,_e); +var _11=_f.value; +_f.value=_e; +$(this).find("div.progressbar-value").width(_e+"%"); +$(this).find("div.progressbar-text").html(_10); +if(_11!=_e){ +_f.onChange.call(this,_e,_11); +} +}); +}}; +$.fn.progressbar.parseOptions=function(_12){ +return $.extend({},$.parser.parseOptions(_12,["width","height","text",{value:"number"}])); +}; +$.fn.progressbar.defaults={width:"auto",height:22,value:0,text:"{value}%",onChange:function(_13,_14){ +}}; +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.propertygrid.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.propertygrid.js new file mode 100644 index 0000000..e02f00c --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.propertygrid.js @@ -0,0 +1,327 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +var _1; +$(document).unbind(".propertygrid").bind("mousedown.propertygrid",function(e){ +var p=$(e.target).closest("div.datagrid-view,div.combo-panel"); +if(p.length){ +return; +} +_2(_1); +_1=undefined; +}); +function _3(_4){ +var _5=$.data(_4,"propertygrid"); +var _6=$.data(_4,"propertygrid").options; +$(_4).datagrid($.extend({},_6,{cls:"propertygrid",view:(_6.showGroup?_6.groupView:_6.view),onBeforeEdit:function(_7,_8){ +if(_6.onBeforeEdit.call(_4,_7,_8)==false){ +return false; +} +var dg=$(this); +var _8=dg.datagrid("getRows")[_7]; +var _9=dg.datagrid("getColumnOption","value"); +_9.editor=_8.editor; +},onClickCell:function(_a,_b,_c){ +if(_1!=this){ +_2(_1); +_1=this; +} +if(_6.editIndex!=_a){ +_2(_1); +$(this).datagrid("beginEdit",_a); +var ed=$(this).datagrid("getEditor",{index:_a,field:_b}); +if(!ed){ +ed=$(this).datagrid("getEditor",{index:_a,field:"value"}); +} +if(ed){ +var t=$(ed.target); +var _d=t.data("textbox")?t.textbox("textbox"):t; +_d.focus(); +_6.editIndex=_a; +} +} +_6.onClickCell.call(_4,_a,_b,_c); +},loadFilter:function(_e){ +_2(this); +return _6.loadFilter.call(this,_e); +}})); +}; +function _2(_f){ +var t=$(_f); +if(!t.length){ +return; +} +var _10=$.data(_f,"propertygrid").options; +_10.finder.getTr(_f,null,"editing").each(function(){ +var _11=parseInt($(this).attr("datagrid-row-index")); +if(t.datagrid("validateRow",_11)){ +t.datagrid("endEdit",_11); +}else{ +t.datagrid("cancelEdit",_11); +} +}); +}; +$.fn.propertygrid=function(_12,_13){ +if(typeof _12=="string"){ +var _14=$.fn.propertygrid.methods[_12]; +if(_14){ +return _14(this,_13); +}else{ +return this.datagrid(_12,_13); +} +} +_12=_12||{}; +return this.each(function(){ +var _15=$.data(this,"propertygrid"); +if(_15){ +$.extend(_15.options,_12); +}else{ +var _16=$.extend({},$.fn.propertygrid.defaults,$.fn.propertygrid.parseOptions(this),_12); +_16.frozenColumns=$.extend(true,[],_16.frozenColumns); +_16.columns=$.extend(true,[],_16.columns); +$.data(this,"propertygrid",{options:_16}); +} +_3(this); +}); +}; +$.fn.propertygrid.methods={options:function(jq){ +return $.data(jq[0],"propertygrid").options; +}}; +$.fn.propertygrid.parseOptions=function(_17){ +return $.extend({},$.fn.datagrid.parseOptions(_17),$.parser.parseOptions(_17,[{showGroup:"boolean"}])); +}; +var _18=$.extend({},$.fn.datagrid.defaults.view,{render:function(_19,_1a,_1b){ +var _1c=[]; +var _1d=this.groups; +for(var i=0;i<_1d.length;i++){ +_1c.push(this.renderGroup.call(this,_19,i,_1d[i],_1b)); +} +$(_1a).html(_1c.join("")); +},renderGroup:function(_1e,_1f,_20,_21){ +var _22=$.data(_1e,"datagrid"); +var _23=_22.options; +var _24=$(_1e).datagrid("getColumnFields",_21); +var _25=[]; +_25.push("
                                        "); +_25.push(""); +_25.push(""); +if((_21&&(_23.rownumbers||_23.frozenColumns.length))||(!_21&&!(_23.rownumbers||_23.frozenColumns.length))){ +_25.push(""); +} +_25.push(""); +_25.push(""); +_25.push("
                                         "); +if(!_21){ +_25.push(""); +_25.push(_23.groupFormatter.call(_1e,_20.value,_20.rows)); +_25.push(""); +} +_25.push("
                                        "); +_25.push("
                                        "); +_25.push(""); +var _26=_20.startIndex; +for(var j=0;j<_20.rows.length;j++){ +var css=_23.rowStyler?_23.rowStyler.call(_1e,_26,_20.rows[j]):""; +var _27=""; +var _28=""; +if(typeof css=="string"){ +_28=css; +}else{ +if(css){ +_27=css["class"]||""; +_28=css["style"]||""; +} +} +var cls="class=\"datagrid-row "+(_26%2&&_23.striped?"datagrid-row-alt ":" ")+_27+"\""; +var _29=_28?"style=\""+_28+"\"":""; +var _2a=_22.rowIdPrefix+"-"+(_21?1:2)+"-"+_26; +_25.push(""); +_25.push(this.renderRow.call(this,_1e,_24,_21,_26,_20.rows[j])); +_25.push(""); +_26++; +} +_25.push("
                                        "); +return _25.join(""); +},bindEvents:function(_2b){ +var _2c=$.data(_2b,"datagrid"); +var dc=_2c.dc; +var _2d=dc.body1.add(dc.body2); +var _2e=($.data(_2d[0],"events")||$._data(_2d[0],"events")).click[0].handler; +_2d.unbind("click").bind("click",function(e){ +var tt=$(e.target); +var _2f=tt.closest("span.datagrid-row-expander"); +if(_2f.length){ +var _30=_2f.closest("div.datagrid-group").attr("group-index"); +if(_2f.hasClass("datagrid-row-collapse")){ +$(_2b).datagrid("collapseGroup",_30); +}else{ +$(_2b).datagrid("expandGroup",_30); +} +}else{ +_2e(e); +} +e.stopPropagation(); +}); +},onBeforeRender:function(_31,_32){ +var _33=$.data(_31,"datagrid"); +var _34=_33.options; +_35(); +var _36=[]; +for(var i=0;i<_32.length;i++){ +var row=_32[i]; +var _37=_38(row[_34.groupField]); +if(!_37){ +_37={value:row[_34.groupField],rows:[row]}; +_36.push(_37); +}else{ +_37.rows.push(row); +} +} +var _39=0; +var _3a=[]; +for(var i=0;i<_36.length;i++){ +var _37=_36[i]; +_37.startIndex=_39; +_39+=_37.rows.length; +_3a=_3a.concat(_37.rows); +} +_33.data.rows=_3a; +this.groups=_36; +var _3b=this; +setTimeout(function(){ +_3b.bindEvents(_31); +},0); +function _38(_3c){ +for(var i=0;i<_36.length;i++){ +var _3d=_36[i]; +if(_3d.value==_3c){ +return _3d; +} +} +return null; +}; +function _35(){ +if(!$("#datagrid-group-style").length){ +$("head").append(""); +} +}; +}}); +$.extend($.fn.datagrid.methods,{expandGroup:function(jq,_3e){ +return jq.each(function(){ +var _3f=$.data(this,"datagrid").dc.view; +var _40=_3f.find(_3e!=undefined?"div.datagrid-group[group-index=\""+_3e+"\"]":"div.datagrid-group"); +var _41=_40.find("span.datagrid-row-expander"); +if(_41.hasClass("datagrid-row-expand")){ +_41.removeClass("datagrid-row-expand").addClass("datagrid-row-collapse"); +_40.next("table").show(); +} +$(this).datagrid("fixRowHeight"); +}); +},collapseGroup:function(jq,_42){ +return jq.each(function(){ +var _43=$.data(this,"datagrid").dc.view; +var _44=_43.find(_42!=undefined?"div.datagrid-group[group-index=\""+_42+"\"]":"div.datagrid-group"); +var _45=_44.find("span.datagrid-row-expander"); +if(_45.hasClass("datagrid-row-collapse")){ +_45.removeClass("datagrid-row-collapse").addClass("datagrid-row-expand"); +_44.next("table").hide(); +} +$(this).datagrid("fixRowHeight"); +}); +}}); +$.extend(_18,{refreshGroupTitle:function(_46,_47){ +var _48=$.data(_46,"datagrid"); +var _49=_48.options; +var dc=_48.dc; +var _4a=this.groups[_47]; +var _4b=dc.body2.children("div.datagrid-group[group-index="+_47+"]").find("span.datagrid-group-title"); +_4b.html(_49.groupFormatter.call(_46,_4a.value,_4a.rows)); +},insertRow:function(_4c,_4d,row){ +var _4e=$.data(_4c,"datagrid"); +var _4f=_4e.options; +var dc=_4e.dc; +var _50=null; +var _51; +for(var i=0;i_50.startIndex+_50.rows.length){ +_4d=_50.startIndex+_50.rows.length; +} +} +$.fn.datagrid.defaults.view.insertRow.call(this,_4c,_4d,row); +if(_4d>=_50.startIndex+_50.rows.length){ +_52(_4d,true); +_52(_4d,false); +} +_50.rows.splice(_4d-_50.startIndex,0,row); +}else{ +_50={value:row[_4f.groupField],rows:[row],startIndex:_4e.data.rows.length}; +_51=this.groups.length; +dc.body1.append(this.renderGroup.call(this,_4c,_51,_50,true)); +dc.body2.append(this.renderGroup.call(this,_4c,_51,_50,false)); +this.groups.push(_50); +_4e.data.rows.push(row); +} +this.refreshGroupTitle(_4c,_51); +function _52(_53,_54){ +var _55=_54?1:2; +var _56=_4f.finder.getTr(_4c,_53-1,"body",_55); +var tr=_4f.finder.getTr(_4c,_53,"body",_55); +tr.insertAfter(_56); +}; +},updateRow:function(_57,_58,row){ +var _59=$.data(_57,"datagrid").options; +$.fn.datagrid.defaults.view.updateRow.call(this,_57,_58,row); +var tb=_59.finder.getTr(_57,_58,"body",2).closest("table.datagrid-btable"); +var _5a=parseInt(tb.prev().attr("group-index")); +this.refreshGroupTitle(_57,_5a); +},deleteRow:function(_5b,_5c){ +var _5d=$.data(_5b,"datagrid"); +var _5e=_5d.options; +var dc=_5d.dc; +var _5f=dc.body1.add(dc.body2); +var tb=_5e.finder.getTr(_5b,_5c,"body",2).closest("table.datagrid-btable"); +var _60=parseInt(tb.prev().attr("group-index")); +$.fn.datagrid.defaults.view.deleteRow.call(this,_5b,_5c); +var _61=this.groups[_60]; +if(_61.rows.length>1){ +_61.rows.splice(_5c-_61.startIndex,1); +this.refreshGroupTitle(_5b,_60); +}else{ +_5f.children("div.datagrid-group[group-index="+_60+"]").remove(); +for(var i=_60+1;i_13.top&&e.pageY<_13.top+_16){ +dir+="n"; +}else{ +if(e.pageY<_13.top+_15&&e.pageY>_13.top+_15-_16){ +dir+="s"; +} +} +if(e.pageX>_13.left&&e.pageX<_13.left+_16){ +dir+="w"; +}else{ +if(e.pageX<_13.left+_14&&e.pageX>_13.left+_14-_16){ +dir+="e"; +} +} +var _17=_d.handles.split(","); +for(var i=0;i<_17.length;i++){ +var _18=_17[i].replace(/(^\s*)|(\s*$)/g,""); +if(_18=="all"||_18==dir){ +return dir; +} +} +return ""; +}; +}); +}; +$.fn.resizable.methods={options:function(jq){ +return $.data(jq[0],"resizable").options; +},enable:function(jq){ +return jq.each(function(){ +$(this).resizable({disabled:false}); +}); +},disable:function(jq){ +return jq.each(function(){ +$(this).resizable({disabled:true}); +}); +}}; +$.fn.resizable.parseOptions=function(_19){ +var t=$(_19); +return $.extend({},$.parser.parseOptions(_19,["handles",{minWidth:"number",minHeight:"number",maxWidth:"number",maxHeight:"number",edge:"number"}]),{disabled:(t.attr("disabled")?true:undefined)}); +}; +$.fn.resizable.defaults={disabled:false,handles:"n, e, s, w, ne, se, sw, nw, all",minWidth:10,minHeight:10,maxWidth:10000,maxHeight:10000,edge:5,onStartResize:function(e){ +},onResize:function(e){ +},onStopResize:function(e){ +}}; +$.fn.resizable.isResizing=false; +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.searchbox.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.searchbox.js new file mode 100644 index 0000000..4a8b306 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.searchbox.js @@ -0,0 +1,132 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +function _1(_2){ +var _3=$.data(_2,"searchbox"); +var _4=_3.options; +var _5=$.extend(true,[],_4.icons); +_5.push({iconCls:"searchbox-button",handler:function(e){ +var t=$(e.data.target); +var _6=t.searchbox("options"); +_6.searcher.call(e.data.target,t.searchbox("getValue"),t.searchbox("getName")); +}}); +_7(); +var _8=_9(); +$(_2).addClass("searchbox-f").textbox($.extend({},_4,{icons:_5,buttonText:(_8?_8.text:"")})); +$(_2).attr("searchboxName",$(_2).attr("textboxName")); +_3.searchbox=$(_2).next(); +_3.searchbox.addClass("searchbox"); +_a(_8); +function _7(){ +if(_4.menu){ +_3.menu=$(_4.menu).menu(); +var _b=_3.menu.menu("options"); +var _c=_b.onClick; +_b.onClick=function(_d){ +_a(_d); +_c.call(this,_d); +}; +}else{ +if(_3.menu){ +_3.menu.menu("destroy"); +} +_3.menu=null; +} +}; +function _9(){ +if(_3.menu){ +var _e=_3.menu.children("div.menu-item:first"); +_3.menu.children("div.menu-item").each(function(){ +var _f=$.extend({},$.parser.parseOptions(this),{selected:($(this).attr("selected")?true:undefined)}); +if(_f.selected){ +_e=$(this); +return false; +} +}); +return _3.menu.menu("getItem",_e[0]); +}else{ +return null; +} +}; +function _a(_10){ +if(!_10){ +return; +} +$(_2).textbox("button").menubutton({text:_10.text,iconCls:(_10.iconCls||null),menu:_3.menu,menuAlign:_4.buttonAlign,plain:false}); +_3.searchbox.find("input.textbox-value").attr("name",_10.name||_10.text); +$(_2).searchbox("resize"); +}; +}; +$.fn.searchbox=function(_11,_12){ +if(typeof _11=="string"){ +var _13=$.fn.searchbox.methods[_11]; +if(_13){ +return _13(this,_12); +}else{ +return this.textbox(_11,_12); +} +} +_11=_11||{}; +return this.each(function(){ +var _14=$.data(this,"searchbox"); +if(_14){ +$.extend(_14.options,_11); +}else{ +$.data(this,"searchbox",{options:$.extend({},$.fn.searchbox.defaults,$.fn.searchbox.parseOptions(this),_11)}); +} +_1(this); +}); +}; +$.fn.searchbox.methods={options:function(jq){ +var _15=jq.textbox("options"); +return $.extend($.data(jq[0],"searchbox").options,{width:_15.width,value:_15.value,originalValue:_15.originalValue,disabled:_15.disabled,readonly:_15.readonly}); +},menu:function(jq){ +return $.data(jq[0],"searchbox").menu; +},getName:function(jq){ +return $.data(jq[0],"searchbox").searchbox.find("input.textbox-value").attr("name"); +},selectName:function(jq,_16){ +return jq.each(function(){ +var _17=$.data(this,"searchbox").menu; +if(_17){ +_17.children("div.menu-item").each(function(){ +var _18=_17.menu("getItem",this); +if(_18.name==_16){ +$(this).triggerHandler("click"); +return false; +} +}); +} +}); +},destroy:function(jq){ +return jq.each(function(){ +var _19=$(this).searchbox("menu"); +if(_19){ +_19.menu("destroy"); +} +$(this).textbox("destroy"); +}); +}}; +$.fn.searchbox.parseOptions=function(_1a){ +var t=$(_1a); +return $.extend({},$.fn.textbox.parseOptions(_1a),$.parser.parseOptions(_1a,["menu"]),{searcher:(t.attr("searcher")?eval(t.attr("searcher")):undefined)}); +}; +$.fn.searchbox.defaults=$.extend({},$.fn.textbox.defaults,{inputEvents:$.extend({},$.fn.textbox.defaults.inputEvents,{keydown:function(e){ +if(e.keyCode==13){ +e.preventDefault(); +var t=$(e.data.target); +var _1b=t.searchbox("options"); +t.searchbox("setValue",$(this).val()); +_1b.searcher.call(e.data.target,t.searchbox("getValue"),t.searchbox("getName")); +return false; +} +}}),buttonAlign:"left",menu:null,searcher:function(_1c,_1d){ +}}); +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.slider.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.slider.js new file mode 100644 index 0000000..39373b2 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.slider.js @@ -0,0 +1,277 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +function _1(_2){ +var _3=$("
                                        "+"
                                        "+""+""+"
                                        "+"
                                        "+"
                                        "+"
                                        "+""+"
                                        ").insertAfter(_2); +var t=$(_2); +t.addClass("slider-f").hide(); +var _4=t.attr("name"); +if(_4){ +_3.find("input.slider-value").attr("name",_4); +t.removeAttr("name").attr("sliderName",_4); +} +_3.bind("_resize",function(e,_5){ +if($(this).hasClass("easyui-fluid")||_5){ +_6(_2); +} +return false; +}); +return _3; +}; +function _6(_7,_8){ +var _9=$.data(_7,"slider"); +var _a=_9.options; +var _b=_9.slider; +if(_8){ +if(_8.width){ +_a.width=_8.width; +} +if(_8.height){ +_a.height=_8.height; +} +} +_b._size(_a); +if(_a.mode=="h"){ +_b.css("height",""); +_b.children("div").css("height",""); +}else{ +_b.css("width",""); +_b.children("div").css("width",""); +_b.children("div.slider-rule,div.slider-rulelabel,div.slider-inner")._outerHeight(_b._outerHeight()); +} +_c(_7); +}; +function _d(_e){ +var _f=$.data(_e,"slider"); +var _10=_f.options; +var _11=_f.slider; +var aa=_10.mode=="h"?_10.rule:_10.rule.slice(0).reverse(); +if(_10.reversed){ +aa=aa.slice(0).reverse(); +} +_12(aa); +function _12(aa){ +var _13=_11.find("div.slider-rule"); +var _14=_11.find("div.slider-rulelabel"); +_13.empty(); +_14.empty(); +for(var i=0;i").appendTo(_13); +_16.css((_10.mode=="h"?"left":"top"),_15); +if(aa[i]!="|"){ +_16=$("").appendTo(_14); +_16.html(aa[i]); +if(_10.mode=="h"){ +_16.css({left:_15,marginLeft:-Math.round(_16.outerWidth()/2)}); +}else{ +_16.css({top:_15,marginTop:-Math.round(_16.outerHeight()/2)}); +} +} +} +}; +}; +function _17(_18){ +var _19=$.data(_18,"slider"); +var _1a=_19.options; +var _1b=_19.slider; +_1b.removeClass("slider-h slider-v slider-disabled"); +_1b.addClass(_1a.mode=="h"?"slider-h":"slider-v"); +_1b.addClass(_1a.disabled?"slider-disabled":""); +_1b.find("a.slider-handle").draggable({axis:_1a.mode,cursor:"pointer",disabled:_1a.disabled,onDrag:function(e){ +var _1c=e.data.left; +var _1d=_1b.width(); +if(_1a.mode!="h"){ +_1c=e.data.top; +_1d=_1b.height(); +} +if(_1c<0||_1c>_1d){ +return false; +}else{ +var _1e=_34(_18,_1c); +_1f(_1e); +return false; +} +},onBeforeDrag:function(){ +_19.isDragging=true; +},onStartDrag:function(){ +_1a.onSlideStart.call(_18,_1a.value); +},onStopDrag:function(e){ +var _20=_34(_18,(_1a.mode=="h"?e.data.left:e.data.top)); +_1f(_20); +_1a.onSlideEnd.call(_18,_1a.value); +_1a.onComplete.call(_18,_1a.value); +_19.isDragging=false; +}}); +_1b.find("div.slider-inner").unbind(".slider").bind("mousedown.slider",function(e){ +if(_19.isDragging||_1a.disabled){ +return; +} +var pos=$(this).offset(); +var _21=_34(_18,(_1a.mode=="h"?(e.pageX-pos.left):(e.pageY-pos.top))); +_1f(_21); +_1a.onComplete.call(_18,_1a.value); +}); +function _1f(_22){ +var s=Math.abs(_22%_1a.step); +if(s<_1a.step/2){ +_22-=s; +}else{ +_22=_22-s+_1a.step; +} +_23(_18,_22); +}; +}; +function _23(_24,_25){ +var _26=$.data(_24,"slider"); +var _27=_26.options; +var _28=_26.slider; +var _29=_27.value; +if(_25<_27.min){ +_25=_27.min; +} +if(_25>_27.max){ +_25=_27.max; +} +_27.value=_25; +$(_24).val(_25); +_28.find("input.slider-value").val(_25); +var pos=_2a(_24,_25); +var tip=_28.find(".slider-tip"); +if(_27.showTip){ +tip.show(); +tip.html(_27.tipFormatter.call(_24,_27.value)); +}else{ +tip.hide(); +} +if(_27.mode=="h"){ +var _2b="left:"+pos+"px;"; +_28.find(".slider-handle").attr("style",_2b); +tip.attr("style",_2b+"margin-left:"+(-Math.round(tip.outerWidth()/2))+"px"); +}else{ +var _2b="top:"+pos+"px;"; +_28.find(".slider-handle").attr("style",_2b); +tip.attr("style",_2b+"margin-left:"+(-Math.round(tip.outerWidth()))+"px"); +} +if(_29!=_25){ +_27.onChange.call(_24,_25,_29); +} +}; +function _c(_2c){ +var _2d=$.data(_2c,"slider").options; +var fn=_2d.onChange; +_2d.onChange=function(){ +}; +_23(_2c,_2d.value); +_2d.onChange=fn; +}; +function _2a(_2e,_2f){ +var _30=$.data(_2e,"slider"); +var _31=_30.options; +var _32=_30.slider; +var _33=_31.mode=="h"?_32.width():_32.height(); +var pos=_31.converter.toPosition.call(_2e,_2f,_33); +if(_31.mode=="v"){ +pos=_32.height()-pos; +} +if(_31.reversed){ +pos=_33-pos; +} +return pos.toFixed(0); +}; +function _34(_35,pos){ +var _36=$.data(_35,"slider"); +var _37=_36.options; +var _38=_36.slider; +var _39=_37.mode=="h"?_38.width():_38.height(); +var _3a=_37.converter.toValue.call(_35,_37.mode=="h"?(_37.reversed?(_39-pos):pos):(_39-pos),_39); +return _3a.toFixed(0); +}; +$.fn.slider=function(_3b,_3c){ +if(typeof _3b=="string"){ +return $.fn.slider.methods[_3b](this,_3c); +} +_3b=_3b||{}; +return this.each(function(){ +var _3d=$.data(this,"slider"); +if(_3d){ +$.extend(_3d.options,_3b); +}else{ +_3d=$.data(this,"slider",{options:$.extend({},$.fn.slider.defaults,$.fn.slider.parseOptions(this),_3b),slider:_1(this)}); +$(this).removeAttr("disabled"); +} +var _3e=_3d.options; +_3e.min=parseFloat(_3e.min); +_3e.max=parseFloat(_3e.max); +_3e.value=parseFloat(_3e.value); +_3e.step=parseFloat(_3e.step); +_3e.originalValue=_3e.value; +_17(this); +_d(this); +_6(this); +}); +}; +$.fn.slider.methods={options:function(jq){ +return $.data(jq[0],"slider").options; +},destroy:function(jq){ +return jq.each(function(){ +$.data(this,"slider").slider.remove(); +$(this).remove(); +}); +},resize:function(jq,_3f){ +return jq.each(function(){ +_6(this,_3f); +}); +},getValue:function(jq){ +return jq.slider("options").value; +},setValue:function(jq,_40){ +return jq.each(function(){ +_23(this,_40); +}); +},clear:function(jq){ +return jq.each(function(){ +var _41=$(this).slider("options"); +_23(this,_41.min); +}); +},reset:function(jq){ +return jq.each(function(){ +var _42=$(this).slider("options"); +_23(this,_42.originalValue); +}); +},enable:function(jq){ +return jq.each(function(){ +$.data(this,"slider").options.disabled=false; +_17(this); +}); +},disable:function(jq){ +return jq.each(function(){ +$.data(this,"slider").options.disabled=true; +_17(this); +}); +}}; +$.fn.slider.parseOptions=function(_43){ +var t=$(_43); +return $.extend({},$.parser.parseOptions(_43,["width","height","mode",{reversed:"boolean",showTip:"boolean",min:"number",max:"number",step:"number"}]),{value:(t.val()||undefined),disabled:(t.attr("disabled")?true:undefined),rule:(t.attr("rule")?eval(t.attr("rule")):undefined)}); +}; +$.fn.slider.defaults={width:"auto",height:"auto",mode:"h",reversed:false,showTip:false,disabled:false,value:0,min:0,max:100,step:1,rule:[],tipFormatter:function(_44){ +return _44; +},converter:{toPosition:function(_45,_46){ +var _47=$(this).slider("options"); +return (_45-_47.min)/(_47.max-_47.min)*_46; +},toValue:function(pos,_48){ +var _49=$(this).slider("options"); +return _49.min+(_49.max-_49.min)*(pos/_48); +}},onChange:function(_4a,_4b){ +},onSlideStart:function(_4c){ +},onSlideEnd:function(_4d){ +},onComplete:function(_4e){ +}}; +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.spinner.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.spinner.js new file mode 100644 index 0000000..304c4cd --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.spinner.js @@ -0,0 +1,74 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +function _1(_2){ +var _3=$.data(_2,"spinner"); +var _4=_3.options; +var _5=$.extend(true,[],_4.icons); +_5.push({iconCls:"spinner-arrow",handler:function(e){ +_6(e); +}}); +$(_2).addClass("spinner-f").textbox($.extend({},_4,{icons:_5})); +var _7=$(_2).textbox("getIcon",_5.length-1); +_7.append(""); +_7.append(""); +$(_2).attr("spinnerName",$(_2).attr("textboxName")); +_3.spinner=$(_2).next(); +_3.spinner.addClass("spinner"); +}; +function _6(e){ +var _8=e.data.target; +var _9=$(_8).spinner("options"); +var up=$(e.target).closest("a.spinner-arrow-up"); +if(up.length){ +_9.spin.call(_8,false); +_9.onSpinUp.call(_8); +$(_8).spinner("validate"); +} +var _a=$(e.target).closest("a.spinner-arrow-down"); +if(_a.length){ +_9.spin.call(_8,true); +_9.onSpinDown.call(_8); +$(_8).spinner("validate"); +} +}; +$.fn.spinner=function(_b,_c){ +if(typeof _b=="string"){ +var _d=$.fn.spinner.methods[_b]; +if(_d){ +return _d(this,_c); +}else{ +return this.textbox(_b,_c); +} +} +_b=_b||{}; +return this.each(function(){ +var _e=$.data(this,"spinner"); +if(_e){ +$.extend(_e.options,_b); +}else{ +_e=$.data(this,"spinner",{options:$.extend({},$.fn.spinner.defaults,$.fn.spinner.parseOptions(this),_b)}); +} +_1(this); +}); +}; +$.fn.spinner.methods={options:function(jq){ +var _f=jq.textbox("options"); +return $.extend($.data(jq[0],"spinner").options,{width:_f.width,value:_f.value,originalValue:_f.originalValue,disabled:_f.disabled,readonly:_f.readonly}); +}}; +$.fn.spinner.parseOptions=function(_10){ +return $.extend({},$.fn.textbox.parseOptions(_10),$.parser.parseOptions(_10,["min","max",{increment:"number"}])); +}; +$.fn.spinner.defaults=$.extend({},$.fn.textbox.defaults,{min:null,max:null,increment:1,spin:function(_11){ +},onSpinUp:function(){ +},onSpinDown:function(){ +}}); +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.splitbutton.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.splitbutton.js new file mode 100644 index 0000000..adae2bd --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.splitbutton.js @@ -0,0 +1,49 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +function _1(_2){ +var _3=$.data(_2,"splitbutton").options; +$(_2).menubutton(_3); +$(_2).addClass("s-btn"); +}; +$.fn.splitbutton=function(_4,_5){ +if(typeof _4=="string"){ +var _6=$.fn.splitbutton.methods[_4]; +if(_6){ +return _6(this,_5); +}else{ +return this.menubutton(_4,_5); +} +} +_4=_4||{}; +return this.each(function(){ +var _7=$.data(this,"splitbutton"); +if(_7){ +$.extend(_7.options,_4); +}else{ +$.data(this,"splitbutton",{options:$.extend({},$.fn.splitbutton.defaults,$.fn.splitbutton.parseOptions(this),_4)}); +$(this).removeAttr("disabled"); +} +_1(this); +}); +}; +$.fn.splitbutton.methods={options:function(jq){ +var _8=jq.menubutton("options"); +var _9=$.data(jq[0],"splitbutton").options; +$.extend(_9,{disabled:_8.disabled,toggle:_8.toggle,selected:_8.selected}); +return _9; +}}; +$.fn.splitbutton.parseOptions=function(_a){ +var t=$(_a); +return $.extend({},$.fn.linkbutton.parseOptions(_a),$.parser.parseOptions(_a,["menu",{plain:"boolean",duration:"number"}])); +}; +$.fn.splitbutton.defaults=$.extend({},$.fn.linkbutton.defaults,{plain:true,menu:null,duration:100,cls:{btn1:"m-btn-active s-btn-active",btn2:"m-btn-plain-active s-btn-plain-active",arrow:"m-btn-downarrow",trigger:"m-btn-line"}}); +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.tabs.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.tabs.js new file mode 100644 index 0000000..d98348c --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.tabs.js @@ -0,0 +1,603 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +function _1(_2){ +var _3=$.data(_2,"tabs").options; +if(_3.tabPosition=="left"||_3.tabPosition=="right"||!_3.showHeader){ +return; +} +var _4=$(_2).children("div.tabs-header"); +var _5=_4.children("div.tabs-tool"); +var _6=_4.children("div.tabs-scroller-left"); +var _7=_4.children("div.tabs-scroller-right"); +var _8=_4.children("div.tabs-wrap"); +var _9=_4.outerHeight(); +if(_3.plain){ +_9-=_9-_4.height(); +} +_5._outerHeight(_9); +var _a=0; +$("ul.tabs li",_4).each(function(){ +_a+=$(this).outerWidth(true); +}); +var _b=_4.width()-_5._outerWidth(); +if(_a>_b){ +_6.add(_7).show()._outerHeight(_9); +if(_3.toolPosition=="left"){ +_5.css({left:_6.outerWidth(),right:""}); +_8.css({marginLeft:_6.outerWidth()+_5._outerWidth(),marginRight:_7._outerWidth(),width:_b-_6.outerWidth()-_7.outerWidth()}); +}else{ +_5.css({left:"",right:_7.outerWidth()}); +_8.css({marginLeft:_6.outerWidth(),marginRight:_7.outerWidth()+_5._outerWidth(),width:_b-_6.outerWidth()-_7.outerWidth()}); +} +}else{ +_6.add(_7).hide(); +if(_3.toolPosition=="left"){ +_5.css({left:0,right:""}); +_8.css({marginLeft:_5._outerWidth(),marginRight:0,width:_b}); +}else{ +_5.css({left:"",right:0}); +_8.css({marginLeft:0,marginRight:_5._outerWidth(),width:_b}); +} +} +}; +function _c(_d){ +var _e=$.data(_d,"tabs").options; +var _f=$(_d).children("div.tabs-header"); +if(_e.tools){ +if(typeof _e.tools=="string"){ +$(_e.tools).addClass("tabs-tool").appendTo(_f); +$(_e.tools).show(); +}else{ +_f.children("div.tabs-tool").remove(); +var _10=$("
                                        ").appendTo(_f); +var tr=_10.find("tr"); +for(var i=0;i<_e.tools.length;i++){ +var td=$("").appendTo(tr); +var _11=$("").appendTo(td); +_11[0].onclick=eval(_e.tools[i].handler||function(){ +}); +_11.linkbutton($.extend({},_e.tools[i],{plain:true})); +} +} +}else{ +_f.children("div.tabs-tool").remove(); +} +}; +function _12(_13,_14){ +var _15=$.data(_13,"tabs"); +var _16=_15.options; +var cc=$(_13); +if(_14){ +$.extend(_16,{width:_14.width,height:_14.height}); +} +cc._size(_16); +var _17=cc.children("div.tabs-header"); +var _18=cc.children("div.tabs-panels"); +var _19=_17.find("div.tabs-wrap"); +var ul=_19.find(".tabs"); +for(var i=0;i<_15.tabs.length;i++){ +var _1a=_15.tabs[i].panel("options"); +var p_t=_1a.tab.find("a.tabs-inner"); +var _1b=parseInt(_1a.tabWidth||_16.tabWidth)||undefined; +if(_1b){ +p_t._outerWidth(_1b); +}else{ +p_t.css("width",""); +} +p_t._outerHeight(_16.tabHeight); +p_t.css("lineHeight",p_t.height()+"px"); +} +if(_16.tabPosition=="left"||_16.tabPosition=="right"){ +_17._outerWidth(_16.showHeader?_16.headerWidth:0); +_18._outerWidth(cc.width()-_17.outerWidth()); +_17.add(_18)._outerHeight(_16.height); +_19._outerWidth(_17.width()); +ul._outerWidth(_19.width()).css("height",""); +}else{ +var lrt=_17.children("div.tabs-scroller-left,div.tabs-scroller-right,div.tabs-tool"); +_17._outerWidth(_16.width).css("height",""); +if(_16.showHeader){ +_17.css("background-color",""); +_19.css("height",""); +lrt.show(); +}else{ +_17.css("background-color","transparent"); +_17._outerHeight(0); +_19._outerHeight(0); +lrt.hide(); +} +ul._outerHeight(_16.tabHeight).css("width",""); +_1(_13); +_18._size("height",isNaN(_16.height)?"":(_16.height-_17.outerHeight())); +_18._size("width",isNaN(_16.width)?"":_16.width); +} +}; +function _1c(_1d){ +var _1e=$.data(_1d,"tabs").options; +var tab=_1f(_1d); +if(tab){ +var _20=$(_1d).children("div.tabs-panels"); +var _21=_1e.width=="auto"?"auto":_20.width(); +var _22=_1e.height=="auto"?"auto":_20.height(); +tab.panel("resize",{width:_21,height:_22}); +} +}; +function _23(_24){ +var _25=$.data(_24,"tabs").tabs; +var cc=$(_24); +cc.addClass("tabs-container"); +var pp=$("
                                        ").insertBefore(cc); +cc.children("div").each(function(){ +pp[0].appendChild(this); +}); +cc[0].appendChild(pp[0]); +$("
                                        "+"
                                        "+"
                                        "+"
                                        "+"
                                          "+"
                                          "+"
                                          ").prependTo(_24); +cc.children("div.tabs-panels").children("div").each(function(i){ +var _26=$.extend({},$.parser.parseOptions(this),{selected:($(this).attr("selected")?true:undefined)}); +var pp=$(this); +_25.push(pp); +_35(_24,pp,_26); +}); +cc.children("div.tabs-header").find(".tabs-scroller-left, .tabs-scroller-right").hover(function(){ +$(this).addClass("tabs-scroller-over"); +},function(){ +$(this).removeClass("tabs-scroller-over"); +}); +cc.bind("_resize",function(e,_27){ +if($(this).hasClass("easyui-fluid")||_27){ +_12(_24); +_1c(_24); +} +return false; +}); +}; +function _28(_29){ +var _2a=$.data(_29,"tabs"); +var _2b=_2a.options; +$(_29).children("div.tabs-header").unbind().bind("click",function(e){ +if($(e.target).hasClass("tabs-scroller-left")){ +$(_29).tabs("scrollBy",-_2b.scrollIncrement); +}else{ +if($(e.target).hasClass("tabs-scroller-right")){ +$(_29).tabs("scrollBy",_2b.scrollIncrement); +}else{ +var li=$(e.target).closest("li"); +if(li.hasClass("tabs-disabled")){ +return; +} +var a=$(e.target).closest("a.tabs-close"); +if(a.length){ +_4c(_29,_2c(li)); +}else{ +if(li.length){ +var _2d=_2c(li); +var _2e=_2a.tabs[_2d].panel("options"); +if(_2e.collapsible){ +_2e.closed?_41(_29,_2d):_6b(_29,_2d); +}else{ +_41(_29,_2d); +} +} +} +} +} +}).bind("contextmenu",function(e){ +var li=$(e.target).closest("li"); +if(li.hasClass("tabs-disabled")){ +return; +} +if(li.length){ +_2b.onContextMenu.call(_29,e,li.find("span.tabs-title").html(),_2c(li)); +} +}); +function _2c(li){ +var _2f=0; +li.parent().children("li").each(function(i){ +if(li[0]==this){ +_2f=i; +return false; +} +}); +return _2f; +}; +}; +function _30(_31){ +var _32=$.data(_31,"tabs").options; +var _33=$(_31).children("div.tabs-header"); +var _34=$(_31).children("div.tabs-panels"); +_33.removeClass("tabs-header-top tabs-header-bottom tabs-header-left tabs-header-right"); +_34.removeClass("tabs-panels-top tabs-panels-bottom tabs-panels-left tabs-panels-right"); +if(_32.tabPosition=="top"){ +_33.insertBefore(_34); +}else{ +if(_32.tabPosition=="bottom"){ +_33.insertAfter(_34); +_33.addClass("tabs-header-bottom"); +_34.addClass("tabs-panels-top"); +}else{ +if(_32.tabPosition=="left"){ +_33.addClass("tabs-header-left"); +_34.addClass("tabs-panels-right"); +}else{ +if(_32.tabPosition=="right"){ +_33.addClass("tabs-header-right"); +_34.addClass("tabs-panels-left"); +} +} +} +} +if(_32.plain==true){ +_33.addClass("tabs-header-plain"); +}else{ +_33.removeClass("tabs-header-plain"); +} +if(_32.border==true){ +_33.removeClass("tabs-header-noborder"); +_34.removeClass("tabs-panels-noborder"); +}else{ +_33.addClass("tabs-header-noborder"); +_34.addClass("tabs-panels-noborder"); +} +}; +function _35(_36,pp,_37){ +var _38=$.data(_36,"tabs"); +_37=_37||{}; +pp.panel($.extend({},_37,{border:false,noheader:true,closed:true,doSize:false,iconCls:(_37.icon?_37.icon:undefined),onLoad:function(){ +if(_37.onLoad){ +_37.onLoad.call(this,arguments); +} +_38.options.onLoad.call(_36,$(this)); +}})); +var _39=pp.panel("options"); +var _3a=$(_36).children("div.tabs-header").find("ul.tabs"); +_39.tab=$("
                                        • ").appendTo(_3a); +_39.tab.append(""+""+""+""); +$(_36).tabs("update",{tab:pp,options:_39,type:"header"}); +}; +function _3b(_3c,_3d){ +var _3e=$.data(_3c,"tabs"); +var _3f=_3e.options; +var _40=_3e.tabs; +if(_3d.selected==undefined){ +_3d.selected=true; +} +var pp=$("
                                          ").appendTo($(_3c).children("div.tabs-panels")); +_40.push(pp); +_35(_3c,pp,_3d); +_3f.onAdd.call(_3c,_3d.title,_40.length-1); +_12(_3c); +if(_3d.selected){ +_41(_3c,_40.length-1); +} +}; +function _42(_43,_44){ +_44.type=_44.type||"all"; +var _45=$.data(_43,"tabs").selectHis; +var pp=_44.tab; +var _46=pp.panel("options").title; +if(_44.type=="all"||_44=="body"){ +pp.panel($.extend({},_44.options,{iconCls:(_44.options.icon?_44.options.icon:undefined)})); +} +if(_44.type=="all"||_44.type=="header"){ +var _47=pp.panel("options"); +var tab=_47.tab; +var _48=tab.find("span.tabs-title"); +var _49=tab.find("span.tabs-icon"); +_48.html(_47.title); +_49.attr("class","tabs-icon"); +tab.find("a.tabs-close").remove(); +if(_47.closable){ +_48.addClass("tabs-closable"); +$("").appendTo(tab); +}else{ +_48.removeClass("tabs-closable"); +} +if(_47.iconCls){ +_48.addClass("tabs-with-icon"); +_49.addClass(_47.iconCls); +}else{ +_48.removeClass("tabs-with-icon"); +} +if(_46!=_47.title){ +for(var i=0;i<_45.length;i++){ +if(_45[i]==_46){ +_45[i]=_47.title; +} +} +} +tab.find("span.tabs-p-tool").remove(); +if(_47.tools){ +var _4a=$("").insertAfter(tab.find("a.tabs-inner")); +if($.isArray(_47.tools)){ +for(var i=0;i<_47.tools.length;i++){ +var t=$("").appendTo(_4a); +t.addClass(_47.tools[i].iconCls); +if(_47.tools[i].handler){ +t.bind("click",{handler:_47.tools[i].handler},function(e){ +if($(this).parents("li").hasClass("tabs-disabled")){ +return; +} +e.data.handler.call(this); +}); +} +} +}else{ +$(_47.tools).children().appendTo(_4a); +} +var pr=_4a.children().length*12; +if(_47.closable){ +pr+=8; +}else{ +pr-=3; +_4a.css("right","5px"); +} +_48.css("padding-right",pr+"px"); +} +} +_12(_43); +$.data(_43,"tabs").options.onUpdate.call(_43,_47.title,_4b(_43,pp)); +}; +function _4c(_4d,_4e){ +var _4f=$.data(_4d,"tabs").options; +var _50=$.data(_4d,"tabs").tabs; +var _51=$.data(_4d,"tabs").selectHis; +if(!_52(_4d,_4e)){ +return; +} +var tab=_53(_4d,_4e); +var _54=tab.panel("options").title; +var _55=_4b(_4d,tab); +if(_4f.onBeforeClose.call(_4d,_54,_55)==false){ +return; +} +var tab=_53(_4d,_4e,true); +tab.panel("options").tab.remove(); +tab.panel("destroy"); +_4f.onClose.call(_4d,_54,_55); +_12(_4d); +for(var i=0;i<_51.length;i++){ +if(_51[i]==_54){ +_51.splice(i,1); +i--; +} +} +var _56=_51.pop(); +if(_56){ +_41(_4d,_56); +}else{ +if(_50.length){ +_41(_4d,0); +} +} +}; +function _53(_57,_58,_59){ +var _5a=$.data(_57,"tabs").tabs; +if(typeof _58=="number"){ +if(_58<0||_58>=_5a.length){ +return null; +}else{ +var tab=_5a[_58]; +if(_59){ +_5a.splice(_58,1); +} +return tab; +} +} +for(var i=0;i<_5a.length;i++){ +var tab=_5a[i]; +if(tab.panel("options").title==_58){ +if(_59){ +_5a.splice(i,1); +} +return tab; +} +} +return null; +}; +function _4b(_5b,tab){ +var _5c=$.data(_5b,"tabs").tabs; +for(var i=0;i<_5c.length;i++){ +if(_5c[i][0]==$(tab)[0]){ +return i; +} +} +return -1; +}; +function _1f(_5d){ +var _5e=$.data(_5d,"tabs").tabs; +for(var i=0;i<_5e.length;i++){ +var tab=_5e[i]; +if(tab.panel("options").closed==false){ +return tab; +} +} +return null; +}; +function _5f(_60){ +var _61=$.data(_60,"tabs"); +var _62=_61.tabs; +for(var i=0;i<_62.length;i++){ +if(_62[i].panel("options").selected){ +_41(_60,i); +return; +} +} +_41(_60,_61.options.selected); +}; +function _41(_63,_64){ +var _65=$.data(_63,"tabs"); +var _66=_65.options; +var _67=_65.tabs; +var _68=_65.selectHis; +if(_67.length==0){ +return; +} +var _69=_53(_63,_64); +if(!_69){ +return; +} +var _6a=_1f(_63); +if(_6a){ +if(_69[0]==_6a[0]){ +_1c(_63); +return; +} +_6b(_63,_4b(_63,_6a)); +if(!_6a.panel("options").closed){ +return; +} +} +_69.panel("open"); +var _6c=_69.panel("options").title; +_68.push(_6c); +var tab=_69.panel("options").tab; +tab.addClass("tabs-selected"); +var _6d=$(_63).find(">div.tabs-header>div.tabs-wrap"); +var _6e=tab.position().left; +var _6f=_6e+tab.outerWidth(); +if(_6e<0||_6f>_6d.width()){ +var _70=_6e-(_6d.width()-tab.width())/2; +$(_63).tabs("scrollBy",_70); +}else{ +$(_63).tabs("scrollBy",0); +} +_1c(_63); +_66.onSelect.call(_63,_6c,_4b(_63,_69)); +}; +function _6b(_71,_72){ +var _73=$.data(_71,"tabs"); +var p=_53(_71,_72); +if(p){ +var _74=p.panel("options"); +if(!_74.closed){ +p.panel("close"); +if(_74.closed){ +_74.tab.removeClass("tabs-selected"); +_73.options.onUnselect.call(_71,_74.title,_4b(_71,p)); +} +} +} +}; +function _52(_75,_76){ +return _53(_75,_76)!=null; +}; +function _77(_78,_79){ +var _7a=$.data(_78,"tabs").options; +_7a.showHeader=_79; +$(_78).tabs("resize"); +}; +$.fn.tabs=function(_7b,_7c){ +if(typeof _7b=="string"){ +return $.fn.tabs.methods[_7b](this,_7c); +} +_7b=_7b||{}; +return this.each(function(){ +var _7d=$.data(this,"tabs"); +if(_7d){ +$.extend(_7d.options,_7b); +}else{ +$.data(this,"tabs",{options:$.extend({},$.fn.tabs.defaults,$.fn.tabs.parseOptions(this),_7b),tabs:[],selectHis:[]}); +_23(this); +} +_c(this); +_30(this); +_12(this); +_28(this); +_5f(this); +}); +}; +$.fn.tabs.methods={options:function(jq){ +var cc=jq[0]; +var _7e=$.data(cc,"tabs").options; +var s=_1f(cc); +_7e.selected=s?_4b(cc,s):-1; +return _7e; +},tabs:function(jq){ +return $.data(jq[0],"tabs").tabs; +},resize:function(jq,_7f){ +return jq.each(function(){ +_12(this,_7f); +_1c(this); +}); +},add:function(jq,_80){ +return jq.each(function(){ +_3b(this,_80); +}); +},close:function(jq,_81){ +return jq.each(function(){ +_4c(this,_81); +}); +},getTab:function(jq,_82){ +return _53(jq[0],_82); +},getTabIndex:function(jq,tab){ +return _4b(jq[0],tab); +},getSelected:function(jq){ +return _1f(jq[0]); +},select:function(jq,_83){ +return jq.each(function(){ +_41(this,_83); +}); +},unselect:function(jq,_84){ +return jq.each(function(){ +_6b(this,_84); +}); +},exists:function(jq,_85){ +return _52(jq[0],_85); +},update:function(jq,_86){ +return jq.each(function(){ +_42(this,_86); +}); +},enableTab:function(jq,_87){ +return jq.each(function(){ +$(this).tabs("getTab",_87).panel("options").tab.removeClass("tabs-disabled"); +}); +},disableTab:function(jq,_88){ +return jq.each(function(){ +$(this).tabs("getTab",_88).panel("options").tab.addClass("tabs-disabled"); +}); +},showHeader:function(jq){ +return jq.each(function(){ +_77(this,true); +}); +},hideHeader:function(jq){ +return jq.each(function(){ +_77(this,false); +}); +},scrollBy:function(jq,_89){ +return jq.each(function(){ +var _8a=$(this).tabs("options"); +var _8b=$(this).find(">div.tabs-header>div.tabs-wrap"); +var pos=Math.min(_8b._scrollLeft()+_89,_8c()); +_8b.animate({scrollLeft:pos},_8a.scrollDuration); +function _8c(){ +var w=0; +var ul=_8b.children("ul"); +ul.children("li").each(function(){ +w+=$(this).outerWidth(true); +}); +return w-_8b.width()+(ul.outerWidth()-ul.width()); +}; +}); +}}; +$.fn.tabs.parseOptions=function(_8d){ +return $.extend({},$.parser.parseOptions(_8d,["tools","toolPosition","tabPosition",{fit:"boolean",border:"boolean",plain:"boolean",headerWidth:"number",tabWidth:"number",tabHeight:"number",selected:"number",showHeader:"boolean"}])); +}; +$.fn.tabs.defaults={width:"auto",height:"auto",headerWidth:150,tabWidth:"auto",tabHeight:27,selected:0,showHeader:true,plain:false,fit:false,border:true,tools:null,toolPosition:"right",tabPosition:"top",scrollIncrement:100,scrollDuration:400,onLoad:function(_8e){ +},onSelect:function(_8f,_90){ +},onUnselect:function(_91,_92){ +},onBeforeClose:function(_93,_94){ +},onClose:function(_95,_96){ +},onAdd:function(_97,_98){ +},onUpdate:function(_99,_9a){ +},onContextMenu:function(e,_9b,_9c){ +}}; +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.textbox.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.textbox.js new file mode 100644 index 0000000..b91819d --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.textbox.js @@ -0,0 +1,386 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +function _1(_2){ +$(_2).addClass("textbox-f").hide(); +var _3=$(""+""+""+"").insertAfter(_2); +var _4=$(_2).attr("name"); +if(_4){ +_3.find("input.textbox-value").attr("name",_4); +$(_2).removeAttr("name").attr("textboxName",_4); +} +return _3; +}; +function _5(_6){ +var _7=$.data(_6,"textbox"); +var _8=_7.options; +var tb=_7.textbox; +tb.find(".textbox-text").remove(); +if(_8.multiline){ +$("").prependTo(tb); +}else{ +$("").prependTo(tb); +} +tb.find(".textbox-addon").remove(); +var bb=_8.icons?$.extend(true,[],_8.icons):[]; +if(_8.iconCls){ +bb.push({iconCls:_8.iconCls,disabled:true}); +} +if(bb.length){ +var bc=$("").prependTo(tb); +bc.addClass("textbox-addon-"+_8.iconAlign); +for(var i=0;i"); +} +} +tb.find(".textbox-button").remove(); +if(_8.buttonText||_8.buttonIcon){ +var _9=$("").prependTo(tb); +_9.addClass("textbox-button-"+_8.buttonAlign).linkbutton({text:_8.buttonText,iconCls:_8.buttonIcon}); +} +_a(_6,_8.disabled); +_b(_6,_8.readonly); +}; +function _c(_d){ +var tb=$.data(_d,"textbox").textbox; +tb.find(".textbox-text").validatebox("destroy"); +tb.remove(); +$(_d).remove(); +}; +function _e(_f,_10){ +var _11=$.data(_f,"textbox"); +var _12=_11.options; +var tb=_11.textbox; +var _13=tb.parent(); +if(_10){ +_12.width=_10; +} +if(isNaN(parseInt(_12.width))){ +var c=$(_f).clone(); +c.css("visibility","hidden"); +c.insertAfter(_f); +_12.width=c.outerWidth(); +c.remove(); +} +tb.appendTo("body"); +var _14=tb.find(".textbox-text"); +var btn=tb.find(".textbox-button"); +var _15=tb.find(".textbox-addon"); +var _16=_15.find(".textbox-icon"); +tb._size(_12,_13); +btn.linkbutton("resize",{height:tb.height()}); +btn.css({left:(_12.buttonAlign=="left"?0:""),right:(_12.buttonAlign=="right"?0:"")}); +_15.css({left:(_12.iconAlign=="left"?(_12.buttonAlign=="left"?btn._outerWidth():0):""),right:(_12.iconAlign=="right"?(_12.buttonAlign=="right"?btn._outerWidth():0):"")}); +_16.css({width:_12.iconWidth+"px",height:tb.height()+"px"}); +_14.css({paddingLeft:(_f.style.paddingLeft||""),paddingRight:(_f.style.paddingRight||""),marginLeft:_17("left"),marginRight:_17("right")}); +if(_12.multiline){ +_14.css({paddingTop:(_f.style.paddingTop||""),paddingBottom:(_f.style.paddingBottom||"")}); +_14._outerHeight(tb.height()); +}else{ +var _18=Math.floor((tb.height()-_14.height())/2); +_14.css({paddingTop:_18+"px",paddingBottom:_18+"px"}); +} +_14._outerWidth(tb.width()-_16.length*_12.iconWidth-btn._outerWidth()); +tb.insertAfter(_f); +_12.onResize.call(_f,_12.width,_12.height); +function _17(_19){ +return (_12.iconAlign==_19?_15._outerWidth():0)+(_12.buttonAlign==_19?btn._outerWidth():0); +}; +}; +function _1a(_1b){ +var _1c=$(_1b).textbox("options"); +var _1d=$(_1b).textbox("textbox"); +_1d.validatebox($.extend({},_1c,{deltaX:$(_1b).textbox("getTipX"),onBeforeValidate:function(){ +var box=$(this); +if(!box.is(":focus")){ +_1c.oldInputValue=box.val(); +box.val(_1c.value); +} +},onValidate:function(_1e){ +var box=$(this); +if(_1c.oldInputValue!=undefined){ +box.val(_1c.oldInputValue); +_1c.oldInputValue=undefined; +} +var tb=box.parent(); +if(_1e){ +tb.removeClass("textbox-invalid"); +}else{ +tb.addClass("textbox-invalid"); +} +}})); +}; +function _1f(_20){ +var _21=$.data(_20,"textbox"); +var _22=_21.options; +var tb=_21.textbox; +var _23=tb.find(".textbox-text"); +_23.attr("placeholder",_22.prompt); +_23.unbind(".textbox"); +if(!_22.disabled&&!_22.readonly){ +_23.bind("blur.textbox",function(e){ +if(!tb.hasClass("textbox-focused")){ +return; +} +_22.value=$(this).val(); +if(_22.value==""){ +$(this).val(_22.prompt).addClass("textbox-prompt"); +}else{ +$(this).removeClass("textbox-prompt"); +} +tb.removeClass("textbox-focused"); +}).bind("focus.textbox",function(e){ +if(tb.hasClass("textbox-focused")){ +return; +} +if($(this).val()!=_22.value){ +$(this).val(_22.value); +} +$(this).removeClass("textbox-prompt"); +tb.addClass("textbox-focused"); +}); +for(var _24 in _22.inputEvents){ +_23.bind(_24+".textbox",{target:_20},_22.inputEvents[_24]); +} +} +var _25=tb.find(".textbox-addon"); +_25.unbind().bind("click",{target:_20},function(e){ +var _26=$(e.target).closest("a.textbox-icon:not(.textbox-icon-disabled)"); +if(_26.length){ +var _27=parseInt(_26.attr("icon-index")); +var _28=_22.icons[_27]; +if(_28&&_28.handler){ +_28.handler.call(_26[0],e); +_22.onClickIcon.call(_20,_27); +} +} +}); +_25.find(".textbox-icon").each(function(_29){ +var _2a=_22.icons[_29]; +var _2b=$(this); +if(!_2a||_2a.disabled||_22.disabled||_22.readonly){ +_2b.addClass("textbox-icon-disabled"); +}else{ +_2b.removeClass("textbox-icon-disabled"); +} +}); +var btn=tb.find(".textbox-button"); +btn.unbind(".textbox").bind("click.textbox",function(){ +if(!btn.linkbutton("options").disabled){ +_22.onClickButton.call(_20); +} +}); +btn.linkbutton((_22.disabled||_22.readonly)?"disable":"enable"); +tb.unbind(".textbox").bind("_resize.textbox",function(e,_2c){ +if($(this).hasClass("easyui-fluid")||_2c){ +_e(_20); +} +return false; +}); +}; +function _a(_2d,_2e){ +var _2f=$.data(_2d,"textbox"); +var _30=_2f.options; +var tb=_2f.textbox; +if(_2e){ +_30.disabled=true; +$(_2d).attr("disabled","disabled"); +tb.find(".textbox-text,.textbox-value").attr("disabled","disabled"); +}else{ +_30.disabled=false; +$(_2d).removeAttr("disabled"); +tb.find(".textbox-text,.textbox-value").removeAttr("disabled"); +} +}; +function _b(_31,_32){ +var _33=$.data(_31,"textbox"); +var _34=_33.options; +_34.readonly=_32==undefined?true:_32; +var _35=_33.textbox.find(".textbox-text"); +_35.removeAttr("readonly").removeClass("textbox-text-readonly"); +if(_34.readonly||!_34.editable){ +_35.attr("readonly","readonly").addClass("textbox-text-readonly"); +} +}; +$.fn.textbox=function(_36,_37){ +if(typeof _36=="string"){ +var _38=$.fn.textbox.methods[_36]; +if(_38){ +return _38(this,_37); +}else{ +return this.each(function(){ +var _39=$(this).textbox("textbox"); +_39.validatebox(_36,_37); +}); +} +} +_36=_36||{}; +return this.each(function(){ +var _3a=$.data(this,"textbox"); +if(_3a){ +$.extend(_3a.options,_36); +if(_36.value!=undefined){ +_3a.options.originalValue=_36.value; +} +}else{ +_3a=$.data(this,"textbox",{options:$.extend({},$.fn.textbox.defaults,$.fn.textbox.parseOptions(this),_36),textbox:_1(this)}); +_3a.options.originalValue=_3a.options.value; +} +_5(this); +_1f(this); +_e(this); +_1a(this); +$(this).textbox("initValue",_3a.options.value); +}); +}; +$.fn.textbox.methods={options:function(jq){ +return $.data(jq[0],"textbox").options; +},cloneFrom:function(jq,_3b){ +return jq.each(function(){ +var t=$(this); +if(t.data("textbox")){ +return; +} +if(!$(_3b).data("textbox")){ +$(_3b).textbox(); +} +var _3c=t.attr("name")||""; +t.addClass("textbox-f").hide(); +t.removeAttr("name").attr("textboxName",_3c); +var _3d=$(_3b).next().clone().insertAfter(t); +_3d.find("input.textbox-value").attr("name",_3c); +$.data(this,"textbox",{options:$.extend(true,{},$(_3b).textbox("options")),textbox:_3d}); +var _3e=$(_3b).textbox("button"); +if(_3e.length){ +t.textbox("button").linkbutton($.extend(true,{},_3e.linkbutton("options"))); +} +_1f(this); +_1a(this); +}); +},textbox:function(jq){ +return $.data(jq[0],"textbox").textbox.find(".textbox-text"); +},button:function(jq){ +return $.data(jq[0],"textbox").textbox.find(".textbox-button"); +},destroy:function(jq){ +return jq.each(function(){ +_c(this); +}); +},resize:function(jq,_3f){ +return jq.each(function(){ +_e(this,_3f); +}); +},disable:function(jq){ +return jq.each(function(){ +_a(this,true); +_1f(this); +}); +},enable:function(jq){ +return jq.each(function(){ +_a(this,false); +_1f(this); +}); +},readonly:function(jq,_40){ +return jq.each(function(){ +_b(this,_40); +_1f(this); +}); +},isValid:function(jq){ +return jq.textbox("textbox").validatebox("isValid"); +},clear:function(jq){ +return jq.each(function(){ +$(this).textbox("setValue",""); +}); +},setText:function(jq,_41){ +return jq.each(function(){ +var _42=$(this).textbox("options"); +var _43=$(this).textbox("textbox"); +if($(this).textbox("getText")!=_41){ +_42.value=_41; +_43.val(_41); +} +if(!_43.is(":focus")){ +if(_41){ +_43.removeClass("textbox-prompt"); +}else{ +_43.val(_42.prompt).addClass("textbox-prompt"); +} +} +$(this).textbox("validate"); +}); +},initValue:function(jq,_44){ +return jq.each(function(){ +var _45=$.data(this,"textbox"); +_45.options.value=""; +$(this).textbox("setText",_44); +_45.textbox.find(".textbox-value").val(_44); +$(this).val(_44); +}); +},setValue:function(jq,_46){ +return jq.each(function(){ +var _47=$.data(this,"textbox").options; +var _48=$(this).textbox("getValue"); +$(this).textbox("initValue",_46); +if(_48!=_46){ +_47.onChange.call(this,_46,_48); +} +}); +},getText:function(jq){ +var _49=jq.textbox("textbox"); +if(_49.is(":focus")){ +return _49.val(); +}else{ +return jq.textbox("options").value; +} +},getValue:function(jq){ +return jq.data("textbox").textbox.find(".textbox-value").val(); +},reset:function(jq){ +return jq.each(function(){ +var _4a=$(this).textbox("options"); +$(this).textbox("setValue",_4a.originalValue); +}); +},getIcon:function(jq,_4b){ +return jq.data("textbox").textbox.find(".textbox-icon:eq("+_4b+")"); +},getTipX:function(jq){ +var _4c=jq.data("textbox"); +var _4d=_4c.options; +var tb=_4c.textbox; +var _4e=tb.find(".textbox-text"); +var _4f=tb.find(".textbox-addon")._outerWidth(); +var _50=tb.find(".textbox-button")._outerWidth(); +if(_4d.tipPosition=="right"){ +return (_4d.iconAlign=="right"?_4f:0)+(_4d.buttonAlign=="right"?_50:0)+1; +}else{ +if(_4d.tipPosition=="left"){ +return (_4d.iconAlign=="left"?-_4f:0)+(_4d.buttonAlign=="left"?-_50:0)-1; +}else{ +return _4f/2*(_4d.iconAlign=="right"?1:-1); +} +} +}}; +$.fn.textbox.parseOptions=function(_51){ +var t=$(_51); +return $.extend({},$.fn.validatebox.parseOptions(_51),$.parser.parseOptions(_51,["prompt","iconCls","iconAlign","buttonText","buttonIcon","buttonAlign",{multiline:"boolean",editable:"boolean",iconWidth:"number"}]),{value:(t.val()||undefined),type:(t.attr("type")?t.attr("type"):undefined),disabled:(t.attr("disabled")?true:undefined),readonly:(t.attr("readonly")?true:undefined)}); +}; +$.fn.textbox.defaults=$.extend({},$.fn.validatebox.defaults,{width:"auto",height:22,prompt:"",value:"",type:"text",multiline:false,editable:true,disabled:false,readonly:false,icons:[],iconCls:null,iconAlign:"right",iconWidth:18,buttonText:"",buttonIcon:null,buttonAlign:"right",inputEvents:{blur:function(e){ +var t=$(e.data.target); +var _52=t.textbox("options"); +t.textbox("setValue",_52.value); +},keydown:function(e){ +if(e.keyCode==13){ +var t=$(e.data.target); +t.textbox("setValue",t.textbox("getText")); +} +}},onChange:function(_53,_54){ +},onResize:function(_55,_56){ +},onClickButton:function(){ +},onClickIcon:function(_57){ +}}); +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.timespinner.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.timespinner.js new file mode 100644 index 0000000..9484a91 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.timespinner.js @@ -0,0 +1,181 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +function _1(_2){ +var _3=0; +if(_2.selectionStart){ +_3=_2.selectionStart; +}else{ +if(_2.createTextRange){ +var _4=_2.createTextRange(); +var s=document.selection.createRange(); +s.setEndPoint("StartToStart",_4); +_3=s.text.length; +} +} +return _3; +}; +function _5(_6,_7,_8){ +if(_6.selectionStart){ +_6.setSelectionRange(_7,_8); +}else{ +if(_6.createTextRange){ +var _9=_6.createTextRange(); +_9.collapse(); +_9.moveEnd("character",_8); +_9.moveStart("character",_7); +_9.select(); +} +} +}; +function _a(_b){ +var _c=$.data(_b,"timespinner").options; +$(_b).addClass("timespinner-f").spinner(_c); +var _d=_c.formatter.call(_b,_c.parser.call(_b,_c.value)); +$(_b).timespinner("initValue",_d); +}; +function _e(e){ +var _f=e.data.target; +var _10=$.data(_f,"timespinner").options; +var _11=_1(this); +for(var i=0;i<_10.selections.length;i++){ +var _12=_10.selections[i]; +if(_11>=_12[0]&&_11<=_12[1]){ +_13(_f,i); +return; +} +} +}; +function _13(_14,_15){ +var _16=$.data(_14,"timespinner").options; +if(_15!=undefined){ +_16.highlight=_15; +} +var _17=_16.selections[_16.highlight]; +if(_17){ +var tb=$(_14).timespinner("textbox"); +_5(tb[0],_17[0],_17[1]); +tb.focus(); +} +}; +function _18(_19,_1a){ +var _1b=$.data(_19,"timespinner").options; +var _1a=_1b.parser.call(_19,_1a); +var _1c=_1b.formatter.call(_19,_1a); +$(_19).spinner("setValue",_1c); +}; +function _1d(_1e,_1f){ +var _20=$.data(_1e,"timespinner").options; +var s=$(_1e).timespinner("getValue"); +var _21=_20.selections[_20.highlight]; +var s1=s.substring(0,_21[0]); +var s2=s.substring(_21[0],_21[1]); +var s3=s.substring(_21[1]); +var v=s1+((parseInt(s2)||0)+_20.increment*(_1f?-1:1))+s3; +$(_1e).timespinner("setValue",v); +_13(_1e); +}; +$.fn.timespinner=function(_22,_23){ +if(typeof _22=="string"){ +var _24=$.fn.timespinner.methods[_22]; +if(_24){ +return _24(this,_23); +}else{ +return this.spinner(_22,_23); +} +} +_22=_22||{}; +return this.each(function(){ +var _25=$.data(this,"timespinner"); +if(_25){ +$.extend(_25.options,_22); +}else{ +$.data(this,"timespinner",{options:$.extend({},$.fn.timespinner.defaults,$.fn.timespinner.parseOptions(this),_22)}); +} +_a(this); +}); +}; +$.fn.timespinner.methods={options:function(jq){ +var _26=jq.data("spinner")?jq.spinner("options"):{}; +return $.extend($.data(jq[0],"timespinner").options,{width:_26.width,value:_26.value,originalValue:_26.originalValue,disabled:_26.disabled,readonly:_26.readonly}); +},setValue:function(jq,_27){ +return jq.each(function(){ +_18(this,_27); +}); +},getHours:function(jq){ +var _28=$.data(jq[0],"timespinner").options; +var vv=jq.timespinner("getValue").split(_28.separator); +return parseInt(vv[0],10); +},getMinutes:function(jq){ +var _29=$.data(jq[0],"timespinner").options; +var vv=jq.timespinner("getValue").split(_29.separator); +return parseInt(vv[1],10); +},getSeconds:function(jq){ +var _2a=$.data(jq[0],"timespinner").options; +var vv=jq.timespinner("getValue").split(_2a.separator); +return parseInt(vv[2],10)||0; +}}; +$.fn.timespinner.parseOptions=function(_2b){ +return $.extend({},$.fn.spinner.parseOptions(_2b),$.parser.parseOptions(_2b,["separator",{showSeconds:"boolean",highlight:"number"}])); +}; +$.fn.timespinner.defaults=$.extend({},$.fn.spinner.defaults,{inputEvents:$.extend({},$.fn.spinner.defaults.inputEvents,{click:function(e){ +_e.call(this,e); +},blur:function(e){ +var t=$(e.data.target); +t.timespinner("setValue",t.timespinner("getText")); +},keydown:function(e){ +if(e.keyCode==13){ +var t=$(e.data.target); +t.timespinner("setValue",t.timespinner("getText")); +} +}}),formatter:function(_2c){ +if(!_2c){ +return ""; +} +var _2d=$(this).timespinner("options"); +var tt=[_2e(_2c.getHours()),_2e(_2c.getMinutes())]; +if(_2d.showSeconds){ +tt.push(_2e(_2c.getSeconds())); +} +return tt.join(_2d.separator); +function _2e(_2f){ +return (_2f<10?"0":"")+_2f; +}; +},parser:function(s){ +var _30=$(this).timespinner("options"); +var _31=_32(s); +if(_31){ +var min=_32(_30.min); +var max=_32(_30.max); +if(min&&min>_31){ +_31=min; +} +if(max&&max<_31){ +_31=max; +} +} +return _31; +function _32(s){ +if(!s){ +return null; +} +var tt=s.split(_30.separator); +return new Date(1900,0,0,parseInt(tt[0],10)||0,parseInt(tt[1],10)||0,parseInt(tt[2],10)||0); +}; +if(!s){ +return null; +} +var tt=s.split(_30.separator); +return new Date(1900,0,0,parseInt(tt[0],10)||0,parseInt(tt[1],10)||0,parseInt(tt[2],10)||0); +},selections:[[0,2],[3,5],[6,8]],separator:":",showSeconds:false,highlight:0,spin:function(_33){ +_1d(this,_33); +}}); +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.tooltip.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.tooltip.js new file mode 100644 index 0000000..a2a0595 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.tooltip.js @@ -0,0 +1,232 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +function _1(_2){ +$(_2).addClass("tooltip-f"); +}; +function _3(_4){ +var _5=$.data(_4,"tooltip").options; +$(_4).unbind(".tooltip").bind(_5.showEvent+".tooltip",function(e){ +$(_4).tooltip("show",e); +}).bind(_5.hideEvent+".tooltip",function(e){ +$(_4).tooltip("hide",e); +}).bind("mousemove.tooltip",function(e){ +if(_5.trackMouse){ +_5.trackMouseX=e.pageX; +_5.trackMouseY=e.pageY; +$(_4).tooltip("reposition"); +} +}); +}; +function _6(_7){ +var _8=$.data(_7,"tooltip"); +if(_8.showTimer){ +clearTimeout(_8.showTimer); +_8.showTimer=null; +} +if(_8.hideTimer){ +clearTimeout(_8.hideTimer); +_8.hideTimer=null; +} +}; +function _9(_a){ +var _b=$.data(_a,"tooltip"); +if(!_b||!_b.tip){ +return; +} +var _c=_b.options; +var _d=_b.tip; +var _e={left:-100000,top:-100000}; +if($(_a).is(":visible")){ +_e=_f(_c.position); +if(_c.position=="top"&&_e.top<0){ +_e=_f("bottom"); +}else{ +if((_c.position=="bottom")&&(_e.top+_d._outerHeight()>$(window)._outerHeight()+$(document).scrollTop())){ +_e=_f("top"); +} +} +if(_e.left<0){ +if(_c.position=="left"){ +_e=_f("right"); +}else{ +$(_a).tooltip("arrow").css("left",_d._outerWidth()/2+_e.left); +_e.left=0; +} +}else{ +if(_e.left+_d._outerWidth()>$(window)._outerWidth()+$(document)._scrollLeft()){ +if(_c.position=="right"){ +_e=_f("left"); +}else{ +var _10=_e.left; +_e.left=$(window)._outerWidth()+$(document)._scrollLeft()-_d._outerWidth(); +$(_a).tooltip("arrow").css("left",_d._outerWidth()/2-(_e.left-_10)); +} +} +} +} +_d.css({left:_e.left,top:_e.top,zIndex:(_c.zIndex!=undefined?_c.zIndex:($.fn.window?$.fn.window.defaults.zIndex++:""))}); +_c.onPosition.call(_a,_e.left,_e.top); +function _f(_11){ +_c.position=_11||"bottom"; +_d.removeClass("tooltip-top tooltip-bottom tooltip-left tooltip-right").addClass("tooltip-"+_c.position); +var _12,top; +if(_c.trackMouse){ +t=$(); +_12=_c.trackMouseX+_c.deltaX; +top=_c.trackMouseY+_c.deltaY; +}else{ +var t=$(_a); +_12=t.offset().left+_c.deltaX; +top=t.offset().top+_c.deltaY; +} +switch(_c.position){ +case "right": +_12+=t._outerWidth()+12+(_c.trackMouse?12:0); +top-=(_d._outerHeight()-t._outerHeight())/2; +break; +case "left": +_12-=_d._outerWidth()+12+(_c.trackMouse?12:0); +top-=(_d._outerHeight()-t._outerHeight())/2; +break; +case "top": +_12-=(_d._outerWidth()-t._outerWidth())/2; +top-=_d._outerHeight()+12+(_c.trackMouse?12:0); +break; +case "bottom": +_12-=(_d._outerWidth()-t._outerWidth())/2; +top+=t._outerHeight()+12+(_c.trackMouse?12:0); +break; +} +return {left:_12,top:top}; +}; +}; +function _13(_14,e){ +var _15=$.data(_14,"tooltip"); +var _16=_15.options; +var tip=_15.tip; +if(!tip){ +tip=$("
                                          "+"
                                          "+"
                                          "+"
                                          "+"
                                          ").appendTo("body"); +_15.tip=tip; +_17(_14); +} +_6(_14); +_15.showTimer=setTimeout(function(){ +$(_14).tooltip("reposition"); +tip.show(); +_16.onShow.call(_14,e); +var _18=tip.children(".tooltip-arrow-outer"); +var _19=tip.children(".tooltip-arrow"); +var bc="border-"+_16.position+"-color"; +_18.add(_19).css({borderTopColor:"",borderBottomColor:"",borderLeftColor:"",borderRightColor:""}); +_18.css(bc,tip.css(bc)); +_19.css(bc,tip.css("backgroundColor")); +},_16.showDelay); +}; +function _1a(_1b,e){ +var _1c=$.data(_1b,"tooltip"); +if(_1c&&_1c.tip){ +_6(_1b); +_1c.hideTimer=setTimeout(function(){ +_1c.tip.hide(); +_1c.options.onHide.call(_1b,e); +},_1c.options.hideDelay); +} +}; +function _17(_1d,_1e){ +var _1f=$.data(_1d,"tooltip"); +var _20=_1f.options; +if(_1e){ +_20.content=_1e; +} +if(!_1f.tip){ +return; +} +var cc=typeof _20.content=="function"?_20.content.call(_1d):_20.content; +_1f.tip.children(".tooltip-content").html(cc); +_20.onUpdate.call(_1d,cc); +}; +function _21(_22){ +var _23=$.data(_22,"tooltip"); +if(_23){ +_6(_22); +var _24=_23.options; +if(_23.tip){ +_23.tip.remove(); +} +if(_24._title){ +$(_22).attr("title",_24._title); +} +$.removeData(_22,"tooltip"); +$(_22).unbind(".tooltip").removeClass("tooltip-f"); +_24.onDestroy.call(_22); +} +}; +$.fn.tooltip=function(_25,_26){ +if(typeof _25=="string"){ +return $.fn.tooltip.methods[_25](this,_26); +} +_25=_25||{}; +return this.each(function(){ +var _27=$.data(this,"tooltip"); +if(_27){ +$.extend(_27.options,_25); +}else{ +$.data(this,"tooltip",{options:$.extend({},$.fn.tooltip.defaults,$.fn.tooltip.parseOptions(this),_25)}); +_1(this); +} +_3(this); +_17(this); +}); +}; +$.fn.tooltip.methods={options:function(jq){ +return $.data(jq[0],"tooltip").options; +},tip:function(jq){ +return $.data(jq[0],"tooltip").tip; +},arrow:function(jq){ +return jq.tooltip("tip").children(".tooltip-arrow-outer,.tooltip-arrow"); +},show:function(jq,e){ +return jq.each(function(){ +_13(this,e); +}); +},hide:function(jq,e){ +return jq.each(function(){ +_1a(this,e); +}); +},update:function(jq,_28){ +return jq.each(function(){ +_17(this,_28); +}); +},reposition:function(jq){ +return jq.each(function(){ +_9(this); +}); +},destroy:function(jq){ +return jq.each(function(){ +_21(this); +}); +}}; +$.fn.tooltip.parseOptions=function(_29){ +var t=$(_29); +var _2a=$.extend({},$.parser.parseOptions(_29,["position","showEvent","hideEvent","content",{trackMouse:"boolean",deltaX:"number",deltaY:"number",showDelay:"number",hideDelay:"number"}]),{_title:t.attr("title")}); +t.attr("title",""); +if(!_2a.content){ +_2a.content=_2a._title; +} +return _2a; +}; +$.fn.tooltip.defaults={position:"bottom",content:null,trackMouse:false,deltaX:0,deltaY:0,showEvent:"mouseenter",hideEvent:"mouseleave",showDelay:200,hideDelay:100,onShow:function(e){ +},onHide:function(e){ +},onUpdate:function(_2b){ +},onPosition:function(_2c,top){ +},onDestroy:function(){ +}}; +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.tree.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.tree.js new file mode 100644 index 0000000..eacfb80 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.tree.js @@ -0,0 +1,1181 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +function _1(_2){ +var _3=$(_2); +_3.addClass("tree"); +return _3; +}; +function _4(_5){ +var _6=$.data(_5,"tree").options; +$(_5).unbind().bind("mouseover",function(e){ +var tt=$(e.target); +var _7=tt.closest("div.tree-node"); +if(!_7.length){ +return; +} +_7.addClass("tree-node-hover"); +if(tt.hasClass("tree-hit")){ +if(tt.hasClass("tree-expanded")){ +tt.addClass("tree-expanded-hover"); +}else{ +tt.addClass("tree-collapsed-hover"); +} +} +e.stopPropagation(); +}).bind("mouseout",function(e){ +var tt=$(e.target); +var _8=tt.closest("div.tree-node"); +if(!_8.length){ +return; +} +_8.removeClass("tree-node-hover"); +if(tt.hasClass("tree-hit")){ +if(tt.hasClass("tree-expanded")){ +tt.removeClass("tree-expanded-hover"); +}else{ +tt.removeClass("tree-collapsed-hover"); +} +} +e.stopPropagation(); +}).bind("click",function(e){ +var tt=$(e.target); +var _9=tt.closest("div.tree-node"); +if(!_9.length){ +return; +} +if(tt.hasClass("tree-hit")){ +_81(_5,_9[0]); +return false; +}else{ +if(tt.hasClass("tree-checkbox")){ +_34(_5,_9[0],!tt.hasClass("tree-checkbox1")); +return false; +}else{ +_db(_5,_9[0]); +_6.onClick.call(_5,_c(_5,_9[0])); +} +} +e.stopPropagation(); +}).bind("dblclick",function(e){ +var _a=$(e.target).closest("div.tree-node"); +if(!_a.length){ +return; +} +_db(_5,_a[0]); +_6.onDblClick.call(_5,_c(_5,_a[0])); +e.stopPropagation(); +}).bind("contextmenu",function(e){ +var _b=$(e.target).closest("div.tree-node"); +if(!_b.length){ +return; +} +_6.onContextMenu.call(_5,e,_c(_5,_b[0])); +e.stopPropagation(); +}); +}; +function _d(_e){ +var _f=$.data(_e,"tree").options; +_f.dnd=false; +var _10=$(_e).find("div.tree-node"); +_10.draggable("disable"); +_10.css("cursor","pointer"); +}; +function _11(_12){ +var _13=$.data(_12,"tree"); +var _14=_13.options; +var _15=_13.tree; +_13.disabledNodes=[]; +_14.dnd=true; +_15.find("div.tree-node").draggable({disabled:false,revert:true,cursor:"pointer",proxy:function(_16){ +var p=$("
                                          ").appendTo("body"); +p.html(" "+$(_16).find(".tree-title").html()); +p.hide(); +return p; +},deltaX:15,deltaY:15,onBeforeDrag:function(e){ +if(_14.onBeforeDrag.call(_12,_c(_12,this))==false){ +return false; +} +if($(e.target).hasClass("tree-hit")||$(e.target).hasClass("tree-checkbox")){ +return false; +} +if(e.which!=1){ +return false; +} +$(this).next("ul").find("div.tree-node").droppable({accept:"no-accept"}); +var _17=$(this).find("span.tree-indent"); +if(_17.length){ +e.data.offsetWidth-=_17.length*_17.width(); +} +},onStartDrag:function(){ +$(this).draggable("proxy").css({left:-10000,top:-10000}); +_14.onStartDrag.call(_12,_c(_12,this)); +var _18=_c(_12,this); +if(_18.id==undefined){ +_18.id="easyui_tree_node_id_temp"; +_56(_12,_18); +} +_13.draggingNodeId=_18.id; +},onDrag:function(e){ +var x1=e.pageX,y1=e.pageY,x2=e.data.startX,y2=e.data.startY; +var d=Math.sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)); +if(d>3){ +$(this).draggable("proxy").show(); +} +this.pageY=e.pageY; +},onStopDrag:function(){ +$(this).next("ul").find("div.tree-node").droppable({accept:"div.tree-node"}); +for(var i=0;i<_13.disabledNodes.length;i++){ +$(_13.disabledNodes[i]).droppable("enable"); +} +_13.disabledNodes=[]; +var _19=_ce(_12,_13.draggingNodeId); +if(_19&&_19.id=="easyui_tree_node_id_temp"){ +_19.id=""; +_56(_12,_19); +} +_14.onStopDrag.call(_12,_19); +}}).droppable({accept:"div.tree-node",onDragEnter:function(e,_1a){ +if(_14.onDragEnter.call(_12,this,_1b(_1a))==false){ +_1c(_1a,false); +$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); +$(this).droppable("disable"); +_13.disabledNodes.push(this); +} +},onDragOver:function(e,_1d){ +if($(this).droppable("options").disabled){ +return; +} +var _1e=_1d.pageY; +var top=$(this).offset().top; +var _1f=top+$(this).outerHeight(); +_1c(_1d,true); +$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); +if(_1e>top+(_1f-top)/2){ +if(_1f-_1e<5){ +$(this).addClass("tree-node-bottom"); +}else{ +$(this).addClass("tree-node-append"); +} +}else{ +if(_1e-top<5){ +$(this).addClass("tree-node-top"); +}else{ +$(this).addClass("tree-node-append"); +} +} +if(_14.onDragOver.call(_12,this,_1b(_1d))==false){ +_1c(_1d,false); +$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); +$(this).droppable("disable"); +_13.disabledNodes.push(this); +} +},onDragLeave:function(e,_20){ +_1c(_20,false); +$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); +_14.onDragLeave.call(_12,this,_1b(_20)); +},onDrop:function(e,_21){ +var _22=this; +var _23,_24; +if($(this).hasClass("tree-node-append")){ +_23=_25; +_24="append"; +}else{ +_23=_26; +_24=$(this).hasClass("tree-node-top")?"top":"bottom"; +} +if(_14.onBeforeDrop.call(_12,_22,_1b(_21),_24)==false){ +$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); +return; +} +_23(_21,_22,_24); +$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); +}}); +function _1b(_27,pop){ +return $(_27).closest("ul.tree").tree(pop?"pop":"getData",_27); +}; +function _1c(_28,_29){ +var _2a=$(_28).draggable("proxy").find("span.tree-dnd-icon"); +_2a.removeClass("tree-dnd-yes tree-dnd-no").addClass(_29?"tree-dnd-yes":"tree-dnd-no"); +}; +function _25(_2b,_2c){ +if(_c(_12,_2c).state=="closed"){ +_75(_12,_2c,function(){ +_2d(); +}); +}else{ +_2d(); +} +function _2d(){ +var _2e=_1b(_2b,true); +$(_12).tree("append",{parent:_2c,data:[_2e]}); +_14.onDrop.call(_12,_2c,_2e,"append"); +}; +}; +function _26(_2f,_30,_31){ +var _32={}; +if(_31=="top"){ +_32.before=_30; +}else{ +_32.after=_30; +} +var _33=_1b(_2f,true); +_32.data=_33; +$(_12).tree("insert",_32); +_14.onDrop.call(_12,_30,_33,_31); +}; +}; +function _34(_35,_36,_37){ +var _38=$.data(_35,"tree").options; +if(!_38.checkbox){ +return; +} +var _39=_c(_35,_36); +if(_38.onBeforeCheck.call(_35,_39,_37)==false){ +return; +} +var _3a=$(_36); +var ck=_3a.find(".tree-checkbox"); +ck.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); +if(_37){ +ck.addClass("tree-checkbox1"); +}else{ +ck.addClass("tree-checkbox0"); +} +if(_38.cascadeCheck){ +_3b(_3a); +_3c(_3a); +} +_38.onCheck.call(_35,_39,_37); +function _3c(_3d){ +var _3e=_3d.next().find(".tree-checkbox"); +_3e.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); +if(_3d.find(".tree-checkbox").hasClass("tree-checkbox1")){ +_3e.addClass("tree-checkbox1"); +}else{ +_3e.addClass("tree-checkbox0"); +} +}; +function _3b(_3f){ +var _40=_8c(_35,_3f[0]); +if(_40){ +var ck=$(_40.target).find(".tree-checkbox"); +ck.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); +if(_41(_3f)){ +ck.addClass("tree-checkbox1"); +}else{ +if(_42(_3f)){ +ck.addClass("tree-checkbox0"); +}else{ +ck.addClass("tree-checkbox2"); +} +} +_3b($(_40.target)); +} +function _41(n){ +var ck=n.find(".tree-checkbox"); +if(ck.hasClass("tree-checkbox0")||ck.hasClass("tree-checkbox2")){ +return false; +} +var b=true; +n.parent().siblings().each(function(){ +if(!$(this).children("div.tree-node").children(".tree-checkbox").hasClass("tree-checkbox1")){ +b=false; +} +}); +return b; +}; +function _42(n){ +var ck=n.find(".tree-checkbox"); +if(ck.hasClass("tree-checkbox1")||ck.hasClass("tree-checkbox2")){ +return false; +} +var b=true; +n.parent().siblings().each(function(){ +if(!$(this).children("div.tree-node").children(".tree-checkbox").hasClass("tree-checkbox0")){ +b=false; +} +}); +return b; +}; +}; +}; +function _43(_44,_45){ +var _46=$.data(_44,"tree").options; +if(!_46.checkbox){ +return; +} +var _47=$(_45); +if(_48(_44,_45)){ +var ck=_47.find(".tree-checkbox"); +if(ck.length){ +if(ck.hasClass("tree-checkbox1")){ +_34(_44,_45,true); +}else{ +_34(_44,_45,false); +} +}else{ +if(_46.onlyLeafCheck){ +$("").insertBefore(_47.find(".tree-title")); +} +} +}else{ +var ck=_47.find(".tree-checkbox"); +if(_46.onlyLeafCheck){ +ck.remove(); +}else{ +if(ck.hasClass("tree-checkbox1")){ +_34(_44,_45,true); +}else{ +if(ck.hasClass("tree-checkbox2")){ +var _49=true; +var _4a=true; +var _4b=_4c(_44,_45); +for(var i=0;i<_4b.length;i++){ +if(_4b[i].checked){ +_4a=false; +}else{ +_49=false; +} +} +if(_49){ +_34(_44,_45,true); +} +if(_4a){ +_34(_44,_45,false); +} +} +} +} +} +}; +function _4d(_4e,ul,_4f,_50){ +var _51=$.data(_4e,"tree"); +var _52=_51.options; +var _53=$(ul).prevAll("div.tree-node:first"); +_4f=_52.loadFilter.call(_4e,_4f,_53[0]); +var _54=_55(_4e,"domId",_53.attr("id")); +if(!_50){ +_54?_54.children=_4f:_51.data=_4f; +$(ul).empty(); +}else{ +if(_54){ +_54.children?_54.children=_54.children.concat(_4f):_54.children=_4f; +}else{ +_51.data=_51.data.concat(_4f); +} +} +_52.view.render.call(_52.view,_4e,ul,_4f); +if(_52.dnd){ +_11(_4e); +} +if(_54){ +_56(_4e,_54); +} +var _57=[]; +var _58=[]; +for(var i=0;i<_4f.length;i++){ +var _59=_4f[i]; +if(!_59.checked){ +_57.push(_59); +} +} +_5a(_4f,function(_5b){ +if(_5b.checked){ +_58.push(_5b); +} +}); +var _5c=_52.onCheck; +_52.onCheck=function(){ +}; +if(_57.length){ +_34(_4e,$("#"+_57[0].domId)[0],false); +} +for(var i=0;i<_58.length;i++){ +_34(_4e,$("#"+_58[i].domId)[0],true); +} +_52.onCheck=_5c; +setTimeout(function(){ +_5d(_4e,_4e); +},0); +_52.onLoadSuccess.call(_4e,_54,_4f); +}; +function _5d(_5e,ul,_5f){ +var _60=$.data(_5e,"tree").options; +if(_60.lines){ +$(_5e).addClass("tree-lines"); +}else{ +$(_5e).removeClass("tree-lines"); +return; +} +if(!_5f){ +_5f=true; +$(_5e).find("span.tree-indent").removeClass("tree-line tree-join tree-joinbottom"); +$(_5e).find("div.tree-node").removeClass("tree-node-last tree-root-first tree-root-one"); +var _61=$(_5e).tree("getRoots"); +if(_61.length>1){ +$(_61[0].target).addClass("tree-root-first"); +}else{ +if(_61.length==1){ +$(_61[0].target).addClass("tree-root-one"); +} +} +} +$(ul).children("li").each(function(){ +var _62=$(this).children("div.tree-node"); +var ul=_62.next("ul"); +if(ul.length){ +if($(this).next().length){ +_63(_62); +} +_5d(_5e,ul,_5f); +}else{ +_64(_62); +} +}); +var _65=$(ul).children("li:last").children("div.tree-node").addClass("tree-node-last"); +_65.children("span.tree-join").removeClass("tree-join").addClass("tree-joinbottom"); +function _64(_66,_67){ +var _68=_66.find("span.tree-icon"); +_68.prev("span.tree-indent").addClass("tree-join"); +}; +function _63(_69){ +var _6a=_69.find("span.tree-indent, span.tree-hit").length; +_69.next().find("div.tree-node").each(function(){ +$(this).children("span:eq("+(_6a-1)+")").addClass("tree-line"); +}); +}; +}; +function _6b(_6c,ul,_6d,_6e){ +var _6f=$.data(_6c,"tree").options; +_6d=$.extend({},_6f.queryParams,_6d||{}); +var _70=null; +if(_6c!=ul){ +var _71=$(ul).prev(); +_70=_c(_6c,_71[0]); +} +if(_6f.onBeforeLoad.call(_6c,_70,_6d)==false){ +return; +} +var _72=$(ul).prev().children("span.tree-folder"); +_72.addClass("tree-loading"); +var _73=_6f.loader.call(_6c,_6d,function(_74){ +_72.removeClass("tree-loading"); +_4d(_6c,ul,_74); +if(_6e){ +_6e(); +} +},function(){ +_72.removeClass("tree-loading"); +_6f.onLoadError.apply(_6c,arguments); +if(_6e){ +_6e(); +} +}); +if(_73==false){ +_72.removeClass("tree-loading"); +} +}; +function _75(_76,_77,_78){ +var _79=$.data(_76,"tree").options; +var hit=$(_77).children("span.tree-hit"); +if(hit.length==0){ +return; +} +if(hit.hasClass("tree-expanded")){ +return; +} +var _7a=_c(_76,_77); +if(_79.onBeforeExpand.call(_76,_7a)==false){ +return; +} +hit.removeClass("tree-collapsed tree-collapsed-hover").addClass("tree-expanded"); +hit.next().addClass("tree-folder-open"); +var ul=$(_77).next(); +if(ul.length){ +if(_79.animate){ +ul.slideDown("normal",function(){ +_7a.state="open"; +_79.onExpand.call(_76,_7a); +if(_78){ +_78(); +} +}); +}else{ +ul.css("display","block"); +_7a.state="open"; +_79.onExpand.call(_76,_7a); +if(_78){ +_78(); +} +} +}else{ +var _7b=$("
                                            ").insertAfter(_77); +_6b(_76,_7b[0],{id:_7a.id},function(){ +if(_7b.is(":empty")){ +_7b.remove(); +} +if(_79.animate){ +_7b.slideDown("normal",function(){ +_7a.state="open"; +_79.onExpand.call(_76,_7a); +if(_78){ +_78(); +} +}); +}else{ +_7b.css("display","block"); +_7a.state="open"; +_79.onExpand.call(_76,_7a); +if(_78){ +_78(); +} +} +}); +} +}; +function _7c(_7d,_7e){ +var _7f=$.data(_7d,"tree").options; +var hit=$(_7e).children("span.tree-hit"); +if(hit.length==0){ +return; +} +if(hit.hasClass("tree-collapsed")){ +return; +} +var _80=_c(_7d,_7e); +if(_7f.onBeforeCollapse.call(_7d,_80)==false){ +return; +} +hit.removeClass("tree-expanded tree-expanded-hover").addClass("tree-collapsed"); +hit.next().removeClass("tree-folder-open"); +var ul=$(_7e).next(); +if(_7f.animate){ +ul.slideUp("normal",function(){ +_80.state="closed"; +_7f.onCollapse.call(_7d,_80); +}); +}else{ +ul.css("display","none"); +_80.state="closed"; +_7f.onCollapse.call(_7d,_80); +} +}; +function _81(_82,_83){ +var hit=$(_83).children("span.tree-hit"); +if(hit.length==0){ +return; +} +if(hit.hasClass("tree-expanded")){ +_7c(_82,_83); +}else{ +_75(_82,_83); +} +}; +function _84(_85,_86){ +var _87=_4c(_85,_86); +if(_86){ +_87.unshift(_c(_85,_86)); +} +for(var i=0;i<_87.length;i++){ +_75(_85,_87[i].target); +} +}; +function _88(_89,_8a){ +var _8b=[]; +var p=_8c(_89,_8a); +while(p){ +_8b.unshift(p); +p=_8c(_89,p.target); +} +for(var i=0;i<_8b.length;i++){ +_75(_89,_8b[i].target); +} +}; +function _8d(_8e,_8f){ +var c=$(_8e).parent(); +while(c[0].tagName!="BODY"&&c.css("overflow-y")!="auto"){ +c=c.parent(); +} +var n=$(_8f); +var _90=n.offset().top; +if(c[0].tagName!="BODY"){ +var _91=c.offset().top; +if(_90<_91){ +c.scrollTop(c.scrollTop()+_90-_91); +}else{ +if(_90+n.outerHeight()>_91+c.outerHeight()-18){ +c.scrollTop(c.scrollTop()+_90+n.outerHeight()-_91-c.outerHeight()+18); +} +} +}else{ +c.scrollTop(_90); +} +}; +function _92(_93,_94){ +var _95=_4c(_93,_94); +if(_94){ +_95.unshift(_c(_93,_94)); +} +for(var i=0;i<_95.length;i++){ +_7c(_93,_95[i].target); +} +}; +function _96(_97,_98){ +var _99=$(_98.parent); +var _9a=_98.data; +if(!_9a){ +return; +} +_9a=$.isArray(_9a)?_9a:[_9a]; +if(!_9a.length){ +return; +} +var ul; +if(_99.length==0){ +ul=$(_97); +}else{ +if(_48(_97,_99[0])){ +var _9b=_99.find("span.tree-icon"); +_9b.removeClass("tree-file").addClass("tree-folder tree-folder-open"); +var hit=$("").insertBefore(_9b); +if(hit.prev().length){ +hit.prev().remove(); +} +} +ul=_99.next(); +if(!ul.length){ +ul=$("
                                              ").insertAfter(_99); +} +} +_4d(_97,ul[0],_9a,true); +_43(_97,ul.prev()); +}; +function _9c(_9d,_9e){ +var ref=_9e.before||_9e.after; +var _9f=_8c(_9d,ref); +var _a0=_9e.data; +if(!_a0){ +return; +} +_a0=$.isArray(_a0)?_a0:[_a0]; +if(!_a0.length){ +return; +} +_96(_9d,{parent:(_9f?_9f.target:null),data:_a0}); +var _a1=_9f?_9f.children:$(_9d).tree("getRoots"); +for(var i=0;i<_a1.length;i++){ +if(_a1[i].domId==$(ref).attr("id")){ +for(var j=_a0.length-1;j>=0;j--){ +_a1.splice((_9e.before?i:(i+1)),0,_a0[j]); +} +_a1.splice(_a1.length-_a0.length,_a0.length); +break; +} +} +var li=$(); +for(var i=0;i<_a0.length;i++){ +li=li.add($("#"+_a0[i].domId).parent()); +} +if(_9e.before){ +li.insertBefore($(ref).parent()); +}else{ +li.insertAfter($(ref).parent()); +} +}; +function _a2(_a3,_a4){ +var _a5=del(_a4); +$(_a4).parent().remove(); +if(_a5){ +if(!_a5.children||!_a5.children.length){ +var _a6=$(_a5.target); +_a6.find(".tree-icon").removeClass("tree-folder").addClass("tree-file"); +_a6.find(".tree-hit").remove(); +$("").prependTo(_a6); +_a6.next().remove(); +} +_56(_a3,_a5); +_43(_a3,_a5.target); +} +_5d(_a3,_a3); +function del(_a7){ +var id=$(_a7).attr("id"); +var _a8=_8c(_a3,_a7); +var cc=_a8?_a8.children:$.data(_a3,"tree").data; +for(var i=0;i=0;i--){ +_d9.unshift(_da.children[i]); +} +} +} +}; +function _db(_dc,_dd){ +var _de=$.data(_dc,"tree").options; +var _df=_c(_dc,_dd); +if(_de.onBeforeSelect.call(_dc,_df)==false){ +return; +} +$(_dc).find("div.tree-node-selected").removeClass("tree-node-selected"); +$(_dd).addClass("tree-node-selected"); +_de.onSelect.call(_dc,_df); +}; +function _48(_e0,_e1){ +return $(_e1).children("span.tree-hit").length==0; +}; +function _e2(_e3,_e4){ +var _e5=$.data(_e3,"tree").options; +var _e6=_c(_e3,_e4); +if(_e5.onBeforeEdit.call(_e3,_e6)==false){ +return; +} +$(_e4).css("position","relative"); +var nt=$(_e4).find(".tree-title"); +var _e7=nt.outerWidth(); +nt.empty(); +var _e8=$("").appendTo(nt); +_e8.val(_e6.text).focus(); +_e8.width(_e7+20); +_e8.height(document.compatMode=="CSS1Compat"?(18-(_e8.outerHeight()-_e8.height())):18); +_e8.bind("click",function(e){ +return false; +}).bind("mousedown",function(e){ +e.stopPropagation(); +}).bind("mousemove",function(e){ +e.stopPropagation(); +}).bind("keydown",function(e){ +if(e.keyCode==13){ +_e9(_e3,_e4); +return false; +}else{ +if(e.keyCode==27){ +_ef(_e3,_e4); +return false; +} +} +}).bind("blur",function(e){ +e.stopPropagation(); +_e9(_e3,_e4); +}); +}; +function _e9(_ea,_eb){ +var _ec=$.data(_ea,"tree").options; +$(_eb).css("position",""); +var _ed=$(_eb).find("input.tree-editor"); +var val=_ed.val(); +_ed.remove(); +var _ee=_c(_ea,_eb); +_ee.text=val; +_56(_ea,_ee); +_ec.onAfterEdit.call(_ea,_ee); +}; +function _ef(_f0,_f1){ +var _f2=$.data(_f0,"tree").options; +$(_f1).css("position",""); +$(_f1).find("input.tree-editor").remove(); +var _f3=_c(_f0,_f1); +_56(_f0,_f3); +_f2.onCancelEdit.call(_f0,_f3); +}; +$.fn.tree=function(_f4,_f5){ +if(typeof _f4=="string"){ +return $.fn.tree.methods[_f4](this,_f5); +} +var _f4=_f4||{}; +return this.each(function(){ +var _f6=$.data(this,"tree"); +var _f7; +if(_f6){ +_f7=$.extend(_f6.options,_f4); +_f6.options=_f7; +}else{ +_f7=$.extend({},$.fn.tree.defaults,$.fn.tree.parseOptions(this),_f4); +$.data(this,"tree",{options:_f7,tree:_1(this),data:[]}); +var _f8=$.fn.tree.parseData(this); +if(_f8.length){ +_4d(this,this,_f8); +} +} +_4(this); +if(_f7.data){ +_4d(this,this,$.extend(true,[],_f7.data)); +} +_6b(this,this); +}); +}; +$.fn.tree.methods={options:function(jq){ +return $.data(jq[0],"tree").options; +},loadData:function(jq,_f9){ +return jq.each(function(){ +_4d(this,this,_f9); +}); +},getNode:function(jq,_fa){ +return _c(jq[0],_fa); +},getData:function(jq,_fb){ +return _c7(jq[0],_fb); +},reload:function(jq,_fc){ +return jq.each(function(){ +if(_fc){ +var _fd=$(_fc); +var hit=_fd.children("span.tree-hit"); +hit.removeClass("tree-expanded tree-expanded-hover").addClass("tree-collapsed"); +_fd.next().remove(); +_75(this,_fc); +}else{ +$(this).empty(); +_6b(this,this); +} +}); +},getRoot:function(jq,_fe){ +return _af(jq[0],_fe); +},getRoots:function(jq){ +return _b3(jq[0]); +},getParent:function(jq,_ff){ +return _8c(jq[0],_ff); +},getChildren:function(jq,_100){ +return _4c(jq[0],_100); +},getChecked:function(jq,_101){ +return _be(jq[0],_101); +},getSelected:function(jq){ +return _c4(jq[0]); +},isLeaf:function(jq,_102){ +return _48(jq[0],_102); +},find:function(jq,id){ +return _ce(jq[0],id); +},select:function(jq,_103){ +return jq.each(function(){ +_db(this,_103); +}); +},check:function(jq,_104){ +return jq.each(function(){ +_34(this,_104,true); +}); +},uncheck:function(jq,_105){ +return jq.each(function(){ +_34(this,_105,false); +}); +},collapse:function(jq,_106){ +return jq.each(function(){ +_7c(this,_106); +}); +},expand:function(jq,_107){ +return jq.each(function(){ +_75(this,_107); +}); +},collapseAll:function(jq,_108){ +return jq.each(function(){ +_92(this,_108); +}); +},expandAll:function(jq,_109){ +return jq.each(function(){ +_84(this,_109); +}); +},expandTo:function(jq,_10a){ +return jq.each(function(){ +_88(this,_10a); +}); +},scrollTo:function(jq,_10b){ +return jq.each(function(){ +_8d(this,_10b); +}); +},toggle:function(jq,_10c){ +return jq.each(function(){ +_81(this,_10c); +}); +},append:function(jq,_10d){ +return jq.each(function(){ +_96(this,_10d); +}); +},insert:function(jq,_10e){ +return jq.each(function(){ +_9c(this,_10e); +}); +},remove:function(jq,_10f){ +return jq.each(function(){ +_a2(this,_10f); +}); +},pop:function(jq,_110){ +var node=jq.tree("getData",_110); +jq.tree("remove",_110); +return node; +},update:function(jq,_111){ +return jq.each(function(){ +_56(this,_111); +}); +},enableDnd:function(jq){ +return jq.each(function(){ +_11(this); +}); +},disableDnd:function(jq){ +return jq.each(function(){ +_d(this); +}); +},beginEdit:function(jq,_112){ +return jq.each(function(){ +_e2(this,_112); +}); +},endEdit:function(jq,_113){ +return jq.each(function(){ +_e9(this,_113); +}); +},cancelEdit:function(jq,_114){ +return jq.each(function(){ +_ef(this,_114); +}); +}}; +$.fn.tree.parseOptions=function(_115){ +var t=$(_115); +return $.extend({},$.parser.parseOptions(_115,["url","method",{checkbox:"boolean",cascadeCheck:"boolean",onlyLeafCheck:"boolean"},{animate:"boolean",lines:"boolean",dnd:"boolean"}])); +}; +$.fn.tree.parseData=function(_116){ +var data=[]; +_117(data,$(_116)); +return data; +function _117(aa,tree){ +tree.children("li").each(function(){ +var node=$(this); +var item=$.extend({},$.parser.parseOptions(this,["id","iconCls","state"]),{checked:(node.attr("checked")?true:undefined)}); +item.text=node.children("span").html(); +if(!item.text){ +item.text=node.html(); +} +var _118=node.children("ul"); +if(_118.length){ +item.children=[]; +_117(item.children,_118); +} +aa.push(item); +}); +}; +}; +var _119=1; +var _11a={render:function(_11b,ul,data){ +var opts=$.data(_11b,"tree").options; +var _11c=$(ul).prev("div.tree-node").find("span.tree-indent, span.tree-hit").length; +var cc=_11d(_11c,data); +$(ul).append(cc.join("")); +function _11d(_11e,_11f){ +var cc=[]; +for(var i=0;i<_11f.length;i++){ +var item=_11f[i]; +if(item.state!="open"&&item.state!="closed"){ +item.state="open"; +} +item.domId="_easyui_tree_"+_119++; +cc.push("
                                            • "); +cc.push("
                                              "); +for(var j=0;j<_11e;j++){ +cc.push(""); +} +var _120=false; +if(item.state=="closed"){ +cc.push(""); +cc.push(""); +}else{ +if(item.children&&item.children.length){ +cc.push(""); +cc.push(""); +}else{ +cc.push(""); +cc.push(""); +_120=true; +} +} +if(opts.checkbox){ +if((!opts.onlyLeafCheck)||_120){ +cc.push(""); +} +} +cc.push(""+opts.formatter.call(_11b,item)+""); +cc.push("
                                              "); +if(item.children&&item.children.length){ +var tmp=_11d(_11e+1,item.children); +cc.push("
                                                "); +cc=cc.concat(tmp); +cc.push("
                                              "); +} +cc.push("
                                            • "); +} +return cc; +}; +}}; +$.fn.tree.defaults={url:null,method:"post",animate:false,checkbox:false,cascadeCheck:true,onlyLeafCheck:false,lines:false,dnd:false,data:null,queryParams:{},formatter:function(node){ +return node.text; +},loader:function(_121,_122,_123){ +var opts=$(this).tree("options"); +if(!opts.url){ +return false; +} +$.ajax({type:opts.method,url:opts.url,data:_121,dataType:"json",success:function(data){ +_122(data); +},error:function(){ +_123.apply(this,arguments); +}}); +},loadFilter:function(data,_124){ +return data; +},view:_11a,onBeforeLoad:function(node,_125){ +},onLoadSuccess:function(node,data){ +},onLoadError:function(){ +},onClick:function(node){ +},onDblClick:function(node){ +},onBeforeExpand:function(node){ +},onExpand:function(node){ +},onBeforeCollapse:function(node){ +},onCollapse:function(node){ +},onBeforeCheck:function(node,_126){ +},onCheck:function(node,_127){ +},onBeforeSelect:function(node){ +},onSelect:function(node){ +},onContextMenu:function(e,node){ +},onBeforeDrag:function(node){ +},onStartDrag:function(node){ +},onStopDrag:function(node){ +},onDragEnter:function(_128,_129){ +},onDragOver:function(_12a,_12b){ +},onDragLeave:function(_12c,_12d){ +},onBeforeDrop:function(_12e,_12f,_130){ +},onDrop:function(_131,_132,_133){ +},onBeforeEdit:function(node){ +},onAfterEdit:function(node){ +},onCancelEdit:function(node){ +}}; +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.treegrid.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.treegrid.js new file mode 100644 index 0000000..0a141cd --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.treegrid.js @@ -0,0 +1,1157 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +function _1(_2){ +var _3=$.data(_2,"treegrid"); +var _4=_3.options; +$(_2).datagrid($.extend({},_4,{url:null,data:null,loader:function(){ +return false; +},onBeforeLoad:function(){ +return false; +},onLoadSuccess:function(){ +},onResizeColumn:function(_5,_6){ +_26(_2); +_4.onResizeColumn.call(_2,_5,_6); +},onBeforeSortColumn:function(_7,_8){ +if(_4.onBeforeSortColumn.call(_2,_7,_8)==false){ +return false; +} +},onSortColumn:function(_9,_a){ +_4.sortName=_9; +_4.sortOrder=_a; +if(_4.remoteSort){ +_25(_2); +}else{ +var _b=$(_2).treegrid("getData"); +_3f(_2,0,_b); +} +_4.onSortColumn.call(_2,_9,_a); +},onBeforeEdit:function(_c,_d){ +if(_4.onBeforeEdit.call(_2,_d)==false){ +return false; +} +},onAfterEdit:function(_e,_f,_10){ +_4.onAfterEdit.call(_2,_f,_10); +},onCancelEdit:function(_11,row){ +_4.onCancelEdit.call(_2,row); +},onBeforeSelect:function(_12){ +if(_4.onBeforeSelect.call(_2,_47(_2,_12))==false){ +return false; +} +},onSelect:function(_13){ +_4.onSelect.call(_2,_47(_2,_13)); +},onBeforeUnselect:function(_14){ +if(_4.onBeforeUnselect.call(_2,_47(_2,_14))==false){ +return false; +} +},onUnselect:function(_15){ +_4.onUnselect.call(_2,_47(_2,_15)); +},onBeforeCheck:function(_16){ +if(_4.onBeforeCheck.call(_2,_47(_2,_16))==false){ +return false; +} +},onCheck:function(_17){ +_4.onCheck.call(_2,_47(_2,_17)); +},onBeforeUncheck:function(_18){ +if(_4.onBeforeUncheck.call(_2,_47(_2,_18))==false){ +return false; +} +},onUncheck:function(_19){ +_4.onUncheck.call(_2,_47(_2,_19)); +},onClickRow:function(_1a){ +_4.onClickRow.call(_2,_47(_2,_1a)); +},onDblClickRow:function(_1b){ +_4.onDblClickRow.call(_2,_47(_2,_1b)); +},onClickCell:function(_1c,_1d){ +_4.onClickCell.call(_2,_1d,_47(_2,_1c)); +},onDblClickCell:function(_1e,_1f){ +_4.onDblClickCell.call(_2,_1f,_47(_2,_1e)); +},onRowContextMenu:function(e,_20){ +_4.onContextMenu.call(_2,e,_47(_2,_20)); +}})); +if(!_4.columns){ +var _21=$.data(_2,"datagrid").options; +_4.columns=_21.columns; +_4.frozenColumns=_21.frozenColumns; +} +_3.dc=$.data(_2,"datagrid").dc; +if(_4.pagination){ +var _22=$(_2).datagrid("getPager"); +_22.pagination({pageNumber:_4.pageNumber,pageSize:_4.pageSize,pageList:_4.pageList,onSelectPage:function(_23,_24){ +_4.pageNumber=_23; +_4.pageSize=_24; +_25(_2); +}}); +_4.pageSize=_22.pagination("options").pageSize; +} +}; +function _26(_27,_28){ +var _29=$.data(_27,"datagrid").options; +var dc=$.data(_27,"datagrid").dc; +if(!dc.body1.is(":empty")&&(!_29.nowrap||_29.autoRowHeight)){ +if(_28!=undefined){ +var _2a=_2b(_27,_28); +for(var i=0;i<_2a.length;i++){ +_2c(_2a[i][_29.idField]); +} +} +} +$(_27).datagrid("fixRowHeight",_28); +function _2c(_2d){ +var tr1=_29.finder.getTr(_27,_2d,"body",1); +var tr2=_29.finder.getTr(_27,_2d,"body",2); +tr1.css("height",""); +tr2.css("height",""); +var _2e=Math.max(tr1.height(),tr2.height()); +tr1.css("height",_2e); +tr2.css("height",_2e); +}; +}; +function _2f(_30){ +var dc=$.data(_30,"datagrid").dc; +var _31=$.data(_30,"treegrid").options; +if(!_31.rownumbers){ +return; +} +dc.body1.find("div.datagrid-cell-rownumber").each(function(i){ +$(this).html(i+1); +}); +}; +function _32(_33){ +return function(e){ +$.fn.datagrid.defaults.rowEvents[_33?"mouseover":"mouseout"](e); +var tt=$(e.target); +var fn=_33?"addClass":"removeClass"; +if(tt.hasClass("tree-hit")){ +tt.hasClass("tree-expanded")?tt[fn]("tree-expanded-hover"):tt[fn]("tree-collapsed-hover"); +} +}; +}; +function _34(e){ +var tt=$(e.target); +if(tt.hasClass("tree-hit")){ +var tr=tt.closest("tr.datagrid-row"); +var _35=tr.closest("div.datagrid-view").children(".datagrid-f")[0]; +_36(_35,tr.attr("node-id")); +}else{ +$.fn.datagrid.defaults.rowEvents.click(e); +} +}; +function _37(_38,_39){ +var _3a=$.data(_38,"treegrid").options; +var tr1=_3a.finder.getTr(_38,_39,"body",1); +var tr2=_3a.finder.getTr(_38,_39,"body",2); +var _3b=$(_38).datagrid("getColumnFields",true).length+(_3a.rownumbers?1:0); +var _3c=$(_38).datagrid("getColumnFields",false).length; +_3d(tr1,_3b); +_3d(tr2,_3c); +function _3d(tr,_3e){ +$(""+""+"
                                              "+""+"").insertAfter(tr); +}; +}; +function _3f(_40,_41,_42,_43){ +var _44=$.data(_40,"treegrid"); +var _45=_44.options; +var dc=_44.dc; +_42=_45.loadFilter.call(_40,_42,_41); +var _46=_47(_40,_41); +if(_46){ +var _48=_45.finder.getTr(_40,_41,"body",1); +var _49=_45.finder.getTr(_40,_41,"body",2); +var cc1=_48.next("tr.treegrid-tr-tree").children("td").children("div"); +var cc2=_49.next("tr.treegrid-tr-tree").children("td").children("div"); +if(!_43){ +_46.children=[]; +} +}else{ +var cc1=dc.body1; +var cc2=dc.body2; +if(!_43){ +_44.data=[]; +} +} +if(!_43){ +cc1.empty(); +cc2.empty(); +} +if(_45.view.onBeforeRender){ +_45.view.onBeforeRender.call(_45.view,_40,_41,_42); +} +_45.view.render.call(_45.view,_40,cc1,true); +_45.view.render.call(_45.view,_40,cc2,false); +if(_45.showFooter){ +_45.view.renderFooter.call(_45.view,_40,dc.footer1,true); +_45.view.renderFooter.call(_45.view,_40,dc.footer2,false); +} +if(_45.view.onAfterRender){ +_45.view.onAfterRender.call(_45.view,_40); +} +if(!_41&&_45.pagination){ +var _4a=$.data(_40,"treegrid").total; +var _4b=$(_40).datagrid("getPager"); +if(_4b.pagination("options").total!=_4a){ +_4b.pagination({total:_4a}); +} +} +_26(_40); +_2f(_40); +$(_40).treegrid("showLines"); +$(_40).treegrid("setSelectionState"); +$(_40).treegrid("autoSizeColumn"); +_45.onLoadSuccess.call(_40,_46,_42); +}; +function _25(_4c,_4d,_4e,_4f,_50){ +var _51=$.data(_4c,"treegrid").options; +var _52=$(_4c).datagrid("getPanel").find("div.datagrid-body"); +if(_4e){ +_51.queryParams=_4e; +} +var _53=$.extend({},_51.queryParams); +if(_51.pagination){ +$.extend(_53,{page:_51.pageNumber,rows:_51.pageSize}); +} +if(_51.sortName){ +$.extend(_53,{sort:_51.sortName,order:_51.sortOrder}); +} +var row=_47(_4c,_4d); +if(_51.onBeforeLoad.call(_4c,row,_53)==false){ +return; +} +var _54=_52.find("tr[node-id=\""+_4d+"\"] span.tree-folder"); +_54.addClass("tree-loading"); +$(_4c).treegrid("loading"); +var _55=_51.loader.call(_4c,_53,function(_56){ +_54.removeClass("tree-loading"); +$(_4c).treegrid("loaded"); +_3f(_4c,_4d,_56,_4f); +if(_50){ +_50(); +} +},function(){ +_54.removeClass("tree-loading"); +$(_4c).treegrid("loaded"); +_51.onLoadError.apply(_4c,arguments); +if(_50){ +_50(); +} +}); +if(_55==false){ +_54.removeClass("tree-loading"); +$(_4c).treegrid("loaded"); +} +}; +function _57(_58){ +var _59=_5a(_58); +if(_59.length){ +return _59[0]; +}else{ +return null; +} +}; +function _5a(_5b){ +return $.data(_5b,"treegrid").data; +}; +function _5c(_5d,_5e){ +var row=_47(_5d,_5e); +if(row._parentId){ +return _47(_5d,row._parentId); +}else{ +return null; +} +}; +function _2b(_5f,_60){ +var _61=$.data(_5f,"treegrid").options; +var _62=$(_5f).datagrid("getPanel").find("div.datagrid-view2 div.datagrid-body"); +var _63=[]; +if(_60){ +_64(_60); +}else{ +var _65=_5a(_5f); +for(var i=0;i<_65.length;i++){ +_63.push(_65[i]); +_64(_65[i][_61.idField]); +} +} +function _64(_66){ +var _67=_47(_5f,_66); +if(_67&&_67.children){ +for(var i=0,len=_67.children.length;i").insertBefore(_95); +if(hit.prev().length){ +hit.prev().remove(); +} +} +} +_3f(_91,_92.parent,_92.data,true); +}; +function _96(_97,_98){ +var ref=_98.before||_98.after; +var _99=$.data(_97,"treegrid").options; +var _9a=_5c(_97,ref); +_90(_97,{parent:(_9a?_9a[_99.idField]:null),data:[_98.data]}); +var _9b=_9a?_9a.children:$(_97).treegrid("getRoots"); +for(var i=0;i<_9b.length;i++){ +if(_9b[i][_99.idField]==ref){ +var _9c=_9b[_9b.length-1]; +_9b.splice(_98.before?i:(i+1),0,_9c); +_9b.splice(_9b.length-1,1); +break; +} +} +_9d(true); +_9d(false); +_2f(_97); +$(_97).treegrid("showLines"); +function _9d(_9e){ +var _9f=_9e?1:2; +var tr=_99.finder.getTr(_97,_98.data[_99.idField],"body",_9f); +var _a0=tr.closest("table.datagrid-btable"); +tr=tr.parent().children(); +var _a1=_99.finder.getTr(_97,ref,"body",_9f); +if(_98.before){ +tr.insertBefore(_a1); +}else{ +var sub=_a1.next("tr.treegrid-tr-tree"); +tr.insertAfter(sub.length?sub:_a1); +} +_a0.remove(); +}; +}; +function _a2(_a3,_a4){ +var _a5=$.data(_a3,"treegrid"); +$(_a3).datagrid("deleteRow",_a4); +_2f(_a3); +_a5.total-=1; +$(_a3).datagrid("getPager").pagination("refresh",{total:_a5.total}); +$(_a3).treegrid("showLines"); +}; +function _a6(_a7){ +var t=$(_a7); +var _a8=t.treegrid("options"); +if(_a8.lines){ +t.treegrid("getPanel").addClass("tree-lines"); +}else{ +t.treegrid("getPanel").removeClass("tree-lines"); +return; +} +t.treegrid("getPanel").find("span.tree-indent").removeClass("tree-line tree-join tree-joinbottom"); +t.treegrid("getPanel").find("div.datagrid-cell").removeClass("tree-node-last tree-root-first tree-root-one"); +var _a9=t.treegrid("getRoots"); +if(_a9.length>1){ +_aa(_a9[0]).addClass("tree-root-first"); +}else{ +if(_a9.length==1){ +_aa(_a9[0]).addClass("tree-root-one"); +} +} +_ab(_a9); +_ac(_a9); +function _ab(_ad){ +$.map(_ad,function(_ae){ +if(_ae.children&&_ae.children.length){ +_ab(_ae.children); +}else{ +var _af=_aa(_ae); +_af.find(".tree-icon").prev().addClass("tree-join"); +} +}); +if(_ad.length){ +var _b0=_aa(_ad[_ad.length-1]); +_b0.addClass("tree-node-last"); +_b0.find(".tree-join").removeClass("tree-join").addClass("tree-joinbottom"); +} +}; +function _ac(_b1){ +$.map(_b1,function(_b2){ +if(_b2.children&&_b2.children.length){ +_ac(_b2.children); +} +}); +for(var i=0;i<_b1.length-1;i++){ +var _b3=_b1[i]; +var _b4=t.treegrid("getLevel",_b3[_a8.idField]); +var tr=_a8.finder.getTr(_a7,_b3[_a8.idField]); +var cc=tr.next().find("tr.datagrid-row td[field=\""+_a8.treeField+"\"] div.datagrid-cell"); +cc.find("span:eq("+(_b4-1)+")").addClass("tree-line"); +} +}; +function _aa(_b5){ +var tr=_a8.finder.getTr(_a7,_b5[_a8.idField]); +var _b6=tr.find("td[field=\""+_a8.treeField+"\"] div.datagrid-cell"); +return _b6; +}; +}; +$.fn.treegrid=function(_b7,_b8){ +if(typeof _b7=="string"){ +var _b9=$.fn.treegrid.methods[_b7]; +if(_b9){ +return _b9(this,_b8); +}else{ +return this.datagrid(_b7,_b8); +} +} +_b7=_b7||{}; +return this.each(function(){ +var _ba=$.data(this,"treegrid"); +if(_ba){ +$.extend(_ba.options,_b7); +}else{ +_ba=$.data(this,"treegrid",{options:$.extend({},$.fn.treegrid.defaults,$.fn.treegrid.parseOptions(this),_b7),data:[]}); +} +_1(this); +if(_ba.options.data){ +$(this).treegrid("loadData",_ba.options.data); +} +_25(this); +}); +}; +$.fn.treegrid.methods={options:function(jq){ +return $.data(jq[0],"treegrid").options; +},resize:function(jq,_bb){ +return jq.each(function(){ +$(this).datagrid("resize",_bb); +}); +},fixRowHeight:function(jq,_bc){ +return jq.each(function(){ +_26(this,_bc); +}); +},loadData:function(jq,_bd){ +return jq.each(function(){ +_3f(this,_bd.parent,_bd); +}); +},load:function(jq,_be){ +return jq.each(function(){ +$(this).treegrid("options").pageNumber=1; +$(this).treegrid("getPager").pagination({pageNumber:1}); +$(this).treegrid("reload",_be); +}); +},reload:function(jq,id){ +return jq.each(function(){ +var _bf=$(this).treegrid("options"); +var _c0={}; +if(typeof id=="object"){ +_c0=id; +}else{ +_c0=$.extend({},_bf.queryParams); +_c0.id=id; +} +if(_c0.id){ +var _c1=$(this).treegrid("find",_c0.id); +if(_c1.children){ +_c1.children.splice(0,_c1.children.length); +} +_bf.queryParams=_c0; +var tr=_bf.finder.getTr(this,_c0.id); +tr.next("tr.treegrid-tr-tree").remove(); +tr.find("span.tree-hit").removeClass("tree-expanded tree-expanded-hover").addClass("tree-collapsed"); +_78(this,_c0.id); +}else{ +_25(this,null,_c0); +} +}); +},reloadFooter:function(jq,_c2){ +return jq.each(function(){ +var _c3=$.data(this,"treegrid").options; +var dc=$.data(this,"datagrid").dc; +if(_c2){ +$.data(this,"treegrid").footer=_c2; +} +if(_c3.showFooter){ +_c3.view.renderFooter.call(_c3.view,this,dc.footer1,true); +_c3.view.renderFooter.call(_c3.view,this,dc.footer2,false); +if(_c3.view.onAfterRender){ +_c3.view.onAfterRender.call(_c3.view,this); +} +$(this).treegrid("fixRowHeight"); +} +}); +},getData:function(jq){ +return $.data(jq[0],"treegrid").data; +},getFooterRows:function(jq){ +return $.data(jq[0],"treegrid").footer; +},getRoot:function(jq){ +return _57(jq[0]); +},getRoots:function(jq){ +return _5a(jq[0]); +},getParent:function(jq,id){ +return _5c(jq[0],id); +},getChildren:function(jq,id){ +return _2b(jq[0],id); +},getLevel:function(jq,id){ +return _69(jq[0],id); +},find:function(jq,id){ +return _47(jq[0],id); +},isLeaf:function(jq,id){ +var _c4=$.data(jq[0],"treegrid").options; +var tr=_c4.finder.getTr(jq[0],id); +var hit=tr.find("span.tree-hit"); +return hit.length==0; +},select:function(jq,id){ +return jq.each(function(){ +$(this).datagrid("selectRow",id); +}); +},unselect:function(jq,id){ +return jq.each(function(){ +$(this).datagrid("unselectRow",id); +}); +},collapse:function(jq,id){ +return jq.each(function(){ +_74(this,id); +}); +},expand:function(jq,id){ +return jq.each(function(){ +_78(this,id); +}); +},toggle:function(jq,id){ +return jq.each(function(){ +_36(this,id); +}); +},collapseAll:function(jq,id){ +return jq.each(function(){ +_82(this,id); +}); +},expandAll:function(jq,id){ +return jq.each(function(){ +_87(this,id); +}); +},expandTo:function(jq,id){ +return jq.each(function(){ +_8c(this,id); +}); +},append:function(jq,_c5){ +return jq.each(function(){ +_90(this,_c5); +}); +},insert:function(jq,_c6){ +return jq.each(function(){ +_96(this,_c6); +}); +},remove:function(jq,id){ +return jq.each(function(){ +_a2(this,id); +}); +},pop:function(jq,id){ +var row=jq.treegrid("find",id); +jq.treegrid("remove",id); +return row; +},refresh:function(jq,id){ +return jq.each(function(){ +var _c7=$.data(this,"treegrid").options; +_c7.view.refreshRow.call(_c7.view,this,id); +}); +},update:function(jq,_c8){ +return jq.each(function(){ +var _c9=$.data(this,"treegrid").options; +_c9.view.updateRow.call(_c9.view,this,_c8.id,_c8.row); +}); +},beginEdit:function(jq,id){ +return jq.each(function(){ +$(this).datagrid("beginEdit",id); +$(this).treegrid("fixRowHeight",id); +}); +},endEdit:function(jq,id){ +return jq.each(function(){ +$(this).datagrid("endEdit",id); +}); +},cancelEdit:function(jq,id){ +return jq.each(function(){ +$(this).datagrid("cancelEdit",id); +}); +},showLines:function(jq){ +return jq.each(function(){ +_a6(this); +}); +}}; +$.fn.treegrid.parseOptions=function(_ca){ +return $.extend({},$.fn.datagrid.parseOptions(_ca),$.parser.parseOptions(_ca,["treeField",{animate:"boolean"}])); +}; +var _cb=$.extend({},$.fn.datagrid.defaults.view,{render:function(_cc,_cd,_ce){ +var _cf=$.data(_cc,"treegrid").options; +var _d0=$(_cc).datagrid("getColumnFields",_ce); +var _d1=$.data(_cc,"datagrid").rowIdPrefix; +if(_ce){ +if(!(_cf.rownumbers||(_cf.frozenColumns&&_cf.frozenColumns.length))){ +return; +} +} +var _d2=this; +if(this.treeNodes&&this.treeNodes.length){ +var _d3=_d4(_ce,this.treeLevel,this.treeNodes); +$(_cd).append(_d3.join("")); +} +function _d4(_d5,_d6,_d7){ +var _d8=$(_cc).treegrid("getParent",_d7[0][_cf.idField]); +var _d9=(_d8?_d8.children.length:$(_cc).treegrid("getRoots").length)-_d7.length; +var _da=[""]; +for(var i=0;i<_d7.length;i++){ +var row=_d7[i]; +if(row.state!="open"&&row.state!="closed"){ +row.state="open"; +} +var css=_cf.rowStyler?_cf.rowStyler.call(_cc,row):""; +var _db=""; +var _dc=""; +if(typeof css=="string"){ +_dc=css; +}else{ +if(css){ +_db=css["class"]||""; +_dc=css["style"]||""; +} +} +var cls="class=\"datagrid-row "+(_d9++%2&&_cf.striped?"datagrid-row-alt ":" ")+_db+"\""; +var _dd=_dc?"style=\""+_dc+"\"":""; +var _de=_d1+"-"+(_d5?1:2)+"-"+row[_cf.idField]; +_da.push(""); +_da=_da.concat(_d2.renderRow.call(_d2,_cc,_d0,_d5,_d6,row)); +_da.push(""); +if(row.children&&row.children.length){ +var tt=_d4(_d5,_d6+1,row.children); +var v=row.state=="closed"?"none":"block"; +_da.push(""); +} +} +_da.push("
                                              "); +_da=_da.concat(tt); +_da.push("
                                              "); +return _da; +}; +},renderFooter:function(_df,_e0,_e1){ +var _e2=$.data(_df,"treegrid").options; +var _e3=$.data(_df,"treegrid").footer||[]; +var _e4=$(_df).datagrid("getColumnFields",_e1); +var _e5=[""]; +for(var i=0;i<_e3.length;i++){ +var row=_e3[i]; +row[_e2.idField]=row[_e2.idField]||("foot-row-id"+i); +_e5.push(""); +_e5.push(this.renderRow.call(this,_df,_e4,_e1,0,row)); +_e5.push(""); +} +_e5.push("
                                              "); +$(_e0).html(_e5.join("")); +},renderRow:function(_e6,_e7,_e8,_e9,row){ +var _ea=$.data(_e6,"treegrid").options; +var cc=[]; +if(_e8&&_ea.rownumbers){ +cc.push("
                                              0
                                              "); +} +for(var i=0;i<_e7.length;i++){ +var _eb=_e7[i]; +var col=$(_e6).datagrid("getColumnOption",_eb); +if(col){ +var css=col.styler?(col.styler(row[_eb],row)||""):""; +var _ec=""; +var _ed=""; +if(typeof css=="string"){ +_ed=css; +}else{ +if(cc){ +_ec=css["class"]||""; +_ed=css["style"]||""; +} +} +var cls=_ec?"class=\""+_ec+"\"":""; +var _ee=col.hidden?"style=\"display:none;"+_ed+"\"":(_ed?"style=\""+_ed+"\"":""); +cc.push(""); +var _ee=""; +if(!col.checkbox){ +if(col.align){ +_ee+="text-align:"+col.align+";"; +} +if(!_ea.nowrap){ +_ee+="white-space:normal;height:auto;"; +}else{ +if(_ea.autoRowHeight){ +_ee+="height:auto;"; +} +} +} +cc.push("
                                              "); +if(col.checkbox){ +if(row.checked){ +cc.push(""); +}else{ +var val=null; +if(col.formatter){ +val=col.formatter(row[_eb],row); +}else{ +val=row[_eb]; +} +if(_eb==_ea.treeField){ +for(var j=0;j<_e9;j++){ +cc.push(""); +} +if(row.state=="closed"){ +cc.push(""); +cc.push(""); +}else{ +if(row.children&&row.children.length){ +cc.push(""); +cc.push(""); +}else{ +cc.push(""); +cc.push(""); +} +} +cc.push(""+val+""); +}else{ +cc.push(val); +} +} +cc.push("
                                              "); +cc.push(""); +} +} +return cc.join(""); +},refreshRow:function(_ef,id){ +this.updateRow.call(this,_ef,id,{}); +},updateRow:function(_f0,id,row){ +var _f1=$.data(_f0,"treegrid").options; +var _f2=$(_f0).treegrid("find",id); +$.extend(_f2,row); +var _f3=$(_f0).treegrid("getLevel",id)-1; +var _f4=_f1.rowStyler?_f1.rowStyler.call(_f0,_f2):""; +var _f5=$.data(_f0,"datagrid").rowIdPrefix; +var _f6=_f2[_f1.idField]; +function _f7(_f8){ +var _f9=$(_f0).treegrid("getColumnFields",_f8); +var tr=_f1.finder.getTr(_f0,id,"body",(_f8?1:2)); +var _fa=tr.find("div.datagrid-cell-rownumber").html(); +var _fb=tr.find("div.datagrid-cell-check input[type=checkbox]").is(":checked"); +tr.html(this.renderRow(_f0,_f9,_f8,_f3,_f2)); +tr.attr("style",_f4||""); +tr.find("div.datagrid-cell-rownumber").html(_fa); +if(_fb){ +tr.find("div.datagrid-cell-check input[type=checkbox]")._propAttr("checked",true); +} +if(_f6!=id){ +tr.attr("id",_f5+"-"+(_f8?1:2)+"-"+_f6); +tr.attr("node-id",_f6); +} +}; +_f7.call(this,true); +_f7.call(this,false); +$(_f0).treegrid("fixRowHeight",id); +},deleteRow:function(_fc,id){ +var _fd=$.data(_fc,"treegrid").options; +var tr=_fd.finder.getTr(_fc,id); +tr.next("tr.treegrid-tr-tree").remove(); +tr.remove(); +var _fe=del(id); +if(_fe){ +if(_fe.children.length==0){ +tr=_fd.finder.getTr(_fc,_fe[_fd.idField]); +tr.next("tr.treegrid-tr-tree").remove(); +var _ff=tr.children("td[field=\""+_fd.treeField+"\"]").children("div.datagrid-cell"); +_ff.find(".tree-icon").removeClass("tree-folder").addClass("tree-file"); +_ff.find(".tree-hit").remove(); +$("").prependTo(_ff); +} +} +function del(id){ +var cc; +var _100=$(_fc).treegrid("getParent",id); +if(_100){ +cc=_100.children; +}else{ +cc=$(_fc).treegrid("getData"); +} +for(var i=0;ib?1:-1); +}; +r=_10b(r1[sn],r2[sn])*(so=="asc"?1:-1); +if(r!=0){ +return r; +} +} +return r; +}); +for(var i=0;i=_3d[0]&&len<=_3d[1]; +},message:"Please enter a value between {0} and {1}."},remote:{validator:function(_3e,_3f){ +var _40={}; +_40[_3f[1]]=_3e; +var _41=$.ajax({url:_3f[0],dataType:"json",data:_40,async:false,cache:false,type:"post"}).responseText; +return _41=="true"; +},message:"Please fix this field."}},onBeforeValidate:function(){ +},onValidate:function(_42){ +}}; +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/plugins/jquery.window.js b/src/main/webapp/lib/jquery-easyui/plugins/jquery.window.js new file mode 100644 index 0000000..1db3cfd --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/plugins/jquery.window.js @@ -0,0 +1,261 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +(function($){ +function _1(_2,_3){ +var _4=$.data(_2,"window"); +if(_3){ +if(_3.left!=null){ +_4.options.left=_3.left; +} +if(_3.top!=null){ +_4.options.top=_3.top; +} +} +$(_2).panel("move",_4.options); +if(_4.shadow){ +_4.shadow.css({left:_4.options.left,top:_4.options.top}); +} +}; +function _5(_6,_7){ +var _8=$.data(_6,"window").options; +var pp=$(_6).window("panel"); +var _9=pp._outerWidth(); +if(_8.inline){ +var _a=pp.parent(); +_8.left=Math.ceil((_a.width()-_9)/2+_a.scrollLeft()); +}else{ +_8.left=Math.ceil(($(window)._outerWidth()-_9)/2+$(document).scrollLeft()); +} +if(_7){ +_1(_6); +} +}; +function _b(_c,_d){ +var _e=$.data(_c,"window").options; +var pp=$(_c).window("panel"); +var _f=pp._outerHeight(); +if(_e.inline){ +var _10=pp.parent(); +_e.top=Math.ceil((_10.height()-_f)/2+_10.scrollTop()); +}else{ +_e.top=Math.ceil(($(window)._outerHeight()-_f)/2+$(document).scrollTop()); +} +if(_d){ +_1(_c); +} +}; +function _11(_12){ +var _13=$.data(_12,"window"); +var _14=_13.options; +var win=$(_12).panel($.extend({},_13.options,{border:false,doSize:true,closed:true,cls:"window",headerCls:"window-header",bodyCls:"window-body "+(_14.noheader?"window-body-noheader":""),onBeforeDestroy:function(){ +if(_14.onBeforeDestroy.call(_12)==false){ +return false; +} +if(_13.shadow){ +_13.shadow.remove(); +} +if(_13.mask){ +_13.mask.remove(); +} +},onClose:function(){ +if(_13.shadow){ +_13.shadow.hide(); +} +if(_13.mask){ +_13.mask.hide(); +} +_14.onClose.call(_12); +},onOpen:function(){ +if(_13.mask){ +_13.mask.css({display:"block",zIndex:$.fn.window.defaults.zIndex++}); +} +if(_13.shadow){ +_13.shadow.css({display:"block",zIndex:$.fn.window.defaults.zIndex++,left:_14.left,top:_14.top,width:_13.window._outerWidth(),height:_13.window._outerHeight()}); +} +_13.window.css("z-index",$.fn.window.defaults.zIndex++); +_14.onOpen.call(_12); +},onResize:function(_15,_16){ +var _17=$(this).panel("options"); +$.extend(_14,{width:_17.width,height:_17.height,left:_17.left,top:_17.top}); +if(_13.shadow){ +_13.shadow.css({left:_14.left,top:_14.top,width:_13.window._outerWidth(),height:_13.window._outerHeight()}); +} +_14.onResize.call(_12,_15,_16); +},onMinimize:function(){ +if(_13.shadow){ +_13.shadow.hide(); +} +if(_13.mask){ +_13.mask.hide(); +} +_13.options.onMinimize.call(_12); +},onBeforeCollapse:function(){ +if(_14.onBeforeCollapse.call(_12)==false){ +return false; +} +if(_13.shadow){ +_13.shadow.hide(); +} +},onExpand:function(){ +if(_13.shadow){ +_13.shadow.show(); +} +_14.onExpand.call(_12); +}})); +_13.window=win.panel("panel"); +if(_13.mask){ +_13.mask.remove(); +} +if(_14.modal==true){ +_13.mask=$("
                                              ").insertAfter(_13.window); +_13.mask.css({width:(_14.inline?_13.mask.parent().width():_18().width),height:(_14.inline?_13.mask.parent().height():_18().height),display:"none"}); +} +if(_13.shadow){ +_13.shadow.remove(); +} +if(_14.shadow==true){ +_13.shadow=$("
                                              ").insertAfter(_13.window); +_13.shadow.css({display:"none"}); +} +if(_14.left==null){ +_5(_12); +} +if(_14.top==null){ +_b(_12); +} +_1(_12); +if(!_14.closed){ +win.window("open"); +} +}; +function _19(_1a){ +var _1b=$.data(_1a,"window"); +_1b.window.draggable({handle:">div.panel-header>div.panel-title",disabled:_1b.options.draggable==false,onStartDrag:function(e){ +if(_1b.mask){ +_1b.mask.css("z-index",$.fn.window.defaults.zIndex++); +} +if(_1b.shadow){ +_1b.shadow.css("z-index",$.fn.window.defaults.zIndex++); +} +_1b.window.css("z-index",$.fn.window.defaults.zIndex++); +if(!_1b.proxy){ +_1b.proxy=$("
                                              ").insertAfter(_1b.window); +} +_1b.proxy.css({display:"none",zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top}); +_1b.proxy._outerWidth(_1b.window._outerWidth()); +_1b.proxy._outerHeight(_1b.window._outerHeight()); +setTimeout(function(){ +if(_1b.proxy){ +_1b.proxy.show(); +} +},500); +},onDrag:function(e){ +_1b.proxy.css({display:"block",left:e.data.left,top:e.data.top}); +return false; +},onStopDrag:function(e){ +_1b.options.left=e.data.left; +_1b.options.top=e.data.top; +$(_1a).window("move"); +_1b.proxy.remove(); +_1b.proxy=null; +}}); +_1b.window.resizable({disabled:_1b.options.resizable==false,onStartResize:function(e){ +if(_1b.pmask){ +_1b.pmask.remove(); +} +_1b.pmask=$("
                                              ").insertAfter(_1b.window); +_1b.pmask.css({zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top,width:_1b.window._outerWidth(),height:_1b.window._outerHeight()}); +if(_1b.proxy){ +_1b.proxy.remove(); +} +_1b.proxy=$("
                                              ").insertAfter(_1b.window); +_1b.proxy.css({zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top}); +_1b.proxy._outerWidth(e.data.width)._outerHeight(e.data.height); +},onResize:function(e){ +_1b.proxy.css({left:e.data.left,top:e.data.top}); +_1b.proxy._outerWidth(e.data.width); +_1b.proxy._outerHeight(e.data.height); +return false; +},onStopResize:function(e){ +$(_1a).window("resize",e.data); +_1b.pmask.remove(); +_1b.pmask=null; +_1b.proxy.remove(); +_1b.proxy=null; +}}); +}; +function _18(){ +if(document.compatMode=="BackCompat"){ +return {width:Math.max(document.body.scrollWidth,document.body.clientWidth),height:Math.max(document.body.scrollHeight,document.body.clientHeight)}; +}else{ +return {width:Math.max(document.documentElement.scrollWidth,document.documentElement.clientWidth),height:Math.max(document.documentElement.scrollHeight,document.documentElement.clientHeight)}; +} +}; +$(window).resize(function(){ +$("body>div.window-mask").css({width:$(window)._outerWidth(),height:$(window)._outerHeight()}); +setTimeout(function(){ +$("body>div.window-mask").css({width:_18().width,height:_18().height}); +},50); +}); +$.fn.window=function(_1c,_1d){ +if(typeof _1c=="string"){ +var _1e=$.fn.window.methods[_1c]; +if(_1e){ +return _1e(this,_1d); +}else{ +return this.panel(_1c,_1d); +} +} +_1c=_1c||{}; +return this.each(function(){ +var _1f=$.data(this,"window"); +if(_1f){ +$.extend(_1f.options,_1c); +}else{ +_1f=$.data(this,"window",{options:$.extend({},$.fn.window.defaults,$.fn.window.parseOptions(this),_1c)}); +if(!_1f.options.inline){ +document.body.appendChild(this); +} +} +_11(this); +_19(this); +}); +}; +$.fn.window.methods={options:function(jq){ +var _20=jq.panel("options"); +var _21=$.data(jq[0],"window").options; +return $.extend(_21,{closed:_20.closed,collapsed:_20.collapsed,minimized:_20.minimized,maximized:_20.maximized}); +},window:function(jq){ +return $.data(jq[0],"window").window; +},move:function(jq,_22){ +return jq.each(function(){ +_1(this,_22); +}); +},hcenter:function(jq){ +return jq.each(function(){ +_5(this,true); +}); +},vcenter:function(jq){ +return jq.each(function(){ +_b(this,true); +}); +},center:function(jq){ +return jq.each(function(){ +_5(this); +_b(this); +_1(this); +}); +}}; +$.fn.window.parseOptions=function(_23){ +return $.extend({},$.fn.panel.parseOptions(_23),$.parser.parseOptions(_23,[{draggable:"boolean",resizable:"boolean",shadow:"boolean",modal:"boolean",inline:"boolean"}])); +}; +$.fn.window.defaults=$.extend({},$.fn.panel.defaults,{zIndex:9000,draggable:true,resizable:true,shadow:true,modal:false,inline:false,title:"New Window",collapsible:true,minimizable:true,maximizable:true,closable:true,closed:false}); +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/readme.txt b/src/main/webapp/lib/jquery-easyui/readme.txt new file mode 100644 index 0000000..bd3b33b --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/readme.txt @@ -0,0 +1,4 @@ +Current Version: 1.4.1 +====================== +This software is allowed to use under GPL or you need to buy commercial license for better support or other purpose. +Please contact us at info@jeasyui.com diff --git a/src/main/webapp/lib/jquery-easyui/src/easyloader.js b/src/main/webapp/lib/jquery-easyui/src/easyloader.js new file mode 100644 index 0000000..8c04aab --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/src/easyloader.js @@ -0,0 +1,417 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +/** + * easyloader - jQuery EasyUI + * + */ +(function(){ + var modules = { + draggable:{ + js:'jquery.draggable.js' + }, + droppable:{ + js:'jquery.droppable.js' + }, + resizable:{ + js:'jquery.resizable.js' + }, + linkbutton:{ + js:'jquery.linkbutton.js', + css:'linkbutton.css' + }, + progressbar:{ + js:'jquery.progressbar.js', + css:'progressbar.css' + }, + tooltip:{ + js:'jquery.tooltip.js', + css:'tooltip.css' + }, + pagination:{ + js:'jquery.pagination.js', + css:'pagination.css', + dependencies:['linkbutton'] + }, + datagrid:{ + js:'jquery.datagrid.js', + css:'datagrid.css', + dependencies:['panel','resizable','linkbutton','pagination'] + }, + treegrid:{ + js:'jquery.treegrid.js', + css:'tree.css', + dependencies:['datagrid'] + }, + propertygrid:{ + js:'jquery.propertygrid.js', + css:'propertygrid.css', + dependencies:['datagrid'] + }, + panel: { + js:'jquery.panel.js', + css:'panel.css' + }, + window:{ + js:'jquery.window.js', + css:'window.css', + dependencies:['resizable','draggable','panel'] + }, + dialog:{ + js:'jquery.dialog.js', + css:'dialog.css', + dependencies:['linkbutton','window'] + }, + messager:{ + js:'jquery.messager.js', + css:'messager.css', + dependencies:['linkbutton','window','progressbar'] + }, + layout:{ + js:'jquery.layout.js', + css:'layout.css', + dependencies:['resizable','panel'] + }, + form:{ + js:'jquery.form.js' + }, + menu:{ + js:'jquery.menu.js', + css:'menu.css' + }, + tabs:{ + js:'jquery.tabs.js', + css:'tabs.css', + dependencies:['panel','linkbutton'] + }, + menubutton:{ + js:'jquery.menubutton.js', + css:'menubutton.css', + dependencies:['linkbutton','menu'] + }, + splitbutton:{ + js:'jquery.splitbutton.js', + css:'splitbutton.css', + dependencies:['menubutton'] + }, + accordion:{ + js:'jquery.accordion.js', + css:'accordion.css', + dependencies:['panel'] + }, + calendar:{ + js:'jquery.calendar.js', + css:'calendar.css' + }, + textbox:{ + js:'jquery.textbox.js', + css:'textbox.css', + dependencies:['validatebox','linkbutton'] + }, + filebox:{ + js:'jquery.filebox.js', + css:'filebox.css', + dependencies:['textbox'] + }, + combo:{ + js:'jquery.combo.js', + css:'combo.css', + dependencies:['panel','textbox'] + }, + combobox:{ + js:'jquery.combobox.js', + css:'combobox.css', + dependencies:['combo'] + }, + combotree:{ + js:'jquery.combotree.js', + dependencies:['combo','tree'] + }, + combogrid:{ + js:'jquery.combogrid.js', + dependencies:['combo','datagrid'] + }, + validatebox:{ + js:'jquery.validatebox.js', + css:'validatebox.css', + dependencies:['tooltip'] + }, + numberbox:{ + js:'jquery.numberbox.js', + dependencies:['textbox'] + }, + searchbox:{ + js:'jquery.searchbox.js', + css:'searchbox.css', + dependencies:['menubutton','textbox'] + }, + spinner:{ + js:'jquery.spinner.js', + css:'spinner.css', + dependencies:['textbox'] + }, + numberspinner:{ + js:'jquery.numberspinner.js', + dependencies:['spinner','numberbox'] + }, + timespinner:{ + js:'jquery.timespinner.js', + dependencies:['spinner'] + }, + tree:{ + js:'jquery.tree.js', + css:'tree.css', + dependencies:['draggable','droppable'] + }, + datebox:{ + js:'jquery.datebox.js', + css:'datebox.css', + dependencies:['calendar','combo'] + }, + datetimebox:{ + js:'jquery.datetimebox.js', + dependencies:['datebox','timespinner'] + }, + slider:{ + js:'jquery.slider.js', + dependencies:['draggable'] + }, + tooltip:{ + js:'jquery.tooltip.js' + }, + parser:{ + js:'jquery.parser.js' + } + }; + + var locales = { + 'af':'easyui-lang-af.js', + 'ar':'easyui-lang-ar.js', + 'bg':'easyui-lang-bg.js', + 'ca':'easyui-lang-ca.js', + 'cs':'easyui-lang-cs.js', + 'cz':'easyui-lang-cz.js', + 'da':'easyui-lang-da.js', + 'de':'easyui-lang-de.js', + 'el':'easyui-lang-el.js', + 'en':'easyui-lang-en.js', + 'es':'easyui-lang-es.js', + 'fr':'easyui-lang-fr.js', + 'it':'easyui-lang-it.js', + 'jp':'easyui-lang-jp.js', + 'nl':'easyui-lang-nl.js', + 'pl':'easyui-lang-pl.js', + 'pt_BR':'easyui-lang-pt_BR.js', + 'ru':'easyui-lang-ru.js', + 'sv_SE':'easyui-lang-sv_SE.js', + 'tr':'easyui-lang-tr.js', + 'zh_CN':'easyui-lang-zh_CN.js', + 'zh_TW':'easyui-lang-zh_TW.js' + }; + + var queues = {}; + + function loadJs(url, callback){ + var done = false; + var script = document.createElement('script'); + script.type = 'text/javascript'; + script.language = 'javascript'; + script.src = url; + script.onload = script.onreadystatechange = function(){ + if (!done && (!script.readyState || script.readyState == 'loaded' || script.readyState == 'complete')){ + done = true; + script.onload = script.onreadystatechange = null; + if (callback){ + callback.call(script); + } + } + } + document.getElementsByTagName("head")[0].appendChild(script); + } + + function runJs(url, callback){ + loadJs(url, function(){ + document.getElementsByTagName("head")[0].removeChild(this); + if (callback){ + callback(); + } + }); + } + + function loadCss(url, callback){ + var link = document.createElement('link'); + link.rel = 'stylesheet'; + link.type = 'text/css'; + link.media = 'screen'; + link.href = url; + document.getElementsByTagName('head')[0].appendChild(link); + if (callback){ + callback.call(link); + } + } + + function loadSingle(name, callback){ + queues[name] = 'loading'; + + var module = modules[name]; + var jsStatus = 'loading'; + var cssStatus = (easyloader.css && module['css']) ? 'loading' : 'loaded'; + + if (easyloader.css && module['css']){ + if (/^http/i.test(module['css'])){ + var url = module['css']; + } else { + var url = easyloader.base + 'themes/' + easyloader.theme + '/' + module['css']; + } + loadCss(url, function(){ + cssStatus = 'loaded'; + if (jsStatus == 'loaded' && cssStatus == 'loaded'){ + finish(); + } + }); + } + + if (/^http/i.test(module['js'])){ + var url = module['js']; + } else { + var url = easyloader.base + 'plugins/' + module['js']; + } + loadJs(url, function(){ + jsStatus = 'loaded'; + if (jsStatus == 'loaded' && cssStatus == 'loaded'){ + finish(); + } + }); + + function finish(){ + queues[name] = 'loaded'; + easyloader.onProgress(name); + if (callback){ + callback(); + } + } + } + + function loadModule(name, callback){ + var mm = []; + var doLoad = false; + + if (typeof name == 'string'){ + add(name); + } else { + for(var i=0; idiv.panel>div.accordion-header'); + if (headers.length){ + headerHeight = $(headers[0]).css('height', '')._outerHeight(); + } + if (!isNaN(parseInt(opts.height))){ + bodyHeight = cc.height() - headerHeight*headers.length; + } + + _resize(true, bodyHeight - _resize(false) + 1); + + function _resize(collapsible, height){ + var totalHeight = 0; + for(var i=0; i= panels.length){ + return null; + } else { + return panels[which]; + } + } + return findBy(container, 'title', which); + } + + function setProperties(container){ + var opts = $.data(container, 'accordion').options; + var cc = $(container); + if (opts.border){ + cc.removeClass('accordion-noborder'); + } else { + cc.addClass('accordion-noborder'); + } + } + + function init(container){ + var state = $.data(container, 'accordion'); + var cc = $(container); + cc.addClass('accordion'); + + state.panels = []; + cc.children('div').each(function(){ + var opts = $.extend({}, $.parser.parseOptions(this), { + selected: ($(this).attr('selected') ? true : undefined) + }); + var pp = $(this); + state.panels.push(pp); + createPanel(container, pp, opts); + }); + + cc.bind('_resize', function(e,force){ + if ($(this).hasClass('easyui-fluid') || force){ + setSize(container); + } + return false; + }); + } + + function createPanel(container, pp, options){ + var opts = $.data(container, 'accordion').options; + pp.panel($.extend({}, { + collapsible: true, + minimizable: false, + maximizable: false, + closable: false, + doSize: false, + collapsed: true, + headerCls: 'accordion-header', + bodyCls: 'accordion-body' + }, options, { + onBeforeExpand: function(){ + if (options.onBeforeExpand){ + if (options.onBeforeExpand.call(this) == false){return false} + } + if (!opts.multiple){ + // get all selected panel + var all = $.grep(getSelections(container), function(p){ + return p.panel('options').collapsible; + }); + for(var i=0; i').addClass('accordion-collapse accordion-expand').appendTo(tool); + t.bind('click', function(){ + var index = getPanelIndex(container, pp); + if (pp.panel('options').collapsed){ + select(container, index); + } else { + unselect(container, index); + } + return false; + }); + pp.panel('options').collapsible ? t.show() : t.hide(); + + header.click(function(){ + $(this).find('a.accordion-collapse:visible').triggerHandler('click'); + return false; + }); + } + + /** + * select and set the specified panel active + */ + function select(container, which){ + var p = getPanel(container, which); + if (!p){return} + stopAnimate(container); + var opts = $.data(container, 'accordion').options; + p.panel('expand', opts.animate); + } + + function unselect(container, which){ + var p = getPanel(container, which); + if (!p){return} + stopAnimate(container); + var opts = $.data(container, 'accordion').options; + p.panel('collapse', opts.animate); + } + + function doFirstSelect(container){ + var opts = $.data(container, 'accordion').options; + var p = findBy(container, 'selected', true); + if (p){ + _select(getPanelIndex(container, p)); + } else { + _select(opts.selected); + } + + function _select(index){ + var animate = opts.animate; + opts.animate = false; + select(container, index); + opts.animate = animate; + } + } + + /** + * stop the animation of all panels + */ + function stopAnimate(container){ + var panels = $.data(container, 'accordion').panels; + for(var i=0; i
                                              ').appendTo(container); + panels.push(pp); + createPanel(container, pp, options); + setSize(container); + + opts.onAdd.call(container, options.title, panels.length-1); + + if (options.selected){ + select(container, panels.length-1); + } + } + + function remove(container, which){ + var state = $.data(container, 'accordion'); + var opts = state.options; + var panels = state.panels; + + stopAnimate(container); + + var panel = getPanel(container, which); + var title = panel.panel('options').title; + var index = getPanelIndex(container, panel); + + if (!panel){return} + if (opts.onBeforeRemove.call(container, title, index) == false){return} + + panels.splice(index, 1); + panel.panel('destroy'); + if (panels.length){ + setSize(container); + var curr = getSelected(container); + if (!curr){ + select(container, 0); + } + } + + opts.onRemove.call(container, title, index); + } + + $.fn.accordion = function(options, param){ + if (typeof options == 'string'){ + return $.fn.accordion.methods[options](this, param); + } + + options = options || {}; + return this.each(function(){ + var state = $.data(this, 'accordion'); + if (state){ + $.extend(state.options, options); + } else { + $.data(this, 'accordion', { + options: $.extend({}, $.fn.accordion.defaults, $.fn.accordion.parseOptions(this), options), + accordion: $(this).addClass('accordion'), + panels: [] + }); + init(this); + } + + setProperties(this); + setSize(this); + doFirstSelect(this); + }); + }; + + $.fn.accordion.methods = { + options: function(jq){ + return $.data(jq[0], 'accordion').options; + }, + panels: function(jq){ + return $.data(jq[0], 'accordion').panels; + }, + resize: function(jq, param){ + return jq.each(function(){ + setSize(this, param); + }); + }, + getSelections: function(jq){ + return getSelections(jq[0]); + }, + getSelected: function(jq){ + return getSelected(jq[0]); + }, + getPanel: function(jq, which){ + return getPanel(jq[0], which); + }, + getPanelIndex: function(jq, panel){ + return getPanelIndex(jq[0], panel); + }, + select: function(jq, which){ + return jq.each(function(){ + select(this, which); + }); + }, + unselect: function(jq, which){ + return jq.each(function(){ + unselect(this, which); + }); + }, + add: function(jq, options){ + return jq.each(function(){ + add(this, options); + }); + }, + remove: function(jq, which){ + return jq.each(function(){ + remove(this, which); + }); + } + }; + + $.fn.accordion.parseOptions = function(target){ + var t = $(target); + return $.extend({}, $.parser.parseOptions(target, [ + 'width','height', + {fit:'boolean',border:'boolean',animate:'boolean',multiple:'boolean',selected:'number'} + ])); + }; + + $.fn.accordion.defaults = { + width: 'auto', + height: 'auto', + fit: false, + border: true, + animate: true, + multiple: false, + selected: 0, + + onSelect: function(title, index){}, + onUnselect: function(title, index){}, + onAdd: function(title, index){}, + onBeforeRemove: function(title, index){}, + onRemove: function(title, index){} + }; +})(jQuery); diff --git a/src/main/webapp/lib/jquery-easyui/src/jquery.calendar.js b/src/main/webapp/lib/jquery-easyui/src/jquery.calendar.js new file mode 100644 index 0000000..315f043 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/src/jquery.calendar.js @@ -0,0 +1,429 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +/** + * calendar - jQuery EasyUI + * + */ +(function($){ + + function setSize(target, param){ + var opts = $.data(target, 'calendar').options; + var t = $(target); + if (param){ + $.extend(opts, { + width: param.width, + height: param.height + }); + } + t._size(opts, t.parent()); + t.find('.calendar-body')._outerHeight(t.height() - t.find('.calendar-header')._outerHeight()); + if (t.find('.calendar-menu').is(':visible')){ + showSelectMenus(target); + } + } + + function init(target){ + $(target).addClass('calendar').html( + '
                                              ' + + '
                                              ' + + '
                                              ' + + '
                                              ' + + '
                                              ' + + '
                                              ' + + '' + + '
                                              ' + + '
                                              ' + + '
                                              ' + + '
                                              ' + + '
                                              ' + + '' + + '' + + '' + + '
                                              ' + + '
                                              ' + + '
                                              ' + + '
                                              ' + + '
                                              ' + ); + + + $(target).bind('_resize', function(e,force){ + if ($(this).hasClass('easyui-fluid') || force){ + setSize(target); + } + return false; + }); + } + + function bindEvents(target){ + var opts = $.data(target, 'calendar').options; + var menu = $(target).find('.calendar-menu'); + menu.find('.calendar-menu-year').unbind('.calendar').bind('keypress.calendar', function(e){ + if (e.keyCode == 13){ + setDate(true); + } + }); + $(target).unbind('.calendar').bind('mouseover.calendar', function(e){ + var t = toTarget(e.target); + if (t.hasClass('calendar-nav') || t.hasClass('calendar-text') || (t.hasClass('calendar-day') && !t.hasClass('calendar-disabled'))){ + t.addClass('calendar-nav-hover'); + } + }).bind('mouseout.calendar', function(e){ + var t = toTarget(e.target); + if (t.hasClass('calendar-nav') || t.hasClass('calendar-text') || (t.hasClass('calendar-day') && !t.hasClass('calendar-disabled'))){ + t.removeClass('calendar-nav-hover'); + } + }).bind('click.calendar', function(e){ + var t = toTarget(e.target); + if (t.hasClass('calendar-menu-next') || t.hasClass('calendar-nextyear')){ + showYear(1); + } else if (t.hasClass('calendar-menu-prev') || t.hasClass('calendar-prevyear')){ + showYear(-1); + } else if (t.hasClass('calendar-menu-month')){ + menu.find('.calendar-selected').removeClass('calendar-selected'); + t.addClass('calendar-selected'); + setDate(true); + } else if (t.hasClass('calendar-prevmonth')){ + showMonth(-1); + } else if (t.hasClass('calendar-nextmonth')){ + showMonth(1); + } else if (t.hasClass('calendar-text')){ + if (menu.is(':visible')){ + menu.hide(); + } else { + showSelectMenus(target); + } + } else if (t.hasClass('calendar-day')){ + if (t.hasClass('calendar-disabled')){return} + var oldValue = opts.current; + t.closest('div.calendar-body').find('.calendar-selected').removeClass('calendar-selected'); + t.addClass('calendar-selected'); + var parts = t.attr('abbr').split(','); + var y = parseInt(parts[0]); + var m = parseInt(parts[1]); + var d = parseInt(parts[2]); + opts.current = new Date(y, m-1, d); + opts.onSelect.call(target, opts.current); + if (!oldValue || oldValue.getTime() != opts.current.getTime()){ + opts.onChange.call(target, opts.current, oldValue); + } + if (opts.year != y || opts.month != m){ + opts.year = y; + opts.month = m; + show(target); + } + } + }); + function toTarget(t){ + var day = $(t).closest('.calendar-day'); + if (day.length){ + return day; + } else { + return $(t); + } + } + function setDate(hideMenu){ + var menu = $(target).find('.calendar-menu'); + var year = menu.find('.calendar-menu-year').val(); + var month = menu.find('.calendar-selected').attr('abbr'); + if (!isNaN(year)){ + opts.year = parseInt(year); + opts.month = parseInt(month); + show(target); + } + if (hideMenu){menu.hide()} + } + function showYear(delta){ + opts.year += delta; + show(target); + menu.find('.calendar-menu-year').val(opts.year); + } + function showMonth(delta){ + opts.month += delta; + if (opts.month > 12){ + opts.year++; + opts.month = 1; + } else if (opts.month < 1){ + opts.year--; + opts.month = 12; + } + show(target); + + menu.find('td.calendar-selected').removeClass('calendar-selected'); + menu.find('td:eq(' + (opts.month-1) + ')').addClass('calendar-selected'); + } + } + + /** + * show the select menu that can change year or month, if the menu is not be created then create it. + */ + function showSelectMenus(target){ + var opts = $.data(target, 'calendar').options; + $(target).find('.calendar-menu').show(); + + if ($(target).find('.calendar-menu-month-inner').is(':empty')){ + $(target).find('.calendar-menu-month-inner').empty(); + var t = $('
                                              ').appendTo($(target).find('.calendar-menu-month-inner')); + var idx = 0; + for(var i=0; i<3; i++){ + var tr = $('').appendTo(t); + for(var j=0; j<4; j++){ + $('').html(opts.months[idx++]).attr('abbr',idx).appendTo(tr); + } + } + } + + var body = $(target).find('.calendar-body'); + var sele = $(target).find('.calendar-menu'); + var seleYear = sele.find('.calendar-menu-year-inner'); + var seleMonth = sele.find('.calendar-menu-month-inner'); + + seleYear.find('input').val(opts.year).focus(); + seleMonth.find('td.calendar-selected').removeClass('calendar-selected'); + seleMonth.find('td:eq('+(opts.month-1)+')').addClass('calendar-selected'); + + sele._outerWidth(body._outerWidth()); + sele._outerHeight(body._outerHeight()); + seleMonth._outerHeight(sele.height() - seleYear._outerHeight()); + } + + /** + * get weeks data. + */ + function getWeeks(target, year, month){ + var opts = $.data(target, 'calendar').options; + var dates = []; + var lastDay = new Date(year, month, 0).getDate(); + for(var i=1; i<=lastDay; i++) dates.push([year,month,i]); + + // group date by week + var weeks = [], week = []; + var memoDay = -1; + while(dates.length > 0){ + var date = dates.shift(); + week.push(date); + var day = new Date(date[0],date[1]-1,date[2]).getDay(); + if (memoDay == day){ + day = 0; + } else if (day == (opts.firstDay==0 ? 7 : opts.firstDay) - 1){ + weeks.push(week); + week = []; + } + memoDay = day; + } + if (week.length){ + weeks.push(week); + } + + var firstWeek = weeks[0]; + if (firstWeek.length < 7){ + while(firstWeek.length < 7){ + var firstDate = firstWeek[0]; + var date = new Date(firstDate[0],firstDate[1]-1,firstDate[2]-1) + firstWeek.unshift([date.getFullYear(), date.getMonth()+1, date.getDate()]); + } + } else { + var firstDate = firstWeek[0]; + var week = []; + for(var i=1; i<=7; i++){ + var date = new Date(firstDate[0], firstDate[1]-1, firstDate[2]-i); + week.unshift([date.getFullYear(), date.getMonth()+1, date.getDate()]); + } + weeks.unshift(week); + } + + var lastWeek = weeks[weeks.length-1]; + while(lastWeek.length < 7){ + var lastDate = lastWeek[lastWeek.length-1]; + var date = new Date(lastDate[0], lastDate[1]-1, lastDate[2]+1); + lastWeek.push([date.getFullYear(), date.getMonth()+1, date.getDate()]); + } + if (weeks.length < 6){ + var lastDate = lastWeek[lastWeek.length-1]; + var week = []; + for(var i=1; i<=7; i++){ + var date = new Date(lastDate[0], lastDate[1]-1, lastDate[2]+i); + week.push([date.getFullYear(), date.getMonth()+1, date.getDate()]); + } + weeks.push(week); + } + + return weeks; + } + + /** + * show the calendar day. + */ + function show(target){ + var opts = $.data(target, 'calendar').options; + if (opts.current && !opts.validator.call(target, opts.current)){ + opts.current = null; + } + + var now = new Date(); + var todayInfo = now.getFullYear()+','+(now.getMonth()+1)+','+now.getDate(); + var currentInfo = opts.current ? (opts.current.getFullYear()+','+(opts.current.getMonth()+1)+','+opts.current.getDate()) : ''; + // calulate the saturday and sunday index + var saIndex = 6 - opts.firstDay; + var suIndex = saIndex + 1; + if (saIndex >= 7) saIndex -= 7; + if (suIndex >= 7) suIndex -= 7; + + $(target).find('.calendar-title span').html(opts.months[opts.month-1] + ' ' + opts.year); + + var body = $(target).find('div.calendar-body'); + body.children('table').remove(); + + var data = ['']; + data.push(''); + for(var i=opts.firstDay; i'+opts.weeks[i]+''); + } + for(var i=0; i'+opts.weeks[i]+''); + } + data.push(''); + + data.push(''); + var weeks = getWeeks(target, opts.year, opts.month); + for(var i=0; i'); + for(var j=0; j' + d + ''); + } + data.push(''); + } + data.push(''); + data.push('
                                              '); + + body.append(data.join('')); + body.children('table.calendar-dtable').prependTo(body); + + opts.onNavigate.call(target, opts.year, opts.month); + } + + $.fn.calendar = function(options, param){ + if (typeof options == 'string'){ + return $.fn.calendar.methods[options](this, param); + } + + options = options || {}; + return this.each(function(){ + var state = $.data(this, 'calendar'); + if (state){ + $.extend(state.options, options); + } else { + state = $.data(this, 'calendar', { + options:$.extend({}, $.fn.calendar.defaults, $.fn.calendar.parseOptions(this), options) + }); + init(this); + } + if (state.options.border == false){ + $(this).addClass('calendar-noborder'); + } + setSize(this); + bindEvents(this); + show(this); + $(this).find('div.calendar-menu').hide(); // hide the calendar menu + }); + }; + + $.fn.calendar.methods = { + options: function(jq){ + return $.data(jq[0], 'calendar').options; + }, + resize: function(jq, param){ + return jq.each(function(){ + setSize(this, param); + }); + }, + moveTo: function(jq, date){ + return jq.each(function(){ + var opts = $(this).calendar('options'); + if (opts.validator.call(this, date)){ + var oldValue = opts.current; + $(this).calendar({ + year: date.getFullYear(), + month: date.getMonth()+1, + current: date + }); + if (!oldValue || oldValue.getTime() != date.getTime()){ + opts.onChange.call(this, opts.current, oldValue); + } + } + }); + } + }; + + $.fn.calendar.parseOptions = function(target){ + var t = $(target); + return $.extend({}, $.parser.parseOptions(target, [ + {firstDay:'number',fit:'boolean',border:'boolean'} + ])); + }; + + $.fn.calendar.defaults = { + width:180, + height:180, + fit:false, + border:true, + firstDay:0, + weeks:['S','M','T','W','T','F','S'], + months:['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + year:new Date().getFullYear(), + month:new Date().getMonth()+1, + current:(function(){ + var d = new Date(); + return new Date(d.getFullYear(), d.getMonth(), d.getDate()); + })(), + + formatter:function(date){return date.getDate()}, + styler:function(date){return ''}, + validator:function(date){return true}, + + onSelect: function(date){}, + onChange: function(newDate, oldDate){}, + onNavigate: function(year, month){} + }; +})(jQuery); diff --git a/src/main/webapp/lib/jquery-easyui/src/jquery.combobox.js b/src/main/webapp/lib/jquery-easyui/src/jquery.combobox.js new file mode 100644 index 0000000..cb350f7 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/src/jquery.combobox.js @@ -0,0 +1,556 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +/** + * combobox - jQuery EasyUI + * + * Dependencies: + * combo + * + */ +(function($){ + var COMBOBOX_SERNO = 0; + + function getRowIndex(target, value){ + var state = $.data(target, 'combobox'); + var opts = state.options; + var data = state.data; + for(var i=0; i panel.height()){ + var h = panel.scrollTop() + item.position().top + item.outerHeight() - panel.height(); + panel.scrollTop(h); + } + } + } + + function nav(target, dir){ + var opts = $.data(target, 'combobox').options; + var panel = $(target).combobox('panel'); + var item = panel.children('div.combobox-item-hover'); + if (!item.length){ + item = panel.children('div.combobox-item-selected'); + } + item.removeClass('combobox-item-hover'); + var firstSelector = 'div.combobox-item:visible:not(.combobox-item-disabled):first'; + var lastSelector = 'div.combobox-item:visible:not(.combobox-item-disabled):last'; + if (!item.length){ + item = panel.children(dir=='next' ? firstSelector : lastSelector); +// item = panel.children('div.combobox-item:visible:' + (dir=='next'?'first':'last')); + } else { + if (dir == 'next'){ + item = item.nextAll(firstSelector); +// item = item.nextAll('div.combobox-item:visible:first'); + if (!item.length){ + item = panel.children(firstSelector); +// item = panel.children('div.combobox-item:visible:first'); + } + } else { + item = item.prevAll(firstSelector); +// item = item.prevAll('div.combobox-item:visible:first'); + if (!item.length){ + item = panel.children(lastSelector); +// item = panel.children('div.combobox-item:visible:last'); + } + } + } + if (item.length){ + item.addClass('combobox-item-hover'); + var row = opts.finder.getRow(target, item); + if (row){ + scrollTo(target, row[opts.valueField]); + if (opts.selectOnNavigation){ + select(target, row[opts.valueField]); + } + } + } + } + + /** + * select the specified value + */ + function select(target, value){ + var opts = $.data(target, 'combobox').options; + var values = $(target).combo('getValues'); + if ($.inArray(value+'', values) == -1){ + if (opts.multiple){ + values.push(value); + } else { + values = [value]; + } + setValues(target, values); + opts.onSelect.call(target, opts.finder.getRow(target, value)); + } + } + + /** + * unselect the specified value + */ + function unselect(target, value){ + var opts = $.data(target, 'combobox').options; + var values = $(target).combo('getValues'); + var index = $.inArray(value+'', values); + if (index >= 0){ + values.splice(index, 1); + setValues(target, values); + opts.onUnselect.call(target, opts.finder.getRow(target, value)); + } + } + + /** + * set values + */ + function setValues(target, values, remainText){ + var opts = $.data(target, 'combobox').options; + var panel = $(target).combo('panel'); + + if (!$.isArray(values)){values = values.split(opts.separator)} + panel.find('div.combobox-item-selected').removeClass('combobox-item-selected'); + var vv = [], ss = []; + for(var i=0; i'); + dd.push(opts.groupFormatter ? opts.groupFormatter.call(target, g) : g); + dd.push('
                                              '); + } + } else { + group = undefined; + } + + var cls = 'combobox-item' + (row.disabled ? ' combobox-item-disabled' : '') + (g ? ' combobox-gitem' : ''); + dd.push('
                                              '); + dd.push(opts.formatter ? opts.formatter.call(target, row) : s); + dd.push('
                                              '); + +// if (item['selected']){ +// (function(){ +// for(var i=0; i= 0){ + vv.push(v); + } + }); + t.combobox('setValues', vv); + if (!opts.multiple){ + t.combobox('hidePanel'); + } + } + + /** + * create the component + */ + function create(target){ + var state = $.data(target, 'combobox'); + var opts = state.options; + + COMBOBOX_SERNO++; + state.itemIdPrefix = '_easyui_combobox_i' + COMBOBOX_SERNO; + state.groupIdPrefix = '_easyui_combobox_g' + COMBOBOX_SERNO; + + $(target).addClass('combobox-f'); + $(target).combo($.extend({}, opts, { + onShowPanel: function(){ + $(target).combo('panel').find('div.combobox-item,div.combobox-group').show(); + scrollTo(target, $(target).combobox('getValue')); + opts.onShowPanel.call(target); + } + })); + + $(target).combo('panel').unbind().bind('mouseover', function(e){ + $(this).children('div.combobox-item-hover').removeClass('combobox-item-hover'); + var item = $(e.target).closest('div.combobox-item'); + if (!item.hasClass('combobox-item-disabled')){ + item.addClass('combobox-item-hover'); + } + e.stopPropagation(); + }).bind('mouseout', function(e){ + $(e.target).closest('div.combobox-item').removeClass('combobox-item-hover'); + e.stopPropagation(); + }).bind('click', function(e){ + var item = $(e.target).closest('div.combobox-item'); + if (!item.length || item.hasClass('combobox-item-disabled')){return} + var row = opts.finder.getRow(target, item); + if (!row){return} + var value = row[opts.valueField]; + if (opts.multiple){ + if (item.hasClass('combobox-item-selected')){ + unselect(target, value); + } else { + select(target, value); + } + } else { + select(target, value); + $(target).combo('hidePanel'); + } + e.stopPropagation(); + }); + } + + $.fn.combobox = function(options, param){ + if (typeof options == 'string'){ + var method = $.fn.combobox.methods[options]; + if (method){ + return method(this, param); + } else { + return this.combo(options, param); + } + } + + options = options || {}; + return this.each(function(){ + var state = $.data(this, 'combobox'); + if (state){ + $.extend(state.options, options); + create(this); + } else { + state = $.data(this, 'combobox', { + options: $.extend({}, $.fn.combobox.defaults, $.fn.combobox.parseOptions(this), options), + data: [] + }); + create(this); + var data = $.fn.combobox.parseData(this); + if (data.length){ + loadData(this, data); + } + } + if (state.options.data){ + loadData(this, state.options.data); + } + request(this); + }); + }; + + + $.fn.combobox.methods = { + options: function(jq){ + var copts = jq.combo('options'); + return $.extend($.data(jq[0], 'combobox').options, { + width: copts.width, + height: copts.height, + originalValue: copts.originalValue, + disabled: copts.disabled, + readonly: copts.readonly + }); + }, + getData: function(jq){ + return $.data(jq[0], 'combobox').data; + }, + setValues: function(jq, values){ + return jq.each(function(){ + setValues(this, values); + }); + }, + setValue: function(jq, value){ + return jq.each(function(){ + setValues(this, [value]); + }); + }, + clear: function(jq){ + return jq.each(function(){ + $(this).combo('clear'); + var panel = $(this).combo('panel'); + panel.find('div.combobox-item-selected').removeClass('combobox-item-selected'); + }); + }, + reset: function(jq){ + return jq.each(function(){ + var opts = $(this).combobox('options'); + if (opts.multiple){ + $(this).combobox('setValues', opts.originalValue); + } else { + $(this).combobox('setValue', opts.originalValue); + } + }); + }, + loadData: function(jq, data){ + return jq.each(function(){ + loadData(this, data); + }); + }, + reload: function(jq, url){ + return jq.each(function(){ + request(this, url); + }); + }, + select: function(jq, value){ + return jq.each(function(){ + select(this, value); + }); + }, + unselect: function(jq, value){ + return jq.each(function(){ + unselect(this, value); + }); + } + }; + + $.fn.combobox.parseOptions = function(target){ + var t = $(target); + return $.extend({}, $.fn.combo.parseOptions(target), $.parser.parseOptions(target,[ + 'valueField','textField','groupField','mode','method','url' + ])); + }; + + $.fn.combobox.parseData = function(target){ + var data = []; + var opts = $(target).combobox('options'); + $(target).children().each(function(){ + if (this.tagName.toLowerCase() == 'optgroup'){ + var group = $(this).attr('label'); + $(this).children().each(function(){ + _parseItem(this, group); + }); + } else { + _parseItem(this); + } + }); + return data; + + function _parseItem(el, group){ + var t = $(el); + var row = {}; + row[opts.valueField] = t.attr('value')!=undefined ? t.attr('value') : t.text(); + row[opts.textField] = t.text(); + row['selected'] = t.is(':selected'); + row['disabled'] = t.is(':disabled'); + if (group){ + opts.groupField = opts.groupField || 'group'; + row[opts.groupField] = group; + } + data.push(row); + } + }; + + $.fn.combobox.defaults = $.extend({}, $.fn.combo.defaults, { + valueField: 'value', + textField: 'text', + groupField: null, + groupFormatter: function(group){return group;}, + mode: 'local', // or 'remote' + method: 'post', + url: null, + data: null, + + keyHandler: { + up: function(e){nav(this,'prev');e.preventDefault()}, + down: function(e){nav(this,'next');e.preventDefault()}, + left: function(e){}, + right: function(e){}, + enter: function(e){doEnter(this)}, + query: function(q,e){doQuery(this, q)} + }, + filter: function(q, row){ + var opts = $(this).combobox('options'); + return row[opts.textField].toLowerCase().indexOf(q.toLowerCase()) == 0; + }, + formatter: function(row){ + var opts = $(this).combobox('options'); + return row[opts.textField]; + }, + loader: function(param, success, error){ + var opts = $(this).combobox('options'); + if (!opts.url) return false; + $.ajax({ + type: opts.method, + url: opts.url, + data: param, + dataType: 'json', + success: function(data){ + success(data); + }, + error: function(){ + error.apply(this, arguments); + } + }); + }, + loadFilter: function(data){ + return data; + }, + finder:{ + getEl:function(target, value){ + var index = getRowIndex(target, value); + var id = $.data(target, 'combobox').itemIdPrefix + '_' + index; + return $('#'+id); + }, + getRow:function(target, p){ + var state = $.data(target, 'combobox'); + var index = (p instanceof jQuery) ? p.attr('id').substr(state.itemIdPrefix.length+1) : getRowIndex(target, p); + return state.data[parseInt(index)]; + } + }, + + onBeforeLoad: function(param){}, + onLoadSuccess: function(){}, + onLoadError: function(){}, + onSelect: function(record){}, + onUnselect: function(record){} + }); +})(jQuery); diff --git a/src/main/webapp/lib/jquery-easyui/src/jquery.datebox.js b/src/main/webapp/lib/jquery-easyui/src/jquery.datebox.js new file mode 100644 index 0000000..843ffe6 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/src/jquery.datebox.js @@ -0,0 +1,285 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +/** + * datebox - jQuery EasyUI + * + * Dependencies: + * calendar + * combo + * + */ +(function($){ + /** + * create date box + */ + function createBox(target){ + var state = $.data(target, 'datebox'); + var opts = state.options; + + $(target).addClass('datebox-f').combo($.extend({}, opts, { + onShowPanel:function(){ + bindEvents(this); + setButtons(this); + setCalendar(this); + setValue(this, $(this).datebox('getText'), true); + opts.onShowPanel.call(this); + } + })); + + /** + * if the calendar isn't created, create it. + */ + if (!state.calendar){ + var panel = $(target).combo('panel').css('overflow','hidden'); + panel.panel('options').onBeforeDestroy = function(){ + var c = $(this).find('.calendar-shared'); + if (c.length){ + c.insertBefore(c[0].pholder); + } + }; + var cc = $('
                                              ').prependTo(panel); + if (opts.sharedCalendar){ + var c = $(opts.sharedCalendar); + if (!c[0].pholder){ + c[0].pholder = $('').insertAfter(c); + } + c.addClass('calendar-shared').appendTo(cc); + if (!c.hasClass('calendar')){ + c.calendar(); + } + state.calendar = c; + } else { + state.calendar = $('
                                              ').appendTo(cc).calendar(); + } + + $.extend(state.calendar.calendar('options'), { + fit:true, + border:false, + onSelect:function(date){ + var target = this.target; + var opts = $(target).datebox('options'); + setValue(target, opts.formatter.call(target, date)); + $(target).combo('hidePanel'); + opts.onSelect.call(target, date); + } + }); + } + + $(target).combo('textbox').parent().addClass('datebox'); + $(target).datebox('initValue', opts.value); + + function bindEvents(target){ + var opts = $(target).datebox('options'); + var panel = $(target).combo('panel'); + panel.unbind('.datebox').bind('click.datebox', function(e){ + if ($(e.target).hasClass('datebox-button-a')){ + var index = parseInt($(e.target).attr('datebox-button-index')); + opts.buttons[index].handler.call(e.target, target); + } + }); + } + function setButtons(target){ + var panel = $(target).combo('panel'); + if (panel.children('div.datebox-button').length){return} + var button = $('
                                              ').appendTo(panel); + var tr = button.find('tr'); + for(var i=0; i').appendTo(tr); + var btn = opts.buttons[i]; + var t = $('').html($.isFunction(btn.text) ? btn.text(target) : btn.text).appendTo(td); + t.attr('datebox-button-index', i); + } + tr.find('td').css('width', (100/opts.buttons.length)+'%'); + } + function setCalendar(target){ + var panel = $(target).combo('panel'); + var cc = panel.children('div.datebox-calendar-inner'); + panel.children()._outerWidth(panel.width()); + state.calendar.appendTo(cc); + state.calendar[0].target = target; + if (opts.panelHeight != 'auto'){ + var height = panel.height(); + panel.children().not(cc).each(function(){ + height -= $(this).outerHeight(); + }); + cc._outerHeight(height); + } + state.calendar.calendar('resize'); + } + } + + /** + * called when user inputs some value in text box + */ + function doQuery(target, q){ + setValue(target, q, true); + } + + /** + * called when user press enter key + */ + function doEnter(target){ + var state = $.data(target, 'datebox'); + var opts = state.options; + var current = state.calendar.calendar('options').current; + if (current){ + setValue(target, opts.formatter.call(target, current)); + $(target).combo('hidePanel'); + } + } + + function setValue(target, value, remainText){ + var state = $.data(target, 'datebox'); + var opts = state.options; + var calendar = state.calendar; + $(target).combo('setValue', value); + calendar.calendar('moveTo', opts.parser.call(target, value)); + if (!remainText){ + if (value){ + value = opts.formatter.call(target, calendar.calendar('options').current); + $(target).combo('setValue', value).combo('setText', value); + } else { + $(target).combo('setText', value); + } + } + } + + $.fn.datebox = function(options, param){ + if (typeof options == 'string'){ + var method = $.fn.datebox.methods[options]; + if (method){ + return method(this, param); + } else { + return this.combo(options, param); + } + } + + options = options || {}; + return this.each(function(){ + var state = $.data(this, 'datebox'); + if (state){ + $.extend(state.options, options); + } else { + $.data(this, 'datebox', { + options: $.extend({}, $.fn.datebox.defaults, $.fn.datebox.parseOptions(this), options) + }); + } + createBox(this); + }); + }; + + $.fn.datebox.methods = { + options: function(jq){ + var copts = jq.combo('options'); + return $.extend($.data(jq[0], 'datebox').options, { + width: copts.width, + height: copts.height, + originalValue: copts.originalValue, + disabled: copts.disabled, + readonly: copts.readonly + }); + }, + cloneFrom: function(jq, from){ + return jq.each(function(){ + $(this).combo('cloneFrom', from); + $.data(this, 'datebox', { + options: $.extend(true, {}, $(from).datebox('options')), + calendar: $(from).datebox('calendar') + }); + $(this).addClass('datebox-f'); + }); + }, + calendar: function(jq){ // get the calendar object + return $.data(jq[0], 'datebox').calendar; + }, + initValue: function(jq, value){ + return jq.each(function(){ + var opts = $(this).datebox('options'); + var value = opts.value; + if (value){ + value = opts.formatter.call(this, opts.parser.call(this, value)); + } + $(this).combo('initValue', value).combo('setText', value); + }); + }, + setValue: function(jq, value){ + return jq.each(function(){ + setValue(this, value); + }); + }, + reset: function(jq){ + return jq.each(function(){ + var opts = $(this).datebox('options'); + $(this).datebox('setValue', opts.originalValue); + }); + } + }; + + $.fn.datebox.parseOptions = function(target){ + return $.extend({}, $.fn.combo.parseOptions(target), $.parser.parseOptions(target, ['sharedCalendar'])); + }; + + $.fn.datebox.defaults = $.extend({}, $.fn.combo.defaults, { + panelWidth:180, + panelHeight:'auto', + sharedCalendar:null, + + keyHandler: { + up:function(e){}, + down:function(e){}, + left: function(e){}, + right: function(e){}, + enter:function(e){doEnter(this)}, + query:function(q,e){doQuery(this, q)} + }, + + currentText:'Today', + closeText:'Close', + okText:'Ok', + + buttons:[{ + text: function(target){return $(target).datebox('options').currentText;}, + handler: function(target){ + $(target).datebox('calendar').calendar({ + year:new Date().getFullYear(), + month:new Date().getMonth()+1, + current:new Date() + }); + doEnter(target); + } + },{ + text: function(target){return $(target).datebox('options').closeText;}, + handler: function(target){ + $(this).closest('div.combo-panel').panel('close'); + } + }], + + formatter:function(date){ + var y = date.getFullYear(); + var m = date.getMonth()+1; + var d = date.getDate(); + return (m<10?('0'+m):m)+'/'+(d<10?('0'+d):d)+'/'+y; + }, + parser:function(s){ + if (!s) return new Date(); + var ss = s.split('/'); + var m = parseInt(ss[0],10); + var d = parseInt(ss[1],10); + var y = parseInt(ss[2],10); + if (!isNaN(y) && !isNaN(m) && !isNaN(d)){ + return new Date(y,m-1,d); + } else { + return new Date(); + } + }, + + onSelect:function(date){} + }); +})(jQuery); diff --git a/src/main/webapp/lib/jquery-easyui/src/jquery.draggable.js b/src/main/webapp/lib/jquery-easyui/src/jquery.draggable.js new file mode 100644 index 0000000..d3977ef --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/src/jquery.draggable.js @@ -0,0 +1,420 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +/** + * draggable - jQuery EasyUI + * + */ +(function($){ +// var isDragging = false; + function drag(e){ + var state = $.data(e.data.target, 'draggable'); + var opts = state.options; + var proxy = state.proxy; + + var dragData = e.data; + var left = dragData.startLeft + e.pageX - dragData.startX; + var top = dragData.startTop + e.pageY - dragData.startY; + + if (proxy){ + if (proxy.parent()[0] == document.body){ + if (opts.deltaX != null && opts.deltaX != undefined){ + left = e.pageX + opts.deltaX; + } else { + left = e.pageX - e.data.offsetWidth; + } + if (opts.deltaY != null && opts.deltaY != undefined){ + top = e.pageY + opts.deltaY; + } else { + top = e.pageY - e.data.offsetHeight; + } + } else { + if (opts.deltaX != null && opts.deltaX != undefined){ + left += e.data.offsetWidth + opts.deltaX; + } + if (opts.deltaY != null && opts.deltaY != undefined){ + top += e.data.offsetHeight + opts.deltaY; + } + } + } + +// if (opts.deltaX != null && opts.deltaX != undefined){ +// left = e.pageX + opts.deltaX; +// } +// if (opts.deltaY != null && opts.deltaY != undefined){ +// top = e.pageY + opts.deltaY; +// } + + if (e.data.parent != document.body) { + left += $(e.data.parent).scrollLeft(); + top += $(e.data.parent).scrollTop(); + } + + if (opts.axis == 'h') { + dragData.left = left; + } else if (opts.axis == 'v') { + dragData.top = top; + } else { + dragData.left = left; + dragData.top = top; + } + } + + function applyDrag(e){ + var state = $.data(e.data.target, 'draggable'); + var opts = state.options; + var proxy = state.proxy; + if (!proxy){ + proxy = $(e.data.target); + } +// if (proxy){ +// proxy.css('cursor', opts.cursor); +// } else { +// proxy = $(e.data.target); +// $.data(e.data.target, 'draggable').handle.css('cursor', opts.cursor); +// } + proxy.css({ + left:e.data.left, + top:e.data.top + }); + $('body').css('cursor', opts.cursor); + } + + function doDown(e){ +// isDragging = true; + $.fn.draggable.isDragging = true; + var state = $.data(e.data.target, 'draggable'); + var opts = state.options; + + var droppables = $('.droppable').filter(function(){ + return e.data.target != this; + }).filter(function(){ + var accept = $.data(this, 'droppable').options.accept; + if (accept){ + return $(accept).filter(function(){ + return this == e.data.target; + }).length > 0; + } else { + return true; + } + }); + state.droppables = droppables; + + var proxy = state.proxy; + if (!proxy){ + if (opts.proxy){ + if (opts.proxy == 'clone'){ + proxy = $(e.data.target).clone().insertAfter(e.data.target); + } else { + proxy = opts.proxy.call(e.data.target, e.data.target); + } + state.proxy = proxy; + } else { + proxy = $(e.data.target); + } + } + + proxy.css('position', 'absolute'); + drag(e); + applyDrag(e); + + opts.onStartDrag.call(e.data.target, e); + return false; + } + + function doMove(e){ + var state = $.data(e.data.target, 'draggable'); + drag(e); + if (state.options.onDrag.call(e.data.target, e) != false){ + applyDrag(e); + } + + var source = e.data.target; + state.droppables.each(function(){ + var dropObj = $(this); + if (dropObj.droppable('options').disabled){return;} + + var p2 = dropObj.offset(); + if (e.pageX > p2.left && e.pageX < p2.left + dropObj.outerWidth() + && e.pageY > p2.top && e.pageY < p2.top + dropObj.outerHeight()){ + if (!this.entered){ + $(this).trigger('_dragenter', [source]); + this.entered = true; + } + $(this).trigger('_dragover', [source]); + } else { + if (this.entered){ + $(this).trigger('_dragleave', [source]); + this.entered = false; + } + } + }); + + return false; + } + + function doUp(e){ +// isDragging = false; + $.fn.draggable.isDragging = false; +// drag(e); + doMove(e); + + var state = $.data(e.data.target, 'draggable'); + var proxy = state.proxy; + var opts = state.options; + if (opts.revert){ + if (checkDrop() == true){ + $(e.data.target).css({ + position:e.data.startPosition, + left:e.data.startLeft, + top:e.data.startTop + }); + } else { + if (proxy){ + var left, top; + if (proxy.parent()[0] == document.body){ + left = e.data.startX - e.data.offsetWidth; + top = e.data.startY - e.data.offsetHeight; + } else { + left = e.data.startLeft; + top = e.data.startTop; + } + proxy.animate({ + left: left, + top: top + }, function(){ + removeProxy(); + }); + } else { + $(e.data.target).animate({ + left:e.data.startLeft, + top:e.data.startTop + }, function(){ + $(e.data.target).css('position', e.data.startPosition); + }); + } + } + } else { + $(e.data.target).css({ + position:'absolute', + left:e.data.left, + top:e.data.top + }); + checkDrop(); + } + + opts.onStopDrag.call(e.data.target, e); + + $(document).unbind('.draggable'); + setTimeout(function(){ + $('body').css('cursor',''); + },100); + + function removeProxy(){ + if (proxy){ + proxy.remove(); + } + state.proxy = null; + } + + function checkDrop(){ + var dropped = false; + state.droppables.each(function(){ + var dropObj = $(this); + if (dropObj.droppable('options').disabled){return;} + + var p2 = dropObj.offset(); + if (e.pageX > p2.left && e.pageX < p2.left + dropObj.outerWidth() + && e.pageY > p2.top && e.pageY < p2.top + dropObj.outerHeight()){ + if (opts.revert){ + $(e.data.target).css({ + position:e.data.startPosition, + left:e.data.startLeft, + top:e.data.startTop + }); + } + $(this).trigger('_drop', [e.data.target]); + removeProxy(); + dropped = true; + this.entered = false; + return false; + } + }); + if (!dropped && !opts.revert){ + removeProxy(); + } + return dropped; + } + + return false; + } + + $.fn.draggable = function(options, param){ + if (typeof options == 'string'){ + return $.fn.draggable.methods[options](this, param); + } + + return this.each(function(){ + var opts; + var state = $.data(this, 'draggable'); + if (state) { + state.handle.unbind('.draggable'); + opts = $.extend(state.options, options); + } else { + opts = $.extend({}, $.fn.draggable.defaults, $.fn.draggable.parseOptions(this), options || {}); + } + var handle = opts.handle ? (typeof opts.handle=='string' ? $(opts.handle, this) : opts.handle) : $(this); + + $.data(this, 'draggable', { + options: opts, + handle: handle + }); + + if (opts.disabled) { + $(this).css('cursor', ''); + return; + } + + handle.unbind('.draggable').bind('mousemove.draggable', {target:this}, function(e){ +// if (isDragging) return; + if ($.fn.draggable.isDragging){return} + var opts = $.data(e.data.target, 'draggable').options; + if (checkArea(e)){ + $(this).css('cursor', opts.cursor); + } else { + $(this).css('cursor', ''); + } + }).bind('mouseleave.draggable', {target:this}, function(e){ + $(this).css('cursor', ''); + }).bind('mousedown.draggable', {target:this}, function(e){ + if (checkArea(e) == false) return; + $(this).css('cursor', ''); + + var position = $(e.data.target).position(); + var offset = $(e.data.target).offset(); + var data = { + startPosition: $(e.data.target).css('position'), + startLeft: position.left, + startTop: position.top, + left: position.left, + top: position.top, + startX: e.pageX, + startY: e.pageY, + offsetWidth: (e.pageX - offset.left), + offsetHeight: (e.pageY - offset.top), + target: e.data.target, + parent: $(e.data.target).parent()[0] + }; + + $.extend(e.data, data); + var opts = $.data(e.data.target, 'draggable').options; + if (opts.onBeforeDrag.call(e.data.target, e) == false) return; + + $(document).bind('mousedown.draggable', e.data, doDown); + $(document).bind('mousemove.draggable', e.data, doMove); + $(document).bind('mouseup.draggable', e.data, doUp); +// $('body').css('cursor', opts.cursor); + }); + + // check if the handle can be dragged + function checkArea(e) { + var state = $.data(e.data.target, 'draggable'); + var handle = state.handle; + var offset = $(handle).offset(); + var width = $(handle).outerWidth(); + var height = $(handle).outerHeight(); + var t = e.pageY - offset.top; + var r = offset.left + width - e.pageX; + var b = offset.top + height - e.pageY; + var l = e.pageX - offset.left; + + return Math.min(t,r,b,l) > state.options.edge; + } + + }); + }; + + $.fn.draggable.methods = { + options: function(jq){ + return $.data(jq[0], 'draggable').options; + }, + proxy: function(jq){ + return $.data(jq[0], 'draggable').proxy; + }, + enable: function(jq){ + return jq.each(function(){ + $(this).draggable({disabled:false}); + }); + }, + disable: function(jq){ + return jq.each(function(){ + $(this).draggable({disabled:true}); + }); + } + }; + + $.fn.draggable.parseOptions = function(target){ + var t = $(target); + return $.extend({}, + $.parser.parseOptions(target, ['cursor','handle','axis', + {'revert':'boolean','deltaX':'number','deltaY':'number','edge':'number'}]), { + disabled: (t.attr('disabled') ? true : undefined) + }); + }; + + $.fn.draggable.defaults = { + proxy:null, // 'clone' or a function that will create the proxy object, + // the function has the source parameter that indicate the source object dragged. + revert:false, + cursor:'move', + deltaX:null, + deltaY:null, + handle: null, + disabled: false, + edge:0, + axis:null, // v or h + + onBeforeDrag: function(e){}, + onStartDrag: function(e){}, + onDrag: function(e){}, + onStopDrag: function(e){} + }; + + $.fn.draggable.isDragging = false; + +// $(function(){ +// function touchHandler(e) { +// var touches = e.changedTouches, first = touches[0], type = ""; +// +// switch(e.type) { +// case "touchstart": type = "mousedown"; break; +// case "touchmove": type = "mousemove"; break; +// case "touchend": type = "mouseup"; break; +// default: return; +// } +// var simulatedEvent = document.createEvent("MouseEvent"); +// simulatedEvent.initMouseEvent(type, true, true, window, 1, +// first.screenX, first.screenY, +// first.clientX, first.clientY, false, +// false, false, false, 0/*left*/, null); +// +// first.target.dispatchEvent(simulatedEvent); +// if (isDragging){ +// e.preventDefault(); +// } +// } +// +// if (document.addEventListener){ +// document.addEventListener("touchstart", touchHandler, true); +// document.addEventListener("touchmove", touchHandler, true); +// document.addEventListener("touchend", touchHandler, true); +// document.addEventListener("touchcancel", touchHandler, true); +// } +// }); +})(jQuery); diff --git a/src/main/webapp/lib/jquery-easyui/src/jquery.droppable.js b/src/main/webapp/lib/jquery-easyui/src/jquery.droppable.js new file mode 100644 index 0000000..1677d94 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/src/jquery.droppable.js @@ -0,0 +1,81 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +/** + * droppable - jQuery EasyUI + * + */ +(function($){ + function init(target){ + $(target).addClass('droppable'); + $(target).bind('_dragenter', function(e, source){ + $.data(target, 'droppable').options.onDragEnter.apply(target, [e, source]); + }); + $(target).bind('_dragleave', function(e, source){ + $.data(target, 'droppable').options.onDragLeave.apply(target, [e, source]); + }); + $(target).bind('_dragover', function(e, source){ + $.data(target, 'droppable').options.onDragOver.apply(target, [e, source]); + }); + $(target).bind('_drop', function(e, source){ + $.data(target, 'droppable').options.onDrop.apply(target, [e, source]); + }); + } + + $.fn.droppable = function(options, param){ + if (typeof options == 'string'){ + return $.fn.droppable.methods[options](this, param); + } + + options = options || {}; + return this.each(function(){ + var state = $.data(this, 'droppable'); + if (state){ + $.extend(state.options, options); + } else { + init(this); + $.data(this, 'droppable', { + options: $.extend({}, $.fn.droppable.defaults, $.fn.droppable.parseOptions(this), options) + }); + } + }); + }; + + $.fn.droppable.methods = { + options: function(jq){ + return $.data(jq[0], 'droppable').options; + }, + enable: function(jq){ + return jq.each(function(){ + $(this).droppable({disabled:false}); + }); + }, + disable: function(jq){ + return jq.each(function(){ + $(this).droppable({disabled:true}); + }); + } + }; + + $.fn.droppable.parseOptions = function(target){ + var t = $(target); + return $.extend({}, $.parser.parseOptions(target, ['accept']), { + disabled: (t.attr('disabled') ? true : undefined) + }); + }; + + $.fn.droppable.defaults = { + accept:null, + disabled:false, + onDragEnter:function(e, source){}, + onDragOver:function(e, source){}, + onDragLeave:function(e, source){}, + onDrop:function(e, source){} + }; +})(jQuery); diff --git a/src/main/webapp/lib/jquery-easyui/src/jquery.form.js b/src/main/webapp/lib/jquery-easyui/src/jquery.form.js new file mode 100644 index 0000000..ff098e0 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/src/jquery.form.js @@ -0,0 +1,374 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +/** + * form - jQuery EasyUI + * + */ +(function($){ + /** + * submit the form + */ + function ajaxSubmit(target, options){ + var opts = $.data(target, 'form').options; + $.extend(opts, options||{}); + + var param = $.extend({}, opts.queryParams); + if (opts.onSubmit.call(target, param) == false){return;} + $(target).find('.textbox-text:focus').blur(); + + var frameId = 'easyui_frame_' + (new Date().getTime()); + var frame = $('').appendTo('body') + frame.attr('src', window.ActiveXObject ? 'javascript:false' : 'about:blank'); + frame.css({ + position:'absolute', + top:-1000, + left:-1000 + }); + frame.bind('load', cb); + + submit(param); + + function submit(param){ + var form = $(target); + if (opts.url){ + form.attr('action', opts.url); + } + var t = form.attr('target'), a = form.attr('action'); + form.attr('target', frameId); + var paramFields = $(); + try { + for(var n in param){ + var field = $('').val(param[n]).appendTo(form); + paramFields = paramFields.add(field); + } + checkState(); + form[0].submit(); + } finally { + form.attr('action', a); + t ? form.attr('target', t) : form.removeAttr('target'); + paramFields.remove(); + } + } + + function checkState(){ + var f = $('#'+frameId); + if (!f.length){return} + try{ + var s = f.contents()[0].readyState; + if (s && s.toLowerCase() == 'uninitialized'){ + setTimeout(checkState, 100); + } + } catch(e){ + cb(); + } + } + + var checkCount = 10; + function cb(){ + var f = $('#'+frameId); + if (!f.length){return} + f.unbind(); + var data = ''; + try{ + var body = f.contents().find('body'); + data = body.html(); + if (data == ''){ + if (--checkCount){ + setTimeout(cb, 100); + return; + } + } + var ta = body.find('>textarea'); + if (ta.length){ + data = ta.val(); + } else { + var pre = body.find('>pre'); + if (pre.length){ + data = pre.html(); + } + } + } catch(e){ + } + opts.success(data); + setTimeout(function(){ + f.unbind(); + f.remove(); + }, 100); + } + } + + /** + * load form data + * if data is a URL string type load from remote site, + * otherwise load from local data object. + */ + function load(target, data){ + var opts = $.data(target, 'form').options; + + if (typeof data == 'string'){ + var param = {}; + if (opts.onBeforeLoad.call(target, param) == false) return; + + $.ajax({ + url: data, + data: param, + dataType: 'json', + success: function(data){ + _load(data); + }, + error: function(){ + opts.onLoadError.apply(target, arguments); + } + }); + } else { + _load(data); + } + + function _load(data){ + var form = $(target); + for(var name in data){ + var val = data[name]; + var rr = _checkField(name, val); + if (!rr.length){ + var count = _loadOther(name, val); + if (!count){ + $('input[name="'+name+'"]', form).val(val); + $('textarea[name="'+name+'"]', form).val(val); + $('select[name="'+name+'"]', form).val(val); + } + } + _loadCombo(name, val); + } + opts.onLoadSuccess.call(target, data); + validate(target); + } + + /** + * check the checkbox and radio fields + */ + function _checkField(name, val){ + var rr = $(target).find('input[name="'+name+'"][type=radio], input[name="'+name+'"][type=checkbox]'); + rr._propAttr('checked', false); + rr.each(function(){ + var f = $(this); + if (f.val() == String(val) || $.inArray(f.val(), $.isArray(val)?val:[val]) >= 0){ + f._propAttr('checked', true); + } + }); + return rr; + } + + function _loadOther(name, val){ + var count = 0; + var pp = ['textbox','numberbox','slider']; + for(var i=0; i').insertBefore(target); + var style = { + position: btn.css('position'), + display: btn.css('display'), + left: btn.css('left') + }; + btn.appendTo('body'); + btn.css({ + position: 'absolute', + display: 'inline-block', + left: -20000 + }); + } + btn._size(opts, parent); + var left = btn.find('.l-btn-left'); + left.css('margin-top', 0); + left.css('margin-top', parseInt((btn.height()-left.height())/2)+'px'); + if (!isVisible){ + btn.insertAfter(spacer); + btn.css(style); + spacer.remove(); + } + } + } + + function createButton(target) { + var opts = $.data(target, 'linkbutton').options; + var t = $(target).empty(); + + t.addClass('l-btn').removeClass('l-btn-plain l-btn-selected l-btn-plain-selected'); + t.removeClass('l-btn-small l-btn-medium l-btn-large').addClass('l-btn-'+opts.size); + if (opts.plain){t.addClass('l-btn-plain')} + if (opts.selected){ + t.addClass(opts.plain ? 'l-btn-selected l-btn-plain-selected' : 'l-btn-selected'); + } + t.attr('group', opts.group || ''); + t.attr('id', opts.id || ''); + + var inner = $('').appendTo(t); + if (opts.text){ + $('').html(opts.text).appendTo(inner); + } else { + $(' ').appendTo(inner); + } + if (opts.iconCls){ + $(' ').addClass(opts.iconCls).appendTo(inner); + inner.addClass('l-btn-icon-'+opts.iconAlign); + } + + t.unbind('.linkbutton').bind('focus.linkbutton',function(){ + if (!opts.disabled){ + $(this).addClass('l-btn-focus'); + } + }).bind('blur.linkbutton',function(){ + $(this).removeClass('l-btn-focus'); + }).bind('click.linkbutton',function(){ + if (!opts.disabled){ + if (opts.toggle){ + if (opts.selected){ + $(this).linkbutton('unselect'); + } else { + $(this).linkbutton('select'); + } + } + opts.onClick.call(this); + } +// return false; + }); +// if (opts.toggle && !opts.disabled){ +// t.bind('click.linkbutton', function(){ +// if (opts.selected){ +// $(this).linkbutton('unselect'); +// } else { +// $(this).linkbutton('select'); +// } +// }); +// } + + setSelected(target, opts.selected) + setDisabled(target, opts.disabled); + } + + function setSelected(target, selected){ + var opts = $.data(target, 'linkbutton').options; + if (selected){ + if (opts.group){ + $('a.l-btn[group="'+opts.group+'"]').each(function(){ + var o = $(this).linkbutton('options'); + if (o.toggle){ + $(this).removeClass('l-btn-selected l-btn-plain-selected'); + o.selected = false; + } + }); + } + $(target).addClass(opts.plain ? 'l-btn-selected l-btn-plain-selected' : 'l-btn-selected'); + opts.selected = true; + } else { + if (!opts.group){ + $(target).removeClass('l-btn-selected l-btn-plain-selected'); + opts.selected = false; + } + } + } + + function setDisabled(target, disabled){ + var state = $.data(target, 'linkbutton'); + var opts = state.options; + $(target).removeClass('l-btn-disabled l-btn-plain-disabled'); + if (disabled){ + opts.disabled = true; + var href = $(target).attr('href'); + if (href){ + state.href = href; + $(target).attr('href', 'javascript:void(0)'); + } + if (target.onclick){ + state.onclick = target.onclick; + target.onclick = null; + } + opts.plain ? $(target).addClass('l-btn-disabled l-btn-plain-disabled') : $(target).addClass('l-btn-disabled'); + } else { + opts.disabled = false; + if (state.href) { + $(target).attr('href', state.href); + } + if (state.onclick) { + target.onclick = state.onclick; + } + } + } + + $.fn.linkbutton = function(options, param){ + if (typeof options == 'string'){ + return $.fn.linkbutton.methods[options](this, param); + } + + options = options || {}; + return this.each(function(){ + var state = $.data(this, 'linkbutton'); + if (state){ + $.extend(state.options, options); + } else { + $.data(this, 'linkbutton', { + options: $.extend({}, $.fn.linkbutton.defaults, $.fn.linkbutton.parseOptions(this), options) + }); + $(this).removeAttr('disabled'); + $(this).bind('_resize', function(e, force){ + if ($(this).hasClass('easyui-fluid') || force){ + setSize(this); + } + return false; + }); + } + + createButton(this); + setSize(this); + }); + }; + + $.fn.linkbutton.methods = { + options: function(jq){ + return $.data(jq[0], 'linkbutton').options; + }, + resize: function(jq, param){ + return jq.each(function(){ + setSize(this, param); + }); + }, + enable: function(jq){ + return jq.each(function(){ + setDisabled(this, false); + }); + }, + disable: function(jq){ + return jq.each(function(){ + setDisabled(this, true); + }); + }, + select: function(jq){ + return jq.each(function(){ + setSelected(this, true); + }); + }, + unselect: function(jq){ + return jq.each(function(){ + setSelected(this, false); + }); + } + }; + + $.fn.linkbutton.parseOptions = function(target){ + var t = $(target); + return $.extend({}, $.parser.parseOptions(target, + ['id','iconCls','iconAlign','group','size',{plain:'boolean',toggle:'boolean',selected:'boolean'}] + ), { + disabled: (t.attr('disabled') ? true : undefined), + text: $.trim(t.html()), + iconCls: (t.attr('icon') || t.attr('iconCls')) + }); + }; + + $.fn.linkbutton.defaults = { + id: null, + disabled: false, + toggle: false, + selected: false, + group: null, + plain: false, + text: '', + iconCls: null, + iconAlign: 'left', + size: 'small', // small,large + onClick: function(){} + }; + +})(jQuery); diff --git a/src/main/webapp/lib/jquery-easyui/src/jquery.menu.js b/src/main/webapp/lib/jquery-easyui/src/jquery.menu.js new file mode 100644 index 0000000..1293361 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/src/jquery.menu.js @@ -0,0 +1,615 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +/** + * menu - jQuery EasyUI + * + */ +(function($){ + + /** + * initialize the target menu, the function can be invoked only once + */ + function init(target){ + $(target).appendTo('body'); + $(target).addClass('menu-top'); // the top menu + + $(document).unbind('.menu').bind('mousedown.menu', function(e){ +// var allMenu = $('body>div.menu:visible'); +// var m = $(e.target).closest('div.menu', allMenu); + var m = $(e.target).closest('div.menu,div.combo-p'); + if (m.length){return} + $('body>div.menu-top:visible').menu('hide'); + }); + + var menus = splitMenu($(target)); + for(var i=0; i').html(text)); + if (itemOpts.iconCls){ + $('').addClass(itemOpts.iconCls).appendTo(item); + } + if (itemOpts.disabled){ + setDisabled(target, item[0], true); + } + if (item[0].submenu){ + $('').appendTo(item); // has sub menu + } + + bindMenuItemEvent(target, item); + } + }); + $('').prependTo(menu); + } + setMenuSize(target, menu); + menu.hide(); + + bindMenuEvent(target, menu); + } + } + + function setMenuSize(target, menu){ + var opts = $.data(target, 'menu').options; + var style = menu.attr('style') || ''; + menu.css({ + display: 'block', + left:-10000, + height: 'auto', + overflow: 'hidden' + }); + + var el = menu[0]; + var width = el.originalWidth || 0; + if (!width){ + width = 0; + menu.find('div.menu-text').each(function(){ + if (width < $(this)._outerWidth()){ + width = $(this)._outerWidth(); + } + $(this).closest('div.menu-item')._outerHeight($(this)._outerHeight()+2); + }); + width += 40; + } + + width = Math.max(width, opts.minWidth); +// var height = el.originalHeight || menu.outerHeight(); + var height = el.originalHeight || 0; + if (!height){ + height = menu.outerHeight(); + + if (menu.hasClass('menu-top') && opts.alignTo){ + var at = $(opts.alignTo); + var h1 = at.offset().top - $(document).scrollTop(); + var h2 = $(window)._outerHeight() + $(document).scrollTop() - at.offset().top - at._outerHeight(); + height = Math.min(height, Math.max(h1, h2)); + } else if (height > $(window)._outerHeight()){ + height = $(window).height(); + style += ';overflow:auto'; + } else { + style += ';overflow:hidden'; + } + +// if (height > $(window).height()-5){ +// height = $(window).height()-5; +// style += ';overflow:auto'; +// } else { +// style += ';overflow:hidden'; +// } + } + var lineHeight = Math.max(el.originalHeight, menu.outerHeight()) - 2; + menu._outerWidth(width)._outerHeight(height); + menu.children('div.menu-line')._outerHeight(lineHeight); + + style += ';width:' + el.style.width + ';height:' + el.style.height; + + menu.attr('style', style); + } + + /** + * bind menu event + */ + function bindMenuEvent(target, menu){ + var state = $.data(target, 'menu'); + menu.unbind('.menu').bind('mouseenter.menu', function(){ + if (state.timer){ + clearTimeout(state.timer); + state.timer = null; + } + }).bind('mouseleave.menu', function(){ + if (state.options.hideOnUnhover){ + state.timer = setTimeout(function(){ + hideAll(target); + }, state.options.duration); + } + }); + } + + /** + * bind menu item event + */ + function bindMenuItemEvent(target, item){ + if (!item.hasClass('menu-item')){return} + item.unbind('.menu'); + item.bind('click.menu', function(){ + if ($(this).hasClass('menu-item-disabled')){ + return; + } + // only the sub menu clicked can hide all menus + if (!this.submenu){ + hideAll(target); + var href = this.itemHref; + if (href){ + location.href = href; + } + } + var item = $(target).menu('getItem', this); + $.data(target, 'menu').options.onClick.call(target, item); + }).bind('mouseenter.menu', function(e){ + // hide other menu + item.siblings().each(function(){ + if (this.submenu){ + hideMenu(this.submenu); + } + $(this).removeClass('menu-active'); + }); + // show this menu + item.addClass('menu-active'); + + if ($(this).hasClass('menu-item-disabled')){ + item.addClass('menu-active-disabled'); + return; + } + + var submenu = item[0].submenu; + if (submenu){ + $(target).menu('show', { + menu: submenu, + parent: item + }); + } + }).bind('mouseleave.menu', function(e){ + item.removeClass('menu-active menu-active-disabled'); + var submenu = item[0].submenu; + if (submenu){ + if (e.pageX>=parseInt(submenu.css('left'))){ + item.addClass('menu-active'); + } else { + hideMenu(submenu); + } + + } else { + item.removeClass('menu-active'); + } + }); + } + + /** + * hide top menu and it's all sub menus + */ + function hideAll(target){ + var state = $.data(target, 'menu'); + if (state){ + if ($(target).is(':visible')){ + hideMenu($(target)); + state.options.onHide.call(target); + } + } + return false; + } + + /** + * show the menu, the 'param' object has one or more properties: + * left: the left position to display + * top: the top position to display + * menu: the menu to display, if not defined, the 'target menu' is used + * parent: the parent menu item to align to + * alignTo: the element object to align to + */ + function showMenu(target, param){ + var left,top; + param = param || {}; + var menu = $(param.menu || target); + $(target).menu('resize', menu[0]); + if (menu.hasClass('menu-top')){ + var opts = $.data(target, 'menu').options; + $.extend(opts, param); + left = opts.left; + top = opts.top; + if (opts.alignTo){ + var at = $(opts.alignTo); + left = at.offset().left; + top = at.offset().top + at._outerHeight(); + if (opts.align == 'right'){ + left += at.outerWidth() - menu.outerWidth(); + } + } + if (left + menu.outerWidth() > $(window)._outerWidth() + $(document)._scrollLeft()){ + left = $(window)._outerWidth() + $(document).scrollLeft() - menu.outerWidth() - 5; + } + if (left < 0){left = 0;} + top = _fixTop(top, opts.alignTo); + } else { + var parent = param.parent; // the parent menu item + left = parent.offset().left + parent.outerWidth() - 2; + if (left + menu.outerWidth() + 5 > $(window)._outerWidth() + $(document).scrollLeft()){ + left = parent.offset().left - menu.outerWidth() + 2; + } + top = _fixTop(parent.offset().top - 3); + } + + function _fixTop(top, alignTo){ + if (top + menu.outerHeight() > $(window)._outerHeight() + $(document).scrollTop()){ + if (alignTo){ + top = $(alignTo).offset().top - menu._outerHeight(); + } else { + top = $(window)._outerHeight() + $(document).scrollTop() - menu.outerHeight(); + } + } + if (top < 0){top = 0;} + return top; + } + + menu.css({left:left,top:top}); + menu.show(0, function(){ + if (!menu[0].shadow){ + menu[0].shadow = $('').insertAfter(menu); + } + menu[0].shadow.css({ + display:'block', + zIndex:$.fn.menu.defaults.zIndex++, + left:menu.css('left'), + top:menu.css('top'), + width:menu.outerWidth(), + height:menu.outerHeight() + }); + menu.css('z-index', $.fn.menu.defaults.zIndex++); + if (menu.hasClass('menu-top')){ + $.data(menu[0], 'menu').options.onShow.call(menu[0]); + } + }); + } + + function hideMenu(menu){ + if (!menu) return; + + hideit(menu); + menu.find('div.menu-item').each(function(){ + if (this.submenu){ + hideMenu(this.submenu); + } + $(this).removeClass('menu-active'); + }); + + function hideit(m){ + m.stop(true,true); + if (m[0].shadow){ + m[0].shadow.hide(); + } + m.hide(); + } + } + + function findItem(target, text){ + var result = null; + var tmp = $('
                                              '); + function find(menu){ + menu.children('div.menu-item').each(function(){ + var item = $(target).menu('getItem', this); + var s = tmp.empty().html(item.text).text(); + if (text == $.trim(s)) { + result = item; + } else if (this.submenu && !result){ + find(this.submenu); + } + }); + } + find($(target)); + tmp.remove(); + return result; + } + + function setDisabled(target, itemEl, disabled){ + var t = $(itemEl); + if (!t.hasClass('menu-item')){return} + + if (disabled){ + t.addClass('menu-item-disabled'); + if (itemEl.onclick){ + itemEl.onclick1 = itemEl.onclick; + itemEl.onclick = null; + } + } else { + t.removeClass('menu-item-disabled'); + if (itemEl.onclick1){ + itemEl.onclick = itemEl.onclick1; + itemEl.onclick1 = null; + } + } + } + + function appendItem(target, param){ + var menu = $(target); + if (param.parent){ + if (!param.parent.submenu){ + var submenu = $('').appendTo('body'); + submenu.hide(); + param.parent.submenu = submenu; + $('').appendTo(param.parent); + } + menu = param.parent.submenu; + } + if (param.separator){ + var item = $('').appendTo(menu); + } else { + var item = $('').appendTo(menu); + $('').html(param.text).appendTo(item); + } + if (param.iconCls) $('').addClass(param.iconCls).appendTo(item); + if (param.id) item.attr('id', param.id); + if (param.name){item[0].itemName = param.name} + if (param.href){item[0].itemHref = param.href} + if (param.onclick){ + if (typeof param.onclick == 'string'){ + item.attr('onclick', param.onclick); + } else { + item[0].onclick = eval(param.onclick); + } + } + if (param.handler){item[0].onclick = eval(param.handler)} + if (param.disabled){setDisabled(target, item[0], true)} + + bindMenuItemEvent(target, item); + bindMenuEvent(target, menu); + setMenuSize(target, menu); + } + + function removeItem(target, itemEl){ + function removeit(el){ + if (el.submenu){ + el.submenu.children('div.menu-item').each(function(){ + removeit(this); + }); + var shadow = el.submenu[0].shadow; + if (shadow) shadow.remove(); + el.submenu.remove(); + } + $(el).remove(); + } + var menu = $(itemEl).parent(); + removeit(itemEl); + setMenuSize(target, menu); + } + + function setVisible(target, itemEl, visible){ + var menu = $(itemEl).parent(); + if (visible){ + $(itemEl).show(); + } else { + $(itemEl).hide(); + } + setMenuSize(target, menu); + } + + function destroyMenu(target){ + $(target).children('div.menu-item').each(function(){ + removeItem(target, this); + }); + if (target.shadow) target.shadow.remove(); + $(target).remove(); + } + + $.fn.menu = function(options, param){ + if (typeof options == 'string'){ + return $.fn.menu.methods[options](this, param); + } + + options = options || {}; + return this.each(function(){ + var state = $.data(this, 'menu'); + if (state){ + $.extend(state.options, options); + } else { + state = $.data(this, 'menu', { + options: $.extend({}, $.fn.menu.defaults, $.fn.menu.parseOptions(this), options) + }); + init(this); + } + $(this).css({ + left: state.options.left, + top: state.options.top + }); + }); + }; + + $.fn.menu.methods = { + options: function(jq){ + return $.data(jq[0], 'menu').options; + }, + show: function(jq, pos){ + return jq.each(function(){ + showMenu(this, pos); + }); + }, + hide: function(jq){ + return jq.each(function(){ + hideAll(this); + }); + }, + destroy: function(jq){ + return jq.each(function(){ + destroyMenu(this); + }); + }, + /** + * set the menu item text + * param: { + * target: DOM object, indicate the menu item + * text: string, the new text + * } + */ + setText: function(jq, param){ + return jq.each(function(){ + $(param.target).children('div.menu-text').html(param.text); + }); + }, + /** + * set the menu icon class + * param: { + * target: DOM object, indicate the menu item + * iconCls: the menu item icon class + * } + */ + setIcon: function(jq, param){ + return jq.each(function(){ + $(param.target).children('div.menu-icon').remove(); + if (param.iconCls){ + $('').addClass(param.iconCls).appendTo(param.target); + } + }); + }, + /** + * get the menu item data that contains the following property: + * { + * target: DOM object, the menu item + * id: the menu id + * text: the menu item text + * iconCls: the icon class + * href: a remote address to redirect to + * onclick: a function to be called when the item is clicked + * } + */ + getItem: function(jq, itemEl){ + var t = $(itemEl); + var item = { + target: itemEl, + id: t.attr('id'), + text: $.trim(t.children('div.menu-text').html()), + disabled: t.hasClass('menu-item-disabled'), +// href: t.attr('href'), +// name: t.attr('name'), + name: itemEl.itemName, + href: itemEl.itemHref, + onclick: itemEl.onclick + } + var icon = t.children('div.menu-icon'); + if (icon.length){ + var cc = []; + var aa = icon.attr('class').split(' '); + for(var i=0; i= 0){ + v = Math.floor((parent.width()-delta) * v / 100.0); + } else { + v = Math.floor((parent.height()-delta) * v / 100.0); + } + } else { + v = parseInt(v) || undefined; + } + return v; + }, + + /** + * parse options, including standard 'data-options' attribute. + * + * calling examples: + * $.parser.parseOptions(target); + * $.parser.parseOptions(target, ['id','title','width',{fit:'boolean',border:'boolean'},{min:'number'}]); + */ + parseOptions: function(target, properties){ + var t = $(target); + var options = {}; + + var s = $.trim(t.attr('data-options')); + if (s){ + if (s.substring(0, 1) != '{'){ + s = '{' + s + '}'; + } + options = (new Function('return ' + s))(); + } + $.map(['width','height','left','top','minWidth','maxWidth','minHeight','maxHeight'], function(p){ + var pv = $.trim(target.style[p] || ''); + if (pv){ + if (pv.indexOf('%') == -1){ + pv = parseInt(pv) || undefined; + } + options[p] = pv; + } + }); + + if (properties){ + var opts = {}; + for(var i=0; i').appendTo('body'); + $._boxModel = d.outerWidth()!=100; + d.remove(); + + if (!window.easyloader && $.parser.auto){ + $.parser.parse(); + } + }); + + /** + * extend plugin to set box model width + */ + $.fn._outerWidth = function(width){ + if (width == undefined){ + if (this[0] == window){ + return this.width() || document.body.clientWidth; + } + return this.outerWidth()||0; + } + return this._size('width', width); + }; + + /** + * extend plugin to set box model height + */ + $.fn._outerHeight = function(height){ + if (height == undefined){ + if (this[0] == window){ + return this.height() || document.body.clientHeight; + } + return this.outerHeight()||0; + } + return this._size('height', height); + }; + + $.fn._scrollLeft = function(left){ + if (left == undefined){ + return this.scrollLeft(); + } else { + return this.each(function(){$(this).scrollLeft(left)}); + } + }; + + $.fn._propAttr = $.fn.prop || $.fn.attr; + + $.fn._size = function(options, parent){ + if (typeof options == 'string'){ + if (options == 'clear'){ + return this.each(function(){ + $(this).css({width:'',minWidth:'',maxWidth:'',height:'',minHeight:'',maxHeight:''}); + }); + } else if (options == 'fit'){ + return this.each(function(){ + _fit(this, this.tagName=='BODY' ? $('body') : $(this).parent(), true); + }); + } else if (options == 'unfit'){ + return this.each(function(){ + _fit(this, $(this).parent(), false); + }); + } else { + if (parent == undefined){ + return _css(this[0], options); + } else { + return this.each(function(){ + _css(this, options, parent); + }); + } + } + } else { + return this.each(function(){ + parent = parent || $(this).parent(); + $.extend(options, _fit(this, parent, options.fit)||{}); + var r1 = _setSize(this, 'width', parent, options); + var r2 = _setSize(this, 'height', parent, options); + if (r1 || r2){ + $(this).addClass('easyui-fluid'); + } else { + $(this).removeClass('easyui-fluid'); + } + }); + } + + function _fit(target, parent, fit){ + if (!parent.length){return false;} + var t = $(target)[0]; + var p = parent[0]; + var fcount = p.fcount || 0; + if (fit){ + if (!t.fitted){ + t.fitted = true; + p.fcount = fcount + 1; + $(p).addClass('panel-noscroll'); + if (p.tagName == 'BODY'){ + $('html').addClass('panel-fit'); + } + } + return { + width: ($(p).width()||1), + height: ($(p).height()||1) + }; + } else { + if (t.fitted){ + t.fitted = false; + p.fcount = fcount - 1; + if (p.fcount == 0){ + $(p).removeClass('panel-noscroll'); + if (p.tagName == 'BODY'){ + $('html').removeClass('panel-fit'); + } + } + } + return false; + } + } + function _setSize(target, property, parent, options){ + var t = $(target); + var p = property; + var p1 = p.substr(0,1).toUpperCase() + p.substr(1); + var min = $.parser.parseValue('min'+p1, options['min'+p1], parent);// || 0; + var max = $.parser.parseValue('max'+p1, options['max'+p1], parent);// || 99999; + var val = $.parser.parseValue(p, options[p], parent); + var fluid = (String(options[p]||'').indexOf('%') >= 0 ? true : false); + + if (!isNaN(val)){ + var v = Math.min(Math.max(val, min||0), max||99999); + if (!fluid){ + options[p] = v; + } + t._size('min'+p1, ''); + t._size('max'+p1, ''); + t._size(p, v); + } else { + t._size(p, ''); + t._size('min'+p1, min); + t._size('max'+p1, max); + } + return fluid || options.fit; + } + function _css(target, property, value){ + var t = $(target); + if (value == undefined){ + value = parseInt(target.style[property]); + if (isNaN(value)){return undefined;} + if ($._boxModel){ + value += getDeltaSize(); + } + return value; + } else if (value === ''){ + t.css(property, ''); + } else { + if ($._boxModel){ + value -= getDeltaSize(); + if (value < 0){value = 0;} + } + t.css(property, value+'px'); + } + function getDeltaSize(){ + if (property.toLowerCase().indexOf('width') >= 0){ + return t.outerWidth() - t.width(); + } else { + return t.outerHeight() - t.height(); + } + } + } + }; + +})(jQuery); + +/** + * support for mobile devices + */ +(function($){ + var longTouchTimer = null; + var dblTouchTimer = null; + var isDblClick = false; + + function onTouchStart(e){ + if (e.touches.length != 1){return} + if (!isDblClick){ + isDblClick = true; + dblClickTimer = setTimeout(function(){ + isDblClick = false; + }, 500); + } else { + clearTimeout(dblClickTimer); + isDblClick = false; + fire(e, 'dblclick'); +// e.preventDefault(); + } + longTouchTimer = setTimeout(function(){ + fire(e, 'contextmenu', 3); + }, 1000); + fire(e, 'mousedown'); + if ($.fn.draggable.isDragging || $.fn.resizable.isResizing){ + e.preventDefault(); + } + } + function onTouchMove(e){ + if (e.touches.length != 1){return} + if (longTouchTimer){ + clearTimeout(longTouchTimer); + } + fire(e, 'mousemove'); + if ($.fn.draggable.isDragging || $.fn.resizable.isResizing){ + e.preventDefault(); + } + } + function onTouchEnd(e){ +// if (e.touches.length > 0){return} + if (longTouchTimer){ + clearTimeout(longTouchTimer); + } + fire(e, 'mouseup'); + if ($.fn.draggable.isDragging || $.fn.resizable.isResizing){ + e.preventDefault(); + } + } + + function fire(e, name, which){ + var event = new $.Event(name); + event.pageX = e.changedTouches[0].pageX; + event.pageY = e.changedTouches[0].pageY; + event.which = which || 1; + $(e.target).trigger(event); + } + + if (document.addEventListener){ + document.addEventListener("touchstart", onTouchStart, true); + document.addEventListener("touchmove", onTouchMove, true); + document.addEventListener("touchend", onTouchEnd, true); + } +})(jQuery); + diff --git a/src/main/webapp/lib/jquery-easyui/src/jquery.progressbar.js b/src/main/webapp/lib/jquery-easyui/src/jquery.progressbar.js new file mode 100644 index 0000000..2b5d5b4 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/src/jquery.progressbar.js @@ -0,0 +1,107 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +/** + * progressbar - jQuery EasyUI + * + * Dependencies: + * none + * + */ +(function($){ + function init(target){ + $(target).addClass('progressbar'); + $(target).html('
                                              '); + $(target).bind('_resize', function(e,force){ + if ($(this).hasClass('easyui-fluid') || force){ + setSize(target); + } + return false; + }); + return $(target); + } + + function setSize(target,width){ + var opts = $.data(target, 'progressbar').options; + var bar = $.data(target, 'progressbar').bar; + if (width) opts.width = width; + bar._size(opts); + + bar.find('div.progressbar-text').css('width', bar.width()); + bar.find('div.progressbar-text,div.progressbar-value').css({ + height: bar.height()+'px', + lineHeight: bar.height()+'px' + }); + } + + $.fn.progressbar = function(options, param){ + if (typeof options == 'string'){ + var method = $.fn.progressbar.methods[options]; + if (method){ + return method(this, param); + } + } + + options = options || {}; + return this.each(function(){ + var state = $.data(this, 'progressbar'); + if (state){ + $.extend(state.options, options); + } else { + state = $.data(this, 'progressbar', { + options: $.extend({}, $.fn.progressbar.defaults, $.fn.progressbar.parseOptions(this), options), + bar: init(this) + }); + } + $(this).progressbar('setValue', state.options.value); + setSize(this); + }); + }; + + $.fn.progressbar.methods = { + options: function(jq){ + return $.data(jq[0], 'progressbar').options; + }, + resize: function(jq, width){ + return jq.each(function(){ + setSize(this, width); + }); + }, + getValue: function(jq){ + return $.data(jq[0], 'progressbar').options.value; + }, + setValue: function(jq, value){ + if (value < 0) value = 0; + if (value > 100) value = 100; + return jq.each(function(){ + var opts = $.data(this, 'progressbar').options; + var text = opts.text.replace(/{value}/, value); + var oldValue = opts.value; + opts.value = value; + $(this).find('div.progressbar-value').width(value+'%'); + $(this).find('div.progressbar-text').html(text); + if (oldValue != value){ + opts.onChange.call(this, value, oldValue); + } + }); + } + }; + + $.fn.progressbar.parseOptions = function(target){ + return $.extend({}, $.parser.parseOptions(target, ['width','height','text',{value:'number'}])); + }; + + $.fn.progressbar.defaults = { + width: 'auto', + height: 22, + value: 0, // percentage value + text: '{value}%', + onChange:function(newValue,oldValue){} + }; +})(jQuery); diff --git a/src/main/webapp/lib/jquery-easyui/src/jquery.propertygrid.js b/src/main/webapp/lib/jquery-easyui/src/jquery.propertygrid.js new file mode 100644 index 0000000..044cd89 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/src/jquery.propertygrid.js @@ -0,0 +1,409 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +/** + * propertygrid - jQuery EasyUI + * + * Dependencies: + * datagrid + * + */ +(function($){ + var currTarget; + $(document).unbind('.propertygrid').bind('mousedown.propertygrid', function(e){ + var p = $(e.target).closest('div.datagrid-view,div.combo-panel'); + if (p.length){return;} + stopEditing(currTarget); + currTarget = undefined; + }); + + function buildGrid(target){ + var state = $.data(target, 'propertygrid'); + var opts = $.data(target, 'propertygrid').options; + $(target).datagrid($.extend({}, opts, { + cls:'propertygrid', + view:(opts.showGroup ? opts.groupView : opts.view), + onBeforeEdit:function(index, row){ + if (opts.onBeforeEdit.call(target, index, row) == false){return false;} + var dg = $(this); + var row = dg.datagrid('getRows')[index]; + var col = dg.datagrid('getColumnOption', 'value'); + col.editor = row.editor; + }, + onClickCell:function(index, field, value){ + if (currTarget != this){ + stopEditing(currTarget); + currTarget = this; + } + if (opts.editIndex != index){ + stopEditing(currTarget); + $(this).datagrid('beginEdit', index); + var ed = $(this).datagrid('getEditor', {index:index,field:field}); + if (!ed){ + ed = $(this).datagrid('getEditor', {index:index,field:'value'}); + } + if (ed){ + var t = $(ed.target); + var input = t.data('textbox') ? t.textbox('textbox') : t; + input.focus(); + opts.editIndex = index; + } + } + opts.onClickCell.call(target, index, field, value); + }, + loadFilter:function(data){ + stopEditing(this); + return opts.loadFilter.call(this, data); + } + })); + } + + function stopEditing(target){ + var t = $(target); + if (!t.length){return} + var opts = $.data(target, 'propertygrid').options; + opts.finder.getTr(target, null, 'editing').each(function(){ + var index = parseInt($(this).attr('datagrid-row-index')); + if (t.datagrid('validateRow', index)){ + t.datagrid('endEdit', index); + } else { + t.datagrid('cancelEdit', index); + } + }); + } + + $.fn.propertygrid = function(options, param){ + if (typeof options == 'string'){ + var method = $.fn.propertygrid.methods[options]; + if (method){ + return method(this, param); + } else { + return this.datagrid(options, param); + } + } + + options = options || {}; + return this.each(function(){ + var state = $.data(this, 'propertygrid'); + if (state){ + $.extend(state.options, options); + } else { + var opts = $.extend({}, $.fn.propertygrid.defaults, $.fn.propertygrid.parseOptions(this), options); + opts.frozenColumns = $.extend(true, [], opts.frozenColumns); + opts.columns = $.extend(true, [], opts.columns); + $.data(this, 'propertygrid', { + options: opts + }); + } + buildGrid(this); + }); + } + + $.fn.propertygrid.methods = { + options: function(jq){ + return $.data(jq[0], 'propertygrid').options; + } + }; + + $.fn.propertygrid.parseOptions = function(target){ + return $.extend({}, $.fn.datagrid.parseOptions(target), $.parser.parseOptions(target,[{showGroup:'boolean'}])); + }; + + // the group view definition + var groupview = $.extend({}, $.fn.datagrid.defaults.view, { + render: function(target, container, frozen){ + var table = []; + var groups = this.groups; + for(var i=0; i'); + table.push(''); + table.push(''); + if ((frozen && (opts.rownumbers || opts.frozenColumns.length)) || + (!frozen && !(opts.rownumbers || opts.frozenColumns.length))){ + table.push(''); + } + table.push(''); + table.push(''); + table.push('
                                               '); + if (!frozen){ + table.push(''); + table.push(opts.groupFormatter.call(target, group.value, group.rows)); + table.push(''); + } + table.push('
                                              '); + table.push(''); + + table.push(''); + var index = group.startIndex; + for(var j=0; j'); + table.push(this.renderRow.call(this, target, fields, frozen, index, group.rows[j])); + table.push(''); + index++; + } + table.push('
                                              '); + return table.join(''); + }, + + bindEvents: function(target){ + var state = $.data(target, 'datagrid'); + var dc = state.dc; + var body = dc.body1.add(dc.body2); + var clickHandler = ($.data(body[0],'events')||$._data(body[0],'events')).click[0].handler; + body.unbind('click').bind('click', function(e){ + var tt = $(e.target); + var expander = tt.closest('span.datagrid-row-expander'); + if (expander.length){ + var gindex = expander.closest('div.datagrid-group').attr('group-index'); + if (expander.hasClass('datagrid-row-collapse')){ + $(target).datagrid('collapseGroup', gindex); + } else { + $(target).datagrid('expandGroup', gindex); + } + } else { + clickHandler(e); + } + e.stopPropagation(); + }); + }, + + onBeforeRender: function(target, rows){ + var state = $.data(target, 'datagrid'); + var opts = state.options; + + initCss(); + + var groups = []; + for(var i=0; i' + + '.datagrid-group{height:25px;overflow:hidden;font-weight:bold;border-bottom:1px solid #ccc;}' + + '' + ); + } + } + } + }); + + $.extend($.fn.datagrid.methods, { + expandGroup:function(jq, groupIndex){ + return jq.each(function(){ + var view = $.data(this, 'datagrid').dc.view; + var group = view.find(groupIndex!=undefined ? 'div.datagrid-group[group-index="'+groupIndex+'"]' : 'div.datagrid-group'); + var expander = group.find('span.datagrid-row-expander'); + if (expander.hasClass('datagrid-row-expand')){ + expander.removeClass('datagrid-row-expand').addClass('datagrid-row-collapse'); + group.next('table').show(); + } + $(this).datagrid('fixRowHeight'); + }); + }, + collapseGroup:function(jq, groupIndex){ + return jq.each(function(){ + var view = $.data(this, 'datagrid').dc.view; + var group = view.find(groupIndex!=undefined ? 'div.datagrid-group[group-index="'+groupIndex+'"]' : 'div.datagrid-group'); + var expander = group.find('span.datagrid-row-expander'); + if (expander.hasClass('datagrid-row-collapse')){ + expander.removeClass('datagrid-row-collapse').addClass('datagrid-row-expand'); + group.next('table').hide(); + } + $(this).datagrid('fixRowHeight'); + }); + } + }); + + $.extend(groupview, { + refreshGroupTitle: function(target, groupIndex){ + var state = $.data(target, 'datagrid'); + var opts = state.options; + var dc = state.dc; + var group = this.groups[groupIndex]; + var span = dc.body2.children('div.datagrid-group[group-index=' + groupIndex + ']').find('span.datagrid-group-title'); + span.html(opts.groupFormatter.call(target, group.value, group.rows)); + }, + + insertRow: function(target, index, row){ + var state = $.data(target, 'datagrid'); + var opts = state.options; + var dc = state.dc; + var group = null; + var groupIndex; + + for(var i=0; i group.startIndex + group.rows.length){ + index = group.startIndex + group.rows.length; + } + $.fn.datagrid.defaults.view.insertRow.call(this, target, index, row); + + if (index >= group.startIndex + group.rows.length){ + _moveTr(index, true); + _moveTr(index, false); + } + group.rows.splice(index - group.startIndex, 0, row); + } else { + group = { + value: row[opts.groupField], + rows: [row], + startIndex: state.data.rows.length + } + groupIndex = this.groups.length; + dc.body1.append(this.renderGroup.call(this, target, groupIndex, group, true)); + dc.body2.append(this.renderGroup.call(this, target, groupIndex, group, false)); + this.groups.push(group); + state.data.rows.push(row); + } + + this.refreshGroupTitle(target, groupIndex); + + function _moveTr(index,frozen){ + var serno = frozen?1:2; + var prevTr = opts.finder.getTr(target, index-1, 'body', serno); + var tr = opts.finder.getTr(target, index, 'body', serno); + tr.insertAfter(prevTr); + } + }, + + updateRow: function(target, index, row){ + var opts = $.data(target, 'datagrid').options; + $.fn.datagrid.defaults.view.updateRow.call(this, target, index, row); + var tb = opts.finder.getTr(target, index, 'body', 2).closest('table.datagrid-btable'); + var groupIndex = parseInt(tb.prev().attr('group-index')); + this.refreshGroupTitle(target, groupIndex); + }, + + deleteRow: function(target, index){ + var state = $.data(target, 'datagrid'); + var opts = state.options; + var dc = state.dc; + var body = dc.body1.add(dc.body2); + + var tb = opts.finder.getTr(target, index, 'body', 2).closest('table.datagrid-btable'); + var groupIndex = parseInt(tb.prev().attr('group-index')); + + $.fn.datagrid.defaults.view.deleteRow.call(this, target, index); + + var group = this.groups[groupIndex]; + if (group.rows.length > 1){ + group.rows.splice(index-group.startIndex, 1); + this.refreshGroupTitle(target, groupIndex); + } else { + body.children('div.datagrid-group[group-index='+groupIndex+']').remove(); + for(var i=groupIndex+1; i= options.minWidth && resizeData.width <= options.maxWidth) { +// resizeData.left = resizeData.startLeft + e.pageX - resizeData.startX; +// } + } + if (resizeData.dir.indexOf('n') != -1) { + var height = resizeData.startHeight - e.pageY + resizeData.startY; + height = Math.min( + Math.max(height, options.minHeight), + options.maxHeight + ); + resizeData.height = height; + resizeData.top = resizeData.startTop + resizeData.startHeight - resizeData.height; + +// resizeData.height = resizeData.startHeight - e.pageY + resizeData.startY; +// if (resizeData.height >= options.minHeight && resizeData.height <= options.maxHeight) { +// resizeData.top = resizeData.startTop + e.pageY - resizeData.startY; +// } + } + } + + function applySize(e){ + var resizeData = e.data; + var t = $(resizeData.target); + t.css({ + left: resizeData.left, + top: resizeData.top + }); + if (t.outerWidth() != resizeData.width){t._outerWidth(resizeData.width)} + if (t.outerHeight() != resizeData.height){t._outerHeight(resizeData.height)} +// t._outerWidth(resizeData.width)._outerHeight(resizeData.height); + } + + function doDown(e){ +// isResizing = true; + $.fn.resizable.isResizing = true; + $.data(e.data.target, 'resizable').options.onStartResize.call(e.data.target, e); + return false; + } + + function doMove(e){ + resize(e); + if ($.data(e.data.target, 'resizable').options.onResize.call(e.data.target, e) != false){ + applySize(e) + } + return false; + } + + function doUp(e){ +// isResizing = false; + $.fn.resizable.isResizing = false; + resize(e, true); + applySize(e); + $.data(e.data.target, 'resizable').options.onStopResize.call(e.data.target, e); + $(document).unbind('.resizable'); + $('body').css('cursor',''); +// $('body').css('cursor','auto'); + return false; + } + + return this.each(function(){ + var opts = null; + var state = $.data(this, 'resizable'); + if (state) { + $(this).unbind('.resizable'); + opts = $.extend(state.options, options || {}); + } else { + opts = $.extend({}, $.fn.resizable.defaults, $.fn.resizable.parseOptions(this), options || {}); + $.data(this, 'resizable', { + options:opts + }); + } + + if (opts.disabled == true) { + return; + } + + // bind mouse event using namespace resizable + $(this).bind('mousemove.resizable', {target:this}, function(e){ +// if (isResizing) return; + if ($.fn.resizable.isResizing){return} + var dir = getDirection(e); + if (dir == '') { + $(e.data.target).css('cursor', ''); + } else { + $(e.data.target).css('cursor', dir + '-resize'); + } + }).bind('mouseleave.resizable', {target:this}, function(e){ + $(e.data.target).css('cursor', ''); + }).bind('mousedown.resizable', {target:this}, function(e){ + var dir = getDirection(e); + if (dir == '') return; + + function getCssValue(css) { + var val = parseInt($(e.data.target).css(css)); + if (isNaN(val)) { + return 0; + } else { + return val; + } + } + + var data = { + target: e.data.target, + dir: dir, + startLeft: getCssValue('left'), + startTop: getCssValue('top'), + left: getCssValue('left'), + top: getCssValue('top'), + startX: e.pageX, + startY: e.pageY, + startWidth: $(e.data.target).outerWidth(), + startHeight: $(e.data.target).outerHeight(), + width: $(e.data.target).outerWidth(), + height: $(e.data.target).outerHeight(), + deltaWidth: $(e.data.target).outerWidth() - $(e.data.target).width(), + deltaHeight: $(e.data.target).outerHeight() - $(e.data.target).height() + }; + $(document).bind('mousedown.resizable', data, doDown); + $(document).bind('mousemove.resizable', data, doMove); + $(document).bind('mouseup.resizable', data, doUp); + $('body').css('cursor', dir+'-resize'); + }); + + // get the resize direction + function getDirection(e) { + var tt = $(e.data.target); + var dir = ''; + var offset = tt.offset(); + var width = tt.outerWidth(); + var height = tt.outerHeight(); + var edge = opts.edge; + if (e.pageY > offset.top && e.pageY < offset.top + edge) { + dir += 'n'; + } else if (e.pageY < offset.top + height && e.pageY > offset.top + height - edge) { + dir += 's'; + } + if (e.pageX > offset.left && e.pageX < offset.left + edge) { + dir += 'w'; + } else if (e.pageX < offset.left + width && e.pageX > offset.left + width - edge) { + dir += 'e'; + } + + var handles = opts.handles.split(','); + for(var i=0; i' + + '
                                              ' + + '' + + '' + + '
                                              ' + + '
                                              ' + + '
                                              ' + + '
                                              ' + + '' + + '').insertAfter(target); + var t = $(target); + t.addClass('slider-f').hide(); + var name = t.attr('name'); + if (name){ + slider.find('input.slider-value').attr('name', name); + t.removeAttr('name').attr('sliderName', name); + } + slider.bind('_resize', function(e,force){ + if ($(this).hasClass('easyui-fluid') || force){ + setSize(target); + } + return false; + }); + return slider; + } + + /** + * set the slider size, for vertical slider, the height property is required + */ + function setSize(target, param){ + var state = $.data(target, 'slider'); + var opts = state.options; + var slider = state.slider; + + if (param){ + if (param.width) opts.width = param.width; + if (param.height) opts.height = param.height; + } + slider._size(opts); + if (opts.mode == 'h'){ + slider.css('height', ''); + slider.children('div').css('height', ''); + } else { + slider.css('width', ''); + slider.children('div').css('width', ''); + slider.children('div.slider-rule,div.slider-rulelabel,div.slider-inner')._outerHeight(slider._outerHeight()); + } + initValue(target); + } + + /** + * show slider rule if needed + */ + function showRule(target){ + var state = $.data(target, 'slider'); + var opts = state.options; + var slider = state.slider; + + var aa = opts.mode == 'h' ? opts.rule : opts.rule.slice(0).reverse(); + if (opts.reversed){ + aa = aa.slice(0).reverse(); + } + _build(aa); + + function _build(aa){ + var rule = slider.find('div.slider-rule'); + var label = slider.find('div.slider-rulelabel'); + rule.empty(); + label.empty(); + for(var i=0; i').appendTo(rule); + span.css((opts.mode=='h'?'left':'top'), distance); + + // show the labels + if (aa[i] != '|'){ + span = $('').appendTo(label); + span.html(aa[i]); + if (opts.mode == 'h'){ + span.css({ + left: distance, + marginLeft: -Math.round(span.outerWidth()/2) + }); + } else { + span.css({ + top: distance, + marginTop: -Math.round(span.outerHeight()/2) + }); + } + } + } + } + } + + /** + * build the slider and set some properties + */ + function buildSlider(target){ + var state = $.data(target, 'slider'); + var opts = state.options; + var slider = state.slider; + + slider.removeClass('slider-h slider-v slider-disabled'); + slider.addClass(opts.mode == 'h' ? 'slider-h' : 'slider-v'); + slider.addClass(opts.disabled ? 'slider-disabled' : ''); + + slider.find('a.slider-handle').draggable({ + axis:opts.mode, + cursor:'pointer', + disabled: opts.disabled, + onDrag:function(e){ + var left = e.data.left; + var width = slider.width(); + if (opts.mode!='h'){ + left = e.data.top; + width = slider.height(); + } + if (left < 0 || left > width) { + return false; + } else { + var value = pos2value(target, left); + adjustValue(value); + return false; + } + }, + onBeforeDrag:function(){ + state.isDragging = true; + }, + onStartDrag:function(){ + opts.onSlideStart.call(target, opts.value); + }, + onStopDrag:function(e){ + var value = pos2value(target, (opts.mode=='h'?e.data.left:e.data.top)); + adjustValue(value); + opts.onSlideEnd.call(target, opts.value); + opts.onComplete.call(target, opts.value); + state.isDragging = false; + } + }); + slider.find('div.slider-inner').unbind('.slider').bind('mousedown.slider', function(e){ + if (state.isDragging || opts.disabled){return} + var pos = $(this).offset(); + var value = pos2value(target, (opts.mode=='h'?(e.pageX-pos.left):(e.pageY-pos.top))); + adjustValue(value); + opts.onComplete.call(target, opts.value); + }); + + function adjustValue(value){ + var s = Math.abs(value % opts.step); + if (s < opts.step/2){ + value -= s; + } else { + value = value - s + opts.step; + } + setValue(target, value); + } + } + + /** + * set a specified value to slider + */ + function setValue(target, value){ + var state = $.data(target, 'slider'); + var opts = state.options; + var slider = state.slider; + var oldValue = opts.value; + if (value < opts.min) value = opts.min; + if (value > opts.max) value = opts.max; + + opts.value = value; + $(target).val(value); + slider.find('input.slider-value').val(value); + + var pos = value2pos(target, value); + var tip = slider.find('.slider-tip'); + if (opts.showTip){ + tip.show(); + tip.html(opts.tipFormatter.call(target, opts.value)); + } else { + tip.hide(); + } + + if (opts.mode == 'h'){ + var style = 'left:'+pos+'px;'; + slider.find('.slider-handle').attr('style', style); + tip.attr('style', style + 'margin-left:' + (-Math.round(tip.outerWidth()/2)) + 'px'); + } else { + var style = 'top:' + pos + 'px;'; + slider.find('.slider-handle').attr('style', style); + tip.attr('style', style + 'margin-left:' + (-Math.round(tip.outerWidth())) + 'px'); + } + + if (oldValue != value){ + opts.onChange.call(target, value, oldValue); + } + } + + function initValue(target){ + var opts = $.data(target, 'slider').options; + var fn = opts.onChange; + opts.onChange = function(){}; + setValue(target, opts.value); + opts.onChange = fn; + } + + /** + * translate value to slider position + */ +// function value2pos(target, value){ +// var state = $.data(target, 'slider'); +// var opts = state.options; +// var slider = state.slider; +// if (opts.mode == 'h'){ +// var pos = (value-opts.min)/(opts.max-opts.min)*slider.width(); +// if (opts.reversed){ +// pos = slider.width() - pos; +// } +// } else { +// var pos = slider.height() - (value-opts.min)/(opts.max-opts.min)*slider.height(); +// if (opts.reversed){ +// pos = slider.height() - pos; +// } +// } +// return pos.toFixed(0); +// } + function value2pos(target, value){ + var state = $.data(target, 'slider'); + var opts = state.options; + var slider = state.slider; + var size = opts.mode == 'h' ? slider.width() : slider.height(); + var pos = opts.converter.toPosition.call(target, value, size); + if (opts.mode == 'v'){ + pos = slider.height() - pos; + } + if (opts.reversed){ + pos = size - pos; + } + return pos.toFixed(0); + } + + /** + * translate slider position to value + */ +// function pos2value(target, pos){ +// var state = $.data(target, 'slider'); +// var opts = state.options; +// var slider = state.slider; +// if (opts.mode == 'h'){ +// var value = opts.min + (opts.max-opts.min)*(pos/slider.width()); +// } else { +// var value = opts.min + (opts.max-opts.min)*((slider.height()-pos)/slider.height()); +// } +// return opts.reversed ? opts.max - value.toFixed(0) : value.toFixed(0); +// } + function pos2value(target, pos){ + var state = $.data(target, 'slider'); + var opts = state.options; + var slider = state.slider; + var size = opts.mode == 'h' ? slider.width() : slider.height(); + var value = opts.converter.toValue.call(target, opts.mode=='h'?(opts.reversed?(size-pos):pos):(size-pos), size); + return value.toFixed(0); +// var value = opts.converter.toValue.call(target, opts.mode=='h'?pos:(size-pos), size); +// return opts.reversed ? opts.max - value.toFixed(0) : value.toFixed(0); + } + + $.fn.slider = function(options, param){ + if (typeof options == 'string'){ + return $.fn.slider.methods[options](this, param); + } + + options = options || {}; + return this.each(function(){ + var state = $.data(this, 'slider'); + if (state){ + $.extend(state.options, options); + } else { + state = $.data(this, 'slider', { + options: $.extend({}, $.fn.slider.defaults, $.fn.slider.parseOptions(this), options), + slider: init(this) + }); + $(this).removeAttr('disabled'); + } + + var opts = state.options; + opts.min = parseFloat(opts.min); + opts.max = parseFloat(opts.max); + opts.value = parseFloat(opts.value); + opts.step = parseFloat(opts.step); + opts.originalValue = opts.value; + + buildSlider(this); + showRule(this); + setSize(this); + }); + }; + + $.fn.slider.methods = { + options: function(jq){ + return $.data(jq[0], 'slider').options; + }, + destroy: function(jq){ + return jq.each(function(){ + $.data(this, 'slider').slider.remove(); + $(this).remove(); + }); + }, + resize: function(jq, param){ + return jq.each(function(){ + setSize(this, param); + }); + }, + getValue: function(jq){ + return jq.slider('options').value; + }, + setValue: function(jq, value){ + return jq.each(function(){ + setValue(this, value); + }); + }, + clear: function(jq){ + return jq.each(function(){ + var opts = $(this).slider('options'); + setValue(this, opts.min); + }); + }, + reset: function(jq){ + return jq.each(function(){ + var opts = $(this).slider('options'); + setValue(this, opts.originalValue); + }); + }, + enable: function(jq){ + return jq.each(function(){ + $.data(this, 'slider').options.disabled = false; + buildSlider(this); + }); + }, + disable: function(jq){ + return jq.each(function(){ + $.data(this, 'slider').options.disabled = true; + buildSlider(this); + }); + } + }; + + $.fn.slider.parseOptions = function(target){ + var t = $(target); + return $.extend({}, $.parser.parseOptions(target, [ + 'width','height','mode',{reversed:'boolean',showTip:'boolean',min:'number',max:'number',step:'number'} + ]), { + value: (t.val() || undefined), + disabled: (t.attr('disabled') ? true : undefined), + rule: (t.attr('rule') ? eval(t.attr('rule')) : undefined) + }); + }; + + $.fn.slider.defaults = { + width: 'auto', + height: 'auto', + mode: 'h', // 'h'(horizontal) or 'v'(vertical) + reversed: false, + showTip: false, + disabled: false, + value: 0, + min: 0, + max: 100, + step: 1, + rule: [], // [0,'|',100] + tipFormatter: function(value){return value}, + converter:{ + toPosition:function(value, size){ + var opts = $(this).slider('options'); + return (value-opts.min)/(opts.max-opts.min)*size; + }, + toValue:function(pos, size){ + var opts = $(this).slider('options'); + return opts.min + (opts.max-opts.min)*(pos/size); + } + }, + onChange: function(value, oldValue){}, + onSlideStart: function(value){}, + onSlideEnd: function(value){}, + onComplete: function(value){} + }; +})(jQuery); diff --git a/src/main/webapp/lib/jquery-easyui/src/jquery.tabs.js b/src/main/webapp/lib/jquery-easyui/src/jquery.tabs.js new file mode 100644 index 0000000..b858c70 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/src/jquery.tabs.js @@ -0,0 +1,789 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +/** + * tabs - jQuery EasyUI + * + * Dependencies: + * panel + * linkbutton + * + */ +(function($){ + + /** + * set the tabs scrollers to show or not, + * dependent on the tabs count and width + */ + function setScrollers(container) { + var opts = $.data(container, 'tabs').options; + if (opts.tabPosition == 'left' || opts.tabPosition == 'right' || !opts.showHeader){return} + + var header = $(container).children('div.tabs-header'); + var tool = header.children('div.tabs-tool'); + var sLeft = header.children('div.tabs-scroller-left'); + var sRight = header.children('div.tabs-scroller-right'); + var wrap = header.children('div.tabs-wrap'); + + // set the tool height + var tHeight = header.outerHeight(); + if (opts.plain){ + tHeight -= tHeight - header.height(); + } + tool._outerHeight(tHeight); + + var tabsWidth = 0; + $('ul.tabs li', header).each(function(){ + tabsWidth += $(this).outerWidth(true); + }); + var cWidth = header.width() - tool._outerWidth(); + + if (tabsWidth > cWidth) { + sLeft.add(sRight).show()._outerHeight(tHeight); + if (opts.toolPosition == 'left'){ + tool.css({ + left: sLeft.outerWidth(), + right: '' + }); + wrap.css({ + marginLeft: sLeft.outerWidth() + tool._outerWidth(), + marginRight: sRight._outerWidth(), + width: cWidth - sLeft.outerWidth() - sRight.outerWidth() + }); + } else { + tool.css({ + left: '', + right: sRight.outerWidth() + }); + wrap.css({ + marginLeft: sLeft.outerWidth(), + marginRight: sRight.outerWidth() + tool._outerWidth(), + width: cWidth - sLeft.outerWidth() - sRight.outerWidth() + }); + } + } else { + sLeft.add(sRight).hide(); + if (opts.toolPosition == 'left'){ + tool.css({ + left: 0, + right: '' + }); + wrap.css({ + marginLeft: tool._outerWidth(), + marginRight: 0, + width: cWidth + }); + } else { + tool.css({ + left: '', + right: 0 + }); + wrap.css({ + marginLeft: 0, + marginRight: tool._outerWidth(), + width: cWidth + }); + } + } + } + + function addTools(container){ + var opts = $.data(container, 'tabs').options; + var header = $(container).children('div.tabs-header'); + if (opts.tools) { + if (typeof opts.tools == 'string'){ + $(opts.tools).addClass('tabs-tool').appendTo(header); + $(opts.tools).show(); + } else { + header.children('div.tabs-tool').remove(); + var tools = $('
                                              ').appendTo(header); + var tr = tools.find('tr'); + for(var i=0; i').appendTo(tr); + var tool = $('').appendTo(td); + tool[0].onclick = eval(opts.tools[i].handler || function(){}); + tool.linkbutton($.extend({}, opts.tools[i], { + plain: true + })); + } + } + } else { + header.children('div.tabs-tool').remove(); + } + } + + function setSize(container, param) { + var state = $.data(container, 'tabs'); + var opts = state.options; + var cc = $(container); + + if (param){ + $.extend(opts, { + width: param.width, + height: param.height + }); + } + cc._size(opts); + + var header = cc.children('div.tabs-header'); + var panels = cc.children('div.tabs-panels'); + var wrap = header.find('div.tabs-wrap'); + var ul = wrap.find('.tabs'); + + for(var i=0; i').insertBefore(cc); + cc.children('div').each(function(){ + pp[0].appendChild(this); + }); + cc[0].appendChild(pp[0]); +// cc.wrapInner('
                                              '); + $('
                                              ' + + '
                                              ' + + '
                                              ' + + '
                                              ' + + '
                                                ' + + '
                                                ' + + '
                                                ').prependTo(container); + + cc.children('div.tabs-panels').children('div').each(function(i){ + var opts = $.extend({}, $.parser.parseOptions(this), { + selected: ($(this).attr('selected') ? true : undefined) + }); + var pp = $(this); + tabs.push(pp); + createTab(container, pp, opts); + }); + + cc.children('div.tabs-header').find('.tabs-scroller-left, .tabs-scroller-right').hover( + function(){$(this).addClass('tabs-scroller-over');}, + function(){$(this).removeClass('tabs-scroller-over');} + ); + cc.bind('_resize', function(e,force){ + if ($(this).hasClass('easyui-fluid') || force){ + setSize(container); + setSelectedSize(container); + } + return false; + }); + } + + function bindEvents(container){ + var state = $.data(container, 'tabs') + var opts = state.options; + $(container).children('div.tabs-header').unbind().bind('click', function(e){ + if ($(e.target).hasClass('tabs-scroller-left')){ + $(container).tabs('scrollBy', -opts.scrollIncrement); + } else if ($(e.target).hasClass('tabs-scroller-right')){ + $(container).tabs('scrollBy', opts.scrollIncrement); + } else { + var li = $(e.target).closest('li'); + if (li.hasClass('tabs-disabled')){return;} + var a = $(e.target).closest('a.tabs-close'); + if (a.length){ + closeTab(container, getLiIndex(li)); + } else if (li.length){ +// selectTab(container, getLiIndex(li)); + var index = getLiIndex(li); + var popts = state.tabs[index].panel('options'); + if (popts.collapsible){ + popts.closed ? selectTab(container, index) : unselectTab(container, index); + } else { + selectTab(container, index); + } + } + } + }).bind('contextmenu', function(e){ + var li = $(e.target).closest('li'); + if (li.hasClass('tabs-disabled')){return;} + if (li.length){ + opts.onContextMenu.call(container, e, li.find('span.tabs-title').html(), getLiIndex(li)); + } + }); + + function getLiIndex(li){ + var index = 0; + li.parent().children('li').each(function(i){ + if (li[0] == this){ + index = i; + return false; + } + }); + return index; + } + } + + function setProperties(container){ + var opts = $.data(container, 'tabs').options; + var header = $(container).children('div.tabs-header'); + var panels = $(container).children('div.tabs-panels'); + + header.removeClass('tabs-header-top tabs-header-bottom tabs-header-left tabs-header-right'); + panels.removeClass('tabs-panels-top tabs-panels-bottom tabs-panels-left tabs-panels-right'); + if (opts.tabPosition == 'top'){ + header.insertBefore(panels); + } else if (opts.tabPosition == 'bottom'){ + header.insertAfter(panels); + header.addClass('tabs-header-bottom'); + panels.addClass('tabs-panels-top'); + } else if (opts.tabPosition == 'left'){ + header.addClass('tabs-header-left'); + panels.addClass('tabs-panels-right'); + } else if (opts.tabPosition == 'right'){ + header.addClass('tabs-header-right'); + panels.addClass('tabs-panels-left'); + } + + if (opts.plain == true) { + header.addClass('tabs-header-plain'); + } else { + header.removeClass('tabs-header-plain'); + } + if (opts.border == true){ + header.removeClass('tabs-header-noborder'); + panels.removeClass('tabs-panels-noborder'); + } else { + header.addClass('tabs-header-noborder'); + panels.addClass('tabs-panels-noborder'); + } + } + + function createTab(container, pp, options) { + var state = $.data(container, 'tabs'); + options = options || {}; + + // create panel + pp.panel($.extend({}, options, { + border: false, + noheader: true, + closed: true, + doSize: false, + iconCls: (options.icon ? options.icon : undefined), + onLoad: function(){ + if (options.onLoad){ + options.onLoad.call(this, arguments); + } + state.options.onLoad.call(container, $(this)); + } + })); + + var opts = pp.panel('options'); + var tabs = $(container).children('div.tabs-header').find('ul.tabs'); + + opts.tab = $('
                                              • ').appendTo(tabs); // set the tab object in panel options + opts.tab.append( + '' + + '' + + '' + + '' + ); + + // only update the tab header + $(container).tabs('update', { + tab: pp, + options: opts, + type: 'header' + }); + } + + function addTab(container, options) { + var state = $.data(container, 'tabs'); + var opts = state.options; + var tabs = state.tabs; + if (options.selected == undefined) options.selected = true; + + var pp = $('
                                                ').appendTo($(container).children('div.tabs-panels')); + tabs.push(pp); + createTab(container, pp, options); + + opts.onAdd.call(container, options.title, tabs.length-1); + + setSize(container); + if (options.selected){ + selectTab(container, tabs.length-1); // select the added tab panel + } + } + + /** + * update tab panel, param has following properties: + * tab: the tab panel to be updated + * options: the tab panel options + * type: the update type, possible values are: 'header','body','all' + */ + function updateTab(container, param){ + param.type = param.type || 'all'; + var selectHis = $.data(container, 'tabs').selectHis; + var pp = param.tab; // the tab panel + var oldTitle = pp.panel('options').title; + + if (param.type == 'all' || param == 'body'){ + pp.panel($.extend({}, param.options, { + iconCls: (param.options.icon ? param.options.icon : undefined) + })); + } + if (param.type == 'all' || param.type == 'header'){ + var opts = pp.panel('options'); // get the tab panel options + var tab = opts.tab; + + var s_title = tab.find('span.tabs-title'); + var s_icon = tab.find('span.tabs-icon'); + s_title.html(opts.title); + s_icon.attr('class', 'tabs-icon'); + + tab.find('a.tabs-close').remove(); + if (opts.closable){ + s_title.addClass('tabs-closable'); + $('').appendTo(tab); + } else{ + s_title.removeClass('tabs-closable'); + } + if (opts.iconCls){ + s_title.addClass('tabs-with-icon'); + s_icon.addClass(opts.iconCls); + } else { + s_title.removeClass('tabs-with-icon'); + } + + if (oldTitle != opts.title){ + for(var i=0; i').insertAfter(tab.find('a.tabs-inner')); + if ($.isArray(opts.tools)){ + for(var i=0; i').appendTo(p_tool); + t.addClass(opts.tools[i].iconCls); + if (opts.tools[i].handler){ + t.bind('click', {handler:opts.tools[i].handler}, function(e){ + if ($(this).parents('li').hasClass('tabs-disabled')){return;} + e.data.handler.call(this); + }); + } + } + } else { + $(opts.tools).children().appendTo(p_tool); + } + var pr = p_tool.children().length * 12; + if (opts.closable) { + pr += 8; + } else { + pr -= 3; + p_tool.css('right','5px'); + } + s_title.css('padding-right', pr+'px'); + } + } + + setSize(container); + + $.data(container, 'tabs').options.onUpdate.call(container, opts.title, getTabIndex(container, pp)); + } + + /** + * close a tab with specified index or title + */ + function closeTab(container, which) { + var opts = $.data(container, 'tabs').options; + var tabs = $.data(container, 'tabs').tabs; + var selectHis = $.data(container, 'tabs').selectHis; + + if (!exists(container, which)) return; + + var tab = getTab(container, which); + var title = tab.panel('options').title; + var index = getTabIndex(container, tab); + + if (opts.onBeforeClose.call(container, title, index) == false) return; + + var tab = getTab(container, which, true); + tab.panel('options').tab.remove(); + tab.panel('destroy'); + + opts.onClose.call(container, title, index); + +// setScrollers(container); + setSize(container); + + // remove the select history item + for(var i=0; i= tabs.length){ + return null; + } else { + var tab = tabs[which]; + if (removeit) { + tabs.splice(which, 1); + } + return tab; + } + } + for(var i=0; idiv.tabs-header>div.tabs-wrap'); + var left = tab.position().left; + var right = left + tab.outerWidth(); + if (left < 0 || right > wrap.width()){ + var deltaX = left - (wrap.width()-tab.width()) / 2; + $(container).tabs('scrollBy', deltaX); + } else { + $(container).tabs('scrollBy', 0); + } + + setSelectedSize(container); + + opts.onSelect.call(container, title, getTabIndex(container, panel)); + } + + function unselectTab(container, which){ + var state = $.data(container, 'tabs'); + var p = getTab(container, which); + if (p){ + var opts = p.panel('options'); + if (!opts.closed){ + p.panel('close'); + if (opts.closed){ + opts.tab.removeClass('tabs-selected'); + state.options.onUnselect.call(container, opts.title, getTabIndex(container, p)); + } + } + } + } + + function exists(container, which){ + return getTab(container, which) != null; + } + + function showHeader(container, visible){ + var opts = $.data(container, 'tabs').options; + opts.showHeader = visible; + $(container).tabs('resize'); + } + + + $.fn.tabs = function(options, param){ + if (typeof options == 'string') { + return $.fn.tabs.methods[options](this, param); + } + + options = options || {}; + return this.each(function(){ + var state = $.data(this, 'tabs'); + if (state) { + $.extend(state.options, options); + } else { + $.data(this, 'tabs', { + options: $.extend({},$.fn.tabs.defaults, $.fn.tabs.parseOptions(this), options), + tabs: [], + selectHis: [] + }); + wrapTabs(this); + } + + addTools(this); + setProperties(this); + setSize(this); + bindEvents(this); + + doFirstSelect(this); + }); + }; + + $.fn.tabs.methods = { + options: function(jq){ + var cc = jq[0]; + var opts = $.data(cc, 'tabs').options; + var s = getSelectedTab(cc); + opts.selected = s ? getTabIndex(cc, s) : -1; + return opts; + }, + tabs: function(jq){ + return $.data(jq[0], 'tabs').tabs; + }, + resize: function(jq, param){ + return jq.each(function(){ + setSize(this, param); + setSelectedSize(this); + }); + }, + add: function(jq, options){ + return jq.each(function(){ + addTab(this, options); + }); + }, + close: function(jq, which){ + return jq.each(function(){ + closeTab(this, which); + }); + }, + getTab: function(jq, which){ + return getTab(jq[0], which); + }, + getTabIndex: function(jq, tab){ + return getTabIndex(jq[0], tab); + }, + getSelected: function(jq){ + return getSelectedTab(jq[0]); + }, + select: function(jq, which){ + return jq.each(function(){ + selectTab(this, which); + }); + }, + unselect: function(jq, which){ + return jq.each(function(){ + unselectTab(this, which); + }); + }, + exists: function(jq, which){ + return exists(jq[0], which); + }, + update: function(jq, options){ + return jq.each(function(){ + updateTab(this, options); + }); + }, + enableTab: function(jq, which){ + return jq.each(function(){ + $(this).tabs('getTab', which).panel('options').tab.removeClass('tabs-disabled'); + }); + }, + disableTab: function(jq, which){ + return jq.each(function(){ + $(this).tabs('getTab', which).panel('options').tab.addClass('tabs-disabled'); + }); + }, + showHeader: function(jq){ + return jq.each(function(){ + showHeader(this, true); + }); + }, + hideHeader: function(jq){ + return jq.each(function(){ + showHeader(this, false); + }); + }, + scrollBy: function(jq, deltaX){ // scroll the tab header by the specified amount of pixels + return jq.each(function(){ + var opts = $(this).tabs('options'); + var wrap = $(this).find('>div.tabs-header>div.tabs-wrap'); + var pos = Math.min(wrap._scrollLeft() + deltaX, getMaxScrollWidth()); + wrap.animate({scrollLeft: pos}, opts.scrollDuration); + + function getMaxScrollWidth(){ + var w = 0; + var ul = wrap.children('ul'); + ul.children('li').each(function(){ + w += $(this).outerWidth(true); + }); + return w - wrap.width() + (ul.outerWidth() - ul.width()); + } + }); + } + }; + + $.fn.tabs.parseOptions = function(target){ + return $.extend({}, $.parser.parseOptions(target, [ + 'tools','toolPosition','tabPosition', + {fit:'boolean',border:'boolean',plain:'boolean',headerWidth:'number',tabWidth:'number',tabHeight:'number',selected:'number',showHeader:'boolean'} + ])); + }; + + $.fn.tabs.defaults = { + width: 'auto', + height: 'auto', + headerWidth: 150, // the tab header width, it is valid only when tabPosition set to 'left' or 'right' + tabWidth: 'auto', // the tab width + tabHeight: 27, // the tab height + selected: 0, // the initialized selected tab index + showHeader: true, + plain: false, + fit: false, + border: true, + tools: null, + toolPosition: 'right', // left,right + tabPosition: 'top', // possible values: top,bottom + scrollIncrement: 100, + scrollDuration: 400, + onLoad: function(panel){}, + onSelect: function(title, index){}, + onUnselect: function(title, index){}, + onBeforeClose: function(title, index){}, + onClose: function(title, index){}, + onAdd: function(title, index){}, + onUpdate: function(title, index){}, + onContextMenu: function(e, title, index){} + }; +})(jQuery); diff --git a/src/main/webapp/lib/jquery-easyui/src/jquery.window.js b/src/main/webapp/lib/jquery-easyui/src/jquery.window.js new file mode 100644 index 0000000..9f7a496 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/src/jquery.window.js @@ -0,0 +1,379 @@ +/** + * jQuery EasyUI 1.4.1 + * + * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. + * + * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt + * To use it on other terms please contact us at info@jeasyui.com + * + */ +/** + * window - jQuery EasyUI + * + * Dependencies: + * panel + * draggable + * resizable + * + */ +(function($){ + function moveWindow(target, param){ + var state = $.data(target, 'window'); + if (param){ + if (param.left != null) state.options.left = param.left; + if (param.top != null) state.options.top = param.top; + } + $(target).panel('move', state.options); + if (state.shadow){ + state.shadow.css({ + left: state.options.left, + top: state.options.top + }); + } + } + + /** + * center the window only horizontally + */ + function hcenter(target, tomove){ + var opts = $.data(target, 'window').options; + var pp = $(target).window('panel'); + var width = pp._outerWidth(); + if (opts.inline){ + var parent = pp.parent(); + opts.left = Math.ceil((parent.width() - width) / 2 + parent.scrollLeft()); + } else { + opts.left = Math.ceil(($(window)._outerWidth() - width) / 2 + $(document).scrollLeft()); + } + if (tomove){moveWindow(target);} + } + + /** + * center the window only vertically + */ + function vcenter(target, tomove){ + var opts = $.data(target, 'window').options; + var pp = $(target).window('panel'); + var height = pp._outerHeight(); + if (opts.inline){ + var parent = pp.parent(); + opts.top = Math.ceil((parent.height() - height) / 2 + parent.scrollTop()); + } else { + opts.top = Math.ceil(($(window)._outerHeight() - height) / 2 + $(document).scrollTop()); + } + if (tomove){moveWindow(target);} + } + + function create(target){ + var state = $.data(target, 'window'); + var opts = state.options; + var win = $(target).panel($.extend({}, state.options, { + border: false, + doSize: true, // size the panel, the property undefined in window component + closed: true, // close the panel + cls: 'window', + headerCls: 'window-header', + bodyCls: 'window-body ' + (opts.noheader ? 'window-body-noheader' : ''), + + onBeforeDestroy: function(){ + if (opts.onBeforeDestroy.call(target) == false){return false;} + if (state.shadow){state.shadow.remove();} + if (state.mask){state.mask.remove();} + }, + onClose: function(){ + if (state.shadow){state.shadow.hide();} + if (state.mask){state.mask.hide();} + opts.onClose.call(target); + }, + onOpen: function(){ + if (state.mask){ + state.mask.css({ + display:'block', + zIndex: $.fn.window.defaults.zIndex++ + }); + } + if (state.shadow){ + state.shadow.css({ + display:'block', + zIndex: $.fn.window.defaults.zIndex++, + left: opts.left, + top: opts.top, + width: state.window._outerWidth(), + height: state.window._outerHeight() + }); + } + state.window.css('z-index', $.fn.window.defaults.zIndex++); + + opts.onOpen.call(target); + }, + onResize: function(width, height){ + var popts = $(this).panel('options'); + $.extend(opts, { + width: popts.width, + height: popts.height, + left: popts.left, + top: popts.top + }); + if (state.shadow){ + state.shadow.css({ + left: opts.left, + top: opts.top, + width: state.window._outerWidth(), + height: state.window._outerHeight() + }); + } + opts.onResize.call(target, width, height); + }, + onMinimize: function(){ + if (state.shadow){state.shadow.hide();} + if (state.mask){state.mask.hide();} + state.options.onMinimize.call(target); + }, + onBeforeCollapse: function(){ + if (opts.onBeforeCollapse.call(target) == false){return false;} + if (state.shadow){state.shadow.hide();} + }, + onExpand: function(){ + if (state.shadow){state.shadow.show();} + opts.onExpand.call(target); + } + })); + + state.window = win.panel('panel'); + + // create mask + if (state.mask){state.mask.remove();} + if (opts.modal == true){ + state.mask = $('
                                                ').insertAfter(state.window); + state.mask.css({ + width: (opts.inline ? state.mask.parent().width() : getPageArea().width), + height: (opts.inline ? state.mask.parent().height() : getPageArea().height), + display: 'none' + }); + } + + // create shadow + if (state.shadow){state.shadow.remove();} + if (opts.shadow == true){ + state.shadow = $('
                                                ').insertAfter(state.window); + state.shadow.css({ + display: 'none' + }); + } + + // if require center the window + if (opts.left == null){hcenter(target);} + if (opts.top == null){vcenter(target);} + moveWindow(target); + + if (!opts.closed){ + win.window('open'); // open the window + } + } + + + /** + * set window drag and resize property + */ + function setProperties(target){ + var state = $.data(target, 'window'); + + state.window.draggable({ + handle: '>div.panel-header>div.panel-title', + disabled: state.options.draggable == false, + onStartDrag: function(e){ + if (state.mask) state.mask.css('z-index', $.fn.window.defaults.zIndex++); + if (state.shadow) state.shadow.css('z-index', $.fn.window.defaults.zIndex++); + state.window.css('z-index', $.fn.window.defaults.zIndex++); + + if (!state.proxy){ + state.proxy = $('
                                                ').insertAfter(state.window); + } + state.proxy.css({ + display:'none', + zIndex: $.fn.window.defaults.zIndex++, + left: e.data.left, + top: e.data.top + }); + state.proxy._outerWidth(state.window._outerWidth()); + state.proxy._outerHeight(state.window._outerHeight()); + setTimeout(function(){ + if (state.proxy) state.proxy.show(); + }, 500); + }, + onDrag: function(e){ + state.proxy.css({ + display:'block', + left: e.data.left, + top: e.data.top + }); + return false; + }, + onStopDrag: function(e){ + state.options.left = e.data.left; + state.options.top = e.data.top; + $(target).window('move'); + state.proxy.remove(); + state.proxy = null; + } + }); + + state.window.resizable({ + disabled: state.options.resizable == false, + onStartResize:function(e){ + if (state.pmask){state.pmask.remove();} + state.pmask = $('
                                                ').insertAfter(state.window); + state.pmask.css({ + zIndex: $.fn.window.defaults.zIndex++, + left: e.data.left, + top: e.data.top, + width: state.window._outerWidth(), + height: state.window._outerHeight() + }); + if (state.proxy){state.proxy.remove();} + state.proxy = $('
                                                ').insertAfter(state.window); + state.proxy.css({ + zIndex: $.fn.window.defaults.zIndex++, + left: e.data.left, + top: e.data.top + }); + state.proxy._outerWidth(e.data.width)._outerHeight(e.data.height); + }, + onResize: function(e){ + state.proxy.css({ + left: e.data.left, + top: e.data.top + }); + state.proxy._outerWidth(e.data.width); + state.proxy._outerHeight(e.data.height); + return false; + }, + onStopResize: function(e){ + $(target).window('resize', e.data); + state.pmask.remove(); + state.pmask = null; + state.proxy.remove(); + state.proxy = null; + } + }); + } + + function getPageArea() { + if (document.compatMode == 'BackCompat') { + return { + width: Math.max(document.body.scrollWidth, document.body.clientWidth), + height: Math.max(document.body.scrollHeight, document.body.clientHeight) + } + } else { + return { + width: Math.max(document.documentElement.scrollWidth, document.documentElement.clientWidth), + height: Math.max(document.documentElement.scrollHeight, document.documentElement.clientHeight) + } + } + } + + // when window resize, reset the width and height of the window's mask + $(window).resize(function(){ + $('body>div.window-mask').css({ + width: $(window)._outerWidth(), + height: $(window)._outerHeight() + }); + setTimeout(function(){ + $('body>div.window-mask').css({ + width: getPageArea().width, + height: getPageArea().height + }); + }, 50); + }); + + $.fn.window = function(options, param){ + if (typeof options == 'string'){ + var method = $.fn.window.methods[options]; + if (method){ + return method(this, param); + } else { + return this.panel(options, param); + } + } + + options = options || {}; + return this.each(function(){ + var state = $.data(this, 'window'); + if (state){ + $.extend(state.options, options); + } else { + state = $.data(this, 'window', { + options: $.extend({}, $.fn.window.defaults, $.fn.window.parseOptions(this), options) + }); + if (!state.options.inline){ +// $(this).appendTo('body'); + document.body.appendChild(this); + } + } + create(this); + setProperties(this); + }); + }; + + $.fn.window.methods = { + options: function(jq){ + var popts = jq.panel('options'); + var wopts = $.data(jq[0], 'window').options; + return $.extend(wopts, { + closed: popts.closed, + collapsed: popts.collapsed, + minimized: popts.minimized, + maximized: popts.maximized + }); + }, + window: function(jq){ + return $.data(jq[0], 'window').window; + }, + move: function(jq, param){ + return jq.each(function(){ + moveWindow(this, param); + }); + }, + hcenter: function(jq){ + return jq.each(function(){ + hcenter(this, true); + }); + }, + vcenter: function(jq){ + return jq.each(function(){ + vcenter(this, true); + }); + }, + center: function(jq){ + return jq.each(function(){ + hcenter(this); + vcenter(this); + moveWindow(this); + }); + } + }; + + $.fn.window.parseOptions = function(target){ + return $.extend({}, $.fn.panel.parseOptions(target), $.parser.parseOptions(target, [ + {draggable:'boolean',resizable:'boolean',shadow:'boolean',modal:'boolean',inline:'boolean'} + ])); + }; + + // Inherited from $.fn.panel.defaults + $.fn.window.defaults = $.extend({}, $.fn.panel.defaults, { + zIndex: 9000, + draggable: true, + resizable: true, + shadow: true, + modal: false, + inline: false, // true to stay inside its parent, false to go on top of all elements + + // window's property which difference from panel + title: 'New Window', + collapsible: true, + minimizable: true, + maximizable: true, + closable: true, + closed: false + }); +})(jQuery); diff --git a/src/main/webapp/lib/jquery-easyui/themes/black/accordion.css b/src/main/webapp/lib/jquery-easyui/themes/black/accordion.css new file mode 100644 index 0000000..a0f6ddc --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/themes/black/accordion.css @@ -0,0 +1,41 @@ +.accordion { + overflow: hidden; + border-width: 1px; + border-style: solid; +} +.accordion .accordion-header { + border-width: 0 0 1px; + cursor: pointer; +} +.accordion .accordion-body { + border-width: 0 0 1px; +} +.accordion-noborder { + border-width: 0; +} +.accordion-noborder .accordion-header { + border-width: 0 0 1px; +} +.accordion-noborder .accordion-body { + border-width: 0 0 1px; +} +.accordion-collapse { + background: url('images/accordion_arrows.png') no-repeat 0 0; +} +.accordion-expand { + background: url('images/accordion_arrows.png') no-repeat -16px 0; +} +.accordion { + background: #666; + border-color: #000; +} +.accordion .accordion-header { + background: #3d3d3d; + filter: none; +} +.accordion .accordion-header-selected { + background: #0052A3; +} +.accordion .accordion-header-selected .panel-title { + color: #fff; +} diff --git a/src/main/webapp/lib/jquery-easyui/themes/black/calendar.css b/src/main/webapp/lib/jquery-easyui/themes/black/calendar.css new file mode 100644 index 0000000..e862e22 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/themes/black/calendar.css @@ -0,0 +1,197 @@ +.calendar { + border-width: 1px; + border-style: solid; + padding: 1px; + overflow: hidden; +} +.calendar table { + table-layout: fixed; + border-collapse: separate; + font-size: 12px; + width: 100%; + height: 100%; +} +.calendar table td, +.calendar table th { + font-size: 12px; +} +.calendar-noborder { + border: 0; +} +.calendar-header { + position: relative; + height: 22px; +} +.calendar-title { + text-align: center; + height: 22px; +} +.calendar-title span { + position: relative; + display: inline-block; + top: 2px; + padding: 0 3px; + height: 18px; + line-height: 18px; + font-size: 12px; + cursor: pointer; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +.calendar-prevmonth, +.calendar-nextmonth, +.calendar-prevyear, +.calendar-nextyear { + position: absolute; + top: 50%; + margin-top: -7px; + width: 14px; + height: 14px; + cursor: pointer; + font-size: 1px; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +.calendar-prevmonth { + left: 20px; + background: url('images/calendar_arrows.png') no-repeat -18px -2px; +} +.calendar-nextmonth { + right: 20px; + background: url('images/calendar_arrows.png') no-repeat -34px -2px; +} +.calendar-prevyear { + left: 3px; + background: url('images/calendar_arrows.png') no-repeat -1px -2px; +} +.calendar-nextyear { + right: 3px; + background: url('images/calendar_arrows.png') no-repeat -49px -2px; +} +.calendar-body { + position: relative; +} +.calendar-body th, +.calendar-body td { + text-align: center; +} +.calendar-day { + border: 0; + padding: 1px; + cursor: pointer; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +.calendar-other-month { + opacity: 0.3; + filter: alpha(opacity=30); +} +.calendar-disabled { + opacity: 0.6; + filter: alpha(opacity=60); + cursor: default; +} +.calendar-menu { + position: absolute; + top: 0; + left: 0; + width: 180px; + height: 150px; + padding: 5px; + font-size: 12px; + display: none; + overflow: hidden; +} +.calendar-menu-year-inner { + text-align: center; + padding-bottom: 5px; +} +.calendar-menu-year { + width: 40px; + text-align: center; + border-width: 1px; + border-style: solid; + margin: 0; + padding: 2px; + font-weight: bold; + font-size: 12px; +} +.calendar-menu-prev, +.calendar-menu-next { + display: inline-block; + width: 21px; + height: 21px; + vertical-align: top; + cursor: pointer; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +.calendar-menu-prev { + margin-right: 10px; + background: url('images/calendar_arrows.png') no-repeat 2px 2px; +} +.calendar-menu-next { + margin-left: 10px; + background: url('images/calendar_arrows.png') no-repeat -45px 2px; +} +.calendar-menu-month { + text-align: center; + cursor: pointer; + font-weight: bold; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +.calendar-body th, +.calendar-menu-month { + color: #ffffff; +} +.calendar-day { + color: #fff; +} +.calendar-sunday { + color: #CC2222; +} +.calendar-saturday { + color: #00ee00; +} +.calendar-today { + color: #0000ff; +} +.calendar-menu-year { + border-color: #000; +} +.calendar { + border-color: #000; +} +.calendar-header { + background: #3d3d3d; +} +.calendar-body, +.calendar-menu { + background: #666; +} +.calendar-body th { + background: #555; + padding: 2px 0; +} +.calendar-hover, +.calendar-nav-hover, +.calendar-menu-hover { + background-color: #777; + color: #fff; +} +.calendar-hover { + border: 1px solid #555; + padding: 0; +} +.calendar-selected { + background-color: #0052A3; + color: #fff; + border: 1px solid #00458a; + padding: 0; +} diff --git a/src/main/webapp/lib/jquery-easyui/themes/black/combo.css b/src/main/webapp/lib/jquery-easyui/themes/black/combo.css new file mode 100644 index 0000000..ca0e461 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/themes/black/combo.css @@ -0,0 +1,60 @@ +.combo { + display: inline-block; + white-space: nowrap; + margin: 0; + padding: 0; + border-width: 1px; + border-style: solid; + overflow: hidden; + vertical-align: middle; +} +.combo .combo-text { + font-size: 12px; + border: 0px; + margin: 0; + padding: 0px 2px; + vertical-align: baseline; +} +.combo-arrow { + width: 18px; + height: 20px; + overflow: hidden; + display: inline-block; + vertical-align: top; + cursor: pointer; + opacity: 0.6; + filter: alpha(opacity=60); +} +.combo-arrow-hover { + opacity: 1.0; + filter: alpha(opacity=100); +} +.combo-panel { + overflow: auto; +} +.combo-arrow { + background: url('images/combo_arrow.png') no-repeat center center; +} +.combo-panel { + background-color: #666; +} +.combo { + border-color: #000; + background-color: #fff; +} +.combo-arrow { + background-color: #3d3d3d; +} +.combo-arrow-hover { + background-color: #777; +} +.combo-arrow:hover { + background-color: #777; +} +.combo .textbox-icon-disabled:hover { + cursor: default; +} +.textbox-invalid { + border-color: #ffa8a8; + background-color: #fff3f3; +} diff --git a/src/main/webapp/lib/jquery-easyui/themes/black/combobox.css b/src/main/webapp/lib/jquery-easyui/themes/black/combobox.css new file mode 100644 index 0000000..284332e --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/themes/black/combobox.css @@ -0,0 +1,24 @@ +.combobox-item, +.combobox-group { + font-size: 12px; + padding: 3px; + padding-right: 0px; +} +.combobox-item-disabled { + opacity: 0.5; + filter: alpha(opacity=50); +} +.combobox-gitem { + padding-left: 10px; +} +.combobox-group { + font-weight: bold; +} +.combobox-item-hover { + background-color: #777; + color: #fff; +} +.combobox-item-selected { + background-color: #0052A3; + color: #fff; +} diff --git a/src/main/webapp/lib/jquery-easyui/themes/black/datagrid.css b/src/main/webapp/lib/jquery-easyui/themes/black/datagrid.css new file mode 100644 index 0000000..3f11ae2 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/themes/black/datagrid.css @@ -0,0 +1,267 @@ +.datagrid .panel-body { + overflow: hidden; + position: relative; +} +.datagrid-view { + position: relative; + overflow: hidden; +} +.datagrid-view1, +.datagrid-view2 { + position: absolute; + overflow: hidden; + top: 0; +} +.datagrid-view1 { + left: 0; +} +.datagrid-view2 { + right: 0; +} +.datagrid-mask { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + opacity: 0.3; + filter: alpha(opacity=30); + display: none; +} +.datagrid-mask-msg { + position: absolute; + top: 50%; + margin-top: -20px; + padding: 10px 5px 10px 30px; + width: auto; + height: 16px; + border-width: 2px; + border-style: solid; + display: none; +} +.datagrid-sort-icon { + padding: 0; +} +.datagrid-toolbar { + height: auto; + padding: 1px 2px; + border-width: 0 0 1px 0; + border-style: solid; +} +.datagrid-btn-separator { + float: left; + height: 24px; + border-left: 1px solid #444; + border-right: 1px solid #777; + margin: 2px 1px; +} +.datagrid .datagrid-pager { + display: block; + margin: 0; + border-width: 1px 0 0 0; + border-style: solid; +} +.datagrid .datagrid-pager-top { + border-width: 0 0 1px 0; +} +.datagrid-header { + overflow: hidden; + cursor: default; + border-width: 0 0 1px 0; + border-style: solid; +} +.datagrid-header-inner { + float: left; + width: 10000px; +} +.datagrid-header-row, +.datagrid-row { + height: 25px; +} +.datagrid-header td, +.datagrid-body td, +.datagrid-footer td { + border-width: 0 1px 1px 0; + border-style: dotted; + margin: 0; + padding: 0; +} +.datagrid-cell, +.datagrid-cell-group, +.datagrid-header-rownumber, +.datagrid-cell-rownumber { + margin: 0; + padding: 0 4px; + white-space: nowrap; + word-wrap: normal; + overflow: hidden; + height: 18px; + line-height: 18px; + font-size: 12px; +} +.datagrid-header .datagrid-cell { + height: auto; +} +.datagrid-header .datagrid-cell span { + font-size: 12px; +} +.datagrid-cell-group { + text-align: center; +} +.datagrid-header-rownumber, +.datagrid-cell-rownumber { + width: 25px; + text-align: center; + margin: 0; + padding: 0; +} +.datagrid-body { + margin: 0; + padding: 0; + overflow: auto; + zoom: 1; +} +.datagrid-view1 .datagrid-body-inner { + padding-bottom: 20px; +} +.datagrid-view1 .datagrid-body { + overflow: hidden; +} +.datagrid-footer { + overflow: hidden; +} +.datagrid-footer-inner { + border-width: 1px 0 0 0; + border-style: solid; + width: 10000px; + float: left; +} +.datagrid-row-editing .datagrid-cell { + height: auto; +} +.datagrid-header-check, +.datagrid-cell-check { + padding: 0; + width: 27px; + height: 18px; + font-size: 1px; + text-align: center; + overflow: hidden; +} +.datagrid-header-check input, +.datagrid-cell-check input { + margin: 0; + padding: 0; + width: 15px; + height: 18px; +} +.datagrid-resize-proxy { + position: absolute; + width: 1px; + height: 10000px; + top: 0; + cursor: e-resize; + display: none; +} +.datagrid-body .datagrid-editable { + margin: 0; + padding: 0; +} +.datagrid-body .datagrid-editable table { + width: 100%; + height: 100%; +} +.datagrid-body .datagrid-editable td { + border: 0; + margin: 0; + padding: 0; +} +.datagrid-view .datagrid-editable-input { + margin: 0; + padding: 2px 4px; + border: 1px solid #000; + font-size: 12px; + outline-style: none; + -moz-border-radius: 0 0 0 0; + -webkit-border-radius: 0 0 0 0; + border-radius: 0 0 0 0; +} +.datagrid-sort-desc .datagrid-sort-icon { + padding: 0 13px 0 0; + background: url('images/datagrid_icons.png') no-repeat -16px center; +} +.datagrid-sort-asc .datagrid-sort-icon { + padding: 0 13px 0 0; + background: url('images/datagrid_icons.png') no-repeat 0px center; +} +.datagrid-row-collapse { + background: url('images/datagrid_icons.png') no-repeat -48px center; +} +.datagrid-row-expand { + background: url('images/datagrid_icons.png') no-repeat -32px center; +} +.datagrid-mask-msg { + background: #666 url('images/loading.gif') no-repeat scroll 5px center; +} +.datagrid-header, +.datagrid-td-rownumber { + background-color: #444; + background: -webkit-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); + background: -moz-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); + background: -o-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); + background: linear-gradient(to bottom,#4c4c4c 0,#3f3f3f 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4c4c4c,endColorstr=#3f3f3f,GradientType=0); +} +.datagrid-cell-rownumber { + color: #fff; +} +.datagrid-resize-proxy { + background: #cccccc; +} +.datagrid-mask { + background: #000; +} +.datagrid-mask-msg { + border-color: #000; +} +.datagrid-toolbar, +.datagrid-pager { + background: #555; +} +.datagrid-header, +.datagrid-toolbar, +.datagrid-pager, +.datagrid-footer-inner { + border-color: #222; +} +.datagrid-header td, +.datagrid-body td, +.datagrid-footer td { + border-color: #222; +} +.datagrid-htable, +.datagrid-btable, +.datagrid-ftable { + color: #fff; + border-collapse: separate; +} +.datagrid-row-alt { + background: #555; +} +.datagrid-row-over, +.datagrid-header td.datagrid-header-over { + background: #777; + color: #fff; + cursor: default; +} +.datagrid-row-selected { + background: #0052A3; + color: #fff; +} +.datagrid-row-editing .textbox, +.datagrid-row-editing .textbox-text { + -moz-border-radius: 0 0 0 0; + -webkit-border-radius: 0 0 0 0; + border-radius: 0 0 0 0; +} diff --git a/src/main/webapp/lib/jquery-easyui/themes/black/datebox.css b/src/main/webapp/lib/jquery-easyui/themes/black/datebox.css new file mode 100644 index 0000000..e368f64 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/themes/black/datebox.css @@ -0,0 +1,36 @@ +.datebox-calendar-inner { + height: 180px; +} +.datebox-button { + height: 18px; + padding: 2px 5px; + text-align: center; +} +.datebox-button a { + font-size: 12px; + font-weight: bold; + text-decoration: none; + opacity: 0.6; + filter: alpha(opacity=60); +} +.datebox-button a:hover { + opacity: 1.0; + filter: alpha(opacity=100); +} +.datebox-current, +.datebox-close { + float: left; +} +.datebox-close { + float: right; +} +.datebox .combo-arrow { + background-image: url('images/datebox_arrow.png'); + background-position: center center; +} +.datebox-button { + background-color: #555; +} +.datebox-button a { + color: #fff; +} diff --git a/src/main/webapp/lib/jquery-easyui/themes/black/dialog.css b/src/main/webapp/lib/jquery-easyui/themes/black/dialog.css new file mode 100644 index 0000000..ed832df --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/themes/black/dialog.css @@ -0,0 +1,32 @@ +.dialog-content { + overflow: auto; +} +.dialog-toolbar { + padding: 2px 5px; +} +.dialog-tool-separator { + float: left; + height: 24px; + border-left: 1px solid #444; + border-right: 1px solid #777; + margin: 2px 1px; +} +.dialog-button { + padding: 5px; + text-align: right; +} +.dialog-button .l-btn { + margin-left: 5px; +} +.dialog-toolbar, +.dialog-button { + background: #555; + border-width: 1px; + border-style: solid; +} +.dialog-toolbar { + border-color: #000 #000 #222 #000; +} +.dialog-button { + border-color: #222 #000 #000 #000; +} diff --git a/src/main/webapp/lib/jquery-easyui/themes/black/easyui.css b/src/main/webapp/lib/jquery-easyui/themes/black/easyui.css new file mode 100644 index 0000000..e0a5522 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/themes/black/easyui.css @@ -0,0 +1,2549 @@ +.panel { + overflow: hidden; + text-align: left; + margin: 0; + border: 0; + -moz-border-radius: 0 0 0 0; + -webkit-border-radius: 0 0 0 0; + border-radius: 0 0 0 0; +} +.panel-header, +.panel-body { + border-width: 1px; + border-style: solid; +} +.panel-header { + padding: 5px; + position: relative; +} +.panel-title { + background: url('images/blank.gif') no-repeat; +} +.panel-header-noborder { + border-width: 0 0 1px 0; +} +.panel-body { + overflow: auto; + border-top-width: 0; + padding: 0; +} +.panel-body-noheader { + border-top-width: 1px; +} +.panel-body-noborder { + border-width: 0px; +} +.panel-body-nobottom { + border-bottom-width: 0; +} +.panel-with-icon { + padding-left: 18px; +} +.panel-icon, +.panel-tool { + position: absolute; + top: 50%; + margin-top: -8px; + height: 16px; + overflow: hidden; +} +.panel-icon { + left: 5px; + width: 16px; +} +.panel-tool { + right: 5px; + width: auto; +} +.panel-tool a { + display: inline-block; + width: 16px; + height: 16px; + opacity: 0.6; + filter: alpha(opacity=60); + margin: 0 0 0 2px; + vertical-align: top; +} +.panel-tool a:hover { + opacity: 1; + filter: alpha(opacity=100); + background-color: #777; + -moz-border-radius: 3px 3px 3px 3px; + -webkit-border-radius: 3px 3px 3px 3px; + border-radius: 3px 3px 3px 3px; +} +.panel-loading { + padding: 11px 0px 10px 30px; +} +.panel-noscroll { + overflow: hidden; +} +.panel-fit, +.panel-fit body { + height: 100%; + margin: 0; + padding: 0; + border: 0; + overflow: hidden; +} +.panel-loading { + background: url('images/loading.gif') no-repeat 10px 10px; +} +.panel-tool-close { + background: url('images/panel_tools.png') no-repeat -16px 0px; +} +.panel-tool-min { + background: url('images/panel_tools.png') no-repeat 0px 0px; +} +.panel-tool-max { + background: url('images/panel_tools.png') no-repeat 0px -16px; +} +.panel-tool-restore { + background: url('images/panel_tools.png') no-repeat -16px -16px; +} +.panel-tool-collapse { + background: url('images/panel_tools.png') no-repeat -32px 0; +} +.panel-tool-expand { + background: url('images/panel_tools.png') no-repeat -32px -16px; +} +.panel-header, +.panel-body { + border-color: #000; +} +.panel-header { + background-color: #3d3d3d; + background: -webkit-linear-gradient(top,#454545 0,#383838 100%); + background: -moz-linear-gradient(top,#454545 0,#383838 100%); + background: -o-linear-gradient(top,#454545 0,#383838 100%); + background: linear-gradient(to bottom,#454545 0,#383838 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); +} +.panel-body { + background-color: #666; + color: #fff; + font-size: 12px; +} +.panel-title { + font-size: 12px; + font-weight: bold; + color: #fff; + height: 16px; + line-height: 16px; +} +.panel-footer { + border: 1px solid #000; + overflow: hidden; + background: #555; +} +.panel-footer-noborder { + border-width: 1px 0 0 0; +} +.accordion { + overflow: hidden; + border-width: 1px; + border-style: solid; +} +.accordion .accordion-header { + border-width: 0 0 1px; + cursor: pointer; +} +.accordion .accordion-body { + border-width: 0 0 1px; +} +.accordion-noborder { + border-width: 0; +} +.accordion-noborder .accordion-header { + border-width: 0 0 1px; +} +.accordion-noborder .accordion-body { + border-width: 0 0 1px; +} +.accordion-collapse { + background: url('images/accordion_arrows.png') no-repeat 0 0; +} +.accordion-expand { + background: url('images/accordion_arrows.png') no-repeat -16px 0; +} +.accordion { + background: #666; + border-color: #000; +} +.accordion .accordion-header { + background: #3d3d3d; + filter: none; +} +.accordion .accordion-header-selected { + background: #0052A3; +} +.accordion .accordion-header-selected .panel-title { + color: #fff; +} +.window { + overflow: hidden; + padding: 5px; + border-width: 1px; + border-style: solid; +} +.window .window-header { + background: transparent; + padding: 0px 0px 6px 0px; +} +.window .window-body { + border-width: 1px; + border-style: solid; + border-top-width: 0px; +} +.window .window-body-noheader { + border-top-width: 1px; +} +.window .panel-body-nobottom { + border-bottom-width: 0; +} +.window .window-header .panel-icon, +.window .window-header .panel-tool { + top: 50%; + margin-top: -11px; +} +.window .window-header .panel-icon { + left: 1px; +} +.window .window-header .panel-tool { + right: 1px; +} +.window .window-header .panel-with-icon { + padding-left: 18px; +} +.window-proxy { + position: absolute; + overflow: hidden; +} +.window-proxy-mask { + position: absolute; + filter: alpha(opacity=5); + opacity: 0.05; +} +.window-mask { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + filter: alpha(opacity=40); + opacity: 0.40; + font-size: 1px; + overflow: hidden; +} +.window, +.window-shadow { + position: absolute; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +.window-shadow { + background: #777; + -moz-box-shadow: 2px 2px 3px #787878; + -webkit-box-shadow: 2px 2px 3px #787878; + box-shadow: 2px 2px 3px #787878; + filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); +} +.window, +.window .window-body { + border-color: #000; +} +.window { + background-color: #3d3d3d; + background: -webkit-linear-gradient(top,#454545 0,#383838 20%); + background: -moz-linear-gradient(top,#454545 0,#383838 20%); + background: -o-linear-gradient(top,#454545 0,#383838 20%); + background: linear-gradient(to bottom,#454545 0,#383838 20%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); +} +.window-proxy { + border: 1px dashed #000; +} +.window-proxy-mask, +.window-mask { + background: #000; +} +.window .panel-footer { + border: 1px solid #000; + position: relative; + top: -1px; +} +.dialog-content { + overflow: auto; +} +.dialog-toolbar { + padding: 2px 5px; +} +.dialog-tool-separator { + float: left; + height: 24px; + border-left: 1px solid #444; + border-right: 1px solid #777; + margin: 2px 1px; +} +.dialog-button { + padding: 5px; + text-align: right; +} +.dialog-button .l-btn { + margin-left: 5px; +} +.dialog-toolbar, +.dialog-button { + background: #555; + border-width: 1px; + border-style: solid; +} +.dialog-toolbar { + border-color: #000 #000 #222 #000; +} +.dialog-button { + border-color: #222 #000 #000 #000; +} +.l-btn { + text-decoration: none; + display: inline-block; + overflow: hidden; + margin: 0; + padding: 0; + cursor: pointer; + outline: none; + text-align: center; + vertical-align: middle; +} +.l-btn-plain { + border: 0; + padding: 1px; +} +.l-btn-left { + display: inline-block; + position: relative; + overflow: hidden; + margin: 0; + padding: 0; + vertical-align: top; +} +.l-btn-text { + display: inline-block; + vertical-align: top; + width: auto; + line-height: 24px; + font-size: 12px; + padding: 0; + margin: 0 4px; +} +.l-btn-icon { + display: inline-block; + width: 16px; + height: 16px; + line-height: 16px; + position: absolute; + top: 50%; + margin-top: -8px; + font-size: 1px; +} +.l-btn span span .l-btn-empty { + display: inline-block; + margin: 0; + width: 16px; + height: 24px; + font-size: 1px; + vertical-align: top; +} +.l-btn span .l-btn-icon-left { + padding: 0 0 0 20px; + background-position: left center; +} +.l-btn span .l-btn-icon-right { + padding: 0 20px 0 0; + background-position: right center; +} +.l-btn-icon-left .l-btn-text { + margin: 0 4px 0 24px; +} +.l-btn-icon-left .l-btn-icon { + left: 4px; +} +.l-btn-icon-right .l-btn-text { + margin: 0 24px 0 4px; +} +.l-btn-icon-right .l-btn-icon { + right: 4px; +} +.l-btn-icon-top .l-btn-text { + margin: 20px 4px 0 4px; +} +.l-btn-icon-top .l-btn-icon { + top: 4px; + left: 50%; + margin: 0 0 0 -8px; +} +.l-btn-icon-bottom .l-btn-text { + margin: 0 4px 20px 4px; +} +.l-btn-icon-bottom .l-btn-icon { + top: auto; + bottom: 4px; + left: 50%; + margin: 0 0 0 -8px; +} +.l-btn-left .l-btn-empty { + margin: 0 4px; + width: 16px; +} +.l-btn-plain:hover { + padding: 0; +} +.l-btn-focus { + outline: #0000FF dotted thin; +} +.l-btn-large .l-btn-text { + line-height: 40px; +} +.l-btn-large .l-btn-icon { + width: 32px; + height: 32px; + line-height: 32px; + margin-top: -16px; +} +.l-btn-large .l-btn-icon-left .l-btn-text { + margin-left: 40px; +} +.l-btn-large .l-btn-icon-right .l-btn-text { + margin-right: 40px; +} +.l-btn-large .l-btn-icon-top .l-btn-text { + margin-top: 36px; + line-height: 24px; + min-width: 32px; +} +.l-btn-large .l-btn-icon-top .l-btn-icon { + margin: 0 0 0 -16px; +} +.l-btn-large .l-btn-icon-bottom .l-btn-text { + margin-bottom: 36px; + line-height: 24px; + min-width: 32px; +} +.l-btn-large .l-btn-icon-bottom .l-btn-icon { + margin: 0 0 0 -16px; +} +.l-btn-large .l-btn-left .l-btn-empty { + margin: 0 4px; + width: 32px; +} +.l-btn { + color: #fff; + background: #777; + background-repeat: repeat-x; + border: 1px solid #555; + background: -webkit-linear-gradient(top,#919191 0,#6a6a6a 100%); + background: -moz-linear-gradient(top,#919191 0,#6a6a6a 100%); + background: -o-linear-gradient(top,#919191 0,#6a6a6a 100%); + background: linear-gradient(to bottom,#919191 0,#6a6a6a 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#919191,endColorstr=#6a6a6a,GradientType=0); + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +.l-btn:hover { + background: #777; + color: #fff; + border: 1px solid #555; + filter: none; +} +.l-btn-plain { + background: transparent; + border: 0; + filter: none; +} +.l-btn-plain:hover { + background: #777; + color: #fff; + border: 1px solid #555; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +.l-btn-disabled, +.l-btn-disabled:hover { + opacity: 0.5; + cursor: default; + background: #777; + color: #fff; + background: -webkit-linear-gradient(top,#919191 0,#6a6a6a 100%); + background: -moz-linear-gradient(top,#919191 0,#6a6a6a 100%); + background: -o-linear-gradient(top,#919191 0,#6a6a6a 100%); + background: linear-gradient(to bottom,#919191 0,#6a6a6a 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#919191,endColorstr=#6a6a6a,GradientType=0); +} +.l-btn-disabled .l-btn-text, +.l-btn-disabled .l-btn-icon { + filter: alpha(opacity=50); +} +.l-btn-plain-disabled, +.l-btn-plain-disabled:hover { + background: transparent; + filter: alpha(opacity=50); +} +.l-btn-selected, +.l-btn-selected:hover { + background: #000; + filter: none; +} +.l-btn-plain-selected, +.l-btn-plain-selected:hover { + background: #000; +} +.textbox { + position: relative; + border: 1px solid #000; + background-color: #fff; + vertical-align: middle; + display: inline-block; + overflow: hidden; + white-space: nowrap; + margin: 0; + padding: 0; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +.textbox .textbox-text { + font-size: 12px; + border: 0; + margin: 0; + padding: 4px; + white-space: normal; + vertical-align: top; + outline-style: none; + resize: none; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +.textbox .textbox-prompt { + font-size: 12px; + color: #aaa; +} +.textbox-button, +.textbox-button:hover { + position: absolute; + top: 0; + padding: 0; + vertical-align: top; + -moz-border-radius: 0 0 0 0; + -webkit-border-radius: 0 0 0 0; + border-radius: 0 0 0 0; +} +.textbox-button-right, +.textbox-button-right:hover { + border-width: 0 0 0 1px; +} +.textbox-button-left, +.textbox-button-left:hover { + border-width: 0 1px 0 0; +} +.textbox-addon { + position: absolute; + top: 0; +} +.textbox-icon { + display: inline-block; + width: 18px; + height: 20px; + overflow: hidden; + vertical-align: top; + background-position: center center; + cursor: pointer; + opacity: 0.6; + filter: alpha(opacity=60); + text-decoration: none; + outline-style: none; +} +.textbox-icon-disabled, +.textbox-icon-readonly { + cursor: default; +} +.textbox-icon:hover { + opacity: 1.0; + filter: alpha(opacity=100); +} +.textbox-icon-disabled:hover { + opacity: 0.6; + filter: alpha(opacity=60); +} +.textbox-focused { + -moz-box-shadow: 0 0 3px 0 #000; + -webkit-box-shadow: 0 0 3px 0 #000; + box-shadow: 0 0 3px 0 #000; +} +.textbox-invalid { + border-color: #ffa8a8; + background-color: #fff3f3; +} +.filebox .textbox-value { + vertical-align: top; + position: absolute; + top: 0; + left: -5000px; +} +.combo { + display: inline-block; + white-space: nowrap; + margin: 0; + padding: 0; + border-width: 1px; + border-style: solid; + overflow: hidden; + vertical-align: middle; +} +.combo .combo-text { + font-size: 12px; + border: 0px; + margin: 0; + padding: 0px 2px; + vertical-align: baseline; +} +.combo-arrow { + width: 18px; + height: 20px; + overflow: hidden; + display: inline-block; + vertical-align: top; + cursor: pointer; + opacity: 0.6; + filter: alpha(opacity=60); +} +.combo-arrow-hover { + opacity: 1.0; + filter: alpha(opacity=100); +} +.combo-panel { + overflow: auto; +} +.combo-arrow { + background: url('images/combo_arrow.png') no-repeat center center; +} +.combo-panel { + background-color: #666; +} +.combo { + border-color: #000; + background-color: #fff; +} +.combo-arrow { + background-color: #3d3d3d; +} +.combo-arrow-hover { + background-color: #777; +} +.combo-arrow:hover { + background-color: #777; +} +.combo .textbox-icon-disabled:hover { + cursor: default; +} +.textbox-invalid { + border-color: #ffa8a8; + background-color: #fff3f3; +} +.combobox-item, +.combobox-group { + font-size: 12px; + padding: 3px; + padding-right: 0px; +} +.combobox-item-disabled { + opacity: 0.5; + filter: alpha(opacity=50); +} +.combobox-gitem { + padding-left: 10px; +} +.combobox-group { + font-weight: bold; +} +.combobox-item-hover { + background-color: #777; + color: #fff; +} +.combobox-item-selected { + background-color: #0052A3; + color: #fff; +} +.layout { + position: relative; + overflow: hidden; + margin: 0; + padding: 0; + z-index: 0; +} +.layout-panel { + position: absolute; + overflow: hidden; +} +.layout-panel-east, +.layout-panel-west { + z-index: 2; +} +.layout-panel-north, +.layout-panel-south { + z-index: 3; +} +.layout-expand { + position: absolute; + padding: 0px; + font-size: 1px; + cursor: pointer; + z-index: 1; +} +.layout-expand .panel-header, +.layout-expand .panel-body { + background: transparent; + filter: none; + overflow: hidden; +} +.layout-expand .panel-header { + border-bottom-width: 0px; +} +.layout-split-proxy-h, +.layout-split-proxy-v { + position: absolute; + font-size: 1px; + display: none; + z-index: 5; +} +.layout-split-proxy-h { + width: 5px; + cursor: e-resize; +} +.layout-split-proxy-v { + height: 5px; + cursor: n-resize; +} +.layout-mask { + position: absolute; + background: #fafafa; + filter: alpha(opacity=10); + opacity: 0.10; + z-index: 4; +} +.layout-button-up { + background: url('images/layout_arrows.png') no-repeat -16px -16px; +} +.layout-button-down { + background: url('images/layout_arrows.png') no-repeat -16px 0; +} +.layout-button-left { + background: url('images/layout_arrows.png') no-repeat 0 0; +} +.layout-button-right { + background: url('images/layout_arrows.png') no-repeat 0 -16px; +} +.layout-split-proxy-h, +.layout-split-proxy-v { + background-color: #cccccc; +} +.layout-split-north { + border-bottom: 5px solid #444; +} +.layout-split-south { + border-top: 5px solid #444; +} +.layout-split-east { + border-left: 5px solid #444; +} +.layout-split-west { + border-right: 5px solid #444; +} +.layout-expand { + background-color: #3d3d3d; +} +.layout-expand-over { + background-color: #3d3d3d; +} +.tabs-container { + overflow: hidden; +} +.tabs-header { + border-width: 1px; + border-style: solid; + border-bottom-width: 0; + position: relative; + padding: 0; + padding-top: 2px; + overflow: hidden; +} +.tabs-header-plain { + border: 0; + background: transparent; +} +.tabs-scroller-left, +.tabs-scroller-right { + position: absolute; + top: auto; + bottom: 0; + width: 18px; + font-size: 1px; + display: none; + cursor: pointer; + border-width: 1px; + border-style: solid; +} +.tabs-scroller-left { + left: 0; +} +.tabs-scroller-right { + right: 0; +} +.tabs-tool { + position: absolute; + bottom: 0; + padding: 1px; + overflow: hidden; + border-width: 1px; + border-style: solid; +} +.tabs-header-plain .tabs-tool { + padding: 0 1px; +} +.tabs-wrap { + position: relative; + left: 0; + overflow: hidden; + width: 100%; + margin: 0; + padding: 0; +} +.tabs-scrolling { + margin-left: 18px; + margin-right: 18px; +} +.tabs-disabled { + opacity: 0.3; + filter: alpha(opacity=30); +} +.tabs { + list-style-type: none; + height: 26px; + margin: 0px; + padding: 0px; + padding-left: 4px; + width: 50000px; + border-style: solid; + border-width: 0 0 1px 0; +} +.tabs li { + float: left; + display: inline-block; + margin: 0 4px -1px 0; + padding: 0; + position: relative; + border: 0; +} +.tabs li a.tabs-inner { + display: inline-block; + text-decoration: none; + margin: 0; + padding: 0 10px; + height: 25px; + line-height: 25px; + text-align: center; + white-space: nowrap; + border-width: 1px; + border-style: solid; + -moz-border-radius: 5px 5px 0 0; + -webkit-border-radius: 5px 5px 0 0; + border-radius: 5px 5px 0 0; +} +.tabs li.tabs-selected a.tabs-inner { + font-weight: bold; + outline: none; +} +.tabs li.tabs-selected a:hover.tabs-inner { + cursor: default; + pointer: default; +} +.tabs li a.tabs-close, +.tabs-p-tool { + position: absolute; + font-size: 1px; + display: block; + height: 12px; + padding: 0; + top: 50%; + margin-top: -6px; + overflow: hidden; +} +.tabs li a.tabs-close { + width: 12px; + right: 5px; + opacity: 0.6; + filter: alpha(opacity=60); +} +.tabs-p-tool { + right: 16px; +} +.tabs-p-tool a { + display: inline-block; + font-size: 1px; + width: 12px; + height: 12px; + margin: 0; + opacity: 0.6; + filter: alpha(opacity=60); +} +.tabs li a:hover.tabs-close, +.tabs-p-tool a:hover { + opacity: 1; + filter: alpha(opacity=100); + cursor: hand; + cursor: pointer; +} +.tabs-with-icon { + padding-left: 18px; +} +.tabs-icon { + position: absolute; + width: 16px; + height: 16px; + left: 10px; + top: 50%; + margin-top: -8px; +} +.tabs-title { + font-size: 12px; +} +.tabs-closable { + padding-right: 8px; +} +.tabs-panels { + margin: 0px; + padding: 0px; + border-width: 1px; + border-style: solid; + border-top-width: 0; + overflow: hidden; +} +.tabs-header-bottom { + border-width: 0 1px 1px 1px; + padding: 0 0 2px 0; +} +.tabs-header-bottom .tabs { + border-width: 1px 0 0 0; +} +.tabs-header-bottom .tabs li { + margin: -1px 4px 0 0; +} +.tabs-header-bottom .tabs li a.tabs-inner { + -moz-border-radius: 0 0 5px 5px; + -webkit-border-radius: 0 0 5px 5px; + border-radius: 0 0 5px 5px; +} +.tabs-header-bottom .tabs-tool { + top: 0; +} +.tabs-header-bottom .tabs-scroller-left, +.tabs-header-bottom .tabs-scroller-right { + top: 0; + bottom: auto; +} +.tabs-panels-top { + border-width: 1px 1px 0 1px; +} +.tabs-header-left { + float: left; + border-width: 1px 0 1px 1px; + padding: 0; +} +.tabs-header-right { + float: right; + border-width: 1px 1px 1px 0; + padding: 0; +} +.tabs-header-left .tabs-wrap, +.tabs-header-right .tabs-wrap { + height: 100%; +} +.tabs-header-left .tabs { + height: 100%; + padding: 4px 0 0 4px; + border-width: 0 1px 0 0; +} +.tabs-header-right .tabs { + height: 100%; + padding: 4px 4px 0 0; + border-width: 0 0 0 1px; +} +.tabs-header-left .tabs li, +.tabs-header-right .tabs li { + display: block; + width: 100%; + position: relative; +} +.tabs-header-left .tabs li { + left: auto; + right: 0; + margin: 0 -1px 4px 0; + float: right; +} +.tabs-header-right .tabs li { + left: 0; + right: auto; + margin: 0 0 4px -1px; + float: left; +} +.tabs-header-left .tabs li a.tabs-inner { + display: block; + text-align: left; + -moz-border-radius: 5px 0 0 5px; + -webkit-border-radius: 5px 0 0 5px; + border-radius: 5px 0 0 5px; +} +.tabs-header-right .tabs li a.tabs-inner { + display: block; + text-align: left; + -moz-border-radius: 0 5px 5px 0; + -webkit-border-radius: 0 5px 5px 0; + border-radius: 0 5px 5px 0; +} +.tabs-panels-right { + float: right; + border-width: 1px 1px 1px 0; +} +.tabs-panels-left { + float: left; + border-width: 1px 0 1px 1px; +} +.tabs-header-noborder, +.tabs-panels-noborder { + border: 0px; +} +.tabs-header-plain { + border: 0px; + background: transparent; +} +.tabs-scroller-left { + background: #3d3d3d url('images/tabs_icons.png') no-repeat 1px center; +} +.tabs-scroller-right { + background: #3d3d3d url('images/tabs_icons.png') no-repeat -15px center; +} +.tabs li a.tabs-close { + background: url('images/tabs_icons.png') no-repeat -34px center; +} +.tabs li a.tabs-inner:hover { + background: #777; + color: #fff; + filter: none; +} +.tabs li.tabs-selected a.tabs-inner { + background-color: #666; + color: #fff; + background: -webkit-linear-gradient(top,#454545 0,#666 100%); + background: -moz-linear-gradient(top,#454545 0,#666 100%); + background: -o-linear-gradient(top,#454545 0,#666 100%); + background: linear-gradient(to bottom,#454545 0,#666 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#666,GradientType=0); +} +.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { + background: -webkit-linear-gradient(top,#666 0,#454545 100%); + background: -moz-linear-gradient(top,#666 0,#454545 100%); + background: -o-linear-gradient(top,#666 0,#454545 100%); + background: linear-gradient(to bottom,#666 0,#454545 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#666,endColorstr=#454545,GradientType=0); +} +.tabs-header-left .tabs li.tabs-selected a.tabs-inner { + background: -webkit-linear-gradient(left,#454545 0,#666 100%); + background: -moz-linear-gradient(left,#454545 0,#666 100%); + background: -o-linear-gradient(left,#454545 0,#666 100%); + background: linear-gradient(to right,#454545 0,#666 100%); + background-repeat: repeat-y; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#666,GradientType=1); +} +.tabs-header-right .tabs li.tabs-selected a.tabs-inner { + background: -webkit-linear-gradient(left,#666 0,#454545 100%); + background: -moz-linear-gradient(left,#666 0,#454545 100%); + background: -o-linear-gradient(left,#666 0,#454545 100%); + background: linear-gradient(to right,#666 0,#454545 100%); + background-repeat: repeat-y; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#666,endColorstr=#454545,GradientType=1); +} +.tabs li a.tabs-inner { + color: #fff; + background-color: #3d3d3d; + background: -webkit-linear-gradient(top,#454545 0,#383838 100%); + background: -moz-linear-gradient(top,#454545 0,#383838 100%); + background: -o-linear-gradient(top,#454545 0,#383838 100%); + background: linear-gradient(to bottom,#454545 0,#383838 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); +} +.tabs-header, +.tabs-tool { + background-color: #3d3d3d; +} +.tabs-header-plain { + background: transparent; +} +.tabs-header, +.tabs-scroller-left, +.tabs-scroller-right, +.tabs-tool, +.tabs, +.tabs-panels, +.tabs li a.tabs-inner, +.tabs li.tabs-selected a.tabs-inner, +.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, +.tabs-header-left .tabs li.tabs-selected a.tabs-inner, +.tabs-header-right .tabs li.tabs-selected a.tabs-inner { + border-color: #000; +} +.tabs-p-tool a:hover, +.tabs li a:hover.tabs-close, +.tabs-scroller-over { + background-color: #777; +} +.tabs li.tabs-selected a.tabs-inner { + border-bottom: 1px solid #666; +} +.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { + border-top: 1px solid #666; +} +.tabs-header-left .tabs li.tabs-selected a.tabs-inner { + border-right: 1px solid #666; +} +.tabs-header-right .tabs li.tabs-selected a.tabs-inner { + border-left: 1px solid #666; +} +.datagrid .panel-body { + overflow: hidden; + position: relative; +} +.datagrid-view { + position: relative; + overflow: hidden; +} +.datagrid-view1, +.datagrid-view2 { + position: absolute; + overflow: hidden; + top: 0; +} +.datagrid-view1 { + left: 0; +} +.datagrid-view2 { + right: 0; +} +.datagrid-mask { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + opacity: 0.3; + filter: alpha(opacity=30); + display: none; +} +.datagrid-mask-msg { + position: absolute; + top: 50%; + margin-top: -20px; + padding: 10px 5px 10px 30px; + width: auto; + height: 16px; + border-width: 2px; + border-style: solid; + display: none; +} +.datagrid-sort-icon { + padding: 0; +} +.datagrid-toolbar { + height: auto; + padding: 1px 2px; + border-width: 0 0 1px 0; + border-style: solid; +} +.datagrid-btn-separator { + float: left; + height: 24px; + border-left: 1px solid #444; + border-right: 1px solid #777; + margin: 2px 1px; +} +.datagrid .datagrid-pager { + display: block; + margin: 0; + border-width: 1px 0 0 0; + border-style: solid; +} +.datagrid .datagrid-pager-top { + border-width: 0 0 1px 0; +} +.datagrid-header { + overflow: hidden; + cursor: default; + border-width: 0 0 1px 0; + border-style: solid; +} +.datagrid-header-inner { + float: left; + width: 10000px; +} +.datagrid-header-row, +.datagrid-row { + height: 25px; +} +.datagrid-header td, +.datagrid-body td, +.datagrid-footer td { + border-width: 0 1px 1px 0; + border-style: dotted; + margin: 0; + padding: 0; +} +.datagrid-cell, +.datagrid-cell-group, +.datagrid-header-rownumber, +.datagrid-cell-rownumber { + margin: 0; + padding: 0 4px; + white-space: nowrap; + word-wrap: normal; + overflow: hidden; + height: 18px; + line-height: 18px; + font-size: 12px; +} +.datagrid-header .datagrid-cell { + height: auto; +} +.datagrid-header .datagrid-cell span { + font-size: 12px; +} +.datagrid-cell-group { + text-align: center; +} +.datagrid-header-rownumber, +.datagrid-cell-rownumber { + width: 25px; + text-align: center; + margin: 0; + padding: 0; +} +.datagrid-body { + margin: 0; + padding: 0; + overflow: auto; + zoom: 1; +} +.datagrid-view1 .datagrid-body-inner { + padding-bottom: 20px; +} +.datagrid-view1 .datagrid-body { + overflow: hidden; +} +.datagrid-footer { + overflow: hidden; +} +.datagrid-footer-inner { + border-width: 1px 0 0 0; + border-style: solid; + width: 10000px; + float: left; +} +.datagrid-row-editing .datagrid-cell { + height: auto; +} +.datagrid-header-check, +.datagrid-cell-check { + padding: 0; + width: 27px; + height: 18px; + font-size: 1px; + text-align: center; + overflow: hidden; +} +.datagrid-header-check input, +.datagrid-cell-check input { + margin: 0; + padding: 0; + width: 15px; + height: 18px; +} +.datagrid-resize-proxy { + position: absolute; + width: 1px; + height: 10000px; + top: 0; + cursor: e-resize; + display: none; +} +.datagrid-body .datagrid-editable { + margin: 0; + padding: 0; +} +.datagrid-body .datagrid-editable table { + width: 100%; + height: 100%; +} +.datagrid-body .datagrid-editable td { + border: 0; + margin: 0; + padding: 0; +} +.datagrid-view .datagrid-editable-input { + margin: 0; + padding: 2px 4px; + border: 1px solid #000; + font-size: 12px; + outline-style: none; + -moz-border-radius: 0 0 0 0; + -webkit-border-radius: 0 0 0 0; + border-radius: 0 0 0 0; +} +.datagrid-sort-desc .datagrid-sort-icon { + padding: 0 13px 0 0; + background: url('images/datagrid_icons.png') no-repeat -16px center; +} +.datagrid-sort-asc .datagrid-sort-icon { + padding: 0 13px 0 0; + background: url('images/datagrid_icons.png') no-repeat 0px center; +} +.datagrid-row-collapse { + background: url('images/datagrid_icons.png') no-repeat -48px center; +} +.datagrid-row-expand { + background: url('images/datagrid_icons.png') no-repeat -32px center; +} +.datagrid-mask-msg { + background: #666 url('images/loading.gif') no-repeat scroll 5px center; +} +.datagrid-header, +.datagrid-td-rownumber { + background-color: #444; + background: -webkit-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); + background: -moz-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); + background: -o-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); + background: linear-gradient(to bottom,#4c4c4c 0,#3f3f3f 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4c4c4c,endColorstr=#3f3f3f,GradientType=0); +} +.datagrid-cell-rownumber { + color: #fff; +} +.datagrid-resize-proxy { + background: #cccccc; +} +.datagrid-mask { + background: #000; +} +.datagrid-mask-msg { + border-color: #000; +} +.datagrid-toolbar, +.datagrid-pager { + background: #555; +} +.datagrid-header, +.datagrid-toolbar, +.datagrid-pager, +.datagrid-footer-inner { + border-color: #222; +} +.datagrid-header td, +.datagrid-body td, +.datagrid-footer td { + border-color: #222; +} +.datagrid-htable, +.datagrid-btable, +.datagrid-ftable { + color: #fff; + border-collapse: separate; +} +.datagrid-row-alt { + background: #555; +} +.datagrid-row-over, +.datagrid-header td.datagrid-header-over { + background: #777; + color: #fff; + cursor: default; +} +.datagrid-row-selected { + background: #0052A3; + color: #fff; +} +.datagrid-row-editing .textbox, +.datagrid-row-editing .textbox-text { + -moz-border-radius: 0 0 0 0; + -webkit-border-radius: 0 0 0 0; + border-radius: 0 0 0 0; +} +.propertygrid .datagrid-view1 .datagrid-body td { + padding-bottom: 1px; + border-width: 0 1px 0 0; +} +.propertygrid .datagrid-group { + height: 21px; + overflow: hidden; + border-width: 0 0 1px 0; + border-style: solid; +} +.propertygrid .datagrid-group span { + font-weight: bold; +} +.propertygrid .datagrid-view1 .datagrid-body td { + border-color: #222; +} +.propertygrid .datagrid-view1 .datagrid-group { + border-color: #3d3d3d; +} +.propertygrid .datagrid-view2 .datagrid-group { + border-color: #222; +} +.propertygrid .datagrid-group, +.propertygrid .datagrid-view1 .datagrid-body, +.propertygrid .datagrid-view1 .datagrid-row-over, +.propertygrid .datagrid-view1 .datagrid-row-selected { + background: #3d3d3d; +} +.pagination { + zoom: 1; +} +.pagination table { + float: left; + height: 30px; +} +.pagination td { + border: 0; +} +.pagination-btn-separator { + float: left; + height: 24px; + border-left: 1px solid #444; + border-right: 1px solid #777; + margin: 3px 1px; +} +.pagination .pagination-num { + border-width: 1px; + border-style: solid; + margin: 0 2px; + padding: 2px; + width: 2em; + height: auto; +} +.pagination-page-list { + margin: 0px 6px; + padding: 1px 2px; + width: auto; + height: auto; + border-width: 1px; + border-style: solid; +} +.pagination-info { + float: right; + margin: 0 6px 0 0; + padding: 0; + height: 30px; + line-height: 30px; + font-size: 12px; +} +.pagination span { + font-size: 12px; +} +.pagination-link .l-btn-text { + width: 24px; + text-align: center; + margin: 0; +} +.pagination-first { + background: url('images/pagination_icons.png') no-repeat 0 center; +} +.pagination-prev { + background: url('images/pagination_icons.png') no-repeat -16px center; +} +.pagination-next { + background: url('images/pagination_icons.png') no-repeat -32px center; +} +.pagination-last { + background: url('images/pagination_icons.png') no-repeat -48px center; +} +.pagination-load { + background: url('images/pagination_icons.png') no-repeat -64px center; +} +.pagination-loading { + background: url('images/loading.gif') no-repeat center center; +} +.pagination-page-list, +.pagination .pagination-num { + border-color: #000; +} +.calendar { + border-width: 1px; + border-style: solid; + padding: 1px; + overflow: hidden; +} +.calendar table { + table-layout: fixed; + border-collapse: separate; + font-size: 12px; + width: 100%; + height: 100%; +} +.calendar table td, +.calendar table th { + font-size: 12px; +} +.calendar-noborder { + border: 0; +} +.calendar-header { + position: relative; + height: 22px; +} +.calendar-title { + text-align: center; + height: 22px; +} +.calendar-title span { + position: relative; + display: inline-block; + top: 2px; + padding: 0 3px; + height: 18px; + line-height: 18px; + font-size: 12px; + cursor: pointer; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +.calendar-prevmonth, +.calendar-nextmonth, +.calendar-prevyear, +.calendar-nextyear { + position: absolute; + top: 50%; + margin-top: -7px; + width: 14px; + height: 14px; + cursor: pointer; + font-size: 1px; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +.calendar-prevmonth { + left: 20px; + background: url('images/calendar_arrows.png') no-repeat -18px -2px; +} +.calendar-nextmonth { + right: 20px; + background: url('images/calendar_arrows.png') no-repeat -34px -2px; +} +.calendar-prevyear { + left: 3px; + background: url('images/calendar_arrows.png') no-repeat -1px -2px; +} +.calendar-nextyear { + right: 3px; + background: url('images/calendar_arrows.png') no-repeat -49px -2px; +} +.calendar-body { + position: relative; +} +.calendar-body th, +.calendar-body td { + text-align: center; +} +.calendar-day { + border: 0; + padding: 1px; + cursor: pointer; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +.calendar-other-month { + opacity: 0.3; + filter: alpha(opacity=30); +} +.calendar-disabled { + opacity: 0.6; + filter: alpha(opacity=60); + cursor: default; +} +.calendar-menu { + position: absolute; + top: 0; + left: 0; + width: 180px; + height: 150px; + padding: 5px; + font-size: 12px; + display: none; + overflow: hidden; +} +.calendar-menu-year-inner { + text-align: center; + padding-bottom: 5px; +} +.calendar-menu-year { + width: 40px; + text-align: center; + border-width: 1px; + border-style: solid; + margin: 0; + padding: 2px; + font-weight: bold; + font-size: 12px; +} +.calendar-menu-prev, +.calendar-menu-next { + display: inline-block; + width: 21px; + height: 21px; + vertical-align: top; + cursor: pointer; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +.calendar-menu-prev { + margin-right: 10px; + background: url('images/calendar_arrows.png') no-repeat 2px 2px; +} +.calendar-menu-next { + margin-left: 10px; + background: url('images/calendar_arrows.png') no-repeat -45px 2px; +} +.calendar-menu-month { + text-align: center; + cursor: pointer; + font-weight: bold; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +.calendar-body th, +.calendar-menu-month { + color: #ffffff; +} +.calendar-day { + color: #fff; +} +.calendar-sunday { + color: #CC2222; +} +.calendar-saturday { + color: #00ee00; +} +.calendar-today { + color: #0000ff; +} +.calendar-menu-year { + border-color: #000; +} +.calendar { + border-color: #000; +} +.calendar-header { + background: #3d3d3d; +} +.calendar-body, +.calendar-menu { + background: #666; +} +.calendar-body th { + background: #555; + padding: 2px 0; +} +.calendar-hover, +.calendar-nav-hover, +.calendar-menu-hover { + background-color: #777; + color: #fff; +} +.calendar-hover { + border: 1px solid #555; + padding: 0; +} +.calendar-selected { + background-color: #0052A3; + color: #fff; + border: 1px solid #00458a; + padding: 0; +} +.datebox-calendar-inner { + height: 180px; +} +.datebox-button { + height: 18px; + padding: 2px 5px; + text-align: center; +} +.datebox-button a { + font-size: 12px; + font-weight: bold; + text-decoration: none; + opacity: 0.6; + filter: alpha(opacity=60); +} +.datebox-button a:hover { + opacity: 1.0; + filter: alpha(opacity=100); +} +.datebox-current, +.datebox-close { + float: left; +} +.datebox-close { + float: right; +} +.datebox .combo-arrow { + background-image: url('images/datebox_arrow.png'); + background-position: center center; +} +.datebox-button { + background-color: #555; +} +.datebox-button a { + color: #fff; +} +.numberbox { + border: 1px solid #000; + margin: 0; + padding: 0 2px; + vertical-align: middle; +} +.textbox { + padding: 0; +} +.spinner { + display: inline-block; + white-space: nowrap; + margin: 0; + padding: 0; + border-width: 1px; + border-style: solid; + overflow: hidden; + vertical-align: middle; +} +.spinner .spinner-text { + font-size: 12px; + border: 0px; + margin: 0; + padding: 0 2px; + vertical-align: baseline; +} +.spinner-arrow { + background-color: #3d3d3d; + display: inline-block; + overflow: hidden; + vertical-align: top; + margin: 0; + padding: 0; + opacity: 1.0; + filter: alpha(opacity=100); + width: 18px; +} +.spinner-arrow-up, +.spinner-arrow-down { + opacity: 0.6; + filter: alpha(opacity=60); + display: block; + font-size: 1px; + width: 18px; + height: 10px; + width: 100%; + height: 50%; + outline-style: none; +} +.spinner-arrow-hover { + background-color: #777; + opacity: 1.0; + filter: alpha(opacity=100); +} +.spinner-arrow-up:hover, +.spinner-arrow-down:hover { + opacity: 1.0; + filter: alpha(opacity=100); + background-color: #777; +} +.textbox-icon-disabled .spinner-arrow-up:hover, +.textbox-icon-disabled .spinner-arrow-down:hover { + opacity: 0.6; + filter: alpha(opacity=60); + background-color: #3d3d3d; + cursor: default; +} +.spinner .textbox-icon-disabled { + opacity: 0.6; + filter: alpha(opacity=60); +} +.spinner-arrow-up { + background: url('images/spinner_arrows.png') no-repeat 1px center; +} +.spinner-arrow-down { + background: url('images/spinner_arrows.png') no-repeat -15px center; +} +.spinner { + border-color: #000; +} +.progressbar { + border-width: 1px; + border-style: solid; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; + overflow: hidden; + position: relative; +} +.progressbar-text { + text-align: center; + position: absolute; +} +.progressbar-value { + position: relative; + overflow: hidden; + width: 0; + -moz-border-radius: 5px 0 0 5px; + -webkit-border-radius: 5px 0 0 5px; + border-radius: 5px 0 0 5px; +} +.progressbar { + border-color: #000; +} +.progressbar-text { + color: #fff; + font-size: 12px; +} +.progressbar-value .progressbar-text { + background-color: #0052A3; + color: #fff; +} +.searchbox { + display: inline-block; + white-space: nowrap; + margin: 0; + padding: 0; + border-width: 1px; + border-style: solid; + overflow: hidden; + vertical-align: middle; +} +.searchbox .searchbox-text { + font-size: 12px; + border: 0; + margin: 0; + padding: 0 2px; + vertical-align: top; +} +.searchbox .searchbox-prompt { + font-size: 12px; + color: #ccc; +} +.searchbox-button { + width: 18px; + height: 20px; + overflow: hidden; + display: inline-block; + vertical-align: top; + cursor: pointer; + opacity: 0.6; + filter: alpha(opacity=60); +} +.searchbox-button-hover { + opacity: 1.0; + filter: alpha(opacity=100); +} +.searchbox .l-btn-plain { + border: 0; + padding: 0; + vertical-align: top; + opacity: 0.6; + filter: alpha(opacity=60); + -moz-border-radius: 0 0 0 0; + -webkit-border-radius: 0 0 0 0; + border-radius: 0 0 0 0; +} +.searchbox .l-btn-plain:hover { + border: 0; + padding: 0; + opacity: 1.0; + filter: alpha(opacity=100); + -moz-border-radius: 0 0 0 0; + -webkit-border-radius: 0 0 0 0; + border-radius: 0 0 0 0; +} +.searchbox a.m-btn-plain-active { + -moz-border-radius: 0 0 0 0; + -webkit-border-radius: 0 0 0 0; + border-radius: 0 0 0 0; +} +.searchbox .m-btn-active { + border-width: 0 1px 0 0; + -moz-border-radius: 0 0 0 0; + -webkit-border-radius: 0 0 0 0; + border-radius: 0 0 0 0; +} +.searchbox .textbox-button-right { + border-width: 0 0 0 1px; +} +.searchbox .textbox-button-left { + border-width: 0 1px 0 0; +} +.searchbox-button { + background: url('images/searchbox_button.png') no-repeat center center; +} +.searchbox { + border-color: #000; + background-color: #fff; +} +.searchbox .l-btn-plain { + background: #3d3d3d; +} +.searchbox .l-btn-plain-disabled, +.searchbox .l-btn-plain-disabled:hover { + opacity: 0.5; + filter: alpha(opacity=50); +} +.textbox-invalid { + border-color: #ffa8a8; + background-color: #fff3f3; +} +.slider-disabled { + opacity: 0.5; + filter: alpha(opacity=50); +} +.slider-h { + height: 22px; +} +.slider-v { + width: 22px; +} +.slider-inner { + position: relative; + height: 6px; + top: 7px; + border-width: 1px; + border-style: solid; + border-radius: 5px; +} +.slider-handle { + position: absolute; + display: block; + outline: none; + width: 20px; + height: 20px; + top: 50%; + margin-top: -10px; + margin-left: -10px; +} +.slider-tip { + position: absolute; + display: inline-block; + line-height: 12px; + font-size: 12px; + white-space: nowrap; + top: -22px; +} +.slider-rule { + position: relative; + top: 15px; +} +.slider-rule span { + position: absolute; + display: inline-block; + font-size: 0; + height: 5px; + border-width: 0 0 0 1px; + border-style: solid; +} +.slider-rulelabel { + position: relative; + top: 20px; +} +.slider-rulelabel span { + position: absolute; + display: inline-block; + font-size: 12px; +} +.slider-v .slider-inner { + width: 6px; + left: 7px; + top: 0; + float: left; +} +.slider-v .slider-handle { + left: 50%; + margin-top: -10px; +} +.slider-v .slider-tip { + left: -10px; + margin-top: -6px; +} +.slider-v .slider-rule { + float: left; + top: 0; + left: 16px; +} +.slider-v .slider-rule span { + width: 5px; + height: 'auto'; + border-left: 0; + border-width: 1px 0 0 0; + border-style: solid; +} +.slider-v .slider-rulelabel { + float: left; + top: 0; + left: 23px; +} +.slider-handle { + background: url('images/slider_handle.png') no-repeat; +} +.slider-inner { + border-color: #000; + background: #3d3d3d; +} +.slider-rule span { + border-color: #000; +} +.slider-rulelabel span { + color: #fff; +} +.menu { + position: absolute; + margin: 0; + padding: 2px; + border-width: 1px; + border-style: solid; + overflow: hidden; +} +.menu-item { + position: relative; + margin: 0; + padding: 0; + overflow: hidden; + white-space: nowrap; + cursor: pointer; + border-width: 1px; + border-style: solid; +} +.menu-text { + height: 20px; + line-height: 20px; + float: left; + padding-left: 28px; +} +.menu-icon { + position: absolute; + width: 16px; + height: 16px; + left: 2px; + top: 50%; + margin-top: -8px; +} +.menu-rightarrow { + position: absolute; + width: 16px; + height: 16px; + right: 0; + top: 50%; + margin-top: -8px; +} +.menu-line { + position: absolute; + left: 26px; + top: 0; + height: 2000px; + font-size: 1px; +} +.menu-sep { + margin: 3px 0px 3px 25px; + font-size: 1px; +} +.menu-active { + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +.menu-item-disabled { + opacity: 0.5; + filter: alpha(opacity=50); + cursor: default; +} +.menu-text, +.menu-text span { + font-size: 12px; +} +.menu-shadow { + position: absolute; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; + background: #777; + -moz-box-shadow: 2px 2px 3px #787878; + -webkit-box-shadow: 2px 2px 3px #787878; + box-shadow: 2px 2px 3px #787878; + filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); +} +.menu-rightarrow { + background: url('images/menu_arrows.png') no-repeat -32px center; +} +.menu-line { + border-left: 1px solid #444; + border-right: 1px solid #777; +} +.menu-sep { + border-top: 1px solid #444; + border-bottom: 1px solid #777; +} +.menu { + background-color: #666; + border-color: #444; + color: #fff; +} +.menu-content { + background: #666; +} +.menu-item { + border-color: transparent; + _border-color: #666; +} +.menu-active { + border-color: #555; + color: #fff; + background: #777; +} +.menu-active-disabled { + border-color: transparent; + background: transparent; + color: #fff; +} +.m-btn-downarrow, +.s-btn-downarrow { + display: inline-block; + position: absolute; + width: 16px; + height: 16px; + font-size: 1px; + right: 0; + top: 50%; + margin-top: -8px; +} +.m-btn-active, +.s-btn-active { + background: #777; + color: #fff; + border: 1px solid #555; + filter: none; +} +.m-btn-plain-active, +.s-btn-plain-active { + background: transparent; + padding: 0; + border-width: 1px; + border-style: solid; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +.m-btn .l-btn-left .l-btn-text { + margin-right: 20px; +} +.m-btn .l-btn-icon-right .l-btn-text { + margin-right: 40px; +} +.m-btn .l-btn-icon-right .l-btn-icon { + right: 20px; +} +.m-btn .l-btn-icon-top .l-btn-text { + margin-right: 4px; + margin-bottom: 14px; +} +.m-btn .l-btn-icon-bottom .l-btn-text { + margin-right: 4px; + margin-bottom: 34px; +} +.m-btn .l-btn-icon-bottom .l-btn-icon { + top: auto; + bottom: 20px; +} +.m-btn .l-btn-icon-top .m-btn-downarrow, +.m-btn .l-btn-icon-bottom .m-btn-downarrow { + top: auto; + bottom: 0px; + left: 50%; + margin-left: -8px; +} +.m-btn-line { + display: inline-block; + position: absolute; + font-size: 1px; + display: none; +} +.m-btn .l-btn-left .m-btn-line { + right: 0; + width: 16px; + height: 500px; + border-style: solid; + border-color: #cccccc; + border-width: 0 0 0 1px; +} +.m-btn .l-btn-icon-top .m-btn-line, +.m-btn .l-btn-icon-bottom .m-btn-line { + left: 0; + bottom: 0; + width: 500px; + height: 16px; + border-width: 1px 0 0 0; +} +.m-btn-large .l-btn-icon-right .l-btn-text { + margin-right: 56px; +} +.m-btn-large .l-btn-icon-bottom .l-btn-text { + margin-bottom: 50px; +} +.m-btn-downarrow, +.s-btn-downarrow { + background: url('images/menu_arrows.png') no-repeat 0 center; +} +.m-btn-plain-active, +.s-btn-plain-active { + border-color: #555; + background-color: #777; + color: #fff; +} +.s-btn:hover .m-btn-line, +.s-btn-active .m-btn-line, +.s-btn-plain-active .m-btn-line { + display: inline-block; +} +.l-btn:hover .s-btn-downarrow, +.s-btn-active .s-btn-downarrow, +.s-btn-plain-active .s-btn-downarrow { + border-style: solid; + border-color: #cccccc; + border-width: 0 0 0 1px; +} +.messager-body { + padding: 10px; + overflow: hidden; +} +.messager-button { + text-align: center; + padding-top: 10px; +} +.messager-button .l-btn { + width: 70px; +} +.messager-icon { + float: left; + width: 32px; + height: 32px; + margin: 0 10px 10px 0; +} +.messager-error { + background: url('images/messager_icons.png') no-repeat scroll -64px 0; +} +.messager-info { + background: url('images/messager_icons.png') no-repeat scroll 0 0; +} +.messager-question { + background: url('images/messager_icons.png') no-repeat scroll -32px 0; +} +.messager-warning { + background: url('images/messager_icons.png') no-repeat scroll -96px 0; +} +.messager-progress { + padding: 10px; +} +.messager-p-msg { + margin-bottom: 5px; +} +.messager-body .messager-input { + width: 100%; + padding: 1px 0; + border: 1px solid #000; +} +.tree { + margin: 0; + padding: 0; + list-style-type: none; +} +.tree li { + white-space: nowrap; +} +.tree li ul { + list-style-type: none; + margin: 0; + padding: 0; +} +.tree-node { + height: 18px; + white-space: nowrap; + cursor: pointer; +} +.tree-hit { + cursor: pointer; +} +.tree-expanded, +.tree-collapsed, +.tree-folder, +.tree-file, +.tree-checkbox, +.tree-indent { + display: inline-block; + width: 16px; + height: 18px; + vertical-align: top; + overflow: hidden; +} +.tree-expanded { + background: url('images/tree_icons.png') no-repeat -18px 0px; +} +.tree-expanded-hover { + background: url('images/tree_icons.png') no-repeat -50px 0px; +} +.tree-collapsed { + background: url('images/tree_icons.png') no-repeat 0px 0px; +} +.tree-collapsed-hover { + background: url('images/tree_icons.png') no-repeat -32px 0px; +} +.tree-lines .tree-expanded, +.tree-lines .tree-root-first .tree-expanded { + background: url('images/tree_icons.png') no-repeat -144px 0; +} +.tree-lines .tree-collapsed, +.tree-lines .tree-root-first .tree-collapsed { + background: url('images/tree_icons.png') no-repeat -128px 0; +} +.tree-lines .tree-node-last .tree-expanded, +.tree-lines .tree-root-one .tree-expanded { + background: url('images/tree_icons.png') no-repeat -80px 0; +} +.tree-lines .tree-node-last .tree-collapsed, +.tree-lines .tree-root-one .tree-collapsed { + background: url('images/tree_icons.png') no-repeat -64px 0; +} +.tree-line { + background: url('images/tree_icons.png') no-repeat -176px 0; +} +.tree-join { + background: url('images/tree_icons.png') no-repeat -192px 0; +} +.tree-joinbottom { + background: url('images/tree_icons.png') no-repeat -160px 0; +} +.tree-folder { + background: url('images/tree_icons.png') no-repeat -208px 0; +} +.tree-folder-open { + background: url('images/tree_icons.png') no-repeat -224px 0; +} +.tree-file { + background: url('images/tree_icons.png') no-repeat -240px 0; +} +.tree-loading { + background: url('images/loading.gif') no-repeat center center; +} +.tree-checkbox0 { + background: url('images/tree_icons.png') no-repeat -208px -18px; +} +.tree-checkbox1 { + background: url('images/tree_icons.png') no-repeat -224px -18px; +} +.tree-checkbox2 { + background: url('images/tree_icons.png') no-repeat -240px -18px; +} +.tree-title { + font-size: 12px; + display: inline-block; + text-decoration: none; + vertical-align: top; + white-space: nowrap; + padding: 0 2px; + height: 18px; + line-height: 18px; +} +.tree-node-proxy { + font-size: 12px; + line-height: 20px; + padding: 0 2px 0 20px; + border-width: 1px; + border-style: solid; + z-index: 9900000; +} +.tree-dnd-icon { + display: inline-block; + position: absolute; + width: 16px; + height: 18px; + left: 2px; + top: 50%; + margin-top: -9px; +} +.tree-dnd-yes { + background: url('images/tree_icons.png') no-repeat -256px 0; +} +.tree-dnd-no { + background: url('images/tree_icons.png') no-repeat -256px -18px; +} +.tree-node-top { + border-top: 1px dotted red; +} +.tree-node-bottom { + border-bottom: 1px dotted red; +} +.tree-node-append .tree-title { + border: 1px dotted red; +} +.tree-editor { + border: 1px solid #ccc; + font-size: 12px; + height: 14px !important; + height: 18px; + line-height: 14px; + padding: 1px 2px; + width: 80px; + position: absolute; + top: 0; +} +.tree-node-proxy { + background-color: #666; + color: #fff; + border-color: #000; +} +.tree-node-hover { + background: #777; + color: #fff; +} +.tree-node-selected { + background: #0052A3; + color: #fff; +} +.validatebox-invalid { + border-color: #ffa8a8; + background-color: #fff3f3; + color: #000; +} +.tooltip { + position: absolute; + display: none; + z-index: 9900000; + outline: none; + opacity: 1; + filter: alpha(opacity=100); + padding: 5px; + border-width: 1px; + border-style: solid; + border-radius: 5px; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; +} +.tooltip-content { + font-size: 12px; +} +.tooltip-arrow-outer, +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + line-height: 0; + font-size: 0; + border-style: solid; + border-width: 6px; + border-color: transparent; + _border-color: tomato; + _filter: chroma(color=tomato); +} +.tooltip-right .tooltip-arrow-outer { + left: 0; + top: 50%; + margin: -6px 0 0 -13px; +} +.tooltip-right .tooltip-arrow { + left: 0; + top: 50%; + margin: -6px 0 0 -12px; +} +.tooltip-left .tooltip-arrow-outer { + right: 0; + top: 50%; + margin: -6px -13px 0 0; +} +.tooltip-left .tooltip-arrow { + right: 0; + top: 50%; + margin: -6px -12px 0 0; +} +.tooltip-top .tooltip-arrow-outer { + bottom: 0; + left: 50%; + margin: 0 0 -13px -6px; +} +.tooltip-top .tooltip-arrow { + bottom: 0; + left: 50%; + margin: 0 0 -12px -6px; +} +.tooltip-bottom .tooltip-arrow-outer { + top: 0; + left: 50%; + margin: -13px 0 0 -6px; +} +.tooltip-bottom .tooltip-arrow { + top: 0; + left: 50%; + margin: -12px 0 0 -6px; +} +.tooltip { + background-color: #666; + border-color: #000; + color: #fff; +} +.tooltip-right .tooltip-arrow-outer { + border-right-color: #000; +} +.tooltip-right .tooltip-arrow { + border-right-color: #666; +} +.tooltip-left .tooltip-arrow-outer { + border-left-color: #000; +} +.tooltip-left .tooltip-arrow { + border-left-color: #666; +} +.tooltip-top .tooltip-arrow-outer { + border-top-color: #000; +} +.tooltip-top .tooltip-arrow { + border-top-color: #666; +} +.tooltip-bottom .tooltip-arrow-outer { + border-bottom-color: #000; +} +.tooltip-bottom .tooltip-arrow { + border-bottom-color: #666; +} diff --git a/src/main/webapp/lib/jquery-easyui/themes/black/filebox.css b/src/main/webapp/lib/jquery-easyui/themes/black/filebox.css new file mode 100644 index 0000000..6077ebd --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/themes/black/filebox.css @@ -0,0 +1,6 @@ +.filebox .textbox-value { + vertical-align: top; + position: absolute; + top: 0; + left: -5000px; +} diff --git a/src/main/webapp/lib/jquery-easyui/themes/black/images/accordion_arrows.png b/src/main/webapp/lib/jquery-easyui/themes/black/images/accordion_arrows.png new file mode 100644 index 0000000000000000000000000000000000000000..45fd44aa30476e107428feeea74273a354d3b003 GIT binary patch literal 122 zcmeAS@N?(olHy`uVBq!ia0vp^3P3Et!3HGD8EPYel%uDMV@SoVN1z5L3B> xDW~hhNx=}0EonJY9@lzK3(R79rLjPWf#H~1{zPk!fAK(V44$rjF6*2Ung93|vWVV6Z%4vL?&44I-o%PJ?Cx6QLVXnHR?Rhr;0){R%hr=okS>HS^0Qvf^!Vg~N^Sz&#ASvge z87j5M#D4oX@65PaX>s2t&yQ?p-0*+9{K1F+nQRT$=L)dM>6M4Gp7v%sn+|j&gQu&X J%Q~loCIFcQP)Gm( literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/black/images/datebox_arrow.png b/src/main/webapp/lib/jquery-easyui/themes/black/images/datebox_arrow.png new file mode 100644 index 0000000000000000000000000000000000000000..783c83357fdf90a1c7c024358e1d768b5c09c135 GIT binary patch literal 626 zcmV-&0*(ENP)5OC%H;f`~O(q$Q#t2<^v$A>fbmv%e#dKTwK=Ku{5lS|}<-`a#7b zzTCOnnT>at)D}AMFuOZ5&%EqFN(lyumd$2ASF6=;nM~%2?gqc@U=#|4PqkX@EBo-9 z7pD#bO_RUa>*faM`8;MYfVi$JnB-zcBFc6gjl$d!bF98Q!!!(Z1_R~P?e!pt#6CHJ9S&n_n&@=9 z%GP;!@Co4c*at+6vNz7o(6en^Q1%qHrc;1)9IRaz-$@S$Z-qdC^ds3X0NvQH;KS)D z-dh&rW&@X;1cS(45z)J&BVt+tv&GMVJ%!EiW) zLBGZW)#Z+gl-Lih&?>X3SS-S#ujQ;9JRXmIB7X)8`d6ETj)D#Q2+$s|<_b7-B9Xvq zwNfqlEp%y3$uY`h{Y$(Gn5@}sqEsq95lpAkFO5dyBmP6^H-51G4J|rN2Ujt<`2YX_ M07*qoM6N<$f3kcwMx!yWk;1b9CG_kXOx zmzFK*Ssi^NN-27((w?4M8@u`^_qP=9nfy4m{lwb6;U^wS@qDtp9?C45@HGEwayQ3S z%Ua=ZSB3W+c`gDw6;3c4*f@AGFEUxQKH4x2D*a5)78&qol`;+03qN((f|Me literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/black/images/linkbutton_bg.png b/src/main/webapp/lib/jquery-easyui/themes/black/images/linkbutton_bg.png new file mode 100644 index 0000000000000000000000000000000000000000..fc66bd2cd24047b8377342365a1df3846327ecde GIT binary patch literal 1274 zcmVc6j2;SWMDuL>F^vlqEUI{oOgO!xNf*11TukM z6kTZ3V2qd3<~<$H&Lrt?SpXUxF5Zb^}(={r!EHE+$QMdH|XZ zSYbMyc0tQc3qbP$tG{U_Jyg>I(0srOscEGU?-T)4AzuS$_2J>6`+BJ50YDY<^>2vV z+uI880P2ui(hyHiPrK$)CkbHg=kD&V3^8pD z0v3QOB&8eT@87?rgaGPrb#+ySxU;jP=nkL`nZ_{0e*BD+1Tc5b&d$oLo}8R$90gF1 z^ij>~#>R%HIRNUB_kgpQ+Lg!80Gbb2saY8>1EBeUm7A3TegK*dSciv)Wqp0!h-3im z1+1f^qq4iZ+ZEMUS63~e0I+zh`2rwd0l@!F(!7sM%_`|&0+*B!z{1(u+A9BIU&~T- z2he=L>dmc7TLXZFkeTeCHMcE|qX51{z>0ZC=xGjss*FaXGOMX+dHf8Z8hL6ntGQ_z zF9V<&dwY9jh`D7czyqj4g3S=~)zFA!0980RI4DC*Ez1%L09D8%=OHF&S@Q*;3bRfe zeL2-ZzyeT(Av4`$>R3`j096>WH7BOELD3yR70%Dk%Mk4)1W=73OH{L_UgIc$YFu7k zmRaq`&NxK?Rk*skDzlhL4IV!OsLJ*Ab@{BRT^TO}pgQC6xO~R6G8o_oU?C)>`xlc2 zriH~zU-;g$PyPA_&X!OBSU6SIeB~eKNAhF&(fs&F|1n9<+Yj^2T+4Dj%UFjr zZ%rnX^7Qmn0ANwP308gILtaQfK0Z1j0Br`Wq<=~Ka+?BxW&>7kRtZ+q>C~wJXg6S` zW|cJ1%?d#C0V@Ue)T{uY>425ig?tTsczEc(0+M8_c7^t|!sm-1Nw(}#nnLr?FgGlc zY}ut0+w(d)Uk6FDWtY;*aCdjteIX>tmhA#o+8PqHNU~+SlrTfyKRaNHBx~Ch-FJ3& z%B(Y&NwStp{rH$6Yj{YqhR=Gk~Mtw_&K$#yeTBf z7JV~bCN(VwL$c|B^>Topn-X{+7;S!yV~2^ zBgv-iMkME}U;-COwrsbABDvwg!2wA&ZMWttf5^jTl5E*7V41=|@=Hu>NJ^O8(7b4p z&ChgC(LF5>Md#{+4LgS{%KA|H(Xv`l4P^KdiBKB*_;1&m|Q7!{|O$ k%vVK{T!hwqk^D0L0mO==@4IV9lK=n!07*qoM6N<$f|Ge;n*aa+ literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/black/images/loading.gif b/src/main/webapp/lib/jquery-easyui/themes/black/images/loading.gif new file mode 100644 index 0000000000000000000000000000000000000000..68f01d04813c1f622810864a3aaa04b4a17ac8f9 GIT binary patch literal 1737 zcmaKsX;2e)7>CzDa{xjjy99|1A!tC(kfocDi)<1$AxHpOQ4k^l!Vx1W6x7<&|FYXU zqO4jEiU-!VR1p+Xj1?4-iuI_J;!&?!+ghg|JJad3U)pMGzcKxNeCM6tJnuX+uPvX@ zZY|=AHdxt2Xr2y*)5|c6#FSEuyJ+Y3Z&l z2hJWo`9;lJ$6wzSoW60tqkB|d$oiO*d-^85^ojn{*NR{MP*%{@H*#gihZ8BKyB68E z-MIbjgNNV0y5khpJ^Jv`51aR%={<4jhaVq5e*9D5+*hL)XCHn4{^d%hPu@?KpKbc=eN!D=XUjDmH#n{YHNS zHCX6BV)yn2CuTNujhN~V+`RKpyXO6^ht92eqhIIlQLfz6eeCnH_C7`NPNrw9ks366 z4xX9(`s~z=+1uX^ocZ$2_fBs=JihPfWYufOIuD&AU-@`>>qn~cy$1)T7CU!5z2(U8 z)9Kt9)l`f6?NU41j6XbXfR{OHwm|T4}&24tIf+!C-g~6cQfY2^n$?AT&ZW zgqm`}3-jS2NS6n=k;sr5Hv(Q%%n)qW0X|neWVBd;Ko}d(=u%?{O0-a>kSI}shOd9n z5top}%gUCf=>?tg;*;#7!^HOL3k$fMxd=O-6Y4@%u8LS)C1D_a?27R6^vcC+6tttL z)GmTahbyJB!xmcHL#ya8ZXyfRl)a!N0BJE0y3BBfAV5;#=K&Z2VkaKZ)?9`1h5P_% znt*b}%j1|#j`b|aQDx@~wA#$PYRN2xE6UO;;vE(@$&xww-s8fZ5HmJ(eJ*rQrDbaawDbrfe_8F(wq{ge?)qQG`aXV;r(*6EM|ESje;52aFmrX!f=Pw^2oGQX$1|o4yts|b_5@w_kNwtl{wDP#JGMvIp#!SYX?Wq9S&`&_ZwkgGH5CLB7DEGJ6=R4J~p3Z4i^A}hs=-uZeD zs92l6u@**R$~L()G{5N8*7cE5-q$SCo`q4|NSVF*+A7&xZnypm$EdXgf)E%(VJHFD zSgi(H!D!(;9Zcc#GrCCJh=RlvXBQ-hv4Vodse`a32ZUFWgP5ZhM5LeV(#D^H8p@Lg ztra5R32z@1rQv{6u&RZL5%Z@Ye{q|t#6aM_1hIrpl@)oH6}os*cbAQywa{5<`ekzW O1il%9bk82&KlvLjD^%40 literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/black/images/menu_arrows.png b/src/main/webapp/lib/jquery-easyui/themes/black/images/menu_arrows.png new file mode 100644 index 0000000000000000000000000000000000000000..2a984941d6590c78d67ee68d2087d8cc88efbac6 GIT binary patch literal 134 zcmeAS@N?(olHy`uVBq!ia0vp^4nQox!3HFkJ+IURQof!pjv*Dd-d;V(%b>u);`l3H z>g53sy@tf+`c*Dhco^6|8Eg#8WENqsU-wu%RB=*I5D$X7F_Nb6Mw<&;$S;RV&B< literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/black/images/messager_icons.png b/src/main/webapp/lib/jquery-easyui/themes/black/images/messager_icons.png new file mode 100644 index 0000000000000000000000000000000000000000..62c18c135860351063ebaabe8c0f4df7664b8f65 GIT binary patch literal 6116 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 lGy-mR literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/black/images/panel_tools.png b/src/main/webapp/lib/jquery-easyui/themes/black/images/panel_tools.png new file mode 100644 index 0000000000000000000000000000000000000000..f97761eb393def3b5f61774142413e740fe8fe8b GIT binary patch literal 184 zcmeAS@N?(olHy`uVBq!ia0vp^20*O9!3HEluKbn(QuUrLjv*Dd-p+93Yfuni{`r6T z$48CLf{EOzXU|M@xy0GMavBpu(5ti8zb3QZ+Tfp^siO37?WI*8%sM?7u5w1XttgAw z*Z5axHOr-aZj1~Mw;UHx3vIVCg!0FXpSG5`Po literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/black/images/searchbox_button.png b/src/main/webapp/lib/jquery-easyui/themes/black/images/searchbox_button.png new file mode 100644 index 0000000000000000000000000000000000000000..6dd1931589b453f6cc9772fd1851d8705d6b6631 GIT binary patch literal 813 zcmV+|1JeA7P)lXvaa)1B=8vtU6i;3jw7+Lm8D5$Z@i10EnF)=bcefw4K z$^E-CUfjQG`svfBbfD6|R#sLFj6lo3FG$G6@;ee>>~6i|H^5OY8c00W#fi<*1vzh{0&qu3dB`V0{{XDY`}(1n>S9M(9!zw#!&`A z#;*+0{6GVMSeWGp!`o{o8NPge#o%jgs54WT$qnQYpsyGNpauX05F;oJfZ`Pdw6!$j zynTH0RMa&!n3$Pa9zVGEY{&L(3qnPBl_DG6<9Xk0`Fl3`LiD4@pH{vDsxJWQ1qdJp zEJ>M}osCtQlY?CgW>F{;gVK#SmgoOZnEn5J%EtIXaWQXAO>Rdf)WFR;gt~f zXaA3z{{L{q=l48y!32yJ3i0hJ2BS=^}@sXzH{F9Iq&OW375;I7CG-}Vr|aF#l<(fySwu2>`YdxRW*W0f#2un=W5Jmvoe`XCK%I_Y++#`fwE+= zSd{sEULGDE%A=#BOW<6gP*6VfMa^fr8qe`5w%)P0a^Y9WGTw! zvI^|$>l@1Da^Ke1*T3RdY7KqM%gaBb(P+oP!GW;b?ZRfW3Bxc1H@GCaHK#XhZ*Lc= zRBC@>V&W#x&B5%(#>OW5`};d6I5Qw218EG_q@1gtr!Nl*v7yn?(MPMRt4SNy%--JK zanm#f^bw^}Nr7b(EUg}TUi(2;)deX10lAo=83+VA(QksJI6(zwptET-y~avN=J9w$ zI2`W5lG|aOkjY7(&!@;Jx*nUA>~J`Q)9L&(G8y=g$3a4YgD7z)5>gXQNKhw=uR0zF z#jHruh)gDv=bj|2ZES4(fEM?I!JyKqo=}sj-fBYTcDt4KXq)eFQH}wW`vh%Mla}#@ z@Mb`C)x@YkK{xd2>8ZLg+E!Lps$Q@6DY-~!0=Gs+Mm~_JnW1EbX2uxClEdN>Y@I78 z=ke_9?7sX@o0*x}M{JB77MIXj_MmNE%+1Xe{*{crh)9={dR(U;y-{jrxUXmG%Gt002ovPDHLkV1hy(sXhPz literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/black/images/spinner_arrows.png b/src/main/webapp/lib/jquery-easyui/themes/black/images/spinner_arrows.png new file mode 100644 index 0000000000000000000000000000000000000000..25ee848d772e71e591fdf4e4d07409b94e58fc92 GIT binary patch literal 112 zcmeAS@N?(olHy`uVBq!ia0vp^3P3Et!3HGD8EPYel)0yiV@SoV}ezCPaUb%ArQw1m64&Nzopr0N{TzyZ`_I literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/black/images/tree_icons.png b/src/main/webapp/lib/jquery-easyui/themes/black/images/tree_icons.png new file mode 100644 index 0000000000000000000000000000000000000000..2b4fd2025c7588c84df27d89466b470e273f5c06 GIT binary patch literal 3086 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 literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/black/images/validatebox_warning.png b/src/main/webapp/lib/jquery-easyui/themes/black/images/validatebox_warning.png new file mode 100644 index 0000000000000000000000000000000000000000..2b3d4f05babf3f82b146350e96570fac02075de0 GIT binary patch literal 921 zcmV;K17`e*P)nRv1_mBsMY*-M^XCf)eflW5 z|MC^)Hw+AW{sHCCF+cz@{fF8J!+#-kxoSv=7^|!zgOQUngSQ}mDo|J)n+pH}hzZ#= zr~y18$_m-?9v%$;?mu8);}>9vFgFvDXJDwrW&l6{p}625M66yTFhGz^K$w9^O$BHi zFN2Ym7DIple*#cW4BY^L0Al(Jbv6k9U|^6IQBp{hx3XdQ&CJ4Z_|YSVr@XujY(PVT zlok1<85nBO4FCurumK>O|A07*jFlSRUcxLAQVcIR*co#3@)&jj4Pj7KXRri%#h;fa z4ya5O*#Lk5Vq!q}T~=CGH(uV-hJk^fkAYoGjN#AMuMF($>N=giWG}IXse|=+c=i>7HEg>%*E%fLD!-uy|85n^6W?^Dt(9zXp5EB&z+w>_knBmdiKMbzi z?A!`WOl>e100a=&05*1xZdFls?*HtZ48H?o7=HW%ivIu45E2~BASWx!@DIpmv9e}h zaPwji|L}pqor@y`=yxrU0RRES^qYY}O;TRcU+DKIhL4`%3_nyf8U6tS<<-ZJ40D$( zWjJ%`G6NIPHNP2{7am*Fp% z{>ShK#0G`~kjd~57_BUUT_Y-nKxaI`{RC0WjSLJ&w^R(C-|JQTojLXc1&{d*_z{$ jW+oTMdQ(F|jDg|L>K${_)^zO#I)%a0)z4*}Q$iB}_fAN- literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/blank.gif b/src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/blank.gif new file mode 100644 index 0000000000000000000000000000000000000000..1d11fa9ada9e93505b3d736acb204083f45d5fbf GIT binary patch literal 43 scmZ?wbhEHbWMp7uX!y@?;J^U}1_s5SEQ~;kK?g*DWEhy3To@Uw0n;G|I{*Lx literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/calendar_arrows.png b/src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/calendar_arrows.png new file mode 100644 index 0000000000000000000000000000000000000000..430c4ad685b8c0068ecb7e3cbef74f493a84ad0d GIT binary patch literal 173 zcmeAS@N?(olHy`uVBq!ia0vp^4nQox!3HFkJ+IURQYD@)jv*Dd-cCEn)nLHm{QbZE z+q@uWwandfr?Jb4eDYYmB3UAt=OO2Vt+MMT&+KD%&6hZDt!FBpej;sEpMN69^tKl% zp6y<4_lG^P z=;=eQ4Vs74-2)Ua&f1tcVdk$#{GPKe@&?ZMHmT&SMw?IV&w7)}ixLbB3d$Zg{&KGb P8OPx1>gTe~DWM4f WNYm=W^A8UI00005OC%H;f`~O(q$Q#t2<^v$A>fbmv%e#dKTwK=Ku{5lS|}<-`a#7b zzTCOnnT>at)D}AMFuOZ5&%EqFN(lyumd$2ASF6=;nM~%2?gqc@U=#|4PqkX@EBo-9 z7pD#bO_RUa>*faM`8;MYfVi$JnB-zcBFc6gjl$d!bF98Q!!!(Z1_R~P?e!pt#6CHJ9S&n_n&@=9 z%GP;!@Co4c*at+6vNz7o(6en^Q1%qHrc;1)9IRaz-$@S$Z-qdC^ds3X0NvQH;KS)D z-dh&rW&@X;1cS(45z)J&BVt+tv&GMVJ%!EiW) zLBGZW)#Z+gl-Lih&?>X3SS-S#ujQ;9JRXmIB7X)8`d6ETj)D#Q2+$s|<_b7-B9Xvq zwNfqlEp%y3$uY`h{Y$(Gn5@}sqEsq95lpAkFO5dyBmP6^H-51G4J|rN2Ujt<`2YX_ M07*qoM6N<$fRl}UZ@-Co%Cq`k{wEj}Dr>ShP9AQ|IKKA30{ejJboVoF`C-z@6mZMY&%Wiz%6S}#zb4u?o?9Mi=ECopVxzz+sNviAA!DK)mm8xe zgY9ZT9jlddc^&y2^u9XqDeU4{8s^AS#8C7TXsxEJW@uLu(3Whc35-X6v}jEgEb{G` z!{)$uKzw<~%0A6PhNHYfSuTvOzD8LpPF>PVr=&QqGC936QlPgc6j2;SWMDuL>F^vlqEUI{oOgO!xNf*11TukM z6kTZ3V2qd3<~<$H&Lrt?SpXUxF5Zb^}(={r!EHE+$QMdH|XZ zSYbMyc0tQc3qbP$tG{U_Jyg>I(0srOscEGU?-T)4AzuS$_2J>6`+BJ50YDY<^>2vV z+uI880P2ui(hyHiPrK$)CkbHg=kD&V3^8pD z0v3QOB&8eT@87?rgaGPrb#+ySxU;jP=nkL`nZ_{0e*BD+1Tc5b&d$oLo}8R$90gF1 z^ij>~#>R%HIRNUB_kgpQ+Lg!80Gbb2saY8>1EBeUm7A3TegK*dSciv)Wqp0!h-3im z1+1f^qq4iZ+ZEMUS63~e0I+zh`2rwd0l@!F(!7sM%_`|&0+*B!z{1(u+A9BIU&~T- z2he=L>dmc7TLXZFkeTeCHMcE|qX51{z>0ZC=xGjss*FaXGOMX+dHf8Z8hL6ntGQ_z zF9V<&dwY9jh`D7czyqj4g3S=~)zFA!0980RI4DC*Ez1%L09D8%=OHF&S@Q*;3bRfe zeL2-ZzyeT(Av4`$>R3`j096>WH7BOELD3yR70%Dk%Mk4)1W=73OH{L_UgIc$YFu7k zmRaq`&NxK?Rk*skDzlhL4IV!OsLJ*Ab@{BRT^TO}pgQC6xO~R6G8o_oU?C)>`xlc2 zriH~zU-;g$PyPA_&X!OBSU6SIeB~eKNAhF&(fs&F|1n9<+Yj^2T+4Dj%UFjr zZ%rnX^7Qmn0ANwP308gILtaQfK0Z1j0Br`Wq<=~Ka+?BxW&>7kRtZ+q>C~wJXg6S` zW|cJ1%?d#C0V@Ue)T{uY>425ig?tTsczEc(0+M8_c7^t|!sm-1Nw(}#nnLr?FgGlc zY}ut0+w(d)Uk6FDWtY;*aCdjteIX>tmhA#o+8PqHNU~+SlrTfyKRaNHBx~Ch-FJ3& z%B(Y&NwStp{rH$6Yj{YqhR=Gk~Mtw_&K$#yeTBf z7JV~bCN(VwL$c|B^>Topn-X{+7;S!yV~2^ zBgv-iMkME}U;-COwrsbABDvwg!2wA&ZMWttf5^jTl5E*7V41=|@=Hu>NJ^O8(7b4p z&ChgC(LF5>Md#{+4LgS{%KA|H(Xv`l4P^KdiBKB*_;1&m|Q7!{|O$ k%vVK{T!hwqk^D0L0mO==@4IV9lK=n!07*qoM6N<$f|Ge;n*aa+ literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/loading.gif b/src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/loading.gif new file mode 100644 index 0000000000000000000000000000000000000000..68f01d04813c1f622810864a3aaa04b4a17ac8f9 GIT binary patch literal 1737 zcmaKsX;2e)7>CzDa{xjjy99|1A!tC(kfocDi)<1$AxHpOQ4k^l!Vx1W6x7<&|FYXU zqO4jEiU-!VR1p+Xj1?4-iuI_J;!&?!+ghg|JJad3U)pMGzcKxNeCM6tJnuX+uPvX@ zZY|=AHdxt2Xr2y*)5|c6#FSEuyJ+Y3Z&l z2hJWo`9;lJ$6wzSoW60tqkB|d$oiO*d-^85^ojn{*NR{MP*%{@H*#gihZ8BKyB68E z-MIbjgNNV0y5khpJ^Jv`51aR%={<4jhaVq5e*9D5+*hL)XCHn4{^d%hPu@?KpKbc=eN!D=XUjDmH#n{YHNS zHCX6BV)yn2CuTNujhN~V+`RKpyXO6^ht92eqhIIlQLfz6eeCnH_C7`NPNrw9ks366 z4xX9(`s~z=+1uX^ocZ$2_fBs=JihPfWYufOIuD&AU-@`>>qn~cy$1)T7CU!5z2(U8 z)9Kt9)l`f6?NU41j6XbXfR{OHwm|T4}&24tIf+!C-g~6cQfY2^n$?AT&ZW zgqm`}3-jS2NS6n=k;sr5Hv(Q%%n)qW0X|neWVBd;Ko}d(=u%?{O0-a>kSI}shOd9n z5top}%gUCf=>?tg;*;#7!^HOL3k$fMxd=O-6Y4@%u8LS)C1D_a?27R6^vcC+6tttL z)GmTahbyJB!xmcHL#ya8ZXyfRl)a!N0BJE0y3BBfAV5;#=K&Z2VkaKZ)?9`1h5P_% znt*b}%j1|#j`b|aQDx@~wA#$PYRN2xE6UO;;vE(@$&xww-s8fZ5HmJ(eJ*rQrDbaawDbrfe_8F(wq{ge?)qQG`aXV;r(*6EM|ESje;52aFmrX!f=Pw^2oGQX$1|o4yts|b_5@w_kNwtl{wDP#JGMvIp#!SYX?Wq9S&`&_ZwkgGH5CLB7DEGJ6=R4J~p3Z4i^A}hs=-uZeD zs92l6u@**R$~L()G{5N8*7cE5-q$SCo`q4|NSVF*+A7&xZnypm$EdXgf)E%(VJHFD zSgi(H!D!(;9Zcc#GrCCJh=RlvXBQ-hv4Vodse`a32ZUFWgP5ZhM5LeV(#D^H8p@Lg ztra5R32z@1rQv{6u&RZL5%Z@Ye{q|t#6aM_1hIrpl@)oH6}os*cbAQywa{5<`ekzW O1il%9bk82&KlvLjD^%40 literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/menu_arrows.png b/src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/menu_arrows.png new file mode 100644 index 0000000000000000000000000000000000000000..b986842e7e4044caed18edbcb4b376a4bb915623 GIT binary patch literal 160 zcmeAS@N?(olHy`uVBq!ia0vp^4nQox!3HFkJ+IURQt6&9jv*Dd-cB{-J7B=U{PTZ! zWrKV9%Z3|Wt5t$(gq+#d+-OocB$0fsr9DfRx52vPhSu$$+yXuy+69hDZ54DDTxx#r zL7>-12UT01v)>tZ+;HI4pDNf?@KK~EC$@35ykmXyu^HJF3})N>8P9Uwo&~g$!PC{x JWt~$(697!FIeGv9 literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/messager_icons.png b/src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/messager_icons.png new file mode 100644 index 0000000000000000000000000000000000000000..62c18c135860351063ebaabe8c0f4df7664b8f65 GIT binary patch literal 6116 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 literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/spinner_arrows.png b/src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/spinner_arrows.png new file mode 100644 index 0000000000000000000000000000000000000000..b68592de3200fbe1f7defe98a2b59b0398b1b737 GIT binary patch literal 115 zcmeAS@N?(olHy`uVBq!ia0vp^3P3Et!3HGD8EPYel$EE8V@SoV_tDnm{r-UW|t3f!- literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/tree_icons.png b/src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/tree_icons.png new file mode 100644 index 0000000000000000000000000000000000000000..e9be4f3a9965e49a4e4078f8c53f486d761a7468 GIT binary patch literal 3115 zcmV+`4Ak?9P)g24+u&k_UG+WCVnOW0FwMG}(2wGOI!IUx6nn{~p zK+GuW#mGkun)pBk1bIKq2~!>yc`1oJM7TV}|D1iU2d{7+=iGY*Zhd>Ly{>T1|31#) z``!Py&-u2D@h}=|*RDlx>VNK^-`@2+c<|uCg9rZx;|}7def~CV*Z^~Bvlk0y6WzaX zO7)0#uj7>9!NW$89WfP@S>cZ$8!Q+fgf5CL6uf3z7yRUM87*26} zc7){+S-^&{P?s;BN|=J}jRBY%>({~FW^;}1pOKM)t5>h~iiN9a?!cQxZAh)Xj-Cbx z-`;!M?b&%0#)k;`qJa#-vG>Q}$a}tsUq2e(hTV((>qg+4HQwkBk0=8Pvw9^Cq^lEg zdeuqA0@yH%5C8TbQ7FAuPv)$7}<1EDF0(%7?l zFbWC^aJxRrM0VGoK7AU797tDK7;+<$&S&$O=E0jr=dtI#Mi}^Lj%@MJAfHcF&7V~L z9{C-M@yx;LV9VXsm^~;2kSkZNAUZl48jS|l!o$zcPfR)cpTBxt1jyGH+b}s@ix?{* zva6z1d_Kwx*Em4z1t9hkRIktt&M27~fn9HSAUiu7xAa1^d@L`8=OBG*YAWP95Muxt z_tB*4MY&JFGt@VQ&0vE%Kh&Zz69xp2+C4k&QT(@l8FD*tj#rt$qJ}_46BhKjt3qv;#5snD)toChHG|az}_Ova+&pD$++$mLMTL8(gYsda--Qdr^s;scOOAj6rKuR0A1K|$D zwvqa;$-2QQ+d)KN+h3hJ0V2=6MBx01WxD;(t{3%&0iw)-+&xz{e$xAoYSY?2!)r+k zZ#XX*S26khN18sn5QI$aW}IkRjhB<2h5O?Bsf!mj*3+{)$lP6*009WQ@_QKCDZbm|CEu64xY6& z5Gt5Tbq^`!7Ey~DbpY8fz=NhQUtUyR1EGScRQHgQes`%^5kUBM?m)~&;y)+o24}@P z@>1A0D#$?u2K9l9?LjKVz)ogJSEeFiN7VNp}@yO1c)Y7cDEG($y9!m{QGyrY+<=2p)AU z*G&S1-^bB+?gOzG2SS%w#lczlhP)K^ja<^NJ3z>Vm;{d+XAk)!Z@ZtUSL{Ht4LT5U zCNpZ0f5KZi0f?K5I7Aer^o`C=v>eLmnr)!Qs)%VeL0~SXdbB`TZ-=>)+tD?{7n~`)x0Lx#}LM zSGtQ=OsMEdbqkt$(BMx@OvITpXKn)s?b|hXu5iQlV3*tUGQoF{PPQ?3zHwiBdeZmRsDM2OMC?I;L(FYK%i-foYaSh6a)mCmdHtcct`+I zl7`;@l&2SNnDo+uwuv(rzRAxf54-vX=kK2f4<0;t@ZjHKedqJ@o*+DU@ZiCNI}q+b zxc;Xae`jps9$(+=lYy^bo2Tcu3mEf|wmr?5>lQb+z43v8`22wf&Ms$c8Ycq}9yW}T z^VdR2QuG!5CIKE_Pk#7^y7TAIQCWr0=;?W=_}Fo@mlmQ{Q;djT zJzg4QPY|K*WHmi>UkJaOly@bwL{EdVsOYSiWo5-emY}k-43{odqNb)Ab#*mpXsAPD zV}m$=>Cx7Do$gkWma?|?vY4bXq~Go5ce?(Z0FS8k&`ubNj-z`}nU#Z&y}XWn;No&X zlYA15Nr#a)YzQu_S&1Jnlw$J(lZs^>K)M^1?n><~cu-d|x+|5sl=TJ6&bRaRFs1-v zZtyoXT@wc|ZL_sr4m_Hho4V;!UVarF7mEdW3`D&T!{srK(8ljZ>B&?S9Xp1G*;#RCMe;#Qa46TRJU)rxEXz?7a%C+>QP&YDKOh@Zts7sj=Ev<#2 z#dEYO*Gho!6}i0#5PNbUat6Ov+YD)6rFvDg3N0;KGx}oOx5E#k)V>(I(^q`--8oiF zf`uB8BxR^eI#5$Zxl-N>jb83Ba4lqu2ELON*`F7*ZB0I^Si*pma1 z1CQ3$783w44G%d0A+2hsN(6^$`%QSLM~VL?c(k{-bt3MB$O z&U-NwjCRK9QEtd|6W}4ZkFqa5M};ueS*KEEy(qk-(St#~Kd1)?^#TzGvlRf5`hX~b z2z4JL=Rw`bsHqS^;H*M`&?;R0PGo8$5HZo^N>*1dYxO1uSdZv?`}14db<9>%QfptI z2BjQ$7#hG`^#lq-@SrrMm!>U}10j$QK%}2ZYfL|vG53!K4m_ecnS#2wuLO9wAy+gbS0xM zWHgPTu4FXusY{uX*QVw{#=4U6t04R;%$;x`a^PVK0H&rba`e*G7JcU-O=IYH#`IeT z4cS|K^eC>Lh)4b~S6$7+nL)EPN^l;#5a;NCy}}nsjH4sYsnsY*PDaS^;m7XyRTyi7 zx{*;=G8*{QrA&#II*$=V$cfN&hH4^IST*(k!bpGM{5}remCOXAH=Ez7K@DlF@x2)TNB^;L(R2h#YvB1Aqh%N=x+S;9*D~IdNiPZHWe@p(~N( z?uLr35hyPxz&j&HX1?L&b)qOMOLQLLuC6#57>IIVb`m;$dWGGb9O_O+UCQ{MY0n4m z2_oNtC`m&A=q-H+V^hOt&eU8k)u1sy7Z>vK5T;UPQJuqwF&Ca| z&YY@+jQR7?!Gnj5g1*_w0nn9@uD6sM%f6&v%GfVAPnz^YTyO~1d3z^6&sgVwb-9SK zdxAYZ52=?gN9aQjmHvjYS^SLi;10wN-aii>Jb3(M`wpy literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/validatebox_warning.png b/src/main/webapp/lib/jquery-easyui/themes/bootstrap/images/validatebox_warning.png new file mode 100644 index 0000000000000000000000000000000000000000..2b3d4f05babf3f82b146350e96570fac02075de0 GIT binary patch literal 921 zcmV;K17`e*P)nRv1_mBsMY*-M^XCf)eflW5 z|MC^)Hw+AW{sHCCF+cz@{fF8J!+#-kxoSv=7^|!zgOQUngSQ}mDo|J)n+pH}hzZ#= zr~y18$_m-?9v%$;?mu8);}>9vFgFvDXJDwrW&l6{p}625M66yTFhGz^K$w9^O$BHi zFN2Ym7DIple*#cW4BY^L0Al(Jbv6k9U|^6IQBp{hx3XdQ&CJ4Z_|YSVr@XujY(PVT zlok1<85nBO4FCurumK>O|A07*jFlSRUcxLAQVcIR*co#3@)&jj4Pj7KXRri%#h;fa z4ya5O*#Lk5Vq!q}T~=CGH(uV-hJk^fkAYoGjN#AMuMF($>N=giWG}IXse|=+c=i>7HEg>%*E%fLD!-uy|85n^6W?^Dt(9zXp5EB&z+w>_knBmdiKMbzi z?A!`WOl>e100a=&05*1xZdFls?*HtZ48H?o7=HW%ivIu45E2~BASWx!@DIpmv9e}h zaPwji|L}pqor@y`=yxrU0RRES^qYY}O;TRcU+DKIhL4`%3_nyf8U6tS<<-ZJ40D$( zWjJ%`G6NIPHNP2{7am*Fp% z{>ShK#0G`~kjd~57_BUUT_Y-nKxaI`{RC0WjSLJ&w^R(C-|JQTojLXc1&{d*_z{$ jW+oTMdQ(F|jDg|L>K${_)^zO#I)%a0)z4*}Q$iB}_fAN- literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/default/images/blank.gif b/src/main/webapp/lib/jquery-easyui/themes/default/images/blank.gif new file mode 100644 index 0000000000000000000000000000000000000000..1d11fa9ada9e93505b3d736acb204083f45d5fbf GIT binary patch literal 43 scmZ?wbhEHbWMp7uX!y@?;J^U}1_s5SEQ~;kK?g*DWEhy3To@Uw0n;G|I{*Lx literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/default/images/calendar_arrows.png b/src/main/webapp/lib/jquery-easyui/themes/default/images/calendar_arrows.png new file mode 100644 index 0000000000000000000000000000000000000000..430c4ad685b8c0068ecb7e3cbef74f493a84ad0d GIT binary patch literal 173 zcmeAS@N?(olHy`uVBq!ia0vp^4nQox!3HFkJ+IURQYD@)jv*Dd-cCEn)nLHm{QbZE z+q@uWwandfr?Jb4eDYYmB3UAt=OO2Vt+MMT&+KD%&6hZDt!FBpej;sEpMN69^tKl% zp6y<4_lG^P z=;=eQ4Vs74-2)Ua&f1tcVdk$#{GPKe@&?ZMHmT&SMw?IV&w7)}ixLbB3d$Zg{&KGb P8OPx1>gTe~DWM4f WNYm=W^A8UI00005OC%H;f`~O(q$Q#t2<^v$A>fbmv%e#dKTwK=Ku{5lS|}<-`a#7b zzTCOnnT>at)D}AMFuOZ5&%EqFN(lyumd$2ASF6=;nM~%2?gqc@U=#|4PqkX@EBo-9 z7pD#bO_RUa>*faM`8;MYfVi$JnB-zcBFc6gjl$d!bF98Q!!!(Z1_R~P?e!pt#6CHJ9S&n_n&@=9 z%GP;!@Co4c*at+6vNz7o(6en^Q1%qHrc;1)9IRaz-$@S$Z-qdC^ds3X0NvQH;KS)D z-dh&rW&@X;1cS(45z)J&BVt+tv&GMVJ%!EiW) zLBGZW)#Z+gl-Lih&?>X3SS-S#ujQ;9JRXmIB7X)8`d6ETj)D#Q2+$s|<_b7-B9Xvq zwNfqlEp%y3$uY`h{Y$(Gn5@}sqEsq95lpAkFO5dyBmP6^H-51G4J|rN2Ujt<`2YX_ M07*qoM6N<$fRl}UZ@-Co%Cq`k{wEj}Dr>ShP9AQ|IKKA30{ejJboVoF`C-z@6mZMY&%Wiz%6S}#zb4u?o?9Mi=ECopVxzz+sNviAA!DK)mm8xe zgY9ZT9jlddc^&y2^u9XqDeU4{8s^AS#8C7TXsxEJW@uLu(3Whc35-X6v}jEgEb{G` z!{)$uKzw<~%0A6PhNHYfSuTvOzD8LpPF>PVr=&QqGC936QlPgc6j2;SWMDuL>F^vlqEUI{oOgO!xNf*11TukM z6kTZ3V2qd3<~<$H&Lrt?SpXUxF5Zb^}(={r!EHE+$QMdH|XZ zSYbMyc0tQc3qbP$tG{U_Jyg>I(0srOscEGU?-T)4AzuS$_2J>6`+BJ50YDY<^>2vV z+uI880P2ui(hyHiPrK$)CkbHg=kD&V3^8pD z0v3QOB&8eT@87?rgaGPrb#+ySxU;jP=nkL`nZ_{0e*BD+1Tc5b&d$oLo}8R$90gF1 z^ij>~#>R%HIRNUB_kgpQ+Lg!80Gbb2saY8>1EBeUm7A3TegK*dSciv)Wqp0!h-3im z1+1f^qq4iZ+ZEMUS63~e0I+zh`2rwd0l@!F(!7sM%_`|&0+*B!z{1(u+A9BIU&~T- z2he=L>dmc7TLXZFkeTeCHMcE|qX51{z>0ZC=xGjss*FaXGOMX+dHf8Z8hL6ntGQ_z zF9V<&dwY9jh`D7czyqj4g3S=~)zFA!0980RI4DC*Ez1%L09D8%=OHF&S@Q*;3bRfe zeL2-ZzyeT(Av4`$>R3`j096>WH7BOELD3yR70%Dk%Mk4)1W=73OH{L_UgIc$YFu7k zmRaq`&NxK?Rk*skDzlhL4IV!OsLJ*Ab@{BRT^TO}pgQC6xO~R6G8o_oU?C)>`xlc2 zriH~zU-;g$PyPA_&X!OBSU6SIeB~eKNAhF&(fs&F|1n9<+Yj^2T+4Dj%UFjr zZ%rnX^7Qmn0ANwP308gILtaQfK0Z1j0Br`Wq<=~Ka+?BxW&>7kRtZ+q>C~wJXg6S` zW|cJ1%?d#C0V@Ue)T{uY>425ig?tTsczEc(0+M8_c7^t|!sm-1Nw(}#nnLr?FgGlc zY}ut0+w(d)Uk6FDWtY;*aCdjteIX>tmhA#o+8PqHNU~+SlrTfyKRaNHBx~Ch-FJ3& z%B(Y&NwStp{rH$6Yj{YqhR=Gk~Mtw_&K$#yeTBf z7JV~bCN(VwL$c|B^>Topn-X{+7;S!yV~2^ zBgv-iMkME}U;-COwrsbABDvwg!2wA&ZMWttf5^jTl5E*7V41=|@=Hu>NJ^O8(7b4p z&ChgC(LF5>Md#{+4LgS{%KA|H(Xv`l4P^KdiBKB*_;1&m|Q7!{|O$ k%vVK{T!hwqk^D0L0mO==@4IV9lK=n!07*qoM6N<$f|Ge;n*aa+ literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/default/images/loading.gif b/src/main/webapp/lib/jquery-easyui/themes/default/images/loading.gif new file mode 100644 index 0000000000000000000000000000000000000000..68f01d04813c1f622810864a3aaa04b4a17ac8f9 GIT binary patch literal 1737 zcmaKsX;2e)7>CzDa{xjjy99|1A!tC(kfocDi)<1$AxHpOQ4k^l!Vx1W6x7<&|FYXU zqO4jEiU-!VR1p+Xj1?4-iuI_J;!&?!+ghg|JJad3U)pMGzcKxNeCM6tJnuX+uPvX@ zZY|=AHdxt2Xr2y*)5|c6#FSEuyJ+Y3Z&l z2hJWo`9;lJ$6wzSoW60tqkB|d$oiO*d-^85^ojn{*NR{MP*%{@H*#gihZ8BKyB68E z-MIbjgNNV0y5khpJ^Jv`51aR%={<4jhaVq5e*9D5+*hL)XCHn4{^d%hPu@?KpKbc=eN!D=XUjDmH#n{YHNS zHCX6BV)yn2CuTNujhN~V+`RKpyXO6^ht92eqhIIlQLfz6eeCnH_C7`NPNrw9ks366 z4xX9(`s~z=+1uX^ocZ$2_fBs=JihPfWYufOIuD&AU-@`>>qn~cy$1)T7CU!5z2(U8 z)9Kt9)l`f6?NU41j6XbXfR{OHwm|T4}&24tIf+!C-g~6cQfY2^n$?AT&ZW zgqm`}3-jS2NS6n=k;sr5Hv(Q%%n)qW0X|neWVBd;Ko}d(=u%?{O0-a>kSI}shOd9n z5top}%gUCf=>?tg;*;#7!^HOL3k$fMxd=O-6Y4@%u8LS)C1D_a?27R6^vcC+6tttL z)GmTahbyJB!xmcHL#ya8ZXyfRl)a!N0BJE0y3BBfAV5;#=K&Z2VkaKZ)?9`1h5P_% znt*b}%j1|#j`b|aQDx@~wA#$PYRN2xE6UO;;vE(@$&xww-s8fZ5HmJ(eJ*rQrDbaawDbrfe_8F(wq{ge?)qQG`aXV;r(*6EM|ESje;52aFmrX!f=Pw^2oGQX$1|o4yts|b_5@w_kNwtl{wDP#JGMvIp#!SYX?Wq9S&`&_ZwkgGH5CLB7DEGJ6=R4J~p3Z4i^A}hs=-uZeD zs92l6u@**R$~L()G{5N8*7cE5-q$SCo`q4|NSVF*+A7&xZnypm$EdXgf)E%(VJHFD zSgi(H!D!(;9Zcc#GrCCJh=RlvXBQ-hv4Vodse`a32ZUFWgP5ZhM5LeV(#D^H8p@Lg ztra5R32z@1rQv{6u&RZL5%Z@Ye{q|t#6aM_1hIrpl@)oH6}os*cbAQywa{5<`ekzW O1il%9bk82&KlvLjD^%40 literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/default/images/menu_arrows.png b/src/main/webapp/lib/jquery-easyui/themes/default/images/menu_arrows.png new file mode 100644 index 0000000000000000000000000000000000000000..b986842e7e4044caed18edbcb4b376a4bb915623 GIT binary patch literal 160 zcmeAS@N?(olHy`uVBq!ia0vp^4nQox!3HFkJ+IURQt6&9jv*Dd-cB{-J7B=U{PTZ! zWrKV9%Z3|Wt5t$(gq+#d+-OocB$0fsr9DfRx52vPhSu$$+yXuy+69hDZ54DDTxx#r zL7>-12UT01v)>tZ+;HI4pDNf?@KK~EC$@35ykmXyu^HJF3})N>8P9Uwo&~g$!PC{x JWt~$(697!FIeGv9 literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/default/images/messager_icons.png b/src/main/webapp/lib/jquery-easyui/themes/default/images/messager_icons.png new file mode 100644 index 0000000000000000000000000000000000000000..62c18c135860351063ebaabe8c0f4df7664b8f65 GIT binary patch literal 6116 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 literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/default/images/spinner_arrows.png b/src/main/webapp/lib/jquery-easyui/themes/default/images/spinner_arrows.png new file mode 100644 index 0000000000000000000000000000000000000000..b68592de3200fbe1f7defe98a2b59b0398b1b737 GIT binary patch literal 115 zcmeAS@N?(olHy`uVBq!ia0vp^3P3Et!3HGD8EPYel$EE8V@SoV_tDnm{r-UW|t3f!- literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/default/images/tree_icons.png b/src/main/webapp/lib/jquery-easyui/themes/default/images/tree_icons.png new file mode 100644 index 0000000000000000000000000000000000000000..e9be4f3a9965e49a4e4078f8c53f486d761a7468 GIT binary patch literal 3115 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 literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/default/images/validatebox_warning.png b/src/main/webapp/lib/jquery-easyui/themes/default/images/validatebox_warning.png new file mode 100644 index 0000000000000000000000000000000000000000..2b3d4f05babf3f82b146350e96570fac02075de0 GIT binary patch literal 921 zcmV;K17`e*P)nRv1_mBsMY*-M^XCf)eflW5 z|MC^)Hw+AW{sHCCF+cz@{fF8J!+#-kxoSv=7^|!zgOQUngSQ}mDo|J)n+pH}hzZ#= zr~y18$_m-?9v%$;?mu8);}>9vFgFvDXJDwrW&l6{p}625M66yTFhGz^K$w9^O$BHi zFN2Ym7DIple*#cW4BY^L0Al(Jbv6k9U|^6IQBp{hx3XdQ&CJ4Z_|YSVr@XujY(PVT zlok1<85nBO4FCurumK>O|A07*jFlSRUcxLAQVcIR*co#3@)&jj4Pj7KXRri%#h;fa z4ya5O*#Lk5Vq!q}T~=CGH(uV-hJk^fkAYoGjN#AMuMF($>N=giWG}IXse|=+c=i>7HEg>%*E%fLD!-uy|85n^6W?^Dt(9zXp5EB&z+w>_knBmdiKMbzi z?A!`WOl>e100a=&05*1xZdFls?*HtZ48H?o7=HW%ivIu45E2~BASWx!@DIpmv9e}h zaPwji|L}pqor@y`=yxrU0RRES^qYY}O;TRcU+DKIhL4`%3_nyf8U6tS<<-ZJ40D$( zWjJ%`G6NIPHNP2{7am*Fp% z{>ShK#0G`~kjd~57_BUHq8x z8Mn?6aTf^k-V*tOYvn_ZO}fk5lvg|}E|PI9vs&aPwII@?XO4*juRBlIrj#un@>dub Yl7)&6CQe}74m6L!)78&qol`;+0Id=veEh?7!oT zn93bYIb9!43Wj)WNz0M)xYl!8U>3_OjRiss3@1w0OwrH79T#p(gyX!(OO%qL5+0mDFDfJ;B_@in}@(}4BiPLQ2?X$D?b^JVD5OIknH tgv}h^JNN(XBRKqD;7RpfJ(WszOFJ3?rQM;ds#yR4002ovPDHLkV1n1EUx5Gs literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/gray/images/datebox_arrow.png b/src/main/webapp/lib/jquery-easyui/themes/gray/images/datebox_arrow.png new file mode 100644 index 0000000000000000000000000000000000000000..783c83357fdf90a1c7c024358e1d768b5c09c135 GIT binary patch literal 626 zcmV-&0*(ENP)5OC%H;f`~O(q$Q#t2<^v$A>fbmv%e#dKTwK=Ku{5lS|}<-`a#7b zzTCOnnT>at)D}AMFuOZ5&%EqFN(lyumd$2ASF6=;nM~%2?gqc@U=#|4PqkX@EBo-9 z7pD#bO_RUa>*faM`8;MYfVi$JnB-zcBFc6gjl$d!bF98Q!!!(Z1_R~P?e!pt#6CHJ9S&n_n&@=9 z%GP;!@Co4c*at+6vNz7o(6en^Q1%qHrc;1)9IRaz-$@S$Z-qdC^ds3X0NvQH;KS)D z-dh&rW&@X;1cS(45z)J&BVt+tv&GMVJ%!EiW) zLBGZW)#Z+gl-Lih&?>X3SS-S#ujQ;9JRXmIB7X)8`d6ETj)D#Q2+$s|<_b7-B9Xvq zwNfqlEp%y3$uY`h{Y$(Gn5@}sqEsq95lpAkFO5dyBmP6^H-51G4J|rN2Ujt<`2YX_ M07*qoM6N<$fWs*_M~|PZK4f_B}P-f8$r|z#h zE+)9D_?OzcE{A)9cRCb`94D|RR5VOsbIEjx-=1{JpsQ;^Px3ZX?(@vc^nEOU2KU{_ gJ$cDa*@;a`BkgHpqSBTGpgR~mUHx3vIVCg!07Oqo9{>OV literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/gray/images/linkbutton_bg.png b/src/main/webapp/lib/jquery-easyui/themes/gray/images/linkbutton_bg.png new file mode 100644 index 0000000000000000000000000000000000000000..fc66bd2cd24047b8377342365a1df3846327ecde GIT binary patch literal 1274 zcmVc6j2;SWMDuL>F^vlqEUI{oOgO!xNf*11TukM z6kTZ3V2qd3<~<$H&Lrt?SpXUxF5Zb^}(={r!EHE+$QMdH|XZ zSYbMyc0tQc3qbP$tG{U_Jyg>I(0srOscEGU?-T)4AzuS$_2J>6`+BJ50YDY<^>2vV z+uI880P2ui(hyHiPrK$)CkbHg=kD&V3^8pD z0v3QOB&8eT@87?rgaGPrb#+ySxU;jP=nkL`nZ_{0e*BD+1Tc5b&d$oLo}8R$90gF1 z^ij>~#>R%HIRNUB_kgpQ+Lg!80Gbb2saY8>1EBeUm7A3TegK*dSciv)Wqp0!h-3im z1+1f^qq4iZ+ZEMUS63~e0I+zh`2rwd0l@!F(!7sM%_`|&0+*B!z{1(u+A9BIU&~T- z2he=L>dmc7TLXZFkeTeCHMcE|qX51{z>0ZC=xGjss*FaXGOMX+dHf8Z8hL6ntGQ_z zF9V<&dwY9jh`D7czyqj4g3S=~)zFA!0980RI4DC*Ez1%L09D8%=OHF&S@Q*;3bRfe zeL2-ZzyeT(Av4`$>R3`j096>WH7BOELD3yR70%Dk%Mk4)1W=73OH{L_UgIc$YFu7k zmRaq`&NxK?Rk*skDzlhL4IV!OsLJ*Ab@{BRT^TO}pgQC6xO~R6G8o_oU?C)>`xlc2 zriH~zU-;g$PyPA_&X!OBSU6SIeB~eKNAhF&(fs&F|1n9<+Yj^2T+4Dj%UFjr zZ%rnX^7Qmn0ANwP308gILtaQfK0Z1j0Br`Wq<=~Ka+?BxW&>7kRtZ+q>C~wJXg6S` zW|cJ1%?d#C0V@Ue)T{uY>425ig?tTsczEc(0+M8_c7^t|!sm-1Nw(}#nnLr?FgGlc zY}ut0+w(d)Uk6FDWtY;*aCdjteIX>tmhA#o+8PqHNU~+SlrTfyKRaNHBx~Ch-FJ3& z%B(Y&NwStp{rH$6Yj{YqhR=Gk~Mtw_&K$#yeTBf z7JV~bCN(VwL$c|B^>Topn-X{+7;S!yV~2^ zBgv-iMkME}U;-COwrsbABDvwg!2wA&ZMWttf5^jTl5E*7V41=|@=Hu>NJ^O8(7b4p z&ChgC(LF5>Md#{+4LgS{%KA|H(Xv`l4P^KdiBKB*_;1&m|Q7!{|O$ k%vVK{T!hwqk^D0L0mO==@4IV9lK=n!07*qoM6N<$f|Ge;n*aa+ literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/gray/images/loading.gif b/src/main/webapp/lib/jquery-easyui/themes/gray/images/loading.gif new file mode 100644 index 0000000000000000000000000000000000000000..68f01d04813c1f622810864a3aaa04b4a17ac8f9 GIT binary patch literal 1737 zcmaKsX;2e)7>CzDa{xjjy99|1A!tC(kfocDi)<1$AxHpOQ4k^l!Vx1W6x7<&|FYXU zqO4jEiU-!VR1p+Xj1?4-iuI_J;!&?!+ghg|JJad3U)pMGzcKxNeCM6tJnuX+uPvX@ zZY|=AHdxt2Xr2y*)5|c6#FSEuyJ+Y3Z&l z2hJWo`9;lJ$6wzSoW60tqkB|d$oiO*d-^85^ojn{*NR{MP*%{@H*#gihZ8BKyB68E z-MIbjgNNV0y5khpJ^Jv`51aR%={<4jhaVq5e*9D5+*hL)XCHn4{^d%hPu@?KpKbc=eN!D=XUjDmH#n{YHNS zHCX6BV)yn2CuTNujhN~V+`RKpyXO6^ht92eqhIIlQLfz6eeCnH_C7`NPNrw9ks366 z4xX9(`s~z=+1uX^ocZ$2_fBs=JihPfWYufOIuD&AU-@`>>qn~cy$1)T7CU!5z2(U8 z)9Kt9)l`f6?NU41j6XbXfR{OHwm|T4}&24tIf+!C-g~6cQfY2^n$?AT&ZW zgqm`}3-jS2NS6n=k;sr5Hv(Q%%n)qW0X|neWVBd;Ko}d(=u%?{O0-a>kSI}shOd9n z5top}%gUCf=>?tg;*;#7!^HOL3k$fMxd=O-6Y4@%u8LS)C1D_a?27R6^vcC+6tttL z)GmTahbyJB!xmcHL#ya8ZXyfRl)a!N0BJE0y3BBfAV5;#=K&Z2VkaKZ)?9`1h5P_% znt*b}%j1|#j`b|aQDx@~wA#$PYRN2xE6UO;;vE(@$&xww-s8fZ5HmJ(eJ*rQrDbaawDbrfe_8F(wq{ge?)qQG`aXV;r(*6EM|ESje;52aFmrX!f=Pw^2oGQX$1|o4yts|b_5@w_kNwtl{wDP#JGMvIp#!SYX?Wq9S&`&_ZwkgGH5CLB7DEGJ6=R4J~p3Z4i^A}hs=-uZeD zs92l6u@**R$~L()G{5N8*7cE5-q$SCo`q4|NSVF*+A7&xZnypm$EdXgf)E%(VJHFD zSgi(H!D!(;9Zcc#GrCCJh=RlvXBQ-hv4Vodse`a32ZUFWgP5ZhM5LeV(#D^H8p@Lg ztra5R32z@1rQv{6u&RZL5%Z@Ye{q|t#6aM_1hIrpl@)oH6}os*cbAQywa{5<`ekzW O1il%9bk82&KlvLjD^%40 literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/gray/images/menu_arrows.png b/src/main/webapp/lib/jquery-easyui/themes/gray/images/menu_arrows.png new file mode 100644 index 0000000000000000000000000000000000000000..b986842e7e4044caed18edbcb4b376a4bb915623 GIT binary patch literal 160 zcmeAS@N?(olHy`uVBq!ia0vp^4nQox!3HFkJ+IURQt6&9jv*Dd-cB{-J7B=U{PTZ! zWrKV9%Z3|Wt5t$(gq+#d+-OocB$0fsr9DfRx52vPhSu$$+yXuy+69hDZ54DDTxx#r zL7>-12UT01v)>tZ+;HI4pDNf?@KK~EC$@35ykmXyu^HJF3})N>8P9Uwo&~g$!PC{x JWt~$(697!FIeGv9 literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/gray/images/messager_icons.png b/src/main/webapp/lib/jquery-easyui/themes/gray/images/messager_icons.png new file mode 100644 index 0000000000000000000000000000000000000000..62c18c135860351063ebaabe8c0f4df7664b8f65 GIT binary patch literal 6116 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 literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/gray/images/spinner_arrows.png b/src/main/webapp/lib/jquery-easyui/themes/gray/images/spinner_arrows.png new file mode 100644 index 0000000000000000000000000000000000000000..dba62bb723518b491c763eb623179afab0f9e1a0 GIT binary patch literal 141 zcmeAS@N?(olHy`uVBq!ia0vp^3P3Et!3HGD8EPYeREVdGV@SoV|gxNLixBH6G+?&imoXunS7gp2NL oacw*Y(&nwsF2UyID`n8m&$nZ<^krzppre_*0C6=+@buQ_y%c^L~IL^<_ t&+}8oM91jk1`W4%S64GGH^xE+hOnLmClB8dn+LRl!PC{xWt~$(69Df$H1z-g literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/gray/images/tree_icons.png b/src/main/webapp/lib/jquery-easyui/themes/gray/images/tree_icons.png new file mode 100644 index 0000000000000000000000000000000000000000..e9be4f3a9965e49a4e4078f8c53f486d761a7468 GIT binary patch literal 3115 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 literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/gray/images/validatebox_warning.png b/src/main/webapp/lib/jquery-easyui/themes/gray/images/validatebox_warning.png new file mode 100644 index 0000000000000000000000000000000000000000..2b3d4f05babf3f82b146350e96570fac02075de0 GIT binary patch literal 921 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 literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/icons/cut.png b/src/main/webapp/lib/jquery-easyui/themes/icons/cut.png new file mode 100644 index 0000000000000000000000000000000000000000..21fdb4dc3c8ee79a0ce59a981c336538bb334442 GIT binary patch literal 1024 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 Y07EoBQ)jr0B>(^b07*qoM6N<$g57L=!vFvP literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/icons/filter.png b/src/main/webapp/lib/jquery-easyui/themes/icons/filter.png new file mode 100644 index 0000000000000000000000000000000000000000..1fedf7ae66f9512c8991a91f606e33926210dfd1 GIT binary patch literal 305 zcmV-10nYx3P)i;JxOiC&m|MyN^@V~Zu%6~m0)Bj`zY(-tqe_OBM|76EZZDa3$M~@)# z4XCPX|L^4POMwARE&rW8d?@fjbNzpNXSe?h!y5nqPb`Zh>Gjmx00000NkvXXu0mjf D9Yd^C literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/icons/help.png b/src/main/webapp/lib/jquery-easyui/themes/icons/help.png new file mode 100644 index 0000000000000000000000000000000000000000..28a0f9e5e6a24fe2cc3d842d0708e70512dbf84b GIT binary patch literal 1187 zcmXX`YfMuI6h6Hzx2+Ut1EjYq1A-3cSfq4{Is$g`oXj!QjiG^7TiBdhXGlOZxm1@9 zS*DOla3bRT0cHN_rJ;^5DgN)q2ZN z|EAt&1z&5w`m%mvX&4t+@c4Ki)zj^n9Qtq}u-Kkgm|S+sG2Fc6RK?X36?YJhP0dA}?VOU?JP&>G6klO2uGz08Gy=gKR?}h(b{K&aenodIzi% z2f@MJp01+RY|(6BJziiDpcm1+C)f4BSg6zCdpJmKRiimi){G4(q} z1^PxxRYp%IvSXi?q6Z{WU1=c||G9fvjNOV8M5eGC9+9=$-Km*DQ5AV*WII_(dnpARZKp%77uh;KZ$z~72R!)*N`!~x=0M8DAMel@xO((;7NkGYln^j z>m@53+D`)q@q?T2z|AfKr0Wq7@&V%3vEWE%IJj2*@I~|AQ1|l-SXw1vg>V7oa|8I- z0PP3HCDVWP3>La6dZtL>>2W$NTXeTeE3}I*#OEs`#HLvXE;&}!k}!JOU8}8G*^*;= zPjSv0_%M5yo+6j0Lw14m9`2dn-mf1NjIPg)Vw7)%a0o9zj^>|q#+Vv13MJSTT;}7h z4Zfq*P7G=k-K=j!InVUNj9wh!)4I~ern6^GUXtfu4!SZ`QB}@5t|WV`n%8=*ErSn) zGjYM$*~Vxc9q@=I`#Q~!`<=w&Se+$ud=Pk1O*Brwau1*M?WFKRth>8iTZJdIQgn~v zCzI($b7!BT>3&ZqyhH4&mz1-ow|8KFVjY;l(ti5lghhYge-hacl;-uimIqemZ0Qjj zBEs2%Kv-FHfq7&Jo><&)%Bjgdi{^SdvbB+` z{s9&)87BY$ literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/icons/large_chart.png b/src/main/webapp/lib/jquery-easyui/themes/icons/large_chart.png new file mode 100644 index 0000000000000000000000000000000000000000..527608ee94683724de57fac1ed7593714ac41be4 GIT binary patch literal 1669 zcmV;027394P)OoL=dNpfT{jDe$P=9Ivhqz^iKm@S3IrUXvM(0iptmQ@N;^Xr`2l z>4!e;MtyMJ3@@+P z*cta0P;qWNgQ5t%kIIj;1wLh)>WhuhRMihnmHnENfO~VPJZBe!rXUHBxK2!dnjp`y z(`>y!X!;Ed4J}m4t$ZUqDz_on(tKFP<=Z=Rs60EC!Cg-WdZizNtwDlZX0M^Vz;da) zRk?SP0@rg5(0I-o4d?oDoM&fiyuRg4U;@stq2@8HW2l!$}hO{43f| zkRR=*CN3~#OC`C|Iv#~EN98>g3S3CjgZzXU!JJQyrc1M^d~XB;xx@+$vxiXb(Hu;2 zFkVG15abzF9mEABn@ce}UQW15nZ?ctSFs`YA(b2XNb$S02Wm1+P?Kd!R)b`wDdkb6 zCzU6LGN^U6z@3>6xI=D6HtT0{`DdiBAW!S7q=4(sCGh;Unj`KKp_&pQYoKyNuN0h3 z>4uAkjZtyfh~o%1H-B;Tyx`6PO>T7N03V` zRm26HLyu!xbTQ#9Pcfzv)@CTEytl`8oQ&&CR-qS4QuImc^K&oUE}l;1F@X$9N9*IV zt0kqDPnO3&c?t4VOC>Ad6r2G`;c zZL$jAAUCcD$!6rIrcrt1d7v}p0A*tdPKG=NXjthX$oHBn*@BUalQ2H`5S$6` z=j!BAD(~+66VldeLAJFU$F}YQwYk%%Jlu!D>47@<&9NuWwLl;BLGFS)*|eRw!0-ie za0*Js*mo@Da%Dm>mFtdK4rzo2jz;S?v#Be|uBeu|QF-WW1}FM!qG)(`6n)FmjZ1QT zD{!hH-)-`>xWHha&2U__1EVQB;porJD|X~jx$a1R>xdQ@kmMRh^?hR)nfvf`+O z%7Z-_$ZXV*Kcq8G59xyZ!8~ME1WXp>iN;C_IDEeWBj(2tw(!JIf?{P<-f74@B!zT< zbe#^N6Q4RbKqyO}MCB`HFgRwVijxkV$WJf1UsxQp=`3I5BFGbr+K3C-O%KIT?T?T-@#dA#9Q z;sUmAt1xJ0IEN>jVHikqadaA$YuV30+)`ES3DG2Ik=5Xmr9?W3%2^JXwn3&%2M%i% zH8QK=vahos-)X311*~0{V8FCs!YV!q?!oZixSz_^ZQSt75)~w@)IcI3VHJxeJuXgl z5elRlllOu?D&(=NLi0!;Rg$Wxo;OaAr}+IKF3`u>4|bBJu$#P;roAMHWDxu!_E7ma z?={#K&<>Oq`+Z|wn+bg3ZL(&JZbVMWEEBYkyTWk)Z(So z!f8HiUHo|hg!B!M$GACb=$E$mwIkcmQAGak2~^IWlW0V?!K{sl3*KXpx^l@oc}8YI z#pD*RYzcN>l)?XzF!)U82=c!Hwib{lHNGh0 P00000NkvXXu0mjf#2YXZ literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/icons/large_clipart.png b/src/main/webapp/lib/jquery-easyui/themes/icons/large_clipart.png new file mode 100644 index 0000000000000000000000000000000000000000..9c9c44002b6f76fcddea75aad020f5f58e91d10f GIT binary patch literal 1727 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 N002ovPDHLkV1luY1RVeX literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/icons/large_shapes.png b/src/main/webapp/lib/jquery-easyui/themes/icons/large_shapes.png new file mode 100644 index 0000000000000000000000000000000000000000..90a0dcacd8d8b851262102fbbd9f99e23404da11 GIT binary patch literal 1318 zcmV+>1=;$EP)9s!&kf1?`{(nr_nL4ijp z@Q59_AEy-e%+o#ZJ=sso=F5O#0npiiBF!K&3p5uYxXhffFJlfWXEo!=YI0RFHj|7W z&H(1NBtX7zVpRehUIYfo{O?&edZ&-@i=qNGe+_v<@V;`X*;FshvcF;T88V-8p>5(AZNn>gl#-9;-jVL6Zqt{a0Jynq z=d$e|UqepKAj-6p7_e+%Y4Zq2$EP^I+-^6v4_uhEA3$qbL2-*2*?;t+e{vhTc{lps zyU|0LcUUCzma!wWo44>?RMtg+^*yP4@*ZZC^RgtE6sv5dFQ1Brbbj=2NJS70%oFl<4p8eh$siTIRu^T?<{w4o zO=R3)cB1v26SpHX{{@gzDCU}*i#0~06P{d1)GpdTw`eE^IVH2hW2ryhkXf6>4UOp# zRk|J0HfjvJl%W&1!qN%;80}=O&W=zzH!cA1_^~mI4a1TO(K6ve z?<_6=*!%$084n2hL;y(UQs(uhebgHEQKjF7vU&gsFDiWikiolUNjzeqNd@?G()}L* zxB$S=w?dza%-LLHI-ttz3G;^GJw&FyhN`l|8z3UNK#ZSRo^4V{Vt@eSC-^$#iIh2& zy_QVXdIx>(Kz4Z_VxN`K88EW#bq<6luOHzqnF*auL*&S>Jxa^#HoxuSGW$xFUS7_o(5!A3KNgoUV^#B8C2JFaD4^28?_+<%y_grD6z~>!07Bw^NBr{&sH!?HH|NF8(A;BIaA(R2wgPNQaZIAy zso^etBH|Aig2zHuumB$OaE=wwGvPG=oXvS4>p?=k_etpRK8oMk&H$u2_nv~F0q)1= z`33l#F$@~uhhJ49*yRA;Q^42P2Jmx6849&?=&_ywoSa@>fm-^tE9siYou3rJ190ai zDb^faoa~#vtuJo{>G47$b(*}il2nl)ZxD%s9IQ=WSaMlM1aFb`3 z193JPDm9|h@^P24;|Gp!!_sg!T7jrk71ETISDX8*K*;AqW8dg)8OE1{Dc=+5++PL8 cmjX5Y2jT&te&o4V^Z)<=07*qoM6N<$f=jV;pa1{> literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/icons/large_smartart.png b/src/main/webapp/lib/jquery-easyui/themes/icons/large_smartart.png new file mode 100644 index 0000000000000000000000000000000000000000..b47da08fa7ff9b56f6abb2517cb6c2177029faf8 GIT binary patch literal 1336 zcmV-81;_e{P)pBh)O^%3AYgtAK>fS=bS`B3ob2ygd+n1+_U!rp`nRtOoyGX4 z=(KTP5eZuwP_)XRw^g9SUyshotLT2$geTLtU<+8$8*JY(&u4BU|8g?AY}~;uO)!@y z>wkj2Plaovm1yv2ah0#c4PJ+vZatdah8=NjxDqu^B~rEDZ*79zU=O5Q_QT*TLmht} zwVWEYLlv+Ll%uADk^-pOgQdid1!+XCm|3L0E>AWS|%q`)HvTg}BgDAjS}svlza|@=dV0YH3{6 zlZT?;5|LSXFg_DGEyrMdDaVDrLR8!HQDr-gs^@uODs6dD`NlaRe|~z?Tn_SS-8^HO zU}CG+Gl3mS)#Gevp5;KhOEeN}tbCY(<8&VG+4;sTzoc?ne#H5wCtc4@QF? z8cVQTnB(CM;}OWMQX}i!QL5g(8gmDdE#IO1!7org&JZwKo8epZkf0|V$L4v74MG7o zJcM^+9+U|181awbSYB>Oyz{eXAknlJC0$8SK1!oriRi62Nth>L9^(s4)GaU?ieYgV zJaaBVj2Fgk@RYj=*9-@zyBDWaMz-}_mz__EdJB@w-=eVNXR1C0G$ibX+|Vviq-%pr(~4|WBhpIhalD`wM{`U#l%)eVbHj>odMUZ zi>l_pO^={|bO3{14*t0nOwO%F8_?aWhOCXmyOUAvI0e&iVHD<$R!ppni;K(T>4rEm0?aX^j%&w4$RTOCJA`P6-9ma{O zACRd&6cbHd132F>F(fcNK7^q$k-^bdR3Sz0t1tr|#vu9$-@C17zr@~VMVO#}j;dx*^?pe_mVpFjf=$HYdWRi><#o(0 zeIOGbkS;e7227I?h2al@VqH55G;KIp(Ta?c8%Qp!$FbZ?IGk-HQ)>bff`R(azXe-e z*V}s$T>gl_(nm6}PA1l+U0B1rAR!4%(oQg@NXRcSF}o`CpNa3nfIYT>`7av?@4)O1 z4P0$!E%+$5V3EWb)Qai(55f*ig$Nm$TNA~Jx2$>+enXM5GXr;DKyA4#e3((VOSWww uo;PJ%&{}NG?HKsto3b6^`p5L2x&8(W8B7jWgRVFL0000P$7bO0Bg$#2^g^4GL=P|t$hNq6Wo3a*(T;p z0vQVx+}+~^FZg$7F5mpj8TfC>dxjeSoPQ1VOMaA_u^ZnVr5#t%}HrnH>ScvMk452cyww4>){z4m<+~ zz$VYjod;A^<#YL=rT|^%{p!C3c<0*i002ov JPDHLkV1n}aiueEk literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/icons/man.png b/src/main/webapp/lib/jquery-easyui/themes/icons/man.png new file mode 100644 index 0000000000000000000000000000000000000000..a8cafcb9a1bc9fafbc429093084aa2e5b37103b6 GIT binary patch literal 244 zcmVC_BI~?$baTUM>r&7#gjkN^eHIi#o0SqI#KDxPp zw@9vyR-*q#A1*f^_CI2jYYrM;0TvR|rdBA|{&P?5Vul}=KM*D;@QW`DQsz%=+`fM~ u3QS{w?+kN@RWQ}B0CTJ}SKVj!J=PhX&@(3LQ}*Qm0000>$j+3?x7IEPn{3BuiW)N`mv#O3D+9QW+dm@{>{( zJaZG%Q-e|yQz{EjrrH1%xd!-zxLTAQhakJ^Q+73{+?&sPG@tVTk}cBH8-FbMA2gTIwZ$R1rnqZ!{LQN5dZW*_A98)a hcb&}1B^+S+>+nau>-9y|=gz9{lr;}c=wVN)Q*o7; z#1rt#{)*L{NuLvUInMbWz@F$~q+t2X*32`7HA0n}1B^+RR-Z*1Eqt_euNB=!4?3hCYmYkCBcssH5 zPdnEk2K$~yJ;tQ}=`B*K3`ckaI0gPP&VH(3X7A9z$Z+9+&@?^iN_(Jb44$rjF6*2U FngA=BGHCz+ literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/icons/no.png b/src/main/webapp/lib/jquery-easyui/themes/icons/no.png new file mode 100644 index 0000000000000000000000000000000000000000..37a7c7497782dadcf14a765051a62dd5616200c5 GIT binary patch literal 922 zcmV;L17-Y)P)~H)FpGiVA+maa075~P;^Ost z%FF+My>{*Y{|_Jj|9|)H|Nl2{{{Mgd`v2FHC;#tBN%>zXAW)C22Oxl$VT=}a_4z4N zrW6=>dNQ#7{ma1c;R6H1`}YhCZ{IR7ym`aG`ujJ7l8z38nu>}8%kkq1$A10V2+{`- zKwtwZB_!%oy1NTx6%`p6K7NE?kmh&qz?vCezh+=~@q&Tj`Ev$7py4W#k_H^-&M_Qi zU^oa6K+Hft^Ls=_t}xct=3w~ph2g@XLkuqj1Q@RF*ukL03^f1MD~7#5#lI~rfyxgu zaNW7Xz<&Nb!`D}@41jje0SF)#Adz5aXehvN>=*+B8yf?swKapfn;XM72M30|Sy>DW zKpQP*⪼M8hY&JO$LjiB8ETz{xN7UFbD`TFvI`^5R0b1z5^G~7O=A!85y{?ZDaUm zW(L+^Ic*v^d_e5S7cMYxwYD<+1#12S6ypJ6X$A&ofB<6R;@}Wqc=-|@XtF@Rz6ILy z4af&+glT^3?aiPM6a#4n;om^~pMgONAb^+{fF?40{tPhyif@4oL;}JJ3Jh;0B^mw# zW8x=}{|jLN13&;Vy?*uT0mILqkWdF|-uwSQgXPktaGPN+vD~wV;i$eo!w;Y)5C$0p zwDt}_05Ls!`0&8vU%%kCa{`?TcealY!&?szxFJjd0dNCeK=2WO00KL4xwZBE|LW@h z|4T~#eCJ-NHV0gBdfguHGz&s%LFGwFi05M|8lxzVE3}(QD5+KCD wpazO6V0O9-%njRjGcW*?E5jFL#Q*^Y0M({d4SP?a6aWAK07*qoM6N<$f&>VU5C8xG literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/icons/ok.png b/src/main/webapp/lib/jquery-easyui/themes/icons/ok.png new file mode 100644 index 0000000000000000000000000000000000000000..5b0f6a6174f67879d89b8c970d88734cd6f9f844 GIT binary patch literal 883 zcmV-(1C0EMP)wF51aIxG|t0o~WeTux?(*f!J?S`!vJrWM3^ z)v?u>(g^>@;xO#mkNlu=e*%b!BkO=S9U%&s|{QUTj4;ur+Qxv`b{1=&{q{_{@=tdkKKPJjPv{N-R+ z=H{q0b!wOgrI|?`QkZ(!{_7i9LV-VtRJx`%DQ2F^23wD{DqBhIRk` zF);r5{m+$GoMl&Put7+Jt2=`@4-Z4{!AlI=w!d7({+qd+0V(7F0suh(zW)OTFd63V z^!sFSNlF9<4gMd;*WzU&Dh*+FS2`3*A~OK^{__Bz$W0R(*Uum z?9l=80a*nF0_+3*1ONs71^@>82>=H93IGBCK>)u00}wAF|NZm@`|<(rTQ4UU0WcOM z00aL60Pp?k0KeVV0IsF+;Q#FbO$G-6;062!00#UB00{XE00{OE015OE00M|vNJE=} z^$*A6FQ5Ne@vDAS;$dfD`1Jo3!|5mY7`86`{^s{nmH;M>-&g)K|ATm%5g73x%=8b8 z0Ro7L;}<&v=RdZejL-PCo<9Aa;W^_ShKsN6GwfXY>&vg(Trted45#rWFn|DJV*bm{ z0Ky#q*cZJ%!~O8Y?dJ?fS26$kepw(JsCg%$6bcYP%o1uwz$j&AU}9wa&h(8#?9FW+ ziyzl{>lm2-O#9FFhv6UdZ-)OYzzhWT0wab200G2EX?6w(FaS`kAv2YZ@FM^K002ov JPDHLkV1n^7jC=q9 literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/icons/pencil.png b/src/main/webapp/lib/jquery-easyui/themes/icons/pencil.png new file mode 100644 index 0000000000000000000000000000000000000000..5b8cc893d0e50c0e15cf10fbbb08706f81ec224a GIT binary patch literal 713 zcmV;)0yh1LP)R)!_m*FeI9eJ0Gxq#H zf0_XxfS9lv%LmkKB8}kx16siJFV!*nd7pOS69ERhSDg(18DcA(#PsQ(DfoWDDC{a=@>nto>xWzb;o zP$*;Aa%nq5TlT(fKhM4o2P*mk(g_ei5CcqsHvff2=RY9k`aMC~Kn&o76a{330bLQrJ&U26`M=Sy3)uqGxWf%F0d5QMO1 v>|l^)2n34pz-1YUGXNlf7%9!p009O71V-RMzjpE=00000NkvXXu0mjfxvf2L literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/icons/print.png b/src/main/webapp/lib/jquery-easyui/themes/icons/print.png new file mode 100644 index 0000000000000000000000000000000000000000..fdf67a1e2771c1481d4fdf3c3bb219904cdde434 GIT binary patch literal 1057 zcmV++1m63JP)z1G?hxZ;&`ED+>cNGYingzZn1m zi0SLs4-79~-etIOVGqOe=l2>Z%BAk7f^KhW_13_pMU`pwSH#-O94%^)f& z3N-K^13&;VLHzfh;p^8g3^#9{H2wblqZrJ9KS1%{Kv(?!`4i~P{|ua*91=XdJgT6; z`St4;*p&bQ!~(?P!otFnEG?~V1q1{|M1_S}KY#tr@b%YUh9AFvGyDPKzd*%*zcVld z`Ugr`TiaZI_Ty@A>nW=<)yo#7xKlEh(vj1xwlt7#MgWzP$bT0%*uZWO;x9 z!fSwov9Uh~14Beagrk7ItviRhqIkg9=T8*)ge4C=e*XL?NDV*$F=Er`Vr(4mXr?g1 z)x}1@)Y^!FfsqM{nHgR`f5y<=G55mJn=cZMojrRIAb>Coh_o}9pPyizU~Z|yz`(=; z#6U+fLTM=f>$l$wi{@|tuwv(>V1NKZ@j|4%et%nvY=(}S5Cg-n4-5>yKLTkW{__dQ z{tTo)gT>g`J~N1_^Ko3f_)G{OfLLIf9gU6cqmAAaD6jz)zkJHTz{3~O8o!7fdBvhJL&&7 zEzS8KWN)@fPg66=+sNqB{}Vy~Up;L5Ul8klLse1H6FK$(0tk$}jE(!hOym0h|8~m% zDNRwIbd{B3fWmAbIX`3L{U`QU{to~eC?zhgj2`F!0R%=(K`Q6}?=tznbY|Lr4LLb~ zWE+4{s&A&Qo(5!cV$%x{Kwva8UiSa1o0b3Vw6&)alRA+BKmf4-{V&fa#mul`<-^an zUcH*g01htV0YCr&lNW=6vZVpTfxUMQymyyFg$$D!0_P3$1SAV4gvrH q1Tx^k^5vIKzWDHAF9R6>Aiw}@kj85RTB}e10000VP)p|3y6O+Fnsy(*G|dGwA8_{sE@0VD?kY)l*s511}8@N@DpuwT|nH_3V>hx1ODQ%gn&~@8_@IOt#8aVhL_V%$IK8 zWk{S+eg652N7)Q)9AE25ELv$HybnO!M{I#uKD}#=M;vYf7lrQFmo`l@cj9I@ZL*+0D=T!0-G4a z_us4x|CxR%P+4O z%=m19E(1m6KcMkUz;yA2;myD24DM`^3=_Jyz22~IyVL&*H?9B#5X1$4SsA{6|NY{@ z(^>zp*f|F>^Eg`1=E%Jp>r!82Fy*Fx0GG_T{`ts%Hw-;|-9sl#=*HT~_cnLQ6 zZwyY1jNAqP|1re_1K>S4TZ6MV5dUL@_zCI)fB*vkslXvaa)1B=8vtU6i;3jw7+Lm8D5$Z@i10EnF)=bcefw4K z$^E-CUfjQG`svfBbfD6|R#sLFj6lo3FG$G6@;ee>>~6i|H^5OY8c00W#fi<*1vzh{0&qu3dB`V0{{XDY`}(1n>S9M(9!zw#!&`A z#;*+0{6GVMSeWGp!`o{o8NPge#o%jgs54WT$qnQYpsyGNpauX05F;oJfZ`Pdw6!$j zynTH0RMa&!n3$Pa9zVGEY{&L(3qnPBl_DG6<9Xk0`Fl3`LiD4@pH{vDsxJWQ1qdJp zEJ>M}osCtQlY?CgW>F{;gVK#SmgoOZnEn5J%EtIXaWQXAO>Rdf)WFR;gt~f zXaA3z{{L{q=l48y!32dEcNn4H`bJ0C+qr9t=q z3IB5(AiS{sSlm!hKmUK){R9C#j!Zc}`+sBs9tE)p5$}U$;ZzVK5OzQCHlA<@UGIO! zvj@U9`H!I>IKl6{$7vAD0_aTr_h<@&41C_Zzj3U$sW?P)s`^}rT?-9$gz_!>OcE=Nf062l+NnAOE%LIKMeUciG zG5@4$#o>#0(^REaszX( z@Br;Y1jl>uI&DD}m2Idxq%!Gwkr0;PT_BnCf*VQmb@KBW^WVSl?z4#ixOz4Ke!ssk zy+~qx3HN1Lmf_*JwldghDRx~#Huv5AzuyA9NNmE;P!yvrh(>!r*9CAQI{gJZ77+*H z@%Rxtk;~ literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/icons/undo.png b/src/main/webapp/lib/jquery-easyui/themes/icons/undo.png new file mode 100644 index 0000000000000000000000000000000000000000..6129fa0c77eb1d2100ed1c99b5643ab8990a9566 GIT binary patch literal 707 zcmV;!0zCbRP)gx00G1Zv_aomR`x(qRh0l2FE0bbpFa!?fB$08 zkFQ)|s9L!2z&&2xfMaLReuNnS5I{^UzkfRf$Hoe9fp{-pGBCV;4WVDWU|@Lm41ym& zW{~CPX6X0xb5MHuav8D<00M~l)~8P=@1HyOnT?gzU0Y6$f#K#&28Oq985rKZgBbSe z6~w?NPZ+p>wDzArsy8?}Ki_-*{y4}0fB<3!5w|~mI{y0k^X(5GJqk7R^5S3xY54Gg z;V@9{y|_37pRO(g>+jzT438c$h_JFUeEIar>Y2FstQW6ee+LL4W|&hReEj(I13UYi znbkhd^K)@A%v-naX4mP{i91)X{{CA+!pI;bgn{AeRR)QlKiRi``0yC0=M+Ey zVT~0JdHJSom6iV+{r%6t#LV>djcY9}FMXXe=l_3O+y7ZoQhPw+00D#(*(oWx*+@tv zp{LLZetz%&x3v79qNw;ED8va6Kn$b;P{O)4dGi0A+S>nhH8gAh0*IMZ1Ma+ke^KiH z{{%~Qb%Axyo~;K6ASMPf!11eBC%hFCV_^OEO$;D_$THxanAm~S7cMXefB&up5J1f2 p81VS{^OpjgoMw-I|K0`=U;x^&`B18C?@a&z002ovPDHLkV1f|(PF(;1 literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/metro/accordion.css b/src/main/webapp/lib/jquery-easyui/themes/metro/accordion.css new file mode 100644 index 0000000..31d6079 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/themes/metro/accordion.css @@ -0,0 +1,41 @@ +.accordion { + overflow: hidden; + border-width: 1px; + border-style: solid; +} +.accordion .accordion-header { + border-width: 0 0 1px; + cursor: pointer; +} +.accordion .accordion-body { + border-width: 0 0 1px; +} +.accordion-noborder { + border-width: 0; +} +.accordion-noborder .accordion-header { + border-width: 0 0 1px; +} +.accordion-noborder .accordion-body { + border-width: 0 0 1px; +} +.accordion-collapse { + background: url('images/accordion_arrows.png') no-repeat 0 0; +} +.accordion-expand { + background: url('images/accordion_arrows.png') no-repeat -16px 0; +} +.accordion { + background: #fff; + border-color: #ddd; +} +.accordion .accordion-header { + background: #ffffff; + filter: none; +} +.accordion .accordion-header-selected { + background: #CCE6FF; +} +.accordion .accordion-header-selected .panel-title { + color: #000; +} diff --git a/src/main/webapp/lib/jquery-easyui/themes/metro/calendar.css b/src/main/webapp/lib/jquery-easyui/themes/metro/calendar.css new file mode 100644 index 0000000..6af24ac --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/themes/metro/calendar.css @@ -0,0 +1,197 @@ +.calendar { + border-width: 1px; + border-style: solid; + padding: 1px; + overflow: hidden; +} +.calendar table { + table-layout: fixed; + border-collapse: separate; + font-size: 12px; + width: 100%; + height: 100%; +} +.calendar table td, +.calendar table th { + font-size: 12px; +} +.calendar-noborder { + border: 0; +} +.calendar-header { + position: relative; + height: 22px; +} +.calendar-title { + text-align: center; + height: 22px; +} +.calendar-title span { + position: relative; + display: inline-block; + top: 2px; + padding: 0 3px; + height: 18px; + line-height: 18px; + font-size: 12px; + cursor: pointer; + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border-radius: 0px 0px 0px 0px; +} +.calendar-prevmonth, +.calendar-nextmonth, +.calendar-prevyear, +.calendar-nextyear { + position: absolute; + top: 50%; + margin-top: -7px; + width: 14px; + height: 14px; + cursor: pointer; + font-size: 1px; + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border-radius: 0px 0px 0px 0px; +} +.calendar-prevmonth { + left: 20px; + background: url('images/calendar_arrows.png') no-repeat -18px -2px; +} +.calendar-nextmonth { + right: 20px; + background: url('images/calendar_arrows.png') no-repeat -34px -2px; +} +.calendar-prevyear { + left: 3px; + background: url('images/calendar_arrows.png') no-repeat -1px -2px; +} +.calendar-nextyear { + right: 3px; + background: url('images/calendar_arrows.png') no-repeat -49px -2px; +} +.calendar-body { + position: relative; +} +.calendar-body th, +.calendar-body td { + text-align: center; +} +.calendar-day { + border: 0; + padding: 1px; + cursor: pointer; + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border-radius: 0px 0px 0px 0px; +} +.calendar-other-month { + opacity: 0.3; + filter: alpha(opacity=30); +} +.calendar-disabled { + opacity: 0.6; + filter: alpha(opacity=60); + cursor: default; +} +.calendar-menu { + position: absolute; + top: 0; + left: 0; + width: 180px; + height: 150px; + padding: 5px; + font-size: 12px; + display: none; + overflow: hidden; +} +.calendar-menu-year-inner { + text-align: center; + padding-bottom: 5px; +} +.calendar-menu-year { + width: 40px; + text-align: center; + border-width: 1px; + border-style: solid; + margin: 0; + padding: 2px; + font-weight: bold; + font-size: 12px; +} +.calendar-menu-prev, +.calendar-menu-next { + display: inline-block; + width: 21px; + height: 21px; + vertical-align: top; + cursor: pointer; + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border-radius: 0px 0px 0px 0px; +} +.calendar-menu-prev { + margin-right: 10px; + background: url('images/calendar_arrows.png') no-repeat 2px 2px; +} +.calendar-menu-next { + margin-left: 10px; + background: url('images/calendar_arrows.png') no-repeat -45px 2px; +} +.calendar-menu-month { + text-align: center; + cursor: pointer; + font-weight: bold; + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border-radius: 0px 0px 0px 0px; +} +.calendar-body th, +.calendar-menu-month { + color: #919191; +} +.calendar-day { + color: #444; +} +.calendar-sunday { + color: #CC2222; +} +.calendar-saturday { + color: #00ee00; +} +.calendar-today { + color: #0000ff; +} +.calendar-menu-year { + border-color: #ddd; +} +.calendar { + border-color: #ddd; +} +.calendar-header { + background: #ffffff; +} +.calendar-body, +.calendar-menu { + background: #fff; +} +.calendar-body th { + background: #fff; + padding: 2px 0; +} +.calendar-hover, +.calendar-nav-hover, +.calendar-menu-hover { + background-color: #E6E6E6; + color: #444; +} +.calendar-hover { + border: 1px solid #ddd; + padding: 0; +} +.calendar-selected { + background-color: #CCE6FF; + color: #000; + border: 1px solid #99cdff; + padding: 0; +} diff --git a/src/main/webapp/lib/jquery-easyui/themes/metro/combo.css b/src/main/webapp/lib/jquery-easyui/themes/metro/combo.css new file mode 100644 index 0000000..39fac28 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/themes/metro/combo.css @@ -0,0 +1,60 @@ +.combo { + display: inline-block; + white-space: nowrap; + margin: 0; + padding: 0; + border-width: 1px; + border-style: solid; + overflow: hidden; + vertical-align: middle; +} +.combo .combo-text { + font-size: 12px; + border: 0px; + margin: 0; + padding: 0px 2px; + vertical-align: baseline; +} +.combo-arrow { + width: 18px; + height: 20px; + overflow: hidden; + display: inline-block; + vertical-align: top; + cursor: pointer; + opacity: 0.6; + filter: alpha(opacity=60); +} +.combo-arrow-hover { + opacity: 1.0; + filter: alpha(opacity=100); +} +.combo-panel { + overflow: auto; +} +.combo-arrow { + background: url('images/combo_arrow.png') no-repeat center center; +} +.combo-panel { + background-color: #fff; +} +.combo { + border-color: #ddd; + background-color: #fff; +} +.combo-arrow { + background-color: #ffffff; +} +.combo-arrow-hover { + background-color: #E6E6E6; +} +.combo-arrow:hover { + background-color: #E6E6E6; +} +.combo .textbox-icon-disabled:hover { + cursor: default; +} +.textbox-invalid { + border-color: #ffa8a8; + background-color: #fff3f3; +} diff --git a/src/main/webapp/lib/jquery-easyui/themes/metro/combobox.css b/src/main/webapp/lib/jquery-easyui/themes/metro/combobox.css new file mode 100644 index 0000000..0e058b1 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/themes/metro/combobox.css @@ -0,0 +1,24 @@ +.combobox-item, +.combobox-group { + font-size: 12px; + padding: 3px; + padding-right: 0px; +} +.combobox-item-disabled { + opacity: 0.5; + filter: alpha(opacity=50); +} +.combobox-gitem { + padding-left: 10px; +} +.combobox-group { + font-weight: bold; +} +.combobox-item-hover { + background-color: #E6E6E6; + color: #444; +} +.combobox-item-selected { + background-color: #CCE6FF; + color: #000; +} diff --git a/src/main/webapp/lib/jquery-easyui/themes/metro/datagrid.css b/src/main/webapp/lib/jquery-easyui/themes/metro/datagrid.css new file mode 100644 index 0000000..94880f0 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/themes/metro/datagrid.css @@ -0,0 +1,261 @@ +.datagrid .panel-body { + overflow: hidden; + position: relative; +} +.datagrid-view { + position: relative; + overflow: hidden; +} +.datagrid-view1, +.datagrid-view2 { + position: absolute; + overflow: hidden; + top: 0; +} +.datagrid-view1 { + left: 0; +} +.datagrid-view2 { + right: 0; +} +.datagrid-mask { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + opacity: 0.3; + filter: alpha(opacity=30); + display: none; +} +.datagrid-mask-msg { + position: absolute; + top: 50%; + margin-top: -20px; + padding: 10px 5px 10px 30px; + width: auto; + height: 16px; + border-width: 2px; + border-style: solid; + display: none; +} +.datagrid-sort-icon { + padding: 0; +} +.datagrid-toolbar { + height: auto; + padding: 1px 2px; + border-width: 0 0 1px 0; + border-style: solid; +} +.datagrid-btn-separator { + float: left; + height: 24px; + border-left: 1px solid #ddd; + border-right: 1px solid #fff; + margin: 2px 1px; +} +.datagrid .datagrid-pager { + display: block; + margin: 0; + border-width: 1px 0 0 0; + border-style: solid; +} +.datagrid .datagrid-pager-top { + border-width: 0 0 1px 0; +} +.datagrid-header { + overflow: hidden; + cursor: default; + border-width: 0 0 1px 0; + border-style: solid; +} +.datagrid-header-inner { + float: left; + width: 10000px; +} +.datagrid-header-row, +.datagrid-row { + height: 25px; +} +.datagrid-header td, +.datagrid-body td, +.datagrid-footer td { + border-width: 0 1px 1px 0; + border-style: dotted; + margin: 0; + padding: 0; +} +.datagrid-cell, +.datagrid-cell-group, +.datagrid-header-rownumber, +.datagrid-cell-rownumber { + margin: 0; + padding: 0 4px; + white-space: nowrap; + word-wrap: normal; + overflow: hidden; + height: 18px; + line-height: 18px; + font-size: 12px; +} +.datagrid-header .datagrid-cell { + height: auto; +} +.datagrid-header .datagrid-cell span { + font-size: 12px; +} +.datagrid-cell-group { + text-align: center; +} +.datagrid-header-rownumber, +.datagrid-cell-rownumber { + width: 25px; + text-align: center; + margin: 0; + padding: 0; +} +.datagrid-body { + margin: 0; + padding: 0; + overflow: auto; + zoom: 1; +} +.datagrid-view1 .datagrid-body-inner { + padding-bottom: 20px; +} +.datagrid-view1 .datagrid-body { + overflow: hidden; +} +.datagrid-footer { + overflow: hidden; +} +.datagrid-footer-inner { + border-width: 1px 0 0 0; + border-style: solid; + width: 10000px; + float: left; +} +.datagrid-row-editing .datagrid-cell { + height: auto; +} +.datagrid-header-check, +.datagrid-cell-check { + padding: 0; + width: 27px; + height: 18px; + font-size: 1px; + text-align: center; + overflow: hidden; +} +.datagrid-header-check input, +.datagrid-cell-check input { + margin: 0; + padding: 0; + width: 15px; + height: 18px; +} +.datagrid-resize-proxy { + position: absolute; + width: 1px; + height: 10000px; + top: 0; + cursor: e-resize; + display: none; +} +.datagrid-body .datagrid-editable { + margin: 0; + padding: 0; +} +.datagrid-body .datagrid-editable table { + width: 100%; + height: 100%; +} +.datagrid-body .datagrid-editable td { + border: 0; + margin: 0; + padding: 0; +} +.datagrid-view .datagrid-editable-input { + margin: 0; + padding: 2px 4px; + border: 1px solid #ddd; + font-size: 12px; + outline-style: none; + -moz-border-radius: 0 0 0 0; + -webkit-border-radius: 0 0 0 0; + border-radius: 0 0 0 0; +} +.datagrid-sort-desc .datagrid-sort-icon { + padding: 0 13px 0 0; + background: url('images/datagrid_icons.png') no-repeat -16px center; +} +.datagrid-sort-asc .datagrid-sort-icon { + padding: 0 13px 0 0; + background: url('images/datagrid_icons.png') no-repeat 0px center; +} +.datagrid-row-collapse { + background: url('images/datagrid_icons.png') no-repeat -48px center; +} +.datagrid-row-expand { + background: url('images/datagrid_icons.png') no-repeat -32px center; +} +.datagrid-mask-msg { + background: #fff url('images/loading.gif') no-repeat scroll 5px center; +} +.datagrid-header, +.datagrid-td-rownumber { + background-color: #ffffff; +} +.datagrid-cell-rownumber { + color: #444; +} +.datagrid-resize-proxy { + background: #b3b3b3; +} +.datagrid-mask { + background: #eee; +} +.datagrid-mask-msg { + border-color: #ddd; +} +.datagrid-toolbar, +.datagrid-pager { + background: #fff; +} +.datagrid-header, +.datagrid-toolbar, +.datagrid-pager, +.datagrid-footer-inner { + border-color: #ddd; +} +.datagrid-header td, +.datagrid-body td, +.datagrid-footer td { + border-color: #ddd; +} +.datagrid-htable, +.datagrid-btable, +.datagrid-ftable { + color: #444; + border-collapse: separate; +} +.datagrid-row-alt { + background: #f5f5f5; +} +.datagrid-row-over, +.datagrid-header td.datagrid-header-over { + background: #E6E6E6; + color: #444; + cursor: default; +} +.datagrid-row-selected { + background: #CCE6FF; + color: #000; +} +.datagrid-row-editing .textbox, +.datagrid-row-editing .textbox-text { + -moz-border-radius: 0 0 0 0; + -webkit-border-radius: 0 0 0 0; + border-radius: 0 0 0 0; +} diff --git a/src/main/webapp/lib/jquery-easyui/themes/metro/datebox.css b/src/main/webapp/lib/jquery-easyui/themes/metro/datebox.css new file mode 100644 index 0000000..b0f71e2 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/themes/metro/datebox.css @@ -0,0 +1,36 @@ +.datebox-calendar-inner { + height: 180px; +} +.datebox-button { + height: 18px; + padding: 2px 5px; + text-align: center; +} +.datebox-button a { + font-size: 12px; + font-weight: bold; + text-decoration: none; + opacity: 0.6; + filter: alpha(opacity=60); +} +.datebox-button a:hover { + opacity: 1.0; + filter: alpha(opacity=100); +} +.datebox-current, +.datebox-close { + float: left; +} +.datebox-close { + float: right; +} +.datebox .combo-arrow { + background-image: url('images/datebox_arrow.png'); + background-position: center center; +} +.datebox-button { + background-color: #fff; +} +.datebox-button a { + color: #777; +} diff --git a/src/main/webapp/lib/jquery-easyui/themes/metro/dialog.css b/src/main/webapp/lib/jquery-easyui/themes/metro/dialog.css new file mode 100644 index 0000000..ea1a9e8 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/themes/metro/dialog.css @@ -0,0 +1,32 @@ +.dialog-content { + overflow: auto; +} +.dialog-toolbar { + padding: 2px 5px; +} +.dialog-tool-separator { + float: left; + height: 24px; + border-left: 1px solid #ddd; + border-right: 1px solid #fff; + margin: 2px 1px; +} +.dialog-button { + padding: 5px; + text-align: right; +} +.dialog-button .l-btn { + margin-left: 5px; +} +.dialog-toolbar, +.dialog-button { + background: #fff; + border-width: 1px; + border-style: solid; +} +.dialog-toolbar { + border-color: #ddd #ddd #ddd #ddd; +} +.dialog-button { + border-color: #ddd #ddd #ddd #ddd; +} diff --git a/src/main/webapp/lib/jquery-easyui/themes/metro/easyui.css b/src/main/webapp/lib/jquery-easyui/themes/metro/easyui.css new file mode 100644 index 0000000..7522107 --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/themes/metro/easyui.css @@ -0,0 +1,2495 @@ +.panel { + overflow: hidden; + text-align: left; + margin: 0; + border: 0; + -moz-border-radius: 0 0 0 0; + -webkit-border-radius: 0 0 0 0; + border-radius: 0 0 0 0; +} +.panel-header, +.panel-body { + border-width: 1px; + border-style: solid; +} +.panel-header { + padding: 5px; + position: relative; +} +.panel-title { + background: url('images/blank.gif') no-repeat; +} +.panel-header-noborder { + border-width: 0 0 1px 0; +} +.panel-body { + overflow: auto; + border-top-width: 0; + padding: 0; +} +.panel-body-noheader { + border-top-width: 1px; +} +.panel-body-noborder { + border-width: 0px; +} +.panel-body-nobottom { + border-bottom-width: 0; +} +.panel-with-icon { + padding-left: 18px; +} +.panel-icon, +.panel-tool { + position: absolute; + top: 50%; + margin-top: -8px; + height: 16px; + overflow: hidden; +} +.panel-icon { + left: 5px; + width: 16px; +} +.panel-tool { + right: 5px; + width: auto; +} +.panel-tool a { + display: inline-block; + width: 16px; + height: 16px; + opacity: 0.6; + filter: alpha(opacity=60); + margin: 0 0 0 2px; + vertical-align: top; +} +.panel-tool a:hover { + opacity: 1; + filter: alpha(opacity=100); + background-color: #E6E6E6; + -moz-border-radius: -2px -2px -2px -2px; + -webkit-border-radius: -2px -2px -2px -2px; + border-radius: -2px -2px -2px -2px; +} +.panel-loading { + padding: 11px 0px 10px 30px; +} +.panel-noscroll { + overflow: hidden; +} +.panel-fit, +.panel-fit body { + height: 100%; + margin: 0; + padding: 0; + border: 0; + overflow: hidden; +} +.panel-loading { + background: url('images/loading.gif') no-repeat 10px 10px; +} +.panel-tool-close { + background: url('images/panel_tools.png') no-repeat -16px 0px; +} +.panel-tool-min { + background: url('images/panel_tools.png') no-repeat 0px 0px; +} +.panel-tool-max { + background: url('images/panel_tools.png') no-repeat 0px -16px; +} +.panel-tool-restore { + background: url('images/panel_tools.png') no-repeat -16px -16px; +} +.panel-tool-collapse { + background: url('images/panel_tools.png') no-repeat -32px 0; +} +.panel-tool-expand { + background: url('images/panel_tools.png') no-repeat -32px -16px; +} +.panel-header, +.panel-body { + border-color: #ddd; +} +.panel-header { + background-color: #ffffff; +} +.panel-body { + background-color: #fff; + color: #444; + font-size: 12px; +} +.panel-title { + font-size: 12px; + font-weight: bold; + color: #777; + height: 16px; + line-height: 16px; +} +.panel-footer { + border: 1px solid #ddd; + overflow: hidden; + background: #fff; +} +.panel-footer-noborder { + border-width: 1px 0 0 0; +} +.accordion { + overflow: hidden; + border-width: 1px; + border-style: solid; +} +.accordion .accordion-header { + border-width: 0 0 1px; + cursor: pointer; +} +.accordion .accordion-body { + border-width: 0 0 1px; +} +.accordion-noborder { + border-width: 0; +} +.accordion-noborder .accordion-header { + border-width: 0 0 1px; +} +.accordion-noborder .accordion-body { + border-width: 0 0 1px; +} +.accordion-collapse { + background: url('images/accordion_arrows.png') no-repeat 0 0; +} +.accordion-expand { + background: url('images/accordion_arrows.png') no-repeat -16px 0; +} +.accordion { + background: #fff; + border-color: #ddd; +} +.accordion .accordion-header { + background: #ffffff; + filter: none; +} +.accordion .accordion-header-selected { + background: #CCE6FF; +} +.accordion .accordion-header-selected .panel-title { + color: #000; +} +.window { + overflow: hidden; + padding: 5px; + border-width: 1px; + border-style: solid; +} +.window .window-header { + background: transparent; + padding: 0px 0px 6px 0px; +} +.window .window-body { + border-width: 1px; + border-style: solid; + border-top-width: 0px; +} +.window .window-body-noheader { + border-top-width: 1px; +} +.window .panel-body-nobottom { + border-bottom-width: 0; +} +.window .window-header .panel-icon, +.window .window-header .panel-tool { + top: 50%; + margin-top: -11px; +} +.window .window-header .panel-icon { + left: 1px; +} +.window .window-header .panel-tool { + right: 1px; +} +.window .window-header .panel-with-icon { + padding-left: 18px; +} +.window-proxy { + position: absolute; + overflow: hidden; +} +.window-proxy-mask { + position: absolute; + filter: alpha(opacity=5); + opacity: 0.05; +} +.window-mask { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + filter: alpha(opacity=40); + opacity: 0.40; + font-size: 1px; + overflow: hidden; +} +.window, +.window-shadow { + position: absolute; + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border-radius: 0px 0px 0px 0px; +} +.window-shadow { + background: #eee; + -moz-box-shadow: 2px 2px 3px #ededed; + -webkit-box-shadow: 2px 2px 3px #ededed; + box-shadow: 2px 2px 3px #ededed; + filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); +} +.window, +.window .window-body { + border-color: #ddd; +} +.window { + background-color: #ffffff; +} +.window-proxy { + border: 1px dashed #ddd; +} +.window-proxy-mask, +.window-mask { + background: #eee; +} +.window .panel-footer { + border: 1px solid #ddd; + position: relative; + top: -1px; +} +.dialog-content { + overflow: auto; +} +.dialog-toolbar { + padding: 2px 5px; +} +.dialog-tool-separator { + float: left; + height: 24px; + border-left: 1px solid #ddd; + border-right: 1px solid #fff; + margin: 2px 1px; +} +.dialog-button { + padding: 5px; + text-align: right; +} +.dialog-button .l-btn { + margin-left: 5px; +} +.dialog-toolbar, +.dialog-button { + background: #fff; + border-width: 1px; + border-style: solid; +} +.dialog-toolbar { + border-color: #ddd #ddd #ddd #ddd; +} +.dialog-button { + border-color: #ddd #ddd #ddd #ddd; +} +.l-btn { + text-decoration: none; + display: inline-block; + overflow: hidden; + margin: 0; + padding: 0; + cursor: pointer; + outline: none; + text-align: center; + vertical-align: middle; +} +.l-btn-plain { + border: 0; + padding: 1px; +} +.l-btn-left { + display: inline-block; + position: relative; + overflow: hidden; + margin: 0; + padding: 0; + vertical-align: top; +} +.l-btn-text { + display: inline-block; + vertical-align: top; + width: auto; + line-height: 24px; + font-size: 12px; + padding: 0; + margin: 0 4px; +} +.l-btn-icon { + display: inline-block; + width: 16px; + height: 16px; + line-height: 16px; + position: absolute; + top: 50%; + margin-top: -8px; + font-size: 1px; +} +.l-btn span span .l-btn-empty { + display: inline-block; + margin: 0; + width: 16px; + height: 24px; + font-size: 1px; + vertical-align: top; +} +.l-btn span .l-btn-icon-left { + padding: 0 0 0 20px; + background-position: left center; +} +.l-btn span .l-btn-icon-right { + padding: 0 20px 0 0; + background-position: right center; +} +.l-btn-icon-left .l-btn-text { + margin: 0 4px 0 24px; +} +.l-btn-icon-left .l-btn-icon { + left: 4px; +} +.l-btn-icon-right .l-btn-text { + margin: 0 24px 0 4px; +} +.l-btn-icon-right .l-btn-icon { + right: 4px; +} +.l-btn-icon-top .l-btn-text { + margin: 20px 4px 0 4px; +} +.l-btn-icon-top .l-btn-icon { + top: 4px; + left: 50%; + margin: 0 0 0 -8px; +} +.l-btn-icon-bottom .l-btn-text { + margin: 0 4px 20px 4px; +} +.l-btn-icon-bottom .l-btn-icon { + top: auto; + bottom: 4px; + left: 50%; + margin: 0 0 0 -8px; +} +.l-btn-left .l-btn-empty { + margin: 0 4px; + width: 16px; +} +.l-btn-plain:hover { + padding: 0; +} +.l-btn-focus { + outline: #0000FF dotted thin; +} +.l-btn-large .l-btn-text { + line-height: 40px; +} +.l-btn-large .l-btn-icon { + width: 32px; + height: 32px; + line-height: 32px; + margin-top: -16px; +} +.l-btn-large .l-btn-icon-left .l-btn-text { + margin-left: 40px; +} +.l-btn-large .l-btn-icon-right .l-btn-text { + margin-right: 40px; +} +.l-btn-large .l-btn-icon-top .l-btn-text { + margin-top: 36px; + line-height: 24px; + min-width: 32px; +} +.l-btn-large .l-btn-icon-top .l-btn-icon { + margin: 0 0 0 -16px; +} +.l-btn-large .l-btn-icon-bottom .l-btn-text { + margin-bottom: 36px; + line-height: 24px; + min-width: 32px; +} +.l-btn-large .l-btn-icon-bottom .l-btn-icon { + margin: 0 0 0 -16px; +} +.l-btn-large .l-btn-left .l-btn-empty { + margin: 0 4px; + width: 32px; +} +.l-btn { + color: #777; + background: #ffffff; + background-repeat: repeat-x; + border: 1px solid #dddddd; + background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); + background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); + background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); + background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border-radius: 0px 0px 0px 0px; +} +.l-btn:hover { + background: #E6E6E6; + color: #444; + border: 1px solid #ddd; + filter: none; +} +.l-btn-plain { + background: transparent; + border: 0; + filter: none; +} +.l-btn-plain:hover { + background: #E6E6E6; + color: #444; + border: 1px solid #ddd; + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border-radius: 0px 0px 0px 0px; +} +.l-btn-disabled, +.l-btn-disabled:hover { + opacity: 0.5; + cursor: default; + background: #ffffff; + color: #777; + background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); + background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); + background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); + background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); + background-repeat: repeat-x; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); +} +.l-btn-disabled .l-btn-text, +.l-btn-disabled .l-btn-icon { + filter: alpha(opacity=50); +} +.l-btn-plain-disabled, +.l-btn-plain-disabled:hover { + background: transparent; + filter: alpha(opacity=50); +} +.l-btn-selected, +.l-btn-selected:hover { + background: #ddd; + filter: none; +} +.l-btn-plain-selected, +.l-btn-plain-selected:hover { + background: #ddd; +} +.textbox { + position: relative; + border: 1px solid #ddd; + background-color: #fff; + vertical-align: middle; + display: inline-block; + overflow: hidden; + white-space: nowrap; + margin: 0; + padding: 0; + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border-radius: 0px 0px 0px 0px; +} +.textbox .textbox-text { + font-size: 12px; + border: 0; + margin: 0; + padding: 4px; + white-space: normal; + vertical-align: top; + outline-style: none; + resize: none; + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border-radius: 0px 0px 0px 0px; +} +.textbox .textbox-prompt { + font-size: 12px; + color: #aaa; +} +.textbox-button, +.textbox-button:hover { + position: absolute; + top: 0; + padding: 0; + vertical-align: top; + -moz-border-radius: 0 0 0 0; + -webkit-border-radius: 0 0 0 0; + border-radius: 0 0 0 0; +} +.textbox-button-right, +.textbox-button-right:hover { + border-width: 0 0 0 1px; +} +.textbox-button-left, +.textbox-button-left:hover { + border-width: 0 1px 0 0; +} +.textbox-addon { + position: absolute; + top: 0; +} +.textbox-icon { + display: inline-block; + width: 18px; + height: 20px; + overflow: hidden; + vertical-align: top; + background-position: center center; + cursor: pointer; + opacity: 0.6; + filter: alpha(opacity=60); + text-decoration: none; + outline-style: none; +} +.textbox-icon-disabled, +.textbox-icon-readonly { + cursor: default; +} +.textbox-icon:hover { + opacity: 1.0; + filter: alpha(opacity=100); +} +.textbox-icon-disabled:hover { + opacity: 0.6; + filter: alpha(opacity=60); +} +.textbox-focused { + -moz-box-shadow: 0 0 3px 0 #ddd; + -webkit-box-shadow: 0 0 3px 0 #ddd; + box-shadow: 0 0 3px 0 #ddd; +} +.textbox-invalid { + border-color: #ffa8a8; + background-color: #fff3f3; +} +.filebox .textbox-value { + vertical-align: top; + position: absolute; + top: 0; + left: -5000px; +} +.combo { + display: inline-block; + white-space: nowrap; + margin: 0; + padding: 0; + border-width: 1px; + border-style: solid; + overflow: hidden; + vertical-align: middle; +} +.combo .combo-text { + font-size: 12px; + border: 0px; + margin: 0; + padding: 0px 2px; + vertical-align: baseline; +} +.combo-arrow { + width: 18px; + height: 20px; + overflow: hidden; + display: inline-block; + vertical-align: top; + cursor: pointer; + opacity: 0.6; + filter: alpha(opacity=60); +} +.combo-arrow-hover { + opacity: 1.0; + filter: alpha(opacity=100); +} +.combo-panel { + overflow: auto; +} +.combo-arrow { + background: url('images/combo_arrow.png') no-repeat center center; +} +.combo-panel { + background-color: #fff; +} +.combo { + border-color: #ddd; + background-color: #fff; +} +.combo-arrow { + background-color: #ffffff; +} +.combo-arrow-hover { + background-color: #E6E6E6; +} +.combo-arrow:hover { + background-color: #E6E6E6; +} +.combo .textbox-icon-disabled:hover { + cursor: default; +} +.textbox-invalid { + border-color: #ffa8a8; + background-color: #fff3f3; +} +.combobox-item, +.combobox-group { + font-size: 12px; + padding: 3px; + padding-right: 0px; +} +.combobox-item-disabled { + opacity: 0.5; + filter: alpha(opacity=50); +} +.combobox-gitem { + padding-left: 10px; +} +.combobox-group { + font-weight: bold; +} +.combobox-item-hover { + background-color: #E6E6E6; + color: #444; +} +.combobox-item-selected { + background-color: #CCE6FF; + color: #000; +} +.layout { + position: relative; + overflow: hidden; + margin: 0; + padding: 0; + z-index: 0; +} +.layout-panel { + position: absolute; + overflow: hidden; +} +.layout-panel-east, +.layout-panel-west { + z-index: 2; +} +.layout-panel-north, +.layout-panel-south { + z-index: 3; +} +.layout-expand { + position: absolute; + padding: 0px; + font-size: 1px; + cursor: pointer; + z-index: 1; +} +.layout-expand .panel-header, +.layout-expand .panel-body { + background: transparent; + filter: none; + overflow: hidden; +} +.layout-expand .panel-header { + border-bottom-width: 0px; +} +.layout-split-proxy-h, +.layout-split-proxy-v { + position: absolute; + font-size: 1px; + display: none; + z-index: 5; +} +.layout-split-proxy-h { + width: 5px; + cursor: e-resize; +} +.layout-split-proxy-v { + height: 5px; + cursor: n-resize; +} +.layout-mask { + position: absolute; + background: #fafafa; + filter: alpha(opacity=10); + opacity: 0.10; + z-index: 4; +} +.layout-button-up { + background: url('images/layout_arrows.png') no-repeat -16px -16px; +} +.layout-button-down { + background: url('images/layout_arrows.png') no-repeat -16px 0; +} +.layout-button-left { + background: url('images/layout_arrows.png') no-repeat 0 0; +} +.layout-button-right { + background: url('images/layout_arrows.png') no-repeat 0 -16px; +} +.layout-split-proxy-h, +.layout-split-proxy-v { + background-color: #b3b3b3; +} +.layout-split-north { + border-bottom: 5px solid #fff; +} +.layout-split-south { + border-top: 5px solid #fff; +} +.layout-split-east { + border-left: 5px solid #fff; +} +.layout-split-west { + border-right: 5px solid #fff; +} +.layout-expand { + background-color: #ffffff; +} +.layout-expand-over { + background-color: #ffffff; +} +.tabs-container { + overflow: hidden; +} +.tabs-header { + border-width: 1px; + border-style: solid; + border-bottom-width: 0; + position: relative; + padding: 0; + padding-top: 2px; + overflow: hidden; +} +.tabs-header-plain { + border: 0; + background: transparent; +} +.tabs-scroller-left, +.tabs-scroller-right { + position: absolute; + top: auto; + bottom: 0; + width: 18px; + font-size: 1px; + display: none; + cursor: pointer; + border-width: 1px; + border-style: solid; +} +.tabs-scroller-left { + left: 0; +} +.tabs-scroller-right { + right: 0; +} +.tabs-tool { + position: absolute; + bottom: 0; + padding: 1px; + overflow: hidden; + border-width: 1px; + border-style: solid; +} +.tabs-header-plain .tabs-tool { + padding: 0 1px; +} +.tabs-wrap { + position: relative; + left: 0; + overflow: hidden; + width: 100%; + margin: 0; + padding: 0; +} +.tabs-scrolling { + margin-left: 18px; + margin-right: 18px; +} +.tabs-disabled { + opacity: 0.3; + filter: alpha(opacity=30); +} +.tabs { + list-style-type: none; + height: 26px; + margin: 0px; + padding: 0px; + padding-left: 4px; + width: 50000px; + border-style: solid; + border-width: 0 0 1px 0; +} +.tabs li { + float: left; + display: inline-block; + margin: 0 4px -1px 0; + padding: 0; + position: relative; + border: 0; +} +.tabs li a.tabs-inner { + display: inline-block; + text-decoration: none; + margin: 0; + padding: 0 10px; + height: 25px; + line-height: 25px; + text-align: center; + white-space: nowrap; + border-width: 1px; + border-style: solid; + -moz-border-radius: 0px 0px 0 0; + -webkit-border-radius: 0px 0px 0 0; + border-radius: 0px 0px 0 0; +} +.tabs li.tabs-selected a.tabs-inner { + font-weight: bold; + outline: none; +} +.tabs li.tabs-selected a:hover.tabs-inner { + cursor: default; + pointer: default; +} +.tabs li a.tabs-close, +.tabs-p-tool { + position: absolute; + font-size: 1px; + display: block; + height: 12px; + padding: 0; + top: 50%; + margin-top: -6px; + overflow: hidden; +} +.tabs li a.tabs-close { + width: 12px; + right: 5px; + opacity: 0.6; + filter: alpha(opacity=60); +} +.tabs-p-tool { + right: 16px; +} +.tabs-p-tool a { + display: inline-block; + font-size: 1px; + width: 12px; + height: 12px; + margin: 0; + opacity: 0.6; + filter: alpha(opacity=60); +} +.tabs li a:hover.tabs-close, +.tabs-p-tool a:hover { + opacity: 1; + filter: alpha(opacity=100); + cursor: hand; + cursor: pointer; +} +.tabs-with-icon { + padding-left: 18px; +} +.tabs-icon { + position: absolute; + width: 16px; + height: 16px; + left: 10px; + top: 50%; + margin-top: -8px; +} +.tabs-title { + font-size: 12px; +} +.tabs-closable { + padding-right: 8px; +} +.tabs-panels { + margin: 0px; + padding: 0px; + border-width: 1px; + border-style: solid; + border-top-width: 0; + overflow: hidden; +} +.tabs-header-bottom { + border-width: 0 1px 1px 1px; + padding: 0 0 2px 0; +} +.tabs-header-bottom .tabs { + border-width: 1px 0 0 0; +} +.tabs-header-bottom .tabs li { + margin: -1px 4px 0 0; +} +.tabs-header-bottom .tabs li a.tabs-inner { + -moz-border-radius: 0 0 0px 0px; + -webkit-border-radius: 0 0 0px 0px; + border-radius: 0 0 0px 0px; +} +.tabs-header-bottom .tabs-tool { + top: 0; +} +.tabs-header-bottom .tabs-scroller-left, +.tabs-header-bottom .tabs-scroller-right { + top: 0; + bottom: auto; +} +.tabs-panels-top { + border-width: 1px 1px 0 1px; +} +.tabs-header-left { + float: left; + border-width: 1px 0 1px 1px; + padding: 0; +} +.tabs-header-right { + float: right; + border-width: 1px 1px 1px 0; + padding: 0; +} +.tabs-header-left .tabs-wrap, +.tabs-header-right .tabs-wrap { + height: 100%; +} +.tabs-header-left .tabs { + height: 100%; + padding: 4px 0 0 4px; + border-width: 0 1px 0 0; +} +.tabs-header-right .tabs { + height: 100%; + padding: 4px 4px 0 0; + border-width: 0 0 0 1px; +} +.tabs-header-left .tabs li, +.tabs-header-right .tabs li { + display: block; + width: 100%; + position: relative; +} +.tabs-header-left .tabs li { + left: auto; + right: 0; + margin: 0 -1px 4px 0; + float: right; +} +.tabs-header-right .tabs li { + left: 0; + right: auto; + margin: 0 0 4px -1px; + float: left; +} +.tabs-header-left .tabs li a.tabs-inner { + display: block; + text-align: left; + -moz-border-radius: 0px 0 0 0px; + -webkit-border-radius: 0px 0 0 0px; + border-radius: 0px 0 0 0px; +} +.tabs-header-right .tabs li a.tabs-inner { + display: block; + text-align: left; + -moz-border-radius: 0 0px 0px 0; + -webkit-border-radius: 0 0px 0px 0; + border-radius: 0 0px 0px 0; +} +.tabs-panels-right { + float: right; + border-width: 1px 1px 1px 0; +} +.tabs-panels-left { + float: left; + border-width: 1px 0 1px 1px; +} +.tabs-header-noborder, +.tabs-panels-noborder { + border: 0px; +} +.tabs-header-plain { + border: 0px; + background: transparent; +} +.tabs-scroller-left { + background: #ffffff url('images/tabs_icons.png') no-repeat 1px center; +} +.tabs-scroller-right { + background: #ffffff url('images/tabs_icons.png') no-repeat -15px center; +} +.tabs li a.tabs-close { + background: url('images/tabs_icons.png') no-repeat -34px center; +} +.tabs li a.tabs-inner:hover { + background: #E6E6E6; + color: #444; + filter: none; +} +.tabs li.tabs-selected a.tabs-inner { + background-color: #fff; + color: #777; +} +.tabs li a.tabs-inner { + color: #777; + background-color: #ffffff; +} +.tabs-header, +.tabs-tool { + background-color: #ffffff; +} +.tabs-header-plain { + background: transparent; +} +.tabs-header, +.tabs-scroller-left, +.tabs-scroller-right, +.tabs-tool, +.tabs, +.tabs-panels, +.tabs li a.tabs-inner, +.tabs li.tabs-selected a.tabs-inner, +.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, +.tabs-header-left .tabs li.tabs-selected a.tabs-inner, +.tabs-header-right .tabs li.tabs-selected a.tabs-inner { + border-color: #ddd; +} +.tabs-p-tool a:hover, +.tabs li a:hover.tabs-close, +.tabs-scroller-over { + background-color: #E6E6E6; +} +.tabs li.tabs-selected a.tabs-inner { + border-bottom: 1px solid #fff; +} +.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { + border-top: 1px solid #fff; +} +.tabs-header-left .tabs li.tabs-selected a.tabs-inner { + border-right: 1px solid #fff; +} +.tabs-header-right .tabs li.tabs-selected a.tabs-inner { + border-left: 1px solid #fff; +} +.datagrid .panel-body { + overflow: hidden; + position: relative; +} +.datagrid-view { + position: relative; + overflow: hidden; +} +.datagrid-view1, +.datagrid-view2 { + position: absolute; + overflow: hidden; + top: 0; +} +.datagrid-view1 { + left: 0; +} +.datagrid-view2 { + right: 0; +} +.datagrid-mask { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + opacity: 0.3; + filter: alpha(opacity=30); + display: none; +} +.datagrid-mask-msg { + position: absolute; + top: 50%; + margin-top: -20px; + padding: 10px 5px 10px 30px; + width: auto; + height: 16px; + border-width: 2px; + border-style: solid; + display: none; +} +.datagrid-sort-icon { + padding: 0; +} +.datagrid-toolbar { + height: auto; + padding: 1px 2px; + border-width: 0 0 1px 0; + border-style: solid; +} +.datagrid-btn-separator { + float: left; + height: 24px; + border-left: 1px solid #ddd; + border-right: 1px solid #fff; + margin: 2px 1px; +} +.datagrid .datagrid-pager { + display: block; + margin: 0; + border-width: 1px 0 0 0; + border-style: solid; +} +.datagrid .datagrid-pager-top { + border-width: 0 0 1px 0; +} +.datagrid-header { + overflow: hidden; + cursor: default; + border-width: 0 0 1px 0; + border-style: solid; +} +.datagrid-header-inner { + float: left; + width: 10000px; +} +.datagrid-header-row, +.datagrid-row { + height: 25px; +} +.datagrid-header td, +.datagrid-body td, +.datagrid-footer td { + border-width: 0 1px 1px 0; + border-style: dotted; + margin: 0; + padding: 0; +} +.datagrid-cell, +.datagrid-cell-group, +.datagrid-header-rownumber, +.datagrid-cell-rownumber { + margin: 0; + padding: 0 4px; + white-space: nowrap; + word-wrap: normal; + overflow: hidden; + height: 18px; + line-height: 18px; + font-size: 12px; +} +.datagrid-header .datagrid-cell { + height: auto; +} +.datagrid-header .datagrid-cell span { + font-size: 12px; +} +.datagrid-cell-group { + text-align: center; +} +.datagrid-header-rownumber, +.datagrid-cell-rownumber { + width: 25px; + text-align: center; + margin: 0; + padding: 0; +} +.datagrid-body { + margin: 0; + padding: 0; + overflow: auto; + zoom: 1; +} +.datagrid-view1 .datagrid-body-inner { + padding-bottom: 20px; +} +.datagrid-view1 .datagrid-body { + overflow: hidden; +} +.datagrid-footer { + overflow: hidden; +} +.datagrid-footer-inner { + border-width: 1px 0 0 0; + border-style: solid; + width: 10000px; + float: left; +} +.datagrid-row-editing .datagrid-cell { + height: auto; +} +.datagrid-header-check, +.datagrid-cell-check { + padding: 0; + width: 27px; + height: 18px; + font-size: 1px; + text-align: center; + overflow: hidden; +} +.datagrid-header-check input, +.datagrid-cell-check input { + margin: 0; + padding: 0; + width: 15px; + height: 18px; +} +.datagrid-resize-proxy { + position: absolute; + width: 1px; + height: 10000px; + top: 0; + cursor: e-resize; + display: none; +} +.datagrid-body .datagrid-editable { + margin: 0; + padding: 0; +} +.datagrid-body .datagrid-editable table { + width: 100%; + height: 100%; +} +.datagrid-body .datagrid-editable td { + border: 0; + margin: 0; + padding: 0; +} +.datagrid-view .datagrid-editable-input { + margin: 0; + padding: 2px 4px; + border: 1px solid #ddd; + font-size: 12px; + outline-style: none; + -moz-border-radius: 0 0 0 0; + -webkit-border-radius: 0 0 0 0; + border-radius: 0 0 0 0; +} +.datagrid-sort-desc .datagrid-sort-icon { + padding: 0 13px 0 0; + background: url('images/datagrid_icons.png') no-repeat -16px center; +} +.datagrid-sort-asc .datagrid-sort-icon { + padding: 0 13px 0 0; + background: url('images/datagrid_icons.png') no-repeat 0px center; +} +.datagrid-row-collapse { + background: url('images/datagrid_icons.png') no-repeat -48px center; +} +.datagrid-row-expand { + background: url('images/datagrid_icons.png') no-repeat -32px center; +} +.datagrid-mask-msg { + background: #fff url('images/loading.gif') no-repeat scroll 5px center; +} +.datagrid-header, +.datagrid-td-rownumber { + background-color: #ffffff; +} +.datagrid-cell-rownumber { + color: #444; +} +.datagrid-resize-proxy { + background: #b3b3b3; +} +.datagrid-mask { + background: #eee; +} +.datagrid-mask-msg { + border-color: #ddd; +} +.datagrid-toolbar, +.datagrid-pager { + background: #fff; +} +.datagrid-header, +.datagrid-toolbar, +.datagrid-pager, +.datagrid-footer-inner { + border-color: #ddd; +} +.datagrid-header td, +.datagrid-body td, +.datagrid-footer td { + border-color: #ddd; +} +.datagrid-htable, +.datagrid-btable, +.datagrid-ftable { + color: #444; + border-collapse: separate; +} +.datagrid-row-alt { + background: #f5f5f5; +} +.datagrid-row-over, +.datagrid-header td.datagrid-header-over { + background: #E6E6E6; + color: #444; + cursor: default; +} +.datagrid-row-selected { + background: #CCE6FF; + color: #000; +} +.datagrid-row-editing .textbox, +.datagrid-row-editing .textbox-text { + -moz-border-radius: 0 0 0 0; + -webkit-border-radius: 0 0 0 0; + border-radius: 0 0 0 0; +} +.propertygrid .datagrid-view1 .datagrid-body td { + padding-bottom: 1px; + border-width: 0 1px 0 0; +} +.propertygrid .datagrid-group { + height: 21px; + overflow: hidden; + border-width: 0 0 1px 0; + border-style: solid; +} +.propertygrid .datagrid-group span { + font-weight: bold; +} +.propertygrid .datagrid-view1 .datagrid-body td { + border-color: #ddd; +} +.propertygrid .datagrid-view1 .datagrid-group { + border-color: #ffffff; +} +.propertygrid .datagrid-view2 .datagrid-group { + border-color: #ddd; +} +.propertygrid .datagrid-group, +.propertygrid .datagrid-view1 .datagrid-body, +.propertygrid .datagrid-view1 .datagrid-row-over, +.propertygrid .datagrid-view1 .datagrid-row-selected { + background: #ffffff; +} +.pagination { + zoom: 1; +} +.pagination table { + float: left; + height: 30px; +} +.pagination td { + border: 0; +} +.pagination-btn-separator { + float: left; + height: 24px; + border-left: 1px solid #ddd; + border-right: 1px solid #fff; + margin: 3px 1px; +} +.pagination .pagination-num { + border-width: 1px; + border-style: solid; + margin: 0 2px; + padding: 2px; + width: 2em; + height: auto; +} +.pagination-page-list { + margin: 0px 6px; + padding: 1px 2px; + width: auto; + height: auto; + border-width: 1px; + border-style: solid; +} +.pagination-info { + float: right; + margin: 0 6px 0 0; + padding: 0; + height: 30px; + line-height: 30px; + font-size: 12px; +} +.pagination span { + font-size: 12px; +} +.pagination-link .l-btn-text { + width: 24px; + text-align: center; + margin: 0; +} +.pagination-first { + background: url('images/pagination_icons.png') no-repeat 0 center; +} +.pagination-prev { + background: url('images/pagination_icons.png') no-repeat -16px center; +} +.pagination-next { + background: url('images/pagination_icons.png') no-repeat -32px center; +} +.pagination-last { + background: url('images/pagination_icons.png') no-repeat -48px center; +} +.pagination-load { + background: url('images/pagination_icons.png') no-repeat -64px center; +} +.pagination-loading { + background: url('images/loading.gif') no-repeat center center; +} +.pagination-page-list, +.pagination .pagination-num { + border-color: #ddd; +} +.calendar { + border-width: 1px; + border-style: solid; + padding: 1px; + overflow: hidden; +} +.calendar table { + table-layout: fixed; + border-collapse: separate; + font-size: 12px; + width: 100%; + height: 100%; +} +.calendar table td, +.calendar table th { + font-size: 12px; +} +.calendar-noborder { + border: 0; +} +.calendar-header { + position: relative; + height: 22px; +} +.calendar-title { + text-align: center; + height: 22px; +} +.calendar-title span { + position: relative; + display: inline-block; + top: 2px; + padding: 0 3px; + height: 18px; + line-height: 18px; + font-size: 12px; + cursor: pointer; + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border-radius: 0px 0px 0px 0px; +} +.calendar-prevmonth, +.calendar-nextmonth, +.calendar-prevyear, +.calendar-nextyear { + position: absolute; + top: 50%; + margin-top: -7px; + width: 14px; + height: 14px; + cursor: pointer; + font-size: 1px; + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border-radius: 0px 0px 0px 0px; +} +.calendar-prevmonth { + left: 20px; + background: url('images/calendar_arrows.png') no-repeat -18px -2px; +} +.calendar-nextmonth { + right: 20px; + background: url('images/calendar_arrows.png') no-repeat -34px -2px; +} +.calendar-prevyear { + left: 3px; + background: url('images/calendar_arrows.png') no-repeat -1px -2px; +} +.calendar-nextyear { + right: 3px; + background: url('images/calendar_arrows.png') no-repeat -49px -2px; +} +.calendar-body { + position: relative; +} +.calendar-body th, +.calendar-body td { + text-align: center; +} +.calendar-day { + border: 0; + padding: 1px; + cursor: pointer; + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border-radius: 0px 0px 0px 0px; +} +.calendar-other-month { + opacity: 0.3; + filter: alpha(opacity=30); +} +.calendar-disabled { + opacity: 0.6; + filter: alpha(opacity=60); + cursor: default; +} +.calendar-menu { + position: absolute; + top: 0; + left: 0; + width: 180px; + height: 150px; + padding: 5px; + font-size: 12px; + display: none; + overflow: hidden; +} +.calendar-menu-year-inner { + text-align: center; + padding-bottom: 5px; +} +.calendar-menu-year { + width: 40px; + text-align: center; + border-width: 1px; + border-style: solid; + margin: 0; + padding: 2px; + font-weight: bold; + font-size: 12px; +} +.calendar-menu-prev, +.calendar-menu-next { + display: inline-block; + width: 21px; + height: 21px; + vertical-align: top; + cursor: pointer; + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border-radius: 0px 0px 0px 0px; +} +.calendar-menu-prev { + margin-right: 10px; + background: url('images/calendar_arrows.png') no-repeat 2px 2px; +} +.calendar-menu-next { + margin-left: 10px; + background: url('images/calendar_arrows.png') no-repeat -45px 2px; +} +.calendar-menu-month { + text-align: center; + cursor: pointer; + font-weight: bold; + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border-radius: 0px 0px 0px 0px; +} +.calendar-body th, +.calendar-menu-month { + color: #919191; +} +.calendar-day { + color: #444; +} +.calendar-sunday { + color: #CC2222; +} +.calendar-saturday { + color: #00ee00; +} +.calendar-today { + color: #0000ff; +} +.calendar-menu-year { + border-color: #ddd; +} +.calendar { + border-color: #ddd; +} +.calendar-header { + background: #ffffff; +} +.calendar-body, +.calendar-menu { + background: #fff; +} +.calendar-body th { + background: #fff; + padding: 2px 0; +} +.calendar-hover, +.calendar-nav-hover, +.calendar-menu-hover { + background-color: #E6E6E6; + color: #444; +} +.calendar-hover { + border: 1px solid #ddd; + padding: 0; +} +.calendar-selected { + background-color: #CCE6FF; + color: #000; + border: 1px solid #99cdff; + padding: 0; +} +.datebox-calendar-inner { + height: 180px; +} +.datebox-button { + height: 18px; + padding: 2px 5px; + text-align: center; +} +.datebox-button a { + font-size: 12px; + font-weight: bold; + text-decoration: none; + opacity: 0.6; + filter: alpha(opacity=60); +} +.datebox-button a:hover { + opacity: 1.0; + filter: alpha(opacity=100); +} +.datebox-current, +.datebox-close { + float: left; +} +.datebox-close { + float: right; +} +.datebox .combo-arrow { + background-image: url('images/datebox_arrow.png'); + background-position: center center; +} +.datebox-button { + background-color: #fff; +} +.datebox-button a { + color: #777; +} +.numberbox { + border: 1px solid #ddd; + margin: 0; + padding: 0 2px; + vertical-align: middle; +} +.textbox { + padding: 0; +} +.spinner { + display: inline-block; + white-space: nowrap; + margin: 0; + padding: 0; + border-width: 1px; + border-style: solid; + overflow: hidden; + vertical-align: middle; +} +.spinner .spinner-text { + font-size: 12px; + border: 0px; + margin: 0; + padding: 0 2px; + vertical-align: baseline; +} +.spinner-arrow { + background-color: #ffffff; + display: inline-block; + overflow: hidden; + vertical-align: top; + margin: 0; + padding: 0; + opacity: 1.0; + filter: alpha(opacity=100); + width: 18px; +} +.spinner-arrow-up, +.spinner-arrow-down { + opacity: 0.6; + filter: alpha(opacity=60); + display: block; + font-size: 1px; + width: 18px; + height: 10px; + width: 100%; + height: 50%; + outline-style: none; +} +.spinner-arrow-hover { + background-color: #E6E6E6; + opacity: 1.0; + filter: alpha(opacity=100); +} +.spinner-arrow-up:hover, +.spinner-arrow-down:hover { + opacity: 1.0; + filter: alpha(opacity=100); + background-color: #E6E6E6; +} +.textbox-icon-disabled .spinner-arrow-up:hover, +.textbox-icon-disabled .spinner-arrow-down:hover { + opacity: 0.6; + filter: alpha(opacity=60); + background-color: #ffffff; + cursor: default; +} +.spinner .textbox-icon-disabled { + opacity: 0.6; + filter: alpha(opacity=60); +} +.spinner-arrow-up { + background: url('images/spinner_arrows.png') no-repeat 1px center; +} +.spinner-arrow-down { + background: url('images/spinner_arrows.png') no-repeat -15px center; +} +.spinner { + border-color: #ddd; +} +.progressbar { + border-width: 1px; + border-style: solid; + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border-radius: 0px 0px 0px 0px; + overflow: hidden; + position: relative; +} +.progressbar-text { + text-align: center; + position: absolute; +} +.progressbar-value { + position: relative; + overflow: hidden; + width: 0; + -moz-border-radius: 0px 0 0 0px; + -webkit-border-radius: 0px 0 0 0px; + border-radius: 0px 0 0 0px; +} +.progressbar { + border-color: #ddd; +} +.progressbar-text { + color: #444; + font-size: 12px; +} +.progressbar-value .progressbar-text { + background-color: #CCE6FF; + color: #000; +} +.searchbox { + display: inline-block; + white-space: nowrap; + margin: 0; + padding: 0; + border-width: 1px; + border-style: solid; + overflow: hidden; + vertical-align: middle; +} +.searchbox .searchbox-text { + font-size: 12px; + border: 0; + margin: 0; + padding: 0 2px; + vertical-align: top; +} +.searchbox .searchbox-prompt { + font-size: 12px; + color: #ccc; +} +.searchbox-button { + width: 18px; + height: 20px; + overflow: hidden; + display: inline-block; + vertical-align: top; + cursor: pointer; + opacity: 0.6; + filter: alpha(opacity=60); +} +.searchbox-button-hover { + opacity: 1.0; + filter: alpha(opacity=100); +} +.searchbox .l-btn-plain { + border: 0; + padding: 0; + vertical-align: top; + opacity: 0.6; + filter: alpha(opacity=60); + -moz-border-radius: 0 0 0 0; + -webkit-border-radius: 0 0 0 0; + border-radius: 0 0 0 0; +} +.searchbox .l-btn-plain:hover { + border: 0; + padding: 0; + opacity: 1.0; + filter: alpha(opacity=100); + -moz-border-radius: 0 0 0 0; + -webkit-border-radius: 0 0 0 0; + border-radius: 0 0 0 0; +} +.searchbox a.m-btn-plain-active { + -moz-border-radius: 0 0 0 0; + -webkit-border-radius: 0 0 0 0; + border-radius: 0 0 0 0; +} +.searchbox .m-btn-active { + border-width: 0 1px 0 0; + -moz-border-radius: 0 0 0 0; + -webkit-border-radius: 0 0 0 0; + border-radius: 0 0 0 0; +} +.searchbox .textbox-button-right { + border-width: 0 0 0 1px; +} +.searchbox .textbox-button-left { + border-width: 0 1px 0 0; +} +.searchbox-button { + background: url('images/searchbox_button.png') no-repeat center center; +} +.searchbox { + border-color: #ddd; + background-color: #fff; +} +.searchbox .l-btn-plain { + background: #ffffff; +} +.searchbox .l-btn-plain-disabled, +.searchbox .l-btn-plain-disabled:hover { + opacity: 0.5; + filter: alpha(opacity=50); +} +.textbox-invalid { + border-color: #ffa8a8; + background-color: #fff3f3; +} +.slider-disabled { + opacity: 0.5; + filter: alpha(opacity=50); +} +.slider-h { + height: 22px; +} +.slider-v { + width: 22px; +} +.slider-inner { + position: relative; + height: 6px; + top: 7px; + border-width: 1px; + border-style: solid; + border-radius: 0px; +} +.slider-handle { + position: absolute; + display: block; + outline: none; + width: 20px; + height: 20px; + top: 50%; + margin-top: -10px; + margin-left: -10px; +} +.slider-tip { + position: absolute; + display: inline-block; + line-height: 12px; + font-size: 12px; + white-space: nowrap; + top: -22px; +} +.slider-rule { + position: relative; + top: 15px; +} +.slider-rule span { + position: absolute; + display: inline-block; + font-size: 0; + height: 5px; + border-width: 0 0 0 1px; + border-style: solid; +} +.slider-rulelabel { + position: relative; + top: 20px; +} +.slider-rulelabel span { + position: absolute; + display: inline-block; + font-size: 12px; +} +.slider-v .slider-inner { + width: 6px; + left: 7px; + top: 0; + float: left; +} +.slider-v .slider-handle { + left: 50%; + margin-top: -10px; +} +.slider-v .slider-tip { + left: -10px; + margin-top: -6px; +} +.slider-v .slider-rule { + float: left; + top: 0; + left: 16px; +} +.slider-v .slider-rule span { + width: 5px; + height: 'auto'; + border-left: 0; + border-width: 1px 0 0 0; + border-style: solid; +} +.slider-v .slider-rulelabel { + float: left; + top: 0; + left: 23px; +} +.slider-handle { + background: url('images/slider_handle.png') no-repeat; +} +.slider-inner { + border-color: #ddd; + background: #ffffff; +} +.slider-rule span { + border-color: #ddd; +} +.slider-rulelabel span { + color: #444; +} +.menu { + position: absolute; + margin: 0; + padding: 2px; + border-width: 1px; + border-style: solid; + overflow: hidden; +} +.menu-item { + position: relative; + margin: 0; + padding: 0; + overflow: hidden; + white-space: nowrap; + cursor: pointer; + border-width: 1px; + border-style: solid; +} +.menu-text { + height: 20px; + line-height: 20px; + float: left; + padding-left: 28px; +} +.menu-icon { + position: absolute; + width: 16px; + height: 16px; + left: 2px; + top: 50%; + margin-top: -8px; +} +.menu-rightarrow { + position: absolute; + width: 16px; + height: 16px; + right: 0; + top: 50%; + margin-top: -8px; +} +.menu-line { + position: absolute; + left: 26px; + top: 0; + height: 2000px; + font-size: 1px; +} +.menu-sep { + margin: 3px 0px 3px 25px; + font-size: 1px; +} +.menu-active { + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border-radius: 0px 0px 0px 0px; +} +.menu-item-disabled { + opacity: 0.5; + filter: alpha(opacity=50); + cursor: default; +} +.menu-text, +.menu-text span { + font-size: 12px; +} +.menu-shadow { + position: absolute; + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border-radius: 0px 0px 0px 0px; + background: #eee; + -moz-box-shadow: 2px 2px 3px #ededed; + -webkit-box-shadow: 2px 2px 3px #ededed; + box-shadow: 2px 2px 3px #ededed; + filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); +} +.menu-rightarrow { + background: url('images/menu_arrows.png') no-repeat -32px center; +} +.menu-line { + border-left: 1px solid #ddd; + border-right: 1px solid #fff; +} +.menu-sep { + border-top: 1px solid #ddd; + border-bottom: 1px solid #fff; +} +.menu { + background-color: #ffffff; + border-color: #ddd; + color: #444; +} +.menu-content { + background: #fff; +} +.menu-item { + border-color: transparent; + _border-color: #ffffff; +} +.menu-active { + border-color: #ddd; + color: #444; + background: #E6E6E6; +} +.menu-active-disabled { + border-color: transparent; + background: transparent; + color: #444; +} +.m-btn-downarrow, +.s-btn-downarrow { + display: inline-block; + position: absolute; + width: 16px; + height: 16px; + font-size: 1px; + right: 0; + top: 50%; + margin-top: -8px; +} +.m-btn-active, +.s-btn-active { + background: #E6E6E6; + color: #444; + border: 1px solid #ddd; + filter: none; +} +.m-btn-plain-active, +.s-btn-plain-active { + background: transparent; + padding: 0; + border-width: 1px; + border-style: solid; + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border-radius: 0px 0px 0px 0px; +} +.m-btn .l-btn-left .l-btn-text { + margin-right: 20px; +} +.m-btn .l-btn-icon-right .l-btn-text { + margin-right: 40px; +} +.m-btn .l-btn-icon-right .l-btn-icon { + right: 20px; +} +.m-btn .l-btn-icon-top .l-btn-text { + margin-right: 4px; + margin-bottom: 14px; +} +.m-btn .l-btn-icon-bottom .l-btn-text { + margin-right: 4px; + margin-bottom: 34px; +} +.m-btn .l-btn-icon-bottom .l-btn-icon { + top: auto; + bottom: 20px; +} +.m-btn .l-btn-icon-top .m-btn-downarrow, +.m-btn .l-btn-icon-bottom .m-btn-downarrow { + top: auto; + bottom: 0px; + left: 50%; + margin-left: -8px; +} +.m-btn-line { + display: inline-block; + position: absolute; + font-size: 1px; + display: none; +} +.m-btn .l-btn-left .m-btn-line { + right: 0; + width: 16px; + height: 500px; + border-style: solid; + border-color: #b3b3b3; + border-width: 0 0 0 1px; +} +.m-btn .l-btn-icon-top .m-btn-line, +.m-btn .l-btn-icon-bottom .m-btn-line { + left: 0; + bottom: 0; + width: 500px; + height: 16px; + border-width: 1px 0 0 0; +} +.m-btn-large .l-btn-icon-right .l-btn-text { + margin-right: 56px; +} +.m-btn-large .l-btn-icon-bottom .l-btn-text { + margin-bottom: 50px; +} +.m-btn-downarrow, +.s-btn-downarrow { + background: url('images/menu_arrows.png') no-repeat 0 center; +} +.m-btn-plain-active, +.s-btn-plain-active { + border-color: #ddd; + background-color: #E6E6E6; + color: #444; +} +.s-btn:hover .m-btn-line, +.s-btn-active .m-btn-line, +.s-btn-plain-active .m-btn-line { + display: inline-block; +} +.l-btn:hover .s-btn-downarrow, +.s-btn-active .s-btn-downarrow, +.s-btn-plain-active .s-btn-downarrow { + border-style: solid; + border-color: #b3b3b3; + border-width: 0 0 0 1px; +} +.messager-body { + padding: 10px; + overflow: hidden; +} +.messager-button { + text-align: center; + padding-top: 10px; +} +.messager-button .l-btn { + width: 70px; +} +.messager-icon { + float: left; + width: 32px; + height: 32px; + margin: 0 10px 10px 0; +} +.messager-error { + background: url('images/messager_icons.png') no-repeat scroll -64px 0; +} +.messager-info { + background: url('images/messager_icons.png') no-repeat scroll 0 0; +} +.messager-question { + background: url('images/messager_icons.png') no-repeat scroll -32px 0; +} +.messager-warning { + background: url('images/messager_icons.png') no-repeat scroll -96px 0; +} +.messager-progress { + padding: 10px; +} +.messager-p-msg { + margin-bottom: 5px; +} +.messager-body .messager-input { + width: 100%; + padding: 1px 0; + border: 1px solid #ddd; +} +.tree { + margin: 0; + padding: 0; + list-style-type: none; +} +.tree li { + white-space: nowrap; +} +.tree li ul { + list-style-type: none; + margin: 0; + padding: 0; +} +.tree-node { + height: 18px; + white-space: nowrap; + cursor: pointer; +} +.tree-hit { + cursor: pointer; +} +.tree-expanded, +.tree-collapsed, +.tree-folder, +.tree-file, +.tree-checkbox, +.tree-indent { + display: inline-block; + width: 16px; + height: 18px; + vertical-align: top; + overflow: hidden; +} +.tree-expanded { + background: url('images/tree_icons.png') no-repeat -18px 0px; +} +.tree-expanded-hover { + background: url('images/tree_icons.png') no-repeat -50px 0px; +} +.tree-collapsed { + background: url('images/tree_icons.png') no-repeat 0px 0px; +} +.tree-collapsed-hover { + background: url('images/tree_icons.png') no-repeat -32px 0px; +} +.tree-lines .tree-expanded, +.tree-lines .tree-root-first .tree-expanded { + background: url('images/tree_icons.png') no-repeat -144px 0; +} +.tree-lines .tree-collapsed, +.tree-lines .tree-root-first .tree-collapsed { + background: url('images/tree_icons.png') no-repeat -128px 0; +} +.tree-lines .tree-node-last .tree-expanded, +.tree-lines .tree-root-one .tree-expanded { + background: url('images/tree_icons.png') no-repeat -80px 0; +} +.tree-lines .tree-node-last .tree-collapsed, +.tree-lines .tree-root-one .tree-collapsed { + background: url('images/tree_icons.png') no-repeat -64px 0; +} +.tree-line { + background: url('images/tree_icons.png') no-repeat -176px 0; +} +.tree-join { + background: url('images/tree_icons.png') no-repeat -192px 0; +} +.tree-joinbottom { + background: url('images/tree_icons.png') no-repeat -160px 0; +} +.tree-folder { + background: url('images/tree_icons.png') no-repeat -208px 0; +} +.tree-folder-open { + background: url('images/tree_icons.png') no-repeat -224px 0; +} +.tree-file { + background: url('images/tree_icons.png') no-repeat -240px 0; +} +.tree-loading { + background: url('images/loading.gif') no-repeat center center; +} +.tree-checkbox0 { + background: url('images/tree_icons.png') no-repeat -208px -18px; +} +.tree-checkbox1 { + background: url('images/tree_icons.png') no-repeat -224px -18px; +} +.tree-checkbox2 { + background: url('images/tree_icons.png') no-repeat -240px -18px; +} +.tree-title { + font-size: 12px; + display: inline-block; + text-decoration: none; + vertical-align: top; + white-space: nowrap; + padding: 0 2px; + height: 18px; + line-height: 18px; +} +.tree-node-proxy { + font-size: 12px; + line-height: 20px; + padding: 0 2px 0 20px; + border-width: 1px; + border-style: solid; + z-index: 9900000; +} +.tree-dnd-icon { + display: inline-block; + position: absolute; + width: 16px; + height: 18px; + left: 2px; + top: 50%; + margin-top: -9px; +} +.tree-dnd-yes { + background: url('images/tree_icons.png') no-repeat -256px 0; +} +.tree-dnd-no { + background: url('images/tree_icons.png') no-repeat -256px -18px; +} +.tree-node-top { + border-top: 1px dotted red; +} +.tree-node-bottom { + border-bottom: 1px dotted red; +} +.tree-node-append .tree-title { + border: 1px dotted red; +} +.tree-editor { + border: 1px solid #ccc; + font-size: 12px; + height: 14px !important; + height: 18px; + line-height: 14px; + padding: 1px 2px; + width: 80px; + position: absolute; + top: 0; +} +.tree-node-proxy { + background-color: #fff; + color: #444; + border-color: #ddd; +} +.tree-node-hover { + background: #E6E6E6; + color: #444; +} +.tree-node-selected { + background: #CCE6FF; + color: #000; +} +.validatebox-invalid { + border-color: #ffa8a8; + background-color: #fff3f3; + color: #000; +} +.tooltip { + position: absolute; + display: none; + z-index: 9900000; + outline: none; + opacity: 1; + filter: alpha(opacity=100); + padding: 5px; + border-width: 1px; + border-style: solid; + border-radius: 5px; + -moz-border-radius: 0px 0px 0px 0px; + -webkit-border-radius: 0px 0px 0px 0px; + border-radius: 0px 0px 0px 0px; +} +.tooltip-content { + font-size: 12px; +} +.tooltip-arrow-outer, +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + line-height: 0; + font-size: 0; + border-style: solid; + border-width: 6px; + border-color: transparent; + _border-color: tomato; + _filter: chroma(color=tomato); +} +.tooltip-right .tooltip-arrow-outer { + left: 0; + top: 50%; + margin: -6px 0 0 -13px; +} +.tooltip-right .tooltip-arrow { + left: 0; + top: 50%; + margin: -6px 0 0 -12px; +} +.tooltip-left .tooltip-arrow-outer { + right: 0; + top: 50%; + margin: -6px -13px 0 0; +} +.tooltip-left .tooltip-arrow { + right: 0; + top: 50%; + margin: -6px -12px 0 0; +} +.tooltip-top .tooltip-arrow-outer { + bottom: 0; + left: 50%; + margin: 0 0 -13px -6px; +} +.tooltip-top .tooltip-arrow { + bottom: 0; + left: 50%; + margin: 0 0 -12px -6px; +} +.tooltip-bottom .tooltip-arrow-outer { + top: 0; + left: 50%; + margin: -13px 0 0 -6px; +} +.tooltip-bottom .tooltip-arrow { + top: 0; + left: 50%; + margin: -12px 0 0 -6px; +} +.tooltip { + background-color: #fff; + border-color: #ddd; + color: #444; +} +.tooltip-right .tooltip-arrow-outer { + border-right-color: #ddd; +} +.tooltip-right .tooltip-arrow { + border-right-color: #fff; +} +.tooltip-left .tooltip-arrow-outer { + border-left-color: #ddd; +} +.tooltip-left .tooltip-arrow { + border-left-color: #fff; +} +.tooltip-top .tooltip-arrow-outer { + border-top-color: #ddd; +} +.tooltip-top .tooltip-arrow { + border-top-color: #fff; +} +.tooltip-bottom .tooltip-arrow-outer { + border-bottom-color: #ddd; +} +.tooltip-bottom .tooltip-arrow { + border-bottom-color: #fff; +} diff --git a/src/main/webapp/lib/jquery-easyui/themes/metro/filebox.css b/src/main/webapp/lib/jquery-easyui/themes/metro/filebox.css new file mode 100644 index 0000000..6077ebd --- /dev/null +++ b/src/main/webapp/lib/jquery-easyui/themes/metro/filebox.css @@ -0,0 +1,6 @@ +.filebox .textbox-value { + vertical-align: top; + position: absolute; + top: 0; + left: -5000px; +} diff --git a/src/main/webapp/lib/jquery-easyui/themes/metro/images/accordion_arrows.png b/src/main/webapp/lib/jquery-easyui/themes/metro/images/accordion_arrows.png new file mode 100644 index 0000000000000000000000000000000000000000..720835f69c96c17ec32a20b03ac9753aa59b7f4f GIT binary patch literal 184 zcmeAS@N?(olHy`uVBq!ia0vp^3P3Et!3HGD8EPYeRK2H*V@SoVUT_Y-nKxaI`{RC0WjSLJ&w^R(C-|JQTojLXc1&{d*_z{$ jW+oTMdQ(F|jDg|L>K${_)^zO#I)%a0)z4*}Q$iB}_fAN- literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/metro/images/blank.gif b/src/main/webapp/lib/jquery-easyui/themes/metro/images/blank.gif new file mode 100644 index 0000000000000000000000000000000000000000..1d11fa9ada9e93505b3d736acb204083f45d5fbf GIT binary patch literal 43 scmZ?wbhEHbWMp7uX!y@?;J^U}1_s5SEQ~;kK?g*DWEhy3To@Uw0n;G|I{*Lx literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/metro/images/calendar_arrows.png b/src/main/webapp/lib/jquery-easyui/themes/metro/images/calendar_arrows.png new file mode 100644 index 0000000000000000000000000000000000000000..430c4ad685b8c0068ecb7e3cbef74f493a84ad0d GIT binary patch literal 173 zcmeAS@N?(olHy`uVBq!ia0vp^4nQox!3HFkJ+IURQYD@)jv*Dd-cCEn)nLHm{QbZE z+q@uWwandfr?Jb4eDYYmB3UAt=OO2Vt+MMT&+KD%&6hZDt!FBpej;sEpMN69^tKl% zp6y<4_lG^P z=;=eQ4Vs74-2)Ua&f1tcVdk$#{GPKe@&?ZMHmT&SMw?IV&w7)}ixLbB3d$Zg{&KGb P8OPx1>gTe~DWM4f WNYm=W^A8UI00005OC%H;f`~O(q$Q#t2<^v$A>fbmv%e#dKTwK=Ku{5lS|}<-`a#7b zzTCOnnT>at)D}AMFuOZ5&%EqFN(lyumd$2ASF6=;nM~%2?gqc@U=#|4PqkX@EBo-9 z7pD#bO_RUa>*faM`8;MYfVi$JnB-zcBFc6gjl$d!bF98Q!!!(Z1_R~P?e!pt#6CHJ9S&n_n&@=9 z%GP;!@Co4c*at+6vNz7o(6en^Q1%qHrc;1)9IRaz-$@S$Z-qdC^ds3X0NvQH;KS)D z-dh&rW&@X;1cS(45z)J&BVt+tv&GMVJ%!EiW) zLBGZW)#Z+gl-Lih&?>X3SS-S#ujQ;9JRXmIB7X)8`d6ETj)D#Q2+$s|<_b7-B9Xvq zwNfqlEp%y3$uY`h{Y$(Gn5@}sqEsq95lpAkFO5dyBmP6^H-51G4J|rN2Ujt<`2YX_ M07*qoM6N<$fRl}UZ@-Co%Cq`k{wEj}Dr>ShP9AQ|IKKA30{ejJboVoF`C-z@6mZMY&%Wiz%6S}#zb4u?o?9Mi=ECopVxzz+sNviAA!DK)mm8xe zgY9ZT9jlddc^&y2^u9XqDeU4{8s^AS#8C7TXsxEJW@uLu(3Whc35-X6v}jEgEb{G` z!{)$uKzw<~%0A6PhNHYfSuTvOzD8LpPF>PVr=&QqGC936QlPgc6j2;SWMDuL>F^vlqEUI{oOgO!xNf*11TukM z6kTZ3V2qd3<~<$H&Lrt?SpXUxF5Zb^}(={r!EHE+$QMdH|XZ zSYbMyc0tQc3qbP$tG{U_Jyg>I(0srOscEGU?-T)4AzuS$_2J>6`+BJ50YDY<^>2vV z+uI880P2ui(hyHiPrK$)CkbHg=kD&V3^8pD z0v3QOB&8eT@87?rgaGPrb#+ySxU;jP=nkL`nZ_{0e*BD+1Tc5b&d$oLo}8R$90gF1 z^ij>~#>R%HIRNUB_kgpQ+Lg!80Gbb2saY8>1EBeUm7A3TegK*dSciv)Wqp0!h-3im z1+1f^qq4iZ+ZEMUS63~e0I+zh`2rwd0l@!F(!7sM%_`|&0+*B!z{1(u+A9BIU&~T- z2he=L>dmc7TLXZFkeTeCHMcE|qX51{z>0ZC=xGjss*FaXGOMX+dHf8Z8hL6ntGQ_z zF9V<&dwY9jh`D7czyqj4g3S=~)zFA!0980RI4DC*Ez1%L09D8%=OHF&S@Q*;3bRfe zeL2-ZzyeT(Av4`$>R3`j096>WH7BOELD3yR70%Dk%Mk4)1W=73OH{L_UgIc$YFu7k zmRaq`&NxK?Rk*skDzlhL4IV!OsLJ*Ab@{BRT^TO}pgQC6xO~R6G8o_oU?C)>`xlc2 zriH~zU-;g$PyPA_&X!OBSU6SIeB~eKNAhF&(fs&F|1n9<+Yj^2T+4Dj%UFjr zZ%rnX^7Qmn0ANwP308gILtaQfK0Z1j0Br`Wq<=~Ka+?BxW&>7kRtZ+q>C~wJXg6S` zW|cJ1%?d#C0V@Ue)T{uY>425ig?tTsczEc(0+M8_c7^t|!sm-1Nw(}#nnLr?FgGlc zY}ut0+w(d)Uk6FDWtY;*aCdjteIX>tmhA#o+8PqHNU~+SlrTfyKRaNHBx~Ch-FJ3& z%B(Y&NwStp{rH$6Yj{YqhR=Gk~Mtw_&K$#yeTBf z7JV~bCN(VwL$c|B^>Topn-X{+7;S!yV~2^ zBgv-iMkME}U;-COwrsbABDvwg!2wA&ZMWttf5^jTl5E*7V41=|@=Hu>NJ^O8(7b4p z&ChgC(LF5>Md#{+4LgS{%KA|H(Xv`l4P^KdiBKB*_;1&m|Q7!{|O$ k%vVK{T!hwqk^D0L0mO==@4IV9lK=n!07*qoM6N<$f|Ge;n*aa+ literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/metro/images/loading.gif b/src/main/webapp/lib/jquery-easyui/themes/metro/images/loading.gif new file mode 100644 index 0000000000000000000000000000000000000000..68f01d04813c1f622810864a3aaa04b4a17ac8f9 GIT binary patch literal 1737 zcmaKsX;2e)7>CzDa{xjjy99|1A!tC(kfocDi)<1$AxHpOQ4k^l!Vx1W6x7<&|FYXU zqO4jEiU-!VR1p+Xj1?4-iuI_J;!&?!+ghg|JJad3U)pMGzcKxNeCM6tJnuX+uPvX@ zZY|=AHdxt2Xr2y*)5|c6#FSEuyJ+Y3Z&l z2hJWo`9;lJ$6wzSoW60tqkB|d$oiO*d-^85^ojn{*NR{MP*%{@H*#gihZ8BKyB68E z-MIbjgNNV0y5khpJ^Jv`51aR%={<4jhaVq5e*9D5+*hL)XCHn4{^d%hPu@?KpKbc=eN!D=XUjDmH#n{YHNS zHCX6BV)yn2CuTNujhN~V+`RKpyXO6^ht92eqhIIlQLfz6eeCnH_C7`NPNrw9ks366 z4xX9(`s~z=+1uX^ocZ$2_fBs=JihPfWYufOIuD&AU-@`>>qn~cy$1)T7CU!5z2(U8 z)9Kt9)l`f6?NU41j6XbXfR{OHwm|T4}&24tIf+!C-g~6cQfY2^n$?AT&ZW zgqm`}3-jS2NS6n=k;sr5Hv(Q%%n)qW0X|neWVBd;Ko}d(=u%?{O0-a>kSI}shOd9n z5top}%gUCf=>?tg;*;#7!^HOL3k$fMxd=O-6Y4@%u8LS)C1D_a?27R6^vcC+6tttL z)GmTahbyJB!xmcHL#ya8ZXyfRl)a!N0BJE0y3BBfAV5;#=K&Z2VkaKZ)?9`1h5P_% znt*b}%j1|#j`b|aQDx@~wA#$PYRN2xE6UO;;vE(@$&xww-s8fZ5HmJ(eJ*rQrDbaawDbrfe_8F(wq{ge?)qQG`aXV;r(*6EM|ESje;52aFmrX!f=Pw^2oGQX$1|o4yts|b_5@w_kNwtl{wDP#JGMvIp#!SYX?Wq9S&`&_ZwkgGH5CLB7DEGJ6=R4J~p3Z4i^A}hs=-uZeD zs92l6u@**R$~L()G{5N8*7cE5-q$SCo`q4|NSVF*+A7&xZnypm$EdXgf)E%(VJHFD zSgi(H!D!(;9Zcc#GrCCJh=RlvXBQ-hv4Vodse`a32ZUFWgP5ZhM5LeV(#D^H8p@Lg ztra5R32z@1rQv{6u&RZL5%Z@Ye{q|t#6aM_1hIrpl@)oH6}os*cbAQywa{5<`ekzW O1il%9bk82&KlvLjD^%40 literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/metro/images/menu_arrows.png b/src/main/webapp/lib/jquery-easyui/themes/metro/images/menu_arrows.png new file mode 100644 index 0000000000000000000000000000000000000000..b986842e7e4044caed18edbcb4b376a4bb915623 GIT binary patch literal 160 zcmeAS@N?(olHy`uVBq!ia0vp^4nQox!3HFkJ+IURQt6&9jv*Dd-cB{-J7B=U{PTZ! zWrKV9%Z3|Wt5t$(gq+#d+-OocB$0fsr9DfRx52vPhSu$$+yXuy+69hDZ54DDTxx#r zL7>-12UT01v)>tZ+;HI4pDNf?@KK~EC$@35ykmXyu^HJF3})N>8P9Uwo&~g$!PC{x JWt~$(697!FIeGv9 literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/metro/images/messager_icons.png b/src/main/webapp/lib/jquery-easyui/themes/metro/images/messager_icons.png new file mode 100644 index 0000000000000000000000000000000000000000..62c18c135860351063ebaabe8c0f4df7664b8f65 GIT binary patch literal 6116 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 literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/metro/images/spinner_arrows.png b/src/main/webapp/lib/jquery-easyui/themes/metro/images/spinner_arrows.png new file mode 100644 index 0000000000000000000000000000000000000000..b68592de3200fbe1f7defe98a2b59b0398b1b737 GIT binary patch literal 115 zcmeAS@N?(olHy`uVBq!ia0vp^3P3Et!3HGD8EPYel$EE8V@SoV_tDnm{r-UW|t3f!- literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/metro/images/tree_icons.png b/src/main/webapp/lib/jquery-easyui/themes/metro/images/tree_icons.png new file mode 100644 index 0000000000000000000000000000000000000000..e9be4f3a9965e49a4e4078f8c53f486d761a7468 GIT binary patch literal 3115 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 literal 0 HcmV?d00001 diff --git a/src/main/webapp/lib/jquery-easyui/themes/metro/images/validatebox_warning.png b/src/main/webapp/lib/jquery-easyui/themes/metro/images/validatebox_warning.png new file mode 100644 index 0000000000000000000000000000000000000000..2b3d4f05babf3f82b146350e96570fac02075de0 GIT binary patch literal 921 zcmV;K17`e*P)nRv1_mBsMY*-M^XCf)eflW5 z|MC^)Hw+AW{sHCCF+cz@{fF8J!+#-kxoSv=7^|!zgOQUngSQ}mDo|J)n+pH}hzZ#= zr~y18$_m-?9v%$;?mu8);}>9vFgFvDXJDwrW&l6{p}625M66yTFhGz^K$w9^O$BHi zFN2Ym7DIple*#cW4BY^L0Al(Jbv6k9U|^6IQBp{hx3XdQ&CJ4Z_|YSVr@XujY(PVT zlok1<85nBO4FCurumK>O|A07*jFlSRUcxLAQVcIR*co#3@)&jj4Pj7KXRri%#h;fa z4ya5O*#Lk5Vq!q}T~=CGH(uV-hJk^fkAYoGjN#AMuMF($>N=giWG}IXse|=+c=i>7HEg>%*E%fLD!-uy|85n^6W?^Dt(9zXp5EB&z+w>_knBmdiKMbzi z?A!`WOl>e100a=&05*1xZdFls?*HtZ48H?o7=HW%ivIu45E2~BASWx!@DIpmv9e}h zaPwji|L}pqor@y`=yxrU0RRES^qYY}O;TRcU+DKIhL4`%3_nyf8U6tS<<-ZJ40D$( zWjJ%`G6NIPHNP2{7am*Fp% z{>ShK#0G`~kjd~57_BU(); + + map.put("a", "b"); + map.put("aa", "b"); + + boolean foundTarget = map.containsKey("aa"); + + System.out.println(foundTarget); + } + + + public static void testForLoop() { + + int[] array = new int[]{0, 1, 2, 3}; + + for (int i : array) { + System.out.println(i); + System.out.println(); + + ReadWriteLock lock = new ReentrantReadWriteLock(); + lock.readLock().lock(); + try { + + } finally { + lock.readLock().unlock(); + } + + + } + + + StringBuffer buffer=new StringBuffer("Hello "); + + buffer.append("hello boy!"); + + System.out.println(buffer.toString()); + + StringBuffer buffer2=new StringBuffer("hello boy2!"); + + + } + + private String name2 ="linda"; + private int age; + + + public String getName() { + return name; + } + + + public int getAge() { + return age; + } + + public void setAge(int age) { + this.age = age; + } + + + public static final int num=0; + + + public static final String name="USER"; + + + + +} diff --git a/test.go b/test.go deleted file mode 100644 index e69de29..0000000